diff --git a/assets/css/app.scss b/assets/css/app.scss
index a3bcab7..4910ced 100644
--- a/assets/css/app.scss
+++ b/assets/css/app.scss
@@ -1,5 +1,4 @@
/* This file is for your main application CSS */
-@import "./prism-tomorrow.scss";
@import "./inter.scss";
@import "./kmx_colors.scss";
$primary: #000;
@@ -13,6 +12,8 @@ $font-family-monospace: "courier_new", "Courier New", monospace;
@import "./fontawesome-5.15.4-free-v4-shims.scss";
@import "./fontawesome-5.15.4-free-v4-font-face.scss";
+@import "../node_modules/highlight.js/scss/github.scss";
+
@import "./admin.scss";
@import "./flash.scss";
@import "./footer.scss";
diff --git a/assets/js/app.js b/assets/js/app.js
index 131c485..c1261d5 100644
--- a/assets/js/app.js
+++ b/assets/js/app.js
@@ -3,7 +3,10 @@ window.$ = $;
window.jQuery = $;
import "bootstrap";
-import "prismjs";
+
+import hljs from "highlight.js";
+$(function () { hljs.highlightAll(); })
+
import "./repository";
import "./kmx_anim";
diff --git a/assets/package-lock.json b/assets/package-lock.json
index 34e4f09..f356134 100644
--- a/assets/package-lock.json
+++ b/assets/package-lock.json
@@ -7,13 +7,13 @@
"license": "MIT",
"dependencies": {
"@popperjs/core": "^2.11.8",
- "bootstrap": "^5.3.2",
+ "bootstrap": "^5.3.3",
"font-awesome": "^4.7.0",
+ "highlight.js": "^11.10.0",
"jquery": "^3.7.1",
"phoenix": "file:../deps/phoenix",
"phoenix_html": "file:../deps/phoenix_html",
"phoenix_live_view": "file:../deps/phoenix_live_view",
- "prismjs": "^1.29.0"
}
},
"../deps/phoenix": {
@@ -62,6 +62,14 @@
"node": ">=0.10.3"
}
},
+ "node_modules/highlight.js": {
+ "version": "11.10.0",
+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.10.0.tgz",
+ "integrity": "sha512-SYVnVFswQER+zu1laSya563s+F8VDGt7o35d4utbamowvUNLLMovFqwCLSocpZTz3MgaSRA1IbqRWZv97dtErQ==",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
"node_modules/jquery": {
"version": "3.7.1",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
diff --git a/assets/package.json b/assets/package.json
index 2aac75f..b6652f9 100644
--- a/assets/package.json
+++ b/assets/package.json
@@ -4,8 +4,9 @@
"repository": "https://git.kmx.io/kmx.io/kmxgit.git",
"dependencies": {
"@popperjs/core": "^2.11.8",
- "bootstrap": "^5.3.2",
"font-awesome": "^4.7.0",
+ "bootstrap": "^5.3.3",
+ "highlight.js": "^11.10.0",
"jquery": "^3.7.1",
"phoenix": "file:../deps/phoenix",
"phoenix_html": "file:../deps/phoenix_html",
diff --git a/assets/vendor/prism.css b/assets/vendor/prism.css
deleted file mode 100644
index 6401b99..0000000
--- a/assets/vendor/prism.css
+++ /dev/null
@@ -1,166 +0,0 @@
-/* PrismJS 1.28.0
-https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+agda+al+antlr4+apacheconf+apex+apl+applescript+aql+arduino+arff+armasm+arturo+asciidoc+aspnet+asm6502+asmatmel+autohotkey+autoit+avisynth+avro-idl+awk+bash+basic+batch+bbcode+bicep+birb+bison+bnf+brainfuck+brightscript+bro+bsl+c+csharp+cpp+cfscript+chaiscript+cil+clojure+cmake+cobol+coffeescript+concurnas+csp+cooklang+coq+crystal+css-extras+csv+cue+cypher+d+dart+dataweave+dax+dhall+diff+django+dns-zone-file+docker+dot+ebnf+editorconfig+eiffel+ejs+elixir+elm+etlua+erb+erlang+excel-formula+fsharp+factor+false+firestore-security-rules+flow+fortran+ftl+gml+gap+gcode+gdscript+gedcom+gettext+gherkin+git+glsl+gn+linker-script+go+go-module+gradle+graphql+groovy+haml+handlebars+haskell+haxe+hcl+hlsl+hoon+http+hpkp+hsts+ichigojam+icon+icu-message-format+idris+ignore+inform7+ini+io+j+java+javadoc+javadoclike+javastacktrace+jexl+jolie+jq+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+js-templates+julia+keepalived+keyman+kotlin+kumir+kusto+latex+latte+less+lilypond+liquid+lisp+livescript+llvm+log+lolcode+lua+magma+makefile+markdown+markup-templating+mata+matlab+maxscript+mel+mermaid+mizar+mongodb+monkey+moonscript+n1ql+n4js+nand2tetris-hdl+naniscript+nasm+neon+nevod+nginx+nim+nix+nsis+objectivec+ocaml+odin+opencl+openqasm+oz+parigp+parser+pascal+pascaligo+psl+pcaxis+peoplecode+perl+php+phpdoc+php-extras+plant-uml+plsql+powerquery+powershell+processing+prolog+promql+properties+protobuf+pug+puppet+pure+purebasic+purescript+python+qsharp+q+qml+qore+r+racket+cshtml+jsx+tsx+reason+regex+rego+renpy+rescript+rest+rip+roboconf+robotframework+ruby+rust+sas+sass+scss+scala+scheme+shell-session+smali+smalltalk+smarty+sml+solidity+solution-file+soy+sparql+splunk-spl+sqf+sql+squirrel+stan+stata+iecst+stylus+supercollider+swift+systemd+t4-templating+t4-cs+t4-vb+tap+tcl+tt2+textile+toml+tremor+turtle+twig+typescript+typoscript+unrealscript+uorazor+uri+v+vala+vbnet+velocity+verilog+vhdl+vim+visual-basic+warpscript+wasm+web-idl+wgsl+wiki+wolfram+wren+xeora+xml-doc+xojo+xquery+yaml+yang+zig&plugins=line-numbers+file-highlight */
-/**
- * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
- * Based on https://github.com/chriskempson/tomorrow-theme
- * @author Rose Pritchard
- */
-
-code[class*="language-"],
-pre[class*="language-"] {
- color: #ccc;
- background: none;
- font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
- font-size: 1em;
- text-align: left;
- white-space: pre;
- word-spacing: normal;
- word-break: normal;
- word-wrap: normal;
- line-height: 1.5;
-
- -moz-tab-size: 4;
- -o-tab-size: 4;
- tab-size: 4;
-
- -webkit-hyphens: none;
- -moz-hyphens: none;
- -ms-hyphens: none;
- hyphens: none;
-
-}
-
-/* Code blocks */
-pre[class*="language-"] {
- padding: 1em;
- margin: .5em 0;
- overflow: auto;
-}
-
-:not(pre) > code[class*="language-"],
-pre[class*="language-"] {
- background: #2d2d2d;
-}
-
-/* Inline code */
-:not(pre) > code[class*="language-"] {
- padding: .1em;
- border-radius: .3em;
- white-space: normal;
-}
-
-.token.comment,
-.token.block-comment,
-.token.prolog,
-.token.doctype,
-.token.cdata {
- color: #999;
-}
-
-.token.punctuation {
- color: #ccc;
-}
-
-.token.tag,
-.token.attr-name,
-.token.namespace,
-.token.deleted {
- color: #e2777a;
-}
-
-.token.function-name {
- color: #6196cc;
-}
-
-.token.boolean,
-.token.number,
-.token.function {
- color: #f08d49;
-}
-
-.token.property,
-.token.class-name,
-.token.constant,
-.token.symbol {
- color: #f8c555;
-}
-
-.token.selector,
-.token.important,
-.token.atrule,
-.token.keyword,
-.token.builtin {
- color: #cc99cd;
-}
-
-.token.string,
-.token.char,
-.token.attr-value,
-.token.regex,
-.token.variable {
- color: #7ec699;
-}
-
-.token.operator,
-.token.entity,
-.token.url {
- color: #67cdcc;
-}
-
-.token.important,
-.token.bold {
- font-weight: bold;
-}
-.token.italic {
- font-style: italic;
-}
-
-.token.entity {
- cursor: help;
-}
-
-.token.inserted {
- color: green;
-}
-
-pre[class*="language-"].line-numbers {
- position: relative;
- padding-left: 3.8em;
- counter-reset: linenumber;
-}
-
-pre[class*="language-"].line-numbers > code {
- position: relative;
- white-space: inherit;
-}
-
-.line-numbers .line-numbers-rows {
- position: absolute;
- pointer-events: none;
- top: 0;
- font-size: 100%;
- left: -3.8em;
- width: 3em; /* works for line-numbers below 1000 lines */
- letter-spacing: -1px;
- border-right: 1px solid #999;
-
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-
-}
-
- .line-numbers-rows > span {
- display: block;
- counter-increment: linenumber;
- }
-
- .line-numbers-rows > span:before {
- content: counter(linenumber);
- color: #999;
- display: block;
- padding-right: 0.8em;
- text-align: right;
- }
-
diff --git a/assets/vendor/prism.js b/assets/vendor/prism.js
deleted file mode 100644
index f941ad5..0000000
--- a/assets/vendor/prism.js
+++ /dev/null
@@ -1,21765 +0,0 @@
-/* PrismJS 1.28.0
-https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+agda+al+antlr4+apacheconf+apex+apl+applescript+aql+arduino+arff+armasm+arturo+asciidoc+aspnet+asm6502+asmatmel+autohotkey+autoit+avisynth+avro-idl+awk+bash+basic+batch+bbcode+bicep+birb+bison+bnf+brainfuck+brightscript+bro+bsl+c+csharp+cpp+cfscript+chaiscript+cil+clojure+cmake+cobol+coffeescript+concurnas+csp+cooklang+coq+crystal+css-extras+csv+cue+cypher+d+dart+dataweave+dax+dhall+diff+django+dns-zone-file+docker+dot+ebnf+editorconfig+eiffel+ejs+elixir+elm+etlua+erb+erlang+excel-formula+fsharp+factor+false+firestore-security-rules+flow+fortran+ftl+gml+gap+gcode+gdscript+gedcom+gettext+gherkin+git+glsl+gn+linker-script+go+go-module+gradle+graphql+groovy+haml+handlebars+haskell+haxe+hcl+hlsl+hoon+http+hpkp+hsts+ichigojam+icon+icu-message-format+idris+ignore+inform7+ini+io+j+java+javadoc+javadoclike+javastacktrace+jexl+jolie+jq+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+js-templates+julia+keepalived+keyman+kotlin+kumir+kusto+latex+latte+less+lilypond+liquid+lisp+livescript+llvm+log+lolcode+lua+magma+makefile+markdown+markup-templating+mata+matlab+maxscript+mel+mermaid+mizar+mongodb+monkey+moonscript+n1ql+n4js+nand2tetris-hdl+naniscript+nasm+neon+nevod+nginx+nim+nix+nsis+objectivec+ocaml+odin+opencl+openqasm+oz+parigp+parser+pascal+pascaligo+psl+pcaxis+peoplecode+perl+php+phpdoc+php-extras+plant-uml+plsql+powerquery+powershell+processing+prolog+promql+properties+protobuf+pug+puppet+pure+purebasic+purescript+python+qsharp+q+qml+qore+r+racket+cshtml+jsx+tsx+reason+regex+rego+renpy+rescript+rest+rip+roboconf+robotframework+ruby+rust+sas+sass+scss+scala+scheme+shell-session+smali+smalltalk+smarty+sml+solidity+solution-file+soy+sparql+splunk-spl+sqf+sql+squirrel+stan+stata+iecst+stylus+supercollider+swift+systemd+t4-templating+t4-cs+t4-vb+tap+tcl+tt2+textile+toml+tremor+turtle+twig+typescript+typoscript+unrealscript+uorazor+uri+v+vala+vbnet+velocity+verilog+vhdl+vim+visual-basic+warpscript+wasm+web-idl+wgsl+wiki+wolfram+wren+xeora+xml-doc+xojo+xquery+yaml+yang+zig&plugins=line-numbers+file-highlight */
-/// <reference lib="WebWorker"/>
-
-var _self = (typeof window !== 'undefined')
- ? window // if in browser
- : (
- (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)
- ? self // if in worker
- : {} // if in node js
- );
-
-/**
- * Prism: Lightweight, robust, elegant syntax highlighting
- *
- * @license MIT <https://opensource.org/licenses/MIT>
- * @author Lea Verou <https://lea.verou.me>
- * @namespace
- * @public
- */
-var Prism = (function (_self) {
-
- // Private helper vars
- var lang = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i;
- var uniqueId = 0;
-
- // The grammar object for plaintext
- var plainTextGrammar = {};
-
-
- var _ = {
- /**
- * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
- * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
- * additional languages or plugins yourself.
- *
- * By setting this value to `true`, Prism will not automatically highlight all code elements on the page.
- *
- * You obviously have to change this value before the automatic highlighting started. To do this, you can add an
- * empty Prism object into the global scope before loading the Prism script like this:
- *
- * ```js
- * window.Prism = window.Prism || {};
- * Prism.manual = true;
- * // add a new <script> to load Prism's script
- * ```
- *
- * @default false
- * @type {boolean}
- * @memberof Prism
- * @public
- */
- manual: _self.Prism && _self.Prism.manual,
- /**
- * By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses
- * `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your
- * own worker, you don't want it to do this.
- *
- * By setting this value to `true`, Prism will not add its own listeners to the worker.
- *
- * You obviously have to change this value before Prism executes. To do this, you can add an
- * empty Prism object into the global scope before loading the Prism script like this:
- *
- * ```js
- * window.Prism = window.Prism || {};
- * Prism.disableWorkerMessageHandler = true;
- * // Load Prism's script
- * ```
- *
- * @default false
- * @type {boolean}
- * @memberof Prism
- * @public
- */
- disableWorkerMessageHandler: _self.Prism && _self.Prism.disableWorkerMessageHandler,
-
- /**
- * A namespace for utility methods.
- *
- * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may
- * change or disappear at any time.
- *
- * @namespace
- * @memberof Prism
- */
- util: {
- encode: function encode(tokens) {
- if (tokens instanceof Token) {
- return new Token(tokens.type, encode(tokens.content), tokens.alias);
- } else if (Array.isArray(tokens)) {
- return tokens.map(encode);
- } else {
- return tokens.replace(/&/g, '&').replace(/</g, '<').replace(/\u00a0/g, ' ');
- }
- },
-
- /**
- * Returns the name of the type of the given value.
- *
- * @param {any} o
- * @returns {string}
- * @example
- * type(null) === 'Null'
- * type(undefined) === 'Undefined'
- * type(123) === 'Number'
- * type('foo') === 'String'
- * type(true) === 'Boolean'
- * type([1, 2]) === 'Array'
- * type({}) === 'Object'
- * type(String) === 'Function'
- * type(/abc+/) === 'RegExp'
- */
- type: function (o) {
- return Object.prototype.toString.call(o).slice(8, -1);
- },
-
- /**
- * Returns a unique number for the given object. Later calls will still return the same number.
- *
- * @param {Object} obj
- * @returns {number}
- */
- objId: function (obj) {
- if (!obj['__id']) {
- Object.defineProperty(obj, '__id', { value: ++uniqueId });
- }
- return obj['__id'];
- },
-
- /**
- * Creates a deep clone of the given object.
- *
- * The main intended use of this function is to clone language definitions.
- *
- * @param {T} o
- * @param {Record<number, any>} [visited]
- * @returns {T}
- * @template T
- */
- clone: function deepClone(o, visited) {
- visited = visited || {};
-
- var clone; var id;
- switch (_.util.type(o)) {
- case 'Object':
- id = _.util.objId(o);
- if (visited[id]) {
- return visited[id];
- }
- clone = /** @type {Record<string, any>} */ ({});
- visited[id] = clone;
-
- for (var key in o) {
- if (o.hasOwnProperty(key)) {
- clone[key] = deepClone(o[key], visited);
- }
- }
-
- return /** @type {any} */ (clone);
-
- case 'Array':
- id = _.util.objId(o);
- if (visited[id]) {
- return visited[id];
- }
- clone = [];
- visited[id] = clone;
-
- (/** @type {Array} */(/** @type {any} */(o))).forEach(function (v, i) {
- clone[i] = deepClone(v, visited);
- });
-
- return /** @type {any} */ (clone);
-
- default:
- return o;
- }
- },
-
- /**
- * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class.
- *
- * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned.
- *
- * @param {Element} element
- * @returns {string}
- */
- getLanguage: function (element) {
- while (element) {
- var m = lang.exec(element.className);
- if (m) {
- return m[1].toLowerCase();
- }
- element = element.parentElement;
- }
- return 'none';
- },
-
- /**
- * Sets the Prism `language-xxxx` class of the given element.
- *
- * @param {Element} element
- * @param {string} language
- * @returns {void}
- */
- setLanguage: function (element, language) {
- // remove all `language-xxxx` classes
- // (this might leave behind a leading space)
- element.className = element.className.replace(RegExp(lang, 'gi'), '');
-
- // add the new `language-xxxx` class
- // (using `classList` will automatically clean up spaces for us)
- element.classList.add('language-' + language);
- },
-
- /**
- * Returns the script element that is currently executing.
- *
- * This does __not__ work for line script element.
- *
- * @returns {HTMLScriptElement | null}
- */
- currentScript: function () {
- if (typeof document === 'undefined') {
- return null;
- }
- if ('currentScript' in document && 1 < 2 /* hack to trip TS' flow analysis */) {
- return /** @type {any} */ (document.currentScript);
- }
-
- // IE11 workaround
- // we'll get the src of the current script by parsing IE11's error stack trace
- // this will not work for inline scripts
-
- try {
- throw new Error();
- } catch (err) {
- // Get file src url from stack. Specifically works with the format of stack traces in IE.
- // A stack will look like this:
- //
- // Error
- // at _.util.currentScript (http://localhost/components/prism-core.js:119:5)
- // at Global code (http://localhost/components/prism-core.js:606:1)
-
- var src = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(err.stack) || [])[1];
- if (src) {
- var scripts = document.getElementsByTagName('script');
- for (var i in scripts) {
- if (scripts[i].src == src) {
- return scripts[i];
- }
- }
- }
- return null;
- }
- },
-
- /**
- * Returns whether a given class is active for `element`.
- *
- * The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated
- * if `element` or one of its ancestors has the negated version of the given class. The _negated version_ of the
- * given class is just the given class with a `no-` prefix.
- *
- * Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is
- * closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its
- * ancestors have the given class or the negated version of it, then the default activation will be returned.
- *
- * In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated
- * version of it, the class is considered active.
- *
- * @param {Element} element
- * @param {string} className
- * @param {boolean} [defaultActivation=false]
- * @returns {boolean}
- */
- isActive: function (element, className, defaultActivation) {
- var no = 'no-' + className;
-
- while (element) {
- var classList = element.classList;
- if (classList.contains(className)) {
- return true;
- }
- if (classList.contains(no)) {
- return false;
- }
- element = element.parentElement;
- }
- return !!defaultActivation;
- }
- },
-
- /**
- * This namespace contains all currently loaded languages and the some helper functions to create and modify languages.
- *
- * @namespace
- * @memberof Prism
- * @public
- */
- languages: {
- /**
- * The grammar for plain, unformatted text.
- */
- plain: plainTextGrammar,
- plaintext: plainTextGrammar,
- text: plainTextGrammar,
- txt: plainTextGrammar,
-
- /**
- * Creates a deep copy of the language with the given id and appends the given tokens.
- *
- * If a token in `redef` also appears in the copied language, then the existing token in the copied language
- * will be overwritten at its original position.
- *
- * ## Best practices
- *
- * Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language)
- * doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to
- * understand the language definition because, normally, the order of tokens matters in Prism grammars.
- *
- * Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens.
- * Furthermore, all non-overwriting tokens should be placed after the overwriting ones.
- *
- * @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`.
- * @param {Grammar} redef The new tokens to append.
- * @returns {Grammar} The new language created.
- * @public
- * @example
- * Prism.languages['css-with-colors'] = Prism.languages.extend('css', {
- * // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token
- * // at its original position
- * 'comment': { ... },
- * // CSS doesn't have a 'color' token, so this token will be appended
- * 'color': /\b(?:red|green|blue)\b/
- * });
- */
- extend: function (id, redef) {
- var lang = _.util.clone(_.languages[id]);
-
- for (var key in redef) {
- lang[key] = redef[key];
- }
-
- return lang;
- },
-
- /**
- * Inserts tokens _before_ another token in a language definition or any other grammar.
- *
- * ## Usage
- *
- * This helper method makes it easy to modify existing languages. For example, the CSS language definition
- * not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded
- * in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the
- * appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do
- * this:
- *
- * ```js
- * Prism.languages.markup.style = {
- * // token
- * };
- * ```
- *
- * then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens
- * before existing tokens. For the CSS example above, you would use it like this:
- *
- * ```js
- * Prism.languages.insertBefore('markup', 'cdata', {
- * 'style': {
- * // token
- * }
- * });
- * ```
- *
- * ## Special cases
- *
- * If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar
- * will be ignored.
- *
- * This behavior can be used to insert tokens after `before`:
- *
- * ```js
- * Prism.languages.insertBefore('markup', 'comment', {
- * 'comment': Prism.languages.markup.comment,
- * // tokens after 'comment'
- * });
- * ```
- *
- * ## Limitations
- *
- * The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object
- * properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave
- * differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily
- * deleting properties which is necessary to insert at arbitrary positions.
- *
- * To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object.
- * Instead, it will create a new object and replace all references to the target object with the new one. This
- * can be done without temporarily deleting properties, so the iteration order is well-defined.
- *
- * However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if
- * you hold the target object in a variable, then the value of the variable will not change.
- *
- * ```js
- * var oldMarkup = Prism.languages.markup;
- * var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... });
- *
- * assert(oldMarkup !== Prism.languages.markup);
- * assert(newMarkup === Prism.languages.markup);
- * ```
- *
- * @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the
- * object to be modified.
- * @param {string} before The key to insert before.
- * @param {Grammar} insert An object containing the key-value pairs to be inserted.
- * @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the
- * object to be modified.
- *
- * Defaults to `Prism.languages`.
- * @returns {Grammar} The new grammar object.
- * @public
- */
- insertBefore: function (inside, before, insert, root) {
- root = root || /** @type {any} */ (_.languages);
- var grammar = root[inside];
- /** @type {Grammar} */
- var ret = {};
-
- for (var token in grammar) {
- if (grammar.hasOwnProperty(token)) {
-
- if (token == before) {
- for (var newToken in insert) {
- if (insert.hasOwnProperty(newToken)) {
- ret[newToken] = insert[newToken];
- }
- }
- }
-
- // Do not insert token which also occur in insert. See #1525
- if (!insert.hasOwnProperty(token)) {
- ret[token] = grammar[token];
- }
- }
- }
-
- var old = root[inside];
- root[inside] = ret;
-
- // Update references in other language definitions
- _.languages.DFS(_.languages, function (key, value) {
- if (value === old && key != inside) {
- this[key] = ret;
- }
- });
-
- return ret;
- },
-
- // Traverse a language definition with Depth First Search
- DFS: function DFS(o, callback, type, visited) {
- visited = visited || {};
-
- var objId = _.util.objId;
-
- for (var i in o) {
- if (o.hasOwnProperty(i)) {
- callback.call(o, i, o[i], type || i);
-
- var property = o[i];
- var propertyType = _.util.type(property);
-
- if (propertyType === 'Object' && !visited[objId(property)]) {
- visited[objId(property)] = true;
- DFS(property, callback, null, visited);
- } else if (propertyType === 'Array' && !visited[objId(property)]) {
- visited[objId(property)] = true;
- DFS(property, callback, i, visited);
- }
- }
- }
- }
- },
-
- plugins: {},
-
- /**
- * This is the most high-level function in Prism’s API.
- * It fetches all the elements that have a `.language-xxxx` class and then calls {@link Prism.highlightElement} on
- * each one of them.
- *
- * This is equivalent to `Prism.highlightAllUnder(document, async, callback)`.
- *
- * @param {boolean} [async=false] Same as in {@link Prism.highlightAllUnder}.
- * @param {HighlightCallback} [callback] Same as in {@link Prism.highlightAllUnder}.
- * @memberof Prism
- * @public
- */
- highlightAll: function (async, callback) {
- _.highlightAllUnder(document, async, callback);
- },
-
- /**
- * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
- * {@link Prism.highlightElement} on each one of them.
- *
- * The following hooks will be run:
- * 1. `before-highlightall`
- * 2. `before-all-elements-highlight`
- * 3. All hooks of {@link Prism.highlightElement} for each element.
- *
- * @param {ParentNode} container The root element, whose descendants that have a `.language-xxxx` class will be highlighted.
- * @param {boolean} [async=false] Whether each element is to be highlighted asynchronously using Web Workers.
- * @param {HighlightCallback} [callback] An optional callback to be invoked on each element after its highlighting is done.
- * @memberof Prism
- * @public
- */
- highlightAllUnder: function (container, async, callback) {
- var env = {
- callback: callback,
- container: container,
- selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
- };
-
- _.hooks.run('before-highlightall', env);
-
- env.elements = Array.prototype.slice.apply(env.container.querySelectorAll(env.selector));
-
- _.hooks.run('before-all-elements-highlight', env);
-
- for (var i = 0, element; (element = env.elements[i++]);) {
- _.highlightElement(element, async === true, env.callback);
- }
- },
-
- /**
- * Highlights the code inside a single element.
- *
- * The following hooks will be run:
- * 1. `before-sanity-check`
- * 2. `before-highlight`
- * 3. All hooks of {@link Prism.highlight}. These hooks will be run by an asynchronous worker if `async` is `true`.
- * 4. `before-insert`
- * 5. `after-highlight`
- * 6. `complete`
- *
- * Some the above hooks will be skipped if the element doesn't contain any text or there is no grammar loaded for
- * the element's language.
- *
- * @param {Element} element The element containing the code.
- * It must have a class of `language-xxxx` to be processed, where `xxxx` is a valid language identifier.
- * @param {boolean} [async=false] Whether the element is to be highlighted asynchronously using Web Workers
- * to improve performance and avoid blocking the UI when highlighting very large chunks of code. This option is
- * [disabled by default](https://prismjs.com/faq.html#why-is-asynchronous-highlighting-disabled-by-default).
- *
- * Note: All language definitions required to highlight the code must be included in the main `prism.js` file for
- * asynchronous highlighting to work. You can build your own bundle on the
- * [Download page](https://prismjs.com/download.html).
- * @param {HighlightCallback} [callback] An optional callback to be invoked after the highlighting is done.
- * Mostly useful when `async` is `true`, since in that case, the highlighting is done asynchronously.
- * @memberof Prism
- * @public
- */
- highlightElement: function (element, async, callback) {
- // Find language
- var language = _.util.getLanguage(element);
- var grammar = _.languages[language];
-
- // Set language on the element, if not present
- _.util.setLanguage(element, language);
-
- // Set language on the parent, for styling
- var parent = element.parentElement;
- if (parent && parent.nodeName.toLowerCase() === 'pre') {
- _.util.setLanguage(parent, language);
- }
-
- var code = element.textContent;
-
- var env = {
- element: element,
- language: language,
- grammar: grammar,
- code: code
- };
-
- function insertHighlightedCode(highlightedCode) {
- env.highlightedCode = highlightedCode;
-
- _.hooks.run('before-insert', env);
-
- env.element.innerHTML = env.highlightedCode;
-
- _.hooks.run('after-highlight', env);
- _.hooks.run('complete', env);
- callback && callback.call(env.element);
- }
-
- _.hooks.run('before-sanity-check', env);
-
- // plugins may change/add the parent/element
- parent = env.element.parentElement;
- if (parent && parent.nodeName.toLowerCase() === 'pre' && !parent.hasAttribute('tabindex')) {
- parent.setAttribute('tabindex', '0');
- }
-
- if (!env.code) {
- _.hooks.run('complete', env);
- callback && callback.call(env.element);
- return;
- }
-
- _.hooks.run('before-highlight', env);
-
- if (!env.grammar) {
- insertHighlightedCode(_.util.encode(env.code));
- return;
- }
-
- if (async && _self.Worker) {
- var worker = new Worker(_.filename);
-
- worker.onmessage = function (evt) {
- insertHighlightedCode(evt.data);
- };
-
- worker.postMessage(JSON.stringify({
- language: env.language,
- code: env.code,
- immediateClose: true
- }));
- } else {
- insertHighlightedCode(_.highlight(env.code, env.grammar, env.language));
- }
- },
-
- /**
- * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
- * and the language definitions to use, and returns a string with the HTML produced.
- *
- * The following hooks will be run:
- * 1. `before-tokenize`
- * 2. `after-tokenize`
- * 3. `wrap`: On each {@link Token}.
- *
- * @param {string} text A string with the code to be highlighted.
- * @param {Grammar} grammar An object containing the tokens to use.
- *
- * Usually a language definition like `Prism.languages.markup`.
- * @param {string} language The name of the language definition passed to `grammar`.
- * @returns {string} The highlighted HTML.
- * @memberof Prism
- * @public
- * @example
- * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
- */
- highlight: function (text, grammar, language) {
- var env = {
- code: text,
- grammar: grammar,
- language: language
- };
- _.hooks.run('before-tokenize', env);
- if (!env.grammar) {
- throw new Error('The language "' + env.language + '" has no grammar.');
- }
- env.tokens = _.tokenize(env.code, env.grammar);
- _.hooks.run('after-tokenize', env);
- return Token.stringify(_.util.encode(env.tokens), env.language);
- },
-
- /**
- * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
- * and the language definitions to use, and returns an array with the tokenized code.
- *
- * When the language definition includes nested tokens, the function is called recursively on each of these tokens.
- *
- * This method could be useful in other contexts as well, as a very crude parser.
- *
- * @param {string} text A string with the code to be highlighted.
- * @param {Grammar} grammar An object containing the tokens to use.
- *
- * Usually a language definition like `Prism.languages.markup`.
- * @returns {TokenStream} An array of strings and tokens, a token stream.
- * @memberof Prism
- * @public
- * @example
- * let code = `var foo = 0;`;
- * let tokens = Prism.tokenize(code, Prism.languages.javascript);
- * tokens.forEach(token => {
- * if (token instanceof Prism.Token && token.type === 'number') {
- * console.log(`Found numeric literal: ${token.content}`);
- * }
- * });
- */
- tokenize: function (text, grammar) {
- var rest = grammar.rest;
- if (rest) {
- for (var token in rest) {
- grammar[token] = rest[token];
- }
-
- delete grammar.rest;
- }
-
- var tokenList = new LinkedList();
- addAfter(tokenList, tokenList.head, text);
-
- matchGrammar(text, tokenList, grammar, tokenList.head, 0);
-
- return toArray(tokenList);
- },
-
- /**
- * @namespace
- * @memberof Prism
- * @public
- */
- hooks: {
- all: {},
-
- /**
- * Adds the given callback to the list of callbacks for the given hook.
- *
- * The callback will be invoked when the hook it is registered for is run.
- * Hooks are usually directly run by a highlight function but you can also run hooks yourself.
- *
- * One callback function can be registered to multiple hooks and the same hook multiple times.
- *
- * @param {string} name The name of the hook.
- * @param {HookCallback} callback The callback function which is given environment variables.
- * @public
- */
- add: function (name, callback) {
- var hooks = _.hooks.all;
-
- hooks[name] = hooks[name] || [];
-
- hooks[name].push(callback);
- },
-
- /**
- * Runs a hook invoking all registered callbacks with the given environment variables.
- *
- * Callbacks will be invoked synchronously and in the order in which they were registered.
- *
- * @param {string} name The name of the hook.
- * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
- * @public
- */
- run: function (name, env) {
- var callbacks = _.hooks.all[name];
-
- if (!callbacks || !callbacks.length) {
- return;
- }
-
- for (var i = 0, callback; (callback = callbacks[i++]);) {
- callback(env);
- }
- }
- },
-
- Token: Token
- };
- _self.Prism = _;
-
-
- // Typescript note:
- // The following can be used to import the Token type in JSDoc:
- //
- // @typedef {InstanceType<import("./prism-core")["Token"]>} Token
-
- /**
- * Creates a new token.
- *
- * @param {string} type See {@link Token#type type}
- * @param {string | TokenStream} content See {@link Token#content content}
- * @param {string|string[]} [alias] The alias(es) of the token.
- * @param {string} [matchedStr=""] A copy of the full string this token was created from.
- * @class
- * @global
- * @public
- */
- function Token(type, content, alias, matchedStr) {
- /**
- * The type of the token.
- *
- * This is usually the key of a pattern in a {@link Grammar}.
- *
- * @type {string}
- * @see GrammarToken
- * @public
- */
- this.type = type;
- /**
- * The strings or tokens contained by this token.
- *
- * This will be a token stream if the pattern matched also defined an `inside` grammar.
- *
- * @type {string | TokenStream}
- * @public
- */
- this.content = content;
- /**
- * The alias(es) of the token.
- *
- * @type {string|string[]}
- * @see GrammarToken
- * @public
- */
- this.alias = alias;
- // Copy of the full string this token was created from
- this.length = (matchedStr || '').length | 0;
- }
-
- /**
- * A token stream is an array of strings and {@link Token Token} objects.
- *
- * Token streams have to fulfill a few properties that are assumed by most functions (mostly internal ones) that process
- * them.
- *
- * 1. No adjacent strings.
- * 2. No empty strings.
- *
- * The only exception here is the token stream that only contains the empty string and nothing else.
- *
- * @typedef {Array<string | Token>} TokenStream
- * @global
- * @public
- */
-
- /**
- * Converts the given token or token stream to an HTML representation.
- *
- * The following hooks will be run:
- * 1. `wrap`: On each {@link Token}.
- *
- * @param {string | Token | TokenStream} o The token or token stream to be converted.
- * @param {string} language The name of current language.
- * @returns {string} The HTML representation of the token or token stream.
- * @memberof Token
- * @static
- */
- Token.stringify = function stringify(o, language) {
- if (typeof o == 'string') {
- return o;
- }
- if (Array.isArray(o)) {
- var s = '';
- o.forEach(function (e) {
- s += stringify(e, language);
- });
- return s;
- }
-
- var env = {
- type: o.type,
- content: stringify(o.content, language),
- tag: 'span',
- classes: ['token', o.type],
- attributes: {},
- language: language
- };
-
- var aliases = o.alias;
- if (aliases) {
- if (Array.isArray(aliases)) {
- Array.prototype.push.apply(env.classes, aliases);
- } else {
- env.classes.push(aliases);
- }
- }
-
- _.hooks.run('wrap', env);
-
- var attributes = '';
- for (var name in env.attributes) {
- attributes += ' ' + name + '="' + (env.attributes[name] || '').replace(/"/g, '"') + '"';
- }
-
- return '<' + env.tag + ' class="' + env.classes.join(' ') + '"' + attributes + '>' + env.content + '</' + env.tag + '>';
- };
-
- /**
- * @param {RegExp} pattern
- * @param {number} pos
- * @param {string} text
- * @param {boolean} lookbehind
- * @returns {RegExpExecArray | null}
- */
- function matchPattern(pattern, pos, text, lookbehind) {
- pattern.lastIndex = pos;
- var match = pattern.exec(text);
- if (match && lookbehind && match[1]) {
- // change the match to remove the text matched by the Prism lookbehind group
- var lookbehindLength = match[1].length;
- match.index += lookbehindLength;
- match[0] = match[0].slice(lookbehindLength);
- }
- return match;
- }
-
- /**
- * @param {string} text
- * @param {LinkedList<string | Token>} tokenList
- * @param {any} grammar
- * @param {LinkedListNode<string | Token>} startNode
- * @param {number} startPos
- * @param {RematchOptions} [rematch]
- * @returns {void}
- * @private
- *
- * @typedef RematchOptions
- * @property {string} cause
- * @property {number} reach
- */
- function matchGrammar(text, tokenList, grammar, startNode, startPos, rematch) {
- for (var token in grammar) {
- if (!grammar.hasOwnProperty(token) || !grammar[token]) {
- continue;
- }
-
- var patterns = grammar[token];
- patterns = Array.isArray(patterns) ? patterns : [patterns];
-
- for (var j = 0; j < patterns.length; ++j) {
- if (rematch && rematch.cause == token + ',' + j) {
- return;
- }
-
- var patternObj = patterns[j];
- var inside = patternObj.inside;
- var lookbehind = !!patternObj.lookbehind;
- var greedy = !!patternObj.greedy;
- var alias = patternObj.alias;
-
- if (greedy && !patternObj.pattern.global) {
- // Without the global flag, lastIndex won't work
- var flags = patternObj.pattern.toString().match(/[imsuy]*$/)[0];
- patternObj.pattern = RegExp(patternObj.pattern.source, flags + 'g');
- }
-
- /** @type {RegExp} */
- var pattern = patternObj.pattern || patternObj;
-
- for ( // iterate the token list and keep track of the current token/string position
- var currentNode = startNode.next, pos = startPos;
- currentNode !== tokenList.tail;
- pos += currentNode.value.length, currentNode = currentNode.next
- ) {
-
- if (rematch && pos >= rematch.reach) {
- break;
- }
-
- var str = currentNode.value;
-
- if (tokenList.length > text.length) {
- // Something went terribly wrong, ABORT, ABORT!
- return;
- }
-
- if (str instanceof Token) {
- continue;
- }
-
- var removeCount = 1; // this is the to parameter of removeBetween
- var match;
-
- if (greedy) {
- match = matchPattern(pattern, pos, text, lookbehind);
- if (!match || match.index >= text.length) {
- break;
- }
-
- var from = match.index;
- var to = match.index + match[0].length;
- var p = pos;
-
- // find the node that contains the match
- p += currentNode.value.length;
- while (from >= p) {
- currentNode = currentNode.next;
- p += currentNode.value.length;
- }
- // adjust pos (and p)
- p -= currentNode.value.length;
- pos = p;
-
- // the current node is a Token, then the match starts inside another Token, which is invalid
- if (currentNode.value instanceof Token) {
- continue;
- }
-
- // find the last node which is affected by this match
- for (
- var k = currentNode;
- k !== tokenList.tail && (p < to || typeof k.value === 'string');
- k = k.next
- ) {
- removeCount++;
- p += k.value.length;
- }
- removeCount--;
-
- // replace with the new match
- str = text.slice(pos, p);
- match.index -= pos;
- } else {
- match = matchPattern(pattern, 0, str, lookbehind);
- if (!match) {
- continue;
- }
- }
-
- // eslint-disable-next-line no-redeclare
- var from = match.index;
- var matchStr = match[0];
- var before = str.slice(0, from);
- var after = str.slice(from + matchStr.length);
-
- var reach = pos + str.length;
- if (rematch && reach > rematch.reach) {
- rematch.reach = reach;
- }
-
- var removeFrom = currentNode.prev;
-
- if (before) {
- removeFrom = addAfter(tokenList, removeFrom, before);
- pos += before.length;
- }
-
- removeRange(tokenList, removeFrom, removeCount);
-
- var wrapped = new Token(token, inside ? _.tokenize(matchStr, inside) : matchStr, alias, matchStr);
- currentNode = addAfter(tokenList, removeFrom, wrapped);
-
- if (after) {
- addAfter(tokenList, currentNode, after);
- }
-
- if (removeCount > 1) {
- // at least one Token object was removed, so we have to do some rematching
- // this can only happen if the current pattern is greedy
-
- /** @type {RematchOptions} */
- var nestedRematch = {
- cause: token + ',' + j,
- reach: reach
- };
- matchGrammar(text, tokenList, grammar, currentNode.prev, pos, nestedRematch);
-
- // the reach might have been extended because of the rematching
- if (rematch && nestedRematch.reach > rematch.reach) {
- rematch.reach = nestedRematch.reach;
- }
- }
- }
- }
- }
- }
-
- /**
- * @typedef LinkedListNode
- * @property {T} value
- * @property {LinkedListNode<T> | null} prev The previous node.
- * @property {LinkedListNode<T> | null} next The next node.
- * @template T
- * @private
- */
-
- /**
- * @template T
- * @private
- */
- function LinkedList() {
- /** @type {LinkedListNode<T>} */
- var head = { value: null, prev: null, next: null };
- /** @type {LinkedListNode<T>} */
- var tail = { value: null, prev: head, next: null };
- head.next = tail;
-
- /** @type {LinkedListNode<T>} */
- this.head = head;
- /** @type {LinkedListNode<T>} */
- this.tail = tail;
- this.length = 0;
- }
-
- /**
- * Adds a new node with the given value to the list.
- *
- * @param {LinkedList<T>} list
- * @param {LinkedListNode<T>} node
- * @param {T} value
- * @returns {LinkedListNode<T>} The added node.
- * @template T
- */
- function addAfter(list, node, value) {
- // assumes that node != list.tail && values.length >= 0
- var next = node.next;
-
- var newNode = { value: value, prev: node, next: next };
- node.next = newNode;
- next.prev = newNode;
- list.length++;
-
- return newNode;
- }
- /**
- * Removes `count` nodes after the given node. The given node will not be removed.
- *
- * @param {LinkedList<T>} list
- * @param {LinkedListNode<T>} node
- * @param {number} count
- * @template T
- */
- function removeRange(list, node, count) {
- var next = node.next;
- for (var i = 0; i < count && next !== list.tail; i++) {
- next = next.next;
- }
- node.next = next;
- next.prev = node;
- list.length -= i;
- }
- /**
- * @param {LinkedList<T>} list
- * @returns {T[]}
- * @template T
- */
- function toArray(list) {
- var array = [];
- var node = list.head.next;
- while (node !== list.tail) {
- array.push(node.value);
- node = node.next;
- }
- return array;
- }
-
-
- if (!_self.document) {
- if (!_self.addEventListener) {
- // in Node.js
- return _;
- }
-
- if (!_.disableWorkerMessageHandler) {
- // In worker
- _self.addEventListener('message', function (evt) {
- var message = JSON.parse(evt.data);
- var lang = message.language;
- var code = message.code;
- var immediateClose = message.immediateClose;
-
- _self.postMessage(_.highlight(code, _.languages[lang], lang));
- if (immediateClose) {
- _self.close();
- }
- }, false);
- }
-
- return _;
- }
-
- // Get current script and highlight
- var script = _.util.currentScript();
-
- if (script) {
- _.filename = script.src;
-
- if (script.hasAttribute('data-manual')) {
- _.manual = true;
- }
- }
-
- function highlightAutomaticallyCallback() {
- if (!_.manual) {
- _.highlightAll();
- }
- }
-
- if (!_.manual) {
- // If the document state is "loading", then we'll use DOMContentLoaded.
- // If the document state is "interactive" and the prism.js script is deferred, then we'll also use the
- // DOMContentLoaded event because there might be some plugins or languages which have also been deferred and they
- // might take longer one animation frame to execute which can create a race condition where only some plugins have
- // been loaded when Prism.highlightAll() is executed, depending on how fast resources are loaded.
- // See https://github.com/PrismJS/prism/issues/2102
- var readyState = document.readyState;
- if (readyState === 'loading' || readyState === 'interactive' && script && script.defer) {
- document.addEventListener('DOMContentLoaded', highlightAutomaticallyCallback);
- } else {
- if (window.requestAnimationFrame) {
- window.requestAnimationFrame(highlightAutomaticallyCallback);
- } else {
- window.setTimeout(highlightAutomaticallyCallback, 16);
- }
- }
- }
-
- return _;
-
-}(_self));
-
-if (typeof module !== 'undefined' && module.exports) {
- module.exports = Prism;
-}
-
-// hack for components to work correctly in node.js
-if (typeof global !== 'undefined') {
- global.Prism = Prism;
-}
-
-// some additional documentation/types
-
-/**
- * The expansion of a simple `RegExp` literal to support additional properties.
- *
- * @typedef GrammarToken
- * @property {RegExp} pattern The regular expression of the token.
- * @property {boolean} [lookbehind=false] If `true`, then the first capturing group of `pattern` will (effectively)
- * behave as a lookbehind group meaning that the captured text will not be part of the matched text of the new token.
- * @property {boolean} [greedy=false] Whether the token is greedy.
- * @property {string|string[]} [alias] An optional alias or list of aliases.
- * @property {Grammar} [inside] The nested grammar of this token.
- *
- * The `inside` grammar will be used to tokenize the text value of each token of this kind.
- *
- * This can be used to make nested and even recursive language definitions.
- *
- * Note: This can cause infinite recursion. Be careful when you embed different languages or even the same language into
- * each another.
- * @global
- * @public
- */
-
-/**
- * @typedef Grammar
- * @type {Object<string, RegExp | GrammarToken | Array<RegExp | GrammarToken>>}
- * @property {Grammar} [rest] An optional grammar object that will be appended to this grammar.
- * @global
- * @public
- */
-
-/**
- * A function which will invoked after an element was successfully highlighted.
- *
- * @callback HighlightCallback
- * @param {Element} element The element successfully highlighted.
- * @returns {void}
- * @global
- * @public
- */
-
-/**
- * @callback HookCallback
- * @param {Object<string, any>} env The environment variables of the hook.
- * @returns {void}
- * @global
- * @public
- */
-;
-Prism.languages.markup = {
- 'comment': {
- pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
- greedy: true
- },
- 'prolog': {
- pattern: /<\?[\s\S]+?\?>/,
- greedy: true
- },
- 'doctype': {
- // https://www.w3.org/TR/xml/#NT-doctypedecl
- pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
- greedy: true,
- inside: {
- 'internal-subset': {
- pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/,
- lookbehind: true,
- greedy: true,
- inside: null // see below
- },
- 'string': {
- pattern: /"[^"]*"|'[^']*'/,
- greedy: true
- },
- 'punctuation': /^<!|>$|[[\]]/,
- 'doctype-tag': /^DOCTYPE/i,
- 'name': /[^\s<>'"]+/
- }
- },
- 'cdata': {
- pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
- greedy: true
- },
- 'tag': {
- pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
- greedy: true,
- inside: {
- 'tag': {
- pattern: /^<\/?[^\s>\/]+/,
- inside: {
- 'punctuation': /^<\/?/,
- 'namespace': /^[^\s>\/:]+:/
- }
- },
- 'special-attr': [],
- 'attr-value': {
- pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
- inside: {
- 'punctuation': [
- {
- pattern: /^=/,
- alias: 'attr-equals'
- },
- {
- pattern: /^(\s*)["']|["']$/,
- lookbehind: true
- }
- ]
- }
- },
- 'punctuation': /\/?>/,
- 'attr-name': {
- pattern: /[^\s>\/]+/,
- inside: {
- 'namespace': /^[^\s>\/:]+:/
- }
- }
-
- }
- },
- 'entity': [
- {
- pattern: /&[\da-z]{1,8};/i,
- alias: 'named-entity'
- },
- /&#x?[\da-f]{1,8};/i
- ]
-};
-
-Prism.languages.markup['tag'].inside['attr-value'].inside['entity'] =
- Prism.languages.markup['entity'];
-Prism.languages.markup['doctype'].inside['internal-subset'].inside = Prism.languages.markup;
-
-// Plugin to make entity title show the real entity, idea by Roman Komarov
-Prism.hooks.add('wrap', function (env) {
-
- if (env.type === 'entity') {
- env.attributes['title'] = env.content.replace(/&/, '&');
- }
-});
-
-Object.defineProperty(Prism.languages.markup.tag, 'addInlined', {
- /**
- * Adds an inlined language to markup.
- *
- * An example of an inlined language is CSS with `<style>` tags.
- *
- * @param {string} tagName The name of the tag that contains the inlined language. This name will be treated as
- * case insensitive.
- * @param {string} lang The language key.
- * @example
- * addInlined('style', 'css');
- */
- value: function addInlined(tagName, lang) {
- var includedCdataInside = {};
- includedCdataInside['language-' + lang] = {
- pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
- lookbehind: true,
- inside: Prism.languages[lang]
- };
- includedCdataInside['cdata'] = /^<!\[CDATA\[|\]\]>$/i;
-
- var inside = {
- 'included-cdata': {
- pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
- inside: includedCdataInside
- }
- };
- inside['language-' + lang] = {
- pattern: /[\s\S]+/,
- inside: Prism.languages[lang]
- };
-
- var def = {};
- def[tagName] = {
- pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function () { return tagName; }), 'i'),
- lookbehind: true,
- greedy: true,
- inside: inside
- };
-
- Prism.languages.insertBefore('markup', 'cdata', def);
- }
-});
-Object.defineProperty(Prism.languages.markup.tag, 'addAttribute', {
- /**
- * Adds an pattern to highlight languages embedded in HTML attributes.
- *
- * An example of an inlined language is CSS with `style` attributes.
- *
- * @param {string} attrName The name of the tag that contains the inlined language. This name will be treated as
- * case insensitive.
- * @param {string} lang The language key.
- * @example
- * addAttribute('style', 'css');
- */
- value: function (attrName, lang) {
- Prism.languages.markup.tag.inside['special-attr'].push({
- pattern: RegExp(
- /(^|["'\s])/.source + '(?:' + attrName + ')' + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
- 'i'
- ),
- lookbehind: true,
- inside: {
- 'attr-name': /^[^\s=]+/,
- 'attr-value': {
- pattern: /=[\s\S]+/,
- inside: {
- 'value': {
- pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
- lookbehind: true,
- alias: [lang, 'language-' + lang],
- inside: Prism.languages[lang]
- },
- 'punctuation': [
- {
- pattern: /^=/,
- alias: 'attr-equals'
- },
- /"|'/
- ]
- }
- }
- }
- });
- }
-});
-
-Prism.languages.html = Prism.languages.markup;
-Prism.languages.mathml = Prism.languages.markup;
-Prism.languages.svg = Prism.languages.markup;
-
-Prism.languages.xml = Prism.languages.extend('markup', {});
-Prism.languages.ssml = Prism.languages.xml;
-Prism.languages.atom = Prism.languages.xml;
-Prism.languages.rss = Prism.languages.xml;
-
-(function (Prism) {
-
- var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
-
- Prism.languages.css = {
- 'comment': /\/\*[\s\S]*?\*\//,
- 'atrule': {
- pattern: RegExp('@[\\w-](?:' + /[^;{\s"']|\s+(?!\s)/.source + '|' + string.source + ')*?' + /(?:;|(?=\s*\{))/.source),
- inside: {
- 'rule': /^@[\w-]+/,
- 'selector-function-argument': {
- pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
- lookbehind: true,
- alias: 'selector'
- },
- 'keyword': {
- pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
- lookbehind: true
- }
- // See rest below
- }
- },
- 'url': {
- // https://drafts.csswg.org/css-values-3/#urls
- pattern: RegExp('\\burl\\((?:' + string.source + '|' + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ')\\)', 'i'),
- greedy: true,
- inside: {
- 'function': /^url/i,
- 'punctuation': /^\(|\)$/,
- 'string': {
- pattern: RegExp('^' + string.source + '$'),
- alias: 'url'
- }
- }
- },
- 'selector': {
- pattern: RegExp('(^|[{}\\s])[^{}\\s](?:[^{};"\'\\s]|\\s+(?![\\s{])|' + string.source + ')*(?=\\s*\\{)'),
- lookbehind: true
- },
- 'string': {
- pattern: string,
- greedy: true
- },
- 'property': {
- pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
- lookbehind: true
- },
- 'important': /!important\b/i,
- 'function': {
- pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
- lookbehind: true
- },
- 'punctuation': /[(){};:,]/
- };
-
- Prism.languages.css['atrule'].inside.rest = Prism.languages.css;
-
- var markup = Prism.languages.markup;
- if (markup) {
- markup.tag.addInlined('style', 'css');
- markup.tag.addAttribute('style', 'css');
- }
-
-}(Prism));
-
-Prism.languages.clike = {
- 'comment': [
- {
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
- lookbehind: true,
- greedy: true
- },
- {
- pattern: /(^|[^\\:])\/\/.*/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'string': {
- pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
- 'class-name': {
- pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,
- lookbehind: true,
- 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: true
- }
- ],
- 'keyword': [
- {
- pattern: /((?:^|\})\s*)catch\b/,
- lookbehind: true
- },
- {
- 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: true
- },
- ],
- // Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)
- 'function': /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
- 'number': {
- pattern: RegExp(
- /(^|[^\w$])/.source +
- '(?:' +
- (
- // constant
- /NaN|Infinity/.source +
- '|' +
- // binary integer
- /0[bB][01]+(?:_[01]+)*n?/.source +
- '|' +
- // octal integer
- /0[oO][0-7]+(?:_[0-7]+)*n?/.source +
- '|' +
- // hexadecimal integer
- /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source +
- '|' +
- // decimal bigint
- /\d+(?:_\d+)*n/.source +
- '|' +
- // decimal number (integer or float) but no bigint
- /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source
- ) +
- ')' +
- /(?![\w$])/.source
- ),
- lookbehind: true
- },
- '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(
- // lookbehind
- // eslint-disable-next-line regexp/no-dupe-characters-character-class
- /((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source +
- // Regex pattern:
- // There are 2 regex patterns here. The RegExp set notation proposal added support for nested character
- // classes if the `v` flag is present. Unfortunately, nested CCs are both context-free and incompatible
- // with the only syntax, so we have to define 2 different regex patterns.
- /\//.source +
- '(?:' +
- /(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source +
- '|' +
- // `v` flag syntax. This supports 3 levels of nested character classes.
- /(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source +
- ')' +
- // lookahead
- /(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source
- ),
- lookbehind: true,
- greedy: true,
- inside: {
- 'regex-source': {
- pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
- lookbehind: true,
- alias: 'language-regex',
- inside: Prism.languages.regex
- },
- 'regex-delimiter': /^\/|\/$/,
- 'regex-flags': /^[a-z]+$/,
- }
- },
- // This must be declared before keyword because we use "function" inside the look-forward
- '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: true,
- inside: Prism.languages.javascript
- },
- {
- pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
- lookbehind: true,
- inside: Prism.languages.javascript
- },
- {
- pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
- lookbehind: true,
- 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: true,
- inside: Prism.languages.javascript
- }
- ],
- 'constant': /\b[A-Z](?:[A-Z_]|\dx?)*\b/
-});
-
-Prism.languages.insertBefore('javascript', 'string', {
- 'hashbang': {
- pattern: /^#!.*/,
- greedy: true,
- alias: 'comment'
- },
- 'template-string': {
- pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
- greedy: true,
- inside: {
- 'template-punctuation': {
- pattern: /^`|`$/,
- alias: 'string'
- },
- 'interpolation': {
- pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
- lookbehind: true,
- 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: true,
- greedy: true,
- alias: 'property'
- }
-});
-
-Prism.languages.insertBefore('javascript', 'operator', {
- 'literal-property': {
- pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
- lookbehind: true,
- alias: 'property'
- },
-});
-
-if (Prism.languages.markup) {
- Prism.languages.markup.tag.addInlined('script', 'javascript');
-
- // add attribute support for all DOM events.
- // https://developer.mozilla.org/en-US/docs/Web/Events#Standard_events
- 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.abap = {
- 'comment': /^\*.*/m,
- 'string': /(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
- 'string-template': {
- pattern: /([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,
- lookbehind: true,
- alias: 'string'
- },
- /* End Of Line comments should not interfere with strings when the
- quote character occurs within them. We assume a string being highlighted
- inside an EOL comment is more acceptable than the opposite.
- */
- 'eol-comment': {
- pattern: /(^|\s)".*/m,
- lookbehind: true,
- alias: 'comment'
- },
- 'keyword': {
- pattern: /(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,
- lookbehind: true
- },
- /* Numbers can be only integers. Decimal or Hex appear only as strings */
- 'number': /\b\d+\b/,
- /* Operators must always be surrounded by whitespace, they cannot be put
- adjacent to operands.
- */
- 'operator': {
- pattern: /(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,
- lookbehind: true
- },
- 'string-operator': {
- pattern: /(\s)&&?(?=\s)/,
- lookbehind: true,
- /* The official editor highlights */
- alias: 'keyword'
- },
- 'token-operator': [{
- /* Special operators used to access structure components, class methods/attributes, etc. */
- pattern: /(\w)(?:->?|=>|[~|{}])(?=\w)/,
- lookbehind: true,
- alias: 'punctuation'
- }, {
- /* Special tokens used do delimit string templates */
- pattern: /[|{}]/,
- alias: 'punctuation'
- }],
- 'punctuation': /[,.:()]/
-};
-
-(function (Prism) {
-
- var coreRules = '(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)';
-
- Prism.languages.abnf = {
- 'comment': /;.*/,
- 'string': {
- pattern: /(?:%[is])?"[^"\n\r]*"/,
- greedy: true,
- inside: {
- 'punctuation': /^%[is]/
- }
- },
- 'range': {
- pattern: /%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,
- alias: 'number'
- },
- 'terminal': {
- pattern: /%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,
- alias: 'number'
- },
- 'repetition': {
- pattern: /(^|[^\w-])(?:\d*\*\d*|\d+)/,
- lookbehind: true,
- alias: 'operator'
- },
- 'definition': {
- pattern: /(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,
- lookbehind: true,
- alias: 'keyword',
- inside: {
- 'punctuation': /<|>/
- }
- },
- 'core-rule': {
- pattern: RegExp('(?:(^|[^<\\w-])' + coreRules + '|<' + coreRules + '>)(?![\\w-])', 'i'),
- lookbehind: true,
- alias: ['rule', 'constant'],
- inside: {
- 'punctuation': /<|>/
- }
- },
- 'rule': {
- pattern: /(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,
- lookbehind: true,
- inside: {
- 'punctuation': /<|>/
- }
- },
- 'operator': /=\/?|\//,
- 'punctuation': /[()\[\]]/
- };
-
-}(Prism));
-
-Prism.languages.actionscript = Prism.languages.extend('javascript', {
- 'keyword': /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,
- 'operator': /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/
-});
-Prism.languages.actionscript['class-name'].alias = 'function';
-
-// doesn't work with AS because AS is too complex
-delete Prism.languages.actionscript['parameter'];
-delete Prism.languages.actionscript['literal-property'];
-
-if (Prism.languages.markup) {
- Prism.languages.insertBefore('actionscript', 'string', {
- 'xml': {
- pattern: /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,
- lookbehind: true,
- inside: Prism.languages.markup
- }
- });
-}
-;
-Prism.languages.ada = {
- 'comment': /--.*/,
- 'string': /"(?:""|[^"\r\f\n])*"/,
- 'number': [
- {
- pattern: /\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i
- },
- {
- pattern: /\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i
- }
- ],
- 'attribute': {
- pattern: /\b'\w+/,
- alias: 'attr-name'
- },
- 'keyword': /\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,
- 'boolean': /\b(?:false|true)\b/i,
- 'operator': /<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,
- 'punctuation': /\.\.?|[,;():]/,
- 'char': /'.'/,
- 'variable': /\b[a-z](?:\w)*\b/i
-};
-
-(function (Prism) {
-
- Prism.languages.agda = {
- 'comment': /\{-[\s\S]*?(?:-\}|$)|--.*/,
- 'string': {
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,
- greedy: true,
- },
- 'punctuation': /[(){}⦃⦄.;@]/,
- 'class-name': {
- pattern: /((?:data|record) +)\S+/,
- lookbehind: true,
- },
- 'function': {
- pattern: /(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,
- lookbehind: true,
- },
- 'operator': {
- pattern: /(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,
- lookbehind: true,
- },
- 'keyword': /\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/,
- };
-}(Prism));
-
-// based on https://github.com/microsoft/AL/blob/master/grammar/alsyntax.tmlanguage
-
-Prism.languages.al = {
- 'comment': /\/\/.*|\/\*[\s\S]*?\*\//,
- 'string': {
- pattern: /'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,
- greedy: true
- },
- 'function': {
- pattern: /(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,
- lookbehind: true
- },
- 'keyword': [
- // keywords
- /\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,
- // objects and metadata that are used like keywords
- /\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i
- ],
- 'number': /\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,
- 'boolean': /\b(?:false|true)\b/i,
- 'variable': /\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,
- 'class-name': /\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,
- 'operator': /\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,
- 'punctuation': /[()\[\]{}:.;,]/
-};
-
-Prism.languages.antlr4 = {
- 'comment': /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
- 'string': {
- pattern: /'(?:\\.|[^\\'\r\n])*'/,
- greedy: true
- },
- 'character-class': {
- pattern: /\[(?:\\.|[^\\\]\r\n])*\]/,
- greedy: true,
- alias: 'regex',
- inside: {
- 'range': {
- pattern: /([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,
- lookbehind: true,
- alias: 'punctuation'
- },
- 'escape': /\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,
- 'punctuation': /[\[\]]/
- }
- },
- 'action': {
- pattern: /\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,
- greedy: true,
- inside: {
- 'content': {
- // this might be C, C++, Python, Java, C#, or any other language ANTLR4 compiles to
- pattern: /(\{)[\s\S]+(?=\})/,
- lookbehind: true
- },
- 'punctuation': /[{}]/
- }
- },
- 'command': {
- pattern: /(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,
- lookbehind: true,
- inside: {
- 'function': /\b\w+(?=\s*(?:[,(]|$))/,
- 'punctuation': /[,()]/
- }
- },
- 'annotation': {
- pattern: /@\w+(?:::\w+)*/,
- alias: 'keyword'
- },
- 'label': {
- pattern: /#[ \t]*\w+/,
- alias: 'punctuation'
- },
- 'keyword': /\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,
- 'definition': [
- {
- pattern: /\b[a-z]\w*(?=\s*:)/,
- alias: ['rule', 'class-name']
- },
- {
- pattern: /\b[A-Z]\w*(?=\s*:)/,
- alias: ['token', 'constant']
- },
- ],
- 'constant': /\b[A-Z][A-Z_]*\b/,
- 'operator': /\.\.|->|[|~]|[*+?]\??/,
- 'punctuation': /[;:()=]/
-};
-
-Prism.languages.g4 = Prism.languages.antlr4;
-
-Prism.languages.apacheconf = {
- 'comment': /#.*/,
- 'directive-inline': {
- pattern: /(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,
- lookbehind: true,
- alias: 'property'
- },
- 'directive-block': {
- pattern: /<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,
- inside: {
- 'directive-block': {
- pattern: /^<\/?\w+/,
- inside: {
- 'punctuation': /^<\/?/
- },
- alias: 'tag'
- },
- 'directive-block-parameter': {
- pattern: /.*[^>]/,
- inside: {
- 'punctuation': /:/,
- 'string': {
- pattern: /("|').*\1/,
- inside: {
- 'variable': /[$%]\{?(?:\w\.?[-+:]?)+\}?/
- }
- }
- },
- alias: 'attr-value'
- },
- 'punctuation': />/
- },
- alias: 'tag'
- },
- 'directive-flags': {
- pattern: /\[(?:[\w=],?)+\]/,
- alias: 'keyword'
- },
- 'string': {
- pattern: /("|').*\1/,
- inside: {
- 'variable': /[$%]\{?(?:\w\.?[-+:]?)+\}?/
- }
- },
- 'variable': /[$%]\{?(?:\w\.?[-+:]?)+\}?/,
- 'regex': /\^?.*\$|\^.*\$?/
-};
-
-Prism.languages.sql = {
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,
- lookbehind: true
- },
- 'variable': [
- {
- pattern: /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,
- greedy: true
- },
- /@[\w.$]+/
- ],
- 'string': {
- pattern: /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,
- greedy: true,
- lookbehind: true
- },
- 'identifier': {
- pattern: /(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,
- greedy: true,
- lookbehind: true,
- inside: {
- 'punctuation': /^`|`$/
- }
- },
- 'function': /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i, // Should we highlight user defined functions too?
- '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 (Prism) {
-
- var keywords = /\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i;
-
- var className = /\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source
- .replace(/<keyword>/g, function () { return keywords.source; });
- /** @param {string} pattern */
- function insertClassName(pattern) {
- return RegExp(pattern.replace(/<CLASS-NAME>/g, function () { return className; }), 'i');
- }
-
- var classNameInside = {
- 'keyword': keywords,
- 'punctuation': /[()\[\]{};,:.<>]/
- };
-
- Prism.languages.apex = {
- 'comment': Prism.languages.clike.comment,
- 'string': Prism.languages.clike.string,
- 'sql': {
- pattern: /((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,
- lookbehind: true,
- greedy: true,
- alias: 'language-sql',
- inside: Prism.languages.sql
- },
-
- 'annotation': {
- pattern: /@\w+\b/,
- alias: 'punctuation'
- },
- 'class-name': [
- {
- pattern: insertClassName(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),
- lookbehind: true,
- inside: classNameInside
- },
- {
- // cast
- pattern: insertClassName(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),
- lookbehind: true,
- inside: classNameInside
- },
- {
- // variable/parameter declaration and return types
- pattern: insertClassName(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),
- inside: classNameInside
- }
- ],
- 'trigger': {
- pattern: /(\btrigger\s+)\w+\b/i,
- lookbehind: true,
- alias: 'class-name'
- },
- 'keyword': keywords,
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
-
- 'boolean': /\b(?:false|true)\b/i,
-
- 'number': /(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,
- 'operator': /[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,
- 'punctuation': /[()\[\]{};,.]/
- };
-
-}(Prism));
-
-Prism.languages.apl = {
- 'comment': /(?:⍝|#[! ]).*$/m,
- 'string': {
- pattern: /'(?:[^'\r\n]|'')*'/,
- greedy: true
- },
- 'number': /¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,
- 'statement': /:[A-Z][a-z][A-Za-z]*\b/,
- 'system-function': {
- pattern: /⎕[A-Z]+/i,
- alias: 'function'
- },
- 'constant': /[⍬⌾#⎕⍞]/,
- 'function': /[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,
- 'monadic-operator': {
- pattern: /[\\\/⌿⍀¨⍨⌶&∥]/,
- alias: 'operator'
- },
- 'dyadic-operator': {
- pattern: /[.⍣⍠⍤∘⌸@⌺⍥]/,
- alias: 'operator'
- },
- 'assignment': {
- pattern: /←/,
- alias: 'keyword'
- },
- 'punctuation': /[\[;\]()◇⋄]/,
- 'dfn': {
- pattern: /[{}⍺⍵⍶⍹∇⍫:]/,
- alias: 'builtin'
- }
-};
-
-Prism.languages.applescript = {
- 'comment': [
- // Allow one level of nesting
- /\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,
- /--.+/,
- /#.+/
- ],
- 'string': /"(?:\\.|[^"\\\r\n])*"/,
- 'number': /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,
- 'operator': [
- /[&=≠≤≥*+\-\/÷^]|[<>]=?/,
- /\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/
- ],
- 'keyword': /\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,
- 'class-name': /\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,
- 'punctuation': /[{}():,¬«»《》]/
-};
-
-Prism.languages.aql = {
- 'comment': /\/\/.*|\/\*[\s\S]*?\*\//,
- 'property': {
- pattern: /([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,
- lookbehind: true,
- greedy: true
- },
- 'string': {
- pattern: /(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,
- greedy: true
- },
- 'identifier': {
- pattern: /([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,
- greedy: true
- },
- 'variable': /@@?\w+/,
- 'keyword': [
- {
- pattern: /(\bWITH\s+)COUNT(?=\s+INTO\b)/i,
- lookbehind: true
- },
- /\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,
- // pseudo keywords get a lookbehind to avoid false positives
- {
- pattern: /(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,
- lookbehind: true
- },
- {
- pattern: /(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,
- lookbehind: true
- },
- {
- pattern: /\bOPTIONS(?=\s*\{)/i
- }
- ],
- 'function': /\b(?!\d)\w+(?=\s*\()/,
- 'boolean': /\b(?:false|true)\b/i,
- 'range': {
- pattern: /\.\./,
- alias: 'operator'
- },
- 'number': [
- /\b0b[01]+/i,
- /\b0x[0-9a-f]+/i,
- /(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i
- ],
- 'operator': /\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,
- 'punctuation': /::|[?.:,;()[\]{}]/
-};
-
-Prism.languages.c = Prism.languages.extend('clike', {
- 'comment': {
- pattern: /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
- greedy: true
- },
- 'string': {
- // https://en.cppreference.com/w/c/language/string_literal
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
- greedy: true
- },
- 'class-name': {
- pattern: /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,
- lookbehind: true
- },
- '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': {
- // https://en.cppreference.com/w/c/language/character_constant
- pattern: /'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,
- greedy: true
- }
-});
-
-Prism.languages.insertBefore('c', 'string', {
- 'macro': {
- // allow for multiline macro definitions
- // spaces after the # character compile fine with gcc
- pattern: /(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,
- lookbehind: true,
- greedy: true,
- alias: 'property',
- inside: {
- 'string': [
- {
- // highlight the path of the include statement as a string
- pattern: /^(#\s*include\s*)<[^>]+>/,
- lookbehind: true
- },
- Prism.languages.c['string']
- ],
- 'char': Prism.languages.c['char'],
- 'comment': Prism.languages.c['comment'],
- 'macro-name': [
- {
- pattern: /(^#\s*define\s+)\w+\b(?!\()/i,
- lookbehind: true
- },
- {
- pattern: /(^#\s*define\s+)\w+\b(?=\()/i,
- lookbehind: true,
- alias: 'function'
- }
- ],
- // highlight macro directives as keywords
- 'directive': {
- pattern: /^(#\s*)[a-z]+/,
- lookbehind: true,
- alias: 'keyword'
- },
- 'directive-hash': /^#/,
- 'punctuation': /##|\\(?=[\r\n])/,
- 'expression': {
- pattern: /\S[\s\S]*/,
- inside: Prism.languages.c
- }
- }
- }
-});
-
-Prism.languages.insertBefore('c', 'function', {
- // highlight predefined macros as constants
- '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 (Prism) {
-
- var keyword = /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/;
- var modName = /\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g, function () { return keyword.source; });
-
- Prism.languages.cpp = Prism.languages.extend('c', {
- 'class-name': [
- {
- pattern: RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source
- .replace(/<keyword>/g, function () { return keyword.source; })),
- lookbehind: true
- },
- // This is intended to capture the class name of method implementations like:
- // void foo::bar() const {}
- // However! The `foo` in the above example could also be a namespace, so we only capture the class name if
- // it starts with an uppercase letter. This approximation should give decent results.
- /\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,
- // This will capture the class name before destructors like:
- // Foo::~Foo() {}
- /\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,
- // This also intends to capture the class name of method implementations but here the class has template
- // parameters, so it can't be a namespace (until C++ adds generic namespaces).
- /\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/
- ],
- 'keyword': keyword,
- 'number': {
- pattern: /(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,
- greedy: true
- },
- 'operator': />>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,
- 'boolean': /\b(?:false|true)\b/
- });
-
- Prism.languages.insertBefore('cpp', 'string', {
- 'module': {
- // https://en.cppreference.com/w/cpp/language/modules
- pattern: RegExp(
- /(\b(?:import|module)\s+)/.source +
- '(?:' +
- // header-name
- /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source +
- '|' +
- // module name or partition or both
- /<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g, function () { return modName; }) +
- ')'
- ),
- lookbehind: true,
- greedy: true,
- inside: {
- 'string': /^[<"][\s\S]+/,
- 'operator': /:/,
- 'punctuation': /\./
- }
- },
- 'raw-string': {
- pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,
- alias: 'string',
- greedy: true
- }
- });
-
- Prism.languages.insertBefore('cpp', 'keyword', {
- 'generic-function': {
- pattern: /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,
- inside: {
- 'function': /^\w+/,
- 'generic': {
- pattern: /<[\s\S]+/,
- alias: 'class-name',
- inside: Prism.languages.cpp
- }
- }
- }
- });
-
- Prism.languages.insertBefore('cpp', 'operator', {
- 'double-colon': {
- pattern: /::/,
- alias: 'punctuation'
- }
- });
-
- Prism.languages.insertBefore('cpp', 'class-name', {
- // the base clause is an optional list of parent classes
- // https://en.cppreference.com/w/cpp/language/class
- 'base-clause': {
- pattern: /(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,
- lookbehind: true,
- greedy: true,
- inside: Prism.languages.extend('cpp', {})
- }
- });
-
- Prism.languages.insertBefore('inside', 'double-colon', {
- // All untokenized words that are not namespaces should be class names
- 'class-name': /\b[a-z_]\w*\b(?!\s*::)/i
- }, Prism.languages.cpp['base-clause']);
-
-}(Prism));
-
-Prism.languages.arduino = Prism.languages.extend('cpp', {
- 'keyword': /\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,
- 'constant': /\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,
- 'builtin': /\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/
-});
-
-Prism.languages.ino = Prism.languages.arduino;
-
-Prism.languages.arff = {
- 'comment': /%.*/,
- 'string': {
- pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
- 'keyword': /@(?:attribute|data|end|relation)\b/i,
- 'number': /\b\d+(?:\.\d+)?\b/,
- 'punctuation': /[{},]/
-};
-
-Prism.languages.armasm = {
- 'comment': {
- pattern: /;.*/,
- greedy: true
- },
- 'string': {
- pattern: /"(?:[^"\r\n]|"")*"/,
- greedy: true,
- inside: {
- 'variable': {
- pattern: /((?:^|[^$])(?:\${2})*)\$\w+/,
- lookbehind: true
- }
- }
- },
- 'char': {
- pattern: /'(?:[^'\r\n]{0,4}|'')'/,
- greedy: true
- },
- 'version-symbol': {
- pattern: /\|[\w@]+\|/,
- greedy: true,
- alias: 'property'
- },
-
- 'boolean': /\b(?:FALSE|TRUE)\b/,
- 'directive': {
- pattern: /\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,
- alias: 'property'
- },
- 'instruction': {
- pattern: /((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,
- lookbehind: true,
- alias: 'keyword'
- },
- 'variable': /\$\w+/,
-
- 'number': /(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,
-
- 'register': {
- pattern: /\b(?:r\d|lr)\b/,
- alias: 'symbol'
- },
-
- 'operator': /<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,
- 'punctuation': /[()[\],]/
-};
-
-Prism.languages['arm-asm'] = Prism.languages.armasm;
-
-(function (Prism) {
- /**
- * @param {string} lang
- * @param {string} pattern
- */
- var createLanguageString = function (lang, pattern) {
- return {
- pattern: RegExp(/\{!/.source + '(?:' + (pattern || lang) + ')' + /$[\s\S]*\}/.source, 'm'),
- greedy: true,
- inside: {
- 'embedded': {
- pattern: /(^\{!\w+\b)[\s\S]+(?=\}$)/,
- lookbehind: true,
- alias: 'language-' + lang,
- inside: Prism.languages[lang]
- },
- 'string': /[\s\S]+/
- }
- };
- };
-
- Prism.languages.arturo = {
- 'comment': {
- pattern: /;.*/,
- greedy: true
- },
-
- 'character': {
- pattern: /`.`/,
- alias: 'char',
- greedy: true
- },
-
- 'number': {
- pattern: /\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/,
- },
-
- 'string': {
- pattern: /"(?:[^"\\\r\n]|\\.)*"/,
- greedy: true
- },
-
- 'regex': {
- pattern: /\{\/.*?\/\}/,
- greedy: true
- },
-
- 'html-string': createLanguageString('html'),
- 'css-string': createLanguageString('css'),
- 'js-string': createLanguageString('js'),
- 'md-string': createLanguageString('md'),
- 'sql-string': createLanguageString('sql'),
- 'sh-string': createLanguageString('shell', 'sh'),
-
- 'multistring': {
- pattern: /».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,
- alias: 'string',
- greedy: true
- },
-
- 'label': {
- pattern: /\w+\b\??:/,
- alias: 'property'
- },
-
- 'literal': {
- pattern: /'(?:\w+\b\??:?)/,
- alias: 'constant'
- },
-
- 'type': {
- pattern: /:(?:\w+\b\??:?)/,
- alias: 'class-name'
- },
-
- 'color': /#\w+/,
-
- 'predicate': {
- pattern: /\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,
- alias: 'keyword'
- },
-
- 'builtin-function': {
- pattern: /\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,
- alias: 'keyword'
- },
-
- 'sugar': {
- pattern: /->|=>|\||::/,
- alias: 'operator'
- },
-
- 'punctuation': /[()[\],]/,
-
- 'symbol': {
- pattern: /<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/
- },
-
- 'boolean': {
- pattern: /\b(?:false|maybe|true)\b/
- }
- };
-
- Prism.languages.art = Prism.languages['arturo'];
-}(Prism));
-
-(function (Prism) {
-
- var attributes = {
- pattern: /(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,
- lookbehind: true,
- inside: {
- 'quoted': {
- pattern: /([$`])(?:(?!\1)[^\\]|\\.)*\1/,
- inside: {
- 'punctuation': /^[$`]|[$`]$/
- }
- },
- 'interpreted': {
- pattern: /'(?:[^'\\]|\\.)*'/,
- inside: {
- 'punctuation': /^'|'$/
- // See rest below
- }
- },
- 'string': /"(?:[^"\\]|\\.)*"/,
- 'variable': /\w+(?==)/,
- 'punctuation': /^\[|\]$|,/,
- 'operator': /=/,
- // The negative look-ahead prevents blank matches
- 'attr-value': /(?!^\s+$).+/
- }
- };
-
- var asciidoc = Prism.languages.asciidoc = {
- 'comment-block': {
- pattern: /^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,
- alias: 'comment'
- },
- 'table': {
- pattern: /^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,
- inside: {
- 'specifiers': {
- pattern: /(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,
- alias: 'attr-value'
- },
- 'punctuation': {
- pattern: /(^|[^\\])[|!]=*/,
- lookbehind: true
- }
- // See rest below
- }
- },
-
- 'passthrough-block': {
- pattern: /^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
- inside: {
- 'punctuation': /^\++|\++$/
- // See rest below
- }
- },
- // Literal blocks and listing blocks
- 'literal-block': {
- pattern: /^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
- inside: {
- 'punctuation': /^(?:-+|\.+)|(?:-+|\.+)$/
- // See rest below
- }
- },
- // Sidebar blocks, quote blocks, example blocks and open blocks
- 'other-block': {
- pattern: /^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
- inside: {
- 'punctuation': /^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/
- // See rest below
- }
- },
-
- // list-punctuation and list-label must appear before indented-block
- 'list-punctuation': {
- pattern: /(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,
- lookbehind: true,
- alias: 'punctuation'
- },
- 'list-label': {
- pattern: /(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,
- lookbehind: true,
- alias: 'symbol'
- },
- 'indented-block': {
- pattern: /((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,
- lookbehind: true
- },
-
- 'comment': /^\/\/.*/m,
- 'title': {
- pattern: /^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,
- alias: 'important',
- inside: {
- 'punctuation': /^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/
- // See rest below
- }
- },
- 'attribute-entry': {
- pattern: /^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,
- alias: 'tag'
- },
- 'attributes': attributes,
- 'hr': {
- pattern: /^'{3,}$/m,
- alias: 'punctuation'
- },
- 'page-break': {
- pattern: /^<{3,}$/m,
- alias: 'punctuation'
- },
- 'admonition': {
- pattern: /^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,
- alias: 'keyword'
- },
- 'callout': [
- {
- pattern: /(^[ \t]*)<?\d*>/m,
- lookbehind: true,
- alias: 'symbol'
- },
- {
- pattern: /<\d+>/,
- alias: 'symbol'
- }
- ],
- 'macro': {
- pattern: /\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,
- inside: {
- 'function': /^[a-z\d-]+(?=:)/,
- 'punctuation': /^::?/,
- 'attributes': {
- pattern: /(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,
- inside: attributes.inside
- }
- }
- },
- 'inline': {
- /*
- The initial look-behind prevents the highlighting of escaped quoted text.
-
- Quoted text can be multi-line but cannot span an empty line.
- All quoted text can have attributes before [foobar, 'foobar', baz="bar"].
-
- First, we handle the constrained quotes.
- Those must be bounded by non-word chars and cannot have spaces between the delimiter and the first char.
- They are, in order: _emphasis_, ``double quotes'', `single quotes', `monospace`, 'emphasis', *strong*, +monospace+ and #unquoted#
-
- Then we handle the unconstrained quotes.
- Those do not have the restrictions of the constrained quotes.
- They are, in order: __emphasis__, **strong**, ++monospace++, +++passthrough+++, ##unquoted##, $$passthrough$$, ~subscript~, ^superscript^, {attribute-reference}, [[anchor]], [[[bibliography anchor]]], <<xref>>, (((indexes))) and ((indexes))
- */
- pattern: /(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,
- lookbehind: true,
- inside: {
- 'attributes': attributes,
- 'url': {
- pattern: /^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,
- inside: {
- 'punctuation': /^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/
- }
- },
- 'attribute-ref': {
- pattern: /^\{.+\}$/,
- inside: {
- 'variable': {
- pattern: /(^\{)[a-z\d,+_-]+/,
- lookbehind: true
- },
- 'operator': /^[=?!#%@$]|!(?=[:}])/,
- 'punctuation': /^\{|\}$|::?/
- }
- },
- 'italic': {
- pattern: /^(['_])[\s\S]+\1$/,
- inside: {
- 'punctuation': /^(?:''?|__?)|(?:''?|__?)$/
- }
- },
- 'bold': {
- pattern: /^\*[\s\S]+\*$/,
- inside: {
- punctuation: /^\*\*?|\*\*?$/
- }
- },
- 'punctuation': /^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/
- }
- },
- 'replacement': {
- pattern: /\((?:C|R|TM)\)/,
- alias: 'builtin'
- },
- 'entity': /&#?[\da-z]{1,8};/i,
- 'line-continuation': {
- pattern: /(^| )\+$/m,
- lookbehind: true,
- alias: 'punctuation'
- }
- };
-
-
- // Allow some nesting. There is no recursion though, so cloning should not be needed.
-
- function copyFromAsciiDoc(keys) {
- keys = keys.split(' ');
-
- var o = {};
- for (var i = 0, l = keys.length; i < l; i++) {
- o[keys[i]] = asciidoc[keys[i]];
- }
- return o;
- }
-
- attributes.inside['interpreted'].inside.rest = copyFromAsciiDoc('macro inline replacement entity');
-
- asciidoc['passthrough-block'].inside.rest = copyFromAsciiDoc('macro');
-
- asciidoc['literal-block'].inside.rest = copyFromAsciiDoc('callout');
-
- asciidoc['table'].inside.rest = copyFromAsciiDoc('comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation');
-
- asciidoc['other-block'].inside.rest = copyFromAsciiDoc('table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation');
-
- asciidoc['title'].inside.rest = copyFromAsciiDoc('macro inline replacement entity');
-
-
- // Plugin to make entity title show the real entity, idea by Roman Komarov
- Prism.hooks.add('wrap', function (env) {
- if (env.type === 'entity') {
- env.attributes['title'] = env.content.replace(/&/, '&');
- }
- });
-
- Prism.languages.adoc = Prism.languages.asciidoc;
-}(Prism));
-
-(function (Prism) {
-
- /**
- * Replaces all placeholders "<<n>>" of given pattern with the n-th replacement (zero based).
- *
- * Note: This is a simple text based replacement. Be careful when using backreferences!
- *
- * @param {string} pattern the given pattern.
- * @param {string[]} replacements a list of replacement which can be inserted into the given pattern.
- * @returns {string} the pattern with all placeholders replaced with their corresponding replacements.
- * @example replace(/a<<0>>a/.source, [/b+/.source]) === /a(?:b+)a/.source
- */
- function replace(pattern, replacements) {
- return pattern.replace(/<<(\d+)>>/g, function (m, index) {
- return '(?:' + replacements[+index] + ')';
- });
- }
- /**
- * @param {string} pattern
- * @param {string[]} replacements
- * @param {string} [flags]
- * @returns {RegExp}
- */
- function re(pattern, replacements, flags) {
- return RegExp(replace(pattern, replacements), flags || '');
- }
-
- /**
- * Creates a nested pattern where all occurrences of the string `<<self>>` are replaced with the pattern itself.
- *
- * @param {string} pattern
- * @param {number} depthLog2
- * @returns {string}
- */
- function nested(pattern, depthLog2) {
- for (var i = 0; i < depthLog2; i++) {
- pattern = pattern.replace(/<<self>>/g, function () { return '(?:' + pattern + ')'; });
- }
- return pattern.replace(/<<self>>/g, '[^\\s\\S]');
- }
-
- // https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/
- var keywordKinds = {
- // keywords which represent a return or variable type
- type: 'bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void',
- // keywords which are used to declare a type
- typeDeclaration: 'class enum interface record struct',
- // contextual keywords
- // ("var" and "dynamic" are missing because they are used like types)
- contextual: 'add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)',
- // all other keywords
- other: 'abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield'
- };
-
- // keywords
- function keywordsToPattern(words) {
- return '\\b(?:' + words.trim().replace(/ /g, '|') + ')\\b';
- }
- var typeDeclarationKeywords = keywordsToPattern(keywordKinds.typeDeclaration);
- var keywords = RegExp(keywordsToPattern(keywordKinds.type + ' ' + keywordKinds.typeDeclaration + ' ' + keywordKinds.contextual + ' ' + keywordKinds.other));
- var nonTypeKeywords = keywordsToPattern(keywordKinds.typeDeclaration + ' ' + keywordKinds.contextual + ' ' + keywordKinds.other);
- var nonContextualKeywords = keywordsToPattern(keywordKinds.type + ' ' + keywordKinds.typeDeclaration + ' ' + keywordKinds.other);
-
- // types
- var generic = nested(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source, 2); // the idea behind the other forbidden characters is to prevent false positives. Same for tupleElement.
- var nestedRound = nested(/\((?:[^()]|<<self>>)*\)/.source, 2);
- var name = /@?\b[A-Za-z_]\w*\b/.source;
- var genericName = replace(/<<0>>(?:\s*<<1>>)?/.source, [name, generic]);
- var identifier = replace(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source, [nonTypeKeywords, genericName]);
- var array = /\[\s*(?:,\s*)*\]/.source;
- var typeExpressionWithoutTuple = replace(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source, [identifier, array]);
- var tupleElement = replace(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source, [generic, nestedRound, array]);
- var tuple = replace(/\(<<0>>+(?:,<<0>>+)+\)/.source, [tupleElement]);
- var typeExpression = replace(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source, [tuple, identifier, array]);
-
- var typeInside = {
- 'keyword': keywords,
- 'punctuation': /[<>()?,.:[\]]/
- };
-
- // strings & characters
- // https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure#character-literals
- // https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure#string-literals
- var character = /'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source; // simplified pattern
- var regularString = /"(?:\\.|[^\\"\r\n])*"/.source;
- var verbatimString = /@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;
-
-
- Prism.languages.csharp = Prism.languages.extend('clike', {
- 'string': [
- {
- pattern: re(/(^|[^$\\])<<0>>/.source, [verbatimString]),
- lookbehind: true,
- greedy: true
- },
- {
- pattern: re(/(^|[^@$\\])<<0>>/.source, [regularString]),
- lookbehind: true,
- greedy: true
- }
- ],
- 'class-name': [
- {
- // Using static
- // using static System.Math;
- pattern: re(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source, [identifier]),
- lookbehind: true,
- inside: typeInside
- },
- {
- // Using alias (type)
- // using Project = PC.MyCompany.Project;
- pattern: re(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source, [name, typeExpression]),
- lookbehind: true,
- inside: typeInside
- },
- {
- // Using alias (alias)
- // using Project = PC.MyCompany.Project;
- pattern: re(/(\busing\s+)<<0>>(?=\s*=)/.source, [name]),
- lookbehind: true
- },
- {
- // Type declarations
- // class Foo<A, B>
- // interface Foo<out A, B>
- pattern: re(/(\b<<0>>\s+)<<1>>/.source, [typeDeclarationKeywords, genericName]),
- lookbehind: true,
- inside: typeInside
- },
- {
- // Single catch exception declaration
- // catch(Foo)
- // (things like catch(Foo e) is covered by variable declaration)
- pattern: re(/(\bcatch\s*\(\s*)<<0>>/.source, [identifier]),
- lookbehind: true,
- inside: typeInside
- },
- {
- // Name of the type parameter of generic constraints
- // where Foo : class
- pattern: re(/(\bwhere\s+)<<0>>/.source, [name]),
- lookbehind: true
- },
- {
- // Casts and checks via as and is.
- // as Foo<A>, is Bar<B>
- // (things like if(a is Foo b) is covered by variable declaration)
- pattern: re(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source, [typeExpressionWithoutTuple]),
- lookbehind: true,
- inside: typeInside
- },
- {
- // Variable, field and parameter declaration
- // (Foo bar, Bar baz, Foo[,,] bay, Foo<Bar, FooBar<Bar>> bax)
- pattern: re(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source, [typeExpression, nonContextualKeywords, name]),
- inside: typeInside
- }
- ],
- 'keyword': keywords,
- // https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure#literals
- 'number': /(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,
- 'operator': />>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,
- 'punctuation': /\?\.?|::|[{}[\];(),.:]/
- });
-
- Prism.languages.insertBefore('csharp', 'number', {
- 'range': {
- pattern: /\.\./,
- alias: 'operator'
- }
- });
-
- Prism.languages.insertBefore('csharp', 'punctuation', {
- 'named-parameter': {
- pattern: re(/([(,]\s*)<<0>>(?=\s*:)/.source, [name]),
- lookbehind: true,
- alias: 'punctuation'
- }
- });
-
- Prism.languages.insertBefore('csharp', 'class-name', {
- 'namespace': {
- // namespace Foo.Bar {}
- // using Foo.Bar;
- pattern: re(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source, [name]),
- lookbehind: true,
- inside: {
- 'punctuation': /\./
- }
- },
- 'type-expression': {
- // default(Foo), typeof(Foo<Bar>), sizeof(int)
- pattern: re(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source, [nestedRound]),
- lookbehind: true,
- alias: 'class-name',
- inside: typeInside
- },
- 'return-type': {
- // Foo<Bar> ForBar(); Foo IFoo.Bar() => 0
- // int this[int index] => 0; T IReadOnlyList<T>.this[int index] => this[index];
- // int Foo => 0; int Foo { get; set } = 0;
- pattern: re(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source, [typeExpression, identifier]),
- inside: typeInside,
- alias: 'class-name'
- },
- 'constructor-invocation': {
- // new List<Foo<Bar[]>> { }
- pattern: re(/(\bnew\s+)<<0>>(?=\s*[[({])/.source, [typeExpression]),
- lookbehind: true,
- inside: typeInside,
- alias: 'class-name'
- },
- /*'explicit-implementation': {
- // int IFoo<Foo>.Bar => 0; void IFoo<Foo<Foo>>.Foo<T>();
- pattern: replace(/\b<<0>>(?=\.<<1>>)/, className, methodOrPropertyDeclaration),
- inside: classNameInside,
- alias: 'class-name'
- },*/
- 'generic-method': {
- // foo<Bar>()
- pattern: re(/<<0>>\s*<<1>>(?=\s*\()/.source, [name, generic]),
- inside: {
- 'function': re(/^<<0>>/.source, [name]),
- 'generic': {
- pattern: RegExp(generic),
- alias: 'class-name',
- inside: typeInside
- }
- }
- },
- 'type-list': {
- // The list of types inherited or of generic constraints
- // class Foo<F> : Bar, IList<FooBar>
- // where F : Bar, IList<int>
- pattern: re(
- /\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,
- [typeDeclarationKeywords, genericName, name, typeExpression, keywords.source, nestedRound, /\bnew\s*\(\s*\)/.source]
- ),
- lookbehind: true,
- inside: {
- 'record-arguments': {
- pattern: re(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source, [genericName, nestedRound]),
- lookbehind: true,
- greedy: true,
- inside: Prism.languages.csharp
- },
- 'keyword': keywords,
- 'class-name': {
- pattern: RegExp(typeExpression),
- greedy: true,
- inside: typeInside
- },
- 'punctuation': /[,()]/
- }
- },
- 'preprocessor': {
- pattern: /(^[\t ]*)#.*/m,
- lookbehind: true,
- alias: 'property',
- inside: {
- // highlight preprocessor directives as keywords
- 'directive': {
- pattern: /(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,
- lookbehind: true,
- alias: 'keyword'
- }
- }
- }
- });
-
- // attributes
- var regularStringOrCharacter = regularString + '|' + character;
- var regularStringCharacterOrComment = replace(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source, [regularStringOrCharacter]);
- var roundExpression = nested(replace(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [regularStringCharacterOrComment]), 2);
-
- // https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/attributes/#attribute-targets
- var attrTarget = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source;
- var attr = replace(/<<0>>(?:\s*\(<<1>>*\))?/.source, [identifier, roundExpression]);
-
- Prism.languages.insertBefore('csharp', 'class-name', {
- 'attribute': {
- // Attributes
- // [Foo], [Foo(1), Bar(2, Prop = "foo")], [return: Foo(1), Bar(2)], [assembly: Foo(Bar)]
- pattern: re(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source, [attrTarget, attr]),
- lookbehind: true,
- greedy: true,
- inside: {
- 'target': {
- pattern: re(/^<<0>>(?=\s*:)/.source, [attrTarget]),
- alias: 'keyword'
- },
- 'attribute-arguments': {
- pattern: re(/\(<<0>>*\)/.source, [roundExpression]),
- inside: Prism.languages.csharp
- },
- 'class-name': {
- pattern: RegExp(identifier),
- inside: {
- 'punctuation': /\./
- }
- },
- 'punctuation': /[:,]/
- }
- }
- });
-
-
- // string interpolation
- var formatString = /:[^}\r\n]+/.source;
- // multi line
- var mInterpolationRound = nested(replace(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [regularStringCharacterOrComment]), 2);
- var mInterpolation = replace(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [mInterpolationRound, formatString]);
- // single line
- var sInterpolationRound = nested(replace(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source, [regularStringOrCharacter]), 2);
- var sInterpolation = replace(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [sInterpolationRound, formatString]);
-
- function createInterpolationInside(interpolation, interpolationRound) {
- return {
- 'interpolation': {
- pattern: re(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [interpolation]),
- lookbehind: true,
- inside: {
- 'format-string': {
- pattern: re(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source, [interpolationRound, formatString]),
- lookbehind: true,
- inside: {
- 'punctuation': /^:/
- }
- },
- 'punctuation': /^\{|\}$/,
- 'expression': {
- pattern: /[\s\S]+/,
- alias: 'language-csharp',
- inside: Prism.languages.csharp
- }
- }
- },
- 'string': /[\s\S]+/
- };
- }
-
- Prism.languages.insertBefore('csharp', 'string', {
- 'interpolation-string': [
- {
- pattern: re(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source, [mInterpolation]),
- lookbehind: true,
- greedy: true,
- inside: createInterpolationInside(mInterpolation, mInterpolationRound),
- },
- {
- pattern: re(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source, [sInterpolation]),
- lookbehind: true,
- greedy: true,
- inside: createInterpolationInside(sInterpolation, sInterpolationRound),
- }
- ],
- 'char': {
- pattern: RegExp(character),
- greedy: true
- }
- });
-
- Prism.languages.dotnet = Prism.languages.cs = Prism.languages.csharp;
-
-}(Prism));
-
-Prism.languages.aspnet = Prism.languages.extend('markup', {
- 'page-directive': {
- pattern: /<%\s*@.*%>/,
- alias: 'tag',
- inside: {
- 'page-directive': {
- pattern: /<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,
- alias: 'tag'
- },
- rest: Prism.languages.markup.tag.inside
- }
- },
- 'directive': {
- pattern: /<%.*%>/,
- alias: 'tag',
- inside: {
- 'directive': {
- pattern: /<%\s*?[$=%#:]{0,2}|%>/,
- alias: 'tag'
- },
- rest: Prism.languages.csharp
- }
- }
-});
-// Regexp copied from prism-markup, with a negative look-ahead added
-Prism.languages.aspnet.tag.pattern = /<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/;
-
-// match directives of attribute value foo="<% Bar %>"
-Prism.languages.insertBefore('inside', 'punctuation', {
- 'directive': Prism.languages.aspnet['directive']
-}, Prism.languages.aspnet.tag.inside['attr-value']);
-
-Prism.languages.insertBefore('aspnet', 'comment', {
- 'asp-comment': {
- pattern: /<%--[\s\S]*?--%>/,
- alias: ['asp', 'comment']
- }
-});
-
-// script runat="server" contains csharp, not javascript
-Prism.languages.insertBefore('aspnet', Prism.languages.javascript ? 'script' : 'tag', {
- 'asp-script': {
- pattern: /(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,
- lookbehind: true,
- alias: ['asp', 'script'],
- inside: Prism.languages.csharp || {}
- }
-});
-
-Prism.languages.asm6502 = {
- 'comment': /;.*/,
- 'directive': {
- pattern: /\.\w+(?= )/,
- alias: 'property'
- },
- 'string': /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
- 'op-code': {
- pattern: /\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,
- alias: 'keyword'
- },
- 'hex-number': {
- pattern: /#?\$[\da-f]{1,4}\b/i,
- alias: 'number'
- },
- 'binary-number': {
- pattern: /#?%[01]+\b/,
- alias: 'number'
- },
- 'decimal-number': {
- pattern: /#?\b\d+\b/,
- alias: 'number'
- },
- 'register': {
- pattern: /\b[xya]\b/i,
- alias: 'variable'
- },
- 'punctuation': /[(),:]/
-};
-
-Prism.languages.asmatmel = {
- 'comment': {
- pattern: /;.*/,
- greedy: true
- },
- 'string': {
- pattern: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
-
- 'constant': /\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,
-
- 'directive': {
- pattern: /\.\w+(?= )/,
- alias: 'property'
- },
- 'r-register': {
- pattern: /\br(?:\d|[12]\d|3[01])\b/,
- alias: 'variable'
- },
- 'op-code': {
- pattern: /\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,
- alias: 'keyword'
- },
- 'hex-number': {
- pattern: /#?\$[\da-f]{2,4}\b/i,
- alias: 'number'
- },
- 'binary-number': {
- pattern: /#?%[01]+\b/,
- alias: 'number'
- },
- 'decimal-number': {
- pattern: /#?\b\d+\b/,
- alias: 'number'
- },
- 'register': {
- pattern: /\b[acznvshtixy]\b/i,
- alias: 'variable'
- },
- 'operator': />>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,
- 'punctuation': /[(),:]/
-};
-
-// NOTES - follows first-first highlight method, block is locked after highlight, different from SyntaxHl
-Prism.languages.autohotkey = {
- 'comment': [
- {
- pattern: /(^|\s);.*/,
- lookbehind: true
- },
- {
- pattern: /(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,
- lookbehind: true,
- greedy: true
- }
- ],
- 'tag': {
- // labels
- pattern: /^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,
- lookbehind: true
- },
- 'string': /"(?:[^"\n\r]|"")*"/,
- 'variable': /%\w+%/,
- 'number': /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
- 'operator': /\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,
- 'boolean': /\b(?:false|true)\b/,
-
- 'command': {
- pattern: /\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,
- alias: 'selector'
- },
-
- 'constant': /\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,
-
- 'builtin': /\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,
-
- 'symbol': /\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,
-
- 'directive': {
- pattern: /#[a-z]+\b/i,
- alias: 'important'
- },
-
- 'keyword': /\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,
- 'function': /[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,
- 'punctuation': /[{}[\]():,]/
-};
-
-Prism.languages.autoit = {
- 'comment': [
- /;.*/,
- {
- // The multi-line comments delimiters can actually be commented out with ";"
- pattern: /(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,
- lookbehind: true
- }
- ],
- 'url': {
- pattern: /(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,
- lookbehind: true
- },
- 'string': {
- pattern: /(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,
- greedy: true,
- inside: {
- 'variable': /([%$@])\w+\1/
- }
- },
- 'directive': {
- pattern: /(^[\t ]*)#[\w-]+/m,
- lookbehind: true,
- alias: 'keyword'
- },
- 'function': /\b\w+(?=\()/,
- // Variables and macros
- 'variable': /[$@]\w+/,
- 'keyword': /\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,
- 'number': /\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,
- 'boolean': /\b(?:False|True)\b/i,
- 'operator': /<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,
- 'punctuation': /[\[\]().,:]/
-};
-
-// http://avisynth.nl/index.php/The_full_AviSynth_grammar
-(function (Prism) {
-
- function replace(pattern, replacements) {
- return pattern.replace(/<<(\d+)>>/g, function (m, index) {
- return replacements[+index];
- });
- }
-
- function re(pattern, replacements, flags) {
- return RegExp(replace(pattern, replacements), flags || '');
- }
-
- var types = /bool|clip|float|int|string|val/.source;
- var internals = [
- // bools
- /is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,
- // control
- /apply|assert|default|eval|import|nop|select|undefined/.source,
- // global
- /opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,
- // conv
- /hex(?:value)?|value/.source,
- // numeric
- /abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,
- // trig
- /a?sinh?|a?cosh?|a?tan[2h]?/.source,
- // bit
- /(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,
- // runtime
- /average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,
- // script
- /getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,
- // string
- /chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,
- // version
- /isversionorgreater|version(?:number|string)/.source,
- // helper
- /buildpixeltype|colorspacenametopixeltype/.source,
- // avsplus
- /addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
- ].join('|');
- var properties = [
- // content
- /has(?:audio|video)/.source,
- // resolution
- /height|width/.source,
- // framerate
- /frame(?:count|rate)|framerate(?:denominator|numerator)/.source,
- // interlacing
- /getparity|is(?:field|frame)based/.source,
- // color format
- /bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,
- // audio
- /audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source
- ].join('|');
- var filters = [
- // source
- /avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,
- // color
- /coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,
- // overlay
- /(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,
- // geometry
- /addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,
- // pixel
- /blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,
- // timeline
- /trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,
- // interlace
- /assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,
- // audio
- /amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,
- // conditional
- /animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,
- // export
- /imagewriter/.source,
- // debug
- /blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source
- ].join('|');
- var allinternals = [internals, properties, filters].join('|');
-
- Prism.languages.avisynth = {
- 'comment': [
- {
- // Matches [* *] nestable block comments, but only supports 1 level of nested comments
- // /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
- pattern: /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
- lookbehind: true,
- greedy: true
- },
- {
- // Matches /* */ block comments
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
- lookbehind: true,
- greedy: true
- },
- {
- // Matches # comments
- pattern: /(^|[^\\$])#.*/,
- lookbehind: true,
- greedy: true
- }
- ],
-
- // Handle before strings because optional arguments are surrounded by double quotes
- 'argument': {
- pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
- inside: {
- 'keyword': /^\w+/
- }
- },
-
- // Optional argument assignment
- 'argument-label': {
- pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
- lookbehind: true,
- inside: {
- 'argument-name': {
- pattern: /^\w+/,
- alias: 'punctuation'
- },
- 'punctuation': /=$/
- }
- },
-
- 'string': [
- {
- // triple double-quoted
- pattern: /"""[\s\S]*?"""/,
- greedy: true,
- },
- {
- // single double-quoted
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
- greedy: true,
- inside: {
- 'constant': {
- // These *are* case-sensitive!
- pattern: /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
- }
- }
- }
- ],
-
- // The special "last" variable that takes the value of the last implicitly returned clip
- 'variable': /\b(?:last)\b/i,
-
- 'boolean': /\b(?:false|no|true|yes)\b/i,
-
- 'keyword': /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
-
- 'constant': /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
-
- // AviSynth's internal functions, filters, and properties
- 'builtin-function': {
- pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
- alias: 'function'
- },
-
- 'type-cast': {
- pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
- alias: 'keyword'
- },
-
- // External/user-defined filters
- 'function': {
- pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
- lookbehind: true
- },
-
- // Matches a \ as the first or last character on a line
- 'line-continuation': {
- pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
- lookbehind: true,
- alias: 'punctuation'
- },
-
- 'number': /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
-
- 'operator': /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
-
- 'punctuation': /[{}\[\]();,.]/
- };
-
- Prism.languages.avs = Prism.languages.avisynth;
-
-}(Prism));
-
-// GitHub: https://github.com/apache/avro
-// Docs: https://avro.apache.org/docs/current/idl.html
-
-Prism.languages['avro-idl'] = {
- 'comment': {
- pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
- greedy: true
- },
- 'string': {
- pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,
- lookbehind: true,
- greedy: true
- },
-
- 'annotation': {
- pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/,
- greedy: true,
- alias: 'function'
- },
- 'function-identifier': {
- pattern: /`[^\r\n`]+`(?=\s*\()/,
- greedy: true,
- alias: 'function'
- },
- 'identifier': {
- pattern: /`[^\r\n`]+`/,
- greedy: true
- },
-
- 'class-name': {
- pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,
- lookbehind: true,
- greedy: true
- },
- 'keyword': /\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
-
- 'number': [
- {
- pattern: /(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,
- lookbehind: true
- },
- /-?\b(?:Infinity|NaN)\b/
- ],
-
- 'operator': /=/,
- 'punctuation': /[()\[\]{}<>.:,;-]/
-};
-
-Prism.languages.avdl = Prism.languages['avro-idl'];
-
-Prism.languages.awk = {
- 'hashbang': {
- pattern: /^#!.*/,
- greedy: true,
- alias: 'comment'
- },
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
- 'string': {
- pattern: /(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,
- lookbehind: true,
- greedy: true
- },
- 'regex': {
- pattern: /((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,
- lookbehind: true,
- greedy: true
- },
-
- 'variable': /\$\w+/,
- 'keyword': /\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,
-
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
- 'number': /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,
-
- 'operator': /--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,
- 'punctuation': /[()[\]{},;]/
-};
-
-Prism.languages.gawk = Prism.languages.awk;
-
-(function (Prism) {
- // $ set | grep '^[A-Z][^[:space:]]*=' | cut -d= -f1 | tr '\n' '|'
- // + LC_ALL, RANDOM, REPLY, SECONDS.
- // + make sure PS1..4 are here as they are not always set,
- // - some useless things.
- var envVars = '\\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';
-
- var commandAfterHeredoc = {
- pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
- lookbehind: true,
- alias: 'punctuation', // this looks reasonably well in all themes
- inside: null // see below
- };
-
- var insideString = {
- 'bash': commandAfterHeredoc,
- 'environment': {
- pattern: RegExp('\\$' + envVars),
- alias: 'constant'
- },
- 'variable': [
- // [0]: Arithmetic Environment
- {
- pattern: /\$?\(\([\s\S]+?\)\)/,
- greedy: true,
- inside: {
- // If there is a $ sign at the beginning highlight $(( and )) as variable
- 'variable': [
- {
- pattern: /(^\$\(\([\s\S]+)\)\)/,
- lookbehind: true
- },
- /^\$\(\(/
- ],
- 'number': /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
- // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
- 'operator': /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
- // If there is no $ sign at the beginning highlight (( and )) as punctuation
- 'punctuation': /\(\(?|\)\)?|,|;/
- }
- },
- // [1]: Command Substitution
- {
- pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
- greedy: true,
- inside: {
- 'variable': /^\$\(|^`|\)$|`$/
- }
- },
- // [2]: Brace expansion
- {
- pattern: /\$\{[^}]+\}/,
- greedy: true,
- inside: {
- 'operator': /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
- 'punctuation': /[\[\]]/,
- 'environment': {
- pattern: RegExp('(\\{)' + envVars),
- lookbehind: true,
- alias: 'constant'
- }
- }
- },
- /\$(?:\w+|[#?*!@$])/
- ],
- // Escape sequences from echo and printf's manuals, and escaped quotes.
- '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})/
- };
-
- Prism.languages.bash = {
- 'shebang': {
- pattern: /^#!\s*\/.*/,
- alias: 'important'
- },
- 'comment': {
- pattern: /(^|[^"{\\$])#.*/,
- lookbehind: true
- },
- 'function-name': [
- // a) function foo {
- // b) foo() {
- // c) function foo() {
- // but not “foo {”
- {
- // a) and c)
- pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
- lookbehind: true,
- alias: 'function'
- },
- {
- // b)
- pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
- alias: 'function'
- }
- ],
- // Highlight variable names as variables in for and select beginnings.
- 'for-or-select': {
- pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
- alias: 'variable',
- lookbehind: true
- },
- // Highlight variable names as variables in the left-hand part
- // of assignments (“=” and “+=”).
- 'assign-left': {
- pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
- inside: {
- 'environment': {
- pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + envVars),
- lookbehind: true,
- alias: 'constant'
- }
- },
- alias: 'variable',
- lookbehind: true
- },
- 'string': [
- // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
- {
- pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
- lookbehind: true,
- greedy: true,
- inside: insideString
- },
- // Here-document with quotes around the tag
- // → No expansion (so no “inside”).
- {
- pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'bash': commandAfterHeredoc
- }
- },
- // “Normal” string
- {
- // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
- pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
- lookbehind: true,
- greedy: true,
- inside: insideString
- },
- {
- // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
- pattern: /(^|[^$\\])'[^']*'/,
- lookbehind: true,
- greedy: true
- },
- {
- // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
- pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
- greedy: true,
- inside: {
- 'entity': insideString.entity
- }
- }
- ],
- 'environment': {
- pattern: RegExp('\\$?' + envVars),
- alias: 'constant'
- },
- 'variable': insideString.variable,
- 'function': {
- pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|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|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|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: true
- },
- 'keyword': {
- pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
- lookbehind: true
- },
- // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
- '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: true,
- // Alias added to make those easier to distinguish from strings.
- alias: 'class-name'
- },
- 'boolean': {
- pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
- lookbehind: true
- },
- 'file-descriptor': {
- pattern: /\B&\d\b/,
- alias: 'important'
- },
- 'operator': {
- // Lots of redirections here, but not just that.
- pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
- inside: {
- 'file-descriptor': {
- pattern: /^\d/,
- alias: 'important'
- }
- }
- },
- 'punctuation': /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
- 'number': {
- pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
- lookbehind: true
- }
- };
-
- commandAfterHeredoc.inside = Prism.languages.bash;
-
- /* Patterns in command substitution. */
- var toBeCopied = [
- 'comment',
- 'function-name',
- 'for-or-select',
- 'assign-left',
- 'string',
- 'environment',
- 'function',
- 'keyword',
- 'builtin',
- 'boolean',
- 'file-descriptor',
- 'operator',
- 'punctuation',
- 'number'
- ];
- var inside = insideString.variable[1].inside;
- for (var i = 0; i < toBeCopied.length; i++) {
- inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
- }
-
- Prism.languages.shell = Prism.languages.bash;
-}(Prism));
-
-Prism.languages.basic = {
- 'comment': {
- pattern: /(?:!|REM\b).+/i,
- inside: {
- 'keyword': /^REM/i
- }
- },
- 'string': {
- pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
- greedy: true
- },
- 'number': /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
- 'keyword': /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
- 'function': /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
- 'operator': /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
- 'punctuation': /[,;:()]/
-};
-
-(function (Prism) {
- var variable = /%%?[~:\w]+%?|!\S+!/;
- var parameter = {
- pattern: /\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,
- alias: 'attr-name',
- inside: {
- 'punctuation': /:/
- }
- };
- var string = /"(?:[\\"]"|[^"])*"(?!")/;
- var number = /(?:\b|-)\d+\b/;
-
- Prism.languages.batch = {
- 'comment': [
- /^::.*/m,
- {
- pattern: /((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
- lookbehind: true
- }
- ],
- 'label': {
- pattern: /^:.*/m,
- alias: 'property'
- },
- 'command': [
- {
- // FOR command
- pattern: /((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,
- lookbehind: true,
- inside: {
- 'keyword': /\b(?:do|in)\b|^for\b/i,
- 'string': string,
- 'parameter': parameter,
- 'variable': variable,
- 'number': number,
- 'punctuation': /[()',]/
- }
- },
- {
- // IF command
- pattern: /((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,
- lookbehind: true,
- inside: {
- 'keyword': /\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,
- 'string': string,
- 'parameter': parameter,
- 'variable': variable,
- 'number': number,
- 'operator': /\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i
- }
- },
- {
- // ELSE command
- pattern: /((?:^|[&()])[ \t]*)else\b/im,
- lookbehind: true,
- inside: {
- 'keyword': /^else\b/i
- }
- },
- {
- // SET command
- pattern: /((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,
- lookbehind: true,
- inside: {
- 'keyword': /^set\b/i,
- 'string': string,
- 'parameter': parameter,
- 'variable': [
- variable,
- /\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/
- ],
- 'number': number,
- 'operator': /[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,
- 'punctuation': /[()',]/
- }
- },
- {
- // Other commands
- pattern: /((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,
- lookbehind: true,
- inside: {
- 'keyword': /^\w+\b/,
- 'string': string,
- 'parameter': parameter,
- 'label': {
- pattern: /(^\s*):\S+/m,
- lookbehind: true,
- alias: 'property'
- },
- 'variable': variable,
- 'number': number,
- 'operator': /\^/
- }
- }
- ],
- 'operator': /[&@]/,
- 'punctuation': /[()']/
- };
-}(Prism));
-
-Prism.languages.bbcode = {
- 'tag': {
- pattern: /\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,
- inside: {
- 'tag': {
- pattern: /^\[\/?[^\s=\]]+/,
- inside: {
- 'punctuation': /^\[\/?/
- }
- },
- 'attr-value': {
- pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,
- inside: {
- 'punctuation': [
- /^=/,
- {
- pattern: /^(\s*)["']|["']$/,
- lookbehind: true
- }
- ]
- }
- },
- 'punctuation': /\]/,
- 'attr-name': /[^\s=\]]+/
- }
- }
-};
-
-Prism.languages.shortcode = Prism.languages.bbcode;
-
-// based loosely upon: https://github.com/Azure/bicep/blob/main/src/textmate/bicep.tmlanguage
-Prism.languages.bicep = {
- 'comment': [
- {
- // multiline comments eg /* ASDF */
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
- lookbehind: true,
- greedy: true
- },
- {
- // singleline comments eg // ASDF
- pattern: /(^|[^\\:])\/\/.*/,
- lookbehind: true,
- greedy: true
- }
- ],
-
- 'property': [
- {
- pattern: /([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,
- lookbehind: true
- },
- {
- pattern: /([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'string': [
- {
- pattern: /'''[^'][\s\S]*?'''/,
- greedy: true
- },
- {
- pattern: /(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,
- lookbehind: true,
- greedy: true,
- }
- ],
- 'interpolated-string': {
- pattern: /(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /\$\{[^{}\r\n]*\}/,
- inside: {
- 'expression': {
- pattern: /(^\$\{)[\s\S]+(?=\}$)/,
- lookbehind: true
- },
- 'punctuation': /^\$\{|\}$/,
- }
- },
- 'string': /[\s\S]+/
- }
- },
-
- 'datatype': {
- pattern: /(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,
- lookbehind: true,
- alias: 'class-name'
- },
-
- 'boolean': /\b(?:false|true)\b/,
- // https://github.com/Azure/bicep/blob/114a3251b4e6e30082a58729f19a8cc4e374ffa6/src/textmate/bicep.tmlanguage#L184
- 'keyword': /\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,
-
- 'decorator': /@\w+\b/,
- 'function': /\b[a-z_]\w*(?=[ \t]*\()/i,
-
- 'number': /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
- 'operator': /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,
- 'punctuation': /[{}[\];(),.:]/,
-};
-
-Prism.languages.bicep['interpolated-string'].inside['interpolation'].inside['expression'].inside = Prism.languages.bicep;
-
-Prism.languages.birb = Prism.languages.extend('clike', {
- 'string': {
- pattern: /r?("|')(?:\\.|(?!\1)[^\\])*\1/,
- greedy: true
- },
- 'class-name': [
- /\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,
-
- // matches variable and function return types (parameters as well).
- /\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/
- ],
- 'keyword': /\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,
- 'operator': /\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,
- 'variable': /\b[a-z_]\w*\b/,
-});
-
-Prism.languages.insertBefore('birb', 'function', {
- 'metadata': {
- pattern: /<\w+>/,
- greedy: true,
- alias: 'symbol'
- }
-});
-
-Prism.languages.bison = Prism.languages.extend('c', {});
-
-Prism.languages.insertBefore('bison', 'comment', {
- 'bison': {
- // This should match all the beginning of the file
- // including the prologue(s), the bison declarations and
- // the grammar rules.
- pattern: /^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,
- inside: {
- 'c': {
- // Allow for one level of nested braces
- pattern: /%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,
- inside: {
- 'delimiter': {
- pattern: /^%?\{|%?\}$/,
- alias: 'punctuation'
- },
- 'bison-variable': {
- pattern: /[$@](?:<[^\s>]+>)?[\w$]+/,
- alias: 'variable',
- inside: {
- 'punctuation': /<|>/
- }
- },
- rest: Prism.languages.c
- }
- },
- 'comment': Prism.languages.c.comment,
- 'string': Prism.languages.c.string,
- 'property': /\S+(?=:)/,
- 'keyword': /%\w+/,
- 'number': {
- pattern: /(^|[^@])\b(?:0x[\da-f]+|\d+)/i,
- lookbehind: true
- },
- 'punctuation': /%[%?]|[|:;\[\]<>]/
- }
- }
-});
-
-Prism.languages.bnf = {
- 'string': {
- pattern: /"[^\r\n"]*"|'[^\r\n']*'/
- },
- 'definition': {
- pattern: /<[^<>\r\n\t]+>(?=\s*::=)/,
- alias: ['rule', 'keyword'],
- inside: {
- 'punctuation': /^<|>$/
- }
- },
- 'rule': {
- pattern: /<[^<>\r\n\t]+>/,
- inside: {
- 'punctuation': /^<|>$/
- }
- },
- 'operator': /::=|[|()[\]{}*+?]|\.{3}/
-};
-
-Prism.languages.rbnf = Prism.languages.bnf;
-
-Prism.languages.brainfuck = {
- 'pointer': {
- pattern: /<|>/,
- alias: 'keyword'
- },
- 'increment': {
- pattern: /\+/,
- alias: 'inserted'
- },
- 'decrement': {
- pattern: /-/,
- alias: 'deleted'
- },
- 'branching': {
- pattern: /\[|\]/,
- alias: 'important'
- },
- 'operator': /[.,]/,
- 'comment': /\S+/
-};
-
-Prism.languages.brightscript = {
- 'comment': /(?:\brem|').*/i,
- 'directive-statement': {
- pattern: /(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,
- lookbehind: true,
- alias: 'property',
- inside: {
- 'error-message': {
- pattern: /(^#error).+/,
- lookbehind: true
- },
- 'directive': {
- pattern: /^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,
- alias: 'keyword'
- },
- 'expression': {
- pattern: /[\s\S]+/,
- inside: null // see below
- }
- }
- },
- 'property': {
- pattern: /([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,
- lookbehind: true,
- greedy: true
- },
- 'string': {
- pattern: /"(?:[^"\r\n]|"")*"(?!")/,
- greedy: true
- },
- 'class-name': {
- pattern: /(\bAs[\t ]+)\w+/i,
- lookbehind: true
- },
- 'keyword': /\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,
- 'boolean': /\b(?:false|true)\b/i,
- 'function': /\b(?!\d)\w+(?=[\t ]*\()/,
- 'number': /(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,
- 'operator': /--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,
- 'punctuation': /[.,;()[\]{}]/,
- 'constant': /\b(?:LINE_NUM)\b/i
-};
-
-Prism.languages.brightscript['directive-statement'].inside.expression.inside = Prism.languages.brightscript;
-
-Prism.languages.bro = {
-
- 'comment': {
- pattern: /(^|[^\\$])#.*/,
- lookbehind: true,
- inside: {
- 'italic': /\b(?:FIXME|TODO|XXX)\b/
- }
- },
-
- 'string': {
- pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
-
- 'boolean': /\b[TF]\b/,
-
- 'function': {
- pattern: /(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,
- lookbehind: true
- },
-
- 'builtin': /(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,
-
- 'constant': {
- pattern: /(\bconst[ \t]+)\w+/i,
- lookbehind: true
- },
-
- 'keyword': /\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,
-
- 'operator': /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,
-
- 'number': /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
-
- 'punctuation': /[{}[\];(),.:]/
-};
-
-/* eslint-disable no-misleading-character-class */
-
-// 1C:Enterprise
-// https://github.com/Diversus23/
-//
-Prism.languages.bsl = {
- 'comment': /\/\/.*/,
- 'string': [
- // Строки
- // Strings
- {
- pattern: /"(?:[^"]|"")*"(?!")/,
- greedy: true
- },
- // Дата и время
- // Date & time
- {
- pattern: /'(?:[^'\r\n\\]|\\.)*'/
- }
- ],
- 'keyword': [
- {
- // RU
- pattern: /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
- lookbehind: true
- },
- {
- // EN
- pattern: /\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i
- }
- ],
- 'number': {
- pattern: /(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,
- lookbehind: true
- },
- 'operator': [
- /[<>+\-*/]=?|[%=]/,
- // RU
- {
- pattern: /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,
- lookbehind: true
- },
- // EN
- {
- pattern: /\b(?:and|not|or)\b/i
- }
- ],
- 'punctuation': /\(\.|\.\)|[()\[\]:;,.]/,
- 'directive': [
- // Теги препроцессора вида &Клиент, &Сервер, ...
- // Preprocessor tags of the type &Client, &Server, ...
- {
- pattern: /^([ \t]*)&.*/m,
- lookbehind: true,
- greedy: true,
- alias: 'important'
- },
- // Инструкции препроцессора вида:
- // #Если Сервер Тогда
- // ...
- // #КонецЕсли
- // Preprocessor instructions of the form:
- // #If Server Then
- // ...
- // #EndIf
- {
- pattern: /^([ \t]*)#.*/gm,
- lookbehind: true,
- greedy: true,
- alias: 'important'
- }
- ]
-};
-
-Prism.languages.oscript = Prism.languages['bsl'];
-
-// https://cfdocs.org/script
-Prism.languages.cfscript = Prism.languages.extend('clike', {
- 'comment': [
- {
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
- lookbehind: true,
- inside: {
- 'annotation': {
- pattern: /(?:^|[^.])@[\w\.]+/,
- alias: 'punctuation'
- }
- }
- },
- {
- pattern: /(^|[^\\:])\/\/.*/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'keyword': /\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,
- 'operator': [
- /\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,
- /\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/
- ],
- 'scope': {
- pattern: /\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,
- alias: 'global'
- },
- 'type': {
- pattern: /\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,
- alias: 'builtin'
- }
-});
-
-Prism.languages.insertBefore('cfscript', 'keyword', {
- // This must be declared before keyword because we use "function" inside the lookahead
- 'function-variable': {
- pattern: /[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
- alias: 'function'
- }
-});
-
-delete Prism.languages.cfscript['class-name'];
-Prism.languages.cfc = Prism.languages['cfscript'];
-
-Prism.languages.chaiscript = Prism.languages.extend('clike', {
- 'string': {
- pattern: /(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,
- lookbehind: true,
- greedy: true
- },
- 'class-name': [
- {
- // e.g. class Rectangle { ... }
- pattern: /(\bclass\s+)\w+/,
- lookbehind: true
- },
- {
- // e.g. attr Rectangle::height, def Rectangle::area() { ... }
- pattern: /(\b(?:attr|def)\s+)\w+(?=\s*::)/,
- lookbehind: true
- }
- ],
- 'keyword': /\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,
- 'number': [
- Prism.languages.cpp.number,
- /\b(?:Infinity|NaN)\b/
- ],
- 'operator': />>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/,
-});
-
-Prism.languages.insertBefore('chaiscript', 'operator', {
- 'parameter-type': {
- // e.g. def foo(int x, Vector y) {...}
- pattern: /([,(]\s*)\w+(?=\s+\w)/,
- lookbehind: true,
- alias: 'class-name'
- },
-});
-
-Prism.languages.insertBefore('chaiscript', 'string', {
- 'string-interpolation': {
- pattern: /(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,
- lookbehind: true,
- inside: {
- 'interpolation-expression': {
- pattern: /(^\$\{)[\s\S]+(?=\}$)/,
- lookbehind: true,
- inside: Prism.languages.chaiscript
- },
- 'interpolation-punctuation': {
- pattern: /^\$\{|\}$/,
- alias: 'punctuation'
- }
- }
- },
- 'string': /[\s\S]+/
- }
- },
-});
-
-Prism.languages.cil = {
- 'comment': /\/\/.*/,
-
- 'string': {
- pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
-
- 'directive': {
- pattern: /(^|\W)\.[a-z]+(?=\s)/,
- lookbehind: true,
- alias: 'class-name'
- },
-
- // Actually an assembly reference
- 'variable': /\[[\w\.]+\]/,
-
-
- 'keyword': /\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,
-
- 'function': /\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,
-
- 'boolean': /\b(?:false|true)\b/,
- 'number': /\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,
-
- 'punctuation': /[{}[\];(),:=]|IL_[0-9A-Za-z]+/
-};
-
-// Copied from https://github.com/jeluard/prism-clojure
-Prism.languages.clojure = {
- 'comment': {
- pattern: /;.*/,
- greedy: true
- },
- 'string': {
- pattern: /"(?:[^"\\]|\\.)*"/,
- greedy: true
- },
- 'char': /\\\w+/,
- 'symbol': {
- pattern: /(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,
- lookbehind: true
- },
- 'keyword': {
- pattern: /(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,
- lookbehind: true
- },
- 'boolean': /\b(?:false|nil|true)\b/,
- 'number': {
- pattern: /(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,
- lookbehind: true
- },
- 'function': {
- pattern: /((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,
- lookbehind: true
- },
- 'operator': /[#@^`~]/,
- 'punctuation': /[{}\[\](),]/
-};
-
-Prism.languages.cmake = {
- 'comment': /#.*/,
- 'string': {
- pattern: /"(?:[^\\"]|\\.)*"/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,
- inside: {
- 'punctuation': /\$\{|\}/,
- 'variable': /\w+/
- }
- }
- }
- },
- 'variable': /\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,
- 'property': /\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,
- 'keyword': /\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,
- 'boolean': /\b(?:FALSE|OFF|ON|TRUE)\b/,
- 'namespace': /\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,
- 'operator': /\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,
- 'inserted': {
- pattern: /\b\w+::\w+\b/,
- alias: 'class-name'
- },
- 'number': /\b\d+(?:\.\d+)*\b/,
- 'function': /\b[a-z_]\w*(?=\s*\()\b/i,
- 'punctuation': /[()>}]|\$[<{]/
-};
-
-Prism.languages.cobol = {
- 'comment': {
- pattern: /\*>.*|(^[ \t]*)\*.*/m,
- lookbehind: true,
- greedy: true
- },
- 'string': {
- pattern: /[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,
- greedy: true
- },
-
- 'level': {
- pattern: /(^[ \t]*)\d+\b/m,
- lookbehind: true,
- greedy: true,
- alias: 'number'
- },
-
- 'class-name': {
- // https://github.com/antlr/grammars-v4/blob/42edd5b687d183b5fa679e858a82297bd27141e7/cobol85/Cobol85.g4#L1015
- pattern: /(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,
- lookbehind: true,
- inside: {
- 'number': {
- pattern: /(\()\d+/,
- lookbehind: true
- },
- 'punctuation': /[()]/
- }
- },
-
- 'keyword': {
- pattern: /(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,
- lookbehind: true
- },
-
- 'boolean': {
- pattern: /(^|[^\w-])(?:false|true)(?![\w-])/i,
- lookbehind: true
- },
- 'number': {
- pattern: /(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,
- lookbehind: true
- },
- 'operator': [
- /<>|[<>]=?|[=+*/&]/,
- {
- pattern: /(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,
- lookbehind: true
- }
- ],
- 'punctuation': /[.:,()]/
-};
-
-(function (Prism) {
-
- // Ignore comments starting with { to privilege string interpolation highlighting
- var comment = /#(?!\{).+/;
- var interpolation = {
- pattern: /#\{[^}]+\}/,
- alias: 'variable'
- };
-
- Prism.languages.coffeescript = Prism.languages.extend('javascript', {
- 'comment': comment,
- 'string': [
-
- // Strings are multiline
- {
- pattern: /'(?:\\[\s\S]|[^\\'])*'/,
- greedy: true
- },
-
- {
- // Strings are multiline
- pattern: /"(?:\\[\s\S]|[^\\"])*"/,
- greedy: true,
- inside: {
- 'interpolation': interpolation
- }
- }
- ],
- 'keyword': /\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,
- 'class-member': {
- pattern: /@(?!\d)\w+/,
- alias: 'variable'
- }
- });
-
- Prism.languages.insertBefore('coffeescript', 'comment', {
- 'multiline-comment': {
- pattern: /###[\s\S]+?###/,
- alias: 'comment'
- },
-
- // Block regexp can contain comments and interpolation
- 'block-regex': {
- pattern: /\/{3}[\s\S]*?\/{3}/,
- alias: 'regex',
- inside: {
- 'comment': comment,
- 'interpolation': interpolation
- }
- }
- });
-
- Prism.languages.insertBefore('coffeescript', 'string', {
- 'inline-javascript': {
- pattern: /`(?:\\[\s\S]|[^\\`])*`/,
- inside: {
- 'delimiter': {
- pattern: /^`|`$/,
- alias: 'punctuation'
- },
- 'script': {
- pattern: /[\s\S]+/,
- alias: 'language-javascript',
- inside: Prism.languages.javascript
- }
- }
- },
-
- // Block strings
- 'multiline-string': [
- {
- pattern: /'''[\s\S]*?'''/,
- greedy: true,
- alias: 'string'
- },
- {
- pattern: /"""[\s\S]*?"""/,
- greedy: true,
- alias: 'string',
- inside: {
- interpolation: interpolation
- }
- }
- ]
-
- });
-
- Prism.languages.insertBefore('coffeescript', 'keyword', {
- // Object property
- 'property': /(?!\d)\w+(?=\s*:(?!:))/
- });
-
- delete Prism.languages.coffeescript['template-string'];
-
- Prism.languages.coffee = Prism.languages.coffeescript;
-}(Prism));
-
-Prism.languages.concurnas = {
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,
- lookbehind: true,
- greedy: true
- },
- 'langext': {
- pattern: /\b\w+\s*\|\|[\s\S]+?\|\|/,
- greedy: true,
- inside: {
- 'class-name': /^\w+/,
- 'string': {
- pattern: /(^\s*\|\|)[\s\S]+(?=\|\|$)/,
- lookbehind: true
- },
- 'punctuation': /\|\|/
- }
- },
- 'function': {
- pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,
- lookbehind: true
- },
- 'keyword': /\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'number': /\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,
- 'punctuation': /[{}[\];(),.:]/,
- 'operator': /<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,
- 'annotation': {
- pattern: /@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,
- alias: 'builtin'
- }
-};
-
-Prism.languages.insertBefore('concurnas', 'langext', {
- 'regex-literal': {
- pattern: /\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
- lookbehind: true,
- inside: Prism.languages.concurnas
- },
- 'regex': /[\s\S]+/
- }
- },
- 'string-literal': {
- pattern: /(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
- lookbehind: true,
- inside: Prism.languages.concurnas
- },
- 'string': /[\s\S]+/
- }
- }
-});
-
-Prism.languages.conc = Prism.languages.concurnas;
-
-/**
- * Original by Scott Helme.
- *
- * Reference: https://scotthelme.co.uk/csp-cheat-sheet/
- *
- * Supports the following:
- * - https://www.w3.org/TR/CSP1/
- * - https://www.w3.org/TR/CSP2/
- * - https://www.w3.org/TR/CSP3/
- */
-
-(function (Prism) {
-
- /**
- * @param {string} source
- * @returns {RegExp}
- */
- function value(source) {
- return RegExp(/([ \t])/.source + '(?:' + source + ')' + /(?=[\s;]|$)/.source, 'i');
- }
-
- Prism.languages.csp = {
- 'directive': {
- pattern: /(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,
- lookbehind: true,
- alias: 'property'
- },
- 'scheme': {
- pattern: value(/[a-z][a-z0-9.+-]*:/.source),
- lookbehind: true
- },
- 'none': {
- pattern: value(/'none'/.source),
- lookbehind: true,
- alias: 'keyword'
- },
- 'nonce': {
- pattern: value(/'nonce-[-+/\w=]+'/.source),
- lookbehind: true,
- alias: 'number'
- },
- 'hash': {
- pattern: value(/'sha(?:256|384|512)-[-+/\w=]+'/.source),
- lookbehind: true,
- alias: 'number'
- },
- 'host': {
- pattern: value(
- /[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source +
- '|' +
- /\*[^\s;,']*/.source +
- '|' +
- /[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source
- ),
- lookbehind: true,
- alias: 'url',
- inside: {
- 'important': /\*/
- }
- },
- 'keyword': [
- {
- pattern: value(/'unsafe-[a-z-]+'/.source),
- lookbehind: true,
- alias: 'unsafe'
- },
- {
- pattern: value(/'[a-z-]+'/.source),
- lookbehind: true,
- alias: 'safe'
- },
- ],
- 'punctuation': /;/
- };
-
-}(Prism));
-
-(function (Prism) {
-
- // see https://github.com/cooklang/spec/blob/main/EBNF.md
-
- var single_token_suffix = /(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source;
- var multi_token_infix = /[^{}@#]+/.source;
- var multi_token_suffix = /\{[^}#@]*\}/.source;
-
- var multi_token = multi_token_infix + multi_token_suffix;
-
- var timer_units = /(?:h|hours|hrs|m|min|minutes)/.source;
-
- var amount_group_impl = {
- pattern: /\{[^{}]*\}/,
- inside: {
- 'amount': {
- pattern: /([\{|])[^{}|*%]+/,
- lookbehind: true,
- alias: 'number',
- },
- 'unit': {
- pattern: /(%)[^}]+/,
- lookbehind: true,
- alias: 'symbol',
- },
- 'servings-scaler': {
- pattern: /\*/,
- alias: 'operator',
- },
- 'servings-alternative-separator': {
- pattern: /\|/,
- alias: 'operator',
- },
- 'unit-separator': {
- pattern: /(?:%|(\*)%)/,
- lookbehind: true,
- alias: 'operator',
- },
- 'punctuation': /[{}]/,
- }
- };
-
-
- Prism.languages.cooklang = {
- 'comment': {
- // [- comment -]
- // -- comment
- pattern: /\[-[\s\S]*?-\]|--.*/,
- greedy: true,
- },
- 'meta': { // >> key: value
- pattern: />>.*:.*/,
- inside: {
- 'property': { // key:
- pattern: /(>>\s*)[^\s:](?:[^:]*[^\s:])?/,
- lookbehind: true,
- }
- }
- },
- 'cookware-group': { // #...{...}, #...
- pattern: new RegExp('#(?:'
- + multi_token
- + '|'
- + single_token_suffix
- + ')'
- ),
- inside: {
- 'cookware': {
- pattern: new RegExp('(^#)(?:'
- + multi_token_infix
- + ')'
- ),
- lookbehind: true,
- alias: 'variable',
- },
- 'cookware-keyword': {
- pattern: /^#/,
- alias: 'keyword',
- },
- 'quantity-group': {
- pattern: new RegExp(/\{[^{}@#]*\}/),
- inside: {
- 'quantity': {
- pattern: new RegExp(/(^\{)/.source + multi_token_infix),
- lookbehind: true,
- alias: 'number',
- },
- 'punctuation': /[{}]/,
- }
- }
- },
- },
- 'ingredient-group': { // @...{...}, @...
- pattern: new RegExp('@(?:'
- + multi_token
- + '|'
- + single_token_suffix
- + ')'),
- inside: {
- 'ingredient': {
- pattern: new RegExp('(^@)(?:'
- + multi_token_infix
- + ')'),
- lookbehind: true,
- alias: 'variable',
- },
- 'ingredient-keyword': {
- pattern: /^@/,
- alias: 'keyword',
- },
- 'amount-group': amount_group_impl,
- }
- },
- 'timer-group': { // ~timer{...}
- // eslint-disable-next-line regexp/sort-alternatives
- pattern: /~(?!\s)[^@#~{}]*\{[^{}]*\}/,
- inside: {
- 'timer': {
- pattern: /(^~)[^{]+/,
- lookbehind: true,
- alias: 'variable',
- },
- 'duration-group': { // {...}
- pattern: /\{[^{}]*\}/,
- inside: {
- 'punctuation': /[{}]/,
- 'unit': {
- pattern: new RegExp(/(%\s*)/.source + timer_units + /\b/.source),
- lookbehind: true,
- alias: 'symbol',
- },
- 'operator': /%/,
- 'duration': {
- pattern: /\d+/,
- alias: 'number',
- },
- }
- },
- 'timer-keyword': {
- pattern: /^~/,
- alias: 'keyword',
- },
- }
- }
- };
-}(Prism));
-
-(function (Prism) {
-
- // https://github.com/coq/coq
-
- var commentSource = /\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source;
- for (var i = 0; i < 2; i++) {
- commentSource = commentSource.replace(/<self>/g, function () { return commentSource; });
- }
- commentSource = commentSource.replace(/<self>/g, '[]');
-
- Prism.languages.coq = {
- 'comment': RegExp(commentSource),
- 'string': {
- pattern: /"(?:[^"]|"")*"(?!")/,
- greedy: true
- },
- 'attribute': [
- {
- pattern: RegExp(
- /#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source
- .replace(/<comment>/g, function () { return commentSource; })
- ),
- greedy: true,
- alias: 'attr-name',
- inside: {
- 'comment': RegExp(commentSource),
- 'string': {
- pattern: /"(?:[^"]|"")*"(?!")/,
- greedy: true
- },
-
- 'operator': /=/,
- 'punctuation': /^#\[|\]$|[,()]/
- }
- },
- {
- pattern: /\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,
- alias: 'attr-name'
- }
- ],
-
- 'keyword': /\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,
-
- 'number': /\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,
-
- 'punct': {
- pattern: /@\{|\{\||\[=|:>/,
- alias: 'punctuation'
- },
- 'operator': /\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,
- 'punctuation': /\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/
- };
-
-}(Prism));
-
-/**
- * Original by Samuel Flores
- *
- * Adds the following new token classes:
- * constant, builtin, variable, symbol, regex
- */
-(function (Prism) {
- Prism.languages.ruby = Prism.languages.extend('clike', {
- 'comment': {
- pattern: /#.*|^=begin\s[\s\S]*?^=end/m,
- greedy: true
- },
- 'class-name': {
- pattern: /(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,
- lookbehind: true,
- inside: {
- 'punctuation': /[.\\]/
- }
- },
- 'keyword': /\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,
- 'operator': /\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,
- 'punctuation': /[(){}[\].,;]/,
- });
-
- Prism.languages.insertBefore('ruby', 'operator', {
- 'double-colon': {
- pattern: /::/,
- alias: 'punctuation'
- },
- });
-
- var interpolation = {
- pattern: /((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,
- lookbehind: true,
- inside: {
- 'content': {
- pattern: /^(#\{)[\s\S]+(?=\}$)/,
- lookbehind: true,
- inside: Prism.languages.ruby
- },
- 'delimiter': {
- pattern: /^#\{|\}$/,
- alias: 'punctuation'
- }
- }
- };
-
- delete Prism.languages.ruby.function;
-
- var percentExpression = '(?:' + [
- /([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,
- /\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,
- /\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,
- /\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,
- /<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source
- ].join('|') + ')';
-
- var symbolName = /(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;
-
- Prism.languages.insertBefore('ruby', 'keyword', {
- 'regex-literal': [
- {
- pattern: RegExp(/%r/.source + percentExpression + /[egimnosux]{0,6}/.source),
- greedy: true,
- inside: {
- 'interpolation': interpolation,
- 'regex': /[\s\S]+/
- }
- },
- {
- pattern: /(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'interpolation': interpolation,
- 'regex': /[\s\S]+/
- }
- }
- ],
- 'variable': /[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,
- 'symbol': [
- {
- pattern: RegExp(/(^|[^:]):/.source + symbolName),
- lookbehind: true,
- greedy: true
- },
- {
- pattern: RegExp(/([\r\n{(,][ \t]*)/.source + symbolName + /(?=:(?!:))/.source),
- lookbehind: true,
- greedy: true
- },
- ],
- 'method-definition': {
- pattern: /(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,
- lookbehind: true,
- inside: {
- 'function': /\b\w+$/,
- 'keyword': /^self\b/,
- 'class-name': /^\w+/,
- 'punctuation': /\./
- }
- }
- });
-
- Prism.languages.insertBefore('ruby', 'string', {
- 'string-literal': [
- {
- pattern: RegExp(/%[qQiIwWs]?/.source + percentExpression),
- greedy: true,
- inside: {
- 'interpolation': interpolation,
- 'string': /[\s\S]+/
- }
- },
- {
- pattern: /("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,
- greedy: true,
- inside: {
- 'interpolation': interpolation,
- 'string': /[\s\S]+/
- }
- },
- {
- pattern: /<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,
- alias: 'heredoc-string',
- greedy: true,
- inside: {
- 'delimiter': {
- pattern: /^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,
- inside: {
- 'symbol': /\b\w+/,
- 'punctuation': /^<<[-~]?/
- }
- },
- 'interpolation': interpolation,
- 'string': /[\s\S]+/
- }
- },
- {
- pattern: /<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,
- alias: 'heredoc-string',
- greedy: true,
- inside: {
- 'delimiter': {
- pattern: /^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,
- inside: {
- 'symbol': /\b\w+/,
- 'punctuation': /^<<[-~]?'|'$/,
- }
- },
- 'string': /[\s\S]+/
- }
- }
- ],
- 'command-literal': [
- {
- pattern: RegExp(/%x/.source + percentExpression),
- greedy: true,
- inside: {
- 'interpolation': interpolation,
- 'command': {
- pattern: /[\s\S]+/,
- alias: 'string'
- }
- }
- },
- {
- pattern: /`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,
- greedy: true,
- inside: {
- 'interpolation': interpolation,
- 'command': {
- pattern: /[\s\S]+/,
- alias: 'string'
- }
- }
- }
- ]
- });
-
- delete Prism.languages.ruby.string;
-
- Prism.languages.insertBefore('ruby', 'number', {
- 'builtin': /\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,
- 'constant': /\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/
- });
-
- Prism.languages.rb = Prism.languages.ruby;
-}(Prism));
-
-(function (Prism) {
- Prism.languages.crystal = Prism.languages.extend('ruby', {
- 'keyword': [
- /\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,
- {
- pattern: /(\.\s*)(?:is_a|responds_to)\?/,
- lookbehind: true
- }
- ],
- 'number': /\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,
- 'operator': [
- /->/,
- Prism.languages.ruby.operator,
- ],
- 'punctuation': /[(){}[\].,;\\]/,
- });
-
- Prism.languages.insertBefore('crystal', 'string-literal', {
- 'attribute': {
- pattern: /@\[.*?\]/,
- inside: {
- 'delimiter': {
- pattern: /^@\[|\]$/,
- alias: 'punctuation'
- },
- 'attribute': {
- pattern: /^(\s*)\w+/,
- lookbehind: true,
- alias: 'class-name'
- },
- 'args': {
- pattern: /\S(?:[\s\S]*\S)?/,
- inside: Prism.languages.crystal
- },
- }
- },
- 'expansion': {
- pattern: /\{(?:\{.*?\}|%.*?%)\}/,
- inside: {
- 'content': {
- pattern: /^(\{.)[\s\S]+(?=.\}$)/,
- lookbehind: true,
- inside: Prism.languages.crystal
- },
- 'delimiter': {
- pattern: /^\{[\{%]|[\}%]\}$/,
- alias: 'operator'
- }
- }
- },
- 'char': {
- pattern: /'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,
- greedy: true
- }
- });
-
-}(Prism));
-
-(function (Prism) {
-
- var string = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;
- var selectorInside;
-
- Prism.languages.css.selector = {
- pattern: Prism.languages.css.selector.pattern,
- lookbehind: true,
- inside: selectorInside = {
- 'pseudo-element': /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,
- 'pseudo-class': /:[-\w]+/,
- 'class': /\.[-\w]+/,
- 'id': /#[-\w]+/,
- 'attribute': {
- pattern: RegExp('\\[(?:[^[\\]"\']|' + string.source + ')*\\]'),
- greedy: true,
- inside: {
- 'punctuation': /^\[|\]$/,
- 'case-sensitivity': {
- pattern: /(\s)[si]$/i,
- lookbehind: true,
- alias: 'keyword'
- },
- 'namespace': {
- pattern: /^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,
- lookbehind: true,
- inside: {
- 'punctuation': /\|$/
- }
- },
- 'attr-name': {
- pattern: /^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,
- lookbehind: true
- },
- 'attr-value': [
- string,
- {
- pattern: /(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,
- lookbehind: true
- }
- ],
- 'operator': /[|~*^$]?=/
- }
- },
- 'n-th': [
- {
- pattern: /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,
- lookbehind: true,
- inside: {
- 'number': /[\dn]+/,
- 'operator': /[+-]/
- }
- },
- {
- pattern: /(\(\s*)(?:even|odd)(?=\s*\))/i,
- lookbehind: true
- }
- ],
- 'combinator': />|\+|~|\|\|/,
-
- // the `tag` token has been existed and removed.
- // because we can't find a perfect tokenize to match it.
- // if you want to add it, please read https://github.com/PrismJS/prism/pull/2373 first.
-
- 'punctuation': /[(),]/,
- }
- };
-
- Prism.languages.css['atrule'].inside['selector-function-argument'].inside = selectorInside;
-
- Prism.languages.insertBefore('css', 'property', {
- 'variable': {
- pattern: /(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,
- lookbehind: true
- }
- });
-
- var unit = {
- pattern: /(\b\d+)(?:%|[a-z]+(?![\w-]))/,
- lookbehind: true
- };
- // 123 -123 .123 -.123 12.3 -12.3
- var number = {
- pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,
- lookbehind: true
- };
-
- Prism.languages.insertBefore('css', 'function', {
- 'operator': {
- pattern: /(\s)[+\-*\/](?=\s)/,
- lookbehind: true
- },
- // CAREFUL!
- // Previewers and Inline color use hexcode and color.
- 'hexcode': {
- pattern: /\B#[\da-f]{3,8}\b/i,
- alias: 'color'
- },
- 'color': [
- {
- pattern: /(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,
- lookbehind: true
- },
- {
- pattern: /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,
- inside: {
- 'unit': unit,
- 'number': number,
- 'function': /[\w-]+(?=\()/,
- 'punctuation': /[(),]/
- }
- }
- ],
- // it's important that there is no boundary assertion after the hex digits
- 'entity': /\\[\da-f]{1,8}/i,
- 'unit': unit,
- 'number': number
- });
-
-}(Prism));
-
-// https://tools.ietf.org/html/rfc4180
-
-Prism.languages.csv = {
- 'value': /[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,
- 'punctuation': /,/
-};
-
-(function (Prism) {
-
- // https://cuelang.org/docs/references/spec/
-
- // eslint-disable-next-line regexp/strict
- var stringEscape = /\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source;
- // eslint-disable-next-line regexp/strict
- var stringTypes = /"""(?:[^\\"]|"(?!""\2)|<esc>)*"""/.source +
- // eslint-disable-next-line regexp/strict
- '|' + /'''(?:[^\\']|'(?!''\2)|<esc>)*'''/.source +
- // eslint-disable-next-line regexp/strict
- '|' + /"(?:[^\\\r\n"]|"(?!\2)|<esc>)*"/.source +
- // eslint-disable-next-line regexp/strict
- '|' + /'(?:[^\\\r\n']|'(?!\2)|<esc>)*'/.source;
- var stringLiteral = '(?:' + stringTypes.replace(/<esc>/g, stringEscape) + ')';
-
- Prism.languages.cue = {
- 'comment': {
- pattern: /\/\/.*/,
- greedy: true
- },
- 'string-literal': {
- // eslint-disable-next-line regexp/strict
- pattern: RegExp(/(^|[^#"'\\])(#*)/.source + stringLiteral + /(?!["'])\2/.source),
- lookbehind: true,
- greedy: true,
- inside: {
- // I'm using dirty hack here. We have to know the number hashes at the start of the string somehow,
- // but we can't look back. So instead, we will use a lookahead, go to the end of the string, and
- // capture the hashes at the end of the string.
- 'escape': {
- pattern: /(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,
- greedy: true,
- alias: 'string'
- },
- 'interpolation': {
- pattern: /(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,
- greedy: true,
- inside: {
- 'punctuation': /^\\#*\(|\)$/,
- 'expression': {
- pattern: /[\s\S]+/,
- inside: null
- }
- }
- },
- 'string': /[\s\S]+/
- }
- },
-
- 'keyword': {
- pattern: /(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,
- lookbehind: true
- },
- 'boolean': {
- pattern: /(^|[^\w$])(?:false|true)(?![\w$])/,
- lookbehind: true
- },
- 'builtin': {
- pattern: /(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,
- lookbehind: true
- },
-
- 'attribute': {
- pattern: /@[\w$]+(?=\s*\()/,
- alias: 'function'
- },
- 'function': {
- pattern: /(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,
- lookbehind: true
- },
-
- 'number': {
- pattern: /(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,
- lookbehind: true
- },
-
- 'operator': /\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,
- 'punctuation': /[()[\]{},.:]/
- };
-
- Prism.languages.cue['string-literal'].inside.interpolation.inside.expression.inside = Prism.languages.cue;
-
-}(Prism));
-
-Prism.languages.cypher = {
- // https://neo4j.com/docs/cypher-manual/current/syntax/comments/
- 'comment': /\/\/.*/,
- 'string': {
- pattern: /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,
- greedy: true
- },
- 'class-name': {
- pattern: /(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,
- lookbehind: true,
- greedy: true
- },
- 'relationship': {
- pattern: /(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,
- lookbehind: true,
- greedy: true,
- alias: 'property'
- },
- 'identifier': {
- pattern: /`(?:[^`\\\r\n])*`/,
- greedy: true
- },
-
- 'variable': /\$\w+/,
-
- // https://neo4j.com/docs/cypher-manual/current/syntax/reserved/
- 'keyword': /\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,
-
- 'function': /\b\w+\b(?=\s*\()/,
-
- 'boolean': /\b(?:false|null|true)\b/i,
- 'number': /\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,
- // https://neo4j.com/docs/cypher-manual/current/syntax/operators/
- 'operator': /:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,
- 'punctuation': /[()[\]{},;.]/
-};
-
-Prism.languages.d = Prism.languages.extend('clike', {
- 'comment': [
- {
- // Shebang
- pattern: /^\s*#!.+/,
- greedy: true
- },
- {
- pattern: RegExp(/(^|[^\\])/.source + '(?:' + [
- // /+ comment +/
- // Allow one level of nesting
- /\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,
- // // comment
- /\/\/.*/.source,
- // /* comment */
- /\/\*[\s\S]*?\*\//.source
- ].join('|') + ')'),
- lookbehind: true,
- greedy: true
- }
- ],
- 'string': [
- {
- pattern: RegExp([
- // r"", x""
- /\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,
-
- // q"[]", q"()", q"<>", q"{}"
- /\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,
-
- // q"IDENT
- // ...
- // IDENT"
- /\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,
-
- // q"//", q"||", etc.
- // eslint-disable-next-line regexp/strict
- /\bq"(.)[\s\S]*?\2"/.source,
-
- // eslint-disable-next-line regexp/strict
- /(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source
- ].join('|'), 'm'),
- greedy: true
- },
- {
- pattern: /\bq\{(?:\{[^{}]*\}|[^{}])*\}/,
- greedy: true,
- alias: 'token-string'
- }
- ],
-
- // In order: $, keywords and special tokens, globally defined symbols
- 'keyword': /\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,
-
- 'number': [
- // The lookbehind and the negative look-ahead try to prevent bad highlighting of the .. operator
- // Hexadecimal numbers must be handled separately to avoid problems with exponent "e"
- /\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,
- {
- pattern: /((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,
- lookbehind: true
- }
- ],
-
- 'operator': /\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/
-});
-
-Prism.languages.insertBefore('d', 'string', {
- // Characters
- // 'a', '\\', '\n', '\xFF', '\377', '\uFFFF', '\U0010FFFF', '\quot'
- 'char': /'(?:\\(?:\W|\w+)|[^\\])'/
-});
-
-Prism.languages.insertBefore('d', 'keyword', {
- 'property': /\B@\w*/
-});
-
-Prism.languages.insertBefore('d', 'function', {
- 'register': {
- // Iasm registers
- pattern: /\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,
- alias: 'variable'
- }
-});
-
-(function (Prism) {
- var keywords = [
- /\b(?:async|sync|yield)\*/,
- /\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/
- ];
-
- // Handles named imports, such as http.Client
- var packagePrefix = /(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source;
-
- // based on the dart naming conventions
- var className = {
- pattern: RegExp(packagePrefix + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),
- lookbehind: true,
- inside: {
- 'namespace': {
- pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,
- inside: {
- 'punctuation': /\./
- }
- },
- }
- };
-
- Prism.languages.dart = Prism.languages.extend('clike', {
- 'class-name': [
- className,
- {
- // variables and parameters
- // this to support class names (or generic parameters) which do not contain a lower case letter (also works for methods)
- pattern: RegExp(packagePrefix + /[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),
- lookbehind: true,
- inside: className.inside
- }
- ],
- 'keyword': keywords,
- 'operator': /\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/
- });
-
- Prism.languages.insertBefore('dart', 'string', {
- 'string-literal': {
- pattern: /r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,
- lookbehind: true,
- inside: {
- 'punctuation': /^\$\{?|\}$/,
- 'expression': {
- pattern: /[\s\S]+/,
- inside: Prism.languages.dart
- }
- }
- },
- 'string': /[\s\S]+/
- }
- },
- 'string': undefined
- });
-
- Prism.languages.insertBefore('dart', 'class-name', {
- 'metadata': {
- pattern: /@\w+/,
- alias: 'function'
- }
- });
-
- Prism.languages.insertBefore('dart', 'class-name', {
- 'generics': {
- pattern: /<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,
- inside: {
- 'class-name': className,
- 'keyword': keywords,
- 'punctuation': /[<>(),.:]/,
- 'operator': /[?&|]/
- }
- },
- });
-}(Prism));
-
-(function (Prism) {
- Prism.languages.dataweave = {
- 'url': /\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,
- 'property': {
- pattern: /(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,
- greedy: true
- },
- 'string': {
- pattern: /(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,
- greedy: true
- },
- 'mime-type': /\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,
- 'date': {
- pattern: /\|[\w:+-]+\|/,
- greedy: true
- },
- 'comment': [
- {
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
- lookbehind: true,
- greedy: true
- },
- {
- pattern: /(^|[^\\:])\/\/.*/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'regex': {
- pattern: /\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,
- greedy: true
- },
- 'keyword': /\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,
- 'function': /\b[A-Z_]\w*(?=\s*\()/i,
- 'number': /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
- 'punctuation': /[{}[\];(),.:@]/,
- 'operator': /<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,
- 'boolean': /\b(?:false|true)\b/,
- };
-
-}(Prism));
-
-Prism.languages.dax = {
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,
- lookbehind: true
- },
- 'data-field': {
- pattern: /'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,
- alias: 'symbol'
- },
- 'measure': {
- pattern: /\[[ \w\xA0-\uFFFF]+\]/,
- alias: 'constant'
- },
- 'string': {
- pattern: /"(?:[^"]|"")*"(?!")/,
- greedy: true
- },
- 'function': /\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,
- 'keyword': /\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,
- 'boolean': {
- pattern: /\b(?:FALSE|NULL|TRUE)\b/i,
- alias: 'constant'
- },
- 'number': /\b\d+(?:\.\d*)?|\B\.\d+\b/,
- 'operator': /:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,
- 'punctuation': /[;\[\](){}`,.]/
-};
-
-// ABNF grammar:
-// https://github.com/dhall-lang/dhall-lang/blob/master/standard/dhall.abnf
-
-Prism.languages.dhall = {
- // Multi-line comments can be nested. E.g. {- foo {- bar -} -}
- // The multi-line pattern is essentially this:
- // \{-(?:[^-{]|-(?!\})|\{(?!-)|<SELF>)*-\}
- 'comment': /--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,
- 'string': {
- pattern: /"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /\$\{[^{}]*\}/,
- inside: {
- 'expression': {
- pattern: /(^\$\{)[\s\S]+(?=\}$)/,
- lookbehind: true,
- alias: 'language-dhall',
- inside: null // see blow
- },
- 'punctuation': /\$\{|\}/
- }
- }
- }
- },
- 'label': {
- pattern: /`[^`]*`/,
- greedy: true
- },
- 'url': {
- // https://github.com/dhall-lang/dhall-lang/blob/5fde8ef1bead6fb4e999d3c1ffe7044cd019d63a/standard/dhall.abnf#L596
- pattern: /\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,
- greedy: true
- },
- 'env': {
- // https://github.com/dhall-lang/dhall-lang/blob/5fde8ef1bead6fb4e999d3c1ffe7044cd019d63a/standard/dhall.abnf#L661
- pattern: /\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,
- greedy: true,
- inside: {
- 'function': /^env/,
- 'operator': /^:/,
- 'variable': /[\s\S]+/
- }
- },
- 'hash': {
- // https://github.com/dhall-lang/dhall-lang/blob/5fde8ef1bead6fb4e999d3c1ffe7044cd019d63a/standard/dhall.abnf#L725
- pattern: /\bsha256:[\da-fA-F]{64}\b/,
- inside: {
- 'function': /sha256/,
- 'operator': /:/,
- 'number': /[\da-fA-F]{64}/
- }
- },
-
- // https://github.com/dhall-lang/dhall-lang/blob/5fde8ef1bead6fb4e999d3c1ffe7044cd019d63a/standard/dhall.abnf#L359
- 'keyword': /\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,
- 'builtin': /\b(?:None|Some)\b/,
-
- 'boolean': /\b(?:False|True)\b/,
- 'number': /\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,
- 'operator': /\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,
- 'punctuation': /\.\.|[{}\[\](),./]/,
-
- // we'll just assume that every capital word left is a type name
- 'class-name': /\b[A-Z]\w*\b/
-};
-
-Prism.languages.dhall.string.inside.interpolation.inside.expression.inside = Prism.languages.dhall;
-
-(function (Prism) {
-
- Prism.languages.diff = {
- 'coord': [
- // Match all kinds of coord lines (prefixed by "+++", "---" or "***").
- /^(?:\*{3}|-{3}|\+{3}).*$/m,
- // Match "@@ ... @@" coord lines in unified diff.
- /^@@.*@@$/m,
- // Match coord lines in normal diff (starts with a number).
- /^\d.*$/m
- ]
-
- // deleted, inserted, unchanged, diff
- };
-
- /**
- * A map from the name of a block to its line prefix.
- *
- * @type {Object<string, string>}
- */
- var PREFIXES = {
- 'deleted-sign': '-',
- 'deleted-arrow': '<',
- 'inserted-sign': '+',
- 'inserted-arrow': '>',
- 'unchanged': ' ',
- 'diff': '!',
- };
-
- // add a token for each prefix
- Object.keys(PREFIXES).forEach(function (name) {
- var prefix = PREFIXES[name];
-
- var alias = [];
- if (!/^\w+$/.test(name)) { // "deleted-sign" -> "deleted"
- alias.push(/\w+/.exec(name)[0]);
- }
- if (name === 'diff') {
- alias.push('bold');
- }
-
- Prism.languages.diff[name] = {
- pattern: RegExp('^(?:[' + prefix + '].*(?:\r\n?|\n|(?![\\s\\S])))+', 'm'),
- alias: alias,
- inside: {
- 'line': {
- pattern: /(.)(?=[\s\S]).*(?:\r\n?|\n)?/,
- lookbehind: true
- },
- 'prefix': {
- pattern: /[\s\S]/,
- alias: /\w+/.exec(name)[0]
- }
- }
- };
-
- });
-
- // make prefixes available to Diff plugin
- Object.defineProperty(Prism.languages.diff, 'PREFIXES', {
- value: PREFIXES
- });
-
-}(Prism));
-
-(function (Prism) {
-
- /**
- * Returns the placeholder for the given language id and index.
- *
- * @param {string} language
- * @param {string|number} index
- * @returns {string}
- */
- function getPlaceholder(language, index) {
- return '___' + language.toUpperCase() + index + '___';
- }
-
- Object.defineProperties(Prism.languages['markup-templating'] = {}, {
- buildPlaceholders: {
- /**
- * Tokenize all inline templating expressions matching `placeholderPattern`.
- *
- * If `replaceFilter` is provided, only matches of `placeholderPattern` for which `replaceFilter` returns
- * `true` will be replaced.
- *
- * @param {object} env The environment of the `before-tokenize` hook.
- * @param {string} language The language id.
- * @param {RegExp} placeholderPattern The matches of this pattern will be replaced by placeholders.
- * @param {(match: string) => boolean} [replaceFilter]
- */
- value: function (env, language, placeholderPattern, replaceFilter) {
- if (env.language !== language) {
- return;
- }
-
- var tokenStack = env.tokenStack = [];
-
- env.code = env.code.replace(placeholderPattern, function (match) {
- if (typeof replaceFilter === 'function' && !replaceFilter(match)) {
- return match;
- }
- var i = tokenStack.length;
- var placeholder;
-
- // Check for existing strings
- while (env.code.indexOf(placeholder = getPlaceholder(language, i)) !== -1) {
- ++i;
- }
-
- // Create a sparse array
- tokenStack[i] = match;
-
- return placeholder;
- });
-
- // Switch the grammar to markup
- env.grammar = Prism.languages.markup;
- }
- },
- tokenizePlaceholders: {
- /**
- * Replace placeholders with proper tokens after tokenizing.
- *
- * @param {object} env The environment of the `after-tokenize` hook.
- * @param {string} language The language id.
- */
- value: function (env, language) {
- if (env.language !== language || !env.tokenStack) {
- return;
- }
-
- // Switch the grammar back
- env.grammar = Prism.languages[language];
-
- var j = 0;
- var keys = Object.keys(env.tokenStack);
-
- function walkTokens(tokens) {
- for (var i = 0; i < tokens.length; i++) {
- // all placeholders are replaced already
- if (j >= keys.length) {
- break;
- }
-
- var token = tokens[i];
- if (typeof token === 'string' || (token.content && typeof token.content === 'string')) {
- var k = keys[j];
- var t = env.tokenStack[k];
- var s = typeof token === 'string' ? token : token.content;
- var placeholder = getPlaceholder(language, k);
-
- var index = s.indexOf(placeholder);
- if (index > -1) {
- ++j;
-
- var before = s.substring(0, index);
- var middle = new Prism.Token(language, Prism.tokenize(t, env.grammar), 'language-' + language, t);
- var after = s.substring(index + placeholder.length);
-
- var replacement = [];
- if (before) {
- replacement.push.apply(replacement, walkTokens([before]));
- }
- replacement.push(middle);
- if (after) {
- replacement.push.apply(replacement, walkTokens([after]));
- }
-
- if (typeof token === 'string') {
- tokens.splice.apply(tokens, [i, 1].concat(replacement));
- } else {
- token.content = replacement;
- }
- }
- } else if (token.content /* && typeof token.content !== 'string' */) {
- walkTokens(token.content);
- }
- }
-
- return tokens;
- }
-
- walkTokens(env.tokens);
- }
- }
- });
-
-}(Prism));
-
-// Django/Jinja2 syntax definition for Prism.js <http://prismjs.com> syntax highlighter.
-// Mostly it works OK but can paint code incorrectly on complex html/template tag combinations.
-
-(function (Prism) {
-
- Prism.languages.django = {
- 'comment': /^\{#[\s\S]*?#\}$/,
- 'tag': {
- pattern: /(^\{%[+-]?\s*)\w+/,
- lookbehind: true,
- alias: 'keyword'
- },
- 'delimiter': {
- pattern: /^\{[{%][+-]?|[+-]?[}%]\}$/,
- alias: 'punctuation'
- },
- 'string': {
- pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
- 'filter': {
- pattern: /(\|)\w+/,
- lookbehind: true,
- alias: 'function'
- },
- 'test': {
- pattern: /(\bis\s+(?:not\s+)?)(?!not\b)\w+/,
- lookbehind: true,
- alias: 'function'
- },
- 'function': /\b[a-z_]\w+(?=\s*\()/i,
- 'keyword': /\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,
- 'operator': /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
- 'number': /\b\d+(?:\.\d+)?\b/,
- 'boolean': /[Ff]alse|[Nn]one|[Tt]rue/,
- 'variable': /\b\w+\b/,
- 'punctuation': /[{}[\](),.:;]/
- };
-
-
- var pattern = /\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g;
- var markupTemplating = Prism.languages['markup-templating'];
-
- Prism.hooks.add('before-tokenize', function (env) {
- markupTemplating.buildPlaceholders(env, 'django', pattern);
- });
- Prism.hooks.add('after-tokenize', function (env) {
- markupTemplating.tokenizePlaceholders(env, 'django');
- });
-
- // Add an Jinja2 alias
- Prism.languages.jinja2 = Prism.languages.django;
- Prism.hooks.add('before-tokenize', function (env) {
- markupTemplating.buildPlaceholders(env, 'jinja2', pattern);
- });
- Prism.hooks.add('after-tokenize', function (env) {
- markupTemplating.tokenizePlaceholders(env, 'jinja2');
- });
-
-}(Prism));
-
-Prism.languages['dns-zone-file'] = {
- 'comment': /;.*/,
- 'string': {
- pattern: /"(?:\\.|[^"\\\r\n])*"/,
- greedy: true
- },
- 'variable': [
- {
- pattern: /(^\$ORIGIN[ \t]+)\S+/m,
- lookbehind: true,
- },
- {
- pattern: /(^|\s)@(?=\s|$)/,
- lookbehind: true,
- }
- ],
- 'keyword': /^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,
- 'class': {
- // https://tools.ietf.org/html/rfc1035#page-13
- pattern: /(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,
- lookbehind: true,
- alias: 'keyword'
- },
- 'type': {
- // https://en.wikipedia.org/wiki/List_of_DNS_record_types
- pattern: /(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,
- lookbehind: true,
- alias: 'keyword'
- },
- 'punctuation': /[()]/
-};
-
-Prism.languages['dns-zone'] = Prism.languages['dns-zone-file'];
-
-(function (Prism) {
-
- // Many of the following regexes will contain negated lookaheads like `[ \t]+(?![ \t])`. This is a trick to ensure
- // that quantifiers behave *atomically*. Atomic quantifiers are necessary to prevent exponential backtracking.
-
- var spaceAfterBackSlash = /\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source;
- // At least one space, comment, or line break
- var space = /(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source
- .replace(/<SP_BS>/g, function () { return spaceAfterBackSlash; });
-
- var string = /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source;
- var option = /--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g, function () { return string; });
-
- var stringRule = {
- pattern: RegExp(string),
- greedy: true
- };
- var commentRule = {
- pattern: /(^[ \t]*)#.*/m,
- lookbehind: true,
- greedy: true
- };
-
- /**
- * @param {string} source
- * @param {string} flags
- * @returns {RegExp}
- */
- function re(source, flags) {
- source = source
- .replace(/<OPT>/g, function () { return option; })
- .replace(/<SP>/g, function () { return space; });
-
- return RegExp(source, flags);
- }
-
- Prism.languages.docker = {
- 'instruction': {
- pattern: /(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,
- lookbehind: true,
- greedy: true,
- inside: {
- 'options': {
- pattern: re(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source, 'i'),
- lookbehind: true,
- greedy: true,
- inside: {
- 'property': {
- pattern: /(^|\s)--[\w-]+/,
- lookbehind: true
- },
- 'string': [
- stringRule,
- {
- pattern: /(=)(?!["'])(?:[^\s\\]|\\.)+/,
- lookbehind: true
- }
- ],
- 'operator': /\\$/m,
- 'punctuation': /=/
- }
- },
- 'keyword': [
- {
- // https://docs.docker.com/engine/reference/builder/#healthcheck
- pattern: re(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source, 'i'),
- lookbehind: true,
- greedy: true
- },
- {
- // https://docs.docker.com/engine/reference/builder/#from
- pattern: re(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source, 'i'),
- lookbehind: true,
- greedy: true
- },
- {
- // https://docs.docker.com/engine/reference/builder/#onbuild
- pattern: re(/(^ONBUILD<SP>)\w+/.source, 'i'),
- lookbehind: true,
- greedy: true
- },
- {
- pattern: /^\w+/,
- greedy: true
- }
- ],
- 'comment': commentRule,
- 'string': stringRule,
- 'variable': /\$(?:\w+|\{[^{}"'\\]*\})/,
- 'operator': /\\$/m
- }
- },
- 'comment': commentRule
- };
-
- Prism.languages.dockerfile = Prism.languages.docker;
-
-}(Prism));
-
-// https://www.graphviz.org/doc/info/lang.html
-
-(function (Prism) {
-
- var ID = '(?:' + [
- // an identifier
- /[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,
- // a number
- /-?(?:\.\d+|\d+(?:\.\d*)?)/.source,
- // a double-quoted string
- /"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,
- // HTML-like string
- /<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source
- ].join('|') + ')';
-
- var IDInside = {
- 'markup': {
- pattern: /(^<)[\s\S]+(?=>$)/,
- lookbehind: true,
- alias: ['language-markup', 'language-html', 'language-xml'],
- inside: Prism.languages.markup
- }
- };
-
- /**
- * @param {string} source
- * @param {string} flags
- * @returns {RegExp}
- */
- function withID(source, flags) {
- return RegExp(source.replace(/<ID>/g, function () { return ID; }), flags);
- }
-
- Prism.languages.dot = {
- 'comment': {
- pattern: /\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,
- greedy: true
- },
- 'graph-name': {
- pattern: withID(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source, 'i'),
- lookbehind: true,
- greedy: true,
- alias: 'class-name',
- inside: IDInside
- },
- 'attr-value': {
- pattern: withID(/(=[ \t\r\n]*)<ID>/.source),
- lookbehind: true,
- greedy: true,
- inside: IDInside
- },
- 'attr-name': {
- pattern: withID(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),
- lookbehind: true,
- greedy: true,
- inside: IDInside
- },
- 'keyword': /\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,
- 'compass-point': {
- pattern: /(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,
- lookbehind: true,
- alias: 'builtin'
- },
- 'node': {
- pattern: withID(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),
- lookbehind: true,
- greedy: true,
- inside: IDInside
- },
- 'operator': /[=:]|-[->]/,
- 'punctuation': /[\[\]{};,]/
- };
-
- Prism.languages.gv = Prism.languages.dot;
-
-}(Prism));
-
-Prism.languages.ebnf = {
- 'comment': /\(\*[\s\S]*?\*\)/,
- 'string': {
- pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
- greedy: true
- },
- 'special': {
- pattern: /\?[^?\r\n]*\?/,
- greedy: true,
- alias: 'class-name'
- },
-
- 'definition': {
- pattern: /^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,
- lookbehind: true,
- alias: ['rule', 'keyword']
- },
- 'rule': /\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,
-
- 'punctuation': /\([:/]|[:/]\)|[.,;()[\]{}]/,
- 'operator': /[-=|*/!]/
-};
-
-Prism.languages.editorconfig = {
- // https://editorconfig-specification.readthedocs.io
- 'comment': /[;#].*/,
- 'section': {
- pattern: /(^[ \t]*)\[.+\]/m,
- lookbehind: true,
- alias: 'selector',
- inside: {
- 'regex': /\\\\[\[\]{},!?.*]/, // Escape special characters with '\\'
- 'operator': /[!?]|\.\.|\*{1,2}/,
- 'punctuation': /[\[\]{},]/
- }
- },
- 'key': {
- pattern: /(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,
- lookbehind: true,
- alias: 'attr-name'
- },
- 'value': {
- pattern: /=.*/,
- alias: 'attr-value',
- inside: {
- 'punctuation': /^=/
- }
- }
-};
-
-Prism.languages.eiffel = {
- 'comment': /--.*/,
- 'string': [
- // Aligned-verbatim-strings
- {
- pattern: /"([^[]*)\[[\s\S]*?\]\1"/,
- greedy: true
- },
- // Non-aligned-verbatim-strings
- {
- pattern: /"([^{]*)\{[\s\S]*?\}\1"/,
- greedy: true
- },
- // Single-line string
- {
- pattern: /"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,
- greedy: true
- }
- ],
- // normal char | special char | char code
- 'char': /'(?:%.|[^%'\r\n])+'/,
- 'keyword': /\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,
- 'boolean': /\b(?:False|True)\b/i,
- // Convention: class-names are always all upper-case characters
- 'class-name': /\b[A-Z][\dA-Z_]*\b/,
- 'number': [
- // hexa | octal | bin
- /\b0[xcb][\da-f](?:_*[\da-f])*\b/i,
- // Decimal
- /(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i
- ],
- 'punctuation': /:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,
- 'operator': /\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/
-};
-
-(function (Prism) {
-
- Prism.languages.ejs = {
- 'delimiter': {
- pattern: /^<%[-_=]?|[-_]?%>$/,
- alias: 'punctuation'
- },
- 'comment': /^#[\s\S]*/,
- 'language-javascript': {
- pattern: /[\s\S]+/,
- inside: Prism.languages.javascript
- }
- };
-
- Prism.hooks.add('before-tokenize', function (env) {
- var ejsPattern = /<%(?!%)[\s\S]+?%>/g;
- Prism.languages['markup-templating'].buildPlaceholders(env, 'ejs', ejsPattern);
- });
-
- Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'ejs');
- });
-
- Prism.languages.eta = Prism.languages.ejs;
-
-}(Prism));
-
-Prism.languages.elixir = {
- 'doc': {
- pattern: /@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,
- inside: {
- 'attribute': /^@\w+/,
- 'string': /['"][\s\S]+/
- }
- },
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
- // ~r"""foo""" (multi-line), ~r'''foo''' (multi-line), ~r/foo/, ~r|foo|, ~r"foo", ~r'foo', ~r(foo), ~r[foo], ~r{foo}, ~r<foo>
- 'regex': {
- pattern: /~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,
- greedy: true
- },
- 'string': [
- {
- // ~s"""foo""" (multi-line), ~s'''foo''' (multi-line), ~s/foo/, ~s|foo|, ~s"foo", ~s'foo', ~s(foo), ~s[foo], ~s{foo} (with interpolation care), ~s<foo>
- pattern: /~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,
- greedy: true,
- inside: {
- // See interpolation below
- }
- },
- {
- pattern: /("""|''')[\s\S]*?\1/,
- greedy: true,
- inside: {
- // See interpolation below
- }
- },
- {
- // Multi-line strings are allowed
- pattern: /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
- greedy: true,
- inside: {
- // See interpolation below
- }
- }
- ],
- 'atom': {
- // Look-behind prevents bad highlighting of the :: operator
- pattern: /(^|[^:]):\w+/,
- lookbehind: true,
- alias: 'symbol'
- },
- 'module': {
- pattern: /\b[A-Z]\w*\b/,
- alias: 'class-name'
- },
- // Look-ahead prevents bad highlighting of the :: operator
- 'attr-name': /\b\w+\??:(?!:)/,
- 'argument': {
- // Look-behind prevents bad highlighting of the && operator
- pattern: /(^|[^&])&\d+/,
- lookbehind: true,
- alias: 'variable'
- },
- 'attribute': {
- pattern: /@\w+/,
- alias: 'variable'
- },
- 'function': /\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,
- 'number': /\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,
- 'keyword': /\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,
- 'boolean': /\b(?:false|nil|true)\b/,
- 'operator': [
- /\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,
- {
- // We don't want to match <<
- pattern: /([^<])<(?!<)/,
- lookbehind: true
- },
- {
- // We don't want to match >>
- pattern: /([^>])>(?!>)/,
- lookbehind: true
- }
- ],
- 'punctuation': /<<|>>|[.,%\[\]{}()]/
-};
-
-Prism.languages.elixir.string.forEach(function (o) {
- o.inside = {
- 'interpolation': {
- pattern: /#\{[^}]+\}/,
- inside: {
- 'delimiter': {
- pattern: /^#\{|\}$/,
- alias: 'punctuation'
- },
- rest: Prism.languages.elixir
- }
- }
- };
-});
-
-Prism.languages.elm = {
- 'comment': /--.*|\{-[\s\S]*?-\}/,
- 'char': {
- pattern: /'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,
- greedy: true
- },
- 'string': [
- {
- // Multiline strings are wrapped in triple ". Quotes may appear unescaped.
- pattern: /"""[\s\S]*?"""/,
- greedy: true
- },
- {
- pattern: /"(?:[^\\"\r\n]|\\.)*"/,
- greedy: true
- }
- ],
- 'import-statement': {
- // The imported or hidden names are not included in this import
- // statement. This is because we want to highlight those exactly like
- // we do for the names in the program.
- pattern: /(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,
- lookbehind: true,
- inside: {
- 'keyword': /\b(?:as|exposing|import)\b/
- }
- },
- 'keyword': /\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,
- // These are builtin variables only. Constructors are highlighted later as a constant.
- 'builtin': /\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,
- // decimal integers and floating point numbers | hexadecimal integers
- 'number': /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,
- // Most of this is needed because of the meaning of a single '.'.
- // If it stands alone freely, it is the function composition.
- // It may also be a separator between a module name and an identifier => no
- // operator. If it comes together with other special characters it is an
- // operator too.
- // Valid operator characters in 0.18: +-/*=.$<>:&|^?%#@~!
- // Ref: https://groups.google.com/forum/#!msg/elm-dev/0AHSnDdkSkQ/E0SVU70JEQAJ
- 'operator': /\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,
- // In Elm, nearly everything is a variable, do not highlight these.
- 'hvariable': /\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,
- 'constant': /\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,
- 'punctuation': /[{}[\]|(),.:]/
-};
-
-Prism.languages.lua = {
- 'comment': /^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,
- // \z may be used to skip the following space
- 'string': {
- pattern: /(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,
- greedy: true
- },
- 'number': /\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,
- 'keyword': /\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,
- 'function': /(?!\d)\w+(?=\s*(?:[({]))/,
- 'operator': [
- /[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,
- {
- // Match ".." but don't break "..."
- pattern: /(^|[^.])\.\.(?!\.)/,
- lookbehind: true
- }
- ],
- 'punctuation': /[\[\](){},;]|\.+|:+/
-};
-
-(function (Prism) {
-
- Prism.languages.etlua = {
- 'delimiter': {
- pattern: /^<%[-=]?|-?%>$/,
- alias: 'punctuation'
- },
- 'language-lua': {
- pattern: /[\s\S]+/,
- inside: Prism.languages.lua
- }
- };
-
- Prism.hooks.add('before-tokenize', function (env) {
- var pattern = /<%[\s\S]+?%>/g;
- Prism.languages['markup-templating'].buildPlaceholders(env, 'etlua', pattern);
- });
-
- Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'etlua');
- });
-
-}(Prism));
-
-(function (Prism) {
-
- Prism.languages.erb = {
- 'delimiter': {
- pattern: /^(\s*)<%=?|%>(?=\s*$)/,
- lookbehind: true,
- alias: 'punctuation'
- },
- 'ruby': {
- pattern: /\s*\S[\s\S]*/,
- alias: 'language-ruby',
- inside: Prism.languages.ruby
- }
- };
-
- Prism.hooks.add('before-tokenize', function (env) {
- var erbPattern = /<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;
- Prism.languages['markup-templating'].buildPlaceholders(env, 'erb', erbPattern);
- });
-
- Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'erb');
- });
-
-}(Prism));
-
-Prism.languages.erlang = {
- 'comment': /%.+/,
- 'string': {
- pattern: /"(?:\\.|[^\\"\r\n])*"/,
- greedy: true
- },
- 'quoted-function': {
- pattern: /'(?:\\.|[^\\'\r\n])+'(?=\()/,
- alias: 'function'
- },
- 'quoted-atom': {
- pattern: /'(?:\\.|[^\\'\r\n])+'/,
- alias: 'atom'
- },
- 'boolean': /\b(?:false|true)\b/,
- 'keyword': /\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,
- 'number': [
- /\$\\?./,
- /\b\d+#[a-z0-9]+/i,
- /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i
- ],
- 'function': /\b[a-z][\w@]*(?=\()/,
- 'variable': {
- // Look-behind is used to prevent wrong highlighting of atoms containing "@"
- pattern: /(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,
- lookbehind: true
- },
- 'operator': [
- /[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,
- {
- // We don't want to match <<
- pattern: /(^|[^<])<(?!<)/,
- lookbehind: true
- },
- {
- // We don't want to match >>
- pattern: /(^|[^>])>(?!>)/,
- lookbehind: true
- }
- ],
- 'atom': /\b[a-z][\w@]*/,
- 'punctuation': /[()[\]{}:;,.#|]|<<|>>/
-
-};
-
-Prism.languages['excel-formula'] = {
- 'comment': {
- pattern: /(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,
- lookbehind: true,
- greedy: true
- },
- 'string': {
- pattern: /"(?:[^"]|"")*"(?!")/,
- greedy: true
- },
- 'reference': {
- // https://www.ablebits.com/office-addins-blog/2015/12/08/excel-reference-another-sheet-workbook/
-
- // Sales!B2
- // 'Winter sales'!B2
- // [Sales.xlsx]Jan!B2:B5
- // D:\Reports\[Sales.xlsx]Jan!B2:B5
- // '[Sales.xlsx]Jan sales'!B2:B5
- // 'D:\Reports\[Sales.xlsx]Jan sales'!B2:B5
-
- pattern: /(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,
- greedy: true,
- alias: 'string',
- inside: {
- 'operator': /!$/,
- 'punctuation': /'/,
- 'sheet': {
- pattern: /[^[\]]+$/,
- alias: 'function'
- },
- 'file': {
- pattern: /\[[^[\]]+\]$/,
- inside: {
- 'punctuation': /[[\]]/
- }
- },
- 'path': /[\s\S]+/
- }
- },
- 'function-name': {
- pattern: /\b[A-Z]\w*(?=\()/i,
- alias: 'builtin'
- },
- 'range': {
- pattern: /\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,
- alias: 'selector',
- inside: {
- 'operator': /:/,
- 'cell': /\$?[A-Z]+\$?\d+/i,
- 'column': /\$?[A-Z]+/i,
- 'row': /\$?\d+/
- }
- },
- 'cell': {
- // Excel is case insensitive, so the string "foo1" could be either a variable or a cell.
- // To combat this, we match cells case insensitive, if the contain at least one "$", and case sensitive otherwise.
- pattern: /\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,
- alias: 'selector'
- },
- 'number': /(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,
- 'boolean': /\b(?:FALSE|TRUE)\b/i,
- 'operator': /[-+*/^%=&,]|<[=>]?|>=?/,
- 'punctuation': /[[\]();{}|]/
-};
-
-Prism.languages['xlsx'] = Prism.languages['xls'] = Prism.languages['excel-formula'];
-
-Prism.languages.fsharp = Prism.languages.extend('clike', {
- 'comment': [
- {
- pattern: /(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,
- lookbehind: true,
- greedy: true
- },
- {
- pattern: /(^|[^\\:])\/\/.*/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'string': {
- pattern: /(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,
- greedy: true
- },
- 'class-name': {
- pattern: /(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,
- lookbehind: true,
- inside: {
- 'operator': /->|\*/,
- 'punctuation': /\./
- }
- },
- 'keyword': /\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,
- 'number': [
- /\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,
- /\b0b[01]+(?:uy|y)?\b/,
- /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,
- /\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/
- ],
- 'operator': /([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/
-});
-Prism.languages.insertBefore('fsharp', 'keyword', {
- 'preprocessor': {
- pattern: /(^[\t ]*)#.*/m,
- lookbehind: true,
- alias: 'property',
- inside: {
- 'directive': {
- pattern: /(^#)\b(?:else|endif|if|light|line|nowarn)\b/,
- lookbehind: true,
- alias: 'keyword'
- }
- }
- }
-});
-Prism.languages.insertBefore('fsharp', 'punctuation', {
- 'computation-expression': {
- pattern: /\b[_a-z]\w*(?=\s*\{)/i,
- alias: 'keyword'
- }
-});
-Prism.languages.insertBefore('fsharp', 'string', {
- 'annotation': {
- pattern: /\[<.+?>\]/,
- greedy: true,
- inside: {
- 'punctuation': /^\[<|>\]$/,
- 'class-name': {
- pattern: /^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,
- lookbehind: true
- },
- 'annotation-content': {
- pattern: /[\s\S]+/,
- inside: Prism.languages.fsharp
- }
- }
- },
- 'char': {
- pattern: /'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,
- greedy: true
- }
-});
-
-(function (Prism) {
-
- var comment_inside = {
- 'function': /\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/
- };
- var string_inside = {
- 'number': /\\[^\s']|%\w/
- };
-
- var factor = {
- 'comment': [
- {
- // ! single-line exclamation point comments with whitespace after/around the !
- pattern: /(^|\s)(?:! .*|!$)/,
- lookbehind: true,
- inside: comment_inside
- },
-
- /* from basis/multiline: */
- {
- // /* comment */, /* comment*/
- pattern: /(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,
- lookbehind: true,
- greedy: true,
- inside: comment_inside
- },
- {
- // ![[ comment ]] , ![===[ comment]===]
- pattern: /(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,
- lookbehind: true,
- greedy: true,
- inside: comment_inside
- }
- ],
-
- 'number': [
- {
- // basic base 10 integers 9, -9
- pattern: /(^|\s)[+-]?\d+(?=\s|$)/,
- lookbehind: true
- },
- {
- // base prefix integers 0b010 0o70 0xad 0d10 0XAD -0xa9
- pattern: /(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,
- lookbehind: true
- },
- {
- // fractional ratios 1/5 -1/5 and the literal float approximations 1/5. -1/5.
- pattern: /(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,
- lookbehind: true
- },
- {
- // positive mixed numbers 23+1/5 +23+1/5
- pattern: /(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,
- lookbehind: true
- },
- {
- // negative mixed numbers -23-1/5
- pattern: /(^|\s)-\d+-\d+\/\d+(?=\s|$)/,
- lookbehind: true
- },
- {
- // basic decimal floats -0.01 0. .0 .1 -.1 -1. -12.13 +12.13
- // and scientific notation with base 10 exponents 3e4 3e-4 .3e-4
- pattern: /(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,
- lookbehind: true
- },
- {
- // NAN literal syntax NAN: 80000deadbeef, NAN: a
- pattern: /(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,
- lookbehind: true
- },
- {
- /*
- base prefix floats 0x1.0p3 (8.0) 0b1.010p2 (5.0) 0x1.p1 0b1.11111111p11111...
- "The normalized hex form ±0x1.MMMMMMMMMMMMM[pP]±EEEE allows any floating-point number to be specified precisely.
- The values of MMMMMMMMMMMMM and EEEE map directly to the mantissa and exponent fields of the binary IEEE 754 representation."
- <https://docs.factorcode.org/content/article-syntax-floats.html>
- */
- pattern: /(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,
- lookbehind: true
- }
- ],
-
- // R/ regexp?\/\\/
- 'regexp': {
- pattern: /(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,
- lookbehind: true,
- alias: 'number',
- inside: {
- 'variable': /\\\S/,
- 'keyword': /[+?*\[\]^$(){}.|]/,
- 'operator': {
- pattern: /(\/)[idmsr]+(?:-[idmsr]+)?/,
- lookbehind: true
- }
- }
- },
-
- 'boolean': {
- pattern: /(^|\s)[tf](?=\s|$)/,
- lookbehind: true
- },
-
- // SBUF" asd", URL" ://...", P" /etc/"
- 'custom-string': {
- pattern: /(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,
- lookbehind: true,
- greedy: true,
- alias: 'string',
- inside: {
- 'number': /\\\S|%\w|\//
- }
- },
-
- 'multiline-string': [
- {
- // STRING: name \n content \n ; -> CONSTANT: name "content" (symbol)
- pattern: /(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,
- lookbehind: true,
- greedy: true,
- alias: 'string',
- inside: {
- 'number': string_inside.number,
- // trailing semicolon on its own line
- 'semicolon-or-setlocal': {
- pattern: /([\r\n][ \t]*);(?=\s|$)/,
- lookbehind: true,
- alias: 'function'
- }
- }
- },
- {
- // HEREDOC: marker \n content \n marker ; -> "content" (immediate)
- pattern: /(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,
- lookbehind: true,
- greedy: true,
- alias: 'string',
- inside: string_inside
- },
- {
- // [[ string ]], [==[ string]==]
- pattern: /(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,
- lookbehind: true,
- greedy: true,
- alias: 'string',
- inside: string_inside
- }
- ],
-
- 'special-using': {
- pattern: /(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,
- lookbehind: true,
- alias: 'function',
- inside: {
- // this is essentially a regex for vocab names, which i don't want to specify
- // but the USING: gets picked up as a vocab name
- 'string': {
- pattern: /(\s)[^:\s]+/,
- lookbehind: true
- }
- }
- },
-
- /* this description of stack effect literal syntax is not complete and not as specific as theoretically possible
- trying to do better is more work and regex-computation-time than it's worth though.
- - we'd like to have the "delimiter" parts of the stack effect [ (, --, and ) ] be a different (less-important or comment-like) colour to the stack effect contents
- - we'd like if nested stack effects were treated as such rather than just appearing flat (with `inside`)
- - we'd like if the following variable name conventions were recognised specifically:
- special row variables = ..a b..
- type and stack effect annotations end with a colon = ( quot: ( a: ( -- ) -- b ) -- x ), ( x: number -- )
- word throws unconditional error = *
- any other word-like variable name = a ? q' etc
-
- https://docs.factorcode.org/content/article-effects.html
-
- these are pretty complicated to highlight properly without a real parser, and therefore out of scope
- the old pattern, which may be later useful, was: (^|\s)(?:call|execute|eval)?\((?:\s+[^"\r\n\t ]\S*)*?\s+--(?:\s+[^"\n\t ]\S*)*?\s+\)(?=\s|$)
- */
-
- // current solution is not great
- 'stack-effect-delimiter': [
- {
- // opening parenthesis
- pattern: /(^|\s)(?:call|eval|execute)?\((?=\s)/,
- lookbehind: true,
- alias: 'operator'
- },
- {
- // middle --
- pattern: /(\s)--(?=\s)/,
- lookbehind: true,
- alias: 'operator'
- },
- {
- // closing parenthesis
- pattern: /(\s)\)(?=\s|$)/,
- lookbehind: true,
- alias: 'operator'
- }
- ],
-
- 'combinators': {
- pattern: null,
- lookbehind: true,
- alias: 'keyword'
- },
-
- 'kernel-builtin': {
- pattern: null,
- lookbehind: true,
- alias: 'variable'
- },
-
- 'sequences-builtin': {
- pattern: null,
- lookbehind: true,
- alias: 'variable'
- },
-
- 'math-builtin': {
- pattern: null,
- lookbehind: true,
- alias: 'variable'
- },
-
- 'constructor-word': {
- // <array> but not <=>
- pattern: /(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,
- lookbehind: true,
- alias: 'keyword'
- },
-
- 'other-builtin-syntax': {
- pattern: null,
- lookbehind: true,
- alias: 'operator'
- },
-
- /*
- full list of supported word naming conventions: (the convention appears outside of the [brackets])
- set-[x]
- change-[x]
- with-[x]
- new-[x]
- >[string]
- [base]>
- [string]>[number]
- +[symbol]+
- [boolean-word]?
- ?[of]
- [slot-reader]>>
- >>[slot-setter]
- [slot-writer]<<
- ([implementation-detail])
- [mutater]!
- [variant]*
- [prettyprint].
- $[help-markup]
-
- <constructors>, SYNTAX:, etc are supported by their own patterns.
-
- `with` and `new` from `kernel` are their own builtins.
-
- see <https://docs.factorcode.org/content/article-conventions.html>
- */
- 'conventionally-named-word': {
- pattern: /(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,
- lookbehind: true,
- alias: 'keyword'
- },
-
- 'colon-syntax': {
- pattern: /(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,
- lookbehind: true,
- greedy: true,
- alias: 'function'
- },
-
- 'semicolon-or-setlocal': {
- pattern: /(\s)(?:;|:>)(?=\s|$)/,
- lookbehind: true,
- alias: 'function'
- },
-
- // do not highlight leading } or trailing X{ at the begin/end of the file as it's invalid syntax
- 'curly-brace-literal-delimiter': [
- {
- // opening
- pattern: /(^|\s)[a-z]*\{(?=\s)/i,
- lookbehind: true,
- alias: 'operator'
- },
- {
- // closing
- pattern: /(\s)\}(?=\s|$)/,
- lookbehind: true,
- alias: 'operator'
- },
-
- ],
-
- // do not highlight leading ] or trailing [ at the begin/end of the file as it's invalid syntax
- 'quotation-delimiter': [
- {
- // opening
- pattern: /(^|\s)\[(?=\s)/,
- lookbehind: true,
- alias: 'operator'
- },
- {
- // closing
- pattern: /(\s)\](?=\s|$)/,
- lookbehind: true,
- alias: 'operator'
- },
- ],
-
- 'normal-word': {
- pattern: /(^|\s)[^"\s]\S*(?=\s|$)/,
- lookbehind: true
- },
-
- /*
- basic first-class string "a"
- with escaped double-quote "a\""
- escaped backslash "\\"
- and general escapes since Factor has so many "\N"
-
- syntax that works in the reference implementation that isn't fully
- supported because it's an implementation detail:
- "string 1""string 2" -> 2 strings (works anyway)
- "string"5 -> string, 5
- "string"[ ] -> string, quotation
- { "a"} -> array<string>
-
- the rest of those examples all properly recognise the string, but not
- the other object (number, quotation, etc)
- this is fine for a regex-only implementation.
- */
- 'string': {
- pattern: /"(?:\\\S|[^"\\])*"/,
- greedy: true,
- inside: string_inside
- }
- };
-
- var escape = function (str) {
- return (str + '').replace(/([.?*+\^$\[\]\\(){}|\-])/g, '\\$1');
- };
-
- var arrToWordsRegExp = function (arr) {
- return new RegExp(
- '(^|\\s)(?:' + arr.map(escape).join('|') + ')(?=\\s|$)'
- );
- };
-
- var builtins = {
- 'kernel-builtin': [
- 'or', '2nipd', '4drop', 'tuck', 'wrapper', 'nip', 'wrapper?', 'callstack>array', 'die', 'dupd', 'callstack', 'callstack?', '3dup', 'hashcode', 'pick', '4nip', 'build', '>boolean', 'nipd', 'clone', '5nip', 'eq?', '?', '=', 'swapd', '2over', 'clear', '2dup', 'get-retainstack', 'not', 'tuple?', 'dup', '3nipd', 'call', '-rotd', 'object', 'drop', 'assert=', 'assert?', '-rot', 'execute', 'boa', 'get-callstack', 'curried?', '3drop', 'pickd', 'overd', 'over', 'roll', '3nip', 'swap', 'and', '2nip', 'rotd', 'throw', '(clone)', 'hashcode*', 'spin', 'reach', '4dup', 'equal?', 'get-datastack', 'assert', '2drop', '<wrapper>', 'boolean?', 'identity-hashcode', 'identity-tuple?', 'null', 'composed?', 'new', '5drop', 'rot', '-roll', 'xor', 'identity-tuple', 'boolean'
- ],
- 'other-builtin-syntax': [
- // syntax
- '=======', 'recursive', 'flushable', '>>', '<<<<<<', 'M\\', 'B', 'PRIVATE>', '\\', '======', 'final', 'inline', 'delimiter', 'deprecated', '<PRIVATE', '>>>>>>', '<<<<<<<', 'parse-complex', 'malformed-complex', 'read-only', '>>>>>>>', 'call-next-method', '<<', 'foldable',
- // literals
- '$', '$[', '${'
- ],
- 'sequences-builtin': [
- 'member-eq?', 'mismatch', 'append', 'assert-sequence=', 'longer', 'repetition', 'clone-like', '3sequence', 'assert-sequence?', 'last-index-from', 'reversed', 'index-from', 'cut*', 'pad-tail', 'join-as', 'remove-eq!', 'concat-as', 'but-last', 'snip', 'nths', 'nth', 'sequence', 'longest', 'slice?', '<slice>', 'remove-nth', 'tail-slice', 'empty?', 'tail*', 'member?', 'virtual-sequence?', 'set-length', 'drop-prefix', 'iota', 'unclip', 'bounds-error?', 'unclip-last-slice', 'non-negative-integer-expected', 'non-negative-integer-expected?', 'midpoint@', 'longer?', '?set-nth', '?first', 'rest-slice', 'prepend-as', 'prepend', 'fourth', 'sift', 'subseq-start', 'new-sequence', '?last', 'like', 'first4', '1sequence', 'reverse', 'slice', 'virtual@', 'repetition?', 'set-last', 'index', '4sequence', 'max-length', 'set-second', 'immutable-sequence', 'first2', 'first3', 'supremum', 'unclip-slice', 'suffix!', 'insert-nth', 'tail', '3append', 'short', 'suffix', 'concat', 'flip', 'immutable?', 'reverse!', '2sequence', 'sum', 'delete-all', 'indices', 'snip-slice', '<iota>', 'check-slice', 'sequence?', 'head', 'append-as', 'halves', 'sequence=', 'collapse-slice', '?second', 'slice-error?', 'product', 'bounds-check?', 'bounds-check', 'immutable', 'virtual-exemplar', 'harvest', 'remove', 'pad-head', 'last', 'set-fourth', 'cartesian-product', 'remove-eq', 'shorten', 'shorter', 'reversed?', 'shorter?', 'shortest', 'head-slice', 'pop*', 'tail-slice*', 'but-last-slice', 'iota?', 'append!', 'cut-slice', 'new-resizable', 'head-slice*', 'sequence-hashcode', 'pop', 'set-nth', '?nth', 'second', 'join', 'immutable-sequence?', '<reversed>', '3append-as', 'virtual-sequence', 'subseq?', 'remove-nth!', 'length', 'last-index', 'lengthen', 'assert-sequence', 'copy', 'move', 'third', 'first', 'tail?', 'set-first', 'prefix', 'bounds-error', '<repetition>', 'exchange', 'surround', 'cut', 'min-length', 'set-third', 'push-all', 'head?', 'subseq-start-from', 'delete-slice', 'rest', 'sum-lengths', 'head*', 'infimum', 'remove!', 'glue', 'slice-error', 'subseq', 'push', 'replace-slice', 'subseq-as', 'unclip-last'
- ],
- 'math-builtin': [
- 'number=', 'next-power-of-2', '?1+', 'fp-special?', 'imaginary-part', 'float>bits', 'number?', 'fp-infinity?', 'bignum?', 'fp-snan?', 'denominator', 'gcd', '*', '+', 'fp-bitwise=', '-', 'u>=', '/', '>=', 'bitand', 'power-of-2?', 'log2-expects-positive', 'neg?', '<', 'log2', '>', 'integer?', 'number', 'bits>double', '2/', 'zero?', 'bits>float', 'float?', 'shift', 'ratio?', 'rect>', 'even?', 'ratio', 'fp-sign', 'bitnot', '>fixnum', 'complex?', '/i', 'integer>fixnum', '/f', 'sgn', '>bignum', 'next-float', 'u<', 'u>', 'mod', 'recip', 'rational', '>float', '2^', 'integer', 'fixnum?', 'neg', 'fixnum', 'sq', 'bignum', '>rect', 'bit?', 'fp-qnan?', 'simple-gcd', 'complex', '<fp-nan>', 'real', '>fraction', 'double>bits', 'bitor', 'rem', 'fp-nan-payload', 'real-part', 'log2-expects-positive?', 'prev-float', 'align', 'unordered?', 'float', 'fp-nan?', 'abs', 'bitxor', 'integer>fixnum-strict', 'u<=', 'odd?', '<=', '/mod', '>integer', 'real?', 'rational?', 'numerator'
- ]
- // that's all for now
- };
-
- Object.keys(builtins).forEach(function (k) {
- factor[k].pattern = arrToWordsRegExp(builtins[k]);
- });
-
- var combinators = [
- // kernel
- '2bi', 'while', '2tri', 'bi*', '4dip', 'both?', 'same?', 'tri@', 'curry', 'prepose', '3bi', '?if', 'tri*', '2keep', '3keep', 'curried', '2keepd', 'when', '2bi*', '2tri*', '4keep', 'bi@', 'keepdd', 'do', 'unless*', 'tri-curry', 'if*', 'loop', 'bi-curry*', 'when*', '2bi@', '2tri@', 'with', '2with', 'either?', 'bi', 'until', '3dip', '3curry', 'tri-curry*', 'tri-curry@', 'bi-curry', 'keepd', 'compose', '2dip', 'if', '3tri', 'unless', 'tuple', 'keep', '2curry', 'tri', 'most', 'while*', 'dip', 'composed', 'bi-curry@',
- // sequences
- 'find-last-from', 'trim-head-slice', 'map-as', 'each-from', 'none?', 'trim-tail', 'partition', 'if-empty', 'accumulate*', 'reject!', 'find-from', 'accumulate-as', 'collector-for-as', 'reject', 'map', 'map-sum', 'accumulate!', '2each-from', 'follow', 'supremum-by', 'map!', 'unless-empty', 'collector', 'padding', 'reduce-index', 'replicate-as', 'infimum-by', 'trim-tail-slice', 'count', 'find-index', 'filter', 'accumulate*!', 'reject-as', 'map-integers', 'map-find', 'reduce', 'selector', 'interleave', '2map', 'filter-as', 'binary-reduce', 'map-index-as', 'find', 'produce', 'filter!', 'replicate', 'cartesian-map', 'cartesian-each', 'find-index-from', 'map-find-last', '3map-as', '3map', 'find-last', 'selector-as', '2map-as', '2map-reduce', 'accumulate', 'each', 'each-index', 'accumulate*-as', 'when-empty', 'all?', 'collector-as', 'push-either', 'new-like', 'collector-for', '2selector', 'push-if', '2all?', 'map-reduce', '3each', 'any?', 'trim-slice', '2reduce', 'change-nth', 'produce-as', '2each', 'trim', 'trim-head', 'cartesian-find', 'map-index',
- // math
- 'if-zero', 'each-integer', 'unless-zero', '(find-integer)', 'when-zero', 'find-last-integer', '(all-integers?)', 'times', '(each-integer)', 'find-integer', 'all-integers?',
- // math.combinators
- 'unless-negative', 'if-positive', 'when-positive', 'when-negative', 'unless-positive', 'if-negative',
- // combinators
- 'case', '2cleave', 'cond>quot', 'case>quot', '3cleave', 'wrong-values', 'to-fixed-point', 'alist>quot', 'cond', 'cleave', 'call-effect', 'recursive-hashcode', 'spread', 'deep-spread>quot',
- // combinators.short-circuit
- '2||', '0||', 'n||', '0&&', '2&&', '3||', '1||', '1&&', 'n&&', '3&&',
- // combinators.smart
- 'smart-unless*', 'keep-inputs', 'reduce-outputs', 'smart-when*', 'cleave>array', 'smart-with', 'smart-apply', 'smart-if', 'inputs/outputs', 'output>sequence-n', 'map-outputs', 'map-reduce-outputs', 'dropping', 'output>array', 'smart-map-reduce', 'smart-2map-reduce', 'output>array-n', 'nullary', 'input<sequence', 'append-outputs', 'drop-inputs', 'inputs', 'smart-2reduce', 'drop-outputs', 'smart-reduce', 'preserving', 'smart-when', 'outputs', 'append-outputs-as', 'smart-unless', 'smart-if*', 'sum-outputs', 'input<sequence-unsafe', 'output>sequence',
- // tafn
- ];
-
- factor.combinators.pattern = arrToWordsRegExp(combinators);
-
- Prism.languages.factor = factor;
-
-}(Prism));
-
-(function (Prism) {
- /**
- * Based on the manual by Wouter van Oortmerssen.
- *
- * @see {@link https://github.com/PrismJS/prism/issues/2801#issue-829717504}
- */
- Prism.languages['false'] = {
- 'comment': {
- pattern: /\{[^}]*\}/
- },
- 'string': {
- pattern: /"[^"]*"/,
- greedy: true
- },
- 'character-code': {
- pattern: /'(?:[^\r]|\r\n?)/,
- alias: 'number'
- },
- 'assembler-code': {
- pattern: /\d+`/,
- alias: 'important'
- },
- 'number': /\d+/,
- 'operator': /[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,
- 'punctuation': /\[|\]/,
- 'variable': /[a-z]/,
- 'non-standard': {
- pattern: /[()<BDO®]/,
- alias: 'bold'
- }
- };
-}(Prism));
-
-Prism.languages['firestore-security-rules'] = Prism.languages.extend('clike', {
- 'comment': /\/\/.*/,
- 'keyword': /\b(?:allow|function|if|match|null|return|rules_version|service)\b/,
- 'operator': /&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/,
-});
-
-delete Prism.languages['firestore-security-rules']['class-name'];
-
-Prism.languages.insertBefore('firestore-security-rules', 'keyword', {
- 'path': {
- pattern: /(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'variable': {
- pattern: /\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,
- inside: {
- 'operator': /=/,
- 'keyword': /\*\*/,
- 'punctuation': /[.$(){}]/
- }
- },
- 'punctuation': /\//
- }
- },
- 'method': {
- // to make the pattern shorter, the actual method names are omitted
- pattern: /(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,
- lookbehind: true,
- alias: 'builtin',
- inside: {
- 'punctuation': /,/
- }
- },
-});
-
-(function (Prism) {
- Prism.languages.flow = Prism.languages.extend('javascript', {});
-
- Prism.languages.insertBefore('flow', 'keyword', {
- 'type': [
- {
- pattern: /\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,
- alias: 'class-name'
- }
- ]
- });
- Prism.languages.flow['function-variable'].pattern = /(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i;
- delete Prism.languages.flow['parameter'];
-
- Prism.languages.insertBefore('flow', 'operator', {
- 'flow-punctuation': {
- pattern: /\{\||\|\}/,
- alias: 'punctuation'
- }
- });
-
- if (!Array.isArray(Prism.languages.flow.keyword)) {
- Prism.languages.flow.keyword = [Prism.languages.flow.keyword];
- }
- Prism.languages.flow.keyword.unshift(
- {
- pattern: /(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,
- lookbehind: true
- },
- {
- pattern: /(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,
- lookbehind: true
- }
- );
-}(Prism));
-
-Prism.languages.fortran = {
- 'quoted-number': {
- pattern: /[BOZ](['"])[A-F0-9]+\1/i,
- alias: 'number'
- },
- 'string': {
- pattern: /(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,
- inside: {
- 'comment': {
- pattern: /(&(?:\r\n?|\n)\s*)!.*/,
- lookbehind: true
- }
- }
- },
- 'comment': {
- pattern: /!.*/,
- greedy: true
- },
- 'boolean': /\.(?:FALSE|TRUE)\.(?:_\w+)?/i,
- 'number': /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,
- 'keyword': [
- // Types
- /\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,
- // END statements
- /\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,
- // Statements
- /\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,
- // Others
- /\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i
- ],
- 'operator': [
- /\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,
- {
- // Use lookbehind to prevent confusion with (/ /)
- pattern: /(^|(?!\().)\/(?!\))/,
- lookbehind: true
- }
- ],
- 'punctuation': /\(\/|\/\)|[(),;:&]/
-};
-
-(function (Prism) {
-
- // https://freemarker.apache.org/docs/dgui_template_exp.html
-
- // FTL expression with 4 levels of nesting supported
- var FTL_EXPR = /[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source;
- for (var i = 0; i < 2; i++) {
- FTL_EXPR = FTL_EXPR.replace(/<expr>/g, function () { return FTL_EXPR; });
- }
- FTL_EXPR = FTL_EXPR.replace(/<expr>/g, /[^\s\S]/.source);
-
- var ftl = {
- 'comment': /<#--[\s\S]*?-->/,
- 'string': [
- {
- // raw string
- pattern: /\br("|')(?:(?!\1)[^\\]|\\.)*\1/,
- greedy: true
- },
- {
- pattern: RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g, function () { return FTL_EXPR; })),
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g, function () { return FTL_EXPR; })),
- lookbehind: true,
- inside: {
- 'interpolation-punctuation': {
- pattern: /^\$\{|\}$/,
- alias: 'punctuation'
- },
- rest: null
- }
- }
- }
- }
- ],
- 'keyword': /\b(?:as)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'builtin-function': {
- pattern: /((?:^|[^?])\?\s*)\w+/,
- lookbehind: true,
- alias: 'function'
- },
- 'function': /\b\w+(?=\s*\()/,
- 'number': /\b\d+(?:\.\d+)?\b/,
- 'operator': /\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,
- 'punctuation': /[,;.:()[\]{}]/
- };
-
- ftl.string[1].inside.interpolation.inside.rest = ftl;
-
- Prism.languages.ftl = {
- 'ftl-comment': {
- // the pattern is shortened to be more efficient
- pattern: /^<#--[\s\S]*/,
- alias: 'comment'
- },
- 'ftl-directive': {
- pattern: /^<[\s\S]+>$/,
- inside: {
- 'directive': {
- pattern: /(^<\/?)[#@][a-z]\w*/i,
- lookbehind: true,
- alias: 'keyword'
- },
- 'punctuation': /^<\/?|\/?>$/,
- 'content': {
- pattern: /\s*\S[\s\S]*/,
- alias: 'ftl',
- inside: ftl
- }
- }
- },
- 'ftl-interpolation': {
- pattern: /^\$\{[\s\S]*\}$/,
- inside: {
- 'punctuation': /^\$\{|\}$/,
- 'content': {
- pattern: /\s*\S[\s\S]*/,
- alias: 'ftl',
- inside: ftl
- }
- }
- }
- };
-
- Prism.hooks.add('before-tokenize', function (env) {
- // eslint-disable-next-line regexp/no-useless-lazy
- var pattern = RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g, function () { return FTL_EXPR; }), 'gi');
- Prism.languages['markup-templating'].buildPlaceholders(env, 'ftl', pattern);
- });
-
- Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'ftl');
- });
-
-}(Prism));
-
-Prism.languages.gamemakerlanguage = Prism.languages.gml = Prism.languages.extend('clike', {
- 'keyword': /\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,
- 'number': /(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,
- 'operator': /--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,
- 'constant': /\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,
- 'variable': /\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/
-});
-
-// https://www.gap-system.org/Manuals/doc/ref/chap4.html
-// https://www.gap-system.org/Manuals/doc/ref/chap27.html
-
-Prism.languages.gap = {
- 'shell': {
- pattern: /^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,
- greedy: true,
- inside: {
- 'gap': {
- pattern: /^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,
- lookbehind: true,
- inside: null // see below
- },
- 'punctuation': /^gap>/
- }
- },
-
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
- 'string': {
- pattern: /(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'continuation': {
- pattern: /([\r\n])>/,
- lookbehind: true,
- alias: 'punctuation'
- }
- }
- },
-
- 'keyword': /\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,
- 'boolean': /\b(?:false|true)\b/,
-
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
-
- 'number': {
- pattern: /(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,
- lookbehind: true
- },
-
- 'continuation': {
- pattern: /([\r\n])>/,
- lookbehind: true,
- alias: 'punctuation'
- },
- 'operator': /->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,
- 'punctuation': /[()[\]{},;.:]/
-};
-
-Prism.languages.gap.shell.inside.gap.inside = Prism.languages.gap;
-
-Prism.languages.gcode = {
- 'comment': /;.*|\B\(.*?\)\B/,
- 'string': {
- pattern: /"(?:""|[^"])*"/,
- greedy: true
- },
- 'keyword': /\b[GM]\d+(?:\.\d+)?\b/,
- 'property': /\b[A-Z]/,
- 'checksum': {
- pattern: /(\*)\d+/,
- lookbehind: true,
- alias: 'number'
- },
- // T0:0:0
- 'punctuation': /[:*]/
-};
-
-Prism.languages.gdscript = {
- 'comment': /#.*/,
- 'string': {
- pattern: /@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,
- greedy: true
- },
- 'class-name': {
- // class_name Foo, extends Bar, class InnerClass
- // export(int) var baz, export(int, 0) var i
- // as Node
- // const FOO: int = 9, var bar: bool = true
- // func add(reference: Item, amount: int) -> Item:
- pattern: /(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,
- lookbehind: true
- },
- 'keyword': /\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,
- 'function': /\b[a-z_]\w*(?=[ \t]*\()/i,
- 'variable': /\$\w+/,
- 'number': [
- /\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,
- /\b(?:INF|NAN|PI|TAU)\b/
- ],
- 'constant': /\b[A-Z][A-Z_\d]*\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'operator': /->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,
- 'punctuation': /[.:,;()[\]{}]/
-};
-
-Prism.languages.gedcom = {
- 'line-value': {
- // Preceded by level, optional pointer, and tag
- pattern: /(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,
- lookbehind: true,
- inside: {
- 'pointer': {
- pattern: /^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,
- alias: 'variable'
- }
- }
- },
- 'record': {
- // Preceded by level and optional pointer
- pattern: /(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,
- lookbehind: true,
- alias: 'tag'
- },
- 'level': {
- pattern: /(^[\t ]*)\d+/m,
- lookbehind: true,
- alias: 'number'
- },
- 'pointer': {
- pattern: /@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,
- alias: 'variable'
- }
-};
-
-Prism.languages.gettext = {
- 'comment': [
- {
- pattern: /# .*/,
- greedy: true,
- alias: 'translator-comment'
- },
- {
- pattern: /#\..*/,
- greedy: true,
- alias: 'extracted-comment'
- },
- {
- pattern: /#:.*/,
- greedy: true,
- alias: 'reference-comment'
- },
- {
- pattern: /#,.*/,
- greedy: true,
- alias: 'flag-comment'
- },
- {
- pattern: /#\|.*/,
- greedy: true,
- alias: 'previously-untranslated-comment'
- },
- {
- pattern: /#.*/,
- greedy: true
- },
- ],
- 'string': {
- pattern: /(^|[^\\])"(?:[^"\\]|\\.)*"/,
- lookbehind: true,
- greedy: true
- },
- 'keyword': /^msg(?:ctxt|id|id_plural|str)\b/m,
- 'number': /\b\d+\b/,
- 'punctuation': /[\[\]]/
-};
-
-Prism.languages.po = Prism.languages.gettext;
-
-(function (Prism) {
-
- var tableRow = /(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;
-
- Prism.languages.gherkin = {
- 'pystring': {
- pattern: /("""|''')[\s\S]+?\1/,
- alias: 'string'
- },
- 'comment': {
- pattern: /(^[ \t]*)#.*/m,
- lookbehind: true
- },
- 'tag': {
- pattern: /(^[ \t]*)@\S*/m,
- lookbehind: true
- },
- 'feature': {
- pattern: /((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,
- lookbehind: true,
- inside: {
- 'important': {
- pattern: /(:)[^\r\n]+/,
- lookbehind: true
- },
- 'keyword': /[^:\r\n]+:/
- }
- },
- 'scenario': {
- pattern: /(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,
- lookbehind: true,
- inside: {
- 'important': {
- pattern: /(:)[^\r\n]*/,
- lookbehind: true
- },
- 'keyword': /[^:\r\n]+:/
- }
- },
- 'table-body': {
- // Look-behind is used to skip the table head, which has the same format as any table row
- pattern: RegExp('(' + tableRow + ')(?:' + tableRow + ')+'),
- lookbehind: true,
- inside: {
- 'outline': {
- pattern: /<[^>]+>/,
- alias: 'variable'
- },
- 'td': {
- pattern: /\s*[^\s|][^|]*/,
- alias: 'string'
- },
- 'punctuation': /\|/
- }
- },
- 'table-head': {
- pattern: RegExp(tableRow),
- inside: {
- 'th': {
- pattern: /\s*[^\s|][^|]*/,
- alias: 'variable'
- },
- 'punctuation': /\|/
- }
- },
- 'atrule': {
- pattern: /(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,
- lookbehind: true
- },
- 'string': {
- pattern: /"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,
- inside: {
- 'outline': {
- pattern: /<[^>]+>/,
- alias: 'variable'
- }
- }
- },
- 'outline': {
- pattern: /<[^>]+>/,
- alias: 'variable'
- }
- };
-
-}(Prism));
-
-Prism.languages.git = {
- /*
- * A simple one line comment like in a git status command
- * For instance:
- * $ git status
- * # On branch infinite-scroll
- * # Your branch and 'origin/sharedBranches/frontendTeam/infinite-scroll' have diverged,
- * # and have 1 and 2 different commits each, respectively.
- * nothing to commit (working directory clean)
- */
- 'comment': /^#.*/m,
-
- /*
- * Regexp to match the changed lines in a git diff output. Check the example below.
- */
- 'deleted': /^[-–].*/m,
- 'inserted': /^\+.*/m,
-
- /*
- * a string (double and simple quote)
- */
- 'string': /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
-
- /*
- * a git command. It starts with a random prompt finishing by a $, then "git" then some other parameters
- * For instance:
- * $ git add file.txt
- */
- 'command': {
- pattern: /^.*\$ git .*$/m,
- inside: {
- /*
- * A git command can contain a parameter starting by a single or a double dash followed by a string
- * For instance:
- * $ git diff --cached
- * $ git log -p
- */
- 'parameter': /\s--?\w+/
- }
- },
-
- /*
- * Coordinates displayed in a git diff command
- * For instance:
- * $ git diff
- * diff --git file.txt file.txt
- * index 6214953..1d54a52 100644
- * --- file.txt
- * +++ file.txt
- * @@ -1 +1,2 @@
- * -Here's my tetx file
- * +Here's my text file
- * +And this is the second line
- */
- 'coord': /^@@.*@@$/m,
-
- /*
- * Match a "commit [SHA1]" line in a git log output.
- * For instance:
- * $ git log
- * commit a11a14ef7e26f2ca62d4b35eac455ce636d0dc09
- * Author: lgiraudel
- * Date: Mon Feb 17 11:18:34 2014 +0100
- *
- * Add of a new line
- */
- 'commit-sha1': /^commit \w{40}$/m
-};
-
-Prism.languages.glsl = Prism.languages.extend('c', {
- 'keyword': /\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/
-});
-
-// https://gn.googlesource.com/gn/+/refs/heads/main/docs/reference.md#grammar
-
-Prism.languages.gn = {
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
- 'string-literal': {
- pattern: /(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,
- lookbehind: true,
- inside: {
- 'number': /^\$0x[\s\S]{2}$/,
- 'variable': /^\$\w+$/,
- 'interpolation-punctuation': {
- pattern: /^\$\{|\}$/,
- alias: 'punctuation'
- },
- 'expression': {
- pattern: /[\s\S]+/,
- inside: null // see below
- }
- }
- },
- 'string': /[\s\S]+/
- }
- },
-
- 'keyword': /\b(?:else|if)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'builtin-function': {
- // a few functions get special highlighting to improve readability
- pattern: /\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,
- alias: 'keyword'
- },
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
- 'constant': /\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,
-
- 'number': /-?\b\d+\b/,
-
- 'operator': /[-+!=<>]=?|&&|\|\|/,
- 'punctuation': /[(){}[\],.]/
-};
-
-Prism.languages.gn['string-literal'].inside['interpolation'].inside['expression'].inside = Prism.languages.gn;
-
-Prism.languages.gni = Prism.languages.gn;
-
-Prism.languages['linker-script'] = {
- 'comment': {
- pattern: /(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,
- lookbehind: true,
- greedy: true
- },
- 'identifier': {
- pattern: /"[^"\r\n]*"/,
- greedy: true
- },
-
- 'location-counter': {
- pattern: /\B\.\B/,
- alias: 'important'
- },
-
- 'section': {
- pattern: /(^|[^\w*])\.\w+\b/,
- lookbehind: true,
- alias: 'keyword'
- },
- 'function': /\b[A-Z][A-Z_]*(?=\s*\()/,
-
- 'number': /\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,
-
- 'operator': />>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,
- 'punctuation': /[(){},;]/
-};
-
-Prism.languages['ld'] = Prism.languages['linker-script'];
-
-Prism.languages.go = Prism.languages.extend('clike', {
- 'string': {
- pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,
- lookbehind: true,
- greedy: true
- },
- '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': [
- // binary and octal integers
- /\b0(?:b[01_]+|o[0-7_]+)i?\b/i,
- // hexadecimal integers and floats
- /\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,
- // decimal integers and floats
- /(?:\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: true
- }
-});
-
-delete Prism.languages.go['class-name'];
-
-// https://go.dev/ref/mod#go-mod-file-module
-
-Prism.languages['go-mod'] = Prism.languages['go-module'] = {
- 'comment': {
- pattern: /\/\/.*/,
- greedy: true
- },
- 'version': {
- pattern: /(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,
- lookbehind: true,
- alias: 'number'
- },
- 'go-version': {
- pattern: /((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,
- lookbehind: true,
- alias: 'number'
- },
- 'keyword': {
- pattern: /^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,
- lookbehind: true
- },
- 'operator': /=>/,
- 'punctuation': /[()[\],]/
-};
-
-(function (Prism) {
- var interpolation = {
- pattern: /((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,
- lookbehind: true,
- inside: {
- 'interpolation-punctuation': {
- pattern: /^\$\{?|\}$/,
- alias: 'punctuation',
- },
- 'expression': {
- pattern: /[\s\S]+/,
- inside: null,
- },
- },
- };
-
- Prism.languages.gradle = Prism.languages.extend('clike', {
- 'string': {
- pattern: /'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,
- greedy: true,
- },
- 'keyword':
- /\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,
- 'number': /\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,
- 'operator': {
- pattern:
- /(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,
- lookbehind: true,
- },
- 'punctuation': /\.+|[{}[\];(),:$]/,
- });
-
- Prism.languages.insertBefore('gradle', 'string', {
- 'shebang': {
- pattern: /#!.+/,
- alias: 'comment',
- greedy: true,
- },
- 'interpolation-string': {
- pattern:
- /"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,
- greedy: true,
- inside: {
- 'interpolation': interpolation,
- 'string': /[\s\S]+/,
- },
- },
- });
-
- Prism.languages.insertBefore('gradle', 'punctuation', {
- 'spock-block': /\b(?:and|cleanup|expect|given|setup|then|when|where):/,
- });
-
- Prism.languages.insertBefore('gradle', 'function', {
- 'annotation': {
- pattern: /(^|[^.])@\w+/,
- lookbehind: true,
- alias: 'punctuation',
- },
- });
-
- interpolation.inside.expression.inside = Prism.languages.gradle;
-}(Prism));
-
-Prism.languages.graphql = {
- 'comment': /#.*/,
- 'description': {
- pattern: /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,
- greedy: true,
- alias: 'string',
- inside: {
- 'language-markdown': {
- pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,
- lookbehind: true,
- inside: Prism.languages.markdown
- }
- }
- },
- 'string': {
- pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,
- greedy: true
- },
- 'number': /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
- 'boolean': /\b(?:false|true)\b/,
- 'variable': /\$[a-z_]\w*/i,
- 'directive': {
- pattern: /@[a-z_]\w*/i,
- alias: 'function'
- },
- 'attr-name': {
- pattern: /\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,
- greedy: true
- },
- 'atom-input': {
- pattern: /\b[A-Z]\w*Input\b/,
- alias: 'class-name'
- },
- 'scalar': /\b(?:Boolean|Float|ID|Int|String)\b/,
- 'constant': /\b[A-Z][A-Z_\d]*\b/,
- 'class-name': {
- pattern: /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,
- lookbehind: true
- },
- 'fragment': {
- pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,
- lookbehind: true,
- alias: 'function'
- },
- 'definition-mutation': {
- pattern: /(\bmutation\s+)[a-zA-Z_]\w*/,
- lookbehind: true,
- alias: 'function'
- },
- 'definition-query': {
- pattern: /(\bquery\s+)[a-zA-Z_]\w*/,
- lookbehind: true,
- alias: 'function'
- },
- 'keyword': /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,
- 'operator': /[!=|&]|\.{3}/,
- 'property-query': /\w+(?=\s*\()/,
- 'object': /\w+(?=\s*\{)/,
- 'punctuation': /[!(){}\[\]:=,]/,
- 'property': /\w+/
-};
-
-Prism.hooks.add('after-tokenize', function afterTokenizeGraphql(env) {
- if (env.language !== 'graphql') {
- return;
- }
-
- /**
- * get the graphql token stream that we want to customize
- *
- * @typedef {InstanceType<import("./prism-core")["Token"]>} Token
- * @type {Token[]}
- */
- var validTokens = env.tokens.filter(function (token) {
- return typeof token !== 'string' && token.type !== 'comment' && token.type !== 'scalar';
- });
-
- var currentIndex = 0;
-
- /**
- * Returns whether the token relative to the current index has the given type.
- *
- * @param {number} offset
- * @returns {Token | undefined}
- */
- function getToken(offset) {
- return validTokens[currentIndex + offset];
- }
-
- /**
- * Returns whether the token relative to the current index has the given type.
- *
- * @param {readonly string[]} types
- * @param {number} [offset=0]
- * @returns {boolean}
- */
- function isTokenType(types, offset) {
- offset = offset || 0;
- for (var i = 0; i < types.length; i++) {
- var token = getToken(i + offset);
- if (!token || token.type !== types[i]) {
- return false;
- }
- }
- return true;
- }
-
- /**
- * Returns the index of the closing bracket to an opening bracket.
- *
- * It is assumed that `token[currentIndex - 1]` is an opening bracket.
- *
- * If no closing bracket could be found, `-1` will be returned.
- *
- * @param {RegExp} open
- * @param {RegExp} close
- * @returns {number}
- */
- function findClosingBracket(open, close) {
- var stackHeight = 1;
-
- for (var i = currentIndex; i < validTokens.length; i++) {
- var token = validTokens[i];
- var content = token.content;
-
- if (token.type === 'punctuation' && typeof content === 'string') {
- if (open.test(content)) {
- stackHeight++;
- } else if (close.test(content)) {
- stackHeight--;
-
- if (stackHeight === 0) {
- return i;
- }
- }
- }
- }
-
- return -1;
- }
-
- /**
- * Adds an alias to the given token.
- *
- * @param {Token} token
- * @param {string} alias
- * @returns {void}
- */
- function addAlias(token, alias) {
- var aliases = token.alias;
- if (!aliases) {
- token.alias = aliases = [];
- } else if (!Array.isArray(aliases)) {
- token.alias = aliases = [aliases];
- }
- aliases.push(alias);
- }
-
- for (; currentIndex < validTokens.length;) {
- var startToken = validTokens[currentIndex++];
-
- // add special aliases for mutation tokens
- if (startToken.type === 'keyword' && startToken.content === 'mutation') {
- // any array of the names of all input variables (if any)
- var inputVariables = [];
-
- if (isTokenType(['definition-mutation', 'punctuation']) && getToken(1).content === '(') {
- // definition
-
- currentIndex += 2; // skip 'definition-mutation' and 'punctuation'
-
- var definitionEnd = findClosingBracket(/^\($/, /^\)$/);
- if (definitionEnd === -1) {
- continue;
- }
-
- // find all input variables
- for (; currentIndex < definitionEnd; currentIndex++) {
- var t = getToken(0);
- if (t.type === 'variable') {
- addAlias(t, 'variable-input');
- inputVariables.push(t.content);
- }
- }
-
- currentIndex = definitionEnd + 1;
- }
-
- if (isTokenType(['punctuation', 'property-query']) && getToken(0).content === '{') {
- currentIndex++; // skip opening bracket
-
- addAlias(getToken(0), 'property-mutation');
-
- if (inputVariables.length > 0) {
- var mutationEnd = findClosingBracket(/^\{$/, /^\}$/);
- if (mutationEnd === -1) {
- continue;
- }
-
- // give references to input variables a special alias
- for (var i = currentIndex; i < mutationEnd; i++) {
- var varToken = validTokens[i];
- if (varToken.type === 'variable' && inputVariables.indexOf(varToken.content) >= 0) {
- addAlias(varToken, 'variable-input');
- }
- }
- }
- }
- }
- }
-});
-
-(function (Prism) {
-
- var interpolation = {
- pattern: /((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,
- lookbehind: true,
- inside: {
- 'interpolation-punctuation': {
- pattern: /^\$\{?|\}$/,
- alias: 'punctuation'
- },
- 'expression': {
- pattern: /[\s\S]+/,
- inside: null // see below
- }
- }
- };
-
- Prism.languages.groovy = Prism.languages.extend('clike', {
- 'string': {
- // https://groovy-lang.org/syntax.html#_dollar_slashy_string
- pattern: /'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,
- greedy: true
- },
- 'keyword': /\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,
- 'number': /\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,
- 'operator': {
- pattern: /(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,
- lookbehind: true
- },
- 'punctuation': /\.+|[{}[\];(),:$]/
- });
-
- Prism.languages.insertBefore('groovy', 'string', {
- 'shebang': {
- pattern: /#!.+/,
- alias: 'comment',
- greedy: true
- },
- 'interpolation-string': {
- // TODO: Slash strings (e.g. /foo/) can contain line breaks but this will cause a lot of trouble with
- // simple division (see JS regex), so find a fix maybe?
- pattern: /"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,
- greedy: true,
- inside: {
- 'interpolation': interpolation,
- 'string': /[\s\S]+/
- }
- }
- });
-
- Prism.languages.insertBefore('groovy', 'punctuation', {
- 'spock-block': /\b(?:and|cleanup|expect|given|setup|then|when|where):/
- });
-
- Prism.languages.insertBefore('groovy', 'function', {
- 'annotation': {
- pattern: /(^|[^.])@\w+/,
- lookbehind: true,
- alias: 'punctuation'
- }
- });
-
- interpolation.inside.expression.inside = Prism.languages.groovy;
-
-}(Prism));
-
-/* TODO
- Handle multiline code after tag
- %foo= some |
- multiline |
- code |
-*/
-
-(function (Prism) {
-
- Prism.languages.haml = {
- // Multiline stuff should appear before the rest
-
- 'multiline-comment': {
- pattern: /((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,
- lookbehind: true,
- alias: 'comment'
- },
-
- 'multiline-code': [
- {
- pattern: /((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,
- lookbehind: true,
- inside: Prism.languages.ruby
- },
- {
- pattern: /((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,
- lookbehind: true,
- inside: Prism.languages.ruby
- }
- ],
-
- // See at the end of the file for known filters
- 'filter': {
- pattern: /((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,
- lookbehind: true,
- inside: {
- 'filter-name': {
- pattern: /^:[\w-]+/,
- alias: 'symbol'
- }
- }
- },
-
- 'markup': {
- pattern: /((?:^|\r?\n|\r)[\t ]*)<.+/,
- lookbehind: true,
- inside: Prism.languages.markup
- },
- 'doctype': {
- pattern: /((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,
- lookbehind: true
- },
- 'tag': {
- // Allows for one nested group of braces
- pattern: /((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,
- lookbehind: true,
- inside: {
- 'attributes': [
- {
- // Lookbehind tries to prevent interpolations from breaking it all
- // Allows for one nested group of braces
- pattern: /(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,
- lookbehind: true,
- inside: Prism.languages.ruby
- },
- {
- pattern: /\([^)]+\)/,
- inside: {
- 'attr-value': {
- pattern: /(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,
- lookbehind: true
- },
- 'attr-name': /[\w:-]+(?=\s*!?=|\s*[,)])/,
- 'punctuation': /[=(),]/
- }
- },
- {
- pattern: /\[[^\]]+\]/,
- inside: Prism.languages.ruby
- }
- ],
- 'punctuation': /[<>]/
- }
- },
- 'code': {
- pattern: /((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,
- lookbehind: true,
- inside: Prism.languages.ruby
- },
- // Interpolations in plain text
- 'interpolation': {
- pattern: /#\{[^}]+\}/,
- inside: {
- 'delimiter': {
- pattern: /^#\{|\}$/,
- alias: 'punctuation'
- },
- 'ruby': {
- pattern: /[\s\S]+/,
- inside: Prism.languages.ruby
- }
- }
- },
- 'punctuation': {
- pattern: /((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,
- lookbehind: true
- }
- };
-
- var filter_pattern = '((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+';
-
- // Non exhaustive list of available filters and associated languages
- var filters = [
- 'css',
- { filter: 'coffee', language: 'coffeescript' },
- 'erb',
- 'javascript',
- 'less',
- 'markdown',
- 'ruby',
- 'scss',
- 'textile'
- ];
- var all_filters = {};
- for (var i = 0, l = filters.length; i < l; i++) {
- var filter = filters[i];
- filter = typeof filter === 'string' ? { filter: filter, language: filter } : filter;
- if (Prism.languages[filter.language]) {
- all_filters['filter-' + filter.filter] = {
- pattern: RegExp(filter_pattern.replace('{{filter_name}}', function () { return filter.filter; })),
- lookbehind: true,
- inside: {
- 'filter-name': {
- pattern: /^:[\w-]+/,
- alias: 'symbol'
- },
- 'text': {
- pattern: /[\s\S]+/,
- alias: [filter.language, 'language-' + filter.language],
- inside: Prism.languages[filter.language]
- }
- }
- };
- }
- }
-
- Prism.languages.insertBefore('haml', 'filter', all_filters);
-
-}(Prism));
-
-(function (Prism) {
-
- Prism.languages.handlebars = {
- 'comment': /\{\{![\s\S]*?\}\}/,
- 'delimiter': {
- pattern: /^\{\{\{?|\}\}\}?$/,
- alias: 'punctuation'
- },
- 'string': /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
- 'number': /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,
- 'boolean': /\b(?:false|true)\b/,
- 'block': {
- pattern: /^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,
- lookbehind: true,
- alias: 'keyword'
- },
- 'brackets': {
- pattern: /\[[^\]]+\]/,
- inside: {
- punctuation: /\[|\]/,
- variable: /[\s\S]+/
- }
- },
- 'punctuation': /[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,
- 'variable': /[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/
- };
-
- Prism.hooks.add('before-tokenize', function (env) {
- var handlebarsPattern = /\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;
- Prism.languages['markup-templating'].buildPlaceholders(env, 'handlebars', handlebarsPattern);
- });
-
- Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'handlebars');
- });
-
- Prism.languages.hbs = Prism.languages.handlebars;
- Prism.languages.mustache = Prism.languages.handlebars;
-
-}(Prism));
-
-Prism.languages.haskell = {
- 'comment': {
- pattern: /(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,
- lookbehind: true
- },
- 'char': {
- pattern: /'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,
- alias: 'string'
- },
- 'string': {
- pattern: /"(?:[^\\"]|\\(?:\S|\s+\\))*"/,
- greedy: true
- },
- 'keyword': /\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,
- 'import-statement': {
- // The imported or hidden names are not included in this import
- // statement. This is because we want to highlight those exactly like
- // we do for the names in the program.
- pattern: /(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,
- lookbehind: true,
- inside: {
- 'keyword': /\b(?:as|hiding|import|qualified)\b/,
- 'punctuation': /\./
- }
- },
- // These are builtin variables only. Constructors are highlighted later as a constant.
- 'builtin': /\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,
- // decimal integers and floating point numbers | octal integers | hexadecimal integers
- 'number': /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,
- 'operator': [
- {
- // infix operator
- pattern: /`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,
- greedy: true
- },
- {
- // function composition
- pattern: /(\s)\.(?=\s)/,
- lookbehind: true
- },
- // Most of this is needed because of the meaning of a single '.'.
- // If it stands alone freely, it is the function composition.
- // It may also be a separator between a module name and an identifier => no
- // operator. If it comes together with other special characters it is an
- // operator too.
- //
- // This regex means: /[-!#$%*+=?&@|~.:<>^\\\/]+/ without /\./.
- /[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/,
- ],
- // In Haskell, nearly everything is a variable, do not highlight these.
- 'hvariable': {
- pattern: /\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,
- inside: {
- 'punctuation': /\./
- }
- },
- 'constant': {
- pattern: /\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,
- inside: {
- 'punctuation': /\./
- }
- },
- 'punctuation': /[{}[\];(),.:]/
-};
-
-Prism.languages.hs = Prism.languages.haskell;
-
-Prism.languages.haxe = Prism.languages.extend('clike', {
- 'string': {
- // Strings can be multi-line
- pattern: /"(?:[^"\\]|\\[\s\S])*"/,
- greedy: true
- },
- 'class-name': [
- {
- pattern: /(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,
- lookbehind: true,
- },
- // based on naming convention
- /\b[A-Z]\w*/
- ],
- // The final look-ahead prevents highlighting of keywords if expressions such as "haxe.macro.Expr"
- 'keyword': /\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,
- 'function': {
- pattern: /\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,
- greedy: true
- },
- 'operator': /\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/
-});
-
-Prism.languages.insertBefore('haxe', 'string', {
- 'string-interpolation': {
- pattern: /'(?:[^'\\]|\\[\s\S])*'/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /(^|[^\\])\$(?:\w+|\{[^{}]+\})/,
- lookbehind: true,
- inside: {
- 'interpolation-punctuation': {
- pattern: /^\$\{?|\}$/,
- alias: 'punctuation'
- },
- 'expression': {
- pattern: /[\s\S]+/,
- inside: Prism.languages.haxe
- },
- }
- },
- 'string': /[\s\S]+/
- }
- }
-});
-
-Prism.languages.insertBefore('haxe', 'class-name', {
- 'regex': {
- pattern: /~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,
- greedy: true,
- inside: {
- 'regex-flags': /\b[a-z]+$/,
- 'regex-source': {
- pattern: /^(~\/)[\s\S]+(?=\/$)/,
- lookbehind: true,
- alias: 'language-regex',
- inside: Prism.languages.regex
- },
- 'regex-delimiter': /^~\/|\/$/,
- }
- }
-});
-
-Prism.languages.insertBefore('haxe', 'keyword', {
- 'preprocessor': {
- pattern: /#(?:else|elseif|end|if)\b.*/,
- alias: 'property'
- },
- 'metadata': {
- pattern: /@:?[\w.]+/,
- alias: 'symbol'
- },
- 'reification': {
- pattern: /\$(?:\w+|(?=\{))/,
- alias: 'important'
- }
-});
-
-Prism.languages.hcl = {
- 'comment': /(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,
- 'heredoc': {
- pattern: /<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,
- greedy: true,
- alias: 'string'
- },
- 'keyword': [
- {
- pattern: /(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,
- inside: {
- 'type': {
- pattern: /(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,
- lookbehind: true,
- alias: 'variable'
- }
- }
- },
- {
- pattern: /(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,
- inside: {
- 'type': {
- pattern: /(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,
- lookbehind: true,
- alias: 'variable'
- }
- }
- },
- /[\w-]+(?=\s+\{)/
- ],
- 'property': [
- /[-\w\.]+(?=\s*=(?!=))/,
- /"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/,
- ],
- 'string': {
- pattern: /"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,
- lookbehind: true,
- inside: {
- 'type': {
- pattern: /(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,
- lookbehind: true,
- alias: 'variable'
- },
- 'keyword': /\b(?:count|data|local|module|path|self|terraform|var)\b/i,
- 'function': /\w+(?=\()/,
- 'string': {
- pattern: /"(?:\\[\s\S]|[^\\"])*"/,
- greedy: true,
- },
- 'number': /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
- 'punctuation': /[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/,
- }
- },
- }
- },
- 'number': /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
- 'boolean': /\b(?:false|true)\b/i,
- 'punctuation': /[=\[\]{}]/,
-};
-
-Prism.languages.hlsl = Prism.languages.extend('c', {
-
- // Regarding keywords and class names:
- // The list of all keywords was split into 'keyword' and 'class-name' tokens based on whether they are capitalized.
- // https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-appendix-keywords
- // https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-appendix-reserved-words
- 'class-name': [
- Prism.languages.c['class-name'],
- /\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/
- ],
- 'keyword': [
- // HLSL keyword
- /\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,
- // scalar, vector, and matrix types
- /\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/
- ],
- // https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-appendix-grammar#floating-point-numbers
- 'number': /(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,
- 'boolean': /\b(?:false|true)\b/
-});
-
-Prism.languages.hoon = {
- 'comment': {
- pattern: /::.*/,
- greedy: true
- },
- 'string': {
- pattern: /"[^"]*"|'[^']*'/,
- greedy: true
- },
- 'constant': /%(?:\.[ny]|[\w-]+)/,
- 'class-name': /@(?:[a-z0-9-]*[a-z0-9])?|\*/i,
- 'function': /(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,
- 'keyword': /\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/
-};
-
-(function (Prism) {
-
- /**
- * @param {string} name
- * @returns {RegExp}
- */
- function headerValueOf(name) {
- return RegExp('(^(?:' + name + '):[ \t]*(?![ \t]))[^]+', 'i');
- }
-
- Prism.languages.http = {
- 'request-line': {
- pattern: /^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,
- inside: {
- // HTTP Method
- 'method': {
- pattern: /^[A-Z]+\b/,
- alias: 'property'
- },
- // Request Target e.g. http://example.com, /path/to/file
- 'request-target': {
- pattern: /^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,
- lookbehind: true,
- alias: 'url',
- inside: Prism.languages.uri
- },
- // HTTP Version
- 'http-version': {
- pattern: /^(\s)HTTP\/[\d.]+/,
- lookbehind: true,
- alias: 'property'
- },
- }
- },
- 'response-status': {
- pattern: /^HTTP\/[\d.]+ \d+ .+/m,
- inside: {
- // HTTP Version
- 'http-version': {
- pattern: /^HTTP\/[\d.]+/,
- alias: 'property'
- },
- // Status Code
- 'status-code': {
- pattern: /^(\s)\d+(?=\s)/,
- lookbehind: true,
- alias: 'number'
- },
- // Reason Phrase
- 'reason-phrase': {
- pattern: /^(\s).+/,
- lookbehind: true,
- alias: 'string'
- }
- }
- },
- 'header': {
- pattern: /^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,
- inside: {
- 'header-value': [
- {
- pattern: headerValueOf(/Content-Security-Policy/.source),
- lookbehind: true,
- alias: ['csp', 'languages-csp'],
- inside: Prism.languages.csp
- },
- {
- pattern: headerValueOf(/Public-Key-Pins(?:-Report-Only)?/.source),
- lookbehind: true,
- alias: ['hpkp', 'languages-hpkp'],
- inside: Prism.languages.hpkp
- },
- {
- pattern: headerValueOf(/Strict-Transport-Security/.source),
- lookbehind: true,
- alias: ['hsts', 'languages-hsts'],
- inside: Prism.languages.hsts
- },
- {
- pattern: headerValueOf(/[^:]+/.source),
- lookbehind: true
- }
- ],
- 'header-name': {
- pattern: /^[^:]+/,
- alias: 'keyword'
- },
- 'punctuation': /^:/
- }
- }
- };
-
- // Create a mapping of Content-Type headers to language definitions
- var langs = Prism.languages;
- var httpLanguages = {
- 'application/javascript': langs.javascript,
- 'application/json': langs.json || langs.javascript,
- 'application/xml': langs.xml,
- 'text/xml': langs.xml,
- 'text/html': langs.html,
- 'text/css': langs.css,
- 'text/plain': langs.plain
- };
-
- // Declare which types can also be suffixes
- var suffixTypes = {
- 'application/json': true,
- 'application/xml': true
- };
-
- /**
- * Returns a pattern for the given content type which matches it and any type which has it as a suffix.
- *
- * @param {string} contentType
- * @returns {string}
- */
- function getSuffixPattern(contentType) {
- var suffix = contentType.replace(/^[a-z]+\//, '');
- var suffixPattern = '\\w+/(?:[\\w.-]+\\+)+' + suffix + '(?![+\\w.-])';
- return '(?:' + contentType + '|' + suffixPattern + ')';
- }
-
- // Insert each content type parser that has its associated language
- // currently loaded.
- var options;
- for (var contentType in httpLanguages) {
- if (httpLanguages[contentType]) {
- options = options || {};
-
- var pattern = suffixTypes[contentType] ? getSuffixPattern(contentType) : contentType;
- options[contentType.replace(/\//g, '-')] = {
- pattern: RegExp(
- '(' + /content-type:\s*/.source + pattern + /(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source + ')' +
- // This is a little interesting:
- // The HTTP format spec required 1 empty line before the body to make everything unambiguous.
- // However, when writing code by hand (e.g. to display on a website) people can forget about this,
- // so we want to be liberal here. We will allow the empty line to be omitted if the first line of
- // the body does not start with a [\w-] character (as headers do).
- /[^ \t\w-][\s\S]*/.source,
- 'i'
- ),
- lookbehind: true,
- inside: httpLanguages[contentType]
- };
- }
- }
- if (options) {
- Prism.languages.insertBefore('http', 'header', options);
- }
-
-}(Prism));
-
-/**
- * Original by Scott Helme.
- *
- * Reference: https://scotthelme.co.uk/hpkp-cheat-sheet/
- */
-
-Prism.languages.hpkp = {
- 'directive': {
- pattern: /\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,
- alias: 'property'
- },
- 'operator': /=/,
- 'punctuation': /;/
-};
-
-/**
- * Original by Scott Helme.
- *
- * Reference: https://scotthelme.co.uk/hsts-cheat-sheet/
- */
-
-Prism.languages.hsts = {
- 'directive': {
- pattern: /\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,
- alias: 'property'
- },
- 'operator': /=/,
- 'punctuation': /;/
-};
-
-// according to the offical reference (EN)
-// https://ichigojam.net/IchigoJam-en.html
-Prism.languages.ichigojam = {
- 'comment': /(?:\B'|REM)(?:[^\n\r]*)/i,
- 'string': {
- pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
- greedy: true
- },
- 'number': /\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
- 'keyword': /\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,
- 'function': /\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,
- 'label': /(?:\B@\S+)/,
- 'operator': /<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,
- 'punctuation': /[\[,;:()\]]/
-};
-
-Prism.languages.icon = {
- 'comment': /#.*/,
- 'string': {
- pattern: /(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,
- greedy: true
- },
- 'number': /\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,
- 'builtin-keyword': {
- pattern: /&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,
- alias: 'variable'
- },
- 'directive': {
- pattern: /\$\w+/,
- alias: 'builtin'
- },
- 'keyword': /\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,
- 'function': /\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,
- 'operator': /[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,
- 'punctuation': /[\[\](){},;]/
-};
-
-// https://unicode-org.github.io/icu/userguide/format_parse/messages/
-// https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/com/ibm/icu/text/MessageFormat.html
-
-(function (Prism) {
-
- /**
- * @param {string} source
- * @param {number} level
- * @returns {string}
- */
- function nested(source, level) {
- if (level <= 0) {
- return /[]/.source;
- } else {
- return source.replace(/<SELF>/g, function () { return nested(source, level - 1); });
- }
- }
-
- var stringPattern = /'[{}:=,](?:[^']|'')*'(?!')/;
-
- var escape = {
- pattern: /''/,
- greedy: true,
- alias: 'operator'
- };
- var string = {
- pattern: stringPattern,
- greedy: true,
- inside: {
- 'escape': escape
- }
- };
-
- var argumentSource = nested(
- /\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source
- .replace(/<STR>/g, function () { return stringPattern.source; }),
- 8
- );
-
- var nestedMessage = {
- pattern: RegExp(argumentSource),
- inside: {
- 'message': {
- pattern: /^(\{)[\s\S]+(?=\}$)/,
- lookbehind: true,
- inside: null // see below
- },
- 'message-delimiter': {
- pattern: /./,
- alias: 'punctuation'
- }
- }
- };
-
- Prism.languages['icu-message-format'] = {
- 'argument': {
- pattern: RegExp(argumentSource),
- greedy: true,
- inside: {
- 'content': {
- pattern: /^(\{)[\s\S]+(?=\}$)/,
- lookbehind: true,
- inside: {
- 'argument-name': {
- pattern: /^(\s*)[^{}:=,\s]+/,
- lookbehind: true
- },
- 'choice-style': {
- // https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1ChoiceFormat.html#details
- pattern: /^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,
- lookbehind: true,
- inside: {
- 'punctuation': /\|/,
- 'range': {
- pattern: /^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,
- lookbehind: true,
- inside: {
- 'operator': /[<#\u2264]/,
- 'number': /\S+/
- }
- },
- rest: null // see below
- }
- },
- 'plural-style': {
- // https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/com/ibm/icu/text/PluralFormat.html#:~:text=Patterns%20and%20Their%20Interpretation
- pattern: /^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,
- lookbehind: true,
- inside: {
- 'offset': /^offset:\s*\d+/,
- 'nested-message': nestedMessage,
- 'selector': {
- pattern: /=\d+|[^{}:=,\s]+/,
- inside: {
- 'keyword': /^(?:few|many|one|other|two|zero)$/
- }
- }
- }
- },
- 'select-style': {
- // https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/com/ibm/icu/text/SelectFormat.html#:~:text=Patterns%20and%20Their%20Interpretation
- pattern: /^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,
- lookbehind: true,
- inside: {
- 'nested-message': nestedMessage,
- 'selector': {
- pattern: /[^{}:=,\s]+/,
- inside: {
- 'keyword': /^other$/
- }
- }
- }
- },
- 'keyword': /\b(?:choice|plural|select|selectordinal)\b/,
- 'arg-type': {
- pattern: /\b(?:date|duration|number|ordinal|spellout|time)\b/,
- alias: 'keyword'
- },
- 'arg-skeleton': {
- pattern: /(,\s*)::[^{}:=,\s]+/,
- lookbehind: true
- },
- 'arg-style': {
- pattern: /(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,
- lookbehind: true
- },
- 'arg-style-text': {
- pattern: RegExp(/(^\s*,\s*(?=\S))/.source + nested(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source, 8) + '$'),
- lookbehind: true,
- alias: 'string'
- },
- 'punctuation': /,/
- }
- },
- 'argument-delimiter': {
- pattern: /./,
- alias: 'operator'
- }
- }
- },
- 'escape': escape,
- 'string': string
- };
-
- nestedMessage.inside.message.inside = Prism.languages['icu-message-format'];
- Prism.languages['icu-message-format'].argument.inside.content.inside['choice-style'].inside.rest = Prism.languages['icu-message-format'];
-
-}(Prism));
-
-Prism.languages.idris = Prism.languages.extend('haskell', {
- 'comment': {
- pattern: /(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m,
- },
- 'keyword': /\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,
- 'builtin': undefined
-});
-
-Prism.languages.insertBefore('idris', 'keyword', {
- 'import-statement': {
- pattern: /(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,
- lookbehind: true,
- inside: {
- 'punctuation': /\./
- }
- }
-});
-
-Prism.languages.idr = Prism.languages.idris;
-
-(function (Prism) {
- Prism.languages.ignore = {
- // https://git-scm.com/docs/gitignore
- 'comment': /^#.*/m,
- 'entry': {
- pattern: /\S(?:.*(?:(?:\\ )|\S))?/,
- alias: 'string',
- inside: {
- 'operator': /^!|\*\*?|\?/,
- 'regex': {
- pattern: /(^|[^\\])\[[^\[\]]*\]/,
- lookbehind: true
- },
- 'punctuation': /\//
- }
- }
- };
-
- Prism.languages.gitignore = Prism.languages.ignore;
- Prism.languages.hgignore = Prism.languages.ignore;
- Prism.languages.npmignore = Prism.languages.ignore;
-
-}(Prism));
-
-Prism.languages.inform7 = {
- 'string': {
- pattern: /"[^"]*"/,
- inside: {
- 'substitution': {
- pattern: /\[[^\[\]]+\]/,
- inside: {
- 'delimiter': {
- pattern: /\[|\]/,
- alias: 'punctuation'
- }
- // See rest below
- }
- }
- }
- },
- 'comment': {
- pattern: /\[[^\[\]]+\]/,
- greedy: true
- },
- 'title': {
- pattern: /^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,
- alias: 'important'
- },
- 'number': {
- pattern: /(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,
- lookbehind: true
- },
- 'verb': {
- pattern: /(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,
- lookbehind: true,
- alias: 'operator'
- },
- 'keyword': {
- pattern: /(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,
- lookbehind: true
- },
- 'property': {
- pattern: /(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,
- lookbehind: true,
- alias: 'symbol'
- },
- 'position': {
- pattern: /(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,
- lookbehind: true,
- alias: 'keyword'
- },
- 'type': {
- pattern: /(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,
- lookbehind: true,
- alias: 'variable'
- },
- 'punctuation': /[.,:;(){}]/
-};
-
-Prism.languages.inform7['string'].inside['substitution'].inside.rest = Prism.languages.inform7;
-// We don't want the remaining text in the substitution to be highlighted as the string.
-Prism.languages.inform7['string'].inside['substitution'].inside.rest.text = {
- pattern: /\S(?:\s*\S)*/,
- alias: 'comment'
-};
-
-Prism.languages.ini = {
-
- /**
- * The component mimics the behavior of the Win32 API parser.
- *
- * @see {@link https://github.com/PrismJS/prism/issues/2775#issuecomment-787477723}
- */
-
- 'comment': {
- pattern: /(^[ \f\t\v]*)[#;][^\n\r]*/m,
- lookbehind: true
- },
- 'section': {
- pattern: /(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,
- lookbehind: true,
- inside: {
- 'section-name': {
- pattern: /(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,
- lookbehind: true,
- alias: 'selector'
- },
- 'punctuation': /\[|\]/
- }
- },
- 'key': {
- pattern: /(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,
- lookbehind: true,
- alias: 'attr-name'
- },
- 'value': {
- pattern: /(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,
- lookbehind: true,
- alias: 'attr-value',
- inside: {
- 'inner-value': {
- pattern: /^("|').+(?=\1$)/,
- lookbehind: true
- }
- }
- },
- 'punctuation': /=/
-};
-
-Prism.languages.io = {
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,
- lookbehind: true,
- greedy: true
- },
- 'triple-quoted-string': {
- pattern: /"""(?:\\[\s\S]|(?!""")[^\\])*"""/,
- greedy: true,
- alias: 'string'
- },
- 'string': {
- pattern: /"(?:\\.|[^\\\r\n"])*"/,
- greedy: true
- },
- 'keyword': /\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,
- 'builtin': /\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,
- 'boolean': /\b(?:false|nil|true)\b/,
- 'number': /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,
- 'operator': /[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,
- 'punctuation': /[{}[\];(),.:]/
-};
-
-Prism.languages.j = {
- 'comment': {
- pattern: /\bNB\..*/,
- greedy: true
- },
- 'string': {
- pattern: /'(?:''|[^'\r\n])*'/,
- greedy: true
- },
- 'keyword': /\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,
- 'verb': {
- // Negative look-ahead prevents bad highlighting
- // of ^: ;. =. =: !. !:
- pattern: /(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,
- alias: 'keyword'
- },
- 'number': /\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,
- 'adverb': {
- pattern: /[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,
- alias: 'builtin'
- },
- 'operator': /[=a][.:]|_\./,
- 'conjunction': {
- pattern: /&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,
- alias: 'variable'
- },
- 'punctuation': /[()]/
-};
-
-(function (Prism) {
-
- var keywords = /\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/;
-
- // full package (optional) + parent classes (optional)
- var classNamePrefix = /(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source;
-
- // based on the java naming conventions
- var className = {
- pattern: RegExp(/(^|[^\w.])/.source + classNamePrefix + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),
- lookbehind: true,
- inside: {
- 'namespace': {
- pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,
- inside: {
- 'punctuation': /\./
- }
- },
- 'punctuation': /\./
- }
- };
-
- Prism.languages.java = Prism.languages.extend('clike', {
- 'string': {
- pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,
- lookbehind: true,
- greedy: true
- },
- 'class-name': [
- className,
- {
- // variables, parameters, and constructor references
- // this to support class names (or generic parameters) which do not contain a lower case letter (also works for methods)
- pattern: RegExp(/(^|[^\w.])/.source + classNamePrefix + /[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),
- lookbehind: true,
- inside: className.inside
- },
- {
- // class names based on keyword
- // this to support class names (or generic parameters) which do not contain a lower case letter (also works for methods)
- pattern: RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source + classNamePrefix + /[A-Z]\w*\b/.source),
- lookbehind: true,
- inside: className.inside
- }
- ],
- 'keyword': keywords,
- 'function': [
- Prism.languages.clike.function,
- {
- pattern: /(::\s*)[a-z_]\w*/,
- lookbehind: true
- }
- ],
- '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: true
- }
- });
-
- Prism.languages.insertBefore('java', 'string', {
- 'triple-quoted-string': {
- // http://openjdk.java.net/jeps/355#Description
- pattern: /"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,
- greedy: true,
- alias: 'string'
- },
- 'char': {
- pattern: /'(?:\\.|[^'\\\r\n]){1,6}'/,
- greedy: true
- }
- });
-
- Prism.languages.insertBefore('java', 'class-name', {
- 'annotation': {
- pattern: /(^|[^.])@\w+(?:\s*\.\s*\w+)*/,
- lookbehind: true,
- alias: 'punctuation'
- },
- 'generics': {
- pattern: /<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,
- inside: {
- 'class-name': className,
- 'keyword': keywords,
- 'punctuation': /[<>(),.:]/,
- 'operator': /[?&|]/
- }
- },
- 'import': [
- {
- pattern: RegExp(/(\bimport\s+)/.source + classNamePrefix + /(?:[A-Z]\w*|\*)(?=\s*;)/.source),
- lookbehind: true,
- inside: {
- 'namespace': className.inside.namespace,
- 'punctuation': /\./,
- 'operator': /\*/,
- 'class-name': /\w+/
- }
- },
- {
- pattern: RegExp(/(\bimport\s+static\s+)/.source + classNamePrefix + /(?:\w+|\*)(?=\s*;)/.source),
- lookbehind: true,
- alias: 'static',
- inside: {
- 'namespace': className.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 keywords.source; })),
- lookbehind: true,
- inside: {
- 'punctuation': /\./,
- }
- }
- });
-}(Prism));
-
-/**
- * Original by Aaron Harun: http://aahacreative.com/2012/07/31/php-syntax-highlighting-prism/
- * Modified by Miles Johnson: http://milesj.me
- * Rewritten by Tom Pavelec
- *
- * Supports PHP 5.3 - 8.0
- */
-(function (Prism) {
- var comment = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/;
- var constant = [
- {
- pattern: /\b(?:false|true)\b/i,
- alias: 'boolean'
- },
- {
- pattern: /(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,
- greedy: true,
- lookbehind: true,
- },
- {
- pattern: /(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,
- greedy: true,
- lookbehind: true,
- },
- /\b(?:null)\b/i,
- /\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/,
- ];
- var number = /\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i;
- var operator = /<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/;
- var punctuation = /[{}\[\](),:;]/;
-
- Prism.languages.php = {
- 'delimiter': {
- pattern: /\?>$|^<\?(?:php(?=\s)|=)?/i,
- alias: 'important'
- },
- 'comment': comment,
- 'variable': /\$+(?:\w+\b|(?=\{))/,
- 'package': {
- pattern: /(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
- lookbehind: true,
- inside: {
- 'punctuation': /\\/
- }
- },
- 'class-name-definition': {
- pattern: /(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,
- lookbehind: true,
- alias: 'class-name'
- },
- 'function-definition': {
- pattern: /(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,
- lookbehind: true,
- alias: 'function'
- },
- 'keyword': [
- {
- pattern: /(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,
- alias: 'type-casting',
- greedy: true,
- lookbehind: true
- },
- {
- pattern: /([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,
- alias: 'type-hint',
- greedy: true,
- lookbehind: true
- },
- {
- pattern: /(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,
- alias: 'return-type',
- greedy: true,
- lookbehind: true
- },
- {
- pattern: /\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,
- alias: 'type-declaration',
- greedy: true
- },
- {
- pattern: /(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,
- alias: 'type-declaration',
- greedy: true,
- lookbehind: true
- },
- {
- pattern: /\b(?:parent|self|static)(?=\s*::)/i,
- alias: 'static-context',
- greedy: true
- },
- {
- // yield from
- pattern: /(\byield\s+)from\b/i,
- lookbehind: true
- },
- // `class` is always a keyword unlike other keywords
- /\bclass\b/i,
- {
- // https://www.php.net/manual/en/reserved.keywords.php
- //
- // keywords cannot be preceded by "->"
- // the complex lookbehind means `(?<!(?:->|::)\s*)`
- pattern: /((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,
- lookbehind: true
- }
- ],
- 'argument-name': {
- pattern: /([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,
- lookbehind: true
- },
- 'class-name': [
- {
- pattern: /(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,
- greedy: true,
- lookbehind: true
- },
- {
- pattern: /(\|\s*)\b[a-z_]\w*(?!\\)\b/i,
- greedy: true,
- lookbehind: true
- },
- {
- pattern: /\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,
- greedy: true
- },
- {
- pattern: /(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,
- alias: 'class-name-fully-qualified',
- greedy: true,
- lookbehind: true,
- inside: {
- 'punctuation': /\\/
- }
- },
- {
- pattern: /(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,
- alias: 'class-name-fully-qualified',
- greedy: true,
- inside: {
- 'punctuation': /\\/
- }
- },
- {
- pattern: /(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
- alias: 'class-name-fully-qualified',
- greedy: true,
- lookbehind: true,
- inside: {
- 'punctuation': /\\/
- }
- },
- {
- pattern: /\b[a-z_]\w*(?=\s*\$)/i,
- alias: 'type-declaration',
- greedy: true
- },
- {
- pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,
- alias: ['class-name-fully-qualified', 'type-declaration'],
- greedy: true,
- inside: {
- 'punctuation': /\\/
- }
- },
- {
- pattern: /\b[a-z_]\w*(?=\s*::)/i,
- alias: 'static-context',
- greedy: true
- },
- {
- pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,
- alias: ['class-name-fully-qualified', 'static-context'],
- greedy: true,
- inside: {
- 'punctuation': /\\/
- }
- },
- {
- pattern: /([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,
- alias: 'type-hint',
- greedy: true,
- lookbehind: true
- },
- {
- pattern: /([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,
- alias: ['class-name-fully-qualified', 'type-hint'],
- greedy: true,
- lookbehind: true,
- inside: {
- 'punctuation': /\\/
- }
- },
- {
- pattern: /(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,
- alias: 'return-type',
- greedy: true,
- lookbehind: true
- },
- {
- pattern: /(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
- alias: ['class-name-fully-qualified', 'return-type'],
- greedy: true,
- lookbehind: true,
- inside: {
- 'punctuation': /\\/
- }
- }
- ],
- 'constant': constant,
- 'function': {
- pattern: /(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,
- lookbehind: true,
- inside: {
- 'punctuation': /\\/
- }
- },
- 'property': {
- pattern: /(->\s*)\w+/,
- lookbehind: true
- },
- 'number': number,
- 'operator': operator,
- 'punctuation': punctuation
- };
-
- var string_interpolation = {
- pattern: /\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,
- lookbehind: true,
- inside: Prism.languages.php
- };
-
- var string = [
- {
- pattern: /<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,
- alias: 'nowdoc-string',
- greedy: true,
- inside: {
- 'delimiter': {
- pattern: /^<<<'[^']+'|[a-z_]\w*;$/i,
- alias: 'symbol',
- inside: {
- 'punctuation': /^<<<'?|[';]$/
- }
- }
- }
- },
- {
- pattern: /<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,
- alias: 'heredoc-string',
- greedy: true,
- inside: {
- 'delimiter': {
- pattern: /^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,
- alias: 'symbol',
- inside: {
- 'punctuation': /^<<<"?|[";]$/
- }
- },
- 'interpolation': string_interpolation
- }
- },
- {
- pattern: /`(?:\\[\s\S]|[^\\`])*`/,
- alias: 'backtick-quoted-string',
- greedy: true
- },
- {
- pattern: /'(?:\\[\s\S]|[^\\'])*'/,
- alias: 'single-quoted-string',
- greedy: true
- },
- {
- pattern: /"(?:\\[\s\S]|[^\\"])*"/,
- alias: 'double-quoted-string',
- greedy: true,
- inside: {
- 'interpolation': string_interpolation
- }
- }
- ];
-
- Prism.languages.insertBefore('php', 'variable', {
- 'string': string,
- 'attribute': {
- pattern: /#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,
- greedy: true,
- inside: {
- 'attribute-content': {
- pattern: /^(#\[)[\s\S]+(?=\]$)/,
- lookbehind: true,
- // inside can appear subset of php
- inside: {
- 'comment': comment,
- 'string': string,
- 'attribute-class-name': [
- {
- pattern: /([^:]|^)\b[a-z_]\w*(?!\\)\b/i,
- alias: 'class-name',
- greedy: true,
- lookbehind: true
- },
- {
- pattern: /([^:]|^)(?:\\?\b[a-z_]\w*)+/i,
- alias: [
- 'class-name',
- 'class-name-fully-qualified'
- ],
- greedy: true,
- lookbehind: true,
- inside: {
- 'punctuation': /\\/
- }
- }
- ],
- 'constant': constant,
- 'number': number,
- 'operator': operator,
- 'punctuation': punctuation
- }
- },
- 'delimiter': {
- pattern: /^#\[|\]$/,
- alias: 'punctuation'
- }
- }
- },
- });
-
- Prism.hooks.add('before-tokenize', function (env) {
- if (!/<\?/.test(env.code)) {
- return;
- }
-
- var phpPattern = /<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;
- Prism.languages['markup-templating'].buildPlaceholders(env, 'php', phpPattern);
- });
-
- Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'php');
- });
-
-}(Prism));
-
-(function (Prism) {
-
- var javaDocLike = Prism.languages.javadoclike = {
- 'parameter': {
- pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,
- lookbehind: true
- },
- 'keyword': {
- // keywords are the first word in a line preceded be an `@` or surrounded by curly braces.
- // @word, {@word}
- pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,
- lookbehind: true
- },
- 'punctuation': /[{}]/
- };
-
-
- /**
- * Adds doc comment support to the given language and calls a given callback on each doc comment pattern.
- *
- * @param {string} lang the language add doc comment support to.
- * @param {(pattern: {inside: {rest: undefined}}) => void} callback the function called with each doc comment pattern as argument.
- */
- function docCommentSupport(lang, callback) {
- var tokenName = 'doc-comment';
-
- var grammar = Prism.languages[lang];
- if (!grammar) {
- return;
- }
- var token = grammar[tokenName];
-
- if (!token) {
- // add doc comment: /** */
- var definition = {};
- definition[tokenName] = {
- pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,
- lookbehind: true,
- alias: 'comment'
- };
-
- grammar = Prism.languages.insertBefore(lang, 'comment', definition);
- token = grammar[tokenName];
- }
-
- if (token instanceof RegExp) { // convert regex to object
- token = grammar[tokenName] = { pattern: token };
- }
-
- if (Array.isArray(token)) {
- for (var i = 0, l = token.length; i < l; i++) {
- if (token[i] instanceof RegExp) {
- token[i] = { pattern: token[i] };
- }
- callback(token[i]);
- }
- } else {
- callback(token);
- }
- }
-
- /**
- * Adds doc-comment support to the given languages for the given documentation language.
- *
- * @param {string[]|string} languages
- * @param {Object} docLanguage
- */
- function addSupport(languages, docLanguage) {
- if (typeof languages === 'string') {
- languages = [languages];
- }
-
- languages.forEach(function (lang) {
- docCommentSupport(lang, function (pattern) {
- if (!pattern.inside) {
- pattern.inside = {};
- }
- pattern.inside.rest = docLanguage;
- });
- });
- }
-
- Object.defineProperty(javaDocLike, 'addSupport', { value: addSupport });
-
- javaDocLike.addSupport(['java', 'javascript', 'php'], javaDocLike);
-
-}(Prism));
-
-(function (Prism) {
-
- var codeLinePattern = /(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m;
-
- var memberReference = /#\s*\w+(?:\s*\([^()]*\))?/.source;
- var reference = /(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g, function () { return memberReference; });
-
- Prism.languages.javadoc = Prism.languages.extend('javadoclike', {});
- Prism.languages.insertBefore('javadoc', 'keyword', {
- 'reference': {
- pattern: RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source + '(?:' + reference + ')'),
- lookbehind: true,
- inside: {
- 'function': {
- pattern: /(#\s*)\w+(?=\s*\()/,
- lookbehind: true
- },
- 'field': {
- pattern: /(#\s*)\w+/,
- lookbehind: true
- },
- 'namespace': {
- pattern: /\b(?:[a-z]\w*\s*\.\s*)+/,
- inside: {
- 'punctuation': /\./
- }
- },
- 'class-name': /\b[A-Z]\w*/,
- 'keyword': Prism.languages.java.keyword,
- 'punctuation': /[#()[\],.]/
- }
- },
- 'class-name': {
- // @param <T> the first generic type parameter
- pattern: /(@param\s+)<[A-Z]\w*>/,
- lookbehind: true,
- inside: {
- 'punctuation': /[.<>]/
- }
- },
- 'code-section': [
- {
- pattern: /(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,
- lookbehind: true,
- inside: {
- 'code': {
- // there can't be any HTML inside of {@code} tags
- pattern: codeLinePattern,
- lookbehind: true,
- inside: Prism.languages.java,
- alias: 'language-java'
- }
- }
- },
- {
- pattern: /(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,
- lookbehind: true,
- inside: {
- 'line': {
- pattern: codeLinePattern,
- lookbehind: true,
- inside: {
- // highlight HTML tags and entities
- 'tag': Prism.languages.markup.tag,
- 'entity': Prism.languages.markup.entity,
- 'code': {
- // everything else is Java code
- pattern: /.+/,
- inside: Prism.languages.java,
- alias: 'language-java'
- }
- }
- }
- }
- }
- ],
- 'tag': Prism.languages.markup.tag,
- 'entity': Prism.languages.markup.entity,
- });
-
- Prism.languages.javadoclike.addSupport('java', Prism.languages.javadoc);
-}(Prism));
-
-// Specification:
-// https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Throwable.html#printStackTrace()
-
-Prism.languages.javastacktrace = {
-
- // java.sql.SQLException: Violation of unique constraint MY_ENTITY_UK_1: duplicate value(s) for column(s) MY_COLUMN in statement [...]
- // Caused by: java.sql.SQLException: Violation of unique constraint MY_ENTITY_UK_1: duplicate value(s) for column(s) MY_COLUMN in statement [...]
- // Caused by: com.example.myproject.MyProjectServletException
- // Caused by: MidLevelException: LowLevelException
- // Suppressed: Resource$CloseFailException: Resource ID = 0
- 'summary': {
- pattern: /^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,
- lookbehind: true,
- inside: {
- 'keyword': {
- pattern: /^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,
- lookbehind: true
- },
-
- // the current thread if the summary starts with 'Exception in thread'
- 'string': {
- pattern: /^(\s*)"[^"]*"/,
- lookbehind: true
- },
- 'exceptions': {
- pattern: /^(:?\s*)[\w$.]+(?=:|$)/,
- lookbehind: true,
- inside: {
- 'class-name': /[\w$]+$/,
- 'namespace': /\b[a-z]\w*\b/,
- 'punctuation': /\./
- }
- },
- 'message': {
- pattern: /(:\s*)\S.*/,
- lookbehind: true,
- alias: 'string'
- },
- 'punctuation': /:/
- }
- },
-
- // at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
- // at org.hsqldb.jdbc.Util.throwError(Unknown Source) here could be some notes
- // at java.base/java.lang.Class.forName0(Native Method)
- // at Util.<init>(Unknown Source)
- // at com.foo.loader/foo@9.0/com.foo.Main.run(Main.java:101)
- // at com.foo.loader//com.foo.bar.App.run(App.java:12)
- // at acme@2.1/org.acme.Lib.test(Lib.java:80)
- // at MyClass.mash(MyClass.java:9)
- //
- // More information:
- // https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/StackTraceElement.html#toString()
- //
- // A valid Java module name is defined as:
- // "A module name consists of one or more Java identifiers (§3.8) separated by "." tokens."
- // https://docs.oracle.com/javase/specs/jls/se9/html/jls-6.html#jls-ModuleName
- //
- // A Java module version is defined by this class:
- // https://docs.oracle.com/javase/9/docs/api/java/lang/module/ModuleDescriptor.Version.html
- // This is the implementation of the `parse` method in JDK13:
- // https://github.com/matcdac/jdk/blob/2305df71d1b7710266ae0956d73927a225132c0f/src/java.base/share/classes/java/lang/module/ModuleDescriptor.java#L1108
- // However, to keep this simple, a version will be matched by the pattern /@[\w$.+-]*/.
- 'stack-frame': {
- pattern: /^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,
- lookbehind: true,
- inside: {
- 'keyword': {
- pattern: /^(\s*)at(?= )/,
- lookbehind: true
- },
- 'source': [
- // (Main.java:15)
- // (Main.scala:15)
- {
- pattern: /(\()\w+\.\w+:\d+(?=\))/,
- lookbehind: true,
- inside: {
- 'file': /^\w+\.\w+/,
- 'punctuation': /:/,
- 'line-number': {
- pattern: /\b\d+\b/,
- alias: 'number'
- }
- }
- },
- // (Unknown Source)
- // (Native Method)
- // (...something...)
- {
- pattern: /(\()[^()]*(?=\))/,
- lookbehind: true,
- inside: {
- 'keyword': /^(?:Native Method|Unknown Source)$/
- }
- }
- ],
- 'class-name': /[\w$]+(?=\.(?:<init>|[\w$]+)\()/,
- 'function': /(?:<init>|[\w$]+)(?=\()/,
- 'class-loader': {
- pattern: /(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,
- lookbehind: true,
- alias: 'namespace',
- inside: {
- 'punctuation': /\./
- }
- },
- 'module': {
- pattern: /([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,
- lookbehind: true,
- inside: {
- 'version': {
- pattern: /(@)[\s\S]+/,
- lookbehind: true,
- alias: 'number'
- },
- 'punctuation': /[@.]/
- }
- },
- 'namespace': {
- pattern: /(?:\b[a-z]\w*\.)+/,
- inside: {
- 'punctuation': /\./
- }
- },
- 'punctuation': /[()/.]/
- }
- },
-
- // ... 32 more
- // ... 32 common frames omitted
- 'more': {
- pattern: /^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,
- lookbehind: true,
- inside: {
- 'punctuation': /\.{3}/,
- 'number': /\d+/,
- 'keyword': /\b[a-z]+(?: [a-z]+)*\b/
- }
- }
-
-};
-
-Prism.languages.jexl = {
- 'string': /(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,
- 'transform': {
- pattern: /(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,
- alias: 'function',
- lookbehind: true
- },
- 'function': /[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,
- 'number': /\b\d+(?:\.\d+)?\b|\B\.\d+\b/,
- 'operator': /[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,
- 'boolean': /\b(?:false|true)\b/,
- 'keyword': /\bin\b/,
- 'punctuation': /[{}[\](),.]/,
-};
-
-Prism.languages.jolie = Prism.languages.extend('clike', {
- 'string': {
- pattern: /(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,
- lookbehind: true,
- greedy: true
- },
- 'class-name': {
- pattern: /((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,
- lookbehind: true
- },
- 'keyword': /\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,
- 'function': /\b[a-z_]\w*(?=[ \t]*[@(])/i,
- 'number': /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,
- 'operator': /-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,
- 'punctuation': /[()[\]{},;.:]/,
- 'builtin': /\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/
-});
-
-Prism.languages.insertBefore('jolie', 'keyword', {
- 'aggregates': {
- pattern: /(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,
- lookbehind: true,
- inside: {
- 'keyword': /\bwith\b/,
- 'class-name': /\w+/,
- 'punctuation': /,/
- }
- },
- 'redirects': {
- pattern: /(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,
- lookbehind: true,
- inside: {
- 'punctuation': /,/,
- 'class-name': /\w+/,
- 'operator': /=>/
- }
- },
- 'property': {
- pattern: /\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/
- }
-});
-
-(function (Prism) {
-
- var interpolation = /\\\((?:[^()]|\([^()]*\))*\)/.source;
- var string = RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g, function () { return interpolation; }));
- var stringInterpolation = {
- 'interpolation': {
- pattern: RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + interpolation),
- lookbehind: true,
- inside: {
- 'content': {
- pattern: /^(\\\()[\s\S]+(?=\)$)/,
- lookbehind: true,
- inside: null // see below
- },
- 'punctuation': /^\\\(|\)$/
- }
- }
- };
-
- var jq = Prism.languages.jq = {
- 'comment': /#.*/,
- 'property': {
- pattern: RegExp(string.source + /(?=\s*:(?!:))/.source),
- lookbehind: true,
- greedy: true,
- inside: stringInterpolation
- },
- 'string': {
- pattern: string,
- lookbehind: true,
- greedy: true,
- inside: stringInterpolation
- },
-
- 'function': {
- pattern: /(\bdef\s+)[a-z_]\w+/i,
- lookbehind: true
- },
-
- 'variable': /\B\$\w+/,
- 'property-literal': {
- pattern: /\b[a-z_]\w*(?=\s*:(?!:))/i,
- alias: 'property'
- },
- 'keyword': /\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'number': /(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,
-
- 'operator': [
- {
- pattern: /\|=?/,
- alias: 'pipe'
- },
- /\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/
- ],
- 'c-style-function': {
- pattern: /\b[a-z_]\w*(?=\s*\()/i,
- alias: 'function'
- },
- 'punctuation': /::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,
- 'dot': {
- pattern: /\./,
- alias: 'important'
- }
- };
-
- stringInterpolation.interpolation.inside.content.inside = jq;
-
-}(Prism));
-
-(function (Prism) {
-
- Prism.languages.typescript = Prism.languages.extend('javascript', {
- 'class-name': {
- pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
- lookbehind: true,
- greedy: true,
- inside: null // see below
- },
- 'builtin': /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/,
- });
-
- // The keywords TypeScript adds to JavaScript
- Prism.languages.typescript.keyword.push(
- /\b(?:abstract|declare|is|keyof|readonly|require)\b/,
- // keywords that have to be followed by an identifier
- /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,
- // This is for `import type *, {}`
- /\btype\b(?=\s*(?:[\{*]|$))/
- );
-
- // doesn't work with TS because TS is too complex
- delete Prism.languages.typescript['parameter'];
- delete Prism.languages.typescript['literal-property'];
-
- // a version of typescript specifically for highlighting types
- var typeInside = Prism.languages.extend('typescript', {});
- delete typeInside['class-name'];
-
- Prism.languages.typescript['class-name'].inside = typeInside;
-
- Prism.languages.insertBefore('typescript', 'function', {
- 'decorator': {
- pattern: /@[$\w\xA0-\uFFFF]+/,
- inside: {
- 'at': {
- pattern: /^@/,
- alias: 'operator'
- },
- 'function': /^[\s\S]+/
- }
- },
- 'generic-function': {
- // e.g. foo<T extends "bar" | "baz">( ...
- pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
- greedy: true,
- inside: {
- 'function': /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
- 'generic': {
- pattern: /<[\s\S]+/, // everything after the first <
- alias: 'class-name',
- inside: typeInside
- }
- }
- }
- });
-
- Prism.languages.ts = Prism.languages.typescript;
-
-}(Prism));
-
-(function (Prism) {
-
- var javascript = Prism.languages.javascript;
-
- var type = /\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source;
- var parameterPrefix = '(@(?:arg|argument|param|property)\\s+(?:' + type + '\\s+)?)';
-
- Prism.languages.jsdoc = Prism.languages.extend('javadoclike', {
- 'parameter': {
- // @param {string} foo - foo bar
- pattern: RegExp(parameterPrefix + /(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),
- lookbehind: true,
- inside: {
- 'punctuation': /\./
- }
- }
- });
-
- Prism.languages.insertBefore('jsdoc', 'keyword', {
- 'optional-parameter': {
- // @param {string} [baz.foo="bar"] foo bar
- pattern: RegExp(parameterPrefix + /\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),
- lookbehind: true,
- inside: {
- 'parameter': {
- pattern: /(^\[)[$\w\xA0-\uFFFF\.]+/,
- lookbehind: true,
- inside: {
- 'punctuation': /\./
- }
- },
- 'code': {
- pattern: /(=)[\s\S]*(?=\]$)/,
- lookbehind: true,
- inside: javascript,
- alias: 'language-javascript'
- },
- 'punctuation': /[=[\]]/
- }
- },
- 'class-name': [
- {
- pattern: RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g, function () { return type; })),
- lookbehind: true,
- inside: {
- 'punctuation': /\./
- }
- },
- {
- pattern: RegExp('(@[a-z]+\\s+)' + type),
- lookbehind: true,
- inside: {
- 'string': javascript.string,
- 'number': javascript.number,
- 'boolean': javascript.boolean,
- 'keyword': Prism.languages.typescript.keyword,
- 'operator': /=>|\.\.\.|[&|?:*]/,
- 'punctuation': /[.,;=<>{}()[\]]/
- }
- }
- ],
- 'example': {
- pattern: /(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,
- lookbehind: true,
- inside: {
- 'code': {
- pattern: /^([\t ]*(?:\*\s*)?)\S.*$/m,
- lookbehind: true,
- inside: javascript,
- alias: 'language-javascript'
- }
- }
- }
- });
-
- Prism.languages.javadoclike.addSupport('javascript', Prism.languages.jsdoc);
-
-}(Prism));
-
-(function (Prism) {
-
- Prism.languages.insertBefore('javascript', 'function-variable', {
- 'method-variable': {
- pattern: RegExp('(\\.\\s*)' + Prism.languages.javascript['function-variable'].pattern.source),
- lookbehind: true,
- alias: ['function-variable', 'method', 'function', 'property-access']
- }
- });
-
- Prism.languages.insertBefore('javascript', 'function', {
- 'method': {
- pattern: RegExp('(\\.\\s*)' + Prism.languages.javascript['function'].source),
- lookbehind: true,
- alias: ['function', 'property-access']
- }
- });
-
- Prism.languages.insertBefore('javascript', 'constant', {
- 'known-class-name': [
- {
- // standard built-ins
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
- pattern: /\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,
- alias: 'class-name'
- },
- {
- // errors
- pattern: /\b(?:[A-Z]\w*)Error\b/,
- alias: 'class-name'
- }
- ]
- });
-
- /**
- * Replaces the `<ID>` placeholder in the given pattern with a pattern for general JS identifiers.
- *
- * @param {string} source
- * @param {string} [flags]
- * @returns {RegExp}
- */
- function withId(source, flags) {
- return RegExp(
- source.replace(/<ID>/g, function () { return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source; }),
- flags);
- }
- Prism.languages.insertBefore('javascript', 'keyword', {
- 'imports': {
- // https://tc39.es/ecma262/#sec-imports
- pattern: withId(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),
- lookbehind: true,
- inside: Prism.languages.javascript
- },
- 'exports': {
- // https://tc39.es/ecma262/#sec-exports
- pattern: withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),
- lookbehind: true,
- inside: Prism.languages.javascript
- }
- });
-
- Prism.languages.javascript['keyword'].unshift(
- {
- pattern: /\b(?:as|default|export|from|import)\b/,
- alias: 'module'
- },
- {
- pattern: /\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,
- alias: 'control-flow'
- },
- {
- pattern: /\bnull\b/,
- alias: ['null', 'nil']
- },
- {
- pattern: /\bundefined\b/,
- alias: 'nil'
- }
- );
-
- Prism.languages.insertBefore('javascript', 'operator', {
- 'spread': {
- pattern: /\.{3}/,
- alias: 'operator'
- },
- 'arrow': {
- pattern: /=>/,
- alias: 'operator'
- }
- });
-
- Prism.languages.insertBefore('javascript', 'punctuation', {
- 'property-access': {
- pattern: withId(/(\.\s*)#?<ID>/.source),
- lookbehind: true
- },
- 'maybe-class-name': {
- pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,
- lookbehind: true
- },
- 'dom': {
- // this contains only a few commonly used DOM variables
- pattern: /\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,
- alias: 'variable'
- },
- 'console': {
- pattern: /\bconsole(?=\s*\.)/,
- alias: 'class-name'
- }
- });
-
-
- // add 'maybe-class-name' to tokens which might be a class name
- var maybeClassNameTokens = ['function', 'function-variable', 'method', 'method-variable', 'property-access'];
-
- for (var i = 0; i < maybeClassNameTokens.length; i++) {
- var token = maybeClassNameTokens[i];
- var value = Prism.languages.javascript[token];
-
- // convert regex to object
- if (Prism.util.type(value) === 'RegExp') {
- value = Prism.languages.javascript[token] = {
- pattern: value
- };
- }
-
- // keep in mind that we don't support arrays
-
- var inside = value.inside || {};
- value.inside = inside;
-
- inside['maybe-class-name'] = /^[A-Z][\s\S]*/;
- }
-
-}(Prism));
-
-// https://www.json.org/json-en.html
-Prism.languages.json = {
- 'property': {
- pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
- lookbehind: true,
- greedy: true
- },
- 'string': {
- pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
- lookbehind: true,
- greedy: true
- },
- 'comment': {
- pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
- greedy: true
- },
- '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;
-
-(function (Prism) {
-
- var string = /("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;
-
- Prism.languages.json5 = Prism.languages.extend('json', {
- 'property': [
- {
- pattern: RegExp(string.source + '(?=\\s*:)'),
- greedy: true
- },
- {
- pattern: /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,
- alias: 'unquoted'
- }
- ],
- 'string': {
- pattern: string,
- greedy: true
- },
- 'number': /[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/
- });
-
-}(Prism));
-
-Prism.languages.jsonp = Prism.languages.extend('json', {
- 'punctuation': /[{}[\]();,.]/
-});
-
-Prism.languages.insertBefore('jsonp', 'punctuation', {
- 'function': /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/
-});
-
-Prism.languages.jsstacktrace = {
- 'error-message': {
- pattern: /^\S.*/m,
- alias: 'string'
- },
-
- 'stack-frame': {
- pattern: /(^[ \t]+)at[ \t].*/m,
- lookbehind: true,
- inside: {
- 'not-my-code': {
- pattern: /^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,
- alias: 'comment'
- },
-
- 'filename': {
- pattern: /(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,
- lookbehind: true,
- alias: 'url'
- },
-
- 'function': {
- pattern: /(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,
- lookbehind: true,
- inside: {
- 'punctuation': /\./
- }
- },
-
- 'punctuation': /[()]/,
-
- 'keyword': /\b(?:at|new)\b/,
-
- 'alias': {
- pattern: /\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,
- alias: 'variable'
- },
-
- 'line-number': {
- pattern: /:\d+(?::\d+)?\b/,
- alias: 'number',
- inside: {
- 'punctuation': /:/
- }
- },
-
- }
- }
-};
-
-(function (Prism) {
-
- var templateString = Prism.languages.javascript['template-string'];
-
- // see the pattern in prism-javascript.js
- var templateLiteralPattern = templateString.pattern.source;
- var interpolationObject = templateString.inside['interpolation'];
- var interpolationPunctuationObject = interpolationObject.inside['interpolation-punctuation'];
- var interpolationPattern = interpolationObject.pattern.source;
-
-
- /**
- * Creates a new pattern to match a template string with a special tag.
- *
- * This will return `undefined` if there is no grammar with the given language id.
- *
- * @param {string} language The language id of the embedded language. E.g. `markdown`.
- * @param {string} tag The regex pattern to match the tag.
- * @returns {object | undefined}
- * @example
- * createTemplate('css', /\bcss/.source);
- */
- function createTemplate(language, tag) {
- if (!Prism.languages[language]) {
- return undefined;
- }
-
- return {
- pattern: RegExp('((?:' + tag + ')\\s*)' + templateLiteralPattern),
- lookbehind: true,
- greedy: true,
- inside: {
- 'template-punctuation': {
- pattern: /^`|`$/,
- alias: 'string'
- },
- 'embedded-code': {
- pattern: /[\s\S]+/,
- alias: language
- }
- }
- };
- }
-
-
- Prism.languages.javascript['template-string'] = [
- // styled-jsx:
- // css`a { color: #25F; }`
- // styled-components:
- // styled.h1`color: red;`
- createTemplate('css', /\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),
-
- // html`<p></p>`
- // div.innerHTML = `<p></p>`
- createTemplate('html', /\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),
-
- // svg`<path fill="#fff" d="M55.37 ..."/>`
- createTemplate('svg', /\bsvg/.source),
-
- // md`# h1`, markdown`## h2`
- createTemplate('markdown', /\b(?:markdown|md)/.source),
-
- // gql`...`, graphql`...`, graphql.experimental`...`
- createTemplate('graphql', /\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),
-
- // sql`...`
- createTemplate('sql', /\bsql/.source),
-
- // vanilla template string
- templateString
- ].filter(Boolean);
-
-
- /**
- * Returns a specific placeholder literal for the given language.
- *
- * @param {number} counter
- * @param {string} language
- * @returns {string}
- */
- function getPlaceholder(counter, language) {
- return '___' + language.toUpperCase() + '_' + counter + '___';
- }
-
- /**
- * Returns the tokens of `Prism.tokenize` but also runs the `before-tokenize` and `after-tokenize` hooks.
- *
- * @param {string} code
- * @param {any} grammar
- * @param {string} language
- * @returns {(string|Token)[]}
- */
- function tokenizeWithHooks(code, grammar, language) {
- var env = {
- code: code,
- grammar: grammar,
- language: language
- };
- Prism.hooks.run('before-tokenize', env);
- env.tokens = Prism.tokenize(env.code, env.grammar);
- Prism.hooks.run('after-tokenize', env);
- return env.tokens;
- }
-
- /**
- * Returns the token of the given JavaScript interpolation expression.
- *
- * @param {string} expression The code of the expression. E.g. `"${42}"`
- * @returns {Token}
- */
- function tokenizeInterpolationExpression(expression) {
- var tempGrammar = {};
- tempGrammar['interpolation-punctuation'] = interpolationPunctuationObject;
-
- /** @type {Array} */
- var tokens = Prism.tokenize(expression, tempGrammar);
- if (tokens.length === 3) {
- /**
- * The token array will look like this
- * [
- * ["interpolation-punctuation", "${"]
- * "..." // JavaScript expression of the interpolation
- * ["interpolation-punctuation", "}"]
- * ]
- */
-
- var args = [1, 1];
- args.push.apply(args, tokenizeWithHooks(tokens[1], Prism.languages.javascript, 'javascript'));
-
- tokens.splice.apply(tokens, args);
- }
-
- return new Prism.Token('interpolation', tokens, interpolationObject.alias, expression);
- }
-
- /**
- * Tokenizes the given code with support for JavaScript interpolation expressions mixed in.
- *
- * This function has 3 phases:
- *
- * 1. Replace all JavaScript interpolation expression with a placeholder.
- * The placeholder will have the syntax of a identify of the target language.
- * 2. Tokenize the code with placeholders.
- * 3. Tokenize the interpolation expressions and re-insert them into the tokenize code.
- * The insertion only works if a placeholder hasn't been "ripped apart" meaning that the placeholder has been
- * tokenized as two tokens by the grammar of the embedded language.
- *
- * @param {string} code
- * @param {object} grammar
- * @param {string} language
- * @returns {Token}
- */
- function tokenizeEmbedded(code, grammar, language) {
- // 1. First filter out all interpolations
-
- // because they might be escaped, we need a lookbehind, so we use Prism
- /** @type {(Token|string)[]} */
- var _tokens = Prism.tokenize(code, {
- 'interpolation': {
- pattern: RegExp(interpolationPattern),
- lookbehind: true
- }
- });
-
- // replace all interpolations with a placeholder which is not in the code already
- var placeholderCounter = 0;
- /** @type {Object<string, string>} */
- var placeholderMap = {};
- var embeddedCode = _tokens.map(function (token) {
- if (typeof token === 'string') {
- return token;
- } else {
- var interpolationExpression = token.content;
-
- var placeholder;
- while (code.indexOf(placeholder = getPlaceholder(placeholderCounter++, language)) !== -1) { /* noop */ }
- placeholderMap[placeholder] = interpolationExpression;
- return placeholder;
- }
- }).join('');
-
-
- // 2. Tokenize the embedded code
-
- var embeddedTokens = tokenizeWithHooks(embeddedCode, grammar, language);
-
-
- // 3. Re-insert the interpolation
-
- var placeholders = Object.keys(placeholderMap);
- placeholderCounter = 0;
-
- /**
- *
- * @param {(Token|string)[]} tokens
- * @returns {void}
- */
- function walkTokens(tokens) {
- for (var i = 0; i < tokens.length; i++) {
- if (placeholderCounter >= placeholders.length) {
- return;
- }
-
- var token = tokens[i];
-
- if (typeof token === 'string' || typeof token.content === 'string') {
- var placeholder = placeholders[placeholderCounter];
- var s = typeof token === 'string' ? token : /** @type {string} */ (token.content);
-
- var index = s.indexOf(placeholder);
- if (index !== -1) {
- ++placeholderCounter;
-
- var before = s.substring(0, index);
- var middle = tokenizeInterpolationExpression(placeholderMap[placeholder]);
- var after = s.substring(index + placeholder.length);
-
- var replacement = [];
- if (before) {
- replacement.push(before);
- }
- replacement.push(middle);
- if (after) {
- var afterTokens = [after];
- walkTokens(afterTokens);
- replacement.push.apply(replacement, afterTokens);
- }
-
- if (typeof token === 'string') {
- tokens.splice.apply(tokens, [i, 1].concat(replacement));
- i += replacement.length - 1;
- } else {
- token.content = replacement;
- }
- }
- } else {
- var content = token.content;
- if (Array.isArray(content)) {
- walkTokens(content);
- } else {
- walkTokens([content]);
- }
- }
- }
- }
- walkTokens(embeddedTokens);
-
- return new Prism.Token(language, embeddedTokens, 'language-' + language, code);
- }
-
- /**
- * The languages for which JS templating will handle tagged template literals.
- *
- * JS templating isn't active for only JavaScript but also related languages like TypeScript, JSX, and TSX.
- */
- var supportedLanguages = {
- 'javascript': true,
- 'js': true,
- 'typescript': true,
- 'ts': true,
- 'jsx': true,
- 'tsx': true,
- };
- Prism.hooks.add('after-tokenize', function (env) {
- if (!(env.language in supportedLanguages)) {
- return;
- }
-
- /**
- * Finds and tokenizes all template strings with an embedded languages.
- *
- * @param {(Token | string)[]} tokens
- * @returns {void}
- */
- function findTemplateStrings(tokens) {
- for (var i = 0, l = tokens.length; i < l; i++) {
- var token = tokens[i];
-
- if (typeof token === 'string') {
- continue;
- }
-
- var content = token.content;
- if (!Array.isArray(content)) {
- if (typeof content !== 'string') {
- findTemplateStrings([content]);
- }
- continue;
- }
-
- if (token.type === 'template-string') {
- /**
- * A JavaScript template-string token will look like this:
- *
- * ["template-string", [
- * ["template-punctuation", "`"],
- * (
- * An array of "string" and "interpolation" tokens. This is the simple string case.
- * or
- * ["embedded-code", "..."] This is the token containing the embedded code.
- * It also has an alias which is the language of the embedded code.
- * ),
- * ["template-punctuation", "`"]
- * ]]
- */
-
- var embedded = content[1];
- if (content.length === 3 && typeof embedded !== 'string' && embedded.type === 'embedded-code') {
- // get string content
- var code = stringContent(embedded);
-
- var alias = embedded.alias;
- var language = Array.isArray(alias) ? alias[0] : alias;
-
- var grammar = Prism.languages[language];
- if (!grammar) {
- // the embedded language isn't registered.
- continue;
- }
-
- content[1] = tokenizeEmbedded(code, grammar, language);
- }
- } else {
- findTemplateStrings(content);
- }
- }
- }
-
- findTemplateStrings(env.tokens);
- });
-
-
- /**
- * Returns the string content of a token or token stream.
- *
- * @param {string | Token | (string | Token)[]} value
- * @returns {string}
- */
- function stringContent(value) {
- if (typeof value === 'string') {
- return value;
- } else if (Array.isArray(value)) {
- return value.map(stringContent).join('');
- } else {
- return stringContent(value.content);
- }
- }
-
-}(Prism));
-
-Prism.languages.julia = {
- 'comment': {
- // support one level of nested comments
- // https://github.com/JuliaLang/julia/pull/6128
- pattern: /(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,
- lookbehind: true
- },
- 'regex': {
- // https://docs.julialang.org/en/v1/manual/strings/#Regular-Expressions-1
- pattern: /r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,
- greedy: true
- },
- 'string': {
- // https://docs.julialang.org/en/v1/manual/strings/#String-Basics-1
- // https://docs.julialang.org/en/v1/manual/strings/#non-standard-string-literals-1
- // https://docs.julialang.org/en/v1/manual/running-external-programs/#Running-External-Programs-1
- pattern: /"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,
- greedy: true
- },
- 'char': {
- // https://docs.julialang.org/en/v1/manual/strings/#man-characters-1
- pattern: /(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,
- lookbehind: true,
- greedy: true
- },
- 'keyword': /\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'number': /(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,
- // https://docs.julialang.org/en/v1/manual/mathematical-operations/
- // https://docs.julialang.org/en/v1/manual/mathematical-operations/#Operator-Precedence-and-Associativity-1
- 'operator': /&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,
- 'punctuation': /::?|[{}[\]();,.?]/,
- // https://docs.julialang.org/en/v1/base/numbers/#Base.im
- 'constant': /\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/
-};
-
-Prism.languages.keepalived = {
- 'comment': {
- pattern: /[#!].*/,
- greedy: true
- },
- 'string': {
- pattern: /(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,
- lookbehind: true,
- greedy: true
- },
-
- // support IPv4, IPv6, subnet mask
- 'ip': {
- pattern: RegExp(
- /\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source
- .replace(/<ipv4>/g, function () { return /(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source; }),
- 'i'
- ),
- alias: 'number'
- },
-
- // support *nix / Windows, directory / file
- 'path': {
- pattern: /(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,
- lookbehind: true,
- alias: 'string',
- },
- 'variable': /\$\{?\w+\}?/,
- 'email': {
- pattern: /[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,
- alias: 'string',
- },
- 'conditional-configuration': {
- pattern: /@\^?[\w-]+/,
- alias: 'variable'
- },
- 'operator': /=/,
-
- 'property': /\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,
-
- 'constant': /\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,
-
- 'number': {
- pattern: /(^|[^\w.-])-?\d+(?:\.\d+)?/,
- lookbehind: true
- },
-
- 'boolean': /\b(?:false|no|off|on|true|yes)\b/,
-
- 'punctuation': /[\{\}]/
-};
-
-Prism.languages.keyman = {
- 'comment': {
- pattern: /\bc .*/i,
- greedy: true
- },
- 'string': {
- pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
- greedy: true
- },
- 'virtual-key': {
- pattern: /\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,
- greedy: true,
- alias: 'function' // alias for styles
- },
-
- // https://help.keyman.com/developer/language/guide/headers
- 'header-keyword': {
- pattern: /&\w+/,
- alias: 'bold' // alias for styles
- },
- 'header-statement': {
- pattern: /\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,
- alias: 'bold' // alias for styles
- },
-
- 'rule-keyword': {
- pattern: /\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,
- alias: 'keyword'
- },
- 'structural-keyword': {
- pattern: /\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,
- alias: 'keyword'
- },
-
- 'compile-target': {
- pattern: /\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,
- alias: 'property'
- },
-
- // U+####, x###, d### characters and numbers
- 'number': /\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,
- 'operator': /[+>\\$]|\.\./,
- 'punctuation': /[()=,]/
-};
-
-(function (Prism) {
- Prism.languages.kotlin = Prism.languages.extend('clike', {
- 'keyword': {
- // The lookbehind prevents wrong highlighting of e.g. kotlin.properties.get
- pattern: /(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,
- lookbehind: true
- },
- 'function': [
- {
- pattern: /(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,
- greedy: true
- },
- {
- pattern: /(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'number': /\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,
- 'operator': /\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/
- });
-
- delete Prism.languages.kotlin['class-name'];
-
- var interpolationInside = {
- 'interpolation-punctuation': {
- pattern: /^\$\{?|\}$/,
- alias: 'punctuation'
- },
- 'expression': {
- pattern: /[\s\S]+/,
- inside: Prism.languages.kotlin
- }
- };
-
- Prism.languages.insertBefore('kotlin', 'string', {
- // https://kotlinlang.org/spec/expressions.html#string-interpolation-expressions
- 'string-literal': [
- {
- pattern: /"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,
- alias: 'multiline',
- inside: {
- 'interpolation': {
- pattern: /\$(?:[a-z_]\w*|\{[^{}]*\})/i,
- inside: interpolationInside
- },
- 'string': /[\s\S]+/
- }
- },
- {
- pattern: /"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,
- alias: 'singleline',
- inside: {
- 'interpolation': {
- pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,
- lookbehind: true,
- inside: interpolationInside
- },
- 'string': /[\s\S]+/
- }
- }
- ],
- 'char': {
- // https://kotlinlang.org/spec/expressions.html#character-literals
- pattern: /'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,
- greedy: true
- }
- });
-
- delete Prism.languages.kotlin['string'];
-
- Prism.languages.insertBefore('kotlin', 'keyword', {
- 'annotation': {
- pattern: /\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,
- alias: 'builtin'
- }
- });
-
- Prism.languages.insertBefore('kotlin', 'function', {
- 'label': {
- pattern: /\b\w+@|@\w+\b/,
- alias: 'symbol'
- }
- });
-
- Prism.languages.kt = Prism.languages.kotlin;
- Prism.languages.kts = Prism.languages.kotlin;
-}(Prism));
-
-/* eslint-disable regexp/no-dupe-characters-character-class */
-(function (Prism) {
-
- /**
- * Regular expression for characters that are not allowed in identifiers.
- *
- * @type {string}
- */
- var nonId = /\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;
-
- /**
- * Surround a regular expression for IDs with patterns for non-ID sequences.
- *
- * @param {string} pattern A regular expression for identifiers.
- * @param {string} [flags] The regular expression flags.
- * @returns {RegExp} A wrapped regular expression for identifiers.
- */
- function wrapId(pattern, flags) {
- return RegExp(pattern.replace(/<nonId>/g, nonId), flags);
- }
-
- Prism.languages.kumir = {
- 'comment': {
- pattern: /\|.*/
- },
-
- 'prolog': {
- pattern: /#.*/,
- greedy: true
- },
-
- 'string': {
- pattern: /"[^\n\r"]*"|'[^\n\r']*'/,
- greedy: true
- },
-
- 'boolean': {
- pattern: wrapId(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),
- lookbehind: true
- },
-
- 'operator-word': {
- pattern: wrapId(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),
- lookbehind: true,
- alias: 'keyword'
- },
-
- 'system-variable': {
- pattern: wrapId(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),
- lookbehind: true,
- alias: 'keyword'
- },
-
- 'type': [
- {
- pattern: wrapId(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),
- lookbehind: true,
- alias: 'builtin'
- },
- {
- pattern: wrapId(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),
- lookbehind: true,
- alias: 'important'
- }
- ],
-
- /**
- * Should be performed after searching for type names because of "таб".
- * "таб" is a reserved word, but never used without a preceding type name.
- * "НАЗНАЧИТЬ", "Фввод", and "Фвывод" are not reserved words.
- */
- 'keyword': {
- pattern: wrapId(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),
- lookbehind: true
- },
-
- /** Should be performed after searching for reserved words. */
- 'name': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: wrapId(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),
- lookbehind: true
- },
-
- /** Should be performed after searching for names. */
- 'number': {
- pattern: wrapId(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source, 'i'),
- lookbehind: true
- },
-
- /** Should be performed after searching for words. */
- 'punctuation': /:=|[(),:;\[\]]/,
-
- /**
- * Should be performed after searching for
- * - numeric constants (because of "+" and "-");
- * - punctuation marks (because of ":=" and "=").
- */
- 'operator-char': {
- pattern: /\*\*?|<[=>]?|>=?|[-+/=]/,
- alias: 'operator'
- }
- };
-
- Prism.languages.kum = Prism.languages.kumir;
-
-}(Prism));
-
-Prism.languages.kusto = {
- 'comment': {
- pattern: /\/\/.*/,
- greedy: true
- },
- 'string': {
- pattern: /```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,
- greedy: true
- },
-
- 'verb': {
- pattern: /(\|\s*)[a-z][\w-]*/i,
- lookbehind: true,
- alias: 'keyword'
- },
-
- 'command': {
- pattern: /\.[a-z][a-z\d-]*\b/,
- alias: 'keyword'
- },
-
- 'class-name': /\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,
- 'keyword': /\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,
- 'boolean': /\b(?:false|null|true)\b/,
-
- 'function': /\b[a-z_]\w*(?=\s*\()/,
-
- 'datetime': [
- {
- // RFC 822 + RFC 850
- pattern: /\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,
- alias: 'number'
- },
- {
- // ISO 8601
- pattern: /[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,
- alias: 'number'
- }
- ],
- 'number': /\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,
-
- 'operator': /=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,
- 'punctuation': /[()\[\]{},;.:]/
-};
-
-(function (Prism) {
- var funcPattern = /\\(?:[^a-z()[\]]|[a-z*]+)/i;
- var insideEqu = {
- 'equation-command': {
- pattern: funcPattern,
- alias: 'regex'
- }
- };
-
- Prism.languages.latex = {
- 'comment': /%.*/,
- // the verbatim environment prints whitespace to the document
- 'cdata': {
- pattern: /(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,
- lookbehind: true
- },
- /*
- * equations can be between $$ $$ or $ $ or \( \) or \[ \]
- * (all are multiline)
- */
- 'equation': [
- {
- pattern: /\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,
- inside: insideEqu,
- alias: 'string'
- },
- {
- pattern: /(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,
- lookbehind: true,
- inside: insideEqu,
- alias: 'string'
- }
- ],
- /*
- * arguments which are keywords or references are highlighted
- * as keywords
- */
- 'keyword': {
- pattern: /(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,
- lookbehind: true
- },
- 'url': {
- pattern: /(\\url\{)[^}]+(?=\})/,
- lookbehind: true
- },
- /*
- * section or chapter headlines are highlighted as bold so that
- * they stand out more
- */
- 'headline': {
- pattern: /(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,
- lookbehind: true,
- alias: 'class-name'
- },
- 'function': {
- pattern: funcPattern,
- alias: 'selector'
- },
- 'punctuation': /[[\]{}&]/
- };
-
- Prism.languages.tex = Prism.languages.latex;
- Prism.languages.context = Prism.languages.latex;
-}(Prism));
-
-(function (Prism) {
- Prism.languages.latte = {
- 'comment': /^\{\*[\s\S]*/,
- 'latte-tag': {
- // https://latte.nette.org/en/tags
- pattern: /(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,
- lookbehind: true,
- alias: 'important'
- },
- 'delimiter': {
- pattern: /^\{\/?|\}$/,
- alias: 'punctuation'
- },
- 'php': {
- pattern: /\S(?:[\s\S]*\S)?/,
- alias: 'language-php',
- inside: Prism.languages.php
- }
- };
-
- var markupLatte = Prism.languages.extend('markup', {});
- Prism.languages.insertBefore('inside', 'attr-value', {
- 'n-attr': {
- pattern: /n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,
- inside: {
- 'attr-name': {
- pattern: /^[^\s=]+/,
- alias: 'important'
- },
- 'attr-value': {
- pattern: /=[\s\S]+/,
- inside: {
- 'punctuation': [
- /^=/,
- {
- pattern: /^(\s*)["']|["']$/,
- lookbehind: true
- }
- ],
- 'php': {
- pattern: /\S(?:[\s\S]*\S)?/,
- inside: Prism.languages.php
- }
- }
- },
- }
- },
- }, markupLatte.tag);
-
- Prism.hooks.add('before-tokenize', function (env) {
- if (env.language !== 'latte') {
- return;
- }
- var lattePattern = /\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;
- Prism.languages['markup-templating'].buildPlaceholders(env, 'latte', lattePattern);
- env.grammar = markupLatte;
- });
-
- Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'latte');
- });
-
-}(Prism));
-
-/* FIXME :
- :extend() is not handled specifically : its highlighting is buggy.
- Mixin usage must be inside a ruleset to be highlighted.
- At-rules (e.g. import) containing interpolations are buggy.
- Detached rulesets are highlighted as at-rules.
- A comment before a mixin usage prevents the latter to be properly highlighted.
- */
-
-Prism.languages.less = Prism.languages.extend('css', {
- 'comment': [
- /\/\*[\s\S]*?\*\//,
- {
- pattern: /(^|[^\\])\/\/.*/,
- lookbehind: true
- }
- ],
- 'atrule': {
- pattern: /@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,
- inside: {
- 'punctuation': /[:()]/
- }
- },
- // selectors and mixins are considered the same
- 'selector': {
- pattern: /(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,
- inside: {
- // mixin parameters
- 'variable': /@+[\w-]+/
- }
- },
-
- 'property': /(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,
- 'operator': /[+\-*\/]/
-});
-
-Prism.languages.insertBefore('less', 'property', {
- 'variable': [
- // Variable declaration (the colon must be consumed!)
- {
- pattern: /@[\w-]+\s*:/,
- inside: {
- 'punctuation': /:/
- }
- },
-
- // Variable usage
- /@@?[\w-]+/
- ],
- 'mixin-usage': {
- pattern: /([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,
- lookbehind: true,
- alias: 'function'
- }
-});
-
-(function (Prism) {
- Prism.languages.scheme = {
- // this supports "normal" single-line comments:
- // ; comment
- // and (potentially nested) multiline comments:
- // #| comment #| nested |# still comment |#
- // (only 1 level of nesting is supported)
- 'comment': /;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,
- 'string': {
- pattern: /"(?:[^"\\]|\\.)*"/,
- greedy: true
- },
- 'symbol': {
- pattern: /'[^()\[\]#'\s]+/,
- greedy: true
- },
- 'char': {
- pattern: /#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,
- greedy: true
- },
- 'lambda-parameter': [
- // https://www.cs.cmu.edu/Groups/AI/html/r4rs/r4rs_6.html#SEC30
- {
- pattern: /((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,
- lookbehind: true
- },
- {
- pattern: /((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,
- lookbehind: true
- }
- ],
- 'keyword': {
- pattern: /((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,
- lookbehind: true
- },
- 'builtin': {
- // all functions of the base library of R7RS plus some of built-ins of R5Rs
- pattern: /((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,
- lookbehind: true
- },
- 'operator': {
- pattern: /((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,
- lookbehind: true
- },
- 'number': {
- // The number pattern from [the R7RS spec](https://small.r7rs.org/attachment/r7rs.pdf).
- //
- // <number> := <num 2>|<num 8>|<num 10>|<num 16>
- // <num R> := <prefix R><complex R>
- // <complex R> := <real R>(?:@<real R>|<imaginary R>)?|<imaginary R>
- // <imaginary R> := [+-](?:<ureal R>|(?:inf|nan)\.0)?i
- // <real R> := [+-]?<ureal R>|[+-](?:inf|nan)\.0
- // <ureal R> := <uint R>(?:\/<uint R>)?
- // | <decimal R>
- //
- // <decimal 10> := (?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?
- // <uint R> := <digit R>+
- // <prefix R> := <radix R>(?:#[ei])?|(?:#[ei])?<radix R>
- // <radix 2> := #b
- // <radix 8> := #o
- // <radix 10> := (?:#d)?
- // <radix 16> := #x
- // <digit 2> := [01]
- // <digit 8> := [0-7]
- // <digit 10> := \d
- // <digit 16> := [0-9a-f]
- //
- // The problem with this grammar is that the resulting regex is way to complex, so we simplify by grouping all
- // non-decimal bases together. This results in a decimal (dec) and combined binary, octal, and hexadecimal (box)
- // pattern:
- pattern: RegExp(SortedBNF({
- '<ureal dec>': /\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,
- '<real dec>': /[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,
- '<imaginary dec>': /[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,
- '<complex dec>': /<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,
- '<num dec>': /(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,
-
- '<ureal box>': /[0-9a-f]+(?:\/[0-9a-f]+)?/.source,
- '<real box>': /[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,
- '<imaginary box>': /[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,
- '<complex box>': /<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,
- '<num box>': /#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,
-
- '<number>': /(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source,
- }), 'i'),
- lookbehind: true
- },
- 'boolean': {
- pattern: /(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,
- lookbehind: true
- },
- 'function': {
- pattern: /((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,
- lookbehind: true
- },
- 'identifier': {
- pattern: /(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,
- lookbehind: true,
- greedy: true
- },
- 'punctuation': /[()\[\]']/
- };
-
- /**
- * Given a topologically sorted BNF grammar, this will return the RegExp source of last rule of the grammar.
- *
- * @param {Record<string, string>} grammar
- * @returns {string}
- */
- function SortedBNF(grammar) {
- for (var key in grammar) {
- grammar[key] = grammar[key].replace(/<[\w\s]+>/g, function (key) {
- return '(?:' + grammar[key].trim() + ')';
- });
- }
- // return the last item
- return grammar[key];
- }
-
-}(Prism));
-
-(function (Prism) {
-
- var schemeExpression = /\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source;
- // allow for up to pow(2, recursivenessLog2) many levels of recursive brace expressions
- // For some reason, this can't be 4
- var recursivenessLog2 = 5;
- for (var i = 0; i < recursivenessLog2; i++) {
- schemeExpression = schemeExpression.replace(/<expr>/g, function () { return schemeExpression; });
- }
- schemeExpression = schemeExpression.replace(/<expr>/g, /[^\s\S]/.source);
-
-
- var lilypond = Prism.languages.lilypond = {
- 'comment': /%(?:(?!\{).*|\{[\s\S]*?%\})/,
- 'embedded-scheme': {
- pattern: RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g, function () { return schemeExpression; }), 'm'),
- lookbehind: true,
- greedy: true,
- inside: {
- 'scheme': {
- pattern: /^(#)[\s\S]+$/,
- lookbehind: true,
- alias: 'language-scheme',
- inside: {
- 'embedded-lilypond': {
- pattern: /#\{[\s\S]*?#\}/,
- greedy: true,
- inside: {
- 'punctuation': /^#\{|#\}$/,
- 'lilypond': {
- pattern: /[\s\S]+/,
- alias: 'language-lilypond',
- inside: null // see below
- }
- }
- },
- rest: Prism.languages.scheme
- }
- },
- 'punctuation': /#/
- }
- },
- 'string': {
- pattern: /"(?:[^"\\]|\\.)*"/,
- greedy: true
- },
- 'class-name': {
- pattern: /(\\new\s+)[\w-]+/,
- lookbehind: true
- },
- 'keyword': {
- pattern: /\\[a-z][-\w]*/i,
- inside: {
- 'punctuation': /^\\/
- }
- },
- 'operator': /[=|]|<<|>>/,
- 'punctuation': {
- pattern: /(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,
- lookbehind: true
- },
- 'number': /\b\d+(?:\/\d+)?\b/
- };
-
- lilypond['embedded-scheme'].inside['scheme'].inside['embedded-lilypond'].inside['lilypond'].inside = lilypond;
-
- Prism.languages.ly = lilypond;
-
-}(Prism));
-
-Prism.languages.liquid = {
- 'comment': {
- pattern: /(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,
- lookbehind: true
- },
- 'delimiter': {
- pattern: /^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,
- alias: 'punctuation'
- },
- 'string': {
- pattern: /"[^"]*"|'[^']*'/,
- greedy: true
- },
- 'keyword': /\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,
- 'object': /\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,
- 'function': [
- {
- pattern: /(\|\s*)\w+/,
- lookbehind: true,
- alias: 'filter'
- },
- {
- // array functions
- pattern: /(\.\s*)(?:first|last|size)/,
- lookbehind: true
- }
- ],
- 'boolean': /\b(?:false|nil|true)\b/,
- 'range': {
- pattern: /\.\./,
- alias: 'operator'
- },
- // https://github.com/Shopify/liquid/blob/698f5e0d967423e013f6169d9111bd969bd78337/lib/liquid/lexer.rb#L21
- 'number': /\b\d+(?:\.\d+)?\b/,
- 'operator': /[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,
- 'punctuation': /[.,\[\]()]/,
- 'empty': {
- pattern: /\bempty\b/,
- alias: 'keyword'
- },
-};
-
-Prism.hooks.add('before-tokenize', function (env) {
- var liquidPattern = /\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g;
- var insideRaw = false;
-
- Prism.languages['markup-templating'].buildPlaceholders(env, 'liquid', liquidPattern, function (match) {
- var tagMatch = /^\{%-?\s*(\w+)/.exec(match);
- if (tagMatch) {
- var tag = tagMatch[1];
- if (tag === 'raw' && !insideRaw) {
- insideRaw = true;
- return true;
- } else if (tag === 'endraw') {
- insideRaw = false;
- return true;
- }
- }
-
- return !insideRaw;
- });
-});
-
-Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'liquid');
-});
-
-(function (Prism) {
- /**
- * Functions to construct regular expressions
- * e.g. (interactive ... or (interactive)
- *
- * @param {string} name
- * @returns {RegExp}
- */
- function simple_form(name) {
- return RegExp(/(\()/.source + '(?:' + name + ')' + /(?=[\s\)])/.source);
- }
- /**
- * booleans and numbers
- *
- * @param {string} pattern
- * @returns {RegExp}
- */
- function primitive(pattern) {
- return RegExp(/([\s([])/.source + '(?:' + pattern + ')' + /(?=[\s)])/.source);
- }
-
- // Patterns in regular expressions
-
- // Symbol name. See https://www.gnu.org/software/emacs/manual/html_node/elisp/Symbol-Type.html
- // & and : are excluded as they are usually used for special purposes
- var symbol = /(?!\d)[-+*/~!@$%^=<>{}\w]+/.source;
- // symbol starting with & used in function arguments
- var marker = '&' + symbol;
- // Open parenthesis for look-behind
- var par = '(\\()';
- var endpar = '(?=\\))';
- // End the pattern with look-ahead space
- var space = '(?=\\s)';
- var nestedPar = /(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source;
-
- var language = {
- // Three or four semicolons are considered a heading.
- // See https://www.gnu.org/software/emacs/manual/html_node/elisp/Comment-Tips.html
- heading: {
- pattern: /;;;.*/,
- alias: ['comment', 'title']
- },
- comment: /;.*/,
- string: {
- pattern: /"(?:[^"\\]|\\.)*"/,
- greedy: true,
- inside: {
- argument: /[-A-Z]+(?=[.,\s])/,
- symbol: RegExp('`' + symbol + "'")
- }
- },
- 'quoted-symbol': {
- pattern: RegExp("#?'" + symbol),
- alias: ['variable', 'symbol']
- },
- 'lisp-property': {
- pattern: RegExp(':' + symbol),
- alias: 'property'
- },
- splice: {
- pattern: RegExp(',@?' + symbol),
- alias: ['symbol', 'variable']
- },
- keyword: [
- {
- pattern: RegExp(
- par +
- '(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)' +
- space
- ),
- lookbehind: true
- },
- {
- pattern: RegExp(
- par + '(?:append|by|collect|concat|do|finally|for|in|return)' + space
- ),
- lookbehind: true
- },
- ],
- declare: {
- pattern: simple_form(/declare/.source),
- lookbehind: true,
- alias: 'keyword'
- },
- interactive: {
- pattern: simple_form(/interactive/.source),
- lookbehind: true,
- alias: 'keyword'
- },
- boolean: {
- pattern: primitive(/nil|t/.source),
- lookbehind: true
- },
- number: {
- pattern: primitive(/[-+]?\d+(?:\.\d*)?/.source),
- lookbehind: true
- },
- defvar: {
- pattern: RegExp(par + 'def(?:const|custom|group|var)\\s+' + symbol),
- lookbehind: true,
- inside: {
- keyword: /^def[a-z]+/,
- variable: RegExp(symbol)
- }
- },
- defun: {
- pattern: RegExp(par + /(?:cl-)?(?:defmacro|defun\*?)\s+/.source + symbol + /\s+\(/.source + nestedPar + /\)/.source),
- lookbehind: true,
- greedy: true,
- inside: {
- keyword: /^(?:cl-)?def\S+/,
- // See below, this property needs to be defined later so that it can
- // reference the language object.
- arguments: null,
- function: {
- pattern: RegExp('(^\\s)' + symbol),
- lookbehind: true
- },
- punctuation: /[()]/
- }
- },
- lambda: {
- pattern: RegExp(par + 'lambda\\s+\\(\\s*(?:&?' + symbol + '(?:\\s+&?' + symbol + ')*\\s*)?\\)'),
- lookbehind: true,
- greedy: true,
- inside: {
- keyword: /^lambda/,
- // See below, this property needs to be defined later so that it can
- // reference the language object.
- arguments: null,
- punctuation: /[()]/
- }
- },
- car: {
- pattern: RegExp(par + symbol),
- lookbehind: true
- },
- punctuation: [
- // open paren, brackets, and close paren
- /(?:['`,]?\(|[)\[\]])/,
- // cons
- {
- pattern: /(\s)\.(?=\s)/,
- lookbehind: true
- },
- ]
- };
-
- var arg = {
- 'lisp-marker': RegExp(marker),
- 'varform': {
- pattern: RegExp(/\(/.source + symbol + /\s+(?=\S)/.source + nestedPar + /\)/.source),
- inside: language
- },
- 'argument': {
- pattern: RegExp(/(^|[\s(])/.source + symbol),
- lookbehind: true,
- alias: 'variable'
- },
- rest: language
- };
-
- var forms = '\\S+(?:\\s+\\S+)*';
-
- var arglist = {
- pattern: RegExp(par + nestedPar + endpar),
- lookbehind: true,
- inside: {
- 'rest-vars': {
- pattern: RegExp('&(?:body|rest)\\s+' + forms),
- inside: arg
- },
- 'other-marker-vars': {
- pattern: RegExp('&(?:aux|optional)\\s+' + forms),
- inside: arg
- },
- keys: {
- pattern: RegExp('&key\\s+' + forms + '(?:\\s+&allow-other-keys)?'),
- inside: arg
- },
- argument: {
- pattern: RegExp(symbol),
- alias: 'variable'
- },
- punctuation: /[()]/
- }
- };
-
- language['lambda'].inside.arguments = arglist;
- language['defun'].inside.arguments = Prism.util.clone(arglist);
- language['defun'].inside.arguments.inside.sublist = arglist;
-
- Prism.languages.lisp = language;
- Prism.languages.elisp = language;
- Prism.languages.emacs = language;
- Prism.languages['emacs-lisp'] = language;
-}(Prism));
-
-Prism.languages.livescript = {
- 'comment': [
- {
- pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
- lookbehind: true
- },
- {
- pattern: /(^|[^\\])#.*/,
- lookbehind: true
- }
- ],
- 'interpolated-string': {
- /* Look-behind and look-ahead prevents wrong behavior of the greedy pattern
- * forcing it to match """-quoted string when it would otherwise match "-quoted first. */
- pattern: /(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'variable': {
- pattern: /(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,
- lookbehind: true
- },
- 'interpolation': {
- pattern: /(^|[^\\])#\{[^}]+\}/m,
- lookbehind: true,
- inside: {
- 'interpolation-punctuation': {
- pattern: /^#\{|\}$/,
- alias: 'variable'
- }
- // See rest below
- }
- },
- 'string': /[\s\S]+/
- }
- },
- 'string': [
- {
- pattern: /('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,
- greedy: true
- },
- {
- pattern: /<\[[\s\S]*?\]>/,
- greedy: true
- },
- /\\[^\s,;\])}]+/
- ],
- 'regex': [
- {
- pattern: /\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,
- greedy: true,
- inside: {
- 'comment': {
- pattern: /(^|[^\\])#.*/,
- lookbehind: true
- }
- }
- },
- {
- pattern: /\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,
- greedy: true
- }
- ],
- 'keyword': {
- pattern: /(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,
- lookbehind: true
- },
- 'keyword-operator': {
- pattern: /(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,
- lookbehind: true,
- alias: 'operator'
- },
- 'boolean': {
- pattern: /(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,
- lookbehind: true
- },
- 'argument': {
- // Don't match .&. nor &&
- pattern: /(^|(?!\.&\.)[^&])&(?!&)\d*/m,
- lookbehind: true,
- alias: 'variable'
- },
- 'number': /\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,
- 'identifier': /[a-z_](?:-?[a-z]|[\d_])*/i,
- 'operator': [
- // Spaced .
- {
- pattern: /( )\.(?= )/,
- lookbehind: true
- },
- // Full list, in order:
- // .= .~ .. ...
- // .&. .^. .<<. .>>. .>>>.
- // := :: ::=
- // &&
- // || |>
- // < << <<< <<<<
- // <- <-- <-! <--!
- // <~ <~~ <~! <~~!
- // <| <= <?
- // > >> >= >?
- // - -- -> -->
- // + ++
- // @ @@
- // % %%
- // * **
- // ! != !~=
- // !~> !~~>
- // !-> !-->
- // ~ ~> ~~> ~=
- // = ==
- // ^ ^^
- // / ?
- /\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/
- ],
- 'punctuation': /[(){}\[\]|.,:;`]/
-};
-
-Prism.languages.livescript['interpolated-string'].inside['interpolation'].inside.rest = Prism.languages.livescript;
-
-(function (Prism) {
- Prism.languages.llvm = {
- 'comment': /;.*/,
- 'string': {
- pattern: /"[^"]*"/,
- greedy: true,
- },
- 'boolean': /\b(?:false|true)\b/,
- 'variable': /[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,
- 'label': /(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,
- 'type': {
- pattern: /\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,
- alias: 'class-name',
- },
- 'keyword': /\b[a-z_][a-z_0-9]*\b/,
- 'number': /[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,
- 'punctuation': /[{}[\];(),.!*=<>]/,
- };
-}(Prism));
-
-// This is a language definition for generic log files.
-// Since there is no one log format, this language definition has to support all formats to some degree.
-//
-// Based on https://github.com/MTDL9/vim-log-highlighting
-
-Prism.languages.log = {
- 'string': {
- // Single-quoted strings must not be confused with plain text. E.g. Can't isn't Susan's Chris' toy
- pattern: /"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,
- greedy: true,
- },
-
- 'exception': {
- pattern: /(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,
- lookbehind: true,
- greedy: true,
- alias: ['javastacktrace', 'language-javastacktrace'],
- inside: Prism.languages['javastacktrace'] || {
- 'keyword': /\bat\b/,
- 'function': /[a-z_][\w$]*(?=\()/,
- 'punctuation': /[.:()]/
- }
- },
-
- 'level': [
- {
- pattern: /\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,
- alias: ['error', 'important']
- },
- {
- pattern: /\b(?:WARN|WARNING|WRN)\b/,
- alias: ['warning', 'important']
- },
- {
- pattern: /\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,
- alias: ['info', 'keyword']
- },
- {
- pattern: /\b(?:DBG|DEBUG|FINE)\b/,
- alias: ['debug', 'keyword']
- },
- {
- pattern: /\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,
- alias: ['trace', 'comment']
- }
- ],
-
- 'property': {
- pattern: /((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,
- lookbehind: true
- },
-
- 'separator': {
- pattern: /(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,
- lookbehind: true,
- alias: 'comment'
- },
-
- 'url': /\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,
- 'email': {
- pattern: /(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,
- lookbehind: true,
- alias: 'url'
- },
-
- 'ip-address': {
- pattern: /\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,
- alias: 'constant'
- },
- 'mac-address': {
- pattern: /\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,
- alias: 'constant'
- },
- 'domain': {
- pattern: /(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,
- lookbehind: true,
- alias: 'constant'
- },
-
- 'uuid': {
- pattern: /\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,
- alias: 'constant'
- },
- 'hash': {
- pattern: /\b(?:[a-f0-9]{32}){1,2}\b/i,
- alias: 'constant'
- },
-
- 'file-path': {
- pattern: /\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,
- lookbehind: true,
- greedy: true,
- alias: 'string'
- },
-
- 'date': {
- pattern: RegExp(
- /\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source +
- '|' +
- /\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source +
- '|' +
- /\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,
- 'i'
- ),
- alias: 'number'
- },
- 'time': {
- pattern: /\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,
- alias: 'number'
- },
-
- 'boolean': /\b(?:false|null|true)\b/i,
- 'number': {
- pattern: /(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,
- lookbehind: true
- },
-
- 'operator': /[;:?<=>~/@!$%&+\-|^(){}*#]/,
- 'punctuation': /[\[\].,]/
-};
-
-Prism.languages.lolcode = {
- 'comment': [
- /\bOBTW\s[\s\S]*?\sTLDR\b/,
- /\bBTW.+/
- ],
- 'string': {
- pattern: /"(?::.|[^":])*"/,
- inside: {
- 'variable': /:\{[^}]+\}/,
- 'symbol': [
- /:\([a-f\d]+\)/i,
- /:\[[^\]]+\]/,
- /:[)>o":]/
- ]
- },
- greedy: true
- },
- 'number': /(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,
- 'symbol': {
- pattern: /(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,
- lookbehind: true,
- inside: {
- 'keyword': /A(?=\s)/
- }
- },
- 'label': {
- pattern: /((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,
- lookbehind: true,
- alias: 'string'
- },
- 'function': {
- pattern: /((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,
- lookbehind: true
- },
- 'keyword': [
- {
- pattern: /(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,
- lookbehind: true
- },
- /'Z(?=\s|,|$)/
- ],
- 'boolean': {
- pattern: /(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,
- lookbehind: true
- },
- 'variable': {
- pattern: /(^|\s)IT(?=\s|,|$)/,
- lookbehind: true
- },
- 'operator': {
- pattern: /(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,
- lookbehind: true
- },
- 'punctuation': /\.{3}|…|,|!/
-};
-
-Prism.languages.magma = {
- 'output': {
- pattern: /^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,
- lookbehind: true,
- greedy: true
- },
-
- 'comment': {
- pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
- greedy: true
- },
- 'string': {
- pattern: /(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,
- lookbehind: true,
- greedy: true
- },
-
- // http://magma.maths.usyd.edu.au/magma/handbook/text/82
- 'keyword': /\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,
- 'boolean': /\b(?:false|true)\b/,
-
- 'generator': {
- pattern: /\b[a-z_]\w*(?=\s*<)/i,
- alias: 'class-name'
- },
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
-
- 'number': {
- pattern: /(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,
- lookbehind: true
- },
-
- 'operator': /->|[-+*/^~!|#=]|:=|\.\./,
- 'punctuation': /[()[\]{}<>,;.:]/
-};
-
-Prism.languages.makefile = {
- 'comment': {
- pattern: /(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,
- lookbehind: true
- },
- 'string': {
- pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
-
- 'builtin-target': {
- pattern: /\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,
- alias: 'builtin'
- },
-
- 'target': {
- pattern: /^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,
- alias: 'symbol',
- inside: {
- 'variable': /\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/
- }
- },
- 'variable': /\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,
-
- // Directives
- 'keyword': /-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,
-
- 'function': {
- pattern: /(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,
- lookbehind: true
- },
- 'operator': /(?:::|[?:+!])?=|[|@]/,
- 'punctuation': /[:;(){}]/
-};
-
-(function (Prism) {
-
- // Allow only one line break
- var inner = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
-
- /**
- * This function is intended for the creation of the bold or italic pattern.
- *
- * This also adds a lookbehind group to the given pattern to ensure that the pattern is not backslash-escaped.
- *
- * _Note:_ Keep in mind that this adds a capturing group.
- *
- * @param {string} pattern
- * @returns {RegExp}
- */
- function createInline(pattern) {
- pattern = pattern.replace(/<inner>/g, function () { return inner; });
- return RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + '(?:' + pattern + ')');
- }
-
-
- var tableCell = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source;
- var tableRow = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function () { return tableCell; });
- var tableLine = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;
-
-
- Prism.languages.markdown = Prism.languages.extend('markup', {});
- Prism.languages.insertBefore('markdown', 'prolog', {
- 'front-matter-block': {
- pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'punctuation': /^---|---$/,
- 'front-matter': {
- pattern: /\S+(?:\s+\S+)*/,
- alias: ['yaml', 'language-yaml'],
- inside: Prism.languages.yaml
- }
- }
- },
- 'blockquote': {
- // > ...
- pattern: /^>(?:[\t ]*>)*/m,
- alias: 'punctuation'
- },
- 'table': {
- pattern: RegExp('^' + tableRow + tableLine + '(?:' + tableRow + ')*', 'm'),
- inside: {
- 'table-data-rows': {
- pattern: RegExp('^(' + tableRow + tableLine + ')(?:' + tableRow + ')*$'),
- lookbehind: true,
- inside: {
- 'table-data': {
- pattern: RegExp(tableCell),
- inside: Prism.languages.markdown
- },
- 'punctuation': /\|/
- }
- },
- 'table-line': {
- pattern: RegExp('^(' + tableRow + ')' + tableLine + '$'),
- lookbehind: true,
- inside: {
- 'punctuation': /\||:?-{3,}:?/
- }
- },
- 'table-header-row': {
- pattern: RegExp('^' + tableRow + '$'),
- inside: {
- 'table-header': {
- pattern: RegExp(tableCell),
- alias: 'important',
- inside: Prism.languages.markdown
- },
- 'punctuation': /\|/
- }
- }
- }
- },
- 'code': [
- {
- // Prefixed by 4 spaces or 1 tab and preceded by an empty line
- pattern: /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,
- lookbehind: true,
- alias: 'keyword'
- },
- {
- // ```optional language
- // code block
- // ```
- pattern: /^```[\s\S]*?^```$/m,
- greedy: true,
- inside: {
- 'code-block': {
- pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,
- lookbehind: true
- },
- 'code-language': {
- pattern: /^(```).+/,
- lookbehind: true
- },
- 'punctuation': /```/
- }
- }
- ],
- 'title': [
- {
- // title 1
- // =======
-
- // title 2
- // -------
- pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,
- alias: 'important',
- inside: {
- punctuation: /==+$|--+$/
- }
- },
- {
- // # title 1
- // ###### title 6
- pattern: /(^\s*)#.+/m,
- lookbehind: true,
- alias: 'important',
- inside: {
- punctuation: /^#+|#+$/
- }
- }
- ],
- 'hr': {
- // ***
- // ---
- // * * *
- // -----------
- pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,
- lookbehind: true,
- alias: 'punctuation'
- },
- 'list': {
- // * item
- // + item
- // - item
- // 1. item
- pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,
- lookbehind: true,
- alias: 'punctuation'
- },
- 'url-reference': {
- // [id]: http://example.com "Optional title"
- // [id]: http://example.com 'Optional title'
- // [id]: http://example.com (Optional title)
- // [id]: <http://example.com> "Optional title"
- pattern: /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,
- inside: {
- 'variable': {
- pattern: /^(!?\[)[^\]]+/,
- lookbehind: true
- },
- 'string': /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,
- 'punctuation': /^[\[\]!:]|[<>]/
- },
- alias: 'url'
- },
- 'bold': {
- // **strong**
- // __strong__
-
- // allow one nested instance of italic text using the same delimiter
- pattern: createInline(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),
- lookbehind: true,
- greedy: true,
- inside: {
- 'content': {
- pattern: /(^..)[\s\S]+(?=..$)/,
- lookbehind: true,
- inside: {} // see below
- },
- 'punctuation': /\*\*|__/
- }
- },
- 'italic': {
- // *em*
- // _em_
-
- // allow one nested instance of bold text using the same delimiter
- pattern: createInline(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),
- lookbehind: true,
- greedy: true,
- inside: {
- 'content': {
- pattern: /(^.)[\s\S]+(?=.$)/,
- lookbehind: true,
- inside: {} // see below
- },
- 'punctuation': /[*_]/
- }
- },
- 'strike': {
- // ~~strike through~~
- // ~strike~
- // eslint-disable-next-line regexp/strict
- pattern: createInline(/(~~?)(?:(?!~)<inner>)+\2/.source),
- lookbehind: true,
- greedy: true,
- inside: {
- 'content': {
- pattern: /(^~~?)[\s\S]+(?=\1$)/,
- lookbehind: true,
- inside: {} // see below
- },
- 'punctuation': /~~?/
- }
- },
- 'code-snippet': {
- // `code`
- // ``code``
- pattern: /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,
- lookbehind: true,
- greedy: true,
- alias: ['code', 'keyword']
- },
- 'url': {
- // [example](http://example.com "Optional title")
- // [example][id]
- // [example] [id]
- pattern: createInline(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),
- lookbehind: true,
- greedy: true,
- inside: {
- 'operator': /^!/,
- 'content': {
- pattern: /(^\[)[^\]]+(?=\])/,
- lookbehind: true,
- inside: {} // see below
- },
- 'variable': {
- pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/,
- lookbehind: true
- },
- 'url': {
- pattern: /(^\]\()[^\s)]+/,
- lookbehind: true
- },
- 'string': {
- pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,
- lookbehind: true
- }
- }
- }
- });
-
- ['url', 'bold', 'italic', 'strike'].forEach(function (token) {
- ['url', 'bold', 'italic', 'strike', 'code-snippet'].forEach(function (inside) {
- if (token !== inside) {
- Prism.languages.markdown[token].inside.content.inside[inside] = Prism.languages.markdown[inside];
- }
- });
- });
-
- Prism.hooks.add('after-tokenize', function (env) {
- if (env.language !== 'markdown' && env.language !== 'md') {
- return;
- }
-
- function walkTokens(tokens) {
- if (!tokens || typeof tokens === 'string') {
- return;
- }
-
- for (var i = 0, l = tokens.length; i < l; i++) {
- var token = tokens[i];
-
- if (token.type !== 'code') {
- walkTokens(token.content);
- continue;
- }
-
- /*
- * Add the correct `language-xxxx` class to this code block. Keep in mind that the `code-language` token
- * is optional. But the grammar is defined so that there is only one case we have to handle:
- *
- * token.content = [
- * <span class="punctuation">```</span>,
- * <span class="code-language">xxxx</span>,
- * '\n', // exactly one new lines (\r or \n or \r\n)
- * <span class="code-block">...</span>,
- * '\n', // exactly one new lines again
- * <span class="punctuation">```</span>
- * ];
- */
-
- var codeLang = token.content[1];
- var codeBlock = token.content[3];
-
- if (codeLang && codeBlock &&
- codeLang.type === 'code-language' && codeBlock.type === 'code-block' &&
- typeof codeLang.content === 'string') {
-
- // this might be a language that Prism does not support
-
- // do some replacements to support C++, C#, and F#
- var lang = codeLang.content.replace(/\b#/g, 'sharp').replace(/\b\+\+/g, 'pp');
- // only use the first word
- lang = (/[a-z][\w-]*/i.exec(lang) || [''])[0].toLowerCase();
- var alias = 'language-' + lang;
-
- // add alias
- if (!codeBlock.alias) {
- codeBlock.alias = [alias];
- } else if (typeof codeBlock.alias === 'string') {
- codeBlock.alias = [codeBlock.alias, alias];
- } else {
- codeBlock.alias.push(alias);
- }
- }
- }
- }
-
- walkTokens(env.tokens);
- });
-
- Prism.hooks.add('wrap', function (env) {
- if (env.type !== 'code-block') {
- return;
- }
-
- var codeLang = '';
- for (var i = 0, l = env.classes.length; i < l; i++) {
- var cls = env.classes[i];
- var match = /language-(.+)/.exec(cls);
- if (match) {
- codeLang = match[1];
- break;
- }
- }
-
- var grammar = Prism.languages[codeLang];
-
- if (!grammar) {
- if (codeLang && codeLang !== 'none' && Prism.plugins.autoloader) {
- var id = 'md-' + new Date().valueOf() + '-' + Math.floor(Math.random() * 1e16);
- env.attributes['id'] = id;
-
- Prism.plugins.autoloader.loadLanguages(codeLang, function () {
- var ele = document.getElementById(id);
- if (ele) {
- ele.innerHTML = Prism.highlight(ele.textContent, Prism.languages[codeLang], codeLang);
- }
- });
- }
- } else {
- env.content = Prism.highlight(textContent(env.content), grammar, codeLang);
- }
- });
-
- var tagPattern = RegExp(Prism.languages.markup.tag.pattern.source, 'gi');
-
- /**
- * A list of known entity names.
- *
- * This will always be incomplete to save space. The current list is the one used by lowdash's unescape function.
- *
- * @see {@link https://github.com/lodash/lodash/blob/2da024c3b4f9947a48517639de7560457cd4ec6c/unescape.js#L2}
- */
- var KNOWN_ENTITY_NAMES = {
- 'amp': '&',
- 'lt': '<',
- 'gt': '>',
- 'quot': '"',
- };
-
- // IE 11 doesn't support `String.fromCodePoint`
- var fromCodePoint = String.fromCodePoint || String.fromCharCode;
-
- /**
- * Returns the text content of a given HTML source code string.
- *
- * @param {string} html
- * @returns {string}
- */
- function textContent(html) {
- // remove all tags
- var text = html.replace(tagPattern, '');
-
- // decode known entities
- text = text.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function (m, code) {
- code = code.toLowerCase();
-
- if (code[0] === '#') {
- var value;
- if (code[1] === 'x') {
- value = parseInt(code.slice(2), 16);
- } else {
- value = Number(code.slice(1));
- }
-
- return fromCodePoint(value);
- } else {
- var known = KNOWN_ENTITY_NAMES[code];
- if (known) {
- return known;
- }
-
- // unable to decode
- return m;
- }
- });
-
- return text;
- }
-
- Prism.languages.md = Prism.languages.markdown;
-
-}(Prism));
-
-// https://www.stata.com/manuals/m.pdf
-
-(function (Prism) {
-
- var orgType = /\b(?:(?:col|row)?vector|matrix|scalar)\b/.source;
- var type = /\bvoid\b|<org>|\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*<org>)?/.source
- .replace(/<org>/g, orgType);
-
- Prism.languages.mata = {
- 'comment': {
- pattern: /\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,
- greedy: true
- },
- 'string': {
- pattern: /"[^"\r\n]*"|[‘`']".*?"[’`']/,
- greedy: true
- },
-
- 'class-name': {
- pattern: /(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,
- lookbehind: true
- },
- 'type': {
- pattern: RegExp(type),
- alias: 'class-name',
- inside: {
- 'punctuation': /[()]/,
- 'keyword': /\b(?:class|function|struct|void)\b/
- }
- },
- 'keyword': /\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,
- 'constant': /\bNULL\b/,
-
- 'number': {
- pattern: /(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,
- lookbehind: true
- },
- 'missing': {
- pattern: /(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,
- lookbehind: true,
- alias: 'symbol'
- },
-
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
-
- 'operator': /\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,
- 'punctuation': /[()[\]{},;.]/
- };
-
-}(Prism));
-
-Prism.languages.matlab = {
- 'comment': [
- /%\{[\s\S]*?\}%/,
- /%.+/
- ],
- 'string': {
- pattern: /\B'(?:''|[^'\r\n])*'/,
- greedy: true
- },
- // FIXME We could handle imaginary numbers as a whole
- 'number': /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,
- 'keyword': /\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,
- 'function': /\b(?!\d)\w+(?=\s*\()/,
- 'operator': /\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,
- 'punctuation': /\.{3}|[.,;\[\](){}!]/
-};
-
-(function (Prism) {
-
- var keywords = /\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;
-
-
- Prism.languages.maxscript = {
- 'comment': {
- pattern: /\/\*[\s\S]*?(?:\*\/|$)|--.*/,
- greedy: true
- },
- 'string': {
- pattern: /(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,
- lookbehind: true,
- greedy: true
- },
- 'path': {
- pattern: /\$(?:[\w/\\.*?]|'[^']*')*/,
- greedy: true,
- alias: 'string'
- },
-
- 'function-call': {
- pattern: RegExp(
- '((?:' + (
- // start of line
- /^/.source +
- '|' +
- // operators and other language constructs
- /[;=<>+\-*/^({\[]/.source +
- '|' +
- // keywords as part of statements
- /\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source
- ) + ')[ \t]*)' +
-
- '(?!' + keywords.source + ')' + /[a-z_]\w*\b/.source +
-
- '(?=[ \t]*(?:' + (
- // variable
- '(?!' + keywords.source + ')' + /[a-z_]/.source +
- '|' +
- // number
- /\d|-\.?\d/.source +
- '|' +
- // other expressions or literals
- /[({'"$@#?]/.source
- ) + '))',
- 'im'
- ),
- lookbehind: true,
- greedy: true,
- alias: 'function'
- },
-
- 'function-definition': {
- pattern: /(\b(?:fn|function)\s+)\w+\b/i,
- lookbehind: true,
- alias: 'function'
- },
-
- 'argument': {
- pattern: /\b[a-z_]\w*(?=:)/i,
- alias: 'attr-name'
- },
-
- 'keyword': keywords,
- 'boolean': /\b(?:false|true)\b/,
-
- 'time': {
- pattern: /(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,
- lookbehind: true,
- alias: 'number'
- },
- 'number': [
- {
- pattern: /(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,
- lookbehind: true
- },
- /\b(?:e|pi)\b/
- ],
-
- 'constant': /\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,
- 'color': {
- pattern: /\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,
- alias: 'constant'
- },
-
- 'operator': /[-+*/<>=!]=?|[&^?]|#(?!\()/,
- 'punctuation': /[()\[\]{}.:,;]|#(?=\()|\\$/m
- };
-
-}(Prism));
-
-Prism.languages.mel = {
- 'comment': {
- pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
- greedy: true
- },
- 'code': {
- pattern: /`(?:\\.|[^\\`])*`/,
- greedy: true,
- alias: 'italic',
- inside: {
- 'delimiter': {
- pattern: /^`|`$/,
- alias: 'punctuation'
- },
- 'statement': {
- pattern: /[\s\S]+/,
- inside: null // see below
- }
- }
- },
- 'string': {
- pattern: /"(?:\\.|[^\\"\r\n])*"/,
- greedy: true
- },
- 'variable': /\$\w+/,
- 'number': /\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,
- 'flag': {
- pattern: /-[^\d\W]\w*/,
- alias: 'operator'
- },
- 'keyword': /\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,
- 'function': {
- pattern: /((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,
- lookbehind: true,
- greedy: true
- },
-
- 'tensor-punctuation': {
- pattern: /<<|>>/,
- alias: 'punctuation'
- },
- 'operator': /\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,
- 'punctuation': /[.,:;?\[\](){}]/
-};
-
-Prism.languages.mel['code'].inside['statement'].inside = Prism.languages.mel;
-
-Prism.languages.mermaid = {
- 'comment': {
- pattern: /%%.*/,
- greedy: true
- },
-
- 'style': {
- pattern: /^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,
- lookbehind: true,
- inside: {
- 'property': /\b\w[\w-]*(?=[ \t]*:)/,
- 'operator': /:/,
- 'punctuation': /,/
- }
- },
-
- 'inter-arrow-label': {
- pattern: /([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'arrow': {
- pattern: /(?:\.+->?|--+[->]|==+[=>])$/,
- alias: 'operator'
- },
- 'label': {
- pattern: /^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,
- lookbehind: true,
- alias: 'property'
- },
- 'arrow-head': {
- pattern: /^\S+/,
- alias: ['arrow', 'operator']
- }
- }
- },
-
- 'arrow': [
- // This might look complex but it really isn't.
- // There are many possible arrows (see tests) and it's impossible to fit all of them into one pattern. The
- // problem is that we only have one lookbehind per pattern. However, we cannot disallow too many arrow
- // characters in the one lookbehind because that would create too many false negatives. So we have to split the
- // arrows into different patterns.
- {
- // ER diagram
- pattern: /(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,
- lookbehind: true,
- alias: 'operator'
- },
- {
- // flow chart
- // (?:==+|--+|-\.*-)
- pattern: /(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,
- lookbehind: true,
- alias: 'operator'
- },
- {
- // sequence diagram
- pattern: /(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,
- lookbehind: true,
- alias: 'operator'
- },
- {
- // class diagram
- pattern: /(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,
- lookbehind: true,
- alias: 'operator'
- },
- ],
-
- 'label': {
- pattern: /(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,
- lookbehind: true,
- greedy: true,
- alias: 'property'
- },
-
- 'text': {
- pattern: /(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,
- alias: 'string'
- },
- 'string': {
- pattern: /"[^"\r\n]*"/,
- greedy: true
- },
-
- 'annotation': {
- pattern: /<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,
- alias: 'important'
- },
-
- 'keyword': [
- // This language has both case-sensitive and case-insensitive keywords
- {
- pattern: /(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,
- lookbehind: true,
- greedy: true
- },
- {
- pattern: /(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,
- lookbehind: true,
- greedy: true
- }
- ],
-
- 'entity': /#[a-z0-9]+;/,
-
- 'operator': {
- pattern: /(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,
- lookbehind: true
- },
- 'punctuation': /[(){};]/
-};
-
-Prism.languages.mizar = {
- 'comment': /::.+/,
- 'keyword': /@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,
- 'parameter': {
- pattern: /\$(?:10|\d)/,
- alias: 'variable'
- },
- 'variable': /\b\w+(?=:)/,
- 'number': /(?:\b|-)\d+\b/,
- 'operator': /\.\.\.|->|&|\.?=/,
- 'punctuation': /\(#|#\)|[,:;\[\](){}]/
-};
-
-(function (Prism) {
-
- var operators = [
- // query and projection
- '$eq', '$gt', '$gte', '$in', '$lt', '$lte', '$ne', '$nin', '$and', '$not', '$nor', '$or',
- '$exists', '$type', '$expr', '$jsonSchema', '$mod', '$regex', '$text', '$where', '$geoIntersects',
- '$geoWithin', '$near', '$nearSphere', '$all', '$elemMatch', '$size', '$bitsAllClear', '$bitsAllSet',
- '$bitsAnyClear', '$bitsAnySet', '$comment', '$elemMatch', '$meta', '$slice',
-
- // update
- '$currentDate', '$inc', '$min', '$max', '$mul', '$rename', '$set', '$setOnInsert', '$unset',
- '$addToSet', '$pop', '$pull', '$push', '$pullAll', '$each', '$position', '$slice', '$sort', '$bit',
-
- // aggregation pipeline stages
- '$addFields', '$bucket', '$bucketAuto', '$collStats', '$count', '$currentOp', '$facet', '$geoNear',
- '$graphLookup', '$group', '$indexStats', '$limit', '$listLocalSessions', '$listSessions', '$lookup',
- '$match', '$merge', '$out', '$planCacheStats', '$project', '$redact', '$replaceRoot', '$replaceWith',
- '$sample', '$set', '$skip', '$sort', '$sortByCount', '$unionWith', '$unset', '$unwind', '$setWindowFields',
-
- // aggregation pipeline operators
- '$abs', '$accumulator', '$acos', '$acosh', '$add', '$addToSet', '$allElementsTrue', '$and',
- '$anyElementTrue', '$arrayElemAt', '$arrayToObject', '$asin', '$asinh', '$atan', '$atan2',
- '$atanh', '$avg', '$binarySize', '$bsonSize', '$ceil', '$cmp', '$concat', '$concatArrays', '$cond',
- '$convert', '$cos', '$dateFromParts', '$dateToParts', '$dateFromString', '$dateToString', '$dayOfMonth',
- '$dayOfWeek', '$dayOfYear', '$degreesToRadians', '$divide', '$eq', '$exp', '$filter', '$first',
- '$floor', '$function', '$gt', '$gte', '$hour', '$ifNull', '$in', '$indexOfArray', '$indexOfBytes',
- '$indexOfCP', '$isArray', '$isNumber', '$isoDayOfWeek', '$isoWeek', '$isoWeekYear', '$last',
- '$last', '$let', '$literal', '$ln', '$log', '$log10', '$lt', '$lte', '$ltrim', '$map', '$max',
- '$mergeObjects', '$meta', '$min', '$millisecond', '$minute', '$mod', '$month', '$multiply', '$ne',
- '$not', '$objectToArray', '$or', '$pow', '$push', '$radiansToDegrees', '$range', '$reduce',
- '$regexFind', '$regexFindAll', '$regexMatch', '$replaceOne', '$replaceAll', '$reverseArray', '$round',
- '$rtrim', '$second', '$setDifference', '$setEquals', '$setIntersection', '$setIsSubset', '$setUnion',
- '$size', '$sin', '$slice', '$split', '$sqrt', '$stdDevPop', '$stdDevSamp', '$strcasecmp', '$strLenBytes',
- '$strLenCP', '$substr', '$substrBytes', '$substrCP', '$subtract', '$sum', '$switch', '$tan',
- '$toBool', '$toDate', '$toDecimal', '$toDouble', '$toInt', '$toLong', '$toObjectId', '$toString',
- '$toLower', '$toUpper', '$trim', '$trunc', '$type', '$week', '$year', '$zip', '$count', '$dateAdd',
- '$dateDiff', '$dateSubtract', '$dateTrunc', '$getField', '$rand', '$sampleRate', '$setField', '$unsetField',
-
- // aggregation pipeline query modifiers
- '$comment', '$explain', '$hint', '$max', '$maxTimeMS', '$min', '$orderby', '$query',
- '$returnKey', '$showDiskLoc', '$natural',
- ];
-
- var builtinFunctions = [
- 'ObjectId',
- 'Code',
- 'BinData',
- 'DBRef',
- 'Timestamp',
- 'NumberLong',
- 'NumberDecimal',
- 'MaxKey',
- 'MinKey',
- 'RegExp',
- 'ISODate',
- 'UUID',
- ];
-
- operators = operators.map(function (operator) {
- return operator.replace('$', '\\$');
- });
-
- var operatorsSource = '(?:' + operators.join('|') + ')\\b';
-
- Prism.languages.mongodb = Prism.languages.extend('javascript', {});
-
- Prism.languages.insertBefore('mongodb', 'string', {
- 'property': {
- pattern: /(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,
- greedy: true,
- inside: {
- 'keyword': RegExp('^([\'"])?' + operatorsSource + '(?:\\1)?$')
- }
- }
- });
-
- Prism.languages.mongodb.string.inside = {
- url: {
- // url pattern
- pattern: /https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,
- greedy: true
- },
- entity: {
- // ipv4
- pattern: /\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,
- greedy: true
- }
- };
-
- Prism.languages.insertBefore('mongodb', 'constant', {
- 'builtin': {
- pattern: RegExp('\\b(?:' + builtinFunctions.join('|') + ')\\b'),
- alias: 'keyword'
- }
- });
-
-}(Prism));
-
-Prism.languages.monkey = {
- 'comment': {
- pattern: /^#Rem\s[\s\S]*?^#End|'.+/im,
- greedy: true
- },
- 'string': {
- pattern: /"[^"\r\n]*"/,
- greedy: true,
- },
- 'preprocessor': {
- pattern: /(^[ \t]*)#.+/m,
- lookbehind: true,
- greedy: true,
- alias: 'property'
- },
-
- 'function': /\b\w+(?=\()/,
- 'type-char': {
- pattern: /\b[?%#$]/,
- alias: 'class-name'
- },
- 'number': {
- pattern: /((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,
- lookbehind: true
- },
- 'keyword': /\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,
- 'operator': /\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,
- 'punctuation': /[.,:;()\[\]]/
-};
-
-Prism.languages.moonscript = {
- 'comment': /--.*/,
- 'string': [
- {
- pattern: /'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,
- greedy: true
- },
- {
- pattern: /"[^"]*"/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /#\{[^{}]*\}/,
- inside: {
- 'moonscript': {
- pattern: /(^#\{)[\s\S]+(?=\})/,
- lookbehind: true,
- inside: null // see beow
- },
- 'interpolation-punctuation': {
- pattern: /#\{|\}/,
- alias: 'punctuation'
- }
- }
- }
- }
- }
- ],
- 'class-name': [
- {
- pattern: /(\b(?:class|extends)[ \t]+)\w+/,
- lookbehind: true
- },
- // class-like names start with a capital letter
- /\b[A-Z]\w*/
- ],
- 'keyword': /\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,
- 'variable': /@@?\w*/,
- 'property': {
- pattern: /\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,
- lookbehind: true
- },
- 'function': {
- pattern: /\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,
- inside: {
- 'punctuation': /\./
- }
- },
- 'boolean': /\b(?:false|true)\b/,
- 'number': /(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,
- 'operator': /\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,
- 'punctuation': /[.,()[\]{}\\]/
-};
-
-Prism.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside = Prism.languages.moonscript;
-
-Prism.languages.moon = Prism.languages.moonscript;
-
-// https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/index.html
-
-Prism.languages.n1ql = {
- 'comment': {
- pattern: /\/\*[\s\S]*?(?:$|\*\/)|--.*/,
- greedy: true,
- },
- 'string': {
- pattern: /(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,
- greedy: true,
- },
- 'identifier': {
- pattern: /`(?:\\[\s\S]|[^\\`]|``)*`/,
- greedy: true,
- },
- 'parameter': /\$[\w.]+/,
- // https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/reservedwords.html#n1ql-reserved-words
- 'keyword': /\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
- 'boolean': /\b(?:FALSE|TRUE)\b/i,
- 'number': /(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,
- 'operator': /[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,
- 'punctuation': /[;[\](),.{}:]/
-};
-
-Prism.languages.n4js = Prism.languages.extend('javascript', {
- // Keywords from N4JS language spec: https://numberfour.github.io/n4js/spec/N4JSSpec.html
- 'keyword': /\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/
-});
-
-Prism.languages.insertBefore('n4js', 'constant', {
- // Annotations in N4JS spec: https://numberfour.github.io/n4js/spec/N4JSSpec.html#_annotations
- 'annotation': {
- pattern: /@+\w+/,
- alias: 'operator'
- }
-});
-
-Prism.languages.n4jsd = Prism.languages.n4js;
-
-Prism.languages['nand2tetris-hdl'] = {
- 'comment': /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
- 'keyword': /\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'function': /\b[A-Za-z][A-Za-z0-9]*(?=\()/,
- 'number': /\b\d+\b/,
- 'operator': /=|\.\./,
- 'punctuation': /[{}[\];(),:]/
-};
-
-(function (Prism) {
-
- var expressionDef = /\{[^\r\n\[\]{}]*\}/;
-
- var params = {
- 'quoted-string': {
- pattern: /"(?:[^"\\]|\\.)*"/,
- alias: 'operator'
- },
- 'command-param-id': {
- pattern: /(\s)\w+:/,
- lookbehind: true,
- alias: 'property'
- },
- 'command-param-value': [
- {
- pattern: expressionDef,
- alias: 'selector',
- },
- {
- pattern: /([\t ])\S+/,
- lookbehind: true,
- greedy: true,
- alias: 'operator',
- },
- {
- pattern: /\S(?:.*\S)?/,
- alias: 'operator',
- }
- ]
- };
-
- Prism.languages.naniscript = {
- // ; ...
- 'comment': {
- pattern: /^([\t ]*);.*/m,
- lookbehind: true,
- },
- // > ...
- // Define is a control line starting with '>' followed by a word, a space and a text.
- 'define': {
- pattern: /^>.+/m,
- alias: 'tag',
- inside: {
- 'value': {
- pattern: /(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,
- lookbehind: true,
- alias: 'operator'
- },
- 'key': {
- pattern: /(^>)\w+/,
- lookbehind: true,
- }
- }
- },
- // # ...
- 'label': {
- pattern: /^([\t ]*)#[\t ]*\w+[\t ]*$/m,
- lookbehind: true,
- alias: 'regex'
- },
- 'command': {
- pattern: /^([\t ]*)@\w+(?=[\t ]|$).*/m,
- lookbehind: true,
- alias: 'function',
- inside: {
- 'command-name': /^@\w+/,
- 'expression': {
- pattern: expressionDef,
- greedy: true,
- alias: 'selector'
- },
- 'command-params': {
- pattern: /\s*\S[\s\S]*/,
- inside: params
- },
- }
- },
- // Generic is any line that doesn't start with operators: ;>#@
- 'generic-text': {
- pattern: /(^[ \t]*)[^#@>;\s].*/m,
- lookbehind: true,
- alias: 'punctuation',
- inside: {
- // \{ ... \} ... \[ ... \] ... \"
- 'escaped-char': /\\[{}\[\]"]/,
- 'expression': {
- pattern: expressionDef,
- greedy: true,
- alias: 'selector'
- },
- 'inline-command': {
- pattern: /\[[\t ]*\w[^\r\n\[\]]*\]/,
- greedy: true,
- alias: 'function',
- inside: {
- 'command-params': {
- pattern: /(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,
- lookbehind: true,
- inside: params
- },
- 'command-param-name': {
- pattern: /^(\[[\t ]*)\w+/,
- lookbehind: true,
- alias: 'name',
- },
- 'start-stop-char': /[\[\]]/,
- }
- },
- }
- }
- };
- Prism.languages.nani = Prism.languages['naniscript'];
-
- /** @typedef {InstanceType<import("./prism-core")["Token"]>} Token */
-
- /**
- * This hook is used to validate generic-text tokens for balanced brackets.
- * Mark token as bad-line when contains not balanced brackets: {},[]
- */
- Prism.hooks.add('after-tokenize', function (env) {
- /** @type {(Token | string)[]} */
- var tokens = env.tokens;
- tokens.forEach(function (token) {
- if (typeof token !== 'string' && token.type === 'generic-text') {
- var content = getTextContent(token);
- if (!isBracketsBalanced(content)) {
- token.type = 'bad-line';
- token.content = content;
- }
- }
- });
- });
-
- /**
- * @param {string} input
- * @returns {boolean}
- */
- function isBracketsBalanced(input) {
- var brackets = '[]{}';
- var stack = [];
- for (var i = 0; i < input.length; i++) {
- var bracket = input[i];
- var bracketsIndex = brackets.indexOf(bracket);
- if (bracketsIndex !== -1) {
- if (bracketsIndex % 2 === 0) {
- stack.push(bracketsIndex + 1);
- } else if (stack.pop() !== bracketsIndex) {
- return false;
- }
- }
- }
- return stack.length === 0;
- }
-
- /**
- * @param {string | Token | (string | Token)[]} token
- * @returns {string}
- */
- function getTextContent(token) {
- if (typeof token === 'string') {
- return token;
- } else if (Array.isArray(token)) {
- return token.map(getTextContent).join('');
- } else {
- return getTextContent(token.content);
- }
- }
-
-}(Prism));
-
-Prism.languages.nasm = {
- 'comment': /;.*$/m,
- 'string': /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
- 'label': {
- pattern: /(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,
- lookbehind: true,
- alias: 'function'
- },
- 'keyword': [
- /\[?BITS (?:16|32|64)\]?/,
- {
- pattern: /(^\s*)section\s*[a-z.]+:?/im,
- lookbehind: true
- },
- /(?:extern|global)[^;\r\n]*/i,
- /(?:CPU|DEFAULT|FLOAT).*$/m
- ],
- 'register': {
- pattern: /\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,
- alias: 'variable'
- },
- 'number': /(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,
- 'operator': /[\[\]*+\-\/%<>=&|$!]/
-};
-
-Prism.languages.neon = {
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
- 'datetime': {
- pattern: /(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,
- lookbehind: true,
- alias: 'number'
- },
- 'key': {
- pattern: /(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,
- lookbehind: true,
- alias: 'property'
- },
- 'number': {
- pattern: /(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,
- lookbehind: true
- },
- 'boolean': {
- pattern: /(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,
- lookbehind: true
- },
- 'null': {
- pattern: /(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,
- lookbehind: true,
- alias: 'keyword'
- },
- 'string': {
- pattern: /(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,
- lookbehind: true,
- greedy: true
- },
- 'literal': {
- pattern: /(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,
- lookbehind: true,
- alias: 'string',
- },
- 'punctuation': /[,:=[\]{}()-]/,
-};
-
-Prism.languages.nevod = {
- 'comment': /\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,
- 'string': {
- pattern: /(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,
- greedy: true,
- inside: {
- 'string-attrs': /!$|!\*$|\*$/,
- },
- },
- 'namespace': {
- pattern: /(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,
- lookbehind: true,
- },
- 'pattern': {
- pattern: /(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,
- lookbehind: true,
- inside: {
- 'pattern-name': {
- pattern: /^#?[a-zA-Z0-9\-.]+/,
- alias: 'class-name',
- },
- 'fields': {
- pattern: /\(.*\)/,
- inside: {
- 'field-name': {
- pattern: /[a-zA-Z0-9\-.]+/,
- alias: 'variable',
- },
- 'punctuation': /[,()]/,
- 'operator': {
- pattern: /~/,
- alias: 'field-hidden-mark',
- },
- },
- },
- },
- },
- 'search': {
- pattern: /(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,
- alias: 'function',
- lookbehind: true,
- },
- 'keyword': /@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,
- 'standard-pattern': {
- pattern: /\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,
- inside: {
- 'standard-pattern-name': {
- pattern: /^[a-zA-Z0-9\-.]+/,
- alias: 'builtin',
- },
- 'quantifier': {
- pattern: /\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,
- alias: 'number',
- },
- 'standard-pattern-attr': {
- pattern: /[a-zA-Z0-9\-.]+/,
- alias: 'builtin',
- },
- 'punctuation': /[,()]/,
- },
- },
- 'quantifier': {
- pattern: /\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,
- alias: 'number',
- },
- 'operator': [
- {
- pattern: /=/,
- alias: 'pattern-def',
- },
- {
- pattern: /&/,
- alias: 'conjunction',
- },
- {
- pattern: /~/,
- alias: 'exception',
- },
- {
- pattern: /\?/,
- alias: 'optionality',
- },
- {
- pattern: /[[\]]/,
- alias: 'repetition',
- },
- {
- pattern: /[{}]/,
- alias: 'variation',
- },
- {
- pattern: /[+_]/,
- alias: 'sequence',
- },
- {
- pattern: /\.{2,3}/,
- alias: 'span',
- },
- ],
- 'field-capture': [
- {
- pattern: /([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,
- lookbehind: true,
- inside: {
- 'field-name': {
- pattern: /[a-zA-Z0-9\-.]+/,
- alias: 'variable',
- },
- 'colon': /:/,
- },
- },
- {
- pattern: /[a-zA-Z0-9\-.]+\s*:/,
- inside: {
- 'field-name': {
- pattern: /[a-zA-Z0-9\-.]+/,
- alias: 'variable',
- },
- 'colon': /:/,
- },
- },
- ],
- 'punctuation': /[:;,()]/,
- 'name': /[a-zA-Z0-9\-.]+/
-};
-
-(function (Prism) {
-
- var variable = /\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;
-
- Prism.languages.nginx = {
- 'comment': {
- pattern: /(^|[\s{};])#.*/,
- lookbehind: true,
- greedy: true
- },
- 'directive': {
- pattern: /(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'string': {
- pattern: /((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'escape': {
- pattern: /\\["'\\nrt]/,
- alias: 'entity'
- },
- 'variable': variable
- }
- },
- 'comment': {
- pattern: /(\s)#.*/,
- lookbehind: true,
- greedy: true
- },
- 'keyword': {
- pattern: /^\S+/,
- greedy: true
- },
-
- // other patterns
-
- 'boolean': {
- pattern: /(\s)(?:off|on)(?!\S)/,
- lookbehind: true
- },
- 'number': {
- pattern: /(\s)\d+[a-z]*(?!\S)/i,
- lookbehind: true
- },
- 'variable': variable
- }
- },
- 'punctuation': /[{};]/
- };
-
-}(Prism));
-
-Prism.languages.nim = {
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
- 'string': {
- // Double-quoted strings can be prefixed by an identifier (Generalized raw string literals)
- pattern: /(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,
- greedy: true
- },
- 'char': {
- // Character literals are handled specifically to prevent issues with numeric type suffixes
- pattern: /'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,
- greedy: true
- },
-
- 'function': {
- pattern: /(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,
- greedy: true,
- inside: {
- 'operator': /\*$/
- }
- },
- // We don't want to highlight operators (and anything really) inside backticks
- 'identifier': {
- pattern: /`[^`\r\n]+`/,
- greedy: true,
- inside: {
- 'punctuation': /`/
- }
- },
-
- // The negative look ahead prevents wrong highlighting of the .. operator
- 'number': /\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,
- 'keyword': /\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,
- 'operator': {
- // Look behind and look ahead prevent wrong highlighting of punctuations [. .] {. .} (. .)
- // but allow the slice operator .. to take precedence over them
- // One can define his own operators in Nim so all combination of operators might be an operator.
- pattern: /(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,
- lookbehind: true
- },
- 'punctuation': /[({\[]\.|\.[)}\]]|[`(){}\[\],:]/
-};
-
-Prism.languages.nix = {
- 'comment': {
- pattern: /\/\*[\s\S]*?\*\/|#.*/,
- greedy: true
- },
- 'string': {
- pattern: /"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,
- greedy: true,
- inside: {
- 'interpolation': {
- // The lookbehind ensures the ${} is not preceded by \ or ''
- pattern: /(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,
- lookbehind: true,
- inside: null // see below
- }
- }
- },
- 'url': [
- /\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,
- {
- pattern: /([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,
- lookbehind: true
- }
- ],
- 'antiquotation': {
- pattern: /\$(?=\{)/,
- alias: 'important'
- },
- 'number': /\b\d+\b/,
- 'keyword': /\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,
- 'function': /\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,
- 'boolean': /\b(?:false|true)\b/,
- 'operator': /[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,
- 'punctuation': /[{}()[\].,:;]/
-};
-
-Prism.languages.nix.string.inside.interpolation.inside = Prism.languages.nix;
-
-/**
- * Original by Jan T. Sott (http://github.com/idleberg)
- *
- * Includes all commands and plug-ins shipped with NSIS 3.08
- */
-Prism.languages.nsis = {
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,
- lookbehind: true,
- greedy: true
- },
- 'string': {
- pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
- 'keyword': {
- pattern: /(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,
- lookbehind: true
- },
- 'property': /\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|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/,
- 'constant': /\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,
- 'variable': /\$\w[\w\.]*/,
- 'number': /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
- 'operator': /--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,
- 'punctuation': /[{}[\];(),.:]/,
- 'important': {
- pattern: /(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,
- lookbehind: true
- }
-};
-
-Prism.languages.objectivec = Prism.languages.extend('c', {
- 'string': {
- pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
- greedy: true
- },
- 'keyword': /\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,
- 'operator': /-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/
-});
-
-delete Prism.languages.objectivec['class-name'];
-
-Prism.languages.objc = Prism.languages.objectivec;
-
-// https://ocaml.org/manual/lex.html
-
-Prism.languages.ocaml = {
- 'comment': {
- pattern: /\(\*[\s\S]*?\*\)/,
- greedy: true
- },
- 'char': {
- pattern: /'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,
- greedy: true
- },
- 'string': [
- {
- pattern: /"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,
- greedy: true
- },
- {
- pattern: /\{([a-z_]*)\|[\s\S]*?\|\1\}/,
- greedy: true
- }
- ],
- 'number': [
- // binary and octal
- /\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,
- // hexadecimal
- /\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,
- // decimal
- /\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i,
- ],
- 'directive': {
- pattern: /\B#\w+/,
- alias: 'property'
- },
- 'label': {
- pattern: /\B~\w+/,
- alias: 'property'
- },
- 'type-variable': {
- pattern: /\B'\w+/,
- alias: 'function'
- },
- 'variant': {
- pattern: /`\w+/,
- alias: 'symbol'
- },
- // For the list of keywords and operators,
- // see: http://caml.inria.fr/pub/docs/manual-ocaml/lex.html#sec84
- 'keyword': /\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,
- 'boolean': /\b(?:false|true)\b/,
-
- 'operator-like-punctuation': {
- pattern: /\[[<>|]|[>|]\]|\{<|>\}/,
- alias: 'punctuation'
- },
- // Custom operators are allowed
- 'operator': /\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,
- 'punctuation': /;;|::|[(){}\[\].,:;#]|\b_\b/
-};
-
-(function (Prism) {
- var escapes = /\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;
-
- Prism.languages.odin = {
- /**
- * The current implementation supports only 1 level of nesting.
- *
- * @author Michael Schmidt
- * @author edukisto
- */
- 'comment': [
- {
- pattern: /\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,
- greedy: true
- },
- {
- pattern: /#![^\n\r]*/,
- greedy: true
- },
- {
- pattern: /\/\/[^\n\r]*/,
- greedy: true
- }
- ],
-
- /**
- * Should be found before strings because of '"'"- and '`'`-like sequences.
- */
- 'char': {
- pattern: /'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,
- greedy: true,
- inside: {
- 'symbol': escapes
- }
- },
-
- 'string': [
- {
- pattern: /`[^`]*`/,
- greedy: true
- },
- {
- pattern: /"(?:\\.|[^\n\r"\\])*"/,
- greedy: true,
- inside: {
- 'symbol': escapes
- }
- }
- ],
-
- 'directive': {
- pattern: /#\w+/,
- alias: 'property'
- },
-
- 'number': /\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,
-
- 'discard': {
- pattern: /\b_\b/,
- alias: 'keyword'
- },
-
- 'procedure-definition': {
- pattern: /\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,
- alias: 'function'
- },
-
- 'keyword': /\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,
-
- /**
- * false, nil, true can be used as procedure names. "_" and keywords can't.
- */
- 'procedure-name': {
- pattern: /\b\w+(?=[ \t]*\()/,
- alias: 'function'
- },
-
- 'boolean': /\b(?:false|nil|true)\b/,
-
- 'constant-parameter-sign': {
- pattern: /\$/,
- alias: 'important'
- },
-
- 'undefined': {
- pattern: /---/,
- alias: 'operator'
- },
-
- 'arrow': {
- pattern: /->/,
- alias: 'punctuation'
- },
-
- 'operator': /\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,
-
- 'punctuation': /[(),.:;@\[\]{}]/
- };
-}(Prism));
-
-(function (Prism) {
- /* OpenCL kernel language */
- Prism.languages.opencl = Prism.languages.extend('c', {
- // Extracted from the official specs (2.0) and http://streamcomputing.eu/downloads/?opencl.lang (opencl-keywords, opencl-types) and http://sourceforge.net/tracker/?func=detail&aid=2957794&group_id=95717&atid=612384 (Words2, partly Words3)
- 'keyword': /\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,
- // Extracted from http://streamcomputing.eu/downloads/?opencl.lang (opencl-const)
- // Math Constants: https://www.khronos.org/registry/OpenCL/sdk/2.1/docs/man/xhtml/mathConstants.html
- // Macros and Limits: https://www.khronos.org/registry/OpenCL/sdk/2.1/docs/man/xhtml/macroLimits.html
- 'number': /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,
- 'boolean': /\b(?:false|true)\b/,
- 'constant-opencl-kernel': {
- pattern: /\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,
- alias: 'constant'
- }
- });
-
- Prism.languages.insertBefore('opencl', 'class-name', {
- // https://www.khronos.org/registry/OpenCL/sdk/2.1/docs/man/xhtml/scalarDataTypes.html
- // https://www.khronos.org/registry/OpenCL/sdk/2.1/docs/man/xhtml/otherDataTypes.html
- 'builtin-type': {
- pattern: /\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,
- alias: 'keyword'
- }
- });
-
- var attributes = {
- // Extracted from http://streamcomputing.eu/downloads/?opencl_host.lang (opencl-types and opencl-host)
- 'type-opencl-host': {
- pattern: /\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,
- alias: 'keyword'
- },
- 'boolean-opencl-host': {
- pattern: /\bCL_(?:FALSE|TRUE)\b/,
- alias: 'boolean'
- },
- // Extracted from cl.h (2.0) and http://streamcomputing.eu/downloads/?opencl_host.lang (opencl-const)
- 'constant-opencl-host': {
- pattern: /\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,
- alias: 'constant'
- },
- // Extracted from cl.h (2.0) and http://streamcomputing.eu/downloads/?opencl_host.lang (opencl-host)
- 'function-opencl-host': {
- pattern: /\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,
- alias: 'function'
- }
- };
-
- /* OpenCL host API */
- Prism.languages.insertBefore('c', 'keyword', attributes);
-
- // C++ includes everything from the OpenCL C host API plus the classes defined in cl2.h
- if (Prism.languages.cpp) {
- // Extracted from doxygen class list http://github.khronos.org/OpenCL-CLHPP/annotated.html
- attributes['type-opencl-host-cpp'] = {
- pattern: /\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,
- alias: 'keyword'
- };
-
- Prism.languages.insertBefore('cpp', 'keyword', attributes);
- }
-}(Prism));
-
-// https://qiskit.github.io/openqasm/grammar/index.html
-
-Prism.languages.openqasm = {
- 'comment': /\/\*[\s\S]*?\*\/|\/\/.*/,
- 'string': {
- pattern: /"[^"\r\n\t]*"|'[^'\r\n\t]*'/,
- greedy: true
- },
-
- 'keyword': /\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,
- 'class-name': /\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,
- 'function': /\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,
-
- 'constant': /\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,
- 'number': {
- pattern: /(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,
- lookbehind: true
- },
- 'operator': /->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,
- 'punctuation': /[(){}\[\];,:.]/
-};
-
-Prism.languages.qasm = Prism.languages.openqasm;
-
-Prism.languages.oz = {
- 'comment': {
- pattern: /\/\*[\s\S]*?\*\/|%.*/,
- greedy: true
- },
- 'string': {
- pattern: /"(?:[^"\\]|\\[\s\S])*"/,
- greedy: true
- },
- 'atom': {
- pattern: /'(?:[^'\\]|\\[\s\S])*'/,
- greedy: true,
- alias: 'builtin'
- },
- 'keyword': /\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,
- 'function': [
- /\b[a-z][A-Za-z\d]*(?=\()/,
- {
- pattern: /(\{)[A-Z][A-Za-z\d]*\b/,
- lookbehind: true
- }
- ],
- 'number': /\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,
- 'variable': /`(?:[^`\\]|\\.)+`/,
- 'attr-name': /\b\w+(?=[ \t]*:(?![:=]))/,
- 'operator': /:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,
- 'punctuation': /[\[\](){}.:;?]/
-};
-
-Prism.languages.parigp = {
- 'comment': /\/\*[\s\S]*?\*\/|\\\\.*/,
- 'string': {
- pattern: /"(?:[^"\\\r\n]|\\.)*"/,
- greedy: true
- },
- // PARI/GP does not care about white spaces at all
- // so let's process the keywords to build an appropriate regexp
- // (e.g. "b *r *e *a *k", etc.)
- 'keyword': (function () {
- var keywords = [
- 'breakpoint', 'break', 'dbg_down', 'dbg_err', 'dbg_up', 'dbg_x',
- 'forcomposite', 'fordiv', 'forell', 'forpart', 'forprime',
- 'forstep', 'forsubgroup', 'forvec', 'for', 'iferr', 'if',
- 'local', 'my', 'next', 'return', 'until', 'while'
- ];
- keywords = keywords.map(function (keyword) {
- return keyword.split('').join(' *');
- }).join('|');
- return RegExp('\\b(?:' + keywords + ')\\b');
- }()),
- 'function': /\b\w(?:[\w ]*\w)?(?= *\()/,
- 'number': {
- // The lookbehind and the negative lookahead prevent from breaking the .. operator
- pattern: /((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,
- lookbehind: true
- },
- 'operator': /\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,
- 'punctuation': /[\[\]{}().,:;|]/
-};
-
-(function (Prism) {
-
- var parser = Prism.languages.parser = Prism.languages.extend('markup', {
- 'keyword': {
- pattern: /(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,
- lookbehind: true
- },
- 'variable': {
- pattern: /(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,
- lookbehind: true,
- inside: {
- 'punctuation': /\.|:+/
- }
- },
- 'function': {
- pattern: /(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,
- lookbehind: true,
- inside: {
- 'keyword': {
- pattern: /(^@)(?:GET_|SET_)/,
- lookbehind: true
- },
- 'punctuation': /\.|:+/
- }
- },
- 'escape': {
- pattern: /\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,
- alias: 'builtin'
- },
- 'punctuation': /[\[\](){};]/
- });
-
- parser = Prism.languages.insertBefore('parser', 'keyword', {
- 'parser-comment': {
- pattern: /(\s)#.*/,
- lookbehind: true,
- alias: 'comment'
- },
- 'expression': {
- // Allow for 3 levels of depth
- pattern: /(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,
- greedy: true,
- lookbehind: true,
- inside: {
- 'string': {
- pattern: /(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,
- lookbehind: true
- },
- 'keyword': parser.keyword,
- 'variable': parser.variable,
- 'function': parser.function,
- 'boolean': /\b(?:false|true)\b/,
- 'number': /\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,
- 'escape': parser.escape,
- 'operator': /[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,
- 'punctuation': parser.punctuation
- }
- }
- });
-
- Prism.languages.insertBefore('inside', 'punctuation', {
- 'expression': parser.expression,
- 'keyword': parser.keyword,
- 'variable': parser.variable,
- 'function': parser.function,
- 'escape': parser.escape,
- 'parser-punctuation': {
- pattern: parser.punctuation,
- alias: 'punctuation'
- }
- }, parser['tag'].inside['attr-value']);
-
-}(Prism));
-
-// Based on Free Pascal
-
-/* TODO
- Support inline asm ?
-*/
-
-Prism.languages.pascal = {
- 'directive': {
- pattern: /\{\$[\s\S]*?\}/,
- greedy: true,
- alias: ['marco', 'property']
- },
- 'comment': {
- pattern: /\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,
- greedy: true
- },
- 'string': {
- pattern: /(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,
- greedy: true
- },
- 'asm': {
- pattern: /(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,
- lookbehind: true,
- greedy: true,
- inside: null // see below
- },
- 'keyword': [
- {
- // Turbo Pascal
- pattern: /(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,
- lookbehind: true
- },
- {
- // Free Pascal
- pattern: /(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,
- lookbehind: true
- },
- {
- // Object Pascal
- pattern: /(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,
- lookbehind: true
- },
- {
- // Modifiers
- pattern: /(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,
- lookbehind: true
- }
- ],
- 'number': [
- // Hexadecimal, octal and binary
- /(?:[&%]\d+|\$[a-f\d]+)/i,
- // Decimal
- /\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i
- ],
- 'operator': [
- /\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,
- {
- pattern: /(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,
- lookbehind: true
- }
- ],
- 'punctuation': /\(\.|\.\)|[()\[\]:;,.]/
-};
-
-Prism.languages.pascal.asm.inside = Prism.languages.extend('pascal', {
- 'asm': undefined,
- 'keyword': undefined,
- 'operator': undefined
-});
-
-Prism.languages.objectpascal = Prism.languages.pascal;
-
-(function (Prism) {
-
- // Pascaligo is a layer 2 smart contract language for the tezos blockchain
-
- var braces = /\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source;
- var type = /(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g, function () { return braces; });
-
- var pascaligo = Prism.languages.pascaligo = {
- 'comment': /\(\*[\s\S]+?\*\)|\/\/.*/,
- 'string': {
- pattern: /(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,
- greedy: true
- },
- 'class-name': [
- {
- pattern: RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g, function () { return type; }), 'i'),
- lookbehind: true,
- inside: null // see below
- },
- {
- pattern: RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g, function () { return type; }), 'i'),
- inside: null // see below
- },
- {
- pattern: RegExp(/(:\s*)<type>/.source.replace(/<type>/g, function () { return type; })),
- lookbehind: true,
- inside: null // see below
- }
- ],
- 'keyword': {
- pattern: /(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,
- lookbehind: true
- },
- 'boolean': {
- pattern: /(^|[^&])\b(?:False|True)\b/i,
- lookbehind: true
- },
- 'builtin': {
- pattern: /(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,
- lookbehind: true
- },
- 'function': /\b\w+(?=\s*\()/,
- 'number': [
- // Hexadecimal, octal and binary
- /%[01]+|&[0-7]+|\$[a-f\d]+/i,
- // Decimal
- /\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i
- ],
- 'operator': /->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,
- 'punctuation': /\(\.|\.\)|[()\[\]:;,.{}]/
- };
-
- var classNameInside = ['comment', 'keyword', 'builtin', 'operator', 'punctuation'].reduce(function (accum, key) {
- accum[key] = pascaligo[key];
- return accum;
- }, {});
-
- pascaligo['class-name'].forEach(function (p) {
- p.inside = classNameInside;
- });
-
-}(Prism));
-
-Prism.languages.psl = {
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
- 'string': {
- pattern: /"(?:\\.|[^\\"])*"/,
- greedy: true,
- inside: {
- 'symbol': /\\[ntrbA-Z"\\]/
- }
- },
- 'heredoc-string': {
- pattern: /<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,
- alias: 'string',
- greedy: true
- },
- 'keyword': /\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,
- 'constant': /\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,
- 'boolean': /\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,
- 'variable': /\b(?:PslDebug|errno|exit_status)\b/,
- 'builtin': {
- pattern: /\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,
- alias: 'builtin-function'
- },
- 'foreach-variable': {
- pattern: /(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,
- lookbehind: true,
- greedy: true
- },
- 'function': /\b[_a-z]\w*\b(?=\s*\()/i,
- 'number': /\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,
- 'operator': /--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,
- 'punctuation': /[(){}\[\];,]/
-};
-
-Prism.languages.pcaxis = {
- 'string': /"[^"]*"/,
- 'keyword': {
- pattern: /((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'keyword': /^[-A-Z\d]+/,
- 'language': {
- pattern: /^(\s*)\[[-\w]+\]/,
- lookbehind: true,
- inside: {
- 'punctuation': /^\[|\]$/,
- 'property': /[-\w]+/
- }
- },
- 'sub-key': {
- pattern: /^(\s*)\S[\s\S]*/,
- lookbehind: true,
- inside: {
- 'parameter': {
- pattern: /"[^"]*"/,
- alias: 'property'
- },
- 'punctuation': /^\(|\)$|,/
- }
- }
- }
- },
- 'operator': /=/,
- 'tlist': {
- pattern: /TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,
- greedy: true,
- inside: {
- 'function': /^TLIST/,
- 'property': {
- pattern: /^(\s*\(\s*)\w+/,
- lookbehind: true
- },
- 'string': /"[^"]*"/,
- 'punctuation': /[(),]/,
- 'operator': /-/
- }
- },
- 'punctuation': /[;,]/,
- 'number': {
- pattern: /(^|\s)\d+(?:\.\d+)?(?!\S)/,
- lookbehind: true
- },
- 'boolean': /NO|YES/,
-};
-
-Prism.languages.px = Prism.languages.pcaxis;
-
-Prism.languages.peoplecode = {
- 'comment': RegExp([
- // C-style multiline comments
- /\/\*[\s\S]*?\*\//.source,
- // REM comments
- /\bREM[^;]*;/.source,
- // Nested <* *> comments
- /<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,
- // /+ +/ comments
- /\/\+[\s\S]*?\+\//.source,
- ].join('|')),
- 'string': {
- pattern: /'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,
- greedy: true
- },
- 'variable': /%\w+/,
- 'function-definition': {
- pattern: /((?:^|[^\w-])(?:function|method)\s+)\w+/i,
- lookbehind: true,
- alias: 'function'
- },
- 'class-name': {
- pattern: /((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,
- lookbehind: true,
- inside: {
- 'punctuation': /:/
- }
- },
- 'keyword': /\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,
- 'operator-keyword': {
- pattern: /\b(?:and|not|or)\b/i,
- alias: 'operator'
- },
- 'function': /[_a-z]\w*(?=\s*\()/i,
-
- 'boolean': /\b(?:false|true)\b/i,
- 'number': /\b\d+(?:\.\d+)?\b/,
- 'operator': /<>|[<>]=?|!=|\*\*|[-+*/|=@]/,
- 'punctuation': /[:.;,()[\]]/
-};
-
-Prism.languages.pcode = Prism.languages.peoplecode;
-
-(function (Prism) {
-
- var brackets = /(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;
-
- Prism.languages.perl = {
- 'comment': [
- {
- // POD
- pattern: /(^\s*)=\w[\s\S]*?=cut.*/m,
- lookbehind: true,
- greedy: true
- },
- {
- pattern: /(^|[^\\$])#.*/,
- lookbehind: true,
- greedy: true
- }
- ],
- // TODO Could be nice to handle Heredoc too.
- 'string': [
- {
- pattern: RegExp(
- /\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source +
- '(?:' +
- [
- // q/.../
- /([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,
-
- // q a...a
- // eslint-disable-next-line regexp/strict
- /([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,
-
- // q(...)
- // q{...}
- // q[...]
- // q<...>
- brackets,
- ].join('|') +
- ')'
- ),
- greedy: true
- },
-
- // "...", `...`
- {
- pattern: /("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,
- greedy: true
- },
-
- // '...'
- // FIXME Multi-line single-quoted strings are not supported as they would break variables containing '
- {
- pattern: /'(?:[^'\\\r\n]|\\.)*'/,
- greedy: true
- }
- ],
- 'regex': [
- {
- pattern: RegExp(
- /\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source +
- '(?:' +
- [
- // m/.../
- /([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,
-
- // m a...a
- // eslint-disable-next-line regexp/strict
- /([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,
-
- // m(...)
- // m{...}
- // m[...]
- // m<...>
- brackets,
- ].join('|') +
- ')' +
- /[msixpodualngc]*/.source
- ),
- greedy: true
- },
-
- // The lookbehinds prevent -s from breaking
- {
- pattern: RegExp(
- /(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source +
- '(?:' +
- [
- // s/.../.../
- // eslint-disable-next-line regexp/strict
- /([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,
-
- // s a...a...a
- // eslint-disable-next-line regexp/strict
- /([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,
-
- // s(...)(...)
- // s{...}{...}
- // s[...][...]
- // s<...><...>
- // s(...)[...]
- brackets + /\s*/.source + brackets,
- ].join('|') +
- ')' +
- /[msixpodualngcer]*/.source
- ),
- lookbehind: true,
- greedy: true
- },
-
- // /.../
- // The look-ahead tries to prevent two divisions on
- // the same line from being highlighted as regex.
- // This does not support multi-line regex.
- {
- pattern: /\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,
- greedy: true
- }
- ],
-
- // FIXME Not sure about the handling of ::, ', and #
- 'variable': [
- // ${^POSTMATCH}
- /[&*$@%]\{\^[A-Z]+\}/,
- // $^V
- /[&*$@%]\^[A-Z_]/,
- // ${...}
- /[&*$@%]#?(?=\{)/,
- // $foo
- /[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,
- // $1
- /[&*$@%]\d+/,
- // $_, @_, %!
- // The negative lookahead prevents from breaking the %= operator
- /(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/
- ],
- 'filehandle': {
- // <>, <FOO>, _
- pattern: /<(?![<=])\S*?>|\b_\b/,
- alias: 'symbol'
- },
- 'v-string': {
- // v1.2, 1.2.3
- pattern: /v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,
- alias: 'string'
- },
- 'function': {
- pattern: /(\bsub[ \t]+)\w+/,
- lookbehind: true
- },
- 'keyword': /\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,
- 'number': /\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,
- 'operator': /-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,
- 'punctuation': /[{}[\];(),:]/
- };
-
-}(Prism));
-
-(function (Prism) {
-
- var typeExpression = /(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;
-
- Prism.languages.phpdoc = Prism.languages.extend('javadoclike', {
- 'parameter': {
- pattern: RegExp('(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:' + typeExpression + '\\s+)?)\\$\\w+'),
- lookbehind: true
- }
- });
-
- Prism.languages.insertBefore('phpdoc', 'keyword', {
- 'class-name': [
- {
- pattern: RegExp('(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)' + typeExpression),
- lookbehind: true,
- inside: {
- 'keyword': /\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,
- 'punctuation': /[|\\[\]()]/
- }
- }
- ],
- });
-
- Prism.languages.javadoclike.addSupport('php', Prism.languages.phpdoc);
-
-}(Prism));
-
-Prism.languages.insertBefore('php', 'variable', {
- 'this': {
- pattern: /\$this\b/,
- alias: 'keyword'
- },
- 'global': /\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,
- 'scope': {
- pattern: /\b[\w\\]+::/,
- inside: {
- 'keyword': /\b(?:parent|self|static)\b/,
- 'punctuation': /::|\\/
- }
- }
-});
-
-(function (Prism) {
- var variable = /\$\w+|%[a-z]+%/;
-
- var arrowAttr = /\[[^[\]]*\]/.source;
- var arrowDirection = /(?:[drlu]|do|down|le|left|ri|right|up)/.source;
- var arrowBody = '(?:-+' + arrowDirection + '-+|\\.+' + arrowDirection + '\\.+|-+(?:' + arrowAttr + '-*)?|' + arrowAttr + '-+|\\.+(?:' + arrowAttr + '\\.*)?|' + arrowAttr + '\\.+)';
- var arrowLeft = /(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source;
- var arrowRight = /(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source;
- var arrowPrefix = /[[?]?[ox]?/.source;
- var arrowSuffix = /[ox]?[\]?]?/.source;
- var arrow =
- arrowPrefix +
- '(?:' +
- arrowBody + arrowRight +
- '|' +
- arrowLeft + arrowBody + '(?:' + arrowRight + ')?' +
- ')' +
- arrowSuffix;
-
- Prism.languages['plant-uml'] = {
- 'comment': {
- pattern: /(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,
- lookbehind: true,
- greedy: true
- },
- 'preprocessor': {
- pattern: /(^[ \t]*)!.*/m,
- lookbehind: true,
- greedy: true,
- alias: 'property',
- inside: {
- 'variable': variable
- }
- },
- 'delimiter': {
- pattern: /(^[ \t]*)@(?:end|start)uml\b/m,
- lookbehind: true,
- greedy: true,
- alias: 'punctuation'
- },
-
- 'arrow': {
- pattern: RegExp(/(^|[^-.<>?|\\[\]ox])/.source + arrow + /(?![-.<>?|\\\]ox])/.source),
- lookbehind: true,
- greedy: true,
- alias: 'operator',
- inside: {
- 'expression': {
- pattern: /(\[)[^[\]]+(?=\])/,
- lookbehind: true,
- inside: null // see below
- },
- 'punctuation': /\[(?=$|\])|^\]/
- }
- },
-
- 'string': {
- pattern: /"[^"]*"/,
- greedy: true
- },
- 'text': {
- pattern: /(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,
- lookbehind: true,
- greedy: true,
- alias: 'string'
- },
-
- 'keyword': [
- {
- pattern: /^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,
- lookbehind: true,
- greedy: true
- },
- /\b(?:elseif|equals|not|while)(?=\s*\()/,
- /\b(?:as|is|then)\b/
- ],
-
- 'divider': {
- pattern: /^==.+==$/m,
- greedy: true,
- alias: 'important'
- },
-
- 'time': {
- pattern: /@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,
- greedy: true,
- alias: 'number'
- },
-
- 'color': {
- pattern: /#(?:[a-z_]+|[a-fA-F0-9]+)\b/,
- alias: 'symbol'
- },
- 'variable': variable,
-
- 'punctuation': /[:,;()[\]{}]|\.{3}/
- };
-
- Prism.languages['plant-uml'].arrow.inside.expression.inside = Prism.languages['plant-uml'];
-
- Prism.languages['plantuml'] = Prism.languages['plant-uml'];
-
-}(Prism));
-
-Prism.languages.plsql = Prism.languages.extend('sql', {
- 'comment': {
- pattern: /\/\*[\s\S]*?\*\/|--.*/,
- greedy: true
- },
- // https://docs.oracle.com/en/database/oracle/oracle-database/21/lnpls/plsql-reserved-words-keywords.html
- 'keyword': /\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,
- // https://docs.oracle.com/en/database/oracle/oracle-database/21/lnpls/plsql-language-fundamentals.html#GUID-96A42F7C-7A71-4B90-8255-CA9C8BD9722E
- 'operator': /:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/
-});
-
-Prism.languages.insertBefore('plsql', 'operator', {
- 'label': {
- pattern: /<<\s*\w+\s*>>/,
- alias: 'symbol'
- },
-});
-
-// https://docs.microsoft.com/en-us/powerquery-m/power-query-m-language-specification
-
-Prism.languages.powerquery = {
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
- lookbehind: true,
- greedy: true
- },
- 'quoted-identifier': {
- pattern: /#"(?:[^"\r\n]|"")*"(?!")/,
- greedy: true
- },
- 'string': {
- pattern: /(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,
- greedy: true
- },
- 'constant': [
- /\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,
- /\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,
- /\bOccurrence\.(?:All|First|Last)\b/,
- /\bOrder\.(?:Ascending|Descending)\b/,
- /\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,
- /\bMissingField\.(?:Error|Ignore|UseNull)\b/,
- /\bQuoteStyle\.(?:Csv|None)\b/,
- /\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,
- /\bGroupKind\.(?:Global|Local)\b/,
- /\bExtraValues\.(?:Error|Ignore|List)\b/,
- /\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,
- /\bJoinSide\.(?:Left|Right)\b/,
- /\bPrecision\.(?:Decimal|Double)\b/,
- /\bRelativePosition\.From(?:End|Start)\b/,
- /\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,
- /\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,
- /\bnull\b/
- ],
- 'boolean': /\b(?:false|true)\b/,
- 'keyword': /\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,
- 'function': {
- pattern: /(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,
- lookbehind: true
- },
- 'data-type': {
- pattern: /\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,
- alias: 'class-name'
- },
- 'number': {
- pattern: /\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,
- lookbehind: true
- },
- 'operator': /[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,
- 'punctuation': /[,;\[\](){}]/
-};
-
-Prism.languages.pq = Prism.languages['powerquery'];
-Prism.languages.mscript = Prism.languages['powerquery'];
-
-(function (Prism) {
-
- var powershell = Prism.languages.powershell = {
- 'comment': [
- {
- pattern: /(^|[^`])<#[\s\S]*?#>/,
- lookbehind: true
- },
- {
- pattern: /(^|[^`])#.*/,
- lookbehind: true
- }
- ],
- 'string': [
- {
- pattern: /"(?:`[\s\S]|[^`"])*"/,
- greedy: true,
- inside: null // see below
- },
- {
- pattern: /'(?:[^']|'')*'/,
- greedy: true
- }
- ],
- // Matches name spaces as well as casts, attribute decorators. Force starting with letter to avoid matching array indices
- // Supports two levels of nested brackets (e.g. `[OutputType([System.Collections.Generic.List[int]])]`)
- 'namespace': /\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,
- 'boolean': /\$(?:false|true)\b/i,
- 'variable': /\$\w+\b/,
- // Cmdlets and aliases. Aliases should come last, otherwise "write" gets preferred over "write-host" for example
- // Get-Command | ?{ $_.ModuleName -match "Microsoft.PowerShell.(Util|Core|Management)" }
- // Get-Alias | ?{ $_.ReferencedCommand.Module.Name -match "Microsoft.PowerShell.(Util|Core|Management)" }
- 'function': [
- /\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,
- /\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i
- ],
- // per http://technet.microsoft.com/en-us/library/hh847744.aspx
- 'keyword': /\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,
- 'operator': {
- pattern: /(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,
- lookbehind: true
- },
- 'punctuation': /[|{}[\];(),.]/
- };
-
- // Variable interpolation inside strings, and nested expressions
- powershell.string[0].inside = {
- 'function': {
- // Allow for one level of nesting
- pattern: /(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,
- lookbehind: true,
- inside: powershell
- },
- 'boolean': powershell.boolean,
- 'variable': powershell.variable,
- };
-
-}(Prism));
-
-Prism.languages.processing = Prism.languages.extend('clike', {
- 'keyword': /\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,
- // Spaces are allowed between function name and parenthesis
- 'function': /\b\w+(?=\s*\()/,
- 'operator': /<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/
-});
-
-Prism.languages.insertBefore('processing', 'number', {
- // Special case: XML is a type
- 'constant': /\b(?!XML\b)[A-Z][A-Z\d_]+\b/,
- 'type': {
- pattern: /\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,
- alias: 'class-name'
- }
-});
-
-Prism.languages.prolog = {
- // Syntax depends on the implementation
- 'comment': {
- pattern: /\/\*[\s\S]*?\*\/|%.*/,
- greedy: true
- },
- // Depending on the implementation, strings may allow escaped newlines and quote-escape
- 'string': {
- pattern: /(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,
- greedy: true
- },
- 'builtin': /\b(?:fx|fy|xf[xy]?|yfx?)\b/,
- // FIXME: Should we list all null-ary predicates (not followed by a parenthesis) like halt, trace, etc.?
- 'function': /\b[a-z]\w*(?:(?=\()|\/\d+)/,
- 'number': /\b\d+(?:\.\d*)?/,
- // Custom operators are allowed
- 'operator': /[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,
- 'punctuation': /[(){}\[\],]/
-};
-
-// Thanks to: https://github.com/prometheus-community/monaco-promql/blob/master/src/promql/promql.ts
-// As well as: https://kausal.co/blog/slate-prism-add-new-syntax-promql/
-
-(function (Prism) {
- // PromQL Aggregation Operators
- // (https://prometheus.io/docs/prometheus/latest/querying/operators/#aggregation-operators)
- var aggregations = [
- 'sum',
- 'min',
- 'max',
- 'avg',
- 'group',
- 'stddev',
- 'stdvar',
- 'count',
- 'count_values',
- 'bottomk',
- 'topk',
- 'quantile'
- ];
-
- // PromQL vector matching + the by and without clauses
- // (https://prometheus.io/docs/prometheus/latest/querying/operators/#vector-matching)
- var vectorMatching = [
- 'on',
- 'ignoring',
- 'group_right',
- 'group_left',
- 'by',
- 'without',
- ];
-
- // PromQL offset modifier
- // (https://prometheus.io/docs/prometheus/latest/querying/basics/#offset-modifier)
- var offsetModifier = ['offset'];
-
- var keywords = aggregations.concat(vectorMatching, offsetModifier);
-
- Prism.languages.promql = {
- 'comment': {
- pattern: /(^[ \t]*)#.*/m,
- lookbehind: true
- },
- 'vector-match': {
- // Match the comma-separated label lists inside vector matching:
- pattern: new RegExp('((?:' + vectorMatching.join('|') + ')\\s*)\\([^)]*\\)'),
- lookbehind: true,
- inside: {
- 'label-key': {
- pattern: /\b[^,]+\b/,
- alias: 'attr-name',
- },
- 'punctuation': /[(),]/
- },
- },
- 'context-labels': {
- pattern: /\{[^{}]*\}/,
- inside: {
- 'label-key': {
- pattern: /\b[a-z_]\w*(?=\s*(?:=|![=~]))/,
- alias: 'attr-name',
- },
- 'label-value': {
- pattern: /(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,
- greedy: true,
- alias: 'attr-value',
- },
- 'punctuation': /\{|\}|=~?|![=~]|,/,
- },
- },
- 'context-range': [
- {
- pattern: /\[[\w\s:]+\]/, // [1m]
- inside: {
- 'punctuation': /\[|\]|:/,
- 'range-duration': {
- pattern: /\b(?:\d+(?:[smhdwy]|ms))+\b/i,
- alias: 'number',
- },
- },
- },
- {
- pattern: /(\boffset\s+)\w+/, // offset 1m
- lookbehind: true,
- inside: {
- 'range-duration': {
- pattern: /\b(?:\d+(?:[smhdwy]|ms))+\b/i,
- alias: 'number',
- },
- },
- },
- ],
- 'keyword': new RegExp('\\b(?:' + keywords.join('|') + ')\\b', 'i'),
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
- 'number': /[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,
- 'operator': /[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,
- 'punctuation': /[{};()`,.[\]]/,
- };
-}(Prism));
-
-Prism.languages.properties = {
- 'comment': /^[ \t]*[#!].*$/m,
- 'value': {
- pattern: /(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,
- lookbehind: true,
- alias: 'attr-value'
- },
- 'key': {
- pattern: /^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,
- alias: 'attr-name'
- },
- 'punctuation': /[=:]/
-};
-
-(function (Prism) {
-
- var builtinTypes = /\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;
-
- Prism.languages.protobuf = Prism.languages.extend('clike', {
- 'class-name': [
- {
- pattern: /(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,
- lookbehind: true
- },
- {
- pattern: /(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,
- lookbehind: true
- }
- ],
- 'keyword': /\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,
- 'function': /\b[a-z_]\w*(?=\s*\()/i
- });
-
- Prism.languages.insertBefore('protobuf', 'operator', {
- 'map': {
- pattern: /\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,
- alias: 'class-name',
- inside: {
- 'punctuation': /[<>.,]/,
- 'builtin': builtinTypes
- }
- },
- 'builtin': builtinTypes,
- 'positional-class-name': {
- pattern: /(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,
- alias: 'class-name',
- inside: {
- 'punctuation': /\./
- }
- },
- 'annotation': {
- pattern: /(\[\s*)[a-z_]\w*(?=\s*=)/i,
- lookbehind: true
- }
- });
-
-}(Prism));
-
-(function (Prism) {
- // TODO:
- // - Add CSS highlighting inside <style> tags
- // - Add support for multi-line code blocks
- // - Add support for interpolation #{} and !{}
- // - Add support for tag interpolation #[]
- // - Add explicit support for plain text using |
- // - Add support for markup embedded in plain text
-
- Prism.languages.pug = {
-
- // Multiline stuff should appear before the rest
-
- // This handles both single-line and multi-line comments
- 'comment': {
- pattern: /(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,
- lookbehind: true
- },
-
- // All the tag-related part is in lookbehind
- // so that it can be highlighted by the "tag" pattern
- 'multiline-script': {
- pattern: /(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,
- lookbehind: true,
- inside: Prism.languages.javascript
- },
-
- // See at the end of the file for known filters
- 'filter': {
- pattern: /(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,
- lookbehind: true,
- inside: {
- 'filter-name': {
- pattern: /^:[\w-]+/,
- alias: 'variable'
- },
- 'text': /\S[\s\S]*/,
- }
- },
-
- 'multiline-plain-text': {
- pattern: /(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,
- lookbehind: true
- },
- 'markup': {
- pattern: /(^[\t ]*)<.+/m,
- lookbehind: true,
- inside: Prism.languages.markup
- },
- 'doctype': {
- pattern: /((?:^|\n)[\t ]*)doctype(?: .+)?/,
- lookbehind: true
- },
-
- // This handle all conditional and loop keywords
- 'flow-control': {
- pattern: /(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,
- lookbehind: true,
- inside: {
- 'each': {
- pattern: /^each .+? in\b/,
- inside: {
- 'keyword': /\b(?:each|in)\b/,
- 'punctuation': /,/
- }
- },
- 'branch': {
- pattern: /^(?:case|default|else|if|unless|when|while)\b/,
- alias: 'keyword'
- },
- rest: Prism.languages.javascript
- }
- },
- 'keyword': {
- pattern: /(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,
- lookbehind: true
- },
- 'mixin': [
- // Declaration
- {
- pattern: /(^[\t ]*)mixin .+/m,
- lookbehind: true,
- inside: {
- 'keyword': /^mixin/,
- 'function': /\w+(?=\s*\(|\s*$)/,
- 'punctuation': /[(),.]/
- }
- },
- // Usage
- {
- pattern: /(^[\t ]*)\+.+/m,
- lookbehind: true,
- inside: {
- 'name': {
- pattern: /^\+\w+/,
- alias: 'function'
- },
- rest: Prism.languages.javascript
- }
- }
- ],
- 'script': {
- pattern: /(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,
- lookbehind: true,
- inside: Prism.languages.javascript
- },
-
- 'plain-text': {
- pattern: /(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,
- lookbehind: true
- },
- 'tag': {
- pattern: /(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,
- lookbehind: true,
- inside: {
- 'attributes': [
- {
- pattern: /&[^(]+\([^)]+\)/,
- inside: Prism.languages.javascript
- },
- {
- pattern: /\([^)]+\)/,
- inside: {
- 'attr-value': {
- pattern: /(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,
- lookbehind: true,
- inside: Prism.languages.javascript
- },
- 'attr-name': /[\w-]+(?=\s*!?=|\s*[,)])/,
- 'punctuation': /[!=(),]+/
- }
- }
- ],
- 'punctuation': /:/,
- 'attr-id': /#[\w\-]+/,
- 'attr-class': /\.[\w\-]+/
- }
- },
- 'code': [
- {
- pattern: /(^[\t ]*(?:-|!?=)).+/m,
- lookbehind: true,
- inside: Prism.languages.javascript
- }
- ],
- 'punctuation': /[.\-!=|]+/
- };
-
- var filter_pattern = /(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source;
-
- // Non exhaustive list of available filters and associated languages
- var filters = [
- { filter: 'atpl', language: 'twig' },
- { filter: 'coffee', language: 'coffeescript' },
- 'ejs',
- 'handlebars',
- 'less',
- 'livescript',
- 'markdown',
- { filter: 'sass', language: 'scss' },
- 'stylus'
- ];
- var all_filters = {};
- for (var i = 0, l = filters.length; i < l; i++) {
- var filter = filters[i];
- filter = typeof filter === 'string' ? { filter: filter, language: filter } : filter;
- if (Prism.languages[filter.language]) {
- all_filters['filter-' + filter.filter] = {
- pattern: RegExp(filter_pattern.replace('<filter_name>', function () { return filter.filter; }), 'm'),
- lookbehind: true,
- inside: {
- 'filter-name': {
- pattern: /^:[\w-]+/,
- alias: 'variable'
- },
- 'text': {
- pattern: /\S[\s\S]*/,
- alias: [filter.language, 'language-' + filter.language],
- inside: Prism.languages[filter.language]
- }
- }
- };
- }
- }
-
- Prism.languages.insertBefore('pug', 'filter', all_filters);
-
-}(Prism));
-
-(function (Prism) {
- Prism.languages.puppet = {
- 'heredoc': [
- // Matches the content of a quoted heredoc string (subject to interpolation)
- {
- pattern: /(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,
- lookbehind: true,
- alias: 'string',
- inside: {
- // Matches the end tag
- 'punctuation': /(?=\S).*\S(?= *$)/
- // See interpolation below
- }
- },
- // Matches the content of an unquoted heredoc string (no interpolation)
- {
- pattern: /(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,
- lookbehind: true,
- greedy: true,
- alias: 'string',
- inside: {
- // Matches the end tag
- 'punctuation': /(?=\S).*\S(?= *$)/
- }
- },
- // Matches the start tag of heredoc strings
- {
- pattern: /@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,
- alias: 'string',
- inside: {
- 'punctuation': {
- pattern: /(\().+?(?=\))/,
- lookbehind: true
- }
- }
- }
- ],
- 'multiline-comment': {
- pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
- lookbehind: true,
- greedy: true,
- alias: 'comment'
- },
- 'regex': {
- // Must be prefixed with the keyword "node" or a non-word char
- pattern: /((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,
- lookbehind: true,
- greedy: true,
- inside: {
- // Extended regexes must have the x flag. They can contain single-line comments.
- 'extended-regex': {
- pattern: /^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,
- inside: {
- 'comment': /#.*/
- }
- }
- }
- },
- 'comment': {
- pattern: /(^|[^\\])#.*/,
- lookbehind: true,
- greedy: true,
- },
- 'string': {
- // Allow for one nested level of double quotes inside interpolation
- pattern: /(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,
- greedy: true,
- inside: {
- 'double-quoted': {
- pattern: /^"[\s\S]*"$/,
- inside: {
- // See interpolation below
- }
- }
- }
- },
- 'variable': {
- pattern: /\$(?:::)?\w+(?:::\w+)*/,
- inside: {
- 'punctuation': /::/
- }
- },
- 'attr-name': /(?:\b\w+|\*)(?=\s*=>)/,
- 'function': [
- {
- pattern: /(\.)(?!\d)\w+/,
- lookbehind: true
- },
- /\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/
- ],
- 'number': /\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,
- 'boolean': /\b(?:false|true)\b/,
- // Includes words reserved for future use
- 'keyword': /\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,
- 'datatype': {
- pattern: /\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,
- alias: 'symbol'
- },
- 'operator': /=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,
- 'punctuation': /[\[\]{}().,;]|:+/
- };
-
- var interpolation = [
- {
- // Allow for one nested level of braces inside interpolation
- pattern: /(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,
- lookbehind: true,
- inside: {
- 'short-variable': {
- // Negative look-ahead prevent wrong highlighting of functions
- pattern: /(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,
- lookbehind: true,
- alias: 'variable',
- inside: {
- 'punctuation': /::/
- }
- },
- 'delimiter': {
- pattern: /^\$/,
- alias: 'variable'
- },
- rest: Prism.languages.puppet
- }
- },
- {
- pattern: /(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,
- lookbehind: true,
- alias: 'variable',
- inside: {
- 'punctuation': /::/
- }
- }
- ];
- Prism.languages.puppet['heredoc'][0].inside.interpolation = interpolation;
- Prism.languages.puppet['string'].inside['double-quoted'].inside.interpolation = interpolation;
-}(Prism));
-
-(function (Prism) {
- // https://agraef.github.io/pure-docs/pure.html#lexical-matters
-
- Prism.languages.pure = {
- 'comment': [
- {
- pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
- lookbehind: true
- },
- {
- pattern: /(^|[^\\:])\/\/.*/,
- lookbehind: true
- },
- /#!.+/
- ],
- 'inline-lang': {
- pattern: /%<[\s\S]+?%>/,
- greedy: true,
- inside: {
- 'lang': {
- pattern: /(^%< *)-\*-.+?-\*-/,
- lookbehind: true,
- alias: 'comment'
- },
- 'delimiter': {
- pattern: /^%<.*|%>$/,
- alias: 'punctuation'
- }
- }
- },
- 'string': {
- pattern: /"(?:\\.|[^"\\\r\n])*"/,
- greedy: true
- },
- 'number': {
- // The look-behind prevents wrong highlighting of the .. operator
- pattern: /((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,
- lookbehind: true
- },
- 'keyword': /\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,
- 'function': /\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,
- 'special': {
- pattern: /\b__[a-z]+__\b/i,
- alias: 'builtin'
- },
- // Any combination of operator chars can be an operator
- // eslint-disable-next-line no-misleading-character-class
- 'operator': /(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,
- // FIXME: How can we prevent | and , to be highlighted as operator when they are used alone?
- 'punctuation': /[(){}\[\];,|]/
- };
-
- var inlineLanguages = [
- 'c',
- { lang: 'c++', alias: 'cpp' },
- 'fortran'
- ];
- var inlineLanguageRe = /%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;
-
- inlineLanguages.forEach(function (lang) {
- var alias = lang;
- if (typeof lang !== 'string') {
- alias = lang.alias;
- lang = lang.lang;
- }
- if (Prism.languages[alias]) {
- var o = {};
- o['inline-lang-' + alias] = {
- pattern: RegExp(inlineLanguageRe.replace('<lang>', lang.replace(/([.+*?\/\\(){}\[\]])/g, '\\$1')), 'i'),
- inside: Prism.util.clone(Prism.languages.pure['inline-lang'].inside)
- };
- o['inline-lang-' + alias].inside.rest = Prism.util.clone(Prism.languages[alias]);
- Prism.languages.insertBefore('pure', 'inline-lang', o);
- }
- });
-
- // C is the default inline language
- if (Prism.languages.c) {
- Prism.languages.pure['inline-lang'].inside.rest = Prism.util.clone(Prism.languages.c);
- }
-
-}(Prism));
-
-/*
-Original Code by Bas Groothedde
-!!MANY THANKS!! I never would have made this, regex and me will never be best friends ;)
-==> https://codepen.io/ImagineProgramming/details/JYydBy/
-slightly changed to pass all tests
-*/
-
-
-// PureBasic support, steal stuff from ansi-c
-Prism.languages.purebasic = Prism.languages.extend('clike', {
- 'comment': /;.*/,
- 'keyword': /\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,
- 'function': /\b\w+(?:\.\w+)?\s*(?=\()/,
- 'number': /(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,
- 'operator': /(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/
-});
-
-Prism.languages.insertBefore('purebasic', 'keyword', {
- 'tag': /#\w+\$?/,
- 'asm': {
- pattern: /(^[\t ]*)!.*/m,
- lookbehind: true,
- alias: 'tag',
- inside: {
- 'comment': /;.*/,
- 'string': {
- pattern: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
- // Anonymous label references, i.e.: jmp @b
- 'label-reference-anonymous': {
- pattern: /(!\s*j[a-z]+\s+)@[fb]/i,
- lookbehind: true,
- alias: 'fasm-label'
- },
- // Named label reference, i.e.: jne label1
- 'label-reference-addressed': {
- pattern: /(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,
- lookbehind: true,
- alias: 'fasm-label'
- },
- 'keyword': [
- /\b(?:extern|global)\b[^;\r\n]*/i,
- /\b(?:CPU|DEFAULT|FLOAT)\b.*/
- ],
- 'function': {
- pattern: /^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,
- lookbehind: true
- },
- 'function-inline': {
- pattern: /(:\s*)[\da-z]+(?=\s)/i,
- lookbehind: true,
- alias: 'function'
- },
- 'label': {
- pattern: /^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,
- lookbehind: true,
- alias: 'fasm-label'
- },
- 'register': /\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,
- 'number': /(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,
- 'operator': /[\[\]*+\-/%<>=&|$!,.:]/
- }
- }
-});
-
-delete Prism.languages.purebasic['class-name'];
-delete Prism.languages.purebasic['boolean'];
-
-Prism.languages.pbfasm = Prism.languages['purebasic'];
-
-Prism.languages.purescript = Prism.languages.extend('haskell', {
- 'keyword': /\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,
-
- 'import-statement': {
- // The imported or hidden names are not included in this import
- // statement. This is because we want to highlight those exactly like
- // we do for the names in the program.
- pattern: /(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,
- lookbehind: true,
- inside: {
- 'keyword': /\b(?:as|hiding|import)\b/,
- 'punctuation': /\./
- }
- },
-
- // These are builtin functions only. Constructors are highlighted later as a constant.
- 'builtin': /\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,
-
- 'operator': [
- // Infix operators
- Prism.languages.haskell.operator[0],
- // ASCII operators
- Prism.languages.haskell.operator[2],
- // All UTF16 Unicode operator symbols
- // This regex is equivalent to /(?=[\x80-\uFFFF])[\p{gc=Math_Symbol}\p{gc=Currency_Symbol}\p{Modifier_Symbol}\p{Other_Symbol}]/u
- // See https://github.com/PrismJS/prism/issues/3006 for more details.
- /[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/
- ]
-});
-
-Prism.languages.purs = Prism.languages.purescript;
-
-Prism.languages.python = {
- 'comment': {
- pattern: /(^|[^\\])#.*/,
- lookbehind: true,
- greedy: true
- },
- 'string-interpolation': {
- pattern: /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
- greedy: true,
- inside: {
- 'interpolation': {
- // "{" <expression> <optional "!s", "!r", or "!a"> <optional ":" format specifier> "}"
- pattern: /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,
- lookbehind: true,
- inside: {
- 'format-spec': {
- pattern: /(:)[^:(){}]+(?=\}$)/,
- lookbehind: true
- },
- 'conversion-option': {
- pattern: //,
- alias: 'punctuation'
- },
- rest: null
- }
- },
- 'string': /[\s\S]+/
- }
- },
- 'triple-quoted-string': {
- pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,
- greedy: true,
- alias: 'string'
- },
- 'string': {
- pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,
- greedy: true
- },
- 'function': {
- pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,
- lookbehind: true
- },
- 'class-name': {
- pattern: /(\bclass\s+)\w+/i,
- lookbehind: true
- },
- 'decorator': {
- pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m,
- lookbehind: true,
- 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;
-
-(function (Prism) {
-
- /**
- * Replaces all placeholders "<<n>>" of given pattern with the n-th replacement (zero based).
- *
- * Note: This is a simple text based replacement. Be careful when using backreferences!
- *
- * @param {string} pattern the given pattern.
- * @param {string[]} replacements a list of replacement which can be inserted into the given pattern.
- * @returns {string} the pattern with all placeholders replaced with their corresponding replacements.
- * @example replace(/a<<0>>a/.source, [/b+/.source]) === /a(?:b+)a/.source
- */
- function replace(pattern, replacements) {
- return pattern.replace(/<<(\d+)>>/g, function (m, index) {
- return '(?:' + replacements[+index] + ')';
- });
- }
- /**
- * @param {string} pattern
- * @param {string[]} replacements
- * @param {string} [flags]
- * @returns {RegExp}
- */
- function re(pattern, replacements, flags) {
- return RegExp(replace(pattern, replacements), flags || '');
- }
-
- /**
- * Creates a nested pattern where all occurrences of the string `<<self>>` are replaced with the pattern itself.
- *
- * @param {string} pattern
- * @param {number} depthLog2
- * @returns {string}
- */
- function nested(pattern, depthLog2) {
- for (var i = 0; i < depthLog2; i++) {
- pattern = pattern.replace(/<<self>>/g, function () { return '(?:' + pattern + ')'; });
- }
- return pattern.replace(/<<self>>/g, '[^\\s\\S]');
- }
-
- // https://docs.microsoft.com/en-us/azure/quantum/user-guide/language/typesystem/
- // https://github.com/microsoft/qsharp-language/tree/main/Specifications/Language/5_Grammar
- var keywordKinds = {
- // keywords which represent a return or variable type
- type: 'Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero',
- // all other keywords
- other: 'Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within'
- };
- // keywords
- function keywordsToPattern(words) {
- return '\\b(?:' + words.trim().replace(/ /g, '|') + ')\\b';
- }
- var keywords = RegExp(keywordsToPattern(keywordKinds.type + ' ' + keywordKinds.other));
-
- // types
- var identifier = /\b[A-Za-z_]\w*\b/.source;
- var qualifiedName = replace(/<<0>>(?:\s*\.\s*<<0>>)*/.source, [identifier]);
-
- var typeInside = {
- 'keyword': keywords,
- 'punctuation': /[<>()?,.:[\]]/
- };
-
- // strings
- var regularString = /"(?:\\.|[^\\"])*"/.source;
-
- Prism.languages.qsharp = Prism.languages.extend('clike', {
- 'comment': /\/\/.*/,
- 'string': [
- {
- pattern: re(/(^|[^$\\])<<0>>/.source, [regularString]),
- lookbehind: true,
- greedy: true
- }
- ],
- 'class-name': [
- {
- // open Microsoft.Quantum.Canon;
- // open Microsoft.Quantum.Canon as CN;
- pattern: re(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source, [qualifiedName]),
- lookbehind: true,
- inside: typeInside
- },
- {
- // namespace Quantum.App1;
- pattern: re(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source, [qualifiedName]),
- lookbehind: true,
- inside: typeInside
- },
- ],
- 'keyword': keywords,
- 'number': /(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,
- 'operator': /\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,
- 'punctuation': /::|[{}[\];(),.:]/
- });
-
- Prism.languages.insertBefore('qsharp', 'number', {
- 'range': {
- pattern: /\.\./,
- alias: 'operator'
- }
- });
-
- // single line
- var interpolationExpr = nested(replace(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source, [regularString]), 2);
-
- Prism.languages.insertBefore('qsharp', 'string', {
- 'interpolation-string': {
- pattern: re(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source, [interpolationExpr]),
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: re(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source, [interpolationExpr]),
- lookbehind: true,
- inside: {
- 'punctuation': /^\{|\}$/,
- 'expression': {
- pattern: /[\s\S]+/,
- alias: 'language-qsharp',
- inside: Prism.languages.qsharp
- }
- }
- },
- 'string': /[\s\S]+/
- }
- }
- });
-
-}(Prism));
-
-Prism.languages.qs = Prism.languages.qsharp;
-
-Prism.languages.q = {
- 'string': /"(?:\\.|[^"\\\r\n])*"/,
- 'comment': [
- // From http://code.kx.com/wiki/Reference/Slash:
- // When / is following a space (or a right parenthesis, bracket, or brace), it is ignored with the rest of the line.
- {
-
- pattern: /([\t )\]}])\/.*/,
- lookbehind: true,
- greedy: true
- },
- // From http://code.kx.com/wiki/Reference/Slash:
- // A line which has / as its first character and contains at least one other non-whitespace character is a whole-line comment and is ignored entirely.
- // A / on a line by itself begins a multiline comment which is terminated by the next \ on a line by itself.
- // If a / is not matched by a \, the multiline comment is unterminated and continues to end of file.
- // The / and \ must be the first char on the line, but may be followed by any amount of whitespace.
- {
- pattern: /(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,
- lookbehind: true,
- greedy: true
- },
- // From http://code.kx.com/wiki/Reference/Slash:
- // A \ on a line by itself with no preceding matching / will comment to end of file.
- {
- pattern: /^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,
- greedy: true
- },
- {
- pattern: /^#!.+/m,
- greedy: true
- }
- ],
- 'symbol': /`(?::\S+|[\w.]*)/,
- 'datetime': {
- pattern: /0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,
- alias: 'number'
- },
- // The negative look-ahead prevents bad highlighting
- // of verbs 0: and 1:
- 'number': /\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,
- 'keyword': /\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,
- 'adverb': {
- pattern: /['\/\\]:?|\beach\b/,
- alias: 'function'
- },
- 'verb': {
- pattern: /(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,
- alias: 'operator'
- },
- 'punctuation': /[(){}\[\];.]/
-};
-
-(function (Prism) {
-
- var jsString = /"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source;
- var jsComment = /\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source;
-
- var jsExpr = /(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/
- .source.replace(/<string>/g, function () { return jsString; }).replace(/<comment>/g, function () { return jsComment; });
-
- // the pattern will blow up, so only a few iterations
- for (var i = 0; i < 2; i++) {
- jsExpr = jsExpr.replace(/<expr>/g, function () { return jsExpr; });
- }
- jsExpr = jsExpr.replace(/<expr>/g, '[^\\s\\S]');
-
-
- Prism.languages.qml = {
- 'comment': {
- pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
- greedy: true
- },
- 'javascript-function': {
- pattern: RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g, function () { return jsExpr; }), 'm'),
- lookbehind: true,
- greedy: true,
- alias: 'language-javascript',
- inside: Prism.languages.javascript
- },
- 'class-name': {
- pattern: /((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,
- lookbehind: true
- },
- 'property': [
- {
- pattern: /((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,
- lookbehind: true
- },
- {
- pattern: /((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,
- lookbehind: true,
- inside: {
- 'keyword': /^property/,
- 'property': /\w+(?:\.\w+)*/
- }
- }
- ],
- 'javascript-expression': {
- pattern: RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g, function () { return jsExpr; }), 'm'),
- lookbehind: true,
- greedy: true,
- alias: 'language-javascript',
- inside: Prism.languages.javascript
- },
- 'string': {
- pattern: /"(?:\\.|[^\\"\r\n])*"/,
- greedy: true
- },
- 'keyword': /\b(?:as|import|on)\b/,
- 'punctuation': /[{}[\]:;,]/
- };
-
-}(Prism));
-
-Prism.languages.qore = Prism.languages.extend('clike', {
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,
- lookbehind: true
- },
- // Overridden to allow unescaped multi-line strings
- 'string': {
- pattern: /("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,
- greedy: true
- },
- 'keyword': /\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,
- 'boolean': /\b(?:false|true)\b/i,
- 'function': /\$?\b(?!\d)\w+(?=\()/,
- 'number': /\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,
- 'operator': {
- pattern: /(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,
- lookbehind: true
- },
- 'variable': /\$(?!\d)\w+\b/
-});
-
-Prism.languages.r = {
- 'comment': /#.*/,
- 'string': {
- pattern: /(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
- 'percent-operator': {
- // Includes user-defined operators
- // and %%, %*%, %/%, %in%, %o%, %x%
- pattern: /%[^%\s]*%/,
- alias: 'operator'
- },
- 'boolean': /\b(?:FALSE|TRUE)\b/,
- 'ellipsis': /\.\.(?:\.|\d+)/,
- 'number': [
- /\b(?:Inf|NaN)\b/,
- /(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/
- ],
- 'keyword': /\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,
- 'operator': /->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,
- 'punctuation': /[(){}\[\],;]/
-};
-
-Prism.languages.racket = Prism.languages.extend('scheme', {
- 'lambda-parameter': {
- // the racket lambda syntax is a lot more complex, so we won't even attempt to capture it.
- // this will just prevent false positives of the `function` pattern
- pattern: /([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,
- lookbehind: true
- }
-});
-
-Prism.languages.insertBefore('racket', 'string', {
- 'lang': {
- pattern: /^#lang.+/m,
- greedy: true,
- alias: 'keyword'
- }
-});
-
-Prism.languages.rkt = Prism.languages.racket;
-
-// Docs:
-// https://docs.microsoft.com/en-us/aspnet/core/razor-pages/?view=aspnetcore-5.0&tabs=visual-studio
-// https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-5.0
-
-(function (Prism) {
-
- var commentLike = /\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source;
- var stringLike =
- /@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source +
- '|' +
- /'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;
-
- /**
- * Creates a nested pattern where all occurrences of the string `<<self>>` are replaced with the pattern itself.
- *
- * @param {string} pattern
- * @param {number} depthLog2
- * @returns {string}
- */
- function nested(pattern, depthLog2) {
- for (var i = 0; i < depthLog2; i++) {
- pattern = pattern.replace(/<self>/g, function () { return '(?:' + pattern + ')'; });
- }
- return pattern
- .replace(/<self>/g, '[^\\s\\S]')
- .replace(/<str>/g, '(?:' + stringLike + ')')
- .replace(/<comment>/g, '(?:' + commentLike + ')');
- }
-
- var round = nested(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source, 2);
- var square = nested(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source, 1);
- var curly = nested(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source, 2);
- var angle = nested(/<(?:[^<>'"@/]|<comment>|<self>)*>/.source, 1);
-
- var inlineCs = /@/.source +
- /(?:await\b\s*)?/.source +
- '(?:' + /(?!await\b)\w+\b/.source + '|' + round + ')' +
- '(?:' + /[?!]?\.\w+\b/.source + '|' + '(?:' + angle + ')?' + round + '|' + square + ')*' +
- /(?![?!\.(\[]|<(?!\/))/.source;
-
- // Note about the above bracket patterns:
- // They all ignore HTML expressions that might be in the C# code. This is a problem because HTML (like strings and
- // comments) is parsed differently. This is a huge problem because HTML might contain brackets and quotes which
- // messes up the bracket and string counting implemented by the above patterns.
- //
- // This problem is not fixable because 1) HTML expression are highly context sensitive and very difficult to detect
- // and 2) they require one capturing group at every nested level. See the `tagRegion` pattern to admire the
- // complexity of an HTML expression.
- //
- // To somewhat alleviate the problem a bit, the patterns for characters (e.g. 'a') is very permissive, it also
- // allows invalid characters to support HTML expressions like this: <p>That's it!</p>.
-
- var tagAttrInlineCs = /@(?![\w()])/.source + '|' + inlineCs;
- var tagAttrValue = '(?:' +
- /"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source +
- '|' +
- '["\'][^"\'@]*(?:(?:' + tagAttrInlineCs + ')[^"\'@]*)+["\']' +
- ')';
-
- var tagAttrs = /(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*<tagAttrValue>|(?=[\s/>])))+)?/.source.replace(/<tagAttrValue>/, tagAttrValue);
- var tagContent = /(?!\d)[^\s>\/=$<%]+/.source + tagAttrs + /\s*\/?>/.source;
- var tagRegion =
- /\B@?/.source +
- '(?:' +
- /<([a-zA-Z][\w:]*)/.source + tagAttrs + /\s*>/.source +
- '(?:' +
- (
- /[^<]/.source +
- '|' +
- // all tags that are not the start tag
- // eslint-disable-next-line regexp/strict
- /<\/?(?!\1\b)/.source + tagContent +
- '|' +
- // nested start tag
- nested(
- // eslint-disable-next-line regexp/strict
- /<\1/.source + tagAttrs + /\s*>/.source +
- '(?:' +
- (
- /[^<]/.source +
- '|' +
- // all tags that are not the start tag
- // eslint-disable-next-line regexp/strict
- /<\/?(?!\1\b)/.source + tagContent +
- '|' +
- '<self>'
- ) +
- ')*' +
- // eslint-disable-next-line regexp/strict
- /<\/\1\s*>/.source,
- 2
- )
- ) +
- ')*' +
- // eslint-disable-next-line regexp/strict
- /<\/\1\s*>/.source +
- '|' +
- /</.source + tagContent +
- ')';
-
- // Now for the actual language definition(s):
- //
- // Razor as a language has 2 parts:
- // 1) CSHTML: A markup-like language that has been extended with inline C# code expressions and blocks.
- // 2) C#+HTML: A variant of C# that can contain CSHTML tags as expressions.
- //
- // In the below code, both CSHTML and C#+HTML will be create as separate language definitions that reference each
- // other. However, only CSHTML will be exported via `Prism.languages`.
-
- Prism.languages.cshtml = Prism.languages.extend('markup', {});
-
- var csharpWithHtml = Prism.languages.insertBefore('csharp', 'string', {
- 'html': {
- pattern: RegExp(tagRegion),
- greedy: true,
- inside: Prism.languages.cshtml
- },
- }, { csharp: Prism.languages.extend('csharp', {}) });
-
- var cs = {
- pattern: /\S[\s\S]*/,
- alias: 'language-csharp',
- inside: csharpWithHtml
- };
-
- var inlineValue = {
- pattern: RegExp(/(^|[^@])/.source + inlineCs),
- lookbehind: true,
- greedy: true,
- alias: 'variable',
- inside: {
- 'keyword': /^@/,
- 'csharp': cs
- }
- };
-
- Prism.languages.cshtml.tag.pattern = RegExp(/<\/?/.source + tagContent);
- Prism.languages.cshtml.tag.inside['attr-value'].pattern = RegExp(/=\s*/.source + tagAttrValue);
- Prism.languages.insertBefore('inside', 'punctuation', { 'value': inlineValue }, Prism.languages.cshtml.tag.inside['attr-value']);
-
- Prism.languages.insertBefore('cshtml', 'prolog', {
- 'razor-comment': {
- pattern: /@\*[\s\S]*?\*@/,
- greedy: true,
- alias: 'comment'
- },
-
- 'block': {
- pattern: RegExp(
- /(^|[^@])@/.source +
- '(?:' +
- [
- // @{ ... }
- curly,
- // @code{ ... }
- /(?:code|functions)\s*/.source + curly,
- // @for (...) { ... }
- /(?:for|foreach|lock|switch|using|while)\s*/.source + round + /\s*/.source + curly,
- // @do { ... } while (...);
- /do\s*/.source + curly + /\s*while\s*/.source + round + /(?:\s*;)?/.source,
- // @try { ... } catch (...) { ... } finally { ... }
- /try\s*/.source + curly + /\s*catch\s*/.source + round + /\s*/.source + curly + /\s*finally\s*/.source + curly,
- // @if (...) {...} else if (...) {...} else {...}
- /if\s*/.source + round + /\s*/.source + curly + '(?:' + /\s*else/.source + '(?:' + /\s+if\s*/.source + round + ')?' + /\s*/.source + curly + ')*',
- // @helper Ident(params) { ... }
- /helper\s+\w+\s*/.source + round + /\s*/.source + curly,
- ].join('|') +
- ')'
- ),
- lookbehind: true,
- greedy: true,
- inside: {
- 'keyword': /^@\w*/,
- 'csharp': cs
- }
- },
-
- 'directive': {
- pattern: /^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,
- lookbehind: true,
- greedy: true,
- inside: {
- 'keyword': /^@\w+/,
- 'csharp': cs
- }
- },
-
- 'value': inlineValue,
-
- 'delegate-operator': {
- pattern: /(^|[^@])@(?=<)/,
- lookbehind: true,
- alias: 'operator'
- }
- });
-
- Prism.languages.razor = Prism.languages.cshtml;
-
-}(Prism));
-
-(function (Prism) {
-
- var javascript = Prism.util.clone(Prism.languages.javascript);
-
- var space = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source;
- var braces = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source;
- var spread = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
-
- /**
- * @param {string} source
- * @param {string} [flags]
- */
- function re(source, flags) {
- source = source
- .replace(/<S>/g, function () { return space; })
- .replace(/<BRACES>/g, function () { return braces; })
- .replace(/<SPREAD>/g, function () { return spread; });
- return RegExp(source, flags);
- }
-
- spread = re(spread).source;
-
-
- Prism.languages.jsx = Prism.languages.extend('markup', javascript);
- Prism.languages.jsx.tag.pattern = re(
- /<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source
- );
-
- Prism.languages.jsx.tag.inside['tag'].pattern = /^<\/?[^\s>\/]*/;
- Prism.languages.jsx.tag.inside['attr-value'].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/;
- Prism.languages.jsx.tag.inside['tag'].inside['class-name'] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/;
- Prism.languages.jsx.tag.inside['comment'] = javascript['comment'];
-
- Prism.languages.insertBefore('inside', 'attr-name', {
- 'spread': {
- pattern: re(/<SPREAD>/.source),
- inside: Prism.languages.jsx
- }
- }, Prism.languages.jsx.tag);
-
- Prism.languages.insertBefore('inside', 'special-attr', {
- 'script': {
- // Allow for two levels of nesting
- pattern: re(/=<BRACES>/.source),
- alias: 'language-javascript',
- inside: {
- 'script-punctuation': {
- pattern: /^=(?=\{)/,
- alias: 'punctuation'
- },
- rest: Prism.languages.jsx
- },
- }
- }, Prism.languages.jsx.tag);
-
- // The following will handle plain text inside tags
- var stringifyToken = function (token) {
- if (!token) {
- return '';
- }
- if (typeof token === 'string') {
- return token;
- }
- if (typeof token.content === 'string') {
- return token.content;
- }
- return token.content.map(stringifyToken).join('');
- };
-
- var walkTokens = function (tokens) {
- var openedTags = [];
- for (var i = 0; i < tokens.length; i++) {
- var token = tokens[i];
- var notTagNorBrace = false;
-
- if (typeof token !== 'string') {
- if (token.type === 'tag' && token.content[0] && token.content[0].type === 'tag') {
- // We found a tag, now find its kind
-
- if (token.content[0].content[0].content === '</') {
- // Closing tag
- if (openedTags.length > 0 && openedTags[openedTags.length - 1].tagName === stringifyToken(token.content[0].content[1])) {
- // Pop matching opening tag
- openedTags.pop();
- }
- } else {
- if (token.content[token.content.length - 1].content === '/>') {
- // Autoclosed tag, ignore
- } else {
- // Opening tag
- openedTags.push({
- tagName: stringifyToken(token.content[0].content[1]),
- openedBraces: 0
- });
- }
- }
- } else if (openedTags.length > 0 && token.type === 'punctuation' && token.content === '{') {
-
- // Here we might have entered a JSX context inside a tag
- openedTags[openedTags.length - 1].openedBraces++;
-
- } else if (openedTags.length > 0 && openedTags[openedTags.length - 1].openedBraces > 0 && token.type === 'punctuation' && token.content === '}') {
-
- // Here we might have left a JSX context inside a tag
- openedTags[openedTags.length - 1].openedBraces--;
-
- } else {
- notTagNorBrace = true;
- }
- }
- if (notTagNorBrace || typeof token === 'string') {
- if (openedTags.length > 0 && openedTags[openedTags.length - 1].openedBraces === 0) {
- // Here we are inside a tag, and not inside a JSX context.
- // That's plain text: drop any tokens matched.
- var plainText = stringifyToken(token);
-
- // And merge text with adjacent text
- if (i < tokens.length - 1 && (typeof tokens[i + 1] === 'string' || tokens[i + 1].type === 'plain-text')) {
- plainText += stringifyToken(tokens[i + 1]);
- tokens.splice(i + 1, 1);
- }
- if (i > 0 && (typeof tokens[i - 1] === 'string' || tokens[i - 1].type === 'plain-text')) {
- plainText = stringifyToken(tokens[i - 1]) + plainText;
- tokens.splice(i - 1, 1);
- i--;
- }
-
- tokens[i] = new Prism.Token('plain-text', plainText, null, plainText);
- }
- }
-
- if (token.content && typeof token.content !== 'string') {
- walkTokens(token.content);
- }
- }
- };
-
- Prism.hooks.add('after-tokenize', function (env) {
- if (env.language !== 'jsx' && env.language !== 'tsx') {
- return;
- }
- walkTokens(env.tokens);
- });
-
-}(Prism));
-
-(function (Prism) {
- var typescript = Prism.util.clone(Prism.languages.typescript);
- Prism.languages.tsx = Prism.languages.extend('jsx', typescript);
-
- // doesn't work with TS because TS is too complex
- delete Prism.languages.tsx['parameter'];
- delete Prism.languages.tsx['literal-property'];
-
- // This will prevent collisions between TSX tags and TS generic types.
- // Idea by https://github.com/karlhorky
- // Discussion: https://github.com/PrismJS/prism/issues/2594#issuecomment-710666928
- var tag = Prism.languages.tsx.tag;
- tag.pattern = RegExp(/(^|[^\w$]|(?=<\/))/.source + '(?:' + tag.pattern.source + ')', tag.pattern.flags);
- tag.lookbehind = true;
-}(Prism));
-
-Prism.languages.reason = Prism.languages.extend('clike', {
- 'string': {
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,
- greedy: true
- },
- // 'class-name' must be matched *after* 'constructor' defined below
- 'class-name': /\b[A-Z]\w*/,
- 'keyword': /\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,
- 'operator': /\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/
-});
-Prism.languages.insertBefore('reason', 'class-name', {
- 'char': {
- pattern: /'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,
- greedy: true
- },
- // Negative look-ahead prevents from matching things like String.capitalize
- 'constructor': /\b[A-Z]\w*\b(?!\s*\.)/,
- 'label': {
- pattern: /\b[a-z]\w*(?=::)/,
- alias: 'symbol'
- }
-});
-
-// We can't match functions property, so let's not even try.
-delete Prism.languages.reason.function;
-
-(function (Prism) {
-
- var specialEscape = {
- pattern: /\\[\\(){}[\]^$+*?|.]/,
- alias: 'escape'
- };
- var escape = /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/;
- var charSet = {
- pattern: /\.|\\[wsd]|\\p\{[^{}]+\}/i,
- alias: 'class-name'
- };
- var charSetWithoutDot = {
- pattern: /\\[wsd]|\\p\{[^{}]+\}/i,
- alias: 'class-name'
- };
-
- var rangeChar = '(?:[^\\\\-]|' + escape.source + ')';
- var range = RegExp(rangeChar + '-' + rangeChar);
-
- // the name of a capturing group
- var groupName = {
- pattern: /(<|')[^<>']+(?=[>']$)/,
- lookbehind: true,
- alias: 'variable'
- };
-
- Prism.languages.regex = {
- 'char-class': {
- pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,
- lookbehind: true,
- inside: {
- 'char-class-negation': {
- pattern: /(^\[)\^/,
- lookbehind: true,
- alias: 'operator'
- },
- 'char-class-punctuation': {
- pattern: /^\[|\]$/,
- alias: 'punctuation'
- },
- 'range': {
- pattern: range,
- inside: {
- 'escape': escape,
- 'range-punctuation': {
- pattern: /-/,
- alias: 'operator'
- }
- }
- },
- 'special-escape': specialEscape,
- 'char-set': charSetWithoutDot,
- 'escape': escape
- }
- },
- 'special-escape': specialEscape,
- 'char-set': charSet,
- 'backreference': [
- {
- // a backreference which is not an octal escape
- pattern: /\\(?![123][0-7]{2})[1-9]/,
- alias: 'keyword'
- },
- {
- pattern: /\\k<[^<>']+>/,
- alias: 'keyword',
- inside: {
- 'group-name': groupName
- }
- }
- ],
- 'anchor': {
- pattern: /[$^]|\\[ABbGZz]/,
- alias: 'function'
- },
- 'escape': escape,
- 'group': [
- {
- // https://docs.oracle.com/javase/10/docs/api/java/util/regex/Pattern.html
- // https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference?view=netframework-4.7.2#grouping-constructs
-
- // (), (?<name>), (?'name'), (?>), (?:), (?=), (?!), (?<=), (?<!), (?is-m), (?i-m:)
- pattern: /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,
- alias: 'punctuation',
- inside: {
- 'group-name': groupName
- }
- },
- {
- pattern: /\)/,
- alias: 'punctuation'
- }
- ],
- 'quantifier': {
- pattern: /(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,
- alias: 'number'
- },
- 'alternation': {
- pattern: /\|/,
- alias: 'keyword'
- }
- };
-
-}(Prism));
-
-// https://www.openpolicyagent.org/docs/latest/policy-reference/
-
-Prism.languages.rego = {
- 'comment': /#.*/,
- 'property': {
- pattern: /(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,
- lookbehind: true,
- greedy: true
- },
- 'string': {
- pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,
- lookbehind: true,
- greedy: true
- },
-
- 'keyword': /\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,
- 'boolean': /\b(?:false|true)\b/,
-
- 'function': {
- pattern: /\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,
- inside: {
- 'namespace': /\b\w+\b(?=\s*\.)/,
- 'punctuation': /\./
- }
- },
-
- 'number': /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
- 'operator': /[-+*/%|&]|[<>:=]=?|!=|\b_\b/,
- 'punctuation': /[,;.\[\]{}()]/
-};
-
-Prism.languages.renpy = {
- 'comment': {
- pattern: /(^|[^\\])#.+/,
- lookbehind: true
- },
-
- 'string': {
- pattern: /("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,
- greedy: true
- },
-
- 'function': /\b[a-z_]\w*(?=\()/i,
-
- 'property': /\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,
-
- 'tag': /\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,
-
- 'keyword': /\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,
-
- 'boolean': /\b(?:[Ff]alse|[Tt]rue)\b/,
-
- 'number': /(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,
-
- 'operator': /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,
-
- 'punctuation': /[{}[\];(),.:]/
-};
-
-Prism.languages.rpy = Prism.languages.renpy;
-
-Prism.languages.rescript = {
- 'comment': {
- pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
- greedy: true
- },
- 'char': { pattern: /'(?:[^\r\n\\]|\\(?:.|\w+))'/, greedy: true },
- 'string': {
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,
- greedy: true
- },
- 'class-name': /\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,
- 'function': {
- pattern: /[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,
- lookbehind: true,
- },
- 'number': /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,
- 'boolean': /\b(?:false|true)\b/,
- 'attr-value': /[A-Za-z]\w*(?==)/,
- 'constant': {
- pattern: /(\btype\s+)[a-z]\w*/,
- lookbehind: true
- },
- 'tag': {
- pattern: /(<)[a-z]\w*|(?:<\/)[a-z]\w*/,
- lookbehind: true,
- inside: {
- 'operator': /<|>|\//,
- },
- },
- 'keyword': /\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,
- 'operator': /\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,
- 'punctuation': /[(){}[\],;.]/
-};
-
-Prism.languages.insertBefore('rescript', 'string', {
- 'template-string': {
- pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
- greedy: true,
- inside: {
- 'template-punctuation': {
- pattern: /^`|`$/,
- alias: 'string'
- },
- 'interpolation': {
- pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
- lookbehind: true,
- inside: {
- 'interpolation-punctuation': {
- pattern: /^\$\{|\}$/,
- alias: 'tag'
- },
- rest: Prism.languages.rescript
- }
- },
- 'string': /[\s\S]+/
- }
- },
-});
-
-Prism.languages.res = Prism.languages.rescript;
-
-Prism.languages.rest = {
- 'table': [
- {
- pattern: /(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,
- lookbehind: true,
- inside: {
- 'punctuation': /\||(?:\+[=-]+)+\+/
- }
- },
- {
- pattern: /(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,
- lookbehind: true,
- inside: {
- 'punctuation': /[=-]+/
- }
- }
- ],
-
- // Directive-like patterns
-
- 'substitution-def': {
- pattern: /(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,
- lookbehind: true,
- inside: {
- 'substitution': {
- pattern: /^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,
- alias: 'attr-value',
- inside: {
- 'punctuation': /^\||\|$/
- }
- },
- 'directive': {
- pattern: /( )(?! )[^:]+::/,
- lookbehind: true,
- alias: 'function',
- inside: {
- 'punctuation': /::$/
- }
- }
- }
- },
- 'link-target': [
- {
- pattern: /(^[\t ]*\.\. )\[[^\]]+\]/m,
- lookbehind: true,
- alias: 'string',
- inside: {
- 'punctuation': /^\[|\]$/
- }
- },
- {
- pattern: /(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,
- lookbehind: true,
- alias: 'string',
- inside: {
- 'punctuation': /^_|:$/
- }
- }
- ],
- 'directive': {
- pattern: /(^[\t ]*\.\. )[^:]+::/m,
- lookbehind: true,
- alias: 'function',
- inside: {
- 'punctuation': /::$/
- }
- },
- 'comment': {
- // The two alternatives try to prevent highlighting of blank comments
- pattern: /(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,
- lookbehind: true
- },
-
- 'title': [
- // Overlined and underlined
- {
- pattern: /^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,
- inside: {
- 'punctuation': /^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,
- 'important': /.+/
- }
- },
-
- // Underlined only
- {
- pattern: /(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,
- lookbehind: true,
- inside: {
- 'punctuation': /[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,
- 'important': /.+/
- }
- }
- ],
- 'hr': {
- pattern: /((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,
- lookbehind: true,
- alias: 'punctuation'
- },
- 'field': {
- pattern: /(^[\t ]*):[^:\r\n]+:(?= )/m,
- lookbehind: true,
- alias: 'attr-name'
- },
- 'command-line-option': {
- pattern: /(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,
- lookbehind: true,
- alias: 'symbol'
- },
- 'literal-block': {
- pattern: /::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,
- inside: {
- 'literal-block-punctuation': {
- pattern: /^::/,
- alias: 'punctuation'
- }
- }
- },
- 'quoted-literal-block': {
- pattern: /::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,
- inside: {
- 'literal-block-punctuation': {
- pattern: /^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,
- alias: 'punctuation'
- }
- }
- },
- 'list-bullet': {
- pattern: /(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,
- lookbehind: true,
- alias: 'punctuation'
- },
- 'doctest-block': {
- pattern: /(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,
- lookbehind: true,
- inside: {
- 'punctuation': /^>>>/
- }
- },
-
- 'inline': [
- {
- pattern: /(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,
- lookbehind: true,
- inside: {
- 'bold': {
- pattern: /(^\*\*).+(?=\*\*$)/,
- lookbehind: true
- },
- 'italic': {
- pattern: /(^\*).+(?=\*$)/,
- lookbehind: true
- },
- 'inline-literal': {
- pattern: /(^``).+(?=``$)/,
- lookbehind: true,
- alias: 'symbol'
- },
- 'role': {
- pattern: /^:[^:]+:|:[^:]+:$/,
- alias: 'function',
- inside: {
- 'punctuation': /^:|:$/
- }
- },
- 'interpreted-text': {
- pattern: /(^`).+(?=`$)/,
- lookbehind: true,
- alias: 'attr-value'
- },
- 'substitution': {
- pattern: /(^\|).+(?=\|$)/,
- lookbehind: true,
- alias: 'attr-value'
- },
- 'punctuation': /\*\*?|``?|\|/
- }
- }
- ],
-
- 'link': [
- {
- pattern: /\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,
- alias: 'string',
- inside: {
- 'punctuation': /^\[|\]_$/
- }
- },
- {
- pattern: /(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,
- alias: 'string',
- inside: {
- 'punctuation': /^_?`|`$|`?_?_$/
- }
- }
- ],
-
- // Line block start,
- // quote attribution,
- // explicit markup start,
- // and anonymous hyperlink target shortcut (__)
- 'punctuation': {
- pattern: /(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,
- lookbehind: true
- }
-};
-
-Prism.languages.rip = {
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
-
- 'char': {
- pattern: /\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,
- greedy: true
- },
- 'string': {
- pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
-
- 'regex': {
- pattern: /(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,
- lookbehind: true,
- greedy: true
- },
-
- 'keyword': /(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,
-
- 'builtin': /@|\bSystem\b/,
-
- 'boolean': /\b(?:false|true)\b/,
-
- 'date': /\b\d{4}-\d{2}-\d{2}\b/,
- 'time': /\b\d{2}:\d{2}:\d{2}\b/,
- 'datetime': /\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,
-
- 'symbol': /:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,
- 'number': /[+-]?\b(?:\d+\.\d+|\d+)\b/,
-
- 'punctuation': /(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,
-
- 'reference': /[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/
-};
-
-Prism.languages.roboconf = {
- 'comment': /#.*/,
- 'keyword': {
- 'pattern': /(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,
- lookbehind: true
- },
- 'component': {
- pattern: /[\w-]+(?=[ \t]*\{)/,
- alias: 'variable'
- },
- 'property': /[\w.-]+(?=[ \t]*:)/,
- 'value': {
- pattern: /(=[ \t]*(?![ \t]))[^,;]+/,
- lookbehind: true,
- alias: 'attr-value'
- },
- 'optional': {
- pattern: /\(optional\)/,
- alias: 'builtin'
- },
- 'wildcard': {
- pattern: /(\.)\*/,
- lookbehind: true,
- alias: 'operator'
- },
- 'punctuation': /[{},.;:=]/
-};
-
-(function (Prism) {
-
- var comment = {
- pattern: /(^[ \t]*| {2}|\t)#.*/m,
- lookbehind: true,
- greedy: true
- };
-
- var variable = {
- pattern: /((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,
- lookbehind: true,
- inside: {
- 'punctuation': /^[$@&%]\{|\}$/
- }
- };
-
- function createSection(name, inside) {
- var extendecInside = {};
-
- extendecInside['section-header'] = {
- pattern: /^ ?\*{3}.+?\*{3}/,
- alias: 'keyword'
- };
-
- // copy inside tokens
- for (var token in inside) {
- extendecInside[token] = inside[token];
- }
-
- extendecInside['tag'] = {
- pattern: /([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,
- lookbehind: true,
- inside: {
- 'punctuation': /\[|\]/
- }
- };
- extendecInside['variable'] = variable;
- extendecInside['comment'] = comment;
-
- return {
- pattern: RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g, function () { return name; }), 'im'),
- alias: 'section',
- inside: extendecInside
- };
- }
-
-
- var docTag = {
- pattern: /(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,
- lookbehind: true,
- alias: 'string'
- };
-
- var testNameLike = {
- pattern: /([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,
- lookbehind: true,
- alias: 'function',
- inside: {
- 'variable': variable
- }
- };
-
- var testPropertyLike = {
- pattern: /([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,
- lookbehind: true,
- inside: {
- 'variable': variable
- }
- };
-
- Prism.languages['robotframework'] = {
- 'settings': createSection('Settings', {
- 'documentation': {
- pattern: /([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,
- lookbehind: true,
- alias: 'string'
- },
- 'property': {
- pattern: /([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,
- lookbehind: true
- }
- }),
- 'variables': createSection('Variables'),
- 'test-cases': createSection('Test Cases', {
- 'test-name': testNameLike,
- 'documentation': docTag,
- 'property': testPropertyLike
- }),
- 'keywords': createSection('Keywords', {
- 'keyword-name': testNameLike,
- 'documentation': docTag,
- 'property': testPropertyLike
- }),
- 'tasks': createSection('Tasks', {
- 'task-name': testNameLike,
- 'documentation': docTag,
- 'property': testPropertyLike
- }),
- 'comment': comment
- };
-
- Prism.languages.robot = Prism.languages['robotframework'];
-
-}(Prism));
-
-(function (Prism) {
-
- var multilineComment = /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source;
- for (var i = 0; i < 2; i++) {
- // support 4 levels of nested comments
- multilineComment = multilineComment.replace(/<self>/g, function () { return multilineComment; });
- }
- multilineComment = multilineComment.replace(/<self>/g, function () { return /[^\s\S]/.source; });
-
-
- Prism.languages.rust = {
- 'comment': [
- {
- pattern: RegExp(/(^|[^\\])/.source + multilineComment),
- lookbehind: true,
- greedy: true
- },
- {
- pattern: /(^|[^\\:])\/\/.*/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'string': {
- pattern: /b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,
- greedy: true
- },
- 'char': {
- pattern: /b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,
- greedy: true
- },
- 'attribute': {
- pattern: /#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,
- greedy: true,
- alias: 'attr-name',
- inside: {
- 'string': null // see below
- }
- },
-
- // Closure params should not be confused with bitwise OR |
- 'closure-params': {
- pattern: /([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'closure-punctuation': {
- pattern: /^\||\|$/,
- alias: 'punctuation'
- },
- rest: null // see below
- }
- },
-
- 'lifetime-annotation': {
- pattern: /'\w+/,
- alias: 'symbol'
- },
-
- 'fragment-specifier': {
- pattern: /(\$\w+:)[a-z]+/,
- lookbehind: true,
- alias: 'punctuation'
- },
- 'variable': /\$\w+/,
-
- 'function-definition': {
- pattern: /(\bfn\s+)\w+/,
- lookbehind: true,
- alias: 'function'
- },
- 'type-definition': {
- pattern: /(\b(?:enum|struct|trait|type|union)\s+)\w+/,
- lookbehind: true,
- alias: 'class-name'
- },
- 'module-declaration': [
- {
- pattern: /(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,
- lookbehind: true,
- alias: 'namespace'
- },
- {
- pattern: /(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,
- lookbehind: true,
- alias: 'namespace',
- inside: {
- 'punctuation': /::/
- }
- }
- ],
- 'keyword': [
- // https://github.com/rust-lang/reference/blob/master/src/keywords.md
- /\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/,
- // primitives and str
- // https://doc.rust-lang.org/stable/rust-by-example/primitives.html
- /\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/
- ],
-
- // functions can technically start with an upper-case letter, but this will introduce a lot of false positives
- // and Rust's naming conventions recommend snake_case anyway.
- // https://doc.rust-lang.org/1.0.0/style/style/naming/README.html
- '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': /::/
- }
- },
-
- // Hex, oct, bin, dec numbers with visual separators and type suffix
- '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': /[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/
- };
-
- Prism.languages.rust['closure-params'].inside.rest = Prism.languages.rust;
- Prism.languages.rust['attribute'].inside['string'] = Prism.languages.rust['string'];
-
-}(Prism));
-
-(function (Prism) {
-
- var stringPattern = /(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source;
-
- var number = /\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i;
- var numericConstant = {
- pattern: RegExp(stringPattern + '[bx]'),
- alias: 'number'
- };
-
- var macroVariable = {
- pattern: /&[a-z_]\w*/i
- };
-
- var macroKeyword = {
- pattern: /((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,
- lookbehind: true,
- alias: 'keyword'
- };
-
- var step = {
- pattern: /(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,
- alias: 'keyword',
- lookbehind: true
- };
-
- var comment = [
- /\/\*[\s\S]*?\*\//,
- {
- pattern: /(^[ \t]*|;\s*)\*[^;]*;/m,
- lookbehind: true
- }
- ];
-
- var string = {
- pattern: RegExp(stringPattern),
- greedy: true
- };
-
- var punctuation = /[$%@.(){}\[\];,\\]/;
-
- var func = {
- pattern: /%?\b\w+(?=\()/,
- alias: 'keyword'
- };
-
- var args = {
- 'function': func,
- 'arg-value': {
- pattern: /(=\s*)[A-Z\.]+/i,
- lookbehind: true
- },
- 'operator': /=/,
- 'macro-variable': macroVariable,
- 'arg': {
- pattern: /[A-Z]+/i,
- alias: 'keyword'
- },
- 'number': number,
- 'numeric-constant': numericConstant,
- 'punctuation': punctuation,
- 'string': string
- };
-
- var format = {
- pattern: /\b(?:format|put)\b=?[\w'$.]+/i,
- inside: {
- 'keyword': /^(?:format|put)(?==)/i,
- 'equals': /=/,
- 'format': {
- pattern: /(?:\w|\$\d)+\.\d?/,
- alias: 'number'
- }
- }
- };
-
- var altformat = {
- pattern: /\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,
- inside: {
- 'keyword': /^(?:format|put)/i,
- 'format': {
- pattern: /[\w$]+\.\d?/,
- alias: 'number'
- }
- }
- };
-
- var globalStatements = {
- pattern: /((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,
- lookbehind: true,
- alias: 'keyword'
- };
-
- var submitStatement = {
- pattern: /(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,
- lookbehind: true,
- alias: 'keyword'
- };
-
- var actionSets = /aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source;
-
- var casActions = {
- pattern: RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g, function () { return actionSets; }), 'i'),
- lookbehind: true,
- inside: {
- 'keyword': RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g, function () { return actionSets; }), 'i'),
- 'action': {
- pattern: /(?:action)/i,
- alias: 'keyword'
- },
- 'comment': comment,
- 'function': func,
- 'arg-value': args['arg-value'],
- 'operator': args.operator,
- 'argument': args.arg,
- 'number': number,
- 'numeric-constant': numericConstant,
- 'punctuation': punctuation,
- 'string': string
- }
- };
-
- var keywords = {
- pattern: /((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,
- lookbehind: true,
- };
-
- Prism.languages.sas = {
- 'datalines': {
- pattern: /^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,
- lookbehind: true,
- alias: 'string',
- inside: {
- 'keyword': {
- pattern: /^(?:cards|(?:data)?lines)/i
- },
- 'punctuation': /;/
- }
- },
-
- 'proc-sql': {
- pattern: /(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,
- lookbehind: true,
- inside: {
- 'sql': {
- pattern: RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g, function () { return stringPattern; }), 'im'),
- alias: 'language-sql',
- inside: Prism.languages.sql
- },
- 'global-statements': globalStatements,
- 'sql-statements': {
- pattern: /(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,
- lookbehind: true,
- alias: 'keyword'
- },
- 'number': number,
- 'numeric-constant': numericConstant,
- 'punctuation': punctuation,
- 'string': string
- }
- },
-
- 'proc-groovy': {
- pattern: /(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,
- lookbehind: true,
- inside: {
- 'comment': comment,
- 'groovy': {
- pattern: RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g, function () { return stringPattern; }), 'im'),
- lookbehind: true,
- alias: 'language-groovy',
- inside: Prism.languages.groovy
- },
- 'keyword': keywords,
- 'submit-statement': submitStatement,
- 'global-statements': globalStatements,
- 'number': number,
- 'numeric-constant': numericConstant,
- 'punctuation': punctuation,
- 'string': string
- }
- },
-
- 'proc-lua': {
- pattern: /(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,
- lookbehind: true,
- inside: {
- 'comment': comment,
- 'lua': {
- pattern: RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g, function () { return stringPattern; }), 'im'),
- lookbehind: true,
- alias: 'language-lua',
- inside: Prism.languages.lua
- },
- 'keyword': keywords,
- 'submit-statement': submitStatement,
- 'global-statements': globalStatements,
- 'number': number,
- 'numeric-constant': numericConstant,
- 'punctuation': punctuation,
- 'string': string
- }
- },
-
- 'proc-cas': {
- pattern: /(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,
- lookbehind: true,
- inside: {
- 'comment': comment,
- 'statement-var': {
- pattern: /((?:^|\s)=?)saveresult\s[^;]+/im,
- lookbehind: true,
- inside: {
-
- 'statement': {
- pattern: /^saveresult\s+\S+/i,
- inside: {
- keyword: /^(?:saveresult)/i
- }
- },
- rest: args
- }
- },
- 'cas-actions': casActions,
- 'statement': {
- pattern: /((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,
- lookbehind: true,
- inside: args
- },
- 'step': step,
- 'keyword': keywords,
- 'function': func,
- 'format': format,
- 'altformat': altformat,
- 'global-statements': globalStatements,
- 'number': number,
- 'numeric-constant': numericConstant,
- 'punctuation': punctuation,
- 'string': string
- }
- },
-
- 'proc-args': {
- pattern: RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g, function () { return stringPattern; }), 'im'),
- lookbehind: true,
- inside: args
- },
- /*Special keywords within macros*/
- 'macro-keyword': macroKeyword,
- 'macro-variable': macroVariable,
- 'macro-string-functions': {
- pattern: /((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,
- lookbehind: true,
- inside: {
- 'function': {
- pattern: /%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,
- alias: 'keyword'
- },
- 'macro-keyword': macroKeyword,
- 'macro-variable': macroVariable,
- 'escaped-char': {
- pattern: /%['"()<>=¬^~;,#]/,
- },
- 'punctuation': punctuation
- }
- },
- 'macro-declaration': {
- pattern: /^%macro[^;]+(?=;)/im,
- inside: {
- 'keyword': /%macro/i,
- }
- },
- 'macro-end': {
- pattern: /^%mend[^;]+(?=;)/im,
- inside: {
- 'keyword': /%mend/i,
- }
- },
- /*%_zscore(headcir, _lhc, _mhc, _shc, headcz, headcpct, _Fheadcz); */
- 'macro': {
- pattern: /%_\w+(?=\()/,
- alias: 'keyword'
- },
- 'input': {
- pattern: /\binput\s[-\w\s/*.$&]+;/i,
- inside: {
- 'input': {
- alias: 'keyword',
- pattern: /^input/i,
- },
- 'comment': comment,
- 'number': number,
- 'numeric-constant': numericConstant
- }
- },
- 'options-args': {
- pattern: /(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,
- lookbehind: true,
- inside: args
- },
- 'cas-actions': casActions,
- 'comment': comment,
- 'function': func,
- 'format': format,
- 'altformat': altformat,
- 'numeric-constant': numericConstant,
- 'datetime': {
- // '1jan2013'd, '9:25:19pm't, '18jan2003:9:27:05am'dt
- pattern: RegExp(stringPattern + '(?:dt?|t)'),
- alias: 'number'
- },
- 'string': string,
- 'step': step,
- 'keyword': keywords,
- // In SAS Studio syntax highlighting, these operators are styled like keywords
- 'operator-keyword': {
- pattern: /\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,
- alias: 'operator'
- },
- // Decimal (1.2e23), hexadecimal (0c1x)
- 'number': number,
- 'operator': /\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,
- 'punctuation': punctuation
- };
-
-}(Prism));
-
-(function (Prism) {
- Prism.languages.sass = Prism.languages.extend('css', {
- // Sass comments don't need to be closed, only indented
- 'comment': {
- pattern: /^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,
- lookbehind: true,
- greedy: true
- }
- });
-
- Prism.languages.insertBefore('sass', 'atrule', {
- // We want to consume the whole line
- 'atrule-line': {
- // Includes support for = and + shortcuts
- pattern: /^(?:[ \t]*)[@+=].+/m,
- greedy: true,
- inside: {
- 'atrule': /(?:@[\w-]+|[+=])/
- }
- }
- });
- delete Prism.languages.sass.atrule;
-
-
- var variable = /\$[-\w]+|#\{\$[-\w]+\}/;
- var operator = [
- /[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,
- {
- pattern: /(\s)-(?=\s)/,
- lookbehind: true
- }
- ];
-
- Prism.languages.insertBefore('sass', 'property', {
- // We want to consume the whole line
- 'variable-line': {
- pattern: /^[ \t]*\$.+/m,
- greedy: true,
- inside: {
- 'punctuation': /:/,
- 'variable': variable,
- 'operator': operator
- }
- },
- // We want to consume the whole line
- 'property-line': {
- pattern: /^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,
- greedy: true,
- inside: {
- 'property': [
- /[^:\s]+(?=\s*:)/,
- {
- pattern: /(:)[^:\s]+/,
- lookbehind: true
- }
- ],
- 'punctuation': /:/,
- 'variable': variable,
- 'operator': operator,
- 'important': Prism.languages.sass.important
- }
- }
- });
- delete Prism.languages.sass.property;
- delete Prism.languages.sass.important;
-
- // Now that whole lines for other patterns are consumed,
- // what's left should be selectors
- Prism.languages.insertBefore('sass', 'punctuation', {
- 'selector': {
- pattern: /^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,
- lookbehind: true,
- greedy: true
- }
- });
-
-}(Prism));
-
-Prism.languages.scss = Prism.languages.extend('css', {
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
- lookbehind: true
- },
- 'atrule': {
- pattern: /@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,
- inside: {
- 'rule': /@[\w-]+/
- // See rest below
- }
- },
- // url, compassified
- 'url': /(?:[-a-z]+-)?url(?=\()/i,
- // CSS selector regex is not appropriate for Sass
- // since there can be lot more things (var, @ directive, nesting..)
- // a selector must start at the end of a property or after a brace (end of other rules or nesting)
- // it can contain some characters that aren't used for defining rules or end of selector, & (parent selector), or interpolated variable
- // the end of a selector is found when there is no rules in it ( {} or {\s}) or if there is a property (because an interpolated var
- // can "pass" as a selector- e.g: proper#{$erty})
- // this one was hard to do, so please be careful if you edit this one :)
- 'selector': {
- // Initial look-ahead is used to prevent matching of blank selectors
- pattern: /(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,
- inside: {
- 'parent': {
- pattern: /&/,
- alias: 'important'
- },
- 'placeholder': /%[-\w]+/,
- 'variable': /\$[-\w]+|#\{\$[-\w]+\}/
- }
- },
- 'property': {
- pattern: /(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,
- inside: {
- 'variable': /\$[-\w]+|#\{\$[-\w]+\}/
- }
- }
-});
-
-Prism.languages.insertBefore('scss', 'atrule', {
- 'keyword': [
- /@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,
- {
- pattern: /( )(?:from|through)(?= )/,
- lookbehind: true
- }
- ]
-});
-
-Prism.languages.insertBefore('scss', 'important', {
- // var and interpolated vars
- 'variable': /\$[-\w]+|#\{\$[-\w]+\}/
-});
-
-Prism.languages.insertBefore('scss', 'function', {
- 'module-modifier': {
- pattern: /\b(?:as|hide|show|with)\b/i,
- alias: 'keyword'
- },
- 'placeholder': {
- pattern: /%[-\w]+/,
- alias: 'selector'
- },
- 'statement': {
- pattern: /\B!(?:default|optional)\b/i,
- alias: 'keyword'
- },
- 'boolean': /\b(?:false|true)\b/,
- 'null': {
- pattern: /\bnull\b/,
- alias: 'keyword'
- },
- 'operator': {
- pattern: /(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,
- lookbehind: true
- }
-});
-
-Prism.languages.scss['atrule'].inside.rest = Prism.languages.scss;
-
-Prism.languages.scala = Prism.languages.extend('java', {
- 'triple-quoted-string': {
- pattern: /"""[\s\S]*?"""/,
- greedy: true,
- alias: 'string'
- },
- 'string': {
- pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
- 'keyword': /<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,
- 'number': /\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,
- 'builtin': /\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,
- 'symbol': /'[^\d\s\\]\w*/
-});
-
-Prism.languages.insertBefore('scala', 'triple-quoted-string', {
- 'string-interpolation': {
- pattern: /\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,
- greedy: true,
- inside: {
- 'id': {
- pattern: /^\w+/,
- greedy: true,
- alias: 'function'
- },
- 'escape': {
- pattern: /\\\$"|\$[$"]/,
- greedy: true,
- alias: 'symbol'
- },
- 'interpolation': {
- pattern: /\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,
- greedy: true,
- inside: {
- 'punctuation': /^\$\{?|\}$/,
- 'expression': {
- pattern: /[\s\S]+/,
- inside: Prism.languages.scala
- }
- }
- },
- 'string': /[\s\S]+/
- }
- }
-});
-
-delete Prism.languages.scala['class-name'];
-delete Prism.languages.scala['function'];
-
-(function (Prism) {
-
- // CAREFUL!
- // The following patterns are concatenated, so the group referenced by a back reference is non-obvious!
-
- var strings = [
- // normal string
- /"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,
- /'[^']*'/.source,
- /\$'(?:[^'\\]|\\[\s\S])*'/.source,
-
- // here doc
- // 2 capturing groups
- /<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source
- ].join('|');
-
- Prism.languages['shell-session'] = {
- 'command': {
- pattern: RegExp(
- // user info
- /^/.source +
- '(?:' +
- (
- // <user> ":" ( <path> )?
- /[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source +
- '|' +
- // <path>
- // Since the path pattern is quite general, we will require it to start with a special character to
- // prevent false positives.
- /[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source
- ) +
- ')?' +
- // shell symbol
- /[$#%](?=\s)/.source +
- // bash command
- /(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g, function () { return strings; }),
- 'm'
- ),
- greedy: true,
- inside: {
- 'info': {
- // foo@bar:~/files$ exit
- // foo@bar$ exit
- // ~/files$ exit
- pattern: /^[^#$%]+/,
- alias: 'punctuation',
- inside: {
- 'user': /^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,
- 'punctuation': /:/,
- 'path': /[\s\S]+/
- }
- },
- 'bash': {
- pattern: /(^[$#%]\s*)\S[\s\S]*/,
- lookbehind: true,
- alias: 'language-bash',
- inside: Prism.languages.bash
- },
- 'shell-symbol': {
- pattern: /^[$#%]/,
- alias: 'important'
- }
- }
- },
- 'output': /.(?:.*(?:[\r\n]|.$))*/
- };
-
- Prism.languages['sh-session'] = Prism.languages['shellsession'] = Prism.languages['shell-session'];
-
-}(Prism));
-
-// Test files for the parser itself:
-// https://github.com/JesusFreke/smali/tree/master/smali/src/test/resources/LexerTest
-
-Prism.languages.smali = {
- 'comment': /#.*/,
- 'string': {
- pattern: /"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,
- greedy: true
- },
-
- 'class-name': {
- pattern: /(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,
- lookbehind: true,
- inside: {
- 'class-name': {
- pattern: /(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,
- lookbehind: true
- },
- 'namespace': {
- pattern: /^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,
- lookbehind: true,
- inside: {
- 'punctuation': /\//
- }
- },
- 'builtin': /^L/
- }
- },
- 'builtin': [
- {
- // Reference: https://github.com/JesusFreke/smali/wiki/TypesMethodsAndFields#types
- pattern: /([();\[])[BCDFIJSVZ]+/,
- lookbehind: true
- },
- {
- // e.g. .field mWifiOnUid:I
- pattern: /([\w$>]:)[BCDFIJSVZ]/,
- lookbehind: true
- }
- ],
- 'keyword': [
- {
- pattern: /(\.end\s+)[\w-]+/,
- lookbehind: true
- },
- {
- pattern: /(^|[^\w.-])\.(?!\d)[\w-]+/,
- lookbehind: true
- },
- {
- pattern: /(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,
- lookbehind: true
- }
- ],
- 'function': {
- pattern: /(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,
- lookbehind: true
- },
-
- 'field': {
- pattern: /[\w$]+(?=:)/,
- alias: 'variable'
- },
- 'register': {
- pattern: /(^|[^\w.-])[vp]\d(?![\w.-])/,
- lookbehind: true,
- alias: 'variable'
- },
-
- 'boolean': {
- pattern: /(^|[^\w.-])(?:false|true)(?![\w.-])/,
- lookbehind: true
- },
- 'number': {
- pattern: /(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,
- lookbehind: true
- },
-
- 'label': {
- pattern: /(:)\w+/,
- lookbehind: true,
- alias: 'property'
- },
-
- 'operator': /->|\.\.|[\[=]/,
- 'punctuation': /[{}(),;:]/
-};
-
-Prism.languages.smalltalk = {
- 'comment': {
- pattern: /"(?:""|[^"])*"/,
- greedy: true
- },
- 'char': {
- pattern: /\$./,
- greedy: true
- },
- 'string': {
- pattern: /'(?:''|[^'])*'/,
- greedy: true
- },
- 'symbol': /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,
- 'block-arguments': {
- pattern: /(\[\s*):[^\[|]*\|/,
- lookbehind: true,
- inside: {
- 'variable': /:[\da-z]+/i,
- 'punctuation': /\|/
- }
- },
- 'temporary-variables': {
- pattern: /\|[^|]+\|/,
- inside: {
- 'variable': /[\da-z]+/i,
- 'punctuation': /\|/
- }
- },
- 'keyword': /\b(?:new|nil|self|super)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'number': [
- /\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,
- /\b\d+(?:\.\d+)?(?:e-?\d+)?/
- ],
- 'operator': /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,
- 'punctuation': /[.;:?\[\](){}]/
-};
-
-(function (Prism) {
-
- Prism.languages.smarty = {
- 'comment': {
- pattern: /^\{\*[\s\S]*?\*\}/,
- greedy: true
- },
- 'embedded-php': {
- pattern: /^\{php\}[\s\S]*?\{\/php\}/,
- greedy: true,
- inside: {
- 'smarty': {
- pattern: /^\{php\}|\{\/php\}$/,
- inside: null // see below
- },
- 'php': {
- pattern: /[\s\S]+/,
- alias: 'language-php',
- inside: Prism.languages.php
- }
- }
- },
- 'string': [
- {
- pattern: /"(?:\\.|[^"\\\r\n])*"/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /\{[^{}]*\}|`[^`]*`/,
- inside: {
- 'interpolation-punctuation': {
- pattern: /^[{`]|[`}]$/,
- alias: 'punctuation'
- },
- 'expression': {
- pattern: /[\s\S]+/,
- inside: null // see below
- }
- }
- },
- 'variable': /\$\w+/
- }
- },
- {
- pattern: /'(?:\\.|[^'\\\r\n])*'/,
- greedy: true
- },
- ],
- 'keyword': {
- pattern: /(^\{\/?)[a-z_]\w*\b(?!\()/i,
- lookbehind: true,
- greedy: true
- },
- 'delimiter': {
- pattern: /^\{\/?|\}$/,
- greedy: true,
- alias: 'punctuation'
- },
- 'number': /\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,
- 'variable': [
- /\$(?!\d)\w+/,
- /#(?!\d)\w+#/,
- {
- pattern: /(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,
- lookbehind: true
- },
- {
- pattern: /(\[)(?!\d)\w+(?=\])/,
- lookbehind: true
- }
- ],
- 'function': {
- pattern: /(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,
- lookbehind: true
- },
- 'attr-name': /\b[a-z_]\w*(?=\s*=)/i,
- 'boolean': /\b(?:false|no|off|on|true|yes)\b/,
- 'punctuation': /[\[\](){}.,:`]|->/,
- 'operator': [
- /[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,
- /\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,
- /\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/
- ]
- };
-
- Prism.languages.smarty['embedded-php'].inside.smarty.inside = Prism.languages.smarty;
- Prism.languages.smarty.string[0].inside.interpolation.inside.expression.inside = Prism.languages.smarty;
-
- var string = /"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/;
- var smartyPattern = RegExp(
- // comments
- /\{\*[\s\S]*?\*\}/.source +
- '|' +
- // php tags
- /\{php\}[\s\S]*?\{\/php\}/.source +
- '|' +
- // smarty blocks
- /\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source
- .replace(/<str>/g, function () { return string.source; }),
- 'g'
- );
-
- // Tokenize all inline Smarty expressions
- Prism.hooks.add('before-tokenize', function (env) {
- var smartyLiteralStart = '{literal}';
- var smartyLiteralEnd = '{/literal}';
- var smartyLiteralMode = false;
-
- Prism.languages['markup-templating'].buildPlaceholders(env, 'smarty', smartyPattern, function (match) {
- // Smarty tags inside {literal} block are ignored
- if (match === smartyLiteralEnd) {
- smartyLiteralMode = false;
- }
-
- if (!smartyLiteralMode) {
- if (match === smartyLiteralStart) {
- smartyLiteralMode = true;
- }
-
- return true;
- }
- return false;
- });
- });
-
- // Re-insert the tokens after tokenizing
- Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'smarty');
- });
-
-}(Prism));
-
-// https://smlfamily.github.io/sml97-defn.pdf
-// https://people.mpi-sws.org/~rossberg/sml.html
-(function (Prism) {
-
- var keywords = /\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;
-
- Prism.languages.sml = {
- // allow one level of nesting
- 'comment': /\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,
- 'string': {
- pattern: /#?"(?:[^"\\]|\\.)*"/,
- greedy: true
- },
-
- 'class-name': [
- {
- // This is only an approximation since the real grammar is context-free
- //
- // Why the main loop so complex?
- // The main loop is approximately the same as /(?:\s*(?:[*,]|->)\s*<TERMINAL>)*/ which is, obviously, a lot
- // simpler. The difference is that if a comma is the last iteration of the loop, then the terminal must be
- // followed by a long identifier.
- pattern: RegExp(
- /((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source
- .replace(/<NOT-LAST>/g, function () { return /\s*(?:[*,]|->)/.source; })
- .replace(/<TERMINAL>/g, function () {
- return /(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source;
- })
- .replace(/<LONG-ID>/g, function () { return /(?!<KEYWORD>)[a-z\d_][\w'.]*/.source; })
- .replace(/<KEYWORD>/g, function () { return keywords.source; }),
- 'i'
- ),
- lookbehind: true,
- greedy: true,
- inside: null // see below
- },
- {
- pattern: /((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,
- lookbehind: true
- }
- ],
- 'function': {
- pattern: /((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,
- lookbehind: true
- },
-
- 'keyword': keywords,
- 'variable': {
- pattern: /(^|[^\w'])'[\w']*/,
- lookbehind: true,
- },
-
- 'number': /~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,
- 'word': {
- pattern: /\b0w(?:\d+|x[\da-f]+)\b/i,
- alias: 'constant'
- },
-
- 'boolean': /\b(?:false|true)\b/i,
- 'operator': /\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,
- 'punctuation': /[(){}\[\].:,;]/
- };
-
- Prism.languages.sml['class-name'][0].inside = Prism.languages.sml;
-
- Prism.languages.smlnj = Prism.languages.sml;
-
-}(Prism));
-
-Prism.languages.solidity = Prism.languages.extend('clike', {
- 'class-name': {
- pattern: /(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,
- lookbehind: true
- },
- 'keyword': /\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,
- 'operator': /=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/
-});
-
-Prism.languages.insertBefore('solidity', 'keyword', {
- 'builtin': /\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/
-});
-
-Prism.languages.insertBefore('solidity', 'number', {
- 'version': {
- pattern: /([<>]=?|\^)\d+\.\d+\.\d+\b/,
- lookbehind: true,
- alias: 'number',
- }
-});
-
-Prism.languages.sol = Prism.languages.solidity;
-
-(function (Prism) {
-
- var guid = {
- // https://en.wikipedia.org/wiki/Universally_unique_identifier#Format
- pattern: /\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,
- alias: 'constant',
- inside: {
- 'punctuation': /[{}]/
- }
- };
-
- Prism.languages['solution-file'] = {
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
- 'string': {
- pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
- greedy: true,
- inside: {
- 'guid': guid
- }
- },
- 'object': {
- // Foo
- // Bar("abs") = 9
- // EndBar
- // Prop = TRUE
- // EndFoo
- pattern: /^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,
- lookbehind: true,
- greedy: true,
- alias: 'keyword'
- },
- 'property': {
- pattern: /^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,
- lookbehind: true,
- inside: {
- 'guid': guid
- }
- },
- 'guid': guid,
- 'number': /\b\d+(?:\.\d+)*\b/,
- 'boolean': /\b(?:FALSE|TRUE)\b/,
- 'operator': /=/,
- 'punctuation': /[(),]/
- };
-
- Prism.languages['sln'] = Prism.languages['solution-file'];
-
-}(Prism));
-
-(function (Prism) {
- var stringPattern = /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;
- var numberPattern = /\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;
-
- Prism.languages.soy = {
- 'comment': [
- /\/\*[\s\S]*?\*\//,
- {
- pattern: /(\s)\/\/.*/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'command-arg': {
- pattern: /(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,
- lookbehind: true,
- alias: 'string',
- inside: {
- 'punctuation': /\./
- }
- },
- 'parameter': {
- pattern: /(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,
- lookbehind: true,
- alias: 'variable'
- },
- 'keyword': [
- {
- pattern: /(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,
- lookbehind: true
- },
- /\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/
- ],
- 'delimiter': {
- pattern: /^\{+\/?|\/?\}+$/,
- alias: 'punctuation'
- },
- 'property': /\w+(?==)/,
- 'variable': {
- pattern: /\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,
- inside: {
- 'string': {
- pattern: stringPattern,
- greedy: true
- },
- 'number': numberPattern,
- 'punctuation': /[\[\].?]/
- }
- },
- 'string': {
- pattern: stringPattern,
- greedy: true
- },
- 'function': [
- /\w+(?=\()/,
- {
- pattern: /(\|[^\S\r\n]*)\w+/,
- lookbehind: true
- }
- ],
- 'boolean': /\b(?:false|true)\b/,
- 'number': numberPattern,
- 'operator': /\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,
- 'punctuation': /[{}()\[\]|.,:]/
- };
-
- // Tokenize all inline Soy expressions
- Prism.hooks.add('before-tokenize', function (env) {
- var soyPattern = /\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g;
- var soyLitteralStart = '{literal}';
- var soyLitteralEnd = '{/literal}';
- var soyLitteralMode = false;
-
- Prism.languages['markup-templating'].buildPlaceholders(env, 'soy', soyPattern, function (match) {
- // Soy tags inside {literal} block are ignored
- if (match === soyLitteralEnd) {
- soyLitteralMode = false;
- }
-
- if (!soyLitteralMode) {
- if (match === soyLitteralStart) {
- soyLitteralMode = true;
- }
-
- return true;
- }
- return false;
- });
- });
-
- // Re-insert the tokens after tokenizing
- Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'soy');
- });
-
-}(Prism));
-
-Prism.languages.turtle = {
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
- 'multiline-string': {
- pattern: /"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,
- greedy: true,
- alias: 'string',
- inside: {
- 'comment': /#.*/
- }
- },
- 'string': {
- pattern: /"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,
- greedy: true
- },
- 'url': {
- pattern: /<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,
- greedy: true,
- inside: {
- 'punctuation': /[<>]/
- }
- },
- 'function': {
- pattern: /(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,
- inside: {
- 'local-name': {
- pattern: /([^:]*:)[\s\S]+/,
- lookbehind: true
- },
- 'prefix': {
- pattern: /[\s\S]+/,
- inside: {
- 'punctuation': /:/
- }
- }
- }
- },
- 'number': /[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
- 'punctuation': /[{}.,;()[\]]|\^\^/,
- 'boolean': /\b(?:false|true)\b/,
- 'keyword': [
- /(?:\ba|@prefix|@base)\b|=/,
- /\b(?:base|graph|prefix)\b/i
- ],
- 'tag': {
- pattern: /@[a-z]+(?:-[a-z\d]+)*/i,
- inside: {
- 'punctuation': /@/
- }
- }
-};
-Prism.languages.trig = Prism.languages['turtle'];
-
-Prism.languages.sparql = Prism.languages.extend('turtle', {
- 'boolean': /\b(?:false|true)\b/i,
- 'variable': {
- pattern: /[?$]\w+/,
- greedy: true
- },
-}
-);
-
-Prism.languages.insertBefore('sparql', 'punctuation', {
- 'keyword': [
- /\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,
- /\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,
- /\b(?:BASE|GRAPH|PREFIX)\b/i
- ]
-});
-
-Prism.languages.rq = Prism.languages.sparql;
-
-Prism.languages['splunk-spl'] = {
- 'comment': /`comment\("(?:\\.|[^\\"])*"\)`/,
- 'string': {
- pattern: /"(?:\\.|[^\\"])*"/,
- greedy: true
- },
- // https://docs.splunk.com/Documentation/Splunk/7.3.0/SearchReference/ListOfSearchCommands
- 'keyword': /\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,
- 'operator-word': {
- pattern: /\b(?:and|as|by|not|or|xor)\b/i,
- alias: 'operator'
- },
- 'function': /\b\w+(?=\s*\()/,
- 'property': /\b\w+(?=\s*=(?!=))/,
- 'date': {
- // MM/DD/YYYY(:HH:MM:SS)?
- pattern: /\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,
- alias: 'number'
- },
- 'number': /\b\d+(?:\.\d+)?\b/,
- 'boolean': /\b(?:f|false|t|true)\b/i,
- 'operator': /[<>=]=?|[-+*/%|]/,
- 'punctuation': /[()[\],]/
-};
-
-Prism.languages.sqf = Prism.languages.extend('clike', {
- 'string': {
- pattern: /"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,
- greedy: true
- },
- 'keyword': /\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,
- 'boolean': /\b(?:false|true)\b/i,
- 'function': /\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,
- 'number': /(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,
- 'operator': /##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,
- 'magic-variable': {
- pattern: /\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,
- alias: 'keyword'
- },
- 'constant': /\bDIK(?:_[a-z\d]+)+\b/i
-});
-
-Prism.languages.insertBefore('sqf', 'string', {
- 'macro': {
- pattern: /(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,
- lookbehind: true,
- greedy: true,
- alias: 'property',
- inside: {
- 'directive': {
- pattern: /#[a-z]+\b/i,
- alias: 'keyword'
- },
- 'comment': Prism.languages.sqf.comment
- }
- }
-});
-
-delete Prism.languages.sqf['class-name'];
-
-Prism.languages.squirrel = Prism.languages.extend('clike', {
- 'comment': [
- Prism.languages.clike['comment'][0],
- {
- pattern: /(^|[^\\:])(?:\/\/|#).*/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'string': {
- pattern: /(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,
- lookbehind: true,
- greedy: true
- },
-
- 'class-name': {
- pattern: /(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,
- lookbehind: true,
- inside: {
- 'punctuation': /\./
- }
- },
- 'keyword': /\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,
-
- 'number': /\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,
- 'operator': /\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,
- 'punctuation': /[(){}\[\],;.]/
-});
-
-Prism.languages.insertBefore('squirrel', 'string', {
- 'char': {
- pattern: /(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,
- lookbehind: true,
- greedy: true
- }
-});
-
-Prism.languages.insertBefore('squirrel', 'operator', {
- 'attribute-punctuation': {
- pattern: /<\/|\/>/,
- alias: 'important'
- },
- 'lambda': {
- pattern: /@(?=\()/,
- alias: 'operator'
- }
-});
-
-(function (Prism) {
-
- // https://mc-stan.org/docs/2_28/reference-manual/bnf-grammars.html
-
- var higherOrderFunctions = /\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;
-
- Prism.languages.stan = {
- 'comment': /\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,
- 'string': {
- // String literals can contain spaces and any printable ASCII characters except for " and \
- // https://mc-stan.org/docs/2_24/reference-manual/print-statements-section.html#string-literals
- pattern: /"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,
- greedy: true
- },
- 'directive': {
- pattern: /^([ \t]*)#include\b.*/m,
- lookbehind: true,
- alias: 'property'
- },
-
- 'function-arg': {
- pattern: RegExp(
- '(' +
- higherOrderFunctions.source +
- /\s*\(\s*/.source +
- ')' +
- /[a-zA-Z]\w*/.source
- ),
- lookbehind: true,
- alias: 'function'
- },
- 'constraint': {
- pattern: /(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,
- lookbehind: true,
- inside: {
- 'expression': {
- pattern: /(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,
- lookbehind: true,
- inside: null // see below
- },
- 'property': /\b[a-z]\w*(?=\s*=)/i,
- 'operator': /=/,
- 'punctuation': /^<|>$|,/
- }
- },
- 'keyword': [
- {
- pattern: /\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,
- alias: 'program-block'
- },
- /\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,
- // these are functions that are known to take another function as their first argument.
- higherOrderFunctions
- ],
- 'function': /\b[a-z]\w*(?=\s*\()/i,
- 'number': /(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,
- 'boolean': /\b(?:false|true)\b/,
-
- 'operator': /<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,
- 'punctuation': /[()\[\]{},;]/
- };
-
- Prism.languages.stan.constraint.inside.expression.inside = Prism.languages.stan;
-
-}(Prism));
-
-// https://www.stata.com/manuals/u.pdf
-// https://www.stata.com/manuals/p.pdf
-
-Prism.languages.stata = {
- 'comment': [
- {
- pattern: /(^[ \t]*)\*.*/m,
- lookbehind: true,
- greedy: true
- },
- {
- pattern: /(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,
- lookbehind: true,
- greedy: true
- }
- ],
- 'string-literal': {
- pattern: /"[^"\r\n]*"|[‘`']".*?"[’`']/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,
- inside: {
- 'punctuation': /^\$\{|\}$/,
- 'expression': {
- pattern: /[\s\S]+/,
- inside: null // see below
- }
- }
- },
- 'string': /[\s\S]+/
- }
- },
-
- 'mata': {
- pattern: /(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,
- lookbehind: true,
- greedy: true,
- alias: 'language-mata',
- inside: Prism.languages.mata
- },
- 'java': {
- pattern: /(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,
- lookbehind: true,
- greedy: true,
- alias: 'language-java',
- inside: Prism.languages.java
- },
- 'python': {
- pattern: /(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,
- lookbehind: true,
- greedy: true,
- alias: 'language-python',
- inside: Prism.languages.python
- },
-
-
- 'command': {
- pattern: /(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,
- lookbehind: true,
- greedy: true,
- alias: 'keyword'
- },
- 'variable': /\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,
- 'keyword': /\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,
-
-
- 'boolean': /\b(?:off|on)\b/,
- 'number': /\b\d+(?:\.\d+)?\b|\B\.\d+/,
- 'function': /\b[a-z_]\w*(?=\()/i,
-
- 'operator': /\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,
- 'punctuation': /[(){}[\],:]/
-};
-
-Prism.languages.stata['string-literal'].inside.interpolation.inside.expression.inside = Prism.languages.stata;
-
-Prism.languages.iecst = {
- 'comment': [
- {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,
- lookbehind: true,
- greedy: true,
- },
- {
- pattern: /(^|[^\\:])\/\/.*/,
- lookbehind: true,
- greedy: true,
- },
- ],
- 'string': {
- pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
- greedy: true,
- },
- 'keyword': [
- /\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,
- /\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/
- ],
- 'class-name': /\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,
- 'address': {
- pattern: /%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,
- alias: 'symbol'
- },
- 'number': /\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
- 'boolean': /\b(?:FALSE|NULL|TRUE)\b/,
- 'operator': /S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
- 'punctuation': /[()[\].,;]/,
-};
-
-(function (Prism) {
- var unit = {
- pattern: /(\b\d+)(?:%|[a-z]+)/,
- lookbehind: true
- };
- // 123 -123 .123 -.123 12.3 -12.3
- var number = {
- pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,
- lookbehind: true
- };
-
- var inside = {
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
- lookbehind: true
- },
- 'url': {
- pattern: /\burl\((["']?).*?\1\)/i,
- greedy: true
- },
- 'string': {
- pattern: /("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,
- greedy: true
- },
- 'interpolation': null, // See below
- 'func': null, // See below
- 'important': /\B!(?:important|optional)\b/i,
- 'keyword': {
- pattern: /(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,
- lookbehind: true
- },
- 'hexcode': /#[\da-f]{3,6}/i,
- 'color': [
- /\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,
- {
- pattern: /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,
- inside: {
- 'unit': unit,
- 'number': number,
- 'function': /[\w-]+(?=\()/,
- 'punctuation': /[(),]/
- }
- }
- ],
- 'entity': /\\[\da-f]{1,8}/i,
- 'unit': unit,
- 'boolean': /\b(?:false|true)\b/,
- 'operator': [
- // We want non-word chars around "-" because it is
- // accepted in property names.
- /~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/
- ],
- 'number': number,
- 'punctuation': /[{}()\[\];:,]/
- };
-
- inside['interpolation'] = {
- pattern: /\{[^\r\n}:]+\}/,
- alias: 'variable',
- inside: {
- 'delimiter': {
- pattern: /^\{|\}$/,
- alias: 'punctuation'
- },
- rest: inside
- }
- };
- inside['func'] = {
- pattern: /[\w-]+\([^)]*\).*/,
- inside: {
- 'function': /^[^(]+/,
- rest: inside
- }
- };
-
- Prism.languages.stylus = {
- 'atrule-declaration': {
- pattern: /(^[ \t]*)@.+/m,
- lookbehind: true,
- inside: {
- 'atrule': /^@[\w-]+/,
- rest: inside
- }
- },
- 'variable-declaration': {
- pattern: /(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,
- lookbehind: true,
- inside: {
- 'variable': /^\S+/,
- rest: inside
- }
- },
-
- 'statement': {
- pattern: /(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,
- lookbehind: true,
- inside: {
- 'keyword': /^\S+/,
- rest: inside
- }
- },
-
- // A property/value pair cannot end with a comma or a brace
- // It cannot have indented content unless it ended with a semicolon
- 'property-declaration': {
- pattern: /((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,
- lookbehind: true,
- inside: {
- 'property': {
- pattern: /^[^\s:]+/,
- inside: {
- 'interpolation': inside.interpolation
- }
- },
- rest: inside
- }
- },
-
-
- // A selector can contain parentheses only as part of a pseudo-element
- // It can span multiple lines.
- // It must end with a comma or an accolade or have indented content.
- 'selector': {
- pattern: /(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,
- lookbehind: true,
- inside: {
- 'interpolation': inside.interpolation,
- 'comment': inside.comment,
- 'punctuation': /[{},]/
- }
- },
-
- 'func': inside.func,
- 'string': inside.string,
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
- lookbehind: true,
- greedy: true
- },
- 'interpolation': inside.interpolation,
- 'punctuation': /[{}()\[\];:.]/
- };
-}(Prism));
-
-Prism.languages.supercollider = {
- 'comment': {
- pattern: /\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,
- greedy: true
- },
- 'string': {
- pattern: /(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,
- lookbehind: true,
- greedy: true
- },
- 'char': {
- pattern: /\$(?:[^\\\r\n]|\\.)/,
- greedy: true
- },
- 'symbol': {
- pattern: /(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,
- lookbehind: true,
- greedy: true
- },
-
- 'keyword': /\b(?:_|arg|classvar|const|nil|var|while)\b/,
- 'boolean': /\b(?:false|true)\b/,
-
- 'label': {
- pattern: /\b[a-z_]\w*(?=\s*:)/,
- alias: 'property'
- },
-
- 'number': /\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,
- 'class-name': /\b[A-Z]\w*\b/,
-
- 'operator': /\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,
- 'punctuation': /[{}()[\].:,;]|#[[{]/
-};
-
-Prism.languages.sclang = Prism.languages.supercollider;
-
-Prism.languages.swift = {
- 'comment': {
- // Nested comments are supported up to 2 levels
- pattern: /(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,
- lookbehind: true,
- greedy: true
- },
- 'string-literal': [
- // https://docs.swift.org/swift-book/LanguageGuide/StringsAndCharacters.html
- {
- pattern: RegExp(
- /(^|[^"#])/.source
- + '(?:'
- // single-line string
- + /"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source
- + '|'
- // multi-line string
- + /"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source
- + ')'
- + /(?!["#])/.source
- ),
- lookbehind: true,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /(\\\()(?:[^()]|\([^()]*\))*(?=\))/,
- lookbehind: true,
- inside: null // see below
- },
- 'interpolation-punctuation': {
- pattern: /^\)|\\\($/,
- alias: 'punctuation'
- },
- 'punctuation': /\\(?=[\r\n])/,
- 'string': /[\s\S]+/
- }
- },
- {
- pattern: RegExp(
- /(^|[^"#])(#+)/.source
- + '(?:'
- // single-line string
- + /"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source
- + '|'
- // multi-line string
- + /"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source
- + ')'
- + '\\2'
- ),
- lookbehind: true,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,
- lookbehind: true,
- inside: null // see below
- },
- 'interpolation-punctuation': {
- pattern: /^\)|\\#+\($/,
- alias: 'punctuation'
- },
- 'string': /[\s\S]+/
- }
- },
- ],
-
- 'directive': {
- // directives with conditions
- pattern: RegExp(
- /#/.source
- + '(?:'
- + (
- /(?:elseif|if)\b/.source
- + '(?:[ \t]*'
- // This regex is a little complex. It's equivalent to this:
- // (?:![ \t]*)?(?:\b\w+\b(?:[ \t]*<round>)?|<round>)(?:[ \t]*(?:&&|\|\|))?
- // where <round> is a general parentheses expression.
- + /(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source
- + ')+'
- )
- + '|'
- + /(?:else|endif)\b/.source
- + ')'
- ),
- alias: 'property',
- inside: {
- 'directive-name': /^#\w+/,
- 'boolean': /\b(?:false|true)\b/,
- 'number': /\b\d+(?:\.\d+)*\b/,
- 'operator': /!|&&|\|\||[<>]=?/,
- 'punctuation': /[(),]/
- }
- },
- 'literal': {
- pattern: /#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,
- alias: 'constant'
- },
- 'other-directive': {
- pattern: /#\w+\b/,
- alias: 'property'
- },
-
- 'attribute': {
- pattern: /@\w+/,
- alias: 'atrule'
- },
-
- 'function-definition': {
- pattern: /(\bfunc\s+)\w+/,
- lookbehind: true,
- alias: 'function'
- },
- 'label': {
- // https://docs.swift.org/swift-book/LanguageGuide/ControlFlow.html#ID141
- pattern: /\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,
- lookbehind: true,
- alias: 'important'
- },
-
- 'keyword': /\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'nil': {
- pattern: /\bnil\b/,
- alias: 'constant'
- },
-
- 'short-argument': /\$\d+\b/,
- 'omit': {
- pattern: /\b_\b/,
- alias: 'keyword'
- },
- 'number': /\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,
-
- // A class name must start with an upper-case letter and be either 1 letter long or contain a lower-case letter.
- 'class-name': /\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
- 'constant': /\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,
-
- // Operators are generic in Swift. Developers can even create new operators (e.g. +++).
- // https://docs.swift.org/swift-book/ReferenceManual/zzSummaryOfTheGrammar.html#ID481
- // This regex only supports ASCII operators.
- 'operator': /[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,
- 'punctuation': /[{}[\]();,.:\\]/
-};
-
-Prism.languages.swift['string-literal'].forEach(function (rule) {
- rule.inside['interpolation'].inside = Prism.languages.swift;
-});
-
-// https://www.freedesktop.org/software/systemd/man/systemd.syntax.html
-
-(function (Prism) {
-
- var comment = {
- pattern: /^[;#].*/m,
- greedy: true
- };
-
- var quotesSource = /"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;
-
- Prism.languages.systemd = {
- 'comment': comment,
-
- 'section': {
- pattern: /^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,
- greedy: true,
- inside: {
- 'punctuation': /^\[|\]$/,
- 'section-name': {
- pattern: /[\s\S]+/,
- alias: 'selector'
- },
- }
- },
-
- 'key': {
- pattern: /^[^\s=]+(?=[ \t]*=)/m,
- greedy: true,
- alias: 'attr-name'
- },
- 'value': {
- // This pattern is quite complex because of two properties:
- // 1) Quotes (strings) must be preceded by a space. Since we can't use lookbehinds, we have to "resolve"
- // the lookbehind. You will see this in the main loop where spaces are handled separately.
- // 2) Line continuations.
- // After line continuations, empty lines and comments are ignored so we have to consume them.
- pattern: RegExp(
- /(=[ \t]*(?!\s))/.source +
- // the value either starts with quotes or not
- '(?:' + quotesSource + '|(?=[^"\r\n]))' +
- // main loop
- '(?:' + (
- /[^\s\\]/.source +
- // handle spaces separately because of quotes
- '|' + '[ \t]+(?:(?![ \t"])|' + quotesSource + ')' +
- // line continuation
- '|' + /\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source
- ) +
- ')*'
- ),
- lookbehind: true,
- greedy: true,
- alias: 'attr-value',
- inside: {
- 'comment': comment,
- 'quoted': {
- pattern: RegExp(/(^|\s)/.source + quotesSource),
- lookbehind: true,
- greedy: true,
- },
- 'punctuation': /\\$/m,
-
- 'boolean': {
- pattern: /^(?:false|no|off|on|true|yes)$/,
- greedy: true
- }
- }
- },
-
- 'punctuation': /=/
- };
-
-}(Prism));
-
-(function (Prism) {
-
- function createBlock(prefix, inside, contentAlias) {
- return {
- pattern: RegExp('<#' + prefix + '[\\s\\S]*?#>'),
- alias: 'block',
- inside: {
- 'delimiter': {
- pattern: RegExp('^<#' + prefix + '|#>$'),
- alias: 'important'
- },
- 'content': {
- pattern: /[\s\S]+/,
- inside: inside,
- alias: contentAlias
- }
- }
- };
- }
-
- function createT4(insideLang) {
- var grammar = Prism.languages[insideLang];
- var className = 'language-' + insideLang;
-
- return {
- 'block': {
- pattern: /<#[\s\S]+?#>/,
- inside: {
- 'directive': createBlock('@', {
- 'attr-value': {
- pattern: /=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,
- inside: {
- 'punctuation': /^=|^["']|["']$/
- }
- },
- 'keyword': /\b\w+(?=\s)/,
- 'attr-name': /\b\w+/
- }),
- 'expression': createBlock('=', grammar, className),
- 'class-feature': createBlock('\\+', grammar, className),
- 'standard': createBlock('', grammar, className)
- }
- }
- };
- }
-
- Prism.languages['t4-templating'] = Object.defineProperty({}, 'createT4', { value: createT4 });
-
-}(Prism));
-
-Prism.languages.t4 = Prism.languages['t4-cs'] = Prism.languages['t4-templating'].createT4('csharp');
-
-Prism.languages.vbnet = Prism.languages.extend('basic', {
- 'comment': [
- {
- pattern: /(?:!|REM\b).+/i,
- inside: {
- 'keyword': /^REM/i
- }
- },
- {
- pattern: /(^|[^\\:])'.*/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'string': {
- pattern: /(^|[^"])"(?:""|[^"])*"(?!")/,
- lookbehind: true,
- greedy: true
- },
- 'keyword': /(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,
- 'punctuation': /[,;:(){}]/
-});
-
-Prism.languages['t4-vb'] = Prism.languages['t4-templating'].createT4('vbnet');
-
-(function (Prism) {
-
- // https://yaml.org/spec/1.2/spec.html#c-ns-anchor-property
- // https://yaml.org/spec/1.2/spec.html#c-ns-alias-node
- var anchorOrAlias = /[*&][^\s[\]{},]+/;
- // https://yaml.org/spec/1.2/spec.html#c-ns-tag-property
- var tag = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/;
- // https://yaml.org/spec/1.2/spec.html#c-ns-properties(n,c)
- var properties = '(?:' + tag.source + '(?:[ \t]+' + anchorOrAlias.source + ')?|'
- + anchorOrAlias.source + '(?:[ \t]+' + tag.source + ')?)';
- // https://yaml.org/spec/1.2/spec.html#ns-plain(n,c)
- // This is a simplified version that doesn't support "#" and multiline keys
- // All these long scarry character classes are simplified versions of YAML's characters
- var plainKey = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source
- .replace(/<PLAIN>/g, function () { return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source; });
- var string = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
-
- /**
- *
- * @param {string} value
- * @param {string} [flags]
- * @returns {RegExp}
- */
- function createValuePattern(value, flags) {
- flags = (flags || '').replace(/m/g, '') + 'm'; // add m flag
- var pattern = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source
- .replace(/<<prop>>/g, function () { return properties; }).replace(/<<value>>/g, function () { return value; });
- return RegExp(pattern, flags);
- }
-
- Prism.languages.yaml = {
- 'scalar': {
- pattern: RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source
- .replace(/<<prop>>/g, function () { return properties; })),
- lookbehind: true,
- alias: 'string'
- },
- 'comment': /#.*/,
- 'key': {
- pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source
- .replace(/<<prop>>/g, function () { return properties; })
- .replace(/<<key>>/g, function () { return '(?:' + plainKey + '|' + string + ')'; })),
- lookbehind: true,
- greedy: true,
- alias: 'atrule'
- },
- 'directive': {
- pattern: /(^[ \t]*)%.+/m,
- lookbehind: true,
- alias: 'important'
- },
- 'datetime': {
- pattern: createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),
- lookbehind: true,
- alias: 'number'
- },
- 'boolean': {
- pattern: createValuePattern(/false|true/.source, 'i'),
- lookbehind: true,
- alias: 'important'
- },
- 'null': {
- pattern: createValuePattern(/null|~/.source, 'i'),
- lookbehind: true,
- alias: 'important'
- },
- 'string': {
- pattern: createValuePattern(string),
- lookbehind: true,
- greedy: true
- },
- 'number': {
- pattern: createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, 'i'),
- lookbehind: true
- },
- 'tag': tag,
- 'important': anchorOrAlias,
- 'punctuation': /---|[:[\]{}\-,|>?]|\.\.\./
- };
-
- Prism.languages.yml = Prism.languages.yaml;
-
-}(Prism));
-
-// https://en.wikipedia.org/wiki/Test_Anything_Protocol
-
-Prism.languages.tap = {
- 'fail': /not ok[^#{\n\r]*/,
- 'pass': /ok[^#{\n\r]*/,
- 'pragma': /pragma [+-][a-z]+/,
- 'bailout': /bail out!.*/i,
- 'version': /TAP version \d+/i,
- 'plan': /\b\d+\.\.\d+(?: +#.*)?/,
- 'subtest': {
- pattern: /# Subtest(?:: .*)?/,
- greedy: true
- },
- 'punctuation': /[{}]/,
- 'directive': /#.*/,
- 'yamlish': {
- pattern: /(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,
- lookbehind: true,
- inside: Prism.languages.yaml,
- alias: 'language-yaml'
- }
-};
-
-Prism.languages.tcl = {
- 'comment': {
- pattern: /(^|[^\\])#.*/,
- lookbehind: true
- },
- 'string': {
- pattern: /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,
- greedy: true
- },
- 'variable': [
- {
- pattern: /(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,
- lookbehind: true
- },
- {
- pattern: /(\$)\{[^}]+\}/,
- lookbehind: true
- },
- {
- pattern: /(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,
- lookbehind: true
- }
- ],
- 'function': {
- pattern: /(^[\t ]*proc[ \t]+)\S+/m,
- lookbehind: true
- },
- 'builtin': [
- {
- pattern: /(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,
- lookbehind: true
- },
- /\b(?:else|elseif)\b/
- ],
- 'scope': {
- pattern: /(^[\t ]*)(?:global|upvar|variable)\b/m,
- lookbehind: true,
- alias: 'constant'
- },
- 'keyword': {
- pattern: /(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,
- lookbehind: true
- },
- 'operator': /!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,
- 'punctuation': /[{}()\[\]]/
-};
-
-(function (Prism) {
-
- Prism.languages.tt2 = Prism.languages.extend('clike', {
- 'comment': /#.*|\[%#[\s\S]*?%\]/,
- 'keyword': /\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,
- 'punctuation': /[[\]{},()]/
- });
-
- Prism.languages.insertBefore('tt2', 'number', {
- 'operator': /=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,
- 'variable': {
- pattern: /\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i
- }
- });
-
- Prism.languages.insertBefore('tt2', 'keyword', {
- 'delimiter': {
- pattern: /^(?:\[%|%%)-?|-?%\]$/,
- alias: 'punctuation'
- }
- });
-
- Prism.languages.insertBefore('tt2', 'string', {
- 'single-quoted-string': {
- pattern: /'[^\\']*(?:\\[\s\S][^\\']*)*'/,
- greedy: true,
- alias: 'string'
- },
- 'double-quoted-string': {
- pattern: /"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,
- greedy: true,
- alias: 'string',
- inside: {
- 'variable': {
- pattern: /\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i
- }
- }
- }
- });
-
- // The different types of TT2 strings "replace" the C-like standard string
- delete Prism.languages.tt2.string;
-
- Prism.hooks.add('before-tokenize', function (env) {
- var tt2Pattern = /\[%[\s\S]+?%\]/g;
- Prism.languages['markup-templating'].buildPlaceholders(env, 'tt2', tt2Pattern);
- });
-
- Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'tt2');
- });
-
-}(Prism));
-
-(function (Prism) {
- // We don't allow for pipes inside parentheses
- // to not break table pattern |(. foo |). bar |
- var modifierRegex = /\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source;
- // Opening and closing parentheses which are not a modifier
- // This pattern is necessary to prevent exponential backtracking
- var parenthesesRegex = /\)|\((?![^|()\n]+\))/.source;
- /**
- * @param {string} source
- * @param {string} [flags]
- */
- function withModifier(source, flags) {
- return RegExp(
- source
- .replace(/<MOD>/g, function () { return '(?:' + modifierRegex + ')'; })
- .replace(/<PAR>/g, function () { return '(?:' + parenthesesRegex + ')'; }),
- flags || '');
- }
-
- var modifierTokens = {
- 'css': {
- pattern: /\{[^{}]+\}/,
- inside: {
- rest: Prism.languages.css
- }
- },
- 'class-id': {
- pattern: /(\()[^()]+(?=\))/,
- lookbehind: true,
- alias: 'attr-value'
- },
- 'lang': {
- pattern: /(\[)[^\[\]]+(?=\])/,
- lookbehind: true,
- alias: 'attr-value'
- },
- // Anything else is punctuation (the first pattern is for row/col spans inside tables)
- 'punctuation': /[\\\/]\d+|\S/
- };
-
-
- var textile = Prism.languages.textile = Prism.languages.extend('markup', {
- 'phrase': {
- pattern: /(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,
- lookbehind: true,
- inside: {
-
- // h1. Header 1
- 'block-tag': {
- pattern: withModifier(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),
- inside: {
- 'modifier': {
- pattern: withModifier(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),
- lookbehind: true,
- inside: modifierTokens
- },
- 'tag': /^[a-z]\w*/,
- 'punctuation': /\.$/
- }
- },
-
- // # List item
- // * List item
- 'list': {
- pattern: withModifier(/^[*#]+<MOD>*\s+\S.*/.source, 'm'),
- inside: {
- 'modifier': {
- pattern: withModifier(/(^[*#]+)<MOD>+/.source),
- lookbehind: true,
- inside: modifierTokens
- },
- 'punctuation': /^[*#]+/
- }
- },
-
- // | cell | cell | cell |
- 'table': {
- // Modifiers can be applied to the row: {color:red}.|1|2|3|
- // or the cell: |{color:red}.1|2|3|
- pattern: withModifier(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source, 'm'),
- inside: {
- 'modifier': {
- // Modifiers for rows after the first one are
- // preceded by a pipe and a line feed
- pattern: withModifier(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),
- lookbehind: true,
- inside: modifierTokens
- },
- 'punctuation': /\||^\./
- }
- },
-
- 'inline': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: withModifier(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),
- lookbehind: true,
- inside: {
- // Note: superscripts and subscripts are not handled specifically
-
- // *bold*, **bold**
- 'bold': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: withModifier(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),
- lookbehind: true
- },
-
- // _italic_, __italic__
- 'italic': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: withModifier(/(^(__?)<MOD>*).+?(?=\2)/.source),
- lookbehind: true
- },
-
- // ??cite??
- 'cite': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: withModifier(/(^\?\?<MOD>*).+?(?=\?\?)/.source),
- lookbehind: true,
- alias: 'string'
- },
-
- // @code@
- 'code': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: withModifier(/(^@<MOD>*).+?(?=@)/.source),
- lookbehind: true,
- alias: 'keyword'
- },
-
- // +inserted+
- 'inserted': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: withModifier(/(^\+<MOD>*).+?(?=\+)/.source),
- lookbehind: true
- },
-
- // -deleted-
- 'deleted': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: withModifier(/(^-<MOD>*).+?(?=-)/.source),
- lookbehind: true
- },
-
- // %span%
- 'span': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: withModifier(/(^%<MOD>*).+?(?=%)/.source),
- lookbehind: true
- },
-
- 'modifier': {
- pattern: withModifier(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),
- lookbehind: true,
- inside: modifierTokens
- },
- 'punctuation': /[*_%?@+\-^~]+/
- }
- },
-
- // [alias]http://example.com
- 'link-ref': {
- pattern: /^\[[^\]]+\]\S+$/m,
- inside: {
- 'string': {
- pattern: /(^\[)[^\]]+(?=\])/,
- lookbehind: true
- },
- 'url': {
- pattern: /(^\])\S+$/,
- lookbehind: true
- },
- 'punctuation': /[\[\]]/
- }
- },
-
- // "text":http://example.com
- // "text":link-ref
- 'link': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: withModifier(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),
- inside: {
- 'text': {
- // eslint-disable-next-line regexp/no-super-linear-backtracking
- pattern: withModifier(/(^"<MOD>*)[^"]+(?=")/.source),
- lookbehind: true
- },
- 'modifier': {
- pattern: withModifier(/(^")<MOD>+/.source),
- lookbehind: true,
- inside: modifierTokens
- },
- 'url': {
- pattern: /(:).+/,
- lookbehind: true
- },
- 'punctuation': /[":]/
- }
- },
-
- // !image.jpg!
- // !image.jpg(Title)!:http://example.com
- 'image': {
- pattern: withModifier(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),
- inside: {
- 'source': {
- pattern: withModifier(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),
- lookbehind: true,
- alias: 'url'
- },
- 'modifier': {
- pattern: withModifier(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),
- lookbehind: true,
- inside: modifierTokens
- },
- 'url': {
- pattern: /(:).+/,
- lookbehind: true
- },
- 'punctuation': /[!:]/
- }
- },
-
- // Footnote[1]
- 'footnote': {
- pattern: /\b\[\d+\]/,
- alias: 'comment',
- inside: {
- 'punctuation': /\[|\]/
- }
- },
-
- // CSS(Cascading Style Sheet)
- 'acronym': {
- pattern: /\b[A-Z\d]+\([^)]+\)/,
- inside: {
- 'comment': {
- pattern: /(\()[^()]+(?=\))/,
- lookbehind: true
- },
- 'punctuation': /[()]/
- }
- },
-
- // Prism(C)
- 'mark': {
- pattern: /\b\((?:C|R|TM)\)/,
- alias: 'comment',
- inside: {
- 'punctuation': /[()]/
- }
- }
- }
- }
- });
-
- var phraseInside = textile['phrase'].inside;
- var nestedPatterns = {
- 'inline': phraseInside['inline'],
- 'link': phraseInside['link'],
- 'image': phraseInside['image'],
- 'footnote': phraseInside['footnote'],
- 'acronym': phraseInside['acronym'],
- 'mark': phraseInside['mark']
- };
-
- // Only allow alpha-numeric HTML tags, not XML tags
- textile.tag.pattern = /<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;
-
- // Allow some nesting
- var phraseInlineInside = phraseInside['inline'].inside;
- phraseInlineInside['bold'].inside = nestedPatterns;
- phraseInlineInside['italic'].inside = nestedPatterns;
- phraseInlineInside['inserted'].inside = nestedPatterns;
- phraseInlineInside['deleted'].inside = nestedPatterns;
- phraseInlineInside['span'].inside = nestedPatterns;
-
- // Allow some styles inside table cells
- var phraseTableInside = phraseInside['table'].inside;
- phraseTableInside['inline'] = nestedPatterns['inline'];
- phraseTableInside['link'] = nestedPatterns['link'];
- phraseTableInside['image'] = nestedPatterns['image'];
- phraseTableInside['footnote'] = nestedPatterns['footnote'];
- phraseTableInside['acronym'] = nestedPatterns['acronym'];
- phraseTableInside['mark'] = nestedPatterns['mark'];
-
-}(Prism));
-
-(function (Prism) {
-
- var key = /(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;
-
- /**
- * @param {string} pattern
- */
- function insertKey(pattern) {
- return pattern.replace(/__/g, function () { return key; });
- }
-
- Prism.languages.toml = {
- 'comment': {
- pattern: /#.*/,
- greedy: true
- },
- 'table': {
- pattern: RegExp(insertKey(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source), 'm'),
- lookbehind: true,
- greedy: true,
- alias: 'class-name'
- },
- 'key': {
- pattern: RegExp(insertKey(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source), 'm'),
- lookbehind: true,
- greedy: true,
- alias: 'property'
- },
- 'string': {
- pattern: /"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,
- greedy: true
- },
- 'date': [
- {
- // Offset Date-Time, Local Date-Time, Local Date
- pattern: /\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,
- alias: 'number'
- },
- {
- // Local Time
- pattern: /\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,
- alias: 'number'
- }
- ],
- 'number': /(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'punctuation': /[.,=[\]{}]/
- };
-}(Prism));
-
-(function (Prism) {
-
- Prism.languages.tremor = {
- 'comment': {
- pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,
- lookbehind: true
- },
- 'interpolated-string': null, // see below
- 'extractor': {
- pattern: /\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,
- greedy: true,
- inside: {
- 'regex': {
- pattern: /(^re)\|[\s\S]+/,
- lookbehind: true
- },
- 'function': /^\w+/,
- 'value': /\|[\s\S]+/
- }
- },
- 'identifier': {
- pattern: /`[^`]*`/,
- greedy: true
- },
-
- 'function': /\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,
-
- 'keyword': /\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,
- 'boolean': /\b(?:false|null|true)\b/i,
-
- 'number': /\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,
-
- 'pattern-punctuation': {
- pattern: /%(?=[({[])/,
- alias: 'punctuation'
- },
- 'operator': /[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,
- 'punctuation': /::|[;\[\]()\{\},.:]/,
- };
-
- var interpolationPattern = /#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;
-
- Prism.languages.tremor['interpolated-string'] = {
- pattern: RegExp(
- /(^|[^\\])/.source +
- '(?:' +
- '"""(?:' + /[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source + '|' + interpolationPattern + ')*"""' +
- '|' +
- '"(?:' + /[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source + '|' + interpolationPattern + ')*"' +
- ')'
- ),
- lookbehind: true,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: RegExp(interpolationPattern),
- inside: {
- 'punctuation': /^#\{|\}$/,
- 'expression': {
- pattern: /[\s\S]+/,
- inside: Prism.languages.tremor
- }
- }
- },
- 'string': /[\s\S]+/
- }
- };
-
- Prism.languages.troy = Prism.languages['tremor'];
- Prism.languages.trickle = Prism.languages['tremor'];
-
-}(Prism));
-
-Prism.languages.twig = {
- 'comment': /^\{#[\s\S]*?#\}$/,
-
- 'tag-name': {
- pattern: /(^\{%-?\s*)\w+/,
- lookbehind: true,
- alias: 'keyword'
- },
- 'delimiter': {
- pattern: /^\{[{%]-?|-?[%}]\}$/,
- alias: 'punctuation'
- },
-
- 'string': {
- pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
- inside: {
- 'punctuation': /^['"]|['"]$/
- }
- },
- 'keyword': /\b(?:even|if|odd)\b/,
- 'boolean': /\b(?:false|null|true)\b/,
- 'number': /\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,
- 'operator': [
- {
- pattern: /(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,
- lookbehind: true
- },
- /[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/
- ],
- 'punctuation': /[()\[\]{}:.,]/
-};
-
-Prism.hooks.add('before-tokenize', function (env) {
- if (env.language !== 'twig') {
- return;
- }
-
- var pattern = /\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;
- Prism.languages['markup-templating'].buildPlaceholders(env, 'twig', pattern);
-});
-
-Prism.hooks.add('after-tokenize', function (env) {
- Prism.languages['markup-templating'].tokenizePlaceholders(env, 'twig');
-});
-
-(function (Prism) {
-
- var keywords = /\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;
-
- Prism.languages.typoscript = {
- 'comment': [
- {
- // multiline comments /* */
- pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
- lookbehind: true
- },
- {
- // double-slash comments - ignored when backslashes or colon is found in front
- // also ignored whenever directly after an equal-sign, because it would probably be an url without protocol
- pattern: /(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,
- lookbehind: true,
- greedy: true
- },
- {
- // hash comments - ignored when leading quote is found for hex colors in strings
- pattern: /(^|[^"'])#.*/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'function': [
- {
- // old include style
- pattern: /<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,
- inside: {
- 'string': {
- pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
- inside: {
- 'keyword': keywords,
- },
- },
- 'keyword': {
- pattern: /INCLUDE_TYPOSCRIPT/,
- },
- },
- },
- {
- // new include style
- pattern: /@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,
- inside: {
- 'string': /"[^"\r\n]*"|'[^'\r\n]*'/,
- },
- }
- ],
- 'string': {
- pattern: /^([^=]*=[< ]?)(?:(?!\]\n).)*/,
- lookbehind: true,
- inside: {
- 'function': /\{\$.*\}/, // constants include
- 'keyword': keywords,
- 'number': /^\d+$/,
- 'punctuation': /[,|:]/,
- }
- },
- 'keyword': keywords,
- 'number': {
- // special highlighting for indexes of arrays in tags
- pattern: /\b\d+\s*[.{=]/,
- inside: {
- 'operator': /[.{=]/,
- }
- },
- 'tag': {
- pattern: /\.?[-\w\\]+\.?/,
- inside: {
- 'punctuation': /\./,
- }
- },
- 'punctuation': /[{}[\];(),.:|]/,
- 'operator': /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
- };
-
- Prism.languages.tsconfig = Prism.languages.typoscript;
-
-}(Prism));
-
-Prism.languages.unrealscript = {
- 'comment': /\/\/.*|\/\*[\s\S]*?\*\//,
- 'string': {
- pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
- greedy: true
- },
- 'category': {
- pattern: /(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,
- lookbehind: true,
- greedy: true,
- alias: 'property'
- },
- 'metadata': {
- pattern: /(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'property': /\b\w+(?=\s*=)/,
- 'operator': /=/,
- 'punctuation': /[<>|]/
- }
- },
- 'macro': {
- pattern: /`\w+/,
- alias: 'property'
- },
- 'class-name': {
- pattern: /(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,
- lookbehind: true
- },
-
- 'keyword': /\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,
- 'function': /\b[a-z_]\w*(?=\s*\()/i,
-
- 'boolean': /\b(?:false|true)\b/,
- 'number': /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
- // https://docs.unrealengine.com/udk/Three/UnrealScriptExpressions.html
- 'operator': />>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,
- 'punctuation': /[()[\]{};,.]/
-};
-
-Prism.languages.uc = Prism.languages.uscript = Prism.languages.unrealscript;
-
-Prism.languages.uorazor = {
- 'comment-hash': {
- pattern: /#.*/,
- alias: 'comment',
- greedy: true
- },
- 'comment-slash': {
- pattern: /\/\/.*/,
- alias: 'comment',
- greedy: true
- },
- 'string': {
- pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
- inside: {
- 'punctuation': /^['"]|['"]$/
- },
- greedy: true
- },
- 'source-layers': {
- pattern: /\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,
- alias: 'function'
- },
- 'source-commands': {
- pattern: /\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,
- alias: 'function'
- },
- 'tag-name': {
- pattern: /(^\{%-?\s*)\w+/,
- lookbehind: true,
- alias: 'keyword'
- },
- 'delimiter': {
- pattern: /^\{[{%]-?|-?[%}]\}$/,
- alias: 'punctuation'
- },
- 'function': /\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,
- 'keyword': /\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,
- 'boolean': /\b(?:false|null|true)\b/,
- 'number': /\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,
- 'operator': [
- {
- pattern: /(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,
- lookbehind: true
- },
- /[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/
- ],
- 'punctuation': /[()\[\]{}:.,]/
-};
-
-// https://tools.ietf.org/html/rfc3986#appendix-A
-
-Prism.languages.uri = {
- 'scheme': {
- pattern: /^[a-z][a-z0-9+.-]*:/im,
- greedy: true,
- inside: {
- 'scheme-delimiter': /:$/
- }
- },
- 'fragment': {
- pattern: /#[\w\-.~!$&'()*+,;=%:@/?]*/,
- inside: {
- 'fragment-delimiter': /^#/
- }
- },
- 'query': {
- pattern: /\?[\w\-.~!$&'()*+,;=%:@/?]*/,
- inside: {
- 'query-delimiter': {
- pattern: /^\?/,
- greedy: true
- },
- 'pair-delimiter': /[&;]/,
- 'pair': {
- pattern: /^[^=][\s\S]*/,
- inside: {
- 'key': /^[^=]+/,
- 'value': {
- pattern: /(^=)[\s\S]+/,
- lookbehind: true
- }
- }
- }
- }
- },
- 'authority': {
- pattern: RegExp(
- /^\/\//.source
- // [ userinfo "@" ]
- + /(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source
- // host
- + (
- '(?:'
- // IP-literal
- + /\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source
- + '|'
- // IPv4address or registered name
- + /[\w\-.~!$&'()*+,;=%]*/.source
- + ')'
- )
- // [ ":" port ]
- + /(?::\d*)?/.source,
- 'm'
- ),
- inside: {
- 'authority-delimiter': /^\/\//,
- 'user-info-segment': {
- pattern: /^[\w\-.~!$&'()*+,;=%:]*@/,
- inside: {
- 'user-info-delimiter': /@$/,
- 'user-info': /^[\w\-.~!$&'()*+,;=%:]+/
- }
- },
- 'port-segment': {
- pattern: /:\d*$/,
- inside: {
- 'port-delimiter': /^:/,
- 'port': /^\d+/
- }
- },
- 'host': {
- pattern: /[\s\S]+/,
- inside: {
- 'ip-literal': {
- pattern: /^\[[\s\S]+\]$/,
- inside: {
- 'ip-literal-delimiter': /^\[|\]$/,
- 'ipv-future': /^v[\s\S]+/,
- 'ipv6-address': /^[\s\S]+/
- }
- },
- 'ipv4-address': /^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/
- }
- }
- }
- },
- 'path': {
- pattern: /^[\w\-.~!$&'()*+,;=%:@/]+/m,
- inside: {
- 'path-separator': /\//
- }
- }
-};
-
-Prism.languages.url = Prism.languages.uri;
-
-(function (Prism) {
- var interpolationExpr = {
- pattern: /[\s\S]+/,
- inside: null
- };
-
- Prism.languages.v = Prism.languages.extend('clike', {
- 'string': {
- pattern: /r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
- alias: 'quoted-string',
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,
- lookbehind: true,
- inside: {
- 'interpolation-variable': {
- pattern: /^\$\w[\s\S]*$/,
- alias: 'variable'
- },
- 'interpolation-punctuation': {
- pattern: /^\$\{|\}$/,
- alias: 'punctuation'
- },
- 'interpolation-expression': interpolationExpr
- }
- }
- }
- },
- 'class-name': {
- pattern: /(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,
- lookbehind: true
- },
- 'keyword': /(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,
- 'number': /\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,
- 'operator': /~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,
- 'builtin': /\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/
- });
-
- interpolationExpr.inside = Prism.languages.v;
-
- Prism.languages.insertBefore('v', 'string', {
- 'char': {
- pattern: /`(?:\\`|\\?[^`]{1,2})`/, // using {1,2} instead of `u` flag for compatibility
- alias: 'rune'
- }
- });
-
- Prism.languages.insertBefore('v', 'operator', {
- 'attribute': {
- pattern: /(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,
- lookbehind: true,
- alias: 'annotation',
- inside: {
- 'punctuation': /[\[\]]/,
- 'keyword': /\w+/
- }
- },
- 'generic': {
- pattern: /<\w+>(?=\s*[\)\{])/,
- inside: {
- 'punctuation': /[<>]/,
- 'class-name': /\w+/
- }
- }
- });
-
- Prism.languages.insertBefore('v', 'function', {
- 'generic-function': {
- // e.g. foo<T>( ...
- pattern: /\b\w+\s*<\w+>(?=\()/,
- inside: {
- 'function': /^\w+/,
- 'generic': {
- pattern: /<\w+>/,
- inside: Prism.languages.v.generic.inside
- }
- }
- }
- });
-}(Prism));
-
-Prism.languages.vala = Prism.languages.extend('clike', {
- // Classes copied from prism-csharp
- 'class-name': [
- {
- // (Foo bar, Bar baz)
- pattern: /\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,
- inside: {
- punctuation: /\./
- }
- },
- {
- // [Foo]
- pattern: /(\[)[A-Z]\w*(?:\.\w+)*\b/,
- lookbehind: true,
- inside: {
- punctuation: /\./
- }
- },
- {
- // class Foo : Bar
- pattern: /(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,
- lookbehind: true,
- inside: {
- punctuation: /\./
- }
- },
- {
- // class Foo
- pattern: /((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,
- lookbehind: true,
- inside: {
- punctuation: /\./
- }
- }
- ],
- 'keyword': /\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,
- 'function': /\b\w+(?=\s*\()/,
- 'number': /(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,
- 'operator': /\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,
- 'punctuation': /[{}[\];(),.:]/,
- 'constant': /\b[A-Z0-9_]+\b/
-});
-
-Prism.languages.insertBefore('vala', 'string', {
- 'raw-string': {
- pattern: /"""[\s\S]*?"""/,
- greedy: true,
- alias: 'string'
- },
- 'template-string': {
- pattern: /@"[\s\S]*?"/,
- greedy: true,
- inside: {
- 'interpolation': {
- pattern: /\$(?:\([^)]*\)|[a-zA-Z]\w*)/,
- inside: {
- 'delimiter': {
- pattern: /^\$\(?|\)$/,
- alias: 'punctuation'
- },
- rest: Prism.languages.vala
- }
- },
- 'string': /[\s\S]+/
- }
- }
-});
-
-Prism.languages.insertBefore('vala', 'keyword', {
- 'regex': {
- pattern: /\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,
- greedy: true,
- inside: {
- 'regex-source': {
- pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
- lookbehind: true,
- alias: 'language-regex',
- inside: Prism.languages.regex
- },
- 'regex-delimiter': /^\//,
- 'regex-flags': /^[a-z]+$/,
- }
- }
-});
-
-(function (Prism) {
- Prism.languages.velocity = Prism.languages.extend('markup', {});
-
- var velocity = {
- 'variable': {
- pattern: /(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,
- lookbehind: true,
- inside: {} // See below
- },
- 'string': {
- pattern: /"[^"]*"|'[^']*'/,
- greedy: true
- },
- 'number': /\b\d+\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'operator': /[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,
- 'punctuation': /[(){}[\]:,.]/
- };
-
- velocity.variable.inside = {
- 'string': velocity['string'],
- 'function': {
- pattern: /([^\w-])[a-z][\w-]*(?=\()/,
- lookbehind: true
- },
- 'number': velocity['number'],
- 'boolean': velocity['boolean'],
- 'punctuation': velocity['punctuation']
- };
-
- Prism.languages.insertBefore('velocity', 'comment', {
- 'unparsed': {
- pattern: /(^|[^\\])#\[\[[\s\S]*?\]\]#/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'punctuation': /^#\[\[|\]\]#$/
- }
- },
- 'velocity-comment': [
- {
- pattern: /(^|[^\\])#\*[\s\S]*?\*#/,
- lookbehind: true,
- greedy: true,
- alias: 'comment'
- },
- {
- pattern: /(^|[^\\])##.*/,
- lookbehind: true,
- greedy: true,
- alias: 'comment'
- }
- ],
- 'directive': {
- pattern: /(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,
- lookbehind: true,
- inside: {
- 'keyword': {
- pattern: /^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,
- inside: {
- 'punctuation': /[{}]/
- }
- },
- rest: velocity
- }
- },
- 'variable': velocity['variable']
- });
-
- Prism.languages.velocity['tag'].inside['attr-value'].inside.rest = Prism.languages.velocity;
-
-}(Prism));
-
-Prism.languages.verilog = {
- 'comment': {
- pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
- greedy: true
- },
- 'string': {
- pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
- greedy: true
- },
- 'kernel-function': {
- // support for any kernel function (ex: $display())
- pattern: /\B\$\w+\b/,
- alias: 'property'
- },
- // support for user defined constants (ex: `define)
- 'constant': /\B`\w+\b/,
- 'function': /\b\w+(?=\()/,
- // support for verilog and system verilog keywords
- 'keyword': /\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,
- // bold highlighting for all verilog and system verilog logic blocks
- 'important': /\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,
- // support for time ticks, vectors, and real numbers
- 'number': /\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,
- 'operator': /[-+{}^~%*\/?=!<>&|]+/,
- 'punctuation': /[[\];(),.:]/
-};
-
-Prism.languages.vhdl = {
- 'comment': /--.+/,
- // support for all logic vectors
- 'vhdl-vectors': {
- 'pattern': /\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,
- 'alias': 'number'
- },
- // support for operator overloading included
- 'quoted-function': {
- pattern: /"\S+?"(?=\()/,
- alias: 'function'
- },
- 'string': /"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,
- 'attribute': {
- pattern: /\b'\w+/,
- alias: 'attr-name'
- },
- // support for predefined attributes included
- 'keyword': /\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,
- 'boolean': /\b(?:false|true)\b/i,
- 'function': /\w+(?=\()/,
- // decimal, based, physical, and exponential numbers supported
- 'number': /'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,
- 'operator': /[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,
- 'punctuation': /[{}[\];(),.:]/
-};
-
-Prism.languages.vim = {
- 'string': /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,
- 'comment': /".*/,
- 'function': /\b\w+(?=\()/,
- 'keyword': /\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,
- 'builtin': /\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,
- 'number': /\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,
- 'operator': /\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,
- 'punctuation': /[{}[\](),;:]/
-};
-
-Prism.languages['visual-basic'] = {
- 'comment': {
- pattern: /(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,
- inside: {
- 'keyword': /^REM/i
- }
- },
- 'directive': {
- pattern: /#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,
- alias: 'property',
- greedy: true
- },
- 'string': {
- pattern: /\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,
- greedy: true
- },
- 'date': {
- pattern: /#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,
- alias: 'number'
- },
- 'number': /(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,
- 'boolean': /\b(?:False|Nothing|True)\b/i,
- 'keyword': /\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,
- 'operator': /[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,
- 'punctuation': /[{}().,:?]/
-};
-
-Prism.languages.vb = Prism.languages['visual-basic'];
-Prism.languages.vba = Prism.languages['visual-basic'];
-
-Prism.languages.warpscript = {
- 'comment': /#.*|\/\/.*|\/\*[\s\S]*?\*\//,
- 'string': {
- pattern: /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,
- greedy: true
- },
- 'variable': /\$\S+/,
- 'macro': {
- pattern: /@\S+/,
- alias: 'property'
- },
- // WarpScript doesn't have any keywords, these are all functions under the control category
- // https://www.warp10.io/tags/control
- 'keyword': /\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,
- 'number': /[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,
- 'boolean': /\b(?:F|T|false|true)\b/,
- 'punctuation': /<%|%>|[{}[\]()]/,
- // Some operators from the "operators" category
- // https://www.warp10.io/tags/operators
- 'operator': /==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/
-};
-
-Prism.languages.wasm = {
- 'comment': [
- /\(;[\s\S]*?;\)/,
- {
- pattern: /;;.*/,
- greedy: true
- }
- ],
- 'string': {
- pattern: /"(?:\\[\s\S]|[^"\\])*"/,
- greedy: true
- },
- 'keyword': [
- {
- pattern: /\b(?:align|offset)=/,
- inside: {
- 'operator': /=/
- }
- },
- {
- pattern: /\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,
- inside: {
- 'punctuation': /\./
- }
- },
- /\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/
- ],
- 'variable': /\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,
- 'number': /[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,
- 'punctuation': /[()]/
-};
-
-(function (Prism) {
-
- var id = /(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source;
- var type =
- '(?:' +
- /\b(?:unsigned\s+)?long\s+long(?![\w-])/.source +
- '|' +
- /\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source +
- '|' +
- /(?!(?:unrestricted|unsigned)\b)/.source + id + /(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source +
- ')' + /(?:\s*\?)?/.source;
-
- var typeInside = {};
-
- Prism.languages['web-idl'] = {
- 'comment': {
- pattern: /\/\/.*|\/\*[\s\S]*?\*\//,
- greedy: true
- },
- 'string': {
- pattern: /"[^"]*"/,
- greedy: true
- },
-
- 'namespace': {
- pattern: RegExp(/(\bnamespace\s+)/.source + id),
- lookbehind: true,
- },
- 'class-name': [
- {
- pattern: /(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,
- lookbehind: true,
- inside: typeInside
- },
- {
- pattern: RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source + type),
- lookbehind: true,
- inside: typeInside
- },
- {
- // callback return type
- pattern: RegExp('(' + /\bcallback\s+/.source + id + /\s*=\s*/.source + ')' + type),
- lookbehind: true,
- inside: typeInside
- },
- {
- // typedef
- pattern: RegExp(/(\btypedef\b\s*)/.source + type),
- lookbehind: true,
- inside: typeInside
- },
-
- {
- pattern: RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source + id),
- lookbehind: true,
- },
- {
- // inheritance
- pattern: RegExp(/(:\s*)/.source + id),
- lookbehind: true,
- },
-
- // includes and implements
- RegExp(id + /(?=\s+(?:implements|includes)\b)/.source),
- {
- pattern: RegExp(/(\b(?:implements|includes)\s+)/.source + id),
- lookbehind: true,
- },
-
- {
- // function return type, parameter types, and dictionary members
- pattern: RegExp(type + '(?=' + /\s*(?:\.{3}\s*)?/.source + id + /\s*[(),;=]/.source + ')'),
- inside: typeInside
- },
- ],
-
- 'builtin': /\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,
- 'keyword': [
- /\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,
- // type keywords
- /\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/
- ],
- 'boolean': /\b(?:false|true)\b/,
-
- 'number': {
- pattern: /(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,
- lookbehind: true
- },
- 'operator': /\.{3}|[=:?<>-]/,
- 'punctuation': /[(){}[\].,;]/
- };
-
- for (var key in Prism.languages['web-idl']) {
- if (key !== 'class-name') {
- typeInside[key] = Prism.languages['web-idl'][key];
- }
- }
-
- Prism.languages['webidl'] = Prism.languages['web-idl'];
-
-}(Prism));
-
-Prism.languages.wgsl = {
- 'comment': {
- pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
- greedy: true,
- },
- 'builtin-attribute': {
- pattern: /(@)builtin\(.*?\)/,
- lookbehind: true,
- inside: {
- 'attribute': {
- pattern: /^builtin/,
- alias: 'attr-name',
- },
- 'punctuation': /[(),]/,
- 'built-in-values': {
- pattern: /\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,
- alias: 'attr-value',
- },
- },
- },
- 'attributes': {
- pattern: /(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,
- lookbehind: true,
- alias: 'attr-name',
- },
- 'functions': {
- pattern: /\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,
- lookbehind: true,
- alias: 'function',
- },
- 'keyword': /\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,
- 'builtin': /\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,
- 'function-calls': {
- pattern: /\b[_a-z]\w*(?=\()/i,
- alias: 'function',
- },
- 'class-name': /\b(?:[A-Z][A-Za-z0-9]*)\b/,
- 'bool-literal': {
- pattern: /\b(?:false|true)\b/,
- alias: 'boolean',
- },
- 'hex-int-literal': {
- pattern: /\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,
- alias: 'number',
- },
- 'hex-float-literal': {
- pattern: /\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/, alias: 'number'
- },
- 'decimal-float-literal': [
- { pattern: /\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/, alias: 'number' },
- { pattern: /\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/, alias: 'number' },
- { pattern: /\d+[eE](?:\+|-)?\d+[fh]?/, alias: 'number' },
- { pattern: /\b\d+[fh]\b/, alias: 'number' },
- ],
- 'int-literal': {
- pattern: /\b\d+[iu]?\b/,
- alias: 'number',
- },
- 'operator': [
- { pattern: /(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/ },
- { pattern: /&(?![&=])/ },
- { pattern: /(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/ },
- { pattern: /(^|[^<>=!])=(?![=>])/, lookbehind: true },
- { pattern: /(?:==|!=|<=|\+\+|--|(^|[^=])>=)/, lookbehind: true },
- { pattern: /(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/ },
- { pattern: /->/ },
- ],
- 'punctuation': /[@(){}[\],;<>:.]/,
-};
-
-Prism.languages.wiki = Prism.languages.extend('markup', {
- 'block-comment': {
- pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
- lookbehind: true,
- alias: 'comment'
- },
- 'heading': {
- pattern: /^(=+)[^=\r\n].*?\1/m,
- inside: {
- 'punctuation': /^=+|=+$/,
- 'important': /.+/
- }
- },
- 'emphasis': {
- // TODO Multi-line
- pattern: /('{2,5}).+?\1/,
- inside: {
- 'bold-italic': {
- pattern: /(''''').+?(?=\1)/,
- lookbehind: true,
- alias: ['bold', 'italic']
- },
- 'bold': {
- pattern: /(''')[^'](?:.*?[^'])?(?=\1)/,
- lookbehind: true
- },
- 'italic': {
- pattern: /('')[^'](?:.*?[^'])?(?=\1)/,
- lookbehind: true
- },
- 'punctuation': /^''+|''+$/
- }
- },
- 'hr': {
- pattern: /^-{4,}/m,
- alias: 'punctuation'
- },
- 'url': [
- /ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,
- /\[\[.+?\]\]|\[.+?\]/
- ],
- 'variable': [
- /__[A-Z]+__/,
- // FIXME Nested structures should be handled
- // {{formatnum:{{#expr:{{{3}}}}}}}
- /\{{3}.+?\}{3}/,
- /\{\{.+?\}\}/
- ],
- 'symbol': [
- /^#redirect/im,
- /~{3,5}/
- ],
- // Handle table attrs:
- // {|
- // ! style="text-align:left;"| Item
- // |}
- 'table-tag': {
- pattern: /((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,
- lookbehind: true,
- inside: {
- 'table-bar': {
- pattern: /\|$/,
- alias: 'punctuation'
- },
- rest: Prism.languages.markup['tag'].inside
- }
- },
- 'punctuation': /^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m
-});
-
-Prism.languages.insertBefore('wiki', 'tag', {
- // Prevent highlighting inside <nowiki>, <source> and <pre> tags
- 'nowiki': {
- pattern: /<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,
- inside: {
- 'tag': {
- pattern: /<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,
- inside: Prism.languages.markup['tag'].inside
- }
- }
- }
-});
-
-Prism.languages.wolfram = {
- 'comment': // Allow one level of nesting - note: regex taken from applescipt
- /\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,
- 'string': {
- pattern: /"(?:\\.|[^"\\\r\n])*"/,
- greedy: true
- },
- 'keyword': /\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,
- 'context': {
- pattern: /\b\w+`+\w*/,
- alias: 'class-name'
- },
- 'blank': {
- pattern: /\b\w+_\b/,
- alias: 'regex'
- },
- 'global-variable': {
- pattern: /\$\w+/,
- alias: 'variable'
- },
- 'boolean': /\b(?:False|True)\b/,
- 'number': /(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,
- 'operator': /\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
- 'punctuation': /[{}[\];(),.:]/
-};
-
-Prism.languages.mathematica = Prism.languages.wolfram;
-Prism.languages.wl = Prism.languages.wolfram;
-Prism.languages.nb = Prism.languages.wolfram;
-
-// https://wren.io/
-
-Prism.languages.wren = {
- // Multiline comments in Wren can have nested multiline comments
- // Comments: // and /* */
- 'comment': [
- {
- // support 3 levels of nesting
- // regex: \/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\/
- pattern: /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,
- greedy: true
- },
- {
- pattern: /(^|[^\\:])\/\/.*/,
- lookbehind: true,
- greedy: true
- }
- ],
-
- // Triple quoted strings are multiline but cannot have interpolation (raw strings)
- // Based on prism-python.js
- 'triple-quoted-string': {
- pattern: /"""[\s\S]*?"""/,
- greedy: true,
- alias: 'string'
- },
-
- // see below
- 'string-literal': null,
-
- // #!/usr/bin/env wren on the first line
- 'hashbang': {
- pattern: /^#!\/.+/,
- greedy: true,
- alias: 'comment'
- },
-
- // Attributes are special keywords to add meta data to classes
- 'attribute': {
- // #! attributes are stored in class properties
- // #!myvar = true
- // #attributes are not stored and dismissed at compilation
- pattern: /#!?[ \t\u3000]*\w+/,
- alias: 'keyword'
- },
- 'class-name': [
- {
- // class definition
- // class Meta {}
- pattern: /(\bclass\s+)\w+/,
- lookbehind: true
- },
- // A class must always start with an uppercase.
- // File.read
- /\b[A-Z][a-z\d_]*\b/,
- ],
-
- // A constant can be a variable, class, property or method. Just named in all uppercase letters
- 'constant': /\b[A-Z][A-Z\d_]*\b/,
-
- 'null': {
- pattern: /\bnull\b/,
- alias: 'keyword'
- },
- 'keyword': /\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'number': /\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,
-
- // Functions can be Class.method()
- 'function': /\b[a-z_]\w*(?=\s*[({])/i,
-
- 'operator': /<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,
- 'punctuation': /[\[\](){}.,;]/,
-};
-
-Prism.languages.wren['string-literal'] = {
- // A single quote string is multiline and can have interpolation (similar to JS backticks ``)
- pattern: /(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,
- lookbehind: true,
- greedy: true,
- inside: {
- 'interpolation': {
- // "%(interpolation)"
- pattern: /((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,
- lookbehind: true,
- inside: {
- 'expression': {
- pattern: /^(%\()[\s\S]+(?=\)$)/,
- lookbehind: true,
- inside: Prism.languages.wren
- },
- 'interpolation-punctuation': {
- pattern: /^%\(|\)$/,
- alias: 'punctuation'
- },
- }
- },
- 'string': /[\s\S]+/
- }
-};
-
-(function (Prism) {
- Prism.languages.xeora = Prism.languages.extend('markup', {
- 'constant': {
- pattern: /\$(?:DomainContents|PageRenderDuration)\$/,
- inside: {
- 'punctuation': {
- pattern: /\$/
- }
- }
- },
- 'variable': {
- pattern: /\$@?(?:#+|[-+*~=^])?[\w.]+\$/,
- inside: {
- 'punctuation': {
- pattern: /[$.]/
- },
- 'operator': {
- pattern: /#+|[-+*~=^@]/
- }
- }
- },
- 'function-inline': {
- pattern: /\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,
- inside: {
- 'variable': {
- pattern: /(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,
- inside: {
- 'punctuation': {
- pattern: /[,.|]/
- },
- 'operator': {
- pattern: /#+|[-+*~=^@]/
- }
- }
- },
- 'punctuation': {
- pattern: /\$\w:|[$:?.,|]/
- }
- },
- alias: 'function'
- },
- 'function-block': {
- pattern: /\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,
- inside: {
- 'punctuation': {
- pattern: /[$:{}?.,|]/
- }
- },
- alias: 'function'
- },
- 'directive-inline': {
- pattern: /\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,
- inside: {
- 'punctuation': {
- pattern: /\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,
- inside: {
- 'tag': {
- pattern: /#\d/
- }
- }
- }
- },
- alias: 'function'
- },
- 'directive-block-open': {
- pattern: /\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,
- inside: {
- 'punctuation': {
- pattern: /\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,
- inside: {
- 'tag': {
- pattern: /#\d/
- }
- }
- },
- 'attribute': {
- pattern: /![A-Z]+$/,
- inside: {
- 'punctuation': {
- pattern: /!/
- }
- },
- alias: 'keyword'
- }
- },
- alias: 'function'
- },
- 'directive-block-separator': {
- pattern: /\}:[-\w.]+:\{/,
- inside: {
- 'punctuation': {
- pattern: /[:{}]/
- }
- },
- alias: 'function'
- },
- 'directive-block-close': {
- pattern: /\}:[-\w.]+\$/,
- inside: {
- 'punctuation': {
- pattern: /[:{}$]/
- }
- },
- alias: 'function'
- }
- });
-
- Prism.languages.insertBefore('inside', 'punctuation', {
- 'variable': Prism.languages.xeora['function-inline'].inside['variable']
- }, Prism.languages.xeora['function-block']);
-
- Prism.languages.xeoracube = Prism.languages.xeora;
-
-}(Prism));
-
-(function (Prism) {
-
- /**
- * If the given language is present, it will insert the given doc comment grammar token into it.
- *
- * @param {string} lang
- * @param {any} docComment
- */
- function insertDocComment(lang, docComment) {
- if (Prism.languages[lang]) {
- Prism.languages.insertBefore(lang, 'comment', {
- 'doc-comment': docComment
- });
- }
- }
-
- var tag = Prism.languages.markup.tag;
-
- var slashDocComment = {
- pattern: /\/\/\/.*/,
- greedy: true,
- alias: 'comment',
- inside: {
- 'tag': tag
- }
- };
- var tickDocComment = {
- pattern: /'''.*/,
- greedy: true,
- alias: 'comment',
- inside: {
- 'tag': tag
- }
- };
-
- insertDocComment('csharp', slashDocComment);
- insertDocComment('fsharp', slashDocComment);
- insertDocComment('vbnet', tickDocComment);
-
-}(Prism));
-
-Prism.languages.xojo = {
- 'comment': {
- pattern: /(?:'|\/\/|Rem\b).+/i,
- greedy: true
- },
- 'string': {
- pattern: /"(?:""|[^"])*"/,
- greedy: true
- },
- 'number': [
- /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
- /&[bchou][a-z\d]+/i
- ],
- 'directive': {
- pattern: /#(?:Else|ElseIf|Endif|If|Pragma)\b/i,
- alias: 'property'
- },
- 'keyword': /\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,
- 'operator': /<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,
- 'punctuation': /[.,;:()]/
-};
-
-(function (Prism) {
-
- Prism.languages.xquery = Prism.languages.extend('markup', {
- 'xquery-comment': {
- pattern: /\(:[\s\S]*?:\)/,
- greedy: true,
- alias: 'comment'
- },
- 'string': {
- pattern: /(["'])(?:\1\1|(?!\1)[\s\S])*\1/,
- greedy: true
- },
- 'extension': {
- pattern: /\(#.+?#\)/,
- alias: 'symbol'
- },
- 'variable': /\$[-\w:]+/,
- 'axis': {
- pattern: /(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,
- lookbehind: true,
- alias: 'operator'
- },
- 'keyword-operator': {
- pattern: /(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,
- lookbehind: true,
- alias: 'operator'
- },
- 'keyword': {
- pattern: /(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,
- lookbehind: true
- },
- 'function': /[\w-]+(?::[\w-]+)*(?=\s*\()/,
- 'xquery-element': {
- pattern: /(element\s+)[\w-]+(?::[\w-]+)*/,
- lookbehind: true,
- alias: 'tag'
- },
- 'xquery-attribute': {
- pattern: /(attribute\s+)[\w-]+(?::[\w-]+)*/,
- lookbehind: true,
- alias: 'attr-name'
- },
- 'builtin': {
- pattern: /(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,
- lookbehind: true
- },
- 'number': /\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,
- 'operator': [
- /[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,
- {
- pattern: /(\s)-(?=\s)/,
- lookbehind: true
- }
- ],
- 'punctuation': /[[\](){},;:/]/
- });
-
- Prism.languages.xquery.tag.pattern = /<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/;
- Prism.languages.xquery['tag'].inside['attr-value'].pattern = /=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/;
- Prism.languages.xquery['tag'].inside['attr-value'].inside['punctuation'] = /^="|"$/;
- Prism.languages.xquery['tag'].inside['attr-value'].inside['expression'] = {
- // Allow for two levels of nesting
- pattern: /\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,
- inside: Prism.languages.xquery,
- alias: 'language-xquery'
- };
-
- // The following will handle plain text inside tags
- var stringifyToken = function (token) {
- if (typeof token === 'string') {
- return token;
- }
- if (typeof token.content === 'string') {
- return token.content;
- }
- return token.content.map(stringifyToken).join('');
- };
-
- var walkTokens = function (tokens) {
- var openedTags = [];
- for (var i = 0; i < tokens.length; i++) {
- var token = tokens[i];
- var notTagNorBrace = false;
-
- if (typeof token !== 'string') {
- if (token.type === 'tag' && token.content[0] && token.content[0].type === 'tag') {
- // We found a tag, now find its kind
-
- if (token.content[0].content[0].content === '</') {
- // Closing tag
- if (openedTags.length > 0 && openedTags[openedTags.length - 1].tagName === stringifyToken(token.content[0].content[1])) {
- // Pop matching opening tag
- openedTags.pop();
- }
- } else {
- if (token.content[token.content.length - 1].content === '/>') {
- // Autoclosed tag, ignore
- } else {
- // Opening tag
- openedTags.push({
- tagName: stringifyToken(token.content[0].content[1]),
- openedBraces: 0
- });
- }
- }
- } else if (
- openedTags.length > 0 && token.type === 'punctuation' && token.content === '{' &&
- // Ignore `{{`
- (!tokens[i + 1] || tokens[i + 1].type !== 'punctuation' || tokens[i + 1].content !== '{') &&
- (!tokens[i - 1] || tokens[i - 1].type !== 'plain-text' || tokens[i - 1].content !== '{')
- ) {
- // Here we might have entered an XQuery expression inside a tag
- openedTags[openedTags.length - 1].openedBraces++;
-
- } else if (openedTags.length > 0 && openedTags[openedTags.length - 1].openedBraces > 0 && token.type === 'punctuation' && token.content === '}') {
-
- // Here we might have left an XQuery expression inside a tag
- openedTags[openedTags.length - 1].openedBraces--;
-
- } else if (token.type !== 'comment') {
- notTagNorBrace = true;
- }
- }
- if (notTagNorBrace || typeof token === 'string') {
- if (openedTags.length > 0 && openedTags[openedTags.length - 1].openedBraces === 0) {
- // Here we are inside a tag, and not inside an XQuery expression.
- // That's plain text: drop any tokens matched.
- var plainText = stringifyToken(token);
-
- // And merge text with adjacent text
- if (i < tokens.length - 1 && (typeof tokens[i + 1] === 'string' || tokens[i + 1].type === 'plain-text')) {
- plainText += stringifyToken(tokens[i + 1]);
- tokens.splice(i + 1, 1);
- }
- if (i > 0 && (typeof tokens[i - 1] === 'string' || tokens[i - 1].type === 'plain-text')) {
- plainText = stringifyToken(tokens[i - 1]) + plainText;
- tokens.splice(i - 1, 1);
- i--;
- }
-
- if (/^\s+$/.test(plainText)) {
- tokens[i] = plainText;
- } else {
- tokens[i] = new Prism.Token('plain-text', plainText, null, plainText);
- }
- }
- }
-
- if (token.content && typeof token.content !== 'string') {
- walkTokens(token.content);
- }
- }
- };
-
- Prism.hooks.add('after-tokenize', function (env) {
- if (env.language !== 'xquery') {
- return;
- }
- walkTokens(env.tokens);
- });
-
-}(Prism));
-
-Prism.languages.yang = {
- // https://tools.ietf.org/html/rfc6020#page-34
- // http://www.yang-central.org/twiki/bin/view/Main/YangExamples
- 'comment': /\/\*[\s\S]*?\*\/|\/\/.*/,
- 'string': {
- pattern: /"(?:[^\\"]|\\.)*"|'[^']*'/,
- greedy: true
- },
- 'keyword': {
- pattern: /(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,
- lookbehind: true
- },
- 'namespace': {
- pattern: /(\s)[a-z_][\w.-]*(?=:)/i,
- lookbehind: true
- },
- 'boolean': /\b(?:false|true)\b/,
- 'operator': /\+/,
- 'punctuation': /[{};:]/
-};
-
-(function (Prism) {
-
- function literal(str) {
- return function () { return str; };
- }
-
- var keyword = /\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/;
-
- var IDENTIFIER = '\\b(?!' + keyword.source + ')(?!\\d)\\w+\\b';
- var ALIGN = /align\s*\((?:[^()]|\([^()]*\))*\)/.source;
- var PREFIX_TYPE_OP = /(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g, literal(ALIGN));
- var SUFFIX_EXPR = /(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g, literal(IDENTIFIER));
- var TYPE = '(?!\\s)(?:!?\\s*(?:' + PREFIX_TYPE_OP + '\\s*)*' + SUFFIX_EXPR + ')+';
-
- /*
- * A simplified grammar for Zig compile time type literals:
- *
- * TypeExpr = ( "!"? PREFIX_TYPE_OP* SUFFIX_EXPR )+
- *
- * SUFFIX_EXPR = ( \b "promise" \b | ( \b "error" "." )? IDENTIFIER ( "." IDENTIFIER )* (?! \s+ IDENTIFIER ) )
- *
- * PREFIX_TYPE_OP = "?"
- * | \b "promise" "->"
- * | ( "[" [^\[\]]* "]" | "*" | "**" ) ( ALIGN | "const" \b | "volatile" \b | "allowzero" \b )*
- *
- * ALIGN = "align" "(" ( [^()] | "(" [^()]* ")" )* ")"
- *
- * IDENTIFIER = \b (?! KEYWORD ) [a-zA-Z_] \w* \b
- *
- */
-
- Prism.languages.zig = {
- 'comment': [
- {
- pattern: /\/\/[/!].*/,
- alias: 'doc-comment'
- },
- /\/{2}.*/
- ],
- 'string': [
- {
- // "string" and c"string"
- pattern: /(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,
- lookbehind: true,
- greedy: true
- },
- {
- // multiline strings and c-strings
- pattern: /([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,
- lookbehind: true,
- greedy: true
- }
- ],
- 'char': {
- // characters 'a', '\n', '\xFF', '\u{10FFFF}'
- pattern: /(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,
- lookbehind: true,
- greedy: true
- },
- 'builtin': /\B@(?!\d)\w+(?=\s*\()/,
- 'label': {
- pattern: /(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,
- lookbehind: true
- },
- 'class-name': [
- // const Foo = struct {};
- /\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,
- {
- // const x: i32 = 9;
- // var x: Bar;
- // fn foo(x: bool, y: f32) void {}
- pattern: RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g, literal(TYPE)).replace(/<ALIGN>/g, literal(ALIGN))),
- lookbehind: true,
- inside: null // see below
- },
- {
- // extern fn foo(x: f64) f64; (optional alignment)
- pattern: RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g, literal(TYPE)).replace(/<ALIGN>/g, literal(ALIGN))),
- lookbehind: true,
- inside: null // see below
- }
- ],
- 'builtin-type': {
- pattern: /\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,
- alias: 'keyword'
- },
- 'keyword': keyword,
- 'function': /\b(?!\d)\w+(?=\s*\()/,
- 'number': /\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,
- 'boolean': /\b(?:false|true)\b/,
- 'operator': /\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,
- 'punctuation': /[.:,;(){}[\]]/
- };
-
- Prism.languages.zig['class-name'].forEach(function (obj) {
- if (obj.inside === null) {
- obj.inside = Prism.languages.zig;
- }
- });
-
-}(Prism));
-
-(function () {
-
- if (typeof Prism === 'undefined' || typeof document === 'undefined') {
- return;
- }
-
- /**
- * Plugin name which is used as a class name for <pre> which is activating the plugin
- *
- * @type {string}
- */
- var PLUGIN_NAME = 'line-numbers';
-
- /**
- * Regular expression used for determining line breaks
- *
- * @type {RegExp}
- */
- var NEW_LINE_EXP = /\n(?!$)/g;
-
-
- /**
- * Global exports
- */
- var config = Prism.plugins.lineNumbers = {
- /**
- * Get node for provided line number
- *
- * @param {Element} element pre element
- * @param {number} number line number
- * @returns {Element|undefined}
- */
- getLine: function (element, number) {
- if (element.tagName !== 'PRE' || !element.classList.contains(PLUGIN_NAME)) {
- return;
- }
-
- var lineNumberRows = element.querySelector('.line-numbers-rows');
- if (!lineNumberRows) {
- return;
- }
- var lineNumberStart = parseInt(element.getAttribute('data-start'), 10) || 1;
- var lineNumberEnd = lineNumberStart + (lineNumberRows.children.length - 1);
-
- if (number < lineNumberStart) {
- number = lineNumberStart;
- }
- if (number > lineNumberEnd) {
- number = lineNumberEnd;
- }
-
- var lineIndex = number - lineNumberStart;
-
- return lineNumberRows.children[lineIndex];
- },
-
- /**
- * Resizes the line numbers of the given element.
- *
- * This function will not add line numbers. It will only resize existing ones.
- *
- * @param {HTMLElement} element A `<pre>` element with line numbers.
- * @returns {void}
- */
- resize: function (element) {
- resizeElements([element]);
- },
-
- /**
- * Whether the plugin can assume that the units font sizes and margins are not depended on the size of
- * the current viewport.
- *
- * Setting this to `true` will allow the plugin to do certain optimizations for better performance.
- *
- * Set this to `false` if you use any of the following CSS units: `vh`, `vw`, `vmin`, `vmax`.
- *
- * @type {boolean}
- */
- assumeViewportIndependence: true
- };
-
- /**
- * Resizes the given elements.
- *
- * @param {HTMLElement[]} elements
- */
- function resizeElements(elements) {
- elements = elements.filter(function (e) {
- var codeStyles = getStyles(e);
- var whiteSpace = codeStyles['white-space'];
- return whiteSpace === 'pre-wrap' || whiteSpace === 'pre-line';
- });
-
- if (elements.length == 0) {
- return;
- }
-
- var infos = elements.map(function (element) {
- var codeElement = element.querySelector('code');
- var lineNumbersWrapper = element.querySelector('.line-numbers-rows');
- if (!codeElement || !lineNumbersWrapper) {
- return undefined;
- }
-
- /** @type {HTMLElement} */
- var lineNumberSizer = element.querySelector('.line-numbers-sizer');
- var codeLines = codeElement.textContent.split(NEW_LINE_EXP);
-
- if (!lineNumberSizer) {
- lineNumberSizer = document.createElement('span');
- lineNumberSizer.className = 'line-numbers-sizer';
-
- codeElement.appendChild(lineNumberSizer);
- }
-
- lineNumberSizer.innerHTML = '0';
- lineNumberSizer.style.display = 'block';
-
- var oneLinerHeight = lineNumberSizer.getBoundingClientRect().height;
- lineNumberSizer.innerHTML = '';
-
- return {
- element: element,
- lines: codeLines,
- lineHeights: [],
- oneLinerHeight: oneLinerHeight,
- sizer: lineNumberSizer,
- };
- }).filter(Boolean);
-
- infos.forEach(function (info) {
- var lineNumberSizer = info.sizer;
- var lines = info.lines;
- var lineHeights = info.lineHeights;
- var oneLinerHeight = info.oneLinerHeight;
-
- lineHeights[lines.length - 1] = undefined;
- lines.forEach(function (line, index) {
- if (line && line.length > 1) {
- var e = lineNumberSizer.appendChild(document.createElement('span'));
- e.style.display = 'block';
- e.textContent = line;
- } else {
- lineHeights[index] = oneLinerHeight;
- }
- });
- });
-
- infos.forEach(function (info) {
- var lineNumberSizer = info.sizer;
- var lineHeights = info.lineHeights;
-
- var childIndex = 0;
- for (var i = 0; i < lineHeights.length; i++) {
- if (lineHeights[i] === undefined) {
- lineHeights[i] = lineNumberSizer.children[childIndex++].getBoundingClientRect().height;
- }
- }
- });
-
- infos.forEach(function (info) {
- var lineNumberSizer = info.sizer;
- var wrapper = info.element.querySelector('.line-numbers-rows');
-
- lineNumberSizer.style.display = 'none';
- lineNumberSizer.innerHTML = '';
-
- info.lineHeights.forEach(function (height, lineNumber) {
- wrapper.children[lineNumber].style.height = height + 'px';
- });
- });
- }
-
- /**
- * Returns style declarations for the element
- *
- * @param {Element} element
- */
- function getStyles(element) {
- if (!element) {
- return null;
- }
-
- return window.getComputedStyle ? getComputedStyle(element) : (element.currentStyle || null);
- }
-
- var lastWidth = undefined;
- window.addEventListener('resize', function () {
- if (config.assumeViewportIndependence && lastWidth === window.innerWidth) {
- return;
- }
- lastWidth = window.innerWidth;
-
- resizeElements(Array.prototype.slice.call(document.querySelectorAll('pre.' + PLUGIN_NAME)));
- });
-
- Prism.hooks.add('complete', function (env) {
- if (!env.code) {
- return;
- }
-
- var code = /** @type {Element} */ (env.element);
- var pre = /** @type {HTMLElement} */ (code.parentNode);
-
- // works only for <code> wrapped inside <pre> (not inline)
- if (!pre || !/pre/i.test(pre.nodeName)) {
- return;
- }
-
- // Abort if line numbers already exists
- if (code.querySelector('.line-numbers-rows')) {
- return;
- }
-
- // only add line numbers if <code> or one of its ancestors has the `line-numbers` class
- if (!Prism.util.isActive(code, PLUGIN_NAME)) {
- return;
- }
-
- // Remove the class 'line-numbers' from the <code>
- code.classList.remove(PLUGIN_NAME);
- // Add the class 'line-numbers' to the <pre>
- pre.classList.add(PLUGIN_NAME);
-
- var match = env.code.match(NEW_LINE_EXP);
- var linesNum = match ? match.length + 1 : 1;
- var lineNumbersWrapper;
-
- var lines = new Array(linesNum + 1).join('<span></span>');
-
- lineNumbersWrapper = document.createElement('span');
- lineNumbersWrapper.setAttribute('aria-hidden', 'true');
- lineNumbersWrapper.className = 'line-numbers-rows';
- lineNumbersWrapper.innerHTML = lines;
-
- if (pre.hasAttribute('data-start')) {
- pre.style.counterReset = 'linenumber ' + (parseInt(pre.getAttribute('data-start'), 10) - 1);
- }
-
- env.element.appendChild(lineNumbersWrapper);
-
- resizeElements([pre]);
-
- Prism.hooks.run('line-numbers', env);
- });
-
- Prism.hooks.add('line-numbers', function (env) {
- env.plugins = env.plugins || {};
- env.plugins.lineNumbers = true;
- });
-
-}());
-
-(function () {
-
- if (typeof Prism === 'undefined' || typeof document === 'undefined') {
- return;
- }
-
- // https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill
- if (!Element.prototype.matches) {
- Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
- }
-
- var LOADING_MESSAGE = 'Loading…';
- var FAILURE_MESSAGE = function (status, message) {
- return '✖ Error ' + status + ' while fetching file: ' + message;
- };
- var FAILURE_EMPTY_MESSAGE = '✖ Error: File does not exist or is empty';
-
- var EXTENSIONS = {
- 'js': 'javascript',
- 'py': 'python',
- 'rb': 'ruby',
- 'ps1': 'powershell',
- 'psm1': 'powershell',
- 'sh': 'bash',
- 'bat': 'batch',
- 'h': 'c',
- 'tex': 'latex'
- };
-
- var STATUS_ATTR = 'data-src-status';
- var STATUS_LOADING = 'loading';
- var STATUS_LOADED = 'loaded';
- var STATUS_FAILED = 'failed';
-
- var SELECTOR = 'pre[data-src]:not([' + STATUS_ATTR + '="' + STATUS_LOADED + '"])'
- + ':not([' + STATUS_ATTR + '="' + STATUS_LOADING + '"])';
-
- /**
- * Loads the given file.
- *
- * @param {string} src The URL or path of the source file to load.
- * @param {(result: string) => void} success
- * @param {(reason: string) => void} error
- */
- function loadFile(src, success, error) {
- var xhr = new XMLHttpRequest();
- xhr.open('GET', src, true);
- xhr.onreadystatechange = function () {
- if (xhr.readyState == 4) {
- if (xhr.status < 400 && xhr.responseText) {
- success(xhr.responseText);
- } else {
- if (xhr.status >= 400) {
- error(FAILURE_MESSAGE(xhr.status, xhr.statusText));
- } else {
- error(FAILURE_EMPTY_MESSAGE);
- }
- }
- }
- };
- xhr.send(null);
- }
-
- /**
- * Parses the given range.
- *
- * This returns a range with inclusive ends.
- *
- * @param {string | null | undefined} range
- * @returns {[number, number | undefined] | undefined}
- */
- function parseRange(range) {
- var m = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(range || '');
- if (m) {
- var start = Number(m[1]);
- var comma = m[2];
- var end = m[3];
-
- if (!comma) {
- return [start, start];
- }
- if (!end) {
- return [start, undefined];
- }
- return [start, Number(end)];
- }
- return undefined;
- }
-
- Prism.hooks.add('before-highlightall', function (env) {
- env.selector += ', ' + SELECTOR;
- });
-
- Prism.hooks.add('before-sanity-check', function (env) {
- var pre = /** @type {HTMLPreElement} */ (env.element);
- if (pre.matches(SELECTOR)) {
- env.code = ''; // fast-path the whole thing and go to complete
-
- pre.setAttribute(STATUS_ATTR, STATUS_LOADING); // mark as loading
-
- // add code element with loading message
- var code = pre.appendChild(document.createElement('CODE'));
- code.textContent = LOADING_MESSAGE;
-
- var src = pre.getAttribute('data-src');
-
- var language = env.language;
- if (language === 'none') {
- // the language might be 'none' because there is no language set;
- // in this case, we want to use the extension as the language
- var extension = (/\.(\w+)$/.exec(src) || [, 'none'])[1];
- language = EXTENSIONS[extension] || extension;
- }
-
- // set language classes
- Prism.util.setLanguage(code, language);
- Prism.util.setLanguage(pre, language);
-
- // preload the language
- var autoloader = Prism.plugins.autoloader;
- if (autoloader) {
- autoloader.loadLanguages(language);
- }
-
- // load file
- loadFile(
- src,
- function (text) {
- // mark as loaded
- pre.setAttribute(STATUS_ATTR, STATUS_LOADED);
-
- // handle data-range
- var range = parseRange(pre.getAttribute('data-range'));
- if (range) {
- var lines = text.split(/\r\n?|\n/g);
-
- // the range is one-based and inclusive on both ends
- var start = range[0];
- var end = range[1] == null ? lines.length : range[1];
-
- if (start < 0) { start += lines.length; }
- start = Math.max(0, Math.min(start - 1, lines.length));
- if (end < 0) { end += lines.length; }
- end = Math.max(0, Math.min(end, lines.length));
-
- text = lines.slice(start, end).join('\n');
-
- // add data-start for line numbers
- if (!pre.hasAttribute('data-start')) {
- pre.setAttribute('data-start', String(start + 1));
- }
- }
-
- // highlight code
- code.textContent = text;
- Prism.highlightElement(code);
- },
- function (error) {
- // mark as failed
- pre.setAttribute(STATUS_ATTR, STATUS_FAILED);
-
- code.textContent = error;
- }
- );
- }
- });
-
- Prism.plugins.fileHighlight = {
- /**
- * Executes the File Highlight plugin for all matching `pre` elements under the given container.
- *
- * Note: Elements which are already loaded or currently loading will not be touched by this method.
- *
- * @param {ParentNode} [container=document]
- */
- highlight: function highlight(container) {
- var elements = (container || document).querySelectorAll(SELECTOR);
-
- for (var i = 0, element; (element = elements[i++]);) {
- Prism.highlightElement(element);
- }
- }
- };
-
- var logged = false;
- /** @deprecated Use `Prism.plugins.fileHighlight.highlight` instead. */
- Prism.fileHighlight = function () {
- if (!logged) {
- console.warn('Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead.');
- logged = true;
- }
- Prism.plugins.fileHighlight.highlight.apply(this, arguments);
- };
-
-}());
-
diff --git a/lib/kmxgit_web/controllers/user_registration_controller.ex b/lib/kmxgit_web/controllers/user_registration_controller.ex
index 3b923ab..98db070 100644
--- a/lib/kmxgit_web/controllers/user_registration_controller.ex
+++ b/lib/kmxgit_web/controllers/user_registration_controller.ex
@@ -42,7 +42,7 @@ defmodule KmxgitWeb.UserRegistrationController do
{:ok, _} =
UserManager.deliver_user_confirmation_instructions(
user,
- &Routes.user_confirmation_url(conn, :edit, &1))
+ & Routes.user_confirmation_url(conn, :edit, &1))
user
{:error, changeset} ->
IO.inspect(changeset)
diff --git a/mix.exs b/mix.exs
index 4e107e0..844ac5a 100644
--- a/mix.exs
+++ b/mix.exs
@@ -1,5 +1,5 @@
## kmxgit
-## Copyright 2022 kmx.io <contact@kmx.io>
+## Copyright 2022,2023,2024 kmx.io <contact@kmx.io>
##
## Permission is hereby granted to use this software granted
## the above copyright notice and this permission paragraph
diff --git a/mix.lock b/mix.lock
index 3b8446d..79d6fdd 100644
--- a/mix.lock
+++ b/mix.lock
@@ -1,8 +1,8 @@
%{
- "bcrypt_elixir": {:hex, :bcrypt_elixir, "3.1.0", "0b110a9a6c619b19a7f73fa3004aa11d6e719a67e672d1633dc36b6b2290a0f7", [:make, :mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "2ad2acb5a8bc049e8d5aa267802631912bb80d5f4110a178ae7999e69dca1bf7"},
- "castore": {:hex, :castore, "1.0.8", "dedcf20ea746694647f883590b82d9e96014057aff1d44d03ec90f36a5c0dc6e", [:mix], [], "hexpm", "0b2b66d2ee742cb1d9cb8c8be3b43c3a70ee8651f37b75a8b982e036752983f1"},
+ "bcrypt_elixir": {:hex, :bcrypt_elixir, "3.2.0", "feab711974beba4cb348147170346fe097eea2e840db4e012a145e180ed4ab75", [:make, :mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "563e92a6c77d667b19c5f4ba17ab6d440a085696bdf4c68b9b0f5b30bc5422b8"},
+ "castore": {:hex, :castore, "1.0.9", "5cc77474afadf02c7c017823f460a17daa7908e991b0cc917febc90e466a375c", [:mix], [], "hexpm", "5ea956504f1ba6f2b4eb707061d8e17870de2bee95fb59d512872c2ef06925e7"},
"certifi": {:hex, :certifi, "2.12.0", "2d1cca2ec95f59643862af91f001478c9863c2ac9cb6e2f89780bfd8de987329", [:rebar3], [], "hexpm", "ee68d85df22e554040cdb4be100f33873ac6051387baf6a8f6ce82272340ff1c"},
- "comeonin": {:hex, :comeonin, "5.4.0", "246a56ca3f41d404380fc6465650ddaa532c7f98be4bda1b4656b3a37cc13abe", [:mix], [], "hexpm", "796393a9e50d01999d56b7b8420ab0481a7538d0caf80919da493b4a6e51faf1"},
+ "comeonin": {:hex, :comeonin, "5.5.0", "364d00df52545c44a139bad919d7eacb55abf39e86565878e17cebb787977368", [:mix], [], "hexpm", "6287fc3ba0aad34883cbe3f7949fc1d1e738e5ccdce77165bc99490aa69f47fb"},
"connection": {:hex, :connection, "1.1.0", "ff2a49c4b75b6fb3e674bfc5536451607270aac754ffd1bdfe175abe4a6d7a68", [:mix], [], "hexpm", "722c1eb0a418fbe91ba7bd59a47e28008a189d47e37e0e7bb85585a016b2869c"},
"cowboy": {:hex, :cowboy, "2.12.0", "f276d521a1ff88b2b9b4c54d0e753da6c66dd7be6c9fca3d9418b561828a3731", [:make, :rebar3], [{:cowlib, "2.13.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "8a7abe6d183372ceb21caa2709bec928ab2b72e18a3911aa1771639bef82651e"},
"cowboy_telemetry": {:hex, :cowboy_telemetry, "0.4.0", "f239f68b588efa7707abce16a84d0d2acf3a0f50571f8bb7f56a15865aae820c", [:rebar3], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de"},
@@ -12,26 +12,26 @@
"decimal": {:hex, :decimal, "2.1.1", "5611dca5d4b2c3dd497dec8f68751f1f1a54755e8ed2a966c2633cf885973ad6", [:mix], [], "hexpm", "53cfe5f497ed0e7771ae1a475575603d77425099ba5faef9394932b35020ffcc"},
"earmark": {:hex, :earmark, "1.4.47", "7e7596b84fe4ebeb8751e14cbaeaf4d7a0237708f2ce43630cfd9065551f94ca", [:mix], [], "hexpm", "3e96bebea2c2d95f3b346a7ff22285bc68a99fbabdad9b655aa9c6be06c698f8"},
"earmark_parser": {:hex, :earmark_parser, "1.4.30", "0b938aa5b9bafd455056440cdaa2a79197ca5e693830b4a982beada840513c5f", [:mix], [], "hexpm", "3b5385c2d36b0473d0b206927b841343d25adb14f95f0110062506b300cd5a1b"},
- "ecto": {:hex, :ecto, "3.11.2", "e1d26be989db350a633667c5cda9c3d115ae779b66da567c68c80cfb26a8c9ee", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "3c38bca2c6f8d8023f2145326cc8a80100c3ffe4dcbd9842ff867f7fc6156c65"},
- "ecto_sql": {:hex, :ecto_sql, "3.11.3", "4eb7348ff8101fbc4e6bbc5a4404a24fecbe73a3372d16569526b0cf34ebc195", [:mix], [{:db_connection, "~> 2.4.1 or ~> 2.5", [hex: :db_connection, repo: "hexpm", optional: false]}, {:ecto, "~> 3.11.0", [hex: :ecto, repo: "hexpm", optional: false]}, {:myxql, "~> 0.6", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.16 or ~> 1.0", [hex: :postgrex, repo: "hexpm", optional: true]}, {:tds, "~> 2.1.1 or ~> 2.2", [hex: :tds, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.0 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "e5f36e3d736b99c7fee3e631333b8394ade4bafe9d96d35669fca2d81c2be928"},
+ "ecto": {:hex, :ecto, "3.12.4", "267c94d9f2969e6acc4dd5e3e3af5b05cdae89a4d549925f3008b2b7eb0b93c3", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "ef04e4101688a67d061e1b10d7bc1fbf00d1d13c17eef08b71d070ff9188f747"},
+ "ecto_sql": {:hex, :ecto_sql, "3.12.1", "c0d0d60e85d9ff4631f12bafa454bc392ce8b9ec83531a412c12a0d415a3a4d0", [:mix], [{:db_connection, "~> 2.4.1 or ~> 2.5", [hex: :db_connection, repo: "hexpm", optional: false]}, {:ecto, "~> 3.12", [hex: :ecto, repo: "hexpm", optional: false]}, {:myxql, "~> 0.7", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.19 or ~> 1.0", [hex: :postgrex, repo: "hexpm", optional: true]}, {:tds, "~> 2.1.1 or ~> 2.2", [hex: :tds, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.0 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "aff5b958a899762c5f09028c847569f7dfb9cc9d63bdb8133bff8a5546de6bf5"},
"elixir_auth_google": {:hex, :elixir_auth_google, "1.6.3", "13f9fcecc32d8a0e5eee5d24419d603dbec495fcc9c60ac314d64ba4af17fc83", [:mix], [{:httpoison, "~> 1.8.0", [hex: :httpoison, repo: "hexpm", optional: false]}, {:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "6c0e9852879b22ac20908ca155cfe389fc099de6075359adbffe5a3d8fa8592f"},
"elixir_make": {:hex, :elixir_make, "0.8.4", "4960a03ce79081dee8fe119d80ad372c4e7badb84c493cc75983f9d3bc8bde0f", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:certifi, "~> 2.0", [hex: :certifi, repo: "hexpm", optional: true]}], "hexpm", "6e7f1d619b5f61dfabd0a20aa268e575572b542ac31723293a4c1a567d5ef040"},
"esbuild": {:hex, :esbuild, "0.8.1", "0cbf919f0eccb136d2eeef0df49c4acf55336de864e63594adcea3814f3edf41", [:mix], [{:castore, ">= 0.0.0", [hex: :castore, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "25fc876a67c13cb0a776e7b5d7974851556baeda2085296c14ab48555ea7560f"},
"exgravatar": {:hex, :exgravatar, "2.0.3", "2349709832ee535f826f48db98cddd294ae62b01acb44d539a16419bd8ebc3e5", [:mix], [], "hexpm", "aca18ff9bd8991d3be3e5446d3bdefc051be084c1ffc9ab2d43b3e65339300e1"},
- "expo": {:hex, :expo, "0.5.2", "beba786aab8e3c5431813d7a44b828e7b922bfa431d6bfbada0904535342efe2", [:mix], [], "hexpm", "8c9bfa06ca017c9cb4020fabe980bc7fdb1aaec059fd004c2ab3bff03b1c599c"},
+ "expo": {:hex, :expo, "1.1.0", "f7b9ed7fb5745ebe1eeedf3d6f29226c5dd52897ac67c0f8af62a07e661e5c75", [:mix], [], "hexpm", "fbadf93f4700fb44c331362177bdca9eeb8097e8b0ef525c9cc501cb9917c960"},
"file_size": {:hex, :file_size, "3.0.1", "ad447a69442a82fc701765a73992d7b1110136fa0d4a9d3190ea685d60034dcd", [:mix], [{:decimal, ">= 1.0.0 and < 3.0.0", [hex: :decimal, repo: "hexpm", optional: true]}, {:number, "~> 1.0", [hex: :number, repo: "hexpm", optional: false]}], "hexpm", "64dd665bc37920480c249785788265f5d42e98830d757c6a477b3246703b8e20"},
- "file_system": {:hex, :file_system, "1.0.0", "b689cc7dcee665f774de94b5a832e578bd7963c8e637ef940cd44327db7de2cd", [:mix], [], "hexpm", "6752092d66aec5a10e662aefeed8ddb9531d79db0bc145bb8c40325ca1d8536d"},
+ "file_system": {:hex, :file_system, "1.0.1", "79e8ceaddb0416f8b8cd02a0127bdbababe7bf4a23d2a395b983c1f8b3f73edd", [:mix], [], "hexpm", "4414d1f38863ddf9120720cd976fce5bdde8e91d8283353f0e31850fa89feb9e"},
"finch": {:hex, :finch, "0.10.2", "9ad27d68270d879f73f26604bb2e573d40f29bf0e907064a9a337f90a16a0312", [:mix], [{:castore, "~> 0.1", [hex: :castore, repo: "hexpm", optional: false]}, {:mint, "~> 1.3", [hex: :mint, repo: "hexpm", optional: false]}, {:nimble_options, "~> 0.4.0", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:nimble_pool, "~> 0.2", [hex: :nimble_pool, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "dd8b11b282072cec2ef30852283949c248bd5d2820c88d8acc89402b81db7550"},
"floki": {:hex, :floki, "0.36.2", "a7da0193538c93f937714a6704369711998a51a6164a222d710ebd54020aa7a3", [:mix], [], "hexpm", "a8766c0bc92f074e5cb36c4f9961982eda84c5d2b8e979ca67f5c268ec8ed580"},
"gen_smtp": {:hex, :gen_smtp, "1.2.0", "9cfc75c72a8821588b9b9fe947ae5ab2aed95a052b81237e0928633a13276fd3", [:rebar3], [{:ranch, ">= 1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "5ee0375680bca8f20c4d85f58c2894441443a743355430ff33a783fe03296779"},
- "gettext": {:hex, :gettext, "0.24.0", "6f4d90ac5f3111673cbefc4ebee96fe5f37a114861ab8c7b7d5b30a1108ce6d8", [:mix], [{:expo, "~> 0.5.1", [hex: :expo, repo: "hexpm", optional: false]}], "hexpm", "bdf75cdfcbe9e4622dd18e034b227d77dd17f0f133853a1c73b97b3d6c770e8b"},
+ "gettext": {:hex, :gettext, "0.26.1", "38e14ea5dcf962d1fc9f361b63ea07c0ce715a8ef1f9e82d3dfb8e67e0416715", [:mix], [{:expo, "~> 0.5.1 or ~> 1.0", [hex: :expo, repo: "hexpm", optional: false]}], "hexpm", "01ce56f188b9dc28780a52783d6529ad2bc7124f9744e571e1ee4ea88bf08734"},
"guardian": {:hex, :guardian, "2.2.1", "5a4a949fd46eac79ef37f074ada7d1ef82e274bc99e335c286e042f5383f4f80", [:mix], [{:jose, "~> 1.8", [hex: :jose, repo: "hexpm", optional: false]}, {:plug, "~> 1.3.3 or ~> 1.4", [hex: :plug, repo: "hexpm", optional: true]}], "hexpm", "09b5c4d08f18524bd33ffe49617003cbca9f617237e23b5f42223cda61c5f052"},
"hackney": {:hex, :hackney, "1.20.1", "8d97aec62ddddd757d128bfd1df6c5861093419f8f7a4223823537bad5d064e2", [:rebar3], [{:certifi, "~> 2.12.0", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "~> 6.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "~> 1.0.0", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~> 1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:parse_trans, "3.4.1", [hex: :parse_trans, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~> 1.1.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}, {:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3"},
"html_entities": {:hex, :html_entities, "0.5.2", "9e47e70598da7de2a9ff6af8758399251db6dbb7eebe2b013f2bbd2515895c3c", [:mix], [], "hexpm", "c53ba390403485615623b9531e97696f076ed415e8d8058b1dbaa28181f4fdcc"},
"httpoison": {:hex, :httpoison, "1.8.2", "9eb9c63ae289296a544842ef816a85d881d4a31f518a0fec089aaa744beae290", [:mix], [{:hackney, "~> 1.17", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm", "2bb350d26972e30c96e2ca74a1aaf8293d61d0742ff17f01e0279fef11599921"},
"hut": {:hex, :hut, "1.3.0", "71f2f054e657c03f959cf1acc43f436ea87580696528ca2a55c8afb1b06c85e7", [:"erlang.mk", :rebar, :rebar3], [], "hexpm", "7e15d28555d8a1f2b5a3a931ec120af0753e4853a4c66053db354f35bf9ab563"},
"idna": {:hex, :idna, "6.1.1", "8a63070e9f7d0c62eb9d9fcb360a7de382448200fbbd1b106cc96d3d8099df8d", [:rebar3], [{:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "92376eb7894412ed19ac475e4a86f7b413c1b9fbb5bd16dccd57934157944cea"},
- "jason": {:hex, :jason, "1.4.3", "d3f984eeb96fe53b85d20e0b049f03e57d075b5acda3ac8d465c969a2536c17b", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "9a90e868927f7c777689baa16d86f4d0e086d968db5c05d917ccff6d443e58a3"},
+ "jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"},
"jose": {:hex, :jose, "1.11.2", "f4c018ccf4fdce22c71e44d471f15f723cb3efab5d909ab2ba202b5bf35557b3", [:mix, :rebar3], [], "hexpm", "98143fbc48d55f3a18daba82d34fe48959d44538e9697c08f34200fa5f0947d2"},
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm", "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"},
"mime": {:hex, :mime, "2.0.6", "8f18486773d9b15f95f4f4f1e39b710045fa1de891fada4516559967276e4dc2", [:mix], [], "hexpm", "c9945363a6b26d747389aac3643f8e0e09d30499a138ad64fe8fd1d13d9b153e"},
@@ -52,17 +52,17 @@
"phoenix_template": {:hex, :phoenix_template, "1.0.4", "e2092c132f3b5e5b2d49c96695342eb36d0ed514c5b252a77048d5969330d639", [:mix], [{:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: true]}], "hexpm", "2c0c81f0e5c6753faf5cca2f229c9709919aba34fab866d3bc05060c9c444206"},
"phoenix_view": {:hex, :phoenix_view, "2.0.4", "b45c9d9cf15b3a1af5fb555c674b525391b6a1fe975f040fb4d913397b31abf4", [:mix], [{:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.0", [hex: :phoenix_html, repo: "hexpm", optional: true]}, {:phoenix_template, "~> 1.0", [hex: :phoenix_template, repo: "hexpm", optional: false]}], "hexpm", "4e992022ce14f31fe57335db27a28154afcc94e9983266835bb3040243eb620b"},
"plug": {:hex, :plug, "1.16.1", "40c74619c12f82736d2214557dedec2e9762029b2438d6d175c5074c933edc9d", [:mix], [{:mime, "~> 1.0 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:plug_crypto, "~> 1.1.1 or ~> 1.2 or ~> 2.0", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4.3 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "a13ff6b9006b03d7e33874945b2755253841b238c34071ed85b0e86057f8cddc"},
- "plug_cowboy": {:hex, :plug_cowboy, "2.7.1", "87677ffe3b765bc96a89be7960f81703223fe2e21efa42c125fcd0127dd9d6b2", [:mix], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:cowboy_telemetry, "~> 0.3", [hex: :cowboy_telemetry, repo: "hexpm", optional: false]}, {:plug, "~> 1.14", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm", "02dbd5f9ab571b864ae39418db7811618506256f6d13b4a45037e5fe78dc5de3"},
+ "plug_cowboy": {:hex, :plug_cowboy, "2.7.2", "fdadb973799ae691bf9ecad99125b16625b1c6039999da5fe544d99218e662e4", [:mix], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:cowboy_telemetry, "~> 0.3", [hex: :cowboy_telemetry, repo: "hexpm", optional: false]}, {:plug, "~> 1.14", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm", "245d8a11ee2306094840c000e8816f0cbed69a23fc0ac2bcf8d7835ae019bb2f"},
"plug_crypto": {:hex, :plug_crypto, "1.2.5", "918772575e48e81e455818229bf719d4ab4181fcbf7f85b68a35620f78d89ced", [:mix], [], "hexpm", "26549a1d6345e2172eb1c233866756ae44a9609bd33ee6f99147ab3fd87fd842"},
"plug_recaptcha": {:git, "https://github.com/thodg/plug_recaptcha.git", "69e69c1cd5934f98b728b31ce35542042a46373e", []},
"poison": {:hex, :poison, "3.1.0", "d9eb636610e096f86f25d9a46f35a9facac35609a7591b3be3326e99a0484665", [:mix], [], "hexpm", "fec8660eb7733ee4117b85f55799fd3833eb769a6df71ccf8903e8dc5447cfce"},
- "postgrex": {:hex, :postgrex, "0.18.0", "f34664101eaca11ff24481ed4c378492fed2ff416cd9b06c399e90f321867d7e", [:mix], [{:db_connection, "~> 2.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.5 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "a042989ba1bc1cca7383ebb9e461398e3f89f868c92ce6671feb7ef132a252d1"},
+ "postgrex": {:hex, :postgrex, "0.19.1", "73b498508b69aded53907fe48a1fee811be34cc720e69ef4ccd568c8715495ea", [:mix], [{:db_connection, "~> 2.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.5 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "8bac7885a18f381e091ec6caf41bda7bb8c77912bb0e9285212829afe5d8a8f8"},
"pot": {:hex, :pot, "1.0.2", "13abb849139fdc04ab8154986abbcb63bdee5de6ed2ba7e1713527e33df923dd", [:rebar3], [], "hexpm", "78fe127f5a4f5f919d6ea5a2a671827bd53eb9d37e5b4128c0ad3df99856c2e0"},
"qrcode_ex": {:hex, :qrcode_ex, "0.1.1", "8907a7558325babd30f7f43ff85a0169ef65c30820d68e90d792802318f9a062", [:mix], [], "hexpm", "9eb0b397fb3a1c3b16e55b6de6f845a0b4e7b7100ade39eb59fad98fb62455a7"},
"ranch": {:hex, :ranch, "1.8.0", "8c7a100a139fd57f17327b6413e4167ac559fbc04ca7448e9be9057311597a1d", [:make, :rebar3], [], "hexpm", "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5"},
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.7", "354c321cf377240c7b8716899e182ce4890c5938111a1296add3ec74cf1715df", [:make, :mix, :rebar3], [], "hexpm", "fe4c190e8f37401d30167c8c405eda19469f34577987c76dde613e838bbc67f8"},
- "swoosh": {:hex, :swoosh, "1.16.10", "04be6e2eb1a31aa0aa21a731175c81cc3998189456a92daf13d44a5c754afcf5", [:mix], [{:bandit, ">= 1.0.0", [hex: :bandit, repo: "hexpm", optional: true]}, {:cowboy, "~> 1.1 or ~> 2.4", [hex: :cowboy, repo: "hexpm", optional: true]}, {:ex_aws, "~> 2.1", [hex: :ex_aws, repo: "hexpm", optional: true]}, {:finch, "~> 0.6", [hex: :finch, repo: "hexpm", optional: true]}, {:gen_smtp, "~> 0.13 or ~> 1.0", [hex: :gen_smtp, repo: "hexpm", optional: true]}, {:hackney, "~> 1.9", [hex: :hackney, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:mail, "~> 0.2", [hex: :mail, repo: "hexpm", optional: true]}, {:mime, "~> 1.1 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mua, "~> 0.2.3", [hex: :mua, repo: "hexpm", optional: true]}, {:multipart, "~> 0.4", [hex: :multipart, repo: "hexpm", optional: true]}, {:plug, "~> 1.9", [hex: :plug, repo: "hexpm", optional: true]}, {:plug_cowboy, ">= 1.0.0", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:req, "~> 0.5 or ~> 1.0", [hex: :req, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.2 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "756be04db173c0cbe318f1dfe2bcc88aa63aed78cf5a4b02b61b36ee11fc716a"},
- "telemetry": {:hex, :telemetry, "1.2.1", "68fdfe8d8f05a8428483a97d7aab2f268aaff24b49e0f599faa091f1d4e7f61c", [:rebar3], [], "hexpm", "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"},
+ "swoosh": {:hex, :swoosh, "1.17.2", "73611f08fc7cb9fa15f4909db36eeb12b70727d5c8b6a7fa0d4a31c6575db29e", [:mix], [{:bandit, ">= 1.0.0", [hex: :bandit, repo: "hexpm", optional: true]}, {:cowboy, "~> 1.1 or ~> 2.4", [hex: :cowboy, repo: "hexpm", optional: true]}, {:ex_aws, "~> 2.1", [hex: :ex_aws, repo: "hexpm", optional: true]}, {:finch, "~> 0.6", [hex: :finch, repo: "hexpm", optional: true]}, {:gen_smtp, "~> 0.13 or ~> 1.0", [hex: :gen_smtp, repo: "hexpm", optional: true]}, {:hackney, "~> 1.9", [hex: :hackney, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:mail, "~> 0.2", [hex: :mail, repo: "hexpm", optional: true]}, {:mime, "~> 1.1 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mua, "~> 0.2.3", [hex: :mua, repo: "hexpm", optional: true]}, {:multipart, "~> 0.4", [hex: :multipart, repo: "hexpm", optional: true]}, {:plug, "~> 1.9", [hex: :plug, repo: "hexpm", optional: true]}, {:plug_cowboy, ">= 1.0.0", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:req, "~> 0.5 or ~> 1.0", [hex: :req, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4.2 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "de914359f0ddc134dc0d7735e28922d49d0503f31e4bd66b44e26039c2226d39"},
+ "telemetry": {:hex, :telemetry, "1.3.0", "fedebbae410d715cf8e7062c96a1ef32ec22e764197f70cda73d82778d61e7a2", [:rebar3], [], "hexpm", "7015fc8919dbe63764f4b4b87a95b7c0996bd539e0d499be6ec9d7f3875b79e6"},
"telemetry_metrics": {:hex, :telemetry_metrics, "0.6.2", "2caabe9344ec17eafe5403304771c3539f3b6e2f7fb6a6f602558c825d0d0bfb", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "9b43db0dc33863930b9ef9d27137e78974756f5f198cae18409970ed6fa5b561"},
"telemetry_poller": {:hex, :telemetry_poller, "1.1.0", "58fa7c216257291caaf8d05678c8d01bd45f4bdbc1286838a28c4bb62ef32999", [:rebar3], [{:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "9eb9d9cbfd81cbd7cdd24682f8711b6e2b691289a0de6826e58452f28c103c8f"},
"unicode_util_compat": {:hex, :unicode_util_compat, "0.7.0", "bc84380c9ab48177092f43ac89e4dfa2c6d62b40b8bd132b1059ecc7232f9a78", [:rebar3], [], "hexpm", "25eee6d67df61960cf6a794239566599b09e17e668d3700247bc498638152521"},
diff --git a/priv/static/_assets/app.js b/priv/static/_assets/app.js
index ad0cda5..e985f9b 100644
--- a/priv/static/_assets/app.js
+++ b/priv/static/_assets/app.js
@@ -49,17 +49,17 @@
// node_modules/jquery/dist/jquery.js
var require_jquery = __commonJS({
"node_modules/jquery/dist/jquery.js"(exports, module) {
- (function(global3, factory) {
+ (function(global2, factory) {
"use strict";
if (typeof module === "object" && typeof module.exports === "object") {
- module.exports = global3.document ? factory(global3, true) : function(w) {
+ module.exports = global2.document ? factory(global2, true) : function(w) {
if (!w.document) {
throw new Error("jQuery requires a window with a document");
}
return factory(w);
};
} else {
- factory(global3);
+ factory(global2);
}
})(typeof window !== "undefined" ? window : exports, function(window2, noGlobal) {
"use strict";
@@ -6396,1452 +6396,50832 @@
}
});
- // node_modules/prismjs/prism.js
- var require_prism = __commonJS({
- "node_modules/prismjs/prism.js"(exports, module) {
- var _self = typeof window !== "undefined" ? window : typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope ? self : {};
- var Prism = function(_self2) {
- var lang = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i;
- var uniqueId = 0;
- var plainTextGrammar = {};
- var _ = {
- /**
- * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
- * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
- * additional languages or plugins yourself.
- *
- * By setting this value to `true`, Prism will not automatically highlight all code elements on the page.
- *
- * You obviously have to change this value before the automatic highlighting started. To do this, you can add an
- * empty Prism object into the global scope before loading the Prism script like this:
- *
- * ```js
- * window.Prism = window.Prism || {};
- * Prism.manual = true;
- * // add a new <script> to load Prism's script
- * ```
- *
- * @default false
- * @type {boolean}
- * @memberof Prism
- * @public
- */
- manual: _self2.Prism && _self2.Prism.manual,
- /**
- * By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses
- * `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your
- * own worker, you don't want it to do this.
- *
- * By setting this value to `true`, Prism will not add its own listeners to the worker.
- *
- * You obviously have to change this value before Prism executes. To do this, you can add an
- * empty Prism object into the global scope before loading the Prism script like this:
- *
- * ```js
- * window.Prism = window.Prism || {};
- * Prism.disableWorkerMessageHandler = true;
- * // Load Prism's script
- * ```
- *
- * @default false
- * @type {boolean}
- * @memberof Prism
- * @public
- */
- disableWorkerMessageHandler: _self2.Prism && _self2.Prism.disableWorkerMessageHandler,
- /**
- * A namespace for utility methods.
- *
- * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may
- * change or disappear at any time.
- *
- * @namespace
- * @memberof Prism
- */
- util: {
- encode: function encode(tokens) {
- if (tokens instanceof Token) {
- return new Token(tokens.type, encode(tokens.content), tokens.alias);
- } else if (Array.isArray(tokens)) {
- return tokens.map(encode);
+ // node_modules/highlight.js/lib/core.js
+ var require_core = __commonJS({
+ "node_modules/highlight.js/lib/core.js"(exports, module) {
+ function deepFreeze(obj) {
+ if (obj instanceof Map) {
+ obj.clear = obj.delete = obj.set = function() {
+ throw new Error("map is read-only");
+ };
+ } else if (obj instanceof Set) {
+ obj.add = obj.clear = obj.delete = function() {
+ throw new Error("set is read-only");
+ };
+ }
+ Object.freeze(obj);
+ Object.getOwnPropertyNames(obj).forEach((name) => {
+ const prop = obj[name];
+ const type = typeof prop;
+ if ((type === "object" || type === "function") && !Object.isFrozen(prop)) {
+ deepFreeze(prop);
+ }
+ });
+ return obj;
+ }
+ var Response = class {
+ /**
+ * @param {CompiledMode} mode
+ */
+ constructor(mode) {
+ if (mode.data === void 0) mode.data = {};
+ this.data = mode.data;
+ this.isMatchIgnored = false;
+ }
+ ignoreMatch() {
+ this.isMatchIgnored = true;
+ }
+ };
+ function escapeHTML(value) {
+ return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
+ }
+ function inherit$1(original, ...objects) {
+ const result = /* @__PURE__ */ Object.create(null);
+ for (const key in original) {
+ result[key] = original[key];
+ }
+ objects.forEach(function(obj) {
+ for (const key in obj) {
+ result[key] = obj[key];
+ }
+ });
+ return (
+ /** @type {T} */
+ result
+ );
+ }
+ var SPAN_CLOSE = "</span>";
+ var emitsWrappingTags = (node) => {
+ return !!node.scope;
+ };
+ var scopeToCSSClass = (name, { prefix }) => {
+ if (name.startsWith("language:")) {
+ return name.replace("language:", "language-");
+ }
+ if (name.includes(".")) {
+ const pieces = name.split(".");
+ return [
+ `${prefix}${pieces.shift()}`,
+ ...pieces.map((x, i) => `${x}${"_".repeat(i + 1)}`)
+ ].join(" ");
+ }
+ return `${prefix}${name}`;
+ };
+ var HTMLRenderer = class {
+ /**
+ * Creates a new HTMLRenderer
+ *
+ * @param {Tree} parseTree - the parse tree (must support `walk` API)
+ * @param {{classPrefix: string}} options
+ */
+ constructor(parseTree, options) {
+ this.buffer = "";
+ this.classPrefix = options.classPrefix;
+ parseTree.walk(this);
+ }
+ /**
+ * Adds texts to the output stream
+ *
+ * @param {string} text */
+ addText(text) {
+ this.buffer += escapeHTML(text);
+ }
+ /**
+ * Adds a node open to the output stream (if needed)
+ *
+ * @param {Node} node */
+ openNode(node) {
+ if (!emitsWrappingTags(node)) return;
+ const className = scopeToCSSClass(
+ node.scope,
+ { prefix: this.classPrefix }
+ );
+ this.span(className);
+ }
+ /**
+ * Adds a node close to the output stream (if needed)
+ *
+ * @param {Node} node */
+ closeNode(node) {
+ if (!emitsWrappingTags(node)) return;
+ this.buffer += SPAN_CLOSE;
+ }
+ /**
+ * returns the accumulated buffer
+ */
+ value() {
+ return this.buffer;
+ }
+ // helpers
+ /**
+ * Builds a span element
+ *
+ * @param {string} className */
+ span(className) {
+ this.buffer += `<span class="${className}">`;
+ }
+ };
+ var newNode = (opts = {}) => {
+ const result = { children: [] };
+ Object.assign(result, opts);
+ return result;
+ };
+ var TokenTree = class _TokenTree {
+ constructor() {
+ this.rootNode = newNode();
+ this.stack = [this.rootNode];
+ }
+ get top() {
+ return this.stack[this.stack.length - 1];
+ }
+ get root() {
+ return this.rootNode;
+ }
+ /** @param {Node} node */
+ add(node) {
+ this.top.children.push(node);
+ }
+ /** @param {string} scope */
+ openNode(scope) {
+ const node = newNode({ scope });
+ this.add(node);
+ this.stack.push(node);
+ }
+ closeNode() {
+ if (this.stack.length > 1) {
+ return this.stack.pop();
+ }
+ return void 0;
+ }
+ closeAllNodes() {
+ while (this.closeNode()) ;
+ }
+ toJSON() {
+ return JSON.stringify(this.rootNode, null, 4);
+ }
+ /**
+ * @typedef { import("./html_renderer").Renderer } Renderer
+ * @param {Renderer} builder
+ */
+ walk(builder) {
+ return this.constructor._walk(builder, this.rootNode);
+ }
+ /**
+ * @param {Renderer} builder
+ * @param {Node} node
+ */
+ static _walk(builder, node) {
+ if (typeof node === "string") {
+ builder.addText(node);
+ } else if (node.children) {
+ builder.openNode(node);
+ node.children.forEach((child) => this._walk(builder, child));
+ builder.closeNode(node);
+ }
+ return builder;
+ }
+ /**
+ * @param {Node} node
+ */
+ static _collapse(node) {
+ if (typeof node === "string") return;
+ if (!node.children) return;
+ if (node.children.every((el) => typeof el === "string")) {
+ node.children = [node.children.join("")];
+ } else {
+ node.children.forEach((child) => {
+ _TokenTree._collapse(child);
+ });
+ }
+ }
+ };
+ var TokenTreeEmitter = class extends TokenTree {
+ /**
+ * @param {*} options
+ */
+ constructor(options) {
+ super();
+ this.options = options;
+ }
+ /**
+ * @param {string} text
+ */
+ addText(text) {
+ if (text === "") {
+ return;
+ }
+ this.add(text);
+ }
+ /** @param {string} scope */
+ startScope(scope) {
+ this.openNode(scope);
+ }
+ endScope() {
+ this.closeNode();
+ }
+ /**
+ * @param {Emitter & {root: DataNode}} emitter
+ * @param {string} name
+ */
+ __addSublanguage(emitter, name) {
+ const node = emitter.root;
+ if (name) node.scope = `language:${name}`;
+ this.add(node);
+ }
+ toHTML() {
+ const renderer = new HTMLRenderer(this, this.options);
+ return renderer.value();
+ }
+ finalize() {
+ this.closeAllNodes();
+ return true;
+ }
+ };
+ function source(re) {
+ if (!re) return null;
+ if (typeof re === "string") return re;
+ return re.source;
+ }
+ function lookahead(re) {
+ return concat("(?=", re, ")");
+ }
+ function anyNumberOfTimes(re) {
+ return concat("(?:", re, ")*");
+ }
+ function optional(re) {
+ return concat("(?:", re, ")?");
+ }
+ function concat(...args) {
+ const joined = args.map((x) => source(x)).join("");
+ return joined;
+ }
+ function stripOptionsFromArgs(args) {
+ const opts = args[args.length - 1];
+ if (typeof opts === "object" && opts.constructor === Object) {
+ args.splice(args.length - 1, 1);
+ return opts;
+ } else {
+ return {};
+ }
+ }
+ function either(...args) {
+ const opts = stripOptionsFromArgs(args);
+ const joined = "(" + (opts.capture ? "" : "?:") + args.map((x) => source(x)).join("|") + ")";
+ return joined;
+ }
+ function countMatchGroups(re) {
+ return new RegExp(re.toString() + "|").exec("").length - 1;
+ }
+ function startsWith(re, lexeme) {
+ const match = re && re.exec(lexeme);
+ return match && match.index === 0;
+ }
+ var BACKREF_RE = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
+ function _rewriteBackreferences(regexps, { joinWith }) {
+ let numCaptures = 0;
+ return regexps.map((regex) => {
+ numCaptures += 1;
+ const offset2 = numCaptures;
+ let re = source(regex);
+ let out = "";
+ while (re.length > 0) {
+ const match = BACKREF_RE.exec(re);
+ if (!match) {
+ out += re;
+ break;
+ }
+ out += re.substring(0, match.index);
+ re = re.substring(match.index + match[0].length);
+ if (match[0][0] === "\\" && match[1]) {
+ out += "\\" + String(Number(match[1]) + offset2);
+ } else {
+ out += match[0];
+ if (match[0] === "(") {
+ numCaptures++;
+ }
+ }
+ }
+ return out;
+ }).map((re) => `(${re})`).join(joinWith);
+ }
+ var MATCH_NOTHING_RE = /\b\B/;
+ var IDENT_RE = "[a-zA-Z]\\w*";
+ var UNDERSCORE_IDENT_RE = "[a-zA-Z_]\\w*";
+ var NUMBER_RE = "\\b\\d+(\\.\\d+)?";
+ var C_NUMBER_RE = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";
+ var BINARY_NUMBER_RE = "\\b(0b[01]+)";
+ var RE_STARTERS_RE = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";
+ var SHEBANG = (opts = {}) => {
+ const beginShebang = /^#![ ]*\//;
+ if (opts.binary) {
+ opts.begin = concat(
+ beginShebang,
+ /.*\b/,
+ opts.binary,
+ /\b.*/
+ );
+ }
+ return inherit$1({
+ scope: "meta",
+ begin: beginShebang,
+ end: /$/,
+ relevance: 0,
+ /** @type {ModeCallback} */
+ "on:begin": (m, resp) => {
+ if (m.index !== 0) resp.ignoreMatch();
+ }
+ }, opts);
+ };
+ var BACKSLASH_ESCAPE = {
+ begin: "\\\\[\\s\\S]",
+ relevance: 0
+ };
+ var APOS_STRING_MODE = {
+ scope: "string",
+ begin: "'",
+ end: "'",
+ illegal: "\\n",
+ contains: [BACKSLASH_ESCAPE]
+ };
+ var QUOTE_STRING_MODE = {
+ scope: "string",
+ begin: '"',
+ end: '"',
+ illegal: "\\n",
+ contains: [BACKSLASH_ESCAPE]
+ };
+ var PHRASAL_WORDS_MODE = {
+ begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
+ };
+ var COMMENT = function(begin, end2, modeOptions = {}) {
+ const mode = inherit$1(
+ {
+ scope: "comment",
+ begin,
+ end: end2,
+ contains: []
+ },
+ modeOptions
+ );
+ mode.contains.push({
+ scope: "doctag",
+ // hack to avoid the space from being included. the space is necessary to
+ // match here to prevent the plain text rule below from gobbling up doctags
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
+ end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,
+ excludeBegin: true,
+ relevance: 0
+ });
+ const ENGLISH_WORD = either(
+ // list of common 1 and 2 letter words in English
+ "I",
+ "a",
+ "is",
+ "so",
+ "us",
+ "to",
+ "at",
+ "if",
+ "in",
+ "it",
+ "on",
+ // note: this is not an exhaustive list of contractions, just popular ones
+ /[A-Za-z]+['](d|ve|re|ll|t|s|n)/,
+ // contractions - can't we'd they're let's, etc
+ /[A-Za-z]+[-][a-z]+/,
+ // `no-way`, etc.
+ /[A-Za-z][a-z]{2,}/
+ // allow capitalized words at beginning of sentences
+ );
+ mode.contains.push(
+ {
+ // TODO: how to include ", (, ) without breaking grammars that use these for
+ // comment delimiters?
+ // begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/
+ // ---
+ // this tries to find sequences of 3 english words in a row (without any
+ // "programming" type syntax) this gives us a strong signal that we've
+ // TRULY found a comment - vs perhaps scanning with the wrong language.
+ // It's possible to find something that LOOKS like the start of the
+ // comment - but then if there is no readable text - good chance it is a
+ // false match and not a comment.
+ //
+ // for a visual example please see:
+ // https://github.com/highlightjs/highlight.js/issues/2827
+ begin: concat(
+ /[ ]+/,
+ // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
+ "(",
+ ENGLISH_WORD,
+ /[.]?[:]?([.][ ]|[ ])/,
+ "){3}"
+ )
+ // look for 3 words in a row
+ }
+ );
+ return mode;
+ };
+ var C_LINE_COMMENT_MODE = COMMENT("//", "$");
+ var C_BLOCK_COMMENT_MODE = COMMENT("/\\*", "\\*/");
+ var HASH_COMMENT_MODE = COMMENT("#", "$");
+ var NUMBER_MODE = {
+ scope: "number",
+ begin: NUMBER_RE,
+ relevance: 0
+ };
+ var C_NUMBER_MODE = {
+ scope: "number",
+ begin: C_NUMBER_RE,
+ relevance: 0
+ };
+ var BINARY_NUMBER_MODE = {
+ scope: "number",
+ begin: BINARY_NUMBER_RE,
+ relevance: 0
+ };
+ var REGEXP_MODE = {
+ scope: "regexp",
+ begin: /\/(?=[^/\n]*\/)/,
+ end: /\/[gimuy]*/,
+ contains: [
+ BACKSLASH_ESCAPE,
+ {
+ begin: /\[/,
+ end: /\]/,
+ relevance: 0,
+ contains: [BACKSLASH_ESCAPE]
+ }
+ ]
+ };
+ var TITLE_MODE = {
+ scope: "title",
+ begin: IDENT_RE,
+ relevance: 0
+ };
+ var UNDERSCORE_TITLE_MODE = {
+ scope: "title",
+ begin: UNDERSCORE_IDENT_RE,
+ relevance: 0
+ };
+ var METHOD_GUARD = {
+ // excludes method names from keyword processing
+ begin: "\\.\\s*" + UNDERSCORE_IDENT_RE,
+ relevance: 0
+ };
+ var END_SAME_AS_BEGIN = function(mode) {
+ return Object.assign(
+ mode,
+ {
+ /** @type {ModeCallback} */
+ "on:begin": (m, resp) => {
+ resp.data._beginMatch = m[1];
+ },
+ /** @type {ModeCallback} */
+ "on:end": (m, resp) => {
+ if (resp.data._beginMatch !== m[1]) resp.ignoreMatch();
+ }
+ }
+ );
+ };
+ var MODES = /* @__PURE__ */ Object.freeze({
+ __proto__: null,
+ APOS_STRING_MODE,
+ BACKSLASH_ESCAPE,
+ BINARY_NUMBER_MODE,
+ BINARY_NUMBER_RE,
+ COMMENT,
+ C_BLOCK_COMMENT_MODE,
+ C_LINE_COMMENT_MODE,
+ C_NUMBER_MODE,
+ C_NUMBER_RE,
+ END_SAME_AS_BEGIN,
+ HASH_COMMENT_MODE,
+ IDENT_RE,
+ MATCH_NOTHING_RE,
+ METHOD_GUARD,
+ NUMBER_MODE,
+ NUMBER_RE,
+ PHRASAL_WORDS_MODE,
+ QUOTE_STRING_MODE,
+ REGEXP_MODE,
+ RE_STARTERS_RE,
+ SHEBANG,
+ TITLE_MODE,
+ UNDERSCORE_IDENT_RE,
+ UNDERSCORE_TITLE_MODE
+ });
+ function skipIfHasPrecedingDot(match, response) {
+ const before = match.input[match.index - 1];
+ if (before === ".") {
+ response.ignoreMatch();
+ }
+ }
+ function scopeClassName(mode, _parent) {
+ if (mode.className !== void 0) {
+ mode.scope = mode.className;
+ delete mode.className;
+ }
+ }
+ function beginKeywords(mode, parent) {
+ if (!parent) return;
+ if (!mode.beginKeywords) return;
+ mode.begin = "\\b(" + mode.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)";
+ mode.__beforeBegin = skipIfHasPrecedingDot;
+ mode.keywords = mode.keywords || mode.beginKeywords;
+ delete mode.beginKeywords;
+ if (mode.relevance === void 0) mode.relevance = 0;
+ }
+ function compileIllegal(mode, _parent) {
+ if (!Array.isArray(mode.illegal)) return;
+ mode.illegal = either(...mode.illegal);
+ }
+ function compileMatch(mode, _parent) {
+ if (!mode.match) return;
+ if (mode.begin || mode.end) throw new Error("begin & end are not supported with match");
+ mode.begin = mode.match;
+ delete mode.match;
+ }
+ function compileRelevance(mode, _parent) {
+ if (mode.relevance === void 0) mode.relevance = 1;
+ }
+ var beforeMatchExt = (mode, parent) => {
+ if (!mode.beforeMatch) return;
+ if (mode.starts) throw new Error("beforeMatch cannot be used with starts");
+ const originalMode = Object.assign({}, mode);
+ Object.keys(mode).forEach((key) => {
+ delete mode[key];
+ });
+ mode.keywords = originalMode.keywords;
+ mode.begin = concat(originalMode.beforeMatch, lookahead(originalMode.begin));
+ mode.starts = {
+ relevance: 0,
+ contains: [
+ Object.assign(originalMode, { endsParent: true })
+ ]
+ };
+ mode.relevance = 0;
+ delete originalMode.beforeMatch;
+ };
+ var COMMON_KEYWORDS = [
+ "of",
+ "and",
+ "for",
+ "in",
+ "not",
+ "or",
+ "if",
+ "then",
+ "parent",
+ // common variable name
+ "list",
+ // common variable name
+ "value"
+ // common variable name
+ ];
+ var DEFAULT_KEYWORD_SCOPE = "keyword";
+ function compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAULT_KEYWORD_SCOPE) {
+ const compiledKeywords = /* @__PURE__ */ Object.create(null);
+ if (typeof rawKeywords === "string") {
+ compileList(scopeName, rawKeywords.split(" "));
+ } else if (Array.isArray(rawKeywords)) {
+ compileList(scopeName, rawKeywords);
+ } else {
+ Object.keys(rawKeywords).forEach(function(scopeName2) {
+ Object.assign(
+ compiledKeywords,
+ compileKeywords(rawKeywords[scopeName2], caseInsensitive, scopeName2)
+ );
+ });
+ }
+ return compiledKeywords;
+ function compileList(scopeName2, keywordList) {
+ if (caseInsensitive) {
+ keywordList = keywordList.map((x) => x.toLowerCase());
+ }
+ keywordList.forEach(function(keyword) {
+ const pair = keyword.split("|");
+ compiledKeywords[pair[0]] = [scopeName2, scoreForKeyword(pair[0], pair[1])];
+ });
+ }
+ }
+ function scoreForKeyword(keyword, providedScore) {
+ if (providedScore) {
+ return Number(providedScore);
+ }
+ return commonKeyword(keyword) ? 0 : 1;
+ }
+ function commonKeyword(keyword) {
+ return COMMON_KEYWORDS.includes(keyword.toLowerCase());
+ }
+ var seenDeprecations = {};
+ var error = (message) => {
+ console.error(message);
+ };
+ var warn = (message, ...args) => {
+ console.log(`WARN: ${message}`, ...args);
+ };
+ var deprecated = (version2, message) => {
+ if (seenDeprecations[`${version2}/${message}`]) return;
+ console.log(`Deprecated as of ${version2}. ${message}`);
+ seenDeprecations[`${version2}/${message}`] = true;
+ };
+ var MultiClassError = new Error();
+ function remapScopeNames(mode, regexes, { key }) {
+ let offset2 = 0;
+ const scopeNames = mode[key];
+ const emit = {};
+ const positions = {};
+ for (let i = 1; i <= regexes.length; i++) {
+ positions[i + offset2] = scopeNames[i];
+ emit[i + offset2] = true;
+ offset2 += countMatchGroups(regexes[i - 1]);
+ }
+ mode[key] = positions;
+ mode[key]._emit = emit;
+ mode[key]._multi = true;
+ }
+ function beginMultiClass(mode) {
+ if (!Array.isArray(mode.begin)) return;
+ if (mode.skip || mode.excludeBegin || mode.returnBegin) {
+ error("skip, excludeBegin, returnBegin not compatible with beginScope: {}");
+ throw MultiClassError;
+ }
+ if (typeof mode.beginScope !== "object" || mode.beginScope === null) {
+ error("beginScope must be object");
+ throw MultiClassError;
+ }
+ remapScopeNames(mode, mode.begin, { key: "beginScope" });
+ mode.begin = _rewriteBackreferences(mode.begin, { joinWith: "" });
+ }
+ function endMultiClass(mode) {
+ if (!Array.isArray(mode.end)) return;
+ if (mode.skip || mode.excludeEnd || mode.returnEnd) {
+ error("skip, excludeEnd, returnEnd not compatible with endScope: {}");
+ throw MultiClassError;
+ }
+ if (typeof mode.endScope !== "object" || mode.endScope === null) {
+ error("endScope must be object");
+ throw MultiClassError;
+ }
+ remapScopeNames(mode, mode.end, { key: "endScope" });
+ mode.end = _rewriteBackreferences(mode.end, { joinWith: "" });
+ }
+ function scopeSugar(mode) {
+ if (mode.scope && typeof mode.scope === "object" && mode.scope !== null) {
+ mode.beginScope = mode.scope;
+ delete mode.scope;
+ }
+ }
+ function MultiClass(mode) {
+ scopeSugar(mode);
+ if (typeof mode.beginScope === "string") {
+ mode.beginScope = { _wrap: mode.beginScope };
+ }
+ if (typeof mode.endScope === "string") {
+ mode.endScope = { _wrap: mode.endScope };
+ }
+ beginMultiClass(mode);
+ endMultiClass(mode);
+ }
+ function compileLanguage(language) {
+ function langRe(value, global2) {
+ return new RegExp(
+ source(value),
+ "m" + (language.case_insensitive ? "i" : "") + (language.unicodeRegex ? "u" : "") + (global2 ? "g" : "")
+ );
+ }
+ class MultiRegex {
+ constructor() {
+ this.matchIndexes = {};
+ this.regexes = [];
+ this.matchAt = 1;
+ this.position = 0;
+ }
+ // @ts-ignore
+ addRule(re, opts) {
+ opts.position = this.position++;
+ this.matchIndexes[this.matchAt] = opts;
+ this.regexes.push([opts, re]);
+ this.matchAt += countMatchGroups(re) + 1;
+ }
+ compile() {
+ if (this.regexes.length === 0) {
+ this.exec = () => null;
+ }
+ const terminators = this.regexes.map((el) => el[1]);
+ this.matcherRe = langRe(_rewriteBackreferences(terminators, { joinWith: "|" }), true);
+ this.lastIndex = 0;
+ }
+ /** @param {string} s */
+ exec(s) {
+ this.matcherRe.lastIndex = this.lastIndex;
+ const match = this.matcherRe.exec(s);
+ if (!match) {
+ return null;
+ }
+ const i = match.findIndex((el, i2) => i2 > 0 && el !== void 0);
+ const matchData = this.matchIndexes[i];
+ match.splice(0, i);
+ return Object.assign(match, matchData);
+ }
+ }
+ class ResumableMultiRegex {
+ constructor() {
+ this.rules = [];
+ this.multiRegexes = [];
+ this.count = 0;
+ this.lastIndex = 0;
+ this.regexIndex = 0;
+ }
+ // @ts-ignore
+ getMatcher(index) {
+ if (this.multiRegexes[index]) return this.multiRegexes[index];
+ const matcher = new MultiRegex();
+ this.rules.slice(index).forEach(([re, opts]) => matcher.addRule(re, opts));
+ matcher.compile();
+ this.multiRegexes[index] = matcher;
+ return matcher;
+ }
+ resumingScanAtSamePosition() {
+ return this.regexIndex !== 0;
+ }
+ considerAll() {
+ this.regexIndex = 0;
+ }
+ // @ts-ignore
+ addRule(re, opts) {
+ this.rules.push([re, opts]);
+ if (opts.type === "begin") this.count++;
+ }
+ /** @param {string} s */
+ exec(s) {
+ const m = this.getMatcher(this.regexIndex);
+ m.lastIndex = this.lastIndex;
+ let result = m.exec(s);
+ if (this.resumingScanAtSamePosition()) {
+ if (result && result.index === this.lastIndex) ;
+ else {
+ const m2 = this.getMatcher(0);
+ m2.lastIndex = this.lastIndex + 1;
+ result = m2.exec(s);
+ }
+ }
+ if (result) {
+ this.regexIndex += result.position + 1;
+ if (this.regexIndex === this.count) {
+ this.considerAll();
+ }
+ }
+ return result;
+ }
+ }
+ function buildModeRegex(mode) {
+ const mm = new ResumableMultiRegex();
+ mode.contains.forEach((term) => mm.addRule(term.begin, { rule: term, type: "begin" }));
+ if (mode.terminatorEnd) {
+ mm.addRule(mode.terminatorEnd, { type: "end" });
+ }
+ if (mode.illegal) {
+ mm.addRule(mode.illegal, { type: "illegal" });
+ }
+ return mm;
+ }
+ function compileMode(mode, parent) {
+ const cmode = (
+ /** @type CompiledMode */
+ mode
+ );
+ if (mode.isCompiled) return cmode;
+ [
+ scopeClassName,
+ // do this early so compiler extensions generally don't have to worry about
+ // the distinction between match/begin
+ compileMatch,
+ MultiClass,
+ beforeMatchExt
+ ].forEach((ext) => ext(mode, parent));
+ language.compilerExtensions.forEach((ext) => ext(mode, parent));
+ mode.__beforeBegin = null;
+ [
+ beginKeywords,
+ // do this later so compiler extensions that come earlier have access to the
+ // raw array if they wanted to perhaps manipulate it, etc.
+ compileIllegal,
+ // default to 1 relevance if not specified
+ compileRelevance
+ ].forEach((ext) => ext(mode, parent));
+ mode.isCompiled = true;
+ let keywordPattern = null;
+ if (typeof mode.keywords === "object" && mode.keywords.$pattern) {
+ mode.keywords = Object.assign({}, mode.keywords);
+ keywordPattern = mode.keywords.$pattern;
+ delete mode.keywords.$pattern;
+ }
+ keywordPattern = keywordPattern || /\w+/;
+ if (mode.keywords) {
+ mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);
+ }
+ cmode.keywordPatternRe = langRe(keywordPattern, true);
+ if (parent) {
+ if (!mode.begin) mode.begin = /\B|\b/;
+ cmode.beginRe = langRe(cmode.begin);
+ if (!mode.end && !mode.endsWithParent) mode.end = /\B|\b/;
+ if (mode.end) cmode.endRe = langRe(cmode.end);
+ cmode.terminatorEnd = source(cmode.end) || "";
+ if (mode.endsWithParent && parent.terminatorEnd) {
+ cmode.terminatorEnd += (mode.end ? "|" : "") + parent.terminatorEnd;
+ }
+ }
+ if (mode.illegal) cmode.illegalRe = langRe(
+ /** @type {RegExp | string} */
+ mode.illegal
+ );
+ if (!mode.contains) mode.contains = [];
+ mode.contains = [].concat(...mode.contains.map(function(c) {
+ return expandOrCloneMode(c === "self" ? mode : c);
+ }));
+ mode.contains.forEach(function(c) {
+ compileMode(
+ /** @type Mode */
+ c,
+ cmode
+ );
+ });
+ if (mode.starts) {
+ compileMode(mode.starts, parent);
+ }
+ cmode.matcher = buildModeRegex(cmode);
+ return cmode;
+ }
+ if (!language.compilerExtensions) language.compilerExtensions = [];
+ if (language.contains && language.contains.includes("self")) {
+ throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
+ }
+ language.classNameAliases = inherit$1(language.classNameAliases || {});
+ return compileMode(
+ /** @type Mode */
+ language
+ );
+ }
+ function dependencyOnParent(mode) {
+ if (!mode) return false;
+ return mode.endsWithParent || dependencyOnParent(mode.starts);
+ }
+ function expandOrCloneMode(mode) {
+ if (mode.variants && !mode.cachedVariants) {
+ mode.cachedVariants = mode.variants.map(function(variant) {
+ return inherit$1(mode, { variants: null }, variant);
+ });
+ }
+ if (mode.cachedVariants) {
+ return mode.cachedVariants;
+ }
+ if (dependencyOnParent(mode)) {
+ return inherit$1(mode, { starts: mode.starts ? inherit$1(mode.starts) : null });
+ }
+ if (Object.isFrozen(mode)) {
+ return inherit$1(mode);
+ }
+ return mode;
+ }
+ var version = "11.10.0";
+ var HTMLInjectionError = class extends Error {
+ constructor(reason, html) {
+ super(reason);
+ this.name = "HTMLInjectionError";
+ this.html = html;
+ }
+ };
+ var escape = escapeHTML;
+ var inherit = inherit$1;
+ var NO_MATCH = Symbol("nomatch");
+ var MAX_KEYWORD_HITS = 7;
+ var HLJS = function(hljs) {
+ const languages = /* @__PURE__ */ Object.create(null);
+ const aliases = /* @__PURE__ */ Object.create(null);
+ const plugins = [];
+ let SAFE_MODE = true;
+ const LANGUAGE_NOT_FOUND = "Could not find the language '{}', did you forget to load/include a language module?";
+ const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: "Plain text", contains: [] };
+ let options = {
+ ignoreUnescapedHTML: false,
+ throwUnescapedHTML: false,
+ noHighlightRe: /^(no-?highlight)$/i,
+ languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
+ classPrefix: "hljs-",
+ cssSelector: "pre code",
+ languages: null,
+ // beta configuration options, subject to change, welcome to discuss
+ // https://github.com/highlightjs/highlight.js/issues/1086
+ __emitter: TokenTreeEmitter
+ };
+ function shouldNotHighlight(languageName) {
+ return options.noHighlightRe.test(languageName);
+ }
+ function blockLanguage(block) {
+ let classes = block.className + " ";
+ classes += block.parentNode ? block.parentNode.className : "";
+ const match = options.languageDetectRe.exec(classes);
+ if (match) {
+ const language = getLanguage(match[1]);
+ if (!language) {
+ warn(LANGUAGE_NOT_FOUND.replace("{}", match[1]));
+ warn("Falling back to no-highlight mode for this block.", block);
+ }
+ return language ? match[1] : "no-highlight";
+ }
+ return classes.split(/\s+/).find((_class) => shouldNotHighlight(_class) || getLanguage(_class));
+ }
+ function highlight2(codeOrLanguageName, optionsOrCode, ignoreIllegals) {
+ let code = "";
+ let languageName = "";
+ if (typeof optionsOrCode === "object") {
+ code = codeOrLanguageName;
+ ignoreIllegals = optionsOrCode.ignoreIllegals;
+ languageName = optionsOrCode.language;
+ } else {
+ deprecated("10.7.0", "highlight(lang, code, ...args) has been deprecated.");
+ deprecated("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277");
+ languageName = codeOrLanguageName;
+ code = optionsOrCode;
+ }
+ if (ignoreIllegals === void 0) {
+ ignoreIllegals = true;
+ }
+ const context = {
+ code,
+ language: languageName
+ };
+ fire("before:highlight", context);
+ const result = context.result ? context.result : _highlight(context.language, context.code, ignoreIllegals);
+ result.code = context.code;
+ fire("after:highlight", result);
+ return result;
+ }
+ function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {
+ const keywordHits = /* @__PURE__ */ Object.create(null);
+ function keywordData(mode, matchText) {
+ return mode.keywords[matchText];
+ }
+ function processKeywords() {
+ if (!top2.keywords) {
+ emitter.addText(modeBuffer);
+ return;
+ }
+ let lastIndex = 0;
+ top2.keywordPatternRe.lastIndex = 0;
+ let match = top2.keywordPatternRe.exec(modeBuffer);
+ let buf = "";
+ while (match) {
+ buf += modeBuffer.substring(lastIndex, match.index);
+ const word = language.case_insensitive ? match[0].toLowerCase() : match[0];
+ const data = keywordData(top2, word);
+ if (data) {
+ const [kind, keywordRelevance] = data;
+ emitter.addText(buf);
+ buf = "";
+ keywordHits[word] = (keywordHits[word] || 0) + 1;
+ if (keywordHits[word] <= MAX_KEYWORD_HITS) relevance += keywordRelevance;
+ if (kind.startsWith("_")) {
+ buf += match[0];
+ } else {
+ const cssClass = language.classNameAliases[kind] || kind;
+ emitKeyword(match[0], cssClass);
+ }
} else {
- return tokens.replace(/&/g, "&").replace(/</g, "<").replace(/\u00a0/g, " ");
- }
- },
- /**
- * Returns the name of the type of the given value.
- *
- * @param {any} o
- * @returns {string}
- * @example
- * type(null) === 'Null'
- * type(undefined) === 'Undefined'
- * type(123) === 'Number'
- * type('foo') === 'String'
- * type(true) === 'Boolean'
- * type([1, 2]) === 'Array'
- * type({}) === 'Object'
- * type(String) === 'Function'
- * type(/abc+/) === 'RegExp'
- */
- type: function(o) {
- return Object.prototype.toString.call(o).slice(8, -1);
- },
- /**
- * Returns a unique number for the given object. Later calls will still return the same number.
- *
- * @param {Object} obj
- * @returns {number}
- */
- objId: function(obj) {
- if (!obj["__id"]) {
- Object.defineProperty(obj, "__id", { value: ++uniqueId });
- }
- return obj["__id"];
- },
- /**
- * Creates a deep clone of the given object.
- *
- * The main intended use of this function is to clone language definitions.
- *
- * @param {T} o
- * @param {Record<number, any>} [visited]
- * @returns {T}
- * @template T
- */
- clone: function deepClone(o, visited) {
- visited = visited || {};
- var clone2;
- var id;
- switch (_.util.type(o)) {
- case "Object":
- id = _.util.objId(o);
- if (visited[id]) {
- return visited[id];
- }
- clone2 = /** @type {Record<string, any>} */
- {};
- visited[id] = clone2;
- for (var key in o) {
- if (o.hasOwnProperty(key)) {
- clone2[key] = deepClone(o[key], visited);
- }
- }
- return (
- /** @type {any} */
- clone2
- );
- case "Array":
- id = _.util.objId(o);
- if (visited[id]) {
- return visited[id];
- }
- clone2 = [];
- visited[id] = clone2;
- /** @type {Array} */
- /** @type {any} */
- o.forEach(function(v, i) {
- clone2[i] = deepClone(v, visited);
- });
- return (
- /** @type {any} */
- clone2
- );
- default:
- return o;
- }
- },
- /**
- * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class.
- *
- * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned.
- *
- * @param {Element} element
- * @returns {string}
- */
- getLanguage: function(element) {
- while (element) {
- var m = lang.exec(element.className);
- if (m) {
- return m[1].toLowerCase();
- }
- element = element.parentElement;
- }
- return "none";
- },
- /**
- * Sets the Prism `language-xxxx` class of the given element.
- *
- * @param {Element} element
- * @param {string} language
- * @returns {void}
- */
- setLanguage: function(element, language) {
- element.className = element.className.replace(RegExp(lang, "gi"), "");
- element.classList.add("language-" + language);
- },
- /**
- * Returns the script element that is currently executing.
- *
- * This does __not__ work for line script element.
- *
- * @returns {HTMLScriptElement | null}
- */
- currentScript: function() {
- if (typeof document === "undefined") {
- return null;
+ buf += match[0];
}
- if ("currentScript" in document && 1 < 2) {
- return (
- /** @type {any} */
- document.currentScript
- );
+ lastIndex = top2.keywordPatternRe.lastIndex;
+ match = top2.keywordPatternRe.exec(modeBuffer);
+ }
+ buf += modeBuffer.substring(lastIndex);
+ emitter.addText(buf);
+ }
+ function processSubLanguage() {
+ if (modeBuffer === "") return;
+ let result2 = null;
+ if (typeof top2.subLanguage === "string") {
+ if (!languages[top2.subLanguage]) {
+ emitter.addText(modeBuffer);
+ return;
}
- try {
- throw new Error();
- } catch (err) {
- var src = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(err.stack) || [])[1];
- if (src) {
- var scripts = document.getElementsByTagName("script");
- for (var i in scripts) {
- if (scripts[i].src == src) {
- return scripts[i];
+ result2 = _highlight(top2.subLanguage, modeBuffer, true, continuations[top2.subLanguage]);
+ continuations[top2.subLanguage] = /** @type {CompiledMode} */
+ result2._top;
+ } else {
+ result2 = highlightAuto(modeBuffer, top2.subLanguage.length ? top2.subLanguage : null);
+ }
+ if (top2.relevance > 0) {
+ relevance += result2.relevance;
+ }
+ emitter.__addSublanguage(result2._emitter, result2.language);
+ }
+ function processBuffer() {
+ if (top2.subLanguage != null) {
+ processSubLanguage();
+ } else {
+ processKeywords();
+ }
+ modeBuffer = "";
+ }
+ function emitKeyword(keyword, scope) {
+ if (keyword === "") return;
+ emitter.startScope(scope);
+ emitter.addText(keyword);
+ emitter.endScope();
+ }
+ function emitMultiClass(scope, match) {
+ let i = 1;
+ const max2 = match.length - 1;
+ while (i <= max2) {
+ if (!scope._emit[i]) {
+ i++;
+ continue;
+ }
+ const klass = language.classNameAliases[scope[i]] || scope[i];
+ const text = match[i];
+ if (klass) {
+ emitKeyword(text, klass);
+ } else {
+ modeBuffer = text;
+ processKeywords();
+ modeBuffer = "";
+ }
+ i++;
+ }
+ }
+ function startNewMode(mode, match) {
+ if (mode.scope && typeof mode.scope === "string") {
+ emitter.openNode(language.classNameAliases[mode.scope] || mode.scope);
+ }
+ if (mode.beginScope) {
+ if (mode.beginScope._wrap) {
+ emitKeyword(modeBuffer, language.classNameAliases[mode.beginScope._wrap] || mode.beginScope._wrap);
+ modeBuffer = "";
+ } else if (mode.beginScope._multi) {
+ emitMultiClass(mode.beginScope, match);
+ modeBuffer = "";
+ }
+ }
+ top2 = Object.create(mode, { parent: { value: top2 } });
+ return top2;
+ }
+ function endOfMode(mode, match, matchPlusRemainder) {
+ let matched = startsWith(mode.endRe, matchPlusRemainder);
+ if (matched) {
+ if (mode["on:end"]) {
+ const resp = new Response(mode);
+ mode["on:end"](match, resp);
+ if (resp.isMatchIgnored) matched = false;
+ }
+ if (matched) {
+ while (mode.endsParent && mode.parent) {
+ mode = mode.parent;
+ }
+ return mode;
+ }
+ }
+ if (mode.endsWithParent) {
+ return endOfMode(mode.parent, match, matchPlusRemainder);
+ }
+ }
+ function doIgnore(lexeme) {
+ if (top2.matcher.regexIndex === 0) {
+ modeBuffer += lexeme[0];
+ return 1;
+ } else {
+ resumeScanAtSamePosition = true;
+ return 0;
+ }
+ }
+ function doBeginMatch(match) {
+ const lexeme = match[0];
+ const newMode = match.rule;
+ const resp = new Response(newMode);
+ const beforeCallbacks = [newMode.__beforeBegin, newMode["on:begin"]];
+ for (const cb of beforeCallbacks) {
+ if (!cb) continue;
+ cb(match, resp);
+ if (resp.isMatchIgnored) return doIgnore(lexeme);
+ }
+ if (newMode.skip) {
+ modeBuffer += lexeme;
+ } else {
+ if (newMode.excludeBegin) {
+ modeBuffer += lexeme;
+ }
+ processBuffer();
+ if (!newMode.returnBegin && !newMode.excludeBegin) {
+ modeBuffer = lexeme;
+ }
+ }
+ startNewMode(newMode, match);
+ return newMode.returnBegin ? 0 : lexeme.length;
+ }
+ function doEndMatch(match) {
+ const lexeme = match[0];
+ const matchPlusRemainder = codeToHighlight.substring(match.index);
+ const endMode = endOfMode(top2, match, matchPlusRemainder);
+ if (!endMode) {
+ return NO_MATCH;
+ }
+ const origin = top2;
+ if (top2.endScope && top2.endScope._wrap) {
+ processBuffer();
+ emitKeyword(lexeme, top2.endScope._wrap);
+ } else if (top2.endScope && top2.endScope._multi) {
+ processBuffer();
+ emitMultiClass(top2.endScope, match);
+ } else if (origin.skip) {
+ modeBuffer += lexeme;
+ } else {
+ if (!(origin.returnEnd || origin.excludeEnd)) {
+ modeBuffer += lexeme;
+ }
+ processBuffer();
+ if (origin.excludeEnd) {
+ modeBuffer = lexeme;
+ }
+ }
+ do {
+ if (top2.scope) {
+ emitter.closeNode();
+ }
+ if (!top2.skip && !top2.subLanguage) {
+ relevance += top2.relevance;
+ }
+ top2 = top2.parent;
+ } while (top2 !== endMode.parent);
+ if (endMode.starts) {
+ startNewMode(endMode.starts, match);
+ }
+ return origin.returnEnd ? 0 : lexeme.length;
+ }
+ function processContinuations() {
+ const list = [];
+ for (let current = top2; current !== language; current = current.parent) {
+ if (current.scope) {
+ list.unshift(current.scope);
+ }
+ }
+ list.forEach((item) => emitter.openNode(item));
+ }
+ let lastMatch = {};
+ function processLexeme(textBeforeMatch, match) {
+ const lexeme = match && match[0];
+ modeBuffer += textBeforeMatch;
+ if (lexeme == null) {
+ processBuffer();
+ return 0;
+ }
+ if (lastMatch.type === "begin" && match.type === "end" && lastMatch.index === match.index && lexeme === "") {
+ modeBuffer += codeToHighlight.slice(match.index, match.index + 1);
+ if (!SAFE_MODE) {
+ const err = new Error(`0 width match regex (${languageName})`);
+ err.languageName = languageName;
+ err.badRule = lastMatch.rule;
+ throw err;
+ }
+ return 1;
+ }
+ lastMatch = match;
+ if (match.type === "begin") {
+ return doBeginMatch(match);
+ } else if (match.type === "illegal" && !ignoreIllegals) {
+ const err = new Error('Illegal lexeme "' + lexeme + '" for mode "' + (top2.scope || "<unnamed>") + '"');
+ err.mode = top2;
+ throw err;
+ } else if (match.type === "end") {
+ const processed = doEndMatch(match);
+ if (processed !== NO_MATCH) {
+ return processed;
+ }
+ }
+ if (match.type === "illegal" && lexeme === "") {
+ return 1;
+ }
+ if (iterations > 1e5 && iterations > match.index * 3) {
+ const err = new Error("potential infinite loop, way more iterations than matches");
+ throw err;
+ }
+ modeBuffer += lexeme;
+ return lexeme.length;
+ }
+ const language = getLanguage(languageName);
+ if (!language) {
+ error(LANGUAGE_NOT_FOUND.replace("{}", languageName));
+ throw new Error('Unknown language: "' + languageName + '"');
+ }
+ const md = compileLanguage(language);
+ let result = "";
+ let top2 = continuation || md;
+ const continuations = {};
+ const emitter = new options.__emitter(options);
+ processContinuations();
+ let modeBuffer = "";
+ let relevance = 0;
+ let index = 0;
+ let iterations = 0;
+ let resumeScanAtSamePosition = false;
+ try {
+ if (!language.__emitTokens) {
+ top2.matcher.considerAll();
+ for (; ; ) {
+ iterations++;
+ if (resumeScanAtSamePosition) {
+ resumeScanAtSamePosition = false;
+ } else {
+ top2.matcher.considerAll();
+ }
+ top2.matcher.lastIndex = index;
+ const match = top2.matcher.exec(codeToHighlight);
+ if (!match) break;
+ const beforeMatch = codeToHighlight.substring(index, match.index);
+ const processedCount = processLexeme(beforeMatch, match);
+ index = match.index + processedCount;
+ }
+ processLexeme(codeToHighlight.substring(index));
+ } else {
+ language.__emitTokens(codeToHighlight, emitter);
+ }
+ emitter.finalize();
+ result = emitter.toHTML();
+ return {
+ language: languageName,
+ value: result,
+ relevance,
+ illegal: false,
+ _emitter: emitter,
+ _top: top2
+ };
+ } catch (err) {
+ if (err.message && err.message.includes("Illegal")) {
+ return {
+ language: languageName,
+ value: escape(codeToHighlight),
+ illegal: true,
+ relevance: 0,
+ _illegalBy: {
+ message: err.message,
+ index,
+ context: codeToHighlight.slice(index - 100, index + 100),
+ mode: err.mode,
+ resultSoFar: result
+ },
+ _emitter: emitter
+ };
+ } else if (SAFE_MODE) {
+ return {
+ language: languageName,
+ value: escape(codeToHighlight),
+ illegal: false,
+ relevance: 0,
+ errorRaised: err,
+ _emitter: emitter,
+ _top: top2
+ };
+ } else {
+ throw err;
+ }
+ }
+ }
+ function justTextHighlightResult(code) {
+ const result = {
+ value: escape(code),
+ illegal: false,
+ relevance: 0,
+ _top: PLAINTEXT_LANGUAGE,
+ _emitter: new options.__emitter(options)
+ };
+ result._emitter.addText(code);
+ return result;
+ }
+ function highlightAuto(code, languageSubset) {
+ languageSubset = languageSubset || options.languages || Object.keys(languages);
+ const plaintext = justTextHighlightResult(code);
+ const results = languageSubset.filter(getLanguage).filter(autoDetection).map(
+ (name) => _highlight(name, code, false)
+ );
+ results.unshift(plaintext);
+ const sorted = results.sort((a, b) => {
+ if (a.relevance !== b.relevance) return b.relevance - a.relevance;
+ if (a.language && b.language) {
+ if (getLanguage(a.language).supersetOf === b.language) {
+ return 1;
+ } else if (getLanguage(b.language).supersetOf === a.language) {
+ return -1;
+ }
+ }
+ return 0;
+ });
+ const [best, secondBest] = sorted;
+ const result = best;
+ result.secondBest = secondBest;
+ return result;
+ }
+ function updateClassName(element, currentLang, resultLang) {
+ const language = currentLang && aliases[currentLang] || resultLang;
+ element.classList.add("hljs");
+ element.classList.add(`language-${language}`);
+ }
+ function highlightElement(element) {
+ let node = null;
+ const language = blockLanguage(element);
+ if (shouldNotHighlight(language)) return;
+ fire(
+ "before:highlightElement",
+ { el: element, language }
+ );
+ if (element.dataset.highlighted) {
+ console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", element);
+ return;
+ }
+ if (element.children.length > 0) {
+ if (!options.ignoreUnescapedHTML) {
+ console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk.");
+ console.warn("https://github.com/highlightjs/highlight.js/wiki/security");
+ console.warn("The element with unescaped HTML:");
+ console.warn(element);
+ }
+ if (options.throwUnescapedHTML) {
+ const err = new HTMLInjectionError(
+ "One of your code blocks includes unescaped HTML.",
+ element.innerHTML
+ );
+ throw err;
+ }
+ }
+ node = element;
+ const text = node.textContent;
+ const result = language ? highlight2(text, { language, ignoreIllegals: true }) : highlightAuto(text);
+ element.innerHTML = result.value;
+ element.dataset.highlighted = "yes";
+ updateClassName(element, language, result.language);
+ element.result = {
+ language: result.language,
+ // TODO: remove with version 11.0
+ re: result.relevance,
+ relevance: result.relevance
+ };
+ if (result.secondBest) {
+ element.secondBest = {
+ language: result.secondBest.language,
+ relevance: result.secondBest.relevance
+ };
+ }
+ fire("after:highlightElement", { el: element, result, text });
+ }
+ function configure(userOptions) {
+ options = inherit(options, userOptions);
+ }
+ const initHighlighting = () => {
+ highlightAll();
+ deprecated("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
+ };
+ function initHighlightingOnLoad() {
+ highlightAll();
+ deprecated("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
+ }
+ let wantsHighlight = false;
+ function highlightAll() {
+ if (document.readyState === "loading") {
+ wantsHighlight = true;
+ return;
+ }
+ const blocks = document.querySelectorAll(options.cssSelector);
+ blocks.forEach(highlightElement);
+ }
+ function boot() {
+ if (wantsHighlight) highlightAll();
+ }
+ if (typeof window !== "undefined" && window.addEventListener) {
+ window.addEventListener("DOMContentLoaded", boot, false);
+ }
+ function registerLanguage(languageName, languageDefinition) {
+ let lang = null;
+ try {
+ lang = languageDefinition(hljs);
+ } catch (error$1) {
+ error("Language definition for '{}' could not be registered.".replace("{}", languageName));
+ if (!SAFE_MODE) {
+ throw error$1;
+ } else {
+ error(error$1);
+ }
+ lang = PLAINTEXT_LANGUAGE;
+ }
+ if (!lang.name) lang.name = languageName;
+ languages[languageName] = lang;
+ lang.rawDefinition = languageDefinition.bind(null, hljs);
+ if (lang.aliases) {
+ registerAliases(lang.aliases, { languageName });
+ }
+ }
+ function unregisterLanguage(languageName) {
+ delete languages[languageName];
+ for (const alias of Object.keys(aliases)) {
+ if (aliases[alias] === languageName) {
+ delete aliases[alias];
+ }
+ }
+ }
+ function listLanguages() {
+ return Object.keys(languages);
+ }
+ function getLanguage(name) {
+ name = (name || "").toLowerCase();
+ return languages[name] || languages[aliases[name]];
+ }
+ function registerAliases(aliasList, { languageName }) {
+ if (typeof aliasList === "string") {
+ aliasList = [aliasList];
+ }
+ aliasList.forEach((alias) => {
+ aliases[alias.toLowerCase()] = languageName;
+ });
+ }
+ function autoDetection(name) {
+ const lang = getLanguage(name);
+ return lang && !lang.disableAutodetect;
+ }
+ function upgradePluginAPI(plugin) {
+ if (plugin["before:highlightBlock"] && !plugin["before:highlightElement"]) {
+ plugin["before:highlightElement"] = (data) => {
+ plugin["before:highlightBlock"](
+ Object.assign({ block: data.el }, data)
+ );
+ };
+ }
+ if (plugin["after:highlightBlock"] && !plugin["after:highlightElement"]) {
+ plugin["after:highlightElement"] = (data) => {
+ plugin["after:highlightBlock"](
+ Object.assign({ block: data.el }, data)
+ );
+ };
+ }
+ }
+ function addPlugin(plugin) {
+ upgradePluginAPI(plugin);
+ plugins.push(plugin);
+ }
+ function removePlugin(plugin) {
+ const index = plugins.indexOf(plugin);
+ if (index !== -1) {
+ plugins.splice(index, 1);
+ }
+ }
+ function fire(event, args) {
+ const cb = event;
+ plugins.forEach(function(plugin) {
+ if (plugin[cb]) {
+ plugin[cb](args);
+ }
+ });
+ }
+ function deprecateHighlightBlock(el) {
+ deprecated("10.7.0", "highlightBlock will be removed entirely in v12.0");
+ deprecated("10.7.0", "Please use highlightElement now.");
+ return highlightElement(el);
+ }
+ Object.assign(hljs, {
+ highlight: highlight2,
+ highlightAuto,
+ highlightAll,
+ highlightElement,
+ // TODO: Remove with v12 API
+ highlightBlock: deprecateHighlightBlock,
+ configure,
+ initHighlighting,
+ initHighlightingOnLoad,
+ registerLanguage,
+ unregisterLanguage,
+ listLanguages,
+ getLanguage,
+ registerAliases,
+ autoDetection,
+ inherit,
+ addPlugin,
+ removePlugin
+ });
+ hljs.debugMode = function() {
+ SAFE_MODE = false;
+ };
+ hljs.safeMode = function() {
+ SAFE_MODE = true;
+ };
+ hljs.versionString = version;
+ hljs.regex = {
+ concat,
+ lookahead,
+ either,
+ optional,
+ anyNumberOfTimes
+ };
+ for (const key in MODES) {
+ if (typeof MODES[key] === "object") {
+ deepFreeze(MODES[key]);
+ }
+ }
+ Object.assign(hljs, MODES);
+ return hljs;
+ };
+ var highlight = HLJS({});
+ highlight.newInstance = () => HLJS({});
+ module.exports = highlight;
+ highlight.HighlightJS = highlight;
+ highlight.default = highlight;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/1c.js
+ var require_c = __commonJS({
+ "node_modules/highlight.js/lib/languages/1c.js"(exports, module) {
+ function _1c(hljs) {
+ const UNDERSCORE_IDENT_RE = "[A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_][A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_0-9]+";
+ const v7_keywords = "\u0434\u0430\u043B\u0435\u0435 ";
+ const v8_keywords = "\u0432\u043E\u0437\u0432\u0440\u0430\u0442 \u0432\u044B\u0437\u0432\u0430\u0442\u044C\u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0434\u043B\u044F \u0435\u0441\u043B\u0438 \u0438 \u0438\u0437 \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435 \u0438\u043D\u0430\u0447\u0435\u0435\u0441\u043B\u0438 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043A\u043E\u043D\u0435\u0446\u0435\u0441\u043B\u0438 \u043A\u043E\u043D\u0435\u0446\u043F\u043E\u043F\u044B\u0442\u043A\u0438 \u043A\u043E\u043D\u0435\u0446\u0446\u0438\u043A\u043B\u0430 \u043D\u0435 \u043D\u043E\u0432\u044B\u0439 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043F\u0435\u0440\u0435\u043C \u043F\u043E \u043F\u043E\u043A\u0430 \u043F\u043E\u043F\u044B\u0442\u043A\u0430 \u043F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0442\u043E\u0433\u0434\u0430 \u0446\u0438\u043A\u043B \u044D\u043A\u0441\u043F\u043E\u0440\u0442 ";
+ const KEYWORD = v7_keywords + v8_keywords;
+ const v7_meta_keywords = "\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0438\u0437\u0444\u0430\u0439\u043B\u0430 ";
+ const v8_meta_keywords = "\u0432\u0435\u0431\u043A\u043B\u0438\u0435\u043D\u0442 \u0432\u043C\u0435\u0441\u0442\u043E \u0432\u043D\u0435\u0448\u043D\u0435\u0435\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043A\u043B\u0438\u0435\u043D\u0442 \u043A\u043E\u043D\u0435\u0446\u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043B\u0438\u0435\u043D\u0442 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u0435\u0440\u0432\u0435\u0440 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435\u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435\u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435\u0431\u0435\u0437\u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435\u0431\u0435\u0437\u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430 \u043E\u0431\u043B\u0430\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u043F\u043E\u0441\u043B\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 \u0442\u043E\u043B\u0441\u0442\u044B\u0439\u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0431\u044B\u0447\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u043E\u043B\u0441\u0442\u044B\u0439\u043A\u043B\u0438\u0435\u043D\u0442\u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u043E\u043D\u043A\u0438\u0439\u043A\u043B\u0438\u0435\u043D\u0442 ";
+ const METAKEYWORD = v7_meta_keywords + v8_meta_keywords;
+ const v7_system_constants = "\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0440\u0430\u043D\u0438\u0446 \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0440\u043E\u043A \u0441\u0438\u043C\u0432\u043E\u043B\u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 ";
+ const v7_global_context_methods = "ansitooem oemtoansi \u0432\u0432\u0435\u0441\u0442\u0438\u0432\u0438\u0434\u0441\u0443\u0431\u043A\u043E\u043D\u0442\u043E \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0435 \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u0435\u0440\u0438\u043E\u0434 \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u0434\u0430\u0442\u0430\u0433\u043E\u0434 \u0434\u0430\u0442\u0430\u043C\u0435\u0441\u044F\u0446 \u0434\u0430\u0442\u0430\u0447\u0438\u0441\u043B\u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0441\u0442\u0440\u043E\u043A\u0443 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0441\u0442\u0440\u043E\u043A\u0438 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0438\u0431 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043A\u043E\u0434\u0441\u0438\u043C\u0432 \u043A\u043E\u043D\u0433\u043E\u0434\u0430 \u043A\u043E\u043D\u0435\u0446\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043A\u043E\u043D\u0435\u0446\u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043D\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043A\u043E\u043D\u0435\u0446\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430 \u043A\u043E\u043D\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043A\u043E\u043D\u043C\u0435\u0441\u044F\u0446\u0430 \u043A\u043E\u043D\u043D\u0435\u0434\u0435\u043B\u0438 \u043B\u043E\u0433 \u043B\u043E\u043310 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u0441\u0443\u0431\u043A\u043E\u043D\u0442\u043E \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u043D\u0430\u0431\u043E\u0440\u0430\u043F\u0440\u0430\u0432 \u043D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C\u0432\u0438\u0434 \u043D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C\u0441\u0447\u0435\u0442 \u043D\u0430\u0439\u0442\u0438\u0441\u0441\u044B\u043B\u043A\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430 \u043D\u0430\u0447\u0433\u043E\u0434\u0430 \u043D\u0430\u0447\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043D\u0430\u0447\u043C\u0435\u0441\u044F\u0446\u0430 \u043D\u0430\u0447\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u043E\u043C\u0435\u0440\u0434\u043D\u044F\u0433\u043E\u0434\u0430 \u043D\u043E\u043C\u0435\u0440\u0434\u043D\u044F\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u043E\u043C\u0435\u0440\u043D\u0435\u0434\u0435\u043B\u0438\u0433\u043E\u0434\u0430 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0430\u0441\u0447\u0435\u0442\u043E\u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u044F\u0437\u044B\u043A \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u043E\u043A\u043D\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439 \u043F\u0435\u0440\u0438\u043E\u0434\u0441\u0442\u0440 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u0430\u0442\u0443\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0443\u0441\u0442\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0442\u0430 \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u043F\u0438\u0441\u044C \u043F\u0443\u0441\u0442\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u043C \u0440\u0430\u0437\u043E\u0431\u0440\u0430\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043D\u0430 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043F\u043E \u0441\u0438\u043C\u0432 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442 \u0441\u0442\u0430\u0442\u0443\u0441\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430 \u0441\u0442\u0440\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u0441\u0442\u0440\u043E\u043A \u0441\u0444\u043E\u0440\u043C\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u0447\u0435\u0442\u043F\u043E\u043A\u043E\u0434\u0443 \u0442\u0435\u043A\u0443\u0449\u0435\u0435\u0432\u0440\u0435\u043C\u044F \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0441\u0442\u0440 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0442\u0430\u043D\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0442\u0430\u043F\u043E \u0444\u0438\u043A\u0441\u0448\u0430\u0431\u043B\u043E\u043D \u0448\u0430\u0431\u043B\u043E\u043D ";
+ const v8_global_context_methods = "acos asin atan base64\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 base64\u0441\u0442\u0440\u043E\u043A\u0430 cos exp log log10 pow sin sqrt tan xml\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 xml\u0441\u0442\u0440\u043E\u043A\u0430 xml\u0442\u0438\u043F xml\u0442\u0438\u043F\u0437\u043D\u0447 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0435\u043E\u043A\u043D\u043E \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0443\u043B\u0435\u0432\u043E \u0432\u0432\u0435\u0441\u0442\u0438\u0434\u0430\u0442\u0443 \u0432\u0432\u0435\u0441\u0442\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432\u0432\u0435\u0441\u0442\u0438\u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u0432\u0435\u0441\u0442\u0438\u0447\u0438\u0441\u043B\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C\u0447\u0442\u0435\u043D\u0438\u044Fxml \u0432\u043E\u043F\u0440\u043E\u0441 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432\u0440\u0435\u0433 \u0432\u044B\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0443\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u043F\u0440\u0430\u0432\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0432\u044B\u0447\u0438\u0441\u043B\u0438\u0442\u044C \u0433\u043E\u0434 \u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B\u0432\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u0430\u0442\u0430 \u0434\u0435\u043D\u044C \u0434\u0435\u043D\u044C\u0433\u043E\u0434\u0430 \u0434\u0435\u043D\u044C\u043D\u0435\u0434\u0435\u043B\u0438 \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C\u043C\u0435\u0441\u044F\u0446 \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0434\u043B\u044F\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u0437\u0430\u043A\u0440\u044B\u0442\u044C\u0441\u043F\u0440\u0430\u0432\u043A\u0443 \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044Cjson \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044Cxml \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044C\u0434\u0430\u0442\u0443json \u0437\u0430\u043F\u0438\u0441\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0441\u0432\u043E\u0439\u0441\u0442\u0432 \u0437\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C\u0441\u0438\u0441\u0442\u0435\u043C\u0443 \u0437\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0441\u0442\u0440\u043E\u043A\u0443\u0432\u043D\u0443\u0442\u0440 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0444\u0430\u0439\u043B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0441\u0442\u0440\u043E\u043A\u0438\u0432\u043D\u0443\u0442\u0440 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0444\u0430\u0439\u043B\u0430 \u0438\u0437xml\u0442\u0438\u043F\u0430 \u0438\u043C\u043F\u043E\u0440\u0442\u043C\u043E\u0434\u0435\u043B\u0438xdto \u0438\u043C\u044F\u043A\u043E\u043C\u043F\u044C\u044E\u0442\u0435\u0440\u0430 \u0438\u043C\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0438\u043D\u0438\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0435\u0434\u0430\u043D\u043D\u044B\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u043E\u0431\u043E\u0448\u0438\u0431\u043A\u0435 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438\u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0433\u043E\u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445\u0444\u0430\u0439\u043B\u043E\u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u043A\u043E\u0434\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043A\u043E\u0434\u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u043A\u043E\u043C\u0430\u043D\u0434\u0430\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043A\u043E\u043D\u0435\u0446\u0433\u043E\u0434\u0430 \u043A\u043E\u043D\u0435\u0446\u0434\u043D\u044F \u043A\u043E\u043D\u0435\u0446\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043A\u043E\u043D\u0435\u0446\u043C\u0435\u0441\u044F\u0446\u0430 \u043A\u043E\u043D\u0435\u0446\u043C\u0438\u043D\u0443\u0442\u044B \u043A\u043E\u043D\u0435\u0446\u043D\u0435\u0434\u0435\u043B\u0438 \u043A\u043E\u043D\u0435\u0446\u0447\u0430\u0441\u0430 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0430\u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u0438 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0430 \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0444\u0430\u0439\u043B \u043A\u0440\u0430\u0442\u043A\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043B\u0435\u0432 \u043C\u0430\u043A\u0441 \u043C\u0435\u0441\u0442\u043D\u043E\u0435\u0432\u0440\u0435\u043C\u044F \u043C\u0435\u0441\u044F\u0446 \u043C\u0438\u043D \u043C\u0438\u043D\u0443\u0442\u0430 \u043C\u043E\u043D\u043E\u043F\u043E\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u043D\u0430\u0439\u0442\u0438 \u043D\u0430\u0439\u0442\u0438\u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u044Bxml \u043D\u0430\u0439\u0442\u0438\u043E\u043A\u043D\u043E\u043F\u043E\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0441\u0441\u044B\u043B\u043A\u0435 \u043D\u0430\u0439\u0442\u0438\u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0435\u043D\u0430\u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435 \u043D\u0430\u0439\u0442\u0438\u043F\u043E\u0441\u0441\u044B\u043B\u043A\u0430\u043C \u043D\u0430\u0439\u0442\u0438\u0444\u0430\u0439\u043B\u044B \u043D\u0430\u0447\u0430\u043B\u043E\u0433\u043E\u0434\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u0434\u043D\u044F \u043D\u0430\u0447\u0430\u043B\u043E\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u043C\u0435\u0441\u044F\u0446\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0447\u0430\u043B\u043E\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u0447\u0430\u0441\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0437\u0430\u043F\u0440\u043E\u0441\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u0437\u0430\u043F\u0443\u0441\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0438\u0441\u043A\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0447\u0435\u0433\u043E\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u0437\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043D\u0435\u0434\u0435\u043B\u044F\u0433\u043E\u0434\u0430 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u044C\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043D\u043E\u043C\u0435\u0440\u0441\u0435\u0430\u043D\u0441\u0430\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043D\u043E\u043C\u0435\u0440\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043D\u0440\u0435\u0433 \u043D\u0441\u0442\u0440 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u044E\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043F\u0440\u0435\u0440\u044B\u0432\u0430\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043E\u0431\u044A\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043E\u043A\u0440 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043E\u043F\u043E\u0432\u0435\u0441\u0442\u0438\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0441\u0442\u0438\u0442\u044C\u043E\u0431\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0437\u0430\u043F\u0440\u043E\u0441\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0438\u043D\u0434\u0435\u043A\u0441\u0441\u043F\u0440\u0430\u0432\u043A\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0441\u043E\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0435\u0441\u043F\u0440\u0430\u0432\u043A\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0441\u043F\u0440\u0430\u0432\u043A\u0443 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0444\u043E\u0440\u043C\u0443 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0444\u043E\u0440\u043C\u0443\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u0435\u0440\u0435\u0439\u0442\u0438\u043F\u043E\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0441\u0441\u044B\u043B\u043A\u0435 \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0437\u0430\u043F\u0440\u043E\u0441\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0434\u0430\u0442\u044B \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0441\u0442\u0440\u043E\u043A\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0447\u0438\u0441\u043B\u0430 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u043E\u043F\u0440\u043E\u0441 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E\u043E\u0431\u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043D\u0430\u043A\u0430\u0440\u0442\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u043D\u043E\u0435\u0438\u043C\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044Ccom\u043E\u0431\u044A\u0435\u043A\u0442 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044Cxml\u0442\u0438\u043F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0430\u0434\u0440\u0435\u0441\u043F\u043E\u043C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043F\u044F\u0449\u0435\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0441\u044B\u043F\u0430\u043D\u0438\u044F\u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u043A\u043E\u0434\u044B\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0447\u0430\u0441\u043E\u0432\u044B\u0435\u043F\u043E\u044F\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0437\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043C\u044F\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0444\u0430\u0439\u043B\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043C\u044F\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E\u044D\u043A\u0440\u0430\u043D\u043E\u0432\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043A\u0440\u0430\u0442\u043A\u0438\u0439\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u043A\u0435\u0442\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0430\u0434\u0440\u0435\u0441\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0443\u044E\u0434\u043B\u0438\u043D\u0443\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u0443\u044E\u0441\u0441\u044B\u043B\u043A\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u0443\u044E\u0441\u0441\u044B\u043B\u043A\u0443\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u0449\u0438\u0439\u043C\u0430\u043A\u0435\u0442 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u0449\u0443\u044E\u0444\u043E\u0440\u043C\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u043A\u043D\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u0443\u044E\u043E\u0442\u043C\u0435\u0442\u043A\u0443\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0433\u043E\u0440\u0435\u0436\u0438\u043C\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445\u043E\u043F\u0446\u0438\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u043E\u043B\u043D\u043E\u0435\u0438\u043C\u044F\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0445\u0441\u0441\u044B\u043B\u043E\u043A \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u0441\u043B\u043E\u0436\u043D\u043E\u0441\u0442\u0438\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0435\u0430\u043D\u0441\u044B\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430odata \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0443\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0441\u0435\u0430\u043D\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u043E\u0440\u043C\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u0443\u044E\u043E\u043F\u0446\u0438\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u0443\u044E\u043E\u043F\u0446\u0438\u044E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438\u043E\u0441 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0432\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0435\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043F\u0440\u0430\u0432 \u043F\u0440\u0430\u0432\u043E\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043A\u043E\u0434\u0430\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0430\u0432\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0447\u0430\u0441\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u044F\u0441\u0430 \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u043A\u0440\u0430\u0442\u0438\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043F\u0440\u0438\u0432\u0438\u043B\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C\u0432\u044B\u0437\u043E\u0432 \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044Cjson \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044Cxml \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C\u0434\u0430\u0442\u0443json \u043F\u0443\u0441\u0442\u0430\u044F\u0441\u0442\u0440\u043E\u043A\u0430 \u0440\u0430\u0431\u043E\u0447\u0438\u0439\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0434\u043B\u044F\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u0440\u0430\u0437\u043E\u0440\u0432\u0430\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0441\u0432\u043D\u0435\u0448\u043D\u0438\u043C\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u043C\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u0440\u043E\u043B\u044C\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0430 \u0441\u0438\u0433\u043D\u0430\u043B \u0441\u0438\u043C\u0432\u043E\u043B \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u043B\u0435\u0442\u043D\u0435\u0433\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0431\u0443\u0444\u0435\u0440\u044B\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u043A\u0430\u0442\u0430\u043B\u043E\u0433 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u0444\u0430\u0431\u0440\u0438\u043A\u0443xdto \u0441\u043E\u043A\u0440\u043B \u0441\u043E\u043A\u0440\u043B\u043F \u0441\u043E\u043A\u0440\u043F \u0441\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0441\u0440\u0435\u0434 \u0441\u0442\u0440\u0434\u043B\u0438\u043D\u0430 \u0441\u0442\u0440\u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044F\u043D\u0430 \u0441\u0442\u0440\u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u043D\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043D\u0430\u0447\u0438\u043D\u0430\u0435\u0442\u0441\u044F\u0441 \u0441\u0442\u0440\u043E\u043A\u0430 \u0441\u0442\u0440\u043E\u043A\u0430\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0441\u0442\u0440\u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u0441\u0442\u0440\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u044C \u0441\u0442\u0440\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u0441\u0440\u0430\u0432\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u0447\u0438\u0441\u043B\u043E\u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0439 \u0441\u0442\u0440\u0447\u0438\u0441\u043B\u043E\u0441\u0442\u0440\u043E\u043A \u0441\u0442\u0440\u0448\u0430\u0431\u043B\u043E\u043D \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0434\u0430\u0442\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0434\u0430\u0442\u0430\u0441\u0435\u0430\u043D\u0441\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u0430\u044F\u0434\u0430\u0442\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u0430\u044F\u0434\u0430\u0442\u0430\u0432\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430\u0445 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u0448\u0440\u0438\u0444\u0442\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u043A\u043E\u0434\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u044F\u0437\u044B\u043A \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u044F\u0437\u044B\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0442\u0438\u043F \u0442\u0438\u043F\u0437\u043D\u0447 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044F\u0430\u043A\u0442\u0438\u0432\u043D\u0430 \u0442\u0440\u0435\u0433 \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0438\u0437\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u043E\u0435\u0432\u0440\u0435\u043C\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043F\u044F\u0449\u0435\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0441\u044B\u043F\u0430\u043D\u0438\u044F\u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043A\u0440\u0430\u0442\u043A\u0438\u0439\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0443\u044E\u0434\u043B\u0438\u043D\u0443\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043C\u043E\u043D\u043E\u043F\u043E\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0433\u043E\u0440\u0435\u0436\u0438\u043C\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445\u043E\u043F\u0446\u0438\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0440\u0438\u0432\u0438\u043B\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u0441\u043B\u043E\u0436\u043D\u043E\u0441\u0442\u0438\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0441\u0432\u043D\u0435\u0448\u043D\u0438\u043C\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u043C\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0438\u0444\u043E\u0440\u043C\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430odata \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0441\u0435\u0430\u043D\u0441\u0430 \u0444\u043E\u0440\u043C\u0430\u0442 \u0446\u0435\u043B \u0447\u0430\u0441 \u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441 \u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0441\u0435\u0430\u043D\u0441\u0430 \u0447\u0438\u0441\u043B\u043E \u0447\u0438\u0441\u043B\u043E\u043F\u0440\u043E\u043F\u0438\u0441\u044C\u044E \u044D\u0442\u043E\u0430\u0434\u0440\u0435\u0441\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 ";
+ const v8_global_context_property = "ws\u0441\u0441\u044B\u043B\u043A\u0438 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043C\u0430\u043A\u0435\u0442\u043E\u0432\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u0441\u0442\u0438\u043B\u0435\u0439 \u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u044B \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u043E\u0442\u0447\u0435\u0442\u044B \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435\u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0433\u043B\u0430\u0432\u043D\u044B\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0433\u043B\u0430\u0432\u043D\u044B\u0439\u0441\u0442\u0438\u043B\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0435\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u0436\u0443\u0440\u043D\u0430\u043B\u044B\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u043E\u0431\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0447\u0435\u0439\u0434\u0430\u0442\u044B \u0438\u0441\u0442\u043E\u0440\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043A\u043E\u043D\u0441\u0442\u0430\u043D\u0442\u044B \u043A\u0440\u0438\u0442\u0435\u0440\u0438\u0438\u043E\u0442\u0431\u043E\u0440\u0430 \u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0435 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u043A\u043B\u0430\u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0445\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u043E\u0442\u0447\u0435\u0442\u044B \u043F\u0430\u043D\u0435\u043B\u044C\u0437\u0430\u0434\u0430\u0447\u043E\u0441 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F \u043F\u043B\u0430\u043D\u044B\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043F\u043B\u0430\u043D\u044B\u0432\u0438\u0434\u043E\u0432\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A \u043F\u043B\u0430\u043D\u044B\u043E\u0431\u043C\u0435\u043D\u0430 \u043F\u043B\u0430\u043D\u044B\u0441\u0447\u0435\u0442\u043E\u0432 \u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u043F\u043E\u0438\u0441\u043A \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445\u043F\u043E\u043A\u0443\u043F\u043E\u043A \u0440\u0430\u0431\u043E\u0447\u0430\u044F\u0434\u0430\u0442\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0438\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u044B\u0435\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0442\u043E\u0440xdto \u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u0433\u0435\u043E\u043F\u043E\u0437\u0438\u0446\u0438\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0440\u0435\u043A\u043B\u0430\u043C\u044B \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043F\u043E\u0447\u0442\u044B \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0438\u0438 \u0444\u0430\u0431\u0440\u0438\u043A\u0430xdto \u0444\u0430\u0439\u043B\u043E\u0432\u044B\u0435\u043F\u043E\u0442\u043E\u043A\u0438 \u0444\u043E\u043D\u043E\u0432\u044B\u0435\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432\u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043E\u0431\u0449\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u0445\u0441\u043F\u0438\u0441\u043A\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A ";
+ const BUILTIN = v7_system_constants + v7_global_context_methods + v8_global_context_methods + v8_global_context_property;
+ const v8_system_sets_of_values = "web\u0446\u0432\u0435\u0442\u0430 windows\u0446\u0432\u0435\u0442\u0430 windows\u0448\u0440\u0438\u0444\u0442\u044B \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u0440\u0430\u043C\u043A\u0438\u0441\u0442\u0438\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0446\u0432\u0435\u0442\u0430\u0441\u0442\u0438\u043B\u044F \u0448\u0440\u0438\u0444\u0442\u044B\u0441\u0442\u0438\u043B\u044F ";
+ const v8_system_enums_interface = "\u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C\u044B\u0432\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u044F\u0432\u0444\u043E\u0440\u043C\u0435 \u0430\u0432\u0442\u043E\u0440\u0430\u0437\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0435\u0441\u0435\u0440\u0438\u0439 \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0438\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u0432 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0432\u044B\u0441\u043E\u0442\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u0430\u044F\u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0430\u0444\u043E\u0440\u043C\u044B \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u0432\u0438\u0434\u0433\u0440\u0443\u043F\u043F\u044B\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0434\u0435\u043A\u043E\u0440\u0430\u0446\u0438\u0438\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0438\u0434\u043A\u043D\u043E\u043F\u043A\u0438\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044F \u0432\u0438\u0434\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u0432\u0438\u0434\u043F\u043E\u043B\u044F\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0444\u043B\u0430\u0436\u043A\u0430 \u0432\u043B\u0438\u044F\u043D\u0438\u0435\u0440\u0430\u0437\u043C\u0435\u0440\u0430\u043D\u0430\u043F\u0443\u0437\u044B\u0440\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0430\u043A\u043E\u043B\u043E\u043D\u043E\u043A \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0430\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0444\u043E\u0440\u043C\u044B \u0433\u0440\u0443\u043F\u043F\u044B\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u043C\u0435\u0436\u0434\u0443\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0438\u0444\u043E\u0440\u043C\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0432\u044B\u0432\u043E\u0434\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u043B\u043E\u0441\u044B\u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0442\u043E\u0447\u043A\u0438\u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0438\u0441\u0442\u043E\u0440\u0438\u044F\u0432\u044B\u0431\u043E\u0440\u0430\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043E\u0441\u0438\u0442\u043E\u0447\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0440\u0430\u0437\u043C\u0435\u0440\u0430\u043F\u0443\u0437\u044B\u0440\u044C\u043A\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u044B\u043A\u043E\u043C\u0430\u043D\u0434 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C\u0441\u0435\u0440\u0438\u0439 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0434\u0435\u0440\u0435\u0432\u0430 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0441\u043F\u0438\u0441\u043A\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u043C\u0435\u0442\u043E\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u043C\u0435\u0442\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u043B\u0435\u0433\u0435\u043D\u0434\u0435\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u043A\u043D\u043E\u043F\u043E\u043A \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0438\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043D\u043E\u043F\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043D\u043E\u043F\u043A\u0438\u0432\u044B\u0431\u043E\u0440\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0431\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u0439\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043F\u0443\u0437\u044B\u0440\u044C\u043A\u043E\u0432\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0430\u043D\u0435\u043B\u0438\u043F\u043E\u0438\u0441\u043A\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F\u043F\u0440\u0438\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0438\u043F\u043E\u043B\u043E\u0441\u044B\u0440\u0435\u0433\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0444\u0438\u0433\u0443\u0440\u044B\u043A\u043D\u043E\u043F\u043A\u0438 \u043F\u0430\u043B\u0438\u0442\u0440\u0430\u0446\u0432\u0435\u0442\u043E\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0438\u0441\u043A\u0432\u0442\u0430\u0431\u043B\u0438\u0446\u0435\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\u043A\u043D\u043E\u043F\u043A\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u0430\u043D\u0434\u043D\u043E\u0439\u043F\u0430\u043D\u0435\u043B\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u0430\u043D\u0434\u043D\u043E\u0439\u043F\u0430\u043D\u0435\u043B\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043E\u043F\u043E\u0440\u043D\u043E\u0439\u0442\u043E\u0447\u043A\u0438\u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u0448\u043A\u0430\u043B\u044B\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0438\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u0442\u0440\u043E\u043A\u0438\u043F\u043E\u0438\u0441\u043A\u0430 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u043B\u0438\u043D\u0438\u0438 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u043E\u0438\u0441\u043A\u043E\u043C \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u043A\u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439\u0433\u0438\u0441\u0442\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u0441\u0435\u0440\u0438\u0439\u0432\u043B\u0435\u0433\u0435\u043D\u0434\u0435\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0430\u0437\u043C\u0435\u0440\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0430\u0441\u0442\u044F\u0433\u0438\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0432\u0432\u043E\u0434\u0430\u0441\u0442\u0440\u043E\u043A\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0431\u043E\u0440\u0430\u043D\u0435\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u0442\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0441\u0442\u0440\u043E\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0441\u0432\u044F\u0437\u0430\u043D\u043D\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u043F\u0435\u0447\u0430\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043A\u043E\u043C\u0430\u043D\u0434\u044B \u0440\u0435\u0436\u0438\u043C\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u043E\u043A\u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u043E\u043A\u043D\u0430\u0444\u043E\u0440\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0441\u0435\u0440\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438\u0441\u0435\u0442\u043A\u0438\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u0443\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u043E\u0441\u0442\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435 \u0440\u0435\u0436\u0438\u043C\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043A\u043E\u043B\u043E\u043D\u043A\u0438 \u0440\u0435\u0436\u0438\u043C\u0441\u0433\u043B\u0430\u0436\u0438\u0432\u0430\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u0441\u0433\u043B\u0430\u0436\u0438\u0432\u0430\u043D\u0438\u044F\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0441\u043F\u0438\u0441\u043A\u0430\u0437\u0430\u0434\u0430\u0447 \u0441\u043A\u0432\u043E\u0437\u043D\u043E\u0435\u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C\u044B\u0432\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u0430\u044F\u0433\u0440\u0443\u043F\u043F\u0430\u043A\u043E\u043C\u0430\u043D\u0434 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0435\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0441\u0442\u0438\u043B\u044C\u0441\u0442\u0440\u0435\u043B\u043A\u0438 \u0442\u0438\u043F\u0430\u043F\u043F\u0440\u043E\u043A\u0441\u0438\u043C\u0430\u0446\u0438\u0438\u043B\u0438\u043D\u0438\u0438\u0442\u0440\u0435\u043D\u0434\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0435\u0434\u0438\u043D\u0438\u0446\u044B\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0442\u0438\u043F\u0438\u043C\u043F\u043E\u0440\u0442\u0430\u0441\u0435\u0440\u0438\u0439\u0441\u043B\u043E\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u043C\u0430\u0440\u043A\u0435\u0440\u0430\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043C\u0430\u0440\u043A\u0435\u0440\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0441\u0435\u0440\u0438\u0438\u0441\u043B\u043E\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u0447\u043D\u043E\u0433\u043E\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0448\u043A\u0430\u043B\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u0435\u0433\u0435\u043D\u0434\u044B\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043F\u043E\u0438\u0441\u043A\u0430\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043F\u0440\u043E\u0435\u043A\u0446\u0438\u0438\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0440\u0430\u043C\u043A\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u0432\u044F\u0437\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043F\u043E\u0441\u0435\u0440\u0438\u044F\u043C\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u043B\u0438\u043D\u0438\u0438 \u0442\u0438\u043F\u0441\u0442\u043E\u0440\u043E\u043D\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u0444\u043E\u0440\u043C\u044B\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0448\u043A\u0430\u043B\u044B\u0440\u0430\u0434\u0430\u0440\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0444\u0430\u043A\u0442\u043E\u0440\u043B\u0438\u043D\u0438\u0438\u0442\u0440\u0435\u043D\u0434\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0444\u0438\u0433\u0443\u0440\u0430\u043A\u043D\u043E\u043F\u043A\u0438 \u0444\u0438\u0433\u0443\u0440\u044B\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0444\u0438\u043A\u0441\u0430\u0446\u0438\u044F\u0432\u0442\u0430\u0431\u043B\u0438\u0446\u0435 \u0444\u043E\u0440\u043C\u0430\u0442\u0434\u043D\u044F\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0448\u0438\u0440\u0438\u043D\u0430\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0444\u043E\u0440\u043C\u044B ";
+ const v8_system_enums_objects_properties = "\u0432\u0438\u0434\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u044F\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0438\u0438 \u0432\u0438\u0434\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u044F\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0432\u0438\u0434\u0441\u0447\u0435\u0442\u0430 \u0432\u0438\u0434\u0442\u043E\u0447\u043A\u0438\u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0430\u0433\u0440\u0435\u0433\u0430\u0442\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0435\u0436\u0438\u043C\u0430\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u0440\u0435\u0437\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0430\u0433\u0440\u0435\u0433\u0430\u0442\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u0432\u0440\u0435\u043C\u044F \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0438\u0441\u0438\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 ";
+ const v8_system_enums_exchange_plans = "\u0430\u0432\u0442\u043E\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439\u043D\u043E\u043C\u0435\u0440\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445 ";
+ const v8_system_enums_tabular_document = "\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u043A\u043E\u043B\u043E\u043D\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u0441\u0442\u0440\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u043E\u0442\u043D\u043E\u0441\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u0447\u0442\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0434\u0432\u0443\u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0435\u0439\u043F\u0435\u0447\u0430\u0442\u0438 \u0442\u0438\u043F\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0440\u0438\u0441\u0443\u043D\u043A\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u044F\u0447\u0435\u0439\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043B\u0438\u043D\u0438\u0439\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0440\u0438\u0441\u0443\u043D\u043A\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0441\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0443\u0437\u043E\u0440\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0444\u0430\u0439\u043B\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u043E\u0447\u043D\u043E\u0441\u0442\u044C\u043F\u0435\u0447\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u0441\u0442\u0440\u0430\u043D\u0438\u0446 ";
+ const v8_system_enums_sheduler = "\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u0440\u0435\u043C\u0435\u043D\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0449\u0438\u043A\u0430 ";
+ const v8_system_enums_formatted_document = "\u0442\u0438\u043F\u0444\u0430\u0439\u043B\u0430\u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 ";
+ const v8_system_enums_query = "\u043E\u0431\u0445\u043E\u0434\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0437\u0430\u043F\u0438\u0441\u0438\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ";
+ const v8_system_enums_report_builder = "\u0432\u0438\u0434\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u044F\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0438\u0442\u043E\u0433\u043E\u0432 ";
+ const v8_system_enums_files = "\u0434\u043E\u0441\u0442\u0443\u043F\u043A\u0444\u0430\u0439\u043B\u0443 \u0440\u0435\u0436\u0438\u043C\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u0432\u044B\u0431\u043E\u0440\u0430\u0444\u0430\u0439\u043B\u0430 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0444\u0430\u0439\u043B\u0430 ";
+ const v8_system_enums_query_builder = "\u0442\u0438\u043F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u044F\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ";
+ const v8_system_enums_data_analysis = "\u0432\u0438\u0434\u0434\u0430\u043D\u043D\u044B\u0445\u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043C\u0435\u0442\u043E\u0434\u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0438\u043F\u0435\u0434\u0438\u043D\u0438\u0446\u044B\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430\u0432\u0440\u0435\u043C\u0435\u043D\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0447\u0438\u0441\u043B\u043E\u0432\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u0430\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u0434\u0435\u0440\u0435\u0432\u043E\u0440\u0435\u0448\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044F \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0430\u044F\u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u043C\u043E\u0434\u0435\u043B\u0438\u043F\u0440\u043E\u0433\u043D\u043E\u0437\u0430 \u0442\u0438\u043F\u043C\u0435\u0440\u044B\u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u044F\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043E\u0442\u0441\u0435\u0447\u0435\u043D\u0438\u044F\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0438 \u0442\u0438\u043F\u043F\u043E\u043B\u044F\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u043D\u0438\u044F\u0448\u0430\u0431\u043B\u043E\u043D\u043E\u0432\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u0440\u043E\u0449\u0435\u043D\u0438\u044F\u0434\u0435\u0440\u0435\u0432\u0430\u0440\u0435\u0448\u0435\u043D\u0438\u0439 ";
+ const v8_system_enums_xml_json_xs_dom_xdto_ws = "ws\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0432\u0430\u0440\u0438\u0430\u043D\u0442xpathxs \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0437\u0430\u043F\u0438\u0441\u0438\u0434\u0430\u0442\u044Bjson \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0432\u0438\u0434\u0433\u0440\u0443\u043F\u043F\u044B\u043C\u043E\u0434\u0435\u043B\u0438xs \u0432\u0438\u0434\u0444\u0430\u0441\u0435\u0442\u0430xdto \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044Fdom \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u043D\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u0441\u0445\u0435\u043C\u044Bxs \u0437\u0430\u043F\u0440\u0435\u0449\u0435\u043D\u043D\u044B\u0435\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u0438\u0434\u0435\u043D\u0442\u0438\u0447\u043D\u043E\u0441\u0442\u0438xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0438\u043C\u0435\u043Dxs \u043C\u0435\u0442\u043E\u0434\u043D\u0430\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044Fxs \u043C\u043E\u0434\u0435\u043B\u044C\u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043Exs \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0442\u0438\u043F\u0430xml \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0445\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432xs \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043Exs \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u043E\u0442\u0431\u043E\u0440\u0430\u0443\u0437\u043B\u043E\u0432dom \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0441\u0442\u0440\u043E\u043Ajson \u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0432\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0435dom \u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u044Bxml \u0442\u0438\u043F\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xml \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fjson \u0442\u0438\u043F\u043A\u0430\u043D\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043Exml \u0442\u0438\u043F\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044Bxs \u0442\u0438\u043F\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438xml \u0442\u0438\u043F\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430domxpath \u0442\u0438\u043F\u0443\u0437\u043B\u0430dom \u0442\u0438\u043F\u0443\u0437\u043B\u0430xml \u0444\u043E\u0440\u043C\u0430xml \u0444\u043E\u0440\u043C\u0430\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044Fxs \u0444\u043E\u0440\u043C\u0430\u0442\u0434\u0430\u0442\u044Bjson \u044D\u043A\u0440\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432json ";
+ const v8_system_enums_data_composition_system = "\u0432\u0438\u0434\u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u0435\u0439\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0441\u043A\u043E\u0433\u043E\u043E\u0441\u0442\u0430\u0442\u043A\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0432\u044B\u0432\u043E\u0434\u0430\u0442\u0435\u043A\u0441\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0433\u0440\u0443\u043F\u043F\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u043E\u0442\u0431\u043E\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u043F\u043E\u043B\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043E\u0441\u0442\u0430\u0442\u043A\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0441\u0432\u044F\u0437\u0438\u043D\u0430\u0431\u043E\u0440\u043E\u0432\u0434\u0430\u043D\u043D\u044B\u0445\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043B\u0435\u0433\u0435\u043D\u0434\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0430\u0432\u0442\u043E\u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0444\u0438\u043A\u0441\u0430\u0446\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0443\u0441\u043B\u043E\u0432\u043D\u043E\u0433\u043E\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 ";
+ const v8_system_enums_email = "\u0432\u0430\u0436\u043D\u043E\u0441\u0442\u044C\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0442\u0435\u043A\u0441\u0442\u0430\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0432\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043D\u0435ascii\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0442\u0435\u043A\u0441\u0442\u0430\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0440\u0430\u0437\u0431\u043E\u0440\u0430\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F ";
+ const v8_system_enums_logbook = "\u0440\u0435\u0436\u0438\u043C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438\u0437\u0430\u043F\u0438\u0441\u0438\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438\u0437\u0430\u043F\u0438\u0441\u0438\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 ";
+ const v8_system_enums_cryptography = "\u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0430\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0442\u0438\u043F\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 ";
+ const v8_system_enums_zip = "\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430\u0438\u043C\u0435\u043D\u0444\u0430\u0439\u043B\u043E\u0432\u0432zip\u0444\u0430\u0439\u043B\u0435 \u043C\u0435\u0442\u043E\u0434\u0441\u0436\u0430\u0442\u0438\u044Fzip \u043C\u0435\u0442\u043E\u0434\u0448\u0438\u0444\u0440\u043E\u0432\u0430\u043D\u0438\u044Fzip \u0440\u0435\u0436\u0438\u043C\u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0443\u0442\u0435\u0439\u0444\u0430\u0439\u043B\u043E\u0432zip \u0440\u0435\u0436\u0438\u043C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u043F\u043E\u0434\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043E\u0432zip \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u043F\u0443\u0442\u0435\u0439zip \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0441\u0436\u0430\u0442\u0438\u044Fzip ";
+ const v8_system_enums_other = "\u0437\u0432\u0443\u043A\u043E\u0432\u043E\u0435\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430\u043A\u0441\u0442\u0440\u043E\u043A\u0435 \u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0432\u043F\u043E\u0442\u043E\u043A\u0435 \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u0431\u0430\u0439\u0442\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u043E\u0439\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445\u043F\u043E\u043A\u0443\u043F\u043E\u043A \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u0444\u043E\u043D\u043E\u0432\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0442\u0438\u043F\u043F\u043E\u0434\u043F\u0438\u0441\u0447\u0438\u043A\u0430\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0445\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0437\u0430\u0449\u0438\u0449\u0435\u043D\u043D\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044Fftp ";
+ const v8_system_enums_request_schema = "\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043E\u0440\u044F\u0434\u043A\u0430\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043C\u0438\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u043E\u0439\u0442\u043E\u0447\u043A\u0438\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043E\u0431\u044A\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ";
+ const v8_system_enums_properties_of_metadata_objects = "http\u043C\u0435\u0442\u043E\u0434 \u0430\u0432\u0442\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0430\u0432\u0442\u043E\u043F\u0440\u0435\u0444\u0438\u043A\u0441\u043D\u043E\u043C\u0435\u0440\u0430\u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0433\u043E\u044F\u0437\u044B\u043A\u0430 \u0432\u0438\u0434\u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0432\u0438\u0434\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u044C\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0439\u043F\u0440\u0438\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439 \u0438\u043D\u0434\u0435\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0431\u0430\u0437\u044B\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E\u0432\u044B\u0431\u043E\u0440\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0437\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u043E\u0435\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0432\u0438\u0434\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0432\u0438\u0434\u0430\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A\u0438 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0437\u0430\u0434\u0430\u0447\u0438 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043B\u0430\u043D\u0430\u043E\u0431\u043C\u0435\u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u0447\u0435\u0442\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0433\u0440\u0430\u043D\u0438\u0446\u044B\u043F\u0440\u0438\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u043D\u043E\u043C\u0435\u0440\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u043D\u043E\u043C\u0435\u0440\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u043F\u043E\u0438\u0441\u043A\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u043F\u0440\u0438\u043D\u0430\u0434\u043B\u0435\u0436\u043D\u043E\u0441\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442\u0430 \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u0438\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0438\u0441\u0438\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u044B\u0445\u0432\u044B\u0437\u043E\u0432\u043E\u0432\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B\u0438\u0432\u043D\u0435\u0448\u043D\u0438\u0445\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0433\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u044B\u0431\u043E\u0440\u0430\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u0438\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0440\u0435\u0436\u0438\u043C\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u043E\u0439\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u043F\u043B\u0430\u043D\u0430\u0441\u0447\u0435\u0442\u043E\u0432 \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043F\u043E\u0438\u0441\u043A\u0430\u0441\u0442\u0440\u043E\u043A\u0438\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0442\u0438\u043F\u0434\u0430\u043D\u043D\u044B\u0445\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043A\u043E\u0434\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u043A\u043E\u0434\u0430\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0437\u0430\u0434\u0430\u0447\u0438 \u0442\u0438\u043F\u0444\u043E\u0440\u043C\u044B \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0439 ";
+ const v8_system_enums_differents = "\u0432\u0430\u0436\u043D\u043E\u0441\u0442\u044C\u043F\u0440\u043E\u0431\u043B\u0435\u043C\u044B\u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0444\u043E\u0440\u043C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u0448\u0440\u0438\u0444\u0442\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0439\u0434\u0430\u0442\u044B\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u0438\u0434\u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0432\u0438\u0434\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0432\u0438\u0434\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0432\u0438\u0434\u0440\u0430\u043C\u043A\u0438 \u0432\u0438\u0434\u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0446\u0432\u0435\u0442\u0430 \u0432\u0438\u0434\u0447\u0438\u0441\u043B\u043E\u0432\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0448\u0440\u0438\u0444\u0442\u0430 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0430\u044F\u0434\u043B\u0438\u043D\u0430 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439\u0437\u043D\u0430\u043A \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435byteordermark \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0430 \u043A\u043E\u0434\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430\u0434\u0438\u0430\u043B\u043E\u0433\u0430 \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430xbase \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430\u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043E\u0438\u0441\u043A\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0438\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0430\u043D\u0435\u043B\u0438\u0440\u0430\u0437\u0434\u0435\u043B\u043E\u0432 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u0432\u043E\u043F\u0440\u043E\u0441 \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0443\u0441\u043A\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u043A\u0440\u0443\u0433\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0444\u043E\u0440\u043C\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u044B\u0431\u043E\u0440\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0430windows \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0442\u0440\u043E\u043A\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u0442\u0438\u043F\u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B \u0442\u0438\u043F\u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F\u043A\u043B\u0430\u0432\u0438\u0448\u0438enter \u0442\u0438\u043F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438\u043E\u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0438\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0438\u0437\u043E\u043B\u044F\u0446\u0438\u0438\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0439 \u0445\u0435\u0448\u0444\u0443\u043D\u043A\u0446\u0438\u044F \u0447\u0430\u0441\u0442\u0438\u0434\u0430\u0442\u044B";
+ const CLASS = v8_system_sets_of_values + v8_system_enums_interface + v8_system_enums_objects_properties + v8_system_enums_exchange_plans + v8_system_enums_tabular_document + v8_system_enums_sheduler + v8_system_enums_formatted_document + v8_system_enums_query + v8_system_enums_report_builder + v8_system_enums_files + v8_system_enums_query_builder + v8_system_enums_data_analysis + v8_system_enums_xml_json_xs_dom_xdto_ws + v8_system_enums_data_composition_system + v8_system_enums_email + v8_system_enums_logbook + v8_system_enums_cryptography + v8_system_enums_zip + v8_system_enums_other + v8_system_enums_request_schema + v8_system_enums_properties_of_metadata_objects + v8_system_enums_differents;
+ const v8_shared_object = "com\u043E\u0431\u044A\u0435\u043A\u0442 ftp\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 http\u0437\u0430\u043F\u0440\u043E\u0441 http\u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0442\u0432\u0435\u0442 http\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 ws\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F ws\u043F\u0440\u043E\u043A\u0441\u0438 xbase \u0430\u043D\u0430\u043B\u0438\u0437\u0434\u0430\u043D\u043D\u044B\u0445 \u0430\u043D\u043D\u043E\u0442\u0430\u0446\u0438\u044Fxs \u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0443\u0444\u0435\u0440\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435xs \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0445\u0447\u0438\u0441\u0435\u043B \u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0430\u044F\u0441\u0445\u0435\u043C\u0430 \u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0438\u0435\u043A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0442\u044B \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0430\u044F\u0441\u0445\u0435\u043C\u0430 \u0433\u0440\u0443\u043F\u043F\u0430\u043C\u043E\u0434\u0435\u043B\u0438xs \u0434\u0430\u043D\u043D\u044B\u0435\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0435\u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430\u0433\u0430\u043D\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0444\u0430\u0439\u043B\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0446\u0432\u0435\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0448\u0440\u0438\u0444\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0440\u0430\u0441\u043F\u0438\u0441\u0430\u043D\u0438\u044F\u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u0438\u0430\u043B\u043E\u0433\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442dom \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442html \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044Fxs \u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u043E\u0435\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u043F\u0438\u0441\u044Cdom \u0437\u0430\u043F\u0438\u0441\u044Cfastinfoset \u0437\u0430\u043F\u0438\u0441\u044Chtml \u0437\u0430\u043F\u0438\u0441\u044Cjson \u0437\u0430\u043F\u0438\u0441\u044Cxml \u0437\u0430\u043F\u0438\u0441\u044Czip\u0444\u0430\u0439\u043B\u0430 \u0437\u0430\u043F\u0438\u0441\u044C\u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u044C\u0442\u0435\u043A\u0441\u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u044C\u0443\u0437\u043B\u043E\u0432dom \u0437\u0430\u043F\u0440\u043E\u0441 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u043D\u043E\u0435\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435openssl \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u0435\u0439\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430 \u0438\u043C\u043F\u043E\u0440\u0442xs \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u0430 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0435\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u044B\u0439\u043F\u0440\u043E\u0444\u0438\u043B\u044C \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u0440\u043E\u043A\u0441\u0438 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u0434\u043B\u044F\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044Fxs \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0442\u0435\u0440\u0430\u0442\u043E\u0440\u0443\u0437\u043B\u043E\u0432dom \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0434\u0430\u0442\u044B \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0441\u0442\u0440\u043E\u043A\u0438 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0447\u0438\u0441\u043B\u0430 \u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u0449\u0438\u043A\u043C\u0430\u043A\u0435\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u0449\u0438\u043A\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u043C\u0430\u043A\u0435\u0442\u0430\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0444\u043E\u0440\u043C\u0430\u0442\u043D\u043E\u0439\u0441\u0442\u0440\u043E\u043A\u0438 \u043B\u0438\u043D\u0438\u044F \u043C\u0430\u043A\u0435\u0442\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u043A\u0435\u0442\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u043A\u0435\u0442\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u0441\u043A\u0430xs \u043C\u0435\u043D\u0435\u0434\u0436\u0435\u0440\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u043D\u0430\u0431\u043E\u0440\u0441\u0445\u0435\u043Cxml \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438json \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0431\u0445\u043E\u0434\u0434\u0435\u0440\u0435\u0432\u0430dom \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u043D\u043E\u0442\u0430\u0446\u0438\u0438xs \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430xs \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0434\u043E\u0441\u0442\u0443\u043F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u043E\u0442\u043A\u0430\u0437\u0432\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043C\u043E\u0433\u043E\u0444\u0430\u0439\u043B\u0430 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0442\u0438\u043F\u043E\u0432 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043E\u0432xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u043C\u043E\u0434\u0435\u043B\u0438xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u0438\u0434\u0435\u043D\u0442\u0438\u0447\u043D\u043E\u0441\u0442\u0438xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0441\u0442\u0430\u0432\u043D\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0442\u0438\u043F\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430dom \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044Fxpathxs \u043E\u0442\u0431\u043E\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u043A\u0435\u0442\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0437\u0430\u043F\u0438\u0441\u0438json \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0437\u0430\u043F\u0438\u0441\u0438xml \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0447\u0442\u0435\u043D\u0438\u044Fxml \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435xs \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0449\u0438\u043A \u043F\u043E\u043B\u0435\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044Cdom \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u043E\u0442\u0447\u0435\u0442\u0430 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u043E\u0442\u0447\u0435\u0442\u0430\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u0441\u0445\u0435\u043Cxml \u043F\u043E\u0442\u043E\u043A \u043F\u043E\u0442\u043E\u043A\u0432\u043F\u0430\u043C\u044F\u0442\u0438 \u043F\u043E\u0447\u0442\u0430 \u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0435\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435xsl \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043A\u043A\u0430\u043D\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u043C\u0443xml \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u0432\u044B\u0432\u043E\u0434\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u043A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u044E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u0432\u044B\u0432\u043E\u0434\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0437\u044B\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0438\u043C\u0435\u043Ddom \u0440\u0430\u043C\u043A\u0430 \u0440\u0430\u0441\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u043E\u0435\u0438\u043C\u044Fxml \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0447\u0442\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0432\u043E\u0434\u043D\u0430\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0441\u0432\u044F\u0437\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0432\u044F\u0437\u044C\u043F\u043E\u0442\u0438\u043F\u0443 \u0441\u0432\u044F\u0437\u044C\u043F\u043E\u0442\u0438\u043F\u0443\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0442\u043E\u0440xdto \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u043B\u0438\u0435\u043D\u0442\u0430windows \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u0444\u0430\u0439\u043B \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u044B\u0443\u0434\u043E\u0441\u0442\u043E\u0432\u0435\u0440\u044F\u044E\u0449\u0438\u0445\u0446\u0435\u043D\u0442\u0440\u043E\u0432windows \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u044B\u0443\u0434\u043E\u0441\u0442\u043E\u0432\u0435\u0440\u044F\u044E\u0449\u0438\u0445\u0446\u0435\u043D\u0442\u0440\u043E\u0432\u0444\u0430\u0439\u043B \u0441\u0436\u0430\u0442\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u0430\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435\u043A\u043B\u0430\u0432\u0438\u0448 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u0430\u044F\u0434\u0430\u0442\u0430\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0439\u043F\u0435\u0440\u0438\u043E\u0434 \u0441\u0445\u0435\u043C\u0430xml \u0441\u0445\u0435\u043C\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0430\u0431\u043B\u0438\u0447\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043C\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u0438\u043F\u0434\u0430\u043D\u043D\u044B\u0445xml \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0439\u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0444\u0430\u0431\u0440\u0438\u043A\u0430xdto \u0444\u0430\u0439\u043B \u0444\u0430\u0439\u043B\u043E\u0432\u044B\u0439\u043F\u043E\u0442\u043E\u043A \u0444\u0430\u0441\u0435\u0442\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0430\u0440\u0430\u0437\u0440\u044F\u0434\u043E\u0432\u0434\u0440\u043E\u0431\u043D\u043E\u0439\u0447\u0430\u0441\u0442\u0438xs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0438\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0439\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0438\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0439\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043E\u0431\u0440\u0430\u0437\u0446\u0430xs \u0444\u0430\u0441\u0435\u0442\u043E\u0431\u0449\u0435\u0433\u043E\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0430\u0440\u0430\u0437\u0440\u044F\u0434\u043E\u0432xs \u0444\u0430\u0441\u0435\u0442\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0445\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432xs \u0444\u0438\u043B\u044C\u0442\u0440\u0443\u0437\u043B\u043E\u0432dom \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F\u0441\u0442\u0440\u043E\u043A\u0430 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442xs \u0445\u0435\u0448\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0446\u0432\u0435\u0442 \u0447\u0442\u0435\u043D\u0438\u0435fastinfoset \u0447\u0442\u0435\u043D\u0438\u0435html \u0447\u0442\u0435\u043D\u0438\u0435json \u0447\u0442\u0435\u043D\u0438\u0435xml \u0447\u0442\u0435\u043D\u0438\u0435zip\u0444\u0430\u0439\u043B\u0430 \u0447\u0442\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0447\u0442\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430 \u0447\u0442\u0435\u043D\u0438\u0435\u0443\u0437\u043B\u043E\u0432dom \u0448\u0440\u0438\u0444\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 ";
+ const v8_universal_collection = "comsafearray \u0434\u0435\u0440\u0435\u0432\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043C\u0430\u0441\u0441\u0438\u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441\u043F\u0438\u0441\u043E\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u043C\u0430\u0441\u0441\u0438\u0432 ";
+ const TYPE = v8_shared_object + v8_universal_collection;
+ const LITERAL = "null \u0438\u0441\u0442\u0438\u043D\u0430 \u043B\u043E\u0436\u044C \u043D\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E";
+ const NUMBERS = hljs.inherit(hljs.NUMBER_MODE);
+ const STRINGS = {
+ className: "string",
+ begin: '"|\\|',
+ end: '"|$',
+ contains: [{ begin: '""' }]
+ };
+ const DATE = {
+ begin: "'",
+ end: "'",
+ excludeBegin: true,
+ excludeEnd: true,
+ contains: [
+ {
+ className: "number",
+ begin: "\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"
+ }
+ ]
+ };
+ const PUNCTUATION = {
+ match: /[;()+\-:=,]/,
+ className: "punctuation",
+ relevance: 0
+ };
+ const COMMENTS = hljs.inherit(hljs.C_LINE_COMMENT_MODE);
+ const META = {
+ className: "meta",
+ begin: "#|&",
+ end: "$",
+ keywords: {
+ $pattern: UNDERSCORE_IDENT_RE,
+ keyword: KEYWORD + METAKEYWORD
+ },
+ contains: [COMMENTS]
+ };
+ const SYMBOL = {
+ className: "symbol",
+ begin: "~",
+ end: ";|:",
+ excludeEnd: true
+ };
+ const FUNCTION = {
+ className: "function",
+ variants: [
+ {
+ begin: "\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0430|\u0444\u0443\u043D\u043A\u0446\u0438\u044F",
+ end: "\\)",
+ keywords: "\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0430 \u0444\u0443\u043D\u043A\u0446\u0438\u044F"
+ },
+ {
+ begin: "\u043A\u043E\u043D\u0435\u0446\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B|\u043A\u043E\u043D\u0435\u0446\u0444\u0443\u043D\u043A\u0446\u0438\u0438",
+ keywords: "\u043A\u043E\u043D\u0435\u0446\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u043A\u043E\u043D\u0435\u0446\u0444\u0443\u043D\u043A\u0446\u0438\u0438"
+ }
+ ],
+ contains: [
+ {
+ begin: "\\(",
+ end: "\\)",
+ endsParent: true,
+ contains: [
+ {
+ className: "params",
+ begin: UNDERSCORE_IDENT_RE,
+ end: ",",
+ excludeEnd: true,
+ endsWithParent: true,
+ keywords: {
+ $pattern: UNDERSCORE_IDENT_RE,
+ keyword: "\u0437\u043D\u0430\u0447",
+ literal: LITERAL
+ },
+ contains: [
+ NUMBERS,
+ STRINGS,
+ DATE
+ ]
+ },
+ COMMENTS
+ ]
+ },
+ hljs.inherit(hljs.TITLE_MODE, { begin: UNDERSCORE_IDENT_RE })
+ ]
+ };
+ return {
+ name: "1C:Enterprise",
+ case_insensitive: true,
+ keywords: {
+ $pattern: UNDERSCORE_IDENT_RE,
+ keyword: KEYWORD,
+ built_in: BUILTIN,
+ class: CLASS,
+ type: TYPE,
+ literal: LITERAL
+ },
+ contains: [
+ META,
+ FUNCTION,
+ COMMENTS,
+ SYMBOL,
+ NUMBERS,
+ STRINGS,
+ DATE,
+ PUNCTUATION
+ ]
+ };
+ }
+ module.exports = _1c;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/abnf.js
+ var require_abnf = __commonJS({
+ "node_modules/highlight.js/lib/languages/abnf.js"(exports, module) {
+ function abnf(hljs) {
+ const regex = hljs.regex;
+ const IDENT = /^[a-zA-Z][a-zA-Z0-9-]*/;
+ const KEYWORDS = [
+ "ALPHA",
+ "BIT",
+ "CHAR",
+ "CR",
+ "CRLF",
+ "CTL",
+ "DIGIT",
+ "DQUOTE",
+ "HEXDIG",
+ "HTAB",
+ "LF",
+ "LWSP",
+ "OCTET",
+ "SP",
+ "VCHAR",
+ "WSP"
+ ];
+ const COMMENT = hljs.COMMENT(/;/, /$/);
+ const TERMINAL_BINARY = {
+ scope: "symbol",
+ match: /%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/
+ };
+ const TERMINAL_DECIMAL = {
+ scope: "symbol",
+ match: /%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/
+ };
+ const TERMINAL_HEXADECIMAL = {
+ scope: "symbol",
+ match: /%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/
+ };
+ const CASE_SENSITIVITY = {
+ scope: "symbol",
+ match: /%[si](?=".*")/
+ };
+ const RULE_DECLARATION = {
+ scope: "attribute",
+ match: regex.concat(IDENT, /(?=\s*=)/)
+ };
+ const ASSIGNMENT = {
+ scope: "operator",
+ match: /=\/?/
+ };
+ return {
+ name: "Augmented Backus-Naur Form",
+ illegal: /[!@#$^&',?+~`|:]/,
+ keywords: KEYWORDS,
+ contains: [
+ ASSIGNMENT,
+ RULE_DECLARATION,
+ COMMENT,
+ TERMINAL_BINARY,
+ TERMINAL_DECIMAL,
+ TERMINAL_HEXADECIMAL,
+ CASE_SENSITIVITY,
+ hljs.QUOTE_STRING_MODE,
+ hljs.NUMBER_MODE
+ ]
+ };
+ }
+ module.exports = abnf;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/accesslog.js
+ var require_accesslog = __commonJS({
+ "node_modules/highlight.js/lib/languages/accesslog.js"(exports, module) {
+ function accesslog(hljs) {
+ const regex = hljs.regex;
+ const HTTP_VERBS = [
+ "GET",
+ "POST",
+ "HEAD",
+ "PUT",
+ "DELETE",
+ "CONNECT",
+ "OPTIONS",
+ "PATCH",
+ "TRACE"
+ ];
+ return {
+ name: "Apache Access Log",
+ contains: [
+ // IP
+ {
+ className: "number",
+ begin: /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,
+ relevance: 5
+ },
+ // Other numbers
+ {
+ className: "number",
+ begin: /\b\d+\b/,
+ relevance: 0
+ },
+ // Requests
+ {
+ className: "string",
+ begin: regex.concat(/"/, regex.either(...HTTP_VERBS)),
+ end: /"/,
+ keywords: HTTP_VERBS,
+ illegal: /\n/,
+ relevance: 5,
+ contains: [
+ {
+ begin: /HTTP\/[12]\.\d'/,
+ relevance: 5
+ }
+ ]
+ },
+ // Dates
+ {
+ className: "string",
+ // dates must have a certain length, this prevents matching
+ // simple array accesses a[123] and [] and other common patterns
+ // found in other languages
+ begin: /\[\d[^\]\n]{8,}\]/,
+ illegal: /\n/,
+ relevance: 1
+ },
+ {
+ className: "string",
+ begin: /\[/,
+ end: /\]/,
+ illegal: /\n/,
+ relevance: 0
+ },
+ // User agent / relevance boost
+ {
+ className: "string",
+ begin: /"Mozilla\/\d\.\d \(/,
+ end: /"/,
+ illegal: /\n/,
+ relevance: 3
+ },
+ // Strings
+ {
+ className: "string",
+ begin: /"/,
+ end: /"/,
+ illegal: /\n/,
+ relevance: 0
+ }
+ ]
+ };
+ }
+ module.exports = accesslog;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/actionscript.js
+ var require_actionscript = __commonJS({
+ "node_modules/highlight.js/lib/languages/actionscript.js"(exports, module) {
+ function actionscript(hljs) {
+ const regex = hljs.regex;
+ const IDENT_RE = /[a-zA-Z_$][a-zA-Z0-9_$]*/;
+ const PKG_NAME_RE = regex.concat(
+ IDENT_RE,
+ regex.concat("(\\.", IDENT_RE, ")*")
+ );
+ const IDENT_FUNC_RETURN_TYPE_RE = /([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/;
+ const AS3_REST_ARG_MODE = {
+ className: "rest_arg",
+ begin: /[.]{3}/,
+ end: IDENT_RE,
+ relevance: 10
+ };
+ const KEYWORDS = [
+ "as",
+ "break",
+ "case",
+ "catch",
+ "class",
+ "const",
+ "continue",
+ "default",
+ "delete",
+ "do",
+ "dynamic",
+ "each",
+ "else",
+ "extends",
+ "final",
+ "finally",
+ "for",
+ "function",
+ "get",
+ "if",
+ "implements",
+ "import",
+ "in",
+ "include",
+ "instanceof",
+ "interface",
+ "internal",
+ "is",
+ "namespace",
+ "native",
+ "new",
+ "override",
+ "package",
+ "private",
+ "protected",
+ "public",
+ "return",
+ "set",
+ "static",
+ "super",
+ "switch",
+ "this",
+ "throw",
+ "try",
+ "typeof",
+ "use",
+ "var",
+ "void",
+ "while",
+ "with"
+ ];
+ const LITERALS = [
+ "true",
+ "false",
+ "null",
+ "undefined"
+ ];
+ return {
+ name: "ActionScript",
+ aliases: ["as"],
+ keywords: {
+ keyword: KEYWORDS,
+ literal: LITERALS
+ },
+ contains: [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.C_NUMBER_MODE,
+ {
+ match: [
+ /\bpackage/,
+ /\s+/,
+ PKG_NAME_RE
+ ],
+ className: {
+ 1: "keyword",
+ 3: "title.class"
+ }
+ },
+ {
+ match: [
+ /\b(?:class|interface|extends|implements)/,
+ /\s+/,
+ IDENT_RE
+ ],
+ className: {
+ 1: "keyword",
+ 3: "title.class"
+ }
+ },
+ {
+ className: "meta",
+ beginKeywords: "import include",
+ end: /;/,
+ keywords: { keyword: "import include" }
+ },
+ {
+ beginKeywords: "function",
+ end: /[{;]/,
+ excludeEnd: true,
+ illegal: /\S/,
+ contains: [
+ hljs.inherit(hljs.TITLE_MODE, { className: "title.function" }),
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ contains: [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ AS3_REST_ARG_MODE
+ ]
+ },
+ { begin: regex.concat(/:\s*/, IDENT_FUNC_RETURN_TYPE_RE) }
+ ]
+ },
+ hljs.METHOD_GUARD
+ ],
+ illegal: /#/
+ };
+ }
+ module.exports = actionscript;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/ada.js
+ var require_ada = __commonJS({
+ "node_modules/highlight.js/lib/languages/ada.js"(exports, module) {
+ function ada(hljs) {
+ const INTEGER_RE = "\\d(_|\\d)*";
+ const EXPONENT_RE = "[eE][-+]?" + INTEGER_RE;
+ const DECIMAL_LITERAL_RE = INTEGER_RE + "(\\." + INTEGER_RE + ")?(" + EXPONENT_RE + ")?";
+ const BASED_INTEGER_RE = "\\w+";
+ const BASED_LITERAL_RE = INTEGER_RE + "#" + BASED_INTEGER_RE + "(\\." + BASED_INTEGER_RE + ")?#(" + EXPONENT_RE + ")?";
+ const NUMBER_RE = "\\b(" + BASED_LITERAL_RE + "|" + DECIMAL_LITERAL_RE + ")";
+ const ID_REGEX = "[A-Za-z](_?[A-Za-z0-9.])*";
+ const BAD_CHARS = `[]\\{\\}%#'"`;
+ const COMMENTS = hljs.COMMENT("--", "$");
+ const VAR_DECLS = {
+ // TODO: These spaces are not required by the Ada syntax
+ // however, I have yet to see handwritten Ada code where
+ // someone does not put spaces around :
+ begin: "\\s+:\\s+",
+ end: "\\s*(:=|;|\\)|=>|$)",
+ // endsWithParent: true,
+ // returnBegin: true,
+ illegal: BAD_CHARS,
+ contains: [
+ {
+ // workaround to avoid highlighting
+ // named loops and declare blocks
+ beginKeywords: "loop for declare others",
+ endsParent: true
+ },
+ {
+ // properly highlight all modifiers
+ className: "keyword",
+ beginKeywords: "not null constant access function procedure in out aliased exception"
+ },
+ {
+ className: "type",
+ begin: ID_REGEX,
+ endsParent: true,
+ relevance: 0
+ }
+ ]
+ };
+ const KEYWORDS = [
+ "abort",
+ "else",
+ "new",
+ "return",
+ "abs",
+ "elsif",
+ "not",
+ "reverse",
+ "abstract",
+ "end",
+ "accept",
+ "entry",
+ "select",
+ "access",
+ "exception",
+ "of",
+ "separate",
+ "aliased",
+ "exit",
+ "or",
+ "some",
+ "all",
+ "others",
+ "subtype",
+ "and",
+ "for",
+ "out",
+ "synchronized",
+ "array",
+ "function",
+ "overriding",
+ "at",
+ "tagged",
+ "generic",
+ "package",
+ "task",
+ "begin",
+ "goto",
+ "pragma",
+ "terminate",
+ "body",
+ "private",
+ "then",
+ "if",
+ "procedure",
+ "type",
+ "case",
+ "in",
+ "protected",
+ "constant",
+ "interface",
+ "is",
+ "raise",
+ "use",
+ "declare",
+ "range",
+ "delay",
+ "limited",
+ "record",
+ "when",
+ "delta",
+ "loop",
+ "rem",
+ "while",
+ "digits",
+ "renames",
+ "with",
+ "do",
+ "mod",
+ "requeue",
+ "xor"
+ ];
+ return {
+ name: "Ada",
+ case_insensitive: true,
+ keywords: {
+ keyword: KEYWORDS,
+ literal: [
+ "True",
+ "False"
+ ]
+ },
+ contains: [
+ COMMENTS,
+ // strings "foobar"
+ {
+ className: "string",
+ begin: /"/,
+ end: /"/,
+ contains: [
+ {
+ begin: /""/,
+ relevance: 0
+ }
+ ]
+ },
+ // characters ''
+ {
+ // character literals always contain one char
+ className: "string",
+ begin: /'.'/
+ },
+ {
+ // number literals
+ className: "number",
+ begin: NUMBER_RE,
+ relevance: 0
+ },
+ {
+ // Attributes
+ className: "symbol",
+ begin: "'" + ID_REGEX
+ },
+ {
+ // package definition, maybe inside generic
+ className: "title",
+ begin: "(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",
+ end: "(is|$)",
+ keywords: "package body",
+ excludeBegin: true,
+ excludeEnd: true,
+ illegal: BAD_CHARS
+ },
+ {
+ // function/procedure declaration/definition
+ // maybe inside generic
+ begin: "(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",
+ end: "(\\bis|\\bwith|\\brenames|\\)\\s*;)",
+ keywords: "overriding function procedure with is renames return",
+ // we need to re-match the 'function' keyword, so that
+ // the title mode below matches only exactly once
+ returnBegin: true,
+ contains: [
+ COMMENTS,
+ {
+ // name of the function/procedure
+ className: "title",
+ begin: "(\\bwith\\s+)?\\b(function|procedure)\\s+",
+ end: "(\\(|\\s+|$)",
+ excludeBegin: true,
+ excludeEnd: true,
+ illegal: BAD_CHARS
+ },
+ // 'self'
+ // // parameter types
+ VAR_DECLS,
+ {
+ // return type
+ className: "type",
+ begin: "\\breturn\\s+",
+ end: "(\\s+|;|$)",
+ keywords: "return",
+ excludeBegin: true,
+ excludeEnd: true,
+ // we are done with functions
+ endsParent: true,
+ illegal: BAD_CHARS
+ }
+ ]
+ },
+ {
+ // new type declarations
+ // maybe inside generic
+ className: "type",
+ begin: "\\b(sub)?type\\s+",
+ end: "\\s+",
+ keywords: "type",
+ excludeBegin: true,
+ illegal: BAD_CHARS
+ },
+ // see comment above the definition
+ VAR_DECLS
+ // no markup
+ // relevance boosters for small snippets
+ // {begin: '\\s*=>\\s*'},
+ // {begin: '\\s*:=\\s*'},
+ // {begin: '\\s+:=\\s+'},
+ ]
+ };
+ }
+ module.exports = ada;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/angelscript.js
+ var require_angelscript = __commonJS({
+ "node_modules/highlight.js/lib/languages/angelscript.js"(exports, module) {
+ function angelscript(hljs) {
+ const builtInTypeMode = {
+ className: "built_in",
+ begin: "\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"
+ };
+ const objectHandleMode = {
+ className: "symbol",
+ begin: "[a-zA-Z0-9_]+@"
+ };
+ const genericMode = {
+ className: "keyword",
+ begin: "<",
+ end: ">",
+ contains: [
+ builtInTypeMode,
+ objectHandleMode
+ ]
+ };
+ builtInTypeMode.contains = [genericMode];
+ objectHandleMode.contains = [genericMode];
+ const KEYWORDS = [
+ "for",
+ "in|0",
+ "break",
+ "continue",
+ "while",
+ "do|0",
+ "return",
+ "if",
+ "else",
+ "case",
+ "switch",
+ "namespace",
+ "is",
+ "cast",
+ "or",
+ "and",
+ "xor",
+ "not",
+ "get|0",
+ "in",
+ "inout|10",
+ "out",
+ "override",
+ "set|0",
+ "private",
+ "public",
+ "const",
+ "default|0",
+ "final",
+ "shared",
+ "external",
+ "mixin|10",
+ "enum",
+ "typedef",
+ "funcdef",
+ "this",
+ "super",
+ "import",
+ "from",
+ "interface",
+ "abstract|0",
+ "try",
+ "catch",
+ "protected",
+ "explicit",
+ "property"
+ ];
+ return {
+ name: "AngelScript",
+ aliases: ["asc"],
+ keywords: KEYWORDS,
+ // avoid close detection with C# and JS
+ illegal: "(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",
+ contains: [
+ {
+ // 'strings'
+ className: "string",
+ begin: "'",
+ end: "'",
+ illegal: "\\n",
+ contains: [hljs.BACKSLASH_ESCAPE],
+ relevance: 0
+ },
+ // """heredoc strings"""
+ {
+ className: "string",
+ begin: '"""',
+ end: '"""'
+ },
+ {
+ // "strings"
+ className: "string",
+ begin: '"',
+ end: '"',
+ illegal: "\\n",
+ contains: [hljs.BACKSLASH_ESCAPE],
+ relevance: 0
+ },
+ hljs.C_LINE_COMMENT_MODE,
+ // single-line comments
+ hljs.C_BLOCK_COMMENT_MODE,
+ // comment blocks
+ {
+ // metadata
+ className: "string",
+ begin: "^\\s*\\[",
+ end: "\\]"
+ },
+ {
+ // interface or namespace declaration
+ beginKeywords: "interface namespace",
+ end: /\{/,
+ illegal: "[;.\\-]",
+ contains: [
+ {
+ // interface or namespace name
+ className: "symbol",
+ begin: "[a-zA-Z0-9_]+"
+ }
+ ]
+ },
+ {
+ // class declaration
+ beginKeywords: "class",
+ end: /\{/,
+ illegal: "[;.\\-]",
+ contains: [
+ {
+ // class name
+ className: "symbol",
+ begin: "[a-zA-Z0-9_]+",
+ contains: [
+ {
+ begin: "[:,]\\s*",
+ contains: [
+ {
+ className: "symbol",
+ begin: "[a-zA-Z0-9_]+"
+ }
+ ]
}
- }
+ ]
+ }
+ ]
+ },
+ builtInTypeMode,
+ // built-in types
+ objectHandleMode,
+ // object handles
+ {
+ // literals
+ className: "literal",
+ begin: "\\b(null|true|false)"
+ },
+ {
+ // numbers
+ className: "number",
+ relevance: 0,
+ begin: "(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"
+ }
+ ]
+ };
+ }
+ module.exports = angelscript;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/apache.js
+ var require_apache = __commonJS({
+ "node_modules/highlight.js/lib/languages/apache.js"(exports, module) {
+ function apache(hljs) {
+ const NUMBER_REF = {
+ className: "number",
+ begin: /[$%]\d+/
+ };
+ const NUMBER = {
+ className: "number",
+ begin: /\b\d+/
+ };
+ const IP_ADDRESS = {
+ className: "number",
+ begin: /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/
+ };
+ const PORT_NUMBER = {
+ className: "number",
+ begin: /:\d{1,5}/
+ };
+ return {
+ name: "Apache config",
+ aliases: ["apacheconf"],
+ case_insensitive: true,
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ {
+ className: "section",
+ begin: /<\/?/,
+ end: />/,
+ contains: [
+ IP_ADDRESS,
+ PORT_NUMBER,
+ // low relevance prevents us from claming XML/HTML where this rule would
+ // match strings inside of XML tags
+ hljs.inherit(hljs.QUOTE_STRING_MODE, { relevance: 0 })
+ ]
+ },
+ {
+ className: "attribute",
+ begin: /\w+/,
+ relevance: 0,
+ // keywords aren’t needed for highlighting per se, they only boost relevance
+ // for a very generally defined mode (starts with a word, ends with line-end
+ keywords: { _: [
+ "order",
+ "deny",
+ "allow",
+ "setenv",
+ "rewriterule",
+ "rewriteengine",
+ "rewritecond",
+ "documentroot",
+ "sethandler",
+ "errordocument",
+ "loadmodule",
+ "options",
+ "header",
+ "listen",
+ "serverroot",
+ "servername"
+ ] },
+ starts: {
+ end: /$/,
+ relevance: 0,
+ keywords: { literal: "on off all deny allow" },
+ contains: [
+ {
+ className: "meta",
+ begin: /\s\[/,
+ end: /\]$/
+ },
+ {
+ className: "variable",
+ begin: /[\$%]\{/,
+ end: /\}/,
+ contains: [
+ "self",
+ NUMBER_REF
+ ]
+ },
+ IP_ADDRESS,
+ NUMBER,
+ hljs.QUOTE_STRING_MODE
+ ]
+ }
+ }
+ ],
+ illegal: /\S/
+ };
+ }
+ module.exports = apache;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/applescript.js
+ var require_applescript = __commonJS({
+ "node_modules/highlight.js/lib/languages/applescript.js"(exports, module) {
+ function applescript(hljs) {
+ const regex = hljs.regex;
+ const STRING = hljs.inherit(
+ hljs.QUOTE_STRING_MODE,
+ { illegal: null }
+ );
+ const PARAMS = {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ contains: [
+ "self",
+ hljs.C_NUMBER_MODE,
+ STRING
+ ]
+ };
+ const COMMENT_MODE_1 = hljs.COMMENT(/--/, /$/);
+ const COMMENT_MODE_2 = hljs.COMMENT(
+ /\(\*/,
+ /\*\)/,
+ { contains: [
+ "self",
+ // allow nesting
+ COMMENT_MODE_1
+ ] }
+ );
+ const COMMENTS = [
+ COMMENT_MODE_1,
+ COMMENT_MODE_2,
+ hljs.HASH_COMMENT_MODE
+ ];
+ const KEYWORD_PATTERNS = [
+ /apart from/,
+ /aside from/,
+ /instead of/,
+ /out of/,
+ /greater than/,
+ /isn't|(doesn't|does not) (equal|come before|come after|contain)/,
+ /(greater|less) than( or equal)?/,
+ /(starts?|ends|begins?) with/,
+ /contained by/,
+ /comes (before|after)/,
+ /a (ref|reference)/,
+ /POSIX (file|path)/,
+ /(date|time) string/,
+ /quoted form/
+ ];
+ const BUILT_IN_PATTERNS = [
+ /clipboard info/,
+ /the clipboard/,
+ /info for/,
+ /list (disks|folder)/,
+ /mount volume/,
+ /path to/,
+ /(close|open for) access/,
+ /(get|set) eof/,
+ /current date/,
+ /do shell script/,
+ /get volume settings/,
+ /random number/,
+ /set volume/,
+ /system attribute/,
+ /system info/,
+ /time to GMT/,
+ /(load|run|store) script/,
+ /scripting components/,
+ /ASCII (character|number)/,
+ /localized string/,
+ /choose (application|color|file|file name|folder|from list|remote application|URL)/,
+ /display (alert|dialog)/
+ ];
+ return {
+ name: "AppleScript",
+ aliases: ["osascript"],
+ keywords: {
+ keyword: "about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",
+ literal: "AppleScript false linefeed return pi quote result space tab true",
+ built_in: "alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"
+ },
+ contains: [
+ STRING,
+ hljs.C_NUMBER_MODE,
+ {
+ className: "built_in",
+ begin: regex.concat(
+ /\b/,
+ regex.either(...BUILT_IN_PATTERNS),
+ /\b/
+ )
+ },
+ {
+ className: "built_in",
+ begin: /^\s*return\b/
+ },
+ {
+ className: "literal",
+ begin: /\b(text item delimiters|current application|missing value)\b/
+ },
+ {
+ className: "keyword",
+ begin: regex.concat(
+ /\b/,
+ regex.either(...KEYWORD_PATTERNS),
+ /\b/
+ )
+ },
+ {
+ beginKeywords: "on",
+ illegal: /[${=;\n]/,
+ contains: [
+ hljs.UNDERSCORE_TITLE_MODE,
+ PARAMS
+ ]
+ },
+ ...COMMENTS
+ ],
+ illegal: /\/\/|->|=>|\[\[/
+ };
+ }
+ module.exports = applescript;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/arcade.js
+ var require_arcade = __commonJS({
+ "node_modules/highlight.js/lib/languages/arcade.js"(exports, module) {
+ function arcade(hljs) {
+ const regex = hljs.regex;
+ const IDENT_RE = "[A-Za-z_][0-9A-Za-z_]*";
+ const KEYWORDS = {
+ keyword: [
+ "break",
+ "case",
+ "catch",
+ "continue",
+ "debugger",
+ "do",
+ "else",
+ "export",
+ "for",
+ "function",
+ "if",
+ "import",
+ "in",
+ "new",
+ "return",
+ "switch",
+ "try",
+ "var",
+ "void",
+ "while"
+ ],
+ literal: [
+ "BackSlash",
+ "DoubleQuote",
+ "ForwardSlash",
+ "Infinity",
+ "NaN",
+ "NewLine",
+ "PI",
+ "SingleQuote",
+ "Tab",
+ "TextFormatting",
+ "false",
+ "null",
+ "true",
+ "undefined"
+ ],
+ built_in: [
+ "Abs",
+ "Acos",
+ "All",
+ "Angle",
+ "Any",
+ "Area",
+ "AreaGeodetic",
+ "Array",
+ "Asin",
+ "Atan",
+ "Atan2",
+ "Attachments",
+ "Average",
+ "Back",
+ "Bearing",
+ "Boolean",
+ "Buffer",
+ "BufferGeodetic",
+ "Ceil",
+ "Centroid",
+ "ChangeTimeZone",
+ "Clip",
+ "Concatenate",
+ "Console",
+ "Constrain",
+ "Contains",
+ "ConvertDirection",
+ "ConvexHull",
+ "Cos",
+ "Count",
+ "Crosses",
+ "Cut",
+ "Date|0",
+ "DateAdd",
+ "DateDiff",
+ "DateOnly",
+ "Day",
+ "Decode",
+ "DefaultValue",
+ "Densify",
+ "DensifyGeodetic",
+ "Dictionary",
+ "Difference",
+ "Disjoint",
+ "Distance",
+ "DistanceGeodetic",
+ "Distinct",
+ "Domain",
+ "DomainCode",
+ "DomainName",
+ "EnvelopeIntersects",
+ "Equals",
+ "Erase",
+ "Exp",
+ "Expects",
+ "Extent",
+ "Feature",
+ "FeatureSet",
+ "FeatureSetByAssociation",
+ "FeatureSetById",
+ "FeatureSetByName",
+ "FeatureSetByPortalItem",
+ "FeatureSetByRelationshipClass",
+ "FeatureSetByRelationshipName",
+ "Filter",
+ "Find",
+ "First|0",
+ "Floor",
+ "FromCharCode",
+ "FromCodePoint",
+ "FromJSON",
+ "Front",
+ "GdbVersion",
+ "Generalize",
+ "Geometry",
+ "GetEnvironment",
+ "GetFeatureSet",
+ "GetFeatureSetInfo",
+ "GetUser",
+ "GroupBy",
+ "Guid",
+ "HasKey",
+ "HasValue",
+ "Hash",
+ "Hour",
+ "IIf",
+ "ISOMonth",
+ "ISOWeek",
+ "ISOWeekday",
+ "ISOYear",
+ "Includes",
+ "IndexOf",
+ "Insert",
+ "Intersection",
+ "Intersects",
+ "IsEmpty",
+ "IsNan",
+ "IsSelfIntersecting",
+ "IsSimple",
+ "Left|0",
+ "Length",
+ "Length3D",
+ "LengthGeodetic",
+ "Log",
+ "Lower",
+ "Map",
+ "Max",
+ "Mean",
+ "Mid",
+ "Millisecond",
+ "Min",
+ "Minute",
+ "Month",
+ "MultiPartToSinglePart",
+ "Multipoint",
+ "NearestCoordinate",
+ "NearestVertex",
+ "NextSequenceValue",
+ "None",
+ "Now",
+ "Number",
+ "Offset",
+ "OrderBy",
+ "Overlaps",
+ "Point",
+ "Polygon",
+ "Polyline",
+ "Pop",
+ "Portal",
+ "Pow",
+ "Proper",
+ "Push",
+ "Random",
+ "Reduce",
+ "Relate",
+ "Replace",
+ "Resize",
+ "Reverse",
+ "Right|0",
+ "RingIsClockwise",
+ "Rotate",
+ "Round",
+ "Schema",
+ "Second",
+ "SetGeometry",
+ "Simplify",
+ "Sin",
+ "Slice",
+ "Sort",
+ "Splice",
+ "Split",
+ "Sqrt",
+ "StandardizeGuid",
+ "Stdev",
+ "SubtypeCode",
+ "SubtypeName",
+ "Subtypes",
+ "Sum",
+ "SymmetricDifference",
+ "Tan",
+ "Text",
+ "Time",
+ "TimeZone",
+ "TimeZoneOffset",
+ "Timestamp",
+ "ToCharCode",
+ "ToCodePoint",
+ "ToHex",
+ "ToLocal",
+ "ToUTC",
+ "Today",
+ "Top|0",
+ "Touches",
+ "TrackAccelerationAt",
+ "TrackAccelerationWindow",
+ "TrackCurrentAcceleration",
+ "TrackCurrentDistance",
+ "TrackCurrentSpeed",
+ "TrackCurrentTime",
+ "TrackDistanceAt",
+ "TrackDistanceWindow",
+ "TrackDuration",
+ "TrackFieldWindow",
+ "TrackGeometryWindow",
+ "TrackIndex",
+ "TrackSpeedAt",
+ "TrackSpeedWindow",
+ "TrackStartTime",
+ "TrackWindow",
+ "Trim",
+ "TypeOf",
+ "Union",
+ "Upper",
+ "UrlEncode",
+ "Variance",
+ "Week",
+ "Weekday",
+ "When|0",
+ "Within",
+ "Year|0"
+ ]
+ };
+ const PROFILE_VARS = [
+ "aggregatedFeatures",
+ "analytic",
+ "config",
+ "datapoint",
+ "datastore",
+ "editcontext",
+ "feature",
+ "featureSet",
+ "feedfeature",
+ "fencefeature",
+ "fencenotificationtype",
+ "join",
+ "layer",
+ "locationupdate",
+ "map",
+ "measure",
+ "measure",
+ "originalFeature",
+ "record",
+ "reference",
+ "rowindex",
+ "sourcedatastore",
+ "sourcefeature",
+ "sourcelayer",
+ "target",
+ "targetdatastore",
+ "targetfeature",
+ "targetlayer",
+ "value",
+ "view"
+ ];
+ const SYMBOL = {
+ className: "symbol",
+ begin: "\\$" + regex.either(...PROFILE_VARS)
+ };
+ const NUMBER = {
+ className: "number",
+ variants: [
+ { begin: "\\b(0[bB][01]+)" },
+ { begin: "\\b(0[oO][0-7]+)" },
+ { begin: hljs.C_NUMBER_RE }
+ ],
+ relevance: 0
+ };
+ const SUBST = {
+ className: "subst",
+ begin: "\\$\\{",
+ end: "\\}",
+ keywords: KEYWORDS,
+ contains: []
+ // defined later
+ };
+ const TEMPLATE_STRING = {
+ className: "string",
+ begin: "`",
+ end: "`",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ]
+ };
+ SUBST.contains = [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ TEMPLATE_STRING,
+ NUMBER,
+ hljs.REGEXP_MODE
+ ];
+ const PARAMS_CONTAINS = SUBST.contains.concat([
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.C_LINE_COMMENT_MODE
+ ]);
+ return {
+ name: "ArcGIS Arcade",
+ case_insensitive: true,
+ keywords: KEYWORDS,
+ contains: [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ TEMPLATE_STRING,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ SYMBOL,
+ NUMBER,
+ {
+ // object attr container
+ begin: /[{,]\s*/,
+ relevance: 0,
+ contains: [
+ {
+ begin: IDENT_RE + "\\s*:",
+ returnBegin: true,
+ relevance: 0,
+ contains: [
+ {
+ className: "attr",
+ begin: IDENT_RE,
+ relevance: 0
+ }
+ ]
+ }
+ ]
+ },
+ {
+ // "value" container
+ begin: "(" + hljs.RE_STARTERS_RE + "|\\b(return)\\b)\\s*",
+ keywords: "return",
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.REGEXP_MODE,
+ {
+ className: "function",
+ begin: "(\\(.*?\\)|" + IDENT_RE + ")\\s*=>",
+ returnBegin: true,
+ end: "\\s*=>",
+ contains: [
+ {
+ className: "params",
+ variants: [
+ { begin: IDENT_RE },
+ { begin: /\(\s*\)/ },
+ {
+ begin: /\(/,
+ end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true,
+ keywords: KEYWORDS,
+ contains: PARAMS_CONTAINS
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ relevance: 0
+ },
+ {
+ beginKeywords: "function",
+ end: /\{/,
+ excludeEnd: true,
+ contains: [
+ hljs.inherit(hljs.TITLE_MODE, {
+ className: "title.function",
+ begin: IDENT_RE
+ }),
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true,
+ contains: PARAMS_CONTAINS
+ }
+ ],
+ illegal: /\[|%/
+ },
+ { begin: /\$[(.]/ }
+ ],
+ illegal: /#(?!!)/
+ };
+ }
+ module.exports = arcade;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/arduino.js
+ var require_arduino = __commonJS({
+ "node_modules/highlight.js/lib/languages/arduino.js"(exports, module) {
+ function cPlusPlus(hljs) {
+ const regex = hljs.regex;
+ const C_LINE_COMMENT_MODE = hljs.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] });
+ const DECLTYPE_AUTO_RE = "decltype\\(auto\\)";
+ const NAMESPACE_RE = "[a-zA-Z_]\\w*::";
+ const TEMPLATE_ARGUMENT_RE = "<[^<>]+>";
+ const FUNCTION_TYPE_RE = "(?!struct)(" + DECLTYPE_AUTO_RE + "|" + regex.optional(NAMESPACE_RE) + "[a-zA-Z_]\\w*" + regex.optional(TEMPLATE_ARGUMENT_RE) + ")";
+ const CPP_PRIMITIVE_TYPES = {
+ className: "type",
+ begin: "\\b[a-z\\d_]*_t\\b"
+ };
+ const CHARACTER_ESCAPES = "\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)";
+ const STRINGS = {
+ className: "string",
+ variants: [
+ {
+ begin: '(u8?|U|L)?"',
+ end: '"',
+ illegal: "\\n",
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ {
+ begin: "(u8?|U|L)?'(" + CHARACTER_ESCAPES + "|.)",
+ end: "'",
+ illegal: "."
+ },
+ hljs.END_SAME_AS_BEGIN({
+ begin: /(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,
+ end: /\)([^()\\ ]{0,16})"/
+ })
+ ]
+ };
+ const NUMBERS = {
+ className: "number",
+ variants: [
+ // Floating-point literal.
+ {
+ begin: "[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"
+ },
+ // Integer literal.
+ {
+ begin: "[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"
+ // Note: there are user-defined literal suffixes too, but perhaps having the custom suffix not part of the
+ // literal highlight actually makes it stand out more.
+ }
+ ],
+ relevance: 0
+ };
+ const PREPROCESSOR = {
+ className: "meta",
+ begin: /#\s*[a-z]+\b/,
+ end: /$/,
+ keywords: { keyword: "if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include" },
+ contains: [
+ {
+ begin: /\\\n/,
+ relevance: 0
+ },
+ hljs.inherit(STRINGS, { className: "string" }),
+ {
+ className: "string",
+ begin: /<.*?>/
+ },
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ };
+ const TITLE_MODE = {
+ className: "title",
+ begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,
+ relevance: 0
+ };
+ const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + "\\s*\\(";
+ const RESERVED_KEYWORDS = [
+ "alignas",
+ "alignof",
+ "and",
+ "and_eq",
+ "asm",
+ "atomic_cancel",
+ "atomic_commit",
+ "atomic_noexcept",
+ "auto",
+ "bitand",
+ "bitor",
+ "break",
+ "case",
+ "catch",
+ "class",
+ "co_await",
+ "co_return",
+ "co_yield",
+ "compl",
+ "concept",
+ "const_cast|10",
+ "consteval",
+ "constexpr",
+ "constinit",
+ "continue",
+ "decltype",
+ "default",
+ "delete",
+ "do",
+ "dynamic_cast|10",
+ "else",
+ "enum",
+ "explicit",
+ "export",
+ "extern",
+ "false",
+ "final",
+ "for",
+ "friend",
+ "goto",
+ "if",
+ "import",
+ "inline",
+ "module",
+ "mutable",
+ "namespace",
+ "new",
+ "noexcept",
+ "not",
+ "not_eq",
+ "nullptr",
+ "operator",
+ "or",
+ "or_eq",
+ "override",
+ "private",
+ "protected",
+ "public",
+ "reflexpr",
+ "register",
+ "reinterpret_cast|10",
+ "requires",
+ "return",
+ "sizeof",
+ "static_assert",
+ "static_cast|10",
+ "struct",
+ "switch",
+ "synchronized",
+ "template",
+ "this",
+ "thread_local",
+ "throw",
+ "transaction_safe",
+ "transaction_safe_dynamic",
+ "true",
+ "try",
+ "typedef",
+ "typeid",
+ "typename",
+ "union",
+ "using",
+ "virtual",
+ "volatile",
+ "while",
+ "xor",
+ "xor_eq"
+ ];
+ const RESERVED_TYPES = [
+ "bool",
+ "char",
+ "char16_t",
+ "char32_t",
+ "char8_t",
+ "double",
+ "float",
+ "int",
+ "long",
+ "short",
+ "void",
+ "wchar_t",
+ "unsigned",
+ "signed",
+ "const",
+ "static"
+ ];
+ const TYPE_HINTS = [
+ "any",
+ "auto_ptr",
+ "barrier",
+ "binary_semaphore",
+ "bitset",
+ "complex",
+ "condition_variable",
+ "condition_variable_any",
+ "counting_semaphore",
+ "deque",
+ "false_type",
+ "future",
+ "imaginary",
+ "initializer_list",
+ "istringstream",
+ "jthread",
+ "latch",
+ "lock_guard",
+ "multimap",
+ "multiset",
+ "mutex",
+ "optional",
+ "ostringstream",
+ "packaged_task",
+ "pair",
+ "promise",
+ "priority_queue",
+ "queue",
+ "recursive_mutex",
+ "recursive_timed_mutex",
+ "scoped_lock",
+ "set",
+ "shared_future",
+ "shared_lock",
+ "shared_mutex",
+ "shared_timed_mutex",
+ "shared_ptr",
+ "stack",
+ "string_view",
+ "stringstream",
+ "timed_mutex",
+ "thread",
+ "true_type",
+ "tuple",
+ "unique_lock",
+ "unique_ptr",
+ "unordered_map",
+ "unordered_multimap",
+ "unordered_multiset",
+ "unordered_set",
+ "variant",
+ "vector",
+ "weak_ptr",
+ "wstring",
+ "wstring_view"
+ ];
+ const FUNCTION_HINTS = [
+ "abort",
+ "abs",
+ "acos",
+ "apply",
+ "as_const",
+ "asin",
+ "atan",
+ "atan2",
+ "calloc",
+ "ceil",
+ "cerr",
+ "cin",
+ "clog",
+ "cos",
+ "cosh",
+ "cout",
+ "declval",
+ "endl",
+ "exchange",
+ "exit",
+ "exp",
+ "fabs",
+ "floor",
+ "fmod",
+ "forward",
+ "fprintf",
+ "fputs",
+ "free",
+ "frexp",
+ "fscanf",
+ "future",
+ "invoke",
+ "isalnum",
+ "isalpha",
+ "iscntrl",
+ "isdigit",
+ "isgraph",
+ "islower",
+ "isprint",
+ "ispunct",
+ "isspace",
+ "isupper",
+ "isxdigit",
+ "labs",
+ "launder",
+ "ldexp",
+ "log",
+ "log10",
+ "make_pair",
+ "make_shared",
+ "make_shared_for_overwrite",
+ "make_tuple",
+ "make_unique",
+ "malloc",
+ "memchr",
+ "memcmp",
+ "memcpy",
+ "memset",
+ "modf",
+ "move",
+ "pow",
+ "printf",
+ "putchar",
+ "puts",
+ "realloc",
+ "scanf",
+ "sin",
+ "sinh",
+ "snprintf",
+ "sprintf",
+ "sqrt",
+ "sscanf",
+ "std",
+ "stderr",
+ "stdin",
+ "stdout",
+ "strcat",
+ "strchr",
+ "strcmp",
+ "strcpy",
+ "strcspn",
+ "strlen",
+ "strncat",
+ "strncmp",
+ "strncpy",
+ "strpbrk",
+ "strrchr",
+ "strspn",
+ "strstr",
+ "swap",
+ "tan",
+ "tanh",
+ "terminate",
+ "to_underlying",
+ "tolower",
+ "toupper",
+ "vfprintf",
+ "visit",
+ "vprintf",
+ "vsprintf"
+ ];
+ const LITERALS = [
+ "NULL",
+ "false",
+ "nullopt",
+ "nullptr",
+ "true"
+ ];
+ const BUILT_IN = ["_Pragma"];
+ const CPP_KEYWORDS = {
+ type: RESERVED_TYPES,
+ keyword: RESERVED_KEYWORDS,
+ literal: LITERALS,
+ built_in: BUILT_IN,
+ _type_hints: TYPE_HINTS
+ };
+ const FUNCTION_DISPATCH = {
+ className: "function.dispatch",
+ relevance: 0,
+ keywords: {
+ // Only for relevance, not highlighting.
+ _hint: FUNCTION_HINTS
+ },
+ begin: regex.concat(
+ /\b/,
+ /(?!decltype)/,
+ /(?!if)/,
+ /(?!for)/,
+ /(?!switch)/,
+ /(?!while)/,
+ hljs.IDENT_RE,
+ regex.lookahead(/(<[^<>]+>|)\s*\(/)
+ )
+ };
+ const EXPRESSION_CONTAINS = [
+ FUNCTION_DISPATCH,
+ PREPROCESSOR,
+ CPP_PRIMITIVE_TYPES,
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ NUMBERS,
+ STRINGS
+ ];
+ const EXPRESSION_CONTEXT = {
+ // This mode covers expression context where we can't expect a function
+ // definition and shouldn't highlight anything that looks like one:
+ // `return some()`, `else if()`, `(x*sum(1, 2))`
+ variants: [
+ {
+ begin: /=/,
+ end: /;/
+ },
+ {
+ begin: /\(/,
+ end: /\)/
+ },
+ {
+ beginKeywords: "new throw return else",
+ end: /;/
+ }
+ ],
+ keywords: CPP_KEYWORDS,
+ contains: EXPRESSION_CONTAINS.concat([
+ {
+ begin: /\(/,
+ end: /\)/,
+ keywords: CPP_KEYWORDS,
+ contains: EXPRESSION_CONTAINS.concat(["self"]),
+ relevance: 0
+ }
+ ]),
+ relevance: 0
+ };
+ const FUNCTION_DECLARATION = {
+ className: "function",
+ begin: "(" + FUNCTION_TYPE_RE + "[\\*&\\s]+)+" + FUNCTION_TITLE,
+ returnBegin: true,
+ end: /[{;=]/,
+ excludeEnd: true,
+ keywords: CPP_KEYWORDS,
+ illegal: /[^\w\s\*&:<>.]/,
+ contains: [
+ {
+ // to prevent it from being confused as the function title
+ begin: DECLTYPE_AUTO_RE,
+ keywords: CPP_KEYWORDS,
+ relevance: 0
+ },
+ {
+ begin: FUNCTION_TITLE,
+ returnBegin: true,
+ contains: [TITLE_MODE],
+ relevance: 0
+ },
+ // needed because we do not have look-behind on the below rule
+ // to prevent it from grabbing the final : in a :: pair
+ {
+ begin: /::/,
+ relevance: 0
+ },
+ // initializers
+ {
+ begin: /:/,
+ endsWithParent: true,
+ contains: [
+ STRINGS,
+ NUMBERS
+ ]
+ },
+ // allow for multiple declarations, e.g.:
+ // extern void f(int), g(char);
+ {
+ relevance: 0,
+ match: /,/
+ },
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ keywords: CPP_KEYWORDS,
+ relevance: 0,
+ contains: [
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRINGS,
+ NUMBERS,
+ CPP_PRIMITIVE_TYPES,
+ // Count matching parentheses.
+ {
+ begin: /\(/,
+ end: /\)/,
+ keywords: CPP_KEYWORDS,
+ relevance: 0,
+ contains: [
+ "self",
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRINGS,
+ NUMBERS,
+ CPP_PRIMITIVE_TYPES
+ ]
+ }
+ ]
+ },
+ CPP_PRIMITIVE_TYPES,
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ PREPROCESSOR
+ ]
+ };
+ return {
+ name: "C++",
+ aliases: [
+ "cc",
+ "c++",
+ "h++",
+ "hpp",
+ "hh",
+ "hxx",
+ "cxx"
+ ],
+ keywords: CPP_KEYWORDS,
+ illegal: "</",
+ classNameAliases: { "function.dispatch": "built_in" },
+ contains: [].concat(
+ EXPRESSION_CONTEXT,
+ FUNCTION_DECLARATION,
+ FUNCTION_DISPATCH,
+ EXPRESSION_CONTAINS,
+ [
+ PREPROCESSOR,
+ {
+ // containers: ie, `vector <int> rooms (9);`
+ begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",
+ end: ">",
+ keywords: CPP_KEYWORDS,
+ contains: [
+ "self",
+ CPP_PRIMITIVE_TYPES
+ ]
+ },
+ {
+ begin: hljs.IDENT_RE + "::",
+ keywords: CPP_KEYWORDS
+ },
+ {
+ match: [
+ // extra complexity to deal with `enum class` and `enum struct`
+ /\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,
+ /\s+/,
+ /\w+/
+ ],
+ className: {
+ 1: "keyword",
+ 3: "title.class"
+ }
+ }
+ ]
+ )
+ };
+ }
+ function arduino(hljs) {
+ const ARDUINO_KW = {
+ type: [
+ "boolean",
+ "byte",
+ "word",
+ "String"
+ ],
+ built_in: [
+ "KeyboardController",
+ "MouseController",
+ "SoftwareSerial",
+ "EthernetServer",
+ "EthernetClient",
+ "LiquidCrystal",
+ "RobotControl",
+ "GSMVoiceCall",
+ "EthernetUDP",
+ "EsploraTFT",
+ "HttpClient",
+ "RobotMotor",
+ "WiFiClient",
+ "GSMScanner",
+ "FileSystem",
+ "Scheduler",
+ "GSMServer",
+ "YunClient",
+ "YunServer",
+ "IPAddress",
+ "GSMClient",
+ "GSMModem",
+ "Keyboard",
+ "Ethernet",
+ "Console",
+ "GSMBand",
+ "Esplora",
+ "Stepper",
+ "Process",
+ "WiFiUDP",
+ "GSM_SMS",
+ "Mailbox",
+ "USBHost",
+ "Firmata",
+ "PImage",
+ "Client",
+ "Server",
+ "GSMPIN",
+ "FileIO",
+ "Bridge",
+ "Serial",
+ "EEPROM",
+ "Stream",
+ "Mouse",
+ "Audio",
+ "Servo",
+ "File",
+ "Task",
+ "GPRS",
+ "WiFi",
+ "Wire",
+ "TFT",
+ "GSM",
+ "SPI",
+ "SD"
+ ],
+ _hints: [
+ "setup",
+ "loop",
+ "runShellCommandAsynchronously",
+ "analogWriteResolution",
+ "retrieveCallingNumber",
+ "printFirmwareVersion",
+ "analogReadResolution",
+ "sendDigitalPortPair",
+ "noListenOnLocalhost",
+ "readJoystickButton",
+ "setFirmwareVersion",
+ "readJoystickSwitch",
+ "scrollDisplayRight",
+ "getVoiceCallStatus",
+ "scrollDisplayLeft",
+ "writeMicroseconds",
+ "delayMicroseconds",
+ "beginTransmission",
+ "getSignalStrength",
+ "runAsynchronously",
+ "getAsynchronously",
+ "listenOnLocalhost",
+ "getCurrentCarrier",
+ "readAccelerometer",
+ "messageAvailable",
+ "sendDigitalPorts",
+ "lineFollowConfig",
+ "countryNameWrite",
+ "runShellCommand",
+ "readStringUntil",
+ "rewindDirectory",
+ "readTemperature",
+ "setClockDivider",
+ "readLightSensor",
+ "endTransmission",
+ "analogReference",
+ "detachInterrupt",
+ "countryNameRead",
+ "attachInterrupt",
+ "encryptionType",
+ "readBytesUntil",
+ "robotNameWrite",
+ "readMicrophone",
+ "robotNameRead",
+ "cityNameWrite",
+ "userNameWrite",
+ "readJoystickY",
+ "readJoystickX",
+ "mouseReleased",
+ "openNextFile",
+ "scanNetworks",
+ "noInterrupts",
+ "digitalWrite",
+ "beginSpeaker",
+ "mousePressed",
+ "isActionDone",
+ "mouseDragged",
+ "displayLogos",
+ "noAutoscroll",
+ "addParameter",
+ "remoteNumber",
+ "getModifiers",
+ "keyboardRead",
+ "userNameRead",
+ "waitContinue",
+ "processInput",
+ "parseCommand",
+ "printVersion",
+ "readNetworks",
+ "writeMessage",
+ "blinkVersion",
+ "cityNameRead",
+ "readMessage",
+ "setDataMode",
+ "parsePacket",
+ "isListening",
+ "setBitOrder",
+ "beginPacket",
+ "isDirectory",
+ "motorsWrite",
+ "drawCompass",
+ "digitalRead",
+ "clearScreen",
+ "serialEvent",
+ "rightToLeft",
+ "setTextSize",
+ "leftToRight",
+ "requestFrom",
+ "keyReleased",
+ "compassRead",
+ "analogWrite",
+ "interrupts",
+ "WiFiServer",
+ "disconnect",
+ "playMelody",
+ "parseFloat",
+ "autoscroll",
+ "getPINUsed",
+ "setPINUsed",
+ "setTimeout",
+ "sendAnalog",
+ "readSlider",
+ "analogRead",
+ "beginWrite",
+ "createChar",
+ "motorsStop",
+ "keyPressed",
+ "tempoWrite",
+ "readButton",
+ "subnetMask",
+ "debugPrint",
+ "macAddress",
+ "writeGreen",
+ "randomSeed",
+ "attachGPRS",
+ "readString",
+ "sendString",
+ "remotePort",
+ "releaseAll",
+ "mouseMoved",
+ "background",
+ "getXChange",
+ "getYChange",
+ "answerCall",
+ "getResult",
+ "voiceCall",
+ "endPacket",
+ "constrain",
+ "getSocket",
+ "writeJSON",
+ "getButton",
+ "available",
+ "connected",
+ "findUntil",
+ "readBytes",
+ "exitValue",
+ "readGreen",
+ "writeBlue",
+ "startLoop",
+ "IPAddress",
+ "isPressed",
+ "sendSysex",
+ "pauseMode",
+ "gatewayIP",
+ "setCursor",
+ "getOemKey",
+ "tuneWrite",
+ "noDisplay",
+ "loadImage",
+ "switchPIN",
+ "onRequest",
+ "onReceive",
+ "changePIN",
+ "playFile",
+ "noBuffer",
+ "parseInt",
+ "overflow",
+ "checkPIN",
+ "knobRead",
+ "beginTFT",
+ "bitClear",
+ "updateIR",
+ "bitWrite",
+ "position",
+ "writeRGB",
+ "highByte",
+ "writeRed",
+ "setSpeed",
+ "readBlue",
+ "noStroke",
+ "remoteIP",
+ "transfer",
+ "shutdown",
+ "hangCall",
+ "beginSMS",
+ "endWrite",
+ "attached",
+ "maintain",
+ "noCursor",
+ "checkReg",
+ "checkPUK",
+ "shiftOut",
+ "isValid",
+ "shiftIn",
+ "pulseIn",
+ "connect",
+ "println",
+ "localIP",
+ "pinMode",
+ "getIMEI",
+ "display",
+ "noBlink",
+ "process",
+ "getBand",
+ "running",
+ "beginSD",
+ "drawBMP",
+ "lowByte",
+ "setBand",
+ "release",
+ "bitRead",
+ "prepare",
+ "pointTo",
+ "readRed",
+ "setMode",
+ "noFill",
+ "remove",
+ "listen",
+ "stroke",
+ "detach",
+ "attach",
+ "noTone",
+ "exists",
+ "buffer",
+ "height",
+ "bitSet",
+ "circle",
+ "config",
+ "cursor",
+ "random",
+ "IRread",
+ "setDNS",
+ "endSMS",
+ "getKey",
+ "micros",
+ "millis",
+ "begin",
+ "print",
+ "write",
+ "ready",
+ "flush",
+ "width",
+ "isPIN",
+ "blink",
+ "clear",
+ "press",
+ "mkdir",
+ "rmdir",
+ "close",
+ "point",
+ "yield",
+ "image",
+ "BSSID",
+ "click",
+ "delay",
+ "read",
+ "text",
+ "move",
+ "peek",
+ "beep",
+ "rect",
+ "line",
+ "open",
+ "seek",
+ "fill",
+ "size",
+ "turn",
+ "stop",
+ "home",
+ "find",
+ "step",
+ "tone",
+ "sqrt",
+ "RSSI",
+ "SSID",
+ "end",
+ "bit",
+ "tan",
+ "cos",
+ "sin",
+ "pow",
+ "map",
+ "abs",
+ "max",
+ "min",
+ "get",
+ "run",
+ "put"
+ ],
+ literal: [
+ "DIGITAL_MESSAGE",
+ "FIRMATA_STRING",
+ "ANALOG_MESSAGE",
+ "REPORT_DIGITAL",
+ "REPORT_ANALOG",
+ "INPUT_PULLUP",
+ "SET_PIN_MODE",
+ "INTERNAL2V56",
+ "SYSTEM_RESET",
+ "LED_BUILTIN",
+ "INTERNAL1V1",
+ "SYSEX_START",
+ "INTERNAL",
+ "EXTERNAL",
+ "DEFAULT",
+ "OUTPUT",
+ "INPUT",
+ "HIGH",
+ "LOW"
+ ]
+ };
+ const ARDUINO = cPlusPlus(hljs);
+ const kws = (
+ /** @type {Record<string,any>} */
+ ARDUINO.keywords
+ );
+ kws.type = [
+ ...kws.type,
+ ...ARDUINO_KW.type
+ ];
+ kws.literal = [
+ ...kws.literal,
+ ...ARDUINO_KW.literal
+ ];
+ kws.built_in = [
+ ...kws.built_in,
+ ...ARDUINO_KW.built_in
+ ];
+ kws._hints = ARDUINO_KW._hints;
+ ARDUINO.name = "Arduino";
+ ARDUINO.aliases = ["ino"];
+ ARDUINO.supersetOf = "cpp";
+ return ARDUINO;
+ }
+ module.exports = arduino;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/armasm.js
+ var require_armasm = __commonJS({
+ "node_modules/highlight.js/lib/languages/armasm.js"(exports, module) {
+ function armasm(hljs) {
+ const COMMENT = { variants: [
+ hljs.COMMENT("^[ \\t]*(?=#)", "$", {
+ relevance: 0,
+ excludeBegin: true
+ }),
+ hljs.COMMENT("[;@]", "$", { relevance: 0 }),
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ] };
+ return {
+ name: "ARM Assembly",
+ case_insensitive: true,
+ aliases: ["arm"],
+ keywords: {
+ $pattern: "\\.?" + hljs.IDENT_RE,
+ meta: (
+ // GNU preprocs
+ ".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND "
+ ),
+ built_in: "r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"
+ },
+ contains: [
+ {
+ className: "keyword",
+ begin: "\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"
+ // followed by space
+ },
+ COMMENT,
+ hljs.QUOTE_STRING_MODE,
+ {
+ className: "string",
+ begin: "'",
+ end: "[^\\\\]'",
+ relevance: 0
+ },
+ {
+ className: "title",
+ begin: "\\|",
+ end: "\\|",
+ illegal: "\\n",
+ relevance: 0
+ },
+ {
+ className: "number",
+ variants: [
+ {
+ // hex
+ begin: "[#$=]?0x[0-9a-f]+"
+ },
+ {
+ // bin
+ begin: "[#$=]?0b[01]+"
+ },
+ {
+ // literal
+ begin: "[#$=]\\d+"
+ },
+ {
+ // bare number
+ begin: "\\b\\d+"
+ }
+ ],
+ relevance: 0
+ },
+ {
+ className: "symbol",
+ variants: [
+ {
+ // GNU ARM syntax
+ begin: "^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"
+ },
+ {
+ // ARM syntax
+ begin: "^[a-z_\\.\\$][a-z0-9_\\.\\$]+"
+ },
+ {
+ // label reference
+ begin: "[=#]\\w+"
+ }
+ ],
+ relevance: 0
+ }
+ ]
+ };
+ }
+ module.exports = armasm;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/xml.js
+ var require_xml = __commonJS({
+ "node_modules/highlight.js/lib/languages/xml.js"(exports, module) {
+ function xml(hljs) {
+ const regex = hljs.regex;
+ const TAG_NAME_RE = regex.concat(/[\p{L}_]/u, regex.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u);
+ const XML_IDENT_RE = /[\p{L}0-9._:-]+/u;
+ const XML_ENTITIES = {
+ className: "symbol",
+ begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
+ };
+ const XML_META_KEYWORDS = {
+ begin: /\s/,
+ contains: [
+ {
+ className: "keyword",
+ begin: /#?[a-z_][a-z1-9_-]+/,
+ illegal: /\n/
+ }
+ ]
+ };
+ const XML_META_PAR_KEYWORDS = hljs.inherit(XML_META_KEYWORDS, {
+ begin: /\(/,
+ end: /\)/
+ });
+ const APOS_META_STRING_MODE = hljs.inherit(hljs.APOS_STRING_MODE, { className: "string" });
+ const QUOTE_META_STRING_MODE = hljs.inherit(hljs.QUOTE_STRING_MODE, { className: "string" });
+ const TAG_INTERNALS = {
+ endsWithParent: true,
+ illegal: /</,
+ relevance: 0,
+ contains: [
+ {
+ className: "attr",
+ begin: XML_IDENT_RE,
+ relevance: 0
+ },
+ {
+ begin: /=\s*/,
+ relevance: 0,
+ contains: [
+ {
+ className: "string",
+ endsParent: true,
+ variants: [
+ {
+ begin: /"/,
+ end: /"/,
+ contains: [XML_ENTITIES]
+ },
+ {
+ begin: /'/,
+ end: /'/,
+ contains: [XML_ENTITIES]
+ },
+ { begin: /[^\s"'=<>`]+/ }
+ ]
+ }
+ ]
+ }
+ ]
+ };
+ return {
+ name: "HTML, XML",
+ aliases: [
+ "html",
+ "xhtml",
+ "rss",
+ "atom",
+ "xjb",
+ "xsd",
+ "xsl",
+ "plist",
+ "wsf",
+ "svg"
+ ],
+ case_insensitive: true,
+ unicodeRegex: true,
+ contains: [
+ {
+ className: "meta",
+ begin: /<![a-z]/,
+ end: />/,
+ relevance: 10,
+ contains: [
+ XML_META_KEYWORDS,
+ QUOTE_META_STRING_MODE,
+ APOS_META_STRING_MODE,
+ XML_META_PAR_KEYWORDS,
+ {
+ begin: /\[/,
+ end: /\]/,
+ contains: [
+ {
+ className: "meta",
+ begin: /<![a-z]/,
+ end: />/,
+ contains: [
+ XML_META_KEYWORDS,
+ XML_META_PAR_KEYWORDS,
+ QUOTE_META_STRING_MODE,
+ APOS_META_STRING_MODE
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ hljs.COMMENT(
+ /<!--/,
+ /-->/,
+ { relevance: 10 }
+ ),
+ {
+ begin: /<!\[CDATA\[/,
+ end: /\]\]>/,
+ relevance: 10
+ },
+ XML_ENTITIES,
+ // xml processing instructions
+ {
+ className: "meta",
+ end: /\?>/,
+ variants: [
+ {
+ begin: /<\?xml/,
+ relevance: 10,
+ contains: [
+ QUOTE_META_STRING_MODE
+ ]
+ },
+ {
+ begin: /<\?[a-z][a-z0-9]+/
+ }
+ ]
+ },
+ {
+ className: "tag",
+ /*
+ The lookahead pattern (?=...) ensures that 'begin' only matches
+ '<style' as a single word, followed by a whitespace or an
+ ending bracket.
+ */
+ begin: /<style(?=\s|>)/,
+ end: />/,
+ keywords: { name: "style" },
+ contains: [TAG_INTERNALS],
+ starts: {
+ end: /<\/style>/,
+ returnEnd: true,
+ subLanguage: [
+ "css",
+ "xml"
+ ]
+ }
+ },
+ {
+ className: "tag",
+ // See the comment in the <style tag about the lookahead pattern
+ begin: /<script(?=\s|>)/,
+ end: />/,
+ keywords: { name: "script" },
+ contains: [TAG_INTERNALS],
+ starts: {
+ end: /<\/script>/,
+ returnEnd: true,
+ subLanguage: [
+ "javascript",
+ "handlebars",
+ "xml"
+ ]
+ }
+ },
+ // we need this for now for jSX
+ {
+ className: "tag",
+ begin: /<>|<\/>/
+ },
+ // open tag
+ {
+ className: "tag",
+ begin: regex.concat(
+ /</,
+ regex.lookahead(regex.concat(
+ TAG_NAME_RE,
+ // <tag/>
+ // <tag>
+ // <tag ...
+ regex.either(/\/>/, />/, /\s/)
+ ))
+ ),
+ end: /\/?>/,
+ contains: [
+ {
+ className: "name",
+ begin: TAG_NAME_RE,
+ relevance: 0,
+ starts: TAG_INTERNALS
+ }
+ ]
+ },
+ // close tag
+ {
+ className: "tag",
+ begin: regex.concat(
+ /<\//,
+ regex.lookahead(regex.concat(
+ TAG_NAME_RE,
+ />/
+ ))
+ ),
+ contains: [
+ {
+ className: "name",
+ begin: TAG_NAME_RE,
+ relevance: 0
+ },
+ {
+ begin: />/,
+ relevance: 0,
+ endsParent: true
+ }
+ ]
+ }
+ ]
+ };
+ }
+ module.exports = xml;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/asciidoc.js
+ var require_asciidoc = __commonJS({
+ "node_modules/highlight.js/lib/languages/asciidoc.js"(exports, module) {
+ function asciidoc(hljs) {
+ const regex = hljs.regex;
+ const HORIZONTAL_RULE = {
+ begin: "^'{3,}[ \\t]*$",
+ relevance: 10
+ };
+ const ESCAPED_FORMATTING = [
+ // escaped constrained formatting marks (i.e., \* \_ or \`)
+ { begin: /\\[*_`]/ },
+ // escaped unconstrained formatting marks (i.e., \\** \\__ or \\``)
+ // must ignore until the next formatting marks
+ // this rule might not be 100% compliant with Asciidoctor 2.0 but we are entering undefined behavior territory...
+ { begin: /\\\\\*{2}[^\n]*?\*{2}/ },
+ { begin: /\\\\_{2}[^\n]*_{2}/ },
+ { begin: /\\\\`{2}[^\n]*`{2}/ },
+ // guard: constrained formatting mark may not be preceded by ":", ";" or
+ // "}". match these so the constrained rule doesn't see them
+ { begin: /[:;}][*_`](?![*_`])/ }
+ ];
+ const STRONG = [
+ // inline unconstrained strong (single line)
+ {
+ className: "strong",
+ begin: /\*{2}([^\n]+?)\*{2}/
+ },
+ // inline unconstrained strong (multi-line)
+ {
+ className: "strong",
+ begin: regex.concat(
+ /\*\*/,
+ /((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,
+ /(\*(?!\*)|\\[^\n]|[^*\n\\])*/,
+ /\*\*/
+ ),
+ relevance: 0
+ },
+ // inline constrained strong (single line)
+ {
+ className: "strong",
+ // must not precede or follow a word character
+ begin: /\B\*(\S|\S[^\n]*?\S)\*(?!\w)/
+ },
+ // inline constrained strong (multi-line)
+ {
+ className: "strong",
+ // must not precede or follow a word character
+ begin: /\*[^\s]([^\n]+\n)+([^\n]+)\*/
+ }
+ ];
+ const EMPHASIS = [
+ // inline unconstrained emphasis (single line)
+ {
+ className: "emphasis",
+ begin: /_{2}([^\n]+?)_{2}/
+ },
+ // inline unconstrained emphasis (multi-line)
+ {
+ className: "emphasis",
+ begin: regex.concat(
+ /__/,
+ /((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,
+ /(_(?!_)|\\[^\n]|[^_\n\\])*/,
+ /__/
+ ),
+ relevance: 0
+ },
+ // inline constrained emphasis (single line)
+ {
+ className: "emphasis",
+ // must not precede or follow a word character
+ begin: /\b_(\S|\S[^\n]*?\S)_(?!\w)/
+ },
+ // inline constrained emphasis (multi-line)
+ {
+ className: "emphasis",
+ // must not precede or follow a word character
+ begin: /_[^\s]([^\n]+\n)+([^\n]+)_/
+ },
+ // inline constrained emphasis using single quote (legacy)
+ {
+ className: "emphasis",
+ // must not follow a word character or be followed by a single quote or space
+ begin: "\\B'(?!['\\s])",
+ end: "(\\n{2}|')",
+ // allow escaped single quote followed by word char
+ contains: [
+ {
+ begin: "\\\\'\\w",
+ relevance: 0
+ }
+ ],
+ relevance: 0
+ }
+ ];
+ const ADMONITION = {
+ className: "symbol",
+ begin: "^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",
+ relevance: 10
+ };
+ const BULLET_LIST = {
+ className: "bullet",
+ begin: "^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"
+ };
+ return {
+ name: "AsciiDoc",
+ aliases: ["adoc"],
+ contains: [
+ // block comment
+ hljs.COMMENT(
+ "^/{4,}\\n",
+ "\\n/{4,}$",
+ // can also be done as...
+ // '^/{4,}$',
+ // '^/{4,}$',
+ { relevance: 10 }
+ ),
+ // line comment
+ hljs.COMMENT(
+ "^//",
+ "$",
+ { relevance: 0 }
+ ),
+ // title
+ {
+ className: "title",
+ begin: "^\\.\\w.*$"
+ },
+ // example, admonition & sidebar blocks
+ {
+ begin: "^[=\\*]{4,}\\n",
+ end: "\\n^[=\\*]{4,}$",
+ relevance: 10
+ },
+ // headings
+ {
+ className: "section",
+ relevance: 10,
+ variants: [
+ { begin: "^(={1,6})[ ].+?([ ]\\1)?$" },
+ { begin: "^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$" }
+ ]
+ },
+ // document attributes
+ {
+ className: "meta",
+ begin: "^:.+?:",
+ end: "\\s",
+ excludeEnd: true,
+ relevance: 10
+ },
+ // block attributes
+ {
+ className: "meta",
+ begin: "^\\[.+?\\]$",
+ relevance: 0
+ },
+ // quoteblocks
+ {
+ className: "quote",
+ begin: "^_{4,}\\n",
+ end: "\\n_{4,}$",
+ relevance: 10
+ },
+ // listing and literal blocks
+ {
+ className: "code",
+ begin: "^[\\-\\.]{4,}\\n",
+ end: "\\n[\\-\\.]{4,}$",
+ relevance: 10
+ },
+ // passthrough blocks
+ {
+ begin: "^\\+{4,}\\n",
+ end: "\\n\\+{4,}$",
+ contains: [
+ {
+ begin: "<",
+ end: ">",
+ subLanguage: "xml",
+ relevance: 0
+ }
+ ],
+ relevance: 10
+ },
+ BULLET_LIST,
+ ADMONITION,
+ ...ESCAPED_FORMATTING,
+ ...STRONG,
+ ...EMPHASIS,
+ // inline smart quotes
+ {
+ className: "string",
+ variants: [
+ { begin: "``.+?''" },
+ { begin: "`.+?'" }
+ ]
+ },
+ // inline unconstrained emphasis
+ {
+ className: "code",
+ begin: /`{2}/,
+ end: /(\n{2}|`{2})/
+ },
+ // inline code snippets (TODO should get same treatment as strong and emphasis)
+ {
+ className: "code",
+ begin: "(`.+?`|\\+.+?\\+)",
+ relevance: 0
+ },
+ // indented literal block
+ {
+ className: "code",
+ begin: "^[ \\t]",
+ end: "$",
+ relevance: 0
+ },
+ HORIZONTAL_RULE,
+ // images and links
+ {
+ begin: "(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",
+ returnBegin: true,
+ contains: [
+ {
+ begin: "(link|image:?):",
+ relevance: 0
+ },
+ {
+ className: "link",
+ begin: "\\w",
+ end: "[^\\[]+",
+ relevance: 0
+ },
+ {
+ className: "string",
+ begin: "\\[",
+ end: "\\]",
+ excludeBegin: true,
+ excludeEnd: true,
+ relevance: 0
+ }
+ ],
+ relevance: 10
+ }
+ ]
+ };
+ }
+ module.exports = asciidoc;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/aspectj.js
+ var require_aspectj = __commonJS({
+ "node_modules/highlight.js/lib/languages/aspectj.js"(exports, module) {
+ function aspectj(hljs) {
+ const regex = hljs.regex;
+ const KEYWORDS = [
+ "false",
+ "synchronized",
+ "int",
+ "abstract",
+ "float",
+ "private",
+ "char",
+ "boolean",
+ "static",
+ "null",
+ "if",
+ "const",
+ "for",
+ "true",
+ "while",
+ "long",
+ "throw",
+ "strictfp",
+ "finally",
+ "protected",
+ "import",
+ "native",
+ "final",
+ "return",
+ "void",
+ "enum",
+ "else",
+ "extends",
+ "implements",
+ "break",
+ "transient",
+ "new",
+ "catch",
+ "instanceof",
+ "byte",
+ "super",
+ "volatile",
+ "case",
+ "assert",
+ "short",
+ "package",
+ "default",
+ "double",
+ "public",
+ "try",
+ "this",
+ "switch",
+ "continue",
+ "throws",
+ "privileged",
+ "aspectOf",
+ "adviceexecution",
+ "proceed",
+ "cflowbelow",
+ "cflow",
+ "initialization",
+ "preinitialization",
+ "staticinitialization",
+ "withincode",
+ "target",
+ "within",
+ "execution",
+ "getWithinTypeName",
+ "handler",
+ "thisJoinPoint",
+ "thisJoinPointStaticPart",
+ "thisEnclosingJoinPointStaticPart",
+ "declare",
+ "parents",
+ "warning",
+ "error",
+ "soft",
+ "precedence",
+ "thisAspectInstance"
+ ];
+ const SHORTKEYS = [
+ "get",
+ "set",
+ "args",
+ "call"
+ ];
+ return {
+ name: "AspectJ",
+ keywords: KEYWORDS,
+ illegal: /<\/|#/,
+ contains: [
+ hljs.COMMENT(
+ /\/\*\*/,
+ /\*\//,
+ {
+ relevance: 0,
+ contains: [
+ {
+ // eat up @'s in emails to prevent them to be recognized as doctags
+ begin: /\w+@/,
+ relevance: 0
+ },
+ {
+ className: "doctag",
+ begin: /@[A-Za-z]+/
+ }
+ ]
+ }
+ ),
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ {
+ className: "class",
+ beginKeywords: "aspect",
+ end: /[{;=]/,
+ excludeEnd: true,
+ illegal: /[:;"\[\]]/,
+ contains: [
+ { beginKeywords: "extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton" },
+ hljs.UNDERSCORE_TITLE_MODE,
+ {
+ begin: /\([^\)]*/,
+ end: /[)]+/,
+ keywords: KEYWORDS.concat(SHORTKEYS),
+ excludeEnd: false
+ }
+ ]
+ },
+ {
+ className: "class",
+ beginKeywords: "class interface",
+ end: /[{;=]/,
+ excludeEnd: true,
+ relevance: 0,
+ keywords: "class interface",
+ illegal: /[:"\[\]]/,
+ contains: [
+ { beginKeywords: "extends implements" },
+ hljs.UNDERSCORE_TITLE_MODE
+ ]
+ },
+ {
+ // AspectJ Constructs
+ beginKeywords: "pointcut after before around throwing returning",
+ end: /[)]/,
+ excludeEnd: false,
+ illegal: /["\[\]]/,
+ contains: [
+ {
+ begin: regex.concat(hljs.UNDERSCORE_IDENT_RE, /\s*\(/),
+ returnBegin: true,
+ contains: [hljs.UNDERSCORE_TITLE_MODE]
+ }
+ ]
+ },
+ {
+ begin: /[:]/,
+ returnBegin: true,
+ end: /[{;]/,
+ relevance: 0,
+ excludeEnd: false,
+ keywords: KEYWORDS,
+ illegal: /["\[\]]/,
+ contains: [
+ {
+ begin: regex.concat(hljs.UNDERSCORE_IDENT_RE, /\s*\(/),
+ keywords: KEYWORDS.concat(SHORTKEYS),
+ relevance: 0
+ },
+ hljs.QUOTE_STRING_MODE
+ ]
+ },
+ {
+ // this prevents 'new Name(...), or throw ...' from being recognized as a function definition
+ beginKeywords: "new throw",
+ relevance: 0
+ },
+ {
+ // the function class is a bit different for AspectJ compared to the Java language
+ className: "function",
+ begin: /\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,
+ returnBegin: true,
+ end: /[{;=]/,
+ keywords: KEYWORDS,
+ excludeEnd: true,
+ contains: [
+ {
+ begin: regex.concat(hljs.UNDERSCORE_IDENT_RE, /\s*\(/),
+ returnBegin: true,
+ relevance: 0,
+ contains: [hljs.UNDERSCORE_TITLE_MODE]
+ },
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ relevance: 0,
+ keywords: KEYWORDS,
+ contains: [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_NUMBER_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ hljs.C_NUMBER_MODE,
+ {
+ // annotation is also used in this language
+ className: "meta",
+ begin: /@[A-Za-z]+/
+ }
+ ]
+ };
+ }
+ module.exports = aspectj;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/autohotkey.js
+ var require_autohotkey = __commonJS({
+ "node_modules/highlight.js/lib/languages/autohotkey.js"(exports, module) {
+ function autohotkey(hljs) {
+ const BACKTICK_ESCAPE = { begin: "`[\\s\\S]" };
+ return {
+ name: "AutoHotkey",
+ case_insensitive: true,
+ aliases: ["ahk"],
+ keywords: {
+ keyword: "Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",
+ literal: "true false NOT AND OR",
+ built_in: "ComSpec Clipboard ClipboardAll ErrorLevel"
+ },
+ contains: [
+ BACKTICK_ESCAPE,
+ hljs.inherit(hljs.QUOTE_STRING_MODE, { contains: [BACKTICK_ESCAPE] }),
+ hljs.COMMENT(";", "$", { relevance: 0 }),
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: "number",
+ begin: hljs.NUMBER_RE,
+ relevance: 0
+ },
+ {
+ // subst would be the most accurate however fails the point of
+ // highlighting. variable is comparably the most accurate that actually
+ // has some effect
+ className: "variable",
+ begin: "%[a-zA-Z0-9#_$@]+%"
+ },
+ {
+ className: "built_in",
+ begin: "^\\s*\\w+\\s*(,|%)"
+ // I don't really know if this is totally relevant
+ },
+ {
+ // symbol would be most accurate however is highlighted just like
+ // built_in and that makes up a lot of AutoHotkey code meaning that it
+ // would fail to highlight anything
+ className: "title",
+ variants: [
+ { begin: '^[^\\n";]+::(?!=)' },
+ {
+ begin: '^[^\\n";]+:(?!=)',
+ // zero relevance as it catches a lot of things
+ // followed by a single ':' in many languages
+ relevance: 0
+ }
+ ]
+ },
+ {
+ className: "meta",
+ begin: "^\\s*#\\w+",
+ end: "$",
+ relevance: 0
+ },
+ {
+ className: "built_in",
+ begin: "A_[a-zA-Z0-9]+"
+ },
+ {
+ // consecutive commas, not for highlighting but just for relevance
+ begin: ",\\s*,"
+ }
+ ]
+ };
+ }
+ module.exports = autohotkey;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/autoit.js
+ var require_autoit = __commonJS({
+ "node_modules/highlight.js/lib/languages/autoit.js"(exports, module) {
+ function autoit(hljs) {
+ const KEYWORDS = "ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With";
+ const DIRECTIVES = [
+ "EndRegion",
+ "forcedef",
+ "forceref",
+ "ignorefunc",
+ "include",
+ "include-once",
+ "NoTrayIcon",
+ "OnAutoItStartRegister",
+ "pragma",
+ "Region",
+ "RequireAdmin",
+ "Tidy_Off",
+ "Tidy_On",
+ "Tidy_Parameters"
+ ];
+ const LITERAL = "True False And Null Not Or Default";
+ const BUILT_IN = "Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive";
+ const COMMENT = { variants: [
+ hljs.COMMENT(";", "$", { relevance: 0 }),
+ hljs.COMMENT("#cs", "#ce"),
+ hljs.COMMENT("#comments-start", "#comments-end")
+ ] };
+ const VARIABLE = { begin: "\\$[A-z0-9_]+" };
+ const STRING = {
+ className: "string",
+ variants: [
+ {
+ begin: /"/,
+ end: /"/,
+ contains: [
+ {
+ begin: /""/,
+ relevance: 0
+ }
+ ]
+ },
+ {
+ begin: /'/,
+ end: /'/,
+ contains: [
+ {
+ begin: /''/,
+ relevance: 0
+ }
+ ]
+ }
+ ]
+ };
+ const NUMBER = { variants: [
+ hljs.BINARY_NUMBER_MODE,
+ hljs.C_NUMBER_MODE
+ ] };
+ const PREPROCESSOR = {
+ className: "meta",
+ begin: "#",
+ end: "$",
+ keywords: { keyword: DIRECTIVES },
+ contains: [
+ {
+ begin: /\\\n/,
+ relevance: 0
+ },
+ {
+ beginKeywords: "include",
+ keywords: { keyword: "include" },
+ end: "$",
+ contains: [
+ STRING,
+ {
+ className: "string",
+ variants: [
+ {
+ begin: "<",
+ end: ">"
+ },
+ {
+ begin: /"/,
+ end: /"/,
+ contains: [
+ {
+ begin: /""/,
+ relevance: 0
+ }
+ ]
+ },
+ {
+ begin: /'/,
+ end: /'/,
+ contains: [
+ {
+ begin: /''/,
+ relevance: 0
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ STRING,
+ COMMENT
+ ]
+ };
+ const CONSTANT = {
+ className: "symbol",
+ // begin: '@',
+ // end: '$',
+ // keywords: 'AppDataCommonDir AppDataDir AutoItExe AutoItPID AutoItVersion AutoItX64 COM_EventObj CommonFilesDir Compiled ComputerName ComSpec CPUArch CR CRLF DesktopCommonDir DesktopDepth DesktopDir DesktopHeight DesktopRefresh DesktopWidth DocumentsCommonDir error exitCode exitMethod extended FavoritesCommonDir FavoritesDir GUI_CtrlHandle GUI_CtrlId GUI_DragFile GUI_DragId GUI_DropId GUI_WinHandle HomeDrive HomePath HomeShare HotKeyPressed HOUR IPAddress1 IPAddress2 IPAddress3 IPAddress4 KBLayout LF LocalAppDataDir LogonDNSDomain LogonDomain LogonServer MDAY MIN MON MSEC MUILang MyDocumentsDir NumParams OSArch OSBuild OSLang OSServicePack OSType OSVersion ProgramFilesDir ProgramsCommonDir ProgramsDir ScriptDir ScriptFullPath ScriptLineNumber ScriptName SEC StartMenuCommonDir StartMenuDir StartupCommonDir StartupDir SW_DISABLE SW_ENABLE SW_HIDE SW_LOCK SW_MAXIMIZE SW_MINIMIZE SW_RESTORE SW_SHOW SW_SHOWDEFAULT SW_SHOWMAXIMIZED SW_SHOWMINIMIZED SW_SHOWMINNOACTIVE SW_SHOWNA SW_SHOWNOACTIVATE SW_SHOWNORMAL SW_UNLOCK SystemDir TAB TempDir TRAY_ID TrayIconFlashing TrayIconVisible UserName UserProfileDir WDAY WindowsDir WorkingDir YDAY YEAR',
+ // relevance: 5
+ begin: "@[A-z0-9_]+"
+ };
+ const FUNCTION = {
+ beginKeywords: "Func",
+ end: "$",
+ illegal: "\\$|\\[|%",
+ contains: [
+ hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, { className: "title.function" }),
+ {
+ className: "params",
+ begin: "\\(",
+ end: "\\)",
+ contains: [
+ VARIABLE,
+ STRING,
+ NUMBER
+ ]
+ }
+ ]
+ };
+ return {
+ name: "AutoIt",
+ case_insensitive: true,
+ illegal: /\/\*/,
+ keywords: {
+ keyword: KEYWORDS,
+ built_in: BUILT_IN,
+ literal: LITERAL
+ },
+ contains: [
+ COMMENT,
+ VARIABLE,
+ STRING,
+ NUMBER,
+ PREPROCESSOR,
+ CONSTANT,
+ FUNCTION
+ ]
+ };
+ }
+ module.exports = autoit;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/avrasm.js
+ var require_avrasm = __commonJS({
+ "node_modules/highlight.js/lib/languages/avrasm.js"(exports, module) {
+ function avrasm(hljs) {
+ return {
+ name: "AVR Assembly",
+ case_insensitive: true,
+ keywords: {
+ $pattern: "\\.?" + hljs.IDENT_RE,
+ keyword: (
+ /* mnemonic */
+ "adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr"
+ ),
+ built_in: (
+ /* general purpose registers */
+ "r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf"
+ ),
+ meta: ".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"
+ },
+ contains: [
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.COMMENT(
+ ";",
+ "$",
+ { relevance: 0 }
+ ),
+ hljs.C_NUMBER_MODE,
+ // 0x..., decimal, float
+ hljs.BINARY_NUMBER_MODE,
+ // 0b...
+ {
+ className: "number",
+ begin: "\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"
+ // $..., 0o...
+ },
+ hljs.QUOTE_STRING_MODE,
+ {
+ className: "string",
+ begin: "'",
+ end: "[^\\\\]'",
+ illegal: "[^\\\\][^']"
+ },
+ {
+ className: "symbol",
+ begin: "^[A-Za-z0-9_.$]+:"
+ },
+ {
+ className: "meta",
+ begin: "#",
+ end: "$"
+ },
+ {
+ // substitution within a macro
+ className: "subst",
+ begin: "@[0-9]+"
+ }
+ ]
+ };
+ }
+ module.exports = avrasm;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/awk.js
+ var require_awk = __commonJS({
+ "node_modules/highlight.js/lib/languages/awk.js"(exports, module) {
+ function awk(hljs) {
+ const VARIABLE = {
+ className: "variable",
+ variants: [
+ { begin: /\$[\w\d#@][\w\d_]*/ },
+ { begin: /\$\{(.*?)\}/ }
+ ]
+ };
+ const KEYWORDS = "BEGIN END if else while do for in break continue delete next nextfile function func exit|10";
+ const STRING = {
+ className: "string",
+ contains: [hljs.BACKSLASH_ESCAPE],
+ variants: [
+ {
+ begin: /(u|b)?r?'''/,
+ end: /'''/,
+ relevance: 10
+ },
+ {
+ begin: /(u|b)?r?"""/,
+ end: /"""/,
+ relevance: 10
+ },
+ {
+ begin: /(u|r|ur)'/,
+ end: /'/,
+ relevance: 10
+ },
+ {
+ begin: /(u|r|ur)"/,
+ end: /"/,
+ relevance: 10
+ },
+ {
+ begin: /(b|br)'/,
+ end: /'/
+ },
+ {
+ begin: /(b|br)"/,
+ end: /"/
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE
+ ]
+ };
+ return {
+ name: "Awk",
+ keywords: { keyword: KEYWORDS },
+ contains: [
+ VARIABLE,
+ STRING,
+ hljs.REGEXP_MODE,
+ hljs.HASH_COMMENT_MODE,
+ hljs.NUMBER_MODE
+ ]
+ };
+ }
+ module.exports = awk;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/axapta.js
+ var require_axapta = __commonJS({
+ "node_modules/highlight.js/lib/languages/axapta.js"(exports, module) {
+ function axapta(hljs) {
+ const IDENT_RE = hljs.UNDERSCORE_IDENT_RE;
+ const BUILT_IN_KEYWORDS = [
+ "anytype",
+ "boolean",
+ "byte",
+ "char",
+ "container",
+ "date",
+ "double",
+ "enum",
+ "guid",
+ "int",
+ "int64",
+ "long",
+ "real",
+ "short",
+ "str",
+ "utcdatetime",
+ "var"
+ ];
+ const LITERAL_KEYWORDS = [
+ "default",
+ "false",
+ "null",
+ "true"
+ ];
+ const NORMAL_KEYWORDS = [
+ "abstract",
+ "as",
+ "asc",
+ "avg",
+ "break",
+ "breakpoint",
+ "by",
+ "byref",
+ "case",
+ "catch",
+ "changecompany",
+ "class",
+ "client",
+ "client",
+ "common",
+ "const",
+ "continue",
+ "count",
+ "crosscompany",
+ "delegate",
+ "delete_from",
+ "desc",
+ "display",
+ "div",
+ "do",
+ "edit",
+ "else",
+ "eventhandler",
+ "exists",
+ "extends",
+ "final",
+ "finally",
+ "firstfast",
+ "firstonly",
+ "firstonly1",
+ "firstonly10",
+ "firstonly100",
+ "firstonly1000",
+ "flush",
+ "for",
+ "forceliterals",
+ "forcenestedloop",
+ "forceplaceholders",
+ "forceselectorder",
+ "forupdate",
+ "from",
+ "generateonly",
+ "group",
+ "hint",
+ "if",
+ "implements",
+ "in",
+ "index",
+ "insert_recordset",
+ "interface",
+ "internal",
+ "is",
+ "join",
+ "like",
+ "maxof",
+ "minof",
+ "mod",
+ "namespace",
+ "new",
+ "next",
+ "nofetch",
+ "notexists",
+ "optimisticlock",
+ "order",
+ "outer",
+ "pessimisticlock",
+ "print",
+ "private",
+ "protected",
+ "public",
+ "readonly",
+ "repeatableread",
+ "retry",
+ "return",
+ "reverse",
+ "select",
+ "server",
+ "setting",
+ "static",
+ "sum",
+ "super",
+ "switch",
+ "this",
+ "throw",
+ "try",
+ "ttsabort",
+ "ttsbegin",
+ "ttscommit",
+ "unchecked",
+ "update_recordset",
+ "using",
+ "validtimestate",
+ "void",
+ "where",
+ "while"
+ ];
+ const KEYWORDS = {
+ keyword: NORMAL_KEYWORDS,
+ built_in: BUILT_IN_KEYWORDS,
+ literal: LITERAL_KEYWORDS
+ };
+ const CLASS_DEFINITION = {
+ variants: [
+ { match: [
+ /(class|interface)\s+/,
+ IDENT_RE,
+ /\s+(extends|implements)\s+/,
+ IDENT_RE
+ ] },
+ { match: [
+ /class\s+/,
+ IDENT_RE
+ ] }
+ ],
+ scope: {
+ 2: "title.class",
+ 4: "title.class.inherited"
+ },
+ keywords: KEYWORDS
+ };
+ return {
+ name: "X++",
+ aliases: ["x++"],
+ keywords: KEYWORDS,
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_NUMBER_MODE,
+ {
+ className: "meta",
+ begin: "#",
+ end: "$"
+ },
+ CLASS_DEFINITION
+ ]
+ };
+ }
+ module.exports = axapta;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/bash.js
+ var require_bash = __commonJS({
+ "node_modules/highlight.js/lib/languages/bash.js"(exports, module) {
+ function bash(hljs) {
+ const regex = hljs.regex;
+ const VAR = {};
+ const BRACED_VAR = {
+ begin: /\$\{/,
+ end: /\}/,
+ contains: [
+ "self",
+ {
+ begin: /:-/,
+ contains: [VAR]
+ }
+ // default values
+ ]
+ };
+ Object.assign(VAR, {
+ className: "variable",
+ variants: [
+ { begin: regex.concat(
+ /\$[\w\d#@][\w\d_]*/,
+ // negative look-ahead tries to avoid matching patterns that are not
+ // Perl at all like $ident$, @ident@, etc.
+ `(?![\\w\\d])(?![$])`
+ ) },
+ BRACED_VAR
+ ]
+ });
+ const SUBST = {
+ className: "subst",
+ begin: /\$\(/,
+ end: /\)/,
+ contains: [hljs.BACKSLASH_ESCAPE]
+ };
+ const COMMENT = hljs.inherit(
+ hljs.COMMENT(),
+ {
+ match: [
+ /(^|\s)/,
+ /#.*$/
+ ],
+ scope: {
+ 2: "comment"
+ }
+ }
+ );
+ const HERE_DOC = {
+ begin: /<<-?\s*(?=\w+)/,
+ starts: { contains: [
+ hljs.END_SAME_AS_BEGIN({
+ begin: /(\w+)/,
+ end: /(\w+)/,
+ className: "string"
+ })
+ ] }
+ };
+ const QUOTE_STRING = {
+ className: "string",
+ begin: /"/,
+ end: /"/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ VAR,
+ SUBST
+ ]
+ };
+ SUBST.contains.push(QUOTE_STRING);
+ const ESCAPED_QUOTE = {
+ match: /\\"/
+ };
+ const APOS_STRING = {
+ className: "string",
+ begin: /'/,
+ end: /'/
+ };
+ const ESCAPED_APOS = {
+ match: /\\'/
+ };
+ const ARITHMETIC = {
+ begin: /\$?\(\(/,
+ end: /\)\)/,
+ contains: [
+ {
+ begin: /\d+#[0-9a-f]+/,
+ className: "number"
+ },
+ hljs.NUMBER_MODE,
+ VAR
+ ]
+ };
+ const SH_LIKE_SHELLS = [
+ "fish",
+ "bash",
+ "zsh",
+ "sh",
+ "csh",
+ "ksh",
+ "tcsh",
+ "dash",
+ "scsh"
+ ];
+ const KNOWN_SHEBANG = hljs.SHEBANG({
+ binary: `(${SH_LIKE_SHELLS.join("|")})`,
+ relevance: 10
+ });
+ const FUNCTION = {
+ className: "function",
+ begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/,
+ returnBegin: true,
+ contains: [hljs.inherit(hljs.TITLE_MODE, { begin: /\w[\w\d_]*/ })],
+ relevance: 0
+ };
+ const KEYWORDS = [
+ "if",
+ "then",
+ "else",
+ "elif",
+ "fi",
+ "for",
+ "while",
+ "until",
+ "in",
+ "do",
+ "done",
+ "case",
+ "esac",
+ "function",
+ "select"
+ ];
+ const LITERALS = [
+ "true",
+ "false"
+ ];
+ const PATH_MODE = { match: /(\/[a-z._-]+)+/ };
+ const SHELL_BUILT_INS = [
+ "break",
+ "cd",
+ "continue",
+ "eval",
+ "exec",
+ "exit",
+ "export",
+ "getopts",
+ "hash",
+ "pwd",
+ "readonly",
+ "return",
+ "shift",
+ "test",
+ "times",
+ "trap",
+ "umask",
+ "unset"
+ ];
+ const BASH_BUILT_INS = [
+ "alias",
+ "bind",
+ "builtin",
+ "caller",
+ "command",
+ "declare",
+ "echo",
+ "enable",
+ "help",
+ "let",
+ "local",
+ "logout",
+ "mapfile",
+ "printf",
+ "read",
+ "readarray",
+ "source",
+ "sudo",
+ "type",
+ "typeset",
+ "ulimit",
+ "unalias"
+ ];
+ const ZSH_BUILT_INS = [
+ "autoload",
+ "bg",
+ "bindkey",
+ "bye",
+ "cap",
+ "chdir",
+ "clone",
+ "comparguments",
+ "compcall",
+ "compctl",
+ "compdescribe",
+ "compfiles",
+ "compgroups",
+ "compquote",
+ "comptags",
+ "comptry",
+ "compvalues",
+ "dirs",
+ "disable",
+ "disown",
+ "echotc",
+ "echoti",
+ "emulate",
+ "fc",
+ "fg",
+ "float",
+ "functions",
+ "getcap",
+ "getln",
+ "history",
+ "integer",
+ "jobs",
+ "kill",
+ "limit",
+ "log",
+ "noglob",
+ "popd",
+ "print",
+ "pushd",
+ "pushln",
+ "rehash",
+ "sched",
+ "setcap",
+ "setopt",
+ "stat",
+ "suspend",
+ "ttyctl",
+ "unfunction",
+ "unhash",
+ "unlimit",
+ "unsetopt",
+ "vared",
+ "wait",
+ "whence",
+ "where",
+ "which",
+ "zcompile",
+ "zformat",
+ "zftp",
+ "zle",
+ "zmodload",
+ "zparseopts",
+ "zprof",
+ "zpty",
+ "zregexparse",
+ "zsocket",
+ "zstyle",
+ "ztcp"
+ ];
+ const GNU_CORE_UTILS = [
+ "chcon",
+ "chgrp",
+ "chown",
+ "chmod",
+ "cp",
+ "dd",
+ "df",
+ "dir",
+ "dircolors",
+ "ln",
+ "ls",
+ "mkdir",
+ "mkfifo",
+ "mknod",
+ "mktemp",
+ "mv",
+ "realpath",
+ "rm",
+ "rmdir",
+ "shred",
+ "sync",
+ "touch",
+ "truncate",
+ "vdir",
+ "b2sum",
+ "base32",
+ "base64",
+ "cat",
+ "cksum",
+ "comm",
+ "csplit",
+ "cut",
+ "expand",
+ "fmt",
+ "fold",
+ "head",
+ "join",
+ "md5sum",
+ "nl",
+ "numfmt",
+ "od",
+ "paste",
+ "ptx",
+ "pr",
+ "sha1sum",
+ "sha224sum",
+ "sha256sum",
+ "sha384sum",
+ "sha512sum",
+ "shuf",
+ "sort",
+ "split",
+ "sum",
+ "tac",
+ "tail",
+ "tr",
+ "tsort",
+ "unexpand",
+ "uniq",
+ "wc",
+ "arch",
+ "basename",
+ "chroot",
+ "date",
+ "dirname",
+ "du",
+ "echo",
+ "env",
+ "expr",
+ "factor",
+ // "false", // keyword literal already
+ "groups",
+ "hostid",
+ "id",
+ "link",
+ "logname",
+ "nice",
+ "nohup",
+ "nproc",
+ "pathchk",
+ "pinky",
+ "printenv",
+ "printf",
+ "pwd",
+ "readlink",
+ "runcon",
+ "seq",
+ "sleep",
+ "stat",
+ "stdbuf",
+ "stty",
+ "tee",
+ "test",
+ "timeout",
+ // "true", // keyword literal already
+ "tty",
+ "uname",
+ "unlink",
+ "uptime",
+ "users",
+ "who",
+ "whoami",
+ "yes"
+ ];
+ return {
+ name: "Bash",
+ aliases: [
+ "sh",
+ "zsh"
+ ],
+ keywords: {
+ $pattern: /\b[a-z][a-z0-9._-]+\b/,
+ keyword: KEYWORDS,
+ literal: LITERALS,
+ built_in: [
+ ...SHELL_BUILT_INS,
+ ...BASH_BUILT_INS,
+ // Shell modifiers
+ "set",
+ "shopt",
+ ...ZSH_BUILT_INS,
+ ...GNU_CORE_UTILS
+ ]
+ },
+ contains: [
+ KNOWN_SHEBANG,
+ // to catch known shells and boost relevancy
+ hljs.SHEBANG(),
+ // to catch unknown shells but still highlight the shebang
+ FUNCTION,
+ ARITHMETIC,
+ COMMENT,
+ HERE_DOC,
+ PATH_MODE,
+ QUOTE_STRING,
+ ESCAPED_QUOTE,
+ APOS_STRING,
+ ESCAPED_APOS,
+ VAR
+ ]
+ };
+ }
+ module.exports = bash;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/basic.js
+ var require_basic = __commonJS({
+ "node_modules/highlight.js/lib/languages/basic.js"(exports, module) {
+ function basic(hljs) {
+ const KEYWORDS = [
+ "ABS",
+ "ASC",
+ "AND",
+ "ATN",
+ "AUTO|0",
+ "BEEP",
+ "BLOAD|10",
+ "BSAVE|10",
+ "CALL",
+ "CALLS",
+ "CDBL",
+ "CHAIN",
+ "CHDIR",
+ "CHR$|10",
+ "CINT",
+ "CIRCLE",
+ "CLEAR",
+ "CLOSE",
+ "CLS",
+ "COLOR",
+ "COM",
+ "COMMON",
+ "CONT",
+ "COS",
+ "CSNG",
+ "CSRLIN",
+ "CVD",
+ "CVI",
+ "CVS",
+ "DATA",
+ "DATE$",
+ "DEFDBL",
+ "DEFINT",
+ "DEFSNG",
+ "DEFSTR",
+ "DEF|0",
+ "SEG",
+ "USR",
+ "DELETE",
+ "DIM",
+ "DRAW",
+ "EDIT",
+ "END",
+ "ENVIRON",
+ "ENVIRON$",
+ "EOF",
+ "EQV",
+ "ERASE",
+ "ERDEV",
+ "ERDEV$",
+ "ERL",
+ "ERR",
+ "ERROR",
+ "EXP",
+ "FIELD",
+ "FILES",
+ "FIX",
+ "FOR|0",
+ "FRE",
+ "GET",
+ "GOSUB|10",
+ "GOTO",
+ "HEX$",
+ "IF",
+ "THEN",
+ "ELSE|0",
+ "INKEY$",
+ "INP",
+ "INPUT",
+ "INPUT#",
+ "INPUT$",
+ "INSTR",
+ "IMP",
+ "INT",
+ "IOCTL",
+ "IOCTL$",
+ "KEY",
+ "ON",
+ "OFF",
+ "LIST",
+ "KILL",
+ "LEFT$",
+ "LEN",
+ "LET",
+ "LINE",
+ "LLIST",
+ "LOAD",
+ "LOC",
+ "LOCATE",
+ "LOF",
+ "LOG",
+ "LPRINT",
+ "USING",
+ "LSET",
+ "MERGE",
+ "MID$",
+ "MKDIR",
+ "MKD$",
+ "MKI$",
+ "MKS$",
+ "MOD",
+ "NAME",
+ "NEW",
+ "NEXT",
+ "NOISE",
+ "NOT",
+ "OCT$",
+ "ON",
+ "OR",
+ "PEN",
+ "PLAY",
+ "STRIG",
+ "OPEN",
+ "OPTION",
+ "BASE",
+ "OUT",
+ "PAINT",
+ "PALETTE",
+ "PCOPY",
+ "PEEK",
+ "PMAP",
+ "POINT",
+ "POKE",
+ "POS",
+ "PRINT",
+ "PRINT]",
+ "PSET",
+ "PRESET",
+ "PUT",
+ "RANDOMIZE",
+ "READ",
+ "REM",
+ "RENUM",
+ "RESET|0",
+ "RESTORE",
+ "RESUME",
+ "RETURN|0",
+ "RIGHT$",
+ "RMDIR",
+ "RND",
+ "RSET",
+ "RUN",
+ "SAVE",
+ "SCREEN",
+ "SGN",
+ "SHELL",
+ "SIN",
+ "SOUND",
+ "SPACE$",
+ "SPC",
+ "SQR",
+ "STEP",
+ "STICK",
+ "STOP",
+ "STR$",
+ "STRING$",
+ "SWAP",
+ "SYSTEM",
+ "TAB",
+ "TAN",
+ "TIME$",
+ "TIMER",
+ "TROFF",
+ "TRON",
+ "TO",
+ "USR",
+ "VAL",
+ "VARPTR",
+ "VARPTR$",
+ "VIEW",
+ "WAIT",
+ "WHILE",
+ "WEND",
+ "WIDTH",
+ "WINDOW",
+ "WRITE",
+ "XOR"
+ ];
+ return {
+ name: "BASIC",
+ case_insensitive: true,
+ illegal: "^.",
+ // Support explicitly typed variables that end with $%! or #.
+ keywords: {
+ $pattern: "[a-zA-Z][a-zA-Z0-9_$%!#]*",
+ keyword: KEYWORDS
+ },
+ contains: [
+ hljs.QUOTE_STRING_MODE,
+ hljs.COMMENT("REM", "$", { relevance: 10 }),
+ hljs.COMMENT("'", "$", { relevance: 0 }),
+ {
+ // Match line numbers
+ className: "symbol",
+ begin: "^[0-9]+ ",
+ relevance: 10
+ },
+ {
+ // Match typed numeric constants (1000, 12.34!, 1.2e5, 1.5#, 1.2D2)
+ className: "number",
+ begin: "\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",
+ relevance: 0
+ },
+ {
+ // Match hexadecimal numbers (&Hxxxx)
+ className: "number",
+ begin: "(&[hH][0-9a-fA-F]{1,4})"
+ },
+ {
+ // Match octal numbers (&Oxxxxxx)
+ className: "number",
+ begin: "(&[oO][0-7]{1,6})"
+ }
+ ]
+ };
+ }
+ module.exports = basic;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/bnf.js
+ var require_bnf = __commonJS({
+ "node_modules/highlight.js/lib/languages/bnf.js"(exports, module) {
+ function bnf(hljs) {
+ return {
+ name: "Backus\u2013Naur Form",
+ contains: [
+ // Attribute
+ {
+ className: "attribute",
+ begin: /</,
+ end: />/
+ },
+ // Specific
+ {
+ begin: /::=/,
+ end: /$/,
+ contains: [
+ {
+ begin: /</,
+ end: />/
+ },
+ // Common
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE
+ ]
+ }
+ ]
+ };
+ }
+ module.exports = bnf;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/brainfuck.js
+ var require_brainfuck = __commonJS({
+ "node_modules/highlight.js/lib/languages/brainfuck.js"(exports, module) {
+ function brainfuck(hljs) {
+ const LITERAL = {
+ className: "literal",
+ begin: /[+-]+/,
+ relevance: 0
+ };
+ return {
+ name: "Brainfuck",
+ aliases: ["bf"],
+ contains: [
+ hljs.COMMENT(
+ /[^\[\]\.,\+\-<> \r\n]/,
+ /[\[\]\.,\+\-<> \r\n]/,
+ {
+ contains: [
+ {
+ match: /[ ]+[^\[\]\.,\+\-<> \r\n]/,
+ relevance: 0
+ }
+ ],
+ returnEnd: true,
+ relevance: 0
+ }
+ ),
+ {
+ className: "title",
+ begin: "[\\[\\]]",
+ relevance: 0
+ },
+ {
+ className: "string",
+ begin: "[\\.,]",
+ relevance: 0
+ },
+ {
+ // this mode works as the only relevance counter
+ // it looks ahead to find the start of a run of literals
+ // so only the runs are counted as relevant
+ begin: /(?=\+\+|--)/,
+ contains: [LITERAL]
+ },
+ LITERAL
+ ]
+ };
+ }
+ module.exports = brainfuck;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/c.js
+ var require_c2 = __commonJS({
+ "node_modules/highlight.js/lib/languages/c.js"(exports, module) {
+ function c(hljs) {
+ const regex = hljs.regex;
+ const C_LINE_COMMENT_MODE = hljs.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] });
+ const DECLTYPE_AUTO_RE = "decltype\\(auto\\)";
+ const NAMESPACE_RE = "[a-zA-Z_]\\w*::";
+ const TEMPLATE_ARGUMENT_RE = "<[^<>]+>";
+ const FUNCTION_TYPE_RE = "(" + DECLTYPE_AUTO_RE + "|" + regex.optional(NAMESPACE_RE) + "[a-zA-Z_]\\w*" + regex.optional(TEMPLATE_ARGUMENT_RE) + ")";
+ const TYPES = {
+ className: "type",
+ variants: [
+ { begin: "\\b[a-z\\d_]*_t\\b" },
+ { match: /\batomic_[a-z]{3,6}\b/ }
+ ]
+ };
+ const CHARACTER_ESCAPES = "\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)";
+ const STRINGS = {
+ className: "string",
+ variants: [
+ {
+ begin: '(u8?|U|L)?"',
+ end: '"',
+ illegal: "\\n",
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ {
+ begin: "(u8?|U|L)?'(" + CHARACTER_ESCAPES + "|.)",
+ end: "'",
+ illegal: "."
+ },
+ hljs.END_SAME_AS_BEGIN({
+ begin: /(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,
+ end: /\)([^()\\ ]{0,16})"/
+ })
+ ]
+ };
+ const NUMBERS = {
+ className: "number",
+ variants: [
+ { begin: "\\b(0b[01']+)" },
+ { begin: "(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)" },
+ { begin: "(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" }
+ ],
+ relevance: 0
+ };
+ const PREPROCESSOR = {
+ className: "meta",
+ begin: /#\s*[a-z]+\b/,
+ end: /$/,
+ keywords: { keyword: "if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include" },
+ contains: [
+ {
+ begin: /\\\n/,
+ relevance: 0
+ },
+ hljs.inherit(STRINGS, { className: "string" }),
+ {
+ className: "string",
+ begin: /<.*?>/
+ },
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ };
+ const TITLE_MODE = {
+ className: "title",
+ begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,
+ relevance: 0
+ };
+ const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + "\\s*\\(";
+ const C_KEYWORDS = [
+ "asm",
+ "auto",
+ "break",
+ "case",
+ "continue",
+ "default",
+ "do",
+ "else",
+ "enum",
+ "extern",
+ "for",
+ "fortran",
+ "goto",
+ "if",
+ "inline",
+ "register",
+ "restrict",
+ "return",
+ "sizeof",
+ "typeof",
+ "typeof_unqual",
+ "struct",
+ "switch",
+ "typedef",
+ "union",
+ "volatile",
+ "while",
+ "_Alignas",
+ "_Alignof",
+ "_Atomic",
+ "_Generic",
+ "_Noreturn",
+ "_Static_assert",
+ "_Thread_local",
+ // aliases
+ "alignas",
+ "alignof",
+ "noreturn",
+ "static_assert",
+ "thread_local",
+ // not a C keyword but is, for all intents and purposes, treated exactly like one.
+ "_Pragma"
+ ];
+ const C_TYPES = [
+ "float",
+ "double",
+ "signed",
+ "unsigned",
+ "int",
+ "short",
+ "long",
+ "char",
+ "void",
+ "_Bool",
+ "_BitInt",
+ "_Complex",
+ "_Imaginary",
+ "_Decimal32",
+ "_Decimal64",
+ "_Decimal96",
+ "_Decimal128",
+ "_Decimal64x",
+ "_Decimal128x",
+ "_Float16",
+ "_Float32",
+ "_Float64",
+ "_Float128",
+ "_Float32x",
+ "_Float64x",
+ "_Float128x",
+ // modifiers
+ "const",
+ "static",
+ "constexpr",
+ // aliases
+ "complex",
+ "bool",
+ "imaginary"
+ ];
+ const KEYWORDS = {
+ keyword: C_KEYWORDS,
+ type: C_TYPES,
+ literal: "true false NULL",
+ // TODO: apply hinting work similar to what was done in cpp.js
+ built_in: "std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"
+ };
+ const EXPRESSION_CONTAINS = [
+ PREPROCESSOR,
+ TYPES,
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ NUMBERS,
+ STRINGS
+ ];
+ const EXPRESSION_CONTEXT = {
+ // This mode covers expression context where we can't expect a function
+ // definition and shouldn't highlight anything that looks like one:
+ // `return some()`, `else if()`, `(x*sum(1, 2))`
+ variants: [
+ {
+ begin: /=/,
+ end: /;/
+ },
+ {
+ begin: /\(/,
+ end: /\)/
+ },
+ {
+ beginKeywords: "new throw return else",
+ end: /;/
+ }
+ ],
+ keywords: KEYWORDS,
+ contains: EXPRESSION_CONTAINS.concat([
+ {
+ begin: /\(/,
+ end: /\)/,
+ keywords: KEYWORDS,
+ contains: EXPRESSION_CONTAINS.concat(["self"]),
+ relevance: 0
+ }
+ ]),
+ relevance: 0
+ };
+ const FUNCTION_DECLARATION = {
+ begin: "(" + FUNCTION_TYPE_RE + "[\\*&\\s]+)+" + FUNCTION_TITLE,
+ returnBegin: true,
+ end: /[{;=]/,
+ excludeEnd: true,
+ keywords: KEYWORDS,
+ illegal: /[^\w\s\*&:<>.]/,
+ contains: [
+ {
+ // to prevent it from being confused as the function title
+ begin: DECLTYPE_AUTO_RE,
+ keywords: KEYWORDS,
+ relevance: 0
+ },
+ {
+ begin: FUNCTION_TITLE,
+ returnBegin: true,
+ contains: [hljs.inherit(TITLE_MODE, { className: "title.function" })],
+ relevance: 0
+ },
+ // allow for multiple declarations, e.g.:
+ // extern void f(int), g(char);
+ {
+ relevance: 0,
+ match: /,/
+ },
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ keywords: KEYWORDS,
+ relevance: 0,
+ contains: [
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRINGS,
+ NUMBERS,
+ TYPES,
+ // Count matching parentheses.
+ {
+ begin: /\(/,
+ end: /\)/,
+ keywords: KEYWORDS,
+ relevance: 0,
+ contains: [
+ "self",
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRINGS,
+ NUMBERS,
+ TYPES
+ ]
+ }
+ ]
+ },
+ TYPES,
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ PREPROCESSOR
+ ]
+ };
+ return {
+ name: "C",
+ aliases: ["h"],
+ keywords: KEYWORDS,
+ // Until differentiations are added between `c` and `cpp`, `c` will
+ // not be auto-detected to avoid auto-detect conflicts between C and C++
+ disableAutodetect: true,
+ illegal: "</",
+ contains: [].concat(
+ EXPRESSION_CONTEXT,
+ FUNCTION_DECLARATION,
+ EXPRESSION_CONTAINS,
+ [
+ PREPROCESSOR,
+ {
+ begin: hljs.IDENT_RE + "::",
+ keywords: KEYWORDS
+ },
+ {
+ className: "class",
+ beginKeywords: "enum class struct union",
+ end: /[{;:<>=]/,
+ contains: [
+ { beginKeywords: "final class struct" },
+ hljs.TITLE_MODE
+ ]
+ }
+ ]
+ ),
+ exports: {
+ preprocessor: PREPROCESSOR,
+ strings: STRINGS,
+ keywords: KEYWORDS
+ }
+ };
+ }
+ module.exports = c;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/cal.js
+ var require_cal = __commonJS({
+ "node_modules/highlight.js/lib/languages/cal.js"(exports, module) {
+ function cal(hljs) {
+ const regex = hljs.regex;
+ const KEYWORDS = [
+ "div",
+ "mod",
+ "in",
+ "and",
+ "or",
+ "not",
+ "xor",
+ "asserterror",
+ "begin",
+ "case",
+ "do",
+ "downto",
+ "else",
+ "end",
+ "exit",
+ "for",
+ "local",
+ "if",
+ "of",
+ "repeat",
+ "then",
+ "to",
+ "until",
+ "while",
+ "with",
+ "var"
+ ];
+ const LITERALS = "false true";
+ const COMMENT_MODES = [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.COMMENT(
+ /\{/,
+ /\}/,
+ { relevance: 0 }
+ ),
+ hljs.COMMENT(
+ /\(\*/,
+ /\*\)/,
+ { relevance: 10 }
+ )
+ ];
+ const STRING = {
+ className: "string",
+ begin: /'/,
+ end: /'/,
+ contains: [{ begin: /''/ }]
+ };
+ const CHAR_STRING = {
+ className: "string",
+ begin: /(#\d+)+/
+ };
+ const DATE = {
+ className: "number",
+ begin: "\\b\\d+(\\.\\d+)?(DT|D|T)",
+ relevance: 0
+ };
+ const DBL_QUOTED_VARIABLE = {
+ className: "string",
+ // not a string technically but makes sense to be highlighted in the same style
+ begin: '"',
+ end: '"'
+ };
+ const PROCEDURE = {
+ match: [
+ /procedure/,
+ /\s+/,
+ /[a-zA-Z_][\w@]*/,
+ /\s*/
+ ],
+ scope: {
+ 1: "keyword",
+ 3: "title.function"
+ },
+ contains: [
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ keywords: KEYWORDS,
+ contains: [
+ STRING,
+ CHAR_STRING,
+ hljs.NUMBER_MODE
+ ]
+ },
+ ...COMMENT_MODES
+ ]
+ };
+ const OBJECT_TYPES = [
+ "Table",
+ "Form",
+ "Report",
+ "Dataport",
+ "Codeunit",
+ "XMLport",
+ "MenuSuite",
+ "Page",
+ "Query"
+ ];
+ const OBJECT = {
+ match: [
+ /OBJECT/,
+ /\s+/,
+ regex.either(...OBJECT_TYPES),
+ /\s+/,
+ /\d+/,
+ /\s+(?=[^\s])/,
+ /.*/,
+ /$/
+ ],
+ relevance: 3,
+ scope: {
+ 1: "keyword",
+ 3: "type",
+ 5: "number",
+ 7: "title"
+ }
+ };
+ const PROPERTY = {
+ match: /[\w]+(?=\=)/,
+ scope: "attribute",
+ relevance: 0
+ };
+ return {
+ name: "C/AL",
+ case_insensitive: true,
+ keywords: {
+ keyword: KEYWORDS,
+ literal: LITERALS
+ },
+ illegal: /\/\*/,
+ contains: [
+ PROPERTY,
+ STRING,
+ CHAR_STRING,
+ DATE,
+ DBL_QUOTED_VARIABLE,
+ hljs.NUMBER_MODE,
+ OBJECT,
+ PROCEDURE
+ ]
+ };
+ }
+ module.exports = cal;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/capnproto.js
+ var require_capnproto = __commonJS({
+ "node_modules/highlight.js/lib/languages/capnproto.js"(exports, module) {
+ function capnproto(hljs) {
+ const KEYWORDS = [
+ "struct",
+ "enum",
+ "interface",
+ "union",
+ "group",
+ "import",
+ "using",
+ "const",
+ "annotation",
+ "extends",
+ "in",
+ "of",
+ "on",
+ "as",
+ "with",
+ "from",
+ "fixed"
+ ];
+ const TYPES = [
+ "Void",
+ "Bool",
+ "Int8",
+ "Int16",
+ "Int32",
+ "Int64",
+ "UInt8",
+ "UInt16",
+ "UInt32",
+ "UInt64",
+ "Float32",
+ "Float64",
+ "Text",
+ "Data",
+ "AnyPointer",
+ "AnyStruct",
+ "Capability",
+ "List"
+ ];
+ const LITERALS = [
+ "true",
+ "false"
+ ];
+ const CLASS_DEFINITION = {
+ variants: [
+ { match: [
+ /(struct|enum|interface)/,
+ /\s+/,
+ hljs.IDENT_RE
+ ] },
+ { match: [
+ /extends/,
+ /\s*\(/,
+ hljs.IDENT_RE,
+ /\s*\)/
+ ] }
+ ],
+ scope: {
+ 1: "keyword",
+ 3: "title.class"
+ }
+ };
+ return {
+ name: "Cap\u2019n Proto",
+ aliases: ["capnp"],
+ keywords: {
+ keyword: KEYWORDS,
+ type: TYPES,
+ literal: LITERALS
+ },
+ contains: [
+ hljs.QUOTE_STRING_MODE,
+ hljs.NUMBER_MODE,
+ hljs.HASH_COMMENT_MODE,
+ {
+ className: "meta",
+ begin: /@0x[\w\d]{16};/,
+ illegal: /\n/
+ },
+ {
+ className: "symbol",
+ begin: /@\d+\b/
+ },
+ CLASS_DEFINITION
+ ]
+ };
+ }
+ module.exports = capnproto;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/ceylon.js
+ var require_ceylon = __commonJS({
+ "node_modules/highlight.js/lib/languages/ceylon.js"(exports, module) {
+ function ceylon(hljs) {
+ const KEYWORDS = [
+ "assembly",
+ "module",
+ "package",
+ "import",
+ "alias",
+ "class",
+ "interface",
+ "object",
+ "given",
+ "value",
+ "assign",
+ "void",
+ "function",
+ "new",
+ "of",
+ "extends",
+ "satisfies",
+ "abstracts",
+ "in",
+ "out",
+ "return",
+ "break",
+ "continue",
+ "throw",
+ "assert",
+ "dynamic",
+ "if",
+ "else",
+ "switch",
+ "case",
+ "for",
+ "while",
+ "try",
+ "catch",
+ "finally",
+ "then",
+ "let",
+ "this",
+ "outer",
+ "super",
+ "is",
+ "exists",
+ "nonempty"
+ ];
+ const DECLARATION_MODIFIERS = [
+ "shared",
+ "abstract",
+ "formal",
+ "default",
+ "actual",
+ "variable",
+ "late",
+ "native",
+ "deprecated",
+ "final",
+ "sealed",
+ "annotation",
+ "suppressWarnings",
+ "small"
+ ];
+ const DOCUMENTATION = [
+ "doc",
+ "by",
+ "license",
+ "see",
+ "throws",
+ "tagged"
+ ];
+ const SUBST = {
+ className: "subst",
+ excludeBegin: true,
+ excludeEnd: true,
+ begin: /``/,
+ end: /``/,
+ keywords: KEYWORDS,
+ relevance: 10
+ };
+ const EXPRESSIONS = [
+ {
+ // verbatim string
+ className: "string",
+ begin: '"""',
+ end: '"""',
+ relevance: 10
+ },
+ {
+ // string literal or template
+ className: "string",
+ begin: '"',
+ end: '"',
+ contains: [SUBST]
+ },
+ {
+ // character literal
+ className: "string",
+ begin: "'",
+ end: "'"
+ },
+ {
+ // numeric literal
+ className: "number",
+ begin: "#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",
+ relevance: 0
+ }
+ ];
+ SUBST.contains = EXPRESSIONS;
+ return {
+ name: "Ceylon",
+ keywords: {
+ keyword: KEYWORDS.concat(DECLARATION_MODIFIERS),
+ meta: DOCUMENTATION
+ },
+ illegal: "\\$[^01]|#[^0-9a-fA-F]",
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.COMMENT("/\\*", "\\*/", { contains: ["self"] }),
+ {
+ // compiler annotation
+ className: "meta",
+ begin: '@[a-z]\\w*(?::"[^"]*")?'
+ }
+ ].concat(EXPRESSIONS)
+ };
+ }
+ module.exports = ceylon;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/clean.js
+ var require_clean = __commonJS({
+ "node_modules/highlight.js/lib/languages/clean.js"(exports, module) {
+ function clean(hljs) {
+ const KEYWORDS = [
+ "if",
+ "let",
+ "in",
+ "with",
+ "where",
+ "case",
+ "of",
+ "class",
+ "instance",
+ "otherwise",
+ "implementation",
+ "definition",
+ "system",
+ "module",
+ "from",
+ "import",
+ "qualified",
+ "as",
+ "special",
+ "code",
+ "inline",
+ "foreign",
+ "export",
+ "ccall",
+ "stdcall",
+ "generic",
+ "derive",
+ "infix",
+ "infixl",
+ "infixr"
+ ];
+ return {
+ name: "Clean",
+ aliases: [
+ "icl",
+ "dcl"
+ ],
+ keywords: {
+ keyword: KEYWORDS,
+ built_in: "Int Real Char Bool",
+ literal: "True False"
+ },
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_NUMBER_MODE,
+ {
+ // relevance booster
+ begin: "->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"
+ }
+ ]
+ };
+ }
+ module.exports = clean;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/clojure.js
+ var require_clojure = __commonJS({
+ "node_modules/highlight.js/lib/languages/clojure.js"(exports, module) {
+ function clojure(hljs) {
+ const SYMBOLSTART = "a-zA-Z_\\-!.?+*=<>&'";
+ const SYMBOL_RE = "[#]?[" + SYMBOLSTART + "][" + SYMBOLSTART + "0-9/;:$#]*";
+ const globals = "def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord";
+ const keywords = {
+ $pattern: SYMBOL_RE,
+ built_in: (
+ // Clojure keywords
+ globals + " cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"
+ )
+ };
+ const SYMBOL = {
+ begin: SYMBOL_RE,
+ relevance: 0
+ };
+ const NUMBER = {
+ scope: "number",
+ relevance: 0,
+ variants: [
+ { match: /[-+]?0[xX][0-9a-fA-F]+N?/ },
+ // hexadecimal // 0x2a
+ { match: /[-+]?0[0-7]+N?/ },
+ // octal // 052
+ { match: /[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/ },
+ // variable radix from 2 to 36 // 2r101010, 8r52, 36r16
+ { match: /[-+]?[0-9]+\/[0-9]+N?/ },
+ // ratio // 1/2
+ { match: /[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/ },
+ // float // 0.42 4.2E-1M 42E1 42M
+ { match: /[-+]?([1-9][0-9]*|0)N?/ }
+ // int (don't match leading 0) // 42 42N
+ ]
+ };
+ const CHARACTER = {
+ scope: "character",
+ variants: [
+ { match: /\\o[0-3]?[0-7]{1,2}/ },
+ // Unicode Octal 0 - 377
+ { match: /\\u[0-9a-fA-F]{4}/ },
+ // Unicode Hex 0000 - FFFF
+ { match: /\\(newline|space|tab|formfeed|backspace|return)/ },
+ // special characters
+ {
+ match: /\\\S/,
+ relevance: 0
+ }
+ // any non-whitespace char
+ ]
+ };
+ const REGEX = {
+ scope: "regex",
+ begin: /#"/,
+ end: /"/,
+ contains: [hljs.BACKSLASH_ESCAPE]
+ };
+ const STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null });
+ const COMMA = {
+ scope: "punctuation",
+ match: /,/,
+ relevance: 0
+ };
+ const COMMENT = hljs.COMMENT(
+ ";",
+ "$",
+ { relevance: 0 }
+ );
+ const LITERAL = {
+ className: "literal",
+ begin: /\b(true|false|nil)\b/
+ };
+ const COLLECTION = {
+ begin: "\\[|(#::?" + SYMBOL_RE + ")?\\{",
+ end: "[\\]\\}]",
+ relevance: 0
+ };
+ const KEY = {
+ className: "symbol",
+ begin: "[:]{1,2}" + SYMBOL_RE
+ };
+ const LIST = {
+ begin: "\\(",
+ end: "\\)"
+ };
+ const BODY = {
+ endsWithParent: true,
+ relevance: 0
+ };
+ const NAME2 = {
+ keywords,
+ className: "name",
+ begin: SYMBOL_RE,
+ relevance: 0,
+ starts: BODY
+ };
+ const DEFAULT_CONTAINS = [
+ COMMA,
+ LIST,
+ CHARACTER,
+ REGEX,
+ STRING,
+ COMMENT,
+ KEY,
+ COLLECTION,
+ NUMBER,
+ LITERAL,
+ SYMBOL
+ ];
+ const GLOBAL = {
+ beginKeywords: globals,
+ keywords: {
+ $pattern: SYMBOL_RE,
+ keyword: globals
+ },
+ end: '(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',
+ contains: [
+ {
+ className: "title",
+ begin: SYMBOL_RE,
+ relevance: 0,
+ excludeEnd: true,
+ // we can only have a single title
+ endsParent: true
+ }
+ ].concat(DEFAULT_CONTAINS)
+ };
+ LIST.contains = [
+ GLOBAL,
+ NAME2,
+ BODY
+ ];
+ BODY.contains = DEFAULT_CONTAINS;
+ COLLECTION.contains = DEFAULT_CONTAINS;
+ return {
+ name: "Clojure",
+ aliases: [
+ "clj",
+ "edn"
+ ],
+ illegal: /\S/,
+ contains: [
+ COMMA,
+ LIST,
+ CHARACTER,
+ REGEX,
+ STRING,
+ COMMENT,
+ KEY,
+ COLLECTION,
+ NUMBER,
+ LITERAL
+ ]
+ };
+ }
+ module.exports = clojure;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/clojure-repl.js
+ var require_clojure_repl = __commonJS({
+ "node_modules/highlight.js/lib/languages/clojure-repl.js"(exports, module) {
+ function clojureRepl(hljs) {
+ return {
+ name: "Clojure REPL",
+ contains: [
+ {
+ className: "meta.prompt",
+ begin: /^([\w.-]+|\s*#_)?=>/,
+ starts: {
+ end: /$/,
+ subLanguage: "clojure"
+ }
+ }
+ ]
+ };
+ }
+ module.exports = clojureRepl;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/cmake.js
+ var require_cmake = __commonJS({
+ "node_modules/highlight.js/lib/languages/cmake.js"(exports, module) {
+ function cmake(hljs) {
+ return {
+ name: "CMake",
+ aliases: ["cmake.in"],
+ case_insensitive: true,
+ keywords: { keyword: (
+ // scripting commands
+ "break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"
+ ) },
+ contains: [
+ {
+ className: "variable",
+ begin: /\$\{/,
+ end: /\}/
+ },
+ hljs.COMMENT(/#\[\[/, /]]/),
+ hljs.HASH_COMMENT_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.NUMBER_MODE
+ ]
+ };
+ }
+ module.exports = cmake;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/coffeescript.js
+ var require_coffeescript = __commonJS({
+ "node_modules/highlight.js/lib/languages/coffeescript.js"(exports, module) {
+ var KEYWORDS = [
+ "as",
+ // for exports
+ "in",
+ "of",
+ "if",
+ "for",
+ "while",
+ "finally",
+ "var",
+ "new",
+ "function",
+ "do",
+ "return",
+ "void",
+ "else",
+ "break",
+ "catch",
+ "instanceof",
+ "with",
+ "throw",
+ "case",
+ "default",
+ "try",
+ "switch",
+ "continue",
+ "typeof",
+ "delete",
+ "let",
+ "yield",
+ "const",
+ "class",
+ // JS handles these with a special rule
+ // "get",
+ // "set",
+ "debugger",
+ "async",
+ "await",
+ "static",
+ "import",
+ "from",
+ "export",
+ "extends"
+ ];
+ var LITERALS = [
+ "true",
+ "false",
+ "null",
+ "undefined",
+ "NaN",
+ "Infinity"
+ ];
+ var TYPES = [
+ // Fundamental objects
+ "Object",
+ "Function",
+ "Boolean",
+ "Symbol",
+ // numbers and dates
+ "Math",
+ "Date",
+ "Number",
+ "BigInt",
+ // text
+ "String",
+ "RegExp",
+ // Indexed collections
+ "Array",
+ "Float32Array",
+ "Float64Array",
+ "Int8Array",
+ "Uint8Array",
+ "Uint8ClampedArray",
+ "Int16Array",
+ "Int32Array",
+ "Uint16Array",
+ "Uint32Array",
+ "BigInt64Array",
+ "BigUint64Array",
+ // Keyed collections
+ "Set",
+ "Map",
+ "WeakSet",
+ "WeakMap",
+ // Structured data
+ "ArrayBuffer",
+ "SharedArrayBuffer",
+ "Atomics",
+ "DataView",
+ "JSON",
+ // Control abstraction objects
+ "Promise",
+ "Generator",
+ "GeneratorFunction",
+ "AsyncFunction",
+ // Reflection
+ "Reflect",
+ "Proxy",
+ // Internationalization
+ "Intl",
+ // WebAssembly
+ "WebAssembly"
+ ];
+ var ERROR_TYPES = [
+ "Error",
+ "EvalError",
+ "InternalError",
+ "RangeError",
+ "ReferenceError",
+ "SyntaxError",
+ "TypeError",
+ "URIError"
+ ];
+ var BUILT_IN_GLOBALS = [
+ "setInterval",
+ "setTimeout",
+ "clearInterval",
+ "clearTimeout",
+ "require",
+ "exports",
+ "eval",
+ "isFinite",
+ "isNaN",
+ "parseFloat",
+ "parseInt",
+ "decodeURI",
+ "decodeURIComponent",
+ "encodeURI",
+ "encodeURIComponent",
+ "escape",
+ "unescape"
+ ];
+ var BUILT_INS = [].concat(
+ BUILT_IN_GLOBALS,
+ TYPES,
+ ERROR_TYPES
+ );
+ function coffeescript(hljs) {
+ const COFFEE_BUILT_INS = [
+ "npm",
+ "print"
+ ];
+ const COFFEE_LITERALS = [
+ "yes",
+ "no",
+ "on",
+ "off"
+ ];
+ const COFFEE_KEYWORDS = [
+ "then",
+ "unless",
+ "until",
+ "loop",
+ "by",
+ "when",
+ "and",
+ "or",
+ "is",
+ "isnt",
+ "not"
+ ];
+ const NOT_VALID_KEYWORDS = [
+ "var",
+ "const",
+ "let",
+ "function",
+ "static"
+ ];
+ const excluding = (list) => (kw) => !list.includes(kw);
+ const KEYWORDS$1 = {
+ keyword: KEYWORDS.concat(COFFEE_KEYWORDS).filter(excluding(NOT_VALID_KEYWORDS)),
+ literal: LITERALS.concat(COFFEE_LITERALS),
+ built_in: BUILT_INS.concat(COFFEE_BUILT_INS)
+ };
+ const JS_IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
+ const SUBST = {
+ className: "subst",
+ begin: /#\{/,
+ end: /\}/,
+ keywords: KEYWORDS$1
+ };
+ const EXPRESSIONS = [
+ hljs.BINARY_NUMBER_MODE,
+ hljs.inherit(hljs.C_NUMBER_MODE, { starts: {
+ end: "(\\s*/)?",
+ relevance: 0
+ } }),
+ // a number tries to eat the following slash to prevent treating it as a regexp
+ {
+ className: "string",
+ variants: [
+ {
+ begin: /'''/,
+ end: /'''/,
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ {
+ begin: /'/,
+ end: /'/,
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ {
+ begin: /"""/,
+ end: /"""/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ]
+ },
+ {
+ begin: /"/,
+ end: /"/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ]
+ }
+ ]
+ },
+ {
+ className: "regexp",
+ variants: [
+ {
+ begin: "///",
+ end: "///",
+ contains: [
+ SUBST,
+ hljs.HASH_COMMENT_MODE
+ ]
+ },
+ {
+ begin: "//[gim]{0,3}(?=\\W)",
+ relevance: 0
+ },
+ {
+ // regex can't start with space to parse x / 2 / 3 as two divisions
+ // regex can't start with *, and it supports an "illegal" in the main mode
+ begin: /\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/
+ }
+ ]
+ },
+ {
+ begin: "@" + JS_IDENT_RE
+ // relevance booster
+ },
+ {
+ subLanguage: "javascript",
+ excludeBegin: true,
+ excludeEnd: true,
+ variants: [
+ {
+ begin: "```",
+ end: "```"
+ },
+ {
+ begin: "`",
+ end: "`"
+ }
+ ]
+ }
+ ];
+ SUBST.contains = EXPRESSIONS;
+ const TITLE2 = hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE });
+ const POSSIBLE_PARAMS_RE = "(\\(.*\\)\\s*)?\\B[-=]>";
+ const PARAMS = {
+ className: "params",
+ begin: "\\([^\\(]",
+ returnBegin: true,
+ /* We need another contained nameless mode to not have every nested
+ pair of parens to be called "params" */
+ contains: [
+ {
+ begin: /\(/,
+ end: /\)/,
+ keywords: KEYWORDS$1,
+ contains: ["self"].concat(EXPRESSIONS)
+ }
+ ]
+ };
+ const CLASS_DEFINITION = {
+ variants: [
+ { match: [
+ /class\s+/,
+ JS_IDENT_RE,
+ /\s+extends\s+/,
+ JS_IDENT_RE
+ ] },
+ { match: [
+ /class\s+/,
+ JS_IDENT_RE
+ ] }
+ ],
+ scope: {
+ 2: "title.class",
+ 4: "title.class.inherited"
+ },
+ keywords: KEYWORDS$1
+ };
+ return {
+ name: "CoffeeScript",
+ aliases: [
+ "coffee",
+ "cson",
+ "iced"
+ ],
+ keywords: KEYWORDS$1,
+ illegal: /\/\*/,
+ contains: [
+ ...EXPRESSIONS,
+ hljs.COMMENT("###", "###"),
+ hljs.HASH_COMMENT_MODE,
+ {
+ className: "function",
+ begin: "^\\s*" + JS_IDENT_RE + "\\s*=\\s*" + POSSIBLE_PARAMS_RE,
+ end: "[-=]>",
+ returnBegin: true,
+ contains: [
+ TITLE2,
+ PARAMS
+ ]
+ },
+ {
+ // anonymous function start
+ begin: /[:\(,=]\s*/,
+ relevance: 0,
+ contains: [
+ {
+ className: "function",
+ begin: POSSIBLE_PARAMS_RE,
+ end: "[-=]>",
+ returnBegin: true,
+ contains: [PARAMS]
+ }
+ ]
+ },
+ CLASS_DEFINITION,
+ {
+ begin: JS_IDENT_RE + ":",
+ end: ":",
+ returnBegin: true,
+ returnEnd: true,
+ relevance: 0
+ }
+ ]
+ };
+ }
+ module.exports = coffeescript;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/coq.js
+ var require_coq = __commonJS({
+ "node_modules/highlight.js/lib/languages/coq.js"(exports, module) {
+ function coq(hljs) {
+ const KEYWORDS = [
+ "_|0",
+ "as",
+ "at",
+ "cofix",
+ "else",
+ "end",
+ "exists",
+ "exists2",
+ "fix",
+ "for",
+ "forall",
+ "fun",
+ "if",
+ "IF",
+ "in",
+ "let",
+ "match",
+ "mod",
+ "Prop",
+ "return",
+ "Set",
+ "then",
+ "Type",
+ "using",
+ "where",
+ "with",
+ "Abort",
+ "About",
+ "Add",
+ "Admit",
+ "Admitted",
+ "All",
+ "Arguments",
+ "Assumptions",
+ "Axiom",
+ "Back",
+ "BackTo",
+ "Backtrack",
+ "Bind",
+ "Blacklist",
+ "Canonical",
+ "Cd",
+ "Check",
+ "Class",
+ "Classes",
+ "Close",
+ "Coercion",
+ "Coercions",
+ "CoFixpoint",
+ "CoInductive",
+ "Collection",
+ "Combined",
+ "Compute",
+ "Conjecture",
+ "Conjectures",
+ "Constant",
+ "constr",
+ "Constraint",
+ "Constructors",
+ "Context",
+ "Corollary",
+ "CreateHintDb",
+ "Cut",
+ "Declare",
+ "Defined",
+ "Definition",
+ "Delimit",
+ "Dependencies",
+ "Dependent",
+ "Derive",
+ "Drop",
+ "eauto",
+ "End",
+ "Equality",
+ "Eval",
+ "Example",
+ "Existential",
+ "Existentials",
+ "Existing",
+ "Export",
+ "exporting",
+ "Extern",
+ "Extract",
+ "Extraction",
+ "Fact",
+ "Field",
+ "Fields",
+ "File",
+ "Fixpoint",
+ "Focus",
+ "for",
+ "From",
+ "Function",
+ "Functional",
+ "Generalizable",
+ "Global",
+ "Goal",
+ "Grab",
+ "Grammar",
+ "Graph",
+ "Guarded",
+ "Heap",
+ "Hint",
+ "HintDb",
+ "Hints",
+ "Hypotheses",
+ "Hypothesis",
+ "ident",
+ "Identity",
+ "If",
+ "Immediate",
+ "Implicit",
+ "Import",
+ "Include",
+ "Inductive",
+ "Infix",
+ "Info",
+ "Initial",
+ "Inline",
+ "Inspect",
+ "Instance",
+ "Instances",
+ "Intro",
+ "Intros",
+ "Inversion",
+ "Inversion_clear",
+ "Language",
+ "Left",
+ "Lemma",
+ "Let",
+ "Libraries",
+ "Library",
+ "Load",
+ "LoadPath",
+ "Local",
+ "Locate",
+ "Ltac",
+ "ML",
+ "Mode",
+ "Module",
+ "Modules",
+ "Monomorphic",
+ "Morphism",
+ "Next",
+ "NoInline",
+ "Notation",
+ "Obligation",
+ "Obligations",
+ "Opaque",
+ "Open",
+ "Optimize",
+ "Options",
+ "Parameter",
+ "Parameters",
+ "Parametric",
+ "Path",
+ "Paths",
+ "pattern",
+ "Polymorphic",
+ "Preterm",
+ "Print",
+ "Printing",
+ "Program",
+ "Projections",
+ "Proof",
+ "Proposition",
+ "Pwd",
+ "Qed",
+ "Quit",
+ "Rec",
+ "Record",
+ "Recursive",
+ "Redirect",
+ "Relation",
+ "Remark",
+ "Remove",
+ "Require",
+ "Reserved",
+ "Reset",
+ "Resolve",
+ "Restart",
+ "Rewrite",
+ "Right",
+ "Ring",
+ "Rings",
+ "Save",
+ "Scheme",
+ "Scope",
+ "Scopes",
+ "Script",
+ "Search",
+ "SearchAbout",
+ "SearchHead",
+ "SearchPattern",
+ "SearchRewrite",
+ "Section",
+ "Separate",
+ "Set",
+ "Setoid",
+ "Show",
+ "Solve",
+ "Sorted",
+ "Step",
+ "Strategies",
+ "Strategy",
+ "Structure",
+ "SubClass",
+ "Table",
+ "Tables",
+ "Tactic",
+ "Term",
+ "Test",
+ "Theorem",
+ "Time",
+ "Timeout",
+ "Transparent",
+ "Type",
+ "Typeclasses",
+ "Types",
+ "Undelimit",
+ "Undo",
+ "Unfocus",
+ "Unfocused",
+ "Unfold",
+ "Universe",
+ "Universes",
+ "Unset",
+ "Unshelve",
+ "using",
+ "Variable",
+ "Variables",
+ "Variant",
+ "Verbose",
+ "Visibility",
+ "where",
+ "with"
+ ];
+ const BUILT_INS = [
+ "abstract",
+ "absurd",
+ "admit",
+ "after",
+ "apply",
+ "as",
+ "assert",
+ "assumption",
+ "at",
+ "auto",
+ "autorewrite",
+ "autounfold",
+ "before",
+ "bottom",
+ "btauto",
+ "by",
+ "case",
+ "case_eq",
+ "cbn",
+ "cbv",
+ "change",
+ "classical_left",
+ "classical_right",
+ "clear",
+ "clearbody",
+ "cofix",
+ "compare",
+ "compute",
+ "congruence",
+ "constr_eq",
+ "constructor",
+ "contradict",
+ "contradiction",
+ "cut",
+ "cutrewrite",
+ "cycle",
+ "decide",
+ "decompose",
+ "dependent",
+ "destruct",
+ "destruction",
+ "dintuition",
+ "discriminate",
+ "discrR",
+ "do",
+ "double",
+ "dtauto",
+ "eapply",
+ "eassumption",
+ "eauto",
+ "ecase",
+ "econstructor",
+ "edestruct",
+ "ediscriminate",
+ "eelim",
+ "eexact",
+ "eexists",
+ "einduction",
+ "einjection",
+ "eleft",
+ "elim",
+ "elimtype",
+ "enough",
+ "equality",
+ "erewrite",
+ "eright",
+ "esimplify_eq",
+ "esplit",
+ "evar",
+ "exact",
+ "exactly_once",
+ "exfalso",
+ "exists",
+ "f_equal",
+ "fail",
+ "field",
+ "field_simplify",
+ "field_simplify_eq",
+ "first",
+ "firstorder",
+ "fix",
+ "fold",
+ "fourier",
+ "functional",
+ "generalize",
+ "generalizing",
+ "gfail",
+ "give_up",
+ "has_evar",
+ "hnf",
+ "idtac",
+ "in",
+ "induction",
+ "injection",
+ "instantiate",
+ "intro",
+ "intro_pattern",
+ "intros",
+ "intuition",
+ "inversion",
+ "inversion_clear",
+ "is_evar",
+ "is_var",
+ "lapply",
+ "lazy",
+ "left",
+ "lia",
+ "lra",
+ "move",
+ "native_compute",
+ "nia",
+ "nsatz",
+ "omega",
+ "once",
+ "pattern",
+ "pose",
+ "progress",
+ "proof",
+ "psatz",
+ "quote",
+ "record",
+ "red",
+ "refine",
+ "reflexivity",
+ "remember",
+ "rename",
+ "repeat",
+ "replace",
+ "revert",
+ "revgoals",
+ "rewrite",
+ "rewrite_strat",
+ "right",
+ "ring",
+ "ring_simplify",
+ "rtauto",
+ "set",
+ "setoid_reflexivity",
+ "setoid_replace",
+ "setoid_rewrite",
+ "setoid_symmetry",
+ "setoid_transitivity",
+ "shelve",
+ "shelve_unifiable",
+ "simpl",
+ "simple",
+ "simplify_eq",
+ "solve",
+ "specialize",
+ "split",
+ "split_Rabs",
+ "split_Rmult",
+ "stepl",
+ "stepr",
+ "subst",
+ "sum",
+ "swap",
+ "symmetry",
+ "tactic",
+ "tauto",
+ "time",
+ "timeout",
+ "top",
+ "transitivity",
+ "trivial",
+ "try",
+ "tryif",
+ "unfold",
+ "unify",
+ "until",
+ "using",
+ "vm_compute",
+ "with"
+ ];
+ return {
+ name: "Coq",
+ keywords: {
+ keyword: KEYWORDS,
+ built_in: BUILT_INS
+ },
+ contains: [
+ hljs.QUOTE_STRING_MODE,
+ hljs.COMMENT("\\(\\*", "\\*\\)"),
+ hljs.C_NUMBER_MODE,
+ {
+ className: "type",
+ excludeBegin: true,
+ begin: "\\|\\s*",
+ end: "\\w+"
+ },
+ {
+ // relevance booster
+ begin: /[-=]>/
+ }
+ ]
+ };
+ }
+ module.exports = coq;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/cos.js
+ var require_cos = __commonJS({
+ "node_modules/highlight.js/lib/languages/cos.js"(exports, module) {
+ function cos(hljs) {
+ const STRINGS = {
+ className: "string",
+ variants: [
+ {
+ begin: '"',
+ end: '"',
+ contains: [
+ {
+ // escaped
+ begin: '""',
+ relevance: 0
+ }
+ ]
+ }
+ ]
+ };
+ const NUMBERS = {
+ className: "number",
+ begin: "\\b(\\d+(\\.\\d*)?|\\.\\d+)",
+ relevance: 0
+ };
+ const COS_KEYWORDS = "property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii";
+ return {
+ name: "Cach\xE9 Object Script",
+ case_insensitive: true,
+ aliases: ["cls"],
+ keywords: COS_KEYWORDS,
+ contains: [
+ NUMBERS,
+ STRINGS,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: "comment",
+ begin: /;/,
+ end: "$",
+ relevance: 0
+ },
+ {
+ // Functions and user-defined functions: write $ztime(60*60*3), $$myFunc(10), $$^Val(1)
+ className: "built_in",
+ begin: /(?:\$\$?|\.\.)\^?[a-zA-Z]+/
+ },
+ {
+ // Macro command: quit $$$OK
+ className: "built_in",
+ begin: /\$\$\$[a-zA-Z]+/
+ },
+ {
+ // Special (global) variables: write %request.Content; Built-in classes: %Library.Integer
+ className: "built_in",
+ begin: /%[a-z]+(?:\.[a-z]+)*/
+ },
+ {
+ // Global variable: set ^globalName = 12 write ^globalName
+ className: "symbol",
+ begin: /\^%?[a-zA-Z][\w]*/
+ },
+ {
+ // Some control constructions: do ##class(Package.ClassName).Method(), ##super()
+ className: "keyword",
+ begin: /##class|##super|#define|#dim/
+ },
+ // sub-languages: are not fully supported by hljs by 11/15/2015
+ // left for the future implementation.
+ {
+ begin: /&sql\(/,
+ end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true,
+ subLanguage: "sql"
+ },
+ {
+ begin: /&(js|jscript|javascript)</,
+ end: />/,
+ excludeBegin: true,
+ excludeEnd: true,
+ subLanguage: "javascript"
+ },
+ {
+ // this brakes first and last tag, but this is the only way to embed a valid html
+ begin: /&html<\s*</,
+ end: />\s*>/,
+ subLanguage: "xml"
+ }
+ ]
+ };
+ }
+ module.exports = cos;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/cpp.js
+ var require_cpp = __commonJS({
+ "node_modules/highlight.js/lib/languages/cpp.js"(exports, module) {
+ function cpp(hljs) {
+ const regex = hljs.regex;
+ const C_LINE_COMMENT_MODE = hljs.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] });
+ const DECLTYPE_AUTO_RE = "decltype\\(auto\\)";
+ const NAMESPACE_RE = "[a-zA-Z_]\\w*::";
+ const TEMPLATE_ARGUMENT_RE = "<[^<>]+>";
+ const FUNCTION_TYPE_RE = "(?!struct)(" + DECLTYPE_AUTO_RE + "|" + regex.optional(NAMESPACE_RE) + "[a-zA-Z_]\\w*" + regex.optional(TEMPLATE_ARGUMENT_RE) + ")";
+ const CPP_PRIMITIVE_TYPES = {
+ className: "type",
+ begin: "\\b[a-z\\d_]*_t\\b"
+ };
+ const CHARACTER_ESCAPES = "\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)";
+ const STRINGS = {
+ className: "string",
+ variants: [
+ {
+ begin: '(u8?|U|L)?"',
+ end: '"',
+ illegal: "\\n",
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ {
+ begin: "(u8?|U|L)?'(" + CHARACTER_ESCAPES + "|.)",
+ end: "'",
+ illegal: "."
+ },
+ hljs.END_SAME_AS_BEGIN({
+ begin: /(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,
+ end: /\)([^()\\ ]{0,16})"/
+ })
+ ]
+ };
+ const NUMBERS = {
+ className: "number",
+ variants: [
+ // Floating-point literal.
+ {
+ begin: "[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"
+ },
+ // Integer literal.
+ {
+ begin: "[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"
+ // Note: there are user-defined literal suffixes too, but perhaps having the custom suffix not part of the
+ // literal highlight actually makes it stand out more.
+ }
+ ],
+ relevance: 0
+ };
+ const PREPROCESSOR = {
+ className: "meta",
+ begin: /#\s*[a-z]+\b/,
+ end: /$/,
+ keywords: { keyword: "if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include" },
+ contains: [
+ {
+ begin: /\\\n/,
+ relevance: 0
+ },
+ hljs.inherit(STRINGS, { className: "string" }),
+ {
+ className: "string",
+ begin: /<.*?>/
+ },
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ };
+ const TITLE_MODE = {
+ className: "title",
+ begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,
+ relevance: 0
+ };
+ const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + "\\s*\\(";
+ const RESERVED_KEYWORDS = [
+ "alignas",
+ "alignof",
+ "and",
+ "and_eq",
+ "asm",
+ "atomic_cancel",
+ "atomic_commit",
+ "atomic_noexcept",
+ "auto",
+ "bitand",
+ "bitor",
+ "break",
+ "case",
+ "catch",
+ "class",
+ "co_await",
+ "co_return",
+ "co_yield",
+ "compl",
+ "concept",
+ "const_cast|10",
+ "consteval",
+ "constexpr",
+ "constinit",
+ "continue",
+ "decltype",
+ "default",
+ "delete",
+ "do",
+ "dynamic_cast|10",
+ "else",
+ "enum",
+ "explicit",
+ "export",
+ "extern",
+ "false",
+ "final",
+ "for",
+ "friend",
+ "goto",
+ "if",
+ "import",
+ "inline",
+ "module",
+ "mutable",
+ "namespace",
+ "new",
+ "noexcept",
+ "not",
+ "not_eq",
+ "nullptr",
+ "operator",
+ "or",
+ "or_eq",
+ "override",
+ "private",
+ "protected",
+ "public",
+ "reflexpr",
+ "register",
+ "reinterpret_cast|10",
+ "requires",
+ "return",
+ "sizeof",
+ "static_assert",
+ "static_cast|10",
+ "struct",
+ "switch",
+ "synchronized",
+ "template",
+ "this",
+ "thread_local",
+ "throw",
+ "transaction_safe",
+ "transaction_safe_dynamic",
+ "true",
+ "try",
+ "typedef",
+ "typeid",
+ "typename",
+ "union",
+ "using",
+ "virtual",
+ "volatile",
+ "while",
+ "xor",
+ "xor_eq"
+ ];
+ const RESERVED_TYPES = [
+ "bool",
+ "char",
+ "char16_t",
+ "char32_t",
+ "char8_t",
+ "double",
+ "float",
+ "int",
+ "long",
+ "short",
+ "void",
+ "wchar_t",
+ "unsigned",
+ "signed",
+ "const",
+ "static"
+ ];
+ const TYPE_HINTS = [
+ "any",
+ "auto_ptr",
+ "barrier",
+ "binary_semaphore",
+ "bitset",
+ "complex",
+ "condition_variable",
+ "condition_variable_any",
+ "counting_semaphore",
+ "deque",
+ "false_type",
+ "future",
+ "imaginary",
+ "initializer_list",
+ "istringstream",
+ "jthread",
+ "latch",
+ "lock_guard",
+ "multimap",
+ "multiset",
+ "mutex",
+ "optional",
+ "ostringstream",
+ "packaged_task",
+ "pair",
+ "promise",
+ "priority_queue",
+ "queue",
+ "recursive_mutex",
+ "recursive_timed_mutex",
+ "scoped_lock",
+ "set",
+ "shared_future",
+ "shared_lock",
+ "shared_mutex",
+ "shared_timed_mutex",
+ "shared_ptr",
+ "stack",
+ "string_view",
+ "stringstream",
+ "timed_mutex",
+ "thread",
+ "true_type",
+ "tuple",
+ "unique_lock",
+ "unique_ptr",
+ "unordered_map",
+ "unordered_multimap",
+ "unordered_multiset",
+ "unordered_set",
+ "variant",
+ "vector",
+ "weak_ptr",
+ "wstring",
+ "wstring_view"
+ ];
+ const FUNCTION_HINTS = [
+ "abort",
+ "abs",
+ "acos",
+ "apply",
+ "as_const",
+ "asin",
+ "atan",
+ "atan2",
+ "calloc",
+ "ceil",
+ "cerr",
+ "cin",
+ "clog",
+ "cos",
+ "cosh",
+ "cout",
+ "declval",
+ "endl",
+ "exchange",
+ "exit",
+ "exp",
+ "fabs",
+ "floor",
+ "fmod",
+ "forward",
+ "fprintf",
+ "fputs",
+ "free",
+ "frexp",
+ "fscanf",
+ "future",
+ "invoke",
+ "isalnum",
+ "isalpha",
+ "iscntrl",
+ "isdigit",
+ "isgraph",
+ "islower",
+ "isprint",
+ "ispunct",
+ "isspace",
+ "isupper",
+ "isxdigit",
+ "labs",
+ "launder",
+ "ldexp",
+ "log",
+ "log10",
+ "make_pair",
+ "make_shared",
+ "make_shared_for_overwrite",
+ "make_tuple",
+ "make_unique",
+ "malloc",
+ "memchr",
+ "memcmp",
+ "memcpy",
+ "memset",
+ "modf",
+ "move",
+ "pow",
+ "printf",
+ "putchar",
+ "puts",
+ "realloc",
+ "scanf",
+ "sin",
+ "sinh",
+ "snprintf",
+ "sprintf",
+ "sqrt",
+ "sscanf",
+ "std",
+ "stderr",
+ "stdin",
+ "stdout",
+ "strcat",
+ "strchr",
+ "strcmp",
+ "strcpy",
+ "strcspn",
+ "strlen",
+ "strncat",
+ "strncmp",
+ "strncpy",
+ "strpbrk",
+ "strrchr",
+ "strspn",
+ "strstr",
+ "swap",
+ "tan",
+ "tanh",
+ "terminate",
+ "to_underlying",
+ "tolower",
+ "toupper",
+ "vfprintf",
+ "visit",
+ "vprintf",
+ "vsprintf"
+ ];
+ const LITERALS = [
+ "NULL",
+ "false",
+ "nullopt",
+ "nullptr",
+ "true"
+ ];
+ const BUILT_IN = ["_Pragma"];
+ const CPP_KEYWORDS = {
+ type: RESERVED_TYPES,
+ keyword: RESERVED_KEYWORDS,
+ literal: LITERALS,
+ built_in: BUILT_IN,
+ _type_hints: TYPE_HINTS
+ };
+ const FUNCTION_DISPATCH = {
+ className: "function.dispatch",
+ relevance: 0,
+ keywords: {
+ // Only for relevance, not highlighting.
+ _hint: FUNCTION_HINTS
+ },
+ begin: regex.concat(
+ /\b/,
+ /(?!decltype)/,
+ /(?!if)/,
+ /(?!for)/,
+ /(?!switch)/,
+ /(?!while)/,
+ hljs.IDENT_RE,
+ regex.lookahead(/(<[^<>]+>|)\s*\(/)
+ )
+ };
+ const EXPRESSION_CONTAINS = [
+ FUNCTION_DISPATCH,
+ PREPROCESSOR,
+ CPP_PRIMITIVE_TYPES,
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ NUMBERS,
+ STRINGS
+ ];
+ const EXPRESSION_CONTEXT = {
+ // This mode covers expression context where we can't expect a function
+ // definition and shouldn't highlight anything that looks like one:
+ // `return some()`, `else if()`, `(x*sum(1, 2))`
+ variants: [
+ {
+ begin: /=/,
+ end: /;/
+ },
+ {
+ begin: /\(/,
+ end: /\)/
+ },
+ {
+ beginKeywords: "new throw return else",
+ end: /;/
+ }
+ ],
+ keywords: CPP_KEYWORDS,
+ contains: EXPRESSION_CONTAINS.concat([
+ {
+ begin: /\(/,
+ end: /\)/,
+ keywords: CPP_KEYWORDS,
+ contains: EXPRESSION_CONTAINS.concat(["self"]),
+ relevance: 0
+ }
+ ]),
+ relevance: 0
+ };
+ const FUNCTION_DECLARATION = {
+ className: "function",
+ begin: "(" + FUNCTION_TYPE_RE + "[\\*&\\s]+)+" + FUNCTION_TITLE,
+ returnBegin: true,
+ end: /[{;=]/,
+ excludeEnd: true,
+ keywords: CPP_KEYWORDS,
+ illegal: /[^\w\s\*&:<>.]/,
+ contains: [
+ {
+ // to prevent it from being confused as the function title
+ begin: DECLTYPE_AUTO_RE,
+ keywords: CPP_KEYWORDS,
+ relevance: 0
+ },
+ {
+ begin: FUNCTION_TITLE,
+ returnBegin: true,
+ contains: [TITLE_MODE],
+ relevance: 0
+ },
+ // needed because we do not have look-behind on the below rule
+ // to prevent it from grabbing the final : in a :: pair
+ {
+ begin: /::/,
+ relevance: 0
+ },
+ // initializers
+ {
+ begin: /:/,
+ endsWithParent: true,
+ contains: [
+ STRINGS,
+ NUMBERS
+ ]
+ },
+ // allow for multiple declarations, e.g.:
+ // extern void f(int), g(char);
+ {
+ relevance: 0,
+ match: /,/
+ },
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ keywords: CPP_KEYWORDS,
+ relevance: 0,
+ contains: [
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRINGS,
+ NUMBERS,
+ CPP_PRIMITIVE_TYPES,
+ // Count matching parentheses.
+ {
+ begin: /\(/,
+ end: /\)/,
+ keywords: CPP_KEYWORDS,
+ relevance: 0,
+ contains: [
+ "self",
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRINGS,
+ NUMBERS,
+ CPP_PRIMITIVE_TYPES
+ ]
+ }
+ ]
+ },
+ CPP_PRIMITIVE_TYPES,
+ C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ PREPROCESSOR
+ ]
+ };
+ return {
+ name: "C++",
+ aliases: [
+ "cc",
+ "c++",
+ "h++",
+ "hpp",
+ "hh",
+ "hxx",
+ "cxx"
+ ],
+ keywords: CPP_KEYWORDS,
+ illegal: "</",
+ classNameAliases: { "function.dispatch": "built_in" },
+ contains: [].concat(
+ EXPRESSION_CONTEXT,
+ FUNCTION_DECLARATION,
+ FUNCTION_DISPATCH,
+ EXPRESSION_CONTAINS,
+ [
+ PREPROCESSOR,
+ {
+ // containers: ie, `vector <int> rooms (9);`
+ begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",
+ end: ">",
+ keywords: CPP_KEYWORDS,
+ contains: [
+ "self",
+ CPP_PRIMITIVE_TYPES
+ ]
+ },
+ {
+ begin: hljs.IDENT_RE + "::",
+ keywords: CPP_KEYWORDS
+ },
+ {
+ match: [
+ // extra complexity to deal with `enum class` and `enum struct`
+ /\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,
+ /\s+/,
+ /\w+/
+ ],
+ className: {
+ 1: "keyword",
+ 3: "title.class"
+ }
+ }
+ ]
+ )
+ };
+ }
+ module.exports = cpp;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/crmsh.js
+ var require_crmsh = __commonJS({
+ "node_modules/highlight.js/lib/languages/crmsh.js"(exports, module) {
+ function crmsh(hljs) {
+ const RESOURCES = "primitive rsc_template";
+ const COMMANDS = "group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";
+ const PROPERTY_SETS = "property rsc_defaults op_defaults";
+ const KEYWORDS = "params meta operations op rule attributes utilization";
+ const OPERATORS = "read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\";
+ const TYPES = "number string";
+ const LITERALS = "Master Started Slave Stopped start promote demote stop monitor true false";
+ return {
+ name: "crmsh",
+ aliases: [
+ "crm",
+ "pcmk"
+ ],
+ case_insensitive: true,
+ keywords: {
+ keyword: KEYWORDS + " " + OPERATORS + " " + TYPES,
+ literal: LITERALS
+ },
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ {
+ beginKeywords: "node",
+ starts: {
+ end: "\\s*([\\w_-]+:)?",
+ starts: {
+ className: "title",
+ end: "\\s*[\\$\\w_][\\w_-]*"
+ }
+ }
+ },
+ {
+ beginKeywords: RESOURCES,
+ starts: {
+ className: "title",
+ end: "\\s*[\\$\\w_][\\w_-]*",
+ starts: { end: "\\s*@?[\\w_][\\w_\\.:-]*" }
+ }
+ },
+ {
+ begin: "\\b(" + COMMANDS.split(" ").join("|") + ")\\s+",
+ keywords: COMMANDS,
+ starts: {
+ className: "title",
+ end: "[\\$\\w_][\\w_-]*"
+ }
+ },
+ {
+ beginKeywords: PROPERTY_SETS,
+ starts: {
+ className: "title",
+ end: "\\s*([\\w_-]+:)?"
+ }
+ },
+ hljs.QUOTE_STRING_MODE,
+ {
+ className: "meta",
+ begin: "(ocf|systemd|service|lsb):[\\w_:-]+",
+ relevance: 0
+ },
+ {
+ className: "number",
+ begin: "\\b\\d+(\\.\\d+)?(ms|s|h|m)?",
+ relevance: 0
+ },
+ {
+ className: "literal",
+ begin: "[-]?(infinity|inf)",
+ relevance: 0
+ },
+ {
+ className: "attr",
+ begin: /([A-Za-z$_#][\w_-]+)=/,
+ relevance: 0
+ },
+ {
+ className: "tag",
+ begin: "</?",
+ end: "/?>",
+ relevance: 0
+ }
+ ]
+ };
+ }
+ module.exports = crmsh;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/crystal.js
+ var require_crystal = __commonJS({
+ "node_modules/highlight.js/lib/languages/crystal.js"(exports, module) {
+ function crystal(hljs) {
+ const INT_SUFFIX = "(_?[ui](8|16|32|64|128))?";
+ const FLOAT_SUFFIX = "(_?f(32|64))?";
+ const CRYSTAL_IDENT_RE = "[a-zA-Z_]\\w*[!?=]?";
+ const CRYSTAL_METHOD_RE = "[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?";
+ const CRYSTAL_PATH_RE = "[A-Za-z_]\\w*(::\\w+)*(\\?|!)?";
+ const CRYSTAL_KEYWORDS = {
+ $pattern: CRYSTAL_IDENT_RE,
+ keyword: "abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",
+ literal: "false nil true"
+ };
+ const SUBST = {
+ className: "subst",
+ begin: /#\{/,
+ end: /\}/,
+ keywords: CRYSTAL_KEYWORDS
+ };
+ const VARIABLE = {
+ // negative-look forward attemps to prevent false matches like:
+ // @ident@ or $ident$ that might indicate this is not ruby at all
+ className: "variable",
+ begin: `(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])`
+ };
+ const EXPANSION = {
+ className: "template-variable",
+ variants: [
+ {
+ begin: "\\{\\{",
+ end: "\\}\\}"
+ },
+ {
+ begin: "\\{%",
+ end: "%\\}"
+ }
+ ],
+ keywords: CRYSTAL_KEYWORDS
+ };
+ function recursiveParen(begin, end2) {
+ const contains2 = [
+ {
+ begin,
+ end: end2
+ }
+ ];
+ contains2[0].contains = contains2;
+ return contains2;
+ }
+ const STRING = {
+ className: "string",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ variants: [
+ {
+ begin: /'/,
+ end: /'/
+ },
+ {
+ begin: /"/,
+ end: /"/
+ },
+ {
+ begin: /`/,
+ end: /`/
+ },
+ {
+ begin: "%[Qwi]?\\(",
+ end: "\\)",
+ contains: recursiveParen("\\(", "\\)")
+ },
+ {
+ begin: "%[Qwi]?\\[",
+ end: "\\]",
+ contains: recursiveParen("\\[", "\\]")
+ },
+ {
+ begin: "%[Qwi]?\\{",
+ end: /\}/,
+ contains: recursiveParen(/\{/, /\}/)
+ },
+ {
+ begin: "%[Qwi]?<",
+ end: ">",
+ contains: recursiveParen("<", ">")
+ },
+ {
+ begin: "%[Qwi]?\\|",
+ end: "\\|"
+ },
+ {
+ begin: /<<-\w+$/,
+ end: /^\s*\w+$/
+ }
+ ],
+ relevance: 0
+ };
+ const Q_STRING = {
+ className: "string",
+ variants: [
+ {
+ begin: "%q\\(",
+ end: "\\)",
+ contains: recursiveParen("\\(", "\\)")
+ },
+ {
+ begin: "%q\\[",
+ end: "\\]",
+ contains: recursiveParen("\\[", "\\]")
+ },
+ {
+ begin: "%q\\{",
+ end: /\}/,
+ contains: recursiveParen(/\{/, /\}/)
+ },
+ {
+ begin: "%q<",
+ end: ">",
+ contains: recursiveParen("<", ">")
+ },
+ {
+ begin: "%q\\|",
+ end: "\\|"
+ },
+ {
+ begin: /<<-'\w+'$/,
+ end: /^\s*\w+$/
+ }
+ ],
+ relevance: 0
+ };
+ const REGEXP = {
+ begin: "(?!%\\})(" + hljs.RE_STARTERS_RE + "|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",
+ keywords: "case if select unless until when while",
+ contains: [
+ {
+ className: "regexp",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ variants: [
+ {
+ begin: "//[a-z]*",
+ relevance: 0
+ },
+ {
+ begin: "/(?!\\/)",
+ end: "/[a-z]*"
+ }
+ ]
+ }
+ ],
+ relevance: 0
+ };
+ const REGEXP2 = {
+ className: "regexp",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ variants: [
+ {
+ begin: "%r\\(",
+ end: "\\)",
+ contains: recursiveParen("\\(", "\\)")
+ },
+ {
+ begin: "%r\\[",
+ end: "\\]",
+ contains: recursiveParen("\\[", "\\]")
+ },
+ {
+ begin: "%r\\{",
+ end: /\}/,
+ contains: recursiveParen(/\{/, /\}/)
+ },
+ {
+ begin: "%r<",
+ end: ">",
+ contains: recursiveParen("<", ">")
+ },
+ {
+ begin: "%r\\|",
+ end: "\\|"
+ }
+ ],
+ relevance: 0
+ };
+ const ATTRIBUTE = {
+ className: "meta",
+ begin: "@\\[",
+ end: "\\]",
+ contains: [hljs.inherit(hljs.QUOTE_STRING_MODE, { className: "string" })]
+ };
+ const CRYSTAL_DEFAULT_CONTAINS = [
+ EXPANSION,
+ STRING,
+ Q_STRING,
+ REGEXP2,
+ REGEXP,
+ ATTRIBUTE,
+ VARIABLE,
+ hljs.HASH_COMMENT_MODE,
+ {
+ className: "class",
+ beginKeywords: "class module struct",
+ end: "$|;",
+ illegal: /=/,
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ hljs.inherit(hljs.TITLE_MODE, { begin: CRYSTAL_PATH_RE }),
+ {
+ // relevance booster for inheritance
+ begin: "<"
+ }
+ ]
+ },
+ {
+ className: "class",
+ beginKeywords: "lib enum union",
+ end: "$|;",
+ illegal: /=/,
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ hljs.inherit(hljs.TITLE_MODE, { begin: CRYSTAL_PATH_RE })
+ ]
+ },
+ {
+ beginKeywords: "annotation",
+ end: "$|;",
+ illegal: /=/,
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ hljs.inherit(hljs.TITLE_MODE, { begin: CRYSTAL_PATH_RE })
+ ],
+ relevance: 2
+ },
+ {
+ className: "function",
+ beginKeywords: "def",
+ end: /\B\b/,
+ contains: [
+ hljs.inherit(hljs.TITLE_MODE, {
+ begin: CRYSTAL_METHOD_RE,
+ endsParent: true
+ })
+ ]
+ },
+ {
+ className: "function",
+ beginKeywords: "fun macro",
+ end: /\B\b/,
+ contains: [
+ hljs.inherit(hljs.TITLE_MODE, {
+ begin: CRYSTAL_METHOD_RE,
+ endsParent: true
+ })
+ ],
+ relevance: 2
+ },
+ {
+ className: "symbol",
+ begin: hljs.UNDERSCORE_IDENT_RE + "(!|\\?)?:",
+ relevance: 0
+ },
+ {
+ className: "symbol",
+ begin: ":",
+ contains: [
+ STRING,
+ { begin: CRYSTAL_METHOD_RE }
+ ],
+ relevance: 0
+ },
+ {
+ className: "number",
+ variants: [
+ { begin: "\\b0b([01_]+)" + INT_SUFFIX },
+ { begin: "\\b0o([0-7_]+)" + INT_SUFFIX },
+ { begin: "\\b0x([A-Fa-f0-9_]+)" + INT_SUFFIX },
+ { begin: "\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?" + FLOAT_SUFFIX + "(?!_)" },
+ { begin: "\\b([1-9][0-9_]*|0)" + INT_SUFFIX }
+ ],
+ relevance: 0
+ }
+ ];
+ SUBST.contains = CRYSTAL_DEFAULT_CONTAINS;
+ EXPANSION.contains = CRYSTAL_DEFAULT_CONTAINS.slice(1);
+ return {
+ name: "Crystal",
+ aliases: ["cr"],
+ keywords: CRYSTAL_KEYWORDS,
+ contains: CRYSTAL_DEFAULT_CONTAINS
+ };
+ }
+ module.exports = crystal;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/csharp.js
+ var require_csharp = __commonJS({
+ "node_modules/highlight.js/lib/languages/csharp.js"(exports, module) {
+ function csharp(hljs) {
+ const BUILT_IN_KEYWORDS = [
+ "bool",
+ "byte",
+ "char",
+ "decimal",
+ "delegate",
+ "double",
+ "dynamic",
+ "enum",
+ "float",
+ "int",
+ "long",
+ "nint",
+ "nuint",
+ "object",
+ "sbyte",
+ "short",
+ "string",
+ "ulong",
+ "uint",
+ "ushort"
+ ];
+ const FUNCTION_MODIFIERS = [
+ "public",
+ "private",
+ "protected",
+ "static",
+ "internal",
+ "protected",
+ "abstract",
+ "async",
+ "extern",
+ "override",
+ "unsafe",
+ "virtual",
+ "new",
+ "sealed",
+ "partial"
+ ];
+ const LITERAL_KEYWORDS = [
+ "default",
+ "false",
+ "null",
+ "true"
+ ];
+ const NORMAL_KEYWORDS = [
+ "abstract",
+ "as",
+ "base",
+ "break",
+ "case",
+ "catch",
+ "class",
+ "const",
+ "continue",
+ "do",
+ "else",
+ "event",
+ "explicit",
+ "extern",
+ "finally",
+ "fixed",
+ "for",
+ "foreach",
+ "goto",
+ "if",
+ "implicit",
+ "in",
+ "interface",
+ "internal",
+ "is",
+ "lock",
+ "namespace",
+ "new",
+ "operator",
+ "out",
+ "override",
+ "params",
+ "private",
+ "protected",
+ "public",
+ "readonly",
+ "record",
+ "ref",
+ "return",
+ "scoped",
+ "sealed",
+ "sizeof",
+ "stackalloc",
+ "static",
+ "struct",
+ "switch",
+ "this",
+ "throw",
+ "try",
+ "typeof",
+ "unchecked",
+ "unsafe",
+ "using",
+ "virtual",
+ "void",
+ "volatile",
+ "while"
+ ];
+ const CONTEXTUAL_KEYWORDS = [
+ "add",
+ "alias",
+ "and",
+ "ascending",
+ "async",
+ "await",
+ "by",
+ "descending",
+ "equals",
+ "from",
+ "get",
+ "global",
+ "group",
+ "init",
+ "into",
+ "join",
+ "let",
+ "nameof",
+ "not",
+ "notnull",
+ "on",
+ "or",
+ "orderby",
+ "partial",
+ "remove",
+ "select",
+ "set",
+ "unmanaged",
+ "value|0",
+ "var",
+ "when",
+ "where",
+ "with",
+ "yield"
+ ];
+ const KEYWORDS = {
+ keyword: NORMAL_KEYWORDS.concat(CONTEXTUAL_KEYWORDS),
+ built_in: BUILT_IN_KEYWORDS,
+ literal: LITERAL_KEYWORDS
+ };
+ const TITLE_MODE = hljs.inherit(hljs.TITLE_MODE, { begin: "[a-zA-Z](\\.?\\w)*" });
+ const NUMBERS = {
+ className: "number",
+ variants: [
+ { begin: "\\b(0b[01']+)" },
+ { begin: "(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)" },
+ { begin: "(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" }
+ ],
+ relevance: 0
+ };
+ const RAW_STRING = {
+ className: "string",
+ begin: /"""("*)(?!")(.|\n)*?"""\1/,
+ relevance: 1
+ };
+ const VERBATIM_STRING = {
+ className: "string",
+ begin: '@"',
+ end: '"',
+ contains: [{ begin: '""' }]
+ };
+ const VERBATIM_STRING_NO_LF = hljs.inherit(VERBATIM_STRING, { illegal: /\n/ });
+ const SUBST = {
+ className: "subst",
+ begin: /\{/,
+ end: /\}/,
+ keywords: KEYWORDS
+ };
+ const SUBST_NO_LF = hljs.inherit(SUBST, { illegal: /\n/ });
+ const INTERPOLATED_STRING = {
+ className: "string",
+ begin: /\$"/,
+ end: '"',
+ illegal: /\n/,
+ contains: [
+ { begin: /\{\{/ },
+ { begin: /\}\}/ },
+ hljs.BACKSLASH_ESCAPE,
+ SUBST_NO_LF
+ ]
+ };
+ const INTERPOLATED_VERBATIM_STRING = {
+ className: "string",
+ begin: /\$@"/,
+ end: '"',
+ contains: [
+ { begin: /\{\{/ },
+ { begin: /\}\}/ },
+ { begin: '""' },
+ SUBST
+ ]
+ };
+ const INTERPOLATED_VERBATIM_STRING_NO_LF = hljs.inherit(INTERPOLATED_VERBATIM_STRING, {
+ illegal: /\n/,
+ contains: [
+ { begin: /\{\{/ },
+ { begin: /\}\}/ },
+ { begin: '""' },
+ SUBST_NO_LF
+ ]
+ });
+ SUBST.contains = [
+ INTERPOLATED_VERBATIM_STRING,
+ INTERPOLATED_STRING,
+ VERBATIM_STRING,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ NUMBERS,
+ hljs.C_BLOCK_COMMENT_MODE
+ ];
+ SUBST_NO_LF.contains = [
+ INTERPOLATED_VERBATIM_STRING_NO_LF,
+ INTERPOLATED_STRING,
+ VERBATIM_STRING_NO_LF,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ NUMBERS,
+ hljs.inherit(hljs.C_BLOCK_COMMENT_MODE, { illegal: /\n/ })
+ ];
+ const STRING = { variants: [
+ RAW_STRING,
+ INTERPOLATED_VERBATIM_STRING,
+ INTERPOLATED_STRING,
+ VERBATIM_STRING,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE
+ ] };
+ const GENERIC_MODIFIER = {
+ begin: "<",
+ end: ">",
+ contains: [
+ { beginKeywords: "in out" },
+ TITLE_MODE
+ ]
+ };
+ const TYPE_IDENT_RE = hljs.IDENT_RE + "(<" + hljs.IDENT_RE + "(\\s*,\\s*" + hljs.IDENT_RE + ")*>)?(\\[\\])?";
+ const AT_IDENTIFIER = {
+ // prevents expressions like `@class` from incorrect flagging
+ // `class` as a keyword
+ begin: "@" + hljs.IDENT_RE,
+ relevance: 0
+ };
+ return {
+ name: "C#",
+ aliases: [
+ "cs",
+ "c#"
+ ],
+ keywords: KEYWORDS,
+ illegal: /::/,
+ contains: [
+ hljs.COMMENT(
+ "///",
+ "$",
+ {
+ returnBegin: true,
+ contains: [
+ {
+ className: "doctag",
+ variants: [
+ {
+ begin: "///",
+ relevance: 0
+ },
+ { begin: "<!--|-->" },
+ {
+ begin: "</?",
+ end: ">"
+ }
+ ]
+ }
+ ]
+ }
+ ),
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: "meta",
+ begin: "#",
+ end: "$",
+ keywords: { keyword: "if else elif endif define undef warning error line region endregion pragma checksum" }
+ },
+ STRING,
+ NUMBERS,
+ {
+ beginKeywords: "class interface",
+ relevance: 0,
+ end: /[{;=]/,
+ illegal: /[^\s:,]/,
+ contains: [
+ { beginKeywords: "where class" },
+ TITLE_MODE,
+ GENERIC_MODIFIER,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ {
+ beginKeywords: "namespace",
+ relevance: 0,
+ end: /[{;=]/,
+ illegal: /[^\s:]/,
+ contains: [
+ TITLE_MODE,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ {
+ beginKeywords: "record",
+ relevance: 0,
+ end: /[{;=]/,
+ illegal: /[^\s:]/,
+ contains: [
+ TITLE_MODE,
+ GENERIC_MODIFIER,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ {
+ // [Attributes("")]
+ className: "meta",
+ begin: "^\\s*\\[(?=[\\w])",
+ excludeBegin: true,
+ end: "\\]",
+ excludeEnd: true,
+ contains: [
+ {
+ className: "string",
+ begin: /"/,
+ end: /"/
+ }
+ ]
+ },
+ {
+ // Expression keywords prevent 'keyword Name(...)' from being
+ // recognized as a function definition
+ beginKeywords: "new return throw await else",
+ relevance: 0
+ },
+ {
+ className: "function",
+ begin: "(" + TYPE_IDENT_RE + "\\s+)+" + hljs.IDENT_RE + "\\s*(<[^=]+>\\s*)?\\(",
+ returnBegin: true,
+ end: /\s*[{;=]/,
+ excludeEnd: true,
+ keywords: KEYWORDS,
+ contains: [
+ // prevents these from being highlighted `title`
+ {
+ beginKeywords: FUNCTION_MODIFIERS.join(" "),
+ relevance: 0
+ },
+ {
+ begin: hljs.IDENT_RE + "\\s*(<[^=]+>\\s*)?\\(",
+ returnBegin: true,
+ contains: [
+ hljs.TITLE_MODE,
+ GENERIC_MODIFIER
+ ],
+ relevance: 0
+ },
+ { match: /\(\)/ },
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true,
+ keywords: KEYWORDS,
+ relevance: 0,
+ contains: [
+ STRING,
+ NUMBERS,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ AT_IDENTIFIER
+ ]
+ };
+ }
+ module.exports = csharp;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/csp.js
+ var require_csp = __commonJS({
+ "node_modules/highlight.js/lib/languages/csp.js"(exports, module) {
+ function csp(hljs) {
+ const KEYWORDS = [
+ "base-uri",
+ "child-src",
+ "connect-src",
+ "default-src",
+ "font-src",
+ "form-action",
+ "frame-ancestors",
+ "frame-src",
+ "img-src",
+ "manifest-src",
+ "media-src",
+ "object-src",
+ "plugin-types",
+ "report-uri",
+ "sandbox",
+ "script-src",
+ "style-src",
+ "trusted-types",
+ "unsafe-hashes",
+ "worker-src"
+ ];
+ return {
+ name: "CSP",
+ case_insensitive: false,
+ keywords: {
+ $pattern: "[a-zA-Z][a-zA-Z0-9_-]*",
+ keyword: KEYWORDS
+ },
+ contains: [
+ {
+ className: "string",
+ begin: "'",
+ end: "'"
+ },
+ {
+ className: "attribute",
+ begin: "^Content",
+ end: ":",
+ excludeEnd: true
+ }
+ ]
+ };
+ }
+ module.exports = csp;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/css.js
+ var require_css = __commonJS({
+ "node_modules/highlight.js/lib/languages/css.js"(exports, module) {
+ var MODES = (hljs) => {
+ return {
+ IMPORTANT: {
+ scope: "meta",
+ begin: "!important"
+ },
+ BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,
+ HEXCOLOR: {
+ scope: "number",
+ begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
+ },
+ FUNCTION_DISPATCH: {
+ className: "built_in",
+ begin: /[\w-]+(?=\()/
+ },
+ ATTRIBUTE_SELECTOR_MODE: {
+ scope: "selector-attr",
+ begin: /\[/,
+ end: /\]/,
+ illegal: "$",
+ contains: [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE
+ ]
+ },
+ CSS_NUMBER_MODE: {
+ scope: "number",
+ begin: hljs.NUMBER_RE + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
+ relevance: 0
+ },
+ CSS_VARIABLE: {
+ className: "attr",
+ begin: /--[A-Za-z_][A-Za-z0-9_-]*/
+ }
+ };
+ };
+ var HTML_TAGS = [
+ "a",
+ "abbr",
+ "address",
+ "article",
+ "aside",
+ "audio",
+ "b",
+ "blockquote",
+ "body",
+ "button",
+ "canvas",
+ "caption",
+ "cite",
+ "code",
+ "dd",
+ "del",
+ "details",
+ "dfn",
+ "div",
+ "dl",
+ "dt",
+ "em",
+ "fieldset",
+ "figcaption",
+ "figure",
+ "footer",
+ "form",
+ "h1",
+ "h2",
+ "h3",
+ "h4",
+ "h5",
+ "h6",
+ "header",
+ "hgroup",
+ "html",
+ "i",
+ "iframe",
+ "img",
+ "input",
+ "ins",
+ "kbd",
+ "label",
+ "legend",
+ "li",
+ "main",
+ "mark",
+ "menu",
+ "nav",
+ "object",
+ "ol",
+ "optgroup",
+ "option",
+ "p",
+ "picture",
+ "q",
+ "quote",
+ "samp",
+ "section",
+ "select",
+ "source",
+ "span",
+ "strong",
+ "summary",
+ "sup",
+ "table",
+ "tbody",
+ "td",
+ "textarea",
+ "tfoot",
+ "th",
+ "thead",
+ "time",
+ "tr",
+ "ul",
+ "var",
+ "video"
+ ];
+ var SVG_TAGS = [
+ "defs",
+ "g",
+ "marker",
+ "mask",
+ "pattern",
+ "svg",
+ "switch",
+ "symbol",
+ "feBlend",
+ "feColorMatrix",
+ "feComponentTransfer",
+ "feComposite",
+ "feConvolveMatrix",
+ "feDiffuseLighting",
+ "feDisplacementMap",
+ "feFlood",
+ "feGaussianBlur",
+ "feImage",
+ "feMerge",
+ "feMorphology",
+ "feOffset",
+ "feSpecularLighting",
+ "feTile",
+ "feTurbulence",
+ "linearGradient",
+ "radialGradient",
+ "stop",
+ "circle",
+ "ellipse",
+ "image",
+ "line",
+ "path",
+ "polygon",
+ "polyline",
+ "rect",
+ "text",
+ "use",
+ "textPath",
+ "tspan",
+ "foreignObject",
+ "clipPath"
+ ];
+ var TAGS = [
+ ...HTML_TAGS,
+ ...SVG_TAGS
+ ];
+ var MEDIA_FEATURES = [
+ "any-hover",
+ "any-pointer",
+ "aspect-ratio",
+ "color",
+ "color-gamut",
+ "color-index",
+ "device-aspect-ratio",
+ "device-height",
+ "device-width",
+ "display-mode",
+ "forced-colors",
+ "grid",
+ "height",
+ "hover",
+ "inverted-colors",
+ "monochrome",
+ "orientation",
+ "overflow-block",
+ "overflow-inline",
+ "pointer",
+ "prefers-color-scheme",
+ "prefers-contrast",
+ "prefers-reduced-motion",
+ "prefers-reduced-transparency",
+ "resolution",
+ "scan",
+ "scripting",
+ "update",
+ "width",
+ // TODO: find a better solution?
+ "min-width",
+ "max-width",
+ "min-height",
+ "max-height"
+ ].sort().reverse();
+ var PSEUDO_CLASSES = [
+ "active",
+ "any-link",
+ "blank",
+ "checked",
+ "current",
+ "default",
+ "defined",
+ "dir",
+ // dir()
+ "disabled",
+ "drop",
+ "empty",
+ "enabled",
+ "first",
+ "first-child",
+ "first-of-type",
+ "fullscreen",
+ "future",
+ "focus",
+ "focus-visible",
+ "focus-within",
+ "has",
+ // has()
+ "host",
+ // host or host()
+ "host-context",
+ // host-context()
+ "hover",
+ "indeterminate",
+ "in-range",
+ "invalid",
+ "is",
+ // is()
+ "lang",
+ // lang()
+ "last-child",
+ "last-of-type",
+ "left",
+ "link",
+ "local-link",
+ "not",
+ // not()
+ "nth-child",
+ // nth-child()
+ "nth-col",
+ // nth-col()
+ "nth-last-child",
+ // nth-last-child()
+ "nth-last-col",
+ // nth-last-col()
+ "nth-last-of-type",
+ //nth-last-of-type()
+ "nth-of-type",
+ //nth-of-type()
+ "only-child",
+ "only-of-type",
+ "optional",
+ "out-of-range",
+ "past",
+ "placeholder-shown",
+ "read-only",
+ "read-write",
+ "required",
+ "right",
+ "root",
+ "scope",
+ "target",
+ "target-within",
+ "user-invalid",
+ "valid",
+ "visited",
+ "where"
+ // where()
+ ].sort().reverse();
+ var PSEUDO_ELEMENTS = [
+ "after",
+ "backdrop",
+ "before",
+ "cue",
+ "cue-region",
+ "first-letter",
+ "first-line",
+ "grammar-error",
+ "marker",
+ "part",
+ "placeholder",
+ "selection",
+ "slotted",
+ "spelling-error"
+ ].sort().reverse();
+ var ATTRIBUTES = [
+ "accent-color",
+ "align-content",
+ "align-items",
+ "align-self",
+ "alignment-baseline",
+ "all",
+ "animation",
+ "animation-delay",
+ "animation-direction",
+ "animation-duration",
+ "animation-fill-mode",
+ "animation-iteration-count",
+ "animation-name",
+ "animation-play-state",
+ "animation-timing-function",
+ "appearance",
+ "backface-visibility",
+ "background",
+ "background-attachment",
+ "background-blend-mode",
+ "background-clip",
+ "background-color",
+ "background-image",
+ "background-origin",
+ "background-position",
+ "background-repeat",
+ "background-size",
+ "baseline-shift",
+ "block-size",
+ "border",
+ "border-block",
+ "border-block-color",
+ "border-block-end",
+ "border-block-end-color",
+ "border-block-end-style",
+ "border-block-end-width",
+ "border-block-start",
+ "border-block-start-color",
+ "border-block-start-style",
+ "border-block-start-width",
+ "border-block-style",
+ "border-block-width",
+ "border-bottom",
+ "border-bottom-color",
+ "border-bottom-left-radius",
+ "border-bottom-right-radius",
+ "border-bottom-style",
+ "border-bottom-width",
+ "border-collapse",
+ "border-color",
+ "border-image",
+ "border-image-outset",
+ "border-image-repeat",
+ "border-image-slice",
+ "border-image-source",
+ "border-image-width",
+ "border-inline",
+ "border-inline-color",
+ "border-inline-end",
+ "border-inline-end-color",
+ "border-inline-end-style",
+ "border-inline-end-width",
+ "border-inline-start",
+ "border-inline-start-color",
+ "border-inline-start-style",
+ "border-inline-start-width",
+ "border-inline-style",
+ "border-inline-width",
+ "border-left",
+ "border-left-color",
+ "border-left-style",
+ "border-left-width",
+ "border-radius",
+ "border-right",
+ "border-end-end-radius",
+ "border-end-start-radius",
+ "border-right-color",
+ "border-right-style",
+ "border-right-width",
+ "border-spacing",
+ "border-start-end-radius",
+ "border-start-start-radius",
+ "border-style",
+ "border-top",
+ "border-top-color",
+ "border-top-left-radius",
+ "border-top-right-radius",
+ "border-top-style",
+ "border-top-width",
+ "border-width",
+ "bottom",
+ "box-decoration-break",
+ "box-shadow",
+ "box-sizing",
+ "break-after",
+ "break-before",
+ "break-inside",
+ "cx",
+ "cy",
+ "caption-side",
+ "caret-color",
+ "clear",
+ "clip",
+ "clip-path",
+ "clip-rule",
+ "color",
+ "color-interpolation",
+ "color-interpolation-filters",
+ "color-profile",
+ "color-rendering",
+ "color-scheme",
+ "column-count",
+ "column-fill",
+ "column-gap",
+ "column-rule",
+ "column-rule-color",
+ "column-rule-style",
+ "column-rule-width",
+ "column-span",
+ "column-width",
+ "columns",
+ "contain",
+ "content",
+ "content-visibility",
+ "counter-increment",
+ "counter-reset",
+ "cue",
+ "cue-after",
+ "cue-before",
+ "cursor",
+ "direction",
+ "display",
+ "dominant-baseline",
+ "empty-cells",
+ "enable-background",
+ "fill",
+ "fill-opacity",
+ "fill-rule",
+ "filter",
+ "flex",
+ "flex-basis",
+ "flex-direction",
+ "flex-flow",
+ "flex-grow",
+ "flex-shrink",
+ "flex-wrap",
+ "float",
+ "flow",
+ "flood-color",
+ "flood-opacity",
+ "font",
+ "font-display",
+ "font-family",
+ "font-feature-settings",
+ "font-kerning",
+ "font-language-override",
+ "font-size",
+ "font-size-adjust",
+ "font-smoothing",
+ "font-stretch",
+ "font-style",
+ "font-synthesis",
+ "font-variant",
+ "font-variant-caps",
+ "font-variant-east-asian",
+ "font-variant-ligatures",
+ "font-variant-numeric",
+ "font-variant-position",
+ "font-variation-settings",
+ "font-weight",
+ "gap",
+ "glyph-orientation-horizontal",
+ "glyph-orientation-vertical",
+ "grid",
+ "grid-area",
+ "grid-auto-columns",
+ "grid-auto-flow",
+ "grid-auto-rows",
+ "grid-column",
+ "grid-column-end",
+ "grid-column-start",
+ "grid-gap",
+ "grid-row",
+ "grid-row-end",
+ "grid-row-start",
+ "grid-template",
+ "grid-template-areas",
+ "grid-template-columns",
+ "grid-template-rows",
+ "hanging-punctuation",
+ "height",
+ "hyphens",
+ "icon",
+ "image-orientation",
+ "image-rendering",
+ "image-resolution",
+ "ime-mode",
+ "inline-size",
+ "inset",
+ "inset-block",
+ "inset-block-end",
+ "inset-block-start",
+ "inset-inline",
+ "inset-inline-end",
+ "inset-inline-start",
+ "isolation",
+ "kerning",
+ "justify-content",
+ "justify-items",
+ "justify-self",
+ "left",
+ "letter-spacing",
+ "lighting-color",
+ "line-break",
+ "line-height",
+ "list-style",
+ "list-style-image",
+ "list-style-position",
+ "list-style-type",
+ "marker",
+ "marker-end",
+ "marker-mid",
+ "marker-start",
+ "mask",
+ "margin",
+ "margin-block",
+ "margin-block-end",
+ "margin-block-start",
+ "margin-bottom",
+ "margin-inline",
+ "margin-inline-end",
+ "margin-inline-start",
+ "margin-left",
+ "margin-right",
+ "margin-top",
+ "marks",
+ "mask",
+ "mask-border",
+ "mask-border-mode",
+ "mask-border-outset",
+ "mask-border-repeat",
+ "mask-border-slice",
+ "mask-border-source",
+ "mask-border-width",
+ "mask-clip",
+ "mask-composite",
+ "mask-image",
+ "mask-mode",
+ "mask-origin",
+ "mask-position",
+ "mask-repeat",
+ "mask-size",
+ "mask-type",
+ "max-block-size",
+ "max-height",
+ "max-inline-size",
+ "max-width",
+ "min-block-size",
+ "min-height",
+ "min-inline-size",
+ "min-width",
+ "mix-blend-mode",
+ "nav-down",
+ "nav-index",
+ "nav-left",
+ "nav-right",
+ "nav-up",
+ "none",
+ "normal",
+ "object-fit",
+ "object-position",
+ "opacity",
+ "order",
+ "orphans",
+ "outline",
+ "outline-color",
+ "outline-offset",
+ "outline-style",
+ "outline-width",
+ "overflow",
+ "overflow-wrap",
+ "overflow-x",
+ "overflow-y",
+ "padding",
+ "padding-block",
+ "padding-block-end",
+ "padding-block-start",
+ "padding-bottom",
+ "padding-inline",
+ "padding-inline-end",
+ "padding-inline-start",
+ "padding-left",
+ "padding-right",
+ "padding-top",
+ "page-break-after",
+ "page-break-before",
+ "page-break-inside",
+ "pause",
+ "pause-after",
+ "pause-before",
+ "perspective",
+ "perspective-origin",
+ "pointer-events",
+ "position",
+ "quotes",
+ "r",
+ "resize",
+ "rest",
+ "rest-after",
+ "rest-before",
+ "right",
+ "rotate",
+ "row-gap",
+ "scale",
+ "scroll-margin",
+ "scroll-margin-block",
+ "scroll-margin-block-end",
+ "scroll-margin-block-start",
+ "scroll-margin-bottom",
+ "scroll-margin-inline",
+ "scroll-margin-inline-end",
+ "scroll-margin-inline-start",
+ "scroll-margin-left",
+ "scroll-margin-right",
+ "scroll-margin-top",
+ "scroll-padding",
+ "scroll-padding-block",
+ "scroll-padding-block-end",
+ "scroll-padding-block-start",
+ "scroll-padding-bottom",
+ "scroll-padding-inline",
+ "scroll-padding-inline-end",
+ "scroll-padding-inline-start",
+ "scroll-padding-left",
+ "scroll-padding-right",
+ "scroll-padding-top",
+ "scroll-snap-align",
+ "scroll-snap-stop",
+ "scroll-snap-type",
+ "scrollbar-color",
+ "scrollbar-gutter",
+ "scrollbar-width",
+ "shape-image-threshold",
+ "shape-margin",
+ "shape-outside",
+ "shape-rendering",
+ "stop-color",
+ "stop-opacity",
+ "stroke",
+ "stroke-dasharray",
+ "stroke-dashoffset",
+ "stroke-linecap",
+ "stroke-linejoin",
+ "stroke-miterlimit",
+ "stroke-opacity",
+ "stroke-width",
+ "speak",
+ "speak-as",
+ "src",
+ // @font-face
+ "tab-size",
+ "table-layout",
+ "text-anchor",
+ "text-align",
+ "text-align-all",
+ "text-align-last",
+ "text-combine-upright",
+ "text-decoration",
+ "text-decoration-color",
+ "text-decoration-line",
+ "text-decoration-skip-ink",
+ "text-decoration-style",
+ "text-decoration-thickness",
+ "text-emphasis",
+ "text-emphasis-color",
+ "text-emphasis-position",
+ "text-emphasis-style",
+ "text-indent",
+ "text-justify",
+ "text-orientation",
+ "text-overflow",
+ "text-rendering",
+ "text-shadow",
+ "text-transform",
+ "text-underline-offset",
+ "text-underline-position",
+ "top",
+ "transform",
+ "transform-box",
+ "transform-origin",
+ "transform-style",
+ "transition",
+ "transition-delay",
+ "transition-duration",
+ "transition-property",
+ "transition-timing-function",
+ "translate",
+ "unicode-bidi",
+ "vector-effect",
+ "vertical-align",
+ "visibility",
+ "voice-balance",
+ "voice-duration",
+ "voice-family",
+ "voice-pitch",
+ "voice-range",
+ "voice-rate",
+ "voice-stress",
+ "voice-volume",
+ "white-space",
+ "widows",
+ "width",
+ "will-change",
+ "word-break",
+ "word-spacing",
+ "word-wrap",
+ "writing-mode",
+ "x",
+ "y",
+ "z-index"
+ ].sort().reverse();
+ function css(hljs) {
+ const regex = hljs.regex;
+ const modes = MODES(hljs);
+ const VENDOR_PREFIX = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ };
+ const AT_MODIFIERS = "and or not only";
+ const AT_PROPERTY_RE = /@-?\w[\w]*(-\w+)*/;
+ const IDENT_RE = "[a-zA-Z-][a-zA-Z0-9_-]*";
+ const STRINGS = [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE
+ ];
+ return {
+ name: "CSS",
+ case_insensitive: true,
+ illegal: /[=|'\$]/,
+ keywords: { keyframePosition: "from to" },
+ classNameAliases: {
+ // for visual continuity with `tag {}` and because we
+ // don't have a great class for this?
+ keyframePosition: "selector-tag"
+ },
+ contains: [
+ modes.BLOCK_COMMENT,
+ VENDOR_PREFIX,
+ // to recognize keyframe 40% etc which are outside the scope of our
+ // attribute value mode
+ modes.CSS_NUMBER_MODE,
+ {
+ className: "selector-id",
+ begin: /#[A-Za-z0-9_-]+/,
+ relevance: 0
+ },
+ {
+ className: "selector-class",
+ begin: "\\." + IDENT_RE,
+ relevance: 0
+ },
+ modes.ATTRIBUTE_SELECTOR_MODE,
+ {
+ className: "selector-pseudo",
+ variants: [
+ { begin: ":(" + PSEUDO_CLASSES.join("|") + ")" },
+ { begin: ":(:)?(" + PSEUDO_ELEMENTS.join("|") + ")" }
+ ]
+ },
+ // we may actually need this (12/2020)
+ // { // pseudo-selector params
+ // begin: /\(/,
+ // end: /\)/,
+ // contains: [ hljs.CSS_NUMBER_MODE ]
+ // },
+ modes.CSS_VARIABLE,
+ {
+ className: "attribute",
+ begin: "\\b(" + ATTRIBUTES.join("|") + ")\\b"
+ },
+ // attribute values
+ {
+ begin: /:/,
+ end: /[;}{]/,
+ contains: [
+ modes.BLOCK_COMMENT,
+ modes.HEXCOLOR,
+ modes.IMPORTANT,
+ modes.CSS_NUMBER_MODE,
+ ...STRINGS,
+ // needed to highlight these as strings and to avoid issues with
+ // illegal characters that might be inside urls that would tigger the
+ // languages illegal stack
+ {
+ begin: /(url|data-uri)\(/,
+ end: /\)/,
+ relevance: 0,
+ // from keywords
+ keywords: { built_in: "url data-uri" },
+ contains: [
+ ...STRINGS,
+ {
+ className: "string",
+ // any character other than `)` as in `url()` will be the start
+ // of a string, which ends with `)` (from the parent mode)
+ begin: /[^)]/,
+ endsWithParent: true,
+ excludeEnd: true
+ }
+ ]
+ },
+ modes.FUNCTION_DISPATCH
+ ]
+ },
+ {
+ begin: regex.lookahead(/@/),
+ end: "[{;]",
+ relevance: 0,
+ illegal: /:/,
+ // break on Less variables @var: ...
+ contains: [
+ {
+ className: "keyword",
+ begin: AT_PROPERTY_RE
+ },
+ {
+ begin: /\s/,
+ endsWithParent: true,
+ excludeEnd: true,
+ relevance: 0,
+ keywords: {
+ $pattern: /[a-z-]+/,
+ keyword: AT_MODIFIERS,
+ attribute: MEDIA_FEATURES.join(" ")
+ },
+ contains: [
+ {
+ begin: /[a-z-]+(?=:)/,
+ className: "attribute"
+ },
+ ...STRINGS,
+ modes.CSS_NUMBER_MODE
+ ]
+ }
+ ]
+ },
+ {
+ className: "selector-tag",
+ begin: "\\b(" + TAGS.join("|") + ")\\b"
+ }
+ ]
+ };
+ }
+ module.exports = css;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/d.js
+ var require_d = __commonJS({
+ "node_modules/highlight.js/lib/languages/d.js"(exports, module) {
+ function d(hljs) {
+ const D_KEYWORDS = {
+ $pattern: hljs.UNDERSCORE_IDENT_RE,
+ keyword: "abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",
+ built_in: "bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",
+ literal: "false null true"
+ };
+ const decimal_integer_re = "(0|[1-9][\\d_]*)";
+ const decimal_integer_nosus_re = "(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)";
+ const binary_integer_re = "0[bB][01_]+";
+ const hexadecimal_digits_re = "([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)";
+ const hexadecimal_integer_re = "0[xX]" + hexadecimal_digits_re;
+ const decimal_exponent_re = "([eE][+-]?" + decimal_integer_nosus_re + ")";
+ const decimal_float_re = "(" + decimal_integer_nosus_re + "(\\.\\d*|" + decimal_exponent_re + ")|\\d+\\." + decimal_integer_nosus_re + "|\\." + decimal_integer_re + decimal_exponent_re + "?)";
+ const hexadecimal_float_re = "(0[xX](" + hexadecimal_digits_re + "\\." + hexadecimal_digits_re + "|\\.?" + hexadecimal_digits_re + ")[pP][+-]?" + decimal_integer_nosus_re + ")";
+ const integer_re = "(" + decimal_integer_re + "|" + binary_integer_re + "|" + hexadecimal_integer_re + ")";
+ const float_re = "(" + hexadecimal_float_re + "|" + decimal_float_re + ")";
+ const escape_sequence_re = `\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`;
+ const D_INTEGER_MODE = {
+ className: "number",
+ begin: "\\b" + integer_re + "(L|u|U|Lu|LU|uL|UL)?",
+ relevance: 0
+ };
+ const D_FLOAT_MODE = {
+ className: "number",
+ begin: "\\b(" + float_re + "([fF]|L|i|[fF]i|Li)?|" + integer_re + "(i|[fF]i|Li))",
+ relevance: 0
+ };
+ const D_CHARACTER_MODE = {
+ className: "string",
+ begin: "'(" + escape_sequence_re + "|.)",
+ end: "'",
+ illegal: "."
+ };
+ const D_ESCAPE_SEQUENCE = {
+ begin: escape_sequence_re,
+ relevance: 0
+ };
+ const D_STRING_MODE = {
+ className: "string",
+ begin: '"',
+ contains: [D_ESCAPE_SEQUENCE],
+ end: '"[cwd]?'
+ };
+ const D_WYSIWYG_DELIMITED_STRING_MODE = {
+ className: "string",
+ begin: '[rq]"',
+ end: '"[cwd]?',
+ relevance: 5
+ };
+ const D_ALTERNATE_WYSIWYG_STRING_MODE = {
+ className: "string",
+ begin: "`",
+ end: "`[cwd]?"
+ };
+ const D_HEX_STRING_MODE = {
+ className: "string",
+ begin: 'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',
+ relevance: 10
+ };
+ const D_TOKEN_STRING_MODE = {
+ className: "string",
+ begin: 'q"\\{',
+ end: '\\}"'
+ };
+ const D_HASHBANG_MODE = {
+ className: "meta",
+ begin: "^#!",
+ end: "$",
+ relevance: 5
+ };
+ const D_SPECIAL_TOKEN_SEQUENCE_MODE = {
+ className: "meta",
+ begin: "#(line)",
+ end: "$",
+ relevance: 5
+ };
+ const D_ATTRIBUTE_MODE = {
+ className: "keyword",
+ begin: "@[a-zA-Z_][a-zA-Z_\\d]*"
+ };
+ const D_NESTING_COMMENT_MODE = hljs.COMMENT(
+ "\\/\\+",
+ "\\+\\/",
+ {
+ contains: ["self"],
+ relevance: 10
+ }
+ );
+ return {
+ name: "D",
+ keywords: D_KEYWORDS,
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ D_NESTING_COMMENT_MODE,
+ D_HEX_STRING_MODE,
+ D_STRING_MODE,
+ D_WYSIWYG_DELIMITED_STRING_MODE,
+ D_ALTERNATE_WYSIWYG_STRING_MODE,
+ D_TOKEN_STRING_MODE,
+ D_FLOAT_MODE,
+ D_INTEGER_MODE,
+ D_CHARACTER_MODE,
+ D_HASHBANG_MODE,
+ D_SPECIAL_TOKEN_SEQUENCE_MODE,
+ D_ATTRIBUTE_MODE
+ ]
+ };
+ }
+ module.exports = d;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/markdown.js
+ var require_markdown = __commonJS({
+ "node_modules/highlight.js/lib/languages/markdown.js"(exports, module) {
+ function markdown(hljs) {
+ const regex = hljs.regex;
+ const INLINE_HTML = {
+ begin: /<\/?[A-Za-z_]/,
+ end: ">",
+ subLanguage: "xml",
+ relevance: 0
+ };
+ const HORIZONTAL_RULE = {
+ begin: "^[-\\*]{3,}",
+ end: "$"
+ };
+ const CODE = {
+ className: "code",
+ variants: [
+ // TODO: fix to allow these to work with sublanguage also
+ { begin: "(`{3,})[^`](.|\\n)*?\\1`*[ ]*" },
+ { begin: "(~{3,})[^~](.|\\n)*?\\1~*[ ]*" },
+ // needed to allow markdown as a sublanguage to work
+ {
+ begin: "```",
+ end: "```+[ ]*$"
+ },
+ {
+ begin: "~~~",
+ end: "~~~+[ ]*$"
+ },
+ { begin: "`.+?`" },
+ {
+ begin: "(?=^( {4}|\\t))",
+ // use contains to gobble up multiple lines to allow the block to be whatever size
+ // but only have a single open/close tag vs one per line
+ contains: [
+ {
+ begin: "^( {4}|\\t)",
+ end: "(\\n)$"
+ }
+ ],
+ relevance: 0
+ }
+ ]
+ };
+ const LIST = {
+ className: "bullet",
+ begin: "^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",
+ end: "\\s+",
+ excludeEnd: true
+ };
+ const LINK_REFERENCE = {
+ begin: /^\[[^\n]+\]:/,
+ returnBegin: true,
+ contains: [
+ {
+ className: "symbol",
+ begin: /\[/,
+ end: /\]/,
+ excludeBegin: true,
+ excludeEnd: true
+ },
+ {
+ className: "link",
+ begin: /:\s*/,
+ end: /$/,
+ excludeBegin: true
+ }
+ ]
+ };
+ const URL_SCHEME = /[A-Za-z][A-Za-z0-9+.-]*/;
+ const LINK = {
+ variants: [
+ // too much like nested array access in so many languages
+ // to have any real relevance
+ {
+ begin: /\[.+?\]\[.*?\]/,
+ relevance: 0
+ },
+ // popular internet URLs
+ {
+ begin: /\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,
+ relevance: 2
+ },
+ {
+ begin: regex.concat(/\[.+?\]\(/, URL_SCHEME, /:\/\/.*?\)/),
+ relevance: 2
+ },
+ // relative urls
+ {
+ begin: /\[.+?\]\([./?&#].*?\)/,
+ relevance: 1
+ },
+ // whatever else, lower relevance (might not be a link at all)
+ {
+ begin: /\[.*?\]\(.*?\)/,
+ relevance: 0
+ }
+ ],
+ returnBegin: true,
+ contains: [
+ {
+ // empty strings for alt or link text
+ match: /\[(?=\])/
+ },
+ {
+ className: "string",
+ relevance: 0,
+ begin: "\\[",
+ end: "\\]",
+ excludeBegin: true,
+ returnEnd: true
+ },
+ {
+ className: "link",
+ relevance: 0,
+ begin: "\\]\\(",
+ end: "\\)",
+ excludeBegin: true,
+ excludeEnd: true
+ },
+ {
+ className: "symbol",
+ relevance: 0,
+ begin: "\\]\\[",
+ end: "\\]",
+ excludeBegin: true,
+ excludeEnd: true
+ }
+ ]
+ };
+ const BOLD = {
+ className: "strong",
+ contains: [],
+ // defined later
+ variants: [
+ {
+ begin: /_{2}(?!\s)/,
+ end: /_{2}/
+ },
+ {
+ begin: /\*{2}(?!\s)/,
+ end: /\*{2}/
+ }
+ ]
+ };
+ const ITALIC = {
+ className: "emphasis",
+ contains: [],
+ // defined later
+ variants: [
+ {
+ begin: /\*(?![*\s])/,
+ end: /\*/
+ },
+ {
+ begin: /_(?![_\s])/,
+ end: /_/,
+ relevance: 0
+ }
+ ]
+ };
+ const BOLD_WITHOUT_ITALIC = hljs.inherit(BOLD, { contains: [] });
+ const ITALIC_WITHOUT_BOLD = hljs.inherit(ITALIC, { contains: [] });
+ BOLD.contains.push(ITALIC_WITHOUT_BOLD);
+ ITALIC.contains.push(BOLD_WITHOUT_ITALIC);
+ let CONTAINABLE = [
+ INLINE_HTML,
+ LINK
+ ];
+ [
+ BOLD,
+ ITALIC,
+ BOLD_WITHOUT_ITALIC,
+ ITALIC_WITHOUT_BOLD
+ ].forEach((m) => {
+ m.contains = m.contains.concat(CONTAINABLE);
+ });
+ CONTAINABLE = CONTAINABLE.concat(BOLD, ITALIC);
+ const HEADER = {
+ className: "section",
+ variants: [
+ {
+ begin: "^#{1,6}",
+ end: "$",
+ contains: CONTAINABLE
+ },
+ {
+ begin: "(?=^.+?\\n[=-]{2,}$)",
+ contains: [
+ { begin: "^[=-]*$" },
+ {
+ begin: "^",
+ end: "\\n",
+ contains: CONTAINABLE
+ }
+ ]
+ }
+ ]
+ };
+ const BLOCKQUOTE = {
+ className: "quote",
+ begin: "^>\\s+",
+ contains: CONTAINABLE,
+ end: "$"
+ };
+ const ENTITY = {
+ //https://spec.commonmark.org/0.31.2/#entity-references
+ scope: "literal",
+ match: /&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/
+ };
+ return {
+ name: "Markdown",
+ aliases: [
+ "md",
+ "mkdown",
+ "mkd"
+ ],
+ contains: [
+ HEADER,
+ INLINE_HTML,
+ LIST,
+ BOLD,
+ ITALIC,
+ BLOCKQUOTE,
+ CODE,
+ HORIZONTAL_RULE,
+ LINK,
+ LINK_REFERENCE,
+ ENTITY
+ ]
+ };
+ }
+ module.exports = markdown;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/dart.js
+ var require_dart = __commonJS({
+ "node_modules/highlight.js/lib/languages/dart.js"(exports, module) {
+ function dart(hljs) {
+ const SUBST = {
+ className: "subst",
+ variants: [{ begin: "\\$[A-Za-z0-9_]+" }]
+ };
+ const BRACED_SUBST = {
+ className: "subst",
+ variants: [
+ {
+ begin: /\$\{/,
+ end: /\}/
+ }
+ ],
+ keywords: "true false null this is new super"
+ };
+ const STRING = {
+ className: "string",
+ variants: [
+ {
+ begin: "r'''",
+ end: "'''"
+ },
+ {
+ begin: 'r"""',
+ end: '"""'
+ },
+ {
+ begin: "r'",
+ end: "'",
+ illegal: "\\n"
+ },
+ {
+ begin: 'r"',
+ end: '"',
+ illegal: "\\n"
+ },
+ {
+ begin: "'''",
+ end: "'''",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST,
+ BRACED_SUBST
+ ]
+ },
+ {
+ begin: '"""',
+ end: '"""',
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST,
+ BRACED_SUBST
+ ]
+ },
+ {
+ begin: "'",
+ end: "'",
+ illegal: "\\n",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST,
+ BRACED_SUBST
+ ]
+ },
+ {
+ begin: '"',
+ end: '"',
+ illegal: "\\n",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST,
+ BRACED_SUBST
+ ]
+ }
+ ]
+ };
+ BRACED_SUBST.contains = [
+ hljs.C_NUMBER_MODE,
+ STRING
+ ];
+ const BUILT_IN_TYPES = [
+ // dart:core
+ "Comparable",
+ "DateTime",
+ "Duration",
+ "Function",
+ "Iterable",
+ "Iterator",
+ "List",
+ "Map",
+ "Match",
+ "Object",
+ "Pattern",
+ "RegExp",
+ "Set",
+ "Stopwatch",
+ "String",
+ "StringBuffer",
+ "StringSink",
+ "Symbol",
+ "Type",
+ "Uri",
+ "bool",
+ "double",
+ "int",
+ "num",
+ // dart:html
+ "Element",
+ "ElementList"
+ ];
+ const NULLABLE_BUILT_IN_TYPES = BUILT_IN_TYPES.map((e) => `${e}?`);
+ const BASIC_KEYWORDS = [
+ "abstract",
+ "as",
+ "assert",
+ "async",
+ "await",
+ "base",
+ "break",
+ "case",
+ "catch",
+ "class",
+ "const",
+ "continue",
+ "covariant",
+ "default",
+ "deferred",
+ "do",
+ "dynamic",
+ "else",
+ "enum",
+ "export",
+ "extends",
+ "extension",
+ "external",
+ "factory",
+ "false",
+ "final",
+ "finally",
+ "for",
+ "Function",
+ "get",
+ "hide",
+ "if",
+ "implements",
+ "import",
+ "in",
+ "interface",
+ "is",
+ "late",
+ "library",
+ "mixin",
+ "new",
+ "null",
+ "on",
+ "operator",
+ "part",
+ "required",
+ "rethrow",
+ "return",
+ "sealed",
+ "set",
+ "show",
+ "static",
+ "super",
+ "switch",
+ "sync",
+ "this",
+ "throw",
+ "true",
+ "try",
+ "typedef",
+ "var",
+ "void",
+ "when",
+ "while",
+ "with",
+ "yield"
+ ];
+ const KEYWORDS = {
+ keyword: BASIC_KEYWORDS,
+ built_in: BUILT_IN_TYPES.concat(NULLABLE_BUILT_IN_TYPES).concat([
+ // dart:core
+ "Never",
+ "Null",
+ "dynamic",
+ "print",
+ // dart:html
+ "document",
+ "querySelector",
+ "querySelectorAll",
+ "window"
+ ]),
+ $pattern: /[A-Za-z][A-Za-z0-9_]*\??/
+ };
+ return {
+ name: "Dart",
+ keywords: KEYWORDS,
+ contains: [
+ STRING,
+ hljs.COMMENT(
+ /\/\*\*(?!\/)/,
+ /\*\//,
+ {
+ subLanguage: "markdown",
+ relevance: 0
+ }
+ ),
+ hljs.COMMENT(
+ /\/{3,} ?/,
+ /$/,
+ { contains: [
+ {
+ subLanguage: "markdown",
+ begin: ".",
+ end: "$",
+ relevance: 0
+ }
+ ] }
+ ),
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: "class",
+ beginKeywords: "class interface",
+ end: /\{/,
+ excludeEnd: true,
+ contains: [
+ { beginKeywords: "extends implements" },
+ hljs.UNDERSCORE_TITLE_MODE
+ ]
+ },
+ hljs.C_NUMBER_MODE,
+ {
+ className: "meta",
+ begin: "@[A-Za-z]+"
+ },
+ {
+ begin: "=>"
+ // No markup, just a relevance booster
+ }
+ ]
+ };
+ }
+ module.exports = dart;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/delphi.js
+ var require_delphi = __commonJS({
+ "node_modules/highlight.js/lib/languages/delphi.js"(exports, module) {
+ function delphi(hljs) {
+ const KEYWORDS = [
+ "exports",
+ "register",
+ "file",
+ "shl",
+ "array",
+ "record",
+ "property",
+ "for",
+ "mod",
+ "while",
+ "set",
+ "ally",
+ "label",
+ "uses",
+ "raise",
+ "not",
+ "stored",
+ "class",
+ "safecall",
+ "var",
+ "interface",
+ "or",
+ "private",
+ "static",
+ "exit",
+ "index",
+ "inherited",
+ "to",
+ "else",
+ "stdcall",
+ "override",
+ "shr",
+ "asm",
+ "far",
+ "resourcestring",
+ "finalization",
+ "packed",
+ "virtual",
+ "out",
+ "and",
+ "protected",
+ "library",
+ "do",
+ "xorwrite",
+ "goto",
+ "near",
+ "function",
+ "end",
+ "div",
+ "overload",
+ "object",
+ "unit",
+ "begin",
+ "string",
+ "on",
+ "inline",
+ "repeat",
+ "until",
+ "destructor",
+ "write",
+ "message",
+ "program",
+ "with",
+ "read",
+ "initialization",
+ "except",
+ "default",
+ "nil",
+ "if",
+ "case",
+ "cdecl",
+ "in",
+ "downto",
+ "threadvar",
+ "of",
+ "try",
+ "pascal",
+ "const",
+ "external",
+ "constructor",
+ "type",
+ "public",
+ "then",
+ "implementation",
+ "finally",
+ "published",
+ "procedure",
+ "absolute",
+ "reintroduce",
+ "operator",
+ "as",
+ "is",
+ "abstract",
+ "alias",
+ "assembler",
+ "bitpacked",
+ "break",
+ "continue",
+ "cppdecl",
+ "cvar",
+ "enumerator",
+ "experimental",
+ "platform",
+ "deprecated",
+ "unimplemented",
+ "dynamic",
+ "export",
+ "far16",
+ "forward",
+ "generic",
+ "helper",
+ "implements",
+ "interrupt",
+ "iochecks",
+ "local",
+ "name",
+ "nodefault",
+ "noreturn",
+ "nostackframe",
+ "oldfpccall",
+ "otherwise",
+ "saveregisters",
+ "softfloat",
+ "specialize",
+ "strict",
+ "unaligned",
+ "varargs"
+ ];
+ const COMMENT_MODES = [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.COMMENT(/\{/, /\}/, { relevance: 0 }),
+ hljs.COMMENT(/\(\*/, /\*\)/, { relevance: 10 })
+ ];
+ const DIRECTIVE = {
+ className: "meta",
+ variants: [
+ {
+ begin: /\{\$/,
+ end: /\}/
+ },
+ {
+ begin: /\(\*\$/,
+ end: /\*\)/
+ }
+ ]
+ };
+ const STRING = {
+ className: "string",
+ begin: /'/,
+ end: /'/,
+ contains: [{ begin: /''/ }]
+ };
+ const NUMBER = {
+ className: "number",
+ relevance: 0,
+ // Source: https://www.freepascal.org/docs-html/ref/refse6.html
+ variants: [
+ {
+ // Regular numbers, e.g., 123, 123.456.
+ match: /\b\d[\d_]*(\.\d[\d_]*)?/
+ },
+ {
+ // Hexadecimal notation, e.g., $7F.
+ match: /\$[\dA-Fa-f_]+/
+ },
+ {
+ // Hexadecimal literal with no digits
+ match: /\$/,
+ relevance: 0
+ },
+ {
+ // Octal notation, e.g., &42.
+ match: /&[0-7][0-7_]*/
+ },
+ {
+ // Binary notation, e.g., %1010.
+ match: /%[01_]+/
+ },
+ {
+ // Binary literal with no digits
+ match: /%/,
+ relevance: 0
+ }
+ ]
+ };
+ const CHAR_STRING = {
+ className: "string",
+ variants: [
+ { match: /#\d[\d_]*/ },
+ { match: /#\$[\dA-Fa-f][\dA-Fa-f_]*/ },
+ { match: /#&[0-7][0-7_]*/ },
+ { match: /#%[01][01_]*/ }
+ ]
+ };
+ const CLASS = {
+ begin: hljs.IDENT_RE + "\\s*=\\s*class\\s*\\(",
+ returnBegin: true,
+ contains: [hljs.TITLE_MODE]
+ };
+ const FUNCTION = {
+ className: "function",
+ beginKeywords: "function constructor destructor procedure",
+ end: /[:;]/,
+ keywords: "function constructor|10 destructor|10 procedure|10",
+ contains: [
+ hljs.TITLE_MODE,
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ keywords: KEYWORDS,
+ contains: [
+ STRING,
+ CHAR_STRING,
+ DIRECTIVE
+ ].concat(COMMENT_MODES)
+ },
+ DIRECTIVE
+ ].concat(COMMENT_MODES)
+ };
+ return {
+ name: "Delphi",
+ aliases: [
+ "dpr",
+ "dfm",
+ "pas",
+ "pascal"
+ ],
+ case_insensitive: true,
+ keywords: KEYWORDS,
+ illegal: /"|\$[G-Zg-z]|\/\*|<\/|\|/,
+ contains: [
+ STRING,
+ CHAR_STRING,
+ NUMBER,
+ CLASS,
+ FUNCTION,
+ DIRECTIVE
+ ].concat(COMMENT_MODES)
+ };
+ }
+ module.exports = delphi;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/diff.js
+ var require_diff = __commonJS({
+ "node_modules/highlight.js/lib/languages/diff.js"(exports, module) {
+ function diff(hljs) {
+ const regex = hljs.regex;
+ return {
+ name: "Diff",
+ aliases: ["patch"],
+ contains: [
+ {
+ className: "meta",
+ relevance: 10,
+ match: regex.either(
+ /^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,
+ /^\*\*\* +\d+,\d+ +\*\*\*\*$/,
+ /^--- +\d+,\d+ +----$/
+ )
+ },
+ {
+ className: "comment",
+ variants: [
+ {
+ begin: regex.either(
+ /Index: /,
+ /^index/,
+ /={3,}/,
+ /^-{3}/,
+ /^\*{3} /,
+ /^\+{3}/,
+ /^diff --git/
+ ),
+ end: /$/
+ },
+ { match: /^\*{15}$/ }
+ ]
+ },
+ {
+ className: "addition",
+ begin: /^\+/,
+ end: /$/
+ },
+ {
+ className: "deletion",
+ begin: /^-/,
+ end: /$/
+ },
+ {
+ className: "addition",
+ begin: /^!/,
+ end: /$/
+ }
+ ]
+ };
+ }
+ module.exports = diff;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/django.js
+ var require_django = __commonJS({
+ "node_modules/highlight.js/lib/languages/django.js"(exports, module) {
+ function django(hljs) {
+ const FILTER = {
+ begin: /\|[A-Za-z]+:?/,
+ keywords: { name: "truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone" },
+ contains: [
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE
+ ]
+ };
+ return {
+ name: "Django",
+ aliases: ["jinja"],
+ case_insensitive: true,
+ subLanguage: "xml",
+ contains: [
+ hljs.COMMENT(/\{%\s*comment\s*%\}/, /\{%\s*endcomment\s*%\}/),
+ hljs.COMMENT(/\{#/, /#\}/),
+ {
+ className: "template-tag",
+ begin: /\{%/,
+ end: /%\}/,
+ contains: [
+ {
+ className: "name",
+ begin: /\w+/,
+ keywords: { name: "comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim" },
+ starts: {
+ endsWithParent: true,
+ keywords: "in by as",
+ contains: [FILTER],
+ relevance: 0
+ }
+ }
+ ]
+ },
+ {
+ className: "template-variable",
+ begin: /\{\{/,
+ end: /\}\}/,
+ contains: [FILTER]
+ }
+ ]
+ };
+ }
+ module.exports = django;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/dns.js
+ var require_dns = __commonJS({
+ "node_modules/highlight.js/lib/languages/dns.js"(exports, module) {
+ function dns(hljs) {
+ const KEYWORDS = [
+ "IN",
+ "A",
+ "AAAA",
+ "AFSDB",
+ "APL",
+ "CAA",
+ "CDNSKEY",
+ "CDS",
+ "CERT",
+ "CNAME",
+ "DHCID",
+ "DLV",
+ "DNAME",
+ "DNSKEY",
+ "DS",
+ "HIP",
+ "IPSECKEY",
+ "KEY",
+ "KX",
+ "LOC",
+ "MX",
+ "NAPTR",
+ "NS",
+ "NSEC",
+ "NSEC3",
+ "NSEC3PARAM",
+ "PTR",
+ "RRSIG",
+ "RP",
+ "SIG",
+ "SOA",
+ "SRV",
+ "SSHFP",
+ "TA",
+ "TKEY",
+ "TLSA",
+ "TSIG",
+ "TXT"
+ ];
+ return {
+ name: "DNS Zone",
+ aliases: [
+ "bind",
+ "zone"
+ ],
+ keywords: KEYWORDS,
+ contains: [
+ hljs.COMMENT(";", "$", { relevance: 0 }),
+ {
+ className: "meta",
+ begin: /^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/
+ },
+ // IPv6
+ {
+ className: "number",
+ begin: "((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"
+ },
+ // IPv4
+ {
+ className: "number",
+ begin: "((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"
+ },
+ hljs.inherit(hljs.NUMBER_MODE, { begin: /\b\d+[dhwm]?/ })
+ ]
+ };
+ }
+ module.exports = dns;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/dockerfile.js
+ var require_dockerfile = __commonJS({
+ "node_modules/highlight.js/lib/languages/dockerfile.js"(exports, module) {
+ function dockerfile(hljs) {
+ const KEYWORDS = [
+ "from",
+ "maintainer",
+ "expose",
+ "env",
+ "arg",
+ "user",
+ "onbuild",
+ "stopsignal"
+ ];
+ return {
+ name: "Dockerfile",
+ aliases: ["docker"],
+ case_insensitive: true,
+ keywords: KEYWORDS,
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.NUMBER_MODE,
+ {
+ beginKeywords: "run cmd entrypoint volume add copy workdir label healthcheck shell",
+ starts: {
+ end: /[^\\]$/,
+ subLanguage: "bash"
+ }
+ }
+ ],
+ illegal: "</"
+ };
+ }
+ module.exports = dockerfile;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/dos.js
+ var require_dos = __commonJS({
+ "node_modules/highlight.js/lib/languages/dos.js"(exports, module) {
+ function dos(hljs) {
+ const COMMENT = hljs.COMMENT(
+ /^\s*@?rem\b/,
+ /$/,
+ { relevance: 10 }
+ );
+ const LABEL = {
+ className: "symbol",
+ begin: "^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",
+ relevance: 0
+ };
+ const KEYWORDS = [
+ "if",
+ "else",
+ "goto",
+ "for",
+ "in",
+ "do",
+ "call",
+ "exit",
+ "not",
+ "exist",
+ "errorlevel",
+ "defined",
+ "equ",
+ "neq",
+ "lss",
+ "leq",
+ "gtr",
+ "geq"
+ ];
+ const BUILT_INS = [
+ "prn",
+ "nul",
+ "lpt3",
+ "lpt2",
+ "lpt1",
+ "con",
+ "com4",
+ "com3",
+ "com2",
+ "com1",
+ "aux",
+ "shift",
+ "cd",
+ "dir",
+ "echo",
+ "setlocal",
+ "endlocal",
+ "set",
+ "pause",
+ "copy",
+ "append",
+ "assoc",
+ "at",
+ "attrib",
+ "break",
+ "cacls",
+ "cd",
+ "chcp",
+ "chdir",
+ "chkdsk",
+ "chkntfs",
+ "cls",
+ "cmd",
+ "color",
+ "comp",
+ "compact",
+ "convert",
+ "date",
+ "dir",
+ "diskcomp",
+ "diskcopy",
+ "doskey",
+ "erase",
+ "fs",
+ "find",
+ "findstr",
+ "format",
+ "ftype",
+ "graftabl",
+ "help",
+ "keyb",
+ "label",
+ "md",
+ "mkdir",
+ "mode",
+ "more",
+ "move",
+ "path",
+ "pause",
+ "print",
+ "popd",
+ "pushd",
+ "promt",
+ "rd",
+ "recover",
+ "rem",
+ "rename",
+ "replace",
+ "restore",
+ "rmdir",
+ "shift",
+ "sort",
+ "start",
+ "subst",
+ "time",
+ "title",
+ "tree",
+ "type",
+ "ver",
+ "verify",
+ "vol",
+ // winutils
+ "ping",
+ "net",
+ "ipconfig",
+ "taskkill",
+ "xcopy",
+ "ren",
+ "del"
+ ];
+ return {
+ name: "Batch file (DOS)",
+ aliases: [
+ "bat",
+ "cmd"
+ ],
+ case_insensitive: true,
+ illegal: /\/\*/,
+ keywords: {
+ keyword: KEYWORDS,
+ built_in: BUILT_INS
+ },
+ contains: [
+ {
+ className: "variable",
+ begin: /%%[^ ]|%[^ ]+?%|![^ ]+?!/
+ },
+ {
+ className: "function",
+ begin: LABEL.begin,
+ end: "goto:eof",
+ contains: [
+ hljs.inherit(hljs.TITLE_MODE, { begin: "([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*" }),
+ COMMENT
+ ]
+ },
+ {
+ className: "number",
+ begin: "\\b\\d+",
+ relevance: 0
+ },
+ COMMENT
+ ]
+ };
+ }
+ module.exports = dos;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/dsconfig.js
+ var require_dsconfig = __commonJS({
+ "node_modules/highlight.js/lib/languages/dsconfig.js"(exports, module) {
+ function dsconfig(hljs) {
+ const QUOTED_PROPERTY = {
+ className: "string",
+ begin: /"/,
+ end: /"/
+ };
+ const APOS_PROPERTY = {
+ className: "string",
+ begin: /'/,
+ end: /'/
+ };
+ const UNQUOTED_PROPERTY = {
+ className: "string",
+ begin: /[\w\-?]+:\w+/,
+ end: /\W/,
+ relevance: 0
+ };
+ const VALUELESS_PROPERTY = {
+ className: "string",
+ begin: /\w+(\-\w+)*/,
+ end: /(?=\W)/,
+ relevance: 0
+ };
+ return {
+ keywords: "dsconfig",
+ contains: [
+ {
+ className: "keyword",
+ begin: "^dsconfig",
+ end: /\s/,
+ excludeEnd: true,
+ relevance: 10
+ },
+ {
+ className: "built_in",
+ begin: /(list|create|get|set|delete)-(\w+)/,
+ end: /\s/,
+ excludeEnd: true,
+ illegal: "!@#$%^&*()",
+ relevance: 10
+ },
+ {
+ className: "built_in",
+ begin: /--(\w+)/,
+ end: /\s/,
+ excludeEnd: true
+ },
+ QUOTED_PROPERTY,
+ APOS_PROPERTY,
+ UNQUOTED_PROPERTY,
+ VALUELESS_PROPERTY,
+ hljs.HASH_COMMENT_MODE
+ ]
+ };
+ }
+ module.exports = dsconfig;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/dts.js
+ var require_dts = __commonJS({
+ "node_modules/highlight.js/lib/languages/dts.js"(exports, module) {
+ function dts(hljs) {
+ const STRINGS = {
+ className: "string",
+ variants: [
+ hljs.inherit(hljs.QUOTE_STRING_MODE, { begin: '((u8?|U)|L)?"' }),
+ {
+ begin: '(u8?|U)?R"',
+ end: '"',
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ {
+ begin: "'\\\\?.",
+ end: "'",
+ illegal: "."
+ }
+ ]
+ };
+ const NUMBERS = {
+ className: "number",
+ variants: [
+ { begin: "\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)" },
+ { begin: hljs.C_NUMBER_RE }
+ ],
+ relevance: 0
+ };
+ const PREPROCESSOR = {
+ className: "meta",
+ begin: "#",
+ end: "$",
+ keywords: { keyword: "if else elif endif define undef ifdef ifndef" },
+ contains: [
+ {
+ begin: /\\\n/,
+ relevance: 0
+ },
+ {
+ beginKeywords: "include",
+ end: "$",
+ keywords: { keyword: "include" },
+ contains: [
+ hljs.inherit(STRINGS, { className: "string" }),
+ {
+ className: "string",
+ begin: "<",
+ end: ">",
+ illegal: "\\n"
+ }
+ ]
+ },
+ STRINGS,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ };
+ const REFERENCE = {
+ className: "variable",
+ begin: /&[a-z\d_]*\b/
+ };
+ const KEYWORD = {
+ className: "keyword",
+ begin: "/[a-z][a-z\\d-]*/"
+ };
+ const LABEL = {
+ className: "symbol",
+ begin: "^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"
+ };
+ const CELL_PROPERTY = {
+ className: "params",
+ relevance: 0,
+ begin: "<",
+ end: ">",
+ contains: [
+ NUMBERS,
+ REFERENCE
+ ]
+ };
+ const NODE = {
+ className: "title.class",
+ begin: /[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,
+ relevance: 0.2
+ };
+ const ROOT_NODE = {
+ className: "title.class",
+ begin: /^\/(?=\s*\{)/,
+ relevance: 10
+ };
+ const ATTR_NO_VALUE = {
+ match: /[a-z][a-z-,]+(?=;)/,
+ relevance: 0,
+ scope: "attr"
+ };
+ const ATTR = {
+ relevance: 0,
+ match: [
+ /[a-z][a-z-,]+/,
+ /\s*/,
+ /=/
+ ],
+ scope: {
+ 1: "attr",
+ 3: "operator"
+ }
+ };
+ const PUNC = {
+ scope: "punctuation",
+ relevance: 0,
+ // `};` combined is just to avoid tons of useless punctuation nodes
+ match: /\};|[;{}]/
+ };
+ return {
+ name: "Device Tree",
+ contains: [
+ ROOT_NODE,
+ REFERENCE,
+ KEYWORD,
+ LABEL,
+ NODE,
+ ATTR,
+ ATTR_NO_VALUE,
+ CELL_PROPERTY,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ NUMBERS,
+ STRINGS,
+ PREPROCESSOR,
+ PUNC,
+ {
+ begin: hljs.IDENT_RE + "::",
+ keywords: ""
+ }
+ ]
+ };
+ }
+ module.exports = dts;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/dust.js
+ var require_dust = __commonJS({
+ "node_modules/highlight.js/lib/languages/dust.js"(exports, module) {
+ function dust(hljs) {
+ const EXPRESSION_KEYWORDS = "if eq ne lt lte gt gte select default math sep";
+ return {
+ name: "Dust",
+ aliases: ["dst"],
+ case_insensitive: true,
+ subLanguage: "xml",
+ contains: [
+ {
+ className: "template-tag",
+ begin: /\{[#\/]/,
+ end: /\}/,
+ illegal: /;/,
+ contains: [
+ {
+ className: "name",
+ begin: /[a-zA-Z\.-]+/,
+ starts: {
+ endsWithParent: true,
+ relevance: 0,
+ contains: [hljs.QUOTE_STRING_MODE]
+ }
+ }
+ ]
+ },
+ {
+ className: "template-variable",
+ begin: /\{/,
+ end: /\}/,
+ illegal: /;/,
+ keywords: EXPRESSION_KEYWORDS
+ }
+ ]
+ };
+ }
+ module.exports = dust;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/ebnf.js
+ var require_ebnf = __commonJS({
+ "node_modules/highlight.js/lib/languages/ebnf.js"(exports, module) {
+ function ebnf(hljs) {
+ const commentMode = hljs.COMMENT(/\(\*/, /\*\)/);
+ const nonTerminalMode = {
+ className: "attribute",
+ begin: /^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/
+ };
+ const specialSequenceMode = {
+ className: "meta",
+ begin: /\?.*\?/
+ };
+ const ruleBodyMode = {
+ begin: /=/,
+ end: /[.;]/,
+ contains: [
+ commentMode,
+ specialSequenceMode,
+ {
+ // terminals
+ className: "string",
+ variants: [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ {
+ begin: "`",
+ end: "`"
+ }
+ ]
+ }
+ ]
+ };
+ return {
+ name: "Extended Backus-Naur Form",
+ illegal: /\S/,
+ contains: [
+ commentMode,
+ nonTerminalMode,
+ ruleBodyMode
+ ]
+ };
+ }
+ module.exports = ebnf;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/elixir.js
+ var require_elixir = __commonJS({
+ "node_modules/highlight.js/lib/languages/elixir.js"(exports, module) {
+ function elixir(hljs) {
+ const regex = hljs.regex;
+ const ELIXIR_IDENT_RE = "[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?";
+ const ELIXIR_METHOD_RE = "[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?";
+ const KEYWORDS = [
+ "after",
+ "alias",
+ "and",
+ "case",
+ "catch",
+ "cond",
+ "defstruct",
+ "defguard",
+ "do",
+ "else",
+ "end",
+ "fn",
+ "for",
+ "if",
+ "import",
+ "in",
+ "not",
+ "or",
+ "quote",
+ "raise",
+ "receive",
+ "require",
+ "reraise",
+ "rescue",
+ "try",
+ "unless",
+ "unquote",
+ "unquote_splicing",
+ "use",
+ "when",
+ "with|0"
+ ];
+ const LITERALS = [
+ "false",
+ "nil",
+ "true"
+ ];
+ const KWS = {
+ $pattern: ELIXIR_IDENT_RE,
+ keyword: KEYWORDS,
+ literal: LITERALS
+ };
+ const SUBST = {
+ className: "subst",
+ begin: /#\{/,
+ end: /\}/,
+ keywords: KWS
+ };
+ const NUMBER = {
+ className: "number",
+ begin: "(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",
+ relevance: 0
+ };
+ const ESCAPES_RE = /\\[\s\S]/;
+ const BACKSLASH_ESCAPE = {
+ match: ESCAPES_RE,
+ scope: "char.escape",
+ relevance: 0
+ };
+ const SIGIL_DELIMITERS = `[/|([{<"']`;
+ const SIGIL_DELIMITER_MODES = [
+ {
+ begin: /"/,
+ end: /"/
+ },
+ {
+ begin: /'/,
+ end: /'/
+ },
+ {
+ begin: /\//,
+ end: /\//
+ },
+ {
+ begin: /\|/,
+ end: /\|/
+ },
+ {
+ begin: /\(/,
+ end: /\)/
+ },
+ {
+ begin: /\[/,
+ end: /\]/
+ },
+ {
+ begin: /\{/,
+ end: /\}/
+ },
+ {
+ begin: /</,
+ end: />/
+ }
+ ];
+ const escapeSigilEnd = (end2) => {
+ return {
+ scope: "char.escape",
+ begin: regex.concat(/\\/, end2),
+ relevance: 0
+ };
+ };
+ const LOWERCASE_SIGIL = {
+ className: "string",
+ begin: "~[a-z](?=" + SIGIL_DELIMITERS + ")",
+ contains: SIGIL_DELIMITER_MODES.map((x) => hljs.inherit(
+ x,
+ { contains: [
+ escapeSigilEnd(x.end),
+ BACKSLASH_ESCAPE,
+ SUBST
+ ] }
+ ))
+ };
+ const UPCASE_SIGIL = {
+ className: "string",
+ begin: "~[A-Z](?=" + SIGIL_DELIMITERS + ")",
+ contains: SIGIL_DELIMITER_MODES.map((x) => hljs.inherit(
+ x,
+ { contains: [escapeSigilEnd(x.end)] }
+ ))
+ };
+ const REGEX_SIGIL = {
+ className: "regex",
+ variants: [
+ {
+ begin: "~r(?=" + SIGIL_DELIMITERS + ")",
+ contains: SIGIL_DELIMITER_MODES.map((x) => hljs.inherit(
+ x,
+ {
+ end: regex.concat(x.end, /[uismxfU]{0,7}/),
+ contains: [
+ escapeSigilEnd(x.end),
+ BACKSLASH_ESCAPE,
+ SUBST
+ ]
+ }
+ ))
+ },
+ {
+ begin: "~R(?=" + SIGIL_DELIMITERS + ")",
+ contains: SIGIL_DELIMITER_MODES.map(
+ (x) => hljs.inherit(
+ x,
+ {
+ end: regex.concat(x.end, /[uismxfU]{0,7}/),
+ contains: [escapeSigilEnd(x.end)]
+ }
+ )
+ )
+ }
+ ]
+ };
+ const STRING = {
+ className: "string",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ variants: [
+ {
+ begin: /"""/,
+ end: /"""/
+ },
+ {
+ begin: /'''/,
+ end: /'''/
+ },
+ {
+ begin: /~S"""/,
+ end: /"""/,
+ contains: []
+ // override default
+ },
+ {
+ begin: /~S"/,
+ end: /"/,
+ contains: []
+ // override default
+ },
+ {
+ begin: /~S'''/,
+ end: /'''/,
+ contains: []
+ // override default
+ },
+ {
+ begin: /~S'/,
+ end: /'/,
+ contains: []
+ // override default
+ },
+ {
+ begin: /'/,
+ end: /'/
+ },
+ {
+ begin: /"/,
+ end: /"/
+ }
+ ]
+ };
+ const FUNCTION = {
+ className: "function",
+ beginKeywords: "def defp defmacro defmacrop",
+ end: /\B\b/,
+ // the mode is ended by the title
+ contains: [
+ hljs.inherit(hljs.TITLE_MODE, {
+ begin: ELIXIR_IDENT_RE,
+ endsParent: true
+ })
+ ]
+ };
+ const CLASS = hljs.inherit(FUNCTION, {
+ className: "class",
+ beginKeywords: "defimpl defmodule defprotocol defrecord",
+ end: /\bdo\b|$|;/
+ });
+ const ELIXIR_DEFAULT_CONTAINS = [
+ STRING,
+ REGEX_SIGIL,
+ UPCASE_SIGIL,
+ LOWERCASE_SIGIL,
+ hljs.HASH_COMMENT_MODE,
+ CLASS,
+ FUNCTION,
+ { begin: "::" },
+ {
+ className: "symbol",
+ begin: ":(?![\\s:])",
+ contains: [
+ STRING,
+ { begin: ELIXIR_METHOD_RE }
+ ],
+ relevance: 0
+ },
+ {
+ className: "symbol",
+ begin: ELIXIR_IDENT_RE + ":(?!:)",
+ relevance: 0
+ },
+ {
+ // Usage of a module, struct, etc.
+ className: "title.class",
+ begin: /(\b[A-Z][a-zA-Z0-9_]+)/,
+ relevance: 0
+ },
+ NUMBER,
+ {
+ className: "variable",
+ begin: "(\\$\\W)|((\\$|@@?)(\\w+))"
+ }
+ // -> has been removed, capnproto always uses this grammar construct
+ ];
+ SUBST.contains = ELIXIR_DEFAULT_CONTAINS;
+ return {
+ name: "Elixir",
+ aliases: [
+ "ex",
+ "exs"
+ ],
+ keywords: KWS,
+ contains: ELIXIR_DEFAULT_CONTAINS
+ };
+ }
+ module.exports = elixir;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/elm.js
+ var require_elm = __commonJS({
+ "node_modules/highlight.js/lib/languages/elm.js"(exports, module) {
+ function elm(hljs) {
+ const COMMENT = { variants: [
+ hljs.COMMENT("--", "$"),
+ hljs.COMMENT(
+ /\{-/,
+ /-\}/,
+ { contains: ["self"] }
+ )
+ ] };
+ const CONSTRUCTOR = {
+ className: "type",
+ begin: "\\b[A-Z][\\w']*",
+ // TODO: other constructors (built-in, infix).
+ relevance: 0
+ };
+ const LIST = {
+ begin: "\\(",
+ end: "\\)",
+ illegal: '"',
+ contains: [
+ {
+ className: "type",
+ begin: "\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"
+ },
+ COMMENT
+ ]
+ };
+ const RECORD = {
+ begin: /\{/,
+ end: /\}/,
+ contains: LIST.contains
+ };
+ const CHARACTER = {
+ className: "string",
+ begin: "'\\\\?.",
+ end: "'",
+ illegal: "."
+ };
+ const KEYWORDS = [
+ "let",
+ "in",
+ "if",
+ "then",
+ "else",
+ "case",
+ "of",
+ "where",
+ "module",
+ "import",
+ "exposing",
+ "type",
+ "alias",
+ "as",
+ "infix",
+ "infixl",
+ "infixr",
+ "port",
+ "effect",
+ "command",
+ "subscription"
+ ];
+ return {
+ name: "Elm",
+ keywords: KEYWORDS,
+ contains: [
+ // Top-level constructions.
+ {
+ beginKeywords: "port effect module",
+ end: "exposing",
+ keywords: "port effect module where command subscription exposing",
+ contains: [
+ LIST,
+ COMMENT
+ ],
+ illegal: "\\W\\.|;"
+ },
+ {
+ begin: "import",
+ end: "$",
+ keywords: "import as exposing",
+ contains: [
+ LIST,
+ COMMENT
+ ],
+ illegal: "\\W\\.|;"
+ },
+ {
+ begin: "type",
+ end: "$",
+ keywords: "type alias",
+ contains: [
+ CONSTRUCTOR,
+ LIST,
+ RECORD,
+ COMMENT
+ ]
+ },
+ {
+ beginKeywords: "infix infixl infixr",
+ end: "$",
+ contains: [
+ hljs.C_NUMBER_MODE,
+ COMMENT
+ ]
+ },
+ {
+ begin: "port",
+ end: "$",
+ keywords: "port",
+ contains: [COMMENT]
+ },
+ // Literals and names.
+ CHARACTER,
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_NUMBER_MODE,
+ CONSTRUCTOR,
+ hljs.inherit(hljs.TITLE_MODE, { begin: "^[_a-z][\\w']*" }),
+ COMMENT,
+ {
+ // No markup, relevance booster
+ begin: "->|<-"
+ }
+ ],
+ illegal: /;/
+ };
+ }
+ module.exports = elm;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/ruby.js
+ var require_ruby = __commonJS({
+ "node_modules/highlight.js/lib/languages/ruby.js"(exports, module) {
+ function ruby(hljs) {
+ const regex = hljs.regex;
+ const RUBY_METHOD_RE = "([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)";
+ const CLASS_NAME_RE = regex.either(
+ /\b([A-Z]+[a-z0-9]+)+/,
+ // ends in caps
+ /\b([A-Z]+[a-z0-9]+)+[A-Z]+/
+ );
+ const CLASS_NAME_WITH_NAMESPACE_RE = regex.concat(CLASS_NAME_RE, /(::\w+)*/);
+ const PSEUDO_KWS = [
+ "include",
+ "extend",
+ "prepend",
+ "public",
+ "private",
+ "protected",
+ "raise",
+ "throw"
+ ];
+ const RUBY_KEYWORDS = {
+ "variable.constant": [
+ "__FILE__",
+ "__LINE__",
+ "__ENCODING__"
+ ],
+ "variable.language": [
+ "self",
+ "super"
+ ],
+ keyword: [
+ "alias",
+ "and",
+ "begin",
+ "BEGIN",
+ "break",
+ "case",
+ "class",
+ "defined",
+ "do",
+ "else",
+ "elsif",
+ "end",
+ "END",
+ "ensure",
+ "for",
+ "if",
+ "in",
+ "module",
+ "next",
+ "not",
+ "or",
+ "redo",
+ "require",
+ "rescue",
+ "retry",
+ "return",
+ "then",
+ "undef",
+ "unless",
+ "until",
+ "when",
+ "while",
+ "yield",
+ ...PSEUDO_KWS
+ ],
+ built_in: [
+ "proc",
+ "lambda",
+ "attr_accessor",
+ "attr_reader",
+ "attr_writer",
+ "define_method",
+ "private_constant",
+ "module_function"
+ ],
+ literal: [
+ "true",
+ "false",
+ "nil"
+ ]
+ };
+ const YARDOCTAG = {
+ className: "doctag",
+ begin: "@[A-Za-z]+"
+ };
+ const IRB_OBJECT = {
+ begin: "#<",
+ end: ">"
+ };
+ const COMMENT_MODES = [
+ hljs.COMMENT(
+ "#",
+ "$",
+ { contains: [YARDOCTAG] }
+ ),
+ hljs.COMMENT(
+ "^=begin",
+ "^=end",
+ {
+ contains: [YARDOCTAG],
+ relevance: 10
+ }
+ ),
+ hljs.COMMENT("^__END__", hljs.MATCH_NOTHING_RE)
+ ];
+ const SUBST = {
+ className: "subst",
+ begin: /#\{/,
+ end: /\}/,
+ keywords: RUBY_KEYWORDS
+ };
+ const STRING = {
+ className: "string",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ variants: [
+ {
+ begin: /'/,
+ end: /'/
+ },
+ {
+ begin: /"/,
+ end: /"/
+ },
+ {
+ begin: /`/,
+ end: /`/
+ },
+ {
+ begin: /%[qQwWx]?\(/,
+ end: /\)/
+ },
+ {
+ begin: /%[qQwWx]?\[/,
+ end: /\]/
+ },
+ {
+ begin: /%[qQwWx]?\{/,
+ end: /\}/
+ },
+ {
+ begin: /%[qQwWx]?</,
+ end: />/
+ },
+ {
+ begin: /%[qQwWx]?\//,
+ end: /\//
+ },
+ {
+ begin: /%[qQwWx]?%/,
+ end: /%/
+ },
+ {
+ begin: /%[qQwWx]?-/,
+ end: /-/
+ },
+ {
+ begin: /%[qQwWx]?\|/,
+ end: /\|/
+ },
+ // in the following expressions, \B in the beginning suppresses recognition of ?-sequences
+ // where ? is the last character of a preceding identifier, as in: `func?4`
+ { begin: /\B\?(\\\d{1,3})/ },
+ { begin: /\B\?(\\x[A-Fa-f0-9]{1,2})/ },
+ { begin: /\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/ },
+ { begin: /\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/ },
+ { begin: /\B\?\\(c|C-)[\x20-\x7e]/ },
+ { begin: /\B\?\\?\S/ },
+ // heredocs
+ {
+ // this guard makes sure that we have an entire heredoc and not a false
+ // positive (auto-detect, etc.)
+ begin: regex.concat(
+ /<<[-~]?'?/,
+ regex.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)
+ ),
+ contains: [
+ hljs.END_SAME_AS_BEGIN({
+ begin: /(\w+)/,
+ end: /(\w+)/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ]
+ })
+ ]
+ }
+ ]
+ };
+ const decimal = "[1-9](_?[0-9])*|0";
+ const digits = "[0-9](_?[0-9])*";
+ const NUMBER = {
+ className: "number",
+ relevance: 0,
+ variants: [
+ // decimal integer/float, optionally exponential or rational, optionally imaginary
+ { begin: `\\b(${decimal})(\\.(${digits}))?([eE][+-]?(${digits})|r)?i?\\b` },
+ // explicit decimal/binary/octal/hexadecimal integer,
+ // optionally rational and/or imaginary
+ { begin: "\\b0[dD][0-9](_?[0-9])*r?i?\\b" },
+ { begin: "\\b0[bB][0-1](_?[0-1])*r?i?\\b" },
+ { begin: "\\b0[oO][0-7](_?[0-7])*r?i?\\b" },
+ { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b" },
+ // 0-prefixed implicit octal integer, optionally rational and/or imaginary
+ { begin: "\\b0(_?[0-7])+r?i?\\b" }
+ ]
+ };
+ const PARAMS = {
+ variants: [
+ {
+ match: /\(\)/
+ },
+ {
+ className: "params",
+ begin: /\(/,
+ end: /(?=\))/,
+ excludeBegin: true,
+ endsParent: true,
+ keywords: RUBY_KEYWORDS
+ }
+ ]
+ };
+ const INCLUDE_EXTEND = {
+ match: [
+ /(include|extend)\s+/,
+ CLASS_NAME_WITH_NAMESPACE_RE
+ ],
+ scope: {
+ 2: "title.class"
+ },
+ keywords: RUBY_KEYWORDS
+ };
+ const CLASS_DEFINITION = {
+ variants: [
+ {
+ match: [
+ /class\s+/,
+ CLASS_NAME_WITH_NAMESPACE_RE,
+ /\s+<\s+/,
+ CLASS_NAME_WITH_NAMESPACE_RE
+ ]
+ },
+ {
+ match: [
+ /\b(class|module)\s+/,
+ CLASS_NAME_WITH_NAMESPACE_RE
+ ]
+ }
+ ],
+ scope: {
+ 2: "title.class",
+ 4: "title.class.inherited"
+ },
+ keywords: RUBY_KEYWORDS
+ };
+ const UPPER_CASE_CONSTANT = {
+ relevance: 0,
+ match: /\b[A-Z][A-Z_0-9]+\b/,
+ className: "variable.constant"
+ };
+ const METHOD_DEFINITION = {
+ match: [
+ /def/,
+ /\s+/,
+ RUBY_METHOD_RE
+ ],
+ scope: {
+ 1: "keyword",
+ 3: "title.function"
+ },
+ contains: [
+ PARAMS
+ ]
+ };
+ const OBJECT_CREATION = {
+ relevance: 0,
+ match: [
+ CLASS_NAME_WITH_NAMESPACE_RE,
+ /\.new[. (]/
+ ],
+ scope: {
+ 1: "title.class"
+ }
+ };
+ const CLASS_REFERENCE = {
+ relevance: 0,
+ match: CLASS_NAME_RE,
+ scope: "title.class"
+ };
+ const RUBY_DEFAULT_CONTAINS = [
+ STRING,
+ CLASS_DEFINITION,
+ INCLUDE_EXTEND,
+ OBJECT_CREATION,
+ UPPER_CASE_CONSTANT,
+ CLASS_REFERENCE,
+ METHOD_DEFINITION,
+ {
+ // swallow namespace qualifiers before symbols
+ begin: hljs.IDENT_RE + "::"
+ },
+ {
+ className: "symbol",
+ begin: hljs.UNDERSCORE_IDENT_RE + "(!|\\?)?:",
+ relevance: 0
+ },
+ {
+ className: "symbol",
+ begin: ":(?!\\s)",
+ contains: [
+ STRING,
+ { begin: RUBY_METHOD_RE }
+ ],
+ relevance: 0
+ },
+ NUMBER,
+ {
+ // negative-look forward attempts to prevent false matches like:
+ // @ident@ or $ident$ that might indicate this is not ruby at all
+ className: "variable",
+ begin: `(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])`
+ },
+ {
+ className: "params",
+ begin: /\|/,
+ end: /\|/,
+ excludeBegin: true,
+ excludeEnd: true,
+ relevance: 0,
+ // this could be a lot of things (in other languages) other than params
+ keywords: RUBY_KEYWORDS
+ },
+ {
+ // regexp container
+ begin: "(" + hljs.RE_STARTERS_RE + "|unless)\\s*",
+ keywords: "unless",
+ contains: [
+ {
+ className: "regexp",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ illegal: /\n/,
+ variants: [
+ {
+ begin: "/",
+ end: "/[a-z]*"
+ },
+ {
+ begin: /%r\{/,
+ end: /\}[a-z]*/
+ },
+ {
+ begin: "%r\\(",
+ end: "\\)[a-z]*"
+ },
+ {
+ begin: "%r!",
+ end: "![a-z]*"
+ },
+ {
+ begin: "%r\\[",
+ end: "\\][a-z]*"
+ }
+ ]
+ }
+ ].concat(IRB_OBJECT, COMMENT_MODES),
+ relevance: 0
+ }
+ ].concat(IRB_OBJECT, COMMENT_MODES);
+ SUBST.contains = RUBY_DEFAULT_CONTAINS;
+ PARAMS.contains = RUBY_DEFAULT_CONTAINS;
+ const SIMPLE_PROMPT = "[>?]>";
+ const DEFAULT_PROMPT = "[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]";
+ const RVM_PROMPT = "(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>";
+ const IRB_DEFAULT = [
+ {
+ begin: /^\s*=>/,
+ starts: {
+ end: "$",
+ contains: RUBY_DEFAULT_CONTAINS
+ }
+ },
+ {
+ className: "meta.prompt",
+ begin: "^(" + SIMPLE_PROMPT + "|" + DEFAULT_PROMPT + "|" + RVM_PROMPT + ")(?=[ ])",
+ starts: {
+ end: "$",
+ keywords: RUBY_KEYWORDS,
+ contains: RUBY_DEFAULT_CONTAINS
+ }
+ }
+ ];
+ COMMENT_MODES.unshift(IRB_OBJECT);
+ return {
+ name: "Ruby",
+ aliases: [
+ "rb",
+ "gemspec",
+ "podspec",
+ "thor",
+ "irb"
+ ],
+ keywords: RUBY_KEYWORDS,
+ illegal: /\/\*/,
+ contains: [hljs.SHEBANG({ binary: "ruby" })].concat(IRB_DEFAULT).concat(COMMENT_MODES).concat(RUBY_DEFAULT_CONTAINS)
+ };
+ }
+ module.exports = ruby;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/erb.js
+ var require_erb = __commonJS({
+ "node_modules/highlight.js/lib/languages/erb.js"(exports, module) {
+ function erb(hljs) {
+ return {
+ name: "ERB",
+ subLanguage: "xml",
+ contains: [
+ hljs.COMMENT("<%#", "%>"),
+ {
+ begin: "<%[%=-]?",
+ end: "[%-]?%>",
+ subLanguage: "ruby",
+ excludeBegin: true,
+ excludeEnd: true
+ }
+ ]
+ };
+ }
+ module.exports = erb;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/erlang-repl.js
+ var require_erlang_repl = __commonJS({
+ "node_modules/highlight.js/lib/languages/erlang-repl.js"(exports, module) {
+ function erlangRepl(hljs) {
+ const regex = hljs.regex;
+ return {
+ name: "Erlang REPL",
+ keywords: {
+ built_in: "spawn spawn_link self",
+ keyword: "after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"
+ },
+ contains: [
+ {
+ className: "meta.prompt",
+ begin: "^[0-9]+> ",
+ relevance: 10
+ },
+ hljs.COMMENT("%", "$"),
+ {
+ className: "number",
+ begin: "\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",
+ relevance: 0
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ { begin: regex.concat(
+ /\?(::)?/,
+ /([A-Z]\w*)/,
+ // at least one identifier
+ /((::)[A-Z]\w*)*/
+ // perhaps more
+ ) },
+ { begin: "->" },
+ { begin: "ok" },
+ { begin: "!" },
+ {
+ begin: "(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",
+ relevance: 0
+ },
+ {
+ begin: "[A-Z][a-zA-Z0-9_']*",
+ relevance: 0
+ }
+ ]
+ };
+ }
+ module.exports = erlangRepl;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/erlang.js
+ var require_erlang = __commonJS({
+ "node_modules/highlight.js/lib/languages/erlang.js"(exports, module) {
+ function erlang(hljs) {
+ const BASIC_ATOM_RE = "[a-z'][a-zA-Z0-9_']*";
+ const FUNCTION_NAME_RE = "(" + BASIC_ATOM_RE + ":" + BASIC_ATOM_RE + "|" + BASIC_ATOM_RE + ")";
+ const ERLANG_RESERVED = {
+ keyword: "after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",
+ literal: "false true"
+ };
+ const COMMENT = hljs.COMMENT("%", "$");
+ const NUMBER = {
+ className: "number",
+ begin: "\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",
+ relevance: 0
+ };
+ const NAMED_FUN = { begin: "fun\\s+" + BASIC_ATOM_RE + "/\\d+" };
+ const FUNCTION_CALL = {
+ begin: FUNCTION_NAME_RE + "\\(",
+ end: "\\)",
+ returnBegin: true,
+ relevance: 0,
+ contains: [
+ {
+ begin: FUNCTION_NAME_RE,
+ relevance: 0
+ },
+ {
+ begin: "\\(",
+ end: "\\)",
+ endsWithParent: true,
+ returnEnd: true,
+ relevance: 0
+ // "contains" defined later
+ }
+ ]
+ };
+ const TUPLE = {
+ begin: /\{/,
+ end: /\}/,
+ relevance: 0
+ // "contains" defined later
+ };
+ const VAR1 = {
+ begin: "\\b_([A-Z][A-Za-z0-9_]*)?",
+ relevance: 0
+ };
+ const VAR2 = {
+ begin: "[A-Z][a-zA-Z0-9_]*",
+ relevance: 0
+ };
+ const RECORD_ACCESS = {
+ begin: "#" + hljs.UNDERSCORE_IDENT_RE,
+ relevance: 0,
+ returnBegin: true,
+ contains: [
+ {
+ begin: "#" + hljs.UNDERSCORE_IDENT_RE,
+ relevance: 0
+ },
+ {
+ begin: /\{/,
+ end: /\}/,
+ relevance: 0
+ // "contains" defined later
+ }
+ ]
+ };
+ const CHAR_LITERAL = {
+ scope: "string",
+ match: /\$(\\([^0-9]|[0-9]{1,3}|)|.)/
+ };
+ const BLOCK_STATEMENTS = {
+ beginKeywords: "fun receive if try case",
+ end: "end",
+ keywords: ERLANG_RESERVED
+ };
+ BLOCK_STATEMENTS.contains = [
+ COMMENT,
+ NAMED_FUN,
+ hljs.inherit(hljs.APOS_STRING_MODE, { className: "" }),
+ BLOCK_STATEMENTS,
+ FUNCTION_CALL,
+ hljs.QUOTE_STRING_MODE,
+ NUMBER,
+ TUPLE,
+ VAR1,
+ VAR2,
+ RECORD_ACCESS,
+ CHAR_LITERAL
+ ];
+ const BASIC_MODES = [
+ COMMENT,
+ NAMED_FUN,
+ BLOCK_STATEMENTS,
+ FUNCTION_CALL,
+ hljs.QUOTE_STRING_MODE,
+ NUMBER,
+ TUPLE,
+ VAR1,
+ VAR2,
+ RECORD_ACCESS,
+ CHAR_LITERAL
+ ];
+ FUNCTION_CALL.contains[1].contains = BASIC_MODES;
+ TUPLE.contains = BASIC_MODES;
+ RECORD_ACCESS.contains[1].contains = BASIC_MODES;
+ const DIRECTIVES = [
+ "-module",
+ "-record",
+ "-undef",
+ "-export",
+ "-ifdef",
+ "-ifndef",
+ "-author",
+ "-copyright",
+ "-doc",
+ "-vsn",
+ "-import",
+ "-include",
+ "-include_lib",
+ "-compile",
+ "-define",
+ "-else",
+ "-endif",
+ "-file",
+ "-behaviour",
+ "-behavior",
+ "-spec"
+ ];
+ const PARAMS = {
+ className: "params",
+ begin: "\\(",
+ end: "\\)",
+ contains: BASIC_MODES
+ };
+ return {
+ name: "Erlang",
+ aliases: ["erl"],
+ keywords: ERLANG_RESERVED,
+ illegal: "(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",
+ contains: [
+ {
+ className: "function",
+ begin: "^" + BASIC_ATOM_RE + "\\s*\\(",
+ end: "->",
+ returnBegin: true,
+ illegal: "\\(|#|//|/\\*|\\\\|:|;",
+ contains: [
+ PARAMS,
+ hljs.inherit(hljs.TITLE_MODE, { begin: BASIC_ATOM_RE })
+ ],
+ starts: {
+ end: ";|\\.",
+ keywords: ERLANG_RESERVED,
+ contains: BASIC_MODES
+ }
+ },
+ COMMENT,
+ {
+ begin: "^-",
+ end: "\\.",
+ relevance: 0,
+ excludeEnd: true,
+ returnBegin: true,
+ keywords: {
+ $pattern: "-" + hljs.IDENT_RE,
+ keyword: DIRECTIVES.map((x) => `${x}|1.5`).join(" ")
+ },
+ contains: [PARAMS]
+ },
+ NUMBER,
+ hljs.QUOTE_STRING_MODE,
+ RECORD_ACCESS,
+ VAR1,
+ VAR2,
+ TUPLE,
+ CHAR_LITERAL,
+ { begin: /\.$/ }
+ // relevance booster
+ ]
+ };
+ }
+ module.exports = erlang;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/excel.js
+ var require_excel = __commonJS({
+ "node_modules/highlight.js/lib/languages/excel.js"(exports, module) {
+ function excel(hljs) {
+ const BUILT_INS = [
+ "ABS",
+ "ACCRINT",
+ "ACCRINTM",
+ "ACOS",
+ "ACOSH",
+ "ACOT",
+ "ACOTH",
+ "AGGREGATE",
+ "ADDRESS",
+ "AMORDEGRC",
+ "AMORLINC",
+ "AND",
+ "ARABIC",
+ "AREAS",
+ "ASC",
+ "ASIN",
+ "ASINH",
+ "ATAN",
+ "ATAN2",
+ "ATANH",
+ "AVEDEV",
+ "AVERAGE",
+ "AVERAGEA",
+ "AVERAGEIF",
+ "AVERAGEIFS",
+ "BAHTTEXT",
+ "BASE",
+ "BESSELI",
+ "BESSELJ",
+ "BESSELK",
+ "BESSELY",
+ "BETADIST",
+ "BETA.DIST",
+ "BETAINV",
+ "BETA.INV",
+ "BIN2DEC",
+ "BIN2HEX",
+ "BIN2OCT",
+ "BINOMDIST",
+ "BINOM.DIST",
+ "BINOM.DIST.RANGE",
+ "BINOM.INV",
+ "BITAND",
+ "BITLSHIFT",
+ "BITOR",
+ "BITRSHIFT",
+ "BITXOR",
+ "CALL",
+ "CEILING",
+ "CEILING.MATH",
+ "CEILING.PRECISE",
+ "CELL",
+ "CHAR",
+ "CHIDIST",
+ "CHIINV",
+ "CHITEST",
+ "CHISQ.DIST",
+ "CHISQ.DIST.RT",
+ "CHISQ.INV",
+ "CHISQ.INV.RT",
+ "CHISQ.TEST",
+ "CHOOSE",
+ "CLEAN",
+ "CODE",
+ "COLUMN",
+ "COLUMNS",
+ "COMBIN",
+ "COMBINA",
+ "COMPLEX",
+ "CONCAT",
+ "CONCATENATE",
+ "CONFIDENCE",
+ "CONFIDENCE.NORM",
+ "CONFIDENCE.T",
+ "CONVERT",
+ "CORREL",
+ "COS",
+ "COSH",
+ "COT",
+ "COTH",
+ "COUNT",
+ "COUNTA",
+ "COUNTBLANK",
+ "COUNTIF",
+ "COUNTIFS",
+ "COUPDAYBS",
+ "COUPDAYS",
+ "COUPDAYSNC",
+ "COUPNCD",
+ "COUPNUM",
+ "COUPPCD",
+ "COVAR",
+ "COVARIANCE.P",
+ "COVARIANCE.S",
+ "CRITBINOM",
+ "CSC",
+ "CSCH",
+ "CUBEKPIMEMBER",
+ "CUBEMEMBER",
+ "CUBEMEMBERPROPERTY",
+ "CUBERANKEDMEMBER",
+ "CUBESET",
+ "CUBESETCOUNT",
+ "CUBEVALUE",
+ "CUMIPMT",
+ "CUMPRINC",
+ "DATE",
+ "DATEDIF",
+ "DATEVALUE",
+ "DAVERAGE",
+ "DAY",
+ "DAYS",
+ "DAYS360",
+ "DB",
+ "DBCS",
+ "DCOUNT",
+ "DCOUNTA",
+ "DDB",
+ "DEC2BIN",
+ "DEC2HEX",
+ "DEC2OCT",
+ "DECIMAL",
+ "DEGREES",
+ "DELTA",
+ "DEVSQ",
+ "DGET",
+ "DISC",
+ "DMAX",
+ "DMIN",
+ "DOLLAR",
+ "DOLLARDE",
+ "DOLLARFR",
+ "DPRODUCT",
+ "DSTDEV",
+ "DSTDEVP",
+ "DSUM",
+ "DURATION",
+ "DVAR",
+ "DVARP",
+ "EDATE",
+ "EFFECT",
+ "ENCODEURL",
+ "EOMONTH",
+ "ERF",
+ "ERF.PRECISE",
+ "ERFC",
+ "ERFC.PRECISE",
+ "ERROR.TYPE",
+ "EUROCONVERT",
+ "EVEN",
+ "EXACT",
+ "EXP",
+ "EXPON.DIST",
+ "EXPONDIST",
+ "FACT",
+ "FACTDOUBLE",
+ "FALSE|0",
+ "F.DIST",
+ "FDIST",
+ "F.DIST.RT",
+ "FILTERXML",
+ "FIND",
+ "FINDB",
+ "F.INV",
+ "F.INV.RT",
+ "FINV",
+ "FISHER",
+ "FISHERINV",
+ "FIXED",
+ "FLOOR",
+ "FLOOR.MATH",
+ "FLOOR.PRECISE",
+ "FORECAST",
+ "FORECAST.ETS",
+ "FORECAST.ETS.CONFINT",
+ "FORECAST.ETS.SEASONALITY",
+ "FORECAST.ETS.STAT",
+ "FORECAST.LINEAR",
+ "FORMULATEXT",
+ "FREQUENCY",
+ "F.TEST",
+ "FTEST",
+ "FV",
+ "FVSCHEDULE",
+ "GAMMA",
+ "GAMMA.DIST",
+ "GAMMADIST",
+ "GAMMA.INV",
+ "GAMMAINV",
+ "GAMMALN",
+ "GAMMALN.PRECISE",
+ "GAUSS",
+ "GCD",
+ "GEOMEAN",
+ "GESTEP",
+ "GETPIVOTDATA",
+ "GROWTH",
+ "HARMEAN",
+ "HEX2BIN",
+ "HEX2DEC",
+ "HEX2OCT",
+ "HLOOKUP",
+ "HOUR",
+ "HYPERLINK",
+ "HYPGEOM.DIST",
+ "HYPGEOMDIST",
+ "IF",
+ "IFERROR",
+ "IFNA",
+ "IFS",
+ "IMABS",
+ "IMAGINARY",
+ "IMARGUMENT",
+ "IMCONJUGATE",
+ "IMCOS",
+ "IMCOSH",
+ "IMCOT",
+ "IMCSC",
+ "IMCSCH",
+ "IMDIV",
+ "IMEXP",
+ "IMLN",
+ "IMLOG10",
+ "IMLOG2",
+ "IMPOWER",
+ "IMPRODUCT",
+ "IMREAL",
+ "IMSEC",
+ "IMSECH",
+ "IMSIN",
+ "IMSINH",
+ "IMSQRT",
+ "IMSUB",
+ "IMSUM",
+ "IMTAN",
+ "INDEX",
+ "INDIRECT",
+ "INFO",
+ "INT",
+ "INTERCEPT",
+ "INTRATE",
+ "IPMT",
+ "IRR",
+ "ISBLANK",
+ "ISERR",
+ "ISERROR",
+ "ISEVEN",
+ "ISFORMULA",
+ "ISLOGICAL",
+ "ISNA",
+ "ISNONTEXT",
+ "ISNUMBER",
+ "ISODD",
+ "ISREF",
+ "ISTEXT",
+ "ISO.CEILING",
+ "ISOWEEKNUM",
+ "ISPMT",
+ "JIS",
+ "KURT",
+ "LARGE",
+ "LCM",
+ "LEFT",
+ "LEFTB",
+ "LEN",
+ "LENB",
+ "LINEST",
+ "LN",
+ "LOG",
+ "LOG10",
+ "LOGEST",
+ "LOGINV",
+ "LOGNORM.DIST",
+ "LOGNORMDIST",
+ "LOGNORM.INV",
+ "LOOKUP",
+ "LOWER",
+ "MATCH",
+ "MAX",
+ "MAXA",
+ "MAXIFS",
+ "MDETERM",
+ "MDURATION",
+ "MEDIAN",
+ "MID",
+ "MIDBs",
+ "MIN",
+ "MINIFS",
+ "MINA",
+ "MINUTE",
+ "MINVERSE",
+ "MIRR",
+ "MMULT",
+ "MOD",
+ "MODE",
+ "MODE.MULT",
+ "MODE.SNGL",
+ "MONTH",
+ "MROUND",
+ "MULTINOMIAL",
+ "MUNIT",
+ "N",
+ "NA",
+ "NEGBINOM.DIST",
+ "NEGBINOMDIST",
+ "NETWORKDAYS",
+ "NETWORKDAYS.INTL",
+ "NOMINAL",
+ "NORM.DIST",
+ "NORMDIST",
+ "NORMINV",
+ "NORM.INV",
+ "NORM.S.DIST",
+ "NORMSDIST",
+ "NORM.S.INV",
+ "NORMSINV",
+ "NOT",
+ "NOW",
+ "NPER",
+ "NPV",
+ "NUMBERVALUE",
+ "OCT2BIN",
+ "OCT2DEC",
+ "OCT2HEX",
+ "ODD",
+ "ODDFPRICE",
+ "ODDFYIELD",
+ "ODDLPRICE",
+ "ODDLYIELD",
+ "OFFSET",
+ "OR",
+ "PDURATION",
+ "PEARSON",
+ "PERCENTILE.EXC",
+ "PERCENTILE.INC",
+ "PERCENTILE",
+ "PERCENTRANK.EXC",
+ "PERCENTRANK.INC",
+ "PERCENTRANK",
+ "PERMUT",
+ "PERMUTATIONA",
+ "PHI",
+ "PHONETIC",
+ "PI",
+ "PMT",
+ "POISSON.DIST",
+ "POISSON",
+ "POWER",
+ "PPMT",
+ "PRICE",
+ "PRICEDISC",
+ "PRICEMAT",
+ "PROB",
+ "PRODUCT",
+ "PROPER",
+ "PV",
+ "QUARTILE",
+ "QUARTILE.EXC",
+ "QUARTILE.INC",
+ "QUOTIENT",
+ "RADIANS",
+ "RAND",
+ "RANDBETWEEN",
+ "RANK.AVG",
+ "RANK.EQ",
+ "RANK",
+ "RATE",
+ "RECEIVED",
+ "REGISTER.ID",
+ "REPLACE",
+ "REPLACEB",
+ "REPT",
+ "RIGHT",
+ "RIGHTB",
+ "ROMAN",
+ "ROUND",
+ "ROUNDDOWN",
+ "ROUNDUP",
+ "ROW",
+ "ROWS",
+ "RRI",
+ "RSQ",
+ "RTD",
+ "SEARCH",
+ "SEARCHB",
+ "SEC",
+ "SECH",
+ "SECOND",
+ "SERIESSUM",
+ "SHEET",
+ "SHEETS",
+ "SIGN",
+ "SIN",
+ "SINH",
+ "SKEW",
+ "SKEW.P",
+ "SLN",
+ "SLOPE",
+ "SMALL",
+ "SQL.REQUEST",
+ "SQRT",
+ "SQRTPI",
+ "STANDARDIZE",
+ "STDEV",
+ "STDEV.P",
+ "STDEV.S",
+ "STDEVA",
+ "STDEVP",
+ "STDEVPA",
+ "STEYX",
+ "SUBSTITUTE",
+ "SUBTOTAL",
+ "SUM",
+ "SUMIF",
+ "SUMIFS",
+ "SUMPRODUCT",
+ "SUMSQ",
+ "SUMX2MY2",
+ "SUMX2PY2",
+ "SUMXMY2",
+ "SWITCH",
+ "SYD",
+ "T",
+ "TAN",
+ "TANH",
+ "TBILLEQ",
+ "TBILLPRICE",
+ "TBILLYIELD",
+ "T.DIST",
+ "T.DIST.2T",
+ "T.DIST.RT",
+ "TDIST",
+ "TEXT",
+ "TEXTJOIN",
+ "TIME",
+ "TIMEVALUE",
+ "T.INV",
+ "T.INV.2T",
+ "TINV",
+ "TODAY",
+ "TRANSPOSE",
+ "TREND",
+ "TRIM",
+ "TRIMMEAN",
+ "TRUE|0",
+ "TRUNC",
+ "T.TEST",
+ "TTEST",
+ "TYPE",
+ "UNICHAR",
+ "UNICODE",
+ "UPPER",
+ "VALUE",
+ "VAR",
+ "VAR.P",
+ "VAR.S",
+ "VARA",
+ "VARP",
+ "VARPA",
+ "VDB",
+ "VLOOKUP",
+ "WEBSERVICE",
+ "WEEKDAY",
+ "WEEKNUM",
+ "WEIBULL",
+ "WEIBULL.DIST",
+ "WORKDAY",
+ "WORKDAY.INTL",
+ "XIRR",
+ "XNPV",
+ "XOR",
+ "YEAR",
+ "YEARFRAC",
+ "YIELD",
+ "YIELDDISC",
+ "YIELDMAT",
+ "Z.TEST",
+ "ZTEST"
+ ];
+ return {
+ name: "Excel formulae",
+ aliases: [
+ "xlsx",
+ "xls"
+ ],
+ case_insensitive: true,
+ keywords: {
+ $pattern: /[a-zA-Z][\w\.]*/,
+ built_in: BUILT_INS
+ },
+ contains: [
+ {
+ /* matches a beginning equal sign found in Excel formula examples */
+ begin: /^=/,
+ end: /[^=]/,
+ returnEnd: true,
+ illegal: /=/,
+ /* only allow single equal sign at front of line */
+ relevance: 10
+ },
+ /* technically, there can be more than 2 letters in column names, but this prevents conflict with some keywords */
+ {
+ /* matches a reference to a single cell */
+ className: "symbol",
+ begin: /\b[A-Z]{1,2}\d+\b/,
+ end: /[^\d]/,
+ excludeEnd: true,
+ relevance: 0
+ },
+ {
+ /* matches a reference to a range of cells */
+ className: "symbol",
+ begin: /[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,
+ relevance: 0
+ },
+ hljs.BACKSLASH_ESCAPE,
+ hljs.QUOTE_STRING_MODE,
+ {
+ className: "number",
+ begin: hljs.NUMBER_RE + "(%)?",
+ relevance: 0
+ },
+ /* Excel formula comments are done by putting the comment in a function call to N() */
+ hljs.COMMENT(
+ /\bN\(/,
+ /\)/,
+ {
+ excludeBegin: true,
+ excludeEnd: true,
+ illegal: /\n/
+ }
+ )
+ ]
+ };
+ }
+ module.exports = excel;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/fix.js
+ var require_fix = __commonJS({
+ "node_modules/highlight.js/lib/languages/fix.js"(exports, module) {
+ function fix(hljs) {
+ return {
+ name: "FIX",
+ contains: [
+ {
+ begin: /[^\u2401\u0001]+/,
+ end: /[\u2401\u0001]/,
+ excludeEnd: true,
+ returnBegin: true,
+ returnEnd: false,
+ contains: [
+ {
+ begin: /([^\u2401\u0001=]+)/,
+ end: /=([^\u2401\u0001=]+)/,
+ returnEnd: true,
+ returnBegin: false,
+ className: "attr"
+ },
+ {
+ begin: /=/,
+ end: /([\u2401\u0001])/,
+ excludeEnd: true,
+ excludeBegin: true,
+ className: "string"
+ }
+ ]
+ }
+ ],
+ case_insensitive: true
+ };
+ }
+ module.exports = fix;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/flix.js
+ var require_flix = __commonJS({
+ "node_modules/highlight.js/lib/languages/flix.js"(exports, module) {
+ function flix(hljs) {
+ const CHAR = {
+ className: "string",
+ begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/
+ };
+ const STRING = {
+ className: "string",
+ variants: [
+ {
+ begin: '"',
+ end: '"'
+ }
+ ]
+ };
+ const NAME2 = {
+ className: "title",
+ relevance: 0,
+ begin: /[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/
+ };
+ const METHOD = {
+ className: "function",
+ beginKeywords: "def",
+ end: /[:={\[(\n;]/,
+ excludeEnd: true,
+ contains: [NAME2]
+ };
+ return {
+ name: "Flix",
+ keywords: {
+ keyword: [
+ "case",
+ "class",
+ "def",
+ "else",
+ "enum",
+ "if",
+ "impl",
+ "import",
+ "in",
+ "lat",
+ "rel",
+ "index",
+ "let",
+ "match",
+ "namespace",
+ "switch",
+ "type",
+ "yield",
+ "with"
+ ],
+ literal: [
+ "true",
+ "false"
+ ]
+ },
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ CHAR,
+ STRING,
+ METHOD,
+ hljs.C_NUMBER_MODE
+ ]
+ };
+ }
+ module.exports = flix;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/fortran.js
+ var require_fortran = __commonJS({
+ "node_modules/highlight.js/lib/languages/fortran.js"(exports, module) {
+ function fortran(hljs) {
+ const regex = hljs.regex;
+ const PARAMS = {
+ className: "params",
+ begin: "\\(",
+ end: "\\)"
+ };
+ const COMMENT = { variants: [
+ hljs.COMMENT("!", "$", { relevance: 0 }),
+ // allow FORTRAN 77 style comments
+ hljs.COMMENT("^C[ ]", "$", { relevance: 0 }),
+ hljs.COMMENT("^C$", "$", { relevance: 0 })
+ ] };
+ const OPTIONAL_NUMBER_SUFFIX = /(_[a-z_\d]+)?/;
+ const OPTIONAL_NUMBER_EXP = /([de][+-]?\d+)?/;
+ const NUMBER = {
+ className: "number",
+ variants: [
+ { begin: regex.concat(/\b\d+/, /\.(\d*)/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) },
+ { begin: regex.concat(/\b\d+/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) },
+ { begin: regex.concat(/\.\d+/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) }
+ ],
+ relevance: 0
+ };
+ const FUNCTION_DEF = {
+ className: "function",
+ beginKeywords: "subroutine function program",
+ illegal: "[${=\\n]",
+ contains: [
+ hljs.UNDERSCORE_TITLE_MODE,
+ PARAMS
+ ]
+ };
+ const STRING = {
+ className: "string",
+ relevance: 0,
+ variants: [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE
+ ]
+ };
+ const KEYWORDS = [
+ "kind",
+ "do",
+ "concurrent",
+ "local",
+ "shared",
+ "while",
+ "private",
+ "call",
+ "intrinsic",
+ "where",
+ "elsewhere",
+ "type",
+ "endtype",
+ "endmodule",
+ "endselect",
+ "endinterface",
+ "end",
+ "enddo",
+ "endif",
+ "if",
+ "forall",
+ "endforall",
+ "only",
+ "contains",
+ "default",
+ "return",
+ "stop",
+ "then",
+ "block",
+ "endblock",
+ "endassociate",
+ "public",
+ "subroutine|10",
+ "function",
+ "program",
+ ".and.",
+ ".or.",
+ ".not.",
+ ".le.",
+ ".eq.",
+ ".ge.",
+ ".gt.",
+ ".lt.",
+ "goto",
+ "save",
+ "else",
+ "use",
+ "module",
+ "select",
+ "case",
+ "access",
+ "blank",
+ "direct",
+ "exist",
+ "file",
+ "fmt",
+ "form",
+ "formatted",
+ "iostat",
+ "name",
+ "named",
+ "nextrec",
+ "number",
+ "opened",
+ "rec",
+ "recl",
+ "sequential",
+ "status",
+ "unformatted",
+ "unit",
+ "continue",
+ "format",
+ "pause",
+ "cycle",
+ "exit",
+ "c_null_char",
+ "c_alert",
+ "c_backspace",
+ "c_form_feed",
+ "flush",
+ "wait",
+ "decimal",
+ "round",
+ "iomsg",
+ "synchronous",
+ "nopass",
+ "non_overridable",
+ "pass",
+ "protected",
+ "volatile",
+ "abstract",
+ "extends",
+ "import",
+ "non_intrinsic",
+ "value",
+ "deferred",
+ "generic",
+ "final",
+ "enumerator",
+ "class",
+ "associate",
+ "bind",
+ "enum",
+ "c_int",
+ "c_short",
+ "c_long",
+ "c_long_long",
+ "c_signed_char",
+ "c_size_t",
+ "c_int8_t",
+ "c_int16_t",
+ "c_int32_t",
+ "c_int64_t",
+ "c_int_least8_t",
+ "c_int_least16_t",
+ "c_int_least32_t",
+ "c_int_least64_t",
+ "c_int_fast8_t",
+ "c_int_fast16_t",
+ "c_int_fast32_t",
+ "c_int_fast64_t",
+ "c_intmax_t",
+ "C_intptr_t",
+ "c_float",
+ "c_double",
+ "c_long_double",
+ "c_float_complex",
+ "c_double_complex",
+ "c_long_double_complex",
+ "c_bool",
+ "c_char",
+ "c_null_ptr",
+ "c_null_funptr",
+ "c_new_line",
+ "c_carriage_return",
+ "c_horizontal_tab",
+ "c_vertical_tab",
+ "iso_c_binding",
+ "c_loc",
+ "c_funloc",
+ "c_associated",
+ "c_f_pointer",
+ "c_ptr",
+ "c_funptr",
+ "iso_fortran_env",
+ "character_storage_size",
+ "error_unit",
+ "file_storage_size",
+ "input_unit",
+ "iostat_end",
+ "iostat_eor",
+ "numeric_storage_size",
+ "output_unit",
+ "c_f_procpointer",
+ "ieee_arithmetic",
+ "ieee_support_underflow_control",
+ "ieee_get_underflow_mode",
+ "ieee_set_underflow_mode",
+ "newunit",
+ "contiguous",
+ "recursive",
+ "pad",
+ "position",
+ "action",
+ "delim",
+ "readwrite",
+ "eor",
+ "advance",
+ "nml",
+ "interface",
+ "procedure",
+ "namelist",
+ "include",
+ "sequence",
+ "elemental",
+ "pure",
+ "impure",
+ "integer",
+ "real",
+ "character",
+ "complex",
+ "logical",
+ "codimension",
+ "dimension",
+ "allocatable|10",
+ "parameter",
+ "external",
+ "implicit|10",
+ "none",
+ "double",
+ "precision",
+ "assign",
+ "intent",
+ "optional",
+ "pointer",
+ "target",
+ "in",
+ "out",
+ "common",
+ "equivalence",
+ "data"
+ ];
+ const LITERALS = [
+ ".False.",
+ ".True."
+ ];
+ const BUILT_INS = [
+ "alog",
+ "alog10",
+ "amax0",
+ "amax1",
+ "amin0",
+ "amin1",
+ "amod",
+ "cabs",
+ "ccos",
+ "cexp",
+ "clog",
+ "csin",
+ "csqrt",
+ "dabs",
+ "dacos",
+ "dasin",
+ "datan",
+ "datan2",
+ "dcos",
+ "dcosh",
+ "ddim",
+ "dexp",
+ "dint",
+ "dlog",
+ "dlog10",
+ "dmax1",
+ "dmin1",
+ "dmod",
+ "dnint",
+ "dsign",
+ "dsin",
+ "dsinh",
+ "dsqrt",
+ "dtan",
+ "dtanh",
+ "float",
+ "iabs",
+ "idim",
+ "idint",
+ "idnint",
+ "ifix",
+ "isign",
+ "max0",
+ "max1",
+ "min0",
+ "min1",
+ "sngl",
+ "algama",
+ "cdabs",
+ "cdcos",
+ "cdexp",
+ "cdlog",
+ "cdsin",
+ "cdsqrt",
+ "cqabs",
+ "cqcos",
+ "cqexp",
+ "cqlog",
+ "cqsin",
+ "cqsqrt",
+ "dcmplx",
+ "dconjg",
+ "derf",
+ "derfc",
+ "dfloat",
+ "dgamma",
+ "dimag",
+ "dlgama",
+ "iqint",
+ "qabs",
+ "qacos",
+ "qasin",
+ "qatan",
+ "qatan2",
+ "qcmplx",
+ "qconjg",
+ "qcos",
+ "qcosh",
+ "qdim",
+ "qerf",
+ "qerfc",
+ "qexp",
+ "qgamma",
+ "qimag",
+ "qlgama",
+ "qlog",
+ "qlog10",
+ "qmax1",
+ "qmin1",
+ "qmod",
+ "qnint",
+ "qsign",
+ "qsin",
+ "qsinh",
+ "qsqrt",
+ "qtan",
+ "qtanh",
+ "abs",
+ "acos",
+ "aimag",
+ "aint",
+ "anint",
+ "asin",
+ "atan",
+ "atan2",
+ "char",
+ "cmplx",
+ "conjg",
+ "cos",
+ "cosh",
+ "exp",
+ "ichar",
+ "index",
+ "int",
+ "log",
+ "log10",
+ "max",
+ "min",
+ "nint",
+ "sign",
+ "sin",
+ "sinh",
+ "sqrt",
+ "tan",
+ "tanh",
+ "print",
+ "write",
+ "dim",
+ "lge",
+ "lgt",
+ "lle",
+ "llt",
+ "mod",
+ "nullify",
+ "allocate",
+ "deallocate",
+ "adjustl",
+ "adjustr",
+ "all",
+ "allocated",
+ "any",
+ "associated",
+ "bit_size",
+ "btest",
+ "ceiling",
+ "count",
+ "cshift",
+ "date_and_time",
+ "digits",
+ "dot_product",
+ "eoshift",
+ "epsilon",
+ "exponent",
+ "floor",
+ "fraction",
+ "huge",
+ "iand",
+ "ibclr",
+ "ibits",
+ "ibset",
+ "ieor",
+ "ior",
+ "ishft",
+ "ishftc",
+ "lbound",
+ "len_trim",
+ "matmul",
+ "maxexponent",
+ "maxloc",
+ "maxval",
+ "merge",
+ "minexponent",
+ "minloc",
+ "minval",
+ "modulo",
+ "mvbits",
+ "nearest",
+ "pack",
+ "present",
+ "product",
+ "radix",
+ "random_number",
+ "random_seed",
+ "range",
+ "repeat",
+ "reshape",
+ "rrspacing",
+ "scale",
+ "scan",
+ "selected_int_kind",
+ "selected_real_kind",
+ "set_exponent",
+ "shape",
+ "size",
+ "spacing",
+ "spread",
+ "sum",
+ "system_clock",
+ "tiny",
+ "transpose",
+ "trim",
+ "ubound",
+ "unpack",
+ "verify",
+ "achar",
+ "iachar",
+ "transfer",
+ "dble",
+ "entry",
+ "dprod",
+ "cpu_time",
+ "command_argument_count",
+ "get_command",
+ "get_command_argument",
+ "get_environment_variable",
+ "is_iostat_end",
+ "ieee_arithmetic",
+ "ieee_support_underflow_control",
+ "ieee_get_underflow_mode",
+ "ieee_set_underflow_mode",
+ "is_iostat_eor",
+ "move_alloc",
+ "new_line",
+ "selected_char_kind",
+ "same_type_as",
+ "extends_type_of",
+ "acosh",
+ "asinh",
+ "atanh",
+ "bessel_j0",
+ "bessel_j1",
+ "bessel_jn",
+ "bessel_y0",
+ "bessel_y1",
+ "bessel_yn",
+ "erf",
+ "erfc",
+ "erfc_scaled",
+ "gamma",
+ "log_gamma",
+ "hypot",
+ "norm2",
+ "atomic_define",
+ "atomic_ref",
+ "execute_command_line",
+ "leadz",
+ "trailz",
+ "storage_size",
+ "merge_bits",
+ "bge",
+ "bgt",
+ "ble",
+ "blt",
+ "dshiftl",
+ "dshiftr",
+ "findloc",
+ "iall",
+ "iany",
+ "iparity",
+ "image_index",
+ "lcobound",
+ "ucobound",
+ "maskl",
+ "maskr",
+ "num_images",
+ "parity",
+ "popcnt",
+ "poppar",
+ "shifta",
+ "shiftl",
+ "shiftr",
+ "this_image",
+ "sync",
+ "change",
+ "team",
+ "co_broadcast",
+ "co_max",
+ "co_min",
+ "co_sum",
+ "co_reduce"
+ ];
+ return {
+ name: "Fortran",
+ case_insensitive: true,
+ aliases: [
+ "f90",
+ "f95"
+ ],
+ keywords: {
+ $pattern: /\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,
+ keyword: KEYWORDS,
+ literal: LITERALS,
+ built_in: BUILT_INS
+ },
+ illegal: /\/\*/,
+ contains: [
+ STRING,
+ FUNCTION_DEF,
+ // allow `C = value` for assignments so they aren't misdetected
+ // as Fortran 77 style comments
+ {
+ begin: /^C\s*=(?!=)/,
+ relevance: 0
+ },
+ COMMENT,
+ NUMBER
+ ]
+ };
+ }
+ module.exports = fortran;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/fsharp.js
+ var require_fsharp = __commonJS({
+ "node_modules/highlight.js/lib/languages/fsharp.js"(exports, module) {
+ function escape(value) {
+ return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), "m");
+ }
+ function source(re) {
+ if (!re) return null;
+ if (typeof re === "string") return re;
+ return re.source;
+ }
+ function lookahead(re) {
+ return concat("(?=", re, ")");
+ }
+ function concat(...args) {
+ const joined = args.map((x) => source(x)).join("");
+ return joined;
+ }
+ function stripOptionsFromArgs(args) {
+ const opts = args[args.length - 1];
+ if (typeof opts === "object" && opts.constructor === Object) {
+ args.splice(args.length - 1, 1);
+ return opts;
+ } else {
+ return {};
+ }
+ }
+ function either(...args) {
+ const opts = stripOptionsFromArgs(args);
+ const joined = "(" + (opts.capture ? "" : "?:") + args.map((x) => source(x)).join("|") + ")";
+ return joined;
+ }
+ function fsharp(hljs) {
+ const KEYWORDS = [
+ "abstract",
+ "and",
+ "as",
+ "assert",
+ "base",
+ "begin",
+ "class",
+ "default",
+ "delegate",
+ "do",
+ "done",
+ "downcast",
+ "downto",
+ "elif",
+ "else",
+ "end",
+ "exception",
+ "extern",
+ // "false", // literal
+ "finally",
+ "fixed",
+ "for",
+ "fun",
+ "function",
+ "global",
+ "if",
+ "in",
+ "inherit",
+ "inline",
+ "interface",
+ "internal",
+ "lazy",
+ "let",
+ "match",
+ "member",
+ "module",
+ "mutable",
+ "namespace",
+ "new",
+ // "not", // built_in
+ // "null", // literal
+ "of",
+ "open",
+ "or",
+ "override",
+ "private",
+ "public",
+ "rec",
+ "return",
+ "static",
+ "struct",
+ "then",
+ "to",
+ // "true", // literal
+ "try",
+ "type",
+ "upcast",
+ "use",
+ "val",
+ "void",
+ "when",
+ "while",
+ "with",
+ "yield"
+ ];
+ const BANG_KEYWORD_MODE = {
+ // monad builder keywords (matches before non-bang keywords)
+ scope: "keyword",
+ match: /\b(yield|return|let|do|match|use)!/
+ };
+ const PREPROCESSOR_KEYWORDS = [
+ "if",
+ "else",
+ "endif",
+ "line",
+ "nowarn",
+ "light",
+ "r",
+ "i",
+ "I",
+ "load",
+ "time",
+ "help",
+ "quit"
+ ];
+ const LITERALS = [
+ "true",
+ "false",
+ "null",
+ "Some",
+ "None",
+ "Ok",
+ "Error",
+ "infinity",
+ "infinityf",
+ "nan",
+ "nanf"
+ ];
+ const SPECIAL_IDENTIFIERS = [
+ "__LINE__",
+ "__SOURCE_DIRECTORY__",
+ "__SOURCE_FILE__"
+ ];
+ const KNOWN_TYPES = [
+ // basic types
+ "bool",
+ "byte",
+ "sbyte",
+ "int8",
+ "int16",
+ "int32",
+ "uint8",
+ "uint16",
+ "uint32",
+ "int",
+ "uint",
+ "int64",
+ "uint64",
+ "nativeint",
+ "unativeint",
+ "decimal",
+ "float",
+ "double",
+ "float32",
+ "single",
+ "char",
+ "string",
+ "unit",
+ "bigint",
+ // other native types or lowercase aliases
+ "option",
+ "voption",
+ "list",
+ "array",
+ "seq",
+ "byref",
+ "exn",
+ "inref",
+ "nativeptr",
+ "obj",
+ "outref",
+ "voidptr",
+ // other important FSharp types
+ "Result"
+ ];
+ const BUILTINS = [
+ // Somewhat arbitrary list of builtin functions and values.
+ // Most of them are declared in Microsoft.FSharp.Core
+ // I tried to stay relevant by adding only the most idiomatic
+ // and most used symbols that are not already declared as types.
+ "not",
+ "ref",
+ "raise",
+ "reraise",
+ "dict",
+ "readOnlyDict",
+ "set",
+ "get",
+ "enum",
+ "sizeof",
+ "typeof",
+ "typedefof",
+ "nameof",
+ "nullArg",
+ "invalidArg",
+ "invalidOp",
+ "id",
+ "fst",
+ "snd",
+ "ignore",
+ "lock",
+ "using",
+ "box",
+ "unbox",
+ "tryUnbox",
+ "printf",
+ "printfn",
+ "sprintf",
+ "eprintf",
+ "eprintfn",
+ "fprintf",
+ "fprintfn",
+ "failwith",
+ "failwithf"
+ ];
+ const ALL_KEYWORDS = {
+ keyword: KEYWORDS,
+ literal: LITERALS,
+ built_in: BUILTINS,
+ "variable.constant": SPECIAL_IDENTIFIERS
+ };
+ const ML_COMMENT = hljs.COMMENT(/\(\*(?!\))/, /\*\)/, {
+ contains: ["self"]
+ });
+ const COMMENT = {
+ variants: [
+ ML_COMMENT,
+ hljs.C_LINE_COMMENT_MODE
+ ]
+ };
+ const IDENTIFIER_RE = /[a-zA-Z_](\w|')*/;
+ const QUOTED_IDENTIFIER = {
+ scope: "variable",
+ begin: /``/,
+ end: /``/
+ };
+ const BEGIN_GENERIC_TYPE_SYMBOL_RE = /\B('|\^)/;
+ const GENERIC_TYPE_SYMBOL = {
+ scope: "symbol",
+ variants: [
+ // the type name is a quoted identifier:
+ { match: concat(BEGIN_GENERIC_TYPE_SYMBOL_RE, /``.*?``/) },
+ // the type name is a normal identifier (we don't use IDENTIFIER_RE because there cannot be another apostrophe here):
+ { match: concat(BEGIN_GENERIC_TYPE_SYMBOL_RE, hljs.UNDERSCORE_IDENT_RE) }
+ ],
+ relevance: 0
+ };
+ const makeOperatorMode = function({ includeEqual }) {
+ let allOperatorChars;
+ if (includeEqual)
+ allOperatorChars = "!%&*+-/<=>@^|~?";
+ else
+ allOperatorChars = "!%&*+-/<>@^|~?";
+ const OPERATOR_CHARS = Array.from(allOperatorChars);
+ const OPERATOR_CHAR_RE = concat("[", ...OPERATOR_CHARS.map(escape), "]");
+ const OPERATOR_CHAR_OR_DOT_RE = either(OPERATOR_CHAR_RE, /\./);
+ const OPERATOR_FIRST_CHAR_OF_MULTIPLE_RE = concat(OPERATOR_CHAR_OR_DOT_RE, lookahead(OPERATOR_CHAR_OR_DOT_RE));
+ const SYMBOLIC_OPERATOR_RE = either(
+ concat(OPERATOR_FIRST_CHAR_OF_MULTIPLE_RE, OPERATOR_CHAR_OR_DOT_RE, "*"),
+ // Matches at least 2 chars operators
+ concat(OPERATOR_CHAR_RE, "+")
+ // Matches at least one char operators
+ );
+ return {
+ scope: "operator",
+ match: either(
+ // symbolic operators:
+ SYMBOLIC_OPERATOR_RE,
+ // other symbolic keywords:
+ // Type casting and conversion operators:
+ /:\?>/,
+ /:\?/,
+ /:>/,
+ /:=/,
+ // Reference cell assignment
+ /::?/,
+ // : or ::
+ /\$/
+ ),
+ // A single $ can be used as an operator
+ relevance: 0
+ };
+ };
+ const OPERATOR = makeOperatorMode({ includeEqual: true });
+ const OPERATOR_WITHOUT_EQUAL = makeOperatorMode({ includeEqual: false });
+ const makeTypeAnnotationMode = function(prefix, prefixScope) {
+ return {
+ begin: concat(
+ // a type annotation is a
+ prefix,
+ // should be a colon or the 'of' keyword
+ lookahead(
+ // that has to be followed by
+ concat(
+ /\s*/,
+ // optional space
+ either(
+ // then either of:
+ /\w/,
+ // word
+ /'/,
+ // generic type name
+ /\^/,
+ // generic type name
+ /#/,
+ // flexible type name
+ /``/,
+ // quoted type name
+ /\(/,
+ // parens type expression
+ /{\|/
+ // anonymous type annotation
+ )
+ )
+ )
+ ),
+ beginScope: prefixScope,
+ // BUG: because ending with \n is necessary for some cases, multi-line type annotations are not properly supported.
+ // Examples where \n is required at the end:
+ // - abstract member definitions in classes: abstract Property : int * string
+ // - return type annotations: let f f' = f' () : returnTypeAnnotation
+ // - record fields definitions: { A : int \n B : string }
+ end: lookahead(
+ either(
+ /\n/,
+ /=/
+ )
+ ),
+ relevance: 0,
+ // we need the known types, and we need the type constraint keywords and literals. e.g.: when 'a : null
+ keywords: hljs.inherit(ALL_KEYWORDS, { type: KNOWN_TYPES }),
+ contains: [
+ COMMENT,
+ GENERIC_TYPE_SYMBOL,
+ hljs.inherit(QUOTED_IDENTIFIER, { scope: null }),
+ // match to avoid strange patterns inside that may break the parsing
+ OPERATOR_WITHOUT_EQUAL
+ ]
+ };
+ };
+ const TYPE_ANNOTATION = makeTypeAnnotationMode(/:/, "operator");
+ const DISCRIMINATED_UNION_TYPE_ANNOTATION = makeTypeAnnotationMode(/\bof\b/, "keyword");
+ const TYPE_DECLARATION = {
+ begin: [
+ /(^|\s+)/,
+ // prevents matching the following: `match s.stype with`
+ /type/,
+ /\s+/,
+ IDENTIFIER_RE
+ ],
+ beginScope: {
+ 2: "keyword",
+ 4: "title.class"
+ },
+ end: lookahead(/\(|=|$/),
+ keywords: ALL_KEYWORDS,
+ // match keywords in type constraints. e.g.: when 'a : null
+ contains: [
+ COMMENT,
+ hljs.inherit(QUOTED_IDENTIFIER, { scope: null }),
+ // match to avoid strange patterns inside that may break the parsing
+ GENERIC_TYPE_SYMBOL,
+ {
+ // For visual consistency, highlight type brackets as operators.
+ scope: "operator",
+ match: /<|>/
+ },
+ TYPE_ANNOTATION
+ // generic types can have constraints, which are type annotations. e.g. type MyType<'T when 'T : delegate<obj * string>> =
+ ]
+ };
+ const COMPUTATION_EXPRESSION = {
+ // computation expressions:
+ scope: "computation-expression",
+ // BUG: might conflict with record deconstruction. e.g. let f { Name = name } = name // will highlight f
+ match: /\b[_a-z]\w*(?=\s*\{)/
+ };
+ const PREPROCESSOR = {
+ // preprocessor directives and fsi commands:
+ begin: [
+ /^\s*/,
+ concat(/#/, either(...PREPROCESSOR_KEYWORDS)),
+ /\b/
+ ],
+ beginScope: { 2: "meta" },
+ end: lookahead(/\s|$/)
+ };
+ const NUMBER = {
+ variants: [
+ hljs.BINARY_NUMBER_MODE,
+ hljs.C_NUMBER_MODE
+ ]
+ };
+ const QUOTED_STRING = {
+ scope: "string",
+ begin: /"/,
+ end: /"/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE
+ ]
+ };
+ const VERBATIM_STRING = {
+ scope: "string",
+ begin: /@"/,
+ end: /"/,
+ contains: [
+ {
+ match: /""/
+ // escaped "
+ },
+ hljs.BACKSLASH_ESCAPE
+ ]
+ };
+ const TRIPLE_QUOTED_STRING = {
+ scope: "string",
+ begin: /"""/,
+ end: /"""/,
+ relevance: 2
+ };
+ const SUBST = {
+ scope: "subst",
+ begin: /\{/,
+ end: /\}/,
+ keywords: ALL_KEYWORDS
+ };
+ const INTERPOLATED_STRING = {
+ scope: "string",
+ begin: /\$"/,
+ end: /"/,
+ contains: [
+ {
+ match: /\{\{/
+ // escaped {
+ },
+ {
+ match: /\}\}/
+ // escaped }
+ },
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ]
+ };
+ const INTERPOLATED_VERBATIM_STRING = {
+ scope: "string",
+ begin: /(\$@|@\$)"/,
+ end: /"/,
+ contains: [
+ {
+ match: /\{\{/
+ // escaped {
+ },
+ {
+ match: /\}\}/
+ // escaped }
+ },
+ {
+ match: /""/
+ },
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ]
+ };
+ const INTERPOLATED_TRIPLE_QUOTED_STRING = {
+ scope: "string",
+ begin: /\$"""/,
+ end: /"""/,
+ contains: [
+ {
+ match: /\{\{/
+ // escaped {
+ },
+ {
+ match: /\}\}/
+ // escaped }
+ },
+ SUBST
+ ],
+ relevance: 2
+ };
+ const CHAR_LITERAL = {
+ scope: "string",
+ match: concat(
+ /'/,
+ either(
+ /[^\\']/,
+ // either a single non escaped char...
+ /\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/
+ // ...or an escape sequence
+ ),
+ /'/
+ )
+ };
+ SUBST.contains = [
+ INTERPOLATED_VERBATIM_STRING,
+ INTERPOLATED_STRING,
+ VERBATIM_STRING,
+ QUOTED_STRING,
+ CHAR_LITERAL,
+ BANG_KEYWORD_MODE,
+ COMMENT,
+ QUOTED_IDENTIFIER,
+ TYPE_ANNOTATION,
+ COMPUTATION_EXPRESSION,
+ PREPROCESSOR,
+ NUMBER,
+ GENERIC_TYPE_SYMBOL,
+ OPERATOR
+ ];
+ const STRING = {
+ variants: [
+ INTERPOLATED_TRIPLE_QUOTED_STRING,
+ INTERPOLATED_VERBATIM_STRING,
+ INTERPOLATED_STRING,
+ TRIPLE_QUOTED_STRING,
+ VERBATIM_STRING,
+ QUOTED_STRING,
+ CHAR_LITERAL
+ ]
+ };
+ return {
+ name: "F#",
+ aliases: [
+ "fs",
+ "f#"
+ ],
+ keywords: ALL_KEYWORDS,
+ illegal: /\/\*/,
+ classNameAliases: {
+ "computation-expression": "keyword"
+ },
+ contains: [
+ BANG_KEYWORD_MODE,
+ STRING,
+ COMMENT,
+ QUOTED_IDENTIFIER,
+ TYPE_DECLARATION,
+ {
+ // e.g. [<Attributes("")>] or [<``module``: MyCustomAttributeThatWorksOnModules>]
+ // or [<Sealed; NoEquality; NoComparison; CompiledName("FSharpAsync`1")>]
+ scope: "meta",
+ begin: /\[</,
+ end: />\]/,
+ relevance: 2,
+ contains: [
+ QUOTED_IDENTIFIER,
+ // can contain any constant value
+ TRIPLE_QUOTED_STRING,
+ VERBATIM_STRING,
+ QUOTED_STRING,
+ CHAR_LITERAL,
+ NUMBER
+ ]
+ },
+ DISCRIMINATED_UNION_TYPE_ANNOTATION,
+ TYPE_ANNOTATION,
+ COMPUTATION_EXPRESSION,
+ PREPROCESSOR,
+ NUMBER,
+ GENERIC_TYPE_SYMBOL,
+ OPERATOR
+ ]
+ };
+ }
+ module.exports = fsharp;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/gams.js
+ var require_gams = __commonJS({
+ "node_modules/highlight.js/lib/languages/gams.js"(exports, module) {
+ function gams(hljs) {
+ const regex = hljs.regex;
+ const KEYWORDS = {
+ keyword: "abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",
+ literal: "eps inf na",
+ built_in: "abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"
+ };
+ const PARAMS = {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true
+ };
+ const SYMBOLS = {
+ className: "symbol",
+ variants: [
+ { begin: /=[lgenxc]=/ },
+ { begin: /\$/ }
+ ]
+ };
+ const QSTR = {
+ // One-line quoted comment string
+ className: "comment",
+ variants: [
+ {
+ begin: "'",
+ end: "'"
+ },
+ {
+ begin: '"',
+ end: '"'
+ }
+ ],
+ illegal: "\\n",
+ contains: [hljs.BACKSLASH_ESCAPE]
+ };
+ const ASSIGNMENT = {
+ begin: "/",
+ end: "/",
+ keywords: KEYWORDS,
+ contains: [
+ QSTR,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.C_NUMBER_MODE
+ ]
+ };
+ const COMMENT_WORD = /[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/;
+ const DESCTEXT = {
+ // Parameter/set/variable description text
+ begin: /[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,
+ excludeBegin: true,
+ end: "$",
+ endsWithParent: true,
+ contains: [
+ QSTR,
+ ASSIGNMENT,
+ {
+ className: "comment",
+ // one comment word, then possibly more
+ begin: regex.concat(
+ COMMENT_WORD,
+ // [ ] because \s would be too broad (matching newlines)
+ regex.anyNumberOfTimes(regex.concat(/[ ]+/, COMMENT_WORD))
+ ),
+ relevance: 0
+ }
+ ]
+ };
+ return {
+ name: "GAMS",
+ aliases: ["gms"],
+ case_insensitive: true,
+ keywords: KEYWORDS,
+ contains: [
+ hljs.COMMENT(/^\$ontext/, /^\$offtext/),
+ {
+ className: "meta",
+ begin: "^\\$[a-z0-9]+",
+ end: "$",
+ returnBegin: true,
+ contains: [
+ {
+ className: "keyword",
+ begin: "^\\$[a-z0-9]+"
+ }
+ ]
+ },
+ hljs.COMMENT("^\\*", "$"),
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ // Declarations
+ {
+ beginKeywords: "set sets parameter parameters variable variables scalar scalars equation equations",
+ end: ";",
+ contains: [
+ hljs.COMMENT("^\\*", "$"),
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ ASSIGNMENT,
+ DESCTEXT
+ ]
+ },
+ {
+ // table environment
+ beginKeywords: "table",
+ end: ";",
+ returnBegin: true,
+ contains: [
+ {
+ // table header row
+ beginKeywords: "table",
+ end: "$",
+ contains: [DESCTEXT]
+ },
+ hljs.COMMENT("^\\*", "$"),
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.C_NUMBER_MODE
+ // Table does not contain DESCTEXT or ASSIGNMENT
+ ]
+ },
+ // Function definitions
+ {
+ className: "function",
+ begin: /^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,
+ returnBegin: true,
+ contains: [
+ {
+ // Function title
+ className: "title",
+ begin: /^[a-z0-9_]+/
+ },
+ PARAMS,
+ SYMBOLS
+ ]
+ },
+ hljs.C_NUMBER_MODE,
+ SYMBOLS
+ ]
+ };
+ }
+ module.exports = gams;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/gauss.js
+ var require_gauss = __commonJS({
+ "node_modules/highlight.js/lib/languages/gauss.js"(exports, module) {
+ function gauss(hljs) {
+ const KEYWORDS = {
+ keyword: "bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",
+ built_in: "abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",
+ literal: "DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"
+ };
+ const AT_COMMENT_MODE = hljs.COMMENT("@", "@");
+ const PREPROCESSOR = {
+ className: "meta",
+ begin: "#",
+ end: "$",
+ keywords: { keyword: "define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline" },
+ contains: [
+ {
+ begin: /\\\n/,
+ relevance: 0
+ },
+ {
+ beginKeywords: "include",
+ end: "$",
+ keywords: { keyword: "include" },
+ contains: [
+ {
+ className: "string",
+ begin: '"',
+ end: '"',
+ illegal: "\\n"
+ }
+ ]
+ },
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ AT_COMMENT_MODE
+ ]
+ };
+ const STRUCT_TYPE = {
+ begin: /\bstruct\s+/,
+ end: /\s/,
+ keywords: "struct",
+ contains: [
+ {
+ className: "type",
+ begin: hljs.UNDERSCORE_IDENT_RE,
+ relevance: 0
+ }
+ ]
+ };
+ const PARSE_PARAMS = [
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true,
+ endsWithParent: true,
+ relevance: 0,
+ contains: [
+ {
+ // dots
+ className: "literal",
+ begin: /\.\.\./
+ },
+ hljs.C_NUMBER_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ AT_COMMENT_MODE,
+ STRUCT_TYPE
+ ]
+ }
+ ];
+ const FUNCTION_DEF = {
+ className: "title",
+ begin: hljs.UNDERSCORE_IDENT_RE,
+ relevance: 0
+ };
+ const DEFINITION = function(beginKeywords, end2, inherits) {
+ const mode = hljs.inherit(
+ {
+ className: "function",
+ beginKeywords,
+ end: end2,
+ excludeEnd: true,
+ contains: [].concat(PARSE_PARAMS)
+ },
+ {}
+ );
+ mode.contains.push(FUNCTION_DEF);
+ mode.contains.push(hljs.C_NUMBER_MODE);
+ mode.contains.push(hljs.C_BLOCK_COMMENT_MODE);
+ mode.contains.push(AT_COMMENT_MODE);
+ return mode;
+ };
+ const BUILT_IN_REF = {
+ // these are explicitly named internal function calls
+ className: "built_in",
+ begin: "\\b(" + KEYWORDS.built_in.split(" ").join("|") + ")\\b"
+ };
+ const STRING_REF = {
+ className: "string",
+ begin: '"',
+ end: '"',
+ contains: [hljs.BACKSLASH_ESCAPE],
+ relevance: 0
+ };
+ const FUNCTION_REF = {
+ // className: "fn_ref",
+ begin: hljs.UNDERSCORE_IDENT_RE + "\\s*\\(",
+ returnBegin: true,
+ keywords: KEYWORDS,
+ relevance: 0,
+ contains: [
+ { beginKeywords: KEYWORDS.keyword },
+ BUILT_IN_REF,
+ {
+ // ambiguously named function calls get a relevance of 0
+ className: "built_in",
+ begin: hljs.UNDERSCORE_IDENT_RE,
+ relevance: 0
+ }
+ ]
+ };
+ const FUNCTION_REF_PARAMS = {
+ // className: "fn_ref_params",
+ begin: /\(/,
+ end: /\)/,
+ relevance: 0,
+ keywords: {
+ built_in: KEYWORDS.built_in,
+ literal: KEYWORDS.literal
+ },
+ contains: [
+ hljs.C_NUMBER_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ AT_COMMENT_MODE,
+ BUILT_IN_REF,
+ FUNCTION_REF,
+ STRING_REF,
+ "self"
+ ]
+ };
+ FUNCTION_REF.contains.push(FUNCTION_REF_PARAMS);
+ return {
+ name: "GAUSS",
+ aliases: ["gss"],
+ case_insensitive: true,
+ // language is case-insensitive
+ keywords: KEYWORDS,
+ illegal: /(\{[%#]|[%#]\}| <- )/,
+ contains: [
+ hljs.C_NUMBER_MODE,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ AT_COMMENT_MODE,
+ STRING_REF,
+ PREPROCESSOR,
+ {
+ className: "keyword",
+ begin: /\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/
+ },
+ DEFINITION("proc keyword", ";"),
+ DEFINITION("fn", "="),
+ {
+ beginKeywords: "for threadfor",
+ end: /;/,
+ // end: /\(/,
+ relevance: 0,
+ contains: [
+ hljs.C_BLOCK_COMMENT_MODE,
+ AT_COMMENT_MODE,
+ FUNCTION_REF_PARAMS
+ ]
+ },
+ {
+ // custom method guard
+ // excludes method names from keyword processing
+ variants: [
+ { begin: hljs.UNDERSCORE_IDENT_RE + "\\." + hljs.UNDERSCORE_IDENT_RE },
+ { begin: hljs.UNDERSCORE_IDENT_RE + "\\s*=" }
+ ],
+ relevance: 0
+ },
+ FUNCTION_REF,
+ STRUCT_TYPE
+ ]
+ };
+ }
+ module.exports = gauss;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/gcode.js
+ var require_gcode = __commonJS({
+ "node_modules/highlight.js/lib/languages/gcode.js"(exports, module) {
+ function gcode(hljs) {
+ const GCODE_IDENT_RE = "[A-Z_][A-Z0-9_.]*";
+ const GCODE_CLOSE_RE = "%";
+ const GCODE_KEYWORDS = {
+ $pattern: GCODE_IDENT_RE,
+ keyword: "IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"
+ };
+ const GCODE_START = {
+ className: "meta",
+ begin: "([O])([0-9]+)"
+ };
+ const NUMBER = hljs.inherit(hljs.C_NUMBER_MODE, { begin: "([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|" + hljs.C_NUMBER_RE });
+ const GCODE_CODE = [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.COMMENT(/\(/, /\)/),
+ NUMBER,
+ hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null }),
+ hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }),
+ {
+ className: "name",
+ begin: "([G])([0-9]+\\.?[0-9]?)"
+ },
+ {
+ className: "name",
+ begin: "([M])([0-9]+\\.?[0-9]?)"
+ },
+ {
+ className: "attr",
+ begin: "(VC|VS|#)",
+ end: "(\\d+)"
+ },
+ {
+ className: "attr",
+ begin: "(VZOFX|VZOFY|VZOFZ)"
+ },
+ {
+ className: "built_in",
+ begin: "(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",
+ contains: [NUMBER],
+ end: "\\]"
+ },
+ {
+ className: "symbol",
+ variants: [
+ {
+ begin: "N",
+ end: "\\d+",
+ illegal: "\\W"
+ }
+ ]
+ }
+ ];
+ return {
+ name: "G-code (ISO 6983)",
+ aliases: ["nc"],
+ // Some implementations (CNC controls) of G-code are interoperable with uppercase and lowercase letters seamlessly.
+ // However, most prefer all uppercase and uppercase is customary.
+ case_insensitive: true,
+ keywords: GCODE_KEYWORDS,
+ contains: [
+ {
+ className: "meta",
+ begin: GCODE_CLOSE_RE
+ },
+ GCODE_START
+ ].concat(GCODE_CODE)
+ };
+ }
+ module.exports = gcode;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/gherkin.js
+ var require_gherkin = __commonJS({
+ "node_modules/highlight.js/lib/languages/gherkin.js"(exports, module) {
+ function gherkin(hljs) {
+ return {
+ name: "Gherkin",
+ aliases: ["feature"],
+ keywords: "Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",
+ contains: [
+ {
+ className: "symbol",
+ begin: "\\*",
+ relevance: 0
+ },
+ {
+ className: "meta",
+ begin: "@[^@\\s]+"
+ },
+ {
+ begin: "\\|",
+ end: "\\|\\w*$",
+ contains: [
+ {
+ className: "string",
+ begin: "[^|]+"
+ }
+ ]
+ },
+ {
+ className: "variable",
+ begin: "<",
+ end: ">"
+ },
+ hljs.HASH_COMMENT_MODE,
+ {
+ className: "string",
+ begin: '"""',
+ end: '"""'
+ },
+ hljs.QUOTE_STRING_MODE
+ ]
+ };
+ }
+ module.exports = gherkin;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/glsl.js
+ var require_glsl = __commonJS({
+ "node_modules/highlight.js/lib/languages/glsl.js"(exports, module) {
+ function glsl(hljs) {
+ return {
+ name: "GLSL",
+ keywords: {
+ keyword: (
+ // Statements
+ "break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly"
+ ),
+ type: "atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",
+ built_in: (
+ // Constants
+ "gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow"
+ ),
+ literal: "true false"
+ },
+ illegal: '"',
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.C_NUMBER_MODE,
+ {
+ className: "meta",
+ begin: "#",
+ end: "$"
+ }
+ ]
+ };
+ }
+ module.exports = glsl;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/gml.js
+ var require_gml = __commonJS({
+ "node_modules/highlight.js/lib/languages/gml.js"(exports, module) {
+ function gml(hljs) {
+ const KEYWORDS = [
+ "#endregion",
+ "#macro",
+ "#region",
+ "and",
+ "begin",
+ "break",
+ "case",
+ "constructor",
+ "continue",
+ "default",
+ "delete",
+ "div",
+ "do",
+ "else",
+ "end",
+ "enum",
+ "exit",
+ "for",
+ "function",
+ "globalvar",
+ "if",
+ "mod",
+ "new",
+ "not",
+ "or",
+ "repeat",
+ "return",
+ "static",
+ "switch",
+ "then",
+ "until",
+ "var",
+ "while",
+ "with",
+ "xor"
+ ];
+ const BUILT_INS = [
+ "abs",
+ "alarm_get",
+ "alarm_set",
+ "angle_difference",
+ "animcurve_channel_evaluate",
+ "animcurve_channel_new",
+ "animcurve_create",
+ "animcurve_destroy",
+ "animcurve_exists",
+ "animcurve_get",
+ "animcurve_get_channel",
+ "animcurve_get_channel_index",
+ "animcurve_point_new",
+ "ansi_char",
+ "application_get_position",
+ "application_surface_draw_enable",
+ "application_surface_enable",
+ "application_surface_is_enabled",
+ "arccos",
+ "arcsin",
+ "arctan",
+ "arctan2",
+ "array_all",
+ "array_any",
+ "array_concat",
+ "array_contains",
+ "array_contains_ext",
+ "array_copy",
+ "array_copy_while",
+ "array_create",
+ "array_create_ext",
+ "array_delete",
+ "array_equals",
+ "array_filter",
+ "array_filter_ext",
+ "array_find_index",
+ "array_first",
+ "array_foreach",
+ "array_get",
+ "array_get_index",
+ "array_insert",
+ "array_intersection",
+ "array_last",
+ "array_length",
+ "array_map",
+ "array_map_ext",
+ "array_pop",
+ "array_push",
+ "array_reduce",
+ "array_resize",
+ "array_reverse",
+ "array_reverse_ext",
+ "array_set",
+ "array_shuffle",
+ "array_shuffle_ext",
+ "array_sort",
+ "array_union",
+ "array_unique",
+ "array_unique_ext",
+ "asset_add_tags",
+ "asset_clear_tags",
+ "asset_get_ids",
+ "asset_get_index",
+ "asset_get_tags",
+ "asset_get_type",
+ "asset_has_any_tag",
+ "asset_has_tags",
+ "asset_remove_tags",
+ "audio_bus_clear_emitters",
+ "audio_bus_create",
+ "audio_bus_get_emitters",
+ "audio_channel_num",
+ "audio_create_buffer_sound",
+ "audio_create_play_queue",
+ "audio_create_stream",
+ "audio_create_sync_group",
+ "audio_debug",
+ "audio_destroy_stream",
+ "audio_destroy_sync_group",
+ "audio_effect_create",
+ "audio_emitter_bus",
+ "audio_emitter_create",
+ "audio_emitter_exists",
+ "audio_emitter_falloff",
+ "audio_emitter_free",
+ "audio_emitter_gain",
+ "audio_emitter_get_bus",
+ "audio_emitter_get_gain",
+ "audio_emitter_get_listener_mask",
+ "audio_emitter_get_pitch",
+ "audio_emitter_get_vx",
+ "audio_emitter_get_vy",
+ "audio_emitter_get_vz",
+ "audio_emitter_get_x",
+ "audio_emitter_get_y",
+ "audio_emitter_get_z",
+ "audio_emitter_pitch",
+ "audio_emitter_position",
+ "audio_emitter_set_listener_mask",
+ "audio_emitter_velocity",
+ "audio_exists",
+ "audio_falloff_set_model",
+ "audio_free_buffer_sound",
+ "audio_free_play_queue",
+ "audio_get_listener_count",
+ "audio_get_listener_info",
+ "audio_get_listener_mask",
+ "audio_get_master_gain",
+ "audio_get_name",
+ "audio_get_recorder_count",
+ "audio_get_recorder_info",
+ "audio_get_type",
+ "audio_group_get_assets",
+ "audio_group_get_gain",
+ "audio_group_is_loaded",
+ "audio_group_load",
+ "audio_group_load_progress",
+ "audio_group_name",
+ "audio_group_set_gain",
+ "audio_group_stop_all",
+ "audio_group_unload",
+ "audio_is_paused",
+ "audio_is_playing",
+ "audio_listener_get_data",
+ "audio_listener_orientation",
+ "audio_listener_position",
+ "audio_listener_set_orientation",
+ "audio_listener_set_position",
+ "audio_listener_set_velocity",
+ "audio_listener_velocity",
+ "audio_master_gain",
+ "audio_pause_all",
+ "audio_pause_sound",
+ "audio_pause_sync_group",
+ "audio_play_in_sync_group",
+ "audio_play_sound",
+ "audio_play_sound_at",
+ "audio_play_sound_ext",
+ "audio_play_sound_on",
+ "audio_queue_sound",
+ "audio_resume_all",
+ "audio_resume_sound",
+ "audio_resume_sync_group",
+ "audio_set_listener_mask",
+ "audio_set_master_gain",
+ "audio_sound_gain",
+ "audio_sound_get_audio_group",
+ "audio_sound_get_gain",
+ "audio_sound_get_listener_mask",
+ "audio_sound_get_loop",
+ "audio_sound_get_loop_end",
+ "audio_sound_get_loop_start",
+ "audio_sound_get_pitch",
+ "audio_sound_get_track_position",
+ "audio_sound_is_playable",
+ "audio_sound_length",
+ "audio_sound_loop",
+ "audio_sound_loop_end",
+ "audio_sound_loop_start",
+ "audio_sound_pitch",
+ "audio_sound_set_listener_mask",
+ "audio_sound_set_track_position",
+ "audio_start_recording",
+ "audio_start_sync_group",
+ "audio_stop_all",
+ "audio_stop_recording",
+ "audio_stop_sound",
+ "audio_stop_sync_group",
+ "audio_sync_group_debug",
+ "audio_sync_group_get_track_pos",
+ "audio_sync_group_is_paused",
+ "audio_sync_group_is_playing",
+ "audio_system_is_available",
+ "audio_system_is_initialised",
+ "base64_decode",
+ "base64_encode",
+ "bool",
+ "browser_input_capture",
+ "buffer_async_group_begin",
+ "buffer_async_group_end",
+ "buffer_async_group_option",
+ "buffer_base64_decode",
+ "buffer_base64_decode_ext",
+ "buffer_base64_encode",
+ "buffer_compress",
+ "buffer_copy",
+ "buffer_copy_from_vertex_buffer",
+ "buffer_copy_stride",
+ "buffer_crc32",
+ "buffer_create",
+ "buffer_create_from_vertex_buffer",
+ "buffer_create_from_vertex_buffer_ext",
+ "buffer_decompress",
+ "buffer_delete",
+ "buffer_exists",
+ "buffer_fill",
+ "buffer_get_address",
+ "buffer_get_alignment",
+ "buffer_get_size",
+ "buffer_get_surface",
+ "buffer_get_type",
+ "buffer_load",
+ "buffer_load_async",
+ "buffer_load_ext",
+ "buffer_load_partial",
+ "buffer_md5",
+ "buffer_peek",
+ "buffer_poke",
+ "buffer_read",
+ "buffer_resize",
+ "buffer_save",
+ "buffer_save_async",
+ "buffer_save_ext",
+ "buffer_seek",
+ "buffer_set_surface",
+ "buffer_set_used_size",
+ "buffer_sha1",
+ "buffer_sizeof",
+ "buffer_tell",
+ "buffer_write",
+ "call_cancel",
+ "call_later",
+ "camera_apply",
+ "camera_copy_transforms",
+ "camera_create",
+ "camera_create_view",
+ "camera_destroy",
+ "camera_get_active",
+ "camera_get_begin_script",
+ "camera_get_default",
+ "camera_get_end_script",
+ "camera_get_proj_mat",
+ "camera_get_update_script",
+ "camera_get_view_angle",
+ "camera_get_view_border_x",
+ "camera_get_view_border_y",
+ "camera_get_view_height",
+ "camera_get_view_mat",
+ "camera_get_view_speed_x",
+ "camera_get_view_speed_y",
+ "camera_get_view_target",
+ "camera_get_view_width",
+ "camera_get_view_x",
+ "camera_get_view_y",
+ "camera_set_begin_script",
+ "camera_set_default",
+ "camera_set_end_script",
+ "camera_set_proj_mat",
+ "camera_set_update_script",
+ "camera_set_view_angle",
+ "camera_set_view_border",
+ "camera_set_view_mat",
+ "camera_set_view_pos",
+ "camera_set_view_size",
+ "camera_set_view_speed",
+ "camera_set_view_target",
+ "ceil",
+ "choose",
+ "chr",
+ "clamp",
+ "clickable_add",
+ "clickable_add_ext",
+ "clickable_change",
+ "clickable_change_ext",
+ "clickable_delete",
+ "clickable_exists",
+ "clickable_set_style",
+ "clipboard_get_text",
+ "clipboard_has_text",
+ "clipboard_set_text",
+ "cloud_file_save",
+ "cloud_string_save",
+ "cloud_synchronise",
+ "code_is_compiled",
+ "collision_circle",
+ "collision_circle_list",
+ "collision_ellipse",
+ "collision_ellipse_list",
+ "collision_line",
+ "collision_line_list",
+ "collision_point",
+ "collision_point_list",
+ "collision_rectangle",
+ "collision_rectangle_list",
+ "color_get_blue",
+ "color_get_green",
+ "color_get_hue",
+ "color_get_red",
+ "color_get_saturation",
+ "color_get_value",
+ "colour_get_blue",
+ "colour_get_green",
+ "colour_get_hue",
+ "colour_get_red",
+ "colour_get_saturation",
+ "colour_get_value",
+ "cos",
+ "darccos",
+ "darcsin",
+ "darctan",
+ "darctan2",
+ "date_compare_date",
+ "date_compare_datetime",
+ "date_compare_time",
+ "date_create_datetime",
+ "date_current_datetime",
+ "date_date_of",
+ "date_date_string",
+ "date_datetime_string",
+ "date_day_span",
+ "date_days_in_month",
+ "date_days_in_year",
+ "date_get_day",
+ "date_get_day_of_year",
+ "date_get_hour",
+ "date_get_hour_of_year",
+ "date_get_minute",
+ "date_get_minute_of_year",
+ "date_get_month",
+ "date_get_second",
+ "date_get_second_of_year",
+ "date_get_timezone",
+ "date_get_week",
+ "date_get_weekday",
+ "date_get_year",
+ "date_hour_span",
+ "date_inc_day",
+ "date_inc_hour",
+ "date_inc_minute",
+ "date_inc_month",
+ "date_inc_second",
+ "date_inc_week",
+ "date_inc_year",
+ "date_is_today",
+ "date_leap_year",
+ "date_minute_span",
+ "date_month_span",
+ "date_second_span",
+ "date_set_timezone",
+ "date_time_of",
+ "date_time_string",
+ "date_valid_datetime",
+ "date_week_span",
+ "date_year_span",
+ "db_to_lin",
+ "dbg_add_font_glyphs",
+ "dbg_button",
+ "dbg_checkbox",
+ "dbg_color",
+ "dbg_colour",
+ "dbg_drop_down",
+ "dbg_same_line",
+ "dbg_section",
+ "dbg_section_delete",
+ "dbg_section_exists",
+ "dbg_slider",
+ "dbg_slider_int",
+ "dbg_sprite",
+ "dbg_text",
+ "dbg_text_input",
+ "dbg_view",
+ "dbg_view_delete",
+ "dbg_view_exists",
+ "dbg_watch",
+ "dcos",
+ "debug_event",
+ "debug_get_callstack",
+ "degtorad",
+ "device_get_tilt_x",
+ "device_get_tilt_y",
+ "device_get_tilt_z",
+ "device_is_keypad_open",
+ "device_mouse_check_button",
+ "device_mouse_check_button_pressed",
+ "device_mouse_check_button_released",
+ "device_mouse_dbclick_enable",
+ "device_mouse_raw_x",
+ "device_mouse_raw_y",
+ "device_mouse_x",
+ "device_mouse_x_to_gui",
+ "device_mouse_y",
+ "device_mouse_y_to_gui",
+ "directory_create",
+ "directory_destroy",
+ "directory_exists",
+ "display_get_dpi_x",
+ "display_get_dpi_y",
+ "display_get_frequency",
+ "display_get_gui_height",
+ "display_get_gui_width",
+ "display_get_height",
+ "display_get_orientation",
+ "display_get_sleep_margin",
+ "display_get_timing_method",
+ "display_get_width",
+ "display_mouse_get_x",
+ "display_mouse_get_y",
+ "display_mouse_set",
+ "display_reset",
+ "display_set_gui_maximise",
+ "display_set_gui_maximize",
+ "display_set_gui_size",
+ "display_set_sleep_margin",
+ "display_set_timing_method",
+ "display_set_ui_visibility",
+ "distance_to_object",
+ "distance_to_point",
+ "dot_product",
+ "dot_product_3d",
+ "dot_product_3d_normalised",
+ "dot_product_3d_normalized",
+ "dot_product_normalised",
+ "dot_product_normalized",
+ "draw_arrow",
+ "draw_button",
+ "draw_circle",
+ "draw_circle_color",
+ "draw_circle_colour",
+ "draw_clear",
+ "draw_clear_alpha",
+ "draw_ellipse",
+ "draw_ellipse_color",
+ "draw_ellipse_colour",
+ "draw_enable_drawevent",
+ "draw_enable_skeleton_blendmodes",
+ "draw_enable_swf_aa",
+ "draw_flush",
+ "draw_get_alpha",
+ "draw_get_color",
+ "draw_get_colour",
+ "draw_get_enable_skeleton_blendmodes",
+ "draw_get_font",
+ "draw_get_halign",
+ "draw_get_lighting",
+ "draw_get_swf_aa_level",
+ "draw_get_valign",
+ "draw_getpixel",
+ "draw_getpixel_ext",
+ "draw_healthbar",
+ "draw_highscore",
+ "draw_light_define_ambient",
+ "draw_light_define_direction",
+ "draw_light_define_point",
+ "draw_light_enable",
+ "draw_light_get",
+ "draw_light_get_ambient",
+ "draw_line",
+ "draw_line_color",
+ "draw_line_colour",
+ "draw_line_width",
+ "draw_line_width_color",
+ "draw_line_width_colour",
+ "draw_path",
+ "draw_point",
+ "draw_point_color",
+ "draw_point_colour",
+ "draw_primitive_begin",
+ "draw_primitive_begin_texture",
+ "draw_primitive_end",
+ "draw_rectangle",
+ "draw_rectangle_color",
+ "draw_rectangle_colour",
+ "draw_roundrect",
+ "draw_roundrect_color",
+ "draw_roundrect_color_ext",
+ "draw_roundrect_colour",
+ "draw_roundrect_colour_ext",
+ "draw_roundrect_ext",
+ "draw_self",
+ "draw_set_alpha",
+ "draw_set_circle_precision",
+ "draw_set_color",
+ "draw_set_colour",
+ "draw_set_font",
+ "draw_set_halign",
+ "draw_set_lighting",
+ "draw_set_swf_aa_level",
+ "draw_set_valign",
+ "draw_skeleton",
+ "draw_skeleton_collision",
+ "draw_skeleton_instance",
+ "draw_skeleton_time",
+ "draw_sprite",
+ "draw_sprite_ext",
+ "draw_sprite_general",
+ "draw_sprite_part",
+ "draw_sprite_part_ext",
+ "draw_sprite_pos",
+ "draw_sprite_stretched",
+ "draw_sprite_stretched_ext",
+ "draw_sprite_tiled",
+ "draw_sprite_tiled_ext",
+ "draw_surface",
+ "draw_surface_ext",
+ "draw_surface_general",
+ "draw_surface_part",
+ "draw_surface_part_ext",
+ "draw_surface_stretched",
+ "draw_surface_stretched_ext",
+ "draw_surface_tiled",
+ "draw_surface_tiled_ext",
+ "draw_text",
+ "draw_text_color",
+ "draw_text_colour",
+ "draw_text_ext",
+ "draw_text_ext_color",
+ "draw_text_ext_colour",
+ "draw_text_ext_transformed",
+ "draw_text_ext_transformed_color",
+ "draw_text_ext_transformed_colour",
+ "draw_text_transformed",
+ "draw_text_transformed_color",
+ "draw_text_transformed_colour",
+ "draw_texture_flush",
+ "draw_tile",
+ "draw_tilemap",
+ "draw_triangle",
+ "draw_triangle_color",
+ "draw_triangle_colour",
+ "draw_vertex",
+ "draw_vertex_color",
+ "draw_vertex_colour",
+ "draw_vertex_texture",
+ "draw_vertex_texture_color",
+ "draw_vertex_texture_colour",
+ "ds_exists",
+ "ds_grid_add",
+ "ds_grid_add_disk",
+ "ds_grid_add_grid_region",
+ "ds_grid_add_region",
+ "ds_grid_clear",
+ "ds_grid_copy",
+ "ds_grid_create",
+ "ds_grid_destroy",
+ "ds_grid_get",
+ "ds_grid_get_disk_max",
+ "ds_grid_get_disk_mean",
+ "ds_grid_get_disk_min",
+ "ds_grid_get_disk_sum",
+ "ds_grid_get_max",
+ "ds_grid_get_mean",
+ "ds_grid_get_min",
+ "ds_grid_get_sum",
+ "ds_grid_height",
+ "ds_grid_multiply",
+ "ds_grid_multiply_disk",
+ "ds_grid_multiply_grid_region",
+ "ds_grid_multiply_region",
+ "ds_grid_read",
+ "ds_grid_resize",
+ "ds_grid_set",
+ "ds_grid_set_disk",
+ "ds_grid_set_grid_region",
+ "ds_grid_set_region",
+ "ds_grid_shuffle",
+ "ds_grid_sort",
+ "ds_grid_to_mp_grid",
+ "ds_grid_value_disk_exists",
+ "ds_grid_value_disk_x",
+ "ds_grid_value_disk_y",
+ "ds_grid_value_exists",
+ "ds_grid_value_x",
+ "ds_grid_value_y",
+ "ds_grid_width",
+ "ds_grid_write",
+ "ds_list_add",
+ "ds_list_clear",
+ "ds_list_copy",
+ "ds_list_create",
+ "ds_list_delete",
+ "ds_list_destroy",
+ "ds_list_empty",
+ "ds_list_find_index",
+ "ds_list_find_value",
+ "ds_list_insert",
+ "ds_list_is_list",
+ "ds_list_is_map",
+ "ds_list_mark_as_list",
+ "ds_list_mark_as_map",
+ "ds_list_read",
+ "ds_list_replace",
+ "ds_list_set",
+ "ds_list_shuffle",
+ "ds_list_size",
+ "ds_list_sort",
+ "ds_list_write",
+ "ds_map_add",
+ "ds_map_add_list",
+ "ds_map_add_map",
+ "ds_map_clear",
+ "ds_map_copy",
+ "ds_map_create",
+ "ds_map_delete",
+ "ds_map_destroy",
+ "ds_map_empty",
+ "ds_map_exists",
+ "ds_map_find_first",
+ "ds_map_find_last",
+ "ds_map_find_next",
+ "ds_map_find_previous",
+ "ds_map_find_value",
+ "ds_map_is_list",
+ "ds_map_is_map",
+ "ds_map_keys_to_array",
+ "ds_map_read",
+ "ds_map_replace",
+ "ds_map_replace_list",
+ "ds_map_replace_map",
+ "ds_map_secure_load",
+ "ds_map_secure_load_buffer",
+ "ds_map_secure_save",
+ "ds_map_secure_save_buffer",
+ "ds_map_set",
+ "ds_map_size",
+ "ds_map_values_to_array",
+ "ds_map_write",
+ "ds_priority_add",
+ "ds_priority_change_priority",
+ "ds_priority_clear",
+ "ds_priority_copy",
+ "ds_priority_create",
+ "ds_priority_delete_max",
+ "ds_priority_delete_min",
+ "ds_priority_delete_value",
+ "ds_priority_destroy",
+ "ds_priority_empty",
+ "ds_priority_find_max",
+ "ds_priority_find_min",
+ "ds_priority_find_priority",
+ "ds_priority_read",
+ "ds_priority_size",
+ "ds_priority_write",
+ "ds_queue_clear",
+ "ds_queue_copy",
+ "ds_queue_create",
+ "ds_queue_dequeue",
+ "ds_queue_destroy",
+ "ds_queue_empty",
+ "ds_queue_enqueue",
+ "ds_queue_head",
+ "ds_queue_read",
+ "ds_queue_size",
+ "ds_queue_tail",
+ "ds_queue_write",
+ "ds_set_precision",
+ "ds_stack_clear",
+ "ds_stack_copy",
+ "ds_stack_create",
+ "ds_stack_destroy",
+ "ds_stack_empty",
+ "ds_stack_pop",
+ "ds_stack_push",
+ "ds_stack_read",
+ "ds_stack_size",
+ "ds_stack_top",
+ "ds_stack_write",
+ "dsin",
+ "dtan",
+ "effect_clear",
+ "effect_create_above",
+ "effect_create_below",
+ "effect_create_depth",
+ "effect_create_layer",
+ "environment_get_variable",
+ "event_inherited",
+ "event_perform",
+ "event_perform_async",
+ "event_perform_object",
+ "event_user",
+ "exception_unhandled_handler",
+ "exp",
+ "extension_exists",
+ "extension_get_option_count",
+ "extension_get_option_names",
+ "extension_get_option_value",
+ "extension_get_options",
+ "extension_get_version",
+ "external_call",
+ "external_define",
+ "external_free",
+ "file_attributes",
+ "file_bin_close",
+ "file_bin_open",
+ "file_bin_position",
+ "file_bin_read_byte",
+ "file_bin_rewrite",
+ "file_bin_seek",
+ "file_bin_size",
+ "file_bin_write_byte",
+ "file_copy",
+ "file_delete",
+ "file_exists",
+ "file_find_close",
+ "file_find_first",
+ "file_find_next",
+ "file_rename",
+ "file_text_close",
+ "file_text_eof",
+ "file_text_eoln",
+ "file_text_open_append",
+ "file_text_open_from_string",
+ "file_text_open_read",
+ "file_text_open_write",
+ "file_text_read_real",
+ "file_text_read_string",
+ "file_text_readln",
+ "file_text_write_real",
+ "file_text_write_string",
+ "file_text_writeln",
+ "filename_change_ext",
+ "filename_dir",
+ "filename_drive",
+ "filename_ext",
+ "filename_name",
+ "filename_path",
+ "floor",
+ "font_add",
+ "font_add_enable_aa",
+ "font_add_get_enable_aa",
+ "font_add_sprite",
+ "font_add_sprite_ext",
+ "font_cache_glyph",
+ "font_delete",
+ "font_enable_effects",
+ "font_enable_sdf",
+ "font_exists",
+ "font_get_bold",
+ "font_get_first",
+ "font_get_fontname",
+ "font_get_info",
+ "font_get_italic",
+ "font_get_last",
+ "font_get_name",
+ "font_get_sdf_enabled",
+ "font_get_sdf_spread",
+ "font_get_size",
+ "font_get_texture",
+ "font_get_uvs",
+ "font_replace_sprite",
+ "font_replace_sprite_ext",
+ "font_sdf_spread",
+ "font_set_cache_size",
+ "frac",
+ "fx_create",
+ "fx_get_name",
+ "fx_get_parameter",
+ "fx_get_parameter_names",
+ "fx_get_parameters",
+ "fx_get_single_layer",
+ "fx_set_parameter",
+ "fx_set_parameters",
+ "fx_set_single_layer",
+ "game_change",
+ "game_end",
+ "game_get_speed",
+ "game_load",
+ "game_load_buffer",
+ "game_restart",
+ "game_save",
+ "game_save_buffer",
+ "game_set_speed",
+ "gamepad_axis_count",
+ "gamepad_axis_value",
+ "gamepad_button_check",
+ "gamepad_button_check_pressed",
+ "gamepad_button_check_released",
+ "gamepad_button_count",
+ "gamepad_button_value",
+ "gamepad_get_axis_deadzone",
+ "gamepad_get_button_threshold",
+ "gamepad_get_description",
+ "gamepad_get_device_count",
+ "gamepad_get_guid",
+ "gamepad_get_mapping",
+ "gamepad_get_option",
+ "gamepad_hat_count",
+ "gamepad_hat_value",
+ "gamepad_is_connected",
+ "gamepad_is_supported",
+ "gamepad_remove_mapping",
+ "gamepad_set_axis_deadzone",
+ "gamepad_set_button_threshold",
+ "gamepad_set_color",
+ "gamepad_set_colour",
+ "gamepad_set_option",
+ "gamepad_set_vibration",
+ "gamepad_test_mapping",
+ "gc_collect",
+ "gc_enable",
+ "gc_get_stats",
+ "gc_get_target_frame_time",
+ "gc_is_enabled",
+ "gc_target_frame_time",
+ "gesture_double_tap_distance",
+ "gesture_double_tap_time",
+ "gesture_drag_distance",
+ "gesture_drag_time",
+ "gesture_flick_speed",
+ "gesture_get_double_tap_distance",
+ "gesture_get_double_tap_time",
+ "gesture_get_drag_distance",
+ "gesture_get_drag_time",
+ "gesture_get_flick_speed",
+ "gesture_get_pinch_angle_away",
+ "gesture_get_pinch_angle_towards",
+ "gesture_get_pinch_distance",
+ "gesture_get_rotate_angle",
+ "gesture_get_rotate_time",
+ "gesture_get_tap_count",
+ "gesture_pinch_angle_away",
+ "gesture_pinch_angle_towards",
+ "gesture_pinch_distance",
+ "gesture_rotate_angle",
+ "gesture_rotate_time",
+ "gesture_tap_count",
+ "get_integer",
+ "get_integer_async",
+ "get_login_async",
+ "get_open_filename",
+ "get_open_filename_ext",
+ "get_save_filename",
+ "get_save_filename_ext",
+ "get_string",
+ "get_string_async",
+ "get_timer",
+ "gif_add_surface",
+ "gif_open",
+ "gif_save",
+ "gif_save_buffer",
+ "gml_pragma",
+ "gml_release_mode",
+ "gpu_get_alphatestenable",
+ "gpu_get_alphatestref",
+ "gpu_get_blendenable",
+ "gpu_get_blendmode",
+ "gpu_get_blendmode_dest",
+ "gpu_get_blendmode_destalpha",
+ "gpu_get_blendmode_ext",
+ "gpu_get_blendmode_ext_sepalpha",
+ "gpu_get_blendmode_src",
+ "gpu_get_blendmode_srcalpha",
+ "gpu_get_colorwriteenable",
+ "gpu_get_colourwriteenable",
+ "gpu_get_cullmode",
+ "gpu_get_depth",
+ "gpu_get_fog",
+ "gpu_get_state",
+ "gpu_get_tex_filter",
+ "gpu_get_tex_filter_ext",
+ "gpu_get_tex_max_aniso",
+ "gpu_get_tex_max_aniso_ext",
+ "gpu_get_tex_max_mip",
+ "gpu_get_tex_max_mip_ext",
+ "gpu_get_tex_min_mip",
+ "gpu_get_tex_min_mip_ext",
+ "gpu_get_tex_mip_bias",
+ "gpu_get_tex_mip_bias_ext",
+ "gpu_get_tex_mip_enable",
+ "gpu_get_tex_mip_enable_ext",
+ "gpu_get_tex_mip_filter",
+ "gpu_get_tex_mip_filter_ext",
+ "gpu_get_tex_repeat",
+ "gpu_get_tex_repeat_ext",
+ "gpu_get_texfilter",
+ "gpu_get_texfilter_ext",
+ "gpu_get_texrepeat",
+ "gpu_get_texrepeat_ext",
+ "gpu_get_zfunc",
+ "gpu_get_ztestenable",
+ "gpu_get_zwriteenable",
+ "gpu_pop_state",
+ "gpu_push_state",
+ "gpu_set_alphatestenable",
+ "gpu_set_alphatestref",
+ "gpu_set_blendenable",
+ "gpu_set_blendmode",
+ "gpu_set_blendmode_ext",
+ "gpu_set_blendmode_ext_sepalpha",
+ "gpu_set_colorwriteenable",
+ "gpu_set_colourwriteenable",
+ "gpu_set_cullmode",
+ "gpu_set_depth",
+ "gpu_set_fog",
+ "gpu_set_state",
+ "gpu_set_tex_filter",
+ "gpu_set_tex_filter_ext",
+ "gpu_set_tex_max_aniso",
+ "gpu_set_tex_max_aniso_ext",
+ "gpu_set_tex_max_mip",
+ "gpu_set_tex_max_mip_ext",
+ "gpu_set_tex_min_mip",
+ "gpu_set_tex_min_mip_ext",
+ "gpu_set_tex_mip_bias",
+ "gpu_set_tex_mip_bias_ext",
+ "gpu_set_tex_mip_enable",
+ "gpu_set_tex_mip_enable_ext",
+ "gpu_set_tex_mip_filter",
+ "gpu_set_tex_mip_filter_ext",
+ "gpu_set_tex_repeat",
+ "gpu_set_tex_repeat_ext",
+ "gpu_set_texfilter",
+ "gpu_set_texfilter_ext",
+ "gpu_set_texrepeat",
+ "gpu_set_texrepeat_ext",
+ "gpu_set_zfunc",
+ "gpu_set_ztestenable",
+ "gpu_set_zwriteenable",
+ "handle_parse",
+ "highscore_add",
+ "highscore_clear",
+ "highscore_name",
+ "highscore_value",
+ "http_get",
+ "http_get_file",
+ "http_get_request_crossorigin",
+ "http_post_string",
+ "http_request",
+ "http_set_request_crossorigin",
+ "iap_acquire",
+ "iap_activate",
+ "iap_consume",
+ "iap_enumerate_products",
+ "iap_product_details",
+ "iap_purchase_details",
+ "iap_restore_all",
+ "iap_status",
+ "ini_close",
+ "ini_key_delete",
+ "ini_key_exists",
+ "ini_open",
+ "ini_open_from_string",
+ "ini_read_real",
+ "ini_read_string",
+ "ini_section_delete",
+ "ini_section_exists",
+ "ini_write_real",
+ "ini_write_string",
+ "instance_activate_all",
+ "instance_activate_layer",
+ "instance_activate_object",
+ "instance_activate_region",
+ "instance_change",
+ "instance_copy",
+ "instance_create_depth",
+ "instance_create_layer",
+ "instance_deactivate_all",
+ "instance_deactivate_layer",
+ "instance_deactivate_object",
+ "instance_deactivate_region",
+ "instance_destroy",
+ "instance_exists",
+ "instance_find",
+ "instance_furthest",
+ "instance_id_get",
+ "instance_nearest",
+ "instance_number",
+ "instance_place",
+ "instance_place_list",
+ "instance_position",
+ "instance_position_list",
+ "instanceof",
+ "int64",
+ "io_clear",
+ "irandom",
+ "irandom_range",
+ "is_array",
+ "is_bool",
+ "is_callable",
+ "is_debug_overlay_open",
+ "is_handle",
+ "is_infinity",
+ "is_instanceof",
+ "is_int32",
+ "is_int64",
+ "is_keyboard_used_debug_overlay",
+ "is_method",
+ "is_mouse_over_debug_overlay",
+ "is_nan",
+ "is_numeric",
+ "is_ptr",
+ "is_real",
+ "is_string",
+ "is_struct",
+ "is_undefined",
+ "json_decode",
+ "json_encode",
+ "json_parse",
+ "json_stringify",
+ "keyboard_check",
+ "keyboard_check_direct",
+ "keyboard_check_pressed",
+ "keyboard_check_released",
+ "keyboard_clear",
+ "keyboard_get_map",
+ "keyboard_get_numlock",
+ "keyboard_key_press",
+ "keyboard_key_release",
+ "keyboard_set_map",
+ "keyboard_set_numlock",
+ "keyboard_unset_map",
+ "keyboard_virtual_height",
+ "keyboard_virtual_hide",
+ "keyboard_virtual_show",
+ "keyboard_virtual_status",
+ "layer_add_instance",
+ "layer_background_alpha",
+ "layer_background_blend",
+ "layer_background_change",
+ "layer_background_create",
+ "layer_background_destroy",
+ "layer_background_exists",
+ "layer_background_get_alpha",
+ "layer_background_get_blend",
+ "layer_background_get_htiled",
+ "layer_background_get_id",
+ "layer_background_get_index",
+ "layer_background_get_speed",
+ "layer_background_get_sprite",
+ "layer_background_get_stretch",
+ "layer_background_get_visible",
+ "layer_background_get_vtiled",
+ "layer_background_get_xscale",
+ "layer_background_get_yscale",
+ "layer_background_htiled",
+ "layer_background_index",
+ "layer_background_speed",
+ "layer_background_sprite",
+ "layer_background_stretch",
+ "layer_background_visible",
+ "layer_background_vtiled",
+ "layer_background_xscale",
+ "layer_background_yscale",
+ "layer_clear_fx",
+ "layer_create",
+ "layer_depth",
+ "layer_destroy",
+ "layer_destroy_instances",
+ "layer_element_move",
+ "layer_enable_fx",
+ "layer_exists",
+ "layer_force_draw_depth",
+ "layer_fx_is_enabled",
+ "layer_get_all",
+ "layer_get_all_elements",
+ "layer_get_depth",
+ "layer_get_element_layer",
+ "layer_get_element_type",
+ "layer_get_forced_depth",
+ "layer_get_fx",
+ "layer_get_hspeed",
+ "layer_get_id",
+ "layer_get_id_at_depth",
+ "layer_get_name",
+ "layer_get_script_begin",
+ "layer_get_script_end",
+ "layer_get_shader",
+ "layer_get_target_room",
+ "layer_get_visible",
+ "layer_get_vspeed",
+ "layer_get_x",
+ "layer_get_y",
+ "layer_has_instance",
+ "layer_hspeed",
+ "layer_instance_get_instance",
+ "layer_is_draw_depth_forced",
+ "layer_reset_target_room",
+ "layer_script_begin",
+ "layer_script_end",
+ "layer_sequence_angle",
+ "layer_sequence_create",
+ "layer_sequence_destroy",
+ "layer_sequence_exists",
+ "layer_sequence_get_angle",
+ "layer_sequence_get_headdir",
+ "layer_sequence_get_headpos",
+ "layer_sequence_get_instance",
+ "layer_sequence_get_length",
+ "layer_sequence_get_sequence",
+ "layer_sequence_get_speedscale",
+ "layer_sequence_get_x",
+ "layer_sequence_get_xscale",
+ "layer_sequence_get_y",
+ "layer_sequence_get_yscale",
+ "layer_sequence_headdir",
+ "layer_sequence_headpos",
+ "layer_sequence_is_finished",
+ "layer_sequence_is_paused",
+ "layer_sequence_pause",
+ "layer_sequence_play",
+ "layer_sequence_speedscale",
+ "layer_sequence_x",
+ "layer_sequence_xscale",
+ "layer_sequence_y",
+ "layer_sequence_yscale",
+ "layer_set_fx",
+ "layer_set_target_room",
+ "layer_set_visible",
+ "layer_shader",
+ "layer_sprite_alpha",
+ "layer_sprite_angle",
+ "layer_sprite_blend",
+ "layer_sprite_change",
+ "layer_sprite_create",
+ "layer_sprite_destroy",
+ "layer_sprite_exists",
+ "layer_sprite_get_alpha",
+ "layer_sprite_get_angle",
+ "layer_sprite_get_blend",
+ "layer_sprite_get_id",
+ "layer_sprite_get_index",
+ "layer_sprite_get_speed",
+ "layer_sprite_get_sprite",
+ "layer_sprite_get_x",
+ "layer_sprite_get_xscale",
+ "layer_sprite_get_y",
+ "layer_sprite_get_yscale",
+ "layer_sprite_index",
+ "layer_sprite_speed",
+ "layer_sprite_x",
+ "layer_sprite_xscale",
+ "layer_sprite_y",
+ "layer_sprite_yscale",
+ "layer_tile_alpha",
+ "layer_tile_blend",
+ "layer_tile_change",
+ "layer_tile_create",
+ "layer_tile_destroy",
+ "layer_tile_exists",
+ "layer_tile_get_alpha",
+ "layer_tile_get_blend",
+ "layer_tile_get_region",
+ "layer_tile_get_sprite",
+ "layer_tile_get_visible",
+ "layer_tile_get_x",
+ "layer_tile_get_xscale",
+ "layer_tile_get_y",
+ "layer_tile_get_yscale",
+ "layer_tile_region",
+ "layer_tile_visible",
+ "layer_tile_x",
+ "layer_tile_xscale",
+ "layer_tile_y",
+ "layer_tile_yscale",
+ "layer_tilemap_create",
+ "layer_tilemap_destroy",
+ "layer_tilemap_exists",
+ "layer_tilemap_get_id",
+ "layer_vspeed",
+ "layer_x",
+ "layer_y",
+ "lengthdir_x",
+ "lengthdir_y",
+ "lerp",
+ "lin_to_db",
+ "ln",
+ "load_csv",
+ "log10",
+ "log2",
+ "logn",
+ "make_color_hsv",
+ "make_color_rgb",
+ "make_colour_hsv",
+ "make_colour_rgb",
+ "math_get_epsilon",
+ "math_set_epsilon",
+ "matrix_build",
+ "matrix_build_identity",
+ "matrix_build_lookat",
+ "matrix_build_projection_ortho",
+ "matrix_build_projection_perspective",
+ "matrix_build_projection_perspective_fov",
+ "matrix_get",
+ "matrix_multiply",
+ "matrix_set",
+ "matrix_stack_clear",
+ "matrix_stack_is_empty",
+ "matrix_stack_pop",
+ "matrix_stack_push",
+ "matrix_stack_set",
+ "matrix_stack_top",
+ "matrix_transform_vertex",
+ "max",
+ "md5_file",
+ "md5_string_unicode",
+ "md5_string_utf8",
+ "mean",
+ "median",
+ "merge_color",
+ "merge_colour",
+ "method",
+ "method_call",
+ "method_get_index",
+ "method_get_self",
+ "min",
+ "motion_add",
+ "motion_set",
+ "mouse_check_button",
+ "mouse_check_button_pressed",
+ "mouse_check_button_released",
+ "mouse_clear",
+ "mouse_wheel_down",
+ "mouse_wheel_up",
+ "move_and_collide",
+ "move_bounce_all",
+ "move_bounce_solid",
+ "move_contact_all",
+ "move_contact_solid",
+ "move_outside_all",
+ "move_outside_solid",
+ "move_random",
+ "move_snap",
+ "move_towards_point",
+ "move_wrap",
+ "mp_grid_add_cell",
+ "mp_grid_add_instances",
+ "mp_grid_add_rectangle",
+ "mp_grid_clear_all",
+ "mp_grid_clear_cell",
+ "mp_grid_clear_rectangle",
+ "mp_grid_create",
+ "mp_grid_destroy",
+ "mp_grid_draw",
+ "mp_grid_get_cell",
+ "mp_grid_path",
+ "mp_grid_to_ds_grid",
+ "mp_linear_path",
+ "mp_linear_path_object",
+ "mp_linear_step",
+ "mp_linear_step_object",
+ "mp_potential_path",
+ "mp_potential_path_object",
+ "mp_potential_settings",
+ "mp_potential_step",
+ "mp_potential_step_object",
+ "nameof",
+ "network_connect",
+ "network_connect_async",
+ "network_connect_raw",
+ "network_connect_raw_async",
+ "network_create_server",
+ "network_create_server_raw",
+ "network_create_socket",
+ "network_create_socket_ext",
+ "network_destroy",
+ "network_resolve",
+ "network_send_broadcast",
+ "network_send_packet",
+ "network_send_raw",
+ "network_send_udp",
+ "network_send_udp_raw",
+ "network_set_config",
+ "network_set_timeout",
+ "object_exists",
+ "object_get_mask",
+ "object_get_name",
+ "object_get_parent",
+ "object_get_persistent",
+ "object_get_physics",
+ "object_get_solid",
+ "object_get_sprite",
+ "object_get_visible",
+ "object_is_ancestor",
+ "object_set_mask",
+ "object_set_persistent",
+ "object_set_solid",
+ "object_set_sprite",
+ "object_set_visible",
+ "ord",
+ "os_check_permission",
+ "os_get_config",
+ "os_get_info",
+ "os_get_language",
+ "os_get_region",
+ "os_is_network_connected",
+ "os_is_paused",
+ "os_lock_orientation",
+ "os_powersave_enable",
+ "os_request_permission",
+ "os_set_orientation_lock",
+ "parameter_count",
+ "parameter_string",
+ "part_emitter_burst",
+ "part_emitter_clear",
+ "part_emitter_create",
+ "part_emitter_delay",
+ "part_emitter_destroy",
+ "part_emitter_destroy_all",
+ "part_emitter_enable",
+ "part_emitter_exists",
+ "part_emitter_interval",
+ "part_emitter_region",
+ "part_emitter_relative",
+ "part_emitter_stream",
+ "part_particles_burst",
+ "part_particles_clear",
+ "part_particles_count",
+ "part_particles_create",
+ "part_particles_create_color",
+ "part_particles_create_colour",
+ "part_system_angle",
+ "part_system_automatic_draw",
+ "part_system_automatic_update",
+ "part_system_clear",
+ "part_system_color",
+ "part_system_colour",
+ "part_system_create",
+ "part_system_create_layer",
+ "part_system_depth",
+ "part_system_destroy",
+ "part_system_draw_order",
+ "part_system_drawit",
+ "part_system_exists",
+ "part_system_get_info",
+ "part_system_get_layer",
+ "part_system_global_space",
+ "part_system_layer",
+ "part_system_position",
+ "part_system_update",
+ "part_type_alpha1",
+ "part_type_alpha2",
+ "part_type_alpha3",
+ "part_type_blend",
+ "part_type_clear",
+ "part_type_color1",
+ "part_type_color2",
+ "part_type_color3",
+ "part_type_color_hsv",
+ "part_type_color_mix",
+ "part_type_color_rgb",
+ "part_type_colour1",
+ "part_type_colour2",
+ "part_type_colour3",
+ "part_type_colour_hsv",
+ "part_type_colour_mix",
+ "part_type_colour_rgb",
+ "part_type_create",
+ "part_type_death",
+ "part_type_destroy",
+ "part_type_direction",
+ "part_type_exists",
+ "part_type_gravity",
+ "part_type_life",
+ "part_type_orientation",
+ "part_type_scale",
+ "part_type_shape",
+ "part_type_size",
+ "part_type_size_x",
+ "part_type_size_y",
+ "part_type_speed",
+ "part_type_sprite",
+ "part_type_step",
+ "part_type_subimage",
+ "particle_exists",
+ "particle_get_info",
+ "path_add",
+ "path_add_point",
+ "path_append",
+ "path_assign",
+ "path_change_point",
+ "path_clear_points",
+ "path_delete",
+ "path_delete_point",
+ "path_duplicate",
+ "path_end",
+ "path_exists",
+ "path_flip",
+ "path_get_closed",
+ "path_get_kind",
+ "path_get_length",
+ "path_get_name",
+ "path_get_number",
+ "path_get_point_speed",
+ "path_get_point_x",
+ "path_get_point_y",
+ "path_get_precision",
+ "path_get_speed",
+ "path_get_x",
+ "path_get_y",
+ "path_insert_point",
+ "path_mirror",
+ "path_rescale",
+ "path_reverse",
+ "path_rotate",
+ "path_set_closed",
+ "path_set_kind",
+ "path_set_precision",
+ "path_shift",
+ "path_start",
+ "physics_apply_angular_impulse",
+ "physics_apply_force",
+ "physics_apply_impulse",
+ "physics_apply_local_force",
+ "physics_apply_local_impulse",
+ "physics_apply_torque",
+ "physics_draw_debug",
+ "physics_fixture_add_point",
+ "physics_fixture_bind",
+ "physics_fixture_bind_ext",
+ "physics_fixture_create",
+ "physics_fixture_delete",
+ "physics_fixture_set_angular_damping",
+ "physics_fixture_set_awake",
+ "physics_fixture_set_box_shape",
+ "physics_fixture_set_chain_shape",
+ "physics_fixture_set_circle_shape",
+ "physics_fixture_set_collision_group",
+ "physics_fixture_set_density",
+ "physics_fixture_set_edge_shape",
+ "physics_fixture_set_friction",
+ "physics_fixture_set_kinematic",
+ "physics_fixture_set_linear_damping",
+ "physics_fixture_set_polygon_shape",
+ "physics_fixture_set_restitution",
+ "physics_fixture_set_sensor",
+ "physics_get_density",
+ "physics_get_friction",
+ "physics_get_restitution",
+ "physics_joint_delete",
+ "physics_joint_distance_create",
+ "physics_joint_enable_motor",
+ "physics_joint_friction_create",
+ "physics_joint_gear_create",
+ "physics_joint_get_value",
+ "physics_joint_prismatic_create",
+ "physics_joint_pulley_create",
+ "physics_joint_revolute_create",
+ "physics_joint_rope_create",
+ "physics_joint_set_value",
+ "physics_joint_weld_create",
+ "physics_joint_wheel_create",
+ "physics_mass_properties",
+ "physics_particle_count",
+ "physics_particle_create",
+ "physics_particle_delete",
+ "physics_particle_delete_region_box",
+ "physics_particle_delete_region_circle",
+ "physics_particle_delete_region_poly",
+ "physics_particle_draw",
+ "physics_particle_draw_ext",
+ "physics_particle_get_damping",
+ "physics_particle_get_data",
+ "physics_particle_get_data_particle",
+ "physics_particle_get_density",
+ "physics_particle_get_gravity_scale",
+ "physics_particle_get_group_flags",
+ "physics_particle_get_max_count",
+ "physics_particle_get_radius",
+ "physics_particle_group_add_point",
+ "physics_particle_group_begin",
+ "physics_particle_group_box",
+ "physics_particle_group_circle",
+ "physics_particle_group_count",
+ "physics_particle_group_delete",
+ "physics_particle_group_end",
+ "physics_particle_group_get_ang_vel",
+ "physics_particle_group_get_angle",
+ "physics_particle_group_get_centre_x",
+ "physics_particle_group_get_centre_y",
+ "physics_particle_group_get_data",
+ "physics_particle_group_get_inertia",
+ "physics_particle_group_get_mass",
+ "physics_particle_group_get_vel_x",
+ "physics_particle_group_get_vel_y",
+ "physics_particle_group_get_x",
+ "physics_particle_group_get_y",
+ "physics_particle_group_join",
+ "physics_particle_group_polygon",
+ "physics_particle_set_category_flags",
+ "physics_particle_set_damping",
+ "physics_particle_set_density",
+ "physics_particle_set_flags",
+ "physics_particle_set_gravity_scale",
+ "physics_particle_set_group_flags",
+ "physics_particle_set_max_count",
+ "physics_particle_set_radius",
+ "physics_pause_enable",
+ "physics_remove_fixture",
+ "physics_set_density",
+ "physics_set_friction",
+ "physics_set_restitution",
+ "physics_test_overlap",
+ "physics_world_create",
+ "physics_world_draw_debug",
+ "physics_world_gravity",
+ "physics_world_update_iterations",
+ "physics_world_update_speed",
+ "place_empty",
+ "place_free",
+ "place_meeting",
+ "place_snapped",
+ "point_direction",
+ "point_distance",
+ "point_distance_3d",
+ "point_in_circle",
+ "point_in_rectangle",
+ "point_in_triangle",
+ "position_change",
+ "position_destroy",
+ "position_empty",
+ "position_meeting",
+ "power",
+ "ptr",
+ "radtodeg",
+ "random",
+ "random_get_seed",
+ "random_range",
+ "random_set_seed",
+ "randomise",
+ "randomize",
+ "real",
+ "rectangle_in_circle",
+ "rectangle_in_rectangle",
+ "rectangle_in_triangle",
+ "ref_create",
+ "rollback_chat",
+ "rollback_create_game",
+ "rollback_define_extra_network_latency",
+ "rollback_define_input",
+ "rollback_define_input_frame_delay",
+ "rollback_define_mock_input",
+ "rollback_define_player",
+ "rollback_display_events",
+ "rollback_get_info",
+ "rollback_get_input",
+ "rollback_get_player_prefs",
+ "rollback_join_game",
+ "rollback_leave_game",
+ "rollback_set_player_prefs",
+ "rollback_start_game",
+ "rollback_sync_on_frame",
+ "rollback_use_late_join",
+ "rollback_use_manual_start",
+ "rollback_use_player_prefs",
+ "rollback_use_random_input",
+ "room_add",
+ "room_assign",
+ "room_duplicate",
+ "room_exists",
+ "room_get_camera",
+ "room_get_info",
+ "room_get_name",
+ "room_get_viewport",
+ "room_goto",
+ "room_goto_next",
+ "room_goto_previous",
+ "room_instance_add",
+ "room_instance_clear",
+ "room_next",
+ "room_previous",
+ "room_restart",
+ "room_set_camera",
+ "room_set_height",
+ "room_set_persistent",
+ "room_set_view_enabled",
+ "room_set_viewport",
+ "room_set_width",
+ "round",
+ "scheduler_resolution_get",
+ "scheduler_resolution_set",
+ "screen_save",
+ "screen_save_part",
+ "script_execute",
+ "script_execute_ext",
+ "script_exists",
+ "script_get_name",
+ "sequence_create",
+ "sequence_destroy",
+ "sequence_exists",
+ "sequence_get",
+ "sequence_get_objects",
+ "sequence_instance_override_object",
+ "sequence_keyframe_new",
+ "sequence_keyframedata_new",
+ "sequence_track_new",
+ "sha1_file",
+ "sha1_string_unicode",
+ "sha1_string_utf8",
+ "shader_current",
+ "shader_enable_corner_id",
+ "shader_get_name",
+ "shader_get_sampler_index",
+ "shader_get_uniform",
+ "shader_is_compiled",
+ "shader_reset",
+ "shader_set",
+ "shader_set_uniform_f",
+ "shader_set_uniform_f_array",
+ "shader_set_uniform_f_buffer",
+ "shader_set_uniform_i",
+ "shader_set_uniform_i_array",
+ "shader_set_uniform_matrix",
+ "shader_set_uniform_matrix_array",
+ "shaders_are_supported",
+ "shop_leave_rating",
+ "show_debug_message",
+ "show_debug_message_ext",
+ "show_debug_overlay",
+ "show_error",
+ "show_message",
+ "show_message_async",
+ "show_question",
+ "show_question_async",
+ "sign",
+ "sin",
+ "skeleton_animation_clear",
+ "skeleton_animation_get",
+ "skeleton_animation_get_duration",
+ "skeleton_animation_get_event_frames",
+ "skeleton_animation_get_ext",
+ "skeleton_animation_get_frame",
+ "skeleton_animation_get_frames",
+ "skeleton_animation_get_position",
+ "skeleton_animation_is_finished",
+ "skeleton_animation_is_looping",
+ "skeleton_animation_list",
+ "skeleton_animation_mix",
+ "skeleton_animation_set",
+ "skeleton_animation_set_ext",
+ "skeleton_animation_set_frame",
+ "skeleton_animation_set_position",
+ "skeleton_attachment_create",
+ "skeleton_attachment_create_color",
+ "skeleton_attachment_create_colour",
+ "skeleton_attachment_destroy",
+ "skeleton_attachment_exists",
+ "skeleton_attachment_get",
+ "skeleton_attachment_replace",
+ "skeleton_attachment_replace_color",
+ "skeleton_attachment_replace_colour",
+ "skeleton_attachment_set",
+ "skeleton_bone_data_get",
+ "skeleton_bone_data_set",
+ "skeleton_bone_list",
+ "skeleton_bone_state_get",
+ "skeleton_bone_state_set",
+ "skeleton_collision_draw_set",
+ "skeleton_find_slot",
+ "skeleton_get_bounds",
+ "skeleton_get_minmax",
+ "skeleton_get_num_bounds",
+ "skeleton_skin_create",
+ "skeleton_skin_get",
+ "skeleton_skin_list",
+ "skeleton_skin_set",
+ "skeleton_slot_alpha_get",
+ "skeleton_slot_color_get",
+ "skeleton_slot_color_set",
+ "skeleton_slot_colour_get",
+ "skeleton_slot_colour_set",
+ "skeleton_slot_data",
+ "skeleton_slot_data_instance",
+ "skeleton_slot_list",
+ "sprite_add",
+ "sprite_add_ext",
+ "sprite_add_from_surface",
+ "sprite_assign",
+ "sprite_collision_mask",
+ "sprite_create_from_surface",
+ "sprite_delete",
+ "sprite_duplicate",
+ "sprite_exists",
+ "sprite_flush",
+ "sprite_flush_multi",
+ "sprite_get_bbox_bottom",
+ "sprite_get_bbox_left",
+ "sprite_get_bbox_mode",
+ "sprite_get_bbox_right",
+ "sprite_get_bbox_top",
+ "sprite_get_height",
+ "sprite_get_info",
+ "sprite_get_name",
+ "sprite_get_nineslice",
+ "sprite_get_number",
+ "sprite_get_speed",
+ "sprite_get_speed_type",
+ "sprite_get_texture",
+ "sprite_get_tpe",
+ "sprite_get_uvs",
+ "sprite_get_width",
+ "sprite_get_xoffset",
+ "sprite_get_yoffset",
+ "sprite_merge",
+ "sprite_nineslice_create",
+ "sprite_prefetch",
+ "sprite_prefetch_multi",
+ "sprite_replace",
+ "sprite_save",
+ "sprite_save_strip",
+ "sprite_set_alpha_from_sprite",
+ "sprite_set_bbox",
+ "sprite_set_bbox_mode",
+ "sprite_set_cache_size",
+ "sprite_set_cache_size_ext",
+ "sprite_set_nineslice",
+ "sprite_set_offset",
+ "sprite_set_speed",
+ "sqr",
+ "sqrt",
+ "static_get",
+ "static_set",
+ "string",
+ "string_byte_at",
+ "string_byte_length",
+ "string_char_at",
+ "string_concat",
+ "string_concat_ext",
+ "string_copy",
+ "string_count",
+ "string_delete",
+ "string_digits",
+ "string_ends_with",
+ "string_ext",
+ "string_foreach",
+ "string_format",
+ "string_hash_to_newline",
+ "string_height",
+ "string_height_ext",
+ "string_insert",
+ "string_join",
+ "string_join_ext",
+ "string_last_pos",
+ "string_last_pos_ext",
+ "string_length",
+ "string_letters",
+ "string_lettersdigits",
+ "string_lower",
+ "string_ord_at",
+ "string_pos",
+ "string_pos_ext",
+ "string_repeat",
+ "string_replace",
+ "string_replace_all",
+ "string_set_byte_at",
+ "string_split",
+ "string_split_ext",
+ "string_starts_with",
+ "string_trim",
+ "string_trim_end",
+ "string_trim_start",
+ "string_upper",
+ "string_width",
+ "string_width_ext",
+ "struct_exists",
+ "struct_foreach",
+ "struct_get",
+ "struct_get_from_hash",
+ "struct_get_names",
+ "struct_names_count",
+ "struct_remove",
+ "struct_set",
+ "struct_set_from_hash",
+ "surface_copy",
+ "surface_copy_part",
+ "surface_create",
+ "surface_create_ext",
+ "surface_depth_disable",
+ "surface_exists",
+ "surface_format_is_supported",
+ "surface_free",
+ "surface_get_depth_disable",
+ "surface_get_format",
+ "surface_get_height",
+ "surface_get_target",
+ "surface_get_target_ext",
+ "surface_get_texture",
+ "surface_get_width",
+ "surface_getpixel",
+ "surface_getpixel_ext",
+ "surface_reset_target",
+ "surface_resize",
+ "surface_save",
+ "surface_save_part",
+ "surface_set_target",
+ "surface_set_target_ext",
+ "tag_get_asset_ids",
+ "tag_get_assets",
+ "tan",
+ "texture_debug_messages",
+ "texture_flush",
+ "texture_get_height",
+ "texture_get_texel_height",
+ "texture_get_texel_width",
+ "texture_get_uvs",
+ "texture_get_width",
+ "texture_global_scale",
+ "texture_is_ready",
+ "texture_prefetch",
+ "texture_set_stage",
+ "texturegroup_get_fonts",
+ "texturegroup_get_names",
+ "texturegroup_get_sprites",
+ "texturegroup_get_status",
+ "texturegroup_get_textures",
+ "texturegroup_get_tilesets",
+ "texturegroup_load",
+ "texturegroup_set_mode",
+ "texturegroup_unload",
+ "tile_get_empty",
+ "tile_get_flip",
+ "tile_get_index",
+ "tile_get_mirror",
+ "tile_get_rotate",
+ "tile_set_empty",
+ "tile_set_flip",
+ "tile_set_index",
+ "tile_set_mirror",
+ "tile_set_rotate",
+ "tilemap_clear",
+ "tilemap_get",
+ "tilemap_get_at_pixel",
+ "tilemap_get_cell_x_at_pixel",
+ "tilemap_get_cell_y_at_pixel",
+ "tilemap_get_frame",
+ "tilemap_get_global_mask",
+ "tilemap_get_height",
+ "tilemap_get_mask",
+ "tilemap_get_tile_height",
+ "tilemap_get_tile_width",
+ "tilemap_get_tileset",
+ "tilemap_get_width",
+ "tilemap_get_x",
+ "tilemap_get_y",
+ "tilemap_set",
+ "tilemap_set_at_pixel",
+ "tilemap_set_global_mask",
+ "tilemap_set_height",
+ "tilemap_set_mask",
+ "tilemap_set_width",
+ "tilemap_tileset",
+ "tilemap_x",
+ "tilemap_y",
+ "tileset_get_info",
+ "tileset_get_name",
+ "tileset_get_texture",
+ "tileset_get_uvs",
+ "time_bpm_to_seconds",
+ "time_seconds_to_bpm",
+ "time_source_create",
+ "time_source_destroy",
+ "time_source_exists",
+ "time_source_get_children",
+ "time_source_get_parent",
+ "time_source_get_period",
+ "time_source_get_reps_completed",
+ "time_source_get_reps_remaining",
+ "time_source_get_state",
+ "time_source_get_time_remaining",
+ "time_source_get_units",
+ "time_source_pause",
+ "time_source_reconfigure",
+ "time_source_reset",
+ "time_source_resume",
+ "time_source_start",
+ "time_source_stop",
+ "timeline_add",
+ "timeline_clear",
+ "timeline_delete",
+ "timeline_exists",
+ "timeline_get_name",
+ "timeline_max_moment",
+ "timeline_moment_add_script",
+ "timeline_moment_clear",
+ "timeline_size",
+ "typeof",
+ "url_get_domain",
+ "url_open",
+ "url_open_ext",
+ "url_open_full",
+ "uwp_device_touchscreen_available",
+ "uwp_livetile_badge_clear",
+ "uwp_livetile_badge_notification",
+ "uwp_livetile_notification_begin",
+ "uwp_livetile_notification_end",
+ "uwp_livetile_notification_expiry",
+ "uwp_livetile_notification_image_add",
+ "uwp_livetile_notification_secondary_begin",
+ "uwp_livetile_notification_tag",
+ "uwp_livetile_notification_template_add",
+ "uwp_livetile_notification_text_add",
+ "uwp_livetile_queue_enable",
+ "uwp_livetile_tile_clear",
+ "uwp_secondarytile_badge_clear",
+ "uwp_secondarytile_badge_notification",
+ "uwp_secondarytile_delete",
+ "uwp_secondarytile_pin",
+ "uwp_secondarytile_tile_clear",
+ "variable_clone",
+ "variable_get_hash",
+ "variable_global_exists",
+ "variable_global_get",
+ "variable_global_set",
+ "variable_instance_exists",
+ "variable_instance_get",
+ "variable_instance_get_names",
+ "variable_instance_names_count",
+ "variable_instance_set",
+ "variable_struct_exists",
+ "variable_struct_get",
+ "variable_struct_get_names",
+ "variable_struct_names_count",
+ "variable_struct_remove",
+ "variable_struct_set",
+ "vertex_argb",
+ "vertex_begin",
+ "vertex_color",
+ "vertex_colour",
+ "vertex_create_buffer",
+ "vertex_create_buffer_ext",
+ "vertex_create_buffer_from_buffer",
+ "vertex_create_buffer_from_buffer_ext",
+ "vertex_delete_buffer",
+ "vertex_end",
+ "vertex_float1",
+ "vertex_float2",
+ "vertex_float3",
+ "vertex_float4",
+ "vertex_format_add_color",
+ "vertex_format_add_colour",
+ "vertex_format_add_custom",
+ "vertex_format_add_normal",
+ "vertex_format_add_position",
+ "vertex_format_add_position_3d",
+ "vertex_format_add_texcoord",
+ "vertex_format_begin",
+ "vertex_format_delete",
+ "vertex_format_end",
+ "vertex_format_get_info",
+ "vertex_freeze",
+ "vertex_get_buffer_size",
+ "vertex_get_number",
+ "vertex_normal",
+ "vertex_position",
+ "vertex_position_3d",
+ "vertex_submit",
+ "vertex_submit_ext",
+ "vertex_texcoord",
+ "vertex_ubyte4",
+ "vertex_update_buffer_from_buffer",
+ "vertex_update_buffer_from_vertex",
+ "video_close",
+ "video_draw",
+ "video_enable_loop",
+ "video_get_duration",
+ "video_get_format",
+ "video_get_position",
+ "video_get_status",
+ "video_get_volume",
+ "video_is_looping",
+ "video_open",
+ "video_pause",
+ "video_resume",
+ "video_seek_to",
+ "video_set_volume",
+ "view_get_camera",
+ "view_get_hport",
+ "view_get_surface_id",
+ "view_get_visible",
+ "view_get_wport",
+ "view_get_xport",
+ "view_get_yport",
+ "view_set_camera",
+ "view_set_hport",
+ "view_set_surface_id",
+ "view_set_visible",
+ "view_set_wport",
+ "view_set_xport",
+ "view_set_yport",
+ "virtual_key_add",
+ "virtual_key_delete",
+ "virtual_key_hide",
+ "virtual_key_show",
+ "wallpaper_set_config",
+ "wallpaper_set_subscriptions",
+ "weak_ref_alive",
+ "weak_ref_any_alive",
+ "weak_ref_create",
+ "window_center",
+ "window_device",
+ "window_enable_borderless_fullscreen",
+ "window_get_borderless_fullscreen",
+ "window_get_caption",
+ "window_get_color",
+ "window_get_colour",
+ "window_get_cursor",
+ "window_get_fullscreen",
+ "window_get_height",
+ "window_get_showborder",
+ "window_get_visible_rects",
+ "window_get_width",
+ "window_get_x",
+ "window_get_y",
+ "window_handle",
+ "window_has_focus",
+ "window_mouse_get_delta_x",
+ "window_mouse_get_delta_y",
+ "window_mouse_get_locked",
+ "window_mouse_get_x",
+ "window_mouse_get_y",
+ "window_mouse_set",
+ "window_mouse_set_locked",
+ "window_set_caption",
+ "window_set_color",
+ "window_set_colour",
+ "window_set_cursor",
+ "window_set_fullscreen",
+ "window_set_max_height",
+ "window_set_max_width",
+ "window_set_min_height",
+ "window_set_min_width",
+ "window_set_position",
+ "window_set_rectangle",
+ "window_set_showborder",
+ "window_set_size",
+ "window_view_mouse_get_x",
+ "window_view_mouse_get_y",
+ "window_views_mouse_get_x",
+ "window_views_mouse_get_y",
+ "winphone_tile_background_color",
+ "winphone_tile_background_colour",
+ "zip_add_file",
+ "zip_create",
+ "zip_save",
+ "zip_unzip",
+ "zip_unzip_async"
+ ];
+ const SYMBOLS = [
+ "AudioEffect",
+ "AudioEffectType",
+ "AudioLFOType",
+ "GM_build_date",
+ "GM_build_type",
+ "GM_is_sandboxed",
+ "GM_project_filename",
+ "GM_runtime_version",
+ "GM_version",
+ "NaN",
+ "_GMFILE_",
+ "_GMFUNCTION_",
+ "_GMLINE_",
+ "alignmentH",
+ "alignmentV",
+ "all",
+ "animcurvetype_bezier",
+ "animcurvetype_catmullrom",
+ "animcurvetype_linear",
+ "asset_animationcurve",
+ "asset_font",
+ "asset_object",
+ "asset_path",
+ "asset_room",
+ "asset_script",
+ "asset_sequence",
+ "asset_shader",
+ "asset_sound",
+ "asset_sprite",
+ "asset_tiles",
+ "asset_timeline",
+ "asset_unknown",
+ "audio_3D",
+ "audio_bus_main",
+ "audio_falloff_exponent_distance",
+ "audio_falloff_exponent_distance_clamped",
+ "audio_falloff_exponent_distance_scaled",
+ "audio_falloff_inverse_distance",
+ "audio_falloff_inverse_distance_clamped",
+ "audio_falloff_inverse_distance_scaled",
+ "audio_falloff_linear_distance",
+ "audio_falloff_linear_distance_clamped",
+ "audio_falloff_none",
+ "audio_mono",
+ "audio_stereo",
+ "bboxkind_diamond",
+ "bboxkind_ellipse",
+ "bboxkind_precise",
+ "bboxkind_rectangular",
+ "bboxmode_automatic",
+ "bboxmode_fullimage",
+ "bboxmode_manual",
+ "bm_add",
+ "bm_dest_alpha",
+ "bm_dest_color",
+ "bm_dest_colour",
+ "bm_inv_dest_alpha",
+ "bm_inv_dest_color",
+ "bm_inv_dest_colour",
+ "bm_inv_src_alpha",
+ "bm_inv_src_color",
+ "bm_inv_src_colour",
+ "bm_max",
+ "bm_normal",
+ "bm_one",
+ "bm_src_alpha",
+ "bm_src_alpha_sat",
+ "bm_src_color",
+ "bm_src_colour",
+ "bm_subtract",
+ "bm_zero",
+ "browser_chrome",
+ "browser_edge",
+ "browser_firefox",
+ "browser_ie",
+ "browser_ie_mobile",
+ "browser_not_a_browser",
+ "browser_opera",
+ "browser_safari",
+ "browser_safari_mobile",
+ "browser_tizen",
+ "browser_unknown",
+ "browser_windows_store",
+ "buffer_bool",
+ "buffer_f16",
+ "buffer_f32",
+ "buffer_f64",
+ "buffer_fast",
+ "buffer_fixed",
+ "buffer_grow",
+ "buffer_s16",
+ "buffer_s32",
+ "buffer_s8",
+ "buffer_seek_end",
+ "buffer_seek_relative",
+ "buffer_seek_start",
+ "buffer_string",
+ "buffer_text",
+ "buffer_u16",
+ "buffer_u32",
+ "buffer_u64",
+ "buffer_u8",
+ "buffer_vbuffer",
+ "buffer_wrap",
+ "c_aqua",
+ "c_black",
+ "c_blue",
+ "c_dkgray",
+ "c_dkgrey",
+ "c_fuchsia",
+ "c_gray",
+ "c_green",
+ "c_grey",
+ "c_lime",
+ "c_ltgray",
+ "c_ltgrey",
+ "c_maroon",
+ "c_navy",
+ "c_olive",
+ "c_orange",
+ "c_purple",
+ "c_red",
+ "c_silver",
+ "c_teal",
+ "c_white",
+ "c_yellow",
+ "cache_directory",
+ "characterSpacing",
+ "cmpfunc_always",
+ "cmpfunc_equal",
+ "cmpfunc_greater",
+ "cmpfunc_greaterequal",
+ "cmpfunc_less",
+ "cmpfunc_lessequal",
+ "cmpfunc_never",
+ "cmpfunc_notequal",
+ "coreColor",
+ "coreColour",
+ "cr_appstart",
+ "cr_arrow",
+ "cr_beam",
+ "cr_cross",
+ "cr_default",
+ "cr_drag",
+ "cr_handpoint",
+ "cr_hourglass",
+ "cr_none",
+ "cr_size_all",
+ "cr_size_nesw",
+ "cr_size_ns",
+ "cr_size_nwse",
+ "cr_size_we",
+ "cr_uparrow",
+ "cull_clockwise",
+ "cull_counterclockwise",
+ "cull_noculling",
+ "device_emulator",
+ "device_ios_ipad",
+ "device_ios_ipad_retina",
+ "device_ios_iphone",
+ "device_ios_iphone5",
+ "device_ios_iphone6",
+ "device_ios_iphone6plus",
+ "device_ios_iphone_retina",
+ "device_ios_unknown",
+ "device_tablet",
+ "display_landscape",
+ "display_landscape_flipped",
+ "display_portrait",
+ "display_portrait_flipped",
+ "dll_cdecl",
+ "dll_stdcall",
+ "dropShadowEnabled",
+ "dropShadowEnabled",
+ "ds_type_grid",
+ "ds_type_list",
+ "ds_type_map",
+ "ds_type_priority",
+ "ds_type_queue",
+ "ds_type_stack",
+ "ef_cloud",
+ "ef_ellipse",
+ "ef_explosion",
+ "ef_firework",
+ "ef_flare",
+ "ef_rain",
+ "ef_ring",
+ "ef_smoke",
+ "ef_smokeup",
+ "ef_snow",
+ "ef_spark",
+ "ef_star",
+ "effectsEnabled",
+ "effectsEnabled",
+ "ev_alarm",
+ "ev_animation_end",
+ "ev_animation_event",
+ "ev_animation_update",
+ "ev_async_audio_playback",
+ "ev_async_audio_playback_ended",
+ "ev_async_audio_recording",
+ "ev_async_dialog",
+ "ev_async_push_notification",
+ "ev_async_save_load",
+ "ev_async_save_load",
+ "ev_async_social",
+ "ev_async_system_event",
+ "ev_async_web",
+ "ev_async_web_cloud",
+ "ev_async_web_iap",
+ "ev_async_web_image_load",
+ "ev_async_web_networking",
+ "ev_async_web_steam",
+ "ev_audio_playback",
+ "ev_audio_playback_ended",
+ "ev_audio_recording",
+ "ev_boundary",
+ "ev_boundary_view0",
+ "ev_boundary_view1",
+ "ev_boundary_view2",
+ "ev_boundary_view3",
+ "ev_boundary_view4",
+ "ev_boundary_view5",
+ "ev_boundary_view6",
+ "ev_boundary_view7",
+ "ev_broadcast_message",
+ "ev_cleanup",
+ "ev_collision",
+ "ev_create",
+ "ev_destroy",
+ "ev_dialog_async",
+ "ev_draw",
+ "ev_draw_begin",
+ "ev_draw_end",
+ "ev_draw_normal",
+ "ev_draw_post",
+ "ev_draw_pre",
+ "ev_end_of_path",
+ "ev_game_end",
+ "ev_game_start",
+ "ev_gesture",
+ "ev_gesture_double_tap",
+ "ev_gesture_drag_end",
+ "ev_gesture_drag_start",
+ "ev_gesture_dragging",
+ "ev_gesture_flick",
+ "ev_gesture_pinch_end",
+ "ev_gesture_pinch_in",
+ "ev_gesture_pinch_out",
+ "ev_gesture_pinch_start",
+ "ev_gesture_rotate_end",
+ "ev_gesture_rotate_start",
+ "ev_gesture_rotating",
+ "ev_gesture_tap",
+ "ev_global_gesture_double_tap",
+ "ev_global_gesture_drag_end",
+ "ev_global_gesture_drag_start",
+ "ev_global_gesture_dragging",
+ "ev_global_gesture_flick",
+ "ev_global_gesture_pinch_end",
+ "ev_global_gesture_pinch_in",
+ "ev_global_gesture_pinch_out",
+ "ev_global_gesture_pinch_start",
+ "ev_global_gesture_rotate_end",
+ "ev_global_gesture_rotate_start",
+ "ev_global_gesture_rotating",
+ "ev_global_gesture_tap",
+ "ev_global_left_button",
+ "ev_global_left_press",
+ "ev_global_left_release",
+ "ev_global_middle_button",
+ "ev_global_middle_press",
+ "ev_global_middle_release",
+ "ev_global_right_button",
+ "ev_global_right_press",
+ "ev_global_right_release",
+ "ev_gui",
+ "ev_gui_begin",
+ "ev_gui_end",
+ "ev_joystick1_button1",
+ "ev_joystick1_button2",
+ "ev_joystick1_button3",
+ "ev_joystick1_button4",
+ "ev_joystick1_button5",
+ "ev_joystick1_button6",
+ "ev_joystick1_button7",
+ "ev_joystick1_button8",
+ "ev_joystick1_down",
+ "ev_joystick1_left",
+ "ev_joystick1_right",
+ "ev_joystick1_up",
+ "ev_joystick2_button1",
+ "ev_joystick2_button2",
+ "ev_joystick2_button3",
+ "ev_joystick2_button4",
+ "ev_joystick2_button5",
+ "ev_joystick2_button6",
+ "ev_joystick2_button7",
+ "ev_joystick2_button8",
+ "ev_joystick2_down",
+ "ev_joystick2_left",
+ "ev_joystick2_right",
+ "ev_joystick2_up",
+ "ev_keyboard",
+ "ev_keypress",
+ "ev_keyrelease",
+ "ev_left_button",
+ "ev_left_press",
+ "ev_left_release",
+ "ev_middle_button",
+ "ev_middle_press",
+ "ev_middle_release",
+ "ev_mouse",
+ "ev_mouse_enter",
+ "ev_mouse_leave",
+ "ev_mouse_wheel_down",
+ "ev_mouse_wheel_up",
+ "ev_no_button",
+ "ev_no_more_health",
+ "ev_no_more_lives",
+ "ev_other",
+ "ev_outside",
+ "ev_outside_view0",
+ "ev_outside_view1",
+ "ev_outside_view2",
+ "ev_outside_view3",
+ "ev_outside_view4",
+ "ev_outside_view5",
+ "ev_outside_view6",
+ "ev_outside_view7",
+ "ev_pre_create",
+ "ev_push_notification",
+ "ev_right_button",
+ "ev_right_press",
+ "ev_right_release",
+ "ev_room_end",
+ "ev_room_start",
+ "ev_social",
+ "ev_step",
+ "ev_step_begin",
+ "ev_step_end",
+ "ev_step_normal",
+ "ev_system_event",
+ "ev_trigger",
+ "ev_user0",
+ "ev_user1",
+ "ev_user10",
+ "ev_user11",
+ "ev_user12",
+ "ev_user13",
+ "ev_user14",
+ "ev_user15",
+ "ev_user2",
+ "ev_user3",
+ "ev_user4",
+ "ev_user5",
+ "ev_user6",
+ "ev_user7",
+ "ev_user8",
+ "ev_user9",
+ "ev_web_async",
+ "ev_web_cloud",
+ "ev_web_iap",
+ "ev_web_image_load",
+ "ev_web_networking",
+ "ev_web_sound_load",
+ "ev_web_steam",
+ "fa_archive",
+ "fa_bottom",
+ "fa_center",
+ "fa_directory",
+ "fa_hidden",
+ "fa_left",
+ "fa_middle",
+ "fa_none",
+ "fa_readonly",
+ "fa_right",
+ "fa_sysfile",
+ "fa_top",
+ "fa_volumeid",
+ "false",
+ "frameSizeX",
+ "frameSizeY",
+ "gamespeed_fps",
+ "gamespeed_microseconds",
+ "global",
+ "glowColor",
+ "glowColour",
+ "glowEnabled",
+ "glowEnabled",
+ "glowEnd",
+ "glowStart",
+ "gp_axis_acceleration_x",
+ "gp_axis_acceleration_y",
+ "gp_axis_acceleration_z",
+ "gp_axis_angular_velocity_x",
+ "gp_axis_angular_velocity_y",
+ "gp_axis_angular_velocity_z",
+ "gp_axis_orientation_w",
+ "gp_axis_orientation_x",
+ "gp_axis_orientation_y",
+ "gp_axis_orientation_z",
+ "gp_axislh",
+ "gp_axislv",
+ "gp_axisrh",
+ "gp_axisrv",
+ "gp_face1",
+ "gp_face2",
+ "gp_face3",
+ "gp_face4",
+ "gp_padd",
+ "gp_padl",
+ "gp_padr",
+ "gp_padu",
+ "gp_select",
+ "gp_shoulderl",
+ "gp_shoulderlb",
+ "gp_shoulderr",
+ "gp_shoulderrb",
+ "gp_start",
+ "gp_stickl",
+ "gp_stickr",
+ "iap_available",
+ "iap_canceled",
+ "iap_ev_consume",
+ "iap_ev_product",
+ "iap_ev_purchase",
+ "iap_ev_restore",
+ "iap_ev_storeload",
+ "iap_failed",
+ "iap_purchased",
+ "iap_refunded",
+ "iap_status_available",
+ "iap_status_loading",
+ "iap_status_processing",
+ "iap_status_restoring",
+ "iap_status_unavailable",
+ "iap_status_uninitialised",
+ "iap_storeload_failed",
+ "iap_storeload_ok",
+ "iap_unavailable",
+ "infinity",
+ "kbv_autocapitalize_characters",
+ "kbv_autocapitalize_none",
+ "kbv_autocapitalize_sentences",
+ "kbv_autocapitalize_words",
+ "kbv_returnkey_continue",
+ "kbv_returnkey_default",
+ "kbv_returnkey_done",
+ "kbv_returnkey_emergency",
+ "kbv_returnkey_go",
+ "kbv_returnkey_google",
+ "kbv_returnkey_join",
+ "kbv_returnkey_next",
+ "kbv_returnkey_route",
+ "kbv_returnkey_search",
+ "kbv_returnkey_send",
+ "kbv_returnkey_yahoo",
+ "kbv_type_ascii",
+ "kbv_type_default",
+ "kbv_type_email",
+ "kbv_type_numbers",
+ "kbv_type_phone",
+ "kbv_type_phone_name",
+ "kbv_type_url",
+ "layerelementtype_background",
+ "layerelementtype_instance",
+ "layerelementtype_oldtilemap",
+ "layerelementtype_particlesystem",
+ "layerelementtype_sequence",
+ "layerelementtype_sprite",
+ "layerelementtype_tile",
+ "layerelementtype_tilemap",
+ "layerelementtype_undefined",
+ "leaderboard_type_number",
+ "leaderboard_type_time_mins_secs",
+ "lighttype_dir",
+ "lighttype_point",
+ "lineSpacing",
+ "m_axisx",
+ "m_axisx_gui",
+ "m_axisy",
+ "m_axisy_gui",
+ "m_scroll_down",
+ "m_scroll_up",
+ "matrix_projection",
+ "matrix_view",
+ "matrix_world",
+ "mb_any",
+ "mb_left",
+ "mb_middle",
+ "mb_none",
+ "mb_right",
+ "mb_side1",
+ "mb_side2",
+ "mip_markedonly",
+ "mip_off",
+ "mip_on",
+ "network_config_avoid_time_wait",
+ "network_config_connect_timeout",
+ "network_config_disable_multicast",
+ "network_config_disable_reliable_udp",
+ "network_config_enable_multicast",
+ "network_config_enable_reliable_udp",
+ "network_config_use_non_blocking_socket",
+ "network_config_websocket_protocol",
+ "network_connect_active",
+ "network_connect_blocking",
+ "network_connect_nonblocking",
+ "network_connect_none",
+ "network_connect_passive",
+ "network_send_binary",
+ "network_send_text",
+ "network_socket_bluetooth",
+ "network_socket_tcp",
+ "network_socket_udp",
+ "network_socket_ws",
+ "network_socket_wss",
+ "network_type_connect",
+ "network_type_data",
+ "network_type_disconnect",
+ "network_type_down",
+ "network_type_non_blocking_connect",
+ "network_type_up",
+ "network_type_up_failed",
+ "nineslice_blank",
+ "nineslice_bottom",
+ "nineslice_center",
+ "nineslice_centre",
+ "nineslice_hide",
+ "nineslice_left",
+ "nineslice_mirror",
+ "nineslice_repeat",
+ "nineslice_right",
+ "nineslice_stretch",
+ "nineslice_top",
+ "noone",
+ "of_challenge_lose",
+ "of_challenge_tie",
+ "of_challenge_win",
+ "os_android",
+ "os_gdk",
+ "os_gxgames",
+ "os_ios",
+ "os_linux",
+ "os_macosx",
+ "os_operagx",
+ "os_permission_denied",
+ "os_permission_denied_dont_request",
+ "os_permission_granted",
+ "os_ps3",
+ "os_ps4",
+ "os_ps5",
+ "os_psvita",
+ "os_switch",
+ "os_tvos",
+ "os_unknown",
+ "os_uwp",
+ "os_win8native",
+ "os_windows",
+ "os_winphone",
+ "os_xboxone",
+ "os_xboxseriesxs",
+ "other",
+ "outlineColor",
+ "outlineColour",
+ "outlineDist",
+ "outlineEnabled",
+ "outlineEnabled",
+ "paragraphSpacing",
+ "path_action_continue",
+ "path_action_restart",
+ "path_action_reverse",
+ "path_action_stop",
+ "phy_debug_render_aabb",
+ "phy_debug_render_collision_pairs",
+ "phy_debug_render_coms",
+ "phy_debug_render_core_shapes",
+ "phy_debug_render_joints",
+ "phy_debug_render_obb",
+ "phy_debug_render_shapes",
+ "phy_joint_anchor_1_x",
+ "phy_joint_anchor_1_y",
+ "phy_joint_anchor_2_x",
+ "phy_joint_anchor_2_y",
+ "phy_joint_angle",
+ "phy_joint_angle_limits",
+ "phy_joint_damping_ratio",
+ "phy_joint_frequency",
+ "phy_joint_length_1",
+ "phy_joint_length_2",
+ "phy_joint_lower_angle_limit",
+ "phy_joint_max_force",
+ "phy_joint_max_length",
+ "phy_joint_max_motor_force",
+ "phy_joint_max_motor_torque",
+ "phy_joint_max_torque",
+ "phy_joint_motor_force",
+ "phy_joint_motor_speed",
+ "phy_joint_motor_torque",
+ "phy_joint_reaction_force_x",
+ "phy_joint_reaction_force_y",
+ "phy_joint_reaction_torque",
+ "phy_joint_speed",
+ "phy_joint_translation",
+ "phy_joint_upper_angle_limit",
+ "phy_particle_data_flag_category",
+ "phy_particle_data_flag_color",
+ "phy_particle_data_flag_colour",
+ "phy_particle_data_flag_position",
+ "phy_particle_data_flag_typeflags",
+ "phy_particle_data_flag_velocity",
+ "phy_particle_flag_colormixing",
+ "phy_particle_flag_colourmixing",
+ "phy_particle_flag_elastic",
+ "phy_particle_flag_powder",
+ "phy_particle_flag_spring",
+ "phy_particle_flag_tensile",
+ "phy_particle_flag_viscous",
+ "phy_particle_flag_wall",
+ "phy_particle_flag_water",
+ "phy_particle_flag_zombie",
+ "phy_particle_group_flag_rigid",
+ "phy_particle_group_flag_solid",
+ "pi",
+ "pointer_invalid",
+ "pointer_null",
+ "pr_linelist",
+ "pr_linestrip",
+ "pr_pointlist",
+ "pr_trianglefan",
+ "pr_trianglelist",
+ "pr_trianglestrip",
+ "ps_distr_gaussian",
+ "ps_distr_invgaussian",
+ "ps_distr_linear",
+ "ps_mode_burst",
+ "ps_mode_stream",
+ "ps_shape_diamond",
+ "ps_shape_ellipse",
+ "ps_shape_line",
+ "ps_shape_rectangle",
+ "pt_shape_circle",
+ "pt_shape_cloud",
+ "pt_shape_disk",
+ "pt_shape_explosion",
+ "pt_shape_flare",
+ "pt_shape_line",
+ "pt_shape_pixel",
+ "pt_shape_ring",
+ "pt_shape_smoke",
+ "pt_shape_snow",
+ "pt_shape_spark",
+ "pt_shape_sphere",
+ "pt_shape_square",
+ "pt_shape_star",
+ "rollback_chat_message",
+ "rollback_connect_error",
+ "rollback_connect_info",
+ "rollback_connected_to_peer",
+ "rollback_connection_rejected",
+ "rollback_disconnected_from_peer",
+ "rollback_end_game",
+ "rollback_game_full",
+ "rollback_game_info",
+ "rollback_game_interrupted",
+ "rollback_game_resumed",
+ "rollback_high_latency",
+ "rollback_player_prefs",
+ "rollback_protocol_rejected",
+ "rollback_synchronized_with_peer",
+ "rollback_synchronizing_with_peer",
+ "self",
+ "seqaudiokey_loop",
+ "seqaudiokey_oneshot",
+ "seqdir_left",
+ "seqdir_right",
+ "seqinterpolation_assign",
+ "seqinterpolation_lerp",
+ "seqplay_loop",
+ "seqplay_oneshot",
+ "seqplay_pingpong",
+ "seqtextkey_bottom",
+ "seqtextkey_center",
+ "seqtextkey_justify",
+ "seqtextkey_left",
+ "seqtextkey_middle",
+ "seqtextkey_right",
+ "seqtextkey_top",
+ "seqtracktype_audio",
+ "seqtracktype_bool",
+ "seqtracktype_clipmask",
+ "seqtracktype_clipmask_mask",
+ "seqtracktype_clipmask_subject",
+ "seqtracktype_color",
+ "seqtracktype_colour",
+ "seqtracktype_empty",
+ "seqtracktype_graphic",
+ "seqtracktype_group",
+ "seqtracktype_instance",
+ "seqtracktype_message",
+ "seqtracktype_moment",
+ "seqtracktype_particlesystem",
+ "seqtracktype_real",
+ "seqtracktype_sequence",
+ "seqtracktype_spriteframes",
+ "seqtracktype_string",
+ "seqtracktype_text",
+ "shadowColor",
+ "shadowColour",
+ "shadowOffsetX",
+ "shadowOffsetY",
+ "shadowSoftness",
+ "sprite_add_ext_error_cancelled",
+ "sprite_add_ext_error_decompressfailed",
+ "sprite_add_ext_error_loadfailed",
+ "sprite_add_ext_error_setupfailed",
+ "sprite_add_ext_error_spritenotfound",
+ "sprite_add_ext_error_unknown",
+ "spritespeed_framespergameframe",
+ "spritespeed_framespersecond",
+ "surface_r16float",
+ "surface_r32float",
+ "surface_r8unorm",
+ "surface_rg8unorm",
+ "surface_rgba16float",
+ "surface_rgba32float",
+ "surface_rgba4unorm",
+ "surface_rgba8unorm",
+ "texturegroup_status_fetched",
+ "texturegroup_status_loaded",
+ "texturegroup_status_loading",
+ "texturegroup_status_unloaded",
+ "tf_anisotropic",
+ "tf_linear",
+ "tf_point",
+ "thickness",
+ "tile_flip",
+ "tile_index_mask",
+ "tile_mirror",
+ "tile_rotate",
+ "time_source_expire_after",
+ "time_source_expire_nearest",
+ "time_source_game",
+ "time_source_global",
+ "time_source_state_active",
+ "time_source_state_initial",
+ "time_source_state_paused",
+ "time_source_state_stopped",
+ "time_source_units_frames",
+ "time_source_units_seconds",
+ "timezone_local",
+ "timezone_utc",
+ "tm_countvsyncs",
+ "tm_sleep",
+ "tm_systemtiming",
+ "true",
+ "ty_real",
+ "ty_string",
+ "undefined",
+ "vertex_type_color",
+ "vertex_type_colour",
+ "vertex_type_float1",
+ "vertex_type_float2",
+ "vertex_type_float3",
+ "vertex_type_float4",
+ "vertex_type_ubyte4",
+ "vertex_usage_binormal",
+ "vertex_usage_blendindices",
+ "vertex_usage_blendweight",
+ "vertex_usage_color",
+ "vertex_usage_colour",
+ "vertex_usage_depth",
+ "vertex_usage_fog",
+ "vertex_usage_normal",
+ "vertex_usage_position",
+ "vertex_usage_psize",
+ "vertex_usage_sample",
+ "vertex_usage_tangent",
+ "vertex_usage_texcoord",
+ "video_format_rgba",
+ "video_format_yuv",
+ "video_status_closed",
+ "video_status_paused",
+ "video_status_playing",
+ "video_status_preparing",
+ "vk_add",
+ "vk_alt",
+ "vk_anykey",
+ "vk_backspace",
+ "vk_control",
+ "vk_decimal",
+ "vk_delete",
+ "vk_divide",
+ "vk_down",
+ "vk_end",
+ "vk_enter",
+ "vk_escape",
+ "vk_f1",
+ "vk_f10",
+ "vk_f11",
+ "vk_f12",
+ "vk_f2",
+ "vk_f3",
+ "vk_f4",
+ "vk_f5",
+ "vk_f6",
+ "vk_f7",
+ "vk_f8",
+ "vk_f9",
+ "vk_home",
+ "vk_insert",
+ "vk_lalt",
+ "vk_lcontrol",
+ "vk_left",
+ "vk_lshift",
+ "vk_multiply",
+ "vk_nokey",
+ "vk_numpad0",
+ "vk_numpad1",
+ "vk_numpad2",
+ "vk_numpad3",
+ "vk_numpad4",
+ "vk_numpad5",
+ "vk_numpad6",
+ "vk_numpad7",
+ "vk_numpad8",
+ "vk_numpad9",
+ "vk_pagedown",
+ "vk_pageup",
+ "vk_pause",
+ "vk_printscreen",
+ "vk_ralt",
+ "vk_rcontrol",
+ "vk_return",
+ "vk_right",
+ "vk_rshift",
+ "vk_shift",
+ "vk_space",
+ "vk_subtract",
+ "vk_tab",
+ "vk_up",
+ "wallpaper_config",
+ "wallpaper_subscription_data",
+ "wrap"
+ ];
+ const LANGUAGE_VARIABLES = [
+ "alarm",
+ "application_surface",
+ "argument",
+ "argument0",
+ "argument1",
+ "argument2",
+ "argument3",
+ "argument4",
+ "argument5",
+ "argument6",
+ "argument7",
+ "argument8",
+ "argument9",
+ "argument10",
+ "argument11",
+ "argument12",
+ "argument13",
+ "argument14",
+ "argument15",
+ "argument_count",
+ "async_load",
+ "background_color",
+ "background_colour",
+ "background_showcolor",
+ "background_showcolour",
+ "bbox_bottom",
+ "bbox_left",
+ "bbox_right",
+ "bbox_top",
+ "browser_height",
+ "browser_width",
+ "colour?ColourTrack",
+ "current_day",
+ "current_hour",
+ "current_minute",
+ "current_month",
+ "current_second",
+ "current_time",
+ "current_weekday",
+ "current_year",
+ "cursor_sprite",
+ "debug_mode",
+ "delta_time",
+ "depth",
+ "direction",
+ "display_aa",
+ "drawn_by_sequence",
+ "event_action",
+ "event_data",
+ "event_number",
+ "event_object",
+ "event_type",
+ "font_texture_page_size",
+ "fps",
+ "fps_real",
+ "friction",
+ "game_display_name",
+ "game_id",
+ "game_project_name",
+ "game_save_id",
+ "gravity",
+ "gravity_direction",
+ "health",
+ "hspeed",
+ "iap_data",
+ "id",
+ "image_alpha",
+ "image_angle",
+ "image_blend",
+ "image_index",
+ "image_number",
+ "image_speed",
+ "image_xscale",
+ "image_yscale",
+ "in_collision_tree",
+ "in_sequence",
+ "instance_count",
+ "instance_id",
+ "keyboard_key",
+ "keyboard_lastchar",
+ "keyboard_lastkey",
+ "keyboard_string",
+ "layer",
+ "lives",
+ "longMessage",
+ "managed",
+ "mask_index",
+ "message",
+ "mouse_button",
+ "mouse_lastbutton",
+ "mouse_x",
+ "mouse_y",
+ "object_index",
+ "os_browser",
+ "os_device",
+ "os_type",
+ "os_version",
+ "path_endaction",
+ "path_index",
+ "path_orientation",
+ "path_position",
+ "path_positionprevious",
+ "path_scale",
+ "path_speed",
+ "persistent",
+ "phy_active",
+ "phy_angular_damping",
+ "phy_angular_velocity",
+ "phy_bullet",
+ "phy_col_normal_x",
+ "phy_col_normal_y",
+ "phy_collision_points",
+ "phy_collision_x",
+ "phy_collision_y",
+ "phy_com_x",
+ "phy_com_y",
+ "phy_dynamic",
+ "phy_fixed_rotation",
+ "phy_inertia",
+ "phy_kinematic",
+ "phy_linear_damping",
+ "phy_linear_velocity_x",
+ "phy_linear_velocity_y",
+ "phy_mass",
+ "phy_position_x",
+ "phy_position_xprevious",
+ "phy_position_y",
+ "phy_position_yprevious",
+ "phy_rotation",
+ "phy_sleeping",
+ "phy_speed",
+ "phy_speed_x",
+ "phy_speed_y",
+ "player_avatar_sprite",
+ "player_avatar_url",
+ "player_id",
+ "player_local",
+ "player_type",
+ "player_user_id",
+ "program_directory",
+ "rollback_api_server",
+ "rollback_confirmed_frame",
+ "rollback_current_frame",
+ "rollback_event_id",
+ "rollback_event_param",
+ "rollback_game_running",
+ "room",
+ "room_first",
+ "room_height",
+ "room_last",
+ "room_persistent",
+ "room_speed",
+ "room_width",
+ "score",
+ "script",
+ "sequence_instance",
+ "solid",
+ "speed",
+ "sprite_height",
+ "sprite_index",
+ "sprite_width",
+ "sprite_xoffset",
+ "sprite_yoffset",
+ "stacktrace",
+ "temp_directory",
+ "timeline_index",
+ "timeline_loop",
+ "timeline_position",
+ "timeline_running",
+ "timeline_speed",
+ "view_camera",
+ "view_current",
+ "view_enabled",
+ "view_hport",
+ "view_surface_id",
+ "view_visible",
+ "view_wport",
+ "view_xport",
+ "view_yport",
+ "visible",
+ "vspeed",
+ "webgl_enabled",
+ "working_directory",
+ "x",
+ "xprevious",
+ "xstart",
+ "y",
+ "yprevious",
+ "ystart"
+ ];
+ return {
+ name: "GML",
+ case_insensitive: false,
+ // language is case-insensitive
+ keywords: {
+ keyword: KEYWORDS,
+ built_in: BUILT_INS,
+ symbol: SYMBOLS,
+ "variable.language": LANGUAGE_VARIABLES
+ },
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_NUMBER_MODE
+ ]
+ };
+ }
+ module.exports = gml;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/go.js
+ var require_go = __commonJS({
+ "node_modules/highlight.js/lib/languages/go.js"(exports, module) {
+ function go(hljs) {
+ const LITERALS = [
+ "true",
+ "false",
+ "iota",
+ "nil"
+ ];
+ const BUILT_INS = [
+ "append",
+ "cap",
+ "close",
+ "complex",
+ "copy",
+ "imag",
+ "len",
+ "make",
+ "new",
+ "panic",
+ "print",
+ "println",
+ "real",
+ "recover",
+ "delete"
+ ];
+ const TYPES = [
+ "bool",
+ "byte",
+ "complex64",
+ "complex128",
+ "error",
+ "float32",
+ "float64",
+ "int8",
+ "int16",
+ "int32",
+ "int64",
+ "string",
+ "uint8",
+ "uint16",
+ "uint32",
+ "uint64",
+ "int",
+ "uint",
+ "uintptr",
+ "rune"
+ ];
+ const KWS = [
+ "break",
+ "case",
+ "chan",
+ "const",
+ "continue",
+ "default",
+ "defer",
+ "else",
+ "fallthrough",
+ "for",
+ "func",
+ "go",
+ "goto",
+ "if",
+ "import",
+ "interface",
+ "map",
+ "package",
+ "range",
+ "return",
+ "select",
+ "struct",
+ "switch",
+ "type",
+ "var"
+ ];
+ const KEYWORDS = {
+ keyword: KWS,
+ type: TYPES,
+ literal: LITERALS,
+ built_in: BUILT_INS
+ };
+ return {
+ name: "Go",
+ aliases: ["golang"],
+ keywords: KEYWORDS,
+ illegal: "</",
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: "string",
+ variants: [
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ {
+ begin: "`",
+ end: "`"
+ }
+ ]
+ },
+ {
+ className: "number",
+ variants: [
+ {
+ match: /-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,
+ // hex without a present digit before . (making a digit afterwards required)
+ relevance: 0
+ },
+ {
+ match: /-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,
+ // hex with a present digit before . (making a digit afterwards optional)
+ relevance: 0
+ },
+ {
+ match: /-?\b0[oO](_?[0-7])*i?/,
+ // leading 0o octal
+ relevance: 0
+ },
+ {
+ match: /-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,
+ // decimal without a present digit before . (making a digit afterwards required)
+ relevance: 0
+ },
+ {
+ match: /-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,
+ // decimal with a present digit before . (making a digit afterwards optional)
+ relevance: 0
+ }
+ ]
+ },
+ {
+ begin: /:=/
+ // relevance booster
+ },
+ {
+ className: "function",
+ beginKeywords: "func",
+ end: "\\s*(\\{|$)",
+ excludeEnd: true,
+ contains: [
+ hljs.TITLE_MODE,
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ endsParent: true,
+ keywords: KEYWORDS,
+ illegal: /["']/
+ }
+ ]
+ }
+ ]
+ };
+ }
+ module.exports = go;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/golo.js
+ var require_golo = __commonJS({
+ "node_modules/highlight.js/lib/languages/golo.js"(exports, module) {
+ function golo(hljs) {
+ const KEYWORDS = [
+ "println",
+ "readln",
+ "print",
+ "import",
+ "module",
+ "function",
+ "local",
+ "return",
+ "let",
+ "var",
+ "while",
+ "for",
+ "foreach",
+ "times",
+ "in",
+ "case",
+ "when",
+ "match",
+ "with",
+ "break",
+ "continue",
+ "augment",
+ "augmentation",
+ "each",
+ "find",
+ "filter",
+ "reduce",
+ "if",
+ "then",
+ "else",
+ "otherwise",
+ "try",
+ "catch",
+ "finally",
+ "raise",
+ "throw",
+ "orIfNull",
+ "DynamicObject|10",
+ "DynamicVariable",
+ "struct",
+ "Observable",
+ "map",
+ "set",
+ "vector",
+ "list",
+ "array"
+ ];
+ return {
+ name: "Golo",
+ keywords: {
+ keyword: KEYWORDS,
+ literal: [
+ "true",
+ "false",
+ "null"
+ ]
+ },
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_NUMBER_MODE,
+ {
+ className: "meta",
+ begin: "@[A-Za-z]+"
+ }
+ ]
+ };
+ }
+ module.exports = golo;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/gradle.js
+ var require_gradle = __commonJS({
+ "node_modules/highlight.js/lib/languages/gradle.js"(exports, module) {
+ function gradle(hljs) {
+ const KEYWORDS = [
+ "task",
+ "project",
+ "allprojects",
+ "subprojects",
+ "artifacts",
+ "buildscript",
+ "configurations",
+ "dependencies",
+ "repositories",
+ "sourceSets",
+ "description",
+ "delete",
+ "from",
+ "into",
+ "include",
+ "exclude",
+ "source",
+ "classpath",
+ "destinationDir",
+ "includes",
+ "options",
+ "sourceCompatibility",
+ "targetCompatibility",
+ "group",
+ "flatDir",
+ "doLast",
+ "doFirst",
+ "flatten",
+ "todir",
+ "fromdir",
+ "ant",
+ "def",
+ "abstract",
+ "break",
+ "case",
+ "catch",
+ "continue",
+ "default",
+ "do",
+ "else",
+ "extends",
+ "final",
+ "finally",
+ "for",
+ "if",
+ "implements",
+ "instanceof",
+ "native",
+ "new",
+ "private",
+ "protected",
+ "public",
+ "return",
+ "static",
+ "switch",
+ "synchronized",
+ "throw",
+ "throws",
+ "transient",
+ "try",
+ "volatile",
+ "while",
+ "strictfp",
+ "package",
+ "import",
+ "false",
+ "null",
+ "super",
+ "this",
+ "true",
+ "antlrtask",
+ "checkstyle",
+ "codenarc",
+ "copy",
+ "boolean",
+ "byte",
+ "char",
+ "class",
+ "double",
+ "float",
+ "int",
+ "interface",
+ "long",
+ "short",
+ "void",
+ "compile",
+ "runTime",
+ "file",
+ "fileTree",
+ "abs",
+ "any",
+ "append",
+ "asList",
+ "asWritable",
+ "call",
+ "collect",
+ "compareTo",
+ "count",
+ "div",
+ "dump",
+ "each",
+ "eachByte",
+ "eachFile",
+ "eachLine",
+ "every",
+ "find",
+ "findAll",
+ "flatten",
+ "getAt",
+ "getErr",
+ "getIn",
+ "getOut",
+ "getText",
+ "grep",
+ "immutable",
+ "inject",
+ "inspect",
+ "intersect",
+ "invokeMethods",
+ "isCase",
+ "join",
+ "leftShift",
+ "minus",
+ "multiply",
+ "newInputStream",
+ "newOutputStream",
+ "newPrintWriter",
+ "newReader",
+ "newWriter",
+ "next",
+ "plus",
+ "pop",
+ "power",
+ "previous",
+ "print",
+ "println",
+ "push",
+ "putAt",
+ "read",
+ "readBytes",
+ "readLines",
+ "reverse",
+ "reverseEach",
+ "round",
+ "size",
+ "sort",
+ "splitEachLine",
+ "step",
+ "subMap",
+ "times",
+ "toInteger",
+ "toList",
+ "tokenize",
+ "upto",
+ "waitForOrKill",
+ "withPrintWriter",
+ "withReader",
+ "withStream",
+ "withWriter",
+ "withWriterAppend",
+ "write",
+ "writeLine"
+ ];
+ return {
+ name: "Gradle",
+ case_insensitive: true,
+ keywords: KEYWORDS,
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.NUMBER_MODE,
+ hljs.REGEXP_MODE
+ ]
+ };
+ }
+ module.exports = gradle;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/graphql.js
+ var require_graphql = __commonJS({
+ "node_modules/highlight.js/lib/languages/graphql.js"(exports, module) {
+ function graphql(hljs) {
+ const regex = hljs.regex;
+ const GQL_NAME = /[_A-Za-z][_0-9A-Za-z]*/;
+ return {
+ name: "GraphQL",
+ aliases: ["gql"],
+ case_insensitive: true,
+ disableAutodetect: false,
+ keywords: {
+ keyword: [
+ "query",
+ "mutation",
+ "subscription",
+ "type",
+ "input",
+ "schema",
+ "directive",
+ "interface",
+ "union",
+ "scalar",
+ "fragment",
+ "enum",
+ "on"
+ ],
+ literal: [
+ "true",
+ "false",
+ "null"
+ ]
+ },
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.NUMBER_MODE,
+ {
+ scope: "punctuation",
+ match: /[.]{3}/,
+ relevance: 0
+ },
+ {
+ scope: "punctuation",
+ begin: /[\!\(\)\:\=\[\]\{\|\}]{1}/,
+ relevance: 0
+ },
+ {
+ scope: "variable",
+ begin: /\$/,
+ end: /\W/,
+ excludeEnd: true,
+ relevance: 0
+ },
+ {
+ scope: "meta",
+ match: /@\w+/,
+ excludeEnd: true
+ },
+ {
+ scope: "symbol",
+ begin: regex.concat(GQL_NAME, regex.lookahead(/\s*:/)),
+ relevance: 0
+ }
+ ],
+ illegal: [
+ /[;<']/,
+ /BEGIN/
+ ]
+ };
+ }
+ module.exports = graphql;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/groovy.js
+ var require_groovy = __commonJS({
+ "node_modules/highlight.js/lib/languages/groovy.js"(exports, module) {
+ function variants(variants2, obj = {}) {
+ obj.variants = variants2;
+ return obj;
+ }
+ function groovy(hljs) {
+ const regex = hljs.regex;
+ const IDENT_RE = "[A-Za-z0-9_$]+";
+ const COMMENT = variants([
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.COMMENT(
+ "/\\*\\*",
+ "\\*/",
+ {
+ relevance: 0,
+ contains: [
+ {
+ // eat up @'s in emails to prevent them to be recognized as doctags
+ begin: /\w+@/,
+ relevance: 0
+ },
+ {
+ className: "doctag",
+ begin: "@[A-Za-z]+"
+ }
+ ]
+ }
+ )
+ ]);
+ const REGEXP = {
+ className: "regexp",
+ begin: /~?\/[^\/\n]+\//,
+ contains: [hljs.BACKSLASH_ESCAPE]
+ };
+ const NUMBER = variants([
+ hljs.BINARY_NUMBER_MODE,
+ hljs.C_NUMBER_MODE
+ ]);
+ const STRING = variants(
+ [
+ {
+ begin: /"""/,
+ end: /"""/
+ },
+ {
+ begin: /'''/,
+ end: /'''/
+ },
+ {
+ begin: "\\$/",
+ end: "/\\$",
+ relevance: 10
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE
+ ],
+ { className: "string" }
+ );
+ const CLASS_DEFINITION = {
+ match: [
+ /(class|interface|trait|enum|record|extends|implements)/,
+ /\s+/,
+ hljs.UNDERSCORE_IDENT_RE
+ ],
+ scope: {
+ 1: "keyword",
+ 3: "title.class"
+ }
+ };
+ const TYPES = [
+ "byte",
+ "short",
+ "char",
+ "int",
+ "long",
+ "boolean",
+ "float",
+ "double",
+ "void"
+ ];
+ const KEYWORDS = [
+ // groovy specific keywords
+ "def",
+ "as",
+ "in",
+ "assert",
+ "trait",
+ // common keywords with Java
+ "abstract",
+ "static",
+ "volatile",
+ "transient",
+ "public",
+ "private",
+ "protected",
+ "synchronized",
+ "final",
+ "class",
+ "interface",
+ "enum",
+ "if",
+ "else",
+ "for",
+ "while",
+ "switch",
+ "case",
+ "break",
+ "default",
+ "continue",
+ "throw",
+ "throws",
+ "try",
+ "catch",
+ "finally",
+ "implements",
+ "extends",
+ "new",
+ "import",
+ "package",
+ "return",
+ "instanceof",
+ "var"
+ ];
+ return {
+ name: "Groovy",
+ keywords: {
+ "variable.language": "this super",
+ literal: "true false null",
+ type: TYPES,
+ keyword: KEYWORDS
+ },
+ contains: [
+ hljs.SHEBANG({
+ binary: "groovy",
+ relevance: 10
+ }),
+ COMMENT,
+ STRING,
+ REGEXP,
+ NUMBER,
+ CLASS_DEFINITION,
+ {
+ className: "meta",
+ begin: "@[A-Za-z]+",
+ relevance: 0
+ },
+ {
+ // highlight map keys and named parameters as attrs
+ className: "attr",
+ begin: IDENT_RE + "[ ]*:",
+ relevance: 0
+ },
+ {
+ // catch middle element of the ternary operator
+ // to avoid highlight it as a label, named parameter, or map key
+ begin: /\?/,
+ end: /:/,
+ relevance: 0,
+ contains: [
+ COMMENT,
+ STRING,
+ REGEXP,
+ NUMBER,
+ "self"
+ ]
+ },
+ {
+ // highlight labeled statements
+ className: "symbol",
+ begin: "^[ ]*" + regex.lookahead(IDENT_RE + ":"),
+ excludeBegin: true,
+ end: IDENT_RE + ":",
+ relevance: 0
+ }
+ ],
+ illegal: /#|<\//
+ };
+ }
+ module.exports = groovy;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/haml.js
+ var require_haml = __commonJS({
+ "node_modules/highlight.js/lib/languages/haml.js"(exports, module) {
+ function haml(hljs) {
+ return {
+ name: "HAML",
+ case_insensitive: true,
+ contains: [
+ {
+ className: "meta",
+ begin: "^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",
+ relevance: 10
+ },
+ // FIXME these comments should be allowed to span indented lines
+ hljs.COMMENT(
+ "^\\s*(!=#|=#|-#|/).*$",
+ null,
+ { relevance: 0 }
+ ),
+ {
+ begin: "^\\s*(-|=|!=)(?!#)",
+ end: /$/,
+ subLanguage: "ruby",
+ excludeBegin: true,
+ excludeEnd: true
+ },
+ {
+ className: "tag",
+ begin: "^\\s*%",
+ contains: [
+ {
+ className: "selector-tag",
+ begin: "\\w+"
+ },
+ {
+ className: "selector-id",
+ begin: "#[\\w-]+"
+ },
+ {
+ className: "selector-class",
+ begin: "\\.[\\w-]+"
+ },
+ {
+ begin: /\{\s*/,
+ end: /\s*\}/,
+ contains: [
+ {
+ begin: ":\\w+\\s*=>",
+ end: ",\\s+",
+ returnBegin: true,
+ endsWithParent: true,
+ contains: [
+ {
+ className: "attr",
+ begin: ":\\w+"
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ {
+ begin: "\\w+",
+ relevance: 0
+ }
+ ]
+ }
+ ]
+ },
+ {
+ begin: "\\(\\s*",
+ end: "\\s*\\)",
+ excludeEnd: true,
+ contains: [
+ {
+ begin: "\\w+\\s*=",
+ end: "\\s+",
+ returnBegin: true,
+ endsWithParent: true,
+ contains: [
+ {
+ className: "attr",
+ begin: "\\w+",
+ relevance: 0
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ {
+ begin: "\\w+",
+ relevance: 0
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ { begin: "^\\s*[=~]\\s*" },
+ {
+ begin: /#\{/,
+ end: /\}/,
+ subLanguage: "ruby",
+ excludeBegin: true,
+ excludeEnd: true
+ }
+ ]
+ };
+ }
+ module.exports = haml;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/handlebars.js
+ var require_handlebars = __commonJS({
+ "node_modules/highlight.js/lib/languages/handlebars.js"(exports, module) {
+ function handlebars(hljs) {
+ const regex = hljs.regex;
+ const BUILT_INS = {
+ $pattern: /[\w.\/]+/,
+ built_in: [
+ "action",
+ "bindattr",
+ "collection",
+ "component",
+ "concat",
+ "debugger",
+ "each",
+ "each-in",
+ "get",
+ "hash",
+ "if",
+ "in",
+ "input",
+ "link-to",
+ "loc",
+ "log",
+ "lookup",
+ "mut",
+ "outlet",
+ "partial",
+ "query-params",
+ "render",
+ "template",
+ "textarea",
+ "unbound",
+ "unless",
+ "view",
+ "with",
+ "yield"
+ ]
+ };
+ const LITERALS = {
+ $pattern: /[\w.\/]+/,
+ literal: [
+ "true",
+ "false",
+ "undefined",
+ "null"
+ ]
+ };
+ const DOUBLE_QUOTED_ID_REGEX = /""|"[^"]+"/;
+ const SINGLE_QUOTED_ID_REGEX = /''|'[^']+'/;
+ const BRACKET_QUOTED_ID_REGEX = /\[\]|\[[^\]]+\]/;
+ const PLAIN_ID_REGEX = /[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/;
+ const PATH_DELIMITER_REGEX = /(\.|\/)/;
+ const ANY_ID = regex.either(
+ DOUBLE_QUOTED_ID_REGEX,
+ SINGLE_QUOTED_ID_REGEX,
+ BRACKET_QUOTED_ID_REGEX,
+ PLAIN_ID_REGEX
+ );
+ const IDENTIFIER_REGEX = regex.concat(
+ regex.optional(/\.|\.\/|\//),
+ // relative or absolute path
+ ANY_ID,
+ regex.anyNumberOfTimes(regex.concat(
+ PATH_DELIMITER_REGEX,
+ ANY_ID
+ ))
+ );
+ const HASH_PARAM_REGEX = regex.concat(
+ "(",
+ BRACKET_QUOTED_ID_REGEX,
+ "|",
+ PLAIN_ID_REGEX,
+ ")(?==)"
+ );
+ const HELPER_NAME_OR_PATH_EXPRESSION = { begin: IDENTIFIER_REGEX };
+ const HELPER_PARAMETER = hljs.inherit(HELPER_NAME_OR_PATH_EXPRESSION, { keywords: LITERALS });
+ const SUB_EXPRESSION = {
+ begin: /\(/,
+ end: /\)/
+ // the "contains" is added below when all necessary sub-modes are defined
+ };
+ const HASH = {
+ // fka "attribute-assignment", parameters of the form 'key=value'
+ className: "attr",
+ begin: HASH_PARAM_REGEX,
+ relevance: 0,
+ starts: {
+ begin: /=/,
+ end: /=/,
+ starts: { contains: [
+ hljs.NUMBER_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ HELPER_PARAMETER,
+ SUB_EXPRESSION
+ ] }
+ }
+ };
+ const BLOCK_PARAMS = {
+ // parameters of the form '{{#with x as | y |}}...{{/with}}'
+ begin: /as\s+\|/,
+ keywords: { keyword: "as" },
+ end: /\|/,
+ contains: [
+ {
+ // define sub-mode in order to prevent highlighting of block-parameter named "as"
+ begin: /\w+/
+ }
+ ]
+ };
+ const HELPER_PARAMETERS = {
+ contains: [
+ hljs.NUMBER_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ BLOCK_PARAMS,
+ HASH,
+ HELPER_PARAMETER,
+ SUB_EXPRESSION
+ ],
+ returnEnd: true
+ // the property "end" is defined through inheritance when the mode is used. If depends
+ // on the surrounding mode, but "endsWithParent" does not work here (i.e. it includes the
+ // end-token of the surrounding mode)
+ };
+ const SUB_EXPRESSION_CONTENTS = hljs.inherit(HELPER_NAME_OR_PATH_EXPRESSION, {
+ className: "name",
+ keywords: BUILT_INS,
+ starts: hljs.inherit(HELPER_PARAMETERS, { end: /\)/ })
+ });
+ SUB_EXPRESSION.contains = [SUB_EXPRESSION_CONTENTS];
+ const OPENING_BLOCK_MUSTACHE_CONTENTS = hljs.inherit(HELPER_NAME_OR_PATH_EXPRESSION, {
+ keywords: BUILT_INS,
+ className: "name",
+ starts: hljs.inherit(HELPER_PARAMETERS, { end: /\}\}/ })
+ });
+ const CLOSING_BLOCK_MUSTACHE_CONTENTS = hljs.inherit(HELPER_NAME_OR_PATH_EXPRESSION, {
+ keywords: BUILT_INS,
+ className: "name"
+ });
+ const BASIC_MUSTACHE_CONTENTS = hljs.inherit(HELPER_NAME_OR_PATH_EXPRESSION, {
+ className: "name",
+ keywords: BUILT_INS,
+ starts: hljs.inherit(HELPER_PARAMETERS, { end: /\}\}/ })
+ });
+ const ESCAPE_MUSTACHE_WITH_PRECEEDING_BACKSLASH = {
+ begin: /\\\{\{/,
+ skip: true
+ };
+ const PREVENT_ESCAPE_WITH_ANOTHER_PRECEEDING_BACKSLASH = {
+ begin: /\\\\(?=\{\{)/,
+ skip: true
+ };
+ return {
+ name: "Handlebars",
+ aliases: [
+ "hbs",
+ "html.hbs",
+ "html.handlebars",
+ "htmlbars"
+ ],
+ case_insensitive: true,
+ subLanguage: "xml",
+ contains: [
+ ESCAPE_MUSTACHE_WITH_PRECEEDING_BACKSLASH,
+ PREVENT_ESCAPE_WITH_ANOTHER_PRECEEDING_BACKSLASH,
+ hljs.COMMENT(/\{\{!--/, /--\}\}/),
+ hljs.COMMENT(/\{\{!/, /\}\}/),
+ {
+ // open raw block "{{{{raw}}}} content not evaluated {{{{/raw}}}}"
+ className: "template-tag",
+ begin: /\{\{\{\{(?!\/)/,
+ end: /\}\}\}\}/,
+ contains: [OPENING_BLOCK_MUSTACHE_CONTENTS],
+ starts: {
+ end: /\{\{\{\{\//,
+ returnEnd: true,
+ subLanguage: "xml"
+ }
+ },
+ {
+ // close raw block
+ className: "template-tag",
+ begin: /\{\{\{\{\//,
+ end: /\}\}\}\}/,
+ contains: [CLOSING_BLOCK_MUSTACHE_CONTENTS]
+ },
+ {
+ // open block statement
+ className: "template-tag",
+ begin: /\{\{#/,
+ end: /\}\}/,
+ contains: [OPENING_BLOCK_MUSTACHE_CONTENTS]
+ },
+ {
+ className: "template-tag",
+ begin: /\{\{(?=else\}\})/,
+ end: /\}\}/,
+ keywords: "else"
+ },
+ {
+ className: "template-tag",
+ begin: /\{\{(?=else if)/,
+ end: /\}\}/,
+ keywords: "else if"
+ },
+ {
+ // closing block statement
+ className: "template-tag",
+ begin: /\{\{\//,
+ end: /\}\}/,
+ contains: [CLOSING_BLOCK_MUSTACHE_CONTENTS]
+ },
+ {
+ // template variable or helper-call that is NOT html-escaped
+ className: "template-variable",
+ begin: /\{\{\{/,
+ end: /\}\}\}/,
+ contains: [BASIC_MUSTACHE_CONTENTS]
+ },
+ {
+ // template variable or helper-call that is html-escaped
+ className: "template-variable",
+ begin: /\{\{/,
+ end: /\}\}/,
+ contains: [BASIC_MUSTACHE_CONTENTS]
+ }
+ ]
+ };
+ }
+ module.exports = handlebars;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/haskell.js
+ var require_haskell = __commonJS({
+ "node_modules/highlight.js/lib/languages/haskell.js"(exports, module) {
+ function haskell(hljs) {
+ const decimalDigits = "([0-9]_*)+";
+ const hexDigits = "([0-9a-fA-F]_*)+";
+ const binaryDigits = "([01]_*)+";
+ const octalDigits = "([0-7]_*)+";
+ const ascSymbol = "[!#$%&*+.\\/<=>?@\\\\^~-]";
+ const uniSymbol = "(\\p{S}|\\p{P})";
+ const special = "[(),;\\[\\]`|{}]";
+ const symbol = `(${ascSymbol}|(?!(${special}|[_:"']))${uniSymbol})`;
+ const COMMENT = { variants: [
+ // Double dash forms a valid comment only if it's not part of legal lexeme.
+ // See: Haskell 98 report: https://www.haskell.org/onlinereport/lexemes.html
+ //
+ // The commented code does the job, but we can't use negative lookbehind,
+ // due to poor support by Safari browser.
+ // > hljs.COMMENT(`(?<!${symbol})--+(?!${symbol})`, '$'),
+ // So instead, we'll add a no-markup rule before the COMMENT rule in the rules list
+ // to match the problematic infix operators that contain double dash.
+ hljs.COMMENT("--+", "$"),
+ hljs.COMMENT(
+ /\{-/,
+ /-\}/,
+ { contains: ["self"] }
+ )
+ ] };
+ const PRAGMA = {
+ className: "meta",
+ begin: /\{-#/,
+ end: /#-\}/
+ };
+ const PREPROCESSOR = {
+ className: "meta",
+ begin: "^#",
+ end: "$"
+ };
+ const CONSTRUCTOR = {
+ className: "type",
+ begin: "\\b[A-Z][\\w']*",
+ // TODO: other constructors (build-in, infix).
+ relevance: 0
+ };
+ const LIST = {
+ begin: "\\(",
+ end: "\\)",
+ illegal: '"',
+ contains: [
+ PRAGMA,
+ PREPROCESSOR,
+ {
+ className: "type",
+ begin: "\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"
+ },
+ hljs.inherit(hljs.TITLE_MODE, { begin: "[_a-z][\\w']*" }),
+ COMMENT
+ ]
+ };
+ const RECORD = {
+ begin: /\{/,
+ end: /\}/,
+ contains: LIST.contains
+ };
+ const NUMBER = {
+ className: "number",
+ relevance: 0,
+ variants: [
+ // decimal floating-point-literal (subsumes decimal-literal)
+ { match: `\\b(${decimalDigits})(\\.(${decimalDigits}))?([eE][+-]?(${decimalDigits}))?\\b` },
+ // hexadecimal floating-point-literal (subsumes hexadecimal-literal)
+ { match: `\\b0[xX]_*(${hexDigits})(\\.(${hexDigits}))?([pP][+-]?(${decimalDigits}))?\\b` },
+ // octal-literal
+ { match: `\\b0[oO](${octalDigits})\\b` },
+ // binary-literal
+ { match: `\\b0[bB](${binaryDigits})\\b` }
+ ]
+ };
+ return {
+ name: "Haskell",
+ aliases: ["hs"],
+ keywords: "let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",
+ unicodeRegex: true,
+ contains: [
+ // Top-level constructions.
+ {
+ beginKeywords: "module",
+ end: "where",
+ keywords: "module where",
+ contains: [
+ LIST,
+ COMMENT
+ ],
+ illegal: "\\W\\.|;"
+ },
+ {
+ begin: "\\bimport\\b",
+ end: "$",
+ keywords: "import qualified as hiding",
+ contains: [
+ LIST,
+ COMMENT
+ ],
+ illegal: "\\W\\.|;"
+ },
+ {
+ className: "class",
+ begin: "^(\\s*)?(class|instance)\\b",
+ end: "where",
+ keywords: "class family instance where",
+ contains: [
+ CONSTRUCTOR,
+ LIST,
+ COMMENT
+ ]
+ },
+ {
+ className: "class",
+ begin: "\\b(data|(new)?type)\\b",
+ end: "$",
+ keywords: "data family type newtype deriving",
+ contains: [
+ PRAGMA,
+ CONSTRUCTOR,
+ LIST,
+ RECORD,
+ COMMENT
+ ]
+ },
+ {
+ beginKeywords: "default",
+ end: "$",
+ contains: [
+ CONSTRUCTOR,
+ LIST,
+ COMMENT
+ ]
+ },
+ {
+ beginKeywords: "infix infixl infixr",
+ end: "$",
+ contains: [
+ hljs.C_NUMBER_MODE,
+ COMMENT
+ ]
+ },
+ {
+ begin: "\\bforeign\\b",
+ end: "$",
+ keywords: "foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",
+ contains: [
+ CONSTRUCTOR,
+ hljs.QUOTE_STRING_MODE,
+ COMMENT
+ ]
+ },
+ {
+ className: "meta",
+ begin: "#!\\/usr\\/bin\\/env runhaskell",
+ end: "$"
+ },
+ // "Whitespaces".
+ PRAGMA,
+ PREPROCESSOR,
+ // Literals and names.
+ // Single characters.
+ {
+ scope: "string",
+ begin: /'(?=\\?.')/,
+ end: /'/,
+ contains: [
+ {
+ scope: "char.escape",
+ match: /\\./
+ }
+ ]
+ },
+ hljs.QUOTE_STRING_MODE,
+ NUMBER,
+ CONSTRUCTOR,
+ hljs.inherit(hljs.TITLE_MODE, { begin: "^[_a-z][\\w']*" }),
+ // No markup, prevents infix operators from being recognized as comments.
+ { begin: `(?!-)${symbol}--+|--+(?!-)${symbol}` },
+ COMMENT,
+ {
+ // No markup, relevance booster
+ begin: "->|<-"
+ }
+ ]
+ };
+ }
+ module.exports = haskell;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/haxe.js
+ var require_haxe = __commonJS({
+ "node_modules/highlight.js/lib/languages/haxe.js"(exports, module) {
+ function haxe(hljs) {
+ const IDENT_RE = "[a-zA-Z_$][a-zA-Z0-9_$]*";
+ const HAXE_NUMBER_RE = /(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;
+ const HAXE_BASIC_TYPES = "Int Float String Bool Dynamic Void Array ";
+ return {
+ name: "Haxe",
+ aliases: ["hx"],
+ keywords: {
+ keyword: "abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while " + HAXE_BASIC_TYPES,
+ built_in: "trace this",
+ literal: "true false null _"
+ },
+ contains: [
+ {
+ className: "string",
+ // interpolate-able strings
+ begin: "'",
+ end: "'",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ {
+ className: "subst",
+ // interpolation
+ begin: /\$\{/,
+ end: /\}/
+ },
+ {
+ className: "subst",
+ // interpolation
+ begin: /\$/,
+ end: /\W\}/
+ }
+ ]
+ },
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: "number",
+ begin: HAXE_NUMBER_RE,
+ relevance: 0
+ },
+ {
+ className: "variable",
+ begin: "\\$" + IDENT_RE
+ },
+ {
+ className: "meta",
+ // compiler meta
+ begin: /@:?/,
+ end: /\(|$/,
+ excludeEnd: true
+ },
+ {
+ className: "meta",
+ // compiler conditionals
+ begin: "#",
+ end: "$",
+ keywords: { keyword: "if else elseif end error" }
+ },
+ {
+ className: "type",
+ // function types
+ begin: /:[ \t]*/,
+ end: /[^A-Za-z0-9_ \t\->]/,
+ excludeBegin: true,
+ excludeEnd: true,
+ relevance: 0
+ },
+ {
+ className: "type",
+ // types
+ begin: /:[ \t]*/,
+ end: /\W/,
+ excludeBegin: true,
+ excludeEnd: true
+ },
+ {
+ className: "type",
+ // instantiation
+ beginKeywords: "new",
+ end: /\W/,
+ excludeBegin: true,
+ excludeEnd: true
+ },
+ {
+ className: "title.class",
+ // enums
+ beginKeywords: "enum",
+ end: /\{/,
+ contains: [hljs.TITLE_MODE]
+ },
+ {
+ className: "title.class",
+ // abstracts
+ begin: "\\babstract\\b(?=\\s*" + hljs.IDENT_RE + "\\s*\\()",
+ end: /[\{$]/,
+ contains: [
+ {
+ className: "type",
+ begin: /\(/,
+ end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true
+ },
+ {
+ className: "type",
+ begin: /from +/,
+ end: /\W/,
+ excludeBegin: true,
+ excludeEnd: true
+ },
+ {
+ className: "type",
+ begin: /to +/,
+ end: /\W/,
+ excludeBegin: true,
+ excludeEnd: true
+ },
+ hljs.TITLE_MODE
+ ],
+ keywords: { keyword: "abstract from to" }
+ },
+ {
+ className: "title.class",
+ // classes
+ begin: /\b(class|interface) +/,
+ end: /[\{$]/,
+ excludeEnd: true,
+ keywords: "class interface",
+ contains: [
+ {
+ className: "keyword",
+ begin: /\b(extends|implements) +/,
+ keywords: "extends implements",
+ contains: [
+ {
+ className: "type",
+ begin: hljs.IDENT_RE,
+ relevance: 0
+ }
+ ]
+ },
+ hljs.TITLE_MODE
+ ]
+ },
+ {
+ className: "title.function",
+ beginKeywords: "function",
+ end: /\(/,
+ excludeEnd: true,
+ illegal: /\S/,
+ contains: [hljs.TITLE_MODE]
+ }
+ ],
+ illegal: /<\//
+ };
+ }
+ module.exports = haxe;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/hsp.js
+ var require_hsp = __commonJS({
+ "node_modules/highlight.js/lib/languages/hsp.js"(exports, module) {
+ function hsp(hljs) {
+ return {
+ name: "HSP",
+ case_insensitive: true,
+ keywords: {
+ $pattern: /[\w._]+/,
+ keyword: "goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"
+ },
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ {
+ // multi-line string
+ className: "string",
+ begin: /\{"/,
+ end: /"\}/,
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ hljs.COMMENT(";", "$", { relevance: 0 }),
+ {
+ // pre-processor
+ className: "meta",
+ begin: "#",
+ end: "$",
+ keywords: { keyword: "addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib" },
+ contains: [
+ hljs.inherit(hljs.QUOTE_STRING_MODE, { className: "string" }),
+ hljs.NUMBER_MODE,
+ hljs.C_NUMBER_MODE,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ {
+ // label
+ className: "symbol",
+ begin: "^\\*(\\w+|@)"
+ },
+ hljs.NUMBER_MODE,
+ hljs.C_NUMBER_MODE
+ ]
+ };
+ }
+ module.exports = hsp;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/http.js
+ var require_http = __commonJS({
+ "node_modules/highlight.js/lib/languages/http.js"(exports, module) {
+ function http(hljs) {
+ const regex = hljs.regex;
+ const VERSION2 = "HTTP/([32]|1\\.[01])";
+ const HEADER_NAME = /[A-Za-z][A-Za-z0-9-]*/;
+ const HEADER = {
+ className: "attribute",
+ begin: regex.concat("^", HEADER_NAME, "(?=\\:\\s)"),
+ starts: { contains: [
+ {
+ className: "punctuation",
+ begin: /: /,
+ relevance: 0,
+ starts: {
+ end: "$",
+ relevance: 0
+ }
+ }
+ ] }
+ };
+ const HEADERS_AND_BODY = [
+ HEADER,
+ {
+ begin: "\\n\\n",
+ starts: {
+ subLanguage: [],
+ endsWithParent: true
+ }
+ }
+ ];
+ return {
+ name: "HTTP",
+ aliases: ["https"],
+ illegal: /\S/,
+ contains: [
+ // response
+ {
+ begin: "^(?=" + VERSION2 + " \\d{3})",
+ end: /$/,
+ contains: [
+ {
+ className: "meta",
+ begin: VERSION2
+ },
+ {
+ className: "number",
+ begin: "\\b\\d{3}\\b"
+ }
+ ],
+ starts: {
+ end: /\b\B/,
+ illegal: /\S/,
+ contains: HEADERS_AND_BODY
+ }
+ },
+ // request
+ {
+ begin: "(?=^[A-Z]+ (.*?) " + VERSION2 + "$)",
+ end: /$/,
+ contains: [
+ {
+ className: "string",
+ begin: " ",
+ end: " ",
+ excludeBegin: true,
+ excludeEnd: true
+ },
+ {
+ className: "meta",
+ begin: VERSION2
+ },
+ {
+ className: "keyword",
+ begin: "[A-Z]+"
+ }
+ ],
+ starts: {
+ end: /\b\B/,
+ illegal: /\S/,
+ contains: HEADERS_AND_BODY
+ }
+ },
+ // to allow headers to work even without a preamble
+ hljs.inherit(HEADER, { relevance: 0 })
+ ]
+ };
+ }
+ module.exports = http;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/hy.js
+ var require_hy = __commonJS({
+ "node_modules/highlight.js/lib/languages/hy.js"(exports, module) {
+ function hy(hljs) {
+ const SYMBOLSTART = "a-zA-Z_\\-!.?+*=<>&#'";
+ const SYMBOL_RE = "[" + SYMBOLSTART + "][" + SYMBOLSTART + "0-9/;:]*";
+ const keywords = {
+ $pattern: SYMBOL_RE,
+ built_in: (
+ // keywords
+ "!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"
+ )
+ };
+ const SIMPLE_NUMBER_RE = "[-+]?\\d+(\\.\\d+)?";
+ const SYMBOL = {
+ begin: SYMBOL_RE,
+ relevance: 0
+ };
+ const NUMBER = {
+ className: "number",
+ begin: SIMPLE_NUMBER_RE,
+ relevance: 0
+ };
+ const STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null });
+ const COMMENT = hljs.COMMENT(
+ ";",
+ "$",
+ { relevance: 0 }
+ );
+ const LITERAL = {
+ className: "literal",
+ begin: /\b([Tt]rue|[Ff]alse|nil|None)\b/
+ };
+ const COLLECTION = {
+ begin: "[\\[\\{]",
+ end: "[\\]\\}]",
+ relevance: 0
+ };
+ const HINT = {
+ className: "comment",
+ begin: "\\^" + SYMBOL_RE
+ };
+ const HINT_COL = hljs.COMMENT("\\^\\{", "\\}");
+ const KEY = {
+ className: "symbol",
+ begin: "[:]{1,2}" + SYMBOL_RE
+ };
+ const LIST = {
+ begin: "\\(",
+ end: "\\)"
+ };
+ const BODY = {
+ endsWithParent: true,
+ relevance: 0
+ };
+ const NAME2 = {
+ className: "name",
+ relevance: 0,
+ keywords,
+ begin: SYMBOL_RE,
+ starts: BODY
+ };
+ const DEFAULT_CONTAINS = [
+ LIST,
+ STRING,
+ HINT,
+ HINT_COL,
+ COMMENT,
+ KEY,
+ COLLECTION,
+ NUMBER,
+ LITERAL,
+ SYMBOL
+ ];
+ LIST.contains = [
+ hljs.COMMENT("comment", ""),
+ NAME2,
+ BODY
+ ];
+ BODY.contains = DEFAULT_CONTAINS;
+ COLLECTION.contains = DEFAULT_CONTAINS;
+ return {
+ name: "Hy",
+ aliases: ["hylang"],
+ illegal: /\S/,
+ contains: [
+ hljs.SHEBANG(),
+ LIST,
+ STRING,
+ HINT,
+ HINT_COL,
+ COMMENT,
+ KEY,
+ COLLECTION,
+ NUMBER,
+ LITERAL
+ ]
+ };
+ }
+ module.exports = hy;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/inform7.js
+ var require_inform7 = __commonJS({
+ "node_modules/highlight.js/lib/languages/inform7.js"(exports, module) {
+ function inform7(hljs) {
+ const START_BRACKET = "\\[";
+ const END_BRACKET = "\\]";
+ return {
+ name: "Inform 7",
+ aliases: ["i7"],
+ case_insensitive: true,
+ keywords: {
+ // Some keywords more or less unique to I7, for relevance.
+ keyword: (
+ // kind:
+ "thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"
+ )
+ },
+ contains: [
+ {
+ className: "string",
+ begin: '"',
+ end: '"',
+ relevance: 0,
+ contains: [
+ {
+ className: "subst",
+ begin: START_BRACKET,
+ end: END_BRACKET
+ }
+ ]
+ },
+ {
+ className: "section",
+ begin: /^(Volume|Book|Part|Chapter|Section|Table)\b/,
+ end: "$"
+ },
+ {
+ // Rule definition
+ // This is here for relevance.
+ begin: /^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,
+ end: ":",
+ contains: [
+ {
+ // Rule name
+ begin: "\\(This",
+ end: "\\)"
+ }
+ ]
+ },
+ {
+ className: "comment",
+ begin: START_BRACKET,
+ end: END_BRACKET,
+ contains: ["self"]
+ }
+ ]
+ };
+ }
+ module.exports = inform7;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/ini.js
+ var require_ini = __commonJS({
+ "node_modules/highlight.js/lib/languages/ini.js"(exports, module) {
+ function ini(hljs) {
+ const regex = hljs.regex;
+ const NUMBERS = {
+ className: "number",
+ relevance: 0,
+ variants: [
+ { begin: /([+-]+)?[\d]+_[\d_]+/ },
+ { begin: hljs.NUMBER_RE }
+ ]
+ };
+ const COMMENTS = hljs.COMMENT();
+ COMMENTS.variants = [
+ {
+ begin: /;/,
+ end: /$/
+ },
+ {
+ begin: /#/,
+ end: /$/
+ }
+ ];
+ const VARIABLES = {
+ className: "variable",
+ variants: [
+ { begin: /\$[\w\d"][\w\d_]*/ },
+ { begin: /\$\{(.*?)\}/ }
+ ]
+ };
+ const LITERALS = {
+ className: "literal",
+ begin: /\bon|off|true|false|yes|no\b/
+ };
+ const STRINGS = {
+ className: "string",
+ contains: [hljs.BACKSLASH_ESCAPE],
+ variants: [
+ {
+ begin: "'''",
+ end: "'''",
+ relevance: 10
+ },
+ {
+ begin: '"""',
+ end: '"""',
+ relevance: 10
+ },
+ {
+ begin: '"',
+ end: '"'
+ },
+ {
+ begin: "'",
+ end: "'"
+ }
+ ]
+ };
+ const ARRAY = {
+ begin: /\[/,
+ end: /\]/,
+ contains: [
+ COMMENTS,
+ LITERALS,
+ VARIABLES,
+ STRINGS,
+ NUMBERS,
+ "self"
+ ],
+ relevance: 0
+ };
+ const BARE_KEY = /[A-Za-z0-9_-]+/;
+ const QUOTED_KEY_DOUBLE_QUOTE = /"(\\"|[^"])*"/;
+ const QUOTED_KEY_SINGLE_QUOTE = /'[^']*'/;
+ const ANY_KEY = regex.either(
+ BARE_KEY,
+ QUOTED_KEY_DOUBLE_QUOTE,
+ QUOTED_KEY_SINGLE_QUOTE
+ );
+ const DOTTED_KEY = regex.concat(
+ ANY_KEY,
+ "(\\s*\\.\\s*",
+ ANY_KEY,
+ ")*",
+ regex.lookahead(/\s*=\s*[^#\s]/)
+ );
+ return {
+ name: "TOML, also INI",
+ aliases: ["toml"],
+ case_insensitive: true,
+ illegal: /\S/,
+ contains: [
+ COMMENTS,
+ {
+ className: "section",
+ begin: /\[+/,
+ end: /\]+/
+ },
+ {
+ begin: DOTTED_KEY,
+ className: "attr",
+ starts: {
+ end: /$/,
+ contains: [
+ COMMENTS,
+ ARRAY,
+ LITERALS,
+ VARIABLES,
+ STRINGS,
+ NUMBERS
+ ]
+ }
+ }
+ ]
+ };
+ }
+ module.exports = ini;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/irpf90.js
+ var require_irpf90 = __commonJS({
+ "node_modules/highlight.js/lib/languages/irpf90.js"(exports, module) {
+ function irpf90(hljs) {
+ const regex = hljs.regex;
+ const PARAMS = {
+ className: "params",
+ begin: "\\(",
+ end: "\\)"
+ };
+ const OPTIONAL_NUMBER_SUFFIX = /(_[a-z_\d]+)?/;
+ const OPTIONAL_NUMBER_EXP = /([de][+-]?\d+)?/;
+ const NUMBER = {
+ className: "number",
+ variants: [
+ { begin: regex.concat(/\b\d+/, /\.(\d*)/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) },
+ { begin: regex.concat(/\b\d+/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) },
+ { begin: regex.concat(/\.\d+/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) }
+ ],
+ relevance: 0
+ };
+ const F_KEYWORDS = {
+ literal: ".False. .True.",
+ keyword: "kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",
+ built_in: "alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"
+ };
+ return {
+ name: "IRPF90",
+ case_insensitive: true,
+ keywords: F_KEYWORDS,
+ illegal: /\/\*/,
+ contains: [
+ hljs.inherit(hljs.APOS_STRING_MODE, {
+ className: "string",
+ relevance: 0
+ }),
+ hljs.inherit(hljs.QUOTE_STRING_MODE, {
+ className: "string",
+ relevance: 0
+ }),
+ {
+ className: "function",
+ beginKeywords: "subroutine function program",
+ illegal: "[${=\\n]",
+ contains: [
+ hljs.UNDERSCORE_TITLE_MODE,
+ PARAMS
+ ]
+ },
+ hljs.COMMENT("!", "$", { relevance: 0 }),
+ hljs.COMMENT("begin_doc", "end_doc", { relevance: 10 }),
+ NUMBER
+ ]
+ };
+ }
+ module.exports = irpf90;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/isbl.js
+ var require_isbl = __commonJS({
+ "node_modules/highlight.js/lib/languages/isbl.js"(exports, module) {
+ function isbl(hljs) {
+ const UNDERSCORE_IDENT_RE = "[A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_!][A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_0-9]*";
+ const FUNCTION_NAME_IDENT_RE = "[A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_][A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_0-9]*";
+ const KEYWORD = "and \u0438 else \u0438\u043D\u0430\u0447\u0435 endexcept endfinally endforeach \u043A\u043E\u043D\u0435\u0446\u0432\u0441\u0435 endif \u043A\u043E\u043D\u0435\u0446\u0435\u0441\u043B\u0438 endwhile \u043A\u043E\u043D\u0435\u0446\u043F\u043E\u043A\u0430 except exitfor finally foreach \u0432\u0441\u0435 if \u0435\u0441\u043B\u0438 in \u0432 not \u043D\u0435 or \u0438\u043B\u0438 try while \u043F\u043E\u043A\u0430 ";
+ const sysres_constants = "SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ";
+ const base_constants = "CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ";
+ const base_group_name_constants = "ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ";
+ const decision_block_properties_constants = "DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ";
+ const file_extension_constants = "ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ";
+ const job_block_properties_constants = "JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ";
+ const language_code_constants = "ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ";
+ const launching_external_applications_constants = "smHidden smMaximized smMinimized smNormal wmNo wmYes ";
+ const link_kind_constants = "COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ";
+ const lock_type_constants = "COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ";
+ const monitor_block_properties_constants = "MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ";
+ const notice_block_properties_constants = "NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ";
+ const object_events_constants = "dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ";
+ const object_params_constants = "CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ";
+ const other_constants = "ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ";
+ const privileges_constants = "PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ";
+ const pseudoreference_code_constants = "ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ";
+ const requisite_ISBCertificateType_values_constants = "CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ";
+ const requisite_ISBEDocStorageType_values_constants = "STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ";
+ const requisite_compType2_values_constants = "COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ";
+ const requisite_name_constants = "SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STAT\u0415 SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ";
+ const result_constants = "RESULT_VAR_NAME RESULT_VAR_NAME_ENG ";
+ const rule_identification_constants = "AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ";
+ const script_block_properties_constants = "SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ";
+ const subtask_block_properties_constants = "SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ";
+ const system_component_constants = "SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ";
+ const system_dialogs_constants = "SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ";
+ const system_reference_names_constants = "SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ";
+ const table_name_constants = "ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ";
+ const test_constants = "TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ";
+ const using_the_dialog_windows_constants = "ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ";
+ const using_the_document_constants = "EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ";
+ const using_the_EA_and_encryption_constants = "cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ";
+ const using_the_ISBL_editor_constants = "ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ";
+ const wait_block_properties_constants = "WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ";
+ const sysres_common_constants = "SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ";
+ const CONSTANTS = sysres_constants + base_constants + base_group_name_constants + decision_block_properties_constants + file_extension_constants + job_block_properties_constants + language_code_constants + launching_external_applications_constants + link_kind_constants + lock_type_constants + monitor_block_properties_constants + notice_block_properties_constants + object_events_constants + object_params_constants + other_constants + privileges_constants + pseudoreference_code_constants + requisite_ISBCertificateType_values_constants + requisite_ISBEDocStorageType_values_constants + requisite_compType2_values_constants + requisite_name_constants + result_constants + rule_identification_constants + script_block_properties_constants + subtask_block_properties_constants + system_component_constants + system_dialogs_constants + system_reference_names_constants + table_name_constants + test_constants + using_the_dialog_windows_constants + using_the_document_constants + using_the_EA_and_encryption_constants + using_the_ISBL_editor_constants + wait_block_properties_constants + sysres_common_constants;
+ const TAccountType = "atUser atGroup atRole ";
+ const TActionEnabledMode = "aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ";
+ const TAddPosition = "apBegin apEnd ";
+ const TAlignment = "alLeft alRight ";
+ const TAreaShowMode = "asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ";
+ const TCertificateInvalidationReason = "cirCommon cirRevoked ";
+ const TCertificateType = "ctSignature ctEncode ctSignatureEncode ";
+ const TCheckListBoxItemState = "clbUnchecked clbChecked clbGrayed ";
+ const TCloseOnEsc = "ceISB ceAlways ceNever ";
+ const TCompType = "ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ";
+ const TConditionFormat = "cfInternal cfDisplay ";
+ const TConnectionIntent = "ciUnspecified ciWrite ciRead ";
+ const TContentKind = "ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ";
+ const TControlType = "ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ";
+ const TCriterionContentType = "cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ";
+ const TCultureType = "cltInternal cltPrimary cltGUI ";
+ const TDataSetEventType = "dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ";
+ const TDataSetState = "dssEdit dssInsert dssBrowse dssInActive ";
+ const TDateFormatType = "dftDate dftShortDate dftDateTime dftTimeStamp ";
+ const TDateOffsetType = "dotDays dotHours dotMinutes dotSeconds ";
+ const TDateTimeKind = "dtkndLocal dtkndUTC ";
+ const TDeaAccessRights = "arNone arView arEdit arFull ";
+ const TDocumentDefaultAction = "ddaView ddaEdit ";
+ const TEditMode = "emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ";
+ const TEditorCloseObservType = "ecotFile ecotProcess ";
+ const TEdmsApplicationAction = "eaGet eaCopy eaCreate eaCreateStandardRoute ";
+ const TEDocumentLockType = "edltAll edltNothing edltQuery ";
+ const TEDocumentStepShowMode = "essmText essmCard ";
+ const TEDocumentStepVersionType = "esvtLast esvtLastActive esvtSpecified ";
+ const TEDocumentStorageFunction = "edsfExecutive edsfArchive ";
+ const TEDocumentStorageType = "edstSQLServer edstFile ";
+ const TEDocumentVersionSourceType = "edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ";
+ const TEDocumentVersionState = "vsDefault vsDesign vsActive vsObsolete ";
+ const TEncodeType = "etNone etCertificate etPassword etCertificatePassword ";
+ const TExceptionCategory = "ecException ecWarning ecInformation ";
+ const TExportedSignaturesType = "estAll estApprovingOnly ";
+ const TExportedVersionType = "evtLast evtLastActive evtQuery ";
+ const TFieldDataType = "fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ";
+ const TFolderType = "ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ";
+ const TGridRowHeight = "grhAuto grhX1 grhX2 grhX3 ";
+ const THyperlinkType = "hltText hltRTF hltHTML ";
+ const TImageFileFormat = "iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ";
+ const TImageMode = "im8bGrayscale im24bRGB im1bMonochrome ";
+ const TImageType = "itBMP itJPEG itWMF itPNG ";
+ const TInplaceHintKind = "ikhInformation ikhWarning ikhError ikhNoIcon ";
+ const TISBLContext = "icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ";
+ const TItemShow = "isShow isHide isByUserSettings ";
+ const TJobKind = "jkJob jkNotice jkControlJob ";
+ const TJoinType = "jtInner jtLeft jtRight jtFull jtCross ";
+ const TLabelPos = "lbpAbove lbpBelow lbpLeft lbpRight ";
+ const TLicensingType = "eltPerConnection eltPerUser ";
+ const TLifeCycleStageFontColor = "sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ";
+ const TLifeCycleStageFontStyle = "sfsItalic sfsStrikeout sfsNormal ";
+ const TLockableDevelopmentComponentType = "ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ";
+ const TMaxRecordCountRestrictionType = "mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ";
+ const TRangeValueType = "vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ";
+ const TRelativeDate = "rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ";
+ const TReportDestination = "rdWindow rdFile rdPrinter ";
+ const TReqDataType = "rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ";
+ const TRequisiteEventType = "reOnChange reOnChangeValues ";
+ const TSBTimeType = "ttGlobal ttLocal ttUser ttSystem ";
+ const TSearchShowMode = "ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ";
+ const TSelectMode = "smSelect smLike smCard ";
+ const TSignatureType = "stNone stAuthenticating stApproving ";
+ const TSignerContentType = "sctString sctStream ";
+ const TStringsSortType = "sstAnsiSort sstNaturalSort ";
+ const TStringValueType = "svtEqual svtContain ";
+ const TStructuredObjectAttributeType = "soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ";
+ const TTaskAbortReason = "tarAbortByUser tarAbortByWorkflowException ";
+ const TTextValueType = "tvtAllWords tvtExactPhrase tvtAnyWord ";
+ const TUserObjectStatus = "usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ";
+ const TUserType = "utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ";
+ const TValuesBuildType = "btAnd btDetailAnd btOr btNotOr btOnly ";
+ const TViewMode = "vmView vmSelect vmNavigation ";
+ const TViewSelectionMode = "vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ";
+ const TWizardActionType = "wfatPrevious wfatNext wfatCancel wfatFinish ";
+ const TWizardFormElementProperty = "wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ";
+ const TWizardFormElementType = "wfetQueryParameter wfetText wfetDelimiter wfetLabel ";
+ const TWizardParamType = "wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ";
+ const TWizardStepResult = "wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ";
+ const TWizardStepType = "wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ";
+ const TWorkAccessType = "waAll waPerformers waManual ";
+ const TWorkflowBlockType = "wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ";
+ const TWorkflowDataType = "wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ";
+ const TWorkImportance = "wiLow wiNormal wiHigh ";
+ const TWorkRouteType = "wrtSoft wrtHard ";
+ const TWorkState = "wsInit wsRunning wsDone wsControlled wsAborted wsContinued ";
+ const TWorkTextBuildingMode = "wtmFull wtmFromCurrent wtmOnlyCurrent ";
+ const ENUMS = TAccountType + TActionEnabledMode + TAddPosition + TAlignment + TAreaShowMode + TCertificateInvalidationReason + TCertificateType + TCheckListBoxItemState + TCloseOnEsc + TCompType + TConditionFormat + TConnectionIntent + TContentKind + TControlType + TCriterionContentType + TCultureType + TDataSetEventType + TDataSetState + TDateFormatType + TDateOffsetType + TDateTimeKind + TDeaAccessRights + TDocumentDefaultAction + TEditMode + TEditorCloseObservType + TEdmsApplicationAction + TEDocumentLockType + TEDocumentStepShowMode + TEDocumentStepVersionType + TEDocumentStorageFunction + TEDocumentStorageType + TEDocumentVersionSourceType + TEDocumentVersionState + TEncodeType + TExceptionCategory + TExportedSignaturesType + TExportedVersionType + TFieldDataType + TFolderType + TGridRowHeight + THyperlinkType + TImageFileFormat + TImageMode + TImageType + TInplaceHintKind + TISBLContext + TItemShow + TJobKind + TJoinType + TLabelPos + TLicensingType + TLifeCycleStageFontColor + TLifeCycleStageFontStyle + TLockableDevelopmentComponentType + TMaxRecordCountRestrictionType + TRangeValueType + TRelativeDate + TReportDestination + TReqDataType + TRequisiteEventType + TSBTimeType + TSearchShowMode + TSelectMode + TSignatureType + TSignerContentType + TStringsSortType + TStringValueType + TStructuredObjectAttributeType + TTaskAbortReason + TTextValueType + TUserObjectStatus + TUserType + TValuesBuildType + TViewMode + TViewSelectionMode + TWizardActionType + TWizardFormElementProperty + TWizardFormElementType + TWizardParamType + TWizardStepResult + TWizardStepType + TWorkAccessType + TWorkflowBlockType + TWorkflowDataType + TWorkImportance + TWorkRouteType + TWorkState + TWorkTextBuildingMode;
+ const system_functions = "AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory \u0410\u043D\u0430\u043B\u0438\u0437 \u0411\u0430\u0437\u0430\u0414\u0430\u043D\u043D\u044B\u0445 \u0411\u043B\u043E\u043A\u0415\u0441\u0442\u044C \u0411\u043B\u043E\u043A\u0415\u0441\u0442\u044C\u0420\u0430\u0441\u0448 \u0411\u043B\u043E\u043A\u0418\u043D\u0444\u043E \u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C \u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C\u0420\u0430\u0441\u0448 \u0411\u043B\u043E\u043A\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0412\u0432\u043E\u0434 \u0412\u0432\u043E\u0434\u041C\u0435\u043D\u044E \u0412\u0435\u0434\u0421 \u0412\u0435\u0434\u0421\u043F\u0440 \u0412\u0435\u0440\u0445\u043D\u044F\u044F\u0413\u0440\u0430\u043D\u0438\u0446\u0430\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u0412\u043D\u0435\u0448\u041F\u0440\u043E\u0433\u0440 \u0412\u043E\u0441\u0441\u0442 \u0412\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F\u041F\u0430\u043F\u043A\u0430 \u0412\u0440\u0435\u043C\u044F \u0412\u044B\u0431\u043E\u0440SQL \u0412\u044B\u0431\u0440\u0430\u0442\u044C\u0417\u0430\u043F\u0438\u0441\u044C \u0412\u044B\u0434\u0435\u043B\u0438\u0442\u044C\u0421\u0442\u0440 \u0412\u044B\u0437\u0432\u0430\u0442\u044C \u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0412\u044B\u043F\u041F\u0440\u043E\u0433\u0440 \u0413\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0438\u0439\u0424\u0430\u0439\u043B \u0413\u0440\u0443\u043F\u043F\u0430\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0414\u0430\u0442\u0430\u0412\u0440\u0435\u043C\u044F\u0421\u0435\u0440\u0432 \u0414\u0435\u043D\u044C\u041D\u0435\u0434\u0435\u043B\u0438 \u0414\u0438\u0430\u043B\u043E\u0433\u0414\u0430\u041D\u0435\u0442 \u0414\u043B\u0438\u043D\u0430\u0421\u0442\u0440 \u0414\u043E\u0431\u041F\u043E\u0434\u0441\u0442\u0440 \u0415\u041F\u0443\u0441\u0442\u043E \u0415\u0441\u043B\u0438\u0422\u043E \u0415\u0427\u0438\u0441\u043B\u043E \u0417\u0430\u043C\u041F\u043E\u0434\u0441\u0442\u0440 \u0417\u0430\u043F\u0438\u0441\u044C\u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0417\u043D\u0430\u0447\u041F\u043E\u043B\u044F\u0421\u043F\u0440 \u0418\u0414\u0422\u0438\u043F\u0421\u043F\u0440 \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u0414\u0438\u0441\u043A \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u0418\u043C\u044F\u0424\u0430\u0439\u043B\u0430 \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u041F\u0443\u0442\u044C \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u0418\u0437\u043C\u0414\u0430\u0442 \u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C\u0420\u0430\u0437\u043C\u0435\u0440\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u0418\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u0418\u043C\u044F\u041E\u0440\u0433 \u0418\u043C\u044F\u041F\u043E\u043B\u044F\u0421\u043F\u0440 \u0418\u043D\u0434\u0435\u043A\u0441 \u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0428\u0430\u0433 \u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439\u0420\u0435\u0436\u0438\u043C \u0418\u0442\u043E\u0433\u0422\u0431\u043B\u0421\u043F\u0440 \u041A\u043E\u0434\u0412\u0438\u0434\u0412\u0435\u0434\u0421\u043F\u0440 \u041A\u043E\u0434\u0412\u0438\u0434\u0421\u043F\u0440\u041F\u043E\u0418\u0414 \u041A\u043E\u0434\u041F\u043EAnalit \u041A\u043E\u0434\u0421\u0438\u043C\u0432\u043E\u043B\u0430 \u041A\u043E\u0434\u0421\u043F\u0440 \u041A\u043E\u043B\u041F\u043E\u0434\u0441\u0442\u0440 \u041A\u043E\u043B\u041F\u0440\u043E\u043F \u041A\u043E\u043D\u041C\u0435\u0441 \u041A\u043E\u043D\u0441\u0442 \u041A\u043E\u043D\u0441\u0442\u0415\u0441\u0442\u044C \u041A\u043E\u043D\u0441\u0442\u0417\u043D\u0430\u0447 \u041A\u043E\u043D\u0422\u0440\u0430\u043D \u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0424\u0430\u0439\u043B \u041A\u043E\u043F\u0438\u044F\u0421\u0442\u0440 \u041A\u041F\u0435\u0440\u0438\u043E\u0434 \u041A\u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u041C\u0430\u043A\u0441 \u041C\u0430\u043A\u0441\u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u041C\u0430\u0441\u0441\u0438\u0432 \u041C\u0435\u043D\u044E \u041C\u0435\u043D\u044E\u0420\u0430\u0441\u0448 \u041C\u0438\u043D \u041D\u0430\u0431\u043E\u0440\u0414\u0430\u043D\u043D\u044B\u0445\u041D\u0430\u0439\u0442\u0438\u0420\u0430\u0441\u0448 \u041D\u0430\u0438\u043C\u0412\u0438\u0434\u0421\u043F\u0440 \u041D\u0430\u0438\u043C\u041F\u043EAnalit \u041D\u0430\u0438\u043C\u0421\u043F\u0440 \u041D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B\u0421\u0442\u0440\u043E\u043A \u041D\u0430\u0447\u041C\u0435\u0441 \u041D\u0430\u0447\u0422\u0440\u0430\u043D \u041D\u0438\u0436\u043D\u044F\u044F\u0413\u0440\u0430\u043D\u0438\u0446\u0430\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u041D\u043E\u043C\u0435\u0440\u0421\u043F\u0440 \u041D\u041F\u0435\u0440\u0438\u043E\u0434 \u041E\u043A\u043D\u043E \u041E\u043A\u0440 \u041E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u0435 \u041E\u0442\u043B\u0418\u043D\u0444\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u041E\u0442\u043B\u0418\u043D\u0444\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u041E\u0442\u0447\u0435\u0442 \u041E\u0442\u0447\u0435\u0442\u0410\u043D\u0430\u043B \u041E\u0442\u0447\u0435\u0442\u0418\u043D\u0442 \u041F\u0430\u043F\u043A\u0430\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u041F\u0430\u0443\u0437\u0430 \u041F\u0412\u044B\u0431\u043E\u0440SQL \u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C\u0424\u0430\u0439\u043B \u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0424\u0430\u0439\u043B \u041F\u043E\u0434\u0441\u0442\u0440 \u041F\u043E\u0438\u0441\u043A\u041F\u043E\u0434\u0441\u0442\u0440 \u041F\u043E\u0438\u0441\u043A\u0421\u0442\u0440 \u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0418\u0414\u0422\u0430\u0431\u043B\u0438\u0446\u044B \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0418\u0414 \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0418\u043C\u044F \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0421\u0442\u0430\u0442\u0443\u0441 \u041F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0417\u043D\u0430\u0447 \u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C\u0423\u0441\u043B\u043E\u0432\u0438\u0435 \u0420\u0430\u0437\u0431\u0421\u0442\u0440 \u0420\u0430\u0437\u043D\u0412\u0440\u0435\u043C\u044F \u0420\u0430\u0437\u043D\u0414\u0430\u0442 \u0420\u0430\u0437\u043D\u0414\u0430\u0442\u0430\u0412\u0440\u0435\u043C\u044F \u0420\u0430\u0437\u043D\u0420\u0430\u0431\u0412\u0440\u0435\u043C\u044F \u0420\u0435\u0433\u0423\u0441\u0442\u0412\u0440\u0435\u043C \u0420\u0435\u0433\u0423\u0441\u0442\u0414\u0430\u0442 \u0420\u0435\u0433\u0423\u0441\u0442\u0427\u0441\u043B \u0420\u0435\u0434\u0422\u0435\u043A\u0441\u0442 \u0420\u0435\u0435\u0441\u0442\u0440\u0417\u0430\u043F\u0438\u0441\u044C \u0420\u0435\u0435\u0441\u0442\u0440\u0421\u043F\u0438\u0441\u043E\u043A\u0418\u043C\u0435\u043D\u041F\u0430\u0440\u0430\u043C \u0420\u0435\u0435\u0441\u0442\u0440\u0427\u0442\u0435\u043D\u0438\u0435 \u0420\u0435\u043A\u0432\u0421\u043F\u0440 \u0420\u0435\u043A\u0432\u0421\u043F\u0440\u041F\u0440 \u0421\u0435\u0433\u043E\u0434\u043D\u044F \u0421\u0435\u0439\u0447\u0430\u0441 \u0421\u0435\u0440\u0432\u0435\u0440 \u0421\u0435\u0440\u0432\u0435\u0440\u041F\u0440\u043E\u0446\u0435\u0441\u0441\u0418\u0414 \u0421\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0424\u0430\u0439\u043B\u0421\u0447\u0438\u0442\u0430\u0442\u044C \u0421\u0436\u041F\u0440\u043E\u0431 \u0421\u0438\u043C\u0432\u043E\u043B \u0421\u0438\u0441\u0442\u0435\u043C\u0430\u0414\u0438\u0440\u0435\u043A\u0442\u0443\u043C\u041A\u043E\u0434 \u0421\u0438\u0441\u0442\u0435\u043C\u0430\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u0421\u0438\u0441\u0442\u0435\u043C\u0430\u041A\u043E\u0434 \u0421\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u0412\u044B\u0431\u043E\u0440\u0430\u0418\u0437\u0414\u0432\u0443\u0445\u0421\u043F\u0438\u0441\u043A\u043E\u0432 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u0412\u044B\u0431\u043E\u0440\u0430\u041F\u0430\u043F\u043A\u0438 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u041E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0424\u0430\u0439\u043B\u0430 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u0424\u0430\u0439\u043B\u0430 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0417\u0430\u043F\u0440\u043E\u0441 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0418\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041A\u044D\u0448\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041C\u0430\u0441\u0441\u0438\u0432 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041D\u0430\u0431\u043E\u0440\u0414\u0430\u043D\u043D\u044B\u0445 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041E\u0431\u044A\u0435\u043A\u0442 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041E\u0442\u0447\u0435\u0442 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041F\u0430\u043F\u043A\u0443 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043F\u0438\u0441\u043E\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043F\u0438\u0441\u043E\u043A\u0421\u0442\u0440\u043E\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0421\u043E\u0437\u0434\u0421\u043F\u0440 \u0421\u043E\u0441\u0442\u0421\u043F\u0440 \u0421\u043E\u0445\u0440 \u0421\u043E\u0445\u0440\u0421\u043F\u0440 \u0421\u043F\u0438\u0441\u043E\u043A\u0421\u0438\u0441\u0442\u0435\u043C \u0421\u043F\u0440 \u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0415\u0441\u0442\u044C \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C\u0420\u0430\u0441\u0448 \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0421\u043F\u0440\u0418\u0437\u043C\u041D\u0430\u0431\u0414\u0430\u043D \u0421\u043F\u0440\u041A\u043E\u0434 \u0421\u043F\u0440\u041D\u043E\u043C\u0435\u0440 \u0421\u043F\u0440\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0421\u043F\u0440\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0421\u043F\u0440\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0421\u043F\u0440\u041F\u0430\u0440\u0430\u043C \u0421\u043F\u0440\u041F\u043E\u043B\u0435\u0417\u043D\u0430\u0447 \u0421\u043F\u0440\u041F\u043E\u043B\u0435\u0418\u043C\u044F \u0421\u043F\u0440\u0420\u0435\u043A\u0432 \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u0412\u0432\u0435\u0434\u0417\u043D \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u041D\u043E\u0432\u044B\u0435 \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u041F\u0440 \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u041F\u0440\u0435\u0434\u0417\u043D \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u0420\u0435\u0436\u0438\u043C \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u0422\u0438\u043F\u0422\u0435\u043A\u0441\u0442 \u0421\u043F\u0440\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0421\u043F\u0440\u0421\u043E\u0441\u0442 \u0421\u043F\u0440\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0421\u043F\u0440\u0422\u0431\u043B\u0418\u0442\u043E\u0433 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041A\u043E\u043B \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041C\u0430\u043A\u0441 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041C\u0438\u043D \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041F\u0440\u0435\u0434 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u0421\u043B\u0435\u0434 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u0421\u043E\u0437\u0434 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u0423\u0434 \u0421\u043F\u0440\u0422\u0435\u043A\u041F\u0440\u0435\u0434\u0441\u0442 \u0421\u043F\u0440\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0421\u0440\u0430\u0432\u043D\u0438\u0442\u044C\u0421\u0442\u0440 \u0421\u0442\u0440\u0412\u0435\u0440\u0445\u0420\u0435\u0433\u0438\u0441\u0442\u0440 \u0421\u0442\u0440\u041D\u0438\u0436\u043D\u0420\u0435\u0433\u0438\u0441\u0442\u0440 \u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u0421\u0443\u043C\u041F\u0440\u043E\u043F \u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439\u041F\u0430\u0440\u0430\u043C \u0422\u0435\u043A\u0412\u0435\u0440\u0441\u0438\u044F \u0422\u0435\u043A\u041E\u0440\u0433 \u0422\u043E\u0447\u043D \u0422\u0440\u0430\u043D \u0422\u0440\u0430\u043D\u0441\u043B\u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044F \u0423\u0434\u0430\u043B\u0438\u0442\u044C\u0422\u0430\u0431\u043B\u0438\u0446\u0443 \u0423\u0434\u0430\u043B\u0438\u0442\u044C\u0424\u0430\u0439\u043B \u0423\u0434\u0421\u043F\u0440 \u0423\u0434\u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u0423\u0441\u0442 \u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438\u041A\u043E\u043D\u0441\u0442\u0430\u043D\u0442 \u0424\u0430\u0439\u043B\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0421\u0447\u0438\u0442\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0424\u0430\u0439\u043B\u0412\u0440\u0435\u043C\u044F \u0424\u0430\u0439\u043B\u0412\u0440\u0435\u043C\u044F\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0424\u0430\u0439\u043B\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0417\u0430\u043D\u044F\u0442 \u0424\u0430\u0439\u043B\u0417\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0418\u0441\u043A\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041C\u043E\u0436\u043D\u043E\u0427\u0438\u0442\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0435\u0440\u0435\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0424\u0430\u0439\u043B\u0420\u0430\u0437\u043C\u0435\u0440 \u0424\u0430\u0439\u043B\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0421\u0441\u044B\u043B\u043A\u0430\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0424\u0430\u0439\u043B\u0421\u0447\u0438\u0442\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0424\u043C\u0442SQL\u0414\u0430\u0442 \u0424\u043C\u0442\u0414\u0430\u0442 \u0424\u043C\u0442\u0421\u0442\u0440 \u0424\u043C\u0442\u0427\u0441\u043B \u0424\u043E\u0440\u043C\u0430\u0442 \u0426\u041C\u0430\u0441\u0441\u0438\u0432\u042D\u043B\u0435\u043C\u0435\u043D\u0442 \u0426\u041D\u0430\u0431\u043E\u0440\u0414\u0430\u043D\u043D\u044B\u0445\u0420\u0435\u043A\u0432\u0438\u0437\u0438\u0442 \u0426\u041F\u043E\u0434\u0441\u0442\u0440 ";
+ const predefined_variables = "AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work \u0412\u044B\u0437\u043E\u0432\u0421\u043F\u043E\u0441\u043E\u0431 \u0418\u043C\u044F\u041E\u0442\u0447\u0435\u0442\u0430 \u0420\u0435\u043A\u0432\u0417\u043D\u0430\u0447 ";
+ const interfaces = "IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ";
+ const BUILTIN = CONSTANTS + ENUMS;
+ const CLASS = predefined_variables;
+ const LITERAL = "null true false nil ";
+ const NUMBERS = {
+ className: "number",
+ begin: hljs.NUMBER_RE,
+ relevance: 0
+ };
+ const STRINGS = {
+ className: "string",
+ variants: [
+ {
+ begin: '"',
+ end: '"'
+ },
+ {
+ begin: "'",
+ end: "'"
+ }
+ ]
+ };
+ const DOCTAGS = {
+ className: "doctag",
+ begin: "\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",
+ relevance: 0
+ };
+ const ISBL_LINE_COMMENT_MODE = {
+ className: "comment",
+ begin: "//",
+ end: "$",
+ relevance: 0,
+ contains: [
+ hljs.PHRASAL_WORDS_MODE,
+ DOCTAGS
+ ]
+ };
+ const ISBL_BLOCK_COMMENT_MODE = {
+ className: "comment",
+ begin: "/\\*",
+ end: "\\*/",
+ relevance: 0,
+ contains: [
+ hljs.PHRASAL_WORDS_MODE,
+ DOCTAGS
+ ]
+ };
+ const COMMENTS = { variants: [
+ ISBL_LINE_COMMENT_MODE,
+ ISBL_BLOCK_COMMENT_MODE
+ ] };
+ const KEYWORDS = {
+ $pattern: UNDERSCORE_IDENT_RE,
+ keyword: KEYWORD,
+ built_in: BUILTIN,
+ class: CLASS,
+ literal: LITERAL
+ };
+ const METHODS = {
+ begin: "\\.\\s*" + hljs.UNDERSCORE_IDENT_RE,
+ keywords: KEYWORDS,
+ relevance: 0
+ };
+ const TYPES = {
+ className: "type",
+ begin: ":[ \\t]*(" + interfaces.trim().replace(/\s/g, "|") + ")",
+ end: "[ \\t]*=",
+ excludeEnd: true
+ };
+ const VARIABLES = {
+ className: "variable",
+ keywords: KEYWORDS,
+ begin: UNDERSCORE_IDENT_RE,
+ relevance: 0,
+ contains: [
+ TYPES,
+ METHODS
+ ]
+ };
+ const FUNCTION_TITLE = FUNCTION_NAME_IDENT_RE + "\\(";
+ const TITLE_MODE = {
+ className: "title",
+ keywords: {
+ $pattern: UNDERSCORE_IDENT_RE,
+ built_in: system_functions
+ },
+ begin: FUNCTION_TITLE,
+ end: "\\(",
+ returnBegin: true,
+ excludeEnd: true
+ };
+ const FUNCTIONS = {
+ className: "function",
+ begin: FUNCTION_TITLE,
+ end: "\\)$",
+ returnBegin: true,
+ keywords: KEYWORDS,
+ illegal: "[\\[\\]\\|\\$\\?%,~#@]",
+ contains: [
+ TITLE_MODE,
+ METHODS,
+ VARIABLES,
+ STRINGS,
+ NUMBERS,
+ COMMENTS
+ ]
+ };
+ return {
+ name: "ISBL",
+ case_insensitive: true,
+ keywords: KEYWORDS,
+ illegal: "\\$|\\?|%|,|;$|~|#|@|</",
+ contains: [
+ FUNCTIONS,
+ TYPES,
+ METHODS,
+ VARIABLES,
+ STRINGS,
+ NUMBERS,
+ COMMENTS
+ ]
+ };
+ }
+ module.exports = isbl;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/java.js
+ var require_java = __commonJS({
+ "node_modules/highlight.js/lib/languages/java.js"(exports, module) {
+ var decimalDigits = "[0-9](_*[0-9])*";
+ var frac = `\\.(${decimalDigits})`;
+ var hexDigits = "[0-9a-fA-F](_*[0-9a-fA-F])*";
+ var NUMERIC = {
+ className: "number",
+ variants: [
+ // DecimalFloatingPointLiteral
+ // including ExponentPart
+ { begin: `(\\b(${decimalDigits})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})[fFdD]?\\b` },
+ // excluding ExponentPart
+ { begin: `\\b(${decimalDigits})((${frac})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
+ { begin: `(${frac})[fFdD]?\\b` },
+ { begin: `\\b(${decimalDigits})[fFdD]\\b` },
+ // HexadecimalFloatingPointLiteral
+ { begin: `\\b0[xX]((${hexDigits})\\.?|(${hexDigits})?\\.(${hexDigits}))[pP][+-]?(${decimalDigits})[fFdD]?\\b` },
+ // DecimalIntegerLiteral
+ { begin: "\\b(0|[1-9](_*[0-9])*)[lL]?\\b" },
+ // HexIntegerLiteral
+ { begin: `\\b0[xX](${hexDigits})[lL]?\\b` },
+ // OctalIntegerLiteral
+ { begin: "\\b0(_*[0-7])*[lL]?\\b" },
+ // BinaryIntegerLiteral
+ { begin: "\\b0[bB][01](_*[01])*[lL]?\\b" }
+ ],
+ relevance: 0
+ };
+ function recurRegex(re, substitution, depth) {
+ if (depth === -1) return "";
+ return re.replace(substitution, (_) => {
+ return recurRegex(re, substitution, depth - 1);
+ });
+ }
+ function java(hljs) {
+ const regex = hljs.regex;
+ const JAVA_IDENT_RE = "[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*";
+ const GENERIC_IDENT_RE = JAVA_IDENT_RE + recurRegex("(?:<" + JAVA_IDENT_RE + "~~~(?:\\s*,\\s*" + JAVA_IDENT_RE + "~~~)*>)?", /~~~/g, 2);
+ const MAIN_KEYWORDS = [
+ "synchronized",
+ "abstract",
+ "private",
+ "var",
+ "static",
+ "if",
+ "const ",
+ "for",
+ "while",
+ "strictfp",
+ "finally",
+ "protected",
+ "import",
+ "native",
+ "final",
+ "void",
+ "enum",
+ "else",
+ "break",
+ "transient",
+ "catch",
+ "instanceof",
+ "volatile",
+ "case",
+ "assert",
+ "package",
+ "default",
+ "public",
+ "try",
+ "switch",
+ "continue",
+ "throws",
+ "protected",
+ "public",
+ "private",
+ "module",
+ "requires",
+ "exports",
+ "do",
+ "sealed",
+ "yield",
+ "permits",
+ "goto"
+ ];
+ const BUILT_INS = [
+ "super",
+ "this"
+ ];
+ const LITERALS = [
+ "false",
+ "true",
+ "null"
+ ];
+ const TYPES = [
+ "char",
+ "boolean",
+ "long",
+ "float",
+ "int",
+ "byte",
+ "short",
+ "double"
+ ];
+ const KEYWORDS = {
+ keyword: MAIN_KEYWORDS,
+ literal: LITERALS,
+ type: TYPES,
+ built_in: BUILT_INS
+ };
+ const ANNOTATION = {
+ className: "meta",
+ begin: "@" + JAVA_IDENT_RE,
+ contains: [
+ {
+ begin: /\(/,
+ end: /\)/,
+ contains: ["self"]
+ // allow nested () inside our annotation
+ }
+ ]
+ };
+ const PARAMS = {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ keywords: KEYWORDS,
+ relevance: 0,
+ contains: [hljs.C_BLOCK_COMMENT_MODE],
+ endsParent: true
+ };
+ return {
+ name: "Java",
+ aliases: ["jsp"],
+ keywords: KEYWORDS,
+ illegal: /<\/|#/,
+ contains: [
+ hljs.COMMENT(
+ "/\\*\\*",
+ "\\*/",
+ {
+ relevance: 0,
+ contains: [
+ {
+ // eat up @'s in emails to prevent them to be recognized as doctags
+ begin: /\w+@/,
+ relevance: 0
+ },
+ {
+ className: "doctag",
+ begin: "@[A-Za-z]+"
+ }
+ ]
+ }
+ ),
+ // relevance boost
+ {
+ begin: /import java\.[a-z]+\./,
+ keywords: "import",
+ relevance: 2
+ },
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ begin: /"""/,
+ end: /"""/,
+ className: "string",
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ {
+ match: [
+ /\b(?:class|interface|enum|extends|implements|new)/,
+ /\s+/,
+ JAVA_IDENT_RE
+ ],
+ className: {
+ 1: "keyword",
+ 3: "title.class"
+ }
+ },
+ {
+ // Exceptions for hyphenated keywords
+ match: /non-sealed/,
+ scope: "keyword"
+ },
+ {
+ begin: [
+ regex.concat(/(?!else)/, JAVA_IDENT_RE),
+ /\s+/,
+ JAVA_IDENT_RE,
+ /\s+/,
+ /=(?!=)/
+ ],
+ className: {
+ 1: "type",
+ 3: "variable",
+ 5: "operator"
+ }
+ },
+ {
+ begin: [
+ /record/,
+ /\s+/,
+ JAVA_IDENT_RE
+ ],
+ className: {
+ 1: "keyword",
+ 3: "title.class"
+ },
+ contains: [
+ PARAMS,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ {
+ // Expression keywords prevent 'keyword Name(...)' from being
+ // recognized as a function definition
+ beginKeywords: "new throw return else",
+ relevance: 0
+ },
+ {
+ begin: [
+ "(?:" + GENERIC_IDENT_RE + "\\s+)",
+ hljs.UNDERSCORE_IDENT_RE,
+ /\s*(?=\()/
+ ],
+ className: { 2: "title.function" },
+ keywords: KEYWORDS,
+ contains: [
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ keywords: KEYWORDS,
+ relevance: 0,
+ contains: [
+ ANNOTATION,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ NUMERIC,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ NUMERIC,
+ ANNOTATION
+ ]
+ };
+ }
+ module.exports = java;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/javascript.js
+ var require_javascript = __commonJS({
+ "node_modules/highlight.js/lib/languages/javascript.js"(exports, module) {
+ var IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
+ var KEYWORDS = [
+ "as",
+ // for exports
+ "in",
+ "of",
+ "if",
+ "for",
+ "while",
+ "finally",
+ "var",
+ "new",
+ "function",
+ "do",
+ "return",
+ "void",
+ "else",
+ "break",
+ "catch",
+ "instanceof",
+ "with",
+ "throw",
+ "case",
+ "default",
+ "try",
+ "switch",
+ "continue",
+ "typeof",
+ "delete",
+ "let",
+ "yield",
+ "const",
+ "class",
+ // JS handles these with a special rule
+ // "get",
+ // "set",
+ "debugger",
+ "async",
+ "await",
+ "static",
+ "import",
+ "from",
+ "export",
+ "extends"
+ ];
+ var LITERALS = [
+ "true",
+ "false",
+ "null",
+ "undefined",
+ "NaN",
+ "Infinity"
+ ];
+ var TYPES = [
+ // Fundamental objects
+ "Object",
+ "Function",
+ "Boolean",
+ "Symbol",
+ // numbers and dates
+ "Math",
+ "Date",
+ "Number",
+ "BigInt",
+ // text
+ "String",
+ "RegExp",
+ // Indexed collections
+ "Array",
+ "Float32Array",
+ "Float64Array",
+ "Int8Array",
+ "Uint8Array",
+ "Uint8ClampedArray",
+ "Int16Array",
+ "Int32Array",
+ "Uint16Array",
+ "Uint32Array",
+ "BigInt64Array",
+ "BigUint64Array",
+ // Keyed collections
+ "Set",
+ "Map",
+ "WeakSet",
+ "WeakMap",
+ // Structured data
+ "ArrayBuffer",
+ "SharedArrayBuffer",
+ "Atomics",
+ "DataView",
+ "JSON",
+ // Control abstraction objects
+ "Promise",
+ "Generator",
+ "GeneratorFunction",
+ "AsyncFunction",
+ // Reflection
+ "Reflect",
+ "Proxy",
+ // Internationalization
+ "Intl",
+ // WebAssembly
+ "WebAssembly"
+ ];
+ var ERROR_TYPES = [
+ "Error",
+ "EvalError",
+ "InternalError",
+ "RangeError",
+ "ReferenceError",
+ "SyntaxError",
+ "TypeError",
+ "URIError"
+ ];
+ var BUILT_IN_GLOBALS = [
+ "setInterval",
+ "setTimeout",
+ "clearInterval",
+ "clearTimeout",
+ "require",
+ "exports",
+ "eval",
+ "isFinite",
+ "isNaN",
+ "parseFloat",
+ "parseInt",
+ "decodeURI",
+ "decodeURIComponent",
+ "encodeURI",
+ "encodeURIComponent",
+ "escape",
+ "unescape"
+ ];
+ var BUILT_IN_VARIABLES = [
+ "arguments",
+ "this",
+ "super",
+ "console",
+ "window",
+ "document",
+ "localStorage",
+ "sessionStorage",
+ "module",
+ "global"
+ // Node.js
+ ];
+ var BUILT_INS = [].concat(
+ BUILT_IN_GLOBALS,
+ TYPES,
+ ERROR_TYPES
+ );
+ function javascript(hljs) {
+ const regex = hljs.regex;
+ const hasClosingTag = (match, { after }) => {
+ const tag = "</" + match[0].slice(1);
+ const pos = match.input.indexOf(tag, after);
+ return pos !== -1;
+ };
+ const IDENT_RE$1 = IDENT_RE;
+ const FRAGMENT = {
+ begin: "<>",
+ end: "</>"
+ };
+ const XML_SELF_CLOSING = /<[A-Za-z0-9\\._:-]+\s*\/>/;
+ const XML_TAG = {
+ begin: /<[A-Za-z0-9\\._:-]+/,
+ end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
+ /**
+ * @param {RegExpMatchArray} match
+ * @param {CallbackResponse} response
+ */
+ isTrulyOpeningTag: (match, response) => {
+ const afterMatchIndex = match[0].length + match.index;
+ const nextChar = match.input[afterMatchIndex];
+ if (
+ // HTML should not include another raw `<` inside a tag
+ // nested type?
+ // `<Array<Array<number>>`, etc.
+ nextChar === "<" || // the , gives away that this is not HTML
+ // `<T, A extends keyof T, V>`
+ nextChar === ","
+ ) {
+ response.ignoreMatch();
+ return;
+ }
+ if (nextChar === ">") {
+ if (!hasClosingTag(match, { after: afterMatchIndex })) {
+ response.ignoreMatch();
+ }
+ }
+ let m;
+ const afterMatch = match.input.substring(afterMatchIndex);
+ if (m = afterMatch.match(/^\s*=/)) {
+ response.ignoreMatch();
+ return;
+ }
+ if (m = afterMatch.match(/^\s+extends\s+/)) {
+ if (m.index === 0) {
+ response.ignoreMatch();
+ return;
+ }
+ }
+ }
+ };
+ const KEYWORDS$1 = {
+ $pattern: IDENT_RE,
+ keyword: KEYWORDS,
+ literal: LITERALS,
+ built_in: BUILT_INS,
+ "variable.language": BUILT_IN_VARIABLES
+ };
+ const decimalDigits = "[0-9](_?[0-9])*";
+ const frac = `\\.(${decimalDigits})`;
+ const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
+ const NUMBER = {
+ className: "number",
+ variants: [
+ // DecimalLiteral
+ { begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b` },
+ { begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
+ // DecimalBigIntegerLiteral
+ { begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
+ // NonDecimalIntegerLiteral
+ { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
+ { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
+ { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
+ // LegacyOctalIntegerLiteral (does not include underscore separators)
+ // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
+ { begin: "\\b0[0-7]+n?\\b" }
+ ],
+ relevance: 0
+ };
+ const SUBST = {
+ className: "subst",
+ begin: "\\$\\{",
+ end: "\\}",
+ keywords: KEYWORDS$1,
+ contains: []
+ // defined later
+ };
+ const HTML_TEMPLATE = {
+ begin: ".?html`",
+ end: "",
+ starts: {
+ end: "`",
+ returnEnd: false,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ subLanguage: "xml"
+ }
+ };
+ const CSS_TEMPLATE = {
+ begin: ".?css`",
+ end: "",
+ starts: {
+ end: "`",
+ returnEnd: false,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ subLanguage: "css"
+ }
+ };
+ const GRAPHQL_TEMPLATE = {
+ begin: ".?gql`",
+ end: "",
+ starts: {
+ end: "`",
+ returnEnd: false,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ subLanguage: "graphql"
+ }
+ };
+ const TEMPLATE_STRING = {
+ className: "string",
+ begin: "`",
+ end: "`",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ]
+ };
+ const JSDOC_COMMENT = hljs.COMMENT(
+ /\/\*\*(?!\/)/,
+ "\\*/",
+ {
+ relevance: 0,
+ contains: [
+ {
+ begin: "(?=@[A-Za-z]+)",
+ relevance: 0,
+ contains: [
+ {
+ className: "doctag",
+ begin: "@[A-Za-z]+"
+ },
+ {
+ className: "type",
+ begin: "\\{",
+ end: "\\}",
+ excludeEnd: true,
+ excludeBegin: true,
+ relevance: 0
+ },
+ {
+ className: "variable",
+ begin: IDENT_RE$1 + "(?=\\s*(-)|$)",
+ endsParent: true,
+ relevance: 0
+ },
+ // eat spaces (not newlines) so we can find
+ // types or variables
+ {
+ begin: /(?=[^\n])\s/,
+ relevance: 0
+ }
+ ]
+ }
+ ]
+ }
+ );
+ const COMMENT = {
+ className: "comment",
+ variants: [
+ JSDOC_COMMENT,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.C_LINE_COMMENT_MODE
+ ]
+ };
+ const SUBST_INTERNALS = [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ HTML_TEMPLATE,
+ CSS_TEMPLATE,
+ GRAPHQL_TEMPLATE,
+ TEMPLATE_STRING,
+ // Skip numbers when they are part of a variable name
+ { match: /\$\d+/ },
+ NUMBER
+ // This is intentional:
+ // See https://github.com/highlightjs/highlight.js/issues/3288
+ // hljs.REGEXP_MODE
+ ];
+ SUBST.contains = SUBST_INTERNALS.concat({
+ // we need to pair up {} inside our subst to prevent
+ // it from ending too early by matching another }
+ begin: /\{/,
+ end: /\}/,
+ keywords: KEYWORDS$1,
+ contains: [
+ "self"
+ ].concat(SUBST_INTERNALS)
+ });
+ const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);
+ const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
+ // eat recursive parens in sub expressions
+ {
+ begin: /(\s*)\(/,
+ end: /\)/,
+ keywords: KEYWORDS$1,
+ contains: ["self"].concat(SUBST_AND_COMMENTS)
+ }
+ ]);
+ const PARAMS = {
+ className: "params",
+ // convert this to negative lookbehind in v12
+ begin: /(\s*)\(/,
+ // to match the parms with
+ end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true,
+ keywords: KEYWORDS$1,
+ contains: PARAMS_CONTAINS
+ };
+ const CLASS_OR_EXTENDS = {
+ variants: [
+ // class Car extends vehicle
+ {
+ match: [
+ /class/,
+ /\s+/,
+ IDENT_RE$1,
+ /\s+/,
+ /extends/,
+ /\s+/,
+ regex.concat(IDENT_RE$1, "(", regex.concat(/\./, IDENT_RE$1), ")*")
+ ],
+ scope: {
+ 1: "keyword",
+ 3: "title.class",
+ 5: "keyword",
+ 7: "title.class.inherited"
+ }
+ },
+ // class Car
+ {
+ match: [
+ /class/,
+ /\s+/,
+ IDENT_RE$1
+ ],
+ scope: {
+ 1: "keyword",
+ 3: "title.class"
+ }
+ }
+ ]
+ };
+ const CLASS_REFERENCE = {
+ relevance: 0,
+ match: regex.either(
+ // Hard coded exceptions
+ /\bJSON/,
+ // Float32Array, OutT
+ /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,
+ // CSSFactory, CSSFactoryT
+ /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,
+ // FPs, FPsT
+ /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/
+ // P
+ // single letters are not highlighted
+ // BLAH
+ // this will be flagged as a UPPER_CASE_CONSTANT instead
+ ),
+ className: "title.class",
+ keywords: {
+ _: [
+ // se we still get relevance credit for JS library classes
+ ...TYPES,
+ ...ERROR_TYPES
+ ]
+ }
+ };
+ const USE_STRICT = {
+ label: "use_strict",
+ className: "meta",
+ relevance: 10,
+ begin: /^\s*['"]use (strict|asm)['"]/
+ };
+ const FUNCTION_DEFINITION = {
+ variants: [
+ {
+ match: [
+ /function/,
+ /\s+/,
+ IDENT_RE$1,
+ /(?=\s*\()/
+ ]
+ },
+ // anonymous function
+ {
+ match: [
+ /function/,
+ /\s*(?=\()/
+ ]
+ }
+ ],
+ className: {
+ 1: "keyword",
+ 3: "title.function"
+ },
+ label: "func.def",
+ contains: [PARAMS],
+ illegal: /%/
+ };
+ const UPPER_CASE_CONSTANT = {
+ relevance: 0,
+ match: /\b[A-Z][A-Z_0-9]+\b/,
+ className: "variable.constant"
+ };
+ function noneOf(list) {
+ return regex.concat("(?!", list.join("|"), ")");
+ }
+ const FUNCTION_CALL = {
+ match: regex.concat(
+ /\b/,
+ noneOf([
+ ...BUILT_IN_GLOBALS,
+ "super",
+ "import"
+ ].map((x) => `${x}\\s*\\(`)),
+ IDENT_RE$1,
+ regex.lookahead(/\s*\(/)
+ ),
+ className: "title.function",
+ relevance: 0
+ };
+ const PROPERTY_ACCESS = {
+ begin: regex.concat(/\./, regex.lookahead(
+ regex.concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)
+ )),
+ end: IDENT_RE$1,
+ excludeBegin: true,
+ keywords: "prototype",
+ className: "property",
+ relevance: 0
+ };
+ const GETTER_OR_SETTER = {
+ match: [
+ /get|set/,
+ /\s+/,
+ IDENT_RE$1,
+ /(?=\()/
+ ],
+ className: {
+ 1: "keyword",
+ 3: "title.function"
+ },
+ contains: [
+ {
+ // eat to avoid empty params
+ begin: /\(\)/
+ },
+ PARAMS
+ ]
+ };
+ const FUNC_LEAD_IN_RE = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + hljs.UNDERSCORE_IDENT_RE + ")\\s*=>";
+ const FUNCTION_VARIABLE = {
+ match: [
+ /const|var|let/,
+ /\s+/,
+ IDENT_RE$1,
+ /\s*/,
+ /=\s*/,
+ /(async\s*)?/,
+ // async is optional
+ regex.lookahead(FUNC_LEAD_IN_RE)
+ ],
+ keywords: "async",
+ className: {
+ 1: "keyword",
+ 3: "title.function"
+ },
+ contains: [
+ PARAMS
+ ]
+ };
+ return {
+ name: "JavaScript",
+ aliases: ["js", "jsx", "mjs", "cjs"],
+ keywords: KEYWORDS$1,
+ // this will be extended by TypeScript
+ exports: { PARAMS_CONTAINS, CLASS_REFERENCE },
+ illegal: /#(?![$_A-z])/,
+ contains: [
+ hljs.SHEBANG({
+ label: "shebang",
+ binary: "node",
+ relevance: 5
+ }),
+ USE_STRICT,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ HTML_TEMPLATE,
+ CSS_TEMPLATE,
+ GRAPHQL_TEMPLATE,
+ TEMPLATE_STRING,
+ COMMENT,
+ // Skip numbers when they are part of a variable name
+ { match: /\$\d+/ },
+ NUMBER,
+ CLASS_REFERENCE,
+ {
+ className: "attr",
+ begin: IDENT_RE$1 + regex.lookahead(":"),
+ relevance: 0
+ },
+ FUNCTION_VARIABLE,
+ {
+ // "value" container
+ begin: "(" + hljs.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
+ keywords: "return throw case",
+ relevance: 0,
+ contains: [
+ COMMENT,
+ hljs.REGEXP_MODE,
+ {
+ className: "function",
+ // we have to count the parens to make sure we actually have the
+ // correct bounding ( ) before the =>. There could be any number of
+ // sub-expressions inside also surrounded by parens.
+ begin: FUNC_LEAD_IN_RE,
+ returnBegin: true,
+ end: "\\s*=>",
+ contains: [
+ {
+ className: "params",
+ variants: [
+ {
+ begin: hljs.UNDERSCORE_IDENT_RE,
+ relevance: 0
+ },
+ {
+ className: null,
+ begin: /\(\s*\)/,
+ skip: true
+ },
+ {
+ begin: /(\s*)\(/,
+ end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true,
+ keywords: KEYWORDS$1,
+ contains: PARAMS_CONTAINS
+ }
+ ]
+ }
+ ]
+ },
+ {
+ // could be a comma delimited list of params to a function call
+ begin: /,/,
+ relevance: 0
+ },
+ {
+ match: /\s+/,
+ relevance: 0
+ },
+ {
+ // JSX
+ variants: [
+ { begin: FRAGMENT.begin, end: FRAGMENT.end },
+ { match: XML_SELF_CLOSING },
+ {
+ begin: XML_TAG.begin,
+ // we carefully check the opening tag to see if it truly
+ // is a tag and not a false positive
+ "on:begin": XML_TAG.isTrulyOpeningTag,
+ end: XML_TAG.end
+ }
+ ],
+ subLanguage: "xml",
+ contains: [
+ {
+ begin: XML_TAG.begin,
+ end: XML_TAG.end,
+ skip: true,
+ contains: ["self"]
+ }
+ ]
+ }
+ ]
+ },
+ FUNCTION_DEFINITION,
+ {
+ // prevent this from getting swallowed up by function
+ // since they appear "function like"
+ beginKeywords: "while if switch catch for"
+ },
+ {
+ // we have to count the parens to make sure we actually have the correct
+ // bounding ( ). There could be any number of sub-expressions inside
+ // also surrounded by parens.
+ begin: "\\b(?!function)" + hljs.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
+ // end parens
+ returnBegin: true,
+ label: "func.def",
+ contains: [
+ PARAMS,
+ hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1, className: "title.function" })
+ ]
+ },
+ // catch ... so it won't trigger the property rule below
+ {
+ match: /\.\.\./,
+ relevance: 0
+ },
+ PROPERTY_ACCESS,
+ // hack: prevents detection of keywords in some circumstances
+ // .keyword()
+ // $keyword = x
+ {
+ match: "\\$" + IDENT_RE$1,
+ relevance: 0
+ },
+ {
+ match: [/\bconstructor(?=\s*\()/],
+ className: { 1: "title.function" },
+ contains: [PARAMS]
+ },
+ FUNCTION_CALL,
+ UPPER_CASE_CONSTANT,
+ CLASS_OR_EXTENDS,
+ GETTER_OR_SETTER,
+ {
+ match: /\$[(.]/
+ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
+ }
+ ]
+ };
+ }
+ module.exports = javascript;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/jboss-cli.js
+ var require_jboss_cli = __commonJS({
+ "node_modules/highlight.js/lib/languages/jboss-cli.js"(exports, module) {
+ function jbossCli(hljs) {
+ const PARAM = {
+ begin: /[\w-]+ *=/,
+ returnBegin: true,
+ relevance: 0,
+ contains: [
+ {
+ className: "attr",
+ begin: /[\w-]+/
+ }
+ ]
+ };
+ const PARAMSBLOCK = {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ contains: [PARAM],
+ relevance: 0
+ };
+ const OPERATION = {
+ className: "function",
+ begin: /:[\w\-.]+/,
+ relevance: 0
+ };
+ const PATH = {
+ className: "string",
+ begin: /\B([\/.])[\w\-.\/=]+/
+ };
+ const COMMAND_PARAMS = {
+ className: "params",
+ begin: /--[\w\-=\/]+/
+ };
+ return {
+ name: "JBoss CLI",
+ aliases: ["wildfly-cli"],
+ keywords: {
+ $pattern: "[a-z-]+",
+ keyword: "alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",
+ // module
+ literal: "true false"
+ },
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ hljs.QUOTE_STRING_MODE,
+ COMMAND_PARAMS,
+ OPERATION,
+ PATH,
+ PARAMSBLOCK
+ ]
+ };
+ }
+ module.exports = jbossCli;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/json.js
+ var require_json = __commonJS({
+ "node_modules/highlight.js/lib/languages/json.js"(exports, module) {
+ function json(hljs) {
+ const ATTRIBUTE = {
+ className: "attr",
+ begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
+ relevance: 1.01
+ };
+ const PUNCTUATION = {
+ match: /[{}[\],:]/,
+ className: "punctuation",
+ relevance: 0
+ };
+ const LITERALS = [
+ "true",
+ "false",
+ "null"
+ ];
+ const LITERALS_MODE = {
+ scope: "literal",
+ beginKeywords: LITERALS.join(" ")
+ };
+ return {
+ name: "JSON",
+ aliases: ["jsonc"],
+ keywords: {
+ literal: LITERALS
+ },
+ contains: [
+ ATTRIBUTE,
+ PUNCTUATION,
+ hljs.QUOTE_STRING_MODE,
+ LITERALS_MODE,
+ hljs.C_NUMBER_MODE,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ],
+ illegal: "\\S"
+ };
+ }
+ module.exports = json;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/julia.js
+ var require_julia = __commonJS({
+ "node_modules/highlight.js/lib/languages/julia.js"(exports, module) {
+ function julia(hljs) {
+ const VARIABLE_NAME_RE = "[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*";
+ const KEYWORD_LIST = [
+ "baremodule",
+ "begin",
+ "break",
+ "catch",
+ "ccall",
+ "const",
+ "continue",
+ "do",
+ "else",
+ "elseif",
+ "end",
+ "export",
+ "false",
+ "finally",
+ "for",
+ "function",
+ "global",
+ "if",
+ "import",
+ "in",
+ "isa",
+ "let",
+ "local",
+ "macro",
+ "module",
+ "quote",
+ "return",
+ "true",
+ "try",
+ "using",
+ "where",
+ "while"
+ ];
+ const LITERAL_LIST = [
+ "ARGS",
+ "C_NULL",
+ "DEPOT_PATH",
+ "ENDIAN_BOM",
+ "ENV",
+ "Inf",
+ "Inf16",
+ "Inf32",
+ "Inf64",
+ "InsertionSort",
+ "LOAD_PATH",
+ "MergeSort",
+ "NaN",
+ "NaN16",
+ "NaN32",
+ "NaN64",
+ "PROGRAM_FILE",
+ "QuickSort",
+ "RoundDown",
+ "RoundFromZero",
+ "RoundNearest",
+ "RoundNearestTiesAway",
+ "RoundNearestTiesUp",
+ "RoundToZero",
+ "RoundUp",
+ "VERSION|0",
+ "devnull",
+ "false",
+ "im",
+ "missing",
+ "nothing",
+ "pi",
+ "stderr",
+ "stdin",
+ "stdout",
+ "true",
+ "undef",
+ "\u03C0",
+ "\u212F"
+ ];
+ const BUILT_IN_LIST = [
+ "AbstractArray",
+ "AbstractChannel",
+ "AbstractChar",
+ "AbstractDict",
+ "AbstractDisplay",
+ "AbstractFloat",
+ "AbstractIrrational",
+ "AbstractMatrix",
+ "AbstractRange",
+ "AbstractSet",
+ "AbstractString",
+ "AbstractUnitRange",
+ "AbstractVecOrMat",
+ "AbstractVector",
+ "Any",
+ "ArgumentError",
+ "Array",
+ "AssertionError",
+ "BigFloat",
+ "BigInt",
+ "BitArray",
+ "BitMatrix",
+ "BitSet",
+ "BitVector",
+ "Bool",
+ "BoundsError",
+ "CapturedException",
+ "CartesianIndex",
+ "CartesianIndices",
+ "Cchar",
+ "Cdouble",
+ "Cfloat",
+ "Channel",
+ "Char",
+ "Cint",
+ "Cintmax_t",
+ "Clong",
+ "Clonglong",
+ "Cmd",
+ "Colon",
+ "Complex",
+ "ComplexF16",
+ "ComplexF32",
+ "ComplexF64",
+ "CompositeException",
+ "Condition",
+ "Cptrdiff_t",
+ "Cshort",
+ "Csize_t",
+ "Cssize_t",
+ "Cstring",
+ "Cuchar",
+ "Cuint",
+ "Cuintmax_t",
+ "Culong",
+ "Culonglong",
+ "Cushort",
+ "Cvoid",
+ "Cwchar_t",
+ "Cwstring",
+ "DataType",
+ "DenseArray",
+ "DenseMatrix",
+ "DenseVecOrMat",
+ "DenseVector",
+ "Dict",
+ "DimensionMismatch",
+ "Dims",
+ "DivideError",
+ "DomainError",
+ "EOFError",
+ "Enum",
+ "ErrorException",
+ "Exception",
+ "ExponentialBackOff",
+ "Expr",
+ "Float16",
+ "Float32",
+ "Float64",
+ "Function",
+ "GlobalRef",
+ "HTML",
+ "IO",
+ "IOBuffer",
+ "IOContext",
+ "IOStream",
+ "IdDict",
+ "IndexCartesian",
+ "IndexLinear",
+ "IndexStyle",
+ "InexactError",
+ "InitError",
+ "Int",
+ "Int128",
+ "Int16",
+ "Int32",
+ "Int64",
+ "Int8",
+ "Integer",
+ "InterruptException",
+ "InvalidStateException",
+ "Irrational",
+ "KeyError",
+ "LinRange",
+ "LineNumberNode",
+ "LinearIndices",
+ "LoadError",
+ "MIME",
+ "Matrix",
+ "Method",
+ "MethodError",
+ "Missing",
+ "MissingException",
+ "Module",
+ "NTuple",
+ "NamedTuple",
+ "Nothing",
+ "Number",
+ "OrdinalRange",
+ "OutOfMemoryError",
+ "OverflowError",
+ "Pair",
+ "PartialQuickSort",
+ "PermutedDimsArray",
+ "Pipe",
+ "ProcessFailedException",
+ "Ptr",
+ "QuoteNode",
+ "Rational",
+ "RawFD",
+ "ReadOnlyMemoryError",
+ "Real",
+ "ReentrantLock",
+ "Ref",
+ "Regex",
+ "RegexMatch",
+ "RoundingMode",
+ "SegmentationFault",
+ "Set",
+ "Signed",
+ "Some",
+ "StackOverflowError",
+ "StepRange",
+ "StepRangeLen",
+ "StridedArray",
+ "StridedMatrix",
+ "StridedVecOrMat",
+ "StridedVector",
+ "String",
+ "StringIndexError",
+ "SubArray",
+ "SubString",
+ "SubstitutionString",
+ "Symbol",
+ "SystemError",
+ "Task",
+ "TaskFailedException",
+ "Text",
+ "TextDisplay",
+ "Timer",
+ "Tuple",
+ "Type",
+ "TypeError",
+ "TypeVar",
+ "UInt",
+ "UInt128",
+ "UInt16",
+ "UInt32",
+ "UInt64",
+ "UInt8",
+ "UndefInitializer",
+ "UndefKeywordError",
+ "UndefRefError",
+ "UndefVarError",
+ "Union",
+ "UnionAll",
+ "UnitRange",
+ "Unsigned",
+ "Val",
+ "Vararg",
+ "VecElement",
+ "VecOrMat",
+ "Vector",
+ "VersionNumber",
+ "WeakKeyDict",
+ "WeakRef"
+ ];
+ const KEYWORDS = {
+ $pattern: VARIABLE_NAME_RE,
+ keyword: KEYWORD_LIST,
+ literal: LITERAL_LIST,
+ built_in: BUILT_IN_LIST
+ };
+ const DEFAULT = {
+ keywords: KEYWORDS,
+ illegal: /<\//
+ };
+ const NUMBER = {
+ className: "number",
+ // supported numeric literals:
+ // * binary literal (e.g. 0x10)
+ // * octal literal (e.g. 0o76543210)
+ // * hexadecimal literal (e.g. 0xfedcba876543210)
+ // * hexadecimal floating point literal (e.g. 0x1p0, 0x1.2p2)
+ // * decimal literal (e.g. 9876543210, 100_000_000)
+ // * floating pointe literal (e.g. 1.2, 1.2f, .2, 1., 1.2e10, 1.2e-10)
+ begin: /(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,
+ relevance: 0
+ };
+ const CHAR = {
+ className: "string",
+ begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/
+ };
+ const INTERPOLATION = {
+ className: "subst",
+ begin: /\$\(/,
+ end: /\)/,
+ keywords: KEYWORDS
+ };
+ const INTERPOLATED_VARIABLE = {
+ className: "variable",
+ begin: "\\$" + VARIABLE_NAME_RE
+ };
+ const STRING = {
+ className: "string",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ INTERPOLATION,
+ INTERPOLATED_VARIABLE
+ ],
+ variants: [
+ {
+ begin: /\w*"""/,
+ end: /"""\w*/,
+ relevance: 10
+ },
+ {
+ begin: /\w*"/,
+ end: /"\w*/
+ }
+ ]
+ };
+ const COMMAND = {
+ className: "string",
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ INTERPOLATION,
+ INTERPOLATED_VARIABLE
+ ],
+ begin: "`",
+ end: "`"
+ };
+ const MACROCALL = {
+ className: "meta",
+ begin: "@" + VARIABLE_NAME_RE
+ };
+ const COMMENT = {
+ className: "comment",
+ variants: [
+ {
+ begin: "#=",
+ end: "=#",
+ relevance: 10
+ },
+ {
+ begin: "#",
+ end: "$"
+ }
+ ]
+ };
+ DEFAULT.name = "Julia";
+ DEFAULT.contains = [
+ NUMBER,
+ CHAR,
+ STRING,
+ COMMAND,
+ MACROCALL,
+ COMMENT,
+ hljs.HASH_COMMENT_MODE,
+ {
+ className: "keyword",
+ begin: "\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"
+ },
+ { begin: /<:/ }
+ // relevance booster
+ ];
+ INTERPOLATION.contains = DEFAULT.contains;
+ return DEFAULT;
+ }
+ module.exports = julia;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/julia-repl.js
+ var require_julia_repl = __commonJS({
+ "node_modules/highlight.js/lib/languages/julia-repl.js"(exports, module) {
+ function juliaRepl(hljs) {
+ return {
+ name: "Julia REPL",
+ contains: [
+ {
+ className: "meta.prompt",
+ begin: /^julia>/,
+ relevance: 10,
+ starts: {
+ // end the highlighting if we are on a new line and the line does not have at
+ // least six spaces in the beginning
+ end: /^(?![ ]{6})/,
+ subLanguage: "julia"
+ }
+ }
+ ],
+ // jldoctest Markdown blocks are used in the Julia manual and package docs indicate
+ // code snippets that should be verified when the documentation is built. They can be
+ // either REPL-like or script-like, but are usually REPL-like and therefore we apply
+ // julia-repl highlighting to them. More information can be found in Documenter's
+ // manual: https://juliadocs.github.io/Documenter.jl/latest/man/doctests.html
+ aliases: ["jldoctest"]
+ };
+ }
+ module.exports = juliaRepl;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/kotlin.js
+ var require_kotlin = __commonJS({
+ "node_modules/highlight.js/lib/languages/kotlin.js"(exports, module) {
+ var decimalDigits = "[0-9](_*[0-9])*";
+ var frac = `\\.(${decimalDigits})`;
+ var hexDigits = "[0-9a-fA-F](_*[0-9a-fA-F])*";
+ var NUMERIC = {
+ className: "number",
+ variants: [
+ // DecimalFloatingPointLiteral
+ // including ExponentPart
+ { begin: `(\\b(${decimalDigits})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})[fFdD]?\\b` },
+ // excluding ExponentPart
+ { begin: `\\b(${decimalDigits})((${frac})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
+ { begin: `(${frac})[fFdD]?\\b` },
+ { begin: `\\b(${decimalDigits})[fFdD]\\b` },
+ // HexadecimalFloatingPointLiteral
+ { begin: `\\b0[xX]((${hexDigits})\\.?|(${hexDigits})?\\.(${hexDigits}))[pP][+-]?(${decimalDigits})[fFdD]?\\b` },
+ // DecimalIntegerLiteral
+ { begin: "\\b(0|[1-9](_*[0-9])*)[lL]?\\b" },
+ // HexIntegerLiteral
+ { begin: `\\b0[xX](${hexDigits})[lL]?\\b` },
+ // OctalIntegerLiteral
+ { begin: "\\b0(_*[0-7])*[lL]?\\b" },
+ // BinaryIntegerLiteral
+ { begin: "\\b0[bB][01](_*[01])*[lL]?\\b" }
+ ],
+ relevance: 0
+ };
+ function kotlin(hljs) {
+ const KEYWORDS = {
+ keyword: "abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",
+ built_in: "Byte Short Char Int Long Boolean Float Double Void Unit Nothing",
+ literal: "true false null"
+ };
+ const KEYWORDS_WITH_LABEL = {
+ className: "keyword",
+ begin: /\b(break|continue|return|this)\b/,
+ starts: { contains: [
+ {
+ className: "symbol",
+ begin: /@\w+/
+ }
+ ] }
+ };
+ const LABEL = {
+ className: "symbol",
+ begin: hljs.UNDERSCORE_IDENT_RE + "@"
+ };
+ const SUBST = {
+ className: "subst",
+ begin: /\$\{/,
+ end: /\}/,
+ contains: [hljs.C_NUMBER_MODE]
+ };
+ const VARIABLE = {
+ className: "variable",
+ begin: "\\$" + hljs.UNDERSCORE_IDENT_RE
+ };
+ const STRING = {
+ className: "string",
+ variants: [
+ {
+ begin: '"""',
+ end: '"""(?=[^"])',
+ contains: [
+ VARIABLE,
+ SUBST
+ ]
+ },
+ // Can't use built-in modes easily, as we want to use STRING in the meta
+ // context as 'meta-string' and there's no syntax to remove explicitly set
+ // classNames in built-in modes.
+ {
+ begin: "'",
+ end: "'",
+ illegal: /\n/,
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ {
+ begin: '"',
+ end: '"',
+ illegal: /\n/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ VARIABLE,
+ SUBST
+ ]
+ }
+ ]
+ };
+ SUBST.contains.push(STRING);
+ const ANNOTATION_USE_SITE = {
+ className: "meta",
+ begin: "@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*" + hljs.UNDERSCORE_IDENT_RE + ")?"
+ };
+ const ANNOTATION = {
+ className: "meta",
+ begin: "@" + hljs.UNDERSCORE_IDENT_RE,
+ contains: [
+ {
+ begin: /\(/,
+ end: /\)/,
+ contains: [
+ hljs.inherit(STRING, { className: "string" }),
+ "self"
+ ]
+ }
+ ]
+ };
+ const KOTLIN_NUMBER_MODE = NUMERIC;
+ const KOTLIN_NESTED_COMMENT = hljs.COMMENT(
+ "/\\*",
+ "\\*/",
+ { contains: [hljs.C_BLOCK_COMMENT_MODE] }
+ );
+ const KOTLIN_PAREN_TYPE = { variants: [
+ {
+ className: "type",
+ begin: hljs.UNDERSCORE_IDENT_RE
+ },
+ {
+ begin: /\(/,
+ end: /\)/,
+ contains: []
+ // defined later
+ }
+ ] };
+ const KOTLIN_PAREN_TYPE2 = KOTLIN_PAREN_TYPE;
+ KOTLIN_PAREN_TYPE2.variants[1].contains = [KOTLIN_PAREN_TYPE];
+ KOTLIN_PAREN_TYPE.variants[1].contains = [KOTLIN_PAREN_TYPE2];
+ return {
+ name: "Kotlin",
+ aliases: [
+ "kt",
+ "kts"
+ ],
+ keywords: KEYWORDS,
+ contains: [
+ hljs.COMMENT(
+ "/\\*\\*",
+ "\\*/",
+ {
+ relevance: 0,
+ contains: [
+ {
+ className: "doctag",
+ begin: "@[A-Za-z]+"
+ }
+ ]
+ }
+ ),
+ hljs.C_LINE_COMMENT_MODE,
+ KOTLIN_NESTED_COMMENT,
+ KEYWORDS_WITH_LABEL,
+ LABEL,
+ ANNOTATION_USE_SITE,
+ ANNOTATION,
+ {
+ className: "function",
+ beginKeywords: "fun",
+ end: "[(]|$",
+ returnBegin: true,
+ excludeEnd: true,
+ keywords: KEYWORDS,
+ relevance: 5,
+ contains: [
+ {
+ begin: hljs.UNDERSCORE_IDENT_RE + "\\s*\\(",
+ returnBegin: true,
+ relevance: 0,
+ contains: [hljs.UNDERSCORE_TITLE_MODE]
+ },
+ {
+ className: "type",
+ begin: /</,
+ end: />/,
+ keywords: "reified",
+ relevance: 0
+ },
+ {
+ className: "params",
+ begin: /\(/,
+ end: /\)/,
+ endsParent: true,
+ keywords: KEYWORDS,
+ relevance: 0,
+ contains: [
+ {
+ begin: /:/,
+ end: /[=,\/]/,
+ endsWithParent: true,
+ contains: [
+ KOTLIN_PAREN_TYPE,
+ hljs.C_LINE_COMMENT_MODE,
+ KOTLIN_NESTED_COMMENT
+ ],
+ relevance: 0
+ },
+ hljs.C_LINE_COMMENT_MODE,
+ KOTLIN_NESTED_COMMENT,
+ ANNOTATION_USE_SITE,
+ ANNOTATION,
+ STRING,
+ hljs.C_NUMBER_MODE
+ ]
+ },
+ KOTLIN_NESTED_COMMENT
+ ]
+ },
+ {
+ begin: [
+ /class|interface|trait/,
+ /\s+/,
+ hljs.UNDERSCORE_IDENT_RE
+ ],
+ beginScope: {
+ 3: "title.class"
+ },
+ keywords: "class interface trait",
+ end: /[:\{(]|$/,
+ excludeEnd: true,
+ illegal: "extends implements",
+ contains: [
+ { beginKeywords: "public protected internal private constructor" },
+ hljs.UNDERSCORE_TITLE_MODE,
+ {
+ className: "type",
+ begin: /</,
+ end: />/,
+ excludeBegin: true,
+ excludeEnd: true,
+ relevance: 0
+ },
+ {
+ className: "type",
+ begin: /[,:]\s*/,
+ end: /[<\(,){\s]|$/,
+ excludeBegin: true,
+ returnEnd: true
+ },
+ ANNOTATION_USE_SITE,
+ ANNOTATION
+ ]
+ },
+ STRING,
+ {
+ className: "meta",
+ begin: "^#!/usr/bin/env",
+ end: "$",
+ illegal: "\n"
+ },
+ KOTLIN_NUMBER_MODE
+ ]
+ };
+ }
+ module.exports = kotlin;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/lasso.js
+ var require_lasso = __commonJS({
+ "node_modules/highlight.js/lib/languages/lasso.js"(exports, module) {
+ function lasso(hljs) {
+ const LASSO_IDENT_RE = "[a-zA-Z_][\\w.]*";
+ const LASSO_ANGLE_RE = "<\\?(lasso(script)?|=)";
+ const LASSO_CLOSE_RE = "\\]|\\?>";
+ const LASSO_KEYWORDS = {
+ $pattern: LASSO_IDENT_RE + "|&[lg]t;",
+ literal: "true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",
+ built_in: "array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",
+ keyword: "cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"
+ };
+ const HTML_COMMENT = hljs.COMMENT(
+ "<!--",
+ "-->",
+ { relevance: 0 }
+ );
+ const LASSO_NOPROCESS = {
+ className: "meta",
+ begin: "\\[noprocess\\]",
+ starts: {
+ end: "\\[/noprocess\\]",
+ returnEnd: true,
+ contains: [HTML_COMMENT]
+ }
+ };
+ const LASSO_START = {
+ className: "meta",
+ begin: "\\[/noprocess|" + LASSO_ANGLE_RE
+ };
+ const LASSO_DATAMEMBER = {
+ className: "symbol",
+ begin: "'" + LASSO_IDENT_RE + "'"
+ };
+ const LASSO_CODE = [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.inherit(hljs.C_NUMBER_MODE, { begin: hljs.C_NUMBER_RE + "|(-?infinity|NaN)\\b" }),
+ hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null }),
+ hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }),
+ {
+ className: "string",
+ begin: "`",
+ end: "`"
+ },
+ {
+ // variables
+ variants: [
+ { begin: "[#$]" + LASSO_IDENT_RE },
+ {
+ begin: "#",
+ end: "\\d+",
+ illegal: "\\W"
+ }
+ ]
+ },
+ {
+ className: "type",
+ begin: "::\\s*",
+ end: LASSO_IDENT_RE,
+ illegal: "\\W"
+ },
+ {
+ className: "params",
+ variants: [
+ {
+ begin: "-(?!infinity)" + LASSO_IDENT_RE,
+ relevance: 0
+ },
+ { begin: "(\\.\\.\\.)" }
+ ]
+ },
+ {
+ begin: /(->|\.)\s*/,
+ relevance: 0,
+ contains: [LASSO_DATAMEMBER]
+ },
+ {
+ className: "class",
+ beginKeywords: "define",
+ returnEnd: true,
+ end: "\\(|=>",
+ contains: [hljs.inherit(hljs.TITLE_MODE, { begin: LASSO_IDENT_RE + "(=(?!>))?|[-+*/%](?!>)" })]
+ }
+ ];
+ return {
+ name: "Lasso",
+ aliases: [
+ "ls",
+ "lassoscript"
+ ],
+ case_insensitive: true,
+ keywords: LASSO_KEYWORDS,
+ contains: [
+ {
+ className: "meta",
+ begin: LASSO_CLOSE_RE,
+ relevance: 0,
+ starts: {
+ // markup
+ end: "\\[|" + LASSO_ANGLE_RE,
+ returnEnd: true,
+ relevance: 0,
+ contains: [HTML_COMMENT]
+ }
+ },
+ LASSO_NOPROCESS,
+ LASSO_START,
+ {
+ className: "meta",
+ begin: "\\[no_square_brackets",
+ starts: {
+ end: "\\[/no_square_brackets\\]",
+ // not implemented in the language
+ keywords: LASSO_KEYWORDS,
+ contains: [
+ {
+ className: "meta",
+ begin: LASSO_CLOSE_RE,
+ relevance: 0,
+ starts: {
+ end: "\\[noprocess\\]|" + LASSO_ANGLE_RE,
+ returnEnd: true,
+ contains: [HTML_COMMENT]
+ }
+ },
+ LASSO_NOPROCESS,
+ LASSO_START
+ ].concat(LASSO_CODE)
+ }
+ },
+ {
+ className: "meta",
+ begin: "\\[",
+ relevance: 0
+ },
+ {
+ className: "meta",
+ begin: "^#!",
+ end: "lasso9$",
+ relevance: 10
+ }
+ ].concat(LASSO_CODE)
+ };
+ }
+ module.exports = lasso;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/latex.js
+ var require_latex = __commonJS({
+ "node_modules/highlight.js/lib/languages/latex.js"(exports, module) {
+ function latex(hljs) {
+ const regex = hljs.regex;
+ const KNOWN_CONTROL_WORDS = regex.either(...[
+ "(?:NeedsTeXFormat|RequirePackage|GetIdInfo)",
+ "Provides(?:Expl)?(?:Package|Class|File)",
+ "(?:DeclareOption|ProcessOptions)",
+ "(?:documentclass|usepackage|input|include)",
+ "makeat(?:letter|other)",
+ "ExplSyntax(?:On|Off)",
+ "(?:new|renew|provide)?command",
+ "(?:re)newenvironment",
+ "(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand",
+ "(?:New|Renew|Provide|Declare)DocumentEnvironment",
+ "(?:(?:e|g|x)?def|let)",
+ "(?:begin|end)",
+ "(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)",
+ "caption",
+ "(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)",
+ "(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)",
+ "(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)",
+ "(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)",
+ "(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)",
+ "(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"
+ ].map((word) => word + "(?![a-zA-Z@:_])"));
+ const L3_REGEX = new RegExp([
+ // A function \module_function_name:signature or \__module_function_name:signature,
+ // where both module and function_name need at least two characters and
+ // function_name may contain single underscores.
+ "(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*",
+ // A variable \scope_module_and_name_type or \scope__module_ane_name_type,
+ // where scope is one of l, g or c, type needs at least two characters
+ // and module_and_name may contain single underscores.
+ "[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}",
+ // A quark \q_the_name or \q__the_name or
+ // scan mark \s_the_name or \s__vthe_name,
+ // where variable_name needs at least two characters and
+ // may contain single underscores.
+ "[qs]__?[a-zA-Z](?:_?[a-zA-Z])+",
+ // Other LaTeX3 macro names that are not covered by the three rules above.
+ "use(?:_i)?:[a-zA-Z]*",
+ "(?:else|fi|or):",
+ "(?:if|cs|exp):w",
+ "(?:hbox|vbox):n",
+ "::[a-zA-Z]_unbraced",
+ "::[a-zA-Z:]"
+ ].map((pattern) => pattern + "(?![a-zA-Z:_])").join("|"));
+ const L2_VARIANTS = [
+ { begin: /[a-zA-Z@]+/ },
+ // control word
+ { begin: /[^a-zA-Z@]?/ }
+ // control symbol
+ ];
+ const DOUBLE_CARET_VARIANTS = [
+ { begin: /\^{6}[0-9a-f]{6}/ },
+ { begin: /\^{5}[0-9a-f]{5}/ },
+ { begin: /\^{4}[0-9a-f]{4}/ },
+ { begin: /\^{3}[0-9a-f]{3}/ },
+ { begin: /\^{2}[0-9a-f]{2}/ },
+ { begin: /\^{2}[\u0000-\u007f]/ }
+ ];
+ const CONTROL_SEQUENCE = {
+ className: "keyword",
+ begin: /\\/,
+ relevance: 0,
+ contains: [
+ {
+ endsParent: true,
+ begin: KNOWN_CONTROL_WORDS
+ },
+ {
+ endsParent: true,
+ begin: L3_REGEX
+ },
+ {
+ endsParent: true,
+ variants: DOUBLE_CARET_VARIANTS
+ },
+ {
+ endsParent: true,
+ relevance: 0,
+ variants: L2_VARIANTS
+ }
+ ]
+ };
+ const MACRO_PARAM = {
+ className: "params",
+ relevance: 0,
+ begin: /#+\d?/
+ };
+ const DOUBLE_CARET_CHAR = {
+ // relevance: 1
+ variants: DOUBLE_CARET_VARIANTS
+ };
+ const SPECIAL_CATCODE = {
+ className: "built_in",
+ relevance: 0,
+ begin: /[$&^_]/
+ };
+ const MAGIC_COMMENT = {
+ className: "meta",
+ begin: /% ?!(T[eE]X|tex|BIB|bib)/,
+ end: "$",
+ relevance: 10
+ };
+ const COMMENT = hljs.COMMENT(
+ "%",
+ "$",
+ { relevance: 0 }
+ );
+ const EVERYTHING_BUT_VERBATIM = [
+ CONTROL_SEQUENCE,
+ MACRO_PARAM,
+ DOUBLE_CARET_CHAR,
+ SPECIAL_CATCODE,
+ MAGIC_COMMENT,
+ COMMENT
+ ];
+ const BRACE_GROUP_NO_VERBATIM = {
+ begin: /\{/,
+ end: /\}/,
+ relevance: 0,
+ contains: [
+ "self",
+ ...EVERYTHING_BUT_VERBATIM
+ ]
+ };
+ const ARGUMENT_BRACES = hljs.inherit(
+ BRACE_GROUP_NO_VERBATIM,
+ {
+ relevance: 0,
+ endsParent: true,
+ contains: [
+ BRACE_GROUP_NO_VERBATIM,
+ ...EVERYTHING_BUT_VERBATIM
+ ]
+ }
+ );
+ const ARGUMENT_BRACKETS = {
+ begin: /\[/,
+ end: /\]/,
+ endsParent: true,
+ relevance: 0,
+ contains: [
+ BRACE_GROUP_NO_VERBATIM,
+ ...EVERYTHING_BUT_VERBATIM
+ ]
+ };
+ const SPACE_GOBBLER = {
+ begin: /\s+/,
+ relevance: 0
+ };
+ const ARGUMENT_M = [ARGUMENT_BRACES];
+ const ARGUMENT_O = [ARGUMENT_BRACKETS];
+ const ARGUMENT_AND_THEN = function(arg, starts_mode) {
+ return {
+ contains: [SPACE_GOBBLER],
+ starts: {
+ relevance: 0,
+ contains: arg,
+ starts: starts_mode
+ }
+ };
+ };
+ const CSNAME = function(csname, starts_mode) {
+ return {
+ begin: "\\\\" + csname + "(?![a-zA-Z@:_])",
+ keywords: {
+ $pattern: /\\[a-zA-Z]+/,
+ keyword: "\\" + csname
+ },
+ relevance: 0,
+ contains: [SPACE_GOBBLER],
+ starts: starts_mode
+ };
+ };
+ const BEGIN_ENV = function(envname, starts_mode) {
+ return hljs.inherit(
+ {
+ begin: "\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{" + envname + "\\})",
+ keywords: {
+ $pattern: /\\[a-zA-Z]+/,
+ keyword: "\\begin"
+ },
+ relevance: 0
+ },
+ ARGUMENT_AND_THEN(ARGUMENT_M, starts_mode)
+ );
+ };
+ const VERBATIM_DELIMITED_EQUAL = (innerName = "string") => {
+ return hljs.END_SAME_AS_BEGIN({
+ className: innerName,
+ begin: /(.|\r?\n)/,
+ end: /(.|\r?\n)/,
+ excludeBegin: true,
+ excludeEnd: true,
+ endsParent: true
+ });
+ };
+ const VERBATIM_DELIMITED_ENV = function(envname) {
+ return {
+ className: "string",
+ end: "(?=\\\\end\\{" + envname + "\\})"
+ };
+ };
+ const VERBATIM_DELIMITED_BRACES = (innerName = "string") => {
+ return {
+ relevance: 0,
+ begin: /\{/,
+ starts: {
+ endsParent: true,
+ contains: [
+ {
+ className: innerName,
+ end: /(?=\})/,
+ endsParent: true,
+ contains: [
+ {
+ begin: /\{/,
+ end: /\}/,
+ relevance: 0,
+ contains: ["self"]
+ }
+ ]
+ }
+ ]
+ }
+ };
+ };
+ const VERBATIM = [
+ ...[
+ "verb",
+ "lstinline"
+ ].map((csname) => CSNAME(csname, { contains: [VERBATIM_DELIMITED_EQUAL()] })),
+ CSNAME("mint", ARGUMENT_AND_THEN(ARGUMENT_M, { contains: [VERBATIM_DELIMITED_EQUAL()] })),
+ CSNAME("mintinline", ARGUMENT_AND_THEN(ARGUMENT_M, { contains: [
+ VERBATIM_DELIMITED_BRACES(),
+ VERBATIM_DELIMITED_EQUAL()
+ ] })),
+ CSNAME("url", { contains: [
+ VERBATIM_DELIMITED_BRACES("link"),
+ VERBATIM_DELIMITED_BRACES("link")
+ ] }),
+ CSNAME("hyperref", { contains: [VERBATIM_DELIMITED_BRACES("link")] }),
+ CSNAME("href", ARGUMENT_AND_THEN(ARGUMENT_O, { contains: [VERBATIM_DELIMITED_BRACES("link")] })),
+ ...[].concat(...[
+ "",
+ "\\*"
+ ].map((suffix) => [
+ BEGIN_ENV("verbatim" + suffix, VERBATIM_DELIMITED_ENV("verbatim" + suffix)),
+ BEGIN_ENV("filecontents" + suffix, ARGUMENT_AND_THEN(ARGUMENT_M, VERBATIM_DELIMITED_ENV("filecontents" + suffix))),
+ ...[
+ "",
+ "B",
+ "L"
+ ].map(
+ (prefix) => BEGIN_ENV(prefix + "Verbatim" + suffix, ARGUMENT_AND_THEN(ARGUMENT_O, VERBATIM_DELIMITED_ENV(prefix + "Verbatim" + suffix)))
+ )
+ ])),
+ BEGIN_ENV("minted", ARGUMENT_AND_THEN(ARGUMENT_O, ARGUMENT_AND_THEN(ARGUMENT_M, VERBATIM_DELIMITED_ENV("minted"))))
+ ];
+ return {
+ name: "LaTeX",
+ aliases: ["tex"],
+ contains: [
+ ...VERBATIM,
+ ...EVERYTHING_BUT_VERBATIM
+ ]
+ };
+ }
+ module.exports = latex;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/ldif.js
+ var require_ldif = __commonJS({
+ "node_modules/highlight.js/lib/languages/ldif.js"(exports, module) {
+ function ldif(hljs) {
+ return {
+ name: "LDIF",
+ contains: [
+ {
+ className: "attribute",
+ match: "^dn(?=:)",
+ relevance: 10
+ },
+ {
+ className: "attribute",
+ match: "^\\w+(?=:)"
+ },
+ {
+ className: "literal",
+ match: "^-"
+ },
+ hljs.HASH_COMMENT_MODE
+ ]
+ };
+ }
+ module.exports = ldif;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/leaf.js
+ var require_leaf = __commonJS({
+ "node_modules/highlight.js/lib/languages/leaf.js"(exports, module) {
+ function leaf(hljs) {
+ const IDENT = /([A-Za-z_][A-Za-z_0-9]*)?/;
+ const LITERALS = [
+ "true",
+ "false",
+ "in"
+ ];
+ const PARAMS = {
+ scope: "params",
+ begin: /\(/,
+ end: /\)(?=\:?)/,
+ endsParent: true,
+ relevance: 7,
+ contains: [
+ {
+ scope: "string",
+ begin: '"',
+ end: '"'
+ },
+ {
+ scope: "keyword",
+ match: LITERALS.join("|")
+ },
+ {
+ scope: "variable",
+ match: /[A-Za-z_][A-Za-z_0-9]*/
+ },
+ {
+ scope: "operator",
+ match: /\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/
+ }
+ ]
+ };
+ const INSIDE_DISPATCH = {
+ match: [
+ IDENT,
+ /(?=\()/
+ ],
+ scope: {
+ 1: "keyword"
+ },
+ contains: [PARAMS]
+ };
+ PARAMS.contains.unshift(INSIDE_DISPATCH);
+ return {
+ name: "Leaf",
+ contains: [
+ // #ident():
+ {
+ match: [
+ /#+/,
+ IDENT,
+ /(?=\()/
+ ],
+ scope: {
+ 1: "punctuation",
+ 2: "keyword"
+ },
+ // will start up after the ending `)` match from line ~44
+ // just to grab the trailing `:` if we can match it
+ starts: {
+ contains: [
+ {
+ match: /\:/,
+ scope: "punctuation"
+ }
+ ]
+ },
+ contains: [
+ PARAMS
+ ]
+ },
+ // #ident or #ident:
+ {
+ match: [
+ /#+/,
+ IDENT,
+ /:?/
+ ],
+ scope: {
+ 1: "punctuation",
+ 2: "keyword",
+ 3: "punctuation"
+ }
+ }
+ ]
+ };
+ }
+ module.exports = leaf;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/less.js
+ var require_less = __commonJS({
+ "node_modules/highlight.js/lib/languages/less.js"(exports, module) {
+ var MODES = (hljs) => {
+ return {
+ IMPORTANT: {
+ scope: "meta",
+ begin: "!important"
+ },
+ BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,
+ HEXCOLOR: {
+ scope: "number",
+ begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
+ },
+ FUNCTION_DISPATCH: {
+ className: "built_in",
+ begin: /[\w-]+(?=\()/
+ },
+ ATTRIBUTE_SELECTOR_MODE: {
+ scope: "selector-attr",
+ begin: /\[/,
+ end: /\]/,
+ illegal: "$",
+ contains: [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE
+ ]
+ },
+ CSS_NUMBER_MODE: {
+ scope: "number",
+ begin: hljs.NUMBER_RE + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
+ relevance: 0
+ },
+ CSS_VARIABLE: {
+ className: "attr",
+ begin: /--[A-Za-z_][A-Za-z0-9_-]*/
+ }
+ };
+ };
+ var HTML_TAGS = [
+ "a",
+ "abbr",
+ "address",
+ "article",
+ "aside",
+ "audio",
+ "b",
+ "blockquote",
+ "body",
+ "button",
+ "canvas",
+ "caption",
+ "cite",
+ "code",
+ "dd",
+ "del",
+ "details",
+ "dfn",
+ "div",
+ "dl",
+ "dt",
+ "em",
+ "fieldset",
+ "figcaption",
+ "figure",
+ "footer",
+ "form",
+ "h1",
+ "h2",
+ "h3",
+ "h4",
+ "h5",
+ "h6",
+ "header",
+ "hgroup",
+ "html",
+ "i",
+ "iframe",
+ "img",
+ "input",
+ "ins",
+ "kbd",
+ "label",
+ "legend",
+ "li",
+ "main",
+ "mark",
+ "menu",
+ "nav",
+ "object",
+ "ol",
+ "optgroup",
+ "option",
+ "p",
+ "picture",
+ "q",
+ "quote",
+ "samp",
+ "section",
+ "select",
+ "source",
+ "span",
+ "strong",
+ "summary",
+ "sup",
+ "table",
+ "tbody",
+ "td",
+ "textarea",
+ "tfoot",
+ "th",
+ "thead",
+ "time",
+ "tr",
+ "ul",
+ "var",
+ "video"
+ ];
+ var SVG_TAGS = [
+ "defs",
+ "g",
+ "marker",
+ "mask",
+ "pattern",
+ "svg",
+ "switch",
+ "symbol",
+ "feBlend",
+ "feColorMatrix",
+ "feComponentTransfer",
+ "feComposite",
+ "feConvolveMatrix",
+ "feDiffuseLighting",
+ "feDisplacementMap",
+ "feFlood",
+ "feGaussianBlur",
+ "feImage",
+ "feMerge",
+ "feMorphology",
+ "feOffset",
+ "feSpecularLighting",
+ "feTile",
+ "feTurbulence",
+ "linearGradient",
+ "radialGradient",
+ "stop",
+ "circle",
+ "ellipse",
+ "image",
+ "line",
+ "path",
+ "polygon",
+ "polyline",
+ "rect",
+ "text",
+ "use",
+ "textPath",
+ "tspan",
+ "foreignObject",
+ "clipPath"
+ ];
+ var TAGS = [
+ ...HTML_TAGS,
+ ...SVG_TAGS
+ ];
+ var MEDIA_FEATURES = [
+ "any-hover",
+ "any-pointer",
+ "aspect-ratio",
+ "color",
+ "color-gamut",
+ "color-index",
+ "device-aspect-ratio",
+ "device-height",
+ "device-width",
+ "display-mode",
+ "forced-colors",
+ "grid",
+ "height",
+ "hover",
+ "inverted-colors",
+ "monochrome",
+ "orientation",
+ "overflow-block",
+ "overflow-inline",
+ "pointer",
+ "prefers-color-scheme",
+ "prefers-contrast",
+ "prefers-reduced-motion",
+ "prefers-reduced-transparency",
+ "resolution",
+ "scan",
+ "scripting",
+ "update",
+ "width",
+ // TODO: find a better solution?
+ "min-width",
+ "max-width",
+ "min-height",
+ "max-height"
+ ].sort().reverse();
+ var PSEUDO_CLASSES = [
+ "active",
+ "any-link",
+ "blank",
+ "checked",
+ "current",
+ "default",
+ "defined",
+ "dir",
+ // dir()
+ "disabled",
+ "drop",
+ "empty",
+ "enabled",
+ "first",
+ "first-child",
+ "first-of-type",
+ "fullscreen",
+ "future",
+ "focus",
+ "focus-visible",
+ "focus-within",
+ "has",
+ // has()
+ "host",
+ // host or host()
+ "host-context",
+ // host-context()
+ "hover",
+ "indeterminate",
+ "in-range",
+ "invalid",
+ "is",
+ // is()
+ "lang",
+ // lang()
+ "last-child",
+ "last-of-type",
+ "left",
+ "link",
+ "local-link",
+ "not",
+ // not()
+ "nth-child",
+ // nth-child()
+ "nth-col",
+ // nth-col()
+ "nth-last-child",
+ // nth-last-child()
+ "nth-last-col",
+ // nth-last-col()
+ "nth-last-of-type",
+ //nth-last-of-type()
+ "nth-of-type",
+ //nth-of-type()
+ "only-child",
+ "only-of-type",
+ "optional",
+ "out-of-range",
+ "past",
+ "placeholder-shown",
+ "read-only",
+ "read-write",
+ "required",
+ "right",
+ "root",
+ "scope",
+ "target",
+ "target-within",
+ "user-invalid",
+ "valid",
+ "visited",
+ "where"
+ // where()
+ ].sort().reverse();
+ var PSEUDO_ELEMENTS = [
+ "after",
+ "backdrop",
+ "before",
+ "cue",
+ "cue-region",
+ "first-letter",
+ "first-line",
+ "grammar-error",
+ "marker",
+ "part",
+ "placeholder",
+ "selection",
+ "slotted",
+ "spelling-error"
+ ].sort().reverse();
+ var ATTRIBUTES = [
+ "accent-color",
+ "align-content",
+ "align-items",
+ "align-self",
+ "alignment-baseline",
+ "all",
+ "animation",
+ "animation-delay",
+ "animation-direction",
+ "animation-duration",
+ "animation-fill-mode",
+ "animation-iteration-count",
+ "animation-name",
+ "animation-play-state",
+ "animation-timing-function",
+ "appearance",
+ "backface-visibility",
+ "background",
+ "background-attachment",
+ "background-blend-mode",
+ "background-clip",
+ "background-color",
+ "background-image",
+ "background-origin",
+ "background-position",
+ "background-repeat",
+ "background-size",
+ "baseline-shift",
+ "block-size",
+ "border",
+ "border-block",
+ "border-block-color",
+ "border-block-end",
+ "border-block-end-color",
+ "border-block-end-style",
+ "border-block-end-width",
+ "border-block-start",
+ "border-block-start-color",
+ "border-block-start-style",
+ "border-block-start-width",
+ "border-block-style",
+ "border-block-width",
+ "border-bottom",
+ "border-bottom-color",
+ "border-bottom-left-radius",
+ "border-bottom-right-radius",
+ "border-bottom-style",
+ "border-bottom-width",
+ "border-collapse",
+ "border-color",
+ "border-image",
+ "border-image-outset",
+ "border-image-repeat",
+ "border-image-slice",
+ "border-image-source",
+ "border-image-width",
+ "border-inline",
+ "border-inline-color",
+ "border-inline-end",
+ "border-inline-end-color",
+ "border-inline-end-style",
+ "border-inline-end-width",
+ "border-inline-start",
+ "border-inline-start-color",
+ "border-inline-start-style",
+ "border-inline-start-width",
+ "border-inline-style",
+ "border-inline-width",
+ "border-left",
+ "border-left-color",
+ "border-left-style",
+ "border-left-width",
+ "border-radius",
+ "border-right",
+ "border-end-end-radius",
+ "border-end-start-radius",
+ "border-right-color",
+ "border-right-style",
+ "border-right-width",
+ "border-spacing",
+ "border-start-end-radius",
+ "border-start-start-radius",
+ "border-style",
+ "border-top",
+ "border-top-color",
+ "border-top-left-radius",
+ "border-top-right-radius",
+ "border-top-style",
+ "border-top-width",
+ "border-width",
+ "bottom",
+ "box-decoration-break",
+ "box-shadow",
+ "box-sizing",
+ "break-after",
+ "break-before",
+ "break-inside",
+ "cx",
+ "cy",
+ "caption-side",
+ "caret-color",
+ "clear",
+ "clip",
+ "clip-path",
+ "clip-rule",
+ "color",
+ "color-interpolation",
+ "color-interpolation-filters",
+ "color-profile",
+ "color-rendering",
+ "color-scheme",
+ "column-count",
+ "column-fill",
+ "column-gap",
+ "column-rule",
+ "column-rule-color",
+ "column-rule-style",
+ "column-rule-width",
+ "column-span",
+ "column-width",
+ "columns",
+ "contain",
+ "content",
+ "content-visibility",
+ "counter-increment",
+ "counter-reset",
+ "cue",
+ "cue-after",
+ "cue-before",
+ "cursor",
+ "direction",
+ "display",
+ "dominant-baseline",
+ "empty-cells",
+ "enable-background",
+ "fill",
+ "fill-opacity",
+ "fill-rule",
+ "filter",
+ "flex",
+ "flex-basis",
+ "flex-direction",
+ "flex-flow",
+ "flex-grow",
+ "flex-shrink",
+ "flex-wrap",
+ "float",
+ "flow",
+ "flood-color",
+ "flood-opacity",
+ "font",
+ "font-display",
+ "font-family",
+ "font-feature-settings",
+ "font-kerning",
+ "font-language-override",
+ "font-size",
+ "font-size-adjust",
+ "font-smoothing",
+ "font-stretch",
+ "font-style",
+ "font-synthesis",
+ "font-variant",
+ "font-variant-caps",
+ "font-variant-east-asian",
+ "font-variant-ligatures",
+ "font-variant-numeric",
+ "font-variant-position",
+ "font-variation-settings",
+ "font-weight",
+ "gap",
+ "glyph-orientation-horizontal",
+ "glyph-orientation-vertical",
+ "grid",
+ "grid-area",
+ "grid-auto-columns",
+ "grid-auto-flow",
+ "grid-auto-rows",
+ "grid-column",
+ "grid-column-end",
+ "grid-column-start",
+ "grid-gap",
+ "grid-row",
+ "grid-row-end",
+ "grid-row-start",
+ "grid-template",
+ "grid-template-areas",
+ "grid-template-columns",
+ "grid-template-rows",
+ "hanging-punctuation",
+ "height",
+ "hyphens",
+ "icon",
+ "image-orientation",
+ "image-rendering",
+ "image-resolution",
+ "ime-mode",
+ "inline-size",
+ "inset",
+ "inset-block",
+ "inset-block-end",
+ "inset-block-start",
+ "inset-inline",
+ "inset-inline-end",
+ "inset-inline-start",
+ "isolation",
+ "kerning",
+ "justify-content",
+ "justify-items",
+ "justify-self",
+ "left",
+ "letter-spacing",
+ "lighting-color",
+ "line-break",
+ "line-height",
+ "list-style",
+ "list-style-image",
+ "list-style-position",
+ "list-style-type",
+ "marker",
+ "marker-end",
+ "marker-mid",
+ "marker-start",
+ "mask",
+ "margin",
+ "margin-block",
+ "margin-block-end",
+ "margin-block-start",
+ "margin-bottom",
+ "margin-inline",
+ "margin-inline-end",
+ "margin-inline-start",
+ "margin-left",
+ "margin-right",
+ "margin-top",
+ "marks",
+ "mask",
+ "mask-border",
+ "mask-border-mode",
+ "mask-border-outset",
+ "mask-border-repeat",
+ "mask-border-slice",
+ "mask-border-source",
+ "mask-border-width",
+ "mask-clip",
+ "mask-composite",
+ "mask-image",
+ "mask-mode",
+ "mask-origin",
+ "mask-position",
+ "mask-repeat",
+ "mask-size",
+ "mask-type",
+ "max-block-size",
+ "max-height",
+ "max-inline-size",
+ "max-width",
+ "min-block-size",
+ "min-height",
+ "min-inline-size",
+ "min-width",
+ "mix-blend-mode",
+ "nav-down",
+ "nav-index",
+ "nav-left",
+ "nav-right",
+ "nav-up",
+ "none",
+ "normal",
+ "object-fit",
+ "object-position",
+ "opacity",
+ "order",
+ "orphans",
+ "outline",
+ "outline-color",
+ "outline-offset",
+ "outline-style",
+ "outline-width",
+ "overflow",
+ "overflow-wrap",
+ "overflow-x",
+ "overflow-y",
+ "padding",
+ "padding-block",
+ "padding-block-end",
+ "padding-block-start",
+ "padding-bottom",
+ "padding-inline",
+ "padding-inline-end",
+ "padding-inline-start",
+ "padding-left",
+ "padding-right",
+ "padding-top",
+ "page-break-after",
+ "page-break-before",
+ "page-break-inside",
+ "pause",
+ "pause-after",
+ "pause-before",
+ "perspective",
+ "perspective-origin",
+ "pointer-events",
+ "position",
+ "quotes",
+ "r",
+ "resize",
+ "rest",
+ "rest-after",
+ "rest-before",
+ "right",
+ "rotate",
+ "row-gap",
+ "scale",
+ "scroll-margin",
+ "scroll-margin-block",
+ "scroll-margin-block-end",
+ "scroll-margin-block-start",
+ "scroll-margin-bottom",
+ "scroll-margin-inline",
+ "scroll-margin-inline-end",
+ "scroll-margin-inline-start",
+ "scroll-margin-left",
+ "scroll-margin-right",
+ "scroll-margin-top",
+ "scroll-padding",
+ "scroll-padding-block",
+ "scroll-padding-block-end",
+ "scroll-padding-block-start",
+ "scroll-padding-bottom",
+ "scroll-padding-inline",
+ "scroll-padding-inline-end",
+ "scroll-padding-inline-start",
+ "scroll-padding-left",
+ "scroll-padding-right",
+ "scroll-padding-top",
+ "scroll-snap-align",
+ "scroll-snap-stop",
+ "scroll-snap-type",
+ "scrollbar-color",
+ "scrollbar-gutter",
+ "scrollbar-width",
+ "shape-image-threshold",
+ "shape-margin",
+ "shape-outside",
+ "shape-rendering",
+ "stop-color",
+ "stop-opacity",
+ "stroke",
+ "stroke-dasharray",
+ "stroke-dashoffset",
+ "stroke-linecap",
+ "stroke-linejoin",
+ "stroke-miterlimit",
+ "stroke-opacity",
+ "stroke-width",
+ "speak",
+ "speak-as",
+ "src",
+ // @font-face
+ "tab-size",
+ "table-layout",
+ "text-anchor",
+ "text-align",
+ "text-align-all",
+ "text-align-last",
+ "text-combine-upright",
+ "text-decoration",
+ "text-decoration-color",
+ "text-decoration-line",
+ "text-decoration-skip-ink",
+ "text-decoration-style",
+ "text-decoration-thickness",
+ "text-emphasis",
+ "text-emphasis-color",
+ "text-emphasis-position",
+ "text-emphasis-style",
+ "text-indent",
+ "text-justify",
+ "text-orientation",
+ "text-overflow",
+ "text-rendering",
+ "text-shadow",
+ "text-transform",
+ "text-underline-offset",
+ "text-underline-position",
+ "top",
+ "transform",
+ "transform-box",
+ "transform-origin",
+ "transform-style",
+ "transition",
+ "transition-delay",
+ "transition-duration",
+ "transition-property",
+ "transition-timing-function",
+ "translate",
+ "unicode-bidi",
+ "vector-effect",
+ "vertical-align",
+ "visibility",
+ "voice-balance",
+ "voice-duration",
+ "voice-family",
+ "voice-pitch",
+ "voice-range",
+ "voice-rate",
+ "voice-stress",
+ "voice-volume",
+ "white-space",
+ "widows",
+ "width",
+ "will-change",
+ "word-break",
+ "word-spacing",
+ "word-wrap",
+ "writing-mode",
+ "x",
+ "y",
+ "z-index"
+ ].sort().reverse();
+ var PSEUDO_SELECTORS = PSEUDO_CLASSES.concat(PSEUDO_ELEMENTS).sort().reverse();
+ function less(hljs) {
+ const modes = MODES(hljs);
+ const PSEUDO_SELECTORS$1 = PSEUDO_SELECTORS;
+ const AT_MODIFIERS = "and or not only";
+ const IDENT_RE = "[\\w-]+";
+ const INTERP_IDENT_RE = "(" + IDENT_RE + "|@\\{" + IDENT_RE + "\\})";
+ const RULES = [];
+ const VALUE_MODES = [];
+ const STRING_MODE = function(c) {
+ return {
+ // Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings)
+ className: "string",
+ begin: "~?" + c + ".*?" + c
+ };
+ };
+ const IDENT_MODE = function(name, begin, relevance) {
+ return {
+ className: name,
+ begin,
+ relevance
+ };
+ };
+ const AT_KEYWORDS = {
+ $pattern: /[a-z-]+/,
+ keyword: AT_MODIFIERS,
+ attribute: MEDIA_FEATURES.join(" ")
+ };
+ const PARENS_MODE = {
+ // used only to properly balance nested parens inside mixin call, def. arg list
+ begin: "\\(",
+ end: "\\)",
+ contains: VALUE_MODES,
+ keywords: AT_KEYWORDS,
+ relevance: 0
+ };
+ VALUE_MODES.push(
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRING_MODE("'"),
+ STRING_MODE('"'),
+ modes.CSS_NUMBER_MODE,
+ // fixme: it does not include dot for numbers like .5em :(
+ {
+ begin: "(url|data-uri)\\(",
+ starts: {
+ className: "string",
+ end: "[\\)\\n]",
+ excludeEnd: true
+ }
+ },
+ modes.HEXCOLOR,
+ PARENS_MODE,
+ IDENT_MODE("variable", "@@?" + IDENT_RE, 10),
+ IDENT_MODE("variable", "@\\{" + IDENT_RE + "\\}"),
+ IDENT_MODE("built_in", "~?`[^`]*?`"),
+ // inline javascript (or whatever host language) *multiline* string
+ {
+ // @media features (it’s here to not duplicate things in AT_RULE_MODE with extra PARENS_MODE overriding):
+ className: "attribute",
+ begin: IDENT_RE + "\\s*:",
+ end: ":",
+ returnBegin: true,
+ excludeEnd: true
+ },
+ modes.IMPORTANT,
+ { beginKeywords: "and not" },
+ modes.FUNCTION_DISPATCH
+ );
+ const VALUE_WITH_RULESETS = VALUE_MODES.concat({
+ begin: /\{/,
+ end: /\}/,
+ contains: RULES
+ });
+ const MIXIN_GUARD_MODE = {
+ beginKeywords: "when",
+ endsWithParent: true,
+ contains: [{ beginKeywords: "and not" }].concat(VALUE_MODES)
+ // using this form to override VALUE’s 'function' match
+ };
+ const RULE_MODE = {
+ begin: INTERP_IDENT_RE + "\\s*:",
+ returnBegin: true,
+ end: /[;}]/,
+ relevance: 0,
+ contains: [
+ { begin: /-(webkit|moz|ms|o)-/ },
+ modes.CSS_VARIABLE,
+ {
+ className: "attribute",
+ begin: "\\b(" + ATTRIBUTES.join("|") + ")\\b",
+ end: /(?=:)/,
+ starts: {
+ endsWithParent: true,
+ illegal: "[<=$]",
+ relevance: 0,
+ contains: VALUE_MODES
+ }
+ }
+ ]
+ };
+ const AT_RULE_MODE = {
+ className: "keyword",
+ begin: "@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",
+ starts: {
+ end: "[;{}]",
+ keywords: AT_KEYWORDS,
+ returnEnd: true,
+ contains: VALUE_MODES,
+ relevance: 0
+ }
+ };
+ const VAR_RULE_MODE = {
+ className: "variable",
+ variants: [
+ // using more strict pattern for higher relevance to increase chances of Less detection.
+ // this is *the only* Less specific statement used in most of the sources, so...
+ // (we’ll still often loose to the css-parser unless there's '//' comment,
+ // simply because 1 variable just can't beat 99 properties :)
+ {
+ begin: "@" + IDENT_RE + "\\s*:",
+ relevance: 15
+ },
+ { begin: "@" + IDENT_RE }
+ ],
+ starts: {
+ end: "[;}]",
+ returnEnd: true,
+ contains: VALUE_WITH_RULESETS
+ }
+ };
+ const SELECTOR_MODE = {
+ // first parse unambiguous selectors (i.e. those not starting with tag)
+ // then fall into the scary lookahead-discriminator variant.
+ // this mode also handles mixin definitions and calls
+ variants: [
+ {
+ begin: "[\\.#:&\\[>]",
+ end: "[;{}]"
+ // mixin calls end with ';'
+ },
+ {
+ begin: INTERP_IDENT_RE,
+ end: /\{/
+ }
+ ],
+ returnBegin: true,
+ returnEnd: true,
+ illegal: `[<='$"]`,
+ relevance: 0,
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ MIXIN_GUARD_MODE,
+ IDENT_MODE("keyword", "all\\b"),
+ IDENT_MODE("variable", "@\\{" + IDENT_RE + "\\}"),
+ // otherwise it’s identified as tag
+ {
+ begin: "\\b(" + TAGS.join("|") + ")\\b",
+ className: "selector-tag"
+ },
+ modes.CSS_NUMBER_MODE,
+ IDENT_MODE("selector-tag", INTERP_IDENT_RE, 0),
+ IDENT_MODE("selector-id", "#" + INTERP_IDENT_RE),
+ IDENT_MODE("selector-class", "\\." + INTERP_IDENT_RE, 0),
+ IDENT_MODE("selector-tag", "&", 0),
+ modes.ATTRIBUTE_SELECTOR_MODE,
+ {
+ className: "selector-pseudo",
+ begin: ":(" + PSEUDO_CLASSES.join("|") + ")"
+ },
+ {
+ className: "selector-pseudo",
+ begin: ":(:)?(" + PSEUDO_ELEMENTS.join("|") + ")"
+ },
+ {
+ begin: /\(/,
+ end: /\)/,
+ relevance: 0,
+ contains: VALUE_WITH_RULESETS
+ },
+ // argument list of parametric mixins
+ { begin: "!important" },
+ // eat !important after mixin call or it will be colored as tag
+ modes.FUNCTION_DISPATCH
+ ]
+ };
+ const PSEUDO_SELECTOR_MODE = {
+ begin: IDENT_RE + `:(:)?(${PSEUDO_SELECTORS$1.join("|")})`,
+ returnBegin: true,
+ contains: [SELECTOR_MODE]
+ };
+ RULES.push(
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ AT_RULE_MODE,
+ VAR_RULE_MODE,
+ PSEUDO_SELECTOR_MODE,
+ RULE_MODE,
+ SELECTOR_MODE,
+ MIXIN_GUARD_MODE,
+ modes.FUNCTION_DISPATCH
+ );
+ return {
+ name: "Less",
+ case_insensitive: true,
+ illegal: `[=>'/<($"]`,
+ contains: RULES
+ };
+ }
+ module.exports = less;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/lisp.js
+ var require_lisp = __commonJS({
+ "node_modules/highlight.js/lib/languages/lisp.js"(exports, module) {
+ function lisp(hljs) {
+ const LISP_IDENT_RE = "[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*";
+ const MEC_RE = "\\|[^]*?\\|";
+ const LISP_SIMPLE_NUMBER_RE = "(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?";
+ const LITERAL = {
+ className: "literal",
+ begin: "\\b(t{1}|nil)\\b"
+ };
+ const NUMBER = {
+ className: "number",
+ variants: [
+ {
+ begin: LISP_SIMPLE_NUMBER_RE,
+ relevance: 0
+ },
+ { begin: "#(b|B)[0-1]+(/[0-1]+)?" },
+ { begin: "#(o|O)[0-7]+(/[0-7]+)?" },
+ { begin: "#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?" },
+ {
+ begin: "#(c|C)\\(" + LISP_SIMPLE_NUMBER_RE + " +" + LISP_SIMPLE_NUMBER_RE,
+ end: "\\)"
+ }
+ ]
+ };
+ const STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null });
+ const COMMENT = hljs.COMMENT(
+ ";",
+ "$",
+ { relevance: 0 }
+ );
+ const VARIABLE = {
+ begin: "\\*",
+ end: "\\*"
+ };
+ const KEYWORD = {
+ className: "symbol",
+ begin: "[:&]" + LISP_IDENT_RE
+ };
+ const IDENT = {
+ begin: LISP_IDENT_RE,
+ relevance: 0
+ };
+ const MEC = { begin: MEC_RE };
+ const QUOTED_LIST = {
+ begin: "\\(",
+ end: "\\)",
+ contains: [
+ "self",
+ LITERAL,
+ STRING,
+ NUMBER,
+ IDENT
+ ]
+ };
+ const QUOTED = {
+ contains: [
+ NUMBER,
+ STRING,
+ VARIABLE,
+ KEYWORD,
+ QUOTED_LIST,
+ IDENT
+ ],
+ variants: [
+ {
+ begin: "['`]\\(",
+ end: "\\)"
+ },
+ {
+ begin: "\\(quote ",
+ end: "\\)",
+ keywords: { name: "quote" }
+ },
+ { begin: "'" + MEC_RE }
+ ]
+ };
+ const QUOTED_ATOM = { variants: [
+ { begin: "'" + LISP_IDENT_RE },
+ { begin: "#'" + LISP_IDENT_RE + "(::" + LISP_IDENT_RE + ")*" }
+ ] };
+ const LIST = {
+ begin: "\\(\\s*",
+ end: "\\)"
+ };
+ const BODY = {
+ endsWithParent: true,
+ relevance: 0
+ };
+ LIST.contains = [
+ {
+ className: "name",
+ variants: [
+ {
+ begin: LISP_IDENT_RE,
+ relevance: 0
+ },
+ { begin: MEC_RE }
+ ]
+ },
+ BODY
+ ];
+ BODY.contains = [
+ QUOTED,
+ QUOTED_ATOM,
+ LIST,
+ LITERAL,
+ NUMBER,
+ STRING,
+ COMMENT,
+ VARIABLE,
+ KEYWORD,
+ MEC,
+ IDENT
+ ];
+ return {
+ name: "Lisp",
+ illegal: /\S/,
+ contains: [
+ NUMBER,
+ hljs.SHEBANG(),
+ LITERAL,
+ STRING,
+ COMMENT,
+ QUOTED,
+ QUOTED_ATOM,
+ LIST,
+ IDENT
+ ]
+ };
+ }
+ module.exports = lisp;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/livecodeserver.js
+ var require_livecodeserver = __commonJS({
+ "node_modules/highlight.js/lib/languages/livecodeserver.js"(exports, module) {
+ function livecodeserver(hljs) {
+ const VARIABLE = {
+ className: "variable",
+ variants: [
+ { begin: "\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)" },
+ { begin: "\\$_[A-Z]+" }
+ ],
+ relevance: 0
+ };
+ const COMMENT_MODES = [
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.HASH_COMMENT_MODE,
+ hljs.COMMENT("--", "$"),
+ hljs.COMMENT("[^:]//", "$")
+ ];
+ const TITLE1 = hljs.inherit(hljs.TITLE_MODE, { variants: [
+ { begin: "\\b_*rig[A-Z][A-Za-z0-9_\\-]*" },
+ { begin: "\\b_[a-z0-9\\-]+" }
+ ] });
+ const TITLE2 = hljs.inherit(hljs.TITLE_MODE, { begin: "\\b([A-Za-z0-9_\\-]+)\\b" });
+ return {
+ name: "LiveCode",
+ case_insensitive: false,
+ keywords: {
+ keyword: "$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",
+ literal: "SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",
+ built_in: "put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"
+ },
+ contains: [
+ VARIABLE,
+ {
+ className: "keyword",
+ begin: "\\bend\\sif\\b"
+ },
+ {
+ className: "function",
+ beginKeywords: "function",
+ end: "$",
+ contains: [
+ VARIABLE,
+ TITLE2,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.BINARY_NUMBER_MODE,
+ hljs.C_NUMBER_MODE,
+ TITLE1
+ ]
+ },
+ {
+ className: "function",
+ begin: "\\bend\\s+",
+ end: "$",
+ keywords: "end",
+ contains: [
+ TITLE2,
+ TITLE1
+ ],
+ relevance: 0
+ },
+ {
+ beginKeywords: "command on",
+ end: "$",
+ contains: [
+ VARIABLE,
+ TITLE2,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.BINARY_NUMBER_MODE,
+ hljs.C_NUMBER_MODE,
+ TITLE1
+ ]
+ },
+ {
+ className: "meta",
+ variants: [
+ {
+ begin: "<\\?(rev|lc|livecode)",
+ relevance: 10
+ },
+ { begin: "<\\?" },
+ { begin: "\\?>" }
+ ]
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.BINARY_NUMBER_MODE,
+ hljs.C_NUMBER_MODE,
+ TITLE1
+ ].concat(COMMENT_MODES),
+ illegal: ";$|^\\[|^=|&|\\{"
+ };
+ }
+ module.exports = livecodeserver;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/livescript.js
+ var require_livescript = __commonJS({
+ "node_modules/highlight.js/lib/languages/livescript.js"(exports, module) {
+ var KEYWORDS = [
+ "as",
+ // for exports
+ "in",
+ "of",
+ "if",
+ "for",
+ "while",
+ "finally",
+ "var",
+ "new",
+ "function",
+ "do",
+ "return",
+ "void",
+ "else",
+ "break",
+ "catch",
+ "instanceof",
+ "with",
+ "throw",
+ "case",
+ "default",
+ "try",
+ "switch",
+ "continue",
+ "typeof",
+ "delete",
+ "let",
+ "yield",
+ "const",
+ "class",
+ // JS handles these with a special rule
+ // "get",
+ // "set",
+ "debugger",
+ "async",
+ "await",
+ "static",
+ "import",
+ "from",
+ "export",
+ "extends"
+ ];
+ var LITERALS = [
+ "true",
+ "false",
+ "null",
+ "undefined",
+ "NaN",
+ "Infinity"
+ ];
+ var TYPES = [
+ // Fundamental objects
+ "Object",
+ "Function",
+ "Boolean",
+ "Symbol",
+ // numbers and dates
+ "Math",
+ "Date",
+ "Number",
+ "BigInt",
+ // text
+ "String",
+ "RegExp",
+ // Indexed collections
+ "Array",
+ "Float32Array",
+ "Float64Array",
+ "Int8Array",
+ "Uint8Array",
+ "Uint8ClampedArray",
+ "Int16Array",
+ "Int32Array",
+ "Uint16Array",
+ "Uint32Array",
+ "BigInt64Array",
+ "BigUint64Array",
+ // Keyed collections
+ "Set",
+ "Map",
+ "WeakSet",
+ "WeakMap",
+ // Structured data
+ "ArrayBuffer",
+ "SharedArrayBuffer",
+ "Atomics",
+ "DataView",
+ "JSON",
+ // Control abstraction objects
+ "Promise",
+ "Generator",
+ "GeneratorFunction",
+ "AsyncFunction",
+ // Reflection
+ "Reflect",
+ "Proxy",
+ // Internationalization
+ "Intl",
+ // WebAssembly
+ "WebAssembly"
+ ];
+ var ERROR_TYPES = [
+ "Error",
+ "EvalError",
+ "InternalError",
+ "RangeError",
+ "ReferenceError",
+ "SyntaxError",
+ "TypeError",
+ "URIError"
+ ];
+ var BUILT_IN_GLOBALS = [
+ "setInterval",
+ "setTimeout",
+ "clearInterval",
+ "clearTimeout",
+ "require",
+ "exports",
+ "eval",
+ "isFinite",
+ "isNaN",
+ "parseFloat",
+ "parseInt",
+ "decodeURI",
+ "decodeURIComponent",
+ "encodeURI",
+ "encodeURIComponent",
+ "escape",
+ "unescape"
+ ];
+ var BUILT_INS = [].concat(
+ BUILT_IN_GLOBALS,
+ TYPES,
+ ERROR_TYPES
+ );
+ function livescript(hljs) {
+ const LIVESCRIPT_BUILT_INS = [
+ "npm",
+ "print"
+ ];
+ const LIVESCRIPT_LITERALS = [
+ "yes",
+ "no",
+ "on",
+ "off",
+ "it",
+ "that",
+ "void"
+ ];
+ const LIVESCRIPT_KEYWORDS = [
+ "then",
+ "unless",
+ "until",
+ "loop",
+ "of",
+ "by",
+ "when",
+ "and",
+ "or",
+ "is",
+ "isnt",
+ "not",
+ "it",
+ "that",
+ "otherwise",
+ "from",
+ "to",
+ "til",
+ "fallthrough",
+ "case",
+ "enum",
+ "native",
+ "list",
+ "map",
+ "__hasProp",
+ "__extends",
+ "__slice",
+ "__bind",
+ "__indexOf"
+ ];
+ const KEYWORDS$1 = {
+ keyword: KEYWORDS.concat(LIVESCRIPT_KEYWORDS),
+ literal: LITERALS.concat(LIVESCRIPT_LITERALS),
+ built_in: BUILT_INS.concat(LIVESCRIPT_BUILT_INS)
+ };
+ const JS_IDENT_RE = "[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*";
+ const TITLE2 = hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE });
+ const SUBST = {
+ className: "subst",
+ begin: /#\{/,
+ end: /\}/,
+ keywords: KEYWORDS$1
+ };
+ const SUBST_SIMPLE = {
+ className: "subst",
+ begin: /#[A-Za-z$_]/,
+ end: /(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,
+ keywords: KEYWORDS$1
+ };
+ const EXPRESSIONS = [
+ hljs.BINARY_NUMBER_MODE,
+ {
+ className: "number",
+ begin: "(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",
+ relevance: 0,
+ starts: {
+ end: "(\\s*/)?",
+ relevance: 0
+ }
+ // a number tries to eat the following slash to prevent treating it as a regexp
+ },
+ {
+ className: "string",
+ variants: [
+ {
+ begin: /'''/,
+ end: /'''/,
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ {
+ begin: /'/,
+ end: /'/,
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ {
+ begin: /"""/,
+ end: /"""/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST,
+ SUBST_SIMPLE
+ ]
+ },
+ {
+ begin: /"/,
+ end: /"/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST,
+ SUBST_SIMPLE
+ ]
+ },
+ {
+ begin: /\\/,
+ end: /(\s|$)/,
+ excludeEnd: true
+ }
+ ]
+ },
+ {
+ className: "regexp",
+ variants: [
+ {
+ begin: "//",
+ end: "//[gim]*",
+ contains: [
+ SUBST,
+ hljs.HASH_COMMENT_MODE
+ ]
+ },
+ {
+ // regex can't start with space to parse x / 2 / 3 as two divisions
+ // regex can't start with *, and it supports an "illegal" in the main mode
+ begin: /\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/
+ }
+ ]
+ },
+ { begin: "@" + JS_IDENT_RE },
+ {
+ begin: "``",
+ end: "``",
+ excludeBegin: true,
+ excludeEnd: true,
+ subLanguage: "javascript"
+ }
+ ];
+ SUBST.contains = EXPRESSIONS;
+ const PARAMS = {
+ className: "params",
+ begin: "\\(",
+ returnBegin: true,
+ /* We need another contained nameless mode to not have every nested
+ pair of parens to be called "params" */
+ contains: [
+ {
+ begin: /\(/,
+ end: /\)/,
+ keywords: KEYWORDS$1,
+ contains: ["self"].concat(EXPRESSIONS)
+ }
+ ]
+ };
+ const SYMBOLS = { begin: "(#=>|=>|\\|>>|-?->|!->)" };
+ const CLASS_DEFINITION = {
+ variants: [
+ { match: [
+ /class\s+/,
+ JS_IDENT_RE,
+ /\s+extends\s+/,
+ JS_IDENT_RE
+ ] },
+ { match: [
+ /class\s+/,
+ JS_IDENT_RE
+ ] }
+ ],
+ scope: {
+ 2: "title.class",
+ 4: "title.class.inherited"
+ },
+ keywords: KEYWORDS$1
+ };
+ return {
+ name: "LiveScript",
+ aliases: ["ls"],
+ keywords: KEYWORDS$1,
+ illegal: /\/\*/,
+ contains: EXPRESSIONS.concat([
+ hljs.COMMENT("\\/\\*", "\\*\\/"),
+ hljs.HASH_COMMENT_MODE,
+ SYMBOLS,
+ // relevance booster
+ {
+ className: "function",
+ contains: [
+ TITLE2,
+ PARAMS
+ ],
+ returnBegin: true,
+ variants: [
+ {
+ begin: "(" + JS_IDENT_RE + "\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",
+ end: "->\\*?"
+ },
+ {
+ begin: "(" + JS_IDENT_RE + "\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",
+ end: "[-~]{1,2}>\\*?"
+ },
+ {
+ begin: "(" + JS_IDENT_RE + "\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",
+ end: "!?[-~]{1,2}>\\*?"
+ }
+ ]
+ },
+ CLASS_DEFINITION,
+ {
+ begin: JS_IDENT_RE + ":",
+ end: ":",
+ returnBegin: true,
+ returnEnd: true,
+ relevance: 0
+ }
+ ])
+ };
+ }
+ module.exports = livescript;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/llvm.js
+ var require_llvm = __commonJS({
+ "node_modules/highlight.js/lib/languages/llvm.js"(exports, module) {
+ function llvm(hljs) {
+ const regex = hljs.regex;
+ const IDENT_RE = /([-a-zA-Z$._][\w$.-]*)/;
+ const TYPE = {
+ className: "type",
+ begin: /\bi\d+(?=\s|\b)/
+ };
+ const OPERATOR = {
+ className: "operator",
+ relevance: 0,
+ begin: /=/
+ };
+ const PUNCTUATION = {
+ className: "punctuation",
+ relevance: 0,
+ begin: /,/
+ };
+ const NUMBER = {
+ className: "number",
+ variants: [
+ { begin: /[su]?0[xX][KMLHR]?[a-fA-F0-9]+/ },
+ { begin: /[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/ }
+ ],
+ relevance: 0
+ };
+ const LABEL = {
+ className: "symbol",
+ variants: [
+ { begin: /^\s*[a-z]+:/ }
+ // labels
+ ],
+ relevance: 0
+ };
+ const VARIABLE = {
+ className: "variable",
+ variants: [
+ { begin: regex.concat(/%/, IDENT_RE) },
+ { begin: /%\d+/ },
+ { begin: /#\d+/ }
+ ]
+ };
+ const FUNCTION = {
+ className: "title",
+ variants: [
+ { begin: regex.concat(/@/, IDENT_RE) },
+ { begin: /@\d+/ },
+ { begin: regex.concat(/!/, IDENT_RE) },
+ { begin: regex.concat(/!\d+/, IDENT_RE) },
+ // https://llvm.org/docs/LangRef.html#namedmetadatastructure
+ // obviously a single digit can also be used in this fashion
+ { begin: /!\d+/ }
+ ]
+ };
+ return {
+ name: "LLVM IR",
+ // TODO: split into different categories of keywords
+ keywords: {
+ keyword: "begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly",
+ type: "void half bfloat float double fp128 x86_fp80 ppc_fp128 x86_amx x86_mmx ptr label token metadata opaque"
+ },
+ contains: [
+ TYPE,
+ // this matches "empty comments"...
+ // ...because it's far more likely this is a statement terminator in
+ // another language than an actual comment
+ hljs.COMMENT(/;\s*$/, null, { relevance: 0 }),
+ hljs.COMMENT(/;/, /$/),
+ {
+ className: "string",
+ begin: /"/,
+ end: /"/,
+ contains: [
+ {
+ className: "char.escape",
+ match: /\\\d\d/
+ }
+ ]
+ },
+ FUNCTION,
+ PUNCTUATION,
+ OPERATOR,
+ VARIABLE,
+ LABEL,
+ NUMBER
+ ]
+ };
+ }
+ module.exports = llvm;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/lsl.js
+ var require_lsl = __commonJS({
+ "node_modules/highlight.js/lib/languages/lsl.js"(exports, module) {
+ function lsl(hljs) {
+ const LSL_STRING_ESCAPE_CHARS = {
+ className: "subst",
+ begin: /\\[tn"\\]/
+ };
+ const LSL_STRINGS = {
+ className: "string",
+ begin: '"',
+ end: '"',
+ contains: [LSL_STRING_ESCAPE_CHARS]
+ };
+ const LSL_NUMBERS = {
+ className: "number",
+ relevance: 0,
+ begin: hljs.C_NUMBER_RE
+ };
+ const LSL_CONSTANTS = {
+ className: "literal",
+ variants: [
+ { begin: "\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b" },
+ { begin: "\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b" },
+ { begin: "\\b(FALSE|TRUE)\\b" },
+ { begin: "\\b(ZERO_ROTATION)\\b" },
+ { begin: "\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b" },
+ { begin: "\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b" }
+ ]
+ };
+ const LSL_FUNCTIONS = {
+ className: "built_in",
+ begin: "\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"
+ };
+ return {
+ name: "LSL (Linden Scripting Language)",
+ illegal: ":",
+ contains: [
+ LSL_STRINGS,
+ {
+ className: "comment",
+ variants: [
+ hljs.COMMENT("//", "$"),
+ hljs.COMMENT("/\\*", "\\*/")
+ ],
+ relevance: 0
+ },
+ LSL_NUMBERS,
+ {
+ className: "section",
+ variants: [
+ { begin: "\\b(state|default)\\b" },
+ { begin: "\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b" }
+ ]
+ },
+ LSL_FUNCTIONS,
+ LSL_CONSTANTS,
+ {
+ className: "type",
+ begin: "\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"
+ }
+ ]
+ };
+ }
+ module.exports = lsl;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/lua.js
+ var require_lua = __commonJS({
+ "node_modules/highlight.js/lib/languages/lua.js"(exports, module) {
+ function lua(hljs) {
+ const OPENING_LONG_BRACKET = "\\[=*\\[";
+ const CLOSING_LONG_BRACKET = "\\]=*\\]";
+ const LONG_BRACKETS = {
+ begin: OPENING_LONG_BRACKET,
+ end: CLOSING_LONG_BRACKET,
+ contains: ["self"]
+ };
+ const COMMENTS = [
+ hljs.COMMENT("--(?!" + OPENING_LONG_BRACKET + ")", "$"),
+ hljs.COMMENT(
+ "--" + OPENING_LONG_BRACKET,
+ CLOSING_LONG_BRACKET,
+ {
+ contains: [LONG_BRACKETS],
+ relevance: 10
+ }
+ )
+ ];
+ return {
+ name: "Lua",
+ keywords: {
+ $pattern: hljs.UNDERSCORE_IDENT_RE,
+ literal: "true false nil",
+ keyword: "and break do else elseif end for goto if in local not or repeat return then until while",
+ built_in: (
+ // Metatags and globals:
+ "_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"
+ )
+ },
+ contains: COMMENTS.concat([
+ {
+ className: "function",
+ beginKeywords: "function",
+ end: "\\)",
+ contains: [
+ hljs.inherit(hljs.TITLE_MODE, { begin: "([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*" }),
+ {
+ className: "params",
+ begin: "\\(",
+ endsWithParent: true,
+ contains: COMMENTS
+ }
+ ].concat(COMMENTS)
+ },
+ hljs.C_NUMBER_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ {
+ className: "string",
+ begin: OPENING_LONG_BRACKET,
+ end: CLOSING_LONG_BRACKET,
+ contains: [LONG_BRACKETS],
+ relevance: 5
+ }
+ ])
+ };
+ }
+ module.exports = lua;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/makefile.js
+ var require_makefile = __commonJS({
+ "node_modules/highlight.js/lib/languages/makefile.js"(exports, module) {
+ function makefile(hljs) {
+ const VARIABLE = {
+ className: "variable",
+ variants: [
+ {
+ begin: "\\$\\(" + hljs.UNDERSCORE_IDENT_RE + "\\)",
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ { begin: /\$[@%<?\^\+\*]/ }
+ ]
+ };
+ const QUOTE_STRING = {
+ className: "string",
+ begin: /"/,
+ end: /"/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ VARIABLE
+ ]
+ };
+ const FUNC = {
+ className: "variable",
+ begin: /\$\([\w-]+\s/,
+ end: /\)/,
+ keywords: { built_in: "subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value" },
+ contains: [VARIABLE]
+ };
+ const ASSIGNMENT = { begin: "^" + hljs.UNDERSCORE_IDENT_RE + "\\s*(?=[:+?]?=)" };
+ const META = {
+ className: "meta",
+ begin: /^\.PHONY:/,
+ end: /$/,
+ keywords: {
+ $pattern: /[\.\w]+/,
+ keyword: ".PHONY"
+ }
+ };
+ const TARGET = {
+ className: "section",
+ begin: /^[^\s]+:/,
+ end: /$/,
+ contains: [VARIABLE]
+ };
+ return {
+ name: "Makefile",
+ aliases: [
+ "mk",
+ "mak",
+ "make"
+ ],
+ keywords: {
+ $pattern: /[\w-]+/,
+ keyword: "define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"
+ },
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ VARIABLE,
+ QUOTE_STRING,
+ FUNC,
+ ASSIGNMENT,
+ META,
+ TARGET
+ ]
+ };
+ }
+ module.exports = makefile;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/mathematica.js
+ var require_mathematica = __commonJS({
+ "node_modules/highlight.js/lib/languages/mathematica.js"(exports, module) {
+ var SYSTEM_SYMBOLS = [
+ "AASTriangle",
+ "AbelianGroup",
+ "Abort",
+ "AbortKernels",
+ "AbortProtect",
+ "AbortScheduledTask",
+ "Above",
+ "Abs",
+ "AbsArg",
+ "AbsArgPlot",
+ "Absolute",
+ "AbsoluteCorrelation",
+ "AbsoluteCorrelationFunction",
+ "AbsoluteCurrentValue",
+ "AbsoluteDashing",
+ "AbsoluteFileName",
+ "AbsoluteOptions",
+ "AbsolutePointSize",
+ "AbsoluteThickness",
+ "AbsoluteTime",
+ "AbsoluteTiming",
+ "AcceptanceThreshold",
+ "AccountingForm",
+ "Accumulate",
+ "Accuracy",
+ "AccuracyGoal",
+ "AcousticAbsorbingValue",
+ "AcousticImpedanceValue",
+ "AcousticNormalVelocityValue",
+ "AcousticPDEComponent",
+ "AcousticPressureCondition",
+ "AcousticRadiationValue",
+ "AcousticSoundHardValue",
+ "AcousticSoundSoftCondition",
+ "ActionDelay",
+ "ActionMenu",
+ "ActionMenuBox",
+ "ActionMenuBoxOptions",
+ "Activate",
+ "Active",
+ "ActiveClassification",
+ "ActiveClassificationObject",
+ "ActiveItem",
+ "ActivePrediction",
+ "ActivePredictionObject",
+ "ActiveStyle",
+ "AcyclicGraphQ",
+ "AddOnHelpPath",
+ "AddSides",
+ "AddTo",
+ "AddToSearchIndex",
+ "AddUsers",
+ "AdjacencyGraph",
+ "AdjacencyList",
+ "AdjacencyMatrix",
+ "AdjacentMeshCells",
+ "Adjugate",
+ "AdjustmentBox",
+ "AdjustmentBoxOptions",
+ "AdjustTimeSeriesForecast",
+ "AdministrativeDivisionData",
+ "AffineHalfSpace",
+ "AffineSpace",
+ "AffineStateSpaceModel",
+ "AffineTransform",
+ "After",
+ "AggregatedEntityClass",
+ "AggregationLayer",
+ "AircraftData",
+ "AirportData",
+ "AirPressureData",
+ "AirSoundAttenuation",
+ "AirTemperatureData",
+ "AiryAi",
+ "AiryAiPrime",
+ "AiryAiZero",
+ "AiryBi",
+ "AiryBiPrime",
+ "AiryBiZero",
+ "AlgebraicIntegerQ",
+ "AlgebraicNumber",
+ "AlgebraicNumberDenominator",
+ "AlgebraicNumberNorm",
+ "AlgebraicNumberPolynomial",
+ "AlgebraicNumberTrace",
+ "AlgebraicRules",
+ "AlgebraicRulesData",
+ "Algebraics",
+ "AlgebraicUnitQ",
+ "Alignment",
+ "AlignmentMarker",
+ "AlignmentPoint",
+ "All",
+ "AllowAdultContent",
+ "AllowChatServices",
+ "AllowedCloudExtraParameters",
+ "AllowedCloudParameterExtensions",
+ "AllowedDimensions",
+ "AllowedFrequencyRange",
+ "AllowedHeads",
+ "AllowGroupClose",
+ "AllowIncomplete",
+ "AllowInlineCells",
+ "AllowKernelInitialization",
+ "AllowLooseGrammar",
+ "AllowReverseGroupClose",
+ "AllowScriptLevelChange",
+ "AllowVersionUpdate",
+ "AllTrue",
+ "Alphabet",
+ "AlphabeticOrder",
+ "AlphabeticSort",
+ "AlphaChannel",
+ "AlternateImage",
+ "AlternatingFactorial",
+ "AlternatingGroup",
+ "AlternativeHypothesis",
+ "Alternatives",
+ "AltitudeMethod",
+ "AmbientLight",
+ "AmbiguityFunction",
+ "AmbiguityList",
+ "Analytic",
+ "AnatomyData",
+ "AnatomyForm",
+ "AnatomyPlot3D",
+ "AnatomySkinStyle",
+ "AnatomyStyling",
+ "AnchoredSearch",
+ "And",
+ "AndersonDarlingTest",
+ "AngerJ",
+ "AngleBisector",
+ "AngleBracket",
+ "AnglePath",
+ "AnglePath3D",
+ "AngleVector",
+ "AngularGauge",
+ "Animate",
+ "AnimatedImage",
+ "AnimationCycleOffset",
+ "AnimationCycleRepetitions",
+ "AnimationDirection",
+ "AnimationDisplayTime",
+ "AnimationRate",
+ "AnimationRepetitions",
+ "AnimationRunning",
+ "AnimationRunTime",
+ "AnimationTimeIndex",
+ "AnimationVideo",
+ "Animator",
+ "AnimatorBox",
+ "AnimatorBoxOptions",
+ "AnimatorElements",
+ "Annotate",
+ "Annotation",
+ "AnnotationDelete",
+ "AnnotationKeys",
+ "AnnotationRules",
+ "AnnotationValue",
+ "Annuity",
+ "AnnuityDue",
+ "Annulus",
+ "AnomalyDetection",
+ "AnomalyDetector",
+ "AnomalyDetectorFunction",
+ "Anonymous",
+ "Antialiasing",
+ "Antihermitian",
+ "AntihermitianMatrixQ",
+ "Antisymmetric",
+ "AntisymmetricMatrixQ",
+ "Antonyms",
+ "AnyOrder",
+ "AnySubset",
+ "AnyTrue",
+ "Apart",
+ "ApartSquareFree",
+ "APIFunction",
+ "Appearance",
+ "AppearanceElements",
+ "AppearanceRules",
+ "AppellF1",
+ "Append",
+ "AppendCheck",
+ "AppendLayer",
+ "AppendTo",
+ "Application",
+ "Apply",
+ "ApplyReaction",
+ "ApplySides",
+ "ApplyTo",
+ "ArcCos",
+ "ArcCosh",
+ "ArcCot",
+ "ArcCoth",
+ "ArcCsc",
+ "ArcCsch",
+ "ArcCurvature",
+ "ARCHProcess",
+ "ArcLength",
+ "ArcSec",
+ "ArcSech",
+ "ArcSin",
+ "ArcSinDistribution",
+ "ArcSinh",
+ "ArcTan",
+ "ArcTanh",
+ "Area",
+ "Arg",
+ "ArgMax",
+ "ArgMin",
+ "ArgumentCountQ",
+ "ArgumentsOptions",
+ "ARIMAProcess",
+ "ArithmeticGeometricMean",
+ "ARMAProcess",
+ "Around",
+ "AroundReplace",
+ "ARProcess",
+ "Array",
+ "ArrayComponents",
+ "ArrayDepth",
+ "ArrayFilter",
+ "ArrayFlatten",
+ "ArrayMesh",
+ "ArrayPad",
+ "ArrayPlot",
+ "ArrayPlot3D",
+ "ArrayQ",
+ "ArrayReduce",
+ "ArrayResample",
+ "ArrayReshape",
+ "ArrayRules",
+ "Arrays",
+ "Arrow",
+ "Arrow3DBox",
+ "ArrowBox",
+ "Arrowheads",
+ "ASATriangle",
+ "Ask",
+ "AskAppend",
+ "AskConfirm",
+ "AskDisplay",
+ "AskedQ",
+ "AskedValue",
+ "AskFunction",
+ "AskState",
+ "AskTemplateDisplay",
+ "AspectRatio",
+ "AspectRatioFixed",
+ "Assert",
+ "AssessmentFunction",
+ "AssessmentResultObject",
+ "AssociateTo",
+ "Association",
+ "AssociationFormat",
+ "AssociationMap",
+ "AssociationQ",
+ "AssociationThread",
+ "AssumeDeterministic",
+ "Assuming",
+ "Assumptions",
+ "AstroAngularSeparation",
+ "AstroBackground",
+ "AstroCenter",
+ "AstroDistance",
+ "AstroGraphics",
+ "AstroGridLines",
+ "AstroGridLinesStyle",
+ "AstronomicalData",
+ "AstroPosition",
+ "AstroProjection",
+ "AstroRange",
+ "AstroRangePadding",
+ "AstroReferenceFrame",
+ "AstroStyling",
+ "AstroZoomLevel",
+ "Asymptotic",
+ "AsymptoticDSolveValue",
+ "AsymptoticEqual",
+ "AsymptoticEquivalent",
+ "AsymptoticExpectation",
+ "AsymptoticGreater",
+ "AsymptoticGreaterEqual",
+ "AsymptoticIntegrate",
+ "AsymptoticLess",
+ "AsymptoticLessEqual",
+ "AsymptoticOutputTracker",
+ "AsymptoticProbability",
+ "AsymptoticProduct",
+ "AsymptoticRSolveValue",
+ "AsymptoticSolve",
+ "AsymptoticSum",
+ "Asynchronous",
+ "AsynchronousTaskObject",
+ "AsynchronousTasks",
+ "Atom",
+ "AtomCoordinates",
+ "AtomCount",
+ "AtomDiagramCoordinates",
+ "AtomLabels",
+ "AtomLabelStyle",
+ "AtomList",
+ "AtomQ",
+ "AttachCell",
+ "AttachedCell",
+ "AttentionLayer",
+ "Attributes",
+ "Audio",
+ "AudioAmplify",
+ "AudioAnnotate",
+ "AudioAnnotationLookup",
+ "AudioBlockMap",
+ "AudioCapture",
+ "AudioChannelAssignment",
+ "AudioChannelCombine",
+ "AudioChannelMix",
+ "AudioChannels",
+ "AudioChannelSeparate",
+ "AudioData",
+ "AudioDelay",
+ "AudioDelete",
+ "AudioDevice",
+ "AudioDistance",
+ "AudioEncoding",
+ "AudioFade",
+ "AudioFrequencyShift",
+ "AudioGenerator",
+ "AudioIdentify",
+ "AudioInputDevice",
+ "AudioInsert",
+ "AudioInstanceQ",
+ "AudioIntervals",
+ "AudioJoin",
+ "AudioLabel",
+ "AudioLength",
+ "AudioLocalMeasurements",
+ "AudioLooping",
+ "AudioLoudness",
+ "AudioMeasurements",
+ "AudioNormalize",
+ "AudioOutputDevice",
+ "AudioOverlay",
+ "AudioPad",
+ "AudioPan",
+ "AudioPartition",
+ "AudioPause",
+ "AudioPitchShift",
+ "AudioPlay",
+ "AudioPlot",
+ "AudioQ",
+ "AudioRecord",
+ "AudioReplace",
+ "AudioResample",
+ "AudioReverb",
+ "AudioReverse",
+ "AudioSampleRate",
+ "AudioSpectralMap",
+ "AudioSpectralTransformation",
+ "AudioSplit",
+ "AudioStop",
+ "AudioStream",
+ "AudioStreams",
+ "AudioTimeStretch",
+ "AudioTrackApply",
+ "AudioTrackSelection",
+ "AudioTrim",
+ "AudioType",
+ "AugmentedPolyhedron",
+ "AugmentedSymmetricPolynomial",
+ "Authenticate",
+ "Authentication",
+ "AuthenticationDialog",
+ "AutoAction",
+ "Autocomplete",
+ "AutocompletionFunction",
+ "AutoCopy",
+ "AutocorrelationTest",
+ "AutoDelete",
+ "AutoEvaluateEvents",
+ "AutoGeneratedPackage",
+ "AutoIndent",
+ "AutoIndentSpacings",
+ "AutoItalicWords",
+ "AutoloadPath",
+ "AutoMatch",
+ "Automatic",
+ "AutomaticImageSize",
+ "AutoMultiplicationSymbol",
+ "AutoNumberFormatting",
+ "AutoOpenNotebooks",
+ "AutoOpenPalettes",
+ "AutoOperatorRenderings",
+ "AutoQuoteCharacters",
+ "AutoRefreshed",
+ "AutoRemove",
+ "AutorunSequencing",
+ "AutoScaling",
+ "AutoScroll",
+ "AutoSpacing",
+ "AutoStyleOptions",
+ "AutoStyleWords",
+ "AutoSubmitting",
+ "Axes",
+ "AxesEdge",
+ "AxesLabel",
+ "AxesOrigin",
+ "AxesStyle",
+ "AxiomaticTheory",
+ "Axis",
+ "Axis3DBox",
+ "Axis3DBoxOptions",
+ "AxisBox",
+ "AxisBoxOptions",
+ "AxisLabel",
+ "AxisObject",
+ "AxisStyle",
+ "BabyMonsterGroupB",
+ "Back",
+ "BackFaceColor",
+ "BackFaceGlowColor",
+ "BackFaceOpacity",
+ "BackFaceSpecularColor",
+ "BackFaceSpecularExponent",
+ "BackFaceSurfaceAppearance",
+ "BackFaceTexture",
+ "Background",
+ "BackgroundAppearance",
+ "BackgroundTasksSettings",
+ "Backslash",
+ "Backsubstitution",
+ "Backward",
+ "Ball",
+ "Band",
+ "BandpassFilter",
+ "BandstopFilter",
+ "BarabasiAlbertGraphDistribution",
+ "BarChart",
+ "BarChart3D",
+ "BarcodeImage",
+ "BarcodeRecognize",
+ "BaringhausHenzeTest",
+ "BarLegend",
+ "BarlowProschanImportance",
+ "BarnesG",
+ "BarOrigin",
+ "BarSpacing",
+ "BartlettHannWindow",
+ "BartlettWindow",
+ "BaseDecode",
+ "BaseEncode",
+ "BaseForm",
+ "Baseline",
+ "BaselinePosition",
+ "BaseStyle",
+ "BasicRecurrentLayer",
+ "BatchNormalizationLayer",
+ "BatchSize",
+ "BatesDistribution",
+ "BattleLemarieWavelet",
+ "BayesianMaximization",
+ "BayesianMaximizationObject",
+ "BayesianMinimization",
+ "BayesianMinimizationObject",
+ "Because",
+ "BeckmannDistribution",
+ "Beep",
+ "Before",
+ "Begin",
+ "BeginDialogPacket",
+ "BeginPackage",
+ "BellB",
+ "BellY",
+ "Below",
+ "BenfordDistribution",
+ "BeniniDistribution",
+ "BenktanderGibratDistribution",
+ "BenktanderWeibullDistribution",
+ "BernoulliB",
+ "BernoulliDistribution",
+ "BernoulliGraphDistribution",
+ "BernoulliProcess",
+ "BernsteinBasis",
+ "BesagL",
+ "BesselFilterModel",
+ "BesselI",
+ "BesselJ",
+ "BesselJZero",
+ "BesselK",
+ "BesselY",
+ "BesselYZero",
+ "Beta",
+ "BetaBinomialDistribution",
+ "BetaDistribution",
+ "BetaNegativeBinomialDistribution",
+ "BetaPrimeDistribution",
+ "BetaRegularized",
+ "Between",
+ "BetweennessCentrality",
+ "Beveled",
+ "BeveledPolyhedron",
+ "BezierCurve",
+ "BezierCurve3DBox",
+ "BezierCurve3DBoxOptions",
+ "BezierCurveBox",
+ "BezierCurveBoxOptions",
+ "BezierFunction",
+ "BilateralFilter",
+ "BilateralLaplaceTransform",
+ "BilateralZTransform",
+ "Binarize",
+ "BinaryDeserialize",
+ "BinaryDistance",
+ "BinaryFormat",
+ "BinaryImageQ",
+ "BinaryRead",
+ "BinaryReadList",
+ "BinarySerialize",
+ "BinaryWrite",
+ "BinCounts",
+ "BinLists",
+ "BinnedVariogramList",
+ "Binomial",
+ "BinomialDistribution",
+ "BinomialPointProcess",
+ "BinomialProcess",
+ "BinormalDistribution",
+ "BiorthogonalSplineWavelet",
+ "BioSequence",
+ "BioSequenceBackTranslateList",
+ "BioSequenceComplement",
+ "BioSequenceInstances",
+ "BioSequenceModify",
+ "BioSequencePlot",
+ "BioSequenceQ",
+ "BioSequenceReverseComplement",
+ "BioSequenceTranscribe",
+ "BioSequenceTranslate",
+ "BipartiteGraphQ",
+ "BiquadraticFilterModel",
+ "BirnbaumImportance",
+ "BirnbaumSaundersDistribution",
+ "BitAnd",
+ "BitClear",
+ "BitGet",
+ "BitLength",
+ "BitNot",
+ "BitOr",
+ "BitRate",
+ "BitSet",
+ "BitShiftLeft",
+ "BitShiftRight",
+ "BitXor",
+ "BiweightLocation",
+ "BiweightMidvariance",
+ "Black",
+ "BlackmanHarrisWindow",
+ "BlackmanNuttallWindow",
+ "BlackmanWindow",
+ "Blank",
+ "BlankForm",
+ "BlankNullSequence",
+ "BlankSequence",
+ "Blend",
+ "Block",
+ "BlockchainAddressData",
+ "BlockchainBase",
+ "BlockchainBlockData",
+ "BlockchainContractValue",
+ "BlockchainData",
+ "BlockchainGet",
+ "BlockchainKeyEncode",
+ "BlockchainPut",
+ "BlockchainTokenData",
+ "BlockchainTransaction",
+ "BlockchainTransactionData",
+ "BlockchainTransactionSign",
+ "BlockchainTransactionSubmit",
+ "BlockDiagonalMatrix",
+ "BlockLowerTriangularMatrix",
+ "BlockMap",
+ "BlockRandom",
+ "BlockUpperTriangularMatrix",
+ "BlomqvistBeta",
+ "BlomqvistBetaTest",
+ "Blue",
+ "Blur",
+ "Blurring",
+ "BodePlot",
+ "BohmanWindow",
+ "Bold",
+ "Bond",
+ "BondCount",
+ "BondLabels",
+ "BondLabelStyle",
+ "BondList",
+ "BondQ",
+ "Bookmarks",
+ "Boole",
+ "BooleanConsecutiveFunction",
+ "BooleanConvert",
+ "BooleanCountingFunction",
+ "BooleanFunction",
+ "BooleanGraph",
+ "BooleanMaxterms",
+ "BooleanMinimize",
+ "BooleanMinterms",
+ "BooleanQ",
+ "BooleanRegion",
+ "Booleans",
+ "BooleanStrings",
+ "BooleanTable",
+ "BooleanVariables",
+ "BorderDimensions",
+ "BorelTannerDistribution",
+ "Bottom",
+ "BottomHatTransform",
+ "BoundaryDiscretizeGraphics",
+ "BoundaryDiscretizeRegion",
+ "BoundaryMesh",
+ "BoundaryMeshRegion",
+ "BoundaryMeshRegionQ",
+ "BoundaryStyle",
+ "BoundedRegionQ",
+ "BoundingRegion",
+ "Bounds",
+ "Box",
+ "BoxBaselineShift",
+ "BoxData",
+ "BoxDimensions",
+ "Boxed",
+ "Boxes",
+ "BoxForm",
+ "BoxFormFormatTypes",
+ "BoxFrame",
+ "BoxID",
+ "BoxMargins",
+ "BoxMatrix",
+ "BoxObject",
+ "BoxRatios",
+ "BoxRotation",
+ "BoxRotationPoint",
+ "BoxStyle",
+ "BoxWhiskerChart",
+ "Bra",
+ "BracketingBar",
+ "BraKet",
+ "BrayCurtisDistance",
+ "BreadthFirstScan",
+ "Break",
+ "BridgeData",
+ "BrightnessEqualize",
+ "BroadcastStationData",
+ "Brown",
+ "BrownForsytheTest",
+ "BrownianBridgeProcess",
+ "BrowserCategory",
+ "BSplineBasis",
+ "BSplineCurve",
+ "BSplineCurve3DBox",
+ "BSplineCurve3DBoxOptions",
+ "BSplineCurveBox",
+ "BSplineCurveBoxOptions",
+ "BSplineFunction",
+ "BSplineSurface",
+ "BSplineSurface3DBox",
+ "BSplineSurface3DBoxOptions",
+ "BubbleChart",
+ "BubbleChart3D",
+ "BubbleScale",
+ "BubbleSizes",
+ "BuckyballGraph",
+ "BuildCompiledComponent",
+ "BuildingData",
+ "BulletGauge",
+ "BusinessDayQ",
+ "ButterflyGraph",
+ "ButterworthFilterModel",
+ "Button",
+ "ButtonBar",
+ "ButtonBox",
+ "ButtonBoxOptions",
+ "ButtonCell",
+ "ButtonContents",
+ "ButtonData",
+ "ButtonEvaluator",
+ "ButtonExpandable",
+ "ButtonFrame",
+ "ButtonFunction",
+ "ButtonMargins",
+ "ButtonMinHeight",
+ "ButtonNote",
+ "ButtonNotebook",
+ "ButtonSource",
+ "ButtonStyle",
+ "ButtonStyleMenuListing",
+ "Byte",
+ "ByteArray",
+ "ByteArrayFormat",
+ "ByteArrayFormatQ",
+ "ByteArrayQ",
+ "ByteArrayToString",
+ "ByteCount",
+ "ByteOrdering",
+ "C",
+ "CachedValue",
+ "CacheGraphics",
+ "CachePersistence",
+ "CalendarConvert",
+ "CalendarData",
+ "CalendarType",
+ "Callout",
+ "CalloutMarker",
+ "CalloutStyle",
+ "CallPacket",
+ "CanberraDistance",
+ "Cancel",
+ "CancelButton",
+ "CandlestickChart",
+ "CanonicalGraph",
+ "CanonicalizePolygon",
+ "CanonicalizePolyhedron",
+ "CanonicalizeRegion",
+ "CanonicalName",
+ "CanonicalWarpingCorrespondence",
+ "CanonicalWarpingDistance",
+ "CantorMesh",
+ "CantorStaircase",
+ "Canvas",
+ "Cap",
+ "CapForm",
+ "CapitalDifferentialD",
+ "Capitalize",
+ "CapsuleShape",
+ "CaptureRunning",
+ "CaputoD",
+ "CardinalBSplineBasis",
+ "CarlemanLinearize",
+ "CarlsonRC",
+ "CarlsonRD",
+ "CarlsonRE",
+ "CarlsonRF",
+ "CarlsonRG",
+ "CarlsonRJ",
+ "CarlsonRK",
+ "CarlsonRM",
+ "CarmichaelLambda",
+ "CaseOrdering",
+ "Cases",
+ "CaseSensitive",
+ "Cashflow",
+ "Casoratian",
+ "Cast",
+ "Catalan",
+ "CatalanNumber",
+ "Catch",
+ "CategoricalDistribution",
+ "Catenate",
+ "CatenateLayer",
+ "CauchyDistribution",
+ "CauchyMatrix",
+ "CauchyPointProcess",
+ "CauchyWindow",
+ "CayleyGraph",
+ "CDF",
+ "CDFDeploy",
+ "CDFInformation",
+ "CDFWavelet",
+ "Ceiling",
+ "CelestialSystem",
+ "Cell",
+ "CellAutoOverwrite",
+ "CellBaseline",
+ "CellBoundingBox",
+ "CellBracketOptions",
+ "CellChangeTimes",
+ "CellContents",
+ "CellContext",
+ "CellDingbat",
+ "CellDingbatMargin",
+ "CellDynamicExpression",
+ "CellEditDuplicate",
+ "CellElementsBoundingBox",
+ "CellElementSpacings",
+ "CellEpilog",
+ "CellEvaluationDuplicate",
+ "CellEvaluationFunction",
+ "CellEvaluationLanguage",
+ "CellEventActions",
+ "CellFrame",
+ "CellFrameColor",
+ "CellFrameLabelMargins",
+ "CellFrameLabels",
+ "CellFrameMargins",
+ "CellFrameStyle",
+ "CellGroup",
+ "CellGroupData",
+ "CellGrouping",
+ "CellGroupingRules",
+ "CellHorizontalScrolling",
+ "CellID",
+ "CellInsertionPointCell",
+ "CellLabel",
+ "CellLabelAutoDelete",
+ "CellLabelMargins",
+ "CellLabelPositioning",
+ "CellLabelStyle",
+ "CellLabelTemplate",
+ "CellMargins",
+ "CellObject",
+ "CellOpen",
+ "CellPrint",
+ "CellProlog",
+ "Cells",
+ "CellSize",
+ "CellStyle",
+ "CellTags",
+ "CellTrayPosition",
+ "CellTrayWidgets",
+ "CellularAutomaton",
+ "CensoredDistribution",
+ "Censoring",
+ "Center",
+ "CenterArray",
+ "CenterDot",
+ "CenteredInterval",
+ "CentralFeature",
+ "CentralMoment",
+ "CentralMomentGeneratingFunction",
+ "Cepstrogram",
+ "CepstrogramArray",
+ "CepstrumArray",
+ "CForm",
+ "ChampernowneNumber",
+ "ChangeOptions",
+ "ChannelBase",
+ "ChannelBrokerAction",
+ "ChannelDatabin",
+ "ChannelHistoryLength",
+ "ChannelListen",
+ "ChannelListener",
+ "ChannelListeners",
+ "ChannelListenerWait",
+ "ChannelObject",
+ "ChannelPreSendFunction",
+ "ChannelReceiverFunction",
+ "ChannelSend",
+ "ChannelSubscribers",
+ "ChanVeseBinarize",
+ "Character",
+ "CharacterCounts",
+ "CharacterEncoding",
+ "CharacterEncodingsPath",
+ "CharacteristicFunction",
+ "CharacteristicPolynomial",
+ "CharacterName",
+ "CharacterNormalize",
+ "CharacterRange",
+ "Characters",
+ "ChartBaseStyle",
+ "ChartElementData",
+ "ChartElementDataFunction",
+ "ChartElementFunction",
+ "ChartElements",
+ "ChartLabels",
+ "ChartLayout",
+ "ChartLegends",
+ "ChartStyle",
+ "Chebyshev1FilterModel",
+ "Chebyshev2FilterModel",
+ "ChebyshevDistance",
+ "ChebyshevT",
+ "ChebyshevU",
+ "Check",
+ "CheckAbort",
+ "CheckAll",
+ "CheckArguments",
+ "Checkbox",
+ "CheckboxBar",
+ "CheckboxBox",
+ "CheckboxBoxOptions",
+ "ChemicalConvert",
+ "ChemicalData",
+ "ChemicalFormula",
+ "ChemicalInstance",
+ "ChemicalReaction",
+ "ChessboardDistance",
+ "ChiDistribution",
+ "ChineseRemainder",
+ "ChiSquareDistribution",
+ "ChoiceButtons",
+ "ChoiceDialog",
+ "CholeskyDecomposition",
+ "Chop",
+ "ChromaticityPlot",
+ "ChromaticityPlot3D",
+ "ChromaticPolynomial",
+ "Circle",
+ "CircleBox",
+ "CircleDot",
+ "CircleMinus",
+ "CirclePlus",
+ "CirclePoints",
+ "CircleThrough",
+ "CircleTimes",
+ "CirculantGraph",
+ "CircularArcThrough",
+ "CircularOrthogonalMatrixDistribution",
+ "CircularQuaternionMatrixDistribution",
+ "CircularRealMatrixDistribution",
+ "CircularSymplecticMatrixDistribution",
+ "CircularUnitaryMatrixDistribution",
+ "Circumsphere",
+ "CityData",
+ "ClassifierFunction",
+ "ClassifierInformation",
+ "ClassifierMeasurements",
+ "ClassifierMeasurementsObject",
+ "Classify",
+ "ClassPriors",
+ "Clear",
+ "ClearAll",
+ "ClearAttributes",
+ "ClearCookies",
+ "ClearPermissions",
+ "ClearSystemCache",
+ "ClebschGordan",
+ "ClickPane",
+ "ClickToCopy",
+ "ClickToCopyEnabled",
+ "Clip",
+ "ClipboardNotebook",
+ "ClipFill",
+ "ClippingStyle",
+ "ClipPlanes",
+ "ClipPlanesStyle",
+ "ClipRange",
+ "Clock",
+ "ClockGauge",
+ "ClockwiseContourIntegral",
+ "Close",
+ "Closed",
+ "CloseKernels",
+ "ClosenessCentrality",
+ "Closing",
+ "ClosingAutoSave",
+ "ClosingEvent",
+ "CloudAccountData",
+ "CloudBase",
+ "CloudConnect",
+ "CloudConnections",
+ "CloudDeploy",
+ "CloudDirectory",
+ "CloudDisconnect",
+ "CloudEvaluate",
+ "CloudExport",
+ "CloudExpression",
+ "CloudExpressions",
+ "CloudFunction",
+ "CloudGet",
+ "CloudImport",
+ "CloudLoggingData",
+ "CloudObject",
+ "CloudObjectInformation",
+ "CloudObjectInformationData",
+ "CloudObjectNameFormat",
+ "CloudObjects",
+ "CloudObjectURLType",
+ "CloudPublish",
+ "CloudPut",
+ "CloudRenderingMethod",
+ "CloudSave",
+ "CloudShare",
+ "CloudSubmit",
+ "CloudSymbol",
+ "CloudUnshare",
+ "CloudUserID",
+ "ClusterClassify",
+ "ClusterDissimilarityFunction",
+ "ClusteringComponents",
+ "ClusteringMeasurements",
+ "ClusteringTree",
+ "CMYKColor",
+ "Coarse",
+ "CodeAssistOptions",
+ "Coefficient",
+ "CoefficientArrays",
+ "CoefficientDomain",
+ "CoefficientList",
+ "CoefficientRules",
+ "CoifletWavelet",
+ "Collect",
+ "CollinearPoints",
+ "Colon",
+ "ColonForm",
+ "ColorBalance",
+ "ColorCombine",
+ "ColorConvert",
+ "ColorCoverage",
+ "ColorData",
+ "ColorDataFunction",
+ "ColorDetect",
+ "ColorDistance",
+ "ColorFunction",
+ "ColorFunctionBinning",
+ "ColorFunctionScaling",
+ "Colorize",
+ "ColorNegate",
+ "ColorOutput",
+ "ColorProfileData",
+ "ColorQ",
+ "ColorQuantize",
+ "ColorReplace",
+ "ColorRules",
+ "ColorSelectorSettings",
+ "ColorSeparate",
+ "ColorSetter",
+ "ColorSetterBox",
+ "ColorSetterBoxOptions",
+ "ColorSlider",
+ "ColorsNear",
+ "ColorSpace",
+ "ColorToneMapping",
+ "Column",
+ "ColumnAlignments",
+ "ColumnBackgrounds",
+ "ColumnForm",
+ "ColumnLines",
+ "ColumnsEqual",
+ "ColumnSpacings",
+ "ColumnWidths",
+ "CombinatorB",
+ "CombinatorC",
+ "CombinatorI",
+ "CombinatorK",
+ "CombinatorS",
+ "CombinatorW",
+ "CombinatorY",
+ "CombinedEntityClass",
+ "CombinerFunction",
+ "CometData",
+ "CommonDefaultFormatTypes",
+ "Commonest",
+ "CommonestFilter",
+ "CommonName",
+ "CommonUnits",
+ "CommunityBoundaryStyle",
+ "CommunityGraphPlot",
+ "CommunityLabels",
+ "CommunityRegionStyle",
+ "CompanyData",
+ "CompatibleUnitQ",
+ "CompilationOptions",
+ "CompilationTarget",
+ "Compile",
+ "Compiled",
+ "CompiledCodeFunction",
+ "CompiledComponent",
+ "CompiledExpressionDeclaration",
+ "CompiledFunction",
+ "CompiledLayer",
+ "CompilerCallback",
+ "CompilerEnvironment",
+ "CompilerEnvironmentAppend",
+ "CompilerEnvironmentAppendTo",
+ "CompilerEnvironmentObject",
+ "CompilerOptions",
+ "Complement",
+ "ComplementedEntityClass",
+ "CompleteGraph",
+ "CompleteGraphQ",
+ "CompleteIntegral",
+ "CompleteKaryTree",
+ "CompletionsListPacket",
+ "Complex",
+ "ComplexArrayPlot",
+ "ComplexContourPlot",
+ "Complexes",
+ "ComplexExpand",
+ "ComplexInfinity",
+ "ComplexityFunction",
+ "ComplexListPlot",
+ "ComplexPlot",
+ "ComplexPlot3D",
+ "ComplexRegionPlot",
+ "ComplexStreamPlot",
+ "ComplexVectorPlot",
+ "ComponentMeasurements",
+ "ComponentwiseContextMenu",
+ "Compose",
+ "ComposeList",
+ "ComposeSeries",
+ "CompositeQ",
+ "Composition",
+ "CompoundElement",
+ "CompoundExpression",
+ "CompoundPoissonDistribution",
+ "CompoundPoissonProcess",
+ "CompoundRenewalProcess",
+ "Compress",
+ "CompressedData",
+ "CompressionLevel",
+ "ComputeUncertainty",
+ "ConcaveHullMesh",
+ "Condition",
+ "ConditionalExpression",
+ "Conditioned",
+ "Cone",
+ "ConeBox",
+ "ConfidenceLevel",
+ "ConfidenceRange",
+ "ConfidenceTransform",
+ "ConfigurationPath",
+ "Confirm",
+ "ConfirmAssert",
+ "ConfirmBy",
+ "ConfirmMatch",
+ "ConfirmQuiet",
+ "ConformationMethod",
+ "ConformAudio",
+ "ConformImages",
+ "Congruent",
+ "ConicGradientFilling",
+ "ConicHullRegion",
+ "ConicHullRegion3DBox",
+ "ConicHullRegion3DBoxOptions",
+ "ConicHullRegionBox",
+ "ConicHullRegionBoxOptions",
+ "ConicOptimization",
+ "Conjugate",
+ "ConjugateTranspose",
+ "Conjunction",
+ "Connect",
+ "ConnectedComponents",
+ "ConnectedGraphComponents",
+ "ConnectedGraphQ",
+ "ConnectedMeshComponents",
+ "ConnectedMoleculeComponents",
+ "ConnectedMoleculeQ",
+ "ConnectionSettings",
+ "ConnectLibraryCallbackFunction",
+ "ConnectSystemModelComponents",
+ "ConnectSystemModelController",
+ "ConnesWindow",
+ "ConoverTest",
+ "ConservativeConvectionPDETerm",
+ "ConsoleMessage",
+ "Constant",
+ "ConstantArray",
+ "ConstantArrayLayer",
+ "ConstantImage",
+ "ConstantPlusLayer",
+ "ConstantRegionQ",
+ "Constants",
+ "ConstantTimesLayer",
+ "ConstellationData",
+ "ConstrainedMax",
+ "ConstrainedMin",
+ "Construct",
+ "Containing",
+ "ContainsAll",
+ "ContainsAny",
+ "ContainsExactly",
+ "ContainsNone",
+ "ContainsOnly",
+ "ContentDetectorFunction",
+ "ContentFieldOptions",
+ "ContentLocationFunction",
+ "ContentObject",
+ "ContentPadding",
+ "ContentsBoundingBox",
+ "ContentSelectable",
+ "ContentSize",
+ "Context",
+ "ContextMenu",
+ "Contexts",
+ "ContextToFileName",
+ "Continuation",
+ "Continue",
+ "ContinuedFraction",
+ "ContinuedFractionK",
+ "ContinuousAction",
+ "ContinuousMarkovProcess",
+ "ContinuousTask",
+ "ContinuousTimeModelQ",
+ "ContinuousWaveletData",
+ "ContinuousWaveletTransform",
+ "ContourDetect",
+ "ContourGraphics",
+ "ContourIntegral",
+ "ContourLabels",
+ "ContourLines",
+ "ContourPlot",
+ "ContourPlot3D",
+ "Contours",
+ "ContourShading",
+ "ContourSmoothing",
+ "ContourStyle",
+ "ContraharmonicMean",
+ "ContrastiveLossLayer",
+ "Control",
+ "ControlActive",
+ "ControlAlignment",
+ "ControlGroupContentsBox",
+ "ControllabilityGramian",
+ "ControllabilityMatrix",
+ "ControllableDecomposition",
+ "ControllableModelQ",
+ "ControllerDuration",
+ "ControllerInformation",
+ "ControllerInformationData",
+ "ControllerLinking",
+ "ControllerManipulate",
+ "ControllerMethod",
+ "ControllerPath",
+ "ControllerState",
+ "ControlPlacement",
+ "ControlsRendering",
+ "ControlType",
+ "ConvectionPDETerm",
+ "Convergents",
+ "ConversionOptions",
+ "ConversionRules",
+ "ConvertToPostScript",
+ "ConvertToPostScriptPacket",
+ "ConvexHullMesh",
+ "ConvexHullRegion",
+ "ConvexOptimization",
+ "ConvexPolygonQ",
+ "ConvexPolyhedronQ",
+ "ConvexRegionQ",
+ "ConvolutionLayer",
+ "Convolve",
+ "ConwayGroupCo1",
+ "ConwayGroupCo2",
+ "ConwayGroupCo3",
+ "CookieFunction",
+ "Cookies",
+ "CoordinateBoundingBox",
+ "CoordinateBoundingBoxArray",
+ "CoordinateBounds",
+ "CoordinateBoundsArray",
+ "CoordinateChartData",
+ "CoordinatesToolOptions",
+ "CoordinateTransform",
+ "CoordinateTransformData",
+ "CoplanarPoints",
+ "CoprimeQ",
+ "Coproduct",
+ "CopulaDistribution",
+ "Copyable",
+ "CopyDatabin",
+ "CopyDirectory",
+ "CopyFile",
+ "CopyFunction",
+ "CopyTag",
+ "CopyToClipboard",
+ "CoreNilpotentDecomposition",
+ "CornerFilter",
+ "CornerNeighbors",
+ "Correlation",
+ "CorrelationDistance",
+ "CorrelationFunction",
+ "CorrelationTest",
+ "Cos",
+ "Cosh",
+ "CoshIntegral",
+ "CosineDistance",
+ "CosineWindow",
+ "CosIntegral",
+ "Cot",
+ "Coth",
+ "CoulombF",
+ "CoulombG",
+ "CoulombH1",
+ "CoulombH2",
+ "Count",
+ "CountDistinct",
+ "CountDistinctBy",
+ "CounterAssignments",
+ "CounterBox",
+ "CounterBoxOptions",
+ "CounterClockwiseContourIntegral",
+ "CounterEvaluator",
+ "CounterFunction",
+ "CounterIncrements",
+ "CounterStyle",
+ "CounterStyleMenuListing",
+ "CountRoots",
+ "CountryData",
+ "Counts",
+ "CountsBy",
+ "Covariance",
+ "CovarianceEstimatorFunction",
+ "CovarianceFunction",
+ "CoxianDistribution",
+ "CoxIngersollRossProcess",
+ "CoxModel",
+ "CoxModelFit",
+ "CramerVonMisesTest",
+ "CreateArchive",
+ "CreateCellID",
+ "CreateChannel",
+ "CreateCloudExpression",
+ "CreateCompilerEnvironment",
+ "CreateDatabin",
+ "CreateDataStructure",
+ "CreateDataSystemModel",
+ "CreateDialog",
+ "CreateDirectory",
+ "CreateDocument",
+ "CreateFile",
+ "CreateIntermediateDirectories",
+ "CreateLicenseEntitlement",
+ "CreateManagedLibraryExpression",
+ "CreateNotebook",
+ "CreatePacletArchive",
+ "CreatePalette",
+ "CreatePermissionsGroup",
+ "CreateScheduledTask",
+ "CreateSearchIndex",
+ "CreateSystemModel",
+ "CreateTemporary",
+ "CreateTypeInstance",
+ "CreateUUID",
+ "CreateWindow",
+ "CriterionFunction",
+ "CriticalityFailureImportance",
+ "CriticalitySuccessImportance",
+ "CriticalSection",
+ "Cross",
+ "CrossEntropyLossLayer",
+ "CrossingCount",
+ "CrossingDetect",
+ "CrossingPolygon",
+ "CrossMatrix",
+ "Csc",
+ "Csch",
+ "CSGRegion",
+ "CSGRegionQ",
+ "CSGRegionTree",
+ "CTCLossLayer",
+ "Cube",
+ "CubeRoot",
+ "Cubics",
+ "Cuboid",
+ "CuboidBox",
+ "CuboidBoxOptions",
+ "Cumulant",
+ "CumulantGeneratingFunction",
+ "CumulativeFeatureImpactPlot",
+ "Cup",
+ "CupCap",
+ "Curl",
+ "CurlyDoubleQuote",
+ "CurlyQuote",
+ "CurrencyConvert",
+ "CurrentDate",
+ "CurrentImage",
+ "CurrentNotebookImage",
+ "CurrentScreenImage",
+ "CurrentValue",
+ "Curry",
+ "CurryApplied",
+ "CurvatureFlowFilter",
+ "CurveClosed",
+ "Cyan",
+ "CycleGraph",
+ "CycleIndexPolynomial",
+ "Cycles",
+ "CyclicGroup",
+ "Cyclotomic",
+ "Cylinder",
+ "CylinderBox",
+ "CylinderBoxOptions",
+ "CylindricalDecomposition",
+ "CylindricalDecompositionFunction",
+ "D",
+ "DagumDistribution",
+ "DamData",
+ "DamerauLevenshteinDistance",
+ "DampingFactor",
+ "Darker",
+ "Dashed",
+ "Dashing",
+ "DatabaseConnect",
+ "DatabaseDisconnect",
+ "DatabaseReference",
+ "Databin",
+ "DatabinAdd",
+ "DatabinRemove",
+ "Databins",
+ "DatabinSubmit",
+ "DatabinUpload",
+ "DataCompression",
+ "DataDistribution",
+ "DataRange",
+ "DataReversed",
+ "Dataset",
+ "DatasetDisplayPanel",
+ "DatasetTheme",
+ "DataStructure",
+ "DataStructureQ",
+ "Date",
+ "DateBounds",
+ "Dated",
+ "DateDelimiters",
+ "DateDifference",
+ "DatedUnit",
+ "DateFormat",
+ "DateFunction",
+ "DateGranularity",
+ "DateHistogram",
+ "DateInterval",
+ "DateList",
+ "DateListLogPlot",
+ "DateListPlot",
+ "DateListStepPlot",
+ "DateObject",
+ "DateObjectQ",
+ "DateOverlapsQ",
+ "DatePattern",
+ "DatePlus",
+ "DateRange",
+ "DateReduction",
+ "DateScale",
+ "DateSelect",
+ "DateString",
+ "DateTicksFormat",
+ "DateValue",
+ "DateWithinQ",
+ "DaubechiesWavelet",
+ "DavisDistribution",
+ "DawsonF",
+ "DayCount",
+ "DayCountConvention",
+ "DayHemisphere",
+ "DaylightQ",
+ "DayMatchQ",
+ "DayName",
+ "DayNightTerminator",
+ "DayPlus",
+ "DayRange",
+ "DayRound",
+ "DeBruijnGraph",
+ "DeBruijnSequence",
+ "Debug",
+ "DebugTag",
+ "Decapitalize",
+ "Decimal",
+ "DecimalForm",
+ "DeclareCompiledComponent",
+ "DeclareKnownSymbols",
+ "DeclarePackage",
+ "Decompose",
+ "DeconvolutionLayer",
+ "Decrement",
+ "Decrypt",
+ "DecryptFile",
+ "DedekindEta",
+ "DeepSpaceProbeData",
+ "Default",
+ "Default2DTool",
+ "Default3DTool",
+ "DefaultAttachedCellStyle",
+ "DefaultAxesStyle",
+ "DefaultBaseStyle",
+ "DefaultBoxStyle",
+ "DefaultButton",
+ "DefaultColor",
+ "DefaultControlPlacement",
+ "DefaultDockedCellStyle",
+ "DefaultDuplicateCellStyle",
+ "DefaultDuration",
+ "DefaultElement",
+ "DefaultFaceGridsStyle",
+ "DefaultFieldHintStyle",
+ "DefaultFont",
+ "DefaultFontProperties",
+ "DefaultFormatType",
+ "DefaultFrameStyle",
+ "DefaultFrameTicksStyle",
+ "DefaultGridLinesStyle",
+ "DefaultInlineFormatType",
+ "DefaultInputFormatType",
+ "DefaultLabelStyle",
+ "DefaultMenuStyle",
+ "DefaultNaturalLanguage",
+ "DefaultNewCellStyle",
+ "DefaultNewInlineCellStyle",
+ "DefaultNotebook",
+ "DefaultOptions",
+ "DefaultOutputFormatType",
+ "DefaultPrintPrecision",
+ "DefaultStyle",
+ "DefaultStyleDefinitions",
+ "DefaultTextFormatType",
+ "DefaultTextInlineFormatType",
+ "DefaultTicksStyle",
+ "DefaultTooltipStyle",
+ "DefaultValue",
+ "DefaultValues",
+ "Defer",
+ "DefineExternal",
+ "DefineInputStreamMethod",
+ "DefineOutputStreamMethod",
+ "DefineResourceFunction",
+ "Definition",
+ "Degree",
+ "DegreeCentrality",
+ "DegreeGraphDistribution",
+ "DegreeLexicographic",
+ "DegreeReverseLexicographic",
+ "DEigensystem",
+ "DEigenvalues",
+ "Deinitialization",
+ "Del",
+ "DelaunayMesh",
+ "Delayed",
+ "Deletable",
+ "Delete",
+ "DeleteAdjacentDuplicates",
+ "DeleteAnomalies",
+ "DeleteBorderComponents",
+ "DeleteCases",
+ "DeleteChannel",
+ "DeleteCloudExpression",
+ "DeleteContents",
+ "DeleteDirectory",
+ "DeleteDuplicates",
+ "DeleteDuplicatesBy",
+ "DeleteElements",
+ "DeleteFile",
+ "DeleteMissing",
+ "DeleteObject",
+ "DeletePermissionsKey",
+ "DeleteSearchIndex",
+ "DeleteSmallComponents",
+ "DeleteStopwords",
+ "DeleteWithContents",
+ "DeletionWarning",
+ "DelimitedArray",
+ "DelimitedSequence",
+ "Delimiter",
+ "DelimiterAutoMatching",
+ "DelimiterFlashTime",
+ "DelimiterMatching",
+ "Delimiters",
+ "DeliveryFunction",
+ "Dendrogram",
+ "Denominator",
+ "DensityGraphics",
+ "DensityHistogram",
+ "DensityPlot",
+ "DensityPlot3D",
+ "DependentVariables",
+ "Deploy",
+ "Deployed",
+ "Depth",
+ "DepthFirstScan",
+ "Derivative",
+ "DerivativeFilter",
+ "DerivativePDETerm",
+ "DerivedKey",
+ "DescriptorStateSpace",
+ "DesignMatrix",
+ "DestroyAfterEvaluation",
+ "Det",
+ "DeviceClose",
+ "DeviceConfigure",
+ "DeviceExecute",
+ "DeviceExecuteAsynchronous",
+ "DeviceObject",
+ "DeviceOpen",
+ "DeviceOpenQ",
+ "DeviceRead",
+ "DeviceReadBuffer",
+ "DeviceReadLatest",
+ "DeviceReadList",
+ "DeviceReadTimeSeries",
+ "Devices",
+ "DeviceStreams",
+ "DeviceWrite",
+ "DeviceWriteBuffer",
+ "DGaussianWavelet",
+ "DiacriticalPositioning",
+ "Diagonal",
+ "DiagonalizableMatrixQ",
+ "DiagonalMatrix",
+ "DiagonalMatrixQ",
+ "Dialog",
+ "DialogIndent",
+ "DialogInput",
+ "DialogLevel",
+ "DialogNotebook",
+ "DialogProlog",
+ "DialogReturn",
+ "DialogSymbols",
+ "Diamond",
+ "DiamondMatrix",
+ "DiceDissimilarity",
+ "DictionaryLookup",
+ "DictionaryWordQ",
+ "DifferenceDelta",
+ "DifferenceOrder",
+ "DifferenceQuotient",
+ "DifferenceRoot",
+ "DifferenceRootReduce",
+ "Differences",
+ "DifferentialD",
+ "DifferentialRoot",
+ "DifferentialRootReduce",
+ "DifferentiatorFilter",
+ "DiffusionPDETerm",
+ "DiggleGatesPointProcess",
+ "DiggleGrattonPointProcess",
+ "DigitalSignature",
+ "DigitBlock",
+ "DigitBlockMinimum",
+ "DigitCharacter",
+ "DigitCount",
+ "DigitQ",
+ "DihedralAngle",
+ "DihedralGroup",
+ "Dilation",
+ "DimensionalCombinations",
+ "DimensionalMeshComponents",
+ "DimensionReduce",
+ "DimensionReducerFunction",
+ "DimensionReduction",
+ "Dimensions",
+ "DiracComb",
+ "DiracDelta",
+ "DirectedEdge",
+ "DirectedEdges",
+ "DirectedGraph",
+ "DirectedGraphQ",
+ "DirectedInfinity",
+ "Direction",
+ "DirectionalLight",
+ "Directive",
+ "Directory",
+ "DirectoryName",
+ "DirectoryQ",
+ "DirectoryStack",
+ "DirichletBeta",
+ "DirichletCharacter",
+ "DirichletCondition",
+ "DirichletConvolve",
+ "DirichletDistribution",
+ "DirichletEta",
+ "DirichletL",
+ "DirichletLambda",
+ "DirichletTransform",
+ "DirichletWindow",
+ "DisableConsolePrintPacket",
+ "DisableFormatting",
+ "DiscreteAsymptotic",
+ "DiscreteChirpZTransform",
+ "DiscreteConvolve",
+ "DiscreteDelta",
+ "DiscreteHadamardTransform",
+ "DiscreteIndicator",
+ "DiscreteInputOutputModel",
+ "DiscreteLimit",
+ "DiscreteLQEstimatorGains",
+ "DiscreteLQRegulatorGains",
+ "DiscreteLyapunovSolve",
+ "DiscreteMarkovProcess",
+ "DiscreteMaxLimit",
+ "DiscreteMinLimit",
+ "DiscretePlot",
+ "DiscretePlot3D",
+ "DiscreteRatio",
+ "DiscreteRiccatiSolve",
+ "DiscreteShift",
+ "DiscreteTimeModelQ",
+ "DiscreteUniformDistribution",
+ "DiscreteVariables",
+ "DiscreteWaveletData",
+ "DiscreteWaveletPacketTransform",
+ "DiscreteWaveletTransform",
+ "DiscretizeGraphics",
+ "DiscretizeRegion",
+ "Discriminant",
+ "DisjointQ",
+ "Disjunction",
+ "Disk",
+ "DiskBox",
+ "DiskBoxOptions",
+ "DiskMatrix",
+ "DiskSegment",
+ "Dispatch",
+ "DispatchQ",
+ "DispersionEstimatorFunction",
+ "Display",
+ "DisplayAllSteps",
+ "DisplayEndPacket",
+ "DisplayForm",
+ "DisplayFunction",
+ "DisplayPacket",
+ "DisplayRules",
+ "DisplayString",
+ "DisplayTemporary",
+ "DisplayWith",
+ "DisplayWithRef",
+ "DisplayWithVariable",
+ "DistanceFunction",
+ "DistanceMatrix",
+ "DistanceTransform",
+ "Distribute",
+ "Distributed",
+ "DistributedContexts",
+ "DistributeDefinitions",
+ "DistributionChart",
+ "DistributionDomain",
+ "DistributionFitTest",
+ "DistributionParameterAssumptions",
+ "DistributionParameterQ",
+ "Dithering",
+ "Div",
+ "Divergence",
+ "Divide",
+ "DivideBy",
+ "Dividers",
+ "DivideSides",
+ "Divisible",
+ "Divisors",
+ "DivisorSigma",
+ "DivisorSum",
+ "DMSList",
+ "DMSString",
+ "Do",
+ "DockedCell",
+ "DockedCells",
+ "DocumentGenerator",
+ "DocumentGeneratorInformation",
+ "DocumentGeneratorInformationData",
+ "DocumentGenerators",
+ "DocumentNotebook",
+ "DocumentWeightingRules",
+ "Dodecahedron",
+ "DomainRegistrationInformation",
+ "DominantColors",
+ "DominatorTreeGraph",
+ "DominatorVertexList",
+ "DOSTextFormat",
+ "Dot",
+ "DotDashed",
+ "DotEqual",
+ "DotLayer",
+ "DotPlusLayer",
+ "Dotted",
+ "DoubleBracketingBar",
+ "DoubleContourIntegral",
+ "DoubleDownArrow",
+ "DoubleLeftArrow",
+ "DoubleLeftRightArrow",
+ "DoubleLeftTee",
+ "DoubleLongLeftArrow",
+ "DoubleLongLeftRightArrow",
+ "DoubleLongRightArrow",
+ "DoubleRightArrow",
+ "DoubleRightTee",
+ "DoubleUpArrow",
+ "DoubleUpDownArrow",
+ "DoubleVerticalBar",
+ "DoublyInfinite",
+ "Down",
+ "DownArrow",
+ "DownArrowBar",
+ "DownArrowUpArrow",
+ "DownLeftRightVector",
+ "DownLeftTeeVector",
+ "DownLeftVector",
+ "DownLeftVectorBar",
+ "DownRightTeeVector",
+ "DownRightVector",
+ "DownRightVectorBar",
+ "Downsample",
+ "DownTee",
+ "DownTeeArrow",
+ "DownValues",
+ "DownValuesFunction",
+ "DragAndDrop",
+ "DrawBackFaces",
+ "DrawEdges",
+ "DrawFrontFaces",
+ "DrawHighlighted",
+ "DrazinInverse",
+ "Drop",
+ "DropoutLayer",
+ "DropShadowing",
+ "DSolve",
+ "DSolveChangeVariables",
+ "DSolveValue",
+ "Dt",
+ "DualLinearProgramming",
+ "DualPlanarGraph",
+ "DualPolyhedron",
+ "DualSystemsModel",
+ "DumpGet",
+ "DumpSave",
+ "DuplicateFreeQ",
+ "Duration",
+ "Dynamic",
+ "DynamicBox",
+ "DynamicBoxOptions",
+ "DynamicEvaluationTimeout",
+ "DynamicGeoGraphics",
+ "DynamicImage",
+ "DynamicLocation",
+ "DynamicModule",
+ "DynamicModuleBox",
+ "DynamicModuleBoxOptions",
+ "DynamicModuleParent",
+ "DynamicModuleValues",
+ "DynamicName",
+ "DynamicNamespace",
+ "DynamicReference",
+ "DynamicSetting",
+ "DynamicUpdating",
+ "DynamicWrapper",
+ "DynamicWrapperBox",
+ "DynamicWrapperBoxOptions",
+ "E",
+ "EarthImpactData",
+ "EarthquakeData",
+ "EccentricityCentrality",
+ "Echo",
+ "EchoEvaluation",
+ "EchoFunction",
+ "EchoLabel",
+ "EchoTiming",
+ "EclipseType",
+ "EdgeAdd",
+ "EdgeBetweennessCentrality",
+ "EdgeCapacity",
+ "EdgeCapForm",
+ "EdgeChromaticNumber",
+ "EdgeColor",
+ "EdgeConnectivity",
+ "EdgeContract",
+ "EdgeCost",
+ "EdgeCount",
+ "EdgeCoverQ",
+ "EdgeCycleMatrix",
+ "EdgeDashing",
+ "EdgeDelete",
+ "EdgeDetect",
+ "EdgeForm",
+ "EdgeIndex",
+ "EdgeJoinForm",
+ "EdgeLabeling",
+ "EdgeLabels",
+ "EdgeLabelStyle",
+ "EdgeList",
+ "EdgeOpacity",
+ "EdgeQ",
+ "EdgeRenderingFunction",
+ "EdgeRules",
+ "EdgeShapeFunction",
+ "EdgeStyle",
+ "EdgeTaggedGraph",
+ "EdgeTaggedGraphQ",
+ "EdgeTags",
+ "EdgeThickness",
+ "EdgeTransitiveGraphQ",
+ "EdgeValueRange",
+ "EdgeValueSizes",
+ "EdgeWeight",
+ "EdgeWeightedGraphQ",
+ "Editable",
+ "EditButtonSettings",
+ "EditCellTagsSettings",
+ "EditDistance",
+ "EffectiveInterest",
+ "Eigensystem",
+ "Eigenvalues",
+ "EigenvectorCentrality",
+ "Eigenvectors",
+ "Element",
+ "ElementData",
+ "ElementwiseLayer",
+ "ElidedForms",
+ "Eliminate",
+ "EliminationOrder",
+ "Ellipsoid",
+ "EllipticE",
+ "EllipticExp",
+ "EllipticExpPrime",
+ "EllipticF",
+ "EllipticFilterModel",
+ "EllipticK",
+ "EllipticLog",
+ "EllipticNomeQ",
+ "EllipticPi",
+ "EllipticReducedHalfPeriods",
+ "EllipticTheta",
+ "EllipticThetaPrime",
+ "EmbedCode",
+ "EmbeddedHTML",
+ "EmbeddedService",
+ "EmbeddedSQLEntityClass",
+ "EmbeddedSQLExpression",
+ "EmbeddingLayer",
+ "EmbeddingObject",
+ "EmitSound",
+ "EmphasizeSyntaxErrors",
+ "EmpiricalDistribution",
+ "Empty",
+ "EmptyGraphQ",
+ "EmptyRegion",
+ "EmptySpaceF",
+ "EnableConsolePrintPacket",
+ "Enabled",
+ "Enclose",
+ "Encode",
+ "Encrypt",
+ "EncryptedObject",
+ "EncryptFile",
+ "End",
+ "EndAdd",
+ "EndDialogPacket",
+ "EndOfBuffer",
+ "EndOfFile",
+ "EndOfLine",
+ "EndOfString",
+ "EndPackage",
+ "EngineEnvironment",
+ "EngineeringForm",
+ "Enter",
+ "EnterExpressionPacket",
+ "EnterTextPacket",
+ "Entity",
+ "EntityClass",
+ "EntityClassList",
+ "EntityCopies",
+ "EntityFunction",
+ "EntityGroup",
+ "EntityInstance",
+ "EntityList",
+ "EntityPrefetch",
+ "EntityProperties",
+ "EntityProperty",
+ "EntityPropertyClass",
+ "EntityRegister",
+ "EntityStore",
+ "EntityStores",
+ "EntityTypeName",
+ "EntityUnregister",
+ "EntityValue",
+ "Entropy",
+ "EntropyFilter",
+ "Environment",
+ "Epilog",
+ "EpilogFunction",
+ "Equal",
+ "EqualColumns",
+ "EqualRows",
+ "EqualTilde",
+ "EqualTo",
+ "EquatedTo",
+ "Equilibrium",
+ "EquirippleFilterKernel",
+ "Equivalent",
+ "Erf",
+ "Erfc",
+ "Erfi",
+ "ErlangB",
+ "ErlangC",
+ "ErlangDistribution",
+ "Erosion",
+ "ErrorBox",
+ "ErrorBoxOptions",
+ "ErrorNorm",
+ "ErrorPacket",
+ "ErrorsDialogSettings",
+ "EscapeRadius",
+ "EstimatedBackground",
+ "EstimatedDistribution",
+ "EstimatedPointNormals",
+ "EstimatedPointProcess",
+ "EstimatedProcess",
+ "EstimatedVariogramModel",
+ "EstimatorGains",
+ "EstimatorRegulator",
+ "EuclideanDistance",
+ "EulerAngles",
+ "EulerCharacteristic",
+ "EulerE",
+ "EulerGamma",
+ "EulerianGraphQ",
+ "EulerMatrix",
+ "EulerPhi",
+ "Evaluatable",
+ "Evaluate",
+ "Evaluated",
+ "EvaluatePacket",
+ "EvaluateScheduledTask",
+ "EvaluationBox",
+ "EvaluationCell",
+ "EvaluationCompletionAction",
+ "EvaluationData",
+ "EvaluationElements",
+ "EvaluationEnvironment",
+ "EvaluationMode",
+ "EvaluationMonitor",
+ "EvaluationNotebook",
+ "EvaluationObject",
+ "EvaluationOrder",
+ "EvaluationPrivileges",
+ "EvaluationRateLimit",
+ "Evaluator",
+ "EvaluatorNames",
+ "EvenQ",
+ "EventData",
+ "EventEvaluator",
+ "EventHandler",
+ "EventHandlerTag",
+ "EventLabels",
+ "EventSeries",
+ "ExactBlackmanWindow",
+ "ExactNumberQ",
+ "ExactRootIsolation",
+ "ExampleData",
+ "Except",
+ "ExcludedContexts",
+ "ExcludedForms",
+ "ExcludedLines",
+ "ExcludedPhysicalQuantities",
+ "ExcludePods",
+ "Exclusions",
+ "ExclusionsStyle",
+ "Exists",
+ "Exit",
+ "ExitDialog",
+ "ExoplanetData",
+ "Exp",
+ "Expand",
+ "ExpandAll",
+ "ExpandDenominator",
+ "ExpandFileName",
+ "ExpandNumerator",
+ "Expectation",
+ "ExpectationE",
+ "ExpectedValue",
+ "ExpGammaDistribution",
+ "ExpIntegralE",
+ "ExpIntegralEi",
+ "ExpirationDate",
+ "Exponent",
+ "ExponentFunction",
+ "ExponentialDistribution",
+ "ExponentialFamily",
+ "ExponentialGeneratingFunction",
+ "ExponentialMovingAverage",
+ "ExponentialPowerDistribution",
+ "ExponentPosition",
+ "ExponentStep",
+ "Export",
+ "ExportAutoReplacements",
+ "ExportByteArray",
+ "ExportForm",
+ "ExportPacket",
+ "ExportString",
+ "Expression",
+ "ExpressionCell",
+ "ExpressionGraph",
+ "ExpressionPacket",
+ "ExpressionTree",
+ "ExpressionUUID",
+ "ExpToTrig",
+ "ExtendedEntityClass",
+ "ExtendedGCD",
+ "Extension",
+ "ExtentElementFunction",
+ "ExtentMarkers",
+ "ExtentSize",
+ "ExternalBundle",
+ "ExternalCall",
+ "ExternalDataCharacterEncoding",
+ "ExternalEvaluate",
+ "ExternalFunction",
+ "ExternalFunctionName",
+ "ExternalIdentifier",
+ "ExternalObject",
+ "ExternalOptions",
+ "ExternalSessionObject",
+ "ExternalSessions",
+ "ExternalStorageBase",
+ "ExternalStorageDownload",
+ "ExternalStorageGet",
+ "ExternalStorageObject",
+ "ExternalStoragePut",
+ "ExternalStorageUpload",
+ "ExternalTypeSignature",
+ "ExternalValue",
+ "Extract",
+ "ExtractArchive",
+ "ExtractLayer",
+ "ExtractPacletArchive",
+ "ExtremeValueDistribution",
+ "FaceAlign",
+ "FaceForm",
+ "FaceGrids",
+ "FaceGridsStyle",
+ "FaceRecognize",
+ "FacialFeatures",
+ "Factor",
+ "FactorComplete",
+ "Factorial",
+ "Factorial2",
+ "FactorialMoment",
+ "FactorialMomentGeneratingFunction",
+ "FactorialPower",
+ "FactorInteger",
+ "FactorList",
+ "FactorSquareFree",
+ "FactorSquareFreeList",
+ "FactorTerms",
+ "FactorTermsList",
+ "Fail",
+ "Failure",
+ "FailureAction",
+ "FailureDistribution",
+ "FailureQ",
+ "False",
+ "FareySequence",
+ "FARIMAProcess",
+ "FeatureDistance",
+ "FeatureExtract",
+ "FeatureExtraction",
+ "FeatureExtractor",
+ "FeatureExtractorFunction",
+ "FeatureImpactPlot",
+ "FeatureNames",
+ "FeatureNearest",
+ "FeatureSpacePlot",
+ "FeatureSpacePlot3D",
+ "FeatureTypes",
+ "FeatureValueDependencyPlot",
+ "FeatureValueImpactPlot",
+ "FEDisableConsolePrintPacket",
+ "FeedbackLinearize",
+ "FeedbackSector",
+ "FeedbackSectorStyle",
+ "FeedbackType",
+ "FEEnableConsolePrintPacket",
+ "FetalGrowthData",
+ "Fibonacci",
+ "Fibonorial",
+ "FieldCompletionFunction",
+ "FieldHint",
+ "FieldHintStyle",
+ "FieldMasked",
+ "FieldSize",
+ "File",
+ "FileBaseName",
+ "FileByteCount",
+ "FileConvert",
+ "FileDate",
+ "FileExistsQ",
+ "FileExtension",
+ "FileFormat",
+ "FileFormatProperties",
+ "FileFormatQ",
+ "FileHandler",
+ "FileHash",
+ "FileInformation",
+ "FileName",
+ "FileNameDepth",
+ "FileNameDialogSettings",
+ "FileNameDrop",
+ "FileNameForms",
+ "FileNameJoin",
+ "FileNames",
+ "FileNameSetter",
+ "FileNameSplit",
+ "FileNameTake",
+ "FileNameToFormatList",
+ "FilePrint",
+ "FileSize",
+ "FileSystemMap",
+ "FileSystemScan",
+ "FileSystemTree",
+ "FileTemplate",
+ "FileTemplateApply",
+ "FileType",
+ "FilledCurve",
+ "FilledCurveBox",
+ "FilledCurveBoxOptions",
+ "FilledTorus",
+ "FillForm",
+ "Filling",
+ "FillingStyle",
+ "FillingTransform",
+ "FilteredEntityClass",
+ "FilterRules",
+ "FinancialBond",
+ "FinancialData",
+ "FinancialDerivative",
+ "FinancialIndicator",
+ "Find",
+ "FindAnomalies",
+ "FindArgMax",
+ "FindArgMin",
+ "FindChannels",
+ "FindClique",
+ "FindClusters",
+ "FindCookies",
+ "FindCurvePath",
+ "FindCycle",
+ "FindDevices",
+ "FindDistribution",
+ "FindDistributionParameters",
+ "FindDivisions",
+ "FindEdgeColoring",
+ "FindEdgeCover",
+ "FindEdgeCut",
+ "FindEdgeIndependentPaths",
+ "FindEquationalProof",
+ "FindEulerianCycle",
+ "FindExternalEvaluators",
+ "FindFaces",
+ "FindFile",
+ "FindFit",
+ "FindFormula",
+ "FindFundamentalCycles",
+ "FindGeneratingFunction",
+ "FindGeoLocation",
+ "FindGeometricConjectures",
+ "FindGeometricTransform",
+ "FindGraphCommunities",
+ "FindGraphIsomorphism",
+ "FindGraphPartition",
+ "FindHamiltonianCycle",
+ "FindHamiltonianPath",
+ "FindHiddenMarkovStates",
+ "FindImageText",
+ "FindIndependentEdgeSet",
+ "FindIndependentVertexSet",
+ "FindInstance",
+ "FindIntegerNullVector",
+ "FindIsomers",
+ "FindIsomorphicSubgraph",
+ "FindKClan",
+ "FindKClique",
+ "FindKClub",
+ "FindKPlex",
+ "FindLibrary",
+ "FindLinearRecurrence",
+ "FindList",
+ "FindMatchingColor",
+ "FindMaximum",
+ "FindMaximumCut",
+ "FindMaximumFlow",
+ "FindMaxValue",
+ "FindMeshDefects",
+ "FindMinimum",
+ "FindMinimumCostFlow",
+ "FindMinimumCut",
+ "FindMinValue",
+ "FindMoleculeSubstructure",
+ "FindPath",
+ "FindPeaks",
+ "FindPermutation",
+ "FindPlanarColoring",
+ "FindPointProcessParameters",
+ "FindPostmanTour",
+ "FindProcessParameters",
+ "FindRegionTransform",
+ "FindRepeat",
+ "FindRoot",
+ "FindSequenceFunction",
+ "FindSettings",
+ "FindShortestPath",
+ "FindShortestTour",
+ "FindSpanningTree",
+ "FindSubgraphIsomorphism",
+ "FindSystemModelEquilibrium",
+ "FindTextualAnswer",
+ "FindThreshold",
+ "FindTransientRepeat",
+ "FindVertexColoring",
+ "FindVertexCover",
+ "FindVertexCut",
+ "FindVertexIndependentPaths",
+ "Fine",
+ "FinishDynamic",
+ "FiniteAbelianGroupCount",
+ "FiniteGroupCount",
+ "FiniteGroupData",
+ "First",
+ "FirstCase",
+ "FirstPassageTimeDistribution",
+ "FirstPosition",
+ "FischerGroupFi22",
+ "FischerGroupFi23",
+ "FischerGroupFi24Prime",
+ "FisherHypergeometricDistribution",
+ "FisherRatioTest",
+ "FisherZDistribution",
+ "Fit",
+ "FitAll",
+ "FitRegularization",
+ "FittedModel",
+ "FixedOrder",
+ "FixedPoint",
+ "FixedPointList",
+ "FlashSelection",
+ "Flat",
+ "FlatShading",
+ "Flatten",
+ "FlattenAt",
+ "FlattenLayer",
+ "FlatTopWindow",
+ "FlightData",
+ "FlipView",
+ "Floor",
+ "FlowPolynomial",
+ "Fold",
+ "FoldList",
+ "FoldPair",
+ "FoldPairList",
+ "FoldWhile",
+ "FoldWhileList",
+ "FollowRedirects",
+ "Font",
+ "FontColor",
+ "FontFamily",
+ "FontForm",
+ "FontName",
+ "FontOpacity",
+ "FontPostScriptName",
+ "FontProperties",
+ "FontReencoding",
+ "FontSize",
+ "FontSlant",
+ "FontSubstitutions",
+ "FontTracking",
+ "FontVariations",
+ "FontWeight",
+ "For",
+ "ForAll",
+ "ForAllType",
+ "ForceVersionInstall",
+ "Format",
+ "FormatRules",
+ "FormatType",
+ "FormatTypeAutoConvert",
+ "FormatValues",
+ "FormBox",
+ "FormBoxOptions",
+ "FormControl",
+ "FormFunction",
+ "FormLayoutFunction",
+ "FormObject",
+ "FormPage",
+ "FormProtectionMethod",
+ "FormTheme",
+ "FormulaData",
+ "FormulaLookup",
+ "FortranForm",
+ "Forward",
+ "ForwardBackward",
+ "ForwardCloudCredentials",
+ "Fourier",
+ "FourierCoefficient",
+ "FourierCosCoefficient",
+ "FourierCosSeries",
+ "FourierCosTransform",
+ "FourierDCT",
+ "FourierDCTFilter",
+ "FourierDCTMatrix",
+ "FourierDST",
+ "FourierDSTMatrix",
+ "FourierMatrix",
+ "FourierParameters",
+ "FourierSequenceTransform",
+ "FourierSeries",
+ "FourierSinCoefficient",
+ "FourierSinSeries",
+ "FourierSinTransform",
+ "FourierTransform",
+ "FourierTrigSeries",
+ "FoxH",
+ "FoxHReduce",
+ "FractionalBrownianMotionProcess",
+ "FractionalD",
+ "FractionalGaussianNoiseProcess",
+ "FractionalPart",
+ "FractionBox",
+ "FractionBoxOptions",
+ "FractionLine",
+ "Frame",
+ "FrameBox",
+ "FrameBoxOptions",
+ "Framed",
+ "FrameInset",
+ "FrameLabel",
+ "Frameless",
+ "FrameListVideo",
+ "FrameMargins",
+ "FrameRate",
+ "FrameStyle",
+ "FrameTicks",
+ "FrameTicksStyle",
+ "FRatioDistribution",
+ "FrechetDistribution",
+ "FreeQ",
+ "FrenetSerretSystem",
+ "FrequencySamplingFilterKernel",
+ "FresnelC",
+ "FresnelF",
+ "FresnelG",
+ "FresnelS",
+ "Friday",
+ "FrobeniusNumber",
+ "FrobeniusSolve",
+ "FromAbsoluteTime",
+ "FromCharacterCode",
+ "FromCoefficientRules",
+ "FromContinuedFraction",
+ "FromDate",
+ "FromDateString",
+ "FromDigits",
+ "FromDMS",
+ "FromEntity",
+ "FromJulianDate",
+ "FromLetterNumber",
+ "FromPolarCoordinates",
+ "FromRawPointer",
+ "FromRomanNumeral",
+ "FromSphericalCoordinates",
+ "FromUnixTime",
+ "Front",
+ "FrontEndDynamicExpression",
+ "FrontEndEventActions",
+ "FrontEndExecute",
+ "FrontEndObject",
+ "FrontEndResource",
+ "FrontEndResourceString",
+ "FrontEndStackSize",
+ "FrontEndToken",
+ "FrontEndTokenExecute",
+ "FrontEndValueCache",
+ "FrontEndVersion",
+ "FrontFaceColor",
+ "FrontFaceGlowColor",
+ "FrontFaceOpacity",
+ "FrontFaceSpecularColor",
+ "FrontFaceSpecularExponent",
+ "FrontFaceSurfaceAppearance",
+ "FrontFaceTexture",
+ "Full",
+ "FullAxes",
+ "FullDefinition",
+ "FullForm",
+ "FullGraphics",
+ "FullInformationOutputRegulator",
+ "FullOptions",
+ "FullRegion",
+ "FullSimplify",
+ "Function",
+ "FunctionAnalytic",
+ "FunctionBijective",
+ "FunctionCompile",
+ "FunctionCompileExport",
+ "FunctionCompileExportByteArray",
+ "FunctionCompileExportLibrary",
+ "FunctionCompileExportString",
+ "FunctionContinuous",
+ "FunctionConvexity",
+ "FunctionDeclaration",
+ "FunctionDiscontinuities",
+ "FunctionDomain",
+ "FunctionExpand",
+ "FunctionInjective",
+ "FunctionInterpolation",
+ "FunctionLayer",
+ "FunctionMeromorphic",
+ "FunctionMonotonicity",
+ "FunctionPeriod",
+ "FunctionPoles",
+ "FunctionRange",
+ "FunctionSign",
+ "FunctionSingularities",
+ "FunctionSpace",
+ "FunctionSurjective",
+ "FussellVeselyImportance",
+ "GaborFilter",
+ "GaborMatrix",
+ "GaborWavelet",
+ "GainMargins",
+ "GainPhaseMargins",
+ "GalaxyData",
+ "GalleryView",
+ "Gamma",
+ "GammaDistribution",
+ "GammaRegularized",
+ "GapPenalty",
+ "GARCHProcess",
+ "GatedRecurrentLayer",
+ "Gather",
+ "GatherBy",
+ "GaugeFaceElementFunction",
+ "GaugeFaceStyle",
+ "GaugeFrameElementFunction",
+ "GaugeFrameSize",
+ "GaugeFrameStyle",
+ "GaugeLabels",
+ "GaugeMarkers",
+ "GaugeStyle",
+ "GaussianFilter",
+ "GaussianIntegers",
+ "GaussianMatrix",
+ "GaussianOrthogonalMatrixDistribution",
+ "GaussianSymplecticMatrixDistribution",
+ "GaussianUnitaryMatrixDistribution",
+ "GaussianWindow",
+ "GCD",
+ "GegenbauerC",
+ "General",
+ "GeneralizedLinearModelFit",
+ "GenerateAsymmetricKeyPair",
+ "GenerateConditions",
+ "GeneratedAssetFormat",
+ "GeneratedAssetLocation",
+ "GeneratedCell",
+ "GeneratedCellStyles",
+ "GeneratedDocumentBinding",
+ "GenerateDerivedKey",
+ "GenerateDigitalSignature",
+ "GenerateDocument",
+ "GeneratedParameters",
+ "GeneratedQuantityMagnitudes",
+ "GenerateFileSignature",
+ "GenerateHTTPResponse",
+ "GenerateSecuredAuthenticationKey",
+ "GenerateSymmetricKey",
+ "GeneratingFunction",
+ "GeneratorDescription",
+ "GeneratorHistoryLength",
+ "GeneratorOutputType",
+ "Generic",
+ "GenericCylindricalDecomposition",
+ "GenomeData",
+ "GenomeLookup",
+ "GeoAntipode",
+ "GeoArea",
+ "GeoArraySize",
+ "GeoBackground",
+ "GeoBoundary",
+ "GeoBoundingBox",
+ "GeoBounds",
+ "GeoBoundsRegion",
+ "GeoBoundsRegionBoundary",
+ "GeoBubbleChart",
+ "GeoCenter",
+ "GeoCircle",
+ "GeoContourPlot",
+ "GeoDensityPlot",
+ "GeodesicClosing",
+ "GeodesicDilation",
+ "GeodesicErosion",
+ "GeodesicOpening",
+ "GeodesicPolyhedron",
+ "GeoDestination",
+ "GeodesyData",
+ "GeoDirection",
+ "GeoDisk",
+ "GeoDisplacement",
+ "GeoDistance",
+ "GeoDistanceList",
+ "GeoElevationData",
+ "GeoEntities",
+ "GeoGraphics",
+ "GeoGraphPlot",
+ "GeoGraphValuePlot",
+ "GeogravityModelData",
+ "GeoGridDirectionDifference",
+ "GeoGridLines",
+ "GeoGridLinesStyle",
+ "GeoGridPosition",
+ "GeoGridRange",
+ "GeoGridRangePadding",
+ "GeoGridUnitArea",
+ "GeoGridUnitDistance",
+ "GeoGridVector",
+ "GeoGroup",
+ "GeoHemisphere",
+ "GeoHemisphereBoundary",
+ "GeoHistogram",
+ "GeoIdentify",
+ "GeoImage",
+ "GeoLabels",
+ "GeoLength",
+ "GeoListPlot",
+ "GeoLocation",
+ "GeologicalPeriodData",
+ "GeomagneticModelData",
+ "GeoMarker",
+ "GeometricAssertion",
+ "GeometricBrownianMotionProcess",
+ "GeometricDistribution",
+ "GeometricMean",
+ "GeometricMeanFilter",
+ "GeometricOptimization",
+ "GeometricScene",
+ "GeometricStep",
+ "GeometricStylingRules",
+ "GeometricTest",
+ "GeometricTransformation",
+ "GeometricTransformation3DBox",
+ "GeometricTransformation3DBoxOptions",
+ "GeometricTransformationBox",
+ "GeometricTransformationBoxOptions",
+ "GeoModel",
+ "GeoNearest",
+ "GeoOrientationData",
+ "GeoPath",
+ "GeoPolygon",
+ "GeoPosition",
+ "GeoPositionENU",
+ "GeoPositionXYZ",
+ "GeoProjection",
+ "GeoProjectionData",
+ "GeoRange",
+ "GeoRangePadding",
+ "GeoRegionValuePlot",
+ "GeoResolution",
+ "GeoScaleBar",
+ "GeoServer",
+ "GeoSmoothHistogram",
+ "GeoStreamPlot",
+ "GeoStyling",
+ "GeoStylingImageFunction",
+ "GeoVariant",
+ "GeoVector",
+ "GeoVectorENU",
+ "GeoVectorPlot",
+ "GeoVectorXYZ",
+ "GeoVisibleRegion",
+ "GeoVisibleRegionBoundary",
+ "GeoWithinQ",
+ "GeoZoomLevel",
+ "GestureHandler",
+ "GestureHandlerTag",
+ "Get",
+ "GetContext",
+ "GetEnvironment",
+ "GetFileName",
+ "GetLinebreakInformationPacket",
+ "GibbsPointProcess",
+ "Glaisher",
+ "GlobalClusteringCoefficient",
+ "GlobalPreferences",
+ "GlobalSession",
+ "Glow",
+ "GoldenAngle",
+ "GoldenRatio",
+ "GompertzMakehamDistribution",
+ "GoochShading",
+ "GoodmanKruskalGamma",
+ "GoodmanKruskalGammaTest",
+ "Goto",
+ "GouraudShading",
+ "Grad",
+ "Gradient",
+ "GradientFilter",
+ "GradientFittedMesh",
+ "GradientOrientationFilter",
+ "GrammarApply",
+ "GrammarRules",
+ "GrammarToken",
+ "Graph",
+ "Graph3D",
+ "GraphAssortativity",
+ "GraphAutomorphismGroup",
+ "GraphCenter",
+ "GraphComplement",
+ "GraphData",
+ "GraphDensity",
+ "GraphDiameter",
+ "GraphDifference",
+ "GraphDisjointUnion",
+ "GraphDistance",
+ "GraphDistanceMatrix",
+ "GraphEmbedding",
+ "GraphHighlight",
+ "GraphHighlightStyle",
+ "GraphHub",
+ "Graphics",
+ "Graphics3D",
+ "Graphics3DBox",
+ "Graphics3DBoxOptions",
+ "GraphicsArray",
+ "GraphicsBaseline",
+ "GraphicsBox",
+ "GraphicsBoxOptions",
+ "GraphicsColor",
+ "GraphicsColumn",
+ "GraphicsComplex",
+ "GraphicsComplex3DBox",
+ "GraphicsComplex3DBoxOptions",
+ "GraphicsComplexBox",
+ "GraphicsComplexBoxOptions",
+ "GraphicsContents",
+ "GraphicsData",
+ "GraphicsGrid",
+ "GraphicsGridBox",
+ "GraphicsGroup",
+ "GraphicsGroup3DBox",
+ "GraphicsGroup3DBoxOptions",
+ "GraphicsGroupBox",
+ "GraphicsGroupBoxOptions",
+ "GraphicsGrouping",
+ "GraphicsHighlightColor",
+ "GraphicsRow",
+ "GraphicsSpacing",
+ "GraphicsStyle",
+ "GraphIntersection",
+ "GraphJoin",
+ "GraphLayerLabels",
+ "GraphLayers",
+ "GraphLayerStyle",
+ "GraphLayout",
+ "GraphLinkEfficiency",
+ "GraphPeriphery",
+ "GraphPlot",
+ "GraphPlot3D",
+ "GraphPower",
+ "GraphProduct",
+ "GraphPropertyDistribution",
+ "GraphQ",
+ "GraphRadius",
+ "GraphReciprocity",
+ "GraphRoot",
+ "GraphStyle",
+ "GraphSum",
+ "GraphTree",
+ "GraphUnion",
+ "Gray",
+ "GrayLevel",
+ "Greater",
+ "GreaterEqual",
+ "GreaterEqualLess",
+ "GreaterEqualThan",
+ "GreaterFullEqual",
+ "GreaterGreater",
+ "GreaterLess",
+ "GreaterSlantEqual",
+ "GreaterThan",
+ "GreaterTilde",
+ "GreekStyle",
+ "Green",
+ "GreenFunction",
+ "Grid",
+ "GridBaseline",
+ "GridBox",
+ "GridBoxAlignment",
+ "GridBoxBackground",
+ "GridBoxDividers",
+ "GridBoxFrame",
+ "GridBoxItemSize",
+ "GridBoxItemStyle",
+ "GridBoxOptions",
+ "GridBoxSpacings",
+ "GridCreationSettings",
+ "GridDefaultElement",
+ "GridElementStyleOptions",
+ "GridFrame",
+ "GridFrameMargins",
+ "GridGraph",
+ "GridLines",
+ "GridLinesStyle",
+ "GridVideo",
+ "GroebnerBasis",
+ "GroupActionBase",
+ "GroupBy",
+ "GroupCentralizer",
+ "GroupElementFromWord",
+ "GroupElementPosition",
+ "GroupElementQ",
+ "GroupElements",
+ "GroupElementToWord",
+ "GroupGenerators",
+ "Groupings",
+ "GroupMultiplicationTable",
+ "GroupOpenerColor",
+ "GroupOpenerInsideFrame",
+ "GroupOrbits",
+ "GroupOrder",
+ "GroupPageBreakWithin",
+ "GroupSetwiseStabilizer",
+ "GroupStabilizer",
+ "GroupStabilizerChain",
+ "GroupTogetherGrouping",
+ "GroupTogetherNestedGrouping",
+ "GrowCutComponents",
+ "Gudermannian",
+ "GuidedFilter",
+ "GumbelDistribution",
+ "HaarWavelet",
+ "HadamardMatrix",
+ "HalfLine",
+ "HalfNormalDistribution",
+ "HalfPlane",
+ "HalfSpace",
+ "HalftoneShading",
+ "HamiltonianGraphQ",
+ "HammingDistance",
+ "HammingWindow",
+ "HandlerFunctions",
+ "HandlerFunctionsKeys",
+ "HankelH1",
+ "HankelH2",
+ "HankelMatrix",
+ "HankelTransform",
+ "HannPoissonWindow",
+ "HannWindow",
+ "HaradaNortonGroupHN",
+ "HararyGraph",
+ "HardcorePointProcess",
+ "HarmonicMean",
+ "HarmonicMeanFilter",
+ "HarmonicNumber",
+ "Hash",
+ "HatchFilling",
+ "HatchShading",
+ "Haversine",
+ "HazardFunction",
+ "Head",
+ "HeadCompose",
+ "HeaderAlignment",
+ "HeaderBackground",
+ "HeaderDisplayFunction",
+ "HeaderLines",
+ "Headers",
+ "HeaderSize",
+ "HeaderStyle",
+ "Heads",
+ "HeatFluxValue",
+ "HeatInsulationValue",
+ "HeatOutflowValue",
+ "HeatRadiationValue",
+ "HeatSymmetryValue",
+ "HeatTemperatureCondition",
+ "HeatTransferPDEComponent",
+ "HeatTransferValue",
+ "HeavisideLambda",
+ "HeavisidePi",
+ "HeavisideTheta",
+ "HeldGroupHe",
+ "HeldPart",
+ "HelmholtzPDEComponent",
+ "HelpBrowserLookup",
+ "HelpBrowserNotebook",
+ "HelpBrowserSettings",
+ "HelpViewerSettings",
+ "Here",
+ "HermiteDecomposition",
+ "HermiteH",
+ "Hermitian",
+ "HermitianMatrixQ",
+ "HessenbergDecomposition",
+ "Hessian",
+ "HeunB",
+ "HeunBPrime",
+ "HeunC",
+ "HeunCPrime",
+ "HeunD",
+ "HeunDPrime",
+ "HeunG",
+ "HeunGPrime",
+ "HeunT",
+ "HeunTPrime",
+ "HexadecimalCharacter",
+ "Hexahedron",
+ "HexahedronBox",
+ "HexahedronBoxOptions",
+ "HiddenItems",
+ "HiddenMarkovProcess",
+ "HiddenSurface",
+ "Highlighted",
+ "HighlightGraph",
+ "HighlightImage",
+ "HighlightMesh",
+ "HighlightString",
+ "HighpassFilter",
+ "HigmanSimsGroupHS",
+ "HilbertCurve",
+ "HilbertFilter",
+ "HilbertMatrix",
+ "Histogram",
+ "Histogram3D",
+ "HistogramDistribution",
+ "HistogramList",
+ "HistogramPointDensity",
+ "HistogramTransform",
+ "HistogramTransformInterpolation",
+ "HistoricalPeriodData",
+ "HitMissTransform",
+ "HITSCentrality",
+ "HjorthDistribution",
+ "HodgeDual",
+ "HoeffdingD",
+ "HoeffdingDTest",
+ "Hold",
+ "HoldAll",
+ "HoldAllComplete",
+ "HoldComplete",
+ "HoldFirst",
+ "HoldForm",
+ "HoldPattern",
+ "HoldRest",
+ "HolidayCalendar",
+ "HomeDirectory",
+ "HomePage",
+ "Horizontal",
+ "HorizontalForm",
+ "HorizontalGauge",
+ "HorizontalScrollPosition",
+ "HornerForm",
+ "HostLookup",
+ "HotellingTSquareDistribution",
+ "HoytDistribution",
+ "HTMLSave",
+ "HTTPErrorResponse",
+ "HTTPRedirect",
+ "HTTPRequest",
+ "HTTPRequestData",
+ "HTTPResponse",
+ "Hue",
+ "HumanGrowthData",
+ "HumpDownHump",
+ "HumpEqual",
+ "HurwitzLerchPhi",
+ "HurwitzZeta",
+ "HyperbolicDistribution",
+ "HypercubeGraph",
+ "HyperexponentialDistribution",
+ "Hyperfactorial",
+ "Hypergeometric0F1",
+ "Hypergeometric0F1Regularized",
+ "Hypergeometric1F1",
+ "Hypergeometric1F1Regularized",
+ "Hypergeometric2F1",
+ "Hypergeometric2F1Regularized",
+ "HypergeometricDistribution",
+ "HypergeometricPFQ",
+ "HypergeometricPFQRegularized",
+ "HypergeometricU",
+ "Hyperlink",
+ "HyperlinkAction",
+ "HyperlinkCreationSettings",
+ "Hyperplane",
+ "Hyphenation",
+ "HyphenationOptions",
+ "HypoexponentialDistribution",
+ "HypothesisTestData",
+ "I",
+ "IconData",
+ "Iconize",
+ "IconizedObject",
+ "IconRules",
+ "Icosahedron",
+ "Identity",
+ "IdentityMatrix",
+ "If",
+ "IfCompiled",
+ "IgnoreCase",
+ "IgnoreDiacritics",
+ "IgnoreIsotopes",
+ "IgnorePunctuation",
+ "IgnoreSpellCheck",
+ "IgnoreStereochemistry",
+ "IgnoringInactive",
+ "Im",
+ "Image",
+ "Image3D",
+ "Image3DProjection",
+ "Image3DSlices",
+ "ImageAccumulate",
+ "ImageAdd",
+ "ImageAdjust",
+ "ImageAlign",
+ "ImageApply",
+ "ImageApplyIndexed",
+ "ImageAspectRatio",
+ "ImageAssemble",
+ "ImageAugmentationLayer",
+ "ImageBoundingBoxes",
+ "ImageCache",
+ "ImageCacheValid",
+ "ImageCapture",
+ "ImageCaptureFunction",
+ "ImageCases",
+ "ImageChannels",
+ "ImageClip",
+ "ImageCollage",
+ "ImageColorSpace",
+ "ImageCompose",
+ "ImageContainsQ",
+ "ImageContents",
+ "ImageConvolve",
+ "ImageCooccurrence",
+ "ImageCorners",
+ "ImageCorrelate",
+ "ImageCorrespondingPoints",
+ "ImageCrop",
+ "ImageData",
+ "ImageDeconvolve",
+ "ImageDemosaic",
+ "ImageDifference",
+ "ImageDimensions",
+ "ImageDisplacements",
+ "ImageDistance",
+ "ImageEditMode",
+ "ImageEffect",
+ "ImageExposureCombine",
+ "ImageFeatureTrack",
+ "ImageFileApply",
+ "ImageFileFilter",
+ "ImageFileScan",
+ "ImageFilter",
+ "ImageFocusCombine",
+ "ImageForestingComponents",
+ "ImageFormattingWidth",
+ "ImageForwardTransformation",
+ "ImageGraphics",
+ "ImageHistogram",
+ "ImageIdentify",
+ "ImageInstanceQ",
+ "ImageKeypoints",
+ "ImageLabels",
+ "ImageLegends",
+ "ImageLevels",
+ "ImageLines",
+ "ImageMargins",
+ "ImageMarker",
+ "ImageMarkers",
+ "ImageMeasurements",
+ "ImageMesh",
+ "ImageMultiply",
+ "ImageOffset",
+ "ImagePad",
+ "ImagePadding",
+ "ImagePartition",
+ "ImagePeriodogram",
+ "ImagePerspectiveTransformation",
+ "ImagePosition",
+ "ImagePreviewFunction",
+ "ImagePyramid",
+ "ImagePyramidApply",
+ "ImageQ",
+ "ImageRangeCache",
+ "ImageRecolor",
+ "ImageReflect",
+ "ImageRegion",
+ "ImageResize",
+ "ImageResolution",
+ "ImageRestyle",
+ "ImageRotate",
+ "ImageRotated",
+ "ImageSaliencyFilter",
+ "ImageScaled",
+ "ImageScan",
+ "ImageSize",
+ "ImageSizeAction",
+ "ImageSizeCache",
+ "ImageSizeMultipliers",
+ "ImageSizeRaw",
+ "ImageStitch",
+ "ImageSubtract",
+ "ImageTake",
+ "ImageTransformation",
+ "ImageTrim",
+ "ImageType",
+ "ImageValue",
+ "ImageValuePositions",
+ "ImageVectorscopePlot",
+ "ImageWaveformPlot",
+ "ImagingDevice",
+ "ImplicitD",
+ "ImplicitRegion",
+ "Implies",
+ "Import",
+ "ImportAutoReplacements",
+ "ImportByteArray",
+ "ImportedObject",
+ "ImportOptions",
+ "ImportString",
+ "ImprovementImportance",
+ "In",
+ "Inactivate",
+ "Inactive",
+ "InactiveStyle",
+ "IncidenceGraph",
+ "IncidenceList",
+ "IncidenceMatrix",
+ "IncludeAromaticBonds",
+ "IncludeConstantBasis",
+ "IncludedContexts",
+ "IncludeDefinitions",
+ "IncludeDirectories",
+ "IncludeFileExtension",
+ "IncludeGeneratorTasks",
+ "IncludeHydrogens",
+ "IncludeInflections",
+ "IncludeMetaInformation",
+ "IncludePods",
+ "IncludeQuantities",
+ "IncludeRelatedTables",
+ "IncludeSingularSolutions",
+ "IncludeSingularTerm",
+ "IncludeWindowTimes",
+ "Increment",
+ "IndefiniteMatrixQ",
+ "Indent",
+ "IndentingNewlineSpacings",
+ "IndentMaxFraction",
+ "IndependenceTest",
+ "IndependentEdgeSetQ",
+ "IndependentPhysicalQuantity",
+ "IndependentUnit",
+ "IndependentUnitDimension",
+ "IndependentVertexSetQ",
+ "Indeterminate",
+ "IndeterminateThreshold",
+ "IndexCreationOptions",
+ "Indexed",
+ "IndexEdgeTaggedGraph",
+ "IndexGraph",
+ "IndexTag",
+ "Inequality",
+ "InertEvaluate",
+ "InertExpression",
+ "InexactNumberQ",
+ "InexactNumbers",
+ "InfiniteFuture",
+ "InfiniteLine",
+ "InfiniteLineThrough",
+ "InfinitePast",
+ "InfinitePlane",
+ "Infinity",
+ "Infix",
+ "InflationAdjust",
+ "InflationMethod",
+ "Information",
+ "InformationData",
+ "InformationDataGrid",
+ "Inherited",
+ "InheritScope",
+ "InhomogeneousPoissonPointProcess",
+ "InhomogeneousPoissonProcess",
+ "InitialEvaluationHistory",
+ "Initialization",
+ "InitializationCell",
+ "InitializationCellEvaluation",
+ "InitializationCellWarning",
+ "InitializationObject",
+ "InitializationObjects",
+ "InitializationValue",
+ "Initialize",
+ "InitialSeeding",
+ "InlineCounterAssignments",
+ "InlineCounterIncrements",
+ "InlineRules",
+ "Inner",
+ "InnerPolygon",
+ "InnerPolyhedron",
+ "Inpaint",
+ "Input",
+ "InputAliases",
+ "InputAssumptions",
+ "InputAutoReplacements",
+ "InputField",
+ "InputFieldBox",
+ "InputFieldBoxOptions",
+ "InputForm",
+ "InputGrouping",
+ "InputNamePacket",
+ "InputNotebook",
+ "InputPacket",
+ "InputPorts",
+ "InputSettings",
+ "InputStream",
+ "InputString",
+ "InputStringPacket",
+ "InputToBoxFormPacket",
+ "Insert",
+ "InsertionFunction",
+ "InsertionPointObject",
+ "InsertLinebreaks",
+ "InsertResults",
+ "Inset",
+ "Inset3DBox",
+ "Inset3DBoxOptions",
+ "InsetBox",
+ "InsetBoxOptions",
+ "Insphere",
+ "Install",
+ "InstallService",
+ "InstanceNormalizationLayer",
+ "InString",
+ "Integer",
+ "IntegerDigits",
+ "IntegerExponent",
+ "IntegerLength",
+ "IntegerName",
+ "IntegerPart",
+ "IntegerPartitions",
+ "IntegerQ",
+ "IntegerReverse",
+ "Integers",
+ "IntegerString",
+ "Integral",
+ "Integrate",
+ "IntegrateChangeVariables",
+ "Interactive",
+ "InteractiveTradingChart",
+ "InterfaceSwitched",
+ "Interlaced",
+ "Interleaving",
+ "InternallyBalancedDecomposition",
+ "InterpolatingFunction",
+ "InterpolatingPolynomial",
+ "Interpolation",
+ "InterpolationOrder",
+ "InterpolationPoints",
+ "InterpolationPrecision",
+ "Interpretation",
+ "InterpretationBox",
+ "InterpretationBoxOptions",
+ "InterpretationFunction",
+ "Interpreter",
+ "InterpretTemplate",
+ "InterquartileRange",
+ "Interrupt",
+ "InterruptSettings",
+ "IntersectedEntityClass",
+ "IntersectingQ",
+ "Intersection",
+ "Interval",
+ "IntervalIntersection",
+ "IntervalMarkers",
+ "IntervalMarkersStyle",
+ "IntervalMemberQ",
+ "IntervalSlider",
+ "IntervalUnion",
+ "Into",
+ "Inverse",
+ "InverseBetaRegularized",
+ "InverseBilateralLaplaceTransform",
+ "InverseBilateralZTransform",
+ "InverseCDF",
+ "InverseChiSquareDistribution",
+ "InverseContinuousWaveletTransform",
+ "InverseDistanceTransform",
+ "InverseEllipticNomeQ",
+ "InverseErf",
+ "InverseErfc",
+ "InverseFourier",
+ "InverseFourierCosTransform",
+ "InverseFourierSequenceTransform",
+ "InverseFourierSinTransform",
+ "InverseFourierTransform",
+ "InverseFunction",
+ "InverseFunctions",
+ "InverseGammaDistribution",
+ "InverseGammaRegularized",
+ "InverseGaussianDistribution",
+ "InverseGudermannian",
+ "InverseHankelTransform",
+ "InverseHaversine",
+ "InverseImagePyramid",
+ "InverseJacobiCD",
+ "InverseJacobiCN",
+ "InverseJacobiCS",
+ "InverseJacobiDC",
+ "InverseJacobiDN",
+ "InverseJacobiDS",
+ "InverseJacobiNC",
+ "InverseJacobiND",
+ "InverseJacobiNS",
+ "InverseJacobiSC",
+ "InverseJacobiSD",
+ "InverseJacobiSN",
+ "InverseLaplaceTransform",
+ "InverseMellinTransform",
+ "InversePermutation",
+ "InverseRadon",
+ "InverseRadonTransform",
+ "InverseSeries",
+ "InverseShortTimeFourier",
+ "InverseSpectrogram",
+ "InverseSurvivalFunction",
+ "InverseTransformedRegion",
+ "InverseWaveletTransform",
+ "InverseWeierstrassP",
+ "InverseWishartMatrixDistribution",
+ "InverseZTransform",
+ "Invisible",
+ "InvisibleApplication",
+ "InvisibleTimes",
+ "IPAddress",
+ "IrreduciblePolynomialQ",
+ "IslandData",
+ "IsolatingInterval",
+ "IsomorphicGraphQ",
+ "IsomorphicSubgraphQ",
+ "IsotopeData",
+ "Italic",
+ "Item",
+ "ItemAspectRatio",
+ "ItemBox",
+ "ItemBoxOptions",
+ "ItemDisplayFunction",
+ "ItemSize",
+ "ItemStyle",
+ "ItoProcess",
+ "JaccardDissimilarity",
+ "JacobiAmplitude",
+ "Jacobian",
+ "JacobiCD",
+ "JacobiCN",
+ "JacobiCS",
+ "JacobiDC",
+ "JacobiDN",
+ "JacobiDS",
+ "JacobiEpsilon",
+ "JacobiNC",
+ "JacobiND",
+ "JacobiNS",
+ "JacobiP",
+ "JacobiSC",
+ "JacobiSD",
+ "JacobiSN",
+ "JacobiSymbol",
+ "JacobiZeta",
+ "JacobiZN",
+ "JankoGroupJ1",
+ "JankoGroupJ2",
+ "JankoGroupJ3",
+ "JankoGroupJ4",
+ "JarqueBeraALMTest",
+ "JohnsonDistribution",
+ "Join",
+ "JoinAcross",
+ "Joined",
+ "JoinedCurve",
+ "JoinedCurveBox",
+ "JoinedCurveBoxOptions",
+ "JoinForm",
+ "JordanDecomposition",
+ "JordanModelDecomposition",
+ "JulianDate",
+ "JuliaSetBoettcher",
+ "JuliaSetIterationCount",
+ "JuliaSetPlot",
+ "JuliaSetPoints",
+ "K",
+ "KagiChart",
+ "KaiserBesselWindow",
+ "KaiserWindow",
+ "KalmanEstimator",
+ "KalmanFilter",
+ "KarhunenLoeveDecomposition",
+ "KaryTree",
+ "KatzCentrality",
+ "KCoreComponents",
+ "KDistribution",
+ "KEdgeConnectedComponents",
+ "KEdgeConnectedGraphQ",
+ "KeepExistingVersion",
+ "KelvinBei",
+ "KelvinBer",
+ "KelvinKei",
+ "KelvinKer",
+ "KendallTau",
+ "KendallTauTest",
+ "KernelConfiguration",
+ "KernelExecute",
+ "KernelFunction",
+ "KernelMixtureDistribution",
+ "KernelObject",
+ "Kernels",
+ "Ket",
+ "Key",
+ "KeyCollisionFunction",
+ "KeyComplement",
+ "KeyDrop",
+ "KeyDropFrom",
+ "KeyExistsQ",
+ "KeyFreeQ",
+ "KeyIntersection",
+ "KeyMap",
+ "KeyMemberQ",
+ "KeypointStrength",
+ "Keys",
+ "KeySelect",
+ "KeySort",
+ "KeySortBy",
+ "KeyTake",
+ "KeyUnion",
+ "KeyValueMap",
+ "KeyValuePattern",
+ "Khinchin",
+ "KillProcess",
+ "KirchhoffGraph",
+ "KirchhoffMatrix",
+ "KleinInvariantJ",
+ "KnapsackSolve",
+ "KnightTourGraph",
+ "KnotData",
+ "KnownUnitQ",
+ "KochCurve",
+ "KolmogorovSmirnovTest",
+ "KroneckerDelta",
+ "KroneckerModelDecomposition",
+ "KroneckerProduct",
+ "KroneckerSymbol",
+ "KuiperTest",
+ "KumaraswamyDistribution",
+ "Kurtosis",
+ "KuwaharaFilter",
+ "KVertexConnectedComponents",
+ "KVertexConnectedGraphQ",
+ "LABColor",
+ "Label",
+ "Labeled",
+ "LabeledSlider",
+ "LabelingFunction",
+ "LabelingSize",
+ "LabelStyle",
+ "LabelVisibility",
+ "LaguerreL",
+ "LakeData",
+ "LambdaComponents",
+ "LambertW",
+ "LameC",
+ "LameCPrime",
+ "LameEigenvalueA",
+ "LameEigenvalueB",
+ "LameS",
+ "LameSPrime",
+ "LaminaData",
+ "LanczosWindow",
+ "LandauDistribution",
+ "Language",
+ "LanguageCategory",
+ "LanguageData",
+ "LanguageIdentify",
+ "LanguageOptions",
+ "LaplaceDistribution",
+ "LaplaceTransform",
+ "Laplacian",
+ "LaplacianFilter",
+ "LaplacianGaussianFilter",
+ "LaplacianPDETerm",
+ "Large",
+ "Larger",
+ "Last",
+ "Latitude",
+ "LatitudeLongitude",
+ "LatticeData",
+ "LatticeReduce",
+ "Launch",
+ "LaunchKernels",
+ "LayeredGraphPlot",
+ "LayeredGraphPlot3D",
+ "LayerSizeFunction",
+ "LayoutInformation",
+ "LCHColor",
+ "LCM",
+ "LeaderSize",
+ "LeafCount",
+ "LeapVariant",
+ "LeapYearQ",
+ "LearnDistribution",
+ "LearnedDistribution",
+ "LearningRate",
+ "LearningRateMultipliers",
+ "LeastSquares",
+ "LeastSquaresFilterKernel",
+ "Left",
+ "LeftArrow",
+ "LeftArrowBar",
+ "LeftArrowRightArrow",
+ "LeftDownTeeVector",
+ "LeftDownVector",
+ "LeftDownVectorBar",
+ "LeftRightArrow",
+ "LeftRightVector",
+ "LeftTee",
+ "LeftTeeArrow",
+ "LeftTeeVector",
+ "LeftTriangle",
+ "LeftTriangleBar",
+ "LeftTriangleEqual",
+ "LeftUpDownVector",
+ "LeftUpTeeVector",
+ "LeftUpVector",
+ "LeftUpVectorBar",
+ "LeftVector",
+ "LeftVectorBar",
+ "LegendAppearance",
+ "Legended",
+ "LegendFunction",
+ "LegendLabel",
+ "LegendLayout",
+ "LegendMargins",
+ "LegendMarkers",
+ "LegendMarkerSize",
+ "LegendreP",
+ "LegendreQ",
+ "LegendreType",
+ "Length",
+ "LengthWhile",
+ "LerchPhi",
+ "Less",
+ "LessEqual",
+ "LessEqualGreater",
+ "LessEqualThan",
+ "LessFullEqual",
+ "LessGreater",
+ "LessLess",
+ "LessSlantEqual",
+ "LessThan",
+ "LessTilde",
+ "LetterCharacter",
+ "LetterCounts",
+ "LetterNumber",
+ "LetterQ",
+ "Level",
+ "LeveneTest",
+ "LeviCivitaTensor",
+ "LevyDistribution",
+ "Lexicographic",
+ "LexicographicOrder",
+ "LexicographicSort",
+ "LibraryDataType",
+ "LibraryFunction",
+ "LibraryFunctionDeclaration",
+ "LibraryFunctionError",
+ "LibraryFunctionInformation",
+ "LibraryFunctionLoad",
+ "LibraryFunctionUnload",
+ "LibraryLoad",
+ "LibraryUnload",
+ "LicenseEntitlementObject",
+ "LicenseEntitlements",
+ "LicenseID",
+ "LicensingSettings",
+ "LiftingFilterData",
+ "LiftingWaveletTransform",
+ "LightBlue",
+ "LightBrown",
+ "LightCyan",
+ "Lighter",
+ "LightGray",
+ "LightGreen",
+ "Lighting",
+ "LightingAngle",
+ "LightMagenta",
+ "LightOrange",
+ "LightPink",
+ "LightPurple",
+ "LightRed",
+ "LightSources",
+ "LightYellow",
+ "Likelihood",
+ "Limit",
+ "LimitsPositioning",
+ "LimitsPositioningTokens",
+ "LindleyDistribution",
+ "Line",
+ "Line3DBox",
+ "Line3DBoxOptions",
+ "LinearFilter",
+ "LinearFractionalOptimization",
+ "LinearFractionalTransform",
+ "LinearGradientFilling",
+ "LinearGradientImage",
+ "LinearizingTransformationData",
+ "LinearLayer",
+ "LinearModelFit",
+ "LinearOffsetFunction",
+ "LinearOptimization",
+ "LinearProgramming",
+ "LinearRecurrence",
+ "LinearSolve",
+ "LinearSolveFunction",
+ "LineBox",
+ "LineBoxOptions",
+ "LineBreak",
+ "LinebreakAdjustments",
+ "LineBreakChart",
+ "LinebreakSemicolonWeighting",
+ "LineBreakWithin",
+ "LineColor",
+ "LineGraph",
+ "LineIndent",
+ "LineIndentMaxFraction",
+ "LineIntegralConvolutionPlot",
+ "LineIntegralConvolutionScale",
+ "LineLegend",
+ "LineOpacity",
+ "LineSpacing",
+ "LineWrapParts",
+ "LinkActivate",
+ "LinkClose",
+ "LinkConnect",
+ "LinkConnectedQ",
+ "LinkCreate",
+ "LinkError",
+ "LinkFlush",
+ "LinkFunction",
+ "LinkHost",
+ "LinkInterrupt",
+ "LinkLaunch",
+ "LinkMode",
+ "LinkObject",
+ "LinkOpen",
+ "LinkOptions",
+ "LinkPatterns",
+ "LinkProtocol",
+ "LinkRankCentrality",
+ "LinkRead",
+ "LinkReadHeld",
+ "LinkReadyQ",
+ "Links",
+ "LinkService",
+ "LinkWrite",
+ "LinkWriteHeld",
+ "LiouvilleLambda",
+ "List",
+ "Listable",
+ "ListAnimate",
+ "ListContourPlot",
+ "ListContourPlot3D",
+ "ListConvolve",
+ "ListCorrelate",
+ "ListCurvePathPlot",
+ "ListDeconvolve",
+ "ListDensityPlot",
+ "ListDensityPlot3D",
+ "Listen",
+ "ListFormat",
+ "ListFourierSequenceTransform",
+ "ListInterpolation",
+ "ListLineIntegralConvolutionPlot",
+ "ListLinePlot",
+ "ListLinePlot3D",
+ "ListLogLinearPlot",
+ "ListLogLogPlot",
+ "ListLogPlot",
+ "ListPicker",
+ "ListPickerBox",
+ "ListPickerBoxBackground",
+ "ListPickerBoxOptions",
+ "ListPlay",
+ "ListPlot",
+ "ListPlot3D",
+ "ListPointPlot3D",
+ "ListPolarPlot",
+ "ListQ",
+ "ListSliceContourPlot3D",
+ "ListSliceDensityPlot3D",
+ "ListSliceVectorPlot3D",
+ "ListStepPlot",
+ "ListStreamDensityPlot",
+ "ListStreamPlot",
+ "ListStreamPlot3D",
+ "ListSurfacePlot3D",
+ "ListVectorDensityPlot",
+ "ListVectorDisplacementPlot",
+ "ListVectorDisplacementPlot3D",
+ "ListVectorPlot",
+ "ListVectorPlot3D",
+ "ListZTransform",
+ "Literal",
+ "LiteralSearch",
+ "LiteralType",
+ "LoadCompiledComponent",
+ "LocalAdaptiveBinarize",
+ "LocalCache",
+ "LocalClusteringCoefficient",
+ "LocalEvaluate",
+ "LocalizeDefinitions",
+ "LocalizeVariables",
+ "LocalObject",
+ "LocalObjects",
+ "LocalResponseNormalizationLayer",
+ "LocalSubmit",
+ "LocalSymbol",
+ "LocalTime",
+ "LocalTimeZone",
+ "LocationEquivalenceTest",
+ "LocationTest",
+ "Locator",
+ "LocatorAutoCreate",
+ "LocatorBox",
+ "LocatorBoxOptions",
+ "LocatorCentering",
+ "LocatorPane",
+ "LocatorPaneBox",
+ "LocatorPaneBoxOptions",
+ "LocatorRegion",
+ "Locked",
+ "Log",
+ "Log10",
+ "Log2",
+ "LogBarnesG",
+ "LogGamma",
+ "LogGammaDistribution",
+ "LogicalExpand",
+ "LogIntegral",
+ "LogisticDistribution",
+ "LogisticSigmoid",
+ "LogitModelFit",
+ "LogLikelihood",
+ "LogLinearPlot",
+ "LogLogisticDistribution",
+ "LogLogPlot",
+ "LogMultinormalDistribution",
+ "LogNormalDistribution",
+ "LogPlot",
+ "LogRankTest",
+ "LogSeriesDistribution",
+ "LongEqual",
+ "Longest",
+ "LongestCommonSequence",
+ "LongestCommonSequencePositions",
+ "LongestCommonSubsequence",
+ "LongestCommonSubsequencePositions",
+ "LongestMatch",
+ "LongestOrderedSequence",
+ "LongForm",
+ "Longitude",
+ "LongLeftArrow",
+ "LongLeftRightArrow",
+ "LongRightArrow",
+ "LongShortTermMemoryLayer",
+ "Lookup",
+ "Loopback",
+ "LoopFreeGraphQ",
+ "Looping",
+ "LossFunction",
+ "LowerCaseQ",
+ "LowerLeftArrow",
+ "LowerRightArrow",
+ "LowerTriangularize",
+ "LowerTriangularMatrix",
+ "LowerTriangularMatrixQ",
+ "LowpassFilter",
+ "LQEstimatorGains",
+ "LQGRegulator",
+ "LQOutputRegulatorGains",
+ "LQRegulatorGains",
+ "LUBackSubstitution",
+ "LucasL",
+ "LuccioSamiComponents",
+ "LUDecomposition",
+ "LunarEclipse",
+ "LUVColor",
+ "LyapunovSolve",
+ "LyonsGroupLy",
+ "MachineID",
+ "MachineName",
+ "MachineNumberQ",
+ "MachinePrecision",
+ "MacintoshSystemPageSetup",
+ "Magenta",
+ "Magnification",
+ "Magnify",
+ "MailAddressValidation",
+ "MailExecute",
+ "MailFolder",
+ "MailItem",
+ "MailReceiverFunction",
+ "MailResponseFunction",
+ "MailSearch",
+ "MailServerConnect",
+ "MailServerConnection",
+ "MailSettings",
+ "MainSolve",
+ "MaintainDynamicCaches",
+ "Majority",
+ "MakeBoxes",
+ "MakeExpression",
+ "MakeRules",
+ "ManagedLibraryExpressionID",
+ "ManagedLibraryExpressionQ",
+ "MandelbrotSetBoettcher",
+ "MandelbrotSetDistance",
+ "MandelbrotSetIterationCount",
+ "MandelbrotSetMemberQ",
+ "MandelbrotSetPlot",
+ "MangoldtLambda",
+ "ManhattanDistance",
+ "Manipulate",
+ "Manipulator",
+ "MannedSpaceMissionData",
+ "MannWhitneyTest",
+ "MantissaExponent",
+ "Manual",
+ "Map",
+ "MapAll",
+ "MapApply",
+ "MapAt",
+ "MapIndexed",
+ "MAProcess",
+ "MapThread",
+ "MarchenkoPasturDistribution",
+ "MarcumQ",
+ "MardiaCombinedTest",
+ "MardiaKurtosisTest",
+ "MardiaSkewnessTest",
+ "MarginalDistribution",
+ "MarkovProcessProperties",
+ "Masking",
+ "MassConcentrationCondition",
+ "MassFluxValue",
+ "MassImpermeableBoundaryValue",
+ "MassOutflowValue",
+ "MassSymmetryValue",
+ "MassTransferValue",
+ "MassTransportPDEComponent",
+ "MatchingDissimilarity",
+ "MatchLocalNameQ",
+ "MatchLocalNames",
+ "MatchQ",
+ "Material",
+ "MaterialShading",
+ "MaternPointProcess",
+ "MathematicalFunctionData",
+ "MathematicaNotation",
+ "MathieuC",
+ "MathieuCharacteristicA",
+ "MathieuCharacteristicB",
+ "MathieuCharacteristicExponent",
+ "MathieuCPrime",
+ "MathieuGroupM11",
+ "MathieuGroupM12",
+ "MathieuGroupM22",
+ "MathieuGroupM23",
+ "MathieuGroupM24",
+ "MathieuS",
+ "MathieuSPrime",
+ "MathMLForm",
+ "MathMLText",
+ "Matrices",
+ "MatrixExp",
+ "MatrixForm",
+ "MatrixFunction",
+ "MatrixLog",
+ "MatrixNormalDistribution",
+ "MatrixPlot",
+ "MatrixPower",
+ "MatrixPropertyDistribution",
+ "MatrixQ",
+ "MatrixRank",
+ "MatrixTDistribution",
+ "Max",
+ "MaxBend",
+ "MaxCellMeasure",
+ "MaxColorDistance",
+ "MaxDate",
+ "MaxDetect",
+ "MaxDisplayedChildren",
+ "MaxDuration",
+ "MaxExtraBandwidths",
+ "MaxExtraConditions",
+ "MaxFeatureDisplacement",
+ "MaxFeatures",
+ "MaxFilter",
+ "MaximalBy",
+ "Maximize",
+ "MaxItems",
+ "MaxIterations",
+ "MaxLimit",
+ "MaxMemoryUsed",
+ "MaxMixtureKernels",
+ "MaxOverlapFraction",
+ "MaxPlotPoints",
+ "MaxPoints",
+ "MaxRecursion",
+ "MaxStableDistribution",
+ "MaxStepFraction",
+ "MaxSteps",
+ "MaxStepSize",
+ "MaxTrainingRounds",
+ "MaxValue",
+ "MaxwellDistribution",
+ "MaxWordGap",
+ "McLaughlinGroupMcL",
+ "Mean",
+ "MeanAbsoluteLossLayer",
+ "MeanAround",
+ "MeanClusteringCoefficient",
+ "MeanDegreeConnectivity",
+ "MeanDeviation",
+ "MeanFilter",
+ "MeanGraphDistance",
+ "MeanNeighborDegree",
+ "MeanPointDensity",
+ "MeanShift",
+ "MeanShiftFilter",
+ "MeanSquaredLossLayer",
+ "Median",
+ "MedianDeviation",
+ "MedianFilter",
+ "MedicalTestData",
+ "Medium",
+ "MeijerG",
+ "MeijerGReduce",
+ "MeixnerDistribution",
+ "MellinConvolve",
+ "MellinTransform",
+ "MemberQ",
+ "MemoryAvailable",
+ "MemoryConstrained",
+ "MemoryConstraint",
+ "MemoryInUse",
+ "MengerMesh",
+ "Menu",
+ "MenuAppearance",
+ "MenuCommandKey",
+ "MenuEvaluator",
+ "MenuItem",
+ "MenuList",
+ "MenuPacket",
+ "MenuSortingValue",
+ "MenuStyle",
+ "MenuView",
+ "Merge",
+ "MergeDifferences",
+ "MergingFunction",
+ "MersennePrimeExponent",
+ "MersennePrimeExponentQ",
+ "Mesh",
+ "MeshCellCentroid",
+ "MeshCellCount",
+ "MeshCellHighlight",
+ "MeshCellIndex",
+ "MeshCellLabel",
+ "MeshCellMarker",
+ "MeshCellMeasure",
+ "MeshCellQuality",
+ "MeshCells",
+ "MeshCellShapeFunction",
+ "MeshCellStyle",
+ "MeshConnectivityGraph",
+ "MeshCoordinates",
+ "MeshFunctions",
+ "MeshPrimitives",
+ "MeshQualityGoal",
+ "MeshRange",
+ "MeshRefinementFunction",
+ "MeshRegion",
+ "MeshRegionQ",
+ "MeshShading",
+ "MeshStyle",
+ "Message",
+ "MessageDialog",
+ "MessageList",
+ "MessageName",
+ "MessageObject",
+ "MessageOptions",
+ "MessagePacket",
+ "Messages",
+ "MessagesNotebook",
+ "MetaCharacters",
+ "MetaInformation",
+ "MeteorShowerData",
+ "Method",
+ "MethodOptions",
+ "MexicanHatWavelet",
+ "MeyerWavelet",
+ "Midpoint",
+ "MIMETypeToFormatList",
+ "Min",
+ "MinColorDistance",
+ "MinDate",
+ "MinDetect",
+ "MineralData",
+ "MinFilter",
+ "MinimalBy",
+ "MinimalPolynomial",
+ "MinimalStateSpaceModel",
+ "Minimize",
+ "MinimumTimeIncrement",
+ "MinIntervalSize",
+ "MinkowskiQuestionMark",
+ "MinLimit",
+ "MinMax",
+ "MinorPlanetData",
+ "Minors",
+ "MinPointSeparation",
+ "MinRecursion",
+ "MinSize",
+ "MinStableDistribution",
+ "Minus",
+ "MinusPlus",
+ "MinValue",
+ "Missing",
+ "MissingBehavior",
+ "MissingDataMethod",
+ "MissingDataRules",
+ "MissingQ",
+ "MissingString",
+ "MissingStyle",
+ "MissingValuePattern",
+ "MissingValueSynthesis",
+ "MittagLefflerE",
+ "MixedFractionParts",
+ "MixedGraphQ",
+ "MixedMagnitude",
+ "MixedRadix",
+ "MixedRadixQuantity",
+ "MixedUnit",
+ "MixtureDistribution",
+ "Mod",
+ "Modal",
+ "Mode",
+ "ModelPredictiveController",
+ "Modular",
+ "ModularInverse",
+ "ModularLambda",
+ "Module",
+ "Modulus",
+ "MoebiusMu",
+ "Molecule",
+ "MoleculeAlign",
+ "MoleculeContainsQ",
+ "MoleculeDraw",
+ "MoleculeEquivalentQ",
+ "MoleculeFreeQ",
+ "MoleculeGraph",
+ "MoleculeMatchQ",
+ "MoleculeMaximumCommonSubstructure",
+ "MoleculeModify",
+ "MoleculeName",
+ "MoleculePattern",
+ "MoleculePlot",
+ "MoleculePlot3D",
+ "MoleculeProperty",
+ "MoleculeQ",
+ "MoleculeRecognize",
+ "MoleculeSubstructureCount",
+ "MoleculeValue",
+ "Moment",
+ "MomentConvert",
+ "MomentEvaluate",
+ "MomentGeneratingFunction",
+ "MomentOfInertia",
+ "Monday",
+ "Monitor",
+ "MonomialList",
+ "MonomialOrder",
+ "MonsterGroupM",
+ "MoonPhase",
+ "MoonPosition",
+ "MorletWavelet",
+ "MorphologicalBinarize",
+ "MorphologicalBranchPoints",
+ "MorphologicalComponents",
+ "MorphologicalEulerNumber",
+ "MorphologicalGraph",
+ "MorphologicalPerimeter",
+ "MorphologicalTransform",
+ "MortalityData",
+ "Most",
+ "MountainData",
+ "MouseAnnotation",
+ "MouseAppearance",
+ "MouseAppearanceTag",
+ "MouseButtons",
+ "Mouseover",
+ "MousePointerNote",
+ "MousePosition",
+ "MovieData",
+ "MovingAverage",
+ "MovingMap",
+ "MovingMedian",
+ "MoyalDistribution",
+ "MultiaxisArrangement",
+ "Multicolumn",
+ "MultiedgeStyle",
+ "MultigraphQ",
+ "MultilaunchWarning",
+ "MultiLetterItalics",
+ "MultiLetterStyle",
+ "MultilineFunction",
+ "Multinomial",
+ "MultinomialDistribution",
+ "MultinormalDistribution",
+ "MultiplicativeOrder",
+ "Multiplicity",
+ "MultiplySides",
+ "MultiscriptBoxOptions",
+ "Multiselection",
+ "MultivariateHypergeometricDistribution",
+ "MultivariatePoissonDistribution",
+ "MultivariateTDistribution",
+ "N",
+ "NakagamiDistribution",
+ "NameQ",
+ "Names",
+ "NamespaceBox",
+ "NamespaceBoxOptions",
+ "Nand",
+ "NArgMax",
+ "NArgMin",
+ "NBernoulliB",
+ "NBodySimulation",
+ "NBodySimulationData",
+ "NCache",
+ "NCaputoD",
+ "NDEigensystem",
+ "NDEigenvalues",
+ "NDSolve",
+ "NDSolveValue",
+ "Nearest",
+ "NearestFunction",
+ "NearestMeshCells",
+ "NearestNeighborG",
+ "NearestNeighborGraph",
+ "NearestTo",
+ "NebulaData",
+ "NeedlemanWunschSimilarity",
+ "Needs",
+ "Negative",
+ "NegativeBinomialDistribution",
+ "NegativeDefiniteMatrixQ",
+ "NegativeIntegers",
+ "NegativelyOrientedPoints",
+ "NegativeMultinomialDistribution",
+ "NegativeRationals",
+ "NegativeReals",
+ "NegativeSemidefiniteMatrixQ",
+ "NeighborhoodData",
+ "NeighborhoodGraph",
+ "Nest",
+ "NestedGreaterGreater",
+ "NestedLessLess",
+ "NestedScriptRules",
+ "NestGraph",
+ "NestList",
+ "NestTree",
+ "NestWhile",
+ "NestWhileList",
+ "NetAppend",
+ "NetArray",
+ "NetArrayLayer",
+ "NetBidirectionalOperator",
+ "NetChain",
+ "NetDecoder",
+ "NetDelete",
+ "NetDrop",
+ "NetEncoder",
+ "NetEvaluationMode",
+ "NetExternalObject",
+ "NetExtract",
+ "NetFlatten",
+ "NetFoldOperator",
+ "NetGANOperator",
+ "NetGraph",
+ "NetInformation",
+ "NetInitialize",
+ "NetInsert",
+ "NetInsertSharedArrays",
+ "NetJoin",
+ "NetMapOperator",
+ "NetMapThreadOperator",
+ "NetMeasurements",
+ "NetModel",
+ "NetNestOperator",
+ "NetPairEmbeddingOperator",
+ "NetPort",
+ "NetPortGradient",
+ "NetPrepend",
+ "NetRename",
+ "NetReplace",
+ "NetReplacePart",
+ "NetSharedArray",
+ "NetStateObject",
+ "NetTake",
+ "NetTrain",
+ "NetTrainResultsObject",
+ "NetUnfold",
+ "NetworkPacketCapture",
+ "NetworkPacketRecording",
+ "NetworkPacketRecordingDuring",
+ "NetworkPacketTrace",
+ "NeumannValue",
+ "NevilleThetaC",
+ "NevilleThetaD",
+ "NevilleThetaN",
+ "NevilleThetaS",
+ "NewPrimitiveStyle",
+ "NExpectation",
+ "Next",
+ "NextCell",
+ "NextDate",
+ "NextPrime",
+ "NextScheduledTaskTime",
+ "NeymanScottPointProcess",
+ "NFractionalD",
+ "NHoldAll",
+ "NHoldFirst",
+ "NHoldRest",
+ "NicholsGridLines",
+ "NicholsPlot",
+ "NightHemisphere",
+ "NIntegrate",
+ "NMaximize",
+ "NMaxValue",
+ "NMinimize",
+ "NMinValue",
+ "NominalScale",
+ "NominalVariables",
+ "NonAssociative",
+ "NoncentralBetaDistribution",
+ "NoncentralChiSquareDistribution",
+ "NoncentralFRatioDistribution",
+ "NoncentralStudentTDistribution",
+ "NonCommutativeMultiply",
+ "NonConstants",
+ "NondimensionalizationTransform",
+ "None",
+ "NoneTrue",
+ "NonlinearModelFit",
+ "NonlinearStateSpaceModel",
+ "NonlocalMeansFilter",
+ "NonNegative",
+ "NonNegativeIntegers",
+ "NonNegativeRationals",
+ "NonNegativeReals",
+ "NonPositive",
+ "NonPositiveIntegers",
+ "NonPositiveRationals",
+ "NonPositiveReals",
+ "Nor",
+ "NorlundB",
+ "Norm",
+ "Normal",
+ "NormalDistribution",
+ "NormalGrouping",
+ "NormalizationLayer",
+ "Normalize",
+ "Normalized",
+ "NormalizedSquaredEuclideanDistance",
+ "NormalMatrixQ",
+ "NormalsFunction",
+ "NormFunction",
+ "Not",
+ "NotCongruent",
+ "NotCupCap",
+ "NotDoubleVerticalBar",
+ "Notebook",
+ "NotebookApply",
+ "NotebookAutoSave",
+ "NotebookBrowseDirectory",
+ "NotebookClose",
+ "NotebookConvertSettings",
+ "NotebookCreate",
+ "NotebookDefault",
+ "NotebookDelete",
+ "NotebookDirectory",
+ "NotebookDynamicExpression",
+ "NotebookEvaluate",
+ "NotebookEventActions",
+ "NotebookFileName",
+ "NotebookFind",
+ "NotebookGet",
+ "NotebookImport",
+ "NotebookInformation",
+ "NotebookInterfaceObject",
+ "NotebookLocate",
+ "NotebookObject",
+ "NotebookOpen",
+ "NotebookPath",
+ "NotebookPrint",
+ "NotebookPut",
+ "NotebookRead",
+ "Notebooks",
+ "NotebookSave",
+ "NotebookSelection",
+ "NotebooksMenu",
+ "NotebookTemplate",
+ "NotebookWrite",
+ "NotElement",
+ "NotEqualTilde",
+ "NotExists",
+ "NotGreater",
+ "NotGreaterEqual",
+ "NotGreaterFullEqual",
+ "NotGreaterGreater",
+ "NotGreaterLess",
+ "NotGreaterSlantEqual",
+ "NotGreaterTilde",
+ "Nothing",
+ "NotHumpDownHump",
+ "NotHumpEqual",
+ "NotificationFunction",
+ "NotLeftTriangle",
+ "NotLeftTriangleBar",
+ "NotLeftTriangleEqual",
+ "NotLess",
+ "NotLessEqual",
+ "NotLessFullEqual",
+ "NotLessGreater",
+ "NotLessLess",
+ "NotLessSlantEqual",
+ "NotLessTilde",
+ "NotNestedGreaterGreater",
+ "NotNestedLessLess",
+ "NotPrecedes",
+ "NotPrecedesEqual",
+ "NotPrecedesSlantEqual",
+ "NotPrecedesTilde",
+ "NotReverseElement",
+ "NotRightTriangle",
+ "NotRightTriangleBar",
+ "NotRightTriangleEqual",
+ "NotSquareSubset",
+ "NotSquareSubsetEqual",
+ "NotSquareSuperset",
+ "NotSquareSupersetEqual",
+ "NotSubset",
+ "NotSubsetEqual",
+ "NotSucceeds",
+ "NotSucceedsEqual",
+ "NotSucceedsSlantEqual",
+ "NotSucceedsTilde",
+ "NotSuperset",
+ "NotSupersetEqual",
+ "NotTilde",
+ "NotTildeEqual",
+ "NotTildeFullEqual",
+ "NotTildeTilde",
+ "NotVerticalBar",
+ "Now",
+ "NoWhitespace",
+ "NProbability",
+ "NProduct",
+ "NProductFactors",
+ "NRoots",
+ "NSolve",
+ "NSolveValues",
+ "NSum",
+ "NSumTerms",
+ "NuclearExplosionData",
+ "NuclearReactorData",
+ "Null",
+ "NullRecords",
+ "NullSpace",
+ "NullWords",
+ "Number",
+ "NumberCompose",
+ "NumberDecompose",
+ "NumberDigit",
+ "NumberExpand",
+ "NumberFieldClassNumber",
+ "NumberFieldDiscriminant",
+ "NumberFieldFundamentalUnits",
+ "NumberFieldIntegralBasis",
+ "NumberFieldNormRepresentatives",
+ "NumberFieldRegulator",
+ "NumberFieldRootsOfUnity",
+ "NumberFieldSignature",
+ "NumberForm",
+ "NumberFormat",
+ "NumberLinePlot",
+ "NumberMarks",
+ "NumberMultiplier",
+ "NumberPadding",
+ "NumberPoint",
+ "NumberQ",
+ "NumberSeparator",
+ "NumberSigns",
+ "NumberString",
+ "Numerator",
+ "NumeratorDenominator",
+ "NumericalOrder",
+ "NumericalSort",
+ "NumericArray",
+ "NumericArrayQ",
+ "NumericArrayType",
+ "NumericFunction",
+ "NumericQ",
+ "NuttallWindow",
+ "NValues",
+ "NyquistGridLines",
+ "NyquistPlot",
+ "O",
+ "ObjectExistsQ",
+ "ObservabilityGramian",
+ "ObservabilityMatrix",
+ "ObservableDecomposition",
+ "ObservableModelQ",
+ "OceanData",
+ "Octahedron",
+ "OddQ",
+ "Off",
+ "Offset",
+ "OLEData",
+ "On",
+ "ONanGroupON",
+ "Once",
+ "OneIdentity",
+ "Opacity",
+ "OpacityFunction",
+ "OpacityFunctionScaling",
+ "Open",
+ "OpenAppend",
+ "Opener",
+ "OpenerBox",
+ "OpenerBoxOptions",
+ "OpenerView",
+ "OpenFunctionInspectorPacket",
+ "Opening",
+ "OpenRead",
+ "OpenSpecialOptions",
+ "OpenTemporary",
+ "OpenWrite",
+ "Operate",
+ "OperatingSystem",
+ "OperatorApplied",
+ "OptimumFlowData",
+ "Optional",
+ "OptionalElement",
+ "OptionInspectorSettings",
+ "OptionQ",
+ "Options",
+ "OptionsPacket",
+ "OptionsPattern",
+ "OptionValue",
+ "OptionValueBox",
+ "OptionValueBoxOptions",
+ "Or",
+ "Orange",
+ "Order",
+ "OrderDistribution",
+ "OrderedQ",
+ "Ordering",
+ "OrderingBy",
+ "OrderingLayer",
+ "Orderless",
+ "OrderlessPatternSequence",
+ "OrdinalScale",
+ "OrnsteinUhlenbeckProcess",
+ "Orthogonalize",
+ "OrthogonalMatrixQ",
+ "Out",
+ "Outer",
+ "OuterPolygon",
+ "OuterPolyhedron",
+ "OutputAutoOverwrite",
+ "OutputControllabilityMatrix",
+ "OutputControllableModelQ",
+ "OutputForm",
+ "OutputFormData",
+ "OutputGrouping",
+ "OutputMathEditExpression",
+ "OutputNamePacket",
+ "OutputPorts",
+ "OutputResponse",
+ "OutputSizeLimit",
+ "OutputStream",
+ "Over",
+ "OverBar",
+ "OverDot",
+ "Overflow",
+ "OverHat",
+ "Overlaps",
+ "Overlay",
+ "OverlayBox",
+ "OverlayBoxOptions",
+ "OverlayVideo",
+ "Overscript",
+ "OverscriptBox",
+ "OverscriptBoxOptions",
+ "OverTilde",
+ "OverVector",
+ "OverwriteTarget",
+ "OwenT",
+ "OwnValues",
+ "Package",
+ "PackingMethod",
+ "PackPaclet",
+ "PacletDataRebuild",
+ "PacletDirectoryAdd",
+ "PacletDirectoryLoad",
+ "PacletDirectoryRemove",
+ "PacletDirectoryUnload",
+ "PacletDisable",
+ "PacletEnable",
+ "PacletFind",
+ "PacletFindRemote",
+ "PacletInformation",
+ "PacletInstall",
+ "PacletInstallSubmit",
+ "PacletNewerQ",
+ "PacletObject",
+ "PacletObjectQ",
+ "PacletSite",
+ "PacletSiteObject",
+ "PacletSiteRegister",
+ "PacletSites",
+ "PacletSiteUnregister",
+ "PacletSiteUpdate",
+ "PacletSymbol",
+ "PacletUninstall",
+ "PacletUpdate",
+ "PaddedForm",
+ "Padding",
+ "PaddingLayer",
+ "PaddingSize",
+ "PadeApproximant",
+ "PadLeft",
+ "PadRight",
+ "PageBreakAbove",
+ "PageBreakBelow",
+ "PageBreakWithin",
+ "PageFooterLines",
+ "PageFooters",
+ "PageHeaderLines",
+ "PageHeaders",
+ "PageHeight",
+ "PageRankCentrality",
+ "PageTheme",
+ "PageWidth",
+ "Pagination",
+ "PairCorrelationG",
+ "PairedBarChart",
+ "PairedHistogram",
+ "PairedSmoothHistogram",
+ "PairedTTest",
+ "PairedZTest",
+ "PaletteNotebook",
+ "PalettePath",
+ "PalettesMenuSettings",
+ "PalindromeQ",
+ "Pane",
+ "PaneBox",
+ "PaneBoxOptions",
+ "Panel",
+ "PanelBox",
+ "PanelBoxOptions",
+ "Paneled",
+ "PaneSelector",
+ "PaneSelectorBox",
+ "PaneSelectorBoxOptions",
+ "PaperWidth",
+ "ParabolicCylinderD",
+ "ParagraphIndent",
+ "ParagraphSpacing",
+ "ParallelArray",
+ "ParallelAxisPlot",
+ "ParallelCombine",
+ "ParallelDo",
+ "Parallelepiped",
+ "ParallelEvaluate",
+ "Parallelization",
+ "Parallelize",
+ "ParallelKernels",
+ "ParallelMap",
+ "ParallelNeeds",
+ "Parallelogram",
+ "ParallelProduct",
+ "ParallelSubmit",
+ "ParallelSum",
+ "ParallelTable",
+ "ParallelTry",
+ "Parameter",
+ "ParameterEstimator",
+ "ParameterMixtureDistribution",
+ "ParameterVariables",
+ "ParametricConvexOptimization",
+ "ParametricFunction",
+ "ParametricNDSolve",
+ "ParametricNDSolveValue",
+ "ParametricPlot",
+ "ParametricPlot3D",
+ "ParametricRampLayer",
+ "ParametricRegion",
+ "ParentBox",
+ "ParentCell",
+ "ParentConnect",
+ "ParentDirectory",
+ "ParentEdgeLabel",
+ "ParentEdgeLabelFunction",
+ "ParentEdgeLabelStyle",
+ "ParentEdgeShapeFunction",
+ "ParentEdgeStyle",
+ "ParentEdgeStyleFunction",
+ "ParentForm",
+ "Parenthesize",
+ "ParentList",
+ "ParentNotebook",
+ "ParetoDistribution",
+ "ParetoPickandsDistribution",
+ "ParkData",
+ "Part",
+ "PartBehavior",
+ "PartialCorrelationFunction",
+ "PartialD",
+ "ParticleAcceleratorData",
+ "ParticleData",
+ "Partition",
+ "PartitionGranularity",
+ "PartitionsP",
+ "PartitionsQ",
+ "PartLayer",
+ "PartOfSpeech",
+ "PartProtection",
+ "ParzenWindow",
+ "PascalDistribution",
+ "PassEventsDown",
+ "PassEventsUp",
+ "Paste",
+ "PasteAutoQuoteCharacters",
+ "PasteBoxFormInlineCells",
+ "PasteButton",
+ "Path",
+ "PathGraph",
+ "PathGraphQ",
+ "Pattern",
+ "PatternFilling",
+ "PatternReaction",
+ "PatternSequence",
+ "PatternTest",
+ "PauliMatrix",
+ "PaulWavelet",
+ "Pause",
+ "PausedTime",
+ "PDF",
+ "PeakDetect",
+ "PeanoCurve",
+ "PearsonChiSquareTest",
+ "PearsonCorrelationTest",
+ "PearsonDistribution",
+ "PenttinenPointProcess",
+ "PercentForm",
+ "PerfectNumber",
+ "PerfectNumberQ",
+ "PerformanceGoal",
+ "Perimeter",
+ "PeriodicBoundaryCondition",
+ "PeriodicInterpolation",
+ "Periodogram",
+ "PeriodogramArray",
+ "Permanent",
+ "Permissions",
+ "PermissionsGroup",
+ "PermissionsGroupMemberQ",
+ "PermissionsGroups",
+ "PermissionsKey",
+ "PermissionsKeys",
+ "PermutationCycles",
+ "PermutationCyclesQ",
+ "PermutationGroup",
+ "PermutationLength",
+ "PermutationList",
+ "PermutationListQ",
+ "PermutationMatrix",
+ "PermutationMax",
+ "PermutationMin",
+ "PermutationOrder",
+ "PermutationPower",
+ "PermutationProduct",
+ "PermutationReplace",
+ "Permutations",
+ "PermutationSupport",
+ "Permute",
+ "PeronaMalikFilter",
+ "Perpendicular",
+ "PerpendicularBisector",
+ "PersistenceLocation",
+ "PersistenceTime",
+ "PersistentObject",
+ "PersistentObjects",
+ "PersistentSymbol",
+ "PersistentValue",
+ "PersonData",
+ "PERTDistribution",
+ "PetersenGraph",
+ "PhaseMargins",
+ "PhaseRange",
+ "PhongShading",
+ "PhysicalSystemData",
+ "Pi",
+ "Pick",
+ "PickedElements",
+ "PickMode",
+ "PIDData",
+ "PIDDerivativeFilter",
+ "PIDFeedforward",
+ "PIDTune",
+ "Piecewise",
+ "PiecewiseExpand",
+ "PieChart",
+ "PieChart3D",
+ "PillaiTrace",
+ "PillaiTraceTest",
+ "PingTime",
+ "Pink",
+ "PitchRecognize",
+ "Pivoting",
+ "PixelConstrained",
+ "PixelValue",
+ "PixelValuePositions",
+ "Placed",
+ "Placeholder",
+ "PlaceholderLayer",
+ "PlaceholderReplace",
+ "Plain",
+ "PlanarAngle",
+ "PlanarFaceList",
+ "PlanarGraph",
+ "PlanarGraphQ",
+ "PlanckRadiationLaw",
+ "PlaneCurveData",
+ "PlanetaryMoonData",
+ "PlanetData",
+ "PlantData",
+ "Play",
+ "PlaybackSettings",
+ "PlayRange",
+ "Plot",
+ "Plot3D",
+ "Plot3Matrix",
+ "PlotDivision",
+ "PlotJoined",
+ "PlotLabel",
+ "PlotLabels",
+ "PlotLayout",
+ "PlotLegends",
+ "PlotMarkers",
+ "PlotPoints",
+ "PlotRange",
+ "PlotRangeClipping",
+ "PlotRangeClipPlanesStyle",
+ "PlotRangePadding",
+ "PlotRegion",
+ "PlotStyle",
+ "PlotTheme",
+ "Pluralize",
+ "Plus",
+ "PlusMinus",
+ "Pochhammer",
+ "PodStates",
+ "PodWidth",
+ "Point",
+ "Point3DBox",
+ "Point3DBoxOptions",
+ "PointBox",
+ "PointBoxOptions",
+ "PointCountDistribution",
+ "PointDensity",
+ "PointDensityFunction",
+ "PointFigureChart",
+ "PointLegend",
+ "PointLight",
+ "PointProcessEstimator",
+ "PointProcessFitTest",
+ "PointProcessParameterAssumptions",
+ "PointProcessParameterQ",
+ "PointSize",
+ "PointStatisticFunction",
+ "PointValuePlot",
+ "PoissonConsulDistribution",
+ "PoissonDistribution",
+ "PoissonPDEComponent",
+ "PoissonPointProcess",
+ "PoissonProcess",
+ "PoissonWindow",
+ "PolarAxes",
+ "PolarAxesOrigin",
+ "PolarGridLines",
+ "PolarPlot",
+ "PolarTicks",
+ "PoleZeroMarkers",
+ "PolyaAeppliDistribution",
+ "PolyGamma",
+ "Polygon",
+ "Polygon3DBox",
+ "Polygon3DBoxOptions",
+ "PolygonalNumber",
+ "PolygonAngle",
+ "PolygonBox",
+ "PolygonBoxOptions",
+ "PolygonCoordinates",
+ "PolygonDecomposition",
+ "PolygonHoleScale",
+ "PolygonIntersections",
+ "PolygonScale",
+ "Polyhedron",
+ "PolyhedronAngle",
+ "PolyhedronBox",
+ "PolyhedronBoxOptions",
+ "PolyhedronCoordinates",
+ "PolyhedronData",
+ "PolyhedronDecomposition",
+ "PolyhedronGenus",
+ "PolyLog",
+ "PolynomialExpressionQ",
+ "PolynomialExtendedGCD",
+ "PolynomialForm",
+ "PolynomialGCD",
+ "PolynomialLCM",
+ "PolynomialMod",
+ "PolynomialQ",
+ "PolynomialQuotient",
+ "PolynomialQuotientRemainder",
+ "PolynomialReduce",
+ "PolynomialRemainder",
+ "Polynomials",
+ "PolynomialSumOfSquaresList",
+ "PoolingLayer",
+ "PopupMenu",
+ "PopupMenuBox",
+ "PopupMenuBoxOptions",
+ "PopupView",
+ "PopupWindow",
+ "Position",
+ "PositionIndex",
+ "PositionLargest",
+ "PositionSmallest",
+ "Positive",
+ "PositiveDefiniteMatrixQ",
+ "PositiveIntegers",
+ "PositivelyOrientedPoints",
+ "PositiveRationals",
+ "PositiveReals",
+ "PositiveSemidefiniteMatrixQ",
+ "PossibleZeroQ",
+ "Postfix",
+ "PostScript",
+ "Power",
+ "PowerDistribution",
+ "PowerExpand",
+ "PowerMod",
+ "PowerModList",
+ "PowerRange",
+ "PowerSpectralDensity",
+ "PowersRepresentations",
+ "PowerSymmetricPolynomial",
+ "Precedence",
+ "PrecedenceForm",
+ "Precedes",
+ "PrecedesEqual",
+ "PrecedesSlantEqual",
+ "PrecedesTilde",
+ "Precision",
+ "PrecisionGoal",
+ "PreDecrement",
+ "Predict",
+ "PredictionRoot",
+ "PredictorFunction",
+ "PredictorInformation",
+ "PredictorMeasurements",
+ "PredictorMeasurementsObject",
+ "PreemptProtect",
+ "PreferencesPath",
+ "PreferencesSettings",
+ "Prefix",
+ "PreIncrement",
+ "Prepend",
+ "PrependLayer",
+ "PrependTo",
+ "PreprocessingRules",
+ "PreserveColor",
+ "PreserveImageOptions",
+ "Previous",
+ "PreviousCell",
+ "PreviousDate",
+ "PriceGraphDistribution",
+ "PrimaryPlaceholder",
+ "Prime",
+ "PrimeNu",
+ "PrimeOmega",
+ "PrimePi",
+ "PrimePowerQ",
+ "PrimeQ",
+ "Primes",
+ "PrimeZetaP",
+ "PrimitivePolynomialQ",
+ "PrimitiveRoot",
+ "PrimitiveRootList",
+ "PrincipalComponents",
+ "PrincipalValue",
+ "Print",
+ "PrintableASCIIQ",
+ "PrintAction",
+ "PrintForm",
+ "PrintingCopies",
+ "PrintingOptions",
+ "PrintingPageRange",
+ "PrintingStartingPageNumber",
+ "PrintingStyleEnvironment",
+ "Printout3D",
+ "Printout3DPreviewer",
+ "PrintPrecision",
+ "PrintTemporary",
+ "Prism",
+ "PrismBox",
+ "PrismBoxOptions",
+ "PrivateCellOptions",
+ "PrivateEvaluationOptions",
+ "PrivateFontOptions",
+ "PrivateFrontEndOptions",
+ "PrivateKey",
+ "PrivateNotebookOptions",
+ "PrivatePaths",
+ "Probability",
+ "ProbabilityDistribution",
+ "ProbabilityPlot",
+ "ProbabilityPr",
+ "ProbabilityScalePlot",
+ "ProbitModelFit",
+ "ProcessConnection",
+ "ProcessDirectory",
+ "ProcessEnvironment",
+ "Processes",
+ "ProcessEstimator",
+ "ProcessInformation",
+ "ProcessObject",
+ "ProcessParameterAssumptions",
+ "ProcessParameterQ",
+ "ProcessStateDomain",
+ "ProcessStatus",
+ "ProcessTimeDomain",
+ "Product",
+ "ProductDistribution",
+ "ProductLog",
+ "ProgressIndicator",
+ "ProgressIndicatorBox",
+ "ProgressIndicatorBoxOptions",
+ "ProgressReporting",
+ "Projection",
+ "Prolog",
+ "PromptForm",
+ "ProofObject",
+ "PropagateAborts",
+ "Properties",
+ "Property",
+ "PropertyList",
+ "PropertyValue",
+ "Proportion",
+ "Proportional",
+ "Protect",
+ "Protected",
+ "ProteinData",
+ "Pruning",
+ "PseudoInverse",
+ "PsychrometricPropertyData",
+ "PublicKey",
+ "PublisherID",
+ "PulsarData",
+ "PunctuationCharacter",
+ "Purple",
+ "Put",
+ "PutAppend",
+ "Pyramid",
+ "PyramidBox",
+ "PyramidBoxOptions",
+ "QBinomial",
+ "QFactorial",
+ "QGamma",
+ "QHypergeometricPFQ",
+ "QnDispersion",
+ "QPochhammer",
+ "QPolyGamma",
+ "QRDecomposition",
+ "QuadraticIrrationalQ",
+ "QuadraticOptimization",
+ "Quantile",
+ "QuantilePlot",
+ "Quantity",
+ "QuantityArray",
+ "QuantityDistribution",
+ "QuantityForm",
+ "QuantityMagnitude",
+ "QuantityQ",
+ "QuantityUnit",
+ "QuantityVariable",
+ "QuantityVariableCanonicalUnit",
+ "QuantityVariableDimensions",
+ "QuantityVariableIdentifier",
+ "QuantityVariablePhysicalQuantity",
+ "Quartics",
+ "QuartileDeviation",
+ "Quartiles",
+ "QuartileSkewness",
+ "Query",
+ "QuestionGenerator",
+ "QuestionInterface",
+ "QuestionObject",
+ "QuestionSelector",
+ "QueueingNetworkProcess",
+ "QueueingProcess",
+ "QueueProperties",
+ "Quiet",
+ "QuietEcho",
+ "Quit",
+ "Quotient",
+ "QuotientRemainder",
+ "RadialAxisPlot",
+ "RadialGradientFilling",
+ "RadialGradientImage",
+ "RadialityCentrality",
+ "RadicalBox",
+ "RadicalBoxOptions",
+ "RadioButton",
+ "RadioButtonBar",
+ "RadioButtonBox",
+ "RadioButtonBoxOptions",
+ "Radon",
+ "RadonTransform",
+ "RamanujanTau",
+ "RamanujanTauL",
+ "RamanujanTauTheta",
+ "RamanujanTauZ",
+ "Ramp",
+ "Random",
+ "RandomArrayLayer",
+ "RandomChoice",
+ "RandomColor",
+ "RandomComplex",
+ "RandomDate",
+ "RandomEntity",
+ "RandomFunction",
+ "RandomGeneratorState",
+ "RandomGeoPosition",
+ "RandomGraph",
+ "RandomImage",
+ "RandomInstance",
+ "RandomInteger",
+ "RandomPermutation",
+ "RandomPoint",
+ "RandomPointConfiguration",
+ "RandomPolygon",
+ "RandomPolyhedron",
+ "RandomPrime",
+ "RandomReal",
+ "RandomSample",
+ "RandomSeed",
+ "RandomSeeding",
+ "RandomTime",
+ "RandomTree",
+ "RandomVariate",
+ "RandomWalkProcess",
+ "RandomWord",
+ "Range",
+ "RangeFilter",
+ "RangeSpecification",
+ "RankedMax",
+ "RankedMin",
+ "RarerProbability",
+ "Raster",
+ "Raster3D",
+ "Raster3DBox",
+ "Raster3DBoxOptions",
+ "RasterArray",
+ "RasterBox",
+ "RasterBoxOptions",
+ "Rasterize",
+ "RasterSize",
+ "Rational",
+ "RationalExpressionQ",
+ "RationalFunctions",
+ "Rationalize",
+ "Rationals",
+ "Ratios",
+ "RawArray",
+ "RawBoxes",
+ "RawData",
+ "RawMedium",
+ "RayleighDistribution",
+ "Re",
+ "ReactionBalance",
+ "ReactionBalancedQ",
+ "ReactionPDETerm",
+ "Read",
+ "ReadByteArray",
+ "ReadLine",
+ "ReadList",
+ "ReadProtected",
+ "ReadString",
+ "Real",
+ "RealAbs",
+ "RealBlockDiagonalForm",
+ "RealDigits",
+ "RealExponent",
+ "Reals",
+ "RealSign",
+ "Reap",
+ "RebuildPacletData",
+ "RecalibrationFunction",
+ "RecognitionPrior",
+ "RecognitionThreshold",
+ "ReconstructionMesh",
+ "Record",
+ "RecordLists",
+ "RecordSeparators",
+ "Rectangle",
+ "RectangleBox",
+ "RectangleBoxOptions",
+ "RectangleChart",
+ "RectangleChart3D",
+ "RectangularRepeatingElement",
+ "RecurrenceFilter",
+ "RecurrenceTable",
+ "RecurringDigitsForm",
+ "Red",
+ "Reduce",
+ "RefBox",
+ "ReferenceLineStyle",
+ "ReferenceMarkers",
+ "ReferenceMarkerStyle",
+ "Refine",
+ "ReflectionMatrix",
+ "ReflectionTransform",
+ "Refresh",
+ "RefreshRate",
+ "Region",
+ "RegionBinarize",
+ "RegionBoundary",
+ "RegionBoundaryStyle",
+ "RegionBounds",
+ "RegionCentroid",
+ "RegionCongruent",
+ "RegionConvert",
+ "RegionDifference",
+ "RegionDilation",
+ "RegionDimension",
+ "RegionDisjoint",
+ "RegionDistance",
+ "RegionDistanceFunction",
+ "RegionEmbeddingDimension",
+ "RegionEqual",
+ "RegionErosion",
+ "RegionFillingStyle",
+ "RegionFit",
+ "RegionFunction",
+ "RegionImage",
+ "RegionIntersection",
+ "RegionMeasure",
+ "RegionMember",
+ "RegionMemberFunction",
+ "RegionMoment",
+ "RegionNearest",
+ "RegionNearestFunction",
+ "RegionPlot",
+ "RegionPlot3D",
+ "RegionProduct",
+ "RegionQ",
+ "RegionResize",
+ "RegionSimilar",
+ "RegionSize",
+ "RegionSymmetricDifference",
+ "RegionUnion",
+ "RegionWithin",
+ "RegisterExternalEvaluator",
+ "RegularExpression",
+ "Regularization",
+ "RegularlySampledQ",
+ "RegularPolygon",
+ "ReIm",
+ "ReImLabels",
+ "ReImPlot",
+ "ReImStyle",
+ "Reinstall",
+ "RelationalDatabase",
+ "RelationGraph",
+ "Release",
+ "ReleaseHold",
+ "ReliabilityDistribution",
+ "ReliefImage",
+ "ReliefPlot",
+ "RemoteAuthorizationCaching",
+ "RemoteBatchJobAbort",
+ "RemoteBatchJobObject",
+ "RemoteBatchJobs",
+ "RemoteBatchMapSubmit",
+ "RemoteBatchSubmissionEnvironment",
+ "RemoteBatchSubmit",
+ "RemoteConnect",
+ "RemoteConnectionObject",
+ "RemoteEvaluate",
+ "RemoteFile",
+ "RemoteInputFiles",
+ "RemoteKernelObject",
+ "RemoteProviderSettings",
+ "RemoteRun",
+ "RemoteRunProcess",
+ "RemovalConditions",
+ "Remove",
+ "RemoveAlphaChannel",
+ "RemoveAsynchronousTask",
+ "RemoveAudioStream",
+ "RemoveBackground",
+ "RemoveChannelListener",
+ "RemoveChannelSubscribers",
+ "Removed",
+ "RemoveDiacritics",
+ "RemoveInputStreamMethod",
+ "RemoveOutputStreamMethod",
+ "RemoveProperty",
+ "RemoveScheduledTask",
+ "RemoveUsers",
+ "RemoveVideoStream",
+ "RenameDirectory",
+ "RenameFile",
+ "RenderAll",
+ "RenderingOptions",
+ "RenewalProcess",
+ "RenkoChart",
+ "RepairMesh",
+ "Repeated",
+ "RepeatedNull",
+ "RepeatedString",
+ "RepeatedTiming",
+ "RepeatingElement",
+ "Replace",
+ "ReplaceAll",
+ "ReplaceAt",
+ "ReplaceHeldPart",
+ "ReplaceImageValue",
+ "ReplaceList",
+ "ReplacePart",
+ "ReplacePixelValue",
+ "ReplaceRepeated",
+ "ReplicateLayer",
+ "RequiredPhysicalQuantities",
+ "Resampling",
+ "ResamplingAlgorithmData",
+ "ResamplingMethod",
+ "Rescale",
+ "RescalingTransform",
+ "ResetDirectory",
+ "ResetScheduledTask",
+ "ReshapeLayer",
+ "Residue",
+ "ResidueSum",
+ "ResizeLayer",
+ "Resolve",
+ "ResolveContextAliases",
+ "ResourceAcquire",
+ "ResourceData",
+ "ResourceFunction",
+ "ResourceObject",
+ "ResourceRegister",
+ "ResourceRemove",
+ "ResourceSearch",
+ "ResourceSubmissionObject",
+ "ResourceSubmit",
+ "ResourceSystemBase",
+ "ResourceSystemPath",
+ "ResourceUpdate",
+ "ResourceVersion",
+ "ResponseForm",
+ "Rest",
+ "RestartInterval",
+ "Restricted",
+ "Resultant",
+ "ResumePacket",
+ "Return",
+ "ReturnCreatesNewCell",
+ "ReturnEntersInput",
+ "ReturnExpressionPacket",
+ "ReturnInputFormPacket",
+ "ReturnPacket",
+ "ReturnReceiptFunction",
+ "ReturnTextPacket",
+ "Reverse",
+ "ReverseApplied",
+ "ReverseBiorthogonalSplineWavelet",
+ "ReverseElement",
+ "ReverseEquilibrium",
+ "ReverseGraph",
+ "ReverseSort",
+ "ReverseSortBy",
+ "ReverseUpEquilibrium",
+ "RevolutionAxis",
+ "RevolutionPlot3D",
+ "RGBColor",
+ "RiccatiSolve",
+ "RiceDistribution",
+ "RidgeFilter",
+ "RiemannR",
+ "RiemannSiegelTheta",
+ "RiemannSiegelZ",
+ "RiemannXi",
+ "Riffle",
+ "Right",
+ "RightArrow",
+ "RightArrowBar",
+ "RightArrowLeftArrow",
+ "RightComposition",
+ "RightCosetRepresentative",
+ "RightDownTeeVector",
+ "RightDownVector",
+ "RightDownVectorBar",
+ "RightTee",
+ "RightTeeArrow",
+ "RightTeeVector",
+ "RightTriangle",
+ "RightTriangleBar",
+ "RightTriangleEqual",
+ "RightUpDownVector",
+ "RightUpTeeVector",
+ "RightUpVector",
+ "RightUpVectorBar",
+ "RightVector",
+ "RightVectorBar",
+ "RipleyK",
+ "RipleyRassonRegion",
+ "RiskAchievementImportance",
+ "RiskReductionImportance",
+ "RobustConvexOptimization",
+ "RogersTanimotoDissimilarity",
+ "RollPitchYawAngles",
+ "RollPitchYawMatrix",
+ "RomanNumeral",
+ "Root",
+ "RootApproximant",
+ "RootIntervals",
+ "RootLocusPlot",
+ "RootMeanSquare",
+ "RootOfUnityQ",
+ "RootReduce",
+ "Roots",
+ "RootSum",
+ "RootTree",
+ "Rotate",
+ "RotateLabel",
+ "RotateLeft",
+ "RotateRight",
+ "RotationAction",
+ "RotationBox",
+ "RotationBoxOptions",
+ "RotationMatrix",
+ "RotationTransform",
+ "Round",
+ "RoundImplies",
+ "RoundingRadius",
+ "Row",
+ "RowAlignments",
+ "RowBackgrounds",
+ "RowBox",
+ "RowHeights",
+ "RowLines",
+ "RowMinHeight",
+ "RowReduce",
+ "RowsEqual",
+ "RowSpacings",
+ "RSolve",
+ "RSolveValue",
+ "RudinShapiro",
+ "RudvalisGroupRu",
+ "Rule",
+ "RuleCondition",
+ "RuleDelayed",
+ "RuleForm",
+ "RulePlot",
+ "RulerUnits",
+ "RulesTree",
+ "Run",
+ "RunProcess",
+ "RunScheduledTask",
+ "RunThrough",
+ "RuntimeAttributes",
+ "RuntimeOptions",
+ "RussellRaoDissimilarity",
+ "SameAs",
+ "SameQ",
+ "SameTest",
+ "SameTestProperties",
+ "SampledEntityClass",
+ "SampleDepth",
+ "SampledSoundFunction",
+ "SampledSoundList",
+ "SampleRate",
+ "SamplingPeriod",
+ "SARIMAProcess",
+ "SARMAProcess",
+ "SASTriangle",
+ "SatelliteData",
+ "SatisfiabilityCount",
+ "SatisfiabilityInstances",
+ "SatisfiableQ",
+ "Saturday",
+ "Save",
+ "Saveable",
+ "SaveAutoDelete",
+ "SaveConnection",
+ "SaveDefinitions",
+ "SavitzkyGolayMatrix",
+ "SawtoothWave",
+ "Scale",
+ "Scaled",
+ "ScaleDivisions",
+ "ScaledMousePosition",
+ "ScaleOrigin",
+ "ScalePadding",
+ "ScaleRanges",
+ "ScaleRangeStyle",
+ "ScalingFunctions",
+ "ScalingMatrix",
+ "ScalingTransform",
+ "Scan",
+ "ScheduledTask",
+ "ScheduledTaskActiveQ",
+ "ScheduledTaskInformation",
+ "ScheduledTaskInformationData",
+ "ScheduledTaskObject",
+ "ScheduledTasks",
+ "SchurDecomposition",
+ "ScientificForm",
+ "ScientificNotationThreshold",
+ "ScorerGi",
+ "ScorerGiPrime",
+ "ScorerHi",
+ "ScorerHiPrime",
+ "ScreenRectangle",
+ "ScreenStyleEnvironment",
+ "ScriptBaselineShifts",
+ "ScriptForm",
+ "ScriptLevel",
+ "ScriptMinSize",
+ "ScriptRules",
+ "ScriptSizeMultipliers",
+ "Scrollbars",
+ "ScrollingOptions",
+ "ScrollPosition",
+ "SearchAdjustment",
+ "SearchIndexObject",
+ "SearchIndices",
+ "SearchQueryString",
+ "SearchResultObject",
+ "Sec",
+ "Sech",
+ "SechDistribution",
+ "SecondOrderConeOptimization",
+ "SectionGrouping",
+ "SectorChart",
+ "SectorChart3D",
+ "SectorOrigin",
+ "SectorSpacing",
+ "SecuredAuthenticationKey",
+ "SecuredAuthenticationKeys",
+ "SecurityCertificate",
+ "SeedRandom",
+ "Select",
+ "Selectable",
+ "SelectComponents",
+ "SelectedCells",
+ "SelectedNotebook",
+ "SelectFirst",
+ "Selection",
+ "SelectionAnimate",
+ "SelectionCell",
+ "SelectionCellCreateCell",
+ "SelectionCellDefaultStyle",
+ "SelectionCellParentStyle",
+ "SelectionCreateCell",
+ "SelectionDebuggerTag",
+ "SelectionEvaluate",
+ "SelectionEvaluateCreateCell",
+ "SelectionMove",
+ "SelectionPlaceholder",
+ "SelectWithContents",
+ "SelfLoops",
+ "SelfLoopStyle",
+ "SemanticImport",
+ "SemanticImportString",
+ "SemanticInterpretation",
+ "SemialgebraicComponentInstances",
+ "SemidefiniteOptimization",
+ "SendMail",
+ "SendMessage",
+ "Sequence",
+ "SequenceAlignment",
+ "SequenceAttentionLayer",
+ "SequenceCases",
+ "SequenceCount",
+ "SequenceFold",
+ "SequenceFoldList",
+ "SequenceForm",
+ "SequenceHold",
+ "SequenceIndicesLayer",
+ "SequenceLastLayer",
+ "SequenceMostLayer",
+ "SequencePosition",
+ "SequencePredict",
+ "SequencePredictorFunction",
+ "SequenceReplace",
+ "SequenceRestLayer",
+ "SequenceReverseLayer",
+ "SequenceSplit",
+ "Series",
+ "SeriesCoefficient",
+ "SeriesData",
+ "SeriesTermGoal",
+ "ServiceConnect",
+ "ServiceDisconnect",
+ "ServiceExecute",
+ "ServiceObject",
+ "ServiceRequest",
+ "ServiceResponse",
+ "ServiceSubmit",
+ "SessionSubmit",
+ "SessionTime",
+ "Set",
+ "SetAccuracy",
+ "SetAlphaChannel",
+ "SetAttributes",
+ "Setbacks",
+ "SetCloudDirectory",
+ "SetCookies",
+ "SetDelayed",
+ "SetDirectory",
+ "SetEnvironment",
+ "SetFileDate",
+ "SetFileFormatProperties",
+ "SetOptions",
+ "SetOptionsPacket",
+ "SetPermissions",
+ "SetPrecision",
+ "SetProperty",
+ "SetSecuredAuthenticationKey",
+ "SetSelectedNotebook",
+ "SetSharedFunction",
+ "SetSharedVariable",
+ "SetStreamPosition",
+ "SetSystemModel",
+ "SetSystemOptions",
+ "Setter",
+ "SetterBar",
+ "SetterBox",
+ "SetterBoxOptions",
+ "Setting",
+ "SetUsers",
+ "Shading",
+ "Shallow",
+ "ShannonWavelet",
+ "ShapiroWilkTest",
+ "Share",
+ "SharingList",
+ "Sharpen",
+ "ShearingMatrix",
+ "ShearingTransform",
+ "ShellRegion",
+ "ShenCastanMatrix",
+ "ShiftedGompertzDistribution",
+ "ShiftRegisterSequence",
+ "Short",
+ "ShortDownArrow",
+ "Shortest",
+ "ShortestMatch",
+ "ShortestPathFunction",
+ "ShortLeftArrow",
+ "ShortRightArrow",
+ "ShortTimeFourier",
+ "ShortTimeFourierData",
+ "ShortUpArrow",
+ "Show",
+ "ShowAutoConvert",
+ "ShowAutoSpellCheck",
+ "ShowAutoStyles",
+ "ShowCellBracket",
+ "ShowCellLabel",
+ "ShowCellTags",
+ "ShowClosedCellArea",
+ "ShowCodeAssist",
+ "ShowContents",
+ "ShowControls",
+ "ShowCursorTracker",
+ "ShowGroupOpenCloseIcon",
+ "ShowGroupOpener",
+ "ShowInvisibleCharacters",
+ "ShowPageBreaks",
+ "ShowPredictiveInterface",
+ "ShowSelection",
+ "ShowShortBoxForm",
+ "ShowSpecialCharacters",
+ "ShowStringCharacters",
+ "ShowSyntaxStyles",
+ "ShrinkingDelay",
+ "ShrinkWrapBoundingBox",
+ "SiderealTime",
+ "SiegelTheta",
+ "SiegelTukeyTest",
+ "SierpinskiCurve",
+ "SierpinskiMesh",
+ "Sign",
+ "Signature",
+ "SignedRankTest",
+ "SignedRegionDistance",
+ "SignificanceLevel",
+ "SignPadding",
+ "SignTest",
+ "SimilarityRules",
+ "SimpleGraph",
+ "SimpleGraphQ",
+ "SimplePolygonQ",
+ "SimplePolyhedronQ",
+ "Simplex",
+ "Simplify",
+ "Sin",
+ "Sinc",
+ "SinghMaddalaDistribution",
+ "SingleEvaluation",
+ "SingleLetterItalics",
+ "SingleLetterStyle",
+ "SingularValueDecomposition",
+ "SingularValueList",
+ "SingularValuePlot",
+ "SingularValues",
+ "Sinh",
+ "SinhIntegral",
+ "SinIntegral",
+ "SixJSymbol",
+ "Skeleton",
+ "SkeletonTransform",
+ "SkellamDistribution",
+ "Skewness",
+ "SkewNormalDistribution",
+ "SkinStyle",
+ "Skip",
+ "SliceContourPlot3D",
+ "SliceDensityPlot3D",
+ "SliceDistribution",
+ "SliceVectorPlot3D",
+ "Slider",
+ "Slider2D",
+ "Slider2DBox",
+ "Slider2DBoxOptions",
+ "SliderBox",
+ "SliderBoxOptions",
+ "SlideShowVideo",
+ "SlideView",
+ "Slot",
+ "SlotSequence",
+ "Small",
+ "SmallCircle",
+ "Smaller",
+ "SmithDecomposition",
+ "SmithDelayCompensator",
+ "SmithWatermanSimilarity",
+ "SmoothDensityHistogram",
+ "SmoothHistogram",
+ "SmoothHistogram3D",
+ "SmoothKernelDistribution",
+ "SmoothPointDensity",
+ "SnDispersion",
+ "Snippet",
+ "SnippetsVideo",
+ "SnubPolyhedron",
+ "SocialMediaData",
+ "Socket",
+ "SocketConnect",
+ "SocketListen",
+ "SocketListener",
+ "SocketObject",
+ "SocketOpen",
+ "SocketReadMessage",
+ "SocketReadyQ",
+ "Sockets",
+ "SocketWaitAll",
+ "SocketWaitNext",
+ "SoftmaxLayer",
+ "SokalSneathDissimilarity",
+ "SolarEclipse",
+ "SolarSystemFeatureData",
+ "SolarTime",
+ "SolidAngle",
+ "SolidBoundaryLoadValue",
+ "SolidData",
+ "SolidDisplacementCondition",
+ "SolidFixedCondition",
+ "SolidMechanicsPDEComponent",
+ "SolidMechanicsStrain",
+ "SolidMechanicsStress",
+ "SolidRegionQ",
+ "Solve",
+ "SolveAlways",
+ "SolveDelayed",
+ "SolveValues",
+ "Sort",
+ "SortBy",
+ "SortedBy",
+ "SortedEntityClass",
+ "Sound",
+ "SoundAndGraphics",
+ "SoundNote",
+ "SoundVolume",
+ "SourceLink",
+ "SourcePDETerm",
+ "Sow",
+ "Space",
+ "SpaceCurveData",
+ "SpaceForm",
+ "Spacer",
+ "Spacings",
+ "Span",
+ "SpanAdjustments",
+ "SpanCharacterRounding",
+ "SpanFromAbove",
+ "SpanFromBoth",
+ "SpanFromLeft",
+ "SpanLineThickness",
+ "SpanMaxSize",
+ "SpanMinSize",
+ "SpanningCharacters",
+ "SpanSymmetric",
+ "SparseArray",
+ "SparseArrayQ",
+ "SpatialBinnedPointData",
+ "SpatialBoundaryCorrection",
+ "SpatialEstimate",
+ "SpatialEstimatorFunction",
+ "SpatialGraphDistribution",
+ "SpatialJ",
+ "SpatialMedian",
+ "SpatialNoiseLevel",
+ "SpatialObservationRegionQ",
+ "SpatialPointData",
+ "SpatialPointSelect",
+ "SpatialRandomnessTest",
+ "SpatialTransformationLayer",
+ "SpatialTrendFunction",
+ "Speak",
+ "SpeakerMatchQ",
+ "SpearmanRankTest",
+ "SpearmanRho",
+ "SpeciesData",
+ "SpecificityGoal",
+ "SpectralLineData",
+ "Spectrogram",
+ "SpectrogramArray",
+ "Specularity",
+ "SpeechCases",
+ "SpeechInterpreter",
+ "SpeechRecognize",
+ "SpeechSynthesize",
+ "SpellingCorrection",
+ "SpellingCorrectionList",
+ "SpellingDictionaries",
+ "SpellingDictionariesPath",
+ "SpellingOptions",
+ "Sphere",
+ "SphereBox",
+ "SphereBoxOptions",
+ "SpherePoints",
+ "SphericalBesselJ",
+ "SphericalBesselY",
+ "SphericalHankelH1",
+ "SphericalHankelH2",
+ "SphericalHarmonicY",
+ "SphericalPlot3D",
+ "SphericalRegion",
+ "SphericalShell",
+ "SpheroidalEigenvalue",
+ "SpheroidalJoiningFactor",
+ "SpheroidalPS",
+ "SpheroidalPSPrime",
+ "SpheroidalQS",
+ "SpheroidalQSPrime",
+ "SpheroidalRadialFactor",
+ "SpheroidalS1",
+ "SpheroidalS1Prime",
+ "SpheroidalS2",
+ "SpheroidalS2Prime",
+ "Splice",
+ "SplicedDistribution",
+ "SplineClosed",
+ "SplineDegree",
+ "SplineKnots",
+ "SplineWeights",
+ "Split",
+ "SplitBy",
+ "SpokenString",
+ "SpotLight",
+ "Sqrt",
+ "SqrtBox",
+ "SqrtBoxOptions",
+ "Square",
+ "SquaredEuclideanDistance",
+ "SquareFreeQ",
+ "SquareIntersection",
+ "SquareMatrixQ",
+ "SquareRepeatingElement",
+ "SquaresR",
+ "SquareSubset",
+ "SquareSubsetEqual",
+ "SquareSuperset",
+ "SquareSupersetEqual",
+ "SquareUnion",
+ "SquareWave",
+ "SSSTriangle",
+ "StabilityMargins",
+ "StabilityMarginsStyle",
+ "StableDistribution",
+ "Stack",
+ "StackBegin",
+ "StackComplete",
+ "StackedDateListPlot",
+ "StackedListPlot",
+ "StackInhibit",
+ "StadiumShape",
+ "StandardAtmosphereData",
+ "StandardDeviation",
+ "StandardDeviationFilter",
+ "StandardForm",
+ "Standardize",
+ "Standardized",
+ "StandardOceanData",
+ "StandbyDistribution",
+ "Star",
+ "StarClusterData",
+ "StarData",
+ "StarGraph",
+ "StartAsynchronousTask",
+ "StartExternalSession",
+ "StartingStepSize",
+ "StartOfLine",
+ "StartOfString",
+ "StartProcess",
+ "StartScheduledTask",
+ "StartupSound",
+ "StartWebSession",
+ "StateDimensions",
+ "StateFeedbackGains",
+ "StateOutputEstimator",
+ "StateResponse",
+ "StateSpaceModel",
+ "StateSpaceRealization",
+ "StateSpaceTransform",
+ "StateTransformationLinearize",
+ "StationaryDistribution",
+ "StationaryWaveletPacketTransform",
+ "StationaryWaveletTransform",
+ "StatusArea",
+ "StatusCentrality",
+ "StepMonitor",
+ "StereochemistryElements",
+ "StieltjesGamma",
+ "StippleShading",
+ "StirlingS1",
+ "StirlingS2",
+ "StopAsynchronousTask",
+ "StoppingPowerData",
+ "StopScheduledTask",
+ "StrataVariables",
+ "StratonovichProcess",
+ "StraussHardcorePointProcess",
+ "StraussPointProcess",
+ "StreamColorFunction",
+ "StreamColorFunctionScaling",
+ "StreamDensityPlot",
+ "StreamMarkers",
+ "StreamPlot",
+ "StreamPlot3D",
+ "StreamPoints",
+ "StreamPosition",
+ "Streams",
+ "StreamScale",
+ "StreamStyle",
+ "StrictInequalities",
+ "String",
+ "StringBreak",
+ "StringByteCount",
+ "StringCases",
+ "StringContainsQ",
+ "StringCount",
+ "StringDelete",
+ "StringDrop",
+ "StringEndsQ",
+ "StringExpression",
+ "StringExtract",
+ "StringForm",
+ "StringFormat",
+ "StringFormatQ",
+ "StringFreeQ",
+ "StringInsert",
+ "StringJoin",
+ "StringLength",
+ "StringMatchQ",
+ "StringPadLeft",
+ "StringPadRight",
+ "StringPart",
+ "StringPartition",
+ "StringPosition",
+ "StringQ",
+ "StringRepeat",
+ "StringReplace",
+ "StringReplaceList",
+ "StringReplacePart",
+ "StringReverse",
+ "StringRiffle",
+ "StringRotateLeft",
+ "StringRotateRight",
+ "StringSkeleton",
+ "StringSplit",
+ "StringStartsQ",
+ "StringTake",
+ "StringTakeDrop",
+ "StringTemplate",
+ "StringToByteArray",
+ "StringToStream",
+ "StringTrim",
+ "StripBoxes",
+ "StripOnInput",
+ "StripStyleOnPaste",
+ "StripWrapperBoxes",
+ "StrokeForm",
+ "Struckthrough",
+ "StructuralImportance",
+ "StructuredArray",
+ "StructuredArrayHeadQ",
+ "StructuredSelection",
+ "StruveH",
+ "StruveL",
+ "Stub",
+ "StudentTDistribution",
+ "Style",
+ "StyleBox",
+ "StyleBoxAutoDelete",
+ "StyleData",
+ "StyleDefinitions",
+ "StyleForm",
+ "StyleHints",
+ "StyleKeyMapping",
+ "StyleMenuListing",
+ "StyleNameDialogSettings",
+ "StyleNames",
+ "StylePrint",
+ "StyleSheetPath",
+ "Subdivide",
+ "Subfactorial",
+ "Subgraph",
+ "SubMinus",
+ "SubPlus",
+ "SubresultantPolynomialRemainders",
+ "SubresultantPolynomials",
+ "Subresultants",
+ "Subscript",
+ "SubscriptBox",
+ "SubscriptBoxOptions",
+ "Subscripted",
+ "Subsequences",
+ "Subset",
+ "SubsetCases",
+ "SubsetCount",
+ "SubsetEqual",
+ "SubsetMap",
+ "SubsetPosition",
+ "SubsetQ",
+ "SubsetReplace",
+ "Subsets",
+ "SubStar",
+ "SubstitutionSystem",
+ "Subsuperscript",
+ "SubsuperscriptBox",
+ "SubsuperscriptBoxOptions",
+ "SubtitleEncoding",
+ "SubtitleTrackSelection",
+ "Subtract",
+ "SubtractFrom",
+ "SubtractSides",
+ "SubValues",
+ "Succeeds",
+ "SucceedsEqual",
+ "SucceedsSlantEqual",
+ "SucceedsTilde",
+ "Success",
+ "SuchThat",
+ "Sum",
+ "SumConvergence",
+ "SummationLayer",
+ "Sunday",
+ "SunPosition",
+ "Sunrise",
+ "Sunset",
+ "SuperDagger",
+ "SuperMinus",
+ "SupernovaData",
+ "SuperPlus",
+ "Superscript",
+ "SuperscriptBox",
+ "SuperscriptBoxOptions",
+ "Superset",
+ "SupersetEqual",
+ "SuperStar",
+ "Surd",
+ "SurdForm",
+ "SurfaceAppearance",
+ "SurfaceArea",
+ "SurfaceColor",
+ "SurfaceData",
+ "SurfaceGraphics",
+ "SurvivalDistribution",
+ "SurvivalFunction",
+ "SurvivalModel",
+ "SurvivalModelFit",
+ "SuspendPacket",
+ "SuzukiDistribution",
+ "SuzukiGroupSuz",
+ "SwatchLegend",
+ "Switch",
+ "Symbol",
+ "SymbolName",
+ "SymletWavelet",
+ "Symmetric",
+ "SymmetricDifference",
+ "SymmetricGroup",
+ "SymmetricKey",
+ "SymmetricMatrixQ",
+ "SymmetricPolynomial",
+ "SymmetricReduction",
+ "Symmetrize",
+ "SymmetrizedArray",
+ "SymmetrizedArrayRules",
+ "SymmetrizedDependentComponents",
+ "SymmetrizedIndependentComponents",
+ "SymmetrizedReplacePart",
+ "SynchronousInitialization",
+ "SynchronousUpdating",
+ "Synonyms",
+ "Syntax",
+ "SyntaxForm",
+ "SyntaxInformation",
+ "SyntaxLength",
+ "SyntaxPacket",
+ "SyntaxQ",
+ "SynthesizeMissingValues",
+ "SystemCredential",
+ "SystemCredentialData",
+ "SystemCredentialKey",
+ "SystemCredentialKeys",
+ "SystemCredentialStoreObject",
+ "SystemDialogInput",
+ "SystemException",
+ "SystemGet",
+ "SystemHelpPath",
+ "SystemInformation",
+ "SystemInformationData",
+ "SystemInstall",
+ "SystemModel",
+ "SystemModeler",
+ "SystemModelExamples",
+ "SystemModelLinearize",
+ "SystemModelMeasurements",
+ "SystemModelParametricSimulate",
+ "SystemModelPlot",
+ "SystemModelProgressReporting",
+ "SystemModelReliability",
+ "SystemModels",
+ "SystemModelSimulate",
+ "SystemModelSimulateSensitivity",
+ "SystemModelSimulationData",
+ "SystemOpen",
+ "SystemOptions",
+ "SystemProcessData",
+ "SystemProcesses",
+ "SystemsConnectionsModel",
+ "SystemsModelControllerData",
+ "SystemsModelDelay",
+ "SystemsModelDelayApproximate",
+ "SystemsModelDelete",
+ "SystemsModelDimensions",
+ "SystemsModelExtract",
+ "SystemsModelFeedbackConnect",
+ "SystemsModelLabels",
+ "SystemsModelLinearity",
+ "SystemsModelMerge",
+ "SystemsModelOrder",
+ "SystemsModelParallelConnect",
+ "SystemsModelSeriesConnect",
+ "SystemsModelStateFeedbackConnect",
+ "SystemsModelVectorRelativeOrders",
+ "SystemStub",
+ "SystemTest",
+ "Tab",
+ "TabFilling",
+ "Table",
+ "TableAlignments",
+ "TableDepth",
+ "TableDirections",
+ "TableForm",
+ "TableHeadings",
+ "TableSpacing",
+ "TableView",
+ "TableViewBox",
+ "TableViewBoxAlignment",
+ "TableViewBoxBackground",
+ "TableViewBoxHeaders",
+ "TableViewBoxItemSize",
+ "TableViewBoxItemStyle",
+ "TableViewBoxOptions",
+ "TabSpacings",
+ "TabView",
+ "TabViewBox",
+ "TabViewBoxOptions",
+ "TagBox",
+ "TagBoxNote",
+ "TagBoxOptions",
+ "TaggingRules",
+ "TagSet",
+ "TagSetDelayed",
+ "TagStyle",
+ "TagUnset",
+ "Take",
+ "TakeDrop",
+ "TakeLargest",
+ "TakeLargestBy",
+ "TakeList",
+ "TakeSmallest",
+ "TakeSmallestBy",
+ "TakeWhile",
+ "Tally",
+ "Tan",
+ "Tanh",
+ "TargetDevice",
+ "TargetFunctions",
+ "TargetSystem",
+ "TargetUnits",
+ "TaskAbort",
+ "TaskExecute",
+ "TaskObject",
+ "TaskRemove",
+ "TaskResume",
+ "Tasks",
+ "TaskSuspend",
+ "TaskWait",
+ "TautologyQ",
+ "TelegraphProcess",
+ "TemplateApply",
+ "TemplateArgBox",
+ "TemplateBox",
+ "TemplateBoxOptions",
+ "TemplateEvaluate",
+ "TemplateExpression",
+ "TemplateIf",
+ "TemplateObject",
+ "TemplateSequence",
+ "TemplateSlot",
+ "TemplateSlotSequence",
+ "TemplateUnevaluated",
+ "TemplateVerbatim",
+ "TemplateWith",
+ "TemporalData",
+ "TemporalRegularity",
+ "Temporary",
+ "TemporaryVariable",
+ "TensorContract",
+ "TensorDimensions",
+ "TensorExpand",
+ "TensorProduct",
+ "TensorQ",
+ "TensorRank",
+ "TensorReduce",
+ "TensorSymmetry",
+ "TensorTranspose",
+ "TensorWedge",
+ "TerminatedEvaluation",
+ "TernaryListPlot",
+ "TernaryPlotCorners",
+ "TestID",
+ "TestReport",
+ "TestReportObject",
+ "TestResultObject",
+ "Tetrahedron",
+ "TetrahedronBox",
+ "TetrahedronBoxOptions",
+ "TeXForm",
+ "TeXSave",
+ "Text",
+ "Text3DBox",
+ "Text3DBoxOptions",
+ "TextAlignment",
+ "TextBand",
+ "TextBoundingBox",
+ "TextBox",
+ "TextCases",
+ "TextCell",
+ "TextClipboardType",
+ "TextContents",
+ "TextData",
+ "TextElement",
+ "TextForm",
+ "TextGrid",
+ "TextJustification",
+ "TextLine",
+ "TextPacket",
+ "TextParagraph",
+ "TextPosition",
+ "TextRecognize",
+ "TextSearch",
+ "TextSearchReport",
+ "TextSentences",
+ "TextString",
+ "TextStructure",
+ "TextStyle",
+ "TextTranslation",
+ "Texture",
+ "TextureCoordinateFunction",
+ "TextureCoordinateScaling",
+ "TextWords",
+ "Therefore",
+ "ThermodynamicData",
+ "ThermometerGauge",
+ "Thick",
+ "Thickness",
+ "Thin",
+ "Thinning",
+ "ThisLink",
+ "ThomasPointProcess",
+ "ThompsonGroupTh",
+ "Thread",
+ "Threaded",
+ "ThreadingLayer",
+ "ThreeJSymbol",
+ "Threshold",
+ "Through",
+ "Throw",
+ "ThueMorse",
+ "Thumbnail",
+ "Thursday",
+ "TickDirection",
+ "TickLabelOrientation",
+ "TickLabelPositioning",
+ "TickLabels",
+ "TickLengths",
+ "TickPositions",
+ "Ticks",
+ "TicksStyle",
+ "TideData",
+ "Tilde",
+ "TildeEqual",
+ "TildeFullEqual",
+ "TildeTilde",
+ "TimeConstrained",
+ "TimeConstraint",
+ "TimeDirection",
+ "TimeFormat",
+ "TimeGoal",
+ "TimelinePlot",
+ "TimeObject",
+ "TimeObjectQ",
+ "TimeRemaining",
+ "Times",
+ "TimesBy",
+ "TimeSeries",
+ "TimeSeriesAggregate",
+ "TimeSeriesForecast",
+ "TimeSeriesInsert",
+ "TimeSeriesInvertibility",
+ "TimeSeriesMap",
+ "TimeSeriesMapThread",
+ "TimeSeriesModel",
+ "TimeSeriesModelFit",
+ "TimeSeriesResample",
+ "TimeSeriesRescale",
+ "TimeSeriesShift",
+ "TimeSeriesThread",
+ "TimeSeriesWindow",
+ "TimeSystem",
+ "TimeSystemConvert",
+ "TimeUsed",
+ "TimeValue",
+ "TimeWarpingCorrespondence",
+ "TimeWarpingDistance",
+ "TimeZone",
+ "TimeZoneConvert",
+ "TimeZoneOffset",
+ "Timing",
+ "Tiny",
+ "TitleGrouping",
+ "TitsGroupT",
+ "ToBoxes",
+ "ToCharacterCode",
+ "ToColor",
+ "ToContinuousTimeModel",
+ "ToDate",
+ "Today",
+ "ToDiscreteTimeModel",
+ "ToEntity",
+ "ToeplitzMatrix",
+ "ToExpression",
+ "ToFileName",
+ "Together",
+ "Toggle",
+ "ToggleFalse",
+ "Toggler",
+ "TogglerBar",
+ "TogglerBox",
+ "TogglerBoxOptions",
+ "ToHeldExpression",
+ "ToInvertibleTimeSeries",
+ "TokenWords",
+ "Tolerance",
+ "ToLowerCase",
+ "Tomorrow",
+ "ToNumberField",
+ "TooBig",
+ "Tooltip",
+ "TooltipBox",
+ "TooltipBoxOptions",
+ "TooltipDelay",
+ "TooltipStyle",
+ "ToonShading",
+ "Top",
+ "TopHatTransform",
+ "ToPolarCoordinates",
+ "TopologicalSort",
+ "ToRadicals",
+ "ToRawPointer",
+ "ToRules",
+ "Torus",
+ "TorusGraph",
+ "ToSphericalCoordinates",
+ "ToString",
+ "Total",
+ "TotalHeight",
+ "TotalLayer",
+ "TotalVariationFilter",
+ "TotalWidth",
+ "TouchPosition",
+ "TouchscreenAutoZoom",
+ "TouchscreenControlPlacement",
+ "ToUpperCase",
+ "TourVideo",
+ "Tr",
+ "Trace",
+ "TraceAbove",
+ "TraceAction",
+ "TraceBackward",
+ "TraceDepth",
+ "TraceDialog",
+ "TraceForward",
+ "TraceInternal",
+ "TraceLevel",
+ "TraceOff",
+ "TraceOn",
+ "TraceOriginal",
+ "TracePrint",
+ "TraceScan",
+ "TrackCellChangeTimes",
+ "TrackedSymbols",
+ "TrackingFunction",
+ "TracyWidomDistribution",
+ "TradingChart",
+ "TraditionalForm",
+ "TraditionalFunctionNotation",
+ "TraditionalNotation",
+ "TraditionalOrder",
+ "TrainImageContentDetector",
+ "TrainingProgressCheckpointing",
+ "TrainingProgressFunction",
+ "TrainingProgressMeasurements",
+ "TrainingProgressReporting",
+ "TrainingStoppingCriterion",
+ "TrainingUpdateSchedule",
+ "TrainTextContentDetector",
+ "TransferFunctionCancel",
+ "TransferFunctionExpand",
+ "TransferFunctionFactor",
+ "TransferFunctionModel",
+ "TransferFunctionPoles",
+ "TransferFunctionTransform",
+ "TransferFunctionZeros",
+ "TransformationClass",
+ "TransformationFunction",
+ "TransformationFunctions",
+ "TransformationMatrix",
+ "TransformedDistribution",
+ "TransformedField",
+ "TransformedProcess",
+ "TransformedRegion",
+ "TransitionDirection",
+ "TransitionDuration",
+ "TransitionEffect",
+ "TransitiveClosureGraph",
+ "TransitiveReductionGraph",
+ "Translate",
+ "TranslationOptions",
+ "TranslationTransform",
+ "Transliterate",
+ "Transparent",
+ "TransparentColor",
+ "Transpose",
+ "TransposeLayer",
+ "TrapEnterKey",
+ "TrapSelection",
+ "TravelDirections",
+ "TravelDirectionsData",
+ "TravelDistance",
+ "TravelDistanceList",
+ "TravelMethod",
+ "TravelTime",
+ "Tree",
+ "TreeCases",
+ "TreeChildren",
+ "TreeCount",
+ "TreeData",
+ "TreeDelete",
+ "TreeDepth",
+ "TreeElementCoordinates",
+ "TreeElementLabel",
+ "TreeElementLabelFunction",
+ "TreeElementLabelStyle",
+ "TreeElementShape",
+ "TreeElementShapeFunction",
+ "TreeElementSize",
+ "TreeElementSizeFunction",
+ "TreeElementStyle",
+ "TreeElementStyleFunction",
+ "TreeExpression",
+ "TreeExtract",
+ "TreeFold",
+ "TreeForm",
+ "TreeGraph",
+ "TreeGraphQ",
+ "TreeInsert",
+ "TreeLayout",
+ "TreeLeafCount",
+ "TreeLeafQ",
+ "TreeLeaves",
+ "TreeLevel",
+ "TreeMap",
+ "TreeMapAt",
+ "TreeOutline",
+ "TreePlot",
+ "TreePosition",
+ "TreeQ",
+ "TreeReplacePart",
+ "TreeRules",
+ "TreeScan",
+ "TreeSelect",
+ "TreeSize",
+ "TreeTraversalOrder",
+ "TrendStyle",
+ "Triangle",
+ "TriangleCenter",
+ "TriangleConstruct",
+ "TriangleMeasurement",
+ "TriangleWave",
+ "TriangularDistribution",
+ "TriangulateMesh",
+ "Trig",
+ "TrigExpand",
+ "TrigFactor",
+ "TrigFactorList",
+ "Trigger",
+ "TrigReduce",
+ "TrigToExp",
+ "TrimmedMean",
+ "TrimmedVariance",
+ "TropicalStormData",
+ "True",
+ "TrueQ",
+ "TruncatedDistribution",
+ "TruncatedPolyhedron",
+ "TsallisQExponentialDistribution",
+ "TsallisQGaussianDistribution",
+ "TTest",
+ "Tube",
+ "TubeBezierCurveBox",
+ "TubeBezierCurveBoxOptions",
+ "TubeBox",
+ "TubeBoxOptions",
+ "TubeBSplineCurveBox",
+ "TubeBSplineCurveBoxOptions",
+ "Tuesday",
+ "TukeyLambdaDistribution",
+ "TukeyWindow",
+ "TunnelData",
+ "Tuples",
+ "TuranGraph",
+ "TuringMachine",
+ "TuttePolynomial",
+ "TwoWayRule",
+ "Typed",
+ "TypeDeclaration",
+ "TypeEvaluate",
+ "TypeHint",
+ "TypeOf",
+ "TypeSpecifier",
+ "UnateQ",
+ "Uncompress",
+ "UnconstrainedParameters",
+ "Undefined",
+ "UnderBar",
+ "Underflow",
+ "Underlined",
+ "Underoverscript",
+ "UnderoverscriptBox",
+ "UnderoverscriptBoxOptions",
+ "Underscript",
+ "UnderscriptBox",
+ "UnderscriptBoxOptions",
+ "UnderseaFeatureData",
+ "UndirectedEdge",
+ "UndirectedGraph",
+ "UndirectedGraphQ",
+ "UndoOptions",
+ "UndoTrackedVariables",
+ "Unequal",
+ "UnequalTo",
+ "Unevaluated",
+ "UniformDistribution",
+ "UniformGraphDistribution",
+ "UniformPolyhedron",
+ "UniformSumDistribution",
+ "Uninstall",
+ "Union",
+ "UnionedEntityClass",
+ "UnionPlus",
+ "Unique",
+ "UniqueElements",
+ "UnitaryMatrixQ",
+ "UnitBox",
+ "UnitConvert",
+ "UnitDimensions",
+ "Unitize",
+ "UnitRootTest",
+ "UnitSimplify",
+ "UnitStep",
+ "UnitSystem",
+ "UnitTriangle",
+ "UnitVector",
+ "UnitVectorLayer",
+ "UnityDimensions",
+ "UniverseModelData",
+ "UniversityData",
+ "UnixTime",
+ "UnlabeledTree",
+ "UnmanageObject",
+ "Unprotect",
+ "UnregisterExternalEvaluator",
+ "UnsameQ",
+ "UnsavedVariables",
+ "Unset",
+ "UnsetShared",
+ "Until",
+ "UntrackedVariables",
+ "Up",
+ "UpArrow",
+ "UpArrowBar",
+ "UpArrowDownArrow",
+ "Update",
+ "UpdateDynamicObjects",
+ "UpdateDynamicObjectsSynchronous",
+ "UpdateInterval",
+ "UpdatePacletSites",
+ "UpdateSearchIndex",
+ "UpDownArrow",
+ "UpEquilibrium",
+ "UpperCaseQ",
+ "UpperLeftArrow",
+ "UpperRightArrow",
+ "UpperTriangularize",
+ "UpperTriangularMatrix",
+ "UpperTriangularMatrixQ",
+ "Upsample",
+ "UpSet",
+ "UpSetDelayed",
+ "UpTee",
+ "UpTeeArrow",
+ "UpTo",
+ "UpValues",
+ "URL",
+ "URLBuild",
+ "URLDecode",
+ "URLDispatcher",
+ "URLDownload",
+ "URLDownloadSubmit",
+ "URLEncode",
+ "URLExecute",
+ "URLExpand",
+ "URLFetch",
+ "URLFetchAsynchronous",
+ "URLParse",
+ "URLQueryDecode",
+ "URLQueryEncode",
+ "URLRead",
+ "URLResponseTime",
+ "URLSave",
+ "URLSaveAsynchronous",
+ "URLShorten",
+ "URLSubmit",
+ "UseEmbeddedLibrary",
+ "UseGraphicsRange",
+ "UserDefinedWavelet",
+ "Using",
+ "UsingFrontEnd",
+ "UtilityFunction",
+ "V2Get",
+ "ValenceErrorHandling",
+ "ValenceFilling",
+ "ValidationLength",
+ "ValidationSet",
+ "ValueBox",
+ "ValueBoxOptions",
+ "ValueDimensions",
+ "ValueForm",
+ "ValuePreprocessingFunction",
+ "ValueQ",
+ "Values",
+ "ValuesData",
+ "VandermondeMatrix",
+ "Variables",
+ "Variance",
+ "VarianceEquivalenceTest",
+ "VarianceEstimatorFunction",
+ "VarianceGammaDistribution",
+ "VarianceGammaPointProcess",
+ "VarianceTest",
+ "VariogramFunction",
+ "VariogramModel",
+ "VectorAngle",
+ "VectorAround",
+ "VectorAspectRatio",
+ "VectorColorFunction",
+ "VectorColorFunctionScaling",
+ "VectorDensityPlot",
+ "VectorDisplacementPlot",
+ "VectorDisplacementPlot3D",
+ "VectorGlyphData",
+ "VectorGreater",
+ "VectorGreaterEqual",
+ "VectorLess",
+ "VectorLessEqual",
+ "VectorMarkers",
+ "VectorPlot",
+ "VectorPlot3D",
+ "VectorPoints",
+ "VectorQ",
+ "VectorRange",
+ "Vectors",
+ "VectorScale",
+ "VectorScaling",
+ "VectorSizes",
+ "VectorStyle",
+ "Vee",
+ "Verbatim",
+ "Verbose",
+ "VerificationTest",
+ "VerifyConvergence",
+ "VerifyDerivedKey",
+ "VerifyDigitalSignature",
+ "VerifyFileSignature",
+ "VerifyInterpretation",
+ "VerifySecurityCertificates",
+ "VerifySolutions",
+ "VerifyTestAssumptions",
+ "VersionedPreferences",
+ "VertexAdd",
+ "VertexCapacity",
+ "VertexChromaticNumber",
+ "VertexColors",
+ "VertexComponent",
+ "VertexConnectivity",
+ "VertexContract",
+ "VertexCoordinateRules",
+ "VertexCoordinates",
+ "VertexCorrelationSimilarity",
+ "VertexCosineSimilarity",
+ "VertexCount",
+ "VertexCoverQ",
+ "VertexDataCoordinates",
+ "VertexDegree",
+ "VertexDelete",
+ "VertexDiceSimilarity",
+ "VertexEccentricity",
+ "VertexInComponent",
+ "VertexInComponentGraph",
+ "VertexInDegree",
+ "VertexIndex",
+ "VertexJaccardSimilarity",
+ "VertexLabeling",
+ "VertexLabels",
+ "VertexLabelStyle",
+ "VertexList",
+ "VertexNormals",
+ "VertexOutComponent",
+ "VertexOutComponentGraph",
+ "VertexOutDegree",
+ "VertexQ",
+ "VertexRenderingFunction",
+ "VertexReplace",
+ "VertexShape",
+ "VertexShapeFunction",
+ "VertexSize",
+ "VertexStyle",
+ "VertexTextureCoordinates",
+ "VertexTransitiveGraphQ",
+ "VertexWeight",
+ "VertexWeightedGraphQ",
+ "Vertical",
+ "VerticalBar",
+ "VerticalForm",
+ "VerticalGauge",
+ "VerticalSeparator",
+ "VerticalSlider",
+ "VerticalTilde",
+ "Video",
+ "VideoCapture",
+ "VideoCombine",
+ "VideoDelete",
+ "VideoEncoding",
+ "VideoExtractFrames",
+ "VideoFrameList",
+ "VideoFrameMap",
+ "VideoGenerator",
+ "VideoInsert",
+ "VideoIntervals",
+ "VideoJoin",
+ "VideoMap",
+ "VideoMapList",
+ "VideoMapTimeSeries",
+ "VideoPadding",
+ "VideoPause",
+ "VideoPlay",
+ "VideoQ",
+ "VideoRecord",
+ "VideoReplace",
+ "VideoScreenCapture",
+ "VideoSplit",
+ "VideoStop",
+ "VideoStream",
+ "VideoStreams",
+ "VideoTimeStretch",
+ "VideoTrackSelection",
+ "VideoTranscode",
+ "VideoTransparency",
+ "VideoTrim",
+ "ViewAngle",
+ "ViewCenter",
+ "ViewMatrix",
+ "ViewPoint",
+ "ViewPointSelectorSettings",
+ "ViewPort",
+ "ViewProjection",
+ "ViewRange",
+ "ViewVector",
+ "ViewVertical",
+ "VirtualGroupData",
+ "Visible",
+ "VisibleCell",
+ "VoiceStyleData",
+ "VoigtDistribution",
+ "VolcanoData",
+ "Volume",
+ "VonMisesDistribution",
+ "VoronoiMesh",
+ "WaitAll",
+ "WaitAsynchronousTask",
+ "WaitNext",
+ "WaitUntil",
+ "WakebyDistribution",
+ "WalleniusHypergeometricDistribution",
+ "WaringYuleDistribution",
+ "WarpingCorrespondence",
+ "WarpingDistance",
+ "WatershedComponents",
+ "WatsonUSquareTest",
+ "WattsStrogatzGraphDistribution",
+ "WaveletBestBasis",
+ "WaveletFilterCoefficients",
+ "WaveletImagePlot",
+ "WaveletListPlot",
+ "WaveletMapIndexed",
+ "WaveletMatrixPlot",
+ "WaveletPhi",
+ "WaveletPsi",
+ "WaveletScale",
+ "WaveletScalogram",
+ "WaveletThreshold",
+ "WavePDEComponent",
+ "WeaklyConnectedComponents",
+ "WeaklyConnectedGraphComponents",
+ "WeaklyConnectedGraphQ",
+ "WeakStationarity",
+ "WeatherData",
+ "WeatherForecastData",
+ "WebAudioSearch",
+ "WebColumn",
+ "WebElementObject",
+ "WeberE",
+ "WebExecute",
+ "WebImage",
+ "WebImageSearch",
+ "WebItem",
+ "WebPageMetaInformation",
+ "WebRow",
+ "WebSearch",
+ "WebSessionObject",
+ "WebSessions",
+ "WebWindowObject",
+ "Wedge",
+ "Wednesday",
+ "WeibullDistribution",
+ "WeierstrassE1",
+ "WeierstrassE2",
+ "WeierstrassE3",
+ "WeierstrassEta1",
+ "WeierstrassEta2",
+ "WeierstrassEta3",
+ "WeierstrassHalfPeriods",
+ "WeierstrassHalfPeriodW1",
+ "WeierstrassHalfPeriodW2",
+ "WeierstrassHalfPeriodW3",
+ "WeierstrassInvariantG2",
+ "WeierstrassInvariantG3",
+ "WeierstrassInvariants",
+ "WeierstrassP",
+ "WeierstrassPPrime",
+ "WeierstrassSigma",
+ "WeierstrassZeta",
+ "WeightedAdjacencyGraph",
+ "WeightedAdjacencyMatrix",
+ "WeightedData",
+ "WeightedGraphQ",
+ "Weights",
+ "WelchWindow",
+ "WheelGraph",
+ "WhenEvent",
+ "Which",
+ "While",
+ "White",
+ "WhiteNoiseProcess",
+ "WhitePoint",
+ "Whitespace",
+ "WhitespaceCharacter",
+ "WhittakerM",
+ "WhittakerW",
+ "WholeCellGroupOpener",
+ "WienerFilter",
+ "WienerProcess",
+ "WignerD",
+ "WignerSemicircleDistribution",
+ "WikidataData",
+ "WikidataSearch",
+ "WikipediaData",
+ "WikipediaSearch",
+ "WilksW",
+ "WilksWTest",
+ "WindDirectionData",
+ "WindingCount",
+ "WindingPolygon",
+ "WindowClickSelect",
+ "WindowElements",
+ "WindowFloating",
+ "WindowFrame",
+ "WindowFrameElements",
+ "WindowMargins",
+ "WindowMovable",
+ "WindowOpacity",
+ "WindowPersistentStyles",
+ "WindowSelected",
+ "WindowSize",
+ "WindowStatusArea",
+ "WindowTitle",
+ "WindowToolbars",
+ "WindowWidth",
+ "WindSpeedData",
+ "WindVectorData",
+ "WinsorizedMean",
+ "WinsorizedVariance",
+ "WishartMatrixDistribution",
+ "With",
+ "WithCleanup",
+ "WithLock",
+ "WolframAlpha",
+ "WolframAlphaDate",
+ "WolframAlphaQuantity",
+ "WolframAlphaResult",
+ "WolframCloudSettings",
+ "WolframLanguageData",
+ "Word",
+ "WordBoundary",
+ "WordCharacter",
+ "WordCloud",
+ "WordCount",
+ "WordCounts",
+ "WordData",
+ "WordDefinition",
+ "WordFrequency",
+ "WordFrequencyData",
+ "WordList",
+ "WordOrientation",
+ "WordSearch",
+ "WordSelectionFunction",
+ "WordSeparators",
+ "WordSpacings",
+ "WordStem",
+ "WordTranslation",
+ "WorkingPrecision",
+ "WrapAround",
+ "Write",
+ "WriteLine",
+ "WriteString",
+ "Wronskian",
+ "XMLElement",
+ "XMLObject",
+ "XMLTemplate",
+ "Xnor",
+ "Xor",
+ "XYZColor",
+ "Yellow",
+ "Yesterday",
+ "YuleDissimilarity",
+ "ZernikeR",
+ "ZeroSymmetric",
+ "ZeroTest",
+ "ZeroWidthTimes",
+ "Zeta",
+ "ZetaZero",
+ "ZIPCodeData",
+ "ZipfDistribution",
+ "ZoomCenter",
+ "ZoomFactor",
+ "ZTest",
+ "ZTransform",
+ "$Aborted",
+ "$ActivationGroupID",
+ "$ActivationKey",
+ "$ActivationUserRegistered",
+ "$AddOnsDirectory",
+ "$AllowDataUpdates",
+ "$AllowExternalChannelFunctions",
+ "$AllowInternet",
+ "$AssertFunction",
+ "$Assumptions",
+ "$AsynchronousTask",
+ "$AudioDecoders",
+ "$AudioEncoders",
+ "$AudioInputDevices",
+ "$AudioOutputDevices",
+ "$BaseDirectory",
+ "$BasePacletsDirectory",
+ "$BatchInput",
+ "$BatchOutput",
+ "$BlockchainBase",
+ "$BoxForms",
+ "$ByteOrdering",
+ "$CacheBaseDirectory",
+ "$Canceled",
+ "$ChannelBase",
+ "$CharacterEncoding",
+ "$CharacterEncodings",
+ "$CloudAccountName",
+ "$CloudBase",
+ "$CloudConnected",
+ "$CloudConnection",
+ "$CloudCreditsAvailable",
+ "$CloudEvaluation",
+ "$CloudExpressionBase",
+ "$CloudObjectNameFormat",
+ "$CloudObjectURLType",
+ "$CloudRootDirectory",
+ "$CloudSymbolBase",
+ "$CloudUserID",
+ "$CloudUserUUID",
+ "$CloudVersion",
+ "$CloudVersionNumber",
+ "$CloudWolframEngineVersionNumber",
+ "$CommandLine",
+ "$CompilationTarget",
+ "$CompilerEnvironment",
+ "$ConditionHold",
+ "$ConfiguredKernels",
+ "$Context",
+ "$ContextAliases",
+ "$ContextPath",
+ "$ControlActiveSetting",
+ "$Cookies",
+ "$CookieStore",
+ "$CreationDate",
+ "$CryptographicEllipticCurveNames",
+ "$CurrentLink",
+ "$CurrentTask",
+ "$CurrentWebSession",
+ "$DataStructures",
+ "$DateStringFormat",
+ "$DefaultAudioInputDevice",
+ "$DefaultAudioOutputDevice",
+ "$DefaultFont",
+ "$DefaultFrontEnd",
+ "$DefaultImagingDevice",
+ "$DefaultKernels",
+ "$DefaultLocalBase",
+ "$DefaultLocalKernel",
+ "$DefaultMailbox",
+ "$DefaultNetworkInterface",
+ "$DefaultPath",
+ "$DefaultProxyRules",
+ "$DefaultRemoteBatchSubmissionEnvironment",
+ "$DefaultRemoteKernel",
+ "$DefaultSystemCredentialStore",
+ "$Display",
+ "$DisplayFunction",
+ "$DistributedContexts",
+ "$DynamicEvaluation",
+ "$Echo",
+ "$EmbedCodeEnvironments",
+ "$EmbeddableServices",
+ "$EntityStores",
+ "$Epilog",
+ "$EvaluationCloudBase",
+ "$EvaluationCloudObject",
+ "$EvaluationEnvironment",
+ "$ExportFormats",
+ "$ExternalIdentifierTypes",
+ "$ExternalStorageBase",
+ "$Failed",
+ "$FinancialDataSource",
+ "$FontFamilies",
+ "$FormatType",
+ "$FrontEnd",
+ "$FrontEndSession",
+ "$GeneratedAssetLocation",
+ "$GeoEntityTypes",
+ "$GeoLocation",
+ "$GeoLocationCity",
+ "$GeoLocationCountry",
+ "$GeoLocationPrecision",
+ "$GeoLocationSource",
+ "$HistoryLength",
+ "$HomeDirectory",
+ "$HTMLExportRules",
+ "$HTTPCookies",
+ "$HTTPRequest",
+ "$IgnoreEOF",
+ "$ImageFormattingWidth",
+ "$ImageResolution",
+ "$ImagingDevice",
+ "$ImagingDevices",
+ "$ImportFormats",
+ "$IncomingMailSettings",
+ "$InitialDirectory",
+ "$Initialization",
+ "$InitializationContexts",
+ "$Input",
+ "$InputFileName",
+ "$InputStreamMethods",
+ "$Inspector",
+ "$InstallationDate",
+ "$InstallationDirectory",
+ "$InterfaceEnvironment",
+ "$InterpreterTypes",
+ "$IterationLimit",
+ "$KernelCount",
+ "$KernelID",
+ "$Language",
+ "$LaunchDirectory",
+ "$LibraryPath",
+ "$LicenseExpirationDate",
+ "$LicenseID",
+ "$LicenseProcesses",
+ "$LicenseServer",
+ "$LicenseSubprocesses",
+ "$LicenseType",
+ "$Line",
+ "$Linked",
+ "$LinkSupported",
+ "$LoadedFiles",
+ "$LocalBase",
+ "$LocalSymbolBase",
+ "$MachineAddresses",
+ "$MachineDomain",
+ "$MachineDomains",
+ "$MachineEpsilon",
+ "$MachineID",
+ "$MachineName",
+ "$MachinePrecision",
+ "$MachineType",
+ "$MaxDisplayedChildren",
+ "$MaxExtraPrecision",
+ "$MaxLicenseProcesses",
+ "$MaxLicenseSubprocesses",
+ "$MaxMachineNumber",
+ "$MaxNumber",
+ "$MaxPiecewiseCases",
+ "$MaxPrecision",
+ "$MaxRootDegree",
+ "$MessageGroups",
+ "$MessageList",
+ "$MessagePrePrint",
+ "$Messages",
+ "$MinMachineNumber",
+ "$MinNumber",
+ "$MinorReleaseNumber",
+ "$MinPrecision",
+ "$MobilePhone",
+ "$ModuleNumber",
+ "$NetworkConnected",
+ "$NetworkInterfaces",
+ "$NetworkLicense",
+ "$NewMessage",
+ "$NewSymbol",
+ "$NotebookInlineStorageLimit",
+ "$Notebooks",
+ "$NoValue",
+ "$NumberMarks",
+ "$Off",
+ "$OperatingSystem",
+ "$Output",
+ "$OutputForms",
+ "$OutputSizeLimit",
+ "$OutputStreamMethods",
+ "$Packages",
+ "$ParentLink",
+ "$ParentProcessID",
+ "$PasswordFile",
+ "$PatchLevelID",
+ "$Path",
+ "$PathnameSeparator",
+ "$PerformanceGoal",
+ "$Permissions",
+ "$PermissionsGroupBase",
+ "$PersistenceBase",
+ "$PersistencePath",
+ "$PipeSupported",
+ "$PlotTheme",
+ "$Post",
+ "$Pre",
+ "$PreferencesDirectory",
+ "$PreInitialization",
+ "$PrePrint",
+ "$PreRead",
+ "$PrintForms",
+ "$PrintLiteral",
+ "$Printout3DPreviewer",
+ "$ProcessID",
+ "$ProcessorCount",
+ "$ProcessorType",
+ "$ProductInformation",
+ "$ProgramName",
+ "$ProgressReporting",
+ "$PublisherID",
+ "$RandomGeneratorState",
+ "$RandomState",
+ "$RecursionLimit",
+ "$RegisteredDeviceClasses",
+ "$RegisteredUserName",
+ "$ReleaseNumber",
+ "$RequesterAddress",
+ "$RequesterCloudUserID",
+ "$RequesterCloudUserUUID",
+ "$RequesterWolframID",
+ "$RequesterWolframUUID",
+ "$ResourceSystemBase",
+ "$ResourceSystemPath",
+ "$RootDirectory",
+ "$ScheduledTask",
+ "$ScriptCommandLine",
+ "$ScriptInputString",
+ "$SecuredAuthenticationKeyTokens",
+ "$ServiceCreditsAvailable",
+ "$Services",
+ "$SessionID",
+ "$SetParentLink",
+ "$SharedFunctions",
+ "$SharedVariables",
+ "$SoundDisplay",
+ "$SoundDisplayFunction",
+ "$SourceLink",
+ "$SSHAuthentication",
+ "$SubtitleDecoders",
+ "$SubtitleEncoders",
+ "$SummaryBoxDataSizeLimit",
+ "$SuppressInputFormHeads",
+ "$SynchronousEvaluation",
+ "$SyntaxHandler",
+ "$System",
+ "$SystemCharacterEncoding",
+ "$SystemCredentialStore",
+ "$SystemID",
+ "$SystemMemory",
+ "$SystemShell",
+ "$SystemTimeZone",
+ "$SystemWordLength",
+ "$TargetSystems",
+ "$TemplatePath",
+ "$TemporaryDirectory",
+ "$TemporaryPrefix",
+ "$TestFileName",
+ "$TextStyle",
+ "$TimedOut",
+ "$TimeUnit",
+ "$TimeZone",
+ "$TimeZoneEntity",
+ "$TopDirectory",
+ "$TraceOff",
+ "$TraceOn",
+ "$TracePattern",
+ "$TracePostAction",
+ "$TracePreAction",
+ "$UnitSystem",
+ "$Urgent",
+ "$UserAddOnsDirectory",
+ "$UserAgentLanguages",
+ "$UserAgentMachine",
+ "$UserAgentName",
+ "$UserAgentOperatingSystem",
+ "$UserAgentString",
+ "$UserAgentVersion",
+ "$UserBaseDirectory",
+ "$UserBasePacletsDirectory",
+ "$UserDocumentsDirectory",
+ "$Username",
+ "$UserName",
+ "$UserURLBase",
+ "$Version",
+ "$VersionNumber",
+ "$VideoDecoders",
+ "$VideoEncoders",
+ "$VoiceStyles",
+ "$WolframDocumentsDirectory",
+ "$WolframID",
+ "$WolframUUID"
+ ];
+ function mathematica(hljs) {
+ const regex = hljs.regex;
+ const BASE_RE = /([2-9]|[1-2]\d|[3][0-5])\^\^/;
+ const BASE_DIGITS_RE = /(\w*\.\w+|\w+\.\w*|\w+)/;
+ const NUMBER_RE = /(\d*\.\d+|\d+\.\d*|\d+)/;
+ const BASE_NUMBER_RE = regex.either(regex.concat(BASE_RE, BASE_DIGITS_RE), NUMBER_RE);
+ const ACCURACY_RE = /``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/;
+ const PRECISION_RE = /`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/;
+ const APPROXIMATE_NUMBER_RE = regex.either(ACCURACY_RE, PRECISION_RE);
+ const SCIENTIFIC_NOTATION_RE = /\*\^[+-]?\d+/;
+ const MATHEMATICA_NUMBER_RE = regex.concat(
+ BASE_NUMBER_RE,
+ regex.optional(APPROXIMATE_NUMBER_RE),
+ regex.optional(SCIENTIFIC_NOTATION_RE)
+ );
+ const NUMBERS = {
+ className: "number",
+ relevance: 0,
+ begin: MATHEMATICA_NUMBER_RE
+ };
+ const SYMBOL_RE = /[a-zA-Z$][a-zA-Z0-9$]*/;
+ const SYSTEM_SYMBOLS_SET = new Set(SYSTEM_SYMBOLS);
+ const SYMBOLS = { variants: [
+ {
+ className: "builtin-symbol",
+ begin: SYMBOL_RE,
+ // for performance out of fear of regex.either(...Mathematica.SYSTEM_SYMBOLS)
+ "on:begin": (match, response) => {
+ if (!SYSTEM_SYMBOLS_SET.has(match[0])) response.ignoreMatch();
+ }
+ },
+ {
+ className: "symbol",
+ relevance: 0,
+ begin: SYMBOL_RE
+ }
+ ] };
+ const NAMED_CHARACTER = {
+ className: "named-character",
+ begin: /\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/
+ };
+ const OPERATORS = {
+ className: "operator",
+ relevance: 0,
+ begin: /[+\-*/,;.:@~=><&|_`'^?!%]+/
+ };
+ const PATTERNS = {
+ className: "pattern",
+ relevance: 0,
+ begin: /([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/
+ };
+ const SLOTS = {
+ className: "slot",
+ relevance: 0,
+ begin: /#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/
+ };
+ const BRACES = {
+ className: "brace",
+ relevance: 0,
+ begin: /[[\](){}]/
+ };
+ const MESSAGES = {
+ className: "message-name",
+ relevance: 0,
+ begin: regex.concat("::", SYMBOL_RE)
+ };
+ return {
+ name: "Mathematica",
+ aliases: [
+ "mma",
+ "wl"
+ ],
+ classNameAliases: {
+ brace: "punctuation",
+ pattern: "type",
+ slot: "type",
+ symbol: "variable",
+ "named-character": "variable",
+ "builtin-symbol": "built_in",
+ "message-name": "string"
+ },
+ contains: [
+ hljs.COMMENT(/\(\*/, /\*\)/, { contains: ["self"] }),
+ PATTERNS,
+ SLOTS,
+ MESSAGES,
+ SYMBOLS,
+ NAMED_CHARACTER,
+ hljs.QUOTE_STRING_MODE,
+ NUMBERS,
+ OPERATORS,
+ BRACES
+ ]
+ };
+ }
+ module.exports = mathematica;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/matlab.js
+ var require_matlab = __commonJS({
+ "node_modules/highlight.js/lib/languages/matlab.js"(exports, module) {
+ function matlab(hljs) {
+ const TRANSPOSE_RE = "('|\\.')+";
+ const TRANSPOSE = {
+ relevance: 0,
+ contains: [{ begin: TRANSPOSE_RE }]
+ };
+ return {
+ name: "Matlab",
+ keywords: {
+ keyword: "arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",
+ built_in: "sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "
+ },
+ illegal: '(//|"|#|/\\*|\\s+/\\w+)',
+ contains: [
+ {
+ className: "function",
+ beginKeywords: "function",
+ end: "$",
+ contains: [
+ hljs.UNDERSCORE_TITLE_MODE,
+ {
+ className: "params",
+ variants: [
+ {
+ begin: "\\(",
+ end: "\\)"
+ },
+ {
+ begin: "\\[",
+ end: "\\]"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ className: "built_in",
+ begin: /true|false/,
+ relevance: 0,
+ starts: TRANSPOSE
+ },
+ {
+ begin: "[a-zA-Z][a-zA-Z_0-9]*" + TRANSPOSE_RE,
+ relevance: 0
+ },
+ {
+ className: "number",
+ begin: hljs.C_NUMBER_RE,
+ relevance: 0,
+ starts: TRANSPOSE
+ },
+ {
+ className: "string",
+ begin: "'",
+ end: "'",
+ contains: [{ begin: "''" }]
+ },
+ {
+ begin: /\]|\}|\)/,
+ relevance: 0,
+ starts: TRANSPOSE
+ },
+ {
+ className: "string",
+ begin: '"',
+ end: '"',
+ contains: [{ begin: '""' }],
+ starts: TRANSPOSE
+ },
+ hljs.COMMENT("^\\s*%\\{\\s*$", "^\\s*%\\}\\s*$"),
+ hljs.COMMENT("%", "$")
+ ]
+ };
+ }
+ module.exports = matlab;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/maxima.js
+ var require_maxima = __commonJS({
+ "node_modules/highlight.js/lib/languages/maxima.js"(exports, module) {
+ function maxima(hljs) {
+ const KEYWORDS = "if then else elseif for thru do while unless step in and or not";
+ const LITERALS = "true false unknown inf minf ind und %e %i %pi %phi %gamma";
+ const BUILTIN_FUNCTIONS = " abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest";
+ const SYMBOLS = "_ __ %|0 %%|0";
+ return {
+ name: "Maxima",
+ keywords: {
+ $pattern: "[A-Za-z_%][0-9A-Za-z_%]*",
+ keyword: KEYWORDS,
+ literal: LITERALS,
+ built_in: BUILTIN_FUNCTIONS,
+ symbol: SYMBOLS
+ },
+ contains: [
+ {
+ className: "comment",
+ begin: "/\\*",
+ end: "\\*/",
+ contains: ["self"]
+ },
+ hljs.QUOTE_STRING_MODE,
+ {
+ className: "number",
+ relevance: 0,
+ variants: [
+ {
+ // float number w/ exponent
+ // hmm, I wonder if we ought to include other exponent markers?
+ begin: "\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"
+ },
+ {
+ // bigfloat number
+ begin: "\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",
+ relevance: 10
+ },
+ {
+ // float number w/out exponent
+ // Doesn't seem to recognize floats which start with '.'
+ begin: "\\b(\\.\\d+|\\d+\\.\\d+)\\b"
+ },
+ {
+ // integer in base up to 36
+ // Doesn't seem to recognize integers which end with '.'
+ begin: "\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"
+ }
+ ]
+ }
+ ],
+ illegal: /@/
+ };
+ }
+ module.exports = maxima;
+ }
+ });
+
+ // node_modules/highlight.js/lib/languages/mel.js
+ var require_mel = __commonJS({
+ "node_modules/highlight.js/lib/languages/mel.js"(exports, module) {
+ function mel(hljs) {
+ return {
+ name: "MEL",
+ keywords: "int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",
+ illegal: "</",
+ contains: [
+ hljs.C_NUMBER_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ {
+ className: "string",
+ begin: "`",
+