@commentkit/comment-kit 2.1.1 → 2.1.2

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 (49) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/npm/chunks/{AgentSend-B4rxdY68.js → AgentSend-DhG61w_r.js} +2 -2
  3. package/dist/npm/chunks/{Checklist-Cy68X5qC.js → Checklist-C2q5KzWe.js} +8 -7
  4. package/dist/npm/chunks/{Composer-D65l6Jg4.js → Composer-Dj0YAYOR.js} +27 -26
  5. package/dist/npm/chunks/{DatePicker-BPzzqW3f.js → DatePicker-TshUaQHj.js} +1 -1
  6. package/dist/npm/chunks/{Guest-C-ZhARI0.js → Guest-bAxvxjbL.js} +4 -3
  7. package/dist/npm/chunks/{MarkupEditor-BOb2jFTR.js → MarkupEditor-DnViTOOC.js} +2 -1
  8. package/dist/npm/chunks/{Panel-DgdCgaC-.js → Panel-C3_NURrp.js} +109 -108
  9. package/dist/npm/chunks/{Settings-BbWu2Rd5.js → Settings-BM7pWbwd.js} +18 -17
  10. package/dist/npm/chunks/{Shortcuts-C5wEx-Mq.js → Shortcuts-CFDTnP5H.js} +3 -3
  11. package/dist/npm/chunks/{SignInFirst-BlMbutED.js → SignInFirst-CeiPhLx0.js} +3 -3
  12. package/dist/npm/chunks/{StyleEditor-BN2z7mUs.js → StyleEditor-BUZrhAY6.js} +2 -2
  13. package/dist/npm/chunks/{StylePanel-BZk-r-kl.js → StylePanel-CFp-U7qa.js} +2 -2
  14. package/dist/npm/chunks/TaskFields-C4GddJTi.js +652 -0
  15. package/dist/npm/chunks/{ThreadCard-xKy4JbXK.js → ThreadCard-CwClbMNh.js} +60 -59
  16. package/dist/npm/chunks/{Viewer-DL6M3wAT.js → Viewer-oM3stPeq.js} +1 -1
  17. package/dist/npm/chunks/{agent-D1VQvc14.js → agent-DfUu5BAp.js} +1 -1
  18. package/dist/npm/chunks/{card-bits-B94SwnS9.js → card-bits-BXOCnmcQ.js} +2 -2
  19. package/dist/npm/chunks/{client-CULjcQxz.js → client-BqcfSisZ.js} +7 -7
  20. package/dist/npm/chunks/{confetti-K_xKxQGa.js → confetti-CM1XHlrM.js} +1 -1
  21. package/dist/npm/chunks/{dpop-DpxIN5kL.js → dpop-CHzhM9ud.js} +1 -1
  22. package/dist/npm/chunks/{entrance-CO0AzUKy.js → entrance-D7kmBxF3.js} +29 -29
  23. package/dist/npm/chunks/{extension-DpfiPOjC.js → extension-PWW2UQD7.js} +1 -1
  24. package/dist/npm/chunks/{extension-faFfCApb.js → extension-TF7pIF_W.js} +2 -2
  25. package/dist/npm/chunks/{identify-963WDKul.js → identify-CoQ4rxaI.js} +1 -1
  26. package/dist/npm/chunks/{live-BI72WQBA.js → live-HKWO5Tsg.js} +5 -5
  27. package/dist/npm/chunks/{page-key-CW8Mtf60.js → page-key-z6o1r8Uu.js} +1 -1
  28. package/dist/npm/chunks/{pick-BRhngGMq.js → pick-Bai3lMZX.js} +1 -1
  29. package/dist/npm/chunks/{pkce-BEeLAZhN.js → pkce-B6VU0dtv.js} +1 -1
  30. package/dist/npm/chunks/{report-DAzQvgUh.js → report-D-yxx5uK.js} +1 -1
  31. package/dist/npm/chunks/sheet-77GHVTpR.js +18 -0
  32. package/dist/npm/chunks/{show-Ka3g4eCJ.js → show-C3bJFyaD.js} +11 -9
  33. package/dist/npm/chunks/{signin-Car5vP1U.js → signin-Bq2KYFLY.js} +3 -3
  34. package/dist/npm/chunks/{source-dd_it90W.js → source-W_nJm3Ym.js} +1 -1
  35. package/dist/npm/chunks/{src-fTYV50pw.js → src-BFu9DgRc.js} +57 -52
  36. package/dist/npm/chunks/{start-CE5eR33Z.js → start-Dgw3mSp8.js} +428 -429
  37. package/dist/npm/chunks/{upload-Dcv9CCly.js → upload-b0nY04eW.js} +1 -1
  38. package/dist/npm/chunks/{uploads-CmeoNVO2.js → uploads-Df4mLJ9O.js} +21 -20
  39. package/dist/npm/chunks/waiting-BRtT3ZZT.js +54 -0
  40. package/dist/npm/chunks/{wrap-B0mzrRhc.js → wrap-BuWw3zAq.js} +1 -1
  41. package/dist/npm/element.js +1 -1
  42. package/dist/npm/headless.js +2 -2
  43. package/dist/npm/index.js +2 -2
  44. package/dist/npm/react.js +1 -1
  45. package/dist/npm/svelte.js +1 -1
  46. package/dist/npm/types/core/client.d.ts +2 -0
  47. package/dist/npm/vue.js +1 -1
  48. package/package.json +1 -1
  49. package/dist/npm/chunks/TaskFields-B2-YvIwV.js +0 -617
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @commentkit/comment-kit
2
2
 
