@commentkit/comment-kit 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/npm/chunks/{AgentSend-pA7Ufvye.js → AgentSend-B4rxdY68.js} +3 -3
- package/dist/npm/chunks/{Checklist-Cn9skOYK.js → Checklist-Cy68X5qC.js} +8 -8
- package/dist/npm/chunks/{Composer-D7H-pzGa.js → Composer-D65l6Jg4.js} +33 -33
- package/dist/npm/chunks/{DatePicker-Nta5a1xD.js → DatePicker-BPzzqW3f.js} +3 -3
- package/dist/npm/chunks/{Guest-Bi7hlzhs.js → Guest-C-ZhARI0.js} +5 -5
- package/dist/npm/chunks/{MarkupEditor-WU3USeTk.js → MarkupEditor-BOb2jFTR.js} +8 -8
- package/dist/npm/chunks/{Panel-DhAzbUbC.js → Panel-DgdCgaC-.js} +267 -267
- package/dist/npm/chunks/{Settings-BmKqPX40.js → Settings-BbWu2Rd5.js} +18 -18
- package/dist/npm/chunks/{Shortcuts-Bl-c0Sez.js → Shortcuts-C5wEx-Mq.js} +4 -4
- package/dist/npm/chunks/SignInFirst-BlMbutED.js +36 -0
- package/dist/npm/chunks/{StyleEditor-D6fUnlwq.js → StyleEditor-BN2z7mUs.js} +4 -4
- package/dist/npm/chunks/{StylePanel-C-Gikxt1.js → StylePanel-BZk-r-kl.js} +3 -3
- package/dist/npm/chunks/{TaskFields-CaKi523b.js → TaskFields-B2-YvIwV.js} +21 -21
- package/dist/npm/chunks/{ThreadCard-d_3pUB5V.js → ThreadCard-xKy4JbXK.js} +46 -46
- package/dist/npm/chunks/{Viewer-BULQsi9-.js → Viewer-DL6M3wAT.js} +3 -3
- package/dist/npm/chunks/{agent-DHdhIJ3s.js → agent-D1VQvc14.js} +12 -12
- package/dist/npm/chunks/{ar-B5UszrQp.js → ar-DtfC6tHi.js} +2 -0
- package/dist/npm/chunks/{card-bits-cV8GdFWX.js → card-bits-B94SwnS9.js} +5 -5
- package/dist/npm/chunks/{client-Cv8ddtuM.js → client-CULjcQxz.js} +7 -7
- package/dist/npm/chunks/{confetti-B9zlyILU.js → confetti-K_xKxQGa.js} +1 -1
- package/dist/npm/chunks/{context-CsHnabaA.js → context-0MfEgoip.js} +1 -1
- package/dist/npm/chunks/{de-BE0Aaq8u.js → de-CSyX5Cz-.js} +2 -0
- package/dist/npm/chunks/{dpop-CwW9ifkq.js → dpop-DpxIN5kL.js} +1 -1
- package/dist/npm/chunks/{entrance-Bn_5M9uO.js → entrance-CO0AzUKy.js} +1 -1
- package/dist/npm/chunks/{es-BQviao4d.js → es-D7SAi7fz.js} +2 -0
- package/dist/npm/chunks/{extension-DXhz81XD.js → extension-DpfiPOjC.js} +1 -1
- package/dist/npm/chunks/{extension-CnQTDC1j.js → extension-faFfCApb.js} +2 -2
- package/dist/npm/chunks/{files-DLEr_wmh.js → files-BkHuRlcW.js} +2 -2
- package/dist/npm/chunks/{fr-C5gu6A06.js → fr-CIr2nUyu.js} +2 -0
- package/dist/npm/chunks/{hi-DXfQ5EvY.js → hi-BTocxOL5.js} +2 -0
- package/dist/npm/chunks/{i18n-Mgs9VOuk.js → i18n-CDw_D17c.js} +10 -10
- package/dist/npm/chunks/{icons-_C6ZWmBY.js → icons-BJLm_C0M.js} +1 -1
- package/dist/npm/chunks/{identify-BnQGJOa0.js → identify-963WDKul.js} +1 -1
- package/dist/npm/chunks/{it-BPHt13FV.js → it-DCExRo0r.js} +2 -0
- package/dist/npm/chunks/{ja-BkCqyKR0.js → ja-CgWpTdWi.js} +2 -0
- package/dist/npm/chunks/{late-words-D4Oo_yhJ.js → late-words-QnNheaDY.js} +2 -0
- package/dist/npm/chunks/{live-DXcxj_Af.js → live-BI72WQBA.js} +24 -22
- package/dist/npm/chunks/{nl-DZxdLLMU.js → nl-DhTQ8oJ_.js} +2 -0
- package/dist/npm/chunks/{page-key-UqAozdZi.js → page-key-CW8Mtf60.js} +1 -1
- package/dist/npm/chunks/{pick-C20RVUas.js → pick-BRhngGMq.js} +1 -1
- package/dist/npm/chunks/{pkce-BPvWoBrr.js → pkce-BEeLAZhN.js} +1 -1
- package/dist/npm/chunks/{pt-BR-lA9mJ05F.js → pt-BR-DrO6LV4n.js} +2 -0
- package/dist/npm/chunks/{report-BjUgUNnT.js → report-DAzQvgUh.js} +1 -1
- package/dist/npm/chunks/{show-BinoJyED.js → show-Ka3g4eCJ.js} +7 -7
- package/dist/npm/chunks/{signin-C2jjsxz9.js → signin-Car5vP1U.js} +3 -3
- package/dist/npm/chunks/{source-NuflODx3.js → source-dd_it90W.js} +1 -1
- package/dist/npm/chunks/{src-9o2Ocq8d.js → src-fTYV50pw.js} +7 -7
- package/dist/npm/chunks/{start-Cbx6rMrr.js → start-CE5eR33Z.js} +461 -449
- package/dist/npm/chunks/{upload-C4NpM-jE.js → upload-Dcv9CCly.js} +1 -1
- package/dist/npm/chunks/{uploads-CY4bDbaI.js → uploads-CmeoNVO2.js} +196 -196
- package/dist/npm/chunks/wrap-B0mzrRhc.js +69 -0
- package/dist/npm/chunks/{zh-CN-yqaDHwBx.js → zh-CN-Bb8UzT1V.js} +2 -0
- package/dist/npm/element.js +1 -1
- package/dist/npm/headless.js +2 -2
- package/dist/npm/index.js +2 -2
- package/dist/npm/react.js +1 -1
- package/dist/npm/svelte.js +1 -1
- package/dist/npm/vue.js +1 -1
- package/package.json +1 -1
- package/dist/npm/chunks/SignInFirst-CmGvSYkQ.js +0 -35
- package/dist/npm/chunks/wrap-D-xTKIzj.js +0 -69
|
@@ -50,6 +50,8 @@ var t = /* @__PURE__ */ e({ LATE: () => n }), n = {
|
|
|
50
50
|
signInToComment: "Sign in to comment",
|
|
51
51
|
signInToCommentBody: "Comments on {website} are for its team and the clients they invite. Sign in with your CommentKit account, then click the spot that should change.",
|
|
52
52
|
signInToCommentBodyTouch: "Comments on {website} are for its team and the clients they invite. Sign in with your CommentKit account, then tap the spot that should change.",
|
|
53
|
+
signInToSeeComments: "Sign in to see comments",
|
|
54
|
+
signInToSeeCommentsBody: "Comments on {website} are from its team and the clients they invite. Sign in with your CommentKit account to see them.",
|
|
53
55
|
signInToSend: "Sign in to send",
|
|
54
56
|
signInToSendTitle: "Sign in to send this",
|
|
55
57
|
signInToSendBody: "Comments on this website come from its team and invited clients. Your text stays here while you sign in."
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { o as e } from "./client-
|
|
1
|
+
import { o as e } from "./client-CULjcQxz.js";
|
|
2
2
|
import { a as t, i as n, n as r, r as i } from "./drafts-B0ctr1g9.js";
|
|
3
|
-
import {
|
|
3
|
+
import { d as a, p as o, u as s } from "./start-CE5eR33Z.js";
|
|
4
4
|
// src/ui/live.ts
|
|
5
|
-
var
|
|
6
|
-
function
|
|
7
|
-
let i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = (e) => a.set(e, Date.now()),
|
|
5
|
+
var c = 1500, l = 1e4;
|
|
6
|
+
function u(e, t, n, r = Math.random) {
|
|
7
|
+
let i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = (e) => a.set(e, Date.now()), s = [
|
|
8
8
|
e.on("thread:created", ({ thread: e }) => o(e.id)),
|
|
9
9
|
e.on("thread:updated", ({ thread: e }) => o(e.id)),
|
|
10
10
|
e.on("message:created", ({ message: e }) => o(e.thread_id))
|
|
11
|
-
], u = (t) => e.state.get().threads.some((e) => e.id === t), d = () => e.state.get().session?.realtime_key ?? null, f = (n) => t() === n.thread_id || u(n.thread_id) ? !0 : n.page_key == null ? n.page_path == null || n.page_path ===
|
|
11
|
+
], u = (t) => e.state.get().threads.some((e) => e.id === t), d = () => e.state.get().session?.realtime_key ?? null, f = (n) => t() === n.thread_id || u(n.thread_id) ? !0 : n.page_key == null ? n.page_path == null || n.page_path === g() : n.page_key === e.pageKey(), p = (r) => {
|
|
12
12
|
i.delete(r), e.refreshThread(r), t() === r && !u(r) && n(r);
|
|
13
13
|
};
|
|
14
14
|
return {
|
|
@@ -19,29 +19,29 @@ function l(e, t, n, r = Math.random) {
|
|
|
19
19
|
clearTimeout(i.get(n)), i.delete(n), e.state.set((e) => ({ threads: e.threads.filter((e) => e.id !== n) }));
|
|
20
20
|
return;
|
|
21
21
|
}
|
|
22
|
-
let o = t.by ?? t.actor ?? null,
|
|
23
|
-
o && o === d() &&
|
|
22
|
+
let o = t.by ?? t.actor ?? null, s = a.get(n);
|
|
23
|
+
o && o === d() && s !== void 0 && Date.now() - s < l || !i.has(n) && f(t) && i.set(n, setTimeout(() => p(n), Math.floor(r() * c)));
|
|
24
24
|
},
|
|
25
25
|
stop() {
|
|
26
26
|
for (let e of i.values()) clearTimeout(e);
|
|
27
|
-
i.clear(),
|
|
27
|
+
i.clear(), s.forEach((e) => e());
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
function
|
|
31
|
+
var d = 6e4;
|
|
32
|
+
function f(e, t) {
|
|
33
33
|
let n = () => void 0, r = () => {
|
|
34
34
|
e.state.get().session && (e.loadPageThreads().catch(n), e.inbox().catch(n), t());
|
|
35
35
|
}, i = e.state.get().live, a = e.state.subscribe((e) => {
|
|
36
36
|
e.live === "on" && i === "lost" && r(), i = e.live;
|
|
37
37
|
}), o = 0, s = () => {
|
|
38
38
|
document.hidden ? o || (o = Date.now()) : (o && Date.now() - o > 6e4 && r(), o = 0);
|
|
39
|
-
}, c = setInterval(() => !document.hidden && e.state.get().live !== "on" && r(),
|
|
39
|
+
}, c = setInterval(() => !document.hidden && e.state.get().live !== "on" && r(), d);
|
|
40
40
|
return addEventListener("online", r), document.addEventListener("visibilitychange", s), () => {
|
|
41
41
|
a(), clearInterval(c), removeEventListener("online", r), document.removeEventListener("visibilitychange", s);
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function p(e, t, n, r, i, a) {
|
|
45
45
|
if (/^[0-9a-f-]{36}$/i.test(t)) return n(t);
|
|
46
46
|
let o = t.trim().toUpperCase(), s = e.state.get().threads.find((e) => e.reference.toUpperCase() === o);
|
|
47
47
|
if (s) return n(s.id);
|
|
@@ -54,24 +54,26 @@ function f(e, t, n, r, i, a) {
|
|
|
54
54
|
t ? r(t.page.url, t.id, n) : i();
|
|
55
55
|
}, a);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function m() {
|
|
58
58
|
let e = null;
|
|
59
59
|
try {
|
|
60
60
|
e = JSON.parse(n("commentkit:pending-compose") ?? "null");
|
|
61
61
|
} catch {}
|
|
62
|
-
n("commentkit:pending-compose", null), e?.draft?.anchor && n(
|
|
62
|
+
n("commentkit:pending-compose", null), e?.draft?.anchor && n(o, "1");
|
|
63
63
|
let t = i("commentkit:pending-thread");
|
|
64
64
|
i("commentkit:pending-thread", null);
|
|
65
|
-
let r =
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
let r = (e) => {
|
|
66
|
+
let t = Number(n(e));
|
|
67
|
+
return n(e, null), Date.now() - t < 6e5;
|
|
68
|
+
};
|
|
68
69
|
return {
|
|
69
70
|
...e?.draft?.anchor ? e : null,
|
|
70
71
|
thread: t,
|
|
71
|
-
comment: s
|
|
72
|
+
comment: r(s),
|
|
73
|
+
inbox: r(a)
|
|
72
74
|
};
|
|
73
75
|
}
|
|
74
|
-
function
|
|
76
|
+
function h(e, a) {
|
|
75
77
|
t(a);
|
|
76
78
|
let o = r(e), s = o.slice(0, o.indexOf("~") + 1);
|
|
77
79
|
t(null);
|
|
@@ -84,8 +86,8 @@ function m(e, a) {
|
|
|
84
86
|
"guest-details"
|
|
85
87
|
].forEach((e) => n(`commentkit:${e}`, null)), i("commentkit:pending-thread", null);
|
|
86
88
|
}
|
|
87
|
-
function
|
|
89
|
+
function g() {
|
|
88
90
|
let t = new URL(e());
|
|
89
91
|
return t.pathname + (t.hash.startsWith("#/") ? t.hash : "");
|
|
90
92
|
}
|
|
91
|
-
export {
|
|
93
|
+
export { f as catchUp, m as comeBack, h as forgetPerson, u as liveUpdates, p as openReference };
|
|
@@ -442,6 +442,8 @@ var e = {
|
|
|
442
442
|
signInToComment: "Log in om te reageren",
|
|
443
443
|
signInToCommentBody: "Reacties op {website} zijn voor het team en de klanten die het uitnodigt. Log in met je CommentKit-account en klik daarna op de plek die moet veranderen.",
|
|
444
444
|
signInToCommentBodyTouch: "Reacties op {website} zijn voor het team en de klanten die het uitnodigt. Log in met je CommentKit-account en tik daarna op de plek die moet veranderen.",
|
|
445
|
+
signInToSeeComments: "Log in om reacties te zien",
|
|
446
|
+
signInToSeeCommentsBody: "Reacties op {website} komen van het team en de klanten die het uitnodigt. Log in met je CommentKit-account om ze te zien.",
|
|
445
447
|
signInToSend: "Log in om te versturen",
|
|
446
448
|
signInToSendTitle: "Log in om dit te versturen",
|
|
447
449
|
signInToSendBody: "Reacties op deze website komen van het team en uitgenodigde klanten. Je tekst blijft hier staan terwijl je inlogt."
|
|
@@ -105,7 +105,7 @@ function _() {
|
|
|
105
105
|
}
|
|
106
106
|
var v = null, y = !1;
|
|
107
107
|
function b() {
|
|
108
|
-
r(), !y && _() && (y = !0, import("./source-
|
|
108
|
+
r(), !y && _() && (y = !0, import("./source-dd_it90W.js").then((e) => v = e.readSource, () => y = !1));
|
|
109
109
|
}
|
|
110
110
|
function x(e) {
|
|
111
111
|
let t = null;
|
|
@@ -442,6 +442,8 @@ var e = {
|
|
|
442
442
|
signInToComment: "Entre para comentar",
|
|
443
443
|
signInToCommentBody: "Os comentários em {website} são para a equipe e os clientes que ela convida. Entre com sua conta CommentKit e depois clique no ponto que deve mudar.",
|
|
444
444
|
signInToCommentBodyTouch: "Os comentários em {website} são para a equipe e os clientes que ela convida. Entre com sua conta CommentKit e depois toque no ponto que deve mudar.",
|
|
445
|
+
signInToSeeComments: "Entre para ver os comentários",
|
|
446
|
+
signInToSeeCommentsBody: "Os comentários em {website} são da equipe e dos clientes que ela convida. Entre com sua conta CommentKit para vê-los.",
|
|
445
447
|
signInToSend: "Entrar para enviar",
|
|
446
448
|
signInToSendTitle: "Entre para enviar isto",
|
|
447
449
|
signInToSendBody: "Os comentários neste site vêm da equipe e de clientes convidados. Seu texto fica aqui enquanto você entra."
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i } from "./src-
|
|
2
|
-
import { i as a, l as o, v as s } from "./client-
|
|
3
|
-
import { n as c } from "./page-key-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i } from "./src-fTYV50pw.js";
|
|
2
|
+
import { i as a, l as o, v as s } from "./client-CULjcQxz.js";
|
|
3
|
+
import { n as c } from "./page-key-CW8Mtf60.js";
|
|
4
4
|
// src/core/show.ts
|
|
5
5
|
var l;
|
|
6
6
|
function u() {
|
|
@@ -23,10 +23,10 @@ async function m(i, a, o, s, m, v, y = () => void 0) {
|
|
|
23
23
|
if (x && !i.auth.hasSession() && !e()) return y(), null;
|
|
24
24
|
if (!a.enabled && !b && !x) return null;
|
|
25
25
|
c.ignore(a.pages?.ignored_query_params);
|
|
26
|
-
let S = n(() => import("./start-
|
|
27
|
-
if (S.catch(() => void 0), C.catch(() => void 0), await i.auth.completeRedirect().catch(() => !1), e() && await import("./extension-
|
|
26
|
+
let S = n(() => import("./start-CE5eR33Z.js").then((e) => e.t)), C = S.then((e) => e.setLocale(i.options.locale));
|
|
27
|
+
if (S.catch(() => void 0), C.catch(() => void 0), await i.auth.completeRedirect().catch(() => !1), e() && await import("./extension-faFfCApb.js").then((e) => e.extensionHandoff(i.auth)).catch(() => !1), v && a.enabled && await import("./identify-963WDKul.js").then((e) => e.identify(i, v, null, !0)).catch(() => !1), await i.loadSession().catch(() => null), i.state.get().session || h(i.options.project), x && !p(i)) return y(), null;
|
|
28
28
|
let w = await S, { installDiagnostics: T, mountWidget: E } = w;
|
|
29
|
-
if (x && Object.assign(w.en, (await import("./late-words-
|
|
29
|
+
if (x && Object.assign(w.en, (await import("./late-words-QnNheaDY.js").then((e) => e.n)).LATE), await C, s()) return null;
|
|
30
30
|
let D = T({
|
|
31
31
|
console: a.features.console_capture,
|
|
32
32
|
network: a.features.network_capture,
|
|
@@ -82,7 +82,7 @@ function v(e, t) {
|
|
|
82
82
|
console.warn(r ? `[CommentKit] The widget could not start: ${t.message} (${t.code}). See https://commentkit.dev/docs/errors#${t.code}` : "[CommentKit] The widget could not start; your page is not affected. See https://commentkit.dev/docs/troubleshooting", t), r && e.emit("error", { error: t }), (!r || t.status >= 500) && e.reportCrash(t, "start");
|
|
83
83
|
}
|
|
84
84
|
function y(e, t) {
|
|
85
|
-
import("./report-
|
|
85
|
+
import("./report-DAzQvgUh.js").then((n) => n.reportStart(e, t)).catch(() => void 0);
|
|
86
86
|
}
|
|
87
87
|
var b = "See https://commentkit.dev/docs/";
|
|
88
88
|
function x(e, ...t) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as e } from "./client-
|
|
2
|
-
import { r as t } from "./page-key-
|
|
3
|
-
import { t as n } from "./pkce-
|
|
1
|
+
import { b as e } from "./client-CULjcQxz.js";
|
|
2
|
+
import { r as t } from "./page-key-CW8Mtf60.js";
|
|
3
|
+
import { t as n } from "./pkce-BEeLAZhN.js";
|
|
4
4
|
import { t as r } from "./locale-D8Q4Q2Nt.js";
|
|
5
5
|
// src/core/signin.ts
|
|
6
6
|
function i(e = navigator.userAgent) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, d as t, i as n, p as r, s as i, t as a } from "./client-
|
|
1
|
+
import { a as e, d as t, i as n, p as r, s as i, t as a } from "./client-CULjcQxz.js";
|
|
2
2
|
// src/activation.ts
|
|
3
3
|
var o = "commentkit:active", s = "data-commentkit-extension";
|
|
4
4
|
function c() {
|
|
@@ -62,7 +62,7 @@ function S(e, t, ...n) {
|
|
|
62
62
|
b[e] || (b[e] = 1, console.warn(`[CommentKit] ${t}`, ...n));
|
|
63
63
|
}
|
|
64
64
|
function C(e, ...t) {
|
|
65
|
-
b[e] || (b[e] = 1, import("./show-
|
|
65
|
+
b[e] || (b[e] = 1, import("./show-Ka3g4eCJ.js").then((n) => n.explain(e, ...t)).catch(E));
|
|
66
66
|
}
|
|
67
67
|
function w() {
|
|
68
68
|
let e = (e) => typeof e == "string" && e.trim() ? e.trim().slice(0, 255) : null;
|
|
@@ -90,7 +90,7 @@ function T(e) {
|
|
|
90
90
|
let i = A(e);
|
|
91
91
|
return typeof i == "string" ? M(e, i) : (_ = i, k(i));
|
|
92
92
|
} catch (t) {
|
|
93
|
-
return console.warn("[CommentKit] The widget could not start because of an error inside CommentKit; your page is not affected. See https://commentkit.dev/docs/troubleshooting", t), import("./show-
|
|
93
|
+
return console.warn("[CommentKit] The widget could not start because of an error inside CommentKit; your page is not affected. See https://commentkit.dev/docs/troubleshooting", t), import("./show-Ka3g4eCJ.js").then((n) => n.reportStart(e, t)).catch(E), M(e);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
var E = () => void 0, D = (e) => (t) => S(e, `${e}() failed.`, t), O = (e, t) => (...n) => t(...n).then(E, D(e));
|
|
@@ -123,7 +123,7 @@ function A(e) {
|
|
|
123
123
|
let F = k.auth.takeSignInLink(v) || !!(k.auth.finishLink = y);
|
|
124
124
|
v = y = null;
|
|
125
125
|
let I = 0, L, R = (e) => (e === !0 && (N = !0), N && A?.attach?.(), M || A ? Promise.resolve() : (j ?? (j = (async (e) => {
|
|
126
|
-
let t = () => e !== I, n = g(() => import("./show-
|
|
126
|
+
let t = () => e !== I, n = g(() => import("./show-Ka3g4eCJ.js"));
|
|
127
127
|
n.catch(E);
|
|
128
128
|
try {
|
|
129
129
|
let e = await k.loadConfig();
|
|
@@ -146,7 +146,7 @@ function A(e) {
|
|
|
146
146
|
D("shortcut")(e);
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
|
-
c() && import("./extension-
|
|
149
|
+
c() && import("./extension-faFfCApb.js").then((e) => e.extensionHello()).catch(() => void 0);
|
|
150
150
|
let V = F || P || u(T.project, T.hideOnProduction ?? !0) || !!b;
|
|
151
151
|
V && !F && !P && h() >= 3 && (V = !1, C("cooling")), V && !k.auth.hasSession() && k.prefetchSignIn();
|
|
152
152
|
let H = V ? R().then(() => !!A) : Promise.resolve(!1), U = {
|
|
@@ -162,7 +162,7 @@ function A(e) {
|
|
|
162
162
|
} });
|
|
163
163
|
}),
|
|
164
164
|
signIn: async () => await k.signIn() === "signed_in",
|
|
165
|
-
identify: (e) => import("./identify-
|
|
165
|
+
identify: (e) => import("./identify-963WDKul.js").then((t) => t.identify(k, e, R)).catch(() => !1),
|
|
166
166
|
signOut: O("signOut", () => k.signOut()),
|
|
167
167
|
session: () => i(k.state.get().session)
|
|
168
168
|
};
|
|
@@ -214,7 +214,7 @@ function M(t, n) {
|
|
|
214
214
|
destroy: E,
|
|
215
215
|
...n ? { _r() {
|
|
216
216
|
let e = n && /* @__PURE__ */ Error(`init() stayed off: ${n}`);
|
|
217
|
-
n = void 0, e && import("./show-
|
|
217
|
+
n = void 0, e && import("./show-Ka3g4eCJ.js").then((n) => n.reportStart(t, e)).catch(E);
|
|
218
218
|
} } : {}
|
|
219
219
|
};
|
|
220
220
|
}
|