efficient-shell 13.20.0 → 13.22.0

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 (321) hide show
  1. package/README.md +23 -10
  2. package/dist/{Browser-XFEOOL5J.js → Browser-342OHRA2.js} +14 -14
  3. package/dist/Calculator-HJK5JN54.js +29 -0
  4. package/dist/CurrencyConverter-MPAZ6QJ3.js +21 -0
  5. package/dist/{Files-LRSNSZ5Y.js → Files-IPM7TRMJ.js} +74 -74
  6. package/dist/Notepad-R7MUSPRC.js +24 -0
  7. package/dist/{PdfViewer-EELX35ZI.js → PdfViewer-FWGHFO4N.js} +1 -1
  8. package/dist/{PomodoroTimer-XLPBKMWS.js → PomodoroTimer-VREYC3ML.js} +49 -49
  9. package/dist/{Preview-CWGCGKR5.js → Preview-X64AVAUP.js} +27 -27
  10. package/dist/Sidebar-MY66ILZY.js +44 -0
  11. package/dist/{Stock-PRUMXULJ.js → Stock-GQSNYWV2.js} +3 -3
  12. package/dist/{Weather-FO5DVYQ4.js → Weather-XNMLNV7N.js} +22 -22
  13. package/dist/{WorldClock-BYZ5BNLZ.js → WorldClock-AZLGM2T5.js} +6 -6
  14. package/dist/ai/index.js +118 -118
  15. package/dist/apps/ImageAnnotator.js +1 -1
  16. package/dist/apps/index.js +1 -1
  17. package/dist/bin/browser-check.js +1 -1
  18. package/dist/bin/media-host-check.js +1 -1
  19. package/dist/bin/ui-check.js +1 -1
  20. package/dist/brand.css +1 -1
  21. package/dist/charts/BoxPlotChart.js +1 -1
  22. package/dist/charts/CandlestickChart.js +1 -1
  23. package/dist/charts/CartesianPlot.js +1 -1
  24. package/dist/charts/ChartBrush.js +1 -1
  25. package/dist/charts/ChartFrame.js +1 -1
  26. package/dist/charts/ChartSkeleton.js +1 -1
  27. package/dist/charts/ChordChart.js +1 -1
  28. package/dist/charts/ColumnChart.js +1 -1
  29. package/dist/charts/FunnelChart.js +1 -1
  30. package/dist/charts/HeatmapChart.js +1 -1
  31. package/dist/charts/HistogramChart.js +1 -1
  32. package/dist/charts/Meter.js +1 -1
  33. package/dist/charts/PieChart.js +1 -1
  34. package/dist/charts/RadarChart.js +1 -1
  35. package/dist/charts/RadialBarChart.js +1 -1
  36. package/dist/charts/RangeChart.js +1 -1
  37. package/dist/charts/RankedBars.js +1 -1
  38. package/dist/charts/SankeyChart.js +1 -1
  39. package/dist/charts/ScatterChart.js +1 -1
  40. package/dist/charts/SpecChart.js +1 -1
  41. package/dist/charts/StatTile.js +1 -1
  42. package/dist/charts/SunburstChart.js +1 -1
  43. package/dist/charts/TimeSeriesChart.js +1 -1
  44. package/dist/charts/TreemapChart.js +1 -1
  45. package/dist/charts/WaterfallChart.js +1 -1
  46. package/dist/chunk-23YQNCZ4.js +23 -0
  47. package/dist/chunk-2AEYVQ2R.js +2 -0
  48. package/dist/{chunk-MVOYVN3S.js → chunk-2YHS5E27.js} +1 -1
  49. package/dist/{chunk-X4E4RPFE.js → chunk-2YUAR2EH.js} +5 -5
  50. package/dist/{chunk-PPLPDP6D.js → chunk-3AUN7JSM.js} +1 -1
  51. package/dist/{chunk-FDDM7VMQ.js → chunk-3BQMICGG.js} +1 -1
  52. package/dist/{chunk-NILGK2KJ.js → chunk-3EYJ4G7L.js} +1 -1
  53. package/dist/{chunk-FXSGIT53.js → chunk-3GJVTK4H.js} +8 -8
  54. package/dist/chunk-3SKXWFGG.js +15 -0
  55. package/dist/{chunk-XD3M5ZXM.js → chunk-3TD3GH53.js} +6 -6
  56. package/dist/{chunk-4U5M37SF.js → chunk-4PJFL26P.js} +1 -1
  57. package/dist/{chunk-NA4XPE7S.js → chunk-53HHYEN4.js} +3 -3
  58. package/dist/{chunk-IUQJGFEO.js → chunk-5CHJA4RL.js} +8 -8
  59. package/dist/{chunk-OF5X4HKC.js → chunk-5JUXMNUC.js} +1 -1
  60. package/dist/{chunk-TB2ARUE2.js → chunk-5OHFBS2B.js} +1 -1
  61. package/dist/chunk-5ZOYYL46.js +4 -0
  62. package/dist/{chunk-TPKNHQIE.js → chunk-66NJCU4W.js} +8 -8
  63. package/dist/{chunk-BCQSNK2Z.js → chunk-6CFI4YGI.js} +4 -4
  64. package/dist/{chunk-LKAGXURQ.js → chunk-6MFKKTCE.js} +17 -17
  65. package/dist/{chunk-QNWC3RWK.js → chunk-6NXPOZ6X.js} +1 -1
  66. package/dist/{chunk-F4VILY3O.js → chunk-72UHB4JU.js} +1 -1
  67. package/dist/{chunk-7I5RJPY7.js → chunk-7AVPMO4F.js} +1 -1
  68. package/dist/{chunk-KYQKMBSY.js → chunk-7B6JPNOD.js} +5 -5
  69. package/dist/{chunk-JB4WXBJB.js → chunk-7G5HKAGV.js} +5 -5
  70. package/dist/{chunk-SUSJFGXN.js → chunk-7N42VDGT.js} +9 -9
  71. package/dist/{chunk-YCXQDUTW.js → chunk-7PAZO65L.js} +6 -6
  72. package/dist/{chunk-4G7PJ325.js → chunk-A5FC4LR7.js} +1 -1
  73. package/dist/{chunk-G5UGCAWN.js → chunk-A6TOHNJY.js} +1 -1
  74. package/dist/{chunk-HPZLV3KD.js → chunk-AFYLMXOJ.js} +5 -5
  75. package/dist/{chunk-XAT2MKNU.js → chunk-AH2NEKEN.js} +4 -4
  76. package/dist/{chunk-G7SILKUY.js → chunk-AQVPWUJ3.js} +5 -5
  77. package/dist/{chunk-63E4ZZYI.js → chunk-BEXFMSNK.js} +2 -2
  78. package/dist/{chunk-HOROMBJB.js → chunk-BL347U3N.js} +6 -6
  79. package/dist/chunk-BT636U6W.js +92 -0
  80. package/dist/{chunk-OUYGLDQN.js → chunk-BUUAALHH.js} +7 -7
  81. package/dist/{chunk-7CBWSLCW.js → chunk-C7Z3ZMJH.js} +12 -12
  82. package/dist/{chunk-SF4IIV5Z.js → chunk-CJQPC2P3.js} +2 -2
  83. package/dist/{chunk-5POQCJL6.js → chunk-CUJ537IY.js} +4 -4
  84. package/dist/{chunk-E7BQZL7X.js → chunk-D4432YRW.js} +1 -1
  85. package/dist/{chunk-RDVC32EV.js → chunk-D5HFWOW7.js} +16 -16
  86. package/dist/{chunk-GEITUFYK.js → chunk-D5PXRJHA.js} +19 -19
  87. package/dist/{chunk-VRJKV44O.js → chunk-DAUE6ULT.js} +1 -1
  88. package/dist/{chunk-YWMCW5BN.js → chunk-DTRJLQWO.js} +1 -1
  89. package/dist/{chunk-WJMPTW3G.js → chunk-DV6TUXCZ.js} +1 -1
  90. package/dist/{chunk-23LK4PLJ.js → chunk-E4GF7M4S.js} +8 -8
  91. package/dist/chunk-EJJTDUN3.js +22 -0
  92. package/dist/{chunk-RA2UNNJC.js → chunk-F3EBYHIE.js} +10 -10
  93. package/dist/chunk-FBI3XJWH.js +11 -0
  94. package/dist/{chunk-WJTNQ7YD.js → chunk-FE7H6RXE.js} +2 -2
  95. package/dist/{chunk-YQ5JHHLE.js → chunk-FMBUR4EU.js} +1 -1
  96. package/dist/{chunk-IOLUF3UL.js → chunk-GKYGPCGL.js} +1 -1
  97. package/dist/{chunk-Q4MOT7TY.js → chunk-GPU7LLTJ.js} +1 -1
  98. package/dist/{chunk-ZCGT5YNR.js → chunk-GRAFJD3L.js} +1 -1
  99. package/dist/{chunk-L4ZQY4ZG.js → chunk-GZRNOIEE.js} +3 -3
  100. package/dist/{chunk-VQ35LXDC.js → chunk-I2NVBDKH.js} +1 -1
  101. package/dist/{chunk-EZYXY67W.js → chunk-IJG4UEKF.js} +8 -8
  102. package/dist/{chunk-JGKUENPD.js → chunk-IM23VMBR.js} +1 -1
  103. package/dist/{chunk-5EC62E65.js → chunk-IM2PF6VQ.js} +2 -2
  104. package/dist/{chunk-BVX7LUAW.js → chunk-IMH5H47S.js} +3 -3
  105. package/dist/{chunk-3SIRRK3F.js → chunk-J5OAQAAD.js} +4 -4
  106. package/dist/{chunk-SZFULV7I.js → chunk-J5W63XNR.js} +6 -6
  107. package/dist/{chunk-GNRH43N3.js → chunk-JJYTN72U.js} +2 -2
  108. package/dist/{chunk-HMOKKMIV.js → chunk-JLSXDYS4.js} +2 -2
  109. package/dist/{chunk-UC5IC3AM.js → chunk-JVENCUUG.js} +9 -9
  110. package/dist/{chunk-EFVQQF6F.js → chunk-JXJNQHPY.js} +19 -19
  111. package/dist/{chunk-HPHDLN6E.js → chunk-JYR4V4AG.js} +2 -2
  112. package/dist/{chunk-EG5MU7XL.js → chunk-JZ43635V.js} +1 -1
  113. package/dist/{chunk-KQCJWK55.js → chunk-KC2EQCBE.js} +6 -6
  114. package/dist/{chunk-P52LXNUU.js → chunk-L744YF4X.js} +1 -1
  115. package/dist/{chunk-SXHV5OLA.js → chunk-LC2UF3AA.js} +1 -1
  116. package/dist/{chunk-GUSENWAH.js → chunk-LLDGRPLF.js} +1 -1
  117. package/dist/{chunk-KNZ7YTFH.js → chunk-LLSGIMLG.js} +1 -1
  118. package/dist/{chunk-JPSWWIBW.js → chunk-LQIHBIXG.js} +6 -6
  119. package/dist/chunk-M36B3M2H.js +8 -0
  120. package/dist/{chunk-2J3C2RR4.js → chunk-M3HTP2N6.js} +6 -6
  121. package/dist/{chunk-BZRFD4DK.js → chunk-M4REKOGO.js} +1 -1
  122. package/dist/{chunk-ZNV75GAG.js → chunk-MEFB2KGF.js} +1 -1
  123. package/dist/{chunk-U2ZTHOQL.js → chunk-MMA3WTF2.js} +4 -4
  124. package/dist/chunk-MRZLFZNJ.js +6 -0
  125. package/dist/chunk-N64YAF5N.js +2 -0
  126. package/dist/chunk-N6PMH6DU.js +6 -0
  127. package/dist/chunk-NRHG4R2Q.js +1 -0
  128. package/dist/chunk-ODOWFVUE.js +28 -0
  129. package/dist/{chunk-G2JPTPRS.js → chunk-OFMZ6JM6.js} +13 -13
  130. package/dist/chunk-ONWFKCMB.js +14 -0
  131. package/dist/{chunk-XWJT6TFU.js → chunk-OSMRYND3.js} +1 -1
  132. package/dist/{chunk-6OCA7RKQ.js → chunk-P234FPKJ.js} +1 -1
  133. package/dist/{chunk-ZVDYRXNP.js → chunk-P4VOUPRF.js} +6 -6
  134. package/dist/{chunk-J4CVYOY3.js → chunk-P6H2B635.js} +10 -10
  135. package/dist/{chunk-ENDYHUUR.js → chunk-P73ZJ6QR.js} +1 -1
  136. package/dist/{chunk-5HFKVEWW.js → chunk-PFOTEDSQ.js} +1 -1
  137. package/dist/{chunk-FBS55WOX.js → chunk-PLESHI3E.js} +7 -7
  138. package/dist/{chunk-42DF7CDB.js → chunk-PPI4WJ3V.js} +7 -7
  139. package/dist/{chunk-M2TQOJ3G.js → chunk-PSVGB7KT.js} +1 -1
  140. package/dist/{chunk-223XYIIH.js → chunk-Q2RNFBYS.js} +1 -1
  141. package/dist/{chunk-6OGX7V7L.js → chunk-Q36KB5RQ.js} +7 -7
  142. package/dist/{chunk-WPGSU4QG.js → chunk-Q7CM4UDG.js} +2 -2
  143. package/dist/{chunk-XOCRRCCP.js → chunk-QNQNOTTS.js} +1 -1
  144. package/dist/{chunk-25T4YQO7.js → chunk-QPVYBN4J.js} +2 -2
  145. package/dist/{chunk-FUPU7Z2G.js → chunk-QRPPWLKU.js} +7 -7
  146. package/dist/{chunk-7SVSHJOO.js → chunk-QZ2XRFDP.js} +6 -6
  147. package/dist/{chunk-IE6TRMIW.js → chunk-R3BSWWGB.js} +1 -1
  148. package/dist/{chunk-CCLK2RPQ.js → chunk-R7CYBBJY.js} +13 -13
  149. package/dist/{chunk-FFRJ6QZK.js → chunk-RB3BMRNA.js} +1 -1
  150. package/dist/{chunk-FZYUTZEV.js → chunk-RFWBNKKB.js} +10 -10
  151. package/dist/{chunk-S25KELFW.js → chunk-RKSCB5BJ.js} +5 -5
  152. package/dist/{chunk-F3E3CEZM.js → chunk-RM2I6DIF.js} +1 -1
  153. package/dist/{chunk-QBMMORYP.js → chunk-ROYHU3E5.js} +1 -1
  154. package/dist/chunk-S4RD6UJU.js +8 -0
  155. package/dist/{chunk-RDETBXMP.js → chunk-SAHRIE35.js} +1 -1
  156. package/dist/{chunk-MOKABQCY.js → chunk-SAMPXZF3.js} +3 -3
  157. package/dist/{chunk-W2TPXKCV.js → chunk-SCNQK5NF.js} +1 -1
  158. package/dist/{chunk-SM3N5UJ2.js → chunk-TDUOBP55.js} +9 -9
  159. package/dist/{chunk-BG3C4ALM.js → chunk-TJ5YMXVB.js} +1 -1
  160. package/dist/{chunk-SHHRC5XK.js → chunk-TJG76Y7I.js} +9 -9
  161. package/dist/{chunk-VFSAJMNX.js → chunk-TNGIXSTM.js} +1 -1
  162. package/dist/{chunk-BNPWUCZX.js → chunk-TSCJG6UM.js} +1 -1
  163. package/dist/{chunk-ETQ45TBW.js → chunk-TTYTOLVV.js} +1 -1
  164. package/dist/{chunk-DO3DSSAW.js → chunk-U73K3ICC.js} +1 -1
  165. package/dist/{chunk-FRCTA5FS.js → chunk-UAXL44HH.js} +1 -1
  166. package/dist/{chunk-CWVQH2SP.js → chunk-UDJPSHVI.js} +1 -1
  167. package/dist/{chunk-L2WBCXG7.js → chunk-UFJR63AO.js} +1 -1
  168. package/dist/{chunk-YT5HMLC7.js → chunk-UJY5RUZ5.js} +1 -1
  169. package/dist/{chunk-R6GXVLY7.js → chunk-UMIRPFQJ.js} +1 -1
  170. package/dist/chunk-UUY66GLZ.js +1 -0
  171. package/dist/{chunk-WRV6QKJN.js → chunk-UVPDEGIA.js} +1 -1
  172. package/dist/{chunk-YE2YU526.js → chunk-VB3UHY2J.js} +1 -1
  173. package/dist/{chunk-KEVJBI5Q.js → chunk-VTCMO3K7.js} +1 -1
  174. package/dist/{chunk-2TXQCA4C.js → chunk-W24THMLI.js} +8 -8
  175. package/dist/{chunk-VXSYHTBP.js → chunk-W3454ZES.js} +1 -1
  176. package/dist/{chunk-EFO72DEI.js → chunk-WCAABJEV.js} +1 -1
  177. package/dist/{chunk-OZ4R6U2M.js → chunk-WREUA43Q.js} +1 -1
  178. package/dist/{chunk-ELPW25CA.js → chunk-XX34ZFYB.js} +4 -4
  179. package/dist/chunk-XYQFTFI7.js +24 -0
  180. package/dist/{chunk-UFX7F3KG.js → chunk-XYVFJLAU.js} +1 -1
  181. package/dist/{chunk-A7VNKVZO.js → chunk-XYXCZIJY.js} +4 -4
  182. package/dist/{chunk-ZCN5BU4U.js → chunk-YBE66FBR.js} +1 -1
  183. package/dist/{chunk-6QH7I2V5.js → chunk-Z6J4KXY3.js} +2 -2
  184. package/dist/{chunk-NY6MLFBX.js → chunk-ZBGPAUOH.js} +5 -5
  185. package/dist/{chunk-LADP6AJY.js → chunk-ZFWCTHR4.js} +7 -7
  186. package/dist/{chunk-ORV2AVIJ.js → chunk-ZRWZHWKI.js} +2 -2
  187. package/dist/data/DataTable.js +1 -1
  188. package/dist/data/EntityList.js +1 -1
  189. package/dist/data/Gantt.js +1 -1
  190. package/dist/data/Kanban.js +1 -1
  191. package/dist/data/ListFooter.js +1 -1
  192. package/dist/data/ListLoadError.js +1 -1
  193. package/dist/data/Pagination.js +1 -1
  194. package/dist/data/ResizableTable.js +1 -1
  195. package/dist/file-intake/index.js +1 -1
  196. package/dist/forms/BorderInput.js +1 -1
  197. package/dist/forms/BrandAssetEditor.js +1 -1
  198. package/dist/forms/Calendar.js +1 -1
  199. package/dist/forms/ColorPicker.js +1 -1
  200. package/dist/forms/ComposerAttachments.js +1 -1
  201. package/dist/forms/CornersInput.js +1 -1
  202. package/dist/forms/DatePicker.js +1 -1
  203. package/dist/forms/DateRangePicker.js +1 -1
  204. package/dist/forms/DateTimePicker.js +1 -1
  205. package/dist/forms/DisplayChips.js +1 -1
  206. package/dist/forms/FilePicker.js +1 -1
  207. package/dist/forms/FormErrorSummary.js +1 -1
  208. package/dist/forms/IconPicker.js +1 -1
  209. package/dist/forms/ImageFocusPoint.js +1 -1
  210. package/dist/forms/Input.js +1 -1
  211. package/dist/forms/InputNumber.js +1 -1
  212. package/dist/forms/LinkPicker.js +1 -1
  213. package/dist/forms/MediaLibrary.js +1 -1
  214. package/dist/forms/MediaUploadField.js +1 -1
  215. package/dist/forms/MediaUploadGrid.js +1 -1
  216. package/dist/forms/MediaUsedInList.js +1 -1
  217. package/dist/forms/NumericKeypad.js +1 -1
  218. package/dist/forms/PositionInput.js +1 -1
  219. package/dist/forms/RenameField.js +1 -1
  220. package/dist/forms/Select.js +1 -1
  221. package/dist/forms/SidesInput.js +1 -1
  222. package/dist/forms/Slider.js +1 -1
  223. package/dist/forms/Snippet.js +1 -1
  224. package/dist/forms/TagInput.js +1 -1
  225. package/dist/forms/TextToolbar.js +1 -1
  226. package/dist/forms/TimePicker.js +1 -1
  227. package/dist/forms/WidthsBar.js +1 -1
  228. package/dist/forms/mediaLibraryMenu.js +1 -1
  229. package/dist/forms/mediaMoveItems.js +1 -1
  230. package/dist/forms/textAlign.js +1 -1
  231. package/dist/forms/useFileIntake.js +1 -1
  232. package/dist/hooks/index.d.ts +2 -2
  233. package/dist/hooks/useTheme.d.ts +1 -1
  234. package/dist/index.d.ts +24 -2
  235. package/dist/index.js +504 -504
  236. package/dist/locales/zh-Hans.js +1 -1
  237. package/dist/map/index.js +3 -3
  238. package/dist/model-viewer/index.js +3 -3
  239. package/dist/page-tabs/index.js +5 -5
  240. package/dist/pdf/index.js +1 -1
  241. package/dist/shell/Accordion.js +1 -1
  242. package/dist/shell/AppUpdateBanner.js +1 -1
  243. package/dist/shell/Avatar.js +1 -1
  244. package/dist/shell/Banner.js +1 -1
  245. package/dist/shell/Breadcrumbs.js +1 -1
  246. package/dist/shell/BudgetBar.js +1 -1
  247. package/dist/shell/Card.js +1 -1
  248. package/dist/shell/ColoredBadge.js +1 -1
  249. package/dist/shell/ConfirmDialog.js +1 -1
  250. package/dist/shell/ContainerFillChart.js +1 -1
  251. package/dist/shell/CountBadge.js +1 -1
  252. package/dist/shell/Dialog.js +1 -1
  253. package/dist/shell/Drawer.js +1 -1
  254. package/dist/shell/EditableGrid.js +1 -1
  255. package/dist/shell/EmptyState.js +1 -1
  256. package/dist/shell/GlobalSearch.js +1 -1
  257. package/dist/shell/HelpCenter.js +1 -1
  258. package/dist/shell/IconRail.js +1 -1
  259. package/dist/shell/ImageLightbox.js +1 -1
  260. package/dist/shell/ItemCount.js +1 -1
  261. package/dist/shell/LanguageSelect.js +1 -1
  262. package/dist/shell/Markdown.js +1 -1
  263. package/dist/shell/MetricBar.js +1 -1
  264. package/dist/shell/MetricBarLegend.js +1 -1
  265. package/dist/shell/MilestoneTimeline.js +1 -1
  266. package/dist/shell/PageHeader.js +1 -1
  267. package/dist/shell/ProductionTimeline.js +1 -1
  268. package/dist/shell/ResizeHandle.js +1 -1
  269. package/dist/shell/Result.js +1 -1
  270. package/dist/shell/SearchableSelect.js +1 -1
  271. package/dist/shell/SettingReset.js +1 -1
  272. package/dist/shell/SettingRow.js +1 -1
  273. package/dist/shell/SidebarLayout.js +1 -1
  274. package/dist/shell/SidebarNav.js +1 -1
  275. package/dist/shell/SortableList.js +1 -1
  276. package/dist/shell/Statistic.js +1 -1
  277. package/dist/shell/TimeAgo.js +1 -1
  278. package/dist/shell/TimelineTrack.js +1 -1
  279. package/dist/shell/TransferProgress.js +1 -1
  280. package/dist/shell/Tree.js +1 -1
  281. package/dist/shell/discardGuard.js +1 -1
  282. package/dist/shell/language.js +1 -1
  283. package/dist/shell/strings.d.ts +3 -0
  284. package/dist/shell/strings.js +1 -1
  285. package/dist/shell/toast.js +1 -1
  286. package/dist/telemetry/index.js +1 -1
  287. package/dist/templates/AuthScreen.js +1 -1
  288. package/dist/templates/ChatTemplate.js +1 -1
  289. package/dist/templates/CheckoutTemplate.js +1 -1
  290. package/dist/templates/DashboardTemplate.js +1 -1
  291. package/dist/templates/DataTablePage.js +1 -1
  292. package/dist/templates/EmailTemplate.js +1 -1
  293. package/dist/templates/ErrorBoundary.js +1 -1
  294. package/dist/templates/ErrorPage.js +1 -1
  295. package/dist/templates/FormLayoutPage.js +1 -1
  296. package/dist/templates/GalleryTemplate.js +1 -1
  297. package/dist/tokens/colour.d.ts +2 -2
  298. package/dist/ui/index.js +1 -1
  299. package/dist/version.js +1 -1
  300. package/package.json +1 -1
  301. package/dist/Calculator-V5SACDGQ.js +0 -29
  302. package/dist/CurrencyConverter-B3NWE6LM.js +0 -21
  303. package/dist/Notepad-GGBFJNRE.js +0 -24
  304. package/dist/Sidebar-UCCVJFSY.js +0 -44
  305. package/dist/chunk-ABPVCVCT.js +0 -22
  306. package/dist/chunk-BWQHABH7.js +0 -4
  307. package/dist/chunk-CILE3ZCC.js +0 -2
  308. package/dist/chunk-FMLUQCFB.js +0 -2
  309. package/dist/chunk-GMLOMLCS.js +0 -24
  310. package/dist/chunk-HC5KQZFG.js +0 -8
  311. package/dist/chunk-IUVGHHR3.js +0 -1
  312. package/dist/chunk-IXJIHTUI.js +0 -91
  313. package/dist/chunk-JPE4TYRQ.js +0 -14
  314. package/dist/chunk-KGAYYSFE.js +0 -6
  315. package/dist/chunk-LQCNIQ3I.js +0 -8
  316. package/dist/chunk-OXWBSZL2.js +0 -23
  317. package/dist/chunk-PBSCF2ML.js +0 -15
  318. package/dist/chunk-QNXTVDIC.js +0 -11
  319. package/dist/chunk-UTQN5AIO.js +0 -6
  320. package/dist/chunk-VGUYAVDG.js +0 -1
  321. package/dist/chunk-XXTAMF3O.js +0 -28