3
+ ## [2.1.2] - 2026-11-22
4
+
5
+ ### Changed
6
+
7
+ - When Cmd/Ctrl+Shift+K brings up a hidden widget and it takes a moment to arrive, a small "Loading…" appears where the toolbar will be. The toolbar also arrives sooner on slow connections, because the parts it needs now download at the same time. Pressing the shortcut again while it loads is the same request: it no longer opens the inbox or reaches your page.
8
+
9
+ ### Fixed
10
+
11
+ - The toolbar's ⋯ menu closes when you press Comment (or C, or anything that opens the inbox, Settings or a note by the toolbar), so it no longer sits on top of the "Sign in to comment" note. Opening the menu while that note shows closes the note.
12
+ - The lists for priority, assignee, labels, due date and status open whole. In the comment box they were cut off by the bottom of the card; they now open below when there is room, above when there is not, and scroll inside themselves on small screens.
13
+
3
14
  ## [2.1.1] - 2026-11-21
4
15
 
5
16
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  import { _ as e, a as t, c as n, d as r, f as i, m as a, u as o } from "./i18n-CDw_D17c.js";
2
- import { n as s, t as c } from "./agent-D1VQvc14.js";
3
- import { N as l, y as u } from "./start-CE5eR33Z.js";
2
+ import { n as s, t as c } from "./agent-DfUu5BAp.js";
3
+ import { M as l, v as u } from "./start-Dgw3mSp8.js";
4
4
  // src/ui/AgentSend.tsx
