react-semaphor 0.1.376 → 0.1.377
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 +47 -43
- package/dist/brand-studio/index.cjs +4 -4
- package/dist/brand-studio/index.js +10 -8
- package/dist/chunks/braces-C2uBgj3t.js +6 -0
- package/dist/chunks/braces-CkXyWzRh.js +23 -0
- package/dist/chunks/{calendar-preferences-dialog-B6fsethx.js → calendar-preferences-dialog-C55VOTIy.js} +6 -5
- package/dist/chunks/calendar-preferences-dialog-DAukJOaP.js +1 -0
- package/dist/chunks/catalog-field-grounding-BGW0hnB9.js +1 -0
- package/dist/chunks/catalog-field-grounding-DHXEI7cW.js +199 -0
- package/dist/chunks/{chevrons-up-down-lahj6tQy.js → chevrons-up-down-BnzChFLU.js} +1 -1
- package/dist/chunks/{chevrons-up-down-D2fZD4N_.js → chevrons-up-down-W0nzHzx0.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-BKCRO7Qw.js → dashboard-briefing-launcher-CUyeiL_T.js} +3153 -2392
- package/dist/chunks/dashboard-briefing-launcher-DMKfG_z3.js +111 -0
- package/dist/chunks/dashboard-controls-B4hxFc3Q.js +2279 -0
- package/dist/chunks/dashboard-controls-D4vI0wvU.js +52 -0
- package/dist/chunks/dashboard-json-DQnm6daE.js +1 -0
- package/dist/chunks/{dashboard-json-QT0T2ad_.js → dashboard-json-pl1_mFqJ.js} +14 -13
- package/dist/chunks/{edit-dashboard-visual-kNoMQRmH.js → edit-dashboard-visual-CF4aSsav.js} +1489 -1488
- package/dist/chunks/{edit-dashboard-visual-DNzPgXMh.js → edit-dashboard-visual-CjTXY51a.js} +1 -1
- package/dist/chunks/{index-CPpqPJba.js → index-B2kPleRS.js} +4 -4
- package/dist/chunks/{index-DX_0OcRv.js → index-Bn866BBY.js} +67 -67
- package/dist/chunks/layout-grid-BFmJ7vmH.js +16 -0
- package/dist/chunks/layout-grid-CTOW9oTg.js +6 -0
- package/dist/chunks/{palette-BcHHAmOU.js → palette-DrhPeer-.js} +1 -1
- package/dist/chunks/{palette-2HWSR5wb.js → palette-OFaniMPn.js} +1 -1
- package/dist/chunks/{save-MoF1T13_.js → save-BxWBiQv1.js} +1 -1
- package/dist/chunks/{save-B-YfAPhu.js → save-Dh6gSC4x.js} +1 -1
- package/dist/chunks/{switch-DmE_MY3L.js → switch-C-fGjxjY.js} +1 -1
- package/dist/chunks/{switch-CmHP5dT7.js → switch-D5xopzFD.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-BLPQgGuz.js → use-create-flow-overlay-state-Dg2ffpCE.js} +2 -2
- package/dist/chunks/{use-create-flow-overlay-state-D_Ntx-_C.js → use-create-flow-overlay-state-DrKP0jWE.js} +113 -112
- package/dist/chunks/{validation-1V7bWmYw.js → validation-BHFaWDU-.js} +1 -1
- package/dist/chunks/{validation-DlrTIf1N.js → validation-bMedDBOo.js} +1 -1
- 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 +1 -1
- package/dist/data-app-builder/index.js +3 -3
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +22 -21
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +127 -125
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/analytics-protocol.d.ts +84 -0
- package/dist/types/main.d.ts +7 -0
- package/package.json +1 -1
- package/dist/chunks/calendar-preferences-dialog-Dh1b0ytN.js +0 -1
- package/dist/chunks/catalog-field-grounding-DoEBOXQd.js +0 -100
- package/dist/chunks/catalog-field-grounding-Du6mKDcF.js +0 -1
- package/dist/chunks/dashboard-briefing-launcher-Gv1cwT0I.js +0 -111
- package/dist/chunks/dashboard-controls-BDJZarV7.js +0 -52
- package/dist/chunks/dashboard-controls-CchLBVDv.js +0 -3037
- package/dist/chunks/dashboard-json-ZhIEMXN0.js +0 -1
- package/dist/chunks/layout-grid-BOTLt36V.js +0 -36
- package/dist/chunks/layout-grid-CS6BSCJF.js +0 -11
|
@@ -19,16 +19,16 @@ import * as J from "react";
|
|
|
19
19
|
import se, { createContext as Sr, useContext as Fn, useState as ee, useMemo as Q, useEffect as we, useCallback as me, useRef as Re, forwardRef as Ii, isValidElement as sg, memo as ds, useLayoutEffect as ca, Component as PY, createElement as Lo, Suspense as rc, cloneElement as NO, Fragment as Qx, useId as Ic, useSyncExternalStore as SS, useTransition as Mpe, useReducer as Ape, Children as Rpe, startTransition as FY, useImperativeHandle as OY, lazy as $k } from "react";
|
|
20
20
|
import * as AA from "react-dom";
|
|
21
21
|
import Jx, { flushSync as au, createPortal as Bm, unstable_batchedUpdates as T1 } from "react-dom";
|
|
22
|
-
import { bC as su, bD as ew, bE as RA, E as Sn, bF as zk, bG as LY, u as te, bH as Ppe, bk as Gn, b3 as Pa, bI as qz, bJ as Fpe, bK as Ope, bL as Lpe, aF as $pe, bM as zpe, r as Is, a as X, c as nt, X as dn, bN as Tu, bO as _l, bP as en, bQ as lo, bR as _O, bS as Hs, bT as kO, bU as $n, bV as Vk, bW as Bk, bX as $Y, bY as zY, bZ as VY, b_ as BY, b$ as IO, c0 as TO, c1 as jY, c2 as HY, c3 as UY, c4 as Vpe, aA as EO, c5 as jk, c6 as DO, c7 as ua, c8 as qY, c9 as kl, ca as bc, e as ur, B as Me, f as to, cb as MO, by as Ou, cc as tw, aD as Hk, aE as si, cd as Xr, ce as Bpe, g as Ra, Q as Ja, aC as Wd, cf as pN, P as dr, b as vr, d as xr, aM as jpe, cg as Hpe, aN as Upe, ch as nw, L as ct, a0 as Bt, aI as go, ci as qpe, cj as WY, ck as Wpe, cl as gN, cm as PA, cn as bb, co as yb, cp as Wz, cq as Ype, cr as YY, cs as GY, ct as Gpe, cu as Kpe, cv as Zpe, cw as Xpe, aV as Eu, aJ as rw, bt as AO, G as it, aO as or, ay as RO, cx as FA, bj as KY, br as Rs, bs as al, cy as Qpe, cz as Jpe, H as yo, cA as ZY, cB as bN, cC as XY, cD as QY, aG as Uk, cE as qk, cF as PO, cG as FO, bv as Lu, cH as JY, bu as $u, cI as ege, cJ as OO, bw as LO, cK as tge, bf as RE, aP as es, cL as bh, cM as im, y as nge, V as Ga, a1 as qt, a2 as Wt, a3 as Gt, a4 as Yt, a5 as Ye, cN as eG, cO as rge, aU as jm, cP as oge, cQ as Di, be as qo, bc as ige, bd as age, S as Lg, cR as $O, cS as tG, cT as nG, cU as rG, cV as yN, W as bo, Y as kr, Z as Ir, _ as io, $ as qr, cW as sge, b4 as oG, cX as iG, cY as lge, cZ as cge, c_ as uge, T as zu, I as Vu, J as Ci, M as Od, K as Du, bA as xd, bB as lu, c$ as Y0, d0 as NS, d1 as _S, d2 as G0, d3 as Xf, d4 as Qf, d5 as Js, d6 as kS, d7 as IS, d8 as K0, d9 as OA, da as LA, db as $A, dc as aG, n as yl, m as Yd, dd as dge, de as m0, df as fge, dg as sG, dh as PE, di as FE, dj as hge, dk as mge, dl as pge, dm as gge, dn as bge, dp as yge, dq as zO, aL as vge, dr as xge, ds as wge, dt as lG, du as cG, C as Wk, aW as uG, dv as Cge, dw as Sge, b2 as dG, dx as Nge, aB as _ge, dy as kge, dz as fG, b5 as hG, dA as Ige, b8 as wd, dB as Mv, b9 as VO, dC as mG, dD as Sy, bi as Yz, dE as pG, dF as Tge, dG as Ege, dH as Dge, dI as gG, dJ as Gz, dK as bG, dL as ld, dM as yG, dN as vG, dO as BO, a6 as yc, dP as Mge, dQ as Age, bn as Yk, aH as Z0, aR as jO, N as HO, A as Rge, dR as Pge, dS as Fge, O as zA, dT as Oge, dU as Kz, dV as Zz, dW as xG, dX as Lge, dY as $ge, dZ as zge, d_ as Vge, d$ as Bge, e0 as jge, e1 as Hge, e2 as Uge, e3 as qge, w as VA, q as wG, p as CG, l as Wge, k as Xz, e4 as BA, e5 as Yge, e6 as Gge, e7 as Kge, e8 as Zge, e9 as Xge, ea as Ld, eb as UO, ec as Xl, bx as Qge, ed as Jge, ee as SG, ef as ebe, am as qO, eg as WO, ah as Gk, ai as tbe, ak as NG, eh as nbe, al as OE, ei as rbe, ej as obe, ek as ibe, aZ as abe, a_ as sbe, as as lbe, aa as _G, el as Pl, ad as cbe, af as kG, ae as LE, ar as IG, an as TG, at as jA, aw as Qz, av as ube, ag as EG, em as HA, en as Cd, R as Jz, eo as DG, ep as E1, eq as dbe, er as YO, es as UA, et as fbe, eu as Av, aS as hbe, ev as mbe, a8 as pbe, az as gbe, U as GO, ew as bbe, bo as vb, bp as MG, bq as AG, ex as RG, ey as KO, ez as ZO, bm as PG, b6 as ybe, eA as vbe, eB as xbe, eC as wbe, eD as Cbe, eE as Sbe, eF as FG } from "./switch-
|
|
22
|
+
import { bC as su, bD as ew, bE as RA, E as Sn, bF as zk, bG as LY, u as te, bH as Ppe, bk as Gn, b3 as Pa, bI as qz, bJ as Fpe, bK as Ope, bL as Lpe, aF as $pe, bM as zpe, r as Is, a as X, c as nt, X as dn, bN as Tu, bO as _l, bP as en, bQ as lo, bR as _O, bS as Hs, bT as kO, bU as $n, bV as Vk, bW as Bk, bX as $Y, bY as zY, bZ as VY, b_ as BY, b$ as IO, c0 as TO, c1 as jY, c2 as HY, c3 as UY, c4 as Vpe, aA as EO, c5 as jk, c6 as DO, c7 as ua, c8 as qY, c9 as kl, ca as bc, e as ur, B as Me, f as to, cb as MO, by as Ou, cc as tw, aD as Hk, aE as si, cd as Xr, ce as Bpe, g as Ra, Q as Ja, aC as Wd, cf as pN, P as dr, b as vr, d as xr, aM as jpe, cg as Hpe, aN as Upe, ch as nw, L as ct, a0 as Bt, aI as go, ci as qpe, cj as WY, ck as Wpe, cl as gN, cm as PA, cn as bb, co as yb, cp as Wz, cq as Ype, cr as YY, cs as GY, ct as Gpe, cu as Kpe, cv as Zpe, cw as Xpe, aV as Eu, aJ as rw, bt as AO, G as it, aO as or, ay as RO, cx as FA, bj as KY, br as Rs, bs as al, cy as Qpe, cz as Jpe, H as yo, cA as ZY, cB as bN, cC as XY, cD as QY, aG as Uk, cE as qk, cF as PO, cG as FO, bv as Lu, cH as JY, bu as $u, cI as ege, cJ as OO, bw as LO, cK as tge, bf as RE, aP as es, cL as bh, cM as im, y as nge, V as Ga, a1 as qt, a2 as Wt, a3 as Gt, a4 as Yt, a5 as Ye, cN as eG, cO as rge, aU as jm, cP as oge, cQ as Di, be as qo, bc as ige, bd as age, S as Lg, cR as $O, cS as tG, cT as nG, cU as rG, cV as yN, W as bo, Y as kr, Z as Ir, _ as io, $ as qr, cW as sge, b4 as oG, cX as iG, cY as lge, cZ as cge, c_ as uge, T as zu, I as Vu, J as Ci, M as Od, K as Du, bA as xd, bB as lu, c$ as Y0, d0 as NS, d1 as _S, d2 as G0, d3 as Xf, d4 as Qf, d5 as Js, d6 as kS, d7 as IS, d8 as K0, d9 as OA, da as LA, db as $A, dc as aG, n as yl, m as Yd, dd as dge, de as m0, df as fge, dg as sG, dh as PE, di as FE, dj as hge, dk as mge, dl as pge, dm as gge, dn as bge, dp as yge, dq as zO, aL as vge, dr as xge, ds as wge, dt as lG, du as cG, C as Wk, aW as uG, dv as Cge, dw as Sge, b2 as dG, dx as Nge, aB as _ge, dy as kge, dz as fG, b5 as hG, dA as Ige, b8 as wd, dB as Mv, b9 as VO, dC as mG, dD as Sy, bi as Yz, dE as pG, dF as Tge, dG as Ege, dH as Dge, dI as gG, dJ as Gz, dK as bG, dL as ld, dM as yG, dN as vG, dO as BO, a6 as yc, dP as Mge, dQ as Age, bn as Yk, aH as Z0, aR as jO, N as HO, A as Rge, dR as Pge, dS as Fge, O as zA, dT as Oge, dU as Kz, dV as Zz, dW as xG, dX as Lge, dY as $ge, dZ as zge, d_ as Vge, d$ as Bge, e0 as jge, e1 as Hge, e2 as Uge, e3 as qge, w as VA, q as wG, p as CG, l as Wge, k as Xz, e4 as BA, e5 as Yge, e6 as Gge, e7 as Kge, e8 as Zge, e9 as Xge, ea as Ld, eb as UO, ec as Xl, bx as Qge, ed as Jge, ee as SG, ef as ebe, am as qO, eg as WO, ah as Gk, ai as tbe, ak as NG, eh as nbe, al as OE, ei as rbe, ej as obe, ek as ibe, aZ as abe, a_ as sbe, as as lbe, aa as _G, el as Pl, ad as cbe, af as kG, ae as LE, ar as IG, an as TG, at as jA, aw as Qz, av as ube, ag as EG, em as HA, en as Cd, R as Jz, eo as DG, ep as E1, eq as dbe, er as YO, es as UA, et as fbe, eu as Av, aS as hbe, ev as mbe, a8 as pbe, az as gbe, U as GO, ew as bbe, bo as vb, bp as MG, bq as AG, ex as RG, ey as KO, ez as ZO, bm as PG, b6 as ybe, eA as vbe, eB as xbe, eC as wbe, eD as Cbe, eE as Sbe, eF as FG } from "./switch-C-fGjxjY.js";
|
|
23
23
|
import { j as Nbe } from "./index-CuHybtft.js";
|
|
24
|
-
import { c as
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
24
|
+
import { c as _be } from "./catalog-field-grounding-DHXEI7cW.js";
|
|
25
|
+
import { c as ow, d as kbe, A as Ibe, r as OG } from "./index-CJdxSyQq.js";
|
|
26
|
+
import { createRoot as Tbe } from "react-dom/client";
|
|
27
|
+
import { DEFAULT_SEMANTIC_DOMAIN_ACCESS as Ebe } from "../types/index.js";
|
|
28
|
+
import { i as Dbe, g as Mbe, c as qA, d as Abe, f as pf, a as iw, b as Hm, j as lg } from "./date-formatter-CzcPZx39.js";
|
|
29
|
+
import { t as XO, c as Rbe, j as QO, k as LG, f as Ur, i as Pbe, h as e6, d as $G } from "./index-DFOb_6HB.js";
|
|
29
30
|
import { a as ts, b as t6 } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
|
|
30
|
-
import { a as os, c as n6, C as $d, i as zG, b as
|
|
31
|
-
import { b as Obe } from "./catalog-field-grounding-DoEBOXQd.js";
|
|
31
|
+
import { a as os, c as n6, C as $d, i as zG, b as Fbe, d as Obe } from "./common-types-4bjoIgvm.js";
|
|
32
32
|
import { a as Lbe } from "./source-identity-Dj3dryN9.js";
|
|
33
33
|
import { isDashboardAssistantVisualToolPartType as VG } from "../dashboard-assistant/index.js";
|
|
34
34
|
import { D as $be } from "./contracts-CoCOpd_i.js";
|
|
@@ -39,7 +39,7 @@ result = df.to_dict('records') # must return 'result' as [dict] type
|
|
|
39
39
|
`;
|
|
40
40
|
function Vbe(e, t) {
|
|
41
41
|
const n = +XO(e);
|
|
42
|
-
return
|
|
42
|
+
return Rbe(e, n + t);
|
|
43
43
|
}
|
|
44
44
|
function vN(e, t) {
|
|
45
45
|
return Vbe(e, t * QO);
|
|
@@ -11153,7 +11153,7 @@ function R6(e, t = {}) {
|
|
|
11153
11153
|
return n;
|
|
11154
11154
|
}
|
|
11155
11155
|
function ky(e) {
|
|
11156
|
-
return e ?
|
|
11156
|
+
return e ? kbe(e) : void 0;
|
|
11157
11157
|
}
|
|
11158
11158
|
function FCe(e) {
|
|
11159
11159
|
return `${Number((e / 16).toFixed(4))}rem`;
|
|
@@ -17398,7 +17398,7 @@ function wke(e) {
|
|
|
17398
17398
|
return t === "date" || t === "datetime" ? "date" : "dimension";
|
|
17399
17399
|
}
|
|
17400
17400
|
function IQ(e) {
|
|
17401
|
-
const t =
|
|
17401
|
+
const t = _be(e);
|
|
17402
17402
|
return t === "string" || t === "number" || t === "boolean" || t === "date" || t === "datetime" ? t : "unknown";
|
|
17403
17403
|
}
|
|
17404
17404
|
function c2(e) {
|
|
@@ -22063,7 +22063,7 @@ function zJ(e, t = {}) {
|
|
|
22063
22063
|
);
|
|
22064
22064
|
}
|
|
22065
22065
|
function VJ(e, t = {}) {
|
|
22066
|
-
return
|
|
22066
|
+
return Abe(e, {
|
|
22067
22067
|
...zN(t, {
|
|
22068
22068
|
min: 2,
|
|
22069
22069
|
max: 2
|
|
@@ -22097,13 +22097,13 @@ function eEe(e, t = {}) {
|
|
|
22097
22097
|
}
|
|
22098
22098
|
}
|
|
22099
22099
|
function tEe(e, t = {}) {
|
|
22100
|
-
return
|
|
22100
|
+
return Mbe(
|
|
22101
22101
|
e,
|
|
22102
22102
|
zN(t, { min: 2, max: 2 })
|
|
22103
22103
|
);
|
|
22104
22104
|
}
|
|
22105
22105
|
function nEe(e, t = {}) {
|
|
22106
|
-
return
|
|
22106
|
+
return Dbe(e, {
|
|
22107
22107
|
inputUnit: t.durationInputUnit,
|
|
22108
22108
|
outputStyle: t.durationDisplayStyle,
|
|
22109
22109
|
largestUnit: t.durationLargestUnit,
|
|
@@ -71655,7 +71655,7 @@ function rse({
|
|
|
71655
71655
|
};
|
|
71656
71656
|
if (_ === "months") {
|
|
71657
71657
|
const z = k != null && k.from ? (() => {
|
|
71658
|
-
const P =
|
|
71658
|
+
const P = Pbe(k.from, r);
|
|
71659
71659
|
return {
|
|
71660
71660
|
year: jbe(P),
|
|
71661
71661
|
month: Bbe(P)
|
|
@@ -75853,7 +75853,7 @@ function FT(e) {
|
|
|
75853
75853
|
colors: [...e.chartPalette],
|
|
75854
75854
|
mode: e.mode,
|
|
75855
75855
|
appearance: {
|
|
75856
|
-
version:
|
|
75856
|
+
version: Ibe,
|
|
75857
75857
|
mode: e.mode,
|
|
75858
75858
|
colors: Ka(e.colorValues),
|
|
75859
75859
|
typography: Ka(t == null ? void 0 : t.typography),
|
|
@@ -100488,7 +100488,7 @@ function Iot({
|
|
|
100488
100488
|
() => Cot(e, r),
|
|
100489
100489
|
[e, r]
|
|
100490
100490
|
), s = Q(() => Sot(a), [a]), l = Q(() => a.map((p) => {
|
|
100491
|
-
const g = p.label || p.name, b = p.role === "metric" && zG(p) || p.role === "groupby" &&
|
|
100491
|
+
const g = p.label || p.name, b = p.role === "metric" && zG(p) || p.role === "groupby" && Fbe(p);
|
|
100492
100492
|
return {
|
|
100493
100493
|
...p,
|
|
100494
100494
|
baseLabel: g,
|
|
@@ -122679,7 +122679,7 @@ function hgt(e) {
|
|
|
122679
122679
|
return "dimension";
|
|
122680
122680
|
}
|
|
122681
122681
|
function mgt(e) {
|
|
122682
|
-
return !!(e != null && e.fieldScope || e != null && e.calculatedFormula || e != null && e.calculatedField || e != null && e.isCalculated ||
|
|
122682
|
+
return !!(e != null && e.fieldScope || e != null && e.calculatedFormula || e != null && e.calculatedField || e != null && e.isCalculated || Obe(e));
|
|
122683
122683
|
}
|
|
122684
122684
|
function pgt(e, t) {
|
|
122685
122685
|
const n = t == null ? void 0 : t(e), r = hgt(e);
|
|
@@ -124809,7 +124809,7 @@ function Rhe({
|
|
|
124809
124809
|
saveAsDashboardDefault: a = !1
|
|
124810
124810
|
}) {
|
|
124811
124811
|
var le, Se;
|
|
124812
|
-
const { tokenProps: s } = Et(), l = s.config, c = s.semanticDomainAccess ||
|
|
124812
|
+
const { tokenProps: s } = Et(), l = s.config, c = s.semanticDomainAccess || Ebe, [u, f] = ee([]), [h, m] = ee(void 0), [p, g] = ee(""), [b, y] = ee("all"), [x, v] = ee(
|
|
124813
124813
|
void 0
|
|
124814
124814
|
), w = Re(!1), { updateDataSource: S } = yo(), N = te((ce) => ce.isVisualEditing), _ = te((ce) => ce.dashboard.aiContext), { setAiContext: k } = Sn(), E = c.mode, I = (l == null ? void 0 : l.showDirectSource) !== !1, T = E === "include" || E === "exclude" || !I, D = E !== "all", A = I && !T, F = T ? "semanticDomain" : n.mode, R = r === "dataSource" && !I, H = E === "include" && (((le = c.domainIds) == null ? void 0 : le.length) || 0) === 1 ? (Se = c.domainIds) == null ? void 0 : Se[0] : void 0, $ = me(
|
|
124815
124815
|
(ce) => {
|
|
@@ -142516,9 +142516,9 @@ function l_t() {
|
|
|
142516
142516
|
}
|
|
142517
142517
|
);
|
|
142518
142518
|
}
|
|
142519
|
-
const c_t = $k(() => import("./dashboard-controls-
|
|
142520
|
-
() => import("./edit-dashboard-visual-
|
|
142521
|
-
), d_t = $k(() => import("./dashboard-json-
|
|
142519
|
+
const c_t = $k(() => import("./dashboard-controls-B4hxFc3Q.js")), u_t = $k(
|
|
142520
|
+
() => import("./edit-dashboard-visual-CF4aSsav.js")
|
|
142521
|
+
), d_t = $k(() => import("./dashboard-json-pl1_mFqJ.js"));
|
|
142522
142522
|
function PIt({
|
|
142523
142523
|
showControls: e = !1,
|
|
142524
142524
|
showFooter: t = !0,
|
|
@@ -142694,7 +142694,7 @@ function w_t(e, t, n) {
|
|
|
142694
142694
|
return h;
|
|
142695
142695
|
}
|
|
142696
142696
|
function C_t(e, t, n) {
|
|
142697
|
-
const r =
|
|
142697
|
+
const r = Tbe(e), o = se.createElement(t, n);
|
|
142698
142698
|
return r.render(o), {
|
|
142699
142699
|
root: r,
|
|
142700
142700
|
ReactComponent: t
|
|
@@ -143565,21 +143565,21 @@ export {
|
|
|
143565
143565
|
Rw as a9,
|
|
143566
143566
|
Cg as aA,
|
|
143567
143567
|
SK as aB,
|
|
143568
|
-
|
|
143569
|
-
|
|
143570
|
-
|
|
143571
|
-
|
|
143572
|
-
|
|
143573
|
-
|
|
143574
|
-
|
|
143575
|
-
|
|
143576
|
-
|
|
143577
|
-
|
|
143578
|
-
|
|
143579
|
-
|
|
143580
|
-
|
|
143581
|
-
|
|
143582
|
-
|
|
143568
|
+
DHe as aC,
|
|
143569
|
+
jo as aD,
|
|
143570
|
+
qle as aE,
|
|
143571
|
+
bkt as aF,
|
|
143572
|
+
wb as aG,
|
|
143573
|
+
N5 as aH,
|
|
143574
|
+
pIt as aI,
|
|
143575
|
+
m3 as aJ,
|
|
143576
|
+
sue as aK,
|
|
143577
|
+
gle as aL,
|
|
143578
|
+
ny as aM,
|
|
143579
|
+
$T as aN,
|
|
143580
|
+
ple as aO,
|
|
143581
|
+
U_ as aP,
|
|
143582
|
+
wv as aQ,
|
|
143583
143583
|
ti as aR,
|
|
143584
143584
|
h3 as aS,
|
|
143585
143585
|
Ckt as aT,
|
|
@@ -143628,29 +143628,29 @@ export {
|
|
|
143628
143628
|
a1e as b7,
|
|
143629
143629
|
oc as b8,
|
|
143630
143630
|
vl as b9,
|
|
143631
|
-
|
|
143632
|
-
|
|
143633
|
-
|
|
143634
|
-
|
|
143635
|
-
|
|
143636
|
-
|
|
143637
|
-
|
|
143638
|
-
|
|
143639
|
-
|
|
143640
|
-
|
|
143641
|
-
|
|
143642
|
-
|
|
143643
|
-
|
|
143644
|
-
|
|
143645
|
-
|
|
143646
|
-
|
|
143647
|
-
|
|
143648
|
-
|
|
143649
|
-
|
|
143650
|
-
|
|
143651
|
-
|
|
143652
|
-
|
|
143653
|
-
|
|
143631
|
+
Qa as bA,
|
|
143632
|
+
ave as bB,
|
|
143633
|
+
sve as bC,
|
|
143634
|
+
fve as bD,
|
|
143635
|
+
Yi as bE,
|
|
143636
|
+
Gi as bF,
|
|
143637
|
+
Ni as bG,
|
|
143638
|
+
Hn as bH,
|
|
143639
|
+
N6 as bI,
|
|
143640
|
+
Sb as bJ,
|
|
143641
|
+
gf as bK,
|
|
143642
|
+
EZ as bL,
|
|
143643
|
+
w5 as bM,
|
|
143644
|
+
C5 as bN,
|
|
143645
|
+
VNt as bO,
|
|
143646
|
+
xkt as bP,
|
|
143647
|
+
Bwe as bQ,
|
|
143648
|
+
ACe as bR,
|
|
143649
|
+
F0e as bS,
|
|
143650
|
+
M0e as bT,
|
|
143651
|
+
S6 as bU,
|
|
143652
|
+
Os as bV,
|
|
143653
|
+
Nve as bW,
|
|
143654
143654
|
Tb as bX,
|
|
143655
143655
|
wkt as bY,
|
|
143656
143656
|
The as bZ,
|
|
@@ -143675,12 +143675,12 @@ export {
|
|
|
143675
143675
|
f5 as br,
|
|
143676
143676
|
Ts as bs,
|
|
143677
143677
|
uw as bt,
|
|
143678
|
-
|
|
143679
|
-
|
|
143680
|
-
|
|
143681
|
-
|
|
143682
|
-
|
|
143683
|
-
|
|
143678
|
+
RIt as bu,
|
|
143679
|
+
nSe as bv,
|
|
143680
|
+
k1e as bw,
|
|
143681
|
+
ywe as bx,
|
|
143682
|
+
Ekt as by,
|
|
143683
|
+
Owe as bz,
|
|
143684
143684
|
ma as c,
|
|
143685
143685
|
$It as c$,
|
|
143686
143686
|
Qit as c0,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { c as t } from "./switch-C-fGjxjY.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.453.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const r = t("LayoutGrid", [
|
|
9
|
+
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
|
10
|
+
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
11
|
+
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
|
12
|
+
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
|
13
|
+
]);
|
|
14
|
+
export {
|
|
15
|
+
r as L
|
|
16
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";const t=require("./switch-D5xopzFD.js");/**
|
|
2
|
+
* @license lucide-react v0.453.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const e=t.createLucideIcon("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);exports.LayoutGrid=e;
|
|
@@ -2,11 +2,11 @@ import { jsx as x, jsxs as be, Fragment as Dr } from "react/jsx-runtime";
|
|
|
2
2
|
import * as f from "react";
|
|
3
3
|
import Ce, { createContext as ef, useContext as tf, forwardRef as Bs, createElement as Oo, useLayoutEffect as rf, useState as nf, useMemo as of, useId as af } from "react";
|
|
4
4
|
import { j as ui } from "./index-CuHybtft.js";
|
|
5
|
+
import { c as fi } from "./catalog-field-grounding-DHXEI7cW.js";
|
|
5
6
|
import * as Tn from "react-dom";
|
|
6
7
|
import sf from "react-dom";
|
|
7
8
|
import { S as lf, b as ua, c as $s, d as cf, e as df, r as uf } from "./index-CJdxSyQq.js";
|
|
8
9
|
import "react-dom/client";
|
|
9
|
-
import { b as fi } from "./catalog-field-grounding-DoEBOXQd.js";
|
|
10
10
|
import { createFrameLayouts as ff } from "../layouts/index.js";
|
|
11
11
|
import { t as Us, c as Mo, f as js, h as Cr, i as pf } from "./index-DFOb_6HB.js";
|
|
12
12
|
import { a as fa, C as zs } from "./common-types-4bjoIgvm.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const x=require("react/jsx-runtime"),ie=require("react"),_i=require("./index-BxM99sFL.js"),gl=require("react-dom"),ut=require("./index-DRlMUglg.js");require("react-dom/client");const Oi=require("./catalog-field-grounding-Du6mKDcF.js"),gp=require("../layouts/index.cjs"),xe=require("./index-D7KJindZ.js"),xn=require("./common-types-C73-Ud1-.js");function yl(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const f=yl(ie),Bn=yl(gl),Xa=e=>{let r;const t=new Set,n=(c,u)=>{const d=typeof c=="function"?c(r):c;if(!Object.is(d,r)){const p=r;r=u??(typeof d!="object"||d===null)?d:Object.assign({},r,d),t.forEach(h=>h(r,p))}},o=()=>r,s={setState:n,getState:o,getInitialState:()=>l,subscribe:c=>(t.add(c),()=>t.delete(c))},l=r=e(n,o,s);return s},yp=e=>e?Xa(e):Xa,bp=e=>e;function vp(e,r=bp){const t=ie.useSyncExternalStore(e.subscribe,ie.useCallback(()=>r(e.getState()),[e,r]),ie.useCallback(()=>r(e.getInitialState()),[e,r]));return ie.useDebugValue(t),t}const Za=e=>{const r=yp(e),t=n=>vp(r,n);return Object.assign(t,r),t},_t=e=>e?Za(e):Za;var bl=Symbol.for("immer-nothing"),Qa=Symbol.for("immer-draftable"),Q=Symbol.for("immer-state"),Cp=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function ye(e,...r){if(process.env.NODE_ENV!=="production"){const t=Cp[e],n=typeof t=="function"?t.apply(null,r):t;throw new Error(`[Immer] ${n}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Fr=Object.getPrototypeOf;function Qt(e){return!!e&&!!e[Q]}function Ze(e){var r;return e?vl(e)||Array.isArray(e)||!!e[Qa]||!!((r=e.constructor)!=null&&r[Qa])||Br(e)||jn(e):!1}var Sp=Object.prototype.constructor.toString(),Ja=new WeakMap;function vl(e){if(!e||typeof e!="object")return!1;const r=Object.getPrototypeOf(e);if(r===null||r===Object.prototype)return!0;const t=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;if(t===Object)return!0;if(typeof t!="function")return!1;let n=Ja.get(t);return n===void 0&&(n=Function.toString.call(t),Ja.set(t,n)),n===Sp}function Dr(e,r,t=!0){$n(e)===0?(t?Reflect.ownKeys(e):Object.keys(e)).forEach(o=>{r(o,e[o],e)}):e.forEach((n,o)=>r(o,n,e))}function $n(e){const r=e[Q];return r?r.type_:Array.isArray(e)?1:Br(e)?2:jn(e)?3:0}function ei(e,r){return $n(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function Cl(e,r,t){const n=$n(e);n===2?e.set(r,t):n===3?e.add(t):e[r]=t}function xp(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function Br(e){return e instanceof Map}function jn(e){return e instanceof Set}function ue(e){return e.copy_||e.base_}function ti(e,r){if(Br(e))return new Map(e);if(jn(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const t=vl(e);if(r===!0||r==="class_only"&&!t){const n=Object.getOwnPropertyDescriptors(e);delete n[Q];let o=Reflect.ownKeys(n);for(let i=0;i<o.length;i++){const a=o[i],s=n[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(n[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Fr(e),n)}else{const n=Fr(e);if(n!==null&&t)return{...e};const o=Object.create(n);return Object.assign(o,e)}}function Mi(e,r=!1){return Un(e)||Qt(e)||!Ze(e)||($n(e)>1&&Object.defineProperties(e,{set:tn,add:tn,clear:tn,delete:tn}),Object.freeze(e),r&&Object.values(e).forEach(t=>Mi(t,!0))),e}function wp(){ye(2)}var tn={value:wp};function Un(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var ri={};function Tt(e){const r=ri[e];return r||ye(0,e),r}function Ip(e,r){ri[e]||(ri[e]=r)}var Rr;function wn(){return Rr}function Ep(e,r){return{drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function es(e,r){r&&(Tt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function ni(e){oi(e),e.drafts_.forEach(Tp),e.drafts_=null}function oi(e){e===Rr&&(Rr=e.parent_)}function ts(e){return Rr=Ep(Rr,e)}function Tp(e){const r=e[Q];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function rs(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];return e!==void 0&&e!==t?(t[Q].modified_&&(ni(r),ye(4)),Ze(e)&&(e=In(r,e),r.parent_||En(r,e)),r.patches_&&Tt("Patches").generateReplacementPatches_(t[Q].base_,e,r.patches_,r.inversePatches_)):e=In(r,t,[]),ni(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),e!==bl?e:void 0}function In(e,r,t){if(Un(r))return r;const n=e.immer_.shouldUseStrictIteration(),o=r[Q];if(!o)return Dr(r,(i,a)=>ns(e,o,r,i,a,t),n),r;if(o.scope_!==e)return r;if(!o.modified_)return En(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const i=o.copy_;let a=i,s=!1;o.type_===3&&(a=new Set(i),i.clear(),s=!0),Dr(a,(l,c)=>ns(e,o,i,l,c,t,s),n),En(e,i,!1),t&&e.patches_&&Tt("Patches").generatePatches_(o,t,e.patches_,e.inversePatches_)}return o.copy_}function ns(e,r,t,n,o,i,a){if(o==null||typeof o!="object"&&!a)return;const s=Un(o);if(!(s&&!a)){if(process.env.NODE_ENV!=="production"&&o===t&&ye(5),Qt(o)){const l=i&&r&&r.type_!==3&&!ei(r.assigned_,n)?i.concat(n):void 0,c=In(e,o,l);if(Cl(t,n,c),Qt(c))e.canAutoFreeze_=!1;else return}else a&&t.add(o);if(Ze(o)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||r&&r.base_&&r.base_[n]===o&&s)return;In(e,o),(!r||!r.scope_.parent_)&&typeof n!="symbol"&&(Br(t)?t.has(n):Object.prototype.propertyIsEnumerable.call(t,n))&&En(e,o)}}}function En(e,r,t=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Mi(r,t)}function Ap(e,r){const t=Array.isArray(e),n={type_:t?1:0,scope_:r?r.scope_:wn(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,i=Ni;t&&(o=[n],i=Pr);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return n.draft_=s,n.revoke_=a,s}var Ni={get(e,r){if(r===Q)return e;const t=ue(e);if(!ei(t,r))return Fp(e,t,r);const n=t[r];return e.finalized_||!Ze(n)?n:n===Eo(e.base_,r)?(To(e),e.copy_[r]=_r(n,e)):n},has(e,r){return r in ue(e)},ownKeys(e){return Reflect.ownKeys(ue(e))},set(e,r,t){const n=Sl(ue(e),r);if(n!=null&&n.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const o=Eo(ue(e),r),i=o==null?void 0:o[Q];if(i&&i.base_===t)return e.copy_[r]=t,e.assigned_[r]=!1,!0;if(xp(t,o)&&(t!==void 0||ei(e.base_,r)))return!0;To(e),Ye(e)}return e.copy_[r]===t&&(t!==void 0||r in e.copy_)||Number.isNaN(t)&&Number.isNaN(e.copy_[r])||(e.copy_[r]=t,e.assigned_[r]=!0),!0},deleteProperty(e,r){return Eo(e.base_,r)!==void 0||r in e.base_?(e.assigned_[r]=!1,To(e),Ye(e)):delete e.assigned_[r],e.copy_&&delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=ue(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&&{writable:!0,configurable:e.type_!==1||r!=="length",enumerable:n.enumerable,value:t[r]}},defineProperty(){ye(11)},getPrototypeOf(e){return Fr(e.base_)},setPrototypeOf(){ye(12)}},Pr={};Dr(Ni,(e,r)=>{Pr[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});Pr.deleteProperty=function(e,r){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(r))&&ye(13),Pr.set.call(this,e,r,void 0)};Pr.set=function(e,r,t){return process.env.NODE_ENV!=="production"&&r!=="length"&&isNaN(parseInt(r))&&ye(14),Ni.set.call(this,e[0],r,t,e[0])};function Eo(e,r){const t=e[Q];return(t?ue(t):e)[r]}function Fp(e,r,t){var o;const n=Sl(r,t);return n?"value"in n?n.value:(o=n.get)==null?void 0:o.call(e.draft_):void 0}function Sl(e,r){if(!(r in e))return;let t=Fr(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=Fr(t)}}function Ye(e){e.modified_||(e.modified_=!0,e.parent_&&Ye(e.parent_))}function To(e){e.copy_||(e.copy_=ti(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Dp=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(r,t,n)=>{if(typeof r=="function"&&typeof t!="function"){const i=t;t=r;const a=this;return function(l=i,...c){return a.produce(l,u=>t.call(this,u,...c))}}typeof t!="function"&&ye(6),n!==void 0&&typeof n!="function"&&ye(7);let o;if(Ze(r)){const i=ts(this),a=_r(r,void 0);let s=!0;try{o=t(a),s=!1}finally{s?ni(i):oi(i)}return es(i,n),rs(o,i)}else if(!r||typeof r!="object"){if(o=t(r),o===void 0&&(o=r),o===bl&&(o=void 0),this.autoFreeze_&&Mi(o,!0),n){const i=[],a=[];Tt("Patches").generateReplacementPatches_(r,o,i,a),n(i,a)}return o}else ye(1,r)},this.produceWithPatches=(r,t)=>{if(typeof r=="function")return(a,...s)=>this.produceWithPatches(a,l=>r(l,...s));let n,o;return[this.produce(r,t,(a,s)=>{n=a,o=s}),n,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof(e==null?void 0:e.useStrictIteration)=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Ze(e)||ye(8),Qt(e)&&(e=Rp(e));const r=ts(this),t=_r(e,void 0);return t[Q].isManual_=!0,oi(r),t}finishDraft(e,r){const t=e&&e[Q];(!t||!t.isManual_)&&ye(9);const{scope_:n}=t;return es(n,r),rs(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,r){let t;for(t=r.length-1;t>=0;t--){const o=r[t];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}t>-1&&(r=r.slice(t+1));const n=Tt("Patches").applyPatches_;return Qt(e)?n(e,r):this.produce(e,o=>n(o,r))}};function _r(e,r){const t=Br(e)?Tt("MapSet").proxyMap_(e,r):jn(e)?Tt("MapSet").proxySet_(e,r):Ap(e,r);return(r?r.scope_:wn()).drafts_.push(t),t}function Rp(e){return Qt(e)||ye(10,e),xl(e)}function xl(e){if(!Ze(e)||Un(e))return e;const r=e[Q];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=ti(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=ti(e,!0);return Dr(t,(o,i)=>{Cl(t,o,xl(i))},n),r&&(r.finalized_=!1),t}function Pp(){class e extends Map{constructor(l,c){super(),this[Q]={type_:2,parent_:c,scope_:c?c.scope_:wn(),modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:l,draft_:this,isManual_:!1,revoked_:!1}}get size(){return ue(this[Q]).size}has(l){return ue(this[Q]).has(l)}set(l,c){const u=this[Q];return a(u),(!ue(u).has(l)||ue(u).get(l)!==c)&&(t(u),Ye(u),u.assigned_.set(l,!0),u.copy_.set(l,c),u.assigned_.set(l,!0)),this}delete(l){if(!this.has(l))return!1;const c=this[Q];return a(c),t(c),Ye(c),c.base_.has(l)?c.assigned_.set(l,!1):c.assigned_.delete(l),c.copy_.delete(l),!0}clear(){const l=this[Q];a(l),ue(l).size&&(t(l),Ye(l),l.assigned_=new Map,Dr(l.base_,c=>{l.assigned_.set(c,!1)}),l.copy_.clear())}forEach(l,c){const u=this[Q];ue(u).forEach((d,p,h)=>{l.call(c,this.get(p),p,this)})}get(l){const c=this[Q];a(c);const u=ue(c).get(l);if(c.finalized_||!Ze(u)||u!==c.base_.get(l))return u;const d=_r(u,c);return t(c),c.copy_.set(l,d),d}keys(){return ue(this[Q]).keys()}values(){const l=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{const c=l.next();return c.done?c:{done:!1,value:this.get(c.value)}}}}entries(){const l=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{const c=l.next();if(c.done)return c;const u=this.get(c.value);return{done:!1,value:[c.value,u]}}}}[Symbol.iterator](){return this.entries()}}function r(s,l){return new e(s,l)}function t(s){s.copy_||(s.assigned_=new Map,s.copy_=new Map(s.base_))}class n extends Set{constructor(l,c){super(),this[Q]={type_:3,parent_:c,scope_:c?c.scope_:wn(),modified_:!1,finalized_:!1,copy_:void 0,base_:l,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return ue(this[Q]).size}has(l){const c=this[Q];return a(c),c.copy_?!!(c.copy_.has(l)||c.drafts_.has(l)&&c.copy_.has(c.drafts_.get(l))):c.base_.has(l)}add(l){const c=this[Q];return a(c),this.has(l)||(i(c),Ye(c),c.copy_.add(l)),this}delete(l){if(!this.has(l))return!1;const c=this[Q];return a(c),i(c),Ye(c),c.copy_.delete(l)||(c.drafts_.has(l)?c.copy_.delete(c.drafts_.get(l)):!1)}clear(){const l=this[Q];a(l),ue(l).size&&(i(l),Ye(l),l.copy_.clear())}values(){const l=this[Q];return a(l),i(l),l.copy_.values()}entries(){const l=this[Q];return a(l),i(l),l.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(l,c){const u=this.values();let d=u.next();for(;!d.done;)l.call(c,d.value,d.value,this),d=u.next()}}function o(s,l){return new n(s,l)}function i(s){s.copy_||(s.copy_=new Set,s.base_.forEach(l=>{if(Ze(l)){const c=_r(l,s);s.drafts_.set(l,c),s.copy_.add(c)}else s.copy_.add(l)}))}function a(s){s.revoked_&&ye(3,JSON.stringify(ue(s)))}Ip("MapSet",{proxyMap_:r,proxySet_:o})}var _p=new Dp,Op=_p.produce;const Mp=e=>(r,t,n)=>(n.setState=(o,i,...a)=>{const s=typeof o=="function"?Op(o):o;return r(s,i,...a)},e(n.setState,t,n)),zn=Mp;var Ee=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Np(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function n(){return this instanceof n?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),t}var kp=function e(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;var n,o,i;if(Array.isArray(r)){if(n=r.length,n!=t.length)return!1;for(o=n;o--!==0;)if(!e(r[o],t[o]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===t.toString();if(i=Object.keys(r),n=i.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=n;o--!==0;){var a=i[o];if(!(a==="_owner"&&r.$$typeof)&&!e(r[a],t[a]))return!1}return!0}return r!==r&&t!==t};const ii=qn(kp),xt=new Map;function Lp(e,r){return xt.has(e)||xt.set(e,new Set),xt.get(e).add(r),()=>{var t;(t=xt.get(e))==null||t.delete(r)}}function ki(e){const r=xt.get(e);r&&r.forEach(t=>{try{t()}catch(n){console.error(`Error in store event callback for '${e}':`,n)}})}function Vp(e){e?xt.delete(e):xt.clear()}const et={subscribe:Lp,emit:ki,clear:Vp},Bp=()=>ki("dashboard:load"),$p=()=>ki("dashboard:unload"),os={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},Or=new Map,rn=e=>{const r=Or.get(e);return r?Object.fromEntries(Object.entries(r.stores).map(([t,n])=>[t,n.getState()])):{}},jp=(e,r,t)=>{if(e===void 0)return{type:"untracked",connection:r.connect(t)};const n=Or.get(t.name);if(n)return{type:"tracked",store:e,...n};const o={connection:r.connect(t),stores:{}};return Or.set(t.name,o),{type:"tracked",store:e,...o}},Up=(e,r)=>{if(r===void 0)return;const t=Or.get(e);t&&(delete t.stores[r],Object.keys(t.stores).length===0&&Or.delete(e))},zp=e=>{var r,t;if(!e)return;const n=e.split(`
|
|
1
|
+
"use strict";const x=require("react/jsx-runtime"),ie=require("react"),_i=require("./index-BxM99sFL.js"),Oi=require("./catalog-field-grounding-BGW0hnB9.js"),gl=require("react-dom"),ut=require("./index-DRlMUglg.js");require("react-dom/client");const gp=require("../layouts/index.cjs"),xe=require("./index-D7KJindZ.js"),xn=require("./common-types-C73-Ud1-.js");function yl(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const f=yl(ie),Bn=yl(gl),Xa=e=>{let r;const t=new Set,n=(c,u)=>{const d=typeof c=="function"?c(r):c;if(!Object.is(d,r)){const p=r;r=u??(typeof d!="object"||d===null)?d:Object.assign({},r,d),t.forEach(h=>h(r,p))}},o=()=>r,s={setState:n,getState:o,getInitialState:()=>l,subscribe:c=>(t.add(c),()=>t.delete(c))},l=r=e(n,o,s);return s},yp=e=>e?Xa(e):Xa,bp=e=>e;function vp(e,r=bp){const t=ie.useSyncExternalStore(e.subscribe,ie.useCallback(()=>r(e.getState()),[e,r]),ie.useCallback(()=>r(e.getInitialState()),[e,r]));return ie.useDebugValue(t),t}const Za=e=>{const r=yp(e),t=n=>vp(r,n);return Object.assign(t,r),t},_t=e=>e?Za(e):Za;var bl=Symbol.for("immer-nothing"),Qa=Symbol.for("immer-draftable"),Q=Symbol.for("immer-state"),Cp=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function ye(e,...r){if(process.env.NODE_ENV!=="production"){const t=Cp[e],n=typeof t=="function"?t.apply(null,r):t;throw new Error(`[Immer] ${n}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Fr=Object.getPrototypeOf;function Qt(e){return!!e&&!!e[Q]}function Ze(e){var r;return e?vl(e)||Array.isArray(e)||!!e[Qa]||!!((r=e.constructor)!=null&&r[Qa])||Br(e)||jn(e):!1}var Sp=Object.prototype.constructor.toString(),Ja=new WeakMap;function vl(e){if(!e||typeof e!="object")return!1;const r=Object.getPrototypeOf(e);if(r===null||r===Object.prototype)return!0;const t=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;if(t===Object)return!0;if(typeof t!="function")return!1;let n=Ja.get(t);return n===void 0&&(n=Function.toString.call(t),Ja.set(t,n)),n===Sp}function Dr(e,r,t=!0){$n(e)===0?(t?Reflect.ownKeys(e):Object.keys(e)).forEach(o=>{r(o,e[o],e)}):e.forEach((n,o)=>r(o,n,e))}function $n(e){const r=e[Q];return r?r.type_:Array.isArray(e)?1:Br(e)?2:jn(e)?3:0}function ei(e,r){return $n(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function Cl(e,r,t){const n=$n(e);n===2?e.set(r,t):n===3?e.add(t):e[r]=t}function xp(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function Br(e){return e instanceof Map}function jn(e){return e instanceof Set}function ue(e){return e.copy_||e.base_}function ti(e,r){if(Br(e))return new Map(e);if(jn(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const t=vl(e);if(r===!0||r==="class_only"&&!t){const n=Object.getOwnPropertyDescriptors(e);delete n[Q];let o=Reflect.ownKeys(n);for(let i=0;i<o.length;i++){const a=o[i],s=n[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(n[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Fr(e),n)}else{const n=Fr(e);if(n!==null&&t)return{...e};const o=Object.create(n);return Object.assign(o,e)}}function Mi(e,r=!1){return Un(e)||Qt(e)||!Ze(e)||($n(e)>1&&Object.defineProperties(e,{set:tn,add:tn,clear:tn,delete:tn}),Object.freeze(e),r&&Object.values(e).forEach(t=>Mi(t,!0))),e}function wp(){ye(2)}var tn={value:wp};function Un(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var ri={};function Tt(e){const r=ri[e];return r||ye(0,e),r}function Ip(e,r){ri[e]||(ri[e]=r)}var Rr;function wn(){return Rr}function Ep(e,r){return{drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function es(e,r){r&&(Tt("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function ni(e){oi(e),e.drafts_.forEach(Tp),e.drafts_=null}function oi(e){e===Rr&&(Rr=e.parent_)}function ts(e){return Rr=Ep(Rr,e)}function Tp(e){const r=e[Q];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function rs(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];return e!==void 0&&e!==t?(t[Q].modified_&&(ni(r),ye(4)),Ze(e)&&(e=In(r,e),r.parent_||En(r,e)),r.patches_&&Tt("Patches").generateReplacementPatches_(t[Q].base_,e,r.patches_,r.inversePatches_)):e=In(r,t,[]),ni(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),e!==bl?e:void 0}function In(e,r,t){if(Un(r))return r;const n=e.immer_.shouldUseStrictIteration(),o=r[Q];if(!o)return Dr(r,(i,a)=>ns(e,o,r,i,a,t),n),r;if(o.scope_!==e)return r;if(!o.modified_)return En(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const i=o.copy_;let a=i,s=!1;o.type_===3&&(a=new Set(i),i.clear(),s=!0),Dr(a,(l,c)=>ns(e,o,i,l,c,t,s),n),En(e,i,!1),t&&e.patches_&&Tt("Patches").generatePatches_(o,t,e.patches_,e.inversePatches_)}return o.copy_}function ns(e,r,t,n,o,i,a){if(o==null||typeof o!="object"&&!a)return;const s=Un(o);if(!(s&&!a)){if(process.env.NODE_ENV!=="production"&&o===t&&ye(5),Qt(o)){const l=i&&r&&r.type_!==3&&!ei(r.assigned_,n)?i.concat(n):void 0,c=In(e,o,l);if(Cl(t,n,c),Qt(c))e.canAutoFreeze_=!1;else return}else a&&t.add(o);if(Ze(o)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||r&&r.base_&&r.base_[n]===o&&s)return;In(e,o),(!r||!r.scope_.parent_)&&typeof n!="symbol"&&(Br(t)?t.has(n):Object.prototype.propertyIsEnumerable.call(t,n))&&En(e,o)}}}function En(e,r,t=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Mi(r,t)}function Ap(e,r){const t=Array.isArray(e),n={type_:t?1:0,scope_:r?r.scope_:wn(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,i=Ni;t&&(o=[n],i=Pr);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return n.draft_=s,n.revoke_=a,s}var Ni={get(e,r){if(r===Q)return e;const t=ue(e);if(!ei(t,r))return Fp(e,t,r);const n=t[r];return e.finalized_||!Ze(n)?n:n===Eo(e.base_,r)?(To(e),e.copy_[r]=_r(n,e)):n},has(e,r){return r in ue(e)},ownKeys(e){return Reflect.ownKeys(ue(e))},set(e,r,t){const n=Sl(ue(e),r);if(n!=null&&n.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const o=Eo(ue(e),r),i=o==null?void 0:o[Q];if(i&&i.base_===t)return e.copy_[r]=t,e.assigned_[r]=!1,!0;if(xp(t,o)&&(t!==void 0||ei(e.base_,r)))return!0;To(e),Ye(e)}return e.copy_[r]===t&&(t!==void 0||r in e.copy_)||Number.isNaN(t)&&Number.isNaN(e.copy_[r])||(e.copy_[r]=t,e.assigned_[r]=!0),!0},deleteProperty(e,r){return Eo(e.base_,r)!==void 0||r in e.base_?(e.assigned_[r]=!1,To(e),Ye(e)):delete e.assigned_[r],e.copy_&&delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=ue(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&&{writable:!0,configurable:e.type_!==1||r!=="length",enumerable:n.enumerable,value:t[r]}},defineProperty(){ye(11)},getPrototypeOf(e){return Fr(e.base_)},setPrototypeOf(){ye(12)}},Pr={};Dr(Ni,(e,r)=>{Pr[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});Pr.deleteProperty=function(e,r){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(r))&&ye(13),Pr.set.call(this,e,r,void 0)};Pr.set=function(e,r,t){return process.env.NODE_ENV!=="production"&&r!=="length"&&isNaN(parseInt(r))&&ye(14),Ni.set.call(this,e[0],r,t,e[0])};function Eo(e,r){const t=e[Q];return(t?ue(t):e)[r]}function Fp(e,r,t){var o;const n=Sl(r,t);return n?"value"in n?n.value:(o=n.get)==null?void 0:o.call(e.draft_):void 0}function Sl(e,r){if(!(r in e))return;let t=Fr(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=Fr(t)}}function Ye(e){e.modified_||(e.modified_=!0,e.parent_&&Ye(e.parent_))}function To(e){e.copy_||(e.copy_=ti(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Dp=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(r,t,n)=>{if(typeof r=="function"&&typeof t!="function"){const i=t;t=r;const a=this;return function(l=i,...c){return a.produce(l,u=>t.call(this,u,...c))}}typeof t!="function"&&ye(6),n!==void 0&&typeof n!="function"&&ye(7);let o;if(Ze(r)){const i=ts(this),a=_r(r,void 0);let s=!0;try{o=t(a),s=!1}finally{s?ni(i):oi(i)}return es(i,n),rs(o,i)}else if(!r||typeof r!="object"){if(o=t(r),o===void 0&&(o=r),o===bl&&(o=void 0),this.autoFreeze_&&Mi(o,!0),n){const i=[],a=[];Tt("Patches").generateReplacementPatches_(r,o,i,a),n(i,a)}return o}else ye(1,r)},this.produceWithPatches=(r,t)=>{if(typeof r=="function")return(a,...s)=>this.produceWithPatches(a,l=>r(l,...s));let n,o;return[this.produce(r,t,(a,s)=>{n=a,o=s}),n,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof(e==null?void 0:e.useStrictIteration)=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Ze(e)||ye(8),Qt(e)&&(e=Rp(e));const r=ts(this),t=_r(e,void 0);return t[Q].isManual_=!0,oi(r),t}finishDraft(e,r){const t=e&&e[Q];(!t||!t.isManual_)&&ye(9);const{scope_:n}=t;return es(n,r),rs(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,r){let t;for(t=r.length-1;t>=0;t--){const o=r[t];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}t>-1&&(r=r.slice(t+1));const n=Tt("Patches").applyPatches_;return Qt(e)?n(e,r):this.produce(e,o=>n(o,r))}};function _r(e,r){const t=Br(e)?Tt("MapSet").proxyMap_(e,r):jn(e)?Tt("MapSet").proxySet_(e,r):Ap(e,r);return(r?r.scope_:wn()).drafts_.push(t),t}function Rp(e){return Qt(e)||ye(10,e),xl(e)}function xl(e){if(!Ze(e)||Un(e))return e;const r=e[Q];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=ti(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=ti(e,!0);return Dr(t,(o,i)=>{Cl(t,o,xl(i))},n),r&&(r.finalized_=!1),t}function Pp(){class e extends Map{constructor(l,c){super(),this[Q]={type_:2,parent_:c,scope_:c?c.scope_:wn(),modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:l,draft_:this,isManual_:!1,revoked_:!1}}get size(){return ue(this[Q]).size}has(l){return ue(this[Q]).has(l)}set(l,c){const u=this[Q];return a(u),(!ue(u).has(l)||ue(u).get(l)!==c)&&(t(u),Ye(u),u.assigned_.set(l,!0),u.copy_.set(l,c),u.assigned_.set(l,!0)),this}delete(l){if(!this.has(l))return!1;const c=this[Q];return a(c),t(c),Ye(c),c.base_.has(l)?c.assigned_.set(l,!1):c.assigned_.delete(l),c.copy_.delete(l),!0}clear(){const l=this[Q];a(l),ue(l).size&&(t(l),Ye(l),l.assigned_=new Map,Dr(l.base_,c=>{l.assigned_.set(c,!1)}),l.copy_.clear())}forEach(l,c){const u=this[Q];ue(u).forEach((d,p,h)=>{l.call(c,this.get(p),p,this)})}get(l){const c=this[Q];a(c);const u=ue(c).get(l);if(c.finalized_||!Ze(u)||u!==c.base_.get(l))return u;const d=_r(u,c);return t(c),c.copy_.set(l,d),d}keys(){return ue(this[Q]).keys()}values(){const l=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{const c=l.next();return c.done?c:{done:!1,value:this.get(c.value)}}}}entries(){const l=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{const c=l.next();if(c.done)return c;const u=this.get(c.value);return{done:!1,value:[c.value,u]}}}}[Symbol.iterator](){return this.entries()}}function r(s,l){return new e(s,l)}function t(s){s.copy_||(s.assigned_=new Map,s.copy_=new Map(s.base_))}class n extends Set{constructor(l,c){super(),this[Q]={type_:3,parent_:c,scope_:c?c.scope_:wn(),modified_:!1,finalized_:!1,copy_:void 0,base_:l,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return ue(this[Q]).size}has(l){const c=this[Q];return a(c),c.copy_?!!(c.copy_.has(l)||c.drafts_.has(l)&&c.copy_.has(c.drafts_.get(l))):c.base_.has(l)}add(l){const c=this[Q];return a(c),this.has(l)||(i(c),Ye(c),c.copy_.add(l)),this}delete(l){if(!this.has(l))return!1;const c=this[Q];return a(c),i(c),Ye(c),c.copy_.delete(l)||(c.drafts_.has(l)?c.copy_.delete(c.drafts_.get(l)):!1)}clear(){const l=this[Q];a(l),ue(l).size&&(i(l),Ye(l),l.copy_.clear())}values(){const l=this[Q];return a(l),i(l),l.copy_.values()}entries(){const l=this[Q];return a(l),i(l),l.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(l,c){const u=this.values();let d=u.next();for(;!d.done;)l.call(c,d.value,d.value,this),d=u.next()}}function o(s,l){return new n(s,l)}function i(s){s.copy_||(s.copy_=new Set,s.base_.forEach(l=>{if(Ze(l)){const c=_r(l,s);s.drafts_.set(l,c),s.copy_.add(c)}else s.copy_.add(l)}))}function a(s){s.revoked_&&ye(3,JSON.stringify(ue(s)))}Ip("MapSet",{proxyMap_:r,proxySet_:o})}var _p=new Dp,Op=_p.produce;const Mp=e=>(r,t,n)=>(n.setState=(o,i,...a)=>{const s=typeof o=="function"?Op(o):o;return r(s,i,...a)},e(n.setState,t,n)),zn=Mp;var Ee=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Np(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function n(){return this instanceof n?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),t}var kp=function e(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;var n,o,i;if(Array.isArray(r)){if(n=r.length,n!=t.length)return!1;for(o=n;o--!==0;)if(!e(r[o],t[o]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===t.toString();if(i=Object.keys(r),n=i.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=n;o--!==0;){var a=i[o];if(!(a==="_owner"&&r.$$typeof)&&!e(r[a],t[a]))return!1}return!0}return r!==r&&t!==t};const ii=qn(kp),xt=new Map;function Lp(e,r){return xt.has(e)||xt.set(e,new Set),xt.get(e).add(r),()=>{var t;(t=xt.get(e))==null||t.delete(r)}}function ki(e){const r=xt.get(e);r&&r.forEach(t=>{try{t()}catch(n){console.error(`Error in store event callback for '${e}':`,n)}})}function Vp(e){e?xt.delete(e):xt.clear()}const et={subscribe:Lp,emit:ki,clear:Vp},Bp=()=>ki("dashboard:load"),$p=()=>ki("dashboard:unload"),os={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},Or=new Map,rn=e=>{const r=Or.get(e);return r?Object.fromEntries(Object.entries(r.stores).map(([t,n])=>[t,n.getState()])):{}},jp=(e,r,t)=>{if(e===void 0)return{type:"untracked",connection:r.connect(t)};const n=Or.get(t.name);if(n)return{type:"tracked",store:e,...n};const o={connection:r.connect(t),stores:{}};return Or.set(t.name,o),{type:"tracked",store:e,...o}},Up=(e,r)=>{if(r===void 0)return;const t=Or.get(e);t&&(delete t.stores[r],Object.keys(t.stores).length===0&&Or.delete(e))},zp=e=>{var r,t;if(!e)return;const n=e.split(`
|
|
2
2
|
`),o=n.findIndex(a=>a.includes("api.setState"));if(o<0)return;const i=((r=n[o+1])==null?void 0:r.trim())||"";return(t=/.+ (.+) .+/.exec(i))==null?void 0:t[1]},qp=(e,r={})=>(t,n,o)=>{const{enabled:i,anonymousActionType:a,store:s,...l}=r;let c;try{c=(i??(os?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!c)return e(t,n,o);const{connection:u,...d}=jp(s,c,l);let p=!0;o.setState=(m,b,S)=>{const g=t(m,b);if(!p)return g;const y=S===void 0?{type:a||zp(new Error().stack)||"anonymous"}:typeof S=="string"?{type:S}:S;return s===void 0?(u==null||u.send(y,n()),g):(u==null||u.send({...y,type:`${s}/${y.type}`},{...rn(l.name),[s]:o.getState()}),g)},o.devtools={cleanup:()=>{u&&typeof u.unsubscribe=="function"&&u.unsubscribe(),Up(l.name,s)}};const h=(...m)=>{const b=p;p=!1,t(...m),p=b},v=e(o.setState,n,o);if(d.type==="untracked"?u==null||u.init(v):(d.stores[d.store]=o,u==null||u.init(Object.fromEntries(Object.entries(d.stores).map(([m,b])=>[m,m===d.store?v:b.getState()])))),o.dispatchFromDevtools&&typeof o.dispatch=="function"){let m=!1;const b=o.dispatch;o.dispatch=(...S)=>{(os?"production":void 0)!=="production"&&S[0].type==="__setState"&&!m&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),m=!0),b(...S)}}return u.subscribe(m=>{var b;switch(m.type){case"ACTION":if(typeof m.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return Ao(m.payload,S=>{if(S.type==="__setState"){if(s===void 0){h(S.state);return}Object.keys(S.state).length!==1&&console.error(`
|
|
3
3
|
[zustand devtools middleware] Unsupported __setState action format.
|
|
4
4
|
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|