react-semaphor 0.1.368 → 0.1.369
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/dist/analytics-protocol/index.cjs +1 -1
- package/dist/analytics-protocol/index.js +1 -1
- package/dist/brand-studio/index.cjs +5 -5
- package/dist/brand-studio/index.js +24 -23
- package/dist/chunks/{braces-Cc86y9Ov.js → braces-C3-w6xDL.js} +1 -1
- package/dist/chunks/{braces-CXvY9MwQ.js → braces-C8QqW4wu.js} +1 -1
- package/dist/chunks/{calendar-preferences-dialog-BOFlzOJg.js → calendar-preferences-dialog-6q51A6XC.js} +3 -3
- package/dist/chunks/{calendar-preferences-dialog-ZzwfJv2J.js → calendar-preferences-dialog-CUGzkNcE.js} +1 -1
- package/dist/chunks/{chevrons-up-down-CUZL1zaU.js → chevrons-up-down-CnCSGY02.js} +1 -1
- package/dist/chunks/{chevrons-up-down-qQMadOWA.js → chevrons-up-down-DSvLu4Ye.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-9-PCYMjR.js → dashboard-briefing-launcher-BEZnvIla.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-D2lBFqAd.js → dashboard-briefing-launcher-ptERmNJr.js} +176 -177
- package/dist/chunks/{dashboard-controls-D4bUHAjX.js → dashboard-controls-CGt6_hMf.js} +11 -11
- package/dist/chunks/{dashboard-controls-BIk094Ah.js → dashboard-controls-CqKC5oEk.js} +77 -77
- package/dist/chunks/{dashboard-json-DImOf512.js → dashboard-json-6SgPm_QW.js} +13 -14
- package/dist/chunks/dashboard-json-CYSbOdmE.js +1 -0
- package/dist/chunks/{edit-dashboard-visual-DTxkV6Fl.js → edit-dashboard-visual-ByQx_M2i.js} +8 -9
- package/dist/chunks/{edit-dashboard-visual-BHKlcqQR.js → edit-dashboard-visual-w6hKbjlw.js} +1 -1
- package/dist/chunks/index-BtqYNH_S.js +1361 -0
- package/dist/chunks/{index-BVEIk-rB.js → index-CPyEi9gS.js} +72498 -76193
- package/dist/chunks/{palette-DPuAc82h.js → palette-D-f4-82S.js} +1 -1
- package/dist/chunks/{palette-C1k347Tb.js → palette-DUGktM-M.js} +1 -1
- package/dist/chunks/{resource-management-panel-BeHceP2D.js → resource-management-panel-Bf8-3eUf.js} +1 -1
- package/dist/chunks/{resource-management-panel-BOfbSf48.js → resource-management-panel-mJ84NxzC.js} +152 -152
- package/dist/chunks/save-D3YYinDz.js +6 -0
- package/dist/chunks/save-kkBEBeLg.js +21 -0
- package/dist/chunks/{switch-xcWLtWs0.js → switch-Dkx2qEOr.js} +758 -776
- package/dist/chunks/{switch-C0S63HAv.js → switch-fIkmwzUt.js} +27 -32
- package/dist/chunks/{use-create-flow-overlay-state-B5FygfQL.js → use-create-flow-overlay-state-BfoXDDrd.js} +190 -189
- package/dist/chunks/use-create-flow-overlay-state-c6rCm36x.js +26 -0
- package/dist/chunks/{use-visual-utils-DxDE8S8M.js → use-visual-utils-C_c-aiqi.js} +1 -1
- package/dist/chunks/{use-visual-utils-CszWnFBW.js → use-visual-utils-NN0e3fBP.js} +13 -13
- package/dist/chunks/validation-Dsf7PydY.js +1 -0
- package/dist/chunks/validation-nOPr0mTk.js +803 -0
- package/dist/chunks/{validators-L0xEXtjf.js → validators-CVuWOHYv.js} +225 -158
- package/dist/chunks/validators-oc8qtP4q.js +1 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.cjs +1 -1
- package/dist/dashboard-authoring/index.js +1 -1
- package/dist/data-app-builder/index.cjs +51 -1
- package/dist/data-app-builder/index.js +3666 -2
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +589 -388
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +14 -14
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/analytics-protocol.d.ts +21 -1
- package/dist/types/dashboard-assistant.d.ts +21 -1
- package/dist/types/dashboard-authoring.d.ts +11 -1
- package/dist/types/data-app-builder.d.ts +11 -1
- package/dist/types/data-app-sdk-validation.d.ts +107 -23
- package/dist/types/data-app-sdk.d.ts +168 -35
- package/dist/types/main.d.ts +11 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-json-Bo1kX6W1.js +0 -1
- package/dist/chunks/index-HjDeEytV.js +0 -1411
- package/dist/chunks/use-create-flow-overlay-state-DOXTbTcQ.js +0 -26
- package/dist/chunks/validation-CrUjNWby.js +0 -689
- package/dist/chunks/validation-DGl8wnTt.js +0 -1
- package/dist/chunks/validators-Dq5X4mp0.js +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as t, jsxs as i, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { c as B, u as N, B as _,
|
|
3
|
-
import {
|
|
2
|
+
import { c as B, u as N, B as _, az as dt, E as Vt, L as Hr, a1 as qr, a as te, aA as jr, aB as Vr, aC as rt, aD as me, aE as ct, aF as Kt, f as $e, X as Qt, aG as Wt, aH as Kr, G as Rt, Y as Qr, Z as Wr, _ as Jr, a0 as Yr, j as Xr, aI as Zr } from "./switch-Dkx2qEOr.js";
|
|
3
|
+
import { bs as ea, u as G, b as Jt, bt as ta, ax as re, c as Yt, d as ra, e as at, f as nt, n as aa, bu as ue, bf as Fe, bv as na, bw as Ut, bx as Xt, by as Zt, bz as sa, bn as lt, bA as oa, bB as ia, bC as da, bD as ca, bE as la, bF as ua, ad as pe, bG as he, o as C, bH as ma, bI as er, aX as ut, aH as pa, bJ as ha, bK as fa, be as tr, bh as rr, aF as ga, b7 as ba, bL as xa, bM as va, y as ya, x as Ue, J as wa, z as Ye, bN as Na, bO as Sa, bP as Da, Z as ka, bQ as Ca, I as Xe, bR as Ea, bS as La, bT as Ia, bU as Aa, b8 as Ma, b9 as Pa, ba as Oa, bb as _a, bc as $, bV as Ra, aC as Tt, bW as Ua, bX as Ta, bY as Fa, H as $a, bZ as Ga, an as Ba, aq as za, ar as Ha, as as qa, at as ja, au as Va, av as Ka, aw as Ft, v as st } from "./index-CPyEi9gS.js";
|
|
4
4
|
import "./index-CuHybtft.js";
|
|
5
5
|
import * as I from "react";
|
|
6
|
-
import ar, { useState as w, useMemo as K, useEffect as Ge, useRef as
|
|
6
|
+
import ar, { useState as w, useMemo as K, useEffect as Ge, useRef as $t, useLayoutEffect as Qa, useCallback as Wa } from "react";
|
|
7
7
|
import "./index-CJdxSyQq.js";
|
|
8
|
-
import "react-dom/client";
|
|
9
8
|
import { createPortal as Ja } from "react-dom";
|
|
10
|
-
import { L as
|
|
9
|
+
import { L as Ya, b as Xa, u as Za, A as en, V as tn, K as rn, e as an, M as nn, N as sn, U as on } from "./dashboard-briefing-launcher-ptERmNJr.js";
|
|
11
10
|
import { d as nr } from "./index-DFOb_6HB.js";
|
|
12
|
-
import { C as dn } from "./calendar-preferences-dialog-
|
|
11
|
+
import { C as dn } from "./calendar-preferences-dialog-6q51A6XC.js";
|
|
13
12
|
import { u as cn } from "./use-debounced-dirty-check-BwAbnX_5.js";
|
|
14
13
|
import { s as Ze } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { S as Gt } from "./save-kkBEBeLg.js";
|
|
15
|
+
import { P as ln } from "./palette-D-f4-82S.js";
|
|
16
|
+
import { B as un } from "./braces-C8QqW4wu.js";
|
|
17
17
|
/**
|
|
18
18
|
* @license lucide-react v0.453.0 - ISC
|
|
19
19
|
*
|
|
@@ -311,13 +311,13 @@ function Cn({
|
|
|
311
311
|
/* @__PURE__ */ t(re, { className: "h-3.5 w-3.5" }),
|
|
312
312
|
"Lens"
|
|
313
313
|
] }) }),
|
|
314
|
-
/* @__PURE__ */ i(
|
|
314
|
+
/* @__PURE__ */ i(Yt, { className: "rounded-control border-border/60 sm:max-w-[420px] sm:rounded-control", children: [
|
|
315
315
|
/* @__PURE__ */ i(ra, { children: [
|
|
316
316
|
/* @__PURE__ */ t(at, { className: "text-[15px]", children: "Create lens" }),
|
|
317
317
|
/* @__PURE__ */ t(nt, { className: "text-[13px] leading-5", children: "Lenses are private by default and are only visible to you." })
|
|
318
318
|
] }),
|
|
319
319
|
/* @__PURE__ */ i("div", { className: "space-y-1.5 py-1", children: [
|
|
320
|
-
/* @__PURE__ */ t(
|
|
320
|
+
/* @__PURE__ */ t(Hr, { htmlFor: "lens-name", className: kn, children: "Name" }),
|
|
321
321
|
/* @__PURE__ */ t(
|
|
322
322
|
qr,
|
|
323
323
|
{
|
|
@@ -391,9 +391,9 @@ function En({ includeLabel: e = !1 } = {}) {
|
|
|
391
391
|
value: a,
|
|
392
392
|
onValueChange: l,
|
|
393
393
|
children: [
|
|
394
|
-
/* @__PURE__ */ t(
|
|
394
|
+
/* @__PURE__ */ t(Ut, { value: "original", children: "Original" }),
|
|
395
395
|
n == null ? void 0 : n.map((p) => /* @__PURE__ */ i(
|
|
396
|
-
|
|
396
|
+
Ut,
|
|
397
397
|
{
|
|
398
398
|
className: "group flex justify-between gap-2",
|
|
399
399
|
value: p.id,
|
|
@@ -401,7 +401,7 @@ function En({ includeLabel: e = !1 } = {}) {
|
|
|
401
401
|
/* @__PURE__ */ t("p", { children: p.name }),
|
|
402
402
|
/* @__PURE__ */ i("span", { className: "flex items-center gap-3", children: [
|
|
403
403
|
/* @__PURE__ */ t(
|
|
404
|
-
|
|
404
|
+
Xt,
|
|
405
405
|
{
|
|
406
406
|
onClick: (c) => {
|
|
407
407
|
c.preventDefault(), x(p);
|
|
@@ -531,7 +531,7 @@ var Mn = [
|
|
|
531
531
|
"svg",
|
|
532
532
|
"ul"
|
|
533
533
|
], mt = Mn.reduce((e, n) => {
|
|
534
|
-
const a =
|
|
534
|
+
const a = jr(`Primitive.${n}`), r = I.forwardRef((s, u) => {
|
|
535
535
|
const { asChild: f, ...l } = s, b = f ? a : n;
|
|
536
536
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ t(b, { ...l, ref: u });
|
|
537
537
|
});
|
|
@@ -587,15 +587,15 @@ var lr = "AvatarFallback", ur = I.forwardRef(
|
|
|
587
587
|
}
|
|
588
588
|
);
|
|
589
589
|
ur.displayName = lr;
|
|
590
|
-
function
|
|
590
|
+
function Ht(e, n) {
|
|
591
591
|
return e ? n ? (e.src !== n && (e.src = n), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
|
|
592
592
|
}
|
|
593
593
|
function Un(e, { referrerPolicy: n, crossOrigin: a }) {
|
|
594
594
|
const r = Pn(), s = I.useRef(null), u = r ? (s.current || (s.current = new window.Image()), s.current) : null, [f, l] = I.useState(
|
|
595
|
-
() =>
|
|
595
|
+
() => Ht(u, e)
|
|
596
596
|
);
|
|
597
597
|
return rt(() => {
|
|
598
|
-
l(
|
|
598
|
+
l(Ht(u, e));
|
|
599
599
|
}, [u, e]), rt(() => {
|
|
600
600
|
const b = (c) => () => {
|
|
601
601
|
l(c);
|
|
@@ -657,7 +657,7 @@ const Fn = async (e, n, a) => {
|
|
|
657
657
|
const s = `${e}/management/v1/groups/${a}/members`;
|
|
658
658
|
await ct(s, n, "DELETE", r);
|
|
659
659
|
};
|
|
660
|
-
function
|
|
660
|
+
function Hn() {
|
|
661
661
|
const { authToken: e, tokenProps: n } = G(), a = pe();
|
|
662
662
|
return he({
|
|
663
663
|
mutationFn: (r) => Fn(n.apiServiceUrl, (e == null ? void 0 : e.accessToken) || "", r),
|
|
@@ -688,7 +688,7 @@ function qn() {
|
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function jn() {
|
|
692
692
|
const { authToken: e, tokenProps: n } = G(), a = pe();
|
|
693
693
|
return he({
|
|
694
694
|
mutationFn: (r) => Gn(n.apiServiceUrl, (e == null ? void 0 : e.accessToken) || "", r),
|
|
@@ -755,7 +755,7 @@ function Wn({
|
|
|
755
755
|
type: s ? "TENANT_GROUP" : "all",
|
|
756
756
|
tenantId: s ? u : void 0,
|
|
757
757
|
includeMembers: !1
|
|
758
|
-
}), p = b ? br(b, "Unable to load groups.") : null, [c, h] = w({ kind: "list" }), [m, g] = w(null), o =
|
|
758
|
+
}), p = b ? br(b, "Unable to load groups.") : null, [c, h] = w({ kind: "list" }), [m, g] = w(null), o = jn();
|
|
759
759
|
Ge(() => {
|
|
760
760
|
e || (h({ kind: "list" }), g(null));
|
|
761
761
|
}, [e]);
|
|
@@ -766,7 +766,7 @@ function Wn({
|
|
|
766
766
|
} catch {
|
|
767
767
|
}
|
|
768
768
|
};
|
|
769
|
-
return /* @__PURE__ */ t(Jt, { open: e, onOpenChange: n, children: /* @__PURE__ */ i(
|
|
769
|
+
return /* @__PURE__ */ t(Jt, { open: e, onOpenChange: n, children: /* @__PURE__ */ i(Yt, { className: "flex max-h-[640px] w-[720px] max-w-[92vw] flex-col gap-0 overflow-hidden p-0", children: [
|
|
770
770
|
c.kind === "list" ? /* @__PURE__ */ i("div", { className: "shrink-0 border-b border-border px-5 pt-4 pb-3.5", children: [
|
|
771
771
|
/* @__PURE__ */ t(at, { className: "text-[15px] font-semibold tracking-tight", children: "Group management" }),
|
|
772
772
|
/* @__PURE__ */ t(nt, { className: "mt-1 text-[12px] leading-[1.5] text-muted-foreground", children: "Organize people into groups for shared access." })
|
|
@@ -923,7 +923,7 @@ function Jn({
|
|
|
923
923
|
message: a,
|
|
924
924
|
onRetry: r
|
|
925
925
|
}
|
|
926
|
-
) : p.length === 0 && e.length === 0 ? /* @__PURE__ */ t(
|
|
926
|
+
) : p.length === 0 && e.length === 0 ? /* @__PURE__ */ t(Xn, { onCreate: f }) : p.length === 0 ? /* @__PURE__ */ i("div", { className: "flex h-full flex-col items-center justify-center gap-1 py-10 text-center", children: [
|
|
927
927
|
/* @__PURE__ */ i("div", { className: "text-[12px] text-foreground", children: [
|
|
928
928
|
'No groups match "',
|
|
929
929
|
b,
|
|
@@ -933,7 +933,7 @@ function Jn({
|
|
|
933
933
|
] }) : p.map((c) => {
|
|
934
934
|
var h;
|
|
935
935
|
return /* @__PURE__ */ t(
|
|
936
|
-
|
|
936
|
+
Yn,
|
|
937
937
|
{
|
|
938
938
|
group: c,
|
|
939
939
|
canDelete: ((h = c.permissions) == null ? void 0 : h.canDelete) ?? c.createdBy === s,
|
|
@@ -945,7 +945,7 @@ function Jn({
|
|
|
945
945
|
}) })
|
|
946
946
|
] });
|
|
947
947
|
}
|
|
948
|
-
function
|
|
948
|
+
function Yn({
|
|
949
949
|
group: e,
|
|
950
950
|
canDelete: n,
|
|
951
951
|
onClick: a,
|
|
@@ -964,7 +964,7 @@ function Xn({
|
|
|
964
964
|
onClick: a,
|
|
965
965
|
className: "group flex w-full items-center gap-3 border-b border-border/60 px-5 py-2.5 text-left hover:bg-accent/40",
|
|
966
966
|
children: [
|
|
967
|
-
/* @__PURE__ */ t("div", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-[4px] border border-border bg-background text-muted-foreground", children: /* @__PURE__ */ t(
|
|
967
|
+
/* @__PURE__ */ t("div", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-[4px] border border-border bg-background text-muted-foreground", children: /* @__PURE__ */ t(Ya, { className: "h-3.5 w-3.5" }) }),
|
|
968
968
|
/* @__PURE__ */ i("div", { className: "min-w-0 flex-1", children: [
|
|
969
969
|
/* @__PURE__ */ t("div", { className: "truncate text-[13px] font-medium text-foreground", children: e.name }),
|
|
970
970
|
/* @__PURE__ */ i("div", { className: "mt-0.5 flex items-center gap-2 text-[11px] text-muted-foreground", children: [
|
|
@@ -1010,7 +1010,7 @@ function Xn({
|
|
|
1010
1010
|
}
|
|
1011
1011
|
);
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function Xn({ onCreate: e }) {
|
|
1014
1014
|
return /* @__PURE__ */ i("div", { className: "flex h-full flex-col items-center justify-center gap-2 py-12 text-center", children: [
|
|
1015
1015
|
/* @__PURE__ */ t("div", { className: "flex h-9 w-9 items-center justify-center rounded-full border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ t(tr, { className: "h-4 w-4" }) }),
|
|
1016
1016
|
/* @__PURE__ */ t("div", { className: "text-[13px] font-medium text-foreground", children: "No groups yet" }),
|
|
@@ -1053,12 +1053,12 @@ function Zn({
|
|
|
1053
1053
|
}), S = K(
|
|
1054
1054
|
() => new Set(m.map((v) => v.userId)),
|
|
1055
1055
|
[m]
|
|
1056
|
-
), k = Vn(), L = Kn(), E = qn(), [D, ae] = w(!1), [Q, ne] = w(e.name), [fe, W] = w(!1), [J,
|
|
1057
|
-
const v =
|
|
1056
|
+
), k = Vn(), L = Kn(), E = qn(), [D, ae] = w(!1), [Q, ne] = w(e.name), [fe, W] = w(!1), [J, Y] = w(e.description || ""), [X, ge] = w(""), [be, xe] = w(!1), ve = K(() => {
|
|
1057
|
+
const v = X.trim().toLowerCase();
|
|
1058
1058
|
return y.filter((U) => !S.has(U.id)).filter(
|
|
1059
1059
|
(U) => !v || (U.name || "").toLowerCase().includes(v) || (U.email || "").toLowerCase().includes(v)
|
|
1060
1060
|
).slice(0, 50);
|
|
1061
|
-
}, [y, S,
|
|
1061
|
+
}, [y, S, X]), ye = async () => {
|
|
1062
1062
|
const v = Q.trim();
|
|
1063
1063
|
if (ae(!1), v.length >= 3 && v !== e.name)
|
|
1064
1064
|
try {
|
|
@@ -1102,11 +1102,11 @@ function Zn({
|
|
|
1102
1102
|
} catch {
|
|
1103
1103
|
}
|
|
1104
1104
|
};
|
|
1105
|
-
let
|
|
1105
|
+
let H = "";
|
|
1106
1106
|
try {
|
|
1107
|
-
|
|
1107
|
+
H = nr(new Date(e.createdAt), "MMM d, yyyy");
|
|
1108
1108
|
} catch {
|
|
1109
|
-
|
|
1109
|
+
H = "";
|
|
1110
1110
|
}
|
|
1111
1111
|
return /* @__PURE__ */ i("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
|
|
1112
1112
|
/* @__PURE__ */ i("div", { className: "flex h-10 shrink-0 items-center gap-1.5 border-b border-border px-5", children: [
|
|
@@ -1159,10 +1159,10 @@ function Zn({
|
|
|
1159
1159
|
autoFocus: !0,
|
|
1160
1160
|
rows: 2,
|
|
1161
1161
|
value: J,
|
|
1162
|
-
onChange: (v) =>
|
|
1162
|
+
onChange: (v) => Y(v.target.value),
|
|
1163
1163
|
maxLength: 200,
|
|
1164
1164
|
onKeyDown: (v) => {
|
|
1165
|
-
v.key === "Escape" && (
|
|
1165
|
+
v.key === "Escape" && (Y(e.description || ""), W(!1)), v.key === "Enter" && (v.metaKey || v.ctrlKey) && z();
|
|
1166
1166
|
},
|
|
1167
1167
|
placeholder: "What is this group for?",
|
|
1168
1168
|
className: "block w-full resize-none rounded-[5px] border border-border bg-background px-2 py-1.5 text-[12px] text-foreground placeholder:text-muted-foreground focus:border-foreground/40 focus:outline-none"
|
|
@@ -1179,7 +1179,7 @@ function Zn({
|
|
|
1179
1179
|
{
|
|
1180
1180
|
type: "button",
|
|
1181
1181
|
onClick: () => {
|
|
1182
|
-
|
|
1182
|
+
Y(e.description || ""), W(!1);
|
|
1183
1183
|
},
|
|
1184
1184
|
className: "h-6 rounded-[5px] px-2 text-[11px] font-medium text-foreground/80 hover:bg-accent",
|
|
1185
1185
|
children: "Cancel"
|
|
@@ -1201,7 +1201,7 @@ function Zn({
|
|
|
1201
1201
|
{
|
|
1202
1202
|
type: "button",
|
|
1203
1203
|
onClick: () => {
|
|
1204
|
-
a && (
|
|
1204
|
+
a && (Y(e.description || ""), W(!0));
|
|
1205
1205
|
},
|
|
1206
1206
|
disabled: !a,
|
|
1207
1207
|
title: a ? "Click to edit description" : void 0,
|
|
@@ -1209,7 +1209,7 @@ function Zn({
|
|
|
1209
1209
|
children: [
|
|
1210
1210
|
e.description ? /* @__PURE__ */ t("p", { className: "text-[12px] leading-[1.55] text-foreground/90", children: e.description }) : /* @__PURE__ */ t("p", { className: "text-[12px] leading-[1.55] text-muted-foreground", children: a ? "Add a description…" : "No description" }),
|
|
1211
1211
|
/* @__PURE__ */ i("p", { className: "mt-1 text-[10.5px] text-muted-foreground", children: [
|
|
1212
|
-
|
|
1212
|
+
H ? `Created ${H}` : "Recently created",
|
|
1213
1213
|
a ? " · You can edit this group" : ""
|
|
1214
1214
|
] })
|
|
1215
1215
|
]
|
|
@@ -1218,7 +1218,7 @@ function Zn({
|
|
|
1218
1218
|
s && /* @__PURE__ */ t(
|
|
1219
1219
|
ts,
|
|
1220
1220
|
{
|
|
1221
|
-
query:
|
|
1221
|
+
query: X,
|
|
1222
1222
|
setQuery: ge,
|
|
1223
1223
|
open: be,
|
|
1224
1224
|
setOpen: xe,
|
|
@@ -1293,7 +1293,7 @@ function es({
|
|
|
1293
1293
|
onCancel: a,
|
|
1294
1294
|
onCreated: r
|
|
1295
1295
|
}) {
|
|
1296
|
-
const [s, u] = w(""), [f, l] = w(""), [b, x] = w(null), p =
|
|
1296
|
+
const [s, u] = w(""), [f, l] = w(""), [b, x] = w(null), p = Hn(), c = s.trim().length >= 3 && s.trim().length <= 50, h = async () => {
|
|
1297
1297
|
if (!c) return;
|
|
1298
1298
|
x(null);
|
|
1299
1299
|
const m = {
|
|
@@ -1384,7 +1384,7 @@ function ts({
|
|
|
1384
1384
|
onAdd: f,
|
|
1385
1385
|
busy: l
|
|
1386
1386
|
}) {
|
|
1387
|
-
const b =
|
|
1387
|
+
const b = $t(null), x = $t(null), [p, c] = w(null);
|
|
1388
1388
|
Qa(() => {
|
|
1389
1389
|
if (!a) {
|
|
1390
1390
|
c(null);
|
|
@@ -1612,7 +1612,7 @@ function rs(e) {
|
|
|
1612
1612
|
function as(e, n) {
|
|
1613
1613
|
return typeof e == "boolean" ? e : typeof n == "boolean" ? n : !0;
|
|
1614
1614
|
}
|
|
1615
|
-
function
|
|
1615
|
+
function jt(e, n) {
|
|
1616
1616
|
return {
|
|
1617
1617
|
dashboard: st(e),
|
|
1618
1618
|
semanticExecutionPayload: st(n)
|
|
@@ -1620,7 +1620,7 @@ function Ht(e, n) {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
function ys() {
|
|
1622
1622
|
var Et, Lt, It, At, Mt, Pt, Ot;
|
|
1623
|
-
|
|
1623
|
+
Xa(), Za();
|
|
1624
1624
|
const {
|
|
1625
1625
|
authToken: e,
|
|
1626
1626
|
tokenProps: n,
|
|
@@ -1632,7 +1632,7 @@ function ys() {
|
|
|
1632
1632
|
(d) => d.id === y
|
|
1633
1633
|
), k = Kr(S), L = k ? (Lt = S == null ? void 0 : S.document) == null ? void 0 : Lt.page : void 0, E = N(
|
|
1634
1634
|
(d) => d.isDashboardEditing
|
|
1635
|
-
), { setDashboardTitle: D } = N((d) => d.actions), [ae, Q] = w(!1), [ne, fe] = w(!1), [W, J] = w(!1), [
|
|
1635
|
+
), { setDashboardTitle: D } = N((d) => d.actions), [ae, Q] = w(!1), [ne, fe] = w(!1), [W, J] = w(!1), [Y, X] = w(!1), [ge, be] = w(!1), [xe, ve] = w(!1), [ye, z] = w(!1), [Z, ee] = w(null), [H, v] = w([]), [U, q] = w(!1), we = N((d) => d.isDashboardPanelOpen), Ne = N(
|
|
1636
1636
|
(d) => d.actions.setIsDashboardPanelOpen
|
|
1637
1637
|
), Se = N((d) => d.filterValues), A = N((d) => d.isVisualEditing);
|
|
1638
1638
|
Rt((d) => d.card);
|
|
@@ -1649,10 +1649,10 @@ function ys() {
|
|
|
1649
1649
|
setShowDashboardJSON: gt
|
|
1650
1650
|
} = N((d) => d.actions), { setInitialDashboard: bt, clearSelectedDashboard: ze } = Ue(
|
|
1651
1651
|
(d) => d.actions
|
|
1652
|
-
), { resources: Ce } = wa(
|
|
1652
|
+
), { resources: Ce } = wa(Ye.DASHBOARD), { data: He } = Na(), yr = ((Mt = He == null ? void 0 : He.preference) == null ? void 0 : Mt.defaultDashboardId) || null, { mutate: wr, isPending: Nr } = Sa(), { currentUser: Sr } = lt(), Dr = Da(Sr), T = se || De, xt = T ? {
|
|
1653
1653
|
id: T.id,
|
|
1654
1654
|
title: (o == null ? void 0 : o.title) || T.title || "Dashboard"
|
|
1655
|
-
} : null, { handleAddNewFrame: kr } = ka(), [qe,
|
|
1655
|
+
} : null, { handleAddNewFrame: kr } = ka(), [qe, je] = w(!1), [Cr, oe] = w(!1), [Ve, Ee] = w("close"), ie = Ca(Ye.DASHBOARD), [O, Le] = w(null), Er = async (d, M) => {
|
|
1656
1656
|
if (!(o != null && o.id)) {
|
|
1657
1657
|
console.log("No dashboard ID found");
|
|
1658
1658
|
return;
|
|
@@ -1720,7 +1720,7 @@ function ys() {
|
|
|
1720
1720
|
return;
|
|
1721
1721
|
}
|
|
1722
1722
|
O || !o || b || Le(
|
|
1723
|
-
|
|
1723
|
+
jt(
|
|
1724
1724
|
o,
|
|
1725
1725
|
wt
|
|
1726
1726
|
)
|
|
@@ -1767,7 +1767,7 @@ function ys() {
|
|
|
1767
1767
|
const F = (d == null ? void 0 : d.closeAfterSave) ?? U, Gr = (d == null ? void 0 : d.navigateHomeAfterSave) ?? !1;
|
|
1768
1768
|
q(F), F && oe(!1);
|
|
1769
1769
|
const Br = st(M);
|
|
1770
|
-
z(!0), ee(null), v([]),
|
|
1770
|
+
z(!0), ee(null), v([]), je(!0);
|
|
1771
1771
|
const zr = {
|
|
1772
1772
|
template: M
|
|
1773
1773
|
};
|
|
@@ -1786,15 +1786,15 @@ function ys() {
|
|
|
1786
1786
|
V
|
|
1787
1787
|
) : Re && Je.actions.clearPendingDashboardDraftMigration();
|
|
1788
1788
|
}
|
|
1789
|
-
|
|
1790
|
-
|
|
1789
|
+
je(!1), C.success("Dashboard saved!"), Le(
|
|
1790
|
+
jt(
|
|
1791
1791
|
Br,
|
|
1792
1792
|
N.getState().semanticExecutionPayload
|
|
1793
1793
|
)
|
|
1794
1794
|
), z(!1), q(!1), F && (Qe(), Ae(), Gr && ze()), Ee("close");
|
|
1795
1795
|
},
|
|
1796
1796
|
onError: (P) => {
|
|
1797
|
-
|
|
1797
|
+
je(!1), ee("Failed to save dashboard. Please try again.");
|
|
1798
1798
|
const V = P.details, Oe = Array.isArray(
|
|
1799
1799
|
V == null ? void 0 : V.errors
|
|
1800
1800
|
) ? (V.errors || []).filter(
|
|
@@ -1835,12 +1835,12 @@ function ys() {
|
|
|
1835
1835
|
dashboardId: o == null ? void 0 : o.id,
|
|
1836
1836
|
currentLensName: g == null ? void 0 : g.name
|
|
1837
1837
|
});
|
|
1838
|
-
const Ct = n.orgUserId || n.tenantId && n.endUserId && n.endUserEmail, Ur = !!Ct && !!(e != null && e.accessToken) && !!(n != null && n.apiServiceUrl), Tr = l,
|
|
1838
|
+
const Ct = n.orgUserId || n.tenantId && n.endUserId && n.endUserEmail, Ur = !!Ct && !!(e != null && e.accessToken) && !!(n != null && n.apiServiceUrl), Tr = l, j = (o == null ? void 0 : o.id) || null, Fr = as(
|
|
1839
1839
|
(Pt = n.config) == null ? void 0 : Pt.showBriefings,
|
|
1840
1840
|
r
|
|
1841
|
-
), Pe = !!
|
|
1842
|
-
|
|
1843
|
-
dashboardId: Pe ? null :
|
|
1841
|
+
), Pe = !!j && yr === j, $r = () => {
|
|
1842
|
+
j && wr({
|
|
1843
|
+
dashboardId: Pe ? null : j
|
|
1844
1844
|
});
|
|
1845
1845
|
};
|
|
1846
1846
|
return /* @__PURE__ */ i(
|
|
@@ -1852,7 +1852,7 @@ function ys() {
|
|
|
1852
1852
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
1853
1853
|
Ct && /* @__PURE__ */ i(R, { children: [
|
|
1854
1854
|
/* @__PURE__ */ t(
|
|
1855
|
-
|
|
1855
|
+
Xe,
|
|
1856
1856
|
{
|
|
1857
1857
|
"aria-label": "Manage Dashboards",
|
|
1858
1858
|
tooltip: "Manage Dashboards",
|
|
@@ -1865,14 +1865,14 @@ function ys() {
|
|
|
1865
1865
|
}
|
|
1866
1866
|
),
|
|
1867
1867
|
Tr && !A && /* @__PURE__ */ t(
|
|
1868
|
-
|
|
1868
|
+
Xe,
|
|
1869
1869
|
{
|
|
1870
1870
|
"aria-label": "Dashboard Hub",
|
|
1871
1871
|
tooltip: "Dashboard Hub",
|
|
1872
1872
|
onClick: _r,
|
|
1873
1873
|
className: "h-7 w-7 px-0",
|
|
1874
1874
|
buttonProps: { size: "xs" },
|
|
1875
|
-
children: /* @__PURE__ */ t(
|
|
1875
|
+
children: /* @__PURE__ */ t(Xt, { className: "h-3.5 w-3.5" })
|
|
1876
1876
|
}
|
|
1877
1877
|
)
|
|
1878
1878
|
] }),
|
|
@@ -1905,7 +1905,7 @@ function ys() {
|
|
|
1905
1905
|
isPending: ie.isPending
|
|
1906
1906
|
}
|
|
1907
1907
|
),
|
|
1908
|
-
Ur &&
|
|
1908
|
+
Ur && j && /* @__PURE__ */ t(Qr, { children: /* @__PURE__ */ i(Wr, { children: [
|
|
1909
1909
|
/* @__PURE__ */ t(Jr, { asChild: !0, children: /* @__PURE__ */ t(
|
|
1910
1910
|
_,
|
|
1911
1911
|
{
|
|
@@ -1926,7 +1926,7 @@ function ys() {
|
|
|
1926
1926
|
)
|
|
1927
1927
|
}
|
|
1928
1928
|
) }),
|
|
1929
|
-
/* @__PURE__ */ t(
|
|
1929
|
+
/* @__PURE__ */ t(Yr, { children: /* @__PURE__ */ t("p", { children: Pe ? "Remove as default dashboard" : "Make this a default dashboard" }) })
|
|
1930
1930
|
] }) })
|
|
1931
1931
|
] }))
|
|
1932
1932
|
] }),
|
|
@@ -1947,10 +1947,10 @@ function ys() {
|
|
|
1947
1947
|
]
|
|
1948
1948
|
}
|
|
1949
1949
|
),
|
|
1950
|
-
!A && !E && l &&
|
|
1950
|
+
!A && !E && l && j && Fr && /* @__PURE__ */ t(
|
|
1951
1951
|
rn,
|
|
1952
1952
|
{
|
|
1953
|
-
dashboardId:
|
|
1953
|
+
dashboardId: j,
|
|
1954
1954
|
dashboardTitle: (o == null ? void 0 : o.title) || (T == null ? void 0 : T.title)
|
|
1955
1955
|
}
|
|
1956
1956
|
),
|
|
@@ -1963,7 +1963,7 @@ function ys() {
|
|
|
1963
1963
|
disabled: ae,
|
|
1964
1964
|
onClick: Rr,
|
|
1965
1965
|
children: [
|
|
1966
|
-
/* @__PURE__ */ t(
|
|
1966
|
+
/* @__PURE__ */ t(Gt, { className: "h-3.5 w-3.5" }),
|
|
1967
1967
|
"Save Lens"
|
|
1968
1968
|
]
|
|
1969
1969
|
}
|
|
@@ -2006,7 +2006,7 @@ function ys() {
|
|
|
2006
2006
|
disabled: Me || !Dt,
|
|
2007
2007
|
onClick: () => We(),
|
|
2008
2008
|
children: [
|
|
2009
|
-
Me ? /* @__PURE__ */ t($e, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ t(
|
|
2009
|
+
Me ? /* @__PURE__ */ t($e, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ t(Gt, { className: "h-3.5 w-3.5" }),
|
|
2010
2010
|
Me ? "Saving..." : "Save"
|
|
2011
2011
|
]
|
|
2012
2012
|
}
|
|
@@ -2019,7 +2019,7 @@ function ys() {
|
|
|
2019
2019
|
!A && s && /* @__PURE__ */ t(Nn, {}),
|
|
2020
2020
|
!A && l && /* @__PURE__ */ i(Ma, { children: [
|
|
2021
2021
|
/* @__PURE__ */ t(Pa, { asChild: !0, children: /* @__PURE__ */ t(
|
|
2022
|
-
|
|
2022
|
+
Xe,
|
|
2023
2023
|
{
|
|
2024
2024
|
tooltip: "More Options",
|
|
2025
2025
|
className: "w-7 px-0 text-muted-foreground hover:text-foreground",
|
|
@@ -2065,7 +2065,7 @@ function ys() {
|
|
|
2065
2065
|
/* @__PURE__ */ t(Fe, {})
|
|
2066
2066
|
] }),
|
|
2067
2067
|
/* @__PURE__ */ t(ue, { children: "Preferences" }),
|
|
2068
|
-
/* @__PURE__ */ i($, { onClick: () =>
|
|
2068
|
+
/* @__PURE__ */ i($, { onClick: () => X(!0), children: [
|
|
2069
2069
|
/* @__PURE__ */ t(rr, { className: "h-3.5 w-3.5" }),
|
|
2070
2070
|
"Calendar Preferences"
|
|
2071
2071
|
] }),
|
|
@@ -2082,7 +2082,7 @@ function ys() {
|
|
|
2082
2082
|
).catch(() => C.error("Unable to copy token")) : C.error("Clipboard not available"));
|
|
2083
2083
|
},
|
|
2084
2084
|
children: [
|
|
2085
|
-
/* @__PURE__ */ t(
|
|
2085
|
+
/* @__PURE__ */ t(Tt, { className: "h-3.5 w-3.5" }),
|
|
2086
2086
|
"Copy token"
|
|
2087
2087
|
]
|
|
2088
2088
|
}
|
|
@@ -2110,7 +2110,7 @@ function ys() {
|
|
|
2110
2110
|
) : C.error("Clipboard not available");
|
|
2111
2111
|
},
|
|
2112
2112
|
children: [
|
|
2113
|
-
/* @__PURE__ */ t(
|
|
2113
|
+
/* @__PURE__ */ t(Tt, { className: "h-3.5 w-3.5" }),
|
|
2114
2114
|
"Copy local document PDF URL"
|
|
2115
2115
|
]
|
|
2116
2116
|
}
|
|
@@ -2118,7 +2118,7 @@ function ys() {
|
|
|
2118
2118
|
/* @__PURE__ */ i(
|
|
2119
2119
|
$,
|
|
2120
2120
|
{
|
|
2121
|
-
onSelect: () =>
|
|
2121
|
+
onSelect: () => Xr(n.apiServiceUrl),
|
|
2122
2122
|
children: [
|
|
2123
2123
|
/* @__PURE__ */ t(gn, { className: "h-3.5 w-3.5" }),
|
|
2124
2124
|
"Invalidate token"
|
|
@@ -2159,7 +2159,7 @@ function ys() {
|
|
|
2159
2159
|
$a,
|
|
2160
2160
|
{
|
|
2161
2161
|
resource: xt,
|
|
2162
|
-
resourceType:
|
|
2162
|
+
resourceType: Ye.DASHBOARD,
|
|
2163
2163
|
onClose: () => fe(!1)
|
|
2164
2164
|
}
|
|
2165
2165
|
),
|
|
@@ -2173,8 +2173,8 @@ function ys() {
|
|
|
2173
2173
|
/* @__PURE__ */ t(
|
|
2174
2174
|
dn,
|
|
2175
2175
|
{
|
|
2176
|
-
open:
|
|
2177
|
-
onOpenChange:
|
|
2176
|
+
open: Y,
|
|
2177
|
+
onOpenChange: X
|
|
2178
2178
|
}
|
|
2179
2179
|
),
|
|
2180
2180
|
s && de && l && /* @__PURE__ */ t(Cn, { open: ge, onOpenChange: be }),
|
|
@@ -2193,12 +2193,12 @@ function ys() {
|
|
|
2193
2193
|
!d && qe && !Z || (z(d), d || (ee(null), v([]), q(!1)));
|
|
2194
2194
|
},
|
|
2195
2195
|
children: /* @__PURE__ */ i(za, { className: "max-w-sm", children: [
|
|
2196
|
-
/* @__PURE__ */ i(
|
|
2196
|
+
/* @__PURE__ */ i(Ha, { children: [
|
|
2197
2197
|
/* @__PURE__ */ t(qa, { children: Z ? "Save failed" : "Saving dashboard" }),
|
|
2198
|
-
/* @__PURE__ */ t(
|
|
2199
|
-
|
|
2198
|
+
/* @__PURE__ */ t(ja, { className: "pt-2", children: Z ? "We could not save the dashboard. Please try again." : "Please wait while we save your changes." }),
|
|
2199
|
+
H.length > 0 && /* @__PURE__ */ i("div", { className: "space-y-1 rounded-md border border-destructive/20 bg-destructive/5 p-3 text-left", children: [
|
|
2200
2200
|
/* @__PURE__ */ t("div", { className: "text-sm font-medium text-destructive", children: "What needs attention" }),
|
|
2201
|
-
/* @__PURE__ */ t("ul", { className: "list-disc space-y-1 pl-4 text-xs text-muted-foreground", children:
|
|
2201
|
+
/* @__PURE__ */ t("ul", { className: "list-disc space-y-1 pl-4 text-xs text-muted-foreground", children: H.slice(0, 5).map((d) => /* @__PURE__ */ t("li", { children: d }, d)) })
|
|
2202
2202
|
] })
|
|
2203
2203
|
] }),
|
|
2204
2204
|
/* @__PURE__ */ t(Va, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: Z ? /* @__PURE__ */ i(R, { children: [
|
|
@@ -2213,7 +2213,7 @@ function ys() {
|
|
|
2213
2213
|
}
|
|
2214
2214
|
),
|
|
2215
2215
|
/* @__PURE__ */ t(
|
|
2216
|
-
|
|
2216
|
+
Ft,
|
|
2217
2217
|
{
|
|
2218
2218
|
onClick: () => We({
|
|
2219
2219
|
closeAfterSave: U,
|
|
@@ -2223,7 +2223,7 @@ function ys() {
|
|
|
2223
2223
|
children: "Retry"
|
|
2224
2224
|
}
|
|
2225
2225
|
)
|
|
2226
|
-
] }) : /* @__PURE__ */ i(
|
|
2226
|
+
] }) : /* @__PURE__ */ i(Ft, { disabled: !0, className: "m-0 cursor-default", children: [
|
|
2227
2227
|
/* @__PURE__ */ t($e, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
2228
2228
|
"Saving..."
|
|
2229
2229
|
] }) })
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useMemo as m, useState as b, useRef as f, useEffect as
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as m, useState as b, useRef as f, useEffect as S } from "react";
|
|
3
3
|
import "./index-CuHybtft.js";
|
|
4
|
-
import { u as o, a as
|
|
5
|
-
import "./index-
|
|
4
|
+
import { u as o, a as p, B as N, X as D, C as J } from "./switch-Dkx2qEOr.js";
|
|
5
|
+
import "./index-CPyEi9gS.js";
|
|
6
6
|
import "./index-CJdxSyQq.js";
|
|
7
|
-
import "react-dom/client";
|
|
8
7
|
import "react-dom";
|
|
9
|
-
function
|
|
8
|
+
function V() {
|
|
10
9
|
const e = o((s) => s.dashboard), c = o((s) => s.actions.setDashboard), h = o(
|
|
11
10
|
(s) => s.showDashboardJSON
|
|
12
11
|
), l = o(
|
|
@@ -15,16 +14,16 @@ function j() {
|
|
|
15
14
|
() => e ? JSON.stringify(e, null, 2) : "",
|
|
16
15
|
[e]
|
|
17
16
|
), [u, n] = b(a), r = f(a);
|
|
18
|
-
return
|
|
17
|
+
return S(() => {
|
|
19
18
|
a !== r.current && (n(a), r.current = a);
|
|
20
|
-
}, [a]), /* @__PURE__ */
|
|
19
|
+
}, [a]), /* @__PURE__ */ i(
|
|
21
20
|
"div",
|
|
22
21
|
{
|
|
23
|
-
className:
|
|
22
|
+
className: p("relative p-2", {
|
|
24
23
|
hidden: !h
|
|
25
24
|
}),
|
|
26
25
|
children: [
|
|
27
|
-
/* @__PURE__ */
|
|
26
|
+
/* @__PURE__ */ i(
|
|
28
27
|
N,
|
|
29
28
|
{
|
|
30
29
|
variant: "secondary",
|
|
@@ -44,12 +43,12 @@ function j() {
|
|
|
44
43
|
onValueChange: (s) => {
|
|
45
44
|
n(s);
|
|
46
45
|
try {
|
|
47
|
-
const
|
|
46
|
+
const d = JSON.parse(s);
|
|
48
47
|
r.current = JSON.stringify(
|
|
49
|
-
|
|
48
|
+
d,
|
|
50
49
|
null,
|
|
51
50
|
2
|
|
52
|
-
), c(
|
|
51
|
+
), c(d);
|
|
53
52
|
} catch {
|
|
54
53
|
}
|
|
55
54
|
},
|
|
@@ -61,5 +60,5 @@ function j() {
|
|
|
61
60
|
);
|
|
62
61
|
}
|
|
63
62
|
export {
|
|
64
|
-
|
|
63
|
+
V as default
|
|
65
64
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),o=require("react");require("./index-BxM99sFL.js");const s=require("./switch-fIkmwzUt.js");require("./index-BtqYNH_S.js");require("./index-DRlMUglg.js");require("react-dom");function b(){const t=s.useDashboardStore(e=>e.dashboard),c=s.useDashboardStore(e=>e.actions.setDashboard),u=s.useDashboardStore(e=>e.showDashboardJSON),h=s.useDashboardStore(e=>e.actions.setShowDashboardJSON),a=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,d]=o.useState(a),n=o.useRef(a);return o.useEffect(()=>{a!==n.current&&(d(a),n.current=a)},[a]),r.jsxs("div",{className:s.cn("relative p-2",{hidden:!u}),children:[r.jsxs(s.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[r.jsx(s.X,{className:"mr-2 h-4 w-4"}),"Close"]}),r.jsx("div",{className:"h-[550px] overflow-hidden",children:r.jsx(s.CodeEditor,{value:l,onValueChange:e=>{d(e);try{const i=JSON.parse(e);n.current=JSON.stringify(i,null,2),c(i)}catch{}},language:"json"})})]})}exports.default=b;
|