5
5
  var d = {
6
6
  cursor: "Cursor",
@@ -1,9 +1,10 @@
1
1
  import { _ as e, a as t, b as n, c as r, d as i, f as a, m as o, u as s } from "./i18n-CDw_D17c.js";
2
2
  import { n as c, t as l } from "./icons-BJLm_C0M.js";
3
- import { r as u } from "./context-0MfEgoip.js";
4
- import { M as d, c as f } from "./start-CE5eR33Z.js";
3
+ import { t as u } from "./sheet-77GHVTpR.js";
4
+ import { r as d } from "./context-0MfEgoip.js";
5
+ import { j as f } from "./start-Dgw3mSp8.js";
5
6
  // src/ui/art.tsx
6
- f(".ck-art{margin:0 auto 12px;display:block;overflow:visible}.ck-art *{vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.ck-art-w,.ck-art-a,path.ck-art-m{stroke:var(--ck-text);stroke-width:2px}.ck-art-w{fill:var(--ck-bg)}.ck-art-a{fill:var(--ck-accent)}.ck-art-m{fill:var(--ck-bg-hover)}.ck-art-line{fill:none;stroke:var(--ck-text);stroke-width:2px}.ck-art-bold{stroke-width:4.5px}.ck-art-tick{fill:none;stroke:var(--ck-accent-ink);stroke-width:2.6px}.ck-art-dot{fill:var(--ck-border)}.ck-art-ink{fill:var(--ck-text)}.ck-art-spark{fill:none;stroke:var(--ck-accent);stroke-width:2.4px}.ck-art-ghost{fill:none;stroke:var(--ck-text-muted);stroke-width:2px;stroke-dasharray:5 5}.ck-art-shadow{fill:var(--ck-bg-hover)}");
7
+ u(".ck-art{margin:0 auto 12px;display:block;overflow:visible}.ck-art *{vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.ck-art-w,.ck-art-a,path.ck-art-m{stroke:var(--ck-text);stroke-width:2px}.ck-art-w{fill:var(--ck-bg)}.ck-art-a{fill:var(--ck-accent)}.ck-art-m{fill:var(--ck-bg-hover)}.ck-art-line{fill:none;stroke:var(--ck-text);stroke-width:2px}.ck-art-bold{stroke-width:4.5px}.ck-art-tick{fill:none;stroke:var(--ck-accent-ink);stroke-width:2.6px}.ck-art-dot{fill:var(--ck-border)}.ck-art-ink{fill:var(--ck-text)}.ck-art-spark{fill:none;stroke:var(--ck-accent);stroke-width:2.4px}.ck-art-ghost{fill:none;stroke:var(--ck-text-muted);stroke-width:2px;stroke-dasharray:5 5}.ck-art-shadow{fill:var(--ck-bg-hover)}");
7
8
  var p = "M31.5 4.8C17.3 4.4 7 15.2 7 29c0 13 8.5 21.2 20.9 23 1.6.2 2.1 1.2 2.1 2.5v6.9c0 1.7 1.2 2.1 2.5.9 5.7-4.9 16-13.6 21.1-22.1 3.5-5.8 4.7-11.8 3.2-18.1C54.3 11.5 44.7 4.6 31.5 4.8Z", m = (e, t, n, r) => /* @__PURE__ */ s("path", {
8
9
  class: r,
9
10
  d: p,
@@ -156,8 +157,8 @@ function g({ name: e }) {
156
157
  });
157
158
  }
158
159
  // src/ui/Checklist.tsx
159
- function _({ thread: t, editable: n, addable: f = !0, start: p = 0, onChange: m }, h) {
160
- let { client: g, reportError: _ } = u(h), [v, y] = e(!1);
160
+ function _({ thread: t, editable: n, addable: u = !0, start: p = 0, onChange: m }, h) {
161
+ let { client: g, reportError: _ } = d(h), [v, y] = e(!1);
161
162
  i(() => void (p && y(!0)), [p]);
162
163
  let [b, x] = e(""), [S, C] = e(!1), w = o(null), [T, E] = e(0);
163
164
  a(() => {
@@ -191,7 +192,7 @@ function _({ thread: t, editable: n, addable: f = !0, start: p = 0, onChange: m
191
192
  ]), _(n);
192
193
  });
193
194
  };
194
- return !D.length && !(n && f && v) ? null : /* @__PURE__ */ s("div", {
195
+ return !D.length && !(n && u && v) ? null : /* @__PURE__ */ s("div", {
195
196
  class: "ck-extra",
196
197
  ref: w,
197
198
  children: [D.length ? /* @__PURE__ */ s("div", {
@@ -247,7 +248,7 @@ function _({ thread: t, editable: n, addable: f = !0, start: p = 0, onChange: m
247
248
  value: b,
248
249
  "aria-busy": S || void 0,
249
250
  enterKeyHint: "done",
250
- ref: v && !D.length ? d : void 0,
251
+ ref: v && !D.length ? f : void 0,
251
252
  onInput: (e) => x(e.target.value),
252
253
  onKeyDown: (e) => {
253
254
  e.stopPropagation(), e.key === "Enter" ? (e.preventDefault(), j()) : e.key === "Escape" && !D.length && y(!1);
@@ -1,15 +1,16 @@
1
- import { a as e } from "./src-fTYV50pw.js";
2
- import { b as t, o as n, v as r } from "./client-CULjcQxz.js";
1
+ import { a as e } from "./src-BFu9DgRc.js";
2
+ import { b as t, o as n, v as r } from "./client-BqcfSisZ.js";
3
3
  import { a as i, c as a, o, s } from "./privacy-BWUGlHw5.js";
4
4
  import { s as c } from "./anchor-BsQNVkHj.js";
5
5
  import { _ as l, b as u, c as d, d as f, f as p, m, u as h, v as g } from "./i18n-CDw_D17c.js";
6
6
  import { n as _, t as ee } from "./icons-BJLm_C0M.js";
7
- import { a as te, c as ne, d as re, f as ie, g as ae, h as oe, i as se, l as ce, m as le, n as ue, o as de, p as v, t as fe } from "./uploads-CmeoNVO2.js";
7
+ import { a as te, c as ne, d as re, f as ie, g as ae, h as oe, i as se, l as ce, m as le, n as ue, o as de, p as v, t as fe } from "./uploads-Df4mLJ9O.js";
8
8
  import { r as pe } from "./files-BkHuRlcW.js";
9
- import { n as me, r as he, t as ge } from "./card-bits-B94SwnS9.js";
9
+ import { n as me, r as he, t as ge } from "./card-bits-BXOCnmcQ.js";
10
10
  import { i as y } from "./drafts-B0ctr1g9.js";
11
- import { t as b } from "./states-DLMCvwes.js";
12
- import { C as x, F as _e, M as ve, b as S, c as C, f as ye, j as be, l as xe, m as Se, p as Ce, w as we, x as Te, z as Ee } from "./start-CE5eR33Z.js";
11
+ import { t as b } from "./sheet-77GHVTpR.js";
12
+ import { t as _e } from "./states-DLMCvwes.js";
13
+ import { A as ve, C as ye, F as x, S, b as be, c as xe, d as Se, f as Ce, j as we, p as Te, y as C, z as Ee } from "./start-Dgw3mSp8.js";
13
14
  // src/capture/context.ts
14
15
  function De() {
15
16
  let e = navigator.userAgent, t = w(e, [
@@ -60,7 +61,7 @@ function Oe() {
60
61
  }
61
62
  async function ke(t = {}) {
62
63
  let n = (t.redact ?? []).filter(s), r = o(t.privacy), i = innerWidth, a = innerHeight, c = null;
63
- e() && (c = await import("./extension-DpfiPOjC.js").then((e) => e.captureTab(n, r)).catch(() => null)), c ?? (c = await D(n, r, i, a));
64
+ e() && (c = await import("./extension-PWW2UQD7.js").then((e) => e.captureTab(n, r)).catch(() => null)), c ?? (c = await D(n, r, i, a));
64
65
  let l = c.getContext("2d"), u = c.width / Math.max(1, i);
65
66
  return l && Ae(l, u, t), t.crop && t.region && (c = k(c, u, t.region, i, a)), {
66
67
  blob: await Me(c),
@@ -137,19 +138,19 @@ function Ne(e, t) {
137
138
  return !1;
138
139
  }
139
140
  }
140
- C(b), C(re);
141
+ b(_e), b(re);
141
142
  function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent: re, onError: v, share: b = null, onPending: _e }) {
142
- let C = x(e.state, (e) => e.config), w = x(e.state, (e) => e.session?.person ?? null), T = g(() => Se(e, i.anchor), [i.anchor]), [E, Oe] = l(() => He()), [D, Ae] = l(() => le(T, void 0, Se(e, i.anchor, n()))), [O, je] = l([]), [k, Me] = l(null), A = e.options.tools ?? {}, Ne = C?.features.screenshots !== !1 && A.screenshots !== !1, Pe = A.attachments !== !1, [j, We] = l(Ne ? "capturing" : "off"), N = x(e.state, (e) => !!e.session?.capabilities.triage), Ge = N && A.checklist !== !1, [P] = l(() => Ue(T)), [Ke, qe] = l(P?.task ?? {}), [F, Je] = l(P?.checklist ?? null), [I, Ye] = l(""), Xe = S(N, () => import("./TaskFields-B2-YvIwV.js").then((e) => e.TaskDraft), () => void 0), [L, Ze] = l(P?.markup ?? []), [Qe, R] = l(!1), $e = S(Qe, () => import("./MarkupEditor-BOb2jFTR.js").then((e) => e.MarkupEditor), (e) => (R(!1), v(e))), z = ue(e, (e) => v(new r(0, "file_rejected", e))), B = g(() => {
143
+ let x = S(e.state, (e) => e.config), w = S(e.state, (e) => e.session?.person ?? null), T = g(() => Te(e, i.anchor), [i.anchor]), [E, Oe] = l(() => He()), [D, Ae] = l(() => le(T, void 0, Te(e, i.anchor, n()))), [O, je] = l([]), [k, Me] = l(null), A = e.options.tools ?? {}, Ne = x?.features.screenshots !== !1 && A.screenshots !== !1, Pe = A.attachments !== !1, [j, We] = l(Ne ? "capturing" : "off"), N = S(e.state, (e) => !!e.session?.capabilities.triage), Ge = N && A.checklist !== !1, [P] = l(() => Ue(T)), [Ke, qe] = l(P?.task ?? {}), [F, Je] = l(P?.checklist ?? null), [I, Ye] = l(""), Xe = C(N, () => import("./TaskFields-C4GddJTi.js").then((e) => e.TaskDraft), () => void 0), [L, Ze] = l(P?.markup ?? []), [Qe, R] = l(!1), $e = C(Qe, () => import("./MarkupEditor-DnViTOOC.js").then((e) => e.MarkupEditor), (e) => (R(!1), v(e))), z = ue(e, (e) => v(new r(0, "file_rejected", e))), B = g(() => {
143
144
  if (!N || A.style === !1 || i.anchor.type !== "element" && i.anchor.type !== "text") return null;
144
145
  let e = c(i.anchor).element;
145
146
  return e instanceof HTMLElement || e instanceof SVGElement ? e : null;
146
- }, [i.anchor, N]), [V, et] = l(P?.styles ?? []), [H, tt] = l(!1), nt = S(H, () => import("./StylePanel-BZk-r-kl.js").then((e) => e.StylePanel), v), U = m(null), W = m(null), rt = () => {
147
+ }, [i.anchor, N]), [V, et] = l(P?.styles ?? []), [H, tt] = l(!1), nt = C(H, () => import("./StylePanel-CFp-U7qa.js").then((e) => e.StylePanel), v), U = m(null), W = m(null), rt = () => {
147
148
  B && (U.current ?? (U.current = de(B)), W.current ?? (W.current = new se(B)), tt(!0));
148
149
  };
149
150
  p(() => {
150
151
  H ? W.current?.apply(V) : W.current?.revert();
151
152
  }, [H, V]), p(() => () => W.current?.revert(), []);
152
- let [G, it] = l(null), at = S(G !== null, () => import("./Viewer-DL6M3wAT.js").then((e) => e.Viewer), v), [K, q] = l("idle"), J = K !== "idle", [ot, st] = l(!1);
153
+ let [G, it] = l(null), at = C(G !== null, () => import("./Viewer-oM3stPeq.js").then((e) => e.Viewer), v), [K, q] = l("idle"), J = K !== "idle", [ot, st] = l(!1);
153
154
  f(() => {
154
155
  if (K !== "sending") return st(!1);
155
156
  let e = setTimeout(() => st(!0), 1e4);
@@ -158,13 +159,13 @@ function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent
158
159
  let Y = m(null), ct = m(!1), [lt, ut] = l(() => {
159
160
  let e = !!y(Ce);
160
161
  return y(Ce, null), e && a;
161
- }), [dt, ft] = l(!1), pt = !!(C?.features.console_capture || C?.features.network_capture), mt = x(e.state, (e) => !e.session || e.session.role === "guest"), [ht, gt] = l(C?.features.capture_consent_default === !0 && !mt), X = Te(), _t = !a && !b, Z = !a && !!b && !e.auth.pending(), [vt, yt] = l(null), bt = {
162
+ }), [dt, ft] = l(!1), pt = !!(x?.features.console_capture || x?.features.network_capture), mt = S(e.state, (e) => !e.session || e.session.role === "guest"), [ht, gt] = l(x?.features.capture_consent_default === !0 && !mt), X = be(), _t = !a && !b, Z = !a && !!b && !e.auth.pending(), [vt, yt] = l(null), bt = {
162
163
  name: m(null),
163
164
  email: m(null)
164
165
  }, xt = m(null), Q = m(null), St = m(null);
165
166
  p(() => void (lt && St.current?.focus({ preventScroll: !0 })), []);
166
167
  let Ct = () => {
167
- y(ye, null), y(M, null);
168
+ y(Se, null), y(M, null);
168
169
  };
169
170
  p(() => () => {
170
171
  Y.current?.abort(), ct.current || Ct();
@@ -174,7 +175,7 @@ function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent
174
175
  }, Tt = m(null);
175
176
  ae(Tt);
176
177
  let Et = m(null), Dt = m(null), [Ot] = l(() => (e) => {
177
- e && !Et.current && ve(e), Et.current = e;
178
+ e && !Et.current && we(e), Et.current = e;
178
179
  }), kt = m(null), At = m(null), jt = m(null), Mt = m(!1);
179
180
  p(() => {
180
181
  j === "off" && Mt.current && jt.current?.focus(), Mt.current = !1;
@@ -191,8 +192,8 @@ function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent
191
192
  if (!o) {
192
193
  if (o = !0, t) return a(null);
193
194
  ke({
194
- redact: [...C?.privacy.redact_selectors ?? [], ...e.options.redact ?? []],
195
- privacy: xe(C, e.options.privacy),
195
+ redact: [...x?.privacy.redact_selectors ?? [], ...e.options.redact ?? []],
196
+ privacy: xe(x, e.options.privacy),
196
197
  pin: i.region ? null : i.point,
197
198
  region: i.region,
198
199
  crop: !!i.region
@@ -268,7 +269,7 @@ function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent
268
269
  try {
269
270
  let t = !a && !b;
270
271
  if (Z && b) {
271
- let { startGuest: n } = await import("./Guest-C-ZhARI0.js");
272
+ let { startGuest: n } = await import("./Guest-bAxvxjbL.js");
272
273
  y(Ve, JSON.stringify({
273
274
  name: E.name,
274
275
  email: E.email
@@ -278,7 +279,7 @@ function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent
278
279
  }) === "popup";
279
280
  }
280
281
  if (t) {
281
- y(ye, JSON.stringify({
282
+ y(Se, JSON.stringify({
282
283
  draft: i,
283
284
  scrollY
284
285
  })), oe(T, D), y(M, JSON.stringify({
@@ -318,18 +319,18 @@ function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent
318
319
  };
319
320
  return /* @__PURE__ */ h(u, { children: [i.region ? /* @__PURE__ */ h("div", {
320
321
  class: "ck-pending-region",
321
- style: be(i.region.x, i.region.y, i.region.w, i.region.h),
322
+ style: ve(i.region.x, i.region.y, i.region.w, i.region.h),
322
323
  "aria-hidden": "true",
323
324
  "data-commentkit-ui": !0
324
325
  }) : i.anchor.type === "page" ? null : /* @__PURE__ */ h("div", {
325
326
  class: "ck-pending-pin",
326
- style: be(i.point.x, i.point.y),
327
+ style: ve(i.point.x, i.point.y),
327
328
  "aria-hidden": "true",
328
329
  "data-commentkit-ui": !0,
329
330
  children: [/* @__PURE__ */ h("svg", {
330
331
  viewBox: "5 3 54 62",
331
332
  children: /* @__PURE__ */ h("path", { d: Ie })
332
- }), w ? /* @__PURE__ */ h(we, { person: w }) : null]
333
+ }), w ? /* @__PURE__ */ h(ye, { person: w }) : null]
333
334
  }), /* @__PURE__ */ h("div", {
334
335
  class: "ck-card ck-composer",
335
336
  ref: Tt,
@@ -382,7 +383,7 @@ function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent
382
383
  Pe ? /* @__PURE__ */ h(ge, {
383
384
  input: xt,
384
385
  onFiles: Lt,
385
- types: C?.limits?.upload_types
386
+ types: x?.limits?.upload_types
386
387
  }) : null,
387
388
  Ge ? /* @__PURE__ */ h("button", {
388
389
  ref: Dt,
@@ -614,11 +615,11 @@ function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent
614
615
  rel: "noopener noreferrer",
615
616
  children: d("guestPrivacyLink")
616
617
  }),
617
- ze(C) ? /* @__PURE__ */ h(u, { children: [" · ", /* @__PURE__ */ h("a", {
618
- href: ze(C),
618
+ ze(x) ? /* @__PURE__ */ h(u, { children: [" · ", /* @__PURE__ */ h("a", {
619
+ href: ze(x),
619
620
  target: "_blank",
620
621
  rel: "noopener noreferrer",
621
- children: d("guestPrivacySite", { website: C?.project.name ?? "" })
622
+ children: d("guestPrivacySite", { website: x?.project.name ?? "" })
622
623
  })] }) : null
623
624
  ]
624
625
  })]
@@ -693,7 +694,7 @@ function Re(e) {
693
694
  }
694
695
  var M = "commentkit:pending-extras";
695
696
  function ze(e) {
696
- let t = _e(e?.privacy?.notice_url);
697
+ let t = x(e?.privacy?.notice_url);
697
698
  return t?.startsWith("https:") ? t : null;
698
699
  }
699
700
  function Be(e) {
@@ -1,6 +1,6 @@
1
1
  import { _ as e, c as t, l as n, m as r, n as i, u as a } from "./i18n-CDw_D17c.js";
2
2
  import { n as o } from "./icons-BJLm_C0M.js";
3
- import { c as s } from "./start-CE5eR33Z.js";
3
+ import { t as s } from "./sheet-77GHVTpR.js";
4
4
  // src/ui/DatePicker.tsx
5
5
  s(".ck-date-quick{border-bottom:1px solid var(--ck-hairline);flex-wrap:wrap;gap:4px;margin-bottom:4px;padding-bottom:8px;display:flex}.ck-date-chip{white-space:nowrap;border-radius:var(--ck-radius-sm);background:var(--ck-bg-muted);height:24px;color:var(--ck-text);font-size:var(--ck-fs-sm);transition:background-color var(--ck-fast);border:0;padding:0 5px;font-weight:500}.ck-date-clear{color:var(--ck-text-muted);background:0 0;margin-inline-start:auto;padding:0 4px}.ck-date-head{justify-content:space-between;align-items:center;height:28px;margin:4px 0;display:flex}.ck-date-title{font-size:var(--ck-fs-md);font-weight:600}.ck-root[dir=rtl] .ck-date-step svg{scale:-1 1}.ck-date-grid{gap:2px;display:grid}.ck-date-row{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.ck-date-wd{height:24px;color:var(--ck-text-muted);font-size:var(--ck-fs-xs);place-items:center;font-weight:500;display:grid}.ck-date-wd abbr{text-decoration:none}.ck-date-day{border-radius:var(--ck-radius-sm);width:100%;height:30px;color:var(--ck-text);font-size:var(--ck-fs-md);font-variant-numeric:tabular-nums;transition:background-color var(--ck-fast);background:0 0;border:0;padding:0}.ck-date-day[data-other]{color:var(--ck-text-muted)}.ck-date-day[data-today]{box-shadow:inset 0 0 0 1px var(--ck-control);font-weight:600}.ck-date-day[data-selected]{background:var(--ck-accent);color:var(--ck-accent-ink);box-shadow:none;font-weight:600}.ck-date-day:focus-visible{outline-offset:0}@media (hover:hover){.ck-date-chip:hover,.ck-date-day:not([data-selected]):hover{background:var(--ck-bg-hover)}}@media (pointer:coarse){.ck-date-day{height:40px}.ck-date-chip{height:36px}}@media (forced-colors:active){.ck-date-day[data-selected]{color:highlighttext;background:highlight}}");
6
6
  var c = (e) => `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`, l = (e) => {
@@ -1,8 +1,9 @@
1
- import { b as e, o as t, v as n } from "./client-CULjcQxz.js";
1
+ import { b as e, o as t, v as n } from "./client-BqcfSisZ.js";
2
2
  import { _ as r, c as i, d as a, f as o, m as s, n as c, u as l } from "./i18n-CDw_D17c.js";
3
3
  import { n as u } from "./icons-BJLm_C0M.js";
4
- import { r as d } from "./card-bits-B94SwnS9.js";
5
- import { c as f, g as p } from "./start-CE5eR33Z.js";
4
+ import { r as d } from "./card-bits-BXOCnmcQ.js";
5
+ import { t as f } from "./sheet-77GHVTpR.js";
6
+ import { h as p } from "./start-Dgw3mSp8.js";
6
7
  // src/ui/Guest.tsx
7
8
  f(".ck-verify-text{text-wrap:pretty;overflow-wrap:anywhere;margin:0 0 12px;line-height:1.5}.ck-verify .ck-code{height:48px;font-family:var(--ck-mono);font-size:var(--ck-fs-xl);letter-spacing:.32em;text-align:center;font-variant-numeric:tabular-nums;padding-inline-start:calc(12px + .32em);padding-inline-end:12px}.ck-verify .ck-actions .ck-chip{font-variant-numeric:tabular-nums}.ck-verify .ck-chip:disabled{opacity:.5;cursor:default}.ck-verify .ck-note{margin:12px 0 0}@media (hover:hover){.ck-verify .ck-chip:disabled:hover{background:var(--ck-bg);color:var(--ck-text-muted)}}@media (pointer:coarse){.ck-verify .ck-chip{min-height:44px}}");
8
9
  async function m(e, r) {
@@ -1,5 +1,6 @@
1
1
  import { _ as e, c as t, d as n, f as r, m as i, u as a } from "./i18n-CDw_D17c.js";
2
- import { c as o, j as s, v as c } from "./start-CE5eR33Z.js";
2
+ import { t as o } from "./sheet-77GHVTpR.js";
3
+ import { A as s, _ as c } from "./start-Dgw3mSp8.js";
3
4
  // src/ui/MarkupEditor.tsx
4
5
  o(".ck-markup{z-index:calc(var(--ck-z) + 2);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0a0a0c4d;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.ck-markup canvas{border-radius:var(--ck-radius-md);cursor:crosshair;touch-action:none;background:#fff;max-width:min(100%,1100px);max-height:calc(100dvh - 110px);box-shadow:0 0 0 1px #0000000d,0 20px 50px #00000040}.ck-label-box .ck-input{width:200px;font-weight:600}.ck-markup .ck-markup-tools{background:var(--ck-bg);border-radius:var(--ck-radius-pill);max-width:100%;box-shadow:var(--ck-shadow);border:1px solid #0000;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;padding:4px;display:flex}.ck-markup .ck-markup-group{align-items:center;gap:4px;padding:0 4px;display:flex}.ck-markup .ck-markup-group+.ck-markup-group{border-inline-start:1px solid var(--ck-hairline);margin-inline-start:4px;padding-inline-start:8px}.ck-markup .ck-tool{border-radius:var(--ck-radius-pill);width:32px;height:32px;color:var(--ck-text-muted);transition:background-color var(--ck-fast), color var(--ck-fast), scale var(--ck-fast) ease-out;background:0 0;border:0;place-items:center;padding:0;display:grid}.ck-markup .ck-tool[aria-pressed=true]{background:var(--ck-accent-soft);color:var(--ck-accent-text)}.ck-markup .ck-tool:active,.ck-markup .ck-icon-btn:active:not([aria-disabled=true]){scale:.96}.ck-markup .ck-dot{width:16px;height:16px;box-shadow:inset 0 0 0 1px var(--ck-hairline);border-radius:50%;display:block}.ck-markup .ck-tool[aria-pressed=true] .ck-dot{box-shadow:0 0 0 2px var(--ck-bg), 0 0 0 4px currentColor}.ck-markup .ck-width{gap:8px;width:152px}.ck-markup .ck-width input{min-width:0;accent-color:var(--ck-accent);cursor:pointer;flex:1}.ck-markup .ck-width span{width:32px;font-size:var(--ck-fs-sm);color:var(--ck-text-muted);font-variant-numeric:tabular-nums;text-align:end;flex:none}.ck-markup .ck-btn-group{display:inline-flex}.ck-markup .ck-icon-btn{border:1px solid var(--ck-control);background:var(--ck-bg);width:32px;height:32px;color:var(--ck-text);transition:background-color var(--ck-fast), scale var(--ck-fast) ease-out;place-items:center;padding:0;display:grid}.ck-markup .ck-icon-btn+.ck-icon-btn{margin-inline-start:-1px}.ck-markup .ck-icon-btn:first-child: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))){border-top-left-radius:var(--ck-radius-sm);border-bottom-left-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:first-child: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))){border-top-left-radius:var(--ck-radius-sm);border-bottom-left-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:first-child:-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)){border-top-right-radius:var(--ck-radius-sm);border-bottom-right-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:first-child: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)){border-top-right-radius:var(--ck-radius-sm);border-bottom-right-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:last-child: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))){border-top-right-radius:var(--ck-radius-sm);border-bottom-right-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:last-child: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))){border-top-right-radius:var(--ck-radius-sm);border-bottom-right-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:last-child:-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)){border-top-left-radius:var(--ck-radius-sm);border-bottom-left-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:last-child: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)){border-top-left-radius:var(--ck-radius-sm);border-bottom-left-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:focus-visible{z-index:1;position:relative}.ck-markup .ck-icon-btn[aria-disabled=true]{opacity:.5;cursor:default}.ck-markup .ck-icon-btn.ck-primary{border-color:var(--ck-accent);background:var(--ck-accent);color:var(--ck-accent-ink);position:relative}.ck-markup .ck-label-box{z-index:1;border-radius:var(--ck-radius-md);background:var(--ck-bg);box-shadow:var(--ck-shadow);border:1px solid #0000;align-items:center;gap:4px;padding:4px;display:flex;position:fixed}.ck-markup .ck-label-box .ck-input{border-radius:var(--ck-radius-sm);height:32px}.ck-markup .ck-label-box .ck-chip{flex:none;height:32px}@media (hover:hover){.ck-markup .ck-icon-btn:hover:not([aria-disabled=true]):not(.ck-primary){background:var(--ck-bg-hover)}.ck-markup .ck-tool:hover{background:var(--ck-bg-hover);color:var(--ck-text)}}@media (forced-colors:active){.ck-markup .ck-tool[aria-pressed=true]{color:highlighttext;background:highlight}}@media (pointer:coarse){.ck-markup .ck-tool,.ck-markup .ck-icon-btn{width:44px;height:44px}}@media (max-width:520px){.ck-markup .ck-markup-tools{border-radius:var(--ck-radius)}}");
5
6
  var l = /* @__PURE__ */ new WeakSet(), u = [