super-time-tracker-ui 0.1.14 → 0.1.18
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/bin/stt-ui.js +98 -16
- package/dist/standalone/next-output/BUILD_ID +1 -1
- package/dist/standalone/next-output/app-path-routes-manifest.json +5 -0
- package/dist/standalone/next-output/build-manifest.json +3 -3
- package/dist/standalone/next-output/routes-manifest.json +30 -0
- package/dist/standalone/next-output/server/app/_global-error/page.js +1 -1
- package/dist/standalone/next-output/server/app/_global-error/page.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/_global-error.html +1 -1
- package/dist/standalone/next-output/server/app/_global-error.rsc +1 -1
- package/dist/standalone/next-output/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/standalone/next-output/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/standalone/next-output/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/standalone/next-output/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/standalone/next-output/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/standalone/next-output/server/app/_not-found/page.js +2 -2
- package/dist/standalone/next-output/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/standalone/next-output/server/app/_not-found.html +1 -1
- package/dist/standalone/next-output/server/app/_not-found.rsc +24 -22
- package/dist/standalone/next-output/server/app/_not-found.segments/_full.segment.rsc +24 -22
- package/dist/standalone/next-output/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/dist/standalone/next-output/server/app/_not-found.segments/_index.segment.rsc +9 -8
- package/dist/standalone/next-output/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/dist/standalone/next-output/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/dist/standalone/next-output/server/app/api/auth/signout/route/app-paths-manifest.json +3 -0
- package/dist/standalone/next-output/server/app/api/auth/signout/route/build-manifest.json +9 -0
- package/dist/standalone/next-output/server/app/api/auth/signout/route/server-reference-manifest.json +4 -0
- package/dist/standalone/next-output/server/app/api/auth/signout/route.js +7 -0
- package/dist/standalone/next-output/server/app/api/auth/signout/route.js.nft.json +1 -0
- package/dist/standalone/next-output/server/app/api/auth/signout/route_client-reference-manifest.js +3 -0
- package/dist/standalone/next-output/server/app/api/backup/route.js +2 -1
- package/dist/standalone/next-output/server/app/api/backup/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/entry/delete-bulk/route.js +2 -1
- package/dist/standalone/next-output/server/app/api/entry/delete-bulk/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/entry/move/route.js +2 -1
- package/dist/standalone/next-output/server/app/api/entry/move/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/entry/move-bulk/route.js +2 -1
- package/dist/standalone/next-output/server/app/api/entry/move-bulk/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/entry/route.js +3 -2
- package/dist/standalone/next-output/server/app/api/entry/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/in/route.js +3 -2
- package/dist/standalone/next-output/server/app/api/in/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/note/route.js +3 -2
- package/dist/standalone/next-output/server/app/api/note/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/out/route.js +3 -2
- package/dist/standalone/next-output/server/app/api/out/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/sheet/route.js +2 -1
- package/dist/standalone/next-output/server/app/api/sheet/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/state/route.js +2 -1
- package/dist/standalone/next-output/server/app/api/state/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/sync/import/route/app-paths-manifest.json +3 -0
- package/dist/standalone/next-output/server/app/api/sync/import/route/build-manifest.json +9 -0
- package/dist/standalone/next-output/server/app/api/sync/import/route/server-reference-manifest.json +4 -0
- package/dist/standalone/next-output/server/app/api/sync/import/route.js +7 -0
- package/dist/standalone/next-output/server/app/api/sync/import/route.js.nft.json +1 -0
- package/dist/standalone/next-output/server/app/api/sync/import/route_client-reference-manifest.js +3 -0
- package/dist/standalone/next-output/server/app/api/tags/route.js +2 -1
- package/dist/standalone/next-output/server/app/api/tags/route.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/api/ui-preferences/route/app-paths-manifest.json +3 -0
- package/dist/standalone/next-output/server/app/api/ui-preferences/route/build-manifest.json +9 -0
- package/dist/standalone/next-output/server/app/api/ui-preferences/route/server-reference-manifest.json +4 -0
- package/dist/standalone/next-output/server/app/api/ui-preferences/route.js +7 -0
- package/dist/standalone/next-output/server/app/api/ui-preferences/route.js.nft.json +1 -0
- package/dist/standalone/next-output/server/app/api/ui-preferences/route_client-reference-manifest.js +3 -0
- package/dist/standalone/next-output/server/app/auth/callback/route/app-paths-manifest.json +3 -0
- package/dist/standalone/next-output/server/app/auth/callback/route/build-manifest.json +9 -0
- package/dist/standalone/next-output/server/app/auth/callback/route/server-reference-manifest.json +4 -0
- package/dist/standalone/next-output/server/app/auth/callback/route.js +7 -0
- package/dist/standalone/next-output/server/app/auth/callback/route.js.nft.json +1 -0
- package/dist/standalone/next-output/server/app/auth/callback/route_client-reference-manifest.js +3 -0
- package/dist/standalone/next-output/server/app/login/page/app-paths-manifest.json +3 -0
- package/dist/standalone/next-output/server/app/login/page/build-manifest.json +17 -0
- package/dist/standalone/next-output/server/app/login/page/next-font-manifest.json +11 -0
- package/dist/standalone/next-output/server/app/login/page/react-loadable-manifest.json +1 -0
- package/dist/standalone/next-output/server/app/login/page/server-reference-manifest.json +4 -0
- package/dist/standalone/next-output/server/app/login/page.js +14 -0
- package/dist/standalone/next-output/server/app/login/page.js.nft.json +1 -0
- package/dist/standalone/next-output/server/app/login/page_client-reference-manifest.js +3 -0
- package/dist/standalone/next-output/server/app/page.js +4 -4
- package/dist/standalone/next-output/server/app/page.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/page_client-reference-manifest.js +1 -1
- package/dist/standalone/next-output/server/app/reporting/page.js +5 -4
- package/dist/standalone/next-output/server/app/reporting/page.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/reporting/page_client-reference-manifest.js +1 -1
- package/dist/standalone/next-output/server/app/reporting.html +1 -1
- package/dist/standalone/next-output/server/app/reporting.rsc +26 -24
- package/dist/standalone/next-output/server/app/reporting.segments/_full.segment.rsc +26 -24
- package/dist/standalone/next-output/server/app/reporting.segments/_head.segment.rsc +4 -4
- package/dist/standalone/next-output/server/app/reporting.segments/_index.segment.rsc +9 -8
- package/dist/standalone/next-output/server/app/reporting.segments/_tree.segment.rsc +2 -2
- package/dist/standalone/next-output/server/app/reporting.segments/reporting/__PAGE__.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app/reporting.segments/reporting.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app/settings/data/page.js +5 -4
- package/dist/standalone/next-output/server/app/settings/data/page.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/settings/data/page_client-reference-manifest.js +1 -1
- package/dist/standalone/next-output/server/app/settings/data.html +1 -1
- package/dist/standalone/next-output/server/app/settings/data.rsc +32 -28
- package/dist/standalone/next-output/server/app/settings/data.segments/_full.segment.rsc +32 -28
- package/dist/standalone/next-output/server/app/settings/data.segments/_head.segment.rsc +4 -4
- package/dist/standalone/next-output/server/app/settings/data.segments/_index.segment.rsc +9 -8
- package/dist/standalone/next-output/server/app/settings/data.segments/_tree.segment.rsc +2 -2
- package/dist/standalone/next-output/server/app/settings/data.segments/settings/data/__PAGE__.segment.rsc +10 -9
- package/dist/standalone/next-output/server/app/settings/data.segments/settings/data.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app/settings/data.segments/settings.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app/settings/display/page.js +2 -2
- package/dist/standalone/next-output/server/app/settings/display/page.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/settings/display/page_client-reference-manifest.js +1 -1
- package/dist/standalone/next-output/server/app/settings/display.html +1 -1
- package/dist/standalone/next-output/server/app/settings/display.rsc +41 -40
- package/dist/standalone/next-output/server/app/settings/display.segments/_full.segment.rsc +41 -40
- package/dist/standalone/next-output/server/app/settings/display.segments/_head.segment.rsc +4 -4
- package/dist/standalone/next-output/server/app/settings/display.segments/_index.segment.rsc +9 -8
- package/dist/standalone/next-output/server/app/settings/display.segments/_tree.segment.rsc +2 -2
- package/dist/standalone/next-output/server/app/settings/display.segments/settings/display/__PAGE__.segment.rsc +18 -18
- package/dist/standalone/next-output/server/app/settings/display.segments/settings/display.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app/settings/display.segments/settings.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app/settings/page.js +5 -4
- package/dist/standalone/next-output/server/app/settings/page.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/settings/page_client-reference-manifest.js +1 -1
- package/dist/standalone/next-output/server/app/settings/tags/page.js +5 -4
- package/dist/standalone/next-output/server/app/settings/tags/page.js.nft.json +1 -1
- package/dist/standalone/next-output/server/app/settings/tags/page_client-reference-manifest.js +1 -1
- package/dist/standalone/next-output/server/app/settings/tags.html +1 -1
- package/dist/standalone/next-output/server/app/settings/tags.rsc +27 -25
- package/dist/standalone/next-output/server/app/settings/tags.segments/_full.segment.rsc +27 -25
- package/dist/standalone/next-output/server/app/settings/tags.segments/_head.segment.rsc +4 -4
- package/dist/standalone/next-output/server/app/settings/tags.segments/_index.segment.rsc +9 -8
- package/dist/standalone/next-output/server/app/settings/tags.segments/_tree.segment.rsc +2 -2
- package/dist/standalone/next-output/server/app/settings/tags.segments/settings/tags/__PAGE__.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app/settings/tags.segments/settings/tags.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app/settings/tags.segments/settings.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app/settings.html +1 -1
- package/dist/standalone/next-output/server/app/settings.rsc +32 -30
- package/dist/standalone/next-output/server/app/settings.segments/_full.segment.rsc +32 -30
- package/dist/standalone/next-output/server/app/settings.segments/_head.segment.rsc +4 -4
- package/dist/standalone/next-output/server/app/settings.segments/_index.segment.rsc +9 -8
- package/dist/standalone/next-output/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/dist/standalone/next-output/server/app/settings.segments/settings/__PAGE__.segment.rsc +9 -9
- package/dist/standalone/next-output/server/app/settings.segments/settings.segment.rsc +3 -3
- package/dist/standalone/next-output/server/app-paths-manifest.json +5 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0-~y~9m._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0.tfxy.._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__00yo3_1._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__05eq9_g._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__061y6pa._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__09bkv_j._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0ai1p94._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0e3._t7._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0jcl8sd._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0p1kxjf._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0uvo97t._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0xb8jjk._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0z09g1h._.js +3 -0
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__11e-p11._.js +3 -0
- package/dist/standalone/next-output/server/chunks/_0--hi7m._.js +61 -0
- package/dist/standalone/next-output/server/chunks/_0_wbuqv._.js +61 -0
- package/dist/standalone/next-output/server/chunks/_0vvs4p8._.js +3 -0
- package/dist/standalone/next-output/server/chunks/_0vzosja._.js +3 -0
- package/dist/standalone/next-output/server/chunks/_0y.amf.._.js +3 -0
- package/dist/standalone/next-output/server/chunks/_0ysbhok._.js +3 -0
- package/dist/standalone/next-output/server/chunks/_13eeory._.js +61 -0
- package/dist/standalone/next-output/server/chunks/_next-internal_server_app_api_auth_signout_route_actions_00gx.76.js +3 -0
- package/dist/standalone/next-output/server/chunks/_next-internal_server_app_api_sync_import_route_actions_0apc8p9.js +3 -0
- package/dist/standalone/next-output/server/chunks/_next-internal_server_app_api_ui-preferences_route_actions_0t0uiaq.js +3 -0
- package/dist/standalone/next-output/server/chunks/_next-internal_server_app_auth_callback_route_actions_09jr~mp.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/{_02_~c39._.js → 0z~i_next_dist_0s-rnzm._.js} +2 -2
- package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_dist_esm_build_templates_app-page_0pw4c6_.js +4 -0
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__00t2myd._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__070_uw2._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0c4ohc.._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0mjp16u._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/{[root-of-the-server]__0n8s9zq._.js → [root-of-the-server]__0p74awc._.js} +2 -2
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0x2t88.._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__108je_d._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__10jikzl._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__13dr511._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/_00.2r03._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/_01xe83y._.js +64 -0
- package/dist/standalone/next-output/server/chunks/ssr/_03kx6a3._.js +64 -0
- package/dist/standalone/next-output/server/chunks/ssr/_06yb2en._.js +1 -1
- package/dist/standalone/next-output/server/chunks/ssr/_0ekhh25._.js +61 -0
- package/dist/standalone/next-output/server/chunks/ssr/_0iqbilg._.js +64 -0
- package/dist/standalone/next-output/server/chunks/ssr/{_0g2i.tc._.js → _0kvm6av._.js} +2 -2
- package/dist/standalone/next-output/server/chunks/ssr/_0l_p-.k._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/_0li90xb._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/_0okkb_~._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/_0qowa2d._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/_0s1f~0y._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/_0x1bw~i._.js +1 -1
- package/dist/standalone/next-output/server/chunks/ssr/_0zabe_~._.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/_next-internal_server_app_login_page_actions_02kefem.js +3 -0
- package/dist/standalone/next-output/server/chunks/ssr/components_109-aj4._.js +1 -1
- package/dist/standalone/next-output/server/chunks/ssr/components_reporting-view_tsx_0-0ofcv._.js +1 -1
- package/dist/standalone/next-output/server/chunks/ssr/components_tracker-app_tsx_0qs9.7y._.js +1 -1
- package/dist/standalone/next-output/server/edge/chunks/0txu_next_dist_esm_build_templates_edge-wrapper_07qltvv.js +3 -0
- package/dist/standalone/next-output/server/edge/chunks/0z~i_next_dist_esm_build_templates_edge-wrapper_0pdy9p0.js +3 -0
- package/dist/standalone/next-output/server/edge/chunks/[root-of-the-server]__0t9u~vh._.js +69 -0
- package/dist/standalone/next-output/server/middleware-build-manifest.js +3 -3
- package/dist/standalone/next-output/server/middleware-manifest.json +30 -2
- package/dist/standalone/next-output/server/next-font-manifest.js +1 -1
- package/dist/standalone/next-output/server/next-font-manifest.json +4 -0
- package/dist/standalone/next-output/server/pages/404.html +1 -1
- package/dist/standalone/next-output/server/pages/500.html +1 -1
- package/dist/standalone/next-output/static/chunks/0-0w4ml~c22t..js +1 -0
- package/dist/standalone/next-output/static/chunks/0.jsu2wyaii~1.js +59 -0
- package/dist/standalone/next-output/static/chunks/0aohgkyesjriz.js +1 -0
- package/dist/standalone/next-output/static/chunks/0bcmkbb2bxpr-.js +1 -0
- package/dist/standalone/next-output/static/chunks/{0ytd28-7d8.21.js → 0bym88q-qlydb.js} +1 -1
- package/dist/standalone/next-output/static/chunks/0xvqo8vfg40zk.js +1 -0
- package/dist/standalone/next-output/static/chunks/11y-z.w7p8i8a.css +3 -0
- package/dist/standalone/next-output/static/chunks/12v1sx2j-is-9.js +1 -0
- package/dist/standalone/next-output/static/chunks/{14dlpcnjaw-zw.js → 13pryy_qphr.u.js} +1 -1
- package/dist/standalone/next-output/static/xfRBlnU13styXnCBd60jn/_clientMiddlewareManifest.js +6 -0
- package/dist/standalone/package.json +11 -9
- package/package.json +11 -9
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0_m2-.j._.js +0 -3
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0_vmm81._.js +0 -3
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0cilf~z._.js +0 -3
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0d03d53._.js +0 -3
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0iro0~o._.js +0 -3
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0t5kq87._.js +0 -3
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0v47vl-._.js +0 -3
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0w4.p-d._.js +0 -3
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0wl05me._.js +0 -3
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0y8pcoc._.js +0 -3
- package/dist/standalone/next-output/server/chunks/[root-of-the-server]__11gwx7w._.js +0 -3
- package/dist/standalone/next-output/server/chunks/_0.5g2bo._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__088a_hy._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0e~6l8-._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0nm8f2e._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0v0ekip._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0wb6zuo._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__12d3b~-._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__12t9r.i._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/_02-gx7.._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/_0hg~x6b._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/_0ll5ibs._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/_0pmaq6o._.js +0 -6
- package/dist/standalone/next-output/server/chunks/ssr/_0ui3u54._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/_0w8k735._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/_12t56ma._.js +0 -3
- package/dist/standalone/next-output/server/chunks/ssr/lib_0x8xvli._.js +0 -3
- package/dist/standalone/next-output/static/C007OVe3_LVkkCJilniXA/_clientMiddlewareManifest.js +0 -1
- package/dist/standalone/next-output/static/chunks/002_cxi.67d5i.js +0 -1
- package/dist/standalone/next-output/static/chunks/00gppo5nrk9ov.js +0 -1
- package/dist/standalone/next-output/static/chunks/04~lsgqjxciw_.js +0 -1
- package/dist/standalone/next-output/static/chunks/0ewk7kj3yfts~.css +0 -3
- package/dist/standalone/next-output/static/chunks/0zwqf-1atzont.js +0 -1
- /package/dist/standalone/next-output/static/{C007OVe3_LVkkCJilniXA → xfRBlnU13styXnCBd60jn}/_buildManifest.js +0 -0
- /package/dist/standalone/next-output/static/{C007OVe3_LVkkCJilniXA → xfRBlnU13styXnCBd60jn}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
module.exports=[89738,a=>{"use strict";var b=a.i(62800),c=a.i(94890),d=a.i(59239),e=a.i(72966),f=a.i(27074),g=a.i(74445),h=a.i(27785),i=a.i(51258),j=a.i(29386),k=a.i(26787),l=a.i(47276),m=a.i(83774),n=a.i(276),o=a.i(74833),p=a.i(38099),q=a.i(72152),r=a.i(97589),s=a.i(30668),t=a.i(32055);a.i(89185);var u=a.i(31618),v=a.i(29986),w=a.i(60732),x=a.i(86227),y=a.i(30012),z=a.i(84030),A=a.i(81243),B=a.i(93695),C=a.i(96935),D=a.i(16488),E=a.i(77657);a.i(59382);var F=a.i(15929),G=a.i(13848),H=a.i(80061),I=a.i(32702),J=a.i(56303),K=a.i(23998);let L=["",{children:["login",{children:["__PAGE__",{},{metadata:{},page:[()=>a.r(24327),"[project]/app/login/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{icon:[async c=>{let d=(0,i.interopDefault)(await a.r(38872));return[{url:(0,b.fillMetadataSegment)("//",await c.params,"favicon.ico",!0)+`?${d.src.split("/").splice(-1)[0]}`,sizes:`${d.width}x${d.height}`,type:"image/x-icon"}]}]},layout:[()=>a.r(70864),"[project]/app/layout.tsx"],"not-found":[()=>a.r(71614),"[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[()=>a.r(98224),"[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>a.r(20088),"[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[()=>a.r(18781),"[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],M={require:a.r.bind(a),loadChunk:a.l.bind(a)},N=new c.AppPageRouteModule({definition:{kind:d.RouteKind.APP_PAGE,page:"/login/page",pathname:"/login",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:L},distDir:"next-output",relativeProjectDir:""});async function O(b,c,P){var Q,R,S,T,U;P.requestMeta&&(0,g.setRequestMeta)(b,P.requestMeta),N.isDev&&(0,g.addRequestMeta)(b,"devRequestTimingInternalsEnd",process.hrtime.bigint());let V=!!(0,g.getRequestMeta)(b,"minimalMode"),W="/login/page";W=W.replace(/\/index$/,"")||"/";let X=await N.prepare(b,c,{srcPage:W,multiZoneDraftMode:!1});if(!X)return c.statusCode=400,c.end("Bad Request"),null==P.waitUntil||P.waitUntil.call(P,Promise.resolve()),null;let{buildId:Y,query:Z,params:$,pageIsDynamic:_,buildManifest:aa,nextFontManifest:ab,reactLoadableManifest:ac,serverActionsManifest:ad,clientReferenceManifest:ae,subresourceIntegrityManifest:af,prerenderManifest:ag,isDraftMode:ah,resolvedPathname:ai,revalidateOnlyGenerated:aj,routerServerContext:ak,nextConfig:al,parsedUrl:am,interceptionRoutePatterns:an,deploymentId:ao,clientAssetToken:ap}=X,aq=(0,q.normalizeAppPath)(W),{isOnDemandRevalidate:ar}=X,as=al.experimental.ppr&&!al.cacheComponents&&(0,J.isInterceptionRouteAppPath)(ai)?null:N.match(ai,ag),at=(null==as?void 0:as.route)??null,au=!!ag.routes[ai],av=b.headers["user-agent"]||"",aw=(0,t.getBotType)(av),ax=(0,p.isHtmlBotRequest)(b),ay=(0,g.getRequestMeta)(b,"isPrefetchRSCRequest")??"1"===b.headers[s.NEXT_ROUTER_PREFETCH_HEADER],az=(0,g.getRequestMeta)(b,"isRSCRequest")??(0,m.isRSCRequestHeader)(b.headers[s.RSC_HEADER]),aA=(0,r.getIsPossibleServerAction)(b),aB=(0,l.checkIsAppPPREnabled)(al.experimental.ppr),aC=b.headers[x.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,g.getRequestMeta)(b,"postponed")&&V&&aB&&aA&&aC&&"string"==typeof aC){let d=parseInt(aC,10),{maxPostponedStateSize:e,maxPostponedStateSizeBytes:f}=(0,D.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize);if(!isNaN(d)&&d>0){if(d>f)return c.statusCode=413,c.end((0,D.getPostponedStateExceededErrorMessage)(e)),null==P.waitUntil||P.waitUntil.call(P,Promise.resolve()),null;let h="1 MB",i=(null==(U=al.experimental.serverActions)?void 0:U.bodySizeLimit)??h,j=d+(i!==h?a.r(95258).parse(i):1048576),k=await (0,D.readBodyWithSizeLimit)(b,j);if(null===k)return c.statusCode=413,c.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==P.waitUntil||P.waitUntil.call(P,Promise.resolve()),null;if(k.length>=d){let a=k.subarray(0,d).toString("utf8");(0,g.addRequestMeta)(b,"postponed",a);let c=k.subarray(d);(0,g.addRequestMeta)(b,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${d} bytes of postponed state but only received ${k.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,g.getRequestMeta)(b,"postponed")&&aB&&"1"===b.headers[x.NEXT_RESUME_HEADER]&&"POST"===b.method){let{maxPostponedStateSize:a,maxPostponedStateSizeBytes:d}=(0,D.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize),e=await (0,D.readBodyWithSizeLimit)(b,d);if(null===e)return c.statusCode=413,c.end((0,D.getPostponedStateExceededErrorMessage)(a)),null==P.waitUntil||P.waitUntil.call(P,Promise.resolve()),null;let f=e.toString("utf8");(0,g.addRequestMeta)(b,"postponed",f)}let aD=!0===N.isDev||!0===al.experimental.exposeTestingApiInProductionBuild,aE=aD&&("1"===b.headers[s.NEXT_INSTANT_PREFETCH_HEADER]||!(0,m.isRSCRequestHeader)(b.headers[s.RSC_HEADER])&&"string"==typeof b.headers.cookie&&b.headers.cookie.includes(s.NEXT_INSTANT_TEST_COOKIE+"=")),aF=(aB||aE)&&((null==(Q=ag.routes[aq]??ag.dynamicRoutes[aq])?void 0:Q.renderingMode)==="PARTIALLY_STATIC"||aE&&(aD||(null==ak?void 0:ak.experimentalTestProxy)===!0)),aG=aE&&aF,aH=aG&&!0===N.isDev,aI=!1,aJ=aF?(0,g.getRequestMeta)(b,"postponed"):void 0,aK=null==(R=ag.routes[ai])?void 0:R.prefetchDataRoute,aL=aF&&az&&!ay&&!aK;V&&(aL=aL&&!!aJ);let aM=(0,g.getRequestMeta)(b,"segmentPrefetchRSCRequest"),aN=(!aw||!aF)&&(!av||(0,p.shouldServeStreamingMetadata)(av,al.htmlLimitedBots)),aO=!!((at||au||ag.routes[aq])&&!(aw&&aF)),aP=aF&&!0===al.cacheComponents,aQ=!0===N.isDev||!aO||"string"==typeof aJ||(aP&&(0,g.getRequestMeta)(b,"onCacheEntryV2")?aL&&!V:aL),aR=!!aw&&aF,aS=(null==at?void 0:at.remainingPrerenderableParams)??[],aT=(null==at?void 0:at.fallback)===null&&((null==(S=at.fallbackRootParams)?void 0:S.length)??0)>0,aU=null;if(!ah&&aO&&!aQ&&!aA&&!aJ&&!aL){let a=as?"string"==typeof(null==at?void 0:at.fallback)?at.fallback:as.source:null;if(!0===al.experimental.partialFallbacks&&a&&(null==at?void 0:at.fallbackRouteParams)&&!aT){if(aS.length>0){let b,c=(b=new Map(aS.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,K.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==$?void 0:$[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace((0,n.buildDynamicSegmentPlaceholder)(d),f)}).join("/")||"/");aU=c!==a?c:null}}else aU=ai}let aV=aU;!aV&&(N.isDev||aO&&_&&(null==at?void 0:at.fallbackRouteParams)&&!aA)&&(aV=ai),N.isDev||ah||!aO||!az||aL||(0,j.stripFlightHeaders)(b.headers);let aW={...F,tree:L,handler:O,routeModule:N,__next_app__:M};ad&&ae&&(0,o.setManifestsSingleton)({page:W,clientReferenceManifest:ae,serverActionsManifest:ad});let aX=b.method||"GET",aY=(0,f.getTracer)(),aZ=aY.getActiveScopeSpan(),a$=!!(null==ak?void 0:ak.isWrappedByNextServer),a_=!0===al.experimental.partialFallbacks&&aS.length>0?(null==at||null==(T=at.fallbackRouteParams)?void 0:T.filter(a=>!aS.some(b=>b.paramName===a.paramName)))??[]:[],a0=async()=>((null==ak?void 0:ak.render404)?await ak.render404(b,c,am,!1):c.end("This page could not be found"),null);try{let a,j=N.getVaryHeader(ai,an);c.setHeader("Vary",j);let l=async(d,e)=>{let f=new k.NodeNextRequest(b),g=new k.NodeNextResponse(c);return N.render(f,g,e).finally(()=>{if(!d)return;d.setAttributes({"http.status_code":c.statusCode,"next.rsc":!1});let b=aY.getRootSpanAttributes();if(!b)return;if(b.get("next.span_type")!==h.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${b.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=b.get("next.route");if(e){let b=`${aX} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),d.updateName(b),a&&a!==d&&(a.setAttribute("http.route",e),a.updateName(b))}else d.updateName(`${aX} ${W}`)})},m=(0,g.getRequestMeta)(b,"incrementalCache")||await N.getIncrementalCache(b,al,ag,V);null==m||m.resetRequestCache(),globalThis.__incrementalCache=m;let o=async({span:a,postponed:d,fallbackRouteParams:e,forceStaticRender:f})=>{let h={query:Z,params:$,page:aq,sharedContext:{buildId:Y,deploymentId:ao,clientAssetToken:ap},serverComponentsHmrCache:(0,g.getRequestMeta)(b,"serverComponentsHmrCache"),fallbackRouteParams:e,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aW,Component:(0,i.interopDefault)(aW),params:$,routeModule:N,page:W,postponed:d,shouldWaitOnAllReady:aR,serveStreamingMetadata:aN,supportsDynamicResponse:"string"==typeof d||aQ,buildManifest:aa,nextFontManifest:ab,reactLoadableManifest:ac,subresourceIntegrityManifest:af,setCacheStatus:null==ak?void 0:ak.setCacheStatus,setIsrStatus:null==ak?void 0:ak.setIsrStatus,setReactDebugChannel:null==ak?void 0:ak.setReactDebugChannel,sendErrorsToBrowser:null==ak?void 0:ak.sendErrorsToBrowser,dir:require("path").join(process.cwd(),N.relativeProjectDir),isDraftMode:ah,botType:aw,isOnDemandRevalidate:ar,isPossibleServerAction:aA,assetPrefix:al.assetPrefix,nextConfigOutput:al.output,crossOrigin:al.crossOrigin,trailingSlash:al.trailingSlash,images:al.images,previewProps:ag.preview,enableTainting:al.experimental.taint,htmlLimitedBots:al.htmlLimitedBots,reactMaxHeadersLength:al.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:m,cacheLifeProfiles:al.cacheLife,basePath:al.basePath,serverActions:al.experimental.serverActions,logServerFunctions:"object"==typeof al.logging&&!!al.logging.serverFunctions,...aG||aH||aI?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aH}:{},cacheComponents:!!al.cacheComponents,experimental:{isRoutePPREnabled:aF,expireTime:al.expireTime,staleTimes:al.experimental.staleTimes,dynamicOnHover:!!al.experimental.dynamicOnHover,optimisticRouting:!!al.experimental.optimisticRouting,inlineCss:!!al.experimental.inlineCss,prefetchInlining:al.experimental.prefetchInlining??!1,authInterrupts:!!al.experimental.authInterrupts,cachedNavigations:!!al.experimental.cachedNavigations,clientTraceMetadata:al.experimental.clientTraceMetadata||[],clientParamParsingOrigins:al.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,C.parseMaxPostponedStateSize)(al.experimental.maxPostponedStateSize)},waitUntil:P.waitUntil,onClose:a=>{c.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(a,c,d,e)=>N.onRequestError(b,a,d,e,ak),err:(0,g.getRequestMeta)(b,"invokeError")}};f&&(h.renderOpts.supportsDynamicResponse=!1);let j=await l(a,h),{metadata:k}=j,{cacheControl:n,headers:o={},fetchTags:p,fetchMetrics:q}=k;if(p&&(o[x.NEXT_CACHE_TAGS_HEADER]=p),b.fetchMetrics=q,aO&&(null==n?void 0:n.revalidate)===0&&!N.isDev&&!aF){let a=k.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ai}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
|
|
2
|
+
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:j,headers:o,rscData:k.flightData,postponed:k.postponed,status:k.statusCode,segmentData:k.segmentData},cacheControl:n}},p=async({hasResolved:a,previousCacheEntry:f,isRevalidating:h,span:i,forceStaticRender:j=!1})=>{let k=!1===N.isDev,l=a||c.writableEnded;try{var q;let e;if(ar&&aj&&!f&&!V)return(null==ak?void 0:ak.render404)?await ak.render404(b,c):(c.statusCode=404,c.end("This page could not be found")),null;if(at&&(e=(0,v.parseFallbackField)(at.fallback)),!0===al.experimental.partialFallbacks&&(null==at?void 0:at.fallback)===null&&!aT&&aS.length>0&&(e=v.FallbackMode.PRERENDER),e===v.FallbackMode.PRERENDER&&(0,t.isBot)(av)&&(!aF||ax)&&(e=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ar=!0),ar&&(e!==v.FallbackMode.NOT_FOUND||f)&&(e=v.FallbackMode.BLOCKING_STATIC_RENDER),!V&&e!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aV&&!l&&!ah&&_&&(k||!au)){if((k||at)&&e===v.FallbackMode.NOT_FOUND){if(al.adapterPath)return await a0();throw new B.NoFallbackError}if(aF&&(al.cacheComponents?!aL:!az)){let c=k&&"string"==typeof(null==at?void 0:at.fallback)?at.fallback:aq,e=(k||aG)&&(null==at?void 0:at.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(at.fallbackRouteParams):aI?(0,n.getFallbackRouteParams)(aq,N):null;aG&&e&&(0,g.addRequestMeta)(b,"fallbackParams",e);let f=await N.handleResponse({cacheKey:c,req:b,nextConfig:al,routeKind:d.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ag,isRoutePPREnabled:aF,responseGenerator:async()=>o({span:i,postponed:void 0,fallbackRouteParams:e,forceStaticRender:!0}),waitUntil:P.waitUntil,isMinimalMode:V});if(null===f)return null;if(f)return V||!aF||!(aS.length>0)||!0!==al.experimental.partialFallbacks||!aU||!m||ar||aI||aD||aE||ay||(0,I.scheduleOnNextTick)(async()=>{let c=N.getResponseCache(b);try{await c.revalidate(aU,m,aF,!1,a=>o({span:a.span,postponed:void 0,fallbackRouteParams:a_.length>0?(0,n.createOpaqueFallbackRouteParams)(a_):null,forceStaticRender:!0}),null,a,P.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete f.cacheControl,f}}let r=ar||h||!aJ?void 0:aJ;if(aP&&!V&&m&&(aL||aA)&&!j){let c=await m.get(ai,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});c&&c.value&&c.value.kind===u.CachedRouteKind.APP_PAGE&&(r=c.value.postponed,c&&(-1===c.isStale||!0===c.isStale)&&(0,I.scheduleOnNextTick)(async()=>{let c=N.getResponseCache(b);try{await c.revalidate(ai,m,aF,!1,a=>p({...a,forceStaticRender:!0}),null,a,P.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aG||aH)&&void 0!==r)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=!N.isDev&&_&&(null==at?void 0:at.fallbackRouteParams)?(0,n.getPlaceholderFallbackRouteParams)($,at.fallbackRouteParams):null,x=s&&s.length>0?s:null==at?void 0:at.fallbackRouteParams,y=null!=s&&s.length>0,z=null;if(al.cacheComponents&&(null==at?void 0:at.fallbackRouteParams)){let a=(0,g.getRequestMeta)(b,"resolvedRouteParamKeys");a&&a.size>0&&(z=at.fallbackRouteParams.filter(b=>!a.has(b.paramName)))}let A=(k&&(0,g.getRequestMeta)(b,"renderFallbackShell")||y||aG&&!au)&&x?(0,n.createOpaqueFallbackRouteParams)(x):z&&z.length>0&&z.length<((null==at||null==(q=at.fallbackRouteParams)?void 0:q.length)??0)?(0,n.createOpaqueFallbackRouteParams)(z):aI?(0,n.getFallbackRouteParams)(aq,N):null;if((k||aG)&&al.cacheComponents&&!au&&(null==at?void 0:at.fallbackRouteParams)){let a=(0,n.createOpaqueFallbackRouteParams)(x??at.fallbackRouteParams);a&&(0,g.addRequestMeta)(b,"fallbackParams",a)}return o({span:i,postponed:r,fallbackRouteParams:A,forceStaticRender:j})}catch(a){throw(null==f?void 0:f.isStale)&&await N.onRequestError(b,a,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,e.getRevalidateReason)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),a}},q=async a=>{var e,f,h,i,j,k;let l,m=await N.handleResponse({cacheKey:aU,responseGenerator:b=>p({span:a,...b}),routeKind:d.RouteKind.APP_PAGE,isOnDemandRevalidate:ar,isRoutePPREnabled:aF,req:b,nextConfig:al,prerenderManifest:ag,waitUntil:P.waitUntil,isMinimalMode:V});if(ah&&c.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),N.isDev&&c.setHeader("Cache-Control","no-cache, must-revalidate"),!m){if(aU)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(e=m.value)?void 0:e.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(h=m.value)?void 0:h.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;az&&!aA&&ao&&c.setHeader(x.NEXT_NAV_DEPLOYMENT_ID_HEADER,ao),aO&&!aL&&(!n||ay)&&(V||c.setHeader("x-nextjs-cache",ar?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),c.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=m;if(aJ)l={revalidate:0,expire:void 0};else if(aL)l={revalidate:0,expire:void 0};else if(!N.isDev)if(ah)l={revalidate:0,expire:void 0};else if(aO){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(i=m.cacheControl)?void 0:i.expire)??al.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else c.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof aM&&(null==q?void 0:q.kind)===u.CachedRouteKind.APP_PAGE&&q.segmentData){c.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let a=null==(j=q.headers)?void 0:j[x.NEXT_CACHE_TAGS_HEADER];V&&aO&&a&&"string"==typeof a&&c.setHeader(x.NEXT_CACHE_TAGS_HEADER,a);let d=q.segmentData.get(aM);return void 0!==d?(0,A.sendRenderResult)({req:b,res:c,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(c.statusCode=204,(0,A.sendRenderResult)({req:b,res:c,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let r=aP?(0,g.getRequestMeta)(b,"onCacheEntryV2")??(0,g.getRequestMeta)(b,"onCacheEntry"):(0,g.getRequestMeta)(b,"onCacheEntry");if(r){let a=(0,g.getRequestMeta)(b,"initURL")??b.url,c=a?(null==(k=(0,E.parseUrl)(a))?void 0:k.pathname)??a:void 0;if(await r(m,{url:c}))return null}if(q.headers){let a={...q.headers};for(let[b,d]of(V&&aO||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)c.appendHeader(b,a);else"number"==typeof d&&(d=d.toString()),c.appendHeader(b,d)}let t=null==(f=q.headers)?void 0:f[x.NEXT_CACHE_TAGS_HEADER];if(V&&aO&&t&&"string"==typeof t&&c.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!q.status||az&&aF||(c.statusCode=q.status),!V&&q.status&&G.RedirectStatusCode[q.status]&&az&&(c.statusCode=200),n&&!aL&&c.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),az&&!ah){if(void 0===q.rscData){if(q.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(al.cacheComponents)return c.statusCode=404,(0,A.sendRenderResult)({req:b,res:c,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new H.InvariantError(`Expected RSC response, got ${q.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:b,res:c,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:q.html,cacheControl:m.cacheControl})}return(0,A.sendRenderResult)({req:b,res:c,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w.default.fromStatic(q.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=q.html;if(aE&&aG){let a=!0===N.isDev?crypto.randomUUID():null;return v.pipeThrough(await (0,z.createInstantTestScriptInsertionTransformStream)(a)),(0,A.sendRenderResult)({req:b,res:c,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})}if(!n||V||az)return(0,A.sendRenderResult)({req:b,res:c,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:v,cacheControl:m.cacheControl});if(aG||aH)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:b,res:c,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let B=new TransformStream;return v.push(B.readable),o({span:a,postponed:q.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(B.writable)}).catch(a=>{B.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:b,res:c,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!a$||!aZ)return a=aY.getActiveScopeSpan(),await aY.withPropagatedContext(b.headers,()=>aY.trace(h.BaseServerSpan.handleRequest,{spanName:`${aX} ${W}`,kind:f.SpanKind.SERVER,attributes:{"http.method":aX,"http.target":b.url}},q),void 0,!a$);await q(aZ)}catch(a){throw a instanceof B.NoFallbackError||await N.onRequestError(b,a,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,e.getRevalidateReason)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),a}}a.s(["__next_app__",0,M,"handler",0,O,"routeModule",0,N],27430),a.i(27430),a.s(["ClientPageRoot",()=>F.ClientPageRoot,"ClientSegmentRoot",()=>F.ClientSegmentRoot,"Fragment",()=>F.Fragment,"HTTPAccessFallbackBoundary",()=>F.HTTPAccessFallbackBoundary,"InstantValidation",()=>F.InstantValidation,"LayoutRouter",()=>F.LayoutRouter,"LoadingBoundaryProvider",()=>F.LoadingBoundaryProvider,"Postpone",()=>F.Postpone,"RenderFromTemplateContext",()=>F.RenderFromTemplateContext,"RootLayoutBoundary",()=>F.RootLayoutBoundary,"SegmentViewNode",()=>F.SegmentViewNode,"SegmentViewStateNode",()=>F.SegmentViewStateNode,"__next_app__",0,M,"actionAsyncStorage",()=>F.actionAsyncStorage,"captureOwnerStack",()=>F.captureOwnerStack,"collectPrefetchHints",()=>F.collectPrefetchHints,"collectSegmentData",()=>F.collectSegmentData,"createElement",()=>F.createElement,"createMetadataComponents",()=>F.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>F.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>F.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>F.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>F.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>F.createTemporaryReferenceSet,"decodeAction",()=>F.decodeAction,"decodeFormState",()=>F.decodeFormState,"decodeReply",()=>F.decodeReply,"handler",0,O,"patchFetch",()=>F.patchFetch,"preconnect",()=>F.preconnect,"preloadFont",()=>F.preloadFont,"preloadStyle",()=>F.preloadStyle,"prerender",()=>F.prerender,"renderToReadableStream",()=>F.renderToReadableStream,"routeModule",0,N,"serverHooks",()=>F.serverHooks,"taintObjectReference",()=>F.taintObjectReference,"workAsyncStorage",()=>F.workAsyncStorage,"workUnitAsyncStorage",()=>F.workUnitAsyncStorage],89738)}];
|
|
3
|
+
|
|
4
|
+
//# sourceMappingURL=0z~i_next_dist_esm_build_templates_app-page_0pw4c6_.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(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"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},2474,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},35394,a=>{"use strict";a.s(["is_supabase_configured",0,function(){let a=process.env.NEXT_PUBLIC_SUPABASE_URL?.trim()??"",b=process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY?.trim()??"";return a.length>0&&b.length>0}])},4813,92398,23761,a=>{"use strict";var b=a.i(77564),c=a.i(35394),d=a.i(50227),e=a.i(2157),f=a.i(59341);async function g(a){try{await e.promises.mkdir(a,{recursive:!0})}catch(a){if("EEXIST"!==(null!==a&&"object"==typeof a&&"code"in a&&"string"==typeof a.code?a.code:null))throw a}}function h(a,b=[],c=null){if(0===a.length)throw Error("New sheet name must not be empty");if(null!==c&&void 0===b.find(({id:a})=>a===c))throw Error("New sheet active entry does not exist");return{name:a,entries:b,activeEntryID:c}}function i(){return{version:f.DB_VERSION,sheets:[h(f.DEFAULT_SHEET_NAME)],activeSheetName:f.DEFAULT_SHEET_NAME}}a.s(["gen_db",0,i,"gen_sheet",0,h],92398);let j={2:function(a){let{sheets:b,version:c,activeSheetName:d}=a;if(1!==c&&void 0!==c)throw Error(`DB is version ${c}, cannot migrate to version 2.`);return{version:2,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d})=>({tags:[],notes:[],id:a,end:c,start:b,description:d}))}))}},3:function(a){let{sheets:b,version:c,activeSheetName:d}=a;if(2!==c&&void 0!==c)throw Error(`DB is version ${c}, cannot migrate to version 3.`);return{version:3,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d,tags:e})=>({notes:[],tags:e,id:a,end:c,start:b,description:d}))}))}}};async function k(a,b=f.DB_PATH){let c,d=JSON.stringify((c=a.sheets.map(a=>({name:a.name,activeEntryID:a.activeEntryID,entries:a.entries.map(a=>({id:a.id,description:a.description,tags:a.tags,start:a.start.getTime(),end:null===a.end?null:a.end.getTime(),notes:a.notes.map(a=>({text:a.text,timestamp:a.timestamp.getTime()}))}))})),{version:a.version,activeSheetName:a.activeSheetName,sheets:c}));try{await e.promises.writeFile(b,d)}catch(a){throw Error(`Failed to save DB: ${String(a)}`,{cause:a})}}async function l(a=f.DB_PATH){let b,c=d.default.dirname(a);await g(c);try{await e.promises.access(a)}catch{let b=i();return await k(b,a),b}let h=await e.promises.readFile(a,"utf-8");try{b=JSON.parse(h)}catch(b){throw Error(`DB at ${a} is invalid JSON: ${String(b)}`,{cause:b})}let m=function(a){let b=a,c=!1,d=void 0===b.version?1:b.version;if(d>f.DB_VERSION||d<1)throw Error(`Unknown DB version ${b.version}, cannot load.`);for(;d<f.DB_VERSION;){let a=d+1,e=j[a];if(void 0===e)throw Error(`Missing migration from version ${d} to ${a}.`);if((b=e(b)).version!==a)throw Error(`Invalid migration output for version ${a}.`);d=a,c=!0}return{json_db:b,did_migrate:c}}(b),n=function(a){let{sheets:b,version:c,activeSheetName:d}=a;return{version:c,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d,tags:e,notes:f})=>({id:a,description:d,tags:e,notes:f.map(({timestamp:a,text:b})=>({text:b,timestamp:new Date(a)})),start:new Date(b),end:null===c?null:new Date(c)}))}))}}(b=m.json_db);return m.did_migrate&&await k(n,a),n}a.s(["write_local_db",0,k],23761);var m=a.i(44679);async function n(a){let b=await (0,m.create_server_supabase_client)(),{data:c,error:d}=await b.from("tracker_accounts").select("active_sheet_name, db_version").eq("user_id",a).maybeSingle();if(null!==d)throw Error(`Failed to load tracker account: ${d.message}`);if(null===c)return i();let{data:e,error:g}=await b.from("sheets").select("id, name, active_entry_id").eq("user_id",a).order("name",{ascending:!0});if(null!==g)throw Error(`Failed to load sheets: ${g.message}`);let j=e??[];if(0===j.length)return{version:c.db_version??f.DB_VERSION,activeSheetName:c.active_sheet_name,sheets:[]};let k=j.map(a=>a.id),{data:l,error:n}=await b.from("entries").select("sheet_id, id, start_at, end_at, description, tags").in("sheet_id",k).order("id",{ascending:!0});if(null!==n)throw Error(`Failed to load entries: ${n.message}`);let{data:o,error:p}=await b.from("entry_notes").select("sheet_id, entry_id, note_index, noted_at, text").in("sheet_id",k).order("note_index",{ascending:!0});if(null!==p)throw Error(`Failed to load entry notes: ${p.message}`);let q=new Map;for(let a of o??[]){let b=`${a.sheet_id}:${a.entry_id}`,c=q.get(b)??[];c.push({text:a.text,timestamp:new Date(a.noted_at)}),q.set(b,c)}let r=new Map;for(let a of l??[]){let b=`${a.sheet_id}:${a.id}`,c=r.get(a.sheet_id)??[];c.push({id:a.id,description:a.description,tags:a.tags??[],start:new Date(a.start_at),end:null===a.end_at?null:new Date(a.end_at),notes:q.get(b)??[]}),r.set(a.sheet_id,c)}let s=j.map(a=>h(a.name,r.get(a.id)??[],a.active_entry_id));return{version:c.db_version??f.DB_VERSION,activeSheetName:c.active_sheet_name,sheets:s}}async function o(a){if((0,c.is_supabase_configured)()){let a=await (0,b.get_authenticated_user_id)();if(null!==a)return n(a)}return l(a)}a.s(["read_db",0,o],4813)},60197,a=>{"use strict";var b=a.i(59341),c=a.i(77564),d=a.i(35394);async function e(){return!!(0,d.is_supabase_configured)()&&null!==await (0,c.get_authenticated_user_id)()}async function f(){if(await e()){let a=process.env.NEXT_PUBLIC_SUPABASE_URL?.trim()??"Supabase";return`Cloud sync (${a})`}return b.DB_PATH}a.s(["resolve_db_path_label",0,f],60197)},67835,19045,88028,a=>{"use strict";function b(a,b,c){return{id:a.id,description:a.description,start:a.start.toISOString(),end:null===a.end?null:a.end.toISOString(),tags:a.tags,notes:a.notes.map(({timestamp:a,text:b})=>({timestamp:a.toISOString(),text:b})),sheetName:b,durationMs:function(a,b=Date.now()){let{end:c,start:d}=a;return Math.max(0,(null===c?b:+c)-d)}(a),isActive:c}}a.s(["get_serialized_entries_total_ms",0,function(a){return a.reduce((a,b)=>a+b.durationMs,0)}],67835),a.s(["serialize_entry",0,b],19045),a.s(["serialize_sheet_entries",0,function(a){let{activeEntryID:c,entries:d,name:e}=a;return d.map(a=>b(a,e,c===a.id&&null===a.end))}],88028)},26758,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},38872,a=>{"use strict";let b={src:a.i(26758).default,width:256,height:256};a.s(["default",0,b])},43732,a=>{"use strict";a.s(["TrackerApp",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call TrackerApp() from the server but TrackerApp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/tracker-app.tsx <module evaluation>","TrackerApp")},50367,a=>{"use strict";a.s(["TrackerApp",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call TrackerApp() from the server but TrackerApp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/tracker-app.tsx","TrackerApp")},84174,a=>{"use strict";a.i(43732);var b=a.i(50367);a.n(b)},50708,a=>{"use strict";var b=a.i(46193),c=a.i(40035),d=a.i(84174),e=a.i(90492),f=a.i(60197),g=a.i(67835),h=a.i(4813),i=a.i(59341),j=a.i(19045),k=a.i(88028),l=a.i(92398),m=a.i(77564),n=a.i(35394),o=a.i(23761),p=a.i(44679);async function q(a,b){let c=await (0,p.create_server_supabase_client)(),{error:d}=await c.from("tracker_accounts").upsert({user_id:b,active_sheet_name:a.activeSheetName,db_version:a.version,updated_at:new Date().toISOString()});if(null!==d)throw Error(`Failed to save tracker account: ${d.message}`);let{data:e,error:f}=await c.from("sheets").select("id").eq("user_id",b);if(null!==f)throw Error(`Failed to list sheets: ${f.message}`);let g=(e??[]).map(a=>a.id);if(g.length>0){let{error:a}=await c.from("sheets").delete().in("id",g);if(null!==a)throw Error(`Failed to clear sheets: ${a.message}`)}for(let d of a.sheets){let a={user_id:b,name:d.name,active_entry_id:d.activeEntryID},{data:e,error:f}=await c.from("sheets").insert(a).select("id").single();if(null!==f)throw Error(`Failed to save sheet "${d.name}": ${f.message}`);let g=e.id;if(0===d.entries.length)continue;let h=d.entries.map(a=>({sheet_id:g,id:a.id,start_at:a.start.toISOString(),end_at:null===a.end?null:a.end.toISOString(),description:a.description,tags:a.tags})),{error:i}=await c.from("entries").insert(h);if(null!==i)throw Error(`Failed to save entries for "${d.name}": ${i.message}`);let j=[];for(let a of d.entries)a.notes.forEach((b,c)=>{j.push({sheet_id:g,entry_id:a.id,note_index:c,noted_at:b.timestamp.toISOString(),text:b.text})});if(0===j.length)continue;let{error:k}=await c.from("entry_notes").insert(j);if(null!==k)throw Error(`Failed to save notes for "${d.name}": ${k.message}`)}}async function r(a,b){if((0,n.is_supabase_configured)()){let b=await (0,m.get_authenticated_user_id)();if(null!==b)return void await q(a,b)}await (0,o.write_local_db)(a,b)}async function s(a){let b=await (0,h.read_db)();b.sheets.some(({name:b})=>b===a)||b.sheets.push((0,l.gen_sheet)(a)),b.activeSheetName=a,await r(b)}async function t(a){let b=await (0,h.read_db)(),c=function(a,b){let c=b?.trim()??"";if(c.length>0&&a.sheets.some(a=>a.name===c))return c;if(null!==a.activeSheetName&&a.sheets.some(b=>b.name===a.activeSheetName))return a.activeSheetName;let d=a.sheets.find(a=>null!==a.activeEntryID);return void 0!==d?d.name:a.sheets[0]?.name??i.DEFAULT_SHEET_NAME}(b,a);b.activeSheetName!==c&&(await s(c),b.activeSheetName=c);let{activeSheetName:d,sheets:e}=b,l=[];if(null!==d){let a=function(a,b){let c=a.sheets.find(({name:a})=>a===b);if(void 0===c)throw Error(`Sheet ${b} not found`);return c}(b,d);l=function(a,b){let c=[...a];switch(b){case"oldest":return c.sort((a,b)=>new Date(a.start).getTime()-new Date(b.start).getTime());case"duration":return c.sort((a,b)=>b.durationMs-a.durationMs);case"description":return c.sort((a,b)=>{let c=a.description.trim()||"Untitled entry",d=b.description.trim()||"Untitled entry";return c.localeCompare(d)});default:return c.sort((a,b)=>new Date(b.start).getTime()-new Date(a.start).getTime())}}((0,k.serialize_sheet_entries)(a),"newest")}let m=null!==d?function(a,b){let c=a.sheets.find(({name:a})=>a===b);if(void 0===c)return null;let{activeEntryID:d,entries:e,name:f}=c;if(null===d)return null;let g=e.find(({id:a})=>a===d);return void 0===g?null:(0,j.serialize_entry)(g,f,null===g.end)}(b,d):null,n=function(a){let b=[];for(let c of a.sheets){let{activeEntryID:a,entries:d,name:e}=c;if(null===a)continue;let f=d.find(({id:b})=>b===a);void 0!==f&&null===f.end&&b.push((0,j.serialize_entry)(f,e,!0))}return b}(b),o=m??n[0]??null;return{dbPath:await (0,f.resolve_db_path_label)(),activeSheetName:d,knownTags:function(a){let b=new Set;for(let c of a.sheets)for(let a of c.entries)for(let c of a.tags){let a=c.trim();a.length>0&&b.add(a)}return[...b].sort((a,b)=>a.localeCompare(b))}(b),sheets:e.map(a=>({name:a.name,activeEntryID:a.activeEntryID,entryCount:a.entries.length,isActive:a.name===d,hasActiveEntry:null!==a.activeEntryID})),activeEntry:m,runningEntry:o,runningEntries:n,activeSheetEntries:l,activeSheetTotalMs:(0,g.get_serialized_entries_total_ms)(l)}}async function u(){let a=await (0,c.cookies)(),f=function(a,b){var c;let d="last_viewed"===(c=b.session_mode)||"active_timer"===c||"fixed"===c?c:e.DEFAULT_SHEET_SESSION_MODE_DEFAULT,f=void 0!==b.last_viewed_sheet&&decodeURIComponent(b.last_viewed_sheet).trim()||null,g=void 0!==b.fixed_sheet_name&&decodeURIComponent(b.fixed_sheet_name).trim()||null;switch(d){case"fixed":{let b=g?.trim()??"";if(b.length>0&&a.sheets.some(a=>a.name===b))return b;return null}case"active_timer":{let b=a.sheets.find(a=>null!==a.activeEntryID);return b?.name??null}default:return f}}(await (0,h.read_db)(),{session_mode:a.get(e.DEFAULT_SHEET_SESSION_MODE_COOKIE_NAME)?.value,fixed_sheet_name:a.get(e.DEFAULT_SHEET_FIXED_NAME_COOKIE_NAME)?.value,last_viewed_sheet:a.get(e.ACTIVE_SHEET_COOKIE_NAME)?.value}),g=await t(f);return(0,b.jsx)(d.TrackerApp,{initial_state:g})}a.s(["default",0,u],50708)},26030,a=>{a.n(a.i(50708))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__00t2myd._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(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"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},2474,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},35394,a=>{"use strict";a.s(["is_supabase_configured",0,function(){let a=process.env.NEXT_PUBLIC_SUPABASE_URL?.trim()??"",b=process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY?.trim()??"";return a.length>0&&b.length>0}])},85168,a=>{"use strict";a.s(["SettingsNav",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call SettingsNav() from the server but SettingsNav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/settings-nav.tsx <module evaluation>","SettingsNav")},28678,a=>{"use strict";a.s(["SettingsNav",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call SettingsNav() from the server but SettingsNav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/settings-nav.tsx","SettingsNav")},9615,a=>{"use strict";a.i(85168);var b=a.i(28678);a.n(b)},76360,a=>{"use strict";a.s(["SettingsSavedToast",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call SettingsSavedToast() from the server but SettingsSavedToast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/settings-saved-toast.tsx <module evaluation>","SettingsSavedToast")},89827,a=>{"use strict";a.s(["SettingsSavedToast",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call SettingsSavedToast() from the server but SettingsSavedToast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/settings-saved-toast.tsx","SettingsSavedToast")},24991,a=>{"use strict";a.i(76360);var b=a.i(89827);a.n(b)},84245,a=>{"use strict";a.s(["TrackerTopbar",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call TrackerTopbar() from the server but TrackerTopbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/tracker-topbar.tsx <module evaluation>","TrackerTopbar")},43680,a=>{"use strict";a.s(["TrackerTopbar",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call TrackerTopbar() from the server but TrackerTopbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/tracker-topbar.tsx","TrackerTopbar")},54675,a=>{"use strict";a.i(84245);var b=a.i(43680);a.n(b)},5894,a=>{"use strict";var b=a.i(46193),c=a.i(9615),d=a.i(24991),e=a.i(54675);a.s(["SettingsPageLayout",0,function({breadcrumb:a,title:f,description:g,children:h}){return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(d.SettingsSavedToast,{}),(0,b.jsx)(e.TrackerTopbar,{breadcrumb:a}),(0,b.jsxs)("main",{className:"mx-auto grid w-full max-w-[1120px] grid-cols-[minmax(12rem,16rem)_minmax(0,1fr)] gap-6 px-5 pb-10 pt-6 max-[860px]:grid-cols-1",children:[(0,b.jsxs)("aside",{className:"flex flex-col gap-2",children:[(0,b.jsx)("h2",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Settings"}),(0,b.jsx)(c.SettingsNav,{})]}),(0,b.jsxs)("section",{className:"flex min-w-0 flex-col gap-4",children:[(0,b.jsxs)("header",{className:"flex flex-col gap-1",children:[(0,b.jsx)("h1",{className:"m-0 text-[1.35rem] font-[650] tracking-tight",children:f}),void 0!==g?(0,b.jsx)("p",{className:"m-0 text-[0.9rem] leading-relaxed text-muted",children:g}):null]}),h]})]})]})}])},60197,a=>{"use strict";var b=a.i(59341),c=a.i(77564),d=a.i(35394);async function e(){return!!(0,d.is_supabase_configured)()&&null!==await (0,c.get_authenticated_user_id)()}async function f(){if(await e()){let a=process.env.NEXT_PUBLIC_SUPABASE_URL?.trim()??"Supabase";return`Cloud sync (${a})`}return b.DB_PATH}a.s(["resolve_db_path_label",0,f],60197)},4200,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(41445);a.n(d("[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/app-dir/link.js <module evaluation>"))},26530,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(41445);a.n(d("[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/app-dir/link.js"))},63103,a=>{"use strict";a.i(4200);var b=a.i(26530);a.n(b)},85779,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return i},useLinkStatus:function(){return h.useLinkStatus}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(54508),g=a.r(46193),h=f._(a.r(63103));function i(a){let b=a.legacyBehavior,c="string"==typeof a.children||"number"==typeof a.children||"string"==typeof a.children?.type,d=a.children?.type?.$$typeof===Symbol.for("react.client.reference");return!b||c||d||(a.children?.type?.$$typeof===Symbol.for("react.lazy")?console.error("Using a Lazy Component as a direct child of `<Link legacyBehavior>` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's `<a>` tag."):console.error("Using a Server Component as a direct child of `<Link legacyBehavior>` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's `<a>` tag.")),(0,g.jsx)(h.default,{...a})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},26758,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},38872,a=>{"use strict";let b={src:a.i(26758).default,width:256,height:256};a.s(["default",0,b])},75021,a=>{"use strict";a.s(["BackupRestoreSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call BackupRestoreSetting() from the server but BackupRestoreSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/backup-restore-setting.tsx <module evaluation>","BackupRestoreSetting")},46679,a=>{"use strict";a.s(["BackupRestoreSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call BackupRestoreSetting() from the server but BackupRestoreSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/backup-restore-setting.tsx","BackupRestoreSetting")},20349,a=>{"use strict";a.i(75021);var b=a.i(46679);a.n(b)},83919,a=>{"use strict";a.s(["CloudAccountSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call CloudAccountSetting() from the server but CloudAccountSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/cloud-account-setting.tsx <module evaluation>","CloudAccountSetting")},10430,a=>{"use strict";a.s(["CloudAccountSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call CloudAccountSetting() from the server but CloudAccountSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/cloud-account-setting.tsx","CloudAccountSetting")},72274,a=>{"use strict";a.i(83919);var b=a.i(10430);a.n(b)},38876,a=>{"use strict";var b=a.i(46193),c=a.i(85779),d=a.i(20349),e=a.i(72274),f=a.i(5894);function g({db_path:a}){return(0,b.jsx)(f.SettingsPageLayout,{breadcrumb:{current:"Data & backup",parent:{label:"Settings",href:"/settings"}},title:"Data & backup",description:"Database backups and bulk operations on stored entries.",children:(0,b.jsxs)("ul",{className:"m-0 flex w-full list-none flex-col gap-2 p-0","aria-label":"Data settings",children:[(0,b.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,b.jsx)(e.CloudAccountSetting,{})}),(0,b.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,b.jsx)(d.BackupRestoreSetting,{db_path:a})}),(0,b.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,b.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,b.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Tag management"}),(0,b.jsx)("span",{className:"text-[0.8rem] leading-snug text-muted",children:"Rename or merge @tags used across all entries."}),(0,b.jsx)(c.default,{className:"mt-2 self-start text-[0.85rem] font-semibold text-accent no-underline hover:underline",href:"/settings/tags",children:"Manage tags"})]})})]})})}var h=a.i(60197);async function i(){let a=await (0,h.resolve_db_path_label)();return(0,b.jsx)(g,{db_path:a})}a.s(["default",0,i],38876)},12678,a=>{a.n(a.i(38876))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__070_uw2._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(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"))},32319,(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"))},24725,(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"))},20635,(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"))},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"))},85058,(a,b,c)=>{"use strict";b.exports=a.r(18622)},39752,(a,b,c)=>{"use strict";b.exports=a.r(85058).vendored["react-ssr"].ReactJsxRuntime},34542,(a,b,c)=>{"use strict";b.exports=a.r(85058).vendored["react-ssr"].React},72034,(a,b,c)=>{"use strict";b.exports=a.r(85058).vendored.contexts.AppRouterContext},94877,(a,b,c)=>{"use strict";b.exports=a.r(85058).vendored.contexts.HooksClientContext},12273,(a,b,c)=>{"use strict";b.exports=a.r(85058).vendored.contexts.ServerInsertedHtml},71535,(a,b,c)=>{"use strict";b.exports=a.r(85058).vendored["react-ssr"].ReactServerDOMTurbopackClient},32715,(a,b,c)=>{"use strict";b.exports=a.r(85058).vendored["react-ssr"].ReactDOM},1611,89711,a=>{"use strict";var b=a.i(39752);function c({label:a,description:d,compact:e}){return(0,b.jsxs)("div",{className:"contents",children:[(0,b.jsx)("dt",{className:"m-0",children:(0,b.jsx)("kbd",{className:`inline-block min-w-7 rounded border border-panel-border bg-surface text-center font-mono font-semibold text-foreground ${e?"px-1 py-0.5 text-[0.7rem]":"px-1.5 py-0.5 text-[0.78rem]"}`,children:a})}),(0,b.jsx)("dd",{className:`m-0 self-center leading-snug text-muted ${e?"text-[0.8rem]":"text-[0.9rem]"}`,children:d})]})}a.s(["KeyboardShortcutsContent",0,function({sections:a,compact:d=!1}){return(0,b.jsx)("div",{className:`flex flex-col ${d?"gap-2.5":"gap-4"}`,children:a.map(a=>(0,b.jsxs)("section",{children:[(0,b.jsx)("h3",{className:`m-0 font-semibold uppercase tracking-[0.04em] text-muted ${d?"text-[0.65rem]":"text-[0.72rem]"}`,children:a.title}),(0,b.jsx)("dl",{className:`m-0 grid grid-cols-[auto_minmax(0,1fr)] ${d?"mt-1.5 gap-x-3 gap-y-1.5":"mt-2 gap-x-4 gap-y-2"}`,children:a.entries.map(e=>(0,b.jsx)(c,{label:e.label,description:e.description,compact:d},`${a.title}-${e.label}-${e.description}`))})]},a.title))})}],1611),a.s(["get_app_keyboard_shortcut_sections",0,function(){return[{title:"General",entries:[{label:"?",description:"Show keyboard shortcuts"}]}]}],89711)},72958,a=>{"use strict";a.i(63577),a.s(["schedule_ui_preferences_cloud_sync",0,function(){}])},52345,70827,a=>{"use strict";var b=a.i(72958);a.s(["create_ui_preference_store",0,function(a){let{default_value:c,is_valid:d,storage_key:e}=a,f=new Set,g=()=>c;return{storage_key:e,default_value:c,is_valid:d,read:g,write:a=>{try{window.localStorage.setItem(e,a),(0,b.schedule_ui_preferences_cloud_sync)()}catch{}},subscribe:a=>(f.add(a),()=>{f.delete(a)}),notify:()=>{f.forEach(a=>{a()})},get_snapshot:g,get_server_snapshot:()=>c}}],52345),a.s(["CHECK_IN_FORM_COLLAPSED_DEFAULT",0,"false","CHECK_IN_FORM_COLLAPSED_STORAGE_KEY",0,"super-time-tracker-check-in-form-collapsed","CLEAR_TAG_FILTERS_ON_SHEET_CHANGE_DEFAULT",0,"false","CLEAR_TAG_FILTERS_ON_SHEET_CHANGE_STORAGE_KEY",0,"super-time-tracker-clear-tag-filters-on-sheet-change","COLOR_PALETTE_DEFAULT",0,"default","COLOR_PALETTE_STORAGE_KEY",0,"super-time-tracker-color-palette","COLOR_PALETTE_VALUES",0,["default","midnight","warm","ocean","forest","contrast"],"CONFIRM_BEFORE_CHECKOUT_DEFAULT",0,"false","CONFIRM_BEFORE_CHECKOUT_STORAGE_KEY",0,"super-time-tracker-confirm-before-checkout","CONFIRM_DESTRUCTIVE_ACTIONS_DEFAULT",0,"true","CONFIRM_DESTRUCTIVE_ACTIONS_STORAGE_KEY",0,"super-time-tracker-confirm-destructive-actions","DEFAULT_REPORTING_RANGE_DEFAULT",0,"none","DEFAULT_REPORTING_RANGE_STORAGE_KEY",0,"super-time-tracker-default-reporting-range","DEFAULT_REPORTING_SORT_DEFAULT",0,"duration","DEFAULT_REPORTING_SORT_STORAGE_KEY",0,"super-time-tracker-default-reporting-sort","DURATION_FORMAT_DEFAULT",0,"humanized","DURATION_FORMAT_STORAGE_KEY",0,"super-time-tracker-duration-format","ENTRY_LIST_SORT_DEFAULT",0,"newest","ENTRY_LIST_SORT_STORAGE_KEY",0,"super-time-tracker-entry-list-sort","TAG_FILTER_MODE_DEFAULT",0,"all","TAG_FILTER_MODE_STORAGE_KEY",0,"super-time-tracker-tag-filter-mode","THEME_MODE_DEFAULT",0,"system","THEME_MODE_STORAGE_KEY",0,"super-time-tracker-theme-mode","TIMER_IN_TITLE_DEFAULT",0,"true","TIMER_IN_TITLE_STORAGE_KEY",0,"super-time-tracker-timer-in-title","TIMER_SHOW_SECONDS_DEFAULT",0,"false","TIMER_SHOW_SECONDS_STORAGE_KEY",0,"super-time-tracker-timer-show-seconds","TIME_FORMAT_DEFAULT",0,"12h","TIME_FORMAT_STORAGE_KEY",0,"super-time-tracker-time-format","WEEK_STARTS_ON_DEFAULT",0,"monday","WEEK_STARTS_ON_STORAGE_KEY",0,"super-time-tracker-week-starts-on"],70827)},29698,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.THEME_MODE_STORAGE_KEY,default_value:c.THEME_MODE_DEFAULT,is_valid:a=>"light"===a||"dark"===a||"system"===a});a.s(["theme_mode_preference",0,d])},89969,a=>{"use strict";a.s(["get_button_class_name",0,function(a="ghost",b="default"){return`cursor-pointer appearance-none rounded-[0.65rem] border border-transparent font-inherit font-semibold disabled:cursor-not-allowed disabled:opacity-55 ${({default:"px-3.5 py-2.5",small:"px-2.5 py-1.5 text-xs"})[b]} ${({primary:"border-accent-border bg-[var(--accent)] text-[var(--accent-text-on)]",ghost:"border-panel-border bg-ghost-bg text-inherit",danger:"border-danger-border bg-danger-soft text-danger","danger-solid":"border-danger-border bg-[var(--danger-solid)] text-[var(--danger-text-on)]"})[a]}`}])},53030,a=>{"use strict";var b=a.i(39752),c=a.i(34542),d=a.i(89969);function e({options:a,on_confirm:f,on_cancel:g}){let h=(0,c.useId)(),i=(0,c.useRef)(null),{cancelLabel:j="Cancel",confirmLabel:k="Confirm",message:l,title:m,variant:n="default"}=a;return(0,c.useEffect)(()=>{i.current?.focus();let a=a=>{"Escape"===a.key&&g()};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}},[g]),(0,b.jsxs)("div",{className:"fixed inset-0 z-100 flex items-center justify-center p-5",role:"presentation",children:[(0,b.jsx)("button",{type:"button",className:"absolute inset-0 cursor-default border-0 bg-overlay p-0","aria-label":"Dismiss dialog",onClick:g}),(0,b.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":h,className:"relative z-1 w-full max-w-md rounded-lg border border-panel-border bg-panel p-5 shadow-md",children:[(0,b.jsx)("h2",{id:h,className:"m-0 text-[1.1rem] font-[650] tracking-tight",children:m}),(0,b.jsx)("p",{className:"m-0 mt-2 text-[0.9rem] leading-relaxed text-muted",children:l}),(0,b.jsxs)("div",{className:"mt-5 flex flex-wrap justify-end gap-2",children:[(0,b.jsx)("button",{type:"button",className:(0,d.get_button_class_name)("ghost"),onClick:g,children:j}),(0,b.jsx)("button",{ref:i,type:"button",className:(0,d.get_button_class_name)("danger"===n?"danger":"primary"),onClick:f,children:k})]})]})]})}let f=(0,c.createContext)(null);a.s(["ConfirmDialogProvider",0,function({children:a}){let[d,g]=(0,c.useState)(null),h=(0,c.useCallback)(a=>new Promise(b=>{g({options:a,resolve:b})}),[]),i=a=>{d?.resolve(a),g(null)};return(0,b.jsxs)(f.Provider,{value:{confirm:h},children:[a,null!==d?(0,b.jsx)(e,{options:d.options,on_confirm:()=>i(!0),on_cancel:()=>i(!1)}):null]})},"use_confirm_dialog",0,function(){let a=(0,c.useContext)(f);if(null===a)throw Error("use_confirm_dialog must be used within ConfirmDialogProvider");return a}],53030)},63652,(a,b,c)=>{"use strict";c._=function(a){return a&&a.__esModule?a:{default:a}}},64169,a=>{"use strict";a.s(["collect_ui_preferences_from_window",0,function(){return{}}])},7386,46299,89184,a=>{"use strict";var b=a.i(39752),c=a.i(34542),d=a.i(1611),e=a.i(89969);function f(){return null!==document.querySelector('[role="dialog"][aria-modal="true"]')}a.s(["KeyboardShortcutsDialog",0,function({sections:a,on_close:f}){let g=(0,c.useId)(),h=(0,c.useRef)(null);return(0,c.useEffect)(()=>{h.current?.focus();let a=a=>{"Escape"===a.key&&f()};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}},[f]),(0,b.jsxs)("div",{className:"fixed inset-0 z-100 flex items-center justify-center p-5",role:"presentation",children:[(0,b.jsx)("button",{type:"button",className:"absolute inset-0 cursor-default border-0 bg-overlay p-0","aria-label":"Dismiss dialog",onClick:f}),(0,b.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":g,className:"relative z-1 w-full max-w-lg rounded-lg border border-panel-border bg-panel p-5 shadow-md",children:[(0,b.jsx)("h2",{id:g,className:"m-0 text-[1.1rem] font-[650] tracking-tight",children:"Keyboard shortcuts"}),(0,b.jsx)("div",{className:"mt-4 max-h-[min(28rem,70vh)] overflow-y-auto pr-1",children:(0,b.jsx)(d.KeyboardShortcutsContent,{sections:a})}),(0,b.jsx)("div",{className:"mt-5 flex justify-end",children:(0,b.jsx)("button",{ref:h,type:"button",className:(0,e.get_button_class_name)("primary"),onClick:f,children:"Close"})})]})]})}],7386),a.s(["is_modal_dialog_open",0,f],46299),a.s(["use_document_keyboard_shortcuts",0,function(a){let b=(0,c.useRef)(a);b.current=a,(0,c.useEffect)(()=>{let a=a=>{if(!function(a){let b=a.target;if(!(b instanceof HTMLElement))return!1;if(b.isContentEditable)return!0;let c=b.tagName;return"INPUT"===c||"TEXTAREA"===c||"SELECT"===c}(a)&&!f()){for(let c of b.current)if(c.is_available?.()!==!1&&function(a,b){let c=b.modifiers??[],d=c.includes("alt"),e=c.includes("ctrl"),f=c.includes("meta"),g=c.includes("shift");return a.altKey===d&&a.ctrlKey===e&&a.metaKey===f&&a.shiftKey===g&&(1===a.key.length?a.key.toLowerCase():a.key)===(1===b.key.length?b.key.toLowerCase():b.key)}(a,c)){a.preventDefault(),c.action();return}}};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}},[])}],89184)},83066,(a,b,c)=>{"use strict";b.exports=a.r(85058).vendored.contexts.HeadManagerContext},20798,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"setAttributesFromProps",{enumerable:!0,get:function(){return g}});let d={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},e=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function f(a){return["async","defer","noModule"].includes(a)}function g(a,b){for(let[c,g]of Object.entries(b)){if(!b.hasOwnProperty(c)||e.includes(c)||void 0===g)continue;let h=d[c]||c.toLowerCase();"SCRIPT"===a.tagName&&f(h)?a[h]=!!g:a.setAttribute(h,String(g)),(!1===g||"SCRIPT"===a.tagName&&f(h)&&(!g||"false"===g))&&(a.setAttribute(h,""),a.removeAttribute(h))}}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},76415,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={cancelIdleCallback:function(){return g},requestIdleCallback:function(){return f}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(a){let b=Date.now();return self.setTimeout(function(){a({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-b))}})},1)},g="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(a){return clearTimeout(a)};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},70364,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ESCAPE_REGEX:function(){return g},htmlEscapeAttributeString:function(){return k},htmlEscapeJsonString:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},g=/[&><\u2028\u2029]/g,h={"&":"&",'"':""","'":"'","<":"<",">":">"},i=/[&"'<>]/g;function j(a){return a.replace(g,a=>f[a])}function k(a){return a.replace(i,a=>h[a])}},45193,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return u},handleClientScriptLoad:function(){return r},initScriptLoader:function(){return s}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(63652),g=a.r(3988),h=a.r(39752),i=f._(a.r(32715)),j=g._(a.r(34542)),k=a.r(83066),l=a.r(20798),m=a.r(76415),n=a.r(70364),o=new Map,p=new Set,q=a=>{let{src:b,id:c,onLoad:d=()=>{},onReady:e=null,dangerouslySetInnerHTML:f,children:g="",strategy:h="afterInteractive",onError:j,stylesheets:k}=a,m=c||b;if(m&&p.has(m))return;if(o.has(b)){p.add(m),o.get(b).then(d,j);return}let n=()=>{e&&e(),p.add(m)},q=document.createElement("script"),r=new Promise((a,b)=>{q.addEventListener("load",function(b){a(),d&&d.call(this,b),n()}),q.addEventListener("error",function(a){b(a)})}).catch(function(a){j&&j(a)});f?(q.innerHTML=f.__html||"",n()):g?(q.textContent="string"==typeof g?g:Array.isArray(g)?g.join(""):"",n()):b&&(q.src=b,o.set(b,r)),(0,l.setAttributesFromProps)(q,a),"worker"===h&&q.setAttribute("type","text/partytown"),q.setAttribute("data-nscript",h),k&&(a=>{if(i.default.preinit)return a.forEach(a=>{i.default.preinit(a,{as:"style"})})})(k),document.body.appendChild(q)};function r(a){let{strategy:b="afterInteractive"}=a;"lazyOnload"===b?window.addEventListener("load",()=>{(0,m.requestIdleCallback)(()=>q(a))}):q(a)}function s(a){a.forEach(r),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(a=>{let b=a.id||a.getAttribute("src");p.add(b)})}function t(a){let{id:b,src:c="",onLoad:d=()=>{},onReady:e=null,strategy:f="afterInteractive",onError:g,stylesheets:l,...o}=a,{updateScripts:r,scripts:s,getIsSsr:t,appDir:u,nonce:v}=(0,j.useContext)(k.HeadManagerContext);v=o.nonce||v;let w=(0,j.useRef)(!1);(0,j.useEffect)(()=>{let a=b||c;w.current||(e&&a&&p.has(a)&&e(),w.current=!0)},[e,b,c]);let x=(0,j.useRef)(!1);if((0,j.useEffect)(()=>{if(!x.current){if("afterInteractive"===f)q(a);else"lazyOnload"===f&&("complete"===document.readyState?(0,m.requestIdleCallback)(()=>q(a)):window.addEventListener("load",()=>{(0,m.requestIdleCallback)(()=>q(a))}));x.current=!0}},[a,f]),("beforeInteractive"===f||"worker"===f)&&(r?(s[f]=(s[f]||[]).concat([{id:b,src:c,onLoad:d,onReady:e,onError:g,...o,nonce:v}]),r(s)):t&&t()?p.add(b||c):t&&!t()&&q({...a,nonce:v})),u){if(l&&l.forEach(a=>{i.default.preinit(a,{as:"style"})}),"beforeInteractive"===f)if(!c)return o.dangerouslySetInnerHTML&&(o.children=o.dangerouslySetInnerHTML.__html,delete o.dangerouslySetInnerHTML),(0,h.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,n.htmlEscapeJsonString)(JSON.stringify([0,{...o,id:b}]))})`}});else return i.default.preload(c,o.integrity?{as:"script",integrity:o.integrity,nonce:v,crossOrigin:o.crossOrigin}:{as:"script",nonce:v,crossOrigin:o.crossOrigin}),(0,h.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,n.htmlEscapeJsonString)(JSON.stringify([c,{...o,id:b}]))})`}});"afterInteractive"===f&&c&&i.default.preload(c,o.integrity?{as:"script",integrity:o.integrity,nonce:v,crossOrigin:o.crossOrigin}:{as:"script",nonce:v,crossOrigin:o.crossOrigin})}return null}Object.defineProperty(t,"__nextScript",{value:!0});let u=t;("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},17037,a=>{"use strict";var b=a.i(39752),c=a.i(82508),d=a.i(34542),e=a.i(7386),f=a.i(89711),g=a.i(89184);a.s(["AppKeyboardShortcuts",0,function(){let a=(0,c.usePathname)(),[h,i]=(0,d.useState)(!1),j="/"===a,k=(0,d.useMemo)(()=>j?[]:[{id:"help",label:"?",description:"Show keyboard shortcuts",key:"?",modifiers:["shift"],action:()=>{i(a=>!a)}}],[j]);return((0,g.use_document_keyboard_shortcuts)(k),!h||j)?null:(0,b.jsx)(e.KeyboardShortcutsDialog,{sections:(0,f.get_app_keyboard_shortcut_sections)(),on_close:()=>i(!1)})}])},24480,a=>{"use strict";var b=a.i(39752),c=a.i(82508),d=a.i(34542),e=a.i(64169),f=a.i(9301),g=a.i(63577);a.s(["CloudSyncProvider",0,function({children:a}){let h=(0,c.useRouter)();return(0,d.useEffect)(()=>{if(!(0,g.is_supabase_configured)())return;let a=(0,f.create_browser_supabase_client)(),b=async()=>{let{data:{session:b}}=await a.auth.getSession();if(null===b)return;let c=(0,e.collect_ui_preferences_from_window)(),d=await fetch("/api/ui-preferences");if(!d.ok){Object.keys(c).length>0&&await fetch("/api/ui-preferences",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({preferences:c})});return}(await d.json()).preferences,Object.keys(c).length>0&&await fetch("/api/ui-preferences",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({preferences:c})})};b();let{data:{subscription:c}}=a.auth.onAuthStateChange(a=>{"SIGNED_IN"===a&&b().then(()=>{h.refresh()}),"SIGNED_OUT"===a&&h.refresh()});return()=>{c.unsubscribe()}},[h]),(0,b.jsx)(b.Fragment,{children:a})}],24480)},97658,a=>{"use strict";var b=a.i(34542);a.i(29698),a.s(["ThemeModeSystemListener",0,function(){return(0,b.useEffect)(()=>{},[]),null}])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0c4ohc.._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(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"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},2474,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},35394,a=>{"use strict";a.s(["is_supabase_configured",0,function(){let a=process.env.NEXT_PUBLIC_SUPABASE_URL?.trim()??"",b=process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY?.trim()??"";return a.length>0&&b.length>0}])},4813,92398,23761,a=>{"use strict";var b=a.i(77564),c=a.i(35394),d=a.i(50227),e=a.i(2157),f=a.i(59341);async function g(a){try{await e.promises.mkdir(a,{recursive:!0})}catch(a){if("EEXIST"!==(null!==a&&"object"==typeof a&&"code"in a&&"string"==typeof a.code?a.code:null))throw a}}function h(a,b=[],c=null){if(0===a.length)throw Error("New sheet name must not be empty");if(null!==c&&void 0===b.find(({id:a})=>a===c))throw Error("New sheet active entry does not exist");return{name:a,entries:b,activeEntryID:c}}function i(){return{version:f.DB_VERSION,sheets:[h(f.DEFAULT_SHEET_NAME)],activeSheetName:f.DEFAULT_SHEET_NAME}}a.s(["gen_db",0,i,"gen_sheet",0,h],92398);let j={2:function(a){let{sheets:b,version:c,activeSheetName:d}=a;if(1!==c&&void 0!==c)throw Error(`DB is version ${c}, cannot migrate to version 2.`);return{version:2,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d})=>({tags:[],notes:[],id:a,end:c,start:b,description:d}))}))}},3:function(a){let{sheets:b,version:c,activeSheetName:d}=a;if(2!==c&&void 0!==c)throw Error(`DB is version ${c}, cannot migrate to version 3.`);return{version:3,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d,tags:e})=>({notes:[],tags:e,id:a,end:c,start:b,description:d}))}))}}};async function k(a,b=f.DB_PATH){let c,d=JSON.stringify((c=a.sheets.map(a=>({name:a.name,activeEntryID:a.activeEntryID,entries:a.entries.map(a=>({id:a.id,description:a.description,tags:a.tags,start:a.start.getTime(),end:null===a.end?null:a.end.getTime(),notes:a.notes.map(a=>({text:a.text,timestamp:a.timestamp.getTime()}))}))})),{version:a.version,activeSheetName:a.activeSheetName,sheets:c}));try{await e.promises.writeFile(b,d)}catch(a){throw Error(`Failed to save DB: ${String(a)}`,{cause:a})}}async function l(a=f.DB_PATH){let b,c=d.default.dirname(a);await g(c);try{await e.promises.access(a)}catch{let b=i();return await k(b,a),b}let h=await e.promises.readFile(a,"utf-8");try{b=JSON.parse(h)}catch(b){throw Error(`DB at ${a} is invalid JSON: ${String(b)}`,{cause:b})}let m=function(a){let b=a,c=!1,d=void 0===b.version?1:b.version;if(d>f.DB_VERSION||d<1)throw Error(`Unknown DB version ${b.version}, cannot load.`);for(;d<f.DB_VERSION;){let a=d+1,e=j[a];if(void 0===e)throw Error(`Missing migration from version ${d} to ${a}.`);if((b=e(b)).version!==a)throw Error(`Invalid migration output for version ${a}.`);d=a,c=!0}return{json_db:b,did_migrate:c}}(b),n=function(a){let{sheets:b,version:c,activeSheetName:d}=a;return{version:c,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d,tags:e,notes:f})=>({id:a,description:d,tags:e,notes:f.map(({timestamp:a,text:b})=>({text:b,timestamp:new Date(a)})),start:new Date(b),end:null===c?null:new Date(c)}))}))}}(b=m.json_db);return m.did_migrate&&await k(n,a),n}a.s(["write_local_db",0,k],23761);var m=a.i(44679);async function n(a){let b=await (0,m.create_server_supabase_client)(),{data:c,error:d}=await b.from("tracker_accounts").select("active_sheet_name, db_version").eq("user_id",a).maybeSingle();if(null!==d)throw Error(`Failed to load tracker account: ${d.message}`);if(null===c)return i();let{data:e,error:g}=await b.from("sheets").select("id, name, active_entry_id").eq("user_id",a).order("name",{ascending:!0});if(null!==g)throw Error(`Failed to load sheets: ${g.message}`);let j=e??[];if(0===j.length)return{version:c.db_version??f.DB_VERSION,activeSheetName:c.active_sheet_name,sheets:[]};let k=j.map(a=>a.id),{data:l,error:n}=await b.from("entries").select("sheet_id, id, start_at, end_at, description, tags").in("sheet_id",k).order("id",{ascending:!0});if(null!==n)throw Error(`Failed to load entries: ${n.message}`);let{data:o,error:p}=await b.from("entry_notes").select("sheet_id, entry_id, note_index, noted_at, text").in("sheet_id",k).order("note_index",{ascending:!0});if(null!==p)throw Error(`Failed to load entry notes: ${p.message}`);let q=new Map;for(let a of o??[]){let b=`${a.sheet_id}:${a.entry_id}`,c=q.get(b)??[];c.push({text:a.text,timestamp:new Date(a.noted_at)}),q.set(b,c)}let r=new Map;for(let a of l??[]){let b=`${a.sheet_id}:${a.id}`,c=r.get(a.sheet_id)??[];c.push({id:a.id,description:a.description,tags:a.tags??[],start:new Date(a.start_at),end:null===a.end_at?null:new Date(a.end_at),notes:q.get(b)??[]}),r.set(a.sheet_id,c)}let s=j.map(a=>h(a.name,r.get(a.id)??[],a.active_entry_id));return{version:c.db_version??f.DB_VERSION,activeSheetName:c.active_sheet_name,sheets:s}}async function o(a){if((0,c.is_supabase_configured)()){let a=await (0,b.get_authenticated_user_id)();if(null!==a)return n(a)}return l(a)}a.s(["read_db",0,o],4813)},26758,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},38872,a=>{"use strict";let b={src:a.i(26758).default,width:256,height:256};a.s(["default",0,b])},25244,a=>{"use strict";a.s(["TagManagementView",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call TagManagementView() from the server but TagManagementView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/tag-management-view.tsx <module evaluation>","TagManagementView")},6889,a=>{"use strict";a.s(["TagManagementView",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call TagManagementView() from the server but TagManagementView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/tag-management-view.tsx","TagManagementView")},38116,a=>{"use strict";a.i(25244);var b=a.i(6889);a.n(b)},72299,a=>{"use strict";var b=a.i(46193),c=a.i(38116),d=a.i(4813);async function e(){let a=function(a){let b=new Map;for(let c of a.sheets)for(let a of c.entries)for(let c of a.tags)try{let a=function(a){let b=a.trim().replace(/^@+/,"");if(0===b.length)throw Error("Tag name must not be empty.");if(!/^\w+$/.test(b))throw Error("Tags may only contain letters, numbers, and underscores.");return`@${b}`}(c);b.set(a,(b.get(a)??0)+1)}catch{continue}return[...b.entries()].map(([a,b])=>({name:a,entryCount:b})).sort((a,b)=>a.name.localeCompare(b.name))}(await (0,d.read_db)());return(0,b.jsx)(c.TagManagementView,{initial_tags:a})}a.s(["default",0,e],72299)},83074,a=>{a.n(a.i(72299))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0mjp16u._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(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"))},32319,(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"))},24725,(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"))},70406,(a,b,c)=>{b.exports=a.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},80022,(a,b,c)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/compiled/cookie/");var a,c,d,e,f={};f.parse=function(b,c){if("string"!=typeof b)throw TypeError("argument str must be a string");for(var e={},f=b.split(d),g=(c||{}).decode||a,h=0;h<f.length;h++){var i=f[h],j=i.indexOf("=");if(!(j<0)){var k=i.substr(0,j).trim(),l=i.substr(++j,i.length).trim();'"'==l[0]&&(l=l.slice(1,-1)),void 0==e[k]&&(e[k]=function(a,b){try{return b(a)}catch(b){return a}}(l,g))}}return e},f.serialize=function(a,b,d){var f=d||{},g=f.encode||c;if("function"!=typeof g)throw TypeError("option encode is invalid");if(!e.test(a))throw TypeError("argument name is invalid");var h=g(b);if(h&&!e.test(h))throw TypeError("argument val is invalid");var i=a+"="+h;if(null!=f.maxAge){var j=f.maxAge-0;if(isNaN(j)||!isFinite(j))throw TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(j)}if(f.domain){if(!e.test(f.domain))throw TypeError("option domain is invalid");i+="; Domain="+f.domain}if(f.path){if(!e.test(f.path))throw TypeError("option path is invalid");i+="; Path="+f.path}if(f.expires){if("function"!=typeof f.expires.toUTCString)throw TypeError("option expires is invalid");i+="; Expires="+f.expires.toUTCString()}if(f.httpOnly&&(i+="; HttpOnly"),f.secure&&(i+="; Secure"),f.sameSite)switch("string"==typeof f.sameSite?f.sameSite.toLowerCase():f.sameSite){case!0:case"strict":i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"none":i+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return i},a=decodeURIComponent,c=encodeURIComponent,d=/; */,e=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,b.exports=f})()},95258,(a,b,c)=>{(()=>{"use strict";var a={56: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/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/compiled/bytes/",b.exports=d(56)})()},14747,(a,b,c)=>{b.exports=a.x("path",()=>require("path"))},77657,a=>{"use strict";a.s(["isFullStringUrl",0,function(a){return/https?:\/\//.test(a)},"parseUrl",0,function(a){let b;try{b=new URL(a,"http://n")}catch{}return b}])},
|
|
1
|
+
module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(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"))},32319,(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"))},24725,(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"))},70406,(a,b,c)=>{b.exports=a.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},20635,(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"))},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"))},80022,(a,b,c)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/compiled/cookie/");var a,c,d,e,f={};f.parse=function(b,c){if("string"!=typeof b)throw TypeError("argument str must be a string");for(var e={},f=b.split(d),g=(c||{}).decode||a,h=0;h<f.length;h++){var i=f[h],j=i.indexOf("=");if(!(j<0)){var k=i.substr(0,j).trim(),l=i.substr(++j,i.length).trim();'"'==l[0]&&(l=l.slice(1,-1)),void 0==e[k]&&(e[k]=function(a,b){try{return b(a)}catch(b){return a}}(l,g))}}return e},f.serialize=function(a,b,d){var f=d||{},g=f.encode||c;if("function"!=typeof g)throw TypeError("option encode is invalid");if(!e.test(a))throw TypeError("argument name is invalid");var h=g(b);if(h&&!e.test(h))throw TypeError("argument val is invalid");var i=a+"="+h;if(null!=f.maxAge){var j=f.maxAge-0;if(isNaN(j)||!isFinite(j))throw TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(j)}if(f.domain){if(!e.test(f.domain))throw TypeError("option domain is invalid");i+="; Domain="+f.domain}if(f.path){if(!e.test(f.path))throw TypeError("option path is invalid");i+="; Path="+f.path}if(f.expires){if("function"!=typeof f.expires.toUTCString)throw TypeError("option expires is invalid");i+="; Expires="+f.expires.toUTCString()}if(f.httpOnly&&(i+="; HttpOnly"),f.secure&&(i+="; Secure"),f.sameSite)switch("string"==typeof f.sameSite?f.sameSite.toLowerCase():f.sameSite){case!0:case"strict":i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"none":i+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return i},a=decodeURIComponent,c=encodeURIComponent,d=/; */,e=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,b.exports=f})()},95258,(a,b,c)=>{(()=>{"use strict";var a={56: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/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/compiled/bytes/",b.exports=d(56)})()},14747,(a,b,c)=>{b.exports=a.x("path",()=>require("path"))},77657,a=>{"use strict";a.s(["isFullStringUrl",0,function(a){return/https?:\/\//.test(a)},"parseUrl",0,function(a){let b;try{b=new URL(a,"http://n")}catch{}return b}])},50713,(a,b,c)=>{"use strict";b.exports=a.r(18622)},46193,(a,b,c)=>{"use strict";b.exports=a.r(50713).vendored["react-rsc"].ReactJsxRuntime},41445,(a,b,c)=>{"use strict";b.exports=a.r(50713).vendored["react-rsc"].ReactServerDOMTurbopackServer},91973,(a,b,c)=>{"use strict";b.exports=a.r(50713).vendored["react-rsc"].React},4941,(a,b,c)=>{"use strict";var d=Object.defineProperty,e=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,h={},i={RequestCookies:()=>p,ResponseCookies:()=>q,parseCookie:()=>l,parseSetCookie:()=>m,stringifyCookie:()=>k};for(var j in i)d(h,j,{get:i[j],enumerable:!0});function k(a){var b;let c=["path"in a&&a.path&&`Path=${a.path}`,"expires"in a&&(a.expires||0===a.expires)&&`Expires=${("number"==typeof a.expires?new Date(a.expires):a.expires).toUTCString()}`,"maxAge"in a&&"number"==typeof a.maxAge&&`Max-Age=${a.maxAge}`,"domain"in a&&a.domain&&`Domain=${a.domain}`,"secure"in a&&a.secure&&"Secure","httpOnly"in a&&a.httpOnly&&"HttpOnly","sameSite"in a&&a.sameSite&&`SameSite=${a.sameSite}`,"partitioned"in a&&a.partitioned&&"Partitioned","priority"in a&&a.priority&&`Priority=${a.priority}`].filter(Boolean),d=`${a.name}=${encodeURIComponent(null!=(b=a.value)?b:"")}`;return 0===c.length?d:`${d}; ${c.join("; ")}`}function l(a){let b=new Map;for(let c of a.split(/; */)){if(!c)continue;let a=c.indexOf("=");if(-1===a){b.set(c,"true");continue}let[d,e]=[c.slice(0,a),c.slice(a+1)];try{b.set(d,decodeURIComponent(null!=e?e:"true"))}catch{}}return b}function m(a){if(!a)return;let[[b,c],...d]=l(a),{domain:e,expires:f,httponly:g,maxage:h,path:i,samesite:j,secure:k,partitioned:m,priority:p}=Object.fromEntries(d.map(([a,b])=>[a.toLowerCase().replace(/-/g,""),b]));{var q,r,s={name:b,value:decodeURIComponent(c),domain:e,...f&&{expires:new Date(f)},...g&&{httpOnly:!0},..."string"==typeof h&&{maxAge:Number(h)},path:i,...j&&{sameSite:n.includes(q=(q=j).toLowerCase())?q:void 0},...k&&{secure:!0},...p&&{priority:o.includes(r=(r=p).toLowerCase())?r:void 0},...m&&{partitioned:!0}};let a={};for(let b in s)s[b]&&(a[b]=s[b]);return a}}b.exports=((a,b,c)=>{if(b&&"object"==typeof b||"function"==typeof b)for(let h of f(b))g.call(a,h)||void 0===h||d(a,h,{get:()=>b[h],enumerable:!(c=e(b,h))||c.enumerable});return a})(d({},"__esModule",{value:!0}),h);var n=["strict","lax","none"],o=["low","medium","high"],p=class{constructor(a){this._parsed=new Map,this._headers=a;const b=a.get("cookie");if(b)for(const[a,c]of l(b))this._parsed.set(a,{name:a,value:c})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...a){let b="string"==typeof a[0]?a[0]:a[0].name;return this._parsed.get(b)}getAll(...a){var b;let c=Array.from(this._parsed);if(!a.length)return c.map(([a,b])=>b);let d="string"==typeof a[0]?a[0]:null==(b=a[0])?void 0:b.name;return c.filter(([a])=>a===d).map(([a,b])=>b)}has(a){return this._parsed.has(a)}set(...a){let[b,c]=1===a.length?[a[0].name,a[0].value]:a,d=this._parsed;return d.set(b,{name:b,value:c}),this._headers.set("cookie",Array.from(d).map(([a,b])=>k(b)).join("; ")),this}delete(a){let b=this._parsed,c=Array.isArray(a)?a.map(a=>b.delete(a)):b.delete(a);return this._headers.set("cookie",Array.from(b).map(([a,b])=>k(b)).join("; ")),c}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a=>`${a.name}=${encodeURIComponent(a.value)}`).join("; ")}},q=class{constructor(a){var b,c,d;this._parsed=new Map,this._headers=a;const e=null!=(d=null!=(c=null==(b=a.getSetCookie)?void 0:b.call(a))?c:a.get("set-cookie"))?d:[];for(const a of Array.isArray(e)?e:function(a){if(!a)return[];var b,c,d,e,f,g=[],h=0;function i(){for(;h<a.length&&/\s/.test(a.charAt(h));)h+=1;return h<a.length}for(;h<a.length;){for(b=h,f=!1;i();)if(","===(c=a.charAt(h))){for(d=h,h+=1,i(),e=h;h<a.length&&"="!==(c=a.charAt(h))&&";"!==c&&","!==c;)h+=1;h<a.length&&"="===a.charAt(h)?(f=!0,h=e,g.push(a.substring(b,d)),b=h):h=d+1}else h+=1;(!f||h>=a.length)&&g.push(a.substring(b,a.length))}return g}(e)){const b=m(a);b&&this._parsed.set(b.name,b)}}get(...a){let b="string"==typeof a[0]?a[0]:a[0].name;return this._parsed.get(b)}getAll(...a){var b;let c=Array.from(this._parsed.values());if(!a.length)return c;let d="string"==typeof a[0]?a[0]:null==(b=a[0])?void 0:b.name;return c.filter(a=>a.name===d)}has(a){return this._parsed.has(a)}set(...a){let[b,c,d]=1===a.length?[a[0].name,a[0].value,a[0]]:a,e=this._parsed;return e.set(b,function(a={name:"",value:""}){return"number"==typeof a.expires&&(a.expires=new Date(a.expires)),a.maxAge&&(a.expires=new Date(Date.now()+1e3*a.maxAge)),(null===a.path||void 0===a.path)&&(a.path="/"),a}({name:b,value:c,...d})),function(a,b){for(let[,c]of(b.delete("set-cookie"),a)){let a=k(c);b.append("set-cookie",a)}}(e,this._headers),this}delete(...a){let[b,c]="string"==typeof a[0]?[a[0]]:[a[0].name,a[0]];return this.set({...c,name:b,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(k).join("; ")}}}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0p74awc._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[90492,a=>{"use strict";a.s(["ACTIVE_SHEET_COOKIE_NAME",0,"stt-active-sheet","COMPACT_LISTS_STORAGE_KEY",0,"super-time-tracker-compact-lists","DEFAULT_SHEET_FIXED_NAME_COOKIE_NAME",0,"stt-default-sheet-fixed-name","DEFAULT_SHEET_SESSION_MODE_COOKIE_NAME",0,"stt-default-sheet-session-mode","DEFAULT_SHEET_SESSION_MODE_DEFAULT",0,"last_viewed"])},55120,a=>{a.v({className:"geist_f53a3a98-module__E6rLHq__className",variable:"geist_f53a3a98-module__E6rLHq__variable"})},91129,a=>{a.v({className:"geist_mono_a0a08e0-module__UZhpWW__className",variable:"geist_mono_a0a08e0-module__UZhpWW__variable"})},83658,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(41445);a.n(d("[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/script.js <module evaluation>"))},90723,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(41445);a.n(d("[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/script.js"))},28579,a=>{"use strict";a.i(83658);var b=a.i(90723);a.n(b)},32,(a,b,c)=>{b.exports=a.r(28579)},1798,a=>{"use strict";a.s(["AppKeyboardShortcuts",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call AppKeyboardShortcuts() from the server but AppKeyboardShortcuts is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/app-keyboard-shortcuts.tsx <module evaluation>","AppKeyboardShortcuts")},69726,a=>{"use strict";a.s(["AppKeyboardShortcuts",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call AppKeyboardShortcuts() from the server but AppKeyboardShortcuts is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/app-keyboard-shortcuts.tsx","AppKeyboardShortcuts")},67636,a=>{"use strict";a.i(1798);var b=a.i(69726);a.n(b)},74035,a=>{"use strict";a.s(["CloudSyncProvider",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call CloudSyncProvider() from the server but CloudSyncProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/cloud-sync-provider.tsx <module evaluation>","CloudSyncProvider")},21912,a=>{"use strict";a.s(["CloudSyncProvider",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call CloudSyncProvider() from the server but CloudSyncProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/cloud-sync-provider.tsx","CloudSyncProvider")},69669,a=>{"use strict";a.i(74035);var b=a.i(21912);a.n(b)},95670,a=>{"use strict";a.s(["ConfirmDialogProvider",()=>c,"use_confirm_dialog",()=>d]);var b=a.i(41445);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ConfirmDialogProvider() from the server but ConfirmDialogProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/confirm-dialog-provider.tsx <module evaluation>","ConfirmDialogProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call use_confirm_dialog() from the server but use_confirm_dialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/confirm-dialog-provider.tsx <module evaluation>","use_confirm_dialog")},37424,a=>{"use strict";a.s(["ConfirmDialogProvider",()=>c,"use_confirm_dialog",()=>d]);var b=a.i(41445);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ConfirmDialogProvider() from the server but ConfirmDialogProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/confirm-dialog-provider.tsx","ConfirmDialogProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call use_confirm_dialog() from the server but use_confirm_dialog is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/confirm-dialog-provider.tsx","use_confirm_dialog")},64762,a=>{"use strict";a.i(95670);var b=a.i(37424);a.n(b)},80351,a=>{"use strict";a.s(["ThemeModeSystemListener",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call ThemeModeSystemListener() from the server but ThemeModeSystemListener is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/theme-mode-system-listener.tsx <module evaluation>","ThemeModeSystemListener")},68139,a=>{"use strict";a.s(["ThemeModeSystemListener",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call ThemeModeSystemListener() from the server but ThemeModeSystemListener is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/theme-mode-system-listener.tsx","ThemeModeSystemListener")},3905,a=>{"use strict";a.i(80351);var b=a.i(68139);a.n(b)},33290,a=>{"use strict";var b=a.i(46193),c=a.i(55120);let d={className:c.default.className,style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"}};null!=c.default.variable&&(d.variable=c.default.variable);var e=a.i(91129);let f={className:e.default.className,style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"}};null!=e.default.variable&&(f.variable=e.default.variable);var g=a.i(32),h=a.i(67636),i=a.i(69669),j=a.i(64762),k=a.i(3905);let l="default",m=`(function(){try{var mk=${JSON.stringify("super-time-tracker-theme-mode")};var tk=${JSON.stringify("super-time-tracker-theme")};var m=localStorage.getItem(mk);if(m!=='light'&&m!=='dark'&&m!=='system'){var legacy=localStorage.getItem(tk);m=legacy==='light'||legacy==='dark'?legacy:'system';localStorage.setItem(mk,m)}var resolve=function(mode){if(mode==='light'||mode==='dark')return mode;return window.matchMedia('(prefers-color-scheme: light)').matches?'light':'dark'};var t=resolve(m);document.documentElement.setAttribute('data-theme',t);localStorage.setItem(tk,t)}catch(e){document.documentElement.setAttribute('data-theme','dark')}})();`;var n=a.i(90492);let o=`(function(){try{var k=${JSON.stringify(n.COMPACT_LISTS_STORAGE_KEY)};var s=localStorage.getItem(k);var c=s==='true';document.documentElement.setAttribute('data-compact-lists',c?'true':'false');var pk=${JSON.stringify("super-time-tracker-color-palette")};var pv=localStorage.getItem(pk);var palettes=${JSON.stringify(["default","midnight","warm","ocean","forest","contrast"])};var migrate=${JSON.stringify({teal:"default",blue:"ocean",violet:"midnight",rose:"warm",amber:"warm",emerald:"forest"})};var ak=${JSON.stringify("super-time-tracker-accent-color")};var p=palettes.indexOf(pv)>=0?pv:(migrate[localStorage.getItem(ak)]||${JSON.stringify(l)});document.documentElement.setAttribute('data-palette',p);if(palettes.indexOf(pv)<0){localStorage.setItem(pk,p)}}catch(e){document.documentElement.setAttribute('data-compact-lists','false');document.documentElement.setAttribute('data-palette',${JSON.stringify(l)})}})();`;a.s(["default",0,function({children:a}){return(0,b.jsx)("html",{lang:"en",className:`${d.variable} ${f.variable} h-full antialiased`,suppressHydrationWarning:!0,children:(0,b.jsxs)("body",{className:"min-h-full font-sans transition-[background-color,color] duration-200",children:[(0,b.jsx)(g.default,{id:"theme-init",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:m}}),(0,b.jsx)(g.default,{id:"ui-settings-init",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:o}}),(0,b.jsx)(k.ThemeModeSystemListener,{}),(0,b.jsx)(j.ConfirmDialogProvider,{children:(0,b.jsxs)(i.CloudSyncProvider,{children:[(0,b.jsx)(h.AppKeyboardShortcuts,{}),a]})})]})})},"metadata",0,{title:"super-time-tracker",description:"Web UI for the super-time-tracker CLI time sheets"}],33290)},70864,a=>{a.n(a.i(33290))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0x2t88.._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(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"))},2474,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},35394,a=>{"use strict";a.s(["is_supabase_configured",0,function(){let a=process.env.NEXT_PUBLIC_SUPABASE_URL?.trim()??"",b=process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY?.trim()??"";return a.length>0&&b.length>0}])},4200,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(41445);a.n(d("[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/app-dir/link.js <module evaluation>"))},26530,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(41445);a.n(d("[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/app-dir/link.js"))},63103,a=>{"use strict";a.i(4200);var b=a.i(26530);a.n(b)},85779,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return i},useLinkStatus:function(){return h.useLinkStatus}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(54508),g=a.r(46193),h=f._(a.r(63103));function i(a){let b=a.legacyBehavior,c="string"==typeof a.children||"number"==typeof a.children||"string"==typeof a.children?.type,d=a.children?.type?.$$typeof===Symbol.for("react.client.reference");return!b||c||d||(a.children?.type?.$$typeof===Symbol.for("react.lazy")?console.error("Using a Lazy Component as a direct child of `<Link legacyBehavior>` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's `<a>` tag."):console.error("Using a Server Component as a direct child of `<Link legacyBehavior>` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's `<a>` tag.")),(0,g.jsx)(h.default,{...a})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},26758,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},38872,a=>{"use strict";let b={src:a.i(26758).default,width:256,height:256};a.s(["default",0,b])},61615,a=>{"use strict";a.s(["SupabaseAuthForm",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call SupabaseAuthForm() from the server but SupabaseAuthForm is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/supabase-auth-form.tsx <module evaluation>","SupabaseAuthForm")},99113,a=>{"use strict";a.s(["SupabaseAuthForm",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call SupabaseAuthForm() from the server but SupabaseAuthForm is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/supabase-auth-form.tsx","SupabaseAuthForm")},60307,a=>{"use strict";a.i(61615);var b=a.i(99113);a.n(b)},25217,a=>{"use strict";var b=a.i(46193),c=a.i(85779),d=a.i(60307),e=a.i(35394);async function f({searchParams:a}){let g=await a,h=g.next??"/",i="auth"===g.error;return(0,b.jsxs)("main",{className:"mx-auto flex min-h-full w-full max-w-lg flex-col gap-6 px-4 py-10",children:[(0,b.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,b.jsx)(c.default,{href:"/",className:"text-[0.85rem] text-accent no-underline hover:underline",children:"← Back to tracker"}),(0,b.jsx)("h1",{className:"m-0 text-2xl font-semibold",children:"Cloud sync sign in"}),(0,b.jsx)("p",{className:"m-0 text-[0.9rem] text-muted",children:"Sign in to store sheets, entries, and settings in Supabase. Your local db.json is imported automatically the first time the cloud database is empty."})]}),(0,e.is_supabase_configured)()?(0,b.jsxs)(b.Fragment,{children:[i?(0,b.jsx)("p",{className:"m-0 text-[0.85rem] text-danger",children:"Sign-in failed. Try again or use the email link from your inbox."}):null,(0,b.jsx)(d.SupabaseAuthForm,{redirect_to:h})]}):(0,b.jsx)("p",{className:"m-0 text-[0.85rem] text-danger",children:"Configure NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY, then restart the app."})]})}a.s(["default",0,f])},24327,a=>{a.n(a.i(25217))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__108je_d._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(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"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},2474,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},35394,a=>{"use strict";a.s(["is_supabase_configured",0,function(){let a=process.env.NEXT_PUBLIC_SUPABASE_URL?.trim()??"",b=process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY?.trim()??"";return a.length>0&&b.length>0}])},4813,92398,23761,a=>{"use strict";var b=a.i(77564),c=a.i(35394),d=a.i(50227),e=a.i(2157),f=a.i(59341);async function g(a){try{await e.promises.mkdir(a,{recursive:!0})}catch(a){if("EEXIST"!==(null!==a&&"object"==typeof a&&"code"in a&&"string"==typeof a.code?a.code:null))throw a}}function h(a,b=[],c=null){if(0===a.length)throw Error("New sheet name must not be empty");if(null!==c&&void 0===b.find(({id:a})=>a===c))throw Error("New sheet active entry does not exist");return{name:a,entries:b,activeEntryID:c}}function i(){return{version:f.DB_VERSION,sheets:[h(f.DEFAULT_SHEET_NAME)],activeSheetName:f.DEFAULT_SHEET_NAME}}a.s(["gen_db",0,i,"gen_sheet",0,h],92398);let j={2:function(a){let{sheets:b,version:c,activeSheetName:d}=a;if(1!==c&&void 0!==c)throw Error(`DB is version ${c}, cannot migrate to version 2.`);return{version:2,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d})=>({tags:[],notes:[],id:a,end:c,start:b,description:d}))}))}},3:function(a){let{sheets:b,version:c,activeSheetName:d}=a;if(2!==c&&void 0!==c)throw Error(`DB is version ${c}, cannot migrate to version 3.`);return{version:3,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d,tags:e})=>({notes:[],tags:e,id:a,end:c,start:b,description:d}))}))}}};async function k(a,b=f.DB_PATH){let c,d=JSON.stringify((c=a.sheets.map(a=>({name:a.name,activeEntryID:a.activeEntryID,entries:a.entries.map(a=>({id:a.id,description:a.description,tags:a.tags,start:a.start.getTime(),end:null===a.end?null:a.end.getTime(),notes:a.notes.map(a=>({text:a.text,timestamp:a.timestamp.getTime()}))}))})),{version:a.version,activeSheetName:a.activeSheetName,sheets:c}));try{await e.promises.writeFile(b,d)}catch(a){throw Error(`Failed to save DB: ${String(a)}`,{cause:a})}}async function l(a=f.DB_PATH){let b,c=d.default.dirname(a);await g(c);try{await e.promises.access(a)}catch{let b=i();return await k(b,a),b}let h=await e.promises.readFile(a,"utf-8");try{b=JSON.parse(h)}catch(b){throw Error(`DB at ${a} is invalid JSON: ${String(b)}`,{cause:b})}let m=function(a){let b=a,c=!1,d=void 0===b.version?1:b.version;if(d>f.DB_VERSION||d<1)throw Error(`Unknown DB version ${b.version}, cannot load.`);for(;d<f.DB_VERSION;){let a=d+1,e=j[a];if(void 0===e)throw Error(`Missing migration from version ${d} to ${a}.`);if((b=e(b)).version!==a)throw Error(`Invalid migration output for version ${a}.`);d=a,c=!0}return{json_db:b,did_migrate:c}}(b),n=function(a){let{sheets:b,version:c,activeSheetName:d}=a;return{version:c,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d,tags:e,notes:f})=>({id:a,description:d,tags:e,notes:f.map(({timestamp:a,text:b})=>({text:b,timestamp:new Date(a)})),start:new Date(b),end:null===c?null:new Date(c)}))}))}}(b=m.json_db);return m.did_migrate&&await k(n,a),n}a.s(["write_local_db",0,k],23761);var m=a.i(44679);async function n(a){let b=await (0,m.create_server_supabase_client)(),{data:c,error:d}=await b.from("tracker_accounts").select("active_sheet_name, db_version").eq("user_id",a).maybeSingle();if(null!==d)throw Error(`Failed to load tracker account: ${d.message}`);if(null===c)return i();let{data:e,error:g}=await b.from("sheets").select("id, name, active_entry_id").eq("user_id",a).order("name",{ascending:!0});if(null!==g)throw Error(`Failed to load sheets: ${g.message}`);let j=e??[];if(0===j.length)return{version:c.db_version??f.DB_VERSION,activeSheetName:c.active_sheet_name,sheets:[]};let k=j.map(a=>a.id),{data:l,error:n}=await b.from("entries").select("sheet_id, id, start_at, end_at, description, tags").in("sheet_id",k).order("id",{ascending:!0});if(null!==n)throw Error(`Failed to load entries: ${n.message}`);let{data:o,error:p}=await b.from("entry_notes").select("sheet_id, entry_id, note_index, noted_at, text").in("sheet_id",k).order("note_index",{ascending:!0});if(null!==p)throw Error(`Failed to load entry notes: ${p.message}`);let q=new Map;for(let a of o??[]){let b=`${a.sheet_id}:${a.entry_id}`,c=q.get(b)??[];c.push({text:a.text,timestamp:new Date(a.noted_at)}),q.set(b,c)}let r=new Map;for(let a of l??[]){let b=`${a.sheet_id}:${a.id}`,c=r.get(a.sheet_id)??[];c.push({id:a.id,description:a.description,tags:a.tags??[],start:new Date(a.start_at),end:null===a.end_at?null:new Date(a.end_at),notes:q.get(b)??[]}),r.set(a.sheet_id,c)}let s=j.map(a=>h(a.name,r.get(a.id)??[],a.active_entry_id));return{version:c.db_version??f.DB_VERSION,activeSheetName:c.active_sheet_name,sheets:s}}async function o(a){if((0,c.is_supabase_configured)()){let a=await (0,b.get_authenticated_user_id)();if(null!==a)return n(a)}return l(a)}a.s(["read_db",0,o],4813)},85168,a=>{"use strict";a.s(["SettingsNav",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call SettingsNav() from the server but SettingsNav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/settings-nav.tsx <module evaluation>","SettingsNav")},28678,a=>{"use strict";a.s(["SettingsNav",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call SettingsNav() from the server but SettingsNav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/settings-nav.tsx","SettingsNav")},9615,a=>{"use strict";a.i(85168);var b=a.i(28678);a.n(b)},76360,a=>{"use strict";a.s(["SettingsSavedToast",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call SettingsSavedToast() from the server but SettingsSavedToast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/settings-saved-toast.tsx <module evaluation>","SettingsSavedToast")},89827,a=>{"use strict";a.s(["SettingsSavedToast",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call SettingsSavedToast() from the server but SettingsSavedToast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/settings-saved-toast.tsx","SettingsSavedToast")},24991,a=>{"use strict";a.i(76360);var b=a.i(89827);a.n(b)},84245,a=>{"use strict";a.s(["TrackerTopbar",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call TrackerTopbar() from the server but TrackerTopbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/tracker-topbar.tsx <module evaluation>","TrackerTopbar")},43680,a=>{"use strict";a.s(["TrackerTopbar",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call TrackerTopbar() from the server but TrackerTopbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/tracker-topbar.tsx","TrackerTopbar")},54675,a=>{"use strict";a.i(84245);var b=a.i(43680);a.n(b)},5894,a=>{"use strict";var b=a.i(46193),c=a.i(9615),d=a.i(24991),e=a.i(54675);a.s(["SettingsPageLayout",0,function({breadcrumb:a,title:f,description:g,children:h}){return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(d.SettingsSavedToast,{}),(0,b.jsx)(e.TrackerTopbar,{breadcrumb:a}),(0,b.jsxs)("main",{className:"mx-auto grid w-full max-w-[1120px] grid-cols-[minmax(12rem,16rem)_minmax(0,1fr)] gap-6 px-5 pb-10 pt-6 max-[860px]:grid-cols-1",children:[(0,b.jsxs)("aside",{className:"flex flex-col gap-2",children:[(0,b.jsx)("h2",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Settings"}),(0,b.jsx)(c.SettingsNav,{})]}),(0,b.jsxs)("section",{className:"flex min-w-0 flex-col gap-4",children:[(0,b.jsxs)("header",{className:"flex flex-col gap-1",children:[(0,b.jsx)("h1",{className:"m-0 text-[1.35rem] font-[650] tracking-tight",children:f}),void 0!==g?(0,b.jsx)("p",{className:"m-0 text-[0.9rem] leading-relaxed text-muted",children:g}):null]}),h]})]})]})}])},26758,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},38872,a=>{"use strict";let b={src:a.i(26758).default,width:256,height:256};a.s(["default",0,b])},73368,a=>{"use strict";a.s(["ClearTagFiltersOnSheetChangeSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call ClearTagFiltersOnSheetChangeSetting() from the server but ClearTagFiltersOnSheetChangeSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/clear-tag-filters-on-sheet-change-setting.tsx <module evaluation>","ClearTagFiltersOnSheetChangeSetting")},52811,a=>{"use strict";a.s(["ClearTagFiltersOnSheetChangeSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call ClearTagFiltersOnSheetChangeSetting() from the server but ClearTagFiltersOnSheetChangeSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/clear-tag-filters-on-sheet-change-setting.tsx","ClearTagFiltersOnSheetChangeSetting")},48597,a=>{"use strict";a.i(73368);var b=a.i(52811);a.n(b)},44583,a=>{"use strict";a.s(["ConfirmBeforeCheckoutSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call ConfirmBeforeCheckoutSetting() from the server but ConfirmBeforeCheckoutSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/confirm-before-checkout-setting.tsx <module evaluation>","ConfirmBeforeCheckoutSetting")},46049,a=>{"use strict";a.s(["ConfirmBeforeCheckoutSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call ConfirmBeforeCheckoutSetting() from the server but ConfirmBeforeCheckoutSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/confirm-before-checkout-setting.tsx","ConfirmBeforeCheckoutSetting")},2889,a=>{"use strict";a.i(44583);var b=a.i(46049);a.n(b)},59245,a=>{"use strict";a.s(["ConfirmDestructiveActionsSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call ConfirmDestructiveActionsSetting() from the server but ConfirmDestructiveActionsSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/confirm-destructive-actions-setting.tsx <module evaluation>","ConfirmDestructiveActionsSetting")},22659,a=>{"use strict";a.s(["ConfirmDestructiveActionsSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call ConfirmDestructiveActionsSetting() from the server but ConfirmDestructiveActionsSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/confirm-destructive-actions-setting.tsx","ConfirmDestructiveActionsSetting")},39763,a=>{"use strict";a.i(59245);var b=a.i(22659);a.n(b)},53605,a=>{"use strict";a.s(["DefaultSheetSessionSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call DefaultSheetSessionSetting() from the server but DefaultSheetSessionSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/default-sheet-session-setting.tsx <module evaluation>","DefaultSheetSessionSetting")},27942,a=>{"use strict";a.s(["DefaultSheetSessionSetting",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call DefaultSheetSessionSetting() from the server but DefaultSheetSessionSetting is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/default-sheet-session-setting.tsx","DefaultSheetSessionSetting")},82951,a=>{"use strict";a.i(53605);var b=a.i(27942);a.n(b)},72017,a=>{"use strict";var b=a.i(46193),c=a.i(48597),d=a.i(2889),e=a.i(39763),f=a.i(82951),g=a.i(5894);function h({sheet_names:a}){return(0,b.jsx)(g.SettingsPageLayout,{breadcrumb:{current:"General",parent:{label:"Settings"}},title:"General",description:"Tracker startup, confirmations, and session behavior.",children:(0,b.jsxs)("ul",{className:"m-0 flex w-full list-none flex-col gap-2 p-0","aria-label":"General settings",children:[(0,b.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,b.jsx)(f.DefaultSheetSessionSetting,{sheet_names:a})}),(0,b.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,b.jsx)(d.ConfirmBeforeCheckoutSetting,{})}),(0,b.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,b.jsx)(e.ConfirmDestructiveActionsSetting,{})}),(0,b.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,b.jsx)(c.ClearTagFiltersOnSheetChangeSetting,{})})]})})}var i=a.i(4813);async function j(){let a=(await (0,i.read_db)()).sheets.map(a=>a.name);return(0,b.jsx)(h,{sheet_names:a})}a.s(["default",0,j],72017)},51425,a=>{a.n(a.i(72017))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__10jikzl._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(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"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},2474,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},35394,a=>{"use strict";a.s(["is_supabase_configured",0,function(){let a=process.env.NEXT_PUBLIC_SUPABASE_URL?.trim()??"",b=process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY?.trim()??"";return a.length>0&&b.length>0}])},4813,92398,23761,a=>{"use strict";var b=a.i(77564),c=a.i(35394),d=a.i(50227),e=a.i(2157),f=a.i(59341);async function g(a){try{await e.promises.mkdir(a,{recursive:!0})}catch(a){if("EEXIST"!==(null!==a&&"object"==typeof a&&"code"in a&&"string"==typeof a.code?a.code:null))throw a}}function h(a,b=[],c=null){if(0===a.length)throw Error("New sheet name must not be empty");if(null!==c&&void 0===b.find(({id:a})=>a===c))throw Error("New sheet active entry does not exist");return{name:a,entries:b,activeEntryID:c}}function i(){return{version:f.DB_VERSION,sheets:[h(f.DEFAULT_SHEET_NAME)],activeSheetName:f.DEFAULT_SHEET_NAME}}a.s(["gen_db",0,i,"gen_sheet",0,h],92398);let j={2:function(a){let{sheets:b,version:c,activeSheetName:d}=a;if(1!==c&&void 0!==c)throw Error(`DB is version ${c}, cannot migrate to version 2.`);return{version:2,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d})=>({tags:[],notes:[],id:a,end:c,start:b,description:d}))}))}},3:function(a){let{sheets:b,version:c,activeSheetName:d}=a;if(2!==c&&void 0!==c)throw Error(`DB is version ${c}, cannot migrate to version 3.`);return{version:3,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d,tags:e})=>({notes:[],tags:e,id:a,end:c,start:b,description:d}))}))}}};async function k(a,b=f.DB_PATH){let c,d=JSON.stringify((c=a.sheets.map(a=>({name:a.name,activeEntryID:a.activeEntryID,entries:a.entries.map(a=>({id:a.id,description:a.description,tags:a.tags,start:a.start.getTime(),end:null===a.end?null:a.end.getTime(),notes:a.notes.map(a=>({text:a.text,timestamp:a.timestamp.getTime()}))}))})),{version:a.version,activeSheetName:a.activeSheetName,sheets:c}));try{await e.promises.writeFile(b,d)}catch(a){throw Error(`Failed to save DB: ${String(a)}`,{cause:a})}}async function l(a=f.DB_PATH){let b,c=d.default.dirname(a);await g(c);try{await e.promises.access(a)}catch{let b=i();return await k(b,a),b}let h=await e.promises.readFile(a,"utf-8");try{b=JSON.parse(h)}catch(b){throw Error(`DB at ${a} is invalid JSON: ${String(b)}`,{cause:b})}let m=function(a){let b=a,c=!1,d=void 0===b.version?1:b.version;if(d>f.DB_VERSION||d<1)throw Error(`Unknown DB version ${b.version}, cannot load.`);for(;d<f.DB_VERSION;){let a=d+1,e=j[a];if(void 0===e)throw Error(`Missing migration from version ${d} to ${a}.`);if((b=e(b)).version!==a)throw Error(`Invalid migration output for version ${a}.`);d=a,c=!0}return{json_db:b,did_migrate:c}}(b),n=function(a){let{sheets:b,version:c,activeSheetName:d}=a;return{version:c,activeSheetName:d,sheets:b.map(({name:a,entries:b,activeEntryID:c})=>({name:a,activeEntryID:c,entries:b.map(({id:a,start:b,end:c,description:d,tags:e,notes:f})=>({id:a,description:d,tags:e,notes:f.map(({timestamp:a,text:b})=>({text:b,timestamp:new Date(a)})),start:new Date(b),end:null===c?null:new Date(c)}))}))}}(b=m.json_db);return m.did_migrate&&await k(n,a),n}a.s(["write_local_db",0,k],23761);var m=a.i(44679);async function n(a){let b=await (0,m.create_server_supabase_client)(),{data:c,error:d}=await b.from("tracker_accounts").select("active_sheet_name, db_version").eq("user_id",a).maybeSingle();if(null!==d)throw Error(`Failed to load tracker account: ${d.message}`);if(null===c)return i();let{data:e,error:g}=await b.from("sheets").select("id, name, active_entry_id").eq("user_id",a).order("name",{ascending:!0});if(null!==g)throw Error(`Failed to load sheets: ${g.message}`);let j=e??[];if(0===j.length)return{version:c.db_version??f.DB_VERSION,activeSheetName:c.active_sheet_name,sheets:[]};let k=j.map(a=>a.id),{data:l,error:n}=await b.from("entries").select("sheet_id, id, start_at, end_at, description, tags").in("sheet_id",k).order("id",{ascending:!0});if(null!==n)throw Error(`Failed to load entries: ${n.message}`);let{data:o,error:p}=await b.from("entry_notes").select("sheet_id, entry_id, note_index, noted_at, text").in("sheet_id",k).order("note_index",{ascending:!0});if(null!==p)throw Error(`Failed to load entry notes: ${p.message}`);let q=new Map;for(let a of o??[]){let b=`${a.sheet_id}:${a.entry_id}`,c=q.get(b)??[];c.push({text:a.text,timestamp:new Date(a.noted_at)}),q.set(b,c)}let r=new Map;for(let a of l??[]){let b=`${a.sheet_id}:${a.id}`,c=r.get(a.sheet_id)??[];c.push({id:a.id,description:a.description,tags:a.tags??[],start:new Date(a.start_at),end:null===a.end_at?null:new Date(a.end_at),notes:q.get(b)??[]}),r.set(a.sheet_id,c)}let s=j.map(a=>h(a.name,r.get(a.id)??[],a.active_entry_id));return{version:c.db_version??f.DB_VERSION,activeSheetName:c.active_sheet_name,sheets:s}}async function o(a){if((0,c.is_supabase_configured)()){let a=await (0,b.get_authenticated_user_id)();if(null!==a)return n(a)}return l(a)}a.s(["read_db",0,o],4813)},67835,19045,88028,a=>{"use strict";function b(a,b,c){return{id:a.id,description:a.description,start:a.start.toISOString(),end:null===a.end?null:a.end.toISOString(),tags:a.tags,notes:a.notes.map(({timestamp:a,text:b})=>({timestamp:a.toISOString(),text:b})),sheetName:b,durationMs:function(a,b=Date.now()){let{end:c,start:d}=a;return Math.max(0,(null===c?b:+c)-d)}(a),isActive:c}}a.s(["get_serialized_entries_total_ms",0,function(a){return a.reduce((a,b)=>a+b.durationMs,0)}],67835),a.s(["serialize_entry",0,b],19045),a.s(["serialize_sheet_entries",0,function(a){let{activeEntryID:c,entries:d,name:e}=a;return d.map(a=>b(a,e,c===a.id&&null===a.end))}],88028)},26758,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},38872,a=>{"use strict";let b={src:a.i(26758).default,width:256,height:256};a.s(["default",0,b])},13159,a=>{"use strict";a.s(["ReportingView",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call ReportingView() from the server but ReportingView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/reporting-view.tsx <module evaluation>","ReportingView")},74088,a=>{"use strict";a.s(["ReportingView",()=>b]);let b=(0,a.i(41445).registerClientReference)(function(){throw Error("Attempted to call ReportingView() from the server but ReportingView is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/reporting-view.tsx","ReportingView")},47613,a=>{"use strict";a.i(13159);var b=a.i(74088);a.n(b)},27001,a=>{"use strict";var b=a.i(46193),c=a.i(47613);function d(a,b){return 0===b?0:a/b}let e=Symbol.for("constructDateFrom");function f(a,b){var c;return c=b||a,"function"==typeof c?c(a):c&&"object"==typeof c&&e in c?c[e](a):c instanceof Date?new c.constructor(a):new Date(a)}let g={};function h(a,b=new Date,c=1){switch(a){case"week":var d,e;let i,j,k,l,m,n;return{startMs:+(d={weekStartsOn:c},i=d?.weekStartsOn??d?.locale?.options?.weekStartsOn??g.weekStartsOn??g.locale?.options?.weekStartsOn??0,k=(j=f(b,d?.in)).getDay(),j.setDate(j.getDate()-(7*(k<i)+k-i)),j.setHours(0,0,0,0),j),endMs:+(e={weekStartsOn:c},l=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??g.weekStartsOn??g.locale?.options?.weekStartsOn??0,n=(m=f(b,e?.in)).getDay(),m.setDate(m.getDate()+((n<l?-7:0)+6-(n-l))),m.setHours(23,59,59,999),m)};case"month":let o,p,q;return{startMs:+((o=f(b,void 0)).setDate(1),o.setHours(0,0,0,0),o),endMs:+(q=(p=f(b,void 0)).getMonth(),p.setFullYear(p.getFullYear(),q+1,0),p.setHours(23,59,59,999),p)};default:let r,s;return{startMs:+((r=f(b,void 0)).setHours(0,0,0,0),r),endMs:+((s=f(b,void 0)).setHours(23,59,59,999),s)}}}function i(a,b,c,d=Date.now()){let e=+a.start;return Math.max(0,Math.min(null===a.end?d:+a.end,c)-Math.max(e,b))}function j(a,b,c,d=Date.now()){let e=0;for(let f of a)for(let a of f.entries)e+=i(a,b,c,d);return e}var k=a.i(67835),l=a.i(88028),m=a.i(4813);async function n(){let a=await (0,m.read_db)();return{sourceSheets:a.sheets.map(a=>({name:a.name,activeEntryID:a.activeEntryID,entries:a.entries.map(a=>({id:a.id,start:a.start.toISOString(),end:null===a.end?null:a.end.toISOString()}))})),stats:function(a,b=null,c=Date.now(),e=1){let f=a.map(a=>{let e,f,g;return null===b?(e=(0,l.serialize_sheet_entries)(a),f=a.entries.length,g=(0,k.get_serialized_entries_total_ms)(e),{sheetName:a.name,totalMs:g,entryCount:f,averageEntryMs:d(g,f),hasActiveEntry:null!==a.activeEntryID}):function(a,b,c,e=Date.now()){let f=0,g=0,h=!1;for(let d of a.entries){let j=i(d,b,c,e);j<=0||(f+=j,g+=1,a.activeEntryID===d.id&&null===d.end&&(h=!0))}return{sheetName:a.name,totalMs:f,entryCount:g,averageEntryMs:d(f,g),hasActiveEntry:h}}(a,b.startMs,b.endMs,c)}),{activeSheets:g,idleSheets:m}=function(a){let b=[],c=[];for(let d of a)0===d.entryCount||0===d.totalMs?c.push(d):b.push(d);return{activeSheets:b,idleSheets:c}}(f),n=f.reduce((a,b)=>a+b.totalMs,0),o=f.reduce((a,b)=>a+b.entryCount,0);return{activeSheets:g,idleSheets:m,grandTotalMs:n,totalEntryCount:o,grandAverageEntryMs:d(n,o),periodTotals:null===b?function(a,b=new Date,c=Date.now(),d=1){let e=h("today",b,d),f=h("week",b,d),g=h("month",b,d);return{todayMs:j(a,e.startMs,e.endMs,c),weekMs:j(a,f.startMs,f.endMs,c),monthMs:j(a,g.startMs,g.endMs,c)}}(a,new Date(c),c,e):{todayMs:0,weekMs:0,monthMs:0}}}(a.sheets)}}async function o(){let{sourceSheets:a}=await n();return(0,b.jsx)(c.ReportingView,{source_sheets:a})}a.s(["default",0,o],27001)},76842,a=>{a.n(a.i(27001))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__13dr511._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[15280,a=>{"use strict";var b=a.i(39752);a.s(["HelpIcon",0,function(){return(0,b.jsxs)("svg",{className:"block h-4 w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,b.jsx)("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),(0,b.jsx)("path",{d:"M12 17h.01"})]})}])},85928,a=>{"use strict";var b=a.i(89711);a.s(["get_tracker_keyboard_shortcut_sections",0,function(){return[...(0,b.get_app_keyboard_shortcut_sections)(),{title:"Tracker",entries:[{label:"C",description:"Check in (focus description)"},{label:"O",description:"Check out"},{label:"E",description:"Edit active entry description"},{label:"N",description:"Add note to active entry"},{label:"[",description:"Previous sheet"},{label:"]",description:"Next sheet"}]}]}])},44103,a=>{"use strict";let b=new Set;a.s(["notify_theme_subscribers",0,function(){b.forEach(a=>{a()})},"subscribe_theme",0,function(a){return b.add(a),()=>{b.delete(a)}}])},81764,a=>{"use strict";a.s(["apply_theme",0,function(a){document.documentElement.setAttribute("data-theme",a)}])},34569,a=>{"use strict";var b=a.i(72958);a.s(["write_stored_theme",0,function(a){try{window.localStorage.setItem("super-time-tracker-theme",a),(0,b.schedule_ui_preferences_cloud_sync)()}catch{}}],34569)},98790,a=>{"use strict";var b=a.i(39752),c=a.i(62988),d=a.i(82508),e=a.i(34542),f=a.i(15280),g=a.i(1611),h=a.i(89711),i=a.i(85928);function j(){let a=(0,d.usePathname)(),c=(0,e.useMemo)(()=>"/"===a?(0,i.get_tracker_keyboard_shortcut_sections)():(0,h.get_app_keyboard_shortcut_sections)(),[a]);return(0,b.jsxs)("div",{className:"group relative flex items-center",children:[(0,b.jsx)("button",{type:"button",className:"inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-muted hover:bg-surface-hover hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent","aria-label":"Keyboard shortcuts","aria-describedby":"keyboard-shortcuts-tooltip",children:(0,b.jsx)(f.HelpIcon,{})}),(0,b.jsx)("div",{id:"keyboard-shortcuts-tooltip",role:"tooltip",className:"pointer-events-none absolute right-0 top-full z-50 w-max max-w-[min(18rem,calc(100vw-2.5rem))] pt-2 opacity-0 transition-opacity duration-150 group-hover:pointer-events-auto group-hover:opacity-100 group-focus-within:pointer-events-auto group-focus-within:opacity-100",children:(0,b.jsxs)("div",{className:"rounded-lg border border-panel-border bg-panel p-3 shadow-md",children:[(0,b.jsx)("p",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.04em] text-muted",children:"Keyboard shortcuts"}),(0,b.jsx)("div",{className:"mt-2",children:(0,b.jsx)(g.KeyboardShortcutsContent,{sections:c,compact:!0})})]})})]})}function k(){return"u"<typeof document?"dark":"light"===document.documentElement.getAttribute("data-theme")?"light":"dark"}function l(){return k()}function m(){return"dark"}var n=a.i(44103),o=a.i(81764),p=a.i(29698),q=a.i(34569);function r(){let a="dark"===k()?"light":"dark";(0,o.apply_theme)(a),(0,q.write_stored_theme)(a),p.theme_mode_preference.write(a),p.theme_mode_preference.notify(),(0,n.notify_theme_subscribers)()}function s(){let a=(0,e.useSyncExternalStore)(n.subscribe_theme,l,m),c="dark"===a?"Dark":"Light",d="dark"===a?"Switch to light theme":"Switch to dark theme";return(0,b.jsxs)("button",{type:"button",className:"inline-flex cursor-pointer items-center gap-1.5 rounded-full border border-panel-border bg-ghost-bg px-3 py-1.5 font-inherit text-[0.85rem] font-semibold text-inherit hover:bg-surface-hover disabled:cursor-wait disabled:opacity-60",onClick:r,"aria-label":`${c} theme. ${d}`,title:d,suppressHydrationWarning:!0,children:[(0,b.jsx)("span",{className:"text-base leading-none","aria-hidden":"true",children:"dark"===a?"☾":"☀"}),(0,b.jsx)("span",{suppressHydrationWarning:!0,children:c})]})}function t({current:a,parent:d}){return(0,b.jsx)("nav",{"aria-label":"Breadcrumb",className:"min-w-0 text-left",children:(0,b.jsxs)("ol",{className:"m-0 flex list-none flex-wrap items-center gap-1.5 p-0 text-[0.85rem]",children:[(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{className:"text-muted no-underline hover:text-foreground",href:"/",children:"Tracker"})}),void 0!==d?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,b.jsx)("li",{children:void 0!==d.href?(0,b.jsx)(c.default,{className:"text-muted no-underline hover:text-foreground",href:d.href,children:d.label}):(0,b.jsx)("span",{className:"text-muted",children:d.label})})]}):null,(0,b.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,b.jsx)("li",{className:"font-medium text-foreground","aria-current":"page",children:a})]})})}a.s(["TrackerTopbar",0,function({breadcrumb:a}={}){return(0,b.jsx)("header",{className:"relative z-1 border-b border-panel-border bg-[color-mix(in_srgb,var(--panel)_92%,var(--background))] shadow-sm backdrop-blur-[10px]",children:(0,b.jsxs)("div",{className:"mx-auto flex max-w-[1120px] min-h-13 flex-wrap items-center gap-x-4 gap-y-2 px-5",children:[(0,b.jsx)("span",{className:"inline-flex shrink-0 items-center font-mono text-[0.72rem] font-semibold uppercase leading-tight tracking-[0.08em] text-accent whitespace-nowrap",children:"super-time-tracker"}),void 0!==a?(0,b.jsx)(t,{current:a.current,parent:a.parent}):null,(0,b.jsxs)("div",{className:"ml-auto flex shrink-0 items-center justify-end gap-2",children:[(0,b.jsx)(c.default,{className:"rounded-full px-3 py-1.5 text-[0.85rem] font-semibold text-muted no-underline hover:bg-surface-hover hover:text-foreground",href:"/",children:"Tracker"}),(0,b.jsx)(c.default,{className:"rounded-full px-3 py-1.5 text-[0.85rem] font-semibold text-muted no-underline hover:bg-surface-hover hover:text-foreground",href:"/reporting",children:"Reporting"}),(0,b.jsx)(c.default,{className:"rounded-full px-3 py-1.5 text-[0.85rem] font-semibold text-muted no-underline hover:bg-surface-hover hover:text-foreground",href:"/settings/tags",children:"Manage tags"}),(0,b.jsx)(c.default,{className:"rounded-full px-3 py-1.5 text-[0.85rem] font-semibold text-muted no-underline hover:bg-surface-hover hover:text-foreground",href:"/settings",children:"Settings"}),(0,b.jsx)(j,{}),(0,b.jsx)(s,{})]})]})})}],98790)},7048,a=>{"use strict";let b=new Set,c="Settings saved";a.s(["SETTINGS_SAVED_DEFAULT_MESSAGE",0,c,"notify_settings_saved",0,function(a=c){},"subscribe_settings_saved",0,function(a){return b.add(a),()=>{b.delete(a)}}])},85393,a=>{"use strict";var b=a.i(39752),c=a.i(62988),d=a.i(82508);let e=[{href:"/settings",label:"General",match:a=>"/settings"===a},{href:"/settings/display",label:"Display & layout",match:a=>a.startsWith("/settings/display")},{href:"/settings/data",label:"Data & backup",match:a=>a.startsWith("/settings/data")},{href:"/settings/tags",label:"Tag management",match:a=>a.startsWith("/settings/tags")}];a.s(["SettingsNav",0,function(){let a=(0,d.usePathname)()??"/settings";return(0,b.jsx)("nav",{"aria-label":"Settings sections",className:"w-full",children:(0,b.jsx)("ul",{className:"m-0 flex w-full list-none flex-col gap-0.5 p-0",children:e.map(d=>{let e=d.match(a);return(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:d.href,"aria-current":e?"page":void 0,className:`block rounded-md px-3 py-2 text-[0.9rem] no-underline transition-colors duration-150 ${e?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,children:d.label})},d.href)})})})}])},78823,a=>{"use strict";var b=a.i(39752),c=a.i(34542),d=a.i(7048);a.s(["SettingsSavedToast",0,function(){let[a,e]=(0,c.useState)(null);return((0,c.useEffect)(()=>{let a=null,b=(0,d.subscribe_settings_saved)(b=>{e(b),null!==a&&clearTimeout(a),a=setTimeout(()=>{e(null),a=null},2800)});return()=>{b(),null!==a&&clearTimeout(a)}},[]),null===a)?null:(0,b.jsx)("div",{role:"status","aria-live":"polite","aria-atomic":"true",className:"pointer-events-none fixed bottom-6 left-1/2 z-50 -translate-x-1/2 rounded-md border border-accent-border bg-panel px-4 py-2.5 text-[0.88rem] font-medium text-foreground shadow-md transition-[opacity,transform] duration-200",children:a||d.SETTINGS_SAVED_DEFAULT_MESSAGE})}])},24047,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.DURATION_FORMAT_STORAGE_KEY,default_value:c.DURATION_FORMAT_DEFAULT,is_valid:a=>"humanized"===a||"clock"===a||"decimal"===a});a.s(["duration_format_preference",0,d])},50824,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.DEFAULT_REPORTING_RANGE_STORAGE_KEY,default_value:c.DEFAULT_REPORTING_RANGE_DEFAULT,is_valid:a=>"none"===a||"today"===a||"week"===a});a.s(["default_reporting_range_preference",0,d])},13532,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.DEFAULT_REPORTING_SORT_STORAGE_KEY,default_value:c.DEFAULT_REPORTING_SORT_DEFAULT,is_valid:a=>"duration"===a||"name"===a||"entry_count"===a||"active_first"===a});a.s(["default_reporting_sort_preference",0,d])},82474,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.WEEK_STARTS_ON_STORAGE_KEY,default_value:c.WEEK_STARTS_ON_DEFAULT,is_valid:a=>"monday"===a||"sunday"===a});a.s(["week_starts_on_preference",0,d])},57077,a=>{"use strict";var b=a.i(7048);a.s(["persist_ui_preference",0,function(a,c){a.read()!==c&&(a.write(c),a.notify(),(0,b.notify_settings_saved)())}])},19702,a=>{"use strict";a.s(["COMPACT_LISTS_STORAGE_KEY",0,"super-time-tracker-compact-lists","DEFAULT_SHEET_FIXED_NAME_COOKIE_NAME",0,"stt-default-sheet-fixed-name","DEFAULT_SHEET_FIXED_NAME_STORAGE_KEY",0,"super-time-tracker-default-sheet-fixed-name","DEFAULT_SHEET_SESSION_MODE_COOKIE_NAME",0,"stt-default-sheet-session-mode","DEFAULT_SHEET_SESSION_MODE_DEFAULT",0,"last_viewed","DEFAULT_SHEET_SESSION_MODE_STORAGE_KEY",0,"super-time-tracker-default-sheet-session-mode","SHEET_TAG_FILTERS_STORAGE_KEY",0,"super-time-tracker-sheet-tag-filters"])},14244,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.CHECK_IN_FORM_COLLAPSED_STORAGE_KEY,default_value:c.CHECK_IN_FORM_COLLAPSED_DEFAULT,is_valid:a=>"true"===a||"false"===a});a.s(["check_in_form_collapsed_preference",0,d])},79918,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.ENTRY_LIST_SORT_STORAGE_KEY,default_value:c.ENTRY_LIST_SORT_DEFAULT,is_valid:a=>"newest"===a||"oldest"===a||"duration"===a||"description"===a});a.s(["entry_list_sort_preference",0,d])},14945,a=>{"use strict";a.s(["get_entry_list_sort_options",0,function(){return[{value:"newest",label:"Newest"},{value:"oldest",label:"Oldest"},{value:"duration",label:"Duration"},{value:"description",label:"Description"}]}])},78702,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.TAG_FILTER_MODE_STORAGE_KEY,default_value:c.TAG_FILTER_MODE_DEFAULT,is_valid:a=>"all"===a||"any"===a});a.s(["tag_filter_mode_preference",0,d])},50825,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.TIME_FORMAT_STORAGE_KEY,default_value:c.TIME_FORMAT_DEFAULT,is_valid:a=>"12h"===a||"24h"===a});a.s(["time_format_preference",0,d])},6128,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.TIMER_IN_TITLE_STORAGE_KEY,default_value:c.TIMER_IN_TITLE_DEFAULT,is_valid:a=>"true"===a||"false"===a});a.s(["timer_in_title_preference",0,d])},99751,a=>{"use strict";var b=a.i(52345),c=a.i(70827);let d=(0,b.create_ui_preference_store)({storage_key:c.TIMER_SHOW_SECONDS_STORAGE_KEY,default_value:c.TIMER_SHOW_SECONDS_DEFAULT,is_valid:a=>"true"===a||"false"===a});a.s(["timer_show_seconds_preference",0,d])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_00.2r03._.js.map
|