@hanzo/dev 4.1.0 → 4.2.1

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 (122) hide show
  1. package/dist/{BinaryViewer-CmFUK4zZ.js → BinaryViewer-BCDMNW2g.js} +19 -19
  2. package/dist/{ChatMarkdown-nvEI7iCv.js → ChatMarkdown-BUidXqSs.js} +2460 -2460
  3. package/dist/{DevicePanel-v5e3sEIf.js → DevicePanel-D-pksK3r.js} +532 -532
  4. package/dist/{DeviceStreamView-CCIfmbxH.js → DeviceStreamView-DsCoOzDV.js} +377 -377
  5. package/dist/{DiffCommentAnnotation-BPTN_2a6.js → DiffCommentAnnotation-2HD5qiyt.js} +227 -227
  6. package/dist/{DiffFileTree-B_br90vY.js → DiffFileTree-CuWvI5hS.js} +13 -13
  7. package/dist/{DiffPanel-V5R5TPuK.js → DiffPanel-Z2QVmBzu.js} +328 -328
  8. package/dist/{DiffWorkerPoolProvider-BwFR-Fc9.js → DiffWorkerPoolProvider-CEfiCIGR.js} +3 -3
  9. package/dist/{DocumentPages-VSn83vty.js → DocumentPages-glImt2JO.js} +3 -3
  10. package/dist/{ExpandedImageDialog-CAorLacL.js → ExpandedImageDialog-iqO3LiIj.js} +404 -404
  11. package/dist/{FileExplorerPane-CeHulcPz.js → FileExplorerPane-GwnRmXEh.js} +4 -4
  12. package/dist/{FilePreviewPanel-BVNLvWOc.js → FilePreviewPanel-CXWpTlfI.js} +1089 -1089
  13. package/dist/{FontFilePreview-Dj8Blcay.js → FontFilePreview-CDydHOXg.js} +2 -2
  14. package/dist/{FontViewer-CLDdwhSr.js → FontViewer-DDt9C5Cb.js} +5 -5
  15. package/dist/{HanzoConnectAccountPages-BEzYfu2l.js → HanzoConnectAccountPages-_sfrtw9j.js} +357 -357
  16. package/dist/{HanzoConnectSidebarSignIn-BhD6-Up5.js → HanzoConnectSidebarSignIn-coFQvyRw.js} +3 -3
  17. package/dist/{Icons-CvSmt8vD.js → Icons-CdegMw5l.js} +1 -1
  18. package/dist/{LargeTextViewer-DfFnYGCw.js → LargeTextViewer-D3RklYQB.js} +8 -8
  19. package/dist/{MermaidDiagram-CTolIzQD.js → MermaidDiagram-sVLnox7j.js} +8 -8
  20. package/dist/{MermaidFilePreview-CP2zP4FU.js → MermaidFilePreview-BmPdNxW5.js} +2 -2
  21. package/dist/{MermaidViewer-BDfYkS9E.js → MermaidViewer-BlKTevTF.js} +3 -3
  22. package/dist/{NotebookPreview-Cybs5uM0.js → NotebookPreview-C0gSEyeO.js} +10 -10
  23. package/dist/{OfficeFilePreview-7JsmSoKU.js → OfficeFilePreview-Ago_DWEt.js} +2 -2
  24. package/dist/{OfficeViewer-CJoojlJK.js → OfficeViewer-DBRqtLet.js} +10 -10
  25. package/dist/{OpenInPicker-BIMWUxBP.js → OpenInPicker-DD_h7VLv.js} +287 -287
  26. package/dist/{OpenXmlOfficeViewer-C24Kj8DM.js → OpenXmlOfficeViewer-B4dxjpba.js} +4 -4
  27. package/dist/{PdfViewer-Cf1iD759.js → PdfViewer-BanXvPmz.js} +16 -16
  28. package/dist/{PreviewFaviconIcon-zFOuzIxe.js → PreviewFaviconIcon-BwYKB-3e.js} +892 -892
  29. package/dist/{PreviewImage-oY5YnuTr.js → PreviewImage-6UU-M6_B.js} +3 -3
  30. package/dist/{PreviewImageContent-n6eLzY99.js → PreviewImageContent-D-00K-A9.js} +3 -3
  31. package/dist/{PreviewPanel-Bo4Lt02m.js → PreviewPanel-CiuHdDv8.js} +489 -489
  32. package/dist/{PreviewPanelShell-DhXLeN5j.js → PreviewPanelShell-Dezxjg0T.js} +71 -71
  33. package/dist/{ProjectIconPickerDialog-D0kFzt8f.js → ProjectIconPickerDialog-LomrzROv.js} +29 -29
  34. package/dist/{ProjectMonogram-D35xrrXQ.js → ProjectMonogram-D21--FQY.js} +1 -1
  35. package/dist/{ProviderAuthTerminal-DfsXnu7A.js → ProviderAuthTerminal-pQXIfodT.js} +3 -3
  36. package/dist/{PullRequestCodeTab-Dv_0kVad.js → PullRequestCodeTab-Cqfh5eN2.js} +476 -476
  37. package/dist/{PullRequestReviewAnnotation-LeuwO-iH.js → PullRequestReviewAnnotation-B4Lp8Ktf.js} +334 -334
  38. package/dist/{ReadOnlySourcePreview-D__IA5g1.js → ReadOnlySourcePreview-7xXUUySV.js} +5 -5
  39. package/dist/{RelativeTime-BMRprQS8.js → RelativeTime-B_yprjav.js} +2 -2
  40. package/dist/{RightPanelResizeHandle-BLbSz-gk.js → RightPanelResizeHandle-PumvYb9P.js} +2 -2
  41. package/dist/{ThemeEditorPanel-CUDdsRsE.js → ThemeEditorPanel-BmXXpaCI.js} +196 -196
  42. package/dist/{ThreadTerminalDrawer-BF3Ix0q_.js → ThreadTerminalDrawer-DCgE3ojz.js} +461 -461
  43. package/dist/{VirtualTablePreview-dajviAfu.js → VirtualTablePreview-mA6DOFwb.js} +1 -1
  44. package/dist/{anchoredCopyToast-DnUtg1n_.js → anchoredCopyToast-BVa_dlBU.js} +2 -2
  45. package/dist/{assetUrls-DkY7vXfM.js → assetUrls-D8lRk7Xd.js} +45 -45
  46. package/dist/{browserLinkTarget-CA46wnQC.js → browserLinkTarget-BbVlDQYx.js} +18 -18
  47. package/dist/builder/api/git.d.ts +32 -4
  48. package/dist/builder/api/git.js +74 -4
  49. package/dist/builder/api/github.d.ts +54 -0
  50. package/dist/builder/api/github.js +103 -1
  51. package/dist/builder/api/models.d.ts +2 -0
  52. package/dist/builder/api/models.js +6 -1
  53. package/dist/builder/api/sandbox.d.ts +2 -0
  54. package/dist/builder/api/sandbox.js +3 -1
  55. package/dist/builder/desk.d.ts +6 -0
  56. package/dist/builder/desk.js +79 -14
  57. package/dist/builder/forge.js +79 -10
  58. package/dist/builder/github-sync.d.ts +70 -0
  59. package/dist/builder/github-sync.js +435 -0
  60. package/dist/builder/mind.d.ts +5 -5
  61. package/dist/builder/mind.js +35 -14
  62. package/dist/builder/pane.d.ts +1 -1
  63. package/dist/builder/pane.js +1 -1
  64. package/dist/builder/panel.js +5 -5
  65. package/dist/builder/preview-fallback.d.ts +47 -0
  66. package/dist/builder/preview-fallback.js +341 -0
  67. package/dist/builder/project.js +17 -4
  68. package/dist/builder/sync.js +27 -4
  69. package/dist/{changedFileKind-D6QYvIez.js → changedFileKind-DrjqPCpz.js} +5 -5
  70. package/dist/{collapsible-DFT41MdC.js → collapsible-CDT6JKbk.js} +1 -1
  71. package/dist/{color-picker-CshqBbpY.js → color-picker-kSVcH92L.js} +16 -16
  72. package/dist/core.js +1 -1
  73. package/dist/{decodeImagePreview-DnfFEjhw.js → decodeImagePreview-ZtWU3urU.js} +2 -2
  74. package/dist/{delimitedPreview-BiEpdYOj.js → delimitedPreview-DbbXcqOT.js} +1 -1
  75. package/dist/{dialog-DhQtWGRa.js → dialog-EmpqFZiK.js} +40 -40
  76. package/dist/{embed-c030vUqM.js → embed-CPWZKyIW.js} +36098 -35677
  77. package/dist/{empty-Bm5EzcG8.js → empty-ChM6gdzn.js} +1 -1
  78. package/dist/{errors-DrFQSJW3.js → errors-D8_Zn8KN.js} +2 -2
  79. package/dist/{fileContextMenu-BBo91omq.js → fileContextMenu-DW94DZj4.js} +54 -54
  80. package/dist/{fileExplorerLabel-AikEChiS.js → fileExplorerLabel-Cfz-3q1U.js} +507 -507
  81. package/dist/{fileSurfaceChrome-Cqkvn8RQ.js → fileSurfaceChrome-BDyKklTq.js} +26 -26
  82. package/dist/{hanzoWebAnalytics-CCxpTzcI.js → hanzoWebAnalytics-B1eETW-7.js} +1 -1
  83. package/dist/index.css +1 -1
  84. package/dist/{input-group-DEJEuwc9.js → input-group-BZ_QN-y7.js} +1 -1
  85. package/dist/{keybindings-C5tK_GAk.js → keybindings-D0pBlT1k.js} +7812 -7806
  86. package/dist/keymap.js +1 -1
  87. package/dist/{lucideIconByName-DUaXKH0V.js → lucideIconByName-CXY44V8P.js} +6835 -6848
  88. package/dist/{mediaReference-Bt_mh-ag.js → mediaReference-3wc4ZfY8.js} +95 -95
  89. package/dist/mediaSource-jW5c7b4r.js +70 -0
  90. package/dist/{modelPickerVisibility-Jue3CLfc.js → modelPickerVisibility-DBTc5r1G.js} +1 -1
  91. package/dist/{network-BbwqRm8c.js → network-wuXD7-is.js} +1 -1
  92. package/dist/{popover-anNQdce7.js → popover-BAyP2Tdr.js} +1 -1
  93. package/dist/{presentation-D9mVPBHm.js → presentation-68y8EAuH.js} +299 -299
  94. package/dist/{previewFailureMessages-BKpsSGX5.js → previewFailureMessages-CFguipaK.js} +3 -3
  95. package/dist/query-BPk2W3QN.js +63 -0
  96. package/dist/{readBinaryPreview-BAQ4fFjm.js → readBinaryPreview-CjZdBNVR.js} +2 -2
  97. package/dist/{refresh-icon-BYx64to1.js → refresh-icon-Vo5ImiQL.js} +1 -1
  98. package/dist/{scroll-area-ChvX8uOh.js → scroll-area-CEoyjC7h.js} +1 -1
  99. package/dist/{select-DumYjny_.js → select-DLFnkZsI.js} +2 -2
  100. package/dist/{session-_kmiSv2A.js → session-Decc4Fo5.js} +1063 -1063
  101. package/dist/{skeleton-CJqwfMSF.js → skeleton-BOKpAZv6.js} +1 -1
  102. package/dist/{switch-COwevwaq.js → switch-DjpPjtQN.js} +2 -2
  103. package/dist/{themePalette-Dl_7omVL.js → themePalette-C-GtwwqV.js} +977 -977
  104. package/dist/{threadSearch-BHyWwcV3.js → threadSearch-CrtCof6n.js} +162 -162
  105. package/dist/{toggle-CEO6qTxB.js → toggle-B4F0EEtI.js} +1 -1
  106. package/dist/{toggle-group-BHovdMDl.js → toggle-group-l8hRPswr.js} +2 -2
  107. package/dist/{use-atom-command-ByoYq_K6.js → use-atom-command-XemtT1Gv.js} +1 -1
  108. package/dist/{useAriaLabelledBy-DPSISlnL.js → useAriaLabelledBy-CibvSz-b.js} +1 -1
  109. package/dist/{useFileMetadata-e7zsixVX.js → useFileMetadata-PesehDX0.js} +33 -33
  110. package/dist/{useFloatingRootContext-CJ9stHca.js → useFloatingRootContext-ppoGvqar.js} +1 -1
  111. package/dist/{useLiveRefresh-BkKJKXhH.js → useLiveRefresh-aHkPuz6N.js} +172 -172
  112. package/dist/{useNextRenderData-CyUmSAgz.js → useNextRenderData-CNhjWfP0.js} +1 -1
  113. package/dist/{useSettings-DYG9Dmro.js → useSettings-B_MtcTyD.js} +139 -139
  114. package/dist/{useTextFieldSpeech-COa9XcRx.js → useTextFieldSpeech-B1wCgLPO.js} +1404 -1404
  115. package/dist/{useTheme-D2ZM1gvV.js → useTheme-WlXpQRKG.js} +4 -4
  116. package/dist/{utils-515nQ17G.js → utils-DtKQl-D3.js} +6184 -6172
  117. package/dist/{wizard-i86ViMRc.js → wizard-DjD4UNew.js} +3 -3
  118. package/dist/{workspaceFocus-BV1_9KiH.js → workspaceFocus-MR1plm6A.js} +144 -144
  119. package/dist/{zap-e0OsRjBR.js → zap-iwsUKtvA.js} +30 -17
  120. package/package.json +1 -1
  121. package/dist/mediaSource-zI7JWid4.js +0 -70
  122. package/dist/query-BxrrBAp6.js +0 -63
