@commentkit/comment-kit 2.0.1 → 2.1.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 (82) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +14 -6
  3. package/dist/node/cli/api.js +61 -15
  4. package/dist/node/cli/credentials.js +8 -0
  5. package/dist/node/cli/doctor.js +68 -5
  6. package/dist/node/cli/main.js +275 -52
  7. package/dist/node/cli/website.js +140 -0
  8. package/dist/node/types/next.d.ts +4 -4
  9. package/dist/npm/THIRD_PARTY_NOTICES.txt +47 -0
  10. package/dist/npm/chunks/{AgentSend-DOy3jhyF.js → AgentSend-pA7Ufvye.js} +3 -3
  11. package/dist/npm/chunks/Checklist-Cn9skOYK.js +269 -0
  12. package/dist/npm/chunks/Composer-D7H-pzGa.js +734 -0
  13. package/dist/npm/chunks/DatePicker-Nta5a1xD.js +161 -0
  14. package/dist/npm/chunks/{Guest-7hcN765o.js → Guest-Bi7hlzhs.js} +18 -17
  15. package/dist/npm/chunks/{MarkupEditor-6bJGpWGO.js → MarkupEditor-WU3USeTk.js} +2 -2
  16. package/dist/npm/chunks/{Panel-ChPUB68C.js → Panel-DhAzbUbC.js} +308 -309
  17. package/dist/npm/chunks/{Settings-CB5eEKnf.js → Settings-BmKqPX40.js} +34 -33
  18. package/dist/npm/chunks/{Shortcuts-eAyjJ89P.js → Shortcuts-Bl-c0Sez.js} +25 -23
  19. package/dist/npm/chunks/SignInFirst-CmGvSYkQ.js +35 -0
  20. package/dist/npm/chunks/{StyleEditor-CZTdAA5c.js → StyleEditor-D6fUnlwq.js} +4 -4
  21. package/dist/npm/chunks/{StylePanel-B4pHQUL9.js → StylePanel-C-Gikxt1.js} +3 -3
  22. package/dist/npm/chunks/TaskFields-CaKi523b.js +617 -0
  23. package/dist/npm/chunks/ThreadCard-d_3pUB5V.js +1142 -0
  24. package/dist/npm/chunks/{Viewer-DY6zb90M.js → Viewer-BULQsi9-.js} +9 -8
  25. package/dist/npm/chunks/{agent-MTQHr9ei.js → agent-DHdhIJ3s.js} +1 -1
  26. package/dist/npm/chunks/{ar-L5cQ-NPe.js → ar-B5UszrQp.js} +51 -12
  27. package/dist/npm/chunks/{card-bits-CTdrkYn8.js → card-bits-cV8GdFWX.js} +12 -10
  28. package/dist/npm/chunks/{client-7eVxvg5j.js → client-Cv8ddtuM.js} +13 -11
  29. package/dist/npm/chunks/{confetti-BIs5s14P.js → confetti-B9zlyILU.js} +1 -1
  30. package/dist/npm/chunks/{context-Cf6khm7A.js → context-CsHnabaA.js} +1 -1
  31. package/dist/npm/chunks/{de-D0C-v6tP.js → de-BE0Aaq8u.js} +51 -12
  32. package/dist/npm/chunks/{dpop-0A76OPa9.js → dpop-CwW9ifkq.js} +1 -1
  33. package/dist/npm/chunks/entrance-Bn_5M9uO.js +90 -0
  34. package/dist/npm/chunks/{es-Bw4Dj9tN.js → es-BQviao4d.js} +51 -12
  35. package/dist/npm/chunks/{extension-SmoH5AA4.js → extension-CnQTDC1j.js} +2 -2
  36. package/dist/npm/chunks/{extension-DFVOvciD.js → extension-DXhz81XD.js} +1 -1
  37. package/dist/npm/chunks/{files-4lV9YQIX.js → files-DLEr_wmh.js} +2 -2
  38. package/dist/npm/chunks/{fr-TkuQaIAa.js → fr-C5gu6A06.js} +51 -12
  39. package/dist/npm/chunks/{hi-DXSH2U8d.js → hi-DXfQ5EvY.js} +51 -12
  40. package/dist/npm/chunks/{i18n-aVSu9TcJ.js → i18n-Mgs9VOuk.js} +17 -21
  41. package/dist/npm/chunks/icons-_C6ZWmBY.js +141 -0
  42. package/dist/npm/chunks/{identify-BGYh2dVo.js → identify-BnQGJOa0.js} +1 -1
  43. package/dist/npm/chunks/{it-CiWA_bch.js → it-BPHt13FV.js} +51 -12
  44. package/dist/npm/chunks/{ja-C-QmR3yz.js → ja-BkCqyKR0.js} +50 -11
  45. package/dist/npm/chunks/late-words-D4Oo_yhJ.js +57 -0
  46. package/dist/npm/chunks/{live-BExWHzQ7.js → live-DXcxj_Af.js} +28 -22
  47. package/dist/npm/chunks/{nl-CEmZRqjX.js → nl-DZxdLLMU.js} +51 -12
  48. package/dist/npm/chunks/{page-key-HSY3Lze5.js → page-key-UqAozdZi.js} +1 -1
  49. package/dist/npm/chunks/{pick-B3sR7jtS.js → pick-C20RVUas.js} +1 -1
  50. package/dist/npm/chunks/{pkce-CfZhiNBi.js → pkce-BPvWoBrr.js} +1 -1
  51. package/dist/npm/chunks/{pt-BR-b-a8sxO8.js → pt-BR-lA9mJ05F.js} +51 -12
  52. package/dist/npm/chunks/{report-DaVuoRYS.js → report-BjUgUNnT.js} +1 -1
  53. package/dist/npm/chunks/{show-BoN8AC-F.js → show-BinoJyED.js} +7 -7
  54. package/dist/npm/chunks/signin-C2jjsxz9.js +101 -0
  55. package/dist/npm/chunks/{source-mk3rGBBQ.js → source-NuflODx3.js} +1 -1
  56. package/dist/npm/chunks/{src-C8rZFyL_.js → src-9o2Ocq8d.js} +21 -15
  57. package/dist/npm/chunks/start-Cbx6rMrr.js +1904 -0
  58. package/dist/npm/chunks/states-DLMCvwes.js +3 -0
  59. package/dist/npm/chunks/{upload-B2mkgMeJ.js → upload-C4NpM-jE.js} +1 -1
  60. package/dist/npm/chunks/uploads-CY4bDbaI.js +1236 -0
  61. package/dist/npm/chunks/{wrap-DW6EFbVQ.js → wrap-D-xTKIzj.js} +20 -20
  62. package/dist/npm/chunks/{zh-CN-JTscW8u8.js → zh-CN-yqaDHwBx.js} +51 -12
  63. package/dist/npm/element.js +7 -1
  64. package/dist/npm/headless.js +2 -2
  65. package/dist/npm/index.js +2 -2
  66. package/dist/npm/react.js +1 -1
  67. package/dist/npm/svelte.js +1 -1
  68. package/dist/npm/types/adapters/vue.d.ts +12 -0
  69. package/dist/npm/types/core/auth.d.ts +1 -0
  70. package/dist/npm/types/core/client.d.ts +5 -1
  71. package/dist/npm/types/core/types.d.ts +17 -2
  72. package/dist/npm/vue.js +5 -1
  73. package/package.json +2 -1
  74. package/dist/npm/chunks/Checklist-CW_SwMpS.js +0 -282
  75. package/dist/npm/chunks/Composer-Bveq5QrK.js +0 -727
  76. package/dist/npm/chunks/TaskFields-C8BX0Sgg.js +0 -289
  77. package/dist/npm/chunks/ThreadCard-B1EsX3PR.js +0 -1160
  78. package/dist/npm/chunks/late-words-80_VWt8S.js +0 -14
  79. package/dist/npm/chunks/signin-BOWr_WCo.js +0 -75
  80. package/dist/npm/chunks/start-CV4j78_q.js +0 -1894
  81. package/dist/npm/chunks/states-b9Bv3Ci7.js +0 -3
  82. package/dist/npm/chunks/uploads-8AxyRq7g.js +0 -1147
@@ -1,19 +1,20 @@
1
- import { n as e } from "./src-C8rZFyL_.js";
2
- import { o as t, p as n, v as r } from "./client-7eVxvg5j.js";
1
+ import { n as e } from "./src-9o2Ocq8d.js";
2
+ import { o as t, p as n, v as r } from "./client-Cv8ddtuM.js";
3
3
  import { s as i } from "./anchor-BsQNVkHj.js";
4
- import { _ as a, a as o, b as s, c, d as l, f as u, i as d, m as f, n as p, o as m, t as h, u as g } from "./i18n-aVSu9TcJ.js";
5
- import { i as ee } from "./card-bits-CTdrkYn8.js";
6
- import { r as _ } from "./drafts-B0ctr1g9.js";
7
- import { t as v } from "./states-b9Bv3Ci7.js";
8
- import { n as y, r as b, t as x } from "./context-Cf6khm7A.js";
9
- import { n as S, r as C } from "./Checklist-CW_SwMpS.js";
10
- import { C as w, D as te, M as T, N as E, _ as ne, b as D, g as O, h as k, j as A, k as re, o as j, s as M, v as ie, x as N, y as P } from "./start-CV4j78_q.js";
4
+ import { _ as a, a as o, b as s, c, d as l, f as u, i as d, m as f, n as p, o as m, t as h, u as g } from "./i18n-Mgs9VOuk.js";
5
+ import { n as _, t as v } from "./icons-_C6ZWmBY.js";
6
+ import { i as ee } from "./card-bits-cV8GdFWX.js";
7
+ import { r as y } from "./drafts-B0ctr1g9.js";
8
+ import { t as b } from "./states-DLMCvwes.js";
9
+ import { n as x, r as S, t as C } from "./context-CsHnabaA.js";
10
+ import { n as w, r as te } from "./Checklist-Cn9skOYK.js";
11
+ import { C as T, F as E, N as D, P as O, S as k, b as ne, c as A, j as re, k as j, s as M, v as N, w as ie, x as P, y as F } from "./start-Cbx6rMrr.js";
11
12
  // src/ui/Notifications.tsx
