Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

119 lines
3.7 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 830574
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
!(function (e) {
var t = /[*&][^\s[\]{},]+/,
i =
/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,
r =
"(?:" +
i.source +
"(?:[ ]+" +
t.source +
")?|" +
t.source +
"(?:[ ]+" +
i.source +
")?)",
a =
/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(
/<PLAIN>/g,
function () {
return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/
.source;
},
),
n = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
function A(e, t) {
return (
(t = (t || "").replace(/m/g, "") + "m"),
RegExp(
/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source
.replace(/<<prop>>/g, function () {
return r;
})
.replace(/<<value>>/g, function () {
return e;
}),
t,
)
);
}
(e.languages.yaml = {
scalar: {
pattern: RegExp(
/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(
/<<prop>>/g,
function () {
return r;
},
),
),
lookbehind: !0,
alias: "string",
},
comment: /#.*/,
key: {
pattern: RegExp(
/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source
.replace(/<<prop>>/g, function () {
return r;
})
.replace(/<<key>>/g, function () {
return "(?:" + a + "|" + n + ")";
}),
),
lookbehind: !0,
greedy: !0,
alias: "atrule",
},
directive: {
pattern: /(^[ \t]*)%.+/m,
lookbehind: !0,
alias: "important",
},
datetime: {
pattern: A(
/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/
.source,
),
lookbehind: !0,
alias: "number",
},
boolean: {
pattern: A(/false|true/.source, "i"),
lookbehind: !0,
alias: "important",
},
null: {
pattern: A(/null|~/.source, "i"),
lookbehind: !0,
alias: "important",
},
string: { pattern: A(n), lookbehind: !0, greedy: !0 },
number: {
pattern: A(
/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/
.source,
"i",
),
lookbehind: !0,
},
tag: i,
important: t,
punctuation: /---|[:[\]{}\-,|>?]|\.\.\./,
}),
(e.languages.yml = e.languages.yaml);
})(e);
}
(t.exports = r), (r.displayName = "yaml"), (r.aliases = ["yml"]);
};
export default moduleFactory;