|
|
|
|
|
"use strict";
|
|
|
|
|
|
/*
|
|
|
|
|
|
* ATTENTION: An "eval-source-map" devtool has been used.
|
|
|
|
|
|
* This devtool is neither made for production nor for readable output files.
|
|
|
|
|
|
* It uses "eval()" calls to create a separate source file with attached SourceMaps 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/).
|
|
|
|
|
|
*/
|
|
|
|
|
|
exports.id = "vendor-chunks/lowlight";
|
|
|
|
|
|
exports.ids = ["vendor-chunks/lowlight"];
|
|
|
|
|
|
exports.modules = {
|
|
|
|
|
|
|
|
|
|
|
|
/***/ "(ssr)/./node_modules/lowlight/index.js":
|
|
|
|
|
|
/*!****************************************!*\
|
|
|
|
|
|
!*** ./node_modules/lowlight/index.js ***!
|
|
|
|
|
|
\****************************************/
|
|
|
|
|
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
|
|
|
|
|
|
|
|
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ lowlight: () => (/* reexport safe */ _lib_common_js__WEBPACK_IMPORTED_MODULE_0__.lowlight)\n/* harmony export */ });\n/* harmony import */ var _lib_common_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/common.js */ \"(ssr)/./node_modules/lowlight/lib/common.js\");\n/**\n * @typedef {import('./lib/core.js').Root} Root\n * @typedef {import('./lib/core.js').Options} Options\n * @typedef {import('./lib/core.js').AutoOptions} AutoOptions\n */ \n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvbG93bGlnaHQvaW5kZXguanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQTs7OztDQUlDLEdBRXVDIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbmV4dGNoYXQvLi9ub2RlX21vZHVsZXMvbG93bGlnaHQvaW5kZXguanM/ZDEwOSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEB0eXBlZGVmIHtpbXBvcnQoJy4vbGliL2NvcmUuanMnKS5Sb290fSBSb290XG4gKiBAdHlwZWRlZiB7aW1wb3J0KCcuL2xpYi9jb3JlLmpzJykuT3B0aW9uc30gT3B0aW9uc1xuICogQHR5cGVkZWYge2ltcG9ydCgnLi9saWIvY29yZS5qcycpLkF1dG9PcHRpb25zfSBBdXRvT3B0aW9uc1xuICovXG5cbmV4cG9ydCB7bG93bGlnaHR9IGZyb20gJy4vbGliL2NvbW1vbi5qcydcbiJdLCJuYW1lcyI6WyJsb3dsaWdodCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/lowlight/index.js\n");
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ "(ssr)/./node_modules/lowlight/lib/common.js":
|
|
|
|
|
|
/*!*********************************************!*\
|
|
|
|
|
|
!*** ./node_modules/lowlight/lib/common.js ***!
|
|
|
|
|
|
\*********************************************/
|
|
|
|
|
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
|
|
|
|
|
|
|
|
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ lowlight: () => (/* reexport safe */ _core_js__WEBPACK_IMPORTED_MODULE_37__.lowlight)\n/* harmony export */ });\n/* harmony import */ var highlight_js_lib_languages_arduino__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! highlight.js/lib/languages/arduino */ \"(ssr)/./node_modules/highlight.js/es/languages/arduino.js\");\n/* harmony import */ var highlight_js_lib_languages_bash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! highlight.js/lib/languages/bash */ \"(ssr)/./node_modules/highlight.js/es/languages/bash.js\");\n/* harmony import */ var highlight_js_lib_languages_c__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! highlight.js/lib/languages/c */ \"(ssr)/./node_modules/highlight.js/es/languages/c.js\");\n/* harmony import */ var highlight_js_lib_languages_cpp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! highlight.js/lib/languages/cpp */ \"(ssr)/./node_modules/highlight.js/es/languages/cpp.js\");\n/* harmony import */ var highlight_js_lib_languages_csharp__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! highlight.js/lib/languages/csharp */ \"(ssr)/./node_modules/highlight.js/es/languages/csharp.js\");\n/* harmony import */ var highlight_js_lib_languages_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! highlight.js/lib/languages/css */ \"(ssr)/./node_modules/highlight.js/es/languages/css.js\");\n/* harmony import */ var highlight_js_lib_languages_diff__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! highlight.js/lib/languages/diff */ \"(ssr)/./node_modules/highlight.js/es/languages/diff.js\");\n/* harmony import */ var highlight_js_lib_languages_go__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! highlight.js/lib/languages/go */ \"(ssr)/./node_modules/highlight.js/es/languages/go.js\");\n/* harmony import */ var highlight_js_lib_languages_graphql__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! highlight.js/lib/languages/graphql */ \"(ssr)/./node_modules/highlight.js/es/languages/graphql.js\");\n/* harmony import */ var highlight_js_lib_languages_ini__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! highlight.js/lib/languages/ini */ \"(ssr)/./node_modules/highlight.js/es/languages/ini.js\");\n/* harmony import */ var highlight_js_lib_languages_java__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! highlight.js/lib/languages/java */ \"(ssr)/./node_modules/highlight.js/es/languages/java.js\");\n/* harmony import */ var highlight_js_lib_languages_javascript__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! highlight.js/lib/languages/javascript */ \"(ssr)/./node_modules/highlight.js/es/languages/javascript.js\");\n/* harmony import */ var highlight_js_lib_languages_json__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! highlight.js/lib/languages/json */ \"(ssr)/./node_modules/highlight.js/es/languages/json.js\");\n/* harmony import */ var highlight_js_lib_languages_kotlin__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! highlight.js/lib/languages/kotlin */ \"(ssr)/./node_modules/highlight.js/es/languages/kotlin.js\");\n/* harmony import */ var highlight_js_lib_languages_less__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! highlight.js/lib/languages/less */ \"(ssr)/./node_modules/highlight.js/es/languages/less.js\");\n/* harmony import */ var highlight_js_lib_languages_lua__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! highlight.js/lib/languages/lua */ \"(ssr)/./node_modules/highlight.js/es/languages/lua.js\");\n/* harmony import */ var highlight_js_lib_languages_makefile__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! highlight.js/lib/languages/makefile */ \"(ssr)/./node_modules/highlight.js/es/languages/makefile.js\");\n/* harmony import */ var highlight_js_lib_languages_markdown__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! highlight.js/lib/languages/markdown */ \"(ssr)/./node_modules/highlight.js/es/languages/markdown.js\");\n/* harmony import */ var h
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ "(ssr)/./node_modules/lowlight/lib/core.js":
|
|
|
|
|
|
/*!*******************************************!*\
|
|
|
|
|
|
!*** ./node_modules/lowlight/lib/core.js ***!
|
|
|
|
|
|
\*******************************************/
|
|
|
|
|
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
|
|
|
|
|
|
|
|
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ lowlight: () => (/* binding */ lowlight)\n/* harmony export */ });\n/* harmony import */ var highlight_js_lib_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! highlight.js/lib/core */ \"(ssr)/./node_modules/highlight.js/es/core.js\");\n/* harmony import */ var fault__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fault */ \"(ssr)/./node_modules/fault/index.js\");\n/**\n * @typedef {import('hast').Text} Text\n * @typedef {import('highlight.js').HighlightResult} HighlightResult\n * @typedef {import('highlight.js').HLJSOptions} HighlightOptions\n * @typedef {import('highlight.js').LanguageFn} HighlightSyntax\n * @typedef {import('highlight.js').Emitter} HighlightEmitter\n *\n * @typedef {{type: 'element', tagName: 'span', properties: {className: Array<string>}, children: Array<Span|Text>}} Span\n * @typedef {{type: 'root', data: {language: string|null, relevance: number}, children: Array<Span|Text>}} Root\n *\n * @typedef {Object} ExtraOptions\n * @property {Array<string>} [subset]\n * List of allowed languages, defaults to all registered languages.\n *\n * @typedef {Object} Options\n * Configuration.\n * @property {string} [prefix='hljs-']\n * Class prefix.\n *\n * @typedef {Options & ExtraOptions} AutoOptions\n */ \n\nconst own = {}.hasOwnProperty;\nconst defaultPrefix = \"hljs-\";\n/**\n * Highlight `value` (code) as `language` (name).\n *\n * @param {string} language\n * Programming language name.\n * @param {string} value\n * Code to highlight.\n * @param {Options} [options={}]\n * Configuration.\n * @returns {Root}\n * A hast `Root` node.\n */ function highlight(language, value, options = {}) {\n let prefix = options.prefix;\n if (typeof language !== \"string\") {\n throw (0,fault__WEBPACK_IMPORTED_MODULE_1__.fault)(\"Expected `string` for name, got `%s`\", language);\n }\n if (!highlight_js_lib_core__WEBPACK_IMPORTED_MODULE_0__[\"default\"].getLanguage(language)) {\n throw (0,fault__WEBPACK_IMPORTED_MODULE_1__.fault)(\"Unknown language: `%s` is not registered\", language);\n }\n if (typeof value !== \"string\") {\n throw (0,fault__WEBPACK_IMPORTED_MODULE_1__.fault)(\"Expected `string` for value, got `%s`\", value);\n }\n if (prefix === null || prefix === undefined) {\n prefix = defaultPrefix;\n }\n highlight_js_lib_core__WEBPACK_IMPORTED_MODULE_0__[\"default\"].configure({\n __emitter: HastEmitter,\n classPrefix: prefix\n });\n const result = /** @type {HighlightResult & {_emitter: HastEmitter}} */ highlight_js_lib_core__WEBPACK_IMPORTED_MODULE_0__[\"default\"].highlight(value, {\n language,\n ignoreIllegals: true\n });\n highlight_js_lib_core__WEBPACK_IMPORTED_MODULE_0__[\"default\"].configure({});\n // `highlight.js` seems to use this (currently) for broken grammars, so let’s\n // keep it in there just to be sure.\n /* c8 ignore next 3 */ if (result.errorRaised) {\n throw result.errorRaised;\n }\n // @ts-expect-error: `language` is always defined in `highlight`.\n result._emitter.root.data.language = result.language;\n result._emitter.root.data.relevance = result.relevance;\n return result._emitter.root;\n}\n/**\n * Highlight `value` (code) and guess its programming language.\n *\n * @param {string} value\n * Code to highlight.\n * @param {AutoOptions} [options={}]\n * Configuration.\n * @returns {Root}\n * A hast `Root` node.\n */ function highlightAuto(value, options = {}) {\n const subset = options.subset || highlight_js_lib_core__WEBPACK_IMPORTED_MODULE_0__[\"default\"].listLanguages();\n let prefix = options.prefix;\n let index = -1;\n /** @type {Root} */ let result = {\n type: \"root\",\n data: {\n language: null,\n relevance: 0\n },\n children: []\n };\n if (prefix === null || prefix === undefined) {\n prefix = defaultPrefix;\n
|
|
|
|
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
;
|