12
- function ae({ items: e, onOpen: t, more: n, loadingMore: r, onMore: i, unread: a, onMarkAll: o }) {
13
+ function I({ items: e, onOpen: t, more: n, loadingMore: r, onMore: i, unread: a, onMarkAll: o }) {
13
14
  let l = e.map((e) => e.thread_id);
14
15
  return /* @__PURE__ */ g(s, { children: [/* @__PURE__ */ g("ul", {
15
16
  class: "ck-list",
16
- onKeyDown: (e) => k(e, ".ck-item", !0),
17
+ onKeyDown: (e) => N(e, ".ck-item", !0),
17
18
  children: e.map((e) => /* @__PURE__ */ g("li", { children: /* @__PURE__ */ g("button", {
18
19
  class: "ck-item",
19
20
  "data-id": e.thread_id,
@@ -31,7 +32,7 @@ function ae({ items: e, onOpen: t, more: n, loadingMore: r, onMore: i, unread: a
31
32
  }),
32
33
  /* @__PURE__ */ g("span", {
33
34
  class: "ck-item-tags",
34
- children: /* @__PURE__ */ g("span", { children: [/* @__PURE__ */ g(F, { item: e }), e.reference ? ` · ${e.reference}` : ""] })
35
+ children: /* @__PURE__ */ g("span", { children: [/* @__PURE__ */ g(ae, { item: e }), e.reference ? ` · ${e.reference}` : ""] })
35
36
  }),
36
37
  /* @__PURE__ */ g("time", {
37
38
  class: "ck-time",
@@ -61,15 +62,15 @@ function ae({ items: e, onOpen: t, more: n, loadingMore: r, onMore: i, unread: a
61
62
  }) : null]
62
63
  }) : null] });
63
64
  }
64
- function F({ item: e }) {
65
- let t = `kind_${e.kind}`, [n, r] = h(t in oe ? t : "otherKind", "actor"), { type: i, name: a } = e.actor;
65
+ function ae({ item: e }) {
66
+ let t = `kind_${e.kind}`, [n, r] = h(t in L ? t : "otherKind", "actor"), { type: i, name: a } = e.actor;
66
67
  return /* @__PURE__ */ g(s, { children: [
67
68
  n,
68
69
  /* @__PURE__ */ g("strong", { children: /* @__PURE__ */ g("bdi", { children: i === "agent" || i === "integration" || i === "system" ? a : c("personName", { name: a }) }) }),
69
70
  r
70
71
  ] });
71
72
  }
72
- var oe = {
73
+ var L = {
73
74
  kind_mention: !0,
74
75
  kind_reply: !0,
75
76
  kind_assigned: !0,
@@ -83,25 +84,25 @@ var oe = {
83
84
  kind_agent_request: !0
84
85
  };
85
86
  // src/ui/panel-parts.tsx
86
- M(v);
87
- function I(e) {
87
+ A(b);
88
+ function R(e) {
88
89
  let t = e.getBoundingClientRect(), n = e.closest(".ck-panel")?.getBoundingClientRect();
89
90
  if (!n) return !1;
90
91
  let r = t.left + t.width / 2 > n.left + n.width / 2;
91
92
  return getComputedStyle(e).direction === "rtl" ? !r : r;
92
93
  }
93
- function L(e, t, n) {
94
- return ie(e, t, n), (e) => {
94
+ function z(e, t, n) {
95
+ return P(e, t, n), (e) => {
95
96
  let r = e.relatedTarget;
96
97
  r && t.current && !t.current.contains(r) && n();
97
98
  };
98
99
  }
99
- function R({ label: e, value: t, options: n, onChange: r, compact: i = !1 }) {
100
- let [o, s] = a(!1), [c, l] = a(!1), d = f(null), p = () => d.current?.querySelector(".ck-choose-btn"), m = n.find(([e]) => e === t)?.[1] ?? n[0]?.[1] ?? "", h = L(o, d, () => s(!1));
100
+ function B({ label: e, value: t, options: n, onChange: r, compact: i = !1 }) {
101
+ let [o, s] = a(!1), [c, l] = a(!1), d = f(null), p = () => d.current?.querySelector(".ck-choose-btn"), m = n.find(([e]) => e === t)?.[1] ?? n[0]?.[1] ?? "", h = z(o, d, () => s(!1));
101
102
  u(() => {
102
103
  o && d.current?.querySelector("[aria-selected=true]")?.focus();
103
104
  }, [o]);
104
- let ee = () => (s(!1), p()?.focus());
105
+ let v = () => (s(!1), p()?.focus());
105
106
  return /* @__PURE__ */ g("div", {
106
107
  class: "ck-choose",
107
108
  ref: d,
@@ -113,13 +114,13 @@ function R({ label: e, value: t, options: n, onChange: r, compact: i = !1 }) {
113
114
  "aria-expanded": o,
114
115
  "aria-label": `${e}: ${m}`,
115
116
  onClick: () => {
116
- !o && d.current && l(I(d.current)), s(!o);
117
+ !o && d.current && l(R(d.current)), s(!o);
117
118
  },
118
119
  children: [/* @__PURE__ */ g("bdi", {
119
120
  title: m,
120
121
  children: m
121
- }), /* @__PURE__ */ g(w, {
122
- name: "chevron",
122
+ }), /* @__PURE__ */ g(_, {
123
+ name: "chevronRight",
123
124
  size: 12
124
125
  })]
125
126
  }), o ? /* @__PURE__ */ g("div", {
@@ -128,28 +129,28 @@ function R({ label: e, value: t, options: n, onChange: r, compact: i = !1 }) {
128
129
  "aria-label": e,
129
130
  "data-end": c || void 0,
130
131
  onKeyDown: (e) => {
131
- e.key === "Escape" ? (e.stopPropagation(), ee()) : k(e, "[role=option]", !0);
132
+ e.key === "Escape" ? (e.stopPropagation(), v()) : N(e, "[role=option]", !0);
132
133
  },
133
134
  children: n.map(([e, n]) => /* @__PURE__ */ g("button", {
134
135
  role: "option",
135
136
  "aria-selected": e === t,
136
137
  title: n,
137
- onClick: () => (r(e), ee()),
138
+ onClick: () => (r(e), v()),
138
139
  children: /* @__PURE__ */ g("bdi", { children: n })
139
140
  }))
140
141
  }) : null]
141
142
  });
142
143
  }
143
- function se({ value: e, people: t, onChange: n }) {
144
- let [r, i] = a(!1), [o, s] = a(!1), l = f(null), d = L(r, l, () => i(!1));
144
+ function oe({ value: e, people: t, onChange: n }) {
145
+ let [r, i] = a(!1), [o, s] = a(!1), l = f(null), d = z(r, l, () => i(!1));
145
146
  u(() => {
146
- r && l.current && s(I(l.current));
147
+ r && l.current && s(R(l.current));
147
148
  }, [r, e.join()]);
148
149
  let p = [
149
150
  ["me", c("assignedToMe")],
150
151
  ["none", c("unassigned")],
151
152
  ...t.map((e) => [String(e.id), e.name])
152
- ], m = e.length ? ce(e, t) : c("anyone");
153
+ ], m = e.length ? V(e, t) : c("anyone");
153
154
  return /* @__PURE__ */ g("div", {
154
155
  class: r ? "ck-people-pick ck-pop" : "ck-people-pick",
155
156
  ref: l,
@@ -166,8 +167,8 @@ function se({ value: e, people: t, onChange: n }) {
166
167
  children: [/* @__PURE__ */ g("bdi", {
167
168
  title: m,
168
169
  children: m
169
- }), /* @__PURE__ */ g(w, {
170
- name: "chevron",
170
+ }), /* @__PURE__ */ g(_, {
171
+ name: "chevronRight",
171
172
  size: 12
172
173
  })]
173
174
  }), r ? /* @__PURE__ */ g("div", {
@@ -177,8 +178,7 @@ function se({ value: e, people: t, onChange: n }) {
177
178
  "aria-label": c("assigneeFilter"),
178
179
  children: p.map(([t, r]) => /* @__PURE__ */ g("label", {
179
180
  class: "ck-check",
180
- children: [/* @__PURE__ */ g("input", {
181
- type: "checkbox",
181
+ children: [/* @__PURE__ */ g(v, {
182
182
  checked: e.includes(t),
183
183
  onChange: (r) => {
184
184
  let i = r.target.checked;
@@ -189,11 +189,11 @@ function se({ value: e, people: t, onChange: n }) {
189
189
  }) : null]
190
190
  });
191
191
  }
192
- function ce(e, t) {
192
+ function V(e, t) {
193
193
  let n = e.map((e) => e === "me" ? c("assignedToMe") : e === "none" ? c("unassigned") : t.find((t) => String(t.id) === e)?.name ?? "").filter(Boolean);
194
194
  return n.length > 1 ? `${n[0]} +${n.length - 1}` : n[0] ?? c("anyone");
195
195
  }
196
- function le({ load: e, onRetry: t, art: n, empty: r, children: i }) {
196
+ function se({ load: e, onRetry: t, art: n, empty: r, children: i }) {
197
197
  return e.state === "loading" ? /* @__PURE__ */ g("div", {
198
198
  class: "ck-loading",
199
199
  role: "status",
@@ -216,7 +216,7 @@ function le({ load: e, onRetry: t, art: n, empty: r, children: i }) {
216
216
  class: "ck-empty",
217
217
  role: "alert",
218
218
  children: [
219
- /* @__PURE__ */ g(C, { name: "error" }),
219
+ /* @__PURE__ */ g(te, { name: "error" }),
220
220
  c("loadFailed"),
221
221
  /* @__PURE__ */ g("button", {
222
222
  class: "ck-btn",
@@ -226,12 +226,12 @@ function le({ load: e, onRetry: t, art: n, empty: r, children: i }) {
226
226
  ]
227
227
  }) : e.data.length ? /* @__PURE__ */ g(s, { children: i(e.data) }) : /* @__PURE__ */ g("div", {
228
228
  class: "ck-empty",
229
- children: [/* @__PURE__ */ g(C, { name: n }), r]
229
+ children: [/* @__PURE__ */ g(te, { name: n }), r]
230
230
  });
231
231
  }
232
232
  // src/ui/PickBar.tsx
233
- function ue({ threads: t, onCancel: n, onDone: r }, i) {
234
- let { client: s, reportError: l } = b(i), [u, d] = a(!1), p = O(u, () => e(() => import("./AgentSend-DOy3jhyF.js")).then((e) => e.AgentSend), (e) => (l(e), d(!1))), m = f(null);
233
+ function ce({ threads: t, onCancel: n, onDone: r }, i) {
234
+ let { client: s, reportError: l } = S(i), [u, d] = a(!1), p = F(u, () => e(() => import("./AgentSend-pA7Ufvye.js")).then((e) => e.AgentSend), (e) => (l(e), d(!1))), m = f(null);
235
235
  return /* @__PURE__ */ g("div", {
236
236
  class: "ck-pickbar",
237
237
  role: "group",
@@ -261,24 +261,24 @@ function ue({ threads: t, onCancel: n, onDone: r }, i) {
261
261
  "aria-expanded": u,
262
262
  "aria-haspopup": "menu",
263
263
  onClick: () => t.length && d(!u),
264
- children: [/* @__PURE__ */ g(w, {
265
- name: "agent",
264
+ children: [/* @__PURE__ */ g(_, {
265
+ name: "sparkles",
266
266
  size: 14
267
267
  }), c("sendToAgent")]
268
268
  })
269
269
  ]
270
270
  });
271
271
  }
272
- var z = "/pages/sign-off", B = (e) => n(e.options.branch, e.options.commit);
273
- function V(e) {
274
- return e.api.request(z, { query: {
272
+ var H = "/pages/sign-off", U = (e) => n(e.options.branch, e.options.commit);
273
+ function le(e) {
274
+ return e.api.request(H, { query: {
275
275
  page_url: t(),
276
- commit_sha: B(e).commit
276
+ commit_sha: U(e).commit
277
277
  } }).then((e) => e.data);
278
278
  }
279
- function de(e, n) {
280
- let r = B(e), i = n?.trim().slice(0, 280);
281
- return e.api.request(z, {
279
+ function ue(e, n) {
280
+ let r = U(e), i = n?.trim().slice(0, 280);
281
+ return e.api.request(H, {
282
282
  method: "POST",
283
283
  idempotent: !0,
284
284
  body: {
@@ -292,21 +292,21 @@ function de(e, n) {
292
292
  }
293
293
  }).then((e) => e.data);
294
294
  }
295
- function fe(e, n = t()) {
296
- return e.api.request(z, {
295
+ function de(e, n = t()) {
296
+ return e.api.request(H, {
297
297
  method: "DELETE",
298
298
  query: { page_url: n }
299
299
  }).then((e) => e.data);
300
300
  }
301
301
  // src/ui/SignOff.tsx
302
- var pe = [
302
+ var fe = [
303
303
  401,
304
304
  402,
305
305
  403,
306
306
  404,
307
307
  503
308
308
  ];
309
- function me(e) {
309
+ function W(e) {
310
310
  let t = e.approvals.find((e) => e.mine) ?? null, n = e.approvals.filter((e) => !e.mine && !e.stale), r = t?.stale ? t : e.status === "outdated" && !n.length ? e.approvals.find((e) => e.stale) ?? null : null;
311
311
  return {
312
312
  state: r ? "outdated" : t ? "mine" : n.length ? "others" : "none",
@@ -316,11 +316,11 @@ function me(e) {
316
316
  open: e.active_threads
317
317
  };
318
318
  }
319
- function H(e) {
319
+ function G(e) {
320
320
  let t = e[0]?.person.name ?? "";
321
321
  return e.length > 1 ? o("signOffByMore", e.length - 1, { name: t }) : c("signOffBy", { name: t });
322
322
  }
323
- var U = (e) => {
323
+ var pe = (e) => {
324
324
  try {
325
325
  return new Date(e).toLocaleDateString(p(), {
326
326
  day: "numeric",
@@ -331,87 +331,87 @@ var U = (e) => {
331
331
  return e.slice(0, 10);
332
332
  }
333
333
  };
334
- function he({ version: e = 0, reveal: n = 0 }, i) {
335
- let { client: s, caps: u, notify: p, reportError: m } = b(i), h = P(s.state, (e) => e.config?.read_only ?? !1), ee = P(s.state, (e) => e.threads), _ = ne(), [v, y] = a(null), [x, S] = a(!1), [C, w] = a(!1), [te, T] = a(null), [E, D] = a(""), O = f(null), k = f(!0);
336
- l(() => () => void (k.current = !1), []);
337
- let A = !!u?.comment && !h, j = s.pageKey(), M = v?.page === j ? v.data : null, ie = ee.filter((e) => e.status !== "resolved" && e.status !== "closed").map((e) => `${e.id}:${e.status}`).join(), N = f(0);
334
+ function me({ version: e = 0, reveal: n = 0 }, i) {
335
+ let { client: s, caps: u, notify: p, reportError: m } = S(i), h = k(s.state, (e) => e.config?.read_only ?? !1), _ = k(s.state, (e) => e.threads), v = ne(), [ee, y] = a(null), [b, x] = a(!1), [C, w] = a(!1), [te, T] = a(null), [E, D] = a(""), O = f(null), A = f(!0);
336
+ l(() => () => void (A.current = !1), []);
337
+ let j = !!u?.comment && !h, M = s.pageKey(), N = ee?.page === M ? ee.data : null, ie = _.filter((e) => e.status !== "resolved" && e.status !== "closed").map((e) => `${e.id}:${e.status}`).join(), P = f(0);
338
338
  l(() => {
339
- if (!A || x) return;
340
- let e = ++N.current;
341
- V(s).then((t) => {
342
- e === N.current && k.current && (Array.isArray(t?.approvals) ? y({
343
- page: j,
339
+ if (!j || b) return;
340
+ let e = ++P.current;
341
+ le(s).then((t) => {
342
+ e === P.current && A.current && (Array.isArray(t?.approvals) ? y({
343
+ page: M,
344
344
  data: t
345
- }) : S(!0));
345
+ }) : x(!0));
346
346
  }, (t) => {
347
- e === N.current && k.current && (!(t instanceof r) || pe.includes(t.status)) && S(!0);
347
+ e === P.current && A.current && (!(t instanceof r) || fe.includes(t.status)) && x(!0);
348
348
  });
349
349
  }, [
350
- A,
351
- x,
352
350
  j,
351
+ b,
352
+ M,
353
353
  ie,
354
354
  e
355
355
  ]);
356
- let ae = f(0);
356
+ let F = f(0);
357
357
  if (l(() => {
358
- n && M && ae.current !== n && (ae.current = n, O.current?.scrollIntoView?.({ block: "nearest" }), O.current?.querySelector(".ck-signoff-text")?.focus({ preventScroll: !0 }));
359
- }, [n, M]), !A || x || !M) return null;
360
- let F = me(M), oe = (e) => {
358
+ n && N && F.current !== n && (F.current = n, O.current?.scrollIntoView?.({ block: "nearest" }), O.current?.querySelector(".ck-signoff-text")?.focus({ preventScroll: !0 }));
359
+ }, [n, N]), !j || b || !N) return null;
360
+ let I = W(N), ae = (e) => {
361
361
  m(e), e instanceof r && [
362
362
  402,
363
363
  403,
364
364
  503
365
- ].includes(e.status) && e.code !== "verification_required" && S(!0);
366
- }, I = (e, t) => {
367
- N.current++, k.current && y({
365
+ ].includes(e.status) && e.code !== "verification_required" && x(!0);
366
+ }, L = (e, t) => {
367
+ P.current++, A.current && y({
368
368
  page: t,
369
369
  data: e
370
370
  });
371
- }, L = () => queueMicrotask(() => O.current?.querySelector(".ck-signoff-text")?.focus({ preventScroll: !0 })), R = () => {
371
+ }, R = () => queueMicrotask(() => O.current?.querySelector(".ck-signoff-text")?.focus({ preventScroll: !0 })), z = () => {
372
372
  if (C) return;
373
373
  w(!0);
374
374
  let e = s.pageKey();
375
- fe(s).then((t) => (I(t, e), L()), oe).finally(() => k.current && w(!1));
376
- }, se = (e = E) => {
377
- if (C || !_) return;
375
+ de(s).then((t) => (L(t, e), R()), ae).finally(() => A.current && w(!1));
376
+ }, B = (e = E) => {
377
+ if (C || !v) return;
378
378
  w(!0);
379
379
  let n = s.pageKey(), r = t();
380
- de(s, e).then((e) => {
381
- I(e, n), T(null), D(""), L(), p({
380
+ ue(s, e).then((e) => {
381
+ L(e, n), T(null), D(""), R(), p({
382
382
  text: c("signOffDone"),
383
383
  tone: "success",
384
384
  action: {
385
385
  label: c("undo"),
386
- run: () => void fe(s, r).then((e) => I(e, n), m)
386
+ run: () => void de(s, r).then((e) => L(e, n), m)
387
387
  }
388
388
  });
389
- }, oe).finally(() => k.current && w(!1));
390
- }, ce = F.state === "mine" ? c("signOffMine", { date: U(F.mine.approved_at) }) : F.state === "outdated" ? c(F.reason === "new_commit" ? "signOffNewCommit" : "signOffNewFeedback") : F.state === "others" ? H(F.others) : c("signOffAsk"), le = [F.state === "mine" && F.others.length ? H(F.others) : "", F.state !== "mine" && F.open ? o("signOffOpen", F.open) : ""].filter(Boolean), ue = F.mine ?? F.others[0];
389
+ }, ae).finally(() => A.current && w(!1));
390
+ }, oe = I.state === "mine" ? c("signOffMine", { date: pe(I.mine.approved_at) }) : I.state === "outdated" ? c(I.reason === "new_commit" ? "signOffNewCommit" : "signOffNewFeedback") : I.state === "others" ? G(I.others) : c("signOffAsk"), V = [I.state === "mine" && I.others.length ? G(I.others) : "", I.state !== "mine" && I.open ? o("signOffOpen", I.open) : ""].filter(Boolean), se = I.mine ?? I.others[0];
391
391
  return /* @__PURE__ */ g("section", {
392
392
  class: "ck-signoff",
393
393
  ref: O,
394
394
  role: "region",
395
395
  "aria-label": c("signOff"),
396
- "data-state": F.state,
396
+ "data-state": I.state,
397
397
  "aria-busy": C || void 0,
398
398
  children: [/* @__PURE__ */ g("div", {
399
399
  class: "ck-signoff-text",
400
400
  role: "status",
401
401
  tabIndex: -1,
402
- title: ue && F.state !== "outdated" ? d(ue.approved_at) : void 0,
402
+ title: se && I.state !== "outdated" ? d(se.approved_at) : void 0,
403
403
  children: [
404
- /* @__PURE__ */ g("strong", { children: ce }),
405
- le.map((e) => /* @__PURE__ */ g("span", {
404
+ /* @__PURE__ */ g("strong", { children: oe }),
405
+ V.map((e) => /* @__PURE__ */ g("span", {
406
406
  class: "ck-signoff-sub",
407
407
  children: e
408
408
  })),
409
- F.mine?.note ? /* @__PURE__ */ g("span", {
409
+ I.mine?.note ? /* @__PURE__ */ g("span", {
410
410
  class: "ck-signoff-sub ck-signoff-note",
411
- children: /* @__PURE__ */ g("bdi", { children: F.mine.note })
411
+ children: /* @__PURE__ */ g("bdi", { children: I.mine.note })
412
412
  }) : null
413
413
  ]
414
- }), te === j ? /* @__PURE__ */ g("div", {
414
+ }), te === M ? /* @__PURE__ */ g("div", {
415
415
  class: "ck-signoff-form",
416
416
  children: [
417
417
  /* @__PURE__ */ g("input", {
@@ -424,49 +424,48 @@ function he({ version: e = 0, reveal: n = 0 }, i) {
424
424
  ref: re,
425
425
  onInput: (e) => D(e.target.value),
426
426
  onKeyDown: (e) => {
427
- e.key === "Enter" ? (e.preventDefault(), se(e.target.value)) : e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), T(null), D(""), L());
427
+ e.key === "Enter" ? (e.preventDefault(), B(e.target.value)) : e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), T(null), D(""), R());
428
428
  }
429
429
  }),
430
430
  /* @__PURE__ */ g("button", {
431
431
  class: "ck-btn",
432
- onClick: () => (T(null), D(""), L()),
432
+ onClick: () => (T(null), D(""), R()),
433
433
  children: c("cancel")
434
434
  }),
435
435
  /* @__PURE__ */ g("button", {
436
436
  class: "ck-btn ck-primary",
437
- "aria-disabled": C || !_ || void 0,
438
- onClick: () => se(),
439
- children: c(F.state === "outdated" ? "signOffAgain" : "signOffApprove")
437
+ "aria-disabled": C || !v || void 0,
438
+ onClick: () => B(),
439
+ children: c(I.state === "outdated" ? "signOffAgain" : "signOffApprove")
440
440
  })
441
441
  ]
442
- }) : F.state === "mine" ? /* @__PURE__ */ g("button", {
442
+ }) : I.state === "mine" ? /* @__PURE__ */ g("button", {
443
443
  class: "ck-chip ck-chip-quiet",
444
- "aria-disabled": C || !_ || void 0,
445
- onClick: () => _ && R(),
444
+ "aria-disabled": C || !v || void 0,
445
+ onClick: () => v && z(),
446
446
  children: c("signOffWithdraw")
447
447
  }) : /* @__PURE__ */ g("button", {
448
- class: F.state === "others" ? "ck-btn" : "ck-btn ck-primary",
449
- "aria-disabled": !_ || void 0,
450
- onClick: () => _ && (D(""), T(j)),
451
- children: c(F.state === "outdated" ? "signOffAgain" : "signOffApprove")
448
+ class: I.state === "others" ? "ck-btn" : "ck-btn ck-primary",
449
+ "aria-disabled": !v || void 0,
450
+ onClick: () => v && (D(""), T(M)),
451
+ children: c(I.state === "outdated" ? "signOffAgain" : "signOffApprove")
452
452
  })]
453
453
  });
454
454
  }
455
455
  // src/ui/ThreadRow.tsx
456
- var ge = {
457
- element: "pin",
456
+ var K = {
457
+ element: "mapPin",
458
458
  region: "area",
459
459
  text: "quote",
460
460
  page: "page"
461
461
  };
462
- function _e({ thread: e, tab: t, triager: n, picked: r, branch: a, allBranches: l, canResolve: u, onOpen: f, onToggle: p, onResolve: h, onCopyLink: ee }) {
463
- let _ = r !== void 0, v = t === "page" && i(e.anchor).state === "detached", y = v ? T(e.capture?.screenshot?.thumbnail_url, "image") : null, b = e.assignees ?? (e.assignee ? [e.assignee] : []), x = (e.first_message?.reactions ?? []).slice().sort((e, t) => t.count - e.count).slice(0, 3), C = S(e), ne = e.status === "resolved" || e.status === "closed", O = c(`spot_${e.anchor.type}`), k = e.priority === "none" ? null : `${c("priority")}: ${c(`priority_${e.priority}`)}`;
462
+ function he({ thread: e, tab: t, triager: n, picked: r, branch: a, allBranches: l, canResolve: u, onOpen: f, onToggle: p, onResolve: h, onCopyLink: ee }) {
463
+ let y = r !== void 0, b = t === "page" && i(e.anchor).state === "detached", x = b ? O(e.capture?.screenshot?.thumbnail_url, "image") : null, S = e.assignees ?? (e.assignee ? [e.assignee] : []), C = (e.first_message?.reactions ?? []).slice().sort((e, t) => t.count - e.count).slice(0, 3), te = w(e), k = e.status === "resolved" || e.status === "closed", ne = c(`spot_${e.anchor.type}`), A = e.priority === "none" ? null : `${c("priority")}: ${c(`priority_${e.priority}`)}`;
464
464
  return /* @__PURE__ */ g("li", {
465
- "data-done": ne || void 0,
466
- "data-picking": _ || void 0,
465
+ "data-done": k || void 0,
466
+ "data-picking": y || void 0,
467
467
  children: [
468
- _ ? /* @__PURE__ */ g("input", {
469
- type: "checkbox",
468
+ y ? /* @__PURE__ */ g(v, {
470
469
  class: "ck-pick",
471
470
  checked: r,
472
471
  "aria-label": c("selectThread", { ref: e.reference }),
@@ -475,9 +474,9 @@ function _e({ thread: e, tab: t, triager: n, picked: r, branch: a, allBranches:
475
474
  /* @__PURE__ */ g("button", {
476
475
  class: "ck-item",
477
476
  "data-id": e.id,
478
- "data-shot": y ? "true" : void 0,
479
- "aria-pressed": _ ? r : void 0,
480
- onClick: _ ? p : f,
477
+ "data-shot": x ? "true" : void 0,
478
+ "aria-pressed": y ? r : void 0,
479
+ onClick: y ? p : f,
481
480
  children: [/* @__PURE__ */ g("div", {
482
481
  class: "ck-item-main",
483
482
  children: [
@@ -488,31 +487,31 @@ function _e({ thread: e, tab: t, triager: n, picked: r, branch: a, allBranches:
488
487
  children: [
489
488
  /* @__PURE__ */ g("span", {
490
489
  class: "ck-kind",
491
- title: O,
492
- "aria-label": O,
493
- children: /* @__PURE__ */ g(w, {
494
- name: ge[e.anchor.type] ?? "comment",
490
+ title: ne,
491
+ "aria-label": ne,
492
+ children: /* @__PURE__ */ g(_, {
493
+ name: K[e.anchor.type] ?? "comment",
495
494
  size: 12
496
495
  })
497
496
  }),
498
497
  /* @__PURE__ */ g("strong", { children: n ? e.reference : c("feedbackRef", { ref: e.reference }) }),
499
- /* @__PURE__ */ g(te, { status: e.status }),
500
- k ? /* @__PURE__ */ g("span", {
498
+ /* @__PURE__ */ g(j, { status: e.status }),
499
+ A ? /* @__PURE__ */ g("span", {
501
500
  class: "ck-flag",
502
501
  "data-priority": e.priority,
503
- title: k,
504
- "aria-label": k,
505
- children: /* @__PURE__ */ g(w, {
502
+ title: A,
503
+ "aria-label": A,
504
+ children: /* @__PURE__ */ g(_, {
506
505
  name: "flag",
507
506
  size: 12
508
507
  })
509
508
  }) : null,
510
- A(e) ? /* @__PURE__ */ g("span", {
509
+ D(e) ? /* @__PURE__ */ g("span", {
511
510
  class: "ck-tag",
512
511
  title: `${c(`screen_${E(e.breakpoint)}`)} (${e.breakpoint}px)`,
513
512
  children: c(`size_${E(e.breakpoint)}`)
514
513
  }) : null,
515
- v ? /* @__PURE__ */ g("span", {
514
+ b ? /* @__PURE__ */ g("span", {
516
515
  class: "ck-tag ck-badge-soft",
517
516
  title: c("detached"),
518
517
  children: c("notOnPage")
@@ -533,10 +532,10 @@ function _e({ thread: e, tab: t, triager: n, picked: r, branch: a, allBranches:
533
532
  /* @__PURE__ */ g("div", {
534
533
  class: "ck-muted ck-item-meta",
535
534
  children: [
536
- /* @__PURE__ */ g(D, { person: e.author }),
535
+ /* @__PURE__ */ g(T, { person: e.author }),
537
536
  /* @__PURE__ */ g("bdi", {
538
537
  title: e.author.name,
539
- children: W(e.author.name)
538
+ children: ge(e.author.name)
540
539
  }),
541
540
  t === "all" ? /* @__PURE__ */ g(s, { children: [" · ", /* @__PURE__ */ g("bdi", {
542
541
  class: "ck-item-page",
@@ -550,47 +549,47 @@ function _e({ thread: e, tab: t, triager: n, picked: r, branch: a, allBranches:
550
549
  l && e.page.branch && e.page.branch !== a ? /* @__PURE__ */ g("span", {
551
550
  class: "ck-item-sep",
552
551
  title: e.page.branch,
553
- children: [" · ", c("onBranch", { branch: ve(e.page.branch) })]
552
+ children: [" · ", c("onBranch", { branch: _e(e.page.branch) })]
554
553
  }) : null,
555
- C ? /* @__PURE__ */ g("span", {
554
+ te ? /* @__PURE__ */ g("span", {
556
555
  class: "ck-item-check",
557
556
  children: [
558
557
  " · ",
559
- /* @__PURE__ */ g(w, {
558
+ /* @__PURE__ */ g(_, {
560
559
  name: "check",
561
560
  size: 12
562
561
  }),
563
- C
562
+ te
564
563
  ]
565
564
  }) : null,
566
- x.length ? /* @__PURE__ */ g("span", {
565
+ C.length ? /* @__PURE__ */ g("span", {
567
566
  class: "ck-item-reactions",
568
- "aria-label": x.map((e) => o("reactionLabel", e.count, { emoji: e.emoji })).join(", "),
569
- children: x.map((e) => /* @__PURE__ */ g("span", { children: [/* @__PURE__ */ g(N, { char: e.emoji }), e.count] }))
567
+ "aria-label": C.map((e) => o("reactionLabel", e.count, { emoji: e.emoji })).join(", "),
568
+ children: C.map((e) => /* @__PURE__ */ g("span", { children: [/* @__PURE__ */ g(ie, { char: e.emoji }), e.count] }))
570
569
  }) : null,
571
- b.length ? /* @__PURE__ */ g("span", {
570
+ S.length ? /* @__PURE__ */ g("span", {
572
571
  class: "ck-faces ck-item-faces",
573
- title: `${c("assigneeFilter")}: ${b.map((e) => e.name).join(", ")}`,
574
- children: b.slice(0, 3).map((e) => /* @__PURE__ */ g(D, { person: e }))
572
+ title: `${c("assigneeFilter")}: ${S.map((e) => e.name).join(", ")}`,
573
+ children: S.slice(0, 3).map((e) => /* @__PURE__ */ g(T, { person: e }))
575
574
  }) : null
576
575
  ]
577
576
  })
578
577
  ]
579
- }), y ? /* @__PURE__ */ g("img", {
578
+ }), x ? /* @__PURE__ */ g("img", {
580
579
  class: "ck-item-thumb",
581
- src: y,
580
+ src: x,
582
581
  alt: c("screenshot"),
583
582
  loading: "lazy"
584
583
  }) : null]
585
584
  }),
586
- _ ? null : /* @__PURE__ */ g("span", {
585
+ y ? null : /* @__PURE__ */ g("span", {
587
586
  class: "ck-item-actions",
588
- children: [u && !ne ? /* @__PURE__ */ g("button", {
587
+ children: [u && !k ? /* @__PURE__ */ g("button", {
589
588
  class: "ck-ghost ck-ghost-sm",
590
589
  "aria-label": c("resolveRef", { ref: e.reference }),
591
590
  title: c("resolve"),
592
591
  onClick: h,
593
- children: /* @__PURE__ */ g(w, {
592
+ children: /* @__PURE__ */ g(_, {
594
593
  name: "check",
595
594
  size: 14
596
595
  })
@@ -599,7 +598,7 @@ function _e({ thread: e, tab: t, triager: n, picked: r, branch: a, allBranches:
599
598
  "aria-label": c("copyLinkRef", { ref: e.reference }),
600
599
  title: c("copyLink"),
601
600
  onClick: ee,
602
- children: /* @__PURE__ */ g(w, {
601
+ children: /* @__PURE__ */ g(_, {
603
602
  name: "link",
604
603
  size: 14
605
604
  })
@@ -608,28 +607,28 @@ function _e({ thread: e, tab: t, triager: n, picked: r, branch: a, allBranches:
608
607
  ]
609
608
  });
610
609
  }
611
- function W(e) {
610
+ function ge(e) {
612
611
  return e.trim().split(/\s+/)[0] || e;
613
612
  }
614
- function ve(e) {
613
+ function _e(e) {
615
614
  return e.length > 28 ? `${e.slice(0, 27)}…` : e;
616
615
  }
617
616
  // src/ui/Panel.tsx
618
- M(".ck-live-note .ck-btn{flex:none;margin-inline-start:auto}.ck-item-meta .ck-avatar{--ck-av:16px;margin-inline-end:2px}.ck-panel-list,.ck-panel-detail{flex-direction:column;flex:1;min-height:0;display:flex}.ck-panel-list[data-back]{animation:ck-slide-back var(--ck-dur) var(--ck-ease)}.ck-root[dir=rtl] .ck-panel-list[data-back]{animation-name:ck-slide-back-rtl}@keyframes ck-slide-back{0%{opacity:.4;translate:-16px}}@keyframes ck-slide-back-rtl{0%{opacity:.4;translate:16px}}.ck-panel-list>.ck-card-body{padding:0}.ck-here{font-size:var(--ck-fs-sm);color:var(--ck-text-muted);white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;gap:8px;display:inline-flex}.ck-dot{background:var(--ck-success);border-radius:50%;width:8px;height:8px}.ck-faces{display:inline-flex}.ck-faces .ck-avatar{--ck-av:24px;box-shadow:0 0 0 2px var(--ck-bg);margin-inline-start:-6px}.ck-faces .ck-avatar:first-child{margin-inline-start:0}.ck-faces-more{font-size:var(--ck-fs-sm);color:var(--ck-text-muted);font-variant-numeric:tabular-nums;margin-inline-start:4px}.ck-agent-chip{flex:0 auto;gap:4px;min-width:0}.ck-agent-chip>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.ck-tabs{border-radius:var(--ck-radius-md);background:var(--ck-bg-muted);gap:2px;margin:8px 16px 0;padding:4px;display:flex}.ck-tab{border-radius:var(--ck-radius-sm);min-width:0;min-height:32px;font-size:var(--ck-fs-md);color:var(--ck-text-muted);white-space:nowrap;transition:background-color var(--ck-fast), color var(--ck-fast);background:0 0;border:0;flex:1;justify-content:center;align-items:center;gap:4px;padding:4px 8px;font-weight:600;display:inline-flex}.ck-tab[aria-selected=true]{color:var(--ck-text);background:var(--ck-bg);box-shadow:var(--ck-shadow-sm)}.ck-tab:focus-visible{outline-offset:-2px}.ck-tab-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.ck-tab .ck-count{flex:none}.ck-count{border-radius:var(--ck-radius-pill);background:var(--ck-bg-hover);min-width:18px;height:18px;color:var(--ck-text-muted);font-size:var(--ck-fs-xs);text-align:center;font-variant-numeric:tabular-nums;padding:0 4px;font-weight:700;line-height:18px;display:inline-block}.ck-tab[aria-selected=true] .ck-count{background:var(--ck-accent-soft);color:var(--ck-accent-text)}.ck-chip .ck-count{min-width:16px;height:16px;margin-inline-start:2px;padding:0 4px;line-height:16px}.ck-pad-x{margin:8px 16px 0}.ck-live-note{align-items:center;gap:8px;display:flex}.ck-filters{gap:8px;padding:8px 16px;display:flex}.ck-filters+.ck-filters{padding-top:0}#ck-more-filters{flex-wrap:wrap}.ck-filters .ck-choose,.ck-filters .ck-people-pick{flex:none}#ck-more-filters .ck-choose-btn{height:32px;font-size:var(--ck-fs-md);padding-block-start:0;padding-block-end:0}.ck-search{flex:1;align-items:center;min-width:0;display:flex;position:relative}.ck-search>svg{color:var(--ck-text-muted);pointer-events:none;position:absolute}.ck-search>svg:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:12px}.ck-search>svg:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:12px}.ck-search>svg:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:12px}.ck-search>svg:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:12px}.ck-search .ck-input{padding-inline-start:32px;padding-inline-end:32px}.ck-search .ck-ghost{place-items:center;width:24px;height:24px;padding:0;display:grid;position:absolute;right:4px}.ck-branchbar{flex-wrap:wrap;align-items:center;gap:8px;padding:8px 16px 0;display:flex}.ck-quick-filters{padding-top:0}.ck-chip-quiet{background:0 0;border-color:#0000}.ck-result-count{font-size:var(--ck-fs-sm);font-variant-numeric:tabular-nums;white-space:nowrap;margin-inline-start:auto}.ck-choose,.ck-people-pick{position:relative}.ck-choose-btn{text-align:start;white-space:nowrap;cursor:pointer;align-items:center;gap:8px;width:auto;max-width:180px;padding-inline-start:12px;padding-inline-end:8px;display:inline-flex}.ck-choose-btn bdi{text-overflow:ellipsis;min-width:0;overflow:hidden}.ck-choose-btn svg{color:var(--ck-text-muted);transition:rotate var(--ck-dur) var(--ck-ease);flex:none;rotate:90deg}.ck-choose-btn[aria-expanded=true] svg{rotate:-90deg}.ck-choose[data-compact] .ck-choose-btn{height:28px;font-size:var(--ck-fs-sm);color:var(--ck-text-muted);border-radius:var(--ck-radius-pill);padding-block-start:0;padding-block-end:0;font-weight:600}.ck-choose-menu,.ck-people-menu{z-index:4;top:calc(100% + 4px);overscroll-behavior:contain;background:var(--ck-bg);border-radius:var(--ck-radius-md);width:max-content;max-width:280px;max-height:260px;box-shadow:var(--ck-shadow);animation:ck-pop var(--ck-dur) var(--ck-ease);border:1px solid #0000;gap:2px;padding:4px;display:grid;position:absolute;overflow:hidden auto}.ck-choose-menu:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.ck-choose-menu:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.ck-people-menu:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.ck-people-menu:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.ck-choose-menu:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.ck-choose-menu:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.ck-people-menu:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.ck-people-menu:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.ck-choose-menu{min-width:180px}.ck-people-menu{min-width:200px;max-height:240px}.ck-choose-menu[data-end]:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:auto;right:0}.ck-choose-menu[data-end]:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:auto;right:0}.ck-people-menu[data-end]:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:auto;right:0}.ck-people-menu[data-end]:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:auto;right:0}.ck-choose-menu[data-end]:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.ck-choose-menu[data-end]:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.ck-people-menu[data-end]:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.ck-people-menu[data-end]:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.ck-people-btn{max-width:180px}.ck-choose-menu button{border-radius:var(--ck-radius-sm);text-align:start;width:100%;min-height:32px;font-size:var(--ck-fs-md);white-space:nowrap;text-overflow:ellipsis;transition:background-color var(--ck-fast);background:0 0;border:0;padding:4px 8px;display:block;overflow:hidden}.ck-choose-menu button[aria-selected=true]{background:var(--ck-accent-soft);font-weight:600}.ck-choose-menu button:focus-visible{outline-offset:-2px}.ck-people-menu .ck-check{border-radius:var(--ck-radius-sm);min-width:0;min-height:32px;font-size:var(--ck-fs-md);transition:background-color var(--ck-fast);align-items:center;margin:0;padding:4px 8px}.ck-people-menu .ck-check input{margin:0}.ck-people-menu .ck-check bdi{overflow-wrap:anywhere;min-width:0}.ck-people-menu .ck-check:has(:focus-visible){outline:2px solid var(--ck-ring);outline-offset:-2px}.ck-people-menu .ck-check input:focus-visible{outline:none}.ck-list{margin:0;padding:4px 8px;list-style:none}.ck-list>li{position:relative}.ck-list>li+li{border-top:1px solid var(--ck-hairline)}.ck-item{text-align:start;border-radius:var(--ck-radius-sm);width:100%;transition:background-color var(--ck-fast);background:0 0;border:0;padding:12px 8px;display:block}.ck-item:focus-visible{outline-offset:-2px}.ck-item:active{background:var(--ck-bg-hover)}.ck-item[data-unread=true]{background:var(--ck-accent-soft)}.ck-item[data-shot]{grid-template-columns:minmax(0,1fr) 64px;align-items:start;gap:12px;display:grid}.ck-item-main{min-width:0}.ck-list>li[data-done] .ck-item-main{opacity:.6}.ck-item-top{font-size:var(--ck-fs-sm);color:var(--ck-text-muted);align-items:flex-start;gap:8px;line-height:1.67;display:flex}.ck-item-tags{flex-wrap:wrap;flex:1;align-items:center;gap:4px 8px;min-width:0;display:flex}.ck-item-tags>span:not([class]){overflow-wrap:anywhere;min-width:0}.ck-item-tags>.ck-tag{text-overflow:ellipsis;min-width:0;max-width:100%;overflow:hidden}.ck-item-tags>.ck-status{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;display:block;overflow:hidden}.ck-item-tags>.ck-status:before{vertical-align:middle;margin-inline-end:6px;display:inline-block}.ck-item-tags>strong{color:var(--ck-text);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.ck-item-tags strong{color:var(--ck-text)}.ck-item-text{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-top:4px;line-height:1.45;display:-webkit-box;overflow:hidden}.ck-item-meta{white-space:nowrap;align-items:center;gap:4px;min-width:0;margin-top:4px;display:flex;overflow:hidden}.ck-item-meta .ck-avatar{--ck-av:16px}.ck-item-meta bdi,.ck-item-sep{text-overflow:ellipsis;min-width:0;overflow:hidden}.ck-item-meta>:-webkit-any(.ck-avatar,.ck-item-check,.ck-item-reactions,.ck-item-faces){flex:none}.ck-item-meta>:is(.ck-avatar,.ck-item-check,.ck-item-reactions,.ck-item-faces){flex:none}.ck-item-thumb{object-fit:cover;object-position:top;border-radius:var(--ck-radius-sm);background:var(--ck-bg-muted);outline:1px solid var(--ck-img-outline);outline-offset:-1px;width:64px;height:44px;margin-top:2px}.ck-kind,.ck-flag{color:var(--ck-text-muted);place-items:center;display:inline-grid}.ck-flag[data-priority=urgent]{color:var(--ck-danger)}.ck-flag[data-priority=high]{color:color-mix(in srgb, var(--ck-danger) 50%, var(--ck-warning))}.ck-flag[data-priority=medium]{color:var(--ck-warning)}.ck-tag{border-radius:var(--ck-radius-pill);font-size:var(--ck-fs-xs);background:var(--ck-bg-hover);color:var(--ck-text-muted);white-space:nowrap;padding:0 8px;font-weight:600;line-height:18px}.ck-badge-soft{background:color-mix(in srgb, var(--ck-warning) 14%, transparent);color:color-mix(in srgb, var(--ck-warning) 80%, var(--ck-text))}.ck-item-check{font-variant-numeric:tabular-nums;align-items:center;gap:2px;display:inline-flex}.ck-item-reactions{font-variant-numeric:tabular-nums;gap:8px;margin-inline-start:4px;display:inline-flex}.ck-item-reactions>span{align-items:center;gap:2px;display:inline-flex}.ck-item-reactions .ck-emoji{width:12px;height:12px}.ck-item-faces{margin-inline-start:auto;padding-inline-start:4px}.ck-item-faces .ck-avatar{--ck-av:16px;margin-inline-start:-4px;margin-inline-end:0}.ck-item-actions{top:8px;border-radius:var(--ck-radius-sm);background:var(--ck-bg);box-shadow:var(--ck-shadow-sm);opacity:0;pointer-events:none;transition:opacity var(--ck-fast);gap:2px;padding:2px;display:flex;position:absolute}.ck-item-actions:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:8px}.ck-item-actions:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:8px}.ck-item-actions:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:8px}.ck-item-actions:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:8px}.ck-list>li:has(:focus-visible) .ck-item-actions{opacity:1;pointer-events:auto}.ck-item-actions .ck-ghost{border-radius:var(--ck-radius-sm);place-items:center;width:28px;height:28px;padding:0;display:grid}.ck-pad{padding:8px 16px}.ck-list-foot{flex-wrap:wrap;gap:8px;display:flex}.ck-loading{padding:4px 16px}.ck-loading-row{padding:12px 0}.ck-loading-row+.ck-loading-row{border-top:1px solid var(--ck-hairline)}.ck-list>li[data-picking] .ck-item{padding-inline-start:36px}.ck-list>li[data-picking] .ck-item[aria-pressed=true]{background:color-mix(in srgb, var(--ck-accent) 8%, transparent)}.ck-pick{z-index:1;width:16px;height:16px;accent-color:var(--ck-accent);cursor:pointer;margin:0;position:absolute;top:14px}.ck-pick:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:12px}.ck-pick:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:12px}.ck-pick:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:12px}.ck-pick:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:12px}.ck-pickbar{border-top:1px solid var(--ck-hairline);background:var(--ck-bg);align-items:center;gap:8px;padding:8px 16px;display:flex;position:relative}.ck-pickbar>.ck-muted{min-width:0;font-size:var(--ck-fs-md);font-variant-numeric:tabular-nums;flex:1}.ck-agent-menu{top:auto;right:auto;bottom:calc(100% + 8px)}.ck-agent-menu:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:12px}.ck-agent-menu:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:12px}.ck-agent-menu:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:12px}.ck-agent-menu:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:12px}.ck-agent-menu button[aria-disabled=true]{opacity:.5;cursor:default}.ck-agent-note{font-size:var(--ck-fs-sm);margin:4px 8px}.ck-unread{background:var(--ck-accent-text);border-radius:50%;flex:none;width:8px;height:8px;margin-block-start:6px;margin-block-end:6px}.ck-sr{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ck-grabber{display:none}@media (max-width:520px){.ck-grabber{touch-action:none;flex:none;place-items:center;height:16px;display:grid}.ck-grabber:before{content:\"\";background:var(--ck-border);border-radius:2px;width:36px;height:4px}.ck-panel .ck-card-head{touch-action:none}.ck-panel-list>:not(:-webkit-any(.ck-card-body,.ck-card-head)){touch-action:pan-x}.ck-panel-list>:not(:is(.ck-card-body,.ck-card-head)){touch-action:pan-x}}@media (max-width:400px){.ck-agent-chip>span{display:none}}@media (max-height:480px){.ck-panel-list{overflow-y:auto}.ck-panel-list>.ck-card-body{flex:none;overflow:visible}.ck-root:has(.ck-panel) .ck-launcher[data-covered=true]{display:none}}.ck-signoff{border-radius:var(--ck-radius-md);background:var(--ck-bg-muted);font-size:var(--ck-fs-md);flex-wrap:wrap;align-items:center;gap:8px 12px;margin:8px 16px 4px;padding:8px 12px;line-height:1.45;display:flex}.ck-signoff[data-state=mine],.ck-signoff[data-state=others]{background:color-mix(in srgb, var(--ck-success) 10%, var(--ck-bg))}.ck-signoff[data-state=outdated]{background:color-mix(in srgb, var(--ck-warning) 12%, var(--ck-bg))}.ck-signoff-text{overflow-wrap:anywhere;text-wrap:pretty;flex:180px;min-width:0}.ck-signoff-text strong{color:var(--ck-text);font-weight:600}.ck-signoff-sub{color:var(--ck-text-muted);font-size:var(--ck-fs-sm);margin-top:2px;display:block}.ck-signoff-note:before{content:\"“\"}.ck-signoff-note:after{content:\"”\"}.ck-signoff>.ck-btn,.ck-signoff>.ck-chip{flex:none}.ck-signoff-form{flex-wrap:wrap;flex:100%;gap:8px;display:flex}.ck-signoff-form .ck-input{flex:160px;min-width:0}@media (hover:hover){.ck-tab:hover{color:var(--ck-text)}.ck-list>li:hover .ck-item-actions{opacity:1;pointer-events:auto}.ck-item:hover{background:var(--ck-bg-muted)}.ck-item[data-unread=true]:hover{background:color-mix(in srgb, var(--ck-accent) 18%, var(--ck-bg))}.ck-choose-menu button:hover,.ck-people-menu .ck-check:hover{background:var(--ck-bg-hover)}.ck-choose-menu button[aria-selected=true]:hover{background:color-mix(in srgb, var(--ck-accent) 18%, var(--ck-bg))}.ck-agent-menu button[aria-disabled=true]:hover{background:0 0}}@media (pointer:coarse){.ck-tab{min-height:44px}.ck-item{min-height:48px}.ck-choose-btn,.ck-choose-menu button,.ck-people-menu .ck-check{min-height:44px}.ck-choose[data-compact] .ck-choose-btn{height:36px;min-height:36px}.ck-item-actions{display:none}.ck-pick{width:20px;height:20px;top:12px}.ck-list>li[data-picking] .ck-item{padding-inline-start:44px}}@media (forced-colors:active){.ck-tab[aria-selected=true],.ck-choose-menu button[aria-selected=true],.ck-chip[aria-pressed=true]{color:highlighttext;background:highlight}.ck-unread{background:canvastext}}@media (prefers-reduced-motion:reduce){.ck-panel-list[data-back],.ck-choose-menu,.ck-people-menu{animation:none}.ck-choose-btn svg{transition:none}.ck-grabber{display:none}}");
619
- var ye = {
617
+ A(".ck-live-note .ck-btn{flex:none;margin-inline-start:auto}.ck-item-meta .ck-avatar{--ck-av:16px;margin-inline-end:2px}.ck-panel-list,.ck-panel-detail{flex-direction:column;flex:1;min-height:0;display:flex}.ck-panel-list[data-back]{animation:ck-slide-back var(--ck-dur) var(--ck-ease)}.ck-root[dir=rtl] .ck-panel-list[data-back]{animation-name:ck-slide-back-rtl}@keyframes ck-slide-back{0%{opacity:.4;translate:-16px}}@keyframes ck-slide-back-rtl{0%{opacity:.4;translate:16px}}.ck-panel-list>.ck-card-body{padding:0}.ck-here{font-size:var(--ck-fs-sm);color:var(--ck-text-muted);white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;gap:8px;display:inline-flex}.ck-dot{background:var(--ck-success);border-radius:50%;width:8px;height:8px}.ck-faces{display:inline-flex}.ck-faces .ck-avatar{--ck-av:24px;box-shadow:0 0 0 2px var(--ck-bg);margin-inline-start:-6px}.ck-faces .ck-avatar:first-child{margin-inline-start:0}.ck-faces-more{font-size:var(--ck-fs-sm);color:var(--ck-text-muted);font-variant-numeric:tabular-nums;margin-inline-start:4px}.ck-agent-chip{flex:0 auto;gap:4px;min-width:0}.ck-agent-chip>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.ck-tabs{border-radius:var(--ck-radius-md);background:var(--ck-bg-muted);gap:2px;margin:8px 16px 0;padding:4px;display:flex}.ck-tab{border-radius:var(--ck-radius-sm);min-width:0;min-height:32px;font-size:var(--ck-fs-md);color:var(--ck-text-muted);white-space:nowrap;transition:background-color var(--ck-fast), color var(--ck-fast);background:0 0;border:0;flex:1;justify-content:center;align-items:center;gap:4px;padding:4px 8px;font-weight:600;display:inline-flex}.ck-tab[aria-selected=true]{color:var(--ck-text);background:var(--ck-bg);box-shadow:var(--ck-shadow-sm)}.ck-tab:focus-visible{outline-offset:-2px}.ck-tab-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.ck-tab .ck-count{flex:none}.ck-count{border-radius:var(--ck-radius-pill);background:var(--ck-bg-hover);min-width:18px;height:18px;color:var(--ck-text-muted);font-size:var(--ck-fs-xs);text-align:center;font-variant-numeric:tabular-nums;padding:0 4px;font-weight:700;line-height:18px;display:inline-block}.ck-tab[aria-selected=true] .ck-count{background:var(--ck-accent-soft);color:var(--ck-accent-text)}.ck-chip .ck-count{min-width:16px;height:16px;margin-inline-start:2px;padding:0 4px;line-height:16px}.ck-pad-x{margin:8px 16px 0}.ck-live-note{align-items:center;gap:8px;display:flex}.ck-filters{gap:8px;padding:8px 16px;display:flex}.ck-filters+.ck-filters{padding-top:0}#ck-more-filters{flex-wrap:wrap}.ck-filters .ck-choose,.ck-filters .ck-people-pick{flex:none}#ck-more-filters .ck-choose-btn{height:32px;font-size:var(--ck-fs-md);padding-block-start:0;padding-block-end:0}.ck-search{flex:1;align-items:center;min-width:0;display:flex;position:relative}.ck-search>svg{color:var(--ck-text-muted);pointer-events:none;position:absolute}.ck-search>svg:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:12px}.ck-search>svg:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:12px}.ck-search>svg:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:12px}.ck-search>svg:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:12px}.ck-search .ck-input{padding-inline-start:32px;padding-inline-end:32px}.ck-search .ck-ghost{place-items:center;width:24px;height:24px;padding:0;display:grid;position:absolute;right:4px}.ck-branchbar{flex-wrap:wrap;align-items:center;gap:8px;padding:8px 16px 0;display:flex}.ck-quick-filters{padding-top:0}.ck-chip-quiet{background:0 0;border-color:#0000}.ck-result-count{font-size:var(--ck-fs-sm);font-variant-numeric:tabular-nums;white-space:nowrap;margin-inline-start:auto}.ck-choose,.ck-people-pick{position:relative}.ck-choose-btn{text-align:start;white-space:nowrap;cursor:pointer;align-items:center;gap:8px;width:auto;max-width:180px;padding-inline-start:12px;padding-inline-end:8px;display:inline-flex}.ck-choose-btn bdi{text-overflow:ellipsis;min-width:0;overflow:hidden}.ck-choose-btn svg{color:var(--ck-text-muted);transition:rotate var(--ck-dur) var(--ck-ease);flex:none;rotate:90deg}.ck-choose-btn[aria-expanded=true] svg{rotate:-90deg}.ck-choose[data-compact] .ck-choose-btn{height:28px;font-size:var(--ck-fs-sm);color:var(--ck-text-muted);border-radius:var(--ck-radius-pill);padding-block-start:0;padding-block-end:0;font-weight:600}.ck-choose-menu,.ck-people-menu{z-index:4;top:calc(100% + 4px);overscroll-behavior:contain;background:var(--ck-bg);border-radius:var(--ck-radius-md);width:max-content;max-width:280px;max-height:260px;box-shadow:var(--ck-shadow);animation:ck-pop var(--ck-dur) var(--ck-ease);border:1px solid #0000;gap:2px;padding:4px;display:grid;position:absolute;overflow:hidden auto}.ck-choose-menu:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.ck-choose-menu:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.ck-people-menu:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.ck-people-menu:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.ck-choose-menu:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.ck-choose-menu:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.ck-people-menu:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.ck-people-menu:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.ck-choose-menu{min-width:180px}.ck-people-menu{min-width:200px;max-height:240px}.ck-choose-menu[data-end]:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:auto;right:0}.ck-choose-menu[data-end]:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:auto;right:0}.ck-people-menu[data-end]:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:auto;right:0}.ck-people-menu[data-end]:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:auto;right:0}.ck-choose-menu[data-end]:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.ck-choose-menu[data-end]:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.ck-people-menu[data-end]:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.ck-people-menu[data-end]:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:auto}.ck-people-btn{max-width:180px}.ck-choose-menu button{border-radius:var(--ck-radius-sm);text-align:start;width:100%;min-height:32px;font-size:var(--ck-fs-md);white-space:nowrap;text-overflow:ellipsis;transition:background-color var(--ck-fast);background:0 0;border:0;padding:4px 8px;display:block;overflow:hidden}.ck-choose-menu button[aria-selected=true]{background:var(--ck-accent-soft);font-weight:600}.ck-choose-menu button:focus-visible{outline-offset:-2px}.ck-people-menu .ck-check{border-radius:var(--ck-radius-sm);min-width:0;min-height:32px;font-size:var(--ck-fs-md);transition:background-color var(--ck-fast);align-items:center;margin:0;padding:4px 8px}.ck-people-menu .ck-check input{margin:0}.ck-people-menu .ck-check bdi{overflow-wrap:anywhere;min-width:0}@supports selector(:has(a)){.ck-people-menu .ck-check:has(:focus-visible){outline:2px solid var(--ck-ring);outline-offset:-2px}.ck-people-menu .ck-check input:focus-visible{outline:none}}.ck-list{margin:0;padding:4px 8px;list-style:none}.ck-list>li{position:relative}.ck-list>li+li{border-top:1px solid var(--ck-hairline)}.ck-item{text-align:start;border-radius:var(--ck-radius-sm);width:100%;transition:background-color var(--ck-fast);background:0 0;border:0;padding:12px 8px;display:block}.ck-item:focus-visible{outline-offset:-2px}.ck-item:active{background:var(--ck-bg-hover)}.ck-item[data-unread=true]{background:var(--ck-accent-soft)}.ck-item[data-shot]{grid-template-columns:minmax(0,1fr) 64px;align-items:start;gap:12px;display:grid}.ck-item-main{min-width:0}.ck-list>li[data-done] .ck-item-main{opacity:.6}.ck-item-top{font-size:var(--ck-fs-sm);color:var(--ck-text-muted);align-items:flex-start;gap:8px;line-height:1.67;display:flex}.ck-item-tags{flex-wrap:wrap;flex:1;align-items:center;gap:4px 8px;min-width:0;display:flex}.ck-item-tags>span:not([class]){overflow-wrap:anywhere;min-width:0}.ck-item-tags>.ck-tag{text-overflow:ellipsis;min-width:0;max-width:100%;overflow:hidden}.ck-item-tags>.ck-status{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;display:block;overflow:hidden}.ck-item-tags>.ck-status:before{vertical-align:middle;margin-inline-end:6px;display:inline-block}.ck-item-tags>strong{color:var(--ck-text);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.ck-item-tags strong{color:var(--ck-text)}.ck-item-text{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-top:4px;line-height:1.45;display:-webkit-box;overflow:hidden}.ck-item-meta{white-space:nowrap;align-items:center;gap:4px;min-width:0;margin-top:4px;display:flex;overflow:hidden}.ck-item-meta .ck-avatar{--ck-av:16px}.ck-item-meta bdi,.ck-item-sep{text-overflow:ellipsis;min-width:0;overflow:hidden}.ck-item-meta>:-webkit-any(.ck-avatar,.ck-item-check,.ck-item-reactions,.ck-item-faces){flex:none}.ck-item-meta>:is(.ck-avatar,.ck-item-check,.ck-item-reactions,.ck-item-faces){flex:none}.ck-item-thumb{object-fit:cover;object-position:top;border-radius:var(--ck-radius-sm);background:var(--ck-bg-muted);outline:1px solid var(--ck-img-outline);outline-offset:-1px;width:64px;height:44px;margin-top:2px}.ck-kind,.ck-flag{color:var(--ck-text-muted);place-items:center;display:inline-grid}.ck-flag[data-priority=urgent]{color:var(--ck-danger)}.ck-flag[data-priority=high]{color:color-mix(in srgb, var(--ck-danger) 50%, var(--ck-warning))}.ck-flag[data-priority=medium]{color:var(--ck-warning)}.ck-tag{border-radius:var(--ck-radius-pill);font-size:var(--ck-fs-xs);background:var(--ck-bg-hover);color:var(--ck-text-muted);white-space:nowrap;padding:0 8px;font-weight:600;line-height:18px}.ck-badge-soft{background:color-mix(in srgb, var(--ck-warning) 14%, transparent);color:color-mix(in srgb, var(--ck-warning) 80%, var(--ck-text))}.ck-item-check{font-variant-numeric:tabular-nums;align-items:center;gap:2px;display:inline-flex}.ck-item-reactions{font-variant-numeric:tabular-nums;gap:8px;margin-inline-start:4px;display:inline-flex}.ck-item-reactions>span{align-items:center;gap:2px;display:inline-flex}.ck-item-reactions .ck-emoji{width:12px;height:12px}.ck-item-faces{margin-inline-start:auto;padding-inline-start:4px}.ck-item-faces .ck-avatar{--ck-av:16px;margin-inline-start:-4px;margin-inline-end:0}.ck-item-actions{top:8px;border-radius:var(--ck-radius-sm);background:var(--ck-bg);box-shadow:var(--ck-shadow-sm);opacity:0;pointer-events:none;transition:opacity var(--ck-fast);gap:2px;padding:2px;display:flex;position:absolute}.ck-item-actions:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:8px}.ck-item-actions:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:8px}.ck-item-actions:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:8px}.ck-item-actions:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:8px}.ck-list>li:has(:focus-visible) .ck-item-actions{opacity:1;pointer-events:auto}.ck-item-actions .ck-ghost{border-radius:var(--ck-radius-sm);place-items:center;width:28px;height:28px;padding:0;display:grid}.ck-pad{padding:8px 16px}.ck-list-foot{flex-wrap:wrap;gap:8px;display:flex}.ck-loading{padding:4px 16px}.ck-loading-row{padding:12px 0}.ck-loading-row+.ck-loading-row{border-top:1px solid var(--ck-hairline)}.ck-list>li[data-picking] .ck-item{padding-inline-start:36px}.ck-list>li[data-picking] .ck-item[aria-pressed=true]{background:color-mix(in srgb, var(--ck-accent) 8%, transparent)}.ck-pick{z-index:1;position:absolute;top:15px}.ck-pick:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:12px}.ck-pick:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:12px}.ck-pick:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:12px}.ck-pick:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:12px}.ck-pickbar{border-top:1px solid var(--ck-hairline);background:var(--ck-bg);align-items:center;gap:8px;padding:8px 16px;display:flex;position:relative}.ck-pickbar>.ck-muted{min-width:0;font-size:var(--ck-fs-md);font-variant-numeric:tabular-nums;flex:1}.ck-agent-menu{top:auto;right:auto;bottom:calc(100% + 8px)}.ck-agent-menu:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:12px}.ck-agent-menu:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:12px}.ck-agent-menu:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:12px}.ck-agent-menu:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:12px}.ck-agent-menu button[aria-disabled=true]{opacity:.5;cursor:default}.ck-agent-note{font-size:var(--ck-fs-sm);margin:4px 8px}.ck-unread{background:var(--ck-accent-text);border-radius:50%;flex:none;width:8px;height:8px;margin-block-start:6px;margin-block-end:6px}.ck-sr{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ck-grabber{display:none}@media (max-width:520px){.ck-grabber{touch-action:none;flex:none;place-items:center;height:16px;display:grid}.ck-grabber:before{content:\"\";background:var(--ck-border);border-radius:2px;width:36px;height:4px}.ck-panel .ck-card-head{touch-action:none}.ck-panel-list>:not(:-webkit-any(.ck-card-body,.ck-card-head)){touch-action:pan-x}.ck-panel-list>:not(:is(.ck-card-body,.ck-card-head)){touch-action:pan-x}}@media (max-width:400px){.ck-agent-chip>span{display:none}}@media (max-height:480px){.ck-panel-list{overflow-y:auto}.ck-panel-list>.ck-card-body{flex:none;overflow:visible}.ck-root:has(.ck-panel) .ck-launcher[data-covered=true]{display:none}}.ck-signoff{border-radius:var(--ck-radius-md);background:var(--ck-bg-muted);font-size:var(--ck-fs-md);flex-wrap:wrap;align-items:center;gap:8px 12px;margin:8px 16px 4px;padding:8px 12px;line-height:1.45;display:flex}.ck-signoff[data-state=mine],.ck-signoff[data-state=others]{background:color-mix(in srgb, var(--ck-success) 10%, var(--ck-bg))}.ck-signoff[data-state=outdated]{background:color-mix(in srgb, var(--ck-warning) 12%, var(--ck-bg))}.ck-signoff-text{overflow-wrap:anywhere;text-wrap:pretty;flex:180px;min-width:0}.ck-signoff-text strong{color:var(--ck-text);font-weight:600}.ck-signoff-sub{color:var(--ck-text-muted);font-size:var(--ck-fs-sm);margin-top:2px;display:block}.ck-signoff-note:before{content:\"“\"}.ck-signoff-note:after{content:\"”\"}.ck-signoff>.ck-btn,.ck-signoff>.ck-chip{flex:none}.ck-signoff-form{flex-wrap:wrap;flex:100%;gap:8px;display:flex}.ck-signoff-form .ck-input{flex:160px;min-width:0}@media (hover:hover){.ck-tab:hover{color:var(--ck-text)}.ck-list>li:hover .ck-item-actions{opacity:1;pointer-events:auto}.ck-item:hover{background:var(--ck-bg-muted)}.ck-item[data-unread=true]:hover{background:color-mix(in srgb, var(--ck-accent) 18%, var(--ck-bg))}.ck-choose-menu button:hover,.ck-people-menu .ck-check:hover{background:var(--ck-bg-hover)}.ck-choose-menu button[aria-selected=true]:hover{background:color-mix(in srgb, var(--ck-accent) 18%, var(--ck-bg))}.ck-agent-menu button[aria-disabled=true]:hover{background:0 0}}@media (pointer:coarse){.ck-tab{min-height:44px}.ck-item{min-height:48px}.ck-choose-btn,.ck-choose-menu button,.ck-people-menu .ck-check{min-height:44px}.ck-choose[data-compact] .ck-choose-btn{height:36px;min-height:36px}.ck-item-actions{display:none}.ck-list>li[data-picking] .ck-item{padding-inline-start:44px}}@media (forced-colors:active){.ck-tab[aria-selected=true],.ck-choose-menu button[aria-selected=true],.ck-chip[aria-pressed=true]{color:highlighttext;background:highlight}.ck-unread{background:canvastext}}@media (prefers-reduced-motion:reduce){.ck-panel-list[data-back],.ck-choose-menu,.ck-people-menu{animation:none}.ck-choose-btn svg{transition:none}.ck-grabber{display:none}}");
618
+ var ve = {
620
619
  urgent: 4,
621
620
  high: 3,
622
621
  medium: 2,
623
622
  low: 1,
624
623
  none: 0
625
624
  };
626
- function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onError: p, detail: m, notify: h = () => void 0, version: v, reveal: b }) {
627
- let S = P(e.state, (e) => e.session), C = P(e.state, (e) => e.threads), te = P(e.state, (e) => e.moreThreads), E = P(e.state, (e) => e.unread), O = P(e.state, (e) => e.allBranches), A = P(e.state, (e) => e.here), re = P(e.state, (e) => e.config?.read_only ?? !1), M = e.options.branch, ie = ne(), [N, F] = a(E > 0 && !b ? "inbox" : "page"), [oe, I] = a({ state: "loading" }), [L, ce] = a(null), [z, B] = a(!1), V = f(0), [de, fe] = a({ state: "loading" }), [pe, me] = a(null), H = f(0), [U, ge] = a(""), [W, be] = a("active"), [Ce, we] = a(0), [G, De] = a([]), [Oe, ke] = a(""), [K, Ae] = a(!1), [q, je] = a(null), [Me, Ne] = a([]), J = P(e.state, (e) => e.team), Pe = !!S?.capabilities.export_for_agents, [Y, Fe] = a(null), Ie = (e) => Fe((t) => {
625
+ function ye({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onError: p, detail: m, notify: h = () => void 0, version: v, reveal: b }) {
626
+ let S = k(e.state, (e) => e.session), w = k(e.state, (e) => e.threads), te = k(e.state, (e) => e.moreThreads), E = k(e.state, (e) => e.unread), D = k(e.state, (e) => e.allBranches), A = k(e.state, (e) => e.here), re = k(e.state, (e) => e.config?.read_only ?? !1), j = e.options.branch, ie = ne(), [P, F] = a(E > 0 && !b ? "inbox" : "page"), [ae, L] = a({ state: "loading" }), [R, z] = a(null), [V, H] = a(!1), U = f(0), [le, ue] = a({ state: "loading" }), [de, fe] = a(null), W = f(0), [G, pe] = a(""), [K, ge] = a("active"), [ye, Se] = a(0), [q, Te] = a([]), [Ee, De] = a(""), [J, Oe] = a(!1), [Y, ke] = a(null), [Ae, je] = a([]), Me = k(e.state, (e) => e.team), Ne = !!S?.capabilities.export_for_agents, [X, Pe] = a(null), Fe = (e) => Pe((t) => {
628
627
  let n = new Set(t);
629
628
  return n.delete(e) || n.add(e), n;
630
- }), Le = () => Fe(null);
631
- l(Le, [N]), l(() => void (b && F("page")), [b]);
632
- let [X, Re] = a(null), [Z, ze] = a(!1), [Q, Be] = a("recent"), Ve = P(e.state, (e) => e.live), [He, Ue] = a(!1);
629
+ }), Ie = () => Pe(null);
630
+ l(Ie, [P]), l(() => void (b && F("page")), [b]);
631
+ let [Z, Le] = a(null), [Re, ze] = a(!1), [Q, Be] = a("recent"), Ve = k(e.state, (e) => e.live), [He, Ue] = a(!1);
633
632
  l(() => {
634
633
  if (Ve !== "lost") return Ue(!1);
635
634
  let e = setTimeout(() => Ue(!0), 4e3);
@@ -650,99 +649,99 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
650
649
  u(() => {
651
650
  matchMedia("(pointer: fine)").matches && We.current ? We.current.focus({ preventScroll: !0 }) : qe.current?.querySelector("[aria-selected=true]")?.focus({ preventScroll: !0 });
652
651
  }, []);
653
- let $e = !!(U || G.length || X || Oe || K || W !== "active" || q), et = $e, tt = () => {
654
- ge(""), be("active"), De([]), Re(null), Be("recent"), ke(""), Ae(!1), je(null);
652
+ let $e = !!(G || q.length || Z || Ee || J || K !== "active" || Y), et = $e, tt = () => {
653
+ pe(""), ge("active"), Te([]), Le(null), Be("recent"), De(""), Oe(!1), ke(null);
655
654
  }, nt = [
656
- G.length > 0,
657
- X !== null,
658
- W !== "active",
655
+ q.length > 0,
656
+ Z !== null,
657
+ K !== "active",
659
658
  Q !== "recent",
660
- !!Oe,
661
- K,
662
- !!q
663
- ].filter(Boolean).length, rt = G.includes("none") ? "none" : G.join(","), it = !!S?.capabilities.triage, at = () => ({
664
- q: U || void 0,
665
- status: W,
666
- branch: q ?? e.branchFilter(),
667
- page_url: N === "page" ? t() : void 0,
659
+ !!Ee,
660
+ J,
661
+ !!Y
662
+ ].filter(Boolean).length, rt = q.includes("none") ? "none" : q.join(","), it = !!S?.capabilities.triage, at = () => ({
663
+ q: G || void 0,
664
+ status: K,
665
+ branch: Y ?? e.branchFilter(),
666
+ page_url: P === "page" ? t() : void 0,
668
667
  assignee: rt || void 0,
669
- label: X ?? void 0,
670
- priority: Oe || void 0,
671
- author: K ? "me" : void 0,
668
+ label: Z ?? void 0,
669
+ priority: Ee || void 0,
670
+ author: J ? "me" : void 0,
672
671
  sort: Q
673
- }), ot = (e) => e.filter((e) => Ee(e, G, X, S));
672
+ }), ot = (e) => e.filter((e) => we(e, q, Z, S));
674
673
  l(() => {
675
- if (N === "inbox" || N === "page" && !$e) return;
676
- let t = ++V.current;
677
- I({ state: "loading" }), ce(null);
674
+ if (P === "inbox" || P === "page" && !$e) return;
675
+ let t = ++U.current;
676
+ L({ state: "loading" }), z(null);
678
677
  let n = setTimeout(() => {
679
678
  e.listThreads(at()).then((e) => {
680
- t === V.current && (I({
679
+ t === U.current && (L({
681
680
  state: "ready",
682
681
  data: ot(e.data)
683
- }), ce(e.next_cursor ?? null));
684
- }, () => t === V.current && I({ state: "error" }));
685
- }, U ? 250 : 0);
682
+ }), z(e.next_cursor ?? null));
683
+ }, () => t === U.current && L({ state: "error" }));
684
+ }, G ? 250 : 0);
686
685
  return () => clearTimeout(n);
687
686
  }, [
688
- N,
689
- U,
690
- W,
691
- Ce,
692
- O,
687
+ P,
688
+ G,
689
+ K,
690
+ ye,
691
+ D,
693
692
  rt,
694
- X,
693
+ Z,
695
694
  $e,
696
695
  Q,
697
- Oe,
698
- K,
699
- q
696
+ Ee,
697
+ J,
698
+ Y
700
699
  ]);
701
700
  let st = () => {
702
- if (!L || z) return;
703
- let t = V.current;
704
- B(!0), e.listThreads({
701
+ if (!R || V) return;
702
+ let t = U.current;
703
+ H(!0), e.listThreads({
705
704
  ...at(),
706
- cursor: L
705
+ cursor: R
707
706
  }).then((e) => {
708
- t === V.current && (I((t) => t.state === "ready" ? {
707
+ t === U.current && (L((t) => t.state === "ready" ? {
709
708
  state: "ready",
710
709
  data: [...t.data, ...ot(e.data).filter((e) => !t.data.some((t) => t.id === e.id))]
711
- } : t), ce(e.next_cursor ?? null));
712
- }, p).finally(() => B(!1));
710
+ } : t), z(e.next_cursor ?? null));
711
+ }, p).finally(() => H(!1));
713
712
  };
714
713
  l(() => {
715
- M && it && e.branches().then(Ne);
714
+ j && it && e.branches().then(je);
716
715
  }, []), l(() => {
717
- !Z || Ge.people.length || Ge.labels.length || Promise.all([e.people().catch(() => []), e.labels().catch(() => [])]).then(([e, t]) => Ke({
716
+ !Re || Ge.people.length || Ge.labels.length || Promise.all([e.people().catch(() => []), e.labels().catch(() => [])]).then(([e, t]) => Ke({
718
717
  people: e.filter((e) => e.assignable && e.id !== null),
719
718
  labels: t
720
719
  }));
721
- }, [Z]), l(() => {
722
- if (N !== "inbox") return;
723
- let t = ++H.current;
724
- e.inboxPage().then((e) => t === H.current && (fe({
720
+ }, [Re]), l(() => {
721
+ if (P !== "inbox") return;
722
+ let t = ++W.current;
723
+ e.inboxPage().then((e) => t === W.current && (ue({
725
724
  state: "ready",
726
725
  data: e.data
727
- }), me(e.next_cursor)), () => t === H.current && fe({ state: "error" }));
726
+ }), fe(e.next_cursor)), () => t === W.current && ue({ state: "error" }));
728
727
  }, [
729
- N,
728
+ P,
730
729
  E,
731
- Ce
730
+ ye
732
731
  ]);
733
732
  let ct = () => {
734
- if (!pe || z) return;
735
- let t = H.current;
736
- B(!0), e.inboxPage(pe).then((e) => {
737
- t === H.current && (fe((t) => t.state === "ready" ? {
733
+ if (!de || V) return;
734
+ let t = W.current;
735
+ H(!0), e.inboxPage(de).then((e) => {
736
+ t === W.current && (ue((t) => t.state === "ready" ? {
738
737
  state: "ready",
739
738
  data: [...t.data, ...e.data.filter((e) => !t.data.some((t) => t.id === e.id))]
740
- } : t), me(e.next_cursor));
741
- }, p).finally(() => B(!1));
742
- }, lt = () => we((e) => e + 1), ut = Te(Je, i);
739
+ } : t), fe(e.next_cursor));
740
+ }, p).finally(() => H(!1));
741
+ }, lt = () => Se((e) => e + 1), ut = Ce(Je, i);
743
742
  l(() => {
744
743
  let e = (e) => !e.composedPath().some((e) => e instanceof HTMLElement && e.hasAttribute("data-commentkit-ui")), t = (t) => e(t) && i(), n = (t) => {
745
- t.pointerType === "mouse" && e(t) && t.button === 0 && !_(xe) && (_(xe, "1"), h({
744
+ t.pointerType === "mouse" && e(t) && t.button === 0 && !y(be) && (y(be, "1"), h({
746
745
  text: c("doubleClickHint"),
747
746
  tone: "info"
748
747
  }));
@@ -751,7 +750,7 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
751
750
  removeEventListener("dblclick", t, !0), removeEventListener("pointerdown", n, !0);
752
751
  };
753
752
  }, []);
754
- let dt = (e) => e && I((t) => t.state === "ready" ? {
753
+ let dt = (e) => e && L((t) => t.state === "ready" ? {
755
754
  ...t,
756
755
  data: t.data.map((t) => t.id === e.id ? e : t)
757
756
  } : t), ft = async (t) => {
@@ -768,23 +767,23 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
768
767
  p(e);
769
768
  }
770
769
  }, pt = async (e) => {
771
- let t = T(e.page.url);
770
+ let t = O(e.page.url);
772
771
  if (t) try {
773
- await navigator.clipboard.writeText(j(t, e.id)), h({ text: c("copied") });
772
+ await navigator.clipboard.writeText(M(t, e.id)), h({ text: c("copied") });
774
773
  } catch {
775
774
  p(Error(c("errorGeneric")));
776
775
  }
777
- }, mt = Q === "recent" ? C : [...C].sort((e, t) => Q === "oldest" ? e.created_at.localeCompare(t.created_at) : (ye[t.priority] ?? 0) - (ye[e.priority] ?? 0) || t.last_activity_at.localeCompare(e.last_activity_at)), $ = N === "page" && !$e ? {
776
+ }, mt = Q === "recent" ? w : [...w].sort((e, t) => Q === "oldest" ? e.created_at.localeCompare(t.created_at) : (ve[t.priority] ?? 0) - (ve[e.priority] ?? 0) || t.last_activity_at.localeCompare(e.last_activity_at)), $ = P === "page" && !$e ? {
778
777
  state: "ready",
779
778
  data: mt
780
- } : oe, ht = $.state === "ready" ? $.data.length : null, gt = $ === oe ? L : null, _t = ht === null || N === "inbox" ? null : gt ? c("resultsMore", { n: ht }) : N === "page" && $e ? c("countOf", {
779
+ } : ae, ht = $.state === "ready" ? $.data.length : null, gt = $ === ae ? R : null, _t = ht === null || P === "inbox" ? null : gt ? c("resultsMore", { n: ht }) : P === "page" && $e ? c("countOf", {
781
780
  n: ht,
782
- total: C.length
783
- }) : et || N === "all" ? o("results", ht) : null, vt = [
781
+ total: w.length
782
+ }) : et || P === "all" ? o("results", ht) : null, vt = [
784
783
  [
785
784
  "page",
786
785
  "thisPage",
787
- C.length
786
+ w.length
788
787
  ],
789
788
  [
790
789
  "all",
@@ -796,11 +795,11 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
796
795
  "notifications",
797
796
  E || null
798
797
  ]
799
- ], yt = Y && $.state === "ready" ? $.data.filter((e) => Y.has(e.id)) : [], bt = (e) => {
800
- e.stopPropagation(), e.key === "Escape" && U ? (e.preventDefault(), ge("")) : e.key === "Escape" && i(!0);
798
+ ], yt = X && $.state === "ready" ? $.data.filter((e) => X.has(e.id)) : [], bt = (e) => {
799
+ e.stopPropagation(), e.key === "Escape" && G ? (e.preventDefault(), pe("")) : e.key === "Escape" && i(!0);
801
800
  };
802
- return /* @__PURE__ */ g(x, {
803
- value: y(e, h, p, S),
801
+ return /* @__PURE__ */ g(C, {
802
+ value: x(e, h, p, S),
804
803
  children: /* @__PURE__ */ g("aside", {
805
804
  class: "ck-panel",
806
805
  ref: Je,
@@ -811,7 +810,7 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
811
810
  ...ut,
812
811
  onKeyDown: (e) => {
813
812
  if (!(e.key !== "Escape" || m)) {
814
- if (Y) return void (e.stopPropagation(), Le());
813
+ if (X) return void (e.stopPropagation(), Ie());
815
814
  i(!0);
816
815
  }
817
816
  },
@@ -832,18 +831,18 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
832
831
  class: "ck-card-title",
833
832
  children: c("inbox")
834
833
  }),
835
- J.length > 1 ? /* @__PURE__ */ g("span", {
834
+ Me.length > 1 ? /* @__PURE__ */ g("span", {
836
835
  class: "ck-here",
837
836
  role: "status",
838
- "aria-label": c("teamHere", { names: J.map((e) => e.name).join(", ") }),
839
- title: J.map((e) => e.name).join(", "),
837
+ "aria-label": c("teamHere", { names: Me.map((e) => e.name).join(", ") }),
838
+ title: Me.map((e) => e.name).join(", "),
840
839
  children: [/* @__PURE__ */ g("span", {
841
840
  class: "ck-faces",
842
841
  "aria-hidden": "true",
843
- children: J.slice(0, 4).map((e) => /* @__PURE__ */ g(D, { person: e }))
844
- }), J.length > 4 ? /* @__PURE__ */ g("span", {
842
+ children: Me.slice(0, 4).map((e) => /* @__PURE__ */ g(T, { person: e }))
843
+ }), Me.length > 4 ? /* @__PURE__ */ g("span", {
845
844
  class: "ck-faces-more",
846
- children: ["+", J.length - 4]
845
+ children: ["+", Me.length - 4]
847
846
  }) : null]
848
847
  }) : A > 1 ? /* @__PURE__ */ g("span", {
849
848
  class: "ck-here",
@@ -853,22 +852,22 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
853
852
  class: "ck-dot"
854
853
  }), o("peopleHere", A)]
855
854
  }) : null,
856
- Pe && N !== "inbox" && ht && !Y ? /* @__PURE__ */ g("button", {
855
+ Ne && P !== "inbox" && ht && !X ? /* @__PURE__ */ g("button", {
857
856
  class: "ck-chip ck-agent-chip",
858
857
  "aria-label": c("sendToAgent"),
859
858
  title: c("sendToAgent"),
860
- onClick: () => $.state === "ready" && Fe(new Set($.data.map((e) => e.id))),
861
- children: [/* @__PURE__ */ g(w, {
862
- name: "agent",
859
+ onClick: () => $.state === "ready" && Pe(new Set($.data.map((e) => e.id))),
860
+ children: [/* @__PURE__ */ g(_, {
861
+ name: "sparkles",
863
862
  size: 14
864
863
  }), /* @__PURE__ */ g("span", { children: c("sendToAgent") })]
865
864
  }) : null,
866
865
  /* @__PURE__ */ g("button", {
867
866
  class: "ck-ghost",
868
867
  onClick: () => i(),
869
- "aria-label": c("close"),
870
- title: c("close"),
871
- children: /* @__PURE__ */ g(w, { name: "close" })
868
+ "aria-label": c("closeInbox"),
869
+ title: c("closeInbox"),
870
+ children: /* @__PURE__ */ g(_, { name: "clear" })
872
871
  })
873
872
  ]
874
873
  }),
@@ -876,14 +875,14 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
876
875
  class: "ck-tabs",
877
876
  role: "tablist",
878
877
  ref: qe,
879
- onKeyDown: (e) => k(e, "[role=tab]"),
878
+ onKeyDown: (e) => N(e, "[role=tab]"),
880
879
  children: vt.map(([e, t, n]) => /* @__PURE__ */ g("button", {
881
880
  role: "tab",
882
881
  id: `ck-tab-${e}`,
883
882
  "aria-controls": "ck-tabpanel",
884
883
  class: "ck-tab",
885
- "aria-selected": N === e,
886
- tabIndex: N === e ? 0 : -1,
884
+ "aria-selected": P === e,
885
+ tabIndex: P === e ? 0 : -1,
887
886
  onClick: () => F(e),
888
887
  onFocus: () => F(e),
889
888
  title: c(t),
@@ -897,7 +896,7 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
897
896
  class: "ck-sr",
898
897
  children: " ("
899
898
  }),
900
- Se(n),
899
+ xe(n),
901
900
  /* @__PURE__ */ g("span", {
902
901
  class: "ck-sr",
903
902
  children: ")"
@@ -929,40 +928,40 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
929
928
  role: "status",
930
929
  children: c("readOnlyShort")
931
930
  }) : null,
932
- M && it && N !== "inbox" ? /* @__PURE__ */ g("div", {
931
+ j && it && P !== "inbox" ? /* @__PURE__ */ g("div", {
933
932
  class: "ck-branchbar",
934
933
  role: "group",
935
934
  "aria-label": c("branchFilter"),
936
935
  children: [
937
936
  /* @__PURE__ */ g("button", {
938
937
  class: "ck-chip",
939
- "aria-pressed": !O && !q,
940
- onClick: () => (je(null), void e.setAllBranches(!1).catch(() => void 0)),
941
- title: M,
942
- children: c("thisBranch", { branch: ve(M) })
938
+ "aria-pressed": !D && !Y,
939
+ onClick: () => (ke(null), void e.setAllBranches(!1).catch(() => void 0)),
940
+ title: j,
941
+ children: c("thisBranch", { branch: _e(j) })
943
942
  }),
944
943
  /* @__PURE__ */ g("button", {
945
944
  class: "ck-chip",
946
- "aria-pressed": O && !q,
947
- onClick: () => (je(null), void e.setAllBranches(!0).catch(() => void 0)),
945
+ "aria-pressed": D && !Y,
946
+ onClick: () => (ke(null), void e.setAllBranches(!0).catch(() => void 0)),
948
947
  children: c("allBranches")
949
948
  }),
950
- Me.some((e) => e.name !== M) ? /* @__PURE__ */ g(R, {
949
+ Ae.some((e) => e.name !== j) ? /* @__PURE__ */ g(B, {
951
950
  label: c("otherBranch"),
952
- value: q ?? "",
953
- onChange: (e) => je(e || null),
951
+ value: Y ?? "",
952
+ onChange: (e) => ke(e || null),
954
953
  compact: !0,
955
- options: [["", c("otherBranch")], ...Me.filter((e) => e.name !== M).map((e) => [e.name, `${ve(e.name)} (${e.open})`])]
954
+ options: [["", c("otherBranch")], ...Ae.filter((e) => e.name !== j).map((e) => [e.name, `${_e(e.name)} (${e.open})`])]
956
955
  }) : null
957
956
  ]
958
957
  }) : null,
959
- N === "inbox" ? null : /* @__PURE__ */ g(s, { children: [
958
+ P === "inbox" ? null : /* @__PURE__ */ g(s, { children: [
960
959
  /* @__PURE__ */ g("div", {
961
960
  class: "ck-filters",
962
961
  children: [/* @__PURE__ */ g("div", {
963
962
  class: "ck-search",
964
963
  children: [
965
- /* @__PURE__ */ g(w, {
964
+ /* @__PURE__ */ g(_, {
966
965
  name: "search",
967
966
  size: 16
968
967
  }),
@@ -973,25 +972,25 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
973
972
  role: "searchbox",
974
973
  "aria-label": c("search"),
975
974
  placeholder: c("search"),
976
- value: U,
977
- onInput: (e) => ge(e.target.value),
975
+ value: G,
976
+ onInput: (e) => pe(e.target.value),
978
977
  onKeyDown: bt
979
978
  }),
980
- U ? /* @__PURE__ */ g("button", {
979
+ G ? /* @__PURE__ */ g("button", {
981
980
  class: "ck-ghost ck-ghost-sm",
982
981
  "aria-label": c("clearSearch"),
983
982
  title: c("clearSearch"),
984
- onClick: () => (ge(""), We.current?.focus()),
985
- children: /* @__PURE__ */ g(w, {
986
- name: "close",
983
+ onClick: () => (pe(""), We.current?.focus()),
984
+ children: /* @__PURE__ */ g(_, {
985
+ name: "clear",
987
986
  size: 14
988
987
  })
989
988
  }) : null
990
989
  ]
991
- }), /* @__PURE__ */ g(R, {
990
+ }), /* @__PURE__ */ g(B, {
992
991
  label: c("statusFilter"),
993
- value: W,
994
- onChange: be,
992
+ value: K,
993
+ onChange: ge,
995
994
  options: [
996
995
  ["active", c("status_open")],
997
996
  ["in_review", c("status_in_review")],
@@ -1005,21 +1004,21 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
1005
1004
  children: [
1006
1005
  it ? /* @__PURE__ */ g("button", {
1007
1006
  class: "ck-chip",
1008
- "aria-pressed": G.length === 1 && G[0] === "me",
1009
- onClick: () => De(G.length === 1 && G[0] === "me" ? [] : ["me"]),
1007
+ "aria-pressed": q.length === 1 && q[0] === "me",
1008
+ onClick: () => Te(q.length === 1 && q[0] === "me" ? [] : ["me"]),
1010
1009
  children: c("assignedToMe")
1011
1010
  }) : null,
1012
1011
  S ? /* @__PURE__ */ g("button", {
1013
1012
  class: "ck-chip",
1014
- "aria-pressed": K,
1015
- onClick: () => Ae(!K),
1013
+ "aria-pressed": J,
1014
+ onClick: () => Oe(!J),
1016
1015
  children: c("createdByMe")
1017
1016
  }) : null,
1018
1017
  it ? /* @__PURE__ */ g("button", {
1019
1018
  class: "ck-chip",
1020
- "aria-expanded": Z,
1021
- "aria-controls": Z ? "ck-more-filters" : void 0,
1022
- onClick: () => ze(!Z),
1019
+ "aria-expanded": Re,
1020
+ "aria-controls": Re ? "ck-more-filters" : void 0,
1021
+ onClick: () => ze(!Re),
1023
1022
  children: [c("filters"), nt ? /* @__PURE__ */ g(s, { children: [/* @__PURE__ */ g("span", {
1024
1023
  class: "ck-count",
1025
1024
  "aria-hidden": "true",
@@ -1041,11 +1040,11 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
1041
1040
  })
1042
1041
  ]
1043
1042
  }),
1044
- Z && it ? /* @__PURE__ */ g("div", {
1043
+ Re && it ? /* @__PURE__ */ g("div", {
1045
1044
  class: "ck-filters",
1046
1045
  id: "ck-more-filters",
1047
1046
  children: [
1048
- /* @__PURE__ */ g(R, {
1047
+ /* @__PURE__ */ g(B, {
1049
1048
  label: c("sortBy"),
1050
1049
  value: Q,
1051
1050
  onChange: (e) => Be(e),
@@ -1055,10 +1054,10 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
1055
1054
  ["priority", c("sortPriority")]
1056
1055
  ]
1057
1056
  }),
1058
- /* @__PURE__ */ g(R, {
1057
+ /* @__PURE__ */ g(B, {
1059
1058
  label: c("priority"),
1060
- value: Oe,
1061
- onChange: ke,
1059
+ value: Ee,
1060
+ onChange: De,
1062
1061
  options: [
1063
1062
  ["", c("anyPriority")],
1064
1063
  ["urgent,high", c("priorityImportant")],
@@ -1070,15 +1069,15 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
1070
1069
  ].map((e) => [e, c(`priority_${e}`)])
1071
1070
  ]
1072
1071
  }),
1073
- /* @__PURE__ */ g(se, {
1074
- value: G,
1072
+ /* @__PURE__ */ g(oe, {
1073
+ value: q,
1075
1074
  people: Ge.people,
1076
- onChange: De
1075
+ onChange: Te
1077
1076
  }),
1078
- /* @__PURE__ */ g(R, {
1077
+ /* @__PURE__ */ g(B, {
1079
1078
  label: c("labelFilter"),
1080
- value: X === null ? "" : String(X),
1081
- onChange: (e) => Re(e ? Number(e) : null),
1079
+ value: Z === null ? "" : String(Z),
1080
+ onChange: (e) => Le(e ? Number(e) : null),
1082
1081
  options: [["", c("anyLabel")], ...Ge.labels.map((e) => [String(e.id), e.name])]
1083
1082
  })
1084
1083
  ]
@@ -1088,26 +1087,26 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
1088
1087
  class: "ck-card-body",
1089
1088
  id: "ck-tabpanel",
1090
1089
  role: "tabpanel",
1091
- "aria-labelledby": `ck-tab-${N}`,
1092
- "aria-busy": (N === "inbox" ? de : $).state === "loading",
1093
- children: [N === "page" ? /* @__PURE__ */ g(he, {
1090
+ "aria-labelledby": `ck-tab-${P}`,
1091
+ "aria-busy": (P === "inbox" ? le : $).state === "loading",
1092
+ children: [P === "page" ? /* @__PURE__ */ g(me, {
1094
1093
  version: v,
1095
1094
  reveal: b
1096
- }) : null, N === "inbox" ? /* @__PURE__ */ g(le, {
1097
- load: de,
1095
+ }) : null, P === "inbox" ? /* @__PURE__ */ g(se, {
1096
+ load: le,
1098
1097
  onRetry: lt,
1099
1098
  art: "caughtUp",
1100
1099
  empty: /* @__PURE__ */ g("strong", { children: c("allCaughtUp") }),
1101
- children: (t) => /* @__PURE__ */ g(ae, {
1100
+ children: (t) => /* @__PURE__ */ g(I, {
1102
1101
  items: t,
1103
1102
  onOpen: Qe,
1104
- more: !!pe,
1105
- loadingMore: z,
1103
+ more: !!de,
1104
+ loadingMore: V,
1106
1105
  onMore: ct,
1107
1106
  unread: E,
1108
1107
  onMarkAll: () => void e.markRead({ all: !0 }).catch(p)
1109
1108
  })
1110
- }) : /* @__PURE__ */ g(le, {
1109
+ }) : /* @__PURE__ */ g(se, {
1111
1110
  load: $,
1112
1111
  onRetry: lt,
1113
1112
  art: et ? "noMatch" : "noFeedback",
@@ -1115,29 +1114,29 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
1115
1114
  class: "ck-btn",
1116
1115
  onClick: tt,
1117
1116
  children: c("clearFilters")
1118
- })] }) : /* @__PURE__ */ g(s, { children: [/* @__PURE__ */ g("strong", { children: c(N === "all" ? "nothingAnywhere" : "nothingHere") }), /* @__PURE__ */ g("span", {
1117
+ })] }) : /* @__PURE__ */ g(s, { children: [/* @__PURE__ */ g("strong", { children: c(P === "all" ? "nothingAnywhere" : "nothingHere") }), /* @__PURE__ */ g("span", {
1119
1118
  class: "ck-hint",
1120
1119
  children: c(matchMedia("(pointer: coarse)").matches ? "nothingHereHintTouch" : "nothingHereHint")
1121
1120
  })] }),
1122
1121
  children: (e) => /* @__PURE__ */ g(s, { children: [
1123
1122
  /* @__PURE__ */ g("ul", {
1124
1123
  class: "ck-list",
1125
- onKeyDown: (e) => k(e, ".ck-item", !0),
1126
- children: e.map((t) => /* @__PURE__ */ g(_e, {
1124
+ onKeyDown: (e) => N(e, ".ck-item", !0),
1125
+ children: e.map((t) => /* @__PURE__ */ g(he, {
1127
1126
  thread: t,
1128
- tab: N === "all" ? "all" : "page",
1127
+ tab: P === "all" ? "all" : "page",
1129
1128
  triager: it,
1130
- picked: Y ? Y.has(t.id) : void 0,
1131
- branch: M,
1132
- allBranches: O,
1129
+ picked: X ? X.has(t.id) : void 0,
1130
+ branch: j,
1131
+ allBranches: D,
1133
1132
  canResolve: !!S?.capabilities.comment && !re,
1134
1133
  onOpen: () => Qe(t, e.map((e) => e.id)),
1135
- onToggle: () => Ie(t.id),
1134
+ onToggle: () => Fe(t.id),
1136
1135
  onResolve: () => void ft(t),
1137
1136
  onCopyLink: () => void pt(t)
1138
1137
  }))
1139
1138
  }),
1140
- N === "page" && te ? /* @__PURE__ */ g("p", {
1139
+ P === "page" && te ? /* @__PURE__ */ g("p", {
1141
1140
  class: "ck-pad ck-hint",
1142
1141
  role: "note",
1143
1142
  children: c("firstPageThreads", { n: 500 })
@@ -1146,36 +1145,36 @@ function be({ client: e, side: n, dock: r = "bottom", onClose: i, onOpen: d, onE
1146
1145
  class: "ck-pad",
1147
1146
  children: /* @__PURE__ */ g("button", {
1148
1147
  class: "ck-btn",
1149
- "aria-disabled": z || void 0,
1150
- "aria-busy": z,
1151
- onClick: () => !z && st(),
1148
+ "aria-disabled": V || void 0,
1149
+ "aria-busy": V,
1150
+ onClick: () => !V && st(),
1152
1151
  children: c("showMore")
1153
1152
  })
1154
1153
  }) : null
1155
1154
  ] })
1156
1155
  })]
1157
1156
  }),
1158
- Y ? /* @__PURE__ */ g(ue, {
1157
+ X ? /* @__PURE__ */ g(ce, {
1159
1158
  threads: yt,
1160
- onCancel: Le,
1159
+ onCancel: Ie,
1161
1160
  onDone: (e) => (h({
1162
1161
  text: e,
1163
1162
  tone: "success"
1164
- }), Le())
1163
+ }), Ie())
1165
1164
  }) : null
1166
1165
  ]
1167
1166
  })]
1168
1167
  })
1169
1168
  });
1170
1169
  }
1171
- var xe = "commentkit:dblclick-hint", Se = (e) => e > 99 ? "99+" : String(e), Ce = .4, we = .11;
1172
- function Te(e, t) {
1170
+ var be = "commentkit:dblclick-hint", xe = (e) => e > 99 ? "99+" : String(e), Se = .4, q = .11;
1171
+ function Ce(e, t) {
1173
1172
  let n = f(null), r = (r, i) => {
1174
1173
  let a = n.current, o = e.current;
1175
1174
  if (!a || !o || r.pointerId !== a.id) return;
1176
1175
  n.current = null, o.hasPointerCapture?.(r.pointerId) && o.releasePointerCapture(r.pointerId);
1177
1176
  let [s, c] = a.samples.filter(([e]) => r.timeStamp - e <= 100)[0] ?? [r.timeStamp, a.dy], l = r.timeStamp > s ? (a.dy - c) / (r.timeStamp - s) : 0;
1178
- if (!i && a.dy > 0 && (a.dy > Ce * o.offsetHeight || l > we)) return t();
1177
+ if (!i && a.dy > 0 && (a.dy > Se * o.offsetHeight || l > q)) return t();
1179
1178
  o.style.transition = "transform var(--ck-dur) var(--ck-ease)", o.style.transform = "";
1180
1179
  };
1181
1180
  return {
@@ -1204,8 +1203,8 @@ function Te(e, t) {
1204
1203
  }
1205
1204
  };
1206
1205
  }
1207
- function Ee(e, t, n, r) {
1206
+ function we(e, t, n, r) {
1208
1207
  let i = e.assignees ?? (e.assignee ? [e.assignee] : []);
1209
1208
  return n !== null && e.labels && !e.labels.some((e) => e.id === n) ? !1 : t.length ? t.includes("none") ? !i.length : t.some((e) => e === "me" ? i.some((e) => !!r && e.id === r.person.id && e.type === r.person.type) : i.some((t) => t.id === e)) : !0;
1210
1209
  }
1211
- export { be as Panel };
1210
+ export { ye as Panel };