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

184 lines
4.6 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 2af97222b2982846.43dcb21113.js
* Module id: 993432
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, r) => {
let o;
var s = e.i(23741);
(r.formatArgs = function (e) {
if (
((e[0] =
(this.useColors ? "%c" : "") +
this.namespace +
(this.useColors ? " %c" : " ") +
e[0] +
(this.useColors ? "%c " : " ") +
"+" +
t.exports.humanize(this.diff)),
!this.useColors)
)
return;
let r = "color: " + this.color;
e.splice(1, 0, r, "color: inherit");
let o = 0,
s = 0;
e[0].replace(/%[a-zA-Z%]/g, (e) => {
"%%" !== e && (o++, "%c" === e && (s = o));
}),
e.splice(s, 0, r);
}),
(r.save = function (e) {
try {
e ? r.storage.setItem("debug", e) : r.storage.removeItem("debug");
} catch (e) {}
}),
(r.load = function () {
let e;
try {
e = r.storage.getItem("debug") || r.storage.getItem("DEBUG");
} catch (e) {}
return (
!e &&
void 0 !== s.default &&
"env" in s.default &&
(e = s.default.env.DEBUG),
e
);
}),
(r.useColors = function () {
let e;
return (
("u" > typeof window &&
!!window.process &&
("renderer" === window.process.type || !!window.process.__nwjs)) ||
(!(
"u" > typeof navigator &&
navigator.userAgent &&
navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)
) &&
(("u" > typeof document &&
document.documentElement &&
document.documentElement.style &&
document.documentElement.style.WebkitAppearance) ||
("u" > typeof window &&
window.console &&
(window.console.firebug ||
(window.console.exception && window.console.table))) ||
("u" > typeof navigator &&
navigator.userAgent &&
(e = navigator.userAgent
.toLowerCase()
.match(/firefox\/(\d+)/)) &&
parseInt(e[1], 10) >= 31) ||
("u" > typeof navigator &&
navigator.userAgent &&
navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))))
);
}),
(r.storage = (function () {
try {
return localStorage;
} catch (e) {}
})()),
(o = !1),
(r.destroy = () => {
o ||
((o = !0),
console.warn(
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.",
));
}),
(r.colors = [
"#0000CC",
"#0000FF",
"#0033CC",
"#0033FF",
"#0066CC",
"#0066FF",
"#0099CC",
"#0099FF",
"#00CC00",
"#00CC33",
"#00CC66",
"#00CC99",
"#00CCCC",
"#00CCFF",
"#3300CC",
"#3300FF",
"#3333CC",
"#3333FF",
"#3366CC",
"#3366FF",
"#3399CC",
"#3399FF",
"#33CC00",
"#33CC33",
"#33CC66",
"#33CC99",
"#33CCCC",
"#33CCFF",
"#6600CC",
"#6600FF",
"#6633CC",
"#6633FF",
"#66CC00",
"#66CC33",
"#9900CC",
"#9900FF",
"#9933CC",
"#9933FF",
"#99CC00",
"#99CC33",
"#CC0000",
"#CC0033",
"#CC0066",
"#CC0099",
"#CC00CC",
"#CC00FF",
"#CC3300",
"#CC3333",
"#CC3366",
"#CC3399",
"#CC33CC",
"#CC33FF",
"#CC6600",
"#CC6633",
"#CC9900",
"#CC9933",
"#CCCC00",
"#CCCC33",
"#FF0000",
"#FF0033",
"#FF0066",
"#FF0099",
"#FF00CC",
"#FF00FF",
"#FF3300",
"#FF3333",
"#FF3366",
"#FF3399",
"#FF33CC",
"#FF33FF",
"#FF6600",
"#FF6633",
"#FF9900",
"#FF9933",
"#FFCC00",
"#FFCC33",
]),
(r.log = console.debug || console.log || (() => {})),
(t.exports = e.r(863444)(r));
let { formatters: n } = t.exports;
n.j = function (e) {
try {
return JSON.stringify(e);
} catch (e) {
return "[UnexpectedJSONParseError]: " + e.message;
}
};
};
export default moduleFactory;