@tasks-timeline/components 0.4.0 → 0.4.1
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/capabilities/system-prompt.d.ts.map +1 -1
- package/dist/capabilities/tools/ask-user.d.ts.map +1 -1
- package/dist/capabilities/types.d.ts +1 -1
- package/dist/capabilities/types.d.ts.map +1 -1
- package/dist/hooks/useAIAgent.d.ts +1 -1
- package/dist/hooks/useAIAgent.d.ts.map +1 -1
- package/dist/index.js +321 -302
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +39 -36
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46,7 +46,7 @@ function vZ() {
|
|
|
46
46
|
return "StrictMode";
|
|
47
47
|
case ne:
|
|
48
48
|
return "Suspense";
|
|
49
|
-
case
|
|
49
|
+
case de:
|
|
50
50
|
return "SuspenseList";
|
|
51
51
|
case Be:
|
|
52
52
|
return "Activity";
|
|
@@ -225,7 +225,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
225
225
|
function I(U) {
|
|
226
226
|
return typeof U == "object" && U !== null && U.$$typeof === N;
|
|
227
227
|
}
|
|
228
|
-
var O = pi, N = /* @__PURE__ */ Symbol.for("react.transitional.element"), D = /* @__PURE__ */ Symbol.for("react.portal"), H = /* @__PURE__ */ Symbol.for("react.fragment"), _ = /* @__PURE__ */ Symbol.for("react.strict_mode"), X = /* @__PURE__ */ Symbol.for("react.profiler"), K = /* @__PURE__ */ Symbol.for("react.consumer"), te = /* @__PURE__ */ Symbol.for("react.context"), J = /* @__PURE__ */ Symbol.for("react.forward_ref"), ne = /* @__PURE__ */ Symbol.for("react.suspense"),
|
|
228
|
+
var O = pi, N = /* @__PURE__ */ Symbol.for("react.transitional.element"), D = /* @__PURE__ */ Symbol.for("react.portal"), H = /* @__PURE__ */ Symbol.for("react.fragment"), _ = /* @__PURE__ */ Symbol.for("react.strict_mode"), X = /* @__PURE__ */ Symbol.for("react.profiler"), K = /* @__PURE__ */ Symbol.for("react.consumer"), te = /* @__PURE__ */ Symbol.for("react.context"), J = /* @__PURE__ */ Symbol.for("react.forward_ref"), ne = /* @__PURE__ */ Symbol.for("react.suspense"), de = /* @__PURE__ */ Symbol.for("react.suspense_list"), pe = /* @__PURE__ */ Symbol.for("react.memo"), Ae = /* @__PURE__ */ Symbol.for("react.lazy"), Be = /* @__PURE__ */ Symbol.for("react.activity"), qe = /* @__PURE__ */ Symbol.for("react.client.reference"), ot = O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ze = Object.prototype.hasOwnProperty, Je = Array.isArray, Pe = console.createTask ? console.createTask : function() {
|
|
229
229
|
return null;
|
|
230
230
|
};
|
|
231
231
|
O = {
|
|
@@ -443,7 +443,7 @@ function WV(e, t) {
|
|
|
443
443
|
};
|
|
444
444
|
return { schedule: qf.reduce((K, te) => {
|
|
445
445
|
const J = c[te];
|
|
446
|
-
return K[te] = (ne,
|
|
446
|
+
return K[te] = (ne, de = !1, pe = !1) => (n || H(), J.schedule(ne, de, pe)), K;
|
|
447
447
|
}, {}), cancel: (K) => {
|
|
448
448
|
for (let te = 0; te < qf.length; te++)
|
|
449
449
|
c[qf[te]].cancel(K);
|
|
@@ -810,16 +810,16 @@ function HP(e = ha.visualDuration, t = ha.bounce) {
|
|
|
810
810
|
if (D < 1) {
|
|
811
811
|
const J = NO(_, D);
|
|
812
812
|
K = (ne) => {
|
|
813
|
-
const
|
|
814
|
-
return c -
|
|
813
|
+
const de = Math.exp(-D * _ * ne);
|
|
814
|
+
return c - de * ((N + D * _ * H) / J * Math.sin(J * ne) + H * Math.cos(J * ne));
|
|
815
815
|
};
|
|
816
816
|
} else if (D === 1)
|
|
817
817
|
K = (J) => c - Math.exp(-_ * J) * (H + (N + _ * H) * J);
|
|
818
818
|
else {
|
|
819
819
|
const J = _ * Math.sqrt(D * D - 1);
|
|
820
820
|
K = (ne) => {
|
|
821
|
-
const
|
|
822
|
-
return c -
|
|
821
|
+
const de = Math.exp(-D * _ * ne), pe = Math.min(J * ne, 300);
|
|
822
|
+
return c - de * ((N + D * _ * H) * Math.sinh(pe) + J * H * Math.cosh(pe)) / J;
|
|
823
823
|
};
|
|
824
824
|
}
|
|
825
825
|
const te = {
|
|
@@ -829,15 +829,15 @@ function HP(e = ha.visualDuration, t = ha.bounce) {
|
|
|
829
829
|
if (O)
|
|
830
830
|
y.done = J >= M;
|
|
831
831
|
else {
|
|
832
|
-
let
|
|
833
|
-
D < 1 && (
|
|
834
|
-
const pe = Math.abs(
|
|
832
|
+
let de = J === 0 ? N : 0;
|
|
833
|
+
D < 1 && (de = J === 0 ? /* @__PURE__ */ Pu(N) : e_(K, J, ne));
|
|
834
|
+
const pe = Math.abs(de) <= r, Ae = Math.abs(c - ne) <= a;
|
|
835
835
|
y.done = pe && Ae;
|
|
836
836
|
}
|
|
837
837
|
return y.value = y.done ? c : ne, y;
|
|
838
838
|
},
|
|
839
839
|
toString: () => {
|
|
840
|
-
const J = Math.min(BD(te), zP), ne = $V((
|
|
840
|
+
const J = Math.min(BD(te), zP), ne = $V((de) => te.next(J * de).value, J, 30);
|
|
841
841
|
return J + "ms " + ne;
|
|
842
842
|
},
|
|
843
843
|
toTransition: () => {
|
|
@@ -862,7 +862,7 @@ function zO({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
862
862
|
I.done = Math.abs(Ae) <= x, I.value = I.done ? _ : Be;
|
|
863
863
|
};
|
|
864
864
|
let J, ne;
|
|
865
|
-
const
|
|
865
|
+
const de = (pe) => {
|
|
866
866
|
O(I.value) && (J = pe, ne = HP({
|
|
867
867
|
keyframes: [I.value, N(I.value)],
|
|
868
868
|
velocity: e_(K, pe, I.value),
|
|
@@ -873,11 +873,11 @@ function zO({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
873
873
|
restSpeed: T
|
|
874
874
|
}));
|
|
875
875
|
};
|
|
876
|
-
return
|
|
876
|
+
return de(0), {
|
|
877
877
|
calculatedDuration: null,
|
|
878
878
|
next: (pe) => {
|
|
879
879
|
let Ae = !1;
|
|
880
|
-
return !ne && J === void 0 && (Ae = !0, te(pe),
|
|
880
|
+
return !ne && J === void 0 && (Ae = !0, te(pe), de(pe)), J !== void 0 && pe >= J ? ne.next(pe - J) : (!Ae && te(pe), I);
|
|
881
881
|
}
|
|
882
882
|
};
|
|
883
883
|
}
|
|
@@ -1032,8 +1032,8 @@ class UD extends _D {
|
|
|
1032
1032
|
i && (J.value = i(J.value));
|
|
1033
1033
|
let { done: ne } = J;
|
|
1034
1034
|
!X && b !== null && (ne = this.playbackSpeed >= 0 ? this.currentTime >= a : this.currentTime <= 0);
|
|
1035
|
-
const
|
|
1036
|
-
return
|
|
1035
|
+
const de = this.holdTime === null && (this.state === "finished" || this.state === "running" && ne);
|
|
1036
|
+
return de && N !== zO && (J.value = VD(T, this.options, H, this.speed)), D && D(J.value), de && this.finish(), J;
|
|
1037
1037
|
}
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Allows the returned animation to be awaited or promise-chained. Currently
|
|
@@ -2269,25 +2269,25 @@ const Nu = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presen
|
|
|
2269
2269
|
IV(() => {
|
|
2270
2270
|
O.current = !1, N.current = M;
|
|
2271
2271
|
for (let ne = 0; ne < X.length; ne++) {
|
|
2272
|
-
const
|
|
2273
|
-
I.includes(
|
|
2272
|
+
const de = ep(X[ne]);
|
|
2273
|
+
I.includes(de) ? D.delete(de) : D.get(de) !== !0 && D.set(de, !1);
|
|
2274
2274
|
}
|
|
2275
2275
|
}, [X, I.length, I.join("-")]);
|
|
2276
2276
|
const te = [];
|
|
2277
2277
|
if (M !== H) {
|
|
2278
2278
|
let ne = [...M];
|
|
2279
|
-
for (let
|
|
2280
|
-
const pe = X[
|
|
2281
|
-
I.includes(Ae) || (ne.splice(
|
|
2279
|
+
for (let de = 0; de < X.length; de++) {
|
|
2280
|
+
const pe = X[de], Ae = ep(pe);
|
|
2281
|
+
I.includes(Ae) || (ne.splice(de, 0, pe), te.push(pe));
|
|
2282
2282
|
}
|
|
2283
2283
|
return i === "wait" && te.length && (ne = te), K(Tz(ne)), _(M), null;
|
|
2284
2284
|
}
|
|
2285
2285
|
process.env.NODE_ENV !== "production" && i === "wait" && X.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
2286
2286
|
const { forceRender: J } = Mo(TD);
|
|
2287
2287
|
return m.jsx(m.Fragment, { children: X.map((ne) => {
|
|
2288
|
-
const
|
|
2289
|
-
if (D.has(
|
|
2290
|
-
D.set(
|
|
2288
|
+
const de = ep(ne), pe = c && !x ? !1 : M === X || I.includes(de), Ae = () => {
|
|
2289
|
+
if (D.has(de))
|
|
2290
|
+
D.set(de, !0);
|
|
2291
2291
|
else
|
|
2292
2292
|
return;
|
|
2293
2293
|
let Be = !0;
|
|
@@ -2295,7 +2295,7 @@ const Nu = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presen
|
|
|
2295
2295
|
qe || (Be = !1);
|
|
2296
2296
|
}), Be && (J?.(), K(N.current), c && T?.(), r && r());
|
|
2297
2297
|
};
|
|
2298
|
-
return m.jsx(bj, { isPresent: pe, initial: !O.current || n ? void 0 : !1, custom: t, presenceAffectsLayout: a, mode: i, root: b, onExitComplete: pe ? void 0 : Ae, anchorX: y, children: ne },
|
|
2298
|
+
return m.jsx(bj, { isPresent: pe, initial: !O.current || n ? void 0 : !1, custom: t, presenceAffectsLayout: a, mode: i, root: b, onExitComplete: pe ? void 0 : Ae, anchorX: y, children: ne }, de);
|
|
2299
2299
|
}) });
|
|
2300
2300
|
}, x_ = jd({ strict: !1 }), Sz = {
|
|
2301
2301
|
animation: [
|
|
@@ -3517,8 +3517,8 @@ function PX(e) {
|
|
|
3517
3517
|
!K && !X.prevProp || // Or if the prop doesn't define an animation
|
|
3518
3518
|
sF(K) || typeof K == "boolean")
|
|
3519
3519
|
continue;
|
|
3520
|
-
const
|
|
3521
|
-
let pe =
|
|
3520
|
+
const de = FX(X.prevProp, K);
|
|
3521
|
+
let pe = de || // If we're making this variant active, we want to always make it active
|
|
3522
3522
|
_ === b && X.isActive && !ne && te || // If we removed a higher-priority variant (i is in reverse order)
|
|
3523
3523
|
H > N && te, Ae = !1;
|
|
3524
3524
|
const Be = Array.isArray(K) ? K : [K];
|
|
@@ -3540,7 +3540,7 @@ function PX(e) {
|
|
|
3540
3540
|
QO(Me) && QO(St) ? ae = !Z_(Me, St) : ae = Me !== St, ae ? Me != null ? Je(ge) : I.add(ge) : Me !== void 0 && I.has(ge) ? Je(ge) : X.protectedKeys[ge] = !0;
|
|
3541
3541
|
}
|
|
3542
3542
|
X.prevProp = K, X.prevResolvedValues = qe, X.isActive && (O = { ...O, ...qe }), r && e.blockInitialAnimation && (pe = !1);
|
|
3543
|
-
const Pe = ne &&
|
|
3543
|
+
const Pe = ne && de;
|
|
3544
3544
|
pe && (!Pe || Ae) && M.push(...Be.map((ge) => {
|
|
3545
3545
|
const Me = { type: _ };
|
|
3546
3546
|
if (typeof ge == "string" && r && !Pe && e.manuallyAnimateOnMount && e.parent) {
|
|
@@ -8971,8 +8971,8 @@ let pt = class Ta {
|
|
|
8971
8971
|
const te = D ? wJ(i, c, y) : T ? MJ(i) : RU(i), J = te || PU(i);
|
|
8972
8972
|
if (J)
|
|
8973
8973
|
return Ta.invalid(J);
|
|
8974
|
-
const ne = D ? IH(i, c, y) : T ? AH(i) : i, [
|
|
8975
|
-
ts:
|
|
8974
|
+
const ne = D ? IH(i, c, y) : T ? AH(i) : i, [de, pe] = Rp(ne, x, r), Ae = new Ta({
|
|
8975
|
+
ts: de,
|
|
8976
8976
|
zone: r,
|
|
8977
8977
|
o: pe,
|
|
8978
8978
|
loc: a
|
|
@@ -27376,8 +27376,8 @@ const tq = (e, t) => {
|
|
|
27376
27376
|
c.push(te);
|
|
27377
27377
|
const J = a(_, H);
|
|
27378
27378
|
for (let ne = 0; ne < J.length; ++ne) {
|
|
27379
|
-
const
|
|
27380
|
-
c.push(K +
|
|
27379
|
+
const de = J[ne];
|
|
27380
|
+
c.push(K + de);
|
|
27381
27381
|
}
|
|
27382
27382
|
b = T + (b.length > 0 ? " " + b : b);
|
|
27383
27383
|
}
|
|
@@ -27440,7 +27440,7 @@ const tq = (e, t) => {
|
|
|
27440
27440
|
"bottom-left",
|
|
27441
27441
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
27442
27442
|
"left-bottom"
|
|
27443
|
-
], J = () => [...te(), ct, lt], ne = () => ["auto", "hidden", "clip", "visible", "scroll"],
|
|
27443
|
+
], J = () => [...te(), ct, lt], ne = () => ["auto", "hidden", "clip", "visible", "scroll"], de = () => ["auto", "contain", "none"], pe = () => [ct, lt, b], Ae = () => [n2, "full", "auto", ...pe()], Be = () => [Hh, "none", "subgrid", ct, lt], qe = () => ["auto", {
|
|
27444
27444
|
span: ["full", Hh, ct, lt]
|
|
27445
27445
|
}, Hh, ct, lt], ot = () => [Hh, "auto", ct, lt], ze = () => ["auto", "min", "max", "fr", ct, lt], Je = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Pe = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ie = () => ["auto", ...pe()], ge = () => [n2, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...pe()], Me = () => [e, ct, lt], St = () => [...te(), qH, QH, {
|
|
27446
27446
|
position: [ct, lt]
|
|
@@ -27615,21 +27615,21 @@ const tq = (e, t) => {
|
|
|
27615
27615
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
27616
27616
|
*/
|
|
27617
27617
|
overscroll: [{
|
|
27618
|
-
overscroll:
|
|
27618
|
+
overscroll: de()
|
|
27619
27619
|
}],
|
|
27620
27620
|
/**
|
|
27621
27621
|
* Overscroll Behavior X
|
|
27622
27622
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
27623
27623
|
*/
|
|
27624
27624
|
"overscroll-x": [{
|
|
27625
|
-
"overscroll-x":
|
|
27625
|
+
"overscroll-x": de()
|
|
27626
27626
|
}],
|
|
27627
27627
|
/**
|
|
27628
27628
|
* Overscroll Behavior Y
|
|
27629
27629
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
27630
27630
|
*/
|
|
27631
27631
|
"overscroll-y": [{
|
|
27632
|
-
"overscroll-y":
|
|
27632
|
+
"overscroll-y": de()
|
|
27633
27633
|
}],
|
|
27634
27634
|
/**
|
|
27635
27635
|
* Position
|
|
@@ -31244,7 +31244,7 @@ function AW(e, t) {
|
|
|
31244
31244
|
var te = I[_];
|
|
31245
31245
|
if (eo(te))
|
|
31246
31246
|
for (var J = CW(x.yearordinal + te), ne = 0; ne < T.length; ne++) {
|
|
31247
|
-
var
|
|
31247
|
+
var de = T[ne], X = TW(J, de);
|
|
31248
31248
|
if (i && X > i)
|
|
31249
31249
|
return uh(e);
|
|
31250
31250
|
if (X >= n) {
|
|
@@ -32198,15 +32198,15 @@ var lee = "DismissableLayer", yD = "dismissableLayer.update", cee = "dismissable
|
|
|
32198
32198
|
onInteractOutside: c,
|
|
32199
32199
|
onDismiss: y,
|
|
32200
32200
|
...b
|
|
32201
|
-
} = e, x = se.useContext(RW), [T, M] = se.useState(null), I = T?.ownerDocument ?? globalThis?.document, [, O] = se.useState({}), N = Mh(t, (
|
|
32202
|
-
const pe =
|
|
32203
|
-
!te || Ae || (a?.(
|
|
32204
|
-
}, I), ne = pee((
|
|
32205
|
-
const pe =
|
|
32206
|
-
[...x.branches].some((Be) => Be.contains(pe)) || (i?.(
|
|
32201
|
+
} = e, x = se.useContext(RW), [T, M] = se.useState(null), I = T?.ownerDocument ?? globalThis?.document, [, O] = se.useState({}), N = Mh(t, (de) => M(de)), D = Array.from(x.layers), [H] = [...x.layersWithOutsidePointerEventsDisabled].slice(-1), _ = D.indexOf(H), X = T ? D.indexOf(T) : -1, K = x.layersWithOutsidePointerEventsDisabled.size > 0, te = X >= _, J = fee((de) => {
|
|
32202
|
+
const pe = de.target, Ae = [...x.branches].some((Be) => Be.contains(pe));
|
|
32203
|
+
!te || Ae || (a?.(de), c?.(de), de.defaultPrevented || y?.());
|
|
32204
|
+
}, I), ne = pee((de) => {
|
|
32205
|
+
const pe = de.target;
|
|
32206
|
+
[...x.branches].some((Be) => Be.contains(pe)) || (i?.(de), c?.(de), de.defaultPrevented || y?.());
|
|
32207
32207
|
}, I);
|
|
32208
|
-
return see((
|
|
32209
|
-
X === x.layers.size - 1 && (r?.(
|
|
32208
|
+
return see((de) => {
|
|
32209
|
+
X === x.layers.size - 1 && (r?.(de), !de.defaultPrevented && y && (de.preventDefault(), y()));
|
|
32210
32210
|
}, I), se.useEffect(() => {
|
|
32211
32211
|
if (T)
|
|
32212
32212
|
return n && (x.layersWithOutsidePointerEventsDisabled.size === 0 && (vB = I.body.style.pointerEvents, I.body.style.pointerEvents = "none"), x.layersWithOutsidePointerEventsDisabled.add(T)), x.layers.add(T), kB(), () => {
|
|
@@ -32215,8 +32215,8 @@ var lee = "DismissableLayer", yD = "dismissableLayer.update", cee = "dismissable
|
|
|
32215
32215
|
}, [T, I, n, x]), se.useEffect(() => () => {
|
|
32216
32216
|
T && (x.layers.delete(T), x.layersWithOutsidePointerEventsDisabled.delete(T), kB());
|
|
32217
32217
|
}, [T, x]), se.useEffect(() => {
|
|
32218
|
-
const
|
|
32219
|
-
return document.addEventListener(yD,
|
|
32218
|
+
const de = () => O({});
|
|
32219
|
+
return document.addEventListener(yD, de), () => document.removeEventListener(yD, de);
|
|
32220
32220
|
}, []), /* @__PURE__ */ m.jsx(
|
|
32221
32221
|
Jc.div,
|
|
32222
32222
|
{
|
|
@@ -32735,9 +32735,9 @@ const zee = async (e, t, n) => {
|
|
|
32735
32735
|
x: n,
|
|
32736
32736
|
y: r
|
|
32737
32737
|
}, O = MN(a), N = wN(O), D = await c.getDimensions(x), H = O === "y", _ = H ? "top" : "left", X = H ? "bottom" : "right", K = H ? "clientHeight" : "clientWidth", te = i.reference[N] + i.reference[O] - I[O] - i.floating[N], J = I[O] - i.reference[O], ne = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(x));
|
|
32738
|
-
let
|
|
32739
|
-
(!
|
|
32740
|
-
const pe = te / 2 - J / 2, Ae =
|
|
32738
|
+
let de = ne ? ne[K] : 0;
|
|
32739
|
+
(!de || !await (c.isElement == null ? void 0 : c.isElement(ne))) && (de = y.floating[K] || i.floating[N]);
|
|
32740
|
+
const pe = te / 2 - J / 2, Ae = de / 2 - D[N] / 2 - 1, Be = Jh(M[_], Ae), qe = Jh(M[X], Ae), ot = Be, ze = de - D[N] - qe, Je = de / 2 - D[N] / 2 + pe, Pe = gD(ot, Je, ze), ie = !b.arrow && G2(a) != null && Je !== Pe && i.reference[N] / 2 - (Je < ot ? Be : qe) - D[N] / 2 < 0, ge = ie ? Je < ot ? Je - ot : Je - ze : 0;
|
|
32741
32741
|
return {
|
|
32742
32742
|
[O]: I[O] + ge,
|
|
32743
32743
|
data: {
|
|
@@ -32776,7 +32776,7 @@ const zee = async (e, t, n) => {
|
|
|
32776
32776
|
return {};
|
|
32777
32777
|
const _ = kh(a), X = Ru(y), K = kh(y) === y, te = await (b.isRTL == null ? void 0 : b.isRTL(x.floating)), J = I || (K || !D ? [$P(y)] : Eee(y)), ne = N !== "none";
|
|
32778
32778
|
!I && ne && J.push(...Oee(y, D, N, te));
|
|
32779
|
-
const
|
|
32779
|
+
const de = [y, ...J], pe = await b.detectOverflow(t, H), Ae = [];
|
|
32780
32780
|
let Be = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
32781
32781
|
if (T && Ae.push(pe[_]), M) {
|
|
32782
32782
|
const Je = Aee(a, c, te);
|
|
@@ -32787,7 +32787,7 @@ const zee = async (e, t, n) => {
|
|
|
32787
32787
|
overflows: Ae
|
|
32788
32788
|
}], !Ae.every((Je) => Je <= 0)) {
|
|
32789
32789
|
var qe, ot;
|
|
32790
|
-
const Je = (((qe = i.flip) == null ? void 0 : qe.index) || 0) + 1, Pe =
|
|
32790
|
+
const Je = (((qe = i.flip) == null ? void 0 : qe.index) || 0) + 1, Pe = de[Je];
|
|
32791
32791
|
if (Pe && (!(M === "alignment" ? X !== Ru(Pe) : !1) || // We leave the current main axis only if every placement on that axis
|
|
32792
32792
|
// overflows the main axis.
|
|
32793
32793
|
Be.every((Me) => Ru(Me.placement) === X ? Me.overflows[0] > 0 : !0)))
|
|
@@ -33056,15 +33056,15 @@ const Uee = function(e) {
|
|
|
33056
33056
|
let H, _;
|
|
33057
33057
|
M === "top" || M === "bottom" ? (H = M, _ = I === (await (c.isRTL == null ? void 0 : c.isRTL(y.floating)) ? "start" : "end") ? "left" : "right") : (_ = M, H = I === "end" ? "top" : "bottom");
|
|
33058
33058
|
const X = D - T.top - T.bottom, K = N - T.left - T.right, te = Jh(D - T[H], X), J = Jh(N - T[_], K), ne = !t.middlewareData.shift;
|
|
33059
|
-
let
|
|
33060
|
-
if ((n = t.middlewareData.shift) != null && n.enabled.x && (pe = K), (r = t.middlewareData.shift) != null && r.enabled.y && (
|
|
33059
|
+
let de = te, pe = J;
|
|
33060
|
+
if ((n = t.middlewareData.shift) != null && n.enabled.x && (pe = K), (r = t.middlewareData.shift) != null && r.enabled.y && (de = X), ne && !I) {
|
|
33061
33061
|
const Be = Ql(T.left, 0), qe = Ql(T.right, 0), ot = Ql(T.top, 0), ze = Ql(T.bottom, 0);
|
|
33062
|
-
O ? pe = N - 2 * (Be !== 0 || qe !== 0 ? Be + qe : Ql(T.left, T.right)) :
|
|
33062
|
+
O ? pe = N - 2 * (Be !== 0 || qe !== 0 ? Be + qe : Ql(T.left, T.right)) : de = D - 2 * (ot !== 0 || ze !== 0 ? ot + ze : Ql(T.top, T.bottom));
|
|
33063
33063
|
}
|
|
33064
33064
|
await b({
|
|
33065
33065
|
...t,
|
|
33066
33066
|
availableWidth: pe,
|
|
33067
|
-
availableHeight:
|
|
33067
|
+
availableHeight: de
|
|
33068
33068
|
});
|
|
33069
33069
|
const Ae = await c.getDimensions(y.floating);
|
|
33070
33070
|
return N !== Ae.width || D !== Ae.height ? {
|
|
@@ -33503,15 +33503,15 @@ function gte(e, t) {
|
|
|
33503
33503
|
};
|
|
33504
33504
|
let te = !0;
|
|
33505
33505
|
function J(ne) {
|
|
33506
|
-
const
|
|
33507
|
-
if (
|
|
33506
|
+
const de = ne[0].intersectionRatio;
|
|
33507
|
+
if (de !== b) {
|
|
33508
33508
|
if (!te)
|
|
33509
33509
|
return c();
|
|
33510
|
-
|
|
33510
|
+
de ? c(!1, de) : r = setTimeout(() => {
|
|
33511
33511
|
c(!1, 1e-7);
|
|
33512
33512
|
}, 1e3);
|
|
33513
33513
|
}
|
|
33514
|
-
|
|
33514
|
+
de === 1 && !GW(x, e.getBoundingClientRect()) && c(), te = !1;
|
|
33515
33515
|
}
|
|
33516
33516
|
try {
|
|
33517
33517
|
n = new IntersectionObserver(J, {
|
|
@@ -33646,16 +33646,16 @@ function Lte(e) {
|
|
|
33646
33646
|
const [N, D] = se.useState(null), [H, _] = se.useState(null), X = se.useCallback((Me) => {
|
|
33647
33647
|
Me !== ne.current && (ne.current = Me, D(Me));
|
|
33648
33648
|
}, []), K = se.useCallback((Me) => {
|
|
33649
|
-
Me !==
|
|
33650
|
-
}, []), te = i || N, J = c || H, ne = se.useRef(null),
|
|
33651
|
-
if (!ne.current || !
|
|
33649
|
+
Me !== de.current && (de.current = Me, _(Me));
|
|
33650
|
+
}, []), te = i || N, J = c || H, ne = se.useRef(null), de = se.useRef(null), pe = se.useRef(T), Ae = b != null, Be = mO(b), qe = mO(a), ot = mO(x), ze = se.useCallback(() => {
|
|
33651
|
+
if (!ne.current || !de.current)
|
|
33652
33652
|
return;
|
|
33653
33653
|
const Me = {
|
|
33654
33654
|
placement: t,
|
|
33655
33655
|
strategy: n,
|
|
33656
33656
|
middleware: I
|
|
33657
33657
|
};
|
|
33658
|
-
qe.current && (Me.platform = qe.current), Cte(ne.current,
|
|
33658
|
+
qe.current && (Me.platform = qe.current), Cte(ne.current, de.current, Me).then((St) => {
|
|
33659
33659
|
const ae = {
|
|
33660
33660
|
...St,
|
|
33661
33661
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -33679,7 +33679,7 @@ function Lte(e) {
|
|
|
33679
33679
|
FP(() => (Je.current = !0, () => {
|
|
33680
33680
|
Je.current = !1;
|
|
33681
33681
|
}), []), FP(() => {
|
|
33682
|
-
if (te && (ne.current = te), J && (
|
|
33682
|
+
if (te && (ne.current = te), J && (de.current = J), te && J) {
|
|
33683
33683
|
if (Be.current)
|
|
33684
33684
|
return Be.current(te, J, ze);
|
|
33685
33685
|
ze();
|
|
@@ -33687,7 +33687,7 @@ function Lte(e) {
|
|
|
33687
33687
|
}, [te, J, ze, Be, Ae]);
|
|
33688
33688
|
const Pe = se.useMemo(() => ({
|
|
33689
33689
|
reference: ne,
|
|
33690
|
-
floating:
|
|
33690
|
+
floating: de,
|
|
33691
33691
|
setReference: X,
|
|
33692
33692
|
setFloating: K
|
|
33693
33693
|
}), [X, K]), ie = se.useMemo(() => ({
|
|
@@ -33836,7 +33836,7 @@ var IN = "PopperContent", [Vte, _te] = KW(IN), tY = se.forwardRef(
|
|
|
33836
33836
|
updatePositionStrategy: O = "optimized",
|
|
33837
33837
|
onPlaced: N,
|
|
33838
33838
|
...D
|
|
33839
|
-
} = e, H = QW(IN, n), [_, X] = se.useState(null), K = Mh(t, (Ee) => X(Ee)), [te, J] = se.useState(null), ne = Hte(te),
|
|
33839
|
+
} = e, H = QW(IN, n), [_, X] = se.useState(null), K = Mh(t, (Ee) => X(Ee)), [te, J] = se.useState(null), ne = Hte(te), de = ne?.width ?? 0, pe = ne?.height ?? 0, Ae = r + (i !== "center" ? "-" + i : ""), Be = typeof T == "number" ? T : { top: 0, right: 0, bottom: 0, left: 0, ...T }, qe = Array.isArray(x) ? x : [x], ot = qe.length > 0, ze = {
|
|
33840
33840
|
padding: Be,
|
|
33841
33841
|
boundary: qe.filter(Wte),
|
|
33842
33842
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -33868,7 +33868,7 @@ var IN = "PopperContent", [Vte, _te] = KW(IN), tY = se.forwardRef(
|
|
|
33868
33868
|
}
|
|
33869
33869
|
}),
|
|
33870
33870
|
te && Dte({ element: te, padding: y }),
|
|
33871
|
-
Yte({ arrowWidth:
|
|
33871
|
+
Yte({ arrowWidth: de, arrowHeight: pe }),
|
|
33872
33872
|
I && Ote({ strategy: "referenceHidden", ...ze })
|
|
33873
33873
|
]
|
|
33874
33874
|
}), [St, ae] = aY(ie), U = I2(N);
|
|
@@ -34293,12 +34293,12 @@ var dY = hne(), bO = function() {
|
|
|
34293
34293
|
onScrollCapture: bO,
|
|
34294
34294
|
onWheelCapture: bO,
|
|
34295
34295
|
onTouchMoveCapture: bO
|
|
34296
|
-
}), a = r[0], i = r[1], c = e.forwardProps, y = e.children, b = e.className, x = e.removeScrollBar, T = e.enabled, M = e.shards, I = e.sideCar, O = e.noRelative, N = e.noIsolation, D = e.inert, H = e.allowPinchZoom, _ = e.as, X = _ === void 0 ? "div" : _, K = e.gapMode, te = SW(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), J = I, ne = cne([n, t]),
|
|
34296
|
+
}), a = r[0], i = r[1], c = e.forwardProps, y = e.children, b = e.className, x = e.removeScrollBar, T = e.enabled, M = e.shards, I = e.sideCar, O = e.noRelative, N = e.noIsolation, D = e.inert, H = e.allowPinchZoom, _ = e.as, X = _ === void 0 ? "div" : _, K = e.gapMode, te = SW(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), J = I, ne = cne([n, t]), de = Ua(Ua({}, te), a);
|
|
34297
34297
|
return se.createElement(
|
|
34298
34298
|
se.Fragment,
|
|
34299
34299
|
null,
|
|
34300
34300
|
T && se.createElement(J, { sideCar: dY, removeScrollBar: x, shards: M, noRelative: O, noIsolation: N, inert: D, setCallbacks: i, allowPinchZoom: !!H, lockRef: n, gapMode: K }),
|
|
34301
|
-
c ? se.cloneElement(se.Children.only(y), Ua(Ua({},
|
|
34301
|
+
c ? se.cloneElement(se.Children.only(y), Ua(Ua({}, de), { ref: ne })) : se.createElement(X, Ua({}, de, { className: b, ref: ne }), y)
|
|
34302
34302
|
);
|
|
34303
34303
|
});
|
|
34304
34304
|
bF.defaultProps = {
|
|
@@ -34544,16 +34544,16 @@ function zne(e) {
|
|
|
34544
34544
|
var y = se.useCallback(function(D, H) {
|
|
34545
34545
|
if ("touches" in D && D.touches.length === 2 || D.type === "wheel" && D.ctrlKey)
|
|
34546
34546
|
return !c.current.allowPinchZoom;
|
|
34547
|
-
var _ = vp(D), X = n.current, K = "deltaX" in D ? D.deltaX : X[0] - _[0], te = "deltaY" in D ? D.deltaY : X[1] - _[1], J, ne = D.target,
|
|
34548
|
-
if ("touches" in D &&
|
|
34547
|
+
var _ = vp(D), X = n.current, K = "deltaX" in D ? D.deltaX : X[0] - _[0], te = "deltaY" in D ? D.deltaY : X[1] - _[1], J, ne = D.target, de = Math.abs(K) > Math.abs(te) ? "h" : "v";
|
|
34548
|
+
if ("touches" in D && de === "h" && ne.type === "range")
|
|
34549
34549
|
return !1;
|
|
34550
34550
|
var pe = window.getSelection(), Ae = pe && pe.anchorNode, Be = Ae ? Ae === ne || Ae.contains(ne) : !1;
|
|
34551
34551
|
if (Be)
|
|
34552
34552
|
return !1;
|
|
34553
|
-
var qe = HB(
|
|
34553
|
+
var qe = HB(de, ne);
|
|
34554
34554
|
if (!qe)
|
|
34555
34555
|
return !0;
|
|
34556
|
-
if (qe ? J =
|
|
34556
|
+
if (qe ? J = de : (J = de === "v" ? "h" : "v", qe = HB(de, ne)), !qe)
|
|
34557
34557
|
return !1;
|
|
34558
34558
|
if (!r.current && "changedTouches" in D && (K || te) && (r.current = J), !J)
|
|
34559
34559
|
return !0;
|
|
@@ -36688,7 +36688,7 @@ const xp = (e) => e ? pt.fromISO(e).isValid : !1, BY = ({ task: e, dateValidatio
|
|
|
36688
36688
|
base: "mt-0.5",
|
|
36689
36689
|
lg: "mt-1",
|
|
36690
36690
|
xl: "mt-1.5"
|
|
36691
|
-
}[b.fontSize] || "mt-0.5",
|
|
36691
|
+
}[b.fontSize] || "mt-0.5", de = {
|
|
36692
36692
|
sm: "text-[10px]",
|
|
36693
36693
|
base: "text-[11px]",
|
|
36694
36694
|
lg: "text-xs",
|
|
@@ -36940,7 +36940,7 @@ const xp = (e) => e ? pt.fromISO(e).isValid : !1, BY = ({ task: e, dateValidatio
|
|
|
36940
36940
|
{
|
|
36941
36941
|
className: je(
|
|
36942
36942
|
"flex flex-wrap items-center gap-1 min-[400px]:gap-1.5 sm:gap-2 font-medium text-slate-500",
|
|
36943
|
-
|
|
36943
|
+
de
|
|
36944
36944
|
),
|
|
36945
36945
|
onClick: (he) => {
|
|
36946
36946
|
c && he.target === he.currentTarget && c?.(e);
|
|
@@ -37093,7 +37093,7 @@ const xp = (e) => e ? pt.fromISO(e).isValid : !1, BY = ({ task: e, dateValidatio
|
|
|
37093
37093
|
/* @__PURE__ */ m.jsx(
|
|
37094
37094
|
"p",
|
|
37095
37095
|
{
|
|
37096
|
-
className: je("leading-relaxed line-clamp-2",
|
|
37096
|
+
className: je("leading-relaxed line-clamp-2", de),
|
|
37097
37097
|
children: e.description
|
|
37098
37098
|
}
|
|
37099
37099
|
)
|
|
@@ -37313,7 +37313,7 @@ const Fae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
37313
37313
|
N && K(x.defaultCategory);
|
|
37314
37314
|
}, [N, x.defaultCategory]);
|
|
37315
37315
|
const {
|
|
37316
|
-
isListening:
|
|
37316
|
+
isListening: de,
|
|
37317
37317
|
start: pe,
|
|
37318
37318
|
stop: Ae
|
|
37319
37319
|
} = VY(
|
|
@@ -37467,12 +37467,12 @@ const Fae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
37467
37467
|
onBlur: (U) => {
|
|
37468
37468
|
(!U.relatedTarget || !U.relatedTarget.closest(".add-row-actions")) && (H || D(!1));
|
|
37469
37469
|
},
|
|
37470
|
-
placeholder:
|
|
37470
|
+
placeholder: de ? "Listening..." : T ? "Describe task for this day..." : "Type a new task...",
|
|
37471
37471
|
className: je(
|
|
37472
37472
|
"flex-1 bg-transparent border-b focus:outline-none text-sm py-0.5 transition-colors",
|
|
37473
37473
|
T ? "border-purple-300 focus:border-purple-500 placeholder:text-purple-300 text-purple-900" : "border-blue-300 focus:border-blue-500"
|
|
37474
37474
|
),
|
|
37475
|
-
disabled: te ||
|
|
37475
|
+
disabled: te || de
|
|
37476
37476
|
}
|
|
37477
37477
|
),
|
|
37478
37478
|
/* @__PURE__ */ m.jsxs("div", { className: "flex items-center gap-1 add-row-actions", children: [
|
|
@@ -37495,17 +37495,17 @@ const Fae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
37495
37495
|
x.voiceConfig.enabled && /* @__PURE__ */ m.jsx(
|
|
37496
37496
|
"button",
|
|
37497
37497
|
{
|
|
37498
|
-
onClick:
|
|
37498
|
+
onClick: de ? Ae : pe,
|
|
37499
37499
|
className: je(
|
|
37500
37500
|
"p-1 rounded hover:bg-slate-100 transition-colors",
|
|
37501
|
-
|
|
37501
|
+
de && "text-rose-500 animate-pulse"
|
|
37502
37502
|
),
|
|
37503
37503
|
tabIndex: -1,
|
|
37504
|
-
title:
|
|
37504
|
+
title: de ? "Stop Recording" : "Start Voice Input",
|
|
37505
37505
|
children: /* @__PURE__ */ m.jsx(
|
|
37506
37506
|
He,
|
|
37507
37507
|
{
|
|
37508
|
-
name:
|
|
37508
|
+
name: de ? "Square" : "Mic",
|
|
37509
37509
|
size: 14
|
|
37510
37510
|
}
|
|
37511
37511
|
)
|
|
@@ -37720,7 +37720,7 @@ const Fae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
37720
37720
|
}
|
|
37721
37721
|
}, ne = (ze) => {
|
|
37722
37722
|
ze.key === "Enter" && J();
|
|
37723
|
-
},
|
|
37723
|
+
}, de = (ze, Je) => {
|
|
37724
37724
|
const Pe = i[ze], ie = Pe.include, ge = ie.includes(Je) ? ie.filter((Me) => Me !== Je) : [...ie, Je];
|
|
37725
37725
|
c({
|
|
37726
37726
|
...i,
|
|
@@ -37886,7 +37886,7 @@ const Fae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
37886
37886
|
{
|
|
37887
37887
|
type: "checkbox",
|
|
37888
37888
|
checked: i.tags.include.includes(ze),
|
|
37889
|
-
onChange: () =>
|
|
37889
|
+
onChange: () => de("tags", ze),
|
|
37890
37890
|
className: "rounded border-slate-300 text-blue-600 focus:ring-blue-500"
|
|
37891
37891
|
}
|
|
37892
37892
|
),
|
|
@@ -37925,7 +37925,7 @@ const Fae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
37925
37925
|
{
|
|
37926
37926
|
type: "checkbox",
|
|
37927
37927
|
checked: i.categories.include.includes(ze),
|
|
37928
|
-
onChange: () =>
|
|
37928
|
+
onChange: () => de("categories", ze),
|
|
37929
37929
|
className: "rounded border-slate-300 text-blue-600 focus:ring-blue-500"
|
|
37930
37930
|
}
|
|
37931
37931
|
),
|
|
@@ -37962,7 +37962,7 @@ const Fae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
37962
37962
|
{
|
|
37963
37963
|
type: "checkbox",
|
|
37964
37964
|
checked: i.priorities.include.includes(ze),
|
|
37965
|
-
onChange: () =>
|
|
37965
|
+
onChange: () => de("priorities", ze),
|
|
37966
37966
|
className: "rounded border-slate-300 text-blue-600 focus:ring-blue-500"
|
|
37967
37967
|
}
|
|
37968
37968
|
),
|
|
@@ -38008,7 +38008,7 @@ const Fae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
38008
38008
|
{
|
|
38009
38009
|
type: "checkbox",
|
|
38010
38010
|
checked: i.statuses.include.includes(ze),
|
|
38011
|
-
onChange: () =>
|
|
38011
|
+
onChange: () => de("statuses", ze),
|
|
38012
38012
|
className: "rounded border-slate-300 text-blue-600 focus:ring-blue-500"
|
|
38013
38013
|
}
|
|
38014
38014
|
),
|
|
@@ -38310,14 +38310,14 @@ const Bae = [
|
|
|
38310
38310
|
const N = { ...a };
|
|
38311
38311
|
if (N.isRecurring)
|
|
38312
38312
|
try {
|
|
38313
|
-
const { start: D, end: H, freq: _, interval: X, byWeekDay: K, byMonth: te, byMonthDay: J } = b, ne = D ? pt.fromISO(D).toJSDate() : void 0,
|
|
38313
|
+
const { start: D, end: H, freq: _, interval: X, byWeekDay: K, byMonth: te, byMonthDay: J } = b, ne = D ? pt.fromISO(D).toJSDate() : void 0, de = H ? pt.fromISO(H).endOf("day").toJSDate() : void 0, pe = new $e({
|
|
38314
38314
|
freq: _,
|
|
38315
38315
|
interval: X,
|
|
38316
38316
|
byweekday: _ === $e.WEEKLY ? K : null,
|
|
38317
38317
|
bymonth: _ === $e.YEARLY && te.length > 0 ? te : null,
|
|
38318
38318
|
bymonthday: (_ === $e.MONTHLY || _ === $e.YEARLY) && J.length > 0 ? J : null,
|
|
38319
38319
|
dtstart: ne,
|
|
38320
|
-
until:
|
|
38320
|
+
until: de
|
|
38321
38321
|
});
|
|
38322
38322
|
N.recurringInterval = pe.toString();
|
|
38323
38323
|
} catch (D) {
|
|
@@ -39899,9 +39899,12 @@ When completing a recurring task with complete_task:
|
|
|
39899
39899
|
## Response Style
|
|
39900
39900
|
|
|
39901
39901
|
- Be concise and helpful
|
|
39902
|
-
-
|
|
39902
|
+
- You can communicate results in two ways:
|
|
39903
|
+
1. **notify_user** — for rich formatted output (with body text, styling, detail blocks)
|
|
39904
|
+
2. **Text response** — for simple messages (shown as a notification to the user)
|
|
39905
|
+
Choose one per response — do not use both
|
|
39903
39906
|
- If a request is ambiguous, use ask_user to get clarification
|
|
39904
|
-
-
|
|
39907
|
+
- If ask_user returns dismissed: true, the user chose to cancel. Do NOT retry the same question. Either proceed with a reasonable default or explain briefly why you cannot continue.`;
|
|
39905
39908
|
return e && (n += `
|
|
39906
39909
|
|
|
39907
39910
|
## Host Application Context
|
|
@@ -40823,7 +40826,7 @@ function uoe() {
|
|
|
40823
40826
|
return f === null || typeof f != "object" ? null : (f = te && f[te] || f["@@iterator"], typeof f == "function" ? f : null);
|
|
40824
40827
|
}
|
|
40825
40828
|
var ne = Array.isArray;
|
|
40826
|
-
function
|
|
40829
|
+
function de(f, g) {
|
|
40827
40830
|
var C = f.length & 3, A = f.length - C, z = g;
|
|
40828
40831
|
for (g = 0; g < A; ) {
|
|
40829
40832
|
var Y = f.charCodeAt(g) & 255 | (f.charCodeAt(++g) & 255) << 8 | (f.charCodeAt(++g) & 255) << 16 | (f.charCodeAt(++g) & 255) << 24;
|
|
@@ -42961,7 +42964,7 @@ function uoe() {
|
|
|
42961
42964
|
var ve = f.$$IS_SIGNATURE_EQUAL;
|
|
42962
42965
|
if (z !== null && typeof ve == "function") {
|
|
42963
42966
|
var ee = z[1];
|
|
42964
|
-
ve.call(f, z[2], z[3]) && (Y = C !== void 0 ? "p" + C : "k" +
|
|
42967
|
+
ve.call(f, z[2], z[3]) && (Y = C !== void 0 ? "p" + C : "k" + de(
|
|
42965
42968
|
JSON.stringify([j, null, A]),
|
|
42966
42969
|
0
|
|
42967
42970
|
), ee === Y && (Ji = A, g = z[0]));
|
|
@@ -42972,7 +42975,7 @@ function uoe() {
|
|
|
42972
42975
|
}, typeof ye.$$FORM_ACTION == "function" && (f.$$FORM_ACTION = function(we) {
|
|
42973
42976
|
we = ye.$$FORM_ACTION(we), C !== void 0 && (C += "", we.action = C);
|
|
42974
42977
|
var Ue = we.data;
|
|
42975
|
-
return Ue && (Y === null && (Y = C !== void 0 ? "p" + C : "k" +
|
|
42978
|
+
return Ue && (Y === null && (Y = C !== void 0 ? "p" + C : "k" + de(
|
|
42976
42979
|
JSON.stringify([
|
|
42977
42980
|
j,
|
|
42978
42981
|
null,
|
|
@@ -44899,7 +44902,7 @@ function hoe() {
|
|
|
44899
44902
|
return h === null || typeof h != "object" ? null : (h = te && h[te] || h["@@iterator"], typeof h == "function" ? h : null);
|
|
44900
44903
|
}
|
|
44901
44904
|
var ne = Array.isArray;
|
|
44902
|
-
function
|
|
44905
|
+
function de(h, p) {
|
|
44903
44906
|
var w = h.length & 3, E = h.length - w, F = p;
|
|
44904
44907
|
for (p = 0; p < E; ) {
|
|
44905
44908
|
var W = h.charCodeAt(p) & 255 | (h.charCodeAt(++p) & 255) << 8 | (h.charCodeAt(++p) & 255) << 16 | (h.charCodeAt(++p) & 255) << 24;
|
|
@@ -46233,12 +46236,12 @@ function hoe() {
|
|
|
46233
46236
|
var L = le.tagScope & 1, P = w.precedence, V = w.href, Q = w.nonce;
|
|
46234
46237
|
if (le.insertionMode === 4 || L || w.itemProp != null || typeof P != "string" || typeof V != "string" || V === "") {
|
|
46235
46238
|
h.push(mr("style"));
|
|
46236
|
-
var re = null, Ce = null,
|
|
46237
|
-
for (
|
|
46238
|
-
if (Xe.call(w,
|
|
46239
|
-
var xe = w[
|
|
46239
|
+
var re = null, Ce = null, ue;
|
|
46240
|
+
for (ue in w)
|
|
46241
|
+
if (Xe.call(w, ue)) {
|
|
46242
|
+
var xe = w[ue];
|
|
46240
46243
|
if (xe != null)
|
|
46241
|
-
switch (
|
|
46244
|
+
switch (ue) {
|
|
46242
46245
|
case "children":
|
|
46243
46246
|
re = xe;
|
|
46244
46247
|
break;
|
|
@@ -46248,7 +46251,7 @@ function hoe() {
|
|
|
46248
46251
|
default:
|
|
46249
46252
|
cn(
|
|
46250
46253
|
h,
|
|
46251
|
-
|
|
46254
|
+
ue,
|
|
46252
46255
|
xe
|
|
46253
46256
|
);
|
|
46254
46257
|
}
|
|
@@ -47283,7 +47286,7 @@ performance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready
|
|
|
47283
47286
|
var le = h.$$IS_SIGNATURE_EQUAL;
|
|
47284
47287
|
if (F !== null && typeof le == "function") {
|
|
47285
47288
|
var q = F[1];
|
|
47286
|
-
le.call(h, F[2], F[3]) && (W = w !== void 0 ? "p" + w : "k" +
|
|
47289
|
+
le.call(h, F[2], F[3]) && (W = w !== void 0 ? "p" + w : "k" + de(
|
|
47287
47290
|
JSON.stringify([Z, null, E]),
|
|
47288
47291
|
0
|
|
47289
47292
|
), q === W && (jt = E, p = F[0]));
|
|
@@ -47294,7 +47297,7 @@ performance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready
|
|
|
47294
47297
|
}, typeof ce.$$FORM_ACTION == "function" && (h.$$FORM_ACTION = function(be) {
|
|
47295
47298
|
be = ce.$$FORM_ACTION(be), w !== void 0 && (w += "", be.action = w);
|
|
47296
47299
|
var Ge = be.data;
|
|
47297
|
-
return Ge && (W === null && (W = w !== void 0 ? "p" + w : "k" +
|
|
47300
|
+
return Ge && (W === null && (W = w !== void 0 ? "p" + w : "k" + de(
|
|
47298
47301
|
JSON.stringify([
|
|
47299
47302
|
Z,
|
|
47300
47303
|
null,
|
|
@@ -49587,8 +49590,8 @@ function foe() {
|
|
|
49587
49590
|
if (vc.has(s)) {
|
|
49588
49591
|
for (k = vc.get(s), k = "<" + (c(k) || "..."), V = Object.keys(s), Q = 0; Q < V.length; Q++) {
|
|
49589
49592
|
k += " ", re = V[Q], k += a(re) + "=";
|
|
49590
|
-
var Ce = s[re],
|
|
49591
|
-
typeof Ce != "string" && (
|
|
49593
|
+
var Ce = s[re], ue = re === u && typeof Ce == "object" && Ce !== null ? y(Ce) : i(Ce);
|
|
49594
|
+
typeof Ce != "string" && (ue = "{" + ue + "}"), re === u ? (L = k.length, P = ue.length, k += ue) : k = 10 > ue.length && 40 > k.length + ue.length ? k + ue : k + "...";
|
|
49592
49595
|
}
|
|
49593
49596
|
k += ">";
|
|
49594
49597
|
} else {
|
|
@@ -49932,7 +49935,7 @@ function foe() {
|
|
|
49932
49935
|
}
|
|
49933
49936
|
return s;
|
|
49934
49937
|
}
|
|
49935
|
-
function
|
|
49938
|
+
function de(s) {
|
|
49936
49939
|
return Ih.test("" + s) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : s;
|
|
49937
49940
|
}
|
|
49938
49941
|
function pe(s) {
|
|
@@ -50183,8 +50186,8 @@ function foe() {
|
|
|
50183
50186
|
)), Q === null || Ys || (Ys = !0, console.error(
|
|
50184
50187
|
"Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."
|
|
50185
50188
|
));
|
|
50186
|
-
var
|
|
50187
|
-
|
|
50189
|
+
var ue = ae(u, L);
|
|
50190
|
+
ue !== null ? (re = ue.name, L = ue.action || "", P = ue.encType, V = ue.method, Q = ue.target, Ce = ue.data) : (s.push(
|
|
50188
50191
|
jt,
|
|
50189
50192
|
"formAction",
|
|
50190
50193
|
qt,
|
|
@@ -50226,7 +50229,7 @@ function foe() {
|
|
|
50226
50229
|
case "formAction":
|
|
50227
50230
|
if (k == null || typeof k == "function" || typeof k == "symbol" || typeof k == "boolean")
|
|
50228
50231
|
break;
|
|
50229
|
-
I(k, u), k =
|
|
50232
|
+
I(k, u), k = de("" + k), s.push(
|
|
50230
50233
|
jt,
|
|
50231
50234
|
u,
|
|
50232
50235
|
qt,
|
|
@@ -50249,7 +50252,7 @@ function foe() {
|
|
|
50249
50252
|
case "xlinkHref":
|
|
50250
50253
|
if (typeof k == "function" || typeof k == "symbol" || typeof k == "boolean")
|
|
50251
50254
|
break;
|
|
50252
|
-
I(k, u), k =
|
|
50255
|
+
I(k, u), k = de("" + k), s.push(
|
|
50253
50256
|
jt,
|
|
50254
50257
|
"xlink:href",
|
|
50255
50258
|
qt,
|
|
@@ -50566,7 +50569,7 @@ function foe() {
|
|
|
50566
50569
|
"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",
|
|
50567
50570
|
u
|
|
50568
50571
|
));
|
|
50569
|
-
e: if (u.indexOf("-") === -1) var
|
|
50572
|
+
e: if (u.indexOf("-") === -1) var ue = !1;
|
|
50570
50573
|
else
|
|
50571
50574
|
switch (u) {
|
|
50572
50575
|
case "annotation-xml":
|
|
@@ -50577,12 +50580,12 @@ function foe() {
|
|
|
50577
50580
|
case "font-face-format":
|
|
50578
50581
|
case "font-face-name":
|
|
50579
50582
|
case "missing-glyph":
|
|
50580
|
-
|
|
50583
|
+
ue = !1;
|
|
50581
50584
|
break e;
|
|
50582
50585
|
default:
|
|
50583
|
-
|
|
50586
|
+
ue = !0;
|
|
50584
50587
|
}
|
|
50585
|
-
switch (
|
|
50588
|
+
switch (ue || typeof k.is == "string" || te(u, k), !k.suppressContentEditableWarning && k.contentEditable && k.children != null && console.error(
|
|
50586
50589
|
"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."
|
|
50587
50590
|
), re.insertionMode !== kt && re.insertionMode !== In && u.indexOf("-") === -1 && u.toLowerCase() !== u && console.error(
|
|
50588
50591
|
"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",
|
|
@@ -50969,7 +50972,7 @@ function foe() {
|
|
|
50969
50972
|
break;
|
|
50970
50973
|
case "data":
|
|
50971
50974
|
I(Pn, "data");
|
|
50972
|
-
var br =
|
|
50975
|
+
var br = de("" + Pn);
|
|
50973
50976
|
if (br === "") {
|
|
50974
50977
|
console.error(
|
|
50975
50978
|
'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
|
|
@@ -51614,7 +51617,7 @@ function foe() {
|
|
|
51614
51617
|
s.push(k), L = L.props.href, I(L, "href"), L = Ne("" + L), s.push(L), s.push(E), k = p;
|
|
51615
51618
|
else {
|
|
51616
51619
|
s.push(k);
|
|
51617
|
-
var P = L.props["data-precedence"], V = L.props, Q =
|
|
51620
|
+
var P = L.props["data-precedence"], V = L.props, Q = de("" + L.props.href);
|
|
51618
51621
|
Q = Ne(Q), s.push(Q), I(P, "precedence"), P = "" + P, s.push(w), P = Ne(P), s.push(P);
|
|
51619
51622
|
for (var re in V)
|
|
51620
51623
|
if (Jt.call(V, re) && (P = V[re], P != null))
|
|
@@ -51664,7 +51667,7 @@ function foe() {
|
|
|
51664
51667
|
break;
|
|
51665
51668
|
case "src":
|
|
51666
51669
|
case "href":
|
|
51667
|
-
k =
|
|
51670
|
+
k = de(k), I(k, L), u = "" + k;
|
|
51668
51671
|
break;
|
|
51669
51672
|
default:
|
|
51670
51673
|
if (2 < u.length && (u[0] === "o" || u[0] === "O") && (u[1] === "n" || u[1] === "N") || !D(u))
|
|
@@ -51803,13 +51806,13 @@ function foe() {
|
|
|
51803
51806
|
stylesToHoist: !1
|
|
51804
51807
|
}, V !== void 0)
|
|
51805
51808
|
for (P = 0; P < V.length; P++) {
|
|
51806
|
-
var re = V[P], Ce,
|
|
51809
|
+
var re = V[P], Ce, ue = void 0, xe = void 0, _e = {
|
|
51807
51810
|
rel: "preload",
|
|
51808
51811
|
as: "script",
|
|
51809
51812
|
fetchPriority: "low",
|
|
51810
51813
|
nonce: void 0
|
|
51811
51814
|
};
|
|
51812
|
-
typeof re == "string" ? _e.href = Ce = re : (_e.href = Ce = re.src, _e.integrity = xe = typeof re.integrity == "string" ? re.integrity : void 0, _e.crossOrigin =
|
|
51815
|
+
typeof re == "string" ? _e.href = Ce = re : (_e.href = Ce = re.src, _e.integrity = xe = typeof re.integrity == "string" ? re.integrity : void 0, _e.crossOrigin = ue = typeof re == "string" || re.crossOrigin == null ? void 0 : re.crossOrigin === "use-credentials" ? "use-credentials" : ""), Gi(s, k, Ce, _e), L.push(
|
|
51813
51816
|
'<script src="',
|
|
51814
51817
|
ne(Ce),
|
|
51815
51818
|
At
|
|
@@ -51817,19 +51820,19 @@ function foe() {
|
|
|
51817
51820
|
' integrity="',
|
|
51818
51821
|
ne(xe),
|
|
51819
51822
|
At
|
|
51820
|
-
), typeof
|
|
51823
|
+
), typeof ue == "string" && L.push(
|
|
51821
51824
|
' crossorigin="',
|
|
51822
|
-
ne(
|
|
51825
|
+
ne(ue),
|
|
51823
51826
|
At
|
|
51824
51827
|
), gi(L, s), L.push(' async=""><\/script>');
|
|
51825
51828
|
}
|
|
51826
51829
|
if (Q !== void 0)
|
|
51827
51830
|
for (V = 0; V < Q.length; V++)
|
|
51828
|
-
P = Q[V],
|
|
51831
|
+
P = Q[V], ue = Ce = void 0, xe = {
|
|
51829
51832
|
rel: "modulepreload",
|
|
51830
51833
|
fetchPriority: "low",
|
|
51831
51834
|
nonce: void 0
|
|
51832
|
-
}, typeof P == "string" ? xe.href = re = P : (xe.href = re = P.src, xe.integrity =
|
|
51835
|
+
}, typeof P == "string" ? xe.href = re = P : (xe.href = re = P.src, xe.integrity = ue = typeof P.integrity == "string" ? P.integrity : void 0, xe.crossOrigin = Ce = typeof P == "string" || P.crossOrigin == null ? void 0 : P.crossOrigin === "use-credentials" ? "use-credentials" : ""), Gi(
|
|
51833
51836
|
s,
|
|
51834
51837
|
k,
|
|
51835
51838
|
re,
|
|
@@ -51838,9 +51841,9 @@ function foe() {
|
|
|
51838
51841
|
'<script type="module" src="',
|
|
51839
51842
|
ne(re),
|
|
51840
51843
|
At
|
|
51841
|
-
), typeof
|
|
51844
|
+
), typeof ue == "string" && L.push(
|
|
51842
51845
|
' integrity="',
|
|
51843
|
-
ne(
|
|
51846
|
+
ne(ue),
|
|
51844
51847
|
At
|
|
51845
51848
|
), typeof Ce == "string" && L.push(
|
|
51846
51849
|
' crossorigin="',
|
|
@@ -52186,11 +52189,11 @@ Incoming: %s`,
|
|
|
52186
52189
|
0
|
|
52187
52190
|
), Ce === V && (bd = L, u = P[0]));
|
|
52188
52191
|
}
|
|
52189
|
-
var
|
|
52192
|
+
var ue = s.bind(null, u);
|
|
52190
52193
|
return s = function(_e) {
|
|
52191
|
-
|
|
52192
|
-
}, typeof
|
|
52193
|
-
_e =
|
|
52194
|
+
ue(_e);
|
|
52195
|
+
}, typeof ue.$$FORM_ACTION == "function" && (s.$$FORM_ACTION = function(_e) {
|
|
52196
|
+
_e = ue.$$FORM_ACTION(_e), k !== void 0 && (I(k, "target"), k += "", _e.action = k);
|
|
52194
52197
|
var Ke = _e.data;
|
|
52195
52198
|
return Ke && (V === null && (V = k !== void 0 ? "p" + k : "k" + b(
|
|
52196
52199
|
JSON.stringify([
|
|
@@ -52345,10 +52348,10 @@ Incoming: %s`,
|
|
|
52345
52348
|
);
|
|
52346
52349
|
var Q = P.DetermineComponentFrameRoot(), re = Q[0], Ce = Q[1];
|
|
52347
52350
|
if (re && Ce) {
|
|
52348
|
-
var
|
|
52351
|
+
var ue = re.split(`
|
|
52349
52352
|
`), xe = Ce.split(`
|
|
52350
52353
|
`);
|
|
52351
|
-
for (Q = V = 0; V <
|
|
52354
|
+
for (Q = V = 0; V < ue.length && !ue[V].includes(
|
|
52352
52355
|
"DetermineComponentFrameRoot"
|
|
52353
52356
|
); )
|
|
52354
52357
|
V++;
|
|
@@ -52356,16 +52359,16 @@ Incoming: %s`,
|
|
|
52356
52359
|
"DetermineComponentFrameRoot"
|
|
52357
52360
|
); )
|
|
52358
52361
|
Q++;
|
|
52359
|
-
if (V ===
|
|
52360
|
-
for (V =
|
|
52362
|
+
if (V === ue.length || Q === xe.length)
|
|
52363
|
+
for (V = ue.length - 1, Q = xe.length - 1; 1 <= V && 0 <= Q && ue[V] !== xe[Q]; )
|
|
52361
52364
|
Q--;
|
|
52362
52365
|
for (; 1 <= V && 0 <= Q; V--, Q--)
|
|
52363
|
-
if (
|
|
52366
|
+
if (ue[V] !== xe[Q]) {
|
|
52364
52367
|
if (V !== 1 || Q !== 1)
|
|
52365
52368
|
do
|
|
52366
|
-
if (V--, Q--, 0 > Q ||
|
|
52369
|
+
if (V--, Q--, 0 > Q || ue[V] !== xe[Q]) {
|
|
52367
52370
|
var _e = `
|
|
52368
|
-
` +
|
|
52371
|
+
` + ue[V].replace(
|
|
52369
52372
|
" at new ",
|
|
52370
52373
|
" at "
|
|
52371
52374
|
);
|
|
@@ -52378,7 +52381,7 @@ Incoming: %s`,
|
|
|
52378
52381
|
} finally {
|
|
52379
52382
|
ah = !1, Nn.H = L, ml(), Error.prepareStackTrace = k;
|
|
52380
52383
|
}
|
|
52381
|
-
return
|
|
52384
|
+
return ue = (ue = s ? s.displayName || s.name : "") ? Go(ue) : "", typeof s == "function" && Sd.set(s, ue), ue;
|
|
52382
52385
|
}
|
|
52383
52386
|
function td(s) {
|
|
52384
52387
|
if (typeof s == "string") return Go(s);
|
|
@@ -52442,11 +52445,11 @@ Incoming: %s`,
|
|
|
52442
52445
|
} else console.error(s);
|
|
52443
52446
|
return null;
|
|
52444
52447
|
}
|
|
52445
|
-
function mr(s, u, k, L, P, V, Q, re, Ce,
|
|
52448
|
+
function mr(s, u, k, L, P, V, Q, re, Ce, ue, xe) {
|
|
52446
52449
|
var _e = /* @__PURE__ */ new Set();
|
|
52447
|
-
this.destination = null, this.flushScheduled = !1, this.resumableState = s, this.renderState = u, this.rootFormatContext = k, this.progressiveChunkSize = L === void 0 ? 12800 : L, this.status = 10, this.fatalError = null, this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0, this.completedPreambleSegments = this.completedRootSegment = null, this.byteSize = 0, this.abortableTasks = _e, this.pingedTasks = [], this.clientRenderedBoundaries = [], this.completedBoundaries = [], this.partialBoundaries = [], this.trackedPostpones = null, this.onError = P === void 0 ? cc : P, this.onPostpone =
|
|
52450
|
+
this.destination = null, this.flushScheduled = !1, this.resumableState = s, this.renderState = u, this.rootFormatContext = k, this.progressiveChunkSize = L === void 0 ? 12800 : L, this.status = 10, this.fatalError = null, this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0, this.completedPreambleSegments = this.completedRootSegment = null, this.byteSize = 0, this.abortableTasks = _e, this.pingedTasks = [], this.clientRenderedBoundaries = [], this.completedBoundaries = [], this.partialBoundaries = [], this.trackedPostpones = null, this.onError = P === void 0 ? cc : P, this.onPostpone = ue === void 0 ? _t : ue, this.onAllReady = V === void 0 ? _t : V, this.onShellReady = Q === void 0 ? _t : Q, this.onShellError = re === void 0 ? _t : re, this.onFatalError = Ce === void 0 ? _t : Ce, this.formState = xe === void 0 ? null : xe, this.didWarnForKey = null;
|
|
52448
52451
|
}
|
|
52449
|
-
function kl(s, u, k, L, P, V, Q, re, Ce,
|
|
52452
|
+
function kl(s, u, k, L, P, V, Q, re, Ce, ue, xe, _e) {
|
|
52450
52453
|
var Ke = oh();
|
|
52451
52454
|
return 1e3 < Ke - a1 && (Nn.recentlyCreatedOwnerStacks = 0, a1 = Ke), u = new mr(
|
|
52452
52455
|
u,
|
|
@@ -52457,7 +52460,7 @@ Incoming: %s`,
|
|
|
52457
52460
|
Q,
|
|
52458
52461
|
re,
|
|
52459
52462
|
Ce,
|
|
52460
|
-
|
|
52463
|
+
ue,
|
|
52461
52464
|
xe,
|
|
52462
52465
|
_e
|
|
52463
52466
|
), k = pa(
|
|
@@ -52512,7 +52515,7 @@ Incoming: %s`,
|
|
|
52512
52515
|
errorComponentStack: null
|
|
52513
52516
|
}, u !== null && (u.pendingTasks++, L = u.boundaries, L !== null && (s.allPendingTasks++, k.pendingTasks++, L.push(k)), s = u.inheritedHoistables, s !== null && ro(k.contentState, s)), k;
|
|
52514
52517
|
}
|
|
52515
|
-
function Xo(s, u, k, L, P, V, Q, re, Ce,
|
|
52518
|
+
function Xo(s, u, k, L, P, V, Q, re, Ce, ue, xe, _e, Ke, We, Ie, zt, kn) {
|
|
52516
52519
|
s.allPendingTasks++, P === null ? s.pendingRootTasks++ : P.pendingTasks++, We !== null && We.pendingTasks++;
|
|
52517
52520
|
var vt = {
|
|
52518
52521
|
replay: null,
|
|
@@ -52526,7 +52529,7 @@ Incoming: %s`,
|
|
|
52526
52529
|
blockedPreamble: Q,
|
|
52527
52530
|
hoistableState: re,
|
|
52528
52531
|
abortSet: Ce,
|
|
52529
|
-
keyPath:
|
|
52532
|
+
keyPath: ue,
|
|
52530
52533
|
formatContext: xe,
|
|
52531
52534
|
context: _e,
|
|
52532
52535
|
treeContext: Ke,
|
|
@@ -52536,7 +52539,7 @@ Incoming: %s`,
|
|
|
52536
52539
|
};
|
|
52537
52540
|
return vt.debugTask = kn, Ce.add(vt), vt;
|
|
52538
52541
|
}
|
|
52539
|
-
function uc(s, u, k, L, P, V, Q, re, Ce,
|
|
52542
|
+
function uc(s, u, k, L, P, V, Q, re, Ce, ue, xe, _e, Ke, We, Ie, zt) {
|
|
52540
52543
|
s.allPendingTasks++, V === null ? s.pendingRootTasks++ : V.pendingTasks++, Ke !== null && Ke.pendingTasks++, k.pendingTasks++;
|
|
52541
52544
|
var kn = {
|
|
52542
52545
|
replay: k,
|
|
@@ -52551,7 +52554,7 @@ Incoming: %s`,
|
|
|
52551
52554
|
hoistableState: Q,
|
|
52552
52555
|
abortSet: re,
|
|
52553
52556
|
keyPath: Ce,
|
|
52554
|
-
formatContext:
|
|
52557
|
+
formatContext: ue,
|
|
52555
52558
|
context: xe,
|
|
52556
52559
|
treeContext: _e,
|
|
52557
52560
|
row: Ke,
|
|
@@ -52753,7 +52756,7 @@ Error generating stack: ` + V.message + `
|
|
|
52753
52756
|
return s !== null && 0 < s.pendingTasks && (u.pendingTasks++, u.boundaries = [], s.next = u), u;
|
|
52754
52757
|
}
|
|
52755
52758
|
function tu(s, u, k, L, P) {
|
|
52756
|
-
var V = u.keyPath, Q = u.treeContext, re = u.row, Ce = u.componentStack,
|
|
52759
|
+
var V = u.keyPath, Q = u.treeContext, re = u.row, Ce = u.componentStack, ue = u.debugTask;
|
|
52757
52760
|
hc(u, u.node.props.children._debugInfo), u.keyPath = k, k = L.length;
|
|
52758
52761
|
var xe = null;
|
|
52759
52762
|
if (u.replay !== null) {
|
|
@@ -52802,7 +52805,7 @@ Error generating stack: ` + V.message + `
|
|
|
52802
52805
|
}
|
|
52803
52806
|
u.blockedSegment = P, P.lastPushedText = !1;
|
|
52804
52807
|
}
|
|
52805
|
-
re !== null && xe !== null && 0 < xe.pendingTasks && (re.pendingTasks++, xe.next = re), u.treeContext = Q, u.row = re, u.keyPath = V, u.componentStack = Ce, u.debugTask =
|
|
52808
|
+
re !== null && xe !== null && 0 < xe.pendingTasks && (re.pendingTasks++, xe.next = re), u.treeContext = Q, u.row = re, u.keyPath = V, u.componentStack = Ce, u.debugTask = ue;
|
|
52806
52809
|
}
|
|
52807
52810
|
function vi(s, u, k, L, P, V) {
|
|
52808
52811
|
var Q = u.thenableState;
|
|
@@ -52816,8 +52819,8 @@ Error generating stack: ` + V.message + `
|
|
|
52816
52819
|
var Ce = u.blockedSegment;
|
|
52817
52820
|
if (Ce !== null) {
|
|
52818
52821
|
re = !0, Ce = Ce.chunks;
|
|
52819
|
-
for (var
|
|
52820
|
-
|
|
52822
|
+
for (var ue = 0; ue < V; ue++)
|
|
52823
|
+
ue === Q ? Ce.push("<!--F!-->") : Ce.push("<!--F-->");
|
|
52821
52824
|
}
|
|
52822
52825
|
}
|
|
52823
52826
|
V = u.keyPath, u.keyPath = k, P ? (k = u.treeContext, u.treeContext = Xt(k, 1, 0), or(s, u, L, -1), u.treeContext = k) : re ? or(s, u, L, -1) : Et(s, u, L, -1), u.keyPath = V;
|
|
@@ -52834,8 +52837,8 @@ Error generating stack: ` + V.message + `
|
|
|
52834
52837
|
var Ce = L.defaultProps;
|
|
52835
52838
|
if (Ce) {
|
|
52836
52839
|
Q === P && (Q = Ln({}, Q, P));
|
|
52837
|
-
for (var
|
|
52838
|
-
Q[
|
|
52840
|
+
for (var ue in Ce)
|
|
52841
|
+
Q[ue] === void 0 && (Q[ue] = Ce[ue]);
|
|
52839
52842
|
}
|
|
52840
52843
|
var xe = Q, _e = Ye, Ke = L.contextType;
|
|
52841
52844
|
if ("contextType" in L && Ke !== null && (Ke === void 0 || Ke.$$typeof !== Za) && !ba.has(L)) {
|
|
@@ -53509,8 +53512,8 @@ Please update the following components: %s`,
|
|
|
53509
53512
|
u.replay = V, u.blockedSegment = null;
|
|
53510
53513
|
}
|
|
53511
53514
|
}
|
|
53512
|
-
function bi(s, u, k, L, P, V, Q, re, Ce,
|
|
53513
|
-
V =
|
|
53515
|
+
function bi(s, u, k, L, P, V, Q, re, Ce, ue) {
|
|
53516
|
+
V = ue.nodes;
|
|
53514
53517
|
for (var xe = 0; xe < V.length; xe++) {
|
|
53515
53518
|
var _e = V[xe];
|
|
53516
53519
|
if (P === _e[1]) {
|
|
@@ -53529,7 +53532,7 @@ Please update the following components: %s`,
|
|
|
53529
53532
|
u.replay.pendingTasks--;
|
|
53530
53533
|
} catch (Tr) {
|
|
53531
53534
|
if (typeof Tr == "object" && Tr !== null && (Tr === ra || typeof Tr.then == "function"))
|
|
53532
|
-
throw u.node === P ? u.replay =
|
|
53535
|
+
throw u.node === P ? u.replay = ue : V.splice(xe, 1), Tr;
|
|
53533
53536
|
u.replay.pendingTasks--, Q = Ki(u.componentStack), re = s, s = u.blockedBoundary, k = Tr, Ce = L, L = ga(re, k, Q, u.debugTask), Mi(
|
|
53534
53537
|
re,
|
|
53535
53538
|
s,
|
|
@@ -53541,14 +53544,14 @@ Please update the following components: %s`,
|
|
|
53541
53544
|
!1
|
|
53542
53545
|
);
|
|
53543
53546
|
}
|
|
53544
|
-
u.replay =
|
|
53547
|
+
u.replay = ue;
|
|
53545
53548
|
} else {
|
|
53546
53549
|
if (Q !== Aa)
|
|
53547
53550
|
throw Error(
|
|
53548
53551
|
"Expected the resume to render <Suspense> in this slot but instead it rendered <" + (jn(Q) || "Unknown") + ">. The tree doesn't match so React will fallback to client rendering."
|
|
53549
53552
|
);
|
|
53550
53553
|
e: {
|
|
53551
|
-
|
|
53554
|
+
ue = void 0, L = _e[5], Q = _e[2], Ce = _e[3], P = _e[4] === null ? [] : _e[4][2], _e = _e[4] === null ? null : _e[4][3];
|
|
53552
53555
|
var We = u.keyPath, Ie = u.formatContext, zt = u.row, kn = u.replay, vt = u.blockedBoundary, en = u.hoistableState, _r = re.children, Ur = re.fallback, an = /* @__PURE__ */ new Set();
|
|
53553
53556
|
re = nd(
|
|
53554
53557
|
s,
|
|
@@ -53570,12 +53573,12 @@ Please update the following components: %s`,
|
|
|
53570
53573
|
break e;
|
|
53571
53574
|
}
|
|
53572
53575
|
} catch (Tr) {
|
|
53573
|
-
re.status = Rr, Ke = Ki(u.componentStack),
|
|
53576
|
+
re.status = Rr, Ke = Ki(u.componentStack), ue = ga(
|
|
53574
53577
|
s,
|
|
53575
53578
|
Tr,
|
|
53576
53579
|
Ke,
|
|
53577
53580
|
u.debugTask
|
|
53578
|
-
), bl(re,
|
|
53581
|
+
), bl(re, ue, Tr, Ke, !1), u.replay.pendingTasks--, s.clientRenderedBoundaries.push(re);
|
|
53579
53582
|
} finally {
|
|
53580
53583
|
u.blockedBoundary = vt, u.hoistableState = en, u.replay = kn, u.keyPath = We, u.formatContext = Ie, u.row = zt;
|
|
53581
53584
|
}
|
|
@@ -53631,13 +53634,13 @@ Please update the following components: %s`,
|
|
|
53631
53634
|
Q = Q !== void 0 ? Q : null;
|
|
53632
53635
|
var re = u.debugTask, Ce = jn(P);
|
|
53633
53636
|
V = V ?? (L === -1 ? 0 : L);
|
|
53634
|
-
var
|
|
53637
|
+
var ue = [u.keyPath, Ce, V];
|
|
53635
53638
|
u.replay !== null ? re ? re.run(
|
|
53636
53639
|
bi.bind(
|
|
53637
53640
|
null,
|
|
53638
53641
|
s,
|
|
53639
53642
|
u,
|
|
53640
|
-
|
|
53643
|
+
ue,
|
|
53641
53644
|
Ce,
|
|
53642
53645
|
V,
|
|
53643
53646
|
L,
|
|
@@ -53649,7 +53652,7 @@ Please update the following components: %s`,
|
|
|
53649
53652
|
) : bi(
|
|
53650
53653
|
s,
|
|
53651
53654
|
u,
|
|
53652
|
-
|
|
53655
|
+
ue,
|
|
53653
53656
|
Ce,
|
|
53654
53657
|
V,
|
|
53655
53658
|
L,
|
|
@@ -53662,12 +53665,12 @@ Please update the following components: %s`,
|
|
|
53662
53665
|
null,
|
|
53663
53666
|
s,
|
|
53664
53667
|
u,
|
|
53665
|
-
|
|
53668
|
+
ue,
|
|
53666
53669
|
P,
|
|
53667
53670
|
k,
|
|
53668
53671
|
Q
|
|
53669
53672
|
)
|
|
53670
|
-
) : xl(s, u,
|
|
53673
|
+
) : xl(s, u, ue, P, k, Q);
|
|
53671
53674
|
return;
|
|
53672
53675
|
case ir:
|
|
53673
53676
|
throw Error(
|
|
@@ -53768,8 +53771,8 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
53768
53771
|
function Jo(s, u, k, L) {
|
|
53769
53772
|
var P = u.keyPath, V = u.componentStack, Q = u.debugTask;
|
|
53770
53773
|
if (hc(u, u.node._debugInfo), L !== -1 && (u.keyPath = [u.keyPath, "Fragment", L], u.replay !== null)) {
|
|
53771
|
-
for (var re = u.replay, Ce = re.nodes,
|
|
53772
|
-
var xe = Ce[
|
|
53774
|
+
for (var re = u.replay, Ce = re.nodes, ue = 0; ue < Ce.length; ue++) {
|
|
53775
|
+
var xe = Ce[ue];
|
|
53773
53776
|
if (xe[1] === L) {
|
|
53774
53777
|
L = xe[2], xe = xe[3], u.replay = { nodes: L, slots: xe, pendingTasks: 1 };
|
|
53775
53778
|
try {
|
|
@@ -53801,25 +53804,25 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
53801
53804
|
!1
|
|
53802
53805
|
);
|
|
53803
53806
|
}
|
|
53804
|
-
u.replay = re, Ce.splice(
|
|
53807
|
+
u.replay = re, Ce.splice(ue, 1);
|
|
53805
53808
|
break;
|
|
53806
53809
|
}
|
|
53807
53810
|
}
|
|
53808
53811
|
u.keyPath = P, u.componentStack = V, u.debugTask = Q;
|
|
53809
53812
|
return;
|
|
53810
53813
|
}
|
|
53811
|
-
if (re = u.treeContext, Ce = k.length, u.replay !== null && (
|
|
53814
|
+
if (re = u.treeContext, Ce = k.length, u.replay !== null && (ue = u.replay.slots, ue !== null && typeof ue == "object")) {
|
|
53812
53815
|
for (L = 0; L < Ce; L++)
|
|
53813
53816
|
xe = k[L], u.treeContext = Xt(
|
|
53814
53817
|
re,
|
|
53815
53818
|
Ce,
|
|
53816
53819
|
L
|
|
53817
|
-
), Ke =
|
|
53820
|
+
), Ke = ue[L], typeof Ke == "number" ? (ki(s, u, Ke, xe, L), delete ue[L]) : or(s, u, xe, L);
|
|
53818
53821
|
u.treeContext = re, u.keyPath = P, u.componentStack = V, u.debugTask = Q;
|
|
53819
53822
|
return;
|
|
53820
53823
|
}
|
|
53821
|
-
for (
|
|
53822
|
-
L = k[
|
|
53824
|
+
for (ue = 0; ue < Ce; ue++)
|
|
53825
|
+
L = k[ue], ar(s, u, L), u.treeContext = Xt(re, Ce, ue), or(s, u, L, ue);
|
|
53823
53826
|
u.treeContext = re, u.keyPath = P, u.componentStack = V, u.debugTask = Q;
|
|
53824
53827
|
}
|
|
53825
53828
|
function vr(s, u, k) {
|
|
@@ -53929,7 +53932,7 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
53929
53932
|
);
|
|
53930
53933
|
}
|
|
53931
53934
|
function or(s, u, k, L) {
|
|
53932
|
-
var P = u.formatContext, V = u.context, Q = u.keyPath, re = u.treeContext, Ce = u.componentStack,
|
|
53935
|
+
var P = u.formatContext, V = u.context, Q = u.keyPath, re = u.treeContext, Ce = u.componentStack, ue = u.debugTask, xe = u.blockedSegment;
|
|
53933
53936
|
if (xe === null) {
|
|
53934
53937
|
xe = u.replay;
|
|
53935
53938
|
try {
|
|
@@ -53941,11 +53944,11 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
53941
53944
|
s,
|
|
53942
53945
|
u,
|
|
53943
53946
|
L
|
|
53944
|
-
).ping, k.then(s, s), u.formatContext = P, u.context = V, u.keyPath = Q, u.treeContext = re, u.componentStack = Ce, u.replay = xe, u.debugTask =
|
|
53947
|
+
).ping, k.then(s, s), u.formatContext = P, u.context = V, u.keyPath = Q, u.treeContext = re, u.componentStack = Ce, u.replay = xe, u.debugTask = ue, pn(V);
|
|
53945
53948
|
return;
|
|
53946
53949
|
}
|
|
53947
53950
|
if (k.message === "Maximum call stack size exceeded") {
|
|
53948
|
-
k = We === ra ? Io() : null, k = Qo(s, u, k), s.pingedTasks.push(k), u.formatContext = P, u.context = V, u.keyPath = Q, u.treeContext = re, u.componentStack = Ce, u.replay = xe, u.debugTask =
|
|
53951
|
+
k = We === ra ? Io() : null, k = Qo(s, u, k), s.pingedTasks.push(k), u.formatContext = P, u.context = V, u.keyPath = Q, u.treeContext = re, u.componentStack = Ce, u.replay = xe, u.debugTask = ue, pn(V);
|
|
53949
53952
|
return;
|
|
53950
53953
|
}
|
|
53951
53954
|
}
|
|
@@ -53957,11 +53960,11 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
53957
53960
|
} catch (We) {
|
|
53958
53961
|
if (Nr(), xe.children.length = _e, xe.chunks.length = Ke, k = We === ra ? ic() : We, s.status !== 12 && typeof k == "object" && k !== null) {
|
|
53959
53962
|
if (typeof k.then == "function") {
|
|
53960
|
-
xe = k, k = We === ra ? Io() : null, s = xi(s, u, k).ping, xe.then(s, s), u.formatContext = P, u.context = V, u.keyPath = Q, u.treeContext = re, u.componentStack = Ce, u.debugTask =
|
|
53963
|
+
xe = k, k = We === ra ? Io() : null, s = xi(s, u, k).ping, xe.then(s, s), u.formatContext = P, u.context = V, u.keyPath = Q, u.treeContext = re, u.componentStack = Ce, u.debugTask = ue, pn(V);
|
|
53961
53964
|
return;
|
|
53962
53965
|
}
|
|
53963
53966
|
if (k.message === "Maximum call stack size exceeded") {
|
|
53964
|
-
xe = We === ra ? Io() : null, xe = xi(s, u, xe), s.pingedTasks.push(xe), u.formatContext = P, u.context = V, u.keyPath = Q, u.treeContext = re, u.componentStack = Ce, u.debugTask =
|
|
53967
|
+
xe = We === ra ? Io() : null, xe = xi(s, u, xe), s.pingedTasks.push(xe), u.formatContext = P, u.context = V, u.keyPath = Q, u.treeContext = re, u.componentStack = Ce, u.debugTask = ue, pn(V);
|
|
53965
53968
|
return;
|
|
53966
53969
|
}
|
|
53967
53970
|
}
|
|
@@ -53975,13 +53978,13 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
53975
53978
|
}
|
|
53976
53979
|
function Mi(s, u, k, L, P, V, Q, re) {
|
|
53977
53980
|
for (var Ce = 0; Ce < k.length; Ce++) {
|
|
53978
|
-
var
|
|
53979
|
-
if (
|
|
53981
|
+
var ue = k[Ce];
|
|
53982
|
+
if (ue.length === 4)
|
|
53980
53983
|
Mi(
|
|
53981
53984
|
s,
|
|
53982
53985
|
u,
|
|
53983
|
-
|
|
53984
|
-
|
|
53986
|
+
ue[2],
|
|
53987
|
+
ue[3],
|
|
53985
53988
|
P,
|
|
53986
53989
|
V,
|
|
53987
53990
|
Q,
|
|
@@ -53989,7 +53992,7 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
53989
53992
|
);
|
|
53990
53993
|
else {
|
|
53991
53994
|
var xe = s;
|
|
53992
|
-
|
|
53995
|
+
ue = ue[5];
|
|
53993
53996
|
var _e = P, Ke = V, We = Q, Ie = re, zt = nd(
|
|
53994
53997
|
xe,
|
|
53995
53998
|
null,
|
|
@@ -53997,7 +54000,7 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
53997
54000
|
null,
|
|
53998
54001
|
null
|
|
53999
54002
|
);
|
|
54000
|
-
zt.parentFlushed = !0, zt.rootSegmentID =
|
|
54003
|
+
zt.parentFlushed = !0, zt.rootSegmentID = ue, zt.status = Rr, bl(
|
|
54001
54004
|
zt,
|
|
54002
54005
|
Ke,
|
|
54003
54006
|
_e,
|
|
@@ -54075,8 +54078,8 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
54075
54078
|
if (P.fontPreloads && (V && (V += ", "), V += P.fontPreloads), P.highImagePreloads && (V && (V += ", "), V += P.highImagePreloads), !u) {
|
|
54076
54079
|
var Q = k.styles.values(), re = Q.next();
|
|
54077
54080
|
e: for (; 0 < P.remainingCapacity && !re.done; re = Q.next())
|
|
54078
|
-
for (var Ce = re.value.sheets.values(),
|
|
54079
|
-
var xe =
|
|
54081
|
+
for (var Ce = re.value.sheets.values(), ue = Ce.next(); 0 < P.remainingCapacity && !ue.done; ue = Ce.next()) {
|
|
54082
|
+
var xe = ue.value, _e = xe.props, Ke = _e.href, We = xe.props, Ie = rc(
|
|
54080
54083
|
We.href,
|
|
54081
54084
|
"style",
|
|
54082
54085
|
{
|
|
@@ -54164,42 +54167,42 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
54164
54167
|
try {
|
|
54165
54168
|
var re = s.pingedTasks, Ce;
|
|
54166
54169
|
for (Ce = 0; Ce < re.length; Ce++) {
|
|
54167
|
-
var
|
|
54170
|
+
var ue = s, xe = re[Ce], _e = xe.blockedSegment;
|
|
54168
54171
|
if (_e === null) {
|
|
54169
|
-
var Ke = void 0, We =
|
|
54170
|
-
if (
|
|
54171
|
-
pn(
|
|
54172
|
+
var Ke = void 0, We = ue;
|
|
54173
|
+
if (ue = xe, ue.replay.pendingTasks !== 0) {
|
|
54174
|
+
pn(ue.context), Ke = fo, fo = ue;
|
|
54172
54175
|
try {
|
|
54173
|
-
if (typeof
|
|
54176
|
+
if (typeof ue.replay.slots == "number" ? ki(
|
|
54174
54177
|
We,
|
|
54175
|
-
|
|
54176
|
-
|
|
54177
|
-
|
|
54178
|
-
|
|
54179
|
-
) : Ro(We,
|
|
54178
|
+
ue,
|
|
54179
|
+
ue.replay.slots,
|
|
54180
|
+
ue.node,
|
|
54181
|
+
ue.childIndex
|
|
54182
|
+
) : Ro(We, ue), ue.replay.pendingTasks === 1 && 0 < ue.replay.nodes.length)
|
|
54180
54183
|
throw Error(
|
|
54181
54184
|
"Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
|
|
54182
54185
|
);
|
|
54183
|
-
|
|
54186
|
+
ue.replay.pendingTasks--, ue.abortSet.delete(ue), Po(
|
|
54184
54187
|
We,
|
|
54185
|
-
|
|
54186
|
-
|
|
54188
|
+
ue.blockedBoundary,
|
|
54189
|
+
ue.row,
|
|
54187
54190
|
null
|
|
54188
54191
|
);
|
|
54189
54192
|
} catch (En) {
|
|
54190
54193
|
Nr();
|
|
54191
54194
|
var Ie = En === ra ? ic() : En;
|
|
54192
54195
|
if (typeof Ie == "object" && Ie !== null && typeof Ie.then == "function") {
|
|
54193
|
-
var zt =
|
|
54194
|
-
Ie.then(zt, zt),
|
|
54196
|
+
var zt = ue.ping;
|
|
54197
|
+
Ie.then(zt, zt), ue.thenableState = En === ra ? Io() : null;
|
|
54195
54198
|
} else {
|
|
54196
|
-
|
|
54197
|
-
var kn = Ki(
|
|
54199
|
+
ue.replay.pendingTasks--, ue.abortSet.delete(ue);
|
|
54200
|
+
var kn = Ki(ue.componentStack), vt = void 0, en = We, _r = ue.blockedBoundary, Ur = We.status === 12 ? We.fatalError : Ie, an = kn, Tr = ue.replay.nodes, ai = ue.replay.slots;
|
|
54198
54201
|
vt = ga(
|
|
54199
54202
|
en,
|
|
54200
54203
|
Ur,
|
|
54201
54204
|
an,
|
|
54202
|
-
|
|
54205
|
+
ue.debugTask
|
|
54203
54206
|
), Mi(
|
|
54204
54207
|
en,
|
|
54205
54208
|
_r,
|
|
@@ -54219,34 +54222,34 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
54219
54222
|
en.status = 6, pn(vt.context), We = fo, fo = vt;
|
|
54220
54223
|
var wa = en.children.length, at = en.chunks.length;
|
|
54221
54224
|
try {
|
|
54222
|
-
Ro(
|
|
54225
|
+
Ro(ue, vt), As(
|
|
54223
54226
|
en.chunks,
|
|
54224
|
-
|
|
54227
|
+
ue.renderState,
|
|
54225
54228
|
en.lastPushedText,
|
|
54226
54229
|
en.textEmbedded
|
|
54227
54230
|
), vt.abortSet.delete(vt), en.status = oa, Po(
|
|
54228
|
-
|
|
54231
|
+
ue,
|
|
54229
54232
|
vt.blockedBoundary,
|
|
54230
54233
|
vt.row,
|
|
54231
54234
|
en
|
|
54232
54235
|
);
|
|
54233
54236
|
} catch (En) {
|
|
54234
54237
|
Nr(), en.children.length = wa, en.chunks.length = at;
|
|
54235
|
-
var un = En === ra ? ic() :
|
|
54236
|
-
if (
|
|
54237
|
-
var hn =
|
|
54238
|
+
var un = En === ra ? ic() : ue.status === 12 ? ue.fatalError : En;
|
|
54239
|
+
if (ue.status === 12 && ue.trackedPostpones !== null) {
|
|
54240
|
+
var hn = ue.trackedPostpones, gn = Ki(vt.componentStack);
|
|
54238
54241
|
vt.abortSet.delete(vt), ga(
|
|
54239
|
-
|
|
54242
|
+
ue,
|
|
54240
54243
|
un,
|
|
54241
54244
|
gn,
|
|
54242
54245
|
vt.debugTask
|
|
54243
54246
|
), Ji(
|
|
54244
|
-
|
|
54247
|
+
ue,
|
|
54245
54248
|
hn,
|
|
54246
54249
|
vt,
|
|
54247
54250
|
en
|
|
54248
54251
|
), Po(
|
|
54249
|
-
|
|
54252
|
+
ue,
|
|
54250
54253
|
vt.blockedBoundary,
|
|
54251
54254
|
vt.row,
|
|
54252
54255
|
en
|
|
@@ -54261,14 +54264,14 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
54261
54264
|
);
|
|
54262
54265
|
vt.abortSet.delete(vt), en.status = ln;
|
|
54263
54266
|
var Pt = vt.blockedBoundary, ia = vt.row, fn = vt.debugTask;
|
|
54264
|
-
if (ia !== null && --ia.pendingTasks === 0 && bn(
|
|
54265
|
-
|
|
54267
|
+
if (ia !== null && --ia.pendingTasks === 0 && bn(ue, ia), ue.allPendingTasks--, Ke = ga(
|
|
54268
|
+
ue,
|
|
54266
54269
|
un,
|
|
54267
54270
|
Gt,
|
|
54268
54271
|
fn
|
|
54269
54272
|
), Pt === null)
|
|
54270
54273
|
wr(
|
|
54271
|
-
|
|
54274
|
+
ue,
|
|
54272
54275
|
un,
|
|
54273
54276
|
Gt,
|
|
54274
54277
|
fn
|
|
@@ -54280,11 +54283,11 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
54280
54283
|
un,
|
|
54281
54284
|
Gt,
|
|
54282
54285
|
!1
|
|
54283
|
-
), Fs(
|
|
54286
|
+
), Fs(ue, Pt);
|
|
54284
54287
|
var Wr = Pt.row;
|
|
54285
|
-
Wr !== null && --Wr.pendingTasks === 0 && bn(
|
|
54288
|
+
Wr !== null && --Wr.pendingTasks === 0 && bn(ue, Wr), Pt.parentFlushed && ue.clientRenderedBoundaries.push(Pt), ue.pendingRootTasks === 0 && ue.trackedPostpones === null && Pt.contentPreamble !== null && Ml(ue);
|
|
54286
54289
|
}
|
|
54287
|
-
|
|
54290
|
+
ue.allPendingTasks === 0 && ma(ue);
|
|
54288
54291
|
}
|
|
54289
54292
|
} finally {
|
|
54290
54293
|
fo = We;
|
|
@@ -54476,20 +54479,20 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
54476
54479
|
var P = s.completedPreambleSegments;
|
|
54477
54480
|
if (P === null) return;
|
|
54478
54481
|
il = s.byteSize;
|
|
54479
|
-
var V = s.resumableState, Q = s.renderState, re = Q.preamble, Ce = re.htmlChunks,
|
|
54482
|
+
var V = s.resumableState, Q = s.renderState, re = Q.preamble, Ce = re.htmlChunks, ue = re.headChunks, xe;
|
|
54480
54483
|
if (Ce) {
|
|
54481
54484
|
for (xe = 0; xe < Ce.length; xe++)
|
|
54482
54485
|
u.push(Ce[xe]);
|
|
54483
|
-
if (
|
|
54484
|
-
for (xe = 0; xe <
|
|
54485
|
-
u.push(
|
|
54486
|
+
if (ue)
|
|
54487
|
+
for (xe = 0; xe < ue.length; xe++)
|
|
54488
|
+
u.push(ue[xe]);
|
|
54486
54489
|
else {
|
|
54487
54490
|
var _e = nn("head");
|
|
54488
54491
|
u.push(_e), u.push(Nt);
|
|
54489
54492
|
}
|
|
54490
|
-
} else if (
|
|
54491
|
-
for (xe = 0; xe <
|
|
54492
|
-
u.push(
|
|
54493
|
+
} else if (ue)
|
|
54494
|
+
for (xe = 0; xe < ue.length; xe++)
|
|
54495
|
+
u.push(ue[xe]);
|
|
54493
54496
|
var Ke = Q.charsetChunks;
|
|
54494
54497
|
for (xe = 0; xe < Ke.length; xe++)
|
|
54495
54498
|
u.push(Ke[xe]);
|
|
@@ -55445,12 +55448,12 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
55445
55448
|
case "image":
|
|
55446
55449
|
if (k)
|
|
55447
55450
|
var Q = k.imageSrcSet, re = k.imageSizes, Ce = k.fetchPriority;
|
|
55448
|
-
var
|
|
55451
|
+
var ue = Q ? Q + `
|
|
55449
55452
|
` + (re || "") : s;
|
|
55450
|
-
if (P.imageResources.hasOwnProperty(
|
|
55451
|
-
P.imageResources[
|
|
55453
|
+
if (P.imageResources.hasOwnProperty(ue)) return;
|
|
55454
|
+
P.imageResources[ue] = ye, P = V.headers;
|
|
55452
55455
|
var xe;
|
|
55453
|
-
P && 0 < P.remainingCapacity && typeof Q != "string" && Ce === "high" && (xe = rc(s, u, k), 0 <= (P.remainingCapacity -= xe.length + 2)) ? (V.resets.image[
|
|
55456
|
+
P && 0 < P.remainingCapacity && typeof Q != "string" && Ce === "high" && (xe = rc(s, u, k), 0 <= (P.remainingCapacity -= xe.length + 2)) ? (V.resets.image[ue] = ye, P.highImagePreloads && (P.highImagePreloads += ", "), P.highImagePreloads += xe) : (P = [], Ee(
|
|
55454
55457
|
P,
|
|
55455
55458
|
Ln(
|
|
55456
55459
|
{
|
|
@@ -55460,7 +55463,7 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
55460
55463
|
},
|
|
55461
55464
|
k
|
|
55462
55465
|
)
|
|
55463
|
-
), Ce === "high" ? V.highImagePreloads.add(P) : (V.bulkPreloads.add(P), V.preloads.images.set(
|
|
55466
|
+
), Ce === "high" ? V.highImagePreloads.add(P) : (V.bulkPreloads.add(P), V.preloads.images.set(ue, P)));
|
|
55464
55467
|
break;
|
|
55465
55468
|
case "style":
|
|
55466
55469
|
if (P.styleResources.hasOwnProperty(s)) return;
|
|
@@ -55482,7 +55485,7 @@ Check the top-level render call using <` + P + ">."), P = "", L != null && V !==
|
|
|
55482
55485
|
return;
|
|
55483
55486
|
} else
|
|
55484
55487
|
Q = {}, P.unknownResources[u] = Q;
|
|
55485
|
-
Q[s] = ye, (P = V.headers) && 0 < P.remainingCapacity && u === "font" && (
|
|
55488
|
+
Q[s] = ye, (P = V.headers) && 0 < P.remainingCapacity && u === "font" && (ue = rc(s, u, k), 0 <= (P.remainingCapacity -= ue.length + 2)) ? (V.resets.font[s] = ye, P.fontPreloads && (P.fontPreloads += ", "), P.fontPreloads += ue) : (P = [], s = Ln(
|
|
55486
55489
|
{ rel: "preload", href: s, as: u },
|
|
55487
55490
|
k
|
|
55488
55491
|
), Ee(P, s), u) === "font" ? V.fontPreloads.add(P) : V.bulkPreloads.add(P);
|
|
@@ -55912,7 +55915,7 @@ function poe() {
|
|
|
55912
55915
|
X(o)
|
|
55913
55916
|
), te(o);
|
|
55914
55917
|
}
|
|
55915
|
-
function
|
|
55918
|
+
function de(o) {
|
|
55916
55919
|
if (K(o))
|
|
55917
55920
|
return console.error(
|
|
55918
55921
|
"The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",
|
|
@@ -56167,7 +56170,7 @@ function poe() {
|
|
|
56167
56170
|
function Pe(o) {
|
|
56168
56171
|
if (typeof o == "boolean" || typeof o == "number" || typeof o == "bigint")
|
|
56169
56172
|
return "" + o;
|
|
56170
|
-
|
|
56173
|
+
de(o), o = "" + o;
|
|
56171
56174
|
var l = gt.exec(o);
|
|
56172
56175
|
if (l) {
|
|
56173
56176
|
var v = "", S, R = 0;
|
|
@@ -56201,7 +56204,7 @@ function poe() {
|
|
|
56201
56204
|
return In.test("" + o) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : o;
|
|
56202
56205
|
}
|
|
56203
56206
|
function ge(o) {
|
|
56204
|
-
return
|
|
56207
|
+
return de(o), ("" + o).replace(Ws, t);
|
|
56205
56208
|
}
|
|
56206
56209
|
function Me(o, l, v, S, R, B) {
|
|
56207
56210
|
v = typeof l == "string" ? l : l && l.script;
|
|
@@ -56808,7 +56811,7 @@ function poe() {
|
|
|
56808
56811
|
throw Error(
|
|
56809
56812
|
"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."
|
|
56810
56813
|
);
|
|
56811
|
-
l = l.__html, l != null && (
|
|
56814
|
+
l = l.__html, l != null && (de(l), o.push(N("" + l)));
|
|
56812
56815
|
}
|
|
56813
56816
|
}
|
|
56814
56817
|
function yi(o, l) {
|
|
@@ -56864,7 +56867,7 @@ function poe() {
|
|
|
56864
56867
|
return o.push(ka), null;
|
|
56865
56868
|
}
|
|
56866
56869
|
function jr(o) {
|
|
56867
|
-
return
|
|
56870
|
+
return de(o), ("" + o).replace(Sc, e);
|
|
56868
56871
|
}
|
|
56869
56872
|
function qn(o, l, v) {
|
|
56870
56873
|
o.push(xt(v));
|
|
@@ -57157,9 +57160,9 @@ function poe() {
|
|
|
57157
57160
|
if ($o(Pn)) {
|
|
57158
57161
|
if (1 < Pn.length)
|
|
57159
57162
|
throw Error("<textarea> can only have at most one child.");
|
|
57160
|
-
|
|
57163
|
+
de(Pn[0]), Yr = "" + Pn[0];
|
|
57161
57164
|
}
|
|
57162
|
-
|
|
57165
|
+
de(Pn), Yr = "" + Pn;
|
|
57163
57166
|
}
|
|
57164
57167
|
return typeof Yr == "string" && Yr[0] === `
|
|
57165
57168
|
` && o.push(pd), Yr !== null && (J(Yr, "value"), o.push(
|
|
@@ -57690,7 +57693,7 @@ function poe() {
|
|
|
57690
57693
|
);
|
|
57691
57694
|
var Dh = ef.__html;
|
|
57692
57695
|
Dh != null && (typeof Dh == "string" && 0 < Dh.length && Dh[0] === `
|
|
57693
|
-
` ? o.push(pd, N(Dh)) : (
|
|
57696
|
+
` ? o.push(pd, N(Dh)) : (de(Dh), o.push(N("" + Dh))));
|
|
57694
57697
|
}
|
|
57695
57698
|
return typeof $2 == "string" && $2[0] === `
|
|
57696
57699
|
` && o.push(pd), $2;
|
|
@@ -58555,7 +58558,7 @@ Incoming: %s`,
|
|
|
58555
58558
|
}
|
|
58556
58559
|
function nd() {
|
|
58557
58560
|
if (L === 0) {
|
|
58558
|
-
P = console.log, V = console.info, Q = console.warn, re = console.error, Ce = console.group,
|
|
58561
|
+
P = console.log, V = console.info, Q = console.warn, re = console.error, Ce = console.group, ue = console.groupCollapsed, xe = console.groupEnd;
|
|
58559
58562
|
var o = {
|
|
58560
58563
|
configurable: !0,
|
|
58561
58564
|
enumerable: !0,
|
|
@@ -58583,7 +58586,7 @@ Incoming: %s`,
|
|
|
58583
58586
|
warn: xn({}, o, { value: Q }),
|
|
58584
58587
|
error: xn({}, o, { value: re }),
|
|
58585
58588
|
group: xn({}, o, { value: Ce }),
|
|
58586
|
-
groupCollapsed: xn({}, o, { value:
|
|
58589
|
+
groupCollapsed: xn({}, o, { value: ue }),
|
|
58587
58590
|
groupEnd: xn({}, o, { value: xe })
|
|
58588
58591
|
});
|
|
58589
58592
|
}
|
|
@@ -62212,7 +62215,7 @@ performance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready
|
|
|
62212
62215
|
getOwner: function() {
|
|
62213
62216
|
return u === null ? null : u.componentStack;
|
|
62214
62217
|
}
|
|
62215
|
-
}, L = 0, P, V, Q, re, Ce,
|
|
62218
|
+
}, L = 0, P, V, Q, re, Ce, ue, xe;
|
|
62216
62219
|
dc.__reactDisabledLog = !0;
|
|
62217
62220
|
var _e, Ke, We = !1, Ie = new (typeof WeakMap == "function" ? WeakMap : Map)(), zt = {
|
|
62218
62221
|
react_stack_bottom_frame: function(o, l, v) {
|
|
@@ -62579,7 +62582,7 @@ function voe() {
|
|
|
62579
62582
|
}
|
|
62580
62583
|
}
|
|
62581
62584
|
}
|
|
62582
|
-
var J = b, ne = x,
|
|
62585
|
+
var J = b, ne = x, de = y, pe = c, Ae = t, Be = T, qe = r, ot = N, ze = O, Je = n, Pe = i, ie = a, ge = M, Me = !1;
|
|
62583
62586
|
function St(Ze) {
|
|
62584
62587
|
return Me || (Me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ae(Ze) || te(Ze) === b;
|
|
62585
62588
|
}
|
|
@@ -62619,7 +62622,7 @@ function voe() {
|
|
|
62619
62622
|
function Lt(Ze) {
|
|
62620
62623
|
return te(Ze) === M;
|
|
62621
62624
|
}
|
|
62622
|
-
Qn.AsyncMode = J, Qn.ConcurrentMode = ne, Qn.ContextConsumer =
|
|
62625
|
+
Qn.AsyncMode = J, Qn.ConcurrentMode = ne, Qn.ContextConsumer = de, Qn.ContextProvider = pe, Qn.Element = Ae, Qn.ForwardRef = Be, Qn.Fragment = qe, Qn.Lazy = ot, Qn.Memo = ze, Qn.Portal = Je, Qn.Profiler = Pe, Qn.StrictMode = ie, Qn.Suspense = ge, Qn.isAsyncMode = St, Qn.isConcurrentMode = ae, Qn.isContextConsumer = U, Qn.isContextProvider = he, Qn.isElement = Te, Qn.isForwardRef = Fe, Qn.isFragment = Xe, Qn.isLazy = tt, Qn.isMemo = Ee, Qn.isPortal = ft, Qn.isProfiler = dt, Qn.isStrictMode = rt, Qn.isSuspense = Lt, Qn.isValidElementType = K, Qn.typeOf = te;
|
|
62623
62626
|
})()), Qn;
|
|
62624
62627
|
}
|
|
62625
62628
|
var oV;
|
|
@@ -62772,7 +62775,7 @@ function xoe() {
|
|
|
62772
62775
|
instanceOf: ne,
|
|
62773
62776
|
node: Be(),
|
|
62774
62777
|
objectOf: pe,
|
|
62775
|
-
oneOf:
|
|
62778
|
+
oneOf: de,
|
|
62776
62779
|
oneOfType: Ae,
|
|
62777
62780
|
shape: ot,
|
|
62778
62781
|
exact: ze
|
|
@@ -62874,7 +62877,7 @@ function xoe() {
|
|
|
62874
62877
|
}
|
|
62875
62878
|
return H(U);
|
|
62876
62879
|
}
|
|
62877
|
-
function
|
|
62880
|
+
function de(ae) {
|
|
62878
62881
|
if (!Array.isArray(ae))
|
|
62879
62882
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
62880
62883
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
@@ -63244,8 +63247,8 @@ function Ooe(e) {
|
|
|
63244
63247
|
var ne = H.current.shadowRoot;
|
|
63245
63248
|
return void te(ne);
|
|
63246
63249
|
}
|
|
63247
|
-
var
|
|
63248
|
-
M.length > 0 && (
|
|
63250
|
+
var de = H.current.attachShadow({ mode: y, delegatesFocus: x });
|
|
63251
|
+
M.length > 0 && (de.adoptedStyleSheets = M), te(de);
|
|
63249
63252
|
} catch (pe) {
|
|
63250
63253
|
(function(Ae) {
|
|
63251
63254
|
var Be = Ae.error, qe = Ae.styleSheets, ot = Ae.root;
|
|
@@ -63278,9 +63281,9 @@ const rZ = `@layer properties{@supports (((-webkit-hyphens:none)) and (not (marg
|
|
|
63278
63281
|
/* @__PURE__ */ m.jsx("h3", { className: "text-xl font-bold text-slate-900 dark:text-slate-100", children: "Tasks Timeline View" }),
|
|
63279
63282
|
/* @__PURE__ */ m.jsxs("p", { className: "text-xs text-slate-500 font-mono", children: [
|
|
63280
63283
|
"v",
|
|
63281
|
-
"0.4.
|
|
63284
|
+
"0.4.1",
|
|
63282
63285
|
" • Built at ",
|
|
63283
|
-
"
|
|
63286
|
+
"fa60af0"
|
|
63284
63287
|
] })
|
|
63285
63288
|
] }),
|
|
63286
63289
|
/* @__PURE__ */ m.jsx("p", { className: "text-sm text-slate-600 dark:text-slate-400 max-w-sm mx-auto leading-relaxed", children: "A high-fidelity, timeline-based task management tool designed for focus, clarity, and AI-assisted productivity." })
|
|
@@ -63531,9 +63534,9 @@ const rZ = `@layer properties{@supports (((-webkit-hyphens:none)) and (not (marg
|
|
|
63531
63534
|
] }),
|
|
63532
63535
|
/* @__PURE__ */ m.jsx("div", { className: "p-4 bg-slate-50 dark:bg-slate-800/50 text-center border-t border-slate-100 dark:border-slate-800 shrink-0", children: /* @__PURE__ */ m.jsxs("p", { className: "text-[10px] text-slate-400", children: [
|
|
63533
63536
|
"Timeline Tasks View • ",
|
|
63534
|
-
"0.4.
|
|
63537
|
+
"0.4.1",
|
|
63535
63538
|
" at ",
|
|
63536
|
-
"
|
|
63539
|
+
"fa60af0"
|
|
63537
63540
|
] }) })
|
|
63538
63541
|
] });
|
|
63539
63542
|
return i ? /* @__PURE__ */ m.jsx(
|
|
@@ -65401,19 +65404,22 @@ function ase(e) {
|
|
|
65401
65404
|
},
|
|
65402
65405
|
async execute(t) {
|
|
65403
65406
|
const n = t.id, r = await e.getTask(n);
|
|
65404
|
-
|
|
65407
|
+
if (!r)
|
|
65408
|
+
return {
|
|
65409
|
+
name: "delete_task",
|
|
65410
|
+
result: { success: !1, message: `Task not found: ${n}` }
|
|
65411
|
+
};
|
|
65412
|
+
const a = await e.confirm?.(
|
|
65405
65413
|
`Delete "${r.title}"?`,
|
|
65406
65414
|
"This action cannot be undone."
|
|
65407
|
-
)
|
|
65415
|
+
);
|
|
65416
|
+
return a === !1 || a === null ? {
|
|
65408
65417
|
name: "delete_task",
|
|
65409
65418
|
result: { success: !1, message: "Cancelled by user" }
|
|
65410
65419
|
} : (await e.deleteTask(n), e.notify?.("info", `Deleted task: ${r.title}`), {
|
|
65411
65420
|
name: "delete_task",
|
|
65412
65421
|
result: { success: !0, id: n, title: r.title }
|
|
65413
|
-
})
|
|
65414
|
-
name: "delete_task",
|
|
65415
|
-
result: { success: !1, message: `Task not found: ${n}` }
|
|
65416
|
-
};
|
|
65422
|
+
});
|
|
65417
65423
|
}
|
|
65418
65424
|
};
|
|
65419
65425
|
}
|
|
@@ -65586,18 +65592,21 @@ function lse(e) {
|
|
|
65586
65592
|
result: { success: !1, error: "filter and update are required" }
|
|
65587
65593
|
};
|
|
65588
65594
|
const a = n.status, i = n.category, c = n.tag, y = n.recurring, x = (await e.getTasks()).filter((I) => !(a !== void 0 && I.status !== a || i !== void 0 && I.category !== i || c !== void 0 && !sse(I, c) || y !== void 0 && (y && I.isRecurring !== !0 || !y && I.isRecurring === !0)));
|
|
65589
|
-
if (x.length > 0
|
|
65590
|
-
|
|
65591
|
-
|
|
65592
|
-
|
|
65593
|
-
|
|
65594
|
-
|
|
65595
|
-
|
|
65596
|
-
|
|
65597
|
-
|
|
65598
|
-
|
|
65599
|
-
|
|
65600
|
-
|
|
65595
|
+
if (x.length > 0) {
|
|
65596
|
+
const I = await e.confirm?.(
|
|
65597
|
+
`Update ${x.length} task${x.length === 1 ? "" : "s"}?`,
|
|
65598
|
+
"This will apply changes to all matching tasks."
|
|
65599
|
+
);
|
|
65600
|
+
if (I === !1 || I === null)
|
|
65601
|
+
return {
|
|
65602
|
+
name: "batch_update_tasks",
|
|
65603
|
+
result: {
|
|
65604
|
+
success: !1,
|
|
65605
|
+
message: "Cancelled by user",
|
|
65606
|
+
updated: 0
|
|
65607
|
+
}
|
|
65608
|
+
};
|
|
65609
|
+
}
|
|
65601
65610
|
const T = [], M = [];
|
|
65602
65611
|
for (const I of x) {
|
|
65603
65612
|
const O = {};
|
|
@@ -65827,7 +65836,10 @@ function hse(e) {
|
|
|
65827
65836
|
if (!e.confirm)
|
|
65828
65837
|
return { name: "ask_user", result: i };
|
|
65829
65838
|
const y = t.description, b = await e.confirm(n, y);
|
|
65830
|
-
return {
|
|
65839
|
+
return b === null ? {
|
|
65840
|
+
name: "ask_user",
|
|
65841
|
+
result: { question: n, answer: null, dismissed: !0 }
|
|
65842
|
+
} : {
|
|
65831
65843
|
name: "ask_user",
|
|
65832
65844
|
result: {
|
|
65833
65845
|
question: n,
|
|
@@ -65839,7 +65851,10 @@ function hse(e) {
|
|
|
65839
65851
|
if (!e.select)
|
|
65840
65852
|
return { name: "ask_user", result: i };
|
|
65841
65853
|
const y = await e.select(n, r);
|
|
65842
|
-
return {
|
|
65854
|
+
return y === null ? {
|
|
65855
|
+
name: "ask_user",
|
|
65856
|
+
result: { question: n, answer: null, dismissed: !0 }
|
|
65857
|
+
} : {
|
|
65843
65858
|
name: "ask_user",
|
|
65844
65859
|
result: {
|
|
65845
65860
|
question: n,
|
|
@@ -65850,7 +65865,10 @@ function hse(e) {
|
|
|
65850
65865
|
if (!e.prompt)
|
|
65851
65866
|
return { name: "ask_user", result: i };
|
|
65852
65867
|
const c = await e.prompt(n);
|
|
65853
|
-
return {
|
|
65868
|
+
return c === null ? {
|
|
65869
|
+
name: "ask_user",
|
|
65870
|
+
result: { question: n, answer: null, dismissed: !0 }
|
|
65871
|
+
} : {
|
|
65854
65872
|
name: "ask_user",
|
|
65855
65873
|
result: {
|
|
65856
65874
|
question: n,
|
|
@@ -66149,20 +66167,20 @@ const xse = (e, t, n, r, a, i, c, y, b, x, T, M, I) => {
|
|
|
66149
66167
|
}, [e]), { handleAICommand: async (D) => {
|
|
66150
66168
|
const H = a.aiConfig.activeProvider, _ = a.aiConfig.providers[H], K = bse({
|
|
66151
66169
|
getTasks: async () => O.current,
|
|
66152
|
-
getTask: async (ne) => O.current.find((
|
|
66170
|
+
getTask: async (ne) => O.current.find((de) => de.id === ne) ?? null,
|
|
66153
66171
|
addTask: async (ne) => {
|
|
66154
66172
|
await t(ne);
|
|
66155
66173
|
},
|
|
66156
66174
|
updateTask: async (ne) => {
|
|
66157
|
-
const
|
|
66158
|
-
|
|
66175
|
+
const de = O.current.find((pe) => pe.id === ne.id);
|
|
66176
|
+
de && await n(ne, de);
|
|
66159
66177
|
},
|
|
66160
66178
|
deleteTask: async (ne) => {
|
|
66161
|
-
const
|
|
66162
|
-
|
|
66179
|
+
const de = O.current.find((pe) => pe.id === ne);
|
|
66180
|
+
de && await r(ne, de);
|
|
66163
66181
|
},
|
|
66164
66182
|
getSettings: () => a,
|
|
66165
|
-
notify: (ne,
|
|
66183
|
+
notify: (ne, de) => c(ne, de),
|
|
66166
66184
|
showToast: x ? (ne) => x({
|
|
66167
66185
|
...ne,
|
|
66168
66186
|
interaction: { kind: "dismiss" },
|
|
@@ -66185,12 +66203,12 @@ const xse = (e, t, n, r, a, i, c, y, b, x, T, M, I) => {
|
|
|
66185
66203
|
input: D,
|
|
66186
66204
|
model: _.model
|
|
66187
66205
|
});
|
|
66188
|
-
let
|
|
66189
|
-
if (y && (
|
|
66190
|
-
const qe =
|
|
66206
|
+
let de = await ne.chat(J, D, te);
|
|
66207
|
+
if (y && (de.tokenUsage || de.tokenCount)) {
|
|
66208
|
+
const qe = de.tokenUsage || {
|
|
66191
66209
|
inputTokens: 0,
|
|
66192
66210
|
outputTokens: 0,
|
|
66193
|
-
totalTokens:
|
|
66211
|
+
totalTokens: de.tokenCount || 0
|
|
66194
66212
|
};
|
|
66195
66213
|
y({
|
|
66196
66214
|
provider: H,
|
|
@@ -66201,14 +66219,14 @@ const xse = (e, t, n, r, a, i, c, y, b, x, T, M, I) => {
|
|
|
66201
66219
|
}
|
|
66202
66220
|
let pe = 0;
|
|
66203
66221
|
const Ae = 5, Be = [{ role: "user", content: D }];
|
|
66204
|
-
for (;
|
|
66222
|
+
for (; de.toolCalls && de.toolCalls.length > 0 && pe < Ae; ) {
|
|
66205
66223
|
pe++, Be.push({
|
|
66206
66224
|
role: "assistant",
|
|
66207
|
-
content:
|
|
66208
|
-
toolCalls:
|
|
66225
|
+
content: de.text,
|
|
66226
|
+
toolCalls: de.toolCalls
|
|
66209
66227
|
});
|
|
66210
66228
|
const qe = [];
|
|
66211
|
-
for (const ot of
|
|
66229
|
+
for (const ot of de.toolCalls) {
|
|
66212
66230
|
if (!ot.name) continue;
|
|
66213
66231
|
Tt.info("AI", `Executing tool: ${ot.name}`, ot.args);
|
|
66214
66232
|
const ze = await K.executeTool(ot.name, ot.args);
|
|
@@ -66221,17 +66239,17 @@ const xse = (e, t, n, r, a, i, c, y, b, x, T, M, I) => {
|
|
|
66221
66239
|
if (Be.push({
|
|
66222
66240
|
role: "tool",
|
|
66223
66241
|
toolResults: qe
|
|
66224
|
-
}),
|
|
66242
|
+
}), de = await ne.chat(
|
|
66225
66243
|
J,
|
|
66226
66244
|
D,
|
|
66227
66245
|
te,
|
|
66228
66246
|
qe,
|
|
66229
66247
|
Be
|
|
66230
|
-
), y && (
|
|
66231
|
-
const ot =
|
|
66248
|
+
), y && (de.tokenUsage || de.tokenCount)) {
|
|
66249
|
+
const ot = de.tokenUsage || {
|
|
66232
66250
|
inputTokens: 0,
|
|
66233
66251
|
outputTokens: 0,
|
|
66234
|
-
totalTokens:
|
|
66252
|
+
totalTokens: de.tokenCount || 0
|
|
66235
66253
|
};
|
|
66236
66254
|
y({
|
|
66237
66255
|
provider: H,
|
|
@@ -66241,6 +66259,7 @@ const xse = (e, t, n, r, a, i, c, y, b, x, T, M, I) => {
|
|
|
66241
66259
|
});
|
|
66242
66260
|
}
|
|
66243
66261
|
}
|
|
66262
|
+
de.text?.trim() && c("info", "AI", de.text.trim());
|
|
66244
66263
|
} catch (ne) {
|
|
66245
66264
|
Tt.error("AI", "Agent processing failed", ne), c(
|
|
66246
66265
|
"error",
|
|
@@ -66529,7 +66548,7 @@ const Tse = ({ children: e, theme: t }) => {
|
|
|
66529
66548
|
), [X, K] = Ht([]), [te, J] = Ht(null), ne = pl(
|
|
66530
66549
|
() => i || new Cse(),
|
|
66531
66550
|
[i]
|
|
66532
|
-
), [
|
|
66551
|
+
), [de, pe] = Ht(() => c ? {
|
|
66533
66552
|
...bs,
|
|
66534
66553
|
aiConfig: {
|
|
66535
66554
|
...bs.aiConfig,
|
|
@@ -66538,7 +66557,7 @@ const Tse = ({ children: e, theme: t }) => {
|
|
|
66538
66557
|
gemini: { ...bs.aiConfig.providers.gemini, apiKey: c }
|
|
66539
66558
|
}
|
|
66540
66559
|
}
|
|
66541
|
-
} : bs), [Ae, Be] = Ht(!1), [qe, ot] = Ht(bs.defaultFocusMode), [ze, Je] = Ht(!1), [Pe, ie] = Ht(
|
|
66560
|
+
} : bs), [Ae, Be] = Ht(!1), [qe, ot] = Ht(bs.defaultFocusMode), [ze, Je] = Ht(!1), [Pe, ie] = Ht(de.filters), [ge, Me] = Ht(de.sort), St = pZ(Pe);
|
|
66542
66561
|
Zi(() => {
|
|
66543
66562
|
(async () => {
|
|
66544
66563
|
Tt.info("App", "Loading settings...");
|
|
@@ -66626,8 +66645,8 @@ const Tse = ({ children: e, theme: t }) => {
|
|
|
66626
66645
|
}
|
|
66627
66646
|
})();
|
|
66628
66647
|
}, [ne, c]), Zi(() => {
|
|
66629
|
-
Ae && ne.saveSettings(
|
|
66630
|
-
}, [
|
|
66648
|
+
Ae && ne.saveSettings(de);
|
|
66649
|
+
}, [de, ne, Ae]);
|
|
66631
66650
|
const ae = Co(/* @__PURE__ */ new Map()), U = xs((Ne) => {
|
|
66632
66651
|
const st = Math.random().toString(36).slice(2, 11);
|
|
66633
66652
|
return K((Ve) => [...Ve, { ...Ne, id: st }]), st;
|
|
@@ -66663,7 +66682,7 @@ const Tse = ({ children: e, theme: t }) => {
|
|
|
66663
66682
|
Ve(!0), he(bt);
|
|
66664
66683
|
},
|
|
66665
66684
|
onCancel: () => {
|
|
66666
|
-
Ve(
|
|
66685
|
+
Ve(null), he(bt);
|
|
66667
66686
|
}
|
|
66668
66687
|
},
|
|
66669
66688
|
timeout: null
|
|
@@ -66738,7 +66757,7 @@ const Tse = ({ children: e, theme: t }) => {
|
|
|
66738
66757
|
}
|
|
66739
66758
|
};
|
|
66740
66759
|
});
|
|
66741
|
-
}, rt =
|
|
66760
|
+
}, rt = de.theme === "system" ? y ? "midnight" : "light" : de.theme;
|
|
66742
66761
|
Zi(() => {
|
|
66743
66762
|
Tt.info("App", "system in dark mode: ", y), H && (Tt.info("App", "set theme on outer container: ", rt), H.setAttribute("data-theme", rt));
|
|
66744
66763
|
}, [rt, H, y]);
|
|
@@ -66788,7 +66807,7 @@ const Tse = ({ children: e, theme: t }) => {
|
|
|
66788
66807
|
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
66789
66808
|
priority: "medium",
|
|
66790
66809
|
tags: [],
|
|
66791
|
-
category:
|
|
66810
|
+
category: de.defaultCategory
|
|
66792
66811
|
// Default category
|
|
66793
66812
|
};
|
|
66794
66813
|
if (typeof Ne == "string" && st)
|
|
@@ -66811,7 +66830,7 @@ const Tse = ({ children: e, theme: t }) => {
|
|
|
66811
66830
|
n,
|
|
66812
66831
|
r,
|
|
66813
66832
|
a,
|
|
66814
|
-
|
|
66833
|
+
de,
|
|
66815
66834
|
Lo,
|
|
66816
66835
|
Te,
|
|
66817
66836
|
dt,
|
|
@@ -66859,7 +66878,7 @@ const Tse = ({ children: e, theme: t }) => {
|
|
|
66859
66878
|
Iae,
|
|
66860
66879
|
{
|
|
66861
66880
|
value: {
|
|
66862
|
-
settings:
|
|
66881
|
+
settings: de,
|
|
66863
66882
|
updateSettings: (Ne) => {
|
|
66864
66883
|
pe((st) => ({ ...st, ...Ne })), Ne.filters && ie(Ne.filters), Ne.sort && Me(Ne.sort);
|
|
66865
66884
|
},
|
|
@@ -66872,7 +66891,7 @@ const Tse = ({ children: e, theme: t }) => {
|
|
|
66872
66891
|
sort: ge,
|
|
66873
66892
|
onSortChange: Me,
|
|
66874
66893
|
onVoiceError: qn,
|
|
66875
|
-
onOpenSettings:
|
|
66894
|
+
onOpenSettings: de.settingButtonOnInputBar === !1 ? void 0 : () => O(!0)
|
|
66876
66895
|
},
|
|
66877
66896
|
children: /* @__PURE__ */ m.jsxs("div", { className: "max-w-3xl mx-auto min-h-screen bg-white shadow-xl shadow-slate-200/50 border-x border-slate-100 pb-10 relative", children: [
|
|
66878
66897
|
/* @__PURE__ */ m.jsxs("div", { className: "sticky top-0 z-40 bg-white/95 backdrop-blur-md border-b border-slate-200/60 shadow-sm transition-all duration-300", children: [
|
|
@@ -67022,7 +67041,7 @@ const Tse = ({ children: e, theme: t }) => {
|
|
|
67022
67041
|
{
|
|
67023
67042
|
isOpen: I,
|
|
67024
67043
|
onClose: () => O(!1),
|
|
67025
|
-
settings:
|
|
67044
|
+
settings: de,
|
|
67026
67045
|
onUpdateSettings: (Ne) => {
|
|
67027
67046
|
pe(Ne), ie(Ne.filters), Me(Ne.sort);
|
|
67028
67047
|
},
|