Files
forumlify/.next/server/chunks/ssr/_0uuc420._.js
T
lezi-fun 9e407d0a2d ci: GHCR docker build for Lite branch + compose updates
- .github/workflows/docker-lite.yml: build & push ghcr.io/lezi-fun/
  forumlify-deploy:lite on Lite branch push (linux/amd64+arm64)
- docker-compose.yml: pull :lite image from GHCR, add PORT / ENABLE_
  CAPTCHA env, restart: unless-stopped on both services
2026-08-12 09:21:12 +08:00

12 lines
3.2 KiB
JavaScript

module.exports=[90103,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/CustomCssLoader.js from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/CustomCssLoader.js","default")},78629,a=>{"use strict";var b=a.i(90103);a.n(b)},19790,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/I18nInit.js from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/I18nInit.js","default")},52450,a=>{"use strict";var b=a.i(19790);a.n(b)},62925,a=>{"use strict";var b=a.i(7997),c=a.i(5246),d=a.i(78629),e=a.i(32992),f=a.i(52450);async function g({children:a}){let h="zh";try{let a=await (0,c.cookies)(),b=a.get("forumlify-lang")?.value;"en"===b||"zh"===b?h=b:((await (0,c.headers)()).get("accept-language")||"").toLowerCase().startsWith("en")&&(h="en")}catch(a){}return(0,b.jsxs)("html",{lang:"en"===h?"en":"zh-CN",suppressHydrationWarning:!0,children:[(0,b.jsx)("head",{}),(0,b.jsxs)("body",{children:[(0,b.jsx)("script",{dangerouslySetInnerHTML:{__html:`(function(){
try {
var t = localStorage.getItem('forumlify-theme');
if (!t) { t = (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) ? 'dark' : 'light'; }
document.documentElement.setAttribute('data-theme', t);
} catch (e) {}
try { var n = localStorage.getItem('forumlify-forum-name'); if (n) document.title = n; } catch (e) {}
// 加载页论坛名不再由脚本注入 DOM——由 Server Component 读 cookie 首帧输出,
// React 状态渲染,SSR/客户端一致,无 hydration mismatch
})();`}}),(0,b.jsxs)(e.ToastProvider,{children:[(0,b.jsx)(f.default,{lng:h}),(0,b.jsx)(d.default,{}),a]})]})]})}a.s(["default",0,g,"dynamic",0,"force-dynamic","metadata",0,{title:"Forumlify",description:"Forumlify - 简洁优雅的现代社区系统"}])},19325,function(a){a.n(a.i(62925))},3415,a=>{"use strict";a.s(["ToastProvider",()=>c,"useToast",()=>d]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ToastProvider() from the server but ToastProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Toast.js","ToastProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useToast() from the server but useToast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Toast.js","useToast")},32992,a=>{"use strict";var b=a.i(3415);a.n(b)}];
//# sourceMappingURL=_0uuc420._.js.map