@cimulate/copilot-widget 0.30.0 → 0.31.0
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.
|
@@ -288,7 +288,7 @@ var d1;
|
|
|
288
288
|
function mx() {
|
|
289
289
|
return d1 || (d1 = 1, Nd.exports = px()), Nd.exports;
|
|
290
290
|
}
|
|
291
|
-
var
|
|
291
|
+
var N = mx();
|
|
292
292
|
const Ar = /* @__PURE__ */ Object.create(null);
|
|
293
293
|
Ar.open = "0";
|
|
294
294
|
Ar.close = "1";
|
|
@@ -4809,22 +4809,22 @@ vt.getAdapter = TT.getAdapter;
|
|
|
4809
4809
|
vt.HttpStatusCode = wh;
|
|
4810
4810
|
vt.default = vt;
|
|
4811
4811
|
const {
|
|
4812
|
-
Axios:
|
|
4813
|
-
AxiosError:
|
|
4814
|
-
CanceledError:
|
|
4815
|
-
isCancel:
|
|
4816
|
-
CancelToken:
|
|
4817
|
-
VERSION:
|
|
4818
|
-
all:
|
|
4819
|
-
Cancel:
|
|
4820
|
-
isAxiosError:
|
|
4821
|
-
spread:
|
|
4822
|
-
toFormData:
|
|
4823
|
-
AxiosHeaders:
|
|
4824
|
-
HttpStatusCode:
|
|
4825
|
-
formToJSON:
|
|
4826
|
-
getAdapter:
|
|
4827
|
-
mergeConfig:
|
|
4812
|
+
Axios: $F,
|
|
4813
|
+
AxiosError: VF,
|
|
4814
|
+
CanceledError: qF,
|
|
4815
|
+
isCancel: YF,
|
|
4816
|
+
CancelToken: WF,
|
|
4817
|
+
VERSION: GF,
|
|
4818
|
+
all: KF,
|
|
4819
|
+
Cancel: QF,
|
|
4820
|
+
isAxiosError: XF,
|
|
4821
|
+
spread: JF,
|
|
4822
|
+
toFormData: ZF,
|
|
4823
|
+
AxiosHeaders: eB,
|
|
4824
|
+
HttpStatusCode: tB,
|
|
4825
|
+
formToJSON: nB,
|
|
4826
|
+
getAdapter: rB,
|
|
4827
|
+
mergeConfig: iB
|
|
4828
4828
|
} = vt;
|
|
4829
4829
|
class CT {
|
|
4830
4830
|
constructor(t, n, r = !1) {
|
|
@@ -4865,7 +4865,7 @@ const rv = q.createContext(void 0), iv = ({
|
|
|
4865
4865
|
() => new CT(e, t, n),
|
|
4866
4866
|
[e, t, n]
|
|
4867
4867
|
);
|
|
4868
|
-
return /* @__PURE__ */
|
|
4868
|
+
return /* @__PURE__ */ N.jsx(rv.Provider, { value: o, children: r });
|
|
4869
4869
|
};
|
|
4870
4870
|
var xT = Symbol.for("immer-nothing"), B1 = Symbol.for("immer-draftable"), nt = Symbol.for("immer-state");
|
|
4871
4871
|
function Wn(e, ...t) {
|
|
@@ -5627,47 +5627,50 @@ const PT = q.createContext(null), Cv = ({
|
|
|
5627
5627
|
logoUrl: e,
|
|
5628
5628
|
headerText: t = "Your Search Assistant",
|
|
5629
5629
|
globalClassName: n = "",
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5630
|
+
openLinksInNewTab: r = !1,
|
|
5631
|
+
searchPlaceholder: o,
|
|
5632
|
+
searchButtonLabel: u,
|
|
5633
|
+
resetConversationMessage: a = "What products would you like to explore today?",
|
|
5634
|
+
apiKey: c,
|
|
5635
|
+
apiToken: f,
|
|
5636
|
+
theme: h,
|
|
5637
|
+
isDevelopment: m,
|
|
5638
|
+
children: E
|
|
5638
5639
|
}) => {
|
|
5639
|
-
const
|
|
5640
|
-
() => new _v(
|
|
5641
|
-
[
|
|
5642
|
-
),
|
|
5640
|
+
const b = q.useMemo(
|
|
5641
|
+
() => new _v(c, f, m),
|
|
5642
|
+
[c, f, m]
|
|
5643
|
+
), T = q.useMemo(() => new Sv(m), [m]);
|
|
5643
5644
|
q.useEffect(() => {
|
|
5644
|
-
|
|
5645
|
-
}, [
|
|
5646
|
-
const
|
|
5645
|
+
b.config || b.getConfig();
|
|
5646
|
+
}, [b]);
|
|
5647
|
+
const _ = q.useMemo(() => bv(h), [h]), C = q.useMemo(
|
|
5647
5648
|
() => ({
|
|
5648
|
-
configModule:
|
|
5649
|
+
configModule: b,
|
|
5649
5650
|
logoUrl: e,
|
|
5650
5651
|
headerText: t,
|
|
5651
5652
|
globalClassName: n,
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5653
|
+
openLinksInNewTab: r,
|
|
5654
|
+
themeVariables: _,
|
|
5655
|
+
logger: T,
|
|
5656
|
+
searchPlaceholder: o,
|
|
5657
|
+
searchButtonLabel: u,
|
|
5658
|
+
resetConversationMessage: a
|
|
5657
5659
|
}),
|
|
5658
5660
|
[
|
|
5659
|
-
|
|
5661
|
+
b,
|
|
5660
5662
|
e,
|
|
5661
5663
|
t,
|
|
5662
5664
|
n,
|
|
5663
5665
|
r,
|
|
5664
5666
|
o,
|
|
5665
5667
|
u,
|
|
5666
|
-
|
|
5667
|
-
T
|
|
5668
|
+
a,
|
|
5669
|
+
T,
|
|
5670
|
+
_
|
|
5668
5671
|
]
|
|
5669
5672
|
);
|
|
5670
|
-
return /* @__PURE__ */
|
|
5673
|
+
return /* @__PURE__ */ N.jsx(PT.Provider, { value: C, children: E });
|
|
5671
5674
|
}, bn = () => {
|
|
5672
5675
|
const e = q.useContext(PT);
|
|
5673
5676
|
if (!e)
|
|
@@ -5842,7 +5845,7 @@ const _t = new xv(), rs = () => _t.connected, qu = () => _t.isOpen, Av = (e) =>
|
|
|
5842
5845
|
h,
|
|
5843
5846
|
m
|
|
5844
5847
|
]);
|
|
5845
|
-
return /* @__PURE__ */
|
|
5848
|
+
return /* @__PURE__ */ N.jsx(IT.Provider, { value: E, children: t });
|
|
5846
5849
|
};
|
|
5847
5850
|
mv();
|
|
5848
5851
|
const Ov = (e, t) => {
|
|
@@ -5905,7 +5908,7 @@ const Ov = (e, t) => {
|
|
|
5905
5908
|
children: t
|
|
5906
5909
|
}) => {
|
|
5907
5910
|
const [n, r] = Ev(Ov, Ll);
|
|
5908
|
-
return /* @__PURE__ */
|
|
5911
|
+
return /* @__PURE__ */ N.jsx(OT.Provider, { value: n, children: /* @__PURE__ */ N.jsx(Nv, { onCopilotEvent: e, dispatch: r, children: t }) });
|
|
5909
5912
|
};
|
|
5910
5913
|
function Pv() {
|
|
5911
5914
|
var e = q.useRef(!0);
|
|
@@ -6353,7 +6356,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6353
6356
|
}, Symbol.toStringTag, { value: "Module" })), rb = q.createContext({ entryType: "search", setEntryType: () => {
|
|
6354
6357
|
} }), uk = ({ children: e }) => {
|
|
6355
6358
|
const [t, n] = q.useState("search"), r = q.useMemo(() => ({ entryType: t, setEntryType: n }), [t, n]);
|
|
6356
|
-
return /* @__PURE__ */
|
|
6359
|
+
return /* @__PURE__ */ N.jsx(rb.Provider, { value: r, children: e });
|
|
6357
6360
|
}, ak = () => {
|
|
6358
6361
|
const e = q.useContext(rb);
|
|
6359
6362
|
if (!e)
|
|
@@ -6383,7 +6386,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6383
6386
|
};
|
|
6384
6387
|
}, []);
|
|
6385
6388
|
const T = q.useMemo(() => ({ categoryId: t, categoryName: r, facetFilters: u, rangeFilters: c, catalogSegment: h, pricebooks: E }), [t, r, u, c, h, E]);
|
|
6386
|
-
return /* @__PURE__ */
|
|
6389
|
+
return /* @__PURE__ */ N.jsx(ib.Provider, { value: T, children: e });
|
|
6387
6390
|
}, fk = () => {
|
|
6388
6391
|
const e = q.useContext(ib);
|
|
6389
6392
|
if (!e)
|
|
@@ -6408,7 +6411,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6408
6411
|
};
|
|
6409
6412
|
}, []);
|
|
6410
6413
|
const E = q.useMemo(() => ({ searchQuery: t, facetFilters: r, rangeFilters: u, catalogSegment: c, pricebooks: h }), [t, r, u, c, h]);
|
|
6411
|
-
return /* @__PURE__ */
|
|
6414
|
+
return /* @__PURE__ */ N.jsx(sb.Provider, { value: E, children: e });
|
|
6412
6415
|
}, pk = () => {
|
|
6413
6416
|
const e = q.useContext(sb);
|
|
6414
6417
|
if (!e)
|
|
@@ -6435,7 +6438,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6435
6438
|
};
|
|
6436
6439
|
}, []);
|
|
6437
6440
|
const u = q.useMemo(() => ({ productId: t, pdpLink: r }), [t, r]);
|
|
6438
|
-
return /* @__PURE__ */
|
|
6441
|
+
return /* @__PURE__ */ N.jsx(ob.Provider, { value: u, children: e });
|
|
6439
6442
|
}, Ek = () => {
|
|
6440
6443
|
const e = q.useContext(ob);
|
|
6441
6444
|
if (!e)
|
|
@@ -6495,7 +6498,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6495
6498
|
}),
|
|
6496
6499
|
[n, o, m, a, f]
|
|
6497
6500
|
);
|
|
6498
|
-
return /* @__PURE__ */
|
|
6501
|
+
return /* @__PURE__ */ N.jsx(ub.Provider, { value: E, children: t });
|
|
6499
6502
|
}, lo = () => {
|
|
6500
6503
|
const e = q.useContext(ub);
|
|
6501
6504
|
if (!e)
|
|
@@ -6872,7 +6875,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6872
6875
|
Oe,
|
|
6873
6876
|
je
|
|
6874
6877
|
]);
|
|
6875
|
-
return /* @__PURE__ */
|
|
6878
|
+
return /* @__PURE__ */ N.jsx(cb.Provider, { value: Xr, children: c });
|
|
6876
6879
|
}, ki = () => {
|
|
6877
6880
|
const e = q.useContext(cb);
|
|
6878
6881
|
if (!e)
|
|
@@ -6989,7 +6992,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6989
6992
|
onRefinedSearch: a,
|
|
6990
6993
|
onRefinedBrowse: c,
|
|
6991
6994
|
children: f
|
|
6992
|
-
}) => /* @__PURE__ */
|
|
6995
|
+
}) => /* @__PURE__ */ N.jsx(Iv, { onCopilotEvent: u, children: /* @__PURE__ */ N.jsxs(
|
|
6993
6996
|
Tk,
|
|
6994
6997
|
{
|
|
6995
6998
|
apiKey: e,
|
|
@@ -7000,7 +7003,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
7000
7003
|
onRefinedSearch: a,
|
|
7001
7004
|
onRefinedBrowse: c,
|
|
7002
7005
|
children: [
|
|
7003
|
-
/* @__PURE__ */
|
|
7006
|
+
/* @__PURE__ */ N.jsx(bk, {}),
|
|
7004
7007
|
f
|
|
7005
7008
|
]
|
|
7006
7009
|
}
|
|
@@ -7011,41 +7014,43 @@ const ht = new tk(), nk = (e) => {
|
|
|
7011
7014
|
logoUrl: r,
|
|
7012
7015
|
headerText: o,
|
|
7013
7016
|
theme: u,
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7017
|
+
openLinksInNewTab: a,
|
|
7018
|
+
globalClassName: c,
|
|
7019
|
+
isDevelopment: f = !1,
|
|
7020
|
+
componentType: h,
|
|
7021
|
+
searchPlaceholder: m,
|
|
7022
|
+
searchButtonLabel: E,
|
|
7023
|
+
resetConversationMessage: b,
|
|
7024
|
+
onConnect: T,
|
|
7025
|
+
onCopilotEvent: _,
|
|
7026
|
+
onRefinedSearch: C,
|
|
7027
|
+
onRefinedBrowse: A,
|
|
7028
|
+
children: I
|
|
7029
|
+
}) => /* @__PURE__ */ N.jsx(
|
|
7026
7030
|
Cv,
|
|
7027
7031
|
{
|
|
7028
7032
|
apiKey: e,
|
|
7029
7033
|
logoUrl: r,
|
|
7030
7034
|
headerText: o,
|
|
7031
7035
|
theme: u,
|
|
7032
|
-
globalClassName:
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7036
|
+
globalClassName: c,
|
|
7037
|
+
openLinksInNewTab: a,
|
|
7038
|
+
searchPlaceholder: m,
|
|
7039
|
+
searchButtonLabel: E,
|
|
7040
|
+
resetConversationMessage: b,
|
|
7041
|
+
isDevelopment: f,
|
|
7042
|
+
children: /* @__PURE__ */ N.jsx(iv, { apiKey: e, apiToken: t, isDevelopment: f, children: /* @__PURE__ */ N.jsx(uk, { children: /* @__PURE__ */ N.jsx(gk, { children: /* @__PURE__ */ N.jsx(ck, { children: /* @__PURE__ */ N.jsx(hk, { children: /* @__PURE__ */ N.jsx(yk, { componentType: h, children: /* @__PURE__ */ N.jsx(
|
|
7038
7043
|
_k,
|
|
7039
7044
|
{
|
|
7040
7045
|
apiKey: e,
|
|
7041
7046
|
apiToken: t,
|
|
7042
7047
|
baseUrl: n,
|
|
7043
|
-
isDevelopment:
|
|
7044
|
-
onConnect:
|
|
7045
|
-
onCopilotEvent:
|
|
7046
|
-
onRefinedSearch:
|
|
7047
|
-
onRefinedBrowse:
|
|
7048
|
-
children:
|
|
7048
|
+
isDevelopment: f,
|
|
7049
|
+
onConnect: T,
|
|
7050
|
+
onCopilotEvent: _,
|
|
7051
|
+
onRefinedSearch: C,
|
|
7052
|
+
onRefinedBrowse: A,
|
|
7053
|
+
children: I
|
|
7049
7054
|
}
|
|
7050
7055
|
) }) }) }) }) }) })
|
|
7051
7056
|
}
|
|
@@ -7195,7 +7200,7 @@ function Rk(e) {
|
|
|
7195
7200
|
function Lk(e) {
|
|
7196
7201
|
return un({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" }, child: [] }] })(e);
|
|
7197
7202
|
}
|
|
7198
|
-
const Np = ({ className: e, children: t, type: n, disabled: r = !1, onClick: o }) => /* @__PURE__ */
|
|
7203
|
+
const Np = ({ className: e, children: t, type: n, disabled: r = !1, onClick: o }) => /* @__PURE__ */ N.jsx(
|
|
7199
7204
|
"button",
|
|
7200
7205
|
{
|
|
7201
7206
|
className: se(`${ee}-button`, e, { disabled: r }),
|
|
@@ -7211,7 +7216,7 @@ const Np = ({ className: e, children: t, type: n, disabled: r = !1, onClick: o }
|
|
|
7211
7216
|
ariaLabel: r,
|
|
7212
7217
|
disabled: o = !1,
|
|
7213
7218
|
onClick: u
|
|
7214
|
-
}) => /* @__PURE__ */
|
|
7219
|
+
}) => /* @__PURE__ */ N.jsx(
|
|
7215
7220
|
"button",
|
|
7216
7221
|
{
|
|
7217
7222
|
className: se(e, `${ee}-icon-button`),
|
|
@@ -7227,7 +7232,7 @@ const Np = ({ className: e, children: t, type: n, disabled: r = !1, onClick: o }
|
|
|
7227
7232
|
globalClassName: n,
|
|
7228
7233
|
componentType: r,
|
|
7229
7234
|
isLoading: o
|
|
7230
|
-
}) => t ? /* @__PURE__ */
|
|
7235
|
+
}) => t ? /* @__PURE__ */ N.jsx(
|
|
7231
7236
|
Np,
|
|
7232
7237
|
{
|
|
7233
7238
|
className: se(n, r, e),
|
|
@@ -7235,14 +7240,14 @@ const Np = ({ className: e, children: t, type: n, disabled: r = !1, onClick: o }
|
|
|
7235
7240
|
disabled: o,
|
|
7236
7241
|
children: t
|
|
7237
7242
|
}
|
|
7238
|
-
) : /* @__PURE__ */
|
|
7243
|
+
) : /* @__PURE__ */ N.jsx(
|
|
7239
7244
|
no,
|
|
7240
7245
|
{
|
|
7241
7246
|
className: se(n, r, e),
|
|
7242
7247
|
type: "submit",
|
|
7243
7248
|
disabled: o,
|
|
7244
7249
|
ariaLabel: "Search Copilot",
|
|
7245
|
-
icon: /* @__PURE__ */
|
|
7250
|
+
icon: /* @__PURE__ */ N.jsx(Ec, {})
|
|
7246
7251
|
}
|
|
7247
7252
|
), Op = ({
|
|
7248
7253
|
className: e,
|
|
@@ -7256,7 +7261,7 @@ const Np = ({ className: e, children: t, type: n, disabled: r = !1, onClick: o }
|
|
|
7256
7261
|
const T = (((_ = f.current) == null ? void 0 : _.value) || "").trim();
|
|
7257
7262
|
T && (r(T), f.current.value = "");
|
|
7258
7263
|
}, m = !!o || !1, E = m ? "connected" : "disconnected";
|
|
7259
|
-
return /* @__PURE__ */
|
|
7264
|
+
return /* @__PURE__ */ N.jsxs(
|
|
7260
7265
|
"form",
|
|
7261
7266
|
{
|
|
7262
7267
|
className: se(
|
|
@@ -7268,14 +7273,14 @@ const Np = ({ className: e, children: t, type: n, disabled: r = !1, onClick: o }
|
|
|
7268
7273
|
name: `${ee}-search-form`,
|
|
7269
7274
|
onSubmit: h,
|
|
7270
7275
|
children: [
|
|
7271
|
-
/* @__PURE__ */
|
|
7276
|
+
/* @__PURE__ */ N.jsx(
|
|
7272
7277
|
"span",
|
|
7273
7278
|
{
|
|
7274
7279
|
role: "status",
|
|
7275
7280
|
className: se(`${ee}-connection-status-icon`, E)
|
|
7276
7281
|
}
|
|
7277
7282
|
),
|
|
7278
|
-
/* @__PURE__ */
|
|
7283
|
+
/* @__PURE__ */ N.jsx(
|
|
7279
7284
|
"input",
|
|
7280
7285
|
{
|
|
7281
7286
|
className: se(
|
|
@@ -7290,7 +7295,7 @@ const Np = ({ className: e, children: t, type: n, disabled: r = !1, onClick: o }
|
|
|
7290
7295
|
name: `${ee}-user-input`
|
|
7291
7296
|
}
|
|
7292
7297
|
),
|
|
7293
|
-
/* @__PURE__ */
|
|
7298
|
+
/* @__PURE__ */ N.jsx(
|
|
7294
7299
|
Dk,
|
|
7295
7300
|
{
|
|
7296
7301
|
searchButtonLabel: c,
|
|
@@ -8131,16 +8136,16 @@ function GN() {
|
|
|
8131
8136
|
if (Y && d && typeof Y.stack == "string") {
|
|
8132
8137
|
for (var g = Y.stack.split(`
|
|
8133
8138
|
`), y = d.stack.split(`
|
|
8134
|
-
`), S = g.length - 1,
|
|
8135
|
-
for (; 1 <= S && 0 <=
|
|
8136
|
-
if (S !== 1 ||
|
|
8139
|
+
`), S = g.length - 1, O = y.length - 1; 1 <= S && 0 <= O && g[S] !== y[O]; ) O--;
|
|
8140
|
+
for (; 1 <= S && 0 <= O; S--, O--) if (g[S] !== y[O]) {
|
|
8141
|
+
if (S !== 1 || O !== 1)
|
|
8137
8142
|
do
|
|
8138
|
-
if (S--,
|
|
8143
|
+
if (S--, O--, 0 > O || g[S] !== y[O]) {
|
|
8139
8144
|
var L = `
|
|
8140
8145
|
` + g[S].replace(" at new ", " at ");
|
|
8141
8146
|
return i.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", i.displayName)), L;
|
|
8142
8147
|
}
|
|
8143
|
-
while (1 <= S && 0 <=
|
|
8148
|
+
while (1 <= S && 0 <= O);
|
|
8144
8149
|
break;
|
|
8145
8150
|
}
|
|
8146
8151
|
}
|
|
@@ -8581,7 +8586,7 @@ function GN() {
|
|
|
8581
8586
|
} catch (i) {
|
|
8582
8587
|
Vc = !1;
|
|
8583
8588
|
}
|
|
8584
|
-
function mS(i, s, l, d, g, y, S,
|
|
8589
|
+
function mS(i, s, l, d, g, y, S, O, L) {
|
|
8585
8590
|
var Y = Array.prototype.slice.call(arguments, 3);
|
|
8586
8591
|
try {
|
|
8587
8592
|
s.apply(l, Y);
|
|
@@ -8592,10 +8597,10 @@ function GN() {
|
|
|
8592
8597
|
var xo = !1, na = null, ra = !1, qc = null, gS = { onError: function(i) {
|
|
8593
8598
|
xo = !0, na = i;
|
|
8594
8599
|
} };
|
|
8595
|
-
function ES(i, s, l, d, g, y, S,
|
|
8600
|
+
function ES(i, s, l, d, g, y, S, O, L) {
|
|
8596
8601
|
xo = !1, na = null, mS.apply(gS, arguments);
|
|
8597
8602
|
}
|
|
8598
|
-
function yS(i, s, l, d, g, y, S,
|
|
8603
|
+
function yS(i, s, l, d, g, y, S, O, L) {
|
|
8599
8604
|
if (ES.apply(this, arguments), xo) {
|
|
8600
8605
|
if (xo) {
|
|
8601
8606
|
var Y = na;
|
|
@@ -8652,28 +8657,28 @@ function GN() {
|
|
|
8652
8657
|
}
|
|
8653
8658
|
if (l.return !== d.return) l = g, d = y;
|
|
8654
8659
|
else {
|
|
8655
|
-
for (var S = !1,
|
|
8656
|
-
if (
|
|
8660
|
+
for (var S = !1, O = g.child; O; ) {
|
|
8661
|
+
if (O === l) {
|
|
8657
8662
|
S = !0, l = g, d = y;
|
|
8658
8663
|
break;
|
|
8659
8664
|
}
|
|
8660
|
-
if (
|
|
8665
|
+
if (O === d) {
|
|
8661
8666
|
S = !0, d = g, l = y;
|
|
8662
8667
|
break;
|
|
8663
8668
|
}
|
|
8664
|
-
|
|
8669
|
+
O = O.sibling;
|
|
8665
8670
|
}
|
|
8666
8671
|
if (!S) {
|
|
8667
|
-
for (
|
|
8668
|
-
if (
|
|
8672
|
+
for (O = y.child; O; ) {
|
|
8673
|
+
if (O === l) {
|
|
8669
8674
|
S = !0, l = y, d = g;
|
|
8670
8675
|
break;
|
|
8671
8676
|
}
|
|
8672
|
-
if (
|
|
8677
|
+
if (O === d) {
|
|
8673
8678
|
S = !0, d = y, l = g;
|
|
8674
8679
|
break;
|
|
8675
8680
|
}
|
|
8676
|
-
|
|
8681
|
+
O = O.sibling;
|
|
8677
8682
|
}
|
|
8678
8683
|
if (!S) throw Error(n(189));
|
|
8679
8684
|
}
|
|
@@ -8761,8 +8766,8 @@ function GN() {
|
|
|
8761
8766
|
if (l === 0) return 0;
|
|
8762
8767
|
var d = 0, g = i.suspendedLanes, y = i.pingedLanes, S = l & 268435455;
|
|
8763
8768
|
if (S !== 0) {
|
|
8764
|
-
var
|
|
8765
|
-
|
|
8769
|
+
var O = S & ~g;
|
|
8770
|
+
O !== 0 ? d = Ao(O) : (y &= S, y !== 0 && (d = Ao(y)));
|
|
8766
8771
|
} else S = l & ~g, S !== 0 ? d = Ao(S) : y !== 0 && (d = Ao(y));
|
|
8767
8772
|
if (d === 0) return 0;
|
|
8768
8773
|
if (s !== 0 && s !== d && (s & g) === 0 && (g = d & -d, y = s & -s, g >= y || g === 16 && (y & 4194240) !== 0)) return s;
|
|
@@ -8812,8 +8817,8 @@ function GN() {
|
|
|
8812
8817
|
}
|
|
8813
8818
|
function NS(i, s) {
|
|
8814
8819
|
for (var l = i.suspendedLanes, d = i.pingedLanes, g = i.expirationTimes, y = i.pendingLanes; 0 < y; ) {
|
|
8815
|
-
var S = 31 - Kn(y),
|
|
8816
|
-
L === -1 ? ((
|
|
8820
|
+
var S = 31 - Kn(y), O = 1 << S, L = g[S];
|
|
8821
|
+
L === -1 ? ((O & l) === 0 || (O & d) !== 0) && (g[S] = kS(O, s)) : L <= s && (i.expiredLanes |= O), y &= ~O;
|
|
8817
8822
|
}
|
|
8818
8823
|
}
|
|
8819
8824
|
function Wc(i) {
|
|
@@ -9109,7 +9114,7 @@ function GN() {
|
|
|
9109
9114
|
function xn(i) {
|
|
9110
9115
|
function s(l, d, g, y, S) {
|
|
9111
9116
|
this._reactName = l, this._targetInst = g, this.type = d, this.nativeEvent = y, this.target = S, this.currentTarget = null;
|
|
9112
|
-
for (var
|
|
9117
|
+
for (var O in i) i.hasOwnProperty(O) && (l = i[O], this[O] = l ? l(y) : y[O]);
|
|
9113
9118
|
return this.isDefaultPrevented = (y.defaultPrevented != null ? y.defaultPrevented : y.returnValue === !1) ? ma : G0, this.isPropagationStopped = G0, this;
|
|
9114
9119
|
}
|
|
9115
9120
|
return x(s.prototype, { preventDefault: function() {
|
|
@@ -9434,13 +9439,13 @@ function GN() {
|
|
|
9434
9439
|
e: {
|
|
9435
9440
|
var y = void 0;
|
|
9436
9441
|
if (s) for (var S = d.length - 1; 0 <= S; S--) {
|
|
9437
|
-
var
|
|
9438
|
-
if (
|
|
9439
|
-
_m(g,
|
|
9442
|
+
var O = d[S], L = O.instance, Y = O.currentTarget;
|
|
9443
|
+
if (O = O.listener, L !== y && g.isPropagationStopped()) break e;
|
|
9444
|
+
_m(g, O, Y), y = L;
|
|
9440
9445
|
}
|
|
9441
9446
|
else for (S = 0; S < d.length; S++) {
|
|
9442
|
-
if (
|
|
9443
|
-
_m(g,
|
|
9447
|
+
if (O = d[S], L = O.instance, Y = O.currentTarget, O = O.listener, L !== y && g.isPropagationStopped()) break e;
|
|
9448
|
+
_m(g, O, Y), y = L;
|
|
9444
9449
|
}
|
|
9445
9450
|
}
|
|
9446
9451
|
}
|
|
@@ -9485,20 +9490,20 @@ function GN() {
|
|
|
9485
9490
|
if (d === null) return;
|
|
9486
9491
|
var S = d.tag;
|
|
9487
9492
|
if (S === 3 || S === 4) {
|
|
9488
|
-
var
|
|
9489
|
-
if (
|
|
9493
|
+
var O = d.stateNode.containerInfo;
|
|
9494
|
+
if (O === g || O.nodeType === 8 && O.parentNode === g) break;
|
|
9490
9495
|
if (S === 4) for (S = d.return; S !== null; ) {
|
|
9491
9496
|
var L = S.tag;
|
|
9492
9497
|
if ((L === 3 || L === 4) && (L = S.stateNode.containerInfo, L === g || L.nodeType === 8 && L.parentNode === g)) return;
|
|
9493
9498
|
S = S.return;
|
|
9494
9499
|
}
|
|
9495
|
-
for (;
|
|
9496
|
-
if (S = Li(
|
|
9500
|
+
for (; O !== null; ) {
|
|
9501
|
+
if (S = Li(O), S === null) return;
|
|
9497
9502
|
if (L = S.tag, L === 5 || L === 6) {
|
|
9498
9503
|
d = y = S;
|
|
9499
9504
|
continue e;
|
|
9500
9505
|
}
|
|
9501
|
-
|
|
9506
|
+
O = O.parentNode;
|
|
9502
9507
|
}
|
|
9503
9508
|
}
|
|
9504
9509
|
d = d.return;
|
|
@@ -9688,9 +9693,9 @@ function GN() {
|
|
|
9688
9693
|
}
|
|
9689
9694
|
function xm(i, s, l, d, g) {
|
|
9690
9695
|
for (var y = s._reactName, S = []; l !== null && l !== d; ) {
|
|
9691
|
-
var
|
|
9696
|
+
var O = l, L = O.alternate, Y = O.stateNode;
|
|
9692
9697
|
if (L !== null && L === d) break;
|
|
9693
|
-
|
|
9698
|
+
O.tag === 5 && Y !== null && (O = Y, g ? (L = So(l, y), L != null && S.unshift(zo(l, L, O))) : g || (L = So(l, y), L != null && S.push(zo(l, L, O)))), l = l.return;
|
|
9694
9699
|
}
|
|
9695
9700
|
S.length !== 0 && i.push({ event: s, listeners: S });
|
|
9696
9701
|
}
|
|
@@ -9969,8 +9974,8 @@ function GN() {
|
|
|
9969
9974
|
if (!d) throw Error(n(147, i));
|
|
9970
9975
|
var g = d, y = "" + i;
|
|
9971
9976
|
return s !== null && s.ref !== null && typeof s.ref == "function" && s.ref._stringRef === y ? s.ref : (s = function(S) {
|
|
9972
|
-
var
|
|
9973
|
-
S === null ? delete
|
|
9977
|
+
var O = g.refs;
|
|
9978
|
+
S === null ? delete O[y] : O[y] = S;
|
|
9974
9979
|
}, s._stringRef = y, s);
|
|
9975
9980
|
}
|
|
9976
9981
|
if (typeof i != "string") throw Error(n(284));
|
|
@@ -10010,7 +10015,7 @@ function GN() {
|
|
|
10010
10015
|
function S(z) {
|
|
10011
10016
|
return i && z.alternate === null && (z.flags |= 2), z;
|
|
10012
10017
|
}
|
|
10013
|
-
function
|
|
10018
|
+
function O(z, M, V, ge) {
|
|
10014
10019
|
return M === null || M.tag !== 6 ? (M = _d(V, z.mode, ge), M.return = z, M) : (M = g(M, V), M.return = z, M);
|
|
10015
10020
|
}
|
|
10016
10021
|
function L(z, M, V, ge) {
|
|
@@ -10042,7 +10047,7 @@ function GN() {
|
|
|
10042
10047
|
}
|
|
10043
10048
|
function ne(z, M, V, ge) {
|
|
10044
10049
|
var Ne = M !== null ? M.key : null;
|
|
10045
|
-
if (typeof V == "string" && V !== "" || typeof V == "number") return Ne !== null ? null :
|
|
10050
|
+
if (typeof V == "string" && V !== "" || typeof V == "number") return Ne !== null ? null : O(z, M, "" + V, ge);
|
|
10046
10051
|
if (typeof V == "object" && V !== null) {
|
|
10047
10052
|
switch (V.$$typeof) {
|
|
10048
10053
|
case W:
|
|
@@ -10063,7 +10068,7 @@ function GN() {
|
|
|
10063
10068
|
return null;
|
|
10064
10069
|
}
|
|
10065
10070
|
function Ce(z, M, V, ge, Ne) {
|
|
10066
|
-
if (typeof ge == "string" && ge !== "" || typeof ge == "number") return z = z.get(V) || null,
|
|
10071
|
+
if (typeof ge == "string" && ge !== "" || typeof ge == "number") return z = z.get(V) || null, O(M, z, "" + ge, Ne);
|
|
10067
10072
|
if (typeof ge == "object" && ge !== null) {
|
|
10068
10073
|
switch (ge.$$typeof) {
|
|
10069
10074
|
case W:
|
|
@@ -10260,30 +10265,30 @@ function GN() {
|
|
|
10260
10265
|
function Da(i, s, l, d) {
|
|
10261
10266
|
var g = i.updateQueue;
|
|
10262
10267
|
fi = !1;
|
|
10263
|
-
var y = g.firstBaseUpdate, S = g.lastBaseUpdate,
|
|
10264
|
-
if (
|
|
10268
|
+
var y = g.firstBaseUpdate, S = g.lastBaseUpdate, O = g.shared.pending;
|
|
10269
|
+
if (O !== null) {
|
|
10265
10270
|
g.shared.pending = null;
|
|
10266
|
-
var L =
|
|
10271
|
+
var L = O, Y = L.next;
|
|
10267
10272
|
L.next = null, S === null ? y = Y : S.next = Y, S = L;
|
|
10268
10273
|
var ie = i.alternate;
|
|
10269
|
-
ie !== null && (ie = ie.updateQueue,
|
|
10274
|
+
ie !== null && (ie = ie.updateQueue, O = ie.lastBaseUpdate, O !== S && (O === null ? ie.firstBaseUpdate = Y : O.next = Y, ie.lastBaseUpdate = L));
|
|
10270
10275
|
}
|
|
10271
10276
|
if (y !== null) {
|
|
10272
10277
|
var ue = g.baseState;
|
|
10273
|
-
S = 0, ie = Y = L = null,
|
|
10278
|
+
S = 0, ie = Y = L = null, O = y;
|
|
10274
10279
|
do {
|
|
10275
|
-
var ne =
|
|
10280
|
+
var ne = O.lane, Ce = O.eventTime;
|
|
10276
10281
|
if ((d & ne) === ne) {
|
|
10277
10282
|
ie !== null && (ie = ie.next = {
|
|
10278
10283
|
eventTime: Ce,
|
|
10279
10284
|
lane: 0,
|
|
10280
|
-
tag:
|
|
10281
|
-
payload:
|
|
10282
|
-
callback:
|
|
10285
|
+
tag: O.tag,
|
|
10286
|
+
payload: O.payload,
|
|
10287
|
+
callback: O.callback,
|
|
10283
10288
|
next: null
|
|
10284
10289
|
});
|
|
10285
10290
|
e: {
|
|
10286
|
-
var we = i, ke =
|
|
10291
|
+
var we = i, ke = O;
|
|
10287
10292
|
switch (ne = s, Ce = l, ke.tag) {
|
|
10288
10293
|
case 1:
|
|
10289
10294
|
if (we = ke.payload, typeof we == "function") {
|
|
@@ -10302,11 +10307,11 @@ function GN() {
|
|
|
10302
10307
|
fi = !0;
|
|
10303
10308
|
}
|
|
10304
10309
|
}
|
|
10305
|
-
|
|
10306
|
-
} else Ce = { eventTime: Ce, lane: ne, tag:
|
|
10307
|
-
if (
|
|
10308
|
-
if (
|
|
10309
|
-
ne =
|
|
10310
|
+
O.callback !== null && O.lane !== 0 && (i.flags |= 64, ne = g.effects, ne === null ? g.effects = [O] : ne.push(O));
|
|
10311
|
+
} else Ce = { eventTime: Ce, lane: ne, tag: O.tag, payload: O.payload, callback: O.callback, next: null }, ie === null ? (Y = ie = Ce, L = ue) : ie = ie.next = Ce, S |= ne;
|
|
10312
|
+
if (O = O.next, O === null) {
|
|
10313
|
+
if (O = g.shared.pending, O === null) break;
|
|
10314
|
+
ne = O, O = ne.next, ne.next = null, g.lastBaseUpdate = ne, g.shared.pending = null;
|
|
10310
10315
|
}
|
|
10311
10316
|
} while (!0);
|
|
10312
10317
|
if (ie === null && (L = ue), g.baseState = L, g.firstBaseUpdate = Y, g.lastBaseUpdate = ie, s = g.shared.interleaved, s !== null) {
|
|
@@ -10438,7 +10443,7 @@ function GN() {
|
|
|
10438
10443
|
}
|
|
10439
10444
|
if (g !== null) {
|
|
10440
10445
|
y = g.next, d = d.baseState;
|
|
10441
|
-
var
|
|
10446
|
+
var O = S = null, L = null, Y = y;
|
|
10442
10447
|
do {
|
|
10443
10448
|
var ie = Y.lane;
|
|
10444
10449
|
if ((Hi & ie) === ie) L !== null && (L = L.next = { lane: 0, action: Y.action, hasEagerState: Y.hasEagerState, eagerState: Y.eagerState, next: null }), d = Y.hasEagerState ? Y.eagerState : i(d, Y.action);
|
|
@@ -10450,11 +10455,11 @@ function GN() {
|
|
|
10450
10455
|
eagerState: Y.eagerState,
|
|
10451
10456
|
next: null
|
|
10452
10457
|
};
|
|
10453
|
-
L === null ? (
|
|
10458
|
+
L === null ? (O = L = ue, S = d) : L = L.next = ue, Tt.lanes |= ie, zi |= ie;
|
|
10454
10459
|
}
|
|
10455
10460
|
Y = Y.next;
|
|
10456
10461
|
} while (Y !== null && Y !== y);
|
|
10457
|
-
L === null ? S = d : L.next =
|
|
10462
|
+
L === null ? S = d : L.next = O, Qn(d, s.memoizedState) || (cn = !0), s.memoizedState = d, s.baseState = S, s.baseQueue = L, l.lastRenderedState = d;
|
|
10458
10463
|
}
|
|
10459
10464
|
if (i = l.interleaved, i !== null) {
|
|
10460
10465
|
g = i;
|
|
@@ -10609,8 +10614,8 @@ function GN() {
|
|
|
10609
10614
|
else {
|
|
10610
10615
|
var y = i.alternate;
|
|
10611
10616
|
if (i.lanes === 0 && (y === null || y.lanes === 0) && (y = s.lastRenderedReducer, y !== null)) try {
|
|
10612
|
-
var S = s.lastRenderedState,
|
|
10613
|
-
if (g.hasEagerState = !0, g.eagerState =
|
|
10617
|
+
var S = s.lastRenderedState, O = y(S, l);
|
|
10618
|
+
if (g.hasEagerState = !0, g.eagerState = O, Qn(O, S)) {
|
|
10614
10619
|
var L = s.interleaved;
|
|
10615
10620
|
L === null ? (g.next = g, Df(s)) : (g.next = L.next, L.next = g), s.interleaved = g;
|
|
10616
10621
|
return;
|
|
@@ -10891,20 +10896,20 @@ Error generating stack: ` + y.message + `
|
|
|
10891
10896
|
} else y = !1;
|
|
10892
10897
|
if (vs(s, g), s.stateNode === null) Va(i, s), hg(s, l, d), Qf(s, l, d, g), d = !0;
|
|
10893
10898
|
else if (i === null) {
|
|
10894
|
-
var S = s.stateNode,
|
|
10895
|
-
S.props =
|
|
10899
|
+
var S = s.stateNode, O = s.memoizedProps;
|
|
10900
|
+
S.props = O;
|
|
10896
10901
|
var L = S.context, Y = l.contextType;
|
|
10897
10902
|
typeof Y == "object" && Y !== null ? Y = Bn(Y) : (Y = ln(l) ? Di : Wt.current, Y = _s(s, Y));
|
|
10898
10903
|
var ie = l.getDerivedStateFromProps, ue = typeof ie == "function" || typeof S.getSnapshotBeforeUpdate == "function";
|
|
10899
|
-
ue || typeof S.UNSAFE_componentWillReceiveProps != "function" && typeof S.componentWillReceiveProps != "function" || (
|
|
10904
|
+
ue || typeof S.UNSAFE_componentWillReceiveProps != "function" && typeof S.componentWillReceiveProps != "function" || (O !== d || L !== Y) && pg(s, S, d, Y), fi = !1;
|
|
10900
10905
|
var ne = s.memoizedState;
|
|
10901
|
-
S.state = ne, Da(s, d, S, g), L = s.memoizedState,
|
|
10906
|
+
S.state = ne, Da(s, d, S, g), L = s.memoizedState, O !== d || ne !== L || an.current || fi ? (typeof ie == "function" && (Kf(s, l, ie, d), L = s.memoizedState), (O = fi || dg(s, l, O, d, ne, L, Y)) ? (ue || typeof S.UNSAFE_componentWillMount != "function" && typeof S.componentWillMount != "function" || (typeof S.componentWillMount == "function" && S.componentWillMount(), typeof S.UNSAFE_componentWillMount == "function" && S.UNSAFE_componentWillMount()), typeof S.componentDidMount == "function" && (s.flags |= 4194308)) : (typeof S.componentDidMount == "function" && (s.flags |= 4194308), s.memoizedProps = d, s.memoizedState = L), S.props = d, S.state = L, S.context = Y, d = O) : (typeof S.componentDidMount == "function" && (s.flags |= 4194308), d = !1);
|
|
10902
10907
|
} else {
|
|
10903
|
-
S = s.stateNode, zm(i, s),
|
|
10908
|
+
S = s.stateNode, zm(i, s), O = s.memoizedProps, Y = s.type === s.elementType ? O : Jn(s.type, O), S.props = Y, ue = s.pendingProps, ne = S.context, L = l.contextType, typeof L == "object" && L !== null ? L = Bn(L) : (L = ln(l) ? Di : Wt.current, L = _s(s, L));
|
|
10904
10909
|
var Ce = l.getDerivedStateFromProps;
|
|
10905
|
-
(ie = typeof Ce == "function" || typeof S.getSnapshotBeforeUpdate == "function") || typeof S.UNSAFE_componentWillReceiveProps != "function" && typeof S.componentWillReceiveProps != "function" || (
|
|
10910
|
+
(ie = typeof Ce == "function" || typeof S.getSnapshotBeforeUpdate == "function") || typeof S.UNSAFE_componentWillReceiveProps != "function" && typeof S.componentWillReceiveProps != "function" || (O !== ue || ne !== L) && pg(s, S, d, L), fi = !1, ne = s.memoizedState, S.state = ne, Da(s, d, S, g);
|
|
10906
10911
|
var we = s.memoizedState;
|
|
10907
|
-
|
|
10912
|
+
O !== ue || ne !== we || an.current || fi ? (typeof Ce == "function" && (Kf(s, l, Ce, d), we = s.memoizedState), (Y = fi || dg(s, l, Y, d, ne, we, L) || !1) ? (ie || typeof S.UNSAFE_componentWillUpdate != "function" && typeof S.componentWillUpdate != "function" || (typeof S.componentWillUpdate == "function" && S.componentWillUpdate(d, we, L), typeof S.UNSAFE_componentWillUpdate == "function" && S.UNSAFE_componentWillUpdate(d, we, L)), typeof S.componentDidUpdate == "function" && (s.flags |= 4), typeof S.getSnapshotBeforeUpdate == "function" && (s.flags |= 1024)) : (typeof S.componentDidUpdate != "function" || O === i.memoizedProps && ne === i.memoizedState || (s.flags |= 4), typeof S.getSnapshotBeforeUpdate != "function" || O === i.memoizedProps && ne === i.memoizedState || (s.flags |= 1024), s.memoizedProps = d, s.memoizedState = we), S.props = d, S.state = we, S.context = L, d = Y) : (typeof S.componentDidUpdate != "function" || O === i.memoizedProps && ne === i.memoizedState || (s.flags |= 4), typeof S.getSnapshotBeforeUpdate != "function" || O === i.memoizedProps && ne === i.memoizedState || (s.flags |= 1024), d = !1);
|
|
10908
10913
|
}
|
|
10909
10914
|
return ed(i, s, l, d, y, g);
|
|
10910
10915
|
}
|
|
@@ -10913,8 +10918,8 @@ Error generating stack: ` + y.message + `
|
|
|
10913
10918
|
var S = (s.flags & 128) !== 0;
|
|
10914
10919
|
if (!d && !S) return g && Om(s, l, !1), Ur(i, s, y);
|
|
10915
10920
|
d = s.stateNode, BC.current = s;
|
|
10916
|
-
var
|
|
10917
|
-
return s.flags |= 1, i !== null && S ? (s.child = As(s, i.child, null, y), s.child = As(s, null,
|
|
10921
|
+
var O = S && typeof l.getDerivedStateFromError != "function" ? null : d.render();
|
|
10922
|
+
return s.flags |= 1, i !== null && S ? (s.child = As(s, i.child, null, y), s.child = As(s, null, O, y)) : nn(i, s, O, y), s.memoizedState = d.state, g && Om(s, l, !0), s.child;
|
|
10918
10923
|
}
|
|
10919
10924
|
function wg(i) {
|
|
10920
10925
|
var s = i.stateNode;
|
|
@@ -10928,14 +10933,14 @@ Error generating stack: ` + y.message + `
|
|
|
10928
10933
|
return { baseLanes: i, cachePool: null, transitions: null };
|
|
10929
10934
|
}
|
|
10930
10935
|
function kg(i, s, l) {
|
|
10931
|
-
var d = s.pendingProps, g = yt.current, y = !1, S = (s.flags & 128) !== 0,
|
|
10932
|
-
if ((
|
|
10936
|
+
var d = s.pendingProps, g = yt.current, y = !1, S = (s.flags & 128) !== 0, O;
|
|
10937
|
+
if ((O = S) || (O = i !== null && i.memoizedState === null ? !1 : (g & 2) !== 0), O ? (y = !0, s.flags &= -129) : (i === null || i.memoizedState !== null) && (g |= 1), ut(yt, g & 1), i === null)
|
|
10933
10938
|
return Nf(s), i = s.memoizedState, i !== null && (i = i.dehydrated, i !== null) ? ((s.mode & 1) === 0 ? s.lanes = 1 : i.data === "$!" ? s.lanes = 8 : s.lanes = 1073741824, null) : (S = d.children, i = d.fallback, y ? (d = s.mode, y = s.child, S = { mode: "hidden", children: S }, (d & 1) === 0 && y !== null ? (y.childLanes = 0, y.pendingProps = S) : y = nl(S, d, 0, null), i = qi(i, d, l, null), y.return = s, i.return = s, y.sibling = i, s.child = y, s.child.memoizedState = nd(l), s.memoizedState = td, i) : rd(s, S));
|
|
10934
|
-
if (g = i.memoizedState, g !== null && (
|
|
10939
|
+
if (g = i.memoizedState, g !== null && (O = g.dehydrated, O !== null)) return UC(i, s, S, d, O, g, l);
|
|
10935
10940
|
if (y) {
|
|
10936
|
-
y = d.fallback, S = s.mode, g = i.child,
|
|
10941
|
+
y = d.fallback, S = s.mode, g = i.child, O = g.sibling;
|
|
10937
10942
|
var L = { mode: "hidden", children: d.children };
|
|
10938
|
-
return (S & 1) === 0 && s.child !== g ? (d = s.child, d.childLanes = 0, d.pendingProps = L, s.deletions = null) : (d = yi(g, L), d.subtreeFlags = g.subtreeFlags & 14680064),
|
|
10943
|
+
return (S & 1) === 0 && s.child !== g ? (d = s.child, d.childLanes = 0, d.pendingProps = L, s.deletions = null) : (d = yi(g, L), d.subtreeFlags = g.subtreeFlags & 14680064), O !== null ? y = yi(O, y) : (y = qi(y, S, l, null), y.flags |= 2), y.return = s, d.return = s, d.sibling = y, s.child = d, d = y, y = s.child, S = i.child.memoizedState, S = S === null ? nd(l) : { baseLanes: S.baseLanes | l, cachePool: null, transitions: S.transitions }, y.memoizedState = S, y.childLanes = i.childLanes & ~l, s.memoizedState = td, d;
|
|
10939
10944
|
}
|
|
10940
10945
|
return y = i.child, i = y.sibling, d = yi(y, { mode: "visible", children: d.children }), (s.mode & 1) === 0 && (d.lanes = l), d.return = s, d.sibling = null, i !== null && (l = s.deletions, l === null ? (s.deletions = [i], s.flags |= 16) : l.push(i)), s.child = d, s.memoizedState = null, d;
|
|
10941
10946
|
}
|
|
@@ -10950,10 +10955,10 @@ Error generating stack: ` + y.message + `
|
|
|
10950
10955
|
return s.flags & 256 ? (s.flags &= -257, d = Xf(Error(n(422))), $a(i, s, S, d)) : s.memoizedState !== null ? (s.child = i.child, s.flags |= 128, null) : (y = d.fallback, g = s.mode, d = nl({ mode: "visible", children: d.children }, g, 0, null), y = qi(y, g, S, null), y.flags |= 2, d.return = s, y.return = s, d.sibling = y, s.child = d, (s.mode & 1) !== 0 && As(s, i.child, null, S), s.child.memoizedState = nd(S), s.memoizedState = td, y);
|
|
10951
10956
|
if ((s.mode & 1) === 0) return $a(i, s, S, null);
|
|
10952
10957
|
if (g.data === "$!") {
|
|
10953
|
-
if (d = g.nextSibling && g.nextSibling.dataset, d) var
|
|
10954
|
-
return d =
|
|
10958
|
+
if (d = g.nextSibling && g.nextSibling.dataset, d) var O = d.dgst;
|
|
10959
|
+
return d = O, y = Error(n(419)), d = Xf(y, d, void 0), $a(i, s, S, d);
|
|
10955
10960
|
}
|
|
10956
|
-
if (
|
|
10961
|
+
if (O = (S & i.childLanes) !== 0, cn || O) {
|
|
10957
10962
|
if (d = Dt, d !== null) {
|
|
10958
10963
|
switch (S & -S) {
|
|
10959
10964
|
case 4:
|
|
@@ -11136,19 +11141,19 @@ Error generating stack: ` + y.message + `
|
|
|
11136
11141
|
var S;
|
|
11137
11142
|
l = null;
|
|
11138
11143
|
for (Y in g) if (!d.hasOwnProperty(Y) && g.hasOwnProperty(Y) && g[Y] != null) if (Y === "style") {
|
|
11139
|
-
var
|
|
11140
|
-
for (S in
|
|
11144
|
+
var O = g[Y];
|
|
11145
|
+
for (S in O) O.hasOwnProperty(S) && (l || (l = {}), l[S] = "");
|
|
11141
11146
|
} else Y !== "dangerouslySetInnerHTML" && Y !== "children" && Y !== "suppressContentEditableWarning" && Y !== "suppressHydrationWarning" && Y !== "autoFocus" && (o.hasOwnProperty(Y) ? y || (y = []) : (y = y || []).push(Y, null));
|
|
11142
11147
|
for (Y in d) {
|
|
11143
11148
|
var L = d[Y];
|
|
11144
|
-
if (
|
|
11145
|
-
for (S in
|
|
11146
|
-
for (S in L) L.hasOwnProperty(S) &&
|
|
11149
|
+
if (O = g != null ? g[Y] : void 0, d.hasOwnProperty(Y) && L !== O && (L != null || O != null)) if (Y === "style") if (O) {
|
|
11150
|
+
for (S in O) !O.hasOwnProperty(S) || L && L.hasOwnProperty(S) || (l || (l = {}), l[S] = "");
|
|
11151
|
+
for (S in L) L.hasOwnProperty(S) && O[S] !== L[S] && (l || (l = {}), l[S] = L[S]);
|
|
11147
11152
|
} else l || (y || (y = []), y.push(
|
|
11148
11153
|
Y,
|
|
11149
11154
|
l
|
|
11150
11155
|
)), l = L;
|
|
11151
|
-
else Y === "dangerouslySetInnerHTML" ? (L = L ? L.__html : void 0,
|
|
11156
|
+
else Y === "dangerouslySetInnerHTML" ? (L = L ? L.__html : void 0, O = O ? O.__html : void 0, L != null && O !== L && (y = y || []).push(Y, L)) : Y === "children" ? typeof L != "string" && typeof L != "number" || (y = y || []).push(Y, "" + L) : Y !== "suppressContentEditableWarning" && Y !== "suppressHydrationWarning" && (o.hasOwnProperty(Y) ? (L != null && Y === "onScroll" && ft("scroll", i), y || O === L || (y = [])) : (y = y || []).push(Y, L));
|
|
11152
11157
|
}
|
|
11153
11158
|
l && (y = y || []).push("style", l);
|
|
11154
11159
|
var Y = y;
|
|
@@ -11244,12 +11249,12 @@ Error generating stack: ` + y.message + `
|
|
|
11244
11249
|
}
|
|
11245
11250
|
jt(l, y), g = null;
|
|
11246
11251
|
for (var S in y) if (y.hasOwnProperty(S)) {
|
|
11247
|
-
var
|
|
11248
|
-
S === "children" ? typeof
|
|
11252
|
+
var O = y[S];
|
|
11253
|
+
S === "children" ? typeof O == "string" ? d.textContent !== O && (y.suppressHydrationWarning !== !0 && Sa(d.textContent, O, i), g = ["children", O]) : typeof O == "number" && d.textContent !== "" + O && (y.suppressHydrationWarning !== !0 && Sa(
|
|
11249
11254
|
d.textContent,
|
|
11250
|
-
|
|
11255
|
+
O,
|
|
11251
11256
|
i
|
|
11252
|
-
), g = ["children", "" +
|
|
11257
|
+
), g = ["children", "" + O]) : o.hasOwnProperty(S) && O != null && S === "onScroll" && ft("scroll", d);
|
|
11253
11258
|
}
|
|
11254
11259
|
switch (l) {
|
|
11255
11260
|
case "input":
|
|
@@ -11311,9 +11316,9 @@ Error generating stack: ` + y.message + `
|
|
|
11311
11316
|
default:
|
|
11312
11317
|
g = d;
|
|
11313
11318
|
}
|
|
11314
|
-
jt(l, g),
|
|
11315
|
-
for (y in
|
|
11316
|
-
var L =
|
|
11319
|
+
jt(l, g), O = g;
|
|
11320
|
+
for (y in O) if (O.hasOwnProperty(y)) {
|
|
11321
|
+
var L = O[y];
|
|
11317
11322
|
y === "style" ? ei(i, L) : y === "dangerouslySetInnerHTML" ? (L = L ? L.__html : void 0, L != null && $e(i, L)) : y === "children" ? typeof L == "string" ? (l !== "textarea" || L !== "") && Qe(i, L) : typeof L == "number" && Qe(i, "" + L) : y !== "suppressContentEditableWarning" && y !== "suppressHydrationWarning" && y !== "autoFocus" && (o.hasOwnProperty(y) ? L != null && y === "onScroll" && ft("scroll", i) : L != null && D(i, y, L, S));
|
|
11318
11323
|
}
|
|
11319
11324
|
switch (l) {
|
|
@@ -11485,18 +11490,18 @@ Error generating stack: ` + y.message + `
|
|
|
11485
11490
|
l = null;
|
|
11486
11491
|
break e;
|
|
11487
11492
|
}
|
|
11488
|
-
var S = 0,
|
|
11493
|
+
var S = 0, O = -1, L = -1, Y = 0, ie = 0, ue = i, ne = null;
|
|
11489
11494
|
t: for (; ; ) {
|
|
11490
|
-
for (var Ce; ue !== l || g !== 0 && ue.nodeType !== 3 || (
|
|
11495
|
+
for (var Ce; ue !== l || g !== 0 && ue.nodeType !== 3 || (O = S + g), ue !== y || d !== 0 && ue.nodeType !== 3 || (L = S + d), ue.nodeType === 3 && (S += ue.nodeValue.length), (Ce = ue.firstChild) !== null; )
|
|
11491
11496
|
ne = ue, ue = Ce;
|
|
11492
11497
|
for (; ; ) {
|
|
11493
11498
|
if (ue === i) break t;
|
|
11494
|
-
if (ne === l && ++Y === g && (
|
|
11499
|
+
if (ne === l && ++Y === g && (O = S), ne === y && ++ie === d && (L = S), (Ce = ue.nextSibling) !== null) break;
|
|
11495
11500
|
ue = ne, ne = ue.parentNode;
|
|
11496
11501
|
}
|
|
11497
11502
|
ue = Ce;
|
|
11498
11503
|
}
|
|
11499
|
-
l =
|
|
11504
|
+
l = O === -1 || L === -1 ? null : { start: O, end: L };
|
|
11500
11505
|
} else l = null;
|
|
11501
11506
|
}
|
|
11502
11507
|
l = l || { start: 0, end: 0 };
|
|
@@ -11616,7 +11621,7 @@ Error generating stack: ` + y.message + `
|
|
|
11616
11621
|
function Bg(i, s, l) {
|
|
11617
11622
|
if (dr && typeof dr.onCommitFiberUnmount == "function") try {
|
|
11618
11623
|
dr.onCommitFiberUnmount(sa, l);
|
|
11619
|
-
} catch (
|
|
11624
|
+
} catch (O) {
|
|
11620
11625
|
}
|
|
11621
11626
|
switch (l.tag) {
|
|
11622
11627
|
case 5:
|
|
@@ -11647,8 +11652,8 @@ Error generating stack: ` + y.message + `
|
|
|
11647
11652
|
case 1:
|
|
11648
11653
|
if (!Qt && (Os(l, s), d = l.stateNode, typeof d.componentWillUnmount == "function")) try {
|
|
11649
11654
|
d.props = l.memoizedProps, d.state = l.memoizedState, d.componentWillUnmount();
|
|
11650
|
-
} catch (
|
|
11651
|
-
Ct(l, s,
|
|
11655
|
+
} catch (O) {
|
|
11656
|
+
Ct(l, s, O);
|
|
11652
11657
|
}
|
|
11653
11658
|
hi(i, s, l);
|
|
11654
11659
|
break;
|
|
@@ -11678,20 +11683,20 @@ Error generating stack: ` + y.message + `
|
|
|
11678
11683
|
if (l !== null) for (var d = 0; d < l.length; d++) {
|
|
11679
11684
|
var g = l[d];
|
|
11680
11685
|
try {
|
|
11681
|
-
var y = i, S = s,
|
|
11682
|
-
e: for (;
|
|
11683
|
-
switch (
|
|
11686
|
+
var y = i, S = s, O = S;
|
|
11687
|
+
e: for (; O !== null; ) {
|
|
11688
|
+
switch (O.tag) {
|
|
11684
11689
|
case 5:
|
|
11685
|
-
$t =
|
|
11690
|
+
$t = O.stateNode, Zn = !1;
|
|
11686
11691
|
break e;
|
|
11687
11692
|
case 3:
|
|
11688
|
-
$t =
|
|
11693
|
+
$t = O.stateNode.containerInfo, Zn = !0;
|
|
11689
11694
|
break e;
|
|
11690
11695
|
case 4:
|
|
11691
|
-
$t =
|
|
11696
|
+
$t = O.stateNode.containerInfo, Zn = !0;
|
|
11692
11697
|
break e;
|
|
11693
11698
|
}
|
|
11694
|
-
|
|
11699
|
+
O = O.return;
|
|
11695
11700
|
}
|
|
11696
11701
|
if ($t === null) throw Error(n(160));
|
|
11697
11702
|
Bg(y, S, g), $t = null, Zn = !1;
|
|
@@ -11736,15 +11741,15 @@ Error generating stack: ` + y.message + `
|
|
|
11736
11741
|
}
|
|
11737
11742
|
}
|
|
11738
11743
|
if (d & 4 && (g = i.stateNode, g != null)) {
|
|
11739
|
-
var y = i.memoizedProps, S = l !== null ? l.memoizedProps : y,
|
|
11744
|
+
var y = i.memoizedProps, S = l !== null ? l.memoizedProps : y, O = i.type, L = i.updateQueue;
|
|
11740
11745
|
if (i.updateQueue = null, L !== null) try {
|
|
11741
|
-
|
|
11742
|
-
var Y = fr(
|
|
11746
|
+
O === "input" && y.type === "radio" && y.name != null && _e(g, y), fr(O, S);
|
|
11747
|
+
var Y = fr(O, y);
|
|
11743
11748
|
for (S = 0; S < L.length; S += 2) {
|
|
11744
11749
|
var ie = L[S], ue = L[S + 1];
|
|
11745
11750
|
ie === "style" ? ei(g, ue) : ie === "dangerouslySetInnerHTML" ? $e(g, ue) : ie === "children" ? Qe(g, ue) : D(g, ie, ue, Y);
|
|
11746
11751
|
}
|
|
11747
|
-
switch (
|
|
11752
|
+
switch (O) {
|
|
11748
11753
|
case "input":
|
|
11749
11754
|
Fe(g, y);
|
|
11750
11755
|
break;
|
|
@@ -11833,7 +11838,7 @@ Error generating stack: ` + y.message + `
|
|
|
11833
11838
|
if (ie === null) {
|
|
11834
11839
|
ie = ue;
|
|
11835
11840
|
try {
|
|
11836
|
-
g = ue.stateNode, Y ? (y = g.style, typeof y.setProperty == "function" ? y.setProperty("display", "none", "important") : y.display = "none") : (
|
|
11841
|
+
g = ue.stateNode, Y ? (y = g.style, typeof y.setProperty == "function" ? y.setProperty("display", "none", "important") : y.display = "none") : (O = ue.stateNode, L = ue.memoizedProps.style, S = L != null && L.hasOwnProperty("display") ? L.display : null, O.style.display = Dn("display", S));
|
|
11837
11842
|
} catch (ke) {
|
|
11838
11843
|
Ct(i, i.return, ke);
|
|
11839
11844
|
}
|
|
@@ -11892,8 +11897,8 @@ Error generating stack: ` + y.message + `
|
|
|
11892
11897
|
break;
|
|
11893
11898
|
case 3:
|
|
11894
11899
|
case 4:
|
|
11895
|
-
var S = d.stateNode.containerInfo,
|
|
11896
|
-
ad(i,
|
|
11900
|
+
var S = d.stateNode.containerInfo, O = Fg(i);
|
|
11901
|
+
ad(i, O, S);
|
|
11897
11902
|
break;
|
|
11898
11903
|
default:
|
|
11899
11904
|
throw Error(n(161));
|
|
@@ -11914,12 +11919,12 @@ Error generating stack: ` + y.message + `
|
|
|
11914
11919
|
if (g.tag === 22 && d) {
|
|
11915
11920
|
var S = g.memoizedState !== null || qa;
|
|
11916
11921
|
if (!S) {
|
|
11917
|
-
var
|
|
11918
|
-
|
|
11922
|
+
var O = g.alternate, L = O !== null && O.memoizedState !== null || Qt;
|
|
11923
|
+
O = qa;
|
|
11919
11924
|
var Y = Qt;
|
|
11920
11925
|
if (qa = S, (Qt = L) && !Y) for (Ae = g; Ae !== null; ) S = Ae, L = S.child, S.tag === 22 && S.memoizedState !== null ? Vg(g) : L !== null ? (L.return = S, Ae = L) : Vg(g);
|
|
11921
11926
|
for (; y !== null; ) Ae = y, zg(y), y = y.sibling;
|
|
11922
|
-
Ae = g, qa =
|
|
11927
|
+
Ae = g, qa = O, Qt = Y;
|
|
11923
11928
|
}
|
|
11924
11929
|
jg(i);
|
|
11925
11930
|
} else (g.subtreeFlags & 8772) !== 0 && y !== null ? (y.return = g, Ae = y) : jg(i);
|
|
@@ -11961,9 +11966,9 @@ Error generating stack: ` + y.message + `
|
|
|
11961
11966
|
}
|
|
11962
11967
|
break;
|
|
11963
11968
|
case 5:
|
|
11964
|
-
var
|
|
11969
|
+
var O = s.stateNode;
|
|
11965
11970
|
if (l === null && s.flags & 4) {
|
|
11966
|
-
l =
|
|
11971
|
+
l = O;
|
|
11967
11972
|
var L = s.memoizedProps;
|
|
11968
11973
|
switch (s.type) {
|
|
11969
11974
|
case "button":
|
|
@@ -12083,9 +12088,9 @@ Error generating stack: ` + y.message + `
|
|
|
12083
12088
|
Ae = null;
|
|
12084
12089
|
break;
|
|
12085
12090
|
}
|
|
12086
|
-
var
|
|
12087
|
-
if (
|
|
12088
|
-
|
|
12091
|
+
var O = s.sibling;
|
|
12092
|
+
if (O !== null) {
|
|
12093
|
+
O.return = s.return, Ae = O;
|
|
12089
12094
|
break;
|
|
12090
12095
|
}
|
|
12091
12096
|
Ae = s.return;
|
|
@@ -12150,8 +12155,8 @@ Error generating stack: ` + y.message + `
|
|
|
12150
12155
|
try {
|
|
12151
12156
|
KC();
|
|
12152
12157
|
break;
|
|
12153
|
-
} catch (
|
|
12154
|
-
Wg(i,
|
|
12158
|
+
} catch (O) {
|
|
12159
|
+
Wg(i, O);
|
|
12155
12160
|
}
|
|
12156
12161
|
while (!0);
|
|
12157
12162
|
Pf(), Wa.current = y, Xe = g, kt !== null ? s = 0 : (Dt = null, Vt = 0, s = Rt);
|
|
@@ -12341,16 +12346,16 @@ Error generating stack: ` + y.message + `
|
|
|
12341
12346
|
break;
|
|
12342
12347
|
}
|
|
12343
12348
|
e: {
|
|
12344
|
-
var y = i, S = l.return,
|
|
12345
|
-
if (s = Vt,
|
|
12346
|
-
var Y = L, ie =
|
|
12349
|
+
var y = i, S = l.return, O = l, L = s;
|
|
12350
|
+
if (s = Vt, O.flags |= 32768, L !== null && typeof L == "object" && typeof L.then == "function") {
|
|
12351
|
+
var Y = L, ie = O, ue = ie.tag;
|
|
12347
12352
|
if ((ie.mode & 1) === 0 && (ue === 0 || ue === 11 || ue === 15)) {
|
|
12348
12353
|
var ne = ie.alternate;
|
|
12349
12354
|
ne ? (ie.updateQueue = ne.updateQueue, ie.memoizedState = ne.memoizedState, ie.lanes = ne.lanes) : (ie.updateQueue = null, ie.memoizedState = null);
|
|
12350
12355
|
}
|
|
12351
12356
|
var Ce = yg(S);
|
|
12352
12357
|
if (Ce !== null) {
|
|
12353
|
-
Ce.flags &= -257, Tg(Ce, S,
|
|
12358
|
+
Ce.flags &= -257, Tg(Ce, S, O, y, s), Ce.mode & 1 && Eg(y, Y, s), s = Ce, L = Y;
|
|
12354
12359
|
var we = s.updateQueue;
|
|
12355
12360
|
if (we === null) {
|
|
12356
12361
|
var ke = /* @__PURE__ */ new Set();
|
|
@@ -12364,14 +12369,14 @@ Error generating stack: ` + y.message + `
|
|
|
12364
12369
|
}
|
|
12365
12370
|
L = Error(n(426));
|
|
12366
12371
|
}
|
|
12367
|
-
} else if (pt &&
|
|
12372
|
+
} else if (pt && O.mode & 1) {
|
|
12368
12373
|
var At = yg(S);
|
|
12369
12374
|
if (At !== null) {
|
|
12370
|
-
(At.flags & 65536) === 0 && (At.flags |= 256), Tg(At, S,
|
|
12375
|
+
(At.flags & 65536) === 0 && (At.flags |= 256), Tg(At, S, O, y, s), Of(Ns(L, O));
|
|
12371
12376
|
break e;
|
|
12372
12377
|
}
|
|
12373
12378
|
}
|
|
12374
|
-
y = L = Ns(L,
|
|
12379
|
+
y = L = Ns(L, O), Rt !== 4 && (Rt = 2), tu === null ? tu = [y] : tu.push(y), y = S;
|
|
12375
12380
|
do {
|
|
12376
12381
|
switch (y.tag) {
|
|
12377
12382
|
case 3:
|
|
@@ -12380,11 +12385,11 @@ Error generating stack: ` + y.message + `
|
|
|
12380
12385
|
jm(y, z);
|
|
12381
12386
|
break e;
|
|
12382
12387
|
case 1:
|
|
12383
|
-
|
|
12388
|
+
O = L;
|
|
12384
12389
|
var M = y.type, V = y.stateNode;
|
|
12385
12390
|
if ((y.flags & 128) === 0 && (typeof M.getDerivedStateFromError == "function" || V !== null && typeof V.componentDidCatch == "function" && (pi === null || !pi.has(V)))) {
|
|
12386
12391
|
y.flags |= 65536, s &= -s, y.lanes |= s;
|
|
12387
|
-
var ge = gg(y,
|
|
12392
|
+
var ge = gg(y, O, s);
|
|
12388
12393
|
jm(y, ge);
|
|
12389
12394
|
break e;
|
|
12390
12395
|
}
|
|
@@ -12487,8 +12492,8 @@ Error generating stack: ` + y.message + `
|
|
|
12487
12492
|
y = Hn.transition, Hn.transition = null;
|
|
12488
12493
|
var S = rt;
|
|
12489
12494
|
rt = 1;
|
|
12490
|
-
var
|
|
12491
|
-
Xe |= 4, cd.current = null, VC(i, l), Hg(l, i), gC(Tf), fa = !!yf, Tf = yf = null, i.current = l, qC(l), _S(), Xe =
|
|
12495
|
+
var O = Xe;
|
|
12496
|
+
Xe |= 4, cd.current = null, VC(i, l), Hg(l, i), gC(Tf), fa = !!yf, Tf = yf = null, i.current = l, qC(l), _S(), Xe = O, rt = S, Hn.transition = y;
|
|
12492
12497
|
} else i.current = l;
|
|
12493
12498
|
if (Qa && (Qa = !1, mi = i, Xa = g), y = i.pendingLanes, y === 0 && (pi = null), xS(l.stateNode), dn(i, xt()), s !== null) for (d = i.onRecoverableError, l = 0; l < s.length; l++) g = s[l], d(g.value, { componentStack: g.stack, digest: g.digest });
|
|
12494
12499
|
if (Ka) throw Ka = !1, i = hd, hd = null, i;
|
|
@@ -12505,10 +12510,10 @@ Error generating stack: ` + y.message + `
|
|
|
12505
12510
|
for (Xe |= 4, Ae = i.current; Ae !== null; ) {
|
|
12506
12511
|
var y = Ae, S = y.child;
|
|
12507
12512
|
if ((Ae.flags & 16) !== 0) {
|
|
12508
|
-
var
|
|
12509
|
-
if (
|
|
12510
|
-
for (var L = 0; L <
|
|
12511
|
-
var Y =
|
|
12513
|
+
var O = y.deletions;
|
|
12514
|
+
if (O !== null) {
|
|
12515
|
+
for (var L = 0; L < O.length; L++) {
|
|
12516
|
+
var Y = O[L];
|
|
12512
12517
|
for (Ae = Y; Ae !== null; ) {
|
|
12513
12518
|
var ie = Ae;
|
|
12514
12519
|
switch (ie.tag) {
|
|
@@ -12570,26 +12575,26 @@ Error generating stack: ` + y.message + `
|
|
|
12570
12575
|
var V = S.child;
|
|
12571
12576
|
if ((S.subtreeFlags & 2064) !== 0 && V !== null) V.return = S, Ae = V;
|
|
12572
12577
|
else e: for (S = M; Ae !== null; ) {
|
|
12573
|
-
if (
|
|
12574
|
-
switch (
|
|
12578
|
+
if (O = Ae, (O.flags & 2048) !== 0) try {
|
|
12579
|
+
switch (O.tag) {
|
|
12575
12580
|
case 0:
|
|
12576
12581
|
case 11:
|
|
12577
12582
|
case 15:
|
|
12578
|
-
Ya(9,
|
|
12583
|
+
Ya(9, O);
|
|
12579
12584
|
}
|
|
12580
12585
|
} catch (Ne) {
|
|
12581
|
-
Ct(
|
|
12586
|
+
Ct(O, O.return, Ne);
|
|
12582
12587
|
}
|
|
12583
|
-
if (
|
|
12588
|
+
if (O === S) {
|
|
12584
12589
|
Ae = null;
|
|
12585
12590
|
break e;
|
|
12586
12591
|
}
|
|
12587
|
-
var ge =
|
|
12592
|
+
var ge = O.sibling;
|
|
12588
12593
|
if (ge !== null) {
|
|
12589
|
-
ge.return =
|
|
12594
|
+
ge.return = O.return, Ae = ge;
|
|
12590
12595
|
break e;
|
|
12591
12596
|
}
|
|
12592
|
-
Ae =
|
|
12597
|
+
Ae = O.return;
|
|
12593
12598
|
}
|
|
12594
12599
|
}
|
|
12595
12600
|
if (Xe = g, ci(), dr && typeof dr.onPostCommitFiberRoot == "function") try {
|
|
@@ -12742,10 +12747,10 @@ Error generating stack: ` + y.message + `
|
|
|
12742
12747
|
break e;
|
|
12743
12748
|
}
|
|
12744
12749
|
} else for (y = s.child, y !== null && (y.return = s); y !== null; ) {
|
|
12745
|
-
var
|
|
12746
|
-
if (
|
|
12750
|
+
var O = y.dependencies;
|
|
12751
|
+
if (O !== null) {
|
|
12747
12752
|
S = y.child;
|
|
12748
|
-
for (var L =
|
|
12753
|
+
for (var L = O.firstContext; L !== null; ) {
|
|
12749
12754
|
if (L.context === d) {
|
|
12750
12755
|
if (y.tag === 1) {
|
|
12751
12756
|
L = Br(-1, l & -l), L.tag = 2;
|
|
@@ -12760,7 +12765,7 @@ Error generating stack: ` + y.message + `
|
|
|
12760
12765
|
y.return,
|
|
12761
12766
|
l,
|
|
12762
12767
|
s
|
|
12763
|
-
),
|
|
12768
|
+
), O.lanes |= l;
|
|
12764
12769
|
break;
|
|
12765
12770
|
}
|
|
12766
12771
|
L = L.next;
|
|
@@ -12768,7 +12773,7 @@ Error generating stack: ` + y.message + `
|
|
|
12768
12773
|
} else if (y.tag === 10) S = y.type === s.type ? null : y.child;
|
|
12769
12774
|
else if (y.tag === 18) {
|
|
12770
12775
|
if (S = y.return, S === null) throw Error(n(341));
|
|
12771
|
-
S.lanes |= l,
|
|
12776
|
+
S.lanes |= l, O = S.alternate, O !== null && (O.lanes |= l), Lf(S, l, s), S = y.sibling;
|
|
12772
12777
|
} else S = y.child;
|
|
12773
12778
|
if (S !== null) S.return = y;
|
|
12774
12779
|
else for (S = y; S !== null; ) {
|
|
@@ -12881,8 +12886,8 @@ Error generating stack: ` + y.message + `
|
|
|
12881
12886
|
function nx(i, s, l, d, g) {
|
|
12882
12887
|
this.tag = s, this.containerInfo = i, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = Gc(0), this.expirationTimes = Gc(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Gc(0), this.identifierPrefix = d, this.onRecoverableError = g, this.mutableSourceEagerHydrationData = null;
|
|
12883
12888
|
}
|
|
12884
|
-
function Cd(i, s, l, d, g, y, S,
|
|
12885
|
-
return i = new nx(i, s, l,
|
|
12889
|
+
function Cd(i, s, l, d, g, y, S, O, L) {
|
|
12890
|
+
return i = new nx(i, s, l, O, L), s === 1 ? (s = 1, y === !0 && (s |= 8)) : s = 0, y = zn(3, null, null, s), i.current = y, y.stateNode = i, y.memoizedState = { element: d, isDehydrated: l, cache: null, transitions: null, pendingSuspenseBoundaries: null }, Mf(y), i;
|
|
12886
12891
|
}
|
|
12887
12892
|
function rx(i, s, l) {
|
|
12888
12893
|
var d = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
@@ -12915,8 +12920,8 @@ Error generating stack: ` + y.message + `
|
|
|
12915
12920
|
}
|
|
12916
12921
|
return s;
|
|
12917
12922
|
}
|
|
12918
|
-
function n1(i, s, l, d, g, y, S,
|
|
12919
|
-
return i = Cd(l, d, !0, i, g, y, S,
|
|
12923
|
+
function n1(i, s, l, d, g, y, S, O, L) {
|
|
12924
|
+
return i = Cd(l, d, !0, i, g, y, S, O, L), i.context = t1(null), l = i.current, d = rn(), g = gi(l), y = Br(d, g), y.callback = s != null ? s : null, di(l, y, g), i.current.lanes = g, wo(i, g, d), dn(i, d), i;
|
|
12920
12925
|
}
|
|
12921
12926
|
function rl(i, s, l, d) {
|
|
12922
12927
|
var g = s.current, y = rn(), S = gi(g);
|
|
@@ -12996,10 +13001,10 @@ Error generating stack: ` + y.message + `
|
|
|
12996
13001
|
}
|
|
12997
13002
|
for (; g = i.lastChild; ) i.removeChild(g);
|
|
12998
13003
|
if (typeof d == "function") {
|
|
12999
|
-
var
|
|
13004
|
+
var O = d;
|
|
13000
13005
|
d = function() {
|
|
13001
13006
|
var Y = il(L);
|
|
13002
|
-
|
|
13007
|
+
O.call(Y);
|
|
13003
13008
|
};
|
|
13004
13009
|
}
|
|
13005
13010
|
var L = Cd(i, 0, !1, null, null, !1, !1, "", s1);
|
|
@@ -13012,10 +13017,10 @@ Error generating stack: ` + y.message + `
|
|
|
13012
13017
|
if (y) {
|
|
13013
13018
|
var S = y;
|
|
13014
13019
|
if (typeof g == "function") {
|
|
13015
|
-
var
|
|
13020
|
+
var O = g;
|
|
13016
13021
|
g = function() {
|
|
13017
13022
|
var L = il(S);
|
|
13018
|
-
|
|
13023
|
+
O.call(L);
|
|
13019
13024
|
};
|
|
13020
13025
|
}
|
|
13021
13026
|
rl(s, S, i, g);
|
|
@@ -13505,12 +13510,12 @@ const [nO, Up] = fo({
|
|
|
13505
13510
|
providerName: "<PresenceProvider />"
|
|
13506
13511
|
}), Pb = q.forwardRef((e, t) => {
|
|
13507
13512
|
const n = Up(), r = Wu(), o = lr(n.getContentProps(), r.getPresenceProps(), e);
|
|
13508
|
-
return r.unmounted ? null : /* @__PURE__ */
|
|
13513
|
+
return r.unmounted ? null : /* @__PURE__ */ N.jsx(Ni.div, ye(U({}, o), { ref: Cc(r.ref, t) }));
|
|
13509
13514
|
});
|
|
13510
13515
|
Pb.displayName = "PopoverContent";
|
|
13511
13516
|
const Rb = q.forwardRef((e, t) => {
|
|
13512
13517
|
const n = Up(), r = Wu(), o = lr(n.getPositionerProps(), e);
|
|
13513
|
-
return r.unmounted ? null : /* @__PURE__ */
|
|
13518
|
+
return r.unmounted ? null : /* @__PURE__ */ N.jsx(Ni.div, ye(U({}, o), { ref: t }));
|
|
13514
13519
|
});
|
|
13515
13520
|
Rb.displayName = "PopoverPositioner";
|
|
13516
13521
|
const Lb = () => (e, t) => t.reduce(
|
|
@@ -16318,7 +16323,7 @@ Fp()([
|
|
|
16318
16323
|
"portalled",
|
|
16319
16324
|
"positioning"
|
|
16320
16325
|
]);
|
|
16321
|
-
const [
|
|
16326
|
+
const [sB, Gp] = fo({
|
|
16322
16327
|
name: "EnvironmentContext",
|
|
16323
16328
|
hookName: "useEnvironmentContext",
|
|
16324
16329
|
providerName: "<EnvironmentProvider />",
|
|
@@ -16328,7 +16333,7 @@ const [iB, Gp] = fo({
|
|
|
16328
16333
|
getDocument: () => document,
|
|
16329
16334
|
getWindow: () => window
|
|
16330
16335
|
}
|
|
16331
|
-
}), [
|
|
16336
|
+
}), [oB, t_] = fo({
|
|
16332
16337
|
name: "LocaleContext",
|
|
16333
16338
|
hookName: "useLocaleContext",
|
|
16334
16339
|
providerName: "<LocaleProvider />",
|
|
@@ -16343,7 +16348,7 @@ const [iB, Gp] = fo({
|
|
|
16343
16348
|
return iI(u, Ob);
|
|
16344
16349
|
}, uI = (e) => {
|
|
16345
16350
|
const [t, a] = Db(e), c = a, { children: n } = c, r = qt(c, ["children"]), o = oI(r), u = Hp(lr({ present: o.open }, t));
|
|
16346
|
-
return /* @__PURE__ */
|
|
16351
|
+
return /* @__PURE__ */ N.jsx(nO, { value: o, children: /* @__PURE__ */ N.jsx(Ib, { value: u, children: n }) });
|
|
16347
16352
|
}, n_ = q.forwardRef((e, t) => {
|
|
16348
16353
|
const n = Up(), r = Wu(), o = lr(
|
|
16349
16354
|
ye(U({}, n.getTriggerProps()), {
|
|
@@ -16351,7 +16356,7 @@ const [iB, Gp] = fo({
|
|
|
16351
16356
|
}),
|
|
16352
16357
|
e
|
|
16353
16358
|
);
|
|
16354
|
-
return /* @__PURE__ */
|
|
16359
|
+
return /* @__PURE__ */ N.jsx(Ni.button, ye(U({}, o), { ref: t }));
|
|
16355
16360
|
});
|
|
16356
16361
|
n_.displayName = "PopoverTrigger";
|
|
16357
16362
|
function aI(e) {
|
|
@@ -16373,7 +16378,7 @@ const fI = ({
|
|
|
16373
16378
|
const { resetConversation: n } = ki(), r = () => {
|
|
16374
16379
|
n(), e();
|
|
16375
16380
|
};
|
|
16376
|
-
return /* @__PURE__ */
|
|
16381
|
+
return /* @__PURE__ */ N.jsxs(
|
|
16377
16382
|
"button",
|
|
16378
16383
|
{
|
|
16379
16384
|
className: se(
|
|
@@ -16383,7 +16388,7 @@ const fI = ({
|
|
|
16383
16388
|
),
|
|
16384
16389
|
onClick: r,
|
|
16385
16390
|
children: [
|
|
16386
|
-
/* @__PURE__ */
|
|
16391
|
+
/* @__PURE__ */ N.jsx(r_, {}),
|
|
16387
16392
|
"Clear chat"
|
|
16388
16393
|
]
|
|
16389
16394
|
}
|
|
@@ -16398,8 +16403,8 @@ const fI = ({
|
|
|
16398
16403
|
}, c = (f) => {
|
|
16399
16404
|
o(f.open);
|
|
16400
16405
|
};
|
|
16401
|
-
return /* @__PURE__ */
|
|
16402
|
-
/* @__PURE__ */
|
|
16406
|
+
return /* @__PURE__ */ N.jsxs(uI, { open: r, onOpenChange: c, positioning: { placement: "bottom-end" }, children: [
|
|
16407
|
+
/* @__PURE__ */ N.jsx(
|
|
16403
16408
|
n_,
|
|
16404
16409
|
{
|
|
16405
16410
|
"aria-label": `Overflow menu for ${t}`,
|
|
@@ -16409,10 +16414,10 @@ const fI = ({
|
|
|
16409
16414
|
e,
|
|
16410
16415
|
t
|
|
16411
16416
|
),
|
|
16412
|
-
children: /* @__PURE__ */
|
|
16417
|
+
children: /* @__PURE__ */ N.jsx(cI, {})
|
|
16413
16418
|
}
|
|
16414
16419
|
),
|
|
16415
|
-
/* @__PURE__ */
|
|
16420
|
+
/* @__PURE__ */ N.jsx(Rb, { children: /* @__PURE__ */ N.jsxs(
|
|
16416
16421
|
Pb,
|
|
16417
16422
|
{
|
|
16418
16423
|
className: se(
|
|
@@ -16422,7 +16427,7 @@ const fI = ({
|
|
|
16422
16427
|
),
|
|
16423
16428
|
children: [
|
|
16424
16429
|
n,
|
|
16425
|
-
/* @__PURE__ */
|
|
16430
|
+
/* @__PURE__ */ N.jsx(fI, { componentType: t, onClearChat: a })
|
|
16426
16431
|
]
|
|
16427
16432
|
}
|
|
16428
16433
|
) })
|
|
@@ -16438,14 +16443,14 @@ const i_ = ({
|
|
|
16438
16443
|
className: e,
|
|
16439
16444
|
onClick: t,
|
|
16440
16445
|
disabled: n = !1
|
|
16441
|
-
}) => /* @__PURE__ */
|
|
16446
|
+
}) => /* @__PURE__ */ N.jsx(
|
|
16442
16447
|
"button",
|
|
16443
16448
|
{
|
|
16444
16449
|
"aria-label": "Close",
|
|
16445
16450
|
className: se(e, `${ee}-close-button`),
|
|
16446
16451
|
disabled: n,
|
|
16447
16452
|
onClick: t,
|
|
16448
|
-
children: /* @__PURE__ */
|
|
16453
|
+
children: /* @__PURE__ */ N.jsx(
|
|
16449
16454
|
"svg",
|
|
16450
16455
|
{
|
|
16451
16456
|
role: "img",
|
|
@@ -16454,7 +16459,7 @@ const i_ = ({
|
|
|
16454
16459
|
width: "16",
|
|
16455
16460
|
height: "16",
|
|
16456
16461
|
fill: "currentColor",
|
|
16457
|
-
children: /* @__PURE__ */
|
|
16462
|
+
children: /* @__PURE__ */ N.jsx("path", { d: "M18.3 5.7a1 1 0 0 0-1.4-1.4L12 9.6 7.1 4.7a1 1 0 1 0-1.4 1.4l4.9 4.9-4.9 4.9a1 1 0 1 0 1.4 1.4l4.9-4.9 4.9 4.9a1 1 0 0 0 1.4-1.4l-4.9-4.9 4.9-4.9z" })
|
|
16458
16463
|
}
|
|
16459
16464
|
)
|
|
16460
16465
|
}
|
|
@@ -16469,10 +16474,10 @@ const i_ = ({
|
|
|
16469
16474
|
const { globalClassName: u } = bn(), { resetConversation: a } = ki(), c = () => {
|
|
16470
16475
|
a(), e == null || e();
|
|
16471
16476
|
};
|
|
16472
|
-
return /* @__PURE__ */
|
|
16477
|
+
return /* @__PURE__ */ N.jsx(
|
|
16473
16478
|
no,
|
|
16474
16479
|
U({
|
|
16475
|
-
icon: /* @__PURE__ */
|
|
16480
|
+
icon: /* @__PURE__ */ N.jsx(r_, { size: "0.875rem" }),
|
|
16476
16481
|
ariaLabel: "Clear Chat",
|
|
16477
16482
|
className: se(
|
|
16478
16483
|
u,
|
|
@@ -16489,7 +16494,7 @@ const i_ = ({
|
|
|
16489
16494
|
const { globalClassName: n } = bn(), r = () => {
|
|
16490
16495
|
kp("modal");
|
|
16491
16496
|
};
|
|
16492
|
-
return t ? /* @__PURE__ */
|
|
16497
|
+
return t ? /* @__PURE__ */ N.jsx(
|
|
16493
16498
|
no,
|
|
16494
16499
|
{
|
|
16495
16500
|
className: se(
|
|
@@ -16499,9 +16504,9 @@ const i_ = ({
|
|
|
16499
16504
|
),
|
|
16500
16505
|
ariaLabel: "Toggle Modal",
|
|
16501
16506
|
onClick: r,
|
|
16502
|
-
icon: /* @__PURE__ */
|
|
16507
|
+
icon: /* @__PURE__ */ N.jsx(xE, {})
|
|
16503
16508
|
}
|
|
16504
|
-
) : /* @__PURE__ */
|
|
16509
|
+
) : /* @__PURE__ */ N.jsxs(
|
|
16505
16510
|
"button",
|
|
16506
16511
|
{
|
|
16507
16512
|
className: se(
|
|
@@ -16512,7 +16517,7 @@ const i_ = ({
|
|
|
16512
16517
|
),
|
|
16513
16518
|
onClick: r,
|
|
16514
16519
|
children: [
|
|
16515
|
-
/* @__PURE__ */
|
|
16520
|
+
/* @__PURE__ */ N.jsx(xE, {}),
|
|
16516
16521
|
"Show modal"
|
|
16517
16522
|
]
|
|
16518
16523
|
}
|
|
@@ -16521,10 +16526,10 @@ const i_ = ({
|
|
|
16521
16526
|
isWidgetStandalone: e,
|
|
16522
16527
|
product: t
|
|
16523
16528
|
}) => {
|
|
16524
|
-
const { configModule: n, globalClassName: r } = bn();
|
|
16529
|
+
const { configModule: n, globalClassName: r, openLinksInNewTab: o } = bn();
|
|
16525
16530
|
if (!n) return null;
|
|
16526
|
-
const
|
|
16527
|
-
return /* @__PURE__ */
|
|
16531
|
+
const u = n.getName(t), a = n.getBrand(t), c = n.getPriceDisplay(t), f = n.getRelativePdp(t), h = n.getPdp(t), m = n.getImage(t), E = f && typeof f == "string" ? new URL(f, window.location.origin).href : h;
|
|
16532
|
+
return /* @__PURE__ */ N.jsxs(
|
|
16528
16533
|
"div",
|
|
16529
16534
|
{
|
|
16530
16535
|
className: se(r, `${ee}-product-tile`, {
|
|
@@ -16532,19 +16537,19 @@ const i_ = ({
|
|
|
16532
16537
|
standalone: e
|
|
16533
16538
|
}),
|
|
16534
16539
|
children: [
|
|
16535
|
-
/* @__PURE__ */
|
|
16540
|
+
/* @__PURE__ */ N.jsx(
|
|
16536
16541
|
"img",
|
|
16537
16542
|
{
|
|
16538
16543
|
className: se(r, `${ee}-product-tile-image`, {
|
|
16539
16544
|
embedded: !e,
|
|
16540
16545
|
standalone: e
|
|
16541
16546
|
}),
|
|
16542
|
-
src: `${
|
|
16543
|
-
alt: `${
|
|
16547
|
+
src: `${m}`,
|
|
16548
|
+
alt: `${u}`,
|
|
16544
16549
|
loading: "lazy"
|
|
16545
16550
|
}
|
|
16546
16551
|
),
|
|
16547
|
-
/* @__PURE__ */
|
|
16552
|
+
/* @__PURE__ */ N.jsxs(
|
|
16548
16553
|
"div",
|
|
16549
16554
|
{
|
|
16550
16555
|
className: se(r, `${ee}-product-tile-details`, {
|
|
@@ -16552,20 +16557,20 @@ const i_ = ({
|
|
|
16552
16557
|
standalone: e
|
|
16553
16558
|
}),
|
|
16554
16559
|
children: [
|
|
16555
|
-
/* @__PURE__ */
|
|
16556
|
-
|
|
16557
|
-
|
|
16560
|
+
/* @__PURE__ */ N.jsxs("div", { className: se(r, `${ee}-product-tile-content`), children: [
|
|
16561
|
+
a && /* @__PURE__ */ N.jsx("p", { className: `${ee}-product-tile-brand`, children: a }),
|
|
16562
|
+
E ? /* @__PURE__ */ N.jsxs(
|
|
16558
16563
|
"a",
|
|
16559
16564
|
{
|
|
16560
|
-
"aria-label": `Go to product page for ${
|
|
16565
|
+
"aria-label": `Go to product page for ${u}`,
|
|
16561
16566
|
className: se(r, `${ee}-product-tile-pdp`),
|
|
16562
|
-
href: `${
|
|
16563
|
-
target: "_blank",
|
|
16567
|
+
href: `${E}`,
|
|
16568
|
+
target: o ? "_blank" : "_self",
|
|
16564
16569
|
rel: "noopener noreferrer",
|
|
16565
16570
|
children: [
|
|
16566
|
-
|
|
16571
|
+
u,
|
|
16567
16572
|
" ",
|
|
16568
|
-
/* @__PURE__ */
|
|
16573
|
+
/* @__PURE__ */ N.jsx(
|
|
16569
16574
|
"span",
|
|
16570
16575
|
{
|
|
16571
16576
|
className: se(r, `${ee}-product-tile-pdp-arrow`),
|
|
@@ -16574,16 +16579,16 @@ const i_ = ({
|
|
|
16574
16579
|
)
|
|
16575
16580
|
]
|
|
16576
16581
|
}
|
|
16577
|
-
) : /* @__PURE__ */
|
|
16582
|
+
) : /* @__PURE__ */ N.jsx(
|
|
16578
16583
|
"p",
|
|
16579
16584
|
{
|
|
16580
16585
|
className: se(r, `${ee}-product-tile-name`),
|
|
16581
|
-
title:
|
|
16582
|
-
children:
|
|
16586
|
+
title: u,
|
|
16587
|
+
children: u
|
|
16583
16588
|
}
|
|
16584
16589
|
)
|
|
16585
16590
|
] }),
|
|
16586
|
-
/* @__PURE__ */
|
|
16591
|
+
/* @__PURE__ */ N.jsx("div", { className: se(r, `${ee}-product-tile-footer`), children: /* @__PURE__ */ N.jsx("p", { className: se(r, `${ee}-product-tile-price`), children: c }) })
|
|
16587
16592
|
]
|
|
16588
16593
|
}
|
|
16589
16594
|
)
|
|
@@ -16595,13 +16600,13 @@ const i_ = ({
|
|
|
16595
16600
|
message: t
|
|
16596
16601
|
}) => {
|
|
16597
16602
|
const { configModule: n, globalClassName: r } = bn(), o = t;
|
|
16598
|
-
return n ? /* @__PURE__ */
|
|
16603
|
+
return n ? /* @__PURE__ */ N.jsxs(
|
|
16599
16604
|
"div",
|
|
16600
16605
|
{
|
|
16601
16606
|
className: se(r, `${ee}-display-products widget-message`),
|
|
16602
16607
|
children: [
|
|
16603
|
-
/* @__PURE__ */
|
|
16604
|
-
o.products && o.products.length > 0 && /* @__PURE__ */
|
|
16608
|
+
/* @__PURE__ */ N.jsx("p", { children: o.message }),
|
|
16609
|
+
o.products && o.products.length > 0 && /* @__PURE__ */ N.jsx(
|
|
16605
16610
|
"div",
|
|
16606
16611
|
{
|
|
16607
16612
|
className: se(r, `${ee}-product-list`, {
|
|
@@ -16610,7 +16615,7 @@ const i_ = ({
|
|
|
16610
16615
|
}),
|
|
16611
16616
|
children: o.products.map((u) => {
|
|
16612
16617
|
const a = n.getPid(u);
|
|
16613
|
-
return /* @__PURE__ */
|
|
16618
|
+
return /* @__PURE__ */ N.jsx(
|
|
16614
16619
|
pI,
|
|
16615
16620
|
{
|
|
16616
16621
|
isWidgetStandalone: e,
|
|
@@ -16628,14 +16633,14 @@ const i_ = ({
|
|
|
16628
16633
|
globalClassName: e,
|
|
16629
16634
|
message: t,
|
|
16630
16635
|
isWidgetStandalone: n
|
|
16631
|
-
}) => /* @__PURE__ */
|
|
16636
|
+
}) => /* @__PURE__ */ N.jsx(
|
|
16632
16637
|
"div",
|
|
16633
16638
|
{
|
|
16634
16639
|
className: se(e, `${ee}-error-message`, {
|
|
16635
16640
|
standalone: n,
|
|
16636
16641
|
embedded: !n
|
|
16637
16642
|
}),
|
|
16638
|
-
children: /* @__PURE__ */
|
|
16643
|
+
children: /* @__PURE__ */ N.jsxs(
|
|
16639
16644
|
"p",
|
|
16640
16645
|
{
|
|
16641
16646
|
className: se(e, `${ee}-error-message-text`, {
|
|
@@ -16643,7 +16648,7 @@ const i_ = ({
|
|
|
16643
16648
|
embedded: !n
|
|
16644
16649
|
}),
|
|
16645
16650
|
children: [
|
|
16646
|
-
/* @__PURE__ */
|
|
16651
|
+
/* @__PURE__ */ N.jsx(Ok, {}),
|
|
16647
16652
|
" ",
|
|
16648
16653
|
t.message || "An error occurred while processing your request."
|
|
16649
16654
|
]
|
|
@@ -16661,18 +16666,18 @@ const yI = ({
|
|
|
16661
16666
|
isLoading: r,
|
|
16662
16667
|
suggestions: o,
|
|
16663
16668
|
handleSuggestionClick: u
|
|
16664
|
-
}) => /* @__PURE__ */
|
|
16669
|
+
}) => /* @__PURE__ */ N.jsx(
|
|
16665
16670
|
"div",
|
|
16666
16671
|
{
|
|
16667
16672
|
className: se(e, `${ee}-suggestion-container standalone`),
|
|
16668
|
-
children: o.map((a) => /* @__PURE__ */
|
|
16673
|
+
children: o.map((a) => /* @__PURE__ */ N.jsxs(
|
|
16669
16674
|
Np,
|
|
16670
16675
|
{
|
|
16671
16676
|
disabled: r,
|
|
16672
16677
|
className: se(e, `${ee}-suggestion-button standalone`),
|
|
16673
16678
|
onClick: () => u(a, n || t),
|
|
16674
16679
|
children: [
|
|
16675
|
-
/* @__PURE__ */
|
|
16680
|
+
/* @__PURE__ */ N.jsx(EI, { size: "1.5rem", style: { minHeight: "1.5rem", minWidth: "1.5rem" } }),
|
|
16676
16681
|
" ",
|
|
16677
16682
|
a.displayText
|
|
16678
16683
|
]
|
|
@@ -16687,9 +16692,9 @@ const yI = ({
|
|
|
16687
16692
|
handleSuggestionClick: r
|
|
16688
16693
|
}) => {
|
|
16689
16694
|
const { isLoading: o } = ki();
|
|
16690
|
-
return /* @__PURE__ */
|
|
16691
|
-
/* @__PURE__ */
|
|
16692
|
-
n && /* @__PURE__ */
|
|
16695
|
+
return /* @__PURE__ */ N.jsxs("div", { className: se(e, `${ee}-follow-up`), children: [
|
|
16696
|
+
/* @__PURE__ */ N.jsx("p", { className: se(e, `${ee}-text`), children: t.message }),
|
|
16697
|
+
n && /* @__PURE__ */ N.jsx(
|
|
16693
16698
|
yI,
|
|
16694
16699
|
{
|
|
16695
16700
|
globalClassName: e,
|
|
@@ -16700,11 +16705,11 @@ const yI = ({
|
|
|
16700
16705
|
handleSuggestionClick: r
|
|
16701
16706
|
}
|
|
16702
16707
|
),
|
|
16703
|
-
!n && /* @__PURE__ */
|
|
16708
|
+
!n && /* @__PURE__ */ N.jsx(
|
|
16704
16709
|
"div",
|
|
16705
16710
|
{
|
|
16706
16711
|
className: se(e, `${ee}-suggestion-container embedded`),
|
|
16707
|
-
children: t.suggestions.map((u) => /* @__PURE__ */
|
|
16712
|
+
children: t.suggestions.map((u) => /* @__PURE__ */ N.jsx(
|
|
16708
16713
|
"button",
|
|
16709
16714
|
{
|
|
16710
16715
|
disabled: o,
|
|
@@ -23390,11 +23395,11 @@ function N6(e, t) {
|
|
|
23390
23395
|
for (const m of A6)
|
|
23391
23396
|
Object.hasOwn(t, m.from) && ("" + m.from + (m.to ? "use `" + m.to + "` instead" : "remove it") + C6 + m.id, void 0);
|
|
23392
23397
|
return Dc(e, h), VI(e, {
|
|
23393
|
-
Fragment:
|
|
23398
|
+
Fragment: N.Fragment,
|
|
23394
23399
|
components: o,
|
|
23395
23400
|
ignoreInvalidStyle: !0,
|
|
23396
|
-
jsx:
|
|
23397
|
-
jsxs:
|
|
23401
|
+
jsx: N.jsx,
|
|
23402
|
+
jsxs: N.jsxs,
|
|
23398
23403
|
passKeys: !0,
|
|
23399
23404
|
passNode: !0
|
|
23400
23405
|
});
|
|
@@ -32770,57 +32775,74 @@ function uF(e) {
|
|
|
32770
32775
|
), n = e || oF, r = t.data(), o = r.micromarkExtensions || (r.micromarkExtensions = []), u = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), a = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
|
|
32771
32776
|
o.push(sF(n)), u.push(wM()), a.push(vM(n));
|
|
32772
32777
|
}
|
|
32773
|
-
const Hc = () => /* @__PURE__ */
|
|
32778
|
+
const Hc = () => /* @__PURE__ */ N.jsx("span", { className: `${ee}-blinking-cursor`, children: /* @__PURE__ */ N.jsx("svg", { height: "1rem", width: "1rem", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ N.jsx("circle", { r: "0.45rem", cx: "0.5rem", cy: "0.55rem", fill: "black" }) }) }), aF = ({
|
|
32774
32779
|
globalClassName: e,
|
|
32775
|
-
|
|
32780
|
+
openLinksInNewTab: t,
|
|
32781
|
+
href: n,
|
|
32782
|
+
children: r
|
|
32776
32783
|
}) => {
|
|
32777
|
-
const
|
|
32778
|
-
return /* @__PURE__ */
|
|
32784
|
+
const o = n ? t ? "_blank" : "_self" : void 0;
|
|
32785
|
+
return /* @__PURE__ */ N.jsx(
|
|
32786
|
+
"a",
|
|
32787
|
+
ye(U({
|
|
32788
|
+
className: se(e, `${ee}-link`)
|
|
32789
|
+
}, n ? { href: n, target: o } : {}), {
|
|
32790
|
+
rel: "noopener noreferrer",
|
|
32791
|
+
children: r
|
|
32792
|
+
})
|
|
32793
|
+
);
|
|
32794
|
+
}, rS = ({
|
|
32795
|
+
globalClassName: e,
|
|
32796
|
+
openLinksInNewTab: t,
|
|
32797
|
+
message: n
|
|
32798
|
+
}) => {
|
|
32799
|
+
const { isLoading: r, isResponseLoading: o } = ki(), u = r && o((n == null ? void 0 : n.eventSourceId) || "") && n.name === "partial_inquiry";
|
|
32800
|
+
return /* @__PURE__ */ N.jsx(
|
|
32779
32801
|
w6,
|
|
32780
32802
|
{
|
|
32781
32803
|
remarkPlugins: [uF],
|
|
32782
32804
|
rehypePlugins: [J5],
|
|
32783
32805
|
components: {
|
|
32784
|
-
h1: ({ children:
|
|
32785
|
-
h2: ({ children:
|
|
32786
|
-
h3: ({ children:
|
|
32787
|
-
ul: ({ children:
|
|
32788
|
-
ol: ({ children:
|
|
32789
|
-
li: ({ children:
|
|
32790
|
-
a: ({ href:
|
|
32791
|
-
|
|
32792
|
-
|
|
32793
|
-
|
|
32794
|
-
|
|
32795
|
-
|
|
32796
|
-
children:
|
|
32797
|
-
}
|
|
32806
|
+
h1: ({ children: a }) => /* @__PURE__ */ N.jsx("h1", { className: se(e, `${ee}-header h1`), children: a }),
|
|
32807
|
+
h2: ({ children: a }) => /* @__PURE__ */ N.jsx("h2", { className: se(e, `${ee}-header h2`), children: a }),
|
|
32808
|
+
h3: ({ children: a }) => /* @__PURE__ */ N.jsx("h3", { className: se(e, `${ee}-header h3`), children: a }),
|
|
32809
|
+
ul: ({ children: a }) => /* @__PURE__ */ N.jsx("ul", { className: se(e, `${ee}-ul`), children: a }),
|
|
32810
|
+
ol: ({ children: a }) => /* @__PURE__ */ N.jsx("ol", { className: se(e, `${ee}-ol`), children: a }),
|
|
32811
|
+
li: ({ children: a }) => /* @__PURE__ */ N.jsx("li", { className: se(e, `${ee}-li`), children: a }),
|
|
32812
|
+
a: ({ href: a, children: c }) => /* @__PURE__ */ N.jsx(
|
|
32813
|
+
aF,
|
|
32814
|
+
{
|
|
32815
|
+
globalClassName: e,
|
|
32816
|
+
openLinksInNewTab: t,
|
|
32817
|
+
href: a,
|
|
32818
|
+
children: c
|
|
32819
|
+
}
|
|
32798
32820
|
),
|
|
32799
|
-
table: ({ children:
|
|
32800
|
-
thead: ({ children:
|
|
32801
|
-
tbody: ({ children:
|
|
32802
|
-
tr: ({ children:
|
|
32803
|
-
th: ({ children:
|
|
32804
|
-
td: ({ children:
|
|
32805
|
-
span: ({ className:
|
|
32821
|
+
table: ({ children: a }) => /* @__PURE__ */ N.jsx("table", { className: se(e, `${ee}-table`), children: a }),
|
|
32822
|
+
thead: ({ children: a }) => /* @__PURE__ */ N.jsx("thead", { className: se(e, `${ee}-thead`), children: a }),
|
|
32823
|
+
tbody: ({ children: a }) => /* @__PURE__ */ N.jsx("tbody", { className: se(e, `${ee}-tbody`), children: a }),
|
|
32824
|
+
tr: ({ children: a }) => /* @__PURE__ */ N.jsx("tr", { className: se(e, `${ee}-tr`), children: a }),
|
|
32825
|
+
th: ({ children: a }) => /* @__PURE__ */ N.jsx("th", { className: se(e, `${ee}-th`), children: a }),
|
|
32826
|
+
td: ({ children: a }) => /* @__PURE__ */ N.jsx("td", { className: se(e, `${ee}-td`), children: a }),
|
|
32827
|
+
span: ({ className: a, children: c }) => a === `${ee}-blinking-cursor` ? /* @__PURE__ */ N.jsx(Hc, {}) : /* @__PURE__ */ N.jsx("span", { children: c })
|
|
32806
32828
|
},
|
|
32807
|
-
children:
|
|
32829
|
+
children: n.message + (u ? `<span className='${ee}-blinking-cursor'></span>` : "")
|
|
32808
32830
|
}
|
|
32809
32831
|
);
|
|
32810
|
-
},
|
|
32832
|
+
}, lF = ({
|
|
32811
32833
|
globalClassName: e,
|
|
32812
32834
|
message: t
|
|
32813
32835
|
}) => {
|
|
32814
32836
|
const [n, r] = q.useState(!1), o = t.tool_name || t.toolName, u = !!t.thought, a = !!o, c = () => {
|
|
32815
32837
|
r((f) => !f);
|
|
32816
32838
|
};
|
|
32817
|
-
return /* @__PURE__ */
|
|
32818
|
-
/* @__PURE__ */
|
|
32839
|
+
return /* @__PURE__ */ N.jsxs("div", { children: [
|
|
32840
|
+
/* @__PURE__ */ N.jsxs(
|
|
32819
32841
|
"div",
|
|
32820
32842
|
{
|
|
32821
32843
|
className: se(e, `${ee}-progress-message`, "standalone"),
|
|
32822
32844
|
children: [
|
|
32823
|
-
/* @__PURE__ */
|
|
32845
|
+
/* @__PURE__ */ N.jsx(
|
|
32824
32846
|
"span",
|
|
32825
32847
|
{
|
|
32826
32848
|
className: se(
|
|
@@ -32829,42 +32851,42 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
32829
32851
|
"progress-icon",
|
|
32830
32852
|
"standalone"
|
|
32831
32853
|
),
|
|
32832
|
-
children: /* @__PURE__ */
|
|
32854
|
+
children: /* @__PURE__ */ N.jsx(pb, {})
|
|
32833
32855
|
}
|
|
32834
32856
|
),
|
|
32835
|
-
/* @__PURE__ */
|
|
32857
|
+
/* @__PURE__ */ N.jsx("p", { className: se(e, `${ee}-progress-text`, "standalone"), children: t.message })
|
|
32836
32858
|
]
|
|
32837
32859
|
}
|
|
32838
32860
|
),
|
|
32839
|
-
(u || a) && /* @__PURE__ */
|
|
32840
|
-
/* @__PURE__ */
|
|
32861
|
+
(u || a) && /* @__PURE__ */ N.jsxs(N.Fragment, { children: [
|
|
32862
|
+
/* @__PURE__ */ N.jsx(
|
|
32841
32863
|
Np,
|
|
32842
32864
|
{
|
|
32843
32865
|
className: se(e, `${ee}-thought-context-button`),
|
|
32844
32866
|
onClick: c,
|
|
32845
|
-
children: n ? /* @__PURE__ */
|
|
32867
|
+
children: n ? /* @__PURE__ */ N.jsxs(N.Fragment, { children: [
|
|
32846
32868
|
"Hide ",
|
|
32847
|
-
/* @__PURE__ */
|
|
32848
|
-
] }) : /* @__PURE__ */
|
|
32869
|
+
/* @__PURE__ */ N.jsx(Ik, {})
|
|
32870
|
+
] }) : /* @__PURE__ */ N.jsxs(N.Fragment, { children: [
|
|
32849
32871
|
"Context ",
|
|
32850
|
-
/* @__PURE__ */
|
|
32872
|
+
/* @__PURE__ */ N.jsx(Pk, {})
|
|
32851
32873
|
] })
|
|
32852
32874
|
}
|
|
32853
32875
|
),
|
|
32854
|
-
n && /* @__PURE__ */
|
|
32876
|
+
n && /* @__PURE__ */ N.jsx("div", { className: se(e, `${ee}-thought-container`), children: u && /* @__PURE__ */ N.jsx("p", { className: se(e, `${ee}-progress-thought`), children: t.thought }) })
|
|
32855
32877
|
] })
|
|
32856
32878
|
] });
|
|
32857
|
-
},
|
|
32879
|
+
}, cF = ({
|
|
32858
32880
|
globalClassName: e,
|
|
32859
32881
|
message: t,
|
|
32860
32882
|
isWidgetStandalone: n
|
|
32861
|
-
}) => n ? /* @__PURE__ */
|
|
32883
|
+
}) => n ? /* @__PURE__ */ N.jsx(lF, { globalClassName: e, message: t }) : /* @__PURE__ */ N.jsxs(
|
|
32862
32884
|
"div",
|
|
32863
32885
|
{
|
|
32864
32886
|
className: se(e, `${ee}-progress-message`, "embedded"),
|
|
32865
32887
|
title: t.message,
|
|
32866
32888
|
children: [
|
|
32867
|
-
/* @__PURE__ */
|
|
32889
|
+
/* @__PURE__ */ N.jsx(
|
|
32868
32890
|
"span",
|
|
32869
32891
|
{
|
|
32870
32892
|
className: se(
|
|
@@ -32873,20 +32895,20 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
32873
32895
|
"progress-icon",
|
|
32874
32896
|
"embedded"
|
|
32875
32897
|
),
|
|
32876
|
-
children: /* @__PURE__ */
|
|
32898
|
+
children: /* @__PURE__ */ N.jsx(pb, {})
|
|
32877
32899
|
}
|
|
32878
32900
|
),
|
|
32879
|
-
/* @__PURE__ */
|
|
32901
|
+
/* @__PURE__ */ N.jsx("i", { className: se(e, `${ee}-progress-text`, "embedded"), children: t.message })
|
|
32880
32902
|
]
|
|
32881
32903
|
}
|
|
32882
|
-
),
|
|
32904
|
+
), fF = ({
|
|
32883
32905
|
globalClassName: e,
|
|
32884
32906
|
message: t,
|
|
32885
32907
|
isWidgetStandalone: n
|
|
32886
32908
|
}) => {
|
|
32887
32909
|
var o;
|
|
32888
32910
|
const r = (o = t.searchParams) == null ? void 0 : o.query;
|
|
32889
|
-
return /* @__PURE__ */
|
|
32911
|
+
return /* @__PURE__ */ N.jsxs(
|
|
32890
32912
|
"div",
|
|
32891
32913
|
{
|
|
32892
32914
|
className: se(e, `${ee}-refined-event`, {
|
|
@@ -32894,7 +32916,7 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
32894
32916
|
standalone: n
|
|
32895
32917
|
}),
|
|
32896
32918
|
children: [
|
|
32897
|
-
!!r && /* @__PURE__ */
|
|
32919
|
+
!!r && /* @__PURE__ */ N.jsxs(
|
|
32898
32920
|
"div",
|
|
32899
32921
|
{
|
|
32900
32922
|
className: se(e, `${ee}-refined-event-query`, {
|
|
@@ -32902,7 +32924,7 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
32902
32924
|
standalone: n
|
|
32903
32925
|
}),
|
|
32904
32926
|
children: [
|
|
32905
|
-
/* @__PURE__ */
|
|
32927
|
+
/* @__PURE__ */ N.jsx(
|
|
32906
32928
|
"span",
|
|
32907
32929
|
{
|
|
32908
32930
|
className: se(
|
|
@@ -32914,14 +32936,14 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
32914
32936
|
standalone: n
|
|
32915
32937
|
}
|
|
32916
32938
|
),
|
|
32917
|
-
children: /* @__PURE__ */
|
|
32939
|
+
children: /* @__PURE__ */ N.jsx(Ec, { role: "img" })
|
|
32918
32940
|
}
|
|
32919
32941
|
),
|
|
32920
|
-
/* @__PURE__ */
|
|
32942
|
+
/* @__PURE__ */ N.jsx("p", { className: se(e, `${ee}-text`, "bold"), children: r })
|
|
32921
32943
|
]
|
|
32922
32944
|
}
|
|
32923
32945
|
),
|
|
32924
|
-
/* @__PURE__ */
|
|
32946
|
+
/* @__PURE__ */ N.jsx(rS, { message: t })
|
|
32925
32947
|
]
|
|
32926
32948
|
}
|
|
32927
32949
|
);
|
|
@@ -32943,7 +32965,7 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
32943
32965
|
isWidgetStandalone: e,
|
|
32944
32966
|
globalClassName: t,
|
|
32945
32967
|
filterCount: n
|
|
32946
|
-
}) => /* @__PURE__ */
|
|
32968
|
+
}) => /* @__PURE__ */ N.jsx(
|
|
32947
32969
|
"span",
|
|
32948
32970
|
{
|
|
32949
32971
|
className: se(t, `${ee}-facet-pill`, {
|
|
@@ -32963,32 +32985,32 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
32963
32985
|
return n.map((c) => {
|
|
32964
32986
|
var h;
|
|
32965
32987
|
const f = ((h = o[c]) == null ? void 0 : h.join(", ")) || "";
|
|
32966
|
-
return /* @__PURE__ */
|
|
32967
|
-
/* @__PURE__ */
|
|
32968
|
-
/* @__PURE__ */
|
|
32988
|
+
return /* @__PURE__ */ N.jsxs("div", { className: se(e, `${ee}-facets`), children: [
|
|
32989
|
+
/* @__PURE__ */ N.jsx("p", { className: se(e, `${ee}-facet-category`), children: c }),
|
|
32990
|
+
/* @__PURE__ */ N.jsx("p", { className: se(e, `${ee}-facet-values`), children: f })
|
|
32969
32991
|
] }, c);
|
|
32970
32992
|
});
|
|
32971
|
-
},
|
|
32993
|
+
}, dF = ({
|
|
32972
32994
|
globalClassName: e,
|
|
32973
32995
|
message: t,
|
|
32974
32996
|
isWidgetStandalone: n
|
|
32975
32997
|
}) => {
|
|
32976
32998
|
var u, a;
|
|
32977
32999
|
const { facetFiltersList: r, filterCount: o } = iS(t);
|
|
32978
|
-
return n ? /* @__PURE__ */
|
|
32979
|
-
/* @__PURE__ */
|
|
32980
|
-
/* @__PURE__ */
|
|
33000
|
+
return n ? /* @__PURE__ */ N.jsxs("div", { children: [
|
|
33001
|
+
/* @__PURE__ */ N.jsxs("div", { className: se(e, `${ee}-user-message standalone`), children: [
|
|
33002
|
+
/* @__PURE__ */ N.jsx(
|
|
32981
33003
|
"span",
|
|
32982
33004
|
{
|
|
32983
33005
|
className: se(
|
|
32984
33006
|
e,
|
|
32985
33007
|
`${ee}-message-icon user-message-icon standalone`
|
|
32986
33008
|
),
|
|
32987
|
-
children: /* @__PURE__ */
|
|
33009
|
+
children: /* @__PURE__ */ N.jsx(q1, {})
|
|
32988
33010
|
}
|
|
32989
33011
|
),
|
|
32990
|
-
/* @__PURE__ */
|
|
32991
|
-
r.length > 0 && /* @__PURE__ */
|
|
33012
|
+
/* @__PURE__ */ N.jsx("p", { className: se(e, `${ee}-user-message-text`), children: (u = t.request) == null ? void 0 : u.userPrompt }),
|
|
33013
|
+
r.length > 0 && /* @__PURE__ */ N.jsx(
|
|
32992
33014
|
ic,
|
|
32993
33015
|
{
|
|
32994
33016
|
isWidgetStandalone: !0,
|
|
@@ -32997,7 +33019,7 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
32997
33019
|
}
|
|
32998
33020
|
)
|
|
32999
33021
|
] }),
|
|
33000
|
-
/* @__PURE__ */
|
|
33022
|
+
/* @__PURE__ */ N.jsx(
|
|
33001
33023
|
sS,
|
|
33002
33024
|
{
|
|
33003
33025
|
globalClassName: e,
|
|
@@ -33005,21 +33027,21 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33005
33027
|
message: t
|
|
33006
33028
|
}
|
|
33007
33029
|
)
|
|
33008
|
-
] }) : /* @__PURE__ */
|
|
33009
|
-
/* @__PURE__ */
|
|
33030
|
+
] }) : /* @__PURE__ */ N.jsxs("div", { className: se(e, `${ee}-user-message embedded`), children: [
|
|
33031
|
+
/* @__PURE__ */ N.jsx(
|
|
33010
33032
|
"span",
|
|
33011
33033
|
{
|
|
33012
33034
|
className: se(
|
|
33013
33035
|
e,
|
|
33014
33036
|
`${ee}-message-icon user-message-icon embedded`
|
|
33015
33037
|
),
|
|
33016
|
-
children: /* @__PURE__ */
|
|
33038
|
+
children: /* @__PURE__ */ N.jsx(q1, {})
|
|
33017
33039
|
}
|
|
33018
33040
|
),
|
|
33019
|
-
/* @__PURE__ */
|
|
33020
|
-
r.length > 0 && /* @__PURE__ */
|
|
33041
|
+
/* @__PURE__ */ N.jsx("p", { children: (a = t.request) == null ? void 0 : a.userPrompt }),
|
|
33042
|
+
r.length > 0 && /* @__PURE__ */ N.jsx(ic, { isWidgetStandalone: !1, filterCount: o })
|
|
33021
33043
|
] });
|
|
33022
|
-
},
|
|
33044
|
+
}, hF = ({
|
|
33023
33045
|
globalClassName: e,
|
|
33024
33046
|
actionLabel: t,
|
|
33025
33047
|
query: n,
|
|
@@ -33027,26 +33049,26 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33027
33049
|
message: o,
|
|
33028
33050
|
facetFiltersList: u,
|
|
33029
33051
|
filterCount: a
|
|
33030
|
-
}) => /* @__PURE__ */
|
|
33031
|
-
/* @__PURE__ */
|
|
33032
|
-
/* @__PURE__ */
|
|
33052
|
+
}) => /* @__PURE__ */ N.jsxs("div", { className: se(e, `${ee}-user-search standalone`), children: [
|
|
33053
|
+
/* @__PURE__ */ N.jsxs("div", { className: se(e, `${ee}-user-search-query`), children: [
|
|
33054
|
+
/* @__PURE__ */ N.jsx(
|
|
33033
33055
|
"span",
|
|
33034
33056
|
{
|
|
33035
33057
|
className: se(
|
|
33036
33058
|
e,
|
|
33037
33059
|
`${ee}-message-icon user-search-icon standalone`
|
|
33038
33060
|
),
|
|
33039
|
-
children: /* @__PURE__ */
|
|
33061
|
+
children: /* @__PURE__ */ N.jsx(Ec, {})
|
|
33040
33062
|
}
|
|
33041
33063
|
),
|
|
33042
|
-
/* @__PURE__ */
|
|
33064
|
+
/* @__PURE__ */ N.jsx(
|
|
33043
33065
|
"p",
|
|
33044
33066
|
{
|
|
33045
33067
|
className: se(e, `${ee}-text bold`),
|
|
33046
33068
|
children: `${t}: ${r || n}`
|
|
33047
33069
|
}
|
|
33048
33070
|
),
|
|
33049
|
-
u.length > 0 && /* @__PURE__ */
|
|
33071
|
+
u.length > 0 && /* @__PURE__ */ N.jsx(
|
|
33050
33072
|
ic,
|
|
33051
33073
|
{
|
|
33052
33074
|
isWidgetStandalone: !0,
|
|
@@ -33055,7 +33077,7 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33055
33077
|
}
|
|
33056
33078
|
)
|
|
33057
33079
|
] }),
|
|
33058
|
-
/* @__PURE__ */
|
|
33080
|
+
/* @__PURE__ */ N.jsx(
|
|
33059
33081
|
sS,
|
|
33060
33082
|
{
|
|
33061
33083
|
globalClassName: e,
|
|
@@ -33063,7 +33085,7 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33063
33085
|
message: o
|
|
33064
33086
|
}
|
|
33065
33087
|
)
|
|
33066
|
-
] }),
|
|
33088
|
+
] }), pF = ({
|
|
33067
33089
|
globalClassName: e,
|
|
33068
33090
|
message: t,
|
|
33069
33091
|
isWidgetStandalone: n
|
|
@@ -33093,8 +33115,8 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33093
33115
|
return { actionLabel: "", query: "", queryLabel: "" };
|
|
33094
33116
|
}
|
|
33095
33117
|
}, [t]);
|
|
33096
|
-
return !t.isUserAction || !a ? null : n ? /* @__PURE__ */
|
|
33097
|
-
|
|
33118
|
+
return !t.isUserAction || !a ? null : n ? /* @__PURE__ */ N.jsx(
|
|
33119
|
+
hF,
|
|
33098
33120
|
{
|
|
33099
33121
|
globalClassName: e,
|
|
33100
33122
|
message: t,
|
|
@@ -33104,80 +33126,88 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33104
33126
|
facetFiltersList: r,
|
|
33105
33127
|
filterCount: o
|
|
33106
33128
|
}
|
|
33107
|
-
) : /* @__PURE__ */
|
|
33108
|
-
/* @__PURE__ */
|
|
33129
|
+
) : /* @__PURE__ */ N.jsxs("div", { className: se(e, `${ee}-user-search embedded`), children: [
|
|
33130
|
+
/* @__PURE__ */ N.jsx(
|
|
33109
33131
|
"span",
|
|
33110
33132
|
{
|
|
33111
33133
|
className: se(
|
|
33112
33134
|
e,
|
|
33113
33135
|
`${ee}-message-icon user-search-icon embedded`
|
|
33114
33136
|
),
|
|
33115
|
-
children: /* @__PURE__ */
|
|
33137
|
+
children: /* @__PURE__ */ N.jsx(Ec, {})
|
|
33116
33138
|
}
|
|
33117
33139
|
),
|
|
33118
|
-
/* @__PURE__ */
|
|
33119
|
-
r.length > 0 && /* @__PURE__ */
|
|
33140
|
+
/* @__PURE__ */ N.jsx("p", { children: c || a }),
|
|
33141
|
+
r.length > 0 && /* @__PURE__ */ N.jsx(ic, { isWidgetStandalone: !1, filterCount: o })
|
|
33120
33142
|
] });
|
|
33121
33143
|
}, My = ["copilot_search", "copilot_browse", "product_view"], Fy = ({
|
|
33122
33144
|
message: e,
|
|
33123
33145
|
globalClassName: t,
|
|
33124
|
-
|
|
33125
|
-
|
|
33126
|
-
|
|
33146
|
+
openLinksInNewTab: n,
|
|
33147
|
+
resetConversationMessage: r,
|
|
33148
|
+
isWidgetStandalone: o,
|
|
33149
|
+
handleSuggestionClick: u
|
|
33127
33150
|
}) => {
|
|
33128
|
-
var
|
|
33151
|
+
var c;
|
|
33129
33152
|
if (!e) return null;
|
|
33130
|
-
let
|
|
33131
|
-
if (My.includes(
|
|
33153
|
+
let a = e.name;
|
|
33154
|
+
if (My.includes(a) && (e.isInitial || e.isUserAction) && (a = "faceted_navigation"), My.includes(a) && !((c = e.request) != null && c.userPrompt))
|
|
33132
33155
|
return null;
|
|
33133
|
-
switch (
|
|
33156
|
+
switch (a) {
|
|
33134
33157
|
case "copilot_search":
|
|
33135
33158
|
case "copilot_browse":
|
|
33136
33159
|
case "product_view":
|
|
33137
|
-
return /* @__PURE__ */
|
|
33138
|
-
|
|
33160
|
+
return /* @__PURE__ */ N.jsx(
|
|
33161
|
+
dF,
|
|
33139
33162
|
{
|
|
33140
33163
|
globalClassName: t,
|
|
33141
|
-
isWidgetStandalone:
|
|
33164
|
+
isWidgetStandalone: o,
|
|
33142
33165
|
message: e
|
|
33143
33166
|
}
|
|
33144
33167
|
);
|
|
33145
33168
|
case "faceted_navigation":
|
|
33146
|
-
return /* @__PURE__ */
|
|
33147
|
-
|
|
33169
|
+
return /* @__PURE__ */ N.jsx(
|
|
33170
|
+
pF,
|
|
33148
33171
|
{
|
|
33149
33172
|
globalClassName: t,
|
|
33150
33173
|
message: e,
|
|
33151
|
-
isWidgetStandalone:
|
|
33174
|
+
isWidgetStandalone: o
|
|
33152
33175
|
}
|
|
33153
33176
|
);
|
|
33154
33177
|
case "refined_search":
|
|
33155
33178
|
case "refined_browse":
|
|
33156
|
-
return /* @__PURE__ */
|
|
33157
|
-
|
|
33179
|
+
return /* @__PURE__ */ N.jsx(
|
|
33180
|
+
fF,
|
|
33158
33181
|
{
|
|
33159
33182
|
globalClassName: t,
|
|
33160
33183
|
message: e,
|
|
33161
|
-
isWidgetStandalone:
|
|
33184
|
+
isWidgetStandalone: o
|
|
33162
33185
|
}
|
|
33163
33186
|
);
|
|
33164
33187
|
case "follow_up":
|
|
33165
|
-
return /* @__PURE__ */
|
|
33188
|
+
return /* @__PURE__ */ N.jsx(
|
|
33166
33189
|
TI,
|
|
33167
33190
|
{
|
|
33168
33191
|
globalClassName: t,
|
|
33169
|
-
isWidgetStandalone:
|
|
33192
|
+
isWidgetStandalone: o,
|
|
33170
33193
|
message: e,
|
|
33171
|
-
handleSuggestionClick:
|
|
33194
|
+
handleSuggestionClick: u
|
|
33172
33195
|
}
|
|
33173
33196
|
);
|
|
33174
33197
|
case "inquiry":
|
|
33175
33198
|
case "partial_inquiry":
|
|
33176
|
-
return /* @__PURE__ */
|
|
33199
|
+
return /* @__PURE__ */ N.jsx(
|
|
33200
|
+
rS,
|
|
33201
|
+
{
|
|
33202
|
+
globalClassName: t,
|
|
33203
|
+
openLinksInNewTab: n,
|
|
33204
|
+
message: e
|
|
33205
|
+
}
|
|
33206
|
+
);
|
|
33177
33207
|
case "error":
|
|
33178
|
-
return /* @__PURE__ */
|
|
33208
|
+
return /* @__PURE__ */ N.jsx(gI, { message: e, isWidgetStandalone: o });
|
|
33179
33209
|
case "display_products":
|
|
33180
|
-
return /* @__PURE__ */
|
|
33210
|
+
return /* @__PURE__ */ N.jsx(mI, { message: e, isWidgetStandalone: o });
|
|
33181
33211
|
// TODO [CIM-1443]: handle product table rendering
|
|
33182
33212
|
// if (message.attributes?.length > 0) {
|
|
33183
33213
|
// return (
|
|
@@ -33191,18 +33221,18 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33191
33221
|
// );
|
|
33192
33222
|
// }
|
|
33193
33223
|
case "progress":
|
|
33194
|
-
return /* @__PURE__ */
|
|
33195
|
-
|
|
33224
|
+
return /* @__PURE__ */ N.jsx(
|
|
33225
|
+
cF,
|
|
33196
33226
|
{
|
|
33197
33227
|
globalClassName: t,
|
|
33198
|
-
isWidgetStandalone:
|
|
33228
|
+
isWidgetStandalone: o,
|
|
33199
33229
|
message: e
|
|
33200
33230
|
}
|
|
33201
33231
|
);
|
|
33202
33232
|
case "conversation_reset":
|
|
33203
|
-
return /* @__PURE__ */
|
|
33204
|
-
/* @__PURE__ */
|
|
33205
|
-
/* @__PURE__ */
|
|
33233
|
+
return /* @__PURE__ */ N.jsxs(N.Fragment, { children: [
|
|
33234
|
+
/* @__PURE__ */ N.jsx("p", { className: se(t, `${ee}-reset-message`), children: "This conversation has been reset." }),
|
|
33235
|
+
/* @__PURE__ */ N.jsx("p", { className: se(t, `${ee}-start-search-message`), children: r })
|
|
33206
33236
|
] });
|
|
33207
33237
|
default:
|
|
33208
33238
|
return null;
|
|
@@ -33212,8 +33242,8 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33212
33242
|
messages: t,
|
|
33213
33243
|
handleSuggestionClick: n
|
|
33214
33244
|
}) => {
|
|
33215
|
-
const { globalClassName: r,
|
|
33216
|
-
return t.map((
|
|
33245
|
+
const { globalClassName: r, openLinksInNewTab: o, resetConversationMessage: u } = bn();
|
|
33246
|
+
return t.map((a) => a.messages && a.type === "group" ? /* @__PURE__ */ N.jsx(
|
|
33217
33247
|
"div",
|
|
33218
33248
|
{
|
|
33219
33249
|
className: se(
|
|
@@ -33221,50 +33251,52 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33221
33251
|
`${ee}-message-group`,
|
|
33222
33252
|
e ? "standalone" : "embedded"
|
|
33223
33253
|
),
|
|
33224
|
-
children:
|
|
33254
|
+
children: a.messages.length > 0 && a.messages.map((c) => /* @__PURE__ */ N.jsx("div", { className: `${ee}-message-group-child`, children: /* @__PURE__ */ N.jsx(
|
|
33225
33255
|
Fy,
|
|
33226
33256
|
{
|
|
33227
|
-
id:
|
|
33257
|
+
id: c.id,
|
|
33258
|
+
openLinksInNewTab: o,
|
|
33228
33259
|
globalClassName: r,
|
|
33229
33260
|
isWidgetStandalone: e,
|
|
33230
|
-
message:
|
|
33231
|
-
resetConversationMessage:
|
|
33261
|
+
message: c,
|
|
33262
|
+
resetConversationMessage: u,
|
|
33232
33263
|
handleSuggestionClick: n
|
|
33233
33264
|
}
|
|
33234
|
-
) },
|
|
33265
|
+
) }, c.id))
|
|
33235
33266
|
},
|
|
33236
|
-
`group-${
|
|
33237
|
-
) :
|
|
33267
|
+
`group-${a.eventSourceId}`
|
|
33268
|
+
) : a.type === "individual" && a.message ? /* @__PURE__ */ N.jsx(
|
|
33238
33269
|
"div",
|
|
33239
33270
|
{
|
|
33240
33271
|
className: se(
|
|
33241
33272
|
r,
|
|
33242
33273
|
`${ee}-message`,
|
|
33243
33274
|
e ? "standalone" : "embedded",
|
|
33244
|
-
{ error:
|
|
33275
|
+
{ error: a.message.name.includes("error") }
|
|
33245
33276
|
),
|
|
33246
|
-
children: /* @__PURE__ */
|
|
33277
|
+
children: /* @__PURE__ */ N.jsx(
|
|
33247
33278
|
Fy,
|
|
33248
33279
|
{
|
|
33249
|
-
id:
|
|
33280
|
+
id: a.message.id,
|
|
33281
|
+
openLinksInNewTab: o,
|
|
33250
33282
|
globalClassName: r,
|
|
33251
33283
|
isWidgetStandalone: e,
|
|
33252
|
-
message:
|
|
33253
|
-
resetConversationMessage:
|
|
33284
|
+
message: a.message,
|
|
33285
|
+
resetConversationMessage: u,
|
|
33254
33286
|
handleSuggestionClick: n
|
|
33255
33287
|
}
|
|
33256
33288
|
)
|
|
33257
33289
|
},
|
|
33258
|
-
|
|
33290
|
+
a.message.id
|
|
33259
33291
|
) : null);
|
|
33260
|
-
},
|
|
33292
|
+
}, mF = () => {
|
|
33261
33293
|
const { globalClassName: e, themeVariables: t } = bn(), { status: n } = lo(), { copilot: r, messages: o, groupedMessages: u, isLoading: a, handleUserInput: c, handleSuggestion: f } = ki(), { isOpen: h } = n || {}, m = q.useRef(null);
|
|
33262
33294
|
return q.useEffect(() => {
|
|
33263
33295
|
m.current && m.current.scrollIntoView({
|
|
33264
33296
|
behavior: "smooth",
|
|
33265
33297
|
block: "end"
|
|
33266
33298
|
});
|
|
33267
|
-
}, [o]), r ? !h || u.length === 0 ? null : /* @__PURE__ */
|
|
33299
|
+
}, [o]), r ? !h || u.length === 0 ? null : /* @__PURE__ */ N.jsxs(
|
|
33268
33300
|
"div",
|
|
33269
33301
|
{
|
|
33270
33302
|
className: se(
|
|
@@ -33274,12 +33306,12 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33274
33306
|
),
|
|
33275
33307
|
style: t,
|
|
33276
33308
|
children: [
|
|
33277
|
-
/* @__PURE__ */
|
|
33309
|
+
/* @__PURE__ */ N.jsxs(
|
|
33278
33310
|
"div",
|
|
33279
33311
|
{
|
|
33280
33312
|
className: se(e, `${ee}-message-container`, "embedded"),
|
|
33281
33313
|
children: [
|
|
33282
|
-
/* @__PURE__ */
|
|
33314
|
+
/* @__PURE__ */ N.jsx(
|
|
33283
33315
|
y0,
|
|
33284
33316
|
{
|
|
33285
33317
|
isWidgetStandalone: !1,
|
|
@@ -33287,12 +33319,12 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33287
33319
|
handleSuggestionClick: f
|
|
33288
33320
|
}
|
|
33289
33321
|
),
|
|
33290
|
-
a && /* @__PURE__ */
|
|
33291
|
-
/* @__PURE__ */
|
|
33322
|
+
a && /* @__PURE__ */ N.jsx("div", { style: { display: "flex", justifyContent: "flex-start", paddingBottom: "1rem" }, children: /* @__PURE__ */ N.jsx(Hc, {}) }),
|
|
33323
|
+
/* @__PURE__ */ N.jsx("div", { ref: m })
|
|
33292
33324
|
]
|
|
33293
33325
|
}
|
|
33294
33326
|
),
|
|
33295
|
-
/* @__PURE__ */
|
|
33327
|
+
/* @__PURE__ */ N.jsx(
|
|
33296
33328
|
Op,
|
|
33297
33329
|
{
|
|
33298
33330
|
componentType: "chat",
|
|
@@ -33301,39 +33333,39 @@ const Hc = () => /* @__PURE__ */ O.jsx("span", { className: `${ee}-blinking-curs
|
|
|
33301
33333
|
onSubmit: c
|
|
33302
33334
|
}
|
|
33303
33335
|
),
|
|
33304
|
-
/* @__PURE__ */
|
|
33336
|
+
/* @__PURE__ */ N.jsx("div", { className: se(`${ee}-embedded-chat-menu`), children: /* @__PURE__ */ N.jsx(dI, { componentType: "chat", children: /* @__PURE__ */ N.jsx(o_, { componentType: "chat" }) }) })
|
|
33305
33337
|
]
|
|
33306
33338
|
}
|
|
33307
|
-
) : /* @__PURE__ */
|
|
33308
|
-
}, [
|
|
33339
|
+
) : /* @__PURE__ */ N.jsx("div", { children: "Loading Copilot..." });
|
|
33340
|
+
}, [gF, EF] = fo({
|
|
33309
33341
|
name: "RenderStrategyContext",
|
|
33310
33342
|
hookName: "useRenderStrategyContext",
|
|
33311
33343
|
providerName: "<RenderStrategyPropsProvider />"
|
|
33312
|
-
}),
|
|
33344
|
+
}), yF = (e) => Lb()(e, ["lazyMount", "unmountOnExit"]), [TF, ta] = fo({
|
|
33313
33345
|
name: "DialogContext",
|
|
33314
33346
|
hookName: "useDialogContext",
|
|
33315
33347
|
providerName: "<DialogProvider />"
|
|
33316
33348
|
}), oS = q.forwardRef((e, t) => {
|
|
33317
|
-
const n = ta(), r =
|
|
33318
|
-
return o.unmounted ? null : /* @__PURE__ */
|
|
33349
|
+
const n = ta(), r = EF(), o = Hp(ye(U({}, r), { present: n.open })), u = lr(n.getBackdropProps(), o.getPresenceProps(), e);
|
|
33350
|
+
return o.unmounted ? null : /* @__PURE__ */ N.jsx(Ni.div, ye(U({}, u), { ref: Cc(o.ref, t) }));
|
|
33319
33351
|
});
|
|
33320
33352
|
oS.displayName = "DialogBackdrop";
|
|
33321
33353
|
const T0 = q.forwardRef((e, t) => {
|
|
33322
33354
|
const n = ta(), r = Wu(), o = lr(n.getContentProps(), r.getPresenceProps(), e);
|
|
33323
|
-
return r.unmounted ? null : /* @__PURE__ */
|
|
33355
|
+
return r.unmounted ? null : /* @__PURE__ */ N.jsx(Ni.div, ye(U({}, o), { ref: Cc(r.ref, t) }));
|
|
33324
33356
|
});
|
|
33325
33357
|
T0.displayName = "DialogContent";
|
|
33326
33358
|
const b0 = q.forwardRef((e, t) => {
|
|
33327
33359
|
const n = ta(), r = lr(n.getDescriptionProps(), e);
|
|
33328
|
-
return /* @__PURE__ */
|
|
33360
|
+
return /* @__PURE__ */ N.jsx(Ni.div, ye(U({}, r), { ref: t }));
|
|
33329
33361
|
});
|
|
33330
33362
|
b0.displayName = "DialogDescription";
|
|
33331
33363
|
const _0 = q.forwardRef((e, t) => {
|
|
33332
33364
|
const n = ta(), r = lr(n.getPositionerProps(), e);
|
|
33333
|
-
return Wu().unmounted ? null : /* @__PURE__ */
|
|
33365
|
+
return Wu().unmounted ? null : /* @__PURE__ */ N.jsx(Ni.div, ye(U({}, r), { ref: t }));
|
|
33334
33366
|
});
|
|
33335
33367
|
_0.displayName = "DialogPositioner";
|
|
33336
|
-
var
|
|
33368
|
+
var bF = qs("dialog").parts(
|
|
33337
33369
|
"trigger",
|
|
33338
33370
|
"backdrop",
|
|
33339
33371
|
"positioner",
|
|
@@ -33341,7 +33373,7 @@ var TF = qs("dialog").parts(
|
|
|
33341
33373
|
"title",
|
|
33342
33374
|
"description",
|
|
33343
33375
|
"closeTrigger"
|
|
33344
|
-
), Gi =
|
|
33376
|
+
), Gi = bF.build(), uS = (e) => {
|
|
33345
33377
|
var t, n;
|
|
33346
33378
|
return (n = (t = e.ids) == null ? void 0 : t.positioner) != null ? n : `dialog:${e.id}:positioner`;
|
|
33347
33379
|
}, aS = (e) => {
|
|
@@ -33362,8 +33394,8 @@ var TF = qs("dialog").parts(
|
|
|
33362
33394
|
}, cS = (e) => {
|
|
33363
33395
|
var t, n;
|
|
33364
33396
|
return (n = (t = e.ids) == null ? void 0 : t.closeTrigger) != null ? n : `dialog:${e.id}:close`;
|
|
33365
|
-
}, xl = (e) => e.getById(ip(e)),
|
|
33366
|
-
function
|
|
33397
|
+
}, xl = (e) => e.getById(ip(e)), _F = (e) => e.getById(uS(e)), SF = (e) => e.getById(aS(e)), CF = (e) => e.getById(lS(e)), xF = (e) => e.getById(sp(e)), AF = (e) => e.getById(op(e)), wF = (e) => e.getById(cS(e));
|
|
33398
|
+
function vF(e, t) {
|
|
33367
33399
|
const { state: n, send: r, context: o, prop: u, scope: a } = e, c = u("aria-label"), f = n.matches("open");
|
|
33368
33400
|
return {
|
|
33369
33401
|
open: f,
|
|
@@ -33440,9 +33472,9 @@ function wF(e, t) {
|
|
|
33440
33472
|
}
|
|
33441
33473
|
};
|
|
33442
33474
|
}
|
|
33443
|
-
var
|
|
33475
|
+
var kF = {
|
|
33444
33476
|
props({ props: e, scope: t }) {
|
|
33445
|
-
const n = e.role === "alertdialog", r = n ? () =>
|
|
33477
|
+
const n = e.role === "alertdialog", r = n ? () => wF(t) : void 0, o = typeof e.modal == "boolean" ? e.modal : !0;
|
|
33446
33478
|
return U({
|
|
33447
33479
|
role: "dialog",
|
|
33448
33480
|
modal: o,
|
|
@@ -33537,7 +33569,7 @@ var vF = {
|
|
|
33537
33569
|
type: "dialog",
|
|
33538
33570
|
defer: !0,
|
|
33539
33571
|
pointerBlocking: n("modal"),
|
|
33540
|
-
exclude: [
|
|
33572
|
+
exclude: [CF(e)],
|
|
33541
33573
|
onInteractOutside(o) {
|
|
33542
33574
|
var u;
|
|
33543
33575
|
(u = n("onInteractOutside")) == null || u(o), n("closeOnInteractOutside") || o.preventDefault();
|
|
@@ -33579,8 +33611,8 @@ var vF = {
|
|
|
33579
33611
|
checkRenderedElements({ context: e, scope: t }) {
|
|
33580
33612
|
Tn(() => {
|
|
33581
33613
|
e.set("rendered", {
|
|
33582
|
-
title: !!
|
|
33583
|
-
description: !!
|
|
33614
|
+
title: !!xF(t),
|
|
33615
|
+
description: !!AF(t)
|
|
33584
33616
|
});
|
|
33585
33617
|
});
|
|
33586
33618
|
},
|
|
@@ -33589,7 +33621,7 @@ var vF = {
|
|
|
33589
33621
|
const t = xl(e);
|
|
33590
33622
|
if (!t) return;
|
|
33591
33623
|
const n = bc(t);
|
|
33592
|
-
[
|
|
33624
|
+
[_F(e), SF(e)].forEach((o) => {
|
|
33593
33625
|
o == null || o.style.setProperty("--z-index", n.zIndex), o == null || o.style.setProperty("--layer-index", n.getPropertyValue("--layer-index"));
|
|
33594
33626
|
});
|
|
33595
33627
|
});
|
|
@@ -33638,25 +33670,25 @@ Fp()([
|
|
|
33638
33670
|
"role",
|
|
33639
33671
|
"trapFocus"
|
|
33640
33672
|
]);
|
|
33641
|
-
const
|
|
33673
|
+
const NF = (e) => {
|
|
33642
33674
|
const t = q.useId(), { getRootNode: n } = Gp(), { dir: r } = t_(), o = U({
|
|
33643
33675
|
id: t,
|
|
33644
33676
|
getRootNode: n,
|
|
33645
33677
|
dir: r
|
|
33646
|
-
}, e), u = Bp(
|
|
33647
|
-
return
|
|
33678
|
+
}, e), u = Bp(kF, o);
|
|
33679
|
+
return vF(u, Ob);
|
|
33648
33680
|
}, fS = (e) => {
|
|
33649
|
-
const [t, c] = Db(e), f = c, { children: n } = f, r = qt(f, ["children"]), [o] =
|
|
33650
|
-
return /* @__PURE__ */
|
|
33681
|
+
const [t, c] = Db(e), f = c, { children: n } = f, r = qt(f, ["children"]), [o] = yF(t), u = NF(r), a = Hp(lr({ present: u.open }, t));
|
|
33682
|
+
return /* @__PURE__ */ N.jsx(TF, { value: u, children: /* @__PURE__ */ N.jsx(gF, { value: o, children: /* @__PURE__ */ N.jsx(Ib, { value: a, children: n }) }) });
|
|
33651
33683
|
}, S0 = q.forwardRef((e, t) => {
|
|
33652
33684
|
const n = ta(), r = lr(n.getTitleProps(), e);
|
|
33653
|
-
return /* @__PURE__ */
|
|
33685
|
+
return /* @__PURE__ */ N.jsx(Ni.h2, ye(U({}, r), { ref: t }));
|
|
33654
33686
|
});
|
|
33655
33687
|
S0.displayName = "DialogTitle";
|
|
33656
33688
|
const dS = (e) => {
|
|
33657
33689
|
var f;
|
|
33658
33690
|
const { children: t, disabled: n } = e, [r, o] = q.useState((f = e.container) == null ? void 0 : f.current), u = q.useSyncExternalStore(
|
|
33659
|
-
|
|
33691
|
+
IF,
|
|
33660
33692
|
() => !1,
|
|
33661
33693
|
() => !0
|
|
33662
33694
|
), { getRootNode: a } = Gp();
|
|
@@ -33665,18 +33697,18 @@ const dS = (e) => {
|
|
|
33665
33697
|
var h;
|
|
33666
33698
|
return (h = e.container) == null ? void 0 : h.current;
|
|
33667
33699
|
});
|
|
33668
|
-
}, [e.container]), u || n) return /* @__PURE__ */
|
|
33669
|
-
const c = r != null ? r :
|
|
33670
|
-
return /* @__PURE__ */
|
|
33671
|
-
},
|
|
33700
|
+
}, [e.container]), u || n) return /* @__PURE__ */ N.jsx(N.Fragment, { children: t });
|
|
33701
|
+
const c = r != null ? r : OF(a);
|
|
33702
|
+
return /* @__PURE__ */ N.jsx(N.Fragment, { children: q.Children.map(t, (h) => Sc.createPortal(h, c)) });
|
|
33703
|
+
}, OF = (e) => {
|
|
33672
33704
|
const t = e == null ? void 0 : e(), n = t.getRootNode();
|
|
33673
33705
|
return is(n) ? n : vr(t).body;
|
|
33674
|
-
},
|
|
33675
|
-
},
|
|
33706
|
+
}, IF = () => () => {
|
|
33707
|
+
}, PF = () => {
|
|
33676
33708
|
const { globalClassName: e } = bn(), { dialogPosition: t } = lo(), n = t === "bottom-left", r = () => {
|
|
33677
33709
|
LT(n ? "bottom-right" : "bottom-left");
|
|
33678
33710
|
}, o = n ? lI : aI, u = n ? "Move right" : "Move left";
|
|
33679
|
-
return /* @__PURE__ */
|
|
33711
|
+
return /* @__PURE__ */ N.jsx(
|
|
33680
33712
|
no,
|
|
33681
33713
|
{
|
|
33682
33714
|
className: se(
|
|
@@ -33686,10 +33718,10 @@ const dS = (e) => {
|
|
|
33686
33718
|
),
|
|
33687
33719
|
ariaLabel: u,
|
|
33688
33720
|
onClick: r,
|
|
33689
|
-
icon: /* @__PURE__ */
|
|
33721
|
+
icon: /* @__PURE__ */ N.jsx(o, {})
|
|
33690
33722
|
}
|
|
33691
33723
|
);
|
|
33692
|
-
},
|
|
33724
|
+
}, RF = () => {
|
|
33693
33725
|
const { logoUrl: e, headerText: t, globalClassName: n, themeVariables: r } = bn(), { mode: o, status: u, dialogPosition: a } = lo(), { copilot: c, messages: f, groupedMessages: h, isLoading: m, handleUserInput: E, handleSuggestion: b } = ki(), T = q.useRef(null), { isOpen: _ } = u || {}, C = o === "standalone";
|
|
33694
33726
|
q.useEffect(() => {
|
|
33695
33727
|
T.current && T.current.scrollIntoView({
|
|
@@ -33700,7 +33732,7 @@ const dS = (e) => {
|
|
|
33700
33732
|
const A = () => {
|
|
33701
33733
|
$l(!1);
|
|
33702
33734
|
};
|
|
33703
|
-
return !_ || h.length === 0 ? null : c ? /* @__PURE__ */
|
|
33735
|
+
return !_ || h.length === 0 ? null : c ? /* @__PURE__ */ N.jsx(
|
|
33704
33736
|
fS,
|
|
33705
33737
|
{
|
|
33706
33738
|
lazyMount: !0,
|
|
@@ -33708,7 +33740,7 @@ const dS = (e) => {
|
|
|
33708
33740
|
closeOnEscape: !1,
|
|
33709
33741
|
closeOnInteractOutside: !1,
|
|
33710
33742
|
open: _,
|
|
33711
|
-
children: /* @__PURE__ */
|
|
33743
|
+
children: /* @__PURE__ */ N.jsx(dS, { children: /* @__PURE__ */ N.jsx(
|
|
33712
33744
|
_0,
|
|
33713
33745
|
{
|
|
33714
33746
|
className: se(
|
|
@@ -33718,7 +33750,7 @@ const dS = (e) => {
|
|
|
33718
33750
|
a
|
|
33719
33751
|
),
|
|
33720
33752
|
style: r,
|
|
33721
|
-
children: /* @__PURE__ */
|
|
33753
|
+
children: /* @__PURE__ */ N.jsxs(
|
|
33722
33754
|
T0,
|
|
33723
33755
|
{
|
|
33724
33756
|
className: se(n, `${ee}-dialog-content`, {
|
|
@@ -33726,7 +33758,7 @@ const dS = (e) => {
|
|
|
33726
33758
|
embedded: !C
|
|
33727
33759
|
}),
|
|
33728
33760
|
children: [
|
|
33729
|
-
/* @__PURE__ */
|
|
33761
|
+
/* @__PURE__ */ N.jsxs(
|
|
33730
33762
|
"div",
|
|
33731
33763
|
{
|
|
33732
33764
|
className: se(n, `${ee}-dialog-header`, {
|
|
@@ -33734,7 +33766,7 @@ const dS = (e) => {
|
|
|
33734
33766
|
embedded: !C
|
|
33735
33767
|
}),
|
|
33736
33768
|
children: [
|
|
33737
|
-
e && /* @__PURE__ */
|
|
33769
|
+
e && /* @__PURE__ */ N.jsx(
|
|
33738
33770
|
"img",
|
|
33739
33771
|
{
|
|
33740
33772
|
alt: "",
|
|
@@ -33746,7 +33778,7 @@ const dS = (e) => {
|
|
|
33746
33778
|
src: e
|
|
33747
33779
|
}
|
|
33748
33780
|
),
|
|
33749
|
-
/* @__PURE__ */
|
|
33781
|
+
/* @__PURE__ */ N.jsx(
|
|
33750
33782
|
S0,
|
|
33751
33783
|
{
|
|
33752
33784
|
className: se(n, `${ee}-dialog-title`, {
|
|
@@ -33756,16 +33788,16 @@ const dS = (e) => {
|
|
|
33756
33788
|
children: t
|
|
33757
33789
|
}
|
|
33758
33790
|
),
|
|
33759
|
-
/* @__PURE__ */
|
|
33760
|
-
/* @__PURE__ */
|
|
33761
|
-
/* @__PURE__ */
|
|
33762
|
-
/* @__PURE__ */
|
|
33763
|
-
/* @__PURE__ */
|
|
33791
|
+
/* @__PURE__ */ N.jsxs("div", { className: se(n, `${ee}-dialog-controls`), children: [
|
|
33792
|
+
/* @__PURE__ */ N.jsx(o_, { componentType: "dialog", isIcon: !0 }),
|
|
33793
|
+
/* @__PURE__ */ N.jsx(PF, {}),
|
|
33794
|
+
/* @__PURE__ */ N.jsx(s_, { componentType: "dialog" }),
|
|
33795
|
+
/* @__PURE__ */ N.jsx(i_, { className: `dialog ${n}`, onClick: A })
|
|
33764
33796
|
] })
|
|
33765
33797
|
]
|
|
33766
33798
|
}
|
|
33767
33799
|
),
|
|
33768
|
-
/* @__PURE__ */
|
|
33800
|
+
/* @__PURE__ */ N.jsxs(
|
|
33769
33801
|
b0,
|
|
33770
33802
|
{
|
|
33771
33803
|
className: se(n, `${ee}-message-container`, {
|
|
@@ -33773,7 +33805,7 @@ const dS = (e) => {
|
|
|
33773
33805
|
embedded: !C
|
|
33774
33806
|
}),
|
|
33775
33807
|
children: [
|
|
33776
|
-
/* @__PURE__ */
|
|
33808
|
+
/* @__PURE__ */ N.jsx(
|
|
33777
33809
|
y0,
|
|
33778
33810
|
{
|
|
33779
33811
|
isWidgetStandalone: C,
|
|
@@ -33781,7 +33813,7 @@ const dS = (e) => {
|
|
|
33781
33813
|
handleSuggestionClick: b
|
|
33782
33814
|
}
|
|
33783
33815
|
),
|
|
33784
|
-
m && /* @__PURE__ */
|
|
33816
|
+
m && /* @__PURE__ */ N.jsx(
|
|
33785
33817
|
"div",
|
|
33786
33818
|
{
|
|
33787
33819
|
style: {
|
|
@@ -33789,22 +33821,22 @@ const dS = (e) => {
|
|
|
33789
33821
|
justifyContent: "flex-start",
|
|
33790
33822
|
paddingBottom: "1rem"
|
|
33791
33823
|
},
|
|
33792
|
-
children: /* @__PURE__ */
|
|
33824
|
+
children: /* @__PURE__ */ N.jsx(Hc, {})
|
|
33793
33825
|
}
|
|
33794
33826
|
),
|
|
33795
|
-
/* @__PURE__ */
|
|
33827
|
+
/* @__PURE__ */ N.jsx("div", { ref: T })
|
|
33796
33828
|
]
|
|
33797
33829
|
}
|
|
33798
33830
|
),
|
|
33799
|
-
/* @__PURE__ */
|
|
33831
|
+
/* @__PURE__ */ N.jsx(Op, { componentType: "dialog", isLoading: m, onSubmit: E })
|
|
33800
33832
|
]
|
|
33801
33833
|
}
|
|
33802
33834
|
)
|
|
33803
33835
|
}
|
|
33804
33836
|
) })
|
|
33805
33837
|
}
|
|
33806
|
-
) : /* @__PURE__ */
|
|
33807
|
-
},
|
|
33838
|
+
) : /* @__PURE__ */ N.jsx("div", { children: "Loading Copilot..." });
|
|
33839
|
+
}, LF = () => {
|
|
33808
33840
|
const { logoUrl: e, headerText: t, globalClassName: n, themeVariables: r } = bn(), { mode: o, status: u, isModalFullscreen: a, previousComponentType: c } = lo(), { copilot: f, messages: h, groupedMessages: m, isLoading: E, handleUserInput: b, handleSuggestion: T } = ki(), _ = q.useRef(null), { isOpen: C } = u || {}, A = o === "standalone";
|
|
33809
33841
|
q.useEffect(() => {
|
|
33810
33842
|
_.current && _.current.scrollIntoView({
|
|
@@ -33821,19 +33853,19 @@ const dS = (e) => {
|
|
|
33821
33853
|
}, G = () => {
|
|
33822
33854
|
$l(!1);
|
|
33823
33855
|
};
|
|
33824
|
-
return !C || m.length === 0 ? null : f ? /* @__PURE__ */
|
|
33856
|
+
return !C || m.length === 0 ? null : f ? /* @__PURE__ */ N.jsx(fS, { lazyMount: !0, open: C, onOpenChange: I, children: /* @__PURE__ */ N.jsx(dS, { children: /* @__PURE__ */ N.jsxs(
|
|
33825
33857
|
"div",
|
|
33826
33858
|
{
|
|
33827
33859
|
className: se(n, `${ee}-modal-container`),
|
|
33828
33860
|
style: r,
|
|
33829
33861
|
children: [
|
|
33830
|
-
/* @__PURE__ */
|
|
33862
|
+
/* @__PURE__ */ N.jsx(
|
|
33831
33863
|
oS,
|
|
33832
33864
|
{
|
|
33833
33865
|
className: se(n, `${ee}-modal-backdrop`)
|
|
33834
33866
|
}
|
|
33835
33867
|
),
|
|
33836
|
-
/* @__PURE__ */
|
|
33868
|
+
/* @__PURE__ */ N.jsx(
|
|
33837
33869
|
_0,
|
|
33838
33870
|
{
|
|
33839
33871
|
className: se(
|
|
@@ -33846,7 +33878,7 @@ const dS = (e) => {
|
|
|
33846
33878
|
embedded: !A
|
|
33847
33879
|
}
|
|
33848
33880
|
),
|
|
33849
|
-
children: /* @__PURE__ */
|
|
33881
|
+
children: /* @__PURE__ */ N.jsxs(
|
|
33850
33882
|
T0,
|
|
33851
33883
|
{
|
|
33852
33884
|
className: se(n, `${ee}-modal-content`, {
|
|
@@ -33854,7 +33886,7 @@ const dS = (e) => {
|
|
|
33854
33886
|
embedded: !A
|
|
33855
33887
|
}),
|
|
33856
33888
|
children: [
|
|
33857
|
-
/* @__PURE__ */
|
|
33889
|
+
/* @__PURE__ */ N.jsxs(
|
|
33858
33890
|
"div",
|
|
33859
33891
|
{
|
|
33860
33892
|
className: se(n, `${ee}-modal-header`, {
|
|
@@ -33862,7 +33894,7 @@ const dS = (e) => {
|
|
|
33862
33894
|
embedded: !A
|
|
33863
33895
|
}),
|
|
33864
33896
|
children: [
|
|
33865
|
-
e && /* @__PURE__ */
|
|
33897
|
+
e && /* @__PURE__ */ N.jsx(
|
|
33866
33898
|
"img",
|
|
33867
33899
|
{
|
|
33868
33900
|
alt: "",
|
|
@@ -33874,7 +33906,7 @@ const dS = (e) => {
|
|
|
33874
33906
|
src: e
|
|
33875
33907
|
}
|
|
33876
33908
|
),
|
|
33877
|
-
/* @__PURE__ */
|
|
33909
|
+
/* @__PURE__ */ N.jsx(
|
|
33878
33910
|
S0,
|
|
33879
33911
|
{
|
|
33880
33912
|
className: se(n, `${ee}-modal-title`, {
|
|
@@ -33884,8 +33916,8 @@ const dS = (e) => {
|
|
|
33884
33916
|
children: t
|
|
33885
33917
|
}
|
|
33886
33918
|
),
|
|
33887
|
-
/* @__PURE__ */
|
|
33888
|
-
/* @__PURE__ */
|
|
33919
|
+
/* @__PURE__ */ N.jsxs("div", { className: se(n, `${ee}-modal-controls`), children: [
|
|
33920
|
+
/* @__PURE__ */ N.jsx(
|
|
33889
33921
|
no,
|
|
33890
33922
|
{
|
|
33891
33923
|
ariaLabel: "Toggle Fullscreen",
|
|
@@ -33893,11 +33925,11 @@ const dS = (e) => {
|
|
|
33893
33925
|
n,
|
|
33894
33926
|
`${ee}-modal-fullscreen-button`
|
|
33895
33927
|
),
|
|
33896
|
-
icon: a ? /* @__PURE__ */
|
|
33928
|
+
icon: a ? /* @__PURE__ */ N.jsx(Rk, {}) : /* @__PURE__ */ N.jsx(Lk, {}),
|
|
33897
33929
|
onClick: F
|
|
33898
33930
|
}
|
|
33899
33931
|
),
|
|
33900
|
-
/* @__PURE__ */
|
|
33932
|
+
/* @__PURE__ */ N.jsx(
|
|
33901
33933
|
no,
|
|
33902
33934
|
{
|
|
33903
33935
|
ariaLabel: "Toggle Dialog",
|
|
@@ -33906,16 +33938,16 @@ const dS = (e) => {
|
|
|
33906
33938
|
`${ee}-modal-toggle-dialog-button`
|
|
33907
33939
|
),
|
|
33908
33940
|
onClick: D,
|
|
33909
|
-
icon: /* @__PURE__ */
|
|
33941
|
+
icon: /* @__PURE__ */ N.jsx(hI, {})
|
|
33910
33942
|
}
|
|
33911
33943
|
),
|
|
33912
|
-
/* @__PURE__ */
|
|
33913
|
-
/* @__PURE__ */
|
|
33944
|
+
/* @__PURE__ */ N.jsx(s_, { componentType: "modal" }),
|
|
33945
|
+
/* @__PURE__ */ N.jsx(i_, { className: `modal ${n}`, onClick: G })
|
|
33914
33946
|
] })
|
|
33915
33947
|
]
|
|
33916
33948
|
}
|
|
33917
33949
|
),
|
|
33918
|
-
/* @__PURE__ */
|
|
33950
|
+
/* @__PURE__ */ N.jsxs(
|
|
33919
33951
|
b0,
|
|
33920
33952
|
{
|
|
33921
33953
|
className: se(n, `${ee}-message-container`, {
|
|
@@ -33923,7 +33955,7 @@ const dS = (e) => {
|
|
|
33923
33955
|
embedded: !A
|
|
33924
33956
|
}),
|
|
33925
33957
|
children: [
|
|
33926
|
-
/* @__PURE__ */
|
|
33958
|
+
/* @__PURE__ */ N.jsx(
|
|
33927
33959
|
y0,
|
|
33928
33960
|
{
|
|
33929
33961
|
isWidgetStandalone: A,
|
|
@@ -33931,7 +33963,7 @@ const dS = (e) => {
|
|
|
33931
33963
|
handleSuggestionClick: T
|
|
33932
33964
|
}
|
|
33933
33965
|
),
|
|
33934
|
-
E && /* @__PURE__ */
|
|
33966
|
+
E && /* @__PURE__ */ N.jsx(
|
|
33935
33967
|
"div",
|
|
33936
33968
|
{
|
|
33937
33969
|
style: {
|
|
@@ -33940,14 +33972,14 @@ const dS = (e) => {
|
|
|
33940
33972
|
paddingLeft: "1rem",
|
|
33941
33973
|
paddingBottom: "1rem"
|
|
33942
33974
|
},
|
|
33943
|
-
children: /* @__PURE__ */
|
|
33975
|
+
children: /* @__PURE__ */ N.jsx(Hc, {})
|
|
33944
33976
|
}
|
|
33945
33977
|
),
|
|
33946
|
-
/* @__PURE__ */
|
|
33978
|
+
/* @__PURE__ */ N.jsx("div", { ref: _ })
|
|
33947
33979
|
]
|
|
33948
33980
|
}
|
|
33949
33981
|
),
|
|
33950
|
-
/* @__PURE__ */
|
|
33982
|
+
/* @__PURE__ */ N.jsx(Op, { componentType: "modal", isLoading: E, onSubmit: b })
|
|
33951
33983
|
]
|
|
33952
33984
|
}
|
|
33953
33985
|
)
|
|
@@ -33955,22 +33987,22 @@ const dS = (e) => {
|
|
|
33955
33987
|
)
|
|
33956
33988
|
]
|
|
33957
33989
|
}
|
|
33958
|
-
) }) }) : /* @__PURE__ */
|
|
33959
|
-
},
|
|
33990
|
+
) }) }) : /* @__PURE__ */ N.jsx("div", { children: "Loading Copilot..." });
|
|
33991
|
+
}, DF = () => {
|
|
33960
33992
|
const e = lo(), {
|
|
33961
33993
|
status: { type: t }
|
|
33962
33994
|
} = e || { status: {} };
|
|
33963
|
-
return t === "dialog" ? /* @__PURE__ */
|
|
33964
|
-
}, hS = (e) => /* @__PURE__ */
|
|
33995
|
+
return t === "dialog" ? /* @__PURE__ */ N.jsx(RF, {}) : t === "modal" ? /* @__PURE__ */ N.jsx(LF, {}) : /* @__PURE__ */ N.jsx(mF, {});
|
|
33996
|
+
}, hS = (e) => /* @__PURE__ */ N.jsx(Sk, ye(U({}, e), { children: /* @__PURE__ */ N.jsx(DF, {}) }));
|
|
33965
33997
|
var Al = {}, By;
|
|
33966
|
-
function
|
|
33998
|
+
function MF() {
|
|
33967
33999
|
if (By) return Al;
|
|
33968
34000
|
By = 1;
|
|
33969
34001
|
var e = vb();
|
|
33970
34002
|
return Al.createRoot = e.createRoot, Al.hydrateRoot = e.hydrateRoot, Al;
|
|
33971
34003
|
}
|
|
33972
|
-
var pS =
|
|
33973
|
-
const
|
|
34004
|
+
var pS = MF();
|
|
34005
|
+
const FF = (r) => {
|
|
33974
34006
|
var o = r, {
|
|
33975
34007
|
elementId: e,
|
|
33976
34008
|
timeout: t = 5e3
|
|
@@ -33984,7 +34016,7 @@ const MF = (r) => {
|
|
|
33984
34016
|
for (const E of f)
|
|
33985
34017
|
if (E.type === "childList" && E.addedNodes.length)
|
|
33986
34018
|
for (const b of E.addedNodes)
|
|
33987
|
-
b.nodeType === Node.ELEMENT_NODE && b.id === e && (Ws(!0, "log", "Target element found, rendering Copilot Widget"), h.disconnect(), clearTimeout(u), (m = pS.createRoot(b)) == null || m.render(/* @__PURE__ */
|
|
34019
|
+
b.nodeType === Node.ELEMENT_NODE && b.id === e && (Ws(!0, "log", "Target element found, rendering Copilot Widget"), h.disconnect(), clearTimeout(u), (m = pS.createRoot(b)) == null || m.render(/* @__PURE__ */ N.jsx(hS, U({}, n))));
|
|
33988
34020
|
}, c = new MutationObserver(a);
|
|
33989
34021
|
return c.observe(document.body, {
|
|
33990
34022
|
childList: !0,
|
|
@@ -33996,7 +34028,7 @@ const MF = (r) => {
|
|
|
33996
34028
|
`Element with id: ${e} not found within ${t} milliseconds, stopping observation`
|
|
33997
34029
|
);
|
|
33998
34030
|
}, t), c;
|
|
33999
|
-
},
|
|
34031
|
+
}, cB = (r) => {
|
|
34000
34032
|
var o = r, {
|
|
34001
34033
|
timeout: e,
|
|
34002
34034
|
elementId: t
|
|
@@ -34010,11 +34042,11 @@ const MF = (r) => {
|
|
|
34010
34042
|
}
|
|
34011
34043
|
const u = document.getElementById(t);
|
|
34012
34044
|
if (!u) {
|
|
34013
|
-
Ws(!0, "warn", "Container element not found for id:", t), Ws(!0, "warn", "Beginning observation for element"),
|
|
34045
|
+
Ws(!0, "warn", "Container element not found for id:", t), Ws(!0, "warn", "Beginning observation for element"), FF(U({ elementId: t, timeout: e }, n));
|
|
34014
34046
|
return;
|
|
34015
34047
|
}
|
|
34016
|
-
pS.createRoot(u).render(/* @__PURE__ */
|
|
34017
|
-
},
|
|
34048
|
+
pS.createRoot(u).render(/* @__PURE__ */ N.jsx(hS, U({}, n)));
|
|
34049
|
+
}, fB = {
|
|
34018
34050
|
search: ok,
|
|
34019
34051
|
browse: Yv,
|
|
34020
34052
|
pdp: {
|
|
@@ -34029,7 +34061,7 @@ const MF = (r) => {
|
|
|
34029
34061
|
setWidgetDialogPosition: LT
|
|
34030
34062
|
},
|
|
34031
34063
|
session: ek
|
|
34032
|
-
},
|
|
34064
|
+
}, dB = () => Object.freeze({
|
|
34033
34065
|
search: Object.freeze(ht.state),
|
|
34034
34066
|
browse: Object.freeze(it.state),
|
|
34035
34067
|
pdp: Object.freeze(sr.state),
|
|
@@ -34037,13 +34069,13 @@ const MF = (r) => {
|
|
|
34037
34069
|
isOpen: _t.isOpen
|
|
34038
34070
|
});
|
|
34039
34071
|
export {
|
|
34040
|
-
|
|
34041
|
-
|
|
34042
|
-
|
|
34072
|
+
RF as CopilotDialog,
|
|
34073
|
+
mF as CopilotEmbed,
|
|
34074
|
+
LF as CopilotModal,
|
|
34043
34075
|
hS as CopilotWidget,
|
|
34044
34076
|
Sk as WidgetProvider,
|
|
34045
|
-
|
|
34046
|
-
|
|
34047
|
-
|
|
34077
|
+
fB as eventHandlers,
|
|
34078
|
+
cB as injectCopilotWidget,
|
|
34079
|
+
dB as state,
|
|
34048
34080
|
ki as useCopilot
|
|
34049
34081
|
};
|