super-time-tracker-ui 0.1.19 → 0.1.21

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.
Files changed (411) hide show
  1. package/dist/standalone/next-output/BUILD_ID +1 -1
  2. package/dist/standalone/next-output/app-path-routes-manifest.json +14 -1
  3. package/dist/standalone/next-output/build-manifest.json +8 -8
  4. package/dist/standalone/next-output/prerender-manifest.json +0 -49
  5. package/dist/standalone/next-output/routes-manifest.json +78 -0
  6. package/dist/standalone/next-output/server/app/_global-error/page/build-manifest.json +5 -5
  7. package/dist/standalone/next-output/server/app/_global-error/page.js +1 -1
  8. package/dist/standalone/next-output/server/app/_global-error/page.js.nft.json +1 -1
  9. package/dist/standalone/next-output/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/dist/standalone/next-output/server/app/_global-error.html +1 -1
  11. package/dist/standalone/next-output/server/app/_global-error.rsc +8 -8
  12. package/dist/standalone/next-output/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
  13. package/dist/standalone/next-output/server/app/_global-error.segments/_full.segment.rsc +8 -8
  14. package/dist/standalone/next-output/server/app/_global-error.segments/_head.segment.rsc +4 -4
  15. package/dist/standalone/next-output/server/app/_global-error.segments/_index.segment.rsc +3 -3
  16. package/dist/standalone/next-output/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  17. package/dist/standalone/next-output/server/app/_not-found/page/build-manifest.json +5 -5
  18. package/dist/standalone/next-output/server/app/_not-found/page.js +5 -3
  19. package/dist/standalone/next-output/server/app/_not-found/page.js.nft.json +1 -1
  20. package/dist/standalone/next-output/server/app/_not-found/page_client-reference-manifest.js +1 -1
  21. package/dist/standalone/next-output/server/app/api/backup/route.js +1 -2
  22. package/dist/standalone/next-output/server/app/api/backup/route.js.nft.json +1 -1
  23. package/dist/standalone/next-output/server/app/api/entry/delete-bulk/route.js +2 -3
  24. package/dist/standalone/next-output/server/app/api/entry/delete-bulk/route.js.nft.json +1 -1
  25. package/dist/standalone/next-output/server/app/api/entry/move/route.js +2 -3
  26. package/dist/standalone/next-output/server/app/api/entry/move/route.js.nft.json +1 -1
  27. package/dist/standalone/next-output/server/app/api/entry/move-bulk/route.js +2 -3
  28. package/dist/standalone/next-output/server/app/api/entry/move-bulk/route.js.nft.json +1 -1
  29. package/dist/standalone/next-output/server/app/api/entry/route.js +3 -3
  30. package/dist/standalone/next-output/server/app/api/entry/route.js.nft.json +1 -1
  31. package/dist/standalone/next-output/server/app/api/entry/suggest-description/route/app-paths-manifest.json +3 -0
  32. package/dist/standalone/next-output/server/app/api/entry/suggest-description/route/build-manifest.json +9 -0
  33. package/dist/standalone/next-output/server/app/api/entry/suggest-description/route/server-reference-manifest.json +4 -0
  34. package/dist/standalone/next-output/server/app/api/entry/suggest-description/route.js +6 -0
  35. package/dist/standalone/next-output/server/app/api/entry/suggest-description/route.js.nft.json +1 -0
  36. package/dist/standalone/next-output/server/app/api/entry/suggest-description/route_client-reference-manifest.js +3 -0
  37. package/dist/standalone/next-output/server/app/api/focus-nudges/status/route/app-paths-manifest.json +3 -0
  38. package/dist/standalone/next-output/server/app/api/focus-nudges/status/route/build-manifest.json +9 -0
  39. package/dist/standalone/next-output/server/app/api/focus-nudges/status/route/server-reference-manifest.json +4 -0
  40. package/dist/standalone/next-output/server/app/api/focus-nudges/status/route.js +6 -0
  41. package/dist/standalone/next-output/server/app/api/focus-nudges/status/route.js.nft.json +1 -0
  42. package/dist/standalone/next-output/server/app/api/focus-nudges/status/route_client-reference-manifest.js +3 -0
  43. package/dist/standalone/next-output/server/app/api/in/route.js +2 -2
  44. package/dist/standalone/next-output/server/app/api/in/route.js.nft.json +1 -1
  45. package/dist/standalone/next-output/server/app/api/note/route.js +2 -2
  46. package/dist/standalone/next-output/server/app/api/note/route.js.nft.json +1 -1
  47. package/dist/standalone/next-output/server/app/api/out/route.js +2 -2
  48. package/dist/standalone/next-output/server/app/api/out/route.js.nft.json +1 -1
  49. package/dist/standalone/next-output/server/app/api/sheet/active/route/app-paths-manifest.json +3 -0
  50. package/dist/standalone/next-output/server/app/api/sheet/active/route/build-manifest.json +9 -0
  51. package/dist/standalone/next-output/server/app/api/sheet/active/route/server-reference-manifest.json +4 -0
  52. package/dist/standalone/next-output/server/app/api/sheet/active/route.js +7 -0
  53. package/dist/standalone/next-output/server/app/api/sheet/active/route.js.nft.json +1 -0
  54. package/dist/standalone/next-output/server/app/api/sheet/active/route_client-reference-manifest.js +3 -0
  55. package/dist/standalone/next-output/server/app/api/sheet/route.js +2 -3
  56. package/dist/standalone/next-output/server/app/api/sheet/route.js.nft.json +1 -1
  57. package/dist/standalone/next-output/server/app/api/state/route.js +2 -3
  58. package/dist/standalone/next-output/server/app/api/state/route.js.nft.json +1 -1
  59. package/dist/standalone/next-output/server/app/api/sync/import/route.js +1 -1
  60. package/dist/standalone/next-output/server/app/api/sync/import/route.js.nft.json +1 -1
  61. package/dist/standalone/next-output/server/app/api/sync/merge-on-load/route/app-paths-manifest.json +3 -0
  62. package/dist/standalone/next-output/server/app/api/sync/merge-on-load/route/build-manifest.json +9 -0
  63. package/dist/standalone/next-output/server/app/api/sync/merge-on-load/route/server-reference-manifest.json +4 -0
  64. package/dist/standalone/next-output/server/app/api/sync/merge-on-load/route.js +7 -0
  65. package/dist/standalone/next-output/server/app/api/sync/merge-on-load/route.js.nft.json +1 -0
  66. package/dist/standalone/next-output/server/app/api/sync/merge-on-load/route_client-reference-manifest.js +3 -0
  67. package/dist/standalone/next-output/server/app/api/sync/pull/route.js +1 -1
  68. package/dist/standalone/next-output/server/app/api/sync/pull/route.js.nft.json +1 -1
  69. package/dist/standalone/next-output/server/app/api/sync/push/route.js +1 -1
  70. package/dist/standalone/next-output/server/app/api/sync/push/route.js.nft.json +1 -1
  71. package/dist/standalone/next-output/server/app/api/sync/status/route.js +1 -1
  72. package/dist/standalone/next-output/server/app/api/sync/status/route.js.nft.json +1 -1
  73. package/dist/standalone/next-output/server/app/api/tags/route.js +1 -2
  74. package/dist/standalone/next-output/server/app/api/tags/route.js.nft.json +1 -1
  75. package/dist/standalone/next-output/server/app/api/ui-preferences/merge-on-load/route/app-paths-manifest.json +3 -0
  76. package/dist/standalone/next-output/server/app/api/ui-preferences/merge-on-load/route/build-manifest.json +9 -0
  77. package/dist/standalone/next-output/server/app/api/ui-preferences/merge-on-load/route/server-reference-manifest.json +4 -0
  78. package/dist/standalone/next-output/server/app/api/ui-preferences/merge-on-load/route.js +7 -0
  79. package/dist/standalone/next-output/server/app/api/ui-preferences/merge-on-load/route.js.nft.json +1 -0
  80. package/dist/standalone/next-output/server/app/api/ui-preferences/merge-on-load/route_client-reference-manifest.js +3 -0
  81. package/dist/standalone/next-output/server/app/api/ui-preferences/route.js +1 -1
  82. package/dist/standalone/next-output/server/app/api/ui-preferences/route.js.nft.json +1 -1
  83. package/dist/standalone/next-output/server/app/auth/callback/route.js +1 -1
  84. package/dist/standalone/next-output/server/app/auth/callback/route.js.nft.json +1 -1
  85. package/dist/standalone/next-output/server/app/login/page/build-manifest.json +5 -5
  86. package/dist/standalone/next-output/server/app/login/page.js +5 -3
  87. package/dist/standalone/next-output/server/app/login/page.js.nft.json +1 -1
  88. package/dist/standalone/next-output/server/app/login/page_client-reference-manifest.js +1 -1
  89. package/dist/standalone/next-output/server/app/offline/page/app-paths-manifest.json +3 -0
  90. package/dist/standalone/next-output/server/app/offline/page/build-manifest.json +17 -0
  91. package/dist/standalone/next-output/server/app/offline/page/next-font-manifest.json +11 -0
  92. package/dist/standalone/next-output/server/app/offline/page/react-loadable-manifest.json +1 -0
  93. package/dist/standalone/next-output/server/app/offline/page/server-reference-manifest.json +4 -0
  94. package/dist/standalone/next-output/server/app/offline/page.js +16 -0
  95. package/dist/standalone/next-output/server/app/offline/page.js.nft.json +1 -0
  96. package/dist/standalone/next-output/server/app/offline/page_client-reference-manifest.js +3 -0
  97. package/dist/standalone/next-output/server/app/page/build-manifest.json +5 -5
  98. package/dist/standalone/next-output/server/app/page.js +6 -4
  99. package/dist/standalone/next-output/server/app/page.js.nft.json +1 -1
  100. package/dist/standalone/next-output/server/app/page_client-reference-manifest.js +1 -1
  101. package/dist/standalone/next-output/server/app/pomodoro/page/app-paths-manifest.json +3 -0
  102. package/dist/standalone/next-output/server/app/pomodoro/page/build-manifest.json +17 -0
  103. package/dist/standalone/next-output/server/app/pomodoro/page/next-font-manifest.json +11 -0
  104. package/dist/standalone/next-output/server/app/pomodoro/page/react-loadable-manifest.json +1 -0
  105. package/dist/standalone/next-output/server/app/pomodoro/page/server-reference-manifest.json +4 -0
  106. package/dist/standalone/next-output/server/app/pomodoro/page.js +16 -0
  107. package/dist/standalone/next-output/server/app/pomodoro/page.js.nft.json +1 -0
  108. package/dist/standalone/next-output/server/app/pomodoro/page_client-reference-manifest.js +3 -0
  109. package/dist/standalone/next-output/server/app/register/page/build-manifest.json +5 -5
  110. package/dist/standalone/next-output/server/app/register/page.js +5 -3
  111. package/dist/standalone/next-output/server/app/register/page.js.nft.json +1 -1
  112. package/dist/standalone/next-output/server/app/register/page_client-reference-manifest.js +1 -1
  113. package/dist/standalone/next-output/server/app/reporting/page/build-manifest.json +5 -5
  114. package/dist/standalone/next-output/server/app/reporting/page.js +6 -5
  115. package/dist/standalone/next-output/server/app/reporting/page.js.nft.json +1 -1
  116. package/dist/standalone/next-output/server/app/reporting/page_client-reference-manifest.js +1 -1
  117. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page/app-paths-manifest.json +3 -0
  118. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page/build-manifest.json +17 -0
  119. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page/next-font-manifest.json +11 -0
  120. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page/react-loadable-manifest.json +1 -0
  121. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page/server-reference-manifest.json +4 -0
  122. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page.js +16 -0
  123. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page.js.nft.json +1 -0
  124. package/dist/standalone/next-output/server/app/settings/ai-suggestions/page_client-reference-manifest.js +3 -0
  125. package/dist/standalone/next-output/server/app/settings/cloud-sync/page/app-paths-manifest.json +3 -0
  126. package/dist/standalone/next-output/server/app/settings/cloud-sync/page/build-manifest.json +17 -0
  127. package/dist/standalone/next-output/server/app/settings/cloud-sync/page/next-font-manifest.json +11 -0
  128. package/dist/standalone/next-output/server/app/settings/cloud-sync/page/react-loadable-manifest.json +1 -0
  129. package/dist/standalone/next-output/server/app/settings/cloud-sync/page/server-reference-manifest.json +4 -0
  130. package/dist/standalone/next-output/server/app/settings/cloud-sync/page.js +16 -0
  131. package/dist/standalone/next-output/server/app/settings/cloud-sync/page.js.nft.json +1 -0
  132. package/dist/standalone/next-output/server/app/settings/cloud-sync/page_client-reference-manifest.js +3 -0
  133. package/dist/standalone/next-output/server/app/settings/data/page/build-manifest.json +5 -5
  134. package/dist/standalone/next-output/server/app/settings/data/page.js +6 -4
  135. package/dist/standalone/next-output/server/app/settings/data/page.js.nft.json +1 -1
  136. package/dist/standalone/next-output/server/app/settings/data/page_client-reference-manifest.js +1 -1
  137. package/dist/standalone/next-output/server/app/settings/display/page/build-manifest.json +5 -5
  138. package/dist/standalone/next-output/server/app/settings/display/page.js +5 -3
  139. package/dist/standalone/next-output/server/app/settings/display/page.js.nft.json +1 -1
  140. package/dist/standalone/next-output/server/app/settings/display/page_client-reference-manifest.js +1 -1
  141. package/dist/standalone/next-output/server/app/settings/goals/page/app-paths-manifest.json +3 -0
  142. package/dist/standalone/next-output/server/app/settings/goals/page/build-manifest.json +17 -0
  143. package/dist/standalone/next-output/server/app/settings/goals/page/next-font-manifest.json +11 -0
  144. package/dist/standalone/next-output/server/app/settings/goals/page/react-loadable-manifest.json +1 -0
  145. package/dist/standalone/next-output/server/app/settings/goals/page/server-reference-manifest.json +4 -0
  146. package/dist/standalone/next-output/server/app/settings/goals/page.js +16 -0
  147. package/dist/standalone/next-output/server/app/settings/goals/page.js.nft.json +1 -0
  148. package/dist/standalone/next-output/server/app/settings/goals/page_client-reference-manifest.js +3 -0
  149. package/dist/standalone/next-output/server/app/settings/page/build-manifest.json +5 -5
  150. package/dist/standalone/next-output/server/app/settings/page.js +6 -5
  151. package/dist/standalone/next-output/server/app/settings/page.js.nft.json +1 -1
  152. package/dist/standalone/next-output/server/app/settings/page_client-reference-manifest.js +1 -1
  153. package/dist/standalone/next-output/server/app/settings/pomodoro/page/app-paths-manifest.json +3 -0
  154. package/dist/standalone/next-output/server/app/settings/pomodoro/page/build-manifest.json +17 -0
  155. package/dist/standalone/next-output/server/app/settings/pomodoro/page/next-font-manifest.json +11 -0
  156. package/dist/standalone/next-output/server/app/settings/pomodoro/page/react-loadable-manifest.json +1 -0
  157. package/dist/standalone/next-output/server/app/settings/pomodoro/page/server-reference-manifest.json +4 -0
  158. package/dist/standalone/next-output/server/app/settings/pomodoro/page.js +16 -0
  159. package/dist/standalone/next-output/server/app/settings/pomodoro/page.js.nft.json +1 -0
  160. package/dist/standalone/next-output/server/app/settings/pomodoro/page_client-reference-manifest.js +3 -0
  161. package/dist/standalone/next-output/server/app/settings/tags/page/build-manifest.json +5 -5
  162. package/dist/standalone/next-output/server/app/settings/tags/page.js +6 -5
  163. package/dist/standalone/next-output/server/app/settings/tags/page.js.nft.json +1 -1
  164. package/dist/standalone/next-output/server/app/settings/tags/page_client-reference-manifest.js +1 -1
  165. package/dist/standalone/next-output/server/app/sheets/page/app-paths-manifest.json +3 -0
  166. package/dist/standalone/next-output/server/app/sheets/page/build-manifest.json +17 -0
  167. package/dist/standalone/next-output/server/app/sheets/page/next-font-manifest.json +11 -0
  168. package/dist/standalone/next-output/server/app/sheets/page/react-loadable-manifest.json +1 -0
  169. package/dist/standalone/next-output/server/app/sheets/page/server-reference-manifest.json +4 -0
  170. package/dist/standalone/next-output/server/app/sheets/page.js +16 -0
  171. package/dist/standalone/next-output/server/app/sheets/page.js.nft.json +1 -0
  172. package/dist/standalone/next-output/server/app/sheets/page_client-reference-manifest.js +3 -0
  173. package/dist/standalone/next-output/server/app/today/page/app-paths-manifest.json +3 -0
  174. package/dist/standalone/next-output/server/app/today/page/build-manifest.json +17 -0
  175. package/dist/standalone/next-output/server/app/today/page/next-font-manifest.json +11 -0
  176. package/dist/standalone/next-output/server/app/today/page/react-loadable-manifest.json +1 -0
  177. package/dist/standalone/next-output/server/app/today/page/server-reference-manifest.json +4 -0
  178. package/dist/standalone/next-output/server/app/today/page.js +16 -0
  179. package/dist/standalone/next-output/server/app/today/page.js.nft.json +1 -0
  180. package/dist/standalone/next-output/server/app/today/page_client-reference-manifest.js +3 -0
  181. package/dist/standalone/next-output/server/app-paths-manifest.json +14 -1
  182. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0-xbdkv._.js +3 -0
  183. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0.ztg_g._.js +3 -0
  184. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__00_xlkl._.js +3 -0
  185. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__01dpndl._.js +3 -0
  186. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__02io6cv._.js +3 -0
  187. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__07sy349._.js +3 -0
  188. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0a7wn1j._.js +3 -0
  189. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0ebiisd._.js +3 -0
  190. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0g~~yai._.js +3 -0
  191. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0ixkum3._.js +3 -0
  192. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0knbeau._.js +3 -0
  193. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0l9xtqh._.js +3 -0
  194. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0o1mjxc._.js +3 -0
  195. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0qxlpdo._.js +3 -0
  196. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0s7i732._.js +3 -0
  197. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0wtdkb3._.js +3 -0
  198. package/dist/standalone/next-output/server/chunks/{[root-of-the-server]__02~w0lb._.js → [root-of-the-server]__0z74go2._.js} +2 -2
  199. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0~zviro._.js +3 -0
  200. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__13n2uo8._.js +3 -0
  201. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__13w~fds._.js +3 -0
  202. package/dist/standalone/next-output/server/chunks/_0vvs4p8._.js +3 -0
  203. package/dist/standalone/next-output/server/chunks/_0vzosja._.js +3 -0
  204. package/dist/standalone/next-output/server/chunks/_0y.amf.._.js +3 -0
  205. package/dist/standalone/next-output/server/chunks/_0ysbhok._.js +3 -0
  206. package/dist/standalone/next-output/server/chunks/_next-internal_server_app_api_entry_suggest-description_route_actions_0cdw2b0.js +3 -0
  207. package/dist/standalone/next-output/server/chunks/_next-internal_server_app_api_focus-nudges_status_route_actions_0eit0d3.js +3 -0
  208. package/dist/standalone/next-output/server/chunks/_next-internal_server_app_api_sheet_active_route_actions_0vwkhw..js +3 -0
  209. package/dist/standalone/next-output/server/chunks/_next-internal_server_app_api_sync_merge-on-load_route_actions_0yu2xg-.js +3 -0
  210. package/dist/standalone/next-output/server/chunks/_next-internal_server_app_api_ui-preferences_merge-on-load_route_actions_06ep~.j.js +3 -0
  211. package/dist/standalone/next-output/server/chunks/ssr/0elt_date-fns_format_0j.rx2u.js +3 -0
  212. package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_0pyvy-l._.js +6 -0
  213. package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_dist_04bpslp._.js +1 -1
  214. package/dist/standalone/next-output/server/chunks/ssr/{0z~i_next_dist_0u6ij0z._.js → 0z~i_next_dist_0kux32m._.js} +2 -2
  215. package/dist/standalone/next-output/server/chunks/ssr/{_0vrl3h2._.js → 0z~i_next_dist_0s-rnzm._.js} +2 -2
  216. package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_dist_esm_build_templates_app-page_0-6~y~c.js +4 -0
  217. package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_dist_esm_build_templates_app-page_01origm.js +4 -0
  218. package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_dist_esm_build_templates_app-page_03p53oc.js +4 -0
  219. package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_dist_esm_build_templates_app-page_06-a75g.js +4 -0
  220. package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_dist_esm_build_templates_app-page_08fopnn.js +4 -0
  221. package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_dist_esm_build_templates_app-page_09dgn0-.js +4 -0
  222. package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_dist_esm_build_templates_app-page_0smfg-k.js +4 -0
  223. package/dist/standalone/next-output/server/chunks/ssr/0z~i_next_dist_esm_build_templates_app-page_0ufhb2c.js +4 -0
  224. package/dist/standalone/next-output/server/chunks/ssr/{[root-of-the-server]__12q4x7c._.js → [root-of-the-server]__03mtg~.._.js} +2 -2
  225. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__04rw9_a._.js +3 -0
  226. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__06tjg41._.js +3 -0
  227. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__08321hx._.js +3 -0
  228. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0c.ljsw._.js +3 -0
  229. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0d6d7oj._.js +3 -0
  230. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0ddge-d._.js +3 -0
  231. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0jx47wg._.js +3 -0
  232. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0ljly6c._.js +3 -0
  233. package/dist/standalone/next-output/server/chunks/ssr/{[root-of-the-server]__0p74awc._.js → [root-of-the-server]__0n8s9zq._.js} +2 -2
  234. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0px9gk1._.js +3 -0
  235. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0qfxx_p._.js +3 -0
  236. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0t-0r_3._.js +3 -0
  237. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0ue-tr6._.js +3 -0
  238. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0v7ghh2._.js +3 -0
  239. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0wmfvtj._.js +3 -0
  240. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0zxgb-a._.js +3 -0
  241. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0~t0puh._.js +3 -0
  242. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__10r4pdz._.js +3 -0
  243. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__11i.wpb._.js +3 -0
  244. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__12y1a.s._.js +3 -0
  245. package/dist/standalone/next-output/server/chunks/ssr/_00_8gfw._.js +3 -0
  246. package/dist/standalone/next-output/server/chunks/ssr/_00x~ete._.js +3 -0
  247. package/dist/standalone/next-output/server/chunks/ssr/_059wg4v._.js +3 -0
  248. package/dist/standalone/next-output/server/chunks/ssr/_08iak5j._.js +3 -0
  249. package/dist/standalone/next-output/server/chunks/ssr/_09-_33p._.js +3 -0
  250. package/dist/standalone/next-output/server/chunks/ssr/_0_aptb7._.js +3 -0
  251. package/dist/standalone/next-output/server/chunks/ssr/_0_k2414._.js +3 -0
  252. package/dist/standalone/next-output/server/chunks/ssr/_0a899fn._.js +3 -0
  253. package/dist/standalone/next-output/server/chunks/ssr/_0axgv9-._.js +3 -0
  254. package/dist/standalone/next-output/server/chunks/ssr/_0ceu~9f._.js +3 -0
  255. package/dist/standalone/next-output/server/chunks/ssr/_0hs4c5u._.js +3 -0
  256. package/dist/standalone/next-output/server/chunks/ssr/_0i4.n_a._.js +3 -0
  257. package/dist/standalone/next-output/server/chunks/ssr/_0k06nbl._.js +61 -0
  258. package/dist/standalone/next-output/server/chunks/ssr/_0ks2fqx._.js +3 -0
  259. package/dist/standalone/next-output/server/chunks/ssr/_0n4osnj._.js +3 -0
  260. package/dist/standalone/next-output/server/chunks/ssr/_0nz4ym1._.js +3 -0
  261. package/dist/standalone/next-output/server/chunks/ssr/{_0j.-r89._.js → _0r_7~d.._.js} +3 -3
  262. package/dist/standalone/next-output/server/chunks/ssr/_0st.s39._.js +3 -0
  263. package/dist/standalone/next-output/server/chunks/ssr/_0u8~h8i._.js +3 -0
  264. package/dist/standalone/next-output/server/chunks/ssr/_0wg9~zr._.js +3 -0
  265. package/dist/standalone/next-output/server/chunks/ssr/_0xrc5.~._.js +3 -0
  266. package/dist/standalone/next-output/server/chunks/ssr/_0ybsqe1._.js +3 -0
  267. package/dist/standalone/next-output/server/chunks/ssr/_0ycs85o._.js +3 -0
  268. package/dist/standalone/next-output/server/chunks/ssr/_0zk9gtm._.js +3 -0
  269. package/dist/standalone/next-output/server/chunks/ssr/_11d2qve._.js +3 -0
  270. package/dist/standalone/next-output/server/chunks/ssr/_138a8mc._.js +3 -0
  271. package/dist/standalone/next-output/server/chunks/ssr/_13crob-._.js +3 -0
  272. package/dist/standalone/next-output/server/chunks/ssr/_next-internal_server_app_offline_page_actions_0j41zoc.js +3 -0
  273. package/dist/standalone/next-output/server/chunks/ssr/_next-internal_server_app_pomodoro_page_actions_0o205w3.js +3 -0
  274. package/dist/standalone/next-output/server/chunks/ssr/_next-internal_server_app_settings_ai-suggestions_page_actions_0p0rvha.js +3 -0
  275. package/dist/standalone/next-output/server/chunks/ssr/_next-internal_server_app_settings_cloud-sync_page_actions_0ld6e8p.js +3 -0
  276. package/dist/standalone/next-output/server/chunks/ssr/_next-internal_server_app_settings_goals_page_actions_0qqx~n2.js +3 -0
  277. package/dist/standalone/next-output/server/chunks/ssr/_next-internal_server_app_settings_pomodoro_page_actions_0gky.2e.js +3 -0
  278. package/dist/standalone/next-output/server/chunks/ssr/_next-internal_server_app_sheets_page_actions_0cqf0.l.js +3 -0
  279. package/dist/standalone/next-output/server/chunks/ssr/_next-internal_server_app_today_page_actions_0of2-iy.js +3 -0
  280. package/dist/standalone/next-output/server/chunks/ssr/components_0rm~268._.js +3 -0
  281. package/dist/standalone/next-output/server/chunks/ssr/components_reporting-view_tsx_0-0ofcv._.js +1 -1
  282. package/dist/standalone/next-output/server/chunks/ssr/components_tracker-app_tsx_0qs9.7y._.js +1 -1
  283. package/dist/standalone/next-output/server/chunks/ssr/lib_0c0z4q-._.js +3 -0
  284. package/dist/standalone/next-output/server/chunks/ssr/{0z~i_next_dist_client_components_0247lue._.js → node_modules__pnpm_0u1tjhh._.js} +2 -2
  285. package/dist/standalone/next-output/server/middleware-build-manifest.js +8 -8
  286. package/dist/standalone/next-output/server/middleware-manifest.json +1 -1
  287. package/dist/standalone/next-output/server/next-font-manifest.js +1 -1
  288. package/dist/standalone/next-output/server/next-font-manifest.json +32 -0
  289. package/dist/standalone/next-output/server/pages/500.html +1 -1
  290. package/dist/standalone/next-output/server/pages-manifest.json +0 -1
  291. package/dist/standalone/next-output/static/chunks/0.--_5xgw~jq3.js +1 -0
  292. package/dist/standalone/next-output/static/chunks/00~ilmka-h85i.js +1 -0
  293. package/dist/standalone/next-output/static/chunks/01f_tq~9x~8zv.js +1 -0
  294. package/dist/standalone/next-output/static/chunks/01h-_jcedsju8.js +1 -0
  295. package/dist/standalone/next-output/static/chunks/03flgrd7bw9r5.js +1 -0
  296. package/dist/standalone/next-output/static/chunks/04_2jzw-uhhu0.js +2 -0
  297. package/dist/standalone/next-output/static/chunks/{04i7.d4zi~oe6.js → 04zgidsnwp2rr.js} +14 -14
  298. package/dist/standalone/next-output/static/chunks/06u43x9tl391w.js +1 -0
  299. package/dist/standalone/next-output/static/chunks/0beicab6wjk6i.js +1 -0
  300. package/dist/standalone/next-output/static/chunks/0d7jhm_3u1qc8.js +1 -0
  301. package/dist/standalone/next-output/static/chunks/0jf22qg9qg-gc.js +1 -0
  302. package/dist/standalone/next-output/static/chunks/0jmzwpfmnsd3v.js +1 -0
  303. package/dist/standalone/next-output/static/chunks/{0n~v8~rri7~t2.js → 0lgo02csmvyps.js} +1 -1
  304. package/dist/standalone/next-output/static/chunks/0l~uil8w-ewlm.js +1 -0
  305. package/dist/standalone/next-output/static/chunks/0n2~cs.u7bygu.js +1 -0
  306. package/dist/standalone/next-output/static/chunks/0p-_potvb-of4.js +1 -0
  307. package/dist/standalone/next-output/static/chunks/0pad.4ycu.c9a.js +1 -0
  308. package/dist/standalone/next-output/static/chunks/0r_p~8b~slwz6.js +1 -0
  309. package/dist/standalone/next-output/static/chunks/0uqa2icli2jfg.js +1 -0
  310. package/dist/standalone/next-output/static/chunks/0wwa4vyavaj9y.js +1 -0
  311. package/dist/standalone/next-output/static/chunks/0yi4m~~80yeqj.js +1 -0
  312. package/dist/standalone/next-output/static/chunks/0yl69md~v-u0j.js +1 -0
  313. package/dist/standalone/next-output/static/chunks/0ztw.xdr4egi9.js +4 -0
  314. package/dist/standalone/next-output/static/chunks/0zx~44x9cv897.js +31 -0
  315. package/dist/standalone/next-output/static/chunks/145wpjuqytc0-.js +1 -0
  316. package/dist/standalone/next-output/static/chunks/16mdccb8.20ou.css +3 -0
  317. package/dist/standalone/next-output/static/chunks/16unuw80qbxmx.js +1 -0
  318. package/dist/standalone/next-output/static/chunks/18c9gg_1a7.0p.js +1 -0
  319. package/dist/standalone/next-output/static/chunks/{turbopack-0st0r~j~gn7ke.js → turbopack-09e2mm19twlrw.js} +1 -1
  320. package/dist/standalone/package.json +1 -1
  321. package/dist/standalone/public/icons/pwa-icon-192.svg +6 -0
  322. package/dist/standalone/public/icons/pwa-icon-512.svg +6 -0
  323. package/dist/standalone/public/manifest.webmanifest +30 -0
  324. package/dist/standalone/public/sw.js +144 -0
  325. package/package.json +1 -1
  326. package/dist/standalone/next-output/server/app/_not-found.html +0 -1
  327. package/dist/standalone/next-output/server/app/_not-found.meta +0 -16
  328. package/dist/standalone/next-output/server/app/_not-found.rsc +0 -26
  329. package/dist/standalone/next-output/server/app/_not-found.segments/_full.segment.rsc +0 -26
  330. package/dist/standalone/next-output/server/app/_not-found.segments/_head.segment.rsc +0 -6
  331. package/dist/standalone/next-output/server/app/_not-found.segments/_index.segment.rsc +0 -11
  332. package/dist/standalone/next-output/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +0 -5
  333. package/dist/standalone/next-output/server/app/_not-found.segments/_not-found.segment.rsc +0 -5
  334. package/dist/standalone/next-output/server/app/_not-found.segments/_tree.segment.rsc +0 -2
  335. package/dist/standalone/next-output/server/app/settings/display.html +0 -1
  336. package/dist/standalone/next-output/server/app/settings/display.meta +0 -16
  337. package/dist/standalone/next-output/server/app/settings/display.rsc +0 -44
  338. package/dist/standalone/next-output/server/app/settings/display.segments/_full.segment.rsc +0 -44
  339. package/dist/standalone/next-output/server/app/settings/display.segments/_head.segment.rsc +0 -6
  340. package/dist/standalone/next-output/server/app/settings/display.segments/_index.segment.rsc +0 -11
  341. package/dist/standalone/next-output/server/app/settings/display.segments/_tree.segment.rsc +0 -4
  342. package/dist/standalone/next-output/server/app/settings/display.segments/settings/display/__PAGE__.segment.rsc +0 -20
  343. package/dist/standalone/next-output/server/app/settings/display.segments/settings/display.segment.rsc +0 -5
  344. package/dist/standalone/next-output/server/app/settings/display.segments/settings.segment.rsc +0 -5
  345. package/dist/standalone/next-output/server/chunks/0z~i_next_dist_esm_build_templates_app-route_0213rdf.js +0 -3
  346. package/dist/standalone/next-output/server/chunks/0z~i_next_dist_esm_build_templates_app-route_03g03g4.js +0 -3
  347. package/dist/standalone/next-output/server/chunks/0z~i_next_dist_esm_build_templates_app-route_03tgdq_.js +0 -3
  348. package/dist/standalone/next-output/server/chunks/0z~i_next_dist_esm_build_templates_app-route_04pkg4k.js +0 -3
  349. package/dist/standalone/next-output/server/chunks/0z~i_next_dist_esm_build_templates_app-route_04xu.yc.js +0 -3
  350. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0-vx9fd._.js +0 -3
  351. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0.pes14._.js +0 -3
  352. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__01gv623._.js +0 -3
  353. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__07steou._.js +0 -3
  354. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0_iol1b._.js +0 -3
  355. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0czppph._.js +0 -3
  356. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0j0740e._.js +0 -3
  357. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0jki.34._.js +0 -3
  358. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0p-frp1._.js +0 -3
  359. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0p1kxjf._.js +0 -3
  360. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__0rqulo~._.js +0 -3
  361. package/dist/standalone/next-output/server/chunks/[root-of-the-server]__12h-035._.js +0 -3
  362. package/dist/standalone/next-output/server/chunks/_0..mseh._.js +0 -3
  363. package/dist/standalone/next-output/server/chunks/_0900_l.._.js +0 -3
  364. package/dist/standalone/next-output/server/chunks/_0it7w3b._.js +0 -3
  365. package/dist/standalone/next-output/server/chunks/_0oz1whe._.js +0 -3
  366. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__00t2myd._.js +0 -3
  367. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__01coapr._.js +0 -3
  368. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__045~xw2._.js +0 -3
  369. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0mc.wxv._.js +0 -3
  370. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0mjp16u._.js +0 -3
  371. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0ucb5c~._.js +0 -3
  372. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0urz1s3._.js +0 -3
  373. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0uw_dut._.js +0 -3
  374. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__0wm37im._.js +0 -3
  375. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__113akjz._.js +0 -3
  376. package/dist/standalone/next-output/server/chunks/ssr/[root-of-the-server]__13dr511._.js +0 -3
  377. package/dist/standalone/next-output/server/chunks/ssr/_0.-wxz~._.js +0 -3
  378. package/dist/standalone/next-output/server/chunks/ssr/_01xe83y._.js +0 -64
  379. package/dist/standalone/next-output/server/chunks/ssr/_02np35c._.js +0 -3
  380. package/dist/standalone/next-output/server/chunks/ssr/_03kx6a3._.js +0 -64
  381. package/dist/standalone/next-output/server/chunks/ssr/_06.f~a.._.js +0 -3
  382. package/dist/standalone/next-output/server/chunks/ssr/_06yb2en._.js +0 -3
  383. package/dist/standalone/next-output/server/chunks/ssr/_0iqbilg._.js +0 -64
  384. package/dist/standalone/next-output/server/chunks/ssr/_0ox~9uu._.js +0 -3
  385. package/dist/standalone/next-output/server/chunks/ssr/_0x1bw~i._.js +0 -3
  386. package/dist/standalone/next-output/server/chunks/ssr/_0ykqba1._.js +0 -3
  387. package/dist/standalone/next-output/server/chunks/ssr/_0zp.x0b._.js +0 -3
  388. package/dist/standalone/next-output/server/chunks/ssr/components_0mwejmt._.js +0 -3
  389. package/dist/standalone/next-output/server/chunks/ssr/components_109-aj4._.js +0 -3
  390. package/dist/standalone/next-output/server/chunks/ssr/lib_0x8xvli._.js +0 -3
  391. package/dist/standalone/next-output/server/pages/404.html +0 -1
  392. package/dist/standalone/next-output/static/chunks/01mevzl3z5cgt.js +0 -1
  393. package/dist/standalone/next-output/static/chunks/05161-t.3egqv.js +0 -4
  394. package/dist/standalone/next-output/static/chunks/0708yw9dysifo.js +0 -2
  395. package/dist/standalone/next-output/static/chunks/0_ksz4lai0fyf.js +0 -1
  396. package/dist/standalone/next-output/static/chunks/0b41d5ys.-f0z.js +0 -1
  397. package/dist/standalone/next-output/static/chunks/0dap7q~qaakti.js +0 -1
  398. package/dist/standalone/next-output/static/chunks/0e9-u5vmtujdj.js +0 -1
  399. package/dist/standalone/next-output/static/chunks/0g7b1~gza1y3a.js +0 -1
  400. package/dist/standalone/next-output/static/chunks/0h-q8kc3tbcj8.js +0 -1
  401. package/dist/standalone/next-output/static/chunks/0koldw9zjijry.js +0 -31
  402. package/dist/standalone/next-output/static/chunks/0pyyx.xdi5hi-.js +0 -1
  403. package/dist/standalone/next-output/static/chunks/0t2dqc8t4.4r~.js +0 -1
  404. package/dist/standalone/next-output/static/chunks/0uezeykgodd86.js +0 -1
  405. package/dist/standalone/next-output/static/chunks/0wf_vm8b1-jq3.js +0 -1
  406. package/dist/standalone/next-output/static/chunks/0y833~et3ssz2.js +0 -1
  407. package/dist/standalone/next-output/static/chunks/0yxiwfqfaqly7.css +0 -3
  408. package/dist/standalone/next-output/static/chunks/10ey~m_2o0rlr.js +0 -1
  409. /package/dist/standalone/next-output/static/{DquhSHeykhjs4ylW6BQ87 → uDCGSwlW4NbB5dHgt5rHB}/_buildManifest.js +0 -0
  410. /package/dist/standalone/next-output/static/{DquhSHeykhjs4ylW6BQ87 → uDCGSwlW4NbB5dHgt5rHB}/_clientMiddlewareManifest.js +0 -0
  411. /package/dist/standalone/next-output/static/{DquhSHeykhjs4ylW6BQ87 → uDCGSwlW4NbB5dHgt5rHB}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- self.__NEXT_FONT_MANIFEST="{\n \"app\": {\n \"[project]/app/_not-found/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/login/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/register/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/reporting/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/data/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/display/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/tags/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ]\n },\n \"appUsingSizeAdjust\": true,\n \"pages\": {},\n \"pagesUsingSizeAdjust\": false\n}"
