@commentkit/comment-kit 0.7.6 → 0.7.7

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 (33) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/angular.es.js +2 -2
  4. package/dist/comment-kit.es.js +3 -3
  5. package/dist/demo.es.js +2 -2
  6. package/dist/headless.es.js +2 -2
  7. package/dist/preact.es.js +2 -2
  8. package/dist/qwik.qwik.mjs +2 -2
  9. package/dist/react.es.js +2 -2
  10. package/dist/shared/{annotation-toolbar-RSrb0Nku.js → annotation-toolbar-zeiCmKIr.js} +2 -2
  11. package/dist/shared/{attachment-refresh-CSTYwRW-.js → attachment-refresh-DAacLaRu.js} +1 -1
  12. package/dist/shared/{capture-privacy-DUROnio5.js → capture-privacy-CiOrcAlt.js} +38 -14
  13. package/dist/shared/{comment-drawing-canvas-DbuXP54N.js → comment-drawing-canvas-Btc12IsS.js} +2 -2
  14. package/dist/shared/{comment-image-lightbox-zlIGEVA-.js → comment-image-lightbox--QpbcAtH.js} +2 -2
  15. package/dist/shared/{comment-images-content-aYbJb79_.js → comment-images-content-C_r4SHM-.js} +3 -3
  16. package/dist/shared/{comment-kit-core-B0k7XsMz.js → comment-kit-core-CmLUFujd.js} +13 -11
  17. package/dist/shared/{comment-kit-ui-BXLJcZYQ.js → comment-kit-ui-BHwYuSIi.js} +8 -8
  18. package/dist/shared/{comment-screenshot-annotator-ChWwYJzO.js → comment-screenshot-annotator-zJZyO-XM.js} +2 -2
  19. package/dist/shared/{comment-screenshot-overlay-Bufg3rHz.js → comment-screenshot-overlay-CoKTYB0J.js} +4 -4
  20. package/dist/shared/{dev-export-panel-DAZenvgD.js → dev-export-panel-Cnt6oCZU.js} +1 -1
  21. package/dist/shared/{dev-grab-O8q25zar.js → dev-grab-B85jo9AS.js} +3 -3
  22. package/dist/shared/{element-selector-CYkwzfEr.js → element-selector-Cng84xC7.js} +2 -2
  23. package/dist/shared/{mount-ui-BKaWBhKq.js → mount-ui-Dz7FB_Ak.js} +4 -4
  24. package/dist/shared/{pusher-BUaiCkDJ.js → pusher-CnhQgAvF.js} +1 -1
  25. package/dist/shared/{realtime-C0Z8dXXH.js → realtime-yGLX4wMK.js} +2 -2
  26. package/dist/shared/{screenshot-B-ZfFItT.js → screenshot-B5-hwpmt.js} +2 -2
  27. package/dist/shared/{shadow-root-Cd3SLHyj.js → shadow-root-B58ZI2yz.js} +1 -1
  28. package/dist/shared/{token-session-DplW5QDx.js → token-session-D92MYbNu.js} +1 -1
  29. package/dist/shared/{websocket-manager-798cRDyL.js → websocket-manager-KhH4hL0Q.js} +2 -2
  30. package/dist/solid.es.js +2 -2
  31. package/dist/svelte.es.js +2 -2
  32. package/dist/vue.es.js +2 -2
  33. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.7] - 2026-10-18
4
+
5
+ - Stop pending attachment uploads after the authenticated session changes.
6
+ - Exclude iframes from built-in screenshots and omit directly selected editable/form descendants from DOM exports.
7
+ - The separate MCP **0.2.1** release trims deployment URLs before credential redaction and clarifies local snapshot retention.
8
+
3
9
  ## [0.7.6] - 2026-10-18
4
10
 
5
11
  - Support project-scoped reviewer sessions without granting workspace or billing access.
package/README.md CHANGED
@@ -763,7 +763,7 @@ An older API’s missing context route is tolerated during a rolling upgrade, bu
763
763
 
764
764
  ### Screenshot redaction
765
765
 
766
- Built-in screenshots exclude password, hidden, payment-autocomplete and one-time-code fields. Mark other sensitive regions with `data-commentkit-redact`; the marker also excludes their content from element grabs and DOM context exports, including when an ancestor is selected. DOM exports omit form values, script/template/embedded-document contents, arbitrary data attributes, event handlers, and URL attributes while retaining structural context.
766
+ Built-in screenshots exclude password, hidden, payment-autocomplete and one-time-code fields. They also omit iframes; redaction of individual elements inside embedded documents is not supported. Mark other sensitive regions with `data-commentkit-redact`; the marker also excludes their content from element grabs and DOM context exports, including when an ancestor is selected. DOM exports omit form values and editable content, including directly selected descendants of those containers, as well as script/template/embedded-document contents, arbitrary data attributes, event handlers, and URL attributes while retaining structural context.
767
767
 
768
768
  A custom `screenshotProvider` is responsible for masking private descendants in its image. These controls do not detect secrets in ordinary text, page URLs, titles, selected text, or files users attach. Keep CommentKit off sensitive routes until their capture and data-sharing behavior has been reviewed.
769
769
 
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-B0k7XsMz.js";
1
+ import { t as e } from "./shared/comment-kit-core-CmLUFujd.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { Inject as o, Injectable as s, InjectionToken as c, Optional as l } from "@angular/core";
@@ -247,7 +247,7 @@ var v = class {
247
247
  }