@@ -1,8 +1,8 @@
1
- import { Ag as e, Bg as t, Pp as n, Rf as r, S_ as i, Up as a, lt as o, t as s } from "./utils-515nQ17G.js";
2
- import { _h as c, dp as l, sm as u } from "./keybindings-C5tK_GAk.js";
3
- import { l as d, t as f } from "./workspaceFocus-BV1_9KiH.js";
1
+ import { C_ as e, Fp as t, Vg as n, Wp as r, jg as i, lt as a, t as o, zf as s } from "./utils-DtKQl-D3.js";
2
+ import { _h as c, dp as l, sm as u } from "./keybindings-D0pBlT1k.js";
3
+ import { l as d, t as f } from "./workspaceFocus-MR1plm6A.js";
4
4
  import { t as p } from "./observeResize-DRQ9DVLE.js";
5
- import { n as m, r as h, t as g } from "./RightPanelResizeHandle-BLbSz-gk.js";
5
+ import { n as m, r as h, t as g } from "./RightPanelResizeHandle-PumvYb9P.js";
6
6
  import { useLayoutEffect as _, useRef as v, useState as ee } from "react";
7
7
  import { c as y } from "react/compiler-runtime";
8
8
  import { jsx as b, jsxs as te } from "react/jsx-runtime";
