63 lines
1.8 KiB
JavaScript
63 lines
1.8 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 965813
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
var t, i;
|
|
(t = { pattern: /^[;#].*/m, greedy: !0 }),
|
|
(i = /"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source),
|
|
(e.languages.systemd = {
|
|
comment: t,
|
|
section: {
|
|
pattern: /^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,
|
|
greedy: !0,
|
|
inside: {
|
|
punctuation: /^\[|\]$/,
|
|
"section-name": { pattern: /[\s\S]+/, alias: "selector" },
|
|
},
|
|
},
|
|
key: {
|
|
pattern: /^[^\s=]+(?=[ \t]*=)/m,
|
|
greedy: !0,
|
|
alias: "attr-name",
|
|
},
|
|
value: {
|
|
pattern: RegExp(
|
|
/(=[ \t]*(?!\s))/.source +
|
|
"(?:" +
|
|
i +
|
|
'|(?=[^"\r\n]))(?:' +
|
|
(/[^\s\\]/.source + '|[ ]+(?:(?![ "])|' + i) +
|
|
")|" +
|
|
/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source +
|
|
")*",
|
|
),
|
|
lookbehind: !0,
|
|
greedy: !0,
|
|
alias: "attr-value",
|
|
inside: {
|
|
comment: t,
|
|
quoted: {
|
|
pattern: RegExp(/(^|\s)/.source + i),
|
|
lookbehind: !0,
|
|
greedy: !0,
|
|
},
|
|
punctuation: /\\$/m,
|
|
boolean: {
|
|
pattern: /^(?:false|no|off|on|true|yes)$/,
|
|
greedy: !0,
|
|
},
|
|
},
|
|
},
|
|
punctuation: /=/,
|
|
});
|
|
}
|
|
(t.exports = r), (r.displayName = "systemd"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|