@calmabacus/pi-web 1.2.4 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +11 -10
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +6 -6
- package/.next/required-server-files.js +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +6 -0
- package/.next/server/app/_global-error/page.js +2 -2
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +4 -4
- package/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +8 -9
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
- package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
- package/.next/server/app/api/agent/[id]/events/route.js +2 -2
- package/.next/server/app/api/agent/[id]/lease/route.js +1 -1
- package/.next/server/app/api/agent/[id]/route.js +1 -1
- package/.next/server/app/api/agent/new/route.js +1 -1
- package/.next/server/app/api/agent/running/route.js +1 -1
- package/.next/server/app/api/app-update/route.js +1 -1
- package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
- package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/providers/route.js +1 -1
- package/.next/server/app/api/cwd/browse/route.js +1 -1
- package/.next/server/app/api/cwd/validate/route.js +1 -1
- package/.next/server/app/api/default-cwd/route.js +1 -1
- package/.next/server/app/api/file-index/route.js +1 -1
- package/.next/server/app/api/files/[...path]/route.js +1 -1
- package/.next/server/app/api/git/diff/route.js +2 -2
- package/.next/server/app/api/git/status/route.js +1 -1
- package/.next/server/app/api/home/route.js +1 -1
- package/.next/server/app/api/image-generation/route.js +1 -1
- package/.next/server/app/api/image-generation/settings/connections/route.js +1 -1
- package/.next/server/app/api/image-generation/settings/route.js +1 -1
- package/.next/server/app/api/models/route.js +1 -1
- package/.next/server/app/api/models-config/catalog/route.js +1 -1
- package/.next/server/app/api/models-config/discover/route.js +1 -1
- package/.next/server/app/api/models-config/picker/route.js +1 -1
- package/.next/server/app/api/models-config/route.js +1 -1
- package/.next/server/app/api/models-config/runtime/route.js +1 -1
- package/.next/server/app/api/models-config/test/route.js +1 -1
- package/.next/server/app/api/plugins/check/route.js +1 -1
- package/.next/server/app/api/plugins/route.js +1 -1
- package/.next/server/app/api/project-trust/route.js +1 -1
- package/.next/server/app/api/projects/route.js +1 -1
- package/.next/server/app/api/push/config/route.js +1 -1
- package/.next/server/app/api/push/subscribe/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +2 -2
- package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/export/route.js +3 -3
- package/.next/server/app/api/sessions/[id]/outline/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
- package/.next/server/app/api/sessions/route.js +1 -1
- package/.next/server/app/api/sessions/search/route.js +1 -1
- package/.next/server/app/api/skills/check/route.js +1 -1
- package/.next/server/app/api/skills/install/route.js +1 -1
- package/.next/server/app/api/skills/route.js +1 -1
- package/.next/server/app/api/skills/search/route.js +1 -1
- package/.next/server/app/api/skills/update/route.js +1 -1
- package/.next/server/app/api/subagents/[id]/route.js +1 -1
- package/.next/server/app/api/subagents/profiles/route.js +1 -1
- package/.next/server/app/api/subagents/settings/route.js +1 -1
- package/.next/server/app/api/terminal/[id]/events/route.js +1 -1
- package/.next/server/app/api/terminal/[id]/route.js +1 -1
- package/.next/server/app/api/terminal/route.js +1 -1
- package/.next/server/app/api/tools/settings/route.js +1 -1
- package/.next/server/app/api/usage/route.js +1 -0
- package/.next/server/app/api/usage/route.js.nft.json +1 -0
- package/.next/server/app/api/usage/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/web-auth/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +6 -6
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/index.segments/_full.segment.rsc +6 -6
- package/.next/server/app/index.segments/_tree.segment.rsc +3 -3
- package/.next/server/app/login/page.js +2 -2
- package/.next/server/app/login/page.js.nft.json +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +1 -1
- package/.next/server/app/login.rsc +5 -5
- package/.next/server/app/login.segments/_full.segment.rsc +5 -5
- package/.next/server/app/login.segments/_tree.segment.rsc +3 -3
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +11 -10
- package/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/.next/server/app/page.js +22 -42
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +11 -10
- package/.next/server/chunks/2243.js +1 -1
- package/.next/server/chunks/6429.js +3 -3
- package/.next/server/chunks/7147.js +1 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/MDb2LB-Z_zct3nN560IVj/_buildManifest.js +1 -0
- package/.next/static/chunks/2981-874f5628c1338197.js +1 -0
- package/.next/static/chunks/app/_global-error/{page-23d34c24c42472d2.js → page-65c0cd7526c36b6b.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/bash-output/{route-23d34c24c42472d2.js → route-65c0cd7526c36b6b.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/events/{route-23d34c24c42472d2.js → route-65c0cd7526c36b6b.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/lease/{route-23d34c24c42472d2.js → route-65c0cd7526c36b6b.js} +1 -1
- package/.next/static/chunks/app/api/agent/[id]/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/agent/new/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/agent/running/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/app-update/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/cwd/browse/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/cwd/validate/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/git/diff/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/git/status/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/home/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/image-generation/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/image-generation/settings/connections/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/image-generation/settings/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/models/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/models-config/catalog/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/models-config/discover/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/models-config/picker/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/models-config/runtime/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/plugins/check/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/project-trust/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/projects/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/push/config/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/push/subscribe/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/outline/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/state/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/search/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/skills/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/subagents/[id]/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/subagents/profiles/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/subagents/settings/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/terminal/[id]/events/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/terminal/[id]/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/terminal/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/tools/settings/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/usage/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/web-auth/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/layout-88c288a10e9226d8.js +1 -0
- package/.next/static/chunks/app/login/{page-9884c98b0e836d8e.js → page-724f763dcaedfc0b.js} +1 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/app/page-6442cebdd02ecfec.js +212 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-65c0cd7526c36b6b.js +1 -0
- package/.next/static/chunks/{webpack-1b16208bb4ccd9c1.js → webpack-851d3c4d1f2809e4.js} +1 -1
- package/.next/static/css/1a6a041bd877a737.css +1 -0
- package/.next/static/css/b3798dc89672ccdb.css +1 -0
- package/.next/trace +7 -6
- package/.next/trace-build +1 -1
- package/.next/types/app/api/usage/route.ts +353 -0
- package/.next/types/routes.d.ts +2 -1
- package/.next/types/validator.ts +9 -0
- package/package.json +1 -1
- package/public/fonts/NotoSerifSC-OFL.txt +94 -0
- package/public/fonts/NotoSerifSC.woff2 +0 -0
- package/public/fonts/SarasaUiSC-Regular.woff2 +0 -0
- package/public/fonts/SarasaUiSC-SemiBold.woff2 +0 -0
- package/public/fonts/SourceSerif4-Latin.woff2 +0 -0
- package/public/fonts/SourceSerif4-OFL.txt +93 -0
- package/.next/server/chunks/8759.js +0 -1
- package/.next/static/UylB2w8ptEUlB8P_tuCUs/_buildManifest.js +0 -1
- package/.next/static/chunks/1278-cee1a583acfdbbe3.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/agent/running/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/app-update/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/cwd/browse/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/cwd/validate/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/git/diff/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/git/status/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/home/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/image-generation/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/image-generation/settings/connections/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/image-generation/settings/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/models/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/models-config/catalog/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/models-config/discover/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/models-config/picker/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/models-config/runtime/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/plugins/check/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/project-trust/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/projects/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/push/config/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/push/subscribe/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/outline/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/state/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/sessions/search/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/skills/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/subagents/[id]/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/subagents/profiles/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/subagents/settings/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/terminal/[id]/events/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/terminal/[id]/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/terminal/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/tools/settings/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/web-auth/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/layout-0111ed4c481a1536.js +0 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/app/page-1e80658f186c8da2.js +0 -232
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-23d34c24c42472d2.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-23d34c24c42472d2.js +0 -1
- package/.next/static/css/491a0a5a0e53b1a3.css +0 -1
- package/.next/static/css/f6563ce2470fc1af.css +0 -1
- /package/.next/static/{UylB2w8ptEUlB8P_tuCUs → MDb2LB-Z_zct3nN560IVj}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4520],{41153:(e,s,a)=>{Promise.resolve().then(a.bind(a,42309))},42309:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>o});var t=a(95155),i=a(5772),r=a(12115),n=a(
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4520],{41153:(e,s,a)=>{Promise.resolve().then(a.bind(a,42309))},42309:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>o});var t=a(95155),i=a(5772),r=a(12115),n=a(32981);function l(){let{t:e}=(0,n.s)(),[s,a]=(0,r.useState)(""),[l,o]=(0,r.useState)(!1),[d,h]=(0,r.useState)(""),c=async a=>{a.preventDefault(),o(!0),h("");try{let a,t=await fetch("/api/web-auth",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:s})});if(!t.ok)return void h(401===t.status?e("auth.invalidPassword"):e("auth.loginFailed"));window.location.replace((a=new URLSearchParams(window.location.search).get("next"),a?.startsWith("/")&&!a.startsWith("//")?a:"/"))}catch{h(e("auth.loginFailed"))}finally{o(!1)}};return(0,t.jsx)("main",{className:"web-login-page",children:(0,t.jsxs)("div",{className:"web-login-shell",children:[(0,t.jsxs)("header",{className:"web-login-brand",children:[(0,t.jsx)(i.default,{src:"/icons/apple-touch-icon.png",width:52,height:52,alt:"",priority:!0}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{children:"Pi Web"}),(0,t.jsx)("p",{children:e("auth.prompt")})]})]}),(0,t.jsxs)("form",{className:"web-login-form",onSubmit:c,children:[(0,t.jsxs)("div",{className:"web-login-composer",children:[(0,t.jsx)("label",{className:"web-login-label",htmlFor:"web-login-password",children:e("auth.password")}),(0,t.jsx)("input",{id:"web-login-password",type:"password",value:s,onChange:e=>a(e.target.value),placeholder:e("auth.password"),autoComplete:"current-password",autoFocus:!0,required:!0,disabled:l}),(0,t.jsxs)("button",{type:"submit",disabled:l||!s,children:[(0,t.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M5 12h14m-6-6 6 6-6 6"})}),l?e("auth.loggingIn"):e("auth.logIn")]})]}),(0,t.jsx)("p",{className:"web-login-error",role:"alert","aria-live":"polite",children:d})]})]})})}function o(){return(0,t.jsx)(n.I18nProvider,{children:(0,t.jsx)(l,{})})}}},e=>{e.O(0,[5772,2981,8441,3794,7358],()=>e(e.s=41153)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64,243,552,976,1004,1097,1124,1337,1960,2053,2138,2403,2504,2614,2835,2837,3432,3507,3851,3918,3943,3955,4016,4037,4306,4524,4896,5221,5484,5640,5907,6031,6252,6293,6324,6444,6450,6709,6734,6819,6849,6919,6988,7067,7347,7483,7769,7812,7851,8167,8197,8390,8429,8539,8658,8743,8933,9072,9156,9183,9194,9524,9742,9747,9787,9968],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
|