62 lines
2.4 KiB
JavaScript
62 lines
2.4 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 403051
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
var t;
|
|
(t =
|
|
/\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/),
|
|
(e.languages.typoscript = {
|
|
comment: [
|
|
{ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0 },
|
|
{
|
|
pattern: /(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,
|
|
lookbehind: !0,
|
|
greedy: !0,
|
|
},
|
|
{ pattern: /(^|[^"'])#.*/, lookbehind: !0, greedy: !0 },
|
|
],
|
|
function: [
|
|
{
|
|
pattern:
|
|
/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,
|
|
inside: {
|
|
string: {
|
|
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
|
|
inside: { keyword: t },
|
|
},
|
|
keyword: { pattern: /INCLUDE_TYPOSCRIPT/ },
|
|
},
|
|
},
|
|
{
|
|
pattern: /@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,
|
|
inside: { string: /"[^"\r\n]*"|'[^'\r\n]*'/ },
|
|
},
|
|
],
|
|
string: {
|
|
pattern: /^([^=]*=[< ]?)(?:(?!\]\n).)*/,
|
|
lookbehind: !0,
|
|
inside: {
|
|
function: /\{\$.*\}/,
|
|
keyword: t,
|
|
number: /^\d+$/,
|
|
punctuation: /[,|:]/,
|
|
},
|
|
},
|
|
keyword: t,
|
|
number: { pattern: /\b\d+\s*[.{=]/, inside: { operator: /[.{=]/ } },
|
|
tag: { pattern: /\.?[-\w\\]+\.?/, inside: { punctuation: /\./ } },
|
|
punctuation: /[{}[\];(),.:|]/,
|
|
operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
|
|
}),
|
|
(e.languages.tsconfig = e.languages.typoscript);
|
|
}
|
|
(t.exports = r), (r.displayName = "typoscript"), (r.aliases = ["tsconfig"]);
|
|
};
|
|
|
|
export default moduleFactory;
|