efficient-shell 12.26.0 → 12.28.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 (210) hide show
  1. package/dist/{Browser-3CEYK5AG.js → Browser-PC45PVTN.js} +15 -15
  2. package/dist/{Calculator-LSDVIJVQ.js → Calculator-5TRNFPY4.js} +21 -21
  3. package/dist/{CurrencyConverter-G5IYUCN7.js → CurrencyConverter-BB4QWNER.js} +6 -6
  4. package/dist/Files-BKEREVQK.js +141 -0
  5. package/dist/{Notepad-H6NVBIDA.js → Notepad-BLUA2254.js} +9 -9
  6. package/dist/{PdfViewer-UY5SRC63.js → PdfViewer-4YLDY4JY.js} +1 -1
  7. package/dist/{PomodoroTimer-SFTPXEDV.js → PomodoroTimer-KIJKDHVO.js} +6 -6
  8. package/dist/{Preview-BHQH5CSY.js → Preview-JVL2N5GN.js} +29 -29
  9. package/dist/Sidebar-SAGLPIOC.js +44 -0
  10. package/dist/{Stock-YCPMLYPR.js → Stock-JQEJMIMG.js} +3 -3
  11. package/dist/{Weather-TLFNIPDG.js → Weather-FAQX55XL.js} +16 -16
  12. package/dist/{WorldClock-66IRFS2W.js → WorldClock-YSZNGEL2.js} +6 -6
  13. package/dist/ai/index.d.ts +170 -6
  14. package/dist/ai/index.js +134 -115
  15. package/dist/ai.css +1 -1
  16. package/dist/apps/index.js +1 -1
  17. package/dist/bin/media-host-check.js +1 -1
  18. package/dist/bin/ui-check.js +1 -1
  19. package/dist/brand.css +1 -1
  20. package/dist/charts/FlowChart.js +1 -1
  21. package/dist/charts/PieChart.js +1 -1
  22. package/dist/charts/RadarChart.js +1 -1
  23. package/dist/charts/RadialBarChart.js +1 -1
  24. package/dist/charts/SpecChart.js +1 -1
  25. package/dist/charts/TimeSeriesChart.js +1 -1
  26. package/dist/chunk-24Y5JHIR.js +4 -0
  27. package/dist/{chunk-34TQBJ7I.js → chunk-2OUAPOLK.js} +1 -1
  28. package/dist/chunk-2SGOKMUU.js +13 -0
  29. package/dist/{chunk-3CKYFCX4.js → chunk-34L5SRM7.js} +17 -17
  30. package/dist/chunk-3DSGJIC7.js +7 -0
  31. package/dist/{chunk-CALBDO7B.js → chunk-3FBXJO77.js} +1 -1
  32. package/dist/{chunk-DK5SXOXJ.js → chunk-47UH3D4B.js} +1 -1
  33. package/dist/{chunk-7LTU5TJD.js → chunk-4EFIUJ7X.js} +1 -1
  34. package/dist/{chunk-AQCUGTOR.js → chunk-56XCGOX5.js} +6 -6
  35. package/dist/{chunk-LBKKKZ4M.js → chunk-63IGYBCQ.js} +2 -2
  36. package/dist/chunk-64J7TYJ3.js +4 -0
  37. package/dist/{chunk-3JL4TCA7.js → chunk-6KOMF6WL.js} +1 -1
  38. package/dist/{chunk-RY7JCGLI.js → chunk-6Q7L32LL.js} +1 -1
  39. package/dist/{chunk-VLMBXPRM.js → chunk-7GJIIBJD.js} +1 -1
  40. package/dist/{chunk-DCCYUCBM.js → chunk-7NO4IENQ.js} +1 -1
  41. package/dist/{chunk-I7JU4IU3.js → chunk-7TNZ3DTT.js} +2 -2
  42. package/dist/{chunk-KP2JYXEU.js → chunk-AFWLCXQD.js} +9 -9
  43. package/dist/{chunk-34EBBZFK.js → chunk-AMIMNRYU.js} +1 -1
  44. package/dist/chunk-ASDYAASN.js +3 -0
  45. package/dist/{chunk-N3R6N7LG.js → chunk-ATZ262BR.js} +1 -1
  46. package/dist/{chunk-KZRZYLN7.js → chunk-BC4FE77W.js} +49 -49
  47. package/dist/chunk-BFRGDRFK.js +23 -0
  48. package/dist/{chunk-CCK2UWQ5.js → chunk-BKYRHQK2.js} +10 -10
  49. package/dist/{chunk-X34ZBXIU.js → chunk-BT2YPDQL.js} +3 -3
  50. package/dist/{chunk-YW3UKSON.js → chunk-CON5NRCO.js} +2 -2
  51. package/dist/{chunk-JUFCEWE3.js → chunk-DG2TGWXI.js} +5 -5
  52. package/dist/{chunk-4ZRGMK7Y.js → chunk-DIHHV6T6.js} +1 -1
  53. package/dist/{chunk-N32LNPPP.js → chunk-EATV7FMU.js} +8 -8
  54. package/dist/{chunk-VXDW6ZPG.js → chunk-EEB5XPWP.js} +2 -2
  55. package/dist/{chunk-JN5NUZ6D.js → chunk-EWVE5XG6.js} +1 -1
  56. package/dist/chunk-FFUTSMF5.js +28 -0
  57. package/dist/{chunk-RB7IU7ZK.js → chunk-FVKXDF2Q.js} +5 -5
  58. package/dist/{chunk-THLXDI76.js → chunk-GOAFMGUI.js} +10 -10
  59. package/dist/{chunk-MEN4B6NP.js → chunk-H2CPT6K3.js} +10 -10
  60. package/dist/{chunk-3J3FBYIZ.js → chunk-HLE4LTRU.js} +1 -1
  61. package/dist/{chunk-Y523KUQC.js → chunk-HNEI2RKX.js} +1 -1
  62. package/dist/{chunk-Z3CTYK3U.js → chunk-HSUTZCRT.js} +1 -1
  63. package/dist/{chunk-UR2ECNBB.js → chunk-HVYXJLAV.js} +1 -1
  64. package/dist/chunk-IATKDC52.js +9 -0
  65. package/dist/{chunk-G2Y5I5OR.js → chunk-IB3LLQZC.js} +1 -1
  66. package/dist/{chunk-XZXFUZIK.js → chunk-ISVODSRP.js} +6 -3
  67. package/dist/chunk-JJ2OXUK7.js +14 -0
  68. package/dist/{chunk-QMSINDXL.js → chunk-JLRF6FN7.js} +1 -1
  69. package/dist/{chunk-BZHP645G.js → chunk-K5PDLRYH.js} +8 -8
  70. package/dist/{chunk-GLRRX4AL.js → chunk-K5YT5PMJ.js} +1 -1
  71. package/dist/{chunk-SY66VJAI.js → chunk-KTO427N3.js} +1 -1
  72. package/dist/{chunk-6GWYFUME.js → chunk-LAO6GLBY.js} +6 -6
  73. package/dist/{chunk-RJF4A3LJ.js → chunk-LL4KF43W.js} +1 -1
  74. package/dist/{chunk-FQ4IRBMA.js → chunk-MKNDDB6U.js} +1 -1
  75. package/dist/{chunk-4ZLFAXOC.js → chunk-MTYEY7HT.js} +11 -11
  76. package/dist/{chunk-ILDPJ26Y.js → chunk-N2FX4O3H.js} +1 -1
  77. package/dist/{chunk-WBGJ4XB7.js → chunk-N5RV73CI.js} +4 -4
  78. package/dist/{chunk-CJHYOHMU.js → chunk-NN32QUCE.js} +1 -1
  79. package/dist/{chunk-B76GRJW5.js → chunk-NUPK6CUV.js} +1 -1
  80. package/dist/{chunk-KBI3T6UC.js → chunk-O4YKOS74.js} +1 -1
  81. package/dist/{chunk-VQ4X3OBR.js → chunk-OMFYTCBI.js} +1 -1
  82. package/dist/{chunk-YRY64DQV.js → chunk-OXRQIWRT.js} +1 -1
  83. package/dist/{chunk-6RK6R3RY.js → chunk-PT4GMPUB.js} +1 -1
  84. package/dist/{chunk-PLPMCE44.js → chunk-QB2GJNGB.js} +9 -9
  85. package/dist/{chunk-GEZM6ARD.js → chunk-QIPO4EVJ.js} +1 -1
  86. package/dist/{chunk-6FZ5JTBY.js → chunk-QMBMK6PP.js} +2 -2
  87. package/dist/{chunk-TOVEZAIM.js → chunk-QOYKBINM.js} +1 -1
  88. package/dist/{chunk-63TCQAGE.js → chunk-RVVQDBV7.js} +5 -5
  89. package/dist/{chunk-OM42AUMS.js → chunk-S6AN76R3.js} +1 -1
  90. package/dist/{chunk-B4GRHE44.js → chunk-SS3CROPR.js} +3 -3
  91. package/dist/{chunk-7MJYT6IW.js → chunk-TDXRG43I.js} +1 -1
  92. package/dist/{chunk-T2TZBTSM.js → chunk-TKIYZE7V.js} +1 -1
  93. package/dist/{chunk-WVMCKM5Z.js → chunk-UEFIUTOU.js} +1 -1
  94. package/dist/chunk-UFM4YBZ7.js +1 -0
  95. package/dist/{chunk-436PJFHC.js → chunk-UH5ZGWSA.js} +10 -10
  96. package/dist/{chunk-FTMCNC66.js → chunk-UZFFSZFI.js} +1 -1
  97. package/dist/{chunk-3E3LR2PM.js → chunk-V3XS6BTJ.js} +13 -13
  98. package/dist/{chunk-YIUWX2IU.js → chunk-VLBIM33E.js} +5 -5
  99. package/dist/{chunk-QZCLHKCI.js → chunk-VLKJN6HX.js} +10 -10
  100. package/dist/{chunk-OHSRZLRD.js → chunk-VP2GI3UP.js} +2 -2
  101. package/dist/{chunk-QG37GJP2.js → chunk-WBAWJIVM.js} +4 -4
  102. package/dist/{chunk-QPSJYSET.js → chunk-WKYNPGFB.js} +5 -5
  103. package/dist/{chunk-JGRDG7CB.js → chunk-WN3JHPJI.js} +6 -6
  104. package/dist/{chunk-XHZVUO6F.js → chunk-WX2Q76WC.js} +6 -6
  105. package/dist/{chunk-6DGUJ2OI.js → chunk-X5MUSNKH.js} +2 -2
  106. package/dist/{chunk-YI6SYUAK.js → chunk-XAEI36TW.js} +1 -1
  107. package/dist/{chunk-H6WXTJOT.js → chunk-XAF5ZI7H.js} +1 -1
  108. package/dist/{chunk-TM4CRQ3W.js → chunk-XMY2HKVD.js} +15 -15
  109. package/dist/{chunk-F37II2EH.js → chunk-XQWHKXLS.js} +13 -13
  110. package/dist/{chunk-SSNTJ3M4.js → chunk-XSVQ5V7L.js} +9 -9
  111. package/dist/chunk-Y4FWTYZS.js +6 -0
  112. package/dist/{chunk-HMT3MES3.js → chunk-YWNHK6Z5.js} +18 -18
  113. package/dist/{chunk-LPPJNZQ6.js → chunk-YYGJJ6EI.js} +1 -1
  114. package/dist/{chunk-R62JKPYY.js → chunk-Z2Z653OO.js} +1 -1
  115. package/dist/{chunk-L543DFHF.js → chunk-ZBJ7FTA5.js} +1 -1
  116. package/dist/{chunk-OLCRYT3N.js → chunk-ZGCCV4WE.js} +10 -10
  117. package/dist/data/EntityList.js +1 -1
  118. package/dist/data/ListLoadError.js +1 -1
  119. package/dist/data/ResizableTable.js +1 -1
  120. package/dist/forms/BorderInput.js +1 -1
  121. package/dist/forms/BrandAssetEditor.js +1 -1
  122. package/dist/forms/Calendar.js +1 -1
  123. package/dist/forms/ColorPicker.js +1 -1
  124. package/dist/forms/ComposerAttachments.js +1 -1
  125. package/dist/forms/CornersInput.js +1 -1
  126. package/dist/forms/DatePicker.js +1 -1
  127. package/dist/forms/DateRangePicker.js +1 -1
  128. package/dist/forms/DisplayChips.js +1 -1
  129. package/dist/forms/FilePicker.js +1 -1
  130. package/dist/forms/IconPicker.js +1 -1
  131. package/dist/forms/Input.js +1 -1
  132. package/dist/forms/InputNumber.js +1 -1
  133. package/dist/forms/LinkPicker.js +1 -1
  134. package/dist/forms/MediaLibrary.js +1 -1
  135. package/dist/forms/MediaUploadField.js +1 -1
  136. package/dist/forms/MediaUploadGrid.js +1 -1
  137. package/dist/forms/MediaUsedInList.js +1 -1
  138. package/dist/forms/PositionInput.js +1 -1
  139. package/dist/forms/RenameField.js +1 -1
  140. package/dist/forms/Select.js +1 -1
  141. package/dist/forms/SidesInput.js +1 -1
  142. package/dist/forms/Slider.js +1 -1
  143. package/dist/forms/Snippet.js +1 -1
  144. package/dist/forms/SplitButton.js +1 -1
  145. package/dist/forms/TagInput.js +1 -1
  146. package/dist/forms/TextToolbar.js +1 -1
  147. package/dist/forms/UnitMenu.js +1 -1
  148. package/dist/forms/WidthsBar.js +1 -1
  149. package/dist/forms/mediaLibraryMenu.js +1 -1
  150. package/dist/forms/textAlign.js +1 -1
  151. package/dist/icons/index.js +1 -1
  152. package/dist/index.js +665 -665
  153. package/dist/map/index.js +5 -5
  154. package/dist/markdown/index.js +1 -1
  155. package/dist/page-tabs/index.js +5 -5
  156. package/dist/pdf/index.js +1 -1
  157. package/dist/shell/AppUpdateBanner.js +1 -1
  158. package/dist/shell/Avatar.js +1 -1
  159. package/dist/shell/Banner.js +1 -1
  160. package/dist/shell/Breadcrumbs.js +1 -1
  161. package/dist/shell/ColoredBadge.js +1 -1
  162. package/dist/shell/ConfirmDialog.js +1 -1
  163. package/dist/shell/ContextMenu.js +1 -1
  164. package/dist/shell/Dialog.js +1 -1
  165. package/dist/shell/Drawer.js +1 -1
  166. package/dist/shell/DropdownMenu.js +1 -1
  167. package/dist/shell/EmptyState.js +1 -1
  168. package/dist/shell/HelpCenter.js +1 -1
  169. package/dist/shell/ImageLightbox.js +1 -1
  170. package/dist/shell/LanguageSelect.js +1 -1
  171. package/dist/shell/Markdown.js +1 -1
  172. package/dist/shell/PageHeader.js +1 -1
  173. package/dist/shell/PopupMenu.js +1 -1
  174. package/dist/shell/ProductionTimeline.js +1 -1
  175. package/dist/shell/Result.js +1 -1
  176. package/dist/shell/SearchableSelect.js +1 -1
  177. package/dist/shell/SettingReset.js +1 -1
  178. package/dist/shell/SidebarLayout.js +1 -1
  179. package/dist/shell/SidebarNav.js +1 -1
  180. package/dist/shell/SortableList.js +1 -1
  181. package/dist/shell/StepChain.js +1 -1
  182. package/dist/shell/Stepper.js +1 -1
  183. package/dist/shell/TopNav.js +1 -1
  184. package/dist/shell/Tree.js +1 -1
  185. package/dist/shell/discardGuard.js +1 -1
  186. package/dist/telemetry/index.js +1 -1
  187. package/dist/templates/AuthScreen.js +1 -1
  188. package/dist/templates/ChatTemplate.js +1 -1
  189. package/dist/templates/CheckoutTemplate.js +1 -1
  190. package/dist/templates/DashboardTemplate.js +1 -1
  191. package/dist/templates/DataTablePage.js +1 -1
  192. package/dist/templates/EmailTemplate.js +1 -1
  193. package/dist/templates/FormLayoutPage.js +1 -1
  194. package/dist/ui/index.js +1 -1
  195. package/dist/version.js +1 -1
  196. package/package.json +1 -1
  197. package/dist/Files-T56P5JDC.js +0 -141
  198. package/dist/Sidebar-BKNCPUOE.js +0 -44
  199. package/dist/chunk-BM2QIV64.js +0 -23
  200. package/dist/chunk-D2WJAF62.js +0 -4
  201. package/dist/chunk-GJGR267P.js +0 -1
  202. package/dist/chunk-INADSWOF.js +0 -28
  203. package/dist/chunk-LCEQIFPK.js +0 -3
  204. package/dist/chunk-LDVDNAXP.js +0 -4
  205. package/dist/chunk-OQ6TECLX.js +0 -6
  206. package/dist/chunk-SFULX4E3.js +0 -7
  207. package/dist/chunk-TUPPFC74.js +0 -14
  208. package/dist/chunk-UP4HLGMZ.js +0 -9
  209. package/dist/chunk-ZQ24H5UO.js +0 -13
  210. /package/dist/{chunk-5WK56FA3.js → chunk-TGLUENXE.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{fetchCityWeather as e,getCondition as t,AVAILABLE_CITIES as a,toFahrenheit as r}from"./chunk-FBDZGO3V.js";import{loadAppearance as n,WidgetSettingsModal as i}from"./chunk-H6WXTJOT.js";import{pad2 as s}from"./chunk-LF27WIN2.js";import{useWidgetSettings as o}from"./chunk-KZRZYLN7.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-DK5SXOXJ.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-UR2ECNBB.js";import"./chunk-HMT3MES3.js";import"./chunk-D2WJAF62.js";import"./chunk-EIFNESXS.js";import"./chunk-MWTCGJAI.js";import"./chunk-RIG5FEVS.js";import"./chunk-5WK56FA3.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-CJHYOHMU.js";import"./chunk-JZBLOIL7.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as l}from"./chunk-KC3EX26K.js";import"./chunk-DWGYC7OD.js";import"./chunk-JMGDGNM7.js";import"./chunk-THLXDI76.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import"./chunk-XZXFUZIK.js";import"./chunk-J75ZT2JQ.js";import{LoadingSpinner as c}from"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-JSHMIMAJ.js";import"./chunk-C3QOHMR6.js";import{useState as d,useEffect as m,useCallback as h}from"react";import{jsx as p,jsxs as u,Fragment as f}from"react/jsx-runtime";var y="weather_city",g="weather_appearance",x={useFahrenheit:!1,showLocalTime:!0,use24Hour:!1};function b(){const e="undefined"!=typeof localStorage?localStorage.getItem(y):null;if(e&&a[e])return e;try{const e=JSON.parse(localStorage.getItem("weather_cities")||"");if(Array.isArray(e)&&e[0]&&a[e[0]])return localStorage.setItem(y,e[0]),e[0]}catch{}return function(){try{const e=Intl.DateTimeFormat().resolvedOptions().timeZone;for(const[t,r]of Object.entries(a))if(r.tz===e)return t}catch{}return"London"}()}var w=r;function k(e,t=!1){try{if(t){const t=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"2-digit",hour12:!1}).formatToParts(/* @__PURE__ */new Date),a=parseInt(t.find(e=>"hour"===e.type)?.value||"0"),r=parseInt(t.find(e=>"minute"===e.type)?.value||"0");return`${s(a)}:${s(r)}`}const a=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"2-digit",hour12:!0}).formatToParts(/* @__PURE__ */new Date),r=parseInt(a.find(e=>"hour"===e.type)?.value||"12"),n=parseInt(a.find(e=>"minute"===e.type)?.value||"0"),i=a.find(e=>"dayPeriod"===e.type)?.value||"";return`${r}:${s(n)} ${i}`}catch{return""}}function v(){/* @__PURE__ */
1
+ import{fetchCityWeather as e,getCondition as t,AVAILABLE_CITIES as a,toFahrenheit as r}from"./chunk-FBDZGO3V.js";import{loadAppearance as n,WidgetSettingsModal as i}from"./chunk-XAF5ZI7H.js";import{pad2 as s}from"./chunk-LF27WIN2.js";import{useWidgetSettings as o}from"./chunk-BC4FE77W.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-47UH3D4B.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-HVYXJLAV.js";import"./chunk-YWNHK6Z5.js";import"./chunk-64J7TYJ3.js";import"./chunk-EIFNESXS.js";import"./chunk-MWTCGJAI.js";import"./chunk-RIG5FEVS.js";import"./chunk-TGLUENXE.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-NN32QUCE.js";import"./chunk-JZBLOIL7.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as l}from"./chunk-KC3EX26K.js";import"./chunk-DWGYC7OD.js";import"./chunk-JMGDGNM7.js";import"./chunk-GOAFMGUI.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import{LoadingSpinner as c}from"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-JSHMIMAJ.js";import"./chunk-C3QOHMR6.js";import{useState as d,useEffect as m,useCallback as h}from"react";import{jsx as p,jsxs as u,Fragment as f}from"react/jsx-runtime";var y="weather_city",g="weather_appearance",x={useFahrenheit:!1,showLocalTime:!0,use24Hour:!1};function b(){const e="undefined"!=typeof localStorage?localStorage.getItem(y):null;if(e&&a[e])return e;try{const e=JSON.parse(localStorage.getItem("weather_cities")||"");if(Array.isArray(e)&&e[0]&&a[e[0]])return localStorage.setItem(y,e[0]),e[0]}catch{}return function(){try{const e=Intl.DateTimeFormat().resolvedOptions().timeZone;for(const[t,r]of Object.entries(a))if(r.tz===e)return t}catch{}return"London"}()}var w=r;function k(e,t=!1){try{if(t){const t=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"2-digit",hour12:!1}).formatToParts(/* @__PURE__ */new Date),a=parseInt(t.find(e=>"hour"===e.type)?.value||"0"),r=parseInt(t.find(e=>"minute"===e.type)?.value||"0");return`${s(a)}:${s(r)}`}const a=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"2-digit",hour12:!0}).formatToParts(/* @__PURE__ */new Date),r=parseInt(a.find(e=>"hour"===e.type)?.value||"12"),n=parseInt(a.find(e=>"minute"===e.type)?.value||"0"),i=a.find(e=>"dayPeriod"===e.type)?.value||"";return`${r}:${s(n)} ${i}`}catch{return""}}function v(){/* @__PURE__ */
2
2
  return u("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[
3
3
  /* @__PURE__ */p("div",{className:"absolute -top-5 -right-5 w-24 h-24",style:{animation:"wx-sun-rays 70s linear infinite"},children:/* @__PURE__ */p("svg",{viewBox:"0 0 100 100",className:"w-full h-full",children:Array.from({length:12}).map((e,t)=>/* @__PURE__ */p("rect",{x:49,y:3,width:2,height:14,rx:1,fill:"rgba(255, 232, 130, 0.55)",transform:`rotate(${30*t} 50 50)`},t))})}),
4
4
  /* @__PURE__ */p("div",{className:"absolute top-1 right-1 w-10 h-10 rounded-full",style:{background:"radial-gradient(circle at 35% 35%, #fff8cc 0%, #ffd84a 55%, #ff9e2a 100%)",boxShadow:"0 0 18px 5px rgba(255, 200, 80, 0.55)",animation:"wx-sun-pulse 4.5s ease-in-out infinite"}})]})}function N(){const e=Array.from({length:16}).map((e,t)=>({left:(53*t+11)%95+"%",top:(37*t+9)%78+"%",size:1+13*t%3,delay:.41*t%4+"s",duration:2.5+7*t%5*.6+"s"}));/* @__PURE__ */
@@ -19,40 +19,40 @@ return u("div",{className:"absolute inset-0 overflow-hidden pointer-events-none"
19
19
  /* @__PURE__ */p("div",{className:"absolute",style:{top:"40%",animation:"wx-drift-cloud 60s linear -22s infinite",opacity:.85},children:/* @__PURE__ */p(a,{scale:1.25})}),
20
20
  /* @__PURE__ */p("div",{className:"absolute",style:{top:"68%",animation:"wx-drift-cloud 78s linear -45s infinite",opacity:.7},children:/* @__PURE__ */p(a,{scale:.75})})]})}function S({heavy:e=!1}){const t=e?26:16,a=["wx-rain-a","wx-rain-b","wx-rain-c"],r=Array.from({length:t}).map((e,r)=>({left:(100*r/t+11*r%7)%100+"%",delay:.087*r%1.3+"s",height:12+r%4*5+"px",duration:.7+r%3*.18+"s",variant:a[r%a.length]}));/* @__PURE__ */
21
21
  return p("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:r.map((e,t)=>/* @__PURE__ */p("div",{className:"absolute",style:{left:e.left,top:"-20px",width:"1px",height:e.height,background:"linear-gradient(180deg, rgba(180,210,255,0) 0%, rgba(220,235,255,0.85) 90%, rgba(255,255,255,0.95) 100%)",transform:"rotate(8deg)",animation:`${e.variant} ${e.duration} linear ${e.delay} infinite`,transformOrigin:"top"}},t))})}function D(){const e=["wx-snow-a","wx-snow-b","wx-snow-c"],t=Array.from({length:16}).map((t,a)=>({left:(100*a/16+13*a%5)%100+"%",delay:.43*a%5+"s",duration:4.5+a%5+"s",size:3+a%4*1.4,opacity:.65+7*a%4*.08,variant:e[a%e.length]}));/* @__PURE__ */
22
- return p("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:t.map((e,t)=>/* @__PURE__ */p("div",{className:"absolute rounded-full bg-white",style:{left:e.left,top:"-12px",width:e.size,height:e.size,opacity:e.opacity,boxShadow:"0 0 4px rgba(255,255,255,0.65)",animation:`${e.variant} ${e.duration} linear ${e.delay} infinite`}},t))})}function T(){/* @__PURE__ */
22
+ return p("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:t.map((e,t)=>/* @__PURE__ */p("div",{className:"absolute rounded-full bg-white",style:{left:e.left,top:"-12px",width:e.size,height:e.size,opacity:e.opacity,boxShadow:"0 0 4px rgba(255,255,255,0.65)",animation:`${e.variant} ${e.duration} linear ${e.delay} infinite`}},t))})}function I(){/* @__PURE__ */
23
23
  return u("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[
24
24
  /* @__PURE__ */p(S,{heavy:!0}),
25
25
  /* @__PURE__ */p("div",{className:"absolute inset-0 bg-white",style:{animation:"wx-flash 6s ease-out infinite"}}),
26
26
  /* @__PURE__ */p("div",{className:"absolute inset-y-0 right-1/3 flex items-center justify-center pointer-events-none",style:{animation:"wx-bolt 6s ease-out infinite"},children:/* @__PURE__ */p("svg",{viewBox:"0 0 18 60",className:"h-4/5",style:{filter:"drop-shadow(0 0 6px rgba(255, 240, 150, 0.95)) drop-shadow(0 0 14px rgba(255, 220, 90, 0.7))"},children:/* @__PURE__ */p("path",{d:"M11 0 L2 28 L8 30 L4 60 L16 24 L9 22 Z",fill:"rgba(255, 250, 200, 0.98)",stroke:"rgba(255, 255, 255, 0.9)",strokeWidth:.3})})})]})}function F(){/* @__PURE__ */
27
- return p("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:Array.from({length:4}).map((e,t)=>/* @__PURE__ */p("div",{className:"absolute left-0 right-0",style:{top:10+22*t+"%",height:"14px",background:"linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%)",filter:"blur(2px)",animation:`wx-fog-drift ${10+3*t}s ease-in-out ${.7*t}s infinite alternate`}},t))})}function I({code:e,isDay:t}){return 0===e||1===e?/* @__PURE__ */p(t?v:N,{}):2===e?/* @__PURE__ */u(f,{children:[/* @__PURE__ */p(t?v:N,{}),
28
- /* @__PURE__ */p(j,{tone:t?"light":"dark"})]}):3===e?/* @__PURE__ */p(j,{tone:t?"light":"dark"}):45===e||48===e?/* @__PURE__ */p(F,{}):[51,53,61,80,81].includes(e)?/* @__PURE__ */p(S,{}):[55,63,65,82].includes(e)?/* @__PURE__ */p(S,{heavy:!0}):[71,73,75].includes(e)?/* @__PURE__ */p(D,{}):[95,96,99].includes(e)?/* @__PURE__ */p(T,{}):null}function C(){const[r,s]=d(b),[v,N]=d(()=>n(g)),[j,S]=d(null),[D,T]=d(!0),[,F]=d(0);m(()=>{const e=setInterval(()=>F(e=>e+1),6e4);return()=>clearInterval(e)},[]);const[C,H]=d(!1),[L,$]=d(r),[A,J]=d(v),{prefs:M,save:X}=l(),Z={...x,...M.weather_prefs??{}},[O,W]=d(Z);o(h(()=>{$(r),J({...v}),W({...Z}),H(!0)},[r,v,Z])),m(()=>{let t=!1;return T(!0),e(r).then(e=>{t||(S(e),T(!1))}),()=>{t=!0}},[r]);const B=e=>Z.useFahrenheit?`${w(e)}°F`:`${e}°`;if(D&&!j)/* @__PURE__ */
27
+ return p("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:Array.from({length:4}).map((e,t)=>/* @__PURE__ */p("div",{className:"absolute left-0 right-0",style:{top:10+22*t+"%",height:"14px",background:"linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%)",filter:"blur(2px)",animation:`wx-fog-drift ${10+3*t}s ease-in-out ${.7*t}s infinite alternate`}},t))})}function T({code:e,isDay:t}){return 0===e||1===e?/* @__PURE__ */p(t?v:N,{}):2===e?/* @__PURE__ */u(f,{children:[/* @__PURE__ */p(t?v:N,{}),
28
+ /* @__PURE__ */p(j,{tone:t?"light":"dark"})]}):3===e?/* @__PURE__ */p(j,{tone:t?"light":"dark"}):45===e||48===e?/* @__PURE__ */p(F,{}):[51,53,61,80,81].includes(e)?/* @__PURE__ */p(S,{}):[55,63,65,82].includes(e)?/* @__PURE__ */p(S,{heavy:!0}):[71,73,75].includes(e)?/* @__PURE__ */p(D,{}):[95,96,99].includes(e)?/* @__PURE__ */p(I,{}):null}function C(){const[r,s]=d(b),[v,N]=d(()=>n(g)),[j,S]=d(null),[D,I]=d(!0),[,F]=d(0);m(()=>{const e=setInterval(()=>F(e=>e+1),6e4);return()=>clearInterval(e)},[]);const[C,A]=d(!1),[L,$]=d(r),[H,J]=d(v),{prefs:M,save:G}=l(),O={...x,...M.weather_prefs??{}},[W,Z]=d(O);o(h(()=>{$(r),J({...v}),Z({...O}),A(!0)},[r,v,O])),m(()=>{let t=!1;return I(!0),e(r).then(e=>{t||(S(e),I(!1))}),()=>{t=!0}},[r]);const U=e=>O.useFahrenheit?`${w(e)}°F`:`${e}°`;if(D&&!j)/* @__PURE__ */
29
29
  return p("div",{className:"flex items-center justify-center h-full bg-gradient-to-b from-sky-400 to-blue-500 rounded-lg text-on-accent/80 text-xs",style:{minHeight:110},children:/* @__PURE__ */p(c,{size:"sm",padding:"",label:"Loading"})});if(!j)/* @__PURE__ */
30
- return p("div",{className:"flex items-center justify-center h-full bg-slate-700 rounded-lg text-white/80 text-xs",style:{minHeight:110},children:"Couldn't load weather"});const[G,U,K]=t(j.code,j.isDay);/* @__PURE__ */
30
+ return p("div",{className:"flex items-center justify-center h-full bg-slate-700 rounded-lg text-white/80 text-xs",style:{minHeight:110},children:"Couldn't load weather"});const[X,B,E]=t(j.code,j.isDay);/* @__PURE__ */
31
31
  return u(f,{children:[
32
32
  /* @__PURE__ */p("style",{children:"\n@keyframes wx-rain-a { 0% { transform: translate(0,-20px); opacity: 0; } 10% { opacity: 0.95; } 100% { transform: translate(8px,140px); opacity: 0; } }\n@keyframes wx-rain-b { 0% { transform: translate(0,-20px); opacity: 0; } 12% { opacity: 0.85; } 100% { transform: translate(12px,140px); opacity: 0; } }\n@keyframes wx-rain-c { 0% { transform: translate(0,-20px); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(5px,140px); opacity: 0; } }\n@keyframes wx-snow-a { 0% { transform: translate(0,-12px) rotate(0deg); opacity: 0; } 10% { opacity: 0.9; } 50% { transform: translate(10px,55px) rotate(180deg); } 100% { transform: translate(-4px,140px) rotate(360deg); opacity: 0; } }\n@keyframes wx-snow-b { 0% { transform: translate(0,-12px) rotate(0deg); opacity: 0; } 10% { opacity: 0.85; } 50% { transform: translate(-12px,55px) rotate(-180deg); } 100% { transform: translate(6px,140px) rotate(-360deg); opacity: 0; } }\n@keyframes wx-snow-c { 0% { transform: translate(0,-12px); opacity: 0; } 10% { opacity: 0.7; } 100% { transform: translate(2px,140px); opacity: 0; } }\n@keyframes wx-drift-cloud { 0% { transform: translateX(-40%); } 100% { transform: translateX(140%); } }\n@keyframes wx-twinkle { 0%, 100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }\n@keyframes wx-flash { 0%, 86%, 100% { opacity: 0; } 87% { opacity: 0.95; } 88% { opacity: 0.15; } 89% { opacity: 0.85; } 90% { opacity: 0; } }\n@keyframes wx-bolt { 0%, 86%, 90%, 100% { opacity: 0; } 87% { opacity: 1; } 89% { opacity: 0.85; } }\n@keyframes wx-sun-pulse { 0%, 100% { transform: scale(1); opacity: 0.65; } 50% { transform: scale(1.12); opacity: 0.95; } }\n@keyframes wx-sun-rays { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }\n@keyframes wx-fog-drift { 0% { transform: translateX(-25%); opacity: 0.3; } 50% { opacity: 0.65; } 100% { transform: translateX(25%); opacity: 0.3; } }\n@keyframes wx-shooting-star { 0%, 95% { opacity: 0; transform: translate(0,0) scale(0); } 96% { opacity: 1; transform: translate(0,0) scale(1); } 100% { opacity: 0; transform: translate(40px,30px) scale(1); } }\n"}),
33
- /* @__PURE__ */p("div",{className:"rounded-lg overflow-hidden",style:{backgroundColor:`rgba(15, 23, 42, ${v.activeOpacity/100})`,backdropFilter:v.activeBlur>0?`blur(${v.activeBlur}px)`:void 0},children:/* @__PURE__ */u("div",{className:`relative rounded-lg overflow-hidden text-white bg-gradient-to-br ${K}`,style:{height:110},children:[
34
- /* @__PURE__ */p(I,{code:j.code,isDay:j.isDay}),
33
+ /* @__PURE__ */p("div",{className:"rounded-lg overflow-hidden",style:{backgroundColor:`rgba(15, 23, 42, ${v.activeOpacity/100})`,backdropFilter:v.activeBlur>0?`blur(${v.activeBlur}px)`:void 0},children:/* @__PURE__ */u("div",{className:`relative rounded-lg overflow-hidden text-white bg-gradient-to-br ${E}`,style:{height:110},children:[
34
+ /* @__PURE__ */p(T,{code:j.code,isDay:j.isDay}),
35
35
  /* @__PURE__ */u("div",{className:"relative z-10 px-3 py-3 flex flex-col h-full justify-between",children:[
36
36
  /* @__PURE__ */u("div",{className:"flex items-start justify-between gap-2",children:[
37
37
  /* @__PURE__ */u("div",{className:"min-w-0 flex-1",children:[
38
- /* @__PURE__ */p("div",{className:"text-base font-semibold leading-tight truncate drop-shadow-sm",children:j.city}),Z.showLocalTime&&/* @__PURE__ */p("div",{className:"text-2xs opacity-90 leading-tight tabular-nums drop-shadow-sm",children:k(j.timezone,Z.use24Hour)})]}),
39
- /* @__PURE__ */p("div",{className:"text-3xl font-extralight leading-none tracking-tight tabular-nums shrink-0 drop-shadow-sm",children:B(j.temp)})]}),
38
+ /* @__PURE__ */p("div",{className:"text-base font-semibold leading-tight truncate drop-shadow-sm",children:j.city}),O.showLocalTime&&/* @__PURE__ */p("div",{className:"text-2xs opacity-90 leading-tight tabular-nums drop-shadow-sm",children:k(j.timezone,O.use24Hour)})]}),
39
+ /* @__PURE__ */p("div",{className:"text-3xl font-extralight leading-none tracking-tight tabular-nums shrink-0 drop-shadow-sm",children:U(j.temp)})]}),
40
40
  /* @__PURE__ */u("div",{className:"flex items-end justify-between gap-2",children:[
41
41
  /* @__PURE__ */u("div",{className:"flex items-center gap-2 min-w-0",children:[
42
- /* @__PURE__ */p("span",{className:"text-lg leading-none drop-shadow-sm",children:U}),
43
- /* @__PURE__ */p("span",{className:"text-2xs font-medium drop-shadow-sm truncate",children:G})]}),
44
- /* @__PURE__ */u("span",{className:"text-2xs opacity-90 tabular-nums drop-shadow-sm shrink-0",children:["H:",B(j.high)," L:",B(j.low)]})]})]})]})}),
45
- /* @__PURE__ */u(i,{open:C,onClose:()=>H(!1),title:"Weather Settings",appearance:A,onAppearanceChange:J,onSave:()=>{s(L),N(A),X({weather_prefs:O}),localStorage.setItem(y,L),localStorage.setItem(g,JSON.stringify(A)),H(!1)},children:[
42
+ /* @__PURE__ */p("span",{className:"text-lg leading-none drop-shadow-sm",children:B}),
43
+ /* @__PURE__ */p("span",{className:"text-2xs font-medium drop-shadow-sm truncate",children:X})]}),
44
+ /* @__PURE__ */u("span",{className:"text-2xs opacity-90 tabular-nums drop-shadow-sm shrink-0",children:["H:",U(j.high)," L:",U(j.low)]})]})]})]})}),
45
+ /* @__PURE__ */u(i,{open:C,onClose:()=>A(!1),title:"Weather Settings",appearance:H,onAppearanceChange:J,onSave:()=>{s(L),N(H),G({weather_prefs:W}),localStorage.setItem(y,L),localStorage.setItem(g,JSON.stringify(H)),A(!1)},children:[
46
46
  /* @__PURE__ */p("div",{className:"space-y-3",children:/* @__PURE__ */u("div",{children:[
47
47
  /* @__PURE__ */p("h3",{className:"text-sm font-semibold text-gray-700 mb-2",children:"Display"}),
48
48
  /* @__PURE__ */u("div",{className:"flex items-center gap-3 mb-2",children:[
49
49
  /* @__PURE__ */p("span",{className:"text-sm text-gray-600 w-24",children:"Temperature"}),
50
- /* @__PURE__ */p("div",{className:"flex gap-1",children:[{key:!1,label:"°C"},{key:!0,label:"°F"}].map(e=>/* @__PURE__ */p("button",{onClick:()=>W(t=>({...t,useFahrenheit:e.key})),className:"px-3 py-1 text-xs font-medium rounded-lg border transition-colors "+(O.useFahrenheit===e.key?"bg-blue-600 text-white border-blue-600":"bg-white text-gray-700 border-gray-300 hover:bg-gray-50"),children:e.label},String(e.key)))})]}),
50
+ /* @__PURE__ */p("div",{className:"flex gap-1",children:[{key:!1,label:"°C"},{key:!0,label:"°F"}].map(e=>/* @__PURE__ */p("button",{onClick:()=>Z(t=>({...t,useFahrenheit:e.key})),className:"px-3 py-1 text-xs font-medium rounded-lg border transition-colors "+(W.useFahrenheit===e.key?"bg-blue-600 text-white border-blue-600":"bg-white text-gray-700 border-gray-300 hover:bg-gray-50"),children:e.label},String(e.key)))})]}),
51
51
  /* @__PURE__ */u("div",{className:"flex items-center gap-3 mb-2",children:[
52
52
  /* @__PURE__ */p("span",{className:"text-sm text-gray-600 w-24",children:"Time Format"}),
53
- /* @__PURE__ */p("div",{className:"flex gap-1",children:[{key:!1,label:"AM/PM"},{key:!0,label:"24H"}].map(e=>/* @__PURE__ */p("button",{onClick:()=>W(t=>({...t,use24Hour:e.key})),className:"px-3 py-1 text-xs font-medium rounded-lg border transition-colors "+(O.use24Hour===e.key?"bg-blue-600 text-white border-blue-600":"bg-white text-gray-700 border-gray-300 hover:bg-gray-50"),children:e.label},String(e.key)))})]}),
53
+ /* @__PURE__ */p("div",{className:"flex gap-1",children:[{key:!1,label:"AM/PM"},{key:!0,label:"24H"}].map(e=>/* @__PURE__ */p("button",{onClick:()=>Z(t=>({...t,use24Hour:e.key})),className:"px-3 py-1 text-xs font-medium rounded-lg border transition-colors "+(W.use24Hour===e.key?"bg-blue-600 text-white border-blue-600":"bg-white text-gray-700 border-gray-300 hover:bg-gray-50"),children:e.label},String(e.key)))})]}),
54
54
  /* @__PURE__ */u("label",{className:"flex items-center gap-2 cursor-pointer",children:[
55
- /* @__PURE__ */p("input",{type:"checkbox",checked:O.showLocalTime,onChange:e=>W(t=>({...t,showLocalTime:e.target.checked})),className:"rounded border-gray-300 text-blue-600 h-3.5 w-3.5"}),
55
+ /* @__PURE__ */p("input",{type:"checkbox",checked:W.showLocalTime,onChange:e=>Z(t=>({...t,showLocalTime:e.target.checked})),className:"rounded border-gray-300 text-blue-600 h-3.5 w-3.5"}),
56
56
  /* @__PURE__ */p("span",{className:"text-sm text-gray-600",children:"Show local time"})]})]})}),
