52 lines
1.5 KiB
JavaScript
52 lines
1.5 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 657433
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
function t(e, t, i) {
|
|
return {
|
|
pattern: RegExp("<#" + e + "[\\s\\S]*?#>"),
|
|
alias: "block",
|
|
inside: {
|
|
delimiter: {
|
|
pattern: RegExp("^<#" + e + "|#>$"),
|
|
alias: "important",
|
|
},
|
|
content: { pattern: /[\s\S]+/, inside: t, alias: i },
|
|
},
|
|
};
|
|
}
|
|
e.languages["t4-templating"] = Object.defineProperty({}, "createT4", {
|
|
value: function (i) {
|
|
var r = e.languages[i],
|
|
a = "language-" + i;
|
|
return {
|
|
block: {
|
|
pattern: /<#[\s\S]+?#>/,
|
|
inside: {
|
|
directive: t("@", {
|
|
"attr-value": {
|
|
pattern: /=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,
|
|
inside: { punctuation: /^=|^["']|["']$/ },
|
|
},
|
|
keyword: /\b\w+(?=\s)/,
|
|
"attr-name": /\b\w+/,
|
|
}),
|
|
expression: t("=", r, a),
|
|
"class-feature": t("\\+", r, a),
|
|
standard: t("", r, a),
|
|
},
|
|
},
|
|
};
|
|
},
|
|
});
|
|
}
|
|
(t.exports = r), (r.displayName = "t4Templating"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|