wrong-notebook 2026.11.2 → 2026.11.3-2
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 +16 -0
- package/.next/build-manifest.json +36 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/routes-manifest.json +120 -0
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- 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/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/page.js.nft.json +1 -1
- package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/user/[id]/page.js.nft.json +1 -1
- package/.next/server/app/admin/user/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/api/admin/cnm-tags/route.js +6 -5
- package/.next/server/app/api/admin/cnm-tags/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/dashboard/route.js +16 -15
- package/.next/server/app/api/admin/dashboard/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/debug-logs/export/route.js +5 -4
- package/.next/server/app/api/admin/debug-logs/export/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/debug-logs/route.js +5 -4
- package/.next/server/app/api/admin/debug-logs/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/migrate-tags/route.js +5 -4
- package/.next/server/app/api/admin/migrate-tags/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/system-reset/route.js +5 -4
- package/.next/server/app/api/admin/system-reset/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/users/[id]/detail/route.js +16 -15
- package/.next/server/app/api/admin/users/[id]/detail/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/users/[id]/route.js +5 -4
- package/.next/server/app/api/admin/users/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/admin/users/route.js +5 -4
- package/.next/server/app/api/admin/users/route.js.nft.json +1 -1
- package/.next/server/app/api/ai/models/route.js +11 -10
- package/.next/server/app/api/ai/models/route.js.nft.json +1 -1
- package/.next/server/app/api/ai/test/route.js +10 -9
- package/.next/server/app/api/ai/test/route.js.nft.json +1 -1
- package/.next/server/app/api/analytics/route.js +12 -11
- package/.next/server/app/api/analytics/route.js.nft.json +1 -1
- package/.next/server/app/api/analyze/route.js +16 -14
- package/.next/server/app/api/analyze/route.js.nft.json +1 -1
- package/.next/server/app/api/auth/[...nextauth]/route.js +4 -3
- package/.next/server/app/api/auth/[...nextauth]/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/delete/route.js +5 -4
- package/.next/server/app/api/error-items/[id]/delete/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/figure/route.js +14 -13
- package/.next/server/app/api/error-items/[id]/figure/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/fix-latex/route.js +16 -15
- package/.next/server/app/api/error-items/[id]/fix-latex/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/geogebra/route.js +12 -11
- package/.next/server/app/api/error-items/[id]/geogebra/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/image/route.js +4 -3
- package/.next/server/app/api/error-items/[id]/image/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/notes/route.js +5 -4
- package/.next/server/app/api/error-items/[id]/notes/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/practice-records/route.js +4 -3
- package/.next/server/app/api/error-items/[id]/practice-records/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/reanswer/route.js +14 -13
- package/.next/server/app/api/error-items/[id]/reanswer/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/retag/route.js +15 -14
- package/.next/server/app/api/error-items/[id]/retag/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/route.js +6 -5
- package/.next/server/app/api/error-items/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/svg-animation/narration/route.js +14 -13
- package/.next/server/app/api/error-items/[id]/svg-animation/narration/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/[id]/svg-animation/route.js +14 -13
- package/.next/server/app/api/error-items/[id]/svg-animation/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/answer-space/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/error-items/answer-space/route/build-manifest.json +12 -0
- package/.next/server/app/api/error-items/answer-space/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/error-items/answer-space/route.js +14 -0
- package/.next/server/app/api/error-items/answer-space/route.js.map +5 -0
- package/.next/server/app/api/error-items/answer-space/route.js.nft.json +1 -0
- package/.next/server/app/api/error-items/answer-space/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/error-items/batch-delete/route.js +5 -4
- package/.next/server/app/api/error-items/batch-delete/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/clear/route.js +5 -4
- package/.next/server/app/api/error-items/clear/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/list/route.js +6 -5
- package/.next/server/app/api/error-items/list/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/route.js +17 -15
- package/.next/server/app/api/error-items/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/short/[shortId]/route.js +4 -3
- package/.next/server/app/api/error-items/short/[shortId]/route.js.nft.json +1 -1
- package/.next/server/app/api/error-items/similarity/route.js +6 -5
- package/.next/server/app/api/error-items/similarity/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/questions/[questionId]/regenerate/route.js +15 -14
- package/.next/server/app/api/exams/[id]/questions/[questionId]/regenerate/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/results/route.js +17 -16
- package/.next/server/app/api/exams/[id]/results/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/retry/route.js +16 -15
- package/.next/server/app/api/exams/[id]/retry/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/[id]/route.js +17 -15
- package/.next/server/app/api/exams/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/exams/route.js +17 -16
- package/.next/server/app/api/exams/route.js.nft.json +1 -1
- package/.next/server/app/api/export/route.js +10 -8
- package/.next/server/app/api/export/route.js.nft.json +1 -1
- package/.next/server/app/api/geogebra-analyze/route.js +13 -12
- package/.next/server/app/api/geogebra-analyze/route.js.nft.json +1 -1
- package/.next/server/app/api/health/route.js +3 -2
- package/.next/server/app/api/health/route.js.nft.json +1 -1
- package/.next/server/app/api/import/route.js +19 -17
- package/.next/server/app/api/import/route.js.nft.json +1 -1
- package/.next/server/app/api/import-batches/[id]/confirm-all/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-batches/[id]/confirm-all/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-batches/[id]/confirm-all/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-batches/[id]/confirm-all/route.js +34 -0
- package/.next/server/app/api/import-batches/[id]/confirm-all/route.js.map +5 -0
- package/.next/server/app/api/import-batches/[id]/confirm-all/route.js.nft.json +1 -0
- package/.next/server/app/api/import-batches/[id]/confirm-all/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-batches/[id]/fix-text/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-batches/[id]/fix-text/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-batches/[id]/fix-text/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-batches/[id]/fix-text/route.js +26 -0
- package/.next/server/app/api/import-batches/[id]/fix-text/route.js.map +5 -0
- package/.next/server/app/api/import-batches/[id]/fix-text/route.js.nft.json +1 -0
- package/.next/server/app/api/import-batches/[id]/fix-text/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-batches/[id]/read/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-batches/[id]/read/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-batches/[id]/read/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-batches/[id]/read/route.js +34 -0
- package/.next/server/app/api/import-batches/[id]/read/route.js.map +5 -0
- package/.next/server/app/api/import-batches/[id]/read/route.js.nft.json +1 -0
- package/.next/server/app/api/import-batches/[id]/read/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-batches/[id]/retry/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-batches/[id]/retry/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-batches/[id]/retry/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-batches/[id]/retry/route.js +34 -0
- package/.next/server/app/api/import-batches/[id]/retry/route.js.map +5 -0
- package/.next/server/app/api/import-batches/[id]/retry/route.js.nft.json +1 -0
- package/.next/server/app/api/import-batches/[id]/retry/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-batches/[id]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-batches/[id]/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-batches/[id]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-batches/[id]/route.js +34 -0
- package/.next/server/app/api/import-batches/[id]/route.js.map +5 -0
- package/.next/server/app/api/import-batches/[id]/route.js.nft.json +1 -0
- package/.next/server/app/api/import-batches/[id]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-batches/[id]/start/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-batches/[id]/start/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-batches/[id]/start/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-batches/[id]/start/route.js +34 -0
- package/.next/server/app/api/import-batches/[id]/start/route.js.map +5 -0
- package/.next/server/app/api/import-batches/[id]/start/route.js.nft.json +1 -0
- package/.next/server/app/api/import-batches/[id]/start/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-batches/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-batches/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-batches/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-batches/route.js +34 -0
- package/.next/server/app/api/import-batches/route.js.map +5 -0
- package/.next/server/app/api/import-batches/route.js.nft.json +1 -0
- package/.next/server/app/api/import-batches/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-tasks/[id]/confirm/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-tasks/[id]/confirm/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-tasks/[id]/confirm/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-tasks/[id]/confirm/route.js +33 -0
- package/.next/server/app/api/import-tasks/[id]/confirm/route.js.map +5 -0
- package/.next/server/app/api/import-tasks/[id]/confirm/route.js.nft.json +1 -0
- package/.next/server/app/api/import-tasks/[id]/confirm/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-tasks/[id]/read/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-tasks/[id]/read/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-tasks/[id]/read/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-tasks/[id]/read/route.js +33 -0
- package/.next/server/app/api/import-tasks/[id]/read/route.js.map +5 -0
- package/.next/server/app/api/import-tasks/[id]/read/route.js.nft.json +1 -0
- package/.next/server/app/api/import-tasks/[id]/read/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-tasks/[id]/retry/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-tasks/[id]/retry/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-tasks/[id]/retry/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-tasks/[id]/retry/route.js +33 -0
- package/.next/server/app/api/import-tasks/[id]/retry/route.js.map +5 -0
- package/.next/server/app/api/import-tasks/[id]/retry/route.js.nft.json +1 -0
- package/.next/server/app/api/import-tasks/[id]/retry/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-tasks/[id]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-tasks/[id]/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-tasks/[id]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-tasks/[id]/route.js +33 -0
- package/.next/server/app/api/import-tasks/[id]/route.js.map +5 -0
- package/.next/server/app/api/import-tasks/[id]/route.js.nft.json +1 -0
- package/.next/server/app/api/import-tasks/[id]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/import-tasks/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/import-tasks/route/build-manifest.json +12 -0
- package/.next/server/app/api/import-tasks/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/import-tasks/route.js +34 -0
- package/.next/server/app/api/import-tasks/route.js.map +5 -0
- package/.next/server/app/api/import-tasks/route.js.nft.json +1 -0
- package/.next/server/app/api/import-tasks/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/initialize/route.js +5 -4
- package/.next/server/app/api/initialize/route.js.nft.json +1 -1
- package/.next/server/app/api/logs/frontend/route.js +4 -3
- package/.next/server/app/api/logs/frontend/route.js.nft.json +1 -1
- package/.next/server/app/api/minimax-code/checkin/route.js +6 -5
- package/.next/server/app/api/minimax-code/checkin/route.js.nft.json +1 -1
- package/.next/server/app/api/minimax-code/login/route.js +5 -4
- package/.next/server/app/api/minimax-code/login/route.js.nft.json +1 -1
- package/.next/server/app/api/minimax-code/route.js +5 -4
- package/.next/server/app/api/minimax-code/route.js.nft.json +1 -1
- package/.next/server/app/api/notebooks/[id]/retag/route.js +13 -12
- package/.next/server/app/api/notebooks/[id]/retag/route.js.nft.json +1 -1
- package/.next/server/app/api/notebooks/[id]/route.js +5 -4
- package/.next/server/app/api/notebooks/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/notebooks/route.js +5 -4
- package/.next/server/app/api/notebooks/route.js.nft.json +1 -1
- package/.next/server/app/api/openclaw/batch-upload/route.js +17 -16
- package/.next/server/app/api/openclaw/batch-upload/route.js.nft.json +1 -1
- package/.next/server/app/api/paper-groups/[id]/route.js +5 -4
- package/.next/server/app/api/paper-groups/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/paper-groups/route.js +6 -5
- package/.next/server/app/api/paper-groups/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/generate/route.js +14 -13
- package/.next/server/app/api/practice/generate/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/grade/route.js +13 -12
- package/.next/server/app/api/practice/grade/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/record/[id]/route.js +11 -10
- package/.next/server/app/api/practice/record/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/practice/record/route.js +13 -12
- package/.next/server/app/api/practice/record/route.js.nft.json +1 -1
- package/.next/server/app/api/reanswer/route.js +15 -14
- package/.next/server/app/api/reanswer/route.js.nft.json +1 -1
- package/.next/server/app/api/register/route.js +6 -5
- package/.next/server/app/api/register/route.js.nft.json +1 -1
- package/.next/server/app/api/register/status/route.js +5 -4
- package/.next/server/app/api/register/status/route.js.nft.json +1 -1
- package/.next/server/app/api/requests/[id]/route.js +6 -5
- package/.next/server/app/api/requests/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/review/due/route.js +15 -14
- package/.next/server/app/api/review/due/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/route.js +9 -8
- package/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/route.js +6 -5
- package/.next/server/app/api/setup/route.js.nft.json +1 -1
- package/.next/server/app/api/stats/practice/clear/route.js +5 -4
- package/.next/server/app/api/stats/practice/clear/route.js.nft.json +1 -1
- package/.next/server/app/api/stats/practice/route.js +5 -4
- package/.next/server/app/api/stats/practice/route.js.nft.json +1 -1
- package/.next/server/app/api/tags/route.js +4 -3
- package/.next/server/app/api/tags/route.js.nft.json +1 -1
- package/.next/server/app/api/tags/stats/route.js +5 -4
- package/.next/server/app/api/tags/stats/route.js.nft.json +1 -1
- package/.next/server/app/api/tags/suggestions/route.js +4 -3
- package/.next/server/app/api/tags/suggestions/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/route.js +5 -4
- package/.next/server/app/api/tasks/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/[id]/route.js +8 -7
- package/.next/server/app/api/tts/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/batch/route.js +12 -11
- package/.next/server/app/api/tts/batch/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/route.js +8 -7
- package/.next/server/app/api/tts/route.js.nft.json +1 -1
- package/.next/server/app/api/tts/status/route.js +10 -9
- package/.next/server/app/api/tts/status/route.js.nft.json +1 -1
- package/.next/server/app/api/user/route.js +14 -13
- package/.next/server/app/api/user/route.js.nft.json +1 -1
- package/.next/server/app/api/version/route.js +3 -2
- package/.next/server/app/api/version/route.js.nft.json +1 -1
- package/.next/server/app/error-items/[id]/page.js.nft.json +1 -1
- package/.next/server/app/error-items/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/exams/[id]/page.js.nft.json +1 -1
- package/.next/server/app/exams/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/exams/[id]/print/page.js.nft.json +1 -1
- package/.next/server/app/exams/[id]/print/page_client-reference-manifest.js +1 -1
- package/.next/server/app/exams/page.js.nft.json +1 -1
- package/.next/server/app/exams/page_client-reference-manifest.js +1 -1
- package/.next/server/app/favicon.ico/route.js +3 -2
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/import-batches/[id]/page/app-paths-manifest.json +3 -0
- package/.next/server/app/import-batches/[id]/page/build-manifest.json +22 -0
- package/.next/server/app/import-batches/[id]/page/next-font-manifest.json +11 -0
- package/.next/server/app/import-batches/[id]/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/import-batches/[id]/page/server-reference-manifest.json +4 -0
- package/.next/server/app/import-batches/[id]/page.js +14 -0
- package/.next/server/app/import-batches/[id]/page.js.map +5 -0
- package/.next/server/app/import-batches/[id]/page.js.nft.json +1 -0
- package/.next/server/app/import-batches/[id]/page_client-reference-manifest.js +3 -0
- package/.next/server/app/import-tasks/[id]/page/app-paths-manifest.json +3 -0
- package/.next/server/app/import-tasks/[id]/page/build-manifest.json +22 -0
- package/.next/server/app/import-tasks/[id]/page/next-font-manifest.json +11 -0
- package/.next/server/app/import-tasks/[id]/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/import-tasks/[id]/page/server-reference-manifest.json +4 -0
- package/.next/server/app/import-tasks/[id]/page.js +14 -0
- package/.next/server/app/import-tasks/[id]/page.js.map +5 -0
- package/.next/server/app/import-tasks/[id]/page.js.nft.json +1 -0
- package/.next/server/app/import-tasks/[id]/page_client-reference-manifest.js +3 -0
- package/.next/server/app/import-tasks/page/app-paths-manifest.json +3 -0
- package/.next/server/app/import-tasks/page/build-manifest.json +22 -0
- package/.next/server/app/import-tasks/page/next-font-manifest.json +11 -0
- package/.next/server/app/import-tasks/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/import-tasks/page/server-reference-manifest.json +4 -0
- package/.next/server/app/import-tasks/page.js +14 -0
- package/.next/server/app/import-tasks/page.js.map +5 -0
- package/.next/server/app/import-tasks/page.js.nft.json +1 -0
- package/.next/server/app/import-tasks/page_client-reference-manifest.js +3 -0
- package/.next/server/app/initialize/page.js.nft.json +1 -1
- package/.next/server/app/initialize/page_client-reference-manifest.js +1 -1
- 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/manifest.webmanifest/route.js +3 -2
- package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next/server/app/notebooks/[id]/add/page.js.nft.json +1 -1
- package/.next/server/app/notebooks/[id]/add/page_client-reference-manifest.js +1 -1
- package/.next/server/app/notebooks/[id]/page.js.nft.json +1 -1
- package/.next/server/app/notebooks/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/notebooks/page.js.nft.json +1 -1
- package/.next/server/app/notebooks/page_client-reference-manifest.js +1 -1
- 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/practice/page.js.nft.json +1 -1
- package/.next/server/app/practice/page_client-reference-manifest.js +1 -1
- package/.next/server/app/print-preview/page.js.nft.json +1 -1
- package/.next/server/app/print-preview/page_client-reference-manifest.js +1 -1
- package/.next/server/app/register/page.js.nft.json +1 -1
- package/.next/server/app/register/page_client-reference-manifest.js +1 -1
- package/.next/server/app/review/page.js.nft.json +1 -1
- package/.next/server/app/review/page_client-reference-manifest.js +1 -1
- package/.next/server/app/setup/page.js.nft.json +1 -1
- package/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/server/app/stats/page.js.nft.json +1 -1
- package/.next/server/app/stats/page_client-reference-manifest.js +1 -1
- package/.next/server/app/tags/page.js.nft.json +1 -1
- package/.next/server/app/tags/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +16 -0
- package/.next/server/chunks/1oeh_server_app_api_error-items_answer-space_route_actions_02_4xy5gtmofu.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_import-batches_[id]_confirm-all_route_actions_1u0e8at9dph0_.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_import-batches_[id]_fix-text_route_actions_0r7lg6-5j_fez.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_import-batches_[id]_read_route_actions_1nrzqz1at4s64.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_import-batches_[id]_retry_route_actions_1u5hn2zjw-sj-.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_import-batches_[id]_start_route_actions_1o5tg4uk8s-ch.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_import-tasks_[id]_confirm_route_actions_0cj5phaug2e76.js +3 -0
- package/.next/server/chunks/1oeh_server_app_api_import-tasks_[id]_retry_route_actions_1g7rekf8h4rkk.js +3 -0
- package/.next/server/chunks/{[externals]__0c36n-dcv5nqc._.js → [externals]__0fgpzedhhntg9._.js} +1 -1
- package/.next/server/chunks/[externals]__14rv088xdnlo4._.js +3 -0
- package/.next/server/chunks/{[externals]__1lhov-pp9xqtz._.js → [externals]__1i7c9m3y35e80._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0-f1ktua0hz_g._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0455yyxule6q_._.js → [root-of-the-server]__01-14hxale6jz._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0nw6t7u627b2m._.js → [root-of-the-server]__01mz72wf0po36._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__07uf7ctm4sjo4._.js → [root-of-the-server]__01rm65xnqj0z-._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0n0c-mpolar22._.js → [root-of-the-server]__029n0r2v92pcc._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__02ez4rqh6y7uu._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1d1gxff_c2o28._.js → [root-of-the-server]__02jcq4nj_tb6l._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__06lmwv-4d1slg._.js → [root-of-the-server]__02nbzp-n9g9_o._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0hm2dh8ziz93k._.js → [root-of-the-server]__02oqd6w58wymi._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__04pdmyloqh744._.js +5 -0
- package/.next/server/chunks/{[root-of-the-server]__0_ahztuh3lr_n._.js → [root-of-the-server]__05tyrbfzivoeq._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__06jad9cnzeci-._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0os8s3dtzx4gi._.js → [root-of-the-server]__08aldp-j0e_op._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__08crf3zxl7fnv._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0m8bcdajibej0._.js → [root-of-the-server]__092b1e081ocu6._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0vz0xv_w6vbpq._.js → [root-of-the-server]__092h03ec6f_1u._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__12fkzjxvspcin._.js → [root-of-the-server]__094fb72-14c6v._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1fj6upsvfxy4r._.js → [root-of-the-server]__0_fisu5brhyk_._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0_uvtfu0yr-na._.js +4 -4
- package/.next/server/chunks/[root-of-the-server]__0a13lncff9jx-._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1m8b6why7f1uj._.js → [root-of-the-server]__0a5qx2roo_50n._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__14wezz97rhtz9._.js → [root-of-the-server]__0ahnj8vp1pywj._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0b5mh_vi6e246._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0b5qyqwq6mk5v._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0b79cd6lae7ep._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0sxr-ing62eg7._.js → [root-of-the-server]__0bmczgpuggwki._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0cu5jz9b3f0i1._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0d31vt-7stly0._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0d818ux928r5h._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0dclcdg0hwxxj._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0u36j_9ml4et6._.js → [root-of-the-server]__0ddvoqy3a719u._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0e13o3ny66zb3._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0xqsrh251_yms._.js → [root-of-the-server]__0eba9rni-2_tw._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__18uhupcdidftm._.js → [root-of-the-server]__0fnte1x8xdn5o._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__11ztapi1pi7j-._.js → [root-of-the-server]__0fx0s5_6sjw-d._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0gphporvvjc0d._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0h3er81lqy7-3._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1ptzu7aqoga2n._.js → [root-of-the-server]__0hcbw1sliw973._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0hy5-7_ikat1_._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0i2mt6zjxbq--._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0ijmyxflggama._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0ijq_d0gr5zo8._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1f_lrxzw_n-6-._.js → [root-of-the-server]__0ik-49062qe6v._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0iqp1f0-yvbhw._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0j-1ri4yahq6t._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0k0c90ih7n0te._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__18z_cczwqkonn._.js → [root-of-the-server]__0kehix4ojdnhw._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__145w7mwgp8ujm._.js → [root-of-the-server]__0l30p58xnmw13._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0maxg52nxqrzi._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0ml-m3il4unb6._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0nujsu6qbn-8o._.js +4 -4
- package/.next/server/chunks/{[root-of-the-server]__1oedx4ko_1hl9._.js → [root-of-the-server]__0ob0n0xzc2--7._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__0rnr17a382rjx._.js → [root-of-the-server]__0opuw_bsktcnc._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__12cpc3g7-oi86._.js → [root-of-the-server]__0ptn9j1rleieh._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0rwxa2doabk45._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0s-etfexh0i4a._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0u3m78xhq8b3l._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__08t21dbk1cidn._.js → [root-of-the-server]__0v5o3aoha3nct._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__18nv1yn5xh03v._.js → [root-of-the-server]__0w53aflmo1keg._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0wdjzoxwwh6bn._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0wj82qshtrskw._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0wx65sza19ou-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0xasoo-1cispc._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__00kq2qcxfg-kq._.js → [root-of-the-server]__0xnu_7ck-z9do._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__0ym21tuxqrmc4._.js → [root-of-the-server]__0yv_kznxz5qzn._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0zldj8zxo-hvc._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__109pj952qxtan._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__121tnm6bol8ow._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__12u4jc5x2ss9k._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__13_k7w8nrx7ie._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__13ofz2qkhwdmd._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__00jyo3io99_dn._.js → [root-of-the-server]__14jpfgwnpc9gl._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__14m8fewwq1xs6._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1679e_8h0w86j._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__18tzik6wyd5b2._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__196oikyiyhn_9._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__19qwvtmhzhh9_._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__19wv3dxe-dx43._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1asgy7sah0mo6._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1av1l48rnghpa._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1azlmjwymm3nj._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1v1p83o4ygnyt._.js → [root-of-the-server]__1c5_00hz3u1z7._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1dom1le7wqh7d._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0btfk_sy3o9wa._.js → [root-of-the-server]__1drs4rr5x286d._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__1dtpezu7cisnu._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1eli1ues3akzx._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1fe2v2mv5-rgo._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1g6jrwm72xr8a._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1zwat9xocdoqz._.js → [root-of-the-server]__1h545soby66hi._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__1hk5kgctlp2wn._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ixotu0p11op8._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1j0l1jz1c3mpt._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1k4pnhbw4rgzs._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1lea5m7hl1n7f._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ll7fod21jjr6._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1m7pja8jp27eh._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1nv28fsr0vd5p._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1o_zqaie6w0vc._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1q-7krekgvk1w._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1rqu8zxkn8yj1._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ruzcenko2gi1._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1o9pbkx7ejxu0._.js → [root-of-the-server]__1s-y00c3-nc_-._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__1seev7pmug-hj._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__1n21o3aq7pxla._.js → [root-of-the-server]__1t6aypqxgjkg_._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1to25zgnk7xk-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1vbof6uu4he_-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1xkmo8s1c258u._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__0kmy5264opoz7._.js → [root-of-the-server]__1z56ua9u9hadc._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__1zc0bmdyn1lg4._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__207c97dbcdb0z._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__20cdqectwle3j._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__20dy4zclqbnw8._.js +3 -0
- package/.next/server/chunks/_01bayc6kg7upi._.js +3 -0
- package/.next/server/chunks/{_10tpt8iizl4v3._.js → _03dn7v_h3d-v8._.js} +8 -5
- package/.next/server/chunks/{_1dvka-waihfum._.js → _043-r529chcri._.js} +8 -5
- package/.next/server/chunks/_0431fxnqiloso._.js +1 -1
- package/.next/server/chunks/_04rjm4ctjqrba._.js +3 -0
- package/.next/server/chunks/_05ans30vcd4s-._.js +3 -0
- package/.next/server/chunks/_0_rhee7wb6tcg._.js +1 -1
- package/.next/server/chunks/_0ge95_bkwrkmc._.js +3 -0
- package/.next/server/chunks/_0lmh33cdt_1fr._.js +3 -0
- package/.next/server/chunks/_0pzdohc1mz5ts._.js +3 -0
- package/.next/server/chunks/_0suqhfy3e5sv6._.js +3 -0
- package/.next/server/chunks/_0xv7-7d6dyo9-._.js +3 -0
- package/.next/server/chunks/{_1wulydy4wg9ow._.js → _0xx4y9tk1qclc._.js} +2 -2
- package/.next/server/chunks/_0ymqtnritje40._.js +3 -0
- package/.next/server/chunks/_1-6i59jd1zhly._.js +11 -0
- package/.next/server/chunks/_12w5k19rc45j_._.js +1 -1
- package/.next/server/chunks/_1647rfjflw_iq._.js +3 -0
- package/.next/server/chunks/_1a1udq0c4_6ad._.js +1 -1
- package/.next/server/chunks/_1duugm0s3-6nw._.js +3 -0
- package/.next/server/chunks/_1gdet1v2zk2gy._.js +3 -0
- package/.next/server/chunks/_1hvmjv_7xksea._.js +3 -0
- package/.next/server/chunks/_1j10upti9l6da._.js +3 -0
- package/.next/server/chunks/{_11_p1ahjjply_._.js → _1pvqo-qnv-nqm._.js} +2 -2
- package/.next/server/chunks/{_0dicq393_0h3i._.js → _1rreh3rgx8xan._.js} +1 -1
- package/.next/server/chunks/_1s5-ldt8xhtpp._.js +1 -1
- package/.next/server/chunks/_1s55l1bx-1cxp._.js +3 -0
- package/.next/server/chunks/_1srq5kxah38r6._.js +3 -0
- package/.next/server/chunks/_1tahh9ric8la3._.js +3 -0
- package/.next/server/chunks/_1tvl0cm629nyc._.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_import-batches_[id]_route_actions_0_mc245t1pbwl.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_import-batches_route_actions_0pi56cpanyvac.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_import-tasks_[id]_read_route_actions_116wza5ukp0c2.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_import-tasks_[id]_route_actions_1fvi-v9pgzuli.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_import-tasks_route_actions_0d08bh7zurcp_.js +3 -0
- package/.next/server/chunks/node_modules_next_dist_0n2og9jackhd2._.js +54 -0
- package/.next/server/chunks/src_0bhf345rd7jho._.js +1 -1
- package/.next/server/chunks/src_lib_0_g_0q-n01g-x._.js +3 -0
- package/.next/server/chunks/src_lib_10is5pyogge95._.js +1 -1
- package/.next/server/chunks/src_lib_12j7n__96zd0q._.js +3 -0
- package/.next/server/chunks/src_lib_1_m3-y2t3e4xi._.js +80 -27
- package/.next/server/chunks/src_lib_1qvj-3jt4jbq7._.js +3 -0
- package/.next/server/chunks/src_lib_1xdguwkq8k_gz._.js +3 -0
- package/.next/server/chunks/src_lib_constants_pagination_ts_0tz3fg9ib3b-w._.js +1 -1
- package/.next/server/chunks/src_lib_import-batches_ts_0aekmggdwo_9-._.js +3 -0
- package/.next/server/chunks/src_lib_import-tasks_ts_1f4ejsy00-v1t._.js +3 -0
- package/.next/server/chunks/src_lib_question-analysis_ts_15_8r_pxmtd06._.js +3 -0
- package/.next/server/chunks/src_lib_question-deduplication_ts_1p1bik-vwl9ue._.js +1 -1
- package/.next/server/chunks/src_lib_tag-hierarchy_ts_1illun--8v3_9._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0_eqpxqkvkrs_._.js → [root-of-the-server]__00_c9kpvx5075._.js} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0_bi5ljcm1i1c._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0r_5r-242wwqy._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0d4mrtd9tdni-._.js → [root-of-the-server]__0vgnixmnie9dg._.js} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1l68oxzjvj18_._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1mrj6vygoasvv._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__1eu3xw3zls5xt._.js → [root-of-the-server]__1o5pa8m50qyqa._.js} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1ynp6nm1gttsf._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1zupg0zigit-2._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__2019hdxvtb4e0._.js +3 -0
- package/.next/server/chunks/ssr/_05szyj465au6e._.js +3 -0
- package/.next/server/chunks/ssr/_0cmd1ubdlo_by._.js +1 -1
- package/.next/server/chunks/ssr/_0f2k-q7kimi4o._.js +3 -0
- package/.next/server/chunks/ssr/_0ks-0g-tu__3m._.js +3 -0
- package/.next/server/chunks/ssr/_0lzeodofsq9pe._.js +1 -1
- package/.next/server/chunks/ssr/_0mvuvawj5-r--._.js +3 -0
- package/.next/server/chunks/ssr/_0nt5dm7rmsp4f._.js +3 -0
- package/.next/server/chunks/ssr/{_07-atqwd3wqya._.js → _0oslwj90y-3j0._.js} +1 -1
- package/.next/server/chunks/ssr/_0ozptnii2nxuw._.js +1 -1
- package/.next/server/chunks/ssr/_0s318kewgu2zg._.js +3 -0
- package/.next/server/chunks/ssr/_0ueequ0gysrs-._.js +3 -0
- package/.next/server/chunks/ssr/_15fdum1ye-k0z._.js +3 -0
- package/.next/server/chunks/ssr/_186fwf-hcr_ua._.js +8 -0
- package/.next/server/chunks/ssr/_19hxsrrruepym._.js +3 -0
- package/.next/server/chunks/ssr/{_1l_v9_8-5wv_d._.js → _1b8cip9y91_br._.js} +1 -1
- package/.next/server/chunks/ssr/_1hbrn0tcfh7hd._.js +3 -0
- package/.next/server/chunks/ssr/_1j3yr2arbxd6a._.js +3 -0
- package/.next/server/chunks/ssr/_1pdnzaad7hk0d._.js +8 -0
- package/.next/server/chunks/ssr/_1qgg_ll5hkjaf._.js +1 -9
- package/.next/server/chunks/ssr/_1ujx-n3muyaxs._.js +32 -0
- package/.next/server/chunks/ssr/_1ux6eqqkupo6v._.js +1 -9
- package/.next/server/chunks/ssr/_1w1qijzykerpu._.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_import-batches_[id]_page_actions_1hnz0a7dq8meb.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_import-tasks_[id]_page_actions_0ln1lwiey8bbi.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_import-tasks_page_actions_1h7cqbj1cojed.js +3 -0
- package/.next/server/chunks/ssr/node_modules_05hncuf8243qe._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_0b0fwrqs9v-g1._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_11z4lth_9u_hn._.js +2 -2
- package/.next/server/chunks/ssr/node_modules_17lx40fyvpom3._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_@radix-ui_1i8eumxju2gpw._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_heic-to_dist_csp_heic-to_1a1i_ppryp81y.js +3 -0
- package/.next/server/chunks/ssr/node_modules_heic-to_dist_csp_heic-to_1myi81wrj4gw4.js +3 -0
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_06p81-gtz_2cm._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1bq471wvtkwrl._.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0-4c5fuxx178f.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0d5g5-w_y282q.js +3 -0
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0pdc0gl8iqtfa.js +3 -0
- package/.next/server/chunks/ssr/node_modules_react-image-crop_dist_index_0khmp4mv3j9zr.js +3 -0
- package/.next/server/chunks/ssr/node_modules_zod_v4_classic_external_0n-w9zu3b6q41.js +57 -0
- package/.next/server/chunks/ssr/src_app_error-items_[id]_page_tsx_04xwwdmyh7_9q._.js +1 -1
- package/.next/server/chunks/ssr/src_app_exams_[id]_print_page_tsx_1i-xvhk8ul1l1._.js +6 -6
- package/.next/server/chunks/ssr/src_app_import-batches_[id]_page_tsx_0mhg_vriwmkkw._.js +3 -0
- package/.next/server/chunks/ssr/src_app_import-tasks_[id]_page_tsx_0_grj11-jdqqc._.js +3 -0
- package/.next/server/chunks/ssr/src_app_import-tasks_page_tsx_01983hytm-x08._.js +3 -0
- package/.next/server/chunks/ssr/src_app_notebooks_[id]_add_page_tsx_179tow1ql6vc_._.js +1 -1
- package/.next/server/chunks/ssr/src_app_page_tsx_1chiuahujsxm1._.js +1 -1
- package/.next/server/chunks/ssr/src_app_print-preview_page_tsx_001yt-fzrj7tf._.js +1 -1
- package/.next/server/chunks/ssr/src_components_correction-editor_tsx_1p7z02t66tndx._.js +6 -0
- package/.next/server/chunks/ssr/src_components_image-cropper_tsx_0pcp8-ifruyx-._.js +3 -0
- package/.next/server/chunks/ssr/src_components_import-tasks_import-task-card_tsx_01r47qh8ryspb._.js +3 -0
- package/.next/server/chunks/ssr/src_components_print-preview_answer-space-control_tsx_02kuswyxklzp_._.js +1 -31
- package/.next/server/chunks/ssr/src_components_providers_tsx_09kw-mv3nb6xs._.js +10 -64
- package/.next/server/chunks/ssr/src_lib_question-split_text_ts_0h4uz23xrlybm._.js +6 -0
- package/.next/server/middleware-build-manifest.js +36 -3
- package/.next/server/next-font-manifest.js +1 -1
- package/.next/server/next-font-manifest.json +12 -0
- package/.next/server/pages/500.html +1 -1
- package/.next/server/preview-props.json +3 -3
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/02wft51kf3t9f.js +1 -0
- package/.next/static/chunks/0_ar7dth9hybc.js +1 -0
- package/.next/static/chunks/0p6ox1l56khn2.js +3 -0
- package/.next/static/chunks/0x9-b30mhne-_.js +1 -0
- package/.next/static/chunks/{1g13qcek7-0du.js → 16h0nz5l970cx.js} +1 -1
- package/.next/static/chunks/1746y345zti-9.js +33 -0
- package/.next/static/chunks/1d0ltu2dk4a0v.js +1 -0
- package/.next/static/chunks/1hwk1kmheoccm.js +9 -0
- package/.next/static/chunks/1qj8u6q02qbty.js +1 -0
- package/.next/static/chunks/1rvm9ttct-w2q.css +3 -0
- package/.next/static/chunks/1upvap68fad8i.js +1 -0
- package/.next/static/chunks/21-zw9_-z7wy0.js +1 -0
- package/.next/static/chunks/210o9wkszynk8.js +55 -0
- package/.next/static/chunks/2467o8uezj--l.js +12 -0
- package/.next/static/chunks/26_q5epdikurm.js +1 -0
- package/.next/static/chunks/289znh7431pug.js +1 -0
- package/.next/static/chunks/2hh64gi4pmlk2.js +1 -0
- package/.next/static/chunks/2ic9ath-r3jvf.js +193 -0
- package/.next/static/chunks/2q9dw_3pa6om0.js +12 -0
- package/.next/static/chunks/3-se55-6uc0mx.js +2 -0
- package/.next/static/chunks/31-r0kqqw-wfd.js +6 -0
- package/.next/static/chunks/344kc1rli8fy-.js +1 -0
- package/.next/static/chunks/38fux_rbsoiif.js +1 -0
- package/.next/static/chunks/38vt_4ntvy02e.js +1 -0
- package/.next/static/chunks/3c3cp7uzfhnyr.js +1 -0
- package/.next/static/chunks/3gy-_kb72v5lr.js +1 -0
- package/.next/static/chunks/3jvftad10pwwg.js +9 -0
- package/.next/static/chunks/3lsj4waqfw7eq.js +1 -0
- package/.next/static/chunks/3wr-25ch-9chk.js +1 -0
- package/.next/static/chunks/4441xuc3i-yb7.js +1 -0
- package/package.json +1 -1
- package/prisma/migrations/20261102102339_add_custom_answer_space/migration.sql +5 -0
- package/prisma/migrations/20261103011313_add_import_tasks/migration.sql +37 -0
- package/prisma/migrations/20261103052754_add_import_batches/migration.sql +79 -0
- package/prisma/schema.prisma +77 -0
- package/prisma/seed.db +0 -0
- package/public/third-party-licenses/heic-to/GPL-3.0.txt +674 -0
- package/public/third-party-licenses/heic-to/NOTICE.txt +76 -0
- package/public/third-party-licenses/heic-to/emscripten-LICENSE.txt +102 -0
- package/public/third-party-licenses/heic-to/heic-to-LICENSE.txt +177 -0
- package/public/third-party-licenses/heic-to/libde265-1.0.16-COPYING.txt +871 -0
- package/public/third-party-licenses/heic-to/libheif-1.23.6-COPYING.txt +871 -0
- package/.next/server/chunks/[root-of-the-server]__01nvw5ogtwc0h._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__02dkbynj2vxld._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__05n74a-t4yfhk._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__05u_glm0nzz-u._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0c2729fcpi3-x._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0gaai286hkspk._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0jy-eooky8kei._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0kljn4jodzvqk._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0pn5idap1logb._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0tflqqgyujt1r._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0z99q93n88cro._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1-g1cu85bv1bg._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1-hfmp3groi95._.js +0 -56
- package/.next/server/chunks/[root-of-the-server]__10l89psqaisak._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1236d6g1_51pt._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__12_laap0hyw4p._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__13pd8ofsmrv7k._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__13zeb46abilr5._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__142g4s902bza-._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1460_07yt08m0._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__15mf1z85mft8d._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__15ypu4q7xi8ig._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1610s5zvyss1k._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__16864lw9bhmwl._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__19a62id_4lwka._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1b42xh9458czy._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1dreyiratyfvo._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1elqmd_7a9bto._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1gvnk0s0_zrpo._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1hwftfenrsu3p._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1lafe11jnkmlv._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1m1wi2f60x1fk._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1o-0-f8rlbavp._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1r7wz_id6mvlj._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1r_x7moz0opqt._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1rx3b8m_g_p57._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1wh65tfd7apxx._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1wsyku681k2uq._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1ximu6k5bljjj._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1yrozlry-psmk._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__20jkc-_5uj_zc._.js +0 -3
- package/.next/server/chunks/_03udbqs8_z944._.js +0 -3
- package/.next/server/chunks/_1_ns7o3cqznv6._.js +0 -3
- package/.next/server/chunks/_1rr_juv5pj1at._.js +0 -3
- package/.next/server/chunks/_1upqhtax8p96-._.js +0 -3
- package/.next/server/chunks/src_lib_0ximwux0rcb__._.js +0 -3
- package/.next/server/chunks/src_lib_1wm8ay-jqxakc._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0mf_ugip8jvfl._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1jhmaiw3yp6gx._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1x6b2a-bbo2py._.js +0 -3
- package/.next/server/chunks/ssr/_02zfjls23g-o4._.js +0 -3
- package/.next/server/chunks/ssr/_0j4vduk13imjn._.js +0 -3
- package/.next/server/chunks/ssr/_0ltqx22v65imo._.js +0 -32
- package/.next/server/chunks/ssr/_0tr-7klbcz1r7._.js +0 -3
- package/.next/server/chunks/ssr/_0yrywyu_og4rx._.js +0 -3
- package/.next/server/chunks/ssr/_1-i5cy964i_s9._.js +0 -3
- package/.next/server/chunks/ssr/_1-z85ugzufqk6._.js +0 -3
- package/.next/server/chunks/ssr/_10stgw6io7x93._.js +0 -3
- package/.next/server/chunks/ssr/_11xqn1cgzpe6k._.js +0 -3
- package/.next/server/chunks/ssr/_1cc3psc9rvrwn._.js +0 -3
- package/.next/server/chunks/ssr/_1hp7fzio98dms._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_0efju2pv0_0yw._.js +0 -3
- package/.next/static/chunks/01lfibj7hk--1.js +0 -1
- package/.next/static/chunks/06bfusm1eqhzt.js +0 -4
- package/.next/static/chunks/0fu1xttg42yzk.js +0 -1
- package/.next/static/chunks/0mp9tvylhyxid.js +0 -1
- package/.next/static/chunks/0xuzdy0dn7jkp.js +0 -63
- package/.next/static/chunks/1fa2xv93zl8oj.js +0 -1
- package/.next/static/chunks/1ou17klnb8gu_.js +0 -1
- package/.next/static/chunks/21v7--q2m3c4_.js +0 -1
- package/.next/static/chunks/22gdddnfj38h6.js +0 -1
- package/.next/static/chunks/2btkflolmab19.css +0 -3
- package/.next/static/chunks/2dml0yrklxocr.js +0 -31
- package/.next/static/chunks/2hjp9cnvepyzy.js +0 -247
- package/.next/static/chunks/2mu8zu6zd59z2.js +0 -1
- package/.next/static/chunks/2xibor-sxcc67.js +0 -1
- package/.next/static/chunks/3_e_larybjcr5.js +0 -1
- package/.next/static/chunks/3au-yz7ullfnr.js +0 -9
- package/.next/static/chunks/3zs0fu6zcu0lb.js +0 -1
- /package/.next/static/{-4YWb-OtqvHBsA28MaEog → vcaSyuwRLyplMa8bkQEcE}/_buildManifest.js +0 -0
- /package/.next/static/{-4YWb-OtqvHBsA28MaEog → vcaSyuwRLyplMa8bkQEcE}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{-4YWb-OtqvHBsA28MaEog → vcaSyuwRLyplMa8bkQEcE}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[[879675,a=>{var b=a.i(164831);let c={name:"save",size:24,node:[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],879675)},986708,a=>{var b=a.i(164831);let c={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],986708)},957292,a=>{a.i(986705),a.s(["f",0,function(a){if(!a)return null;let b=a.toLowerCase();return b.includes("math")||b.includes("数学")?"math":b.includes("physics")||b.includes("物理")?"physics":b.includes("chemistry")||b.includes("化学")?"chemistry":b.includes("biology")||b.includes("生物")?"biology":b.includes("english")||b.includes("英语")?"english":b.includes("chinese")||b.includes("语文")?"chinese":b.includes("history")||b.includes("历史")?"history":b.includes("geography")||b.includes("地理")?"geography":b.includes("politics")||b.includes("政治")?"politics":null}])}],750227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},59639,(a,b,c)=>{b.exports=a.x("node:process",()=>require("node:process"))},857764,(a,b,c)=>{b.exports=a.x("node:url",()=>require("node:url"))},627280,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_heic-to_dist_csp_heic-to_1a1i_ppryp81y.js"].map(b=>a.l(b))).then(()=>b(469425)))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__1mrj6vygoasvv._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module.exports=[[219107,a=>{var b=a.i(164831);let c={name:"arrow-left",size:24,node:[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],219107)},494478,a=>{var b=a.i(164831);let c={name:"circle-question-mark",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["help-circle","circle-help"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],494478)},88444,a=>{var b=a.i(164831);let c={name:"printer",size:24,node:[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],88444)},879675,a=>{var b=a.i(164831);let c={name:"save",size:24,node:[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],879675)},986708,a=>{var b=a.i(164831);let c={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],986708)},726319,a=>{var b=a.i(187924),c=a.i(786304),d=a.i(550194);let e={generating:"bg-blue-100 dark:bg-blue-900/40 text-blue-700 dark:text-blue-300 border-blue-200 dark:border-blue-900",ready:"bg-indigo-100 dark:bg-indigo-900/40 text-indigo-700 dark:text-indigo-300 border-indigo-200 dark:border-indigo-900",partial:"bg-amber-100 dark:bg-amber-900/40 text-amber-700 dark:text-amber-300 border-amber-200 dark:border-amber-900",failed:"bg-red-100 dark:bg-red-900/40 text-red-700 dark:text-red-300 border-red-200 dark:border-red-900",completed:"bg-green-100 dark:bg-green-900/40 text-green-700 dark:text-green-300 border-green-200 dark:border-green-900"};a.s(["f",0,function({status:a,recorded:f}){let{t:g}=(0,d.b)(),h=f&&("ready"===a||"partial"===a)?"completed":a;return(0,b.jsx)(c.f,{variant:"outline",className:e[h],children:g.exam.status[h]})}])},226897,a=>{var b=a.i(187924),c=a.i(79362),d=a.i(494478),e=a.i(211134),f=a.i(550194);let g=[{value:"correct",icon:c.f,active:"border-green-600 bg-green-50 dark:bg-green-950/40 text-green-700 dark:text-green-300"},{value:"wrong",icon:e.f,active:"border-red-600 bg-red-50 dark:bg-red-950/40 text-red-700 dark:text-red-300"},{value:"not_attempted",icon:d.f,active:"border-amber-600 bg-amber-50 dark:bg-amber-950/40 text-amber-700 dark:text-amber-300"}];a.s(["f",0,function({value:a,onChange:c,disabled:d,size:e="md"}){let{t:h}=(0,f.b)(),i="sm"===e?"px-2 py-1 text-xs":"px-3 py-2 text-sm";return(0,b.jsx)("div",{className:"grid grid-cols-3 gap-2",role:"radiogroup",children:g.map(({value:f,icon:g,active:j})=>(0,b.jsxs)("button",{type:"button",role:"radio","aria-checked":a===f,disabled:d,onClick:()=>c(f),className:`flex items-center justify-center gap-1 rounded-md border font-medium transition-colors disabled:opacity-60 ${i} ${a===f?j:"border-input hover:bg-muted"}`,children:[(0,b.jsx)(g,{className:"sm"===e?"h-3 w-3":"h-4 w-4"}),h.mastery.results[f]]},f))})}])},695001,a=>{var b=a.i(187924),c=a.i(50944),d=a.i(699570),e=a.i(219107);a.s(["f",0,function({fallbackUrl:a,className:f}){let g=(0,c.useRouter)();return(0,b.jsx)(d.f,{variant:"ghost",size:"icon",onClick:()=>{g.push(a)},className:f,children:(0,b.jsx)(e.f,{className:"h-5 w-5"})})}])},506376,a=>{var b=a.i(187924),c=a.i(875160);a.s(["f",0,function({label:a}){return(0,b.jsxs)("div",{className:"flex min-h-[50vh] flex-col items-center justify-center gap-3 text-muted-foreground",children:[(0,b.jsx)(c.f,{className:"h-7 w-7 animate-spin text-primary"}),a&&(0,b.jsx)("p",{className:"text-sm",children:a})]})}])},557999,a=>{var b=a.i(572131),c=a.i(550194);a.s(["f",0,function(...a){let{t:d}=(0,c.b)(),e=[d.pageTitle.base,...a.map(a=>"string"==typeof a?a.trim():"").filter(a=>a.length>0)].join("-");(0,b.useEffect)(()=>{document.title=e},[e])}])}],750227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},59639,(a,b,c)=>{b.exports=a.x("node:process",()=>require("node:process"))},857764,(a,b,c)=>{b.exports=a.x("node:url",()=>require("node:url"))}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__1o5pa8m50qyqa._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[[800717,(a,b,c)=>{b.exports=a.r(924951).vendored["react-rsc"].React},68611,a=>{let b={src:a.i(110585).default,width:256,height:256};a.s(["default",0,b])},913358,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/import-tasks/page.tsx 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]/src/app/import-tasks/page.tsx","default");a.s(["default",0,b])},531374,a=>{var b=a.i(913358);a.n(b)}],254799,(a,b,c)=>{b.exports=a.x("crypto",()=>require("crypto"))},120635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},324725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},556704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},559043,(a,b,c)=>{b.exports=a.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},81111,(a,b,c)=>{b.exports=a.x("node:stream",()=>require("node:stream"))},727028,(a,b,c)=>{b.exports=a.x("node:zlib",()=>require("node:zlib"))},224361,(a,b,c)=>{b.exports=a.x("util",()=>require("util"))},914465,(a,b,c)=>{(()=>{"use strict";var a={86:a=>{a.exports=function(a,b){return"string"==typeof a?g(a):"number"==typeof a?f(a,b):null},a.exports.format=f,a.exports.parse=g;var b=/\B(?=(\d{3})+(?!\d))/g,c=/(?:\.0*|(\.[^0]+)0+)$/,d={b:1,kb:1024,mb:1048576,gb:0x40000000,tb:0x10000000000,pb:0x4000000000000},e=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function f(a,e){if(!Number.isFinite(a))return null;var f=Math.abs(a),g=e&&e.thousandsSeparator||"",h=e&&e.unitSeparator||"",i=e&&void 0!==e.decimalPlaces?e.decimalPlaces:2,j=!!(e&&e.fixedDecimals),k=e&&e.unit||"";k&&d[k.toLowerCase()]||(k=f>=d.pb?"PB":f>=d.tb?"TB":f>=d.gb?"GB":f>=d.mb?"MB":f>=d.kb?"KB":"B");var l=(a/d[k.toLowerCase()]).toFixed(i);return j||(l=l.replace(c,"$1")),g&&(l=l.split(".").map(function(a,c){return 0===c?a.replace(b,g):a}).join(".")),l+h+k}function g(a){if("number"==typeof a&&!isNaN(a))return a;if("string"!=typeof a)return null;var b,c=e.exec(a),f="b";return c?(b=parseFloat(c[1]),f=c[4].toLowerCase()):(b=parseInt(a,10),f="b"),Math.floor(d[f]*b)}}},c={};function d(b){var e=c[b];if(void 0!==e)return e.exports;var f=c[b]={exports:{}},g=!0;try{a[b](f,f.exports,d),g=!1}finally{g&&delete c[b]}return f.exports}d.ab="/ROOT/node_modules/next/dist/compiled/bytes/",b.exports=d(86)})()},110585,a=>{a.v("/_next/static/media/favicon.2vob68tjqpejf.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},869779,function(a){a.n(a.i(531374))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__1ynp6nm1gttsf._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[[800717,(a,b,c)=>{b.exports=a.r(924951).vendored["react-rsc"].React},68611,a=>{let b={src:a.i(110585).default,width:256,height:256};a.s(["default",0,b])},744386,a=>{let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/import-tasks/[id]/page.tsx 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]/src/app/import-tasks/[id]/page.tsx","default");a.s(["default",0,b])},668418,a=>{var b=a.i(744386);a.n(b)}],254799,(a,b,c)=>{b.exports=a.x("crypto",()=>require("crypto"))},120635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},324725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},556704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},559043,(a,b,c)=>{b.exports=a.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},81111,(a,b,c)=>{b.exports=a.x("node:stream",()=>require("node:stream"))},727028,(a,b,c)=>{b.exports=a.x("node:zlib",()=>require("node:zlib"))},224361,(a,b,c)=>{b.exports=a.x("util",()=>require("util"))},914465,(a,b,c)=>{(()=>{"use strict";var a={86:a=>{a.exports=function(a,b){return"string"==typeof a?g(a):"number"==typeof a?f(a,b):null},a.exports.format=f,a.exports.parse=g;var b=/\B(?=(\d{3})+(?!\d))/g,c=/(?:\.0*|(\.[^0]+)0+)$/,d={b:1,kb:1024,mb:1048576,gb:0x40000000,tb:0x10000000000,pb:0x4000000000000},e=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function f(a,e){if(!Number.isFinite(a))return null;var f=Math.abs(a),g=e&&e.thousandsSeparator||"",h=e&&e.unitSeparator||"",i=e&&void 0!==e.decimalPlaces?e.decimalPlaces:2,j=!!(e&&e.fixedDecimals),k=e&&e.unit||"";k&&d[k.toLowerCase()]||(k=f>=d.pb?"PB":f>=d.tb?"TB":f>=d.gb?"GB":f>=d.mb?"MB":f>=d.kb?"KB":"B");var l=(a/d[k.toLowerCase()]).toFixed(i);return j||(l=l.replace(c,"$1")),g&&(l=l.split(".").map(function(a,c){return 0===c?a.replace(b,g):a}).join(".")),l+h+k}function g(a){if("number"==typeof a&&!isNaN(a))return a;if("string"!=typeof a)return null;var b,c=e.exec(a),f="b";return c?(b=parseFloat(c[1]),f=c[4].toLowerCase()):(b=parseInt(a,10),f="b"),Math.floor(d[f]*b)}}},c={};function d(b){var e=c[b];if(void 0!==e)return e.exports;var f=c[b]={exports:{}},g=!0;try{a[b](f,f.exports,d),g=!1}finally{g&&delete c[b]}return f.exports}d.ab="/ROOT/node_modules/next/dist/compiled/bytes/",b.exports=d(86)})()},110585,a=>{a.v("/_next/static/media/favicon.2vob68tjqpejf.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},448111,function(a){a.n(a.i(668418))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__1zupg0zigit-2._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[[97546,a=>{var b=a.i(164831);let c={name:"circle-alert",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],97546)},879675,a=>{var b=a.i(164831);let c={name:"save",size:24,node:[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],879675)},957292,a=>{a.i(986705),a.s(["f",0,function(a){if(!a)return null;let b=a.toLowerCase();return b.includes("math")||b.includes("数学")?"math":b.includes("physics")||b.includes("物理")?"physics":b.includes("chemistry")||b.includes("化学")?"chemistry":b.includes("biology")||b.includes("生物")?"biology":b.includes("english")||b.includes("英语")?"english":b.includes("chinese")||b.includes("语文")?"chinese":b.includes("history")||b.includes("历史")?"history":b.includes("geography")||b.includes("地理")?"geography":b.includes("politics")||b.includes("政治")?"politics":null}])}],750227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},59639,(a,b,c)=>{b.exports=a.x("node:process",()=>require("node:process"))},857764,(a,b,c)=>{b.exports=a.x("node:url",()=>require("node:url"))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__2019hdxvtb4e0._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[833354,(a,b,c)=>{c._=function(a){return a&&a.__esModule?a:{default:a}}},895605,a=>{var b=a.i(164831);let c={name:"calendar-check",size:24,node:[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],895605)},283248,a=>{var b=a.i(164831);let c={name:"chart-column",size:24,node:[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],aliases:["bar-chart-3"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],283248)},141146,a=>{var b=a.i(164831);let c={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],141146)},79362,a=>{var b=a.i(164831);let c={name:"circle-check-big",size:24,node:[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],aliases:["check-circle"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],79362)},211134,a=>{var b=a.i(164831);let c={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],211134)},536670,a=>{var b=a.i(164831);let c={name:"download",size:24,node:[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],536670)},168370,a=>{var b=a.i(164831);let c={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],168370)},777064,a=>{var b=a.i(164831);let c={name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],777064)},483138,930363,a=>{var b=a.i(164831);let c={name:"file-text",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],483138);var e=a.i(785389);a.s(["f",()=>e.f],930363)},357204,a=>{var b=a.i(164831);let c={name:"languages",size:24,node:[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],357204)},505004,a=>{var b=a.i(164831);let c={name:"monitor",size:24,node:[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],505004)},403512,a=>{var b=a.i(164831);let c={name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],403512)},780767,a=>{var b=a.i(164831);let c={name:"scan-text",size:24,node:[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 8h8",key:"1jbsf9"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h6",key:"1vyc9m"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],780767)},344451,a=>{var b=a.i(164831);let c={name:"user",size:24,node:[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],344451)},785389,a=>{var b=a.i(164831);let c={name:"wand-sparkles",size:24,node:[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],aliases:["wand-2"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d])},540553,a=>{a.s(["f",0,function(){return null}])},424235,a=>{a.s(["f",0,"https://github.com/margrop/wrong-notebook"])},249479,a=>{a.s(["z",0,50,"o",0,100,"P",0,1,"m",0,function(a,b=50){return"number"==typeof a&&a>=b/100}])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_05szyj465au6e._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[557230,563658,a=>{var b=a.i(164831);let c={name:"log-out",size:24,node:[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],557230);var e=a.i(187924),f=a.i(572131),g=a.i(507554),h=a.i(470121),i=a.i(750104),j=a.i(225152),k=a.i(3688),l=a.i(30553),m=Object.defineProperty,n=(a,b)=>m(a,"name",{value:b,configurable:!0}),o="Switch",[p,q]=(0,i.f)(o),[r,s]=p(o);function t(a){let{__scopeSwitch:b,checked:c,children:d,defaultChecked:g,disabled:h,form:i,name:k,onCheckedChange:l,required:m,value:n="on",internal_do_not_use_render:p}=a,[q,s]=(0,j.f)({prop:c,defaultProp:g??!1,onChange:l,caller:o}),[t,u]=f.useState(null),[v,w]=f.useState(null),[x,z]=f.useState(null),A=!t||!!i||!!t.closest("form"),B={checked:q,setChecked:s,disabled:h,control:t,setControl:u,name:k,form:i,value:n,userClick:x,onUserClick:z,required:m,defaultChecked:g,isFormControl:A,bubbleInput:v,setBubbleInput:w};return(0,e.jsx)(r,{scope:b,...B,children:y(p)?p(B):d})}n(t,"SwitchProvider");var u=f.forwardRef(n(function({__scopeSwitch:a,onClick:b,...c},d){let{control:i,form:j,value:k,disabled:m,checked:o,required:p,setControl:q,setChecked:r,onUserClick:t,isFormControl:u,bubbleInput:v}=s("SwitchTrigger",a),w=(0,h.f)(d,q),x=f.useRef(o);return f.useEffect(()=>{let a=j?i?.ownerDocument.getElementById(j):i?.form;if(a instanceof HTMLFormElement){let b=n(()=>r(x.current),"reset");return a.addEventListener("reset",b),()=>a.removeEventListener("reset",b)}},[i,j,r]),(0,e.jsx)(l.V.button,{type:"button",role:"switch","aria-checked":o,"aria-required":p,"data-state":z(o),"data-disabled":m?"":void 0,disabled:m,value:k,...c,ref:w,onClick:(0,g.f)(b,a=>{let b=a.isPropagationStopped();t({requestedChecked:!o,hasConsumerStoppedPropagation:b}),r(a=>!a),v&&u&&!b&&a.stopPropagation()})})},"SwitchTrigger")),v=f.forwardRef(n(function(a,b){let{__scopeSwitch:c,name:d,checked:f,defaultChecked:g,required:h,disabled:i,value:j,onCheckedChange:k,form:l,...m}=a;return(0,e.jsx)(t,{__scopeSwitch:c,checked:f,defaultChecked:g,disabled:i,required:h,onCheckedChange:k,name:d,form:l,value:j,internal_do_not_use_render:({isFormControl:a})=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(u,{...m,ref:b,__scopeSwitch:c}),a&&(0,e.jsx)(x,{__scopeSwitch:c})]})})},"Switch")),w=f.forwardRef(n(function(a,b){let{__scopeSwitch:c,...d}=a,f=s("SwitchThumb",c);return(0,e.jsx)(l.V.span,{"data-state":z(f.checked),"data-disabled":f.disabled?"":void 0,...d,ref:b})},"SwitchThumb")),x=f.forwardRef(n(function({__scopeSwitch:a,onClick:b,...c},d){let{control:i,userClick:j,checked:m,defaultChecked:n,required:o,disabled:p,name:q,value:r,form:t,bubbleInput:u,setBubbleInput:v}=s("SwitchBubbleInput",a),w=(0,h.f)(d,v),x=(0,k.f)(i),y=f.useRef(!1),z=f.useRef(m),A=f.useRef(j),B=f.useRef(null);f.useEffect(()=>{if(!u)return;let a=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(!a)return;let b=z.current!==m;z.current=m;let c=null!==j&&j!==A.current;if(A.current=j,c)B.current=b?null:j,b&&a.call(u,m),u.dispatchEvent(new Event("click",{bubbles:!j.hasConsumerStoppedPropagation}));else if(b){let b=B.current;B.current=null;let c=b?.requestedChecked===m;y.current=!0,a.call(u,m),u.dispatchEvent(new Event("click",{bubbles:!(c&&b.hasConsumerStoppedPropagation)})),y.current=!1}},[u,m,j]);let C=f.useRef(m);return(0,e.jsx)(l.V.input,{type:"checkbox","aria-hidden":!0,defaultChecked:n??C.current,required:o,disabled:p,name:q,value:r,form:t,...c,tabIndex:-1,ref:w,onClick:(0,g.f)(b,a=>{y.current&&a.stopPropagation()}),style:{...c.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function y(a){return"function"==typeof a}function z(a){return a?"checked":"unchecked"}n(y,"isFunction"),n(z,"getState");var A=a.i(368114);let B=f.forwardRef(({className:a,...b},c)=>(0,e.jsx)(v,{className:(0,A.f)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",a),...b,ref:c,children:(0,e.jsx)(w,{className:(0,A.f)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));B.displayName=v.displayName,a.s(["f",0,B],563658)},144952,613412,206194,190622,a=>{var b=a.i(187924),c=a.i(572131),d=a.i(164831);let e={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};e.node;let f=(0,d.f)(e);a.s(["f",0,f],613412);var g=a.i(875160),h=a.i(211134);let i={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};i.node;let j=(0,d.f)(i);var k=a.i(699570),l=a.i(550194);function m({detail:a}){let{t:c}=(0,l.b)();return a?(0,b.jsxs)("p",{className:"mt-1 rounded bg-background/60 px-2 py-1 font-mono text-[11px] leading-relaxed text-red-700 dark:text-red-300 break-all select-text",children:[(0,b.jsx)("span",{className:"font-sans text-muted-foreground",children:c.settings.ai.providerErrorDetail}),a]}):null}a.s(["f",0,m],206194);let n={minimax:{name:"MiniMax",nameEn:"MiniMax",baseUrl:"https://api.minimax.cn/v1",model:"MiniMax-M3.1-Flash",envPrefix:"MINIMAX",consoleUrl:"https://platform.minimax.cn",docs:{cn:"https://platform.minimax.cn/docs/api-reference/api-overview",intl:"https://platform.minimax.io/docs/api-reference/api-overview",apiKey:"https://platform.minimax.cn/docs/guides/quickstart-preparation",models:"https://platform.minimax.cn/docs/guides/models-intro"}},glm:{name:"智谱 GLM",nameEn:"Zhipu GLM",baseUrl:"https://open.bigmodel.cn/api/paas/v4",model:"glm-5.3-flash",envPrefix:"GLM",consoleUrl:"https://open.bigmodel.cn",docs:{cn:"https://docs.bigmodel.cn/cn/guide/start/quick-start",intl:"https://docs.z.ai/guides/overview/quick-start",apiKey:"https://docs.bigmodel.cn/cn/guide/start/quick-start",models:"https://docs.bigmodel.cn/cn/guide/start/model-overview"}},deepseek:{name:"DeepSeek",nameEn:"DeepSeek",baseUrl:"https://api.deepseek.com",model:"deepseek-v4-flash",envPrefix:"DEEPSEEK",consoleUrl:"https://platform.deepseek.com",docs:{cn:"https://api-docs.deepseek.com/zh-cn/",apiKey:"https://api-docs.deepseek.com/zh-cn/",models:"https://api-docs.deepseek.com/zh-cn/quick_start/pricing"}},kimi:{name:"Kimi",nameEn:"Kimi",baseUrl:"https://api.moonshot.cn/v1",model:"kimi-k3.1-pro",envPrefix:"KIMI",consoleUrl:"https://platform.kimi.com",docs:{cn:"https://platform.moonshot.cn/docs/introduction",intl:"https://platform.moonshot.ai/docs/introduction",apiKey:"https://platform.moonshot.cn/docs/introduction",models:"https://platform.moonshot.cn/docs/pricing/chat"}},qwen:{name:"千问 Qwen",nameEn:"Qwen",baseUrl:"https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1",model:"qwen3.8-max",envPrefix:"QWEN",consoleUrl:"https://bailian.console.aliyun.com",docs:{cn:"https://help.aliyun.com/zh/model-studio/token-plan-personal-quick-start",intl:"https://www.alibabacloud.com/help/en/model-studio/token-plan-personal-quick-start",apiKey:"https://help.aliyun.com/zh/model-studio/token-plan-personal-quick-start",models:"https://help.aliyun.com/zh/model-studio/models"}},stepfun:{name:"阶跃星辰 StepFun",nameEn:"StepFun",baseUrl:"https://api.stepfun.com/step_plan/v1",model:"step-5-preview",envPrefix:"STEPFUN",consoleUrl:"https://platform.stepfun.com",docs:{cn:"https://platform.stepfun.com/docs/zh/guides/developer/openai",intl:"https://platform.stepfun.ai/docs/en/guides/developer/openai",apiKey:"https://platform.stepfun.com/docs/zh/guides/developer/openai",models:"https://platform.stepfun.com/docs/zh/guides/models/list"}},volcengine:{name:"火山引擎 豆包",nameEn:"Volcengine Doubao",baseUrl:"https://ark.cn-beijing.volces.com/api/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1330626",intl:"https://docs.byteplus.com/en/docs/ModelArk/1330626",apiKey:"https://www.volcengine.com/docs/82379/1541594",models:"https://www.volcengine.com/docs/82379/1330310"}},"volcengine-agent":{name:"火山引擎 Agent Plan",nameEn:"Volcengine Agent Plan",baseUrl:"https://ark.cn-beijing.volces.com/api/plan/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE_AGENT",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://ark.volcengine.com/region:cn-beijing/docs/82379/2160841?lang=zh",apiKey:"https://ark.volcengine.com/region:cn-beijing/docs/82379/2160841?lang=zh",models:"https://www.volcengine.com/docs/82379/2366394"}},"volcengine-coding":{name:"火山引擎 Coding Plan",nameEn:"Volcengine Coding Plan",baseUrl:"https://ark.cn-beijing.volces.com/api/coding/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE_CODING",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1928261",apiKey:"https://www.volcengine.com/docs/82379/1928261",models:"https://www.volcengine.com/docs/82379/1928261"}},"volcengine-free":{name:"火山引擎(免费试用)",nameEn:"Volcengine (free trial)",baseUrl:"https://ark.cn-beijing.volces.com/api/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE_FREE",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1399514",apiKey:"https://www.volcengine.com/docs/82379/1541594",models:"https://www.volcengine.com/docs/82379/1330310"}}},o=Object.keys(n);function p(a){return"string"==typeof a&&Object.prototype.hasOwnProperty.call(n,a)}a.s(["$",0,n,"U",0,o,"z",0,function(a,b){let c=n[a];return"zh"===b?c.name:c.nameEn},"j",0,p,"k",0,function(a,b){let c=n[a];return{apiKey:b?.apiKey||"",baseUrl:b?.baseUrl||c.baseUrl,model:b?.model||c.model}}],190622);var q=a.i(291938),r=a.i(960927),s=a.i(630534);a.s(["f",0,function({config:a,saving:d,saveButton:e}){let{t:i,language:n}=(0,l.b)(),[o,t]=(0,c.useState)(!1),[u,v]=(0,c.useState)(null),w=a=>i.settings?.ai?.errors?.[a]||a.replace("UNKNOWN:",""),x=async()=>{let b=function(a,b){let c=a.aiProvider;if("openai"===c){let d=a.openai?.instances?.find(b=>b.id===a.openai?.activeInstanceId);return d?.apiKey?{ok:!0,body:{provider:c,apiKey:d.apiKey,baseUrl:d.baseUrl,model:d.model,language:b}}:{ok:!1,error:"API_KEY_REQUIRED"}}if("azure"===c){let d=a.azure;return d?.apiKey&&d.endpoint&&d.deploymentName?{ok:!0,body:{provider:c,apiKey:d.apiKey,endpoint:d.endpoint,deploymentName:d.deploymentName,apiVersion:d.apiVersion,model:d.model,language:b}}:{ok:!1,error:"AZURE_CONFIG_INCOMPLETE"}}if("minimax-code"===c)return{ok:!0,body:{provider:c,model:a.minimaxCode?.model,language:b}};if("gemini"===c||"anthropic"===c||p(c)){let d=a[c];return d?.apiKey?{ok:!0,body:{provider:c,apiKey:d.apiKey,baseUrl:d.baseUrl,model:d.model,language:b}}:{ok:!1,error:"API_KEY_REQUIRED"}}return{ok:!1,error:"UNSUPPORTED_PROVIDER"}}(a,n);if(!b.ok){if("UNSUPPORTED_PROVIDER"===b.error)return;v({success:!1,textSupport:!1,visionSupport:!1,textError:"AZURE_CONFIG_INCOMPLETE"===b.error?i.settings?.ai?.validationAzureEndpointRequired||"Azure config is incomplete":i.settings?.ai?.validationApiKeyRequired||"API Key is required"});return}t(!0),v(null);try{v(await q.k.post("/api/ai/test",b.body))}catch(a){s.V.error("[AiConnectionTest]","AI connection test failed",{error:a}),v({success:!1,textSupport:!1,visionSupport:!1,textError:(0,r.Z)(a)})}finally{t(!1)}};return(0,b.jsxs)("div",{className:"space-y-3 pt-3 border-t",children:[(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsxs)(k.f,{type:"button",variant:"outline",onClick:x,disabled:o||d,className:"flex-1",children:[o?(0,b.jsx)(g.f,{className:"mr-2 h-4 w-4 animate-spin"}):(0,b.jsx)(j,{className:"mr-2 h-4 w-4"}),o?i.settings?.ai?.testing||"Testing...":i.settings?.ai?.testConnection||"Test Connection"]}),e]}),u&&(0,b.jsxs)("div",{className:`p-3 rounded-md text-sm ${u.success?"bg-green-50 dark:bg-green-950/40 border border-green-200 dark:border-green-900":"bg-red-50 dark:bg-red-950/40 border border-red-200 dark:border-red-900"}`,children:[(0,b.jsx)("div",{className:"flex items-center gap-2 font-medium mb-2",children:u.success?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(f,{className:"h-4 w-4 text-green-600"}),(0,b.jsx)("span",{className:"text-green-700 dark:text-green-300",children:i.settings?.ai?.testSuccess||"Connection Successful"}),u.modelInfo&&(0,b.jsxs)("span",{className:"text-green-600 text-xs",children:["(",u.modelInfo,")"]})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(h.f,{className:"h-4 w-4 text-red-600"}),(0,b.jsx)("span",{className:"text-red-700 dark:text-red-300",children:i.settings?.ai?.testFailed||"Connection Failed"})]})}),u.success&&(0,b.jsxs)("div",{className:"space-y-1 text-xs",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsxs)("span",{className:"text-muted-foreground",children:[i.settings?.ai?.textSupport||"Text Generation",":"]}),(0,b.jsxs)("span",{className:"text-green-600",children:["✓ ",i.settings?.ai?.supported||"Supported"]})]}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsxs)("span",{className:"text-muted-foreground",children:[i.settings?.ai?.visionSupport||"Vision/Multimodal",":"]}),u.visionSupport?(0,b.jsxs)("span",{className:"text-green-600",children:["✓ ",i.settings?.ai?.supported||"Supported"]}):(0,b.jsxs)("span",{className:"text-amber-600",children:["✗ ",u.visionError?w(u.visionError):i.settings?.ai?.notSupported||"Not Supported"]})]}),!u.visionSupport&&(0,b.jsx)(m,{detail:u.visionErrorDetail}),(0,b.jsx)("p",{className:"text-muted-foreground/60 text-[10px] pl-1",children:i.settings?.ai?.testNetworkNote})]}),!u.success&&u.textError&&(0,b.jsx)("p",{className:"text-red-600 text-xs mt-1",children:w(u.textError)}),!u.success&&(0,b.jsx)(m,{detail:u.textErrorDetail})]})]})}],144952)},151304,439830,a=>{var b=a.i(187924),c=a.i(875160),d=a.i(699570),e=a.i(870430),f=a.i(580701),g=a.i(144952),h=a.i(492710),i=a.i(612416),j=a.i(340898),k=a.i(168370),l=a.i(474896),m=a.i(557230),n=a.i(519783),o=a.i(786304),p=a.i(866718),q=a.i(895605),r=a.i(563658),s=a.i(550194),t=a.i(529759),u=a.i(986705);function v({checkin:a,autoCheckin:f,onAutoCheckinChange:g,busy:h,onCheckin:i}){let j,{t:k}=(0,s.b)(),{timeZone:l}=(0,t.M)(),m=k.settings?.ai?.minimaxCode,{today:n,last:p}=a,w=p&&"failed"!==p.status?p:null,x=!!(n?.checkedToday||w),y=String(w?.points??(n?n.points+n.bonusPoints:0)),z=String(w?.streakDays??n?.streakDays??0);return j=w?.trigger==="auto"&&"checked-in"===w.status?(m?.checkinAuto||"Checked in automatically today at {time} (+{points} credits, day {days} in a row)").replace("{time}",(0,u.r)(w.at,"HH:mm",l)).replace("{points}",y).replace("{days}",z):x?(m?.checkinDone||"Checked in today (+{points} credits, day {days} in a row)").replace("{points}",y).replace("{days}",z):p?.status==="failed"?(m?.checkinFailed||"Check-in failed: {error}").replace("{error}",p.error||""):a.autoCheckin?m?.checkinWillAuto||"Not checked in yet today. The app will check in automatically within the hour.":m?.checkinNotYet||"Not checked in yet today",(0,b.jsxs)("div",{className:"space-y-3 border-t pt-3",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 text-sm",children:[(0,b.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,b.jsx)("span",{className:"text-muted-foreground",children:m?.checkinToday||"Today's check-in"}),(0,b.jsxs)(o.f,{variant:x?"default":p?.status==="failed"?"destructive":"secondary",children:[(0,b.jsx)(q.f,{className:"mr-1 h-3 w-3"}),x?m?.checkinSuccess||"Checked in":m?.checkinNotYet||"Not yet"]})]}),!x&&(0,b.jsxs)(d.f,{size:"sm",variant:"outline",onClick:i,disabled:h,children:[h&&(0,b.jsx)(c.f,{className:"mr-2 h-4 w-4 animate-spin"}),m?.checkinNow||"Check in now"]})]}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground break-words",children:j}),(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)(e.f,{htmlFor:"minimax-code-auto-checkin",children:m?.autoCheckin||"Daily auto check-in"}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:m?.autoCheckinHint})]}),(0,b.jsx)(r.f,{id:"minimax-code-auto-checkin",checked:f,onCheckedChange:g})]})]})}let w=["MiniMax-M3.1-Flash","MiniMax-M3","MiniMax-M2.7-highspeed","MiniMax-M2.7"];var x=a.i(572131),y=a.i(291938),z=a.i(960927),A=a.i(710302),B=a.i(630534);function C({value:a,onChange:f}){let{t:g}=(0,s.b)(),h=g.settings?.ai?.minimaxCode,{status:i,loading:j,pending:q,busy:r,refresh:t,login:u,logout:D,checkin:E}=function(){let{t:a}=(0,s.b)(),b=a.settings?.ai?.minimaxCode,[c,d]=(0,x.useState)(null),[e,f]=(0,x.useState)(!0),[g,h]=(0,x.useState)(null),[i,j]=(0,x.useState)(!1),k=(0,x.useRef)(null),l=(0,x.useCallback)(async()=>{f(!0);try{let a=await y.k.get("/api/minimax-code");d(a),a.pendingLogin&&h(a.pendingLogin)}catch(a){B.V.error("[MiniMaxCode]","Failed to load status",{error:a})}finally{f(!1)}},[]);(0,x.useEffect)(()=>{l()},[l]),(0,x.useEffect)(()=>{if(!g)return;let a=!1,c=async()=>{try{let d=await y.k.get("/api/minimax-code/login");if(a)return;if("pending"===d.status){k.current=setTimeout(c,g.intervalMs);return}h(null),"ok"===d.status?A.c.success(b?.loginSuccess||"Signed in"):"expired"===d.status?A.c.error(b?.loginExpired||"Authorization timed out"):"denied"===d.status&&A.c.error(b?.loginDenied||"Authorization declined"),l()}catch(c){if(a)return;h(null),A.c.error(`${b?.loginFailed||"Sign-in failed"}: ${(0,z.Z)(c)}`)}};return k.current=setTimeout(c,g.intervalMs),()=>{a=!0,k.current&&clearTimeout(k.current)}},[g,l,b]);let m=async()=>{j(!0);try{await y.k.delete("/api/minimax-code"),h(null),await l()}catch(a){A.c.error((0,z.Z)(a))}finally{j(!1)}},n=async()=>{j(!0);try{let a=await y.k.post("/api/minimax-code/checkin",{});"failed"===a.status?A.c.error((b?.checkinFailed||"Check-in failed: {error}").replace("{error}",a.error||"")):A.c.success(b?.checkinSuccess||"Checked in"),await l()}catch(a){A.c.error((0,z.Z)(a))}finally{j(!1)}};return{status:c,loading:e,pending:g,busy:i,refresh:l,login:async()=>{j(!0);try{let a=await y.k.post("/api/minimax-code/login",{});h(a),window.open(a.url,"_blank","noopener,noreferrer")}catch(a){A.c.error(`${b?.loginFailed||"Sign-in failed"}: ${(0,z.Z)(a)}`)}finally{j(!1)}},logout:m,checkin:n}}(),F=i?.login??"none",G=i?.account,H=i?.credits,I={none:h?.statusNone||"Not signed in",active:h?.statusActive||"Signed in",expired:h?.statusExpired||"Login expired"}[F];return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:[(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:h?.intro}),(0,b.jsxs)("section",{className:"space-y-3 rounded-md border bg-background p-3","aria-label":h?.title||"MiniMax Code account",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)("h4",{className:"text-sm font-medium",children:h?.title||"MiniMax Code account"}),(0,b.jsx)(d.f,{variant:"ghost",size:"sm",onClick:()=>void t(),disabled:j,"aria-label":h?.refresh||"Refresh",children:(0,b.jsx)(n.f,{className:`h-4 w-4 ${j?"animate-spin":""}`})})]}),(0,b.jsxs)("dl",{className:"grid grid-cols-[auto_1fr] gap-x-4 gap-y-2 text-sm",children:[(0,b.jsx)("dt",{className:"text-muted-foreground",children:h?.loginStatus||"Login status"}),(0,b.jsxs)("dd",{className:"flex min-w-0 flex-wrap items-center gap-2",children:[(0,b.jsx)(o.f,{variant:"active"===F?"default":"expired"===F?"destructive":"secondary",children:I}),G&&(0,b.jsx)("span",{className:"truncate text-muted-foreground",children:G.name||G.email||G.userId})]}),"active"===F&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("dt",{className:"text-muted-foreground",children:h?.credits||"Remaining credits"}),(0,b.jsx)("dd",{children:H?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("span",{className:"font-medium tabular-nums",children:H.total}),(0,b.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:(h?.creditsDetail||"Free {free} · Purchased {purchased}").replace("{free}",String(H.free)).replace("{purchased}",String(H.purchased))})]}):(0,b.jsx)("span",{className:"text-muted-foreground",children:h?.creditsUnavailable||"Unavailable"})})]})]}),"active"===F&&i&&(0,b.jsx)(v,{checkin:i.checkin,autoCheckin:a?.autoCheckin!==!1,onAutoCheckinChange:b=>f({...a,autoCheckin:b}),busy:r,onCheckin:()=>void E()}),q?(0,b.jsxs)("div",{className:"space-y-1 rounded-md bg-muted/50 p-3 text-sm",children:[(0,b.jsxs)("p",{className:"flex items-center gap-2",children:[(0,b.jsx)(c.f,{className:"h-4 w-4 animate-spin"}),h?.waiting]}),q.userCode&&(0,b.jsxs)("p",{children:[h?.userCode||"Verification code",": ",(0,b.jsx)("span",{className:"font-mono font-medium",children:q.userCode})]}),(0,b.jsxs)("a",{href:q.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 underline",children:[h?.openLink||"Open the authorization page"," ",(0,b.jsx)(k.f,{className:"h-3 w-3"})]})]}):(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsxs)(d.f,{size:"sm",onClick:()=>void u(),disabled:r,children:[r?(0,b.jsx)(c.f,{className:"mr-2 h-4 w-4 animate-spin"}):(0,b.jsx)(l.f,{className:"mr-2 h-4 w-4"}),"none"===F?h?.login||"Sign in with browser":h?.relogin||"Sign in again"]}),"none"!==F&&(0,b.jsxs)(d.f,{size:"sm",variant:"outline",onClick:()=>void D(),disabled:r,children:[(0,b.jsx)(m.f,{className:"mr-2 h-4 w-4"}),h?.logout||"Sign out"]})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{htmlFor:"minimax-code-model",children:h?.model||"Model"}),(0,b.jsx)(p.f,{id:"minimax-code-model",list:"minimax-code-models",value:a?.model||"",onChange:b=>f({...a,model:b.target.value}),placeholder:"MiniMax-M3.1-Flash"}),(0,b.jsx)("datalist",{id:"minimax-code-models",children:w.map(a=>(0,b.jsx)("option",{value:a},a))}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:h?.modelHint})]}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:h?.risk})]})}var D=a.i(403512),E=a.i(951675),F=a.i(175592),G=a.i(676330),H=a.i(152679),I=a.i(148463);function J({value:a,onChange:c}){let{t:g}=(0,s.b)(),h=(0,I.f)("openai"),i=a?.instances||[],j=a?.activeInstanceId,k=i.find(a=>a.id===j),l=(b,d)=>{c({...a,instances:i.map(a=>a.id===j?{...a,[b]:d}:a)})},m=async()=>{if(!j||!await (0,A.u)(g.settings?.ai?.confirmDelete||"Delete this instance?",{destructive:!0}))return;let a=i.filter(a=>a.id!==j);c({instances:a,activeInstanceId:a[0]?.id})};return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)(e.f,{children:g.settings?.ai?.instances||"Instance"}),(0,b.jsxs)(d.f,{type:"button",variant:"outline",size:"sm",onClick:()=>{if(i.length>=10)return;let a={id:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{let b=16*Math.random()|0;return("x"===a?b:3&b|8).toString(16)}),name:`Instance ${i.length+1}`,apiKey:"",baseUrl:"https://api.openai.com/v1",model:"gpt-6.1-sol"};c({instances:[...i,a],activeInstanceId:a.id})},disabled:i.length>=10,className:"h-7 px-2 text-xs",children:[(0,b.jsx)(D.f,{className:"h-3 w-3 mr-1"}),g.settings?.ai?.addInstance||"Add"]})]}),i.length>0?(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsxs)(f.d,{value:j||"",onValueChange:b=>c({...a,activeInstanceId:b}),children:[(0,b.jsx)(f.P,{className:"flex-1",children:(0,b.jsx)(f.U,{placeholder:g.settings?.ai?.selectInstance||"Select Instance"})}),(0,b.jsx)(f.r,{children:i.map(a=>(0,b.jsx)(f.T,{value:a.id,children:a.name},a.id))})]}),i.length>1&&(0,b.jsx)(d.f,{type:"button",variant:"outline",size:"icon",onClick:m,className:"h-10 w-10 text-destructive hover:text-destructive",children:(0,b.jsx)(E.f,{className:"h-4 w-4"})})]}):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:g.settings?.ai?.noInstances||"No instances configured. Click 'Add' to create one."}),i.length>=10&&(0,b.jsx)("p",{className:"text-xs text-amber-600",children:g.settings?.ai?.maxInstancesReached||"Maximum instances reached (10)"})]}),k&&(0,b.jsxs)("div",{className:"space-y-3 p-3 border rounded-md bg-background",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)(e.f,{children:[g.settings?.ai?.instanceName||"Instance Name"," ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,b.jsx)(p.f,{value:k.name||"",onChange:a=>l("name",a.target.value),placeholder:"e.g. GLM-4V",className:k.name?.trim()?"":"border-destructive"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(G.f,{label:(0,b.jsxs)(b.Fragment,{children:["API Key ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),href:h?.apiKey,linkText:g.settings.ai.docLinks.apiKey}),(0,b.jsx)(H.f,{value:k.apiKey||"",onChange:a=>l("apiKey",a.target.value),placeholder:"sk-...",className:k.apiKey?.trim()?"":"border-destructive"})]}),(0,b.jsxs)("div",{className:"space-y-2 pt-4 border-t",children:[(0,b.jsxs)(e.f,{children:["Base URL ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,b.jsx)(p.f,{value:k.baseUrl||"",onChange:a=>l("baseUrl",a.target.value),placeholder:"https://api.openai.com/v1",className:k.baseUrl?.trim()?"":"border-destructive"})]}),(0,b.jsx)(F.f,{provider:"openai",apiKey:k.apiKey,baseUrl:k.baseUrl,currentModel:k.model,onModelChange:a=>l("model",a),docsHref:h?.models})]})]})}function K({provider:a}){let{t:c}=(0,s.b)(),d=c.settings.ai.providerDocs,e=(0,I.f)(a);if(!e)return null;let f=[e.cn&&{href:e.cn,label:e.intl?d.cn:d.official},e.intl&&{href:e.intl,label:e.cn?d.intl:d.official}].filter(a=>!!a);return(0,b.jsxs)("p",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-muted-foreground",children:[(0,b.jsx)("span",{children:d.title}),f.map(a=>(0,b.jsxs)("a",{href:a.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 underline",children:[a.label,(0,b.jsx)(k.f,{className:"h-3 w-3"})]},a.href))]})}var L=a.i(190622);function M({provider:a,value:c,onChange:d}){let{t:f}=(0,s.b)(),g=L.$[a],h=(a,b)=>d({...c,[a]:b}),i={qwen:f.settings?.ai?.qwenBaseUrlHint,stepfun:f.settings?.ai?.stepfunBaseUrlHint,volcengine:f.settings?.ai?.volcengineBaseUrlHint,"volcengine-agent":f.settings?.ai?.volcengineAgentBaseUrlHint,"volcengine-coding":f.settings?.ai?.volcengineCodingBaseUrlHint};return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:["volcengine-free"===a&&(0,b.jsxs)("div",{className:"rounded-md border border-green-200 bg-green-50 p-3 text-xs text-green-800 dark:border-green-900 dark:bg-green-950/40 dark:text-green-300",children:[(0,b.jsx)("p",{className:"font-medium",children:f.settings.ai.volcengineFree.title}),(0,b.jsx)("p",{className:"mt-1",children:f.settings.ai.volcengineFree.body})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(G.f,{label:"API Key",href:g.docs.apiKey,linkText:f.settings.ai.docLinks.apiKey}),(0,b.jsx)(H.f,{value:c?.apiKey||"",onChange:a=>h("apiKey",a.target.value),placeholder:"sk-..."}),(0,b.jsxs)("p",{className:"text-xs text-muted-foreground",children:[f.settings?.ai?.vendorApiKeyHint||"Get an API key from the console:"," ",(0,b.jsx)("a",{href:g.consoleUrl,target:"_blank",rel:"noopener noreferrer",className:"underline break-all",children:g.consoleUrl})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:"Base URL (Optional)"}),(0,b.jsx)(p.f,{value:c?.baseUrl||"",onChange:a=>h("baseUrl",a.target.value),placeholder:g.baseUrl}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:i[a]??f.settings?.ai?.vendorBaseUrlHint})]}),(0,b.jsx)(F.f,{provider:a,apiKey:c?.apiKey,baseUrl:c?.baseUrl,currentModel:c?.model||g.model,onModelChange:a=>h("model",a),docsHref:g.docs.models})]})}a.s(["f",0,function({config:a,setConfig:k,loading:l,saving:m,onSave:n}){let{t:o,language:p}=(0,s.b)();return l?(0,b.jsx)("div",{className:"flex justify-center py-4",children:(0,b.jsx)(c.f,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):(0,b.jsxs)("div",{className:"space-y-4 border rounded-lg p-4 bg-muted/30",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:o.settings?.tabs?.ai||"AI Provider"}),(0,b.jsxs)(f.d,{value:a.aiProvider,onValueChange:a=>k(b=>({...b,aiProvider:a})),children:[(0,b.jsx)(f.P,{children:(0,b.jsx)(f.U,{})}),(0,b.jsxs)(f.r,{children:[(0,b.jsx)(f.T,{value:"minimax",children:(0,L.z)("minimax",p)}),(0,b.jsx)(f.T,{value:"minimax-code",children:"MiniMax Code OAuth"}),L.U.filter(a=>"minimax"!==a).map(a=>(0,b.jsx)(f.T,{value:a,children:(0,L.z)(a,p)},a)),(0,b.jsx)(f.T,{value:"anthropic",children:"Anthropic / Compatible"}),(0,b.jsx)(f.T,{value:"azure",children:"Azure OpenAI"}),(0,b.jsx)(f.T,{value:"openai",children:"OpenAI / Compatible"}),(0,b.jsx)(f.T,{value:"gemini",children:"Google Gemini"})]})]}),(0,b.jsx)(K,{provider:a.aiProvider})]}),"openai"===a.aiProvider&&(0,b.jsx)(J,{value:a.openai,onChange:a=>k(b=>({...b,openai:a}))}),"gemini"===a.aiProvider&&(0,b.jsx)(j.f,{value:a.gemini,onChange:a=>k(b=>({...b,gemini:a}))}),"minimax-code"===a.aiProvider&&(0,b.jsx)(C,{value:a.minimaxCode,onChange:a=>k(b=>({...b,minimaxCode:a}))}),"anthropic"===a.aiProvider&&(0,b.jsx)(h.f,{value:a.anthropic,onChange:a=>k(b=>({...b,anthropic:a}))}),(0,L.j)(a.aiProvider)&&(0,b.jsx)(M,{provider:a.aiProvider,value:a[a.aiProvider],onChange:a=>k(b=>({...b,[b.aiProvider]:a}))},a.aiProvider),"azure"===a.aiProvider&&(0,b.jsx)(i.f,{value:a.azure,onChange:a=>k(b=>({...b,azure:a}))}),(0,b.jsx)(g.f,{config:a,saving:m,saveButton:(0,b.jsxs)(d.f,{onClick:n,disabled:m,className:"flex-1",children:[m&&(0,b.jsx)(c.f,{className:"mr-2 h-4 w-4 animate-spin"}),o.settings?.ai?.save||"Save AI Settings"]})})]})}],151304),a.s(["f",0,function(a,b){if(!(0,u.L)(a.timeZone??u.J))return b.settings.general.invalidTimeZone;if("openai"===a.aiProvider)for(let c of a.openai?.instances||[]){if(!c.name?.trim())return b.settings?.ai?.validationNameRequired||"Instance name is required";if(!c.apiKey?.trim())return b.settings?.ai?.validationApiKeyRequired||"API Key is required";if(!c.baseUrl?.trim())return b.settings?.ai?.validationBaseUrlRequired||"Base URL is required";if(!c.model?.trim())return b.settings?.ai?.validationModelRequired||"Model name is required"}if("azure"===a.aiProvider){if(!a.azure?.endpoint?.trim())return b.settings?.ai?.validationAzureEndpointRequired||"Azure Endpoint is required";if(!a.azure?.deploymentName?.trim())return b.settings?.ai?.validationAzureDeploymentRequired||"Deployment Name is required";if(!a.azure?.apiKey?.trim())return b.settings?.ai?.validationApiKeyRequired||"API Key is required"}return null}],439830)},492710,175592,676330,148463,612416,340898,474896,a=>{var b=a.i(187924),c=a.i(866718),d=a.i(152679),e=a.i(870430),f=a.i(572131),g=a.i(699570),h=a.i(580701),i=a.i(168370),j=a.i(519783),k=a.i(875160),l=a.i(291938),m=a.i(550194),n=a.i(190622),o=a.i(630534);function p({provider:a,apiKey:d,baseUrl:q,currentModel:r,onModelChange:s,docsHref:t}){let{t:u}=(0,m.b)(),[v,w]=(0,f.useState)([]),[x,y]=(0,f.useState)(!1),[z,A]=(0,f.useState)(null),[B,C]=(0,f.useState)(r||""),[D,E]=(0,f.useState)(!1),[F,G]=(0,f.useState)(r);r!==F&&(G(r),C(r||""));let H=async()=>{if(!d)return void A(u.modelSelector?.enterApiKeyFirst||"Please enter API Key first");y(!0),A(null);try{let b=await l.k.post("/api/ai/models",{provider:a,apiKey:d,...q&&{baseUrl:q}});if("error"in b&&"string"==typeof b.error){A(b.error),E(!0),w([]);return}w(b.models),0===b.models.length&&(A(u.modelSelector?.noVisionModel||"No vision model found, please enter manually"),E(!0))}catch(b){o.V.error("[ModelSelector]","Failed to fetch models",{error:b});let a=b instanceof Error&&b.message||u.modelSelector?.fetchFailed||"Failed to fetch models";A(a+(u.modelSelector?.enterManually||", please enter manually")),E(!0)}finally{y(!1)}};return(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(e.f,{className:"flex-1",children:u.modelSelector?.modelName||"Model Name"}),t&&(0,b.jsxs)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"inline-flex shrink-0 items-center gap-1 text-xs text-muted-foreground underline",children:[u.settings.ai.docLinks.models,(0,b.jsx)(i.f,{className:"h-3 w-3"})]}),(0,b.jsx)(g.f,{type:"button",variant:"outline",size:"sm",onClick:H,disabled:x||!d,children:x?(0,b.jsx)(k.f,{className:"h-3 w-3 animate-spin"}):(0,b.jsx)(j.f,{className:"h-3 w-3"})})]}),z&&(0,b.jsx)("p",{className:"text-xs text-yellow-600",children:z}),D||0===v.length?(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(c.f,{value:B,onChange:a=>{var b;C(b=a.target.value),s(b)},placeholder:(0,n.j)(a)?n.$[a].model:"openai"===a?"gpt-6.1-sol":"gemini-1.5-flash"}),v.length>0&&(0,b.jsx)(g.f,{type:"button",variant:"link",size:"sm",className:"h-auto p-0 text-xs",onClick:()=>E(!1),children:u.modelSelector?.selectFromList||"Select from List"})]}):(0,b.jsx)("div",{className:"space-y-2",children:(0,b.jsxs)(h.d,{value:r,onValueChange:a=>{"_custom"===a?E(!0):(E(!1),C(a),s(a))},children:[(0,b.jsx)(h.P,{children:(0,b.jsx)(h.U,{placeholder:u.modelSelector?.selectModel||"Select Model"})}),(0,b.jsxs)(h.r,{children:[v.map(a=>(0,b.jsxs)(h.T,{value:a.id,children:[a.name,a.owned_by&&` (${a.owned_by})`]},a.id)),(0,b.jsx)(h.T,{value:"_custom",children:u.modelSelector?.customInput||"Custom Input..."})]})]})})]})}function q({label:a,href:c,linkText:d}){return c?(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)(e.f,{children:a}),(0,b.jsxs)("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"inline-flex shrink-0 items-center gap-1 text-xs text-muted-foreground underline",children:[d,(0,b.jsx)(i.f,{className:"h-3 w-3"})]})]}):(0,b.jsx)(e.f,{children:a})}a.s(["f",0,p],175592),a.s(["f",0,q],676330);let r={openai:{intl:"https://platform.openai.com/docs/api-reference",apiKey:"https://platform.openai.com/docs/quickstart",models:"https://platform.openai.com/docs/models"},anthropic:{intl:"https://docs.anthropic.com/en/api/overview",apiKey:"https://docs.anthropic.com/en/api/getting-started",models:"https://docs.anthropic.com/en/docs/about-claude/models/overview"},azure:{intl:"https://learn.microsoft.com/azure/ai-foundry/openai/reference",apiKey:"https://learn.microsoft.com/azure/ai-foundry/openai/how-to/create-resource",models:"https://learn.microsoft.com/azure/ai-foundry/openai/concepts/models"},gemini:{intl:"https://ai.google.dev/gemini-api/docs",apiKey:"https://ai.google.dev/gemini-api/docs/api-key",models:"https://ai.google.dev/gemini-api/docs/models"}};function s(a){return(0,n.j)(a)?n.$[a].docs:r[a]??null}a.s(["f",0,s],148463),a.s(["f",0,function({value:a,onChange:f}){let{t:g}=(0,m.b)(),h=s("anthropic"),i=(b,c)=>f({...a,[b]:c});return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(q,{label:"API Key",href:h?.apiKey,linkText:g.settings.ai.docLinks.apiKey}),(0,b.jsx)(d.f,{value:a?.apiKey||"",onChange:a=>i("apiKey",a.target.value),placeholder:"sk-ant-..."})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:"Base URL (Optional)"}),(0,b.jsx)(c.f,{value:a?.baseUrl||"",onChange:a=>i("baseUrl",a.target.value),placeholder:"https://api.anthropic.com"}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:g.settings?.ai?.anthropicBaseUrlHint})]}),(0,b.jsx)(p,{provider:"anthropic",apiKey:a?.apiKey,baseUrl:a?.baseUrl,currentModel:a?.model,onModelChange:a=>i("model",a),docsHref:h?.models})]})}],492710),a.s(["f",0,function({value:a,onChange:f}){let{t:g}=(0,m.b)(),h=s("azure"),i=(b,c)=>f({...a,[b]:c}),j=a=>a?.trim()?"":"border-destructive";return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)(e.f,{children:[g.settings?.ai?.azureEndpoint||"Azure Endpoint"," ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,b.jsx)(c.f,{value:a?.endpoint||"",onChange:a=>i("endpoint",a.target.value),placeholder:g.settings?.ai?.azureEndpointPlaceholder||"https://your-resource.openai.azure.com",className:j(a?.endpoint)})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(q,{label:(0,b.jsxs)(b.Fragment,{children:[g.settings?.ai?.azureDeployment||"Deployment Name"," ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),href:h?.models,linkText:g.settings.ai.docLinks.models}),(0,b.jsx)(c.f,{value:a?.deploymentName||"",onChange:a=>i("deploymentName",a.target.value),placeholder:g.settings?.ai?.azureDeploymentPlaceholder||"gpt-4o-deployment",className:j(a?.deploymentName)})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(q,{label:(0,b.jsxs)(b.Fragment,{children:["API Key ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),href:h?.apiKey,linkText:g.settings.ai.docLinks.apiKey}),(0,b.jsx)(d.f,{value:a?.apiKey||"",onChange:a=>i("apiKey",a.target.value),placeholder:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",className:j(a?.apiKey)})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:g.settings?.ai?.azureApiVersion||"API Version"}),(0,b.jsx)(c.f,{value:a?.apiVersion||"",onChange:a=>i("apiVersion",a.target.value),placeholder:g.settings?.ai?.azureApiVersionPlaceholder||"2024-02-15-preview"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:g.settings?.ai?.azureModel||"Model Display Name"}),(0,b.jsx)(c.f,{value:a?.model||"",onChange:a=>i("model",a.target.value),placeholder:"gpt-4o"})]})]})}],612416),a.s(["f",0,function({value:a,onChange:f}){let{t:g}=(0,m.b)(),h=s("gemini"),i=(b,c)=>f({...a,[b]:c});return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(q,{label:"API Key",href:h?.apiKey,linkText:g.settings.ai.docLinks.apiKey}),(0,b.jsx)(d.f,{value:a?.apiKey||"",onChange:a=>i("apiKey",a.target.value),placeholder:"AIza..."})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:"Base URL (Optional)"}),(0,b.jsx)(c.f,{value:a?.baseUrl||"",onChange:a=>i("baseUrl",a.target.value),placeholder:"https://generativelanguage.googleapis.com"})]}),(0,b.jsx)(p,{provider:"gemini",apiKey:a?.apiKey,baseUrl:a?.baseUrl,currentModel:a?.model,onModelChange:a=>i("model",a),docsHref:h?.models})]})}],340898);var t=a.i(164831);let u={name:"log-in",size:24,node:[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]};u.node;let v=(0,t.f)(u);a.s(["f",0,v],474896)},152679,a=>{var b=a.i(187924),c=a.i(572131),d=a.i(755681),e=a.i(777064),f=a.i(699570),g=a.i(866718),h=a.i(550194),i=a.i(368114);a.s(["f",0,function({className:a,...j}){let{t:k}=(0,h.b)(),[l,m]=(0,c.useState)(!1);return(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)(g.f,{type:l?"text":"password",className:(0,i.f)("pr-10",a),...j}),(0,b.jsx)(f.f,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent",onClick:()=>m(!l),"aria-label":l?k.common.hidePassword:k.common.showPassword,tabIndex:-1,children:l?(0,b.jsx)(e.f,{className:"h-4 w-4 text-muted-foreground"}):(0,b.jsx)(d.f,{className:"h-4 w-4 text-muted-foreground"})})]})}])}]})();
|
|
1
|
+
(()=>{"use strict";module.exports=[557230,563658,a=>{var b=a.i(164831);let c={name:"log-out",size:24,node:[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],557230);var e=a.i(187924),f=a.i(572131),g=a.i(507554),h=a.i(470121),i=a.i(750104),j=a.i(225152),k=a.i(3688),l=a.i(30553),m=Object.defineProperty,n=(a,b)=>m(a,"name",{value:b,configurable:!0}),o="Switch",[p,q]=(0,i.f)(o),[r,s]=p(o);function t(a){let{__scopeSwitch:b,checked:c,children:d,defaultChecked:g,disabled:h,form:i,name:k,onCheckedChange:l,required:m,value:n="on",internal_do_not_use_render:p}=a,[q,s]=(0,j.f)({prop:c,defaultProp:g??!1,onChange:l,caller:o}),[t,u]=f.useState(null),[v,w]=f.useState(null),[x,z]=f.useState(null),A=!t||!!i||!!t.closest("form"),B={checked:q,setChecked:s,disabled:h,control:t,setControl:u,name:k,form:i,value:n,userClick:x,onUserClick:z,required:m,defaultChecked:g,isFormControl:A,bubbleInput:v,setBubbleInput:w};return(0,e.jsx)(r,{scope:b,...B,children:y(p)?p(B):d})}n(t,"SwitchProvider");var u=f.forwardRef(n(function({__scopeSwitch:a,onClick:b,...c},d){let{control:i,form:j,value:k,disabled:m,checked:o,required:p,setControl:q,setChecked:r,onUserClick:t,isFormControl:u,bubbleInput:v}=s("SwitchTrigger",a),w=(0,h.f)(d,q),x=f.useRef(o);return f.useEffect(()=>{let a=j?i?.ownerDocument.getElementById(j):i?.form;if(a instanceof HTMLFormElement){let b=n(()=>r(x.current),"reset");return a.addEventListener("reset",b),()=>a.removeEventListener("reset",b)}},[i,j,r]),(0,e.jsx)(l.V.button,{type:"button",role:"switch","aria-checked":o,"aria-required":p,"data-state":z(o),"data-disabled":m?"":void 0,disabled:m,value:k,...c,ref:w,onClick:(0,g.f)(b,a=>{let b=a.isPropagationStopped();t({requestedChecked:!o,hasConsumerStoppedPropagation:b}),r(a=>!a),v&&u&&!b&&a.stopPropagation()})})},"SwitchTrigger")),v=f.forwardRef(n(function(a,b){let{__scopeSwitch:c,name:d,checked:f,defaultChecked:g,required:h,disabled:i,value:j,onCheckedChange:k,form:l,...m}=a;return(0,e.jsx)(t,{__scopeSwitch:c,checked:f,defaultChecked:g,disabled:i,required:h,onCheckedChange:k,name:d,form:l,value:j,internal_do_not_use_render:({isFormControl:a})=>(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(u,{...m,ref:b,__scopeSwitch:c}),a&&(0,e.jsx)(x,{__scopeSwitch:c})]})})},"Switch")),w=f.forwardRef(n(function(a,b){let{__scopeSwitch:c,...d}=a,f=s("SwitchThumb",c);return(0,e.jsx)(l.V.span,{"data-state":z(f.checked),"data-disabled":f.disabled?"":void 0,...d,ref:b})},"SwitchThumb")),x=f.forwardRef(n(function({__scopeSwitch:a,onClick:b,...c},d){let{control:i,userClick:j,checked:m,defaultChecked:n,required:o,disabled:p,name:q,value:r,form:t,bubbleInput:u,setBubbleInput:v}=s("SwitchBubbleInput",a),w=(0,h.f)(d,v),x=(0,k.f)(i),y=f.useRef(!1),z=f.useRef(m),A=f.useRef(j),B=f.useRef(null);f.useEffect(()=>{if(!u)return;let a=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(!a)return;let b=z.current!==m;z.current=m;let c=null!==j&&j!==A.current;if(A.current=j,c)B.current=b?null:j,b&&a.call(u,m),u.dispatchEvent(new Event("click",{bubbles:!j.hasConsumerStoppedPropagation}));else if(b){let b=B.current;B.current=null;let c=b?.requestedChecked===m;y.current=!0,a.call(u,m),u.dispatchEvent(new Event("click",{bubbles:!(c&&b.hasConsumerStoppedPropagation)})),y.current=!1}},[u,m,j]);let C=f.useRef(m);return(0,e.jsx)(l.V.input,{type:"checkbox","aria-hidden":!0,defaultChecked:n??C.current,required:o,disabled:p,name:q,value:r,form:t,...c,tabIndex:-1,ref:w,onClick:(0,g.f)(b,a=>{y.current&&a.stopPropagation()}),style:{...c.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function y(a){return"function"==typeof a}function z(a){return a?"checked":"unchecked"}n(y,"isFunction"),n(z,"getState");var A=a.i(368114);let B=f.forwardRef(({className:a,...b},c)=>(0,e.jsx)(v,{className:(0,A.f)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",a),...b,ref:c,children:(0,e.jsx)(w,{className:(0,A.f)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));B.displayName=v.displayName,a.s(["f",0,B],563658)},144952,206194,190622,a=>{var b=a.i(187924),c=a.i(572131),d=a.i(613412),e=a.i(875160),f=a.i(211134),g=a.i(164831);let h={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};h.node;let i=(0,g.f)(h);var j=a.i(699570),k=a.i(550194);function l({detail:a}){let{t:c}=(0,k.b)();return a?(0,b.jsxs)("p",{className:"mt-1 rounded bg-background/60 px-2 py-1 font-mono text-[11px] leading-relaxed text-red-700 dark:text-red-300 break-all select-text",children:[(0,b.jsx)("span",{className:"font-sans text-muted-foreground",children:c.settings.ai.providerErrorDetail}),a]}):null}a.s(["f",0,l],206194);let m={minimax:{name:"MiniMax",nameEn:"MiniMax",baseUrl:"https://api.minimax.cn/v1",model:"MiniMax-M3.1-Flash",envPrefix:"MINIMAX",consoleUrl:"https://platform.minimax.cn",docs:{cn:"https://platform.minimax.cn/docs/api-reference/api-overview",intl:"https://platform.minimax.io/docs/api-reference/api-overview",apiKey:"https://platform.minimax.cn/docs/guides/quickstart-preparation",models:"https://platform.minimax.cn/docs/guides/models-intro"}},glm:{name:"智谱 GLM",nameEn:"Zhipu GLM",baseUrl:"https://open.bigmodel.cn/api/paas/v4",model:"glm-5.3-flash",envPrefix:"GLM",consoleUrl:"https://open.bigmodel.cn",docs:{cn:"https://docs.bigmodel.cn/cn/guide/start/quick-start",intl:"https://docs.z.ai/guides/overview/quick-start",apiKey:"https://docs.bigmodel.cn/cn/guide/start/quick-start",models:"https://docs.bigmodel.cn/cn/guide/start/model-overview"}},deepseek:{name:"DeepSeek",nameEn:"DeepSeek",baseUrl:"https://api.deepseek.com",model:"deepseek-v4-flash",envPrefix:"DEEPSEEK",consoleUrl:"https://platform.deepseek.com",docs:{cn:"https://api-docs.deepseek.com/zh-cn/",apiKey:"https://api-docs.deepseek.com/zh-cn/",models:"https://api-docs.deepseek.com/zh-cn/quick_start/pricing"}},kimi:{name:"Kimi",nameEn:"Kimi",baseUrl:"https://api.moonshot.cn/v1",model:"kimi-k3.1-pro",envPrefix:"KIMI",consoleUrl:"https://platform.kimi.com",docs:{cn:"https://platform.moonshot.cn/docs/introduction",intl:"https://platform.moonshot.ai/docs/introduction",apiKey:"https://platform.moonshot.cn/docs/introduction",models:"https://platform.moonshot.cn/docs/pricing/chat"}},qwen:{name:"千问 Qwen",nameEn:"Qwen",baseUrl:"https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1",model:"qwen3.8-max",envPrefix:"QWEN",consoleUrl:"https://bailian.console.aliyun.com",docs:{cn:"https://help.aliyun.com/zh/model-studio/token-plan-personal-quick-start",intl:"https://www.alibabacloud.com/help/en/model-studio/token-plan-personal-quick-start",apiKey:"https://help.aliyun.com/zh/model-studio/token-plan-personal-quick-start",models:"https://help.aliyun.com/zh/model-studio/models"}},stepfun:{name:"阶跃星辰 StepFun",nameEn:"StepFun",baseUrl:"https://api.stepfun.com/step_plan/v1",model:"step-5-preview",envPrefix:"STEPFUN",consoleUrl:"https://platform.stepfun.com",docs:{cn:"https://platform.stepfun.com/docs/zh/guides/developer/openai",intl:"https://platform.stepfun.ai/docs/en/guides/developer/openai",apiKey:"https://platform.stepfun.com/docs/zh/guides/developer/openai",models:"https://platform.stepfun.com/docs/zh/guides/models/list"}},volcengine:{name:"火山引擎 豆包",nameEn:"Volcengine Doubao",baseUrl:"https://ark.cn-beijing.volces.com/api/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1330626",intl:"https://docs.byteplus.com/en/docs/ModelArk/1330626",apiKey:"https://www.volcengine.com/docs/82379/1541594",models:"https://www.volcengine.com/docs/82379/1330310"}},"volcengine-agent":{name:"火山引擎 Agent Plan",nameEn:"Volcengine Agent Plan",baseUrl:"https://ark.cn-beijing.volces.com/api/plan/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE_AGENT",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://ark.volcengine.com/region:cn-beijing/docs/82379/2160841?lang=zh",apiKey:"https://ark.volcengine.com/region:cn-beijing/docs/82379/2160841?lang=zh",models:"https://www.volcengine.com/docs/82379/2366394"}},"volcengine-coding":{name:"火山引擎 Coding Plan",nameEn:"Volcengine Coding Plan",baseUrl:"https://ark.cn-beijing.volces.com/api/coding/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE_CODING",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1928261",apiKey:"https://www.volcengine.com/docs/82379/1928261",models:"https://www.volcengine.com/docs/82379/1928261"}},"volcengine-free":{name:"火山引擎(免费试用)",nameEn:"Volcengine (free trial)",baseUrl:"https://ark.cn-beijing.volces.com/api/v3",model:"doubao-seed-evolving",envPrefix:"VOLCENGINE_FREE",consoleUrl:"https://console.volcengine.com/ark",docs:{cn:"https://www.volcengine.com/docs/82379/1399514",apiKey:"https://www.volcengine.com/docs/82379/1541594",models:"https://www.volcengine.com/docs/82379/1330310"}}},n=Object.keys(m);function o(a){return"string"==typeof a&&Object.prototype.hasOwnProperty.call(m,a)}a.s(["$",0,m,"U",0,n,"z",0,function(a,b){let c=m[a];return"zh"===b?c.name:c.nameEn},"j",0,o,"k",0,function(a,b){let c=m[a];return{apiKey:b?.apiKey||"",baseUrl:b?.baseUrl||c.baseUrl,model:b?.model||c.model}}],190622);var p=a.i(291938),q=a.i(960927),r=a.i(630534);a.s(["f",0,function({config:a,saving:g,saveButton:h}){let{t:m,language:n}=(0,k.b)(),[s,t]=(0,c.useState)(!1),[u,v]=(0,c.useState)(null),w=a=>m.settings?.ai?.errors?.[a]||a.replace("UNKNOWN:",""),x=async()=>{let b=function(a,b){let c=a.aiProvider;if("openai"===c){let d=a.openai?.instances?.find(b=>b.id===a.openai?.activeInstanceId);return d?.apiKey?{ok:!0,body:{provider:c,apiKey:d.apiKey,baseUrl:d.baseUrl,model:d.model,language:b}}:{ok:!1,error:"API_KEY_REQUIRED"}}if("azure"===c){let d=a.azure;return d?.apiKey&&d.endpoint&&d.deploymentName?{ok:!0,body:{provider:c,apiKey:d.apiKey,endpoint:d.endpoint,deploymentName:d.deploymentName,apiVersion:d.apiVersion,model:d.model,language:b}}:{ok:!1,error:"AZURE_CONFIG_INCOMPLETE"}}if("minimax-code"===c)return{ok:!0,body:{provider:c,model:a.minimaxCode?.model,language:b}};if("gemini"===c||"anthropic"===c||o(c)){let d=a[c];return d?.apiKey?{ok:!0,body:{provider:c,apiKey:d.apiKey,baseUrl:d.baseUrl,model:d.model,language:b}}:{ok:!1,error:"API_KEY_REQUIRED"}}return{ok:!1,error:"UNSUPPORTED_PROVIDER"}}(a,n);if(!b.ok){if("UNSUPPORTED_PROVIDER"===b.error)return;v({success:!1,textSupport:!1,visionSupport:!1,textError:"AZURE_CONFIG_INCOMPLETE"===b.error?m.settings?.ai?.validationAzureEndpointRequired||"Azure config is incomplete":m.settings?.ai?.validationApiKeyRequired||"API Key is required"});return}t(!0),v(null);try{v(await p.k.post("/api/ai/test",b.body))}catch(a){r.V.error("[AiConnectionTest]","AI connection test failed",{error:a}),v({success:!1,textSupport:!1,visionSupport:!1,textError:(0,q.Z)(a)})}finally{t(!1)}};return(0,b.jsxs)("div",{className:"space-y-3 pt-3 border-t",children:[(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsxs)(j.f,{type:"button",variant:"outline",onClick:x,disabled:s||g,className:"flex-1",children:[s?(0,b.jsx)(e.f,{className:"mr-2 h-4 w-4 animate-spin"}):(0,b.jsx)(i,{className:"mr-2 h-4 w-4"}),s?m.settings?.ai?.testing||"Testing...":m.settings?.ai?.testConnection||"Test Connection"]}),h]}),u&&(0,b.jsxs)("div",{className:`p-3 rounded-md text-sm ${u.success?"bg-green-50 dark:bg-green-950/40 border border-green-200 dark:border-green-900":"bg-red-50 dark:bg-red-950/40 border border-red-200 dark:border-red-900"}`,children:[(0,b.jsx)("div",{className:"flex items-center gap-2 font-medium mb-2",children:u.success?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(d.f,{className:"h-4 w-4 text-green-600"}),(0,b.jsx)("span",{className:"text-green-700 dark:text-green-300",children:m.settings?.ai?.testSuccess||"Connection Successful"}),u.modelInfo&&(0,b.jsxs)("span",{className:"text-green-600 text-xs",children:["(",u.modelInfo,")"]})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(f.f,{className:"h-4 w-4 text-red-600"}),(0,b.jsx)("span",{className:"text-red-700 dark:text-red-300",children:m.settings?.ai?.testFailed||"Connection Failed"})]})}),u.success&&(0,b.jsxs)("div",{className:"space-y-1 text-xs",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsxs)("span",{className:"text-muted-foreground",children:[m.settings?.ai?.textSupport||"Text Generation",":"]}),(0,b.jsxs)("span",{className:"text-green-600",children:["✓ ",m.settings?.ai?.supported||"Supported"]})]}),(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsxs)("span",{className:"text-muted-foreground",children:[m.settings?.ai?.visionSupport||"Vision/Multimodal",":"]}),u.visionSupport?(0,b.jsxs)("span",{className:"text-green-600",children:["✓ ",m.settings?.ai?.supported||"Supported"]}):(0,b.jsxs)("span",{className:"text-amber-600",children:["✗ ",u.visionError?w(u.visionError):m.settings?.ai?.notSupported||"Not Supported"]})]}),!u.visionSupport&&(0,b.jsx)(l,{detail:u.visionErrorDetail}),(0,b.jsx)("p",{className:"text-muted-foreground/60 text-[10px] pl-1",children:m.settings?.ai?.testNetworkNote})]}),!u.success&&u.textError&&(0,b.jsx)("p",{className:"text-red-600 text-xs mt-1",children:w(u.textError)}),!u.success&&(0,b.jsx)(l,{detail:u.textErrorDetail})]})]})}],144952)},151304,439830,a=>{var b=a.i(187924),c=a.i(875160),d=a.i(699570),e=a.i(870430),f=a.i(580701),g=a.i(144952),h=a.i(492710),i=a.i(612416),j=a.i(340898),k=a.i(168370),l=a.i(474896),m=a.i(557230),n=a.i(519783),o=a.i(786304),p=a.i(866718),q=a.i(895605),r=a.i(563658),s=a.i(550194),t=a.i(529759),u=a.i(986705);function v({checkin:a,autoCheckin:f,onAutoCheckinChange:g,busy:h,onCheckin:i}){let j,{t:k}=(0,s.b)(),{timeZone:l}=(0,t.M)(),m=k.settings?.ai?.minimaxCode,{today:n,last:p}=a,w=p&&"failed"!==p.status?p:null,x=!!(n?.checkedToday||w),y=String(w?.points??(n?n.points+n.bonusPoints:0)),z=String(w?.streakDays??n?.streakDays??0);return j=w?.trigger==="auto"&&"checked-in"===w.status?(m?.checkinAuto||"Checked in automatically today at {time} (+{points} credits, day {days} in a row)").replace("{time}",(0,u.r)(w.at,"HH:mm",l)).replace("{points}",y).replace("{days}",z):x?(m?.checkinDone||"Checked in today (+{points} credits, day {days} in a row)").replace("{points}",y).replace("{days}",z):p?.status==="failed"?(m?.checkinFailed||"Check-in failed: {error}").replace("{error}",p.error||""):a.autoCheckin?m?.checkinWillAuto||"Not checked in yet today. The app will check in automatically within the hour.":m?.checkinNotYet||"Not checked in yet today",(0,b.jsxs)("div",{className:"space-y-3 border-t pt-3",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 text-sm",children:[(0,b.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,b.jsx)("span",{className:"text-muted-foreground",children:m?.checkinToday||"Today's check-in"}),(0,b.jsxs)(o.f,{variant:x?"default":p?.status==="failed"?"destructive":"secondary",children:[(0,b.jsx)(q.f,{className:"mr-1 h-3 w-3"}),x?m?.checkinSuccess||"Checked in":m?.checkinNotYet||"Not yet"]})]}),!x&&(0,b.jsxs)(d.f,{size:"sm",variant:"outline",onClick:i,disabled:h,children:[h&&(0,b.jsx)(c.f,{className:"mr-2 h-4 w-4 animate-spin"}),m?.checkinNow||"Check in now"]})]}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground break-words",children:j}),(0,b.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)(e.f,{htmlFor:"minimax-code-auto-checkin",children:m?.autoCheckin||"Daily auto check-in"}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:m?.autoCheckinHint})]}),(0,b.jsx)(r.f,{id:"minimax-code-auto-checkin",checked:f,onCheckedChange:g})]})]})}let w=["MiniMax-M3.1-Flash","MiniMax-M3","MiniMax-M2.7-highspeed","MiniMax-M2.7"];var x=a.i(572131),y=a.i(291938),z=a.i(960927),A=a.i(710302),B=a.i(630534);function C({value:a,onChange:f}){let{t:g}=(0,s.b)(),h=g.settings?.ai?.minimaxCode,{status:i,loading:j,pending:q,busy:r,refresh:t,login:u,logout:D,checkin:E}=function(){let{t:a}=(0,s.b)(),b=a.settings?.ai?.minimaxCode,[c,d]=(0,x.useState)(null),[e,f]=(0,x.useState)(!0),[g,h]=(0,x.useState)(null),[i,j]=(0,x.useState)(!1),k=(0,x.useRef)(null),l=(0,x.useCallback)(async()=>{f(!0);try{let a=await y.k.get("/api/minimax-code");d(a),a.pendingLogin&&h(a.pendingLogin)}catch(a){B.V.error("[MiniMaxCode]","Failed to load status",{error:a})}finally{f(!1)}},[]);(0,x.useEffect)(()=>{l()},[l]),(0,x.useEffect)(()=>{if(!g)return;let a=!1,c=async()=>{try{let d=await y.k.get("/api/minimax-code/login");if(a)return;if("pending"===d.status){k.current=setTimeout(c,g.intervalMs);return}h(null),"ok"===d.status?A.c.success(b?.loginSuccess||"Signed in"):"expired"===d.status?A.c.error(b?.loginExpired||"Authorization timed out"):"denied"===d.status&&A.c.error(b?.loginDenied||"Authorization declined"),l()}catch(c){if(a)return;h(null),A.c.error(`${b?.loginFailed||"Sign-in failed"}: ${(0,z.Z)(c)}`)}};return k.current=setTimeout(c,g.intervalMs),()=>{a=!0,k.current&&clearTimeout(k.current)}},[g,l,b]);let m=async()=>{j(!0);try{await y.k.delete("/api/minimax-code"),h(null),await l()}catch(a){A.c.error((0,z.Z)(a))}finally{j(!1)}},n=async()=>{j(!0);try{let a=await y.k.post("/api/minimax-code/checkin",{});"failed"===a.status?A.c.error((b?.checkinFailed||"Check-in failed: {error}").replace("{error}",a.error||"")):A.c.success(b?.checkinSuccess||"Checked in"),await l()}catch(a){A.c.error((0,z.Z)(a))}finally{j(!1)}};return{status:c,loading:e,pending:g,busy:i,refresh:l,login:async()=>{j(!0);try{let a=await y.k.post("/api/minimax-code/login",{});h(a),window.open(a.url,"_blank","noopener,noreferrer")}catch(a){A.c.error(`${b?.loginFailed||"Sign-in failed"}: ${(0,z.Z)(a)}`)}finally{j(!1)}},logout:m,checkin:n}}(),F=i?.login??"none",G=i?.account,H=i?.credits,I={none:h?.statusNone||"Not signed in",active:h?.statusActive||"Signed in",expired:h?.statusExpired||"Login expired"}[F];return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:[(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:h?.intro}),(0,b.jsxs)("section",{className:"space-y-3 rounded-md border bg-background p-3","aria-label":h?.title||"MiniMax Code account",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)("h4",{className:"text-sm font-medium",children:h?.title||"MiniMax Code account"}),(0,b.jsx)(d.f,{variant:"ghost",size:"sm",onClick:()=>void t(),disabled:j,"aria-label":h?.refresh||"Refresh",children:(0,b.jsx)(n.f,{className:`h-4 w-4 ${j?"animate-spin":""}`})})]}),(0,b.jsxs)("dl",{className:"grid grid-cols-[auto_1fr] gap-x-4 gap-y-2 text-sm",children:[(0,b.jsx)("dt",{className:"text-muted-foreground",children:h?.loginStatus||"Login status"}),(0,b.jsxs)("dd",{className:"flex min-w-0 flex-wrap items-center gap-2",children:[(0,b.jsx)(o.f,{variant:"active"===F?"default":"expired"===F?"destructive":"secondary",children:I}),G&&(0,b.jsx)("span",{className:"truncate text-muted-foreground",children:G.name||G.email||G.userId})]}),"active"===F&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("dt",{className:"text-muted-foreground",children:h?.credits||"Remaining credits"}),(0,b.jsx)("dd",{children:H?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("span",{className:"font-medium tabular-nums",children:H.total}),(0,b.jsx)("span",{className:"ml-2 text-xs text-muted-foreground",children:(h?.creditsDetail||"Free {free} · Purchased {purchased}").replace("{free}",String(H.free)).replace("{purchased}",String(H.purchased))})]}):(0,b.jsx)("span",{className:"text-muted-foreground",children:h?.creditsUnavailable||"Unavailable"})})]})]}),"active"===F&&i&&(0,b.jsx)(v,{checkin:i.checkin,autoCheckin:a?.autoCheckin!==!1,onAutoCheckinChange:b=>f({...a,autoCheckin:b}),busy:r,onCheckin:()=>void E()}),q?(0,b.jsxs)("div",{className:"space-y-1 rounded-md bg-muted/50 p-3 text-sm",children:[(0,b.jsxs)("p",{className:"flex items-center gap-2",children:[(0,b.jsx)(c.f,{className:"h-4 w-4 animate-spin"}),h?.waiting]}),q.userCode&&(0,b.jsxs)("p",{children:[h?.userCode||"Verification code",": ",(0,b.jsx)("span",{className:"font-mono font-medium",children:q.userCode})]}),(0,b.jsxs)("a",{href:q.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 underline",children:[h?.openLink||"Open the authorization page"," ",(0,b.jsx)(k.f,{className:"h-3 w-3"})]})]}):(0,b.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,b.jsxs)(d.f,{size:"sm",onClick:()=>void u(),disabled:r,children:[r?(0,b.jsx)(c.f,{className:"mr-2 h-4 w-4 animate-spin"}):(0,b.jsx)(l.f,{className:"mr-2 h-4 w-4"}),"none"===F?h?.login||"Sign in with browser":h?.relogin||"Sign in again"]}),"none"!==F&&(0,b.jsxs)(d.f,{size:"sm",variant:"outline",onClick:()=>void D(),disabled:r,children:[(0,b.jsx)(m.f,{className:"mr-2 h-4 w-4"}),h?.logout||"Sign out"]})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{htmlFor:"minimax-code-model",children:h?.model||"Model"}),(0,b.jsx)(p.f,{id:"minimax-code-model",list:"minimax-code-models",value:a?.model||"",onChange:b=>f({...a,model:b.target.value}),placeholder:"MiniMax-M3.1-Flash"}),(0,b.jsx)("datalist",{id:"minimax-code-models",children:w.map(a=>(0,b.jsx)("option",{value:a},a))}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:h?.modelHint})]}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:h?.risk})]})}var D=a.i(403512),E=a.i(951675),F=a.i(175592),G=a.i(676330),H=a.i(152679),I=a.i(148463);function J({value:a,onChange:c}){let{t:g}=(0,s.b)(),h=(0,I.f)("openai"),i=a?.instances||[],j=a?.activeInstanceId,k=i.find(a=>a.id===j),l=(b,d)=>{c({...a,instances:i.map(a=>a.id===j?{...a,[b]:d}:a)})},m=async()=>{if(!j||!await (0,A.u)(g.settings?.ai?.confirmDelete||"Delete this instance?",{destructive:!0}))return;let a=i.filter(a=>a.id!==j);c({instances:a,activeInstanceId:a[0]?.id})};return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)(e.f,{children:g.settings?.ai?.instances||"Instance"}),(0,b.jsxs)(d.f,{type:"button",variant:"outline",size:"sm",onClick:()=>{if(i.length>=10)return;let a={id:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{let b=16*Math.random()|0;return("x"===a?b:3&b|8).toString(16)}),name:`Instance ${i.length+1}`,apiKey:"",baseUrl:"https://api.openai.com/v1",model:"gpt-6.1-sol"};c({instances:[...i,a],activeInstanceId:a.id})},disabled:i.length>=10,className:"h-7 px-2 text-xs",children:[(0,b.jsx)(D.f,{className:"h-3 w-3 mr-1"}),g.settings?.ai?.addInstance||"Add"]})]}),i.length>0?(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsxs)(f.d,{value:j||"",onValueChange:b=>c({...a,activeInstanceId:b}),children:[(0,b.jsx)(f.P,{className:"flex-1",children:(0,b.jsx)(f.U,{placeholder:g.settings?.ai?.selectInstance||"Select Instance"})}),(0,b.jsx)(f.r,{children:i.map(a=>(0,b.jsx)(f.T,{value:a.id,children:a.name},a.id))})]}),i.length>1&&(0,b.jsx)(d.f,{type:"button",variant:"outline",size:"icon",onClick:m,className:"h-10 w-10 text-destructive hover:text-destructive",children:(0,b.jsx)(E.f,{className:"h-4 w-4"})})]}):(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:g.settings?.ai?.noInstances||"No instances configured. Click 'Add' to create one."}),i.length>=10&&(0,b.jsx)("p",{className:"text-xs text-amber-600",children:g.settings?.ai?.maxInstancesReached||"Maximum instances reached (10)"})]}),k&&(0,b.jsxs)("div",{className:"space-y-3 p-3 border rounded-md bg-background",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)(e.f,{children:[g.settings?.ai?.instanceName||"Instance Name"," ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,b.jsx)(p.f,{value:k.name||"",onChange:a=>l("name",a.target.value),placeholder:"e.g. GLM-4V",className:k.name?.trim()?"":"border-destructive"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(G.f,{label:(0,b.jsxs)(b.Fragment,{children:["API Key ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),href:h?.apiKey,linkText:g.settings.ai.docLinks.apiKey}),(0,b.jsx)(H.f,{value:k.apiKey||"",onChange:a=>l("apiKey",a.target.value),placeholder:"sk-...",className:k.apiKey?.trim()?"":"border-destructive"})]}),(0,b.jsxs)("div",{className:"space-y-2 pt-4 border-t",children:[(0,b.jsxs)(e.f,{children:["Base URL ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,b.jsx)(p.f,{value:k.baseUrl||"",onChange:a=>l("baseUrl",a.target.value),placeholder:"https://api.openai.com/v1",className:k.baseUrl?.trim()?"":"border-destructive"})]}),(0,b.jsx)(F.f,{provider:"openai",apiKey:k.apiKey,baseUrl:k.baseUrl,currentModel:k.model,onModelChange:a=>l("model",a),docsHref:h?.models})]})]})}function K({provider:a}){let{t:c}=(0,s.b)(),d=c.settings.ai.providerDocs,e=(0,I.f)(a);if(!e)return null;let f=[e.cn&&{href:e.cn,label:e.intl?d.cn:d.official},e.intl&&{href:e.intl,label:e.cn?d.intl:d.official}].filter(a=>!!a);return(0,b.jsxs)("p",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-muted-foreground",children:[(0,b.jsx)("span",{children:d.title}),f.map(a=>(0,b.jsxs)("a",{href:a.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 underline",children:[a.label,(0,b.jsx)(k.f,{className:"h-3 w-3"})]},a.href))]})}var L=a.i(190622);function M({provider:a,value:c,onChange:d}){let{t:f}=(0,s.b)(),g=L.$[a],h=(a,b)=>d({...c,[a]:b}),i={qwen:f.settings?.ai?.qwenBaseUrlHint,stepfun:f.settings?.ai?.stepfunBaseUrlHint,volcengine:f.settings?.ai?.volcengineBaseUrlHint,"volcengine-agent":f.settings?.ai?.volcengineAgentBaseUrlHint,"volcengine-coding":f.settings?.ai?.volcengineCodingBaseUrlHint};return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:["volcengine-free"===a&&(0,b.jsxs)("div",{className:"rounded-md border border-green-200 bg-green-50 p-3 text-xs text-green-800 dark:border-green-900 dark:bg-green-950/40 dark:text-green-300",children:[(0,b.jsx)("p",{className:"font-medium",children:f.settings.ai.volcengineFree.title}),(0,b.jsx)("p",{className:"mt-1",children:f.settings.ai.volcengineFree.body})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(G.f,{label:"API Key",href:g.docs.apiKey,linkText:f.settings.ai.docLinks.apiKey}),(0,b.jsx)(H.f,{value:c?.apiKey||"",onChange:a=>h("apiKey",a.target.value),placeholder:"sk-..."}),(0,b.jsxs)("p",{className:"text-xs text-muted-foreground",children:[f.settings?.ai?.vendorApiKeyHint||"Get an API key from the console:"," ",(0,b.jsx)("a",{href:g.consoleUrl,target:"_blank",rel:"noopener noreferrer",className:"underline break-all",children:g.consoleUrl})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:"Base URL (Optional)"}),(0,b.jsx)(p.f,{value:c?.baseUrl||"",onChange:a=>h("baseUrl",a.target.value),placeholder:g.baseUrl}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:i[a]??f.settings?.ai?.vendorBaseUrlHint})]}),(0,b.jsx)(F.f,{provider:a,apiKey:c?.apiKey,baseUrl:c?.baseUrl,currentModel:c?.model||g.model,onModelChange:a=>h("model",a),docsHref:g.docs.models})]})}a.s(["f",0,function({config:a,setConfig:k,loading:l,saving:m,onSave:n}){let{t:o,language:p}=(0,s.b)();return l?(0,b.jsx)("div",{className:"flex justify-center py-4",children:(0,b.jsx)(c.f,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):(0,b.jsxs)("div",{className:"space-y-4 border rounded-lg p-4 bg-muted/30",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:o.settings?.tabs?.ai||"AI Provider"}),(0,b.jsxs)(f.d,{value:a.aiProvider,onValueChange:a=>k(b=>({...b,aiProvider:a})),children:[(0,b.jsx)(f.P,{children:(0,b.jsx)(f.U,{})}),(0,b.jsxs)(f.r,{children:[(0,b.jsx)(f.T,{value:"minimax",children:(0,L.z)("minimax",p)}),(0,b.jsx)(f.T,{value:"minimax-code",children:"MiniMax Code OAuth"}),L.U.filter(a=>"minimax"!==a).map(a=>(0,b.jsx)(f.T,{value:a,children:(0,L.z)(a,p)},a)),(0,b.jsx)(f.T,{value:"anthropic",children:"Anthropic / Compatible"}),(0,b.jsx)(f.T,{value:"azure",children:"Azure OpenAI"}),(0,b.jsx)(f.T,{value:"openai",children:"OpenAI / Compatible"}),(0,b.jsx)(f.T,{value:"gemini",children:"Google Gemini"})]})]}),(0,b.jsx)(K,{provider:a.aiProvider})]}),"openai"===a.aiProvider&&(0,b.jsx)(J,{value:a.openai,onChange:a=>k(b=>({...b,openai:a}))}),"gemini"===a.aiProvider&&(0,b.jsx)(j.f,{value:a.gemini,onChange:a=>k(b=>({...b,gemini:a}))}),"minimax-code"===a.aiProvider&&(0,b.jsx)(C,{value:a.minimaxCode,onChange:a=>k(b=>({...b,minimaxCode:a}))}),"anthropic"===a.aiProvider&&(0,b.jsx)(h.f,{value:a.anthropic,onChange:a=>k(b=>({...b,anthropic:a}))}),(0,L.j)(a.aiProvider)&&(0,b.jsx)(M,{provider:a.aiProvider,value:a[a.aiProvider],onChange:a=>k(b=>({...b,[b.aiProvider]:a}))},a.aiProvider),"azure"===a.aiProvider&&(0,b.jsx)(i.f,{value:a.azure,onChange:a=>k(b=>({...b,azure:a}))}),(0,b.jsx)(g.f,{config:a,saving:m,saveButton:(0,b.jsxs)(d.f,{onClick:n,disabled:m,className:"flex-1",children:[m&&(0,b.jsx)(c.f,{className:"mr-2 h-4 w-4 animate-spin"}),o.settings?.ai?.save||"Save AI Settings"]})})]})}],151304),a.s(["f",0,function(a,b){if(!(0,u.L)(a.timeZone??u.J))return b.settings.general.invalidTimeZone;if("openai"===a.aiProvider)for(let c of a.openai?.instances||[]){if(!c.name?.trim())return b.settings?.ai?.validationNameRequired||"Instance name is required";if(!c.apiKey?.trim())return b.settings?.ai?.validationApiKeyRequired||"API Key is required";if(!c.baseUrl?.trim())return b.settings?.ai?.validationBaseUrlRequired||"Base URL is required";if(!c.model?.trim())return b.settings?.ai?.validationModelRequired||"Model name is required"}if("azure"===a.aiProvider){if(!a.azure?.endpoint?.trim())return b.settings?.ai?.validationAzureEndpointRequired||"Azure Endpoint is required";if(!a.azure?.deploymentName?.trim())return b.settings?.ai?.validationAzureDeploymentRequired||"Deployment Name is required";if(!a.azure?.apiKey?.trim())return b.settings?.ai?.validationApiKeyRequired||"API Key is required"}return null}],439830)},492710,175592,676330,148463,612416,340898,474896,a=>{var b=a.i(187924),c=a.i(866718),d=a.i(152679),e=a.i(870430),f=a.i(572131),g=a.i(699570),h=a.i(580701),i=a.i(168370),j=a.i(519783),k=a.i(875160),l=a.i(291938),m=a.i(550194),n=a.i(190622),o=a.i(630534);function p({provider:a,apiKey:d,baseUrl:q,currentModel:r,onModelChange:s,docsHref:t}){let{t:u}=(0,m.b)(),[v,w]=(0,f.useState)([]),[x,y]=(0,f.useState)(!1),[z,A]=(0,f.useState)(null),[B,C]=(0,f.useState)(r||""),[D,E]=(0,f.useState)(!1),[F,G]=(0,f.useState)(r);r!==F&&(G(r),C(r||""));let H=async()=>{if(!d)return void A(u.modelSelector?.enterApiKeyFirst||"Please enter API Key first");y(!0),A(null);try{let b=await l.k.post("/api/ai/models",{provider:a,apiKey:d,...q&&{baseUrl:q}});if("error"in b&&"string"==typeof b.error){A(b.error),E(!0),w([]);return}w(b.models),0===b.models.length&&(A(u.modelSelector?.noVisionModel||"No vision model found, please enter manually"),E(!0))}catch(b){o.V.error("[ModelSelector]","Failed to fetch models",{error:b});let a=b instanceof Error&&b.message||u.modelSelector?.fetchFailed||"Failed to fetch models";A(a+(u.modelSelector?.enterManually||", please enter manually")),E(!0)}finally{y(!1)}};return(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)(e.f,{className:"flex-1",children:u.modelSelector?.modelName||"Model Name"}),t&&(0,b.jsxs)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"inline-flex shrink-0 items-center gap-1 text-xs text-muted-foreground underline",children:[u.settings.ai.docLinks.models,(0,b.jsx)(i.f,{className:"h-3 w-3"})]}),(0,b.jsx)(g.f,{type:"button",variant:"outline",size:"sm",onClick:H,disabled:x||!d,children:x?(0,b.jsx)(k.f,{className:"h-3 w-3 animate-spin"}):(0,b.jsx)(j.f,{className:"h-3 w-3"})})]}),z&&(0,b.jsx)("p",{className:"text-xs text-yellow-600",children:z}),D||0===v.length?(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(c.f,{value:B,onChange:a=>{var b;C(b=a.target.value),s(b)},placeholder:(0,n.j)(a)?n.$[a].model:"openai"===a?"gpt-6.1-sol":"gemini-1.5-flash"}),v.length>0&&(0,b.jsx)(g.f,{type:"button",variant:"link",size:"sm",className:"h-auto p-0 text-xs",onClick:()=>E(!1),children:u.modelSelector?.selectFromList||"Select from List"})]}):(0,b.jsx)("div",{className:"space-y-2",children:(0,b.jsxs)(h.d,{value:r,onValueChange:a=>{"_custom"===a?E(!0):(E(!1),C(a),s(a))},children:[(0,b.jsx)(h.P,{children:(0,b.jsx)(h.U,{placeholder:u.modelSelector?.selectModel||"Select Model"})}),(0,b.jsxs)(h.r,{children:[v.map(a=>(0,b.jsxs)(h.T,{value:a.id,children:[a.name,a.owned_by&&` (${a.owned_by})`]},a.id)),(0,b.jsx)(h.T,{value:"_custom",children:u.modelSelector?.customInput||"Custom Input..."})]})]})})]})}function q({label:a,href:c,linkText:d}){return c?(0,b.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,b.jsx)(e.f,{children:a}),(0,b.jsxs)("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"inline-flex shrink-0 items-center gap-1 text-xs text-muted-foreground underline",children:[d,(0,b.jsx)(i.f,{className:"h-3 w-3"})]})]}):(0,b.jsx)(e.f,{children:a})}a.s(["f",0,p],175592),a.s(["f",0,q],676330);let r={openai:{intl:"https://platform.openai.com/docs/api-reference",apiKey:"https://platform.openai.com/docs/quickstart",models:"https://platform.openai.com/docs/models"},anthropic:{intl:"https://docs.anthropic.com/en/api/overview",apiKey:"https://docs.anthropic.com/en/api/getting-started",models:"https://docs.anthropic.com/en/docs/about-claude/models/overview"},azure:{intl:"https://learn.microsoft.com/azure/ai-foundry/openai/reference",apiKey:"https://learn.microsoft.com/azure/ai-foundry/openai/how-to/create-resource",models:"https://learn.microsoft.com/azure/ai-foundry/openai/concepts/models"},gemini:{intl:"https://ai.google.dev/gemini-api/docs",apiKey:"https://ai.google.dev/gemini-api/docs/api-key",models:"https://ai.google.dev/gemini-api/docs/models"}};function s(a){return(0,n.j)(a)?n.$[a].docs:r[a]??null}a.s(["f",0,s],148463),a.s(["f",0,function({value:a,onChange:f}){let{t:g}=(0,m.b)(),h=s("anthropic"),i=(b,c)=>f({...a,[b]:c});return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(q,{label:"API Key",href:h?.apiKey,linkText:g.settings.ai.docLinks.apiKey}),(0,b.jsx)(d.f,{value:a?.apiKey||"",onChange:a=>i("apiKey",a.target.value),placeholder:"sk-ant-..."})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:"Base URL (Optional)"}),(0,b.jsx)(c.f,{value:a?.baseUrl||"",onChange:a=>i("baseUrl",a.target.value),placeholder:"https://api.anthropic.com"}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:g.settings?.ai?.anthropicBaseUrlHint})]}),(0,b.jsx)(p,{provider:"anthropic",apiKey:a?.apiKey,baseUrl:a?.baseUrl,currentModel:a?.model,onModelChange:a=>i("model",a),docsHref:h?.models})]})}],492710),a.s(["f",0,function({value:a,onChange:f}){let{t:g}=(0,m.b)(),h=s("azure"),i=(b,c)=>f({...a,[b]:c}),j=a=>a?.trim()?"":"border-destructive";return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)(e.f,{children:[g.settings?.ai?.azureEndpoint||"Azure Endpoint"," ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,b.jsx)(c.f,{value:a?.endpoint||"",onChange:a=>i("endpoint",a.target.value),placeholder:g.settings?.ai?.azureEndpointPlaceholder||"https://your-resource.openai.azure.com",className:j(a?.endpoint)})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(q,{label:(0,b.jsxs)(b.Fragment,{children:[g.settings?.ai?.azureDeployment||"Deployment Name"," ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),href:h?.models,linkText:g.settings.ai.docLinks.models}),(0,b.jsx)(c.f,{value:a?.deploymentName||"",onChange:a=>i("deploymentName",a.target.value),placeholder:g.settings?.ai?.azureDeploymentPlaceholder||"gpt-4o-deployment",className:j(a?.deploymentName)})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(q,{label:(0,b.jsxs)(b.Fragment,{children:["API Key ",(0,b.jsx)("span",{className:"text-destructive",children:"*"})]}),href:h?.apiKey,linkText:g.settings.ai.docLinks.apiKey}),(0,b.jsx)(d.f,{value:a?.apiKey||"",onChange:a=>i("apiKey",a.target.value),placeholder:"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",className:j(a?.apiKey)})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:g.settings?.ai?.azureApiVersion||"API Version"}),(0,b.jsx)(c.f,{value:a?.apiVersion||"",onChange:a=>i("apiVersion",a.target.value),placeholder:g.settings?.ai?.azureApiVersionPlaceholder||"2024-02-15-preview"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:g.settings?.ai?.azureModel||"Model Display Name"}),(0,b.jsx)(c.f,{value:a?.model||"",onChange:a=>i("model",a.target.value),placeholder:"gpt-4o"})]})]})}],612416),a.s(["f",0,function({value:a,onChange:f}){let{t:g}=(0,m.b)(),h=s("gemini"),i=(b,c)=>f({...a,[b]:c});return(0,b.jsxs)("div",{className:"space-y-3 animate-in fade-in slide-in-from-top-2",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(q,{label:"API Key",href:h?.apiKey,linkText:g.settings.ai.docLinks.apiKey}),(0,b.jsx)(d.f,{value:a?.apiKey||"",onChange:a=>i("apiKey",a.target.value),placeholder:"AIza..."})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(e.f,{children:"Base URL (Optional)"}),(0,b.jsx)(c.f,{value:a?.baseUrl||"",onChange:a=>i("baseUrl",a.target.value),placeholder:"https://generativelanguage.googleapis.com"})]}),(0,b.jsx)(p,{provider:"gemini",apiKey:a?.apiKey,baseUrl:a?.baseUrl,currentModel:a?.model,onModelChange:a=>i("model",a),docsHref:h?.models})]})}],340898);var t=a.i(164831);let u={name:"log-in",size:24,node:[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]};u.node;let v=(0,t.f)(u);a.s(["f",0,v],474896)},152679,a=>{var b=a.i(187924),c=a.i(572131),d=a.i(755681),e=a.i(777064),f=a.i(699570),g=a.i(866718),h=a.i(550194),i=a.i(368114);a.s(["f",0,function({className:a,...j}){let{t:k}=(0,h.b)(),[l,m]=(0,c.useState)(!1);return(0,b.jsxs)("div",{className:"relative",children:[(0,b.jsx)(g.f,{type:l?"text":"password",className:(0,i.f)("pr-10",a),...j}),(0,b.jsx)(f.f,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent",onClick:()=>m(!l),"aria-label":l?k.common.hidePassword:k.common.showPassword,tabIndex:-1,children:l?(0,b.jsx)(e.f,{className:"h-4 w-4 text-muted-foreground"}):(0,b.jsx)(d.f,{className:"h-4 w-4 text-muted-foreground"})})]})}])}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=_0cmd1ubdlo_by._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[219107,a=>{var b=a.i(164831);let c={name:"arrow-left",size:24,node:[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],219107)},97546,a=>{var b=a.i(164831);let c={name:"circle-alert",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],aliases:["alert-circle"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],97546)},308311,a=>{var b=a.i(164831);let c={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],308311)},308658,a=>{var b=a.i(164831);let c={name:"layers",size:24,node:[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],aliases:["layers-3"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],308658)},207812,a=>{var b=a.i(164831);let c={name:"pen-tool",size:24,node:[["path",{d:"m18 13-.654-4.736a4 4 0 00-2.756-3.266l-9.163-2.9a2 2 0 00-2.017.493l-.82.819a2 2 0 00-.492 2.017l2.9 9.163a4 4 0 003.266 2.756L13 18",key:"93nyr4"}],["path",{d:"M18.648 12.352a1.205 1.205 0 011.704 0l1.296 1.296a1.205 1.205 0 010 1.704l-6.296 6.296a1.205 1.205 0 01-1.704 0l-1.296-1.296a1.205 1.205 0 010-1.704z",key:"lnux7s"}],["path",{d:"m3 3 6.586 6.586",key:"1igwcn"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],207812)},557999,a=>{var b=a.i(572131),c=a.i(550194);a.s(["f",0,function(...a){let{t:d}=(0,c.b)(),e=[d.pageTitle.base,...a.map(a=>"string"==typeof a?a.trim():"").filter(a=>a.length>0)].join("-");(0,b.useEffect)(()=>{document.title=e},[e])}])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_0f2k-q7kimi4o._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[[62140,a=>{var b=a.i(164831);let c={name:"list-checks",size:24,node:[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],62140)},986708,a=>{var b=a.i(164831);let c={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],986708)},961664,a=>{var b=a.i(164831);let c={name:"target",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],961664)},506376,a=>{var b=a.i(187924),c=a.i(875160);a.s(["f",0,function({label:a}){return(0,b.jsxs)("div",{className:"flex min-h-[50vh] flex-col items-center justify-center gap-3 text-muted-foreground",children:[(0,b.jsx)(c.f,{className:"h-7 w-7 animate-spin text-primary"}),a&&(0,b.jsx)("p",{className:"text-sm",children:a})]})}])}],627280,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_heic-to_dist_csp_heic-to_1a1i_ppryp81y.js"].map(b=>a.l(b))).then(()=>b(469425)))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_0ks-0g-tu__3m._.js.map
|