57
57
  /* @__PURE__ */u("div",{children:[
58
58
  /* @__PURE__ */p("h3",{className:"text-sm font-semibold text-gray-700 mb-2",children:"City"}),
@@ -1,6 +1,6 @@
1
- import{AVAILABLE_CITIES as e,fetchCityWeather as t,getCondition as n,toFahrenheit as r}from"./chunk-FBDZGO3V.js";import{loadAppearance as s,WidgetSettingsModal as i}from"./chunk-H6WXTJOT.js";import{useWidgetSettings as a}from"./chunk-KZRZYLN7.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-DK5SXOXJ.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-UR2ECNBB.js";import"./chunk-HMT3MES3.js";import"./chunk-D2WJAF62.js";import"./chunk-EIFNESXS.js";import"./chunk-MWTCGJAI.js";import"./chunk-RIG5FEVS.js";import"./chunk-5WK56FA3.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-CJHYOHMU.js";import"./chunk-JZBLOIL7.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as c}from"./chunk-KC3EX26K.js";import"./chunk-DWGYC7OD.js";import"./chunk-JMGDGNM7.js";import"./chunk-THLXDI76.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import"./chunk-XZXFUZIK.js";import"./chunk-J75ZT2JQ.js";import{LoadingSpinner as o}from"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-JSHMIMAJ.js";import"./chunk-C3QOHMR6.js";import{useState as m,useEffect as l,useCallback as h}from"react";import{jsxs as p,Fragment as u,jsx as d}from"react/jsx-runtime";var k="world_clock_appearance",g=["London","Shanghai","New York"];function j(){const{prefs:j,save:x}=c(),[b,f]=m(()=>s(k)),[y,N]=m(!1),[v,w]=m([]),[D,F]=m(b),C={useFahrenheit:!!j.weather_prefs?.useFahrenheit},[J,S]=m(C),[T,M]=m(()=>/* @__PURE__ */new Date);l(()=>{const e=setInterval(()=>M(/* @__PURE__ */new Date),3e4);return()=>clearInterval(e)},[]);const W=Object.fromEntries(Object.entries(e).map(([e,t])=>[t.tz,e])),O=j.world_clocks,U=(()=>{if(!Array.isArray(O)||0===O.length)return g;const t=[];for(const n of O){const r=e[n]?n:W[n];r&&!t.includes(r)&&t.push(r)}return t.length?t:g})(),[Z,H]=m({}),[X,A]=m(!0);l(()=>{let e=!1;return A(!0),(async()=>{const n={};await Promise.all(U.map(async e=>{const r=await t(e);r&&(n[e]=r)})),e||(H(n),A(!1))})(),()=>{e=!0}},[U.join(",")]),a(h(()=>{w([...U]),F({...b}),S({...C}),N(!0)},[U.join(","),b,C.useFahrenheit]));const G=e=>C.useFahrenheit?`${r(e)}°`:`${e}°`;/* @__PURE__ */
1
+ import{AVAILABLE_CITIES as e,fetchCityWeather as t,getCondition as n,toFahrenheit as r}from"./chunk-FBDZGO3V.js";import{loadAppearance as s,WidgetSettingsModal as i}from"./chunk-XAF5ZI7H.js";import{useWidgetSettings as a}from"./chunk-BC4FE77W.js";import"./chunk-4LXCCZDM.js";import"./chunk-AW7TOB6N.js";import"./chunk-KNUR2UEG.js";import"./chunk-JDCM2VHG.js";import"./chunk-47UH3D4B.js";import"./chunk-ZDMZM7HD.js";import"./chunk-5A7MWTXX.js";import"./chunk-HVYXJLAV.js";import"./chunk-YWNHK6Z5.js";import"./chunk-64J7TYJ3.js";import"./chunk-EIFNESXS.js";import"./chunk-MWTCGJAI.js";import"./chunk-RIG5FEVS.js";import"./chunk-TGLUENXE.js";import"./chunk-VWGWZY7A.js";import"./chunk-7QSDPSXP.js";import"./chunk-NN32QUCE.js";import"./chunk-JZBLOIL7.js";import"./chunk-F3ZOO23R.js";import"./chunk-2QY5BJLA.js";import"./chunk-UGTRSRIW.js";import{useShellPrefs as c}from"./chunk-KC3EX26K.js";import"./chunk-DWGYC7OD.js";import"./chunk-JMGDGNM7.js";import"./chunk-GOAFMGUI.js";import"./chunk-URHGHXDN.js";import"./chunk-5QFPTDQF.js";import"./chunk-EVYD6UFQ.js";import"./chunk-M5K4AX4E.js";import"./chunk-ISVODSRP.js";import"./chunk-J75ZT2JQ.js";import{LoadingSpinner as o}from"./chunk-R2VKEMZH.js";import"./chunk-G67CJAQ2.js";import"./chunk-SOZCWT6I.js";import"./chunk-PGN5ME7B.js";import"./chunk-62LW225J.js";import"./chunk-GLUJS42B.js";import"./chunk-D65T4H6J.js";import"./chunk-STKJA4PV.js";import"./chunk-UQYNPYF4.js";import"./chunk-MRJKZWWV.js";import"./chunk-TWVUQUUD.js";import"./chunk-5FYDNH4Y.js";import"./chunk-LNXBTK7Q.js";import"./chunk-JSHMIMAJ.js";import"./chunk-C3QOHMR6.js";import{useState as m,useEffect as l,useCallback as h}from"react";import{jsxs as p,Fragment as u,jsx as d}from"react/jsx-runtime";var k="world_clock_appearance",g=["London","Shanghai","New York"];function j(){const{prefs:j,save:x}=c(),[b,f]=m(()=>s(k)),[y,N]=m(!1),[v,w]=m([]),[F,D]=m(b),C={useFahrenheit:!!j.weather_prefs?.useFahrenheit},[S,J]=m(C),[G,T]=m(()=>/* @__PURE__ */new Date);l(()=>{const e=setInterval(()=>T(/* @__PURE__ */new Date),3e4);return()=>clearInterval(e)},[]);const U=Object.fromEntries(Object.entries(e).map(([e,t])=>[t.tz,e])),M=j.world_clocks,W=(()=>{if(!Array.isArray(M)||0===M.length)return g;const t=[];for(const n of M){const r=e[n]?n:U[n];r&&!t.includes(r)&&t.push(r)}return t.length?t:g})(),[A,O]=m({}),[E,H]=m(!0);l(()=>{let e=!1;return H(!0),(async()=>{const n={};await Promise.all(W.map(async e=>{const r=await t(e);r&&(n[e]=r)})),e||(O(n),H(!1))})(),()=>{e=!0}},[W.join(",")]),a(h(()=>{w([...W]),D({...b}),J({...C}),N(!0)},[W.join(","),b,C.useFahrenheit]));const I=e=>C.useFahrenheit?`${r(e)}°`:`${e}°`;/* @__PURE__ */
2
2
  return p(u,{children:[
3
- /* @__PURE__ */d("div",{style:{backgroundColor:`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${b.activeOpacity/100})`,backdropFilter:b.activeBlur>0?`blur(${b.activeBlur}px)`:void 0},children:/* @__PURE__ */p("div",{className:"divide-y divide-gray-200",children:[X&&U.every(e=>!Z[e])&&/* @__PURE__ */d(o,{size:"sm",padding:"py-6",label:"Loading"}),U.map(t=>{const r=Z[t],s=e[t]?.tz??"UTC",{time:i,ampm:a}=function(e,t){try{const n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"2-digit",hour12:!0}).formatToParts(t),r=n.find(e=>"hour"===e.type)?.value||"12";return{time:`${r}:${n.find(e=>"minute"===e.type)?.value||"00"}`,ampm:(n.find(e=>"dayPeriod"===e.type)?.value||"").toUpperCase()}}catch{return{time:"",ampm:""}}}(s,T);if(!r)/* @__PURE__ */
3
+ /* @__PURE__ */d("div",{style:{backgroundColor:`rgb(var(--taskbar-bg-rgb, 243 244 246) / ${b.activeOpacity/100})`,backdropFilter:b.activeBlur>0?`blur(${b.activeBlur}px)`:void 0},children:/* @__PURE__ */p("div",{className:"divide-y divide-gray-200",children:[E&&W.every(e=>!A[e])&&/* @__PURE__ */d(o,{size:"sm",padding:"py-6",label:"Loading"}),W.map(t=>{const r=A[t],s=e[t]?.tz??"UTC",{time:i,ampm:a}=function(e,t){try{const n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"2-digit",hour12:!0}).formatToParts(t),r=n.find(e=>"hour"===e.type)?.value||"12";return{time:`${r}:${n.find(e=>"minute"===e.type)?.value||"00"}`,ampm:(n.find(e=>"dayPeriod"===e.type)?.value||"").toUpperCase()}}catch{return{time:"",ampm:""}}}(s,G);if(!r)/* @__PURE__ */
4
4
  return p("div",{className:"px-4 py-3",children:[
5
5
  /* @__PURE__ */p("div",{className:"flex items-baseline justify-between gap-2",children:[
6
6
  /* @__PURE__ */d("span",{className:"text-base font-semibold tracking-tight text-ink-strongest truncate",children:t}),
@@ -10,7 +10,7 @@ return p("div",{className:"px-4 py-3",children:[
10
10
  return p("div",{className:"px-4 py-3",children:[
11
11
  /* @__PURE__ */p("div",{className:"flex items-baseline justify-between gap-2",children:[
12
12
  /* @__PURE__ */d("span",{className:"text-base font-semibold tracking-tight text-ink-strongest truncate",children:t}),
13
- /* @__PURE__ */d("span",{className:"text-2xl font-extralight leading-none tabular-nums tracking-tight text-ink-strongest shrink-0",children:G(r.temp)})]}),
13
+ /* @__PURE__ */d("span",{className:"text-2xl font-extralight leading-none tabular-nums tracking-tight text-ink-strongest shrink-0",children:I(r.temp)})]}),
14
14
  /* @__PURE__ */p("div",{className:"flex items-center justify-between gap-2 mt-2 text-2xs",children:[
15
15
  /* @__PURE__ */p("div",{className:"flex items-center gap-2 min-w-0 text-ink-faint",children:[
16
16
  /* @__PURE__ */d("span",{className:"text-base leading-none shrink-0",children:m}),
@@ -18,13 +18,13 @@ return p("div",{className:"px-4 py-3",children:[
18
18
  /* @__PURE__ */d("span",{className:"text-3xs font-medium ml-0.5 opacity-70",children:a})]}),
19
19
  /* @__PURE__ */d("span",{className:"text-gray-300 shrink-0",children:"·"}),
20
20
  /* @__PURE__ */d("span",{className:"truncate",children:c})]}),
21
- /* @__PURE__ */p("span",{className:"tabular-nums text-gray-500 shrink-0",children:["H:",G(r.high)," L:",G(r.low)]})]})]},t)})]})}),
22
- /* @__PURE__ */p(i,{open:y,onClose:()=>N(!1),title:"World Clock Settings",appearance:D,onAppearanceChange:F,onSave:()=>{0!==v.length&&(x({world_clocks:v,weather_prefs:{...j.weather_prefs??{},useFahrenheit:J.useFahrenheit}}),f(D),localStorage.setItem(k,JSON.stringify(D)),N(!1))},children:[
21
+ /* @__PURE__ */p("span",{className:"tabular-nums text-gray-500 shrink-0",children:["H:",I(r.high)," L:",I(r.low)]})]})]},t)})]})}),
22
+ /* @__PURE__ */p(i,{open:y,onClose:()=>N(!1),title:"World Clock Settings",appearance:F,onAppearanceChange:D,onSave:()=>{0!==v.length&&(x({world_clocks:v,weather_prefs:{...j.weather_prefs??{},useFahrenheit:S.useFahrenheit}}),f(F),localStorage.setItem(k,JSON.stringify(F)),N(!1))},children:[
23
23
  /* @__PURE__ */p("div",{children:[
24
24
  /* @__PURE__ */d("h3",{className:"text-sm font-semibold text-gray-700 mb-2",children:"Display"}),
25
25
  /* @__PURE__ */p("div",{className:"flex items-center gap-3 mb-2",children:[
26
26
  /* @__PURE__ */d("span",{className:"text-sm text-gray-600 w-24",children:"Temperature"}),
27
- /* @__PURE__ */d("div",{className:"flex gap-1",children:[{key:!1,label:"°C"},{key:!0,label:"°F"}].map(e=>/* @__PURE__ */d("button",{onClick:()=>S(t=>({...t,useFahrenheit:e.key})),className:"px-3 py-1 text-xs font-medium rounded-lg border transition-colors "+(J.useFahrenheit===e.key?"bg-blue-600 text-white border-blue-600":"bg-white text-gray-700 border-gray-300 hover:bg-gray-50"),children:e.label},String(e.key)))})]}),
27
+ /* @__PURE__ */d("div",{className:"flex gap-1",children:[{key:!1,label:"°C"},{key:!0,label:"°F"}].map(e=>/* @__PURE__ */d("button",{onClick:()=>J(t=>({...t,useFahrenheit:e.key})),className:"px-3 py-1 text-xs font-medium rounded-lg border transition-colors "+(S.useFahrenheit===e.key?"bg-blue-600 text-white border-blue-600":"bg-white text-gray-700 border-gray-300 hover:bg-gray-50"),children:e.label},String(e.key)))})]}),
28
28
  /* @__PURE__ */d("p",{className:"text-2xs text-ink-faintest mt-1",children:"Shared with the Weather widget."})]}),
29
29
  /* @__PURE__ */p("div",{children:[
30
30
  /* @__PURE__ */d("h3",{className:"text-sm font-semibold text-gray-700 mb-2",children:"Cities"}),
@@ -614,6 +614,134 @@ interface MessageProps {
614
614
  }
615
615
  declare function Message({ message, speaker, toolLabels, labels, showReasoning, showToolOutput, showUsage, live, waitingSince, onApprove, plans, userActions, tableActions, onLinkClick, onOpenAttachment, onOpenFile, renderDataPart, showCopy, answerActions, onRate, onAsk, layout, selfName, onQuote }: MessageProps): react_jsx_runtime.JSX.Element | null;
616
616
 
617
+ /** One emoji on a message, as `/api/direct-chats/` sends it. */
618
+ interface ChatReaction {
619
+ emoji: string;
620
+ count: number;
621
+ /** The viewer is one of them. */
622
+ mine: boolean;
623
+ /** Who, by name. */
624
+ names: string[];
625
+ }
626
+ /** The emoji the hover bar offers first. */
627
+ declare const QUICK_REACTIONS: readonly ["👍", "✅", "👀"];
628
+ /** The picker's emoji: the common ones, in a small grid, no library. */
629
+ declare const PICKER_EMOJI: readonly ["👍", "👎", "❤️", "😂", "😮", "😢", "🙏", "🎉", "✅", "❌", "👀", "🔥", "💯", "🚀", "👏", "🙌", "😀", "😅", "🤔", "😬", "🤝", "💪", "📦", "🚚", "📅", "⏰", "💰", "📈", "⚠️", "❓", "➕", "👌"];
630
+ /** "You, Mia Chen and Tom Reyes": who reacted, the viewer first as "You". */
631
+ declare function reactionNames(reaction: ChatReaction, selfName?: string, you?: string): string;
632
+ /** A small grid of emoji; choosing one calls `onPick` and closes it. */
633
+ declare function EmojiPicker({ onPick, onClose, label }: {
634
+ onPick: (emoji: string) => void;
635
+ onClose: () => void;
636
+ label?: string;
637
+ }): react_jsx_runtime.JSX.Element;
638
+ /** The quick emoji and the smiley for a row's hover bar. */
639
+ declare function ReactionBarItems({ onReact, label }: {
640
+ /** Adds the viewer's emoji. */
641
+ onReact: (emoji: string) => void;
642
+ label?: string;
643
+ }): react_jsx_runtime.JSX.Element;
644
+ /** The pills under a message: each emoji with its count, the viewer's own
645
+ * in the accent tint. Choosing one toggles the viewer's; the last pill adds
646
+ * another. Pointing at a pill names who reacted. */
647
+ declare function ReactionPills({ reactions, onToggle, selfName, label }: {
648
+ reactions: ChatReaction[];
649
+ /** `on`: add the viewer's emoji; off: take it back. Absent: read only. */
650
+ onToggle?: (emoji: string, on: boolean) => void;
651
+ selfName?: string;
652
+ label?: string;
653
+ }): react_jsx_runtime.JSX.Element | null;
654
+ /** What a deleted message leaves in its place. */
655
+ declare function DeletedText({ text }: {
656
+ text?: string;
657
+ }): react_jsx_runtime.JSX.Element;
658
+ /** A forwarded or shared message's copy, as the server keeps it. */
659
+ interface ChatForwarded {
660
+ author_name: string;
661
+ chat_title: string;
662
+ chat_kind: string;
663
+ body: string;
664
+ created_at: string;
665
+ /** Filled only for a reader who is in the chat it came from. */
666
+ chat_id: string | null;
667
+ message_id: string | null;
668
+ }
669
+ /** The card a forwarded message carries: who wrote it, where and when, what
670
+ * it said, and a link back for a reader who is in that chat. */
671
+ declare function ForwardedCard({ forwarded, onOpen, children }: {
672
+ forwarded: ChatForwarded;
673
+ /** Opens the original; shown only when the server gave a link back. */
674
+ onOpen?: (chatId: string, messageId: string) => void;
675
+ /** The original's own rendering of `body` (mentions, Markdown). */
676
+ children?: ReactNode;
677
+ }): react_jsx_runtime.JSX.Element;
678
+ /** "Mia Chen is typing", "Mia Chen and Sam Patel are typing", "Several
679
+ * people are typing". Nothing while nobody is. */
680
+ declare function typingWords(names: string[]): string;
681
+ /** The line under the last message while someone else types. */
682
+ declare function TypingLine({ names }: {
683
+ names: string[];
684
+ }): react_jsx_runtime.JSX.Element;
685
+ /** Someone the composer's menu offers; `id` empty for a word such as
686
+ * "@channel" or the assistant. */
687
+ interface MentionOption {
688
+ id: string;
689
+ /** What goes into the text after "@": a person's name, "JARVIS", "channel". */
690
+ name: string;
691
+ /** Muted on the right: a team, "Assistant", "All 9", "Active now". */
692
+ hint?: string;
693
+ avatarUrl?: string | null;
694
+ /** Draws the sparkles (the assistant) or a megaphone (a word for everyone). */
695
+ kind?: 'person' | 'assistant' | 'everyone';
696
+ }
697
+ /** The "@…" being typed at `caret`, or null: the at sign's index and what
698
+ * follows it so far (letters, spaces between names, up to 30 characters). */
699
+ declare function mentionQuery(text: string, caret: number): {
700
+ start: number;
701
+ query: string;
702
+ } | null;
703
+ /** The options whose name has a word starting with every word of `query`. */
704
+ declare function filterMentions(options: MentionOption[], query: string, limit?: number): MentionOption[];
705
+ /** The text with the "@query" at `start..caret` replaced by "@Name ", and
706
+ * where the caret goes after it. */
707
+ declare function insertMention(text: string, start: number, caret: number, name: string): {
708
+ text: string;
709
+ caret: number;
710
+ };
711
+ /** The ids of the people still named in `text` ("@Name" as whole words). */
712
+ declare function mentionedIds(text: string, picked: MentionOption[]): string[];
713
+ /** The menu above the composer while "@…" is typed: arrow keys move, Enter
714
+ * or Tab picks, Escape closes (the host routes keys with `useMentionKeys`). */
715
+ declare function MentionMenu({ options, active, onPick, label }: {
716
+ options: MentionOption[];
717
+ active: number;
718
+ onPick: (option: MentionOption) => void;
719
+ label?: string;
720
+ }): react_jsx_runtime.JSX.Element | null;
721
+ /** The state of the composer's @-menu for a textarea: call `onChange` with
722
+ * the new text and caret, route `onKeyDown` through `keyDown` first (it
723
+ * answers true when it took the key), and read `mentions` when sending. */
724
+ declare function useMentionDraft(options: MentionOption[]): {
725
+ shown: MentionOption[];
726
+ active: number;
727
+ /** Track the "@…" under the caret. */
728
+ onChange(text: string, caret: number): void;
729
+ /** Pick an option: returns the new text and caret. */
730
+ pick(text: string, option: MentionOption): {
731
+ text: string;
732
+ caret: number;
733
+ };
734
+ /** Arrow keys, Enter/Tab and Escape while the menu shows. */
735
+ keyDown(event: {
736
+ key: string;
737
+ preventDefault: () => void;
738
+ }, pickActive: (option: MentionOption) => void): boolean;
739
+ /** The ids of the people the text still names, for the send. */
740
+ mentions(text: string): string[];
741
+ /** After a send. */
742
+ reset(): void;
743
+ };
744
+
617
745
  /** How much of a message a quote carries; the server keeps its own excerpt. */
618
746
  declare const QUOTE_EXCERPT_LENGTH = 140;
619
747
  /** A message's text as a quote's excerpt: plain words on one line, cut at a word. */
@@ -634,13 +762,21 @@ declare function RowAvatar({ name, assistant, avatarUrl }: {
634
762
  declare function QuoteBlock({ quote }: {
635
763
  quote: AssistantReplyTo;
636
764
  }): react_jsx_runtime.JSX.Element;
637
- /** The person's text, each `@JARVIS` in it an accent chip. */
765
+ /** The person's text, each mention in it an accent chip: `@JARVIS`, or
766
+ * several words at once (each person the message mentions, `@channel`). */
638
767
  declare function MentionText({ text, mention }: {
639
768
  text: string;
640
- mention: string;
769
+ mention: string | readonly string[];
641
770
  }): react_jsx_runtime.JSX.Element;
642
771
  /** The words a row's bar and a quote chip use; each falls back to the default. */
643
- type MessageRowLabels = Partial<Pick<AssistantChatLabels, 'quote' | 'moreActions' | 'replyingTo' | 'clearQuote'>>;
772
+ type MessageRowLabels = Partial<Pick<AssistantChatLabels, 'quote' | 'moreActions' | 'replyingTo' | 'clearQuote'> & typeof ROW_EXTRA_LABELS>;
773
+ /** The words the Slack-parity pieces of a row use (2026-11-09). */
774
+ declare const ROW_EXTRA_LABELS: {
775
+ edited: string;
776
+ deleted: string;
777
+ addReaction: string;
778
+ pinned: string;
779
+ };
644
780
  /** What the composer's box shows above the field while a reply quotes a
645
781
  * message: "Replying to {name}", how it began, and × to drop the quote. */
646
782
  declare function QuoteChip({ quote, labels, onClear }: {
@@ -649,6 +785,14 @@ declare function QuoteChip({ quote, labels, onClear }: {
649
785
  /** The ×; without it, the chip has none. */
650
786
  onClear?: () => void;
651
787
  }): react_jsx_runtime.JSX.Element;
788
+ /** Where the viewer's own message stands with everyone else in the chat. */
789
+ type MessageReceipt = 'sent' | 'delivered' | 'read';
790
+ /** One grey tick, two grey, or two in the accent colour. With `onInfo`
791
+ * they are the button to the message's Info. */
792
+ declare function ReceiptTicks({ receipt, onInfo }: {
793
+ receipt: MessageReceipt;
794
+ onInfo?: () => void;
795
+ }): react_jsx_runtime.JSX.Element;
652
796
  interface MessageRowProps {
653
797
  /** Who wrote it, over the text and as the avatar's initials. */
654
798
  name: string;
@@ -659,6 +803,13 @@ interface MessageRowProps {
659
803
  /** The viewer's own message: on the right in an accent bubble, with no
660
804
  * avatar or name, as most chat apps draw it (Victor Mau, 2026-11-09). */
661
805
  mine?: boolean;
806
+ /** On the viewer's own message, its ticks after the time, as WhatsApp
807
+ * draws them (Victor Mau, 2026-11-09): `sent` one grey tick, `delivered`
808
+ * two grey, `read` two in the accent colour. */
809
+ receipt?: MessageReceipt | null;
810
+ /** Opens the message's Info (who got it, who read it); the ticks become
811
+ * its button. */
812
+ onReceiptInfo?: () => void;
662
813
  /** The server's `created_at`, when it has saved the message. */
663
814
  createdAt?: string;
664
815
  /** Muted after the time ("Asked by Sebastian Lim"). */
@@ -676,10 +827,23 @@ interface MessageRowProps {
676
827
  menuText?: string;
677
828
  /** Under the text: the reply's stats. */
678
829
  footer?: ReactNode;
830
+ /** Its writer changed it: "(edited)" after the time. */
831
+ edited?: boolean;
832
+ /** Deleted: "This message was deleted" in place of the text, no bar and
833
+ * no reactions. */
834
+ deleted?: boolean;
835
+ /** The emoji under the message (`ReactionPills`). */
836
+ reactions?: ChatReaction[];
837
+ /** With it, the bar offers quick emoji and the pills toggle the viewer's. */
838
+ onReact?: (emoji: string, on: boolean) => void;
839
+ /** The viewer's name, so the pills say "You". */
840
+ selfName?: string;
841
+ /** Pinned to the chat: a small "Pinned" over the row. */
842
+ pinned?: boolean;
679
843
  children: ReactNode;
680
844
  }
681
845
  /** One message in the `rows` layout. */
682
- declare function MessageRow({ name, assistant, avatarUrl, mine, createdAt, note, replyTo, labels: labelOverrides, onQuote, barItems, menu, menuText, footer, children }: MessageRowProps): react_jsx_runtime.JSX.Element;
846
+ declare function MessageRow({ name, assistant, avatarUrl, mine, receipt, onReceiptInfo, createdAt, note, replyTo, labels: labelOverrides, onQuote: quote, barItems: hostItems, menu: hostMenu, menuText, footer: hostFooter, edited, deleted, reactions, onReact: react, selfName, pinned, children: body }: MessageRowProps): react_jsx_runtime.JSX.Element;
683
847
 
684
848
  interface ApprovalDecision {
685
849
  approval_id: string;
@@ -740,7 +904,7 @@ interface MentionSpan {
740
904
  /** A message's text cut where it names the assistant by `mention` ("@JARVIS"),
741
905
  * on the same word edges as {@link mentionsAssistant}, so the rows layout can
742
906
  * draw each mention as a chip. Without a mention it is one plain span. */
743
- declare function mentionSpans(text: string, mention: string): MentionSpan[];
907
+ declare function mentionSpans(text: string, mention: string | readonly string[]): MentionSpan[];
744
908
  /** The draft as a question to the assistant: `mention` first, unless it is
745
909
  * already there. */
746
910
  declare function addressedToAssistant(text: string, mention: string): string;
@@ -920,4 +1084,4 @@ declare function summarizeChat(messages: AssistantUIMessage[], toolLabels: ToolL
920
1084
  /** Compact token counts for the panel: 950, 48.2k, 1.3M. */
921
1085
  declare function compactCount(n: number): string;
922
1086
 
923
- export { ApprovalCard, type ApprovalDecision, type AssistantAnswerAction, type AssistantAnswerRating, type AssistantAnswerVerdict, type AssistantAttachment, type AssistantAttachmentsConfig, AssistantChat, type AssistantChatDetails, type AssistantChatLabels, type AssistantChatLayout, type AssistantChatProps, type AssistantChatRequestBody, type AssistantChatVariant, type AssistantConversation, type AssistantDataPart, type AssistantDetailFact, type AssistantErrorCode, Message as AssistantMessage, type AssistantMessageMetadata, type AssistantPerson, type AssistantRateRequest, type AssistantReplyTo, type AssistantTextAction, type AssistantTurnUsage, type AssistantUIMessage, type ChatDetailsSummary, type ChatFile, type ChatTool, type ChatUsage, type ConversationHistory, DEFAULT_ASSISTANT_CHAT_LABELS, type ErrorDataPart, type FailureView, type FileDataPart, type MentionSpan, MentionText, MessageRow, type MessageRowLabels, type MessageRowProps, type MessageSource, OWN_DATA_PARTS, PlanApprovalCard, PlanChecklist, type PlanDataPart, type PlanStatus, type PlanStepData, QUOTE_EXCERPT_LENGTH, QuoteBlock, QuoteChip, RowAvatar, type ToolLabel, type ToolLabelSpec, type ToolLabels, ToolStep, type ToolSummaryDataPart, type ToolSummaryRow, addressedToAssistant, attachmentPart, attachmentsOf, buildRequestBody, compactCount, estimateTokens, failureView, filesOf, finishedStats, initialsOf, isDroppedConnection, liveStats, mentionSpans, mentionsAssistant, messagesFromHistory, peopleNames, pinnedPlan, plansOf, quoteExcerpt, summarizeChat, tokensPerSecond, toolSummariesOf };
1087
+ export { ApprovalCard, type ApprovalDecision, type AssistantAnswerAction, type AssistantAnswerRating, type AssistantAnswerVerdict, type AssistantAttachment, type AssistantAttachmentsConfig, AssistantChat, type AssistantChatDetails, type AssistantChatLabels, type AssistantChatLayout, type AssistantChatProps, type AssistantChatRequestBody, type AssistantChatVariant, type AssistantConversation, type AssistantDataPart, type AssistantDetailFact, type AssistantErrorCode, Message as AssistantMessage, type AssistantMessageMetadata, type AssistantPerson, type AssistantRateRequest, type AssistantReplyTo, type AssistantTextAction, type AssistantTurnUsage, type AssistantUIMessage, type ChatDetailsSummary, type ChatFile, type ChatForwarded, type ChatReaction, type ChatTool, type ChatUsage, type ConversationHistory, DEFAULT_ASSISTANT_CHAT_LABELS, DeletedText, EmojiPicker, type ErrorDataPart, type FailureView, type FileDataPart, ForwardedCard, MentionMenu, type MentionOption, type MentionSpan, MentionText, type MessageReceipt, MessageRow, type MessageRowLabels, type MessageRowProps, type MessageSource, OWN_DATA_PARTS, PICKER_EMOJI, PlanApprovalCard, PlanChecklist, type PlanDataPart, type PlanStatus, type PlanStepData, QUICK_REACTIONS, QUOTE_EXCERPT_LENGTH, QuoteBlock, QuoteChip, ROW_EXTRA_LABELS, ReactionBarItems, ReactionPills, ReceiptTicks, RowAvatar, type ToolLabel, type ToolLabelSpec, type ToolLabels, ToolStep, type ToolSummaryDataPart, type ToolSummaryRow, TypingLine, addressedToAssistant, attachmentPart, attachmentsOf, buildRequestBody, compactCount, estimateTokens, failureView, filesOf, filterMentions, finishedStats, initialsOf, insertMention, isDroppedConnection, liveStats, mentionQuery, mentionSpans, mentionedIds, mentionsAssistant, messagesFromHistory, peopleNames, pinnedPlan, plansOf, quoteExcerpt, reactionNames, summarizeChat, tokensPerSecond, toolSummariesOf, typingWords, useMentionDraft };