antosdk-apps/MonacoCore/bundle/vendors-node_modules_monaco-editor_esm_vs_basic-languages_razor_razor_js.bundle.js
2022-06-03 19:30:11 +02:00

22 lines
16 KiB
JavaScript

"use strict";
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunkmonanco_wpack"] = self["webpackChunkmonanco_wpack"] || []).push([["vendors-node_modules_monaco-editor_esm_vs_basic-languages_razor_razor_js"],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/razor/razor.js":
/*!**************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/razor/razor.js ***!
\**************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"conf\": () => (/* binding */ conf),\n/* harmony export */ \"language\": () => (/* binding */ language)\n/* harmony export */ });\n/* harmony import */ var _editor_editor_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../editor/editor.api.js */ \"./node_modules/monaco-editor/esm/vs/editor/editor.api.js\");\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __reExport = (target, module, copyDefault, desc) => {\n if (module && typeof module === \"object\" || typeof module === \"function\") {\n for (let key of __getOwnPropNames(module))\n if (!__hasOwnProp.call(target, key) && (copyDefault || key !== \"default\"))\n __defProp(target, key, { get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable });\n }\n return target;\n};\n\n// src/fillers/monaco-editor-core.ts\nvar monaco_editor_core_exports = {};\n__reExport(monaco_editor_core_exports, _editor_editor_api_js__WEBPACK_IMPORTED_MODULE_0__);\n\n\n// src/basic-languages/razor/razor.ts\nvar EMPTY_ELEMENTS = [\n \"area\",\n \"base\",\n \"br\",\n \"col\",\n \"embed\",\n \"hr\",\n \"img\",\n \"input\",\n \"keygen\",\n \"link\",\n \"menuitem\",\n \"meta\",\n \"param\",\n \"source\",\n \"track\",\n \"wbr\"\n];\nvar conf = {\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\$\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\s]+)/g,\n comments: {\n blockComment: [\"<!--\", \"-->\"]\n },\n brackets: [\n [\"<!--\", \"-->\"],\n [\"<\", \">\"],\n [\"{\", \"}\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" },\n { open: \"<\", close: \">\" }\n ],\n onEnterRules: [\n {\n beforeText: new RegExp(`<(?!(?:${EMPTY_ELEMENTS.join(\"|\")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`, \"i\"),\n afterText: /^<\\/(\\w[\\w\\d]*)\\s*>$/i,\n action: {\n indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent\n }\n },\n {\n beforeText: new RegExp(`<(?!(?:${EMPTY_ELEMENTS.join(\"|\")}))(\\\\w[\\\\w\\\\d]*)([^/>]*(?!/)>)[^<]*$`, \"i\"),\n action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }\n }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \"\",\n tokenizer: {\n root: [\n [/@@@@/],\n [/@[^@]/, { token: \"@rematch\", switchTo: \"@razorInSimpleState.root\" }],\n [/<!DOCTYPE/, \"metatag.html\", \"@doctype\"],\n [/<!--/, \"comment.html\", \"@comment\"],\n [/(<)([\\w\\-]+)(\\/>)/, [\"delimiter.html\", \"tag.html\", \"delimiter.html\"]],\n [/(<)(script)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@script\" }]],\n [/(<)(style)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@style\" }]],\n [/(<)([:\\w\\-]+)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@otherTag\" }]],\n [/(<\\/)([\\w\\-]+)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@otherTag\" }]],\n [/</, \"delimiter.html\"],\n [/[ \\t\\r\\n]+/],\n [/[^<@]+/]\n ],\n doctype: [\n [/@[^@]/, { token: \"@rematch\", switchTo: \"@razorInSimpleState.comment\" }],\n [/[^>]+/, \"metatag.content.html\"],\n [/>/, \"metatag.html\", \"@pop\"]\n ],\n comment: [\n [/@[^@]/, { token: \"@rematch\", switchTo: \"@razorInSimpleState.comment\" }],\n [/-->/, \"comment.html\", \"@pop\"],\n [/[^-]+/, \"comment.content.html\"],\n [/./, \"comment.content.html\"]\n ],\n otherTag: [\n [/@[^@]/, { token: \"@rematch\", switchTo: \"@razorInSimpleState.otherTag\" }],\n [/\\/?>/, \"delimiter.html\", \"@pop\"],\n [/\"([^\"]*)\"/, \"attribute.value\"],\n [/'([^']*)'/, \"attribute.value\"],\n [/[\\w\\-]+/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [/[ \\t\\r\\n]+/]\n ],\n script: [\n [/@[^@]/, { token: \"@rematch\", switchTo: \"@razorInSimpleState.script\" }],\n [/type/, \"attribute.name\", \"@scriptAfterType\"],\n [/\"([^\"]*)\"/, \"attribute.value\"],\n [/'([^']*)'/, \"attribute.value\"],\n [/[\\w\\-]+/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded.text/javascript\",\n nextEmbedded: \"text/javascript\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [\n /(<\\/)(script\\s*)(>)/,\n [\"delimiter.html\", \"tag.html\", { token: \"delimiter.html\", next: \"@pop\" }]\n ]\n ],\n scriptAfterType: [\n [\n /@[^@]/,\n {\n token: \"@rematch\",\n switchTo: \"@razorInSimpleState.scriptAfterType\"\n }\n ],\n [/=/, \"delimiter\", \"@scriptAfterTypeEquals\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded.text/javascript\",\n nextEmbedded: \"text/javascript\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n scriptAfterTypeEquals: [\n [\n /@[^@]/,\n {\n token: \"@rematch\",\n switchTo: \"@razorInSimpleState.scriptAfterTypeEquals\"\n }\n ],\n [\n /\"([^\"]*)\"/,\n {\n token: \"attribute.value\",\n switchTo: \"@scriptWithCustomType.$1\"\n }\n ],\n [\n /'([^']*)'/,\n {\n token: \"attribute.value\",\n switchTo: \"@scriptWithCustomType.$1\"\n }\n ],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded.text/javascript\",\n nextEmbedded: \"text/javascript\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n scriptWithCustomType: [\n [\n /@[^@]/,\n {\n token: \"@rematch\",\n switchTo: \"@razorInSimpleState.scriptWithCustomType.$S2\"\n }\n ],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded.$S2\",\n nextEmbedded: \"$S2\"\n }\n ],\n [/\"([^\"]*)\"/, \"attribute.value\"],\n [/'([^']*)'/, \"attribute.value\"],\n [/[\\w\\-]+/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n scriptEmbedded: [\n [\n /@[^@]/,\n {\n token: \"@rematch\",\n switchTo: \"@razorInEmbeddedState.scriptEmbedded.$S2\",\n nextEmbedded: \"@pop\"\n }\n ],\n [/<\\/script/, { token: \"@rematch\", next: \"@pop\", nextEmbedded: \"@pop\" }]\n ],\n style: [\n [/@[^@]/, { token: \"@rematch\", switchTo: \"@razorInSimpleState.style\" }],\n [/type/, \"attribute.name\", \"@styleAfterType\"],\n [/\"([^\"]*)\"/, \"attribute.value\"],\n [/'([^']*)'/, \"attribute.value\"],\n [/[\\w\\-]+/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded.text/css\",\n nextEmbedded: \"text/css\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [\n /(<\\/)(style\\s*)(>)/,\n [\"delimiter.html\", \"tag.html\", { token: \"delimiter.html\", next: \"@pop\" }]\n ]\n ],\n styleAfterType: [\n [\n /@[^@]/,\n {\n token: \"@rematch\",\n switchTo: \"@razorInSimpleState.styleAfterType\"\n }\n ],\n [/=/, \"delimiter\", \"@styleAfterTypeEquals\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded.text/css\",\n nextEmbedded: \"text/css\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n styleAfterTypeEquals: [\n [\n /@[^@]/,\n {\n token: \"@rematch\",\n switchTo: \"@razorInSimpleState.styleAfterTypeEquals\"\n }\n ],\n [\n /\"([^\"]*)\"/,\n {\n token: \"attribute.value\",\n switchTo: \"@styleWithCustomType.$1\"\n }\n ],\n [\n /'([^']*)'/,\n {\n token: \"attribute.value\",\n switchTo: \"@styleWithCustomType.$1\"\n }\n ],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded.text/css\",\n nextEmbedded: \"text/css\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n styleWithCustomType: [\n [\n /@[^@]/,\n {\n token: \"@rematch\",\n switchTo: \"@razorInSimpleState.styleWithCustomType.$S2\"\n }\n ],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded.$S2\",\n nextEmbedded: \"$S2\"\n }\n ],\n [/\"([^\"]*)\"/, \"attribute.value\"],\n [/'([^']*)'/, \"attribute.value\"],\n [/[\\w\\-]+/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n styleEmbedded: [\n [\n /@[^@]/,\n {\n token: \"@rematch\",\n switchTo: \"@razorInEmbeddedState.styleEmbedded.$S2\",\n nextEmbedded: \"@pop\"\n }\n ],\n [/<\\/style/, { token: \"@rematch\", next: \"@pop\", nextEmbedded: \"@pop\" }]\n ],\n razorInSimpleState: [\n [/@\\*/, \"comment.cs\", \"@razorBlockCommentTopLevel\"],\n [/@[{(]/, \"metatag.cs\", \"@razorRootTopLevel\"],\n [/(@)(\\s*[\\w]+)/, [\"metatag.cs\", { token: \"identifier.cs\", switchTo: \"@$S2.$S3\" }]],\n [/[})]/, { token: \"metatag.cs\", switchTo: \"@$S2.$S3\" }],\n [/\\*@/, { token: \"comment.cs\", switchTo: \"@$S2.$S3\" }]\n ],\n razorInEmbeddedState: [\n [/@\\*/, \"comment.cs\", \"@razorBlockCommentTopLevel\"],\n [/@[{(]/, \"metatag.cs\", \"@razorRootTopLevel\"],\n [\n /(@)(\\s*[\\w]+)/,\n [\n \"metatag.cs\",\n {\n token: \"identifier.cs\",\n switchTo: \"@$S2.$S3\",\n nextEmbedded: \"$S3\"\n }\n ]\n ],\n [\n /[})]/,\n {\n token: \"metatag.cs\",\n switchTo: \"@$S2.$S3\",\n nextEmbedded: \"$S3\"\n }\n ],\n [\n /\\*@/,\n {\n token: \"comment.cs\",\n switchTo: \"@$S2.$S3\",\n nextEmbedded: \"$S3\"\n }\n ]\n ],\n razorBlockCommentTopLevel: [\n [/\\*@/, \"@rematch\", \"@pop\"],\n [/[^*]+/, \"comment.cs\"],\n [/./, \"comment.cs\"]\n ],\n razorBlockComment: [\n [/\\*@/, \"comment.cs\", \"@pop\"],\n [/[^*]+/, \"comment.cs\"],\n [/./, \"comment.cs\"]\n ],\n razorRootTopLevel: [\n [/\\{/, \"delimiter.bracket.cs\", \"@razorRoot\"],\n [/\\(/, \"delimiter.parenthesis.cs\", \"@razorRoot\"],\n [/[})]/, \"@rematch\", \"@pop\"],\n { include: \"razorCommon\" }\n ],\n razorRoot: [\n [/\\{/, \"delimiter.bracket.cs\", \"@razorRoot\"],\n [/\\(/, \"delimiter.parenthesis.cs\", \"@razorRoot\"],\n [/\\}/, \"delimiter.bracket.cs\", \"@pop\"],\n [/\\)/, \"delimiter.parenthesis.cs\", \"@pop\"],\n { include: \"razorCommon\" }\n ],\n razorCommon: [\n [\n /[a-zA-Z_]\\w*/,\n {\n cases: {\n \"@razorKeywords\": { token: \"keyword.cs\" },\n \"@default\": \"identifier.cs\"\n }\n }\n ],\n [/[\\[\\]]/, \"delimiter.array.cs\"],\n [/[ \\t\\r\\n]+/],\n [/\\/\\/.*$/, \"comment.cs\"],\n [/@\\*/, \"comment.cs\", \"@razorBlockComment\"],\n [/\"([^\"]*)\"/, \"string.cs\"],\n [/'([^']*)'/, \"string.cs\"],\n [/(<)([\\w\\-]+)(\\/>)/, [\"delimiter.html\", \"tag.html\", \"delimiter.html\"]],\n [/(<)([\\w\\-]+)(>)/, [\"delimiter.html\", \"tag.html\", \"delimiter.html\"]],\n [/(<\\/)([\\w\\-]+)(>)/, [\"delimiter.html\", \"tag.html\", \"delimiter.html\"]],\n [/[\\+\\-\\*\\%\\&\\|\\^\\~\\!\\=\\<\\>\\/\\?\\;\\:\\.\\,]/, \"delimiter.cs\"],\n [/\\d*\\d+[eE]([\\-+]?\\d+)?/, \"number.float.cs\"],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float.cs\"],\n [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, \"number.hex.cs\"],\n [/0[0-7']*[0-7]/, \"number.octal.cs\"],\n [/0[bB][0-1']*[0-1]/, \"number.binary.cs\"],\n [/\\d[\\d']*/, \"number.cs\"],\n [/\\d/, \"number.cs\"]\n ]\n },\n razorKeywords: [\n \"abstract\",\n \"as\",\n \"async\",\n \"await\",\n \"base\",\n \"bool\",\n \"break\",\n \"by\",\n \"byte\",\n \"case\",\n \"catch\",\n \"char\",\n \"checked\",\n \"class\",\n \"const\",\n \"continue\",\n \"decimal\",\n \"default\",\n \"delegate\",\n \"do\",\n \"double\",\n \"descending\",\n \"explicit\",\n \"event\",\n \"extern\",\n \"else\",\n \"enum\",\n \"false\",\n \"finally\",\n \"fixed\",\n \"float\",\n \"for\",\n \"foreach\",\n \"from\",\n \"goto\",\n \"group\",\n \"if\",\n \"implicit\",\n \"in\",\n \"int\",\n \"interface\",\n \"internal\",\n \"into\",\n \"is\",\n \"lock\",\n \"long\",\n \"nameof\",\n \"new\",\n \"null\",\n \"namespace\",\n \"object\",\n \"operator\",\n \"out\",\n \"override\",\n \"orderby\",\n \"params\",\n \"private\",\n \"protected\",\n \"public\",\n \"readonly\",\n \"ref\",\n \"return\",\n \"switch\",\n \"struct\",\n \"sbyte\",\n \"sealed\",\n \"short\",\n \"sizeof\",\n \"stackalloc\",\n \"static\",\n \"string\",\n \"select\",\n \"this\",\n \"throw\",\n \"true\",\n \"try\",\n \"typeof\",\n \"uint\",\n \"ulong\",\n \"unchecked\",\n \"unsafe\",\n \"ushort\",\n \"using\",\n \"var\",\n \"virtual\",\n \"volatile\",\n \"void\",\n \"when\",\n \"while\",\n \"where\",\n \"yield\",\n \"model\",\n \"inject\"\n ],\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/\n};\n\n\n\n//# sourceURL=webpack://monanco_wpack/./node_modules/monaco-editor/esm/vs/basic-languages/razor/razor.js?");
/***/ })
}]);