@@ -11,10 +11,10 @@ var x = (e, t) => {
11
11
  let n = Object.entries(t.query);
12
12
  return n.length === 0 ? e : `${e}${e.includes("?") ? "&" : "?"}${new URLSearchParams(n).toString()}`;
13
13
  }, S = 8e3, C = u("clientRuntime.state.mintMediaTicket")(function* (e) {
14
- let t = yield* c(a), i = yield* c(n);
15
- return yield* r({
14
+ let n = yield* c(r), i = yield* c(t);
15
+ return yield* s({
16
16
  prepared: e,
17
- signer: t,
17
+ signer: n,
18
18
  remoteAuthorization: i,
19
19
  group: "auth",
20
20
  method: "POST",
@@ -26,16 +26,16 @@ var x = (e, t) => {
26
26
  })
27
27
  });
28
28
  }), w = u("clientRuntime.state.resolveDeviceHubAccess")(function* (e) {
29
- let n = t(e.prepared.httpBaseUrl, e.hubBasePath), r = n.replace(/^http/, "ws");
29
+ let t = n(e.prepared.httpBaseUrl, e.hubBasePath), r = t.replace(/^http/, "ws");
30
30
  if (e.prepared.httpAuthorization === null) return {
31
- httpBase: n,
31
+ httpBase: t,
32
32
  wsBase: r,
33
33
  query: {},
34
34
  credentials: !0
35
35
  };
36
36
  let i = yield* C(e.prepared);
37
37
  return {
38
- httpBase: n,
38
+ httpBase: t,
39
39
  wsBase: r,
40
40
  query: { wsTicket: l(i.ticket) },
41
41
  credentials: !1
@@ -48,58 +48,58 @@ function T(e) {
48
48
  var E = (e) => ({
49
49
  kind: "browser",
50
50
  tabId: e
51
- }), D = o()((t) => ({
51
+ }), D = a()((e) => ({
52
52
  byThreadKey: {},
53
- open: (n, r) => t((t) => {
54
- let i = e(n), a = t.byThreadKey[i];
55
- return a && T(a.source) === T(r) ? t : { byThreadKey: {
56
- ...t.byThreadKey,
57
- [i]: {
58
- source: r,
53
+ open: (t, n) => e((e) => {
54
+ let r = i(t), a = e.byThreadKey[r];
55
+ return a && T(a.source) === T(n) ? e : { byThreadKey: {
56
+ ...e.byThreadKey,
57
+ [r]: {
58
+ source: n,
59
59
  position: a?.position ?? null,
60
60
  width: a?.width ?? null,
61
61
  lastInteraction: a?.lastInteraction ?? "drag"
62
62
  }
63
63
  } };
64
64
  }),
65
- close: (n) => t((t) => {
66
- let r = e(n);
67
- if (!(r in t.byThreadKey)) return t;
68
- let { [r]: i, ...a } = t.byThreadKey;
65
+ close: (t) => e((e) => {
66
+ let n = i(t);
67
+ if (!(n in e.byThreadKey)) return e;
68
+ let { [n]: r, ...a } = e.byThreadKey;
69
69
  return { byThreadKey: a };
70
70
  }),
71
- move: (n, r, i) => t((t) => {
72
- let a = e(n), o = t.byThreadKey[a];
73
- return !o || T(o.source) !== r || o.position?.x === i.x && o.position.y === i.y && o.lastInteraction === "drag" ? t : { byThreadKey: {
74
- ...t.byThreadKey,
71
+ move: (t, n, r) => e((e) => {
72
+ let a = i(t), o = e.byThreadKey[a];
73
+ return !o || T(o.source) !== n || o.position?.x === r.x && o.position.y === r.y && o.lastInteraction === "drag" ? e : { byThreadKey: {
74
+ ...e.byThreadKey,
75
75
  [a]: {
76
76
  ...o,
77
- position: i,
77
+ position: r,
78
78
  lastInteraction: "drag"
79
79
  }
80
80
  } };
81
81
  }),
82
- resize: (n, r, i, a) => t((t) => {
83
- let o = e(n), s = t.byThreadKey[o];
84
- return !s || T(s.source) !== r || s.width === i && s.lastInteraction === "resize" && (!a || s.position?.x === a.x && s.position.y === a.y) ? t : { byThreadKey: {
85
- ...t.byThreadKey,
82
+ resize: (t, n, r, a) => e((e) => {
83
+ let o = i(t), s = e.byThreadKey[o];
84
+ return !s || T(s.source) !== n || s.width === r && s.lastInteraction === "resize" && (!a || s.position?.x === a.x && s.position.y === a.y) ? e : { byThreadKey: {
85
+ ...e.byThreadKey,
86
86
  [o]: {
87
87
  ...s,
88
- width: i,
88
+ width: r,
89
89
  position: a ?? s.position,
90
90
  lastInteraction: "resize"
91
91
  }
92
92
  } };
93
93
  }),
94
- removeThread: (n) => t((t) => {
95
- let r = e(n);
96
- if (!(r in t.byThreadKey)) return t;
97
- let { [r]: i, ...a } = t.byThreadKey;
94
+ removeThread: (t) => e((e) => {
95
+ let n = i(t);
96
+ if (!(n in e.byThreadKey)) return e;
97
+ let { [n]: r, ...a } = e.byThreadKey;
98
98
  return { byThreadKey: a };
99
99
  })
100
100
  }));
101
- function ne(t, n) {
102
- return n ? t[e(n)] ?? null : null;
101
+ function ne(e, t) {
102
+ return t ? e[i(t)] ?? null : null;
103
103
  }
104
104
  function O(e, t) {
105
105
  let n = ne(e, t)?.source;
@@ -181,18 +181,18 @@ function ie(e, t) {
181
181
  let r = n.querySelector("[data-right-panel-toggle]");
182
182
  return r?.focus(), r !== null && n.activeElement === r;
183
183
  }
184
- function R(e) {
185
- let t = y(67), n = i(), r;
186
- t[0] !== n || t[1] !== e.workspaceLabel ? (r = e.workspaceLabel ?? n("Workspace panel"), t[0] = n, t[1] = e.workspaceLabel, t[2] = r) : r = t[2];
184
+ function R(t) {
185
+ let n = y(67), r = e(), i;
186
+ n[0] !== r || n[1] !== t.workspaceLabel ? (i = t.workspaceLabel ?? r("Workspace panel"), n[0] = r, n[1] = t.workspaceLabel, n[2] = i) : i = n[2];
187
187
  let a;
188
- t[3] === r ? a = t[4] : (a = d("panel", 4, r), t[3] = r, t[4] = a);
189
- let o = a, c = e.mode === "inline", l = c && e.open !== void 0, u = e.open ?? !0, f = e.maximized ?? !1, p = v(null), h = v(!1), x = v(null), S = v(null), { width: C, handlers: w, observeRow: T } = e.inlineSize, E;
190
- t[5] !== f || t[6] !== u || t[7] !== C ? (E = () => ({
188
+ n[3] === i ? a = n[4] : (a = d("panel", 4, i), n[3] = i, n[4] = a);
189
+ let s = a, c = t.mode === "inline", l = c && t.open !== void 0, u = t.open ?? !0, f = t.maximized ?? !1, p = v(null), h = v(!1), x = v(null), S = v(null), { width: C, handlers: w, observeRow: T } = t.inlineSize, E;
190
+ n[5] !== f || n[6] !== u || n[7] !== C ? (E = () => ({
191
191
  open: u,
192
192
  width: C,
193
193
  maximized: f,
194
194
  enabled: !0
195
- }), t[5] = f, t[6] = u, t[7] = C, t[8] = E) : E = t[8];
195
+ }), n[5] = f, n[6] = u, n[7] = C, n[8] = E) : E = n[8];
196
196
  let [D, ne] = ee(E);
197
197
  (D.open !== u || D.width !== C || D.maximized !== f) && ne({
198
198
  open: u,
@@ -201,20 +201,20 @@ function R(e) {
201
201
  enabled: D.open !== u
202
202
  });
203
203
  let O = l && !D.enabled, k;
204
- t[9] === T ? k = t[10] : (k = (e) => {
204
+ n[9] === T ? k = n[10] : (k = (e) => {
205
205
  p.current = e;
206
206
  let t = T(e);
207
207
  return () => {
208
208
  p.current = null, t();
209
209
  };
210
- }, t[9] = T, t[10] = k);
210
+ }, n[9] = T, n[10] = k);
211
211
  let A = k, j;
212
- t[11] === Symbol.for("react.memo_cache_sentinel") ? (j = (e) => {
212
+ n[11] === Symbol.for("react.memo_cache_sentinel") ? (j = (e) => {
213
213
  let t = e.relatedTarget;
214
214
  t !== null && t !== S.current && (x.current = t instanceof HTMLElement ? t : null);
215
- }, t[11] = j) : j = t[11];
215
+ }, n[11] = j) : j = n[11];
216
216
  let re = j, M, N;
217
- t[12] === l ? (M = t[13], N = t[14]) : (M = () => {
217
+ n[12] === l ? (M = n[13], N = n[14]) : (M = () => {
218
218
  let e = p.current;
219
219
  if (e && l) return () => {
220
220
  if (!e.contains(e.ownerDocument.activeElement) && !h.current) return;
@@ -223,9 +223,9 @@ function R(e) {
223
223
  e.ownerDocument.activeElement === e.ownerDocument.body && ie(e, t);
224
224
  });
225
225
  };
226
- }, N = [l, p], t[12] = l, t[13] = M, t[14] = N), _(M, N);
226
+ }, N = [l, p], n[12] = l, n[13] = M, n[14] = N), _(M, N);
227
227
  let P, F;
228
- t[15] !== l || t[16] !== u ? (P = () => {
228
+ n[15] !== l || n[16] !== u ? (P = () => {
229
229
  let e = p.current;
230
230
  if (!e) return;
231
231
  let t = l && !u;
@@ -234,42 +234,42 @@ function R(e) {
234
234
  l,
235
235
  u,
236
236
  p
237
- ], t[15] = l, t[16] = u, t[17] = P, t[18] = F) : (P = t[17], F = t[18]), _(P, F);
237
+ ], n[15] = l, n[16] = u, n[17] = P, n[18] = F) : (P = n[17], F = n[18]), _(P, F);
238
238
  let I;
239
- t[19] === Symbol.for("react.memo_cache_sentinel") ? (I = (e) => {
239
+ n[19] === Symbol.for("react.memo_cache_sentinel") ? (I = (e) => {
240
240
  S.current = e.target;
241
- }, t[19] = I) : I = t[19];
241
+ }, n[19] = I) : I = n[19];
242
242
  let L;
243
- t[20] !== o || t[21] !== e.workspaceArea ? (L = e.workspaceArea ? o : {}, t[20] = o, t[21] = e.workspaceArea, t[22] = L) : L = t[22];
244
- let R = e.workspaceFocusKey, z = l && !u ? "true" : void 0, ae = e.onMouseDown, oe = e.onMouseUp, B = c ? f ? "flex-1" : "shrink-0 border-l border-border" : "w-full", V = l && "[[data-panel-animations=true]_&]:transition-[width] [[data-panel-animations=true]_&]:duration-(--panel-animation-duration) [[data-panel-animations=true]_&]:ease-out", H = l && u && "[[data-panel-animations=true]_&]:starting:w-0!", U = l && !u && "pointer-events-none", W;
245
- t[23] !== B || t[24] !== V || t[25] !== H || t[26] !== U ? (W = s("relative flex h-full min-h-0 min-w-0 max-w-full flex-col self-stretch bg-background", B, V, H, U), t[23] = B, t[24] = V, t[25] = H, t[26] = U, t[27] = W) : W = t[27];
243
+ n[20] !== s || n[21] !== t.workspaceArea ? (L = t.workspaceArea ? s : {}, n[20] = s, n[21] = t.workspaceArea, n[22] = L) : L = n[22];
244
+ let R = t.workspaceFocusKey, z = l && !u ? "true" : void 0, ae = t.onMouseDown, oe = t.onMouseUp, B = c ? f ? "flex-1" : "shrink-0 border-l border-border" : "w-full", V = l && "[[data-panel-animations=true]_&]:transition-[width] [[data-panel-animations=true]_&]:duration-(--panel-animation-duration) [[data-panel-animations=true]_&]:ease-out", H = l && u && "[[data-panel-animations=true]_&]:starting:w-0!", U = l && !u && "pointer-events-none", W;
245
+ n[23] !== B || n[24] !== V || n[25] !== H || n[26] !== U ? (W = o("relative flex h-full min-h-0 min-w-0 max-w-full flex-col self-stretch bg-background", B, V, H, U), n[23] = B, n[24] = V, n[25] = H, n[26] = U, n[27] = W) : W = n[27];
246
246
  let G;
247
- t[28] !== l || t[29] !== c || t[30] !== f || t[31] !== u || t[32] !== O || t[33] !== C ? (G = c ? {
247
+ n[28] !== l || n[29] !== c || n[30] !== f || n[31] !== u || n[32] !== O || n[33] !== C ? (G = c ? {
248
248
  [m]: `${C}px`,
249
249
  width: f ? "100%" : l && !u ? "0px" : `var(${m})`,
250
250
  transitionDuration: O ? "0ms" : void 0
251
- } : void 0, t[28] = l, t[29] = c, t[30] = f, t[31] = u, t[32] = O, t[33] = C, t[34] = G) : G = t[34];
252
- let se = e.mode, K = f ? "true" : "false", q;
253
- t[35] !== w || t[36] !== c || t[37] !== f ? (q = c && !f ? /* @__PURE__ */ b(g, { handlers: w }) : null, t[35] = w, t[36] = c, t[37] = f, t[38] = q) : q = t[38];
251
+ } : void 0, n[28] = l, n[29] = c, n[30] = f, n[31] = u, n[32] = O, n[33] = C, n[34] = G) : G = n[34];
252
+ let se = t.mode, K = f ? "true" : "false", q;
253
+ n[35] !== w || n[36] !== c || n[37] !== f ? (q = c && !f ? /* @__PURE__ */ b(g, { handlers: w }) : null, n[35] = w, n[36] = c, n[37] = f, n[38] = q) : q = n[38];
254
254
  let ce = l && "overflow-clip", le = l && !f && "flex justify-end", J;
255
- t[39] !== ce || t[40] !== le ? (J = s("h-full min-h-0 w-full", ce, le), t[39] = ce, t[40] = le, t[41] = J) : J = t[41];
255
+ n[39] !== ce || n[40] !== le ? (J = o("h-full min-h-0 w-full", ce, le), n[39] = ce, n[40] = le, n[41] = J) : J = n[41];
256
256
  let ue = l && !f && "shrink-0", Y;
257
- t[42] === ue ? Y = t[43] : (Y = s("flex h-full min-h-0 min-w-0 flex-col", ue), t[42] = ue, t[43] = Y);
257
+ n[42] === ue ? Y = n[43] : (Y = o("flex h-full min-h-0 min-w-0 flex-col", ue), n[42] = ue, n[43] = Y);
258
258
  let X;
259
- t[44] !== l || t[45] !== f ? (X = l && !f ? { width: `calc(var(${m}) - 1px)` } : void 0, t[44] = l, t[45] = f, t[46] = X) : X = t[46];
259
+ n[44] !== l || n[45] !== f ? (X = l && !f ? { width: `calc(var(${m}) - 1px)` } : void 0, n[44] = l, n[45] = f, n[46] = X) : X = n[46];
260
260
  let Z;
261
- t[47] !== e.children || t[48] !== Y || t[49] !== X ? (Z = /* @__PURE__ */ b("div", {
261
+ n[47] !== t.children || n[48] !== Y || n[49] !== X ? (Z = /* @__PURE__ */ b("div", {
262
262
  className: Y,
263
263
  style: X,
264
- children: e.children
265
- }), t[47] = e.children, t[48] = Y, t[49] = X, t[50] = Z) : Z = t[50];
264
+ children: t.children
265
+ }), n[47] = t.children, n[48] = Y, n[49] = X, n[50] = Z) : Z = n[50];
266
266
  let Q;
267
- t[51] !== J || t[52] !== Z ? (Q = /* @__PURE__ */ b("div", {
267
+ n[51] !== J || n[52] !== Z ? (Q = /* @__PURE__ */ b("div", {
268
268
  className: J,
269
269
  children: Z
270
- }), t[51] = J, t[52] = Z, t[53] = Q) : Q = t[53];
270
+ }), n[51] = J, n[52] = Z, n[53] = Q) : Q = n[53];
271
271
  let $;
272
- return t[54] !== A || t[55] !== e.mode || t[56] !== e.onMouseDown || t[57] !== e.onMouseUp || t[58] !== e.workspaceFocusKey || t[59] !== L || t[60] !== z || t[61] !== W || t[62] !== G || t[63] !== K || t[64] !== q || t[65] !== Q ? ($ = /* @__PURE__ */ te("div", {
272
+ return n[54] !== A || n[55] !== t.mode || n[56] !== t.onMouseDown || n[57] !== t.onMouseUp || n[58] !== t.workspaceFocusKey || n[59] !== L || n[60] !== z || n[61] !== W || n[62] !== G || n[63] !== K || n[64] !== q || n[65] !== Q ? ($ = /* @__PURE__ */ te("div", {
273
273
  ref: A,
274
274
  onFocus: re,
275
275
  onBlur: I,
@@ -283,6 +283,6 @@ function R(e) {
283
283
  "data-preview-panel-mode": se,
284
284
  "data-preview-panel-maximized": K,
285
285
  children: [q, Q]
286
- }), t[54] = A, t[55] = e.mode, t[56] = e.onMouseDown, t[57] = e.onMouseUp, t[58] = e.workspaceFocusKey, t[59] = L, t[60] = z, t[61] = W, t[62] = G, t[63] = K, t[64] = q, t[65] = Q, t[66] = $) : $ = t[66], $;
286
+ }), n[54] = A, n[55] = t.mode, n[56] = t.onMouseDown, n[57] = t.onMouseUp, n[58] = t.workspaceFocusKey, n[59] = L, n[60] = z, n[61] = W, n[62] = G, n[63] = K, n[64] = q, n[65] = Q, n[66] = $) : $ = n[66], $;
287
287
  }
288
288
  export { ne as a, C as c, T as i, w as l, N as n, O as o, E as r, D as s, I as t, x as u };
@@ -1,11 +1,11 @@
1
1
  import { c as e } from "./messages-yqmY7G5x.js";
2
- import { Jr as t, S_ as n, ci as r, t as i, x_ as a, y_ as o } from "./utils-515nQ17G.js";
3
- import { $i as s, nf as c } from "./keybindings-C5tK_GAk.js";
4
- import { c as l, d as ee, l as te, n as u, o as ne, s as d, u as f } from "./dialog-DhQtWGRa.js";
5
- import { t as p } from "./scroll-area-ChvX8uOh.js";
6
- import { n as re, t as m } from "./toggle-group-BHovdMDl.js";
7
- import { i as ie, n as h, r as ae, t as g } from "./ProjectMonogram-D35xrrXQ.js";
8
- import { lucideIconByName as _, lucideIconNames as v } from "./lucideIconByName-DUaXKH0V.js";
2
+ import { C_ as t, Jr as n, S_ as r, b_ as i, ci as a, t as o } from "./utils-DtKQl-D3.js";
3
+ import { $i as s, nf as c } from "./keybindings-D0pBlT1k.js";
4
+ import { c as l, d as ee, l as te, n as u, o as ne, s as d, u as f } from "./dialog-EmpqFZiK.js";
5
+ import { t as p } from "./scroll-area-CEoyjC7h.js";
6
+ import { n as re, t as m } from "./toggle-group-l8hRPswr.js";
7
+ import { i as ie, n as h, r as ae, t as g } from "./ProjectMonogram-D21--FQY.js";
8
+ import { lucideIconByName as _, lucideIconNames as v } from "./lucideIconByName-CXY44V8P.js";
9
9
  import { createElement as y, useState as b } from "react";
10
10
  import { c as x } from "react/compiler-runtime";
11
11
  import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
@@ -197,11 +197,11 @@ function O(e) {
197
197
  }), t[7] = a, t[8] = i, t[9] = c, t[10] = l) : l = t[10], l;
198
198
  }
199
199
  function k(e) {
200
- let s = x(72), { current: c, projectName: u, onClose: f, onSelect: _ } = e, v = n(), y = a(), T;
200
+ let s = x(72), { current: c, projectName: u, onClose: f, onSelect: _ } = e, v = t(), y = r(), T;
201
201
  s[0] === u ? T = s[1] : (T = h(u), s[0] = u, s[1] = T);
202
202
  let O = T, [k, de] = b(c?.kind ?? "lucide"), [A, fe] = b(c?.kind === "lucide" ? c.name : D), [j, pe] = b(c && c.kind !== "emoji" ? c.color : O.color), [M, N] = b(c?.kind === "monogram" ? c.text : O.monogram), [P, F] = b(c?.kind === "emoji" ? c.emoji : "💻"), [I, me] = b(""), [L, he] = b(""), R, z, B, V, H, U, W, G;
203
203
  if (s[2] !== O || s[3] !== j || s[4] !== L || s[5] !== P || s[6] !== v || s[7] !== A || s[8] !== M || s[9] !== y || s[10] !== k || s[11] !== f || s[12] !== _ || s[13] !== I) {
204
- let e = se(I), n = ie(j), r, a;
204
+ let e = se(I), t = ie(j), r, a;
205
205
  s[22] === M ? (r = s[23], a = s[24]) : (r = M.normalize("NFKC").trim().toUpperCase(), a = ce(r), s[22] = M, s[23] = r, s[24] = a), G = a;
206
206
  let c;
207
207
  s[25] !== j || s[26] !== P || s[27] !== A || s[28] !== k || s[29] !== r || s[30] !== f || s[31] !== _ || s[32] !== G ? (c = () => {
@@ -219,7 +219,7 @@ function k(e) {
219
219
  }), f());
220
220
  }, s[25] = j, s[26] = P, s[27] = A, s[28] = k, s[29] = r, s[30] = f, s[31] = _, s[32] = G, s[33] = c) : c = s[33], z = c;
221
221
  let u;
222
- s[34] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ C(ee, { children: /* @__PURE__ */ C(o, { children: "Choose project icon" }) }), s[34] = u) : u = s[34], s[35] === Symbol.for("react.memo_cache_sentinel") ? (W = /* @__PURE__ */ w(l, { children: [u, /* @__PURE__ */ C(ne, { children: /* @__PURE__ */ C(o, { children: "Choose an icon, emoji, or monogram." }) })] }), s[35] = W) : W = s[35], R = te, B = "flex min-h-0 flex-col";
222
+ s[34] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ C(ee, { children: /* @__PURE__ */ C(i, { children: "Choose project icon" }) }), s[34] = u) : u = s[34], s[35] === Symbol.for("react.memo_cache_sentinel") ? (W = /* @__PURE__ */ w(l, { children: [u, /* @__PURE__ */ C(ne, { children: /* @__PURE__ */ C(i, { children: "Choose an icon, emoji, or monogram." }) })] }), s[35] = W) : W = s[35], R = te, B = "flex min-h-0 flex-col";
223
223
  let d;
224
224
  s[36] === v ? d = s[37] : (d = v("Icon type"), s[36] = v, s[37] = d);
225
225
  let h;
@@ -232,17 +232,17 @@ function k(e) {
232
232
  let x;
233
233
  s[41] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ C(m, {
234
234
  value: "lucide",
235
- children: /* @__PURE__ */ C(o, { children: "Icons" })
235
+ children: /* @__PURE__ */ C(i, { children: "Icons" })
236
236
  }), s[41] = x) : x = s[41];
237
237
  let T;
238
238
  s[42] === Symbol.for("react.memo_cache_sentinel") ? (T = /* @__PURE__ */ C(m, {
239
239
  value: "emoji",
240
- children: /* @__PURE__ */ C(o, { children: "Emoji" })
240
+ children: /* @__PURE__ */ C(i, { children: "Emoji" })
241
241
  }), s[42] = T) : T = s[42];
242
242
  let D;
243
243
  s[43] === Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ C(m, {
244
244
  value: "monogram",
245
- children: /* @__PURE__ */ C(o, { children: "Monogram" })
245
+ children: /* @__PURE__ */ C(i, { children: "Monogram" })
246
246
  }), s[43] = D) : D = s[43], s[44] !== d || s[45] !== h ? (V = /* @__PURE__ */ w(re, {
247
247
  "aria-label": d,
248
248
  variant: "segmented",
@@ -255,7 +255,7 @@ function k(e) {
255
255
  ]
256
256
  }), s[44] = d, s[45] = h, s[46] = V) : V = s[46], s[47] !== j || s[48] !== v || s[49] !== y || s[50] !== k ? (H = k === "emoji" ? null : /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("div", {
257
257
  className: "mb-2 text-xs font-medium text-muted-foreground",
258
- children: /* @__PURE__ */ C(o, { children: "Color" })
258
+ children: /* @__PURE__ */ C(i, { children: "Color" })
259
259
  }), /* @__PURE__ */ C("div", {
260
260
  className: "flex flex-wrap gap-1.5",
261
261
  role: "group",
@@ -264,12 +264,12 @@ function k(e) {
264
264
  type: "button",
265
265
  "aria-label": y(e.label),
266
266
  "aria-pressed": j === e.value,
267
- className: i("flex size-6 items-center justify-center rounded-full border border-transparent outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring", j === e.value && "border-foreground/64"),
267
+ className: o("flex size-6 items-center justify-center rounded-full border border-transparent outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring", j === e.value && "border-foreground/64"),
268
268
  onClick: () => pe(e.value),
269
- children: /* @__PURE__ */ C("span", { className: i("size-4 rounded-full", e.swatchClassName) })
269
+ children: /* @__PURE__ */ C("span", { className: o("size-4 rounded-full", e.swatchClassName) })
270
270
  }, e.value))
271
271
  })] }), s[47] = j, s[48] = v, s[49] = y, s[50] = k, s[51] = H) : H = s[51], U = k === "lucide" ? /* @__PURE__ */ w(S, { children: [
272
- /* @__PURE__ */ C(t, {
272
+ /* @__PURE__ */ C(n, {
273
273
  type: "search",
274
274
  value: I,
275
275
  "aria-label": v("Search Lucide icons"),
@@ -285,7 +285,7 @@ function k(e) {
285
285
  type: "button",
286
286
  "aria-label": ue(e),
287
287
  "aria-pressed": A === e,
288
- className: i("flex aspect-square items-center justify-center rounded-md border border-transparent outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring", A === e && "border-border bg-accent", n),
288
+ className: o("flex aspect-square items-center justify-center rounded-md border border-transparent outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring", A === e && "border-border bg-accent", t),
289
289
  onClick: () => fe(e),
290
290
  children: /* @__PURE__ */ C(le, { name: e })
291
291
  }, e))
@@ -293,7 +293,7 @@ function k(e) {
293
293
  }),
294
294
  e.length === 0 ? /* @__PURE__ */ C("p", {
295
295
  className: "py-8 text-center text-sm text-muted-foreground",
296
- children: /* @__PURE__ */ C(o, { children: "No icons found." })
296
+ children: /* @__PURE__ */ C(i, { children: "No icons found." })
297
297
  }) : null
298
298
  ] }) : k === "monogram" ? /* @__PURE__ */ w("div", {
299
299
  className: "flex items-center gap-4 py-2",
@@ -307,9 +307,9 @@ function k(e) {
307
307
  /* @__PURE__ */ C("label", {
308
308
  htmlFor: "project-monogram",
309
309
  className: "text-sm font-medium",
310
- children: /* @__PURE__ */ C(o, { children: "Letters" })
310
+ children: /* @__PURE__ */ C(i, { children: "Letters" })
311
311
  }),
312
- /* @__PURE__ */ C(t, {
312
+ /* @__PURE__ */ C(n, {
313
313
  id: "project-monogram",
314
314
  value: M,
315
315
  onChange: (e) => N(e.currentTarget.value),
@@ -320,7 +320,7 @@ function k(e) {
320
320
  /* @__PURE__ */ C("p", {
321
321
  id: "project-monogram-hint",
322
322
  className: "text-xs text-muted-foreground",
323
- children: /* @__PURE__ */ C(o, { children: "One or two letters or numbers." })
323
+ children: /* @__PURE__ */ C(i, { children: "One or two letters or numbers." })
324
324
  })
325
325
  ]
326
326
  })]
@@ -333,15 +333,15 @@ function k(e) {
333
333
  type: "button",
334
334
  "aria-label": y(e.label),
335
335
  "aria-pressed": P === e.emoji,
336
- className: i("flex aspect-square items-center justify-center rounded-md border border-transparent text-xl outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring", P === e.emoji && "border-border bg-accent"),
336
+ className: o("flex aspect-square items-center justify-center rounded-md border border-transparent text-xl outline-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring", P === e.emoji && "border-border bg-accent"),
337
337
  onClick: () => F(e.emoji),
338
338
  children: e.emoji
339
339
  }, e.emoji))
340
340
  })
341
341
  }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("div", {
342
342
  className: "mb-2 text-xs font-medium text-muted-foreground",
343
- children: /* @__PURE__ */ C(o, { children: "Or paste any emoji" })
344
- }), /* @__PURE__ */ C(t, {
343
+ children: /* @__PURE__ */ C(i, { children: "Or paste any emoji" })
344
+ }), /* @__PURE__ */ C(n, {
345
345
  value: L,
346
346
  "aria-label": v("Custom emoji"),
347
347
  placeholder: v("Paste an emoji"),
@@ -363,17 +363,17 @@ function k(e) {
363
363
  ]
364
364
  }), s[52] = R, s[53] = B, s[54] = V, s[55] = H, s[56] = U, s[57] = K) : K = s[57];
365
365
  let q;
366
- s[58] === Symbol.for("react.memo_cache_sentinel") ? (q = /* @__PURE__ */ C(o, { children: "Cancel" }), s[58] = q) : q = s[58];
366
+ s[58] === Symbol.for("react.memo_cache_sentinel") ? (q = /* @__PURE__ */ C(i, { children: "Cancel" }), s[58] = q) : q = s[58];
367
367
  let J;
368
- s[59] === f ? J = s[60] : (J = /* @__PURE__ */ C(r, {
368
+ s[59] === f ? J = s[60] : (J = /* @__PURE__ */ C(a, {
369
369
  variant: "outline",
370
370
  onClick: f,
371
371
  children: q
372
372
  }), s[59] = f, s[60] = J);
373
373
  let Y = k === "monogram" && !G, X;
374
- s[61] === Symbol.for("react.memo_cache_sentinel") ? (X = /* @__PURE__ */ C(o, { children: "Save icon" }), s[61] = X) : X = s[61];
374
+ s[61] === Symbol.for("react.memo_cache_sentinel") ? (X = /* @__PURE__ */ C(i, { children: "Save icon" }), s[61] = X) : X = s[61];
375
375
  let Z;
376
- s[62] !== z || s[63] !== Y ? (Z = /* @__PURE__ */ C(r, {
376
+ s[62] !== z || s[63] !== Y ? (Z = /* @__PURE__ */ C(a, {
377
377
  onClick: z,
378
378
  disabled: Y,
379
379
  children: X
@@ -1,5 +1,5 @@
1
1
  import { c as e } from "./messages-yqmY7G5x.js";
2
- import { t } from "./utils-515nQ17G.js";
2
+ import { t } from "./utils-DtKQl-D3.js";
3
3
  import { c as n } from "react/compiler-runtime";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  // src/projectIconColors.ts
@@ -1,7 +1,7 @@
1
- import { S_ as e } from "./utils-515nQ17G.js";
2
- import { w as t } from "./presentation-D9mVPBHm.js";
1
+ import { C_ as e } from "./utils-DtKQl-D3.js";
2
+ import { w as t } from "./presentation-68y8EAuH.js";
3
3
  import { t as n } from "./useStableCallback-kf0xbSaG.js";
4
- import { c as r, r as i } from "./ThreadTerminalDrawer-BF3Ix0q_.js";
4
+ import { c as r, r as i } from "./ThreadTerminalDrawer-DCgE3ojz.js";
5
5
  import { useEffect as a, useRef as o, useState as s } from "react";
6
6
  import { c } from "react/compiler-runtime";
7
7
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";