@streamoid/agent 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +251 -250
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10291,8 +10291,8 @@ function compiler(e) {
|
|
|
10291
10291
|
link: l(Br),
|
|
10292
10292
|
listItem: l(Ur),
|
|
10293
10293
|
listItemValue: M,
|
|
10294
|
-
listOrdered: l(
|
|
10295
|
-
listUnordered: l(
|
|
10294
|
+
listOrdered: l(fr, j),
|
|
10295
|
+
listUnordered: l(fr),
|
|
10296
10296
|
paragraph: l(Xr),
|
|
10297
10297
|
reference: je,
|
|
10298
10298
|
referenceString: d,
|
|
@@ -10730,7 +10730,7 @@ function compiler(e) {
|
|
|
10730
10730
|
children: []
|
|
10731
10731
|
};
|
|
10732
10732
|
}
|
|
10733
|
-
function
|
|
10733
|
+
function fr(Wt) {
|
|
10734
10734
|
return {
|
|
10735
10735
|
type: "list",
|
|
10736
10736
|
ordered: Wt.type === "listOrdered",
|
|
@@ -25010,7 +25010,7 @@ function requireJsuites() {
|
|
|
25010
25010
|
}, Ye;
|
|
25011
25011
|
}
|
|
25012
25012
|
var Br = Pr();
|
|
25013
|
-
function
|
|
25013
|
+
function fr(Ye, st) {
|
|
25014
25014
|
var Oe = {};
|
|
25015
25015
|
Oe.options = {};
|
|
25016
25016
|
var Me = {
|
|
@@ -25633,7 +25633,7 @@ function requireJsuites() {
|
|
|
25633
25633
|
notification: Br,
|
|
25634
25634
|
palette: Je,
|
|
25635
25635
|
picker: tt,
|
|
25636
|
-
progressbar:
|
|
25636
|
+
progressbar: fr,
|
|
25637
25637
|
rating: Ur,
|
|
25638
25638
|
search: Xr,
|
|
25639
25639
|
slider: Yr,
|
|
@@ -27662,7 +27662,7 @@ function requireDist$1() {
|
|
|
27662
27662
|
function Br(P) {
|
|
27663
27663
|
return [R, I, T, z, F, M].indexOf(P) >= 0 || typeof P == "number" && (isNaN(P) || !isFinite(P));
|
|
27664
27664
|
}
|
|
27665
|
-
function
|
|
27665
|
+
function fr(P) {
|
|
27666
27666
|
return Br(P) || P === Z;
|
|
27667
27667
|
}
|
|
27668
27668
|
function Ur(P) {
|
|
@@ -29129,7 +29129,7 @@ function requireDist$1() {
|
|
|
29129
29129
|
}, g.HYPGEOM = ot, g.HYPGEOMDIST = Ti, g.IF = function(P, ee, Pe) {
|
|
29130
29130
|
return P instanceof Error ? P : ((ee = !(arguments.length >= 2) || ee) == null && (ee = 0), (Pe = arguments.length === 3 && Pe) == null && (Pe = 0), P ? ee : Pe);
|
|
29131
29131
|
}, g.IFERROR = function(P, ee) {
|
|
29132
|
-
return
|
|
29132
|
+
return fr(P) ? ee : P;
|
|
29133
29133
|
}, g.IFNA = function(P, ee) {
|
|
29134
29134
|
return P === Z ? ee : P;
|
|
29135
29135
|
}, g.IFS = function() {
|
|
@@ -29251,7 +29251,7 @@ function requireDist$1() {
|
|
|
29251
29251
|
return Gr;
|
|
29252
29252
|
}, g.ISBLANK = function(P) {
|
|
29253
29253
|
return P === null;
|
|
29254
|
-
}, g.ISERR = Br, g.ISERROR =
|
|
29254
|
+
}, g.ISERR = Br, g.ISERROR = fr, g.ISEVEN = function(P) {
|
|
29255
29255
|
return !(1 & Math.floor(Math.abs(P)));
|
|
29256
29256
|
}, g.ISFORMULA = function() {
|
|
29257
29257
|
throw new Error("ISFORMULA is not implemented");
|
|
@@ -29375,7 +29375,7 @@ function requireDist$1() {
|
|
|
29375
29375
|
}, g.MUNIT = function(P) {
|
|
29376
29376
|
return arguments.length > 1 ? Z : !(P = parseInt(P)) || P <= 0 ? R : Array(P).fill(0).map((() => Array(P).fill(0))).map(((ee, Pe) => (ee[Pe] = 1, ee)));
|
|
29377
29377
|
}, g.N = function(P) {
|
|
29378
|
-
return Xr(P) ? P : P instanceof Date ? P.getTime() : P === !0 ? 1 : P === !1 ? 0 :
|
|
29378
|
+
return Xr(P) ? P : P instanceof Date ? P.getTime() : P === !0 ? 1 : P === !1 ? 0 : fr(P) ? P : 0;
|
|
29379
29379
|
}, g.NA = function() {
|
|
29380
29380
|
return Z;
|
|
29381
29381
|
}, g.NEGBINOM = jr, g.NEGBINOMDIST = wr, g.NETWORKDAYS = Xa, g.NETWORKDAYSINTL = Tr, g.NOMINAL = function(P, ee) {
|
|
@@ -29801,7 +29801,7 @@ function requireDist$1() {
|
|
|
29801
29801
|
}, g.TRUNC = function(P, ee) {
|
|
29802
29802
|
return rt(P = je(P), ee = je(ee)) || (P > 0 ? 1 : -1) * Math.floor(Math.abs(P) * Math.pow(10, ee)) / Math.pow(10, ee);
|
|
29803
29803
|
}, g.TTEST = Vf, g.TYPE = function(P) {
|
|
29804
|
-
return Xr(P) ? 1 : Yr(P) ? 2 : Ur(P) ? 4 :
|
|
29804
|
+
return Xr(P) ? 1 : Yr(P) ? 2 : Ur(P) ? 4 : fr(P) ? 16 : Array.isArray(P) ? 64 : void 0;
|
|
29805
29805
|
}, g.UNICHAR = Cc, g.UNICODE = as, g.UNIQUE = rn, g.UPPER = function(P) {
|
|
29806
29806
|
return (P = ht(P)) instanceof Error ? P : P.toUpperCase();
|
|
29807
29807
|
}, g.VALUE = function(P) {
|
|
@@ -34709,7 +34709,7 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
34709
34709
|
var xt = Ze & 7, ut = Ze >>> 3;
|
|
34710
34710
|
return xt <= 5 ? $e[ut] |= (ct & 7) << xt : ($e[ut] |= ct << xt & 255, $e[ut + 1] = (ct & 7) >> 8 - xt), Ze + 3;
|
|
34711
34711
|
}
|
|
34712
|
-
function
|
|
34712
|
+
function fr($e, Ze, ct) {
|
|
34713
34713
|
var xt = Ze & 7, ut = Ze >>> 3;
|
|
34714
34714
|
return ct = (ct & 1) << xt, $e[ut] |= ct, Ze + 1;
|
|
34715
34715
|
}
|
|
@@ -34816,7 +34816,7 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
34816
34816
|
hr[Lr] = Ht & 32767, Lr = (Lr << 5 ^ Nt[Ht]) & 32767, ++Ht;
|
|
34817
34817
|
_r -= nn - 1;
|
|
34818
34818
|
} else
|
|
34819
|
-
Cr <= 143 ? Cr = Cr + 48 : Bt =
|
|
34819
|
+
Cr <= 143 ? Cr = Cr + 48 : Bt = fr(Ot, Bt, 1), Bt = Ur(Ot, Bt, Dt[Cr]), hr[Lr] = Ht & 32767, ++Ht;
|
|
34820
34820
|
}
|
|
34821
34821
|
Bt = Ur(Ot, Bt, 0) - 1;
|
|
34822
34822
|
}
|
|
@@ -39815,9 +39815,9 @@ var WK_ = /* @__PURE__ */ (function() {
|
|
|
39815
39815
|
/* NUMBER */
|
|
39816
39816
|
case 16:
|
|
39817
39817
|
Br == 14 && (nr[2] & 112) == 112 && (nr[2] & 15) > 1 && (nr[2] & 15) < 15 && (nr[1].z = nt.dateNF || table_fmt[14], nt.cellDates && (nr[1].t = "d", nr[1].v = numdate(nr[1].v))), nt.qpro && nr[3] > Ct && (ht["!ref"] = encode_range(bt), Tt[$t] = ht, Dt.push($t), ht = nt.dense ? [] : {}, bt = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, Ct = nr[3], $t = gt || "Sheet" + (Ct + 1), gt = "");
|
|
39818
|
-
var
|
|
39819
|
-
if (
|
|
39820
|
-
|
|
39818
|
+
var fr = nt.dense ? (ht[nr[0].r] || [])[nr[0].c] : ht[encode_cell(nr[0])];
|
|
39819
|
+
if (fr) {
|
|
39820
|
+
fr.t = nr[1].t, fr.v = nr[1].v, nr[1].z != null && (fr.z = nr[1].z), nr[1].f != null && (fr.f = nr[1].f);
|
|
39821
39821
|
break;
|
|
39822
39822
|
}
|
|
39823
39823
|
nt.dense ? (ht[nr[0].r] || (ht[nr[0].r] = []), ht[nr[0].r][nr[0].c] = nr[1]) : ht[encode_cell(nr[0])] = nr[1];
|
|
@@ -48400,8 +48400,8 @@ function parse_workbook(e, t) {
|
|
|
48400
48400
|
if (Q = make_cell(bt.val, bt.cell.ixfe, bt.tt), Q.XF = ke[Q.ixfe], t.cellFormula) {
|
|
48401
48401
|
var Pr = bt.formula;
|
|
48402
48402
|
if (Pr && Pr[0] && Pr[0][0] && Pr[0][0][0] == "PtgExp") {
|
|
48403
|
-
var Br = Pr[0][0][1][0],
|
|
48404
|
-
z[Ur] ? Q.f = "" + stringify_formula(bt.formula, d, bt.cell, it, Ke) : Q.F = ((t.dense ? (o[Br] || [])[
|
|
48403
|
+
var Br = Pr[0][0][1][0], fr = Pr[0][0][1][1], Ur = encode_cell({ r: Br, c: fr });
|
|
48404
|
+
z[Ur] ? Q.f = "" + stringify_formula(bt.formula, d, bt.cell, it, Ke) : Q.F = ((t.dense ? (o[Br] || [])[fr] : o[Ur]) || {}).F;
|
|
48405
48405
|
} else Q.f = "" + stringify_formula(bt.formula, d, bt.cell, it, Ke);
|
|
48406
48406
|
}
|
|
48407
48407
|
Ge > 0 && (Q.z = je[Q.ixfe >> 8 & 63]), safe_format_xf(Q, t, n.opts.Date1904), Xe(bt.cell, Q, t), h = bt;
|
|
@@ -57872,7 +57872,7 @@ function DynamicForm(e) {
|
|
|
57872
57872
|
} finally {
|
|
57873
57873
|
Ie(!1);
|
|
57874
57874
|
}
|
|
57875
|
-
},
|
|
57875
|
+
}, fr = async (We) => {
|
|
57876
57876
|
We?.preventDefault(), Pr() && await Br(I, Ae);
|
|
57877
57877
|
}, Ur = async () => {
|
|
57878
57878
|
await Br(F ?? "Cancel", Ae);
|
|
@@ -58355,7 +58355,7 @@ function DynamicForm(e) {
|
|
|
58355
58355
|
size: "md",
|
|
58356
58356
|
text: I,
|
|
58357
58357
|
onClick: () => {
|
|
58358
|
-
|
|
58358
|
+
fr();
|
|
58359
58359
|
}
|
|
58360
58360
|
}
|
|
58361
58361
|
)
|
|
@@ -58414,7 +58414,7 @@ function DynamicForm(e) {
|
|
|
58414
58414
|
}
|
|
58415
58415
|
)
|
|
58416
58416
|
] }),
|
|
58417
|
-
/* @__PURE__ */ jsxs("form", { onSubmit:
|
|
58417
|
+
/* @__PURE__ */ jsxs("form", { onSubmit: fr, className: "flex flex-col", children: [
|
|
58418
58418
|
Ye && /* @__PURE__ */ jsx("div", { className: "px-[24px] pt-[16px]", children: Ye }),
|
|
58419
58419
|
/* @__PURE__ */ jsx("div", { className: "max-h-[40vh] overflow-y-auto", children: At }),
|
|
58420
58420
|
ze
|
|
@@ -58431,7 +58431,7 @@ function DynamicForm(e) {
|
|
|
58431
58431
|
}
|
|
58432
58432
|
)
|
|
58433
58433
|
] }),
|
|
58434
|
-
/* @__PURE__ */ jsxs("form", { onSubmit:
|
|
58434
|
+
/* @__PURE__ */ jsxs("form", { onSubmit: fr, className: "relative flex-1 min-h-0 flex flex-col", children: [
|
|
58435
58435
|
Ye && /* @__PURE__ */ jsx("div", { className: "px-3 sm:px-5 pb-2 flex-shrink-0", children: Ye }),
|
|
58436
58436
|
/* @__PURE__ */ jsx("div", { className: `scroll-fade-top ${kt ? "" : "fade-hidden"}` }),
|
|
58437
58437
|
/* @__PURE__ */ jsx(
|
|
@@ -58780,7 +58780,7 @@ function SpreadsheetField({
|
|
|
58780
58780
|
}, [v, Xe, Je, j, ht]), Pr = nr ? Object.keys(nr).length : 0, Br = useMemo(
|
|
58781
58781
|
() => `${Xe}:${xr.length}:${Pt.length}:${Je}:${Pr}`,
|
|
58782
58782
|
[Xe, xr.length, Pt.length, Je, Pr]
|
|
58783
|
-
),
|
|
58783
|
+
), fr = useMemo(
|
|
58784
58784
|
() => ({ current: null }),
|
|
58785
58785
|
[_e, Br]
|
|
58786
58786
|
), Ur = useMemo(
|
|
@@ -58862,7 +58862,7 @@ function SpreadsheetField({
|
|
|
58862
58862
|
}
|
|
58863
58863
|
)
|
|
58864
58864
|
] }), Vr = (yr, Ye) => {
|
|
58865
|
-
const st = yr === "preview", Oe = st ? Ur :
|
|
58865
|
+
const st = yr === "preview", Oe = st ? Ur : fr, Me = _e === "compact" ? "spreadsheet-density-compact" : "spreadsheet-density-comfortable";
|
|
58866
58866
|
return xr.length ? /* @__PURE__ */ jsxs(
|
|
58867
58867
|
"div",
|
|
58868
58868
|
{
|
|
@@ -70479,7 +70479,7 @@ function SelectProducts({
|
|
|
70479
70479
|
try {
|
|
70480
70480
|
const Pr = await fetchRequiredFields(t);
|
|
70481
70481
|
if (Pr?.status?.code !== 0 || !Pr.data) return;
|
|
70482
|
-
const { columns: Br, allowedValues:
|
|
70482
|
+
const { columns: Br, allowedValues: fr } = buildFromRequiredFields(Pr.data), Ur = new Set(DEFAULT_COLUMNS.map((Yr) => Yr.value)), Xr = Br.filter((Yr) => !Ur.has(Yr.value));
|
|
70483
70483
|
Xr.length > 0 && (F((Yr) => {
|
|
70484
70484
|
const rn = new Set(Yr.map((Wt) => Wt.value)), Qr = Xr.filter((Wt) => !rn.has(Wt.value));
|
|
70485
70485
|
return Qr.length > 0 ? [...Yr, ...Qr] : Yr;
|
|
@@ -70488,7 +70488,7 @@ function SelectProducts({
|
|
|
70488
70488
|
for (const Qr of Xr)
|
|
70489
70489
|
!CORE_COLUMN_VALUES.has(Qr.value) && rn[Qr.value] === void 0 && (rn[Qr.value] = !1);
|
|
70490
70490
|
return rn;
|
|
70491
|
-
})), Z((Yr) => mergeAllowedValues(Yr,
|
|
70491
|
+
})), Z((Yr) => mergeAllowedValues(Yr, fr));
|
|
70492
70492
|
} catch (Pr) {
|
|
70493
70493
|
console.error("Failed to fetch required fields:", Pr);
|
|
70494
70494
|
} finally {
|
|
@@ -70499,12 +70499,12 @@ function SelectProducts({
|
|
|
70499
70499
|
const Dt = useCallback(
|
|
70500
70500
|
async (Pr = 1) => {
|
|
70501
70501
|
if (!t) return;
|
|
70502
|
-
const Br = ++Tt.current,
|
|
70502
|
+
const Br = ++Tt.current, fr = buildFieldsFromColumns(I, DEFAULT_SOURCE_MP), Ur = buildFiltersFromFields(fr), Xr = (Pr - 1) * PRODUCTS_PER_PAGE;
|
|
70503
70503
|
M(!0);
|
|
70504
70504
|
try {
|
|
70505
70505
|
const Yr = await searchProducts({
|
|
70506
70506
|
storeId: t,
|
|
70507
|
-
fields:
|
|
70507
|
+
fields: fr,
|
|
70508
70508
|
filters: Ur,
|
|
70509
70509
|
start: Xr,
|
|
70510
70510
|
rows: PRODUCTS_PER_PAGE
|
|
@@ -70534,8 +70534,8 @@ function SelectProducts({
|
|
|
70534
70534
|
!t || !Qe || Dt(ke);
|
|
70535
70535
|
}, [t, ke, Qe]);
|
|
70536
70536
|
const Zt = useCallback(
|
|
70537
|
-
async (Pr, Br,
|
|
70538
|
-
const Xr =
|
|
70537
|
+
async (Pr, Br, fr, Ur) => {
|
|
70538
|
+
const Xr = fr === "required" ? "product" : fr, Yr = Pr.product_code, rn = Pr.product_uuid;
|
|
70539
70539
|
if (!Yr || !rn)
|
|
70540
70540
|
throw new Error("Missing product code or UUID");
|
|
70541
70541
|
await updateProduct({
|
|
@@ -70568,7 +70568,7 @@ function SelectProducts({
|
|
|
70568
70568
|
new Set(xr.map((Xr) => Xr.product_uuid).filter(Boolean))
|
|
70569
70569
|
), Br = Array.from(
|
|
70570
70570
|
new Set(xr.map((Xr) => Xr.product_code).filter(Boolean))
|
|
70571
|
-
),
|
|
70571
|
+
), fr = g ? { product_uuids: Pr } : { product_codes: Br }, Ur = {
|
|
70572
70572
|
product_uuids: Pr,
|
|
70573
70573
|
product_codes: Br,
|
|
70574
70574
|
workspaceId: e,
|
|
@@ -70585,7 +70585,7 @@ function SelectProducts({
|
|
|
70585
70585
|
{},
|
|
70586
70586
|
// filters
|
|
70587
70587
|
g,
|
|
70588
|
-
|
|
70588
|
+
fr,
|
|
70589
70589
|
Ur
|
|
70590
70590
|
);
|
|
70591
70591
|
Xr?.submitted && (nt(!0), $t(Xr.submittedValues ?? Ur));
|
|
@@ -70607,7 +70607,7 @@ function SelectProducts({
|
|
|
70607
70607
|
}));
|
|
70608
70608
|
}, []);
|
|
70609
70609
|
if (je) {
|
|
70610
|
-
const Pr = ht, Br = Array.isArray(Pr?.product_uuids) ? Pr.product_uuids : [],
|
|
70610
|
+
const Pr = ht, Br = Array.isArray(Pr?.product_uuids) ? Pr.product_uuids : [], fr = Array.isArray(Pr?.product_codes) ? Pr.product_codes : [], Ur = Br.length || fr.length;
|
|
70611
70611
|
return /* @__PURE__ */ jsx("div", { className: "w-fit max-w-full py-2 animate-in fade-in duration-300", children: /* @__PURE__ */ jsxs("div", { className: "rounded-md border p-2.5 flex items-start gap-2 bg-emerald-50/50 border-emerald-200 dark:bg-muted/20 dark:border-border", children: [
|
|
70612
70612
|
/* @__PURE__ */ jsx("div", { className: "mt-px text-emerald-500", children: /* @__PURE__ */ jsx(CircleCheckBig$1, { className: "w-4 h-4" }) }),
|
|
70613
70613
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
@@ -72336,7 +72336,7 @@ function EditFeed({
|
|
|
72336
72336
|
}), Xe((Ue) => new Set(Ue).add(`${At}:${Lt}`));
|
|
72337
72337
|
},
|
|
72338
72338
|
[]
|
|
72339
|
-
), [Br,
|
|
72339
|
+
), [Br, fr] = useState(null), [Ur, Xr] = useState(null), Yr = useRef(null), rn = useRef(Br);
|
|
72340
72340
|
useEffect(() => {
|
|
72341
72341
|
rn.current = Br;
|
|
72342
72342
|
}, [Br]);
|
|
@@ -72347,10 +72347,10 @@ function EditFeed({
|
|
|
72347
72347
|
nt
|
|
72348
72348
|
]);
|
|
72349
72349
|
const Wt = useCallback((At, Lt) => {
|
|
72350
|
-
|
|
72350
|
+
fr({ col: Lt, anchorRow: At, focusRow: At });
|
|
72351
72351
|
}, []), ur = useCallback(
|
|
72352
72352
|
(At, Lt) => {
|
|
72353
|
-
|
|
72353
|
+
fr((ze) => !ze || ze.col !== Lt ? { col: Lt, anchorRow: At, focusRow: At } : { ...ze, focusRow: At });
|
|
72354
72354
|
},
|
|
72355
72355
|
[]
|
|
72356
72356
|
), kr = useCallback(
|
|
@@ -72403,7 +72403,7 @@ function EditFeed({
|
|
|
72403
72403
|
const Vt = Rt - 1 - Mt;
|
|
72404
72404
|
Vt >= 0 && Pr(Vt, St, Sr[Mt]);
|
|
72405
72405
|
}
|
|
72406
|
-
return
|
|
72406
|
+
return fr({
|
|
72407
72407
|
col: St,
|
|
72408
72408
|
anchorRow: tr,
|
|
72409
72409
|
focusRow: Gt
|
|
@@ -72413,7 +72413,7 @@ function EditFeed({
|
|
|
72413
72413
|
const Ut = computeFillValues(jr, Hr.length);
|
|
72414
72414
|
return Hr.forEach((sr, Sr) => {
|
|
72415
72415
|
Pr(sr, St, Ut[Sr]);
|
|
72416
|
-
}),
|
|
72416
|
+
}), fr({
|
|
72417
72417
|
col: St,
|
|
72418
72418
|
anchorRow: Rt,
|
|
72419
72419
|
focusRow: tr
|
|
@@ -72454,7 +72454,7 @@ function EditFeed({
|
|
|
72454
72454
|
else if (Lt.key === "ArrowLeft") We = -1;
|
|
72455
72455
|
else if (Lt.key === "ArrowRight") We = 1;
|
|
72456
72456
|
else if (Lt.key === "Escape") {
|
|
72457
|
-
Lt.preventDefault(),
|
|
72457
|
+
Lt.preventDefault(), fr(null);
|
|
72458
72458
|
return;
|
|
72459
72459
|
} else
|
|
72460
72460
|
return;
|
|
@@ -72467,11 +72467,11 @@ function EditFeed({
|
|
|
72467
72467
|
0,
|
|
72468
72468
|
Math.min(lt, Br.focusRow + Ue)
|
|
72469
72469
|
);
|
|
72470
|
-
|
|
72470
|
+
fr({ ...Br, focusRow: tr }), st(tr, Br.col);
|
|
72471
72471
|
return;
|
|
72472
72472
|
}
|
|
72473
72473
|
const St = Math.max(0, Math.min(vt, ot + We)), Rt = Ie[St], Gt = Math.max(0, Math.min(lt, Br.focusRow + Ue));
|
|
72474
|
-
|
|
72474
|
+
fr({ col: Rt, anchorRow: Gt, focusRow: Gt }), st(Gt, Rt);
|
|
72475
72475
|
};
|
|
72476
72476
|
return window.addEventListener("keydown", At), () => window.removeEventListener("keydown", At);
|
|
72477
72477
|
}, [Br, Ie, z.length, st]);
|
|
@@ -74828,7 +74828,7 @@ var catalogixManifest = [
|
|
|
74828
74828
|
}
|
|
74829
74829
|
}
|
|
74830
74830
|
function T() {
|
|
74831
|
-
var ze =
|
|
74831
|
+
var ze = fr.A;
|
|
74832
74832
|
return ze === null ? null : ze.getOwner();
|
|
74833
74833
|
}
|
|
74834
74834
|
function R() {
|
|
@@ -75069,7 +75069,7 @@ Your code should look like:
|
|
|
75069
75069
|
throw ze._result;
|
|
75070
75070
|
}
|
|
75071
75071
|
function Ke() {
|
|
75072
|
-
var ze =
|
|
75072
|
+
var ze = fr.H;
|
|
75073
75073
|
return ze === null && console.error(
|
|
75074
75074
|
`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
75075
75075
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
@@ -75079,7 +75079,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75079
75079
|
), ze;
|
|
75080
75080
|
}
|
|
75081
75081
|
function Je() {
|
|
75082
|
-
|
|
75082
|
+
fr.asyncTransitions--;
|
|
75083
75083
|
}
|
|
75084
75084
|
function et(ze) {
|
|
75085
75085
|
if (st === null)
|
|
@@ -75109,7 +75109,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75109
75109
|
), Oe = Ue;
|
|
75110
75110
|
}
|
|
75111
75111
|
function Qe(ze, Ue, We) {
|
|
75112
|
-
var ot =
|
|
75112
|
+
var ot = fr.actQueue;
|
|
75113
75113
|
if (ot !== null)
|
|
75114
75114
|
if (ot.length !== 0)
|
|
75115
75115
|
try {
|
|
@@ -75118,10 +75118,10 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75118
75118
|
});
|
|
75119
75119
|
return;
|
|
75120
75120
|
} catch (lt) {
|
|
75121
|
-
|
|
75121
|
+
fr.thrownErrors.push(lt);
|
|
75122
75122
|
}
|
|
75123
|
-
else
|
|
75124
|
-
0 <
|
|
75123
|
+
else fr.actQueue = null;
|
|
75124
|
+
0 < fr.thrownErrors.length ? (ot = dt(fr.thrownErrors), fr.thrownErrors.length = 0, We(ot)) : Ue(ze);
|
|
75125
75125
|
}
|
|
75126
75126
|
function ft(ze) {
|
|
75127
75127
|
if (!yt) {
|
|
@@ -75131,10 +75131,10 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75131
75131
|
for (; Ue < ze.length; Ue++) {
|
|
75132
75132
|
var We = ze[Ue];
|
|
75133
75133
|
do {
|
|
75134
|
-
|
|
75134
|
+
fr.didUsePromise = !1;
|
|
75135
75135
|
var ot = We(!1);
|
|
75136
75136
|
if (ot !== null) {
|
|
75137
|
-
if (
|
|
75137
|
+
if (fr.didUsePromise) {
|
|
75138
75138
|
ze[Ue] = We, ze.splice(0, Ue);
|
|
75139
75139
|
return;
|
|
75140
75140
|
}
|
|
@@ -75144,7 +75144,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75144
75144
|
}
|
|
75145
75145
|
ze.length = 0;
|
|
75146
75146
|
} catch (lt) {
|
|
75147
|
-
ze.splice(0, Ue + 1),
|
|
75147
|
+
ze.splice(0, Ue + 1), fr.thrownErrors.push(lt);
|
|
75148
75148
|
} finally {
|
|
75149
75149
|
yt = !1;
|
|
75150
75150
|
}
|
|
@@ -75187,7 +75187,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75187
75187
|
for (Lt in nr)
|
|
75188
75188
|
nr.hasOwnProperty(Lt) && n(Lt, nr[Lt]);
|
|
75189
75189
|
d.prototype = l.prototype, nr = h.prototype = new d(), nr.constructor = h, dr(nr, l.prototype), nr.isPureReactComponent = !0;
|
|
75190
|
-
var Pr = Array.isArray, Br = /* @__PURE__ */ Symbol.for("react.client.reference"),
|
|
75190
|
+
var Pr = Array.isArray, Br = /* @__PURE__ */ Symbol.for("react.client.reference"), fr = {
|
|
75191
75191
|
H: null,
|
|
75192
75192
|
A: null,
|
|
75193
75193
|
T: null,
|
|
@@ -75266,17 +75266,17 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75266
75266
|
return ze;
|
|
75267
75267
|
}
|
|
75268
75268
|
};
|
|
75269
|
-
e.Activity = Zt, e.Children = Lt, e.Component = l, e.Fragment = kt, e.Profiler = je, e.PureComponent = h, e.StrictMode = Ge, e.Suspense = gt, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
|
75270
|
-
var Ue =
|
|
75269
|
+
e.Activity = Zt, e.Children = Lt, e.Component = l, e.Fragment = kt, e.Profiler = je, e.PureComponent = h, e.StrictMode = Ge, e.Suspense = gt, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = fr, e.__COMPILER_RUNTIME = nr, e.act = function(ze) {
|
|
75270
|
+
var Ue = fr.actQueue, We = Oe;
|
|
75271
75271
|
Oe++;
|
|
75272
|
-
var ot =
|
|
75272
|
+
var ot = fr.actQueue = Ue !== null ? Ue : [], lt = !1;
|
|
75273
75273
|
try {
|
|
75274
75274
|
var vt = ze();
|
|
75275
75275
|
} catch (Gt) {
|
|
75276
|
-
|
|
75276
|
+
fr.thrownErrors.push(Gt);
|
|
75277
75277
|
}
|
|
75278
|
-
if (0 <
|
|
75279
|
-
throw rt(Ue, We), ze = dt(
|
|
75278
|
+
if (0 < fr.thrownErrors.length)
|
|
75279
|
+
throw rt(Ue, We), ze = dt(fr.thrownErrors), fr.thrownErrors.length = 0, ze;
|
|
75280
75280
|
if (vt !== null && typeof vt == "object" && typeof vt.then == "function") {
|
|
75281
75281
|
var St = vt;
|
|
75282
75282
|
return At(function() {
|
|
@@ -75297,20 +75297,20 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75297
75297
|
);
|
|
75298
75298
|
});
|
|
75299
75299
|
} catch (Hr) {
|
|
75300
|
-
|
|
75300
|
+
fr.thrownErrors.push(Hr);
|
|
75301
75301
|
}
|
|
75302
|
-
if (0 <
|
|
75302
|
+
if (0 < fr.thrownErrors.length) {
|
|
75303
75303
|
var jr = dt(
|
|
75304
|
-
|
|
75304
|
+
fr.thrownErrors
|
|
75305
75305
|
);
|
|
75306
|
-
|
|
75306
|
+
fr.thrownErrors.length = 0, tr(jr);
|
|
75307
75307
|
}
|
|
75308
75308
|
} else Gt(cr);
|
|
75309
75309
|
},
|
|
75310
75310
|
function(cr) {
|
|
75311
|
-
rt(Ue, We), 0 <
|
|
75312
|
-
|
|
75313
|
-
),
|
|
75311
|
+
rt(Ue, We), 0 < fr.thrownErrors.length && (cr = dt(
|
|
75312
|
+
fr.thrownErrors
|
|
75313
|
+
), fr.thrownErrors.length = 0), tr(cr);
|
|
75314
75314
|
}
|
|
75315
75315
|
);
|
|
75316
75316
|
}
|
|
@@ -75321,11 +75321,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75321
75321
|
lt || Me || (Me = !0, console.error(
|
|
75322
75322
|
"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
|
|
75323
75323
|
));
|
|
75324
|
-
}),
|
|
75325
|
-
throw ze = dt(
|
|
75324
|
+
}), fr.actQueue = null), 0 < fr.thrownErrors.length)
|
|
75325
|
+
throw ze = dt(fr.thrownErrors), fr.thrownErrors.length = 0, ze;
|
|
75326
75326
|
return {
|
|
75327
75327
|
then: function(Gt, tr) {
|
|
75328
|
-
lt = !0, We === 0 ? (
|
|
75328
|
+
lt = !0, We === 0 ? (fr.actQueue = ot, et(function() {
|
|
75329
75329
|
return Qe(
|
|
75330
75330
|
Rt,
|
|
75331
75331
|
Gt,
|
|
@@ -75341,7 +75341,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75341
75341
|
}, e.cacheSignal = function() {
|
|
75342
75342
|
return null;
|
|
75343
75343
|
}, e.captureOwnerStack = function() {
|
|
75344
|
-
var ze =
|
|
75344
|
+
var ze = fr.getCurrentStack;
|
|
75345
75345
|
return ze === null ? null : ze();
|
|
75346
75346
|
}, e.cloneElement = function(ze, Ue, We) {
|
|
75347
75347
|
if (ze == null)
|
|
@@ -75419,7 +75419,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75419
75419
|
ot,
|
|
75420
75420
|
typeof ze == "function" ? ze.displayName || ze.name || "Unknown" : ze
|
|
75421
75421
|
);
|
|
75422
|
-
var Gt = 1e4 >
|
|
75422
|
+
var Gt = 1e4 > fr.recentlyCreatedOwnerStacks++;
|
|
75423
75423
|
return Z(
|
|
75424
75424
|
ze,
|
|
75425
75425
|
lt,
|
|
@@ -75491,11 +75491,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75491
75491
|
}
|
|
75492
75492
|
}), Ue;
|
|
75493
75493
|
}, e.startTransition = function(ze) {
|
|
75494
|
-
var Ue =
|
|
75495
|
-
We._updatedFibers = /* @__PURE__ */ new Set(),
|
|
75494
|
+
var Ue = fr.T, We = {};
|
|
75495
|
+
We._updatedFibers = /* @__PURE__ */ new Set(), fr.T = We;
|
|
75496
75496
|
try {
|
|
75497
|
-
var ot = ze(), lt =
|
|
75498
|
-
lt !== null && lt(We, ot), typeof ot == "object" && ot !== null && typeof ot.then == "function" && (
|
|
75497
|
+
var ot = ze(), lt = fr.S;
|
|
75498
|
+
lt !== null && lt(We, ot), typeof ot == "object" && ot !== null && typeof ot.then == "function" && (fr.asyncTransitions++, ot.then(Je, Je), ot.then(g, yr));
|
|
75499
75499
|
} catch (vt) {
|
|
75500
75500
|
yr(vt);
|
|
75501
75501
|
} finally {
|
|
@@ -75503,7 +75503,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
75503
75503
|
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
|
75504
75504
|
)), Ue !== null && We.types !== null && (Ue.types !== null && Ue.types !== We.types && console.error(
|
|
75505
75505
|
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
|
|
75506
|
-
), Ue.types = We.types),
|
|
75506
|
+
), Ue.types = We.types), fr.T = Ue;
|
|
75507
75507
|
}
|
|
75508
75508
|
}, e.unstable_useCacheRefresh = function() {
|
|
75509
75509
|
return Ke().useCacheRefresh();
|
|
@@ -76268,7 +76268,7 @@ Error generating stack: ` + te.message + `
|
|
|
76268
76268
|
` + te.stack;
|
|
76269
76269
|
}
|
|
76270
76270
|
}
|
|
76271
|
-
var
|
|
76271
|
+
var fr = Object.prototype.hasOwnProperty, Ur = t.unstable_scheduleCallback, Xr = t.unstable_cancelCallback, Yr = t.unstable_shouldYield, rn = t.unstable_requestPaint, Qr = t.unstable_now, Wt = t.unstable_getCurrentPriorityLevel, ur = t.unstable_ImmediatePriority, kr = t.unstable_UserBlockingPriority, Vr = t.unstable_NormalPriority, yr = t.unstable_LowPriority, Ye = t.unstable_IdlePriority, st = t.log, Oe = t.unstable_setDisableYieldValue, Me = null, yt = null;
|
|
76272
76272
|
function At(C) {
|
|
76273
76273
|
if (typeof st == "function" && Oe(C), yt && typeof yt.setStrictMode == "function")
|
|
76274
76274
|
try {
|
|
@@ -76538,7 +76538,7 @@ Error generating stack: ` + te.message + `
|
|
|
76538
76538
|
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
|
|
76539
76539
|
), Ra = {}, li = {};
|
|
76540
76540
|
function Sn(C) {
|
|
76541
|
-
return
|
|
76541
|
+
return fr.call(li, C) ? !0 : fr.call(Ra, C) ? !1 : un.test(C) ? li[C] = !0 : (Ra[C] = !0, !1);
|
|
76542
76542
|
}
|
|
76543
76543
|
function ma(C, N, V) {
|
|
76544
76544
|
if (Sn(N))
|
|
@@ -77307,7 +77307,7 @@ Error generating stack: ` + te.message + `
|
|
|
77307
77307
|
if (V.length !== te.length) return !1;
|
|
77308
77308
|
for (te = 0; te < V.length; te++) {
|
|
77309
77309
|
var Fe = V[te];
|
|
77310
|
-
if (!
|
|
77310
|
+
if (!fr.call(N, Fe) || !Wr(C[Fe], N[Fe]))
|
|
77311
77311
|
return !1;
|
|
77312
77312
|
}
|
|
77313
77313
|
return !0;
|
|
@@ -77981,8 +77981,8 @@ Error generating stack: ` + te.message + `
|
|
|
77981
77981
|
function F1(C) {
|
|
77982
77982
|
function N(lr, ir) {
|
|
77983
77983
|
if (C) {
|
|
77984
|
-
var
|
|
77985
|
-
|
|
77984
|
+
var pr = lr.deletions;
|
|
77985
|
+
pr === null ? (lr.deletions = [ir], lr.flags |= 16) : pr.push(ir);
|
|
77986
77986
|
}
|
|
77987
77987
|
}
|
|
77988
77988
|
function V(lr, ir) {
|
|
@@ -77999,151 +77999,151 @@ Error generating stack: ` + te.message + `
|
|
|
77999
77999
|
function Fe(lr, ir) {
|
|
78000
78000
|
return lr = ec(lr, ir), lr.index = 0, lr.sibling = null, lr;
|
|
78001
78001
|
}
|
|
78002
|
-
function Ve(lr, ir,
|
|
78003
|
-
return lr.index =
|
|
78002
|
+
function Ve(lr, ir, pr) {
|
|
78003
|
+
return lr.index = pr, C ? (pr = lr.alternate, pr !== null ? (pr = pr.index, pr < ir ? (lr.flags |= 67108866, ir) : pr) : (lr.flags |= 67108866, ir)) : (lr.flags |= 1048576, ir);
|
|
78004
78004
|
}
|
|
78005
78005
|
function mt(lr) {
|
|
78006
78006
|
return C && lr.alternate === null && (lr.flags |= 67108866), lr;
|
|
78007
78007
|
}
|
|
78008
|
-
function It(lr, ir,
|
|
78009
|
-
return ir === null || ir.tag !== 6 ? (ir = wd(
|
|
78008
|
+
function It(lr, ir, pr, Dr) {
|
|
78009
|
+
return ir === null || ir.tag !== 6 ? (ir = wd(pr, lr.mode, Dr), ir.return = lr, ir) : (ir = Fe(ir, pr), ir.return = lr, ir);
|
|
78010
78010
|
}
|
|
78011
|
-
function Jt(lr, ir,
|
|
78012
|
-
var fn =
|
|
78011
|
+
function Jt(lr, ir, pr, Dr) {
|
|
78012
|
+
var fn = pr.type;
|
|
78013
78013
|
return fn === F ? Rr(
|
|
78014
78014
|
lr,
|
|
78015
78015
|
ir,
|
|
78016
|
-
|
|
78016
|
+
pr.props.children,
|
|
78017
78017
|
Dr,
|
|
78018
|
-
|
|
78019
|
-
) : ir !== null && (ir.elementType === fn || typeof fn == "object" && fn !== null && fn.$$typeof === Ie && Bc(fn) === ir.type) ? (ir = Fe(ir,
|
|
78020
|
-
|
|
78021
|
-
|
|
78022
|
-
|
|
78018
|
+
pr.key
|
|
78019
|
+
) : ir !== null && (ir.elementType === fn || typeof fn == "object" && fn !== null && fn.$$typeof === Ie && Bc(fn) === ir.type) ? (ir = Fe(ir, pr.props), Td(ir, pr), ir.return = lr, ir) : (ir = Sh(
|
|
78020
|
+
pr.type,
|
|
78021
|
+
pr.key,
|
|
78022
|
+
pr.props,
|
|
78023
78023
|
null,
|
|
78024
78024
|
lr.mode,
|
|
78025
78025
|
Dr
|
|
78026
|
-
), Td(ir,
|
|
78026
|
+
), Td(ir, pr), ir.return = lr, ir);
|
|
78027
78027
|
}
|
|
78028
|
-
function gr(lr, ir,
|
|
78029
|
-
return ir === null || ir.tag !== 4 || ir.stateNode.containerInfo !==
|
|
78028
|
+
function gr(lr, ir, pr, Dr) {
|
|
78029
|
+
return ir === null || ir.tag !== 4 || ir.stateNode.containerInfo !== pr.containerInfo || ir.stateNode.implementation !== pr.implementation ? (ir = Ch(pr, lr.mode, Dr), ir.return = lr, ir) : (ir = Fe(ir, pr.children || []), ir.return = lr, ir);
|
|
78030
78030
|
}
|
|
78031
|
-
function Rr(lr, ir,
|
|
78031
|
+
function Rr(lr, ir, pr, Dr, fn) {
|
|
78032
78032
|
return ir === null || ir.tag !== 7 ? (ir = tc(
|
|
78033
|
-
|
|
78033
|
+
pr,
|
|
78034
78034
|
lr.mode,
|
|
78035
78035
|
Dr,
|
|
78036
78036
|
fn
|
|
78037
|
-
), ir.return = lr, ir) : (ir = Fe(ir,
|
|
78037
|
+
), ir.return = lr, ir) : (ir = Fe(ir, pr), ir.return = lr, ir);
|
|
78038
78038
|
}
|
|
78039
|
-
function $r(lr, ir,
|
|
78039
|
+
function $r(lr, ir, pr) {
|
|
78040
78040
|
if (typeof ir == "string" && ir !== "" || typeof ir == "number" || typeof ir == "bigint")
|
|
78041
78041
|
return ir = wd(
|
|
78042
78042
|
"" + ir,
|
|
78043
78043
|
lr.mode,
|
|
78044
|
-
|
|
78044
|
+
pr
|
|
78045
78045
|
), ir.return = lr, ir;
|
|
78046
78046
|
if (typeof ir == "object" && ir !== null) {
|
|
78047
78047
|
switch (ir.$$typeof) {
|
|
78048
78048
|
case R:
|
|
78049
|
-
return
|
|
78049
|
+
return pr = Sh(
|
|
78050
78050
|
ir.type,
|
|
78051
78051
|
ir.key,
|
|
78052
78052
|
ir.props,
|
|
78053
78053
|
null,
|
|
78054
78054
|
lr.mode,
|
|
78055
|
-
|
|
78056
|
-
), Td(
|
|
78055
|
+
pr
|
|
78056
|
+
), Td(pr, ir), pr.return = lr, pr;
|
|
78057
78057
|
case I:
|
|
78058
78058
|
return ir = Ch(
|
|
78059
78059
|
ir,
|
|
78060
78060
|
lr.mode,
|
|
78061
|
-
|
|
78061
|
+
pr
|
|
78062
78062
|
), ir.return = lr, ir;
|
|
78063
78063
|
case Ie:
|
|
78064
|
-
return ir = Bc(ir), $r(lr, ir,
|
|
78064
|
+
return ir = Bc(ir), $r(lr, ir, pr);
|
|
78065
78065
|
}
|
|
78066
78066
|
if (rt(ir) || Je(ir))
|
|
78067
78067
|
return ir = tc(
|
|
78068
78068
|
ir,
|
|
78069
78069
|
lr.mode,
|
|
78070
|
-
|
|
78070
|
+
pr,
|
|
78071
78071
|
null
|
|
78072
78072
|
), ir.return = lr, ir;
|
|
78073
78073
|
if (typeof ir.then == "function")
|
|
78074
|
-
return $r(lr, np(ir),
|
|
78074
|
+
return $r(lr, np(ir), pr);
|
|
78075
78075
|
if (ir.$$typeof === oe)
|
|
78076
78076
|
return $r(
|
|
78077
78077
|
lr,
|
|
78078
78078
|
nc(lr, ir),
|
|
78079
|
-
|
|
78079
|
+
pr
|
|
78080
78080
|
);
|
|
78081
78081
|
ap(lr, ir);
|
|
78082
78082
|
}
|
|
78083
78083
|
return null;
|
|
78084
78084
|
}
|
|
78085
|
-
function vr(lr, ir,
|
|
78085
|
+
function vr(lr, ir, pr, Dr) {
|
|
78086
78086
|
var fn = ir !== null ? ir.key : null;
|
|
78087
|
-
if (typeof
|
|
78088
|
-
return fn !== null ? null : It(lr, ir, "" +
|
|
78089
|
-
if (typeof
|
|
78090
|
-
switch (
|
|
78087
|
+
if (typeof pr == "string" && pr !== "" || typeof pr == "number" || typeof pr == "bigint")
|
|
78088
|
+
return fn !== null ? null : It(lr, ir, "" + pr, Dr);
|
|
78089
|
+
if (typeof pr == "object" && pr !== null) {
|
|
78090
|
+
switch (pr.$$typeof) {
|
|
78091
78091
|
case R:
|
|
78092
|
-
return
|
|
78092
|
+
return pr.key === fn ? Jt(lr, ir, pr, Dr) : null;
|
|
78093
78093
|
case I:
|
|
78094
|
-
return
|
|
78094
|
+
return pr.key === fn ? gr(lr, ir, pr, Dr) : null;
|
|
78095
78095
|
case Ie:
|
|
78096
|
-
return
|
|
78096
|
+
return pr = Bc(pr), vr(lr, ir, pr, Dr);
|
|
78097
78097
|
}
|
|
78098
|
-
if (rt(
|
|
78099
|
-
return fn !== null ? null : Rr(lr, ir,
|
|
78100
|
-
if (typeof
|
|
78098
|
+
if (rt(pr) || Je(pr))
|
|
78099
|
+
return fn !== null ? null : Rr(lr, ir, pr, Dr, null);
|
|
78100
|
+
if (typeof pr.then == "function")
|
|
78101
78101
|
return vr(
|
|
78102
78102
|
lr,
|
|
78103
78103
|
ir,
|
|
78104
|
-
np(
|
|
78104
|
+
np(pr),
|
|
78105
78105
|
Dr
|
|
78106
78106
|
);
|
|
78107
|
-
if (
|
|
78107
|
+
if (pr.$$typeof === oe)
|
|
78108
78108
|
return vr(
|
|
78109
78109
|
lr,
|
|
78110
78110
|
ir,
|
|
78111
|
-
nc(lr,
|
|
78111
|
+
nc(lr, pr),
|
|
78112
78112
|
Dr
|
|
78113
78113
|
);
|
|
78114
|
-
ap(lr,
|
|
78114
|
+
ap(lr, pr);
|
|
78115
78115
|
}
|
|
78116
78116
|
return null;
|
|
78117
78117
|
}
|
|
78118
|
-
function Nr(lr, ir,
|
|
78118
|
+
function Nr(lr, ir, pr, Dr, fn) {
|
|
78119
78119
|
if (typeof Dr == "string" && Dr !== "" || typeof Dr == "number" || typeof Dr == "bigint")
|
|
78120
|
-
return lr = lr.get(
|
|
78120
|
+
return lr = lr.get(pr) || null, It(ir, lr, "" + Dr, fn);
|
|
78121
78121
|
if (typeof Dr == "object" && Dr !== null) {
|
|
78122
78122
|
switch (Dr.$$typeof) {
|
|
78123
78123
|
case R:
|
|
78124
78124
|
return lr = lr.get(
|
|
78125
|
-
Dr.key === null ?
|
|
78125
|
+
Dr.key === null ? pr : Dr.key
|
|
78126
78126
|
) || null, Jt(ir, lr, Dr, fn);
|
|
78127
78127
|
case I:
|
|
78128
78128
|
return lr = lr.get(
|
|
78129
|
-
Dr.key === null ?
|
|
78129
|
+
Dr.key === null ? pr : Dr.key
|
|
78130
78130
|
) || null, gr(ir, lr, Dr, fn);
|
|
78131
78131
|
case Ie:
|
|
78132
78132
|
return Dr = Bc(Dr), Nr(
|
|
78133
78133
|
lr,
|
|
78134
78134
|
ir,
|
|
78135
|
-
|
|
78135
|
+
pr,
|
|
78136
78136
|
Dr,
|
|
78137
78137
|
fn
|
|
78138
78138
|
);
|
|
78139
78139
|
}
|
|
78140
78140
|
if (rt(Dr) || Je(Dr))
|
|
78141
|
-
return lr = lr.get(
|
|
78141
|
+
return lr = lr.get(pr) || null, Rr(ir, lr, Dr, fn, null);
|
|
78142
78142
|
if (typeof Dr.then == "function")
|
|
78143
78143
|
return Nr(
|
|
78144
78144
|
lr,
|
|
78145
78145
|
ir,
|
|
78146
|
-
|
|
78146
|
+
pr,
|
|
78147
78147
|
np(Dr),
|
|
78148
78148
|
fn
|
|
78149
78149
|
);
|
|
@@ -78151,7 +78151,7 @@ Error generating stack: ` + te.message + `
|
|
|
78151
78151
|
return Nr(
|
|
78152
78152
|
lr,
|
|
78153
78153
|
ir,
|
|
78154
|
-
|
|
78154
|
+
pr,
|
|
78155
78155
|
nc(ir, Dr),
|
|
78156
78156
|
fn
|
|
78157
78157
|
);
|
|
@@ -78159,13 +78159,13 @@ Error generating stack: ` + te.message + `
|
|
|
78159
78159
|
}
|
|
78160
78160
|
return null;
|
|
78161
78161
|
}
|
|
78162
|
-
function tn(lr, ir,
|
|
78163
|
-
for (var fn = null, Jn = null, an = ir, Nn = ir = 0, Mn = null; an !== null && Nn <
|
|
78162
|
+
function tn(lr, ir, pr, Dr) {
|
|
78163
|
+
for (var fn = null, Jn = null, an = ir, Nn = ir = 0, Mn = null; an !== null && Nn < pr.length; Nn++) {
|
|
78164
78164
|
an.index > Nn ? (Mn = an, an = null) : Mn = an.sibling;
|
|
78165
78165
|
var na = vr(
|
|
78166
78166
|
lr,
|
|
78167
78167
|
an,
|
|
78168
|
-
|
|
78168
|
+
pr[Nn],
|
|
78169
78169
|
Dr
|
|
78170
78170
|
);
|
|
78171
78171
|
if (na === null) {
|
|
@@ -78174,23 +78174,23 @@ Error generating stack: ` + te.message + `
|
|
|
78174
78174
|
}
|
|
78175
78175
|
C && an && na.alternate === null && N(lr, an), ir = Ve(na, ir, Nn), Jn === null ? fn = na : Jn.sibling = na, Jn = na, an = Mn;
|
|
78176
78176
|
}
|
|
78177
|
-
if (Nn ===
|
|
78177
|
+
if (Nn === pr.length)
|
|
78178
78178
|
return V(lr, an), Hn && go(lr, Nn), fn;
|
|
78179
78179
|
if (an === null) {
|
|
78180
|
-
for (; Nn <
|
|
78181
|
-
an = $r(lr,
|
|
78180
|
+
for (; Nn < pr.length; Nn++)
|
|
78181
|
+
an = $r(lr, pr[Nn], Dr), an !== null && (ir = Ve(
|
|
78182
78182
|
an,
|
|
78183
78183
|
ir,
|
|
78184
78184
|
Nn
|
|
78185
78185
|
), Jn === null ? fn = an : Jn.sibling = an, Jn = an);
|
|
78186
78186
|
return Hn && go(lr, Nn), fn;
|
|
78187
78187
|
}
|
|
78188
|
-
for (an = te(an); Nn <
|
|
78188
|
+
for (an = te(an); Nn < pr.length; Nn++)
|
|
78189
78189
|
Mn = Nr(
|
|
78190
78190
|
an,
|
|
78191
78191
|
lr,
|
|
78192
78192
|
Nn,
|
|
78193
|
-
|
|
78193
|
+
pr[Nn],
|
|
78194
78194
|
Dr
|
|
78195
78195
|
), Mn !== null && (C && Mn.alternate !== null && an.delete(
|
|
78196
78196
|
Mn.key === null ? Nn : Mn.key
|
|
@@ -78203,9 +78203,9 @@ Error generating stack: ` + te.message + `
|
|
|
78203
78203
|
return N(lr, Ko);
|
|
78204
78204
|
}), Hn && go(lr, Nn), fn;
|
|
78205
78205
|
}
|
|
78206
|
-
function gn(lr, ir,
|
|
78207
|
-
if (
|
|
78208
|
-
for (var fn = null, Jn = null, an = ir, Nn = ir = 0, Mn = null, na =
|
|
78206
|
+
function gn(lr, ir, pr, Dr) {
|
|
78207
|
+
if (pr == null) throw Error(o(151));
|
|
78208
|
+
for (var fn = null, Jn = null, an = ir, Nn = ir = 0, Mn = null, na = pr.next(); an !== null && !na.done; Nn++, na = pr.next()) {
|
|
78209
78209
|
an.index > Nn ? (Mn = an, an = null) : Mn = an.sibling;
|
|
78210
78210
|
var Ko = vr(lr, an, na.value, Dr);
|
|
78211
78211
|
if (Ko === null) {
|
|
@@ -78217,31 +78217,31 @@ Error generating stack: ` + te.message + `
|
|
|
78217
78217
|
if (na.done)
|
|
78218
78218
|
return V(lr, an), Hn && go(lr, Nn), fn;
|
|
78219
78219
|
if (an === null) {
|
|
78220
|
-
for (; !na.done; Nn++, na =
|
|
78220
|
+
for (; !na.done; Nn++, na = pr.next())
|
|
78221
78221
|
na = $r(lr, na.value, Dr), na !== null && (ir = Ve(na, ir, Nn), Jn === null ? fn = na : Jn.sibling = na, Jn = na);
|
|
78222
78222
|
return Hn && go(lr, Nn), fn;
|
|
78223
78223
|
}
|
|
78224
|
-
for (an = te(an); !na.done; Nn++, na =
|
|
78224
|
+
for (an = te(an); !na.done; Nn++, na = pr.next())
|
|
78225
78225
|
na = Nr(an, lr, Nn, na.value, Dr), na !== null && (C && na.alternate !== null && an.delete(na.key === null ? Nn : na.key), ir = Ve(na, ir, Nn), Jn === null ? fn = na : Jn.sibling = na, Jn = na);
|
|
78226
78226
|
return C && an.forEach(function(Gx) {
|
|
78227
78227
|
return N(lr, Gx);
|
|
78228
78228
|
}), Hn && go(lr, Nn), fn;
|
|
78229
78229
|
}
|
|
78230
|
-
function wa(lr, ir,
|
|
78231
|
-
if (typeof
|
|
78232
|
-
switch (
|
|
78230
|
+
function wa(lr, ir, pr, Dr) {
|
|
78231
|
+
if (typeof pr == "object" && pr !== null && pr.type === F && pr.key === null && (pr = pr.props.children), typeof pr == "object" && pr !== null) {
|
|
78232
|
+
switch (pr.$$typeof) {
|
|
78233
78233
|
case R:
|
|
78234
78234
|
e: {
|
|
78235
|
-
for (var fn =
|
|
78235
|
+
for (var fn = pr.key; ir !== null; ) {
|
|
78236
78236
|
if (ir.key === fn) {
|
|
78237
|
-
if (fn =
|
|
78237
|
+
if (fn = pr.type, fn === F) {
|
|
78238
78238
|
if (ir.tag === 7) {
|
|
78239
78239
|
V(
|
|
78240
78240
|
lr,
|
|
78241
78241
|
ir.sibling
|
|
78242
78242
|
), Dr = Fe(
|
|
78243
78243
|
ir,
|
|
78244
|
-
|
|
78244
|
+
pr.props.children
|
|
78245
78245
|
), Dr.return = lr, lr = Dr;
|
|
78246
78246
|
break e;
|
|
78247
78247
|
}
|
|
@@ -78249,7 +78249,7 @@ Error generating stack: ` + te.message + `
|
|
|
78249
78249
|
V(
|
|
78250
78250
|
lr,
|
|
78251
78251
|
ir.sibling
|
|
78252
|
-
), Dr = Fe(ir,
|
|
78252
|
+
), Dr = Fe(ir, pr.props), Td(Dr, pr), Dr.return = lr, lr = Dr;
|
|
78253
78253
|
break e;
|
|
78254
78254
|
}
|
|
78255
78255
|
V(lr, ir);
|
|
@@ -78257,30 +78257,30 @@ Error generating stack: ` + te.message + `
|
|
|
78257
78257
|
} else N(lr, ir);
|
|
78258
78258
|
ir = ir.sibling;
|
|
78259
78259
|
}
|
|
78260
|
-
|
|
78261
|
-
|
|
78260
|
+
pr.type === F ? (Dr = tc(
|
|
78261
|
+
pr.props.children,
|
|
78262
78262
|
lr.mode,
|
|
78263
78263
|
Dr,
|
|
78264
|
-
|
|
78264
|
+
pr.key
|
|
78265
78265
|
), Dr.return = lr, lr = Dr) : (Dr = Sh(
|
|
78266
|
-
|
|
78267
|
-
|
|
78268
|
-
|
|
78266
|
+
pr.type,
|
|
78267
|
+
pr.key,
|
|
78268
|
+
pr.props,
|
|
78269
78269
|
null,
|
|
78270
78270
|
lr.mode,
|
|
78271
78271
|
Dr
|
|
78272
|
-
), Td(Dr,
|
|
78272
|
+
), Td(Dr, pr), Dr.return = lr, lr = Dr);
|
|
78273
78273
|
}
|
|
78274
78274
|
return mt(lr);
|
|
78275
78275
|
case I:
|
|
78276
78276
|
e: {
|
|
78277
|
-
for (fn =
|
|
78277
|
+
for (fn = pr.key; ir !== null; ) {
|
|
78278
78278
|
if (ir.key === fn)
|
|
78279
|
-
if (ir.tag === 4 && ir.stateNode.containerInfo ===
|
|
78279
|
+
if (ir.tag === 4 && ir.stateNode.containerInfo === pr.containerInfo && ir.stateNode.implementation === pr.implementation) {
|
|
78280
78280
|
V(
|
|
78281
78281
|
lr,
|
|
78282
78282
|
ir.sibling
|
|
78283
|
-
), Dr = Fe(ir,
|
|
78283
|
+
), Dr = Fe(ir, pr.children || []), Dr.return = lr, lr = Dr;
|
|
78284
78284
|
break e;
|
|
78285
78285
|
} else {
|
|
78286
78286
|
V(lr, ir);
|
|
@@ -78289,58 +78289,58 @@ Error generating stack: ` + te.message + `
|
|
|
78289
78289
|
else N(lr, ir);
|
|
78290
78290
|
ir = ir.sibling;
|
|
78291
78291
|
}
|
|
78292
|
-
Dr = Ch(
|
|
78292
|
+
Dr = Ch(pr, lr.mode, Dr), Dr.return = lr, lr = Dr;
|
|
78293
78293
|
}
|
|
78294
78294
|
return mt(lr);
|
|
78295
78295
|
case Ie:
|
|
78296
|
-
return
|
|
78296
|
+
return pr = Bc(pr), wa(
|
|
78297
78297
|
lr,
|
|
78298
78298
|
ir,
|
|
78299
|
-
|
|
78299
|
+
pr,
|
|
78300
78300
|
Dr
|
|
78301
78301
|
);
|
|
78302
78302
|
}
|
|
78303
|
-
if (rt(
|
|
78303
|
+
if (rt(pr))
|
|
78304
78304
|
return tn(
|
|
78305
78305
|
lr,
|
|
78306
78306
|
ir,
|
|
78307
|
-
|
|
78307
|
+
pr,
|
|
78308
78308
|
Dr
|
|
78309
78309
|
);
|
|
78310
|
-
if (Je(
|
|
78311
|
-
if (fn = Je(
|
|
78312
|
-
return
|
|
78310
|
+
if (Je(pr)) {
|
|
78311
|
+
if (fn = Je(pr), typeof fn != "function") throw Error(o(150));
|
|
78312
|
+
return pr = fn.call(pr), gn(
|
|
78313
78313
|
lr,
|
|
78314
78314
|
ir,
|
|
78315
|
-
|
|
78315
|
+
pr,
|
|
78316
78316
|
Dr
|
|
78317
78317
|
);
|
|
78318
78318
|
}
|
|
78319
|
-
if (typeof
|
|
78319
|
+
if (typeof pr.then == "function")
|
|
78320
78320
|
return wa(
|
|
78321
78321
|
lr,
|
|
78322
78322
|
ir,
|
|
78323
|
-
np(
|
|
78323
|
+
np(pr),
|
|
78324
78324
|
Dr
|
|
78325
78325
|
);
|
|
78326
|
-
if (
|
|
78326
|
+
if (pr.$$typeof === oe)
|
|
78327
78327
|
return wa(
|
|
78328
78328
|
lr,
|
|
78329
78329
|
ir,
|
|
78330
|
-
nc(lr,
|
|
78330
|
+
nc(lr, pr),
|
|
78331
78331
|
Dr
|
|
78332
78332
|
);
|
|
78333
|
-
ap(lr,
|
|
78333
|
+
ap(lr, pr);
|
|
78334
78334
|
}
|
|
78335
|
-
return typeof
|
|
78335
|
+
return typeof pr == "string" && pr !== "" || typeof pr == "number" || typeof pr == "bigint" ? (pr = "" + pr, ir !== null && ir.tag === 6 ? (V(lr, ir.sibling), Dr = Fe(ir, pr), Dr.return = lr, lr = Dr) : (V(lr, ir), Dr = wd(pr, lr.mode, Dr), Dr.return = lr, lr = Dr), mt(lr)) : V(lr, ir);
|
|
78336
78336
|
}
|
|
78337
|
-
return function(lr, ir,
|
|
78337
|
+
return function(lr, ir, pr, Dr) {
|
|
78338
78338
|
try {
|
|
78339
78339
|
Tu = 0;
|
|
78340
78340
|
var fn = wa(
|
|
78341
78341
|
lr,
|
|
78342
78342
|
ir,
|
|
78343
|
-
|
|
78343
|
+
pr,
|
|
78344
78344
|
Dr
|
|
78345
78345
|
);
|
|
78346
78346
|
return Vc = null, fn;
|
|
@@ -82867,8 +82867,8 @@ Error generating stack: ` + te.message + `
|
|
|
82867
82867
|
wa
|
|
82868
82868
|
);
|
|
82869
82869
|
if (lr && ir && (Nr.rangeCount !== 1 || Nr.anchorNode !== lr.node || Nr.anchorOffset !== lr.offset || Nr.focusNode !== ir.node || Nr.focusOffset !== ir.offset)) {
|
|
82870
|
-
var
|
|
82871
|
-
|
|
82870
|
+
var pr = $r.createRange();
|
|
82871
|
+
pr.setStart(lr.node, lr.offset), Nr.removeAllRanges(), gn > wa ? (Nr.addRange(pr), Nr.extend(ir.node, ir.offset)) : (pr.setEnd(ir.node, ir.offset), Nr.addRange(pr));
|
|
82872
82872
|
}
|
|
82873
82873
|
}
|
|
82874
82874
|
}
|
|
@@ -83443,10 +83443,10 @@ Error generating stack: ` + te.message + `
|
|
|
83443
83443
|
}
|
|
83444
83444
|
var gn = (N & 4) !== 0, wa = !gn && (C === "scroll" || C === "scrollend"), lr = gn ? vr !== null ? vr + "Capture" : null : vr;
|
|
83445
83445
|
gn = [];
|
|
83446
|
-
for (var ir = gr,
|
|
83446
|
+
for (var ir = gr, pr; ir !== null; ) {
|
|
83447
83447
|
var Dr = ir;
|
|
83448
|
-
if (
|
|
83449
|
-
Bp(ir, Dr,
|
|
83448
|
+
if (pr = Dr.stateNode, Dr = Dr.tag, Dr !== 5 && Dr !== 26 && Dr !== 27 || pr === null || lr === null || (Dr = Ya(ir, lr), Dr != null && gn.push(
|
|
83449
|
+
Bp(ir, Dr, pr)
|
|
83450
83450
|
)), wa) break;
|
|
83451
83451
|
ir = ir.return;
|
|
83452
83452
|
}
|
|
@@ -83464,30 +83464,30 @@ Error generating stack: ` + te.message + `
|
|
|
83464
83464
|
if (vr = C === "mouseover" || C === "pointerover", Nr = C === "mouseout" || C === "pointerout", vr && V !== $s && (tn = V.relatedTarget || V.fromElement) && (Lr(tn) || tn[zt]))
|
|
83465
83465
|
break e;
|
|
83466
83466
|
if ((Nr || vr) && (vr = Rr.window === Rr ? Rr : (vr = Rr.ownerDocument) ? vr.defaultView || vr.parentWindow : window, Nr ? (tn = V.relatedTarget || V.toElement, Nr = gr, tn = tn ? Lr(tn) : null, tn !== null && (wa = d(tn), gn = tn.tag, tn !== wa || gn !== 5 && gn !== 27 && gn !== 6) && (tn = null)) : (Nr = null, tn = gr), Nr !== tn)) {
|
|
83467
|
-
if (gn = Ao, Dr = "onMouseLeave", lr = "onMouseEnter", ir = "mouse", (C === "pointerout" || C === "pointerover") && (gn = di, Dr = "onPointerLeave", lr = "onPointerEnter", ir = "pointer"), wa = Nr == null ? vr : Or(Nr),
|
|
83467
|
+
if (gn = Ao, Dr = "onMouseLeave", lr = "onMouseEnter", ir = "mouse", (C === "pointerout" || C === "pointerover") && (gn = di, Dr = "onPointerLeave", lr = "onPointerEnter", ir = "pointer"), wa = Nr == null ? vr : Or(Nr), pr = tn == null ? vr : Or(tn), vr = new gn(
|
|
83468
83468
|
Dr,
|
|
83469
83469
|
ir + "leave",
|
|
83470
83470
|
Nr,
|
|
83471
83471
|
V,
|
|
83472
83472
|
Rr
|
|
83473
|
-
), vr.target = wa, vr.relatedTarget =
|
|
83473
|
+
), vr.target = wa, vr.relatedTarget = pr, Dr = null, Lr(Rr) === gr && (gn = new gn(
|
|
83474
83474
|
lr,
|
|
83475
83475
|
ir + "enter",
|
|
83476
83476
|
tn,
|
|
83477
83477
|
V,
|
|
83478
83478
|
Rr
|
|
83479
|
-
), gn.target =
|
|
83479
|
+
), gn.target = pr, gn.relatedTarget = wa, Dr = gn), wa = Dr, Nr && tn)
|
|
83480
83480
|
t: {
|
|
83481
|
-
for (gn = Rx, lr = Nr, ir = tn,
|
|
83482
|
-
|
|
83481
|
+
for (gn = Rx, lr = Nr, ir = tn, pr = 0, Dr = lr; Dr; Dr = gn(Dr))
|
|
83482
|
+
pr++;
|
|
83483
83483
|
Dr = 0;
|
|
83484
83484
|
for (var fn = ir; fn; fn = gn(fn))
|
|
83485
83485
|
Dr++;
|
|
83486
|
-
for (; 0 <
|
|
83487
|
-
lr = gn(lr),
|
|
83488
|
-
for (; 0 < Dr -
|
|
83486
|
+
for (; 0 < pr - Dr; )
|
|
83487
|
+
lr = gn(lr), pr--;
|
|
83488
|
+
for (; 0 < Dr - pr; )
|
|
83489
83489
|
ir = gn(ir), Dr--;
|
|
83490
|
-
for (;
|
|
83490
|
+
for (; pr--; ) {
|
|
83491
83491
|
if (lr === ir || ir !== null && lr === ir.alternate) {
|
|
83492
83492
|
gn = lr;
|
|
83493
83493
|
break t;
|
|
@@ -86343,7 +86343,7 @@ Error generating stack: ` + at.message + `
|
|
|
86343
86343
|
Pt(c)
|
|
86344
86344
|
), Kt(c);
|
|
86345
86345
|
}
|
|
86346
|
-
function
|
|
86346
|
+
function fr(c) {
|
|
86347
86347
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u") return !1;
|
|
86348
86348
|
var f = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
86349
86349
|
if (f.isDisabled) return !0;
|
|
@@ -87397,11 +87397,11 @@ This will cause a hydration error.%s`,
|
|
|
87397
87397
|
}
|
|
87398
87398
|
function Da(c, f, E) {
|
|
87399
87399
|
var q = f.indexOf("--") === 0;
|
|
87400
|
-
q || (-1 < f.indexOf("-") ?
|
|
87400
|
+
q || (-1 < f.indexOf("-") ? pr.hasOwnProperty(f) && pr[f] || (pr[f] = !0, console.error(
|
|
87401
87401
|
"Unsupported style property %s. Did you mean %s?",
|
|
87402
87402
|
f,
|
|
87403
87403
|
Va(f.replace(wa, "ms-"))
|
|
87404
|
-
)) : gn.test(f) ?
|
|
87404
|
+
)) : gn.test(f) ? pr.hasOwnProperty(f) && pr[f] || (pr[f] = !0, console.error(
|
|
87405
87405
|
"Unsupported vendor-prefixed style property %s. Did you mean %s?",
|
|
87406
87406
|
f,
|
|
87407
87407
|
f.charAt(0).toUpperCase() + f.slice(1)
|
|
@@ -100402,7 +100402,7 @@ Check the render method of %s.`,
|
|
|
100402
100402
|
"transitionTimingFunction"
|
|
100403
100403
|
],
|
|
100404
100404
|
wordWrap: ["overflowWrap"]
|
|
100405
|
-
}, Nr = /([A-Z])/g, tn = /^ms-/, gn = /^(?:webkit|moz|o)[A-Z]/, wa = /^-ms-/, lr = /-(.)/g, ir = /;\s*$/,
|
|
100405
|
+
}, Nr = /([A-Z])/g, tn = /^ms-/, gn = /^(?:webkit|moz|o)[A-Z]/, wa = /^-ms-/, lr = /-(.)/g, ir = /;\s*$/, pr = {}, Dr = {}, fn = !1, Jn = !1, an = new Set(
|
|
100406
100406
|
"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
|
|
100407
100407
|
" "
|
|
100408
100408
|
)
|
|
@@ -102592,7 +102592,7 @@ Learn more: https://react.dev/warnings/version-mismatch`)
|
|
|
102592
102592
|
currentDispatcherRef: Ar,
|
|
102593
102593
|
reconcilerVersion: "19.2.4"
|
|
102594
102594
|
};
|
|
102595
|
-
return c.overrideHookState = s_, c.overrideHookStateDeletePath = o_, c.overrideHookStateRenamePath = l_, c.overrideProps = c_, c.overridePropsDeletePath = u_, c.overridePropsRenamePath = d_, c.scheduleUpdate = f_, c.scheduleRetry = p_, c.setErrorHandler = h_, c.setSuspenseHandler = m_, c.scheduleRefresh = I, c.scheduleRoot = R, c.setRefreshHandler = F, c.getCurrentFiber = ba,
|
|
102595
|
+
return c.overrideHookState = s_, c.overrideHookStateDeletePath = o_, c.overrideHookStateRenamePath = l_, c.overrideProps = c_, c.overridePropsDeletePath = u_, c.overridePropsRenamePath = d_, c.scheduleUpdate = f_, c.scheduleRetry = p_, c.setErrorHandler = h_, c.setSuspenseHandler = m_, c.scheduleRefresh = I, c.scheduleRoot = R, c.setRefreshHandler = F, c.getCurrentFiber = ba, fr(c);
|
|
102596
102596
|
})() && lu && window.top === window.self && (-1 < navigator.userAgent.indexOf("Chrome") && navigator.userAgent.indexOf("Edge") === -1 || -1 < navigator.userAgent.indexOf("Firefox"))) {
|
|
102597
102597
|
var g_ = window.location.protocol;
|
|
102598
102598
|
/^(https?|file):$/.test(g_) && console.info(
|
|
@@ -105257,7 +105257,7 @@ var ApiError = class extends Error {
|
|
|
105257
105257
|
updateAdTemplate: nr,
|
|
105258
105258
|
deleteAdTemplate: Pr,
|
|
105259
105259
|
addStylingCategory: Br,
|
|
105260
|
-
updateStylingCategory:
|
|
105260
|
+
updateStylingCategory: fr,
|
|
105261
105261
|
deleteStylingCategory: Ur,
|
|
105262
105262
|
addStylingItem: Xr,
|
|
105263
105263
|
updateStylingItem: Yr,
|
|
@@ -105437,7 +105437,7 @@ var ApiError = class extends Error {
|
|
|
105437
105437
|
updateAdTemplate: nr,
|
|
105438
105438
|
deleteAdTemplate: Pr,
|
|
105439
105439
|
addStylingCategory: Br,
|
|
105440
|
-
updateStylingCategory:
|
|
105440
|
+
updateStylingCategory: fr,
|
|
105441
105441
|
deleteStylingCategory: Ur,
|
|
105442
105442
|
addStylingItem: Xr,
|
|
105443
105443
|
updateStylingItem: Yr,
|
|
@@ -115487,7 +115487,7 @@ var import_react37 = __toESM(require_react(), 1), import_react_dom = __toESM(req
|
|
|
115487
115487
|
const kr = new Map(ur);
|
|
115488
115488
|
return kr.delete(Wt), kr;
|
|
115489
115489
|
});
|
|
115490
|
-
},
|
|
115490
|
+
}, fr = (Wt) => {
|
|
115491
115491
|
const ur = b.selectedGroupIds.size > 0 ? Array.from(b.selectedGroupIds) : b.activeGroupId ? [b.activeGroupId] : [];
|
|
115492
115492
|
b.hasGroups && ur.length > 0 ? et((kr) => {
|
|
115493
115493
|
const Vr = new Map(kr);
|
|
@@ -115547,7 +115547,7 @@ var import_react37 = __toESM(require_react(), 1), import_react_dom = __toESM(req
|
|
|
115547
115547
|
onChange: Tt,
|
|
115548
115548
|
variant: "modal",
|
|
115549
115549
|
showFavorites: !0,
|
|
115550
|
-
onUpload:
|
|
115550
|
+
onUpload: fr,
|
|
115551
115551
|
onRemoveCustom: Ur,
|
|
115552
115552
|
customUpload: rt || null
|
|
115553
115553
|
}
|
|
@@ -116107,7 +116107,7 @@ var import_react37 = __toESM(require_react(), 1), import_react_dom = __toESM(req
|
|
|
116107
116107
|
Kt?.age || ""
|
|
116108
116108
|
).length > 0, Br = (0, import_react51.useMemo)(() => new Set(
|
|
116109
116109
|
Object.values(v).flat().filter((Ue) => Ue.isBackPose || Ue.name.toLowerCase().includes("back") || Ue.id.toLowerCase().includes("back")).map((Ue) => Ue.id)
|
|
116110
|
-
), [v]),
|
|
116110
|
+
), [v]), fr = (0, import_react51.useMemo)(() => {
|
|
116111
116111
|
const Ue = /* @__PURE__ */ new Set();
|
|
116112
116112
|
return M || Br.forEach((We) => Ue.add(We)), Ue;
|
|
116113
116113
|
}, [M, Br]), Ur = (0, import_react51.useMemo)(() => {
|
|
@@ -116349,7 +116349,7 @@ ${bt}`,
|
|
|
116349
116349
|
modelAge: Kt?.age,
|
|
116350
116350
|
variant: "modal",
|
|
116351
116351
|
allowMultiSelect: !0,
|
|
116352
|
-
disabledPoseIds:
|
|
116352
|
+
disabledPoseIds: fr
|
|
116353
116353
|
}
|
|
116354
116354
|
) }),
|
|
116355
116355
|
isValid: rt.size > 0
|
|
@@ -117504,7 +117504,7 @@ function DirectEditorHost({
|
|
|
117504
117504
|
propIds: nr = [],
|
|
117505
117505
|
prompt: Pr = "",
|
|
117506
117506
|
quality: Br,
|
|
117507
|
-
...
|
|
117507
|
+
...fr
|
|
117508
117508
|
} = bt, Ur = Qe.find((Oe) => Oe.id === xr), Xr = ft.find((Oe) => Oe.id === Pt), Yr = dr.map((Oe) => it.find((Me) => Me.id === Oe)?.image).filter(Boolean), rn = Kt.map((Oe) => tt.find((Me) => Me.id === Oe)?.image).filter(Boolean), Qr = nr.map((Oe) => kt.find((Me) => Me.id === Oe)?.image).filter(Boolean), Wt = Kt.map((Oe) => {
|
|
117509
117509
|
const Me = tt.find((yt) => yt.id === Oe);
|
|
117510
117510
|
return Me?.prompt || Me?.name || "";
|
|
@@ -117521,7 +117521,7 @@ function DirectEditorHost({
|
|
|
117521
117521
|
propsPrompt: ur
|
|
117522
117522
|
});
|
|
117523
117523
|
je({
|
|
117524
|
-
...
|
|
117524
|
+
...fr,
|
|
117525
117525
|
modelId: xr,
|
|
117526
117526
|
bgId: Pt,
|
|
117527
117527
|
quality: Br,
|
|
@@ -117545,7 +117545,7 @@ function DirectEditorHost({
|
|
|
117545
117545
|
]
|
|
117546
117546
|
), ht = (0, import_react56.useCallback)(
|
|
117547
117547
|
(bt) => {
|
|
117548
|
-
const { selectedBgId: xr, propIds: Pt = [], customPrompt: dr = "", quality: Kt, ...nr } = bt, Pr = ft.find((Wt) => Wt.id === xr), Br = Pt.map((Wt) => kt.find((ur) => ur.id === Wt)?.image).filter(Boolean),
|
|
117548
|
+
const { selectedBgId: xr, propIds: Pt = [], customPrompt: dr = "", quality: Kt, ...nr } = bt, Pr = ft.find((Wt) => Wt.id === xr), Br = Pt.map((Wt) => kt.find((ur) => ur.id === Wt)?.image).filter(Boolean), fr = xr === CUSTOM_BG_ID, Ur = Pr ? isAllowedBgImage(Pr.name) : !1, Xr = fr || Ur, Yr = rt("product-bg-change") || DEFAULT_BG_CHANGE_TEMPLATE, rn = [Pr?.prompt, dr].filter(Boolean).join(" "), Qr = Yr.replace("{{bgPrompt}}", rn).replace("[BG PROMPT HERE]", rn);
|
|
117549
117549
|
je({
|
|
117550
117550
|
...nr,
|
|
117551
117551
|
selectedBgId: xr,
|
|
@@ -122433,7 +122433,7 @@ function MoreBriefsBrowser({
|
|
|
122433
122433
|
const Kt = [], nr = [];
|
|
122434
122434
|
for (const Br of s)
|
|
122435
122435
|
matchesSearch(Br, Qe) && (Br.scope_type === "user" ? nr.push(Br) : Kt.push(Br));
|
|
122436
|
-
const Pr = (Br,
|
|
122436
|
+
const Pr = (Br, fr) => Br.sort_order - fr.sort_order || Br.title.localeCompare(fr.title);
|
|
122437
122437
|
return { presetBriefs: Kt.sort(Pr), customBriefs: nr.sort(Pr) };
|
|
122438
122438
|
}, [s, Qe]), tt = useMemo(
|
|
122439
122439
|
() => [
|
|
@@ -123766,10 +123766,10 @@ function ChatScreen() {
|
|
|
123766
123766
|
removeBrowserSession: rt,
|
|
123767
123767
|
maximizeBrowserSession: Qe,
|
|
123768
123768
|
minimizeBrowserSessions: ft
|
|
123769
|
-
} = useChatStore(), it = useRef(null), tt = useRef(null), kt = useRef(n), Ge = useRef(n), je = useRef(null), nt = useRef(!0), ht = useRef(!0), $t = useRef(!1), gt = useRef(null), Ct = useRef(0), Tt = useRef(!1), Dt = useRef(null), Zt = useRef([]), bt = useRef([]), xr = useRef(null), Pt = useRef(null), dr = useRef(null), Kt = useRef(null), nr = useRef(/* @__PURE__ */ new Set()), Pr = useRef(/* @__PURE__ */ new Set()), Br = useRef([]), [
|
|
123769
|
+
} = useChatStore(), it = useRef(null), tt = useRef(null), kt = useRef(n), Ge = useRef(n), je = useRef(null), nt = useRef(!0), ht = useRef(!0), $t = useRef(!1), gt = useRef(null), Ct = useRef(0), Tt = useRef(!1), Dt = useRef(null), Zt = useRef([]), bt = useRef([]), xr = useRef(null), Pt = useRef(null), dr = useRef(null), Kt = useRef(null), nr = useRef(/* @__PURE__ */ new Set()), Pr = useRef(/* @__PURE__ */ new Set()), Br = useRef([]), [fr, Ur] = useState(n);
|
|
123770
123770
|
useEffect(() => {
|
|
123771
123771
|
Ke(null);
|
|
123772
|
-
}, [
|
|
123772
|
+
}, [fr, Ke]);
|
|
123773
123773
|
const [Xr, Yr] = useState(""), [rn, Qr] = useState(!1), [Wt, ur] = useState(!1), [kr, Vr] = useState([]), [yr, Ye] = useState(!1), [st, Oe] = useState([]), [Me, yt] = useState(!1), [At, Lt] = useState(!1), [ze, Ue] = useState(null), [We, ot] = useState(!1), [lt, vt] = useState(!1), [St, Rt] = useState(!1), [Gt, tr] = useState("general"), [cr, jr] = useState(!1), [Hr, Ut] = useState(!1), [sr, Sr] = useState([]), [Mt, Vt] = useState(!1), [$e, Ze] = useState(!1), [ct, xt] = useState(0), [ut, wt] = useState("cursor-end"), [zt, Nt] = useState(0), Ot = useRef(!1), { notifyProcessingComplete: Bt } = useNotifications({
|
|
123774
123774
|
hasPendingAttentionInput: () => Ot.current
|
|
123775
123775
|
}), [Ht, hr] = useState(!1), _r = useRef(null), Lr = useCallback((qt) => {
|
|
@@ -123783,7 +123783,7 @@ function ChatScreen() {
|
|
|
123783
123783
|
});
|
|
123784
123784
|
},
|
|
123785
123785
|
[Bt]
|
|
123786
|
-
), { closeSSE: Or, ensureSSE: nn, startThinking: en } = useSSE(s,
|
|
123786
|
+
), { closeSSE: Or, ensureSSE: nn, startThinking: en } = useSSE(s, fr ?? null, {
|
|
123787
123787
|
onProcessingComplete: Cr,
|
|
123788
123788
|
onReconnect: Lr,
|
|
123789
123789
|
onReconnectingChange: hr
|
|
@@ -123899,40 +123899,41 @@ function ChatScreen() {
|
|
|
123899
123899
|
Zn(), xr.current !== null && window.clearTimeout(xr.current), Pt.current !== null && window.cancelAnimationFrame(Pt.current), dr.current = null;
|
|
123900
123900
|
}, [Zn]);
|
|
123901
123901
|
const Ei = useMemo(
|
|
123902
|
-
() => getArtifaxDreamerConversationState(ke,
|
|
123903
|
-
[ke,
|
|
123902
|
+
() => getArtifaxDreamerConversationState(ke, fr ?? null),
|
|
123903
|
+
[ke, fr]
|
|
123904
123904
|
), za = Ei.session, ns = Ei.status, pa = useMemo(
|
|
123905
123905
|
() => Object.values(ke).some(
|
|
123906
123906
|
(qt) => qt.session?.active
|
|
123907
123907
|
),
|
|
123908
123908
|
[ke]
|
|
123909
123909
|
), ga = useMemo(
|
|
123910
|
-
() => j.some((qt) => qt.type === "thinking" && (!
|
|
123911
|
-
[j,
|
|
123912
|
-
), ha = !!z && (!
|
|
123913
|
-
if (!s || !
|
|
123914
|
-
const qt =
|
|
123910
|
+
() => j.some((qt) => qt.type === "thinking" && (!fr || qt.chatId === fr)),
|
|
123911
|
+
[j, fr]
|
|
123912
|
+
), ha = !!z && (!fr || z.chatId === fr), ui = Z.length > 0, Va = Q ?? Z[0]?.sessionId ?? null, [Da, Cc] = useState(null), as = Da !== null && Da === Va, Ul = !!za?.active, Wa = ns === "loading" && !Ul, Hl = !!De?.active, Gl = !!Ie && !Hl && Be === "techpack", ql = Xe === "closed" ? !1 : (Ul || Wa || Xe === "open") && Be !== "techpack", Vn = useCallback(() => {
|
|
123913
|
+
if (!s || !fr) return;
|
|
123914
|
+
const qt = fr;
|
|
123915
123915
|
Ae(qt, "loading"), openArtifaxDreamerSession(s, qt).then((wr) => {
|
|
123916
123916
|
const Tr = normalizeArtifaxDreamerSession(
|
|
123917
123917
|
wr
|
|
123918
123918
|
);
|
|
123919
123919
|
Tr ? (_e(qt, Tr), Ae(qt, null)) : (console.error("Canvas: dreamer session mint failed", wr), Ae(qt, "error"));
|
|
123920
123920
|
});
|
|
123921
|
-
}, [s,
|
|
123921
|
+
}, [s, fr, Ae, _e]), ki = useCallback(
|
|
123922
123922
|
(qt) => {
|
|
123923
123923
|
if (!qt) {
|
|
123924
|
-
Ke("closed"), ns === "error" &&
|
|
123924
|
+
Ke("closed"), fr && s && reportArtifaxCanvasVisibility(s, fr, !0), ns === "error" && fr && Ae(fr, null);
|
|
123925
123925
|
return;
|
|
123926
123926
|
}
|
|
123927
|
-
|
|
123927
|
+
fr && (Ke("open"), s && reportArtifaxCanvasVisibility(s, fr, !1), za?.active || Vn());
|
|
123928
123928
|
},
|
|
123929
123929
|
[
|
|
123930
123930
|
za?.active,
|
|
123931
123931
|
ns,
|
|
123932
|
-
|
|
123932
|
+
fr,
|
|
123933
123933
|
Vn,
|
|
123934
123934
|
Ke,
|
|
123935
|
-
Ae
|
|
123935
|
+
Ae,
|
|
123936
|
+
s
|
|
123936
123937
|
]
|
|
123937
123938
|
), gi = (Hl || Gl) && Be === "techpack", $s = ql || gi, is = hasInProgressUploads(st), An = st.length === 0 || areAllUploadsReady(st), Ui = useCallback(
|
|
123938
123939
|
async (qt, wr = !1, Tr = {}) => {
|
|
@@ -123998,7 +123999,7 @@ function ChatScreen() {
|
|
|
123998
123999
|
if (!s) continue;
|
|
123999
124000
|
Oe((hn) => hn.map((dn) => dn.id === Kr.id ? { ...dn, uploadStatus: "uploading" } : dn));
|
|
124000
124001
|
const zr = new FormData();
|
|
124001
|
-
zr.append("file", Kr.file), sendFileToAgent(s, zr, void 0,
|
|
124002
|
+
zr.append("file", Kr.file), sendFileToAgent(s, zr, void 0, fr).then((hn) => {
|
|
124002
124003
|
const dn = {
|
|
124003
124004
|
name: Kr.file.name,
|
|
124004
124005
|
type: Kr.file.type,
|
|
@@ -124016,14 +124017,14 @@ function ChatScreen() {
|
|
|
124016
124017
|
});
|
|
124017
124018
|
}
|
|
124018
124019
|
},
|
|
124019
|
-
[s,
|
|
124020
|
+
[s, fr]
|
|
124020
124021
|
), oo = useCallback((qt) => {
|
|
124021
124022
|
Oe((wr) => wr.filter((Tr) => Tr.id !== qt));
|
|
124022
124023
|
}, []), _s = useCallback(async (qt, wr) => {
|
|
124023
124024
|
if (!s || !o || !l || At) return;
|
|
124024
124025
|
const Tr = qt.trim();
|
|
124025
124026
|
if (!Tr) return;
|
|
124026
|
-
const Kr = wr?.forceNewConversation ?? !1, zr = Kr ? uuidv7() :
|
|
124027
|
+
const Kr = wr?.forceNewConversation ?? !1, zr = Kr ? uuidv7() : fr || uuidv7(), hn = Kr || !fr, dn = uuidv7();
|
|
124027
124028
|
hn && (je.current = { chatId: zr });
|
|
124028
124029
|
const uo = {
|
|
124029
124030
|
id: `opt-${Date.now()}`,
|
|
@@ -124062,7 +124063,7 @@ function ChatScreen() {
|
|
|
124062
124063
|
o,
|
|
124063
124064
|
l,
|
|
124064
124065
|
At,
|
|
124065
|
-
|
|
124066
|
+
fr,
|
|
124066
124067
|
R,
|
|
124067
124068
|
d,
|
|
124068
124069
|
F,
|
|
@@ -124155,7 +124156,7 @@ function ChatScreen() {
|
|
|
124155
124156
|
Rt(!1), tr("general"), jr(!1), Ut(!1), Kn();
|
|
124156
124157
|
}, [Kn]), Xl = useMemo(() => {
|
|
124157
124158
|
const qt = j.filter(
|
|
124158
|
-
(zr) => (!
|
|
124159
|
+
(zr) => (!fr || !zr.chatId || zr.chatId === fr) && !zr.hidden && zr.type !== "thinking"
|
|
124159
124160
|
), wr = dedupeMessagesByIdentity(qt), Kr = [...wr];
|
|
124160
124161
|
if (ha) {
|
|
124161
124162
|
for (let zr = Kr.length - 1; zr >= 0 && Kr[zr].role !== "user"; zr--)
|
|
@@ -124165,7 +124166,7 @@ function ChatScreen() {
|
|
|
124165
124166
|
}
|
|
124166
124167
|
}
|
|
124167
124168
|
return Kr;
|
|
124168
|
-
}, [j, ha,
|
|
124169
|
+
}, [j, ha, fr]), Wl = Mt ? sr : sr.filter((qt) => qt.show_in_empty_chat), pd = sr.some(
|
|
124169
124170
|
(qt) => !qt.show_in_empty_chat
|
|
124170
124171
|
), Pn = useMemo(() => {
|
|
124171
124172
|
const qt = [];
|
|
@@ -124296,29 +124297,29 @@ function ChatScreen() {
|
|
|
124296
124297
|
}), [Pn, nl]), xi = useMemo(() => {
|
|
124297
124298
|
for (let qt = j.length - 1; qt >= 0; qt--) {
|
|
124298
124299
|
const wr = j[qt];
|
|
124299
|
-
if (wr.type !== "thinking" ||
|
|
124300
|
+
if (wr.type !== "thinking" || fr && wr.chatId !== fr) continue;
|
|
124300
124301
|
const Tr = typeof wr.request_id == "string" && wr.request_id ? wr.request_id : null;
|
|
124301
124302
|
if (Tr) return Tr;
|
|
124302
124303
|
break;
|
|
124303
124304
|
}
|
|
124304
124305
|
return null;
|
|
124305
|
-
}, [j,
|
|
124306
|
-
if (!(!s || !
|
|
124306
|
+
}, [j, fr]), Nc = useMemo(() => xi || (z && (!fr || z.chatId === fr) && typeof z.request_id == "string" && z.request_id ? z.request_id : null), [xi, z, fr]), hd = useCallback(async () => {
|
|
124307
|
+
if (!(!s || !fr || !Nc || We)) {
|
|
124307
124308
|
ot(!0);
|
|
124308
124309
|
try {
|
|
124309
|
-
await cancelConversationRequest(s,
|
|
124310
|
+
await cancelConversationRequest(s, fr, Nc);
|
|
124310
124311
|
} catch (qt) {
|
|
124311
124312
|
console.error("cancelConversationRequest failed", qt), ot(!1);
|
|
124312
124313
|
}
|
|
124313
124314
|
}
|
|
124314
|
-
}, [s,
|
|
124315
|
+
}, [s, fr, Nc, We]), Is = xi ?? Dt.current ?? nl;
|
|
124315
124316
|
useEffect(() => {
|
|
124316
|
-
!s || !
|
|
124317
|
-
kt.current ===
|
|
124317
|
+
!s || !fr || !xi || !Sa || hasUserMessageForRequest(j, fr, xi) || nr.current.has(xi) || Pr.current.has(xi) || (nr.current.add(xi), Pr.current.add(xi), loadChat(s, fr).then((qt) => {
|
|
124318
|
+
kt.current === fr && (M(
|
|
124318
124319
|
(wr) => mergeHydratedMessages(
|
|
124319
124320
|
wr,
|
|
124320
124321
|
qt,
|
|
124321
|
-
|
|
124322
|
+
fr
|
|
124322
124323
|
)
|
|
124323
124324
|
), Xa("follow-tail", { force: !0 }));
|
|
124324
124325
|
}).catch((qt) => {
|
|
@@ -124328,7 +124329,7 @@ function ChatScreen() {
|
|
|
124328
124329
|
}));
|
|
124329
124330
|
}, [
|
|
124330
124331
|
s,
|
|
124331
|
-
|
|
124332
|
+
fr,
|
|
124332
124333
|
xi,
|
|
124333
124334
|
Sa,
|
|
124334
124335
|
j,
|
|
@@ -124362,8 +124363,8 @@ function ChatScreen() {
|
|
|
124362
124363
|
]), pu = useRef(!1);
|
|
124363
124364
|
useEffect(() => {
|
|
124364
124365
|
const qt = pu.current, wr = !!xa, Tr = gt.current, Kr = typeof Tr?.id == "string" ? Tr.id : typeof Tr?.message_db_id == "string" ? Tr.message_db_id : void 0, zr = typeof xa?.id == "string" ? xa.id : typeof xa?.message_db_id == "string" ? xa.message_db_id : void 0;
|
|
124365
|
-
!qt && wr ? (Tt.current = !1, Dt.current = null, Ma("form-open")) : qt && !wr ? (nt.current = !0, Tt.current = !0, Dt.current = typeof Tr?.__turnKey == "string" && Tr.__turnKey ? Tr.__turnKey : null,
|
|
124366
|
-
}, [xa,
|
|
124366
|
+
!qt && wr ? (Tt.current = !1, Dt.current = null, Ma("form-open")) : qt && !wr ? (nt.current = !0, Tt.current = !0, Dt.current = typeof Tr?.__turnKey == "string" && Tr.__turnKey ? Tr.__turnKey : null, fr && en(fr), Ma("form-close")) : qt && wr && Kr !== zr && (nt.current = !0, Tt.current = !0, Dt.current = typeof Tr?.__turnKey == "string" && Tr.__turnKey ? Tr.__turnKey : null, fr && en(fr), Ma("form-close"), Ma("form-open")), pu.current = wr, gt.current = xa;
|
|
124367
|
+
}, [xa, fr, en, Ma]), useEffect(() => {
|
|
124367
124368
|
if (xi) {
|
|
124368
124369
|
Dt.current = null;
|
|
124369
124370
|
return;
|
|
@@ -124440,17 +124441,17 @@ function ChatScreen() {
|
|
|
124440
124441
|
if (isScrollAnchorRow(Ti[qt].kind)) return qt;
|
|
124441
124442
|
return -1;
|
|
124442
124443
|
})();
|
|
124443
|
-
return
|
|
124444
|
+
return fr ? /* @__PURE__ */ jsxs("div", { className: `flex flex-1 overflow-hidden ${$s ? "grid grid-cols-[minmax(420px,500px)_minmax(0,1fr)]" : ""}`, children: [
|
|
124444
124445
|
/* @__PURE__ */ jsxs("div", { className: `flex min-h-0 flex-col overflow-hidden min-w-0 relative ${$s ? "h-full" : "flex-1"}`, children: [
|
|
124445
124446
|
v && /* @__PURE__ */ jsx(
|
|
124446
124447
|
ChatTopNav,
|
|
124447
124448
|
{
|
|
124448
|
-
chatId:
|
|
124449
|
+
chatId: fr ?? null,
|
|
124449
124450
|
canvasOpen: ql,
|
|
124450
124451
|
onToggleCanvas: ki
|
|
124451
124452
|
}
|
|
124452
124453
|
),
|
|
124453
|
-
Ht &&
|
|
124454
|
+
Ht && fr ? /* @__PURE__ */ jsxs(
|
|
124454
124455
|
"div",
|
|
124455
124456
|
{
|
|
124456
124457
|
role: "status",
|
|
@@ -124517,7 +124518,7 @@ function ChatScreen() {
|
|
|
124517
124518
|
workspaceId: s ?? void 0,
|
|
124518
124519
|
userId: o ?? void 0,
|
|
124519
124520
|
email: l ?? void 0,
|
|
124520
|
-
chatId:
|
|
124521
|
+
chatId: fr ?? void 0,
|
|
124521
124522
|
setGalleryImages: Vr,
|
|
124522
124523
|
setShowImageGallery: ur,
|
|
124523
124524
|
setGalleryIsFromMessage: Ye
|
|
@@ -124578,7 +124579,7 @@ function ChatScreen() {
|
|
|
124578
124579
|
animate: { opacity: 1, y: 0 },
|
|
124579
124580
|
transition: chatLayoutTransition,
|
|
124580
124581
|
children: /* @__PURE__ */ jsx(ChatMessage, { type: "user", userData: b, showAvatar: !1, children: /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3 items-end w-full", children: /* @__PURE__ */ jsx("div", { className: "flex gap-3 items-end w-full justify-end", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1 items-end max-w-[85%] sm:max-w-[80%] lg:max-w-[75%]", children: [
|
|
124581
|
-
/* @__PURE__ */ jsx(UIComponents, { chatId:
|
|
124582
|
+
/* @__PURE__ */ jsx(UIComponents, { chatId: fr, message: Tr, isActive: !1 }),
|
|
124582
124583
|
/* @__PURE__ */ jsx(
|
|
124583
124584
|
MessageTimestamp,
|
|
124584
124585
|
{
|
|
@@ -124625,7 +124626,7 @@ function ChatScreen() {
|
|
|
124625
124626
|
workspaceId: s ?? "",
|
|
124626
124627
|
userId: o ?? "",
|
|
124627
124628
|
email: l ?? "",
|
|
124628
|
-
chatId:
|
|
124629
|
+
chatId: fr,
|
|
124629
124630
|
setGalleryImages: Vr,
|
|
124630
124631
|
setShowImageGallery: ur,
|
|
124631
124632
|
setGalleryIsFromMessage: Ye
|
|
@@ -124652,7 +124653,7 @@ function ChatScreen() {
|
|
|
124652
124653
|
workspaceId: s ?? "",
|
|
124653
124654
|
userId: o ?? "",
|
|
124654
124655
|
email: l ?? "",
|
|
124655
|
-
chatId:
|
|
124656
|
+
chatId: fr,
|
|
124656
124657
|
isActive: Ki,
|
|
124657
124658
|
setGalleryImages: Vr,
|
|
124658
124659
|
setShowImageGallery: ur,
|
|
@@ -124663,7 +124664,7 @@ function ChatScreen() {
|
|
|
124663
124664
|
MessageFeedbackControls,
|
|
124664
124665
|
{
|
|
124665
124666
|
workspaceId: s ?? "",
|
|
124666
|
-
conversationId:
|
|
124667
|
+
conversationId: fr ?? "",
|
|
124667
124668
|
messageId: String(
|
|
124668
124669
|
Tr.message_db_id ?? Tr.id ?? ""
|
|
124669
124670
|
),
|
|
@@ -124688,7 +124689,7 @@ function ChatScreen() {
|
|
|
124688
124689
|
value: typeof Tr.created_at == "string" ? Tr.created_at : null
|
|
124689
124690
|
}
|
|
124690
124691
|
),
|
|
124691
|
-
Bf && !mu && /* @__PURE__ */ jsx("div", { "data-ui-component-anchor": !0, className: "w-full", children: /* @__PURE__ */ jsx(UIComponents, { chatId:
|
|
124692
|
+
Bf && !mu && /* @__PURE__ */ jsx("div", { "data-ui-component-anchor": !0, className: "w-full", children: /* @__PURE__ */ jsx(UIComponents, { chatId: fr, message: Tr, isActive: Ki }) })
|
|
124692
124693
|
] }) })
|
|
124693
124694
|
},
|
|
124694
124695
|
qt.key
|
|
@@ -124748,7 +124749,7 @@ function ChatScreen() {
|
|
|
124748
124749
|
children: /* @__PURE__ */ jsx("div", { className: "relative w-full", children: /* @__PURE__ */ jsx("div", { className: "flex flex-col size-full", children: /* @__PURE__ */ jsx(
|
|
124749
124750
|
UIComponents,
|
|
124750
124751
|
{
|
|
124751
|
-
chatId:
|
|
124752
|
+
chatId: fr,
|
|
124752
124753
|
message: xa,
|
|
124753
124754
|
isActive: !0,
|
|
124754
124755
|
embedded: !0,
|
|
@@ -124828,14 +124829,14 @@ function ChatScreen() {
|
|
|
124828
124829
|
ql ? /* @__PURE__ */ jsx("div", { className: "h-full min-h-0 min-w-0", children: ns === "error" && !za ? /* @__PURE__ */ jsx(CanvasErrorPanel, { onRetry: Vn }) : /* @__PURE__ */ jsx(
|
|
124829
124830
|
ArtifaxDreamerCanvasesHost,
|
|
124830
124831
|
{
|
|
124831
|
-
activeChatId:
|
|
124832
|
+
activeChatId: fr ?? null,
|
|
124832
124833
|
showInSidePane: !0,
|
|
124833
124834
|
showLoading: Wa
|
|
124834
124835
|
}
|
|
124835
124836
|
) }) : pa ? /* @__PURE__ */ jsx(
|
|
124836
124837
|
ArtifaxDreamerCanvasesHost,
|
|
124837
124838
|
{
|
|
124838
|
-
activeChatId:
|
|
124839
|
+
activeChatId: fr ?? null,
|
|
124839
124840
|
showInSidePane: !1,
|
|
124840
124841
|
showLoading: !1
|
|
124841
124842
|
}
|