@@ -1,91 +1,91 @@
1
- import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-YE2YU526.js";import{subscribePomo as o,getPomoSnapshot as n,setPomoDurations as a,setPomoAlarm as r,setPomoAlarmConfig as s,setPomoBehaviour as i,setPomoFocusSound as l,useTodoTasks as c,pomodoroToday as u,migratePomodoroTasksOnce as d,pomoSwitchMode as m,pomoPause as h,pomoStart as p,ALARM_OPTIONS as g,playAlarm as k,FOCUS_SOUND_OPTIONS as f,previewFocusSound as b}from"./chunk-HPHDLN6E.js";import{PLACEHOLDER_INK as x}from"./chunk-AYZY3YNC.js";import{formatTime as v}from"./chunk-NHKT5IH6.js";import"./chunk-36BRD5J3.js";import"./chunk-JRQMX4PK.js";import{pad2 as y}from"./chunk-LF27WIN2.js";import{useWidgetSettings as N}from"./chunk-IXJIHTUI.js";import"./chunk-4LXCCZDM.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-YI4T5I5D.js";import"./chunk-M2TQOJ3G.js";import"./chunk-FBZUEZK7.js";import"./chunk-5A7MWTXX.js";import"./chunk-BG3C4ALM.js";import"./chunk-GMLOMLCS.js";import"./chunk-UTQN5AIO.js";import"./chunk-EIFNESXS.js";import"./chunk-SXHV5OLA.js";import"./chunk-SF4IIV5Z.js";import"./chunk-FRCTA5FS.js";import"./chunk-VWGWZY7A.js";import"./chunk-UVHXVSB2.js";import"./chunk-WRV6QKJN.js";import"./chunk-AW7TOB6N.js";import"./chunk-4U5M37SF.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as C}from"./chunk-DPFEQQQU.js";import"./chunk-DWGYC7OD.js";import"./chunk-YDJ5IZOU.js";import"./chunk-THAPVKEJ.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-UTISUEO4.js";import"./chunk-BUFAJJDZ.js";import{Icon as j}from"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-BWJZTHZ6.js";import"./chunk-TD3ZQD5R.js";import"./chunk-F2RAIGCG.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-VY3UA6AR.js";import"./chunk-WCCS4VFE.js";import"./chunk-ZDXRSY2Y.js";import"./chunk-STKJA4PV.js";import"./chunk-M6UKCZHT.js";import"./chunk-VQ35LXDC.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-MAFUXCPZ.js";import"./chunk-IUVGHHR3.js";import"./chunk-C3QOHMR6.js";import{useSyncExternalStore as S,useEffect as w,useMemo as B,useState as M,useRef as T,useCallback as I}from"react";import{jsxs as P,Fragment as A,jsx as V}from"react/jsx-runtime";var D="pomodoro_appearance",R="pomodoro_active_task_id",L={focus:"Pomodoro",short:"Short Break",long:"Long Break"},U={focus:"#0f172a",short:"#508a52",long:"#5b7898"};var F=25,W=5,$=15,E=!1,H=!1,J=4,Z=!0,O=!0,Q="bell",Y=100,G=1,K="none",X=50,_=(e,t,o,n)=>"number"==typeof e&&isFinite(e)?Math.max(t,Math.min(o,Math.round(e))):n;function z(){const t=S(o,n,n),{prefs:k,save:b}=C(),x=function(e){const t=e&&"object"==typeof e?e:{};return{focusMinutes:_(t.focusMinutes,1,120,F),shortBreakMinutes:_(t.shortBreakMinutes,1,120,W),longBreakMinutes:_(t.longBreakMinutes,1,120,$),autoStartBreaks:"boolean"==typeof t.autoStartBreaks?t.autoStartBreaks:E,autoStartPomodoros:"boolean"==typeof t.autoStartPomodoros?t.autoStartPomodoros:H,longBreakInterval:_(t.longBreakInterval,1,20,J),autoCheckTasks:"boolean"==typeof t.autoCheckTasks?t.autoCheckTasks:Z,checkToBottom:"boolean"==typeof t.checkToBottom?t.checkToBottom:O,alarmSound:g.some(e=>e.id===t.alarmSound)?t.alarmSound:Q,alarmVolume:_(t.alarmVolume,0,100,Y),alarmRepeat:_(t.alarmRepeat,1,5,G),focusSound:f.some(e=>e.id===t.focusSound)?t.focusSound:K,focusVolume:_(t.focusVolume,0,100,X)}}(k.pomodoro_settings);w(()=>{a({focus:60*x.focusMinutes,short:60*x.shortBreakMinutes,long:60*x.longBreakMinutes})},[x.focusMinutes,x.shortBreakMinutes,x.longBreakMinutes]),w(()=>{r(x.alarmSound),s(x.alarmVolume,x.alarmRepeat)},[x.alarmSound,x.alarmVolume,x.alarmRepeat]),w(()=>{i({autoStartBreaks:x.autoStartBreaks,autoStartPomodoros:x.autoStartPomodoros,longBreakInterval:x.longBreakInterval})},[x.autoStartBreaks,x.autoStartPomodoros,x.longBreakInterval]),w(()=>{l(x.focusSound,x.focusVolume)},[x.focusSound,x.focusVolume]),w(()=>{if("undefined"!=typeof Notification&&"default"===Notification.permission)try{Notification.requestPermission()}catch{}},[]);const z=c(),ee=z.tasks,te=B(()=>u(),[]),oe=function(e,t){return B(()=>t?(e=>{const t=[],o=[];for(const n of e)(n.done?o:t).push(n);return[...t,...o]})(e):e,[e,t])}(B(()=>ee.filter(e=>!!e.dueDate&&(e.dueDate===te||e.dueDate<te&&!e.done)),[ee,te]),x.checkToBottom),[ne,ae]=M(()=>localStorage.getItem(R)),[re,se]=M(!1),[ie,le]=M(null),ce=T(!1);w(()=>{ce.current||(ce.current=!0,d(ee,z.setAllTasks))},[]),w(()=>{try{ne?localStorage.setItem(R,ne):localStorage.removeItem(R)}catch{}},[ne]),w(()=>{if(!ie)return;const e=()=>le(null),t=setTimeout(()=>document.addEventListener("click",e),0);return()=>{clearTimeout(t),document.removeEventListener("click",e)}},[ie]);const ue=T(t.streak);w(()=>{if(t.streak>ue.current&&ne){const e=ee.find(e=>e.id===ne);if(e){const t=(e.completed??0)+1,o=e.estimated??0,n=x.autoCheckTasks&&o>0&&t>=o;z.updateTask(ne,{completed:t,done:e.done||n})}}ue.current=t.streak},[t.streak,ne,x.autoCheckTasks,ee,z]);const me=oe.reduce((e,t)=>e+(t.completed??0),0),he=oe.reduce((e,t)=>e+Math.max(t.estimated??0,t.completed??0),0),pe=oe.reduce((e,t)=>t.done?e:e+Math.max(0,(t.estimated??0)-(t.completed??0)),0),ge=t.running&&"focus"===t.mode?t.remaining:0,ke=pe*x.focusMinutes*60+ge,fe=new Date(Date.now()+1e3*ke),be=v(fe.toISOString(),{clock:{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}}),xe=(ke/3600).toFixed(1),ve=ne?ee.find(e=>e.id===ne)??null:null,ye=y(Math.floor(t.remaining/60)),Ne=y(t.remaining%60),[Ce,je]=M(()=>e(D)),[Se,we]=M(!1),[Be,Me]=M(Ce),[Te,Ie]=M(x);N(I(()=>{Me({...Ce}),Ie({...x}),we(!0)},[Ce,x]));const Pe="focus"!==t.mode,Ae=U[t.mode],Ve=Pe?(De=Ae,Re=Ce.activeOpacity/100,`rgba(${parseInt(De.slice(1,3),16)}, ${parseInt(De.slice(3,5),16)}, ${parseInt(De.slice(5,7),16)}, ${Re})`):`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${Ce.activeOpacity/100})`;var De,Re;const Le={primary:Pe?"text-white":"text-gray-900",secondary:Pe?"text-white/85":"text-gray-700",muted:Pe?"text-white/65":"text-gray-500",tabActive:Pe?"bg-white/15 text-white":"bg-gray-200 text-gray-900",tabInactive:Pe?"text-white/75 hover:bg-white/10":"text-gray-500 hover:bg-gray-200",divider:Pe?"border-white/30":"border-gray-200",softDivider:Pe?"border-white/20":"border-gray-200",iconBtn:Pe?"bg-black/15 hover:bg-black/25 text-white/85":"bg-gray-200 hover:bg-gray-300 text-gray-600",addTaskBtn:Pe?"border-white/45 text-white/90 hover:bg-white/[0.06]":"border-gray-300 text-gray-500 hover:bg-gray-200/50"},Ue=Pe?Ae:"#0f172a";/* @__PURE__ */
2
- return P(A,{children:[
3
- /* @__PURE__ */P("div",{className:`flex flex-col h-full select-none transition-colors duration-300 ${Le.primary}`,style:{backgroundColor:Ve,backdropFilter:Ce.activeBlur>0?`blur(${Ce.activeBlur}px)`:void 0},children:[
4
- /* @__PURE__ */V("div",{className:"px-3 pt-3 flex justify-center gap-2",children:["focus","short","long"].map(e=>/* @__PURE__ */V("button",{onClick:()=>m(e),className:`px-3 py-1 text-sm font-bold rounded transition-colors ${t.mode===e?Le.tabActive:Le.tabInactive}`,children:L[e]},e))}),
5
- /* @__PURE__ */P("div",{className:"text-center font-bold tabular-nums leading-none tracking-tight mt-3",style:{fontSize:"4.5rem"},children:[ye,":",Ne]}),
6
- /* @__PURE__ */V("div",{className:"flex justify-center mt-3 mb-2",children:/* @__PURE__ */V("button",{onClick:()=>t.running?h():p(),className:"bg-surface px-12 py-3 rounded-md font-bold text-base shadow-[0_4px_0_rgba(0,0,0,0.12)] hover:shadow-[0_3px_0_rgba(0,0,0,0.12)] active:translate-y-1 active:shadow-none transition-all",style:{color:Ue,letterSpacing:"0.08em"},children:t.running?"PAUSE":"START"})}),
7
- /* @__PURE__ */V("div",{className:"px-3 py-3 text-center",children:ve?/* @__PURE__ */P(A,{children:[
8
- /* @__PURE__ */P("div",{className:`text-xs leading-tight ${Le.muted}`,children:["#",(ve.completed??0)+1]}),
9
- /* @__PURE__ */V("div",{className:`text-base font-medium leading-tight truncate mt-0.5 ${Le.primary}`,children:ve.name})]}):/* @__PURE__ */V("div",{className:`text-xs italic ${Le.muted}`,children:"No task selected"})}),
10
- /* @__PURE__ */P("div",{className:"px-3 mt-1 flex items-center justify-between",children:[
11
- /* @__PURE__ */V("h3",{className:`text-base font-bold tracking-tight ${Le.primary}`,children:"Tasks"}),
12
- /* @__PURE__ */V("button",{className:`rounded p-1 transition-colors ${Le.iconBtn}`,"aria-label":"Tasks menu",tabIndex:-1,children:/* @__PURE__ */V(j,{name:"more-vertical",look:"solid",className:"h-4 w-4"})})]}),
13
- /* @__PURE__ */V("div",{className:`border-t mx-3 mt-2 ${Le.divider}`}),
14
- /* @__PURE__ */P("div",{className:"flex-1 px-3 py-3 space-y-2 overflow-y-auto",children:[oe.map(e=>{const t=e.id===ne;/* @__PURE__ */
15
- return P("div",{onClick:()=>ae(e.id),className:"bg-surface text-ink-strong rounded-md flex items-center pr-2 py-3 shadow-sm cursor-pointer transition-shadow hover:shadow-(--elevation-panel) "+(t?"border-l-4 border-gray-700 pl-2":"pl-3 border-l-4 border-transparent"),children:[
16
- /* @__PURE__ */V("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,z.toggleDone(o)},className:"shrink-0",children:e.done?/* @__PURE__ */V("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",style:{color:Ue},children:/* @__PURE__ */V("path",{d:"M10 0a10 10 0 100 20 10 10 0 000-20zm-1 14.5l-4.5-4.5 1.4-1.4 3.1 3.1 6.1-6.1 1.4 1.4z"})}):/* @__PURE__ */V("svg",{className:"h-5 w-5 text-gray-300",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:/* @__PURE__ */V("circle",{cx:"12",cy:"12",r:"10"})})}),
1
+ import{loadAppearance as e,WidgetSettingsModal as t}from"./chunk-VB3UHY2J.js";import{subscribePomo as o,getPomoSnapshot as n,setPomoDurations as a,setPomoAlarm as r,setPomoAlarmConfig as s,setPomoBehaviour as i,setPomoFocusSound as l,useTodoTasks as c,pomodoroToday as u,migratePomodoroTasksOnce as d,pomoSwitchMode as m,pomoPause as h,pomoStart as p,ALARM_OPTIONS as g,playAlarm as k,FOCUS_SOUND_OPTIONS as f,previewFocusSound as b}from"./chunk-JYR4V4AG.js";import{PLACEHOLDER_INK as x}from"./chunk-AYZY3YNC.js";import{formatTime as v}from"./chunk-NHKT5IH6.js";import"./chunk-36BRD5J3.js";import"./chunk-JRQMX4PK.js";import{pad2 as y}from"./chunk-LF27WIN2.js";import{useWidgetSettings as N}from"./chunk-BT636U6W.js";import"./chunk-4LXCCZDM.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-YI4T5I5D.js";import"./chunk-PSVGB7KT.js";import"./chunk-FBZUEZK7.js";import"./chunk-5A7MWTXX.js";import"./chunk-TJ5YMXVB.js";import"./chunk-XYQFTFI7.js";import"./chunk-MRZLFZNJ.js";import"./chunk-EIFNESXS.js";import"./chunk-LC2UF3AA.js";import"./chunk-CJQPC2P3.js";import"./chunk-UAXL44HH.js";import"./chunk-VWGWZY7A.js";import"./chunk-UVHXVSB2.js";import"./chunk-UVPDEGIA.js";import"./chunk-AW7TOB6N.js";import"./chunk-4PJFL26P.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as C}from"./chunk-DPFEQQQU.js";import"./chunk-EX3DARI3.js";import"./chunk-VQBKRBBR.js";import"./chunk-DWGYC7OD.js";import"./chunk-YDJ5IZOU.js";import"./chunk-THAPVKEJ.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-UTISUEO4.js";import"./chunk-BUFAJJDZ.js";import{Icon as j}from"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import"./chunk-R2VKEMZH.js";import"./chunk-BWJZTHZ6.js";import"./chunk-TD3ZQD5R.js";import"./chunk-F2RAIGCG.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-VY3UA6AR.js";import"./chunk-WCCS4VFE.js";import"./chunk-ZDXRSY2Y.js";import"./chunk-STKJA4PV.js";import"./chunk-M6UKCZHT.js";import"./chunk-I2NVBDKH.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-MAFUXCPZ.js";import"./chunk-NRHG4R2Q.js";import"./chunk-C3QOHMR6.js";import{useSyncExternalStore as S,useEffect as w,useMemo as B,useState as T,useRef as M,useCallback as P}from"react";import{jsxs as I,Fragment as A,jsx as V}from"react/jsx-runtime";var D="pomodoro_appearance",R="pomodoro_active_task_id",U={focus:"Pomodoro",short:"Short Break",long:"Long Break"},F={focus:"#0f172a",short:"#508a52",long:"#5b7898"};var L=25,J=5,W=15,$=!1,E=!1,Y=4,Z=!0,H=!0,Q="bell",K=100,X=1,G="none",O=50,_=(e,t,o,n)=>"number"==typeof e&&isFinite(e)?Math.max(t,Math.min(o,Math.round(e))):n;function z(){const t=S(o,n,n),{prefs:k,save:b}=C(),x=function(e){const t=e&&"object"==typeof e?e:{};return{focusMinutes:_(t.focusMinutes,1,120,L),shortBreakMinutes:_(t.shortBreakMinutes,1,120,J),longBreakMinutes:_(t.longBreakMinutes,1,120,W),autoStartBreaks:"boolean"==typeof t.autoStartBreaks?t.autoStartBreaks:$,autoStartPomodoros:"boolean"==typeof t.autoStartPomodoros?t.autoStartPomodoros:E,longBreakInterval:_(t.longBreakInterval,1,20,Y),autoCheckTasks:"boolean"==typeof t.autoCheckTasks?t.autoCheckTasks:Z,checkToBottom:"boolean"==typeof t.checkToBottom?t.checkToBottom:H,alarmSound:g.some(e=>e.id===t.alarmSound)?t.alarmSound:Q,alarmVolume:_(t.alarmVolume,0,100,K),alarmRepeat:_(t.alarmRepeat,1,5,X),focusSound:f.some(e=>e.id===t.focusSound)?t.focusSound:G,focusVolume:_(t.focusVolume,0,100,O)}}(k.pomodoro_settings);w(()=>{a({focus:60*x.focusMinutes,short:60*x.shortBreakMinutes,long:60*x.longBreakMinutes})},[x.focusMinutes,x.shortBreakMinutes,x.longBreakMinutes]),w(()=>{r(x.alarmSound),s(x.alarmVolume,x.alarmRepeat)},[x.alarmSound,x.alarmVolume,x.alarmRepeat]),w(()=>{i({autoStartBreaks:x.autoStartBreaks,autoStartPomodoros:x.autoStartPomodoros,longBreakInterval:x.longBreakInterval})},[x.autoStartBreaks,x.autoStartPomodoros,x.longBreakInterval]),w(()=>{l(x.focusSound,x.focusVolume)},[x.focusSound,x.focusVolume]),w(()=>{if("undefined"!=typeof Notification&&"default"===Notification.permission)try{Notification.requestPermission()}catch{}},[]);const z=c(),ee=z.tasks,te=B(()=>u(),[]),oe=function(e,t){return B(()=>t?(e=>{const t=[],o=[];for(const n of e)(n.done?o:t).push(n);return[...t,...o]})(e):e,[e,t])}(B(()=>ee.filter(e=>!!e.dueDate&&(e.dueDate===te||e.dueDate<te&&!e.done)),[ee,te]),x.checkToBottom),[ne,ae]=T(()=>localStorage.getItem(R)),[re,se]=T(!1),[ie,le]=T(null),ce=M(!1);w(()=>{ce.current||(ce.current=!0,d(ee,z.setAllTasks))},[]),w(()=>{try{ne?localStorage.setItem(R,ne):localStorage.removeItem(R)}catch{}},[ne]),w(()=>{if(!ie)return;const e=()=>le(null),t=setTimeout(()=>document.addEventListener("click",e),0);return()=>{clearTimeout(t),document.removeEventListener("click",e)}},[ie]);const ue=M(t.streak);w(()=>{if(t.streak>ue.current&&ne){const e=ee.find(e=>e.id===ne);if(e){const t=(e.completed??0)+1,o=e.estimated??0,n=x.autoCheckTasks&&o>0&&t>=o;z.updateTask(ne,{completed:t,done:e.done||n})}}ue.current=t.streak},[t.streak,ne,x.autoCheckTasks,ee,z]);const me=oe.reduce((e,t)=>e+(t.completed??0),0),he=oe.reduce((e,t)=>e+Math.max(t.estimated??0,t.completed??0),0),pe=oe.reduce((e,t)=>t.done?e:e+Math.max(0,(t.estimated??0)-(t.completed??0)),0),ge=t.running&&"focus"===t.mode?t.remaining:0,ke=pe*x.focusMinutes*60+ge,fe=new Date(Date.now()+1e3*ke),be=v(fe.toISOString(),{clock:{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}}),xe=(ke/3600).toFixed(1),ve=ne?ee.find(e=>e.id===ne)??null:null,ye=y(Math.floor(t.remaining/60)),Ne=y(t.remaining%60),[Ce,je]=T(()=>e(D)),[Se,we]=T(!1),[Be,Te]=T(Ce),[Me,Pe]=T(x);N(P(()=>{Te({...Ce}),Pe({...x}),we(!0)},[Ce,x]));const Ie="focus"!==t.mode,Ae=F[t.mode],Ve=Ie?(De=Ae,Re=Ce.activeOpacity/100,`rgba(${parseInt(De.slice(1,3),16)}, ${parseInt(De.slice(3,5),16)}, ${parseInt(De.slice(5,7),16)}, ${Re})`):`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${Ce.activeOpacity/100})`;var De,Re;const Ue={primary:Ie?"text-white":"text-gray-900",secondary:Ie?"text-white/85":"text-gray-700",muted:Ie?"text-white/65":"text-gray-500",tabActive:Ie?"bg-white/15 text-white":"bg-gray-200 text-gray-900",tabInactive:Ie?"text-white/75 hover:bg-white/10":"text-gray-500 hover:bg-gray-200",divider:Ie?"border-white/30":"border-gray-200",softDivider:Ie?"border-white/20":"border-gray-200",iconBtn:Ie?"bg-black/15 hover:bg-black/25 text-white/85":"bg-gray-200 hover:bg-gray-300 text-gray-600",addTaskBtn:Ie?"border-white/45 text-white/90 hover:bg-white/[0.06]":"border-gray-300 text-gray-500 hover:bg-gray-200/50"},Fe=Ie?Ae:"#0f172a";/* @__PURE__ */
2
+ return I(A,{children:[
3
+ /* @__PURE__ */I("div",{className:`flex flex-col h-full select-none transition-colors duration-300 ${Ue.primary}`,style:{backgroundColor:Ve,backdropFilter:Ce.activeBlur>0?`blur(${Ce.activeBlur}px)`:void 0},children:[
4
+ /* @__PURE__ */V("div",{className:"px-3 pt-3 flex justify-center gap-2",children:["focus","short","long"].map(e=>/* @__PURE__ */V("button",{onClick:()=>m(e),className:`px-3 py-1 text-sm font-bold rounded transition-colors ${t.mode===e?Ue.tabActive:Ue.tabInactive}`,children:U[e]},e))}),
5
+ /* @__PURE__ */I("div",{className:"text-center font-bold tabular-nums leading-none tracking-tight mt-3",style:{fontSize:"4.5rem"},children:[ye,":",Ne]}),
6
+ /* @__PURE__ */V("div",{className:"flex justify-center mt-3 mb-2",children:/* @__PURE__ */V("button",{onClick:()=>t.running?h():p(),className:"bg-surface px-12 py-3 rounded-md font-bold text-base shadow-[0_4px_0_rgba(0,0,0,0.12)] hover:shadow-[0_3px_0_rgba(0,0,0,0.12)] active:translate-y-1 active:shadow-none transition-all",style:{color:Fe,letterSpacing:"0.08em"},children:t.running?"PAUSE":"START"})}),
7
+ /* @__PURE__ */V("div",{className:"px-3 py-3 text-center",children:ve?/* @__PURE__ */I(A,{children:[
8
+ /* @__PURE__ */I("div",{className:`text-xs leading-tight ${Ue.muted}`,children:["#",(ve.completed??0)+1]}),
9
+ /* @__PURE__ */V("div",{className:`text-base font-medium leading-tight truncate mt-0.5 ${Ue.primary}`,children:ve.name})]}):/* @__PURE__ */V("div",{className:`text-xs italic ${Ue.muted}`,children:"No task selected"})}),
10
+ /* @__PURE__ */I("div",{className:"px-3 mt-1 flex items-center justify-between",children:[
11
+ /* @__PURE__ */V("h3",{className:`text-base font-bold tracking-tight ${Ue.primary}`,children:"Tasks"}),
12
+ /* @__PURE__ */V("button",{className:`rounded p-1 transition-colors ${Ue.iconBtn}`,"aria-label":"Tasks menu",tabIndex:-1,children:/* @__PURE__ */V(j,{name:"more-vertical",look:"solid",className:"h-4 w-4"})})]}),
13
+ /* @__PURE__ */V("div",{className:`border-t mx-3 mt-2 ${Ue.divider}`}),
14
+ /* @__PURE__ */I("div",{className:"flex-1 px-3 py-3 space-y-2 overflow-y-auto",children:[oe.map(e=>{const t=e.id===ne;/* @__PURE__ */
15
+ return I("div",{onClick:()=>ae(e.id),className:"bg-surface text-ink-strong rounded-md flex items-center pr-2 py-3 shadow-sm cursor-pointer transition-shadow hover:shadow-(--elevation-panel) "+(t?"border-l-4 border-gray-700 pl-2":"pl-3 border-l-4 border-transparent"),children:[
16
+ /* @__PURE__ */V("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,z.toggleDone(o)},className:"shrink-0",children:e.done?/* @__PURE__ */V("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",style:{color:Fe},children:/* @__PURE__ */V("path",{d:"M10 0a10 10 0 100 20 10 10 0 000-20zm-1 14.5l-4.5-4.5 1.4-1.4 3.1 3.1 6.1-6.1 1.4 1.4z"})}):/* @__PURE__ */V("svg",{className:"h-5 w-5 text-gray-300",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:/* @__PURE__ */V("circle",{cx:"12",cy:"12",r:"10"})})}),
17
17
  /* @__PURE__ */V("span",{className:"ml-3 flex-1 font-semibold truncate "+(e.done?"line-through text-gray-400":"text-gray-800"),children:e.name}),
18
- /* @__PURE__ */P("span",{className:"text-sm tabular-nums mr-2 shrink-0",children:[
18
+ /* @__PURE__ */I("span",{className:"text-sm tabular-nums mr-2 shrink-0",children:[
19
19
  /* @__PURE__ */V("span",{className:"font-bold text-gray-500",children:e.completed??0}),
20
20
  /* @__PURE__ */V("span",{className:"text-gray-400",children:" / "}),
21
21
  /* @__PURE__ */V("span",{className:"text-gray-400",children:e.estimated??"–"})]}),
22
- /* @__PURE__ */P("div",{className:"relative",children:[
23
- /* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),le(ie===e.id?null:e.id)},className:"rounded p-1 bg-gray-100 hover:bg-gray-200",children:/* @__PURE__ */V(j,{name:"more-vertical",look:"solid",className:"h-4 w-4 text-ink-faint"})}),ie===e.id&&/* @__PURE__ */V("div",{className:"absolute right-0 top-full mt-1 bg-white text-gray-800 rounded shadow-lg border border-gray-200 z-10 min-w-[110px] overflow-hidden",onClick:e=>e.stopPropagation(),children:/* @__PURE__ */V("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,z.removeTask(o),ne===o&&ae(null),le(null)},className:"block w-full px-3 h-8 text-sm text-left hover:bg-red-50 text-red-600",children:"Delete"})})]})]},e.id)}),re?/* @__PURE__ */V(de,{onSubmit:(e,t)=>{const o=e.trim();if(!o)return;const n=z.addTask({name:o,estimated:t,completed:0,dueDate:te});ne||ae(n),se(!1)},onCancel:()=>se(!1),accentColor:Ue}):/* @__PURE__ */P("button",{onClick:()=>se(!0),className:`w-full border-2 border-dashed rounded-md py-3 font-semibold flex items-center justify-center gap-2 transition-colors ${Le.addTaskBtn}`,children:[
22
+ /* @__PURE__ */I("div",{className:"relative",children:[
23
+ /* @__PURE__ */V("button",{onClick:t=>{t.stopPropagation(),le(ie===e.id?null:e.id)},className:"rounded p-1 bg-gray-100 hover:bg-gray-200",children:/* @__PURE__ */V(j,{name:"more-vertical",look:"solid",className:"h-4 w-4 text-ink-faint"})}),ie===e.id&&/* @__PURE__ */V("div",{className:"absolute right-0 top-full mt-1 bg-white text-gray-800 rounded shadow-lg border border-gray-200 z-10 min-w-[110px] overflow-hidden",onClick:e=>e.stopPropagation(),children:/* @__PURE__ */V("button",{onClick:t=>{var o;t.stopPropagation(),o=e.id,z.removeTask(o),ne===o&&ae(null),le(null)},className:"block w-full px-3 h-8 text-sm text-left hover:bg-red-50 text-red-600",children:"Delete"})})]})]},e.id)}),re?/* @__PURE__ */V(de,{onSubmit:(e,t)=>{const o=e.trim();if(!o)return;const n=z.addTask({name:o,estimated:t,completed:0,dueDate:te});ne||ae(n),se(!1)},onCancel:()=>se(!1),accentColor:Fe}):/* @__PURE__ */I("button",{onClick:()=>se(!0),className:`w-full border-2 border-dashed rounded-md py-3 font-semibold flex items-center justify-center gap-2 transition-colors ${Ue.addTaskBtn}`,children:[
24
24
  /* @__PURE__ */V(j,{name:"add-circle",className:"h-5 w-5",strokeWidth:2}),"Add Task"]})]}),
25
- /* @__PURE__ */P("div",{className:`border-t px-3 py-3 flex items-center justify-center gap-5 text-sm ${Le.softDivider}`,children:[
26
- /* @__PURE__ */P("span",{className:Le.secondary,children:["Pomos: ",
27
- /* @__PURE__ */V("span",{className:`font-bold ${Le.primary}`,children:me}),
28
- /* @__PURE__ */V("span",{className:Le.muted,children:" / "}),
29
- /* @__PURE__ */V("span",{className:`font-bold ${Le.primary}`,children:he})]}),ke>0&&/* @__PURE__ */P("span",{className:Le.secondary,children:["Finish At: ",
30
- /* @__PURE__ */V("span",{className:`font-bold ${Le.primary}`,children:be}),
31
- /* @__PURE__ */P("span",{className:Le.muted,children:[" (",xe,"h)"]})]})]})]}),
32
- /* @__PURE__ */V(q,{open:Se,onClose:()=>we(!1),onSave:()=>{je(Be),localStorage.setItem(D,JSON.stringify(Be)),b({pomodoro_settings:Te}),we(!1)},configAppearance:Be,setConfigAppearance:Me,configPrefs:Te,setConfigPrefs:Ie})]})}function q({open:e,onClose:o,onSave:n,configAppearance:a,setConfigAppearance:r,configPrefs:s,setConfigPrefs:i}){const l=(e,t)=>i(o=>({...o,[e]:t}));/* @__PURE__ */
33
- return P(t,{open:e,onClose:o,title:"Pomodoro Settings",appearance:a,onAppearanceChange:r,onSave:n,children:[
34
- /* @__PURE__ */P(ee,{icon:/* @__PURE__ */V(le,{}),label:"TIMER",children:[
35
- /* @__PURE__ */P("div",{children:[
25
+ /* @__PURE__ */I("div",{className:`border-t px-3 py-3 flex items-center justify-center gap-5 text-sm ${Ue.softDivider}`,children:[
26
+ /* @__PURE__ */I("span",{className:Ue.secondary,children:["Pomos: ",
27
+ /* @__PURE__ */V("span",{className:`font-bold ${Ue.primary}`,children:me}),
28
+ /* @__PURE__ */V("span",{className:Ue.muted,children:" / "}),
29
+ /* @__PURE__ */V("span",{className:`font-bold ${Ue.primary}`,children:he})]}),ke>0&&/* @__PURE__ */I("span",{className:Ue.secondary,children:["Finish At: ",
30
+ /* @__PURE__ */V("span",{className:`font-bold ${Ue.primary}`,children:be}),
31
+ /* @__PURE__ */I("span",{className:Ue.muted,children:[" (",xe,"h)"]})]})]})]}),
32
+ /* @__PURE__ */V(q,{open:Se,onClose:()=>we(!1),onSave:()=>{je(Be),localStorage.setItem(D,JSON.stringify(Be)),b({pomodoro_settings:Me}),we(!1)},configAppearance:Be,setConfigAppearance:Te,configPrefs:Me,setConfigPrefs:Pe})]})}function q({open:e,onClose:o,onSave:n,configAppearance:a,setConfigAppearance:r,configPrefs:s,setConfigPrefs:i}){const l=(e,t)=>i(o=>({...o,[e]:t}));/* @__PURE__ */
33
+ return I(t,{open:e,onClose:o,title:"Pomodoro Settings",appearance:a,onAppearanceChange:r,onSave:n,children:[
34
+ /* @__PURE__ */I(ee,{icon:/* @__PURE__ */V(le,{}),label:"TIMER",children:[
35
+ /* @__PURE__ */I("div",{children:[
36
36
  /* @__PURE__ */V("p",{className:"text-sm font-bold text-gray-800 mb-2",children:"Time (minutes)"}),
37
- /* @__PURE__ */P("div",{className:"grid grid-cols-3 gap-3",children:[
37
+ /* @__PURE__ */I("div",{className:"grid grid-cols-3 gap-3",children:[
38
38
  /* @__PURE__ */V(ne,{label:"Pomodoro",value:s.focusMinutes,onChange:e=>l("focusMinutes",e),max:120}),
39
39
  /* @__PURE__ */V(ne,{label:"Short Break",value:s.shortBreakMinutes,onChange:e=>l("shortBreakMinutes",e),max:120}),
40
40
  /* @__PURE__ */V(ne,{label:"Long Break",value:s.longBreakMinutes,onChange:e=>l("longBreakMinutes",e),max:120})]})]}),
41
41
  /* @__PURE__ */V(te,{label:"Auto Start Breaks",children:/* @__PURE__ */V(se,{checked:s.autoStartBreaks,onChange:e=>l("autoStartBreaks",e)})}),
42
42
  /* @__PURE__ */V(te,{label:"Auto Start Pomodoros",children:/* @__PURE__ */V(se,{checked:s.autoStartPomodoros,onChange:e=>l("autoStartPomodoros",e)})}),
43
43
  /* @__PURE__ */V(te,{label:"Long Break interval",children:/* @__PURE__ */V(ae,{value:s.longBreakInterval,onChange:e=>l("longBreakInterval",e),min:1,max:20,className:"w-14 text-center"})})]}),
44
- /* @__PURE__ */P(ee,{icon:/* @__PURE__ */V(ce,{}),label:"TASK",children:[
44
+ /* @__PURE__ */I(ee,{icon:/* @__PURE__ */V(ce,{}),label:"TASK",children:[
45
45
  /* @__PURE__ */V(te,{label:"Auto Check Tasks",info:'If you enable "Auto Check Tasks", the active task will be automatically checked when the actual pomodoro count reaches the estimated count.',children:/* @__PURE__ */V(se,{checked:s.autoCheckTasks,onChange:e=>l("autoCheckTasks",e)})}),
46
46
  /* @__PURE__ */V(te,{label:"Check to Bottom",info:'If you enable "Check to Bottom", the checked task will be automatically moved to the bottom of the task list.',children:/* @__PURE__ */V(se,{checked:s.checkToBottom,onChange:e=>l("checkToBottom",e)})})]}),
47
- /* @__PURE__ */P(ee,{icon:/* @__PURE__ */V(ue,{}),label:"SOUND",children:[
48
- /* @__PURE__ */V(te,{label:"Alarm Sound",children:/* @__PURE__ */P("div",{className:"flex items-center gap-2",children:[
47
+ /* @__PURE__ */I(ee,{icon:/* @__PURE__ */V(ue,{}),label:"SOUND",children:[
48
+ /* @__PURE__ */V(te,{label:"Alarm Sound",children:/* @__PURE__ */I("div",{className:"flex items-center gap-2",children:[
49
49
  /* @__PURE__ */V(re,{value:s.alarmSound,onChange:e=>l("alarmSound",e),options:g.map(e=>({id:e.id,label:e.label}))}),"off"!==s.alarmSound&&/* @__PURE__ */V("button",{type:"button",onClick:()=>k(s.alarmSound,{volume:s.alarmVolume,repeat:1}),className:"px-2 py-1 text-2xs rounded border border-line-strong text-gray-600 hover:bg-gray-100",children:"Play"})]})}),
50
50
  /* @__PURE__ */V(oe,{value:s.alarmVolume,onChange:e=>l("alarmVolume",e)}),
51
51
  /* @__PURE__ */V(te,{label:"repeat",children:/* @__PURE__ */V(ae,{value:s.alarmRepeat,onChange:e=>l("alarmRepeat",e),min:1,max:5,className:"w-14 text-center"})}),
52
- /* @__PURE__ */V(te,{label:"Focus Sound",children:/* @__PURE__ */P("div",{className:"flex items-center gap-2",children:[
52
+ /* @__PURE__ */V(te,{label:"Focus Sound",children:/* @__PURE__ */I("div",{className:"flex items-center gap-2",children:[
53
53
  /* @__PURE__ */V(re,{value:s.focusSound,onChange:e=>l("focusSound",e),options:f}),"none"!==s.focusSound&&/* @__PURE__ */V("button",{type:"button",onClick:()=>b(s.focusSound,s.focusVolume),className:"px-2 py-1 text-2xs rounded border border-line-strong text-gray-600 hover:bg-gray-100",children:"Play"})]})}),
54
54
  /* @__PURE__ */V(oe,{value:s.focusVolume,onChange:e=>l("focusVolume",e)})]})]})}function ee({icon:e,label:t,children:o}){/* @__PURE__ */
55
- return P("div",{className:"border-t border-gray-200 pt-3 first:border-0 first:pt-0",children:[
56
- /* @__PURE__ */P("div",{className:"flex items-center gap-2 mb-3 text-ink-faintest",children:[e,
55
+ return I("div",{className:"border-t border-gray-200 pt-3 first:border-0 first:pt-0",children:[
56
+ /* @__PURE__ */I("div",{className:"flex items-center gap-2 mb-3 text-ink-faintest",children:[e,
57
57
  /* @__PURE__ */V("span",{className:"text-xs font-bold tracking-[0.15em]",children:t})]}),
58
58
  /* @__PURE__ */V("div",{className:"space-y-3",children:o})]})}function te({label:e,info:t,children:o}){/* @__PURE__ */
59
- return P("div",{className:"flex items-center justify-between gap-3",children:[
60
- /* @__PURE__ */P("div",{className:"flex items-center gap-2 min-w-0",children:[
59
+ return I("div",{className:"flex items-center justify-between gap-3",children:[
60
+ /* @__PURE__ */I("div",{className:"flex items-center gap-2 min-w-0",children:[
61
61
  /* @__PURE__ */V("span",{className:"text-sm font-semibold text-gray-800",children:e}),t&&/* @__PURE__ */V(ie,{title:t})]}),
62
62
  /* @__PURE__ */V("div",{className:"shrink-0",children:o})]})}function oe({value:e,onChange:t}){/* @__PURE__ */
63
- return P("div",{className:"flex items-center justify-end gap-3",children:[
63
+ return I("div",{className:"flex items-center justify-end gap-3",children:[
64
64
  /* @__PURE__ */V("span",{className:"text-xs text-gray-400 w-7 text-right tabular-nums",children:e}),
65
65
  /* @__PURE__ */V("input",{type:"range",min:0,max:100,value:e,onChange:e=>t(parseInt(e.target.value,10)),className:"w-40 accent-blue-500"})]})}function ne({label:e,value:t,onChange:o,min:n=1,max:a=99}){/* @__PURE__ */
66
- return P("label",{className:"flex flex-col",children:[
66
+ return I("label",{className:"flex flex-col",children:[
67
67
  /* @__PURE__ */V("span",{className:"text-xs font-semibold text-gray-500 mb-1",children:e}),
68
68
  /* @__PURE__ */V(ae,{value:t,onChange:o,min:n,max:a})]})}function ae({value:e,onChange:t,min:o=1,max:n=99,className:a=""}){/* @__PURE__ */
69
69
  return V("input",{type:"number",min:o,max:n,value:e,onChange:e=>t(Math.max(o,Math.min(n,parseInt(e.target.value,10)||o))),className:`bg-gray-100 border-0 rounded-md px-2 h-8 text-sm font-medium text-ink-strong focus:outline-none focus:ring-2 focus:ring-blue-500 w-full ${a}`})}function re({value:e,onChange:t,options:o}){/* @__PURE__ */
70
- return P("div",{className:"relative",children:[
70
+ return I("div",{className:"relative",children:[
71
71
  /* @__PURE__ */V("select",{value:e,onChange:e=>t(e.target.value),className:"appearance-none bg-gray-100 border-0 rounded-md pl-3 pr-8 h-8 text-sm font-medium text-ink-strong focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer",children:o.map(e=>/* @__PURE__ */V("option",{value:e.id,children:e.label},e.id))}),
72
72
  /* @__PURE__ */V(j,{name:"chevron-down",className:`absolute right-2 top-1/2 -translate-y-1/2 h-3.5 w-3.5 pointer-events-none ${x}`,strokeWidth:2.5})]})}function se({checked:e,onChange:t}){/* @__PURE__ */
73
73
  return V("button",{type:"button",role:"switch","aria-checked":e,onClick:()=>t(!e),className:"relative inline-flex h-6 w-11 items-center rounded-full transition-colors "+(e?"bg-emerald-500":"bg-gray-300"),children:/* @__PURE__ */V("span",{className:"absolute h-5 w-5 rounded-full bg-white shadow transition-transform "+(e?"translate-x-[22px]":"translate-x-0.5")})})}function ie({title:e}){/* @__PURE__ */
74
74
  return V("span",{title:e,className:"inline-flex items-center justify-center w-4 h-4 rounded-full bg-gray-300 text-on-accent text-3xs font-bold cursor-help",children:"i"})}function le(){/* @__PURE__ */
75
- return P("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
75
+ return I("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
76
76
  /* @__PURE__ */V("circle",{cx:"12",cy:"12",r:"9"}),
77
77
  /* @__PURE__ */V("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 7v5l3 2"})]})}function ce(){/* @__PURE__ */
78
- return P("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
78
+ return I("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
79
79
  /* @__PURE__ */V("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"}),
80
80
  /* @__PURE__ */V("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4"})]})}function ue(){/* @__PURE__ */
81
- return P("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
81
+ return I("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[
82
82
  /* @__PURE__ */V("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11 5L6 9H2v6h4l5 4V5z"}),
83
- /* @__PURE__ */V("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.5 8.5a5 5 0 010 7M19 5a9 9 0 010 14"})]})}function de({onSubmit:e,onCancel:t,accentColor:o}){const[n,a]=M(""),[r,s]=M(1),i=()=>e(n,r);/* @__PURE__ */
84
- return P("div",{className:"bg-surface text-ink-strong rounded-md p-3 shadow-(--elevation-panel)",children:[
83
+ /* @__PURE__ */V("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.5 8.5a5 5 0 010 7M19 5a9 9 0 010 14"})]})}function de({onSubmit:e,onCancel:t,accentColor:o}){const[n,a]=T(""),[r,s]=T(1),i=()=>e(n,r);/* @__PURE__ */
84
+ return I("div",{className:"bg-surface text-ink-strong rounded-md p-3 shadow-(--elevation-panel)",children:[
85
85
  /* @__PURE__ */V("input",{autoFocus:!0,value:n,onChange:e=>a(e.target.value),placeholder:"What are you working on?",onKeyDown:e=>{"Enter"===e.key&&i(),"Escape"===e.key&&t()},className:"w-full text-base font-medium bg-transparent border-0 outline-none placeholder-gray-400"}),
86
- /* @__PURE__ */P("div",{className:"flex items-center justify-between mt-2",children:[
86
+ /* @__PURE__ */I("div",{className:"flex items-center justify-between mt-2",children:[
87
87
  /* @__PURE__ */V("span",{className:"text-xs font-semibold text-gray-500",children:"Est Pomodoros"}),
88
88
  /* @__PURE__ */V("input",{type:"number",min:1,max:20,value:r,onChange:e=>s(Math.max(1,Math.min(20,parseInt(e.target.value,10)||1))),className:"w-16 bg-gray-100 rounded px-2 py-1 text-sm text-right border-0 focus:outline-none focus:ring-2 focus:ring-blue-500"})]}),
89
- /* @__PURE__ */P("div",{className:"flex gap-2 mt-3 justify-end",children:[
89
+ /* @__PURE__ */I("div",{className:"flex gap-2 mt-3 justify-end",children:[
90
90
  /* @__PURE__ */V("button",{onClick:t,className:"px-3 py-1 text-sm text-gray-500 hover:bg-gray-100 rounded",children:"Cancel"}),
91
91
  /* @__PURE__ */V("button",{onClick:i,className:"px-4 py-1 text-sm font-semibold text-white rounded shadow-sm",style:{backgroundColor:o},children:"Save"})]})]})}export{z as default};