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

58 lines
1.4 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 024a3642cfddfa89.95b9211528.js
* Module id: 675706
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e) => {
"use strict";
e.i(966660);
var t = e.i(941060),
r = e.i(624452),
s = e.i(466752),
i = e.i(593933),
n = e.i(319606),
l = e.i(505e3),
a = e.i(135623),
o = e.i(168823);
let c = {
getExtraHeaders: () => {
let e = (0, a.getCookieWebid)(),
t = (0, o.getCookie)(l.LOCALE_COOKIE_KEY),
r = {
webid: "string" == typeof e ? e : "",
"x-language": "string" == typeof t ? t : "zh",
};
{
let e = (0, o.getCookie)(l.USER_TOKEN_COOKIE_KEY);
e && "string" == typeof e && (r.token = e);
}
return r;
},
onError: (e) => {
console.error(e);
},
baseURL: (0, n.getUrl)("/api/www"),
},
u = new i.SDService({ ...c, baseURL: "" }),
d = new s.ModelInfoService(c),
f = new r.EditorImageService({ ...c, baseURL: "" }),
p = new t.ConfigService(c);
e.s([
"configService",
0,
p,
"editorImageService",
0,
f,
"modelInfoService",
0,
d,
"sdService",
0,
u,
]);
};
export default moduleFactory;