248
248
  async mountSharedUI(e, t, n) {
249
249
  try {
250
- let { mountCommentKitUI: n } = await import("./shared/mount-ui-BKaWBhKq.js").then((e) => e.n);
250
+ let { mountCommentKitUI: n } = await import("./shared/mount-ui-Dz7FB_Ak.js").then((e) => e.n);
251
251
  if (this.core !== e || this.lifecycleId !== t) return;
252
252
  let r = await n(e);
253
253
  if (this.core !== e || this.lifecycleId !== t) {
@@ -1,5 +1,5 @@
1
- import { t as e } from "./shared/websocket-manager-798cRDyL.js";
2
- import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-B0k7XsMz.js";
1
+ import { t as e } from "./shared/websocket-manager-KhH4hL0Q.js";
2
+ import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-CmLUFujd.js";
3
3
  import { a as u, c as d, d as f, f as p, i as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "./shared/dom-Bhf4WFtY.js";
4
4
  import "./headless.es.js";
5
5
  async function w(e) {
@@ -14,7 +14,7 @@ var T = typeof window < "u", E = class {
14
14
  async mount() {
15
15
  let e = this.core;
16
16
  try {
17
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-BKaWBhKq.js").then((e) => e.n);
17
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz7FB_Ak.js").then((e) => e.n);
18
18
  if (this.destroyed) return;
19
19
  let n = await t(e);
20
20
  if (this.destroyed) {
package/dist/demo.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { o as e, r as t } from "./shared/validation-3wbbbuX0.js";
2
- import { t as n, v as r } from "./shared/comment-kit-core-B0k7XsMz.js";
2
+ import { t as n, v as r } from "./shared/comment-kit-core-CmLUFujd.js";
3
3
  var i = 864e5, a = 512e3, o = 50, s = 20, c = "commentkit:demo:", l = {
4
4
  id: "local-demo-you",
5
5
  name: "You",
@@ -453,7 +453,7 @@ async function w(e = {}) {
453
453
  }
454
454
  }, t), i;
455
455
  try {
456
- let { mountCommentKitUI: e } = await import("./shared/mount-ui-BKaWBhKq.js").then((e) => e.n);
456
+ let { mountCommentKitUI: e } = await import("./shared/mount-ui-Dz7FB_Ak.js").then((e) => e.n);
457
457
  i = await e(r);
458
458
  } catch (e) {
459
459
  throw r.destroy(), C = !1, e;
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/websocket-manager-798cRDyL.js";
2
- import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-B0k7XsMz.js";
1
+ import { t as e } from "./shared/websocket-manager-KhH4hL0Q.js";
2
+ import { _ as t, b as n, h as r, l as i, m as a, n as o, t as s, x as c, y as l } from "./shared/comment-kit-core-CmLUFujd.js";
3
3
  import { a as u, c as d, d as f, f as p, i as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "./shared/dom-Bhf4WFtY.js";
4
4
  export { t as ApiClient, s as CommentKitCore, i as EventEmitter, o as SDK_VERSION, e as WebSocketManager, a as createAgentContext, S as debounce, _ as findElement, r as formatAgentContext, l as formatMention, b as generateId, m as generateSelector, u as generateXPath, v as getCurrentPage, x as getElementBounds, d as getSelectionRange, h as getSelectionText, C as isElementVisible, f as isInteractiveElement, n as parseMentions, p as percentageToViewport, c as stripMentionMarkup, y as throttle, g as viewportToPercentage };
package/dist/preact.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-B0k7XsMz.js";
1
+ import { t as e } from "./shared/comment-kit-core-CmLUFujd.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { useEffect as o, useMemo as s, useRef as c, useState as l } from "preact/hooks";
@@ -34,7 +34,7 @@ function u(u) {
34
34
  }
35
35
  }, l = async (e) => {
36
36
  try {
37
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-BKaWBhKq.js").then((e) => e.n);
37
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz7FB_Ak.js").then((e) => e.n);
38
38
  if (r || d.current !== e) return;
39
39
  let n = await t(e);
40
40
  if (r || d.current !== e) {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-B0k7XsMz.js";
1
+ import { t as e } from "./shared/comment-kit-core-CmLUFujd.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { noSerialize as o, useComputed$ as s, useSignal as c, useStore as l, useVisibleTask$ as u } from "@builder.io/qwik";
@@ -42,7 +42,7 @@ function d(d) {
42
42
  }
43
43
  }, b = async (e) => {
44
44
  try {
45
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-BKaWBhKq.js").then((e) => e.n);
45
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz7FB_Ak.js").then((e) => e.n);
46
46
  if (u || g.value !== e) return;
47
47
  let n = await t(e);
48
48
  if (u || g.value !== e) {
package/dist/react.es.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  "use client";
3
- import { t as e } from "./shared/comment-kit-core-B0k7XsMz.js";
3
+ import { t as e } from "./shared/comment-kit-core-CmLUFujd.js";
4
4
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
5
5
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
6
- import { t as o } from "./shared/mount-ui-BKaWBhKq.js";
6
+ import { t as o } from "./shared/mount-ui-Dz7FB_Ak.js";
7
7
  import { useCallback as s, useEffect as c, useMemo as l, useRef as u, useState as d, useSyncExternalStore as f } from "react";
8
8
  import { Fragment as p, jsx as m } from "react/jsx-runtime";
9
9
  function h(i, o = {}) {
@@ -1,11 +1,11 @@
1
- import { u as e } from "./comment-kit-core-B0k7XsMz.js";
1
+ import { u as e } from "./comment-kit-core-CmLUFujd.js";
2
2
  import { C as t, F as n, P as r, T as i, d as a, f as o, l as s, m as c, o as l, s as u, t as d, u as f } from "./button-D4GHW6oZ.js";
3
3
  import { $t as p, Ct as m, Et as ee, Nt as h, Ot as g, Tt as _, Zt as v, en as te, i as y, o as b, r as x, t as S, x as C, xt as ne } from "./separator-UhJb0Row.js";
4
4
  import { E as w, M as re, S as ie, h as ae, j as oe, n as se, t as ce, u as le, y as ue } from "./useValueChanged-DKq5cMot.js";
5
5
  import { a as de } from "./ShadowRootContext-DD6a0QaI.js";
6
6
  import { a as fe, i as pe, l as me, n as he, o as T, r as ge, s as E, t as D, u as _e } from "./button-group-BVR7iT-S.js";
7
7
  import { a as ve, c as ye, i as O, n as be, r as k, t as xe, u as Se } from "./useLabelableId-8n0QmH8N.js";
8
- import { A as Ce, D as A, E as j, M, O as N, b as we, d as P, f as Te, j as F, k as I, o as L, s as R, w as Ee, x as De, y as z } from "./comment-kit-ui-BXLJcZYQ.js";
8
+ import { A as Ce, D as A, E as j, M, O as N, b as we, d as P, f as Te, j as F, k as I, o as L, s as R, w as Ee, x as De, y as z } from "./comment-kit-ui-BHwYuSIi.js";
9
9
  import { a as Oe, c as ke, d as B, l as V, n as Ae, o as H, r as je, s as U, t as Me, u as W } from "./annotation-icons-Dh-bmNYK.js";
10
10
  import * as G from "react";
11
11
  import { jsx as K, jsxs as q } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import { s as e } from "./validation-3wbbbuX0.js";
2
2
  import { n as t } from "./dist-D9A5k-N4.js";
3
3
  import { t as n } from "./button-D4GHW6oZ.js";
4
- import { L as r } from "./comment-kit-ui-BXLJcZYQ.js";
4
+ import { L as r } from "./comment-kit-ui-BHwYuSIi.js";
5
5
  import * as i from "react";
6
6
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  function s(e) {
@@ -1,4 +1,4 @@
1
- var e = "[data-commentkit],[data-commentkit-host],[data-commentkit-ui],[data-commentkit-panel],[data-commentkit-redact],[data-html2canvas-ignore],input[type=\"password\"],input[type=\"hidden\"]," + [
1
+ var e = "iframe,[data-commentkit],[data-commentkit-host],[data-commentkit-ui],[data-commentkit-panel],[data-commentkit-redact],[data-html2canvas-ignore],input[type=\"password\"],input[type=\"hidden\"]," + [
2
2
  "current-password",
3
3
  "new-password",
4
4
  "one-time-code",
@@ -48,30 +48,54 @@ var n = /* @__PURE__ */ new Set([
48
48
  "name"
49
49
  ]), a = 2e3, o = 100, s = 16e3;
50
50
  function c(e) {
51
- return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
51
+ return r.has(e.tagName.toLowerCase()) || e.hasAttribute("contenteditable");
52
52
  }
53
53
  function l(e) {
54
- let l = 0, u = 0, d = [], f = (e, p) => {
55
- if (++l > a || p > o || u >= s) return "";
54
+ try {
55
+ let t = e;
56
+ for (;;) {
57
+ let e = t.parentElement;
58
+ if (e) t = e;
59
+ else {
60
+ let e = t.getRootNode();
61
+ if (!(e instanceof ShadowRoot)) return !1;
62
+ t = e.host;
63
+ }
64
+ if (c(t)) return !0;
65
+ }
66
+ } catch {
67
+ return !0;
68
+ }
69
+ }
70
+ function u(e) {
71
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
72
+ }
73
+ function d(e) {
74
+ if (l(e)) return {
75
+ text: "",
76
+ html: ""
77
+ };
78
+ let r = 0, d = 0, f = [], p = (e, l) => {
79
+ if (++r > a || l > o || d >= s) return "";
56
80
  if (e.nodeType === 3) {
57
- let t = (e.textContent ?? "").slice(0, s - u);
58
- return u += t.length, d.push(t), c(t);
81
+ let t = (e.textContent ?? "").slice(0, s - d);
82
+ return d += t.length, f.push(t), u(t);
59
83
  }
60
84
  if (e.nodeType !== 1) return "";
61
85
  let m = e, h = m.tagName.toLowerCase();
62
86
  if (n.has(h) || t(m)) return "";
63
87
  let g = Array.from(m.attributes).filter((e) => i.has(e.name)).map((e) => {
64
- let t = e.value.slice(0, Math.max(0, s - u));
65
- return u += t.length, ` ${e.name}="${c(t)}"`;
66
- }).join(""), _ = r.has(h) || m.hasAttribute("contenteditable"), v = "";
88
+ let t = e.value.slice(0, Math.max(0, s - d));
89
+ return d += t.length, ` ${e.name}="${u(t)}"`;
90
+ }).join(""), _ = c(m), v = "";
67
91
  if (!_) {
68
- for (let e of m.childNodes) if (v += f(e, p + 1), l >= a || u >= s) break;
92
+ for (let e of m.childNodes) if (v += p(e, l + 1), r >= a || d >= s) break;
69
93
  }
70
94
  return `<${h}${g}>${v}</${h}>`;
71
- }, p = f(e, 0);
95
+ }, m = p(e, 0);
72
96
  return {
73
- text: d.join(""),
74
- html: p
97
+ text: f.join(""),
98
+ html: m
75
99
  };
76
100
  }
77
- export { l as n, t };
101
+ export { d as n, t };
@@ -1,5 +1,5 @@
1
- import { n as e, r as t, t as n } from "./annotation-toolbar-RSrb0Nku.js";
2
- import { T as r, a as i, g as a, i as o } from "./comment-kit-ui-BXLJcZYQ.js";
1
+ import { n as e, r as t, t as n } from "./annotation-toolbar-zeiCmKIr.js";
2
+ import { T as r, a as i, g as a, i as o } from "./comment-kit-ui-BHwYuSIi.js";
3
3
  import * as s from "react";
4
4
  import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
5
5
  var d = ".ck-annotation-toolbar{background-color:var(--background);width:100%;max-width:100%;box-shadow:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a, 0 0 0 1px color-mix(in oklch, var(--foreground) 5%, transparent);border-radius:2rem;flex-wrap:wrap;justify-content:center;align-items:center;gap:.375rem .5rem;margin-inline:auto;padding:.375rem;display:flex}@media (width>=1024px){.ck-annotation-toolbar{width:fit-content}}.ck-annotation-separator.ck-separator[data-orientation=vertical]{height:1rem;display:none}@media (width>=1024px){.ck-annotation-separator.ck-separator[data-orientation=vertical]{display:block}}.ck-annotation-stroke{align-items:center;gap:.5rem;width:7rem;padding-inline:.25rem;display:flex}@media (width>=1024px){.ck-annotation-stroke{width:12rem}}.ck-annotation-slider{flex:auto;min-width:0}.ck-annotation-stroke-label{color:var(--muted-foreground);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.75rem;line-height:1rem}.ck-annotation-swatch{background-color:var(--ck-bg);width:.875rem;height:.875rem;box-shadow:0 0 0 1px color-mix(in oklch, var(--foreground) 5%, transparent);border-radius:999px}.ck-annotation-tooltip{align-items:center;gap:.375rem;display:inline-flex}.ck-annotation-save--disabled{opacity:.5}.ck-drawing-canvas{z-index:var(--z-ck-marker-layer);cursor:none;pointer-events:auto;flex-direction:column;padding-top:1rem;display:flex;position:fixed;inset:0}.ck-drawing-canvas-scrim{pointer-events:none;background-color:#0000004d;position:absolute;inset:0}@supports ((-webkit-backdrop-filter:blur(4px)) or (backdrop-filter:blur(4px))){.ck-drawing-canvas-scrim{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.ck-drawing-canvas-toolbar{z-index:1;cursor:auto;width:100%;min-width:0;margin-inline:auto;padding-inline:.75rem;position:relative}.ck-drawing-canvas-surface{z-index:0;touch-action:none;flex:auto;min-height:0;position:relative}.ck-drawing-canvas-error{border-radius:var(--radius-md);background:var(--background);width:max-content;max-width:calc(100vw - 1.5rem);color:var(--destructive);margin:.75rem auto;padding:.75rem;font-size:.875rem}";
@@ -3,8 +3,8 @@ import { o as t, t as n } from "./button-D4GHW6oZ.js";
3
3
  import { i as r, o as i, r as a } from "./separator-UhJb0Row.js";
4
4
  import { t as o } from "./comment-icon-D8JTCEJ7.js";
5
5
  import { t as s } from "./button-group-BVR7iT-S.js";
6
- import { c, h as l, m as u, p as d } from "./comment-kit-ui-BXLJcZYQ.js";
7
- import { r as f, t as p } from "./attachment-refresh-CSTYwRW-.js";
6
+ import { c, h as l, m as u, p as d } from "./comment-kit-ui-BHwYuSIi.js";
7
+ import { r as f, t as p } from "./attachment-refresh-DAacLaRu.js";
8
8
  import * as m from "react";
9
9
  import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
10
10
  var v = ".ck-dialog-content.ck-image-lightbox{width:100vw;max-width:none;height:100dvh;max-height:none;box-shadow:none;background-color:#0000;border:0;border-radius:0;justify-content:center;align-items:center;gap:0;padding:0;display:flex;inset:0;translate:none}@media (width>=640px){.ck-dialog-content.ck-image-lightbox{max-width:none}}.ck-root[data-theme=dark] .ck-dialog-content.ck-image-lightbox{box-shadow:none}.ck-image-lightbox-prev,.ck-image-lightbox-next{position:absolute}.ck-image-lightbox-prev{inset-inline-start:1rem}.ck-image-lightbox-next{inset-inline-end:1rem}.ck-image-lightbox-photo{object-fit:contain;width:auto;max-width:90vw;height:auto;max-height:90vh}.ck-image-lightbox-meta{border-radius:var(--radius-xl);background-color:var(--muted);text-align:center;max-width:90vw;color:var(--muted-foreground);padding:.25rem .625rem;font-size:.75rem;line-height:1rem;position:absolute;bottom:3.5rem;left:50%;transform:translate(-50%)}.ck-image-lightbox-actions{top:1rem;position:absolute;inset-inline-end:1rem}.ck-image-lightbox-dots{gap:.5rem;display:flex;position:absolute;bottom:1.5rem}.ck-image-lightbox-dot{cursor:pointer;background-color:color-mix(in oklch, var(--foreground) 40%, transparent);border:0;border-radius:999px;width:.625rem;height:.625rem;padding:0;transition:background-color .15s cubic-bezier(.4,0,.2,1)}.ck-image-lightbox-dot:hover{background-color:color-mix(in oklch, var(--foreground) 60%, transparent)}.ck-image-lightbox-dot--active,.ck-image-lightbox-dot--active:hover{background-color:var(--foreground)}";
@@ -1,7 +1,7 @@
1
1
  import { o as e, t, u as n } from "./button-D4GHW6oZ.js";
2
2
  import { t as r } from "./useRender-Uxk1OPK-.js";
3
- import { C as i, c as a, l as o, r as s } from "./comment-kit-ui-BXLJcZYQ.js";
4
- import { n as c, r as l, t as u } from "./attachment-refresh-CSTYwRW-.js";
3
+ import { C as i, c as a, l as o, r as s } from "./comment-kit-ui-BHwYuSIi.js";
4
+ import { n as c, r as l, t as u } from "./attachment-refresh-DAacLaRu.js";
5
5
  import * as d from "react";
6
6
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
7
7
  var h = d.forwardRef(function({ ratio: t, className: n, style: r, ...i }, a) {
@@ -92,7 +92,7 @@ var x = d.forwardRef(function({ className: t, render: i, type: a, ...o }, s) {
92
92
  render: i,
93
93
  state: { slot: "attachment-trigger" }
94
94
  });
95
- }), S = () => import("./comment-image-lightbox-zlIGEVA-.js"), C = 3;
95
+ }), S = () => import("./comment-image-lightbox--QpbcAtH.js"), C = 3;
96
96
  function w(e) {
97
97
  return e.mimeType ? e.mimeType.startsWith("image/") : e.type === "screenshot" || e.type === "drawing" || e.thumbnail ? !0 : /^data:image\//i.test(e.url) || /\.(png|jpe?g|webp|gif|avif|svg)(?:[?#]|$)/i.test(e.filename ?? e.url);
98
98
  }
@@ -1,7 +1,7 @@
1
1
  import { a as e, c as t, d as n, f as r, l as i, n as a, o, p as s, r as c, s as l, t as u, u as d } from "./validation-3wbbbuX0.js";
2
2
  import { t as f } from "./request-activity-DQrAUwfA.js";
3
3
  import { n as p, o as m } from "./dom-Bhf4WFtY.js";
4
- import { n as h, t as g } from "./capture-privacy-DUROnio5.js";
4
+ import { n as h, t as g } from "./capture-privacy-CiOrcAlt.js";
5
5
  import { a as _, n as v, r as y, t as ee } from "./text-B4HHZNaa.js";
6
6
  var b = "https://api.commentkit.dev/api", te = 3e4, ne = 10485760, re = 10, ie = 1e4, ae = 5e3, oe = 254, se = 6, ce = 4096, le = [
7
7
  ".png",
@@ -1704,7 +1704,9 @@ async function dn(e, t, n, r, i, a, o = "medium", s, c, l) {
1704
1704
  isHighlightModeActive: !1
1705
1705
  });
1706
1706
  try {
1707
- let { files: n, ...i } = g ?? {}, a = await e.apiClient.createComment(r, d, f, v, o, p, h, i, b), s = a;
1707
+ let { files: n, ...i } = g ?? {}, a = await e.apiClient.createComment(r, d, f, v, o, p, h, i, b);
1708
+ if (e.isCurrent?.() === !1) return;
1709
+ let s = a;
1708
1710
  if (y.length > 0) try {
1709
1711
  let t = (await Promise.all(y.map(async (t) => {
1710
1712
  let n = "." + (t.name.split(".").pop()?.toLowerCase() ?? ""), r = t.type.startsWith("image/") && [
@@ -2667,7 +2669,7 @@ async function Dr(e, t) {
2667
2669
  }
2668
2670
  var $ = null;
2669
2671
  async function Or() {
2670
- return $ || ($ = await import("./realtime-C0Z8dXXH.js"), $);
2672
+ return $ || ($ = await import("./realtime-yGLX4wMK.js"), $);
2671
2673
  }
2672
2674
  var kr = typeof window < "u", Ar = /* @__PURE__ */ new Set([
2673
2675
  "list",
@@ -2682,7 +2684,7 @@ var kr = typeof window < "u", Ar = /* @__PURE__ */ new Set([
2682
2684
  "screenshot",
2683
2685
  "select",
2684
2686
  null
2685
- ]), Mr = 256, Nr = "0.7.6";
2687
+ ]), Mr = 256, Nr = "0.7.7";
2686
2688
  function Pr(e) {
2687
2689
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2688
2690
  return t ? [
@@ -2867,7 +2869,7 @@ var Lr = class extends et {
2867
2869
  };
2868
2870
  }
2869
2871
  let n = e.project?.sdkLatestVersion;
2870
- n && Ir(n, "0.7.6") && (console.warn(`[CommentKit] You are using v${Nr}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2872
+ n && Ir(n, "0.7.7") && (console.warn(`[CommentKit] You are using v${Nr}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2871
2873
  current: Nr,
2872
2874
  latest: n
2873
2875
  })), this.setState({
@@ -3056,7 +3058,7 @@ var Lr = class extends et {
3056
3058
  if (this.initialAuthToken = void 0, e === void 0) return;
3057
3059
  let t = () => !this.destroyed && this.authRequestRevision === 0;
3058
3060
  try {
3059
- let { verifyAndRestoreToken: n } = await import("./token-session-DplW5QDx.js");
3061
+ let { verifyAndRestoreToken: n } = await import("./token-session-D92MYbNu.js");
3060
3062
  await n(this.ctx, e, t, this.config.persistence !== "memory") && await this.afterAuthenticated();
3061
3063
  } catch {
3062
3064
  t() && this.handleAuthExpired();
@@ -3530,12 +3532,12 @@ var Lr = class extends et {
3530
3532
  }
3531
3533
  async captureScreenshot(e) {
3532
3534
  if (this.destroyed) return null;
3533
- let { captureScreenshot: t } = await import("./screenshot-B-ZfFItT.js");
3535
+ let { captureScreenshot: t } = await import("./screenshot-B5-hwpmt.js");
3534
3536
  return this.destroyed ? null : t(this.ctx, this.screenshotProvider, e);
3535
3537
  }
3536
3538
  async uploadScreenshot(e, t, n) {
3537
3539
  if (this.destroyed || !this.requireCommentWrite()) return null;
3538
- let r = this.operationContext(), { uploadScreenshot: i } = await import("./screenshot-B-ZfFItT.js");
3540
+ let r = this.operationContext(), { uploadScreenshot: i } = await import("./screenshot-B5-hwpmt.js");
3539
3541
  return this.destroyed || r.isCurrent?.() === !1 || !this.requireCommentWrite() ? null : i(r, e, t, n);
3540
3542
  }
3541
3543
  setActiveScreenshot(e) {
@@ -3543,7 +3545,7 @@ var Lr = class extends et {
3543
3545
  }
3544
3546
  async uploadFiles(e, t) {
3545
3547
  if (this.destroyed || !this.requireCommentWrite()) return [];
3546
- let n = this.operationContext(), { uploadFiles: r } = await import("./screenshot-B-ZfFItT.js");
3548
+ let n = this.operationContext(), { uploadFiles: r } = await import("./screenshot-B5-hwpmt.js");
3547
3549
  return this.destroyed || n.isCurrent?.() === !1 || !this.requireCommentWrite() ? [] : r(n, e, t);
3548
3550
  }
3549
3551
  requireAgentExport() {
@@ -3587,7 +3589,7 @@ var Lr = class extends et {
3587
3589
  async grabElement(e, t) {
3588
3590
  if (this.destroyed) return null;
3589
3591
  this.requireAgentExport();
3590
- let { grabElement: n } = await import("./dev-grab-O8q25zar.js");
3592
+ let { grabElement: n } = await import("./dev-grab-B85jo9AS.js");
3591
3593
  if (this.destroyed) return null;
3592
3594
  this.requireAgentExport();
3593
3595
  let r = await n(e, this.ctx, this.screenshotProvider, t);
@@ -3599,7 +3601,7 @@ var Lr = class extends et {
3599
3601
  async grabElements(e, t) {
3600
3602
  if (this.destroyed) return null;
3601
3603
  this.requireAgentExport();
3602
- let { grabElements: n } = await import("./dev-grab-O8q25zar.js");
3604
+ let { grabElements: n } = await import("./dev-grab-B85jo9AS.js");
3603
3605
  if (this.destroyed) return null;
3604
3606
  this.requireAgentExport();
3605
3607
  let r = await n(e, this.ctx, this.screenshotProvider, t);
@@ -1,9 +1,9 @@
1
- import { o as e } from "./websocket-manager-798cRDyL.js";
1
+ import { o as e } from "./websocket-manager-KhH4hL0Q.js";
2
2
  import { c as t, u as n } from "./validation-3wbbbuX0.js";
3
- import { c as r, d as i, s as a, u as o } from "./comment-kit-core-B0k7XsMz.js";
3
+ import { c as r, d as i, s as a, u as o } from "./comment-kit-core-CmLUFujd.js";
4
4
  import { a as s, f as c, i as l, m as u, n as d, o as f } from "./dom-Bhf4WFtY.js";
5
5
  import { i as p } from "./text-B4HHZNaa.js";
6
- import { a as m, i as h, o as g, r as _ } from "./mount-ui-BKaWBhKq.js";
6
+ import { a as m, i as h, o as g, r as _ } from "./mount-ui-Dz7FB_Ak.js";
7
7
  import { a as v, i as y, n as b, o as x, r as S, t as C } from "./input-UPtAj0M6.js";
8
8
  import { n as w, t as T } from "./dist-D9A5k-N4.js";
9
9
  import { C as E, D, E as O, F as k, I as A, L as j, P as M, R as N, S as P, T as F, a as I, c as L, f as R, h as z, i as B, l as V, m as H, n as U, o as W, r as ee, s as G, t as K, u as te, x as ne, z as re } from "./button-D4GHW6oZ.js";
@@ -3182,7 +3182,7 @@ function Wo({ load: e, label: t, children: n, onCancel: r, needed: i = !0, inlin
3182
3182
  ]
3183
3183
  }) : null;
3184
3184
  }
3185
- var Go = () => import("./comment-images-content-aYbJb79_.js"), Ko = Z.memo(function({ images: e }) {
3185
+ var Go = () => import("./comment-images-content-C_r4SHM-.js"), Ko = Z.memo(function({ images: e }) {
3186
3186
  return e.length === 0 ? null : /* @__PURE__ */ Q(Wo, {
3187
3187
  load: Go,
3188
3188
  label: "attachments",
@@ -8204,7 +8204,7 @@ function wf({ mode: e = "reply", defaultValue: t = "", defaultExtras: n, allowMe
8204
8204
  }
8205
8205
  };
8206
8206
  }
8207
- var Tf = 2e3, Ef = Z.lazy(() => import("./comment-image-lightbox-zlIGEVA-.js").then((e) => ({ default: e.CommentImageLightbox }))), Df = Z.memo(function({ mode: e = "reply", defaultValue: t = "", defaultExtras: n, allowMetadata: r = !0, images: i, availableUsers: a, highlightedText: o, quote: s, onClearQuote: c, uploads: l, onCancelUpload: u, onRetryUpload: d, onSubmit: f, onCancel: p, placeholder: m = "Reply...", disabled: h = !1 }) {
8207
+ var Tf = 2e3, Ef = Z.lazy(() => import("./comment-image-lightbox--QpbcAtH.js").then((e) => ({ default: e.CommentImageLightbox }))), Df = Z.memo(function({ mode: e = "reply", defaultValue: t = "", defaultExtras: n, allowMetadata: r = !0, images: i, availableUsers: a, highlightedText: o, quote: s, onClearQuote: c, uploads: l, onCancelUpload: u, onRetryUpload: d, onSubmit: f, onCancel: p, placeholder: m = "Reply...", disabled: h = !1 }) {
8208
8208
  let g = Z.useRef(null), _ = wf({
8209
8209
  mode: e,
8210
8210
  defaultValue: t,
@@ -8733,7 +8733,7 @@ var Kf = Z.memo(function({ enabled: e, availableUsers: t, onSubmit: n }) {
8733
8733
  children: e.author.name
8734
8734
  })]
8735
8735
  })] });
8736
- }), Jf = () => import("./comment-drawing-canvas-DbuXP54N.js"), Yf = () => import("./comment-screenshot-overlay-Bufg3rHz.js");
8736
+ }), Jf = () => import("./comment-drawing-canvas-Btc12IsS.js"), Yf = () => import("./comment-screenshot-overlay-CoKTYB0J.js");
8737
8737
  function Xf(e) {
8738
8738
  try {
8739
8739
  return e.getFeatures();
@@ -16665,7 +16665,7 @@ var Ox = Z.memo(function({ thread: e, loadingEarlierReplies: t, onLoadEarlierRep
16665
16665
  })
16666
16666
  ]
16667
16667
  });
16668
- }), kx = "0.7.6";
16668
+ }), kx = "0.7.7";
16669
16669
  function Ax({ thread: e, isDone: t, onCopyUrl: n, onResolve: r, onLocate: i, onReact: a }) {
16670
16670
  return /* @__PURE__ */ Q(di, { children: /* @__PURE__ */ Q(n_, {
16671
16671
  author: e.parent.author,
@@ -19110,7 +19110,7 @@ function AC({ core: e, state: t, dockSide: n, verticalEdge: r }) {
19110
19110
  children: _
19111
19111
  }) : _ : null] });
19112
19112
  }
19113
- var jC = /* @__PURE__ */ e({ CommentKitUI: () => UC }), MC = () => import("./element-selector-CYkwzfEr.js"), NC = () => import("./dev-export-panel-DAZenvgD.js"), PC = {
19113
+ var jC = /* @__PURE__ */ e({ CommentKitUI: () => UC }), MC = () => import("./element-selector-Cng84xC7.js"), NC = () => import("./dev-export-panel-Cnt6oCZU.js"), PC = {
19114
19114
  comments: !0,
19115
19115
  drawing: !0,
19116
19116
  highlighting: !0,
@@ -1,5 +1,5 @@
1
- import { n as e, r as t, t as n } from "./annotation-toolbar-RSrb0Nku.js";
2
- import { T as r, _ as i, a, g as o, i as s } from "./comment-kit-ui-BXLJcZYQ.js";
1
+ import { n as e, r as t, t as n } from "./annotation-toolbar-zeiCmKIr.js";
2
+ import { T as r, _ as i, a, g as o, i as s } from "./comment-kit-ui-BHwYuSIi.js";
3
3
  import * as c from "react";
4
4
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
5
5
  function d(e) {
@@ -1,7 +1,7 @@
1
- import { u as e } from "./comment-kit-core-B0k7XsMz.js";
2
- import { t } from "./capture-privacy-DUROnio5.js";
1
+ import { u as e } from "./comment-kit-core-CmLUFujd.js";
2
+ import { t } from "./capture-privacy-CiOrcAlt.js";
3
3
  import { t as n } from "./button-D4GHW6oZ.js";
4
- import { C as r, g as i, v as a } from "./comment-kit-ui-BXLJcZYQ.js";
4
+ import { C as r, g as i, v as a } from "./comment-kit-ui-BHwYuSIi.js";
5
5
  import { d as o, i as s } from "./annotation-icons-Dh-bmNYK.js";
6
6
  import * as c from "react";
7
7
  import { useCallback as l, useEffect as u, useRef as d, useState as f } from "react";
@@ -88,7 +88,7 @@ function b(e) {
88
88
  }, [])
89
89
  };
90
90
  }
91
- var x = () => import("./comment-screenshot-annotator-ChWwYJzO.js");
91
+ var x = () => import("./comment-screenshot-annotator-zJZyO-XM.js");
92
92
  function S({ capturePage: t, availableUsers: l = [], onSave: u, onCancel: d }) {
93
93
  let { imageUrl: f, capturing: p, error: g, capture: _, reset: v } = b(t), y = c.useRef(null), [S, C] = c.useState(null), [w, T] = c.useState(null), E = S !== null, D = c.useMemo(() => !S || !w ? null : {
94
94
  x: Math.min(S.x, w.x),
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./button-D4GHW6oZ.js";
2
2
  import { i as t, o as n, r, t as i } from "./separator-UhJb0Row.js";
3
3
  import { t as a } from "./createReactComponent-BZHeRbD0.js";
4
- import { F as o, N as s, P as c, S as l, u } from "./comment-kit-ui-BXLJcZYQ.js";
4
+ import { F as o, N as s, P as c, S as l, u } from "./comment-kit-ui-BHwYuSIi.js";
5
5
  import * as d from "react";
6
6
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
7
7
  var h = a("outline", "refresh", "Refresh", [["path", {
@@ -1,8 +1,8 @@
1
- import { f as e, g as t, p as n } from "./comment-kit-core-B0k7XsMz.js";
1
+ import { f as e, g as t, p as n } from "./comment-kit-core-CmLUFujd.js";
2
2
  import { a as r, i, o as a } from "./dom-Bhf4WFtY.js";
3
- import { n as o, t as s } from "./capture-privacy-DUROnio5.js";
3
+ import { n as o, t as s } from "./capture-privacy-CiOrcAlt.js";
4
4
  import { a as c, n as l, t as u } from "./text-B4HHZNaa.js";
5
- import { captureScreenshot as d } from "./screenshot-B-ZfFItT.js";
5
+ import { captureScreenshot as d } from "./screenshot-B5-hwpmt.js";
6
6
  var f = 4e3, p = 500, m = 2e3, h = 1e3, g = 5, _ = 25, v = 3145728;
7
7
  function y() {
8
8
  let { url: e, path: t, title: n } = a();
@@ -1,10 +1,10 @@
1
- import { u as e } from "./comment-kit-core-B0k7XsMz.js";
1
+ import { u as e } from "./comment-kit-core-CmLUFujd.js";
2
2
  import { a as t, i as n, m as r, n as i, o as a } from "./dom-Bhf4WFtY.js";
3
3
  import { o, r as s, t as c } from "./input-UPtAj0M6.js";
4
4
  import { n as l } from "./dist-D9A5k-N4.js";
5
5
  import { t as u } from "./button-D4GHW6oZ.js";
6
6
  import { t as d } from "./createReactComponent-BZHeRbD0.js";
7
- import { I as f, n as ee } from "./comment-kit-ui-BXLJcZYQ.js";
7
+ import { I as f, n as ee } from "./comment-kit-ui-BHwYuSIi.js";
8
8
  import * as p from "react";
9
9
  import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
10
10
  var te = d("outline", "paperclip", "Paperclip", [["path", {
@@ -1,5 +1,5 @@
1
- import { o as e } from "./websocket-manager-798cRDyL.js";
2
- import { u as t } from "./comment-kit-core-B0k7XsMz.js";
1
+ import { o as e } from "./websocket-manager-KhH4hL0Q.js";
2
+ import { u as t } from "./comment-kit-core-CmLUFujd.js";
3
3
  import { n } from "./errors-Bu5ajEmB.js";
4
4
  var r = null, i = /* @__PURE__ */ new Set();
5
5
  function a() {
@@ -150,9 +150,9 @@ async function b(e, r = {}) {
150
150
  import("react"),
151
151
  import("react-dom/client"),
152
152
  import("./styles-CnYsLS2f.js"),
153
- import("./shadow-root-Cd3SLHyj.js"),
153
+ import("./shadow-root-B58ZI2yz.js"),
154
154
  import("./error-boundary-D3PD74vI.js"),
155
- import("./comment-kit-ui-BXLJcZYQ.js").then((e) => e.t)
155
+ import("./comment-kit-ui-BHwYuSIi.js").then((e) => e.t)
156
156
  ]);
157
157
  if (!h || t !== w) return;
158
158
  let f = g(n, "createElement"), p = g(r, "createRoot"), m = l.ShadowContainer, _ = u.ErrorBoundary;
@@ -1,4 +1,4 @@
1
- import { a as e } from "./websocket-manager-798cRDyL.js";
1
+ import { a as e } from "./websocket-manager-KhH4hL0Q.js";
2
2
  var t = /* @__PURE__ */ e(((e, t) => {
3
3
  (function(n, r) {
4
4
  typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.Pusher = r() : n.Pusher = r();
@@ -1,6 +1,6 @@
1
- import { i as e, n as t, r as n, t as r } from "./websocket-manager-798cRDyL.js";
1
+ import { i as e, n as t, r as n, t as r } from "./websocket-manager-KhH4hL0Q.js";
2
2
  import { a as i, d as a, i as o, l as s, o as c } from "./validation-3wbbbuX0.js";
3
- import { s as l } from "./comment-kit-core-B0k7XsMz.js";
3
+ import { s as l } from "./comment-kit-core-CmLUFujd.js";
4
4
  import { o as u } from "./dom-Bhf4WFtY.js";
5
5
  import { i as d } from "./text-B4HHZNaa.js";
6
6
  var f = l.ID, p = l.CONTENT, m = l.NAME, h = l.EMAIL, g = l.PAGE, _ = l.EMOJI, v = l.ONLINE_USERS, y = l.REACTION_COUNT, b = 33, x = 1e3, S = l.CURSOR_EMITS_PER_SEC;
@@ -1,7 +1,7 @@
1
1
  import { a as e, n as t, o as n, t as r } from "./validation-3wbbbuX0.js";
2
- import { r as i } from "./comment-kit-core-B0k7XsMz.js";
2
+ import { r as i } from "./comment-kit-core-CmLUFujd.js";
3
3
  import { o as a, r as o } from "./dom-Bhf4WFtY.js";
4
- import { t as s } from "./capture-privacy-DUROnio5.js";
4
+ import { t as s } from "./capture-privacy-CiOrcAlt.js";
5
5
  var c = /* @__PURE__ */ new WeakMap(), l = 1e4, u = 2048, d = 10485760, f = 20971520, p = 16384, m = 32e6, h = 10, g = 10485760, _ = 26214400, v = /* @__PURE__ */ new Set([
6
6
  "jpg",
7
7
  "jpeg",
@@ -1,4 +1,4 @@
1
- import { o as e, r as t } from "./mount-ui-BKaWBhKq.js";
1
+ import { o as e, r as t } from "./mount-ui-Dz7FB_Ak.js";
2
2
  import { i as n, n as r, t as i } from "./ShadowRootContext-DD6a0QaI.js";
3
3
  import * as a from "react";
4
4
  import { useCallback as o, useEffect as s, useMemo as c, useRef as l, useState as u } from "react";
@@ -1,5 +1,5 @@
1
1
  import { f as e } from "./validation-3wbbbuX0.js";
2
- import { _ as t, a as n, i as r, o as i } from "./comment-kit-core-B0k7XsMz.js";
2
+ import { _ as t, a as n, i as r, o as i } from "./comment-kit-core-CmLUFujd.js";
3
3
  async function a(a, o, s, c) {
4
4
  if (!s()) return !1;
5
5
  if (!e(o, 4096)) throw Error("Invalid member session token");
@@ -1,5 +1,5 @@
1
1
  import { d as e, f as t, i as n, l as r, o as i, p as a } from "./validation-3wbbbuX0.js";
2
- import { s as o } from "./comment-kit-core-B0k7XsMz.js";
2
+ import { s as o } from "./comment-kit-core-CmLUFujd.js";
3
3
  import { i as s } from "./text-B4HHZNaa.js";
4
4
  var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescriptor, d = Object.getOwnPropertyNames, f = Object.getPrototypeOf, p = Object.prototype.hasOwnProperty, m = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), h = (e, t) => {
5
5
  let n = {};
@@ -57,7 +57,7 @@ function S(e) {
57
57
  }
58
58
  var C = null;
59
59
  function w() {
60
- return C ||= import("./pusher-BUaiCkDJ.js").then((e) => /* @__PURE__ */ _(e.default, 1)).then((e) => e.default ?? e), C;
60
+ return C ||= import("./pusher-CnhQgAvF.js").then((e) => /* @__PURE__ */ _(e.default, 1)).then((e) => e.default ?? e), C;
61
61
  }
62
62
  var T = o.ID, E = o.NAME, D = o.EMAIL, O = o.PAGE, k = o.COLOR, A = o.DRAWING_PATH_DATA, j = o.DRAWING_TEXT, M = o.ONLINE_USERS, N = {
63
63
  id: "unknown",
package/dist/solid.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-B0k7XsMz.js";
1
+ import { t as e } from "./shared/comment-kit-core-CmLUFujd.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { createMemo as o, createSignal as s, onCleanup as c, onMount as l } from "solid-js";
@@ -24,7 +24,7 @@ function u(u) {
24
24
  }
25
25
  }, K = async (e) => {
26
26
  try {
27
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-BKaWBhKq.js").then((e) => e.n);
27
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz7FB_Ak.js").then((e) => e.n);
28
28
  if (w || x !== e) return;
29
29
  let n = await t(e);
30
30
  if (w || x !== e) {
package/dist/svelte.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-B0k7XsMz.js";
1
+ import { t as e } from "./shared/comment-kit-core-CmLUFujd.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { onDestroy as o } from "svelte";
@@ -23,7 +23,7 @@ function d(o) {
23
23
  } catch {}
24
24
  }, B = async (e) => {
25
25
  try {
26
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-BKaWBhKq.js").then((e) => e.n);
26
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz7FB_Ak.js").then((e) => e.n);
27
27
  if (I || c(d) !== e) return;
28
28
  let n = await t(e);
29
29
  if (I || c(d) !== e) {
package/dist/vue.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-B0k7XsMz.js";
1
+ import { t as e } from "./shared/comment-kit-core-CmLUFujd.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { computed as o, h as s, onMounted as c, onUnmounted as l, shallowRef as u, watch as d } from "vue";
@@ -19,7 +19,7 @@ function f(s) {
19
19
  } catch {}
20
20
  }, V = async (e) => {
21
21
  try {
22
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-BKaWBhKq.js").then((e) => e.n);
22
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz7FB_Ak.js").then((e) => e.n);
23
23
  if (L || _.value !== e) return;
24
24
  let n = await t(e);
25
25
  if (L || _.value !== e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commentkit/comment-kit",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "Figma-style collaborative commenting, drawing, and feedback tools for any website. Works with React, Vue, Svelte, Angular, and Vanilla JS.",
5
5
  "keywords": [
6
6
  "angular",