@streamoid/agent 0.10.12 → 0.10.14
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 +616 -604
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24180,8 +24180,8 @@ function requireDist$1() {
|
|
|
24180
24180
|
fr % 2 == 1 && (Kn *= Math.sqrt(2 * Zn / qn));
|
|
24181
24181
|
let ur = fr;
|
|
24182
24182
|
for (; ur >= 2; ) Kn = Kn * Zn / ur, ur -= 2;
|
|
24183
|
-
let Lr = Kn,
|
|
24184
|
-
for (; Lr > 1e-10 * Kn; )
|
|
24183
|
+
let Lr = Kn, Kr = fr;
|
|
24184
|
+
for (; Lr > 1e-10 * Kn; ) Kr += 2, Lr = Lr * Zn / Kr, Kn += Lr;
|
|
24185
24185
|
return 1 - Kn;
|
|
24186
24186
|
})(Cn, un)) / 1e6;
|
|
24187
24187
|
};
|
|
@@ -24492,7 +24492,7 @@ function requireDist$1() {
|
|
|
24492
24492
|
const Ze = Math.pow(z, ee);
|
|
24493
24493
|
return isNaN(Ze) ? F : Ze;
|
|
24494
24494
|
}
|
|
24495
|
-
function
|
|
24495
|
+
function lr() {
|
|
24496
24496
|
const z = De(arguments).filter(((Ze) => Ze != null));
|
|
24497
24497
|
if (z.length === 0) return 0;
|
|
24498
24498
|
const ee = nt(z);
|
|
@@ -24543,7 +24543,7 @@ function requireDist$1() {
|
|
|
24543
24543
|
return arguments.length !== 2 ? Z : dr(z, ee);
|
|
24544
24544
|
} });
|
|
24545
24545
|
const ir = new Date(Date.UTC(1900, 0, 1)), cr = [void 0, 0, 1, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, 1, 2, 3, 4, 5, 6, 0], si = [[], [1, 2, 3, 4, 5, 6, 7], [7, 1, 2, 3, 4, 5, 6], [6, 0, 1, 2, 3, 4, 5], [], [], [], [], [], [], [], [7, 1, 2, 3, 4, 5, 6], [6, 7, 1, 2, 3, 4, 5], [5, 6, 7, 1, 2, 3, 4], [4, 5, 6, 7, 1, 2, 3], [3, 4, 5, 6, 7, 1, 2], [2, 3, 4, 5, 6, 7, 1], [1, 2, 3, 4, 5, 6, 7]], Ka = [[], [6, 0], [0, 1], [1, 2], [2, 3], [3, 4], [4, 5], [5, 6], void 0, void 0, void 0, [0, 0], [1, 1], [2, 2], [3, 3], [4, 4], [5, 5], [6, 6]];
|
|
24546
|
-
function
|
|
24546
|
+
function sr(z, ee, Fe) {
|
|
24547
24547
|
Fe = Fe.toUpperCase(), z = Tt(z), ee = Tt(ee);
|
|
24548
24548
|
const Ze = z.getFullYear(), mt = z.getMonth(), $t = z.getDate(), Ut = ee.getFullYear(), un = ee.getMonth(), Cn = ee.getDate();
|
|
24549
24549
|
let qn;
|
|
@@ -24619,8 +24619,8 @@ function requireDist$1() {
|
|
|
24619
24619
|
return Ze === 31 && Ut === 31 ? (Ze = 30, Ut = 30) : Ze === 31 ? Ze = 30 : Ze === 30 && Ut === 31 && (Ut = 30), (Ut + 30 * un + 360 * Cn - (Ze + 30 * mt + 360 * $t)) / 360;
|
|
24620
24620
|
case 1: {
|
|
24621
24621
|
const qn = (ur, Lr) => {
|
|
24622
|
-
const
|
|
24623
|
-
if (Ba(
|
|
24622
|
+
const Kr = ur.getFullYear(), Qr = new Date(Kr, 2, 1);
|
|
24623
|
+
if (Ba(Kr) && ur < Qr && Lr >= Qr) return !0;
|
|
24624
24624
|
const sa = Lr.getFullYear(), ds = new Date(sa, 2, 1);
|
|
24625
24625
|
return Ba(sa) && Lr >= ds && ur < ds;
|
|
24626
24626
|
};
|
|
@@ -24682,8 +24682,8 @@ function requireDist$1() {
|
|
|
24682
24682
|
const Kn = (/* @__PURE__ */ new Date()).getTimezoneOffset() > 0 ? Zn.getUTCDay() : Zn.getDay();
|
|
24683
24683
|
let ur = mt ? $t.includes(Kn) : Kn === Fe[0] || Kn === Fe[1];
|
|
24684
24684
|
for (let Lr = 0; Lr < Ze.length; Lr++) {
|
|
24685
|
-
const
|
|
24686
|
-
if (
|
|
24685
|
+
const Kr = Ze[Lr];
|
|
24686
|
+
if (Kr.getDate() === Zn.getDate() && Kr.getMonth() === Zn.getMonth() && Kr.getFullYear() === Zn.getFullYear()) {
|
|
24687
24687
|
ur = !0;
|
|
24688
24688
|
break;
|
|
24689
24689
|
}
|
|
@@ -24758,10 +24758,10 @@ function requireDist$1() {
|
|
|
24758
24758
|
return isNaN(z) ? R : v.erfc(z);
|
|
24759
24759
|
}
|
|
24760
24760
|
function cd(z) {
|
|
24761
|
-
const ee = Dr(z), Fe =
|
|
24761
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
24762
24762
|
return Qe(ee, Fe) ? R : Math.sqrt(Math.pow(ee, 2) + Math.pow(Fe, 2));
|
|
24763
24763
|
}
|
|
24764
|
-
function
|
|
24764
|
+
function Yr(z) {
|
|
24765
24765
|
if (z === void 0 || z === !0 || z === !1) return R;
|
|
24766
24766
|
if (z === 0 || z === "0") return 0;
|
|
24767
24767
|
if (["i", "j"].indexOf(z) >= 0) return 1;
|
|
@@ -24771,23 +24771,23 @@ function requireDist$1() {
|
|
|
24771
24771
|
return ee >= 0 || Fe >= 0 ? mt ? ee >= 0 ? isNaN(z.substring(0, ee)) || isNaN(z.substring(ee + 1, z.length - 1)) ? F : Number(z.substring(ee + 1, z.length - 1)) : isNaN(z.substring(0, Fe)) || isNaN(z.substring(Fe + 1, z.length - 1)) ? F : -Number(z.substring(Fe + 1, z.length - 1)) : F : mt ? isNaN(z.substring(0, z.length - 1)) ? F : z.substring(0, z.length - 1) : isNaN(z) ? F : 0;
|
|
24772
24772
|
}
|
|
24773
24773
|
function Qa(z) {
|
|
24774
|
-
const ee = Dr(z), Fe =
|
|
24774
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
24775
24775
|
return Qe(ee, Fe) ? R : ee === 0 && Fe === 0 ? T : ee === 0 && Fe > 0 ? Math.PI / 2 : ee === 0 && Fe < 0 ? -Math.PI / 2 : Fe === 0 && ee > 0 ? 0 : Fe === 0 && ee < 0 ? -Math.PI : ee > 0 ? Math.atan(Fe / ee) : ee < 0 && Fe >= 0 ? Math.atan(Fe / ee) + Math.PI : Math.atan(Fe / ee) - Math.PI;
|
|
24776
24776
|
}
|
|
24777
24777
|
function ji(z) {
|
|
24778
|
-
const ee = Dr(z), Fe =
|
|
24778
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
24779
24779
|
if (Qe(ee, Fe)) return R;
|
|
24780
24780
|
let Ze = z.substring(z.length - 1);
|
|
24781
24781
|
return Ze = Ze === "i" || Ze === "j" ? Ze : "i", Za(Math.cos(ee) * (Math.exp(Fe) + Math.exp(-Fe)) / 2, -Math.sin(ee) * (Math.exp(Fe) - Math.exp(-Fe)) / 2, Ze);
|
|
24782
24782
|
}
|
|
24783
24783
|
function Hc(z) {
|
|
24784
|
-
const ee = Dr(z), Fe =
|
|
24784
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
24785
24785
|
if (Qe(ee, Fe)) return R;
|
|
24786
24786
|
let Ze = z.substring(z.length - 1);
|
|
24787
24787
|
return Ze = Ze === "i" || Ze === "j" ? Ze : "i", Za(Math.cos(Fe) * (Math.exp(ee) + Math.exp(-ee)) / 2, Math.sin(Fe) * (Math.exp(ee) - Math.exp(-ee)) / 2, Ze);
|
|
24788
24788
|
}
|
|
24789
24789
|
function _s(z, ee) {
|
|
24790
|
-
const Fe = Dr(z), Ze =
|
|
24790
|
+
const Fe = Dr(z), Ze = Yr(z), mt = Dr(ee), $t = Yr(ee);
|
|
24791
24791
|
if (Qe(Fe, Ze, mt, $t)) return R;
|
|
24792
24792
|
const Ut = z.substring(z.length - 1), un = ee.substring(ee.length - 1);
|
|
24793
24793
|
let Cn = "i";
|
|
@@ -24804,13 +24804,13 @@ function requireDist$1() {
|
|
|
24804
24804
|
return ee >= 0 || Fe >= 0 ? mt ? ee >= 0 ? isNaN(z.substring(0, ee)) || isNaN(z.substring(ee + 1, z.length - 1)) ? F : Number(z.substring(0, ee)) : isNaN(z.substring(0, Fe)) || isNaN(z.substring(Fe + 1, z.length - 1)) ? F : Number(z.substring(0, Fe)) : F : mt ? isNaN(z.substring(0, z.length - 1)) ? F : 0 : isNaN(z) ? F : z;
|
|
24805
24805
|
}
|
|
24806
24806
|
function os(z) {
|
|
24807
|
-
const ee = Dr(z), Fe =
|
|
24807
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
24808
24808
|
if (Qe(ee, Fe)) return R;
|
|
24809
24809
|
let Ze = z.substring(z.length - 1);
|
|
24810
24810
|
return Ze = Ze === "i" || Ze === "j" ? Ze : "i", Za(Math.sin(ee) * (Math.exp(Fe) + Math.exp(-Fe)) / 2, Math.cos(ee) * (Math.exp(Fe) - Math.exp(-Fe)) / 2, Ze);
|
|
24811
24811
|
}
|
|
24812
24812
|
function Kl(z) {
|
|
24813
|
-
const ee = Dr(z), Fe =
|
|
24813
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
24814
24814
|
if (Qe(ee, Fe)) return R;
|
|
24815
24815
|
let Ze = z.substring(z.length - 1);
|
|
24816
24816
|
return Ze = Ze === "i" || Ze === "j" ? Ze : "i", Za(Math.cos(Fe) * (Math.exp(ee) - Math.exp(-ee)) / 2, Math.sin(Fe) * (Math.exp(ee) + Math.exp(-ee)) / 2, Ze);
|
|
@@ -24927,7 +24927,7 @@ function requireDist$1() {
|
|
|
24927
24927
|
case 5:
|
|
24928
24928
|
return Pt(Fe);
|
|
24929
24929
|
case 6:
|
|
24930
|
-
return
|
|
24930
|
+
return lr(Fe);
|
|
24931
24931
|
case 7:
|
|
24932
24932
|
return yt.S(Fe);
|
|
24933
24933
|
case 8:
|
|
@@ -25098,13 +25098,13 @@ function requireDist$1() {
|
|
|
25098
25098
|
const ur = mt[ee.substring(0, 2)];
|
|
25099
25099
|
let Lr = $t[ee.substring(0, 1)];
|
|
25100
25100
|
ee.substring(0, 2) === "da" && (Lr = ["dekao", 10, "da"]), ur ? (fr = ur[2], qn = ee.substring(2)) : Lr && (fr = Lr[1], qn = ee.substring(Lr[2].length));
|
|
25101
|
-
for (let
|
|
25101
|
+
for (let Kr = 0; Kr < Ze.length; Kr++) Ut = Ze[Kr][2] === null ? [] : Ze[Kr][2], (Ze[Kr][1] === qn || Ut.indexOf(qn) >= 0) && (un = Ze[Kr]);
|
|
25102
25102
|
}
|
|
25103
25103
|
if (Cn === null) {
|
|
25104
25104
|
const ur = mt[Fe.substring(0, 2)];
|
|
25105
25105
|
let Lr = $t[Fe.substring(0, 1)];
|
|
25106
25106
|
Fe.substring(0, 2) === "da" && (Lr = ["dekao", 10, "da"]), ur ? (Kn = ur[2], Zn = Fe.substring(2)) : Lr && (Kn = Lr[1], Zn = Fe.substring(Lr[2].length));
|
|
25107
|
-
for (let
|
|
25107
|
+
for (let Kr = 0; Kr < Ze.length; Kr++) Ut = Ze[Kr][2] === null ? [] : Ze[Kr][2], (Ze[Kr][1] === Zn || Ut.indexOf(Zn) >= 0) && (Cn = Ze[Kr]);
|
|
25108
25108
|
}
|
|
25109
25109
|
return un === null || Cn === null || un[3] !== Cn[3] ? Z : z * un[6] * fr / (Cn[6] * Kn);
|
|
25110
25110
|
}, h.CORREL = function(z, ee) {
|
|
@@ -25180,7 +25180,7 @@ function requireDist$1() {
|
|
|
25180
25180
|
}, h.DATE = function(z, ee, Fe) {
|
|
25181
25181
|
let Ze;
|
|
25182
25182
|
return Qe(z = ke(z), ee = ke(ee), Fe = ke(Fe)) ? Ze = R : (Ze = new Date(z, ee - 1, Fe), Ze.getFullYear() < 0 && (Ze = F)), Ze;
|
|
25183
|
-
}, h.DATEDIF =
|
|
25183
|
+
}, h.DATEDIF = sr, h.DATEVALUE = function(z) {
|
|
25184
25184
|
if (typeof z != "string") return R;
|
|
25185
25185
|
const ee = Date.parse(z);
|
|
25186
25186
|
return isNaN(ee) ? R : new Date(z);
|
|
@@ -25288,10 +25288,10 @@ function requireDist$1() {
|
|
|
25288
25288
|
break;
|
|
25289
25289
|
case 1:
|
|
25290
25290
|
case 3:
|
|
25291
|
-
$t = 365, Ut =
|
|
25291
|
+
$t = 365, Ut = sr(z, ee, "D");
|
|
25292
25292
|
break;
|
|
25293
25293
|
case 2:
|
|
25294
|
-
$t = 360, Ut =
|
|
25294
|
+
$t = 360, Ut = sr(z, ee, "D");
|
|
25295
25295
|
break;
|
|
25296
25296
|
case 4:
|
|
25297
25297
|
$t = 360, Ut = _a(z, ee, !0);
|
|
@@ -25539,41 +25539,41 @@ function requireDist$1() {
|
|
|
25539
25539
|
}, h.IFS = function() {
|
|
25540
25540
|
for (let z = 0; z < arguments.length / 2; z++) if (arguments[2 * z]) return arguments[2 * z + 1];
|
|
25541
25541
|
return Z;
|
|
25542
|
-
}, h.IMABS = cd, h.IMAGINARY =
|
|
25543
|
-
const ee = Dr(z), Fe =
|
|
25542
|
+
}, h.IMABS = cd, h.IMAGINARY = Yr, h.IMARGUMENT = Qa, h.IMCONJUGATE = function(z) {
|
|
25543
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
25544
25544
|
if (Qe(ee, Fe)) return R;
|
|
25545
25545
|
let Ze = z.substring(z.length - 1);
|
|
25546
25546
|
return Ze = Ze === "i" || Ze === "j" ? Ze : "i", Fe !== 0 ? Za(ee, -Fe, Ze) : z;
|
|
25547
25547
|
}, h.IMCOS = ji, h.IMCOSH = Hc, h.IMCOT = function(z) {
|
|
25548
|
-
return Qe(Dr(z),
|
|
25548
|
+
return Qe(Dr(z), Yr(z)) ? R : _s(ji(z), os(z));
|
|
25549
25549
|
}, h.IMCSC = function(z) {
|
|
25550
|
-
return z === !0 || z === !1 ? R : Qe(Dr(z),
|
|
25550
|
+
return z === !0 || z === !1 ? R : Qe(Dr(z), Yr(z)) ? F : _s("1", os(z));
|
|
25551
25551
|
}, h.IMCSCH = function(z) {
|
|
25552
|
-
return z === !0 || z === !1 ? R : Qe(Dr(z),
|
|
25552
|
+
return z === !0 || z === !1 ? R : Qe(Dr(z), Yr(z)) ? F : _s("1", Kl(z));
|
|
25553
25553
|
}, h.IMDIV = _s, h.IMEXP = function(z) {
|
|
25554
|
-
const ee = Dr(z), Fe =
|
|
25554
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
25555
25555
|
if (Qe(ee, Fe)) return R;
|
|
25556
25556
|
let Ze = z.substring(z.length - 1);
|
|
25557
25557
|
Ze = Ze === "i" || Ze === "j" ? Ze : "i";
|
|
25558
25558
|
const mt = Math.exp(ee);
|
|
25559
25559
|
return Za(mt * Math.cos(Fe), mt * Math.sin(Fe), Ze);
|
|
25560
25560
|
}, h.IMLN = function(z) {
|
|
25561
|
-
const ee = Dr(z), Fe =
|
|
25561
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
25562
25562
|
if (Qe(ee, Fe)) return R;
|
|
25563
25563
|
let Ze = z.substring(z.length - 1);
|
|
25564
25564
|
return Ze = Ze === "i" || Ze === "j" ? Ze : "i", Za(Math.log(Math.sqrt(ee * ee + Fe * Fe)), Math.atan(Fe / ee), Ze);
|
|
25565
25565
|
}, h.IMLOG10 = function(z) {
|
|
25566
|
-
const ee = Dr(z), Fe =
|
|
25566
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
25567
25567
|
if (Qe(ee, Fe)) return R;
|
|
25568
25568
|
let Ze = z.substring(z.length - 1);
|
|
25569
25569
|
return Ze = Ze === "i" || Ze === "j" ? Ze : "i", Za(Math.log(Math.sqrt(ee * ee + Fe * Fe)) / Math.log(10), Math.atan(Fe / ee) / Math.log(10), Ze);
|
|
25570
25570
|
}, h.IMLOG2 = function(z) {
|
|
25571
|
-
const ee = Dr(z), Fe =
|
|
25571
|
+
const ee = Dr(z), Fe = Yr(z);
|
|
25572
25572
|
if (Qe(ee, Fe)) return R;
|
|
25573
25573
|
let Ze = z.substring(z.length - 1);
|
|
25574
25574
|
return Ze = Ze === "i" || Ze === "j" ? Ze : "i", Za(Math.log(Math.sqrt(ee * ee + Fe * Fe)) / Math.log(2), Math.atan(Fe / ee) / Math.log(2), Ze);
|
|
25575
25575
|
}, h.IMPOWER = function(z, ee) {
|
|
25576
|
-
if (Qe(ee = ke(ee), Dr(z),
|
|
25576
|
+
if (Qe(ee = ke(ee), Dr(z), Yr(z))) return R;
|
|
25577
25577
|
let Fe = z.substring(z.length - 1);
|
|
25578
25578
|
Fe = Fe === "i" || Fe === "j" ? Fe : "i";
|
|
25579
25579
|
const Ze = Math.pow(cd(z), ee), mt = Qa(z);
|
|
@@ -25582,23 +25582,23 @@ function requireDist$1() {
|
|
|
25582
25582
|
let z = arguments[0];
|
|
25583
25583
|
if (!arguments.length) return R;
|
|
25584
25584
|
for (let ee = 1; ee < arguments.length; ee++) {
|
|
25585
|
-
const Fe = Dr(z), Ze =
|
|
25585
|
+
const Fe = Dr(z), Ze = Yr(z), mt = Dr(arguments[ee]), $t = Yr(arguments[ee]);
|
|
25586
25586
|
if (Qe(Fe, Ze, mt, $t)) return R;
|
|
25587
25587
|
z = Za(Fe * mt - Ze * $t, Fe * $t + Ze * mt);
|
|
25588
25588
|
}
|
|
25589
25589
|
return z;
|
|
25590
25590
|
}, h.IMREAL = Dr, h.IMSEC = function(z) {
|
|
25591
|
-
return z === !0 || z === !1 || Qe(Dr(z),
|
|
25591
|
+
return z === !0 || z === !1 || Qe(Dr(z), Yr(z)) ? R : _s("1", ji(z));
|
|
25592
25592
|
}, h.IMSECH = function(z) {
|
|
25593
|
-
return Qe(Dr(z),
|
|
25593
|
+
return Qe(Dr(z), Yr(z)) ? R : _s("1", Hc(z));
|
|
25594
25594
|
}, h.IMSIN = os, h.IMSINH = Kl, h.IMSQRT = function(z) {
|
|
25595
|
-
if (Qe(Dr(z),
|
|
25595
|
+
if (Qe(Dr(z), Yr(z))) return R;
|
|
25596
25596
|
let ee = z.substring(z.length - 1);
|
|
25597
25597
|
ee = ee === "i" || ee === "j" ? ee : "i";
|
|
25598
25598
|
const Fe = Math.sqrt(cd(z)), Ze = Qa(z);
|
|
25599
25599
|
return Za(Fe * Math.cos(Ze / 2), Fe * Math.sin(Ze / 2), ee);
|
|
25600
25600
|
}, h.IMSUB = function(z, ee) {
|
|
25601
|
-
const Fe = Dr(z), Ze =
|
|
25601
|
+
const Fe = Dr(z), Ze = Yr(z), mt = Dr(ee), $t = Yr(ee);
|
|
25602
25602
|
if (Qe(Fe, Ze, mt, $t)) return R;
|
|
25603
25603
|
const Ut = z.substring(z.length - 1), un = ee.substring(ee.length - 1);
|
|
25604
25604
|
let Cn = "i";
|
|
@@ -25608,13 +25608,13 @@ function requireDist$1() {
|
|
|
25608
25608
|
const z = De(arguments);
|
|
25609
25609
|
let ee = z[0];
|
|
25610
25610
|
for (let Fe = 1; Fe < z.length; Fe++) {
|
|
25611
|
-
const Ze = Dr(ee), mt =
|
|
25611
|
+
const Ze = Dr(ee), mt = Yr(ee), $t = Dr(z[Fe]), Ut = Yr(z[Fe]);
|
|
25612
25612
|
if (Qe(Ze, mt, $t, Ut)) return R;
|
|
25613
25613
|
ee = Za(Ze + $t, mt + Ut);
|
|
25614
25614
|
}
|
|
25615
25615
|
return ee;
|
|
25616
25616
|
}, h.IMTAN = function(z) {
|
|
25617
|
-
return z === !0 || z === !1 || Qe(Dr(z),
|
|
25617
|
+
return z === !0 || z === !1 || Qe(Dr(z), Yr(z)) ? R : _s(os(z), ji(z));
|
|
25618
25618
|
}, h.INDEX = function(z, ee, Fe) {
|
|
25619
25619
|
const Ze = et(z, ee, Fe);
|
|
25620
25620
|
if (Ze) return Ze;
|
|
@@ -25632,18 +25632,18 @@ function requireDist$1() {
|
|
|
25632
25632
|
}, h.IPMT = Hs, h.IRR = function(z, ee) {
|
|
25633
25633
|
if (ee = ee || 0, Qe(z = nt(De(z)), ee = ke(ee))) return R;
|
|
25634
25634
|
const Fe = (Kn, ur, Lr) => {
|
|
25635
|
-
const
|
|
25636
|
-
let
|
|
25637
|
-
for (let sa = 1; sa < Kn.length; sa++)
|
|
25638
|
-
return
|
|
25635
|
+
const Kr = Lr + 1;
|
|
25636
|
+
let Qr = Kn[0];
|
|
25637
|
+
for (let sa = 1; sa < Kn.length; sa++) Qr += Kn[sa] / Math.pow(Kr, (ur[sa] - ur[0]) / 365);
|
|
25638
|
+
return Qr;
|
|
25639
25639
|
}, Ze = (Kn, ur, Lr) => {
|
|
25640
|
-
const
|
|
25641
|
-
let
|
|
25640
|
+
const Kr = Lr + 1;
|
|
25641
|
+
let Qr = 0;
|
|
25642
25642
|
for (let sa = 1; sa < Kn.length; sa++) {
|
|
25643
25643
|
const ds = (ur[sa] - ur[0]) / 365;
|
|
25644
|
-
|
|
25644
|
+
Qr -= ds * Kn[sa] / Math.pow(Kr, ds + 1);
|
|
25645
25645
|
}
|
|
25646
|
-
return
|
|
25646
|
+
return Qr;
|
|
25647
25647
|
}, mt = [];
|
|
25648
25648
|
let $t = !1, Ut = !1;
|
|
25649
25649
|
for (let Kn = 0; Kn < z.length; Kn++) mt[Kn] = Kn === 0 ? 0 : mt[Kn - 1] + 365, z[Kn] > 0 && ($t = !0), z[Kn] < 0 && (Ut = !0);
|
|
@@ -25859,10 +25859,10 @@ function requireDist$1() {
|
|
|
25859
25859
|
break;
|
|
25860
25860
|
case 1:
|
|
25861
25861
|
case 3:
|
|
25862
|
-
$t = 365, Ut =
|
|
25862
|
+
$t = 365, Ut = sr(z, ee, "D");
|
|
25863
25863
|
break;
|
|
25864
25864
|
case 2:
|
|
25865
|
-
$t = 360, Ut =
|
|
25865
|
+
$t = 360, Ut = sr(z, ee, "D");
|
|
25866
25866
|
break;
|
|
25867
25867
|
case 4:
|
|
25868
25868
|
$t = 360, Ut = _a(z, ee, !0);
|
|
@@ -25881,7 +25881,7 @@ function requireDist$1() {
|
|
|
25881
25881
|
let Ut = 0;
|
|
25882
25882
|
for (let un = 0; un < $t; un++) mt[un] >= Fe && mt[un] <= Ze && (Ut += ee[z.indexOf(mt[un])]);
|
|
25883
25883
|
return Ut;
|
|
25884
|
-
}, h.PRODUCT =
|
|
25884
|
+
}, h.PRODUCT = lr, h.PRONETIC = function() {
|
|
25885
25885
|
throw new Error("PRONETIC is not implemented");
|
|
25886
25886
|
}, h.PROPER = function(z) {
|
|
25887
25887
|
return Qe(z) ? z : isNaN(z) && typeof z == "number" ? R : (z = ht(z)).replace(/\w\S*/g, ((ee) => ee.charAt(0).toUpperCase() + ee.substr(1).toLowerCase()));
|
|
@@ -26027,7 +26027,7 @@ function requireDist$1() {
|
|
|
26027
26027
|
return Pt(ee);
|
|
26028
26028
|
case 6:
|
|
26029
26029
|
case 106:
|
|
26030
|
-
return
|
|
26030
|
+
return lr(ee);
|
|
26031
26031
|
case 7:
|
|
26032
26032
|
case 107:
|
|
26033
26033
|
return yt.S(ee);
|
|
@@ -26234,18 +26234,18 @@ function requireDist$1() {
|
|
|
26234
26234
|
}, h.WEIBULL = Ot, h.WEIBULLDIST = Jc, h.WORKDAY = fa, h.WORKDAYINTL = eu, h.XIRR = function(z, ee, Fe) {
|
|
26235
26235
|
if (Qe(z = nt(De(z)), ee = He(De(ee)), Fe = ke(Fe))) return R;
|
|
26236
26236
|
const Ze = (Kn, ur, Lr) => {
|
|
26237
|
-
const
|
|
26238
|
-
let
|
|
26239
|
-
for (let sa = 1; sa < Kn.length; sa++)
|
|
26240
|
-
return
|
|
26237
|
+
const Kr = Lr + 1;
|
|
26238
|
+
let Qr = Kn[0];
|
|
26239
|
+
for (let sa = 1; sa < Kn.length; sa++) Qr += Kn[sa] / Math.pow(Kr, ya(ur[sa], ur[0]) / 365);
|
|
26240
|
+
return Qr;
|
|
26241
26241
|
}, mt = (Kn, ur, Lr) => {
|
|
26242
|
-
const
|
|
26243
|
-
let
|
|
26242
|
+
const Kr = Lr + 1;
|
|
26243
|
+
let Qr = 0;
|
|
26244
26244
|
for (let sa = 1; sa < Kn.length; sa++) {
|
|
26245
26245
|
const ds = ya(ur[sa], ur[0]) / 365;
|
|
26246
|
-
|
|
26246
|
+
Qr -= ds * Kn[sa] / Math.pow(Kr, ds + 1);
|
|
26247
26247
|
}
|
|
26248
|
-
return
|
|
26248
|
+
return Qr;
|
|
26249
26249
|
};
|
|
26250
26250
|
let $t = !1, Ut = !1;
|
|
26251
26251
|
for (let Kn = 0; Kn < z.length; Kn++) z[Kn] > 0 && ($t = !0), z[Kn] < 0 && (Ut = !0);
|
|
@@ -30719,10 +30719,10 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
30719
30719
|
Gt[Gn] = Nn;
|
|
30720
30720
|
var dr = T(Oe, yt);
|
|
30721
30721
|
P(Ot, St, dr, yt, Gt);
|
|
30722
|
-
var
|
|
30723
|
-
|
|
30722
|
+
var lr = Z(dr, Wt, Gt, yt);
|
|
30723
|
+
lr[Wt].name = "!Directory", ct > 0 && Mt !== We && (lr[Mt].name = "!MiniFAT"), lr[Gt[0]].name = "!FAT", lr.fat_addrs = Gt, lr.ssz = yt;
|
|
30724
30724
|
var _r = {}, Nr = [], ca = [], ir = [];
|
|
30725
|
-
Q(Wt,
|
|
30725
|
+
Q(Wt, lr, dr, Nr, ct, _r, ca, Mt), R(ca, ir, Nr), Nr.shift();
|
|
30726
30726
|
var cr = {
|
|
30727
30727
|
FileIndex: ca,
|
|
30728
30728
|
FullPaths: ir
|
|
@@ -30835,8 +30835,8 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
30835
30835
|
size: 0
|
|
30836
30836
|
}, dr = Nn.read_shift(2) + Nn.read_shift(2) + Nn.read_shift(2) + Nn.read_shift(2);
|
|
30837
30837
|
dr !== 0 && (Gn.ct = ne(Nn, Nn.l - 8));
|
|
30838
|
-
var
|
|
30839
|
-
|
|
30838
|
+
var lr = Nn.read_shift(2) + Nn.read_shift(2) + Nn.read_shift(2) + Nn.read_shift(2);
|
|
30839
|
+
lr !== 0 && (Gn.mt = ne(Nn, Nn.l - 8)), Gn.start = Nn.read_shift(4, "i"), Gn.size = Nn.read_shift(4, "i"), Gn.size < 0 && Gn.start < 0 && (Gn.size = Gn.type = 0, Gn.start = We, Gn.name = ""), Gn.type === 5 ? (Ot = Gn.start, ct > 0 && Ot !== We && (tt[Ot].name = "!StreamData")) : Gn.size >= 4096 ? (Gn.storage = "fat", tt[Gn.start] === void 0 && (tt[Gn.start] = F(lt, Gn.start, tt.fat_addrs, tt.ssz)), tt[Gn.start].name = Gn.name, Gn.content = tt[Gn.start].data.slice(0, Gn.size)) : (Gn.storage = "minifat", Gn.size < 0 ? Gn.size = 0 : Ot !== We && Gn.start !== We && tt[Ot] && (Gn.content = I(Gn, tt[Ot].data, (tt[Mt] || {}).data))), Gn.content && prep_blob(Gn.content, 0), St[zn] = Gn, Wt.push(Gn);
|
|
30840
30840
|
}
|
|
30841
30841
|
}
|
|
30842
30842
|
function ne(Oe, tt) {
|
|
@@ -30930,15 +30930,15 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
30930
30930
|
return wt(Oe, lt);
|
|
30931
30931
|
var yt = (function(zn) {
|
|
30932
30932
|
for (var Nn = 0, Gn = 0, dr = 0; dr < zn.FileIndex.length; ++dr) {
|
|
30933
|
-
var
|
|
30934
|
-
if (
|
|
30935
|
-
var _r =
|
|
30933
|
+
var lr = zn.FileIndex[dr];
|
|
30934
|
+
if (lr.content) {
|
|
30935
|
+
var _r = lr.content.length;
|
|
30936
30936
|
_r > 0 && (_r < 4096 ? Nn += _r + 63 >> 6 : Gn += _r + 511 >> 9);
|
|
30937
30937
|
}
|
|
30938
30938
|
}
|
|
30939
30939
|
for (var Nr = zn.FullPaths.length + 3 >> 2, ca = Nn + 7 >> 3, ir = Nn + 127 >> 7, cr = ca + Gn + Nr + ir, si = cr + 127 >> 7, Ka = si <= 109 ? 0 : Math.ceil((si - 109) / 127); cr + si + Ka + 127 >> 7 > si; ) Ka = ++si <= 109 ? 0 : Math.ceil((si - 109) / 127);
|
|
30940
|
-
var
|
|
30941
|
-
return zn.FileIndex[0].size = Nn << 6,
|
|
30940
|
+
var sr = [1, Ka, si, ir, Nr, Gn, Nn, 0];
|
|
30941
|
+
return zn.FileIndex[0].size = Nn << 6, sr[7] = (zn.FileIndex[0].start = sr[0] + sr[1] + sr[2] + sr[3] + sr[4] + sr[5]) + (sr[6] + 7 >> 3), sr;
|
|
30942
30942
|
})(Oe), ct = new_buf(yt[7] << 9), St = 0, Wt = 0;
|
|
30943
30943
|
{
|
|
30944
30944
|
for (St = 0; St < 8; ++St) ct.write_shift(1, rt[St]);
|
|
@@ -31212,8 +31212,8 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
31212
31212
|
for (; Mt[Gn + dr] == Mt[Jt + dr] && dr < 250; ) ++dr;
|
|
31213
31213
|
if (dr > 2) {
|
|
31214
31214
|
Nn = ct[dr], Nn <= 22 ? Gt = Wn(Ot, Gt, pt[Nn + 1] >> 1) - 1 : (Wn(Ot, Gt, 3), Gt += 5, Wn(Ot, Gt, pt[Nn - 23] >> 5), Gt += 3);
|
|
31215
|
-
var
|
|
31216
|
-
|
|
31215
|
+
var lr = Nn < 8 ? 0 : Nn - 4 >> 2;
|
|
31216
|
+
lr > 0 && (Yn(Ot, Gt, dr - gt[Nn]), Gt += lr), Nn = tt[Jt - Gn], Gt = Wn(Ot, Gt, pt[Nn] >> 3), Gt -= 3;
|
|
31217
31217
|
var _r = Nn < 4 ? 0 : Nn - 2 >> 1;
|
|
31218
31218
|
_r > 0 && (Yn(Ot, Gt, Jt - Gn - vt[Nn]), Gt += _r);
|
|
31219
31219
|
for (var Nr = 0; Nr < dr; ++Nr)
|
|
@@ -31269,10 +31269,10 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
31269
31269
|
dr.push(zn), Ot < zn && (Ot = zn);
|
|
31270
31270
|
break;
|
|
31271
31271
|
}
|
|
31272
|
-
var
|
|
31273
|
-
for (jn = lt; jn < 286; ++jn)
|
|
31272
|
+
var lr = dr.slice(0, lt), _r = dr.slice(lt);
|
|
31273
|
+
for (jn = lt; jn < 286; ++jn) lr[jn] = 0;
|
|
31274
31274
|
for (jn = yt; jn < 30; ++jn) _r[jn] = 0;
|
|
31275
|
-
return Me = nr(
|
|
31275
|
+
return Me = nr(lr, Je, 286), bt = nr(_r, st, 30), tt;
|
|
31276
31276
|
}
|
|
31277
31277
|
function Lt(Oe, tt) {
|
|
31278
31278
|
if (Oe[0] == 3 && !(Oe[1] & 3))
|
|
@@ -31372,14 +31372,14 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
31372
31372
|
default:
|
|
31373
31373
|
throw new Error("Unsupported ZIP Compression method " + Wt);
|
|
31374
31374
|
}
|
|
31375
|
-
var
|
|
31376
|
-
St & 8 && (Ot = Oe.read_shift(4), Ot == 134695760 && (Ot = Oe.read_shift(4),
|
|
31375
|
+
var lr = !1;
|
|
31376
|
+
St & 8 && (Ot = Oe.read_shift(4), Ot == 134695760 && (Ot = Oe.read_shift(4), lr = !0), Gt = Oe.read_shift(4), Jt = Oe.read_shift(4)), Gt != tt && Xe(lr, "Bad compressed size: " + tt + " != " + Gt), Jt != lt && Xe(lr, "Bad uncompressed size: " + lt + " != " + Jt), on(yt, zn, dr, { unsafe: !0, mt: Mt });
|
|
31377
31377
|
}
|
|
31378
31378
|
function wt(Oe, tt) {
|
|
31379
31379
|
var lt = tt || {}, yt = [], ct = [], St = new_buf(1), Wt = lt.compression ? 8 : 0, Mt = 0, Ot = 0, Gt = 0, Jt = 0, Sn = 0, jn = Oe.FullPaths[0], zn = jn, Nn = Oe.FileIndex[0], Gn = [], dr = 0;
|
|
31380
31380
|
for (Ot = 1; Ot < Oe.FullPaths.length; ++Ot)
|
|
31381
31381
|
if (zn = Oe.FullPaths[Ot].slice(jn.length), Nn = Oe.FileIndex[Ot], !(!Nn.size || !Nn.content || zn == "Sh33tJ5")) {
|
|
31382
|
-
var
|
|
31382
|
+
var lr = Jt, _r = new_buf(zn.length);
|
|
31383
31383
|
for (Gt = 0; Gt < zn.length; ++Gt) _r.write_shift(1, zn.charCodeAt(Gt) & 127);
|
|
31384
31384
|
_r = _r.slice(0, _r.l), Gn[Sn] = CRC32.buf(
|
|
31385
31385
|
/*::((*/
|
|
@@ -31395,7 +31395,7 @@ var CRC32 = /* @__PURE__ */ (function() {
|
|
|
31395
31395
|
4,
|
|
31396
31396
|
/*::(*/
|
|
31397
31397
|
Nn.content.length
|
|
31398
|
-
), St.write_shift(2, _r.length), St.write_shift(2, 0), St.write_shift(2, 0), St.write_shift(2, 0), St.write_shift(2, 0), St.write_shift(4, 0), St.write_shift(4,
|
|
31398
|
+
), St.write_shift(2, _r.length), St.write_shift(2, 0), St.write_shift(2, 0), St.write_shift(2, 0), St.write_shift(2, 0), St.write_shift(4, 0), St.write_shift(4, lr), dr += St.l, ct.push(St), dr += _r.length, ct.push(_r), ++Sn;
|
|
31399
31399
|
}
|
|
31400
31400
|
return St = new_buf(22), St.write_shift(4, 101010256), St.write_shift(2, 0), St.write_shift(2, 0), St.write_shift(2, Sn), St.write_shift(2, Sn), St.write_shift(4, dr), St.write_shift(4, Jt), St.write_shift(2, 0), bconcat([bconcat(yt), bconcat(ct), St]);
|
|
31401
31401
|
}
|
|
@@ -76040,15 +76040,12 @@ function sourceIsConnected(e, t) {
|
|
|
76040
76040
|
const n = e.dataTasks, s = Array.isArray(n) ? n.flatMap((c) => Array.isArray(c?.requirements) ? c.requirements : []).filter((c) => c?.key === t && ["missing", "connected"].includes(c.state)) : [];
|
|
76041
76041
|
if (s.length) return s.every((c) => c.state === "connected");
|
|
76042
76042
|
const o = e.dataReadiness;
|
|
76043
|
-
if (o
|
|
76044
|
-
|
|
76045
|
-
|
|
76046
|
-
}
|
|
76047
|
-
const l = { sales: "Sales", product_master: "Product master", stock: "Stock", costs: "Costs" }[t];
|
|
76048
|
-
return typeof o == "string" && !!l && new RegExp(`(?:\\(|, |; also )${l} (?:in(?: but out of date)?|partly in)(?=[,).;]|$)`, "i").test(o);
|
|
76043
|
+
if (!o || typeof o != "object") return !1;
|
|
76044
|
+
const l = o.sources;
|
|
76045
|
+
return Array.isArray(l) && l.some((c) => c && c.key === t && ["loaded", "partial", "old"].includes(c.status));
|
|
76049
76046
|
}
|
|
76050
76047
|
function isTactixSample(e) {
|
|
76051
|
-
return e?.app === "tactix" &&
|
|
76048
|
+
return e?.app === "tactix" && e.is_demo_workspace === !0;
|
|
76052
76049
|
}
|
|
76053
76050
|
const inflight = /* @__PURE__ */ new Set(), results = /* @__PURE__ */ new Map();
|
|
76054
76051
|
function HostRequest({ id: e, name: t, params: n, workspaceId: s, actions: o, active: l, submitted: c, submit: d, question: h, nextStep: g, uploadContext: v, guidance: C, card: N, standalone: T, blockedSources: R }) {
|
|
@@ -76801,140 +76798,6 @@ function DreamerResults({ result: e }) {
|
|
|
76801
76798
|
o
|
|
76802
76799
|
] });
|
|
76803
76800
|
}
|
|
76804
|
-
const BTF = [
|
|
76805
|
-
{ key: "best_seller", label: "Best Seller" },
|
|
76806
|
-
{ key: "trending", label: "Trending" },
|
|
76807
|
-
{ key: "forecast", label: "Forecast" }
|
|
76808
|
-
], readable = (e) => e.replace(/_/g, " ").replace(/^\w/, (t) => t.toUpperCase());
|
|
76809
|
-
function regenerateContext(e) {
|
|
76810
|
-
for (let t = e.length - 1; t >= 0; t -= 1) {
|
|
76811
|
-
const n = object(object(e[t].props).refineCtx);
|
|
76812
|
-
if (Object.keys(object(n.inputs)).length) return n;
|
|
76813
|
-
}
|
|
76814
|
-
return null;
|
|
76815
|
-
}
|
|
76816
|
-
function pick(e, t) {
|
|
76817
|
-
const n = e.trim().toLowerCase();
|
|
76818
|
-
return t.find((s) => s.value.toLowerCase() === n || s.label.toLowerCase() === n)?.value ?? e.trim();
|
|
76819
|
-
}
|
|
76820
|
-
function initialChoices(e) {
|
|
76821
|
-
const t = object(e.inputs), n = object(e.options), s = object(t.btf), o = BTF.every(({ key: d }) => Number.isFinite(Number(s[d]))) ? Object.fromEntries(BTF.map(({ key: d }) => [d, Number(s[d])])) : distributeWeights(BTF.map(({ key: d }) => d)), l = (d, h) => text$1(d).trim() ? [pick(text$1(d), options$2(n[h]))] : [], c = object(t.selected_theme);
|
|
76822
|
-
return {
|
|
76823
|
-
categories: list(t.bricks).map(String).filter(Boolean),
|
|
76824
|
-
btf: o,
|
|
76825
|
-
gender: l(t.gender_mix, "gender_mix"),
|
|
76826
|
-
total: t.total_options == null || t.total_options === "" ? [] : [String(t.total_options)],
|
|
76827
|
-
adherence: l(t.brand_adherence, "brand_adherence"),
|
|
76828
|
-
theme: list(c.themes).length ? list(c.themes).map(String) : text$1(c.name).trim() ? [text$1(c.name)] : [],
|
|
76829
|
-
notes: text$1(t.notes)
|
|
76830
|
-
};
|
|
76831
|
-
}
|
|
76832
|
-
function regenerateProblem(e) {
|
|
76833
|
-
const t = Object.values(e.btf).reduce((n, s) => n + s, 0);
|
|
76834
|
-
return e.categories.length ? t !== 100 ? "The BTF mix must total 100%." : e.gender.length ? !e.total.length || e.total.some((n) => !/^\d+$/.test(n) || Number(n) < 1 || Number(n) > 200) ? "Choose between 1 and 200 options." : e.adherence.length ? "" : "Choose a brand adherence." : "Choose a gender mix." : "Pick at least one category.";
|
|
76835
|
-
}
|
|
76836
|
-
function regenerateMessage(e, t, n) {
|
|
76837
|
-
const s = object(n.options), o = (d, h) => d.map((g) => options$2(s[h]).find((v) => v.value === g)?.label ?? g), l = t.categories.map((d) => {
|
|
76838
|
-
const h = options$2(s.categories).find((g) => g.value === d);
|
|
76839
|
-
return h ? h.label : readable(d);
|
|
76840
|
-
}), c = [
|
|
76841
|
-
`Regenerate the range plan with these choices (plan_refine thread_id: ${e}):`,
|
|
76842
|
-
`- Categories: ${l.join(", ")}`,
|
|
76843
|
-
`- BTF mix: ${BTF.map(({ key: d, label: h }) => `${h} ${t.btf[d]}%`).join(" / ")}`,
|
|
76844
|
-
`- Gender mix: ${o(t.gender, "gender_mix").join(", ")}`,
|
|
76845
|
-
`- Total options: ${t.total.join(", ")}`,
|
|
76846
|
-
`- Brand adherence: ${o(t.adherence, "brand_adherence").join(", ")}`,
|
|
76847
|
-
`- Theme: ${t.theme.length ? t.theme.join(" | ") : "No theme"}`
|
|
76848
|
-
];
|
|
76849
|
-
return t.notes.trim() && c.push(`- Other changes: ${t.notes.trim()}`), c.join(`
|
|
76850
|
-
`);
|
|
76851
|
-
}
|
|
76852
|
-
function MultiField({ label: e, choices: t, values: n, onChange: s, disabled: o, placeholder: l, numeric: c = !1, display: d = (g) => g, children: h }) {
|
|
76853
|
-
const [g, v] = useState(""), C = n.filter((R) => !t.some((I) => I.value === R)).map((R) => ({ value: R, label: d(R) })), N = (R) => s(n.includes(R) ? n.filter((I) => I !== R) : [...n, R]), T = () => {
|
|
76854
|
-
const R = g.replace(/\s*[,|]\s*/g, " ").replace(/\s+/g, " ").trim();
|
|
76855
|
-
if (!R) return;
|
|
76856
|
-
const I = t.find((P) => P.label.toLowerCase() === R.toLowerCase() || P.value.toLowerCase() === R.toLowerCase());
|
|
76857
|
-
s([.../* @__PURE__ */ new Set([...n, I?.value ?? R])]), v("");
|
|
76858
|
-
};
|
|
76859
|
-
return /* @__PURE__ */ jsxs("section", { className: "dreamer-stack dreamer-regenerate-field", children: [
|
|
76860
|
-
/* @__PURE__ */ jsx("h4", { children: e }),
|
|
76861
|
-
/* @__PURE__ */ jsx("p", { className: "dreamer-muted", children: "Select all that apply." }),
|
|
76862
|
-
/* @__PURE__ */ jsxs("div", { className: "dreamer-actions", role: "group", "aria-label": e, children: [
|
|
76863
|
-
[...t, ...C].map((R) => /* @__PURE__ */ jsx(Action, { disabled: o, selected: n.includes(R.value), onClick: () => N(R.value), children: R.label }, R.value)),
|
|
76864
|
-
h
|
|
76865
|
-
] }),
|
|
76866
|
-
/* @__PURE__ */ jsxs("div", { className: "dreamer-actions dreamer-typed", children: [
|
|
76867
|
-
/* @__PURE__ */ jsx(
|
|
76868
|
-
ScTextField,
|
|
76869
|
-
{
|
|
76870
|
-
"aria-label": `${e}: add your own`,
|
|
76871
|
-
placeholder: l,
|
|
76872
|
-
value: g,
|
|
76873
|
-
disabled: o,
|
|
76874
|
-
inputMode: c ? "numeric" : void 0,
|
|
76875
|
-
onChange: (R) => v(c ? R.target.value.replace(/[^\d]/g, "") : R.target.value),
|
|
76876
|
-
onKeyDown: (R) => {
|
|
76877
|
-
R.key === "Enter" && (R.preventDefault(), T());
|
|
76878
|
-
}
|
|
76879
|
-
}
|
|
76880
|
-
),
|
|
76881
|
-
/* @__PURE__ */ jsx(Action, { disabled: o || !g.trim(), onClick: T, children: "Add" })
|
|
76882
|
-
] })
|
|
76883
|
-
] });
|
|
76884
|
-
}
|
|
76885
|
-
function DreamerRegenerateForm({ ctx: e, threadId: t, onSend: n, onClose: s }) {
|
|
76886
|
-
const [o, l] = useState(() => initialChoices(e)), [c, d] = useState(!1), [h, g] = useState(""), v = object(e.options), C = (I) => l((P) => ({ ...P, ...I })), N = Object.values(o.btf).reduce((I, P) => I + P, 0), T = regenerateProblem(o), R = async () => {
|
|
76887
|
-
if (!(T || c)) {
|
|
76888
|
-
d(!0), g("");
|
|
76889
|
-
try {
|
|
76890
|
-
await n(regenerateMessage(t, o, e)), s();
|
|
76891
|
-
} catch {
|
|
76892
|
-
g("Could not send the request. Try again."), d(!1);
|
|
76893
|
-
}
|
|
76894
|
-
}
|
|
76895
|
-
};
|
|
76896
|
-
return /* @__PURE__ */ jsxs("section", { className: "dreamer-question-card dreamer-regenerate", "data-testid": "dreamer-regenerate", "aria-label": "Regenerate plan", children: [
|
|
76897
|
-
/* @__PURE__ */ jsxs("header", { className: "dreamer-question-header", children: [
|
|
76898
|
-
/* @__PURE__ */ jsx("h3", { children: "Regenerate plan" }),
|
|
76899
|
-
/* @__PURE__ */ jsx("p", { className: "dreamer-muted", children: "Your previous choices are filled in. Change any of them, then regenerate." })
|
|
76900
|
-
] }),
|
|
76901
|
-
/* @__PURE__ */ jsxs("div", { className: "dreamer-question-body dreamer-stack", children: [
|
|
76902
|
-
/* @__PURE__ */ jsx(MultiField, { label: "Product categories", choices: options$2(v.categories), values: o.categories, onChange: (I) => C({ categories: I }), disabled: c, placeholder: "Add a category…", display: readable }),
|
|
76903
|
-
/* @__PURE__ */ jsxs("section", { className: "dreamer-stack dreamer-regenerate-field", children: [
|
|
76904
|
-
/* @__PURE__ */ jsx("h4", { children: "Best Seller / Trending / Forecast mix" }),
|
|
76905
|
-
BTF.map(({ key: I, label: P }) => /* @__PURE__ */ jsxs("label", { className: "dreamer-stack", children: [
|
|
76906
|
-
/* @__PURE__ */ jsxs("span", { children: [
|
|
76907
|
-
P,
|
|
76908
|
-
": ",
|
|
76909
|
-
o.btf[I],
|
|
76910
|
-
"%"
|
|
76911
|
-
] }),
|
|
76912
|
-
/* @__PURE__ */ jsx("input", { "aria-label": P, type: "range", min: 0, max: 100, step: 1, value: o.btf[I], disabled: c, onChange: (F) => C({ btf: updateWeights(o.btf, I, Number(F.target.value)) }) })
|
|
76913
|
-
] }, I)),
|
|
76914
|
-
/* @__PURE__ */ jsxs("p", { className: "dreamer-muted", "aria-live": "polite", children: [
|
|
76915
|
-
"Total: ",
|
|
76916
|
-
N,
|
|
76917
|
-
"% of 100%"
|
|
76918
|
-
] })
|
|
76919
|
-
] }),
|
|
76920
|
-
/* @__PURE__ */ jsx(MultiField, { label: "Gender mix", choices: options$2(v.gender_mix), values: o.gender, onChange: (I) => C({ gender: I }), disabled: c, placeholder: "Add a mix, e.g. Women 60 / Men 40" }),
|
|
76921
|
-
/* @__PURE__ */ jsx(MultiField, { label: "Total design options", choices: options$2(v.total_options), values: o.total, onChange: (I) => C({ total: I }), disabled: c, placeholder: "Add a number", numeric: !0 }),
|
|
76922
|
-
/* @__PURE__ */ jsx(MultiField, { label: "Brand adherence", choices: options$2(v.brand_adherence), values: o.adherence, onChange: (I) => C({ adherence: I }), disabled: c, placeholder: "Add high, medium or low" }),
|
|
76923
|
-
/* @__PURE__ */ jsx(MultiField, { label: "Theme", choices: options$2(v.themes), values: o.theme, onChange: (I) => C({ theme: I }), disabled: c, placeholder: "Describe your own theme", children: /* @__PURE__ */ jsx(Action, { disabled: c, selected: !o.theme.length, onClick: () => C({ theme: [] }), children: "No theme" }) }),
|
|
76924
|
-
/* @__PURE__ */ jsxs("section", { className: "dreamer-stack dreamer-regenerate-field", children: [
|
|
76925
|
-
/* @__PURE__ */ jsx("h4", { children: "Other changes" }),
|
|
76926
|
-
/* @__PURE__ */ jsx(ScTextArea, { "aria-label": "Other changes", placeholder: "Anything else to change, e.g. more linen, fewer prints…", value: o.notes, disabled: c, onChange: (I) => C({ notes: I.target.value }) })
|
|
76927
|
-
] }),
|
|
76928
|
-
(T || h) && /* @__PURE__ */ jsx("p", { role: "alert", className: "dreamer-muted", children: h || T })
|
|
76929
|
-
] }),
|
|
76930
|
-
/* @__PURE__ */ jsxs("footer", { className: "dreamer-question-footer", children: [
|
|
76931
|
-
/* @__PURE__ */ jsx(Action, { disabled: c || !!T, onClick: () => {
|
|
76932
|
-
R();
|
|
76933
|
-
}, children: c ? "Regenerating…" : "Regenerate plan" }),
|
|
76934
|
-
/* @__PURE__ */ jsx(Action, { disabled: c, onClick: s, children: "Cancel" })
|
|
76935
|
-
] })
|
|
76936
|
-
] });
|
|
76937
|
-
}
|
|
76938
76801
|
function Question({ question: e, storageKey: t, disabled: n, onSubmit: s }) {
|
|
76939
76802
|
const [o, l] = useState(() => {
|
|
76940
76803
|
try {
|
|
@@ -76955,21 +76818,16 @@ function Question({ question: e, storageKey: t, disabled: n, onSubmit: s }) {
|
|
|
76955
76818
|
/* @__PURE__ */ jsx("footer", { className: "dreamer-question-footer", children: /* @__PURE__ */ jsx(Action, { disabled: n, onClick: () => s({ cancel: !0 }), children: "Cancel" }) })
|
|
76956
76819
|
] });
|
|
76957
76820
|
}
|
|
76958
|
-
function Regenerate({ ctx: e, threadId: t, send: n }) {
|
|
76959
|
-
const [s, o] = useState(!1);
|
|
76960
|
-
return s ? /* @__PURE__ */ jsx(DreamerRegenerateForm, { ctx: e, threadId: t, onSend: (l) => n(l), onClose: () => o(!1) }) : /* @__PURE__ */ jsx("div", { className: "dreamer-actions dreamer-regenerate-entry", children: /* @__PURE__ */ jsx(Action, { onClick: () => o(!0), children: "Regenerate" }) });
|
|
76961
|
-
}
|
|
76962
76821
|
function DreamerPanel(e) {
|
|
76963
|
-
const t = object(e.uiProps.question), n = text$1(t.id), s = !!(n && e.uiProps.resume && !e.submitted), o = records(e.uiProps.components).map((
|
|
76964
|
-
s && e.onSubmit({ question_id: n, answer:
|
|
76822
|
+
const t = object(e.uiProps.question), n = text$1(t.id), s = !!(n && e.uiProps.resume && !e.submitted), o = records(e.uiProps.components).map((d) => ({ component: text$1(d.component), title: text$1(d.title), props: object(d.props) })), l = `artifax:dreamer:${e.workspaceId}:${e.userId}:${e.conversationId}:${n}`, c = (d) => {
|
|
76823
|
+
s && e.onSubmit({ question_id: n, answer: d }, answerSummary(d));
|
|
76965
76824
|
};
|
|
76966
|
-
return e.uiProps._inline_question === !0 ? s ? /* @__PURE__ */ jsx("div", { className: "dreamer-panel dreamer-inline-form", children: /* @__PURE__ */ jsx(Question, { question: { id: n, prompt: text$1(t.prompt), config: object(t.config) }, storageKey:
|
|
76825
|
+
return e.uiProps._inline_question === !0 ? s ? /* @__PURE__ */ jsx("div", { className: "dreamer-panel dreamer-inline-form", children: /* @__PURE__ */ jsx(Question, { question: { id: n, prompt: text$1(t.prompt), config: object(t.config) }, storageKey: l, disabled: !!e.uiProps._submitting, onSubmit: c }, n) }) : null : /* @__PURE__ */ jsxs("div", { className: "dreamer-panel dreamer-stack", "data-testid": "dreamer-panel", "data-run-id": text$1(e.uiProps.run_id), children: [
|
|
76967
76826
|
/* @__PURE__ */ jsx("h2", { children: text$1(e.uiProps.title) || "Artifax" }),
|
|
76968
76827
|
text$1(e.uiProps.summary) && /* @__PURE__ */ jsx("p", { children: text$1(e.uiProps.summary) }),
|
|
76969
76828
|
text$1(e.uiProps.error) && /* @__PURE__ */ jsx("p", { role: "alert", children: text$1(e.uiProps.error) }),
|
|
76970
|
-
o.map((
|
|
76971
|
-
|
|
76972
|
-
s && /* @__PURE__ */ jsx(Question, { question: { id: n, prompt: text$1(t.prompt), config: object(t.config) }, storageKey: h, disabled: !!e.uiProps._submitting, onSubmit: g }, n),
|
|
76829
|
+
o.map((d, h) => /* @__PURE__ */ jsx(DreamerResults, { result: d }, h)),
|
|
76830
|
+
s && /* @__PURE__ */ jsx(Question, { question: { id: n, prompt: text$1(t.prompt), config: object(t.config) }, storageKey: l, disabled: !!e.uiProps._submitting, onSubmit: c }, n),
|
|
76973
76831
|
!s && n && (e.submitted ? /* @__PURE__ */ jsx(DreamerSubmittedSummary, { ...e, question: t, answer: e.submittedValues?.answer ?? e.submittedValues?.value ?? "Answer received." }) : /* @__PURE__ */ jsx("p", { className: "dreamer-muted", children: "This question is no longer active." })),
|
|
76974
76832
|
!n && !o.length && !e.uiProps.summary && /* @__PURE__ */ jsx("p", { className: "dreamer-muted", children: "Your Artifax results will appear here." })
|
|
76975
76833
|
] });
|
|
@@ -94690,7 +94548,7 @@ Error generating stack: ` + te.message + `
|
|
|
94690
94548
|
var M = E[Jt];
|
|
94691
94549
|
return M || (M = E[Jt] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), M;
|
|
94692
94550
|
}
|
|
94693
|
-
function
|
|
94551
|
+
function lr(E) {
|
|
94694
94552
|
E[Sn] = !0;
|
|
94695
94553
|
}
|
|
94696
94554
|
var _r = /* @__PURE__ */ new Set(), Nr = {};
|
|
@@ -94704,11 +94562,11 @@ Error generating stack: ` + te.message + `
|
|
|
94704
94562
|
var cr = RegExp(
|
|
94705
94563
|
"^[: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]*$"
|
|
94706
94564
|
), si = {}, Ka = {};
|
|
94707
|
-
function
|
|
94565
|
+
function sr(E) {
|
|
94708
94566
|
return Fn.call(Ka, E) ? !0 : Fn.call(si, E) ? !1 : cr.test(E) ? Ka[E] = !0 : (si[E] = !0, !1);
|
|
94709
94567
|
}
|
|
94710
94568
|
function $a(E, M, V) {
|
|
94711
|
-
if (
|
|
94569
|
+
if (sr(M))
|
|
94712
94570
|
if (V === null) E.removeAttribute(M);
|
|
94713
94571
|
else {
|
|
94714
94572
|
switch (typeof V) {
|
|
@@ -95018,9 +94876,9 @@ Error generating stack: ` + te.message + `
|
|
|
95018
94876
|
["writingMode", "writing-mode"],
|
|
95019
94877
|
["xmlnsXlink", "xmlns:xlink"],
|
|
95020
94878
|
["xHeight", "x-height"]
|
|
95021
|
-
]),
|
|
94879
|
+
]), Yr = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
|
|
95022
94880
|
function Qa(E) {
|
|
95023
|
-
return
|
|
94881
|
+
return Yr.test("" + E) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : E;
|
|
95024
94882
|
}
|
|
95025
94883
|
function ji() {
|
|
95026
94884
|
}
|
|
@@ -95483,7 +95341,7 @@ Error generating stack: ` + te.message + `
|
|
|
95483
95341
|
for (; E && E.firstChild; ) E = E.firstChild;
|
|
95484
95342
|
return E;
|
|
95485
95343
|
}
|
|
95486
|
-
function
|
|
95344
|
+
function Kr(E, M) {
|
|
95487
95345
|
var V = Lr(E);
|
|
95488
95346
|
E = 0;
|
|
95489
95347
|
for (var te; V; ) {
|
|
@@ -95505,8 +95363,8 @@ Error generating stack: ` + te.message + `
|
|
|
95505
95363
|
V = Lr(V);
|
|
95506
95364
|
}
|
|
95507
95365
|
}
|
|
95508
|
-
function
|
|
95509
|
-
return E && M ? E === M ? !0 : E && E.nodeType === 3 ? !1 : M && M.nodeType === 3 ?
|
|
95366
|
+
function Qr(E, M) {
|
|
95367
|
+
return E && M ? E === M ? !0 : E && E.nodeType === 3 ? !1 : M && M.nodeType === 3 ? Qr(E, M.parentNode) : "contains" in E ? E.contains(M) : E.compareDocumentPosition ? !!(E.compareDocumentPosition(M) & 16) : !1 : !1;
|
|
95510
95368
|
}
|
|
95511
95369
|
function sa(E) {
|
|
95512
95370
|
E = E != null && E.ownerDocument != null && E.ownerDocument.defaultView != null ? E.ownerDocument.defaultView : window;
|
|
@@ -95785,31 +95643,31 @@ Error generating stack: ` + te.message + `
|
|
|
95785
95643
|
var M = E.stateNode, V = E.type, te = E.memoizedProps;
|
|
95786
95644
|
switch (M[ct] = E, M[St] = te, V) {
|
|
95787
95645
|
case "dialog":
|
|
95788
|
-
|
|
95646
|
+
Xr("cancel", M), Xr("close", M);
|
|
95789
95647
|
break;
|
|
95790
95648
|
case "iframe":
|
|
95791
95649
|
case "object":
|
|
95792
95650
|
case "embed":
|
|
95793
|
-
|
|
95651
|
+
Xr("load", M);
|
|
95794
95652
|
break;
|
|
95795
95653
|
case "video":
|
|
95796
95654
|
case "audio":
|
|
95797
95655
|
for (V = 0; V < Uf.length; V++)
|
|
95798
|
-
|
|
95656
|
+
Xr(Uf[V], M);
|
|
95799
95657
|
break;
|
|
95800
95658
|
case "source":
|
|
95801
|
-
|
|
95659
|
+
Xr("error", M);
|
|
95802
95660
|
break;
|
|
95803
95661
|
case "img":
|
|
95804
95662
|
case "image":
|
|
95805
95663
|
case "link":
|
|
95806
|
-
|
|
95664
|
+
Xr("error", M), Xr("load", M);
|
|
95807
95665
|
break;
|
|
95808
95666
|
case "details":
|
|
95809
|
-
|
|
95667
|
+
Xr("toggle", M);
|
|
95810
95668
|
break;
|
|
95811
95669
|
case "input":
|
|
95812
|
-
|
|
95670
|
+
Xr("invalid", M), oi(
|
|
95813
95671
|
M,
|
|
95814
95672
|
te.value,
|
|
95815
95673
|
te.defaultValue,
|
|
@@ -95821,12 +95679,12 @@ Error generating stack: ` + te.message + `
|
|
|
95821
95679
|
);
|
|
95822
95680
|
break;
|
|
95823
95681
|
case "select":
|
|
95824
|
-
|
|
95682
|
+
Xr("invalid", M);
|
|
95825
95683
|
break;
|
|
95826
95684
|
case "textarea":
|
|
95827
|
-
|
|
95685
|
+
Xr("invalid", M), ld(M, te.value, te.defaultValue, te.children);
|
|
95828
95686
|
}
|
|
95829
|
-
V = te.children, typeof V != "string" && typeof V != "number" && typeof V != "bigint" || M.textContent === "" + V || te.suppressHydrationWarning === !0 || R0(M.textContent, V) ? (te.popover != null && (
|
|
95687
|
+
V = te.children, typeof V != "string" && typeof V != "number" && typeof V != "bigint" || M.textContent === "" + V || te.suppressHydrationWarning === !0 || R0(M.textContent, V) ? (te.popover != null && (Xr("beforetoggle", M), Xr("toggle", M)), te.onScroll != null && Xr("scroll", M), te.onScrollEnd != null && Xr("scrollend", M), te.onClick != null && (M.onclick = ji), M = !0) : M = !1, M || js(E, !0);
|
|
95830
95688
|
}
|
|
95831
95689
|
function lc(E) {
|
|
95832
95690
|
for (ki = E.return; ki; )
|
|
@@ -95993,7 +95851,7 @@ Error generating stack: ` + te.message + `
|
|
|
95993
95851
|
return V();
|
|
95994
95852
|
});
|
|
95995
95853
|
};
|
|
95996
|
-
}, Rp = t.unstable_scheduleCallback, Iu = t.unstable_NormalPriority,
|
|
95854
|
+
}, Rp = t.unstable_scheduleCallback, Iu = t.unstable_NormalPriority, Jr = {
|
|
95997
95855
|
$$typeof: ne,
|
|
95998
95856
|
Consumer: null,
|
|
95999
95857
|
Provider: null,
|
|
@@ -96069,7 +95927,7 @@ Error generating stack: ` + te.message + `
|
|
|
96069
95927
|
}
|
|
96070
95928
|
function vr() {
|
|
96071
95929
|
var E = Xn();
|
|
96072
|
-
return E === null ? null : { parent:
|
|
95930
|
+
return E === null ? null : { parent: Jr._currentValue, pool: E };
|
|
96073
95931
|
}
|
|
96074
95932
|
var $r = Error(o(460)), wa = Error(o(474)), Oi = Error(o(542)), Ua = { then: function() {
|
|
96075
95933
|
} };
|
|
@@ -96326,7 +96184,7 @@ Error generating stack: ` + te.message + `
|
|
|
96326
96184
|
}
|
|
96327
96185
|
return null;
|
|
96328
96186
|
}
|
|
96329
|
-
function
|
|
96187
|
+
function or(bn, hn, _n, Bn) {
|
|
96330
96188
|
for (var mr = null, oa = null, pr = hn, Ar = hn = 0, Pr = null; pr !== null && Ar < _n.length; Ar++) {
|
|
96331
96189
|
pr.index > Ar ? (Pr = pr, pr = null) : Pr = pr.sibling;
|
|
96332
96190
|
var da = Tn(
|
|
@@ -96468,7 +96326,7 @@ Error generating stack: ` + te.message + `
|
|
|
96468
96326
|
);
|
|
96469
96327
|
}
|
|
96470
96328
|
if (et(_n))
|
|
96471
|
-
return
|
|
96329
|
+
return or(
|
|
96472
96330
|
bn,
|
|
96473
96331
|
hn,
|
|
96474
96332
|
_n,
|
|
@@ -96540,7 +96398,7 @@ Error generating stack: ` + te.message + `
|
|
|
96540
96398
|
function sl(E) {
|
|
96541
96399
|
return { lane: E, tag: 0, payload: null, callback: null, next: null };
|
|
96542
96400
|
}
|
|
96543
|
-
function
|
|
96401
|
+
function Gr(E, M, V) {
|
|
96544
96402
|
var te = E.updateQueue;
|
|
96545
96403
|
if (te === null) return null;
|
|
96546
96404
|
if (te = te.shared, (ua & 2) !== 0) {
|
|
@@ -96607,7 +96465,7 @@ Error generating stack: ` + te.message + `
|
|
|
96607
96465
|
xt = 0, On = En = sn = null, zt = qe;
|
|
96608
96466
|
do {
|
|
96609
96467
|
var Tn = zt.lane & -536870913, Ln = Tn !== zt.lane;
|
|
96610
|
-
if (Ln ? (
|
|
96468
|
+
if (Ln ? (qr & Tn) === Tn : (te & Tn) === Tn) {
|
|
96611
96469
|
Tn !== 0 && Tn === ms && (jg = !0), On !== null && (On = On.next = {
|
|
96612
96470
|
lane: 0,
|
|
96613
96471
|
tag: zt.tag,
|
|
@@ -96616,21 +96474,21 @@ Error generating stack: ` + te.message + `
|
|
|
96616
96474
|
next: null
|
|
96617
96475
|
});
|
|
96618
96476
|
e: {
|
|
96619
|
-
var
|
|
96477
|
+
var or = E, yr = zt;
|
|
96620
96478
|
Tn = M;
|
|
96621
96479
|
var ka = V;
|
|
96622
96480
|
switch (yr.tag) {
|
|
96623
96481
|
case 1:
|
|
96624
|
-
if (
|
|
96625
|
-
Hn =
|
|
96482
|
+
if (or = yr.payload, typeof or == "function") {
|
|
96483
|
+
Hn = or.call(ka, Hn, Tn);
|
|
96626
96484
|
break e;
|
|
96627
96485
|
}
|
|
96628
|
-
Hn =
|
|
96486
|
+
Hn = or;
|
|
96629
96487
|
break e;
|
|
96630
96488
|
case 3:
|
|
96631
|
-
|
|
96489
|
+
or.flags = or.flags & -65537 | 128;
|
|
96632
96490
|
case 0:
|
|
96633
|
-
if (
|
|
96491
|
+
if (or = yr.payload, Tn = typeof or == "function" ? or.call(ka, Hn, Tn) : or, Tn == null) break e;
|
|
96634
96492
|
Hn = N({}, Hn, Tn);
|
|
96635
96493
|
break e;
|
|
96636
96494
|
case 2:
|
|
@@ -96859,7 +96717,7 @@ Error generating stack: ` + te.message + `
|
|
|
96859
96717
|
var zt = xt = null, sn = null, En = M, On = !1;
|
|
96860
96718
|
do {
|
|
96861
96719
|
var Hn = En.lane & -536870913;
|
|
96862
|
-
if (Hn !== En.lane ? (
|
|
96720
|
+
if (Hn !== En.lane ? (qr & Hn) === Hn : (hc & Hn) === Hn) {
|
|
96863
96721
|
var Tn = En.revertLane;
|
|
96864
96722
|
if (Tn === 0)
|
|
96865
96723
|
sn !== null && (sn = sn.next = {
|
|
@@ -97266,10 +97124,10 @@ Error generating stack: ` + te.message + `
|
|
|
97266
97124
|
return V.memoizedState = [te, M], te;
|
|
97267
97125
|
}
|
|
97268
97126
|
function zp(E, M, V) {
|
|
97269
|
-
return V === void 0 || (hc & 1073741824) !== 0 && (
|
|
97127
|
+
return V === void 0 || (hc & 1073741824) !== 0 && (qr & 261930) === 0 ? E.memoizedState = M : (E.memoizedState = V, E = lv(), Rr.lanes |= E, Fl |= E, V);
|
|
97270
97128
|
}
|
|
97271
97129
|
function xc(E, M, V, te) {
|
|
97272
|
-
return Kn(V, M) ? V : Pi.current !== null ? (E = zp(E, V, te), Kn(E, M) || (xi = !0), E) : (hc & 42) === 0 || (hc & 1073741824) !== 0 && (
|
|
97130
|
+
return Kn(V, M) ? V : Pi.current !== null ? (E = zp(E, V, te), Kn(E, M) || (xi = !0), E) : (hc & 42) === 0 || (hc & 1073741824) !== 0 && (qr & 261930) === 0 ? (xi = !0, E.memoizedState = V) : (E = lv(), Rr.lanes |= E, Fl |= E, M);
|
|
97273
97131
|
}
|
|
97274
97132
|
function om(E, M, V, te, Be) {
|
|
97275
97133
|
var qe = it.p;
|
|
@@ -97379,7 +97237,7 @@ Error generating stack: ` + te.message + `
|
|
|
97379
97237
|
case 3:
|
|
97380
97238
|
var V = wo();
|
|
97381
97239
|
E = sl(V);
|
|
97382
|
-
var te =
|
|
97240
|
+
var te = Gr(M, E, V);
|
|
97383
97241
|
te !== null && (io(te, M, V), jl(te, M, V)), M = { cache: Do() }, E.payload = M;
|
|
97384
97242
|
return;
|
|
97385
97243
|
}
|
|
@@ -97584,7 +97442,7 @@ Error generating stack: ` + te.message + `
|
|
|
97584
97442
|
} else {
|
|
97585
97443
|
if (V = M(), Ca === null)
|
|
97586
97444
|
throw Error(o(349));
|
|
97587
|
-
(
|
|
97445
|
+
(qr & 127) !== 0 || Op(te, M, V);
|
|
97588
97446
|
}
|
|
97589
97447
|
Be.memoizedState = V;
|
|
97590
97448
|
var qe = { value: V, getSnapshot: M };
|
|
@@ -97744,17 +97602,17 @@ Error generating stack: ` + te.message + `
|
|
|
97744
97602
|
enqueueSetState: function(E, M, V) {
|
|
97745
97603
|
E = E._reactInternals;
|
|
97746
97604
|
var te = wo(), Be = sl(te);
|
|
97747
|
-
Be.payload = M, V != null && (Be.callback = V), M =
|
|
97605
|
+
Be.payload = M, V != null && (Be.callback = V), M = Gr(E, Be, te), M !== null && (io(M, E, te), jl(M, E, te));
|
|
97748
97606
|
},
|
|
97749
97607
|
enqueueReplaceState: function(E, M, V) {
|
|
97750
97608
|
E = E._reactInternals;
|
|
97751
97609
|
var te = wo(), Be = sl(te);
|
|
97752
|
-
Be.tag = 1, Be.payload = M, V != null && (Be.callback = V), M =
|
|
97610
|
+
Be.tag = 1, Be.payload = M, V != null && (Be.callback = V), M = Gr(E, Be, te), M !== null && (io(M, E, te), jl(M, E, te));
|
|
97753
97611
|
},
|
|
97754
97612
|
enqueueForceUpdate: function(E, M) {
|
|
97755
97613
|
E = E._reactInternals;
|
|
97756
97614
|
var V = wo(), te = sl(V);
|
|
97757
|
-
te.tag = 2, M != null && (te.callback = M), M =
|
|
97615
|
+
te.tag = 2, M != null && (te.callback = M), M = Gr(E, te, V), M !== null && (io(M, E, V), jl(M, E, V));
|
|
97758
97616
|
}
|
|
97759
97617
|
};
|
|
97760
97618
|
function Kg(E, M, V, te, Be, qe, xt) {
|
|
@@ -98006,7 +97864,7 @@ Error generating stack: ` + te.message + `
|
|
|
98006
97864
|
}
|
|
98007
97865
|
function eo(E, M, V, te, Be) {
|
|
98008
97866
|
var qe = Xn();
|
|
98009
|
-
return qe = qe === null ? null : { parent:
|
|
97867
|
+
return qe = qe === null ? null : { parent: Jr._currentValue, pool: qe }, M.memoizedState = {
|
|
98010
97868
|
baseLanes: V,
|
|
98011
97869
|
cachePool: qe
|
|
98012
97870
|
}, E !== null && Qn(M, null), jp(), Wh(M), E !== null && $i(E, M, te, !0), M.childLanes = Be, null;
|
|
@@ -98282,7 +98140,7 @@ Error generating stack: ` + te.message + `
|
|
|
98282
98140
|
Be,
|
|
98283
98141
|
V,
|
|
98284
98142
|
null
|
|
98285
|
-
), zt.flags |= 2), zt.return = M, te.return = M, te.sibling = zt, M.child = te, Hu(null, te), te = M.child, zt = E.child.memoizedState, zt === null ? zt = Wp(V) : (Be = zt.cachePool, Be !== null ? (sn =
|
|
98143
|
+
), zt.flags |= 2), zt.return = M, te.return = M, te.sibling = zt, M.child = te, Hu(null, te), te = M.child, zt = E.child.memoizedState, zt === null ? zt = Wp(V) : (Be = zt.cachePool, Be !== null ? (sn = Jr._currentValue, Be = Be.parent !== sn ? { parent: sn, pool: sn } : Be) : Be = vr(), zt = {
|
|
98286
98144
|
baseLanes: zt.baseLanes | V,
|
|
98287
98145
|
cachePool: Be
|
|
98288
98146
|
}), te.memoizedState = zt, te.childLanes = Po(
|
|
@@ -98420,7 +98278,7 @@ Error generating stack: ` + te.message + `
|
|
|
98420
98278
|
function xm(E, M, V) {
|
|
98421
98279
|
switch (M.tag) {
|
|
98422
98280
|
case 3:
|
|
98423
|
-
At(M, M.stateNode.containerInfo), Ii(M,
|
|
98281
|
+
At(M, M.stateNode.containerInfo), Ii(M, Jr, E.memoizedState.cache), Ra();
|
|
98424
98282
|
break;
|
|
98425
98283
|
case 27:
|
|
98426
98284
|
case 5:
|
|
@@ -98476,7 +98334,7 @@ Error generating stack: ` + te.message + `
|
|
|
98476
98334
|
M.pendingProps
|
|
98477
98335
|
);
|
|
98478
98336
|
case 24:
|
|
98479
|
-
Ii(M,
|
|
98337
|
+
Ii(M, Jr, E.memoizedState.cache);
|
|
98480
98338
|
}
|
|
98481
98339
|
return Fo(E, M, V);
|
|
98482
98340
|
}
|
|
@@ -98569,9 +98427,9 @@ Error generating stack: ` + te.message + `
|
|
|
98569
98427
|
var qe = M.memoizedState;
|
|
98570
98428
|
Be = qe.element, xf(E, M), fc(M, te, null, V);
|
|
98571
98429
|
var xt = M.memoizedState;
|
|
98572
|
-
if (te = xt.cache, Ii(M,
|
|
98430
|
+
if (te = xt.cache, Ii(M, Jr, te), te !== qe.cache && hs(
|
|
98573
98431
|
M,
|
|
98574
|
-
[
|
|
98432
|
+
[Jr],
|
|
98575
98433
|
V,
|
|
98576
98434
|
!0
|
|
98577
98435
|
), Fu(), te = xt.element, qe.isDehydrated)
|
|
@@ -98628,7 +98486,7 @@ Error generating stack: ` + te.message + `
|
|
|
98628
98486
|
null
|
|
98629
98487
|
)) ? M.memoizedState = V : Ir || (V = M.type, E = M.pendingProps, te = Zu(
|
|
98630
98488
|
vt.current
|
|
98631
|
-
).createElement(V), te[ct] = M, te[St] = E, gs(te, V, E),
|
|
98489
|
+
).createElement(V), te[ct] = M, te[St] = E, gs(te, V, E), lr(te), M.stateNode = te) : M.memoizedState = Yf(
|
|
98632
98490
|
M.type,
|
|
98633
98491
|
E.memoizedProps,
|
|
98634
98492
|
M.pendingProps,
|
|
@@ -98738,9 +98596,9 @@ Error generating stack: ` + te.message + `
|
|
|
98738
98596
|
M.pendingProps
|
|
98739
98597
|
);
|
|
98740
98598
|
case 24:
|
|
98741
|
-
return Sr(M), te = Un(
|
|
98599
|
+
return Sr(M), te = Un(Jr), E === null ? (Be = Xn(), Be === null && (Be = Ca, qe = Do(), Be.pooledCache = qe, qe.refCount++, qe !== null && (Be.pooledCacheLanes |= V), Be = qe), M.memoizedState = { parent: te, cache: Be }, gf(M), Ii(M, Jr, Be)) : ((E.lanes & V) !== 0 && (xf(E, M), fc(M, null, null, V), Fu()), Be = E.memoizedState, qe = M.memoizedState, Be.parent !== te ? (Be = { parent: te, cache: te }, M.memoizedState = Be, M.lanes === 0 && (M.memoizedState = M.updateQueue.baseState = Be), Ii(M, Jr, te)) : (te = qe.cache, Ii(M, Jr, te), te !== Be.cache && hs(
|
|
98742
98600
|
M,
|
|
98743
|
-
[
|
|
98601
|
+
[Jr],
|
|
98744
98602
|
V,
|
|
98745
98603
|
!0
|
|
98746
98604
|
))), Pa(
|
|
@@ -98819,7 +98677,7 @@ Error generating stack: ` + te.message + `
|
|
|
98819
98677
|
case 1:
|
|
98820
98678
|
return Er(M), null;
|
|
98821
98679
|
case 3:
|
|
98822
|
-
return V = M.stateNode, te = null, E !== null && (te = E.memoizedState.cache), M.memoizedState.cache !== te && (M.flags |= 2048), Ks(
|
|
98680
|
+
return V = M.stateNode, te = null, E !== null && (te = E.memoizedState.cache), M.memoizedState.cache !== te && (M.flags |= 2048), Ks(Jr), pt(), V.pendingContext && (V.context = V.pendingContext, V.pendingContext = null), (E === null || E.child === null) && (Mo(M) ? yc(M) : E === null || E.memoizedState.isDehydrated && (M.flags & 256) === 0 || (M.flags |= 1024, Np())), Er(M), null;
|
|
98823
98681
|
case 26:
|
|
98824
98682
|
var Be = M.type, qe = M.memoizedState;
|
|
98825
98683
|
return E === null ? (yc(M), qe !== null ? (Er(M), c0(M, qe)) : (Er(M), l0(
|
|
@@ -99037,7 +98895,7 @@ Error generating stack: ` + te.message + `
|
|
|
99037
98895
|
case 23:
|
|
99038
98896
|
return Js(M), vf(), te = M.memoizedState !== null, E !== null ? E.memoizedState !== null !== te && (M.flags |= 8192) : te && (M.flags |= 8192), te ? (V & 536870912) !== 0 && (M.flags & 128) === 0 && (Er(M), M.subtreeFlags & 6 && (M.flags |= 8192)) : Er(M), V = M.updateQueue, V !== null && Ls(M, V.retryQueue), V = null, E !== null && E.memoizedState !== null && E.memoizedState.cachePool !== null && (V = E.memoizedState.cachePool.pool), te = null, M.memoizedState !== null && M.memoizedState.cachePool !== null && (te = M.memoizedState.cachePool.pool), te !== V && (M.flags |= 2048), E !== null && ke(kn), null;
|
|
99039
98897
|
case 24:
|
|
99040
|
-
return V = null, E !== null && (V = E.memoizedState.cache), M.memoizedState.cache !== V && (M.flags |= 2048), Ks(
|
|
98898
|
+
return V = null, E !== null && (V = E.memoizedState.cache), M.memoizedState.cache !== V && (M.flags |= 2048), Ks(Jr), Er(M), null;
|
|
99041
98899
|
case 25:
|
|
99042
98900
|
return null;
|
|
99043
98901
|
case 30:
|
|
@@ -99050,7 +98908,7 @@ Error generating stack: ` + te.message + `
|
|
|
99050
98908
|
case 1:
|
|
99051
98909
|
return E = M.flags, E & 65536 ? (M.flags = E & -65537 | 128, M) : null;
|
|
99052
98910
|
case 3:
|
|
99053
|
-
return Ks(
|
|
98911
|
+
return Ks(Jr), pt(), E = M.flags, (E & 65536) !== 0 && (E & 128) === 0 ? (M.flags = E & -65537 | 128, M) : null;
|
|
99054
98912
|
case 26:
|
|
99055
98913
|
case 27:
|
|
99056
98914
|
case 5:
|
|
@@ -99079,7 +98937,7 @@ Error generating stack: ` + te.message + `
|
|
|
99079
98937
|
case 23:
|
|
99080
98938
|
return Js(M), vf(), E !== null && ke(kn), E = M.flags, E & 65536 ? (M.flags = E & -65537 | 128, M) : null;
|
|
99081
98939
|
case 24:
|
|
99082
|
-
return Ks(
|
|
98940
|
+
return Ks(Jr), null;
|
|
99083
98941
|
case 25:
|
|
99084
98942
|
return null;
|
|
99085
98943
|
default:
|
|
@@ -99089,7 +98947,7 @@ Error generating stack: ` + te.message + `
|
|
|
99089
98947
|
function av(E, M) {
|
|
99090
98948
|
switch (il(M), M.tag) {
|
|
99091
98949
|
case 3:
|
|
99092
|
-
Ks(
|
|
98950
|
+
Ks(Jr), pt();
|
|
99093
98951
|
break;
|
|
99094
98952
|
case 26:
|
|
99095
98953
|
case 27:
|
|
@@ -99116,7 +98974,7 @@ Error generating stack: ` + te.message + `
|
|
|
99116
98974
|
Js(M), vf(), E !== null && ke(kn);
|
|
99117
98975
|
break;
|
|
99118
98976
|
case 24:
|
|
99119
|
-
Ks(
|
|
98977
|
+
Ks(Jr);
|
|
99120
98978
|
}
|
|
99121
98979
|
}
|
|
99122
98980
|
function ll(E, M) {
|
|
@@ -99354,12 +99212,12 @@ Error generating stack: ` + te.message + `
|
|
|
99354
99212
|
if ((E & 1024) !== 0 && qe !== null) {
|
|
99355
99213
|
E = void 0, V = M, Be = qe.memoizedProps, qe = qe.memoizedState, te = V.stateNode;
|
|
99356
99214
|
try {
|
|
99357
|
-
var
|
|
99215
|
+
var or = Uu(
|
|
99358
99216
|
V.type,
|
|
99359
99217
|
Be
|
|
99360
99218
|
);
|
|
99361
99219
|
E = te.getSnapshotBeforeUpdate(
|
|
99362
|
-
|
|
99220
|
+
or,
|
|
99363
99221
|
qe
|
|
99364
99222
|
), te.__reactInternalSnapshotBeforeUpdate = E;
|
|
99365
99223
|
} catch (yr) {
|
|
@@ -99710,7 +99568,7 @@ Error generating stack: ` + te.message + `
|
|
|
99710
99568
|
qe = Be.getElementsByTagName("title")[0], (!qe || qe[Sn] || qe[ct] || qe.namespaceURI === "http://www.w3.org/2000/svg" || qe.hasAttribute("itemprop")) && (qe = Be.createElement(te), Be.head.insertBefore(
|
|
99711
99569
|
qe,
|
|
99712
99570
|
Be.querySelector("head > title")
|
|
99713
|
-
)), gs(qe, te, V), qe[ct] = E,
|
|
99571
|
+
)), gs(qe, te, V), qe[ct] = E, lr(qe), te = qe;
|
|
99714
99572
|
break e;
|
|
99715
99573
|
case "link":
|
|
99716
99574
|
var xt = z0(
|
|
@@ -99744,7 +99602,7 @@ Error generating stack: ` + te.message + `
|
|
|
99744
99602
|
default:
|
|
99745
99603
|
throw Error(o(468, te));
|
|
99746
99604
|
}
|
|
99747
|
-
qe[ct] = E,
|
|
99605
|
+
qe[ct] = E, lr(qe), te = qe;
|
|
99748
99606
|
}
|
|
99749
99607
|
E.stateNode = te;
|
|
99750
99608
|
} else
|
|
@@ -99787,8 +99645,8 @@ Error generating stack: ` + te.message + `
|
|
|
99787
99645
|
Be = E.stateNode;
|
|
99788
99646
|
try {
|
|
99789
99647
|
ws(Be, "");
|
|
99790
|
-
} catch (
|
|
99791
|
-
va(E, E.return,
|
|
99648
|
+
} catch (or) {
|
|
99649
|
+
va(E, E.return, or);
|
|
99792
99650
|
}
|
|
99793
99651
|
}
|
|
99794
99652
|
te & 4 && E.stateNode != null && (Be = E.memoizedProps, ym(
|
|
@@ -99804,8 +99662,8 @@ Error generating stack: ` + te.message + `
|
|
|
99804
99662
|
te = E.memoizedProps, V = E.stateNode;
|
|
99805
99663
|
try {
|
|
99806
99664
|
V.nodeValue = te;
|
|
99807
|
-
} catch (
|
|
99808
|
-
va(E, E.return,
|
|
99665
|
+
} catch (or) {
|
|
99666
|
+
va(E, E.return, or);
|
|
99809
99667
|
}
|
|
99810
99668
|
}
|
|
99811
99669
|
break;
|
|
@@ -99813,8 +99671,8 @@ Error generating stack: ` + te.message + `
|
|
|
99813
99671
|
if (Qf = null, Be = Or, Or = Is(M.containerInfo), ro(M, E), Or = Be, vo(E), te & 4 && V !== null && V.memoizedState.isDehydrated)
|
|
99814
99672
|
try {
|
|
99815
99673
|
rp(M.containerInfo);
|
|
99816
|
-
} catch (
|
|
99817
|
-
va(E, E.return,
|
|
99674
|
+
} catch (or) {
|
|
99675
|
+
va(E, E.return, or);
|
|
99818
99676
|
}
|
|
99819
99677
|
bm && (bm = !1, x0(E));
|
|
99820
99678
|
break;
|
|
@@ -99848,8 +99706,8 @@ Error generating stack: ` + te.message + `
|
|
|
99848
99706
|
var Hn = sn.memoizedProps.style, Tn = Hn != null && Hn.hasOwnProperty("display") ? Hn.display : null;
|
|
99849
99707
|
zt.style.display = Tn == null || typeof Tn == "boolean" ? "" : ("" + Tn).trim();
|
|
99850
99708
|
}
|
|
99851
|
-
} catch (
|
|
99852
|
-
va(sn, sn.return,
|
|
99709
|
+
} catch (or) {
|
|
99710
|
+
va(sn, sn.return, or);
|
|
99853
99711
|
}
|
|
99854
99712
|
}
|
|
99855
99713
|
} else if (M.tag === 6) {
|
|
@@ -99857,8 +99715,8 @@ Error generating stack: ` + te.message + `
|
|
|
99857
99715
|
sn = M;
|
|
99858
99716
|
try {
|
|
99859
99717
|
sn.stateNode.nodeValue = Be ? "" : sn.memoizedProps;
|
|
99860
|
-
} catch (
|
|
99861
|
-
va(sn, sn.return,
|
|
99718
|
+
} catch (or) {
|
|
99719
|
+
va(sn, sn.return, or);
|
|
99862
99720
|
}
|
|
99863
99721
|
}
|
|
99864
99722
|
} else if (M.tag === 18) {
|
|
@@ -99867,8 +99725,8 @@ Error generating stack: ` + te.message + `
|
|
|
99867
99725
|
try {
|
|
99868
99726
|
var Ln = sn.stateNode;
|
|
99869
99727
|
Be ? vi(Ln, !0) : vi(sn.stateNode, !1);
|
|
99870
|
-
} catch (
|
|
99871
|
-
va(sn, sn.return,
|
|
99728
|
+
} catch (or) {
|
|
99729
|
+
va(sn, sn.return, or);
|
|
99872
99730
|
}
|
|
99873
99731
|
}
|
|
99874
99732
|
} else if ((M.tag !== 22 && M.tag !== 23 || M.memoizedState === null || M === E) && M.child !== null) {
|
|
@@ -100453,19 +100311,19 @@ Error generating stack: ` + te.message + `
|
|
|
100453
100311
|
}
|
|
100454
100312
|
var ov = {
|
|
100455
100313
|
getCacheForType: function(E) {
|
|
100456
|
-
var M = Un(
|
|
100314
|
+
var M = Un(Jr), V = M.data.get(E);
|
|
100457
100315
|
return V === void 0 && (V = E(), M.data.set(E, V)), V;
|
|
100458
100316
|
},
|
|
100459
100317
|
cacheSignal: function() {
|
|
100460
|
-
return Un(
|
|
100318
|
+
return Un(Jr).controller.signal;
|
|
100461
100319
|
}
|
|
100462
|
-
}, y0 = typeof WeakMap == "function" ? WeakMap : Map, ua = 0, Ca = null, Zr = null,
|
|
100320
|
+
}, y0 = typeof WeakMap == "function" ? WeakMap : Map, ua = 0, Ca = null, Zr = null, qr = 0, xa = 0, wr = null, Sc = !1, Xu = !1, km = !1, Pl = 0, Ma = 0, Fl = 0, jd = 0, Tm = 0, ao = 0, ri = 0, eh = null, ai = null, $m = !1, Bl = 0, b0 = 0, pa = 1 / 0, If = null, Ga = null, Fi = 0, pu = null, Yu = null, Cc = 0, bo = 0, Am = null, Nm = null, Of = 0, th = null;
|
|
100463
100321
|
function wo() {
|
|
100464
|
-
return (ua & 2) !== 0 &&
|
|
100322
|
+
return (ua & 2) !== 0 && qr !== 0 ? qr & -qr : Qe.T !== null ? Lm() : tt();
|
|
100465
100323
|
}
|
|
100466
100324
|
function lv() {
|
|
100467
100325
|
if (ao === 0)
|
|
100468
|
-
if ((
|
|
100326
|
+
if ((qr & 536870912) === 0 || Ir) {
|
|
100469
100327
|
var E = wt;
|
|
100470
100328
|
wt <<= 1, (wt & 3932160) === 0 && (wt = 262144), ao = E;
|
|
100471
100329
|
} else ao = 536870912;
|
|
@@ -100474,12 +100332,12 @@ Error generating stack: ` + te.message + `
|
|
|
100474
100332
|
function io(E, M, V) {
|
|
100475
100333
|
(E === Ca && (xa === 2 || xa === 9) || E.cancelPendingCommit !== null) && (Ec(E, 0), hu(
|
|
100476
100334
|
E,
|
|
100477
|
-
|
|
100335
|
+
qr,
|
|
100478
100336
|
ao,
|
|
100479
100337
|
!1
|
|
100480
100338
|
)), yn(E, V), ((ua & 2) === 0 || E !== Ca) && (E === Ca && ((ua & 2) === 0 && (jd |= V), Ma === 4 && hu(
|
|
100481
100339
|
E,
|
|
100482
|
-
|
|
100340
|
+
qr,
|
|
100483
100341
|
ao,
|
|
100484
100342
|
!1
|
|
100485
100343
|
)), kc(E));
|
|
@@ -100621,12 +100479,12 @@ Error generating stack: ` + te.message + `
|
|
|
100621
100479
|
qe,
|
|
100622
100480
|
Hn
|
|
100623
100481
|
);
|
|
100624
|
-
var
|
|
100625
|
-
if (
|
|
100482
|
+
var or = (qe & 62914560) === qe ? Bl - nr() : (qe & 4194048) === qe ? b0 - nr() : 0;
|
|
100483
|
+
if (or = U0(
|
|
100626
100484
|
Hn,
|
|
100627
|
-
|
|
100628
|
-
),
|
|
100629
|
-
Cc = qe, E.cancelPendingCommit =
|
|
100485
|
+
or
|
|
100486
|
+
), or !== null) {
|
|
100487
|
+
Cc = qe, E.cancelPendingCommit = or(
|
|
100630
100488
|
vv.bind(
|
|
100631
100489
|
null,
|
|
100632
100490
|
E,
|
|
@@ -100710,7 +100568,7 @@ Error generating stack: ` + te.message + `
|
|
|
100710
100568
|
}
|
|
100711
100569
|
function Ec(E, M) {
|
|
100712
100570
|
var V = E.timeoutHandle;
|
|
100713
|
-
V !== -1 && (E.timeoutHandle = -1, Dv(V)), V = E.cancelPendingCommit, V !== null && (E.cancelPendingCommit = null, V()), Cc = 0, w0(), Ca = E, Zr = V = Sl(E.current, null),
|
|
100571
|
+
V !== -1 && (E.timeoutHandle = -1, Dv(V)), V = E.cancelPendingCommit, V !== null && (E.cancelPendingCommit = null, V()), Cc = 0, w0(), Ca = E, Zr = V = Sl(E.current, null), qr = M, xa = 0, wr = null, Sc = !1, Xu = _t(E, M), km = !1, ri = ao = Tm = jd = Fl = Ma = 0, ai = eh = null, $m = !1, (M & 8) !== 0 && (M |= M & 32);
|
|
100714
100572
|
var te = E.entangledLanes;
|
|
100715
100573
|
if (te !== 0)
|
|
100716
100574
|
for (E = E.entanglements, te &= M; 0 < te; ) {
|
|
@@ -100727,7 +100585,7 @@ Error generating stack: ` + te.message + `
|
|
|
100727
100585
|
}
|
|
100728
100586
|
function dv() {
|
|
100729
100587
|
var E = Qs.current;
|
|
100730
|
-
return E === null ? !0 : (
|
|
100588
|
+
return E === null ? !0 : (qr & 4194048) === qr ? Io === null : (qr & 62914560) === qr || (qr & 536870912) !== 0 ? E === Io : !1;
|
|
100731
100589
|
}
|
|
100732
100590
|
function fv() {
|
|
100733
100591
|
var E = Qe.H;
|
|
@@ -100738,9 +100596,9 @@ Error generating stack: ` + te.message + `
|
|
|
100738
100596
|
return Qe.A = ov, E;
|
|
100739
100597
|
}
|
|
100740
100598
|
function Rm() {
|
|
100741
|
-
Ma = 4, Sc || (
|
|
100599
|
+
Ma = 4, Sc || (qr & 4194048) !== qr && Qs.current !== null || (Xu = !0), (Fl & 134217727) === 0 && (jd & 134217727) === 0 || Ca === null || hu(
|
|
100742
100600
|
Ca,
|
|
100743
|
-
|
|
100601
|
+
qr,
|
|
100744
100602
|
ao,
|
|
100745
100603
|
!1
|
|
100746
100604
|
);
|
|
@@ -100749,7 +100607,7 @@ Error generating stack: ` + te.message + `
|
|
|
100749
100607
|
var te = ua;
|
|
100750
100608
|
ua |= 2;
|
|
100751
100609
|
var Be = fv(), qe = pv();
|
|
100752
|
-
(Ca !== E ||
|
|
100610
|
+
(Ca !== E || qr !== M) && (If = null, Ec(E, M)), M = !1;
|
|
100753
100611
|
var xt = Ma;
|
|
100754
100612
|
e: do
|
|
100755
100613
|
try {
|
|
@@ -100780,7 +100638,7 @@ Error generating stack: ` + te.message + `
|
|
|
100780
100638
|
Ff(E, On);
|
|
100781
100639
|
}
|
|
100782
100640
|
while (!0);
|
|
100783
|
-
return M && E.shellSuspendCounter++, Ys = El = null, ua = te, Qe.H = Be, Qe.A = qe, Zr === null && (Ca = null,
|
|
100641
|
+
return M && E.shellSuspendCounter++, Ys = El = null, ua = te, Qe.H = Be, Qe.A = qe, Zr === null && (Ca = null, qr = 0, Gs()), xt;
|
|
100784
100642
|
}
|
|
100785
100643
|
function H1() {
|
|
100786
100644
|
for (; Zr !== null; ) mv(Zr);
|
|
@@ -100789,7 +100647,7 @@ Error generating stack: ` + te.message + `
|
|
|
100789
100647
|
var V = ua;
|
|
100790
100648
|
ua |= 2;
|
|
100791
100649
|
var te = fv(), Be = pv();
|
|
100792
|
-
Ca !== E ||
|
|
100650
|
+
Ca !== E || qr !== M ? (If = null, pa = nr() + 500, Ec(E, M)) : Xu = _t(
|
|
100793
100651
|
E,
|
|
100794
100652
|
M
|
|
100795
100653
|
);
|
|
@@ -100858,7 +100716,7 @@ Error generating stack: ` + te.message + `
|
|
|
100858
100716
|
Ff(E, On);
|
|
100859
100717
|
}
|
|
100860
100718
|
while (!0);
|
|
100861
|
-
return Ys = El = null, Qe.H = te, Qe.A = Be, ua = V, Zr !== null ? 0 : (Ca = null,
|
|
100719
|
+
return Ys = El = null, Qe.H = te, Qe.A = Be, ua = V, Zr !== null ? 0 : (Ca = null, qr = 0, Gs(), Ma);
|
|
100862
100720
|
}
|
|
100863
100721
|
function Ku() {
|
|
100864
100722
|
for (; Zr !== null && !er(); )
|
|
@@ -100879,7 +100737,7 @@ Error generating stack: ` + te.message + `
|
|
|
100879
100737
|
M.pendingProps,
|
|
100880
100738
|
M.type,
|
|
100881
100739
|
void 0,
|
|
100882
|
-
|
|
100740
|
+
qr
|
|
100883
100741
|
);
|
|
100884
100742
|
break;
|
|
100885
100743
|
case 11:
|
|
@@ -100889,7 +100747,7 @@ Error generating stack: ` + te.message + `
|
|
|
100889
100747
|
M.pendingProps,
|
|
100890
100748
|
M.type.render,
|
|
100891
100749
|
M.ref,
|
|
100892
|
-
|
|
100750
|
+
qr
|
|
100893
100751
|
);
|
|
100894
100752
|
break;
|
|
100895
100753
|
case 5:
|
|
@@ -100908,7 +100766,7 @@ Error generating stack: ` + te.message + `
|
|
|
100908
100766
|
Be,
|
|
100909
100767
|
M,
|
|
100910
100768
|
V,
|
|
100911
|
-
|
|
100769
|
+
qr
|
|
100912
100770
|
)) {
|
|
100913
100771
|
Ma = 1, Tf(
|
|
100914
100772
|
E,
|
|
@@ -100924,7 +100782,7 @@ Error generating stack: ` + te.message + `
|
|
|
100924
100782
|
), Zr = null;
|
|
100925
100783
|
return;
|
|
100926
100784
|
}
|
|
100927
|
-
M.flags & 32768 ? (Ir || te === 1 ? E = !0 : Xu || (
|
|
100785
|
+
M.flags & 32768 ? (Ir || te === 1 ? E = !0 : Xu || (qr & 536870912) !== 0 ? E = !1 : (Sc = E = !0, (te === 2 || te === 9 || te === 3 || te === 6) && (te = Qs.current, te !== null && te.tag === 13 && (te.flags |= 16384))), xv(M, E)) : rh(M);
|
|
100928
100786
|
}
|
|
100929
100787
|
function rh(E) {
|
|
100930
100788
|
var M = E;
|
|
@@ -100984,7 +100842,7 @@ Error generating stack: ` + te.message + `
|
|
|
100984
100842
|
xt,
|
|
100985
100843
|
zt,
|
|
100986
100844
|
sn
|
|
100987
|
-
), E === Ca && (Zr = Ca = null,
|
|
100845
|
+
), E === Ca && (Zr = Ca = null, qr = 0), Yu = M, pu = E, Cc = V, bo = qe, Am = Be, Nm = te, (M.subtreeFlags & 10256) !== 0 || (M.flags & 10256) !== 0 ? (E.callbackNode = null, E.callbackPriority = 0, Tv(Rn, function() {
|
|
100988
100846
|
return Sv(), null;
|
|
100989
100847
|
})) : (E.callbackNode = null, E.callbackPriority = 0), te = (M.flags & 13878) !== 0, (M.subtreeFlags & 13878) !== 0 || te) {
|
|
100990
100848
|
te = Qe.T, Qe.T = null, Be = it.p, it.p = 2, xt = ua, ua |= 4;
|
|
@@ -101010,7 +100868,7 @@ Error generating stack: ` + te.message + `
|
|
|
101010
100868
|
try {
|
|
101011
100869
|
wm(M, E);
|
|
101012
100870
|
var qe = zm, xt = sa(E.containerInfo), zt = qe.focusedElem, sn = qe.selectionRange;
|
|
101013
|
-
if (xt !== zt && zt && zt.ownerDocument &&
|
|
100871
|
+
if (xt !== zt && zt && zt.ownerDocument && Qr(
|
|
101014
100872
|
zt.ownerDocument.documentElement,
|
|
101015
100873
|
zt
|
|
101016
100874
|
)) {
|
|
@@ -101024,12 +100882,12 @@ Error generating stack: ` + te.message + `
|
|
|
101024
100882
|
else {
|
|
101025
100883
|
var Hn = zt.ownerDocument || document, Tn = Hn && Hn.defaultView || window;
|
|
101026
100884
|
if (Tn.getSelection) {
|
|
101027
|
-
var Ln = Tn.getSelection(),
|
|
100885
|
+
var Ln = Tn.getSelection(), or = zt.textContent.length, yr = Math.min(sn.start, or), ka = sn.end === void 0 ? yr : Math.min(sn.end, or);
|
|
101028
100886
|
!Ln.extend && yr > ka && (xt = ka, ka = yr, yr = xt);
|
|
101029
|
-
var bn =
|
|
100887
|
+
var bn = Kr(
|
|
101030
100888
|
zt,
|
|
101031
100889
|
yr
|
|
101032
|
-
), hn =
|
|
100890
|
+
), hn = Kr(
|
|
101033
100891
|
zt,
|
|
101034
100892
|
ka
|
|
101035
100893
|
);
|
|
@@ -101142,7 +101000,7 @@ Error generating stack: ` + te.message + `
|
|
|
101142
101000
|
}
|
|
101143
101001
|
}
|
|
101144
101002
|
function Cv(E, M, V) {
|
|
101145
|
-
M = Xi(V, M), M = Qg(E.stateNode, M, 2), E =
|
|
101003
|
+
M = Xi(V, M), M = Qg(E.stateNode, M, 2), E = Gr(E, M, 2), E !== null && (yn(E, 2), kc(E));
|
|
101146
101004
|
}
|
|
101147
101005
|
function va(E, M, V) {
|
|
101148
101006
|
if (E.tag === 3)
|
|
@@ -101159,7 +101017,7 @@ Error generating stack: ` + te.message + `
|
|
|
101159
101017
|
} else if (M.tag === 1) {
|
|
101160
101018
|
var te = M.stateNode;
|
|
101161
101019
|
if (typeof M.type.getDerivedStateFromError == "function" || typeof te.componentDidCatch == "function" && (Ga === null || !Ga.has(te))) {
|
|
101162
|
-
E = Xi(V, E), V = Jg(2), te =
|
|
101020
|
+
E = Xi(V, E), V = Jg(2), te = Gr(M, V, 2), te !== null && (e0(
|
|
101163
101021
|
V,
|
|
101164
101022
|
te,
|
|
101165
101023
|
M,
|
|
@@ -101183,7 +101041,7 @@ Error generating stack: ` + te.message + `
|
|
|
101183
101041
|
}
|
|
101184
101042
|
function _0(E, M, V) {
|
|
101185
101043
|
var te = E.pingCache;
|
|
101186
|
-
te !== null && te.delete(M), E.pingedLanes |= E.suspendedLanes & V, E.warmLanes &= ~V, Ca === E && (
|
|
101044
|
+
te !== null && te.delete(M), E.pingedLanes |= E.suspendedLanes & V, E.warmLanes &= ~V, Ca === E && (qr & V) === V && (Ma === 4 || Ma === 3 && (qr & 62914560) === qr && 300 > nr() - Bl ? (ua & 2) === 0 && Ec(E, 0) : Tm |= V, ri === qr && (ri = 0)), kc(E);
|
|
101187
101045
|
}
|
|
101188
101046
|
function Ev(E, M) {
|
|
101189
101047
|
M === 0 && (M = Xt()), E = nl(E, M), E !== null && (yn(E, M), kc(E));
|
|
@@ -101232,7 +101090,7 @@ Error generating stack: ` + te.message + `
|
|
|
101232
101090
|
}
|
|
101233
101091
|
qe !== 0 && (V = !0, Ld(te, qe));
|
|
101234
101092
|
} else
|
|
101235
|
-
qe =
|
|
101093
|
+
qe = qr, qe = Bt(
|
|
101236
101094
|
te,
|
|
101237
101095
|
te === Ca ? qe : 0,
|
|
101238
101096
|
te.cancelPendingCommit !== null || te.timeoutHandle !== -1
|
|
@@ -101261,7 +101119,7 @@ Error generating stack: ` + te.message + `
|
|
|
101261
101119
|
var xt = 31 - Lt(qe), zt = 1 << xt, sn = Be[xt];
|
|
101262
101120
|
sn === -1 ? ((zt & V) === 0 || (zt & te) !== 0) && (Be[xt] = Pt(zt, M)) : sn <= M && (E.expiredLanes |= zt), qe &= ~zt;
|
|
101263
101121
|
}
|
|
101264
|
-
if (M = Ca, V =
|
|
101122
|
+
if (M = Ca, V = qr, V = Bt(
|
|
101265
101123
|
E,
|
|
101266
101124
|
E === M ? V : 0,
|
|
101267
101125
|
E.cancelPendingCommit !== null || E.timeoutHandle !== -1
|
|
@@ -101293,7 +101151,7 @@ Error generating stack: ` + te.message + `
|
|
|
101293
101151
|
var V = E.callbackNode;
|
|
101294
101152
|
if (Bf() && E.callbackNode !== V)
|
|
101295
101153
|
return null;
|
|
101296
|
-
var te =
|
|
101154
|
+
var te = qr;
|
|
101297
101155
|
return te = Bt(
|
|
101298
101156
|
E,
|
|
101299
101157
|
E === Ca ? te : 0,
|
|
@@ -101448,7 +101306,7 @@ Error generating stack: ` + te.message + `
|
|
|
101448
101306
|
}
|
|
101449
101307
|
}
|
|
101450
101308
|
}
|
|
101451
|
-
function
|
|
101309
|
+
function Xr(E, M) {
|
|
101452
101310
|
var V = M[Mt];
|
|
101453
101311
|
V === void 0 && (V = M[Mt] = /* @__PURE__ */ new Set());
|
|
101454
101312
|
var te = E + "__bubble";
|
|
@@ -101528,7 +101386,7 @@ Error generating stack: ` + te.message + `
|
|
|
101528
101386
|
e: {
|
|
101529
101387
|
var Tn = go.get(E);
|
|
101530
101388
|
if (Tn !== void 0) {
|
|
101531
|
-
var Ln = _i,
|
|
101389
|
+
var Ln = _i, or = E;
|
|
101532
101390
|
switch (E) {
|
|
101533
101391
|
case "keypress":
|
|
101534
101392
|
if (Ql(V) === 0) break e;
|
|
@@ -101537,10 +101395,10 @@ Error generating stack: ` + te.message + `
|
|
|
101537
101395
|
Ln = ec;
|
|
101538
101396
|
break;
|
|
101539
101397
|
case "focusin":
|
|
101540
|
-
|
|
101398
|
+
or = "focus", Ln = Xc;
|
|
101541
101399
|
break;
|
|
101542
101400
|
case "focusout":
|
|
101543
|
-
|
|
101401
|
+
or = "blur", Ln = Xc;
|
|
101544
101402
|
break;
|
|
101545
101403
|
case "beforeblur":
|
|
101546
101404
|
case "afterblur":
|
|
@@ -101619,7 +101477,7 @@ Error generating stack: ` + te.message + `
|
|
|
101619
101477
|
}
|
|
101620
101478
|
0 < yr.length && (Tn = new Ln(
|
|
101621
101479
|
Tn,
|
|
101622
|
-
|
|
101480
|
+
or,
|
|
101623
101481
|
null,
|
|
101624
101482
|
V,
|
|
101625
101483
|
On
|
|
@@ -101628,10 +101486,10 @@ Error generating stack: ` + te.message + `
|
|
|
101628
101486
|
}
|
|
101629
101487
|
if ((M & 7) === 0) {
|
|
101630
101488
|
e: {
|
|
101631
|
-
if (Tn = E === "mouseover" || E === "pointerover", Ln = E === "mouseout" || E === "pointerout", Tn && V !== Hc && (
|
|
101489
|
+
if (Tn = E === "mouseover" || E === "pointerover", Ln = E === "mouseout" || E === "pointerout", Tn && V !== Hc && (or = V.relatedTarget || V.fromElement) && (zn(or) || or[Wt]))
|
|
101632
101490
|
break e;
|
|
101633
|
-
if ((Ln || Tn) && (Tn = On.window === On ? On : (Tn = On.ownerDocument) ? Tn.defaultView || Tn.parentWindow : window, Ln ? (
|
|
101634
|
-
if (yr = yl, Bn = "onMouseLeave", bn = "onMouseEnter", hn = "mouse", (E === "pointerout" || E === "pointerover") && (yr = Cs, Bn = "onPointerLeave", bn = "onPointerEnter", hn = "pointer"), ka = Ln == null ? Tn : Gn(Ln), _n =
|
|
101491
|
+
if ((Ln || Tn) && (Tn = On.window === On ? On : (Tn = On.ownerDocument) ? Tn.defaultView || Tn.parentWindow : window, Ln ? (or = V.relatedTarget || V.toElement, Ln = En, or = or ? zn(or) : null, or !== null && (ka = c(or), yr = or.tag, or !== ka || yr !== 5 && yr !== 27 && yr !== 6) && (or = null)) : (Ln = null, or = En), Ln !== or)) {
|
|
101492
|
+
if (yr = yl, Bn = "onMouseLeave", bn = "onMouseEnter", hn = "mouse", (E === "pointerout" || E === "pointerover") && (yr = Cs, Bn = "onPointerLeave", bn = "onPointerEnter", hn = "pointer"), ka = Ln == null ? Tn : Gn(Ln), _n = or == null ? Tn : Gn(or), Tn = new yr(
|
|
101635
101493
|
Bn,
|
|
101636
101494
|
hn + "leave",
|
|
101637
101495
|
Ln,
|
|
@@ -101640,12 +101498,12 @@ Error generating stack: ` + te.message + `
|
|
|
101640
101498
|
), Tn.target = ka, Tn.relatedTarget = _n, Bn = null, zn(On) === En && (yr = new yr(
|
|
101641
101499
|
bn,
|
|
101642
101500
|
hn + "enter",
|
|
101643
|
-
|
|
101501
|
+
or,
|
|
101644
101502
|
V,
|
|
101645
101503
|
On
|
|
101646
|
-
), yr.target = _n, yr.relatedTarget = ka, Bn = yr), ka = Bn, Ln &&
|
|
101504
|
+
), yr.target = _n, yr.relatedTarget = ka, Bn = yr), ka = Bn, Ln && or)
|
|
101647
101505
|
t: {
|
|
101648
|
-
for (yr = Rv, bn = Ln, hn =
|
|
101506
|
+
for (yr = Rv, bn = Ln, hn = or, _n = 0, Bn = bn; Bn; Bn = yr(Bn))
|
|
101649
101507
|
_n++;
|
|
101650
101508
|
Bn = 0;
|
|
101651
101509
|
for (var mr = hn; mr; mr = yr(mr))
|
|
@@ -101670,10 +101528,10 @@ Error generating stack: ` + te.message + `
|
|
|
101670
101528
|
Ln,
|
|
101671
101529
|
yr,
|
|
101672
101530
|
!1
|
|
101673
|
-
),
|
|
101531
|
+
), or !== null && ka !== null && Pm(
|
|
101674
101532
|
Hn,
|
|
101675
101533
|
ka,
|
|
101676
|
-
|
|
101534
|
+
or,
|
|
101677
101535
|
yr,
|
|
101678
101536
|
!0
|
|
101679
101537
|
);
|
|
@@ -101892,10 +101750,10 @@ Error generating stack: ` + te.message + `
|
|
|
101892
101750
|
te != null && (E.onclick = ji);
|
|
101893
101751
|
break;
|
|
101894
101752
|
case "onScroll":
|
|
101895
|
-
te != null &&
|
|
101753
|
+
te != null && Xr("scroll", E);
|
|
101896
101754
|
break;
|
|
101897
101755
|
case "onScrollEnd":
|
|
101898
|
-
te != null &&
|
|
101756
|
+
te != null && Xr("scrollend", E);
|
|
101899
101757
|
break;
|
|
101900
101758
|
case "dangerouslySetInnerHTML":
|
|
101901
101759
|
if (te != null) {
|
|
@@ -101983,7 +101841,7 @@ Error generating stack: ` + te.message + `
|
|
|
101983
101841
|
te == null || typeof te == "function" || typeof te == "symbol" || isNaN(te) ? E.removeAttribute(V) : E.setAttribute(V, te);
|
|
101984
101842
|
break;
|
|
101985
101843
|
case "popover":
|
|
101986
|
-
|
|
101844
|
+
Xr("beforetoggle", E), Xr("toggle", E), $a(E, "popover", te);
|
|
101987
101845
|
break;
|
|
101988
101846
|
case "xlinkActuate":
|
|
101989
101847
|
_a(
|
|
@@ -102086,10 +101944,10 @@ Error generating stack: ` + te.message + `
|
|
|
102086
101944
|
typeof te == "string" ? ws(E, te) : (typeof te == "number" || typeof te == "bigint") && ws(E, "" + te);
|
|
102087
101945
|
break;
|
|
102088
101946
|
case "onScroll":
|
|
102089
|
-
te != null &&
|
|
101947
|
+
te != null && Xr("scroll", E);
|
|
102090
101948
|
break;
|
|
102091
101949
|
case "onScrollEnd":
|
|
102092
|
-
te != null &&
|
|
101950
|
+
te != null && Xr("scrollend", E);
|
|
102093
101951
|
break;
|
|
102094
101952
|
case "onClick":
|
|
102095
101953
|
te != null && (E.onclick = ji);
|
|
@@ -102125,7 +101983,7 @@ Error generating stack: ` + te.message + `
|
|
|
102125
101983
|
case "li":
|
|
102126
101984
|
break;
|
|
102127
101985
|
case "img":
|
|
102128
|
-
|
|
101986
|
+
Xr("error", E), Xr("load", E);
|
|
102129
101987
|
var te = !1, Be = !1, qe;
|
|
102130
101988
|
for (qe in V)
|
|
102131
101989
|
if (V.hasOwnProperty(qe)) {
|
|
@@ -102148,7 +102006,7 @@ Error generating stack: ` + te.message + `
|
|
|
102148
102006
|
Be && Ea(E, M, "srcSet", V.srcSet, V, null), te && Ea(E, M, "src", V.src, V, null);
|
|
102149
102007
|
return;
|
|
102150
102008
|
case "input":
|
|
102151
|
-
|
|
102009
|
+
Xr("invalid", E);
|
|
102152
102010
|
var zt = qe = xt = Be = null, sn = null, En = null;
|
|
102153
102011
|
for (te in V)
|
|
102154
102012
|
if (V.hasOwnProperty(te)) {
|
|
@@ -102194,7 +102052,7 @@ Error generating stack: ` + te.message + `
|
|
|
102194
102052
|
);
|
|
102195
102053
|
return;
|
|
102196
102054
|
case "select":
|
|
102197
|
-
|
|
102055
|
+
Xr("invalid", E), te = xt = qe = null;
|
|
102198
102056
|
for (Be in V)
|
|
102199
102057
|
if (V.hasOwnProperty(Be) && (zt = V[Be], zt != null))
|
|
102200
102058
|
switch (Be) {
|
|
@@ -102212,7 +102070,7 @@ Error generating stack: ` + te.message + `
|
|
|
102212
102070
|
M = qe, V = xt, E.multiple = !!te, M != null ? co(E, !!te, M, !1) : V != null && co(E, !!te, V, !0);
|
|
102213
102071
|
return;
|
|
102214
102072
|
case "textarea":
|
|
102215
|
-
|
|
102073
|
+
Xr("invalid", E), qe = Be = te = null;
|
|
102216
102074
|
for (xt in V)
|
|
102217
102075
|
if (V.hasOwnProperty(xt) && (zt = V[xt], zt != null))
|
|
102218
102076
|
switch (xt) {
|
|
@@ -102238,27 +102096,27 @@ Error generating stack: ` + te.message + `
|
|
|
102238
102096
|
V.hasOwnProperty(sn) && (te = V[sn], te != null) && (sn === "selected" ? E.selected = te && typeof te != "function" && typeof te != "symbol" : Ea(E, M, sn, te, V, null));
|
|
102239
102097
|
return;
|
|
102240
102098
|
case "dialog":
|
|
102241
|
-
|
|
102099
|
+
Xr("beforetoggle", E), Xr("toggle", E), Xr("cancel", E), Xr("close", E);
|
|
102242
102100
|
break;
|
|
102243
102101
|
case "iframe":
|
|
102244
102102
|
case "object":
|
|
102245
|
-
|
|
102103
|
+
Xr("load", E);
|
|
102246
102104
|
break;
|
|
102247
102105
|
case "video":
|
|
102248
102106
|
case "audio":
|
|
102249
102107
|
for (te = 0; te < Uf.length; te++)
|
|
102250
|
-
|
|
102108
|
+
Xr(Uf[te], E);
|
|
102251
102109
|
break;
|
|
102252
102110
|
case "image":
|
|
102253
|
-
|
|
102111
|
+
Xr("error", E), Xr("load", E);
|
|
102254
102112
|
break;
|
|
102255
102113
|
case "details":
|
|
102256
|
-
|
|
102114
|
+
Xr("toggle", E);
|
|
102257
102115
|
break;
|
|
102258
102116
|
case "embed":
|
|
102259
102117
|
case "source":
|
|
102260
102118
|
case "link":
|
|
102261
|
-
|
|
102119
|
+
Xr("error", E), Xr("load", E);
|
|
102262
102120
|
case "area":
|
|
102263
102121
|
case "base":
|
|
102264
102122
|
case "br":
|
|
@@ -102447,11 +102305,11 @@ Error generating stack: ` + te.message + `
|
|
|
102447
102305
|
pi(E, Tn, Ln);
|
|
102448
102306
|
return;
|
|
102449
102307
|
case "option":
|
|
102450
|
-
for (var
|
|
102451
|
-
Tn = V[
|
|
102308
|
+
for (var or in V)
|
|
102309
|
+
Tn = V[or], V.hasOwnProperty(or) && Tn != null && !te.hasOwnProperty(or) && (or === "selected" ? E.selected = !1 : Ea(
|
|
102452
102310
|
E,
|
|
102453
102311
|
M,
|
|
102454
|
-
|
|
102312
|
+
or,
|
|
102455
102313
|
null,
|
|
102456
102314
|
te,
|
|
102457
102315
|
Tn
|
|
@@ -102825,7 +102683,7 @@ Error generating stack: ` + te.message + `
|
|
|
102825
102683
|
var te = Xf;
|
|
102826
102684
|
if (te && typeof M == "string" && M) {
|
|
102827
102685
|
var Be = ba(M);
|
|
102828
|
-
Be = 'link[rel="' + E + '"][href="' + Be + '"]', typeof V == "string" && (Be += '[crossorigin="' + V + '"]'), gh.has(Be) || (gh.add(Be), E = { rel: E, crossOrigin: V, href: M }, te.querySelector(Be) === null && (M = te.createElement("link"), gs(M, "link", E),
|
|
102686
|
+
Be = 'link[rel="' + E + '"][href="' + Be + '"]', typeof V == "string" && (Be += '[crossorigin="' + V + '"]'), gh.has(Be) || (gh.add(Be), E = { rel: E, crossOrigin: V, href: M }, te.querySelector(Be) === null && (M = te.createElement("link"), gs(M, "link", E), lr(M), te.head.appendChild(M)));
|
|
102829
102687
|
}
|
|
102830
102688
|
}
|
|
102831
102689
|
function Dn(E) {
|
|
@@ -102859,7 +102717,7 @@ Error generating stack: ` + te.message + `
|
|
|
102859
102717
|
as: M
|
|
102860
102718
|
},
|
|
102861
102719
|
V
|
|
102862
|
-
), _o.set(qe, E), te.querySelector(Be) !== null || M === "style" && te.querySelector(ed(qe)) || M === "script" && te.querySelector(Zf(qe)) || (M = te.createElement("link"), gs(M, "link", E),
|
|
102720
|
+
), _o.set(qe, E), te.querySelector(Be) !== null || M === "style" && te.querySelector(ed(qe)) || M === "script" && te.querySelector(Zf(qe)) || (M = te.createElement("link"), gs(M, "link", E), lr(M), te.head.appendChild(M)));
|
|
102863
102721
|
}
|
|
102864
102722
|
}
|
|
102865
102723
|
function P0(E, M) {
|
|
@@ -102887,7 +102745,7 @@ Error generating stack: ` + te.message + `
|
|
|
102887
102745
|
if (V.querySelector(Zf(qe)))
|
|
102888
102746
|
return;
|
|
102889
102747
|
}
|
|
102890
|
-
te = V.createElement("link"), gs(te, "link", E),
|
|
102748
|
+
te = V.createElement("link"), gs(te, "link", E), lr(te), V.head.appendChild(te);
|
|
102891
102749
|
}
|
|
102892
102750
|
}
|
|
102893
102751
|
}
|
|
@@ -102910,7 +102768,7 @@ Error generating stack: ` + te.message + `
|
|
|
102910
102768
|
V
|
|
102911
102769
|
), (V = _o.get(qe)) && Hm(E, V);
|
|
102912
102770
|
var sn = xt = te.createElement("link");
|
|
102913
|
-
|
|
102771
|
+
lr(sn), gs(sn, "link", E), sn._p = new Promise(function(En, On) {
|
|
102914
102772
|
sn.onload = En, sn.onerror = On;
|
|
102915
102773
|
}), sn.addEventListener("load", function() {
|
|
102916
102774
|
zt.loading |= 1;
|
|
@@ -102932,7 +102790,7 @@ Error generating stack: ` + te.message + `
|
|
|
102932
102790
|
var V = Xf;
|
|
102933
102791
|
if (V && E) {
|
|
102934
102792
|
var te = dr(V).hoistableScripts, Be = Fd(E), qe = te.get(Be);
|
|
102935
|
-
qe || (qe = V.querySelector(Zf(Be)), qe || (E = N({ src: E, async: !0 }, M), (M = _o.get(Be)) && Gm(E, M), qe = V.createElement("script"),
|
|
102793
|
+
qe || (qe = V.querySelector(Zf(Be)), qe || (E = N({ src: E, async: !0 }, M), (M = _o.get(Be)) && Gm(E, M), qe = V.createElement("script"), lr(qe), gs(qe, "link", E), V.head.appendChild(qe)), qe = {
|
|
102936
102794
|
type: "script",
|
|
102937
102795
|
instance: qe,
|
|
102938
102796
|
count: 1,
|
|
@@ -102945,7 +102803,7 @@ Error generating stack: ` + te.message + `
|
|
|
102945
102803
|
var V = Xf;
|
|
102946
102804
|
if (V && E) {
|
|
102947
102805
|
var te = dr(V).hoistableScripts, Be = Fd(E), qe = te.get(Be);
|
|
102948
|
-
qe || (qe = V.querySelector(Zf(Be)), qe || (E = N({ src: E, async: !0, type: "module" }, M), (M = _o.get(Be)) && Gm(E, M), qe = V.createElement("script"),
|
|
102806
|
+
qe || (qe = V.querySelector(Zf(Be)), qe || (E = N({ src: E, async: !0, type: "module" }, M), (M = _o.get(Be)) && Gm(E, M), qe = V.createElement("script"), lr(qe), gs(qe, "link", E), V.head.appendChild(qe)), qe = {
|
|
102949
102807
|
type: "script",
|
|
102950
102808
|
instance: qe,
|
|
102951
102809
|
count: 1,
|
|
@@ -103033,7 +102891,7 @@ Error generating stack: ` + te.message + `
|
|
|
103033
102891
|
return te.loading |= 1;
|
|
103034
102892
|
}), M.addEventListener("error", function() {
|
|
103035
102893
|
return te.loading |= 2;
|
|
103036
|
-
}), gs(M, "link", V),
|
|
102894
|
+
}), gs(M, "link", V), lr(M), E.head.appendChild(M));
|
|
103037
102895
|
}
|
|
103038
102896
|
function Fd(E) {
|
|
103039
102897
|
return '[src="' + ba(E) + '"]';
|
|
@@ -103049,7 +102907,7 @@ Error generating stack: ` + te.message + `
|
|
|
103049
102907
|
'style[data-href~="' + ba(V.href) + '"]'
|
|
103050
102908
|
);
|
|
103051
102909
|
if (te)
|
|
103052
|
-
return M.instance = te,
|
|
102910
|
+
return M.instance = te, lr(te), te;
|
|
103053
102911
|
var Be = N({}, V, {
|
|
103054
102912
|
"data-href": V.href,
|
|
103055
102913
|
"data-precedence": V.precedence,
|
|
@@ -103058,15 +102916,15 @@ Error generating stack: ` + te.message + `
|
|
|
103058
102916
|
});
|
|
103059
102917
|
return te = (E.ownerDocument || E).createElement(
|
|
103060
102918
|
"style"
|
|
103061
|
-
),
|
|
102919
|
+
), lr(te), gs(te, "style", Be), xh(te, V.precedence, E), M.instance = te;
|
|
103062
102920
|
case "stylesheet":
|
|
103063
102921
|
Be = Vo(V.href);
|
|
103064
102922
|
var qe = E.querySelector(
|
|
103065
102923
|
ed(Be)
|
|
103066
102924
|
);
|
|
103067
102925
|
if (qe)
|
|
103068
|
-
return M.state.loading |= 4, M.instance = qe,
|
|
103069
|
-
te = Kf(V), (Be = _o.get(Be)) && Hm(te, Be), qe = (E.ownerDocument || E).createElement("link"),
|
|
102926
|
+
return M.state.loading |= 4, M.instance = qe, lr(qe), qe;
|
|
102927
|
+
te = Kf(V), (Be = _o.get(Be)) && Hm(te, Be), qe = (E.ownerDocument || E).createElement("link"), lr(qe);
|
|
103070
102928
|
var xt = qe;
|
|
103071
102929
|
return xt._p = new Promise(function(zt, sn) {
|
|
103072
102930
|
xt.onload = zt, xt.onerror = sn;
|
|
@@ -103074,7 +102932,7 @@ Error generating stack: ` + te.message + `
|
|
|
103074
102932
|
case "script":
|
|
103075
102933
|
return qe = Fd(V.src), (Be = E.querySelector(
|
|
103076
102934
|
Zf(qe)
|
|
103077
|
-
)) ? (M.instance = Be,
|
|
102935
|
+
)) ? (M.instance = Be, lr(Be), Be) : (te = V, (Be = _o.get(qe)) && (te = N({}, V), Gm(te, Be)), E = E.ownerDocument || E, Be = E.createElement("script"), lr(Be), gs(Be, "link", te), E.head.appendChild(Be), M.instance = Be);
|
|
103078
102936
|
case "void":
|
|
103079
102937
|
return null;
|
|
103080
102938
|
default:
|
|
@@ -103155,10 +103013,10 @@ Error generating stack: ` + te.message + `
|
|
|
103155
103013
|
ed(Be)
|
|
103156
103014
|
);
|
|
103157
103015
|
if (qe) {
|
|
103158
|
-
M = qe._p, M !== null && typeof M == "object" && typeof M.then == "function" && (E.count++, E = Wm.bind(E), M.then(E, E)), V.state.loading |= 4, V.instance = qe,
|
|
103016
|
+
M = qe._p, M !== null && typeof M == "object" && typeof M.then == "function" && (E.count++, E = Wm.bind(E), M.then(E, E)), V.state.loading |= 4, V.instance = qe, lr(qe);
|
|
103159
103017
|
return;
|
|
103160
103018
|
}
|
|
103161
|
-
qe = M.ownerDocument || M, te = Kf(te), (Be = _o.get(Be)) && Hm(te, Be), qe = qe.createElement("link"),
|
|
103019
|
+
qe = M.ownerDocument || M, te = Kf(te), (Be = _o.get(Be)) && Hm(te, Be), qe = qe.createElement("link"), lr(qe);
|
|
103162
103020
|
var xt = qe;
|
|
103163
103021
|
xt._p = new Promise(function(zt, sn) {
|
|
103164
103022
|
xt.onload = zt, xt.onerror = sn;
|
|
@@ -103253,7 +103111,7 @@ Error generating stack: ` + te.message + `
|
|
|
103253
103111
|
return E ? (E = Li, E) : Li;
|
|
103254
103112
|
}
|
|
103255
103113
|
function Fv(E, M, V, te, Be, qe) {
|
|
103256
|
-
Be = Bd(Be), te.context === null ? te.context = Be : te.pendingContext = Be, te = sl(M), te.payload = { element: V }, qe = qe === void 0 ? null : qe, qe !== null && (te.callback = qe), V =
|
|
103114
|
+
Be = Bd(Be), te.context === null ? te.context = Be : te.pendingContext = Be, te = sl(M), te.payload = { element: V }, qe = qe === void 0 ? null : qe, qe !== null && (te.callback = qe), V = Gr(E, te, M), V !== null && (io(V, E, M), jl(V, E, M));
|
|
103257
103115
|
}
|
|
103258
103116
|
function Zm(E, M) {
|
|
103259
103117
|
if (E = E.memoizedState, E !== null && E.dehydrated !== null) {
|
|
@@ -103804,7 +103662,7 @@ Error generating stack: ` + te.message + `
|
|
|
103804
103662
|
xt,
|
|
103805
103663
|
zt,
|
|
103806
103664
|
W0
|
|
103807
|
-
), M.context = Bd(null), V = M.current, te = wo(), te = qt(te), Be = sl(te), Be.callback = null,
|
|
103665
|
+
), M.context = Bd(null), V = M.current, te = wo(), te = qt(te), Be = sl(te), Be.callback = null, Gr(V, Be, te), V = te, M.current.lanes = V, yn(M, V), kc(M), E[Wt] = M.current, Hf(E), new eg(M);
|
|
103808
103666
|
}, e.version = "19.2.4";
|
|
103809
103667
|
}
|
|
103810
103668
|
}), require_react_dom_client_development = __commonJS({
|
|
@@ -105092,7 +104950,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
105092
104950
|
function dr(f, b) {
|
|
105093
104951
|
return f.serverProps === void 0 && f.serverTail.length === 0 && f.children.length === 1 && 3 < f.distanceFromLeaf && f.distanceFromLeaf > 15 - b ? dr(f.children[0], b) : f;
|
|
105094
104952
|
}
|
|
105095
|
-
function
|
|
104953
|
+
function lr(f) {
|
|
105096
104954
|
return " " + " ".repeat(f);
|
|
105097
104955
|
}
|
|
105098
104956
|
function _r(f) {
|
|
@@ -105140,7 +104998,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
105140
104998
|
` + Nr(j) + ir(b, q) + `
|
|
105141
104999
|
`;
|
|
105142
105000
|
}
|
|
105143
|
-
return
|
|
105001
|
+
return lr(j) + ir(f, q) + `
|
|
105144
105002
|
`;
|
|
105145
105003
|
}
|
|
105146
105004
|
function si(f) {
|
|
@@ -105181,14 +105039,14 @@ Check the render method of \`` + f + "`." : "";
|
|
|
105181
105039
|
return String(f);
|
|
105182
105040
|
}
|
|
105183
105041
|
}
|
|
105184
|
-
function
|
|
105042
|
+
function sr(f, b) {
|
|
105185
105043
|
return typeof f != "string" || qe.test(f) ? "{" + Ka(f, b - 2) + "}" : f.length > b - 2 ? 5 > b ? '"..."' : '"' + f.slice(0, b - 5) + '..."' : '"' + f + '"';
|
|
105186
105044
|
}
|
|
105187
105045
|
function $a(f, b, j) {
|
|
105188
105046
|
var q = 120 - j.length - f.length, _e = [], Ne;
|
|
105189
105047
|
for (Ne in b)
|
|
105190
105048
|
if (b.hasOwnProperty(Ne) && Ne !== "children") {
|
|
105191
|
-
var Ye =
|
|
105049
|
+
var Ye = sr(
|
|
105192
105050
|
b[Ne],
|
|
105193
105051
|
120 - j.length - Ne.length - 1
|
|
105194
105052
|
);
|
|
@@ -105232,7 +105090,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
105232
105090
|
_e += $a(
|
|
105233
105091
|
f,
|
|
105234
105092
|
b,
|
|
105235
|
-
|
|
105093
|
+
lr(q)
|
|
105236
105094
|
);
|
|
105237
105095
|
else {
|
|
105238
105096
|
for (var Ye in b)
|
|
@@ -105242,35 +105100,35 @@ Check the render method of \`` + f + "`." : "";
|
|
|
105242
105100
|
Ne.delete(Ye.toLowerCase());
|
|
105243
105101
|
var Dt = b[Ye];
|
|
105244
105102
|
kt = j[kt];
|
|
105245
|
-
var pn =
|
|
105103
|
+
var pn = sr(
|
|
105246
105104
|
Dt,
|
|
105247
105105
|
at
|
|
105248
105106
|
);
|
|
105249
|
-
at =
|
|
105107
|
+
at = sr(
|
|
105250
105108
|
kt,
|
|
105251
105109
|
at
|
|
105252
|
-
), typeof Dt == "object" && Dt !== null && typeof kt == "object" && kt !== null && si(Dt) === "Object" && si(kt) === "Object" && (2 < Object.keys(Dt).length || 2 < Object.keys(kt).length || -1 < pn.indexOf("...") || -1 < at.indexOf("...")) ? _e +=
|
|
105110
|
+
), typeof Dt == "object" && Dt !== null && typeof kt == "object" && kt !== null && si(Dt) === "Object" && si(kt) === "Object" && (2 < Object.keys(Dt).length || 2 < Object.keys(kt).length || -1 < pn.indexOf("...") || -1 < at.indexOf("...")) ? _e += lr(q + 1) + Ye + `={{
|
|
105253
105111
|
` + ya(
|
|
105254
105112
|
Dt,
|
|
105255
105113
|
kt,
|
|
105256
105114
|
q + 2
|
|
105257
|
-
) +
|
|
105115
|
+
) + lr(q + 1) + `}}
|
|
105258
105116
|
` : (_e += _r(q + 1) + Ye + "=" + pn + `
|
|
105259
105117
|
`, _e += Nr(q + 1) + Ye + "=" + at + `
|
|
105260
105118
|
`);
|
|
105261
105119
|
} else
|
|
105262
|
-
_e +=
|
|
105120
|
+
_e += lr(q + 1) + Ye + "=" + sr(b[Ye], at) + `
|
|
105263
105121
|
`;
|
|
105264
105122
|
}
|
|
105265
105123
|
Ne.forEach(function(mn) {
|
|
105266
105124
|
if (mn !== "children") {
|
|
105267
105125
|
var nn = 120 - 2 * (q + 1) - mn.length - 1;
|
|
105268
|
-
_e += Nr(q + 1) + mn + "=" +
|
|
105126
|
+
_e += Nr(q + 1) + mn + "=" + sr(j[mn], nn) + `
|
|
105269
105127
|
`;
|
|
105270
105128
|
}
|
|
105271
|
-
}), _e = _e === "" ?
|
|
105272
|
-
` :
|
|
105273
|
-
` + _e +
|
|
105129
|
+
}), _e = _e === "" ? lr(q) + "<" + f + `>
|
|
105130
|
+
` : lr(q) + "<" + f + `
|
|
105131
|
+
` + _e + lr(q) + `>
|
|
105274
105132
|
`;
|
|
105275
105133
|
}
|
|
105276
105134
|
return f = j.children, b = b.children, typeof f == "string" || typeof f == "number" || typeof f == "bigint" ? (Ne = "", (typeof b == "string" || typeof b == "number" || typeof b == "bigint") && (Ne = "" + b), _e += cr(Ne, "" + f, q + 1)) : (typeof b == "string" || typeof b == "number" || typeof b == "bigint") && (_e = f == null ? _e + cr("" + b, null, q + 1) : _e + cr("" + b, void 0, q + 1)), _e;
|
|
@@ -105282,20 +105140,20 @@ Check the render method of \`` + f + "`." : "";
|
|
|
105282
105140
|
j += bi(f, b), f = f.sibling;
|
|
105283
105141
|
return j;
|
|
105284
105142
|
}
|
|
105285
|
-
return
|
|
105143
|
+
return lr(b) + "<" + j + `>
|
|
105286
105144
|
`;
|
|
105287
105145
|
}
|
|
105288
105146
|
function zs(f, b) {
|
|
105289
105147
|
var j = dr(f, b);
|
|
105290
105148
|
if (j !== f && (f.children.length !== 1 || f.children[0] !== j))
|
|
105291
|
-
return
|
|
105149
|
+
return lr(b) + `...
|
|
105292
105150
|
` + zs(j, b + 1);
|
|
105293
105151
|
j = "";
|
|
105294
105152
|
var q = f.fiber._debugInfo;
|
|
105295
105153
|
if (q)
|
|
105296
105154
|
for (var _e = 0; _e < q.length; _e++) {
|
|
105297
105155
|
var Ne = q[_e].name;
|
|
105298
|
-
typeof Ne == "string" && (j +=
|
|
105156
|
+
typeof Ne == "string" && (j += lr(b) + "<" + Ne + `>
|
|
105299
105157
|
`, b++);
|
|
105300
105158
|
}
|
|
105301
105159
|
if (q = "", _e = f.fiber.pendingProps, f.fiber.tag === 6)
|
|
@@ -105306,14 +105164,14 @@ Check the render method of \`` + f + "`." : "";
|
|
|
105306
105164
|
var Ye = 120 - 2 * q - Ne.length - 2, at = "";
|
|
105307
105165
|
for (Dt in _e)
|
|
105308
105166
|
if (_e.hasOwnProperty(Dt) && Dt !== "children") {
|
|
105309
|
-
var kt =
|
|
105167
|
+
var kt = sr(_e[Dt], 15);
|
|
105310
105168
|
if (Ye -= Dt.length + kt.length + 2, 0 > Ye) {
|
|
105311
105169
|
at += " ...";
|
|
105312
105170
|
break;
|
|
105313
105171
|
}
|
|
105314
105172
|
at += " " + Dt + "=" + kt;
|
|
105315
105173
|
}
|
|
105316
|
-
q =
|
|
105174
|
+
q = lr(q) + "<" + Ne + at + `>
|
|
105317
105175
|
`, b++;
|
|
105318
105176
|
} else
|
|
105319
105177
|
f.serverProps === null ? (q = $a(
|
|
@@ -105331,7 +105189,7 @@ Check the render method of \`` + f + "`." : "";
|
|
|
105331
105189
|
var Dt = "";
|
|
105332
105190
|
for (_e = f.fiber.child, Ne = 0; _e && Ne < f.children.length; )
|
|
105333
105191
|
Ye = f.children[Ne], Ye.fiber === _e ? (Dt += zs(Ye, b), Ne++) : Dt += bi(_e, b), _e = _e.sibling;
|
|
105334
|
-
for (_e && 0 < f.children.length && (Dt +=
|
|
105192
|
+
for (_e && 0 < f.children.length && (Dt += lr(b) + `...
|
|
105335
105193
|
`), _e = f.serverTail, f.serverProps === null && b--, f = 0; f < _e.length; f++)
|
|
105336
105194
|
Ne = _e[f], Dt = typeof Ne == "string" ? Dt + (Nr(b) + ir(Ne, 120 - 2 * b) + `
|
|
105337
105195
|
`) : Dt + $a(
|
|
@@ -105891,7 +105749,7 @@ This will cause a hydration error.%s`,
|
|
|
105891
105749
|
f
|
|
105892
105750
|
);
|
|
105893
105751
|
}
|
|
105894
|
-
function
|
|
105752
|
+
function Yr(f) {
|
|
105895
105753
|
return S_.test("" + f) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : f;
|
|
105896
105754
|
}
|
|
105897
105755
|
function Qa() {
|
|
@@ -107024,7 +106882,7 @@ Check the render method of \`` + Ye + "`."), Ye = 29, j = Error(
|
|
|
107024
106882
|
qn(), Dc[Lc++] = Gd, Dc[Lc++] = qd, Dc[Lc++] = Sh, Gd = b.id, qd = b.overflow, Sh = f;
|
|
107025
106883
|
}
|
|
107026
106884
|
function qn() {
|
|
107027
|
-
|
|
106885
|
+
ea || console.error(
|
|
107028
106886
|
"Expected to be hydrating. This is a bug in React. Please file an issue."
|
|
107029
106887
|
);
|
|
107030
106888
|
}
|
|
@@ -107060,7 +106918,7 @@ Check the render method of \`` + Ye + "`."), Ye = 29, j = Error(
|
|
|
107060
106918
|
}, j.push(b), b);
|
|
107061
106919
|
}
|
|
107062
106920
|
function fr() {
|
|
107063
|
-
|
|
106921
|
+
ea && console.error(
|
|
107064
106922
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
|
107065
106923
|
);
|
|
107066
106924
|
}
|
|
@@ -107143,7 +107001,7 @@ https://react.dev/link/hydration-mismatch` + j
|
|
|
107143
107001
|
}
|
|
107144
107002
|
j = q.children, typeof j != "string" && typeof j != "number" && typeof j != "bigint" || b.textContent === "" + j || q.suppressHydrationWarning === !0 || b0(b.textContent, j) ? (q.popover != null && (wr("beforetoggle", b), wr("toggle", b)), q.onScroll != null && wr("scroll", b), q.onScrollEnd != null && wr("scrollend", b), q.onClick != null && (b.onclick = Qa), b = !0) : b = !1, b || ur(f, !0);
|
|
107145
107003
|
}
|
|
107146
|
-
function
|
|
107004
|
+
function Kr(f) {
|
|
107147
107005
|
for (lo = f.return; lo; )
|
|
107148
107006
|
switch (lo.tag) {
|
|
107149
107007
|
case 5:
|
|
@@ -107159,10 +107017,10 @@ https://react.dev/link/hydration-mismatch` + j
|
|
|
107159
107017
|
lo = lo.return;
|
|
107160
107018
|
}
|
|
107161
107019
|
}
|
|
107162
|
-
function
|
|
107020
|
+
function Qr(f) {
|
|
107163
107021
|
if (f !== lo) return !1;
|
|
107164
|
-
if (!
|
|
107165
|
-
return
|
|
107022
|
+
if (!ea)
|
|
107023
|
+
return Kr(f), ea = !0, !1;
|
|
107166
107024
|
var b = f.tag, j;
|
|
107167
107025
|
if ((j = b !== 3 && b !== 27) && ((j = b === 5) && (j = f.type, j = !(j !== "form" && j !== "button") || Pf(f.type, f.memoizedProps)), j = !j), j && Xa) {
|
|
107168
107026
|
for (j = Xa; j; ) {
|
|
@@ -107171,7 +107029,7 @@ https://react.dev/link/hydration-mismatch` + j
|
|
|
107171
107029
|
}
|
|
107172
107030
|
ur(f);
|
|
107173
107031
|
}
|
|
107174
|
-
if (
|
|
107032
|
+
if (Kr(f), b === 13) {
|
|
107175
107033
|
if (f = f.memoizedState, f = f !== null ? f.dehydrated : null, !f)
|
|
107176
107034
|
throw Error(
|
|
107177
107035
|
"Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."
|
|
@@ -107188,7 +107046,7 @@ https://react.dev/link/hydration-mismatch` + j
|
|
|
107188
107046
|
return !0;
|
|
107189
107047
|
}
|
|
107190
107048
|
function sa() {
|
|
107191
|
-
Xa = lo = null, rd =
|
|
107049
|
+
Xa = lo = null, rd = ea = !1;
|
|
107192
107050
|
}
|
|
107193
107051
|
function ds() {
|
|
107194
107052
|
var f = cp;
|
|
@@ -107950,7 +107808,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
107950
107808
|
), f && hr && Ui.alternate === null && b(tn, hr), an = Ne(Ui, an, Fr), gr === null ? Tr = Ui : gr.sibling = Ui, gr = Ui, hr = Ya;
|
|
107951
107809
|
}
|
|
107952
107810
|
if (Fr === dn.length)
|
|
107953
|
-
return j(tn, hr),
|
|
107811
|
+
return j(tn, hr), ea && Ze(tn, Fr), Tr;
|
|
107954
107812
|
if (hr === null) {
|
|
107955
107813
|
for (; Fr < dn.length; Fr++)
|
|
107956
107814
|
hr = mn(tn, dn[Fr], Pn), hr !== null && (tr = Jn(
|
|
@@ -107963,7 +107821,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
107963
107821
|
an,
|
|
107964
107822
|
Fr
|
|
107965
107823
|
), gr === null ? Tr = hr : gr.sibling = hr, gr = hr);
|
|
107966
|
-
return
|
|
107824
|
+
return ea && Ze(tn, Fr), Tr;
|
|
107967
107825
|
}
|
|
107968
107826
|
for (hr = q(hr); Fr < dn.length; Fr++)
|
|
107969
107827
|
Ya = An(
|
|
@@ -107986,7 +107844,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
107986
107844
|
), gr === null ? Tr = Ya : gr.sibling = Ya, gr = Ya);
|
|
107987
107845
|
return f && hr.forEach(function(af) {
|
|
107988
107846
|
return b(tn, af);
|
|
107989
|
-
}),
|
|
107847
|
+
}), ea && Ze(tn, Fr), Tr;
|
|
107990
107848
|
}
|
|
107991
107849
|
function Fa(tn, an, dn, Pn) {
|
|
107992
107850
|
if (dn == null)
|
|
@@ -108006,7 +107864,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
108006
107864
|
), f && gr && af.alternate === null && b(tn, gr), an = Ne(af, an, hr), Tr === null ? tr = af : Tr.sibling = af, Tr = af, gr = Fr;
|
|
108007
107865
|
}
|
|
108008
107866
|
if (Ui.done)
|
|
108009
|
-
return j(tn, gr),
|
|
107867
|
+
return j(tn, gr), ea && Ze(tn, hr), tr;
|
|
108010
107868
|
if (gr === null) {
|
|
108011
107869
|
for (; !Ui.done; hr++, Ui = dn.next())
|
|
108012
107870
|
gr = mn(tn, Ui.value, Pn), gr !== null && (Ya = Jn(
|
|
@@ -108019,7 +107877,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
108019
107877
|
an,
|
|
108020
107878
|
hr
|
|
108021
107879
|
), Tr === null ? tr = gr : Tr.sibling = gr, Tr = gr);
|
|
108022
|
-
return
|
|
107880
|
+
return ea && Ze(tn, hr), tr;
|
|
108023
107881
|
}
|
|
108024
107882
|
for (gr = q(gr); !Ui.done; hr++, Ui = dn.next())
|
|
108025
107883
|
Fr = An(
|
|
@@ -108042,7 +107900,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
108042
107900
|
), Tr === null ? tr = Fr : Tr.sibling = Fr, Tr = Fr);
|
|
108043
107901
|
return f && gr.forEach(function(FS) {
|
|
108044
107902
|
return b(tn, FS);
|
|
108045
|
-
}),
|
|
107903
|
+
}), ea && Ze(tn, hr), tr;
|
|
108046
107904
|
}
|
|
108047
107905
|
function na(tn, an, dn, Pn) {
|
|
108048
107906
|
if (typeof dn == "object" && dn !== null && dn.type === qf && dn.key === null && (fs(dn, null, tn), dn = dn.props.children), typeof dn == "object" && dn !== null) {
|
|
@@ -108562,9 +108420,9 @@ Incoming: %s`,
|
|
|
108562
108420
|
Wn(!1);
|
|
108563
108421
|
}
|
|
108564
108422
|
}
|
|
108565
|
-
return
|
|
108423
|
+
return Jr(f, b), Ye;
|
|
108566
108424
|
}
|
|
108567
|
-
function
|
|
108425
|
+
function Jr(f, b) {
|
|
108568
108426
|
b._debugHookTypes = Bc, b.dependencies === null ? Qd !== null && (b.dependencies = {
|
|
108569
108427
|
lanes: 0,
|
|
108570
108428
|
firstContext: null,
|
|
@@ -108806,7 +108664,7 @@ Incoming: %s`,
|
|
|
108806
108664
|
}
|
|
108807
108665
|
function Oi(f, b, j) {
|
|
108808
108666
|
var q = kr, _e = ti();
|
|
108809
|
-
if (
|
|
108667
|
+
if (ea) {
|
|
108810
108668
|
if (j === void 0)
|
|
108811
108669
|
throw Error(
|
|
108812
108670
|
"Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."
|
|
@@ -108841,7 +108699,7 @@ Incoming: %s`,
|
|
|
108841
108699
|
), Ne;
|
|
108842
108700
|
}
|
|
108843
108701
|
function Ua(f, b, j) {
|
|
108844
|
-
var q = kr, _e = ft(), Ne =
|
|
108702
|
+
var q = kr, _e = ft(), Ne = ea;
|
|
108845
108703
|
if (Ne) {
|
|
108846
108704
|
if (j === void 0)
|
|
108847
108705
|
throw Error(
|
|
@@ -109038,13 +108896,13 @@ Incoming: %s`,
|
|
|
109038
108896
|
function sl(f, b) {
|
|
109039
108897
|
return b;
|
|
109040
108898
|
}
|
|
109041
|
-
function
|
|
109042
|
-
if (
|
|
108899
|
+
function Gr(f, b) {
|
|
108900
|
+
if (ea) {
|
|
109043
108901
|
var j = La.formState;
|
|
109044
108902
|
if (j !== null) {
|
|
109045
108903
|
e: {
|
|
109046
108904
|
var q = kr;
|
|
109047
|
-
if (
|
|
108905
|
+
if (ea) {
|
|
109048
108906
|
if (Xa) {
|
|
109049
108907
|
t: {
|
|
109050
108908
|
for (var _e = Xa, Ne = Ic; _e.nodeType !== 8; ) {
|
|
@@ -109446,7 +109304,7 @@ Incoming: %s`,
|
|
|
109446
109304
|
}
|
|
109447
109305
|
function Dp() {
|
|
109448
109306
|
var f = ti(), b = La.identifierPrefix;
|
|
109449
|
-
if (
|
|
109307
|
+
if (ea) {
|
|
109450
109308
|
var j = qd, q = Gd;
|
|
109451
109309
|
j = (q & ~(1 << 32 - xs(q) - 1)).toString(32) + j, b = "_" + b + "R_" + j, j = p1++, 0 < j && (b += "H" + j.toString(32)), b += "_";
|
|
109452
109310
|
} else
|
|
@@ -109769,7 +109627,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
109769
109627
|
j,
|
|
109770
109628
|
_e,
|
|
109771
109629
|
!0
|
|
109772
|
-
),
|
|
109630
|
+
), ea && (rd = !0), j = ql.current, j !== null) {
|
|
109773
109631
|
switch (j.tag) {
|
|
109774
109632
|
case 31:
|
|
109775
109633
|
case 13:
|
|
@@ -109787,7 +109645,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
109787
109645
|
}
|
|
109788
109646
|
return wm(f, q, _e), Nf(), !1;
|
|
109789
109647
|
}
|
|
109790
|
-
if (
|
|
109648
|
+
if (ea)
|
|
109791
109649
|
return rd = !0, b = ql.current, b !== null ? ((b.flags & 65536) === 0 && (b.flags |= 256), b.flags |= 65536, b.lanes = _e, q !== py && nc(
|
|
109792
109650
|
Fe(
|
|
109793
109651
|
Error(
|
|
@@ -109862,7 +109720,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
109862
109720
|
Ye,
|
|
109863
109721
|
Ne,
|
|
109864
109722
|
_e
|
|
109865
|
-
), at = Tl(), f !== null && !rs ? (vd(f, b, _e), Dl(f, b, _e)) : (
|
|
109723
|
+
), at = Tl(), f !== null && !rs ? (vd(f, b, _e), Dl(f, b, _e)) : (ea && at && $t(b), b.flags |= 1, Zi(f, b, q, _e), b.child);
|
|
109866
109724
|
}
|
|
109867
109725
|
function Ig(f, b, j, q, _e) {
|
|
109868
109726
|
if (f === null) {
|
|
@@ -109989,7 +109847,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
109989
109847
|
function qx(f, b, j) {
|
|
109990
109848
|
var q = b.pendingProps, _e = (b.flags & 128) !== 0;
|
|
109991
109849
|
if (b.flags &= -129, f === null) {
|
|
109992
|
-
if (
|
|
109850
|
+
if (ea) {
|
|
109993
109851
|
if (q.mode === "hidden")
|
|
109994
109852
|
return f = Pp(b, q), b.lanes = 536870912, kd(null, f);
|
|
109995
109853
|
if (Ks(b), (f = Xa) ? (j = va(
|
|
@@ -110041,7 +109899,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
110041
109899
|
} else
|
|
110042
109900
|
f = Ne.treeContext, Xa = zo(
|
|
110043
109901
|
Ye.nextSibling
|
|
110044
|
-
), lo = b,
|
|
109902
|
+
), lo = b, ea = !0, cp = null, rd = !1, Gl = null, Ic = !1, f !== null && Cn(b, f), b = Pp(b, q), b.flags |= 4096;
|
|
110045
109903
|
return b;
|
|
110046
109904
|
}
|
|
110047
109905
|
return Ne = f.child, q = { mode: q.mode, children: q.children }, (j & 536870912) !== 0 && (j & f.lanes) !== 0 && Af(b), f = Mi(Ne, q), f.ref = b.ref, b.child = f, f.return = b, f;
|
|
@@ -110080,7 +109938,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
110080
109938
|
q,
|
|
110081
109939
|
void 0,
|
|
110082
109940
|
_e
|
|
110083
|
-
), q = Tl(), f !== null && !rs ? (vd(f, b, _e), Dl(f, b, _e)) : (
|
|
109941
|
+
), q = Tl(), f !== null && !rs ? (vd(f, b, _e), Dl(f, b, _e)) : (ea && q && $t(b), b.flags |= 1, Zi(f, b, j, _e), b.child);
|
|
110084
109942
|
}
|
|
110085
109943
|
function Vg(f, b, j, q, _e, Ne) {
|
|
110086
109944
|
return rc(b), Jd = -1, Sx = f !== null && f.type !== b.type, b.updateQueue = null, j = Do(
|
|
@@ -110088,7 +109946,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
110088
109946
|
q,
|
|
110089
109947
|
j,
|
|
110090
109948
|
_e
|
|
110091
|
-
),
|
|
109949
|
+
), Jr(f, b), q = Tl(), f !== null && !rs ? (vd(f, b, Ne), Dl(f, b, Ne)) : (ea && q && $t(b), b.flags |= 1, Zi(f, b, j, Ne), b.child);
|
|
110092
109950
|
}
|
|
110093
109951
|
function Td(f, b, j, q, _e) {
|
|
110094
109952
|
switch (d(b)) {
|
|
@@ -110350,7 +110208,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
110350
110208
|
c(b) && (b.flags |= 128);
|
|
110351
110209
|
var Ne = !1, Ye = (b.flags & 128) !== 0;
|
|
110352
110210
|
if ((q = Ye) || (q = f !== null && f.memoizedState === null ? !1 : (Vi.current & wx) !== 0), q && (Ne = !0, b.flags &= -129), q = (b.flags & 32) !== 0, b.flags &= -33, f === null) {
|
|
110353
|
-
if (
|
|
110211
|
+
if (ea) {
|
|
110354
110212
|
if (Ne ? Ii(b) : hs(b), (f = Xa) ? (j = va(
|
|
110355
110213
|
f,
|
|
110356
110214
|
Ic
|
|
@@ -110473,7 +110331,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
110473
110331
|
pn
|
|
110474
110332
|
) ? (b.flags |= 192, b.child = f.child, b = null) : (f = Dt.treeContext, Xa = zo(
|
|
110475
110333
|
pn.nextSibling
|
|
110476
|
-
), lo = b,
|
|
110334
|
+
), lo = b, ea = !0, cp = null, rd = !1, Gl = null, Ic = !1, f !== null && Cn(b, f), b = Hg(
|
|
110477
110335
|
b,
|
|
110478
110336
|
_e.children
|
|
110479
110337
|
), b.flags |= 4096);
|
|
@@ -110615,7 +110473,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
110615
110473
|
'A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',
|
|
110616
110474
|
_e
|
|
110617
110475
|
);
|
|
110618
|
-
if (Zi(f, b, Ye, j),
|
|
110476
|
+
if (Zi(f, b, Ye, j), ea ? (qn(), Ye = ax) : Ye = 0, !q && f !== null && (f.flags & 128) !== 0)
|
|
110619
110477
|
e: for (f = b.child; f !== null; ) {
|
|
110620
110478
|
if (f.tag === 13)
|
|
110621
110479
|
f.memoizedState !== null && Gg(f, j, b);
|
|
@@ -110829,7 +110687,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
110829
110687
|
rs = (f.flags & 131072) !== 0;
|
|
110830
110688
|
}
|
|
110831
110689
|
else
|
|
110832
|
-
rs = !1, (q =
|
|
110690
|
+
rs = !1, (q = ea) && (qn(), q = (b.flags & 1048576) !== 0), q && (q = b.index, qn(), mt(b, ax, q));
|
|
110833
110691
|
switch (b.lanes = 0, b.tag) {
|
|
110834
110692
|
case 16:
|
|
110835
110693
|
e: if (q = b.pendingProps, f = ei(b.elementType), b.type = f, typeof f == "function")
|
|
@@ -110940,7 +110798,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
110940
110798
|
);
|
|
110941
110799
|
break e;
|
|
110942
110800
|
} else
|
|
110943
|
-
for (f = b.stateNode.containerInfo, f.nodeType === 9 ? f = f.body : f = f.nodeName === "HTML" ? f.ownerDocument.body : f, Xa = zo(f.firstChild), lo = b,
|
|
110801
|
+
for (f = b.stateNode.containerInfo, f.nodeType === 9 ? f = f.body : f = f.nodeName === "HTML" ? f.ownerDocument.body : f, Xa = zo(f.firstChild), lo = b, ea = !0, cp = null, rd = !1, Gl = null, Ic = !0, j = Jb(
|
|
110944
110802
|
b,
|
|
110945
110803
|
null,
|
|
110946
110804
|
q,
|
|
@@ -110972,7 +110830,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
110972
110830
|
null,
|
|
110973
110831
|
b.pendingProps,
|
|
110974
110832
|
null
|
|
110975
|
-
)) ? b.memoizedState = j :
|
|
110833
|
+
)) ? b.memoizedState = j : ea || (j = b.type, f = b.pendingProps, q = rt(
|
|
110976
110834
|
Vo.current
|
|
110977
110835
|
), q = nh(
|
|
110978
110836
|
q
|
|
@@ -110983,7 +110841,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
110983
110841
|
f.memoizedState
|
|
110984
110842
|
), null;
|
|
110985
110843
|
case 27:
|
|
110986
|
-
return ot(b), f === null &&
|
|
110844
|
+
return ot(b), f === null && ea && (q = rt(Vo.current), _e = it(), q = b.stateNode = mu(
|
|
110987
110845
|
b.type,
|
|
110988
110846
|
b.pendingProps,
|
|
110989
110847
|
q,
|
|
@@ -111003,7 +110861,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111003
110861
|
j
|
|
111004
110862
|
), Fp(f, b), f === null && (b.flags |= 4194304), b.child;
|
|
111005
110863
|
case 5:
|
|
111006
|
-
return f === null &&
|
|
110864
|
+
return f === null && ea && (Ne = it(), q = za(
|
|
111007
110865
|
b.type,
|
|
111008
110866
|
Ne.ancestorInfo
|
|
111009
110867
|
), _e = Xa, (Ye = !_e) || (Ye = Sv(
|
|
@@ -111032,7 +110890,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111032
110890
|
j
|
|
111033
110891
|
), b.child;
|
|
111034
110892
|
case 6:
|
|
111035
|
-
return f === null &&
|
|
110893
|
+
return f === null && ea && (j = b.pendingProps, f = it(), q = f.ancestorInfo.current, j = q != null ? oi(
|
|
111036
110894
|
j,
|
|
111037
110895
|
q.tag,
|
|
111038
110896
|
f.ancestorInfo.implicitRootScope
|
|
@@ -111180,7 +111038,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111180
111038
|
function Xx(f, b) {
|
|
111181
111039
|
if (b.type !== "stylesheet" || (b.state.loading & zc) !== Uh)
|
|
111182
111040
|
f.flags &= -16777217;
|
|
111183
|
-
else if (f.flags |= 16777216, !
|
|
111041
|
+
else if (f.flags |= 16777216, !Xr(b))
|
|
111184
111042
|
if (u0()) f.flags |= 8192;
|
|
111185
111043
|
else
|
|
111186
111044
|
throw Rh = c1, _y;
|
|
@@ -111189,7 +111047,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111189
111047
|
b !== null && (f.flags |= 4), f.flags & 16384 && (b = f.tag !== 22 ? en() : 536870912, f.lanes |= b, Oh |= b);
|
|
111190
111048
|
}
|
|
111191
111049
|
function kf(f, b) {
|
|
111192
|
-
if (!
|
|
111050
|
+
if (!ea)
|
|
111193
111051
|
switch (f.tailMode) {
|
|
111194
111052
|
case "hidden":
|
|
111195
111053
|
b = f.tail;
|
|
@@ -111240,7 +111098,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111240
111098
|
case 1:
|
|
111241
111099
|
return Sa(b), null;
|
|
111242
111100
|
case 3:
|
|
111243
|
-
return j = b.stateNode, q = null, f !== null && (q = f.memoizedState.cache), b.memoizedState.cache !== q && (b.flags |= 2048), $o(es, b), Qe(b), j.pendingContext && (j.context = j.pendingContext, j.pendingContext = null), (f === null || f.child === null) && (
|
|
111101
|
+
return j = b.stateNode, q = null, f !== null && (q = f.memoizedState.cache), b.memoizedState.cache !== q && (b.flags |= 2048), $o(es, b), Qe(b), j.pendingContext && (j.context = j.pendingContext, j.pendingContext = null), (f === null || f.child === null) && (Qr(b) ? (wl(), xc(b)) : f === null || f.memoizedState.isDehydrated && (b.flags & 256) === 0 || (b.flags |= 1024, ds())), Sa(b), null;
|
|
111244
111102
|
case 26:
|
|
111245
111103
|
var _e = b.type, Ne = b.memoizedState;
|
|
111246
111104
|
return f === null ? (xc(b), Ne !== null ? (Sa(b), Xx(
|
|
@@ -111273,7 +111131,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111273
111131
|
);
|
|
111274
111132
|
return Sa(b), null;
|
|
111275
111133
|
}
|
|
111276
|
-
f = it(),
|
|
111134
|
+
f = it(), Qr(b) ? Lr(b) : (f = mu(
|
|
111277
111135
|
_e,
|
|
111278
111136
|
q,
|
|
111279
111137
|
j,
|
|
@@ -111294,7 +111152,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111294
111152
|
return Sa(b), null;
|
|
111295
111153
|
}
|
|
111296
111154
|
var Ye = it();
|
|
111297
|
-
if (
|
|
111155
|
+
if (Qr(b))
|
|
111298
111156
|
Lr(b);
|
|
111299
111157
|
else {
|
|
111300
111158
|
switch (Ne = rt(Vo.current), za(_e, Ye.ancestorInfo), Ye = Ye.context, Ne = nh(Ne), Ye) {
|
|
@@ -111394,7 +111252,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111394
111252
|
throw Error(
|
|
111395
111253
|
"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."
|
|
111396
111254
|
);
|
|
111397
|
-
if (f = rt(Vo.current), j = it(),
|
|
111255
|
+
if (f = rt(Vo.current), j = it(), Qr(b)) {
|
|
111398
111256
|
if (f = b.stateNode, j = b.memoizedProps, _e = !rd, q = null, Ne = lo, Ne !== null)
|
|
111399
111257
|
switch (Ne.tag) {
|
|
111400
111258
|
case 3:
|
|
@@ -111428,7 +111286,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111428
111286
|
return Sa(b), null;
|
|
111429
111287
|
case 31:
|
|
111430
111288
|
if (j = b.memoizedState, f === null || f.memoizedState !== null) {
|
|
111431
|
-
if (q =
|
|
111289
|
+
if (q = Qr(b), j !== null) {
|
|
111432
111290
|
if (f === null) {
|
|
111433
111291
|
if (!q)
|
|
111434
111292
|
throw Error(
|
|
@@ -111454,7 +111312,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111454
111312
|
return Sa(b), null;
|
|
111455
111313
|
case 13:
|
|
111456
111314
|
if (q = b.memoizedState, f === null || f.memoizedState !== null && f.memoizedState.dehydrated !== null) {
|
|
111457
|
-
if (_e = q, Ne =
|
|
111315
|
+
if (_e = q, Ne = Qr(b), _e !== null && _e.dehydrated !== null) {
|
|
111458
111316
|
if (f === null) {
|
|
111459
111317
|
if (!Ne)
|
|
111460
111318
|
throw Error(
|
|
@@ -111494,7 +111352,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111494
111352
|
Vi,
|
|
111495
111353
|
Vi.current & vg | wx,
|
|
111496
111354
|
b
|
|
111497
|
-
),
|
|
111355
|
+
), ea && Ze(b, q.treeForkCount), b.child;
|
|
111498
111356
|
}
|
|
111499
111357
|
f = f.sibling;
|
|
111500
111358
|
}
|
|
@@ -111503,13 +111361,13 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
111503
111361
|
else {
|
|
111504
111362
|
if (!_e)
|
|
111505
111363
|
if (f = iu(Ne), f !== null) {
|
|
111506
|
-
if (b.flags |= 128, _e = !0, f = f.updateQueue, b.updateQueue = f, Ef(b, f), kf(q, !0), q.tail === null && q.tailMode === "hidden" && !Ne.alternate && !
|
|
111364
|
+
if (b.flags |= 128, _e = !0, f = f.updateQueue, b.updateQueue = f, Ef(b, f), kf(q, !0), q.tail === null && q.tailMode === "hidden" && !Ne.alternate && !ea)
|
|
111507
111365
|
return Sa(b), null;
|
|
111508
111366
|
} else
|
|
111509
111367
|
2 * Ji() - q.renderingStartTime > _1 && j !== 536870912 && (b.flags |= 128, _e = !0, kf(q, !1), b.lanes = 4194304);
|
|
111510
111368
|
q.isBackwards ? (Ne.sibling = b.child, b.child = Ne) : (f = q.last, f !== null ? f.sibling = Ne : b.child = Ne, q.last = Ne);
|
|
111511
111369
|
}
|
|
111512
|
-
return q.tail !== null ? (f = q.tail, q.rendering = f, q.tail = f.sibling, q.renderingStartTime = Ji(), f.sibling = null, j = Vi.current, j = _e ? j & vg | wx : j & vg, Ke(Vi, j, b),
|
|
111370
|
+
return q.tail !== null ? (f = q.tail, q.rendering = f, q.tail = f.sibling, q.renderingStartTime = Ji(), f.sibling = null, j = Vi.current, j = _e ? j & vg | wx : j & vg, Ke(Vi, j, b), ea && Ze(b, q.treeForkCount), f) : (Sa(b), null);
|
|
111513
111371
|
case 22:
|
|
111514
111372
|
case 23:
|
|
111515
111373
|
return $i(b), Ys(b), q = b.memoizedState !== null, f !== null ? f.memoizedState !== null !== q && (b.flags |= 8192) : q && (b.flags |= 8192), q ? (j & 536870912) !== 0 && (b.flags & 128) === 0 && (Sa(b), b.subtreeFlags & 6 && (b.flags |= 8192)) : Sa(b), j = b.updateQueue, j !== null && Ef(b, j.retryQueue), j = null, f !== null && f.memoizedState !== null && f.memoizedState.cachePool !== null && (j = f.memoizedState.cachePool.pool), q = null, b.memoizedState !== null && b.memoizedState.cachePool !== null && (q = b.memoizedState.cachePool.pool), q !== j && (b.flags |= 2048), f !== null && We(Ah, b), null;
|
|
@@ -113575,7 +113433,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
113575
113433
|
}
|
|
113576
113434
|
function $f() {
|
|
113577
113435
|
if (hl === 0)
|
|
113578
|
-
if ((Ur & 536870912) === 0 ||
|
|
113436
|
+
if ((Ur & 536870912) === 0 || ea) {
|
|
113579
113437
|
var f = bh;
|
|
113580
113438
|
bh <<= 1, (bh & 3932160) === 0 && (bh = 262144), hl = f;
|
|
113581
113439
|
} else hl = 536870912;
|
|
@@ -113593,7 +113451,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
113593
113451
|
case 0:
|
|
113594
113452
|
case 11:
|
|
113595
113453
|
case 15:
|
|
113596
|
-
f =
|
|
113454
|
+
f = Wr && Ve(Wr) || "Unknown", Uw.has(f) || (Uw.add(f), b = Ve(b) || "Unknown", console.error(
|
|
113597
113455
|
"Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",
|
|
113598
113456
|
b,
|
|
113599
113457
|
f,
|
|
@@ -113616,8 +113474,8 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
113616
113474
|
function nv(f, b, j) {
|
|
113617
113475
|
if ((la & (bs | Xl)) !== Bs)
|
|
113618
113476
|
throw Error("Should not already be working.");
|
|
113619
|
-
if (Ur !== 0 &&
|
|
113620
|
-
var q =
|
|
113477
|
+
if (Ur !== 0 && Wr !== null) {
|
|
113478
|
+
var q = Wr, _e = Ji();
|
|
113621
113479
|
switch (Db) {
|
|
113622
113480
|
case $x:
|
|
113623
113481
|
case Lh:
|
|
@@ -113937,14 +113795,14 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
113937
113795
|
return (la & (bs | Xl)) === Bs ? (_c(0), !1) : !0;
|
|
113938
113796
|
}
|
|
113939
113797
|
function vm() {
|
|
113940
|
-
if (
|
|
113798
|
+
if (Wr !== null) {
|
|
113941
113799
|
if (Ta === pl)
|
|
113942
|
-
var f =
|
|
113800
|
+
var f = Wr.return;
|
|
113943
113801
|
else
|
|
113944
|
-
f =
|
|
113802
|
+
f = Wr, _l(), ms(f), gg = null, bx = 0, f = Wr;
|
|
113945
113803
|
for (; f !== null; )
|
|
113946
113804
|
Xg(f.alternate, f), f = f.return;
|
|
113947
|
-
|
|
113805
|
+
Wr = null;
|
|
113948
113806
|
}
|
|
113949
113807
|
}
|
|
113950
113808
|
function Wu(f, b) {
|
|
@@ -114122,7 +113980,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114122
113980
|
_e,
|
|
114123
113981
|
j
|
|
114124
113982
|
)
|
|
114125
|
-
) : performance.measure(_e, j))), Oc = Kd = -1.1, vy = 0, r1 = -1.1, hp = pp, pp = -1.1, Yd = ts()), (b & 62914560) !== 0 && (a1 & 62914560) !== 0 && (Si(4194304), cs(jb, Ps)), (b & 2080374784) !== 0 && (a1 & 2080374784) !== 0 && (Si(268435456), cs(Mb, Ps)), j = f.timeoutHandle, j !== Vh && (f.timeoutHandle = Vh, jS(j)), j = f.cancelPendingCommit, j !== null && (f.cancelPendingCommit = null, j()), Su = 0, vm(), La = f,
|
|
113983
|
+
) : performance.measure(_e, j))), Oc = Kd = -1.1, vy = 0, r1 = -1.1, hp = pp, pp = -1.1, Yd = ts()), (b & 62914560) !== 0 && (a1 & 62914560) !== 0 && (Si(4194304), cs(jb, Ps)), (b & 2080374784) !== 0 && (a1 & 2080374784) !== 0 && (Si(268435456), cs(Mb, Ps)), j = f.timeoutHandle, j !== Vh && (f.timeoutHandle = Vh, jS(j)), j = f.cancelPendingCommit, j !== null && (f.cancelPendingCommit = null, j()), Su = 0, vm(), La = f, Wr = j = Mi(
|
|
114126
113984
|
f.current,
|
|
114127
113985
|
null
|
|
114128
113986
|
), Ur = b, Ta = pl, Yl = null, xp = !1, Eg = nr(f, b), Oy = !1, di = tf, Oh = hl = Py = yp = vp = 0, Yo = Nx = null, b1 = !1, (b & 8) !== 0 && (b |= b & 32), q = f.entangledLanes, q !== 0)
|
|
@@ -114132,7 +113990,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114132
113990
|
}
|
|
114133
113991
|
function Il(f, b) {
|
|
114134
113992
|
kr = null, Dn.H = Cx, Dn.getCurrentStack = null, Tc = !1, So = null, b === mg || b === l1 ? (b = al(), Ta = $x) : b === _y ? (b = al(), Ta = Nw) : Ta = b === jy ? Iy : b !== null && typeof b == "object" && typeof b.then == "function" ? Ax : v1, Yl = b;
|
|
114135
|
-
var j =
|
|
113993
|
+
var j = Wr;
|
|
114136
113994
|
j === null ? (di = Tx, Op(
|
|
114137
113995
|
f,
|
|
114138
113996
|
Fe(b, f.current)
|
|
@@ -114175,8 +114033,8 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114175
114033
|
b = !1, Ye = di;
|
|
114176
114034
|
e: do
|
|
114177
114035
|
try {
|
|
114178
|
-
if (Ta !== pl &&
|
|
114179
|
-
var at =
|
|
114036
|
+
if (Ta !== pl && Wr !== null) {
|
|
114037
|
+
var at = Wr, kt = Yl;
|
|
114180
114038
|
switch (Ta) {
|
|
114181
114039
|
case Iy:
|
|
114182
114040
|
vm(), Ye = x1;
|
|
@@ -114202,10 +114060,10 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114202
114060
|
Il(f, pn);
|
|
114203
114061
|
}
|
|
114204
114062
|
while (!0);
|
|
114205
|
-
return b && f.shellSuspendCounter++, _l(), la = q, Dn.H = _e, Dn.A = Ne,
|
|
114063
|
+
return b && f.shellSuspendCounter++, _l(), la = q, Dn.H = _e, Dn.A = Ne, Wr === null && (La = null, Ur = 0, Qo()), Ye;
|
|
114206
114064
|
}
|
|
114207
114065
|
function f0() {
|
|
114208
|
-
for (;
|
|
114066
|
+
for (; Wr !== null; ) bm(Wr);
|
|
114209
114067
|
}
|
|
114210
114068
|
function du(f, b) {
|
|
114211
114069
|
var j = la;
|
|
@@ -114224,8 +114082,8 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114224
114082
|
);
|
|
114225
114083
|
e: do
|
|
114226
114084
|
try {
|
|
114227
|
-
if (Ta !== pl &&
|
|
114228
|
-
t: switch (b =
|
|
114085
|
+
if (Ta !== pl && Wr !== null)
|
|
114086
|
+
t: switch (b = Wr, Ne = Yl, Ta) {
|
|
114229
114087
|
case v1:
|
|
114230
114088
|
Ta = pl, Yl = null, jf(
|
|
114231
114089
|
f,
|
|
@@ -114260,19 +114118,19 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114260
114118
|
break;
|
|
114261
114119
|
case Ly:
|
|
114262
114120
|
var Ye = null;
|
|
114263
|
-
switch (
|
|
114121
|
+
switch (Wr.tag) {
|
|
114264
114122
|
case 26:
|
|
114265
|
-
Ye =
|
|
114123
|
+
Ye = Wr.memoizedState;
|
|
114266
114124
|
case 5:
|
|
114267
114125
|
case 27:
|
|
114268
|
-
var at =
|
|
114269
|
-
if (Ye ?
|
|
114126
|
+
var at = Wr;
|
|
114127
|
+
if (Ye ? Xr(Ye) : at.stateNode.complete) {
|
|
114270
114128
|
Ta = pl, Yl = null;
|
|
114271
114129
|
var kt = at.sibling;
|
|
114272
|
-
if (kt !== null)
|
|
114130
|
+
if (kt !== null) Wr = kt;
|
|
114273
114131
|
else {
|
|
114274
114132
|
var Dt = at.return;
|
|
114275
|
-
Dt !== null ? (
|
|
114133
|
+
Dt !== null ? (Wr = Dt, Yp(Dt)) : Wr = null;
|
|
114276
114134
|
}
|
|
114277
114135
|
break t;
|
|
114278
114136
|
}
|
|
@@ -114311,11 +114169,11 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114311
114169
|
Il(f, pn);
|
|
114312
114170
|
}
|
|
114313
114171
|
while (!0);
|
|
114314
|
-
return _l(), Dn.H = q, Dn.A = _e, la = j,
|
|
114172
|
+
return _l(), Dn.H = q, Dn.A = _e, la = j, Wr !== null ? tf : (La = null, Ur = 0, Qo(), di);
|
|
114315
114173
|
}
|
|
114316
114174
|
function Ai() {
|
|
114317
|
-
for (;
|
|
114318
|
-
bm(
|
|
114175
|
+
for (; Wr !== null && !Xm(); )
|
|
114176
|
+
bm(Wr);
|
|
114319
114177
|
}
|
|
114320
114178
|
function bm(f) {
|
|
114321
114179
|
var b = f.alternate;
|
|
@@ -114331,11 +114189,11 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114331
114189
|
b,
|
|
114332
114190
|
f,
|
|
114333
114191
|
od
|
|
114334
|
-
), f.memoizedProps = f.pendingProps, b === null ? Yp(f) :
|
|
114192
|
+
), f.memoizedProps = f.pendingProps, b === null ? Yp(f) : Wr = b;
|
|
114335
114193
|
}
|
|
114336
114194
|
function p0(f) {
|
|
114337
114195
|
var b = ut(f, Qi, f);
|
|
114338
|
-
f.memoizedProps = f.pendingProps, b === null ? Yp(f) :
|
|
114196
|
+
f.memoizedProps = f.pendingProps, b === null ? Yp(f) : Wr = b;
|
|
114339
114197
|
}
|
|
114340
114198
|
function Qi(f) {
|
|
114341
114199
|
var b = f.alternate, j = (f.mode & zr) !== Cr;
|
|
@@ -114364,7 +114222,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114364
114222
|
case 5:
|
|
114365
114223
|
ms(f);
|
|
114366
114224
|
default:
|
|
114367
|
-
Xg(b, f), f =
|
|
114225
|
+
Xg(b, f), f = Wr = $s(f, od), b = zp(b, f, od);
|
|
114368
114226
|
}
|
|
114369
114227
|
return j && gd(f), b;
|
|
114370
114228
|
}
|
|
@@ -114382,18 +114240,18 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114382
114240
|
di = Tx, Op(
|
|
114383
114241
|
f,
|
|
114384
114242
|
Fe(j, f.current)
|
|
114385
|
-
),
|
|
114243
|
+
), Wr = null;
|
|
114386
114244
|
return;
|
|
114387
114245
|
}
|
|
114388
114246
|
} catch (Ne) {
|
|
114389
|
-
if (_e !== null) throw
|
|
114247
|
+
if (_e !== null) throw Wr = _e, Ne;
|
|
114390
114248
|
di = Tx, Op(
|
|
114391
114249
|
f,
|
|
114392
114250
|
Fe(j, f.current)
|
|
114393
|
-
),
|
|
114251
|
+
), Wr = null;
|
|
114394
114252
|
return;
|
|
114395
114253
|
}
|
|
114396
|
-
b.flags & 32768 ? (
|
|
114254
|
+
b.flags & 32768 ? (ea || q === v1 ? f = !0 : Eg || (Ur & 536870912) !== 0 ? f = !1 : (xp = f = !0, (q === Lh || q === Ih || q === $x || q === Ax) && (q = ql.current, q !== null && q.tag === 13 && (q.flags |= 16384))), h0(b, f)) : Yp(b);
|
|
114397
114255
|
}
|
|
114398
114256
|
function Yp(f) {
|
|
114399
114257
|
var b = f;
|
|
@@ -114413,14 +114271,14 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114413
114271
|
b,
|
|
114414
114272
|
od
|
|
114415
114273
|
), (b.mode & zr) !== Cr && ic(b), j !== null) {
|
|
114416
|
-
|
|
114274
|
+
Wr = j;
|
|
114417
114275
|
return;
|
|
114418
114276
|
}
|
|
114419
114277
|
if (b = b.sibling, b !== null) {
|
|
114420
|
-
|
|
114278
|
+
Wr = b;
|
|
114421
114279
|
return;
|
|
114422
114280
|
}
|
|
114423
|
-
|
|
114281
|
+
Wr = b = f;
|
|
114424
114282
|
} while (b !== null);
|
|
114425
114283
|
di === tf && (di = Aw);
|
|
114426
114284
|
}
|
|
@@ -114428,7 +114286,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114428
114286
|
do {
|
|
114429
114287
|
var j = Yx(f.alternate, f);
|
|
114430
114288
|
if (j !== null) {
|
|
114431
|
-
j.flags &= 32767,
|
|
114289
|
+
j.flags &= 32767, Wr = j;
|
|
114432
114290
|
return;
|
|
114433
114291
|
}
|
|
114434
114292
|
if ((f.mode & zr) !== Cr) {
|
|
@@ -114438,12 +114296,12 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114438
114296
|
f.actualDuration = j;
|
|
114439
114297
|
}
|
|
114440
114298
|
if (j = f.return, j !== null && (j.flags |= 32768, j.subtreeFlags = 0, j.deletions = null), !b && (f = f.sibling, f !== null)) {
|
|
114441
|
-
|
|
114299
|
+
Wr = f;
|
|
114442
114300
|
return;
|
|
114443
114301
|
}
|
|
114444
|
-
|
|
114302
|
+
Wr = f = j;
|
|
114445
114303
|
} while (f !== null);
|
|
114446
|
-
di = x1,
|
|
114304
|
+
di = x1, Wr = null;
|
|
114447
114305
|
}
|
|
114448
114306
|
function ja(f, b, j, q, _e, Ne, Ye, at, kt, Dt, pn, mn, nn, An) {
|
|
114449
114307
|
f.cancelPendingCommit = null;
|
|
@@ -114483,7 +114341,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
114483
114341
|
Ye,
|
|
114484
114342
|
at,
|
|
114485
114343
|
kt
|
|
114486
|
-
), f === La && (
|
|
114344
|
+
), f === La && (Wr = La = null, Ur = 0), kg = b, _p = f, Su = j, zy = Ne, Uy = _e, Fw = q, Vy = An, Bw = mn, Cu = S1, zw = null, b.actualDuration !== 0 || (b.subtreeFlags & 10256) !== 0 || (b.flags & 10256) !== 0 ? (f.callbackNode = null, f.callbackPriority = 0, Df(Bd, function() {
|
|
114487
114345
|
return Ox = window.event, Cu === S1 && (Cu = By), Zp(), null;
|
|
114488
114346
|
})) : (f.callbackNode = null, f.callbackPriority = 0), Xd = null, dp = ts(), mn !== null && fo(
|
|
114489
114347
|
An,
|
|
@@ -115103,7 +114961,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
115103
114961
|
return Sp;
|
|
115104
114962
|
}
|
|
115105
114963
|
function ua(f) {
|
|
115106
|
-
return f == null || typeof f == "symbol" || typeof f == "boolean" ? null : typeof f == "function" ? f : (fn(f, "action"),
|
|
114964
|
+
return f == null || typeof f == "symbol" || typeof f == "boolean" ? null : typeof f == "function" ? f : (fn(f, "action"), Yr("" + f));
|
|
115107
114965
|
}
|
|
115108
114966
|
function Ca(f, b) {
|
|
115109
114967
|
var j = b.ownerDocument.createElement("input");
|
|
@@ -115168,7 +115026,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
115168
115026
|
});
|
|
115169
115027
|
}
|
|
115170
115028
|
}
|
|
115171
|
-
function
|
|
115029
|
+
function qr(f, b, j) {
|
|
115172
115030
|
f.currentTarget = j;
|
|
115173
115031
|
try {
|
|
115174
115032
|
b(f);
|
|
@@ -115190,11 +115048,11 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
115190
115048
|
break e;
|
|
115191
115049
|
kt !== null ? ut(
|
|
115192
115050
|
kt,
|
|
115193
|
-
|
|
115051
|
+
qr,
|
|
115194
115052
|
Ne,
|
|
115195
115053
|
at,
|
|
115196
115054
|
Dt
|
|
115197
|
-
) :
|
|
115055
|
+
) : qr(Ne, at, Dt), _e = kt;
|
|
115198
115056
|
}
|
|
115199
115057
|
else
|
|
115200
115058
|
for (Ye = 0; Ye < q.length; Ye++) {
|
|
@@ -115202,11 +115060,11 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
115202
115060
|
break e;
|
|
115203
115061
|
kt !== null ? ut(
|
|
115204
115062
|
kt,
|
|
115205
|
-
|
|
115063
|
+
qr,
|
|
115206
115064
|
Ne,
|
|
115207
115065
|
at,
|
|
115208
115066
|
Dt
|
|
115209
|
-
) :
|
|
115067
|
+
) : qr(Ne, at, Dt), _e = kt;
|
|
115210
115068
|
}
|
|
115211
115069
|
}
|
|
115212
115070
|
}
|
|
@@ -115695,7 +115553,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
115695
115553
|
f.removeAttribute(j);
|
|
115696
115554
|
break;
|
|
115697
115555
|
}
|
|
115698
|
-
fn(q, j), q =
|
|
115556
|
+
fn(q, j), q = Yr("" + q), f.setAttribute(j, q);
|
|
115699
115557
|
break;
|
|
115700
115558
|
case "action":
|
|
115701
115559
|
case "formAction":
|
|
@@ -115766,7 +115624,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
115766
115624
|
f.removeAttribute(j);
|
|
115767
115625
|
break;
|
|
115768
115626
|
}
|
|
115769
|
-
fn(q, j), q =
|
|
115627
|
+
fn(q, j), q = Yr("" + q), f.setAttribute(j, q);
|
|
115770
115628
|
break;
|
|
115771
115629
|
case "onClick":
|
|
115772
115630
|
q != null && (typeof q != "function" && ai(j, q), f.onclick = Qa);
|
|
@@ -115812,7 +115670,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
115812
115670
|
f.removeAttribute("xlink:href");
|
|
115813
115671
|
break;
|
|
115814
115672
|
}
|
|
115815
|
-
fn(q, j), j =
|
|
115673
|
+
fn(q, j), j = Yr("" + q), f.setAttributeNS(Fh, "xlink:href", j);
|
|
115816
115674
|
break;
|
|
115817
115675
|
case "contentEditable":
|
|
115818
115676
|
case "spellCheck":
|
|
@@ -116507,7 +116365,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
116507
116365
|
for (Ne in b)
|
|
116508
116366
|
if (b.hasOwnProperty(Ne)) {
|
|
116509
116367
|
var Ye = b[Ne];
|
|
116510
|
-
Ye != null && typeof Ye != "boolean" && Ye !== "" && (Ne.indexOf("--") === 0 ? (In(Ye, Ne), q += _e + Ne + ":" + ("" + Ye).trim()) : typeof Ye != "number" || Ye === 0 || pr.has(Ne) ? (In(Ye, Ne), q += _e + Ne.replace(Ln, "-$1").toLowerCase().replace(
|
|
116368
|
+
Ye != null && typeof Ye != "boolean" && Ye !== "" && (Ne.indexOf("--") === 0 ? (In(Ye, Ne), q += _e + Ne + ":" + ("" + Ye).trim()) : typeof Ye != "number" || Ye === 0 || pr.has(Ne) ? (In(Ye, Ne), q += _e + Ne.replace(Ln, "-$1").toLowerCase().replace(or, "-ms-") + ":" + ("" + Ye).trim()) : q += _e + Ne.replace(Ln, "-$1").toLowerCase().replace(or, "-ms-") + ":" + Ye + "px", _e = ";");
|
|
116511
116369
|
}
|
|
116512
116370
|
q = q || null, b = f.getAttribute("style"), b !== q && (q = Bl(q), Bl(b) !== q && (j.style = Yu(f)));
|
|
116513
116371
|
}
|
|
@@ -116609,7 +116467,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
116609
116467
|
case "boolean":
|
|
116610
116468
|
break;
|
|
116611
116469
|
default:
|
|
116612
|
-
if (fn(q, b), j =
|
|
116470
|
+
if (fn(q, b), j = Yr("" + q), f === j)
|
|
116613
116471
|
return;
|
|
116614
116472
|
}
|
|
116615
116473
|
ri(b, f, q, Ne);
|
|
@@ -117808,7 +117666,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
117808
117666
|
}
|
|
117809
117667
|
return !1;
|
|
117810
117668
|
}
|
|
117811
|
-
function
|
|
117669
|
+
function Xr(f) {
|
|
117812
117670
|
return !(f.type === "stylesheet" && (f.state.loading & e_) === Uh);
|
|
117813
117671
|
}
|
|
117814
117672
|
function T0(f, b, j, q) {
|
|
@@ -118569,7 +118427,7 @@ Check the render method of %s.`,
|
|
|
118569
118427
|
"transitionTimingFunction"
|
|
118570
118428
|
],
|
|
118571
118429
|
wordWrap: ["overflowWrap"]
|
|
118572
|
-
}, Ln = /([A-Z])/g,
|
|
118430
|
+
}, Ln = /([A-Z])/g, or = /^ms-/, yr = /^(?:webkit|moz|o)[A-Z]/, ka = /^-ms-/, bn = /-(.)/g, hn = /;\s*$/, _n = {}, Bn = {}, mr = !1, oa = !1, pr = new Set(
|
|
118573
118431
|
"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(
|
|
118574
118432
|
" "
|
|
118575
118433
|
)
|
|
@@ -119454,7 +119312,7 @@ Check the render method of %s.`,
|
|
|
119454
119312
|
} catch {
|
|
119455
119313
|
Tb = !0;
|
|
119456
119314
|
}
|
|
119457
|
-
var fy = /* @__PURE__ */ new WeakMap(), cg = [], ug = 0, Qv = null, ax = 0, Dc = [], Lc = 0, Sh = null, Gd = 1, qd = "", lo = null, Xa = null,
|
|
119315
|
+
var fy = /* @__PURE__ */ new WeakMap(), cg = [], ug = 0, Qv = null, ax = 0, Dc = [], Lc = 0, Sh = null, Gd = 1, qd = "", lo = null, Xa = null, ea = !1, rd = !1, Gl = null, cp = null, Ic = !1, py = Error(
|
|
119458
119316
|
"Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
|
119459
119317
|
), hy = ze(null), my = ze(null), Ab = {}, Jv = null, dg = null, fg = !1, lS = typeof AbortController < "u" ? AbortController : function() {
|
|
119460
119318
|
var f = [], b = this.signal = {
|
|
@@ -119856,10 +119714,10 @@ Check the top-level render call using <` + q + ">.");
|
|
|
119856
119714
|
return Mn = "useId", Sr(), Dp();
|
|
119857
119715
|
},
|
|
119858
119716
|
useFormState: function(f, b) {
|
|
119859
|
-
return Mn = "useFormState", Sr(), xd(),
|
|
119717
|
+
return Mn = "useFormState", Sr(), xd(), Gr(f, b);
|
|
119860
119718
|
},
|
|
119861
119719
|
useActionState: function(f, b) {
|
|
119862
|
-
return Mn = "useActionState", Sr(),
|
|
119720
|
+
return Mn = "useActionState", Sr(), Gr(f, b);
|
|
119863
119721
|
},
|
|
119864
119722
|
useOptimistic: function(f) {
|
|
119865
119723
|
return Mn = "useOptimistic", Sr(), su(f);
|
|
@@ -119948,10 +119806,10 @@ Check the top-level render call using <` + q + ">.");
|
|
|
119948
119806
|
return Mn = "useId", Un(), Dp();
|
|
119949
119807
|
},
|
|
119950
119808
|
useActionState: function(f, b) {
|
|
119951
|
-
return Mn = "useActionState", Un(),
|
|
119809
|
+
return Mn = "useActionState", Un(), Gr(f, b);
|
|
119952
119810
|
},
|
|
119953
119811
|
useFormState: function(f, b) {
|
|
119954
|
-
return Mn = "useFormState", Un(), xd(),
|
|
119812
|
+
return Mn = "useFormState", Un(), xd(), Gr(f, b);
|
|
119955
119813
|
},
|
|
119956
119814
|
useOptimistic: function(f) {
|
|
119957
119815
|
return Mn = "useOptimistic", Un(), su(f);
|
|
@@ -120226,10 +120084,10 @@ Check the top-level render call using <` + q + ">.");
|
|
|
120226
120084
|
return Mn = "useId", h(), Sr(), Dp();
|
|
120227
120085
|
},
|
|
120228
120086
|
useFormState: function(f, b) {
|
|
120229
|
-
return Mn = "useFormState", h(), Sr(),
|
|
120087
|
+
return Mn = "useFormState", h(), Sr(), Gr(f, b);
|
|
120230
120088
|
},
|
|
120231
120089
|
useActionState: function(f, b) {
|
|
120232
|
-
return Mn = "useActionState", h(), Sr(),
|
|
120090
|
+
return Mn = "useActionState", h(), Sr(), Gr(f, b);
|
|
120233
120091
|
},
|
|
120234
120092
|
useOptimistic: function(f) {
|
|
120235
120093
|
return Mn = "useOptimistic", h(), Sr(), su(f);
|
|
@@ -120480,7 +120338,7 @@ Check the top-level render call using <` + q + ">.");
|
|
|
120480
120338
|
var kx = Symbol.for;
|
|
120481
120339
|
kx("selector.component"), kx("selector.has_pseudo_class"), kx("selector.role"), kx("selector.test_id"), kx("selector.text");
|
|
120482
120340
|
}
|
|
120483
|
-
var yS = [], bS = typeof WeakMap == "function" ? WeakMap : Map, Bs = 0, bs = 2, Xl = 4, tf = 0, Tx = 1, Dh = 2, g1 = 3, gp = 4, x1 = 6, Aw = 5, la = Bs, La = null,
|
|
120341
|
+
var yS = [], bS = typeof WeakMap == "function" ? WeakMap : Map, Bs = 0, bs = 2, Xl = 4, tf = 0, Tx = 1, Dh = 2, g1 = 3, gp = 4, x1 = 6, Aw = 5, la = Bs, La = null, Wr = null, Ur = 0, pl = 0, v1 = 1, Lh = 2, $x = 3, Nw = 4, Ly = 5, Ax = 6, y1 = 7, Iy = 8, Ih = 9, Ta = pl, Yl = null, xp = !1, Eg = !1, Oy = !1, od = 0, di = tf, vp = 0, yp = 0, Py = 0, hl = 0, Oh = 0, Nx = null, Yo = null, b1 = !1, w1 = 0, Rw = 0, jw = 300, _1 = 1 / 0, Mw = 500, Rx = null, Ri = null, bp = null, S1 = 0, Fy = 1, By = 2, Dw = 3, wp = 0, Lw = 1, Iw = 2, Ow = 3, Pw = 4, C1 = 5, ss = 0, _p = null, kg = null, Su = 0, zy = 0, Vy = -0, Uy = null, Fw = null, Bw = null, Cu = S1, zw = null, wS = 50, jx = 0, Hy = null, Gy = !1, E1 = !1, _S = 50, Ph = 0, Mx = null, Tg = !1, k1 = null, Vw = !1, Uw = /* @__PURE__ */ new Set(), SS = {}, T1 = null, $g = null, qy = !1, Wy = !1, $1 = !1, Xy = !1, Sp = 0, Yy = {};
|
|
120484
120342
|
(function() {
|
|
120485
120343
|
for (var f = 0; f < sy.length; f++) {
|
|
120486
120344
|
var b = sy[f], j = b.toLowerCase();
|
|
@@ -123482,10 +123340,10 @@ var ApiError = class extends Error {
|
|
|
123482
123340
|
}), jn = (0, import_react7.useCallback)(async () => {
|
|
123483
123341
|
try {
|
|
123484
123342
|
s(!0);
|
|
123485
|
-
const
|
|
123343
|
+
const sr = "/api/items", $a = c || l ? `/api/items?workspace_id=${encodeURIComponent(
|
|
123486
123344
|
c || l
|
|
123487
123345
|
)}` : void 0, [ya, _a] = await Promise.all([
|
|
123488
|
-
apiJson(
|
|
123346
|
+
apiJson(sr),
|
|
123489
123347
|
$a ? apiJson($a) : Promise.resolve([])
|
|
123490
123348
|
]), zs = ((wi, Gi) => {
|
|
123491
123349
|
const ba = /* @__PURE__ */ new Map(), za = (oi, fi) => {
|
|
@@ -123520,8 +123378,8 @@ var ApiError = class extends Error {
|
|
|
123520
123378
|
), De(Hi(INITIAL_PROPS, fa.props)), ze(
|
|
123521
123379
|
Ba(INITIAL_MODEL_STYLE_CATEGORIES, fa.modelStyleCategories)
|
|
123522
123380
|
), Ke(Hi(INITIAL_MODEL_STYLES, fa.modelStyles)), et(Hi(INITIAL_POSES, fa.poses)), it(Ba(INITIAL_MOTION_PRESETS, fa.motionPresets)), Ge(Ba(INITIAL_SYSTEM_PROMPTS, fa.systemPrompts));
|
|
123523
|
-
} catch (
|
|
123524
|
-
console.error("Error loading CMS data, using defaults:",
|
|
123381
|
+
} catch (sr) {
|
|
123382
|
+
console.error("Error loading CMS data, using defaults:", sr), Bt(INITIAL_PRODUCTS), Pt(INITIAL_TEMPLATES_DATA), ln(INITIAL_PROMPTS), Ht(INITIAL_HOMEPAGE_CARDS), Qt(INITIAL_UPLOAD_CONFIGS), h(INITIAL_BG_CATEGORIES), v(INITIAL_BACKGROUNDS), N(INITIAL_MODEL_CATEGORIES), R(INITIAL_MODELS), P(INITIAL_AD_TEMPLATES), Z(INITIAL_AD_TEMPLATE_CATEGORIES), ne(INITIAL_STYLING_CATEGORIES), Ae(INITIAL_STYLING_ITEMS), je(INITIAL_PROP_CATEGORIES), De(INITIAL_PROPS), ze(INITIAL_MODEL_STYLE_CATEGORIES), Ke(INITIAL_MODEL_STYLES), et(INITIAL_POSES), it(INITIAL_MOTION_PRESETS), Ge(INITIAL_SYSTEM_PROMPTS);
|
|
123525
123383
|
} finally {
|
|
123526
123384
|
s(!1);
|
|
123527
123385
|
}
|
|
@@ -123529,29 +123387,29 @@ var ApiError = class extends Error {
|
|
|
123529
123387
|
(0, import_react7.useEffect)(() => {
|
|
123530
123388
|
o.pathname.includes("/workspace/") && !l || jn();
|
|
123531
123389
|
}, [jn, o.pathname, l]), (0, import_react7.useEffect)(() => {
|
|
123532
|
-
const
|
|
123390
|
+
const sr = () => {
|
|
123533
123391
|
o.pathname.includes("/workspace/") && !l || jn();
|
|
123534
123392
|
};
|
|
123535
|
-
return window.addEventListener("cms:refresh",
|
|
123393
|
+
return window.addEventListener("cms:refresh", sr), () => window.removeEventListener("cms:refresh", sr);
|
|
123536
123394
|
}, [jn, o.pathname, l]);
|
|
123537
123395
|
const [zn, Nn] = (0, import_react7.useState)(
|
|
123538
123396
|
/* @__PURE__ */ new Set()
|
|
123539
|
-
), [Gn, dr] = (0, import_react7.useState)(/* @__PURE__ */ new Set()), [
|
|
123397
|
+
), [Gn, dr] = (0, import_react7.useState)(/* @__PURE__ */ new Set()), [lr, _r] = (0, import_react7.useState)({}), Nr = (sr, $a) => {
|
|
123540
123398
|
_r((ya) => {
|
|
123541
|
-
const _a = new Set(ya[
|
|
123542
|
-
return _a.has($a) ? _a.delete($a) : _a.add($a), { ...ya, [
|
|
123399
|
+
const _a = new Set(ya[sr] || []);
|
|
123400
|
+
return _a.has($a) ? _a.delete($a) : _a.add($a), { ...ya, [sr]: _a };
|
|
123543
123401
|
});
|
|
123544
|
-
}, ca = (
|
|
123402
|
+
}, ca = (sr) => {
|
|
123545
123403
|
Nn(($a) => {
|
|
123546
123404
|
const ya = new Set($a);
|
|
123547
|
-
return ya.has(
|
|
123405
|
+
return ya.has(sr) ? ya.delete(sr) : ya.add(sr), ya;
|
|
123548
123406
|
});
|
|
123549
|
-
}, ir = (
|
|
123407
|
+
}, ir = (sr) => {
|
|
123550
123408
|
dr(($a) => {
|
|
123551
123409
|
const ya = new Set($a);
|
|
123552
|
-
return ya.has(
|
|
123410
|
+
return ya.has(sr) ? ya.delete(sr) : ya.add(sr), ya;
|
|
123553
123411
|
});
|
|
123554
|
-
}, cr = (
|
|
123412
|
+
}, cr = (sr) => ot.find(($a) => $a.id === sr)?.prompt, si = async () => {
|
|
123555
123413
|
}, Ka = (0, import_react7.useMemo)(
|
|
123556
123414
|
() => ({
|
|
123557
123415
|
products: It,
|
|
@@ -123636,7 +123494,7 @@ var ApiError = class extends Error {
|
|
|
123636
123494
|
isLoading: n,
|
|
123637
123495
|
favoriteModelIds: zn,
|
|
123638
123496
|
favoriteBgIds: Gn,
|
|
123639
|
-
favoritesByType:
|
|
123497
|
+
favoritesByType: lr,
|
|
123640
123498
|
toggleFavorite: Nr,
|
|
123641
123499
|
toggleFavoriteModel: ca,
|
|
123642
123500
|
toggleFavoriteBg: ir
|
|
@@ -123666,7 +123524,7 @@ var ApiError = class extends Error {
|
|
|
123666
123524
|
n,
|
|
123667
123525
|
zn,
|
|
123668
123526
|
Gn,
|
|
123669
|
-
|
|
123527
|
+
lr
|
|
123670
123528
|
]
|
|
123671
123529
|
);
|
|
123672
123530
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CMSContext.Provider, { value: Ka, children: e });
|
|
@@ -137923,6 +137781,148 @@ function AttachedBoardPreview({ anchor: e, open: t, onBack: n, children: s }) {
|
|
|
137923
137781
|
}
|
|
137924
137782
|
), document.body);
|
|
137925
137783
|
}
|
|
137784
|
+
const BTF = [
|
|
137785
|
+
{ key: "best_seller", label: "Best Seller" },
|
|
137786
|
+
{ key: "trending", label: "Trending" },
|
|
137787
|
+
{ key: "forecast", label: "Forecast" }
|
|
137788
|
+
], readable = (e) => e.replace(/_/g, " ").replace(/^\w/, (t) => t.toUpperCase());
|
|
137789
|
+
function regenerateContext(e) {
|
|
137790
|
+
for (let t = e.length - 1; t >= 0; t -= 1) {
|
|
137791
|
+
const n = object(object(e[t].props).refineCtx);
|
|
137792
|
+
if (Object.keys(object(n.inputs)).length) return n;
|
|
137793
|
+
}
|
|
137794
|
+
return null;
|
|
137795
|
+
}
|
|
137796
|
+
function pick(e, t) {
|
|
137797
|
+
const n = e.trim().toLowerCase();
|
|
137798
|
+
return t.find((s) => s.value.toLowerCase() === n || s.label.toLowerCase() === n)?.value ?? e.trim();
|
|
137799
|
+
}
|
|
137800
|
+
function initialChoices(e) {
|
|
137801
|
+
const t = object(e.inputs), n = object(e.options), s = object(t.btf), o = BTF.every(({ key: d }) => Number.isFinite(Number(s[d]))) ? Object.fromEntries(BTF.map(({ key: d }) => [d, Number(s[d])])) : distributeWeights(BTF.map(({ key: d }) => d)), l = (d, h) => text$1(d).trim() ? [pick(text$1(d), options$2(n[h]))] : [], c = object(t.selected_theme);
|
|
137802
|
+
return {
|
|
137803
|
+
categories: list(t.bricks).map(String).filter(Boolean),
|
|
137804
|
+
btf: o,
|
|
137805
|
+
gender: l(t.gender_mix, "gender_mix"),
|
|
137806
|
+
total: t.total_options == null || t.total_options === "" ? [] : [String(t.total_options)],
|
|
137807
|
+
adherence: l(t.brand_adherence, "brand_adherence"),
|
|
137808
|
+
theme: list(c.themes).length ? list(c.themes).map(String) : text$1(c.name).trim() ? [text$1(c.name)] : [],
|
|
137809
|
+
notes: text$1(t.notes)
|
|
137810
|
+
};
|
|
137811
|
+
}
|
|
137812
|
+
function regenerateProblem(e) {
|
|
137813
|
+
const t = Object.values(e.btf).reduce((n, s) => n + s, 0);
|
|
137814
|
+
return e.categories.length ? t !== 100 ? "The BTF mix must total 100%." : e.gender.length ? !e.total.length || e.total.some((n) => !/^\d+$/.test(n) || Number(n) < 1 || Number(n) > 200) ? "Choose between 1 and 200 options." : e.adherence.length ? "" : "Choose a brand adherence." : "Choose a gender mix." : "Pick at least one category.";
|
|
137815
|
+
}
|
|
137816
|
+
function regenerateMessage(e, t, n) {
|
|
137817
|
+
const s = object(n.options), o = (d, h) => d.map((g) => options$2(s[h]).find((v) => v.value === g)?.label ?? g), l = t.categories.map((d) => {
|
|
137818
|
+
const h = options$2(s.categories).find((g) => g.value === d);
|
|
137819
|
+
return h ? h.label : readable(d);
|
|
137820
|
+
}), c = [
|
|
137821
|
+
`Regenerate the range plan with these choices (plan_refine thread_id: ${e}):`,
|
|
137822
|
+
`- Categories: ${l.join(", ")}`,
|
|
137823
|
+
`- BTF mix: ${BTF.map(({ key: d, label: h }) => `${h} ${t.btf[d]}%`).join(" / ")}`,
|
|
137824
|
+
`- Gender mix: ${o(t.gender, "gender_mix").join(", ")}`,
|
|
137825
|
+
`- Total options: ${t.total.join(", ")}`,
|
|
137826
|
+
`- Brand adherence: ${o(t.adherence, "brand_adherence").join(", ")}`,
|
|
137827
|
+
`- Theme: ${t.theme.length ? t.theme.join(" | ") : "No theme"}`
|
|
137828
|
+
];
|
|
137829
|
+
return t.notes.trim() && c.push(`- Other changes: ${t.notes.trim()}`), c.join(`
|
|
137830
|
+
`);
|
|
137831
|
+
}
|
|
137832
|
+
function MultiField({ label: e, choices: t, values: n, onChange: s, disabled: o, placeholder: l, numeric: c = !1, display: d = (g) => g, children: h }) {
|
|
137833
|
+
const [g, v] = useState(""), C = n.filter((R) => !t.some((I) => I.value === R)).map((R) => ({ value: R, label: d(R) })), N = (R) => s(n.includes(R) ? n.filter((I) => I !== R) : [...n, R]), T = () => {
|
|
137834
|
+
const R = g.replace(/\s*[,|]\s*/g, " ").replace(/\s+/g, " ").trim();
|
|
137835
|
+
if (!R) return;
|
|
137836
|
+
const I = t.find((P) => P.label.toLowerCase() === R.toLowerCase() || P.value.toLowerCase() === R.toLowerCase());
|
|
137837
|
+
s([.../* @__PURE__ */ new Set([...n, I?.value ?? R])]), v("");
|
|
137838
|
+
};
|
|
137839
|
+
return /* @__PURE__ */ jsxs("section", { className: "dreamer-stack dreamer-regenerate-field", children: [
|
|
137840
|
+
/* @__PURE__ */ jsx("h4", { children: e }),
|
|
137841
|
+
/* @__PURE__ */ jsx("p", { className: "dreamer-muted", children: "Select all that apply." }),
|
|
137842
|
+
/* @__PURE__ */ jsxs("div", { className: "dreamer-actions", role: "group", "aria-label": e, children: [
|
|
137843
|
+
[...t, ...C].map((R) => /* @__PURE__ */ jsx(Action, { disabled: o, selected: n.includes(R.value), onClick: () => N(R.value), children: R.label }, R.value)),
|
|
137844
|
+
h
|
|
137845
|
+
] }),
|
|
137846
|
+
/* @__PURE__ */ jsxs("div", { className: "dreamer-actions dreamer-typed", children: [
|
|
137847
|
+
/* @__PURE__ */ jsx(
|
|
137848
|
+
ScTextField,
|
|
137849
|
+
{
|
|
137850
|
+
"aria-label": `${e}: add your own`,
|
|
137851
|
+
placeholder: l,
|
|
137852
|
+
value: g,
|
|
137853
|
+
disabled: o,
|
|
137854
|
+
inputMode: c ? "numeric" : void 0,
|
|
137855
|
+
onChange: (R) => v(c ? R.target.value.replace(/[^\d]/g, "") : R.target.value),
|
|
137856
|
+
onKeyDown: (R) => {
|
|
137857
|
+
R.key === "Enter" && (R.preventDefault(), T());
|
|
137858
|
+
}
|
|
137859
|
+
}
|
|
137860
|
+
),
|
|
137861
|
+
/* @__PURE__ */ jsx(Action, { disabled: o || !g.trim(), onClick: T, children: "Add" })
|
|
137862
|
+
] })
|
|
137863
|
+
] });
|
|
137864
|
+
}
|
|
137865
|
+
function DreamerRegenerateForm({ ctx: e, threadId: t, onSend: n, onClose: s }) {
|
|
137866
|
+
const [o, l] = useState(() => initialChoices(e)), [c, d] = useState(!1), [h, g] = useState(""), v = object(e.options), C = (P) => l((F) => ({ ...F, ...P })), N = Object.values(o.btf).reduce((P, F) => P + F, 0), T = regenerateProblem(o), R = useRef(null);
|
|
137867
|
+
useEffect(() => {
|
|
137868
|
+
R.current?.scrollIntoView?.({ block: "nearest", behavior: "smooth" });
|
|
137869
|
+
}, []);
|
|
137870
|
+
const I = async () => {
|
|
137871
|
+
if (!(T || c)) {
|
|
137872
|
+
d(!0), g("");
|
|
137873
|
+
try {
|
|
137874
|
+
await n(regenerateMessage(t, o, e)), s();
|
|
137875
|
+
} catch {
|
|
137876
|
+
g("Could not send the request. Try again."), d(!1);
|
|
137877
|
+
}
|
|
137878
|
+
}
|
|
137879
|
+
};
|
|
137880
|
+
return /* @__PURE__ */ jsxs("section", { ref: R, className: "dreamer-question-card dreamer-regenerate", "data-testid": "dreamer-regenerate", "aria-label": "Regenerate plan", children: [
|
|
137881
|
+
/* @__PURE__ */ jsxs("header", { className: "dreamer-question-header", children: [
|
|
137882
|
+
/* @__PURE__ */ jsx("h3", { children: "Regenerate plan" }),
|
|
137883
|
+
/* @__PURE__ */ jsx("p", { className: "dreamer-muted", children: "Your previous choices are filled in. Change any of them, then regenerate." })
|
|
137884
|
+
] }),
|
|
137885
|
+
/* @__PURE__ */ jsxs("div", { className: "dreamer-question-body dreamer-stack", children: [
|
|
137886
|
+
/* @__PURE__ */ jsx(MultiField, { label: "Product categories", choices: options$2(v.categories), values: o.categories, onChange: (P) => C({ categories: P }), disabled: c, placeholder: "Add a category…", display: readable }),
|
|
137887
|
+
/* @__PURE__ */ jsxs("section", { className: "dreamer-stack dreamer-regenerate-field", children: [
|
|
137888
|
+
/* @__PURE__ */ jsx("h4", { children: "Best Seller / Trending / Forecast mix" }),
|
|
137889
|
+
BTF.map(({ key: P, label: F }) => /* @__PURE__ */ jsxs("label", { className: "dreamer-stack", children: [
|
|
137890
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
137891
|
+
F,
|
|
137892
|
+
": ",
|
|
137893
|
+
o.btf[P],
|
|
137894
|
+
"%"
|
|
137895
|
+
] }),
|
|
137896
|
+
/* @__PURE__ */ jsx("input", { "aria-label": F, type: "range", min: 0, max: 100, step: 1, value: o.btf[P], disabled: c, onChange: (Z) => C({ btf: updateWeights(o.btf, P, Number(Z.target.value)) }) })
|
|
137897
|
+
] }, P)),
|
|
137898
|
+
/* @__PURE__ */ jsxs("p", { className: "dreamer-muted", "aria-live": "polite", children: [
|
|
137899
|
+
"Total: ",
|
|
137900
|
+
N,
|
|
137901
|
+
"% of 100%"
|
|
137902
|
+
] })
|
|
137903
|
+
] }),
|
|
137904
|
+
/* @__PURE__ */ jsx(MultiField, { label: "Gender mix", choices: options$2(v.gender_mix), values: o.gender, onChange: (P) => C({ gender: P }), disabled: c, placeholder: "Add a mix, e.g. Women 60 / Men 40" }),
|
|
137905
|
+
/* @__PURE__ */ jsx(MultiField, { label: "Total design options", choices: options$2(v.total_options), values: o.total, onChange: (P) => C({ total: P }), disabled: c, placeholder: "Add a number", numeric: !0 }),
|
|
137906
|
+
/* @__PURE__ */ jsx(MultiField, { label: "Brand adherence", choices: options$2(v.brand_adherence), values: o.adherence, onChange: (P) => C({ adherence: P }), disabled: c, placeholder: "Add high, medium or low" }),
|
|
137907
|
+
/* @__PURE__ */ jsx(MultiField, { label: "Theme", choices: options$2(v.themes), values: o.theme, onChange: (P) => C({ theme: P }), disabled: c, placeholder: "Describe your own theme", children: /* @__PURE__ */ jsx(Action, { disabled: c, selected: !o.theme.length, onClick: () => C({ theme: [] }), children: "No theme" }) }),
|
|
137908
|
+
/* @__PURE__ */ jsxs("section", { className: "dreamer-stack dreamer-regenerate-field", children: [
|
|
137909
|
+
/* @__PURE__ */ jsx("h4", { children: "Other changes" }),
|
|
137910
|
+
/* @__PURE__ */ jsx(ScTextArea, { "aria-label": "Other changes", placeholder: "Anything else to change, e.g. more linen, fewer prints…", value: o.notes, disabled: c, onChange: (P) => C({ notes: P.target.value }) })
|
|
137911
|
+
] }),
|
|
137912
|
+
(T || h) && /* @__PURE__ */ jsx("p", { role: "alert", className: "dreamer-muted", children: h || T })
|
|
137913
|
+
] }),
|
|
137914
|
+
/* @__PURE__ */ jsxs("footer", { className: "dreamer-question-footer", children: [
|
|
137915
|
+
/* @__PURE__ */ jsx(Action, { disabled: c || !!T, onClick: () => {
|
|
137916
|
+
I();
|
|
137917
|
+
}, children: c ? "Regenerating…" : "Regenerate plan" }),
|
|
137918
|
+
/* @__PURE__ */ jsx(Action, { disabled: c, onClick: s, children: "Cancel" })
|
|
137919
|
+
] })
|
|
137920
|
+
] });
|
|
137921
|
+
}
|
|
137922
|
+
function DreamerRegenerate({ uiProps: e, onSend: t, disabled: n = !1 }) {
|
|
137923
|
+
const [s, o] = useState(!1), l = e.resume === !0 && !!text$1(object(e.question).id), c = regenerateContext(records(e.components).map((h) => ({ props: object(h.props) }))), d = text$1(e.thread_id);
|
|
137924
|
+
return l || !c || !d ? null : /* @__PURE__ */ jsx("div", { className: "dreamer-panel dreamer-inline-form dreamer-regenerate-chat", "data-testid": "dreamer-regenerate-chat", children: s ? /* @__PURE__ */ jsx(DreamerRegenerateForm, { ctx: c, threadId: d, onSend: t, onClose: () => o(!1) }) : /* @__PURE__ */ jsx("div", { className: "dreamer-actions dreamer-regenerate-entry", children: /* @__PURE__ */ jsx(Action, { disabled: n, onClick: () => o(!0), children: "Regenerate" }) }) });
|
|
137925
|
+
}
|
|
137926
137926
|
function PaneAwaitBar({ title: e, showing: t, onFocus: n }) {
|
|
137927
137927
|
return /* @__PURE__ */ jsxs(
|
|
137928
137928
|
"div",
|
|
@@ -142946,7 +142946,7 @@ function ChatScreen() {
|
|
|
142946
142946
|
const Gt = useRef(!1), Jt = useRef(null), Sn = useRef(() => {
|
|
142947
142947
|
}), jn = useRef(null), zn = useRef(() => {
|
|
142948
142948
|
}), Nn = useRef(!1), Gn = useRef(() => {
|
|
142949
|
-
}), [dr,
|
|
142949
|
+
}), [dr, lr] = useState(!1), _r = useRef(null), [Nr, ca] = useState(() => /* @__PURE__ */ new Map()), [ir, cr] = useState([]), [si, Ka] = useState(!1), [sr, $a] = useState(!1), [ya, _a] = useState(null), [bi, zs] = useState(!1), [fa, Ba] = useState(!1), [Hi, wi] = useState(null), Gi = useBackendReachable(), [ba, za] = useState(!1), [oi, fi] = useState("general"), [co, pi] = useState(!1), [ld, ws] = useState(!1), [ml, Za] = useState([]), [hi, Uc] = useState(!1), [cd, Yr] = useState(!1), [Qa, ji] = useState([]), [Hc, _s] = useState(!1), [Dr, os] = useState(0), [Kl, Eo] = useState("cursor-end"), [Eu, Ia] = useState(0), uo = useRef(!1), { notifyProcessingComplete: Zl } = useNotifications({
|
|
142950
142950
|
hasPendingAttentionInput: () => uo.current
|
|
142951
142951
|
}), [gl, ko] = useState(!1), xl = useRef(null), ku = useCallback((ft) => {
|
|
142952
142952
|
console.info("[SSE] reconnect -> silent refetch", { chatId: ft }), xl.current?.(ft, !0);
|
|
@@ -142975,7 +142975,7 @@ function ChatScreen() {
|
|
|
142975
142975
|
useEffect(() => subscribeToChatPrompts(of), [of]);
|
|
142976
142976
|
const Jl = useRef(0), vl = useRef(0), Ko = useCallback(async () => {
|
|
142977
142977
|
const ft = ++Jl.current;
|
|
142978
|
-
|
|
142978
|
+
Yr(!0);
|
|
142979
142979
|
try {
|
|
142980
142980
|
const Yt = normalizeSpecializationKey(F), Zt = await listQuickPrompts({
|
|
142981
142981
|
page: 1,
|
|
@@ -142993,7 +142993,7 @@ function ChatScreen() {
|
|
|
142993
142993
|
if (ft !== Jl.current) return;
|
|
142994
142994
|
console.error("Failed to load quick prompts", Yt), Za([]);
|
|
142995
142995
|
} finally {
|
|
142996
|
-
ft === Jl.current &&
|
|
142996
|
+
ft === Jl.current && Yr(!1);
|
|
142997
142997
|
}
|
|
142998
142998
|
}, [F]);
|
|
142999
142999
|
useEffect(() => {
|
|
@@ -143324,8 +143324,8 @@ function ChatScreen() {
|
|
|
143324
143324
|
[T, Qt]
|
|
143325
143325
|
), Kn = useCallback((ft) => {
|
|
143326
143326
|
cr((Yt) => Yt.filter((Zt) => Zt.id !== ft));
|
|
143327
|
-
}, []), ur = ir.find((ft) => ft.uploadStatus === "error"), Lr = ur ? `${ur.uploadError ?? `Couldn't upload "${ur.file.name}".`} Remove it to send your message.` : null,
|
|
143328
|
-
if (!T || !R || !I ||
|
|
143327
|
+
}, []), ur = ir.find((ft) => ft.uploadStatus === "error"), Lr = ur ? `${ur.uploadError ?? `Couldn't upload "${ur.file.name}".`} Remove it to send your message.` : null, Kr = fr, Qr = useCallback(async (ft, Yt) => {
|
|
143328
|
+
if (!T || !R || !I || sr) return !1;
|
|
143329
143329
|
const Zt = typeof ft == "string" ? ft.trim() : "";
|
|
143330
143330
|
if (!Zt) return !1;
|
|
143331
143331
|
const $n = Yt?.forceNewConversation ?? !1, kn = Yt?.hostEvent ? eventConversation(T, R) : null, Xn = Yt?.hostEvent ? kn ?? uuidv7() : $n ? uuidv7() : Qt || uuidv7(), Qn = Yt?.hostEvent ? !kn : $n || !Qt;
|
|
@@ -143345,7 +143345,7 @@ function ChatScreen() {
|
|
|
143345
143345
|
ht(($l) => [
|
|
143346
143346
|
...$l.filter((Ds) => !Yt?.hostEvent || Ds.chatId !== Xn || getMessageClientMessageId(Ds) !== vr),
|
|
143347
143347
|
wa
|
|
143348
|
-
]), Me.current = !0, bt.current = !0, Nn.current = !1,
|
|
143348
|
+
]), Me.current = !0, bt.current = !0, Nn.current = !1, lr(!1), requestAnimationFrame(() => {
|
|
143349
143349
|
Gn.current(), Rn.current?.scrollHeight, fo("user-submit", { force: !0, delayMs: 150 });
|
|
143350
143350
|
}), Yt?.clearComposer && Oe(""), Yt?.clearPendingFiles && cr([]), _i(Xn), (Qn || Yt?.hostEvent && Xn !== Qt) && C(Xn);
|
|
143351
143351
|
const Oi = To(Xn).then(
|
|
@@ -143383,7 +143383,7 @@ function ChatScreen() {
|
|
|
143383
143383
|
T,
|
|
143384
143384
|
R,
|
|
143385
143385
|
I,
|
|
143386
|
-
|
|
143386
|
+
sr,
|
|
143387
143387
|
Qt,
|
|
143388
143388
|
vt,
|
|
143389
143389
|
P,
|
|
@@ -143400,11 +143400,11 @@ function ChatScreen() {
|
|
|
143400
143400
|
Zo
|
|
143401
143401
|
]);
|
|
143402
143402
|
useEffect(() => {
|
|
143403
|
-
if (!e?.active || Z !== "inline_ask" || !T || !R ||
|
|
143403
|
+
if (!e?.active || Z !== "inline_ask" || !T || !R || sr || Ja || s.current || Date.now() < o.current) return;
|
|
143404
143404
|
const ft = pendingAgentEvents(T, R)[0];
|
|
143405
143405
|
if (!ft) return;
|
|
143406
143406
|
const Yt = `${R}:${T}:${ft.id}`;
|
|
143407
|
-
l.current.has(Yt) && (Qt !== eventConversation(T, R) || useSupportStore.getState().active) || (l.current.add(Yt), s.current = !0,
|
|
143407
|
+
l.current.has(Yt) && (Qt !== eventConversation(T, R) || useSupportStore.getState().active) || (l.current.add(Yt), s.current = !0, Qr(ft.label, { hostEvent: ft }).then((Zt) => {
|
|
143408
143408
|
Zt ? (l.current.delete(Yt), acknowledgeAgentEvent(ft)) : o.current = Date.now() + 3e4;
|
|
143409
143409
|
}).finally(() => {
|
|
143410
143410
|
s.current = !1, window.setTimeout(
|
|
@@ -143417,8 +143417,8 @@ function ChatScreen() {
|
|
|
143417
143417
|
Z,
|
|
143418
143418
|
T,
|
|
143419
143419
|
R,
|
|
143420
|
-
|
|
143421
|
-
|
|
143420
|
+
sr,
|
|
143421
|
+
Qr,
|
|
143422
143422
|
t,
|
|
143423
143423
|
Ja,
|
|
143424
143424
|
Qt
|
|
@@ -143427,22 +143427,22 @@ function ChatScreen() {
|
|
|
143427
143427
|
const Zt = ft.chatId, $n = getMessageClientMessageId(
|
|
143428
143428
|
ft
|
|
143429
143429
|
);
|
|
143430
|
-
ht((kn) => kn.filter((Xn) => !(Xn.role === "user" && Xn.chatId === Zt && getMessageClientMessageId(Xn) === $n))), await
|
|
143431
|
-
}, [ht,
|
|
143430
|
+
ht((kn) => kn.filter((Xn) => !(Xn.role === "user" && Xn.chatId === Zt && getMessageClientMessageId(Xn) === $n))), await Qr(Yt);
|
|
143431
|
+
}, [ht, Qr]), ds = useCallback(async (ft, Yt) => {
|
|
143432
143432
|
const Zt = Yt || ft;
|
|
143433
|
-
if (!(_t.current ||
|
|
143433
|
+
if (!(_t.current || sr)) {
|
|
143434
143434
|
_t.current = Zt, _a(Zt);
|
|
143435
143435
|
try {
|
|
143436
|
-
await
|
|
143436
|
+
await Qr(ft);
|
|
143437
143437
|
} finally {
|
|
143438
143438
|
_t.current = null, _a(null);
|
|
143439
143439
|
}
|
|
143440
143440
|
}
|
|
143441
|
-
}, [
|
|
143441
|
+
}, [sr, Qr]);
|
|
143442
143442
|
useEffect(() => {
|
|
143443
|
-
if (!T || !R || !I ||
|
|
143443
|
+
if (!T || !R || !I || sr || yn || on.current !== null || ln.current[0]?.samples?.length) return;
|
|
143444
143444
|
const ft = ln.current.shift();
|
|
143445
|
-
ft && (on.current = "plain", Ia((Yt) => Yt + 1),
|
|
143445
|
+
ft && (on.current = "plain", Ia((Yt) => Yt + 1), Qr(ft.prompt, {
|
|
143446
143446
|
forceNewConversation: ft.forceNewConversation
|
|
143447
143447
|
}).finally(() => {
|
|
143448
143448
|
on.current = null, Ia((Yt) => Yt + 1);
|
|
@@ -143451,13 +143451,13 @@ function ChatScreen() {
|
|
|
143451
143451
|
T,
|
|
143452
143452
|
R,
|
|
143453
143453
|
I,
|
|
143454
|
-
|
|
143454
|
+
sr,
|
|
143455
143455
|
yn,
|
|
143456
|
-
|
|
143456
|
+
Qr,
|
|
143457
143457
|
Eu
|
|
143458
143458
|
]);
|
|
143459
143459
|
const nc = useCallback(async () => {
|
|
143460
|
-
if (!T || !R || !I ||
|
|
143460
|
+
if (!T || !R || !I || sr) return;
|
|
143461
143461
|
const ft = qt.trim();
|
|
143462
143462
|
if (!ft && ir.length === 0) {
|
|
143463
143463
|
Ka(!1), Ht(!1), on.current === "sampled" && (on.current = null);
|
|
@@ -143466,7 +143466,7 @@ function ChatScreen() {
|
|
|
143466
143466
|
if (!canAutoSendQueuedSubmission(ir))
|
|
143467
143467
|
return;
|
|
143468
143468
|
const Yt = buildMessageWithAttachments(ft, ir);
|
|
143469
|
-
Ka(!1), Ht(!1), on.current === "sampled" && (on.current = null), await
|
|
143469
|
+
Ka(!1), Ht(!1), on.current === "sampled" && (on.current = null), await Qr(Yt, {
|
|
143470
143470
|
clearComposer: !0,
|
|
143471
143471
|
clearPendingFiles: !0
|
|
143472
143472
|
});
|
|
@@ -143474,22 +143474,22 @@ function ChatScreen() {
|
|
|
143474
143474
|
T,
|
|
143475
143475
|
R,
|
|
143476
143476
|
I,
|
|
143477
|
-
|
|
143477
|
+
sr,
|
|
143478
143478
|
qt,
|
|
143479
143479
|
ir,
|
|
143480
|
-
|
|
143480
|
+
Qr
|
|
143481
143481
|
]), wl = useCallback(async () => {
|
|
143482
|
-
if (!(!T || !R || !I ||
|
|
143482
|
+
if (!(!T || !R || !I || sr || !Gi || !qt.trim() && ir.length === 0)) {
|
|
143483
143483
|
if (ir.length > 0 && !qn) {
|
|
143484
143484
|
Ka(!0);
|
|
143485
143485
|
return;
|
|
143486
143486
|
}
|
|
143487
143487
|
await nc();
|
|
143488
143488
|
}
|
|
143489
|
-
}, [T, R, I,
|
|
143489
|
+
}, [T, R, I, sr, qt, ir, qn, nc, Gi]);
|
|
143490
143490
|
useEffect(() => {
|
|
143491
|
-
!si ||
|
|
143492
|
-
}, [si,
|
|
143491
|
+
!si || sr || canAutoSendQueuedSubmission(ir) && nc();
|
|
143492
|
+
}, [si, sr, ir, nc]);
|
|
143493
143493
|
const _l = useCallback(async (ft) => {
|
|
143494
143494
|
if (ft.length === 0) return;
|
|
143495
143495
|
const Yt = ft.map(
|
|
@@ -143498,7 +143498,7 @@ function ChatScreen() {
|
|
|
143498
143498
|
cr((Zt) => [...Zt, ...Yt]);
|
|
143499
143499
|
}, []);
|
|
143500
143500
|
useEffect(() => {
|
|
143501
|
-
if (!T || !R || !I ||
|
|
143501
|
+
if (!T || !R || !I || sr || si || yn || on.current !== null) return;
|
|
143502
143502
|
const ft = ln.current[0];
|
|
143503
143503
|
if (!ft?.samples?.length) return;
|
|
143504
143504
|
ln.current.shift(), on.current = "sampled", Ht(!0), Ia((Zt) => Zt + 1);
|
|
@@ -143516,7 +143516,7 @@ function ChatScreen() {
|
|
|
143516
143516
|
T,
|
|
143517
143517
|
R,
|
|
143518
143518
|
I,
|
|
143519
|
-
|
|
143519
|
+
sr,
|
|
143520
143520
|
si,
|
|
143521
143521
|
yn,
|
|
143522
143522
|
_l,
|
|
@@ -143538,9 +143538,9 @@ function ChatScreen() {
|
|
|
143538
143538
|
);
|
|
143539
143539
|
const $o = useCallback(
|
|
143540
143540
|
(ft) => {
|
|
143541
|
-
|
|
143541
|
+
Qr(ft.prompt, { forceNewConversation: !0 });
|
|
143542
143542
|
},
|
|
143543
|
-
[
|
|
143543
|
+
[Qr]
|
|
143544
143544
|
), md = useCallback((ft) => (ft.sampleTitle ?? "").toLowerCase().replace(/^(the|this|these|those|a|an)\s+/, "").replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 60) || ft.sampleId || "sample", []), mo = useCallback(
|
|
143545
143545
|
(ft, Yt) => {
|
|
143546
143546
|
if (ft.sampleData) {
|
|
@@ -143700,7 +143700,7 @@ function ChatScreen() {
|
|
|
143700
143700
|
},
|
|
143701
143701
|
[Ut, d]
|
|
143702
143702
|
), Li = ma ? ic(ma) : null, ff = isReviewGate(ma), jr = ma && (Li === "inline" || ff) ? ma : null, { isDragging: sc, dropHandlers: Sl } = useFileDrop({
|
|
143703
|
-
onFiles:
|
|
143703
|
+
onFiles: Kr,
|
|
143704
143704
|
/* An interactive component owns the turn: the composer is disabled and an
|
|
143705
143705
|
* attachment would have nowhere to go. True whether it is drawn in the dock
|
|
143706
143706
|
* or in the pane — the run is parked either way. */
|
|
@@ -144259,11 +144259,11 @@ function ChatScreen() {
|
|
|
144259
144259
|
const ft = Rn.current;
|
|
144260
144260
|
if (!ft) return;
|
|
144261
144261
|
const Yt = ft.scrollHeight - ft.scrollTop - ft.clientHeight, Zt = Nu.current && !Nn.current;
|
|
144262
|
-
|
|
144262
|
+
lr(!Zt && Yt > 120);
|
|
144263
144263
|
}, []);
|
|
144264
144264
|
zn.current = Un;
|
|
144265
144265
|
const kl = useCallback(() => {
|
|
144266
|
-
Nn.current = !1, bt.current = !0, Me.current = !0,
|
|
144266
|
+
Nn.current = !1, bt.current = !0, Me.current = !0, lr(!1), Ii() ? Ks("smooth") : mi("smooth");
|
|
144267
144267
|
}, [Ii, Ks, mi]);
|
|
144268
144268
|
useEffect(() => {
|
|
144269
144269
|
Ys(), !Gt.current && (fo("follow-tail", {
|
|
@@ -144333,7 +144333,7 @@ function ChatScreen() {
|
|
|
144333
144333
|
for (let ft = Ra.length - 1; ft >= 0; ft--)
|
|
144334
144334
|
if (isScrollAnchorRow(Ra[ft].kind)) return ft;
|
|
144335
144335
|
return -1;
|
|
144336
|
-
})(), Iu = Qt ? "active" : "empty",
|
|
144336
|
+
})(), Iu = Qt ? "active" : "empty", Jr = Iu === "empty", Do = Jr && (We || Ke !== null), Ou = Jr && !$e && !Do && hi && ud !== null, Tl = useSupportOverview(We, T, rt), vd = Do ? pickIncident(Tl?.products, typeof ne == "string" ? ne : je) : null, ms = usePrefersReducedMotion(), ti = useRef(!1);
|
|
144337
144337
|
return useComposerTravel(tt, Iu, ms, ti), /* The query container is this wrapper; the split is one level in, because an
|
|
144338
144338
|
* element is never its own query container.
|
|
144339
144339
|
*
|
|
@@ -144377,7 +144377,7 @@ function ChatScreen() {
|
|
|
144377
144377
|
/* @__PURE__ */ jsxs(
|
|
144378
144378
|
"div",
|
|
144379
144379
|
{
|
|
144380
|
-
className: `sa-chat-column-root flex min-h-0 flex-col min-w-0 relative flex-1 ${Di ? "h-full" : ""} ${
|
|
144380
|
+
className: `sa-chat-column-root flex min-h-0 flex-col min-w-0 relative flex-1 ${Di ? "h-full" : ""} ${Jr ? "overflow-y-auto themed-scrollbar" : "overflow-hidden"}`,
|
|
144381
144381
|
children: [
|
|
144382
144382
|
Gi ? gl && Qt ? /* @__PURE__ */ jsxs(
|
|
144383
144383
|
"div",
|
|
@@ -144406,7 +144406,7 @@ function ChatScreen() {
|
|
|
144406
144406
|
"div",
|
|
144407
144407
|
{
|
|
144408
144408
|
ref: yl,
|
|
144409
|
-
className: `relative flex min-h-0 flex-col ${
|
|
144409
|
+
className: `relative flex min-h-0 flex-col ${Jr ? $e || Do ? "" : Ou ? "shrink-0" : "mt-auto shrink-0" : "flex-1"}`,
|
|
144410
144410
|
style: Ou ? { marginTop: ud ?? 0 } : void 0,
|
|
144411
144411
|
children: [
|
|
144412
144412
|
/* @__PURE__ */ jsxs(
|
|
@@ -144419,9 +144419,9 @@ function ChatScreen() {
|
|
|
144419
144419
|
onKeyDown: Sr,
|
|
144420
144420
|
"data-testid": "chat-scroll",
|
|
144421
144421
|
"data-chat-mode": Iu,
|
|
144422
|
-
className: `min-h-0 flex-1 overflow-y-auto pb-4 themed-scrollbar ${
|
|
144422
|
+
className: `min-h-0 flex-1 overflow-y-auto pb-4 themed-scrollbar ${Jr ? "flex flex-col justify-start pt-[28px]" : "pt-2"}`,
|
|
144423
144423
|
children: [
|
|
144424
|
-
|
|
144424
|
+
Jr && /* @__PURE__ */ jsx("div", { className: "sa-chat-column pb-[8px]", children: Do ? /* @__PURE__ */ jsx(
|
|
144425
144425
|
SupportHomeHero,
|
|
144426
144426
|
{
|
|
144427
144427
|
incident: vd,
|
|
@@ -144437,7 +144437,7 @@ function ChatScreen() {
|
|
|
144437
144437
|
"div",
|
|
144438
144438
|
{
|
|
144439
144439
|
ref: xn,
|
|
144440
|
-
className: `sa-transcript sa-chat-column flex flex-col gap-6 ${
|
|
144440
|
+
className: `sa-transcript sa-chat-column flex flex-col gap-6 ${Jr ? "hidden" : ""} ${dr ? "pb-[56px]" : ""}`,
|
|
144441
144441
|
style: yt ? { paddingBottom: yt + 12 } : void 0,
|
|
144442
144442
|
children: [
|
|
144443
144443
|
Ra.map((ft, Yt) => {
|
|
@@ -144455,18 +144455,18 @@ function ChatScreen() {
|
|
|
144455
144455
|
const Xn = !!Ti && ft.turnKey === Ti, Qn = !!ft.message?.additional_kwargs?.ui_components, vr = Xn ? Qn ? !0 : "position" : !1, $r = Yt > 0 ? getRowSpeaker(Ra[Yt - 1].kind) : null, wa = (() => {
|
|
144456
144456
|
if (isUserSideRow(ft.kind))
|
|
144457
144457
|
return $r !== getRowSpeaker(ft.kind);
|
|
144458
|
-
for (let
|
|
144459
|
-
if (!isUserSideRow(Ra[
|
|
144458
|
+
for (let Gr = Yt + 1; Gr < Ra.length; Gr++)
|
|
144459
|
+
if (!isUserSideRow(Ra[Gr].kind)) return !1;
|
|
144460
144460
|
return !0;
|
|
144461
144461
|
})(), Oi = Yt === Rp, Ua = ["host_actions", "tactix:onboarding"].includes(String(Zt?.additional_kwargs?.ui_components?.name ?? "")), Lo = ft.kind === "assistant" && xd(Yt) && (!Ua || Yt === Oa), $l = (() => {
|
|
144462
|
-
for (let
|
|
144463
|
-
if (!isUserSideRow(Ra[
|
|
144464
|
-
const jl = Ra[
|
|
144462
|
+
for (let Gr = Yt - 1; Gr >= 0; Gr -= 1) {
|
|
144463
|
+
if (!isUserSideRow(Ra[Gr].kind)) continue;
|
|
144464
|
+
const jl = Ra[Gr].message?.created_at;
|
|
144465
144465
|
return typeof jl == "string" ? jl : null;
|
|
144466
144466
|
}
|
|
144467
144467
|
return null;
|
|
144468
144468
|
})(), Ds = ft.kind === "reasoning" && ft.turnKey === Ti && !Ra.slice(Yt + 1).some(
|
|
144469
|
-
(
|
|
144469
|
+
(Gr) => Gr.kind === "reasoning" && Gr.turnKey === ft.turnKey
|
|
144470
144470
|
), Al = ft.kind === "reasoning" && hasDisplayOnlyUIComponent(Zt);
|
|
144471
144471
|
if (ft.kind === "reasoning")
|
|
144472
144472
|
return !(Ja && Ds || traceHasContent(kn, As.get(ft.sourceIndex))) && !Al ? null : /* @__PURE__ */ jsx(
|
|
@@ -144544,7 +144544,7 @@ function ChatScreen() {
|
|
|
144544
144544
|
onClick: () => {
|
|
144545
144545
|
sa(Zt, kn);
|
|
144546
144546
|
},
|
|
144547
|
-
disabled:
|
|
144547
|
+
disabled: sr,
|
|
144548
144548
|
className: "rounded-[6px] px-1.5 py-0.5 underline underline-offset-2 outline-none transition-colors hover:bg-[var(--alias-fill-neutral-neutralhover)] focus-visible:ring-2 focus-visible:ring-[var(--alias-border-focus)] disabled:opacity-50",
|
|
144549
144549
|
children: "Retry"
|
|
144550
144550
|
}
|
|
@@ -144673,18 +144673,18 @@ function ChatScreen() {
|
|
|
144673
144673
|
chatId: Qt ?? "",
|
|
144674
144674
|
message: Zt,
|
|
144675
144675
|
isActive: Lo,
|
|
144676
|
-
onSubmitStart: (
|
|
144677
|
-
Mt(
|
|
144676
|
+
onSubmitStart: (Gr) => {
|
|
144677
|
+
Mt(Gr), Qt && _i(Qt);
|
|
144678
144678
|
},
|
|
144679
|
-
onSubmitFailed: (
|
|
144680
|
-
Ot(
|
|
144679
|
+
onSubmitFailed: (Gr) => {
|
|
144680
|
+
Ot(Gr), Qt && ls(Qt);
|
|
144681
144681
|
}
|
|
144682
144682
|
},
|
|
144683
144683
|
ft.key
|
|
144684
144684
|
);
|
|
144685
144685
|
const cc = RECEIPT_BEARING_COMPONENTS.has(
|
|
144686
144686
|
String(Nl?.name ?? "")
|
|
144687
|
-
), su = !!Nl && Zt !== jr, bd = ic(Zt) === "side-pane", uc = !(Ja && ft.turnKey === Ti), Pu = $n === "message" && !yd && uc, dc = ft.turnKey ? Ap.get(ft.turnKey) ?? null : null, Zs = Nl?.name === "tactix:onboarding", ou = Zt.additional_kwargs?.tactix_data_blocked, Rl = Zt === pf && dc && uc && Array.isArray(ou?.requiredSources) && ou.requiredSources.length > 0 && ou.requiredSources.every((
|
|
144687
|
+
), su = !!Nl && Zt !== jr, bd = ic(Zt) === "side-pane", uc = !(Ja && ft.turnKey === Ti), Pu = $n === "message" && !yd && uc, dc = ft.turnKey ? Ap.get(ft.turnKey) ?? null : null, Zs = Nl?.name === "tactix:onboarding", ou = Zt.additional_kwargs?.tactix_data_blocked, Rl = Zt === pf && dc && uc && Array.isArray(ou?.requiredSources) && ou.requiredSources.length > 0 && ou.requiredSources.every((Gr) => typeof Gr == "string" && sourceIsConnected(Q, Gr)), xf = !!Zt.additional_kwargs?.sample_data || isTactixSample(Q), sl = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
144688
144688
|
Pu && /* @__PURE__ */ jsx(
|
|
144689
144689
|
MessageFeedbackControls,
|
|
144690
144690
|
{
|
|
@@ -144698,7 +144698,7 @@ function ChatScreen() {
|
|
|
144698
144698
|
onRetry: dc ? () => {
|
|
144699
144699
|
ds(dc, ft.turnKey);
|
|
144700
144700
|
} : void 0,
|
|
144701
|
-
retryDisabled:
|
|
144701
|
+
retryDisabled: sr || !dc || ya === (ft.turnKey || dc),
|
|
144702
144702
|
leadingAction: /* @__PURE__ */ jsx(
|
|
144703
144703
|
CopyContentButton,
|
|
144704
144704
|
{
|
|
@@ -144740,27 +144740,39 @@ function ChatScreen() {
|
|
|
144740
144740
|
}
|
|
144741
144741
|
) }),
|
|
144742
144742
|
!Zs && sl,
|
|
144743
|
-
su && (!yd || cc) && /* @__PURE__ */ jsx("div", { "data-ui-component-anchor": !0, className: "w-full", children: bd ? /* @__PURE__ */
|
|
144744
|
-
|
|
144745
|
-
|
|
144746
|
-
|
|
144747
|
-
|
|
144748
|
-
|
|
144749
|
-
|
|
144750
|
-
|
|
144751
|
-
|
|
144752
|
-
|
|
144753
|
-
|
|
144743
|
+
su && (!yd || cc) && /* @__PURE__ */ jsx("div", { "data-ui-component-anchor": !0, className: "w-full", children: bd ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
144744
|
+
/* @__PURE__ */ jsx(
|
|
144745
|
+
PanelCardForMessage,
|
|
144746
|
+
{
|
|
144747
|
+
message: Zt,
|
|
144748
|
+
activePanelId: d && !h ? null : Vn,
|
|
144749
|
+
panels: In,
|
|
144750
|
+
onOpen: al,
|
|
144751
|
+
onClose: Yn,
|
|
144752
|
+
disabled: !Qt
|
|
144753
|
+
}
|
|
144754
|
+
),
|
|
144755
|
+
getUIComponent(Zt)?.name === "artifax:dreamer-panel" && /* @__PURE__ */ jsx(
|
|
144756
|
+
DreamerRegenerate,
|
|
144757
|
+
{
|
|
144758
|
+
uiProps: getUIComponent(Zt)?.props || {},
|
|
144759
|
+
disabled: !Qt || sr,
|
|
144760
|
+
onSend: async (Gr) => {
|
|
144761
|
+
if (!await Qr(Gr)) throw new Error("The request was not sent.");
|
|
144762
|
+
}
|
|
144763
|
+
}
|
|
144764
|
+
)
|
|
144765
|
+
] }) : /* @__PURE__ */ jsx(
|
|
144754
144766
|
UIComponents,
|
|
144755
144767
|
{
|
|
144756
144768
|
chatId: Qt ?? "",
|
|
144757
144769
|
message: Zt,
|
|
144758
144770
|
isActive: Lo,
|
|
144759
|
-
onSubmitStart: (
|
|
144760
|
-
Mt(
|
|
144771
|
+
onSubmitStart: (Gr) => {
|
|
144772
|
+
Mt(Gr), Qt && _i(Qt);
|
|
144761
144773
|
},
|
|
144762
|
-
onSubmitFailed: (
|
|
144763
|
-
Ot(
|
|
144774
|
+
onSubmitFailed: (Gr) => {
|
|
144775
|
+
Ot(Gr), Qt && ls(Qt);
|
|
144764
144776
|
}
|
|
144765
144777
|
}
|
|
144766
144778
|
) }),
|
|
@@ -144771,7 +144783,7 @@ function ChatScreen() {
|
|
|
144771
144783
|
variant: "outline",
|
|
144772
144784
|
"data-testid": "run-with-data",
|
|
144773
144785
|
text: ou?.requiredSources?.length === 1 && ou.requiredSources[0] === "sales" ? "Run again with your sales" : "Run again with your data",
|
|
144774
|
-
state:
|
|
144786
|
+
state: sr ? "disabled" : "default",
|
|
144775
144787
|
onClick: () => {
|
|
144776
144788
|
dc && ds(dc, ft.turnKey);
|
|
144777
144789
|
}
|
|
@@ -144793,7 +144805,7 @@ function ChatScreen() {
|
|
|
144793
144805
|
},
|
|
144794
144806
|
"active-form-anchor"
|
|
144795
144807
|
),
|
|
144796
|
-
Gc && Gc.chatId === Qt && !
|
|
144808
|
+
Gc && Gc.chatId === Qt && !sr && /* @__PURE__ */ jsxs(
|
|
144797
144809
|
"div",
|
|
144798
144810
|
{
|
|
144799
144811
|
role: "alert",
|
|
@@ -144840,7 +144852,7 @@ function ChatScreen() {
|
|
|
144840
144852
|
ref: tt,
|
|
144841
144853
|
"data-testid": "composer-dock",
|
|
144842
144854
|
"data-chat-mode": Iu,
|
|
144843
|
-
className: `sa-chat-column relative z-10 flex flex-col gap-2 pt-2 ${
|
|
144855
|
+
className: `sa-chat-column relative z-10 flex flex-col gap-2 pt-2 ${Jr ? "pb-0" : "pb-4"}`,
|
|
144844
144856
|
transition: chatLayoutTransition,
|
|
144845
144857
|
children: [
|
|
144846
144858
|
/* @__PURE__ */ jsx(AnimatePresence$1, { initial: !1, children: jr && /* @__PURE__ */ jsx(
|
|
@@ -144911,7 +144923,7 @@ function ChatScreen() {
|
|
|
144911
144923
|
PromptBar,
|
|
144912
144924
|
{
|
|
144913
144925
|
contextChip: ze && Ie ? { label: Ie.label, onRemove: De } : null,
|
|
144914
|
-
compact: !
|
|
144926
|
+
compact: !Jr,
|
|
144915
144927
|
placeholder: Do ? SUPPORT_PLACEHOLDER : Ve?.placeholder,
|
|
144916
144928
|
onClick: () => {
|
|
144917
144929
|
},
|
|
@@ -144944,8 +144956,8 @@ function ChatScreen() {
|
|
|
144944
144956
|
]
|
|
144945
144957
|
}
|
|
144946
144958
|
),
|
|
144947
|
-
Z !== "inline_ask" && !(
|
|
144948
|
-
|
|
144959
|
+
Z !== "inline_ask" && !(Jr && We) && /* @__PURE__ */ jsx(SampleDataToggle, { chatId: Jr ? null : Qt ?? null, editable: Jr }),
|
|
144960
|
+
Jr && Do && /* @__PURE__ */ jsx("div", { className: "mb-auto shrink-0 overflow-visible pb-4", children: /* @__PURE__ */ jsx("div", { className: "sa-chat-column", children: /* @__PURE__ */ jsx(
|
|
144949
144961
|
SupportHomeBelow,
|
|
144950
144962
|
{
|
|
144951
144963
|
cards: buildSupportCards({ overview: Tl, availableCredits: He }),
|
|
@@ -144959,10 +144971,10 @@ function ChatScreen() {
|
|
|
144959
144971
|
includeContext: Ge,
|
|
144960
144972
|
onIncludeContextChange: Tt,
|
|
144961
144973
|
onCardClick: $o,
|
|
144962
|
-
disabled: !Gi ||
|
|
144974
|
+
disabled: !Gi || sr
|
|
144963
144975
|
}
|
|
144964
144976
|
) }) }),
|
|
144965
|
-
|
|
144977
|
+
Jr && !Do && /* @__PURE__ */ jsx("div", { className: "mb-auto shrink-0 overflow-visible pb-4", children: /* @__PURE__ */ jsxs("div", { className: "sa-chat-column", children: [
|
|
144966
144978
|
tl && /* @__PURE__ */ jsx("div", { className: "sa-scope-featured", "data-testid": "featured-task", children: /* @__PURE__ */ jsx(
|
|
144967
144979
|
QuickPrompt,
|
|
144968
144980
|
{
|