1
+ self.__NEXT_FONT_MANIFEST="{\n \"app\": {\n \"[project]/app/_not-found/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/login/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/offline/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/pomodoro/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/register/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/reporting/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/ai-suggestions/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/cloud-sync/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/data/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/display/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/goals/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/pomodoro/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/settings/tags/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/sheets/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ],\n \"[project]/app/today/page\": [\n \"static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2\",\n \"static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2\"\n ]\n },\n \"appUsingSizeAdjust\": true,\n \"pages\": {},\n \"pagesUsingSizeAdjust\": false\n}"
@@ -8,10 +8,18 @@
8
8
  "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
9
9
  "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
10
10
  ],
11
+ "[project]/app/offline/page": [
12
+ "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
13
+ "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
14
+ ],
11
15
  "[project]/app/page": [
12
16
  "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
13
17
  "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
14
18
  ],
19
+ "[project]/app/pomodoro/page": [
20
+ "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
21
+ "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
22
+ ],
15
23
  "[project]/app/register/page": [
16
24
  "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
17
25
  "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
@@ -20,6 +28,14 @@
20
28
  "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
21
29
  "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
22
30
  ],
31
+ "[project]/app/settings/ai-suggestions/page": [
32
+ "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
33
+ "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
34
+ ],
35
+ "[project]/app/settings/cloud-sync/page": [
36
+ "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
37
+ "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
38
+ ],
23
39
  "[project]/app/settings/data/page": [
24
40
  "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
25
41
  "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
@@ -28,13 +44,29 @@
28
44
  "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
29
45
  "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
30
46
  ],
47
+ "[project]/app/settings/goals/page": [
48
+ "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
49
+ "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
50
+ ],
31
51
  "[project]/app/settings/page": [
32
52
  "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
33
53
  "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
34
54
  ],
55
+ "[project]/app/settings/pomodoro/page": [
56
+ "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
57
+ "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
58
+ ],
35
59
  "[project]/app/settings/tags/page": [
36
60
  "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
37
61
  "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
62
+ ],
63
+ "[project]/app/sheets/page": [
64
+ "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
65
+ "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
66
+ ],
67
+ "[project]/app/today/page": [
68
+ "static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2",
69
+ "static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2"
38
70
  ]
39
71
  },
40
72
  "appUsingSizeAdjust": true,
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0koldw9zjijry.js"/><script src="/_next/static/chunks/05161-t.3egqv.js" async=""></script><script src="/_next/static/chunks/0708yw9dysifo.js" async=""></script><script src="/_next/static/chunks/0uezeykgodd86.js" async=""></script><script src="/_next/static/chunks/turbopack-0st0r~j~gn7ke.js" async=""></script><script src="/_next/static/chunks/1513ibnpmlx36.js" async=""></script><script src="/_next/static/chunks/0n~v8~rri7~t2.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="icon" href="/favicon.ico?favicon.0x3dzn~oxb6tn.ico" sizes="256x256" type="image/x-icon"/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0koldw9zjijry.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[5233,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0n~v8~rri7~t2.js\"],\"default\"]\n3:I[73632,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0n~v8~rri7~t2.js\"],\"default\"]\n4:I[83775,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0n~v8~rri7~t2.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[83775,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0n~v8~rri7~t2.js\"],\"ViewportBoundary\"]\na:I[83775,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0n~v8~rri7~t2.js\"],\"MetadataBoundary\"]\nc:I[51709,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0n~v8~rri7~t2.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"DquhSHeykhjs4ylW6BQ87\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[31415,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0n~v8~rri7~t2.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0zx~44x9cv897.js"/><script src="/_next/static/chunks/0ztw.xdr4egi9.js" async=""></script><script src="/_next/static/chunks/0l~uil8w-ewlm.js" async=""></script><script src="/_next/static/chunks/04_2jzw-uhhu0.js" async=""></script><script src="/_next/static/chunks/turbopack-09e2mm19twlrw.js" async=""></script><script src="/_next/static/chunks/1513ibnpmlx36.js" async=""></script><script src="/_next/static/chunks/0lgo02csmvyps.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="icon" href="/favicon.ico?favicon.0x3dzn~oxb6tn.ico" sizes="256x256" type="image/x-icon"/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0zx~44x9cv897.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[5233,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0lgo02csmvyps.js\"],\"default\"]\n3:I[73632,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0lgo02csmvyps.js\"],\"default\"]\n4:I[83775,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0lgo02csmvyps.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[83775,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0lgo02csmvyps.js\"],\"ViewportBoundary\"]\na:I[83775,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0lgo02csmvyps.js\"],\"MetadataBoundary\"]\nc:I[51709,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0lgo02csmvyps.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"uDCGSwlW4NbB5dHgt5rHB\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[31415,[\"/_next/static/chunks/1513ibnpmlx36.js\",\"/_next/static/chunks/0lgo02csmvyps.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\n"])</script></body></html>
@@ -1,4 +1,3 @@
1
1
  {
2
- "/404": "pages/404.html",
3
2
  "/500": "pages/500.html"
4
3
  }
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42800,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060);let s=[{href:"/settings",label:"General",match:e=>"/settings"===e},{href:"/settings/display",label:"Display & layout",match:e=>e.startsWith("/settings/display")},{href:"/settings/goals",label:"Goals",match:e=>e.startsWith("/settings/goals")},{href:"/settings/pomodoro",label:"Pomodoro",match:e=>e.startsWith("/settings/pomodoro")},{href:"/settings/ai-suggestions",label:"AI suggestions",match:e=>e.startsWith("/settings/ai-suggestions")},{href:"/settings/cloud-sync",label:"Sync",match:e=>e.startsWith("/settings/cloud-sync")},{href:"/settings/data",label:"Data & backup",match:e=>e.startsWith("/settings/data")},{href:"/settings/tags",label:"Tag management",match:e=>e.startsWith("/settings/tags")}];e.s(["SettingsNav",0,function(){let e=(0,n.usePathname)()??"/settings";return(0,t.jsx)("nav",{"aria-label":"Settings sections",className:"w-full",children:(0,t.jsx)("ul",{className:"scrollbar-none m-0 flex w-full list-none gap-1 overflow-x-auto p-0 pb-1 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden max-[860px]:flex-row min-[861px]:flex-col min-[861px]:gap-0.5 min-[861px]:overflow-visible min-[861px]:pb-0",children:s.map(n=>{let s=n.match(e);return(0,t.jsx)("li",{className:"shrink-0 min-[861px]:shrink",children:(0,t.jsx)(r.default,{href:n.href,"aria-current":s?"page":void 0,className:`block whitespace-nowrap rounded-md px-3 py-2 text-[0.9rem] no-underline transition-colors duration-150 min-[861px]:whitespace-normal ${s?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,children:n.label})},n.href)})})})}])},42552,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return u},urlObjectKeys:function(){return i}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let a=e.r(44066)._(e.r(78677)),o=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",s=e.pathname||"",l=e.hash||"",i=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),i&&"object"==typeof i&&(i=String(a.urlQueryToSearchParams(i)));let c=e.search||i&&`?${i}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==u?(u="//"+(u||""),s&&"/"!==s[0]&&(s="/"+s)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),s=s.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${s}${c}${l}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return l(e)}},37879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=e.r(29158);function s(e,t){let r=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(r.current=a(e,n)),t&&(s.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},59246,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(31047),s=e.r(63334);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,s.hasBasePath)(r.pathname)}catch(e){return!1}}},10364,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},45958,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return x},useLinkStatus:function(){return _}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let a=e.r(44066),o=e.r(54710),l=a._(e.r(29158)),i=e.r(42552),u=e.r(61717),c=e.r(37879),d=e.r(31047),m=e.r(20321);e.r(90503);let h=e.r(38520),p=e.r(19947),f=e.r(59246),b=e.r(99046);function x(t){var r,n;let s,a,x,[_,y]=(0,l.useOptimistic)(p.IDLE_LINK_STATUS),v=(0,l.useRef)(null),{href:j,as:k,children:w,prefetch:N=null,passHref:S,replace:O,shallow:T,scroll:E,onClick:C,onMouseEnter:P,onTouchStart:L,legacyBehavior:R=!1,onNavigate:D,transitionTypes:M,ref:A,unstable_dynamicOnHover:I,...U}=t;s=w,R&&("string"==typeof s||"number"==typeof s)&&(s=(0,o.jsx)("a",{children:s}));let $=l.default.useContext(u.AppRouterContext),F=!1!==N,W=!1!==N?null===(n=N)||"auto"===n?b.FetchStrategy.PPR:b.FetchStrategy.Full:b.FetchStrategy.PPR,K="string"==typeof(r=k||j)?r:(0,i.formatUrl)(r);if(R){if(s?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=l.default.Children.only(s)}let B=R?a&&"object"==typeof a&&a.ref:A,G=l.default.useCallback(e=>(null!==$&&(v.current=(0,p.mountLinkInstance)(e,K,$,W,F,y)),()=>{v.current&&((0,p.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,p.unmountPrefetchableInstance)(e)}),[F,K,$,W,y]),z={ref:(0,c.useMergedRef)(G,B),onClick(t){R||"function"!=typeof C||C(t),R&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!$||t.defaultPrevented||function(t,r,n,s,a,o,i){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(r)){s&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(91087);l.default.startTransition(()=>{d(r,s?"replace":"push",!1===a?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,i)})}}(t,K,v,O,E,D,M)},onMouseEnter(e){R||"function"!=typeof P||P(e),R&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),$&&F&&(0,p.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){R||"function"!=typeof L||L(e),R&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),$&&F&&(0,p.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(K)?z.href=K:R&&!S&&("a"!==a.type||"href"in a.props)||(z.href=(0,m.addBasePath)(K)),x=R?l.default.cloneElement(a,z):(0,o.jsx)("a",{...U,...z,children:s}),(0,o.jsx)(g.Provider,{value:_,children:x})}e.r(10364);let g=(0,l.createContext)(p.IDLE_LINK_STATUS),_=()=>(0,l.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77882,e=>{"use strict";var t=e.i(71060),r=e.i(29158),n=e.i(83105),s=e.i(32417),a=e.i(46549);e.s(["use_supabase_auth_session",0,function(){let e=(0,t.useRouter)(),[o,l]=(0,r.useState)(null),[i,u]=(0,r.useState)(!1),c=(0,s.is_supabase_configured)();return(0,r.useEffect)(()=>{if(!c)return;let e=(0,n.create_browser_supabase_client)();e.auth.getSession().then(({data:{session:e}})=>{l(e?.user.email??null)}).catch(()=>{l(null)});let{data:{subscription:t}}=e.auth.onAuthStateChange((e,t)=>{l(t?.user.email??null)});return()=>{t.unsubscribe()}},[c]),{is_configured:c,email:o,is_pending:i,sign_out:(0,r.useCallback)(async()=>{u(!0);try{await fetch("/api/auth/signout",{method:"POST"});let t=(0,n.create_browser_supabase_client)();await t.auth.signOut().catch(()=>{}),(0,a.notify_settings_saved)("Signed out"),e.refresh()}finally{u(!1)}},[e])}}])},45200,648,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060);let s=[{href:"/",label:"Tracker",match:e=>"/"===e},{href:"/today",label:"Today",match:e=>e.startsWith("/today")},{href:"/pomodoro",label:"Pomodoro",match:e=>e.startsWith("/pomodoro")},{href:"/sheets",label:"Sheets",match:e=>e.startsWith("/sheets")},{href:"/reporting",label:"Reporting",match:e=>e.startsWith("/reporting")}];function a(){return(0,t.jsx)("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,t.jsx)("path",{d:"M17.5 19a4.5 4.5 0 0 0 0-9 6.5 6.5 0 0 0-12.6 1.5A4 4 0 0 0 6 19h11.5z"})})}e.s(["TrackerNavLinks",0,function(){let e=(0,n.usePathname)()??"/";return(0,t.jsx)("div",{className:"scrollbar-none flex min-w-0 flex-1 items-center gap-1 overflow-x-auto whitespace-nowrap py-0.5 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden min-[980px]:overflow-visible",children:s.map(n=>{let s=n.match(e);return(0,t.jsx)(r.default,{className:`rounded-full px-3 py-1.5 text-[0.85rem] font-semibold no-underline transition-colors duration-150 shrink-0 ${s?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,href:n.href,"aria-current":s?"page":void 0,children:n.label},n.href)})})}],45200);var o=e.i(77882);e.s(["TopbarCloudStatus",0,function(){let{email:e,is_configured:r}=(0,o.use_supabase_auth_session)();return r&&null!==e?(0,t.jsxs)("div",{className:"group relative flex items-center",children:[(0,t.jsx)("span",{className:"inline-flex h-8 w-8 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-accent","aria-label":`Cloud sync active for ${e}`,role:"img",children:(0,t.jsx)(a,{})}),(0,t.jsx)("div",{role:"tooltip",className:"pointer-events-none absolute right-0 top-full z-50 mt-1.5 w-max max-w-[min(18rem,calc(100vw-2.5rem))] opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100",children:(0,t.jsxs)("div",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-1.5 shadow-md",children:[(0,t.jsx)("p",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.04em] text-muted",children:"Signed in as"}),(0,t.jsx)("p",{className:"m-0 max-w-[16rem] truncate text-[0.82rem] font-medium",title:e,children:e})]})})]}):null}],648)},37399,e=>{"use strict";var t=e.i(54710);e.s(["HamburgerIcon",0,function(){return(0,t.jsxs)("svg",{className:"block h-4 w-4 text-muted",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M4 7h16"}),(0,t.jsx)("path",{d:"M4 12h16"}),(0,t.jsx)("path",{d:"M4 17h16"})]})}])},90463,e=>{"use strict";e.s(["build_auth_page_href",0,function(e,t){let r="sign_in"===e?"/login":"/register",n=t.trim();return 0===n.length||"/"===n?r:`${r}?next=${encodeURIComponent(n)}`}])},2268,76003,38240,e=>{"use strict";var t=e.i(34869),r=e.i(92629);let n=(0,t.create_ui_preference_store)({storage_key:r.CLOUD_SYNC_ENABLED_STORAGE_KEY,default_value:r.CLOUD_SYNC_ENABLED_DEFAULT,is_valid:e=>"true"===e||"false"===e});function s(){return"u"<typeof document?"dark":"light"===document.documentElement.getAttribute("data-theme")?"light":"dark"}e.s(["cloud_sync_enabled_preference",0,n],2268),e.s(["get_theme_server_snapshot",0,function(){return"dark"},"get_theme_snapshot",0,function(){return s()}],76003);var a=e.i(17798),o=e.i(46549),l=e.i(10464),i=e.i(35434),u=e.i(61834),c=e.i(81553);e.s(["toggle_theme",0,function(){let e="dark"===s()?"light":"dark";(0,a.apply_theme)(e),(0,c.write_stored_theme)(e),l.theme_mode_preference.write(e),(0,u.write_document_preference_cookies)({theme_mode:e,theme:e}),l.theme_mode_preference.notify(),(0,i.notify_theme_subscribers)(),(0,o.notify_settings_saved)()}],38240)},25204,e=>{"use strict";var t=e.i(29158),r=e.i(72074);e.s(["use_escape_to_cancel",0,function(e,n=!0){let s=(0,t.useRef)(e);s.current=e,(0,t.useEffect)(()=>{if(!n)return;let e=e=>{"Escape"!==e.key||(0,r.is_modal_dialog_open)()||(e.preventDefault(),s.current())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[n])}])},1976,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060),s=e.i(29158),a=e.i(37399),o=e.i(90463),l=e.i(46549),i=e.i(2268),u=e.i(28274),c=e.i(76003),d=e.i(35434),m=e.i(38240),h=e.i(25204),p=e.i(77882);let f="block w-full cursor-pointer rounded-[0.45rem] border-0 bg-transparent px-2.5 py-1.5 text-left font-inherit text-[0.85rem] text-inherit no-underline hover:bg-surface-hover disabled:cursor-not-allowed disabled:opacity-55";e.s(["TopbarOverflowMenu",0,function(){let e=(0,n.useRouter)(),b=(0,n.usePathname)()??"/",x=(0,s.useSyncExternalStore)(d.subscribe_theme,c.get_theme_snapshot,c.get_theme_server_snapshot),g=(0,s.useSyncExternalStore)(i.cloud_sync_enabled_preference.subscribe,i.cloud_sync_enabled_preference.get_snapshot,i.cloud_sync_enabled_preference.get_server_snapshot),{email:_,is_configured:y,is_pending:v,sign_out:j}=(0,p.use_supabase_auth_session)(),[k,w]=(0,s.useState)(!1),N=(0,s.useRef)(null);(0,s.useEffect)(()=>{if(!k)return;let e=e=>{null===N.current||N.current.contains(e.target)||w(!1)};return document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[k]);let S=()=>{w(!1)};return(0,h.use_escape_to_cancel)(S,k),(0,t.jsxs)("div",{className:"relative shrink-0",ref:N,children:[(0,t.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":"Open menu","aria-expanded":k,"aria-haspopup":"menu",onClick:()=>w(e=>!e),children:(0,t.jsx)(a.HamburgerIcon,{})}),k?(0,t.jsxs)("ul",{className:"absolute right-0 top-full z-50 mt-1.5 min-w-56 list-none rounded-md border border-panel-border bg-panel p-1.5 shadow-md",role:"menu",children:[y&&null!==_?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("p",{className:"m-0 truncate px-2.5 py-1 text-[0.72rem] uppercase tracking-[0.04em] text-muted",title:_,children:_})}):null,(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/tags",className:f,role:"menuitem",onClick:S,children:"Manage tags"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/pomodoro",className:f,role:"menuitem",onClick:S,children:"Pomodoro"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/cloud-sync",className:f,role:"menuitem",onClick:S,children:"Sync settings"})}),y?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:f,role:"menuitemcheckbox","aria-checked":"true"===g,onClick:()=>{let e="true"===g?"false":"true";i.cloud_sync_enabled_preference.write(e),i.cloud_sync_enabled_preference.notify(),(0,l.notify_settings_saved)("true"===e?"Cloud sync enabled":"Cloud sync disabled"),"true"===e&&null!==_&&(0,u.run_tracker_db_cloud_sync)({merge_on_load:!0}).catch(()=>{})},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"true"===g?"Pause cloud sync":"Resume cloud sync"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"true"===g?"On":"Off"})]})})}):null,(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:f,role:"menuitem",onClick:()=>{S(),(0,m.toggle_theme)()},suppressHydrationWarning:!0,children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsxs)("span",{children:["dark"===x?"Dark":"Light"," theme"]}),(0,t.jsx)("span",{"aria-hidden":"true",children:"dark"===x?"☾":"☀"})]})})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:f,role:"menuitem",onClick:()=>{S(),document.dispatchEvent(new KeyboardEvent("keydown",{key:"?",shiftKey:!0,bubbles:!0}))},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"Keyboard shortcuts"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"(?)"})]})})}),y?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),null===_?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:f,role:"menuitem",onClick:()=>{S(),e.push((0,o.build_auth_page_href)("sign_in",b))},children:"Sign in"})}):(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:`${f} text-danger`,role:"menuitem",disabled:v,onClick:()=>{S(),j()},children:v?"Signing out…":"Sign out"})})]}):null]}):null]})}])},29539,e=>{"use strict";var t=e.i(54710);e.s(["SettingsIcon",0,function(){return(0,t.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,t.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})}])},75404,e=>{"use strict";var t=e.i(54710),r=e.i(45200),n=e.i(648),s=e.i(1976),a=e.i(45958),o=e.i(71060),l=e.i(29539);function i(){let e=((0,o.usePathname)()??"/").startsWith("/settings");return(0,t.jsx)(a.default,{href:"/settings",className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-muted no-underline hover:bg-surface-hover hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent${e?" border-accent-border text-foreground":""}`,"aria-label":"Settings","aria-current":e?"page":void 0,children:(0,t.jsx)(l.SettingsIcon,{})})}function u({current:e,parent:r}){return(0,t.jsx)("nav",{"aria-label":"Breadcrumb",className:"min-w-0 text-left",children:(0,t.jsxs)("ol",{className:"m-0 flex min-w-0 list-none flex-wrap items-center gap-1.5 p-0 text-[0.85rem]",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{className:"text-muted no-underline hover:text-foreground",href:"/",children:"Tracker"})}),void 0!==r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{children:void 0!==r.href?(0,t.jsx)(a.default,{className:"max-w-44 truncate text-muted no-underline hover:text-foreground sm:max-w-none",href:r.href,children:r.label}):(0,t.jsx)("span",{className:"max-w-44 truncate text-muted sm:max-w-none",children:r.label})})]}):null,(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{className:"max-w-44 truncate font-medium text-foreground sm:max-w-none","aria-current":"page",children:e})]})})}e.s(["TrackerTopbar",0,function({breadcrumb:e}={}){return(0,t.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,t.jsxs)("div",{className:"mx-auto flex max-w-[1120px] min-h-13 flex-wrap items-center gap-x-4 gap-y-2 px-4 py-2 sm:px-5",children:[(0,t.jsx)("span",{className:"inline-flex min-w-0 shrink 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!==e?(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsx)(u,{current:e.current,parent:e.parent})}):null,(0,t.jsxs)("div",{className:"flex w-full items-center justify-between gap-2 min-[980px]:ml-auto min-[980px]:w-auto min-[980px]:justify-end",children:[(0,t.jsx)(r.TrackerNavLinks,{}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2",children:[(0,t.jsx)(n.TopbarCloudStatus,{}),(0,t.jsx)(i,{}),(0,t.jsx)(s.TopbarOverflowMenu,{})]})]})]})})}],75404)},52405,e=>{"use strict";e.s(["get_input_class_name",0,function(e="default"){let t="box-border max-w-full min-w-0 w-full rounded-[0.65rem] border border-panel-border bg-input-bg px-3 py-2.5 font-inherit text-inherit transition-[background-color,border-color] duration-200 focus:border-input-focus-border focus:outline-none";return"compact"===e?`${t} px-2.5 py-2`:t}])},31113,e=>{"use strict";e.s(["normalize_stored_tag",0,function(e){let t=e.trim().replace(/^@+/,"");if(0===t.length)throw Error("Tag name must not be empty.");if(!/^\w+$/.test(t))throw Error("Tags may only contain letters, numbers, and underscores.");return`@${t}`}])},14260,18774,e=>{"use strict";var t=e.i(54710),r=e.i(29158);function n(e){return e.startsWith("@")?e:`@${e}`}e.s(["format_display_tag",0,n],18774);var s=e.i(52405),a=e.i(31113);e.s(["TagAutocompleteInput",0,function({id:e,value:o,known_tags:l,placeholder:i,disabled:u=!1,autoFocus:c=!1,on_change:d}){let m=(0,r.useRef)(null),h=(0,r.useRef)(null),p=(0,r.useRef)(null),[f,b]=(0,r.useState)(0),[x,g]=(0,r.useState)(0),_=function(e,t){let r=e.slice(0,t),n=r.lastIndexOf("@");if(-1===n)return null;let s=r.slice(n+1);return/\s/.test(s)?null:{query:s,start_index:n,end_index:t}}(o,f),y=null===_?[]:function(e,t,r=10){let n=t.toLowerCase();return e.filter(e=>{let t=e.replace(/^@/,"").toLowerCase();return 0===n.length||t.startsWith(n)}).slice(0,r)}(l,_.query),v=null!==_&&function(e,t){if(!/^\w+$/.test(e))return!1;let r=e.toLowerCase();return t.some(e=>{try{return(0,a.normalize_stored_tag)(e).slice(1).toLowerCase()===r}catch{return!1}})}(_.query,l),j=null!==_&&y.length>0&&!v&&!u;(0,r.useLayoutEffect)(()=>{null!==p.current&&null!==m.current&&(m.current.setSelectionRange(p.current,p.current),b(p.current),p.current=null)},[o]),(0,r.useEffect)(()=>{g(0)},[o,f,y.length]);let k=()=>{b(m.current?.selectionStart??o.length)},w=()=>{g(0)},N=e=>{let t,r,s;if(null===_)return;let{next_text:a,next_cursor:l}=(t=n(e),r=o.slice(0,_.start_index),s=o.slice(_.end_index),{next_text:`${r}${t}${s}`,next_cursor:r.length+t.length});p.current=l,d(a),w()};return(0,t.jsxs)("div",{className:"relative min-w-0",children:[(0,t.jsx)("input",{ref:m,id:e,type:"text",className:(0,s.get_input_class_name)(),value:o,placeholder:i,disabled:u,autoFocus:c,autoComplete:"off","aria-autocomplete":"list","aria-expanded":j,"aria-controls":j?`${e}-tag-suggestions`:void 0,onChange:e=>{d(e.target.value),b(e.target.selectionStart??e.target.value.length)},onClick:k,onKeyUp:k,onKeyDown:e=>{if(j){if("ArrowDown"===e.key){e.preventDefault(),g(e=>(e+1)%y.length);return}if("ArrowUp"===e.key){e.preventDefault(),g(e=>(e-1+y.length)%y.length);return}if("Enter"===e.key||"Tab"===e.key){e.preventDefault();let t=y[x];void 0!==t&&N(t);return}"Escape"===e.key&&(e.preventDefault(),w())}},onBlur:()=>{window.setTimeout(w,120)}}),j?(0,t.jsx)("ul",{ref:h,id:`${e}-tag-suggestions`,role:"listbox",className:"absolute left-0 right-0 top-full z-20 mt-1 max-h-48 list-none overflow-y-auto rounded-md border border-panel-border bg-panel p-1.5 shadow-md",children:y.map((e,r)=>(0,t.jsx)("li",{role:"option","aria-selected":r===x,children:(0,t.jsx)("button",{type:"button",className:`block w-full cursor-pointer rounded-[0.45rem] border-0 bg-transparent px-2.5 py-1.5 text-left font-inherit text-[0.85rem] text-inherit hover:bg-surface-hover ${r===x?"bg-surface-hover":""}`,onMouseDown:t=>{t.preventDefault(),N(e)},children:n(e)})},e))}):null]})}],14260)},77352,e=>{"use strict";var t=e.i(54710),r=e.i(42800),n=e.i(75404);e.s(["SettingsPageLayout",0,function({breadcrumb:e,title:s,description:a,children:o}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.TrackerTopbar,{breadcrumb:e}),(0,t.jsxs)("main",{className:"mx-auto grid w-full max-w-[1120px] grid-cols-[minmax(12rem,16rem)_minmax(0,1fr)] gap-4 px-4 pb-10 pt-5 sm:gap-6 sm:px-5 sm:pt-6 max-[860px]:grid-cols-1",children:[(0,t.jsxs)("aside",{className:"flex flex-col gap-2",children:[(0,t.jsx)("h2",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Settings"}),(0,t.jsx)(r.SettingsNav,{})]}),(0,t.jsxs)("section",{className:"flex min-w-0 flex-col gap-4",children:[(0,t.jsxs)("header",{className:"flex flex-col gap-1",children:[(0,t.jsx)("h1",{className:"m-0 text-[1.35rem] font-[650] tracking-tight",children:s}),void 0!==a?(0,t.jsx)("p",{className:"m-0 text-[0.9rem] leading-relaxed text-muted",children:a}):null]}),o]})]})]})}])},99860,e=>{"use strict";var t=e.i(54710),r=e.i(29158),n=e.i(14260),s=e.i(27850),a=e.i(77352),o=e.i(26740);e.s(["PomodoroSettingsView",0,function({known_tags:e}){let[l,i]=(0,r.useState)(o.POMODORO_DEFAULT_SETTINGS),[u,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{try{let e=window.localStorage.getItem(o.POMODORO_STORAGE_KEY);if(null!==e){let t=JSON.parse(e).settings;void 0!==t&&i({work_minutes:"number"==typeof t.work_minutes&&Number.isFinite(t.work_minutes)&&t.work_minutes>0?Math.round(t.work_minutes):o.POMODORO_DEFAULT_SETTINGS.work_minutes,short_break_minutes:"number"==typeof t.short_break_minutes&&Number.isFinite(t.short_break_minutes)&&t.short_break_minutes>0?Math.round(t.short_break_minutes):o.POMODORO_DEFAULT_SETTINGS.short_break_minutes,long_break_minutes:"number"==typeof t.long_break_minutes&&Number.isFinite(t.long_break_minutes)&&t.long_break_minutes>0?Math.round(t.long_break_minutes):o.POMODORO_DEFAULT_SETTINGS.long_break_minutes,rounds_before_long_break:"number"==typeof t.rounds_before_long_break&&Number.isFinite(t.rounds_before_long_break)&&t.rounds_before_long_break>0?Math.round(t.rounds_before_long_break):o.POMODORO_DEFAULT_SETTINGS.rounds_before_long_break,auto_start_next_phase:"boolean"==typeof t.auto_start_next_phase?t.auto_start_next_phase:o.POMODORO_DEFAULT_SETTINGS.auto_start_next_phase,check_in_on_work_start:"boolean"==typeof t.check_in_on_work_start?t.check_in_on_work_start:o.POMODORO_DEFAULT_SETTINGS.check_in_on_work_start,work_entry_description:"string"==typeof t.work_entry_description?t.work_entry_description:o.POMODORO_DEFAULT_SETTINGS.work_entry_description})}}catch{}c(!0)},[]),(0,r.useEffect)(()=>{if(u)try{let e=window.localStorage.getItem(o.POMODORO_STORAGE_KEY),t=null===e?{}:JSON.parse(e),r={settings:l,state:t.state??o.POMODORO_DEFAULT_STATE};window.localStorage.setItem(o.POMODORO_STORAGE_KEY,JSON.stringify(r)),(0,s.schedule_ui_preferences_cloud_sync)()}catch{}},[u,l]),(0,t.jsx)(a.SettingsPageLayout,{breadcrumb:{current:"Pomodoro",parent:{label:"Settings",href:"/settings"}},title:"Pomodoro",description:"Focus and break durations, auto-start behavior, and tracker check-in defaults.",children:(0,t.jsxs)("ul",{className:"m-0 grid w-full list-none grid-cols-1 gap-2 p-0 md:grid-cols-2","aria-label":"Pomodoro settings",children:[(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,t.jsxs)("label",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Work minutes"}),(0,t.jsx)("input",{type:"number",min:1,step:1,className:"rounded-md border border-panel-border bg-background px-3 py-2",value:l.work_minutes,onChange:e=>{i(t=>({...t,work_minutes:Math.max(1,Number.parseInt(e.target.value,10)||1)}))}})]})}),(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,t.jsxs)("label",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Short break minutes"}),(0,t.jsx)("input",{type:"number",min:1,step:1,className:"rounded-md border border-panel-border bg-background px-3 py-2",value:l.short_break_minutes,onChange:e=>{i(t=>({...t,short_break_minutes:Math.max(1,Number.parseInt(e.target.value,10)||1)}))}})]})}),(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,t.jsxs)("label",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Long break minutes"}),(0,t.jsx)("input",{type:"number",min:1,step:1,className:"rounded-md border border-panel-border bg-background px-3 py-2",value:l.long_break_minutes,onChange:e=>{i(t=>({...t,long_break_minutes:Math.max(1,Number.parseInt(e.target.value,10)||1)}))}})]})}),(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,t.jsxs)("label",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Rounds before long break"}),(0,t.jsx)("input",{type:"number",min:1,step:1,className:"rounded-md border border-panel-border bg-background px-3 py-2",value:l.rounds_before_long_break,onChange:e=>{i(t=>({...t,rounds_before_long_break:Math.max(1,Number.parseInt(e.target.value,10)||1)}))}})]})}),(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm md:col-span-2",children:(0,t.jsxs)("label",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("input",{type:"checkbox",className:"mt-0.5 shrink-0",checked:l.auto_start_next_phase,onChange:e=>{i(t=>({...t,auto_start_next_phase:e.target.checked}))}}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Auto-start next phase"}),(0,t.jsx)("span",{className:"text-[0.8rem] leading-snug text-muted",children:"Continue automatically when a focus or break phase ends."})]})]})}),(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm md:col-span-2",children:(0,t.jsxs)("label",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("input",{type:"checkbox",className:"mt-0.5 shrink-0",checked:l.check_in_on_work_start,onChange:e=>{i(t=>({...t,check_in_on_work_start:e.target.checked}))}}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Start tracker entry on focus start"}),(0,t.jsx)("span",{className:"text-[0.8rem] leading-snug text-muted",children:"When you start a focus phase, create a new entry on your active sheet."})]})]})}),(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm md:col-span-2",children:(0,t.jsxs)("label",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Focus entry description (supports @tags)"}),(0,t.jsx)(n.TagAutocompleteInput,{id:"pomodoro-settings-work-entry-description",value:l.work_entry_description,known_tags:e,placeholder:"Pomodoro focus @pomodoro @focus",on_change:e=>{i(t=>({...t,work_entry_description:e}))}}),(0,t.jsx)("span",{className:"text-[0.8rem] leading-snug text-muted",children:"Used when a focus phase creates a new tracker entry on the active sheet."})]})})]})})}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42552,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let o=e.r(44066)._(e.r(78677)),a=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",s=e.pathname||"",i=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==u?(u="//"+(u||""),s&&"/"!==s[0]&&(s="/"+s)):u||(u=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),s=s.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${s}${c}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},37879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=e.r(29158);function s(e,t){let r=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(r.current=o(e,n)),t&&(s.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},59246,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(31047),s=e.r(63334);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,s.hasBasePath)(r.pathname)}catch(e){return!1}}},10364,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},45958,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return x}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let o=e.r(44066),a=e.r(54710),i=o._(e.r(29158)),l=e.r(42552),u=e.r(61717),c=e.r(37879),d=e.r(31047),m=e.r(20321);e.r(90503);let h=e.r(38520),f=e.r(19947),p=e.r(59246),_=e.r(99046);function b(t){var r,n;let s,o,b,[x,w]=(0,i.useOptimistic)(f.IDLE_LINK_STATUS),k=(0,i.useRef)(null),{href:y,as:v,children:j,prefetch:N=null,passHref:S,replace:O,shallow:E,scroll:T,onClick:P,onMouseEnter:C,onTouchStart:D,legacyBehavior:R=!1,onNavigate:M,transitionTypes:L,ref:A,unstable_dynamicOnHover:I,...F}=t;s=j,R&&("string"==typeof s||"number"==typeof s)&&(s=(0,a.jsx)("a",{children:s}));let $=i.default.useContext(u.AppRouterContext),U=!1!==N,K=!1!==N?null===(n=N)||"auto"===n?_.FetchStrategy.PPR:_.FetchStrategy.Full:_.FetchStrategy.PPR,B="string"==typeof(r=v||y)?r:(0,l.formatUrl)(r);if(R){if(s?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(s)}let G=R?o&&"object"==typeof o&&o.ref:A,W=i.default.useCallback(e=>(null!==$&&(k.current=(0,f.mountLinkInstance)(e,B,$,K,U,w)),()=>{k.current&&((0,f.unmountLinkForCurrentNavigation)(k.current),k.current=null),(0,f.unmountPrefetchableInstance)(e)}),[U,B,$,K,w]),z={ref:(0,c.useMergedRef)(W,G),onClick(t){R||"function"!=typeof P||P(t),R&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!$||t.defaultPrevented||function(t,r,n,s,o,a,l){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){s&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(91087);i.default.startTransition(()=>{d(r,s?"replace":"push",!1===o?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,l)})}}(t,B,k,O,T,M,L)},onMouseEnter(e){R||"function"!=typeof C||C(e),R&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),$&&U&&(0,f.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){R||"function"!=typeof D||D(e),R&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),$&&U&&(0,f.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(B)?z.href=B:R&&!S&&("a"!==o.type||"href"in o.props)||(z.href=(0,m.addBasePath)(B)),b=R?i.default.cloneElement(o,z):(0,a.jsx)("a",{...F,...z,children:s}),(0,a.jsx)(g.Provider,{value:x,children:b})}e.r(10364);let g=(0,i.createContext)(f.IDLE_LINK_STATUS),x=()=>(0,i.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},29539,e=>{"use strict";var t=e.i(54710);e.s(["SettingsIcon",0,function(){return(0,t.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,t.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})}])},77882,e=>{"use strict";var t=e.i(71060),r=e.i(29158),n=e.i(83105),s=e.i(32417),o=e.i(46549);e.s(["use_supabase_auth_session",0,function(){let e=(0,t.useRouter)(),[a,i]=(0,r.useState)(null),[l,u]=(0,r.useState)(!1),c=(0,s.is_supabase_configured)();return(0,r.useEffect)(()=>{if(!c)return;let e=(0,n.create_browser_supabase_client)();e.auth.getSession().then(({data:{session:e}})=>{i(e?.user.email??null)}).catch(()=>{i(null)});let{data:{subscription:t}}=e.auth.onAuthStateChange((e,t)=>{i(t?.user.email??null)});return()=>{t.unsubscribe()}},[c]),{is_configured:c,email:a,is_pending:l,sign_out:(0,r.useCallback)(async()=>{u(!0);try{await fetch("/api/auth/signout",{method:"POST"});let t=(0,n.create_browser_supabase_client)();await t.auth.signOut().catch(()=>{}),(0,o.notify_settings_saved)("Signed out"),e.refresh()}finally{u(!1)}},[e])}}])},45200,648,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060);let s=[{href:"/",label:"Tracker",match:e=>"/"===e},{href:"/today",label:"Today",match:e=>e.startsWith("/today")},{href:"/pomodoro",label:"Pomodoro",match:e=>e.startsWith("/pomodoro")},{href:"/sheets",label:"Sheets",match:e=>e.startsWith("/sheets")},{href:"/reporting",label:"Reporting",match:e=>e.startsWith("/reporting")}];function o(){return(0,t.jsx)("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,t.jsx)("path",{d:"M17.5 19a4.5 4.5 0 0 0 0-9 6.5 6.5 0 0 0-12.6 1.5A4 4 0 0 0 6 19h11.5z"})})}e.s(["TrackerNavLinks",0,function(){let e=(0,n.usePathname)()??"/";return(0,t.jsx)("div",{className:"scrollbar-none flex min-w-0 flex-1 items-center gap-1 overflow-x-auto whitespace-nowrap py-0.5 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden min-[980px]:overflow-visible",children:s.map(n=>{let s=n.match(e);return(0,t.jsx)(r.default,{className:`rounded-full px-3 py-1.5 text-[0.85rem] font-semibold no-underline transition-colors duration-150 shrink-0 ${s?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,href:n.href,"aria-current":s?"page":void 0,children:n.label},n.href)})})}],45200);var a=e.i(77882);e.s(["TopbarCloudStatus",0,function(){let{email:e,is_configured:r}=(0,a.use_supabase_auth_session)();return r&&null!==e?(0,t.jsxs)("div",{className:"group relative flex items-center",children:[(0,t.jsx)("span",{className:"inline-flex h-8 w-8 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-accent","aria-label":`Cloud sync active for ${e}`,role:"img",children:(0,t.jsx)(o,{})}),(0,t.jsx)("div",{role:"tooltip",className:"pointer-events-none absolute right-0 top-full z-50 mt-1.5 w-max max-w-[min(18rem,calc(100vw-2.5rem))] opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100",children:(0,t.jsxs)("div",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-1.5 shadow-md",children:[(0,t.jsx)("p",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.04em] text-muted",children:"Signed in as"}),(0,t.jsx)("p",{className:"m-0 max-w-[16rem] truncate text-[0.82rem] font-medium",title:e,children:e})]})})]}):null}],648)},37399,e=>{"use strict";var t=e.i(54710);e.s(["HamburgerIcon",0,function(){return(0,t.jsxs)("svg",{className:"block h-4 w-4 text-muted",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M4 7h16"}),(0,t.jsx)("path",{d:"M4 12h16"}),(0,t.jsx)("path",{d:"M4 17h16"})]})}])},90463,e=>{"use strict";e.s(["build_auth_page_href",0,function(e,t){let r="sign_in"===e?"/login":"/register",n=t.trim();return 0===n.length||"/"===n?r:`${r}?next=${encodeURIComponent(n)}`}])},2268,76003,38240,e=>{"use strict";var t=e.i(34869),r=e.i(92629);let n=(0,t.create_ui_preference_store)({storage_key:r.CLOUD_SYNC_ENABLED_STORAGE_KEY,default_value:r.CLOUD_SYNC_ENABLED_DEFAULT,is_valid:e=>"true"===e||"false"===e});function s(){return"u"<typeof document?"dark":"light"===document.documentElement.getAttribute("data-theme")?"light":"dark"}e.s(["cloud_sync_enabled_preference",0,n],2268),e.s(["get_theme_server_snapshot",0,function(){return"dark"},"get_theme_snapshot",0,function(){return s()}],76003);var o=e.i(17798),a=e.i(46549),i=e.i(10464),l=e.i(35434),u=e.i(61834),c=e.i(81553);e.s(["toggle_theme",0,function(){let e="dark"===s()?"light":"dark";(0,o.apply_theme)(e),(0,c.write_stored_theme)(e),i.theme_mode_preference.write(e),(0,u.write_document_preference_cookies)({theme_mode:e,theme:e}),i.theme_mode_preference.notify(),(0,l.notify_theme_subscribers)(),(0,a.notify_settings_saved)()}],38240)},25204,e=>{"use strict";var t=e.i(29158),r=e.i(72074);e.s(["use_escape_to_cancel",0,function(e,n=!0){let s=(0,t.useRef)(e);s.current=e,(0,t.useEffect)(()=>{if(!n)return;let e=e=>{"Escape"!==e.key||(0,r.is_modal_dialog_open)()||(e.preventDefault(),s.current())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[n])}])},1976,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060),s=e.i(29158),o=e.i(37399),a=e.i(90463),i=e.i(46549),l=e.i(2268),u=e.i(28274),c=e.i(76003),d=e.i(35434),m=e.i(38240),h=e.i(25204),f=e.i(77882);let p="block w-full cursor-pointer rounded-[0.45rem] border-0 bg-transparent px-2.5 py-1.5 text-left font-inherit text-[0.85rem] text-inherit no-underline hover:bg-surface-hover disabled:cursor-not-allowed disabled:opacity-55";e.s(["TopbarOverflowMenu",0,function(){let e=(0,n.useRouter)(),_=(0,n.usePathname)()??"/",b=(0,s.useSyncExternalStore)(d.subscribe_theme,c.get_theme_snapshot,c.get_theme_server_snapshot),g=(0,s.useSyncExternalStore)(l.cloud_sync_enabled_preference.subscribe,l.cloud_sync_enabled_preference.get_snapshot,l.cloud_sync_enabled_preference.get_server_snapshot),{email:x,is_configured:w,is_pending:k,sign_out:y}=(0,f.use_supabase_auth_session)(),[v,j]=(0,s.useState)(!1),N=(0,s.useRef)(null);(0,s.useEffect)(()=>{if(!v)return;let e=e=>{null===N.current||N.current.contains(e.target)||j(!1)};return document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[v]);let S=()=>{j(!1)};return(0,h.use_escape_to_cancel)(S,v),(0,t.jsxs)("div",{className:"relative shrink-0",ref:N,children:[(0,t.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":"Open menu","aria-expanded":v,"aria-haspopup":"menu",onClick:()=>j(e=>!e),children:(0,t.jsx)(o.HamburgerIcon,{})}),v?(0,t.jsxs)("ul",{className:"absolute right-0 top-full z-50 mt-1.5 min-w-56 list-none rounded-md border border-panel-border bg-panel p-1.5 shadow-md",role:"menu",children:[w&&null!==x?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("p",{className:"m-0 truncate px-2.5 py-1 text-[0.72rem] uppercase tracking-[0.04em] text-muted",title:x,children:x})}):null,(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/tags",className:p,role:"menuitem",onClick:S,children:"Manage tags"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/pomodoro",className:p,role:"menuitem",onClick:S,children:"Pomodoro"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/cloud-sync",className:p,role:"menuitem",onClick:S,children:"Sync settings"})}),w?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:p,role:"menuitemcheckbox","aria-checked":"true"===g,onClick:()=>{let e="true"===g?"false":"true";l.cloud_sync_enabled_preference.write(e),l.cloud_sync_enabled_preference.notify(),(0,i.notify_settings_saved)("true"===e?"Cloud sync enabled":"Cloud sync disabled"),"true"===e&&null!==x&&(0,u.run_tracker_db_cloud_sync)({merge_on_load:!0}).catch(()=>{})},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"true"===g?"Pause cloud sync":"Resume cloud sync"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"true"===g?"On":"Off"})]})})}):null,(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:p,role:"menuitem",onClick:()=>{S(),(0,m.toggle_theme)()},suppressHydrationWarning:!0,children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsxs)("span",{children:["dark"===b?"Dark":"Light"," theme"]}),(0,t.jsx)("span",{"aria-hidden":"true",children:"dark"===b?"☾":"☀"})]})})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:p,role:"menuitem",onClick:()=>{S(),document.dispatchEvent(new KeyboardEvent("keydown",{key:"?",shiftKey:!0,bubbles:!0}))},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"Keyboard shortcuts"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"(?)"})]})})}),w?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),null===x?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:p,role:"menuitem",onClick:()=>{S(),e.push((0,a.build_auth_page_href)("sign_in",_))},children:"Sign in"})}):(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:`${p} text-danger`,role:"menuitem",disabled:k,onClick:()=>{S(),y()},children:k?"Signing out…":"Sign out"})})]}):null]}):null]})}])},75404,e=>{"use strict";var t=e.i(54710),r=e.i(45200),n=e.i(648),s=e.i(1976),o=e.i(45958),a=e.i(71060),i=e.i(29539);function l(){let e=((0,a.usePathname)()??"/").startsWith("/settings");return(0,t.jsx)(o.default,{href:"/settings",className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-muted no-underline hover:bg-surface-hover hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent${e?" border-accent-border text-foreground":""}`,"aria-label":"Settings","aria-current":e?"page":void 0,children:(0,t.jsx)(i.SettingsIcon,{})})}function u({current:e,parent:r}){return(0,t.jsx)("nav",{"aria-label":"Breadcrumb",className:"min-w-0 text-left",children:(0,t.jsxs)("ol",{className:"m-0 flex min-w-0 list-none flex-wrap items-center gap-1.5 p-0 text-[0.85rem]",children:[(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{className:"text-muted no-underline hover:text-foreground",href:"/",children:"Tracker"})}),void 0!==r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{children:void 0!==r.href?(0,t.jsx)(o.default,{className:"max-w-44 truncate text-muted no-underline hover:text-foreground sm:max-w-none",href:r.href,children:r.label}):(0,t.jsx)("span",{className:"max-w-44 truncate text-muted sm:max-w-none",children:r.label})})]}):null,(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{className:"max-w-44 truncate font-medium text-foreground sm:max-w-none","aria-current":"page",children:e})]})})}e.s(["TrackerTopbar",0,function({breadcrumb:e}={}){return(0,t.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,t.jsxs)("div",{className:"mx-auto flex max-w-[1120px] min-h-13 flex-wrap items-center gap-x-4 gap-y-2 px-4 py-2 sm:px-5",children:[(0,t.jsx)("span",{className:"inline-flex min-w-0 shrink 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!==e?(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsx)(u,{current:e.current,parent:e.parent})}):null,(0,t.jsxs)("div",{className:"flex w-full items-center justify-between gap-2 min-[980px]:ml-auto min-[980px]:w-auto min-[980px]:justify-end",children:[(0,t.jsx)(r.TrackerNavLinks,{}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2",children:[(0,t.jsx)(n.TopbarCloudStatus,{}),(0,t.jsx)(l,{}),(0,t.jsx)(s.TopbarOverflowMenu,{})]})]})]})})}],75404)},52405,e=>{"use strict";e.s(["get_input_class_name",0,function(e="default"){let t="box-border max-w-full min-w-0 w-full rounded-[0.65rem] border border-panel-border bg-input-bg px-3 py-2.5 font-inherit text-inherit transition-[background-color,border-color] duration-200 focus:border-input-focus-border focus:outline-none";return"compact"===e?`${t} px-2.5 py-2`:t}])},31113,e=>{"use strict";e.s(["normalize_stored_tag",0,function(e){let t=e.trim().replace(/^@+/,"");if(0===t.length)throw Error("Tag name must not be empty.");if(!/^\w+$/.test(t))throw Error("Tags may only contain letters, numbers, and underscores.");return`@${t}`}])},14260,18774,e=>{"use strict";var t=e.i(54710),r=e.i(29158);function n(e){return e.startsWith("@")?e:`@${e}`}e.s(["format_display_tag",0,n],18774);var s=e.i(52405),o=e.i(31113);e.s(["TagAutocompleteInput",0,function({id:e,value:a,known_tags:i,placeholder:l,disabled:u=!1,autoFocus:c=!1,on_change:d}){let m=(0,r.useRef)(null),h=(0,r.useRef)(null),f=(0,r.useRef)(null),[p,_]=(0,r.useState)(0),[b,g]=(0,r.useState)(0),x=function(e,t){let r=e.slice(0,t),n=r.lastIndexOf("@");if(-1===n)return null;let s=r.slice(n+1);return/\s/.test(s)?null:{query:s,start_index:n,end_index:t}}(a,p),w=null===x?[]:function(e,t,r=10){let n=t.toLowerCase();return e.filter(e=>{let t=e.replace(/^@/,"").toLowerCase();return 0===n.length||t.startsWith(n)}).slice(0,r)}(i,x.query),k=null!==x&&function(e,t){if(!/^\w+$/.test(e))return!1;let r=e.toLowerCase();return t.some(e=>{try{return(0,o.normalize_stored_tag)(e).slice(1).toLowerCase()===r}catch{return!1}})}(x.query,i),y=null!==x&&w.length>0&&!k&&!u;(0,r.useLayoutEffect)(()=>{null!==f.current&&null!==m.current&&(m.current.setSelectionRange(f.current,f.current),_(f.current),f.current=null)},[a]),(0,r.useEffect)(()=>{g(0)},[a,p,w.length]);let v=()=>{_(m.current?.selectionStart??a.length)},j=()=>{g(0)},N=e=>{let t,r,s;if(null===x)return;let{next_text:o,next_cursor:i}=(t=n(e),r=a.slice(0,x.start_index),s=a.slice(x.end_index),{next_text:`${r}${t}${s}`,next_cursor:r.length+t.length});f.current=i,d(o),j()};return(0,t.jsxs)("div",{className:"relative min-w-0",children:[(0,t.jsx)("input",{ref:m,id:e,type:"text",className:(0,s.get_input_class_name)(),value:a,placeholder:l,disabled:u,autoFocus:c,autoComplete:"off","aria-autocomplete":"list","aria-expanded":y,"aria-controls":y?`${e}-tag-suggestions`:void 0,onChange:e=>{d(e.target.value),_(e.target.selectionStart??e.target.value.length)},onClick:v,onKeyUp:v,onKeyDown:e=>{if(y){if("ArrowDown"===e.key){e.preventDefault(),g(e=>(e+1)%w.length);return}if("ArrowUp"===e.key){e.preventDefault(),g(e=>(e-1+w.length)%w.length);return}if("Enter"===e.key||"Tab"===e.key){e.preventDefault();let t=w[b];void 0!==t&&N(t);return}"Escape"===e.key&&(e.preventDefault(),j())}},onBlur:()=>{window.setTimeout(j,120)}}),y?(0,t.jsx)("ul",{ref:h,id:`${e}-tag-suggestions`,role:"listbox",className:"absolute left-0 right-0 top-full z-20 mt-1 max-h-48 list-none overflow-y-auto rounded-md border border-panel-border bg-panel p-1.5 shadow-md",children:w.map((e,r)=>(0,t.jsx)("li",{role:"option","aria-selected":r===b,children:(0,t.jsx)("button",{type:"button",className:`block w-full cursor-pointer rounded-[0.45rem] border-0 bg-transparent px-2.5 py-1.5 text-left font-inherit text-[0.85rem] text-inherit hover:bg-surface-hover ${r===b?"bg-surface-hover":""}`,onMouseDown:t=>{t.preventDefault(),N(e)},children:n(e)})},e))}):null]})}],14260)},15526,e=>{"use strict";let t="super-time-tracker-pomodoro-active-entry";e.s(["clear_pomodoro_task_entry_marker",0,function(){try{window.localStorage.removeItem(t)}catch{}},"is_pomodoro_task_entry",0,function(e){let r=(()=>{try{let e=window.localStorage.getItem(t);if(null===e)return null;try{let t=JSON.parse(e);if("string"==typeof t.sheetName&&t.sheetName.length>0&&"number"==typeof t.entryId&&Number.isInteger(t.entryId))return{sheetName:t.sheetName,entryId:t.entryId}}catch{}return null}catch{return null}})();return null!==r&&r.sheetName===e.sheetName&&r.entryId===e.id},"mark_pomodoro_task_entry",0,function(e){try{let r={sheetName:e.sheetName,entryId:e.id};window.localStorage.setItem(t,JSON.stringify(r))}catch{}}])},7668,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(29158),s=e.i(29539),o=e.i(14260),a=e.i(75404),i=e.i(52663),l=e.i(15526),u=e.i(72550),c=e.i(26740);e.s(["PomodoroView",0,function({known_tags:e}){let[d,m]=(0,n.useState)(c.POMODORO_DEFAULT_SETTINGS),[h,f]=(0,n.useState)(c.POMODORO_DEFAULT_STATE),[p,_]=(0,n.useState)(()=>Date.now()),[b,g]=(0,n.useState)(!1),[x,w]=(0,n.useState)(null),[k,y]=(0,n.useState)(!1),v=(0,n.useRef)(null),j=(0,n.useCallback)((e,t)=>{if("Notification"in window){if("granted"===window.Notification.permission)return void new window.Notification(e,{body:t});"default"===window.Notification.permission&&window.Notification.requestPermission().then(r=>{"granted"===r&&new window.Notification(e,{body:t})})}},[]);(0,n.useEffect)(()=>{let e=window.setTimeout(()=>{try{let e=window.localStorage.getItem(c.POMODORO_STORAGE_KEY);if(null!==e){let t=JSON.parse(e),r=t.settings,n=t.state;if(void 0!==r&&m({work_minutes:"number"==typeof r.work_minutes&&Number.isFinite(r.work_minutes)&&r.work_minutes>0?Math.round(r.work_minutes):c.POMODORO_DEFAULT_SETTINGS.work_minutes,short_break_minutes:"number"==typeof r.short_break_minutes&&Number.isFinite(r.short_break_minutes)&&r.short_break_minutes>0?Math.round(r.short_break_minutes):c.POMODORO_DEFAULT_SETTINGS.short_break_minutes,long_break_minutes:"number"==typeof r.long_break_minutes&&Number.isFinite(r.long_break_minutes)&&r.long_break_minutes>0?Math.round(r.long_break_minutes):c.POMODORO_DEFAULT_SETTINGS.long_break_minutes,rounds_before_long_break:"number"==typeof r.rounds_before_long_break&&Number.isFinite(r.rounds_before_long_break)&&r.rounds_before_long_break>0?Math.round(r.rounds_before_long_break):c.POMODORO_DEFAULT_SETTINGS.rounds_before_long_break,auto_start_next_phase:"boolean"==typeof r.auto_start_next_phase?r.auto_start_next_phase:c.POMODORO_DEFAULT_SETTINGS.auto_start_next_phase,check_in_on_work_start:"boolean"==typeof r.check_in_on_work_start?r.check_in_on_work_start:c.POMODORO_DEFAULT_SETTINGS.check_in_on_work_start,work_entry_description:"string"==typeof r.work_entry_description?r.work_entry_description:c.POMODORO_DEFAULT_SETTINGS.work_entry_description}),void 0!==n){let e=n.phase,t=n.status;f({phase:"short_break"===e||"long_break"===e||"work"===e?e:c.POMODORO_DEFAULT_STATE.phase,status:"idle"===t||"paused"===t||"running"===t?t:c.POMODORO_DEFAULT_STATE.status,completed_work_sessions:"number"==typeof n.completed_work_sessions&&Number.isFinite(n.completed_work_sessions)&&n.completed_work_sessions>=0?Math.round(n.completed_work_sessions):c.POMODORO_DEFAULT_STATE.completed_work_sessions,deadline_at_ms:"number"==typeof n.deadline_at_ms&&Number.isFinite(n.deadline_at_ms)?n.deadline_at_ms:null,paused_remaining_ms:"number"==typeof n.paused_remaining_ms&&Number.isFinite(n.paused_remaining_ms)&&n.paused_remaining_ms>=0?Math.round(n.paused_remaining_ms):null})}}}catch{}g(!0)},0);return()=>{window.clearTimeout(e)}},[]),(0,n.useEffect)(()=>{if(b)try{window.localStorage.setItem(c.POMODORO_STORAGE_KEY,JSON.stringify({settings:d,state:h}))}catch{}},[b,d,h]),(0,n.useEffect)(()=>{if("running"!==h.status)return;let e=window.setInterval(()=>{_(Date.now())},1e3);return()=>{window.clearInterval(e)}},[h.status,h.deadline_at_ms]);let N=(0,n.useCallback)(e=>{switch(e){case"work":return 6e4*d.work_minutes;case"short_break":return 6e4*d.short_break_minutes;case"long_break":return 6e4*d.long_break_minutes}},[d.long_break_minutes,d.short_break_minutes,d.work_minutes]),S=async()=>{let e=await fetch("/api/state",{method:"GET",cache:"no-store"});if(!e.ok)throw Error((await e.json().catch(()=>({}))).error??"Failed to read tracker state");let t=await e.json().catch(()=>null);return t?.runningEntry!==null&&t?.runningEntry!==void 0},O=async()=>{try{y(await S())}catch{}},E=async()=>{let e=d.work_entry_description.trim();if(0===e.length)return;if(await S())return void y(!0);let t=await fetch("/api/in",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({description:e,sheetName:function(){try{let e=window.localStorage.getItem(u.ACTIVE_SHEET_STORAGE_KEY)?.trim()??"";return e.length>0?e:null}catch{return null}}()??void 0})});if(t.ok){let e=await t.json().catch(()=>null),r=e?.activeEntry;null!=r&&(0,l.mark_pomodoro_task_entry)({id:r.id,sheetName:r.sheetName}),y(!0);return}throw Error((await t.json().catch(()=>({}))).error??"Failed to start tracker entry for Pomodoro")},T=async()=>{let e=await fetch("/api/out",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({})});if(e.ok){(0,l.clear_pomodoro_task_entry_marker)(),y(!1);return}let t=(await e.json().catch(()=>({}))).error??"Failed to check out active tracker entry";if(!t.includes("No active entry"))throw Error(t)},P=async()=>{w(null);try{let e=await fetch("/api/state",{method:"GET",cache:"no-store"});if(!e.ok){let t=await e.json().catch(()=>({}));throw Error(t.error??"Failed to read tracker state")}let t=await e.json().catch(()=>null),r=t?.runningEntry;if(r?.start===void 0)throw Error("No active task found to start from");let n=Date.parse(r.start);if(!Number.isFinite(n))throw Error("Active task start time is invalid");let s=Math.max(0,Date.now()-n),o=N(h.phase),a=Math.max(0,o-s);f(e=>({...e,status:"running",deadline_at_ms:Date.now()+a,paused_remaining_ms:null}))}catch(e){w(e instanceof Error?e.message:String(e))}},C=(0,n.useCallback)(()=>{let e="work"===h.phase,t=h.completed_work_sessions+1;if(f(e=>{let t="work"===e.phase?e.completed_work_sessions+1:e.completed_work_sessions,r="work"===e.phase?t%d.rounds_before_long_break==0?"long_break":"short_break":"work",n=N(r);return d.auto_start_next_phase?{phase:r,status:"running",completed_work_sessions:t,deadline_at_ms:Date.now()+n,paused_remaining_ms:null}:{phase:r,status:"idle",completed_work_sessions:t,deadline_at_ms:null,paused_remaining_ms:null}}),e&&j("Pomodoro focus session complete",`Completed focus session ${t}.`),d.auto_start_next_phase){let e="work"===h.phase?h.completed_work_sessions%d.rounds_before_long_break==d.rounds_before_long_break-1?"long break":"short break":"focus";j("work"===h.phase?"Pomodoro break started":"Pomodoro focus started",`Auto-started ${e} timer.`)}},[N,j,h.completed_work_sessions,h.phase,d.auto_start_next_phase,d.rounds_before_long_break]);(0,n.useEffect)(()=>{O()},[]),(0,n.useEffect)(()=>{let e=window.setInterval(()=>{O()},5e3);return()=>{window.clearInterval(e)}},[]),(0,n.useEffect)(()=>{if("running"!==h.status||null===h.deadline_at_ms||p<h.deadline_at_ms)return;let e=window.setTimeout(()=>{C()},0);return()=>{window.clearTimeout(e)}},[C,p,h.deadline_at_ms,h.status]);let D=N(h.phase),R="running"===h.status&&null!==h.deadline_at_ms?Math.max(0,h.deadline_at_ms-p):"paused"===h.status?h.paused_remaining_ms??D:D,M=Math.min(100,Math.max(0,(D-R)/D*100)),L=`${Math.floor(R/6e4).toString().padStart(2,"0")}:${Math.floor(R%6e4/1e3).toString().padStart(2,"0")}`,A={work:"Focus",short_break:"Short break",long_break:"Long break"}[h.phase],I="work"===h.phase?h.completed_work_sessions%d.rounds_before_long_break==d.rounds_before_long_break-1?"long_break":"short_break":"work",F="work"===h.phase?`${h.completed_work_sessions+1} / ${d.rounds_before_long_break} focus rounds`:"short_break"===h.phase?"Recover before the next focus block.":"Take the long break before the next round.",$="running"===h.status?"Pause":"paused"===h.status?"Resume":"Start",U=`${L} \xb7 ${A} \xb7 Pomodoro`;return(0,n.useEffect)(()=>{if("u">typeof document)return null===v.current&&(v.current=document.title),()=>{null!==v.current&&(document.title=v.current)}},[]),(0,n.useEffect)(()=>{"u">typeof document&&(document.title=U)},[U]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.TrackerTopbar,{breadcrumb:{current:"Pomodoro"}}),(0,t.jsxs)("main",{className:"mx-auto flex w-full max-w-2xl flex-col gap-6 px-5 pb-12 pt-6",children:[(0,t.jsxs)("header",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h1",{className:"m-0 text-[1.5rem] font-[650] tracking-tight",children:"Pomodoro"}),(0,t.jsx)("p",{className:"m-0 mt-2 text-[0.9rem] leading-relaxed text-muted",children:"Keep a simple focus cycle running alongside your time tracker."})]}),(0,t.jsx)(r.default,{href:"/settings/pomodoro",className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-muted no-underline hover:bg-surface-hover hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent","aria-label":"Pomodoro settings",title:"Pomodoro settings",children:(0,t.jsx)(s.SettingsIcon,{})})]}),(0,t.jsx)("section",{className:"rounded-md border border-panel-border bg-panel p-5 shadow-sm",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Current phase"}),(0,t.jsx)("p",{className:"m-0 mt-1 text-[1.3rem] font-semibold",children:A}),(0,t.jsx)("p",{className:"m-0 mt-1 text-[0.88rem] leading-relaxed text-muted",children:F})]}),(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsx)("p",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Next phase"}),(0,t.jsx)("p",{className:"m-0 mt-1 text-[0.95rem] font-semibold text-accent",children:{work:"Focus",short_break:"Short break",long_break:"Long break"}[I]}),(0,t.jsx)("p",{className:"m-0 mt-1 text-[0.84rem] text-muted",children:d.auto_start_next_phase?"Auto-start enabled":"Waiting for you"})]})]}),(0,t.jsxs)("div",{className:"rounded-md border border-panel-border bg-background px-4 py-5 text-center",children:[(0,t.jsx)("p",{className:"m-0 font-mono text-[3rem] font-semibold tracking-tight text-accent","aria-live":"polite",children:L}),(0,t.jsx)("div",{className:"mt-4 h-2 overflow-hidden rounded-full bg-surface-strong",children:(0,t.jsx)("div",{className:"h-full rounded-full bg-accent transition-[width] duration-200",style:{width:`${M}%`}})}),(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center justify-center gap-2 text-[0.82rem] text-muted",children:[(0,t.jsxs)("span",{children:[h.completed_work_sessions," focus sessions done"]}),(0,t.jsx)("span",{children:"•"}),(0,t.jsx)("span",{children:"running"===h.status?"Running":"paused"===h.status?"Paused":"Idle"})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)("button",{type:"button",className:(0,i.get_button_class_name)("primary"),onClick:()=>{let e,t,r;"running"===h.status?(w(null),f(e=>"running"!==e.status||null===e.deadline_at_ms?e:{...e,status:"paused",deadline_at_ms:null,paused_remaining_ms:Math.max(0,e.deadline_at_ms-Date.now())}),T().catch(e=>{w(e instanceof Error?e.message:String(e))})):(w(null),f(e=>{let t="paused"===e.status&&null!==e.paused_remaining_ms?e.paused_remaining_ms:N(e.phase);return{...e,status:"running",deadline_at_ms:Date.now()+t,paused_remaining_ms:null}}),e="paused"===h.status,t="short_break"===h.phase||"long_break"===h.phase,r=e||"running"!==h.status&&"work"===h.phase&&d.check_in_on_work_start,e||"running"===h.status||j(t?"Pomodoro break started":"Pomodoro focus started",t?"Break timer is running.":"Focus timer is running."),r&&E().catch(e=>{w(e instanceof Error?e.message:String(e))}))},children:$}),(0,t.jsx)("button",{type:"button",className:(0,i.get_button_class_name)("ghost"),onClick:C,children:"Skip phase"}),(0,t.jsx)("button",{type:"button",className:(0,i.get_button_class_name)("ghost"),onClick:()=>{f(c.POMODORO_DEFAULT_STATE),_(Date.now())},children:"Reset"}),(0,t.jsx)("button",{type:"button",className:(0,i.get_button_class_name)("ghost"),disabled:"running"===h.status,onClick:()=>{P()},children:"Start from active task start time"})]}),null!==x?(0,t.jsx)("p",{className:"m-0 text-[0.82rem] text-danger",children:x}):null,d.check_in_on_work_start&&!k?(0,t.jsx)("div",{className:"grid gap-2 rounded-md border border-panel-border bg-background p-3 md:grid-cols-2",children:(0,t.jsxs)("label",{className:"flex flex-col gap-1.5 md:col-span-2",children:[(0,t.jsx)("span",{className:"text-[0.8rem] font-semibold text-muted",children:"New entry description (supports @tags)"}),(0,t.jsx)(o.TagAutocompleteInput,{id:"pomodoro-work-entry-description",value:d.work_entry_description,known_tags:e,placeholder:"Pomodoro focus @pomodoro @focus",on_change:e=>{m(t=>({...t,work_entry_description:e}))}})]})}):null]})})]})]})}],7668)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42552,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return o}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let a=e.r(44066)._(e.r(78677)),l=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",s=e.pathname||"",i=e.hash||"",o=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),o&&"object"==typeof o&&(o=String(a.urlQueryToSearchParams(o)));let u=e.search||o&&`?${o}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),u&&"?"!==u[0]&&(u="?"+u),s=s.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${s}${u}${i}`}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},37879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=e.r(29158);function s(e,t){let r=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(r.current=a(e,n)),t&&(s.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},59246,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(31047),s=e.r(63334);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,s.hasBasePath)(r.pathname)}catch(e){return!1}}},10364,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},45958,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return _},useLinkStatus:function(){return b}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let a=e.r(44066),l=e.r(54710),i=a._(e.r(29158)),o=e.r(42552),c=e.r(61717),u=e.r(37879),d=e.r(31047),p=e.r(20321);e.r(90503);let m=e.r(38520),f=e.r(19947),h=e.r(59246),g=e.r(99046);function _(t){var r,n;let s,a,_,[b,v]=(0,i.useOptimistic)(f.IDLE_LINK_STATUS),y=(0,i.useRef)(null),{href:j,as:w,children:k,prefetch:N=null,passHref:S,replace:E,shallow:C,scroll:A,onClick:O,onMouseEnter:T,onTouchStart:P,legacyBehavior:I=!1,onNavigate:L,transitionTypes:R,ref:U,unstable_dynamicOnHover:D,...M}=t;s=k,I&&("string"==typeof s||"number"==typeof s)&&(s=(0,l.jsx)("a",{children:s}));let K=i.default.useContext(c.AppRouterContext),G=!1!==N,W=!1!==N?null===(n=N)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,$="string"==typeof(r=w||j)?r:(0,o.formatUrl)(r);if(I){if(s?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=i.default.Children.only(s)}let Y=I?a&&"object"==typeof a&&a.ref:U,B=i.default.useCallback(e=>(null!==K&&(y.current=(0,f.mountLinkInstance)(e,$,K,W,G,v)),()=>{y.current&&((0,f.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,f.unmountPrefetchableInstance)(e)}),[G,$,K,W,v]),F={ref:(0,u.useMergedRef)(B,Y),onClick(t){I||"function"!=typeof O||O(t),I&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!K||t.defaultPrevented||function(t,r,n,s,a,l,o){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){s&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(91087);i.default.startTransition(()=>{d(r,s?"replace":"push",!1===a?m.ScrollBehavior.NoScroll:m.ScrollBehavior.Default,n.current,o)})}}(t,$,y,E,A,L,R)},onMouseEnter(e){I||"function"!=typeof T||T(e),I&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),K&&G&&(0,f.onNavigationIntent)(e.currentTarget,!0===D)},onTouchStart:function(e){I||"function"!=typeof P||P(e),I&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),K&&G&&(0,f.onNavigationIntent)(e.currentTarget,!0===D)}};return(0,d.isAbsoluteUrl)($)?F.href=$:I&&!S&&("a"!==a.type||"href"in a.props)||(F.href=(0,p.addBasePath)($)),_=I?i.default.cloneElement(a,F):(0,l.jsx)("a",{...M,...F,children:s}),(0,l.jsx)(x.Provider,{value:b,children:_})}e.r(10364);let x=(0,i.createContext)(f.IDLE_LINK_STATUS),b=()=>(0,i.useContext)(x);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77882,e=>{"use strict";var t=e.i(71060),r=e.i(29158),n=e.i(83105),s=e.i(32417),a=e.i(46549);e.s(["use_supabase_auth_session",0,function(){let e=(0,t.useRouter)(),[l,i]=(0,r.useState)(null),[o,c]=(0,r.useState)(!1),u=(0,s.is_supabase_configured)();return(0,r.useEffect)(()=>{if(!u)return;let e=(0,n.create_browser_supabase_client)();e.auth.getSession().then(({data:{session:e}})=>{i(e?.user.email??null)}).catch(()=>{i(null)});let{data:{subscription:t}}=e.auth.onAuthStateChange((e,t)=>{i(t?.user.email??null)});return()=>{t.unsubscribe()}},[u]),{is_configured:u,email:l,is_pending:o,sign_out:(0,r.useCallback)(async()=>{c(!0);try{await fetch("/api/auth/signout",{method:"POST"});let t=(0,n.create_browser_supabase_client)();await t.auth.signOut().catch(()=>{}),(0,a.notify_settings_saved)("Signed out"),e.refresh()}finally{c(!1)}},[e])}}])},45200,648,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060);let s=[{href:"/",label:"Tracker",match:e=>"/"===e},{href:"/today",label:"Today",match:e=>e.startsWith("/today")},{href:"/pomodoro",label:"Pomodoro",match:e=>e.startsWith("/pomodoro")},{href:"/sheets",label:"Sheets",match:e=>e.startsWith("/sheets")},{href:"/reporting",label:"Reporting",match:e=>e.startsWith("/reporting")}];function a(){return(0,t.jsx)("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,t.jsx)("path",{d:"M17.5 19a4.5 4.5 0 0 0 0-9 6.5 6.5 0 0 0-12.6 1.5A4 4 0 0 0 6 19h11.5z"})})}e.s(["TrackerNavLinks",0,function(){let e=(0,n.usePathname)()??"/";return(0,t.jsx)("div",{className:"scrollbar-none flex min-w-0 flex-1 items-center gap-1 overflow-x-auto whitespace-nowrap py-0.5 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden min-[980px]:overflow-visible",children:s.map(n=>{let s=n.match(e);return(0,t.jsx)(r.default,{className:`rounded-full px-3 py-1.5 text-[0.85rem] font-semibold no-underline transition-colors duration-150 shrink-0 ${s?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,href:n.href,"aria-current":s?"page":void 0,children:n.label},n.href)})})}],45200);var l=e.i(77882);e.s(["TopbarCloudStatus",0,function(){let{email:e,is_configured:r}=(0,l.use_supabase_auth_session)();return r&&null!==e?(0,t.jsxs)("div",{className:"group relative flex items-center",children:[(0,t.jsx)("span",{className:"inline-flex h-8 w-8 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-accent","aria-label":`Cloud sync active for ${e}`,role:"img",children:(0,t.jsx)(a,{})}),(0,t.jsx)("div",{role:"tooltip",className:"pointer-events-none absolute right-0 top-full z-50 mt-1.5 w-max max-w-[min(18rem,calc(100vw-2.5rem))] opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100",children:(0,t.jsxs)("div",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-1.5 shadow-md",children:[(0,t.jsx)("p",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.04em] text-muted",children:"Signed in as"}),(0,t.jsx)("p",{className:"m-0 max-w-[16rem] truncate text-[0.82rem] font-medium",title:e,children:e})]})})]}):null}],648)},37399,e=>{"use strict";var t=e.i(54710);e.s(["HamburgerIcon",0,function(){return(0,t.jsxs)("svg",{className:"block h-4 w-4 text-muted",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M4 7h16"}),(0,t.jsx)("path",{d:"M4 12h16"}),(0,t.jsx)("path",{d:"M4 17h16"})]})}])},90463,e=>{"use strict";e.s(["build_auth_page_href",0,function(e,t){let r="sign_in"===e?"/login":"/register",n=t.trim();return 0===n.length||"/"===n?r:`${r}?next=${encodeURIComponent(n)}`}])},2268,76003,38240,e=>{"use strict";var t=e.i(34869),r=e.i(92629);let n=(0,t.create_ui_preference_store)({storage_key:r.CLOUD_SYNC_ENABLED_STORAGE_KEY,default_value:r.CLOUD_SYNC_ENABLED_DEFAULT,is_valid:e=>"true"===e||"false"===e});function s(){return"u"<typeof document?"dark":"light"===document.documentElement.getAttribute("data-theme")?"light":"dark"}e.s(["cloud_sync_enabled_preference",0,n],2268),e.s(["get_theme_server_snapshot",0,function(){return"dark"},"get_theme_snapshot",0,function(){return s()}],76003);var a=e.i(17798),l=e.i(46549),i=e.i(10464),o=e.i(35434),c=e.i(61834),u=e.i(81553);e.s(["toggle_theme",0,function(){let e="dark"===s()?"light":"dark";(0,a.apply_theme)(e),(0,u.write_stored_theme)(e),i.theme_mode_preference.write(e),(0,c.write_document_preference_cookies)({theme_mode:e,theme:e}),i.theme_mode_preference.notify(),(0,o.notify_theme_subscribers)(),(0,l.notify_settings_saved)()}],38240)},25204,e=>{"use strict";var t=e.i(29158),r=e.i(72074);e.s(["use_escape_to_cancel",0,function(e,n=!0){let s=(0,t.useRef)(e);s.current=e,(0,t.useEffect)(()=>{if(!n)return;let e=e=>{"Escape"!==e.key||(0,r.is_modal_dialog_open)()||(e.preventDefault(),s.current())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[n])}])},1976,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060),s=e.i(29158),a=e.i(37399),l=e.i(90463),i=e.i(46549),o=e.i(2268),c=e.i(28274),u=e.i(76003),d=e.i(35434),p=e.i(38240),m=e.i(25204),f=e.i(77882);let h="block w-full cursor-pointer rounded-[0.45rem] border-0 bg-transparent px-2.5 py-1.5 text-left font-inherit text-[0.85rem] text-inherit no-underline hover:bg-surface-hover disabled:cursor-not-allowed disabled:opacity-55";e.s(["TopbarOverflowMenu",0,function(){let e=(0,n.useRouter)(),g=(0,n.usePathname)()??"/",_=(0,s.useSyncExternalStore)(d.subscribe_theme,u.get_theme_snapshot,u.get_theme_server_snapshot),x=(0,s.useSyncExternalStore)(o.cloud_sync_enabled_preference.subscribe,o.cloud_sync_enabled_preference.get_snapshot,o.cloud_sync_enabled_preference.get_server_snapshot),{email:b,is_configured:v,is_pending:y,sign_out:j}=(0,f.use_supabase_auth_session)(),[w,k]=(0,s.useState)(!1),N=(0,s.useRef)(null);(0,s.useEffect)(()=>{if(!w)return;let e=e=>{null===N.current||N.current.contains(e.target)||k(!1)};return document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[w]);let S=()=>{k(!1)};return(0,m.use_escape_to_cancel)(S,w),(0,t.jsxs)("div",{className:"relative shrink-0",ref:N,children:[(0,t.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":"Open menu","aria-expanded":w,"aria-haspopup":"menu",onClick:()=>k(e=>!e),children:(0,t.jsx)(a.HamburgerIcon,{})}),w?(0,t.jsxs)("ul",{className:"absolute right-0 top-full z-50 mt-1.5 min-w-56 list-none rounded-md border border-panel-border bg-panel p-1.5 shadow-md",role:"menu",children:[v&&null!==b?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("p",{className:"m-0 truncate px-2.5 py-1 text-[0.72rem] uppercase tracking-[0.04em] text-muted",title:b,children:b})}):null,(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/tags",className:h,role:"menuitem",onClick:S,children:"Manage tags"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/pomodoro",className:h,role:"menuitem",onClick:S,children:"Pomodoro"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/cloud-sync",className:h,role:"menuitem",onClick:S,children:"Sync settings"})}),v?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:h,role:"menuitemcheckbox","aria-checked":"true"===x,onClick:()=>{let e="true"===x?"false":"true";o.cloud_sync_enabled_preference.write(e),o.cloud_sync_enabled_preference.notify(),(0,i.notify_settings_saved)("true"===e?"Cloud sync enabled":"Cloud sync disabled"),"true"===e&&null!==b&&(0,c.run_tracker_db_cloud_sync)({merge_on_load:!0}).catch(()=>{})},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"true"===x?"Pause cloud sync":"Resume cloud sync"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"true"===x?"On":"Off"})]})})}):null,(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:h,role:"menuitem",onClick:()=>{S(),(0,p.toggle_theme)()},suppressHydrationWarning:!0,children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsxs)("span",{children:["dark"===_?"Dark":"Light"," theme"]}),(0,t.jsx)("span",{"aria-hidden":"true",children:"dark"===_?"☾":"☀"})]})})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:h,role:"menuitem",onClick:()=>{S(),document.dispatchEvent(new KeyboardEvent("keydown",{key:"?",shiftKey:!0,bubbles:!0}))},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"Keyboard shortcuts"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"(?)"})]})})}),v?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),null===b?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:h,role:"menuitem",onClick:()=>{S(),e.push((0,l.build_auth_page_href)("sign_in",g))},children:"Sign in"})}):(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:`${h} text-danger`,role:"menuitem",disabled:y,onClick:()=>{S(),j()},children:y?"Signing out…":"Sign out"})})]}):null]}):null]})}])},29539,e=>{"use strict";var t=e.i(54710);e.s(["SettingsIcon",0,function(){return(0,t.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,t.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})}])},75404,e=>{"use strict";var t=e.i(54710),r=e.i(45200),n=e.i(648),s=e.i(1976),a=e.i(45958),l=e.i(71060),i=e.i(29539);function o(){let e=((0,l.usePathname)()??"/").startsWith("/settings");return(0,t.jsx)(a.default,{href:"/settings",className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-muted no-underline hover:bg-surface-hover hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent${e?" border-accent-border text-foreground":""}`,"aria-label":"Settings","aria-current":e?"page":void 0,children:(0,t.jsx)(i.SettingsIcon,{})})}function c({current:e,parent:r}){return(0,t.jsx)("nav",{"aria-label":"Breadcrumb",className:"min-w-0 text-left",children:(0,t.jsxs)("ol",{className:"m-0 flex min-w-0 list-none flex-wrap items-center gap-1.5 p-0 text-[0.85rem]",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{className:"text-muted no-underline hover:text-foreground",href:"/",children:"Tracker"})}),void 0!==r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{children:void 0!==r.href?(0,t.jsx)(a.default,{className:"max-w-44 truncate text-muted no-underline hover:text-foreground sm:max-w-none",href:r.href,children:r.label}):(0,t.jsx)("span",{className:"max-w-44 truncate text-muted sm:max-w-none",children:r.label})})]}):null,(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{className:"max-w-44 truncate font-medium text-foreground sm:max-w-none","aria-current":"page",children:e})]})})}e.s(["TrackerTopbar",0,function({breadcrumb:e}={}){return(0,t.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,t.jsxs)("div",{className:"mx-auto flex max-w-[1120px] min-h-13 flex-wrap items-center gap-x-4 gap-y-2 px-4 py-2 sm:px-5",children:[(0,t.jsx)("span",{className:"inline-flex min-w-0 shrink 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!==e?(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsx)(c,{current:e.current,parent:e.parent})}):null,(0,t.jsxs)("div",{className:"flex w-full items-center justify-between gap-2 min-[980px]:ml-auto min-[980px]:w-auto min-[980px]:justify-end",children:[(0,t.jsx)(r.TrackerNavLinks,{}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2",children:[(0,t.jsx)(n.TopbarCloudStatus,{}),(0,t.jsx)(o,{}),(0,t.jsx)(s.TopbarOverflowMenu,{})]})]})]})})}],75404)},52405,e=>{"use strict";e.s(["get_input_class_name",0,function(e="default"){let t="box-border max-w-full min-w-0 w-full rounded-[0.65rem] border border-panel-border bg-input-bg px-3 py-2.5 font-inherit text-inherit transition-[background-color,border-color] duration-200 focus:border-input-focus-border focus:outline-none";return"compact"===e?`${t} px-2.5 py-2`:t}])},42800,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060);let s=[{href:"/settings",label:"General",match:e=>"/settings"===e},{href:"/settings/display",label:"Display & layout",match:e=>e.startsWith("/settings/display")},{href:"/settings/goals",label:"Goals",match:e=>e.startsWith("/settings/goals")},{href:"/settings/pomodoro",label:"Pomodoro",match:e=>e.startsWith("/settings/pomodoro")},{href:"/settings/ai-suggestions",label:"AI suggestions",match:e=>e.startsWith("/settings/ai-suggestions")},{href:"/settings/cloud-sync",label:"Sync",match:e=>e.startsWith("/settings/cloud-sync")},{href:"/settings/data",label:"Data & backup",match:e=>e.startsWith("/settings/data")},{href:"/settings/tags",label:"Tag management",match:e=>e.startsWith("/settings/tags")}];e.s(["SettingsNav",0,function(){let e=(0,n.usePathname)()??"/settings";return(0,t.jsx)("nav",{"aria-label":"Settings sections",className:"w-full",children:(0,t.jsx)("ul",{className:"scrollbar-none m-0 flex w-full list-none gap-1 overflow-x-auto p-0 pb-1 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden max-[860px]:flex-row min-[861px]:flex-col min-[861px]:gap-0.5 min-[861px]:overflow-visible min-[861px]:pb-0",children:s.map(n=>{let s=n.match(e);return(0,t.jsx)("li",{className:"shrink-0 min-[861px]:shrink",children:(0,t.jsx)(r.default,{href:n.href,"aria-current":s?"page":void 0,className:`block whitespace-nowrap rounded-md px-3 py-2 text-[0.9rem] no-underline transition-colors duration-150 min-[861px]:whitespace-normal ${s?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,children:n.label})},n.href)})})})}])},7902,e=>{"use strict";var t=e.i(46549);e.s(["persist_ui_preference",0,function(e,r){e.read()!==r&&(e.write(r),e.notify(),(0,t.notify_settings_saved)())}])},77352,e=>{"use strict";var t=e.i(54710),r=e.i(42800),n=e.i(75404);e.s(["SettingsPageLayout",0,function({breadcrumb:e,title:s,description:a,children:l}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.TrackerTopbar,{breadcrumb:e}),(0,t.jsxs)("main",{className:"mx-auto grid w-full max-w-[1120px] grid-cols-[minmax(12rem,16rem)_minmax(0,1fr)] gap-4 px-4 pb-10 pt-5 sm:gap-6 sm:px-5 sm:pt-6 max-[860px]:grid-cols-1",children:[(0,t.jsxs)("aside",{className:"flex flex-col gap-2",children:[(0,t.jsx)("h2",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.06em] text-muted",children:"Settings"}),(0,t.jsx)(r.SettingsNav,{})]}),(0,t.jsxs)("section",{className:"flex min-w-0 flex-col gap-4",children:[(0,t.jsxs)("header",{className:"flex flex-col gap-1",children:[(0,t.jsx)("h1",{className:"m-0 text-[1.35rem] font-[650] tracking-tight",children:s}),void 0!==a?(0,t.jsx)("p",{className:"m-0 text-[0.9rem] leading-relaxed text-muted",children:a}):null]}),l]})]})]})}])},69472,84545,50937,83327,e=>{"use strict";var t=e.i(34869),r=e.i(92629);let n=(0,t.create_ui_preference_store)({storage_key:r.CLAUDE_API_KEY_STORAGE_KEY,default_value:r.CLAUDE_API_KEY_DEFAULT,is_valid:e=>e.trim().length>0});e.s(["claude_api_key_preference",0,n],69472);let s=(0,t.create_ui_preference_store)({storage_key:r.ENTRY_SUGGESTION_PROVIDER_STORAGE_KEY,default_value:r.ENTRY_SUGGESTION_PROVIDER_DEFAULT,is_valid:e=>"none"===e||"openai"===e||"claude"===e||"google_ai"===e});e.s(["entry_suggestion_provider_preference",0,s],84545);let a=(0,t.create_ui_preference_store)({storage_key:r.GOOGLE_AI_API_KEY_STORAGE_KEY,default_value:r.GOOGLE_AI_API_KEY_DEFAULT,is_valid:e=>e.trim().length>0});e.s(["google_ai_api_key_preference",0,a],50937);let l=(0,t.create_ui_preference_store)({storage_key:r.OPENAI_API_KEY_STORAGE_KEY,default_value:r.OPENAI_API_KEY_DEFAULT,is_valid:e=>e.trim().length>0});e.s(["openai_api_key_preference",0,l],83327)},28393,e=>{"use strict";var t=e.i(54710);e.s(["SettingRadioGroup",0,function({name:e,legend:r,description:n,value:s,options:a,disabled:l=!1,on_change:i}){var o;return(0,t.jsxs)("fieldset",{className:"m-0 border-0 p-0",children:[(0,t.jsx)("legend",{className:"m-0 mb-1 text-[0.95rem] font-semibold",children:r}),void 0!==n?(0,t.jsx)("p",{className:"m-0 mb-2 text-[0.8rem] leading-snug text-muted",children:n}):null,(0,t.jsx)("div",{className:(o=a.length)<=2||o<=4?"grid grid-cols-1 gap-1.5 sm:grid-cols-2":"grid grid-cols-1 gap-1.5 sm:grid-cols-2 lg:grid-cols-3",children:a.map(r=>{let n=r.value===s;return(0,t.jsxs)("label",{className:`flex h-full cursor-pointer flex-col gap-2 rounded-md border px-2.5 py-2 transition-colors duration-150 ${n?"border-accent-border bg-accent-soft":"border-panel-border hover:bg-surface-hover"}`,children:[(0,t.jsxs)("span",{className:"flex items-start gap-2",children:[(0,t.jsx)("input",{type:"radio",className:"mt-0.5 shrink-0",name:e,value:r.value,checked:n,disabled:l,onChange:()=>i(r.value)}),(0,t.jsx)("span",{className:"text-[0.9rem] font-semibold leading-snug",children:r.label})]}),void 0!==r.description?(0,t.jsx)("span",{className:"text-[0.8rem] leading-snug text-muted",children:r.description}):null]},r.value)})})]})}],28393)},29745,e=>{"use strict";var t=e.i(54710),r=e.i(29158),n=e.i(28393),s=e.i(77352),a=e.i(52405),l=e.i(69472),i=e.i(84545),o=e.i(50937),c=e.i(83327),u=e.i(7902);let d=[{value:"none",label:"Disabled",description:"Do not call any AI provider."},{value:"openai",label:"OpenAI",description:"Use OpenAI for suggestions."},{value:"claude",label:"Claude",description:"Use Claude for suggestions."},{value:"google_ai",label:"Google AI",description:"Use Gemini for suggestions."}],p=e=>{(0,u.persist_ui_preference)(i.entry_suggestion_provider_preference,e)};e.s(["EntrySuggestionsSettingsView",0,function(){let e=(0,r.useSyncExternalStore)(i.entry_suggestion_provider_preference.subscribe,i.entry_suggestion_provider_preference.get_snapshot,i.entry_suggestion_provider_preference.get_server_snapshot),u=(0,r.useSyncExternalStore)(c.openai_api_key_preference.subscribe,c.openai_api_key_preference.get_snapshot,c.openai_api_key_preference.get_server_snapshot),m=(0,r.useSyncExternalStore)(l.claude_api_key_preference.subscribe,l.claude_api_key_preference.get_snapshot,l.claude_api_key_preference.get_server_snapshot),f=(0,r.useSyncExternalStore)(o.google_ai_api_key_preference.subscribe,o.google_ai_api_key_preference.get_snapshot,o.google_ai_api_key_preference.get_server_snapshot);return(0,t.jsx)(s.SettingsPageLayout,{breadcrumb:{current:"AI suggestions",parent:{label:"Settings",href:"/settings"}},title:"AI suggestions",description:"Choose an LLM provider and API key for entry description suggestions.",children:(0,t.jsxs)("ul",{className:"m-0 flex w-full list-none flex-col gap-2 p-0","aria-label":"AI suggestion settings",children:[(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,t.jsx)(n.SettingRadioGroup,{name:"entry-suggestion-provider",legend:"Suggestion provider",description:"The check-in form uses this provider when Suggest is clicked.",value:e,options:d,on_change:p})}),(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,t.jsxs)("label",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"OpenAI API key"}),(0,t.jsx)("input",{type:"password",className:(0,a.get_input_class_name)(),value:u,onChange:e=>{var t;return t=e.target.value,void(c.openai_api_key_preference.write(t.trim()),c.openai_api_key_preference.notify())},placeholder:"sk-...",autoComplete:"off"}),(0,t.jsx)("span",{className:"text-[0.8rem] leading-snug text-muted",children:"Stored locally in your browser. Used only for suggestion requests."})]})}),(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,t.jsxs)("label",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Claude API key"}),(0,t.jsx)("input",{type:"password",className:(0,a.get_input_class_name)(),value:m,onChange:e=>{var t;return t=e.target.value,void(l.claude_api_key_preference.write(t.trim()),l.claude_api_key_preference.notify())},placeholder:"sk-ant-...",autoComplete:"off"}),(0,t.jsx)("span",{className:"text-[0.8rem] leading-snug text-muted",children:"Stored locally in your browser. Used only for suggestion requests."})]})}),(0,t.jsx)("li",{className:"rounded-md border border-panel-border bg-panel p-3.5 shadow-sm",children:(0,t.jsxs)("label",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)("span",{className:"text-[0.95rem] font-semibold",children:"Google AI API key"}),(0,t.jsx)("input",{type:"password",className:(0,a.get_input_class_name)(),value:f,onChange:e=>{var t;return t=e.target.value,void(o.google_ai_api_key_preference.write(t.trim()),o.google_ai_api_key_preference.notify())},placeholder:"AIza...",autoComplete:"off"}),(0,t.jsx)("span",{className:"text-[0.8rem] leading-snug text-muted",children:"Stored locally in your browser. Used only for suggestion requests."})]})})]})})}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42552,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return a},formatWithValidation:function(){return c},urlObjectKeys:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(44066)._(e.r(78677)),l=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",a=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),i&&"object"==typeof i&&(i=String(u.urlQueryToSearchParams(i)));let f=e.search||i&&`?${i}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),a&&"#"!==a[0]&&(a="#"+a),f&&"?"!==f[0]&&(f="?"+f),o=o.replace(/[?#]/g,encodeURIComponent),f=f.replace("#","%23"),`${n}${c}${o}${f}${a}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return a(e)}},37879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(29158);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},59246,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=e.r(31047),o=e.r(63334);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},10364,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},45958,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return m}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=e.r(44066),l=e.r(54710),a=u._(e.r(29158)),i=e.r(42552),c=e.r(61717),f=e.r(37879),s=e.r(31047),p=e.r(20321);e.r(90503);let d=e.r(38520),h=e.r(19947),y=e.r(59246),b=e.r(99046);function g(t){var r,n;let o,u,g,[m,_]=(0,a.useOptimistic)(h.IDLE_LINK_STATUS),P=(0,a.useRef)(null),{href:j,as:O,children:S,prefetch:T=null,passHref:C,replace:R,shallow:E,scroll:L,onClick:M,onMouseEnter:U,onTouchStart:k,legacyBehavior:A=!1,onNavigate:x,transitionTypes:I,ref:K,unstable_dynamicOnHover:$,...w}=t;o=S,A&&("string"==typeof o||"number"==typeof o)&&(o=(0,l.jsx)("a",{children:o}));let B=a.default.useContext(c.AppRouterContext),D=!1!==T,N=!1!==T?null===(n=T)||"auto"===n?b.FetchStrategy.PPR:b.FetchStrategy.Full:b.FetchStrategy.PPR,F="string"==typeof(r=O||j)?r:(0,i.formatUrl)(r);if(A){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});u=a.default.Children.only(o)}let q=A?u&&"object"==typeof u&&u.ref:K,z=a.default.useCallback(e=>(null!==B&&(P.current=(0,h.mountLinkInstance)(e,F,B,N,D,_)),()=>{P.current&&((0,h.unmountLinkForCurrentNavigation)(P.current),P.current=null),(0,h.unmountPrefetchableInstance)(e)}),[D,F,B,N,_]),W={ref:(0,f.useMergedRef)(z,q),onClick(t){A||"function"!=typeof M||M(t),A&&u.props&&"function"==typeof u.props.onClick&&u.props.onClick(t),!B||t.defaultPrevented||function(t,r,n,o,u,l,i){if("u">typeof window){let c,{nodeName:f}=t.currentTarget;if("A"===f.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,y.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:s}=e.r(91087);a.default.startTransition(()=>{s(r,o?"replace":"push",!1===u?d.ScrollBehavior.NoScroll:d.ScrollBehavior.Default,n.current,i)})}}(t,F,P,R,L,x,I)},onMouseEnter(e){A||"function"!=typeof U||U(e),A&&u.props&&"function"==typeof u.props.onMouseEnter&&u.props.onMouseEnter(e),B&&D&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){A||"function"!=typeof k||k(e),A&&u.props&&"function"==typeof u.props.onTouchStart&&u.props.onTouchStart(e),B&&D&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,s.isAbsoluteUrl)(F)?W.href=F:A&&!C&&("a"!==u.type||"href"in u.props)||(W.href=(0,p.addBasePath)(F)),g=A?a.default.cloneElement(u,W):(0,l.jsx)("a",{...w,...W,children:o}),(0,l.jsx)(v.Provider,{value:m,children:g})}e.r(10364);let v=(0,a.createContext)(h.IDLE_LINK_STATUS),m=()=>(0,a.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42552,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return o},formatWithValidation:function(){return u},urlObjectKeys:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=e.r(44066)._(e.r(78677)),l=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",o=e.hash||"",i=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),i&&"object"==typeof i&&(i=String(s.urlQueryToSearchParams(i)));let c=e.search||i&&`?${i}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),o&&"#"!==o[0]&&(o="#"+o),c&&"?"!==c[0]&&(c="?"+c),a=a.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${a}${c}${o}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return o(e)}},37879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(29158);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=s(e,n)),t&&(a.current=s(t,n))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},59246,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return s}});let n=e.r(31047),a=e.r(63334);function s(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},10364,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},45958,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return _}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=e.r(44066),l=e.r(54710),o=s._(e.r(29158)),i=e.r(42552),u=e.r(61717),c=e.r(37879),d=e.r(31047),h=e.r(20321);e.r(90503);let f=e.r(38520),m=e.r(19947),p=e.r(59246),x=e.r(99046);function b(t){var r,n;let a,s,b,[_,y]=(0,o.useOptimistic)(m.IDLE_LINK_STATUS),v=(0,o.useRef)(null),{href:j,as:w,children:N,prefetch:k=null,passHref:S,replace:C,shallow:E,scroll:P,onClick:T,onMouseEnter:L,onTouchStart:O,legacyBehavior:R=!1,onNavigate:A,transitionTypes:U,ref:M,unstable_dynamicOnHover:I,...$}=t;a=N,R&&("string"==typeof a||"number"==typeof a)&&(a=(0,l.jsx)("a",{children:a}));let B=o.default.useContext(u.AppRouterContext),D=!1!==k,K=!1!==k?null===(n=k)||"auto"===n?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,W="string"==typeof(r=w||j)?r:(0,i.formatUrl)(r);if(R){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=o.default.Children.only(a)}let F=R?s&&"object"==typeof s&&s.ref:M,z=o.default.useCallback(e=>(null!==B&&(v.current=(0,m.mountLinkInstance)(e,W,B,K,D,y)),()=>{v.current&&((0,m.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,m.unmountPrefetchableInstance)(e)}),[D,W,B,K,y]),q={ref:(0,c.useMergedRef)(z,F),onClick(t){R||"function"!=typeof T||T(t),R&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!B||t.defaultPrevented||function(t,r,n,a,s,l,i){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(91087);o.default.startTransition(()=>{d(r,a?"replace":"push",!1===s?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,n.current,i)})}}(t,W,v,C,P,A,U)},onMouseEnter(e){R||"function"!=typeof L||L(e),R&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),B&&D&&(0,m.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){R||"function"!=typeof O||O(e),R&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),B&&D&&(0,m.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(W)?q.href=W:R&&!S&&("a"!==s.type||"href"in s.props)||(q.href=(0,h.addBasePath)(W)),b=R?o.default.cloneElement(s,q):(0,l.jsx)("a",{...$,...q,children:a}),(0,l.jsx)(g.Provider,{value:_,children:b})}e.r(10364);let g=(0,o.createContext)(m.IDLE_LINK_STATUS),_=()=>(0,o.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77882,e=>{"use strict";var t=e.i(71060),r=e.i(29158),n=e.i(83105),a=e.i(32417),s=e.i(46549);e.s(["use_supabase_auth_session",0,function(){let e=(0,t.useRouter)(),[l,o]=(0,r.useState)(null),[i,u]=(0,r.useState)(!1),c=(0,a.is_supabase_configured)();return(0,r.useEffect)(()=>{if(!c)return;let e=(0,n.create_browser_supabase_client)();e.auth.getSession().then(({data:{session:e}})=>{o(e?.user.email??null)}).catch(()=>{o(null)});let{data:{subscription:t}}=e.auth.onAuthStateChange((e,t)=>{o(t?.user.email??null)});return()=>{t.unsubscribe()}},[c]),{is_configured:c,email:l,is_pending:i,sign_out:(0,r.useCallback)(async()=>{u(!0);try{await fetch("/api/auth/signout",{method:"POST"});let t=(0,n.create_browser_supabase_client)();await t.auth.signOut().catch(()=>{}),(0,s.notify_settings_saved)("Signed out"),e.refresh()}finally{u(!1)}},[e])}}])},45200,648,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060);let a=[{href:"/",label:"Tracker",match:e=>"/"===e},{href:"/today",label:"Today",match:e=>e.startsWith("/today")},{href:"/pomodoro",label:"Pomodoro",match:e=>e.startsWith("/pomodoro")},{href:"/sheets",label:"Sheets",match:e=>e.startsWith("/sheets")},{href:"/reporting",label:"Reporting",match:e=>e.startsWith("/reporting")}];function s(){return(0,t.jsx)("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,t.jsx)("path",{d:"M17.5 19a4.5 4.5 0 0 0 0-9 6.5 6.5 0 0 0-12.6 1.5A4 4 0 0 0 6 19h11.5z"})})}e.s(["TrackerNavLinks",0,function(){let e=(0,n.usePathname)()??"/";return(0,t.jsx)("div",{className:"scrollbar-none flex min-w-0 flex-1 items-center gap-1 overflow-x-auto whitespace-nowrap py-0.5 [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden min-[980px]:overflow-visible",children:a.map(n=>{let a=n.match(e);return(0,t.jsx)(r.default,{className:`rounded-full px-3 py-1.5 text-[0.85rem] font-semibold no-underline transition-colors duration-150 shrink-0 ${a?"bg-accent-soft text-foreground":"text-muted hover:bg-surface-hover hover:text-foreground"}`,href:n.href,"aria-current":a?"page":void 0,children:n.label},n.href)})})}],45200);var l=e.i(77882);e.s(["TopbarCloudStatus",0,function(){let{email:e,is_configured:r}=(0,l.use_supabase_auth_session)();return r&&null!==e?(0,t.jsxs)("div",{className:"group relative flex items-center",children:[(0,t.jsx)("span",{className:"inline-flex h-8 w-8 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-accent","aria-label":`Cloud sync active for ${e}`,role:"img",children:(0,t.jsx)(s,{})}),(0,t.jsx)("div",{role:"tooltip",className:"pointer-events-none absolute right-0 top-full z-50 mt-1.5 w-max max-w-[min(18rem,calc(100vw-2.5rem))] opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100",children:(0,t.jsxs)("div",{className:"rounded-md border border-panel-border bg-panel px-2.5 py-1.5 shadow-md",children:[(0,t.jsx)("p",{className:"m-0 text-[0.72rem] font-semibold uppercase tracking-[0.04em] text-muted",children:"Signed in as"}),(0,t.jsx)("p",{className:"m-0 max-w-[16rem] truncate text-[0.82rem] font-medium",title:e,children:e})]})})]}):null}],648)},37399,e=>{"use strict";var t=e.i(54710);e.s(["HamburgerIcon",0,function(){return(0,t.jsxs)("svg",{className:"block h-4 w-4 text-muted",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M4 7h16"}),(0,t.jsx)("path",{d:"M4 12h16"}),(0,t.jsx)("path",{d:"M4 17h16"})]})}])},90463,e=>{"use strict";e.s(["build_auth_page_href",0,function(e,t){let r="sign_in"===e?"/login":"/register",n=t.trim();return 0===n.length||"/"===n?r:`${r}?next=${encodeURIComponent(n)}`}])},2268,76003,38240,e=>{"use strict";var t=e.i(34869),r=e.i(92629);let n=(0,t.create_ui_preference_store)({storage_key:r.CLOUD_SYNC_ENABLED_STORAGE_KEY,default_value:r.CLOUD_SYNC_ENABLED_DEFAULT,is_valid:e=>"true"===e||"false"===e});function a(){return"u"<typeof document?"dark":"light"===document.documentElement.getAttribute("data-theme")?"light":"dark"}e.s(["cloud_sync_enabled_preference",0,n],2268),e.s(["get_theme_server_snapshot",0,function(){return"dark"},"get_theme_snapshot",0,function(){return a()}],76003);var s=e.i(17798),l=e.i(46549),o=e.i(10464),i=e.i(35434),u=e.i(61834),c=e.i(81553);e.s(["toggle_theme",0,function(){let e="dark"===a()?"light":"dark";(0,s.apply_theme)(e),(0,c.write_stored_theme)(e),o.theme_mode_preference.write(e),(0,u.write_document_preference_cookies)({theme_mode:e,theme:e}),o.theme_mode_preference.notify(),(0,i.notify_theme_subscribers)(),(0,l.notify_settings_saved)()}],38240)},25204,e=>{"use strict";var t=e.i(29158),r=e.i(72074);e.s(["use_escape_to_cancel",0,function(e,n=!0){let a=(0,t.useRef)(e);a.current=e,(0,t.useEffect)(()=>{if(!n)return;let e=e=>{"Escape"!==e.key||(0,r.is_modal_dialog_open)()||(e.preventDefault(),a.current())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[n])}])},1976,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060),a=e.i(29158),s=e.i(37399),l=e.i(90463),o=e.i(46549),i=e.i(2268),u=e.i(28274),c=e.i(76003),d=e.i(35434),h=e.i(38240),f=e.i(25204),m=e.i(77882);let p="block w-full cursor-pointer rounded-[0.45rem] border-0 bg-transparent px-2.5 py-1.5 text-left font-inherit text-[0.85rem] text-inherit no-underline hover:bg-surface-hover disabled:cursor-not-allowed disabled:opacity-55";e.s(["TopbarOverflowMenu",0,function(){let e=(0,n.useRouter)(),x=(0,n.usePathname)()??"/",b=(0,a.useSyncExternalStore)(d.subscribe_theme,c.get_theme_snapshot,c.get_theme_server_snapshot),g=(0,a.useSyncExternalStore)(i.cloud_sync_enabled_preference.subscribe,i.cloud_sync_enabled_preference.get_snapshot,i.cloud_sync_enabled_preference.get_server_snapshot),{email:_,is_configured:y,is_pending:v,sign_out:j}=(0,m.use_supabase_auth_session)(),[w,N]=(0,a.useState)(!1),k=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(!w)return;let e=e=>{null===k.current||k.current.contains(e.target)||N(!1)};return document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[w]);let S=()=>{N(!1)};return(0,f.use_escape_to_cancel)(S,w),(0,t.jsxs)("div",{className:"relative shrink-0",ref:k,children:[(0,t.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":"Open menu","aria-expanded":w,"aria-haspopup":"menu",onClick:()=>N(e=>!e),children:(0,t.jsx)(s.HamburgerIcon,{})}),w?(0,t.jsxs)("ul",{className:"absolute right-0 top-full z-50 mt-1.5 min-w-56 list-none rounded-md border border-panel-border bg-panel p-1.5 shadow-md",role:"menu",children:[y&&null!==_?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("p",{className:"m-0 truncate px-2.5 py-1 text-[0.72rem] uppercase tracking-[0.04em] text-muted",title:_,children:_})}):null,(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/tags",className:p,role:"menuitem",onClick:S,children:"Manage tags"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/pomodoro",className:p,role:"menuitem",onClick:S,children:"Pomodoro"})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)(r.default,{href:"/settings/cloud-sync",className:p,role:"menuitem",onClick:S,children:"Sync settings"})}),y?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:p,role:"menuitemcheckbox","aria-checked":"true"===g,onClick:()=>{let e="true"===g?"false":"true";i.cloud_sync_enabled_preference.write(e),i.cloud_sync_enabled_preference.notify(),(0,o.notify_settings_saved)("true"===e?"Cloud sync enabled":"Cloud sync disabled"),"true"===e&&null!==_&&(0,u.run_tracker_db_cloud_sync)({merge_on_load:!0}).catch(()=>{})},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"true"===g?"Pause cloud sync":"Resume cloud sync"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"true"===g?"On":"Off"})]})})}):null,(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:p,role:"menuitem",onClick:()=>{S(),(0,h.toggle_theme)()},suppressHydrationWarning:!0,children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsxs)("span",{children:["dark"===b?"Dark":"Light"," theme"]}),(0,t.jsx)("span",{"aria-hidden":"true",children:"dark"===b?"☾":"☀"})]})})}),(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:p,role:"menuitem",onClick:()=>{S(),document.dispatchEvent(new KeyboardEvent("keydown",{key:"?",shiftKey:!0,bubbles:!0}))},children:(0,t.jsxs)("span",{className:"inline-flex w-full items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:"Keyboard shortcuts"}),(0,t.jsx)("span",{className:"text-muted","aria-hidden":"true",children:"(?)"})]})})}),y?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"my-1 border-t border-panel-border",role:"separator","aria-hidden":"true"}),null===_?(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:p,role:"menuitem",onClick:()=>{S(),e.push((0,l.build_auth_page_href)("sign_in",x))},children:"Sign in"})}):(0,t.jsx)("li",{role:"none",children:(0,t.jsx)("button",{type:"button",className:`${p} text-danger`,role:"menuitem",disabled:v,onClick:()=>{S(),j()},children:v?"Signing out…":"Sign out"})})]}):null]}):null]})}])},29539,e=>{"use strict";var t=e.i(54710);e.s(["SettingsIcon",0,function(){return(0,t.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,t.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})}])},75404,e=>{"use strict";var t=e.i(54710),r=e.i(45200),n=e.i(648),a=e.i(1976),s=e.i(45958),l=e.i(71060),o=e.i(29539);function i(){let e=((0,l.usePathname)()??"/").startsWith("/settings");return(0,t.jsx)(s.default,{href:"/settings",className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-panel-border bg-ghost-bg text-muted no-underline hover:bg-surface-hover hover:text-foreground focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent${e?" border-accent-border text-foreground":""}`,"aria-label":"Settings","aria-current":e?"page":void 0,children:(0,t.jsx)(o.SettingsIcon,{})})}function u({current:e,parent:r}){return(0,t.jsx)("nav",{"aria-label":"Breadcrumb",className:"min-w-0 text-left",children:(0,t.jsxs)("ol",{className:"m-0 flex min-w-0 list-none flex-wrap items-center gap-1.5 p-0 text-[0.85rem]",children:[(0,t.jsx)("li",{children:(0,t.jsx)(s.default,{className:"text-muted no-underline hover:text-foreground",href:"/",children:"Tracker"})}),void 0!==r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{children:void 0!==r.href?(0,t.jsx)(s.default,{className:"max-w-44 truncate text-muted no-underline hover:text-foreground sm:max-w-none",href:r.href,children:r.label}):(0,t.jsx)("span",{className:"max-w-44 truncate text-muted sm:max-w-none",children:r.label})})]}):null,(0,t.jsx)("li",{className:"text-muted","aria-hidden":"true",children:"/"}),(0,t.jsx)("li",{className:"max-w-44 truncate font-medium text-foreground sm:max-w-none","aria-current":"page",children:e})]})})}e.s(["TrackerTopbar",0,function({breadcrumb:e}={}){return(0,t.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,t.jsxs)("div",{className:"mx-auto flex max-w-[1120px] min-h-13 flex-wrap items-center gap-x-4 gap-y-2 px-4 py-2 sm:px-5",children:[(0,t.jsx)("span",{className:"inline-flex min-w-0 shrink 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!==e?(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsx)(u,{current:e.current,parent:e.parent})}):null,(0,t.jsxs)("div",{className:"flex w-full items-center justify-between gap-2 min-[980px]:ml-auto min-[980px]:w-auto min-[980px]:justify-end",children:[(0,t.jsx)(r.TrackerNavLinks,{}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2",children:[(0,t.jsx)(n.TopbarCloudStatus,{}),(0,t.jsx)(i,{}),(0,t.jsx)(a.TopbarOverflowMenu,{})]})]})]})})}],75404)},52405,e=>{"use strict";e.s(["get_input_class_name",0,function(e="default"){let t="box-border max-w-full min-w-0 w-full rounded-[0.65rem] border border-panel-border bg-input-bg px-3 py-2.5 font-inherit text-inherit transition-[background-color,border-color] duration-200 focus:border-input-focus-border focus:outline-none";return"compact"===e?`${t} px-2.5 py-2`:t}])},6343,e=>{"use strict";var t=e.i(54710),r=e.i(45958),n=e.i(71060),a=e.i(29158),s=e.i(89497),l=e.i(83105),o=e.i(90463),i=e.i(52663),u=e.i(52405),c=e.i(32417);e.s(["SupabaseAuthForm",0,function({mode:e,redirect_to:d="/"}){var h;let f,m,p=(0,n.useRouter)(),[x,b]=(0,a.useState)(""),[g,_]=(0,a.useState)(""),[y,v]=(0,a.useState)(""),[j,w]=(0,a.useState)(null),[N,k]=(0,a.useState)(null),[S,C]=(0,a.useState)(!1),E="sign_up"===e,P=(0,o.build_auth_page_href)(E?"sign_in":"sign_up",d),T=(f=(h={email:x,password:g,password_confirm:y,is_sign_up:E}).email.trim(),m=h.password.length>0,f.length>0&&!!m&&!(h.password.length<8)&&(!h.is_sign_up||h.password_confirm.length>0&&h.password===h.password_confirm)),L=E&&y.length>0&&g!==y;if(!(0,c.is_supabase_configured)())return(0,t.jsx)("p",{className:"m-0 text-[0.85rem] text-danger",children:"Supabase is not configured. Add NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY to your environment."});let O=async e=>{if(e.preventDefault(),!T)return;C(!0),w(null),k(null);let t=(0,l.create_browser_supabase_client)(),r=x.trim();try{if(E){let{error:e}=await t.auth.signUp({email:r,password:g,options:{emailRedirectTo:`${window.location.origin}/auth/callback?next=${encodeURIComponent(d)}`}});if(null!==e)throw e;k("Check your email to confirm the account, then sign in here.");return}let{error:e}=await t.auth.signInWithPassword({email:r,password:g});if(null!==e)throw e;let n=await fetch("/api/sync/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({preferences:(0,s.collect_ui_preferences_from_window)()})});if(!n.ok){let e=await n.json();throw Error(e.error??"Cloud import failed")}p.push(d),p.refresh()}catch(e){w(e instanceof Error?e.message:String(e))}finally{C(!1)}};return(0,t.jsxs)("form",{className:"flex w-full flex-col gap-3",onSubmit:e=>void O(e),children:[(0,t.jsxs)("label",{className:"flex flex-col gap-1 text-[0.85rem]",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Email"}),(0,t.jsx)("input",{type:"email",autoComplete:"email",required:!0,className:(0,u.get_input_class_name)(),value:x,onChange:e=>b(e.target.value)})]}),(0,t.jsxs)("label",{className:"flex flex-col gap-1 text-[0.85rem]",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Password"}),(0,t.jsx)("input",{type:"password",autoComplete:E?"new-password":"current-password",required:!0,minLength:8,className:(0,u.get_input_class_name)(),value:g,onChange:e=>_(e.target.value)})]}),E?(0,t.jsxs)("label",{className:"flex flex-col gap-1 text-[0.85rem]",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Confirm password"}),(0,t.jsx)("input",{type:"password",autoComplete:"new-password",required:!0,minLength:8,className:(0,u.get_input_class_name)(),value:y,onChange:e=>v(e.target.value)})]}):null,L?(0,t.jsx)("p",{className:"m-0 text-[0.82rem] text-danger",children:"Passwords do not match."}):null,(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[(0,t.jsx)("button",{type:"submit",className:(0,i.get_button_class_name)("primary"),disabled:S||!T,children:S?"Working…":E?"Create account":"Sign in"}),(0,t.jsx)(r.default,{href:P,className:`${(0,i.get_button_class_name)("ghost","small")} no-underline`,children:E?"Already have an account?":"Need an account?"})]}),null!==N?(0,t.jsx)("p",{className:"m-0 text-center text-[0.82rem] text-accent",children:N}):null,null!==j?(0,t.jsx)("p",{className:"m-0 text-center text-[0.82rem] text-danger",children:j}):null]})}],6343)}]);