storyink 0.3.0 → 0.3.2
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/CHANGELOG.md +50 -0
- package/README.md +18 -2
- package/dist/chunks/{index-zjyrjkn6.js → index-5qmjsg8w.js} +36 -5
- package/dist/chunks/{index-060cd52n.js → index-n3gf4fyb.js} +558 -87
- package/dist/cli.js +611 -91
- package/dist/core/index.js +42 -2
- package/dist/index.js +63 -3
- package/dist/node/index.js +6 -2
- package/dist/types/core/index.d.ts +2 -1
- package/dist/types/core/render/App.d.ts +27 -0
- package/dist/types/core/render/Story.d.ts +2 -1
- package/dist/types/core/spec.d.ts +17 -1
- package/dist/types/core/story/camera.d.ts +84 -0
- package/dist/types/core/story/state.d.ts +32 -0
- package/dist/types/core/story/types.d.ts +4 -0
- package/dist/types/generated/meta.d.ts +1 -1
- package/dist/types/generated/viewer.d.ts +1 -1
- package/dist/types/node/index.d.ts +10 -0
- package/dist/types/node/snapshot.d.ts +8 -0
- package/docs/spec.md +77 -3
- package/package.json +3 -2
- package/schema/storyink.schema.json +165 -142
- package/skill/SKILL.md +8 -1
- /package/dist/chunks/{index-8fbs7b39.js → index-ygm89806.js} +0 -0
|
@@ -27,6 +27,7 @@ var MESSAGE_KINDS = ["sync", "async", "return", "self"];
|
|
|
27
27
|
var FRAME_KINDS = ["alt", "opt", "loop", "par", "critical", "break"];
|
|
28
28
|
var EDGE_STYLES = ["solid", "dashed", "thick"];
|
|
29
29
|
var ARROWS = ["end", "none", "both"];
|
|
30
|
+
var STORY_MOTIONS = ["full", "reduced", "system"];
|
|
30
31
|
var isSequence = (spec) => spec.type === "sequence";
|
|
31
32
|
|
|
32
33
|
// src/theme/tokens.ts
|
|
@@ -479,7 +480,7 @@ function compileStory(scene, spec) {
|
|
|
479
480
|
const warn = (path, message, hint) => diagnostics.push({ severity: "warning", path, message, hint });
|
|
480
481
|
if (spec.story === undefined)
|
|
481
482
|
return { diagnostics };
|
|
482
|
-
const story2 = spec.story === "auto" ? autoStory(scene, spec) : spec.story;
|
|
483
|
+
const story2 = spec.story === "auto" ? autoStory(scene, spec) : spec.story.steps === "auto" ? { ...spec.story, steps: autoStory(scene, spec).steps } : spec.story;
|
|
483
484
|
const seq = scene.type === "sequence";
|
|
484
485
|
const nodeIds = new Set(scene.nodes.map((n) => n.id));
|
|
485
486
|
const groupIds = new Set(scene.groups.map((g) => g.id));
|
|
@@ -723,6 +724,8 @@ function compileStory(scene, spec) {
|
|
|
723
724
|
duration: r3(duration),
|
|
724
725
|
lastEvent: r3(lastEvent),
|
|
725
726
|
autoplay: story2.autoplay === true,
|
|
727
|
+
motion: story2.motion ?? "full",
|
|
728
|
+
...story2.camera ? { camera: story2.camera } : {},
|
|
726
729
|
loop: story2.end === "loop",
|
|
727
730
|
steps: steps.map((s) => ({ ...s, t0: r3(s.t0), t1: r3(s.t1) })),
|
|
728
731
|
appear,
|
|
@@ -1462,7 +1465,7 @@ function layoutLevel(members, edges, dir) {
|
|
|
1462
1465
|
}
|
|
1463
1466
|
function counterSlot(spec, c) {
|
|
1464
1467
|
const values = [c.value ?? 0];
|
|
1465
|
-
if (spec.story && spec.story !== "auto") {
|
|
1468
|
+
if (spec.story && spec.story !== "auto" && spec.story.steps !== "auto") {
|
|
1466
1469
|
for (const st of spec.story.steps)
|
|
1467
1470
|
for (const x of Array.isArray(st.counter) ? st.counter : st.counter ? [st.counter] : [])
|
|
1468
1471
|
if (x.id === c.id && typeof x.to === "number")
|
|
@@ -2421,12 +2424,19 @@ function validateStoryShape(c, raw) {
|
|
|
2421
2424
|
c.error("story", `"story" must be an object or "auto"`, `{ "steps": [ { "reveal": ["api"] } ] } or "auto"`);
|
|
2422
2425
|
return;
|
|
2423
2426
|
}
|
|
2424
|
-
unknownKeys(c, raw, new Set(["autoplay", "end", "steps"]), "story");
|
|
2427
|
+
unknownKeys(c, raw, new Set(["autoplay", "camera", "end", "motion", "steps"]), "story");
|
|
2428
|
+
const motion2 = oneOf(c, raw.motion, ["full", "reduced", "system"], "story.motion", "story motion");
|
|
2429
|
+
const camera = oneOf(c, raw.camera, ["follow", "fit"], "story.camera", "story camera");
|
|
2430
|
+
const opts = { ...raw.autoplay === true ? { autoplay: true } : {}, ...motion2 ? { motion: motion2 } : {}, ...camera ? { camera } : {} };
|
|
2425
2431
|
if (raw.autoplay !== undefined && typeof raw.autoplay !== "boolean")
|
|
2426
2432
|
c.error("story.autoplay", `"autoplay" must be true or false`);
|
|
2427
2433
|
const end = oneOf(c, raw.end, ["hold", "loop"], "story.end", "story end");
|
|
2434
|
+
if (raw.steps === "auto") {
|
|
2435
|
+
const e0 = oneOf(c, raw.end, ["hold", "loop"], "story.end", "story end");
|
|
2436
|
+
return { ...opts, ...e0 ? { end: e0 } : {}, steps: "auto" };
|
|
2437
|
+
}
|
|
2428
2438
|
if (!Array.isArray(raw.steps)) {
|
|
2429
|
-
c.error("story.steps", `"steps" must be an array`);
|
|
2439
|
+
c.error("story.steps", `"steps" must be an array or "auto"`);
|
|
2430
2440
|
return;
|
|
2431
2441
|
}
|
|
2432
2442
|
const steps = [];
|
|
@@ -2465,7 +2475,7 @@ function validateStoryShape(c, raw) {
|
|
|
2465
2475
|
}
|
|
2466
2476
|
steps.push(s0);
|
|
2467
2477
|
});
|
|
2468
|
-
return { ...
|
|
2478
|
+
return { ...opts, ...end ? { end } : {}, steps };
|
|
2469
2479
|
}
|
|
2470
2480
|
function validateGraph(c, o, type2, base) {
|
|
2471
2481
|
unknownKeys(c, o, new Set([...COMMON_KEYS, "nodes", "edges", "groups"]), "");
|
|
@@ -3567,7 +3577,7 @@ function layout(spec) {
|
|
|
3567
3577
|
}
|
|
3568
3578
|
|
|
3569
3579
|
// src/generated/meta.ts
|
|
3570
|
-
var VERSION = "0.3.
|
|
3580
|
+
var VERSION = "0.3.2";
|
|
3571
3581
|
|
|
3572
3582
|
// src/core/story/state.ts
|
|
3573
3583
|
var r22 = (n) => Math.round(n * 100) / 100;
|
|
@@ -3619,7 +3629,13 @@ function counterValue(c, t, reduced = false) {
|
|
|
3619
3629
|
function storyState(scene, tl, t, opts = {}) {
|
|
3620
3630
|
if (!tl)
|
|
3621
3631
|
return restFrame(t);
|
|
3622
|
-
const reduced = opts.reduced === true;
|
|
3632
|
+
const reduced = opts.reduced === true || opts.stepped === true;
|
|
3633
|
+
let tc = t;
|
|
3634
|
+
if (opts.stepped) {
|
|
3635
|
+
const k = steppedIndex(tl, t);
|
|
3636
|
+
if (k >= 0 && k < tl.steps.length)
|
|
3637
|
+
tc = Math.max(t, Math.min(tl.steps[k].t1, tl.duration));
|
|
3638
|
+
}
|
|
3623
3639
|
const step = (dt) => dt >= 0 ? 1 : 0;
|
|
3624
3640
|
const rise = (dt) => reduced ? step(dt) : react(dt);
|
|
3625
3641
|
const frame = { t, el: {}, grow: {}, draw: {}, pulses: [], glows: [], flash: {}, counters: {}, captions: [], settled: t >= tl.lastEvent };
|
|
@@ -3636,7 +3652,7 @@ function storyState(scene, tl, t, opts = {}) {
|
|
|
3636
3652
|
for (const [id, d] of Object.entries(tl.draw)) {
|
|
3637
3653
|
let v2;
|
|
3638
3654
|
if (reduced)
|
|
3639
|
-
v2 = step(
|
|
3655
|
+
v2 = step(tc - d.t1);
|
|
3640
3656
|
else if (d.mode === "flight" && d.pulse) {
|
|
3641
3657
|
const p = pulseById.get(d.pulse);
|
|
3642
3658
|
const u = inOutCubic((t - p.tf0) / (p.tf1 - p.tf0));
|
|
@@ -3826,6 +3842,184 @@ function beatCaption(tl, frame, beat) {
|
|
|
3826
3842
|
return owner && owner.step >= beat.steps[0] && owner.step <= beat.steps[1] ? c.text : undefined;
|
|
3827
3843
|
}
|
|
3828
3844
|
var beatTileMin = (w) => w > 1000 ? 660 : w > 640 ? 440 : 340;
|
|
3845
|
+
var STEP_BEAT = 1.5;
|
|
3846
|
+
function steppedSchedule(tl) {
|
|
3847
|
+
const out = [];
|
|
3848
|
+
tl.steps.forEach((s, i) => {
|
|
3849
|
+
const next = tl.steps[i + 1];
|
|
3850
|
+
if (next && next.t0 <= s.t0 + 0.000000001)
|
|
3851
|
+
return;
|
|
3852
|
+
out.push({ step: i, t: stopTime(tl, i), hold: s.caption ? readTime(s.caption) : STEP_BEAT });
|
|
3853
|
+
});
|
|
3854
|
+
out.push({ step: tl.steps.length, t: tl.duration, hold: 0 });
|
|
3855
|
+
return out;
|
|
3856
|
+
}
|
|
3857
|
+
function stopTime(tl, i) {
|
|
3858
|
+
const s = tl.steps[i];
|
|
3859
|
+
const next = tl.steps[i + 1];
|
|
3860
|
+
const end = Math.min(s.t1, tl.duration);
|
|
3861
|
+
const t = next && next.t0 <= end ? next.t0 - 0.0001 : end;
|
|
3862
|
+
return Math.max(s.t0, Math.round(t * 1e4) / 1e4);
|
|
3863
|
+
}
|
|
3864
|
+
function steppedIndex(tl, t) {
|
|
3865
|
+
if (t >= tl.duration - 0.000000001)
|
|
3866
|
+
return tl.steps.length;
|
|
3867
|
+
let k = -1;
|
|
3868
|
+
for (let i = 0;i < tl.steps.length; i++)
|
|
3869
|
+
if (tl.steps[i].t0 <= t + 0.000000001)
|
|
3870
|
+
k = i;
|
|
3871
|
+
return k;
|
|
3872
|
+
}
|
|
3873
|
+
function steppedStop(tl, t) {
|
|
3874
|
+
const k = steppedIndex(tl, t);
|
|
3875
|
+
if (k < 0)
|
|
3876
|
+
return -1;
|
|
3877
|
+
return steppedSchedule(tl).findIndex((x) => x.step >= k);
|
|
3878
|
+
}
|
|
3879
|
+
function steppedTime(tl, t) {
|
|
3880
|
+
const j = steppedStop(tl, t);
|
|
3881
|
+
if (j < 0)
|
|
3882
|
+
return 0;
|
|
3883
|
+
return steppedSchedule(tl)[j].t;
|
|
3884
|
+
}
|
|
3885
|
+
|
|
3886
|
+
// src/core/story/camera.ts
|
|
3887
|
+
var CAMERA = {
|
|
3888
|
+
label: 11,
|
|
3889
|
+
minLabel: 10,
|
|
3890
|
+
readableLabel: 12.5,
|
|
3891
|
+
maxK: 2,
|
|
3892
|
+
fitPad: 32,
|
|
3893
|
+
focusPad: 24,
|
|
3894
|
+
deadZone: 0.8,
|
|
3895
|
+
edge: 24,
|
|
3896
|
+
spring: { type: "spring", bounce: 0, visualDuration: 0.75 }
|
|
3897
|
+
};
|
|
3898
|
+
function fitCamera(vb, vp) {
|
|
3899
|
+
const pad = CAMERA.fitPad;
|
|
3900
|
+
const k = Math.floor(Math.max(0.1, Math.min((vp.w - 2 * pad) / vb.w, (vp.h - 2 * pad) / vb.h, 1.25)) * 64) / 64;
|
|
3901
|
+
return { k, x: Math.round((vp.w - vb.w * k) / 2), y: Math.round(Math.max(pad / 2, (vp.h - vb.h * k) / 2)) };
|
|
3902
|
+
}
|
|
3903
|
+
function readableScale(vb, vp) {
|
|
3904
|
+
const fk = fitCamera(vb, vp).k;
|
|
3905
|
+
if (fk * CAMERA.label >= CAMERA.minLabel)
|
|
3906
|
+
return fk;
|
|
3907
|
+
return Math.max(fk, snapK(Math.min(CAMERA.maxK, CAMERA.readableLabel / CAMERA.label)));
|
|
3908
|
+
}
|
|
3909
|
+
var snapK = (k) => Math.max(1 / 64, Math.floor(k * 64 + 0.000000001) / 64);
|
|
3910
|
+
var fitIsReadable = (vb, vp) => fitCamera(vb, vp).k * CAMERA.label >= CAMERA.minLabel;
|
|
3911
|
+
var union = (bs) => {
|
|
3912
|
+
if (!bs.length)
|
|
3913
|
+
return;
|
|
3914
|
+
const x0 = Math.min(...bs.map((b) => b.x));
|
|
3915
|
+
const y0 = Math.min(...bs.map((b) => b.y));
|
|
3916
|
+
const x1 = Math.max(...bs.map((b) => b.x + b.w));
|
|
3917
|
+
const y1 = Math.max(...bs.map((b) => b.y + b.h));
|
|
3918
|
+
return { x: x0, y: y0, w: x1 - x0, h: y1 - y0 };
|
|
3919
|
+
};
|
|
3920
|
+
var ptsBox = (pts) => pts.length ? union(pts.map((p) => ({ x: p.x, y: p.y, w: 0, h: 0 }))) : undefined;
|
|
3921
|
+
function stepAt(tl, t) {
|
|
3922
|
+
let k = 0;
|
|
3923
|
+
for (let i = 0;i < tl.steps.length; i++)
|
|
3924
|
+
if (tl.steps[i].t0 <= t + 0.000001)
|
|
3925
|
+
k = i;
|
|
3926
|
+
return k;
|
|
3927
|
+
}
|
|
3928
|
+
function stepFocus(scene, tl, i, pad = CAMERA.focusPad) {
|
|
3929
|
+
const st = tl.steps[i];
|
|
3930
|
+
if (!st)
|
|
3931
|
+
return;
|
|
3932
|
+
const next = tl.steps[i + 1];
|
|
3933
|
+
const lo = st.t0 - 0.000001;
|
|
3934
|
+
const hi = Math.max(st.t1, next ? next.t0 : st.t1) - 0.000001;
|
|
3935
|
+
const inStep = (t) => t >= lo && t < hi;
|
|
3936
|
+
const boxOf = (id) => {
|
|
3937
|
+
const n = scene.nodes.find((x) => x.id === id) ?? scene.groups.find((x) => x.id === id) ?? scene.frames.find((x) => x.id === id) ?? scene.activations.find((x) => x.id === id);
|
|
3938
|
+
if (n)
|
|
3939
|
+
return { x: n.x, y: n.y, w: n.w, h: n.h };
|
|
3940
|
+
const e = scene.edges.find((x) => x.id === id);
|
|
3941
|
+
if (e)
|
|
3942
|
+
return union([ptsBox(e.points), ...e.label ? [e.label] : []]);
|
|
3943
|
+
const p = scene.lifelines.find((x) => x.participant === id);
|
|
3944
|
+
return p ? { x: p.x, y: p.y1, w: 0, h: p.y2 - p.y1 } : undefined;
|
|
3945
|
+
};
|
|
3946
|
+
const boxes = [];
|
|
3947
|
+
const add = (b) => b && boxes.push(b);
|
|
3948
|
+
for (const [id, t] of Object.entries(tl.appear))
|
|
3949
|
+
if (inStep(t))
|
|
3950
|
+
add(boxOf(id));
|
|
3951
|
+
for (const p of tl.pulses)
|
|
3952
|
+
if (p.id.startsWith(`pulse-${i}-`))
|
|
3953
|
+
add(ptsBox(p.points));
|
|
3954
|
+
for (const [id, d] of Object.entries(tl.draw))
|
|
3955
|
+
if (d.mode === "fade" && inStep(d.t0))
|
|
3956
|
+
add(boxOf(id));
|
|
3957
|
+
for (const g of tl.glows)
|
|
3958
|
+
if (inStep(g.t))
|
|
3959
|
+
add(boxOf(g.node));
|
|
3960
|
+
for (const c of Object.values(tl.counters))
|
|
3961
|
+
if (c.events.some((e) => inStep(e.t)))
|
|
3962
|
+
add(boxOf(c.node));
|
|
3963
|
+
const u = union(boxes);
|
|
3964
|
+
if (!u)
|
|
3965
|
+
return;
|
|
3966
|
+
return { x: u.x - pad, y: u.y - pad, w: u.w + 2 * pad, h: u.h + 2 * pad };
|
|
3967
|
+
}
|
|
3968
|
+
function toScreen(cam, vb, b) {
|
|
3969
|
+
return { x: cam.x + (b.x - vb.x) * cam.k, y: cam.y + (b.y - vb.y) * cam.k, w: b.w * cam.k, h: b.h * cam.k };
|
|
3970
|
+
}
|
|
3971
|
+
function deadZoneRect(vp, dz = CAMERA.deadZone) {
|
|
3972
|
+
const h = vp.h - (vp.bottom ?? 0);
|
|
3973
|
+
return { x: vp.w * (1 - dz) / 2, y: h * (1 - dz) / 2, w: vp.w * dz, h: h * dz };
|
|
3974
|
+
}
|
|
3975
|
+
function inView(cam, vb, vp, focus, dz = CAMERA.deadZone) {
|
|
3976
|
+
const s = toScreen(cam, vb, focus);
|
|
3977
|
+
const r = deadZoneRect(vp, dz);
|
|
3978
|
+
const e = 0.5;
|
|
3979
|
+
return s.x >= r.x - e && s.y >= r.y - e && s.x + s.w <= r.x + r.w + e && s.y + s.h <= r.y + r.h + e;
|
|
3980
|
+
}
|
|
3981
|
+
function clampCamera(cam, vb, vp) {
|
|
3982
|
+
const m = CAMERA.edge;
|
|
3983
|
+
const uh = vp.h - (vp.bottom ?? 0);
|
|
3984
|
+
const axis = (v2, size, span) => {
|
|
3985
|
+
const d = size * cam.k;
|
|
3986
|
+
if (d + 2 * m <= span)
|
|
3987
|
+
return (span - d) / 2;
|
|
3988
|
+
return Math.min(m, Math.max(span - d - m, v2));
|
|
3989
|
+
};
|
|
3990
|
+
return { k: cam.k, x: Math.round(axis(cam.x, vb.w, vp.w)), y: Math.round(axis(cam.y, vb.h, uh)) };
|
|
3991
|
+
}
|
|
3992
|
+
function centreOn(vb, vp, focus, k) {
|
|
3993
|
+
const uh = vp.h - (vp.bottom ?? 0);
|
|
3994
|
+
const cx = focus.x - vb.x + focus.w / 2;
|
|
3995
|
+
const cy = focus.y - vb.y + focus.h / 2;
|
|
3996
|
+
return clampCamera({ k, x: vp.w / 2 - cx * k, y: uh / 2 - cy * k }, vb, vp);
|
|
3997
|
+
}
|
|
3998
|
+
function followStep(cam, vb, vp, focus, base = cam.k, dz = CAMERA.deadZone) {
|
|
3999
|
+
if (!focus)
|
|
4000
|
+
return cam;
|
|
4001
|
+
const r = deadZoneRect(vp, dz);
|
|
4002
|
+
const k = Math.max(0.1, Math.min(base, snapK(Math.min(r.w / Math.max(1, focus.w), r.h / Math.max(1, focus.h)))));
|
|
4003
|
+
if (cam.k >= k - 0.000001 && inView(cam, vb, vp, focus, dz))
|
|
4004
|
+
return cam;
|
|
4005
|
+
const uh = vp.h - (vp.bottom ?? 0);
|
|
4006
|
+
if (Math.abs(cam.k - k) < 0.000001 && vb.w * k <= vp.w && vb.h * k <= uh && inView(cam, vb, vp, focus, 1))
|
|
4007
|
+
return cam;
|
|
4008
|
+
const next = centreOn(vb, vp, focus, k);
|
|
4009
|
+
return next.k === cam.k && next.x === cam.x && next.y === cam.y ? cam : next;
|
|
4010
|
+
}
|
|
4011
|
+
var cameraAtEnd = (tl, t) => t >= tl.lastEvent - 0.000001;
|
|
4012
|
+
function cameraAt(scene, tl, t, vp, k) {
|
|
4013
|
+
const vb = scene.viewBox;
|
|
4014
|
+
if (cameraAtEnd(tl, t) || !tl.steps.length)
|
|
4015
|
+
return fitCamera(vb, vp);
|
|
4016
|
+
const i = stepAt(tl, t);
|
|
4017
|
+
const base = k ?? readableScale(vb, vp);
|
|
4018
|
+
let cam = fitCamera(vb, vp);
|
|
4019
|
+
for (let j = 0;j <= i; j++)
|
|
4020
|
+
cam = followStep(cam, vb, vp, stepFocus(scene, tl, j), base);
|
|
4021
|
+
return cam;
|
|
4022
|
+
}
|
|
3829
4023
|
|
|
3830
4024
|
// src/core/render/App.tsx
|
|
3831
4025
|
import { animate as animate2, domAnimation, LazyMotion, m, useMotionValue as useMotionValue2 } from "motion/react";
|
|
@@ -4586,7 +4780,7 @@ function Diagram({ scene, style, copy = "", className, frame, smil }) {
|
|
|
4586
4780
|
}
|
|
4587
4781
|
|
|
4588
4782
|
// src/core/render/Story.tsx
|
|
4589
|
-
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
4783
|
+
import { jsx as jsx2, jsxs as jsxs2, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
4590
4784
|
var TAPE = [0.65, 0, 0.25, 1];
|
|
4591
4785
|
function useStory(scene, tl, opts) {
|
|
4592
4786
|
const duration = tl?.duration ?? 0;
|
|
@@ -4613,15 +4807,52 @@ function useStory(scene, tl, opts) {
|
|
|
4613
4807
|
const seek = useCallback((x) => {
|
|
4614
4808
|
stop();
|
|
4615
4809
|
setBlur(0);
|
|
4616
|
-
|
|
4810
|
+
const v2 = Math.max(0, Math.min(duration, x));
|
|
4811
|
+
clock.set(opts.reduced && tl ? steppedTime(tl, v2) : v2);
|
|
4617
4812
|
setMode(x >= duration ? "ended" : "paused");
|
|
4618
4813
|
setSettled(false);
|
|
4619
|
-
}, [clock, duration]);
|
|
4814
|
+
}, [clock, duration, opts.reduced, tl]);
|
|
4620
4815
|
const play = useCallback(() => {
|
|
4621
4816
|
if (!tl)
|
|
4622
4817
|
return;
|
|
4623
4818
|
if (opts.reduced) {
|
|
4624
|
-
|
|
4819
|
+
stop();
|
|
4820
|
+
setBlur(0);
|
|
4821
|
+
setSettled(false);
|
|
4822
|
+
const sched = steppedSchedule(tl);
|
|
4823
|
+
const now = clock.get();
|
|
4824
|
+
let k = now >= duration - 0.001 ? 0 : Math.max(0, steppedStop(tl, now));
|
|
4825
|
+
let timer;
|
|
4826
|
+
let stopped2 = false;
|
|
4827
|
+
started.current = true;
|
|
4828
|
+
const show = () => {
|
|
4829
|
+
if (stopped2)
|
|
4830
|
+
return;
|
|
4831
|
+
const s0 = sched[k];
|
|
4832
|
+
clock.set(s0.t);
|
|
4833
|
+
if (k >= sched.length - 1) {
|
|
4834
|
+
ctl.current = undefined;
|
|
4835
|
+
if (tl.loop) {
|
|
4836
|
+
k = 0;
|
|
4837
|
+
timer = setTimeout(show, story.beats.read * 1000);
|
|
4838
|
+
return;
|
|
4839
|
+
}
|
|
4840
|
+
setMode("ended");
|
|
4841
|
+
return;
|
|
4842
|
+
}
|
|
4843
|
+
timer = setTimeout(() => {
|
|
4844
|
+
k++;
|
|
4845
|
+
show();
|
|
4846
|
+
}, s0.hold * 1000);
|
|
4847
|
+
};
|
|
4848
|
+
setMode("playing");
|
|
4849
|
+
ctl.current = {
|
|
4850
|
+
stop: () => {
|
|
4851
|
+
stopped2 = true;
|
|
4852
|
+
clearTimeout(timer);
|
|
4853
|
+
}
|
|
4854
|
+
};
|
|
4855
|
+
show();
|
|
4625
4856
|
return;
|
|
4626
4857
|
}
|
|
4627
4858
|
stop();
|
|
@@ -4666,7 +4897,11 @@ function useStory(scene, tl, opts) {
|
|
|
4666
4897
|
stop();
|
|
4667
4898
|
setSettled(false);
|
|
4668
4899
|
const t0 = clock.get();
|
|
4669
|
-
if (opts.reduced
|
|
4900
|
+
if (opts.reduced) {
|
|
4901
|
+
clock.set(0);
|
|
4902
|
+
return play();
|
|
4903
|
+
}
|
|
4904
|
+
if (t0 <= 0.01)
|
|
4670
4905
|
return play();
|
|
4671
4906
|
const { hold, duration: rd, empty } = story.rewind;
|
|
4672
4907
|
const total = hold + rd + empty;
|
|
@@ -4699,8 +4934,15 @@ function useStory(scene, tl, opts) {
|
|
|
4699
4934
|
else
|
|
4700
4935
|
play();
|
|
4701
4936
|
}, [pause, play, replay]);
|
|
4702
|
-
const marks = useMemo(() => tl ? [...tl.steps.map((s) => s.t0), duration] : [], [tl, duration]);
|
|
4703
|
-
const chapters = useMemo(() =>
|
|
4937
|
+
const marks = useMemo(() => tl ? opts.reduced ? steppedSchedule(tl).map((x) => x.t) : [...tl.steps.map((s) => s.t0), duration] : [], [tl, duration, opts.reduced]);
|
|
4938
|
+
const chapters = useMemo(() => {
|
|
4939
|
+
if (!tl)
|
|
4940
|
+
return [];
|
|
4941
|
+
if (!opts.reduced)
|
|
4942
|
+
return [0, ...tl.steps.filter((s) => s.stop).map((s) => s.t0), duration];
|
|
4943
|
+
const sched = steppedSchedule(tl);
|
|
4944
|
+
return [sched[0].t, ...tl.steps.flatMap((s, i) => s.stop ? [sched[i].t] : []), duration];
|
|
4945
|
+
}, [tl, duration, opts.reduced]);
|
|
4704
4946
|
const step = useCallback((dir, useChapters = false) => {
|
|
4705
4947
|
const list = useChapters && chapters.length > 2 ? chapters : marks;
|
|
4706
4948
|
const now = clock.get();
|
|
@@ -4721,7 +4963,8 @@ function useStory(scene, tl, opts) {
|
|
|
4721
4963
|
return;
|
|
4722
4964
|
}
|
|
4723
4965
|
if (opts.reduced) {
|
|
4724
|
-
|
|
4966
|
+
clock.set(duration);
|
|
4967
|
+
setMode("gate");
|
|
4725
4968
|
return;
|
|
4726
4969
|
}
|
|
4727
4970
|
if (opts.autoplay ?? tl.autoplay) {
|
|
@@ -4742,7 +4985,22 @@ function useStory(scene, tl, opts) {
|
|
|
4742
4985
|
clock.set(0);
|
|
4743
4986
|
setMode("gate");
|
|
4744
4987
|
return;
|
|
4745
|
-
}, [tl, opts.still, opts.t, opts.
|
|
4988
|
+
}, [tl, opts.still, opts.t, opts.autoplay]);
|
|
4989
|
+
const firstReduced = useRef(true);
|
|
4990
|
+
useEffect(() => {
|
|
4991
|
+
if (firstReduced.current) {
|
|
4992
|
+
firstReduced.current = false;
|
|
4993
|
+
return;
|
|
4994
|
+
}
|
|
4995
|
+
if (!tl || opts.still)
|
|
4996
|
+
return;
|
|
4997
|
+
if (modeRef.current === "playing" || modeRef.current === "rewinding") {
|
|
4998
|
+
if (opts.reduced)
|
|
4999
|
+
clock.set(steppedTime(tl, clock.get()));
|
|
5000
|
+
playRef.current();
|
|
5001
|
+
} else if (opts.reduced && modeRef.current === "paused")
|
|
5002
|
+
clock.set(steppedTime(tl, clock.get()));
|
|
5003
|
+
}, [opts.reduced]);
|
|
4746
5004
|
useEffect(() => {
|
|
4747
5005
|
if (!tl || opts.still)
|
|
4748
5006
|
return;
|
|
@@ -4781,11 +5039,11 @@ function useStory(scene, tl, opts) {
|
|
|
4781
5039
|
const id = setTimeout(() => setSettled(true), story.beats.read * 1000);
|
|
4782
5040
|
return () => clearTimeout(id);
|
|
4783
5041
|
}, [mode]);
|
|
4784
|
-
const frame = useMemo(() => storyState(scene, tl, t, { reduced: opts.reduced }), [scene, tl, t, opts.reduced]);
|
|
4785
|
-
const frameAt = useCallback((x) => storyState(scene, tl, x, { reduced: opts.reduced }), [scene, tl, opts.reduced]);
|
|
5042
|
+
const frame = useMemo(() => storyState(scene, tl, t, { reduced: opts.reduced, stepped: opts.reduced }), [scene, tl, t, opts.reduced]);
|
|
5043
|
+
const frameAt = useCallback((x) => storyState(scene, tl, x, { reduced: opts.reduced, stepped: opts.reduced }), [scene, tl, opts.reduced]);
|
|
4786
5044
|
if (!tl)
|
|
4787
5045
|
return;
|
|
4788
|
-
const dim = mode === "gate" ? story.gateDim : mode === "ended" && settled ? story.endedDim : 1;
|
|
5046
|
+
const dim = mode === "gate" ? opts.reduced ? 1 : story.gateDim : mode === "ended" && settled ? story.endedDim : 1;
|
|
4789
5047
|
return { t, frame, mode, dim, blur, reduced: opts.reduced, play, pause, toggle, seek, replay, step, ungate, frameAt };
|
|
4790
5048
|
}
|
|
4791
5049
|
var fmt = (s) => `${Math.floor(s / 60)}:${String(Math.floor(s % 60)).padStart(2, "0")}.${Math.floor(s % 1 * 10)}`;
|
|
@@ -4853,10 +5111,10 @@ function ReplayIcon() {
|
|
|
4853
5111
|
]
|
|
4854
5112
|
});
|
|
4855
5113
|
}
|
|
4856
|
-
function Gate({ onPlay }) {
|
|
5114
|
+
function Gate({ onPlay, still = false }) {
|
|
4857
5115
|
return /* @__PURE__ */ jsxs2("button", {
|
|
4858
5116
|
type: "button",
|
|
4859
|
-
className: "si-gate"
|
|
5117
|
+
className: `si-gate${still ? " si-gate-still" : ""}`,
|
|
4860
5118
|
"aria-label": "Play animation",
|
|
4861
5119
|
onClick: (e) => {
|
|
4862
5120
|
e.stopPropagation();
|
|
@@ -4866,11 +5124,15 @@ function Gate({ onPlay }) {
|
|
|
4866
5124
|
/* @__PURE__ */ jsx2("span", {
|
|
4867
5125
|
className: "si-gate-disc"
|
|
4868
5126
|
}),
|
|
4869
|
-
/* @__PURE__ */
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
5127
|
+
still ? null : /* @__PURE__ */ jsxs2(Fragment2, {
|
|
5128
|
+
children: [
|
|
5129
|
+
/* @__PURE__ */ jsx2("span", {
|
|
5130
|
+
className: "si-gate-ring"
|
|
5131
|
+
}),
|
|
5132
|
+
/* @__PURE__ */ jsx2("span", {
|
|
5133
|
+
className: "si-gate-ring si-gate-ring-2"
|
|
5134
|
+
})
|
|
5135
|
+
]
|
|
4874
5136
|
}),
|
|
4875
5137
|
/* @__PURE__ */ jsx2("span", {
|
|
4876
5138
|
className: "si-gate-play",
|
|
@@ -5041,7 +5303,7 @@ function BeatSheet({ scene, tl, cols, range }) {
|
|
|
5041
5303
|
}
|
|
5042
5304
|
|
|
5043
5305
|
// src/core/render/App.tsx
|
|
5044
|
-
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
5306
|
+
import { jsx as jsx3, jsxs as jsxs3, Fragment as Fragment3 } from "react/jsx-runtime";
|
|
5045
5307
|
var TYPE_LABEL = {
|
|
5046
5308
|
architecture: "Architecture",
|
|
5047
5309
|
workflow: "Workflow",
|
|
@@ -5063,19 +5325,40 @@ function parseHash(hash) {
|
|
|
5063
5325
|
...autoplay === "1" || autoplay === "0" ? { autoplay: autoplay === "1" } : {},
|
|
5064
5326
|
...motion2 === "full" || motion2 === "reduced" ? { motion: motion2 } : {},
|
|
5065
5327
|
...p.get("static") === "1" ? { still: true } : {},
|
|
5328
|
+
...p.get("camera") === "follow" || p.get("camera") === "fit" ? { camera: p.get("camera") } : {},
|
|
5066
5329
|
...Number(p.get("cols")) >= 1 ? { cols: Math.min(12, Math.floor(Number(p.get("cols")))) } : {},
|
|
5067
5330
|
.../^\d+-\d+$/.test(p.get("range") ?? "") ? { range: p.get("range").split("-").map(Number) } : {}
|
|
5068
5331
|
};
|
|
5069
5332
|
}
|
|
5070
|
-
function
|
|
5333
|
+
function resolveMotion(o) {
|
|
5334
|
+
if (o.hash)
|
|
5335
|
+
return o.hash;
|
|
5336
|
+
if (o.stored === "full" || o.stored === "reduced")
|
|
5337
|
+
return o.stored;
|
|
5338
|
+
const author = o.author ?? "full";
|
|
5339
|
+
if (author !== "system")
|
|
5340
|
+
return author;
|
|
5341
|
+
return o.system ? "reduced" : "full";
|
|
5342
|
+
}
|
|
5343
|
+
var MOTION_KEY = "storyink-motion";
|
|
5344
|
+
var FOLLOW_KEY = "storyink-follow";
|
|
5345
|
+
function resolveFollow(o) {
|
|
5346
|
+
if (o.hash)
|
|
5347
|
+
return o.hash === "follow";
|
|
5348
|
+
if (o.stored === "on" || o.stored === "off")
|
|
5349
|
+
return o.stored === "on";
|
|
5350
|
+
return (o.author ?? "follow") === "follow";
|
|
5351
|
+
}
|
|
5352
|
+
var NO_PAN = "button, input, select, textarea, a, [role=slider], .si-tools, .si-transport, .si-gate, [data-no-pan]";
|
|
5353
|
+
function Btn({ label, title, onClick, children, pressed, still }) {
|
|
5071
5354
|
return /* @__PURE__ */ jsx3(m.button, {
|
|
5072
5355
|
type: "button",
|
|
5073
5356
|
className: "si-btn",
|
|
5074
5357
|
"aria-label": label,
|
|
5075
5358
|
title,
|
|
5076
5359
|
onClick,
|
|
5077
|
-
|
|
5078
|
-
whileTap: motion.press,
|
|
5360
|
+
...pressed !== undefined ? { "aria-pressed": pressed } : {},
|
|
5361
|
+
...still ? {} : { whileHover: motion.hover, whileTap: motion.press },
|
|
5079
5362
|
transition: motion.spring,
|
|
5080
5363
|
children: children ?? label
|
|
5081
5364
|
});
|
|
@@ -5150,6 +5433,7 @@ function applyTheme(next, animated) {
|
|
|
5150
5433
|
}
|
|
5151
5434
|
function App({ scene, hooks }) {
|
|
5152
5435
|
const stage = useRef2(null);
|
|
5436
|
+
const onPanStart = useRef2(() => {});
|
|
5153
5437
|
const x = useMotionValue2(0);
|
|
5154
5438
|
const y = useMotionValue2(0);
|
|
5155
5439
|
const k = useMotionValue2(1);
|
|
@@ -5157,11 +5441,12 @@ function App({ scene, hooks }) {
|
|
|
5157
5441
|
const [theme, setTheme] = useState2(undefined);
|
|
5158
5442
|
const [hydrated, setHydrated] = useState2(false);
|
|
5159
5443
|
const [sysReduced, setSysReduced] = useState2(false);
|
|
5444
|
+
const [storedMotion, setStoredMotion] = useState2(null);
|
|
5160
5445
|
const [override, setOverride] = useState2(undefined);
|
|
5161
5446
|
const [exportCurrent, setExportCurrent] = useState2(false);
|
|
5162
5447
|
const vb = scene.viewBox;
|
|
5163
5448
|
const tl = scene.timeline;
|
|
5164
|
-
const reduced = hash.motion
|
|
5449
|
+
const reduced = resolveMotion({ hash: hash.motion, stored: storedMotion, author: tl?.motion, system: sysReduced }) === "reduced";
|
|
5165
5450
|
const story2 = useStory(scene, tl, {
|
|
5166
5451
|
...hash.t !== undefined ? { t: hash.t } : {},
|
|
5167
5452
|
...hash.autoplay !== undefined ? { autoplay: hash.autoplay } : {},
|
|
@@ -5169,44 +5454,70 @@ function App({ scene, hooks }) {
|
|
|
5169
5454
|
still: !hydrated || !!hash.still || !!hash.beats || !!hash.sheet?.length,
|
|
5170
5455
|
stage
|
|
5171
5456
|
});
|
|
5457
|
+
const [storedFollow, setStoredFollow] = useState2(null);
|
|
5458
|
+
const follow = resolveFollow({ hash: hash.camera, stored: storedFollow, author: tl?.camera });
|
|
5459
|
+
const goal = useRef2({ k: 1, x: 0, y: 0 });
|
|
5460
|
+
const userK = useRef2(undefined);
|
|
5461
|
+
const suspended = useRef2(null);
|
|
5462
|
+
const engaged = useRef2(false);
|
|
5463
|
+
const armed = useRef2(false);
|
|
5464
|
+
const viewport = useCallback2(() => {
|
|
5465
|
+
const el = stage.current;
|
|
5466
|
+
if (!el)
|
|
5467
|
+
return;
|
|
5468
|
+
return { w: el.clientWidth, h: el.clientHeight, bottom: hash.chrome ? 56 : 0 };
|
|
5469
|
+
}, [hash.chrome]);
|
|
5470
|
+
const moveTo = useCallback2((c, anim) => {
|
|
5471
|
+
goal.current = c;
|
|
5472
|
+
if (anim) {
|
|
5473
|
+
animate2(k, c.k, CAMERA.spring);
|
|
5474
|
+
animate2(x, c.x, CAMERA.spring);
|
|
5475
|
+
animate2(y, c.y, CAMERA.spring);
|
|
5476
|
+
} else {
|
|
5477
|
+
k.stop();
|
|
5478
|
+
x.stop();
|
|
5479
|
+
y.stop();
|
|
5480
|
+
k.set(c.k);
|
|
5481
|
+
x.set(c.x);
|
|
5482
|
+
y.set(c.y);
|
|
5483
|
+
}
|
|
5484
|
+
}, [k, x, y]);
|
|
5172
5485
|
const fit = useCallback2((anim) => {
|
|
5173
5486
|
const el = stage.current;
|
|
5174
5487
|
if (!el)
|
|
5175
5488
|
return;
|
|
5176
|
-
const
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
const s = Math.floor(Math.max(0.1, Math.min((sw - 2 * pad) / vb.w, (sh - 2 * pad) / vb.h, 1.25)) * 64) / 64;
|
|
5180
|
-
const tx = Math.round((sw - vb.w * s) / 2);
|
|
5181
|
-
const ty = Math.round(Math.max(pad / 2, (sh - vb.h * s) / 2));
|
|
5489
|
+
const c = fitCamera(vb, { w: el.clientWidth, h: el.clientHeight });
|
|
5490
|
+
engaged.current = false;
|
|
5491
|
+
goal.current = c;
|
|
5182
5492
|
if (anim) {
|
|
5183
|
-
animate2(k,
|
|
5184
|
-
animate2(x,
|
|
5185
|
-
animate2(y,
|
|
5493
|
+
animate2(k, c.k, motion.spring);
|
|
5494
|
+
animate2(x, c.x, motion.spring);
|
|
5495
|
+
animate2(y, c.y, motion.spring);
|
|
5186
5496
|
} else {
|
|
5187
|
-
k.set(
|
|
5188
|
-
x.set(
|
|
5189
|
-
y.set(
|
|
5497
|
+
k.set(c.k);
|
|
5498
|
+
x.set(c.x);
|
|
5499
|
+
y.set(c.y);
|
|
5190
5500
|
}
|
|
5191
|
-
}, [vb
|
|
5501
|
+
}, [vb, k, x, y]);
|
|
5192
5502
|
const zoomAt = useCallback2((factor, cx, cy, anim = false) => {
|
|
5193
5503
|
const el = stage.current;
|
|
5194
5504
|
if (!el)
|
|
5195
5505
|
return;
|
|
5196
5506
|
const px = cx ?? el.clientWidth / 2;
|
|
5197
5507
|
const py = cy ?? el.clientHeight / 2;
|
|
5198
|
-
const
|
|
5199
|
-
const k1 = Math.max(0.1, Math.min(8,
|
|
5200
|
-
const
|
|
5201
|
-
|
|
5508
|
+
const g = anim ? goal.current : { k: k.get(), x: x.get(), y: y.get() };
|
|
5509
|
+
const k1 = Math.max(0.1, Math.min(8, g.k * factor));
|
|
5510
|
+
const c = { k: k1, x: px - (px - g.x) * k1 / g.k, y: py - (py - g.y) * k1 / g.k };
|
|
5511
|
+
userK.current = k1;
|
|
5512
|
+
goal.current = c;
|
|
5202
5513
|
if (anim) {
|
|
5203
|
-
animate2(k,
|
|
5204
|
-
animate2(x,
|
|
5205
|
-
animate2(y,
|
|
5514
|
+
animate2(k, c.k, motion.spring);
|
|
5515
|
+
animate2(x, c.x, motion.spring);
|
|
5516
|
+
animate2(y, c.y, motion.spring);
|
|
5206
5517
|
} else {
|
|
5207
|
-
k.set(
|
|
5208
|
-
x.set(
|
|
5209
|
-
y.set(
|
|
5518
|
+
k.set(c.k);
|
|
5519
|
+
x.set(c.x);
|
|
5520
|
+
y.set(c.y);
|
|
5210
5521
|
}
|
|
5211
5522
|
}, [k, x, y]);
|
|
5212
5523
|
useEffect2(() => {
|
|
@@ -5214,6 +5525,10 @@ function App({ scene, hooks }) {
|
|
|
5214
5525
|
setHash(h);
|
|
5215
5526
|
if (typeof matchMedia === "function")
|
|
5216
5527
|
setSysReduced(matchMedia("(prefers-reduced-motion: reduce)").matches);
|
|
5528
|
+
try {
|
|
5529
|
+
setStoredMotion(localStorage.getItem(MOTION_KEY));
|
|
5530
|
+
setStoredFollow(localStorage.getItem(FOLLOW_KEY));
|
|
5531
|
+
} catch {}
|
|
5217
5532
|
setHydrated(true);
|
|
5218
5533
|
let stored;
|
|
5219
5534
|
try {
|
|
@@ -5233,7 +5548,7 @@ function App({ scene, hooks }) {
|
|
|
5233
5548
|
if (!hydrated)
|
|
5234
5549
|
return;
|
|
5235
5550
|
if (!hash.sheet?.length && !hash.beats)
|
|
5236
|
-
|
|
5551
|
+
place();
|
|
5237
5552
|
hooks?.onReady(!!hash.sheet?.length || !!hash.beats);
|
|
5238
5553
|
}, [hash, fit, hooks, hydrated]);
|
|
5239
5554
|
const storyRef = useRef2(story2);
|
|
@@ -5249,14 +5564,72 @@ function App({ scene, hooks }) {
|
|
|
5249
5564
|
w.__storyink.pause = () => storyRef.current?.pause();
|
|
5250
5565
|
w.__storyink.replay = () => storyRef.current?.replay();
|
|
5251
5566
|
w.__storyink.state = () => ({ t: storyRef.current?.t ?? 0, mode: storyRef.current?.mode ?? "static" });
|
|
5567
|
+
w.__storyink.camera = () => cameraRef.current();
|
|
5252
5568
|
}, [tl]);
|
|
5569
|
+
const place = () => {
|
|
5570
|
+
const vp = viewport();
|
|
5571
|
+
if (!vp)
|
|
5572
|
+
return;
|
|
5573
|
+
if (tl && hash.camera === "follow" && hash.t !== undefined && !armed.current) {
|
|
5574
|
+
const t0 = hash.t === "end" ? tl.duration : Number(hash.t) || 0;
|
|
5575
|
+
const t = reduced ? steppedTime(tl, t0) : t0;
|
|
5576
|
+
moveTo(cameraAt(scene, tl, t, vp), false);
|
|
5577
|
+
engaged.current = !cameraAtEnd(tl, t);
|
|
5578
|
+
return;
|
|
5579
|
+
}
|
|
5580
|
+
const st = storyRef.current;
|
|
5581
|
+
if (tl && st && follow && engaged.current) {
|
|
5582
|
+
moveTo(followStep(goal.current, vb, vp, stepFocus(scene, tl, stepAt(tl, st.t)), userK.current ?? readableScale(vb, vp)), false);
|
|
5583
|
+
return;
|
|
5584
|
+
}
|
|
5585
|
+
fit(false);
|
|
5586
|
+
};
|
|
5587
|
+
const placeRef = useRef2(place);
|
|
5588
|
+
placeRef.current = place;
|
|
5589
|
+
const stepIdx = tl && story2 ? stepAt(tl, story2.t) : 0;
|
|
5590
|
+
const atEnd = tl && story2 ? cameraAtEnd(tl, story2.t) : false;
|
|
5591
|
+
const mode = story2?.mode;
|
|
5592
|
+
if (mode === "playing")
|
|
5593
|
+
armed.current = true;
|
|
5594
|
+
useEffect2(() => {
|
|
5595
|
+
if (!tl || !story2 || !follow || !armed.current || hash.beats || hash.sheet?.length)
|
|
5596
|
+
return;
|
|
5597
|
+
if (mode === "gate" || mode === "rewinding")
|
|
5598
|
+
return;
|
|
5599
|
+
const vp = viewport();
|
|
5600
|
+
if (!vp)
|
|
5601
|
+
return;
|
|
5602
|
+
const anim = !reduced;
|
|
5603
|
+
if (atEnd) {
|
|
5604
|
+
if (engaged.current) {
|
|
5605
|
+
moveTo(fitCamera(vb, vp), anim);
|
|
5606
|
+
engaged.current = false;
|
|
5607
|
+
}
|
|
5608
|
+
return;
|
|
5609
|
+
}
|
|
5610
|
+
if (suspended.current === stepIdx)
|
|
5611
|
+
return;
|
|
5612
|
+
suspended.current = null;
|
|
5613
|
+
const next = followStep(goal.current, vb, vp, stepFocus(scene, tl, stepIdx), userK.current ?? readableScale(vb, vp));
|
|
5614
|
+
if (next !== goal.current) {
|
|
5615
|
+
moveTo(next, anim);
|
|
5616
|
+
engaged.current = true;
|
|
5617
|
+
}
|
|
5618
|
+
}, [stepIdx, atEnd, mode, follow, reduced]);
|
|
5619
|
+
onPanStart.current = () => {
|
|
5620
|
+
k.stop();
|
|
5621
|
+
x.stop();
|
|
5622
|
+
y.stop();
|
|
5623
|
+
if (story2 && tl)
|
|
5624
|
+
suspended.current = stepAt(tl, story2.t);
|
|
5625
|
+
};
|
|
5253
5626
|
const liveFrame = override ?? story2?.frame;
|
|
5254
5627
|
useEffect2(() => {
|
|
5255
5628
|
if (story2 && hooks?.onFrame)
|
|
5256
|
-
hooks.onFrame(story2.frame, story2.mode === "playing");
|
|
5257
|
-
}, [story2?.frame, story2?.mode, hooks]);
|
|
5629
|
+
hooks.onFrame(story2.frame, story2.mode === "playing" && !reduced);
|
|
5630
|
+
}, [story2?.frame, story2?.mode, hooks, reduced]);
|
|
5258
5631
|
useEffect2(() => {
|
|
5259
|
-
const onResize = () =>
|
|
5632
|
+
const onResize = () => placeRef.current();
|
|
5260
5633
|
addEventListener("resize", onResize);
|
|
5261
5634
|
let ro;
|
|
5262
5635
|
if (typeof ResizeObserver !== "undefined" && stage.current) {
|
|
@@ -5276,27 +5649,43 @@ function App({ scene, hooks }) {
|
|
|
5276
5649
|
const onWheel = (ev) => {
|
|
5277
5650
|
ev.preventDefault();
|
|
5278
5651
|
const r = el.getBoundingClientRect();
|
|
5652
|
+
k.stop();
|
|
5653
|
+
x.stop();
|
|
5654
|
+
y.stop();
|
|
5279
5655
|
zoomAt(Math.exp(-ev.deltaY * (ev.ctrlKey ? 0.01 : 0.0015)), ev.clientX - r.left, ev.clientY - r.top);
|
|
5280
5656
|
};
|
|
5281
5657
|
let drag;
|
|
5282
5658
|
const down = (ev) => {
|
|
5283
5659
|
if (ev.button !== 0)
|
|
5284
5660
|
return;
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5661
|
+
if (ev.target?.closest?.(NO_PAN))
|
|
5662
|
+
return;
|
|
5663
|
+
drag = { id: ev.pointerId, sx: ev.clientX, sy: ev.clientY, ox: x.get(), oy: y.get(), moved: false };
|
|
5288
5664
|
};
|
|
5289
5665
|
const move = (ev) => {
|
|
5290
5666
|
if (!drag || drag.id !== ev.pointerId)
|
|
5291
5667
|
return;
|
|
5668
|
+
if (!drag.moved) {
|
|
5669
|
+
if (Math.hypot(ev.clientX - drag.sx, ev.clientY - drag.sy) < 3)
|
|
5670
|
+
return;
|
|
5671
|
+
drag.moved = true;
|
|
5672
|
+
try {
|
|
5673
|
+
el.setPointerCapture(ev.pointerId);
|
|
5674
|
+
} catch {}
|
|
5675
|
+
el.classList.add("si-dragging");
|
|
5676
|
+
onPanStart.current();
|
|
5677
|
+
}
|
|
5292
5678
|
x.set(drag.ox + ev.clientX - drag.sx);
|
|
5293
5679
|
y.set(drag.oy + ev.clientY - drag.sy);
|
|
5680
|
+
goal.current = { k: k.get(), x: x.get(), y: y.get() };
|
|
5294
5681
|
};
|
|
5295
5682
|
const up = (ev) => {
|
|
5296
5683
|
if (!drag || drag.id !== ev.pointerId)
|
|
5297
5684
|
return;
|
|
5685
|
+
const moved = drag.moved;
|
|
5298
5686
|
drag = undefined;
|
|
5299
|
-
|
|
5687
|
+
if (moved)
|
|
5688
|
+
el.classList.remove("si-dragging");
|
|
5300
5689
|
};
|
|
5301
5690
|
const key2 = (ev) => {
|
|
5302
5691
|
if (ev.target instanceof HTMLInputElement || ev.metaKey || ev.ctrlKey || ev.altKey)
|
|
@@ -5308,14 +5697,20 @@ function App({ scene, hooks }) {
|
|
|
5308
5697
|
st.ungate();
|
|
5309
5698
|
else
|
|
5310
5699
|
st.toggle();
|
|
5311
|
-
} else if (st && ev.key === "ArrowRight")
|
|
5700
|
+
} else if (st && ev.key === "ArrowRight") {
|
|
5701
|
+
armed.current = true;
|
|
5312
5702
|
st.step(1, ev.shiftKey);
|
|
5313
|
-
else if (st && ev.key === "ArrowLeft")
|
|
5703
|
+
} else if (st && ev.key === "ArrowLeft") {
|
|
5704
|
+
armed.current = true;
|
|
5314
5705
|
st.step(-1, ev.shiftKey);
|
|
5706
|
+
} else if (st && (ev.key === "f" || ev.key === "F"))
|
|
5707
|
+
toggleFollowRef.current();
|
|
5315
5708
|
else if (st && (ev.key === "r" || ev.key === "R"))
|
|
5316
5709
|
st.replay();
|
|
5710
|
+
else if (st && (ev.key === "m" || ev.key === "M"))
|
|
5711
|
+
toggleMotionRef.current();
|
|
5317
5712
|
else if (ev.key === "0")
|
|
5318
|
-
|
|
5713
|
+
fitClickRef.current();
|
|
5319
5714
|
else if (ev.key === "+" || ev.key === "=")
|
|
5320
5715
|
zoomAt(1.25, undefined, undefined, true);
|
|
5321
5716
|
else if (ev.key === "-" || ev.key === "_")
|
|
@@ -5335,7 +5730,58 @@ function App({ scene, hooks }) {
|
|
|
5335
5730
|
el.removeEventListener("pointercancel", up);
|
|
5336
5731
|
removeEventListener("keydown", key2);
|
|
5337
5732
|
};
|
|
5338
|
-
}, [fit, zoomAt, x, y]);
|
|
5733
|
+
}, [fit, zoomAt, x, y, k]);
|
|
5734
|
+
const toggleMotion = () => {
|
|
5735
|
+
const next = reduced ? "full" : "reduced";
|
|
5736
|
+
setStoredMotion(next);
|
|
5737
|
+
try {
|
|
5738
|
+
localStorage.setItem(MOTION_KEY, next);
|
|
5739
|
+
} catch {}
|
|
5740
|
+
if (hash.motion) {
|
|
5741
|
+
const p = new URLSearchParams(location.hash.replace(/^#/, ""));
|
|
5742
|
+
p.set("motion", next);
|
|
5743
|
+
history.replaceState(null, "", `#${p.toString()}`);
|
|
5744
|
+
setHash((h) => ({ ...h, motion: next }));
|
|
5745
|
+
}
|
|
5746
|
+
};
|
|
5747
|
+
const toggleMotionRef = useRef2(toggleMotion);
|
|
5748
|
+
toggleMotionRef.current = toggleMotion;
|
|
5749
|
+
const toggleFollow = () => {
|
|
5750
|
+
const next = follow ? "off" : "on";
|
|
5751
|
+
setStoredFollow(next);
|
|
5752
|
+
try {
|
|
5753
|
+
localStorage.setItem(FOLLOW_KEY, next);
|
|
5754
|
+
} catch {}
|
|
5755
|
+
if (hash.camera) {
|
|
5756
|
+
const p = new URLSearchParams(location.hash.replace(/^#/, ""));
|
|
5757
|
+
p.set("camera", next === "on" ? "follow" : "fit");
|
|
5758
|
+
history.replaceState(null, "", `#${p.toString()}`);
|
|
5759
|
+
setHash((h) => ({ ...h, camera: next === "on" ? "follow" : "fit" }));
|
|
5760
|
+
}
|
|
5761
|
+
};
|
|
5762
|
+
const toggleFollowRef = useRef2(toggleFollow);
|
|
5763
|
+
toggleFollowRef.current = toggleFollow;
|
|
5764
|
+
const fitClick = () => {
|
|
5765
|
+
fit(true);
|
|
5766
|
+
userK.current = goal.current.k;
|
|
5767
|
+
};
|
|
5768
|
+
const fitClickRef = useRef2(fitClick);
|
|
5769
|
+
fitClickRef.current = fitClick;
|
|
5770
|
+
const cameraRef = useRef2(() => ({}));
|
|
5771
|
+
cameraRef.current = () => ({
|
|
5772
|
+
mode: follow ? "follow" : "fit",
|
|
5773
|
+
follow,
|
|
5774
|
+
k: k.get(),
|
|
5775
|
+
x: x.get(),
|
|
5776
|
+
y: y.get(),
|
|
5777
|
+
goal: goal.current,
|
|
5778
|
+
step: stepIdx,
|
|
5779
|
+
engaged: engaged.current,
|
|
5780
|
+
suspended: suspended.current,
|
|
5781
|
+
userK: userK.current ?? null,
|
|
5782
|
+
viewport: viewport() ?? null
|
|
5783
|
+
});
|
|
5784
|
+
const transport = story2 ? { ...story2, seek: (t) => (armed.current = true, story2.seek(t)) } : undefined;
|
|
5339
5785
|
const toggleTheme = () => {
|
|
5340
5786
|
const next = (theme ?? systemTheme()) === "dark" ? "light" : "dark";
|
|
5341
5787
|
setTheme(next);
|
|
@@ -5360,7 +5806,7 @@ function App({ scene, hooks }) {
|
|
|
5360
5806
|
features: domAnimation,
|
|
5361
5807
|
strict: true,
|
|
5362
5808
|
children: /* @__PURE__ */ jsxs3("div", {
|
|
5363
|
-
className: `si-app${hash.chrome ? "" : " si-nochrome"}${hash.beats && tl ? " si-sheet-mode" : ""}`,
|
|
5809
|
+
className: `si-app${hash.chrome ? "" : " si-nochrome"}${reduced ? " si-reduced" : ""}${hash.beats && tl ? " si-sheet-mode" : ""}`,
|
|
5364
5810
|
children: [
|
|
5365
5811
|
/* @__PURE__ */ jsxs3("header", {
|
|
5366
5812
|
className: "si-head",
|
|
@@ -5427,10 +5873,11 @@ function App({ scene, hooks }) {
|
|
|
5427
5873
|
})
|
|
5428
5874
|
}),
|
|
5429
5875
|
story2?.mode === "gate" ? /* @__PURE__ */ jsx3(Gate, {
|
|
5430
|
-
onPlay: story2.ungate
|
|
5876
|
+
onPlay: story2.ungate,
|
|
5877
|
+
still: reduced
|
|
5431
5878
|
}) : null,
|
|
5432
|
-
|
|
5433
|
-
c:
|
|
5879
|
+
transport && tl ? /* @__PURE__ */ jsx3(Transport, {
|
|
5880
|
+
c: transport,
|
|
5434
5881
|
tl
|
|
5435
5882
|
}) : null,
|
|
5436
5883
|
/* @__PURE__ */ jsxs3("div", {
|
|
@@ -5450,7 +5897,7 @@ function App({ scene, hooks }) {
|
|
|
5450
5897
|
/* @__PURE__ */ jsx3(Btn, {
|
|
5451
5898
|
label: "Fit",
|
|
5452
5899
|
title: "Fit to view (0)",
|
|
5453
|
-
onClick:
|
|
5900
|
+
onClick: fitClick
|
|
5454
5901
|
}),
|
|
5455
5902
|
/* @__PURE__ */ jsx3("span", {
|
|
5456
5903
|
className: "si-sep"
|
|
@@ -5464,6 +5911,26 @@ function App({ scene, hooks }) {
|
|
|
5464
5911
|
/* @__PURE__ */ jsx3("span", {
|
|
5465
5912
|
className: "si-sep"
|
|
5466
5913
|
}),
|
|
5914
|
+
tl ? /* @__PURE__ */ jsxs3(Fragment3, {
|
|
5915
|
+
children: [
|
|
5916
|
+
/* @__PURE__ */ jsx3(Btn, {
|
|
5917
|
+
label: reduced ? "Motion: reduced" : "Motion: full",
|
|
5918
|
+
title: reduced ? "Reduced motion: plays step by step. Click for full motion (M)" : "Full motion. Click to play step by step (M)",
|
|
5919
|
+
pressed: reduced,
|
|
5920
|
+
still: reduced,
|
|
5921
|
+
onClick: toggleMotion
|
|
5922
|
+
}),
|
|
5923
|
+
/* @__PURE__ */ jsx3(Btn, {
|
|
5924
|
+
label: "Follow",
|
|
5925
|
+
title: follow ? "Camera follows the story. Click to keep the view still (F)" : "Camera stays still. Click to follow the story (F)",
|
|
5926
|
+
pressed: follow,
|
|
5927
|
+
onClick: toggleFollow
|
|
5928
|
+
}),
|
|
5929
|
+
/* @__PURE__ */ jsx3("span", {
|
|
5930
|
+
className: "si-sep"
|
|
5931
|
+
})
|
|
5932
|
+
]
|
|
5933
|
+
}) : null,
|
|
5467
5934
|
tl ? /* @__PURE__ */ jsx3(Btn, {
|
|
5468
5935
|
label: exportCurrent ? "Frame: now" : "Frame: end",
|
|
5469
5936
|
title: "Export the final frame or the frame on screen",
|
|
@@ -5496,7 +5963,7 @@ var COMMIT_MONO_400 = "d09GMk9UVE8AALsEAAsAAAAEMUAAALqyAAEAAAAAAAAAAAAAAAAAAAAAA
|
|
|
5496
5963
|
var COMMIT_MONO_700 = "d09GMk9UVE8AALkMAAsAAAAENtwAALi6AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAADYv0bByD5Q4GYADJXAE2AiQDvDA/bHRhZxIEBgWKIAcgWxc2tJqH37/cPdf2NGNKbTN8iB8JSuYLyDZA4GnOzCofv3mJotfdBT039oC2uhahEnbsA7dD1DCnU7L//////////////////7+P5Uf0zs282/XN7uxsLpcLAQLl1wAirViLFQu2Qqv1B0gr1QqlmlfWwhYhXnoTF/cmfeHV6TJKlVojGulWllZlWpkLVbW5LEyMbsI1tVWrQrIUQ+s9Q1UIrCvbKMpC7R8cSpPaxWzjpW1VUaVYoclUrSAzQ8ZkLY6IjmEhNCZfQX81x3R0siettdPW1OIMkpCEJOTw84gxQl3k9xqueu+9n83S891dRkQod3d35Q5JSEIy2dUiIkJ5fgGXy957X6lwd99Xfg1JSEIy2fc3EXGj3N197tIaJCEJSTwO/oG99+7K3a9d+S0kIQlJyARv4Ou3/Ue5057fTzD4bpq3uub3M9zfTBE3uuX3HgbftTbqms/90Iv5l6n3Ix35fYDTNmIbuuX3K9yxtfH4XHm6Lebwh99Qsd77Uu3c3V3XgCQkk32E/bH3fqxbN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.3.
|
|
5966
|
+
var VIEWER_JS = `/*! storyink viewer 0.3.2 | MIT
|
|
5500
5967
|
* Bundles:
|
|
5501
5968
|
* react 19.3.0, react-dom 19.3.0, scheduler 0.28.0
|
|
5502
5969
|
* MIT License. Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
@@ -5512,19 +5979,19 @@ var VIEWER_JS = `/*! storyink viewer 0.3.0 | MIT
|
|
|
5512
5979
|
* permission notice shall be included in all copies or substantial portions of the Software.
|
|
5513
5980
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.
|
|
5514
5981
|
*/
|
|
5515
|
-
(()=>{var wT=Object.create;var{getPrototypeOf:OT,defineProperty:Qh,getOwnPropertyNames:NT}=Object;var VT=Object.prototype.hasOwnProperty;function DT(t){return this[t]}var zT,RT,J=(t,e,n)=>{var i=t!=null&&typeof t==="object";if(i){var a=e?zT??=new WeakMap:RT??=new WeakMap,o=a.get(t);if(o)return o}n=t!=null?wT(OT(t)):{};let r=e||!t||!t.__esModule?Qh(n,"default",{value:t,enumerable:!0}):n;if(t&&typeof t==="object"||typeof t==="function"){for(let l of NT(t))if(!VT.call(r,l))Qh(r,l,{get:DT.bind(t,l),enumerable:!0})}if(i)a.set(t,r);return r};var an=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Wh=an(function(bt){function af(t,e){var n=t.length;t.push(e);t:for(;0<n;){var i=n-1>>>1,a=t[i];if(0<cs(a,e))t[i]=e,t[n]=a,n=i;else break t}}function on(t){return t.length===0?null:t[0]}function ps(t){if(t.length===0)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var i=0,a=t.length,o=a>>>1;i<o;){var r=2*(i+1)-1,l=t[r],u=r+1,c=t[u];if(0>cs(l,n))u<a&&0>cs(c,l)?(t[i]=c,t[u]=n,i=u):(t[i]=l,t[r]=n,i=r);else if(u<a&&0>cs(c,n))t[i]=c,t[u]=n,i=u;else break t}}return e}function cs(t,e){var n=t.sortIndex-e.sortIndex;return n!==0?n:t.id-e.id}bt.unstable_now=void 0;if(typeof performance==="object"&&typeof performance.now==="function")of=performance,bt.unstable_now=function(){return of.now()};else fs=Date,rf=fs.now(),bt.unstable_now=function(){return fs.now()-rf};var of,fs,rf,wn=[],Pn=[],_T=1,Be=null,te=3,lf=!1,dr=!1,pr=!1,uf=!1,Fh=typeof setTimeout==="function"?setTimeout:null,kh=typeof clearTimeout==="function"?clearTimeout:null,$h=typeof setImmediate<"u"?setImmediate:null;function ms(t){for(var e=on(Pn);e!==null;){if(e.callback===null)ps(Pn);else if(e.startTime<=t)ps(Pn),e.sortIndex=e.expirationTime,af(wn,e);else break;e=on(Pn)}}function cf(t){if(pr=!1,ms(t),!dr)if(on(wn)!==null)dr=!0,Ha||(Ha=!0,Ua());else{var e=on(Pn);e!==null&&ff(cf,e.startTime-t)}}var Ha=!1,hr=-1,Jh=5,Ph=-1;function Ih(){return uf?!0:bt.unstable_now()-Ph<Jh?!1:!0}function nf(){if(uf=!1,Ha){var t=bt.unstable_now();Ph=t;var e=!0;try{t:{dr=!1,pr&&(pr=!1,kh(hr),hr=-1),lf=!0;var n=te;try{e:{ms(t);for(Be=on(wn);Be!==null&&!(Be.expirationTime>t&&Ih());){var i=Be.callback;if(typeof i==="function"){Be.callback=null,te=Be.priorityLevel;var a=i(Be.expirationTime<=t);if(t=bt.unstable_now(),typeof a==="function"){Be.callback=a,ms(t),e=!0;break e}Be===on(wn)&&ps(wn),ms(t)}else ps(wn);Be=on(wn)}if(Be!==null)e=!0;else{var o=on(Pn);o!==null&&ff(cf,o.startTime-t),e=!1}}break t}finally{Be=null,te=n,lf=!1}e=void 0}}finally{e?Ua():Ha=!1}}}var Ua;if(typeof $h==="function")Ua=function(){$h(nf)};else if(typeof MessageChannel<"u")ds=new MessageChannel,sf=ds.port2,ds.port1.onmessage=nf,Ua=function(){sf.postMessage(null)};else Ua=function(){Fh(nf,0)};var ds,sf;function ff(t,e){hr=Fh(function(){t(bt.unstable_now())},e)}bt.unstable_IdlePriority=5;bt.unstable_ImmediatePriority=1;bt.unstable_LowPriority=4;bt.unstable_NormalPriority=3;bt.unstable_Profiling=null;bt.unstable_UserBlockingPriority=2;bt.unstable_cancelCallback=function(t){t.callback=null};bt.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Jh=0<t?Math.floor(1000/t):5};bt.unstable_getCurrentPriorityLevel=function(){return te};bt.unstable_next=function(t){switch(te){case 1:case 2:case 3:var e=3;break;default:e=te}var n=te;te=e;try{return t()}finally{te=n}};bt.unstable_requestPaint=function(){uf=!0};bt.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=te;te=t;try{return e()}finally{te=n}};bt.unstable_scheduleCallback=function(t,e,n){var i=bt.unstable_now();switch(typeof n==="object"&&n!==null?(n=n.delay,n=typeof n==="number"&&0<n?i+n:i):n=i,t){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5000}return a=n+a,t={id:_T++,callback:e,priorityLevel:t,startTime:n,expirationTime:a,sortIndex:-1},n>i?(t.sortIndex=n,af(Pn,t),on(wn)===null&&t===on(Pn)&&(pr?(kh(hr),hr=-1):pr=!0,ff(cf,n-i))):(t.sortIndex=a,af(wn,t),dr||lf||(dr=!0,Ha||(Ha=!0,Ua()))),t};bt.unstable_shouldYield=Ih;bt.unstable_wrapCallback=function(t){var e=te;return function(){var n=te;te=e;try{return t.apply(this,arguments)}finally{te=n}}}});var eg=an(function(lw,tg){tg.exports=Wh()});var pg=an(function(G){var pf=Symbol.for("react.transitional.element"),BT=Symbol.for("react.portal"),UT=Symbol.for("react.fragment"),HT=Symbol.for("react.strict_mode"),LT=Symbol.for("react.profiler"),GT=Symbol.for("react.consumer"),jT=Symbol.for("react.context"),qT=Symbol.for("react.forward_ref"),YT=Symbol.for("react.suspense"),XT=Symbol.for("react.memo"),rg=Symbol.for("react.lazy"),KT=Symbol.for("react.activity"),ZT=Symbol.for("react.view_transition"),ng=Symbol.iterator;function QT(t){if(t===null||typeof t!=="object")return null;return t=ng&&t[ng]||t["@@iterator"],typeof t==="function"?t:null}var lg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sg=Object.assign,ug={};function Ga(t,e,n){this.props=t,this.context=e,this.refs=ug,this.updater=n||lg}Ga.prototype.isReactComponent={};Ga.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};Ga.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function cg(){}cg.prototype=Ga.prototype;function hf(t,e,n){this.props=t,this.context=e,this.refs=ug,this.updater=n||lg}var gf=hf.prototype=new cg;gf.constructor=hf;sg(gf,Ga.prototype);gf.isPureReactComponent=!0;var ig=Array.isArray;function df(){}var dt={H:null,A:null,T:null,S:null},fg=Object.prototype.hasOwnProperty;function yf(t,e,n){var i=n.ref;return{$$typeof:pf,type:t,key:e,ref:i!==void 0?i:null,props:n}}function $T(t,e){return yf(t.type,e,t.props)}function vf(t){return typeof t==="object"&&t!==null&&t.$$typeof===pf}function FT(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var ag=/\\/+/g;function mf(t,e){return typeof t==="object"&&t!==null&&t.key!=null?FT(""+t.key):e.toString(36)}function kT(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(df,df):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function La(t,e,n,i,a){var o=typeof t;if(o==="undefined"||o==="boolean")t=null;var r=!1;if(t===null)r=!0;else switch(o){case"bigint":case"string":case"number":r=!0;break;case"object":switch(t.$$typeof){case pf:case BT:r=!0;break;case rg:return r=t._init,La(r(t._payload),e,n,i,a)}}if(r)return a=a(t),r=i===""?"."+mf(t,0):i,ig(a)?(n="",r!=null&&(n=r.replace(ag,"$&/")+"/"),La(a,e,n,"",function(c){return c})):a!=null&&(vf(a)&&(a=$T(a,n+(a.key==null||t&&t.key===a.key?"":(""+a.key).replace(ag,"$&/")+"/")+r)),e.push(a)),1;r=0;var l=i===""?".":i+":";if(ig(t))for(var u=0;u<t.length;u++)i=t[u],o=l+mf(i,u),r+=La(i,e,n,o,a);else if(u=QT(t),typeof u==="function")for(t=u.call(t),u=0;!(i=t.next()).done;)i=i.value,o=l+mf(i,u++),r+=La(i,e,n,o,a);else if(o==="object"){if(typeof t.then==="function")return La(kT(t),e,n,i,a);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return r}function hs(t,e,n){if(t==null)return t;var i=[],a=0;return La(t,i,"","",function(o){return e.call(n,o,a++)}),i}function JT(t){if(t._status===-1){var e=t._result,n=e();n.then(function(i){if(t._status===0||t._status===-1)t._status=1,t._result=i,n.status===void 0&&(n.status="fulfilled",n.value=i)},function(i){if(t._status===0||t._status===-1)t._status=2,t._result=i,n.status===void 0&&(n.status="rejected",n.reason=i)}),t._status===-1&&(t._status=0,t._result=n)}if(t._status===1)return t._result.default;throw t._result}var og=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)};function mg(t){var e=dt.T,n={};n.types=e!==null?e.types:null,dt.T=n;try{var i=t(),a=dt.S;a!==null&&a(n,i),typeof i==="object"&&i!==null&&typeof i.then==="function"&&i.then(df,og)}catch(o){og(o)}finally{e!==null&&n.types!==null&&(e.types=n.types),dt.T=e}}function dg(t){var e=dt.T;if(e!==null){var n=e.types;n===null?e.types=[t]:n.indexOf(t)===-1&&n.push(t)}else mg(dg.bind(null,t))}var PT={map:hs,forEach:function(t,e,n){hs(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return hs(t,function(){e++}),e},toArray:function(t){return hs(t,function(e){return e})||[]},only:function(t){if(!vf(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};G.Activity=KT;G.Children=PT;G.Component=Ga;G.Fragment=UT;G.Profiler=LT;G.PureComponent=hf;G.StrictMode=HT;G.Suspense=YT;G.ViewTransition=ZT;G.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=dt;G.__COMPILER_RUNTIME={__proto__:null,c:function(t){return dt.H.useMemoCache(t)}};G.addTransitionType=dg;G.cache=function(t){return function(){return t.apply(null,arguments)}};G.cacheSignal=function(){return null};G.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var i=sg({},t.props),a=t.key;if(e!=null)for(o in e.key!==void 0&&(a=""+e.key),e)!fg.call(e,o)||o==="key"||o==="__self"||o==="__source"||o==="ref"&&e.ref===void 0||(i[o]=e[o]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var r=Array(o),l=0;l<o;l++)r[l]=arguments[l+2];i.children=r}return yf(t.type,a,i)};G.createContext=function(t){return t={$$typeof:jT,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:GT,_context:t},t};G.createElement=function(t,e,n){var i,a={},o=null;if(e!=null)for(i in e.key!==void 0&&(o=""+e.key),e)fg.call(e,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(a[i]=e[i]);var r=arguments.length-2;if(r===1)a.children=n;else if(1<r){for(var l=Array(r),u=0;u<r;u++)l[u]=arguments[u+2];a.children=l}if(t&&t.defaultProps)for(i in r=t.defaultProps,r)a[i]===void 0&&(a[i]=r[i]);return yf(t,o,a)};G.createRef=function(){return{current:null}};G.forwardRef=function(t){return{$$typeof:qT,render:t}};G.isValidElement=vf;G.lazy=function(t){return{$$typeof:rg,_payload:{_status:-1,_result:t},_init:JT}};G.memo=function(t,e){return{$$typeof:XT,type:t,compare:e===void 0?null:e}};G.startTransition=mg;G.unstable_useCacheRefresh=function(){return dt.H.useCacheRefresh()};G.use=function(t){return dt.H.use(t)};G.useActionState=function(t,e,n){return dt.H.useActionState(t,e,n)};G.useCallback=function(t,e){return dt.H.useCallback(t,e)};G.useContext=function(t){return dt.H.useContext(t)};G.useDebugValue=function(){};G.useDeferredValue=function(t,e){return dt.H.useDeferredValue(t,e)};G.useEffect=function(t,e){return dt.H.useEffect(t,e)};G.useEffectEvent=function(t){return dt.H.useEffectEvent(t)};G.useId=function(){return dt.H.useId()};G.useImperativeHandle=function(t,e,n){return dt.H.useImperativeHandle(t,e,n)};G.useInsertionEffect=function(t,e){return dt.H.useInsertionEffect(t,e)};G.useLayoutEffect=function(t,e){return dt.H.useLayoutEffect(t,e)};G.useMemo=function(t,e){return dt.H.useMemo(t,e)};G.useOptimistic=function(t,e){return dt.H.useOptimistic(t,e)};G.useReducer=function(t,e,n){return dt.H.useReducer(t,e,n)};G.useRef=function(t){return dt.H.useRef(t)};G.useState=function(t){return dt.H.useState(t)};G.useSyncExternalStore=function(t,e,n){return dt.H.useSyncExternalStore(t,e,n)};G.useTransition=function(){return dt.H.useTransition()};G.version="19.3.0"});var vt=an(function(uw,hg){hg.exports=pg()});var vg=an(function(ee){var IT=vt();function yg(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function In(){}var oe={d:{f:In,r:function(){throw Error(yg(522))},D:In,C:In,L:In,m:In,X:In,S:In,M:In},p:0,findDOMNode:null},WT=Symbol.for("react.portal"),tE=Symbol.for("react.recoverable"),gg=Symbol.for("react.optimistic_key");function eE(t,e,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:WT,key:i==null?null:i===gg?gg:""+i,children:t,containerInfo:e,implementation:n}}var gr=IT.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function gs(t,e){if(t==="font")return"";if(typeof e==="string")return e==="use-credentials"?e:""}ee.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=oe;ee.browser=function(t){return{$$typeof:tE,_reason:t}};ee.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(yg(299));return eE(t,e,null,n)};ee.flushSync=function(t){var e=gr.T,n=oe.p;try{if(gr.T=null,oe.p=2,t)return t()}finally{gr.T=e,oe.p=n,oe.d.f()}};ee.preconnect=function(t,e){typeof t==="string"&&(e?(e=e.crossOrigin,e=typeof e==="string"?e==="use-credentials"?e:"":void 0):e=null,oe.d.C(t,e))};ee.prefetchDNS=function(t){typeof t==="string"&&oe.d.D(t)};ee.preinit=function(t,e){if(typeof t==="string"&&e&&typeof e.as==="string"){var n=e.as,i=gs(n,e.crossOrigin),a=typeof e.integrity==="string"?e.integrity:void 0,o=typeof e.fetchPriority==="string"?e.fetchPriority:void 0;n==="style"?oe.d.S(t,typeof e.precedence==="string"?e.precedence:void 0,{crossOrigin:i,integrity:a,fetchPriority:o}):n==="script"&&oe.d.X(t,{crossOrigin:i,integrity:a,fetchPriority:o,nonce:typeof e.nonce==="string"?e.nonce:void 0})}};ee.preinitModule=function(t,e){if(typeof t==="string")if(typeof e==="object"&&e!==null){if(e.as==null||e.as==="script"){var n=gs(e.as,e.crossOrigin);oe.d.M(t,{crossOrigin:n,integrity:typeof e.integrity==="string"?e.integrity:void 0,nonce:typeof e.nonce==="string"?e.nonce:void 0,fetchPriority:typeof e.fetchPriority==="string"?e.fetchPriority:void 0})}}else e==null&&oe.d.M(t)};ee.preload=function(t,e){if(typeof t==="string"&&typeof e==="object"&&e!==null&&typeof e.as==="string"){var n=e.as,i=gs(n,e.crossOrigin);oe.d.L(t,n,{crossOrigin:i,integrity:typeof e.integrity==="string"?e.integrity:void 0,nonce:typeof e.nonce==="string"?e.nonce:void 0,type:typeof e.type==="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority==="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy==="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet==="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes==="string"?e.imageSizes:void 0,media:typeof e.media==="string"?e.media:void 0})}};ee.preloadModule=function(t,e){if(typeof t==="string")if(e){var n=gs(e.as,e.crossOrigin);oe.d.m(t,{as:typeof e.as==="string"&&e.as!=="script"?e.as:void 0,crossOrigin:n,integrity:typeof e.integrity==="string"?e.integrity:void 0,nonce:typeof e.nonce==="string"?e.nonce:void 0,fetchPriority:typeof e.fetchPriority==="string"?e.fetchPriority:void 0})}else oe.d.m(t)};ee.requestFormReset=function(t){oe.d.r(t)};ee.unstable_batchedUpdates=function(t,e){return t(e)};ee.useFormState=function(t,e,n){return gr.H.useFormState(t,e,n)};ee.useFormStatus=function(){return gr.H.useHostTransitionStatus()};ee.version="19.3.0"});var xf=an(function(fw,bg){function xg(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xg)}catch(t){console.error(t)}}xg(),bg.exports=vg()});var ax=an(function(Fu){var Ut=eg(),iy=vt(),nE=xf();function C(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function ay(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function rl(t){for(var e=t,n=e;n&&!n.alternate;)e=n,(e.flags&4098)!==0&&(t=e.return),n=e.return;for(;e.return;)e=e.return;return e.tag===3?t:null}function oy(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function ry(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Sg(t){if(rl(t)!==t)throw Error(C(188))}function iE(t){var e=t.alternate;if(!e){if(e=rl(t),e===null)throw Error(C(188));return e!==t?null:t}for(var n=t,i=e;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return Sg(a),t;if(o===i)return Sg(a),e;o=o.sibling}throw Error(C(188))}if(n.return!==i.return)n=a,i=o;else{for(var r=!1,l=a.child;l;){if(l===n){r=!0,n=a,i=o;break}if(l===i){r=!0,i=a,n=o;break}l=l.sibling}if(!r){for(l=o.child;l;){if(l===n){r=!0,n=o,i=a;break}if(l===i){r=!0,i=o,n=a;break}l=l.sibling}if(!r)throw Error(C(189))}}if(n.alternate!==i)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?t:e}function ly(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=ly(t),e!==null)return e;t=t.sibling}return null}function ge(t,e,n,i,a,o){for(;t!==null;){if((t.tag===5||t.tag===27||t.tag===6)&&n(t,i,a,o)||(t.tag!==22||t.memoizedState===null)&&(e||t.tag!==5&&t.tag!==27)&&ge(t.child,e,n,i,a,o))return!0;t=t.sibling}return!1}function sa(t){for(t=t.return;t!==null;){if(t.tag===3||t.tag===5||t.tag===27)return t;t=t.return}return null}function Tg(t){var e=!1;for(t=t.return;t!==null;){if(t.tag===4&&(e=!0),t.tag===3||t.tag===5||t.tag===27)break;t=t.return}return e}function sy(t){var e=[null,null],n=sa(t);if(n===null)return e;return uy(e,t,n.child,{foundSelf:!1}),e}function uy(t,e,n,i){for(;n!==null;){if(n===e)i.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(i.foundSelf)return t[1]=n,!0;t[0]=n}else if((n.tag!==22||n.memoizedState===null)&&uy(t,e,n.child,i))return!0;n=n.sibling}return!1}function Bt(t){switch(t.tag){case 5:case 27:case 6:return t.stateNode;case 3:return t.stateNode.containerInfo;default:throw Error(C(559))}}var Qa=null,Jf=null;function aE(t,e,n){return t===n?!0:t===e?(Qa=t,!0):!1}function oE(t,e,n){return t===n?(Jf=t,!1):t===e?(Jf!==null&&(Qa=t),!0):!1}function Eg(t){if(t===null)return null;do t=t===null?null:t.return;while(t&&t.tag!==5&&t.tag!==27&&t.tag!==3);return t?t:null}function Pf(t,e,n){for(var i=0,a=t;a;a=n(a))i++;a=0;for(var o=e;o;o=n(o))a++;for(;0<i-a;)t=n(t),i--;for(;0<a-i;)e=n(e),a--;for(;i--;){if(t===e||e!==null&&t===e.alternate)return t;t=n(t),e=n(e)}return null}var ft=Object.assign,rE=Symbol.for("react.element"),ys=Symbol.for("react.transitional.element"),Tr=Symbol.for("react.portal"),$a=Symbol.for("react.fragment"),cy=Symbol.for("react.strict_mode"),If=Symbol.for("react.profiler"),fy=Symbol.for("react.consumer"),fn=Symbol.for("react.context"),ud=Symbol.for("react.forward_ref"),Wf=Symbol.for("react.suspense"),tm=Symbol.for("react.suspense_list"),cd=Symbol.for("react.memo"),ni=Symbol.for("react.lazy"),em=Symbol.for("react.activity"),lE=Symbol.for("react.legacy_hidden"),sE=Symbol.for("react.memo_cache_sentinel"),nm=Symbol.for("react.view_transition"),uE=Symbol.for("react.recoverable"),Mg=Symbol.iterator;function yr(t){if(t===null||typeof t!=="object")return null;return t=Mg&&t[Mg]||t["@@iterator"],typeof t==="function"?t:null}var cE=Symbol.for("react.client.reference");function im(t){if(t==null)return null;if(typeof t==="function")return t.$$typeof===cE?null:t.displayName||t.name||null;if(typeof t==="string")return t;switch(t){case $a:return"Fragment";case If:return"Profiler";case cy:return"StrictMode";case Wf:return"Suspense";case tm:return"SuspenseList";case em:return"Activity";case nm:return"ViewTransition"}if(typeof t==="object")switch(t.$$typeof){case Tr:return"Portal";case fn:return t.displayName||"Context";case fy:return(t._context.displayName||"Context")+".Consumer";case ud:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case cd:return e=t.displayName||null,e!==null?e:im(t.type)||"Memo";case ni:e=t._payload,t=t._init;try{return im(t(e))}catch(n){}}return null}var Er=Array.isArray,B=iy.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,et=nE.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ki={pending:!1,data:null,method:null,action:null},am=[],Fa=-1;function vn(t){return{current:t}}function Qt(t){0>Fa||(t.current=am[Fa],am[Fa]=null,Fa--)}function gt(t,e){Fa++,am[Fa]=t.current,t.current=e}var hn=vn(null),Kr=vn(null),fi=vn(null),tu=vn(null);function eu(t,e){switch(gt(fi,e),gt(Kr,t),gt(hn,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)?(t=t.namespaceURI)?U0(t):0:0;break;default:if(t=e.tagName,e=e.namespaceURI)e=U0(e),t=R1(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Qt(hn),gt(hn,t)}function ho(){Qt(hn),Qt(Kr),Qt(fi)}function om(t){var e=t.memoizedState;e!==null&&(Ao._currentValue=e.memoizedState,gt(tu,t)),e=hn.current;var n=R1(e,t.type);e!==n&&(gt(Kr,t),gt(hn,n))}function nu(t){Kr.current===t&&(Qt(hn),Qt(Kr)),tu.current===t&&(Qt(tu),Ao._currentValue=ki)}var bf,Ag;function ti(t){if(bf===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\\n( *(at )?)/);bf=e&&e[1]||"",Ag=-1<n.stack.indexOf(\`
|
|
5982
|
+
(()=>{var oE=Object.create;var{getPrototypeOf:rE,defineProperty:gg,getOwnPropertyNames:lE}=Object;var sE=Object.prototype.hasOwnProperty;function uE(t){return this[t]}var cE,fE,I=(t,e,n)=>{var i=t!=null&&typeof t==="object";if(i){var a=e?cE??=new WeakMap:fE??=new WeakMap,o=a.get(t);if(o)return o}n=t!=null?oE(rE(t)):{};let r=e||!t||!t.__esModule?gg(n,"default",{value:t,enumerable:!0}):n;if(t&&typeof t==="object"||typeof t==="function"){for(let l of lE(t))if(!sE.call(r,l))gg(r,l,{get:uE.bind(t,l),enumerable:!0})}if(i)a.set(t,r);return r};var vn=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Eg=vn(function(Mt){function Df(t,e){var n=t.length;t.push(e);t:for(;0<n;){var i=n-1>>>1,a=t[i];if(0<zs(a,e))t[i]=e,t[n]=a,n=i;else break t}}function xn(t){return t.length===0?null:t[0]}function Us(t){if(t.length===0)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var i=0,a=t.length,o=a>>>1;i<o;){var r=2*(i+1)-1,l=t[r],s=r+1,c=t[s];if(0>zs(l,n))s<a&&0>zs(c,l)?(t[i]=c,t[s]=n,i=s):(t[i]=l,t[r]=n,i=r);else if(s<a&&0>zs(c,n))t[i]=c,t[s]=n,i=s;else break t}}return e}function zs(t,e){var n=t.sortIndex-e.sortIndex;return n!==0?n:t.id-e.id}Mt.unstable_now=void 0;if(typeof performance==="object"&&typeof performance.now==="function")zf=performance,Mt.unstable_now=function(){return zf.now()};else Rs=Date,Rf=Rs.now(),Mt.unstable_now=function(){return Rs.now()-Rf};var zf,Rs,Rf,qn=[],ci=[],mE=1,ke=null,se=3,_f=!1,Rr=!1,_r=!1,Uf=!1,vg=typeof setTimeout==="function"?setTimeout:null,xg=typeof clearTimeout==="function"?clearTimeout:null,yg=typeof setImmediate<"u"?setImmediate:null;function _s(t){for(var e=xn(ci);e!==null;){if(e.callback===null)Us(ci);else if(e.startTime<=t)Us(ci),e.sortIndex=e.expirationTime,Df(qn,e);else break;e=xn(ci)}}function Hf(t){if(_r=!1,_s(t),!Rr)if(xn(qn)!==null)Rr=!0,Pa||(Pa=!0,Ja());else{var e=xn(ci);e!==null&&Lf(Hf,e.startTime-t)}}var Pa=!1,Br=-1,bg=5,Sg=-1;function Tg(){return Uf?!0:Mt.unstable_now()-Sg<bg?!1:!0}function Vf(){if(Uf=!1,Pa){var t=Mt.unstable_now();Sg=t;var e=!0;try{t:{Rr=!1,_r&&(_r=!1,xg(Br),Br=-1),_f=!0;var n=se;try{e:{_s(t);for(ke=xn(qn);ke!==null&&!(ke.expirationTime>t&&Tg());){var i=ke.callback;if(typeof i==="function"){ke.callback=null,se=ke.priorityLevel;var a=i(ke.expirationTime<=t);if(t=Mt.unstable_now(),typeof a==="function"){ke.callback=a,_s(t),e=!0;break e}ke===xn(qn)&&Us(qn),_s(t)}else Us(qn);ke=xn(qn)}if(ke!==null)e=!0;else{var o=xn(ci);o!==null&&Lf(Hf,o.startTime-t),e=!1}}break t}finally{ke=null,se=n,_f=!1}e=void 0}}finally{e?Ja():Pa=!1}}}var Ja;if(typeof yg==="function")Ja=function(){yg(Vf)};else if(typeof MessageChannel<"u")Bs=new MessageChannel,Bf=Bs.port2,Bs.port1.onmessage=Vf,Ja=function(){Bf.postMessage(null)};else Ja=function(){vg(Vf,0)};var Bs,Bf;function Lf(t,e){Br=vg(function(){t(Mt.unstable_now())},e)}Mt.unstable_IdlePriority=5;Mt.unstable_ImmediatePriority=1;Mt.unstable_LowPriority=4;Mt.unstable_NormalPriority=3;Mt.unstable_Profiling=null;Mt.unstable_UserBlockingPriority=2;Mt.unstable_cancelCallback=function(t){t.callback=null};Mt.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):bg=0<t?Math.floor(1000/t):5};Mt.unstable_getCurrentPriorityLevel=function(){return se};Mt.unstable_next=function(t){switch(se){case 1:case 2:case 3:var e=3;break;default:e=se}var n=se;se=e;try{return t()}finally{se=n}};Mt.unstable_requestPaint=function(){Uf=!0};Mt.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=se;se=t;try{return e()}finally{se=n}};Mt.unstable_scheduleCallback=function(t,e,n){var i=Mt.unstable_now();switch(typeof n==="object"&&n!==null?(n=n.delay,n=typeof n==="number"&&0<n?i+n:i):n=i,t){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5000}return a=n+a,t={id:mE++,callback:e,priorityLevel:t,startTime:n,expirationTime:a,sortIndex:-1},n>i?(t.sortIndex=n,Df(ci,t),xn(qn)===null&&t===xn(ci)&&(_r?(xg(Br),Br=-1):_r=!0,Lf(Hf,n-i))):(t.sortIndex=a,Df(qn,t),Rr||_f||(Rr=!0,Pa||(Pa=!0,Ja()))),t};Mt.unstable_shouldYield=Tg;Mt.unstable_wrapCallback=function(t){var e=se;return function(){var n=se;se=e;try{return t.apply(this,arguments)}finally{se=n}}}});var Ag=vn(function(kC,Mg){Mg.exports=Eg()});var Lg=vn(function(H){var qf=Symbol.for("react.transitional.element"),dE=Symbol.for("react.portal"),pE=Symbol.for("react.fragment"),hE=Symbol.for("react.strict_mode"),gE=Symbol.for("react.profiler"),yE=Symbol.for("react.consumer"),vE=Symbol.for("react.context"),xE=Symbol.for("react.forward_ref"),bE=Symbol.for("react.suspense"),SE=Symbol.for("react.memo"),Vg=Symbol.for("react.lazy"),TE=Symbol.for("react.activity"),EE=Symbol.for("react.view_transition"),wg=Symbol.iterator;function ME(t){if(t===null||typeof t!=="object")return null;return t=wg&&t[wg]||t["@@iterator"],typeof t==="function"?t:null}var Dg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zg=Object.assign,Rg={};function Wa(t,e,n){this.props=t,this.context=e,this.refs=Rg,this.updater=n||Dg}Wa.prototype.isReactComponent={};Wa.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};Wa.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function _g(){}_g.prototype=Wa.prototype;function Yf(t,e,n){this.props=t,this.context=e,this.refs=Rg,this.updater=n||Dg}var Xf=Yf.prototype=new _g;Xf.constructor=Yf;zg(Xf,Wa.prototype);Xf.isPureReactComponent=!0;var Cg=Array.isArray;function jf(){}var xt={H:null,A:null,T:null,S:null},Bg=Object.prototype.hasOwnProperty;function Kf(t,e,n){var i=n.ref;return{$$typeof:qf,type:t,key:e,ref:i!==void 0?i:null,props:n}}function AE(t,e){return Kf(t.type,e,t.props)}function Zf(t){return typeof t==="object"&&t!==null&&t.$$typeof===qf}function wE(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var Og=/\\/+/g;function Gf(t,e){return typeof t==="object"&&t!==null&&t.key!=null?wE(""+t.key):e.toString(36)}function CE(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(jf,jf):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function Ia(t,e,n,i,a){var o=typeof t;if(o==="undefined"||o==="boolean")t=null;var r=!1;if(t===null)r=!0;else switch(o){case"bigint":case"string":case"number":r=!0;break;case"object":switch(t.$$typeof){case qf:case dE:r=!0;break;case Vg:return r=t._init,Ia(r(t._payload),e,n,i,a)}}if(r)return a=a(t),r=i===""?"."+Gf(t,0):i,Cg(a)?(n="",r!=null&&(n=r.replace(Og,"$&/")+"/"),Ia(a,e,n,"",function(c){return c})):a!=null&&(Zf(a)&&(a=AE(a,n+(a.key==null||t&&t.key===a.key?"":(""+a.key).replace(Og,"$&/")+"/")+r)),e.push(a)),1;r=0;var l=i===""?".":i+":";if(Cg(t))for(var s=0;s<t.length;s++)i=t[s],o=l+Gf(i,s),r+=Ia(i,e,n,o,a);else if(s=ME(t),typeof s==="function")for(t=s.call(t),s=0;!(i=t.next()).done;)i=i.value,o=l+Gf(i,s++),r+=Ia(i,e,n,o,a);else if(o==="object"){if(typeof t.then==="function")return Ia(CE(t),e,n,i,a);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return r}function Hs(t,e,n){if(t==null)return t;var i=[],a=0;return Ia(t,i,"","",function(o){return e.call(n,o,a++)}),i}function OE(t){if(t._status===-1){var e=t._result,n=e();n.then(function(i){if(t._status===0||t._status===-1)t._status=1,t._result=i,n.status===void 0&&(n.status="fulfilled",n.value=i)},function(i){if(t._status===0||t._status===-1)t._status=2,t._result=i,n.status===void 0&&(n.status="rejected",n.reason=i)}),t._status===-1&&(t._status=0,t._result=n)}if(t._status===1)return t._result.default;throw t._result}var Ng=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)};function Ug(t){var e=xt.T,n={};n.types=e!==null?e.types:null,xt.T=n;try{var i=t(),a=xt.S;a!==null&&a(n,i),typeof i==="object"&&i!==null&&typeof i.then==="function"&&i.then(jf,Ng)}catch(o){Ng(o)}finally{e!==null&&n.types!==null&&(e.types=n.types),xt.T=e}}function Hg(t){var e=xt.T;if(e!==null){var n=e.types;n===null?e.types=[t]:n.indexOf(t)===-1&&n.push(t)}else Ug(Hg.bind(null,t))}var NE={map:Hs,forEach:function(t,e,n){Hs(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return Hs(t,function(){e++}),e},toArray:function(t){return Hs(t,function(e){return e})||[]},only:function(t){if(!Zf(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};H.Activity=TE;H.Children=NE;H.Component=Wa;H.Fragment=pE;H.Profiler=gE;H.PureComponent=Yf;H.StrictMode=hE;H.Suspense=bE;H.ViewTransition=EE;H.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=xt;H.__COMPILER_RUNTIME={__proto__:null,c:function(t){return xt.H.useMemoCache(t)}};H.addTransitionType=Hg;H.cache=function(t){return function(){return t.apply(null,arguments)}};H.cacheSignal=function(){return null};H.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var i=zg({},t.props),a=t.key;if(e!=null)for(o in e.key!==void 0&&(a=""+e.key),e)!Bg.call(e,o)||o==="key"||o==="__self"||o==="__source"||o==="ref"&&e.ref===void 0||(i[o]=e[o]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var r=Array(o),l=0;l<o;l++)r[l]=arguments[l+2];i.children=r}return Kf(t.type,a,i)};H.createContext=function(t){return t={$$typeof:vE,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:yE,_context:t},t};H.createElement=function(t,e,n){var i,a={},o=null;if(e!=null)for(i in e.key!==void 0&&(o=""+e.key),e)Bg.call(e,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(a[i]=e[i]);var r=arguments.length-2;if(r===1)a.children=n;else if(1<r){for(var l=Array(r),s=0;s<r;s++)l[s]=arguments[s+2];a.children=l}if(t&&t.defaultProps)for(i in r=t.defaultProps,r)a[i]===void 0&&(a[i]=r[i]);return Kf(t,o,a)};H.createRef=function(){return{current:null}};H.forwardRef=function(t){return{$$typeof:xE,render:t}};H.isValidElement=Zf;H.lazy=function(t){return{$$typeof:Vg,_payload:{_status:-1,_result:t},_init:OE}};H.memo=function(t,e){return{$$typeof:SE,type:t,compare:e===void 0?null:e}};H.startTransition=Ug;H.unstable_useCacheRefresh=function(){return xt.H.useCacheRefresh()};H.use=function(t){return xt.H.use(t)};H.useActionState=function(t,e,n){return xt.H.useActionState(t,e,n)};H.useCallback=function(t,e){return xt.H.useCallback(t,e)};H.useContext=function(t){return xt.H.useContext(t)};H.useDebugValue=function(){};H.useDeferredValue=function(t,e){return xt.H.useDeferredValue(t,e)};H.useEffect=function(t,e){return xt.H.useEffect(t,e)};H.useEffectEvent=function(t){return xt.H.useEffectEvent(t)};H.useId=function(){return xt.H.useId()};H.useImperativeHandle=function(t,e,n){return xt.H.useImperativeHandle(t,e,n)};H.useInsertionEffect=function(t,e){return xt.H.useInsertionEffect(t,e)};H.useLayoutEffect=function(t,e){return xt.H.useLayoutEffect(t,e)};H.useMemo=function(t,e){return xt.H.useMemo(t,e)};H.useOptimistic=function(t,e){return xt.H.useOptimistic(t,e)};H.useReducer=function(t,e,n){return xt.H.useReducer(t,e,n)};H.useRef=function(t){return xt.H.useRef(t)};H.useState=function(t){return xt.H.useState(t)};H.useSyncExternalStore=function(t,e,n){return xt.H.useSyncExternalStore(t,e,n)};H.useTransition=function(){return xt.H.useTransition()};H.version="19.3.0"});var Et=vn(function(FC,Gg){Gg.exports=Lg()});var Yg=vn(function(ue){var VE=Et();function qg(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function fi(){}var pe={d:{f:fi,r:function(){throw Error(qg(522))},D:fi,C:fi,L:fi,m:fi,X:fi,S:fi,M:fi},p:0,findDOMNode:null},DE=Symbol.for("react.portal"),zE=Symbol.for("react.recoverable"),jg=Symbol.for("react.optimistic_key");function RE(t,e,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:DE,key:i==null?null:i===jg?jg:""+i,children:t,containerInfo:e,implementation:n}}var Ur=VE.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Ls(t,e){if(t==="font")return"";if(typeof e==="string")return e==="use-credentials"?e:""}ue.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=pe;ue.browser=function(t){return{$$typeof:zE,_reason:t}};ue.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(qg(299));return RE(t,e,null,n)};ue.flushSync=function(t){var e=Ur.T,n=pe.p;try{if(Ur.T=null,pe.p=2,t)return t()}finally{Ur.T=e,pe.p=n,pe.d.f()}};ue.preconnect=function(t,e){typeof t==="string"&&(e?(e=e.crossOrigin,e=typeof e==="string"?e==="use-credentials"?e:"":void 0):e=null,pe.d.C(t,e))};ue.prefetchDNS=function(t){typeof t==="string"&&pe.d.D(t)};ue.preinit=function(t,e){if(typeof t==="string"&&e&&typeof e.as==="string"){var n=e.as,i=Ls(n,e.crossOrigin),a=typeof e.integrity==="string"?e.integrity:void 0,o=typeof e.fetchPriority==="string"?e.fetchPriority:void 0;n==="style"?pe.d.S(t,typeof e.precedence==="string"?e.precedence:void 0,{crossOrigin:i,integrity:a,fetchPriority:o}):n==="script"&&pe.d.X(t,{crossOrigin:i,integrity:a,fetchPriority:o,nonce:typeof e.nonce==="string"?e.nonce:void 0})}};ue.preinitModule=function(t,e){if(typeof t==="string")if(typeof e==="object"&&e!==null){if(e.as==null||e.as==="script"){var n=Ls(e.as,e.crossOrigin);pe.d.M(t,{crossOrigin:n,integrity:typeof e.integrity==="string"?e.integrity:void 0,nonce:typeof e.nonce==="string"?e.nonce:void 0,fetchPriority:typeof e.fetchPriority==="string"?e.fetchPriority:void 0})}}else e==null&&pe.d.M(t)};ue.preload=function(t,e){if(typeof t==="string"&&typeof e==="object"&&e!==null&&typeof e.as==="string"){var n=e.as,i=Ls(n,e.crossOrigin);pe.d.L(t,n,{crossOrigin:i,integrity:typeof e.integrity==="string"?e.integrity:void 0,nonce:typeof e.nonce==="string"?e.nonce:void 0,type:typeof e.type==="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority==="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy==="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet==="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes==="string"?e.imageSizes:void 0,media:typeof e.media==="string"?e.media:void 0})}};ue.preloadModule=function(t,e){if(typeof t==="string")if(e){var n=Ls(e.as,e.crossOrigin);pe.d.m(t,{as:typeof e.as==="string"&&e.as!=="script"?e.as:void 0,crossOrigin:n,integrity:typeof e.integrity==="string"?e.integrity:void 0,nonce:typeof e.nonce==="string"?e.nonce:void 0,fetchPriority:typeof e.fetchPriority==="string"?e.fetchPriority:void 0})}else pe.d.m(t)};ue.requestFormReset=function(t){pe.d.r(t)};ue.unstable_batchedUpdates=function(t,e){return t(e)};ue.useFormState=function(t,e,n){return Ur.H.useFormState(t,e,n)};ue.useFormStatus=function(){return Ur.H.useHostTransitionStatus()};ue.version="19.3.0"});var Qf=vn(function(PC,Kg){function Xg(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Xg)}catch(t){console.error(t)}}Xg(),Kg.exports=Yg()});var Ox=vn(function(gc){var qt=Ag(),C0=Et(),_E=Qf();function C(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function O0(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function wl(t){for(var e=t,n=e;n&&!n.alternate;)e=n,(e.flags&4098)!==0&&(t=e.return),n=e.return;for(;e.return;)e=e.return;return e.tag===3?t:null}function N0(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function V0(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Zg(t){if(wl(t)!==t)throw Error(C(188))}function BE(t){var e=t.alternate;if(!e){if(e=wl(t),e===null)throw Error(C(188));return e!==t?null:t}for(var n=t,i=e;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return Zg(a),t;if(o===i)return Zg(a),e;o=o.sibling}throw Error(C(188))}if(n.return!==i.return)n=a,i=o;else{for(var r=!1,l=a.child;l;){if(l===n){r=!0,n=a,i=o;break}if(l===i){r=!0,i=a,n=o;break}l=l.sibling}if(!r){for(l=o.child;l;){if(l===n){r=!0,n=o,i=a;break}if(l===i){r=!0,i=o,n=a;break}l=l.sibling}if(!r)throw Error(C(189))}}if(n.alternate!==i)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?t:e}function D0(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=D0(t),e!==null)return e;t=t.sibling}return null}function we(t,e,n,i,a,o){for(;t!==null;){if((t.tag===5||t.tag===27||t.tag===6)&&n(t,i,a,o)||(t.tag!==22||t.memoizedState===null)&&(e||t.tag!==5&&t.tag!==27)&&we(t.child,e,n,i,a,o))return!0;t=t.sibling}return!1}function Ta(t){for(t=t.return;t!==null;){if(t.tag===3||t.tag===5||t.tag===27)return t;t=t.return}return null}function Qg(t){var e=!1;for(t=t.return;t!==null;){if(t.tag===4&&(e=!0),t.tag===3||t.tag===5||t.tag===27)break;t=t.return}return e}function z0(t){var e=[null,null],n=Ta(t);if(n===null)return e;return R0(e,t,n.child,{foundSelf:!1}),e}function R0(t,e,n,i){for(;n!==null;){if(n===e)i.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(i.foundSelf)return t[1]=n,!0;t[0]=n}else if((n.tag!==22||n.memoizedState===null)&&R0(t,e,n.child,i))return!0;n=n.sibling}return!1}function jt(t){switch(t.tag){case 5:case 27:case 6:return t.stateNode;case 3:return t.stateNode.containerInfo;default:throw Error(C(559))}}var ro=null,Em=null;function UE(t,e,n){return t===n?!0:t===e?(ro=t,!0):!1}function HE(t,e,n){return t===n?(Em=t,!1):t===e?(Em!==null&&(ro=t),!0):!1}function kg(t){if(t===null)return null;do t=t===null?null:t.return;while(t&&t.tag!==5&&t.tag!==27&&t.tag!==3);return t?t:null}function Mm(t,e,n){for(var i=0,a=t;a;a=n(a))i++;a=0;for(var o=e;o;o=n(o))a++;for(;0<i-a;)t=n(t),i--;for(;0<a-i;)e=n(e),a--;for(;i--;){if(t===e||e!==null&&t===e.alternate)return t;t=n(t),e=n(e)}return null}var vt=Object.assign,LE=Symbol.for("react.element"),Gs=Symbol.for("react.transitional.element"),Yr=Symbol.for("react.portal"),lo=Symbol.for("react.fragment"),_0=Symbol.for("react.strict_mode"),Am=Symbol.for("react.profiler"),B0=Symbol.for("react.consumer"),An=Symbol.for("react.context"),Ud=Symbol.for("react.forward_ref"),wm=Symbol.for("react.suspense"),Cm=Symbol.for("react.suspense_list"),Hd=Symbol.for("react.memo"),hi=Symbol.for("react.lazy"),Om=Symbol.for("react.activity"),GE=Symbol.for("react.legacy_hidden"),jE=Symbol.for("react.memo_cache_sentinel"),Nm=Symbol.for("react.view_transition"),qE=Symbol.for("react.recoverable"),$g=Symbol.iterator;function Hr(t){if(t===null||typeof t!=="object")return null;return t=$g&&t[$g]||t["@@iterator"],typeof t==="function"?t:null}var YE=Symbol.for("react.client.reference");function Vm(t){if(t==null)return null;if(typeof t==="function")return t.$$typeof===YE?null:t.displayName||t.name||null;if(typeof t==="string")return t;switch(t){case lo:return"Fragment";case Am:return"Profiler";case _0:return"StrictMode";case wm:return"Suspense";case Cm:return"SuspenseList";case Om:return"Activity";case Nm:return"ViewTransition"}if(typeof t==="object")switch(t.$$typeof){case Yr:return"Portal";case An:return t.displayName||"Context";case B0:return(t._context.displayName||"Context")+".Consumer";case Ud:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Hd:return e=t.displayName||null,e!==null?e:Vm(t.type)||"Memo";case hi:e=t._payload,t=t._init;try{return Vm(t(e))}catch(n){}}return null}var Xr=Array.isArray,B=C0.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ot=_E.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ua={pending:!1,data:null,method:null,action:null},Dm=[],so=-1;function zn(t){return{current:t}}function It(t){0>so||(t.current=Dm[so],Dm[so]=null,so--)}function Tt(t,e){so++,Dm[so]=t.current,t.current=e}var Nn=zn(null),cl=zn(null),Mi=zn(null),Tu=zn(null);function Eu(t,e){switch(Tt(Mi,e),Tt(cl,t),Tt(Nn,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)?(t=t.namespaceURI)?r0(t):0:0;break;default:if(t=e.tagName,e=e.namespaceURI)e=r0(e),t=ix(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}It(Nn),Tt(Nn,t)}function No(){It(Nn),It(cl),It(Mi)}function zm(t){var e=t.memoizedState;e!==null&&(Go._currentValue=e.memoizedState,Tt(Tu,t)),e=Nn.current;var n=ix(e,t.type);e!==n&&(Tt(cl,t),Tt(Nn,n))}function Mu(t){cl.current===t&&(It(Nn),It(cl)),Tu.current===t&&(It(Tu),Go._currentValue=ua)}var kf,Fg;function di(t){if(kf===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\\n( *(at )?)/);kf=e&&e[1]||"",Fg=-1<n.stack.indexOf(\`
|
|
5516
5983
|
at\`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return\`
|
|
5517
|
-
\`+
|
|
5984
|
+
\`+kf+t+Fg}var $f=!1;function Ff(t,e){if(!t||$f)return"";$f=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(e){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(y){var m=y}Reflect.construct(t,[],f)}else{try{f.call()}catch(y){m=y}f=!1;try{var d=Object.getOwnPropertyDescriptor(t.prototype,"props");Object.defineProperty(t.prototype,"props",{configurable:!0,set:function(){throw Error()}}),f=!0,new t}finally{f&&(d!==void 0?Object.defineProperty(t.prototype,"props",d):delete t.prototype.props)}}}else{try{throw Error()}catch(y){m=y}(f=t())&&typeof f.catch==="function"&&f.catch(function(){})}}catch(y){if(y&&m&&typeof y.stack==="string")return[y.stack,m.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=i.DetermineComponentFrameRoot(),r=o[0],l=o[1];if(r&&l){var s=r.split(\`
|
|
5518
5985
|
\`),c=l.split(\`
|
|
5519
|
-
\`);for(a=i=0;i<
|
|
5520
|
-
\`+
|
|
5986
|
+
\`);for(a=i=0;i<s.length&&!s[i].includes("DetermineComponentFrameRoot");)i++;for(;a<c.length&&!c[a].includes("DetermineComponentFrameRoot");)a++;if(i===s.length||a===c.length)for(i=s.length-1,a=c.length-1;1<=i&&0<=a&&s[i]!==c[a];)a--;for(;1<=i&&0<=a;i--,a--)if(s[i]!==c[a]){if(i!==1||a!==1)do if(i--,a--,0>a||s[i]!==c[a]){var u=\`
|
|
5987
|
+
\`+s[i].replace(" at new "," at ");return t.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",t.displayName)),u}while(1<=i&&0<=a);break}}}finally{$f=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?di(n):""}function XE(t,e){switch(t.tag){case 26:case 27:case 5:return di(t.type);case 16:return di("Lazy");case 13:return t.child!==e&&e!==null?di("Suspense Fallback"):di("Suspense");case 19:return di("SuspenseList");case 0:case 15:return Ff(t.type,!1);case 11:return Ff(t.type.render,!1);case 1:return Ff(t.type,!0);case 31:return di("Activity");case 30:return di("ViewTransition");default:return""}}function Jg(t){try{var e="",n=null;do e+=XE(t,n),n=t,t=t.return;while(t);return e}catch(i){return\`
|
|
5521
5988
|
Error generating stack: \`+i.message+\`
|
|
5522
|
-
\`+i.stack}}var rm=Object.prototype.hasOwnProperty,fd=Ut.unstable_scheduleCallback,Ef=Ut.unstable_cancelCallback,mE=Ut.unstable_shouldYield,dE=Ut.unstable_requestPaint,Ce=Ut.unstable_now,pE=Ut.unstable_getCurrentPriorityLevel,my=Ut.unstable_ImmediatePriority,dy=Ut.unstable_UserBlockingPriority,iu=Ut.unstable_NormalPriority,hE=Ut.unstable_LowPriority,py=Ut.unstable_IdlePriority,gE=Ut.log,yE=Ut.unstable_setDisableYieldValue,ll=null,we=null;function oi(t){if(typeof gE==="function"&&yE(t),we&&typeof we.setStrictMode==="function")try{we.setStrictMode(ll,t)}catch(e){}}var Oe=Math.clz32?Math.clz32:bE,vE=Math.log,xE=Math.LN2;function bE(t){return t>>>=0,t===0?32:31-(vE(t)/xE|0)|0}var vs=256,xs=262144,bs=4194304;function Xi(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&-t;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Nu(t,e,n){var i=t.pendingLanes;if(i===0)return 0;var a=0,o=t.suspendedLanes,r=t.pingedLanes;t=t.warmLanes;var l=i&134217727;return l!==0?(i=l&~o,i!==0?a=Xi(i):(r&=l,r!==0?a=Xi(r):n||(n=l&~t,n!==0&&(a=Xi(n))))):(l=i&~o,l!==0?a=Xi(l):r!==0?a=Xi(r):n||(n=i&~t,n!==0&&(a=Xi(n)))),a===0?0:e!==0&&e!==a&&(e&o)===0&&(o=a&-a,n=e&-e,o>=n||o===32&&(n&4194048)!==0)?e:a}function sl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function hy(t,e){(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var i=31-Oe(n),a=1<<i;e|=t[i],n&=~a}return e}function SE(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function gy(){var t=bs;return bs<<=1,(bs&62914560)===0&&(bs=4194304),t}function Mf(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function ul(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function TE(t,e,n,i,a,o){var r=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var{entanglements:l,expirationTimes:u,hiddenUpdates:c}=t;for(n=r&~n;0<n;){var s=31-Oe(n),m=1<<s;l[s]=0,u[s]=-1;var f=c[s];if(f!==null)for(c[s]=null,s=0;s<f.length;s++){var h=f[s];h!==null&&(h.lane&=-536870913)}n&=~m}i!==0&&yy(t,i,0),o!==0&&a===0&&t.tag!==0&&(t.suspendedLanes|=o&~(r&~e))}function yy(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-Oe(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|n&261930}function vy(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var i=31-Oe(n),a=1<<i;a&e|t[i]&e&&(t[i]|=e),n&=~a}}function xy(t,e){var n=e&-e;return n=(n&42)!==0?1:md(n),(n&(t.suspendedLanes|e))!==0?0:n}function md(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function dd(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function by(){var t=et.p;if(t!==0)return t;return t=window.event,t===void 0?32:ex(t.type)}function wg(t,e){var n=et.p;try{return et.p=t,e()}finally{et.p=n}}var jn=Math.random().toString(36).slice(2),Kt="__reactFiber$"+jn,ye="__reactProps$"+jn,Oo="__reactContainer$"+jn,Og="__reactEvents$"+jn,EE="__reactListeners$"+jn,ME="__reactHandles$"+jn,Ng="__reactResources$"+jn,cl="__reactMarker$"+jn,au="__reactLoad$"+jn;function Vu(t){delete t[Kt],delete t[ye],delete t[EE],delete t[ME]}function $i(t){var e;if(e=t[Kt])return e;for(var n=t.parentNode;n;){if(e=n[Oo]||n[Kt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=K0(t);t!==null;){if(n=t[Kt])return n;t=K0(t)}return e}t=n,n=t.parentNode}return null}function No(t){if(t=t[Kt]||t[Oo]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Mr(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(C(33))}function ao(t){var e=t[Ng];return e||(e=t[Ng]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function qt(t){t[cl]=!0}function Sy(t){t[au]=void 0}var Ty=new Set,Ey={};function ua(t,e){go(t,e),go(t+"Capture",e)}function go(t,e){Ey[t]=e;for(t=0;t<e.length;t++)Ty.add(e[t])}var AE=RegExp("^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$"),Vg={},Dg={};function CE(t){if(rm.call(Dg,t))return!0;if(rm.call(Vg,t))return!1;if(AE.test(t))return Dg[t]=!0;return Vg[t]=!0,!1}var W=!1;function zg(){var t=W;return W=!1,t}function _s(t,e,n){if(CE(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,n)}}function Ss(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,n)}}function On(t,e,n,i){if(i===null)t.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,i)}}function Te(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function My(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function wE(t,e,n){var i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get==="function"&&typeof i.set==="function"){var{get:a,set:o}=i;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(r){n=""+r,o.call(this,r)}}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(r){n=""+r},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function lm(t){if(!t._valueTracker){var e=My(t)?"checked":"value";t._valueTracker=wE(t,e,""+t[e])}}function Ay(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),i="";return t&&(i=My(t)?t.checked?"true":"false":t.value),t=i,t!==n?(e.setValue(t),!0):!1}var OE=/[\\n"\\\\]/g;function je(t){return t.replace(OE,function(e){return"\\\\"+e.charCodeAt(0).toString(16)+" "})}function sm(t,e,n,i,a,o,r,l){if(t.name="",r!=null&&typeof r!=="function"&&typeof r!=="symbol"&&typeof r!=="boolean"?t.type=r:t.removeAttribute("type"),e!=null)if(r==="number"){if(e===0&&t.value===""||t.value!=e)t.value=""+Te(e)}else t.value!==""+Te(e)&&(t.value=""+Te(e));else r!=="submit"&&r!=="reset"||t.removeAttribute("value");e!=null?r==="number"&&t.value==e?Af(t,Te(t.value)):Af(t,Te(e)):n!=null?Af(t,Te(n)):i!=null&&t.removeAttribute("value"),a==null&&o!=null&&(t.defaultChecked=!!o),a!=null&&(t.checked=a&&typeof a!=="function"&&typeof a!=="symbol"),l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"?t.name=""+Te(l):t.removeAttribute("name")}function Cy(t,e,n,i,a,o,r,l){if(o!=null&&typeof o!=="function"&&typeof o!=="symbol"&&typeof o!=="boolean"&&(t.type=o),e!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||e!==void 0&&e!==null)){lm(t);return}n=n!=null?""+Te(n):"",e=e!=null?""+Te(e):n,l||e===t.value||(t.value=e),t.defaultValue=e}i=i!=null?i:a,i=typeof i!=="function"&&typeof i!=="symbol"&&!!i,t.checked=l?t.checked:!!i,t.defaultChecked=!!i,r!=null&&typeof r!=="function"&&typeof r!=="symbol"&&typeof r!=="boolean"&&(t.name=r),lm(t)}function Af(t,e){t.defaultValue!==""+e&&(t.defaultValue=""+e)}function oo(t,e,n,i){if(t=t.options,e){e={};for(var a=0;a<n.length;a++)e["$"+n[a]]=!0;for(n=0;n<t.length;n++)a=e.hasOwnProperty("$"+t[n].value),t[n].selected!==a&&(t[n].selected=a),a&&i&&(t[n].defaultSelected=!0)}else{n=""+Te(n),e=null;for(a=0;a<t.length;a++){if(t[a].value===n){t[a].selected=!0,i&&(t[a].defaultSelected=!0);return}e!==null||t[a].disabled||(e=t[a])}e!==null&&(e.selected=!0)}}function wy(t,e,n){if(e!=null&&(e=""+Te(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Te(n):""}function Oy(t,e,n,i){if(e==null){if(i!=null){if(n!=null)throw Error(C(92));if(Er(i)){if(1<i.length)throw Error(C(93));i=i[0]}n=i}n==null&&(n=""),e=n}n=Te(e),t.defaultValue=n,i=t.textContent,i===n&&i!==""&&i!==null&&(t.value=i),lm(t)}function yo(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var NE=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Rg(t,e,n){var i=e.indexOf("--")===0;n==null||typeof n==="boolean"||n===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,n):typeof n!=="number"||n===0||NE.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function Ny(t,e,n){if(e!=null&&typeof e!=="object")throw Error(C(62));if(t=t.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||e!=null&&e.hasOwnProperty(i)||(i.indexOf("--")===0?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="",W=!0);for(var a in e)i=e[a],e.hasOwnProperty(a)&&n[a]!==i&&(Rg(t,a,i),W=!0)}else for(var o in e)e.hasOwnProperty(o)&&Rg(t,o,e[o])}function pd(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var VE=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),DE=/^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i;function Bs(t){return DE.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function mn(){}var um=null;function hd(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ka=null,ro=null;function _g(t){var e=No(t);if(e&&(t=e.stateNode)){var n=t[ye]||null;t:switch(t=e.stateNode,e.type){case"input":if(sm(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;n=n.querySelectorAll('input[name="'+je(""+e)+'"][type="radio"]');for(e=0;e<n.length;e++){var i=n[e];if(i!==t&&i.form===t.form){var a=i[ye]||null;if(!a)throw Error(C(90));sm(i,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(e=0;e<n.length;e++)i=n[e],i.form===t.form&&Ay(i)}break t;case"textarea":wy(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&oo(t,!!n.multiple,e,!1)}}}var Cf=!1;function Vy(t,e,n){if(Cf)return t(e,n);Cf=!0;try{var i=t(e);return i}finally{if(Cf=!1,ka!==null||ro!==null){if(Ku(),ka&&(e=ka,t=ro,ro=ka=null,_g(e),t))for(e=0;e<t.length;e++)_g(t[e])}}}function Zr(t,e){var n=t.stateNode;if(n===null)return null;var i=n[ye]||null;if(i===null)return null;n=i[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(n&&typeof n!=="function")throw Error(C(231,e,typeof n));return n}var _n=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),cm=!1;if(_n)try{Ki={},Object.defineProperty(Ki,"passive",{get:function(){cm=!0}}),window.addEventListener("test",Ki,Ki),window.removeEventListener("test",Ki,Ki)}catch(t){cm=!1}var Ki,ri=null,gd=null,Us=null;function Dy(){if(Us)return Us;var t,e=gd,n=e.length,i,a="value"in ri?ri.value:ri.textContent,o=a.length;for(t=0;t<n&&e[t]===a[t];t++);var r=n-t;for(i=1;i<=r&&e[n-i]===a[o-i];i++);return Us=a.slice(t,1<i?1-i:void 0)}function Hs(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ts(){return!0}function Bg(){return!1}function ue(t){function e(n,i,a,o,r){this._reactName=n,this._targetInst=a,this.type=i,this.nativeEvent=o,this.target=r,this.currentTarget=null;for(var l in t)t.hasOwnProperty(l)&&(n=t[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ts:Bg,this.isPropagationStopped=Bg,this}return ft(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!=="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ts)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!=="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ts)},persist:function(){},isPersistent:Ts}),e}var Ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Du=ue(Ci),fl=ft({},Ci,{view:0,detail:0}),zE=ue(fl),wf,Of,vr,zu=ft({},fl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yd,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){if("movementX"in t)return t.movementX;return t!==vr&&(vr&&t.type==="mousemove"?(wf=t.screenX-vr.screenX,Of=t.screenY-vr.screenY):Of=wf=0,vr=t),wf},movementY:function(t){return"movementY"in t?t.movementY:Of}}),Ug=ue(zu),RE=ft({},zu,{dataTransfer:0}),_E=ue(RE),BE=ft({},fl,{relatedTarget:0}),Nf=ue(BE),UE=ft({},Ci,{animationName:0,elapsedTime:0,pseudoElement:0}),HE=ue(UE),LE=ft({},Ci,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),GE=ue(LE),jE=ft({},Ci,{data:0}),Hg=ue(jE),qE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},YE={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},XE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function KE(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=XE[t])?!!e[t]:!1}function yd(){return KE}var ZE=ft({},fl,{key:function(t){if(t.key){var e=qE[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Hs(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?YE[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yd,charCode:function(t){return t.type==="keypress"?Hs(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Hs(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),QE=ue(ZE),$E=ft({},zu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lg=ue($E),FE=ft({},Ci,{submitter:0}),kE=ue(FE),JE=ft({},fl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yd}),PE=ue(JE),IE=ft({},Ci,{propertyName:0,elapsedTime:0,pseudoElement:0}),WE=ue(IE),t2=ft({},zu,{deltaX:function(t){return"deltaX"in t?t.deltaX:("wheelDeltaX"in t)?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:("wheelDeltaY"in t)?-t.wheelDeltaY:("wheelDelta"in t)?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),e2=ue(t2),n2=ft({},Ci,{newState:0,oldState:0,source:0}),i2=ue(n2),a2=[9,13,27,32],vd=_n&&"CompositionEvent"in window,Dr=null;_n&&"documentMode"in document&&(Dr=document.documentMode);var o2=_n&&"TextEvent"in window&&!Dr,zy=_n&&(!vd||Dr&&8<Dr&&11>=Dr),Gg=String.fromCharCode(32),jg=!1;function Ry(t,e){switch(t){case"keyup":return a2.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _y(t){return t=t.detail,typeof t==="object"&&"data"in t?t.data:null}var Ja=!1;function r2(t,e){switch(t){case"compositionend":return _y(e);case"keypress":if(e.which!==32)return null;return jg=!0,Gg;case"textInput":return t=e.data,t===Gg&&jg?null:t;default:return null}}function l2(t,e){if(Ja)return t==="compositionend"||!vd&&Ry(t,e)?(t=Dy(),Us=gd=ri=null,Ja=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return zy&&e.locale!=="ko"?null:e.data;default:return null}}var s2={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qg(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!s2[t.type]:e==="textarea"?!0:!1}function By(t,e,n,i){ka?ro?ro.push(i):ro=[i]:ka=i,e=Cu(e,"onChange"),0<e.length&&(n=new Du("onChange","change",null,n,i),t.push({event:n,listeners:e}))}var zr=null,Qr=null;function u2(t){V1(t,0)}function Ru(t){var e=Mr(t);if(Ay(e))return t}function Yg(t,e){if(t==="change")return e}var Uy=!1;if(_n){if(_n){if(Cr="oninput"in document,!Cr)Ls=document.createElement("div"),Ls.setAttribute("oninput","return;"),Cr=typeof Ls.oninput==="function";Ar=Cr}else Ar=!1;Uy=Ar&&(!document.documentMode||9<document.documentMode)}var Ar,Cr,Ls;function Xg(){zr&&(zr.detachEvent("onpropertychange",Hy),Qr=zr=null)}function Hy(t){if(t.propertyName==="value"&&Ru(Qr)){var e=[];By(e,Qr,t,hd(t)),Vy(u2,e)}}function c2(t,e,n){t==="focusin"?(Xg(),zr=e,Qr=n,zr.attachEvent("onpropertychange",Hy)):t==="focusout"&&Xg()}function f2(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ru(Qr)}function m2(t,e){if(t==="click")return Ru(e)}function d2(t,e){if(t==="input"||t==="change")return Ru(e)}function p2(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Ve=typeof Object.is==="function"?Object.is:p2;function $r(t,e){if(Ve(t,e))return!0;if(typeof t!=="object"||t===null||typeof e!=="object"||e===null)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var a=n[i];if(!rm.call(e,a)||!Ve(t[a],e[a]))return!1}return!0}function fm(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch(e){return t.body}}function Kg(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Zg(t,e){var n=Kg(t);t=0;for(var i;n;){if(n.nodeType===3){if(i=t+n.textContent.length,t<=e&&i>=e)return{node:n,offset:e-t};t=i}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Kg(n)}}function Ly(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Ly(t,e.parentNode):("contains"in t)?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Gy(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=fm(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href==="string"}catch(i){n=!1}if(n)t=e.contentWindow;else break;e=fm(t.document)}return e}function xd(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var h2=_n&&"documentMode"in document&&11>=document.documentMode,Pa=null,mm=null,Rr=null,dm=!1;function Qg(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;dm||Pa==null||Pa!==fm(i)||(i=Pa,("selectionStart"in i)&&xd(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Rr&&$r(Rr,i)||(Rr=i,i=Cu(mm,"onSelect"),0<i.length&&(e=new Du("onSelect","select",null,e,n),t.push({event:e,listeners:i}),e.target=Pa)))}function qi(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Ia={animationend:qi("Animation","AnimationEnd"),animationiteration:qi("Animation","AnimationIteration"),animationstart:qi("Animation","AnimationStart"),transitionrun:qi("Transition","TransitionRun"),transitionstart:qi("Transition","TransitionStart"),transitioncancel:qi("Transition","TransitionCancel"),transitionend:qi("Transition","TransitionEnd")},Vf={},jy={};_n&&(jy=document.createElement("div").style,("AnimationEvent"in window)||(delete Ia.animationend.animation,delete Ia.animationiteration.animation,delete Ia.animationstart.animation),("TransitionEvent"in window)||delete Ia.transitionend.transition);function ca(t){if(Vf[t])return Vf[t];if(!Ia[t])return t;var e=Ia[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in jy)return Vf[t]=e[n];return t}var qy=ca("animationend"),Yy=ca("animationiteration"),Xy=ca("animationstart"),g2=ca("transitionrun"),y2=ca("transitionstart"),v2=ca("transitioncancel"),Ky=ca("transitionend"),Zy=new Map,pm="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");pm.push("scrollEnd");function Pe(t,e){Zy.set(t,e),ua(e,[t])}var x2=0;function Bn(t,e){if(t.name!=null&&t.name!=="auto")return t.name;if(e.autoName!==null)return e.autoName;t=Je.identifierPrefix;var n=x2++;return t="_"+t+"t_"+n.toString(32)+"_",e.autoName=t}function $g(t){if(t==null||typeof t==="string")return t;var e=null,n=po;if(n!==null)for(var i=0;i<n.length;i++){var a=t[n[i]];if(a!=null){if(a==="none")return"none";e=e==null?a:e+(" "+a)}}return e==null?t.default:e}function qn(t,e){return t=$g(t),e=$g(e),e==null?t==="auto"?null:t:e==="auto"?null:e}var ou=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},He=[],Wa=0,bd=0;function _u(){for(var t=Wa,e=bd=Wa=0;e<t;){var n=He[e];He[e++]=null;var i=He[e];He[e++]=null;var a=He[e];He[e++]=null;var o=He[e];if(He[e++]=null,i!==null&&a!==null){var r=i.pending;r===null?a.next=a:(a.next=r.next,r.next=a),i.pending=a}o!==0&&Qy(n,a,o)}}function Bu(t,e,n,i){He[Wa++]=t,He[Wa++]=e,He[Wa++]=n,He[Wa++]=i,bd|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}function Sd(t,e,n,i){return Bu(t,e,n,i),ru(t)}function fa(t,e){return Bu(t,null,null,e),ru(t)}function Qy(t,e,n){t.lanes|=n;var i=t.alternate;i!==null&&(i.lanes|=n);for(var a=!1,o=t.return;o!==null;)o.childLanes|=n,i=o.alternate,i!==null&&(i.childLanes|=n),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(a=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,a&&e!==null&&(a=31-Oe(n),t=o.hiddenUpdates,i=t[a],i===null?t[a]=[e]:i.push(e),e.lane=n|536870912),o):null}function ru(t){if(50<Xr)throw Xr=0,Fs=null,Error(C(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var to={};function b2(t,e,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pe(t,e,n,i){return new b2(t,e,n,i)}function Td(t){return t=t.prototype,!(!t||!t.isReactComponent)}function zn(t,e){var n=t.alternate;return n===null?(n=pe(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&1206910976,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function $y(t,e){t.flags&=1206910978;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Gs(t,e,n,i,a,o){var r=0;if(i=t,typeof i==="function")Td(i)&&(r=1);else if(typeof i==="string")r=QM(t,n,hn.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(i){case em:return t=pe(31,n,e,a),t.elementType=em,t.lanes=o,t;case $a:return Ji(n.children,a,o,e);case cy:r=8,a|=24;break;case If:return t=pe(12,n,e,a|2),t.elementType=If,t.lanes=o,t;case Wf:return t=pe(13,n,e,a),t.elementType=Wf,t.lanes=o,t;case tm:return t=pe(19,n,e,a),t.elementType=tm,t.lanes=o,t;case lE:case nm:return t=a|32,t=pe(30,n,e,t),t.elementType=nm,t.lanes=o,t.stateNode={autoName:null,paired:null,clones:null,ref:null},t;default:if(typeof i==="object"&&i!==null)switch(i.$$typeof){case fn:r=10;break t;case fy:r=9;break t;case ud:r=11;break t;case cd:r=14;break t;case ni:r=16,i=null;break t}r=29,n=Error(C(130,t===null?"null":typeof t,"")),i=null}return e=pe(r,n,e,a),e.elementType=t,e.type=i,e.lanes=o,e}function Ji(t,e,n,i){return t=pe(7,t,i,e),t.lanes=n,t}function Df(t,e,n){return t=pe(6,t,null,e),t.lanes=n,t}function Fy(t){var e=pe(18,null,null,0);return e.stateNode=t,e}function zf(t,e,n){return e=pe(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Fg=new WeakMap;function qe(t,e){if(typeof t==="object"&&t!==null){var n=Fg.get(t);if(n!==void 0)return n;return e={value:t,source:e,stack:Cg(e)},Fg.set(t,e),e}return{value:t,source:e,stack:Cg(e)}}var eo=[],no=0,lu=null,Fr=0,Le=[],Ge=0,Si=null,dn=1,pn="";function Vn(t,e){eo[no++]=Fr,eo[no++]=lu,lu=t,Fr=e}function ky(t,e,n){Le[Ge++]=dn,Le[Ge++]=pn,Le[Ge++]=Si,Si=t;var i=dn;t=pn;var a=32-Oe(i)-1;i&=~(1<<a),n+=1;var o=32-Oe(e)+a;if(30<o){var r=a-a%5;o=(i&(1<<r)-1).toString(32),i>>=r,a-=r,dn=1<<32-Oe(e)+a|n<<a|i,pn=o+t}else dn=1<<o|n<<a|i,pn=t}function Uu(t){t.return!==null&&(Vn(t,1),ky(t,1,0))}function Ed(t){for(;t===lu;)lu=eo[--no],eo[no]=null,Fr=eo[--no],eo[no]=null;for(;t===Si;)Si=Le[--Ge],Le[Ge]=null,pn=Le[--Ge],Le[Ge]=null,dn=Le[--Ge],Le[Ge]=null}function Jy(t,e){Le[Ge++]=dn,Le[Ge++]=pn,Le[Ge++]=Si,dn=e.id,pn=e.overflow,Si=t}var Yt=null,ht=null,Y=!1,mi=null,Ye=!1,hm=Error(C(519));function Ti(t){var e=Error(C(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw kr(qe(e,t)),hm}function kg(t){var{stateNode:e,type:n,memoizedProps:i}=t;switch(e[Kt]=t,e[ye]=i,n){case"dialog":Q("cancel",e),Q("close",e);break;case"iframe":case"object":case"embed":Q("load",e);break;case"video":case"audio":for(n=0;n<Wr.length;n++)Q(Wr[n],e);break;case"source":Q("error",e);break;case"img":case"image":case"link":Q("error",e),Q("load",e);break;case"details":Q("toggle",e);break;case"input":Q("invalid",e),Cy(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Q("invalid",e);break;case"textarea":Q("invalid",e),Oy(e,i.value,i.defaultValue,i.children)}n=i.children,typeof n!=="string"&&typeof n!=="number"&&typeof n!=="bigint"||e.textContent===""+n||i.suppressHydrationWarning===!0||z1(e.textContent,n)?(i.popover!=null&&(Q("beforetoggle",e),Q("toggle",e)),i.onScroll!=null&&Q("scroll",e),i.onScrollEnd!=null&&Q("scrollend",e),i.onClick!=null&&(e.onclick=mn),e=!0):e=!1,e||Ti(t,!0)}function su(t){for(Yt=t.return;Yt;)switch(Yt.tag){case 5:case 31:case 13:Ye=!1;return;case 27:case 3:Ye=!0;return;default:Yt=Yt.return}}function ja(t){if(t!==Yt)return!1;if(!Y)return su(t),Y=!0,!1;var e=t.tag,n;if(n=e!==3&&e!==27){if(n=e===5)n=t.type,n=!(n!=="form"&&n!=="button")||ed(t.type,t.memoizedProps);n=!n}if(n&&ht&&Ti(t),su(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(C(317));ht=X0(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(C(317));ht=X0(t)}else e===27?(e=ht,wi(t.type)?(t=od,od=null,ht=t):ht=e):ht=Yt?Xe(t.stateNode.nextSibling):null;return!0}function ta(){ht=Yt=null,Y=!1}function Rf(){var t=mi;return t!==null&&(me===null?me=t:me.push.apply(me,t),mi=null),t}function kr(t){mi===null?mi=[t]:mi.push(t)}var gm=vn(null),ma=null,Dn=null;function li(t,e,n){gt(gm,e._currentValue),e._currentValue=n}function Rn(t){t._currentValue=gm.current,Qt(gm)}function js(t,e,n){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===n)break;t=t.return}}function ym(t,e,n,i){var a=t.child;a!==null&&(a.return=t);for(;a!==null;){var o=a.dependencies;if(o!==null){var r=a.child;o=o.firstContext;t:for(;o!==null;){var l=o;o=a;for(var u=0;u<e.length;u++)if(l.context===e[u]){o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),js(o.return,n,t),i||(r=null);break t}o=l.next}}else if(a.tag===18){if(r=a.return,r===null)throw Error(C(341));r.lanes|=n,o=r.alternate,o!==null&&(o.lanes|=n),js(r,n,t),r=null}else a.tag===13&&a.memoizedState!==null&&a.memoizedState.dehydrated===null?(a.lanes|=n,r=a.alternate,r!==null&&(r.lanes|=n),js(a.return,n,t),r=a.child,r=r!==null?r.sibling:null):r=a.child;if(r!==null)r.return=a;else for(r=a;r!==null;){if(r===t){r=null;break}if(a=r.sibling,a!==null){a.return=r.return,r=a;break}r=r.return}a=r}}function ea(t,e,n,i){t=null;for(var a=e,o=!1;a!==null;){if(!o){if((a.flags&524288)!==0)o=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var r=a.alternate;if(r===null)throw Error(C(387));if(r=r.memoizedProps,r!==null){var l=a.type;Ve(a.pendingProps.value,r.value)||(t!==null?t.push(l):t=[l])}}else if(a===tu.current){if(r=a.alternate,r===null)throw Error(C(387));r.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(t!==null?t.push(Ao):t=[Ao])}a=a.return}return t!==null&&ym(e,t,n,i),e.flags|=262144,t!==null}function uu(t){for(t=t.firstContext;t!==null;){if(!Ve(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function na(t){ma=t,Dn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Zt(t){return Py(ma,t)}function Es(t,e){return ma===null&&na(t),Py(t,e)}function Py(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},Dn===null){if(t===null)throw Error(C(308));Dn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Dn=Dn.next=e;return n}var S2=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,i){t.push(i)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},T2=Ut.unstable_scheduleCallback,E2=Ut.unstable_NormalPriority,Dt={$$typeof:fn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Md(){return{controller:new S2,data:new Map,refCount:0}}function ml(t){t.refCount--,t.refCount===0&&T2(E2,function(){t.controller.abort()})}function Jg(t,e){if((t.pendingLanes&4194048)!==0){var n=t.transitionTypes;n===null&&(n=t.transitionTypes=[]);for(t=0;t<e.length;t++){var i=e[t];n.indexOf(i)===-1&&n.push(i)}}}var wr=null;function M2(t){var e=t.transitionTypes;return t.transitionTypes=null,e}var _r=null,vm=0,ia=0,lo=null;function A2(t,e){if(_r===null){var n=_r=[];vm=0,ia=Id(),lo={status:"pending",value:void 0,then:function(i){n.push(i)}}}return vm++,e.then(Pg,Pg),e}function Pg(){if(--vm===0&&(wr=null,_r!==null)){lo!==null&&(lo.status="fulfilled");var t=_r;_r=null,ia=0,lo=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function C2(t,e){var n=[],i={status:"pending",value:null,reason:null,then:function(a){n.push(a)}};return t.then(function(){i.status="fulfilled",i.value=e;for(var a=0;a<n.length;a++)(0,n[a])(e)},function(a){i.status="rejected",i.reason=a;for(a=0;a<n.length;a++)(0,n[a])(void 0)}),i}var Ig=B.S;B.S=function(t,e){if(h1=Ce(),typeof e==="object"&&e!==null&&typeof e.then==="function"&&A2(t,e),wr!==null)for(var n=To;n!==null;)Jg(n,wr),n=n.next;if(n=t.types,n!==null){for(var i=To;i!==null;)Jg(i,n),i=i.next;if(ia!==0){i=wr,i===null&&(i=wr=[]);for(var a=0;a<n.length;a++){var o=n[a];i.indexOf(o)===-1&&i.push(o)}}}Ig!==null&&Ig(t,e)};var Pi=vn(null);function Ad(){var t=Pi.current;return t!==null?t:ct.pooledCache}function qs(t,e){e===null?gt(Pi,Pi.current):gt(Pi,e.pool)}function Iy(){var t=Ad();return t===null?null:{parent:Dt._currentValue,pool:t}}var Vo=Error(C(460)),Cd=Error(C(474)),Hu=Error(C(542)),cu={then:function(){}};function Wg(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Wy(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(mn,mn),e=n),e.status){case"fulfilled":return e.value;case"rejected":if(t=e.reason,e0(t),t===void 0&&!("reason"in e))throw Error(C(600));throw t;default:if(typeof e.status==="string")e.then(mn,mn);else{if(t=ct,t!==null&&100<t.shellSuspendCounter)throw Error(C(482));t=e,t.status="pending",t.then(function(i){if(e.status==="pending"){var a=e;a.status="fulfilled",a.value=i}},function(i){if(e.status==="pending"){var a=e;a.status="rejected",a.reason=i}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,e0(t),t}throw Ii=e,Vo}}function Zi(t){try{var e=t._init;return e(t._payload)}catch(n){if(n!==null&&typeof n==="object"&&typeof n.then==="function")throw Ii=n,Vo;throw n}}var Ii=null;function t0(){if(Ii===null)throw Error(C(459));var t=Ii;return Ii=null,t}function e0(t){if(t===Vo||t===Hu)throw Error(C(483))}var so=null,Jr=0;function Ms(t){var e=Jr;return Jr+=1,so===null&&(so=[]),Wy(so,t,e)}function Wn(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function As(t,e){if(e.$$typeof===rE)throw Error(C(525));throw t=Object.prototype.toString.call(e),Error(C(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function tv(t){function e(g,d){if(t){var p=g.deletions;p===null?(g.deletions=[d],g.flags|=16):p.push(d)}}function n(g,d){if(!t)return null;for(;d!==null;)e(g,d),d=d.sibling;return null}function i(g){for(var d=new Map;g!==null;)g.key===null?d.set(g.index,g):d.set(g.key,g),g=g.sibling;return d}function a(g,d){return g=zn(g,d),g.index=0,g.sibling=null,g}function o(g,d,p){if(g.index=p,!t)return g.flags|=1048576,d;if(p=g.alternate,p!==null)return p=p.index,p<d?(g.flags|=2,d):p;return g.flags|=134217730,d}function r(g){return t&&g.alternate===null&&(g.flags|=134217730),g}function l(g,d,p,v){if(d===null||d.tag!==6)return d=Df(p,g.mode,v),d.return=g,d;return d=a(d,p),d.return=g,d}function u(g,d,p,v){var b=p.type;if(b===$a)return g=s(g,d,p.props.children,v,p.key),Wn(g,p),g;if(d!==null&&(d.elementType===b||typeof b==="object"&&b!==null&&b.$$typeof===ni&&Zi(b)===d.type))return d=a(d,p.props),Wn(d,p),d.return=g,d;return d=Gs(p.type,p.key,p.props,null,g.mode,v),Wn(d,p),d.return=g,d}function c(g,d,p,v){if(d===null||d.tag!==4||d.stateNode.containerInfo!==p.containerInfo||d.stateNode.implementation!==p.implementation)return d=zf(p,g.mode,v),d.return=g,d;return d=a(d,p.children||[]),d.return=g,d}function s(g,d,p,v,b){if(d===null||d.tag!==7)return d=Ji(p,g.mode,v,b),d.return=g,d;return d=a(d,p),d.return=g,d}function m(g,d,p){if(typeof d==="string"&&d!==""||typeof d==="number"||typeof d==="bigint")return d=Df(""+d,g.mode,p),d.return=g,d;if(typeof d==="object"&&d!==null){switch(d.$$typeof){case ys:return p=Gs(d.type,d.key,d.props,null,g.mode,p),Wn(p,d),p.return=g,p;case Tr:return d=zf(d,g.mode,p),d.return=g,d;case ni:return d=Zi(d),m(g,d,p)}if(Er(d)||yr(d))return d=Ji(d,g.mode,p,null),d.return=g,d;if(typeof d.then==="function")return m(g,Ms(d),p);if(d.$$typeof===fn)return m(g,Es(g,d),p);As(g,d)}return null}function f(g,d,p,v){var b=d!==null?d.key:null;if(typeof p==="string"&&p!==""||typeof p==="number"||typeof p==="bigint")return b!==null?null:l(g,d,""+p,v);if(typeof p==="object"&&p!==null){switch(p.$$typeof){case ys:return p.key===b?u(g,d,p,v):null;case Tr:return p.key===b?c(g,d,p,v):null;case ni:return p=Zi(p),f(g,d,p,v)}if(Er(p)||yr(p))return b!==null?null:s(g,d,p,v,null);if(typeof p.then==="function")return f(g,d,Ms(p),v);if(p.$$typeof===fn)return f(g,d,Es(g,p),v);As(g,p)}return null}function h(g,d,p,v,b){if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return g=g.get(p)||null,l(d,g,""+v,b);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case ys:return g=g.get(v.key===null?p:v.key)||null,u(d,g,v,b);case Tr:return g=g.get(v.key===null?p:v.key)||null,c(d,g,v,b);case ni:return v=Zi(v),h(g,d,p,v,b)}if(Er(v)||yr(v))return g=g.get(p)||null,s(d,g,v,b,null);if(typeof v.then==="function")return h(g,d,p,Ms(v),b);if(v.$$typeof===fn)return h(g,d,p,Es(d,v),b);As(d,v)}return null}function y(g,d,p,v){for(var b=null,w=null,S=d,E=d=0,M=null;S!==null&&E<p.length;E++){S.index>E?(M=S,S=null):M=S.sibling;var O=f(g,S,p[E],v);if(O===null){S===null&&(S=M);break}t&&S&&O.alternate===null&&e(g,S),d=o(O,d,E),w===null?b=O:w.sibling=O,w=O,S=M}if(E===p.length)return n(g,S),Y&&Vn(g,E),b;if(S===null){for(;E<p.length;E++)S=m(g,p[E],v),S!==null&&(d=o(S,d,E),w===null?b=S:w.sibling=S,w=S);return Y&&Vn(g,E),b}for(S=i(S);E<p.length;E++)M=h(S,g,E,p[E],v),M!==null&&(t&&(O=M.alternate,O!==null&&S.delete(O.key===null?E:O.key)),d=o(M,d,E),w===null?b=M:w.sibling=M,w=M);return t&&S.forEach(function(L){return e(g,L)}),Y&&Vn(g,E),b}function x(g,d,p,v){if(p==null)throw Error(C(151));for(var b=null,w=null,S=d,E=d=0,M=null,O=p.next();S!==null&&!O.done;E++,O=p.next()){S.index>E?(M=S,S=null):M=S.sibling;var L=f(g,S,O.value,v);if(L===null){S===null&&(S=M);break}t&&S&&L.alternate===null&&e(g,S),d=o(L,d,E),w===null?b=L:w.sibling=L,w=L,S=M}if(O.done)return n(g,S),Y&&Vn(g,E),b;if(S===null){for(;!O.done;E++,O=p.next())O=m(g,O.value,v),O!==null&&(d=o(O,d,E),w===null?b=O:w.sibling=O,w=O);return Y&&Vn(g,E),b}for(S=i(S);!O.done;E++,O=p.next())O=h(S,g,E,O.value,v),O!==null&&(t&&(M=O.alternate,M!==null&&S.delete(M.key===null?E:M.key)),d=o(O,d,E),w===null?b=O:w.sibling=O,w=O);return t&&S.forEach(function(yt){return e(g,yt)}),Y&&Vn(g,E),b}function T(g,d,p,v){if(typeof p==="object"&&p!==null&&p.type===$a&&p.key===null&&p.props.ref===void 0&&(p=p.props.children),typeof p==="object"&&p!==null){switch(p.$$typeof){case ys:t:{for(var b=p.key;d!==null;){if(d.key===b){if(b=p.type,b===$a){if(d.tag===7){n(g,d.sibling),v=a(d,p.props.children),Wn(v,p),v.return=g,g=v;break t}}else if(d.elementType===b||typeof b==="object"&&b!==null&&b.$$typeof===ni&&Zi(b)===d.type){n(g,d.sibling),v=a(d,p.props),Wn(v,p),v.return=g,g=v;break t}n(g,d);break}else e(g,d);d=d.sibling}p.type===$a?(v=Ji(p.props.children,g.mode,v,p.key),Wn(v,p),v.return=g,g=v):(v=Gs(p.type,p.key,p.props,null,g.mode,v),Wn(v,p),v.return=g,g=v)}return r(g);case Tr:t:{for(b=p.key;d!==null;){if(d.key===b)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(g,d.sibling),v=a(d,p.children||[]),v.return=g,g=v;break t}else{n(g,d);break}else e(g,d);d=d.sibling}v=zf(p,g.mode,v),v.return=g,g=v}return r(g);case ni:return p=Zi(p),T(g,d,p,v)}if(Er(p))return y(g,d,p,v);if(yr(p)){if(b=yr(p),typeof b!=="function")throw Error(C(150));return p=b.call(p),x(g,d,p,v)}if(typeof p.then==="function")return T(g,d,Ms(p),v);if(p.$$typeof===fn)return T(g,d,Es(g,p),v);As(g,p)}return typeof p==="string"&&p!==""||typeof p==="number"||typeof p==="bigint"?(p=""+p,d!==null&&d.tag===6?(n(g,d.sibling),v=a(d,p),v.return=g,g=v):(n(g,d),v=Df(p,g.mode,v),v.return=g,g=v),r(g)):n(g,d)}return function(g,d,p,v){try{Jr=0;var b=T(g,d,p,v);return so=null,b}catch(S){if(S===Vo||S===Hu)throw S;var w=pe(29,S,null,g.mode);return w.lanes=v,w.return=g,w}finally{}}}var aa=tv(!0),ev=tv(!1),ii=!1;function wd(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function xm(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function di(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function pi(t,e,n){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(tt&2)!==0){var a=i.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),i.pending=e,e=ru(t),Qy(t,null,n),e}return Bu(t,i,e,n),ru(t)}function Br(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,vy(t,n)}}function _f(t,e){var{updateQueue:n,alternate:i}=t;if(i!==null&&(i=i.updateQueue,n===i)){var a=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var r={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?a=o=r:o=o.next=r,n=n.next}while(n!==null);o===null?a=o=e:o=o.next=e}else a=o=e;n={baseState:i.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:i.shared,callbacks:i.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var bm=!1;function Ur(){if(bm){var t=lo;if(t!==null)throw t}}function Hr(t,e,n,i){bm=!1;var a=t.updateQueue;ii=!1;var{firstBaseUpdate:o,lastBaseUpdate:r}=a,l=a.shared.pending;if(l!==null){a.shared.pending=null;var u=l,c=u.next;u.next=null,r===null?o=c:r.next=c,r=u;var s=t.alternate;s!==null&&(s=s.updateQueue,l=s.lastBaseUpdate,l!==r&&(l===null?s.firstBaseUpdate=c:l.next=c,s.lastBaseUpdate=u))}if(o!==null){var m=a.baseState;r=0,s=c=u=null,l=o;do{var f=l.lane&-536870913,h=f!==l.lane;if(h?(k&f)===f:(i&f)===f){f!==0&&f===ia&&(bm=!0),s!==null&&(s=s.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});t:{var y=t,x=l;f=e;var T=n;switch(x.tag){case 1:if(y=x.payload,typeof y==="function"){m=y.call(T,m,f);break t}m=y;break t;case 3:y.flags=y.flags&-65537|128;case 0:if(y=x.payload,f=typeof y==="function"?y.call(T,m,f):y,f===null||f===void 0)break t;m=ft({},m,f);break t;case 2:ii=!0}}f=l.callback,f!==null&&(t.flags|=64,h&&(t.flags|=8192),h=a.callbacks,h===null?a.callbacks=[f]:h.push(f))}else h={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},s===null?(c=s=h,u=m):s=s.next=h,r|=f;if(l=l.next,l===null)if(l=a.shared.pending,l===null)break;else h=l,l=h.next,h.next=null,a.lastBaseUpdate=h,a.shared.pending=null}while(1);s===null&&(u=m),a.baseState=u,a.firstBaseUpdate=c,a.lastBaseUpdate=s,o===null&&(a.shared.lanes=0),Ai|=r,t.lanes=r,t.memoizedState=m}}function nv(t,e){if(typeof t!=="function")throw Error(C(191,t));t.call(e)}function iv(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)nv(n[t],e)}var Ei=vn(null),fu=vn(0);function n0(t,e){t=Gn,gt(fu,t),gt(Ei,e),Gn=t|e.baseLanes}function Sm(){gt(fu,Gn),gt(Ei,Ei.current)}function Od(){Gn=fu.current,Qt(Ei),Qt(fu)}var kt=vn(null),ne=null;function hi(t){var e=t.alternate;gt($t,$t.current&1),gt(kt,t),ne===null&&(e===null||Ei.current!==null?ne=t:e.memoizedState!==null&&(ne=t))}function Tm(t){gt($t,$t.current),gt(kt,t),ne===null&&(ne=t)}function av(t){t.tag===22?(gt($t,$t.current),gt(kt,t),ne===null&&(ne=t)):gi()}function gi(){gt($t,$t.current),gt(kt,kt.current)}function Ee(t){Qt(kt),ne===t&&(ne=null),Qt($t)}var $t=vn(0);function Pr(t,e){gt(kt,kt.current),gt($t,e)}function Nd(t){Qt($t),Qt(kt),ne===t&&(ne=null)}function mu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||ad(n)||np(n)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!=="independent"){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Un=0,j=null,st=null,Vt=null,du=!1,uo=!1,oa=!1,pu=0,Ir=0,co=null,w2=0;function Mt(){throw Error(C(321))}function Vd(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Ve(t[n],e[n]))return!1;return!0}function Dd(t,e,n,i,a,o){return Un=o,j=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,B.H=t===null||t.memoizedState===null?Bv:Uv,oa=!1,o=n(i,a),oa=!1,uo&&(o=rv(e,n,i,a)),ov(t),o}function ov(t){B.H=hu;var e=st!==null&&st.next!==null;if(Un=0,Vt=st=j=null,du=!1,Ir=0,co=null,e)throw Error(C(300));t===null||zt||(t=t.dependencies,t!==null&&uu(t)&&(zt=!0))}function rv(t,e,n,i){j=t;var a=0;do{if(uo&&(co=null),Ir=0,uo=!1,25<=a)throw Error(C(301));if(a+=1,Vt=st=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}B.H=B2,o=e(n,i)}while(uo);return o}function O2(){var t=B.H,e=t.useState()[0];return e=typeof e.then==="function"?dl(e):e,t=t.useState()[0],(st!==null?st.memoizedState:null)!==t&&(j.flags|=1024),e}function zd(){var t=pu!==0;return pu=0,t}function Rd(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function _d(t){if(du){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}du=!1}Un=0,Vt=st=j=null,uo=!1,Ir=pu=0,co=null}function se(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Vt===null?j.memoizedState=Vt=t:Vt=Vt.next=t,Vt}function wt(){if(st===null){var t=j.alternate;t=t!==null?t.memoizedState:null}else t=st.next;var e=Vt===null?j.memoizedState:Vt.next;if(e!==null)Vt=e,st=t;else{if(t===null){if(j.alternate===null)throw Error(C(467));throw Error(C(310))}st=t,t={memoizedState:st.memoizedState,baseState:st.baseState,baseQueue:st.baseQueue,queue:st.queue,next:null},Vt===null?j.memoizedState=Vt=t:Vt=Vt.next=t}return Vt}function Lu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function dl(t){var e=Ir;return Ir+=1,co===null&&(co=[]),t=Wy(co,t,e),e=j,(Vt===null?e.memoizedState:Vt.next)===null&&(e=e.alternate,B.H=e===null||e.memoizedState===null?Bv:Uv),t}function Gu(t){if(t!==null&&typeof t==="object"){if(typeof t.then==="function")return dl(t);if(t.$$typeof===uE)return;if(t.$$typeof===fn)return Zt(t)}throw Error(C(438,String(t)))}function Bd(t){var e=null,n=j.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var i=j.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(a){return a.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=Lu(),j.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),i=0;i<t;i++)n[i]=sE;return e.index++,n}function Hn(t,e){return typeof e==="function"?e(t):e}function Ys(t){var e=wt();return Ud(e,st,t)}function Ud(t,e,n){var i=t.queue;if(i===null)throw Error(C(311));i.lastRenderedReducer=n;var a=t.baseQueue,o=i.pending;if(o!==null){if(a!==null){var r=a.next;a.next=o.next,o.next=r}e.baseQueue=a=o,i.pending=null}if(o=t.baseState,a===null)t.memoizedState=o;else{e=a.next;var l=r=null,u=null,c=e,s=!1;do{var m=c.lane&-536870913;if(m!==c.lane?(k&m)===m:(Un&m)===m){var f=c.revertLane;if(f===0)u!==null&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),m===ia&&(s=!0);else if((Un&f)===f){c=c.next,f===ia&&(s=!0);continue}else m={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},u===null?(l=u=m,r=o):u=u.next=m,j.lanes|=f,Ai|=f;m=c.action,oa&&n(o,m),o=c.hasEagerState?c.eagerState:n(o,m)}else f={lane:m,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},u===null?(l=u=f,r=o):u=u.next=f,j.lanes|=m,Ai|=m;c=c.next}while(c!==null&&c!==e);if(u===null?r=o:u.next=l,!Ve(o,t.memoizedState)&&(zt=!0,s&&(n=lo,n!==null)))throw n;t.memoizedState=o,t.baseState=r,t.baseQueue=u,i.lastRenderedState=o}return a===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}function Bf(t){var e=wt(),n=e.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=t;var{dispatch:i,pending:a}=n,o=e.memoizedState;if(a!==null){n.pending=null;var r=a=a.next;do o=t(o,r.action),r=r.next;while(r!==a);Ve(o,e.memoizedState)||(zt=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,i]}function lv(t,e,n){var i=j,a=wt(),o=Y;if(o){if(n===void 0)throw Error(C(407));n=n()}else n=e();var r=!Ve((st||a).memoizedState,n);if(r&&(a.memoizedState=n,zt=!0),a=a.queue,Hd(cv.bind(null,i,a,t),[t]),t=a.getSnapshot!==e||r||Vt!==null&&(Vt.memoizedState.tag&1)!==0,vo(t?9:8,{destroy:void 0},uv.bind(null,i,a,n,e),null),t){if(i.flags|=2048,ct===null)throw Error(C(349));o||(Un&127)!==0||sv(i,e,n)}return n}function sv(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=j.updateQueue,e===null?(e=Lu(),j.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function uv(t,e,n,i){e.value=n,e.getSnapshot=i,fv(e)&&mv(t)}function cv(t,e,n){return n(function(){fv(e)&&mv(t)})}function fv(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Ve(t,n)}catch(i){return!0}}function mv(t){var e=fa(t,2);e!==null&&he(e,t,2)}function Em(t){var e=se();if(typeof t==="function"){var n=t;if(t=n(),oa){oi(!0);try{n()}finally{oi(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hn,lastRenderedState:t},e}function dv(t,e,n,i){return t.baseState=n,Ud(t,st,typeof i==="function"?i:Hn)}function N2(t,e,n,i,a){if(qu(t))throw Error(C(485));if(t=e.action,t!==null){var o={payload:a,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(r){o.listeners.push(r)}};B.T!==null?n(!0):o.isTransition=!1,i(o),n=e.pending,n===null?(o.next=e.pending=o,pv(e,o)):(o.next=n.next,e.pending=n.next=o)}}function pv(t,e){var{action:n,payload:i}=e,a=t.state;if(e.isTransition){var o=B.T,r={};r.types=o!==null?o.types:null,B.T=r;try{var l=n(a,i),u=B.S;u!==null&&u(r,l),i0(t,e,l)}catch(c){Mm(t,e,c)}finally{o!==null&&r.types!==null&&(o.types=r.types),B.T=o}}else try{o=n(a,i),i0(t,e,o)}catch(c){Mm(t,e,c)}}function i0(t,e,n){n!==null&&typeof n==="object"&&typeof n.then==="function"?n.then(function(i){a0(t,e,i)},function(i){return Mm(t,e,i)}):a0(t,e,n)}function a0(t,e,n){e.status="fulfilled",e.value=n,hv(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,pv(t,n)))}function Mm(t,e,n){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=n,hv(e),e=e.next;while(e!==i)}t.action=null}function hv(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function gv(t,e){return e}function o0(t,e){if(Y){var n=ct.formState;if(n!==null){t:{var i=j;if(Y){if(ht){e:{var a=ht;for(var o=Ye;a.nodeType!==8;){if(!o){a=null;break e}if(a=Xe(a.nextSibling),a===null){a=null;break e}}o=a.data,a=o==="F!"||o==="F"?a:null}if(a){ht=Xe(a.nextSibling),i=a.data==="F!";break t}}Ti(i)}i=!1}i&&(e=n[0])}}return n=se(),n.memoizedState=n.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gv,lastRenderedState:e},n.queue=i,n=zv.bind(null,j,i),i.dispatch=n,i=Em(!1),o=qd.bind(null,j,!1,i.queue),i=se(),a={state:e,dispatch:null,action:t,pending:null},i.queue=a,n=N2.bind(null,j,a,o,n),a.dispatch=n,i.memoizedState=t,[e,n,!1]}function r0(t){var e=wt();return yv(e,st,t)}function yv(t,e,n){if(e=Ud(t,e,gv)[0],t=Ys(Hn)[0],typeof e==="object"&&e!==null&&typeof e.then==="function")try{var i=dl(e)}catch(r){if(r===Vo)throw Hu;throw r}else i=e;e=wt();var a=e.queue,o=a.dispatch;return n!==e.memoizedState&&(j.flags|=2048,vo(9,{destroy:void 0},V2.bind(null,a,n),null)),[i,o,t]}function V2(t,e){t.action=e}function l0(t){var e=wt(),n=st;if(n!==null)return yv(e,n,t);wt(),e=e.memoizedState,n=wt();var i=n.queue.dispatch;return n.memoizedState=t,[e,i,!1]}function vo(t,e,n,i){return t={tag:t,create:n,deps:i,inst:e,next:null},e=j.updateQueue,e===null&&(e=Lu(),j.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(i=n.next,n.next=t,t.next=i,e.lastEffect=t),t}function vv(){return wt().memoizedState}function Xs(t,e,n,i){var a=se();j.flags|=t,a.memoizedState=vo(1|e,{destroy:void 0},n,i===void 0?null:i)}function ju(t,e,n,i){var a=wt();i=i===void 0?null:i;var o=a.memoizedState.inst;st!==null&&i!==null&&Vd(i,st.memoizedState.deps)?a.memoizedState=vo(e,o,n,i):(j.flags|=t,a.memoizedState=vo(1|e,o,n,i))}function s0(t,e){Xs(8390656,8,t,e)}function Hd(t,e){ju(2048,8,t,e)}function D2(t){j.flags|=4;var e=j.updateQueue;if(e===null)e=Lu(),j.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function xv(t){var e=wt().memoizedState;return D2({ref:e,nextImpl:t}),function(){if((tt&2)!==0)throw Error(C(440));return e.impl.apply(void 0,arguments)}}function bv(t,e){return ju(4,2,t,e)}function Sv(t,e){return ju(4,4,t,e)}function Tv(t,e){if(typeof e==="function"){t=t();var n=e(t);return function(){typeof n==="function"?n():e(null)}}if(e!==null&&e!==void 0)return t=t(),e.current=t,function(){e.current=null}}function Ev(t,e,n){n=n!==null&&n!==void 0?n.concat([t]):null,ju(4,4,Tv.bind(null,e,t),n)}function Ld(){}function Mv(t,e){var n=wt();e=e===void 0?null:e;var i=n.memoizedState;if(e!==null&&Vd(e,i[1]))return i[0];return n.memoizedState=[t,e],t}function Av(t,e){var n=wt();e=e===void 0?null:e;var i=n.memoizedState;if(e!==null&&Vd(e,i[1]))return i[0];if(i=t(),oa){oi(!0);try{t()}finally{oi(!1)}}return n.memoizedState=[i,e],i}function Gd(t,e,n){if(n===void 0||(Un&1073741824)!==0&&(k&261930)===0)return t.memoizedState=e;return t.memoizedState=n,t=y1(),j.lanes|=t,Ai|=t,n}function Cv(t,e,n,i){if(Ve(n,e))return n;if(Ei.current!==null)return t=Gd(t,n,i),Ve(t,e)||(zt=!0),t;if((Un&106)===0||(Un&1073741824)!==0&&(k&261930)===0)return zt=!0,t.memoizedState=n;return t=y1(),j.lanes|=t,Ai|=t,e}function wv(t,e,n,i,a){var o=et.p;et.p=o!==0&&8>o?o:8;var r=B.T,l={};l.types=r!==null?r.types:null,B.T=l,qd(t,!1,e,n);try{var u=a(),c=B.S;if(c!==null&&c(l,u),u!==null&&typeof u==="object"&&typeof u.then==="function"){var s=C2(u,i);Lr(t,e,s,Ne(t))}else Lr(t,e,i,Ne(t))}catch(m){Lr(t,e,{then:function(){},status:"rejected",reason:m},Ne())}finally{et.p=o,r!==null&&l.types!==null&&(r.types=l.types),B.T=r}}function z2(){}function Am(t,e,n,i){if(t.tag!==5)throw Error(C(476));var a=Ov(t).queue;wv(t,a,e,ki,n===null?z2:function(){return Nv(t),n(i)})}function Ov(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:ki,baseState:ki,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hn,lastRenderedState:ki},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Nv(t){var e=Ov(t);e.next===null&&(e=t.alternate.memoizedState),Lr(t,e.next.queue,{},Ne())}function jd(){return Zt(Ao)}function Vv(){return wt().memoizedState}function Dv(){return wt().memoizedState}function R2(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Ne();t=di(n);var i=pi(e,t,n);i!==null&&(he(i,e,n),Br(i,e,n)),e={cache:Md()},t.payload=e;return}e=e.return}}function _2(t,e,n){var i=Ne();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},qu(t)?Rv(e,n):(n=Sd(t,e,n,i),n!==null&&(he(n,t,i),_v(n,e,i)))}function zv(t,e,n){var i=Ne();Lr(t,e,n,i)}function Lr(t,e,n,i){var a={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(qu(t))Rv(e,a);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var r=e.lastRenderedState,l=o(r,n);if(a.hasEagerState=!0,a.eagerState=l,Ve(l,r))return Bu(t,e,a,0),ct===null&&_u(),!1}catch(u){}finally{}if(n=Sd(t,e,a,i),n!==null)return he(n,t,i),_v(n,e,i),!0}return!1}function qd(t,e,n,i){if(i={lane:2,revertLane:Id(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},qu(t)){if(e)throw Error(C(479))}else e=Sd(t,n,i,2),e!==null&&he(e,t,2)}function qu(t){var e=t.alternate;return t===j||e!==null&&e===j}function Rv(t,e){uo=du=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function _v(t,e,n){if((n&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,vy(t,n)}}var hu={readContext:Zt,use:Gu,useCallback:Mt,useContext:Mt,useEffect:Mt,useImperativeHandle:Mt,useLayoutEffect:Mt,useInsertionEffect:Mt,useMemo:Mt,useReducer:Mt,useRef:Mt,useState:Mt,useDebugValue:Mt,useDeferredValue:Mt,useTransition:Mt,useSyncExternalStore:Mt,useId:Mt,useHostTransitionStatus:Mt,useFormState:Mt,useActionState:Mt,useOptimistic:Mt,useMemoCache:Mt,useCacheRefresh:Mt,useEffectEvent:Mt},Bv={readContext:Zt,use:Gu,useCallback:function(t,e){return se().memoizedState=[t,e===void 0?null:e],t},useContext:Zt,useEffect:s0,useImperativeHandle:function(t,e,n){n=n!==null&&n!==void 0?n.concat([t]):null,Xs(4194308,4,Tv.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Xs(4194308,4,t,e)},useInsertionEffect:function(t,e){Xs(4,2,t,e)},useMemo:function(t,e){var n=se();e=e===void 0?null:e;var i=t();if(oa){oi(!0);try{t()}finally{oi(!1)}}return n.memoizedState=[i,e],i},useReducer:function(t,e,n){var i=se();if(n!==void 0){var a=n(e);if(oa){oi(!0);try{n(e)}finally{oi(!1)}}}else a=e;return i.memoizedState=i.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},i.queue=t,t=t.dispatch=_2.bind(null,j,t),[i.memoizedState,t]},useRef:function(t){var e=se();return t={current:t},e.memoizedState=t},useState:function(t){t=Em(t);var e=t.queue,n=zv.bind(null,j,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Ld,useDeferredValue:function(t,e){var n=se();return Gd(n,t,e)},useTransition:function(){var t=Em(!1);return t=wv.bind(null,j,t.queue,!0,!1),se().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var i=j,a=se();if(Y){if(n===void 0)throw Error(C(407));n=n()}else{if(n=e(),ct===null)throw Error(C(349));(k&127)!==0||sv(i,e,n)}a.memoizedState=n;var o={value:n,getSnapshot:e};return a.queue=o,s0(cv.bind(null,i,o,t),[t]),i.flags|=2048,vo(9,{destroy:void 0},uv.bind(null,i,o,n,e),null),n},useId:function(){var t=se(),e=ct.identifierPrefix;if(Y){var n=pn,i=dn;n=(i&~(1<<32-Oe(i)-1)).toString(32)+n,e="_"+e+"R_"+n,n=pu++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=w2++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:jd,useFormState:o0,useActionState:o0,useOptimistic:function(t){var e=se();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=qd.bind(null,j,!0,n),n.dispatch=e,[t,e]},useMemoCache:Bd,useCacheRefresh:function(){return se().memoizedState=R2.bind(null,j)},useEffectEvent:function(t){var e=se(),n={impl:t};return e.memoizedState=n,function(){if((tt&2)!==0)throw Error(C(440));return n.impl.apply(void 0,arguments)}}},Uv={readContext:Zt,use:Gu,useCallback:Mv,useContext:Zt,useEffect:Hd,useImperativeHandle:Ev,useInsertionEffect:bv,useLayoutEffect:Sv,useMemo:Av,useReducer:Ys,useRef:vv,useState:function(){return Ys(Hn)},useDebugValue:Ld,useDeferredValue:function(t,e){var n=wt();return Cv(n,st.memoizedState,t,e)},useTransition:function(){var t=Ys(Hn)[0],e=wt().memoizedState;return[typeof t==="boolean"?t:dl(t),e]},useSyncExternalStore:lv,useId:Vv,useHostTransitionStatus:jd,useFormState:r0,useActionState:r0,useOptimistic:function(t,e){var n=wt();return dv(n,st,t,e)},useMemoCache:Bd,useCacheRefresh:Dv,useEffectEvent:xv},B2={readContext:Zt,use:Gu,useCallback:Mv,useContext:Zt,useEffect:Hd,useImperativeHandle:Ev,useInsertionEffect:bv,useLayoutEffect:Sv,useMemo:Av,useReducer:Bf,useRef:vv,useState:function(){return Bf(Hn)},useDebugValue:Ld,useDeferredValue:function(t,e){var n=wt();return st===null?Gd(n,t,e):Cv(n,st.memoizedState,t,e)},useTransition:function(){var t=Bf(Hn)[0],e=wt().memoizedState;return[typeof t==="boolean"?t:dl(t),e]},useSyncExternalStore:lv,useId:Vv,useHostTransitionStatus:jd,useFormState:l0,useActionState:l0,useOptimistic:function(t,e){var n=wt();if(st!==null)return dv(n,st,t,e);return n.baseState=t,[t,n.queue.dispatch]},useMemoCache:Bd,useCacheRefresh:Dv,useEffectEvent:xv};function Uf(t,e,n,i){e=t.memoizedState,n=n(i,e),n=n===null||n===void 0?e:ft({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Cm={enqueueSetState:function(t,e,n){t=t._reactInternals;var i=Ne(),a=di(i);a.payload=e,n!==void 0&&n!==null&&(a.callback=n),e=pi(t,a,i),e!==null&&(he(e,t,i),Br(e,t,i))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var i=Ne(),a=di(i);a.tag=1,a.payload=e,n!==void 0&&n!==null&&(a.callback=n),e=pi(t,a,i),e!==null&&(he(e,t,i),Br(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Ne(),i=di(n);i.tag=2,e!==void 0&&e!==null&&(i.callback=e),e=pi(t,i,n),e!==null&&(he(e,t,n),Br(e,t,n))}};function u0(t,e,n,i,a,o,r){return t=t.stateNode,typeof t.shouldComponentUpdate==="function"?t.shouldComponentUpdate(i,o,r):e.prototype&&e.prototype.isPureReactComponent?!$r(n,i)||!$r(a,o):!0}function c0(t,e,n,i){t=e.state,typeof e.componentWillReceiveProps==="function"&&e.componentWillReceiveProps(n,i),typeof e.UNSAFE_componentWillReceiveProps==="function"&&e.UNSAFE_componentWillReceiveProps(n,i),e.state!==t&&Cm.enqueueReplaceState(e,e.state,null)}function ra(t,e){var n=e;if("ref"in e){n={};for(var i in e)i!=="ref"&&(n[i]=e[i])}if(t=t.defaultProps){n===e&&(n=ft({},n));for(var a in t)n[a]===void 0&&(n[a]=t[a])}return n}function Hv(t){ou(t)}function Lv(t){console.error(t)}function Gv(t){ou(t)}function gu(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(i){setTimeout(function(){throw i})}}function f0(t,e,n){try{var i=t.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function wm(t,e,n){return n=di(n),n.tag=3,n.payload={element:null},n.callback=function(){gu(t,e)},n}function jv(t){return t=di(t),t.tag=3,t}function qv(t,e,n,i){var a=n.type.getDerivedStateFromError;if(typeof a==="function"){var o=i.value;t.payload=function(){return a(o)},t.callback=function(){f0(e,n,i)}}var r=n.stateNode;r!==null&&typeof r.componentDidCatch==="function"&&(t.callback=function(){f0(e,n,i),typeof a!=="function"&&(yi===null?yi=new Set([this]):yi.add(this));var l=i.stack;this.componentDidCatch(i.value,{componentStack:l!==null?l:""})})}function U2(t,e,n,i,a){if(n.flags|=32768,i!==null&&typeof i==="object"&&typeof i.then==="function"){if(e=n.alternate,e!==null&&ea(e,n,a,!0),n=kt.current,n!==null){switch(n.tag){case 31:case 13:case 19:return ne===null?Mu():n.alternate===null&&At===0&&(At=3),n.flags&=-257,n.flags|=65536,n.lanes=a,i===cu?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([i]):e.add(i),Xf(t,i,a)),!1;case 22:return n.flags|=65536,i===cu?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([i]):n.add(i)),Xf(t,i,a)),!1}throw Error(C(435,n.tag))}return Xf(t,i,a),Mu(),!1}if(Y)return e=kt.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,i!==hm&&(t=Error(C(422),{cause:i}),kr(qe(t,n)))):(i!==hm&&(e=Error(C(423),{cause:i}),kr(qe(e,n))),t=t.current.alternate,t.flags|=65536,a&=-a,t.lanes|=a,i=qe(i,n),a=wm(t.stateNode,i,a),_f(t,a),At!==4&&(At=2)),!1;var o=Error(C(520),{cause:i});if(o=qe(o,n),Yr===null?Yr=[o]:Yr.push(o),At!==4&&(At=2),e===null)return!0;i=qe(i,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=a&-a,n.lanes|=t,t=wm(n.stateNode,i,t),_f(n,t),!1;case 1:if(e=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError==="function"||o!==null&&typeof o.componentDidCatch==="function"&&(yi===null||!yi.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=jv(a),qv(a,t,n,i),_f(n,a),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var Yd=Error(C(461)),zt=!1;function _t(t,e,n,i){e.child=t===null?ev(e,null,n,i):aa(e,t.child,n,i)}function m0(t,e,n,i,a){n=n.render;var o=e.ref;if("ref"in i){var r={};for(var l in i)l!=="ref"&&(r[l]=i[l])}else r=i;if(na(e),i=Dd(t,e,n,r,o,a),l=zd(),t!==null&&!zt)return Rd(t,e,a),Ln(t,e,a);return Y&&l&&Uu(e),e.flags|=1,_t(t,e,i,a),e.child}function d0(t,e,n,i,a){if(t===null){var o=n.type;if(typeof o==="function"&&!Td(o)&&o.defaultProps===void 0&&n.compare===null)return e.tag=15,e.type=o,Yv(t,e,o,i,a);return t=Gs(n.type,null,i,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t}if(o=t.child,!Kd(t,a)){var r=o.memoizedProps;if(n=n.compare,n=n!==null?n:$r,n(r,i)&&t.ref===e.ref)return Ln(t,e,a)}return e.flags|=1,t=zn(o,i),t.ref=e.ref,t.return=e,e.child=t}function Yv(t,e,n,i,a){if(t!==null){var o=t.memoizedProps;if($r(o,i)&&t.ref===e.ref)if(zt=!1,e.pendingProps=i=o,Kd(t,a))(t.flags&131072)!==0&&(zt=!0);else return e.lanes=t.lanes,Ln(t,e,a)}return Om(t,e,n,i,a)}function Xv(t,e,n,i){var a=i.children,o=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((e.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,t!==null){i=e.child=t.child;for(a=0;i!==null;)a=a|i.lanes|i.childLanes,i=i.sibling;i=a&~o}else i=0,e.child=null;return p0(t,e,o,n,i)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&qs(e,o!==null?o.cachePool:null),o!==null?n0(e,o):Sm(),av(e);else return i=e.lanes=536870912,p0(t,e,o!==null?o.baseLanes|n:n,n,i)}else o!==null?(qs(e,o.cachePool),n0(e,o),gi(),e.memoizedState=null):(t!==null&&qs(e,null),Sm(),gi());return _t(t,e,a,n),e.child}function Gr(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function p0(t,e,n,i,a){var o=Ad();return o=o===null?null:{parent:Dt._currentValue,pool:o},e.memoizedState={baseLanes:n,cachePool:o},t!==null&&qs(e,null),Sm(),av(e),t!==null&&ea(t,e,i,!0),e.childLanes=a,null}function Ks(t,e){return e=Yu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function h0(t,e,n){return aa(e,t.child,null,n),t=Ks(e,e.pendingProps),t.flags|=2,Ee(e),e.memoizedState=null,t}function H2(t,e,n){var i=e.pendingProps,a=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(Y){if(i.mode==="hidden")return t=Ks(e,i),e.lanes=536870912,t.memoizedState={baseLanes:0,cachePool:null},Gr(null,t);if(Tm(e),(t=ht)?(t=X1(t,Ye),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Si!==null?{id:dn,overflow:pn}:null,retryLane:536870912,hydrationErrors:null},n=Fy(t),n.return=e,e.child=n,Yt=e,ht=null)):t=null,t===null)throw Ti(e);return e.lanes=536870912,null}return Ks(e,i)}var o=t.memoizedState;if(o!==null){var r=o.dehydrated;if(Tm(e),a)if(e.flags&256)e.flags&=-257,e=h0(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(C(558));else if(zt||ea(t,e,n,!1),a=(n&t.childLanes)!==0,zt||a){if(Ei.current===null){if(i=ct,i!==null&&(r=xy(i,n),r!==0&&r!==o.retryLane))throw o.retryLane=r,fa(t,r),he(i,t,r),Yd;Mu()}e=h0(t,e,n)}else t=o.treeContext,ht=Xe(r.nextSibling),Yt=e,Y=!0,mi=null,Ye=!1,t!==null&&Jy(e,t),e=Ks(e,i),e.flags|=134221824;return e}return t=zn(t.child,{mode:i.mode,children:i.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Ya(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!=="function"&&typeof n!=="object")throw Error(C(284));if(t===null||t.ref!==n)e.flags|=4194816}}function Om(t,e,n,i,a){if(na(e),n=Dd(t,e,n,i,void 0,a),i=zd(),t!==null&&!zt)return Rd(t,e,a),Ln(t,e,a);return Y&&i&&Uu(e),e.flags|=1,_t(t,e,n,a),e.child}function g0(t,e,n,i,a,o){if(na(e),e.updateQueue=null,n=rv(e,i,n,a),ov(t),i=zd(),t!==null&&!zt)return Rd(t,e,o),Ln(t,e,o);return Y&&i&&Uu(e),e.flags|=1,_t(t,e,n,o),e.child}function y0(t,e,n,i,a){if(na(e),e.stateNode===null){var o=to,r=n.contextType;typeof r==="object"&&r!==null&&(o=Zt(r)),o=new n(i,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Cm,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=i,o.state=e.memoizedState,o.refs={},wd(e),r=n.contextType,o.context=typeof r==="object"&&r!==null?Zt(r):to,o.state=e.memoizedState,r=n.getDerivedStateFromProps,typeof r==="function"&&(Uf(e,n,r,i),o.state=e.memoizedState),typeof n.getDerivedStateFromProps==="function"||typeof o.getSnapshotBeforeUpdate==="function"||typeof o.UNSAFE_componentWillMount!=="function"&&typeof o.componentWillMount!=="function"||(r=o.state,typeof o.componentWillMount==="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==="function"&&o.UNSAFE_componentWillMount(),r!==o.state&&Cm.enqueueReplaceState(o,o.state,null),Hr(e,i,o,a),Ur(),o.state=e.memoizedState),typeof o.componentDidMount==="function"&&(e.flags|=4194308),i=!0}else if(t===null){o=e.stateNode;var l=e.memoizedProps,u=ra(n,l);o.props=u;var c=o.context,s=n.contextType;r=to,typeof s==="object"&&s!==null&&(r=Zt(s));var m=n.getDerivedStateFromProps;s=typeof m==="function"||typeof o.getSnapshotBeforeUpdate==="function",l=e.pendingProps!==l,s||typeof o.UNSAFE_componentWillReceiveProps!=="function"&&typeof o.componentWillReceiveProps!=="function"||(l||c!==r)&&c0(e,o,i,r),ii=!1;var f=e.memoizedState;o.state=f,Hr(e,i,o,a),Ur(),c=e.memoizedState,l||f!==c||ii?(typeof m==="function"&&(Uf(e,n,m,i),c=e.memoizedState),(u=ii||u0(e,n,u,i,f,c,r))?(s||typeof o.UNSAFE_componentWillMount!=="function"&&typeof o.componentWillMount!=="function"||(typeof o.componentWillMount==="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==="function"&&(e.flags|=4194308)):(typeof o.componentDidMount==="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=c),o.props=i,o.state=c,o.context=r,i=u):(typeof o.componentDidMount==="function"&&(e.flags|=4194308),i=!1)}else{o=e.stateNode,xm(t,e),r=e.memoizedProps,s=ra(n,r),o.props=s,m=e.pendingProps,f=o.context,c=n.contextType,u=to,typeof c==="object"&&c!==null&&(u=Zt(c)),l=n.getDerivedStateFromProps,(c=typeof l==="function"||typeof o.getSnapshotBeforeUpdate==="function")||typeof o.UNSAFE_componentWillReceiveProps!=="function"&&typeof o.componentWillReceiveProps!=="function"||(r!==m||f!==u)&&c0(e,o,i,u),ii=!1,f=e.memoizedState,o.state=f,Hr(e,i,o,a),Ur();var h=e.memoizedState;r!==m||f!==h||ii||t!==null&&t.dependencies!==null&&uu(t.dependencies)?(typeof l==="function"&&(Uf(e,n,l,i),h=e.memoizedState),(s=ii||u0(e,n,s,i,f,h,u)||t!==null&&t.dependencies!==null&&uu(t.dependencies))?(c||typeof o.UNSAFE_componentWillUpdate!=="function"&&typeof o.componentWillUpdate!=="function"||(typeof o.componentWillUpdate==="function"&&o.componentWillUpdate(i,h,u),typeof o.UNSAFE_componentWillUpdate==="function"&&o.UNSAFE_componentWillUpdate(i,h,u)),typeof o.componentDidUpdate==="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate==="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!=="function"||r===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!=="function"||r===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=h),o.props=i,o.state=h,o.context=u,i=s):(typeof o.componentDidUpdate!=="function"||r===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!=="function"||r===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),i=!1)}return o=i,Ya(t,e),i=(e.flags&128)!==0,o||i?(o=e.stateNode,n=i&&typeof n.getDerivedStateFromError!=="function"?null:o.render(),e.flags|=1,t!==null&&i?(e.child=aa(e,t.child,null,a),e.child=aa(e,null,n,a)):_t(t,e,n,a),e.memoizedState=o.state,t=e.child):t=Ln(t,e,a),t}function v0(t,e,n,i){return ta(),e.flags|=256,_t(t,e,n,i),e.child}var Nm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vm(t){return{baseLanes:t,cachePool:Iy()}}function Dm(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Ae),t}function Kv(t,e,n){var i=e.pendingProps,a=!1,o=(e.flags&128)!==0,r;if((r=o)||(r=t!==null&&t.memoizedState===null?!1:($t.current&2)!==0),r&&(a=!0,e.flags&=-129),r=(e.flags&32)!==0,e.flags&=-33,t===null){if(Y){if(a?hi(e):gi(),(t=ht)?(t=X1(t,Ye),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Si!==null?{id:dn,overflow:pn}:null,retryLane:536870912,hydrationErrors:null},n=Fy(t),n.return=e,e.child=n,Yt=e,ht=null)):t=null,t===null)throw Ti(e);return np(t)?e.lanes=32:e.lanes=536870912,null}if(o=i.children,i=i.fallback,a)return gi(),a=e.mode,o=Yu({mode:"hidden",children:o},a),i=Ji(i,a,n,null),o.return=e,i.return=e,o.sibling=i,e.child=o,i=e.child,i.memoizedState=Vm(n),i.childLanes=Dm(t,r,n),e.memoizedState=Nm,Gr(null,i);return hi(e),Xd(e,o)}var l=t.memoizedState;if(l!==null){var u=l.dehydrated;if(u!==null)return L2(t,e,o,r,i,u,l,n)}if(a)return gi(),a=i.fallback,o=e.mode,l=t.child,u=l.sibling,i=zn(l,{mode:"hidden",children:i.children}),i.subtreeFlags=l.subtreeFlags&1206910976,u!==null?a=zn(u,a):(a=Ji(a,o,n,null),a.flags|=2),a.return=e,i.return=e,i.sibling=a,e.child=i,Gr(null,i),i=e.child,a=t.child.memoizedState,a===null?a=Vm(n):(o=a.cachePool,o!==null?(l=Dt._currentValue,o=o.parent!==l?{parent:l,pool:l}:o):o=Iy(),a={baseLanes:a.baseLanes|n,cachePool:o}),i.memoizedState=a,i.childLanes=Dm(t,r,n),e.memoizedState=Nm,Gr(t.child,i);return hi(e),n=t.child,t=n.sibling,n=zn(n,{mode:"visible",children:i.children}),n.return=e,n.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n,e.memoizedState=null,n}function Xd(t,e){return e=Yu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Yu(t,e){return t=pe(22,t,null,e),t.lanes=0,t}function Cs(t,e,n){return aa(e,t.child,null,n),t=Xd(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function L2(t,e,n,i,a,o,r,l){if(n){if(e.flags&256)return hi(e),e.flags&=-257,Cs(t,e,l);if(e.memoizedState!==null)return gi(),e.child=t.child,e.flags|=128,null;return gi(),o=a.fallback,r=e.mode,a=Yu({mode:"visible",children:a.children},r),o=Ji(o,r,l,null),o.flags|=2,a.return=e,o.return=e,a.sibling=o,e.child=a,aa(e,t.child,null,l),a=e.child,a.memoizedState=Vm(l),a.childLanes=Dm(t,i,l),e.memoizedState=Nm,Gr(null,a)}if(hi(e),np(o)){if(i=o.nextSibling&&o.nextSibling.dataset,i)var u=i.dgst;return i=u,i!==""&&(a=Error(C(419)),a.stack="",a.digest=i,kr({value:a,source:null,stack:null})),Cs(t,e,l)}if(zt||ea(t,e,l,!1),i=(l&t.childLanes)!==0,zt||i){if(Ei.current!==null)return Cs(t,e,l);if(i=ct,i!==null&&(a=xy(i,l),a!==0&&a!==r.retryLane))throw r.retryLane=a,fa(t,a),he(i,t,a),Yd;return ad(o)||Mu(),Cs(t,e,l)}if(ad(o))return e.flags|=192,e.child=t.child,null;return t=r.treeContext,ht=Xe(o.nextSibling),Yt=e,Y=!0,mi=null,Ye=!1,t!==null&&Jy(e,t),e=Xd(e,a.children),e.flags|=134221824,e}function x0(t,e,n){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),js(t.return,e,n)}function b0(t){for(var e=null;t!==null;){var n=t.alternate;n!==null&&mu(n)===null&&(e=t),t=t.sibling}return e}function ws(t,e,n,i,a,o){var r=t.memoizedState;r===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:a,treeForkCount:o}:(r.isBackwards=e,r.rendering=null,r.renderingStartTime=0,r.last=i,r.tail=n,r.tailMode=a,r.treeForkCount=o)}function Hf(t){var e=t.child;for(t.child=null;e!==null;){var n=e.sibling;e.sibling=t.child,t.child=e,e=n}}function zm(t,e,n){var i=e.pendingProps,a=i.revealOrder,o=i.tail;i=i.children;var r=$t.current;if(e.flags&128)return Pr(e,r),null;var l=(r&2)!==0;if(l?(r=r&1|2,e.flags|=128):r&=1,Pr(e,r),a==="backwards"&&t!==null?(Hf(t),_t(t,e,i,n),Hf(t)):_t(t,e,i,n),i=Y?Fr:0,!l&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&x0(t,n,e);else if(t.tag===19)x0(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(a){case"backwards":n=b0(e.child),n===null?(a=e.child,e.child=null):(a=n.sibling,n.sibling=null,Hf(e)),ws(e,!0,a,null,o,i);break;case"unstable_legacy-backwards":n=null,a=e.child;for(e.child=null;a!==null;){if(t=a.alternate,t!==null&&mu(t)===null){e.child=a;break}t=a.sibling,a.sibling=n,n=a,a=t}ws(e,!0,n,null,o,i);break;case"together":ws(e,!1,null,null,void 0,i);break;case"independent":e.memoizedState=null;break;default:n=b0(e.child),n===null?(a=e.child,e.child=null):(a=n.sibling,n.sibling=null),ws(e,!1,a,n,o,i)}return e.child}function S0(t,e,n){var i=e.pendingProps;return li(e,e.type,i.value),_t(t,e,i.children,n),e.child}function Ln(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Ai|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(ea(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(C(153));if(e.child!==null){t=e.child,n=zn(t,t.pendingProps),e.child=n;for(n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=zn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Kd(t,e){if((t.lanes&e)!==0)return!0;return t=t.dependencies,t!==null&&uu(t)?!0:!1}function G2(t,e,n){switch(e.tag){case 3:eu(e,e.stateNode.containerInfo),li(e,Dt,t.memoizedState.cache),ta();break;case 27:case 5:om(e);break;case 4:eu(e,e.stateNode.containerInfo);break;case 10:li(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Tm(e),null;break;case 13:var i=e.memoizedState;if(i!==null){if(i.dehydrated!==null)return hi(e),e.flags|=128,null;i=ea(t,e,n,!1);var a=e.child.childLanes;if(i||(n&a)!==0)return Kv(t,e,n);return hi(e),t=Ln(t,e,n),t!==null?t.sibling:null}hi(e);break;case 19:if(e.flags&128)return zm(t,e,n);if(a=(t.flags&128)!==0,i=(n&e.childLanes)!==0,i||(ea(t,e,n,!1),i=(n&e.childLanes)!==0),a){if(i)return zm(t,e,n);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Pr(e,$t.current),i)break;else return null;case 22:return e.lanes=0,Xv(t,e,n,e.pendingProps);case 24:li(e,Dt,t.memoizedState.cache)}return Ln(t,e,n)}function Zv(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)zt=!0;else{if(!Kd(t,n)&&(e.flags&128)===0)return zt=!1,G2(t,e,n);zt=(t.flags&131072)!==0?!0:!1}else zt=!1,Y&&(e.flags&1048576)!==0&&ky(e,Fr,e.index);switch(e.lanes=0,e.tag){case 16:t:{var i=e.pendingProps;if(t=Zi(e.elementType),e.type=t,typeof t==="function")Td(t)?(i=ra(t,i),e.tag=1,e=y0(null,e,t,i,n)):(e.tag=0,e=Om(null,e,t,i,n));else{if(t!==void 0&&t!==null){var a=t.$$typeof;if(a===ud){e.tag=11,e=m0(null,e,t,i,n);break t}else if(a===cd){e.tag=14,e=d0(null,e,t,i,n);break t}else if(a===fn){e.tag=10,e.type=t,e=S0(null,e,n);break t}}throw e=im(t)||t,Error(C(306,e,""))}}return e;case 0:return Om(t,e,e.type,e.pendingProps,n);case 1:return i=e.type,a=ra(i,e.pendingProps),y0(t,e,i,a,n);case 3:t:{if(eu(e,e.stateNode.containerInfo),t===null)throw Error(C(387));i=e.pendingProps;var o=e.memoizedState;a=o.element,xm(t,e),Hr(e,i,null,n);var r=e.memoizedState;if(i=r.cache,li(e,Dt,i),i!==o.cache&&ym(e,[Dt],n,!0),Ur(),i=r.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:r.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=v0(t,e,i,n);break t}else if(i!==a){a=qe(Error(C(424)),e),kr(a),e=v0(t,e,i,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}ht=Xe(t.firstChild),Yt=e,Y=!0,mi=null,Ye=!0,n=ev(e,null,i,n);for(e.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(ta(),i===a){e=Ln(t,e,n);break t}_t(t,e,i,n)}e=e.child}return e;case 26:return Ya(t,e),t===null?(n=Q0(e.type,null,e.pendingProps,null))?e.memoizedState=n:Y||(e.stateNode=_1(e.type,e.pendingProps,fi.current,e)):e.memoizedState=Q0(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return om(e),t===null&&Y&&(i=e.stateNode=K1(e.type,e.pendingProps,fi.current),Yt=e,Ye=!0,a=ht,wi(e.type)?(od=a,ht=Xe(i.firstChild)):ht=a),_t(t,e,e.pendingProps.children,n),Ya(t,e),t===null&&(e.flags|=4194304),e.child;case 5:if(t===null&&Y){if(a=i=ht)i=DM(i,e.type,e.pendingProps,Ye),i!==null?(e.stateNode=i,Yt=e,ht=Xe(i.firstChild),Ye=!1,a=!0):a=!1;a||Ti(e)}return om(e),a=e.type,o=e.pendingProps,r=t!==null?t.memoizedProps:null,i=o.children,ed(a,o)?i=null:r!==null&&ed(a,r)&&(e.flags|=32),e.memoizedState!==null&&(a=Dd(t,e,O2,null,null,n),Ao._currentValue=a),Ya(t,e),_t(t,e,i,n),e.child;case 6:if(t===null&&Y){if(t=n=ht)n=zM(n,e.pendingProps,Ye),n!==null?(e.stateNode=n,Yt=e,ht=null,t=!0):t=!1;t||Ti(e)}return null;case 13:return Kv(t,e,n);case 4:return eu(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=aa(e,null,i,n):_t(t,e,i,n),e.child;case 11:return m0(t,e,e.type,e.pendingProps,n);case 7:return i=e.pendingProps,Ya(t,e),_t(t,e,i,n),e.child;case 8:return _t(t,e,e.pendingProps.children,n),e.child;case 12:return _t(t,e,e.pendingProps.children,n),e.child;case 10:return S0(t,e,n);case 9:return a=e.type._context,i=e.pendingProps.children,na(e),a=Zt(a),i=i(a),e.flags|=1,_t(t,e,i,n),e.child;case 14:return d0(t,e,e.type,e.pendingProps,n);case 15:return Yv(t,e,e.type,e.pendingProps,n);case 19:return zm(t,e,n);case 31:return H2(t,e,n);case 22:return Xv(t,e,n,e.pendingProps);case 24:return na(e),i=Zt(Dt),t===null?(a=Ad(),a===null&&(a=ct,o=Md(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),e.memoizedState={parent:i,cache:a},wd(e),li(e,Dt,a)):((t.lanes&n)!==0&&(xm(t,e),Hr(e,null,null,n),Ur()),a=t.memoizedState,o=e.memoizedState,a.parent!==i?(a={parent:i,cache:i},e.memoizedState=a,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=a),li(e,Dt,i)):(i=o.cache,li(e,Dt,i),i!==a.cache&&ym(e,[Dt],n,!0))),_t(t,e,e.pendingProps.children,n),e.child;case 30:return e.stateNode===null&&(e.stateNode={autoName:null,paired:null,clones:null,ref:null}),i=e.pendingProps,i.name!=null&&i.name!=="auto"?e.flags|=t===null?18882560:18874368:Y&&Uu(e),t!==null&&t.memoizedProps.name!==i.name?e.flags|=4194816:Ya(t,e),_t(t,e,i.children,n),e.child;case 29:throw e.pendingProps}throw Error(C(156,e.tag))}function Nn(t){t.flags|=4}function Lf(t,e,n,i,a){var o;if(o=(t.mode&32)!==0)o=n===null?k0(e,i):k0(e,i)&&(i.src!==n.src||i.srcSet!==n.srcSet);if(o){if(t.flags|=16777216,(a&335544128)===a)if(t.stateNode.complete)t.flags|=8192;else if(b1())t.flags|=8192;else throw Ii=cu,Cd}else t.flags&=-16777217}function T0(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!F1(e))if(b1())t.flags|=8192;else throw Ii=cu,Cd}function Os(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?gy():536870912,t.lanes|=e,xo|=e)}function xr(t,e){if(!Y)switch(t.tailMode){case"visible":break;case"collapsed":for(var n=t.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null;break;default:e=t.tail;for(n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null}}function pt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,i=0;if(e)for(var a=t.child;a!==null;)n|=a.lanes|a.childLanes,i|=a.subtreeFlags&1206910976,i|=a.flags&1206910976,a.return=t,a=a.sibling;else for(a=t.child;a!==null;)n|=a.lanes|a.childLanes,i|=a.subtreeFlags,i|=a.flags,a.return=t,a=a.sibling;return t.subtreeFlags|=i,t.childLanes=n,e}function j2(t,e,n){var i=e.pendingProps;switch(Ed(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(e),null;case 1:return pt(e),null;case 3:if(n=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),Rn(Dt),ho(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),t===null||t.child===null)ja(e)?Nn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Rf());return pt(e),null;case 26:var{type:a,memoizedState:o}=e;return t===null?(Nn(e),o!==null?(pt(e),T0(e,o)):(pt(e),Lf(e,a,null,i,n))):o?o!==t.memoizedState?(Nn(e),pt(e),T0(e,o)):(pt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==i&&Nn(e),pt(e),Lf(e,a,t,i,n)),null;case 27:if(nu(e),n=fi.current,a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&Nn(e);else{if(!i){if(e.stateNode===null)throw Error(C(166));return pt(e),e.subtreeFlags&=-33554433,null}t=hn.current,ja(e)?kg(e,t):(t=K1(a,i,n),e.stateNode=t,Nn(e))}return pt(e),e.subtreeFlags&=-33554433,null;case 5:if(nu(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&Nn(e);else{if(!i){if(e.stateNode===null)throw Error(C(166));return pt(e),e.subtreeFlags&=-33554433,null}if(o=hn.current,ja(e))kg(e,o);else{var r=el(fi.current);switch(o){case 1:o=r.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:o=r.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":o=r.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":o=r.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":o=r.createElement("div"),o.innerHTML="<script></script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof i.is==="string"?r.createElement("select",{is:i.is}):r.createElement("select"),i.multiple?o.multiple=!0:i.size&&(o.size=i.size);break;default:o=typeof i.is==="string"?r.createElement(a,{is:i.is}):r.createElement(a)}}o[Kt]=e,o[ye]=i;t:for(r=e.child;r!==null;){if(r.tag===5||r.tag===6)o.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break t;for(;r.sibling===null;){if(r.return===null||r.return===e)break t;r=r.return}r.sibling.return=r.return,r=r.sibling}e.stateNode=o;t:switch(Ft(o,a,i),a){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&Nn(e)}}return pt(e),e.subtreeFlags&=-33554433,Lf(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&Nn(e);else{if(typeof i!=="string"&&e.stateNode===null)throw Error(C(166));if(t=fi.current,ja(e)){if(t=e.stateNode,n=e.memoizedProps,i=null,a=Yt,a!==null)switch(a.tag){case 27:case 5:i=a.memoizedProps}t[Kt]=e,t=t.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||z1(t.nodeValue,n)?!0:!1,t||Ti(e,!0)}else t=el(t).createTextNode(i),t[Kt]=e,e.stateNode=t}return pt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(i=ja(e),n!==null){if(t===null){if(!i)throw Error(C(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(C(557));t[Kt]=e}else ta(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;pt(e),t=!1}else n=Rf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t){if(e.flags&256)return Ee(e),e;return Ee(e),null}if((e.flags&128)!==0)throw Error(C(558))}return pt(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=ja(e),i!==null&&i.dehydrated!==null){if(t===null){if(!a)throw Error(C(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(C(317));a[Kt]=e}else ta(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;pt(e),a=!1}else a=Rf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),a=!0;if(!a){if(e.flags&256)return Ee(e),e;return Ee(e),null}}if(Ee(e),(e.flags&128)!==0)return e.lanes=n,e;return n=i!==null,t=t!==null&&t.memoizedState!==null,n&&(i=e.child,a=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(a=i.alternate.memoizedState.cachePool.pool),o=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),o!==a&&(i.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),Os(e,e.updateQueue),pt(e),null;case 4:return ho(),t===null&&Wd(e.stateNode.containerInfo),e.flags|=67108864,pt(e),null;case 10:return Rn(e.type),pt(e),null;case 19:if(Nd(e),i=e.memoizedState,i===null)return pt(e),null;if(a=(e.flags&128)!==0,o=i.rendering,o===null)if(a)xr(i,!1);else{if(At!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=mu(t),o!==null){e.flags|=128,xr(i,!1),t=o.updateQueue,e.updateQueue=t,Os(e,t),e.subtreeFlags=0,t=n;for(n=e.child;n!==null;)$y(n,t),n=n.sibling;return Pr(e,$t.current&1|2),Y&&Vn(e,i.treeForkCount),e.child}t=t.sibling}i.tail!==null&&Ce()>Tu&&(e.flags|=128,a=!0,xr(i,!1),e.lanes=4194304)}else{if(!a)if(t=mu(o),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,Os(e,t),xr(i,!0),i.tail===null&&i.tailMode!=="collapsed"&&i.tailMode!=="visible"&&!o.alternate&&!Y)return pt(e),null}else 2*Ce()-i.renderingStartTime>Tu&&n!==536870912&&(e.flags|=128,a=!0,xr(i,!1),e.lanes=4194304);i.isBackwards?(o.sibling=e.child,e.child=o):(t=i.last,t!==null?t.sibling=o:e.child=o,i.last=o)}if(i.tail!==null){t=i.tail;t:{for(n=t;n!==null;){if(n.alternate!==null){n=!1;break t}n=n.sibling}n=!0}return i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ce(),t.sibling=null,o=$t.current,o=a?o&1|2:o&1,i.tailMode==="visible"||i.tailMode==="collapsed"||!n||Y?Pr(e,o):(n=o,gt(kt,e),gt($t,n),ne===null&&(ne=e)),Y&&Vn(e,i.treeForkCount),t}return pt(e),null;case 22:case 23:return Ee(e),Od(),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(n&536870912)!==0&&(e.flags&128)===0&&(pt(e),e.subtreeFlags&6&&(e.flags|=8192)):pt(e),n=e.updateQueue,n!==null&&Os(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==n&&(e.flags|=2048),t!==null&&Qt(Pi),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),Rn(Dt),pt(e),null;case 25:return null;case 30:return e.flags|=33554432,pt(e),null}throw Error(C(156,e.tag))}function q2(t,e){switch(Ed(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Rn(Dt),ho(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return nu(e),null;case 31:if(e.memoizedState!==null){if(Ee(e),e.alternate===null)throw Error(C(340));ta()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ee(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(C(340));ta()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Nd(e),t=e.flags,t&65536?(e.flags=t&-65537|128,t=e.memoizedState,t!==null&&(t.rendering=null,t.tail=null),e.flags|=4,e):null;case 4:return ho(),null;case 10:return Rn(e.type),null;case 22:case 23:return Ee(e),Od(),t!==null&&Qt(Pi),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Rn(Dt),null;case 25:return null;default:return null}}function Qv(t,e){switch(Ed(e),e.tag){case 3:Rn(Dt),ho();break;case 26:case 27:case 5:nu(e);break;case 4:ho();break;case 31:e.memoizedState!==null&&Ee(e);break;case 13:Ee(e);break;case 19:Nd(e);break;case 10:Rn(e.type);break;case 22:case 23:Ee(e),Od(),t!==null&&Qt(Pi);break;case 24:Rn(Dt)}}function pl(t,e){try{var n=e.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var a=i.next;n=a;do{if((n.tag&t)===t){i=void 0;var{create:o,inst:r}=n;i=o(),r.destroy=i}n=n.next}while(n!==a)}}catch(l){rt(e,e.return,l)}}function Mi(t,e,n){try{var i=e.updateQueue,a=i!==null?i.lastEffect:null;if(a!==null){var o=a.next;i=o;do{if((i.tag&t)===t){var r=i.inst,l=r.destroy;if(l!==void 0){r.destroy=void 0,a=e;var u=n,c=l;try{c()}catch(s){rt(a,u,s)}}}i=i.next}while(i!==o)}}catch(s){rt(e,e.return,s)}}function $v(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{iv(e,n)}catch(i){rt(t,t.return,i)}}}function Fv(t,e,n){n.props=ra(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(i){rt(t,e,i)}}function un(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:var a=t.stateNode,o=Bn(t.memoizedProps,a);if(a.ref===null||a.ref.name!==o)a.ref=L1(o);i=a.ref;break;case 7:if(t.stateNode===null){var r=new De(t);ge(t.child,!1,NM,r,void 0,void 0),t.stateNode=r}i=t.stateNode;break;default:i=t.stateNode}typeof n==="function"?t.refCleanup=n(i):n.current=i}}catch(l){rt(t,e,l)}}function Xt(t,e){var{ref:n,refCleanup:i}=t;if(n!==null)if(typeof i==="function")try{i()}catch(a){rt(t,e,a)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n==="function")try{n(null)}catch(a){rt(t,e,a)}else n.current=null}function yu(t,e){if((t.tag===5||t.tag===27||t.tag===6)&&t.alternate===null&&e!==null)for(var n=0;n<e.length;n++)Y1(t.stateNode,e[n])}function E0(t){for(var e=t.return;e!==null;){if(Qd(e)&&Y1(t.stateNode,e.stateNode),Zd(e))break;e=e.return}}function jr(t){for(var e=t.return;e!==null;){if(Qd(e)&&VM(t.stateNode,e.stateNode),Zd(e))break;e=e.return}}function Zd(t){return t.tag===5||t.tag===3||t.tag===27}function Qd(t){return t&&t.tag===7&&t.stateNode!==null}function Rm(t){var{type:e,memoizedProps:n,stateNode:i}=t;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break t;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(a){rt(t,t.return,a)}}function Gf(t,e,n){try{var i=t.stateNode;fM(i,t.type,n,e),i[ye]=e}catch(a){rt(t,t.return,a)}}function kv(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&wi(t.type)||t.tag===4}function jf(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||kv(t.return))return null;t=t.return}t.sibling.return=t.return;for(t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&wi(t.type))continue t;if(t.flags&2)continue t;if(t.child===null||t.tag===4)continue t;else t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function _m(t,e,n,i){var a=t.tag;if(a===5||a===6)a=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(a,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(a),n=n._reactRootContainer,n!==null&&n!==void 0||e.onclick!==null||(e.onclick=mn)),yu(t,i),W=!0;else if(a!==4&&(a===27&&(yu(t,i),i=null,wi(t.type)&&(n=t.stateNode,e=null)),t=t.child,t!==null))for(_m(t,e,n,i),t=t.sibling;t!==null;)_m(t,e,n,i),t=t.sibling}function vu(t,e,n,i){var a=t.tag;if(a===5||a===6)a=t.stateNode,e?n.insertBefore(a,e):n.appendChild(a),yu(t,i),W=!0;else if(a!==4&&(a===27&&(yu(t,i),i=null,wi(t.type)&&(n=t.stateNode)),t=t.child,t!==null))for(vu(t,e,n,i),t=t.sibling;t!==null;)vu(t,e,n,i),t=t.sibling}function Jv(t){var{stateNode:e,memoizedProps:n}=t;try{for(var i=t.type,a=e.attributes;a.length;)e.removeAttributeNode(a[0]);Ft(e,i,n),e[Kt]=t,e[ye]=n}catch(o){rt(t,t.return,o)}}var xu=!1,Me=null;function M0(t){if(t.tag===30||(t.subtreeFlags&33554432)!==0)xu=!0}var cn=null;function A0(){var t=cn;return cn=null,t}var de=0;function Do(t,e,n,i,a){return de=0,Pv(t.child,e,n,i,a)}function Pv(t,e,n,i,a){for(var o=!1;t!==null;){if(t.tag===5){var r=t.stateNode;if(i!==null){var l=nd(r);i.push(l),l.view&&(o=!0)}else o||nd(r).view&&(o=!0);xu=!0,B1(r,de===0?e:e+"_"+de,n),de++}else if(t.tag!==22||t.memoizedState===null)t.tag===30&&a||Pv(t.child,e,n,i,a)&&(o=!0);t=t.sibling}return o}function yn(t,e){for(;t!==null;){if(t.tag===5)U1(t.stateNode,t.memoizedProps);else if(t.tag!==22||t.memoizedState===null)t.tag===30&&e||yn(t.child,e);t=t.sibling}}function Zs(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(Zs(t),t.tag===30&&(t.flags&18874368)!==0&&t.stateNode.paired){var e=t.memoizedProps;if(e.name==null||e.name==="auto")throw Error(C(544));var n=e.name;e=qn(e.default,e.share),e!=="none"&&(Do(t,n,e,null,!1)||yn(t.child,!1))}}t=t.sibling}}function Bm(t,e){if(t.tag===30){var{stateNode:n,memoizedProps:i}=t,a=Bn(i,n),o=qn(i.default,n.paired?i.share:i.enter);o!=="none"?Do(t,a,o,null,!1)?(Zs(t),n.paired||e||bo(t,i.onEnter)):yn(t.child,!1):Zs(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)Bm(t,e),t=t.sibling;else Zs(t)}function Um(t){if(Me!==null&&Me.size!==0){var e=Me;if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var n=t.memoizedProps,i=n.name;if(i!=null&&i!=="auto"){var a=e.get(i);if(a!==void 0){var o=qn(n.default,n.share);if(o!=="none"&&(Do(t,i,o,null,!1)?(o=t.stateNode,a.paired=o,o.paired=a,bo(t,n.onShare)):yn(t.child,!1)),e.delete(i),e.size===0)break}}}Um(t)}t=t.sibling}}}function Hm(t){if(t.tag===30){var e=t.memoizedProps,n=Bn(e,t.stateNode),i=Me!==null?Me.get(n):void 0,a=qn(e.default,i!==void 0?e.share:e.exit);a!=="none"&&(Do(t,n,a,null,!1)?i!==void 0?(a=t.stateNode,i.paired=a,a.paired=i,Me.delete(n),bo(t,e.onShare)):bo(t,e.onExit):yn(t.child,!1)),Me!==null&&Um(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)Hm(t),t=t.sibling;else Me!==null&&Um(t)}function Iv(t){for(t=t.child;t!==null;){if(t.tag===30){var e=t.memoizedProps,n=Bn(e,t.stateNode);e=qn(e.default,e.update),t.flags&=-5,e!=="none"&&Do(t,n,e,t.memoizedState=[],!1)}else(t.subtreeFlags&33554432)!==0&&Iv(t);t=t.sibling}}function Lm(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var e=t.stateNode;e.paired!==null&&(e.paired=null,yn(t.child,!1))}Lm(t)}t=t.sibling}}function Qs(t){if(t.tag===30)t.stateNode.paired=null,yn(t.child,!1),Lm(t);else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)Qs(t),t=t.sibling;else Lm(t)}function Wv(t){for(t=t.child;t!==null;)t.tag===30?yn(t.child,!1):(t.subtreeFlags&33554432)!==0&&Wv(t),t=t.sibling}function $d(t,e,n,i,a,o,r){for(var l=!1;e!==null;){if(e.tag===5){var u=e.stateNode;if(o!==null&&de<o.length){var c=o[de],s=nd(u);if(c.view||s.view)l=!0;var m;if(m=(t.flags&4)===0)if(s.clip)m=!0;else{m=c.rect;var f=s.rect;m=m.y!==f.y||m.x!==f.x||m.height!==f.height||m.width!==f.width}m&&(t.flags|=4),s.abs?s=!c.abs:(c=c.rect,s=s.rect,s=c.height!==s.height||c.width!==s.width),s&&(t.flags|=32)}else t.flags|=32;(t.flags&4)!==0&&B1(u,de===0?n:n+"_"+de,a),l&&(t.flags&4)!==0||(cn===null&&(cn=[]),cn.push(u,de===0?i:i+"_"+de,e.memoizedProps)),de++}else if(e.tag!==22||e.memoizedState===null)e.tag===30&&r?t.flags|=e.flags&32:$d(t,e.child,n,i,a,o,r)&&(l=!0);e=e.sibling}return l}function t1(t,e){for(t=t.child;t!==null;){if(t.tag===30){var{memoizedProps:n,stateNode:i}=t,a=Bn(n,i),o=qn(n.default,n.update);if(e){i=i.clones;var r=i===null?null:i.map(yM)}else r=t.memoizedState,t.memoizedState=null;i=t;var l=t.child;de=0,a=$d(i,l,a,a,o,r,!1),(t.flags&4)!==0&&a&&(e||bo(t,n.onUpdate))}else(t.subtreeFlags&33554432)!==0&&t1(t,e);t=t.sibling}}var Gt=!1,nt=!1,rn=!1,qf=!1,C0=typeof WeakSet==="function"?WeakSet:Set,jt=null,ln=!1,Or=!1,bu=!1,Gm=!1;function Y2(t,e,n){if(t=t.containerInfo,Wm=Co,t=Gy(t),xd(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else t:{i=(i=t.ownerDocument)&&i.defaultView||window;var a=i.getSelection&&i.getSelection();if(a&&a.rangeCount!==0){i=a.anchorNode;var{anchorOffset:o,focusNode:r}=a;a=a.focusOffset;try{i.nodeType,r.nodeType}catch(x){i=null;break t}var l=0,u=-1,c=-1,s=0,m=0,f=t,h=null;e:for(;;){for(var y;;){if(f!==i||o!==0&&f.nodeType!==3||(u=l+o),f!==r||a!==0&&f.nodeType!==3||(c=l+a),f.nodeType===3&&(l+=f.nodeValue.length),(y=f.firstChild)===null)break;h=f,f=y}for(;;){if(f===t)break e;if(h===i&&++s===o&&(u=l),h===r&&++m===a&&(c=l),(y=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=y}i=u===-1||c===-1?null:{start:u,end:c}}else i=null}i=i||{start:0,end:0}}else i=null;td={focusedElem:t,selectionRange:i},Co=!1,n=(n&335544064)===n,jt=e;for(e=n?9270:1024;jt!==null;){if(t=jt,n&&(i=t.deletions,i!==null))for(o=0;o<i.length;o++)n&&Hm(i[o]);if(t.alternate===null&&(t.flags&2)!==0)n&&M0(t),Ns(n);else{if(t.tag===22){if(i=t.alternate,t.memoizedState!==null){i!==null&&i.memoizedState===null&&n&&Hm(i),Ns(n);continue}else if(i!==null&&i.memoizedState!==null){n&&M0(t),Ns(n);continue}}i=t.child,(t.subtreeFlags&e)!==0&&i!==null?(i.return=t,jt=i):(n&&Iv(t),Ns(n))}}Me=null}function Ns(t){for(;jt!==null;){var e=jt,n=t,i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 15:break;case 1:if((a&1024)!==0&&i!==null){n=void 0,a=i.memoizedProps,i=i.memoizedState;var o=e.stateNode;try{var r=ra(e.type,a);n=o.getSnapshotBeforeUpdate(r,i),o.__reactInternalSnapshotBeforeUpdate=n}catch(l){rt(e,e.return,l)}}break;case 3:if((a&1024)!==0){if(i=e.stateNode.containerInfo,n=i.nodeType,n===9)id(i);else if(n===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":id(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&i!==null&&(n=Bn(i.memoizedProps,i.stateNode),a=e.memoizedProps,a=qn(a.default,a.update),a!=="none"&&Do(i,n,a,i.memoizedState=[],!0));break;default:if((a&1024)!==0)throw Error(C(163))}if(i=e.sibling,i!==null){i.return=e.return,jt=i;break}jt=e.return}}function e1(t,e,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:sn(t,n),i&4&&pl(5,n);break;case 1:if(sn(t,n),i&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(r){rt(n,n.return,r)}else{var a=ra(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(a,e,t.__reactInternalSnapshotBeforeUpdate)}catch(r){rt(n,n.return,r)}}i&64&&$v(n),i&512&&un(n,n.return);break;case 3:if(sn(t,n),i&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{iv(t,e)}catch(r){rt(n,n.return,r)}}break;case 27:e===null&&i&4&&Jv(n);case 26:case 5:sn(t,n),e===null&&i&4&&Rm(n),i&512&&un(n,n.return);break;case 12:sn(t,n);break;case 31:sn(t,n),i&4&&o1(t,n);break;case 13:sn(t,n),i&4&&r1(t,n),i&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=tM.bind(null,n),RM(t,n))));break;case 22:if(i=n.memoizedState!==null||Gt,!i){var o=e!==null&&e.memoizedState!==null||nt;e=Gt,a=nt,Gt=i,(nt=o)&&!a?(i=2,(n.subtreeFlags&8772)!==0&&(i|=1),$e(t,n,i)):sn(t,n),Gt=e,nt=a}break;case 30:sn(t,n),i&512&&un(n,n.return);break;case 7:i&512&&un(n,n.return);default:sn(t,n)}}function jm(t,e){for(t=t.child;t!==null;)n1(t,e),t=t.sibling}function n1(t,e){switch(t.tag){case 5:case 26:try{var n=t.stateNode;if(e){var i=n.style;typeof i.setProperty==="function"?i.setProperty("display","none","important"):i.display="none"}else{var a=t.stateNode,o=t.memoizedProps.style,r=o!==void 0&&o!==null&&o.hasOwnProperty("display")?o.display:null;a.style.display=r==null||typeof r==="boolean"?"":(""+r).trim()}}catch(u){rt(t,t.return,u)}qm(t,e);break;case 6:try{t.stateNode.nodeValue=e?"":t.memoizedProps,W=!0}catch(u){rt(t,t.return,u)}break;case 18:try{var l=t.stateNode;e?j0(l,!0):j0(t.stateNode,!1)}catch(u){rt(t,t.return,u)}break;case 22:case 23:t.memoizedState===null&&jm(t,e);break;default:jm(t,e)}}function qm(t,e){if(t.subtreeFlags&67108864)for(t=t.child;t!==null;){t:{var n=t,i=e;switch(n.tag){case 4:n1(n,i);break t;case 22:n.memoizedState===null&&qm(n,i);break t;default:qm(n,i)}}t=t.sibling}}function i1(t){var e=t.alternate;e!==null&&(t.alternate=null,i1(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Vu(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var St=null,fe=!1;function Qe(t,e,n){for(n=n.child;n!==null;)a1(t,e,n),n=n.sibling}function a1(t,e,n){if(we&&typeof we.onCommitFiberUnmount==="function")try{we.onCommitFiberUnmount(ll,n)}catch(o){}switch(n.tag){case 26:nt||Xt(n,e),Qe(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!nt&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:nt||Xt(n,e),jr(n);var i=St,a=fe;wi(n.type)&&(St=n.stateNode,fe=!1),Qe(t,e,n),Z1(n.stateNode,n.type,n.memoizedProps),St=i,fe=a;break;case 5:nt||Xt(n,e),jr(n);case 6:if(n.tag===6&&jr(n),i=St,a=fe,St=null,Qe(t,e,n),St=i,fe=a,St!==null)if(fe)try{(St.nodeType===9?St.body:St.nodeName==="HTML"?St.ownerDocument.body:St).removeChild(n.stateNode),W=!0}catch(o){rt(n,e,o)}else try{St.removeChild(n.stateNode),W=!0}catch(o){rt(n,e,o)}break;case 18:St!==null&&(fe?(t=St,G0(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),wo(t)):G0(St,n.stateNode));break;case 4:i=St,a=fe,St=n.stateNode.containerInfo,fe=!0,Qe(t,e,n),St=i,fe=a;break;case 0:case 11:case 14:case 15:Mi(2,n,e),nt||Mi(4,n,e),Qe(t,e,n);break;case 1:nt||(Xt(n,e),i=n.stateNode,typeof i.componentWillUnmount==="function"&&Fv(n,e,i)),Qe(t,e,n);break;case 21:Qe(t,e,n);break;case 22:nt=(i=nt)||n.memoizedState!==null,Qe(t,e,n),nt=i;break;case 30:Xt(n,e),Qe(t,e,n);break;case 7:nt||Xt(n,e),Qe(t,e,n);break;default:Qe(t,e,n)}}function o1(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{wo(t)}catch(n){rt(e,e.return,n)}}}function r1(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{wo(t)}catch(n){rt(e,e.return,n)}}function X2(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new C0),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new C0),e;default:throw Error(C(435,t.tag))}}function Vs(t,e){var n=X2(t);e.forEach(function(i){if(!n.has(i)){n.add(i);var a=eM.bind(null,t,i);i.then(a,a)}})}function re(t,e,n){var i=e.deletions;if(i!==null)for(var a=0;a<i.length;a++){var o=i[a],r=t,l=e,u=l;t:for(;u!==null;){switch(u.tag){case 27:if(wi(u.type)){St=u.stateNode,fe=!1;break t}break;case 5:St=u.stateNode,fe=!1;break t;case 3:case 4:St=u.stateNode.containerInfo,fe=!0;break t}u=u.return}if(St===null)throw Error(C(160));a1(r,l,o),St=null,fe=!1,r=o.alternate,r!==null&&(r.return=null),o.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)l1(e,t,n),e=e.sibling}var Fe=null;function l1(t,e,n){var{alternate:i,flags:a}=t;switch(t.tag){case 0:case 11:case 14:case 15:if(a&4&&(i=t.updateQueue,i=i!==null?i.events:null,i!==null))for(var o=0;o<i.length;o++){var r=i[o];r.ref.impl=r.nextImpl}re(e,t,n),le(t),a&4&&(Mi(3,t,t.return),pl(3,t),Mi(5,t,t.return));break;case 1:re(e,t,n),le(t),a&512&&(nt||i===null||Xt(i,i.return)),a&64&&Gt&&(t=t.updateQueue,t!==null&&(e=t.callbacks,e!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?e:n.concat(e))));break;case 26:if(o=Fe,re(e,t,n),le(t),a&512&&(nt||i===null||Xt(i,i.return)),a&4)if(a=i!==null?i.memoizedState:null,n=t.memoizedState,i===null)if(n===null)if(t.stateNode===null)if(Gt)t.stateNode=_1(t.type,t.memoizedProps,e.containerInfo,t);else{t:{e=t.type,n=t.memoizedProps,a=o.ownerDocument||o;e:switch(e){case"title":if(i=a.getElementsByTagName("title")[0],!i||i[cl]||i[Kt]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))i=a.createElement(e),a.head.insertBefore(i,a.querySelector("head > title"));Ft(i,e,n),i[Kt]=t,qt(i),e=i;break t;case"link":if(o=F0("link","href",a).get(e+(n.href||""))){for(r=0;r<o.length;r++)if(i=o[r],i.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&i.getAttribute("rel")===(n.rel==null?null:n.rel)&&i.getAttribute("title")===(n.title==null?null:n.title)&&i.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(r,1);break e}}i=a.createElement(e),Ft(i,e,n),a.head.appendChild(i);break;case"meta":if(o=F0("meta","content",a).get(e+(n.content||""))){for(r=0;r<o.length;r++)if(i=o[r],i.getAttribute("content")===(n.content==null?null:""+n.content)&&i.getAttribute("name")===(n.name==null?null:n.name)&&i.getAttribute("property")===(n.property==null?null:n.property)&&i.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&i.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(r,1);break e}}i=a.createElement(e),Ft(i,e,n),a.head.appendChild(i);break;default:throw Error(C(468,e))}i[Kt]=t,qt(i),e=i}t.stateNode=e}else Gt||rd(o,t.type,t.stateNode);else t.stateNode=$0(o,n,t.memoizedProps);else a!==n?(a===null?(e=i.stateNode,e===null||nt||e.parentNode.removeChild(e)):a.count--,n===null?Gt||rd(o,t.type,t.stateNode):$0(o,n,t.memoizedProps)):n===null&&t.stateNode!==null&&Gf(t,t.memoizedProps,i.memoizedProps);break;case 27:re(e,t,n),le(t),a&512&&(nt||i===null||Xt(i,i.return)),i!==null&&a&4&&Gf(t,t.memoizedProps,i.memoizedProps);break;case 5:if(o=rn,rn=!1,re(e,t,n),rn=o,le(t),a&512&&(nt||i===null||Xt(i,i.return)),t.flags&32){e=t.stateNode;try{yo(e,""),W=!0}catch(s){rt(t,t.return,s)}}a&4&&t.stateNode!=null&&(e=t.memoizedProps,Gf(t,e,i!==null?i.memoizedProps:e)),a&1024&&(qf=!0);break;case 6:if(re(e,t,n),le(t),a&4){if(t.stateNode===null)throw Error(C(162));e=t.memoizedProps,n=t.stateNode;try{n.nodeValue=e,W=!0}catch(s){rt(t,t.return,s)}}break;case 3:if(W=!1,Js=null,o=Fe,Fe=nl(e.containerInfo),re(e,t,n),Fe=o,le(t),a&4&&i!==null&&i.memoizedState.isDehydrated)try{wo(e.containerInfo)}catch(s){rt(t,t.return,s)}qf&&(qf=!1,s1(t)),W=!1;break;case 4:a=rn,rn=Gt,i=zg(),o=Fe,Fe=nl(t.stateNode.containerInfo),re(e,t,n),le(t),Fe=o,W&&Or&&(bu=!0),W=i,rn=a;break;case 12:re(e,t,n),le(t);break;case 31:re(e,t,n),le(t),a&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,Vs(t,e)));break;case 13:re(e,t,n),le(t),t.child.flags&8192&&t.memoizedState!==null!==(i!==null&&i.memoizedState!==null)&&(Xu=Ce()),a&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,Vs(t,e)));break;case 22:o=t.memoizedState!==null,r=i!==null&&i.memoizedState!==null;var l=Gt,u=nt,c=rn;Gt=l||o,rn=c||o,nt=u||r,re(e,t,n),nt=u,rn=c,Gt=l,le(t),a&8192&&(e=t.stateNode,e._visibility=o?e._visibility&-2:e._visibility|1,!o||i===null||r||Gt||nt||(e=r||nt,n=Gt,i=nt,Gt=o||Gt,nt=e,ei(t,2),Gt=n,nt=i),!o&&rn||jm(t,o)),a&4&&(e=t.updateQueue,e!==null&&(n=e.retryQueue,n!==null&&(e.retryQueue=null,Vs(t,n))));break;case 19:re(e,t,n),le(t),a&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,Vs(t,e)));break;case 30:a&512&&(nt||i===null||Xt(i,i.return)),a=zg(),o=Or,r=(n&335544064)===n,l=t.memoizedProps,Or=r&&qn(l.default,l.update)!=="none",re(e,t,n),le(t),r&&i!==null&&W&&(t.flags|=4),Or=o,W=a;break;case 21:break;case 7:a&512&&(nt||i===null||Xt(i,i.return)),i&&i.stateNode!==null&&(i.stateNode._fragmentFiber=t);default:re(e,t,n),le(t)}}function le(t){var e=t.flags;if(e&2){try{for(var n,i=t.return;i!==null;){if(kv(i)){n=i;break}i=i.return}i=null;for(var a=t.return;a!==null;){if(Qd(a)){var o=a.stateNode;i===null?i=[o]:i.push(o)}if(Zd(a))break;a=a.return}var r=i;if(n==null)throw Error(C(160));switch(n.tag){case 27:var l=n.stateNode,u=jf(t);vu(t,u,l,r);break;case 5:var c=n.stateNode;n.flags&32&&(yo(c,""),n.flags&=-33);var s=jf(t);vu(t,s,c,r);break;case 3:case 4:var m=n.stateNode.containerInfo,f=jf(t);_m(t,f,m,r);break;default:throw Error(C(161))}}catch(h){rt(t,t.return,h)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function s1(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;s1(e),e.tag===5&&e.flags&1024&&(e=e.stateNode,Co=!0,e.reset(),Co=!1),t=t.sibling}}function qa(t,e){if(e.subtreeFlags&9270)for(e=e.child;e!==null;)u1(e,t),e=e.sibling;else t1(e,!1)}function u1(t,e){var n=t.alternate;if(n===null)Bm(t,!1);else switch(t.tag){case 3:if(Gm=ln=!1,A0(),qa(e,t),!ln&&!bu){if(t=cn,t!==null)for(var i=0;i<t.length;i+=3){n=t[i];var a=t[i+1];U1(n,t[i+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+a+")"})}t=e.containerInfo,t=t.nodeType===9?t.documentElement:t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName===""&&(t.style.viewTransitionName="none",t.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),t.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Gm=!0}cn=null;break;case 5:qa(e,t);break;case 4:i=ln,ln=!1,qa(e,t),ln&&(bu=!0),ln=i;break;case 22:t.memoizedState===null&&(n.memoizedState!==null?Bm(t,!1):qa(e,t));break;case 30:i=ln,a=A0(),ln=!1,qa(e,t),ln&&(t.flags|=4);var{memoizedProps:o,stateNode:r}=t;e=Bn(o,r),r=Bn(n.memoizedProps,r);var l=qn(o.default,o.update);l==="none"?e=!1:(o=n.memoizedState,n.memoizedState=null,n=t.child,de=0,e=$d(t,n,e,r,l,o,!0),de!==(o===null?0:o.length)&&(t.flags|=32)),(t.flags&4)!==0&&e?(bo(t,t.memoizedProps.onUpdate),cn=a):a!==null&&(a.push.apply(a,cn),cn=a),ln=(t.flags&32)!==0?!0:i;break;default:qa(e,t)}}function sn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)e1(t,e.alternate,e),e=e.sibling}function ei(t,e){for(t=t.child;t!==null;){var n=t,i=e;switch(n.tag){case 0:case 11:case 14:case 15:Mi(4,n,n.return),ei(n,i);break;case 1:Xt(n,n.return);var a=n.stateNode;typeof a.componentWillUnmount==="function"&&Fv(n,n.return,a),ei(n,i);break;case 27:(i&2)!==0&&Z1(n.stateNode,n.type,n.memoizedProps);case 5:Xt(n,n.return),n.tag!==5&&n.tag!==27||jr(n),ei(n,i);break;case 6:jr(n);break;case 26:Xt(n,n.return),a=n.stateNode,n.memoizedState!==null||a===null||nt||a.parentNode.removeChild(a),ei(n,i);break;case 22:n.memoizedState===null&&ei(n,i);break;case 30:Xt(n,n.return),ei(n,i);break;case 7:Xt(n,n.return);default:ei(n,i)}t=t.sibling}}function $e(t,e,n){n=(e.subtreeFlags&8772)!==0?n:n&-2;for(e=e.child;e!==null;){var i=e.alternate,a=t,o=e,r=o.flags,l=(n&1)!==0;switch(o.tag){case 0:case 11:case 15:$e(a,o,n),pl(4,o);break;case 1:if($e(a,o,n),i=o,a=i.stateNode,typeof a.componentDidMount==="function")try{a.componentDidMount()}catch(s){rt(i,i.return,s)}if(i=o,a=i.updateQueue,a!==null){var u=i.stateNode;try{var c=a.shared.hiddenCallbacks;if(c!==null)for(a.shared.hiddenCallbacks=null,a=0;a<c.length;a++)nv(c[a],u)}catch(s){rt(i,i.return,s)}}l&&r&64&&$v(o),un(o,o.return);break;case 27:(n&2)!==0&&Jv(o);case 5:o.tag!==5&&o.tag!==27||E0(o),$e(a,o,n),l&&i===null&&r&4&&Rm(o),un(o,o.return);break;case 6:E0(o);break;case 26:u=o.stateNode,o.memoizedState!==null||u===null||Gt||rd(nl(u.ownerDocument),o.type,u),$e(a,o,n),l&&i===null&&r&4&&Rm(o),un(o,o.return);break;case 12:$e(a,o,n);break;case 31:$e(a,o,n),l&&r&4&&o1(a,o);break;case 13:$e(a,o,n),l&&r&4&&r1(a,o);break;case 22:o.memoizedState===null&&$e(a,o,n),un(o,o.return);break;case 30:$e(a,o,n),un(o,o.return);break;case 7:un(o,o.return);default:$e(a,o,n)}e=e.sibling}}function Fd(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&ml(n))}function kd(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ml(t))}function Ue(t,e,n,i){var a=(n&335544064)===n;if(e.subtreeFlags&(a?10262:10256))for(e=e.child;e!==null;)c1(t,e,n,i),e=e.sibling;else a&&Wv(e)}function c1(t,e,n,i){var a=(n&335544064)===n;a&&e.alternate===null&&e.return!==null&&e.return.alternate!==null&&Qs(e);var o=e.flags;switch(e.tag){case 0:case 11:case 15:Ue(t,e,n,i),o&2048&&pl(9,e);break;case 1:Ue(t,e,n,i);break;case 3:Ue(t,e,n,i),a&&Gm&&(t=t.containerInfo,t=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,t.style.viewTransitionName==="root"&&(t.style.viewTransitionName=""),t=t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName==="none"&&(t.style.viewTransitionName="")),o&2048&&(o=null,e.alternate!==null&&(o=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==o&&(e.refCount++,o!=null&&ml(o)));break;case 12:if(o&2048){Ue(t,e,n,i),o=e.stateNode;try{var r=e.memoizedProps,l=r.id,u=r.onPostCommit;typeof u==="function"&&u(l,e.alternate===null?"mount":"update",o.passiveEffectDuration,-0)}catch(c){rt(e,e.return,c)}}else Ue(t,e,n,i);break;case 31:Ue(t,e,n,i);break;case 13:Ue(t,e,n,i);break;case 23:break;case 22:r=e.stateNode,l=e.alternate,e.memoizedState!==null?(a&&l!==null&&l.memoizedState===null&&Qs(l),r._visibility&2?Ue(t,e,n,i):qr(t,e)):(a&&l!==null&&l.memoizedState!==null&&Qs(e),r._visibility&2?Ue(t,e,n,i):(r._visibility|=2,Xa(t,e,n,i,(e.subtreeFlags&10256)!==0||!1))),o&2048&&Fd(l,e);break;case 24:Ue(t,e,n,i),o&2048&&kd(e.alternate,e);break;case 30:a&&(o=e.alternate,o!==null&&(yn(o.child,!0),yn(e.child,!0))),Ue(t,e,n,i);break;default:Ue(t,e,n,i)}}function Xa(t,e,n,i,a){a=a&&((e.subtreeFlags&10256)!==0||!1);for(e=e.child;e!==null;){var o=t,r=e,l=n,u=i,c=r.flags;switch(r.tag){case 0:case 11:case 15:Xa(o,r,l,u,a),pl(8,r);break;case 23:break;case 22:var s=r.stateNode;r.memoizedState!==null?s._visibility&2?Xa(o,r,l,u,a):qr(o,r):(s._visibility|=2,Xa(o,r,l,u,a)),a&&c&2048&&Fd(r.alternate,r);break;case 24:Xa(o,r,l,u,a),a&&c&2048&&kd(r.alternate,r);break;default:Xa(o,r,l,u,a)}e=e.sibling}}function qr(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,i=e,a=i.flags;switch(i.tag){case 22:qr(n,i),a&2048&&Fd(i.alternate,i);break;case 24:qr(n,i),a&2048&&kd(i.alternate,i);break;default:qr(n,i)}e=e.sibling}}var Qi=8192;function Yi(t,e,n){if(t.subtreeFlags&Qi)for(t=t.child;t!==null;)f1(t,e,n),t=t.sibling}function f1(t,e,n){switch(t.tag){case 26:Yi(t,e,n),t.flags&Qi&&(t.memoizedState!==null?$M(n,Fe,t.memoizedState,t.memoizedProps):(t=t.stateNode,(e&335544128)===e&&J0(n,t)));break;case 5:Yi(t,e,n),t.flags&Qi&&(t=t.stateNode,(e&335544128)===e&&J0(n,t));break;case 3:case 4:var i=Fe;Fe=nl(t.stateNode.containerInfo),Yi(t,e,n),Fe=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=Qi,Qi=16777216,Yi(t,e,n),Qi=i):Yi(t,e,n));break;case 30:if((t.flags&Qi)!==0&&(i=t.memoizedProps.name,i!=null&&i!=="auto")){var a=t.stateNode;a.paired=null,Me===null&&(Me=new Map),Me.set(i,a)}Yi(t,e,n);break;default:Yi(t,e,n)}}function m1(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function br(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];jt=i,p1(i,t)}m1(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)d1(t),t=t.sibling}function d1(t){switch(t.tag){case 0:case 11:case 15:br(t),t.flags&2048&&Mi(9,t,t.return);break;case 3:br(t);break;case 12:br(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,$s(t)):br(t);break;default:br(t)}}function $s(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];jt=i,p1(i,t)}m1(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Mi(8,e,e.return),$s(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,$s(e));break;default:$s(e)}t=t.sibling}}function p1(t,e){for(;jt!==null;){var n=jt;switch(n.tag){case 0:case 11:case 15:Mi(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:ml(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,jt=i;else t:for(n=t;jt!==null;){i=jt;var{sibling:a,return:o}=i;if(i1(i),i===n){jt=null;break t}if(a!==null){a.return=o,jt=a;break t}jt=o}}}var K2={getCacheForType:function(t){var e=Zt(Dt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return Zt(Dt).controller.signal}},Z2=typeof WeakMap==="function"?WeakMap:Map,tt=0,ct=null,F=null,k=0,at=0,Se=null,si=!1,zo=!1,Jd=!1,Gn=0,At=0,Ai=0,Wi=0,Su=0,Ae=0,xo=0,Yr=null,me=null,Ym=!1,Xu=0,h1=0,Tu=1/0,Eu=null,yi=null,Tt=0,Je=null,la=null,gn=0,Xm=0,Km=null,g1=null,fo=null,mo=null,po=null,Xr=0,Fs=null;function Ne(){return(tt&2)!==0&&k!==0?k&-k:B.T!==null?Id():by()}function y1(){if(Ae===0)if((k&536870912)===0||Y){var t=xs;xs<<=1,(xs&3932160)===0&&(xs=262144),Ae=t}else Ae=536870912;return t=kt.current,t!==null&&(t.flags|=32),Ae}function bo(t,e){if(e!=null){var n=t.stateNode,i=n.ref;i===null&&(i=n.ref=L1(Bn(t.memoizedProps,n))),mo===null&&(mo=[]),mo.push(e.bind(null,i))}}function he(t,e,n){if(t===ct&&(at===2||at===9)||t.cancelPendingCommit!==null)So(t,0),ui(t,k,Ae,!1);if(ul(t,n),(tt&2)===0||t!==ct)t===ct&&((tt&2)===0&&(Wi|=n),At===4&&ui(t,k,Ae,!1)),xn(t)}function v1(t,e,n){if((tt&6)!==0)throw Error(C(327));var i=!n&&(e&127)===0&&(e&t.expiredLanes)===0||sl(t,e),a=i?F2(t,e):Yf(t,e,!0),o=i;do{if(a===0){zo&&!i&&ui(t,e,0,!1);break}else{if(n=t.current.alternate,o&&!Q2(n)){a=Yf(t,e,!1),o=!1;continue}if(a===2){if(o=e,t.errorRecoveryDisabledLanes&o)var r=0;else r=t.pendingLanes&-536870913,r=r!==0?r:r&536870912?536870912:0;if(r!==0){e=r;t:{var l=t;a=Yr;var u=l.current.memoizedState.isDehydrated;if(u&&(So(l,r).flags|=256),r=Yf(l,r,!1),r!==2&&r!==6){if(Jd&&!u){l.errorRecoveryDisabledLanes|=o,Wi|=o,a=4;break t}o=me,me=a,o!==null&&(me===null?me=o:me.push.apply(me,o))}a=r}if(o=!1,a!==2)continue}}if(a===1){So(t,0),ui(t,e,0,!0);break}t:{switch(i=t,o=a,o){case 0:case 1:throw Error(C(345));case 4:if((e&4194048)!==e&&(e&62914560)!==e)break;case 6:ui(i,e,Ae,!si);break t;case 2:me=null;break;case 3:case 5:break;default:throw Error(C(329))}if((e&62914560)===e&&(a=Xu+300-Ce(),10<a)){if(ui(i,e,Ae,!si),Nu(i,0,!0)!==0)break t;gn=e,i.timeoutHandle=tp(w0.bind(null,i,n,me,Eu,Ym,e,Ae,Wi,xo,si,o,"Throttled",-0,0),a);break t}w0(i,n,me,Eu,Ym,e,Ae,Wi,xo,si,o,null,-0,0)}}break}while(1);xn(t)}function w0(t,e,n,i,a,o,r,l,u,c,s,m,f,h){t.timeoutHandle=-1;var y=e.subtreeFlags,x=(o&335544064)===o;if(m=null,x||y&8192||(y&16785408)===16785408){if(m={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:mn},Me=null,f1(e,o,m),x&&(y=m,x=t.containerInfo,x=(x.nodeType===9?x:x.ownerDocument).__reactViewTransition,x!=null&&(y.count++,y.waitingForViewTransition=!0,y=il.bind(y),x.finished.then(y,y))),y=(o&62914560)===o?Xu-Ce():(o&4194048)===o?h1-Ce():0,y=FM(m,y),y!==null){gn=o,t.cancelPendingCommit=y(N0.bind(null,t,e,o,n,i,a,r,l,u,c,s,m,null,f,h)),ui(t,o,r,!c);return}}N0(t,e,o,n,i,a,r,l,u,c,s,m)}function Q2(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var a=n[i],o=a.getSnapshot;a=a.value;try{if(!Ve(o(),a))return!1}catch(r){return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function ui(t,e,n,i){e=hy(t,e),e&=~Su,e&=~Wi,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var a=e;0<a;){var o=31-Oe(a),r=1<<o;i[o]=-1,a&=~r}n!==0&&yy(t,n,e)}function Ku(){return(tt&6)===0?(hl(0,!1),!1):!0}function Pd(){if(F!==null){if(at===0)var t=F.return;else t=F,Dn=ma=null,_d(t),so=null,Jr=0,t=F;for(;t!==null;)Qv(t.alternate,t),t=t.return;F=null}}function So(t,e){var n=t.timeoutHandle;return n!==-1&&(t.timeoutHandle=-1,pM(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),gn=0,Pd(),ct=t,F=n=zn(t.current,null),k=e,at=0,Se=null,si=!1,zo=sl(t,e),Jd=!1,xo=Ae=Su=Wi=Ai=At=0,me=Yr=null,Ym=!1,Gn=hy(t,e),_u(),n}function x1(t,e){j=null,B.H=hu,e===Vo||e===Hu?(e=t0(),at=3):e===Cd?(e=t0(),at=4):at=e===Yd?8:e!==null&&typeof e==="object"&&typeof e.then==="function"?6:1,Se=e,F===null&&(At=1,gu(t,qe(e,t.current)))}function b1(){var t=kt.current;return t===null?!0:(k&4194048)===k?ne===null?!0:!1:(k&62914560)===k||(k&536870912)!==0?t===ne:!1}function S1(){var t=B.H;return B.H=hu,t===null?hu:t}function T1(){var t=B.A;return B.A=K2,t}function Mu(){At=4,si||(k&4194048)!==k&&kt.current!==null||(zo=!0),(Ai&134217727)===0&&(Wi&134217727)===0||ct===null||ui(ct,k,Ae,!1)}function Yf(t,e,n){var i=tt;tt|=2;var a=S1(),o=T1();if(ct!==t||k!==e)Eu=null,So(t,e);e=!1;var r=At;t:do try{if(at!==0&&F!==null){var l=F,u=Se;switch(at){case 8:Pd(),r=6;break t;case 3:case 2:case 9:case 6:kt.current===null&&(e=!0);var c=at;if(at=0,Se=null,io(t,l,u,c),n&&zo){r=0;break t}break;default:c=at,at=0,Se=null,io(t,l,u,c)}}$2(),r=At;break}catch(s){x1(t,s)}while(1);return e&&t.shellSuspendCounter++,Dn=ma=null,tt=i,B.H=a,B.A=o,F===null&&(ct=null,k=0,_u()),r}function $2(){for(;F!==null;)E1(F)}function F2(t,e){var n=tt;tt|=2;var i=S1(),a=T1();ct!==t||k!==e?(Eu=null,Tu=Ce()+500,So(t,e)):zo=sl(t,e);t:do try{if(at!==0&&F!==null){e=F;var o=Se;e:switch(at){case 1:at=0,Se=null,io(t,e,o,1);break;case 2:case 9:if(Wg(o)){at=0,Se=null,O0(e);break}e=function(){at!==2&&at!==9||ct!==t||(at=7),xn(t)},o.then(e,e);break t;case 3:at=7;break t;case 4:at=5;break t;case 7:Wg(o)?(at=0,Se=null,O0(e)):(at=0,Se=null,io(t,e,o,7));break;case 5:var r=null;switch(F.tag){case 26:r=F.memoizedState;case 5:case 27:var l=F;if(r?F1(r):l.stateNode.complete){at=0,Se=null;var u=l.sibling;if(u!==null)F=u;else{var c=l.return;c!==null?(F=c,Zu(c)):F=null}break e}}at=0,Se=null,io(t,e,o,5);break;case 6:at=0,Se=null,io(t,e,o,6);break;case 8:Pd(),At=6;break t;default:throw Error(C(462))}}k2();break}catch(s){x1(t,s)}while(1);if(Dn=ma=null,B.H=i,B.A=a,tt=n,F!==null)return 0;return ct=null,k=0,_u(),At}function k2(){for(;F!==null&&!mE();)E1(F)}function E1(t){var e=Zv(t.alternate,t,Gn);t.memoizedProps=t.pendingProps,e===null?Zu(t):F=e}function O0(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=g0(n,e,e.pendingProps,e.type,void 0,k);break;case 11:e=g0(n,e,e.pendingProps,e.type.render,e.ref,k);break;case 5:_d(e);var i=e;i===Yt&&(Y?(su(i),i.tag===5&&i.stateNode!=null&&(ht=i.stateNode)):(su(i),Y=!0));default:Qv(n,e),e=F=$y(e,Gn),e=Zv(n,e,Gn)}t.memoizedProps=t.pendingProps,e===null?Zu(t):F=e}function io(t,e,n,i){Dn=ma=null,_d(e),so=null,Jr=0;var a=e.return;try{if(U2(t,a,e,n,k)){At=1,gu(t,qe(n,t.current)),F=null;return}}catch(o){if(a!==null)throw F=a,o;At=1,gu(t,qe(n,t.current)),F=null;return}if(e.flags&32768){if(Y||i===1)t=!0;else if(zo||(k&536870912)!==0)t=!1;else if(si=t=!0,i===2||i===9||i===3||i===6)i=kt.current,i!==null&&i.tag===13&&(i.flags|=16384);M1(e,t)}else Zu(e)}function Zu(t){var e=t;do{if((e.flags&32768)!==0){M1(e,si);return}t=e.return;var n=j2(e.alternate,e,Gn);if(n!==null){F=n;return}if(e=e.sibling,e!==null){F=e;return}F=e=t}while(e!==null);At===0&&(At=5)}function M1(t,e){do{var n=q2(t.alternate,t);if(n!==null){n.flags&=32767,F=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){F=t;return}F=t=n}while(t!==null);At=6,F=null}function N0(t,e,n,i,a,o,r,l,u,c,s,m){t.cancelPendingCommit=null;do Qu();while(Tt!==0);if((tt&6)!==0)throw Error(C(327));if(e!==null){if(e===t.current)throw Error(C(177));t===ct&&(F=ct=null,k=0),la=e,Je=t,gn=n,Km=a,g1=i,J2(t,e,n,r,l,u,m)}}function J2(t,e,n,i,a,o,r){var l=e.lanes|e.childLanes;if(Xm=l,l|=bd,TE(t,n,l,i,a,o),mo=null,(n&335544064)===n?(po=M2(t),i=10262):(po=null,i=10256),(e.subtreeFlags&i)!==0||(e.flags&i)!==0?(t.callbackNode=null,t.callbackPriority=0,nM(iu,function(){return Fm(),null})):(t.callbackNode=null,t.callbackPriority=0),xu=!1,i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=B.T,B.T=null,a=et.p,et.p=2,o=tt,tt|=4;try{Y2(t,e,n)}finally{tt=o,et.p=a,B.T=i}}Tt=1,xu?fo=bM(r,t.containerInfo,po,Zm,Qm,I2,$m,Fm,P2,null,null):(Zm(),Qm(),$m())}function P2(t){if(Tt!==0){var e=Je.onRecoverableError;e(t,{componentStack:null})}}function I2(){Tt===3&&(Tt=0,u1(la,Je),Tt=4)}function Zm(){if(Tt===1){Tt=0;var t=Je,e=la,n=gn,i=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||i){i=B.T,B.T=null;var a=et.p;et.p=2;var o=tt;tt|=4;try{Or=bu=!1,l1(e,t,n),n=td;var r=Gy(t.containerInfo),l=n.focusedElem,u=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&Ly(l.ownerDocument.documentElement,l)){if(u!==null&&xd(l)){var{start:c,end:s}=u;if(s===void 0&&(s=c),"selectionStart"in l)l.selectionStart=c,l.selectionEnd=Math.min(s,l.value.length);else{var m=l.ownerDocument||document,f=m&&m.defaultView||window;if(f.getSelection){var h=f.getSelection(),y=l.textContent.length,x=Math.min(u.start,y),T=u.end===void 0?x:Math.min(u.end,y);!h.extend&&x>T&&(r=T,T=x,x=r);var g=Zg(l,x),d=Zg(l,T);if(g&&d&&(h.rangeCount!==1||h.anchorNode!==g.node||h.anchorOffset!==g.offset||h.focusNode!==d.node||h.focusOffset!==d.offset)){var p=m.createRange();p.setStart(g.node,g.offset),h.removeAllRanges(),x>T?(h.addRange(p),h.extend(d.node,d.offset)):(p.setEnd(d.node,d.offset),h.addRange(p))}}}}m=[];for(h=l;h=h.parentNode;)h.nodeType===1&&m.push({element:h,left:h.scrollLeft,top:h.scrollTop});typeof l.focus==="function"&&l.focus();for(l=0;l<m.length;l++){var v=m[l];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}Co=!!Wm,td=Wm=null}finally{tt=o,et.p=a,B.T=i}}t.current=e,Tt=2}}function Qm(){if(Tt===2){Tt=0;var t=Je,e=la,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=B.T,B.T=null;var i=et.p;et.p=2;var a=tt;tt|=4;try{e1(t,e.alternate,e)}finally{tt=a,et.p=i,B.T=n}}Tt=3}}function $m(){if(Tt===4||Tt===3){Tt=0;var t=fo;fo=null,dE();var e=Je,n=la,i=gn,a=g1,o=(i&335544064)===i?10262:10256;if((n.subtreeFlags&o)!==0||(n.flags&o)!==0?Tt=5:(Tt=0,la=Je=null,A1(e,e.pendingLanes)),o=e.pendingLanes,o===0&&(yi=null),dd(i),n=n.stateNode,we&&typeof we.onCommitFiberRoot==="function")try{we.onCommitFiberRoot(ll,n,void 0,(n.current.flags&128)===128)}catch(c){}if(a!==null){n=B.T,o=et.p,et.p=2,B.T=null;try{for(var r=e.onRecoverableError,l=0;l<a.length;l++){var u=a[l];r(u.value,{componentStack:u.stack})}}finally{B.T=n,et.p=o}}if(a=mo,r=po,po=null,a!==null&&(mo=null,r===null&&(r=[]),t!==null))for(u=0;u<a.length;u++)n=(0,a[u])(r),n!==void 0&&t.finished.finally(n);(gn&3)!==0&&Qu(),xn(e),o=e.pendingLanes,(i&261930)!==0&&(o&42)!==0?e===Fs?Xr++:(Xr=0,Fs=e):(Xr=0,Fs=null),hl(0,!1)}}function A1(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,ml(e)))}function Qu(){return fo!==null&&(fo.skipTransition(),fo=null),Zm(),Qm(),$m(),Fm()}function Fm(){if(Tt!==5)return!1;var t=Je,e=Xm;Xm=0;var n=dd(gn),i=B.T,a=et.p;try{et.p=32>n?32:n,B.T=null,n=Km,Km=null;var o=Je,r=gn;if(Tt=0,la=Je=null,gn=0,(tt&6)!==0)throw Error(C(331));var l=tt;if(tt|=4,d1(o.current),c1(o,o.current,r,n),tt=l,hl(0,!1),we&&typeof we.onPostCommitFiberRoot==="function")try{we.onPostCommitFiberRoot(ll,o)}catch(u){}return!0}finally{et.p=a,B.T=i,A1(t,e)}}function V0(t,e,n){e=qe(n,e),e=wm(t.stateNode,e,2),t=pi(t,e,2),t!==null&&(ul(t,2),xn(t))}function rt(t,e,n){if(t.tag===3)V0(t,t,n);else for(;e!==null;){if(e.tag===3){V0(e,t,n);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError==="function"||typeof i.componentDidCatch==="function"&&(yi===null||!yi.has(i))){t=qe(n,t),n=jv(2),i=pi(e,n,2),i!==null&&(qv(n,i,e,t),ul(i,2),xn(i));break}}e=e.return}}function Xf(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new Z2;var a=new Set;i.set(e,a)}else a=i.get(e),a===void 0&&(a=new Set,i.set(e,a));a.has(n)||(Jd=!0,a.add(n),t=W2.bind(null,t,e,n),e.then(t,t))}function W2(t,e,n){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,ct===t&&(k&n)===n&&(At===4||At===3&&(k&62914560)===k&&300>Ce()-Xu?(tt&2)===0?So(t,0):Su|=n:Su|=n,xo===k&&(xo=0)),xn(t)}function C1(t,e){e===0&&(e=gy()),t=fa(t,e),t!==null&&(ul(t,e),xn(t))}function tM(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),C1(t,n)}function eM(t,e){var n=0;switch(t.tag){case 31:case 13:var{stateNode:i,memoizedState:a}=t;a!==null&&(n=a.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(C(314))}i!==null&&i.delete(e),C1(t,n)}function nM(t,e){return fd(t,e)}var To=null,Ka=null,km=!1,Au=!1,Kf=!1,ci=0;function xn(t){t!==Ka&&t.next===null&&(Ka===null?To=Ka=t:Ka=Ka.next=t),Au=!0,km||(km=!0,aM())}function hl(t,e){if(!Kf&&Au){Kf=!0;do{var n=!1;for(var i=To;i!==null;){if(!e)if(t!==0){var a=i.pendingLanes;if(a===0)var o=0;else{var{suspendedLanes:r,pingedLanes:l}=i;o=(1<<31-Oe(42|t)+1)-1,o&=a&~(r&~l),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,D0(i,o))}else o=k,o=Nu(i,i===ct?o:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(o&3)===0||sl(i,o)||(n=!0,D0(i,o));i=i.next}}while(n);Kf=!1}}function iM(){w1()}function w1(){Au=km=!1;var t=0;ci!==0&&dM()&&(t=ci);for(var e=Ce(),n=null,i=To;i!==null;){var a=i.next,o=O1(i,e);if(o===0)i.next=null,n===null?To=a:n.next=a,a===null&&(Ka=n);else if(n=i,t!==0||(o&3)!==0)Au=!0;i=a}Tt!==0&&Tt!==5||hl(t,!1),ci!==0&&(ci=0)}function O1(t,e){for(var{suspendedLanes:n,pingedLanes:i,expirationTimes:a}=t,o=t.pendingLanes&-62914561;0<o;){var r=31-Oe(o),l=1<<r,u=a[r];if(u===-1){if((l&n)===0||(l&i)!==0)a[r]=SE(l,e)}else u<=e&&(t.expiredLanes|=l);o&=~l}if(e=ct,n=k,n=Nu(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i=t.callbackNode,n===0||t===e&&(at===2||at===9)||t.cancelPendingCommit!==null)return i!==null&&i!==null&&Ef(i),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||sl(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(i!==null&&Ef(i),dd(n)){case 2:case 8:n=dy;break;case 32:n=iu;break;case 268435456:n=py;break;default:n=iu}return i=N1.bind(null,t),n=fd(n,i),t.callbackPriority=e,t.callbackNode=n,e}return i!==null&&i!==null&&Ef(i),t.callbackPriority=2,t.callbackNode=null,2}function N1(t,e){if(Tt!==0&&Tt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Qu()&&t.callbackNode!==n)return null;var i=k;if(i=Nu(t,t===ct?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i===0)return null;return v1(t,i,e),O1(t,Ce()),t.callbackNode!=null&&t.callbackNode===n?N1.bind(null,t):null}function D0(t,e){if(Qu())return null;v1(t,e,!0)}function aM(){hM(function(){(tt&6)!==0?fd(my,iM):w1()})}function Id(){if(ci===0){var t=ia;t===0&&(t=vs,vs<<=1,(vs&261888)===0&&(vs=256)),ci=t}return ci}function z0(t){return t==null||typeof t==="symbol"||typeof t==="boolean"?null:typeof t==="function"?t:Bs(t)}function oM(t,e,n,i,a){if(e==="submit"&&n&&n.stateNode===a){var o=z0((a[ye]||null).action),r=i.submitter;r&&(e=(e=r[ye]||null)?z0(e.formAction):r.getAttribute("formAction"),e!==null&&(o=e,r=null));var l=new Du("action","action",null,i,a);t.push({event:l,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(ci!==0){var u=new FormData(a,r);Am(n,{pending:!0,data:u,method:a.method,action:o},null,u)}}else typeof o==="function"&&(l.preventDefault(),u=new FormData(a,r),Am(n,{pending:!0,data:u,method:a.method,action:o},o,u))},currentTarget:a}]})}}for(Nr=0;Nr<pm.length;Nr++)Vr=pm[Nr],Jm=Vr.toLowerCase(),Pm=Vr[0].toUpperCase()+Vr.slice(1),Pe(Jm,"on"+Pm);var Vr,Jm,Pm,Nr;Pe(qy,"onAnimationEnd");Pe(Yy,"onAnimationIteration");Pe(Xy,"onAnimationStart");Pe("dblclick","onDoubleClick");Pe("focusin","onFocus");Pe("focusout","onBlur");Pe(g2,"onTransitionRun");Pe(y2,"onTransitionStart");Pe(v2,"onTransitionCancel");Pe(Ky,"onTransitionEnd");go("onMouseEnter",["mouseout","mouseover"]);go("onMouseLeave",["mouseout","mouseover"]);go("onPointerEnter",["pointerout","pointerover"]);go("onPointerLeave",["pointerout","pointerover"]);ua("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ua("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ua("onBeforeInput",["compositionend","keypress","textInput","paste"]);ua("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ua("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ua("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rM=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wr));function V1(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var i=t[n],a=i.event;i=i.listeners;t:{var o=void 0;if(e)for(var r=i.length-1;0<=r;r--){var l=i[r],u=l.instance,c=l.currentTarget;if(l=l.listener,u!==o&&a.isPropagationStopped())break t;o=l,a.currentTarget=c;try{o(a)}catch(s){ou(s)}a.currentTarget=null,o=u}else for(r=0;r<i.length;r++){if(l=i[r],u=l.instance,c=l.currentTarget,l=l.listener,u!==o&&a.isPropagationStopped())break t;o=l,a.currentTarget=c;try{o(a)}catch(s){ou(s)}a.currentTarget=null,o=u}}}}function Q(t,e){var n=e[Og];n===void 0&&(n=e[Og]=new Set);var i=t+"__bubble";n.has(i)||(D1(e,t,2,!1),n.add(i))}function Zf(t,e,n){var i=0;e&&(i|=4),D1(n,t,i,e)}var Ds="_reactListening"+Math.random().toString(36).slice(2);function Wd(t){if(!t[Ds]){t[Ds]=!0,Ty.forEach(function(n){n!=="selectionchange"&&(rM.has(n)||Zf(n,!1,t),Zf(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Ds]||(e[Ds]=!0,Zf("selectionchange",!1,e))}}function D1(t,e,n,i){switch(ex(e)){case 2:var a=IM;break;case 8:a=WM;break;default:a=rp}n=a.bind(null,e,n,t),a=void 0,!cm||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),i?a!==void 0?t.addEventListener(e,n,{capture:!0,passive:a}):t.addEventListener(e,n,!0):a!==void 0?t.addEventListener(e,n,{passive:a}):t.addEventListener(e,n,!1)}function Qf(t,e,n,i,a){var o=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var r=i.tag;if(r===3||r===4){var l=i.stateNode.containerInfo;if(l===a)break;if(r===4)for(r=i.return;r!==null;){var u=r.tag;if((u===3||u===4)&&r.stateNode.containerInfo===a)return;r=r.return}for(;l!==null;){if(r=$i(l),r===null)return;if(u=r.tag,u===5||u===6||u===26||u===27){i=o=r;continue t}l=l.parentNode}}i=i.return}Vy(function(){var c=o,s=hd(n),m=[];t:{var f=Zy.get(t);if(f!==void 0){var h=Du,y=t;switch(t){case"keypress":if(Hs(n)===0)break t;case"keydown":case"keyup":h=QE;break;case"focusin":y="focus",h=Nf;break;case"focusout":y="blur",h=Nf;break;case"beforeblur":case"afterblur":h=Nf;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=Ug;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=_E;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=PE;break;case qy:case Yy:case Xy:h=HE;break;case Ky:h=WE;break;case"scroll":case"scrollend":h=zE;break;case"wheel":h=e2;break;case"copy":case"cut":case"paste":h=GE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Lg;break;case"submit":h=kE;break;case"toggle":case"beforetoggle":h=i2}var x=(e&4)!==0,T=!x&&(t==="scroll"||t==="scrollend"),g=x?f!==null?f+"Capture":null:f;x=[];for(var d=c,p;d!==null;){var v=d;if(p=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||p===null||g===null||(v=Zr(d,g),v!=null&&x.push(tl(d,v,p))),T)break;d=d.return}0<x.length&&(f=new h(f,y,null,n,s),m.push({event:f,listeners:x}))}}if((e&7)===0){t:{if(h=t==="mouseover"||t==="pointerover",f=t==="mouseout"||t==="pointerout",h&&n!==um&&(y=n.relatedTarget||n.fromElement)&&($i(y)||y[Oo]))break t;if(f||h){if(y=s.window===s?s:(h=s.ownerDocument)?h.defaultView||h.parentWindow:window,f){if(h=n.relatedTarget||n.toElement,f=c,h=h?$i(h):null,h!==null&&(T=rl(h),x=h.tag,h!==T||x!==5&&x!==27&&x!==6))h=null}else f=null,h=c;if(f!==h){if(x=Ug,v="onMouseLeave",g="onMouseEnter",d="mouse",t==="pointerout"||t==="pointerover")x=Lg,v="onPointerLeave",g="onPointerEnter",d="pointer";T=f==null?y:Mr(f),p=h==null?y:Mr(h),y=new x(v,d+"leave",f,n,s),y.target=T,y.relatedTarget=p,v=null,$i(s)===c&&(x=new x(g,d+"enter",h,n,s),x.target=p,x.relatedTarget=T,v=x),T=v,x=f&&h?Pf(f,h,lM):null,f!==null&&R0(m,y,f,x,!1),h!==null&&T!==null&&R0(m,T,h,x,!0)}}}t:{if(f=c?Mr(c):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var b=Yg;else if(qg(f))if(Uy)b=d2;else{b=f2;var w=c2}else h=f.nodeName,!h||h.toLowerCase()!=="input"||f.type!=="checkbox"&&f.type!=="radio"?c&&pd(c.elementType)&&(b=Yg):b=m2;if(b&&(b=b(t,c))){By(m,b,n,s);break t}w&&w(t,f,c)}switch(w=c?Mr(c):window,t){case"focusin":if(qg(w)||w.contentEditable==="true")Pa=w,mm=c,Rr=null;break;case"focusout":Rr=mm=Pa=null;break;case"mousedown":dm=!0;break;case"contextmenu":case"mouseup":case"dragend":dm=!1,Qg(m,n,s);break;case"selectionchange":if(h2)break;case"keydown":case"keyup":Qg(m,n,s)}var S;if(vd)t:{switch(t){case"compositionstart":var E="onCompositionStart";break t;case"compositionend":E="onCompositionEnd";break t;case"compositionupdate":E="onCompositionUpdate";break t}E=void 0}else Ja?Ry(t,n)&&(E="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(E="onCompositionStart");if(E&&(zy&&n.locale!=="ko"&&(Ja||E!=="onCompositionStart"?E==="onCompositionEnd"&&Ja&&(S=Dy()):(ri=s,gd=("value"in ri)?ri.value:ri.textContent,Ja=!0)),w=Cu(c,E),0<w.length&&(E=new Hg(E,t,null,n,s),m.push({event:E,listeners:w}),S?E.data=S:(S=_y(n),S!==null&&(E.data=S)))),S=o2?r2(t,n):l2(t,n))E=Cu(c,"onBeforeInput"),0<E.length&&(w=new Hg("onBeforeInput","beforeinput",null,n,s),m.push({event:w,listeners:E}),w.data=S);oM(m,t,c,n,s)}V1(m,e)})}function tl(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Cu(t,e){for(var n=e+"Capture",i=[];t!==null;){var a=t,o=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||o===null||(a=Zr(t,n),a!=null&&i.unshift(tl(t,a,o)),a=Zr(t,e),a!=null&&i.push(tl(t,a,o))),t.tag===3)return i;t=t.return}return[]}function lM(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t?t:null}function R0(t,e,n,i,a){for(var o=e._reactName,r=[];n!==null&&n!==i;){var l=n,u=l.alternate,c=l.stateNode;if(l=l.tag,u!==null&&u===i)break;l!==5&&l!==26&&l!==27||c===null||(u=c,a?(c=Zr(n,o),c!=null&&r.unshift(tl(n,c,u))):a||(c=Zr(n,o),c!=null&&r.push(tl(n,c,u)))),n=n.return}r.length!==0&&t.push({event:e,listeners:r})}var sM=/\\r\\n?/g,uM=/\\u0000|\\uFFFD/g;function _0(t){return(typeof t==="string"?t:""+t).replace(sM,\`
|
|
5523
|
-
\`).replace(uM,"")}function z1(t,e){return e=_0(e),_0(t)===e?!0:!1}function ot(t,e,n,i,a,o){switch(n){case"children":if(typeof i==="string")e==="body"||e==="textarea"&&i===""||yo(t,i);else if(typeof i==="number"||typeof i==="bigint")e!=="body"&&yo(t,""+i);else return;break;case"className":Ss(t,"class",i);break;case"tabIndex":Ss(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Ss(t,n,i);break;case"style":Ny(t,i,o);return;case"data":if(e!=="object"){Ss(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(i==null||typeof i==="function"||typeof i==="symbol"||typeof i==="boolean"){t.removeAttribute(n);break}i=Bs(i),t.setAttribute(n,i);break;case"action":case"formAction":if(typeof i==="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o==="function"&&(n==="formAction"?(e!=="input"&&ot(t,e,"name",a.name,a,null),ot(t,e,"formEncType",a.formEncType,a,null),ot(t,e,"formMethod",a.formMethod,a,null),ot(t,e,"formTarget",a.formTarget,a,null)):(ot(t,e,"encType",a.encType,a,null),ot(t,e,"method",a.method,a,null),ot(t,e,"target",a.target,a,null)));if(i==null||typeof i==="symbol"||typeof i==="boolean"){t.removeAttribute(n);break}i=Bs(i),t.setAttribute(n,i);break;case"onClick":i!=null&&(t.onclick=mn);return;case"onScroll":i!=null&&Q("scroll",t);return;case"onScrollEnd":i!=null&&Q("scrollend",t);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(C(61));if(n=i.__html,n!=null){if(a.children!=null)throw Error(C(60));(o!=null?o.__html:void 0)!==n&&(t.innerHTML=n)}}break;case"multiple":t.multiple=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"muted":t.muted=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i==="function"||typeof i==="boolean"||typeof i==="symbol"){t.removeAttribute("xlink:href");break}n=Bs(i),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!=="function"&&typeof i!=="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!=="function"&&typeof i!=="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":i===!0?t.setAttribute(n,""):i!==!1&&i!=null&&typeof i!=="function"&&typeof i!=="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!=="function"&&typeof i!=="symbol"&&!isNaN(i)&&1<=i?t.setAttribute(n,i):t.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i==="function"||typeof i==="symbol"||isNaN(i)?t.removeAttribute(n):t.setAttribute(n,i);break;case"popover":Q("beforetoggle",t),Q("toggle",t),_s(t,"popover",i);break;case"xlinkActuate":On(t,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":On(t,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":On(t,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":On(t,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":On(t,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":On(t,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":On(t,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":On(t,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":On(t,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":_s(t,"is",i);break;case"innerText":case"textContent":return;default:if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")n=VE.get(n)||n,_s(t,n,i);else return}W=!0}function Im(t,e,n,i,a,o){switch(n){case"style":Ny(t,i,o);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(C(61));if(n=i.__html,n!=null){if(a.children!=null)throw Error(C(60));(o!=null?o.__html:void 0)!==n&&(t.innerHTML=n)}}break;case"children":if(typeof i==="string")yo(t,i);else if(typeof i==="number"||typeof i==="bigint")yo(t,""+i);else return;break;case"onScroll":i!=null&&Q("scroll",t);return;case"onScrollEnd":i!=null&&Q("scrollend",t);return;case"onClick":i!=null&&(t.onclick=mn);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!Ey.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(a=n.endsWith("Capture"),o=n.slice(2,a?n.length-7:void 0),e=t[ye]||null,e=e!=null?e[n]:null,typeof e==="function"&&t.removeEventListener(o,e,a),typeof i==="function")){typeof e!=="function"&&e!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(o,i,a);break t}W=!0,n in t?t[n]=i:i===!0?t.setAttribute(n,""):_s(t,n,i)}return}W=!0}function Ft(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Q("error",t),Q("load",t);var i=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var r=n[o];if(r!=null)switch(o){case"src":i=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(C(137,e));default:ot(t,e,o,r,n,null)}}a&&ot(t,e,"srcSet",n.srcSet,n,null),i&&ot(t,e,"src",n.src,n,null);return;case"input":Q("invalid",t);var l=o=r=a=null,u=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var s=n[i];if(s!=null)switch(i){case"name":a=s;break;case"type":r=s;break;case"checked":u=s;break;case"defaultChecked":c=s;break;case"value":o=s;break;case"defaultValue":l=s;break;case"children":case"dangerouslySetInnerHTML":if(s!=null)throw Error(C(137,e));break;default:ot(t,e,i,s,n,null)}}Cy(t,o,l,u,c,r,a,!1);return;case"select":Q("invalid",t),i=r=o=null;for(a in n)if(n.hasOwnProperty(a)&&(l=n[a],l!=null))switch(a){case"value":o=l;break;case"defaultValue":r=l;break;case"multiple":i=l;default:ot(t,e,a,l,n,null)}e=o,n=r,t.multiple=!!i,e!=null?oo(t,!!i,e,!1):n!=null&&oo(t,!!i,n,!0);return;case"textarea":Q("invalid",t),o=a=i=null;for(r in n)if(n.hasOwnProperty(r)&&(l=n[r],l!=null))switch(r){case"value":i=l;break;case"defaultValue":a=l;break;case"children":o=l;break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(C(91));break;default:ot(t,e,r,l,n,null)}Oy(t,i,a,o);return;case"option":for(u in n)if(n.hasOwnProperty(u)&&(i=n[u],i!=null))switch(u){case"selected":t.selected=i&&typeof i!=="function"&&typeof i!=="symbol";break;default:ot(t,e,u,i,n,null)}return;case"dialog":Q("beforetoggle",t),Q("toggle",t),Q("cancel",t),Q("close",t);break;case"iframe":case"object":Q("load",t);break;case"video":case"audio":for(i=0;i<Wr.length;i++)Q(Wr[i],t);break;case"image":Q("error",t),Q("load",t);break;case"details":Q("toggle",t);break;case"embed":case"source":case"link":Q("error",t),Q("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&(i=n[c],i!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(C(137,e));default:ot(t,e,c,i,n,null)}return;default:if(pd(e)){for(s in n)n.hasOwnProperty(s)&&(i=n[s],i!==void 0&&Im(t,e,s,i,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(i=n[l],i!=null&&ot(t,e,l,i,n,null))}var cM={};function fM(t,e,n,i){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,o=null,r=null,l=null,u=null,c=null,s=null;for(h in n){var m=n[h];if(n.hasOwnProperty(h)&&m!=null)switch(h){case"checked":break;case"value":break;case"defaultValue":u=m;default:i.hasOwnProperty(h)||ot(t,e,h,null,i,m)}}for(var f in i){var h=i[f];if(m=n[f],i.hasOwnProperty(f)&&(h!=null||m!=null))switch(f){case"type":h!==m&&(W=!0),o=h;break;case"name":h!==m&&(W=!0),a=h;break;case"checked":h!==m&&(W=!0),c=h;break;case"defaultChecked":h!==m&&(W=!0),s=h;break;case"value":h!==m&&(W=!0),r=h;break;case"defaultValue":h!==m&&(W=!0),l=h;break;case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(C(137,e));break;default:h!==m&&ot(t,e,f,h,i,m)}}sm(t,r,l,u,c,s,o,a);return;case"select":h=r=l=f=null;for(o in n)if(u=n[o],n.hasOwnProperty(o)&&u!=null)switch(o){case"value":break;case"multiple":h=u;default:i.hasOwnProperty(o)||ot(t,e,o,null,i,u)}for(a in i)if(o=i[a],u=n[a],i.hasOwnProperty(a)&&(o!=null||u!=null))switch(a){case"value":o!==u&&(W=!0),f=o;break;case"defaultValue":o!==u&&(W=!0),l=o;break;case"multiple":o!==u&&(W=!0),r=o;default:o!==u&&ot(t,e,a,o,i,u)}e=l,n=r,i=h,f!=null?oo(t,!!n,f,!1):!!i!==!!n&&(e!=null?oo(t,!!n,e,!0):oo(t,!!n,n?[]:"",!1));return;case"textarea":h=f=null;for(l in n)if(a=n[l],n.hasOwnProperty(l)&&a!=null&&!i.hasOwnProperty(l))switch(l){case"value":break;case"children":break;default:ot(t,e,l,null,i,a)}for(r in i)if(a=i[r],o=n[r],i.hasOwnProperty(r)&&(a!=null||o!=null))switch(r){case"value":a!==o&&(W=!0),f=a;break;case"defaultValue":a!==o&&(W=!0),h=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(C(91));break;default:a!==o&&ot(t,e,r,a,i,o)}wy(t,f,h);return;case"option":for(var y in n)if(f=n[y],n.hasOwnProperty(y)&&f!=null&&!i.hasOwnProperty(y))switch(y){case"selected":t.selected=!1;break;default:ot(t,e,y,null,i,f)}for(u in i)if(f=i[u],h=n[u],i.hasOwnProperty(u)&&f!==h&&(f!=null||h!=null))switch(u){case"selected":f!==h&&(W=!0),t.selected=f&&typeof f!=="function"&&typeof f!=="symbol";break;default:ot(t,e,u,f,i,h)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var x in n)f=n[x],n.hasOwnProperty(x)&&f!=null&&!i.hasOwnProperty(x)&&ot(t,e,x,null,i,f);for(c in i)if(f=i[c],h=n[c],i.hasOwnProperty(c)&&f!==h&&(f!=null||h!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(C(137,e));break;default:ot(t,e,c,f,i,h)}return;default:if(pd(e)){for(var T in n)f=n[T],n.hasOwnProperty(T)&&f!==void 0&&!i.hasOwnProperty(T)&&Im(t,e,T,void 0,i,f);for(s in i)f=i[s],h=n[s],!i.hasOwnProperty(s)||f===h||f===void 0&&h===void 0||Im(t,e,s,f,i,h);return}}for(var g in n)f=n[g],n.hasOwnProperty(g)&&f!=null&&!i.hasOwnProperty(g)&&ot(t,e,g,null,i,f);for(m in i)f=i[m],h=n[m],!i.hasOwnProperty(m)||f===h||f==null&&h==null||ot(t,e,m,f,i,h)}function B0(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function mM(){if(typeof performance.getEntriesByType==="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var a=n[i],o=a.transferSize,r=a.initiatorType,l=a.duration;if(o&&l&&B0(r)){r=0,l=a.responseEnd;for(i+=1;i<n.length;i++){var u=n[i],c=u.startTime;if(c>l)break;var{transferSize:s,initiatorType:m}=u;s&&B0(m)&&(u=u.responseEnd,r+=s*(u<l?1:(l-c)/(u-c)))}if(--i,e+=8*(o+r)/(a.duration/1000),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t==="number")?t:5}var Wm=null,td=null;function el(t){return t.nodeType===9?t:t.ownerDocument}function U0(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function R1(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function _1(t,e,n,i){return n=el(n).createElement(t),n[Kt]=i,n[ye]=e,Ft(n,t,e),qt(n),n}function ed(t,e){return t==="textarea"||t==="noscript"||typeof e.children==="string"||typeof e.children==="number"||typeof e.children==="bigint"||typeof e.dangerouslySetInnerHTML==="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var $f=null;function dM(){var t=window.event;if(t&&t.type==="popstate"){if(t===$f)return!1;return $f=t,!0}return $f=null,!1}var tp=typeof setTimeout==="function"?setTimeout:void 0,pM=typeof clearTimeout==="function"?clearTimeout:void 0,H0=typeof Promise==="function"?Promise:void 0,L0=typeof requestAnimationFrame==="function"?requestAnimationFrame:tp,hM=typeof queueMicrotask==="function"?queueMicrotask:typeof H0<"u"?function(t){return H0.resolve(null).then(t).catch(gM)}:tp;function gM(t){setTimeout(function(){throw t})}function wi(t){return t==="head"}function G0(t,e){var n=e,i=0;do{var a=n.nextSibling;if(t.removeChild(n),a&&a.nodeType===8)if(n=a.data,n==="/$"||n==="/&"){if(i===0){t.removeChild(a),wo(e);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")kf(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,kf(n);for(var o=n.firstChild;o;){var{nextSibling:r,nodeName:l}=o;o[cl]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=r}}else n==="body"&&kf(t.ownerDocument.body);n=a}while(n);wo(e)}function j0(t,e){var n=t;t=0;do{var i=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$")if(t===0)break;else t--;else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=i}while(n)}function B1(t,e,n){if(e=CSS.escape(e)!==e?"r-"+btoa(e).replace(/=/g,""):e,t.style.viewTransitionName=e,n!=null&&(t.style.viewTransitionClass=n),n=getComputedStyle(t),n.display==="inline"){if(e=t.getClientRects(),e.length===1)var i=1;else for(var a=i=0;a<e.length;a++){var o=e[a];0<o.width&&0<o.height&&i++}i===1&&(t=t.style,t.display=e.length===1?"inline-block":"block",t.marginTop="-"+n.paddingTop,t.marginBottom="-"+n.paddingBottom)}}function U1(t,e){t=t.style,e=e.style;var n=e!=null?e.hasOwnProperty("viewTransitionName")?e.viewTransitionName:e.hasOwnProperty("view-transition-name")?e["view-transition-name"]:null:null;t.viewTransitionName=n==null||typeof n==="boolean"?"":(""+n).trim(),n=e!=null?e.hasOwnProperty("viewTransitionClass")?e.viewTransitionClass:e.hasOwnProperty("view-transition-class")?e["view-transition-class"]:null:null,t.viewTransitionClass=n==null||typeof n==="boolean"?"":(""+n).trim(),t.display==="inline-block"&&(e==null?t.display=t.margin="":(n=e.display,t.display=n==null||typeof n==="boolean"?"":n,n=e.margin,n!=null?t.margin=n:(n=e.hasOwnProperty("marginTop")?e.marginTop:e["margin-top"],t.marginTop=n==null||typeof n==="boolean"?"":n,e=e.hasOwnProperty("marginBottom")?e.marginBottom:e["margin-bottom"],t.marginBottom=e==null||typeof e==="boolean"?"":e)))}function H1(t,e,n){return n=n.ownerDocument.defaultView,{rect:t,abs:e.position==="absolute"||e.position==="fixed",clip:e.clipPath!=="none"||e.overflow!=="visible"||e.filter!=="none"||e.mask!=="none"||e.mask!=="none"||e.borderRadius!=="0px",view:0<=t.bottom&&0<=t.right&&t.top<=n.innerHeight&&t.left<=n.innerWidth}}function nd(t){var e=t.getBoundingClientRect(),n=getComputedStyle(t);return H1(e,n,t)}function yM(t){var e=t.getBoundingClientRect();e=new DOMRect(e.x+20000,e.y+20000,e.width,e.height);var n=getComputedStyle(t);return H1(e,n,t)}function vM(t){return t.documentElement.clientHeight}function xM(t){this.addEventListener("load",t),this.addEventListener("error",t)}function bM(t,e,n,i,a,o,r,l,u){var c=e.nodeType===9?e:e.ownerDocument;try{var s=c.startViewTransition({update:function(){var f=c.defaultView,h=f.navigation&&f.navigation.transition,y=c.fonts.status;i();var x=[];if(y==="loaded"&&(vM(c),c.fonts.status==="loading"&&x.push(c.fonts.ready)),y=x.length,t!==null)for(var T=t.suspenseyImages,g=0,d=0;d<T.length;d++){var p=T[d];if(!p.complete){var v=p.getBoundingClientRect();if(0<v.bottom&&0<v.right&&v.top<f.innerHeight&&v.left<f.innerWidth){if(g+=k1(p),g>Ps){x.length=y;break}p=new Promise(xM.bind(p)),x.push(p)}}}if(0<x.length)return f=Promise.race([Promise.all(x),new Promise(function(b){return setTimeout(b,500)})]).then(a,a),(h?Promise.allSettled([h.finished,f]):f).then(o,o);if(a(),h)return h.finished.then(o,o);o()},types:n});c.__reactViewTransition=s;var m=[];return s.ready.then(function(){for(var f=c.documentElement.getAnimations({subtree:!0}),h=0;h<f.length;h++){var y=f[h],x=y.effect,T=x.pseudoElement;if(T!=null&&T.startsWith("::view-transition")){m.push(y),y=x.getKeyframes();for(var g=T=void 0,d=!0,p=0;p<y.length;p++){var v=y[p],b=v.width;if(T===void 0)T=b;else if(T!==b){d=!1;break}if(b=v.height,g===void 0)g=b;else if(g!==b){d=!1;break}delete v.width,delete v.height,v.transform==="none"&&delete v.transform}d&&T!==void 0&&g!==void 0&&(x.setKeyframes(y),d=getComputedStyle(x.target,x.pseudoElement),d.width!==T||d.height!==g)&&(d=y[0],d.width=T,d.height=g,d=y[y.length-1],d.width=T,d.height=g,x.setKeyframes(y))}}r()},function(f){c.__reactViewTransition===s&&(c.__reactViewTransition=null);try{if(typeof f==="object"&&f!==null)switch(f.name){case"InvalidStateError":if(f.message==="View transition was skipped because document visibility state is hidden."||f.message==="Skipping view transition because document visibility state has become hidden."||f.message==="Skipping view transition because viewport size changed."||f.message==="Transition was aborted because of invalid state")f=null}f!==null&&u(f)}finally{i(),a(),r()}}),s.finished.finally(function(){for(var f=0;f<m.length;f++)m[f].cancel();c.__reactViewTransition===s&&(c.__reactViewTransition=null),l()}),s}catch(f){return i(),a(),r(),null}}function Fi(t,e){this._scope=document.documentElement,this._selector="::view-transition-"+t+"("+e+")"}Fi.prototype.animate=function(t,e){return e=typeof e==="number"?{duration:e}:ft({},e),e.pseudoElement=this._selector,this._scope.animate(t,e)};Fi.prototype.getAnimations=function(){for(var t=this._scope,e=this._selector,n=t.getAnimations({subtree:!0}),i=[],a=0;a<n.length;a++){var o=n[a].effect;o!==null&&o.target===t&&o.pseudoElement===e&&i.push(n[a])}return i};Fi.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function L1(t){return{name:t,group:new Fi("group",t),imagePair:new Fi("image-pair",t),old:new Fi("old",t),new:new Fi("new",t)}}function De(t){this._fragmentFiber=t,this._observers=this._eventListeners=null}De.prototype.addEventListener=function(t,e,n){var i=null,a=null;if(n!=null&&typeof n!=="boolean"&&(i=n.signal||null,i!==null&&i.aborted))return;this._eventListeners===null&&(this._eventListeners=[]);var o=this._eventListeners;if(G1(o,t,e,n)===-1){var r=this,l=e;n!=null&&typeof n!=="boolean"&&n.once===!0&&(l=function(u){r.removeEventListener(t,e,n),typeof e==="function"?e.call(this,u):e.handleEvent(u)}),i!==null&&(a=r.removeEventListener.bind(r,t,e,n),i.addEventListener("abort",a,{once:!0}),a=i.removeEventListener.bind(i,"abort",a)),i=Eo(n),o.push({type:t,listener:e,optionsOrUseCapture:n,attachedListener:l,cleanup:a}),ge(this._fragmentFiber.child,!1,SM,t,l,i)}this._eventListeners=o};function SM(t,e,n,i){return Bt(t).addEventListener(e,n,i),!1}De.prototype.removeEventListener=function(t,e,n){var i=this._eventListeners;if(i!==null&&(e=G1(i,t,e,n),e!==-1)){var a=i[e];n=a.attachedListener;var o=a.cleanup;a=Eo(a.optionsOrUseCapture),ge(this._fragmentFiber.child,!1,TM,t,n,a),i.splice(e,1),o!==null&&o()}};function TM(t,e,n,i){return Bt(t).removeEventListener(e,n,i),!1}function Eo(t){return t!=null&&typeof t!=="boolean"&&(t.once===!0||t.signal instanceof AbortSignal)?{capture:t.capture,passive:t.passive}:t}function q0(t){return t==null?"c=0":typeof t==="boolean"?"c="+(t?"1":"0"):"c="+(t.capture?"1":"0")}function G1(t,e,n,i){if(t.length===0)return-1;i=q0(i);for(var a=0;a<t.length;a++){var o=t[a];if(o.type===e&&o.listener===n&&q0(o.optionsOrUseCapture)===i)return a}return-1}De.prototype.dispatchEvent=function(t){var e=sa(this._fragmentFiber);if(e===null)return!0;e=Bt(e);var n=this._eventListeners;if(n!==null&&0<n.length||!t.bubbles){var i=e.nodeType===9?e.createComment(""):document.createTextNode("");if(n)for(var a=0;a<n.length;a++){var o=n[a];i.addEventListener(o.type,o.attachedListener,Eo(o.optionsOrUseCapture))}if(e.appendChild(i),t=i.dispatchEvent(t),n)for(a=0;a<n.length;a++)o=n[a],i.removeEventListener(o.type,o.attachedListener,Eo(o.optionsOrUseCapture));return e.removeChild(i),t}return e.dispatchEvent(t)};De.prototype.focus=function(t){ge(this._fragmentFiber.child,!0,j1,t,void 0,void 0)};function j1(t,e){if(t.tag===6)return!1;return t=Bt(t),_M(t,e)}De.prototype.focusLast=function(t){var e=[];ge(this._fragmentFiber.child,!0,ep,e,void 0,void 0);for(var n=e.length-1;0<=n&&!j1(e[n],t);n--);};function ep(t,e){return e.push(t),!1}De.prototype.blur=function(){var t=sa(this._fragmentFiber);t!==null&&(t=Bt(t),t=el(t).activeElement,t!==null&&ge(this._fragmentFiber.child,!1,EM,t,void 0,void 0))};function EM(t,e){if(t.tag===6)return!1;return t=Bt(t),t===e||t.contains(e)?(e.blur(),!0):!1}De.prototype.observeUsing=function(t){this._observers===null&&(this._observers=new Set),this._observers.add(t),ge(this._fragmentFiber.child,!1,MM,t,void 0,void 0)};function MM(t,e){if(t.tag===6)return!1;return t=Bt(t),e.observe(t),!1}De.prototype.unobserveUsing=function(t){var e=this._observers;if(e!==null&&e.has(t)){e.delete(t),ge(this._fragmentFiber.child,!1,AM,t,void 0,void 0);for(var n=e=0;n<ke.length;n++){var i=ke[n];i.fragmentInstance===this&&i.observer===t?t.unobserve(i.instance):ke[e++]=i}ke.length=e}};function AM(t,e){if(t.tag===6)return!1;return t=Bt(t),e.unobserve(t),!1}var ke=[],Ff=!1;function CM(t,e,n){ke.push({fragmentInstance:t,observer:e,instance:n}),Ff||(Ff=!0,BM(function(){Ff=!1;var i=ke;ke=[];for(var a=0;a<i.length;a++){var o=i[a];o.observer.unobserve(o.instance)}}))}De.prototype.getClientRects=function(){var t=[];return ge(this._fragmentFiber.child,!1,wM,t,void 0,void 0),t};function wM(t,e){if(t.tag===6){t=t.stateNode;var n=t.ownerDocument.createRange();n.selectNodeContents(t),e.push.apply(e,n.getClientRects())}else t=Bt(t),e.push.apply(e,t.getClientRects());return!1}De.prototype.getRootNode=function(t){var e=sa(this._fragmentFiber);return e===null?this:Bt(e).getRootNode(t)};De.prototype.compareDocumentPosition=function(t){var e=sa(this._fragmentFiber);if(e===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];ge(this._fragmentFiber.child,!1,ep,n,void 0,void 0);var i=Bt(e);if(n.length===0){if(n=i,Tg(this._fragmentFiber)){t:{for(e=this._fragmentFiber.return;e!==null;){if(e.tag===4){e=e.stateNode.containerInfo;break t}if(e.tag===3||e.tag===5||e.tag===27)break;e=e.return}e=null}e!=null&&(n=e)}e=this._fragmentFiber;var a=i=n.compareDocumentPosition(t);return n===t?a=Node.DOCUMENT_POSITION_CONTAINS:i&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=sy(e)[1],n===null?a=Node.DOCUMENT_POSITION_PRECEDING:(t=Bt(n).compareDocumentPosition(t),a=t===0||t&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),a|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}e=Bt(n[0]),a=Bt(n[n.length-1]);var o=Tg(this._fragmentFiber)?e.parentElement:i;if(o==null)return Node.DOCUMENT_POSITION_DISCONNECTED;i=o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY,o=o.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY;var r=e.compareDocumentPosition(t),l=a.compareDocumentPosition(t),u=r&Node.DOCUMENT_POSITION_CONTAINED_BY||l&Node.DOCUMENT_POSITION_CONTAINED_BY;return l=i&&o&&r&Node.DOCUMENT_POSITION_FOLLOWING&&l&Node.DOCUMENT_POSITION_PRECEDING,e=i&&e===t||o&&a===t||u||l?Node.DOCUMENT_POSITION_CONTAINED_BY:!i&&e===t||!o&&a===t?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:r,e&Node.DOCUMENT_POSITION_DISCONNECTED||e&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||OM(e,this._fragmentFiber,n[0],n[n.length-1],t)?e:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function OM(t,e,n,i,a){var o=$i(a);if(t&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!o)t:{for(;o!==null;){if(o.tag===7&&(o===e||o.alternate===e)){n=!0;break t}o=o.return}n=!1}return n}if(t&Node.DOCUMENT_POSITION_CONTAINS){if(o===null)return o=a.ownerDocument,a===o||a===o.documentElement||a===o.body;t:{o=e;for(e=sa(e);o!==null;){if(!(o.tag!==5&&o.tag!==3&&o.tag!==27||o!==e&&o.alternate!==e)){o=!0;break t}o=o.return}o=!1}return o}return t&Node.DOCUMENT_POSITION_PRECEDING?((e=!!o)&&!(e=o===n)&&(e=Pf(n,o,Eg),e===null?e=!1:(ge(e,!0,aE,o,n),o=Qa,Qa=null,e=o!==null)),e):t&Node.DOCUMENT_POSITION_FOLLOWING?((e=!!o)&&!(e=o===i)&&(e=Pf(i,o,Eg),e===null?e=!1:(ge(e,!0,oE,o,i),o=Qa,Jf=Qa=null,e=o!==null)),e):!1}function Y0(t,e){var n=t.ownerDocument.createRange();n.selectNodeContents(t),t=n.getBoundingClientRect(),window.scrollTo(window.scrollX+t.left,e?window.scrollY+t.top:window.scrollY+t.bottom-window.innerHeight)}De.prototype.scrollIntoView=function(t){if(typeof t==="object")throw Error(C(566));var e=[];ge(this._fragmentFiber.child,!1,ep,e,void 0,void 0);var n=t!==!1;if(e.length===0){var i=sy(this._fragmentFiber);if(i=n?i[1]||i[0]||sa(this._fragmentFiber):i[0]||i[1],i===null)return;if(i.tag===6){t=Bt(i),Y0(t,n);return}if(i=Bt(i),i.nodeType!==9){if(i.nodeType===11){n="host"in i?i.host:null,n!==null&&n.scrollIntoView(t);return}i.scrollIntoView(t)}}for(i=n?e.length-1:0;i!==(n?-1:e.length);){var a=e[i];a.tag===6?(a=Bt(a),Y0(a,n)):Bt(a).scrollIntoView(t),i+=n?-1:1}};function NM(t,e){return t=Bt(t),q1(t,e),!1}function q1(t,e){t.reactFragments==null&&(t.reactFragments=new Set),t.reactFragments.add(e)}function Y1(t,e){var n=e._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];t.addEventListener(a.type,a.attachedListener,Eo(a.optionsOrUseCapture))}t.nodeType!==3&&(n=e._observers,n!==null&&n.forEach(function(o){for(var r=0,l=0;l<ke.length;l++){var u=ke[l];if(u.fragmentInstance!==e||u.observer!==o||u.instance!==t)ke[r++]=u}ke.length=r,o.observe(t)}),q1(t,e))}function VM(t,e){var n=e._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];t.removeEventListener(a.type,a.attachedListener,Eo(a.optionsOrUseCapture))}t.nodeType!==3&&(n=e._observers,n!==null&&n.forEach(function(o){typeof o.rootMargin==="string"?CM(e,o,t):o.unobserve(t)}),t.reactFragments!=null&&t.reactFragments.delete(e))}function id(t){var e=t.firstChild;e&&e.nodeType===10&&(e=e.nextSibling);for(;e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":id(n),Vu(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function DM(t,e,n,i){for(;t.nodeType===1;){var a=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(!i)if(e==="input"&&t.type==="hidden"){var o=a.name==null?null:""+a.name;if(a.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;else if(!t[cl])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;else if(o!==a.rel||t.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||t.getAttribute("title")!==(a.title==null?null:a.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(a.src==null?null:a.src)||t.getAttribute("type")!==(a.type==null?null:a.type)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}if(t=Xe(t.nextSibling),t===null)break}return null}function zM(t,e,n){if(e==="")return null;for(;t.nodeType!==3;){if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n)return null;if(t=Xe(t.nextSibling),t===null)return null}return t}function X1(t,e){for(;t.nodeType!==8;){if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e)return null;if(t=Xe(t.nextSibling),t===null)return null}return t}function ad(t){return t.data==="$?"||t.data==="$~"}function np(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function RM(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var i=function(){e(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}function Xe(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var od=null;function X0(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Xe(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function K0(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function _M(t,e){function n(){i=!0}if(t.ownerDocument.activeElement===t)return!0;var i=!1;try{t.ownerDocument.addEventListener("focus",n,!0),(t.focus||HTMLElement.prototype.focus).call(t,e)}finally{t.ownerDocument.removeEventListener("focus",n,!0)}return i}function BM(t){L0(function(){L0(function(e){return t(e)})})}function K1(t,e,n){switch(e=el(n),t){case"html":if(t=e.documentElement,!t)throw Error(C(452));return t;case"head":if(t=e.head,!t)throw Error(C(453));return t;case"body":if(t=e.body,!t)throw Error(C(454));return t;default:throw Error(C(451))}}function Z1(t,e,n){for(var i in n){var a=n[i];n.hasOwnProperty(i)&&a!=null&&ot(t,e,i,null,cM,a)}n.dangerouslySetInnerHTML!=null&&(t.textContent=""),t.onclick===mn&&(t.onclick=null),Vu(t)}function kf(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Vu(t)}var Ke=new Map,Z0=new Set;function nl(t){if(typeof t.getRootNode==="function"){var e=t.getRootNode();if(e.nodeType===9||e.nodeType===11)return e}return t.nodeType===9?t:t.ownerDocument}var Yn=et.d;et.d={f:UM,r:HM,D:LM,C:GM,L:jM,m:qM,X:XM,S:YM,M:KM};function UM(){var t=Yn.f(),e=Ku();return t||e}function HM(t){var e=No(t);e!==null&&e.tag===5&&e.type==="form"?Nv(e):Yn.r(t)}var Ro=typeof document>"u"?null:document;function Q1(t,e,n){var i=Ro;if(i&&typeof e==="string"&&e){var a=je(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof n==="string"&&(a+='[crossorigin="'+n+'"]'),Z0.has(a)||(Z0.add(a),t={rel:t,crossOrigin:n,href:e},i.querySelector(a)===null&&(e=i.createElement("link"),Ft(e,"link",t),qt(e),i.head.appendChild(e)))}}function LM(t){Yn.D(t),Q1("dns-prefetch",t,null)}function GM(t,e){Yn.C(t,e),Q1("preconnect",t,e)}function jM(t,e,n){Yn.L(t,e,n);var i=Ro;if(i&&t&&e){var a='link[rel="preload"][as="'+je(e)+'"]';e==="image"?n&&n.imageSrcSet?(a+='[imagesrcset="'+je(n.imageSrcSet)+'"]',typeof n.imageSizes==="string"&&(a+='[imagesizes="'+je(n.imageSizes)+'"]')):a+='[href="'+je(t)+'"]':a+='[href="'+je(t)+'"]';var o=a;switch(e){case"style":o=Mo(t);break;case"script":o=_o(t)}if(!(Ke.has(o)||(t=ft({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Ke.set(o,t),i.querySelector(a)!==null||e==="style"&&i.querySelector(gl(o))||e==="script"&&i.querySelector(yl(o))))){var r=i.createElement("link");Ft(r,"link",t),e==="style"&&(r[au]=!0,r.onload=r.onerror=function(){Sy(r)}),qt(r),i.head.appendChild(r)}}}function qM(t,e){Yn.m(t,e);var n=Ro;if(n&&t){var i=e&&typeof e.as==="string"?e.as:"script",a='link[rel="modulepreload"][as="'+je(i)+'"][href="'+je(t)+'"]',o=a;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=_o(t)}if(!Ke.has(o)&&(t=ft({rel:"modulepreload",href:t},e),Ke.set(o,t),n.querySelector(a)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(yl(o)))return}i=n.createElement("link"),Ft(i,"link",t),qt(i),n.head.appendChild(i)}}}function YM(t,e,n){Yn.S(t,e,n);var i=Ro;if(i&&t){var a=ao(i).hoistableStyles,o=Mo(t);e=e||"default";var r=a.get(o);if(!r){var l={loading:0,preload:null};if(r=i.querySelector(gl(o)))l.loading=5;else{t=ft({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ke.get(o))&&ip(t,n);var u=r=i.createElement("link");qt(u),Ft(u,"link",t),u._p=new Promise(function(c,s){u.onload=c,u.onerror=s}),u.addEventListener("load",function(){l.loading|=1}),u.addEventListener("error",function(){l.loading|=2}),l.loading|=4,ks(r,e,i)}r={type:"stylesheet",instance:r,count:1,state:l},a.set(o,r)}}}function XM(t,e){Yn.X(t,e);var n=Ro;if(n&&t){var i=ao(n).hoistableScripts,a=_o(t),o=i.get(a);o||(o=n.querySelector(yl(a)),o||(t=ft({src:t,async:!0},e),(e=Ke.get(a))&&ap(t,e),o=n.createElement("script"),qt(o),Ft(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},i.set(a,o))}}function KM(t,e){Yn.M(t,e);var n=Ro;if(n&&t){var i=ao(n).hoistableScripts,a=_o(t),o=i.get(a);o||(o=n.querySelector(yl(a)),o||(t=ft({src:t,async:!0,type:"module"},e),(e=Ke.get(a))&&ap(t,e),o=n.createElement("script"),qt(o),Ft(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},i.set(a,o))}}function Q0(t,e,n,i){var a=(a=fi.current)?nl(a):null;if(!a)throw Error(C(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence==="string"&&typeof n.href==="string"?(n=Mo(n.href),e=ao(a).hoistableStyles,i=e.get(n),i||(i={type:"style",instance:null,count:0,state:null},e.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href==="string"&&typeof n.precedence==="string"){t=Mo(n.href);var o=ao(a).hoistableStyles,r=o.get(t);if(r||(a=a.ownerDocument||a,r={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,r),(o=a.querySelector(gl(t)))?o._p||(r.instance=o,r.state.loading=5):(o=Ke.get(t),o||(o={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ke.set(t,o)),ZM(a,t,o,r.state))),e&&i===null)throw Error(C(528,""));return r}if(e&&i!==null)throw Error(C(529,""));return null;case"script":return e=n.async,n=n.src,typeof n==="string"&&e&&typeof e!=="function"&&typeof e!=="symbol"?(n=_o(n),e=ao(a).hoistableScripts,i=e.get(n),i||(i={type:"script",instance:null,count:0,state:null},e.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(C(444,t))}}function Mo(t){return'href="'+je(t)+'"'}function gl(t){return'link[rel="stylesheet"]['+t+"]"}function $1(t){return ft({},t,{"data-precedence":t.precedence,precedence:null})}function ZM(t,e,n,i){if(e=t.querySelector('link[rel="preload"][as="style"]['+e+"]")){if(e[au]!==!0){i.loading=1;return}}else e=t.createElement("link"),e[au]=!0,e.onload=e.onerror=Sy.bind(null,e),Ft(e,"link",n),qt(e),t.head.appendChild(e);i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2})}function _o(t){return'[src="'+je(t)+'"]'}function yl(t){return"script[async]"+t}function $0(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+je(n.href)+'"]');if(i)return e.instance=i,qt(i),i;var a=ft({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),qt(i),Ft(i,"style",a),ks(i,n.precedence,t),e.instance=i;case"stylesheet":a=Mo(n.href);var o=t.querySelector(gl(a));if(o)return e.state.loading|=4,e.instance=o,qt(o),o;i=$1(n),(a=Ke.get(a))&&ip(i,a),o=(t.ownerDocument||t).createElement("link"),qt(o);var r=o;return r._p=new Promise(function(l,u){r.onload=l,r.onerror=u}),Ft(o,"link",i),e.state.loading|=4,ks(o,n.precedence,t),e.instance=o;case"script":if(o=_o(n.src),a=t.querySelector(yl(o)))return e.instance=a,qt(a),a;if(i=n,a=Ke.get(o))i=ft({},n),ap(i,a);return t=t.ownerDocument||t,a=t.createElement("script"),qt(a),Ft(a,"link",i),t.head.appendChild(a),e.instance=a;case"void":return null;default:throw Error(C(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(i=e.instance,e.state.loading|=4,ks(i,n.precedence,t));return e.instance}function ks(t,e,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=i.length?i[i.length-1]:null,o=a,r=0;r<i.length;r++){var l=i[r];if(l.dataset.precedence===e)o=l;else if(o!==a)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function ip(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function ap(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Js=null;function F0(t,e,n){if(Js===null){var i=new Map,a=Js=new Map;a.set(n,i)}else a=Js,i=a.get(n),i||(i=new Map,a.set(n,i));if(i.has(t))return i;i.set(t,null),n=n.getElementsByTagName(t);for(a=0;a<n.length;a++){var o=n[a];if(!(o[cl]||o[Kt]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var r=o.getAttribute(e)||"";r=t+r;var l=i.get(r);l?l.push(o):i.set(r,[o])}}return i}function rd(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function QM(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!=="string"||typeof e.href!=="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!=="string"||typeof e.href!=="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence==="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!=="function"&&typeof e.async!=="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src==="string")return!0}return!1}function k0(t,e){return t==="img"&&e.src!=null&&e.src!==""&&e.onLoad==null&&e.loading!=="lazy"}function F1(t){return t.type==="stylesheet"&&(t.state.loading&3)===0?!1:!0}function k1(t){return(t.width||100)*(t.height||100)*(typeof devicePixelRatio==="number"?devicePixelRatio:1)*0.25}function J0(t,e){typeof e.decode==="function"&&(t.imgCount++,e.complete||(t.imgBytes+=k1(e),t.suspenseyImages.push(e)),t=kM.bind(t),e.decode().then(t,t))}function $M(t,e,n,i){if(n.type==="stylesheet"&&(typeof i.media!=="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var a=Mo(i.href),o=e.querySelector(gl(a));if(o){e=o._p,e!==null&&typeof e==="object"&&typeof e.then==="function"&&(t.count++,t=il.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=o,qt(o);return}o=e.ownerDocument||e,i=$1(i),(a=Ke.get(a))&&ip(i,a),o=o.createElement("link"),qt(o);var r=o;r._p=new Promise(function(l,u){r.onload=l,r.onerror=u}),Ft(o,"link",i),n.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=il.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Ps=0;function FM(t,e){return t.stylesheets&&t.count===0&&Is(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var i=setTimeout(function(){if(t.stylesheets&&Is(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},60000+e);0<t.imgBytes&&Ps===0&&(Ps=62500*mM());var a=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Is(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>Ps?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(a)}}:null}function J1(t){if(t.count===0&&(t.imgCount===0||!t.waitingForImages)){if(t.stylesheets)Is(t,t.stylesheets);else if(t.unsuspend){var e=t.unsuspend;t.unsuspend=null,e()}}}function il(){this.count--,J1(this)}function kM(){this.imgCount--,J1(this)}var wu=null;function Is(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,wu=new Map,e.forEach(JM,t),wu=null,il.call(t))}function JM(t,e){if(!(e.state.loading&4)){var n=wu.get(t);if(n)var i=n.get(null);else{n=new Map,wu.set(t,n);for(var a=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<a.length;o++){var r=a[o];if(r.nodeName==="LINK"||r.getAttribute("media")!=="not all")n.set(r.dataset.precedence,r),i=r}i&&n.set(null,i)}a=e.instance,r=a.getAttribute("data-precedence"),o=n.get(r)||i,o===i&&n.set(null,a),n.set(r,a),this.count++,i=il.bind(this),a.addEventListener("load",i),a.addEventListener("error",i),o?o.parentNode.insertBefore(a,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(a,t.firstChild)),e.state.loading|=4}}var Ao={$$typeof:fn,Provider:null,Consumer:null,_currentValue:ki,_currentValue2:ki,_threadCount:0};function PM(t,e,n,i,a,o,r,l,u){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Mf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mf(0),this.hiddenUpdates=Mf(null),this.identifierPrefix=i,this.onUncaughtError=a,this.onCaughtError=o,this.onRecoverableError=r,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=u,this.transitionTypes=null,this.incompleteTransitions=new Map}function P1(t,e,n,i,a,o,r,l,u,c,s,m){return t=new PM(t,e,n,r,u,c,s,m,l),e=1,o===!0&&(e|=24),o=pe(3,null,null,e),t.current=o,o.stateNode=t,e=Md(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:i,isDehydrated:n,cache:e},wd(o),t}function I1(t){if(!t)return to;return t=to,t}function W1(t,e,n,i,a,o){a=I1(a),i.context===null?i.context=a:i.pendingContext=a,i=di(e),i.payload={element:n},o=o===void 0?null:o,o!==null&&(i.callback=o),n=pi(t,i,e),n!==null&&(he(n,t,e),Br(n,t,e))}function P0(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function op(t,e){P0(t,e),(t=t.alternate)&&P0(t,e)}function tx(t){if(t.tag===13||t.tag===31){var e=fa(t,67108864);e!==null&&he(e,t,67108864),op(t,67108864)}}function I0(t){if(t.tag===13||t.tag===31){var e=Ne();e=md(e);var n=fa(t,e);n!==null&&he(n,t,e),op(t,e)}}var Co=!0;function IM(t,e,n,i){var a=B.T;B.T=null;var o=et.p;try{et.p=2,rp(t,e,n,i)}finally{et.p=o,B.T=a}}function WM(t,e,n,i){var a=B.T;B.T=null;var o=et.p;try{et.p=8,rp(t,e,n,i)}finally{et.p=o,B.T=a}}function rp(t,e,n,i){if(Co){var a=ld(i);if(a===null)Qf(t,e,i,Ou,n),W0(t,i);else if(eA(a,t,e,n,i))i.stopPropagation();else if(W0(t,i),e&4&&-1<tA.indexOf(t)){for(;a!==null;){var o=No(a);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var r=Xi(o.pendingLanes);if(r!==0){var l=o;l.pendingLanes|=2;for(l.entangledLanes|=2;r;){var u=1<<31-Oe(r);l.entanglements[1]|=u,r&=~u}xn(o),(tt&6)===0&&(Tu=Ce()+500,hl(0,!1))}}break;case 31:case 13:l=fa(o,2),l!==null&&he(l,o,2),Ku(),op(o,2)}if(o=ld(i),o===null&&Qf(t,e,i,Ou,n),o===a)break;a=o}a!==null&&i.stopPropagation()}else Qf(t,e,i,null,n)}}function ld(t){return t=hd(t),lp(t)}var Ou=null;function lp(t){if(Ou=null,t=$i(t),t!==null){var e=rl(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=oy(e),t!==null)return t;t=null}else if(n===31){if(t=ry(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ou=t,null}function ex(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(pE()){case my:return 2;case dy:return 8;case iu:case hE:return 32;case py:return 268435456;default:return 32}default:return 32}}var sd=!1,vi=null,xi=null,bi=null,al=new Map,ol=new Map,ai=[],tA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function W0(t,e){switch(t){case"focusin":case"focusout":vi=null;break;case"dragenter":case"dragleave":xi=null;break;case"mouseover":case"mouseout":bi=null;break;case"pointerover":case"pointerout":al.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ol.delete(e.pointerId)}}function Sr(t,e,n,i,a,o){if(t===null||t.nativeEvent!==o)return t={blockedOn:e,domEventName:n,eventSystemFlags:i,nativeEvent:o,targetContainers:[a]},e!==null&&(e=No(e),e!==null&&tx(e)),t;return t.eventSystemFlags|=i,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t}function eA(t,e,n,i,a){switch(e){case"focusin":return vi=Sr(vi,t,e,n,i,a),!0;case"dragenter":return xi=Sr(xi,t,e,n,i,a),!0;case"mouseover":return bi=Sr(bi,t,e,n,i,a),!0;case"pointerover":var o=a.pointerId;return al.set(o,Sr(al.get(o)||null,t,e,n,i,a)),!0;case"gotpointercapture":return o=a.pointerId,ol.set(o,Sr(ol.get(o)||null,t,e,n,i,a)),!0}return!1}function nx(t){var e=$i(t.target);if(e!==null){var n=rl(e);if(n!==null){if(e=n.tag,e===13){if(e=oy(n),e!==null){t.blockedOn=e,wg(t.priority,function(){I0(n)});return}}else if(e===31){if(e=ry(n),e!==null){t.blockedOn=e,wg(t.priority,function(){I0(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ws(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=ld(t.nativeEvent);if(n===null){n=t.nativeEvent;var i=new n.constructor(n.type,n);um=i,n.target.dispatchEvent(i),um=null}else return e=No(n),e!==null&&tx(e),t.blockedOn=n,!1;e.shift()}return!0}function ty(t,e,n){Ws(t)&&n.delete(e)}function nA(){sd=!1,vi!==null&&Ws(vi)&&(vi=null),xi!==null&&Ws(xi)&&(xi=null),bi!==null&&Ws(bi)&&(bi=null),al.forEach(ty),ol.forEach(ty)}function zs(t,e){t.blockedOn===e&&(t.blockedOn=null,sd||(sd=!0,Ut.unstable_scheduleCallback(Ut.unstable_NormalPriority,nA)))}var Rs=null;function ey(t){Rs!==t&&(Rs=t,Ut.unstable_scheduleCallback(Ut.unstable_NormalPriority,function(){Rs===t&&(Rs=null);for(var e=0;e<t.length;e+=3){var n=t[e],i=t[e+1],a=t[e+2];if(typeof i!=="function")if(lp(i||n)===null)continue;else break;var o=No(n);o!==null&&(t.splice(e,3),e-=3,Am(o,{pending:!0,data:a,method:n.method,action:i},i,a))}}))}function wo(t){function e(u){return zs(u,t)}vi!==null&&zs(vi,t),xi!==null&&zs(xi,t),bi!==null&&zs(bi,t),al.forEach(e),ol.forEach(e);for(var n=0;n<ai.length;n++){var i=ai[n];i.blockedOn===t&&(i.blockedOn=null)}for(;0<ai.length&&(n=ai[0],n.blockedOn===null);)nx(n),n.blockedOn===null&&ai.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var a=n[i],o=n[i+1],r=a[ye]||null;if(typeof o==="function")r||ey(n);else if(r){var l=null;if(o&&o.hasAttribute("formAction")){if(a=o,r=o[ye]||null)l=r.formAction;else if(lp(a)!==null)continue}else l=r.action;typeof l==="function"?n[i+1]=l:(n.splice(i,3),i-=3),ey(n)}}}function ix(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(r){return a=r})},focusReset:"manual",scroll:"manual"})}function e(){a!==null&&(a(),a=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var i=!1,a=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),a!==null&&(a(),a=null)}}}function sp(t){this._internalRoot=t}$u.prototype.render=sp.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(C(409));var n=e.current,i=Ne();W1(n,i,t,e,null,null)};$u.prototype.unmount=sp.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;W1(t.current,2,null,t,null,null),Ku(),e[Oo]=null}};function $u(t){this._internalRoot=t}$u.prototype.unstable_scheduleHydration=function(t){if(t){var e=by();t={blockedOn:null,target:t,priority:e};for(var n=0;n<ai.length&&e!==0&&e<ai[n].priority;n++);ai.splice(n,0,t),n===0&&nx(t)}};var ny=iy.version;if(ny!=="19.3.0")throw Error(C(527,ny,"19.3.0"));et.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0){if(typeof t.render==="function")throw Error(C(188));throw t=Object.keys(t).join(","),Error(C(268,t))}return t=iE(e),t=t!==null?ly(t):null,t=t===null?null:t.stateNode,t};var iA={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){if(Za=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Za.isDisabled&&Za.supportsFiber)try{ll=Za.inject(iA),we=Za}catch(t){}}var Za;Fu.createRoot=function(t,e){if(!ay(t))throw Error(C(299));var n=!1,i="",a=Hv,o=Lv,r=Gv;return e!==null&&e!==void 0&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(a=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(r=e.onRecoverableError)),e=P1(t,1,!1,null,null,n,i,null,a,o,r,ix),t[Oo]=e.current,Wd(t),new sp(e)};Fu.hydrateRoot=function(t,e,n){if(!ay(t))throw Error(C(299));var i=!1,a="",o=Hv,r=Lv,l=Gv,u=null;return n!==null&&n!==void 0&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(r=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),e=P1(t,1,!0,e,n!=null?n:null,i,a,u,o,r,l,ix),e.context=I1(null),n=e.current,i=Ne(),i=md(i),a=di(i),a.callback=null,pi(n,a,i),n=i,e.current.lanes=n,ul(e,n),xn(e),t[Oo]=e.current,Wd(t),new $u(e)};Fu.version="19.3.0"});var lx=an(function(dw,rx){function ox(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ox)}catch(t){console.error(t)}}ox(),rx.exports=ax()});var cx=an(function(ku){var aA=Symbol.for("react.transitional.element"),oA=Symbol.for("react.fragment");function ux(t,e,n){var i=null;if(n!==void 0&&(i=""+n),e.key!==void 0&&(i=""+e.key),"key"in e){n={};for(var a in e)a!=="key"&&(n[a]=e[a])}else n=e;return e=n.ref,{$$typeof:aA,type:t,key:i,ref:e!==void 0?e:null,props:n}}ku.Fragment=oA;ku.jsx=ux;ku.jsxs=ux});var We=an(function(gw,fx){fx.exports=cx()});var TT=J(lx(),1);var vl={light:{bg:"#e8e7e3",panel:"#e6e5e1",panelAlt:"#ecebe7",line:"#b7b5ad",lineSoft:"#cfcdc6",ink:"#3d3a34",inkMuted:"#6b675f",inkFaint:"#a39d91",wire:"#a9a79f",port:"#a39d91",pill:"#e8e7e3",group:"#e3e2de",groupLine:"#cfcdc6",title:"#1c1a17",chrome:"#ecebe7",chromeLine:"#cfcdc6",rose:"#c98f81",roseFill:"#d9d3c7",blue:"#7fa2bf",blueFill:"#d9d3c7",gold:"#bfa95a",goldFill:"#d9d3c7",sage:"#5f7a4f",sageFill:"#d9d3c7",plain:"#8a857c",plainFill:"#d9d3c7",pulse:"#2b2925",pulseBloom:"#3d3a34",pulseBloomEdge:"#8a857c",glow:"#f3d9b6",glowCrest:"#fffaf0",glowGain:"3",glowBlend:"screen",flash:"#141311",portActive:"#141311",playInk:"#a39e94",playInkHover:"#5e5b54",control:"#8f8a81",controlHover:"#26251f",endedInk:"#6f6a61"},dark:{bg:"#080807",panel:"#0b0b0a",panelAlt:"#131313",line:"#383838",lineSoft:"#292929",ink:"#cccccc",inkMuted:"#aaaaaa",inkFaint:"#6e6b65",wire:"#444444",port:"#5a5a5a",pill:"#080807",group:"#0d0d0c",groupLine:"#292929",title:"#e7e5e4",chrome:"#131313",chromeLine:"#292929",rose:"#e1b8ad",roseFill:"#35332f",blue:"#aec8df",blueFill:"#35332f",gold:"#e2d29f",goldFill:"#35332f",sage:"#9aaf8c",sageFill:"#35332f",plain:"#858585",plainFill:"#35332f",pulse:"#ddd8d0",pulseBloom:"#e8e4dc",pulseBloomEdge:"#9a948c",glow:"#8c8882",glowCrest:"#ece9e4",glowGain:"1",glowBlend:"normal",flash:"#f3dfc6",portActive:"#f0f0f0",playInk:"#5e5b54",playInkHover:"#a8a49b",control:"#737373",controlHover:"#d4cec4",endedInk:"#9a9488"}};var Bo={elbowRadius:12,cornerRadius:12,portRadius:3.5,stub:14,panelRadius:0,panelInset:4,groupRadius:0,groupPad:18,groupLabelBand:22,nodePadX:16,nodePadY:11,nodeMinWidth:128,maxLabelChars:26,wireWidth:1,graphArrowheads:!1,panelStroke:1,arrowSize:6,pillPadX:6,pillPadY:3,layerGap:56,nodeGap:28,groupGap:24,margin:32},xt={beats:{react:0.3,step:0.8,settle:1.2,read:1},springs:{react:0.3,smooth:0.45,word:0.16},pulse:{gather:0.34,flight:0.9,flightMin:0.45,flightMax:1.6,pxPerSecond:520,ring:0.72,cooling:1.1,dot:4,halo:18},glow:{duration:1.2,alpha:0.28,minGap:0.3333333333333333},flash:{decay:1.6},reveal:{rise:6,opacityDelay:0.075},dimSuperseded:0.52,endHold:1.5,endedDim:0.75,gateDim:0.55,rewind:{hold:0.15,duration:1.25,empty:0.4,blur:1.1},read:{base:0.25,perWord:0.075,min:1,max:3},warnTotal:60},Ie={spring:{type:"spring",visualDuration:0.3,bounce:0},press:{scale:0.94},hover:{scale:1.04}},Oi=(t)=>\`--si-\${t}\`;function sx(t){let e=vl[t];return Object.keys(e).map((n)=>\`\${Oi(n)}:\${e[n]};\`).join("")}var mx=J(vt(),1),dx=mx.createContext({});var px=J(vt(),1);function Ju(t){let e=px.useRef(null);if(e.current===null)e.current=t();return e.current}var Pu=J(vt(),1);var hx=typeof window<"u";var up=hx?Pu.useLayoutEffect:Pu.useEffect;var gx=J(vt(),1),Iu=gx.createContext(null);function cp(t,e){if(t.indexOf(e)===-1)t.push(e)}function Xn(t,e){let n=t.indexOf(e);if(n>-1)t.splice(n,1)}var Jt=(t,e,n)=>{if(n>e)return e;if(n<t)return t;return n};function fp(t,e){return e?\`\${t}. For more information and steps for solving, visit https://motion.dev/troubleshooting/\${e}\`:t}var Ze=()=>{},Ht=()=>{};if(typeof process<"u"&&process.env?.NODE_ENV!=="production")Ze=(t,e,n)=>{if(!t&&typeof console<"u")console.warn(fp(e,n))},Ht=(t,e,n)=>{if(!t)throw Error(fp(e,n))};var Pt={};var da=(t)=>/^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)$/u.test(t);var pa=(t)=>typeof t==="object"&&t!==null;var ha=(t)=>/^0[^.\\s]+$/u.test(t);function xl(t){let e;return()=>{if(e===void 0)e=t();return e}}var tn=(t)=>t;var Kn=(...t)=>t.reduce((e,n)=>(i)=>n(e(i)));var ga=(t,e,n)=>{let i=e-t;return i?(n-t)/i:1};class ya{constructor(){this.subscriptions=[]}add(t){return cp(this.subscriptions,t),()=>this.remove(t)}remove(t){Xn(this.subscriptions,t)}notify(t,e,n){let i=this.subscriptions.length;if(!i)return;if(i===1)this.subscriptions[0](t,e,n);else for(let a=0;a<i;a++){let o=this.subscriptions[a];o&&o(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}var Lt=(t)=>t*1000,It=(t)=>t/1000;var bl=(t,e)=>e?t*(1000/e):0;var yx=(t,e,n)=>{let i=e-t;return((n-t)%i+i)%i+t};var vx=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,rA=0.0000001,lA=12;function sA(t,e,n,i,a){let o,r,l=0;do if(r=e+(n-e)/2,o=vx(r,i,a)-t,o>0)n=r;else e=r;while(Math.abs(o)>rA&&++l<lA);return r}function Ni(t,e,n,i){if(t===e&&n===i)return tn;let a=(o)=>sA(o,0,1,t,n);return(o)=>o===0||o===1?o:vx(a(o),e,i)}var Wu=(t)=>(e)=>e<=0.5?t(2*e)/2:(2-t(2*(1-e)))/2;var va=(t)=>(e)=>1-t(1-e);var tc=Ni(0.33,1.53,0.69,0.99),Uo=va(tc),Sl=Wu(Uo);var Tl=(t)=>t>=1?1:(t*=2)<1?0.5*Uo(t):0.5*(2-Math.pow(2,-10*(t-1)));var El=(t)=>1-Math.sin(Math.acos(t)),mp=va(El),Ml=Wu(El);var dp=Ni(0.42,0,1,1),pp=Ni(0,0,0.58,1),Ho=Ni(0.42,0,0.58,1);var Al=(t)=>Array.isArray(t)&&typeof t[0]!=="number";function Cl(t,e){return Al(t)?t[yx(0,t.length,e)]:t}var wl=(t)=>Array.isArray(t)&&typeof t[0]==="number";var xx={linear:tn,easeIn:dp,easeInOut:Ho,easeOut:pp,circIn:El,circInOut:Ml,circOut:mp,backIn:Uo,backInOut:Sl,backOut:tc,anticipate:Tl},uA=(t)=>typeof t==="string",ec=(t)=>{if(wl(t)){Ht(t.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,n,i,a]=t;return Ni(e,n,i,a)}else if(uA(t))return Ht(xx[t]!==void 0,\`Invalid easing type '\${t}'\`,"invalid-easing-type"),xx[t];return t};var Ol=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function bx(t){let e=new Set,n=new Set,i=!1,a=!1,o=new Set,r={delta:0,timestamp:0,isProcessing:!1};function l(c){if(o.has(c))n.add(c),t();c(r)}let u={schedule:(c,s=!1,m=!1)=>{let h=m&&i?e:n;if(s)o.add(c);return h.add(c),c},cancel:(c)=>{n.delete(c),o.delete(c)},process:(c)=>{if(r=c,i){a=!0;return}i=!0;let s=e;if(e=n,n=s,e.forEach(l),e.clear(),i=!1,a)a=!1,u.process(c)}};return u}var cA=40;function nc(t,e){let n=!1,i=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=Ol.reduce((p,v)=>(p[v]=bx(o),p),{}),{setup:l,read:u,resolveKeyframes:c,preUpdate:s,update:m,preRender:f,render:h,postRender:y}=r,x=()=>{let p=Pt.useManualTiming,v=p?a.timestamp:performance.now();if(n=!1,!p)a.delta=i?16.666666666666668:Math.max(Math.min(v-a.timestamp,cA),1);if(a.timestamp=v,a.isProcessing=!0,l.process(a),u.process(a),c.process(a),s.process(a),m.process(a),f.process(a),h.process(a),y.process(a),a.isProcessing=!1,n&&e)i=!1,t(x)},T=()=>{if(n=!0,i=!0,!a.isProcessing)t(x)};return{schedule:Ol.reduce((p,v)=>{let b=r[v];return p[v]=(w,S=!1,E=!1)=>{if(!n)T();return b.schedule(w,S,E)},p},{}),cancel:(p)=>{for(let v=0;v<Ol.length;v++)r[Ol[v]].cancel(p)},state:a,steps:r}}var{schedule:ut,cancel:Lo,state:bn,steps:fA}=nc(typeof requestAnimationFrame<"u"?requestAnimationFrame:tn,!0);var ic;function mA(){ic=void 0}var Ot={now:()=>{if(ic===void 0)Ot.set(bn.isProcessing||Pt.useManualTiming?bn.timestamp:performance.now());return ic},set:(t)=>{ic=t,queueMicrotask(mA)}};var Sn=(t)=>Math.round(t*1e5)/1e5;var Sx=(t)=>(e)=>typeof e==="string"&&e.startsWith(t),ac=Sx("--"),dA=Sx("var(--"),Go=(t)=>{if(!dA(t))return!1;return pA.test(t.split("/*")[0].trim())},pA=/var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$/iu;function hp(t){if(typeof t!=="string")return!1;return t.split("/*")[0].includes("var(--")}var Tn={test:(t)=>typeof t==="number",parse:parseFloat,transform:(t)=>t},Zn={...Tn,transform:(t)=>Jt(0,1,t)},Nl={...Tn,default:1};var jo=/-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/gu;function Tx(t){return t==null}var Ex=/^(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))$/iu;var qo=(t,e)=>(n)=>Boolean(typeof n==="string"&&Ex.test(n)&&n.startsWith(t)||e&&!Tx(n)&&Object.prototype.hasOwnProperty.call(n,e)),oc=(t,e,n)=>(i)=>{if(typeof i!=="string")return i;let[a,o,r,l]=i.match(jo);return{[t]:parseFloat(a),[e]:parseFloat(o),[n]:parseFloat(r),alpha:l!==void 0?parseFloat(l):1}};var hA=(t)=>Jt(0,255,t),gp={...Tn,transform:(t)=>Math.round(hA(t))},En={test:qo("rgb","red"),parse:oc("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+gp.transform(t)+", "+gp.transform(e)+", "+gp.transform(n)+", "+Sn(Zn.transform(i))+")"};function gA(t){let e="",n="",i="",a="";if(t.length>5)e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),a=t.substring(7,9);else e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),a=t.substring(4,5),e+=e,n+=n,i+=i,a+=a;return{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:a?parseInt(a,16)/255:1}}var Vl={test:qo("#"),parse:gA,transform:En.transform};var Dl=(t)=>({test:(e)=>typeof e==="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:(e)=>\`\${e}\${t}\`}),en=Dl("deg"),Vi=Dl("%"),z=Dl("px"),Mx=Dl("vh"),Ax=Dl("vw"),yp=(()=>({...Vi,parse:(t)=>Vi.parse(t)/100,transform:(t)=>Vi.transform(t*100)}))();var Di={test:qo("hsl","hue"),parse:oc("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+Vi.transform(Sn(e))+", "+Vi.transform(Sn(n))+", "+Sn(Zn.transform(i))+")"};var Ct={test:(t)=>En.test(t)||Vl.test(t)||Di.test(t),parse:(t)=>{if(En.test(t))return En.parse(t);else if(Di.test(t))return Di.parse(t);else return Vl.parse(t)},transform:(t)=>typeof t==="string"?t:t.hasOwnProperty("red")?En.transform(t):Di.transform(t),getAnimatableNone:(t)=>{let e=Ct.parse(t);return e.alpha=0,Ct.transform(e)}};var Cx=/(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))/giu;var Ox=new RegExp(jo.source),Nx=new RegExp(Cx.source,"i");function yA(t){return isNaN(t)&&typeof t==="string"&&(Ox.test(t)||Nx.test(t))}var Vx="number",Dx="color",vA="var",xA="var(",wx="\${}",bA=/var\\s*\\(\\s*--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)|#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\)|-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/giu;function zx(t){let e=t.toString();return Ox.test(e)||Nx.test(e)}function Yo(t){let e=t.toString(),n=[],i={color:[],number:[],var:[]},a=[],o=0,l=e.replace(bA,(u)=>{if(Ct.test(u))i.color.push(o),a.push(Dx),n.push(Ct.parse(u));else if(u.startsWith(xA))i.var.push(o),a.push(vA),n.push(u);else i.number.push(o),a.push(Vx),n.push(parseFloat(u));return++o,wx}).split(wx);return{values:n,split:l,indexes:i,types:a}}function SA(t){return Yo(t).values}function Rx({split:t,types:e}){let n=t.length;return(i)=>{let a="";for(let o=0;o<n;o++)if(a+=t[o],i[o]!==void 0){let r=e[o];if(r===Vx)a+=Sn(i[o]);else if(r===Dx)a+=Ct.transform(i[o]);else a+=i[o]}return a}}function TA(t){return Rx(Yo(t))}var EA=(t)=>typeof t==="number"?0:Ct.test(t)?Ct.getAnimatableNone(t):t,MA=(t,e)=>{if(typeof t==="number")return e?.trim().endsWith("/")?t:0;return EA(t)};function AA(t){let e=Yo(t);return Rx(e)(e.values.map((i,a)=>MA(i,e.split[a])))}var Nt={test:yA,parse:SA,createTransformer:TA,getAnimatableNone:AA};function vp(t,e,n){if(n<0)n+=1;if(n>1)n-=1;if(n<0.16666666666666666)return t+(e-t)*6*n;if(n<0.5)return e;if(n<0.6666666666666666)return t+(e-t)*(0.6666666666666666-n)*6;return t}function _x({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let a=0,o=0,r=0;if(!e)a=o=r=n;else{let l=n<0.5?n*(1+e):n+e-n*e,u=2*n-l;a=vp(u,l,t+0.3333333333333333),o=vp(u,l,t),r=vp(u,l,t-0.3333333333333333)}return{red:Math.round(a*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:i}}function Xo(t,e){return(n)=>n>0?e:t}var ve=(t,e,n)=>t+(e-t)*n;var xp=(t,e,n)=>{let i=t*t,a=n*(e*e-i)+i;return a<0?0:Math.sqrt(a)},CA=[Vl,En,Di],wA=(t)=>CA.find((e)=>e.test(t));function Bx(t){let e=wA(t);if(!e)return Ze(!1,\`'\${t}' is not an animatable color. Use the equivalent color code instead.\`,"color-not-animatable"),!1;let n=e.parse(t);if(e===Di)n=_x(n);return n}var bp=(t,e)=>{let n=Bx(t),i=Bx(e);if(!n||!i)return Xo(t,e);let a={...n};return(o)=>(a.red=xp(n.red,i.red,o),a.green=xp(n.green,i.green,o),a.blue=xp(n.blue,i.blue,o),a.alpha=ve(n.alpha,i.alpha,o),En.transform(a))};var rc=new Set(["none","hidden"]);function Ux(t,e){if(rc.has(t))return(n)=>n<=0?t:e;else return(n)=>n>=1?e:t}function OA(t,e){return(n)=>ve(t,e,n)}function lc(t){if(typeof t==="number")return OA;else if(typeof t==="string")return Go(t)?Xo:Ct.test(t)?bp:DA;else if(Array.isArray(t))return Hx;else if(typeof t==="object")return Ct.test(t)?bp:NA;return Xo}function Hx(t,e){let n=[...t],i=n.length,a=t.map((o,r)=>lc(o)(o,e[r]));return(o)=>{for(let r=0;r<i;r++)n[r]=a[r](o);return n}}function NA(t,e){let n={...t,...e},i={};for(let a in n)if(t[a]!==void 0&&e[a]!==void 0)i[a]=lc(t[a])(t[a],e[a]);return(a)=>{for(let o in i)n[o]=i[o](a);return n}}function VA(t,e){let n=[],i={color:0,var:0,number:0};for(let a=0;a<e.values.length;a++){let o=e.types[a],r=t.indexes[o][i[o]],l=t.values[r]??0;n[a]=l,i[o]++}return n}var DA=(t,e)=>{let n=Nt.createTransformer(e),i=Yo(t),a=Yo(e);if(i.indexes.var.length===a.indexes.var.length&&i.indexes.color.length===a.indexes.color.length&&i.indexes.number.length>=a.indexes.number.length){if(rc.has(t)&&!a.values.length||rc.has(e)&&!i.values.length)return Ux(t,e);return Kn(Hx(VA(i,a),a.values),n)}else return Ze(!0,\`Complex values '\${t}' and '\${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.\`,"complex-values-different"),Xo(t,e)};var Lx=/^(-?(?:\\d+(?:\\.\\d*)?|\\.\\d+))([a-z%]*)$/iu;function zA(t,e){let n=Lx.exec(t);if(!n)return;let i=Lx.exec(e);if(!i||n[2]!==i[2])return;let a=n[2],o=parseFloat(n[1]),r=parseFloat(i[1]);return(l)=>Sn(ve(o,r,l))+a}function Ko(t,e,n){if(typeof t==="number"&&typeof e==="number"&&typeof n==="number")return ve(t,e,n);if(typeof t==="string"&&typeof e==="string"){let a=zA(t,e);if(a)return a}return lc(t)(t,e)}var Gx=(t)=>{let e=({timestamp:n})=>t(n);return{start:(n=!0)=>ut.update(e,n),stop:()=>Lo(e),now:()=>bn.isProcessing?bn.timestamp:Ot.now()}};var sc=(t,e,n=10)=>{let i="",a=Math.max(Math.round(e/n),2);for(let o=0;o<a;o++)i+=Math.round(t(o/(a-1))*1e4)/1e4+", ";return\`linear(\${i.substring(0,i.length-2)})\`};var uc=20000;function Zo(t,e=50,n=20000,i){let a=0,o=t.next(a);i?.push(o.value);while(!o.done&&a<n)a+=e,o=t.next(a),i?.push(o.value);return a>=n?1/0:a}function zl(t,e=100,n){let i=n({...t,keyframes:[0,e]}),a=Math.min(Zo(i),uc);return{type:"keyframes",ease:(o)=>i.next(a*o).value/e,duration:It(a)}}var Et={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:0.3,visualDuration:0.3,restSpeed:{granular:0.01,default:2},restDelta:{granular:0.005,default:0.5},minDuration:0.01,maxDuration:10,minDamping:0.05,maxDamping:1};function Tp(t,e){return t*Math.sqrt(1-e*e)}var RA=12;function _A(t,e,n){let i=n;for(let a=1;a<RA;a++)i=i-t(i)/e(i);return i}var Sp=0.001;function BA({duration:t=Et.duration,bounce:e=Et.bounce,velocity:n=Et.velocity,mass:i=Et.mass}){let a,o;Ze(t<=Lt(Et.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let r=1-e;if(r=Jt(Et.minDamping,Et.maxDamping,r),t=Jt(Et.minDuration,Et.maxDuration,It(t)),r<1)a=(c)=>{let s=c*r,m=s*t,f=s-n,h=Tp(c,r),y=Math.exp(-m);return Sp-f/h*y},o=(c)=>{let m=c*r*t,f=m*n+n,h=r*r*c*c*t,y=Math.exp(-m),x=Tp(c*c,r);return(-a(c)+Sp>0?-1:1)*((f-h)*y)/x};else a=(c)=>{let s=Math.exp(-c*t),m=(c-n)*t+1;return-Sp+s*m},o=(c)=>{let s=Math.exp(-c*t),m=(n-c)*(t*t);return s*m};let l=5/t,u=_A(a,o,l);if(t=Lt(t),isNaN(u))return{stiffness:Et.stiffness,damping:Et.damping,duration:t};else{let c=u*u*i;return{stiffness:c,damping:r*2*Math.sqrt(i*c),duration:t}}}var jx=["duration","bounce"],qx=["stiffness","damping","mass"];function cc(t,e){return e.some((n)=>t[n]!==void 0)}function UA(t){let e={velocity:Et.velocity,stiffness:Et.stiffness,damping:Et.damping,mass:Et.mass,isResolvedFromDuration:!1,...t};if(!cc(t,qx)&&cc(t,jx))if(e.velocity=0,t.visualDuration){let n=t.visualDuration,i=2*Math.PI/(n*1.2),a=i*i,o=2*Jt(0.05,1,1-(t.bounce||0))*Math.sqrt(a);e={...e,mass:Et.mass,stiffness:a,damping:o}}else{let n=BA({...t,velocity:0});e={...e,...n,mass:Et.mass},e.isResolvedFromDuration=!0}return e}function Qn(t=Et.visualDuration,e=Et.bounce){let n=typeof t!=="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t,i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],o={done:!1,value:i},{stiffness:r,damping:l,mass:u,duration:c,velocity:s,isResolvedFromDuration:m}=UA({...n,velocity:-It(n.velocity||0)}),f=l/(2*Math.sqrt(r*u)),h=It(Math.sqrt(r/u)),y=f*h,x={target:a,delta:a-i,velocity:s||0,restSpeed:0,restDelta:0},T=()=>{let S=Math.abs(x.delta)<5;x.restSpeed=n.restSpeed||(S?Et.restSpeed.granular:Et.restSpeed.default),x.restDelta=n.restDelta||(S?Et.restDelta.granular:Et.restDelta.default)};T();let g,d,p;if(f<1){let S=Tp(h,f),E={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};p=()=>{E.A=(x.velocity+y*x.delta)/S,E.sinC=y*E.A+x.delta*S,E.cosC=y*x.delta-E.A*S};let M=(O)=>{if(O!==E.t)E.t=O,E.env=Math.exp(-y*O),E.sin=Math.sin(S*O),E.cos=Math.cos(S*O)};g=(O)=>(M(O),x.target-E.env*(E.A*E.sin+x.delta*E.cos)),d=(O)=>(M(O),E.env*(E.sinC*E.sin+E.cosC*E.cos))}else if(f===1){g=(E)=>x.target-Math.exp(-h*E)*(x.delta+(x.velocity+h*x.delta)*E);let S={C:0};p=()=>{S.C=x.velocity+h*x.delta},d=(E)=>Math.exp(-h*E)*(h*S.C*E-x.velocity)}else{let S=h*Math.sqrt(f*f-1);g=(M)=>{let O=Math.exp(-y*M),L=Math.min(S*M,300);return x.target-O*((x.velocity+y*x.delta)*Math.sinh(L)+S*x.delta*Math.cosh(L))/S};let E={P:0,sinh:0,cosh:0};p=()=>{E.P=(x.velocity+y*x.delta)/S,E.sinh=y*E.P-x.delta*S,E.cosh=y*x.delta-E.P*S},d=(M)=>{let O=Math.exp(-y*M),L=Math.min(S*M,300);return O*(E.sinh*Math.sinh(L)+E.cosh*Math.cosh(L))}}p();let v=!cc(n,qx)&&cc(n,jx),b=m?c||null:null,w={calculatedDuration:b,retarget:(S,E)=>{if(x.target=S[S.length-1],x.delta=x.target-S[0],x.velocity=v?0:-It(E),!(n.restSpeed&&n.restDelta))T();w.calculatedDuration=b,o.done=!1,p()},velocity:(S)=>Lt(d(S)),next:(S)=>{let E=g(S);if(!m){let M=Lt(d(S));o.done=Math.abs(M)<=x.restSpeed&&Math.abs(x.target-E)<=x.restDelta}else o.done=S>=c;return o.value=o.done?x.target:E,o},toString:()=>{let S=Math.min(Zo(w),uc),E=sc((M)=>w.next(S*M).value,S,30);return S+"ms "+E},toTransition:()=>{}};return w}Qn.applyToOptions=(t)=>{let e=zl(t,100,Qn);return t.ease=e.ease,t.duration=Lt(e.duration),t.type="keyframes",t};function Rl({keyframes:t,velocity:e=0,power:n=0.8,timeConstant:i=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:r,min:l,max:u,restDelta:c=0.5,restSpeed:s}){let m=t[0],f={done:!1,value:m},h=(S)=>S<l||S>u,y=(S)=>{if(l===void 0)return u;if(u===void 0)return l;return Math.abs(l-S)<Math.abs(u-S)?l:u},x=n*e,T=m+x,g=r===void 0?T:r(T);if(g!==T)x=g-m;let d=(S)=>-x*Math.exp(-S/i),p=(S)=>{let E=d(S);f.done=Math.abs(E)<=c,f.value=f.done?g:g+E},v,b,w=(S)=>{if(!h(f.value))return;v=S,b=Qn({keyframes:[f.value,y(f.value)],velocity:-d(S)/i*1000,damping:a,stiffness:o,restDelta:c,restSpeed:s})};return w(0),{calculatedDuration:null,next:(S)=>{let E=!1;if(!b&&v===void 0)E=!0,p(S),w(S);if(v!==void 0&&S>=v)return b.next(S-v);else return!E&&p(S),f}}}function HA(t,e,n){let i=[],a=n||Pt.mix||Ko,o=t.length-1;for(let r=0;r<o;r++){let l=a(t[r],t[r+1]);if(e){let u=Array.isArray(e)?e[r]||tn:e;l=Kn(u,l)}i.push(l)}return i}function Yx(t,e,{clamp:n=!0,ease:i,mixer:a}={}){let o=t.length;if(Ht(o===e.length,"Both input and output ranges must be the same length","range-length"),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];let r=t[0]===t[1];if(t[0]>t[o-1])t=[...t].reverse(),e=[...e].reverse();let l=HA(e,i,a),u=l.length,c=(s)=>{if(r&&s<t[0])return e[0];let m=0;if(u>1){for(;m<t.length-2;m++)if(s<t[m+1])break}let f=ga(t[m],t[m+1],s);return l[m](f)};return n?(s)=>c(Jt(t[0],t[o-1],s)):c}function _l(t,e){let n=t[t.length-1];for(let i=1;i<=e;i++){let a=ga(0,e,i);t.push(ve(n,1,a))}}function Bl(t){let e=[0];return _l(e,t.length-1),e}function Xx(t,e){return t.map((n)=>n*e)}function LA(t,e){return t.map(()=>e||Ho).splice(0,t.length-1)}function xa({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){let a=Al(i)?i.map(ec):ec(i)||Ho,o={done:!1,value:e[0]};if(e.length===2&&!Array.isArray(a)&&(!n||n.length!==2||n[0]===0&&n[1]===1)){let[u,c]=e,s=u===c?void 0:(Pt.mix||Ko)(u,c);return{calculatedDuration:t,next:(m)=>(o.value=s?s(a(t>0?Jt(0,1,m/t):1)):c,o.done=m>=t,o)}}let r=Xx(n&&n.length===e.length?n:Bl(e),t),l=Yx(r,e,{ease:Array.isArray(a)?a:LA(e,a)});return{calculatedDuration:t,next:(u)=>(o.value=l(u),o.done=u>=t,o)}}var GA=5;function jA(t,e,n){let i=Math.max(e-GA,0);return bl(n-t(i),e-i)}function Kx(t,e,n=0){if(e<=0)return n;return t.velocity?t.velocity(e):jA((i)=>t.next(i).value,e,t.next(e).value)}var qA=(t)=>t!==null;function zi(t,{repeat:e,repeatType:n="loop"},i,a=1){let o=t.filter(qA),l=a<0||e&&n!=="loop"&&e%2===1?0:o.length-1;return!l||i===void 0?o[l]:i}var YA={decay:Rl,inertia:Rl,tween:xa,keyframes:xa,spring:Qn};function fc(t){if(typeof t.type==="string")t.type=YA[t.type]}function XA(t,e){return{kind:t,animation:e,timestamp:Ot.now(),frameTimestamp:bn.timestamp,frameIsProcessing:bn.isProcessing}}function mc(t,e,n){let i=globalThis.__MOTION_INSPECT__;if(!i)return;try{i({...XA("animation-start",t),options:n?{...e,...n}:e})}catch{}}class ba{constructor(){this.isResolved=!1}get finished(){if(!this._finished)this._finished=this.isResolved?Promise.resolve():new Promise((t)=>{this._resolve=t});return this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(t,e){return this.finished.then(t,e)}}var KA=(t)=>t/100;class Ri extends ba{constructor(t){super();if(this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;if(e&&e.updatedAt!==Ot.now())this.tick(Ot.now());if(this.isStopped=!0,this.state==="idle")return;this.teardown(),this.options.onStop?.()},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1)this.pause();mc(this,this.options)}initAnimation(){let{options:t}=this;fc(t);let{type:e=xa,repeat:n=0,repeatDelay:i=0,repeatType:a,velocity:o=0}=t,{keyframes:r}=t,l=e||xa;if(l!==xa&&typeof r[0]!=="number")this.mixKeyframes=Kn(KA,Ko(r[0],r[1])),r=[0,100];let u=l(r===t.keyframes?t:{...t,keyframes:r});if(a==="mirror")this.mirroredGenerator=l({...t,keyframes:[...r].reverse(),velocity:-o});if(u.calculatedDuration===null)u.calculatedDuration=Zo(u);let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;if(this.holdTime!==null)this.currentTime=this.holdTime;else this.currentTime=e}tick(t,e=!1){let{generator:n,totalDuration:i,mixKeyframes:a,mirroredGenerator:o,resolvedDuration:r,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);let{delay:u=0,keyframes:c,repeat:s,repeatType:m,repeatDelay:f,type:h,onUpdate:y,finalKeyframe:x}=this.options;if(this.speed>0)this.startTime=Math.min(this.startTime,t);else if(this.speed<0)this.startTime=Math.min(t-i/this.speed,this.startTime);if(e)this.currentTime=t;else this.updateTime(t);let T=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?T<0:T>i;if(this.currentTime=Math.max(T,0),this.state==="finished"&&this.holdTime===null)this.currentTime=i;let d=this.currentTime,p=n;if(s){let S=Math.min(this.currentTime,i)/r,E=Math.floor(S),M=S%1;if(!M&&S>=1)M=1;if(M===1&&E--,E=Math.min(E,s+1),Boolean(E%2)){if(m==="reverse"){if(M=1-M,f)M-=f/r}else if(m==="mirror")p=o}d=Jt(0,1,M)*r}let v;if(g)this.delayState.value=c[0],v=this.delayState;else v=p.next(d);if(a&&!g)v.value=a(v.value);let{done:b}=v;if(!g&&l!==null)b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0;let w=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);if(w&&h!==Rl)v.value=zi(c,this.options,x,this.speed);if(y)y(v.value);if(w)this.finish();return v}then(t,e){return this.finished.then(t,e)}get duration(){return It(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+It(t)}get time(){return It(this.currentTime)}set time(t){if(t=Lt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0)this.holdTime=t;else if(this.driver)this.startTime=this.driver.now()-t/this.playbackSpeed;if(this.driver)this.driver.start(!1);else this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t)}getGeneratorVelocity(){return Kx(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;if(e&&this.driver)this.updateTime(Ot.now());if(this.playbackSpeed=t,e&&this.driver)this.time=It(this.currentTime)}play(){if(this.isStopped)return;let{driver:t=Gx,startTime:e}=this.options;if(!this.driver)this.driver=t((i)=>this.tick(i));this.options.onPlay?.();let n=this.driver.now();if(this.state==="finished")this.updateFinished(),this.startTime=n;else if(this.holdTime!==null)this.startTime=n-this.holdTime;else if(!this.startTime)this.startTime=e??n;if(this.state==="finished"&&this.speed<0)this.startTime+=this.calculatedDuration;this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ot.now()),this.holdTime=this.currentTime}complete(){if(this.state!=="running")this.play();this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){if(!this.driver)return;this.driver.stop(),this.driver=void 0}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){if(this.options.allowFlatten)this.options.type="keyframes",this.options.ease="linear",this.initAnimation();return this.driver?.stop(),t.observe(this)}}var ZA=new Set(["brightness","contrast","saturate","opacity"]);function QA(t){let[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;let[i]=n.match(jo)||[];if(!i)return t;let a=n.replace(i,""),o=ZA.has(e)?1:0;if(i!==n)o*=100;return e+"("+o+a+")"}var $A=/\\b([a-z-]*)\\(.*?\\)/gu,Ul={...Nt,getAnimatableNone:(t)=>{let e=t.match($A);return e?e.map(QA).join(" "):t}};var Hl={...Nt,getAnimatableNone:(t)=>{let e=Nt.parse(t);return Nt.createTransformer(t)(e.map((i)=>typeof i==="number"?0:typeof i==="object"?{...i,alpha:1}:i))}};var Ep={...Tn,transform:Math.round};var Ll={rotate:en,pathRotation:en,rotateX:en,rotateY:en,rotateZ:en,scale:Nl,scaleX:Nl,scaleY:Nl,scaleZ:Nl,skew:en,skewX:en,skewY:en,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:Zn,originX:yp,originY:yp,originZ:z};var ie={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,inset:z,insetBlock:z,insetBlockStart:z,insetBlockEnd:z,insetInline:z,insetInlineStart:z,insetInlineEnd:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,paddingBlock:z,paddingBlockStart:z,paddingBlockEnd:z,paddingInline:z,paddingInlineStart:z,paddingInlineEnd:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,marginBlock:z,marginBlockStart:z,marginBlockEnd:z,marginInline:z,marginInlineStart:z,marginInlineEnd:z,fontSize:z,backgroundPositionX:z,backgroundPositionY:z,...Ll,zIndex:Ep,fillOpacity:Zn,strokeOpacity:Zn,numOctaves:Ep};var FA={...ie,color:Ct,backgroundColor:Ct,outlineColor:Ct,fill:Ct,stroke:Ct,borderColor:Ct,borderTopColor:Ct,borderRightColor:Ct,borderBottomColor:Ct,borderLeftColor:Ct,filter:Ul,WebkitFilter:Ul,mask:Hl,WebkitMask:Hl},dc=(t)=>FA[t];var kA=new Set([Ul,Hl]);function Qo(t,e){let n=dc(t);if(!kA.has(n))n=Nt;return n.getAnimatableNone?n.getAnimatableNone(e):void 0}function Zx(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}var Sa=(t)=>t*180/Math.PI,Mp=(t)=>{let e=Sa(Math.atan2(t[1],t[0]));return Ap(e)},JA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:(t)=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Mp,rotateZ:Mp,skewX:(t)=>Sa(Math.atan(t[1])),skewY:(t)=>Sa(Math.atan(t[2])),skew:(t)=>(Math.abs(t[1])+Math.abs(t[2]))/2},Ap=(t)=>{if(t=t%360,t<0)t+=360;return t},Qx=Mp,$x=(t)=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Fx=(t)=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),PA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:$x,scaleY:Fx,scale:(t)=>($x(t)+Fx(t))/2,rotateX:(t)=>Ap(Sa(Math.atan2(t[6],t[5]))),rotateY:(t)=>Ap(Sa(Math.atan2(-t[2],t[0]))),rotateZ:Qx,rotate:Qx,skewX:(t)=>Sa(Math.atan(t[4])),skewY:(t)=>Sa(Math.atan(t[1])),skew:(t)=>(Math.abs(t[1])+Math.abs(t[4]))/2};function pc(t){return t.includes("scale")?1:0}function hc(t,e){if(!t||t==="none")return pc(e);let n=t.match(/^matrix3d\\(([-\\d.e\\s,]+)\\)$/u),i,a;if(n)i=PA,a=n;else{let l=t.match(/^matrix\\(([-\\d.e\\s,]+)\\)$/u);i=JA,a=l}if(!a)return pc(e);let o=i[e],r=a[1].split(",").map(IA);return typeof o==="function"?o(r):r[o]}var gc=(t,e)=>{let{transform:n="none"}=getComputedStyle(t);return hc(n,e)};function IA(t){return parseFloat(t.trim())}var ze=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Wt=(()=>new Set([...ze,"pathRotation"]))();var Cp=(t)=>t===Tn||t===z,WA=new Set(["x","y","z"]),t3=ze.filter((t)=>!WA.has(t));function Jx(t){let e=[];return t3.forEach((n)=>{let i=t.getValue(n);if(i!==void 0){let a=i.get(),o=n.startsWith("scale")?1:0;if(a===o)return;e.push([n,a]),i.set(o)}}),e}var Px=new Set(["bottom","right"]);function kx(t,e,n,i,a,o){let r=parseFloat(t);if(!isNaN(r))return r;let{min:l,max:u}=e()[n],c=u-l;return o==="border-box"?c:c-parseFloat(i)-parseFloat(a)}var _i={width:({width:t,paddingLeft:e="0",paddingRight:n="0",boxSizing:i},a)=>kx(t,a,"x",e,n,i),height:({height:t,paddingTop:e="0",paddingBottom:n="0",boxSizing:i},a)=>kx(t,a,"y",e,n,i),top:({top:t})=>parseFloat(t),left:({left:t})=>parseFloat(t),bottom:({top:t},e)=>{let{y:n}=e();return parseFloat(t)+(n.max-n.min)},right:({left:t},e)=>{let{x:n}=e();return parseFloat(t)+(n.max-n.min)},x:({transform:t})=>hc(t,"x"),y:({transform:t})=>hc(t,"y")};_i.translateX=_i.x;_i.translateY=_i.y;var Ta=new Set,wp=!1,Op=!1,Np=!1;function Ix(){if(Op){let t=[],e=new Set,n=new Set;Ta.forEach((a)=>{if(!a.needsMeasurement)return;if(t.push(a),e.add(a.element),Px.has(a.name))n.add(a.element)});let i=new Map;n.forEach((a)=>{let o=Jx(a);if(!o.length)return;i.set(a,o),a.render()}),t.forEach((a)=>a.measureInitialState()),e.forEach((a)=>{a.render();let o=i.get(a);if(o)o.forEach(([r,l])=>{a.getValue(r)?.set(l)})}),t.forEach((a)=>a.measureEndState()),t.forEach((a)=>{if(a.suspendedScrollY!==void 0)window.scrollTo(0,a.suspendedScrollY)})}Op=!1,wp=!1,Ta.forEach((t)=>t.complete(Np)),Ta.clear()}function Wx(){Ta.forEach((t)=>{if(t.readKeyframes(),t.needsMeasurement)Op=!0})}function tb(){Np=!0,Wx(),Ix(),Np=!1}function e3(t,e,n){if(typeof t==="string"){if(da(t)||ha(t))return parseFloat(t);else if(!Nt.test(t)&&Nt.test(n))return Qo(e,n)}return t??void 0}class Ea{constructor(t,e,n,i,a,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=a,this.isAsync=o}scheduleResolve(){if(this.state="scheduled",this.isAsync){if(Ta.add(this),!wp)wp=!0,ut.read(Wx),ut.resolveKeyframes(Ix)}else this.readKeyframes(),this.complete()}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(t[0]===null){let a=i?.get(),o=t[t.length-1];if(a!==void 0)t[0]=a;else if(n&&e){let r=e3(n.readValue(e,o),e,o);if(r!==void 0)t[0]=r}if(t[0]===void 0)t[0]=o;if(i&&a===void 0)i.set(t[0])}Zx(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Ta.delete(this)}cancel(){if(this.state==="scheduled")Ta.delete(this),this.state="pending"}resume(){if(this.state==="pending")this.scheduleResolve()}}var Bi=(t)=>t.startsWith("--");function yc(t,e,n){Bi(e)?t.style.setProperty(e,n):t.style[e]=n}var eb={};function vc(t,e){let n=xl(t);return()=>eb[e]??n()}var nb=vc(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var xc=vc(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var Ma=([t,e,n,i])=>\`cubic-bezier(\${t}, \${e}, \${n}, \${i})\`;var Vp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ma([0,0.65,0.55,1]),circOut:Ma([0.55,0,1,0.45]),backIn:Ma([0.31,0.01,0.66,-0.59]),backOut:Ma([0.33,1.53,0.69,0.99])};function Dp(t,e){if(!t)return;else if(typeof t==="function")return xc()?sc(t,e):"ease-out";else if(wl(t))return Ma(t);else if(Array.isArray(t))return t.map((n)=>Dp(n,e)||Vp.easeOut);else return Vp[t]}function ib(t,e,n,{delay:i=0,duration:a=300,repeat:o=0,repeatType:r="loop",ease:l="easeOut",times:u}={},c=void 0){let s={[e]:n};if(u)s.offset=u;let m=Dp(l,a);if(Array.isArray(m))s.easing=m;let f={delay:i,duration:a,easing:!Array.isArray(m)?m:"linear",fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};if(c)f.pseudoElement=c;return t.animate(s,f)}function Aa(t){return typeof t==="function"&&"applyToOptions"in t}function ab({type:t,...e}){if(Aa(t)&&xc())return t.applyToOptions(e);else e.duration??(e.duration=300),e.ease??(e.ease="easeOut");return e}class Gl extends ba{constructor(t){super();if(this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:n,keyframes:i,pseudoElement:a,allowFlatten:o=!1,finalKeyframe:r,onComplete:l}=t;this.isPseudoElement=Boolean(a),this.allowFlatten=o,this.options=t,Ht(typeof t.type!=="string",\`Mini animate() doesn't support "type" as a string.\`,"mini-spring");let u=ab(t);if(this.animation=ib(e,n,i,u,a),u.autoplay===!1)this.animation.pause();this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let c=zi(i,this.options,r,this.speed);if(this.updateMotionValue)this.updateMotionValue(c);yc(e,n,c),this.animation.cancel()}l?.(),this.notifyFinished()},mc(this,t,u)}play(){if(this.isStopped)return;if(this.manualStartTime=null,this.animation.play(),this.state==="finished")this.updateFinished()}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;if(t==="idle"||t==="finished")return;if(this.updateMotionValue)this.updateMotionValue();else this.commitStyles();if(!this.isPseudoElement)this.cancel()}commitStyles(){let t=this.options?.element;if(!this.isPseudoElement&&t?.isConnected)this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return It(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+It(t)}get time(){return It(Number(this.animation.currentTime)||0)}set time(t){let e=this.finishedTime!==null;if(this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Lt(t),e)this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){if(t<0)this.finishedTime=null;this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:n,observe:i}){if(this.allowFlatten)this.animation.effect?.updateTiming({easing:"linear"});if(this.animation.onfinish=null,t&&nb()){if(this.animation.timeline=t,e)this.animation.rangeStart=e;if(n)this.animation.rangeEnd=n;return tn}else return i(this)}}var ob={anticipate:Tl,backInOut:Sl,circInOut:Ml};function n3(t){return t in ob}function rb(t){if(typeof t.ease==="string"&&n3(t.ease))t.ease=ob[t.ease]}var zp=10;class Rp extends Gl{constructor(t){rb(t),fc(t);super(t);if(t.startTime!==void 0&&t.autoplay!==!1)this.startTime=t.startTime;this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:n,onComplete:i,element:a,...o}=this.options;if(!e)return;if(t!==void 0){e.set(t);return}let r=new Ri({...o,autoplay:!1}),l=Math.max(zp,Ot.now()-this.startTime),u=Jt(0,zp,l-zp),c=r.sample(l).value,{name:s}=this.options;if(a&&s)yc(a,s,c);e.setWithVelocity(r.sample(Math.max(0,l-u)).value,c,u),r.stop()}}var _p=(t,e)=>{if(e==="zIndex")return!1;if(typeof t==="number"||Array.isArray(t))return!0;if(typeof t==="string"&&(Nt.test(t)||t==="0")&&!t.startsWith("url("))return!0;return!1};function i3(t){let e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function lb(t,e,n,i){let a=t[0];if(a===null)return!1;if(e==="display"||e==="visibility")return!0;let o=t[t.length-1],r=_p(a,e),l=_p(o,e);if(!r||!l)return r!==l&&Ze(!1,\`You are trying to animate \${e} from "\${a}" to "\${o}". "\${r?o:a}" is not an animatable value.\`,"value-not-animatable"),!1;return i3(t)||(n==="spring"||Aa(n))&&i}function jl(t){t.duration=0,t.type="keyframes"}var ql=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);var a3=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\\(/;function sb(t){for(let e=0;e<t.length;e++)if(typeof t[e]==="string"&&a3.test(t[e]))return!0;return!1}var ub=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),o3=xl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function cb(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:a,damping:o,type:r,keyframes:l}=t;if(!n||!(ql.has(n)||ub.has(n)))return!1;let u=e?.owner?.current;if(!(u instanceof HTMLElement)&&!(u instanceof SVGElement))return!1;let{onUpdate:c,transformTemplate:s}=e.owner.getProps();return o3()&&(ql.has(n)||ub.has(n)&&sb(l))&&(n!=="transform"||!s)&&!c&&!i&&a!=="mirror"&&o!==0&&r!=="inertia"}var r3=40;class Bp extends ba{constructor(t){super();this.stop=()=>{if(this._animation)this._animation.stop(),this.stopTimeline?.();this.keyframeResolver?.cancel()},this.createdAt=Ot.now();let{keyframes:e,name:n,motionValue:i,element:a}=t,o=t;o.autoplay??(o.autoplay=!0),o.delay??(o.delay=0),o.type??(o.type="keyframes"),o.repeat??(o.repeat=0),o.repeatDelay??(o.repeatDelay=0),o.repeatType??(o.repeatType="loop");let r=a?.KeyframeResolver||Ea;this.keyframeResolver=new r(e,(l,u,c)=>this.onKeyframesResolved(l,u,o,!c),n,i,a),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;let{name:a,type:o,velocity:r,delay:l,isHandoff:u,onUpdate:c}=n;this.resolvedAt=Ot.now();let s=!0;if(!lb(t,a,o,r)){if(s=!1,Pt.instantAnimations||!l)c?.(zi(t,n,e));t[0]=t[t.length-1],jl(n),n.repeat=0}let m=i?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>r3?this.resolvedAt:this.createdAt:void 0,{onComplete:f}=n;n.startTime??(n.startTime=m),n.finalKeyframe=e,n.keyframes=t,n.onComplete=()=>{f?.(),this.notifyFinished()};let h=s&&!u&&cb(n),y;if(h){n.element=n.motionValue?.owner?.current;try{y=new Rp(n)}catch{y=new Ri(n)}}else y=new Ri(n);if(this.pendingTimeline)this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0;this._animation=y}get finished(){return this._animation?this._animation.finished:super.finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){if(!this._animation)this.keyframeResolver?.resume(),tb();return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){if(this._animation)this.stopTimeline=this.animation.attachTimeline(t);else this.pendingTimeline=t;return()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){if(this._animation)this.animation.cancel();this.keyframeResolver?.cancel()}}class Up{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map((t)=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){let e=this.animations.map((n)=>n.attachTimeline(t));return()=>{e.forEach((n,i)=>{n&&n(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return fb(this.animations,"duration")}get iterationDuration(){return fb(this.animations,"iterationDuration")}runAll(t){this.animations.forEach((e)=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function fb(t,e){let n=0;for(let i=0;i<t.length;i++){let a=t[i][e];if(a!==null&&a>n)n=a}return n}class bc extends Up{then(t,e){return this.finished.finally(t).then(()=>{})}}function Sc(t,e,n,i=0,a=1){let o=Array.from(t).sort((c,s)=>c.sortNodePosition(s)).indexOf(e),r=t.size,l=(r-1)*i;return typeof n==="function"?n(o,r):a===1?o*i:l-o*i}var mb=30,s3=(t)=>!isNaN(parseFloat(t)),Hp={current:void 0};class $n{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n)=>{let i=Ot.now();if(this.updatedAt!==i)this.setPrevFrameValue();if(this.prev=this.current,this.setCurrent(n),this.current!==this.prev){if(this.notifyChange(),this.dependents)for(let a of this.dependents)a.dirty()}},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){if(this.current=t,this.updatedAt=Ot.now(),this.canTrackVelocity===null&&t!==void 0)this.canTrackVelocity=s3(this.current)}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){var n;if(t==="change")return this.onChangeSubscribe(e);return((n=this.events)[t]||(n[t]=new ya)).add(e)}onChangeSubscribe(t){let{events:e}=this;if(!e.change&&!this.changeSubscriber)this.changeSubscriber=t;else{if(!e.change)e.change=new ya,e.change.add(this.changeSubscriber),this.changeSubscriber=void 0;e.change.add(t)}return()=>{if(this.changeSubscriber===t)this.changeSubscriber=void 0;else e.change?.remove(t);this.stopIfUnobserved()}}stopIfUnobserved(){ut.read(()=>{if(!this.changeSubscriber&&!this.events.change?.getSize())this.stop()})}clearListeners(){this.changeSubscriber=void 0;for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){if(!this.passiveEffect)this.updateAndNotify(t);else this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){if(this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect)this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:t,changeSubscriber:e}=this;if(e)e(t);else this.events.change?.notify(t)}addDependent(t){if(!this.dependents)this.dependents=new Set;this.dependents.add(t)}removeDependent(t){if(this.dependents)this.dependents.delete(t)}get(){if(Hp.current)Hp.current.push(this);return this.current}getPrevious(){return this.prev}getVelocity(){let t=Ot.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>mb)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,mb);return bl(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise((e)=>{this.hasAnimated=!0;let n=!1,i;if(i=t(()=>{if(n=!0,this.events.animationComplete?.notify(),this.animation===i)this.clearAnimation();e()}),!n)this.animation=i;this.events.animationStart?.notify()})}stop(){if(this.animation){if(this.animation.stop(),this.events.animationCancel)this.events.animationCancel.notify()}this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){if(this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect)this.stopPassiveEffect()}}function ae(t,e){return new $n(t,e)}function Tc(t,e){if(t?.inherit&&e){let{inherit:n,...i}=t;return{...e,...i}}return t}function Ec(t,e){let n=t?.[e]??t?.default??t;if(n!==t)return Tc(n,t);return n}var u3={type:"spring",stiffness:500,damping:25,restSpeed:10},c3=(t)=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),f3={type:"keyframes",duration:0.8},m3={type:"keyframes",ease:[0.25,0.1,0.35,1],duration:0.3},db=(t,{keyframes:e})=>{if(e.length>2)return f3;else if(Wt.has(t))return t.startsWith("scale")?c3(e[1]):u3;return m3};var d3=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function pb(t){for(let e in t)if(!d3.has(e))return!0;return!1}var $o=(t,e,n,i={},a,o)=>(r)=>{let l=Ec(i,t)||{},u=l.delay||i.delay||0,{elapsed:c=0}=i;c=c-Lt(u);let s={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-c,onUpdate:(f)=>{e.set(f),l.onUpdate&&l.onUpdate(f)},onComplete:()=>{r(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:a};if(!pb(l))Object.assign(s,db(t,s));if(s.duration&&(s.duration=Lt(s.duration)),s.repeatDelay&&(s.repeatDelay=Lt(s.repeatDelay)),s.from!==void 0)s.keyframes[0]=s.from;let m=!1;if(s.type===!1||s.duration===0&&!s.repeatDelay){if(jl(s),s.delay===0)m=!0}if(Pt.instantAnimations||Pt.skipAnimations||a?.shouldSkipAnimations||l.skipAnimations)m=!0,jl(s),s.delay=0;if(s.allowFlatten=!l.type&&!l.ease,m&&!o&&e.get()!==void 0){let f=zi(s.keyframes,l);if(f!==void 0){ut.update(()=>{s.onUpdate(f),s.onComplete()});return}}return l.isSync?new Ri(s):new Bp(s)};var p3=/^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)/u;function h3(t){let e=p3.exec(t);if(!e)return[,];let[,n,i,a]=e;return[\`--\${n??i}\`,a]}var g3=4;function Lp(t,e,n=1){Ht(n<=g3,\`Max CSS variable fallback depth detected in property "\${t}". This may indicate a circular fallback dependency.\`,"max-css-var-depth");let[i,a]=h3(t);if(!i)return;let o=window.getComputedStyle(e).getPropertyValue(i);if(o){let r=o.trim();return da(r)?parseFloat(r):r}return Go(a)?Lp(a,e,n+1):a}function hb(t){let e=[{},{}];return t?.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function Ca(t,e,n,i){if(typeof e==="function"){let[a,o]=hb(i);e=e(n!==void 0?n:t.custom,a,o)}if(typeof e==="string")e=t.variants&&t.variants[e];if(typeof e==="function"){let[a,o]=hb(i);e=e(n!==void 0?n:t.custom,a,o)}return e}function Re(t,e,n){let i=t.getProps();return Ca(i,e,n!==void 0?n:i.custom,t)}var Fo=new Set(["width","height","top","left","right","bottom",...ze]);var Yl=(t)=>Array.isArray(t);function y3(t,e,n){if(t.hasValue(e))t.getValue(e).set(n);else t.addValue(e,ae(n))}function v3(t){return Yl(t)?t[t.length-1]||0:t}function gb(t,e){let n=Re(t,e),{transitionEnd:i={},transition:a={},...o}=n||{};o={...o,...i};for(let r in o){let l=v3(o[r]);y3(t,r,l)}}var I=(t)=>Boolean(t&&t.getVelocity);function yb(t){return Boolean(I(t)&&t.add)}function vb(t,e){let n=t.getValue("willChange");if(yb(n))return n.add(e);else if(!n&&Pt.WillChange){let i=new Pt.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function Mn(t){return t.replace(/([A-Z])/g,(e)=>\`-\${e.toLowerCase()}\`)}var xb="framerAppearId",Xl="data-"+Mn(xb);function bb(t){return t.props[Xl]}var x3=typeof window<"u";function b3({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function Mc(t,e,{delay:n=0,transitionOverride:i,type:a}={}){let{transition:o,transitionEnd:r,...l}=e,u=t.getDefaultTransition();o=o?Tc(o,u):u;let c=o?.reduceMotion,s=o?.skipAnimations;if(i)o=i;let m=[],f=a&&t.animationState&&t.animationState.getState()[a],h=o?.path;if(h)h.animateVisualElement(t,l,o,n,m);for(let y in l){let x=t.getValue(y,t.latestValues[y]??null),T=l[y];if(T===void 0||f&&b3(f,y))continue;let g={delay:n,...Ec(o||{},y)};if(s)g.skipAnimations=!0;let d=x.get();if(d!==void 0&&!x.isAnimating()&&!Array.isArray(T)&&T===d&&!g.velocity){ut.update(()=>x.set(T));continue}let p=!1;if(x3&&window.MotionHandoffAnimation){let w=bb(t);if(w){let S=window.MotionHandoffAnimation(w,y,ut);if(S!==null)g.startTime=S,p=!0}}vb(t,y);let v=c??t.shouldReduceMotion;x.start($o(y,x,T,v&&Fo.has(y)?{type:!1}:g,t,p));let b=x.animation;if(b)m.push(b)}if(r){let y=()=>ut.update(()=>{r&&gb(t,r)});if(m.length)Promise.all(m).then(y);else y()}return m}function Ac(t,e,n={}){let i=Re(t,e,n.type==="exit"?t.presenceContext?.custom:void 0),{transition:a=t.getDefaultTransition()||{}}=i||{};if(n.transitionOverride)a=n.transitionOverride;let o=i?()=>Promise.all(Mc(t,i,n)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(u=0)=>{let{delayChildren:c=0,staggerChildren:s,staggerDirection:m}=a;return S3(t,e,u,c,s,m,n)}:()=>Promise.resolve(),{when:l}=a;if(l){let[u,c]=l==="beforeChildren"?[o,r]:[r,o];return u().then(()=>c())}else return Promise.all([o(),r(n.delay)])}function S3(t,e,n=0,i=0,a=0,o=1,r){let l=[];for(let u of t.variantChildren)u.notify("AnimationStart",e),l.push(Ac(u,e,{...r,delay:n+(typeof i==="function"?0:i)+Sc(t.variantChildren,u,i,a,o)}).then(()=>u.notify("AnimationComplete",e)));return Promise.all(l)}function Sb(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){let a=e.map((o)=>Ac(t,o,n));i=Promise.all(a)}else if(typeof e==="string")i=Ac(t,e,n);else{let a=typeof e==="function"?Re(t,e,n.custom):e;i=Promise.all(Mc(t,a,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}var Tb={test:(t)=>t==="auto",parse:(t)=>t};var Eb=(t)=>(e)=>e.test(t);var T3=[Tn,z,Vi,en,Ax,Mx,Tb],Gp=(t)=>T3.find(Eb(t));function Mb(t){if(typeof t==="number")return t===0;else if(t!==null)return t==="none"||t==="0"||ha(t);else return!0}var E3=new Set(["auto","none","0"]);function Ab(t,e,n){let i=0,a=void 0;while(i<t.length&&!a){let o=t[i];if(typeof o==="string"&&!E3.has(o)&&zx(o))a=t[i];i++}if(a&&n)for(let o of e){if(t[o]===a)continue;t[o]=Qo(n,a)}}class Kl extends Ea{constructor(t,e,n,i,a){super(t,e,n,i,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let s=t[c];if(typeof s==="string"){if(s=s.trim(),Go(s)){let m=Lp(s,e.current);if(m!==void 0)t[c]=m;if(c===t.length-1)this.finalKeyframe=s}}}if(this.resolveNoneKeyframes(),!Fo.has(n)||t.length!==2)return;let[i,a]=t;if(typeof i==="number"&&typeof a==="number")return;let o=Gp(i),r=Gp(a),l=hp(i),u=hp(a);if(l!==u&&_i[n]){this.needsMeasurement=!0;return}if(o===r)return;if(Cp(o)&&Cp(r))for(let c=0;c<t.length;c++){let s=t[c];if(typeof s==="string")t[c]=parseFloat(s)}else if(_i[n])this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,n=[];for(let i=0;i<t.length;i++)if(t[i]===null||Mb(t[i]))n.push(i);if(n.length)Ab(t,n,e)}measure(){let{element:t,name:e}=this;return _i[e](window.getComputedStyle(t.current),()=>t.measureViewportBox())}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;if(n==="height")this.suspendedScrollY=window.pageYOffset;this.measuredOrigin=this.measure(),e[0]=this.measuredOrigin;let i=e[e.length-1];if(i!==void 0)this.motionValue?.jump(i,!1)}measureEndState(){let{element:t,unresolvedKeyframes:e}=this;if(!t||!t.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let n=e.length-1,i=e[n];if(e[n]=this.measure(),i!==null&&this.finalKeyframe===void 0)this.finalKeyframe=i;if(this.removedTransforms?.length)this.removedTransforms.forEach(([a,o])=>{t.getValue(a).set(o)});this.resolveNoneKeyframes()}}var Cb=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];var jp=[];function qp(t){Ht(typeof t.test==="function"&&typeof t.read==="function","Effects passed to animate.addEffect() need test() and read().","effect-missing-test"),Cc(t),jp.unshift(t)}function Cc(t){Xn(jp,t)}function Yp(t){return jp.find((e)=>e.test(t))}function wc(t,e,n={},i){let a=[],{velocity:o}=n,r=n.reduceMotion??i?.shouldReduceMotion;for(let u in e){if(u==="transition"||u==="transitionEnd")continue;let c=e[u];if(c===void 0)continue;let s=t(u),m=s.get();if(m!==void 0&&!s.isAnimating()&&!Array.isArray(c)&&c===m&&!o){ut.update(()=>s.set(c));continue}s.start($o(u,s,c,r&&Fo.has(u)?{type:!1}:n,i)),s.animation&&a.push(s.animation)}let{transitionEnd:l}=e;if(l){let u=()=>ut.update(()=>{for(let c in l)t(c).set(l[c])});a.length?Promise.all(a).then(u):u()}return a}function Zl(t,e,n,i,a){return wc((o)=>{let r=t.get(e,o);if(!r){let l;if(!a){let u=n[o];l=M3(u)??t.read(e,o,u),Ht(l!==void 0,\`"\${o}" can't be read from the animated subject. Provide [from, to] keyframes.\`,"effect-unreadable-value")}r=ae(l,{owner:a}),t(e,{[o]:r})}return r},n,i,a)}function M3(t){let e=Array.isArray(t)?t[0]:void 0;return e===null?void 0:e}function Ql(t){return pa(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}function ko(t){return pa(t)&&"ownerSVGElement"in t}var xe=(t,e)=>e&&typeof t==="number"?e.transform(t):t;function $l(t,e,n){if(t==null)return[];if(t instanceof EventTarget)return[t];else if(typeof t==="string"){let i=document;if(e)i=e.current;let a=n?.[t]??i.querySelectorAll(t);return a?Array.from(a):[]}return Array.from(t).filter((i)=>i!=null)}class Xp{constructor(t=ut.render){this.step=t,this.values=new Map,this.pending=[],this.numPending=0,this.flush=()=>{let{pending:e,numPending:n}=this;this.numPending=0;for(let i=0;i<n;i++)e[i]()}}set(t,e,n,i){if(this.values.get(t)?.onRemove(),i){for(let l of this.values.values())if(l.value===i)n=l.render}let a=()=>n&&this.schedule(n);e.get()!==void 0&&a();let o=e.on("change",a),r=()=>{o(),n&&!i&&this.cancel(n),this.values.delete(t)};return this.values.set(t,{value:e,render:i?void 0:n,onRemove:r}),r}get(t){return this.values.get(t)?.value}release(){let t=new Map;return this.values.forEach((e,n)=>{t.set(n,e.value),e.onRemove()}),this.transformKeys=this.transformValues=void 0,t}schedule(t){let{pending:e,numPending:n}=this;for(let i=0;i<n;i++)if(e[i]===t)return;n||this.step(this.flush),e[this.numPending++]=t}cancel(t){let{pending:e}=this;for(let n=0;n<this.numPending;n++)if(e[n]===t){e[n]=e[--this.numPending];return}}}function Jo(t,{step:e,...n}={}){let i=new WeakMap;return Object.assign((o,r)=>{let l=i.get(o)??new Xp(e);i.set(o,l);let u=[];for(let c in r){let s=r[c],m=t(o,l,c,s);u.push(m)}return()=>{for(let c of u)c()}},n,{get:(o,r)=>i.get(o)?.get(r),flush:(o)=>i.get(o)?.flush(),state:(o)=>i.get(o)})}var A3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},wb={};function Ob(t){let e="",{transformKeys:n=[],transformValues:i={}}=t;for(let o=0;o<n.length;o++){let r=n[o],l=i[r].get();if(l===void 0)continue;if((typeof l==="number"?l:parseFloat(l))!==(r.startsWith("scale")?1:0))e+=(e&&" ")+(wb[r]||(wb[r]=(A3[r]||r)+"("))+xe(l,Ll[r])+")"}let a=t.get("pathRotation")?.get();if(a)e+=(e&&" ")+"rotate("+xe(a,Ll.pathRotation)+")";return e||"none"}var C3=new Set(["originX","originY","originZ"]),Kp=(t,e)=>xe(t.get(e)?.get(),ie[e]),Oc=(t,e,n,i)=>{let a=void 0,o=void 0;if(Wt.has(n)){if(n!=="pathRotation"){let r=e.transformKeys??(e.transformKeys=[]);if((e.transformValues??(e.transformValues={}))[n]=i,!r.includes(n))r.push(n),r.sort((l,u)=>ze.indexOf(l)-ze.indexOf(u))}if(!e.get("transform")){if(!Ql(t)&&!e.get("transformBox"))Oc(t,e,"transformBox",new $n("fill-box"));e.set("transform",new $n("none"),()=>{t.style.transform=Ob(e)})}o=e.get("transform")}else if(C3.has(n)){if(!e.get("transformOrigin"))e.set("transformOrigin",new $n(""),()=>{let r=Kp(e,"originX")??"50%",l=Kp(e,"originY")??"50%",u=Kp(e,"originZ")??0;t.style.transformOrigin=\`\${r} \${l} \${u}\`});o=e.get("transformOrigin")}else if(Bi(n))a=()=>{t.style.setProperty(n,i.get())};else a=()=>{t.style[n]=xe(i.get(),ie[n])};return e.set(n,i,a,o)},w3=(t)=>Ql(t)||ko(t),Zp=(t,e)=>{if(Wt.has(e))return gc(t,e);let n=getComputedStyle(t),i=Bi(e)?n.getPropertyValue(e):n[e];return typeof i==="string"&&i.trim()||0},Nb=Jo(Oc,{test:w3,read:Zp});var O3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},N3=ze.length;function Vb(t,e,n){let i="",a=!0;for(let r=0;r<N3;r++){let l=ze[r],u=t[l];if(u===void 0)continue;let c=!0;if(typeof u==="number")c=u===(l.startsWith("scale")?1:0);else{let s=parseFloat(u);c=l.startsWith("scale")?s===1:s===0}if(!c||n){let s=xe(u,ie[l]);if(!c){a=!1;let m=O3[l]||l;i+=\`\${m}(\${s}) \`}if(n)e[l]=s}}let o=t.pathRotation;if(o)a=!1,i+=\`rotate(\${xe(o,ie.pathRotation)}) \`;if(i=i.trim(),n)i=n(e,a?"":i);else if(a)i="none";return i}function wa(t,e,n){let{style:i,vars:a,transformOrigin:o}=t,r=!1,l=!1;for(let u in e){let c=e[u];if(Wt.has(u)){r=!0;continue}else if(ac(u)){a[u]=c;continue}else{let s=xe(c,ie[u]);if(u.startsWith("origin"))l=!0,o[u]=s;else i[u]=s}}if(!e.transform){if(r||n)i.transform=Vb(e,t.transform,n);else if(i.transform)i.transform="none"}if(l){let{originX:u="50%",originY:c="50%",originZ:s=0}=o;i.transformOrigin=\`\${u} \${c} \${s}\`}}var V3={offset:"stroke-dashoffset",array:"stroke-dasharray"},D3={offset:"strokeDashoffset",array:"strokeDasharray"};function Db(t,e,n=1,i=0,a=!0){t.pathLength=1;let o=a?V3:D3;t[o.offset]=\`\${-i}\`,t[o.array]=\`\${e} \${n}\`}var Fl=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function kl(t,{attrX:e,attrY:n,attrScale:i,pathLength:a,pathSpacing:o=1,pathOffset:r=0,...l},u,c,s){if(wa(t,l,c),u){if(t.style.viewBox)t.attrs.viewBox=t.style.viewBox;return}t.attrs=t.style,t.style={};let{attrs:m,style:f}=t;for(let h of Fl)if(m[h]!==void 0)f[h]=m[h],delete m[h];if(f.transform||m.transformOrigin)f.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin;if(f.transform)f.transformBox=s?.transformBox??"fill-box",delete m.transformBox;if(e!==void 0)m.x=e;if(n!==void 0)m.y=n;if(i!==void 0)m.scale=i;if(a!==void 0)Db(m,a,o,r,!1)}function z3(t,e){if(!(e in t))return!1;let n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e);return n&&typeof n.set==="function"}var Qp=(t,e,n,i,a=n)=>{let o=z3(t,a);if(!o&&(a.startsWith("data")||a.startsWith("aria")))a=Mn(a);let r=ie[n]||ie[a],l=o?()=>{t[a]=xe(i.get(),ie[n])}:()=>{let u=xe(i.get(),r);if(u===null||u===void 0)t.removeAttribute(a);else t.setAttribute(a,String(u))};return e.set(n,i,l)};function R3(t,e,n,i){if(ut.render(()=>t.setAttribute("pathLength","1")),n==="pathOffset")return e.set(n,i,()=>{let a=i.get();t.setAttribute("stroke-dashoffset",\`\${-a}\`)});else{if(!e.get("stroke-dasharray"))e.set("stroke-dasharray",new $n("1 1"),()=>{let a=e.get("pathLength")?.get()??1,o=e.get("pathSpacing")?.get();t.setAttribute("stroke-dasharray",\`\${a} \${o??1-Number(a)}\`)});return e.set(n,i,void 0,e.get("stroke-dasharray"))}}var _3=(t,e,n,i)=>{if(n.startsWith("path"))return R3(t,e,n,i);else if(n.startsWith("attr"))return Qp(t,e,n,i,Rb(n));return(Bi(n)||n in t.style?Oc:Qp)(t,e,n,i)},B3=(t,e)=>{if(Wt.has(e))return ie[e]?.default||0;if(Bi(e)||Fl.includes(e))return Zp(t,e);return e=Rb(e),t.getAttribute(Mn(e))??t.getAttribute(e)??void 0},zb=Jo(_3,{test:ko,read:B3});function Rb(t){return t.replace(/^attr([A-Z])/,(e,n)=>n.toLowerCase())}function _b({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function Bb(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Nc(t,e){return _b(Bb(t.getBoundingClientRect(),e))}var U3={},H3=(t)=>ko(t)?zb:Nb;class Ub{constructor(t,e){this.effect=t,this.current=e,this.KeyframeResolver=Kl}getValue(t){return this.effect.get(this.current,t)}readValue(t,e){return this.effect.read(this.current,t,e)}render(){this.effect.flush(this.current)}measureViewportBox(){return Nc(this.current)}getProps(){return U3}}function $p(t,e,n,i){if(i)return wc((o)=>i.getValue(o,null),e,n,i);let a=H3(t);return Zl(a,t,e,n,new Ub(a,t))}var Fp=Jo((t,e,n,i)=>e.set(n,i,()=>{t[n]=i.get()}),{test:(t)=>pa(t),read:(t,e)=>{let n=t[e];return typeof n==="string"||typeof n==="number"?n:void 0}});var{schedule:Hb,cancel:o6}=nc(queueMicrotask,!1);var Lb={x:!1,y:!1};function Vc(){return Lb.x||Lb.y}function Dc(t,e){let n=$l(t),i=new AbortController,a={passive:!0,...e,signal:i.signal};return[n,a,()=>i.abort()]}function L3(t){return!(t.pointerType==="touch"||Vc())}function kp(t,e,n={}){let[i,a,o]=Dc(t,n);return i.forEach((r)=>{let l=!1,u=!1,c,s=()=>{r.removeEventListener("pointerleave",y)},m=(T)=>{if(c)c(T),c=void 0;s()},f=(T)=>{if(l=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),u)u=!1,m(T)},h=()=>{l=!0,window.addEventListener("pointerup",f,a),window.addEventListener("pointercancel",f,a)},y=(T)=>{if(T.pointerType==="touch")return;if(l){u=!0;return}m(T)},x=(T)=>{if(!L3(T))return;u=!1;let g=e(r,T);if(typeof g!=="function")return;c=g,r.addEventListener("pointerleave",y,a)};r.addEventListener("pointerenter",x,a),r.addEventListener("pointerdown",h,a)}),o}var Jp=(t,e)=>{if(!e)return!1;else if(t===e)return!0;else return Jp(t,e.parentElement)};var Gb=(t)=>{if(t.pointerType==="mouse")return typeof t.button!=="number"||t.button<=0;else return t.isPrimary!==!1};var G3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function jb(t){return G3.has(t.tagName)||t.isContentEditable===!0}var Po=new WeakSet;function qb(t){return(e)=>{if(e.key!=="Enter")return;t(e)}}function Pp(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}var Yb=(t,e)=>{let n=t.currentTarget;if(!n)return;let i=qb(()=>{if(Po.has(n))return;Pp(n,"down");let a=qb(()=>{Pp(n,"up")}),o=()=>Pp(n,"cancel");n.addEventListener("keyup",a,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)};function Xb(t){return Gb(t)&&!Vc()}var Kb=new WeakSet;function Ip(t,e,n={}){let[i,a,o]=Dc(t,n),r=(l)=>{let u=l.currentTarget;if(!Xb(l))return;if(Kb.has(l))return;if(Po.add(u),n.stopPropagation)Kb.add(l);let c=e(u,l),s={...a,capture:!0},m=(y,x)=>{if(window.removeEventListener("pointerup",f,s),window.removeEventListener("pointercancel",h,s),Po.has(u))Po.delete(u);if(!Xb(y))return;if(typeof c==="function")c(y,{success:x})},f=(y)=>{m(y,u===window||u===document||n.useGlobalTarget||Jp(u,y.target))},h=(y)=>{m(y,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",h,s)};return i.forEach((l)=>{if((n.useGlobalTarget?window:l).addEventListener("pointerdown",r,a),Ql(l)){if(l.addEventListener("focus",(c)=>Yb(c,a)),!jb(l)&&!l.hasAttribute("tabindex"))l.tabIndex=0}}),o}var Zb=()=>({min:0,max:0}),zc=()=>({x:Zb(),y:Zb()});var Jl=new WeakMap;function Fn(t){return t!==null&&typeof t==="object"&&typeof t.start==="function"}function An(t){return typeof t==="string"||Array.isArray(t)}var Rc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Io=["initial",...Rc];function Ui(t){if(Fn(t.animate))return!0;for(let e=0;e<Io.length;e++)if(An(t[Io[e]]))return!0;return!1}function Pl(t){return Boolean(Ui(t)||t.variants)}function Qb(t,e,n){for(let i in e){let a=e[i],o=n[i];if(I(a))t.addValue(i,a);else if(I(o))t.addValue(i,ae(a,{owner:t}));else if(o!==a)if(t.hasValue(i)){let r=t.getValue(i);if(r.liveStyle===!0)r.jump(a);else if(!r.hasAnimated)r.set(a)}else{let r=t.getStaticValue(i);t.addValue(i,ae(r!==void 0?r:a,{owner:t}))}}for(let i in n)if(e[i]===void 0)t.removeValue(i);return e}var Il={current:null},_c={current:!1};var j3=typeof window<"u";function $b(){if(_c.current=!0,!j3)return;if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Il.current=t.matches;t.addEventListener("change",e),e()}else Il.current=!1}var Fb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Bc={};function Wl(t){Bc=t}function Wp(){return Bc}class Uc{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,skipAnimations:a,blockInitialAnimation:o,visualState:r},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Ea,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{if(!this.current)return;this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection)},this.renderScheduledAt=0,this.scheduleRender=()=>{let f=Ot.now();if(this.renderScheduledAt<f)this.renderScheduledAt=f,ut.render(this.render,!1,!0)};let{latestValues:u,renderState:c}=r;if(this.latestValues=u,this.baseTarget={...u},this.initialValues=e.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=a,this.options=l,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=Ui(e),this.isVariantNode=Pl(e),this.isVariantNode)this.variantChildren=new Set;this.manuallyAnimateOnMount=Boolean(t&&t.current);let{willChange:s,...m}=this.scrapeMotionValuesFromProps(e,{},this);for(let f in m){let h=m[f];if(u[f]!==void 0&&I(h))h.set(u[f])}}mount(t){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];if(this.current=t,Jl.set(t,this),this.projection&&!this.projection.instance)this.projection.mount(t);if(this.parent&&this.isVariantNode&&!this.isControllingVariants)this.removeFromVariantTree=this.parent.addVariantChild(this);if(this.values.forEach((e,n)=>this.bindToMotionValue(n,e)),this.reducedMotionConfig==="never")this.shouldReduceMotion=!1;else if(this.reducedMotionConfig==="always")this.shouldReduceMotion=!0;else{if(!_c.current)$b();this.shouldReduceMotion=Il.current}this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Lo(this.notifyUpdate),Lo(this.render),this.valueSubscriptions.forEach((t)=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];if(e)e.unmount(),e.isMounted=!1}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){if(this.valueSubscriptions.has(t))this.valueSubscriptions.get(t)();if(e.accelerate&&ql.has(t)&&this.current instanceof HTMLElement){let{factory:o,keyframes:r,times:l,ease:u,duration:c}=e.accelerate,s=new Gl({element:this.current,name:t,keyframes:r,times:l,ease:u,duration:Lt(c)}),m=o(s);this.valueSubscriptions.set(t,()=>{m(),s.cancel()});return}let n=Wt.has(t);if(n&&this.onBindTransform)this.onBindTransform();let i=e.on("change",(o)=>{if(this.latestValues[t]=o,this.props.onUpdate&&ut.preRender(this.notifyUpdate),n&&this.projection)this.projection.isTransformDirty=!0;this.scheduleRender()}),a;if(typeof window<"u"&&window.MotionCheckAppearSync)a=window.MotionCheckAppearSync(this,t,e);this.valueSubscriptions.set(t,()=>{if(i(),a)a()})}sortNodePosition(t){if(!this.current||!this.sortInstanceNodePosition||this.type!==t.type)return 0;return this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Bc){let e=Bc[t];if(!e)continue;let{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props))this.features[t]=new i(this);if(this.features[t]){let a=this.features[t];if(a.isMounted)a.update();else a.mount(),a.isMounted=!0}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):zc()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){if(t.transformTemplate||this.props.transformTemplate)this.scheduleRender();this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<Fb.length;n++){let i=Fb[n];if(this.propEventSubscriptions[i])this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i];let a="on"+i,o=t[a];if(o)this.propEventSubscriptions[i]=this.on(i,o)}if(this.prevMotionValues=Qb(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue)this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let n=this.values.get(t);if(e!==n){if(n)this.removeValue(t);this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get()}}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);if(e)e(),this.valueSubscriptions.delete(t);delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);if(n===void 0&&e!==void 0)n=ae(e===null?void 0:e,{owner:this}),this.addValue(t,n);return n}readValue(t,e){let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);if(n!==void 0&&n!==null){if(typeof n==="string"&&(da(n)||ha(n)))n=parseFloat(n);else if(typeof n!=="number"&&!Nt.test(n)&&Nt.test(e))n=Qo(t,e);this.setBaseTarget(t,I(n)?n.get():n)}return I(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let{initial:e}=this.props,n;if(typeof e==="string"||typeof e==="object"){let a=Ca(this.props,e,this.presenceContext?.custom);if(a)n=a[t]}if(e&&n!==void 0)return n;let i=this.getBaseTargetFromProps(this.props,t);if(i!==void 0&&!I(i))return i;return this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,e){if(!this.events[t])this.events[t]=new ya;return this.events[t].add(e)}notify(t,...e){if(this.events[t])this.events[t].notify(...e)}scheduleRenderMicrotask(){Hb.render(this.render)}}class ts extends Uc{constructor(){super(...arguments);this.KeyframeResolver=Kl}sortInstanceNodePosition(t,e){return t.compareDocumentPosition(e)&2?1:-1}getBaseTargetFromProps(t,e){let n=t.style;return n?n[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){if(this.childSubscription)this.childSubscription(),delete this.childSubscription;let{children:t}=this.props;if(I(t))this.childSubscription=t.on("change",(e)=>{if(this.current)this.current.textContent=\`\${e}\`})}}class be{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Hc(t,{style:e,vars:n},i,a){let o=t.style,r;for(r in e)o[r]=e[r];a?.applyProjectionStyles(o,i);for(r in n)o.setProperty(r,n[r])}function kb(t,e){if(e.max===e.min)return 0;return t/(e.max-e.min)*100}var Wo={correct:(t,e)=>{if(!e.target)return t;if(typeof t==="string")if(z.test(t))t=parseFloat(t);else return t;let n=kb(t,e.target.x),i=kb(t,e.target.y);return\`\${n}% \${i}%\`}};var Jb={correct:(t,{treeScale:e,projectionDelta:n})=>{let i=t,a=Nt.parse(t);if(a.length>5)return i;let o=Nt.createTransformer(t),r=typeof a[0]!=="number"?1:0,l=n.x.scale*e.x,u=n.y.scale*e.y;a[0+r]/=l,a[1+r]/=u;let c=ve(l,u,0.5);if(typeof a[2+r]==="number")a[2+r]/=c;if(typeof a[3+r]==="number")a[3+r]/=c;return o(a)}};var Pb={borderRadius:{...Wo,applyTo:[...Cb]},borderTopLeftRadius:Wo,borderTopRightRadius:Wo,borderBottomLeftRadius:Wo,borderBottomRightRadius:Wo,boxShadow:Jb};function es(t,{layout:e,layoutId:n}){return Wt.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Pb[t]||t==="opacity")}function Oa(t,e,n){let i=t.style,a=e?.style,o={};if(!i)return o;for(let r in i)if(I(i[r])||a&&I(a[r])||es(r,t)||n?.getValue(r)?.liveStyle!==void 0)o[r]=i[r];return o}function q3(t){return window.getComputedStyle(t)}class Lc extends ts{constructor(){super(...arguments);this.type="html",this.renderInstance=Hc}mount(t){Ht(Boolean(t.style),"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(Wt.has(e))return this.projection?.isProjecting?pc(e):gc(t,e);else{let n=q3(t),i=(ac(e)?n.getPropertyValue(e):n[e])||0;return typeof i==="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return Nc(t,e)}build(t,e,n){wa(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return Oa(t,e,n)}}var Gc=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var ns=(t)=>typeof t==="string"&&t.toLowerCase()==="svg";function Ib(t,e,n,i){Hc(t,e,void 0,i);for(let a in e.attrs)t.setAttribute(!Gc.has(a)?Mn(a):a,e.attrs[a])}function is(t,e,n){let i=Oa(t,e,n);for(let a in t)if(I(t[a])||I(e[a])){let o=ze.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;i[o]=t[a]}return i}class jc extends ts{constructor(){super(...arguments);this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=zc}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(Wt.has(e)){let n=dc(e);return n?n.default||0:0}if(Fl.includes(e)){let i=getComputedStyle(t)[e];if(typeof i==="string"&&i)return i.trim()}return e=!Gc.has(e)?Mn(e):e,t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return is(t,e,n)}build(t,e,n){kl(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){Ib(t,e,n,i)}mount(t){this.isSVGTag=ns(t.tagName),super.mount(t)}}var Y3=Io.length;function th(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent?th(t.parent)||{}:{};if(t.props.initial!==void 0)n.initial=t.props.initial;return n}let e={};for(let n=0;n<Y3;n++){let i=Io[n],a=t.props[i];if(An(a)||a===!1)e[i]=a}return e}function eh(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}var X3=[...Rc].reverse(),K3=Rc.length;function Z3(t){return(e)=>Promise.all(e.map(({animation:n,options:i})=>Sb(t,n,i)))}function nh(t){let e=Z3(t),n=Wb(),i=!0,a=!1,o=(c)=>(s,m)=>{let f=Re(t,m,c==="exit"?t.presenceContext?.custom:void 0);if(f){let{transition:h,transitionEnd:y,...x}=f;s={...s,...x,...y}}return s};function r(c){e=c(t)}function l(c){let{props:s}=t,m=th(t.parent)||{},f=[],h=new Set,y={},x=1/0;for(let g=0;g<K3;g++){let d=X3[g],p=n[d],v=s[d]!==void 0?s[d]:m[d],b=An(v),w=d===c?p.isActive:null;if(w===!1)x=g;let S=v===m[d]&&v!==s[d]&&b;if(S&&(i||a)&&t.manuallyAnimateOnMount)S=!1;if(p.protectedKeys={...y},!p.isActive&&w===null||!v&&!p.prevProp||Fn(v)||typeof v==="boolean")continue;if(d==="exit"&&p.isActive&&w!==!0){if(p.prevResolvedValues)y={...y,...p.prevResolvedValues};continue}let E=tS(p.prevProp,v),M=E||d===c&&p.isActive&&!S&&b||g>x&&b,O=!1,L=Array.isArray(v)?v:[v],yt=L.reduce(o(d),{});if(w===!1)yt={};let{prevResolvedValues:mt={}}=p,R={...mt,...yt},_=(D)=>{if(M=!0,h.has(D))O=!0,h.delete(D);p.needsAnimating[D]=!0;let H=t.getValue(D);if(H)H.liveStyle=!1};for(let D in R){let H=yt[D],Z=mt[D];if(y.hasOwnProperty(D))continue;let V=!1;if(Yl(H)&&Yl(Z))V=!eh(H,Z)||E;else V=H!==Z;if(V)if(H!==void 0&&H!==null)_(D);else h.add(D);else if(H!==void 0&&h.has(D))_(D);else p.protectedKeys[D]=!0}if(p.prevProp=v,p.prevResolvedValues=yt,p.isActive)y={...y,...yt};if((i||a)&&t.blockInitialAnimation)M=!1;let N=S&&E;if(M&&(!N||O))f.push(...L.map((D)=>{let H={type:d};if(typeof D==="string"&&(i||a)&&!N&&t.manuallyAnimateOnMount&&t.parent){let{parent:Z}=t,V=Re(Z,D);if(Z.enteringChildren&&V){let{delayChildren:P}=V.transition||{};H.delay=Sc(Z.enteringChildren,t,P)}}return{animation:D,options:H}}))}if(h.size){let g={};if(typeof s.initial!=="boolean"){let d=Re(t,Array.isArray(s.initial)?s.initial[0]:s.initial);if(d&&d.transition)g.transition=d.transition}h.forEach((d)=>{let p=t.getBaseTarget(d),v=t.getValue(d);if(v)v.liveStyle=!0;g[d]=p??null}),f.push({animation:g})}let T=Boolean(f.length);if(i&&(s.initial===!1||s.initial===s.animate)&&!t.manuallyAnimateOnMount)T=!1;return i=!1,a=!1,T?e(f):Promise.resolve()}function u(c,s){if(n[c].isActive===s)return Promise.resolve();t.variantChildren?.forEach((f)=>f.animationState?.setActive(c,s)),n[c].isActive=s;let m=l(c);for(let f in n)n[f].protectedKeys={};return m}return{animateChanges:l,setActive:u,setAnimateFunction:r,getState:()=>n,reset:()=>{n=Wb(),a=!0}}}function tS(t,e){if(typeof e==="string")return e!==t;else if(Array.isArray(e))return!eh(e,t);return!1}function Na(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Wb(){return{animate:Na(!0),whileInView:Na(),whileHover:Na(),whileTap:Na(),whileDrag:Na(),whileFocus:Na(),exit:Na()}}function ih(t,e,n){let i=I(t)?t:ae(t);return i.start($o("",i,e,n)),i.animation}function qc(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function ah(t){return I(t)?t.get():t}var eS=J(vt(),1),tr=eS.createContext({transformPagePoint:(t)=>t,isStatic:!1,reducedMotion:"never"});var oS=J(We(),1),nr=J(vt(),1);var nS=J(vt(),1),er=nS.createContext({strict:!1});var iS={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},aS=!1;function Q3(){if(aS)return;let t={};for(let e in iS)t[e]={isEnabled:(n)=>iS[e].some((i)=>!!n[i])};Wl(t),aS=!0}function Yc(){return Q3(),Wp()}function as(t){let e=Yc();for(let n in t)e[n]={...e[n],...t[n]};Wl(e)}function rh({children:t,features:e,strict:n=!1}){let[,i]=nr.useState(!oh(e)),a=nr.useRef(void 0);if(!oh(e)){let{renderer:o,...r}=e;a.current=o,as(r)}return nr.useEffect(()=>{if(oh(e))e().then(({renderer:o,...r})=>{as(r),a.current=o,i(!0)})},[]),oS.jsx(er.Provider,{value:{renderer:a.current,strict:n},children:t})}function oh(t){return typeof t==="function"}var Qc=J(We(),1);var rr=J(vt(),1);var rS=J(vt(),1),Hi=rS.createContext({});var Xc=J(vt(),1);function lS(t,e){if(Ui(t)){let{initial:n,animate:i}=t;return{initial:n===!1||An(n)?n:void 0,animate:An(i)?i:void 0}}return t.inherit!==!1?e:{}}function uS(t){let{initial:e,animate:n}=lS(t,Xc.useContext(Hi));return Xc.useMemo(()=>({initial:e,animate:n}),[sS(e),sS(n)])}function sS(t){return Array.isArray(t)?t.join(" "):t}var or=J(vt(),1);var cS=J(vt(),1);var ir=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function lh(t,e,n){for(let i in e)if(!I(e[i])&&!es(i,n))t[i]=e[i]}function $3({transformTemplate:t},e){return cS.useMemo(()=>{let n=ir();return wa(n,e,t),Object.assign({},n.vars,n.style)},[e])}function F3(t,e){let n=t.style||{},i={};return lh(i,n,t),Object.assign(i,$3(t,e)),i}function fS(t,e){let n={},i=F3(t,e);if(t.drag&&t.dragListener!==!1)n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":\`pan-\${t.drag==="x"?"y":"x"}\`;if(t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap))n.tabIndex=0;return n.style=i,n}var mS=J(vt(),1);var Kc=()=>({...ir(),attrs:{}});function dS(t,e,n,i){let a=mS.useMemo(()=>{let o=Kc();return kl(o,e,ns(i),t.transformTemplate,t.style),{...o.attrs,style:{...o.style}}},[e]);if(t.style){let o={};lh(o,t.style,t),a.style={...o,...a.style}}return a}var k3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function os(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||k3.has(t)}function J3(t,e){return t.startsWith("on")?!os(t):e?.(t)??!os(t)}function pS(t,e,n,i){let a={};for(let o in t){if(o==="values"&&typeof t.values==="object")continue;if(I(t[o]))continue;if(J3(o,i)||n===!0&&os(o)||!e&&!os(o)||t.draggable&&o.startsWith("onDrag"))a[o]=t[o]}return a}var hS=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ar(t){if(typeof t!=="string"||t.includes("-"))return!1;else if(hS.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}function gS(t,e,n,{latestValues:i},a,o=!1,r,l){let c=(r??ar(t)?dS:fS)(e,i,a,t),s=pS(e,typeof t==="string",o,l),m=t!==or.Fragment?{...s,...c,ref:n}:{},{children:f}=e,h=or.useMemo(()=>I(f)?f.get():f,[f]);return or.createElement(t,{...m,children:h})}var sh=J(vt(),1);function P3({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,a){return{latestValues:I3(n,i,a,t),renderState:e()}}function I3(t,e,n,i){let a={},o=i(t,{});for(let f in o)a[f]=ah(o[f]);let{initial:r,animate:l}=t,u=Ui(t),c=Pl(t);if(e&&c&&!u&&t.inherit!==!1){if(r===void 0)r=e.initial;if(l===void 0)l=e.animate}let s=n?n.initial===!1:!1;s=s||r===!1;let m=s?l:r;if(m&&typeof m!=="boolean"&&!Fn(m)){let f=Array.isArray(m)?m:[m];for(let h=0;h<f.length;h++){let y=Ca(t,f[h]);if(y){let{transitionEnd:x,transition:T,...g}=y;for(let d in g){let p=g[d];if(Array.isArray(p)){let v=s?p.length-1:0;p=p[v]}if(p!==null)a[d]=p}for(let d in x)a[d]=x[d]}}}return a}var Zc=(t)=>(e,n)=>{let i=sh.useContext(Hi),a=sh.useContext(Iu),o=()=>P3(t,e,i,a);return n?o():Ju(o)};var yS=Zc({scrapeMotionValuesFromProps:Oa,createRenderState:ir});var vS=Zc({scrapeMotionValuesFromProps:is,createRenderState:Kc});var xS=Symbol.for("motionComponentSymbol");var Va=J(vt(),1);function bS(t,e,n){let i=Va.useRef(n);Va.useInsertionEffect(()=>{i.current=n});let a=Va.useRef(null);return Va.useCallback((o)=>{if(o)t.onMount?.(o);if(e)o?e.mount(o):e.unmount();let r=i.current;if(typeof r==="function")if(o){let l=r(o);if(typeof l==="function")a.current=l}else if(a.current)a.current(),a.current=null;else r(o);else if(r)r.current=o},[e])}var ce=J(vt(),1);var SS=J(vt(),1),TS=SS.createContext({});function ES(t){return t&&typeof t==="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function MS(t,e,n,i,a,o){let{visualElement:r}=ce.useContext(Hi),l=ce.useContext(er),u=ce.useContext(Iu),c=ce.useContext(tr),s=c.reducedMotion,m=c.skipAnimations,f=ce.useRef(null),h=ce.useRef(!1);if(i=i||l.renderer,!f.current&&i){if(f.current=i(t,{visualState:e,parent:r,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:s,skipAnimations:m,isSVG:o}),h.current&&f.current)f.current.manuallyAnimateOnMount=!0}let y=f.current,x=ce.useContext(TS);if(y&&!y.projection&&a&&(y.type==="html"||y.type==="svg"))W3(f.current,n,a,x);let T=ce.useRef(!1);ce.useInsertionEffect(()=>{if(y&&T.current)y.update(n,u)});let g=n[Xl],d=ce.useRef(Boolean(g)&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return up(()=>{if(!h.current||!y)return;y.animationState?.animateChanges(),y.enteringChildren=void 0},[]),up(()=>{if(h.current=!0,!y)return;if(T.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),d.current&&y.animationState)y.animationState.animateChanges()}),ce.useEffect(()=>{if(!y)return;if(!d.current&&y.animationState)y.animationState.animateChanges();if(d.current)queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),d.current=!1;y.enteringChildren=void 0}),y}function W3(t,e,n,i){let{layoutId:a,layout:o,drag:r,dragConstraints:l,layoutScroll:u,layoutRoot:c,layoutAnchor:s,layoutCrossfade:m}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:AS(t.parent)),t.projection.setOptions({layoutId:a,layout:o,alwaysMeasureLayout:Boolean(r)||l&&ES(l),visualElement:t,animationType:typeof o==="string"?o:"both",initialPromotionConfig:i,crossfade:m,layoutScroll:u,layoutRoot:c,layoutAnchor:s})}function AS(t){if(!t)return;return t.options.allowProjection!==!1?t.projection:AS(t.parent)}function $c(t,{forwardMotionProps:e=!1,type:n}={},i,a){i&&as(i);let o=n?n==="svg":ar(t),r=o?vS:yS;function l(c,s){let m,f={...rr.useContext(tr),...c,layoutId:tC(c)},{isStatic:h,isValidProp:y}=f,x=uS(c),T=r(c,h);if(!h&&typeof window<"u"){eC(f,i);let g=nC(f);m=g.MeasureLayout,x.visualElement=MS(t,T,f,a,g.ProjectionNode,o)}return Qc.jsxs(Hi.Provider,{value:x,children:[m&&x.visualElement?Qc.jsx(m,{visualElement:x.visualElement,...f}):null,gS(t,c,bS(T,x.visualElement,s),T,h,e,o,y)]})}l.displayName=\`motion.\${typeof t==="string"?t:\`create(\${t.displayName??t.name??""})\`}\`;let u=rr.forwardRef(l);return u[xS]=t,u}function tC({layoutId:t}){let e=rr.useContext(dx).id;return e&&t!==void 0?e+"-"+t:t}function eC(t,e){let n=rr.useContext(er).strict}function nC(t){let e=Yc(),{drag:n,layout:i}=e;if(!n&&!i)return{};let a={...n,...i};return{MeasureLayout:n?.isEnabled(t)||i?.isEnabled(t)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}function CS(t,e){if(typeof Proxy>"u")return $c;let n=new Map,i=(o,r)=>$c(o,r,t,e);return new Proxy((o,r)=>i(o,r),{get:(o,r)=>{if(r==="create")return i;if(!n.has(r))n.set(r,$c(r,void 0,t,e));return n.get(r)}})}var uh=CS();var wS=J(vt(),1);var OS=(t,e)=>e.isSVG??ar(t)?new jc(e):new Lc(e,{allowProjection:t!==wS.Fragment});class ch extends be{constructor(t){super(t);t.animationState||(t.animationState=nh(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();if(Fn(t))this.unmountControls=t.subscribe(this.node)}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};if(t!==e)this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}var iC=0;class fh extends be{constructor(){super(...arguments);this.id=iC++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&n===!1){if(this.isExitComplete){let{initial:a,custom:o}=this.node.getProps();if(typeof a==="string"||typeof a==="object"&&a!==null&&!Array.isArray(a)){let r=Re(this.node,a,o);if(r){let{transition:l,transitionEnd:u,...c}=r;for(let s in c)this.node.getValue(s)?.jump(c[s])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let i=this.node.animationState.setActive("exit",!t);if(e&&!t)i.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};if(e)e(this.id);if(t)this.unmount=t(this.id)}unmount(){}}var NS={animation:{Feature:ch},exit:{Feature:fh}};function Fc(t){return{point:{x:t.pageX,y:t.pageY}}}function VS(t,e,n){let{props:i}=t;if(t.animationState&&i.whileHover)t.animationState.setActive("whileHover",n==="Start");let a="onHover"+n,o=i[a];if(o)ut.postRender(()=>o(e,Fc(e)))}class mh extends be{mount(){let{current:t}=this.node;if(!t)return;this.unmount=kp(t,(e,n)=>(VS(this.node,n,"Start"),(i)=>VS(this.node,i,"End")))}unmount(){}}class dh extends be{constructor(){super(...arguments);this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}if(!t||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",!0),this.isActive=!0}onBlur(){if(!this.isActive||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",!1),this.isActive=!1}mount(){this.unmount=Kn(qc(this.node.current,"focus",()=>this.onFocus()),qc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function DS(t,e,n){let{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;if(t.animationState&&i.whileTap)t.animationState.setActive("whileTap",n==="Start");let a="onTap"+(n==="End"?"":n),o=i[a];if(o)ut.postRender(()=>o(e,Fc(e)))}class ph extends be{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:n}=this.node.props;this.unmount=Ip(t,(i,a)=>(DS(this.node,a,"Start"),(o,{success:r})=>DS(this.node,o,r?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:n?.tap===!1})}unmount(){}}var gh=new WeakMap,hh=new WeakMap,aC=(t)=>{let e=gh.get(t.target);e&&e(t)},oC=(t)=>{t.forEach(aC)};function rC({root:t,...e}){let n=t||document;if(!hh.has(n))hh.set(n,{});let i=hh.get(n),a=JSON.stringify(e);if(!i[a])i[a]=new IntersectionObserver(oC,{root:t,...e});return i[a]}function zS(t,e,n){let i=rC(e);return gh.set(t,n),i.observe(t),()=>{gh.delete(t),i.unobserve(t)}}var lC={some:0,all:1};class yh extends be{constructor(){super(...arguments);this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:a}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:typeof i==="number"?i:lC[i]},r=(l)=>{let{isIntersecting:u}=l;if(this.isInView===u)return;if(this.isInView=u,a&&!u&&this.hasEnteredView)return;else if(u)this.hasEnteredView=!0;if(this.node.animationState)this.node.animationState.setActive("whileInView",u);let{onViewportEnter:c,onViewportLeave:s}=this.node.getProps(),m=u?c:s;m&&m(l)};this.stopObserver=zS(this.node.current,o,r)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:e}=this.node;if(["amount","margin","root"].some(sC(t,e)))this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function sC({viewport:t={}},{viewport:e={}}={}){return(n)=>t[n]!==e[n]}var RS={inView:{Feature:yh},tap:{Feature:ph},focus:{Feature:dh},hover:{Feature:mh}};var vh={renderer:OS,...NS,...RS};var _S=J(vt(),1);function xh(t,e,n){_S.useInsertionEffect(()=>t.on(e,n),[t,e,n])}var lr=J(vt(),1);function Da(t){let e=Ju(()=>ae(t)),{isStatic:n}=lr.useContext(tr);if(n){let[,i]=lr.useState(t);lr.useEffect(()=>e.on("change",i),[])}return e}function rs(t){return typeof t==="object"&&!Array.isArray(t)}function kc(t,e,n,i){if(t==null)return[];if(typeof t==="string"&&rs(e))return $l(t,n,i);else if(t instanceof NodeList)return Array.from(t);else if(Array.isArray(t))return t.filter((a)=>a!=null);else return[t]}function BS(t,e,n){return t*(e+1)+n*e}function bh(t,e,n,i){if(typeof e==="number")return e;else if(e.startsWith("-")||e.startsWith("+"))return Math.max(0,t+parseFloat(e));else if(e==="<")return n;else if(e.startsWith("<"))return Math.max(0,n+parseFloat(e.slice(1)));else return i.get(e)??t}function uC(t,e,n){for(let i=0;i<t.length;i++){let a=t[i];if(a.at>e&&a.at<n)Xn(t,a),i--}}function US(t,e,n,i,a,o){uC(t,a,o);for(let r=0;r<e.length;r++)t.push({value:e[r],at:ve(a,o,i[r]),easing:Cl(n,r)})}function HS(t,e,n=0){let i=e+1+e*n;for(let a=0;a<t.length;a++)t[a]=t[a]/i}function LS(t,e){if(t.at===e.at){if(t.value===null)return 1;if(e.value===null)return-1;return 0}else return t.at-e.at}var cC="easeInOut",Sh=20;function qS(t,{defaultTransition:e={},...n}={},i,a){let o=e.duration||0.3,r=new Map,l=new Map,u={},c=new Map,s=0,m=0,f=0;for(let h=0;h<t.length;h++){let y=t[h];if(typeof y==="string"){c.set(y,m);continue}else if(!Array.isArray(y)){c.set(y.name,bh(m,y.at,s,c));continue}let[x,T,g={}]=y;if(g.at!==void 0)m=bh(m,g.at,s,c);let d=0,p=(v,b,w,S=0,E=0)=>{let M=fC(v),{delay:O=0,times:L=Bl(M),type:yt=e.type||"keyframes",repeat:mt,repeatType:R,repeatDelay:_=0,...N}=b,{ease:U=e.ease||"easeOut",duration:D}=b,H=typeof O==="function"?O(S,E):O,Z=M.length,V=Aa(yt)?yt:a?.[yt||"keyframes"];if(Z<=2&&V){let kn=100;if(Z===2&&pC(M)){let fr=M[1]-M[0];kn=Math.abs(fr)}let _e={...e,...N};if(D!==void 0)_e.duration=Lt(D);let us=zl(_e,kn,V);U=us.ease,D=us.duration}D??(D=o);let P=m+H;if(L.length===1&&L[0]===0)L[1]=1;let Cn=L.length-M.length;if(Cn>0&&_l(L,Cn),M.length===1&&M.unshift(null),mt)Ze(mt<Sh,\`Sequence segments can't repeat \${mt} times — ignoring repeat option. Use a value below \${Sh} or apply repeat at the sequence level instead.\`);if(mt&&mt<Sh){let kn=D>0?_/D:0;D=BS(D,mt,_);let _e=[...M],us=[...L];U=Array.isArray(U)?[...U]:[U];let fr=[...U],jh=R==="reverse"||R==="mirror",qh=_e,Yh=fr;if(jh){if(qh=[..._e].reverse(),R==="reverse")Yh=[...fr].reverse().map((Jn)=>typeof Jn==="function"?va(Jn):Jn)}for(let Jn=0;Jn<mt;Jn++){let Xh=jh&&Jn%2===0,Kh=Xh?qh:_e,CT=Xh?Yh:fr,Zh=(Jn+1)*(1+kn);if(kn>0)M.push(M[M.length-1]),L.push(Zh),U.push("linear");M.push(...Kh);for(let mr=0;mr<Kh.length;mr++)L.push(us[mr]+Zh),U.push(mr===0?"linear":Cl(CT,mr-1))}HS(L,mt,kn)}let ji=P+D;US(w,M,U,L,P,ji),d=Math.max(H+D,d),f=Math.max(ji,f)};if(I(x)){let v=GS(x,l);p(T,g,jS("default",v))}else{let v=kc(x,T,i,u),b=v.length;for(let w=0;w<b;w++){T=T,g=g;let S=v[w],E=GS(S,l);for(let M in T)p(T[M],mC(g,M),jS(M,E),w,b)}}s=m,m+=d}return l.forEach((h,y)=>{for(let x in h){let T=h[x];T.sort(LS);let g=[],d=[],p=[];for(let S=0;S<T.length;S++){let{at:E,value:M,easing:O}=T[S];g.push(M),d.push(ga(0,f,E)),p.push(O||"easeOut")}if(d[0]!==0)d.unshift(0),g.unshift(g[0]),p.unshift(cC);if(d[d.length-1]!==1)d.push(1),g.push(null);if(!r.has(y))r.set(y,{keyframes:{},transition:{}});let v=r.get(y);v.keyframes[x]=g;let{type:b,...w}=e;v.transition[x]={...w,duration:f,ease:p,times:d,...n}}}),r}function GS(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function jS(t,e){if(!e[t])e[t]=[];return e[t]}function fC(t){return Array.isArray(t)?t:[t]}function mC(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}var dC=(t)=>typeof t==="number",pC=(t)=>t.every(dC);function hC(t,e){return I(t)||typeof t==="number"||typeof t==="string"&&!rs(e)}function Jc(t,e,n,i){let a=[];if(hC(t,e))a.push(ih(t,rs(e)?e.default||e:e,n?n.default||n:n));else{if(t==null)return a;let o=kc(t,e,i),r=o.length;Ht(Boolean(r),"No valid elements provided.","no-valid-elements");for(let l=0;l<r;l++){let u=o[l],c={...n};if("delay"in c&&typeof c.delay==="function")c.delay=c.delay(l,r);if(u instanceof Element)a.push(...$p(u,e,c,Jl.get(u)));else a.push(...Zl(Yp(u)??Fp,u,e,c))}}return a}function YS(t,e,n){let i=[],a=t.map((r)=>{if(Array.isArray(r)&&typeof r[0]==="function"){let l=r[0],u=ae(0);if(u.on("change",l),r.length===1)return[u,[0,1]];else if(r.length===2)return[u,[0,1],r[1]];else return[u,r[1],r[2]]}return r});return qS(a,e,n,{spring:Qn}).forEach(({keyframes:r,transition:l},u)=>{i.push(...Jc(u,r,l))}),i}function gC(t){return Array.isArray(t)&&t.some(Array.isArray)}function XS(t={}){let{scope:e,reduceMotion:n,skipAnimations:i}=t;function a(o,r,l){let u=[],c,s={};if(n!==void 0)s.reduceMotion=n;if(i!==void 0)s.skipAnimations=i;if(gC(o)){let{onComplete:f,...h}=r||{};if(typeof f==="function")c=f;u=YS(o,{...s,...h},e)}else{let{onComplete:f,...h}=l||{};if(typeof f==="function")c=f;u=Jc(o,r,{...s,...h},e)}let m=new bc(u);if(c)m.finished.then(c);if(e)e.animations.push(m),m.finished.then(()=>{Xn(e.animations,m)});return m}return a}var nn=Object.assign(XS(),{addEffect:qp,removeEffect:Cc});var Th=uh;var Rt=J(vt(),1),Oh=J(xf(),1);var it=J(vt(),1);var Li=(t)=>t<0?0:t>1?1:t;function Pc(t,e){if(t<=0)return 0;let n=2*Math.PI/(1.2*e),i=1-(1+n*t)*Math.exp(-n*t);return i>0.9995?1:i}function KS(t){return 9.23/(2*Math.PI/(1.2*t))}var za=(t)=>Pc(t,0.3),ZS=(t)=>Pc(t,0.45),sr=(t)=>{let e=Li(t);return e*e*(3-2*e)},Eh=(t)=>1-Math.pow(1-Li(t),3),Mh=(t)=>{let e=Li(t);return e<0.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2};function vC(t,e,n,i){let a=(r)=>3*t*r*(1-r)**2+3*n*r*r*(1-r)+r**3,o=(r)=>3*e*r*(1-r)**2+3*i*r*r*(1-r)+r**3;return(r)=>{let l=Li(r),u=0,c=1;for(let s=0;s<40;s++){let m=(u+c)/2;if(a(m)<l)u=m;else c=m}return o((u+c)/2)}}var v7=vC(0.65,0,0.25,1);var A7=KS(xt.springs.react);function Ah(t,e){let n=t.trim();if(n.length<=e)return n;let i=n.slice(0,e-1),a=i.lastIndexOf(" ");return\`\${(a>e*0.6?i.slice(0,a):i).replace(/[\\s,.;:·-]+$/,"")}…\`}function QS(t,e=48){let n=[...new Set(t.flatMap((s)=>s.paths))],i=new Map,a=[],o=n.map((s)=>s.split(" → ")).filter((s)=>s.length===2);if(n.length>1&&o.length===n.length&&new Set(o.map((s)=>s[1])).size===1)a.push(\`\${[...new Set(o.map((s)=>s[0]))].join(", ")} → \${o[0][1]}\`),n.length=0;for(let s of n){let m=s.split(" → ");if(m.length===2){let f=i.get(m[0]);if(f)f.push(m[1]);else{let h=[m[1]];i.set(m[0],h),a.push(\`\\x00\${m[0]}\`)}}else a.push(s)}for(let s=0;s<a.length;s++)if(a[s].startsWith("\\x00")){let m=a[s].slice(1);a[s]=\`\${m} → \${i.get(m).join(", ")}\`}let r=new Set(a.flatMap((s)=>s.split(/ → | · |, /))),l=[...new Set(t.flatMap((s)=>s.reveals))].filter((s)=>!r.has(s)),u=t.flatMap((s)=>s.counters),c=[a.length?a.join(" + "):"",l.length?l.join(", "):"",...u].filter(Boolean);return Ah(c.join(" · ")||"Start",e)}var lt=(t)=>Math.round(t*100)/100;function Ch(t,e){let n=0;for(let i=1;i<t.length;i++){let a=t[i-1],o=t[i],r=Math.hypot(o.x-a.x,o.y-a.y);if(n+r>=e||i===t.length-1){let l=r?Li((e-n)/r):0;return{x:a.x+(o.x-a.x)*l,y:a.y+(o.y-a.y)*l}}n+=r}return t[t.length-1]??{x:0,y:0}}function $S(t,e,n){if(n<=e)return"";let i=[Ch(t,e)],a=0;for(let o=1;o<t.length;o++){let r=Math.hypot(t[o].x-t[o-1].x,t[o].y-t[o-1].y);if(a+=r,a>e&&a<n)i.push(t[o])}return i.push(Ch(t,n)),i.map((o,r)=>\`\${r?"L":"M"}\${lt(o.x)} \${lt(o.y)}\`).join("")}function xC(t=0){return{t,el:{},grow:{},draw:{},pulses:[],glows:[],flash:{},counters:{},captions:[],settled:!0}}function bC(t,e,n="",i=""){let a=t.toLocaleString("en-US",{minimumFractionDigits:e,maximumFractionDigits:e});return\`\${n}\${a}\${i}\`}function wh(t,e,n=!1){let{start:i,start:a}=t;for(let o of t.events){let r=n?e>=o.t?1:0:za(e-o.t);i+=(o.to-a)*r,a=o.to}return i}function Ic(t,e,n,i={}){if(!e)return xC(n);let a=i.reduced===!0,o=(s)=>s>=0?1:0,r=(s)=>a?o(s):za(s),l={t:n,el:{},grow:{},draw:{},pulses:[],glows:[],flash:{},counters:{},captions:[],settled:n>=e.lastEvent};for(let[s,m]of Object.entries(e.appear)){let f=n-m,h=a?o(f):za(f-xt.reveal.opacityDelay),y=a?0:xt.reveal.rise*(1-za(f)),x=lt(h),T=lt(y);if(x<1||T>0)l.el[s]={o:x,dy:T}}let u=new Map(e.pulses.map((s)=>[s.id,s]));for(let[s,m]of Object.entries(e.draw)){let f;if(a)f=o(n-m.t1);else if(m.mode==="flight"&&m.pulse){let h=u.get(m.pulse),y=Mh((n-h.tf0)/(h.tf1-h.tf0)),x=n<h.tf0?0:y*h.length;f=Li((x-(m.s0??0))/Math.max(0.000001,(m.s1??0)-(m.s0??0)))}else f=ZS(n-m.t0);if(lt(f)<1)l.draw[s]=lt(f)}for(let s of t.activations){let m=/-(\\d+)-(\\d+)$/.exec(s.id);if(!m)continue;let f=Number(m[1]),h=Number(m[2]),y=s.y,x=!0;for(let T=f;T<=h;T++){let g=t.edges[T];if(!g)continue;let d=l.draw[g.id];if(d===void 0||d>=0.999)y=Math.max(y,Math.max(...g.points.map((p)=>p.y))+8);else if(x=!1,d>0)y=Math.max(y,g.points[0].y+8*d)}if(!x)l.grow[s.id]=lt(Math.max(0,Math.min(s.h,y-s.y)))}if(!a){for(let s of e.pulses){let m=s.tf1+Math.max(xt.pulse.ring,xt.pulse.cooling);if(n<s.t0||n>m)continue;let f=s.points[0],h=s.points[s.points.length-1],y={id:s.id,x:f.x,y:f.y,r:0,o:0,trail:[]};if(n<s.tf0){let x=Eh((n-s.t0)/xt.pulse.gather);y.r=lt(xt.pulse.dot*x),y.o=lt(Math.pow(x,1.5)),y.halo={r:lt(xt.pulse.halo-(xt.pulse.halo-xt.pulse.dot)*x),o:lt(0.5*Math.sin(Math.PI*x))}}else if(n<s.tf1){let x=Mh((n-s.tf0)/(s.tf1-s.tf0))*s.length,T=Ch(s.points,x);y.x=lt(T.x),y.y=lt(T.y),y.r=xt.pulse.dot,y.o=1;let g=Math.min(72,x);[0.55,0.3,0.12].forEach((p,v)=>{let b=x-g*(v+1)/3,w=x-g*v/3,S=$S(s.points,b,w);if(S)y.trail.push({d:S,o:p,k:v,s0:lt(b),s1:lt(w)})})}else{y.x=h.x,y.y=h.y;let x=(n-s.tf1)/xt.pulse.ring;if(x<1){let g=sr(x/0.24);y.ring={x:h.x,y:h.y,r:lt(2+2*g+9.1*(1-(1-x)**2)),w:lt(4-2.5*g),o:lt((1-0.734*g)*(1-x)**2.52)}}let T=Math.pow(1-Li((n-s.tf1)/xt.pulse.cooling),1.7);if(T>0.01){let g=Math.min(72,s.length);[0.55,0.3,0.12].forEach((d,p)=>{let v=s.length-g*(p+1)/3,b=s.length-g*p/3,w=$S(s.points,v,b);if(w)y.trail.push({d:w,o:lt(d*T),k:p,s0:lt(v),s1:lt(b)})})}}if(y.o>0||y.ring||y.trail.length)l.pulses.push(y)}for(let s of e.glows){let m=n-s.t;if(m<0)continue;let f=za(m)*Math.max(0,1-m/xt.flash.decay);if(f>0.005)l.flash[s.node]=Math.max(l.flash[s.node]??0,lt(f));if(m>s.dur)continue;let h=t.nodes.find((d)=>d.id===s.node)??t.groups.find((d)=>d.id===s.node);if(!h)continue;let y=m/s.dur,x=Math.min(Math.max(h.w,h.h)*1.15,Math.min(h.w,h.h)*2.6),T=sr(y/0.06)*(1-sr((y-0.55)/0.45));if(T<0.005)continue;let g={id:\`\${s.node}@\${s.t}\`,node:s.node,cx:lt(s.cx),cy:lt(s.cy),r:lt(x*(0.12+0.6*Eh(y))),a:lt(xt.glow.alpha*T)};l.glows.push(g)}}for(let[s,m]of Object.entries(e.counters))l.counters[s]=bC(wh(m,n,a),m.decimals,m.prefix,m.suffix);let c=e.captions.findIndex((s)=>n>=s.t0&&n<s.t1);if(c>=0){let s=e.captions[c],m=s.text.split(/\\s+/),f=Math.min(2.8,Math.max(0.12,Math.min(s.t1-s.t0,1.2)-0.08)),h=Math.min(xt.springs.word,f/2),y=m.length>1?(f-1.5*h)/(m.length-1):0,x=s.handoff?1:a?1:1-sr((n-(s.t1-0.3))/0.3),T=c>0?e.captions[c-1]:void 0;if(T&&T.handoff&&T.t1===s.t0){let g=1-(1-xt.dimSuperseded)*(a?1:za(n-s.t0)),d=a?0:1-sr((n-s.t0-0.9)/0.4),p=lt(g*d);if(p>0.01)l.captions.push({i:c-1,text:T.text,o:p,words:T.text.split(/\\s+/).map(()=>1),current:!1})}l.captions.push({i:c,text:s.text,o:lt(x),words:m.map((g,d)=>lt(a?1:Pc(n-s.t0-d*y,h))),current:!0})}return l}var SC=12;function FS(t,e=SC){let n=[],i=[];if(t.steps.forEach((r,l)=>{i.push(l);let u=t.steps[l+1];if(!(u&&u.t0-r.t1<=0.05&&!u.stop&&!u.caption))n.push(i),i=[]}),i.length)n.push(i);let a=(r)=>r.some((l)=>t.steps[l].stop||t.steps[l].caption);while(n.length>e){let r=-1,l=1/0;for(let u=0;u+1<n.length;u++){if(a(n[u+1])&&a(n[u]))continue;let c=t.steps[n[u+1][0]].t0-t.steps[n[u][n[u].length-1]].t1;if(c<l)l=c,r=u}if(r<0)break;n.splice(r,2,[...n[r],...n[r+1]])}let o=n.map((r)=>{let l=r[r.length-1],u=t.steps[l],c=t.steps[l+1],s=u.t1+0.6,m=c?Math.max(u.t1,Math.min(s,c.t0-0.02)):Math.min(s,t.duration),f=r.map((x)=>t.steps[x]).find((x)=>x.stop),h=r.map((x)=>t.steps[x]).find((x)=>x.caption),y=f?.stop??(h?.caption?Ah(h.caption,40):QS(r.map((x)=>t.steps[x].parts??{paths:[],reveals:[],counters:[]})));return{id:u.id,label:y,t:Math.round(m*1000)/1000,steps:[r[0],l]}});return o.push({id:"end",label:"Final frame",t:t.duration,steps:[t.steps.length,t.steps.length]}),o}function kS(t,e,n){let i=e.captions.find((o)=>o.current);if(!i)return;let a=t.captions.find((o)=>o.text===i.text&&e.t>=o.t0&&e.t<o.t1);return a&&a.step>=n.steps[0]&&a.step<=n.steps[1]?i.text:void 0}var JS=(t)=>t>1000?660:t>640?440:340;var PS=(t)=>Math.round(t*100)/100;var A=J(We(),1),ur=(t,e)=>{let n=(t?.o??1)*(e??1);return n<1?{opacity:+n.toFixed(3)}:void 0},IS=(t,e)=>t&&t>0.005?{fill:\`color-mix(in srgb, var(--si-flash) \${Math.round(t*100)}%, var(--si-\${e}))\`}:void 0,X=(t)=>PS(t);function TC({h:t}){let e=Bo.arrowSize,n=Math.cos(t.angle),i=Math.sin(t.angle),a=(o,r)=>\`\${X(t.x-n*o-i*r)},\${X(t.y-i*o+n*r)}\`;if(t.form==="open")return A.jsx("polyline",{className:"si-arrow-open",points:\`\${a(e+1,-e*0.62)} \${X(t.x)},\${X(t.y)} \${a(e+1,e*0.62)}\`});return A.jsx("polygon",{className:"si-arrow",points:\`\${X(t.x)},\${X(t.y)} \${a(e+1,-e*0.55)} \${a(e+1,e*0.55)}\`})}function EC({n:t}){let{w:e,h:n}=t,i=Bo.panelInset,a=Bo.panelRadius;switch(t.shape){case"dot":return A.jsx("circle",{className:"si-dotfill",cx:e/2,cy:n/2,r:e/2});case"bullseye":return A.jsxs(A.Fragment,{children:[A.jsx("circle",{className:"si-ring",cx:e/2,cy:n/2,r:e/2-0.7}),A.jsx("circle",{className:"si-dotfill",cx:e/2,cy:n/2,r:e/2-5})]});case"bar":return A.jsx("rect",{className:"si-dotfill",x:0,y:0,width:e,height:n});case"choice":return A.jsx("polygon",{className:"si-face",points:\`\${e/2},0 \${e},\${n/2} \${e/2},\${n} 0,\${n/2}\`});case"pill":return A.jsx("rect",{className:"si-soft",x:0,y:0,width:e,height:n,rx:n/2});case"diamond":{let o=(r)=>\`\${e/2},\${r} \${e-r*1.7},\${n/2} \${e/2},\${n-r} \${r*1.7},\${n/2}\`;return A.jsxs(A.Fragment,{children:[A.jsx("polygon",{className:"si-face",points:o(0),strokeLinejoin:"round"}),A.jsx("polygon",{className:"si-inset",points:o(i+1),strokeLinejoin:"round"})]})}case"slant":return A.jsxs(A.Fragment,{children:[A.jsx("polygon",{className:"si-face",points:\`10,0 \${e},0 \${e-10},\${n} 0,\${n}\`}),A.jsx("polygon",{className:"si-inset",points:\`\${10+i+1},\${i} \${e-i-1},\${i} \${e-10-i-1},\${n-i} \${i+1},\${n-i}\`})]});case"cylinder":return A.jsxs(A.Fragment,{children:[A.jsx("path",{className:"si-face",d:\`M0 6A\${e/2} 6 0 0 1 \${e} 6V\${n-6}A\${e/2} 6 0 0 1 0 \${n-6}Z\`}),A.jsx("path",{className:"si-inset",d:\`M0 6A\${e/2} 6 0 0 0 \${e} 6\`}),A.jsx("path",{className:"si-inset",d:\`M\${i} 11A\${e/2-i} 6 0 0 0 \${e-i} 11\`}),A.jsx("rect",{className:"si-ink-bar",x:i+1,y:16,width:2,height:n-18-8})]});case"note":return A.jsxs(A.Fragment,{children:[A.jsx("path",{className:"si-note",d:\`M0 0H\${e-10}L\${e} 10V\${n}H0Z\`}),A.jsx("path",{className:"si-note-fold",d:\`M\${e-10} 0V10H\${e}\`})]});case"external":return A.jsx("rect",{className:"si-face si-dash",x:0,y:0,width:e,height:n,rx:a});case"queue":return A.jsxs(A.Fragment,{children:[A.jsx("rect",{className:"si-face",x:0,y:0,width:e,height:n,rx:a}),A.jsx("rect",{className:"si-inset",x:i,y:i,width:e-2*i,height:n-2*i}),[0,1,2].map((o)=>A.jsx("line",{className:"si-glyph",x1:e-22+o*5,y1:n/2-7,x2:e-22+o*5,y2:n/2+7},o)),A.jsx("rect",{className:"si-ink-bar",x:i+1,y:i+1,width:2,height:n-2*i-2})]});default:return A.jsxs(A.Fragment,{children:[A.jsx("rect",{className:"si-face",x:0,y:0,width:e,height:n,rx:a}),A.jsx("rect",{className:"si-inset",x:i,y:i,width:e-2*i,height:n-2*i}),A.jsx("rect",{className:"si-ink-bar",x:i+1,y:i+1,width:2,height:n-2*i-2})]})}}function MC({n:t,copy:e,fr:n,smil:i}){let a=t.text.cx,o=t.shape==="actor"&&t.tag,r=t.tag.length*9.5*0.68,l=n?.el[t.id],u=n?.flash[t.id],c=n?.glows.filter((m)=>m.node===t.id)??[],s=t.counter?n?.counters[t.counter.id]??\`\${t.counter.prefix??""}\${t.counter.value}\${t.counter.suffix??""}\`:void 0;return A.jsxs("g",{className:\`si-node si-a-\${t.accent}\`,"data-si":\`node:\${t.id}\`,"data-copy":e||void 0,"data-box":\`\${t.x},\${t.y},\${t.w},\${t.h}\`,transform:\`translate(\${t.x} \${X(t.y+(l?.dy??0))})\`,style:ur(l),children:[i?.(\`node:\${t.id}\`),A.jsx(EC,{n:t}),i?.(\`glow:\${t.id}\`),c.map((m,f)=>{let h=\`si-glow-\${e}-\${t.id}-\${f}\`.replace(/[^\\w-]/g,"_");return A.jsxs("g",{className:"si-glow",style:{mixBlendMode:"var(--si-glowBlend)"},children:[A.jsx("defs",{children:A.jsxs("radialGradient",{id:h,gradientUnits:"userSpaceOnUse",cx:X(m.cx-t.x),cy:X(m.cy-t.y),r:m.r,children:[A.jsx("stop",{offset:"0",style:{stopColor:"var(--si-glowCrest)",stopOpacity:\`calc(var(--si-glowGain) * \${m.a})\`}}),A.jsx("stop",{offset:"0.45",style:{stopColor:"var(--si-glow)",stopOpacity:\`calc(var(--si-glowGain) * \${+(m.a*0.45).toFixed(3)})\`}}),A.jsx("stop",{offset:"1",style:{stopColor:"var(--si-glow)",stopOpacity:0}})]})}),A.jsx("rect",{x:0,y:0,width:t.w,height:t.h,fill:\`url(#\${h})\`}),A.jsx("rect",{className:"si-glow-rim",x:0.75,y:0.75,width:t.w-1.5,height:t.h-1.5,fill:"none",stroke:\`url(#\${h})\`,strokeWidth:1.5,style:{opacity:0.4}})]},h)}),o?A.jsxs("g",{transform:\`translate(\${X(a-r/2-13)} \${X(t.text.tagY-8)})\`,children:[A.jsx("circle",{className:"si-glyph",cx:4.5,cy:2.5,r:2.3}),A.jsx("path",{className:"si-glyph",d:"M0.5 9.5C0.5 6.8 2.3 5.6 4.5 5.6S8.5 6.8 8.5 9.5"})]}):null,t.tag?A.jsx("text",{className:"si-tag",x:X(o?a+6:a),y:X(t.text.tagY),textAnchor:"middle",children:t.tag}):null,t.label.map((m,f)=>A.jsxs("text",{className:t.shape==="pill"?"si-label si-pill-label":"si-label",x:X(a),y:X(t.text.labelY[f]),textAnchor:"middle",style:IS(u,"ink"),children:[m,i?.(\`flash:\${t.id}\`)]},\`l\${f}\`)),t.detail.map((m,f)=>A.jsx("text",{className:"si-detail",x:X(a),y:X(t.text.detailY[f]),textAnchor:"middle",children:m},\`d\${f}\`)),t.counter&&t.text.counterY!==void 0?A.jsxs("text",{className:"si-counter",x:X(a),y:X(t.text.counterY),textAnchor:"middle",children:[t.counter.label?A.jsx("tspan",{className:"si-counter-label",children:\`\${t.counter.label.toUpperCase()} \`}):null,A.jsx("tspan",{className:"si-counter-value","data-counter":t.counter.id,style:IS(u,"ink"),children:s}),i?.(\`ctext:\${t.counter.id}\`)]}):null,t.counter?i?.(\`cdup:\${t.counter.id}\`):null]})}function AC({g:t,fr:e,smil:n}){let i=t.composite?t.label:t.label.toUpperCase(),a=e?.el[t.id];return A.jsxs("g",{className:"si-grp","data-si":\`group:\${t.id}\`,style:ur(a),transform:a?.dy?\`translate(0 \${X(a.dy)})\`:void 0,children:[n?.(\`group:\${t.id}\`),A.jsx("rect",{className:t.composite?"si-group-composite":"si-group",x:t.x,y:t.y,width:t.w,height:t.h,rx:Bo.groupRadius}),t.composite?A.jsx("line",{className:"si-group-rule",x1:t.x,x2:t.x+t.w,y1:t.y+24,y2:t.y+24}):null,A.jsxs("text",{className:t.composite?"si-group-title":"si-group-label",x:X(t.x+12),y:X(t.y+(t.composite?16:15)),children:[i,t.kind&&!t.composite?A.jsx("tspan",{className:"si-group-label",dx:8,opacity:0.7,children:\`· \${t.kind.toUpperCase()}\`}):null]})]})}function CC({e:t,fr:e,smil:n}){let i=\`si-wire\${t.style==="dashed"?" si-dashed":t.style==="thick"?" si-thick":""}\`,a=e?.draw[t.id],o=a!==void 0,r=(t.length??0)+24,l=o?a<=0?{opacity:0}:t.style==="dashed"?{opacity:+Math.min(1,a*1.4).toFixed(3)}:{strokeDasharray:\`\${X(r)} \${X(r)}\`,strokeDashoffset:X(r*(1-a))}:void 0;return A.jsxs("g",{className:"si-edge","data-si":\`edge:\${t.id}\`,children:[A.jsx("path",{className:i,d:t.d,style:l,children:n?.(\`wire:\${t.id}\`)}),t.heads.map((u,c)=>A.jsxs("g",{style:o?{opacity:a>=0.98?1:0}:void 0,children:[n?.(\`head:\${t.id}\`),A.jsx(TC,{h:u})]},c)),t.seq!==void 0?A.jsxs("g",{style:o?{opacity:a>0?1:0}:void 0,children:[n?.(\`seq:\${t.id}\`),A.jsx("circle",{className:"si-seq",cx:t.points[0].x,cy:t.points[0].y,r:7}),A.jsx("text",{className:"si-seq-text",x:t.points[0].x,y:t.points[0].y+3,textAnchor:"middle",children:t.seq})]}):null]})}function wC({e:t,fr:e,smil:n}){let i=t.label,a=t.seq!==void 0?i.text.replace(/^\\d+\\.\\s*/,""):i.text,o=e?.draw[t.id],r=o===void 0?1:Math.max(0,Math.min(1,(o-0.35)/0.4));return A.jsxs("g",{className:"si-lbl","data-si":\`label:\${i.id}\`,"data-box":\`\${i.x},\${i.y},\${i.w},\${i.h}\`,style:r<1?{opacity:+r.toFixed(3)}:void 0,children:[n?.(\`elabel:\${t.id}\`),A.jsx("rect",{className:\`si-pill si-on-\${i.surface??"bg"}\`,x:i.x,y:i.y,width:i.w,height:i.h}),A.jsx("text",{className:"si-edge-label",x:X(i.x+i.w/2),y:X(i.y+i.h/2+3.8),textAnchor:"middle",children:a})]})}function OC({fr:t,frame:e,smil:n}){return A.jsxs("g",{className:"si-frm","data-si":\`frame:\${t.id}\`,style:ur(e?.el[t.id]),children:[n?.(\`frame:\${t.id}\`),A.jsx("rect",{className:"si-frame",x:t.x,y:t.y,width:t.w,height:t.h,rx:2}),t.sections.map((i,a)=>A.jsx("line",{className:"si-frame-rule",x1:t.x,x2:t.x+t.w,y1:i.y,y2:i.y},a))]})}function NC({fr:t,frame:e,smil:n}){let a=t.kind.toUpperCase(),o=(r,l,u,c)=>{let s=r.length*11*0.6+8;return A.jsxs("g",{children:[A.jsx("rect",{className:"si-bg",x:X(l-4),y:X(u-11),width:X(s),height:15,rx:2}),A.jsx("text",{className:"si-frame-label",x:X(l),y:X(u),children:r})]},c)};return A.jsxs("g",{className:"si-frm-labels","data-si":\`frame-label:\${t.id}\`,style:ur(e?.el[t.id]),children:[n?.(\`frame:\${t.id}\`),A.jsx("path",{className:"si-frame-tag",d:\`M\${t.x} \${t.y}H\${X(t.x+t.tagW)}V\${t.y+18-5}L\${X(t.x+t.tagW-5)} \${t.y+18}H\${t.x}Z\`}),A.jsx("text",{className:"si-frame-kind",x:X(t.x+8),y:t.y+12.5,children:a}),t.label?o(\`[\${t.label}]\`,t.x+t.tagW+8,t.y+13):null,t.sections.map((r,l)=>r.label?o(\`[\${r.label}]\`,t.x+8,r.y+15,l):null)]})}function VC({fr:t}){if(!t.pulses.length)return null;return A.jsx("g",{className:"si-pulses",children:t.pulses.map((e)=>A.jsxs("g",{"data-si":\`pulse:\${e.id}\`,children:[e.trail.map((n,i)=>A.jsx("path",{className:"si-trail",d:n.d,style:{opacity:n.o}},i)),e.halo&&e.halo.o>0.005?A.jsx("circle",{className:"si-halo",cx:e.x,cy:e.y,r:e.halo.r,style:{opacity:e.halo.o}}):null,e.o>0.005&&!e.ring?A.jsx("circle",{className:"si-pulse",cx:e.x,cy:e.y,r:e.r,style:{opacity:e.o}}):null,e.ring?A.jsx("circle",{className:"si-ring-pulse",cx:e.ring.x,cy:e.ring.y,r:e.ring.r,style:{opacity:e.ring.o,strokeWidth:e.ring.w}}):null]},e.id))})}function ls({scene:t,style:e,copy:n="",className:i,frame:a,smil:o}){let r=t.viewBox,l=a&&(Object.keys(a.el).length||Object.keys(a.draw).length||Object.keys(a.grow).length||a.pulses.length||a.glows.length||Object.keys(a.flash).length||Object.keys(a.counters).length)?a:void 0,u=(s)=>{let m=l?.draw[s.edge];if(m===void 0)return;let f=s.end==="out"?m>0?1:0:m>=0.99?1:0;return f<1?{opacity:f}:void 0},c=(s)=>l?.el[s];return A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:\`storyink\${i?\` \${i}\`:""}\`,viewBox:\`\${r.x} \${r.y} \${r.w} \${r.h}\`,width:r.w,height:r.h,role:"img","aria-label":t.title,"data-storyink":t.type,"data-copy":n||void 0,children:[A.jsx("title",{children:t.title}),e?A.jsx("style",{children:e}):null,A.jsx("rect",{className:"si-bg",x:r.x,y:r.y,width:r.w,height:r.h}),A.jsxs("g",{className:"si-bands",children:[t.boxes.map((s)=>A.jsxs("g",{"data-si":\`box:\${s.id}\`,children:[A.jsx("rect",{className:"si-group",x:s.x,y:s.y,width:s.w,height:s.h}),s.label?A.jsx("text",{className:"si-group-label",x:X(s.x+8),y:X(s.y+14),children:s.label.toUpperCase()}):null]},s.id)),t.bands.map((s)=>A.jsxs("g",{"data-si":\`band:\${s.id}\`,children:[A.jsx("rect",{className:"si-band",x:s.x,y:s.y,width:s.w,height:s.h}),s.label?A.jsx("text",{className:"si-group-label",x:X(s.x+8),y:X(s.y+13),children:s.label.toUpperCase()}):null]},s.id))]}),A.jsx("g",{className:"si-groups",children:t.groups.map((s)=>A.jsx(AC,{g:s,fr:l,smil:o},s.id))}),A.jsx("g",{className:"si-frames",children:t.frames.map((s)=>A.jsx(OC,{fr:s,frame:a,smil:o},s.id))}),A.jsx("g",{className:"si-lifelines",children:t.lifelines.map((s)=>A.jsx("line",{className:"si-life","data-si":\`lifeline:\${s.id}\`,x1:s.x,x2:s.x,y1:s.y1,y2:s.y2,style:ur(c(s.participant)),children:o?.(\`life:\${s.participant}\`)},s.id))}),A.jsx("g",{className:"si-activations",children:t.activations.map((s)=>A.jsx("rect",{className:"si-act","data-si":\`activation:\${s.id}\`,x:s.x,y:s.y,width:s.w,height:a?.grow[s.id]??s.h,rx:1,style:ur(c(s.id)),children:o?.(\`act:\${s.id}\`)},s.id))}),A.jsx("g",{className:"si-frame-labels",children:t.frames.map((s)=>A.jsx(NC,{fr:s,frame:a,smil:o},s.id))}),A.jsx("g",{className:"si-edges",children:t.edges.map((s)=>A.jsx(CC,{e:s,fr:l,smil:o},s.id))}),A.jsx("g",{className:"si-nodes",children:t.nodes.map((s)=>A.jsx(MC,{n:s,copy:n,fr:l,smil:o},s.id))}),A.jsx("g",{className:"si-ports",children:t.ports.filter((s)=>!s.covered).map((s)=>A.jsx("circle",{className:"si-port","data-si":\`port:\${s.id}\`,cx:s.x,cy:s.y,r:Bo.portRadius,style:u(s),children:o?.(\`port:\${s.id}\`)},s.id))}),A.jsx("g",{className:"si-labels",children:t.edges.filter((s)=>s.label).map((s)=>A.jsx(wC,{e:s,fr:l,smil:o},s.id))}),l?A.jsx(VC,{fr:l}):null,o?.("overlay")]})}var q=J(We(),1),DC=[0.65,0,0.25,1];function tT(t,e,n){let i=e?.duration??0,a=Da(i),[o,r]=it.useState(i),[l,u]=it.useState("ended"),[c,s]=it.useState(!1),[m,f]=it.useState(0),h=it.useRef(void 0),y=it.useRef(!1),x=it.useRef(!1),T=it.useRef("ended");T.current=l,xh(a,"change",(N)=>r(N));let g=()=>{h.current?.stop(),h.current=void 0},d=it.useCallback(()=>{g(),f(0),u((N)=>N==="gate"?N:"paused")},[]),p=it.useCallback((N)=>{g(),f(0),a.set(Math.max(0,Math.min(i,N))),u(N>=i?"ended":"paused"),s(!1)},[a,i]),v=it.useCallback(()=>{if(!e)return;if(n.reduced){p(a.get()>=i?0:i);return}g(),s(!1);let N=a.get()>=i-0.001?0:a.get();a.set(N),u("playing"),x.current=!0;let U=0,D=performance.now(),H=!1,Z=(V)=>{if(H)return;let P=Math.min(i,a.get()+(V-D)/1000);if(D=V,a.set(P),P>=i){if(h.current=void 0,e.loop)S.current();else u("ended");return}U=requestAnimationFrame(Z)};U=requestAnimationFrame((V)=>{D=V,Z(V)}),h.current={stop:()=>{H=!0,cancelAnimationFrame(U)}}},[e,a,i,n.reduced,p]),b=it.useCallback(()=>{if(!e)return;g(),s(!1);let N=a.get();if(n.reduced||N<=0.01)return v();let{hold:U,duration:D,empty:H}=xt.rewind,Z=U+D+H;u("rewinding"),h.current=nn(a,[N,N,0,0],{duration:Z,times:[0,U/Z,(U+D)/Z,1],ease:["linear",DC,"linear"],onUpdate:()=>{let V=Math.abs(a.getVelocity()),P=N>0?V*D/N:0;f(+(xt.rewind.blur*Math.min(1,P/2.75)).toFixed(2))},onComplete:()=>{f(0),h.current=void 0,w.current()}})},[e,a,n.reduced,v]),w=it.useRef(v);w.current=v;let S=it.useRef(b);S.current=b;let E=it.useCallback(()=>{if(T.current==="playing"||T.current==="rewinding")d();else if(T.current==="ended")b();else v()},[d,v,b]),M=it.useMemo(()=>e?[...e.steps.map((N)=>N.t0),i]:[],[e,i]),O=it.useMemo(()=>e?[0,...e.steps.filter((N)=>N.stop).map((N)=>N.t0),i]:[],[e,i]),L=it.useCallback((N,U=!1)=>{let D=U&&O.length>2?O:M,H=a.get(),Z=N>0?D.find((V)=>V>H+0.02)??i:[...D].reverse().find((V)=>V<H-0.02)??0;p(Z)},[M,O,a,i,p]),yt=it.useCallback(()=>{if(T.current!=="gate")return;a.set(0),v()},[a,v]);it.useEffect(()=>{if(!e||n.still)return;if(n.t!==void 0){p(n.t==="end"?i:Number(n.t)||0);return}if(n.reduced){p(i);return}if(n.autoplay??e.autoplay){a.set(0),u("paused");let N=n.stage.current;if(!N||typeof IntersectionObserver>"u")return v();let U=new IntersectionObserver((D)=>{if(D.some((H)=>H.isIntersecting)&&!x.current)U.disconnect(),w.current()});return U.observe(N),()=>U.disconnect()}a.set(0),u("gate");return},[e,n.still,n.t,n.reduced,n.autoplay]),it.useEffect(()=>{if(!e||n.still)return;let N=n.stage.current,U=()=>{if(T.current==="playing")y.current=!0,g(),u("paused")},D=()=>{if(y.current)y.current=!1,w.current()},H=()=>document.hidden?U():D();document.addEventListener("visibilitychange",H);let Z;if(N&&typeof IntersectionObserver<"u")Z=new IntersectionObserver((P)=>P.some((Cn)=>Cn.isIntersecting)?D():U()),Z.observe(N);let V=()=>p(i);return addEventListener("beforeprint",V),()=>{document.removeEventListener("visibilitychange",H),Z?.disconnect(),removeEventListener("beforeprint",V)}},[e,n.still,n.stage,p,i]),it.useEffect(()=>{if(l!=="ended"||!x.current)return;let N=setTimeout(()=>s(!0),xt.beats.read*1000);return()=>clearTimeout(N)},[l]);let mt=it.useMemo(()=>Ic(t,e,o,{reduced:n.reduced}),[t,e,o,n.reduced]),R=it.useCallback((N)=>Ic(t,e,N,{reduced:n.reduced}),[t,e,n.reduced]);if(!e)return;let _=l==="gate"?xt.gateDim:l==="ended"&&c?xt.endedDim:1;return{t:o,frame:mt,mode:l,dim:_,blur:m,reduced:n.reduced,play:v,pause:d,toggle:E,seek:p,replay:b,step:L,ungate:yt,frameAt:R}}var WS=(t)=>\`\${Math.floor(t/60)}:\${String(Math.floor(t%60)).padStart(2,"0")}.\${Math.floor(t%1*10)}\`;function zC(){return q.jsx("svg",{width:"16",height:"16",viewBox:"3 2 19 20","aria-hidden":"true",children:q.jsx("path",{d:"M6 4 20 12 6 20Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"3",strokeLinejoin:"round"})})}function RC(){return q.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true",children:[q.jsx("rect",{x:"3.5",y:"2.5",width:"3",height:"11",fill:"currentColor"}),q.jsx("rect",{x:"9.5",y:"2.5",width:"3",height:"11",fill:"currentColor"})]})}function _C(){return q.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true",children:[q.jsx("path",{d:"M3.5 5.5A5.2 5.2 0 1 1 2.8 9",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),q.jsx("path",{d:"M3 2.2v3.6h3.6",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]})}function eT({onPlay:t}){return q.jsxs("button",{type:"button",className:"si-gate","aria-label":"Play animation",onClick:(e)=>{e.stopPropagation(),t()},children:[q.jsx("span",{className:"si-gate-disc"}),q.jsx("span",{className:"si-gate-ring"}),q.jsx("span",{className:"si-gate-ring si-gate-ring-2"}),q.jsx("span",{className:"si-gate-play",children:q.jsx("svg",{viewBox:"3 2 19 20","aria-hidden":"true",children:q.jsx("path",{d:"M6 4 20 12 6 20Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"3",strokeLinejoin:"round"})})})]})}function nT({c:t,tl:e}){let n=it.useRef(null),i=(r)=>{let l=n.current;if(!l)return;let u=l.getBoundingClientRect();t.seek((r-u.left)/u.width*e.duration)},a=t.mode==="playing"||t.mode==="rewinding",o=(r)=>\`\${(r/e.duration*100).toFixed(3)}%\`;return q.jsxs("div",{className:\`si-transport\${t.mode==="ended"?" si-ended":""}\`,onPointerDown:(r)=>r.stopPropagation(),onWheel:(r)=>r.stopPropagation(),children:[t.mode!=="ended"?q.jsx("button",{type:"button",className:"si-tbtn","aria-label":a?"Pause":"Play",title:a?"Pause (space)":"Play (space)",onClick:t.toggle,children:a?q.jsx(RC,{}):q.jsx(zC,{})}):null,q.jsx("button",{type:"button",className:"si-tbtn si-replay","aria-label":"Replay",title:"Replay (R)",onClick:t.replay,children:q.jsx(_C,{})}),q.jsxs("div",{className:"si-scrub",ref:n,role:"slider","aria-label":"Scene time","aria-valuemin":0,"aria-valuemax":+e.duration.toFixed(2),"aria-valuenow":+t.t.toFixed(2),tabIndex:0,onPointerDown:(r)=>{r.target.setPointerCapture?.(r.pointerId),i(r.clientX)},onPointerMove:(r)=>{if(r.buttons&1)i(r.clientX)},children:[q.jsx("div",{className:"si-scrub-track"}),q.jsx("div",{className:"si-scrub-fill",style:{width:o(t.t)}}),e.steps.map((r)=>q.jsx("span",{className:\`si-tick\${r.stop?" si-tick-stop":""}\`,style:{left:o(r.t0)},title:r.label,children:r.stop?q.jsx("span",{className:"si-tick-label",children:r.stop}):null},r.id)),q.jsx("div",{className:"si-scrub-head",style:{left:o(t.t)}})]}),q.jsxs("span",{className:"si-time",children:[WS(t.t)," / ",WS(e.duration)]})]})}function iT({frame:t}){return q.jsx("div",{className:"si-captions","aria-live":"polite",children:(t?.captions??[]).map((e,n)=>q.jsx("p",{className:"si-caption",style:e.o<1?{opacity:e.o}:void 0,children:e.text.split(/\\s+/).map((i,a)=>{let o=e.words[a]??1;return q.jsxs("span",{className:"si-word",style:o<1?{opacity:o,transform:\`scale(\${(0.95+0.05*o).toFixed(3)})\`}:void 0,children:[i," "]},a)})},\`\${e.text}-\${n}\`))})}function aT({scene:t,tl:e,cols:n,range:i}){let a=FS(e),[o,r]=i??[0,a.length-1],l=a.slice(o,r+1);return q.jsx("div",{className:\`si-beats\${n&&n>=4?" si-beats-compact":""}\`,style:{gridTemplateColumns:n?\`repeat(\${n}, minmax(0, 1fr))\`:\`repeat(auto-fill, minmax(\${JS(t.viewBox.w)}px, 1fr))\`},children:l.map((u,c)=>{let s=c+o,m=Ic(t,e,u.t),f=kS(e,m,u);return q.jsxs("figure",{className:"si-beat",children:[q.jsxs("figcaption",{className:"si-beat-cap",children:[q.jsx("span",{className:"si-beat-n",children:u.id!=="end"?String(s+1).padStart(2,"0"):"END"})," ",u.label,q.jsxs("span",{className:"si-beat-t",children:[u.t.toFixed(2),"s"]})]}),q.jsx(ls,{scene:t,frame:m,copy:\`beat\${s}\`}),q.jsx("p",{className:"si-beat-caption",children:f??" "})]},u.id)})})}var K=J(We(),1),BC={architecture:"Architecture",workflow:"Workflow",sequence:"Sequence",dataflow:"Data flow",lifecycle:"Lifecycle"};function oT(t){let e=new URLSearchParams(t.replace(/^#/,"")),n=e.get("theme"),i=e.get("sheet"),a=e.get("autoplay"),o=e.get("motion");return{...n==="light"||n==="dark"?{theme:n}:{},chrome:e.get("chrome")!=="0",...e.get("t")?{t:e.get("t")}:{},...i==="beats"?{beats:!0}:i?{sheet:i.split(",").filter((r)=>r==="light"||r==="dark")}:{},...a==="1"||a==="0"?{autoplay:a==="1"}:{},...o==="full"||o==="reduced"?{motion:o}:{},...e.get("static")==="1"?{still:!0}:{},...Number(e.get("cols"))>=1?{cols:Math.min(12,Math.floor(Number(e.get("cols"))))}:{},.../^\\d+-\\d+$/.test(e.get("range")??"")?{range:e.get("range").split("-").map(Number)}:{}}}function Ra({label:t,title:e,onClick:n,children:i}){return K.jsx(Th.button,{type:"button",className:"si-btn","aria-label":t,title:e,onClick:n,whileHover:Ie.hover,whileTap:Ie.press,transition:Ie.spring,children:i??t})}function UC(){return K.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16","aria-hidden":"true",children:[K.jsx("circle",{cx:"8",cy:"8",r:"3",fill:"none",stroke:"currentColor",strokeWidth:"1.3"}),K.jsx("path",{d:"M8 1v2M8 13v2M1 8h2M13 8h2M3 3l1.4 1.4M11.6 11.6 13 13M3 13l1.4-1.4M11.6 4.4 13 3",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round"})]})}function HC(){return K.jsx("svg",{width:"13",height:"13",viewBox:"0 0 16 16","aria-hidden":"true",children:K.jsx("path",{d:"M13 9.5A5.5 5.5 0 0 1 6.5 3a5.5 5.5 0 1 0 6.5 6.5Z",fill:"none",stroke:"currentColor",strokeWidth:"1.3",strokeLinejoin:"round"})})}var rT="storyink-theme";function lT(){return typeof matchMedia==="function"&&matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function sT(t,e){let n=document.documentElement;if(!e){n.dataset.theme=t;return}let i=getComputedStyle(n),a=vl[t],o=Object.keys(a),r={};for(let s of o)r[Oi(s)]=i.getPropertyValue(Oi(s)).trim();for(let s of o)n.style.setProperty(Oi(s),r[Oi(s)]);n.dataset.theme=t;let l={};for(let s of o)l[Oi(s)]=a[s];let u=nn(n,l,Ie.spring),c=()=>{for(let s of o)n.style.removeProperty(Oi(s))};Promise.resolve(u.finished??u).then(c,c)}function uT({scene:t,hooks:e}){let n=Rt.useRef(null),i=Da(0),a=Da(0),o=Da(1),[r,l]=Rt.useState({chrome:!0}),[u,c]=Rt.useState(void 0),[s,m]=Rt.useState(!1),[f,h]=Rt.useState(!1),[y,x]=Rt.useState(void 0),[T,g]=Rt.useState(!1),d=t.viewBox,p=t.timeline,v=r.motion==="reduced"||r.motion!=="full"&&f,b=tT(t,p,{...r.t!==void 0?{t:r.t}:{},...r.autoplay!==void 0?{autoplay:r.autoplay}:{},reduced:v,still:!s||!!r.still||!!r.beats||!!r.sheet?.length,stage:n}),w=Rt.useCallback((R)=>{let _=n.current;if(!_)return;let{clientWidth:N,clientHeight:U}=_,D=32,H=Math.floor(Math.max(0.1,Math.min((N-2*D)/d.w,(U-2*D)/d.h,1.25))*64)/64,Z=Math.round((N-d.w*H)/2),V=Math.round(Math.max(D/2,(U-d.h*H)/2));if(R)nn(o,H,Ie.spring),nn(i,Z,Ie.spring),nn(a,V,Ie.spring);else o.set(H),i.set(Z),a.set(V)},[d.w,d.h,o,i,a]),S=Rt.useCallback((R,_,N,U=!1)=>{let D=n.current;if(!D)return;let H=_??D.clientWidth/2,Z=N??D.clientHeight/2,V=o.get(),P=Math.max(0.1,Math.min(8,V*R)),Cn=H-(H-i.get())*P/V,ji=Z-(Z-a.get())*P/V;if(U)nn(o,P,Ie.spring),nn(i,Cn,Ie.spring),nn(a,ji,Ie.spring);else o.set(P),i.set(Cn),a.set(ji)},[o,i,a]);Rt.useEffect(()=>{let R=oT(location.hash);if(l(R),typeof matchMedia==="function")h(matchMedia("(prefers-reduced-motion: reduce)").matches);m(!0);let _;try{let D=localStorage.getItem(rT);if(D==="light"||D==="dark")_=D}catch{}let N=R.theme??_??document.documentElement.dataset.theme;if(c(N??lT()),N)sT(N,!1);let U=()=>l(oT(location.hash));return addEventListener("hashchange",U),()=>removeEventListener("hashchange",U)},[]),Rt.useEffect(()=>{if(!s)return;if(!r.sheet?.length&&!r.beats)w(!1);e?.onReady(!!r.sheet?.length||!!r.beats)},[r,w,e,s]);let E=Rt.useRef(b);E.current=b,Rt.useEffect(()=>{let R=window;if(!R.__storyink)return;R.__storyink.duration=p?.duration??0,R.__storyink.steps=p?p.steps.map((_)=>({id:_.id,label:_.label,t0:_.t0,t1:_.t1,..._.stop?{stop:_.stop}:{}})):[],R.__storyink.setTime=(_)=>E.current?.seek(_==="end"?p?.duration??0:Number(_)),R.__storyink.play=()=>E.current?.play(),R.__storyink.pause=()=>E.current?.pause(),R.__storyink.replay=()=>E.current?.replay(),R.__storyink.state=()=>({t:E.current?.t??0,mode:E.current?.mode??"static"})},[p]);let M=y??b?.frame;Rt.useEffect(()=>{if(b&&e?.onFrame)e.onFrame(b.frame,b.mode==="playing")},[b?.frame,b?.mode,e]),Rt.useEffect(()=>{let R=()=>w(!1);addEventListener("resize",R);let _;if(typeof ResizeObserver<"u"&&n.current)_=new ResizeObserver(R),_.observe(n.current);return document.fonts?.ready.then(R),()=>{removeEventListener("resize",R),_?.disconnect()}},[w]),Rt.useEffect(()=>{let R=n.current;if(!R)return;let _=(V)=>{V.preventDefault();let P=R.getBoundingClientRect();S(Math.exp(-V.deltaY*(V.ctrlKey?0.01:0.0015)),V.clientX-P.left,V.clientY-P.top)},N,U=(V)=>{if(V.button!==0)return;N={id:V.pointerId,sx:V.clientX,sy:V.clientY,ox:i.get(),oy:a.get()},R.setPointerCapture(V.pointerId),R.classList.add("si-dragging")},D=(V)=>{if(!N||N.id!==V.pointerId)return;i.set(N.ox+V.clientX-N.sx),a.set(N.oy+V.clientY-N.sy)},H=(V)=>{if(!N||N.id!==V.pointerId)return;N=void 0,R.classList.remove("si-dragging")},Z=(V)=>{if(V.target instanceof HTMLInputElement||V.metaKey||V.ctrlKey||V.altKey)return;let P=E.current;if(P&&(V.key===" "||V.code==="Space"))if(V.preventDefault(),P.mode==="gate")P.ungate();else P.toggle();else if(P&&V.key==="ArrowRight")P.step(1,V.shiftKey);else if(P&&V.key==="ArrowLeft")P.step(-1,V.shiftKey);else if(P&&(V.key==="r"||V.key==="R"))P.replay();else if(V.key==="0")w(!0);else if(V.key==="+"||V.key==="=")S(1.25,void 0,void 0,!0);else if(V.key==="-"||V.key==="_")S(0.8,void 0,void 0,!0)};return R.addEventListener("wheel",_,{passive:!1}),R.addEventListener("pointerdown",U),R.addEventListener("pointermove",D),R.addEventListener("pointerup",H),R.addEventListener("pointercancel",H),addEventListener("keydown",Z),()=>{R.removeEventListener("wheel",_),R.removeEventListener("pointerdown",U),R.removeEventListener("pointermove",D),R.removeEventListener("pointerup",H),R.removeEventListener("pointercancel",H),removeEventListener("keydown",Z)}},[w,S,i,a]);let O=()=>{let R=(u??lT())==="dark"?"light":"dark";c(R);try{localStorage.setItem(rT,R)}catch{}sT(R,!0)},L=u??"light",yt=r.sheet?.length?r.sheet:void 0,mt=(R)=>{if(!b||T)return R();Oh.flushSync(()=>x(b.frameAt(p.duration)));try{R()}finally{Oh.flushSync(()=>x(void 0))}};return K.jsx(rh,{features:vh,strict:!0,children:K.jsxs("div",{className:\`si-app\${r.chrome?"":" si-nochrome"}\${r.beats&&p?" si-sheet-mode":""}\`,children:[K.jsxs("header",{className:"si-head",children:[K.jsx("p",{className:"si-kind",children:BC[t.type]}),K.jsx("h1",{className:"si-title",children:t.title}),t.subtitle?K.jsx("p",{className:"si-subtitle",children:t.subtitle}):null,p?K.jsx(iT,{frame:r.beats?void 0:M}):null]}),r.beats&&p?K.jsx(aT,{scene:t,tl:p,...r.cols?{cols:r.cols}:{},...r.range?{range:r.range}:{}}):yt?K.jsx("div",{className:"si-sheet",style:{gridTemplateColumns:\`repeat(\${yt.length}, 1fr)\`},children:yt.map((R)=>K.jsxs("div",{"data-theme":R,children:[K.jsx("p",{className:"si-sheet-cap",children:R}),K.jsx(ls,{scene:t,copy:R,frame:b?.frameAt(p.duration)})]},R))}):K.jsxs("div",{className:\`si-stage\${b?.mode==="gate"?" si-gated":""}\`,ref:n,onClick:()=>b?.mode==="gate"&&b.ungate(),children:[K.jsx(Th.div,{className:"si-canvas",style:{x:i,y:a,scale:o,originX:0,originY:0},children:K.jsxs("div",{className:"si-figure",style:b&&(b.dim<1||b.blur>0)?{opacity:b.dim,...b.blur>0?{filter:\`blur(\${b.blur}px)\`}:{}}:void 0,children:[K.jsx(ls,{scene:t,frame:M}),K.jsx("div",{className:"si-counters"})]})}),b?.mode==="gate"?K.jsx(eT,{onPlay:b.ungate}):null,b&&p?K.jsx(nT,{c:b,tl:p}):null,K.jsxs("div",{className:"si-tools",onPointerDown:(R)=>R.stopPropagation(),children:[K.jsx(Ra,{label:"−",title:"Zoom out (-)",onClick:()=>S(0.8,void 0,void 0,!0)}),K.jsx(Ra,{label:"+",title:"Zoom in (+)",onClick:()=>S(1.25,void 0,void 0,!0)}),K.jsx(Ra,{label:"Fit",title:"Fit to view (0)",onClick:()=>w(!0)}),K.jsx("span",{className:"si-sep"}),K.jsx(Ra,{label:"Toggle theme",title:"Toggle light/dark",onClick:O,children:L==="dark"?K.jsx(UC,{}):K.jsx(HC,{})}),K.jsx("span",{className:"si-sep"}),p?K.jsx(Ra,{label:T?"Frame: now":"Frame: end",title:"Export the final frame or the frame on screen",onClick:()=>g((R)=>!R)}):null,K.jsx(Ra,{label:"SVG",title:"Export SVG",onClick:()=>mt(()=>e?.exportSvg(L))}),K.jsx(Ra,{label:"PNG",title:"Export PNG (2×)",onClick:()=>mt(()=>e?.exportPng(L))})]})]})]})})}function Nh(t,e,n=0){let i=Math.min(t.x+t.w,e.x+e.w)-Math.max(t.x,e.x)-n,a=Math.min(t.y+t.h,e.y+e.h)-Math.max(t.y,e.y)-n;return i>0&&a>0?i*a:0}var cT=(t)=>{if(!t)return;let[e,n,i,a]=t.split(",").map(Number);return{x:e,y:n,w:i,h:a}};function fT(t,e,n){let i=t.querySelector(n?".si-sheet svg.storyink":".si-stage svg.storyink")??t.querySelector("svg.storyink"),a=[],o=0;if(!i)return{ok:!1,issues:[{kind:"text-overflow",ids:[],detail:"no diagram found"}],checked:{nodes:0,labels:0,texts:0}};let r=[...i.querySelectorAll("g.si-node")],l=[];for(let s of r){let m=s.dataset.si.slice(5),f=cT(s.getAttribute("data-box"));l.push({id:m,box:f});let h=e.nodes.find((y)=>y.id===m);for(let y of s.querySelectorAll("text")){o++;let x=y.getBBox();if(!x.width)continue;let T=2,g=f.w-2;if(h?.shape==="diamond"){let d=x.y+x.height/2,p=1-Math.abs(d-f.h/2)/(f.h/2),v=f.w/2*p;T=f.w/2-v+4,g=f.w/2+v-4}if(x.x<T-1||x.x+x.width>g+1||x.y<-1||x.y+x.height>f.h+1)a.push({kind:"text-overflow",ids:[m],detail:\`"\${y.textContent}" (\${x.width.toFixed(1)}px) exceeds its box\`})}}let u=[...i.querySelectorAll("g.si-lbl")],c=[];for(let s of u){let m=s.dataset.si.slice(6),f=cT(s.getAttribute("data-box"));c.push({id:m,box:f});let h=s.querySelector("text");if(h){o++;let y=h.getBBox();if(y.x<f.x-1||y.x+y.width>f.x+f.w+1)a.push({kind:"label-overflow",ids:[m],detail:\`label "\${h.textContent}" overflows its pill\`})}}for(let s of c)for(let m of l)if(Nh(s.box,m.box,1)>0)a.push({kind:"label-node",ids:[s.id,m.id],detail:"edge label overlaps a node"});for(let s=0;s<c.length;s++)for(let m=s+1;m<c.length;m++)if(Nh(c[s].box,c[m].box,1)>0)a.push({kind:"label-label",ids:[c[s].id,c[m].id],detail:"edge labels overlap"});for(let s=0;s<l.length;s++)for(let m=s+1;m<l.length;m++)if(Nh(l[s].box,l[m].box)>0)a.push({kind:"node-node",ids:[l[s].id,l[m].id],detail:"nodes overlap"});return{ok:a.length===0,issues:a,checked:{nodes:l.length,labels:c.length,texts:o}}}var LC=["0","1","2","3","4","5","6","7","8","9"],ss=new Map,GC=/[\\u0590-\\u08ff\\u200e\\u200f\\u202a-\\u202e\\u2066-\\u2069\\ufb1d-\\ufeff]/u;function jC(t={}){let e=Intl.getCanonicalLocales(t.locales),n=Object.fromEntries(Object.entries(t.format??{}).sort(([o],[r])=>o.localeCompare(r))),i=JSON.stringify([e,n]),a=ss.get(i);if(!a){a=new Intl.NumberFormat(e,n);let o=ss.keys().next().value;if(ss.size>=64&&o!==void 0)ss.delete(o);ss.set(i,a)}return a}function qC(t,e={}){let n=jC(e),i=n.formatToParts(t),a=i.map((y)=>y.value).join(""),o=n.resolvedOptions(),r=o.numberingSystem==="latn"&&o.notation==="standard"&&!GC.test(a)&&!i.some((y)=>y.type==="nan"||y.type==="infinity"),l=JSON.stringify(o);if(!r)return{text:a,tokens:[],rollable:r,signature:l,magnitude:""};let u=i.filter((y)=>y.type==="integer").reduce((y,x)=>y+x.value.length,0),c=-1,s=new Map,m=[],f="",h="";for(let y of i)if(y.type==="integer"||y.type==="fraction"){if(y.type==="integer")f+=y.value;else h+=y.value;for(let x of y.value){let T=\`digit:\${y.type==="integer"?--u:c--}\`;m.push({key:T,identity:T,text:x,wheel:LC,index:Number(x)})}}else if(y.type==="group"){let x=\`group:\${u}\`;m.push({key:\`\${x}:\${y.value}\`,identity:x,text:y.value})}else{let x=s.get(y.type)??0;s.set(y.type,x+1);let T=y.type==="plusSign"||y.type==="minusSign"?"sign":y.type;m.push({key:\`\${y.type}:\${x}:\${y.value}\`,identity:\`\${T}:\${x}\`,text:y.value})}return{text:a,tokens:m,rollable:r,signature:l,magnitude:\`\${f.replace(/^0+(?=\\d)/u,"")}.\${h}\`}}function YC(t,e){let[n="",i=""]=t.magnitude.split("."),[a="",o=""]=e.magnitude.split(".");if(n.length!==a.length)return a.length>n.length?1:-1;if(n!==a)return a>n?1:-1;let r=Math.max(i.length,o.length),l=i.padEnd(r,"0"),u=o.padEnd(r,"0");return u===l?0:u>l?1:-1}function XC(t,e,n=0.14){return{target:0,duration:e,points:Array.from({length:49},(i,a)=>{if(a===48)return 0;let o=Math.max(0,Math.min(1,(a/48-n)/(1-n)));return t*(1+10*o)*Math.exp(-10*o)})}}function Wc(t,e){if(e<=0||t.duration<=0)return t;let n=t.duration+e,i=Math.round((t.points.length-1)*n/t.duration)+1,a=t.points[0]??t.target;return{target:t.target,duration:n,points:Array.from({length:i},(o,r)=>{if(r===i-1)return t.target;let l=r/(i-1)*n-e;return l<=0?a:gT(t,l).position})}}function Gi(t,e,n,i){if(i<=0)return{points:[e,e],duration:0,target:e};let a=i/1000,o=t-e,r=Math.max(Math.abs(o),1)*12/a,l=Math.max(-r,Math.min(r,n))*a;return{points:Array.from({length:49},(u,c)=>{if(c===48)return e;let s=c/48;return e+(o+(l+10*o)*s)*Math.exp(-10*s)}),duration:i,target:e}}function KC(t,e=0,n=24){if(t.duration<=0)return{points:[0,0],duration:0,target:0};let i=t.duration/(t.points.length-1)/1000;return{duration:t.duration,target:0,points:t.points.map((a,o,r)=>{if(o===0)return Math.max(0,Math.min(1,e));if(o===r.length-1)return 0;let l=Math.abs((r[o+1]-r[o-1])/(2*i)),u=n/6;return Math.max(0,Math.min(1,(l-u)/(n-u)))})}}function gT(t,e){if(e>=t.duration||t.duration===0)return{position:t.target,velocity:0};let n=Math.max(0,e)/t.duration*(t.points.length-1),i=Math.min(Math.floor(n),t.points.length-2),a=t.points[i]??t.target,o=t.points[i+1]??t.target;return{position:a+(o-a)*(n-i),velocity:(o-a)*(t.points.length-1)*1000/t.duration}}function mT(t,e,n,i=10){let a=Math.floor(t/i)*i+e;if(n>0&&a<t-0.001)a+=i;else if(n<0&&a>t+0.001)a-=i;else if(n===0)a+=Math.round((t-a)/i)*i;return a}var ef=(t,e)=>t[(e%t.length+t.length)%t.length];function ZC(t,e,n){let i=Math.floor(e),a=e-i,o=[ef(t,i)];if(a>0.00001)o.push(ef(t,i+1));if(o.at(-1)!==n)o.push(n);return{wheel:o,from:a,target:o.length-1}}function QC(t,e="outward"){if(e!=="outward"){let a=t.map((r,l)=>r?-1:l).filter((r)=>r>=0);if(e==="end")a.reverse();let o=t.map((r)=>r?0:1);if(e!=="none")a.forEach((r,l)=>{o[r]=l+1});return o}let n=t.map((a,o)=>a?0:o+1);if(!t.includes(!0))return n;let i=-1/0;for(let a=0;a<t.length;a++)if(t[a])i=a;else n[a]=a-i;i=1/0;for(let a=t.length-1;a>=0;a--)if(t[a])i=a;else n[a]=Math.min(n[a],i-a);return n}function dT(t,e){let n=new Map,i=[],a=0;for(let o of t){let r=e.get(o);if(!r){i.push(o);continue}for(let l of i)n.set(l,r.x);i.length=0,a=r.x+r.width}for(let o of i)n.set(o,a);return n}var Vh=new WeakMap;class Hh{view;media;members=new Set;pending=new Set;sizes=new WeakMap;intersections=new WeakMap;resize;intersection;frame=0;static for(t){let e=Vh.get(t);if(!e)e=new Hh(t),Vh.set(t,e);return e}constructor(t){if(this.view=t,this.media=t.matchMedia("(prefers-reduced-motion: reduce)"),this.media.addEventListener("change",this.refresh),t.document.addEventListener("visibilitychange",this.refresh),t.document.fonts?.addEventListener("loadingdone",this.refresh),t.document.fonts?.ready.then(this.refresh),t.ResizeObserver)this.resize=new t.ResizeObserver((e)=>{for(let n of e){let i=this.sizes.get(n.target);if(i?.sizeChanged(n.target,n.contentRect.width,n.contentRect.height))i.refresh()}});if(t.IntersectionObserver)this.intersection=new t.IntersectionObserver((e)=>{for(let n of e)this.intersections.get(n.target)?.visibility(n.isIntersecting)},{rootMargin:"64px"})}refresh=()=>{for(let t of this.members)t.refresh()};add(t,e){this.members.add(t),this.intersections.set(e,t),this.intersection?.observe(e)}watch(t,e){this.sizes.set(t,e),this.resize?.observe(t)}unwatch(t){this.resize?.unobserve(t),this.sizes.delete(t)}enqueue(t){if(this.pending.add(t),!this.frame)this.frame=this.view.requestAnimationFrame(()=>{this.frame=0;let e=[...this.pending];this.pending.clear();let n=e.map((a)=>a.stage());for(let a of n)a?.();let i=e.map((a)=>a.measure());for(let a of i)a?.()})}remove(t,e){if(this.pending.delete(t),this.members.delete(t),this.intersection?.unobserve(e),this.intersections.delete(e),this.members.size)return;this.view.cancelAnimationFrame(this.frame),this.resize?.disconnect(),this.intersection?.disconnect(),this.media.removeEventListener("change",this.refresh),this.view.document.removeEventListener("visibilitychange",this.refresh),this.view.document.fonts?.removeEventListener("loadingdone",this.refresh),Vh.delete(this.view)}}var pT=new WeakMap;function cr(t,e,n){let i=t.animate(e,n),a=t.ownerDocument.timeline?.currentTime;if(typeof a==="number"&&i.playState==="running")i.startTime=a;return i}function hT(t){let e=t.ownerDocument.defaultView;if(!e)return!1;let n=pT.get(e);if(n===void 0)n=e.CSS?.supports("animation-timing-function","linear(0, 1)")??!1,pT.set(e,n);return n}class _a{element;property;animation;motion;value=0;constructor(t,e){this.element=t,this.property=e}read(){let t=this.animation?.currentTime;return this.animation&&this.motion?gT(this.motion,typeof t==="number"?t:0):{position:this.value,velocity:0}}set(t,e){this.cancel(),this.value=t,this.element.style.setProperty(this.property,e(t))}play(t,e,n){if(this.cancel(),this.value=t.target,this.element.style.setProperty(this.property,e(t.target)),!t.duration||t.points.every((s)=>s===t.target)){n?.();return}let i=t.points[0]??t.target,a=t.target-i,o=this.property==="opacity"&&hT(this.element),r=this.property==="transform"&&Math.abs(a)>0.00001&&hT(this.element),l=o?[{opacity:0},{opacity:1}]:r?[{[this.property]:e(i)},{[this.property]:e(t.target)}]:t.points.map((s)=>({[this.property]:e(s)})),u=o?\`linear(\${t.points.map(e).join(",")})\`:r?\`linear(\${t.points.map((s)=>Number(((s-i)/a).toFixed(6))).join(",")})\`:"linear",c=cr(this.element,l,{duration:t.duration,easing:u});this.animation=c,this.motion=t,c.onfinish=()=>{if(this.animation!==c)return;this.animation=void 0,this.motion=void 0,c.onfinish=null,c.cancel(),n?.()}}cancel(){if(this.animation)this.animation.onfinish=null,this.animation.cancel(),this.animation=void 0;this.motion=void 0}}var Dh="http://www.w3.org/2000/svg",$C=0;class tf{host;layers=new Map;filter;intensity=1;constructor(t){this.host=t}filterUrl(t){if(!this.filter){let n=this.host.ownerDocument,i=n.createElementNS(Dh,"svg");i.classList.add("rn-blur-defs"),i.setAttribute("aria-hidden","true"),i.setAttribute("focusable","false");let a=n.createElementNS(Dh,"filter"),o;do o=\`rn-vertical-blur-\${++$C}\`;while(n.getElementById(o));a.id=o,a.setAttribute("x","-15%"),a.setAttribute("width","130%"),a.setAttribute("color-interpolation-filters","sRGB");let r=n.createElementNS(Dh,"feGaussianBlur");a.append(r),i.append(a),this.host.append(i),this.filter={svg:i,blur:r,id:o,height:0}}let e=t*0.035*this.intensity;if(this.filter.height!==e)this.filter.blur.setAttribute("stdDeviation",\`0 \${e}\`),this.filter.height=e;return\`url("#\${this.filter.id}")\`}apply(t,e,n,i,a="roll"){let o=KC(e,i,a==="entry"?6:24);if(o.points.every((s)=>s===0))return!1;let r=this.host.ownerDocument.createElement("span");r.className="rn-sharp",r.append(...t.childNodes);let l=r.cloneNode(!0);l.className="rn-smear",l.style.filter=this.filterUrl(n),t.append(r,l);let u=new _a(r,"opacity"),c=new _a(l,"opacity");return this.layers.set(t,{sharp:r,sharpOpacity:u,smearOpacity:c}),u.play(o,(s)=>String(1-s)),c.play(o,String),!0}remove(t){let e=this.layers.get(t);if(!e)return 0;let n=e.smearOpacity.read().position;return e.sharpOpacity.cancel(),e.smearOpacity.cancel(),t.replaceChildren(...e.sharp.childNodes),this.layers.delete(t),n}destroy(){for(let t of this.layers.keys())this.remove(t);this.filter?.svg.remove(),this.filter=void 0}}function FC(t){return Math.max(45,Math.min(110,t/7))}function kC(t,e,n){let i=Math.abs(e-t);return{points:[t,e],target:e,duration:i*n}}function JC(t){let e=Array.from({length:t+1},(a,o)=>({"--rn-flap-step":String(o),offset:o/t,easing:"steps(1, end)"})),n=[],i=[];for(let a=0;a<t;a++){let o=a/t,r=(a+0.5)/t,l=(a+1)/t;n.push({transform:"perspective(5em) rotateX(0deg)",filter:"brightness(1)",offset:o,easing:"cubic-bezier(.6, 0, 1, .5)"},{transform:"perspective(5em) rotateX(-90deg)",filter:"brightness(.45)",offset:r},{transform:"perspective(5em) rotateX(-90deg)",filter:"brightness(.45)",offset:l}),i.push({transform:"perspective(5em) rotateX(90deg)",filter:"brightness(.45)",offset:o},{transform:"perspective(5em) rotateX(90deg)",filter:"brightness(.45)",offset:r,easing:"linear(0, 0.58, 0.9, 1, 1.045 78%, 1)"},{transform:"perspective(5em) rotateX(0deg)",filter:"brightness(1)",offset:l})}return{index:e,falls:n,lands:i}}function PC(t){for(let e of t.querySelectorAll(".rn-flap-smear")){for(let n of e.getAnimations())n.cancel();e.remove()}for(let e of t.querySelectorAll(".rn-flap-sharp")){for(let n of e.getAnimations())n.cancel();e.classList.remove("rn-flap-sharp")}}function IC(t,e,n,i,a,o,r,l){let u=t.ownerDocument,c=Math.abs(i-n),s=i>=n?1:-1;if(!c){t.replaceChildren();return}let m=JC(c),f=Array.from({length:c+1},(b,w)=>ef(e,n+w*s)),h=[...f.slice(1),f.at(-1)],y=f.some((b)=>/[\\r\\n\\f\\u2028\\u2029]/u.test(b)),x=u.createElement("span");x.style.cssText=\`display:block;position:relative;height:\${a}px\`,cr(x,m.index,{delay:r,duration:c*o,fill:"both"});let T=(b,w)=>{let S=u.createElement("span");S.className=\`rn-face rn-flap rn-flap-\${b}\`,S.style.height=\`\${a}px\`,S.style.overflow="hidden";let E=u.createElement("span");E.style.cssText=\`display:block;white-space:pre;line-height:\${a}px\`;let M=w?h:f;if(y)for(let O of M){let L=u.createElement("span");L.style.cssText=\`display:block;height:\${a}px\`,L.textContent=O,E.append(L)}else E.textContent=M.join(\`
|
|
5524
|
-
\`);return S.append(E),E.style.transform=\`translateY(calc(var(--rn-flap-step) * \${-a}px))\`,S},g=T("bottom",!1),d=T("top",!0),p=T("top",!1),v=T("bottom",!0);if(l){let b=(w,S)=>{let E=w.firstElementChild,M=E.cloneNode(!0);E.classList.add("rn-flap-sharp");let O=u.createElement("span");O.className="rn-flap-smear",O.style.cssText="display:block;position:absolute;inset:0;overflow:hidden",O.style.filter=l,O.append(M),w.append(O);let L=S.map((mt)=>({offset:mt.offset,easing:mt.easing??"linear",opacity:mt.filter==="brightness(1)"?0:1})),yt={delay:r,duration:c*o,fill:"both"};cr(O,L,yt),cr(E,L.map((mt)=>({...mt,opacity:1-mt.opacity})),yt)};b(p,m.falls),b(v,m.lands)}p.style.transform="perspective(5em) rotateX(-90deg)",cr(p,m.falls,{delay:r,duration:c*o,fill:"backwards"}),v.style.transform="perspective(5em) rotateX(90deg)",cr(v,m.lands,{delay:r,duration:c*o,fill:"forwards"}),t.style.height=\`\${a}px\`,x.append(g,d,v,p),t.replaceChildren(x)}var WC=new WeakMap,Uh=new WeakSet,zh=(t)=>\`translateX(\${t}px)\`,Rh=(t)=>\`scale(\${t})\`,_h=(t)=>String(Math.max(0,Math.min(1,t))),Bh=(t)=>("transition"in t)&&t.transition==="direct";function tw(t){if(t.duration!==void 0&&(!Number.isFinite(t.duration)||t.duration<0||t.duration>1e4))throw RangeError("duration must be between 0 and 10000 milliseconds");if(t.flipDuration!==void 0&&(!Number.isFinite(t.flipDuration)||t.flipDuration<1||t.flipDuration>1e4))throw RangeError("flipDuration must be between 1 and 10000 milliseconds")}var ew={validate(t){if(typeof t.value!=="number"&&typeof t.value!=="bigint")throw TypeError("value must be a number or bigint");tw(t)},model:(t)=>qC(t.value,t),direction:YC};class yT{host;source;options;target;displayed;semantic;measurement;visual;measures=new Map;columns=new Map;sizes=new Map;scheduler;enhanced=!1;destroyed=!1;visible=!0;reset=!0;measurementPending=!1;hadClass;previousLeft;blur;blurIntensity=1;constructor(t,e,n){this.host=t,this.source=n,n.validate(e),this.options={...e},this.target=this.displayed=n.model(e);let i=t.ownerDocument,a=(r)=>{let l=i.createElement("span");return l.className=r,l};this.semantic=a("rn-value"),this.measurement=a("rn-measure"),this.visual=a("rn-visual"),this.measurement.setAttribute("aria-hidden","true"),this.visual.setAttribute("aria-hidden","true"),this.semantic.textContent=this.target.text,this.hadClass=t.classList.contains("rn-root"),t.classList.add("rn-root"),t.replaceChildren(this.semantic,this.measurement,this.visual);let o=i.defaultView;if(o&&typeof o.matchMedia==="function"&&typeof o.requestAnimationFrame==="function"&&typeof t.animate==="function")this.scheduler=Hh.for(o),this.scheduler.add(this,t),this.scheduler.watch(this.measurement,this);this.prepare()}canAnimate(){return!!this.scheduler&&this.options.animated!==!1&&(this.options.duration??500)>0&&!this.scheduler.media.matches&&!this.host.ownerDocument.hidden&&(this.visible||this.options.pauseOffscreen===!1)&&this.target.rollable&&this.host.isConnected}update(t){if(this.destroyed)return;let e={...this.options,...t};this.source.validate(e);let n=this.source.model(e),i=n.text===this.target.text&&n.signature===this.target.signature;if(this.options.motionBlur&&!e.motionBlur)this.blur?.destroy(),this.blur=void 0,PC(this.visual);if(Bh(this.options)!==Bh(e))this.reset=!0;if(this.options=e,this.target=n,!this.canAnimate()){this.finish();return}if(i&&this.enhanced&&!this.reset)return;this.semantic.textContent=n.text,this.prepare()}prepare(){if(!this.canAnimate()){this.finish();return}this.measurementPending=!0,this.scheduler?.enqueue(this)}stage(){if(this.destroyed)return;if(!this.canAnimate())return()=>this.finish();return this.previousLeft=this.enhanced&&!this.reset?this.measurement.getBoundingClientRect().left:void 0,()=>this.stageMeasurement()}stageMeasurement(){let t=new Set(this.target.tokens.map((n)=>n.key));for(let[n,i]of this.measures){if(t.has(n))continue;this.scheduler?.unwatch(i),this.sizes.delete(i),i.remove(),this.measures.delete(n)}let e=null;for(let n of this.target.tokens){let i=this.measures.get(n.key);if(!i)i=this.host.ownerDocument.createElement("span"),i.className="rn-token",this.measures.set(n.key,i),this.scheduler?.watch(i,this);if(i.textContent!==n.text)i.textContent=n.text;let a=e?e.nextSibling:this.measurement.firstChild;if(i!==a)this.measurement.insertBefore(i,a);e=i}this.host.dataset.rnMeasuring=""}measure(){if(this.destroyed)return;if(!this.canAnimate())return()=>this.finish();let t=this.measurement.getBoundingClientRect(),e=this.host.ownerDocument.defaultView;if(!e)return()=>this.finish();let n=e.getComputedStyle(this.measurement);if(n.direction==="rtl")return()=>this.finish();let i=parseFloat(n.width),a=parseFloat(n.height);if(!i||!a||!t.width||!t.height)return()=>this.finish();let o=t.width/i,r=t.height/a,l=parseFloat(n.getPropertyValue("--rn-blur"));this.blurIntensity=Number.isFinite(l)?Math.max(0,l):1,this.sizes.set(this.measurement,{width:i,height:a});let u=new Map;for(let[s,m]of this.measures){let f=m.getBoundingClientRect(),h={width:f.width/o,height:f.height/r};this.sizes.set(m,h),u.set(s,{...h,x:(f.left-t.left)/o,y:(f.top-t.top)/r})}let c=this.previousLeft===void 0?0:(this.previousLeft-t.left)/o;return()=>this.commit(u,c)}makeColumn(t){let e=this.host.ownerDocument.createElement("span");if(e.className="rn-slot",e.dataset.rnKey=t.key,t.index!==void 0)e.dataset.rnWheel="";if(this.options.mode==="flap")e.dataset.rnFlap="";let n=this.host.ownerDocument.createElement("span");return n.className="rn-reel",e.append(n),this.visual.append(e),{token:t,element:e,reel:n,x:new _a(e,"transform"),opacity:new _a(e,"opacity"),roll:new _a(n,"transform"),exiting:!1,height:0,width:0}}face(t,e){let n=this.host.ownerDocument.createElement("span");n.className="rn-face",n.textContent=e,n.style.height=\`\${t.height}px\`;let i=t.reel.children.length;n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",n.style.transform=\`translateY(\${i*t.height}px)\`,t.reel.style.height=\`\${(i+1)*t.height}px\`,t.reel.append(n)}rest(t){if(this.blur?.remove(t.reel),t.reel.replaceChildren(),t.reel.style.removeProperty("height"),this.face(t,t.token.text),this.wrapInk(t),t.token.index===void 0)t.roll.set(1,Rh);else t.roll.set(t.token.index,()=>"translateY(0px)")}wrapInk(t){if(this.options.mode==="flap")return;let e=this.host.ownerDocument.createElement("span");e.className="rn-ink",e.append(...t.reel.childNodes),t.reel.append(e)}finishEntry(t){if(!t.entry)return;if(t.entry.blurred)this.blur?.remove(t.reel);t.entry.track.cancel(),t.entry.element.replaceWith(t.reel),t.entry=void 0}enter(t,e,n,i){let a=this.host.ownerDocument.createElement("span");a.className="rn-enter",t.reel.replaceWith(a),a.append(t.reel);let o=new _a(a,"transform");t.entry={element:a,track:o,blurred:!1};let r=Wc(XC(t.height*(i?.entryDistance??1),i?.entryDuration??e,i?.entryHold),n);if(this.options.motionBlur&&t.token.text.trim()){this.blur??=new tf(this.host),this.blur.intensity=this.blurIntensity;let l={...r,points:r.points.map((u)=>u/t.height)};t.entry.blurred=this.blur.apply(t.reel,l,t.height,0,"entry")}o.play(r,(l)=>\`translateY(\${l}px)\`,()=>this.finishEntry(t))}commit(t,e){if(this.destroyed)return;this.measurementPending=!1;let n=this.enhanced&&!this.reset,i=n?this.options.duration??500:0,a=WC.get(this.host),o=i?a?.widthDuration??i:0,r=this.options.mode==="flap",l=this.options.direction==="up"?1:this.options.direction==="down"?-1:this.source.direction(this.displayed,this.target);if(this.target.text!==this.displayed.text)this.host.dataset.rnTrend=l>0?"up":l<0?"down":"none";let u=new Map([...this.columns].map(([p,v])=>{let b=v.x.read();return[p,{...b,x:b.position,width:v.width}]})),c=dT(this.target.tokens.map((p)=>p.key),u),s=[...u.keys()].sort((p,v)=>u.get(p).x-u.get(v).x),m=dT(s,t),f=new Map(this.displayed.tokens.filter((p)=>p.index===void 0).map((p)=>[p.identity,p.key])),h=new Map(this.target.tokens.filter((p)=>p.index===void 0).map((p)=>[p.identity,p.key])),y=this.options.stagger==="start"||this.options.stagger==="end",x=this.target.tokens.map((p)=>{let v=this.columns.get(p.key);return!v||v.exiting||y&&p.index!==void 0&&v.token.text!==p.text}),T=QC(this.target.tokens.map((p,v)=>p.index!==void 0&&!x[v]),this.options.stagger),g=Math.max(0,...this.target.tokens.map((p,v)=>x[v]?T[v]-1:0)),d=Math.min(i*0.045,i*0.3/Math.max(1,g));for(let[p,v]of this.target.tokens.entries()){let b=t.get(v.key);if(!b)continue;let w=Math.max(0,T[p]-1)*d,S=f.get(v.identity),E=S!==void 0&&S!==v.key?u.get(S):void 0,M=this.columns.get(v.key),O=!M;if(!M){M=this.makeColumn(v),this.columns.set(v.key,M);let _=(E?.x??c.get(v.key)??b.x)+e;M.x.set(n?_+(b.x-_)*(E?0:a?.entryOrigin??0):b.x,zh),M.opacity.set(n?0:1,_h)}let L=M.token.text!==v.text,yt=Math.abs(M.height-b.height)>0.1,mt=M.exiting;M.exiting=!1,M.element.style.width=\`\${b.width}px\`,M.element.style.height=\`\${b.height}px\`,M.element.style.top=\`\${b.y}px\`;let R=u.get(v.key);if(M.x.play(Gi(R?R.position+e:M.x.read().position,b.x,R?.velocity??0,o),zh),O||mt||!n){let _=M.opacity.read(),N=Gi(_.position,1,_.velocity,v.index===void 0?Math.min(i,180):i?a?.fadeDuration??i:0),U=!r&&v.identity.startsWith("group:")&&!E?(a?.entryDuration??i)*(a?.entryHold??0.14):0;M.opacity.play(O?Wc(N,w+U):N,_h)}if(M.height=b.height,M.width=b.width,!n||yt)this.finishEntry(M);if(O&&r&&v.wheel&&i)M.roll.set(Math.max(0,v.wheel.indexOf(" ")),()=>"translateY(0px)");if(r&&!yt&&(L||O)&&v.index!==void 0&&v.wheel&&i&&M.roll.read().position!==v.index){let _=M.roll.read(),N=Math.round(_.position),U=mT(N,v.index,l,v.wheel.length),D=this.options.flipDuration??FC(i);this.blur?.remove(M.reel);let H;if(this.options.motionBlur&&this.blurIntensity>0)this.blur??=new tf(this.host),this.blur.intensity=this.blurIntensity,H=this.blur.filterUrl(b.height);IC(M.reel,v.wheel,N,U,b.height,D,w,H),M.token=v;let Z=M;M.roll.play(Wc(kC(N,U,D),w),()=>"translateY(0px)",()=>this.rest(Z))}else if(!O&&!yt&&L&&v.index!==void 0&&v.wheel&&M.token.index!==void 0&&i){let _=M.roll.read(),N=Bh(this.options)?ZC(M.token.wheel,_.position,v.text):void 0,U=N?.from??_.position,D=N?.target??mT(_.position,v.index,l,v.wheel.length),H=N?.wheel??v.wheel,Z=N?Math.min(Math.max(0,_.velocity),(D-U)*1e4/i):_.velocity,V=y?Wc(Gi(U,D,Z,i),w):Gi(U,D,Z,i),P=Math.floor(Math.min(...V.points)),Cn=Math.ceil(Math.max(...V.points));if(M.entry)M.entry.blurred=!1;let ji=this.blur?.remove(M.reel)??0;M.reel.replaceChildren();for(let _e=P;_e<=Cn;_e++)this.face(M,ef(H,_e));if(this.wrapInk(M),this.options.motionBlur)this.blur??=new tf(this.host),this.blur.intensity=this.blurIntensity,this.blur.apply(M.reel,V,b.height,ji);M.token=N?{...v,wheel:H,index:D}:v;let kn=M;M.roll.play(V,(_e)=>\`translateY(\${(P-_e)*b.height}px)\`,()=>this.rest(kn))}else if(O||yt||L||!n)M.token=v,this.rest(M);if(O&&i&&v.index!==void 0&&!r)this.enter(M,i,w,a);if(E&&i&&(O||mt)){let _=M.roll.read(),N=M;M.roll.play(Gi(O?0.96:_.position,1,_.velocity,Math.min(i,180)),Rh,()=>this.rest(N))}}for(let[p,v]of this.columns){if(t.has(p))continue;let b=u.get(p),w=h.get(v.token.identity),S=w?t.get(w):void 0;if(v.x.play(Gi(b.position+e,S?.x??m.get(p)??b.position,b.velocity,o),zh),v.exiting)continue;if(v.exiting=!0,S&&i){let M=v.roll.read();v.roll.play(Gi(M.position,1.04,M.velocity,Math.min(i,180)),Rh)}let E=v.opacity.read();v.opacity.play(Gi(E.position,0,E.velocity,v.token.index===void 0?Math.min(i,180):i*0.65),_h,()=>{if(!v.exiting)return;this.removeColumn(v),this.columns.delete(p)})}this.enhanced=!0,this.reset=!1,this.displayed=this.target,this.host.dataset.rnReady=""}removeColumn(t){this.blur?.remove(t.reel),this.finishEntry(t),t.x.cancel(),t.roll.cancel(),t.opacity.cancel(),t.element.remove()}refresh(){if(this.destroyed)return;this.reset=!0,this.prepare()}sizeChanged(t,e,n){if(this.measurementPending||!this.host.hasAttribute("data-rn-measuring"))return!1;let i=this.sizes.get(t);return!i||Math.abs(i.width-e)>0.2||Math.abs(i.height-n)>0.2}visibility(t){if(this.visible===t)return;if(this.visible=t,t||this.options.pauseOffscreen!==!1)this.refresh()}finish(){if(this.destroyed)return;this.measurementPending=!1;for(let t of this.columns.values())this.removeColumn(t);this.columns.clear(),this.blur?.destroy(),this.blur=void 0,this.semantic.textContent=this.target.text,delete this.host.dataset.rnReady,delete this.host.dataset.rnMeasuring,delete this.host.dataset.rnTrend,this.enhanced=!1,this.reset=!0,this.displayed=this.target}destroy(){if(this.destroyed)return;this.finish(),this.destroyed=!0;for(let t of this.measures.values())this.scheduler?.unwatch(t);if(this.scheduler?.unwatch(this.measurement),this.scheduler?.remove(this,this.host),this.host.replaceChildren(this.host.ownerDocument.createTextNode(this.target.text)),!this.hadClass)this.host.classList.remove("rn-root");Uh.delete(this.host)}}function Lh(t,e){if(Uh.has(t))throw Error("A rolling number is already mounted on this element");let n=new yT(t,e,ew);return Uh.add(t),n}function vT(t){let e=t.timeline,n=e?Object.keys(e.counters):[],i=!1,a=!1,o=new Map,r=()=>{if(i||!e||!n.length)return;let l=document.querySelector(".si-stage .si-figure"),u=l?.querySelector(".si-counters"),c=l?.querySelector("svg.storyink");if(!l||!u||!c)return;i=!0;let s=t.viewBox;for(let m of n){let f=c.querySelector(\`.si-counter-value[data-counter="\${CSS.escape(m)}"]\`);if(!f)continue;let h=f.getBBox(),y=e.counters[m],x=document.createElement("span");x.className="si-counter-live",x.style.left=\`\${h.x-s.x}px\`,x.style.top=\`\${h.y-s.y+1}px\`,x.style.display="none";let T=document.createElement("span");T.textContent=y.prefix??"";let g=document.createElement("span"),d=document.createElement("span");d.textContent=y.suffix??"",x.append(T,g,d),u.append(x);let p=Lh(g,{value:y.start,locales:"en-US",format:{minimumFractionDigits:y.decimals,maximumFractionDigits:y.decimals},duration:500,pauseOffscreen:!1});o.set(m,{ctl:p,el:x,target:y.start})}};return{update(l,u){if(!e||!n.length)return;r();let c=document.querySelector(".si-stage .si-figure");if(u!==a){a=u,c?.classList.toggle("si-live-counters",a);for(let[s,m]of o)if(m.el.style.display=a?"":"none",a){let f=wh(e.counters[s],l.t);m.target=f,m.ctl.update({value:+f.toFixed(e.counters[s].decimals),animated:!1}),m.ctl.finish(),m.ctl.update({animated:!0})}}if(!a)return;for(let[s,m]of o){let f=e.counters[s],h=f.start;for(let y of f.events)if(l.t>=y.t)h=y.to;if(h!==m.target)m.target=h,m.ctl.update({value:h})}}}}var AT=J(We(),1),ET=JSON.parse(document.getElementById("storyink-data").textContent),Ba=ET.scene,MT,nw=new Promise((t)=>MT=t);window.__storyink={ready:!1,whenReady:nw,duration:0,setTime:()=>{},version:ET.version,get lastExport(){return Gh}};function xT(t){let n=document.querySelector(".si-stage svg.storyink, svg.storyink").cloneNode(!0);n.querySelectorAll(".si-counter-value").forEach((r)=>r.removeAttribute("fill-opacity"));let i=document.getElementById("storyink-font")?.textContent??"",a=document.getElementById("storyink-diagram-css")?.textContent??"",o=document.createElementNS("http://www.w3.org/2000/svg","style");return o.textContent=\`\${i}
|
|
5525
|
-
svg.storyink{\${
|
|
5989
|
+
\`+i.stack}}var Rm=Object.prototype.hasOwnProperty,Ld=qt.unstable_scheduleCallback,Jf=qt.unstable_cancelCallback,KE=qt.unstable_shouldYield,ZE=qt.unstable_requestPaint,He=qt.unstable_now,QE=qt.unstable_getCurrentPriorityLevel,U0=qt.unstable_ImmediatePriority,H0=qt.unstable_UserBlockingPriority,Au=qt.unstable_NormalPriority,kE=qt.unstable_LowPriority,L0=qt.unstable_IdlePriority,$E=qt.log,FE=qt.unstable_setDisableYieldValue,Cl=null,Le=null;function vi(t){if(typeof $E==="function"&&FE(t),Le&&typeof Le.setStrictMode==="function")try{Le.setStrictMode(Cl,t)}catch(e){}}var Ge=Math.clz32?Math.clz32:IE,JE=Math.log,PE=Math.LN2;function IE(t){return t>>>=0,t===0?32:31-(JE(t)/PE|0)|0}var js=256,qs=262144,Ys=4194304;function ia(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&-t;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Pu(t,e,n){var i=t.pendingLanes;if(i===0)return 0;var a=0,o=t.suspendedLanes,r=t.pingedLanes;t=t.warmLanes;var l=i&134217727;return l!==0?(i=l&~o,i!==0?a=ia(i):(r&=l,r!==0?a=ia(r):n||(n=l&~t,n!==0&&(a=ia(n))))):(l=i&~o,l!==0?a=ia(l):r!==0?a=ia(r):n||(n=i&~t,n!==0&&(a=ia(n)))),a===0?0:e!==0&&e!==a&&(e&o)===0&&(o=a&-a,n=e&-e,o>=n||o===32&&(n&4194048)!==0)?e:a}function Ol(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function G0(t,e){(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var i=31-Ge(n),a=1<<i;e|=t[i],n&=~a}return e}function WE(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function j0(){var t=Ys;return Ys<<=1,(Ys&62914560)===0&&(Ys=4194304),t}function Pf(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Nl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function tM(t,e,n,i,a,o){var r=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var{entanglements:l,expirationTimes:s,hiddenUpdates:c}=t;for(n=r&~n;0<n;){var u=31-Ge(n),f=1<<u;l[u]=0,s[u]=-1;var m=c[u];if(m!==null)for(c[u]=null,u=0;u<m.length;u++){var d=m[u];d!==null&&(d.lane&=-536870913)}n&=~f}i!==0&&q0(t,i,0),o!==0&&a===0&&t.tag!==0&&(t.suspendedLanes|=o&~(r&~e))}function q0(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-Ge(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|n&261930}function Y0(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var i=31-Ge(n),a=1<<i;a&e|t[i]&e&&(t[i]|=e),n&=~a}}function X0(t,e){var n=e&-e;return n=(n&42)!==0?1:Gd(n),(n&(t.suspendedLanes|e))!==0?0:n}function Gd(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function jd(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function K0(){var t=ot.p;if(t!==0)return t;return t=window.event,t===void 0?32:Ax(t.type)}function Pg(t,e){var n=ot.p;try{return ot.p=t,e()}finally{ot.p=n}}var ti=Math.random().toString(36).slice(2),Jt="__reactFiber$"+ti,Ce="__reactProps$"+ti,Yo="__reactContainer$"+ti,Ig="__reactEvents$"+ti,eM="__reactListeners$"+ti,nM="__reactHandles$"+ti,Wg="__reactResources$"+ti,Vl="__reactMarker$"+ti,wu="__reactLoad$"+ti;function Iu(t){delete t[Jt],delete t[Ce],delete t[eM],delete t[nM]}function la(t){var e;if(e=t[Jt])return e;for(var n=t.parentNode;n;){if(e=n[Yo]||n[Jt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=p0(t);t!==null;){if(n=t[Jt])return n;t=p0(t)}return e}t=n,n=t.parentNode}return null}function Xo(t){if(t=t[Jt]||t[Yo]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Kr(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(C(33))}function xo(t){var e=t[Wg];return e||(e=t[Wg]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Qt(t){t[Vl]=!0}function Z0(t){t[wu]=void 0}var Q0=new Set,k0={};function Ea(t,e){Vo(t,e),Vo(t+"Capture",e)}function Vo(t,e){k0[t]=e;for(t=0;t<e.length;t++)Q0.add(e[t])}var iM=RegExp("^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$"),ty={},ey={};function aM(t){if(Rm.call(ey,t))return!0;if(Rm.call(ty,t))return!1;if(iM.test(t))return ey[t]=!0;return ty[t]=!0,!1}var nt=!1;function ny(){var t=nt;return nt=!1,t}function nu(t,e,n){if(aM(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,n)}}function Xs(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,n)}}function Yn(t,e,n,i){if(i===null)t.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,i)}}function Re(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function $0(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function oM(t,e,n){var i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get==="function"&&typeof i.set==="function"){var{get:a,set:o}=i;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(r){n=""+r,o.call(this,r)}}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(r){n=""+r},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function _m(t){if(!t._valueTracker){var e=$0(t)?"checked":"value";t._valueTracker=oM(t,e,""+t[e])}}function F0(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),i="";return t&&(i=$0(t)?t.checked?"true":"false":t.value),t=i,t!==n?(e.setValue(t),!0):!1}var rM=/[\\n"\\\\]/g;function Ie(t){return t.replace(rM,function(e){return"\\\\"+e.charCodeAt(0).toString(16)+" "})}function Bm(t,e,n,i,a,o,r,l){if(t.name="",r!=null&&typeof r!=="function"&&typeof r!=="symbol"&&typeof r!=="boolean"?t.type=r:t.removeAttribute("type"),e!=null)if(r==="number"){if(e===0&&t.value===""||t.value!=e)t.value=""+Re(e)}else t.value!==""+Re(e)&&(t.value=""+Re(e));else r!=="submit"&&r!=="reset"||t.removeAttribute("value");e!=null?r==="number"&&t.value==e?If(t,Re(t.value)):If(t,Re(e)):n!=null?If(t,Re(n)):i!=null&&t.removeAttribute("value"),a==null&&o!=null&&(t.defaultChecked=!!o),a!=null&&(t.checked=a&&typeof a!=="function"&&typeof a!=="symbol"),l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"?t.name=""+Re(l):t.removeAttribute("name")}function J0(t,e,n,i,a,o,r,l){if(o!=null&&typeof o!=="function"&&typeof o!=="symbol"&&typeof o!=="boolean"&&(t.type=o),e!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||e!==void 0&&e!==null)){_m(t);return}n=n!=null?""+Re(n):"",e=e!=null?""+Re(e):n,l||e===t.value||(t.value=e),t.defaultValue=e}i=i!=null?i:a,i=typeof i!=="function"&&typeof i!=="symbol"&&!!i,t.checked=l?t.checked:!!i,t.defaultChecked=!!i,r!=null&&typeof r!=="function"&&typeof r!=="symbol"&&typeof r!=="boolean"&&(t.name=r),_m(t)}function If(t,e){t.defaultValue!==""+e&&(t.defaultValue=""+e)}function bo(t,e,n,i){if(t=t.options,e){e={};for(var a=0;a<n.length;a++)e["$"+n[a]]=!0;for(n=0;n<t.length;n++)a=e.hasOwnProperty("$"+t[n].value),t[n].selected!==a&&(t[n].selected=a),a&&i&&(t[n].defaultSelected=!0)}else{n=""+Re(n),e=null;for(a=0;a<t.length;a++){if(t[a].value===n){t[a].selected=!0,i&&(t[a].defaultSelected=!0);return}e!==null||t[a].disabled||(e=t[a])}e!==null&&(e.selected=!0)}}function P0(t,e,n){if(e!=null&&(e=""+Re(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Re(n):""}function I0(t,e,n,i){if(e==null){if(i!=null){if(n!=null)throw Error(C(92));if(Xr(i)){if(1<i.length)throw Error(C(93));i=i[0]}n=i}n==null&&(n=""),e=n}n=Re(e),t.defaultValue=n,i=t.textContent,i===n&&i!==""&&i!==null&&(t.value=i),_m(t)}function Do(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var lM=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function iy(t,e,n){var i=e.indexOf("--")===0;n==null||typeof n==="boolean"||n===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,n):typeof n!=="number"||n===0||lM.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function W0(t,e,n){if(e!=null&&typeof e!=="object")throw Error(C(62));if(t=t.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||e!=null&&e.hasOwnProperty(i)||(i.indexOf("--")===0?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="",nt=!0);for(var a in e)i=e[a],e.hasOwnProperty(a)&&n[a]!==i&&(iy(t,a,i),nt=!0)}else for(var o in e)e.hasOwnProperty(o)&&iy(t,o,e[o])}function qd(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sM=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),uM=/^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i;function iu(t){return uM.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function wn(){}var Um=null;function Yd(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var uo=null,So=null;function ay(t){var e=Xo(t);if(e&&(t=e.stateNode)){var n=t[Ce]||null;t:switch(t=e.stateNode,e.type){case"input":if(Bm(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;n=n.querySelectorAll('input[name="'+Ie(""+e)+'"][type="radio"]');for(e=0;e<n.length;e++){var i=n[e];if(i!==t&&i.form===t.form){var a=i[Ce]||null;if(!a)throw Error(C(90));Bm(i,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(e=0;e<n.length;e++)i=n[e],i.form===t.form&&F0(i)}break t;case"textarea":P0(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&bo(t,!!n.multiple,e,!1)}}}var Wf=!1;function tv(t,e,n){if(Wf)return t(e,n);Wf=!0;try{var i=t(e);return i}finally{if(Wf=!1,uo!==null||So!==null){if(mc(),uo&&(e=uo,t=So,So=uo=null,ay(e),t))for(e=0;e<t.length;e++)ay(t[e])}}}function fl(t,e){var n=t.stateNode;if(n===null)return null;var i=n[Ce]||null;if(i===null)return null;n=i[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(n&&typeof n!=="function")throw Error(C(231,e,typeof n));return n}var $n=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hm=!1;if($n)try{aa={},Object.defineProperty(aa,"passive",{get:function(){Hm=!0}}),window.addEventListener("test",aa,aa),window.removeEventListener("test",aa,aa)}catch(t){Hm=!1}var aa,xi=null,Xd=null,au=null;function ev(){if(au)return au;var t,e=Xd,n=e.length,i,a="value"in xi?xi.value:xi.textContent,o=a.length;for(t=0;t<n&&e[t]===a[t];t++);var r=n-t;for(i=1;i<=r&&e[n-i]===a[o-i];i++);return au=a.slice(t,1<i?1-i:void 0)}function ou(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ks(){return!0}function oy(){return!1}function ve(t){function e(n,i,a,o,r){this._reactName=n,this._targetInst=a,this.type=i,this.nativeEvent=o,this.target=r,this.currentTarget=null;for(var l in t)t.hasOwnProperty(l)&&(n=t[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ks:oy,this.isPropagationStopped=oy,this}return vt(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!=="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ks)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!=="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ks)},persist:function(){},isPersistent:Ks}),e}var Gi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wu=ve(Gi),Dl=vt({},Gi,{view:0,detail:0}),cM=ve(Dl),tm,em,Lr,tc=vt({},Dl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kd,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){if("movementX"in t)return t.movementX;return t!==Lr&&(Lr&&t.type==="mousemove"?(tm=t.screenX-Lr.screenX,em=t.screenY-Lr.screenY):em=tm=0,Lr=t),tm},movementY:function(t){return"movementY"in t?t.movementY:em}}),ry=ve(tc),fM=vt({},tc,{dataTransfer:0}),mM=ve(fM),dM=vt({},Dl,{relatedTarget:0}),nm=ve(dM),pM=vt({},Gi,{animationName:0,elapsedTime:0,pseudoElement:0}),hM=ve(pM),gM=vt({},Gi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),yM=ve(gM),vM=vt({},Gi,{data:0}),ly=ve(vM),xM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bM={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},SM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function TM(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=SM[t])?!!e[t]:!1}function Kd(){return TM}var EM=vt({},Dl,{key:function(t){if(t.key){var e=xM[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=ou(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?bM[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kd,charCode:function(t){return t.type==="keypress"?ou(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ou(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),MM=ve(EM),AM=vt({},tc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sy=ve(AM),wM=vt({},Gi,{submitter:0}),CM=ve(wM),OM=vt({},Dl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kd}),NM=ve(OM),VM=vt({},Gi,{propertyName:0,elapsedTime:0,pseudoElement:0}),DM=ve(VM),zM=vt({},tc,{deltaX:function(t){return"deltaX"in t?t.deltaX:("wheelDeltaX"in t)?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:("wheelDeltaY"in t)?-t.wheelDeltaY:("wheelDelta"in t)?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),RM=ve(zM),_M=vt({},Gi,{newState:0,oldState:0,source:0}),BM=ve(_M),UM=[9,13,27,32],Zd=$n&&"CompositionEvent"in window,Pr=null;$n&&"documentMode"in document&&(Pr=document.documentMode);var HM=$n&&"TextEvent"in window&&!Pr,nv=$n&&(!Zd||Pr&&8<Pr&&11>=Pr),uy=String.fromCharCode(32),cy=!1;function iv(t,e){switch(t){case"keyup":return UM.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function av(t){return t=t.detail,typeof t==="object"&&"data"in t?t.data:null}var co=!1;function LM(t,e){switch(t){case"compositionend":return av(e);case"keypress":if(e.which!==32)return null;return cy=!0,uy;case"textInput":return t=e.data,t===uy&&cy?null:t;default:return null}}function GM(t,e){if(co)return t==="compositionend"||!Zd&&iv(t,e)?(t=ev(),au=Xd=xi=null,co=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return nv&&e.locale!=="ko"?null:e.data;default:return null}}var jM={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function fy(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!jM[t.type]:e==="textarea"?!0:!1}function ov(t,e,n,i){uo?So?So.push(i):So=[i]:uo=i,e=$u(e,"onChange"),0<e.length&&(n=new Wu("onChange","change",null,n,i),t.push({event:n,listeners:e}))}var Ir=null,ml=null;function qM(t){tx(t,0)}function ec(t){var e=Kr(t);if(F0(e))return t}function my(t,e){if(t==="change")return e}var rv=!1;if($n){if($n){if(Qr="oninput"in document,!Qr)ru=document.createElement("div"),ru.setAttribute("oninput","return;"),Qr=typeof ru.oninput==="function";Zr=Qr}else Zr=!1;rv=Zr&&(!document.documentMode||9<document.documentMode)}var Zr,Qr,ru;function dy(){Ir&&(Ir.detachEvent("onpropertychange",lv),ml=Ir=null)}function lv(t){if(t.propertyName==="value"&&ec(ml)){var e=[];ov(e,ml,t,Yd(t)),tv(qM,e)}}function YM(t,e,n){t==="focusin"?(dy(),Ir=e,ml=n,Ir.attachEvent("onpropertychange",lv)):t==="focusout"&&dy()}function XM(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ec(ml)}function KM(t,e){if(t==="click")return ec(e)}function ZM(t,e){if(t==="input"||t==="change")return ec(e)}function QM(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var qe=typeof Object.is==="function"?Object.is:QM;function dl(t,e){if(qe(t,e))return!0;if(typeof t!=="object"||t===null||typeof e!=="object"||e===null)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var a=n[i];if(!Rm.call(e,a)||!qe(t[a],e[a]))return!1}return!0}function Lm(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch(e){return t.body}}function py(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function hy(t,e){var n=py(t);t=0;for(var i;n;){if(n.nodeType===3){if(i=t+n.textContent.length,t<=e&&i>=e)return{node:n,offset:e-t};t=i}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=py(n)}}function sv(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?sv(t,e.parentNode):("contains"in t)?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function uv(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Lm(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href==="string"}catch(i){n=!1}if(n)t=e.contentWindow;else break;e=Lm(t.document)}return e}function Qd(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var kM=$n&&"documentMode"in document&&11>=document.documentMode,fo=null,Gm=null,Wr=null,jm=!1;function gy(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jm||fo==null||fo!==Lm(i)||(i=fo,("selectionStart"in i)&&Qd(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Wr&&dl(Wr,i)||(Wr=i,i=$u(Gm,"onSelect"),0<i.length&&(e=new Wu("onSelect","select",null,e,n),t.push({event:e,listeners:i}),e.target=fo)))}function ea(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var mo={animationend:ea("Animation","AnimationEnd"),animationiteration:ea("Animation","AnimationIteration"),animationstart:ea("Animation","AnimationStart"),transitionrun:ea("Transition","TransitionRun"),transitionstart:ea("Transition","TransitionStart"),transitioncancel:ea("Transition","TransitionCancel"),transitionend:ea("Transition","TransitionEnd")},im={},cv={};$n&&(cv=document.createElement("div").style,("AnimationEvent"in window)||(delete mo.animationend.animation,delete mo.animationiteration.animation,delete mo.animationstart.animation),("TransitionEvent"in window)||delete mo.transitionend.transition);function Ma(t){if(im[t])return im[t];if(!mo[t])return t;var e=mo[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in cv)return im[t]=e[n];return t}var fv=Ma("animationend"),mv=Ma("animationiteration"),dv=Ma("animationstart"),$M=Ma("transitionrun"),FM=Ma("transitionstart"),JM=Ma("transitioncancel"),pv=Ma("transitionend"),hv=new Map,qm="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");qm.push("scrollEnd");function mn(t,e){hv.set(t,e),Ea(e,[t])}var PM=0;function Fn(t,e){if(t.name!=null&&t.name!=="auto")return t.name;if(e.autoName!==null)return e.autoName;t=fn.identifierPrefix;var n=PM++;return t="_"+t+"t_"+n.toString(32)+"_",e.autoName=t}function yy(t){if(t==null||typeof t==="string")return t;var e=null,n=Oo;if(n!==null)for(var i=0;i<n.length;i++){var a=t[n[i]];if(a!=null){if(a==="none")return"none";e=e==null?a:e+(" "+a)}}return e==null?t.default:e}function ei(t,e){return t=yy(t),e=yy(e),e==null?t==="auto"?null:t:e==="auto"?null:e}var Cu=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},Fe=[],po=0,kd=0;function nc(){for(var t=po,e=kd=po=0;e<t;){var n=Fe[e];Fe[e++]=null;var i=Fe[e];Fe[e++]=null;var a=Fe[e];Fe[e++]=null;var o=Fe[e];if(Fe[e++]=null,i!==null&&a!==null){var r=i.pending;r===null?a.next=a:(a.next=r.next,r.next=a),i.pending=a}o!==0&&gv(n,a,o)}}function ic(t,e,n,i){Fe[po++]=t,Fe[po++]=e,Fe[po++]=n,Fe[po++]=i,kd|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}function $d(t,e,n,i){return ic(t,e,n,i),Ou(t)}function Aa(t,e){return ic(t,null,null,e),Ou(t)}function gv(t,e,n){t.lanes|=n;var i=t.alternate;i!==null&&(i.lanes|=n);for(var a=!1,o=t.return;o!==null;)o.childLanes|=n,i=o.alternate,i!==null&&(i.childLanes|=n),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(a=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,a&&e!==null&&(a=31-Ge(n),t=o.hiddenUpdates,i=t[a],i===null?t[a]=[e]:i.push(e),e.lane=n|536870912),o):null}function Ou(t){if(50<ul)throw ul=0,gu=null,Error(C(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var ho={};function IM(t,e,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Me(t,e,n,i){return new IM(t,e,n,i)}function Fd(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Qn(t,e){var n=t.alternate;return n===null?(n=Me(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&1206910976,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function yv(t,e){t.flags&=1206910978;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function lu(t,e,n,i,a,o){var r=0;if(i=t,typeof i==="function")Fd(i)&&(r=1);else if(typeof i==="string")r=MA(t,n,Nn.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(i){case Om:return t=Me(31,n,e,a),t.elementType=Om,t.lanes=o,t;case lo:return ca(n.children,a,o,e);case _0:r=8,a|=24;break;case Am:return t=Me(12,n,e,a|2),t.elementType=Am,t.lanes=o,t;case wm:return t=Me(13,n,e,a),t.elementType=wm,t.lanes=o,t;case Cm:return t=Me(19,n,e,a),t.elementType=Cm,t.lanes=o,t;case GE:case Nm:return t=a|32,t=Me(30,n,e,t),t.elementType=Nm,t.lanes=o,t.stateNode={autoName:null,paired:null,clones:null,ref:null},t;default:if(typeof i==="object"&&i!==null)switch(i.$$typeof){case An:r=10;break t;case B0:r=9;break t;case Ud:r=11;break t;case Hd:r=14;break t;case hi:r=16,i=null;break t}r=29,n=Error(C(130,t===null?"null":typeof t,"")),i=null}return e=Me(r,n,e,a),e.elementType=t,e.type=i,e.lanes=o,e}function ca(t,e,n,i){return t=Me(7,t,i,e),t.lanes=n,t}function am(t,e,n){return t=Me(6,t,null,e),t.lanes=n,t}function vv(t){var e=Me(18,null,null,0);return e.stateNode=t,e}function om(t,e,n){return e=Me(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var vy=new WeakMap;function We(t,e){if(typeof t==="object"&&t!==null){var n=vy.get(t);if(n!==void 0)return n;return e={value:t,source:e,stack:Jg(e)},vy.set(t,e),e}return{value:t,source:e,stack:Jg(e)}}var go=[],yo=0,Nu=null,pl=0,Je=[],Pe=0,_i=null,Cn=1,On="";function Kn(t,e){go[yo++]=pl,go[yo++]=Nu,Nu=t,pl=e}function xv(t,e,n){Je[Pe++]=Cn,Je[Pe++]=On,Je[Pe++]=_i,_i=t;var i=Cn;t=On;var a=32-Ge(i)-1;i&=~(1<<a),n+=1;var o=32-Ge(e)+a;if(30<o){var r=a-a%5;o=(i&(1<<r)-1).toString(32),i>>=r,a-=r,Cn=1<<32-Ge(e)+a|n<<a|i,On=o+t}else Cn=1<<o|n<<a|i,On=t}function ac(t){t.return!==null&&(Kn(t,1),xv(t,1,0))}function Jd(t){for(;t===Nu;)Nu=go[--yo],go[yo]=null,pl=go[--yo],go[yo]=null;for(;t===_i;)_i=Je[--Pe],Je[Pe]=null,On=Je[--Pe],Je[Pe]=null,Cn=Je[--Pe],Je[Pe]=null}function bv(t,e){Je[Pe++]=Cn,Je[Pe++]=On,Je[Pe++]=_i,Cn=e.id,On=e.overflow,_i=t}var kt=null,St=null,X=!1,Ai=null,tn=!1,Ym=Error(C(519));function Bi(t){var e=Error(C(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw hl(We(e,t)),Ym}function xy(t){var{stateNode:e,type:n,memoizedProps:i}=t;switch(e[Jt]=t,e[Ce]=i,n){case"dialog":Q("cancel",e),Q("close",e);break;case"iframe":case"object":case"embed":Q("load",e);break;case"video":case"audio":for(n=0;n<xl.length;n++)Q(xl[n],e);break;case"source":Q("error",e);break;case"img":case"image":case"link":Q("error",e),Q("load",e);break;case"details":Q("toggle",e);break;case"input":Q("invalid",e),J0(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Q("invalid",e);break;case"textarea":Q("invalid",e),I0(e,i.value,i.defaultValue,i.children)}n=i.children,typeof n!=="string"&&typeof n!=="number"&&typeof n!=="bigint"||e.textContent===""+n||i.suppressHydrationWarning===!0||nx(e.textContent,n)?(i.popover!=null&&(Q("beforetoggle",e),Q("toggle",e)),i.onScroll!=null&&Q("scroll",e),i.onScrollEnd!=null&&Q("scrollend",e),i.onClick!=null&&(e.onclick=wn),e=!0):e=!1,e||Bi(t,!0)}function Vu(t){for(kt=t.return;kt;)switch(kt.tag){case 5:case 31:case 13:tn=!1;return;case 27:case 3:tn=!0;return;default:kt=kt.return}}function to(t){if(t!==kt)return!1;if(!X)return Vu(t),X=!0,!1;var e=t.tag,n;if(n=e!==3&&e!==27){if(n=e===5)n=t.type,n=!(n!=="form"&&n!=="button")||Od(t.type,t.memoizedProps);n=!n}if(n&&St&&Bi(t),Vu(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(C(317));St=d0(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(C(317));St=d0(t)}else e===27?(e=St,ji(t.type)?(t=zd,zd=null,St=t):St=e):St=kt?en(t.stateNode.nextSibling):null;return!0}function pa(){St=kt=null,X=!1}function rm(){var t=Ai;return t!==null&&(Te===null?Te=t:Te.push.apply(Te,t),Ai=null),t}function hl(t){Ai===null?Ai=[t]:Ai.push(t)}var Xm=zn(null),wa=null,Zn=null;function bi(t,e,n){Tt(Xm,e._currentValue),e._currentValue=n}function kn(t){t._currentValue=Xm.current,It(Xm)}function su(t,e,n){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===n)break;t=t.return}}function Km(t,e,n,i){var a=t.child;a!==null&&(a.return=t);for(;a!==null;){var o=a.dependencies;if(o!==null){var r=a.child;o=o.firstContext;t:for(;o!==null;){var l=o;o=a;for(var s=0;s<e.length;s++)if(l.context===e[s]){o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),su(o.return,n,t),i||(r=null);break t}o=l.next}}else if(a.tag===18){if(r=a.return,r===null)throw Error(C(341));r.lanes|=n,o=r.alternate,o!==null&&(o.lanes|=n),su(r,n,t),r=null}else a.tag===13&&a.memoizedState!==null&&a.memoizedState.dehydrated===null?(a.lanes|=n,r=a.alternate,r!==null&&(r.lanes|=n),su(a.return,n,t),r=a.child,r=r!==null?r.sibling:null):r=a.child;if(r!==null)r.return=a;else for(r=a;r!==null;){if(r===t){r=null;break}if(a=r.sibling,a!==null){a.return=r.return,r=a;break}r=r.return}a=r}}function ha(t,e,n,i){t=null;for(var a=e,o=!1;a!==null;){if(!o){if((a.flags&524288)!==0)o=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var r=a.alternate;if(r===null)throw Error(C(387));if(r=r.memoizedProps,r!==null){var l=a.type;qe(a.pendingProps.value,r.value)||(t!==null?t.push(l):t=[l])}}else if(a===Tu.current){if(r=a.alternate,r===null)throw Error(C(387));r.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(t!==null?t.push(Go):t=[Go])}a=a.return}return t!==null&&Km(e,t,n,i),e.flags|=262144,t!==null}function Du(t){for(t=t.firstContext;t!==null;){if(!qe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ga(t){wa=t,Zn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Pt(t){return Sv(wa,t)}function Zs(t,e){return wa===null&&ga(t),Sv(t,e)}function Sv(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},Zn===null){if(t===null)throw Error(C(308));Zn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Zn=Zn.next=e;return n}var WM=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,i){t.push(i)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},t2=qt.unstable_scheduleCallback,e2=qt.unstable_NormalPriority,Ht={$$typeof:An,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Pd(){return{controller:new WM,data:new Map,refCount:0}}function zl(t){t.refCount--,t.refCount===0&&t2(e2,function(){t.controller.abort()})}function by(t,e){if((t.pendingLanes&4194048)!==0){var n=t.transitionTypes;n===null&&(n=t.transitionTypes=[]);for(t=0;t<e.length;t++){var i=e[t];n.indexOf(i)===-1&&n.push(i)}}}var kr=null;function n2(t){var e=t.transitionTypes;return t.transitionTypes=null,e}var tl=null,Zm=0,ya=0,To=null;function i2(t,e){if(tl===null){var n=tl=[];Zm=0,ya=Ap(),To={status:"pending",value:void 0,then:function(i){n.push(i)}}}return Zm++,e.then(Sy,Sy),e}function Sy(){if(--Zm===0&&(kr=null,tl!==null)){To!==null&&(To.status="fulfilled");var t=tl;tl=null,ya=0,To=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function a2(t,e){var n=[],i={status:"pending",value:null,reason:null,then:function(a){n.push(a)}};return t.then(function(){i.status="fulfilled",i.value=e;for(var a=0;a<n.length;a++)(0,n[a])(e)},function(a){i.status="rejected",i.reason=a;for(a=0;a<n.length;a++)(0,n[a])(void 0)}),i}var Ty=B.S;B.S=function(t,e){if(G1=He(),typeof e==="object"&&e!==null&&typeof e.then==="function"&&i2(t,e),kr!==null)for(var n=Uo;n!==null;)by(n,kr),n=n.next;if(n=t.types,n!==null){for(var i=Uo;i!==null;)by(i,n),i=i.next;if(ya!==0){i=kr,i===null&&(i=kr=[]);for(var a=0;a<n.length;a++){var o=n[a];i.indexOf(o)===-1&&i.push(o)}}}Ty!==null&&Ty(t,e)};var fa=zn(null);function Id(){var t=fa.current;return t!==null?t:yt.pooledCache}function uu(t,e){e===null?Tt(fa,fa.current):Tt(fa,e.pool)}function Tv(){var t=Id();return t===null?null:{parent:Ht._currentValue,pool:t}}var Ko=Error(C(460)),Wd=Error(C(474)),oc=Error(C(542)),zu={then:function(){}};function Ey(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Ev(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(wn,wn),e=n),e.status){case"fulfilled":return e.value;case"rejected":if(t=e.reason,Ay(t),t===void 0&&!("reason"in e))throw Error(C(600));throw t;default:if(typeof e.status==="string")e.then(wn,wn);else{if(t=yt,t!==null&&100<t.shellSuspendCounter)throw Error(C(482));t=e,t.status="pending",t.then(function(i){if(e.status==="pending"){var a=e;a.status="fulfilled",a.value=i}},function(i){if(e.status==="pending"){var a=e;a.status="rejected",a.reason=i}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ay(t),t}throw ma=e,Ko}}function oa(t){try{var e=t._init;return e(t._payload)}catch(n){if(n!==null&&typeof n==="object"&&typeof n.then==="function")throw ma=n,Ko;throw n}}var ma=null;function My(){if(ma===null)throw Error(C(459));var t=ma;return ma=null,t}function Ay(t){if(t===Ko||t===oc)throw Error(C(483))}var Eo=null,gl=0;function Qs(t){var e=gl;return gl+=1,Eo===null&&(Eo=[]),Ev(Eo,t,e)}function mi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function ks(t,e){if(e.$$typeof===LE)throw Error(C(525));throw t=Object.prototype.toString.call(e),Error(C(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function Mv(t){function e(h,p){if(t){var g=h.deletions;g===null?(h.deletions=[p],h.flags|=16):g.push(p)}}function n(h,p){if(!t)return null;for(;p!==null;)e(h,p),p=p.sibling;return null}function i(h){for(var p=new Map;h!==null;)h.key===null?p.set(h.index,h):p.set(h.key,h),h=h.sibling;return p}function a(h,p){return h=Qn(h,p),h.index=0,h.sibling=null,h}function o(h,p,g){if(h.index=g,!t)return h.flags|=1048576,p;if(g=h.alternate,g!==null)return g=g.index,g<p?(h.flags|=2,p):g;return h.flags|=134217730,p}function r(h){return t&&h.alternate===null&&(h.flags|=134217730),h}function l(h,p,g,v){if(p===null||p.tag!==6)return p=am(g,h.mode,v),p.return=h,p;return p=a(p,g),p.return=h,p}function s(h,p,g,v){var E=g.type;if(E===lo)return h=u(h,p,g.props.children,v,g.key),mi(h,g),h;if(p!==null&&(p.elementType===E||typeof E==="object"&&E!==null&&E.$$typeof===hi&&oa(E)===p.type))return p=a(p,g.props),mi(p,g),p.return=h,p;return p=lu(g.type,g.key,g.props,null,h.mode,v),mi(p,g),p.return=h,p}function c(h,p,g,v){if(p===null||p.tag!==4||p.stateNode.containerInfo!==g.containerInfo||p.stateNode.implementation!==g.implementation)return p=om(g,h.mode,v),p.return=h,p;return p=a(p,g.children||[]),p.return=h,p}function u(h,p,g,v,E){if(p===null||p.tag!==7)return p=ca(g,h.mode,v,E),p.return=h,p;return p=a(p,g),p.return=h,p}function f(h,p,g){if(typeof p==="string"&&p!==""||typeof p==="number"||typeof p==="bigint")return p=am(""+p,h.mode,g),p.return=h,p;if(typeof p==="object"&&p!==null){switch(p.$$typeof){case Gs:return g=lu(p.type,p.key,p.props,null,h.mode,g),mi(g,p),g.return=h,g;case Yr:return p=om(p,h.mode,g),p.return=h,p;case hi:return p=oa(p),f(h,p,g)}if(Xr(p)||Hr(p))return p=ca(p,h.mode,g,null),p.return=h,p;if(typeof p.then==="function")return f(h,Qs(p),g);if(p.$$typeof===An)return f(h,Zs(h,p),g);ks(h,p)}return null}function m(h,p,g,v){var E=p!==null?p.key:null;if(typeof g==="string"&&g!==""||typeof g==="number"||typeof g==="bigint")return E!==null?null:l(h,p,""+g,v);if(typeof g==="object"&&g!==null){switch(g.$$typeof){case Gs:return g.key===E?s(h,p,g,v):null;case Yr:return g.key===E?c(h,p,g,v):null;case hi:return g=oa(g),m(h,p,g,v)}if(Xr(g)||Hr(g))return E!==null?null:u(h,p,g,v,null);if(typeof g.then==="function")return m(h,p,Qs(g),v);if(g.$$typeof===An)return m(h,p,Zs(h,g),v);ks(h,g)}return null}function d(h,p,g,v,E){if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return h=h.get(g)||null,l(p,h,""+v,E);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case Gs:return h=h.get(v.key===null?g:v.key)||null,s(p,h,v,E);case Yr:return h=h.get(v.key===null?g:v.key)||null,c(p,h,v,E);case hi:return v=oa(v),d(h,p,g,v,E)}if(Xr(v)||Hr(v))return h=h.get(g)||null,u(p,h,v,E,null);if(typeof v.then==="function")return d(h,p,g,Qs(v),E);if(v.$$typeof===An)return d(h,p,g,Zs(p,v),E);ks(p,v)}return null}function y(h,p,g,v){for(var E=null,M=null,S=p,b=p=0,A=null;S!==null&&b<g.length;b++){S.index>b?(A=S,S=null):A=S.sibling;var N=m(h,S,g[b],v);if(N===null){S===null&&(S=A);break}t&&S&&N.alternate===null&&e(h,S),p=o(N,p,b),M===null?E=N:M.sibling=N,M=N,S=A}if(b===g.length)return n(h,S),X&&Kn(h,b),E;if(S===null){for(;b<g.length;b++)S=f(h,g[b],v),S!==null&&(p=o(S,p,b),M===null?E=S:M.sibling=S,M=S);return X&&Kn(h,b),E}for(S=i(S);b<g.length;b++)A=d(S,h,b,g[b],v),A!==null&&(t&&(N=A.alternate,N!==null&&S.delete(N.key===null?b:N.key)),p=o(A,p,b),M===null?E=A:M.sibling=A,M=A);return t&&S.forEach(function(R){return e(h,R)}),X&&Kn(h,b),E}function x(h,p,g,v){if(g==null)throw Error(C(151));for(var E=null,M=null,S=p,b=p=0,A=null,N=g.next();S!==null&&!N.done;b++,N=g.next()){S.index>b?(A=S,S=null):A=S.sibling;var R=m(h,S,N.value,v);if(R===null){S===null&&(S=A);break}t&&S&&R.alternate===null&&e(h,S),p=o(R,p,b),M===null?E=R:M.sibling=R,M=R,S=A}if(N.done)return n(h,S),X&&Kn(h,b),E;if(S===null){for(;!N.done;b++,N=g.next())N=f(h,N.value,v),N!==null&&(p=o(N,p,b),M===null?E=N:M.sibling=N,M=N);return X&&Kn(h,b),E}for(S=i(S);!N.done;b++,N=g.next())N=d(S,h,b,N.value,v),N!==null&&(t&&(A=N.alternate,A!==null&&S.delete(A.key===null?b:A.key)),p=o(N,p,b),M===null?E=N:M.sibling=N,M=N);return t&&S.forEach(function(tt){return e(h,tt)}),X&&Kn(h,b),E}function T(h,p,g,v){if(typeof g==="object"&&g!==null&&g.type===lo&&g.key===null&&g.props.ref===void 0&&(g=g.props.children),typeof g==="object"&&g!==null){switch(g.$$typeof){case Gs:t:{for(var E=g.key;p!==null;){if(p.key===E){if(E=g.type,E===lo){if(p.tag===7){n(h,p.sibling),v=a(p,g.props.children),mi(v,g),v.return=h,h=v;break t}}else if(p.elementType===E||typeof E==="object"&&E!==null&&E.$$typeof===hi&&oa(E)===p.type){n(h,p.sibling),v=a(p,g.props),mi(v,g),v.return=h,h=v;break t}n(h,p);break}else e(h,p);p=p.sibling}g.type===lo?(v=ca(g.props.children,h.mode,v,g.key),mi(v,g),v.return=h,h=v):(v=lu(g.type,g.key,g.props,null,h.mode,v),mi(v,g),v.return=h,h=v)}return r(h);case Yr:t:{for(E=g.key;p!==null;){if(p.key===E)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(h,p.sibling),v=a(p,g.children||[]),v.return=h,h=v;break t}else{n(h,p);break}else e(h,p);p=p.sibling}v=om(g,h.mode,v),v.return=h,h=v}return r(h);case hi:return g=oa(g),T(h,p,g,v)}if(Xr(g))return y(h,p,g,v);if(Hr(g)){if(E=Hr(g),typeof E!=="function")throw Error(C(150));return g=E.call(g),x(h,p,g,v)}if(typeof g.then==="function")return T(h,p,Qs(g),v);if(g.$$typeof===An)return T(h,p,Zs(h,g),v);ks(h,g)}return typeof g==="string"&&g!==""||typeof g==="number"||typeof g==="bigint"?(g=""+g,p!==null&&p.tag===6?(n(h,p.sibling),v=a(p,g),v.return=h,h=v):(n(h,p),v=am(g,h.mode,v),v.return=h,h=v),r(h)):n(h,p)}return function(h,p,g,v){try{gl=0;var E=T(h,p,g,v);return Eo=null,E}catch(S){if(S===Ko||S===oc)throw S;var M=Me(29,S,null,h.mode);return M.lanes=v,M.return=h,M}finally{}}}var va=Mv(!0),Av=Mv(!1),gi=!1;function tp(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Qm(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function wi(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ci(t,e,n){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(at&2)!==0){var a=i.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),i.pending=e,e=Ou(t),gv(t,null,n),e}return ic(t,i,e,n),Ou(t)}function el(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Y0(t,n)}}function lm(t,e){var{updateQueue:n,alternate:i}=t;if(i!==null&&(i=i.updateQueue,n===i)){var a=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var r={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?a=o=r:o=o.next=r,n=n.next}while(n!==null);o===null?a=o=e:o=o.next=e}else a=o=e;n={baseState:i.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:i.shared,callbacks:i.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var km=!1;function nl(){if(km){var t=To;if(t!==null)throw t}}function il(t,e,n,i){km=!1;var a=t.updateQueue;gi=!1;var{firstBaseUpdate:o,lastBaseUpdate:r}=a,l=a.shared.pending;if(l!==null){a.shared.pending=null;var s=l,c=s.next;s.next=null,r===null?o=c:r.next=c,r=s;var u=t.alternate;u!==null&&(u=u.updateQueue,l=u.lastBaseUpdate,l!==r&&(l===null?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(o!==null){var f=a.baseState;r=0,u=c=s=null,l=o;do{var m=l.lane&-536870913,d=m!==l.lane;if(d?(F&m)===m:(i&m)===m){m!==0&&m===ya&&(km=!0),u!==null&&(u=u.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});t:{var y=t,x=l;m=e;var T=n;switch(x.tag){case 1:if(y=x.payload,typeof y==="function"){f=y.call(T,f,m);break t}f=y;break t;case 3:y.flags=y.flags&-65537|128;case 0:if(y=x.payload,m=typeof y==="function"?y.call(T,f,m):y,m===null||m===void 0)break t;f=vt({},f,m);break t;case 2:gi=!0}}m=l.callback,m!==null&&(t.flags|=64,d&&(t.flags|=8192),d=a.callbacks,d===null?a.callbacks=[m]:d.push(m))}else d={lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},u===null?(c=u=d,s=f):u=u.next=d,r|=m;if(l=l.next,l===null)if(l=a.shared.pending,l===null)break;else d=l,l=d.next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}while(1);u===null&&(s=f),a.baseState=s,a.firstBaseUpdate=c,a.lastBaseUpdate=u,o===null&&(a.shared.lanes=0),Li|=r,t.lanes=r,t.memoizedState=f}}function wv(t,e){if(typeof t!=="function")throw Error(C(191,t));t.call(e)}function Cv(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)wv(n[t],e)}var Ui=zn(null),Ru=zn(0);function wy(t,e){t=Wn,Tt(Ru,t),Tt(Ui,e),Wn=t|e.baseLanes}function $m(){Tt(Ru,Wn),Tt(Ui,Ui.current)}function ep(){Wn=Ru.current,It(Ui),It(Ru)}var ee=zn(null),ce=null;function Oi(t){var e=t.alternate;Tt(Wt,Wt.current&1),Tt(ee,t),ce===null&&(e===null||Ui.current!==null?ce=t:e.memoizedState!==null&&(ce=t))}function Fm(t){Tt(Wt,Wt.current),Tt(ee,t),ce===null&&(ce=t)}function Ov(t){t.tag===22?(Tt(Wt,Wt.current),Tt(ee,t),ce===null&&(ce=t)):Ni()}function Ni(){Tt(Wt,Wt.current),Tt(ee,ee.current)}function _e(t){It(ee),ce===t&&(ce=null),It(Wt)}var Wt=zn(0);function yl(t,e){Tt(ee,ee.current),Tt(Wt,e)}function np(t){It(Wt),It(ee),ce===t&&(ce=null)}function _u(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Dd(n)||Np(n)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!=="independent"){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Jn=0,j=null,ht=null,Ut=null,Bu=!1,Mo=!1,xa=!1,Uu=0,vl=0,Ao=null,o2=0;function Nt(){throw Error(C(321))}function ip(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!qe(t[n],e[n]))return!1;return!0}function ap(t,e,n,i,a,o){return Jn=o,j=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,B.H=t===null||t.memoizedState===null?o1:r1,xa=!1,o=n(i,a),xa=!1,Mo&&(o=Vv(e,n,i,a)),Nv(t),o}function Nv(t){B.H=Hu;var e=ht!==null&&ht.next!==null;if(Jn=0,Ut=ht=j=null,Bu=!1,vl=0,Ao=null,e)throw Error(C(300));t===null||Lt||(t=t.dependencies,t!==null&&Du(t)&&(Lt=!0))}function Vv(t,e,n,i){j=t;var a=0;do{if(Mo&&(Ao=null),vl=0,Mo=!1,25<=a)throw Error(C(301));if(a+=1,Ut=ht=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}B.H=d2,o=e(n,i)}while(Mo);return o}function r2(){var t=B.H,e=t.useState()[0];return e=typeof e.then==="function"?Rl(e):e,t=t.useState()[0],(ht!==null?ht.memoizedState:null)!==t&&(j.flags|=1024),e}function op(){var t=Uu!==0;return Uu=0,t}function rp(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function lp(t){if(Bu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Bu=!1}Jn=0,Ut=ht=j=null,Mo=!1,vl=Uu=0,Ao=null}function ye(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ut===null?j.memoizedState=Ut=t:Ut=Ut.next=t,Ut}function zt(){if(ht===null){var t=j.alternate;t=t!==null?t.memoizedState:null}else t=ht.next;var e=Ut===null?j.memoizedState:Ut.next;if(e!==null)Ut=e,ht=t;else{if(t===null){if(j.alternate===null)throw Error(C(467));throw Error(C(310))}ht=t,t={memoizedState:ht.memoizedState,baseState:ht.baseState,baseQueue:ht.baseQueue,queue:ht.queue,next:null},Ut===null?j.memoizedState=Ut=t:Ut=Ut.next=t}return Ut}function rc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Rl(t){var e=vl;return vl+=1,Ao===null&&(Ao=[]),t=Ev(Ao,t,e),e=j,(Ut===null?e.memoizedState:Ut.next)===null&&(e=e.alternate,B.H=e===null||e.memoizedState===null?o1:r1),t}function lc(t){if(t!==null&&typeof t==="object"){if(typeof t.then==="function")return Rl(t);if(t.$$typeof===qE)return;if(t.$$typeof===An)return Pt(t)}throw Error(C(438,String(t)))}function sp(t){var e=null,n=j.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var i=j.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(a){return a.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=rc(),j.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),i=0;i<t;i++)n[i]=jE;return e.index++,n}function Pn(t,e){return typeof e==="function"?e(t):e}function cu(t){var e=zt();return up(e,ht,t)}function up(t,e,n){var i=t.queue;if(i===null)throw Error(C(311));i.lastRenderedReducer=n;var a=t.baseQueue,o=i.pending;if(o!==null){if(a!==null){var r=a.next;a.next=o.next,o.next=r}e.baseQueue=a=o,i.pending=null}if(o=t.baseState,a===null)t.memoizedState=o;else{e=a.next;var l=r=null,s=null,c=e,u=!1;do{var f=c.lane&-536870913;if(f!==c.lane?(F&f)===f:(Jn&f)===f){var m=c.revertLane;if(m===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===ya&&(u=!0);else if((Jn&m)===m){c=c.next,m===ya&&(u=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},s===null?(l=s=f,r=o):s=s.next=f,j.lanes|=m,Li|=m;f=c.action,xa&&n(o,f),o=c.hasEagerState?c.eagerState:n(o,f)}else m={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},s===null?(l=s=m,r=o):s=s.next=m,j.lanes|=f,Li|=f;c=c.next}while(c!==null&&c!==e);if(s===null?r=o:s.next=l,!qe(o,t.memoizedState)&&(Lt=!0,u&&(n=To,n!==null)))throw n;t.memoizedState=o,t.baseState=r,t.baseQueue=s,i.lastRenderedState=o}return a===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}function sm(t){var e=zt(),n=e.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=t;var{dispatch:i,pending:a}=n,o=e.memoizedState;if(a!==null){n.pending=null;var r=a=a.next;do o=t(o,r.action),r=r.next;while(r!==a);qe(o,e.memoizedState)||(Lt=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,i]}function Dv(t,e,n){var i=j,a=zt(),o=X;if(o){if(n===void 0)throw Error(C(407));n=n()}else n=e();var r=!qe((ht||a).memoizedState,n);if(r&&(a.memoizedState=n,Lt=!0),a=a.queue,cp(_v.bind(null,i,a,t),[t]),t=a.getSnapshot!==e||r||Ut!==null&&(Ut.memoizedState.tag&1)!==0,zo(t?9:8,{destroy:void 0},Rv.bind(null,i,a,n,e),null),t){if(i.flags|=2048,yt===null)throw Error(C(349));o||(Jn&127)!==0||zv(i,e,n)}return n}function zv(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=j.updateQueue,e===null?(e=rc(),j.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Rv(t,e,n,i){e.value=n,e.getSnapshot=i,Bv(e)&&Uv(t)}function _v(t,e,n){return n(function(){Bv(e)&&Uv(t)})}function Bv(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!qe(t,n)}catch(i){return!0}}function Uv(t){var e=Aa(t,2);e!==null&&Ae(e,t,2)}function Jm(t){var e=ye();if(typeof t==="function"){var n=t;if(t=n(),xa){vi(!0);try{n()}finally{vi(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pn,lastRenderedState:t},e}function Hv(t,e,n,i){return t.baseState=n,up(t,ht,typeof i==="function"?i:Pn)}function l2(t,e,n,i,a){if(uc(t))throw Error(C(485));if(t=e.action,t!==null){var o={payload:a,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(r){o.listeners.push(r)}};B.T!==null?n(!0):o.isTransition=!1,i(o),n=e.pending,n===null?(o.next=e.pending=o,Lv(e,o)):(o.next=n.next,e.pending=n.next=o)}}function Lv(t,e){var{action:n,payload:i}=e,a=t.state;if(e.isTransition){var o=B.T,r={};r.types=o!==null?o.types:null,B.T=r;try{var l=n(a,i),s=B.S;s!==null&&s(r,l),Cy(t,e,l)}catch(c){Pm(t,e,c)}finally{o!==null&&r.types!==null&&(o.types=r.types),B.T=o}}else try{o=n(a,i),Cy(t,e,o)}catch(c){Pm(t,e,c)}}function Cy(t,e,n){n!==null&&typeof n==="object"&&typeof n.then==="function"?n.then(function(i){Oy(t,e,i)},function(i){return Pm(t,e,i)}):Oy(t,e,n)}function Oy(t,e,n){e.status="fulfilled",e.value=n,Gv(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Lv(t,n)))}function Pm(t,e,n){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=n,Gv(e),e=e.next;while(e!==i)}t.action=null}function Gv(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function jv(t,e){return e}function Ny(t,e){if(X){var n=yt.formState;if(n!==null){t:{var i=j;if(X){if(St){e:{var a=St;for(var o=tn;a.nodeType!==8;){if(!o){a=null;break e}if(a=en(a.nextSibling),a===null){a=null;break e}}o=a.data,a=o==="F!"||o==="F"?a:null}if(a){St=en(a.nextSibling),i=a.data==="F!";break t}}Bi(i)}i=!1}i&&(e=n[0])}}return n=ye(),n.memoizedState=n.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jv,lastRenderedState:e},n.queue=i,n=n1.bind(null,j,i),i.dispatch=n,i=Jm(!1),o=pp.bind(null,j,!1,i.queue),i=ye(),a={state:e,dispatch:null,action:t,pending:null},i.queue=a,n=l2.bind(null,j,a,o,n),a.dispatch=n,i.memoizedState=t,[e,n,!1]}function Vy(t){var e=zt();return qv(e,ht,t)}function qv(t,e,n){if(e=up(t,e,jv)[0],t=cu(Pn)[0],typeof e==="object"&&e!==null&&typeof e.then==="function")try{var i=Rl(e)}catch(r){if(r===Ko)throw oc;throw r}else i=e;e=zt();var a=e.queue,o=a.dispatch;return n!==e.memoizedState&&(j.flags|=2048,zo(9,{destroy:void 0},s2.bind(null,a,n),null)),[i,o,t]}function s2(t,e){t.action=e}function Dy(t){var e=zt(),n=ht;if(n!==null)return qv(e,n,t);zt(),e=e.memoizedState,n=zt();var i=n.queue.dispatch;return n.memoizedState=t,[e,i,!1]}function zo(t,e,n,i){return t={tag:t,create:n,deps:i,inst:e,next:null},e=j.updateQueue,e===null&&(e=rc(),j.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(i=n.next,n.next=t,t.next=i,e.lastEffect=t),t}function Yv(){return zt().memoizedState}function fu(t,e,n,i){var a=ye();j.flags|=t,a.memoizedState=zo(1|e,{destroy:void 0},n,i===void 0?null:i)}function sc(t,e,n,i){var a=zt();i=i===void 0?null:i;var o=a.memoizedState.inst;ht!==null&&i!==null&&ip(i,ht.memoizedState.deps)?a.memoizedState=zo(e,o,n,i):(j.flags|=t,a.memoizedState=zo(1|e,o,n,i))}function zy(t,e){fu(8390656,8,t,e)}function cp(t,e){sc(2048,8,t,e)}function u2(t){j.flags|=4;var e=j.updateQueue;if(e===null)e=rc(),j.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Xv(t){var e=zt().memoizedState;return u2({ref:e,nextImpl:t}),function(){if((at&2)!==0)throw Error(C(440));return e.impl.apply(void 0,arguments)}}function Kv(t,e){return sc(4,2,t,e)}function Zv(t,e){return sc(4,4,t,e)}function Qv(t,e){if(typeof e==="function"){t=t();var n=e(t);return function(){typeof n==="function"?n():e(null)}}if(e!==null&&e!==void 0)return t=t(),e.current=t,function(){e.current=null}}function kv(t,e,n){n=n!==null&&n!==void 0?n.concat([t]):null,sc(4,4,Qv.bind(null,e,t),n)}function fp(){}function $v(t,e){var n=zt();e=e===void 0?null:e;var i=n.memoizedState;if(e!==null&&ip(e,i[1]))return i[0];return n.memoizedState=[t,e],t}function Fv(t,e){var n=zt();e=e===void 0?null:e;var i=n.memoizedState;if(e!==null&&ip(e,i[1]))return i[0];if(i=t(),xa){vi(!0);try{t()}finally{vi(!1)}}return n.memoizedState=[i,e],i}function mp(t,e,n){if(n===void 0||(Jn&1073741824)!==0&&(F&261930)===0)return t.memoizedState=e;return t.memoizedState=n,t=q1(),j.lanes|=t,Li|=t,n}function Jv(t,e,n,i){if(qe(n,e))return n;if(Ui.current!==null)return t=mp(t,n,i),qe(t,e)||(Lt=!0),t;if((Jn&106)===0||(Jn&1073741824)!==0&&(F&261930)===0)return Lt=!0,t.memoizedState=n;return t=q1(),j.lanes|=t,Li|=t,e}function Pv(t,e,n,i,a){var o=ot.p;ot.p=o!==0&&8>o?o:8;var r=B.T,l={};l.types=r!==null?r.types:null,B.T=l,pp(t,!1,e,n);try{var s=a(),c=B.S;if(c!==null&&c(l,s),s!==null&&typeof s==="object"&&typeof s.then==="function"){var u=a2(s,i);al(t,e,u,je(t))}else al(t,e,i,je(t))}catch(f){al(t,e,{then:function(){},status:"rejected",reason:f},je())}finally{ot.p=o,r!==null&&l.types!==null&&(r.types=l.types),B.T=r}}function c2(){}function Im(t,e,n,i){if(t.tag!==5)throw Error(C(476));var a=Iv(t).queue;Pv(t,a,e,ua,n===null?c2:function(){return Wv(t),n(i)})}function Iv(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:ua,baseState:ua,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pn,lastRenderedState:ua},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Wv(t){var e=Iv(t);e.next===null&&(e=t.alternate.memoizedState),al(t,e.next.queue,{},je())}function dp(){return Pt(Go)}function t1(){return zt().memoizedState}function e1(){return zt().memoizedState}function f2(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=je();t=wi(n);var i=Ci(e,t,n);i!==null&&(Ae(i,e,n),el(i,e,n)),e={cache:Pd()},t.payload=e;return}e=e.return}}function m2(t,e,n){var i=je();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},uc(t)?i1(e,n):(n=$d(t,e,n,i),n!==null&&(Ae(n,t,i),a1(n,e,i)))}function n1(t,e,n){var i=je();al(t,e,n,i)}function al(t,e,n,i){var a={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(uc(t))i1(e,a);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var r=e.lastRenderedState,l=o(r,n);if(a.hasEagerState=!0,a.eagerState=l,qe(l,r))return ic(t,e,a,0),yt===null&&nc(),!1}catch(s){}finally{}if(n=$d(t,e,a,i),n!==null)return Ae(n,t,i),a1(n,e,i),!0}return!1}function pp(t,e,n,i){if(i={lane:2,revertLane:Ap(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},uc(t)){if(e)throw Error(C(479))}else e=$d(t,n,i,2),e!==null&&Ae(e,t,2)}function uc(t){var e=t.alternate;return t===j||e!==null&&e===j}function i1(t,e){Mo=Bu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function a1(t,e,n){if((n&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Y0(t,n)}}var Hu={readContext:Pt,use:lc,useCallback:Nt,useContext:Nt,useEffect:Nt,useImperativeHandle:Nt,useLayoutEffect:Nt,useInsertionEffect:Nt,useMemo:Nt,useReducer:Nt,useRef:Nt,useState:Nt,useDebugValue:Nt,useDeferredValue:Nt,useTransition:Nt,useSyncExternalStore:Nt,useId:Nt,useHostTransitionStatus:Nt,useFormState:Nt,useActionState:Nt,useOptimistic:Nt,useMemoCache:Nt,useCacheRefresh:Nt,useEffectEvent:Nt},o1={readContext:Pt,use:lc,useCallback:function(t,e){return ye().memoizedState=[t,e===void 0?null:e],t},useContext:Pt,useEffect:zy,useImperativeHandle:function(t,e,n){n=n!==null&&n!==void 0?n.concat([t]):null,fu(4194308,4,Qv.bind(null,e,t),n)},useLayoutEffect:function(t,e){return fu(4194308,4,t,e)},useInsertionEffect:function(t,e){fu(4,2,t,e)},useMemo:function(t,e){var n=ye();e=e===void 0?null:e;var i=t();if(xa){vi(!0);try{t()}finally{vi(!1)}}return n.memoizedState=[i,e],i},useReducer:function(t,e,n){var i=ye();if(n!==void 0){var a=n(e);if(xa){vi(!0);try{n(e)}finally{vi(!1)}}}else a=e;return i.memoizedState=i.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},i.queue=t,t=t.dispatch=m2.bind(null,j,t),[i.memoizedState,t]},useRef:function(t){var e=ye();return t={current:t},e.memoizedState=t},useState:function(t){t=Jm(t);var e=t.queue,n=n1.bind(null,j,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:fp,useDeferredValue:function(t,e){var n=ye();return mp(n,t,e)},useTransition:function(){var t=Jm(!1);return t=Pv.bind(null,j,t.queue,!0,!1),ye().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var i=j,a=ye();if(X){if(n===void 0)throw Error(C(407));n=n()}else{if(n=e(),yt===null)throw Error(C(349));(F&127)!==0||zv(i,e,n)}a.memoizedState=n;var o={value:n,getSnapshot:e};return a.queue=o,zy(_v.bind(null,i,o,t),[t]),i.flags|=2048,zo(9,{destroy:void 0},Rv.bind(null,i,o,n,e),null),n},useId:function(){var t=ye(),e=yt.identifierPrefix;if(X){var n=On,i=Cn;n=(i&~(1<<32-Ge(i)-1)).toString(32)+n,e="_"+e+"R_"+n,n=Uu++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=o2++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:dp,useFormState:Ny,useActionState:Ny,useOptimistic:function(t){var e=ye();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=pp.bind(null,j,!0,n),n.dispatch=e,[t,e]},useMemoCache:sp,useCacheRefresh:function(){return ye().memoizedState=f2.bind(null,j)},useEffectEvent:function(t){var e=ye(),n={impl:t};return e.memoizedState=n,function(){if((at&2)!==0)throw Error(C(440));return n.impl.apply(void 0,arguments)}}},r1={readContext:Pt,use:lc,useCallback:$v,useContext:Pt,useEffect:cp,useImperativeHandle:kv,useInsertionEffect:Kv,useLayoutEffect:Zv,useMemo:Fv,useReducer:cu,useRef:Yv,useState:function(){return cu(Pn)},useDebugValue:fp,useDeferredValue:function(t,e){var n=zt();return Jv(n,ht.memoizedState,t,e)},useTransition:function(){var t=cu(Pn)[0],e=zt().memoizedState;return[typeof t==="boolean"?t:Rl(t),e]},useSyncExternalStore:Dv,useId:t1,useHostTransitionStatus:dp,useFormState:Vy,useActionState:Vy,useOptimistic:function(t,e){var n=zt();return Hv(n,ht,t,e)},useMemoCache:sp,useCacheRefresh:e1,useEffectEvent:Xv},d2={readContext:Pt,use:lc,useCallback:$v,useContext:Pt,useEffect:cp,useImperativeHandle:kv,useInsertionEffect:Kv,useLayoutEffect:Zv,useMemo:Fv,useReducer:sm,useRef:Yv,useState:function(){return sm(Pn)},useDebugValue:fp,useDeferredValue:function(t,e){var n=zt();return ht===null?mp(n,t,e):Jv(n,ht.memoizedState,t,e)},useTransition:function(){var t=sm(Pn)[0],e=zt().memoizedState;return[typeof t==="boolean"?t:Rl(t),e]},useSyncExternalStore:Dv,useId:t1,useHostTransitionStatus:dp,useFormState:Dy,useActionState:Dy,useOptimistic:function(t,e){var n=zt();if(ht!==null)return Hv(n,ht,t,e);return n.baseState=t,[t,n.queue.dispatch]},useMemoCache:sp,useCacheRefresh:e1,useEffectEvent:Xv};function um(t,e,n,i){e=t.memoizedState,n=n(i,e),n=n===null||n===void 0?e:vt({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Wm={enqueueSetState:function(t,e,n){t=t._reactInternals;var i=je(),a=wi(i);a.payload=e,n!==void 0&&n!==null&&(a.callback=n),e=Ci(t,a,i),e!==null&&(Ae(e,t,i),el(e,t,i))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var i=je(),a=wi(i);a.tag=1,a.payload=e,n!==void 0&&n!==null&&(a.callback=n),e=Ci(t,a,i),e!==null&&(Ae(e,t,i),el(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=je(),i=wi(n);i.tag=2,e!==void 0&&e!==null&&(i.callback=e),e=Ci(t,i,n),e!==null&&(Ae(e,t,n),el(e,t,n))}};function Ry(t,e,n,i,a,o,r){return t=t.stateNode,typeof t.shouldComponentUpdate==="function"?t.shouldComponentUpdate(i,o,r):e.prototype&&e.prototype.isPureReactComponent?!dl(n,i)||!dl(a,o):!0}function _y(t,e,n,i){t=e.state,typeof e.componentWillReceiveProps==="function"&&e.componentWillReceiveProps(n,i),typeof e.UNSAFE_componentWillReceiveProps==="function"&&e.UNSAFE_componentWillReceiveProps(n,i),e.state!==t&&Wm.enqueueReplaceState(e,e.state,null)}function ba(t,e){var n=e;if("ref"in e){n={};for(var i in e)i!=="ref"&&(n[i]=e[i])}if(t=t.defaultProps){n===e&&(n=vt({},n));for(var a in t)n[a]===void 0&&(n[a]=t[a])}return n}function l1(t){Cu(t)}function s1(t){console.error(t)}function u1(t){Cu(t)}function Lu(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(i){setTimeout(function(){throw i})}}function By(t,e,n){try{var i=t.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function td(t,e,n){return n=wi(n),n.tag=3,n.payload={element:null},n.callback=function(){Lu(t,e)},n}function c1(t){return t=wi(t),t.tag=3,t}function f1(t,e,n,i){var a=n.type.getDerivedStateFromError;if(typeof a==="function"){var o=i.value;t.payload=function(){return a(o)},t.callback=function(){By(e,n,i)}}var r=n.stateNode;r!==null&&typeof r.componentDidCatch==="function"&&(t.callback=function(){By(e,n,i),typeof a!=="function"&&(Vi===null?Vi=new Set([this]):Vi.add(this));var l=i.stack;this.componentDidCatch(i.value,{componentStack:l!==null?l:""})})}function p2(t,e,n,i,a){if(n.flags|=32768,i!==null&&typeof i==="object"&&typeof i.then==="function"){if(e=n.alternate,e!==null&&ha(e,n,a,!0),n=ee.current,n!==null){switch(n.tag){case 31:case 13:case 19:return ce===null?Qu():n.alternate===null&&Vt===0&&(Vt=3),n.flags&=-257,n.flags|=65536,n.lanes=a,i===zu?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([i]):e.add(i),gm(t,i,a)),!1;case 22:return n.flags|=65536,i===zu?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([i]):n.add(i)),gm(t,i,a)),!1}throw Error(C(435,n.tag))}return gm(t,i,a),Qu(),!1}if(X)return e=ee.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,i!==Ym&&(t=Error(C(422),{cause:i}),hl(We(t,n)))):(i!==Ym&&(e=Error(C(423),{cause:i}),hl(We(e,n))),t=t.current.alternate,t.flags|=65536,a&=-a,t.lanes|=a,i=We(i,n),a=td(t.stateNode,i,a),lm(t,a),Vt!==4&&(Vt=2)),!1;var o=Error(C(520),{cause:i});if(o=We(o,n),sl===null?sl=[o]:sl.push(o),Vt!==4&&(Vt=2),e===null)return!0;i=We(i,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=a&-a,n.lanes|=t,t=td(n.stateNode,i,t),lm(n,t),!1;case 1:if(e=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError==="function"||o!==null&&typeof o.componentDidCatch==="function"&&(Vi===null||!Vi.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=c1(a),f1(a,t,n,i),lm(n,a),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var hp=Error(C(461)),Lt=!1;function Gt(t,e,n,i){e.child=t===null?Av(e,null,n,i):va(e,t.child,n,i)}function Uy(t,e,n,i,a){n=n.render;var o=e.ref;if("ref"in i){var r={};for(var l in i)l!=="ref"&&(r[l]=i[l])}else r=i;if(ga(e),i=ap(t,e,n,r,o,a),l=op(),t!==null&&!Lt)return rp(t,e,a),In(t,e,a);return X&&l&&ac(e),e.flags|=1,Gt(t,e,i,a),e.child}function Hy(t,e,n,i,a){if(t===null){var o=n.type;if(typeof o==="function"&&!Fd(o)&&o.defaultProps===void 0&&n.compare===null)return e.tag=15,e.type=o,m1(t,e,o,i,a);return t=lu(n.type,null,i,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t}if(o=t.child,!yp(t,a)){var r=o.memoizedProps;if(n=n.compare,n=n!==null?n:dl,n(r,i)&&t.ref===e.ref)return In(t,e,a)}return e.flags|=1,t=Qn(o,i),t.ref=e.ref,t.return=e,e.child=t}function m1(t,e,n,i,a){if(t!==null){var o=t.memoizedProps;if(dl(o,i)&&t.ref===e.ref)if(Lt=!1,e.pendingProps=i=o,yp(t,a))(t.flags&131072)!==0&&(Lt=!0);else return e.lanes=t.lanes,In(t,e,a)}return ed(t,e,n,i,a)}function d1(t,e,n,i){var a=i.children,o=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((e.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,t!==null){i=e.child=t.child;for(a=0;i!==null;)a=a|i.lanes|i.childLanes,i=i.sibling;i=a&~o}else i=0,e.child=null;return Ly(t,e,o,n,i)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&uu(e,o!==null?o.cachePool:null),o!==null?wy(e,o):$m(),Ov(e);else return i=e.lanes=536870912,Ly(t,e,o!==null?o.baseLanes|n:n,n,i)}else o!==null?(uu(e,o.cachePool),wy(e,o),Ni(),e.memoizedState=null):(t!==null&&uu(e,null),$m(),Ni());return Gt(t,e,a,n),e.child}function ol(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Ly(t,e,n,i,a){var o=Id();return o=o===null?null:{parent:Ht._currentValue,pool:o},e.memoizedState={baseLanes:n,cachePool:o},t!==null&&uu(e,null),$m(),Ov(e),t!==null&&ha(t,e,i,!0),e.childLanes=a,null}function mu(t,e){return e=cc({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Gy(t,e,n){return va(e,t.child,null,n),t=mu(e,e.pendingProps),t.flags|=2,_e(e),e.memoizedState=null,t}function h2(t,e,n){var i=e.pendingProps,a=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(X){if(i.mode==="hidden")return t=mu(e,i),e.lanes=536870912,t.memoizedState={baseLanes:0,cachePool:null},ol(null,t);if(Fm(e),(t=St)?(t=dx(t,tn),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:_i!==null?{id:Cn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},n=vv(t),n.return=e,e.child=n,kt=e,St=null)):t=null,t===null)throw Bi(e);return e.lanes=536870912,null}return mu(e,i)}var o=t.memoizedState;if(o!==null){var r=o.dehydrated;if(Fm(e),a)if(e.flags&256)e.flags&=-257,e=Gy(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(C(558));else if(Lt||ha(t,e,n,!1),a=(n&t.childLanes)!==0,Lt||a){if(Ui.current===null){if(i=yt,i!==null&&(r=X0(i,n),r!==0&&r!==o.retryLane))throw o.retryLane=r,Aa(t,r),Ae(i,t,r),hp;Qu()}e=Gy(t,e,n)}else t=o.treeContext,St=en(r.nextSibling),kt=e,X=!0,Ai=null,tn=!1,t!==null&&bv(e,t),e=mu(e,i),e.flags|=134221824;return e}return t=Qn(t.child,{mode:i.mode,children:i.children}),t.ref=e.ref,e.child=t,t.return=e,t}function no(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!=="function"&&typeof n!=="object")throw Error(C(284));if(t===null||t.ref!==n)e.flags|=4194816}}function ed(t,e,n,i,a){if(ga(e),n=ap(t,e,n,i,void 0,a),i=op(),t!==null&&!Lt)return rp(t,e,a),In(t,e,a);return X&&i&&ac(e),e.flags|=1,Gt(t,e,n,a),e.child}function jy(t,e,n,i,a,o){if(ga(e),e.updateQueue=null,n=Vv(e,i,n,a),Nv(t),i=op(),t!==null&&!Lt)return rp(t,e,o),In(t,e,o);return X&&i&&ac(e),e.flags|=1,Gt(t,e,n,o),e.child}function qy(t,e,n,i,a){if(ga(e),e.stateNode===null){var o=ho,r=n.contextType;typeof r==="object"&&r!==null&&(o=Pt(r)),o=new n(i,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Wm,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=i,o.state=e.memoizedState,o.refs={},tp(e),r=n.contextType,o.context=typeof r==="object"&&r!==null?Pt(r):ho,o.state=e.memoizedState,r=n.getDerivedStateFromProps,typeof r==="function"&&(um(e,n,r,i),o.state=e.memoizedState),typeof n.getDerivedStateFromProps==="function"||typeof o.getSnapshotBeforeUpdate==="function"||typeof o.UNSAFE_componentWillMount!=="function"&&typeof o.componentWillMount!=="function"||(r=o.state,typeof o.componentWillMount==="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==="function"&&o.UNSAFE_componentWillMount(),r!==o.state&&Wm.enqueueReplaceState(o,o.state,null),il(e,i,o,a),nl(),o.state=e.memoizedState),typeof o.componentDidMount==="function"&&(e.flags|=4194308),i=!0}else if(t===null){o=e.stateNode;var l=e.memoizedProps,s=ba(n,l);o.props=s;var c=o.context,u=n.contextType;r=ho,typeof u==="object"&&u!==null&&(r=Pt(u));var f=n.getDerivedStateFromProps;u=typeof f==="function"||typeof o.getSnapshotBeforeUpdate==="function",l=e.pendingProps!==l,u||typeof o.UNSAFE_componentWillReceiveProps!=="function"&&typeof o.componentWillReceiveProps!=="function"||(l||c!==r)&&_y(e,o,i,r),gi=!1;var m=e.memoizedState;o.state=m,il(e,i,o,a),nl(),c=e.memoizedState,l||m!==c||gi?(typeof f==="function"&&(um(e,n,f,i),c=e.memoizedState),(s=gi||Ry(e,n,s,i,m,c,r))?(u||typeof o.UNSAFE_componentWillMount!=="function"&&typeof o.componentWillMount!=="function"||(typeof o.componentWillMount==="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==="function"&&(e.flags|=4194308)):(typeof o.componentDidMount==="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=c),o.props=i,o.state=c,o.context=r,i=s):(typeof o.componentDidMount==="function"&&(e.flags|=4194308),i=!1)}else{o=e.stateNode,Qm(t,e),r=e.memoizedProps,u=ba(n,r),o.props=u,f=e.pendingProps,m=o.context,c=n.contextType,s=ho,typeof c==="object"&&c!==null&&(s=Pt(c)),l=n.getDerivedStateFromProps,(c=typeof l==="function"||typeof o.getSnapshotBeforeUpdate==="function")||typeof o.UNSAFE_componentWillReceiveProps!=="function"&&typeof o.componentWillReceiveProps!=="function"||(r!==f||m!==s)&&_y(e,o,i,s),gi=!1,m=e.memoizedState,o.state=m,il(e,i,o,a),nl();var d=e.memoizedState;r!==f||m!==d||gi||t!==null&&t.dependencies!==null&&Du(t.dependencies)?(typeof l==="function"&&(um(e,n,l,i),d=e.memoizedState),(u=gi||Ry(e,n,u,i,m,d,s)||t!==null&&t.dependencies!==null&&Du(t.dependencies))?(c||typeof o.UNSAFE_componentWillUpdate!=="function"&&typeof o.componentWillUpdate!=="function"||(typeof o.componentWillUpdate==="function"&&o.componentWillUpdate(i,d,s),typeof o.UNSAFE_componentWillUpdate==="function"&&o.UNSAFE_componentWillUpdate(i,d,s)),typeof o.componentDidUpdate==="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate==="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!=="function"||r===t.memoizedProps&&m===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!=="function"||r===t.memoizedProps&&m===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=d),o.props=i,o.state=d,o.context=s,i=u):(typeof o.componentDidUpdate!=="function"||r===t.memoizedProps&&m===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!=="function"||r===t.memoizedProps&&m===t.memoizedState||(e.flags|=1024),i=!1)}return o=i,no(t,e),i=(e.flags&128)!==0,o||i?(o=e.stateNode,n=i&&typeof n.getDerivedStateFromError!=="function"?null:o.render(),e.flags|=1,t!==null&&i?(e.child=va(e,t.child,null,a),e.child=va(e,null,n,a)):Gt(t,e,n,a),e.memoizedState=o.state,t=e.child):t=In(t,e,a),t}function Yy(t,e,n,i){return pa(),e.flags|=256,Gt(t,e,n,i),e.child}var nd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function id(t){return{baseLanes:t,cachePool:Tv()}}function ad(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Ue),t}function p1(t,e,n){var i=e.pendingProps,a=!1,o=(e.flags&128)!==0,r;if((r=o)||(r=t!==null&&t.memoizedState===null?!1:(Wt.current&2)!==0),r&&(a=!0,e.flags&=-129),r=(e.flags&32)!==0,e.flags&=-33,t===null){if(X){if(a?Oi(e):Ni(),(t=St)?(t=dx(t,tn),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:_i!==null?{id:Cn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},n=vv(t),n.return=e,e.child=n,kt=e,St=null)):t=null,t===null)throw Bi(e);return Np(t)?e.lanes=32:e.lanes=536870912,null}if(o=i.children,i=i.fallback,a)return Ni(),a=e.mode,o=cc({mode:"hidden",children:o},a),i=ca(i,a,n,null),o.return=e,i.return=e,o.sibling=i,e.child=o,i=e.child,i.memoizedState=id(n),i.childLanes=ad(t,r,n),e.memoizedState=nd,ol(null,i);return Oi(e),gp(e,o)}var l=t.memoizedState;if(l!==null){var s=l.dehydrated;if(s!==null)return g2(t,e,o,r,i,s,l,n)}if(a)return Ni(),a=i.fallback,o=e.mode,l=t.child,s=l.sibling,i=Qn(l,{mode:"hidden",children:i.children}),i.subtreeFlags=l.subtreeFlags&1206910976,s!==null?a=Qn(s,a):(a=ca(a,o,n,null),a.flags|=2),a.return=e,i.return=e,i.sibling=a,e.child=i,ol(null,i),i=e.child,a=t.child.memoizedState,a===null?a=id(n):(o=a.cachePool,o!==null?(l=Ht._currentValue,o=o.parent!==l?{parent:l,pool:l}:o):o=Tv(),a={baseLanes:a.baseLanes|n,cachePool:o}),i.memoizedState=a,i.childLanes=ad(t,r,n),e.memoizedState=nd,ol(t.child,i);return Oi(e),n=t.child,t=n.sibling,n=Qn(n,{mode:"visible",children:i.children}),n.return=e,n.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n,e.memoizedState=null,n}function gp(t,e){return e=cc({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function cc(t,e){return t=Me(22,t,null,e),t.lanes=0,t}function $s(t,e,n){return va(e,t.child,null,n),t=gp(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function g2(t,e,n,i,a,o,r,l){if(n){if(e.flags&256)return Oi(e),e.flags&=-257,$s(t,e,l);if(e.memoizedState!==null)return Ni(),e.child=t.child,e.flags|=128,null;return Ni(),o=a.fallback,r=e.mode,a=cc({mode:"visible",children:a.children},r),o=ca(o,r,l,null),o.flags|=2,a.return=e,o.return=e,a.sibling=o,e.child=a,va(e,t.child,null,l),a=e.child,a.memoizedState=id(l),a.childLanes=ad(t,i,l),e.memoizedState=nd,ol(null,a)}if(Oi(e),Np(o)){if(i=o.nextSibling&&o.nextSibling.dataset,i)var s=i.dgst;return i=s,i!==""&&(a=Error(C(419)),a.stack="",a.digest=i,hl({value:a,source:null,stack:null})),$s(t,e,l)}if(Lt||ha(t,e,l,!1),i=(l&t.childLanes)!==0,Lt||i){if(Ui.current!==null)return $s(t,e,l);if(i=yt,i!==null&&(a=X0(i,l),a!==0&&a!==r.retryLane))throw r.retryLane=a,Aa(t,a),Ae(i,t,a),hp;return Dd(o)||Qu(),$s(t,e,l)}if(Dd(o))return e.flags|=192,e.child=t.child,null;return t=r.treeContext,St=en(o.nextSibling),kt=e,X=!0,Ai=null,tn=!1,t!==null&&bv(e,t),e=gp(e,a.children),e.flags|=134221824,e}function Xy(t,e,n){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),su(t.return,e,n)}function Ky(t){for(var e=null;t!==null;){var n=t.alternate;n!==null&&_u(n)===null&&(e=t),t=t.sibling}return e}function Fs(t,e,n,i,a,o){var r=t.memoizedState;r===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:a,treeForkCount:o}:(r.isBackwards=e,r.rendering=null,r.renderingStartTime=0,r.last=i,r.tail=n,r.tailMode=a,r.treeForkCount=o)}function cm(t){var e=t.child;for(t.child=null;e!==null;){var n=e.sibling;e.sibling=t.child,t.child=e,e=n}}function od(t,e,n){var i=e.pendingProps,a=i.revealOrder,o=i.tail;i=i.children;var r=Wt.current;if(e.flags&128)return yl(e,r),null;var l=(r&2)!==0;if(l?(r=r&1|2,e.flags|=128):r&=1,yl(e,r),a==="backwards"&&t!==null?(cm(t),Gt(t,e,i,n),cm(t)):Gt(t,e,i,n),i=X?pl:0,!l&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Xy(t,n,e);else if(t.tag===19)Xy(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(a){case"backwards":n=Ky(e.child),n===null?(a=e.child,e.child=null):(a=n.sibling,n.sibling=null,cm(e)),Fs(e,!0,a,null,o,i);break;case"unstable_legacy-backwards":n=null,a=e.child;for(e.child=null;a!==null;){if(t=a.alternate,t!==null&&_u(t)===null){e.child=a;break}t=a.sibling,a.sibling=n,n=a,a=t}Fs(e,!0,n,null,o,i);break;case"together":Fs(e,!1,null,null,void 0,i);break;case"independent":e.memoizedState=null;break;default:n=Ky(e.child),n===null?(a=e.child,e.child=null):(a=n.sibling,n.sibling=null),Fs(e,!1,a,n,o,i)}return e.child}function Zy(t,e,n){var i=e.pendingProps;return bi(e,e.type,i.value),Gt(t,e,i.children,n),e.child}function In(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Li|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(ha(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(C(153));if(e.child!==null){t=e.child,n=Qn(t,t.pendingProps),e.child=n;for(n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Qn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function yp(t,e){if((t.lanes&e)!==0)return!0;return t=t.dependencies,t!==null&&Du(t)?!0:!1}function y2(t,e,n){switch(e.tag){case 3:Eu(e,e.stateNode.containerInfo),bi(e,Ht,t.memoizedState.cache),pa();break;case 27:case 5:zm(e);break;case 4:Eu(e,e.stateNode.containerInfo);break;case 10:bi(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Fm(e),null;break;case 13:var i=e.memoizedState;if(i!==null){if(i.dehydrated!==null)return Oi(e),e.flags|=128,null;i=ha(t,e,n,!1);var a=e.child.childLanes;if(i||(n&a)!==0)return p1(t,e,n);return Oi(e),t=In(t,e,n),t!==null?t.sibling:null}Oi(e);break;case 19:if(e.flags&128)return od(t,e,n);if(a=(t.flags&128)!==0,i=(n&e.childLanes)!==0,i||(ha(t,e,n,!1),i=(n&e.childLanes)!==0),a){if(i)return od(t,e,n);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),yl(e,Wt.current),i)break;else return null;case 22:return e.lanes=0,d1(t,e,n,e.pendingProps);case 24:bi(e,Ht,t.memoizedState.cache)}return In(t,e,n)}function h1(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Lt=!0;else{if(!yp(t,n)&&(e.flags&128)===0)return Lt=!1,y2(t,e,n);Lt=(t.flags&131072)!==0?!0:!1}else Lt=!1,X&&(e.flags&1048576)!==0&&xv(e,pl,e.index);switch(e.lanes=0,e.tag){case 16:t:{var i=e.pendingProps;if(t=oa(e.elementType),e.type=t,typeof t==="function")Fd(t)?(i=ba(t,i),e.tag=1,e=qy(null,e,t,i,n)):(e.tag=0,e=ed(null,e,t,i,n));else{if(t!==void 0&&t!==null){var a=t.$$typeof;if(a===Ud){e.tag=11,e=Uy(null,e,t,i,n);break t}else if(a===Hd){e.tag=14,e=Hy(null,e,t,i,n);break t}else if(a===An){e.tag=10,e.type=t,e=Zy(null,e,n);break t}}throw e=Vm(t)||t,Error(C(306,e,""))}}return e;case 0:return ed(t,e,e.type,e.pendingProps,n);case 1:return i=e.type,a=ba(i,e.pendingProps),qy(t,e,i,a,n);case 3:t:{if(Eu(e,e.stateNode.containerInfo),t===null)throw Error(C(387));i=e.pendingProps;var o=e.memoizedState;a=o.element,Qm(t,e),il(e,i,null,n);var r=e.memoizedState;if(i=r.cache,bi(e,Ht,i),i!==o.cache&&Km(e,[Ht],n,!0),nl(),i=r.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:r.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=Yy(t,e,i,n);break t}else if(i!==a){a=We(Error(C(424)),e),hl(a),e=Yy(t,e,i,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}St=en(t.firstChild),kt=e,X=!0,Ai=null,tn=!0,n=Av(e,null,i,n);for(e.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(pa(),i===a){e=In(t,e,n);break t}Gt(t,e,i,n)}e=e.child}return e;case 26:return no(t,e),t===null?(n=g0(e.type,null,e.pendingProps,null))?e.memoizedState=n:X||(e.stateNode=ax(e.type,e.pendingProps,Mi.current,e)):e.memoizedState=g0(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return zm(e),t===null&&X&&(i=e.stateNode=px(e.type,e.pendingProps,Mi.current),kt=e,tn=!0,a=St,ji(e.type)?(zd=a,St=en(i.firstChild)):St=a),Gt(t,e,e.pendingProps.children,n),no(t,e),t===null&&(e.flags|=4194304),e.child;case 5:if(t===null&&X){if(a=i=St)i=uA(i,e.type,e.pendingProps,tn),i!==null?(e.stateNode=i,kt=e,St=en(i.firstChild),tn=!1,a=!0):a=!1;a||Bi(e)}return zm(e),a=e.type,o=e.pendingProps,r=t!==null?t.memoizedProps:null,i=o.children,Od(a,o)?i=null:r!==null&&Od(a,r)&&(e.flags|=32),e.memoizedState!==null&&(a=ap(t,e,r2,null,null,n),Go._currentValue=a),no(t,e),Gt(t,e,i,n),e.child;case 6:if(t===null&&X){if(t=n=St)n=cA(n,e.pendingProps,tn),n!==null?(e.stateNode=n,kt=e,St=null,t=!0):t=!1;t||Bi(e)}return null;case 13:return p1(t,e,n);case 4:return Eu(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=va(e,null,i,n):Gt(t,e,i,n),e.child;case 11:return Uy(t,e,e.type,e.pendingProps,n);case 7:return i=e.pendingProps,no(t,e),Gt(t,e,i,n),e.child;case 8:return Gt(t,e,e.pendingProps.children,n),e.child;case 12:return Gt(t,e,e.pendingProps.children,n),e.child;case 10:return Zy(t,e,n);case 9:return a=e.type._context,i=e.pendingProps.children,ga(e),a=Pt(a),i=i(a),e.flags|=1,Gt(t,e,i,n),e.child;case 14:return Hy(t,e,e.type,e.pendingProps,n);case 15:return m1(t,e,e.type,e.pendingProps,n);case 19:return od(t,e,n);case 31:return h2(t,e,n);case 22:return d1(t,e,n,e.pendingProps);case 24:return ga(e),i=Pt(Ht),t===null?(a=Id(),a===null&&(a=yt,o=Pd(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),e.memoizedState={parent:i,cache:a},tp(e),bi(e,Ht,a)):((t.lanes&n)!==0&&(Qm(t,e),il(e,null,null,n),nl()),a=t.memoizedState,o=e.memoizedState,a.parent!==i?(a={parent:i,cache:i},e.memoizedState=a,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=a),bi(e,Ht,i)):(i=o.cache,bi(e,Ht,i),i!==a.cache&&Km(e,[Ht],n,!0))),Gt(t,e,e.pendingProps.children,n),e.child;case 30:return e.stateNode===null&&(e.stateNode={autoName:null,paired:null,clones:null,ref:null}),i=e.pendingProps,i.name!=null&&i.name!=="auto"?e.flags|=t===null?18882560:18874368:X&&ac(e),t!==null&&t.memoizedProps.name!==i.name?e.flags|=4194816:no(t,e),Gt(t,e,i.children,n),e.child;case 29:throw e.pendingProps}throw Error(C(156,e.tag))}function Xn(t){t.flags|=4}function fm(t,e,n,i,a){var o;if(o=(t.mode&32)!==0)o=n===null?x0(e,i):x0(e,i)&&(i.src!==n.src||i.srcSet!==n.srcSet);if(o){if(t.flags|=16777216,(a&335544128)===a)if(t.stateNode.complete)t.flags|=8192;else if(K1())t.flags|=8192;else throw ma=zu,Wd}else t.flags&=-16777217}function Qy(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!vx(e))if(K1())t.flags|=8192;else throw ma=zu,Wd}function Js(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?j0():536870912,t.lanes|=e,Ro|=e)}function Gr(t,e){if(!X)switch(t.tailMode){case"visible":break;case"collapsed":for(var n=t.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null;break;default:e=t.tail;for(n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null}}function bt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,i=0;if(e)for(var a=t.child;a!==null;)n|=a.lanes|a.childLanes,i|=a.subtreeFlags&1206910976,i|=a.flags&1206910976,a.return=t,a=a.sibling;else for(a=t.child;a!==null;)n|=a.lanes|a.childLanes,i|=a.subtreeFlags,i|=a.flags,a.return=t,a=a.sibling;return t.subtreeFlags|=i,t.childLanes=n,e}function v2(t,e,n){var i=e.pendingProps;switch(Jd(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return bt(e),null;case 1:return bt(e),null;case 3:if(n=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),kn(Ht),No(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),t===null||t.child===null)to(e)?Xn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,rm());return bt(e),null;case 26:var{type:a,memoizedState:o}=e;return t===null?(Xn(e),o!==null?(bt(e),Qy(e,o)):(bt(e),fm(e,a,null,i,n))):o?o!==t.memoizedState?(Xn(e),bt(e),Qy(e,o)):(bt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==i&&Xn(e),bt(e),fm(e,a,t,i,n)),null;case 27:if(Mu(e),n=Mi.current,a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&Xn(e);else{if(!i){if(e.stateNode===null)throw Error(C(166));return bt(e),e.subtreeFlags&=-33554433,null}t=Nn.current,to(e)?xy(e,t):(t=px(a,i,n),e.stateNode=t,Xn(e))}return bt(e),e.subtreeFlags&=-33554433,null;case 5:if(Mu(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&Xn(e);else{if(!i){if(e.stateNode===null)throw Error(C(166));return bt(e),e.subtreeFlags&=-33554433,null}if(o=Nn.current,to(e))xy(e,o);else{var r=Sl(Mi.current);switch(o){case 1:o=r.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:o=r.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":o=r.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":o=r.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":o=r.createElement("div"),o.innerHTML="<script></script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof i.is==="string"?r.createElement("select",{is:i.is}):r.createElement("select"),i.multiple?o.multiple=!0:i.size&&(o.size=i.size);break;default:o=typeof i.is==="string"?r.createElement(a,{is:i.is}):r.createElement(a)}}o[Jt]=e,o[Ce]=i;t:for(r=e.child;r!==null;){if(r.tag===5||r.tag===6)o.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break t;for(;r.sibling===null;){if(r.return===null||r.return===e)break t;r=r.return}r.sibling.return=r.return,r=r.sibling}e.stateNode=o;t:switch(te(o,a,i),a){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&Xn(e)}}return bt(e),e.subtreeFlags&=-33554433,fm(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&Xn(e);else{if(typeof i!=="string"&&e.stateNode===null)throw Error(C(166));if(t=Mi.current,to(e)){if(t=e.stateNode,n=e.memoizedProps,i=null,a=kt,a!==null)switch(a.tag){case 27:case 5:i=a.memoizedProps}t[Jt]=e,t=t.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||nx(t.nodeValue,n)?!0:!1,t||Bi(e,!0)}else t=Sl(t).createTextNode(i),t[Jt]=e,e.stateNode=t}return bt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(i=to(e),n!==null){if(t===null){if(!i)throw Error(C(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(C(557));t[Jt]=e}else pa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;bt(e),t=!1}else n=rm(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t){if(e.flags&256)return _e(e),e;return _e(e),null}if((e.flags&128)!==0)throw Error(C(558))}return bt(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=to(e),i!==null&&i.dehydrated!==null){if(t===null){if(!a)throw Error(C(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(C(317));a[Jt]=e}else pa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;bt(e),a=!1}else a=rm(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),a=!0;if(!a){if(e.flags&256)return _e(e),e;return _e(e),null}}if(_e(e),(e.flags&128)!==0)return e.lanes=n,e;return n=i!==null,t=t!==null&&t.memoizedState!==null,n&&(i=e.child,a=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(a=i.alternate.memoizedState.cachePool.pool),o=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),o!==a&&(i.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),Js(e,e.updateQueue),bt(e),null;case 4:return No(),t===null&&wp(e.stateNode.containerInfo),e.flags|=67108864,bt(e),null;case 10:return kn(e.type),bt(e),null;case 19:if(np(e),i=e.memoizedState,i===null)return bt(e),null;if(a=(e.flags&128)!==0,o=i.rendering,o===null)if(a)Gr(i,!1);else{if(Vt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=_u(t),o!==null){e.flags|=128,Gr(i,!1),t=o.updateQueue,e.updateQueue=t,Js(e,t),e.subtreeFlags=0,t=n;for(n=e.child;n!==null;)yv(n,t),n=n.sibling;return yl(e,Wt.current&1|2),X&&Kn(e,i.treeForkCount),e.child}t=t.sibling}i.tail!==null&&He()>Ku&&(e.flags|=128,a=!0,Gr(i,!1),e.lanes=4194304)}else{if(!a)if(t=_u(o),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,Js(e,t),Gr(i,!0),i.tail===null&&i.tailMode!=="collapsed"&&i.tailMode!=="visible"&&!o.alternate&&!X)return bt(e),null}else 2*He()-i.renderingStartTime>Ku&&n!==536870912&&(e.flags|=128,a=!0,Gr(i,!1),e.lanes=4194304);i.isBackwards?(o.sibling=e.child,e.child=o):(t=i.last,t!==null?t.sibling=o:e.child=o,i.last=o)}if(i.tail!==null){t=i.tail;t:{for(n=t;n!==null;){if(n.alternate!==null){n=!1;break t}n=n.sibling}n=!0}return i.rendering=t,i.tail=t.sibling,i.renderingStartTime=He(),t.sibling=null,o=Wt.current,o=a?o&1|2:o&1,i.tailMode==="visible"||i.tailMode==="collapsed"||!n||X?yl(e,o):(n=o,Tt(ee,e),Tt(Wt,n),ce===null&&(ce=e)),X&&Kn(e,i.treeForkCount),t}return bt(e),null;case 22:case 23:return _e(e),ep(),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(n&536870912)!==0&&(e.flags&128)===0&&(bt(e),e.subtreeFlags&6&&(e.flags|=8192)):bt(e),n=e.updateQueue,n!==null&&Js(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==n&&(e.flags|=2048),t!==null&&It(fa),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),kn(Ht),bt(e),null;case 25:return null;case 30:return e.flags|=33554432,bt(e),null}throw Error(C(156,e.tag))}function x2(t,e){switch(Jd(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return kn(Ht),No(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Mu(e),null;case 31:if(e.memoizedState!==null){if(_e(e),e.alternate===null)throw Error(C(340));pa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(_e(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(C(340));pa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return np(e),t=e.flags,t&65536?(e.flags=t&-65537|128,t=e.memoizedState,t!==null&&(t.rendering=null,t.tail=null),e.flags|=4,e):null;case 4:return No(),null;case 10:return kn(e.type),null;case 22:case 23:return _e(e),ep(),t!==null&&It(fa),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return kn(Ht),null;case 25:return null;default:return null}}function g1(t,e){switch(Jd(e),e.tag){case 3:kn(Ht),No();break;case 26:case 27:case 5:Mu(e);break;case 4:No();break;case 31:e.memoizedState!==null&&_e(e);break;case 13:_e(e);break;case 19:np(e);break;case 10:kn(e.type);break;case 22:case 23:_e(e),ep(),t!==null&&It(fa);break;case 24:kn(Ht)}}function _l(t,e){try{var n=e.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var a=i.next;n=a;do{if((n.tag&t)===t){i=void 0;var{create:o,inst:r}=n;i=o(),r.destroy=i}n=n.next}while(n!==a)}}catch(l){mt(e,e.return,l)}}function Hi(t,e,n){try{var i=e.updateQueue,a=i!==null?i.lastEffect:null;if(a!==null){var o=a.next;i=o;do{if((i.tag&t)===t){var r=i.inst,l=r.destroy;if(l!==void 0){r.destroy=void 0,a=e;var s=n,c=l;try{c()}catch(u){mt(a,s,u)}}}i=i.next}while(i!==o)}}catch(u){mt(e,e.return,u)}}function y1(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Cv(e,n)}catch(i){mt(t,t.return,i)}}}function v1(t,e,n){n.props=ba(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(i){mt(t,e,i)}}function En(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:var a=t.stateNode,o=Fn(t.memoizedProps,a);if(a.ref===null||a.ref.name!==o)a.ref=sx(o);i=a.ref;break;case 7:if(t.stateNode===null){var r=new Ye(t);we(t.child,!1,lA,r,void 0,void 0),t.stateNode=r}i=t.stateNode;break;default:i=t.stateNode}typeof n==="function"?t.refCleanup=n(i):n.current=i}}catch(l){mt(t,e,l)}}function Ft(t,e){var{ref:n,refCleanup:i}=t;if(n!==null)if(typeof i==="function")try{i()}catch(a){mt(t,e,a)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n==="function")try{n(null)}catch(a){mt(t,e,a)}else n.current=null}function Gu(t,e){if((t.tag===5||t.tag===27||t.tag===6)&&t.alternate===null&&e!==null)for(var n=0;n<e.length;n++)mx(t.stateNode,e[n])}function ky(t){for(var e=t.return;e!==null;){if(xp(e)&&mx(t.stateNode,e.stateNode),vp(e))break;e=e.return}}function rl(t){for(var e=t.return;e!==null;){if(xp(e)&&sA(t.stateNode,e.stateNode),vp(e))break;e=e.return}}function vp(t){return t.tag===5||t.tag===3||t.tag===27}function xp(t){return t&&t.tag===7&&t.stateNode!==null}function rd(t){var{type:e,memoizedProps:n,stateNode:i}=t;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break t;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(a){mt(t,t.return,a)}}function mm(t,e,n){try{var i=t.stateNode;X2(i,t.type,n,e),i[Ce]=e}catch(a){mt(t,t.return,a)}}function x1(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ji(t.type)||t.tag===4}function dm(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||x1(t.return))return null;t=t.return}t.sibling.return=t.return;for(t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ji(t.type))continue t;if(t.flags&2)continue t;if(t.child===null||t.tag===4)continue t;else t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function ld(t,e,n,i){var a=t.tag;if(a===5||a===6)a=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(a,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(a),n=n._reactRootContainer,n!==null&&n!==void 0||e.onclick!==null||(e.onclick=wn)),Gu(t,i),nt=!0;else if(a!==4&&(a===27&&(Gu(t,i),i=null,ji(t.type)&&(n=t.stateNode,e=null)),t=t.child,t!==null))for(ld(t,e,n,i),t=t.sibling;t!==null;)ld(t,e,n,i),t=t.sibling}function ju(t,e,n,i){var a=t.tag;if(a===5||a===6)a=t.stateNode,e?n.insertBefore(a,e):n.appendChild(a),Gu(t,i),nt=!0;else if(a!==4&&(a===27&&(Gu(t,i),i=null,ji(t.type)&&(n=t.stateNode)),t=t.child,t!==null))for(ju(t,e,n,i),t=t.sibling;t!==null;)ju(t,e,n,i),t=t.sibling}function b1(t){var{stateNode:e,memoizedProps:n}=t;try{for(var i=t.type,a=e.attributes;a.length;)e.removeAttributeNode(a[0]);te(e,i,n),e[Jt]=t,e[Ce]=n}catch(o){mt(t,t.return,o)}}var qu=!1,Be=null;function $y(t){if(t.tag===30||(t.subtreeFlags&33554432)!==0)qu=!0}var Mn=null;function Fy(){var t=Mn;return Mn=null,t}var Ee=0;function Zo(t,e,n,i,a){return Ee=0,S1(t.child,e,n,i,a)}function S1(t,e,n,i,a){for(var o=!1;t!==null;){if(t.tag===5){var r=t.stateNode;if(i!==null){var l=Nd(r);i.push(l),l.view&&(o=!0)}else o||Nd(r).view&&(o=!0);qu=!0,ox(r,Ee===0?e:e+"_"+Ee,n),Ee++}else if(t.tag!==22||t.memoizedState===null)t.tag===30&&a||S1(t.child,e,n,i,a)&&(o=!0);t=t.sibling}return o}function Dn(t,e){for(;t!==null;){if(t.tag===5)rx(t.stateNode,t.memoizedProps);else if(t.tag!==22||t.memoizedState===null)t.tag===30&&e||Dn(t.child,e);t=t.sibling}}function du(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(du(t),t.tag===30&&(t.flags&18874368)!==0&&t.stateNode.paired){var e=t.memoizedProps;if(e.name==null||e.name==="auto")throw Error(C(544));var n=e.name;e=ei(e.default,e.share),e!=="none"&&(Zo(t,n,e,null,!1)||Dn(t.child,!1))}}t=t.sibling}}function sd(t,e){if(t.tag===30){var{stateNode:n,memoizedProps:i}=t,a=Fn(i,n),o=ei(i.default,n.paired?i.share:i.enter);o!=="none"?Zo(t,a,o,null,!1)?(du(t),n.paired||e||_o(t,i.onEnter)):Dn(t.child,!1):du(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)sd(t,e),t=t.sibling;else du(t)}function ud(t){if(Be!==null&&Be.size!==0){var e=Be;if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var n=t.memoizedProps,i=n.name;if(i!=null&&i!=="auto"){var a=e.get(i);if(a!==void 0){var o=ei(n.default,n.share);if(o!=="none"&&(Zo(t,i,o,null,!1)?(o=t.stateNode,a.paired=o,o.paired=a,_o(t,n.onShare)):Dn(t.child,!1)),e.delete(i),e.size===0)break}}}ud(t)}t=t.sibling}}}function cd(t){if(t.tag===30){var e=t.memoizedProps,n=Fn(e,t.stateNode),i=Be!==null?Be.get(n):void 0,a=ei(e.default,i!==void 0?e.share:e.exit);a!=="none"&&(Zo(t,n,a,null,!1)?i!==void 0?(a=t.stateNode,i.paired=a,a.paired=i,Be.delete(n),_o(t,e.onShare)):_o(t,e.onExit):Dn(t.child,!1)),Be!==null&&ud(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)cd(t),t=t.sibling;else Be!==null&&ud(t)}function T1(t){for(t=t.child;t!==null;){if(t.tag===30){var e=t.memoizedProps,n=Fn(e,t.stateNode);e=ei(e.default,e.update),t.flags&=-5,e!=="none"&&Zo(t,n,e,t.memoizedState=[],!1)}else(t.subtreeFlags&33554432)!==0&&T1(t);t=t.sibling}}function fd(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var e=t.stateNode;e.paired!==null&&(e.paired=null,Dn(t.child,!1))}fd(t)}t=t.sibling}}function pu(t){if(t.tag===30)t.stateNode.paired=null,Dn(t.child,!1),fd(t);else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)pu(t),t=t.sibling;else fd(t)}function E1(t){for(t=t.child;t!==null;)t.tag===30?Dn(t.child,!1):(t.subtreeFlags&33554432)!==0&&E1(t),t=t.sibling}function bp(t,e,n,i,a,o,r){for(var l=!1;e!==null;){if(e.tag===5){var s=e.stateNode;if(o!==null&&Ee<o.length){var c=o[Ee],u=Nd(s);if(c.view||u.view)l=!0;var f;if(f=(t.flags&4)===0)if(u.clip)f=!0;else{f=c.rect;var m=u.rect;f=f.y!==m.y||f.x!==m.x||f.height!==m.height||f.width!==m.width}f&&(t.flags|=4),u.abs?u=!c.abs:(c=c.rect,u=u.rect,u=c.height!==u.height||c.width!==u.width),u&&(t.flags|=32)}else t.flags|=32;(t.flags&4)!==0&&ox(s,Ee===0?n:n+"_"+Ee,a),l&&(t.flags&4)!==0||(Mn===null&&(Mn=[]),Mn.push(s,Ee===0?i:i+"_"+Ee,e.memoizedProps)),Ee++}else if(e.tag!==22||e.memoizedState===null)e.tag===30&&r?t.flags|=e.flags&32:bp(t,e.child,n,i,a,o,r)&&(l=!0);e=e.sibling}return l}function M1(t,e){for(t=t.child;t!==null;){if(t.tag===30){var{memoizedProps:n,stateNode:i}=t,a=Fn(n,i),o=ei(n.default,n.update);if(e){i=i.clones;var r=i===null?null:i.map(F2)}else r=t.memoizedState,t.memoizedState=null;i=t;var l=t.child;Ee=0,a=bp(i,l,a,a,o,r,!1),(t.flags&4)!==0&&a&&(e||_o(t,n.onUpdate))}else(t.subtreeFlags&33554432)!==0&&M1(t,e);t=t.sibling}}var Kt=!1,lt=!1,bn=!1,pm=!1,Jy=typeof WeakSet==="function"?WeakSet:Set,Zt=null,Sn=!1,$r=!1,Yu=!1,md=!1;function b2(t,e,n){if(t=t.containerInfo,wd=jo,t=uv(t),Qd(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else t:{i=(i=t.ownerDocument)&&i.defaultView||window;var a=i.getSelection&&i.getSelection();if(a&&a.rangeCount!==0){i=a.anchorNode;var{anchorOffset:o,focusNode:r}=a;a=a.focusOffset;try{i.nodeType,r.nodeType}catch(x){i=null;break t}var l=0,s=-1,c=-1,u=0,f=0,m=t,d=null;e:for(;;){for(var y;;){if(m!==i||o!==0&&m.nodeType!==3||(s=l+o),m!==r||a!==0&&m.nodeType!==3||(c=l+a),m.nodeType===3&&(l+=m.nodeValue.length),(y=m.firstChild)===null)break;d=m,m=y}for(;;){if(m===t)break e;if(d===i&&++u===o&&(s=l),d===r&&++f===a&&(c=l),(y=m.nextSibling)!==null)break;m=d,d=m.parentNode}m=y}i=s===-1||c===-1?null:{start:s,end:c}}else i=null}i=i||{start:0,end:0}}else i=null;Cd={focusedElem:t,selectionRange:i},jo=!1,n=(n&335544064)===n,Zt=e;for(e=n?9270:1024;Zt!==null;){if(t=Zt,n&&(i=t.deletions,i!==null))for(o=0;o<i.length;o++)n&&cd(i[o]);if(t.alternate===null&&(t.flags&2)!==0)n&&$y(t),Ps(n);else{if(t.tag===22){if(i=t.alternate,t.memoizedState!==null){i!==null&&i.memoizedState===null&&n&&cd(i),Ps(n);continue}else if(i!==null&&i.memoizedState!==null){n&&$y(t),Ps(n);continue}}i=t.child,(t.subtreeFlags&e)!==0&&i!==null?(i.return=t,Zt=i):(n&&T1(t),Ps(n))}}Be=null}function Ps(t){for(;Zt!==null;){var e=Zt,n=t,i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 15:break;case 1:if((a&1024)!==0&&i!==null){n=void 0,a=i.memoizedProps,i=i.memoizedState;var o=e.stateNode;try{var r=ba(e.type,a);n=o.getSnapshotBeforeUpdate(r,i),o.__reactInternalSnapshotBeforeUpdate=n}catch(l){mt(e,e.return,l)}}break;case 3:if((a&1024)!==0){if(i=e.stateNode.containerInfo,n=i.nodeType,n===9)Vd(i);else if(n===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":Vd(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&i!==null&&(n=Fn(i.memoizedProps,i.stateNode),a=e.memoizedProps,a=ei(a.default,a.update),a!=="none"&&Zo(i,n,a,i.memoizedState=[],!0));break;default:if((a&1024)!==0)throw Error(C(163))}if(i=e.sibling,i!==null){i.return=e.return,Zt=i;break}Zt=e.return}}function A1(t,e,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:Tn(t,n),i&4&&_l(5,n);break;case 1:if(Tn(t,n),i&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(r){mt(n,n.return,r)}else{var a=ba(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(a,e,t.__reactInternalSnapshotBeforeUpdate)}catch(r){mt(n,n.return,r)}}i&64&&y1(n),i&512&&En(n,n.return);break;case 3:if(Tn(t,n),i&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{Cv(t,e)}catch(r){mt(n,n.return,r)}}break;case 27:e===null&&i&4&&b1(n);case 26:case 5:Tn(t,n),e===null&&i&4&&rd(n),i&512&&En(n,n.return);break;case 12:Tn(t,n);break;case 31:Tn(t,n),i&4&&N1(t,n);break;case 13:Tn(t,n),i&4&&V1(t,n),i&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=z2.bind(null,n),fA(t,n))));break;case 22:if(i=n.memoizedState!==null||Kt,!i){var o=e!==null&&e.memoizedState!==null||lt;e=Kt,a=lt,Kt=i,(lt=o)&&!a?(i=2,(n.subtreeFlags&8772)!==0&&(i|=1),sn(t,n,i)):Tn(t,n),Kt=e,lt=a}break;case 30:Tn(t,n),i&512&&En(n,n.return);break;case 7:i&512&&En(n,n.return);default:Tn(t,n)}}function dd(t,e){for(t=t.child;t!==null;)w1(t,e),t=t.sibling}function w1(t,e){switch(t.tag){case 5:case 26:try{var n=t.stateNode;if(e){var i=n.style;typeof i.setProperty==="function"?i.setProperty("display","none","important"):i.display="none"}else{var a=t.stateNode,o=t.memoizedProps.style,r=o!==void 0&&o!==null&&o.hasOwnProperty("display")?o.display:null;a.style.display=r==null||typeof r==="boolean"?"":(""+r).trim()}}catch(s){mt(t,t.return,s)}pd(t,e);break;case 6:try{t.stateNode.nodeValue=e?"":t.memoizedProps,nt=!0}catch(s){mt(t,t.return,s)}break;case 18:try{var l=t.stateNode;e?c0(l,!0):c0(t.stateNode,!1)}catch(s){mt(t,t.return,s)}break;case 22:case 23:t.memoizedState===null&&dd(t,e);break;default:dd(t,e)}}function pd(t,e){if(t.subtreeFlags&67108864)for(t=t.child;t!==null;){t:{var n=t,i=e;switch(n.tag){case 4:w1(n,i);break t;case 22:n.memoizedState===null&&pd(n,i);break t;default:pd(n,i)}}t=t.sibling}}function C1(t){var e=t.alternate;e!==null&&(t.alternate=null,C1(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Iu(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var At=null,Se=!1;function ln(t,e,n){for(n=n.child;n!==null;)O1(t,e,n),n=n.sibling}function O1(t,e,n){if(Le&&typeof Le.onCommitFiberUnmount==="function")try{Le.onCommitFiberUnmount(Cl,n)}catch(o){}switch(n.tag){case 26:lt||Ft(n,e),ln(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!lt&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:lt||Ft(n,e),rl(n);var i=At,a=Se;ji(n.type)&&(At=n.stateNode,Se=!1),ln(t,e,n),hx(n.stateNode,n.type,n.memoizedProps),At=i,Se=a;break;case 5:lt||Ft(n,e),rl(n);case 6:if(n.tag===6&&rl(n),i=At,a=Se,At=null,ln(t,e,n),At=i,Se=a,At!==null)if(Se)try{(At.nodeType===9?At.body:At.nodeName==="HTML"?At.ownerDocument.body:At).removeChild(n.stateNode),nt=!0}catch(o){mt(n,e,o)}else try{At.removeChild(n.stateNode),nt=!0}catch(o){mt(n,e,o)}break;case 18:At!==null&&(Se?(t=At,u0(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),qo(t)):u0(At,n.stateNode));break;case 4:i=At,a=Se,At=n.stateNode.containerInfo,Se=!0,ln(t,e,n),At=i,Se=a;break;case 0:case 11:case 14:case 15:Hi(2,n,e),lt||Hi(4,n,e),ln(t,e,n);break;case 1:lt||(Ft(n,e),i=n.stateNode,typeof i.componentWillUnmount==="function"&&v1(n,e,i)),ln(t,e,n);break;case 21:ln(t,e,n);break;case 22:lt=(i=lt)||n.memoizedState!==null,ln(t,e,n),lt=i;break;case 30:Ft(n,e),ln(t,e,n);break;case 7:lt||Ft(n,e),ln(t,e,n);break;default:ln(t,e,n)}}function N1(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{qo(t)}catch(n){mt(e,e.return,n)}}}function V1(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{qo(t)}catch(n){mt(e,e.return,n)}}function S2(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Jy),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Jy),e;default:throw Error(C(435,t.tag))}}function Is(t,e){var n=S2(t);e.forEach(function(i){if(!n.has(i)){n.add(i);var a=R2.bind(null,t,i);i.then(a,a)}})}function he(t,e,n){var i=e.deletions;if(i!==null)for(var a=0;a<i.length;a++){var o=i[a],r=t,l=e,s=l;t:for(;s!==null;){switch(s.tag){case 27:if(ji(s.type)){At=s.stateNode,Se=!1;break t}break;case 5:At=s.stateNode,Se=!1;break t;case 3:case 4:At=s.stateNode.containerInfo,Se=!0;break t}s=s.return}if(At===null)throw Error(C(160));O1(r,l,o),At=null,Se=!1,r=o.alternate,r!==null&&(r.return=null),o.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)D1(e,t,n),e=e.sibling}var un=null;function D1(t,e,n){var{alternate:i,flags:a}=t;switch(t.tag){case 0:case 11:case 14:case 15:if(a&4&&(i=t.updateQueue,i=i!==null?i.events:null,i!==null))for(var o=0;o<i.length;o++){var r=i[o];r.ref.impl=r.nextImpl}he(e,t,n),ge(t),a&4&&(Hi(3,t,t.return),_l(3,t),Hi(5,t,t.return));break;case 1:he(e,t,n),ge(t),a&512&&(lt||i===null||Ft(i,i.return)),a&64&&Kt&&(t=t.updateQueue,t!==null&&(e=t.callbacks,e!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?e:n.concat(e))));break;case 26:if(o=un,he(e,t,n),ge(t),a&512&&(lt||i===null||Ft(i,i.return)),a&4)if(a=i!==null?i.memoizedState:null,n=t.memoizedState,i===null)if(n===null)if(t.stateNode===null)if(Kt)t.stateNode=ax(t.type,t.memoizedProps,e.containerInfo,t);else{t:{e=t.type,n=t.memoizedProps,a=o.ownerDocument||o;e:switch(e){case"title":if(i=a.getElementsByTagName("title")[0],!i||i[Vl]||i[Jt]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))i=a.createElement(e),a.head.insertBefore(i,a.querySelector("head > title"));te(i,e,n),i[Jt]=t,Qt(i),e=i;break t;case"link":if(o=v0("link","href",a).get(e+(n.href||""))){for(r=0;r<o.length;r++)if(i=o[r],i.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&i.getAttribute("rel")===(n.rel==null?null:n.rel)&&i.getAttribute("title")===(n.title==null?null:n.title)&&i.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(r,1);break e}}i=a.createElement(e),te(i,e,n),a.head.appendChild(i);break;case"meta":if(o=v0("meta","content",a).get(e+(n.content||""))){for(r=0;r<o.length;r++)if(i=o[r],i.getAttribute("content")===(n.content==null?null:""+n.content)&&i.getAttribute("name")===(n.name==null?null:n.name)&&i.getAttribute("property")===(n.property==null?null:n.property)&&i.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&i.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(r,1);break e}}i=a.createElement(e),te(i,e,n),a.head.appendChild(i);break;default:throw Error(C(468,e))}i[Jt]=t,Qt(i),e=i}t.stateNode=e}else Kt||Rd(o,t.type,t.stateNode);else t.stateNode=y0(o,n,t.memoizedProps);else a!==n?(a===null?(e=i.stateNode,e===null||lt||e.parentNode.removeChild(e)):a.count--,n===null?Kt||Rd(o,t.type,t.stateNode):y0(o,n,t.memoizedProps)):n===null&&t.stateNode!==null&&mm(t,t.memoizedProps,i.memoizedProps);break;case 27:he(e,t,n),ge(t),a&512&&(lt||i===null||Ft(i,i.return)),i!==null&&a&4&&mm(t,t.memoizedProps,i.memoizedProps);break;case 5:if(o=bn,bn=!1,he(e,t,n),bn=o,ge(t),a&512&&(lt||i===null||Ft(i,i.return)),t.flags&32){e=t.stateNode;try{Do(e,""),nt=!0}catch(u){mt(t,t.return,u)}}a&4&&t.stateNode!=null&&(e=t.memoizedProps,mm(t,e,i!==null?i.memoizedProps:e)),a&1024&&(pm=!0);break;case 6:if(he(e,t,n),ge(t),a&4){if(t.stateNode===null)throw Error(C(162));e=t.memoizedProps,n=t.stateNode;try{n.nodeValue=e,nt=!0}catch(u){mt(t,t.return,u)}}break;case 3:if(nt=!1,vu=null,o=un,un=Tl(e.containerInfo),he(e,t,n),un=o,ge(t),a&4&&i!==null&&i.memoizedState.isDehydrated)try{qo(e.containerInfo)}catch(u){mt(t,t.return,u)}pm&&(pm=!1,z1(t)),nt=!1;break;case 4:a=bn,bn=Kt,i=ny(),o=un,un=Tl(t.stateNode.containerInfo),he(e,t,n),ge(t),un=o,nt&&$r&&(Yu=!0),nt=i,bn=a;break;case 12:he(e,t,n),ge(t);break;case 31:he(e,t,n),ge(t),a&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,Is(t,e)));break;case 13:he(e,t,n),ge(t),t.child.flags&8192&&t.memoizedState!==null!==(i!==null&&i.memoizedState!==null)&&(fc=He()),a&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,Is(t,e)));break;case 22:o=t.memoizedState!==null,r=i!==null&&i.memoizedState!==null;var l=Kt,s=lt,c=bn;Kt=l||o,bn=c||o,lt=s||r,he(e,t,n),lt=s,bn=c,Kt=l,ge(t),a&8192&&(e=t.stateNode,e._visibility=o?e._visibility&-2:e._visibility|1,!o||i===null||r||Kt||lt||(e=r||lt,n=Kt,i=lt,Kt=o||Kt,lt=e,pi(t,2),Kt=n,lt=i),!o&&bn||dd(t,o)),a&4&&(e=t.updateQueue,e!==null&&(n=e.retryQueue,n!==null&&(e.retryQueue=null,Is(t,n))));break;case 19:he(e,t,n),ge(t),a&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,Is(t,e)));break;case 30:a&512&&(lt||i===null||Ft(i,i.return)),a=ny(),o=$r,r=(n&335544064)===n,l=t.memoizedProps,$r=r&&ei(l.default,l.update)!=="none",he(e,t,n),ge(t),r&&i!==null&&nt&&(t.flags|=4),$r=o,nt=a;break;case 21:break;case 7:a&512&&(lt||i===null||Ft(i,i.return)),i&&i.stateNode!==null&&(i.stateNode._fragmentFiber=t);default:he(e,t,n),ge(t)}}function ge(t){var e=t.flags;if(e&2){try{for(var n,i=t.return;i!==null;){if(x1(i)){n=i;break}i=i.return}i=null;for(var a=t.return;a!==null;){if(xp(a)){var o=a.stateNode;i===null?i=[o]:i.push(o)}if(vp(a))break;a=a.return}var r=i;if(n==null)throw Error(C(160));switch(n.tag){case 27:var l=n.stateNode,s=dm(t);ju(t,s,l,r);break;case 5:var c=n.stateNode;n.flags&32&&(Do(c,""),n.flags&=-33);var u=dm(t);ju(t,u,c,r);break;case 3:case 4:var f=n.stateNode.containerInfo,m=dm(t);ld(t,m,f,r);break;default:throw Error(C(161))}}catch(d){mt(t,t.return,d)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function z1(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;z1(e),e.tag===5&&e.flags&1024&&(e=e.stateNode,jo=!0,e.reset(),jo=!1),t=t.sibling}}function eo(t,e){if(e.subtreeFlags&9270)for(e=e.child;e!==null;)R1(e,t),e=e.sibling;else M1(e,!1)}function R1(t,e){var n=t.alternate;if(n===null)sd(t,!1);else switch(t.tag){case 3:if(md=Sn=!1,Fy(),eo(e,t),!Sn&&!Yu){if(t=Mn,t!==null)for(var i=0;i<t.length;i+=3){n=t[i];var a=t[i+1];rx(n,t[i+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+a+")"})}t=e.containerInfo,t=t.nodeType===9?t.documentElement:t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName===""&&(t.style.viewTransitionName="none",t.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),t.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),md=!0}Mn=null;break;case 5:eo(e,t);break;case 4:i=Sn,Sn=!1,eo(e,t),Sn&&(Yu=!0),Sn=i;break;case 22:t.memoizedState===null&&(n.memoizedState!==null?sd(t,!1):eo(e,t));break;case 30:i=Sn,a=Fy(),Sn=!1,eo(e,t),Sn&&(t.flags|=4);var{memoizedProps:o,stateNode:r}=t;e=Fn(o,r),r=Fn(n.memoizedProps,r);var l=ei(o.default,o.update);l==="none"?e=!1:(o=n.memoizedState,n.memoizedState=null,n=t.child,Ee=0,e=bp(t,n,e,r,l,o,!0),Ee!==(o===null?0:o.length)&&(t.flags|=32)),(t.flags&4)!==0&&e?(_o(t,t.memoizedProps.onUpdate),Mn=a):a!==null&&(a.push.apply(a,Mn),Mn=a),Sn=(t.flags&32)!==0?!0:i;break;default:eo(e,t)}}function Tn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)A1(t,e.alternate,e),e=e.sibling}function pi(t,e){for(t=t.child;t!==null;){var n=t,i=e;switch(n.tag){case 0:case 11:case 14:case 15:Hi(4,n,n.return),pi(n,i);break;case 1:Ft(n,n.return);var a=n.stateNode;typeof a.componentWillUnmount==="function"&&v1(n,n.return,a),pi(n,i);break;case 27:(i&2)!==0&&hx(n.stateNode,n.type,n.memoizedProps);case 5:Ft(n,n.return),n.tag!==5&&n.tag!==27||rl(n),pi(n,i);break;case 6:rl(n);break;case 26:Ft(n,n.return),a=n.stateNode,n.memoizedState!==null||a===null||lt||a.parentNode.removeChild(a),pi(n,i);break;case 22:n.memoizedState===null&&pi(n,i);break;case 30:Ft(n,n.return),pi(n,i);break;case 7:Ft(n,n.return);default:pi(n,i)}t=t.sibling}}function sn(t,e,n){n=(e.subtreeFlags&8772)!==0?n:n&-2;for(e=e.child;e!==null;){var i=e.alternate,a=t,o=e,r=o.flags,l=(n&1)!==0;switch(o.tag){case 0:case 11:case 15:sn(a,o,n),_l(4,o);break;case 1:if(sn(a,o,n),i=o,a=i.stateNode,typeof a.componentDidMount==="function")try{a.componentDidMount()}catch(u){mt(i,i.return,u)}if(i=o,a=i.updateQueue,a!==null){var s=i.stateNode;try{var c=a.shared.hiddenCallbacks;if(c!==null)for(a.shared.hiddenCallbacks=null,a=0;a<c.length;a++)wv(c[a],s)}catch(u){mt(i,i.return,u)}}l&&r&64&&y1(o),En(o,o.return);break;case 27:(n&2)!==0&&b1(o);case 5:o.tag!==5&&o.tag!==27||ky(o),sn(a,o,n),l&&i===null&&r&4&&rd(o),En(o,o.return);break;case 6:ky(o);break;case 26:s=o.stateNode,o.memoizedState!==null||s===null||Kt||Rd(Tl(s.ownerDocument),o.type,s),sn(a,o,n),l&&i===null&&r&4&&rd(o),En(o,o.return);break;case 12:sn(a,o,n);break;case 31:sn(a,o,n),l&&r&4&&N1(a,o);break;case 13:sn(a,o,n),l&&r&4&&V1(a,o);break;case 22:o.memoizedState===null&&sn(a,o,n),En(o,o.return);break;case 30:sn(a,o,n),En(o,o.return);break;case 7:En(o,o.return);default:sn(a,o,n)}e=e.sibling}}function Sp(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&zl(n))}function Tp(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&zl(t))}function $e(t,e,n,i){var a=(n&335544064)===n;if(e.subtreeFlags&(a?10262:10256))for(e=e.child;e!==null;)_1(t,e,n,i),e=e.sibling;else a&&E1(e)}function _1(t,e,n,i){var a=(n&335544064)===n;a&&e.alternate===null&&e.return!==null&&e.return.alternate!==null&&pu(e);var o=e.flags;switch(e.tag){case 0:case 11:case 15:$e(t,e,n,i),o&2048&&_l(9,e);break;case 1:$e(t,e,n,i);break;case 3:$e(t,e,n,i),a&&md&&(t=t.containerInfo,t=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,t.style.viewTransitionName==="root"&&(t.style.viewTransitionName=""),t=t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName==="none"&&(t.style.viewTransitionName="")),o&2048&&(o=null,e.alternate!==null&&(o=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==o&&(e.refCount++,o!=null&&zl(o)));break;case 12:if(o&2048){$e(t,e,n,i),o=e.stateNode;try{var r=e.memoizedProps,l=r.id,s=r.onPostCommit;typeof s==="function"&&s(l,e.alternate===null?"mount":"update",o.passiveEffectDuration,-0)}catch(c){mt(e,e.return,c)}}else $e(t,e,n,i);break;case 31:$e(t,e,n,i);break;case 13:$e(t,e,n,i);break;case 23:break;case 22:r=e.stateNode,l=e.alternate,e.memoizedState!==null?(a&&l!==null&&l.memoizedState===null&&pu(l),r._visibility&2?$e(t,e,n,i):ll(t,e)):(a&&l!==null&&l.memoizedState!==null&&pu(e),r._visibility&2?$e(t,e,n,i):(r._visibility|=2,io(t,e,n,i,(e.subtreeFlags&10256)!==0||!1))),o&2048&&Sp(l,e);break;case 24:$e(t,e,n,i),o&2048&&Tp(e.alternate,e);break;case 30:a&&(o=e.alternate,o!==null&&(Dn(o.child,!0),Dn(e.child,!0))),$e(t,e,n,i);break;default:$e(t,e,n,i)}}function io(t,e,n,i,a){a=a&&((e.subtreeFlags&10256)!==0||!1);for(e=e.child;e!==null;){var o=t,r=e,l=n,s=i,c=r.flags;switch(r.tag){case 0:case 11:case 15:io(o,r,l,s,a),_l(8,r);break;case 23:break;case 22:var u=r.stateNode;r.memoizedState!==null?u._visibility&2?io(o,r,l,s,a):ll(o,r):(u._visibility|=2,io(o,r,l,s,a)),a&&c&2048&&Sp(r.alternate,r);break;case 24:io(o,r,l,s,a),a&&c&2048&&Tp(r.alternate,r);break;default:io(o,r,l,s,a)}e=e.sibling}}function ll(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,i=e,a=i.flags;switch(i.tag){case 22:ll(n,i),a&2048&&Sp(i.alternate,i);break;case 24:ll(n,i),a&2048&&Tp(i.alternate,i);break;default:ll(n,i)}e=e.sibling}}var ra=8192;function na(t,e,n){if(t.subtreeFlags&ra)for(t=t.child;t!==null;)B1(t,e,n),t=t.sibling}function B1(t,e,n){switch(t.tag){case 26:na(t,e,n),t.flags&ra&&(t.memoizedState!==null?AA(n,un,t.memoizedState,t.memoizedProps):(t=t.stateNode,(e&335544128)===e&&b0(n,t)));break;case 5:na(t,e,n),t.flags&ra&&(t=t.stateNode,(e&335544128)===e&&b0(n,t));break;case 3:case 4:var i=un;un=Tl(t.stateNode.containerInfo),na(t,e,n),un=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=ra,ra=16777216,na(t,e,n),ra=i):na(t,e,n));break;case 30:if((t.flags&ra)!==0&&(i=t.memoizedProps.name,i!=null&&i!=="auto")){var a=t.stateNode;a.paired=null,Be===null&&(Be=new Map),Be.set(i,a)}na(t,e,n);break;default:na(t,e,n)}}function U1(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function jr(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];Zt=i,L1(i,t)}U1(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)H1(t),t=t.sibling}function H1(t){switch(t.tag){case 0:case 11:case 15:jr(t),t.flags&2048&&Hi(9,t,t.return);break;case 3:jr(t);break;case 12:jr(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,hu(t)):jr(t);break;default:jr(t)}}function hu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];Zt=i,L1(i,t)}U1(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Hi(8,e,e.return),hu(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,hu(e));break;default:hu(e)}t=t.sibling}}function L1(t,e){for(;Zt!==null;){var n=Zt;switch(n.tag){case 0:case 11:case 15:Hi(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:zl(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,Zt=i;else t:for(n=t;Zt!==null;){i=Zt;var{sibling:a,return:o}=i;if(C1(i),i===n){Zt=null;break t}if(a!==null){a.return=o,Zt=a;break t}Zt=o}}}var T2={getCacheForType:function(t){var e=Pt(Ht),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return Pt(Ht).controller.signal}},E2=typeof WeakMap==="function"?WeakMap:Map,at=0,yt=null,k=null,F=0,ct=0,ze=null,Si=!1,Qo=!1,Ep=!1,Wn=0,Vt=0,Li=0,da=0,Xu=0,Ue=0,Ro=0,sl=null,Te=null,hd=!1,fc=0,G1=0,Ku=1/0,Zu=null,Vi=null,wt=0,fn=null,Sa=null,Vn=0,gd=0,yd=null,j1=null,wo=null,Co=null,Oo=null,ul=0,gu=null;function je(){return(at&2)!==0&&F!==0?F&-F:B.T!==null?Ap():K0()}function q1(){if(Ue===0)if((F&536870912)===0||X){var t=qs;qs<<=1,(qs&3932160)===0&&(qs=262144),Ue=t}else Ue=536870912;return t=ee.current,t!==null&&(t.flags|=32),Ue}function _o(t,e){if(e!=null){var n=t.stateNode,i=n.ref;i===null&&(i=n.ref=sx(Fn(t.memoizedProps,n))),Co===null&&(Co=[]),Co.push(e.bind(null,i))}}function Ae(t,e,n){if(t===yt&&(ct===2||ct===9)||t.cancelPendingCommit!==null)Bo(t,0),Ti(t,F,Ue,!1);if(Nl(t,n),(at&2)===0||t!==yt)t===yt&&((at&2)===0&&(da|=n),Vt===4&&Ti(t,F,Ue,!1)),Rn(t)}function Y1(t,e,n){if((at&6)!==0)throw Error(C(327));var i=!n&&(e&127)===0&&(e&t.expiredLanes)===0||Ol(t,e),a=i?w2(t,e):hm(t,e,!0),o=i;do{if(a===0){Qo&&!i&&Ti(t,e,0,!1);break}else{if(n=t.current.alternate,o&&!M2(n)){a=hm(t,e,!1),o=!1;continue}if(a===2){if(o=e,t.errorRecoveryDisabledLanes&o)var r=0;else r=t.pendingLanes&-536870913,r=r!==0?r:r&536870912?536870912:0;if(r!==0){e=r;t:{var l=t;a=sl;var s=l.current.memoizedState.isDehydrated;if(s&&(Bo(l,r).flags|=256),r=hm(l,r,!1),r!==2&&r!==6){if(Ep&&!s){l.errorRecoveryDisabledLanes|=o,da|=o,a=4;break t}o=Te,Te=a,o!==null&&(Te===null?Te=o:Te.push.apply(Te,o))}a=r}if(o=!1,a!==2)continue}}if(a===1){Bo(t,0),Ti(t,e,0,!0);break}t:{switch(i=t,o=a,o){case 0:case 1:throw Error(C(345));case 4:if((e&4194048)!==e&&(e&62914560)!==e)break;case 6:Ti(i,e,Ue,!Si);break t;case 2:Te=null;break;case 3:case 5:break;default:throw Error(C(329))}if((e&62914560)===e&&(a=fc+300-He(),10<a)){if(Ti(i,e,Ue,!Si),Pu(i,0,!0)!==0)break t;Vn=e,i.timeoutHandle=Cp(Py.bind(null,i,n,Te,Zu,hd,e,Ue,da,Ro,Si,o,"Throttled",-0,0),a);break t}Py(i,n,Te,Zu,hd,e,Ue,da,Ro,Si,o,null,-0,0)}}break}while(1);Rn(t)}function Py(t,e,n,i,a,o,r,l,s,c,u,f,m,d){t.timeoutHandle=-1;var y=e.subtreeFlags,x=(o&335544064)===o;if(f=null,x||y&8192||(y&16785408)===16785408){if(f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:wn},Be=null,B1(e,o,f),x&&(y=f,x=t.containerInfo,x=(x.nodeType===9?x:x.ownerDocument).__reactViewTransition,x!=null&&(y.count++,y.waitingForViewTransition=!0,y=El.bind(y),x.finished.then(y,y))),y=(o&62914560)===o?fc-He():(o&4194048)===o?G1-He():0,y=wA(f,y),y!==null){Vn=o,t.cancelPendingCommit=y(Wy.bind(null,t,e,o,n,i,a,r,l,s,c,u,f,null,m,d)),Ti(t,o,r,!c);return}}Wy(t,e,o,n,i,a,r,l,s,c,u,f)}function M2(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var a=n[i],o=a.getSnapshot;a=a.value;try{if(!qe(o(),a))return!1}catch(r){return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Ti(t,e,n,i){e=G0(t,e),e&=~Xu,e&=~da,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var a=e;0<a;){var o=31-Ge(a),r=1<<o;i[o]=-1,a&=~r}n!==0&&q0(t,n,e)}function mc(){return(at&6)===0?(Bl(0,!1),!1):!0}function Mp(){if(k!==null){if(ct===0)var t=k.return;else t=k,Zn=wa=null,lp(t),Eo=null,gl=0,t=k;for(;t!==null;)g1(t.alternate,t),t=t.return;k=null}}function Bo(t,e){var n=t.timeoutHandle;return n!==-1&&(t.timeoutHandle=-1,Q2(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Vn=0,Mp(),yt=t,k=n=Qn(t.current,null),F=e,ct=0,ze=null,Si=!1,Qo=Ol(t,e),Ep=!1,Ro=Ue=Xu=da=Li=Vt=0,Te=sl=null,hd=!1,Wn=G0(t,e),nc(),n}function X1(t,e){j=null,B.H=Hu,e===Ko||e===oc?(e=My(),ct=3):e===Wd?(e=My(),ct=4):ct=e===hp?8:e!==null&&typeof e==="object"&&typeof e.then==="function"?6:1,ze=e,k===null&&(Vt=1,Lu(t,We(e,t.current)))}function K1(){var t=ee.current;return t===null?!0:(F&4194048)===F?ce===null?!0:!1:(F&62914560)===F||(F&536870912)!==0?t===ce:!1}function Z1(){var t=B.H;return B.H=Hu,t===null?Hu:t}function Q1(){var t=B.A;return B.A=T2,t}function Qu(){Vt=4,Si||(F&4194048)!==F&&ee.current!==null||(Qo=!0),(Li&134217727)===0&&(da&134217727)===0||yt===null||Ti(yt,F,Ue,!1)}function hm(t,e,n){var i=at;at|=2;var a=Z1(),o=Q1();if(yt!==t||F!==e)Zu=null,Bo(t,e);e=!1;var r=Vt;t:do try{if(ct!==0&&k!==null){var l=k,s=ze;switch(ct){case 8:Mp(),r=6;break t;case 3:case 2:case 9:case 6:ee.current===null&&(e=!0);var c=ct;if(ct=0,ze=null,vo(t,l,s,c),n&&Qo){r=0;break t}break;default:c=ct,ct=0,ze=null,vo(t,l,s,c)}}A2(),r=Vt;break}catch(u){X1(t,u)}while(1);return e&&t.shellSuspendCounter++,Zn=wa=null,at=i,B.H=a,B.A=o,k===null&&(yt=null,F=0,nc()),r}function A2(){for(;k!==null;)k1(k)}function w2(t,e){var n=at;at|=2;var i=Z1(),a=Q1();yt!==t||F!==e?(Zu=null,Ku=He()+500,Bo(t,e)):Qo=Ol(t,e);t:do try{if(ct!==0&&k!==null){e=k;var o=ze;e:switch(ct){case 1:ct=0,ze=null,vo(t,e,o,1);break;case 2:case 9:if(Ey(o)){ct=0,ze=null,Iy(e);break}e=function(){ct!==2&&ct!==9||yt!==t||(ct=7),Rn(t)},o.then(e,e);break t;case 3:ct=7;break t;case 4:ct=5;break t;case 7:Ey(o)?(ct=0,ze=null,Iy(e)):(ct=0,ze=null,vo(t,e,o,7));break;case 5:var r=null;switch(k.tag){case 26:r=k.memoizedState;case 5:case 27:var l=k;if(r?vx(r):l.stateNode.complete){ct=0,ze=null;var s=l.sibling;if(s!==null)k=s;else{var c=l.return;c!==null?(k=c,dc(c)):k=null}break e}}ct=0,ze=null,vo(t,e,o,5);break;case 6:ct=0,ze=null,vo(t,e,o,6);break;case 8:Mp(),Vt=6;break t;default:throw Error(C(462))}}C2();break}catch(u){X1(t,u)}while(1);if(Zn=wa=null,B.H=i,B.A=a,at=n,k!==null)return 0;return yt=null,F=0,nc(),Vt}function C2(){for(;k!==null&&!KE();)k1(k)}function k1(t){var e=h1(t.alternate,t,Wn);t.memoizedProps=t.pendingProps,e===null?dc(t):k=e}function Iy(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=jy(n,e,e.pendingProps,e.type,void 0,F);break;case 11:e=jy(n,e,e.pendingProps,e.type.render,e.ref,F);break;case 5:lp(e);var i=e;i===kt&&(X?(Vu(i),i.tag===5&&i.stateNode!=null&&(St=i.stateNode)):(Vu(i),X=!0));default:g1(n,e),e=k=yv(e,Wn),e=h1(n,e,Wn)}t.memoizedProps=t.pendingProps,e===null?dc(t):k=e}function vo(t,e,n,i){Zn=wa=null,lp(e),Eo=null,gl=0;var a=e.return;try{if(p2(t,a,e,n,F)){Vt=1,Lu(t,We(n,t.current)),k=null;return}}catch(o){if(a!==null)throw k=a,o;Vt=1,Lu(t,We(n,t.current)),k=null;return}if(e.flags&32768){if(X||i===1)t=!0;else if(Qo||(F&536870912)!==0)t=!1;else if(Si=t=!0,i===2||i===9||i===3||i===6)i=ee.current,i!==null&&i.tag===13&&(i.flags|=16384);$1(e,t)}else dc(e)}function dc(t){var e=t;do{if((e.flags&32768)!==0){$1(e,Si);return}t=e.return;var n=v2(e.alternate,e,Wn);if(n!==null){k=n;return}if(e=e.sibling,e!==null){k=e;return}k=e=t}while(e!==null);Vt===0&&(Vt=5)}function $1(t,e){do{var n=x2(t.alternate,t);if(n!==null){n.flags&=32767,k=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){k=t;return}k=t=n}while(t!==null);Vt=6,k=null}function Wy(t,e,n,i,a,o,r,l,s,c,u,f){t.cancelPendingCommit=null;do pc();while(wt!==0);if((at&6)!==0)throw Error(C(327));if(e!==null){if(e===t.current)throw Error(C(177));t===yt&&(k=yt=null,F=0),Sa=e,fn=t,Vn=n,yd=a,j1=i,O2(t,e,n,r,l,s,f)}}function O2(t,e,n,i,a,o,r){var l=e.lanes|e.childLanes;if(gd=l,l|=kd,tM(t,n,l,i,a,o),Co=null,(n&335544064)===n?(Oo=n2(t),i=10262):(Oo=null,i=10256),(e.subtreeFlags&i)!==0||(e.flags&i)!==0?(t.callbackNode=null,t.callbackPriority=0,_2(Au,function(){return Sd(),null})):(t.callbackNode=null,t.callbackPriority=0),qu=!1,i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=B.T,B.T=null,a=ot.p,ot.p=2,o=at,at|=4;try{b2(t,e,n)}finally{at=o,ot.p=a,B.T=i}}wt=1,qu?wo=I2(r,t.containerInfo,Oo,vd,xd,V2,bd,Sd,N2,null,null):(vd(),xd(),bd())}function N2(t){if(wt!==0){var e=fn.onRecoverableError;e(t,{componentStack:null})}}function V2(){wt===3&&(wt=0,R1(Sa,fn),wt=4)}function vd(){if(wt===1){wt=0;var t=fn,e=Sa,n=Vn,i=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||i){i=B.T,B.T=null;var a=ot.p;ot.p=2;var o=at;at|=4;try{$r=Yu=!1,D1(e,t,n),n=Cd;var r=uv(t.containerInfo),l=n.focusedElem,s=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&sv(l.ownerDocument.documentElement,l)){if(s!==null&&Qd(l)){var{start:c,end:u}=s;if(u===void 0&&(u=c),"selectionStart"in l)l.selectionStart=c,l.selectionEnd=Math.min(u,l.value.length);else{var f=l.ownerDocument||document,m=f&&f.defaultView||window;if(m.getSelection){var d=m.getSelection(),y=l.textContent.length,x=Math.min(s.start,y),T=s.end===void 0?x:Math.min(s.end,y);!d.extend&&x>T&&(r=T,T=x,x=r);var h=hy(l,x),p=hy(l,T);if(h&&p&&(d.rangeCount!==1||d.anchorNode!==h.node||d.anchorOffset!==h.offset||d.focusNode!==p.node||d.focusOffset!==p.offset)){var g=f.createRange();g.setStart(h.node,h.offset),d.removeAllRanges(),x>T?(d.addRange(g),d.extend(p.node,p.offset)):(g.setEnd(p.node,p.offset),d.addRange(g))}}}}f=[];for(d=l;d=d.parentNode;)d.nodeType===1&&f.push({element:d,left:d.scrollLeft,top:d.scrollTop});typeof l.focus==="function"&&l.focus();for(l=0;l<f.length;l++){var v=f[l];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}jo=!!wd,Cd=wd=null}finally{at=o,ot.p=a,B.T=i}}t.current=e,wt=2}}function xd(){if(wt===2){wt=0;var t=fn,e=Sa,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=B.T,B.T=null;var i=ot.p;ot.p=2;var a=at;at|=4;try{A1(t,e.alternate,e)}finally{at=a,ot.p=i,B.T=n}}wt=3}}function bd(){if(wt===4||wt===3){wt=0;var t=wo;wo=null,ZE();var e=fn,n=Sa,i=Vn,a=j1,o=(i&335544064)===i?10262:10256;if((n.subtreeFlags&o)!==0||(n.flags&o)!==0?wt=5:(wt=0,Sa=fn=null,F1(e,e.pendingLanes)),o=e.pendingLanes,o===0&&(Vi=null),jd(i),n=n.stateNode,Le&&typeof Le.onCommitFiberRoot==="function")try{Le.onCommitFiberRoot(Cl,n,void 0,(n.current.flags&128)===128)}catch(c){}if(a!==null){n=B.T,o=ot.p,ot.p=2,B.T=null;try{for(var r=e.onRecoverableError,l=0;l<a.length;l++){var s=a[l];r(s.value,{componentStack:s.stack})}}finally{B.T=n,ot.p=o}}if(a=Co,r=Oo,Oo=null,a!==null&&(Co=null,r===null&&(r=[]),t!==null))for(s=0;s<a.length;s++)n=(0,a[s])(r),n!==void 0&&t.finished.finally(n);(Vn&3)!==0&&pc(),Rn(e),o=e.pendingLanes,(i&261930)!==0&&(o&42)!==0?e===gu?ul++:(ul=0,gu=e):(ul=0,gu=null),Bl(0,!1)}}function F1(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,zl(e)))}function pc(){return wo!==null&&(wo.skipTransition(),wo=null),vd(),xd(),bd(),Sd()}function Sd(){if(wt!==5)return!1;var t=fn,e=gd;gd=0;var n=jd(Vn),i=B.T,a=ot.p;try{ot.p=32>n?32:n,B.T=null,n=yd,yd=null;var o=fn,r=Vn;if(wt=0,Sa=fn=null,Vn=0,(at&6)!==0)throw Error(C(331));var l=at;if(at|=4,H1(o.current),_1(o,o.current,r,n),at=l,Bl(0,!1),Le&&typeof Le.onPostCommitFiberRoot==="function")try{Le.onPostCommitFiberRoot(Cl,o)}catch(s){}return!0}finally{ot.p=a,B.T=i,F1(t,e)}}function t0(t,e,n){e=We(n,e),e=td(t.stateNode,e,2),t=Ci(t,e,2),t!==null&&(Nl(t,2),Rn(t))}function mt(t,e,n){if(t.tag===3)t0(t,t,n);else for(;e!==null;){if(e.tag===3){t0(e,t,n);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError==="function"||typeof i.componentDidCatch==="function"&&(Vi===null||!Vi.has(i))){t=We(n,t),n=c1(2),i=Ci(e,n,2),i!==null&&(f1(n,i,e,t),Nl(i,2),Rn(i));break}}e=e.return}}function gm(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new E2;var a=new Set;i.set(e,a)}else a=i.get(e),a===void 0&&(a=new Set,i.set(e,a));a.has(n)||(Ep=!0,a.add(n),t=D2.bind(null,t,e,n),e.then(t,t))}function D2(t,e,n){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,yt===t&&(F&n)===n&&(Vt===4||Vt===3&&(F&62914560)===F&&300>He()-fc?(at&2)===0?Bo(t,0):Xu|=n:Xu|=n,Ro===F&&(Ro=0)),Rn(t)}function J1(t,e){e===0&&(e=j0()),t=Aa(t,e),t!==null&&(Nl(t,e),Rn(t))}function z2(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),J1(t,n)}function R2(t,e){var n=0;switch(t.tag){case 31:case 13:var{stateNode:i,memoizedState:a}=t;a!==null&&(n=a.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(C(314))}i!==null&&i.delete(e),J1(t,n)}function _2(t,e){return Ld(t,e)}var Uo=null,ao=null,Td=!1,ku=!1,ym=!1,Ei=0;function Rn(t){t!==ao&&t.next===null&&(ao===null?Uo=ao=t:ao=ao.next=t),ku=!0,Td||(Td=!0,U2())}function Bl(t,e){if(!ym&&ku){ym=!0;do{var n=!1;for(var i=Uo;i!==null;){if(!e)if(t!==0){var a=i.pendingLanes;if(a===0)var o=0;else{var{suspendedLanes:r,pingedLanes:l}=i;o=(1<<31-Ge(42|t)+1)-1,o&=a&~(r&~l),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,e0(i,o))}else o=F,o=Pu(i,i===yt?o:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(o&3)===0||Ol(i,o)||(n=!0,e0(i,o));i=i.next}}while(n);ym=!1}}function B2(){P1()}function P1(){ku=Td=!1;var t=0;Ei!==0&&Z2()&&(t=Ei);for(var e=He(),n=null,i=Uo;i!==null;){var a=i.next,o=I1(i,e);if(o===0)i.next=null,n===null?Uo=a:n.next=a,a===null&&(ao=n);else if(n=i,t!==0||(o&3)!==0)ku=!0;i=a}wt!==0&&wt!==5||Bl(t,!1),Ei!==0&&(Ei=0)}function I1(t,e){for(var{suspendedLanes:n,pingedLanes:i,expirationTimes:a}=t,o=t.pendingLanes&-62914561;0<o;){var r=31-Ge(o),l=1<<r,s=a[r];if(s===-1){if((l&n)===0||(l&i)!==0)a[r]=WE(l,e)}else s<=e&&(t.expiredLanes|=l);o&=~l}if(e=yt,n=F,n=Pu(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i=t.callbackNode,n===0||t===e&&(ct===2||ct===9)||t.cancelPendingCommit!==null)return i!==null&&i!==null&&Jf(i),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||Ol(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(i!==null&&Jf(i),jd(n)){case 2:case 8:n=H0;break;case 32:n=Au;break;case 268435456:n=L0;break;default:n=Au}return i=W1.bind(null,t),n=Ld(n,i),t.callbackPriority=e,t.callbackNode=n,e}return i!==null&&i!==null&&Jf(i),t.callbackPriority=2,t.callbackNode=null,2}function W1(t,e){if(wt!==0&&wt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(pc()&&t.callbackNode!==n)return null;var i=F;if(i=Pu(t,t===yt?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i===0)return null;return Y1(t,i,e),I1(t,He()),t.callbackNode!=null&&t.callbackNode===n?W1.bind(null,t):null}function e0(t,e){if(pc())return null;Y1(t,e,!0)}function U2(){k2(function(){(at&6)!==0?Ld(U0,B2):P1()})}function Ap(){if(Ei===0){var t=ya;t===0&&(t=js,js<<=1,(js&261888)===0&&(js=256)),Ei=t}return Ei}function n0(t){return t==null||typeof t==="symbol"||typeof t==="boolean"?null:typeof t==="function"?t:iu(t)}function H2(t,e,n,i,a){if(e==="submit"&&n&&n.stateNode===a){var o=n0((a[Ce]||null).action),r=i.submitter;r&&(e=(e=r[Ce]||null)?n0(e.formAction):r.getAttribute("formAction"),e!==null&&(o=e,r=null));var l=new Wu("action","action",null,i,a);t.push({event:l,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Ei!==0){var s=new FormData(a,r);Im(n,{pending:!0,data:s,method:a.method,action:o},null,s)}}else typeof o==="function"&&(l.preventDefault(),s=new FormData(a,r),Im(n,{pending:!0,data:s,method:a.method,action:o},o,s))},currentTarget:a}]})}}for(Fr=0;Fr<qm.length;Fr++)Jr=qm[Fr],Ed=Jr.toLowerCase(),Md=Jr[0].toUpperCase()+Jr.slice(1),mn(Ed,"on"+Md);var Jr,Ed,Md,Fr;mn(fv,"onAnimationEnd");mn(mv,"onAnimationIteration");mn(dv,"onAnimationStart");mn("dblclick","onDoubleClick");mn("focusin","onFocus");mn("focusout","onBlur");mn($M,"onTransitionRun");mn(FM,"onTransitionStart");mn(JM,"onTransitionCancel");mn(pv,"onTransitionEnd");Vo("onMouseEnter",["mouseout","mouseover"]);Vo("onMouseLeave",["mouseout","mouseover"]);Vo("onPointerEnter",["pointerout","pointerover"]);Vo("onPointerLeave",["pointerout","pointerover"]);Ea("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ea("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ea("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ea("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ea("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ea("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),L2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xl));function tx(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var i=t[n],a=i.event;i=i.listeners;t:{var o=void 0;if(e)for(var r=i.length-1;0<=r;r--){var l=i[r],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break t;o=l,a.currentTarget=c;try{o(a)}catch(u){Cu(u)}a.currentTarget=null,o=s}else for(r=0;r<i.length;r++){if(l=i[r],s=l.instance,c=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break t;o=l,a.currentTarget=c;try{o(a)}catch(u){Cu(u)}a.currentTarget=null,o=s}}}}function Q(t,e){var n=e[Ig];n===void 0&&(n=e[Ig]=new Set);var i=t+"__bubble";n.has(i)||(ex(e,t,2,!1),n.add(i))}function vm(t,e,n){var i=0;e&&(i|=4),ex(n,t,i,e)}var Ws="_reactListening"+Math.random().toString(36).slice(2);function wp(t){if(!t[Ws]){t[Ws]=!0,Q0.forEach(function(n){n!=="selectionchange"&&(L2.has(n)||vm(n,!1,t),vm(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Ws]||(e[Ws]=!0,vm("selectionchange",!1,e))}}function ex(t,e,n,i){switch(Ax(e)){case 2:var a=VA;break;case 8:a=DA;break;default:a=Rp}n=a.bind(null,e,n,t),a=void 0,!Hm||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),i?a!==void 0?t.addEventListener(e,n,{capture:!0,passive:a}):t.addEventListener(e,n,!0):a!==void 0?t.addEventListener(e,n,{passive:a}):t.addEventListener(e,n,!1)}function xm(t,e,n,i,a){var o=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var r=i.tag;if(r===3||r===4){var l=i.stateNode.containerInfo;if(l===a)break;if(r===4)for(r=i.return;r!==null;){var s=r.tag;if((s===3||s===4)&&r.stateNode.containerInfo===a)return;r=r.return}for(;l!==null;){if(r=la(l),r===null)return;if(s=r.tag,s===5||s===6||s===26||s===27){i=o=r;continue t}l=l.parentNode}}i=i.return}tv(function(){var c=o,u=Yd(n),f=[];t:{var m=hv.get(t);if(m!==void 0){var d=Wu,y=t;switch(t){case"keypress":if(ou(n)===0)break t;case"keydown":case"keyup":d=MM;break;case"focusin":y="focus",d=nm;break;case"focusout":y="blur",d=nm;break;case"beforeblur":case"afterblur":d=nm;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=ry;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=mM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=NM;break;case fv:case mv:case dv:d=hM;break;case pv:d=DM;break;case"scroll":case"scrollend":d=cM;break;case"wheel":d=RM;break;case"copy":case"cut":case"paste":d=yM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=sy;break;case"submit":d=CM;break;case"toggle":case"beforetoggle":d=BM}var x=(e&4)!==0,T=!x&&(t==="scroll"||t==="scrollend"),h=x?m!==null?m+"Capture":null:m;x=[];for(var p=c,g;p!==null;){var v=p;if(g=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||g===null||h===null||(v=fl(p,h),v!=null&&x.push(bl(p,v,g))),T)break;p=p.return}0<x.length&&(m=new d(m,y,null,n,u),f.push({event:m,listeners:x}))}}if((e&7)===0){t:{if(d=t==="mouseover"||t==="pointerover",m=t==="mouseout"||t==="pointerout",d&&n!==Um&&(y=n.relatedTarget||n.fromElement)&&(la(y)||y[Yo]))break t;if(m||d){if(y=u.window===u?u:(d=u.ownerDocument)?d.defaultView||d.parentWindow:window,m){if(d=n.relatedTarget||n.toElement,m=c,d=d?la(d):null,d!==null&&(T=wl(d),x=d.tag,d!==T||x!==5&&x!==27&&x!==6))d=null}else m=null,d=c;if(m!==d){if(x=ry,v="onMouseLeave",h="onMouseEnter",p="mouse",t==="pointerout"||t==="pointerover")x=sy,v="onPointerLeave",h="onPointerEnter",p="pointer";T=m==null?y:Kr(m),g=d==null?y:Kr(d),y=new x(v,p+"leave",m,n,u),y.target=T,y.relatedTarget=g,v=null,la(u)===c&&(x=new x(h,p+"enter",d,n,u),x.target=g,x.relatedTarget=T,v=x),T=v,x=m&&d?Mm(m,d,G2):null,m!==null&&i0(f,y,m,x,!1),d!==null&&T!==null&&i0(f,T,d,x,!0)}}}t:{if(m=c?Kr(c):window,d=m.nodeName&&m.nodeName.toLowerCase(),d==="select"||d==="input"&&m.type==="file")var E=my;else if(fy(m))if(rv)E=ZM;else{E=XM;var M=YM}else d=m.nodeName,!d||d.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?c&&qd(c.elementType)&&(E=my):E=KM;if(E&&(E=E(t,c))){ov(f,E,n,u);break t}M&&M(t,m,c)}switch(M=c?Kr(c):window,t){case"focusin":if(fy(M)||M.contentEditable==="true")fo=M,Gm=c,Wr=null;break;case"focusout":Wr=Gm=fo=null;break;case"mousedown":jm=!0;break;case"contextmenu":case"mouseup":case"dragend":jm=!1,gy(f,n,u);break;case"selectionchange":if(kM)break;case"keydown":case"keyup":gy(f,n,u)}var S;if(Zd)t:{switch(t){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else co?iv(t,n)&&(b="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(b="onCompositionStart");if(b&&(nv&&n.locale!=="ko"&&(co||b!=="onCompositionStart"?b==="onCompositionEnd"&&co&&(S=ev()):(xi=u,Xd=("value"in xi)?xi.value:xi.textContent,co=!0)),M=$u(c,b),0<M.length&&(b=new ly(b,t,null,n,u),f.push({event:b,listeners:M}),S?b.data=S:(S=av(n),S!==null&&(b.data=S)))),S=HM?LM(t,n):GM(t,n))b=$u(c,"onBeforeInput"),0<b.length&&(M=new ly("onBeforeInput","beforeinput",null,n,u),f.push({event:M,listeners:b}),M.data=S);H2(f,t,c,n,u)}tx(f,e)})}function bl(t,e,n){return{instance:t,listener:e,currentTarget:n}}function $u(t,e){for(var n=e+"Capture",i=[];t!==null;){var a=t,o=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||o===null||(a=fl(t,n),a!=null&&i.unshift(bl(t,a,o)),a=fl(t,e),a!=null&&i.push(bl(t,a,o))),t.tag===3)return i;t=t.return}return[]}function G2(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t?t:null}function i0(t,e,n,i,a){for(var o=e._reactName,r=[];n!==null&&n!==i;){var l=n,s=l.alternate,c=l.stateNode;if(l=l.tag,s!==null&&s===i)break;l!==5&&l!==26&&l!==27||c===null||(s=c,a?(c=fl(n,o),c!=null&&r.unshift(bl(n,c,s))):a||(c=fl(n,o),c!=null&&r.push(bl(n,c,s)))),n=n.return}r.length!==0&&t.push({event:e,listeners:r})}var j2=/\\r\\n?/g,q2=/\\u0000|\\uFFFD/g;function a0(t){return(typeof t==="string"?t:""+t).replace(j2,\`
|
|
5990
|
+
\`).replace(q2,"")}function nx(t,e){return e=a0(e),a0(t)===e?!0:!1}function ft(t,e,n,i,a,o){switch(n){case"children":if(typeof i==="string")e==="body"||e==="textarea"&&i===""||Do(t,i);else if(typeof i==="number"||typeof i==="bigint")e!=="body"&&Do(t,""+i);else return;break;case"className":Xs(t,"class",i);break;case"tabIndex":Xs(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Xs(t,n,i);break;case"style":W0(t,i,o);return;case"data":if(e!=="object"){Xs(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(i==null||typeof i==="function"||typeof i==="symbol"||typeof i==="boolean"){t.removeAttribute(n);break}i=iu(i),t.setAttribute(n,i);break;case"action":case"formAction":if(typeof i==="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o==="function"&&(n==="formAction"?(e!=="input"&&ft(t,e,"name",a.name,a,null),ft(t,e,"formEncType",a.formEncType,a,null),ft(t,e,"formMethod",a.formMethod,a,null),ft(t,e,"formTarget",a.formTarget,a,null)):(ft(t,e,"encType",a.encType,a,null),ft(t,e,"method",a.method,a,null),ft(t,e,"target",a.target,a,null)));if(i==null||typeof i==="symbol"||typeof i==="boolean"){t.removeAttribute(n);break}i=iu(i),t.setAttribute(n,i);break;case"onClick":i!=null&&(t.onclick=wn);return;case"onScroll":i!=null&&Q("scroll",t);return;case"onScrollEnd":i!=null&&Q("scrollend",t);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(C(61));if(n=i.__html,n!=null){if(a.children!=null)throw Error(C(60));(o!=null?o.__html:void 0)!==n&&(t.innerHTML=n)}}break;case"multiple":t.multiple=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"muted":t.muted=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i==="function"||typeof i==="boolean"||typeof i==="symbol"){t.removeAttribute("xlink:href");break}n=iu(i),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!=="function"&&typeof i!=="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!=="function"&&typeof i!=="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":i===!0?t.setAttribute(n,""):i!==!1&&i!=null&&typeof i!=="function"&&typeof i!=="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!=="function"&&typeof i!=="symbol"&&!isNaN(i)&&1<=i?t.setAttribute(n,i):t.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i==="function"||typeof i==="symbol"||isNaN(i)?t.removeAttribute(n):t.setAttribute(n,i);break;case"popover":Q("beforetoggle",t),Q("toggle",t),nu(t,"popover",i);break;case"xlinkActuate":Yn(t,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Yn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Yn(t,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Yn(t,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Yn(t,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Yn(t,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Yn(t,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":nu(t,"is",i);break;case"innerText":case"textContent":return;default:if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")n=sM.get(n)||n,nu(t,n,i);else return}nt=!0}function Ad(t,e,n,i,a,o){switch(n){case"style":W0(t,i,o);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(C(61));if(n=i.__html,n!=null){if(a.children!=null)throw Error(C(60));(o!=null?o.__html:void 0)!==n&&(t.innerHTML=n)}}break;case"children":if(typeof i==="string")Do(t,i);else if(typeof i==="number"||typeof i==="bigint")Do(t,""+i);else return;break;case"onScroll":i!=null&&Q("scroll",t);return;case"onScrollEnd":i!=null&&Q("scrollend",t);return;case"onClick":i!=null&&(t.onclick=wn);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!k0.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(a=n.endsWith("Capture"),o=n.slice(2,a?n.length-7:void 0),e=t[Ce]||null,e=e!=null?e[n]:null,typeof e==="function"&&t.removeEventListener(o,e,a),typeof i==="function")){typeof e!=="function"&&e!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(o,i,a);break t}nt=!0,n in t?t[n]=i:i===!0?t.setAttribute(n,""):nu(t,n,i)}return}nt=!0}function te(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Q("error",t),Q("load",t);var i=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var r=n[o];if(r!=null)switch(o){case"src":i=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(C(137,e));default:ft(t,e,o,r,n,null)}}a&&ft(t,e,"srcSet",n.srcSet,n,null),i&&ft(t,e,"src",n.src,n,null);return;case"input":Q("invalid",t);var l=o=r=a=null,s=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var u=n[i];if(u!=null)switch(i){case"name":a=u;break;case"type":r=u;break;case"checked":s=u;break;case"defaultChecked":c=u;break;case"value":o=u;break;case"defaultValue":l=u;break;case"children":case"dangerouslySetInnerHTML":if(u!=null)throw Error(C(137,e));break;default:ft(t,e,i,u,n,null)}}J0(t,o,l,s,c,r,a,!1);return;case"select":Q("invalid",t),i=r=o=null;for(a in n)if(n.hasOwnProperty(a)&&(l=n[a],l!=null))switch(a){case"value":o=l;break;case"defaultValue":r=l;break;case"multiple":i=l;default:ft(t,e,a,l,n,null)}e=o,n=r,t.multiple=!!i,e!=null?bo(t,!!i,e,!1):n!=null&&bo(t,!!i,n,!0);return;case"textarea":Q("invalid",t),o=a=i=null;for(r in n)if(n.hasOwnProperty(r)&&(l=n[r],l!=null))switch(r){case"value":i=l;break;case"defaultValue":a=l;break;case"children":o=l;break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(C(91));break;default:ft(t,e,r,l,n,null)}I0(t,i,a,o);return;case"option":for(s in n)if(n.hasOwnProperty(s)&&(i=n[s],i!=null))switch(s){case"selected":t.selected=i&&typeof i!=="function"&&typeof i!=="symbol";break;default:ft(t,e,s,i,n,null)}return;case"dialog":Q("beforetoggle",t),Q("toggle",t),Q("cancel",t),Q("close",t);break;case"iframe":case"object":Q("load",t);break;case"video":case"audio":for(i=0;i<xl.length;i++)Q(xl[i],t);break;case"image":Q("error",t),Q("load",t);break;case"details":Q("toggle",t);break;case"embed":case"source":case"link":Q("error",t),Q("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&(i=n[c],i!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(C(137,e));default:ft(t,e,c,i,n,null)}return;default:if(qd(e)){for(u in n)n.hasOwnProperty(u)&&(i=n[u],i!==void 0&&Ad(t,e,u,i,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(i=n[l],i!=null&&ft(t,e,l,i,n,null))}var Y2={};function X2(t,e,n,i){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,o=null,r=null,l=null,s=null,c=null,u=null;for(d in n){var f=n[d];if(n.hasOwnProperty(d)&&f!=null)switch(d){case"checked":break;case"value":break;case"defaultValue":s=f;default:i.hasOwnProperty(d)||ft(t,e,d,null,i,f)}}for(var m in i){var d=i[m];if(f=n[m],i.hasOwnProperty(m)&&(d!=null||f!=null))switch(m){case"type":d!==f&&(nt=!0),o=d;break;case"name":d!==f&&(nt=!0),a=d;break;case"checked":d!==f&&(nt=!0),c=d;break;case"defaultChecked":d!==f&&(nt=!0),u=d;break;case"value":d!==f&&(nt=!0),r=d;break;case"defaultValue":d!==f&&(nt=!0),l=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(C(137,e));break;default:d!==f&&ft(t,e,m,d,i,f)}}Bm(t,r,l,s,c,u,o,a);return;case"select":d=r=l=m=null;for(o in n)if(s=n[o],n.hasOwnProperty(o)&&s!=null)switch(o){case"value":break;case"multiple":d=s;default:i.hasOwnProperty(o)||ft(t,e,o,null,i,s)}for(a in i)if(o=i[a],s=n[a],i.hasOwnProperty(a)&&(o!=null||s!=null))switch(a){case"value":o!==s&&(nt=!0),m=o;break;case"defaultValue":o!==s&&(nt=!0),l=o;break;case"multiple":o!==s&&(nt=!0),r=o;default:o!==s&&ft(t,e,a,o,i,s)}e=l,n=r,i=d,m!=null?bo(t,!!n,m,!1):!!i!==!!n&&(e!=null?bo(t,!!n,e,!0):bo(t,!!n,n?[]:"",!1));return;case"textarea":d=m=null;for(l in n)if(a=n[l],n.hasOwnProperty(l)&&a!=null&&!i.hasOwnProperty(l))switch(l){case"value":break;case"children":break;default:ft(t,e,l,null,i,a)}for(r in i)if(a=i[r],o=n[r],i.hasOwnProperty(r)&&(a!=null||o!=null))switch(r){case"value":a!==o&&(nt=!0),m=a;break;case"defaultValue":a!==o&&(nt=!0),d=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(C(91));break;default:a!==o&&ft(t,e,r,a,i,o)}P0(t,m,d);return;case"option":for(var y in n)if(m=n[y],n.hasOwnProperty(y)&&m!=null&&!i.hasOwnProperty(y))switch(y){case"selected":t.selected=!1;break;default:ft(t,e,y,null,i,m)}for(s in i)if(m=i[s],d=n[s],i.hasOwnProperty(s)&&m!==d&&(m!=null||d!=null))switch(s){case"selected":m!==d&&(nt=!0),t.selected=m&&typeof m!=="function"&&typeof m!=="symbol";break;default:ft(t,e,s,m,i,d)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var x in n)m=n[x],n.hasOwnProperty(x)&&m!=null&&!i.hasOwnProperty(x)&&ft(t,e,x,null,i,m);for(c in i)if(m=i[c],d=n[c],i.hasOwnProperty(c)&&m!==d&&(m!=null||d!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(C(137,e));break;default:ft(t,e,c,m,i,d)}return;default:if(qd(e)){for(var T in n)m=n[T],n.hasOwnProperty(T)&&m!==void 0&&!i.hasOwnProperty(T)&&Ad(t,e,T,void 0,i,m);for(u in i)m=i[u],d=n[u],!i.hasOwnProperty(u)||m===d||m===void 0&&d===void 0||Ad(t,e,u,m,i,d);return}}for(var h in n)m=n[h],n.hasOwnProperty(h)&&m!=null&&!i.hasOwnProperty(h)&&ft(t,e,h,null,i,m);for(f in i)m=i[f],d=n[f],!i.hasOwnProperty(f)||m===d||m==null&&d==null||ft(t,e,f,m,i,d)}function o0(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function K2(){if(typeof performance.getEntriesByType==="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var a=n[i],o=a.transferSize,r=a.initiatorType,l=a.duration;if(o&&l&&o0(r)){r=0,l=a.responseEnd;for(i+=1;i<n.length;i++){var s=n[i],c=s.startTime;if(c>l)break;var{transferSize:u,initiatorType:f}=s;u&&o0(f)&&(s=s.responseEnd,r+=u*(s<l?1:(l-c)/(s-c)))}if(--i,e+=8*(o+r)/(a.duration/1000),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t==="number")?t:5}var wd=null,Cd=null;function Sl(t){return t.nodeType===9?t:t.ownerDocument}function r0(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ix(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function ax(t,e,n,i){return n=Sl(n).createElement(t),n[Jt]=i,n[Ce]=e,te(n,t,e),Qt(n),n}function Od(t,e){return t==="textarea"||t==="noscript"||typeof e.children==="string"||typeof e.children==="number"||typeof e.children==="bigint"||typeof e.dangerouslySetInnerHTML==="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var bm=null;function Z2(){var t=window.event;if(t&&t.type==="popstate"){if(t===bm)return!1;return bm=t,!0}return bm=null,!1}var Cp=typeof setTimeout==="function"?setTimeout:void 0,Q2=typeof clearTimeout==="function"?clearTimeout:void 0,l0=typeof Promise==="function"?Promise:void 0,s0=typeof requestAnimationFrame==="function"?requestAnimationFrame:Cp,k2=typeof queueMicrotask==="function"?queueMicrotask:typeof l0<"u"?function(t){return l0.resolve(null).then(t).catch($2)}:Cp;function $2(t){setTimeout(function(){throw t})}function ji(t){return t==="head"}function u0(t,e){var n=e,i=0;do{var a=n.nextSibling;if(t.removeChild(n),a&&a.nodeType===8)if(n=a.data,n==="/$"||n==="/&"){if(i===0){t.removeChild(a),qo(e);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")Tm(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,Tm(n);for(var o=n.firstChild;o;){var{nextSibling:r,nodeName:l}=o;o[Vl]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=r}}else n==="body"&&Tm(t.ownerDocument.body);n=a}while(n);qo(e)}function c0(t,e){var n=t;t=0;do{var i=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$")if(t===0)break;else t--;else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=i}while(n)}function ox(t,e,n){if(e=CSS.escape(e)!==e?"r-"+btoa(e).replace(/=/g,""):e,t.style.viewTransitionName=e,n!=null&&(t.style.viewTransitionClass=n),n=getComputedStyle(t),n.display==="inline"){if(e=t.getClientRects(),e.length===1)var i=1;else for(var a=i=0;a<e.length;a++){var o=e[a];0<o.width&&0<o.height&&i++}i===1&&(t=t.style,t.display=e.length===1?"inline-block":"block",t.marginTop="-"+n.paddingTop,t.marginBottom="-"+n.paddingBottom)}}function rx(t,e){t=t.style,e=e.style;var n=e!=null?e.hasOwnProperty("viewTransitionName")?e.viewTransitionName:e.hasOwnProperty("view-transition-name")?e["view-transition-name"]:null:null;t.viewTransitionName=n==null||typeof n==="boolean"?"":(""+n).trim(),n=e!=null?e.hasOwnProperty("viewTransitionClass")?e.viewTransitionClass:e.hasOwnProperty("view-transition-class")?e["view-transition-class"]:null:null,t.viewTransitionClass=n==null||typeof n==="boolean"?"":(""+n).trim(),t.display==="inline-block"&&(e==null?t.display=t.margin="":(n=e.display,t.display=n==null||typeof n==="boolean"?"":n,n=e.margin,n!=null?t.margin=n:(n=e.hasOwnProperty("marginTop")?e.marginTop:e["margin-top"],t.marginTop=n==null||typeof n==="boolean"?"":n,e=e.hasOwnProperty("marginBottom")?e.marginBottom:e["margin-bottom"],t.marginBottom=e==null||typeof e==="boolean"?"":e)))}function lx(t,e,n){return n=n.ownerDocument.defaultView,{rect:t,abs:e.position==="absolute"||e.position==="fixed",clip:e.clipPath!=="none"||e.overflow!=="visible"||e.filter!=="none"||e.mask!=="none"||e.mask!=="none"||e.borderRadius!=="0px",view:0<=t.bottom&&0<=t.right&&t.top<=n.innerHeight&&t.left<=n.innerWidth}}function Nd(t){var e=t.getBoundingClientRect(),n=getComputedStyle(t);return lx(e,n,t)}function F2(t){var e=t.getBoundingClientRect();e=new DOMRect(e.x+20000,e.y+20000,e.width,e.height);var n=getComputedStyle(t);return lx(e,n,t)}function J2(t){return t.documentElement.clientHeight}function P2(t){this.addEventListener("load",t),this.addEventListener("error",t)}function I2(t,e,n,i,a,o,r,l,s){var c=e.nodeType===9?e:e.ownerDocument;try{var u=c.startViewTransition({update:function(){var m=c.defaultView,d=m.navigation&&m.navigation.transition,y=c.fonts.status;i();var x=[];if(y==="loaded"&&(J2(c),c.fonts.status==="loading"&&x.push(c.fonts.ready)),y=x.length,t!==null)for(var T=t.suspenseyImages,h=0,p=0;p<T.length;p++){var g=T[p];if(!g.complete){var v=g.getBoundingClientRect();if(0<v.bottom&&0<v.right&&v.top<m.innerHeight&&v.left<m.innerWidth){if(h+=xx(g),h>xu){x.length=y;break}g=new Promise(P2.bind(g)),x.push(g)}}}if(0<x.length)return m=Promise.race([Promise.all(x),new Promise(function(E){return setTimeout(E,500)})]).then(a,a),(d?Promise.allSettled([d.finished,m]):m).then(o,o);if(a(),d)return d.finished.then(o,o);o()},types:n});c.__reactViewTransition=u;var f=[];return u.ready.then(function(){for(var m=c.documentElement.getAnimations({subtree:!0}),d=0;d<m.length;d++){var y=m[d],x=y.effect,T=x.pseudoElement;if(T!=null&&T.startsWith("::view-transition")){f.push(y),y=x.getKeyframes();for(var h=T=void 0,p=!0,g=0;g<y.length;g++){var v=y[g],E=v.width;if(T===void 0)T=E;else if(T!==E){p=!1;break}if(E=v.height,h===void 0)h=E;else if(h!==E){p=!1;break}delete v.width,delete v.height,v.transform==="none"&&delete v.transform}p&&T!==void 0&&h!==void 0&&(x.setKeyframes(y),p=getComputedStyle(x.target,x.pseudoElement),p.width!==T||p.height!==h)&&(p=y[0],p.width=T,p.height=h,p=y[y.length-1],p.width=T,p.height=h,x.setKeyframes(y))}}r()},function(m){c.__reactViewTransition===u&&(c.__reactViewTransition=null);try{if(typeof m==="object"&&m!==null)switch(m.name){case"InvalidStateError":if(m.message==="View transition was skipped because document visibility state is hidden."||m.message==="Skipping view transition because document visibility state has become hidden."||m.message==="Skipping view transition because viewport size changed."||m.message==="Transition was aborted because of invalid state")m=null}m!==null&&s(m)}finally{i(),a(),r()}}),u.finished.finally(function(){for(var m=0;m<f.length;m++)f[m].cancel();c.__reactViewTransition===u&&(c.__reactViewTransition=null),l()}),u}catch(m){return i(),a(),r(),null}}function sa(t,e){this._scope=document.documentElement,this._selector="::view-transition-"+t+"("+e+")"}sa.prototype.animate=function(t,e){return e=typeof e==="number"?{duration:e}:vt({},e),e.pseudoElement=this._selector,this._scope.animate(t,e)};sa.prototype.getAnimations=function(){for(var t=this._scope,e=this._selector,n=t.getAnimations({subtree:!0}),i=[],a=0;a<n.length;a++){var o=n[a].effect;o!==null&&o.target===t&&o.pseudoElement===e&&i.push(n[a])}return i};sa.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function sx(t){return{name:t,group:new sa("group",t),imagePair:new sa("image-pair",t),old:new sa("old",t),new:new sa("new",t)}}function Ye(t){this._fragmentFiber=t,this._observers=this._eventListeners=null}Ye.prototype.addEventListener=function(t,e,n){var i=null,a=null;if(n!=null&&typeof n!=="boolean"&&(i=n.signal||null,i!==null&&i.aborted))return;this._eventListeners===null&&(this._eventListeners=[]);var o=this._eventListeners;if(ux(o,t,e,n)===-1){var r=this,l=e;n!=null&&typeof n!=="boolean"&&n.once===!0&&(l=function(s){r.removeEventListener(t,e,n),typeof e==="function"?e.call(this,s):e.handleEvent(s)}),i!==null&&(a=r.removeEventListener.bind(r,t,e,n),i.addEventListener("abort",a,{once:!0}),a=i.removeEventListener.bind(i,"abort",a)),i=Ho(n),o.push({type:t,listener:e,optionsOrUseCapture:n,attachedListener:l,cleanup:a}),we(this._fragmentFiber.child,!1,W2,t,l,i)}this._eventListeners=o};function W2(t,e,n,i){return jt(t).addEventListener(e,n,i),!1}Ye.prototype.removeEventListener=function(t,e,n){var i=this._eventListeners;if(i!==null&&(e=ux(i,t,e,n),e!==-1)){var a=i[e];n=a.attachedListener;var o=a.cleanup;a=Ho(a.optionsOrUseCapture),we(this._fragmentFiber.child,!1,tA,t,n,a),i.splice(e,1),o!==null&&o()}};function tA(t,e,n,i){return jt(t).removeEventListener(e,n,i),!1}function Ho(t){return t!=null&&typeof t!=="boolean"&&(t.once===!0||t.signal instanceof AbortSignal)?{capture:t.capture,passive:t.passive}:t}function f0(t){return t==null?"c=0":typeof t==="boolean"?"c="+(t?"1":"0"):"c="+(t.capture?"1":"0")}function ux(t,e,n,i){if(t.length===0)return-1;i=f0(i);for(var a=0;a<t.length;a++){var o=t[a];if(o.type===e&&o.listener===n&&f0(o.optionsOrUseCapture)===i)return a}return-1}Ye.prototype.dispatchEvent=function(t){var e=Ta(this._fragmentFiber);if(e===null)return!0;e=jt(e);var n=this._eventListeners;if(n!==null&&0<n.length||!t.bubbles){var i=e.nodeType===9?e.createComment(""):document.createTextNode("");if(n)for(var a=0;a<n.length;a++){var o=n[a];i.addEventListener(o.type,o.attachedListener,Ho(o.optionsOrUseCapture))}if(e.appendChild(i),t=i.dispatchEvent(t),n)for(a=0;a<n.length;a++)o=n[a],i.removeEventListener(o.type,o.attachedListener,Ho(o.optionsOrUseCapture));return e.removeChild(i),t}return e.dispatchEvent(t)};Ye.prototype.focus=function(t){we(this._fragmentFiber.child,!0,cx,t,void 0,void 0)};function cx(t,e){if(t.tag===6)return!1;return t=jt(t),mA(t,e)}Ye.prototype.focusLast=function(t){var e=[];we(this._fragmentFiber.child,!0,Op,e,void 0,void 0);for(var n=e.length-1;0<=n&&!cx(e[n],t);n--);};function Op(t,e){return e.push(t),!1}Ye.prototype.blur=function(){var t=Ta(this._fragmentFiber);t!==null&&(t=jt(t),t=Sl(t).activeElement,t!==null&&we(this._fragmentFiber.child,!1,eA,t,void 0,void 0))};function eA(t,e){if(t.tag===6)return!1;return t=jt(t),t===e||t.contains(e)?(e.blur(),!0):!1}Ye.prototype.observeUsing=function(t){this._observers===null&&(this._observers=new Set),this._observers.add(t),we(this._fragmentFiber.child,!1,nA,t,void 0,void 0)};function nA(t,e){if(t.tag===6)return!1;return t=jt(t),e.observe(t),!1}Ye.prototype.unobserveUsing=function(t){var e=this._observers;if(e!==null&&e.has(t)){e.delete(t),we(this._fragmentFiber.child,!1,iA,t,void 0,void 0);for(var n=e=0;n<cn.length;n++){var i=cn[n];i.fragmentInstance===this&&i.observer===t?t.unobserve(i.instance):cn[e++]=i}cn.length=e}};function iA(t,e){if(t.tag===6)return!1;return t=jt(t),e.unobserve(t),!1}var cn=[],Sm=!1;function aA(t,e,n){cn.push({fragmentInstance:t,observer:e,instance:n}),Sm||(Sm=!0,dA(function(){Sm=!1;var i=cn;cn=[];for(var a=0;a<i.length;a++){var o=i[a];o.observer.unobserve(o.instance)}}))}Ye.prototype.getClientRects=function(){var t=[];return we(this._fragmentFiber.child,!1,oA,t,void 0,void 0),t};function oA(t,e){if(t.tag===6){t=t.stateNode;var n=t.ownerDocument.createRange();n.selectNodeContents(t),e.push.apply(e,n.getClientRects())}else t=jt(t),e.push.apply(e,t.getClientRects());return!1}Ye.prototype.getRootNode=function(t){var e=Ta(this._fragmentFiber);return e===null?this:jt(e).getRootNode(t)};Ye.prototype.compareDocumentPosition=function(t){var e=Ta(this._fragmentFiber);if(e===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];we(this._fragmentFiber.child,!1,Op,n,void 0,void 0);var i=jt(e);if(n.length===0){if(n=i,Qg(this._fragmentFiber)){t:{for(e=this._fragmentFiber.return;e!==null;){if(e.tag===4){e=e.stateNode.containerInfo;break t}if(e.tag===3||e.tag===5||e.tag===27)break;e=e.return}e=null}e!=null&&(n=e)}e=this._fragmentFiber;var a=i=n.compareDocumentPosition(t);return n===t?a=Node.DOCUMENT_POSITION_CONTAINS:i&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=z0(e)[1],n===null?a=Node.DOCUMENT_POSITION_PRECEDING:(t=jt(n).compareDocumentPosition(t),a=t===0||t&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),a|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}e=jt(n[0]),a=jt(n[n.length-1]);var o=Qg(this._fragmentFiber)?e.parentElement:i;if(o==null)return Node.DOCUMENT_POSITION_DISCONNECTED;i=o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY,o=o.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY;var r=e.compareDocumentPosition(t),l=a.compareDocumentPosition(t),s=r&Node.DOCUMENT_POSITION_CONTAINED_BY||l&Node.DOCUMENT_POSITION_CONTAINED_BY;return l=i&&o&&r&Node.DOCUMENT_POSITION_FOLLOWING&&l&Node.DOCUMENT_POSITION_PRECEDING,e=i&&e===t||o&&a===t||s||l?Node.DOCUMENT_POSITION_CONTAINED_BY:!i&&e===t||!o&&a===t?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:r,e&Node.DOCUMENT_POSITION_DISCONNECTED||e&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||rA(e,this._fragmentFiber,n[0],n[n.length-1],t)?e:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function rA(t,e,n,i,a){var o=la(a);if(t&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!o)t:{for(;o!==null;){if(o.tag===7&&(o===e||o.alternate===e)){n=!0;break t}o=o.return}n=!1}return n}if(t&Node.DOCUMENT_POSITION_CONTAINS){if(o===null)return o=a.ownerDocument,a===o||a===o.documentElement||a===o.body;t:{o=e;for(e=Ta(e);o!==null;){if(!(o.tag!==5&&o.tag!==3&&o.tag!==27||o!==e&&o.alternate!==e)){o=!0;break t}o=o.return}o=!1}return o}return t&Node.DOCUMENT_POSITION_PRECEDING?((e=!!o)&&!(e=o===n)&&(e=Mm(n,o,kg),e===null?e=!1:(we(e,!0,UE,o,n),o=ro,ro=null,e=o!==null)),e):t&Node.DOCUMENT_POSITION_FOLLOWING?((e=!!o)&&!(e=o===i)&&(e=Mm(i,o,kg),e===null?e=!1:(we(e,!0,HE,o,i),o=ro,Em=ro=null,e=o!==null)),e):!1}function m0(t,e){var n=t.ownerDocument.createRange();n.selectNodeContents(t),t=n.getBoundingClientRect(),window.scrollTo(window.scrollX+t.left,e?window.scrollY+t.top:window.scrollY+t.bottom-window.innerHeight)}Ye.prototype.scrollIntoView=function(t){if(typeof t==="object")throw Error(C(566));var e=[];we(this._fragmentFiber.child,!1,Op,e,void 0,void 0);var n=t!==!1;if(e.length===0){var i=z0(this._fragmentFiber);if(i=n?i[1]||i[0]||Ta(this._fragmentFiber):i[0]||i[1],i===null)return;if(i.tag===6){t=jt(i),m0(t,n);return}if(i=jt(i),i.nodeType!==9){if(i.nodeType===11){n="host"in i?i.host:null,n!==null&&n.scrollIntoView(t);return}i.scrollIntoView(t)}}for(i=n?e.length-1:0;i!==(n?-1:e.length);){var a=e[i];a.tag===6?(a=jt(a),m0(a,n)):jt(a).scrollIntoView(t),i+=n?-1:1}};function lA(t,e){return t=jt(t),fx(t,e),!1}function fx(t,e){t.reactFragments==null&&(t.reactFragments=new Set),t.reactFragments.add(e)}function mx(t,e){var n=e._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];t.addEventListener(a.type,a.attachedListener,Ho(a.optionsOrUseCapture))}t.nodeType!==3&&(n=e._observers,n!==null&&n.forEach(function(o){for(var r=0,l=0;l<cn.length;l++){var s=cn[l];if(s.fragmentInstance!==e||s.observer!==o||s.instance!==t)cn[r++]=s}cn.length=r,o.observe(t)}),fx(t,e))}function sA(t,e){var n=e._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];t.removeEventListener(a.type,a.attachedListener,Ho(a.optionsOrUseCapture))}t.nodeType!==3&&(n=e._observers,n!==null&&n.forEach(function(o){typeof o.rootMargin==="string"?aA(e,o,t):o.unobserve(t)}),t.reactFragments!=null&&t.reactFragments.delete(e))}function Vd(t){var e=t.firstChild;e&&e.nodeType===10&&(e=e.nextSibling);for(;e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Vd(n),Iu(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function uA(t,e,n,i){for(;t.nodeType===1;){var a=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(!i)if(e==="input"&&t.type==="hidden"){var o=a.name==null?null:""+a.name;if(a.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;else if(!t[Vl])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;else if(o!==a.rel||t.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||t.getAttribute("title")!==(a.title==null?null:a.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(a.src==null?null:a.src)||t.getAttribute("type")!==(a.type==null?null:a.type)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}if(t=en(t.nextSibling),t===null)break}return null}function cA(t,e,n){if(e==="")return null;for(;t.nodeType!==3;){if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n)return null;if(t=en(t.nextSibling),t===null)return null}return t}function dx(t,e){for(;t.nodeType!==8;){if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e)return null;if(t=en(t.nextSibling),t===null)return null}return t}function Dd(t){return t.data==="$?"||t.data==="$~"}function Np(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function fA(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var i=function(){e(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}function en(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var zd=null;function d0(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return en(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function p0(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function mA(t,e){function n(){i=!0}if(t.ownerDocument.activeElement===t)return!0;var i=!1;try{t.ownerDocument.addEventListener("focus",n,!0),(t.focus||HTMLElement.prototype.focus).call(t,e)}finally{t.ownerDocument.removeEventListener("focus",n,!0)}return i}function dA(t){s0(function(){s0(function(e){return t(e)})})}function px(t,e,n){switch(e=Sl(n),t){case"html":if(t=e.documentElement,!t)throw Error(C(452));return t;case"head":if(t=e.head,!t)throw Error(C(453));return t;case"body":if(t=e.body,!t)throw Error(C(454));return t;default:throw Error(C(451))}}function hx(t,e,n){for(var i in n){var a=n[i];n.hasOwnProperty(i)&&a!=null&&ft(t,e,i,null,Y2,a)}n.dangerouslySetInnerHTML!=null&&(t.textContent=""),t.onclick===wn&&(t.onclick=null),Iu(t)}function Tm(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Iu(t)}var nn=new Map,h0=new Set;function Tl(t){if(typeof t.getRootNode==="function"){var e=t.getRootNode();if(e.nodeType===9||e.nodeType===11)return e}return t.nodeType===9?t:t.ownerDocument}var ni=ot.d;ot.d={f:pA,r:hA,D:gA,C:yA,L:vA,m:xA,X:SA,S:bA,M:TA};function pA(){var t=ni.f(),e=mc();return t||e}function hA(t){var e=Xo(t);e!==null&&e.tag===5&&e.type==="form"?Wv(e):ni.r(t)}var ko=typeof document>"u"?null:document;function gx(t,e,n){var i=ko;if(i&&typeof e==="string"&&e){var a=Ie(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof n==="string"&&(a+='[crossorigin="'+n+'"]'),h0.has(a)||(h0.add(a),t={rel:t,crossOrigin:n,href:e},i.querySelector(a)===null&&(e=i.createElement("link"),te(e,"link",t),Qt(e),i.head.appendChild(e)))}}function gA(t){ni.D(t),gx("dns-prefetch",t,null)}function yA(t,e){ni.C(t,e),gx("preconnect",t,e)}function vA(t,e,n){ni.L(t,e,n);var i=ko;if(i&&t&&e){var a='link[rel="preload"][as="'+Ie(e)+'"]';e==="image"?n&&n.imageSrcSet?(a+='[imagesrcset="'+Ie(n.imageSrcSet)+'"]',typeof n.imageSizes==="string"&&(a+='[imagesizes="'+Ie(n.imageSizes)+'"]')):a+='[href="'+Ie(t)+'"]':a+='[href="'+Ie(t)+'"]';var o=a;switch(e){case"style":o=Lo(t);break;case"script":o=$o(t)}if(!(nn.has(o)||(t=vt({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),nn.set(o,t),i.querySelector(a)!==null||e==="style"&&i.querySelector(Ul(o))||e==="script"&&i.querySelector(Hl(o))))){var r=i.createElement("link");te(r,"link",t),e==="style"&&(r[wu]=!0,r.onload=r.onerror=function(){Z0(r)}),Qt(r),i.head.appendChild(r)}}}function xA(t,e){ni.m(t,e);var n=ko;if(n&&t){var i=e&&typeof e.as==="string"?e.as:"script",a='link[rel="modulepreload"][as="'+Ie(i)+'"][href="'+Ie(t)+'"]',o=a;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=$o(t)}if(!nn.has(o)&&(t=vt({rel:"modulepreload",href:t},e),nn.set(o,t),n.querySelector(a)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Hl(o)))return}i=n.createElement("link"),te(i,"link",t),Qt(i),n.head.appendChild(i)}}}function bA(t,e,n){ni.S(t,e,n);var i=ko;if(i&&t){var a=xo(i).hoistableStyles,o=Lo(t);e=e||"default";var r=a.get(o);if(!r){var l={loading:0,preload:null};if(r=i.querySelector(Ul(o)))l.loading=5;else{t=vt({rel:"stylesheet",href:t,"data-precedence":e},n),(n=nn.get(o))&&Vp(t,n);var s=r=i.createElement("link");Qt(s),te(s,"link",t),s._p=new Promise(function(c,u){s.onload=c,s.onerror=u}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,yu(r,e,i)}r={type:"stylesheet",instance:r,count:1,state:l},a.set(o,r)}}}function SA(t,e){ni.X(t,e);var n=ko;if(n&&t){var i=xo(n).hoistableScripts,a=$o(t),o=i.get(a);o||(o=n.querySelector(Hl(a)),o||(t=vt({src:t,async:!0},e),(e=nn.get(a))&&Dp(t,e),o=n.createElement("script"),Qt(o),te(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},i.set(a,o))}}function TA(t,e){ni.M(t,e);var n=ko;if(n&&t){var i=xo(n).hoistableScripts,a=$o(t),o=i.get(a);o||(o=n.querySelector(Hl(a)),o||(t=vt({src:t,async:!0,type:"module"},e),(e=nn.get(a))&&Dp(t,e),o=n.createElement("script"),Qt(o),te(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},i.set(a,o))}}function g0(t,e,n,i){var a=(a=Mi.current)?Tl(a):null;if(!a)throw Error(C(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence==="string"&&typeof n.href==="string"?(n=Lo(n.href),e=xo(a).hoistableStyles,i=e.get(n),i||(i={type:"style",instance:null,count:0,state:null},e.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href==="string"&&typeof n.precedence==="string"){t=Lo(n.href);var o=xo(a).hoistableStyles,r=o.get(t);if(r||(a=a.ownerDocument||a,r={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,r),(o=a.querySelector(Ul(t)))?o._p||(r.instance=o,r.state.loading=5):(o=nn.get(t),o||(o={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},nn.set(t,o)),EA(a,t,o,r.state))),e&&i===null)throw Error(C(528,""));return r}if(e&&i!==null)throw Error(C(529,""));return null;case"script":return e=n.async,n=n.src,typeof n==="string"&&e&&typeof e!=="function"&&typeof e!=="symbol"?(n=$o(n),e=xo(a).hoistableScripts,i=e.get(n),i||(i={type:"script",instance:null,count:0,state:null},e.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(C(444,t))}}function Lo(t){return'href="'+Ie(t)+'"'}function Ul(t){return'link[rel="stylesheet"]['+t+"]"}function yx(t){return vt({},t,{"data-precedence":t.precedence,precedence:null})}function EA(t,e,n,i){if(e=t.querySelector('link[rel="preload"][as="style"]['+e+"]")){if(e[wu]!==!0){i.loading=1;return}}else e=t.createElement("link"),e[wu]=!0,e.onload=e.onerror=Z0.bind(null,e),te(e,"link",n),Qt(e),t.head.appendChild(e);i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2})}function $o(t){return'[src="'+Ie(t)+'"]'}function Hl(t){return"script[async]"+t}function y0(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+Ie(n.href)+'"]');if(i)return e.instance=i,Qt(i),i;var a=vt({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),Qt(i),te(i,"style",a),yu(i,n.precedence,t),e.instance=i;case"stylesheet":a=Lo(n.href);var o=t.querySelector(Ul(a));if(o)return e.state.loading|=4,e.instance=o,Qt(o),o;i=yx(n),(a=nn.get(a))&&Vp(i,a),o=(t.ownerDocument||t).createElement("link"),Qt(o);var r=o;return r._p=new Promise(function(l,s){r.onload=l,r.onerror=s}),te(o,"link",i),e.state.loading|=4,yu(o,n.precedence,t),e.instance=o;case"script":if(o=$o(n.src),a=t.querySelector(Hl(o)))return e.instance=a,Qt(a),a;if(i=n,a=nn.get(o))i=vt({},n),Dp(i,a);return t=t.ownerDocument||t,a=t.createElement("script"),Qt(a),te(a,"link",i),t.head.appendChild(a),e.instance=a;case"void":return null;default:throw Error(C(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(i=e.instance,e.state.loading|=4,yu(i,n.precedence,t));return e.instance}function yu(t,e,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=i.length?i[i.length-1]:null,o=a,r=0;r<i.length;r++){var l=i[r];if(l.dataset.precedence===e)o=l;else if(o!==a)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function Vp(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Dp(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var vu=null;function v0(t,e,n){if(vu===null){var i=new Map,a=vu=new Map;a.set(n,i)}else a=vu,i=a.get(n),i||(i=new Map,a.set(n,i));if(i.has(t))return i;i.set(t,null),n=n.getElementsByTagName(t);for(a=0;a<n.length;a++){var o=n[a];if(!(o[Vl]||o[Jt]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var r=o.getAttribute(e)||"";r=t+r;var l=i.get(r);l?l.push(o):i.set(r,[o])}}return i}function Rd(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function MA(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!=="string"||typeof e.href!=="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!=="string"||typeof e.href!=="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence==="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!=="function"&&typeof e.async!=="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src==="string")return!0}return!1}function x0(t,e){return t==="img"&&e.src!=null&&e.src!==""&&e.onLoad==null&&e.loading!=="lazy"}function vx(t){return t.type==="stylesheet"&&(t.state.loading&3)===0?!1:!0}function xx(t){return(t.width||100)*(t.height||100)*(typeof devicePixelRatio==="number"?devicePixelRatio:1)*0.25}function b0(t,e){typeof e.decode==="function"&&(t.imgCount++,e.complete||(t.imgBytes+=xx(e),t.suspenseyImages.push(e)),t=CA.bind(t),e.decode().then(t,t))}function AA(t,e,n,i){if(n.type==="stylesheet"&&(typeof i.media!=="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var a=Lo(i.href),o=e.querySelector(Ul(a));if(o){e=o._p,e!==null&&typeof e==="object"&&typeof e.then==="function"&&(t.count++,t=El.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=o,Qt(o);return}o=e.ownerDocument||e,i=yx(i),(a=nn.get(a))&&Vp(i,a),o=o.createElement("link"),Qt(o);var r=o;r._p=new Promise(function(l,s){r.onload=l,r.onerror=s}),te(o,"link",i),n.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=El.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var xu=0;function wA(t,e){return t.stylesheets&&t.count===0&&bu(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var i=setTimeout(function(){if(t.stylesheets&&bu(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},60000+e);0<t.imgBytes&&xu===0&&(xu=62500*K2());var a=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&bu(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>xu?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(a)}}:null}function bx(t){if(t.count===0&&(t.imgCount===0||!t.waitingForImages)){if(t.stylesheets)bu(t,t.stylesheets);else if(t.unsuspend){var e=t.unsuspend;t.unsuspend=null,e()}}}function El(){this.count--,bx(this)}function CA(){this.imgCount--,bx(this)}var Fu=null;function bu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Fu=new Map,e.forEach(OA,t),Fu=null,El.call(t))}function OA(t,e){if(!(e.state.loading&4)){var n=Fu.get(t);if(n)var i=n.get(null);else{n=new Map,Fu.set(t,n);for(var a=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<a.length;o++){var r=a[o];if(r.nodeName==="LINK"||r.getAttribute("media")!=="not all")n.set(r.dataset.precedence,r),i=r}i&&n.set(null,i)}a=e.instance,r=a.getAttribute("data-precedence"),o=n.get(r)||i,o===i&&n.set(null,a),n.set(r,a),this.count++,i=El.bind(this),a.addEventListener("load",i),a.addEventListener("error",i),o?o.parentNode.insertBefore(a,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(a,t.firstChild)),e.state.loading|=4}}var Go={$$typeof:An,Provider:null,Consumer:null,_currentValue:ua,_currentValue2:ua,_threadCount:0};function NA(t,e,n,i,a,o,r,l,s){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pf(0),this.hiddenUpdates=Pf(null),this.identifierPrefix=i,this.onUncaughtError=a,this.onCaughtError=o,this.onRecoverableError=r,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function Sx(t,e,n,i,a,o,r,l,s,c,u,f){return t=new NA(t,e,n,r,s,c,u,f,l),e=1,o===!0&&(e|=24),o=Me(3,null,null,e),t.current=o,o.stateNode=t,e=Pd(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:i,isDehydrated:n,cache:e},tp(o),t}function Tx(t){if(!t)return ho;return t=ho,t}function Ex(t,e,n,i,a,o){a=Tx(a),i.context===null?i.context=a:i.pendingContext=a,i=wi(e),i.payload={element:n},o=o===void 0?null:o,o!==null&&(i.callback=o),n=Ci(t,i,e),n!==null&&(Ae(n,t,e),el(n,t,e))}function S0(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function zp(t,e){S0(t,e),(t=t.alternate)&&S0(t,e)}function Mx(t){if(t.tag===13||t.tag===31){var e=Aa(t,67108864);e!==null&&Ae(e,t,67108864),zp(t,67108864)}}function T0(t){if(t.tag===13||t.tag===31){var e=je();e=Gd(e);var n=Aa(t,e);n!==null&&Ae(n,t,e),zp(t,e)}}var jo=!0;function VA(t,e,n,i){var a=B.T;B.T=null;var o=ot.p;try{ot.p=2,Rp(t,e,n,i)}finally{ot.p=o,B.T=a}}function DA(t,e,n,i){var a=B.T;B.T=null;var o=ot.p;try{ot.p=8,Rp(t,e,n,i)}finally{ot.p=o,B.T=a}}function Rp(t,e,n,i){if(jo){var a=_d(i);if(a===null)xm(t,e,i,Ju,n),E0(t,i);else if(RA(a,t,e,n,i))i.stopPropagation();else if(E0(t,i),e&4&&-1<zA.indexOf(t)){for(;a!==null;){var o=Xo(a);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var r=ia(o.pendingLanes);if(r!==0){var l=o;l.pendingLanes|=2;for(l.entangledLanes|=2;r;){var s=1<<31-Ge(r);l.entanglements[1]|=s,r&=~s}Rn(o),(at&6)===0&&(Ku=He()+500,Bl(0,!1))}}break;case 31:case 13:l=Aa(o,2),l!==null&&Ae(l,o,2),mc(),zp(o,2)}if(o=_d(i),o===null&&xm(t,e,i,Ju,n),o===a)break;a=o}a!==null&&i.stopPropagation()}else xm(t,e,i,null,n)}}function _d(t){return t=Yd(t),_p(t)}var Ju=null;function _p(t){if(Ju=null,t=la(t),t!==null){var e=wl(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=N0(e),t!==null)return t;t=null}else if(n===31){if(t=V0(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ju=t,null}function Ax(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(QE()){case U0:return 2;case H0:return 8;case Au:case kE:return 32;case L0:return 268435456;default:return 32}default:return 32}}var Bd=!1,Di=null,zi=null,Ri=null,Ml=new Map,Al=new Map,yi=[],zA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function E0(t,e){switch(t){case"focusin":case"focusout":Di=null;break;case"dragenter":case"dragleave":zi=null;break;case"mouseover":case"mouseout":Ri=null;break;case"pointerover":case"pointerout":Ml.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Al.delete(e.pointerId)}}function qr(t,e,n,i,a,o){if(t===null||t.nativeEvent!==o)return t={blockedOn:e,domEventName:n,eventSystemFlags:i,nativeEvent:o,targetContainers:[a]},e!==null&&(e=Xo(e),e!==null&&Mx(e)),t;return t.eventSystemFlags|=i,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t}function RA(t,e,n,i,a){switch(e){case"focusin":return Di=qr(Di,t,e,n,i,a),!0;case"dragenter":return zi=qr(zi,t,e,n,i,a),!0;case"mouseover":return Ri=qr(Ri,t,e,n,i,a),!0;case"pointerover":var o=a.pointerId;return Ml.set(o,qr(Ml.get(o)||null,t,e,n,i,a)),!0;case"gotpointercapture":return o=a.pointerId,Al.set(o,qr(Al.get(o)||null,t,e,n,i,a)),!0}return!1}function wx(t){var e=la(t.target);if(e!==null){var n=wl(e);if(n!==null){if(e=n.tag,e===13){if(e=N0(n),e!==null){t.blockedOn=e,Pg(t.priority,function(){T0(n)});return}}else if(e===31){if(e=V0(n),e!==null){t.blockedOn=e,Pg(t.priority,function(){T0(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Su(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=_d(t.nativeEvent);if(n===null){n=t.nativeEvent;var i=new n.constructor(n.type,n);Um=i,n.target.dispatchEvent(i),Um=null}else return e=Xo(n),e!==null&&Mx(e),t.blockedOn=n,!1;e.shift()}return!0}function M0(t,e,n){Su(t)&&n.delete(e)}function _A(){Bd=!1,Di!==null&&Su(Di)&&(Di=null),zi!==null&&Su(zi)&&(zi=null),Ri!==null&&Su(Ri)&&(Ri=null),Ml.forEach(M0),Al.forEach(M0)}function tu(t,e){t.blockedOn===e&&(t.blockedOn=null,Bd||(Bd=!0,qt.unstable_scheduleCallback(qt.unstable_NormalPriority,_A)))}var eu=null;function A0(t){eu!==t&&(eu=t,qt.unstable_scheduleCallback(qt.unstable_NormalPriority,function(){eu===t&&(eu=null);for(var e=0;e<t.length;e+=3){var n=t[e],i=t[e+1],a=t[e+2];if(typeof i!=="function")if(_p(i||n)===null)continue;else break;var o=Xo(n);o!==null&&(t.splice(e,3),e-=3,Im(o,{pending:!0,data:a,method:n.method,action:i},i,a))}}))}function qo(t){function e(s){return tu(s,t)}Di!==null&&tu(Di,t),zi!==null&&tu(zi,t),Ri!==null&&tu(Ri,t),Ml.forEach(e),Al.forEach(e);for(var n=0;n<yi.length;n++){var i=yi[n];i.blockedOn===t&&(i.blockedOn=null)}for(;0<yi.length&&(n=yi[0],n.blockedOn===null);)wx(n),n.blockedOn===null&&yi.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var a=n[i],o=n[i+1],r=a[Ce]||null;if(typeof o==="function")r||A0(n);else if(r){var l=null;if(o&&o.hasAttribute("formAction")){if(a=o,r=o[Ce]||null)l=r.formAction;else if(_p(a)!==null)continue}else l=r.action;typeof l==="function"?n[i+1]=l:(n.splice(i,3),i-=3),A0(n)}}}function Cx(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(r){return a=r})},focusReset:"manual",scroll:"manual"})}function e(){a!==null&&(a(),a=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var i=!1,a=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),a!==null&&(a(),a=null)}}}function Bp(t){this._internalRoot=t}hc.prototype.render=Bp.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(C(409));var n=e.current,i=je();Ex(n,i,t,e,null,null)};hc.prototype.unmount=Bp.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Ex(t.current,2,null,t,null,null),mc(),e[Yo]=null}};function hc(t){this._internalRoot=t}hc.prototype.unstable_scheduleHydration=function(t){if(t){var e=K0();t={blockedOn:null,target:t,priority:e};for(var n=0;n<yi.length&&e!==0&&e<yi[n].priority;n++);yi.splice(n,0,t),n===0&&wx(t)}};var w0=C0.version;if(w0!=="19.3.0")throw Error(C(527,w0,"19.3.0"));ot.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0){if(typeof t.render==="function")throw Error(C(188));throw t=Object.keys(t).join(","),Error(C(268,t))}return t=BE(e),t=t!==null?D0(t):null,t=t===null?null:t.stateNode,t};var BA={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){if(oo=__REACT_DEVTOOLS_GLOBAL_HOOK__,!oo.isDisabled&&oo.supportsFiber)try{Cl=oo.inject(BA),Le=oo}catch(t){}}var oo;gc.createRoot=function(t,e){if(!O0(t))throw Error(C(299));var n=!1,i="",a=l1,o=s1,r=u1;return e!==null&&e!==void 0&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(a=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(r=e.onRecoverableError)),e=Sx(t,1,!1,null,null,n,i,null,a,o,r,Cx),t[Yo]=e.current,wp(t),new Bp(e)};gc.hydrateRoot=function(t,e,n){if(!O0(t))throw Error(C(299));var i=!1,a="",o=l1,r=s1,l=u1,s=null;return n!==null&&n!==void 0&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(r=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(s=n.formState)),e=Sx(t,1,!0,e,n!=null?n:null,i,a,s,o,r,l,Cx),e.context=Tx(null),n=e.current,i=je(),i=Gd(i),a=wi(i),a.callback=null,Ci(n,a,i),n=i,e.current.lanes=n,Nl(e,n),Rn(e),t[Yo]=e.current,wp(t),new hc(e)};gc.version="19.3.0"});var Dx=vn(function(WC,Vx){function Nx(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Nx)}catch(t){console.error(t)}}Nx(),Vx.exports=Ox()});var _x=vn(function(yc){var UA=Symbol.for("react.transitional.element"),HA=Symbol.for("react.fragment");function Rx(t,e,n){var i=null;if(n!==void 0&&(i=""+n),e.key!==void 0&&(i=""+e.key),"key"in e){n={};for(var a in e)a!=="key"&&(n[a]=e[a])}else n=e;return e=n.ref,{$$typeof:UA,type:t,key:i,ref:e!==void 0?e:null,props:n}}yc.Fragment=HA;yc.jsx=Rx;yc.jsxs=Rx});var pn=vn(function(nO,Bx){Bx.exports=_x()});var eE=I(Dx(),1);var Ll={light:{bg:"#e8e7e3",panel:"#e6e5e1",panelAlt:"#ecebe7",line:"#b7b5ad",lineSoft:"#cfcdc6",ink:"#3d3a34",inkMuted:"#6b675f",inkFaint:"#a39d91",wire:"#a9a79f",port:"#a39d91",pill:"#e8e7e3",group:"#e3e2de",groupLine:"#cfcdc6",title:"#1c1a17",chrome:"#ecebe7",chromeLine:"#cfcdc6",rose:"#c98f81",roseFill:"#d9d3c7",blue:"#7fa2bf",blueFill:"#d9d3c7",gold:"#bfa95a",goldFill:"#d9d3c7",sage:"#5f7a4f",sageFill:"#d9d3c7",plain:"#8a857c",plainFill:"#d9d3c7",pulse:"#2b2925",pulseBloom:"#3d3a34",pulseBloomEdge:"#8a857c",glow:"#f3d9b6",glowCrest:"#fffaf0",glowGain:"3",glowBlend:"screen",flash:"#141311",portActive:"#141311",playInk:"#a39e94",playInkHover:"#5e5b54",control:"#8f8a81",controlHover:"#26251f",endedInk:"#6f6a61"},dark:{bg:"#080807",panel:"#0b0b0a",panelAlt:"#131313",line:"#383838",lineSoft:"#292929",ink:"#cccccc",inkMuted:"#aaaaaa",inkFaint:"#6e6b65",wire:"#444444",port:"#5a5a5a",pill:"#080807",group:"#0d0d0c",groupLine:"#292929",title:"#e7e5e4",chrome:"#131313",chromeLine:"#292929",rose:"#e1b8ad",roseFill:"#35332f",blue:"#aec8df",blueFill:"#35332f",gold:"#e2d29f",goldFill:"#35332f",sage:"#9aaf8c",sageFill:"#35332f",plain:"#858585",plainFill:"#35332f",pulse:"#ddd8d0",pulseBloom:"#e8e4dc",pulseBloomEdge:"#9a948c",glow:"#8c8882",glowCrest:"#ece9e4",glowGain:"1",glowBlend:"normal",flash:"#f3dfc6",portActive:"#f0f0f0",playInk:"#5e5b54",playInkHover:"#a8a49b",control:"#737373",controlHover:"#d4cec4",endedInk:"#9a9488"}};var Fo={elbowRadius:12,cornerRadius:12,portRadius:3.5,stub:14,panelRadius:0,panelInset:4,groupRadius:0,groupPad:18,groupLabelBand:22,nodePadX:16,nodePadY:11,nodeMinWidth:128,maxLabelChars:26,wireWidth:1,graphArrowheads:!1,panelStroke:1,arrowSize:6,pillPadX:6,pillPadY:3,layerGap:56,nodeGap:28,groupGap:24,margin:32},st={beats:{react:0.3,step:0.8,settle:1.2,read:1},springs:{react:0.3,smooth:0.45,word:0.16},pulse:{gather:0.34,flight:0.9,flightMin:0.45,flightMax:1.6,pxPerSecond:520,ring:0.72,cooling:1.1,dot:4,halo:18},glow:{duration:1.2,alpha:0.28,minGap:0.3333333333333333},flash:{decay:1.6},reveal:{rise:6,opacityDelay:0.075},dimSuperseded:0.52,endHold:1.5,endedDim:0.75,gateDim:0.55,rewind:{hold:0.15,duration:1.25,empty:0.4,blur:1.1},read:{base:0.25,perWord:0.075,min:1,max:3},warnTotal:60},dn={spring:{type:"spring",visualDuration:0.3,bounce:0},press:{scale:0.94},hover:{scale:1.04}},qi=(t)=>\`--si-\${t}\`;function zx(t){let e=Ll[t];return Object.keys(e).map((n)=>\`\${qi(n)}:\${e[n]};\`).join("")}var Ux=I(Et(),1),Hx=Ux.createContext({});var Lx=I(Et(),1);function vc(t){let e=Lx.useRef(null);if(e.current===null)e.current=t();return e.current}var xc=I(Et(),1);var Gx=typeof window<"u";var Up=Gx?xc.useLayoutEffect:xc.useEffect;var jx=I(Et(),1),bc=jx.createContext(null);function Hp(t,e){if(t.indexOf(e)===-1)t.push(e)}function ii(t,e){let n=t.indexOf(e);if(n>-1)t.splice(n,1)}var ne=(t,e,n)=>{if(n>e)return e;if(n<t)return t;return n};function Lp(t,e){return e?\`\${t}. For more information and steps for solving, visit https://motion.dev/troubleshooting/\${e}\`:t}var an=()=>{},Yt=()=>{};if(typeof process<"u"&&process.env?.NODE_ENV!=="production")an=(t,e,n)=>{if(!t&&typeof console<"u")console.warn(Lp(e,n))},Yt=(t,e,n)=>{if(!t)throw Error(Lp(e,n))};var ie={};var Ca=(t)=>/^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)$/u.test(t);var Oa=(t)=>typeof t==="object"&&t!==null;var Na=(t)=>/^0[^.\\s]+$/u.test(t);function Gl(t){let e;return()=>{if(e===void 0)e=t();return e}}var hn=(t)=>t;var ai=(...t)=>t.reduce((e,n)=>(i)=>n(e(i)));var Va=(t,e,n)=>{let i=e-t;return i?(n-t)/i:1};class Da{constructor(){this.subscriptions=[]}add(t){return Hp(this.subscriptions,t),()=>this.remove(t)}remove(t){ii(this.subscriptions,t)}notify(t,e,n){let i=this.subscriptions.length;if(!i)return;if(i===1)this.subscriptions[0](t,e,n);else for(let a=0;a<i;a++){let o=this.subscriptions[a];o&&o(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}var Xt=(t)=>t*1000,ae=(t)=>t/1000;var jl=(t,e)=>e?t*(1000/e):0;var qx=(t,e,n)=>{let i=e-t;return((n-t)%i+i)%i+t};var Yx=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,LA=0.0000001,GA=12;function jA(t,e,n,i,a){let o,r,l=0;do if(r=e+(n-e)/2,o=Yx(r,i,a)-t,o>0)n=r;else e=r;while(Math.abs(o)>LA&&++l<GA);return r}function Yi(t,e,n,i){if(t===e&&n===i)return hn;let a=(o)=>jA(o,0,1,t,n);return(o)=>o===0||o===1?o:Yx(a(o),e,i)}var Sc=(t)=>(e)=>e<=0.5?t(2*e)/2:(2-t(2*(1-e)))/2;var za=(t)=>(e)=>1-t(1-e);var Tc=Yi(0.33,1.53,0.69,0.99),Jo=za(Tc),ql=Sc(Jo);var Yl=(t)=>t>=1?1:(t*=2)<1?0.5*Jo(t):0.5*(2-Math.pow(2,-10*(t-1)));var Xl=(t)=>1-Math.sin(Math.acos(t)),Gp=za(Xl),Kl=Sc(Xl);var jp=Yi(0.42,0,1,1),qp=Yi(0,0,0.58,1),Po=Yi(0.42,0,0.58,1);var Zl=(t)=>Array.isArray(t)&&typeof t[0]!=="number";function Ql(t,e){return Zl(t)?t[qx(0,t.length,e)]:t}var kl=(t)=>Array.isArray(t)&&typeof t[0]==="number";var Xx={linear:hn,easeIn:jp,easeInOut:Po,easeOut:qp,circIn:Xl,circInOut:Kl,circOut:Gp,backIn:Jo,backInOut:ql,backOut:Tc,anticipate:Yl},qA=(t)=>typeof t==="string",Ec=(t)=>{if(kl(t)){Yt(t.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,n,i,a]=t;return Yi(e,n,i,a)}else if(qA(t))return Yt(Xx[t]!==void 0,\`Invalid easing type '\${t}'\`,"invalid-easing-type"),Xx[t];return t};var $l=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Kx(t){let e=new Set,n=new Set,i=!1,a=!1,o=new Set,r={delta:0,timestamp:0,isProcessing:!1};function l(c){if(o.has(c))n.add(c),t();c(r)}let s={schedule:(c,u=!1,f=!1)=>{let d=f&&i?e:n;if(u)o.add(c);return d.add(c),c},cancel:(c)=>{n.delete(c),o.delete(c)},process:(c)=>{if(r=c,i){a=!0;return}i=!0;let u=e;if(e=n,n=u,e.forEach(l),e.clear(),i=!1,a)a=!1,s.process(c)}};return s}var YA=40;function Mc(t,e){let n=!1,i=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=$l.reduce((g,v)=>(g[v]=Kx(o),g),{}),{setup:l,read:s,resolveKeyframes:c,preUpdate:u,update:f,preRender:m,render:d,postRender:y}=r,x=()=>{let g=ie.useManualTiming,v=g?a.timestamp:performance.now();if(n=!1,!g)a.delta=i?16.666666666666668:Math.max(Math.min(v-a.timestamp,YA),1);if(a.timestamp=v,a.isProcessing=!0,l.process(a),s.process(a),c.process(a),u.process(a),f.process(a),m.process(a),d.process(a),y.process(a),a.isProcessing=!1,n&&e)i=!1,t(x)},T=()=>{if(n=!0,i=!0,!a.isProcessing)t(x)};return{schedule:$l.reduce((g,v)=>{let E=r[v];return g[v]=(M,S=!1,b=!1)=>{if(!n)T();return E.schedule(M,S,b)},g},{}),cancel:(g)=>{for(let v=0;v<$l.length;v++)r[$l[v]].cancel(g)},state:a,steps:r}}var{schedule:gt,cancel:Io,state:_n,steps:XA}=Mc(typeof requestAnimationFrame<"u"?requestAnimationFrame:hn,!0);var Ac;function KA(){Ac=void 0}var Rt={now:()=>{if(Ac===void 0)Rt.set(_n.isProcessing||ie.useManualTiming?_n.timestamp:performance.now());return Ac},set:(t)=>{Ac=t,queueMicrotask(KA)}};var Bn=(t)=>Math.round(t*1e5)/1e5;var Zx=(t)=>(e)=>typeof e==="string"&&e.startsWith(t),wc=Zx("--"),ZA=Zx("var(--"),Wo=(t)=>{if(!ZA(t))return!1;return QA.test(t.split("/*")[0].trim())},QA=/var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$/iu;function Yp(t){if(typeof t!=="string")return!1;return t.split("/*")[0].includes("var(--")}var Un={test:(t)=>typeof t==="number",parse:parseFloat,transform:(t)=>t},oi={...Un,transform:(t)=>ne(0,1,t)},Fl={...Un,default:1};var tr=/-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/gu;function Qx(t){return t==null}var kx=/^(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))$/iu;var er=(t,e)=>(n)=>Boolean(typeof n==="string"&&kx.test(n)&&n.startsWith(t)||e&&!Qx(n)&&Object.prototype.hasOwnProperty.call(n,e)),Cc=(t,e,n)=>(i)=>{if(typeof i!=="string")return i;let[a,o,r,l]=i.match(tr);return{[t]:parseFloat(a),[e]:parseFloat(o),[n]:parseFloat(r),alpha:l!==void 0?parseFloat(l):1}};var kA=(t)=>ne(0,255,t),Xp={...Un,transform:(t)=>Math.round(kA(t))},Hn={test:er("rgb","red"),parse:Cc("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+Xp.transform(t)+", "+Xp.transform(e)+", "+Xp.transform(n)+", "+Bn(oi.transform(i))+")"};function $A(t){let e="",n="",i="",a="";if(t.length>5)e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),a=t.substring(7,9);else e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),a=t.substring(4,5),e+=e,n+=n,i+=i,a+=a;return{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:a?parseInt(a,16)/255:1}}var Jl={test:er("#"),parse:$A,transform:Hn.transform};var Pl=(t)=>({test:(e)=>typeof e==="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:(e)=>\`\${e}\${t}\`}),gn=Pl("deg"),Xi=Pl("%"),D=Pl("px"),$x=Pl("vh"),Fx=Pl("vw"),Kp=(()=>({...Xi,parse:(t)=>Xi.parse(t)/100,transform:(t)=>Xi.transform(t*100)}))();var Ki={test:er("hsl","hue"),parse:Cc("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+Xi.transform(Bn(e))+", "+Xi.transform(Bn(n))+", "+Bn(oi.transform(i))+")"};var Dt={test:(t)=>Hn.test(t)||Jl.test(t)||Ki.test(t),parse:(t)=>{if(Hn.test(t))return Hn.parse(t);else if(Ki.test(t))return Ki.parse(t);else return Jl.parse(t)},transform:(t)=>typeof t==="string"?t:t.hasOwnProperty("red")?Hn.transform(t):Ki.transform(t),getAnimatableNone:(t)=>{let e=Dt.parse(t);return e.alpha=0,Dt.transform(e)}};var Jx=/(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))/giu;var Ix=new RegExp(tr.source),Wx=new RegExp(Jx.source,"i");function FA(t){return isNaN(t)&&typeof t==="string"&&(Ix.test(t)||Wx.test(t))}var tb="number",eb="color",JA="var",PA="var(",Px="\${}",IA=/var\\s*\\(\\s*--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)|#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\)|-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)/giu;function nb(t){let e=t.toString();return Ix.test(e)||Wx.test(e)}function nr(t){let e=t.toString(),n=[],i={color:[],number:[],var:[]},a=[],o=0,l=e.replace(IA,(s)=>{if(Dt.test(s))i.color.push(o),a.push(eb),n.push(Dt.parse(s));else if(s.startsWith(PA))i.var.push(o),a.push(JA),n.push(s);else i.number.push(o),a.push(tb),n.push(parseFloat(s));return++o,Px}).split(Px);return{values:n,split:l,indexes:i,types:a}}function WA(t){return nr(t).values}function ib({split:t,types:e}){let n=t.length;return(i)=>{let a="";for(let o=0;o<n;o++)if(a+=t[o],i[o]!==void 0){let r=e[o];if(r===tb)a+=Bn(i[o]);else if(r===eb)a+=Dt.transform(i[o]);else a+=i[o]}return a}}function t3(t){return ib(nr(t))}var e3=(t)=>typeof t==="number"?0:Dt.test(t)?Dt.getAnimatableNone(t):t,n3=(t,e)=>{if(typeof t==="number")return e?.trim().endsWith("/")?t:0;return e3(t)};function i3(t){let e=nr(t);return ib(e)(e.values.map((i,a)=>n3(i,e.split[a])))}var _t={test:FA,parse:WA,createTransformer:t3,getAnimatableNone:i3};function Zp(t,e,n){if(n<0)n+=1;if(n>1)n-=1;if(n<0.16666666666666666)return t+(e-t)*6*n;if(n<0.5)return e;if(n<0.6666666666666666)return t+(e-t)*(0.6666666666666666-n)*6;return t}function ab({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let a=0,o=0,r=0;if(!e)a=o=r=n;else{let l=n<0.5?n*(1+e):n+e-n*e,s=2*n-l;a=Zp(s,l,t+0.3333333333333333),o=Zp(s,l,t),r=Zp(s,l,t-0.3333333333333333)}return{red:Math.round(a*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:i}}function ir(t,e){return(n)=>n>0?e:t}var Oe=(t,e,n)=>t+(e-t)*n;var Qp=(t,e,n)=>{let i=t*t,a=n*(e*e-i)+i;return a<0?0:Math.sqrt(a)},a3=[Jl,Hn,Ki],o3=(t)=>a3.find((e)=>e.test(t));function ob(t){let e=o3(t);if(!e)return an(!1,\`'\${t}' is not an animatable color. Use the equivalent color code instead.\`,"color-not-animatable"),!1;let n=e.parse(t);if(e===Ki)n=ab(n);return n}var kp=(t,e)=>{let n=ob(t),i=ob(e);if(!n||!i)return ir(t,e);let a={...n};return(o)=>(a.red=Qp(n.red,i.red,o),a.green=Qp(n.green,i.green,o),a.blue=Qp(n.blue,i.blue,o),a.alpha=Oe(n.alpha,i.alpha,o),Hn.transform(a))};var Oc=new Set(["none","hidden"]);function rb(t,e){if(Oc.has(t))return(n)=>n<=0?t:e;else return(n)=>n>=1?e:t}function r3(t,e){return(n)=>Oe(t,e,n)}function Nc(t){if(typeof t==="number")return r3;else if(typeof t==="string")return Wo(t)?ir:Dt.test(t)?kp:u3;else if(Array.isArray(t))return lb;else if(typeof t==="object")return Dt.test(t)?kp:l3;return ir}function lb(t,e){let n=[...t],i=n.length,a=t.map((o,r)=>Nc(o)(o,e[r]));return(o)=>{for(let r=0;r<i;r++)n[r]=a[r](o);return n}}function l3(t,e){let n={...t,...e},i={};for(let a in n)if(t[a]!==void 0&&e[a]!==void 0)i[a]=Nc(t[a])(t[a],e[a]);return(a)=>{for(let o in i)n[o]=i[o](a);return n}}function s3(t,e){let n=[],i={color:0,var:0,number:0};for(let a=0;a<e.values.length;a++){let o=e.types[a],r=t.indexes[o][i[o]],l=t.values[r]??0;n[a]=l,i[o]++}return n}var u3=(t,e)=>{let n=_t.createTransformer(e),i=nr(t),a=nr(e);if(i.indexes.var.length===a.indexes.var.length&&i.indexes.color.length===a.indexes.color.length&&i.indexes.number.length>=a.indexes.number.length){if(Oc.has(t)&&!a.values.length||Oc.has(e)&&!i.values.length)return rb(t,e);return ai(lb(s3(i,a),a.values),n)}else return an(!0,\`Complex values '\${t}' and '\${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.\`,"complex-values-different"),ir(t,e)};var sb=/^(-?(?:\\d+(?:\\.\\d*)?|\\.\\d+))([a-z%]*)$/iu;function c3(t,e){let n=sb.exec(t);if(!n)return;let i=sb.exec(e);if(!i||n[2]!==i[2])return;let a=n[2],o=parseFloat(n[1]),r=parseFloat(i[1]);return(l)=>Bn(Oe(o,r,l))+a}function ar(t,e,n){if(typeof t==="number"&&typeof e==="number"&&typeof n==="number")return Oe(t,e,n);if(typeof t==="string"&&typeof e==="string"){let a=c3(t,e);if(a)return a}return Nc(t)(t,e)}var ub=(t)=>{let e=({timestamp:n})=>t(n);return{start:(n=!0)=>gt.update(e,n),stop:()=>Io(e),now:()=>_n.isProcessing?_n.timestamp:Rt.now()}};var Vc=(t,e,n=10)=>{let i="",a=Math.max(Math.round(e/n),2);for(let o=0;o<a;o++)i+=Math.round(t(o/(a-1))*1e4)/1e4+", ";return\`linear(\${i.substring(0,i.length-2)})\`};var Dc=20000;function or(t,e=50,n=20000,i){let a=0,o=t.next(a);i?.push(o.value);while(!o.done&&a<n)a+=e,o=t.next(a),i?.push(o.value);return a>=n?1/0:a}function Il(t,e=100,n){let i=n({...t,keyframes:[0,e]}),a=Math.min(or(i),Dc);return{type:"keyframes",ease:(o)=>i.next(a*o).value/e,duration:ae(a)}}var Ct={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:0.3,visualDuration:0.3,restSpeed:{granular:0.01,default:2},restDelta:{granular:0.005,default:0.5},minDuration:0.01,maxDuration:10,minDamping:0.05,maxDamping:1};function Fp(t,e){return t*Math.sqrt(1-e*e)}var f3=12;function m3(t,e,n){let i=n;for(let a=1;a<f3;a++)i=i-t(i)/e(i);return i}var $p=0.001;function d3({duration:t=Ct.duration,bounce:e=Ct.bounce,velocity:n=Ct.velocity,mass:i=Ct.mass}){let a,o;an(t<=Xt(Ct.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let r=1-e;if(r=ne(Ct.minDamping,Ct.maxDamping,r),t=ne(Ct.minDuration,Ct.maxDuration,ae(t)),r<1)a=(c)=>{let u=c*r,f=u*t,m=u-n,d=Fp(c,r),y=Math.exp(-f);return $p-m/d*y},o=(c)=>{let f=c*r*t,m=f*n+n,d=r*r*c*c*t,y=Math.exp(-f),x=Fp(c*c,r);return(-a(c)+$p>0?-1:1)*((m-d)*y)/x};else a=(c)=>{let u=Math.exp(-c*t),f=(c-n)*t+1;return-$p+u*f},o=(c)=>{let u=Math.exp(-c*t),f=(n-c)*(t*t);return u*f};let l=5/t,s=m3(a,o,l);if(t=Xt(t),isNaN(s))return{stiffness:Ct.stiffness,damping:Ct.damping,duration:t};else{let c=s*s*i;return{stiffness:c,damping:r*2*Math.sqrt(i*c),duration:t}}}var cb=["duration","bounce"],fb=["stiffness","damping","mass"];function zc(t,e){return e.some((n)=>t[n]!==void 0)}function p3(t){let e={velocity:Ct.velocity,stiffness:Ct.stiffness,damping:Ct.damping,mass:Ct.mass,isResolvedFromDuration:!1,...t};if(!zc(t,fb)&&zc(t,cb))if(e.velocity=0,t.visualDuration){let n=t.visualDuration,i=2*Math.PI/(n*1.2),a=i*i,o=2*ne(0.05,1,1-(t.bounce||0))*Math.sqrt(a);e={...e,mass:Ct.mass,stiffness:a,damping:o}}else{let n=d3({...t,velocity:0});e={...e,...n,mass:Ct.mass},e.isResolvedFromDuration=!0}return e}function ri(t=Ct.visualDuration,e=Ct.bounce){let n=typeof t!=="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t,i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],o={done:!1,value:i},{stiffness:r,damping:l,mass:s,duration:c,velocity:u,isResolvedFromDuration:f}=p3({...n,velocity:-ae(n.velocity||0)}),m=l/(2*Math.sqrt(r*s)),d=ae(Math.sqrt(r/s)),y=m*d,x={target:a,delta:a-i,velocity:u||0,restSpeed:0,restDelta:0},T=()=>{let S=Math.abs(x.delta)<5;x.restSpeed=n.restSpeed||(S?Ct.restSpeed.granular:Ct.restSpeed.default),x.restDelta=n.restDelta||(S?Ct.restDelta.granular:Ct.restDelta.default)};T();let h,p,g;if(m<1){let S=Fp(d,m),b={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};g=()=>{b.A=(x.velocity+y*x.delta)/S,b.sinC=y*b.A+x.delta*S,b.cosC=y*x.delta-b.A*S};let A=(N)=>{if(N!==b.t)b.t=N,b.env=Math.exp(-y*N),b.sin=Math.sin(S*N),b.cos=Math.cos(S*N)};h=(N)=>(A(N),x.target-b.env*(b.A*b.sin+x.delta*b.cos)),p=(N)=>(A(N),b.env*(b.sinC*b.sin+b.cosC*b.cos))}else if(m===1){h=(b)=>x.target-Math.exp(-d*b)*(x.delta+(x.velocity+d*x.delta)*b);let S={C:0};g=()=>{S.C=x.velocity+d*x.delta},p=(b)=>Math.exp(-d*b)*(d*S.C*b-x.velocity)}else{let S=d*Math.sqrt(m*m-1);h=(A)=>{let N=Math.exp(-y*A),R=Math.min(S*A,300);return x.target-N*((x.velocity+y*x.delta)*Math.sinh(R)+S*x.delta*Math.cosh(R))/S};let b={P:0,sinh:0,cosh:0};g=()=>{b.P=(x.velocity+y*x.delta)/S,b.sinh=y*b.P-x.delta*S,b.cosh=y*x.delta-b.P*S},p=(A)=>{let N=Math.exp(-y*A),R=Math.min(S*A,300);return N*(b.sinh*Math.sinh(R)+b.cosh*Math.cosh(R))}}g();let v=!zc(n,fb)&&zc(n,cb),E=f?c||null:null,M={calculatedDuration:E,retarget:(S,b)=>{if(x.target=S[S.length-1],x.delta=x.target-S[0],x.velocity=v?0:-ae(b),!(n.restSpeed&&n.restDelta))T();M.calculatedDuration=E,o.done=!1,g()},velocity:(S)=>Xt(p(S)),next:(S)=>{let b=h(S);if(!f){let A=Xt(p(S));o.done=Math.abs(A)<=x.restSpeed&&Math.abs(x.target-b)<=x.restDelta}else o.done=S>=c;return o.value=o.done?x.target:b,o},toString:()=>{let S=Math.min(or(M),Dc),b=Vc((A)=>M.next(S*A).value,S,30);return S+"ms "+b},toTransition:()=>{}};return M}ri.applyToOptions=(t)=>{let e=Il(t,100,ri);return t.ease=e.ease,t.duration=Xt(e.duration),t.type="keyframes",t};function Wl({keyframes:t,velocity:e=0,power:n=0.8,timeConstant:i=325,bounceDamping:a=10,bounceStiffness:o=500,modifyTarget:r,min:l,max:s,restDelta:c=0.5,restSpeed:u}){let f=t[0],m={done:!1,value:f},d=(S)=>S<l||S>s,y=(S)=>{if(l===void 0)return s;if(s===void 0)return l;return Math.abs(l-S)<Math.abs(s-S)?l:s},x=n*e,T=f+x,h=r===void 0?T:r(T);if(h!==T)x=h-f;let p=(S)=>-x*Math.exp(-S/i),g=(S)=>{let b=p(S);m.done=Math.abs(b)<=c,m.value=m.done?h:h+b},v,E,M=(S)=>{if(!d(m.value))return;v=S,E=ri({keyframes:[m.value,y(m.value)],velocity:-p(S)/i*1000,damping:a,stiffness:o,restDelta:c,restSpeed:u})};return M(0),{calculatedDuration:null,next:(S)=>{let b=!1;if(!E&&v===void 0)b=!0,g(S),M(S);if(v!==void 0&&S>=v)return E.next(S-v);else return!b&&g(S),m}}}function h3(t,e,n){let i=[],a=n||ie.mix||ar,o=t.length-1;for(let r=0;r<o;r++){let l=a(t[r],t[r+1]);if(e){let s=Array.isArray(e)?e[r]||hn:e;l=ai(s,l)}i.push(l)}return i}function mb(t,e,{clamp:n=!0,ease:i,mixer:a}={}){let o=t.length;if(Yt(o===e.length,"Both input and output ranges must be the same length","range-length"),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];let r=t[0]===t[1];if(t[0]>t[o-1])t=[...t].reverse(),e=[...e].reverse();let l=h3(e,i,a),s=l.length,c=(u)=>{if(r&&u<t[0])return e[0];let f=0;if(s>1){for(;f<t.length-2;f++)if(u<t[f+1])break}let m=Va(t[f],t[f+1],u);return l[f](m)};return n?(u)=>c(ne(t[0],t[o-1],u)):c}function ts(t,e){let n=t[t.length-1];for(let i=1;i<=e;i++){let a=Va(0,e,i);t.push(Oe(n,1,a))}}function es(t){let e=[0];return ts(e,t.length-1),e}function db(t,e){return t.map((n)=>n*e)}function g3(t,e){return t.map(()=>e||Po).splice(0,t.length-1)}function Ra({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){let a=Zl(i)?i.map(Ec):Ec(i)||Po,o={done:!1,value:e[0]};if(e.length===2&&!Array.isArray(a)&&(!n||n.length!==2||n[0]===0&&n[1]===1)){let[s,c]=e,u=s===c?void 0:(ie.mix||ar)(s,c);return{calculatedDuration:t,next:(f)=>(o.value=u?u(a(t>0?ne(0,1,f/t):1)):c,o.done=f>=t,o)}}let r=db(n&&n.length===e.length?n:es(e),t),l=mb(r,e,{ease:Array.isArray(a)?a:g3(e,a)});return{calculatedDuration:t,next:(s)=>(o.value=l(s),o.done=s>=t,o)}}var y3=5;function v3(t,e,n){let i=Math.max(e-y3,0);return jl(n-t(i),e-i)}function pb(t,e,n=0){if(e<=0)return n;return t.velocity?t.velocity(e):v3((i)=>t.next(i).value,e,t.next(e).value)}var x3=(t)=>t!==null;function Zi(t,{repeat:e,repeatType:n="loop"},i,a=1){let o=t.filter(x3),l=a<0||e&&n!=="loop"&&e%2===1?0:o.length-1;return!l||i===void 0?o[l]:i}var b3={decay:Wl,inertia:Wl,tween:Ra,keyframes:Ra,spring:ri};function Rc(t){if(typeof t.type==="string")t.type=b3[t.type]}function S3(t,e){return{kind:t,animation:e,timestamp:Rt.now(),frameTimestamp:_n.timestamp,frameIsProcessing:_n.isProcessing}}function _c(t,e,n){let i=globalThis.__MOTION_INSPECT__;if(!i)return;try{i({...S3("animation-start",t),options:n?{...e,...n}:e})}catch{}}class _a{constructor(){this.isResolved=!1}get finished(){if(!this._finished)this._finished=this.isResolved?Promise.resolve():new Promise((t)=>{this._resolve=t});return this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(t,e){return this.finished.then(t,e)}}var T3=(t)=>t/100;class Qi extends _a{constructor(t){super();if(this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;if(e&&e.updatedAt!==Rt.now())this.tick(Rt.now());if(this.isStopped=!0,this.state==="idle")return;this.teardown(),this.options.onStop?.()},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1)this.pause();_c(this,this.options)}initAnimation(){let{options:t}=this;Rc(t);let{type:e=Ra,repeat:n=0,repeatDelay:i=0,repeatType:a,velocity:o=0}=t,{keyframes:r}=t,l=e||Ra;if(l!==Ra&&typeof r[0]!=="number")this.mixKeyframes=ai(T3,ar(r[0],r[1])),r=[0,100];let s=l(r===t.keyframes?t:{...t,keyframes:r});if(a==="mirror")this.mirroredGenerator=l({...t,keyframes:[...r].reverse(),velocity:-o});if(s.calculatedDuration===null)s.calculatedDuration=or(s);let{calculatedDuration:c}=s;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=s}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;if(this.holdTime!==null)this.currentTime=this.holdTime;else this.currentTime=e}tick(t,e=!1){let{generator:n,totalDuration:i,mixKeyframes:a,mirroredGenerator:o,resolvedDuration:r,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);let{delay:s=0,keyframes:c,repeat:u,repeatType:f,repeatDelay:m,type:d,onUpdate:y,finalKeyframe:x}=this.options;if(this.speed>0)this.startTime=Math.min(this.startTime,t);else if(this.speed<0)this.startTime=Math.min(t-i/this.speed,this.startTime);if(e)this.currentTime=t;else this.updateTime(t);let T=this.currentTime-s*(this.playbackSpeed>=0?1:-1),h=this.playbackSpeed>=0?T<0:T>i;if(this.currentTime=Math.max(T,0),this.state==="finished"&&this.holdTime===null)this.currentTime=i;let p=this.currentTime,g=n;if(u){let S=Math.min(this.currentTime,i)/r,b=Math.floor(S),A=S%1;if(!A&&S>=1)A=1;if(A===1&&b--,b=Math.min(b,u+1),Boolean(b%2)){if(f==="reverse"){if(A=1-A,m)A-=m/r}else if(f==="mirror")g=o}p=ne(0,1,A)*r}let v;if(h)this.delayState.value=c[0],v=this.delayState;else v=g.next(p);if(a&&!h)v.value=a(v.value);let{done:E}=v;if(!h&&l!==null)E=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0;let M=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);if(M&&d!==Wl)v.value=Zi(c,this.options,x,this.speed);if(y)y(v.value);if(M)this.finish();return v}then(t,e){return this.finished.then(t,e)}get duration(){return ae(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+ae(t)}get time(){return ae(this.currentTime)}set time(t){if(t=Xt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0)this.holdTime=t;else if(this.driver)this.startTime=this.driver.now()-t/this.playbackSpeed;if(this.driver)this.driver.start(!1);else this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t)}getGeneratorVelocity(){return pb(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;if(e&&this.driver)this.updateTime(Rt.now());if(this.playbackSpeed=t,e&&this.driver)this.time=ae(this.currentTime)}play(){if(this.isStopped)return;let{driver:t=ub,startTime:e}=this.options;if(!this.driver)this.driver=t((i)=>this.tick(i));this.options.onPlay?.();let n=this.driver.now();if(this.state==="finished")this.updateFinished(),this.startTime=n;else if(this.holdTime!==null)this.startTime=n-this.holdTime;else if(!this.startTime)this.startTime=e??n;if(this.state==="finished"&&this.speed<0)this.startTime+=this.calculatedDuration;this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Rt.now()),this.holdTime=this.currentTime}complete(){if(this.state!=="running")this.play();this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){if(!this.driver)return;this.driver.stop(),this.driver=void 0}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){if(this.options.allowFlatten)this.options.type="keyframes",this.options.ease="linear",this.initAnimation();return this.driver?.stop(),t.observe(this)}}var E3=new Set(["brightness","contrast","saturate","opacity"]);function M3(t){let[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;let[i]=n.match(tr)||[];if(!i)return t;let a=n.replace(i,""),o=E3.has(e)?1:0;if(i!==n)o*=100;return e+"("+o+a+")"}var A3=/\\b([a-z-]*)\\(.*?\\)/gu,ns={..._t,getAnimatableNone:(t)=>{let e=t.match(A3);return e?e.map(M3).join(" "):t}};var is={..._t,getAnimatableNone:(t)=>{let e=_t.parse(t);return _t.createTransformer(t)(e.map((i)=>typeof i==="number"?0:typeof i==="object"?{...i,alpha:1}:i))}};var Jp={...Un,transform:Math.round};var as={rotate:gn,pathRotation:gn,rotateX:gn,rotateY:gn,rotateZ:gn,scale:Fl,scaleX:Fl,scaleY:Fl,scaleZ:Fl,skew:gn,skewX:gn,skewY:gn,distance:D,translateX:D,translateY:D,translateZ:D,x:D,y:D,z:D,perspective:D,transformPerspective:D,opacity:oi,originX:Kp,originY:Kp,originZ:D};var fe={borderWidth:D,borderTopWidth:D,borderRightWidth:D,borderBottomWidth:D,borderLeftWidth:D,borderRadius:D,borderTopLeftRadius:D,borderTopRightRadius:D,borderBottomRightRadius:D,borderBottomLeftRadius:D,width:D,maxWidth:D,height:D,maxHeight:D,top:D,right:D,bottom:D,left:D,inset:D,insetBlock:D,insetBlockStart:D,insetBlockEnd:D,insetInline:D,insetInlineStart:D,insetInlineEnd:D,padding:D,paddingTop:D,paddingRight:D,paddingBottom:D,paddingLeft:D,paddingBlock:D,paddingBlockStart:D,paddingBlockEnd:D,paddingInline:D,paddingInlineStart:D,paddingInlineEnd:D,margin:D,marginTop:D,marginRight:D,marginBottom:D,marginLeft:D,marginBlock:D,marginBlockStart:D,marginBlockEnd:D,marginInline:D,marginInlineStart:D,marginInlineEnd:D,fontSize:D,backgroundPositionX:D,backgroundPositionY:D,...as,zIndex:Jp,fillOpacity:oi,strokeOpacity:oi,numOctaves:Jp};var w3={...fe,color:Dt,backgroundColor:Dt,outlineColor:Dt,fill:Dt,stroke:Dt,borderColor:Dt,borderTopColor:Dt,borderRightColor:Dt,borderBottomColor:Dt,borderLeftColor:Dt,filter:ns,WebkitFilter:ns,mask:is,WebkitMask:is},Bc=(t)=>w3[t];var C3=new Set([ns,is]);function rr(t,e){let n=Bc(t);if(!C3.has(n))n=_t;return n.getAnimatableNone?n.getAnimatableNone(e):void 0}function hb(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}var Ba=(t)=>t*180/Math.PI,Pp=(t)=>{let e=Ba(Math.atan2(t[1],t[0]));return Ip(e)},O3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:(t)=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Pp,rotateZ:Pp,skewX:(t)=>Ba(Math.atan(t[1])),skewY:(t)=>Ba(Math.atan(t[2])),skew:(t)=>(Math.abs(t[1])+Math.abs(t[2]))/2},Ip=(t)=>{if(t=t%360,t<0)t+=360;return t},gb=Pp,yb=(t)=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),vb=(t)=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),N3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:yb,scaleY:vb,scale:(t)=>(yb(t)+vb(t))/2,rotateX:(t)=>Ip(Ba(Math.atan2(t[6],t[5]))),rotateY:(t)=>Ip(Ba(Math.atan2(-t[2],t[0]))),rotateZ:gb,rotate:gb,skewX:(t)=>Ba(Math.atan(t[4])),skewY:(t)=>Ba(Math.atan(t[1])),skew:(t)=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Uc(t){return t.includes("scale")?1:0}function Hc(t,e){if(!t||t==="none")return Uc(e);let n=t.match(/^matrix3d\\(([-\\d.e\\s,]+)\\)$/u),i,a;if(n)i=N3,a=n;else{let l=t.match(/^matrix\\(([-\\d.e\\s,]+)\\)$/u);i=O3,a=l}if(!a)return Uc(e);let o=i[e],r=a[1].split(",").map(V3);return typeof o==="function"?o(r):r[o]}var Lc=(t,e)=>{let{transform:n="none"}=getComputedStyle(t);return Hc(n,e)};function V3(t){return parseFloat(t.trim())}var Xe=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],oe=(()=>new Set([...Xe,"pathRotation"]))();var Wp=(t)=>t===Un||t===D,D3=new Set(["x","y","z"]),z3=Xe.filter((t)=>!D3.has(t));function bb(t){let e=[];return z3.forEach((n)=>{let i=t.getValue(n);if(i!==void 0){let a=i.get(),o=n.startsWith("scale")?1:0;if(a===o)return;e.push([n,a]),i.set(o)}}),e}var Sb=new Set(["bottom","right"]);function xb(t,e,n,i,a,o){let r=parseFloat(t);if(!isNaN(r))return r;let{min:l,max:s}=e()[n],c=s-l;return o==="border-box"?c:c-parseFloat(i)-parseFloat(a)}var ki={width:({width:t,paddingLeft:e="0",paddingRight:n="0",boxSizing:i},a)=>xb(t,a,"x",e,n,i),height:({height:t,paddingTop:e="0",paddingBottom:n="0",boxSizing:i},a)=>xb(t,a,"y",e,n,i),top:({top:t})=>parseFloat(t),left:({left:t})=>parseFloat(t),bottom:({top:t},e)=>{let{y:n}=e();return parseFloat(t)+(n.max-n.min)},right:({left:t},e)=>{let{x:n}=e();return parseFloat(t)+(n.max-n.min)},x:({transform:t})=>Hc(t,"x"),y:({transform:t})=>Hc(t,"y")};ki.translateX=ki.x;ki.translateY=ki.y;var Ua=new Set,th=!1,eh=!1,nh=!1;function Tb(){if(eh){let t=[],e=new Set,n=new Set;Ua.forEach((a)=>{if(!a.needsMeasurement)return;if(t.push(a),e.add(a.element),Sb.has(a.name))n.add(a.element)});let i=new Map;n.forEach((a)=>{let o=bb(a);if(!o.length)return;i.set(a,o),a.render()}),t.forEach((a)=>a.measureInitialState()),e.forEach((a)=>{a.render();let o=i.get(a);if(o)o.forEach(([r,l])=>{a.getValue(r)?.set(l)})}),t.forEach((a)=>a.measureEndState()),t.forEach((a)=>{if(a.suspendedScrollY!==void 0)window.scrollTo(0,a.suspendedScrollY)})}eh=!1,th=!1,Ua.forEach((t)=>t.complete(nh)),Ua.clear()}function Eb(){Ua.forEach((t)=>{if(t.readKeyframes(),t.needsMeasurement)eh=!0})}function Mb(){nh=!0,Eb(),Tb(),nh=!1}function R3(t,e,n){if(typeof t==="string"){if(Ca(t)||Na(t))return parseFloat(t);else if(!_t.test(t)&&_t.test(n))return rr(e,n)}return t??void 0}class Ha{constructor(t,e,n,i,a,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=a,this.isAsync=o}scheduleResolve(){if(this.state="scheduled",this.isAsync){if(Ua.add(this),!th)th=!0,gt.read(Eb),gt.resolveKeyframes(Tb)}else this.readKeyframes(),this.complete()}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(t[0]===null){let a=i?.get(),o=t[t.length-1];if(a!==void 0)t[0]=a;else if(n&&e){let r=R3(n.readValue(e,o),e,o);if(r!==void 0)t[0]=r}if(t[0]===void 0)t[0]=o;if(i&&a===void 0)i.set(t[0])}hb(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Ua.delete(this)}cancel(){if(this.state==="scheduled")Ua.delete(this),this.state="pending"}resume(){if(this.state==="pending")this.scheduleResolve()}}var $i=(t)=>t.startsWith("--");function Gc(t,e,n){$i(e)?t.style.setProperty(e,n):t.style[e]=n}var Ab={};function jc(t,e){let n=Gl(t);return()=>Ab[e]??n()}var wb=jc(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var qc=jc(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var La=([t,e,n,i])=>\`cubic-bezier(\${t}, \${e}, \${n}, \${i})\`;var ih={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:La([0,0.65,0.55,1]),circOut:La([0.55,0,1,0.45]),backIn:La([0.31,0.01,0.66,-0.59]),backOut:La([0.33,1.53,0.69,0.99])};function ah(t,e){if(!t)return;else if(typeof t==="function")return qc()?Vc(t,e):"ease-out";else if(kl(t))return La(t);else if(Array.isArray(t))return t.map((n)=>ah(n,e)||ih.easeOut);else return ih[t]}function Cb(t,e,n,{delay:i=0,duration:a=300,repeat:o=0,repeatType:r="loop",ease:l="easeOut",times:s}={},c=void 0){let u={[e]:n};if(s)u.offset=s;let f=ah(l,a);if(Array.isArray(f))u.easing=f;let m={delay:i,duration:a,easing:!Array.isArray(f)?f:"linear",fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};if(c)m.pseudoElement=c;return t.animate(u,m)}function Ga(t){return typeof t==="function"&&"applyToOptions"in t}function Ob({type:t,...e}){if(Ga(t)&&qc())return t.applyToOptions(e);else e.duration??(e.duration=300),e.ease??(e.ease="easeOut");return e}class os extends _a{constructor(t){super();if(this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:n,keyframes:i,pseudoElement:a,allowFlatten:o=!1,finalKeyframe:r,onComplete:l}=t;this.isPseudoElement=Boolean(a),this.allowFlatten=o,this.options=t,Yt(typeof t.type!=="string",\`Mini animate() doesn't support "type" as a string.\`,"mini-spring");let s=Ob(t);if(this.animation=Cb(e,n,i,s,a),s.autoplay===!1)this.animation.pause();this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let c=Zi(i,this.options,r,this.speed);if(this.updateMotionValue)this.updateMotionValue(c);Gc(e,n,c),this.animation.cancel()}l?.(),this.notifyFinished()},_c(this,t,s)}play(){if(this.isStopped)return;if(this.manualStartTime=null,this.animation.play(),this.state==="finished")this.updateFinished()}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;if(t==="idle"||t==="finished")return;if(this.updateMotionValue)this.updateMotionValue();else this.commitStyles();if(!this.isPseudoElement)this.cancel()}commitStyles(){let t=this.options?.element;if(!this.isPseudoElement&&t?.isConnected)this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return ae(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+ae(t)}get time(){return ae(Number(this.animation.currentTime)||0)}set time(t){let e=this.finishedTime!==null;if(this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Xt(t),e)this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){if(t<0)this.finishedTime=null;this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:n,observe:i}){if(this.allowFlatten)this.animation.effect?.updateTiming({easing:"linear"});if(this.animation.onfinish=null,t&&wb()){if(this.animation.timeline=t,e)this.animation.rangeStart=e;if(n)this.animation.rangeEnd=n;return hn}else return i(this)}}var Nb={anticipate:Yl,backInOut:ql,circInOut:Kl};function _3(t){return t in Nb}function Vb(t){if(typeof t.ease==="string"&&_3(t.ease))t.ease=Nb[t.ease]}var oh=10;class rh extends os{constructor(t){Vb(t),Rc(t);super(t);if(t.startTime!==void 0&&t.autoplay!==!1)this.startTime=t.startTime;this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:n,onComplete:i,element:a,...o}=this.options;if(!e)return;if(t!==void 0){e.set(t);return}let r=new Qi({...o,autoplay:!1}),l=Math.max(oh,Rt.now()-this.startTime),s=ne(0,oh,l-oh),c=r.sample(l).value,{name:u}=this.options;if(a&&u)Gc(a,u,c);e.setWithVelocity(r.sample(Math.max(0,l-s)).value,c,s),r.stop()}}var lh=(t,e)=>{if(e==="zIndex")return!1;if(typeof t==="number"||Array.isArray(t))return!0;if(typeof t==="string"&&(_t.test(t)||t==="0")&&!t.startsWith("url("))return!0;return!1};function B3(t){let e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function Db(t,e,n,i){let a=t[0];if(a===null)return!1;if(e==="display"||e==="visibility")return!0;let o=t[t.length-1],r=lh(a,e),l=lh(o,e);if(!r||!l)return r!==l&&an(!1,\`You are trying to animate \${e} from "\${a}" to "\${o}". "\${r?o:a}" is not an animatable value.\`,"value-not-animatable"),!1;return B3(t)||(n==="spring"||Ga(n))&&i}function rs(t){t.duration=0,t.type="keyframes"}var ls=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);var U3=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\\(/;function zb(t){for(let e=0;e<t.length;e++)if(typeof t[e]==="string"&&U3.test(t[e]))return!0;return!1}var Rb=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),H3=Gl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function _b(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:a,damping:o,type:r,keyframes:l}=t;if(!n||!(ls.has(n)||Rb.has(n)))return!1;let s=e?.owner?.current;if(!(s instanceof HTMLElement)&&!(s instanceof SVGElement))return!1;let{onUpdate:c,transformTemplate:u}=e.owner.getProps();return H3()&&(ls.has(n)||Rb.has(n)&&zb(l))&&(n!=="transform"||!u)&&!c&&!i&&a!=="mirror"&&o!==0&&r!=="inertia"}var L3=40;class sh extends _a{constructor(t){super();this.stop=()=>{if(this._animation)this._animation.stop(),this.stopTimeline?.();this.keyframeResolver?.cancel()},this.createdAt=Rt.now();let{keyframes:e,name:n,motionValue:i,element:a}=t,o=t;o.autoplay??(o.autoplay=!0),o.delay??(o.delay=0),o.type??(o.type="keyframes"),o.repeat??(o.repeat=0),o.repeatDelay??(o.repeatDelay=0),o.repeatType??(o.repeatType="loop");let r=a?.KeyframeResolver||Ha;this.keyframeResolver=new r(e,(l,s,c)=>this.onKeyframesResolved(l,s,o,!c),n,i,a),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;let{name:a,type:o,velocity:r,delay:l,isHandoff:s,onUpdate:c}=n;this.resolvedAt=Rt.now();let u=!0;if(!Db(t,a,o,r)){if(u=!1,ie.instantAnimations||!l)c?.(Zi(t,n,e));t[0]=t[t.length-1],rs(n),n.repeat=0}let f=i?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>L3?this.resolvedAt:this.createdAt:void 0,{onComplete:m}=n;n.startTime??(n.startTime=f),n.finalKeyframe=e,n.keyframes=t,n.onComplete=()=>{m?.(),this.notifyFinished()};let d=u&&!s&&_b(n),y;if(d){n.element=n.motionValue?.owner?.current;try{y=new rh(n)}catch{y=new Qi(n)}}else y=new Qi(n);if(this.pendingTimeline)this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0;this._animation=y}get finished(){return this._animation?this._animation.finished:super.finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){if(!this._animation)this.keyframeResolver?.resume(),Mb();return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){if(this._animation)this.stopTimeline=this.animation.attachTimeline(t);else this.pendingTimeline=t;return()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){if(this._animation)this.animation.cancel();this.keyframeResolver?.cancel()}}class uh{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map((t)=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){let e=this.animations.map((n)=>n.attachTimeline(t));return()=>{e.forEach((n,i)=>{n&&n(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return Bb(this.animations,"duration")}get iterationDuration(){return Bb(this.animations,"iterationDuration")}runAll(t){this.animations.forEach((e)=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Bb(t,e){let n=0;for(let i=0;i<t.length;i++){let a=t[i][e];if(a!==null&&a>n)n=a}return n}class Yc extends uh{then(t,e){return this.finished.finally(t).then(()=>{})}}function Xc(t,e,n,i=0,a=1){let o=Array.from(t).sort((c,u)=>c.sortNodePosition(u)).indexOf(e),r=t.size,l=(r-1)*i;return typeof n==="function"?n(o,r):a===1?o*i:l-o*i}var Ub=30,j3=(t)=>!isNaN(parseFloat(t)),ch={current:void 0};class li{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n)=>{let i=Rt.now();if(this.updatedAt!==i)this.setPrevFrameValue();if(this.prev=this.current,this.setCurrent(n),this.current!==this.prev){if(this.notifyChange(),this.dependents)for(let a of this.dependents)a.dirty()}},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){if(this.current=t,this.updatedAt=Rt.now(),this.canTrackVelocity===null&&t!==void 0)this.canTrackVelocity=j3(this.current)}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){var n;if(t==="change")return this.onChangeSubscribe(e);return((n=this.events)[t]||(n[t]=new Da)).add(e)}onChangeSubscribe(t){let{events:e}=this;if(!e.change&&!this.changeSubscriber)this.changeSubscriber=t;else{if(!e.change)e.change=new Da,e.change.add(this.changeSubscriber),this.changeSubscriber=void 0;e.change.add(t)}return()=>{if(this.changeSubscriber===t)this.changeSubscriber=void 0;else e.change?.remove(t);this.stopIfUnobserved()}}stopIfUnobserved(){gt.read(()=>{if(!this.changeSubscriber&&!this.events.change?.getSize())this.stop()})}clearListeners(){this.changeSubscriber=void 0;for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){if(!this.passiveEffect)this.updateAndNotify(t);else this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){if(this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect)this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:t,changeSubscriber:e}=this;if(e)e(t);else this.events.change?.notify(t)}addDependent(t){if(!this.dependents)this.dependents=new Set;this.dependents.add(t)}removeDependent(t){if(this.dependents)this.dependents.delete(t)}get(){if(ch.current)ch.current.push(this);return this.current}getPrevious(){return this.prev}getVelocity(){let t=Rt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ub)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,Ub);return jl(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise((e)=>{this.hasAnimated=!0;let n=!1,i;if(i=t(()=>{if(n=!0,this.events.animationComplete?.notify(),this.animation===i)this.clearAnimation();e()}),!n)this.animation=i;this.events.animationStart?.notify()})}stop(){if(this.animation){if(this.animation.stop(),this.events.animationCancel)this.events.animationCancel.notify()}this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){if(this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect)this.stopPassiveEffect()}}function me(t,e){return new li(t,e)}function Kc(t,e){if(t?.inherit&&e){let{inherit:n,...i}=t;return{...e,...i}}return t}function Zc(t,e){let n=t?.[e]??t?.default??t;if(n!==t)return Kc(n,t);return n}var q3={type:"spring",stiffness:500,damping:25,restSpeed:10},Y3=(t)=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),X3={type:"keyframes",duration:0.8},K3={type:"keyframes",ease:[0.25,0.1,0.35,1],duration:0.3},Hb=(t,{keyframes:e})=>{if(e.length>2)return X3;else if(oe.has(t))return t.startsWith("scale")?Y3(e[1]):q3;return K3};var Z3=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Lb(t){for(let e in t)if(!Z3.has(e))return!0;return!1}var lr=(t,e,n,i={},a,o)=>(r)=>{let l=Zc(i,t)||{},s=l.delay||i.delay||0,{elapsed:c=0}=i;c=c-Xt(s);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-c,onUpdate:(m)=>{e.set(m),l.onUpdate&&l.onUpdate(m)},onComplete:()=>{r(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:a};if(!Lb(l))Object.assign(u,Hb(t,u));if(u.duration&&(u.duration=Xt(u.duration)),u.repeatDelay&&(u.repeatDelay=Xt(u.repeatDelay)),u.from!==void 0)u.keyframes[0]=u.from;let f=!1;if(u.type===!1||u.duration===0&&!u.repeatDelay){if(rs(u),u.delay===0)f=!0}if(ie.instantAnimations||ie.skipAnimations||a?.shouldSkipAnimations||l.skipAnimations)f=!0,rs(u),u.delay=0;if(u.allowFlatten=!l.type&&!l.ease,f&&!o&&e.get()!==void 0){let m=Zi(u.keyframes,l);if(m!==void 0){gt.update(()=>{u.onUpdate(m),u.onComplete()});return}}return l.isSync?new Qi(u):new sh(u)};var Q3=/^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)/u;function k3(t){let e=Q3.exec(t);if(!e)return[,];let[,n,i,a]=e;return[\`--\${n??i}\`,a]}var $3=4;function fh(t,e,n=1){Yt(n<=$3,\`Max CSS variable fallback depth detected in property "\${t}". This may indicate a circular fallback dependency.\`,"max-css-var-depth");let[i,a]=k3(t);if(!i)return;let o=window.getComputedStyle(e).getPropertyValue(i);if(o){let r=o.trim();return Ca(r)?parseFloat(r):r}return Wo(a)?fh(a,e,n+1):a}function Gb(t){let e=[{},{}];return t?.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function ja(t,e,n,i){if(typeof e==="function"){let[a,o]=Gb(i);e=e(n!==void 0?n:t.custom,a,o)}if(typeof e==="string")e=t.variants&&t.variants[e];if(typeof e==="function"){let[a,o]=Gb(i);e=e(n!==void 0?n:t.custom,a,o)}return e}function Ke(t,e,n){let i=t.getProps();return ja(i,e,n!==void 0?n:i.custom,t)}var sr=new Set(["width","height","top","left","right","bottom",...Xe]);var ss=(t)=>Array.isArray(t);function F3(t,e,n){if(t.hasValue(e))t.getValue(e).set(n);else t.addValue(e,me(n))}function J3(t){return ss(t)?t[t.length-1]||0:t}function jb(t,e){let n=Ke(t,e),{transitionEnd:i={},transition:a={},...o}=n||{};o={...o,...i};for(let r in o){let l=J3(o[r]);F3(t,r,l)}}var W=(t)=>Boolean(t&&t.getVelocity);function qb(t){return Boolean(W(t)&&t.add)}function Yb(t,e){let n=t.getValue("willChange");if(qb(n))return n.add(e);else if(!n&&ie.WillChange){let i=new ie.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function Ln(t){return t.replace(/([A-Z])/g,(e)=>\`-\${e.toLowerCase()}\`)}var Xb="framerAppearId",us="data-"+Ln(Xb);function Kb(t){return t.props[us]}var P3=typeof window<"u";function I3({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function Qc(t,e,{delay:n=0,transitionOverride:i,type:a}={}){let{transition:o,transitionEnd:r,...l}=e,s=t.getDefaultTransition();o=o?Kc(o,s):s;let c=o?.reduceMotion,u=o?.skipAnimations;if(i)o=i;let f=[],m=a&&t.animationState&&t.animationState.getState()[a],d=o?.path;if(d)d.animateVisualElement(t,l,o,n,f);for(let y in l){let x=t.getValue(y,t.latestValues[y]??null),T=l[y];if(T===void 0||m&&I3(m,y))continue;let h={delay:n,...Zc(o||{},y)};if(u)h.skipAnimations=!0;let p=x.get();if(p!==void 0&&!x.isAnimating()&&!Array.isArray(T)&&T===p&&!h.velocity){gt.update(()=>x.set(T));continue}let g=!1;if(P3&&window.MotionHandoffAnimation){let M=Kb(t);if(M){let S=window.MotionHandoffAnimation(M,y,gt);if(S!==null)h.startTime=S,g=!0}}Yb(t,y);let v=c??t.shouldReduceMotion;x.start(lr(y,x,T,v&&sr.has(y)?{type:!1}:h,t,g));let E=x.animation;if(E)f.push(E)}if(r){let y=()=>gt.update(()=>{r&&jb(t,r)});if(f.length)Promise.all(f).then(y);else y()}return f}function kc(t,e,n={}){let i=Ke(t,e,n.type==="exit"?t.presenceContext?.custom:void 0),{transition:a=t.getDefaultTransition()||{}}=i||{};if(n.transitionOverride)a=n.transitionOverride;let o=i?()=>Promise.all(Qc(t,i,n)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:c=0,staggerChildren:u,staggerDirection:f}=a;return W3(t,e,s,c,u,f,n)}:()=>Promise.resolve(),{when:l}=a;if(l){let[s,c]=l==="beforeChildren"?[o,r]:[r,o];return s().then(()=>c())}else return Promise.all([o(),r(n.delay)])}function W3(t,e,n=0,i=0,a=0,o=1,r){let l=[];for(let s of t.variantChildren)s.notify("AnimationStart",e),l.push(kc(s,e,{...r,delay:n+(typeof i==="function"?0:i)+Xc(t.variantChildren,s,i,a,o)}).then(()=>s.notify("AnimationComplete",e)));return Promise.all(l)}function Zb(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){let a=e.map((o)=>kc(t,o,n));i=Promise.all(a)}else if(typeof e==="string")i=kc(t,e,n);else{let a=typeof e==="function"?Ke(t,e,n.custom):e;i=Promise.all(Qc(t,a,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}var Qb={test:(t)=>t==="auto",parse:(t)=>t};var kb=(t)=>(e)=>e.test(t);var tw=[Un,D,Xi,gn,Fx,$x,Qb],mh=(t)=>tw.find(kb(t));function $b(t){if(typeof t==="number")return t===0;else if(t!==null)return t==="none"||t==="0"||Na(t);else return!0}var ew=new Set(["auto","none","0"]);function Fb(t,e,n){let i=0,a=void 0;while(i<t.length&&!a){let o=t[i];if(typeof o==="string"&&!ew.has(o)&&nb(o))a=t[i];i++}if(a&&n)for(let o of e){if(t[o]===a)continue;t[o]=rr(n,a)}}class cs extends Ha{constructor(t,e,n,i,a){super(t,e,n,i,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let u=t[c];if(typeof u==="string"){if(u=u.trim(),Wo(u)){let f=fh(u,e.current);if(f!==void 0)t[c]=f;if(c===t.length-1)this.finalKeyframe=u}}}if(this.resolveNoneKeyframes(),!sr.has(n)||t.length!==2)return;let[i,a]=t;if(typeof i==="number"&&typeof a==="number")return;let o=mh(i),r=mh(a),l=Yp(i),s=Yp(a);if(l!==s&&ki[n]){this.needsMeasurement=!0;return}if(o===r)return;if(Wp(o)&&Wp(r))for(let c=0;c<t.length;c++){let u=t[c];if(typeof u==="string")t[c]=parseFloat(u)}else if(ki[n])this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,n=[];for(let i=0;i<t.length;i++)if(t[i]===null||$b(t[i]))n.push(i);if(n.length)Fb(t,n,e)}measure(){let{element:t,name:e}=this;return ki[e](window.getComputedStyle(t.current),()=>t.measureViewportBox())}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;if(n==="height")this.suspendedScrollY=window.pageYOffset;this.measuredOrigin=this.measure(),e[0]=this.measuredOrigin;let i=e[e.length-1];if(i!==void 0)this.motionValue?.jump(i,!1)}measureEndState(){let{element:t,unresolvedKeyframes:e}=this;if(!t||!t.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let n=e.length-1,i=e[n];if(e[n]=this.measure(),i!==null&&this.finalKeyframe===void 0)this.finalKeyframe=i;if(this.removedTransforms?.length)this.removedTransforms.forEach(([a,o])=>{t.getValue(a).set(o)});this.resolveNoneKeyframes()}}var Jb=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];var dh=[];function ph(t){Yt(typeof t.test==="function"&&typeof t.read==="function","Effects passed to animate.addEffect() need test() and read().","effect-missing-test"),$c(t),dh.unshift(t)}function $c(t){ii(dh,t)}function hh(t){return dh.find((e)=>e.test(t))}function Fc(t,e,n={},i){let a=[],{velocity:o}=n,r=n.reduceMotion??i?.shouldReduceMotion;for(let s in e){if(s==="transition"||s==="transitionEnd")continue;let c=e[s];if(c===void 0)continue;let u=t(s),f=u.get();if(f!==void 0&&!u.isAnimating()&&!Array.isArray(c)&&c===f&&!o){gt.update(()=>u.set(c));continue}u.start(lr(s,u,c,r&&sr.has(s)?{type:!1}:n,i)),u.animation&&a.push(u.animation)}let{transitionEnd:l}=e;if(l){let s=()=>gt.update(()=>{for(let c in l)t(c).set(l[c])});a.length?Promise.all(a).then(s):s()}return a}function fs(t,e,n,i,a){return Fc((o)=>{let r=t.get(e,o);if(!r){let l;if(!a){let s=n[o];l=nw(s)??t.read(e,o,s),Yt(l!==void 0,\`"\${o}" can't be read from the animated subject. Provide [from, to] keyframes.\`,"effect-unreadable-value")}r=me(l,{owner:a}),t(e,{[o]:r})}return r},n,i,a)}function nw(t){let e=Array.isArray(t)?t[0]:void 0;return e===null?void 0:e}function ms(t){return Oa(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}function ur(t){return Oa(t)&&"ownerSVGElement"in t}var Ne=(t,e)=>e&&typeof t==="number"?e.transform(t):t;function ds(t,e,n){if(t==null)return[];if(t instanceof EventTarget)return[t];else if(typeof t==="string"){let i=document;if(e)i=e.current;let a=n?.[t]??i.querySelectorAll(t);return a?Array.from(a):[]}return Array.from(t).filter((i)=>i!=null)}class gh{constructor(t=gt.render){this.step=t,this.values=new Map,this.pending=[],this.numPending=0,this.flush=()=>{let{pending:e,numPending:n}=this;this.numPending=0;for(let i=0;i<n;i++)e[i]()}}set(t,e,n,i){if(this.values.get(t)?.onRemove(),i){for(let l of this.values.values())if(l.value===i)n=l.render}let a=()=>n&&this.schedule(n);e.get()!==void 0&&a();let o=e.on("change",a),r=()=>{o(),n&&!i&&this.cancel(n),this.values.delete(t)};return this.values.set(t,{value:e,render:i?void 0:n,onRemove:r}),r}get(t){return this.values.get(t)?.value}release(){let t=new Map;return this.values.forEach((e,n)=>{t.set(n,e.value),e.onRemove()}),this.transformKeys=this.transformValues=void 0,t}schedule(t){let{pending:e,numPending:n}=this;for(let i=0;i<n;i++)if(e[i]===t)return;n||this.step(this.flush),e[this.numPending++]=t}cancel(t){let{pending:e}=this;for(let n=0;n<this.numPending;n++)if(e[n]===t){e[n]=e[--this.numPending];return}}}function cr(t,{step:e,...n}={}){let i=new WeakMap;return Object.assign((o,r)=>{let l=i.get(o)??new gh(e);i.set(o,l);let s=[];for(let c in r){let u=r[c],f=t(o,l,c,u);s.push(f)}return()=>{for(let c of s)c()}},n,{get:(o,r)=>i.get(o)?.get(r),flush:(o)=>i.get(o)?.flush(),state:(o)=>i.get(o)})}var iw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Pb={};function Ib(t){let e="",{transformKeys:n=[],transformValues:i={}}=t;for(let o=0;o<n.length;o++){let r=n[o],l=i[r].get();if(l===void 0)continue;if((typeof l==="number"?l:parseFloat(l))!==(r.startsWith("scale")?1:0))e+=(e&&" ")+(Pb[r]||(Pb[r]=(iw[r]||r)+"("))+Ne(l,as[r])+")"}let a=t.get("pathRotation")?.get();if(a)e+=(e&&" ")+"rotate("+Ne(a,as.pathRotation)+")";return e||"none"}var aw=new Set(["originX","originY","originZ"]),yh=(t,e)=>Ne(t.get(e)?.get(),fe[e]),Jc=(t,e,n,i)=>{let a=void 0,o=void 0;if(oe.has(n)){if(n!=="pathRotation"){let r=e.transformKeys??(e.transformKeys=[]);if((e.transformValues??(e.transformValues={}))[n]=i,!r.includes(n))r.push(n),r.sort((l,s)=>Xe.indexOf(l)-Xe.indexOf(s))}if(!e.get("transform")){if(!ms(t)&&!e.get("transformBox"))Jc(t,e,"transformBox",new li("fill-box"));e.set("transform",new li("none"),()=>{t.style.transform=Ib(e)})}o=e.get("transform")}else if(aw.has(n)){if(!e.get("transformOrigin"))e.set("transformOrigin",new li(""),()=>{let r=yh(e,"originX")??"50%",l=yh(e,"originY")??"50%",s=yh(e,"originZ")??0;t.style.transformOrigin=\`\${r} \${l} \${s}\`});o=e.get("transformOrigin")}else if($i(n))a=()=>{t.style.setProperty(n,i.get())};else a=()=>{t.style[n]=Ne(i.get(),fe[n])};return e.set(n,i,a,o)},ow=(t)=>ms(t)||ur(t),vh=(t,e)=>{if(oe.has(e))return Lc(t,e);let n=getComputedStyle(t),i=$i(e)?n.getPropertyValue(e):n[e];return typeof i==="string"&&i.trim()||0},Wb=cr(Jc,{test:ow,read:vh});var rw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},lw=Xe.length;function tS(t,e,n){let i="",a=!0;for(let r=0;r<lw;r++){let l=Xe[r],s=t[l];if(s===void 0)continue;let c=!0;if(typeof s==="number")c=s===(l.startsWith("scale")?1:0);else{let u=parseFloat(s);c=l.startsWith("scale")?u===1:u===0}if(!c||n){let u=Ne(s,fe[l]);if(!c){a=!1;let f=rw[l]||l;i+=\`\${f}(\${u}) \`}if(n)e[l]=u}}let o=t.pathRotation;if(o)a=!1,i+=\`rotate(\${Ne(o,fe.pathRotation)}) \`;if(i=i.trim(),n)i=n(e,a?"":i);else if(a)i="none";return i}function qa(t,e,n){let{style:i,vars:a,transformOrigin:o}=t,r=!1,l=!1;for(let s in e){let c=e[s];if(oe.has(s)){r=!0;continue}else if(wc(s)){a[s]=c;continue}else{let u=Ne(c,fe[s]);if(s.startsWith("origin"))l=!0,o[s]=u;else i[s]=u}}if(!e.transform){if(r||n)i.transform=tS(e,t.transform,n);else if(i.transform)i.transform="none"}if(l){let{originX:s="50%",originY:c="50%",originZ:u=0}=o;i.transformOrigin=\`\${s} \${c} \${u}\`}}var sw={offset:"stroke-dashoffset",array:"stroke-dasharray"},uw={offset:"strokeDashoffset",array:"strokeDasharray"};function eS(t,e,n=1,i=0,a=!0){t.pathLength=1;let o=a?sw:uw;t[o.offset]=\`\${-i}\`,t[o.array]=\`\${e} \${n}\`}var ps=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function hs(t,{attrX:e,attrY:n,attrScale:i,pathLength:a,pathSpacing:o=1,pathOffset:r=0,...l},s,c,u){if(qa(t,l,c),s){if(t.style.viewBox)t.attrs.viewBox=t.style.viewBox;return}t.attrs=t.style,t.style={};let{attrs:f,style:m}=t;for(let d of ps)if(f[d]!==void 0)m[d]=f[d],delete f[d];if(m.transform||f.transformOrigin)m.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin;if(m.transform)m.transformBox=u?.transformBox??"fill-box",delete f.transformBox;if(e!==void 0)f.x=e;if(n!==void 0)f.y=n;if(i!==void 0)f.scale=i;if(a!==void 0)eS(f,a,o,r,!1)}function cw(t,e){if(!(e in t))return!1;let n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e);return n&&typeof n.set==="function"}var xh=(t,e,n,i,a=n)=>{let o=cw(t,a);if(!o&&(a.startsWith("data")||a.startsWith("aria")))a=Ln(a);let r=fe[n]||fe[a],l=o?()=>{t[a]=Ne(i.get(),fe[n])}:()=>{let s=Ne(i.get(),r);if(s===null||s===void 0)t.removeAttribute(a);else t.setAttribute(a,String(s))};return e.set(n,i,l)};function fw(t,e,n,i){if(gt.render(()=>t.setAttribute("pathLength","1")),n==="pathOffset")return e.set(n,i,()=>{let a=i.get();t.setAttribute("stroke-dashoffset",\`\${-a}\`)});else{if(!e.get("stroke-dasharray"))e.set("stroke-dasharray",new li("1 1"),()=>{let a=e.get("pathLength")?.get()??1,o=e.get("pathSpacing")?.get();t.setAttribute("stroke-dasharray",\`\${a} \${o??1-Number(a)}\`)});return e.set(n,i,void 0,e.get("stroke-dasharray"))}}var mw=(t,e,n,i)=>{if(n.startsWith("path"))return fw(t,e,n,i);else if(n.startsWith("attr"))return xh(t,e,n,i,iS(n));return($i(n)||n in t.style?Jc:xh)(t,e,n,i)},dw=(t,e)=>{if(oe.has(e))return fe[e]?.default||0;if($i(e)||ps.includes(e))return vh(t,e);return e=iS(e),t.getAttribute(Ln(e))??t.getAttribute(e)??void 0},nS=cr(mw,{test:ur,read:dw});function iS(t){return t.replace(/^attr([A-Z])/,(e,n)=>n.toLowerCase())}function aS({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function oS(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Pc(t,e){return aS(oS(t.getBoundingClientRect(),e))}var pw={},hw=(t)=>ur(t)?nS:Wb;class rS{constructor(t,e){this.effect=t,this.current=e,this.KeyframeResolver=cs}getValue(t){return this.effect.get(this.current,t)}readValue(t,e){return this.effect.read(this.current,t,e)}render(){this.effect.flush(this.current)}measureViewportBox(){return Pc(this.current)}getProps(){return pw}}function bh(t,e,n,i){if(i)return Fc((o)=>i.getValue(o,null),e,n,i);let a=hw(t);return fs(a,t,e,n,new rS(a,t))}var Sh=cr((t,e,n,i)=>e.set(n,i,()=>{t[n]=i.get()}),{test:(t)=>Oa(t),read:(t,e)=>{let n=t[e];return typeof n==="string"||typeof n==="number"?n:void 0}});var{schedule:lS,cancel:Z6}=Mc(queueMicrotask,!1);var sS={x:!1,y:!1};function Ic(){return sS.x||sS.y}function Wc(t,e){let n=ds(t),i=new AbortController,a={passive:!0,...e,signal:i.signal};return[n,a,()=>i.abort()]}function gw(t){return!(t.pointerType==="touch"||Ic())}function Th(t,e,n={}){let[i,a,o]=Wc(t,n);return i.forEach((r)=>{let l=!1,s=!1,c,u=()=>{r.removeEventListener("pointerleave",y)},f=(T)=>{if(c)c(T),c=void 0;u()},m=(T)=>{if(l=!1,window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",m),s)s=!1,f(T)},d=()=>{l=!0,window.addEventListener("pointerup",m,a),window.addEventListener("pointercancel",m,a)},y=(T)=>{if(T.pointerType==="touch")return;if(l){s=!0;return}f(T)},x=(T)=>{if(!gw(T))return;s=!1;let h=e(r,T);if(typeof h!=="function")return;c=h,r.addEventListener("pointerleave",y,a)};r.addEventListener("pointerenter",x,a),r.addEventListener("pointerdown",d,a)}),o}var Eh=(t,e)=>{if(!e)return!1;else if(t===e)return!0;else return Eh(t,e.parentElement)};var uS=(t)=>{if(t.pointerType==="mouse")return typeof t.button!=="number"||t.button<=0;else return t.isPrimary!==!1};var yw=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function cS(t){return yw.has(t.tagName)||t.isContentEditable===!0}var fr=new WeakSet;function fS(t){return(e)=>{if(e.key!=="Enter")return;t(e)}}function Mh(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}var mS=(t,e)=>{let n=t.currentTarget;if(!n)return;let i=fS(()=>{if(fr.has(n))return;Mh(n,"down");let a=fS(()=>{Mh(n,"up")}),o=()=>Mh(n,"cancel");n.addEventListener("keyup",a,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)};function dS(t){return uS(t)&&!Ic()}var pS=new WeakSet;function Ah(t,e,n={}){let[i,a,o]=Wc(t,n),r=(l)=>{let s=l.currentTarget;if(!dS(l))return;if(pS.has(l))return;if(fr.add(s),n.stopPropagation)pS.add(l);let c=e(s,l),u={...a,capture:!0},f=(y,x)=>{if(window.removeEventListener("pointerup",m,u),window.removeEventListener("pointercancel",d,u),fr.has(s))fr.delete(s);if(!dS(y))return;if(typeof c==="function")c(y,{success:x})},m=(y)=>{f(y,s===window||s===document||n.useGlobalTarget||Eh(s,y.target))},d=(y)=>{f(y,!1)};window.addEventListener("pointerup",m,u),window.addEventListener("pointercancel",d,u)};return i.forEach((l)=>{if((n.useGlobalTarget?window:l).addEventListener("pointerdown",r,a),ms(l)){if(l.addEventListener("focus",(c)=>mS(c,a)),!cS(l)&&!l.hasAttribute("tabindex"))l.tabIndex=0}}),o}var hS=()=>({min:0,max:0}),tf=()=>({x:hS(),y:hS()});var gs=new WeakMap;function si(t){return t!==null&&typeof t==="object"&&typeof t.start==="function"}function Gn(t){return typeof t==="string"||Array.isArray(t)}var ef=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mr=["initial",...ef];function Fi(t){if(si(t.animate))return!0;for(let e=0;e<mr.length;e++)if(Gn(t[mr[e]]))return!0;return!1}function ys(t){return Boolean(Fi(t)||t.variants)}function gS(t,e,n){for(let i in e){let a=e[i],o=n[i];if(W(a))t.addValue(i,a);else if(W(o))t.addValue(i,me(a,{owner:t}));else if(o!==a)if(t.hasValue(i)){let r=t.getValue(i);if(r.liveStyle===!0)r.jump(a);else if(!r.hasAnimated)r.set(a)}else{let r=t.getStaticValue(i);t.addValue(i,me(r!==void 0?r:a,{owner:t}))}}for(let i in n)if(e[i]===void 0)t.removeValue(i);return e}var vs={current:null},nf={current:!1};var vw=typeof window<"u";function yS(){if(nf.current=!0,!vw)return;if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>vs.current=t.matches;t.addEventListener("change",e),e()}else vs.current=!1}var vS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],af={};function xs(t){af=t}function wh(){return af}class of{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,skipAnimations:a,blockInitialAnimation:o,visualState:r},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Ha,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{if(!this.current)return;this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection)},this.renderScheduledAt=0,this.scheduleRender=()=>{let m=Rt.now();if(this.renderScheduledAt<m)this.renderScheduledAt=m,gt.render(this.render,!1,!0)};let{latestValues:s,renderState:c}=r;if(this.latestValues=s,this.baseTarget={...s},this.initialValues=e.initial?{...s}:{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=a,this.options=l,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=Fi(e),this.isVariantNode=ys(e),this.isVariantNode)this.variantChildren=new Set;this.manuallyAnimateOnMount=Boolean(t&&t.current);let{willChange:u,...f}=this.scrapeMotionValuesFromProps(e,{},this);for(let m in f){let d=f[m];if(s[m]!==void 0&&W(d))d.set(s[m])}}mount(t){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];if(this.current=t,gs.set(t,this),this.projection&&!this.projection.instance)this.projection.mount(t);if(this.parent&&this.isVariantNode&&!this.isControllingVariants)this.removeFromVariantTree=this.parent.addVariantChild(this);if(this.values.forEach((e,n)=>this.bindToMotionValue(n,e)),this.reducedMotionConfig==="never")this.shouldReduceMotion=!1;else if(this.reducedMotionConfig==="always")this.shouldReduceMotion=!0;else{if(!nf.current)yS();this.shouldReduceMotion=vs.current}this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Io(this.notifyUpdate),Io(this.render),this.valueSubscriptions.forEach((t)=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];if(e)e.unmount(),e.isMounted=!1}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){if(this.valueSubscriptions.has(t))this.valueSubscriptions.get(t)();if(e.accelerate&&ls.has(t)&&this.current instanceof HTMLElement){let{factory:o,keyframes:r,times:l,ease:s,duration:c}=e.accelerate,u=new os({element:this.current,name:t,keyframes:r,times:l,ease:s,duration:Xt(c)}),f=o(u);this.valueSubscriptions.set(t,()=>{f(),u.cancel()});return}let n=oe.has(t);if(n&&this.onBindTransform)this.onBindTransform();let i=e.on("change",(o)=>{if(this.latestValues[t]=o,this.props.onUpdate&>.preRender(this.notifyUpdate),n&&this.projection)this.projection.isTransformDirty=!0;this.scheduleRender()}),a;if(typeof window<"u"&&window.MotionCheckAppearSync)a=window.MotionCheckAppearSync(this,t,e);this.valueSubscriptions.set(t,()=>{if(i(),a)a()})}sortNodePosition(t){if(!this.current||!this.sortInstanceNodePosition||this.type!==t.type)return 0;return this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in af){let e=af[t];if(!e)continue;let{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props))this.features[t]=new i(this);if(this.features[t]){let a=this.features[t];if(a.isMounted)a.update();else a.mount(),a.isMounted=!0}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tf()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){if(t.transformTemplate||this.props.transformTemplate)this.scheduleRender();this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<vS.length;n++){let i=vS[n];if(this.propEventSubscriptions[i])this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i];let a="on"+i,o=t[a];if(o)this.propEventSubscriptions[i]=this.on(i,o)}if(this.prevMotionValues=gS(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue)this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let n=this.values.get(t);if(e!==n){if(n)this.removeValue(t);this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get()}}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);if(e)e(),this.valueSubscriptions.delete(t);delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);if(n===void 0&&e!==void 0)n=me(e===null?void 0:e,{owner:this}),this.addValue(t,n);return n}readValue(t,e){let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);if(n!==void 0&&n!==null){if(typeof n==="string"&&(Ca(n)||Na(n)))n=parseFloat(n);else if(typeof n!=="number"&&!_t.test(n)&&_t.test(e))n=rr(t,e);this.setBaseTarget(t,W(n)?n.get():n)}return W(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let{initial:e}=this.props,n;if(typeof e==="string"||typeof e==="object"){let a=ja(this.props,e,this.presenceContext?.custom);if(a)n=a[t]}if(e&&n!==void 0)return n;let i=this.getBaseTargetFromProps(this.props,t);if(i!==void 0&&!W(i))return i;return this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,e){if(!this.events[t])this.events[t]=new Da;return this.events[t].add(e)}notify(t,...e){if(this.events[t])this.events[t].notify(...e)}scheduleRenderMicrotask(){lS.render(this.render)}}class bs extends of{constructor(){super(...arguments);this.KeyframeResolver=cs}sortInstanceNodePosition(t,e){return t.compareDocumentPosition(e)&2?1:-1}getBaseTargetFromProps(t,e){let n=t.style;return n?n[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){if(this.childSubscription)this.childSubscription(),delete this.childSubscription;let{children:t}=this.props;if(W(t))this.childSubscription=t.on("change",(e)=>{if(this.current)this.current.textContent=\`\${e}\`})}}class Ve{constructor(t){this.isMounted=!1,this.node=t}update(){}}function rf(t,{style:e,vars:n},i,a){let o=t.style,r;for(r in e)o[r]=e[r];a?.applyProjectionStyles(o,i);for(r in n)o.setProperty(r,n[r])}function xS(t,e){if(e.max===e.min)return 0;return t/(e.max-e.min)*100}var dr={correct:(t,e)=>{if(!e.target)return t;if(typeof t==="string")if(D.test(t))t=parseFloat(t);else return t;let n=xS(t,e.target.x),i=xS(t,e.target.y);return\`\${n}% \${i}%\`}};var bS={correct:(t,{treeScale:e,projectionDelta:n})=>{let i=t,a=_t.parse(t);if(a.length>5)return i;let o=_t.createTransformer(t),r=typeof a[0]!=="number"?1:0,l=n.x.scale*e.x,s=n.y.scale*e.y;a[0+r]/=l,a[1+r]/=s;let c=Oe(l,s,0.5);if(typeof a[2+r]==="number")a[2+r]/=c;if(typeof a[3+r]==="number")a[3+r]/=c;return o(a)}};var SS={borderRadius:{...dr,applyTo:[...Jb]},borderTopLeftRadius:dr,borderTopRightRadius:dr,borderBottomLeftRadius:dr,borderBottomRightRadius:dr,boxShadow:bS};function Ss(t,{layout:e,layoutId:n}){return oe.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!SS[t]||t==="opacity")}function Ya(t,e,n){let i=t.style,a=e?.style,o={};if(!i)return o;for(let r in i)if(W(i[r])||a&&W(a[r])||Ss(r,t)||n?.getValue(r)?.liveStyle!==void 0)o[r]=i[r];return o}function xw(t){return window.getComputedStyle(t)}class lf extends bs{constructor(){super(...arguments);this.type="html",this.renderInstance=rf}mount(t){Yt(Boolean(t.style),"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(oe.has(e))return this.projection?.isProjecting?Uc(e):Lc(t,e);else{let n=xw(t),i=(wc(e)?n.getPropertyValue(e):n[e])||0;return typeof i==="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return Pc(t,e)}build(t,e,n){qa(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return Ya(t,e,n)}}var sf=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var Ts=(t)=>typeof t==="string"&&t.toLowerCase()==="svg";function TS(t,e,n,i){rf(t,e,void 0,i);for(let a in e.attrs)t.setAttribute(!sf.has(a)?Ln(a):a,e.attrs[a])}function Es(t,e,n){let i=Ya(t,e,n);for(let a in t)if(W(t[a])||W(e[a])){let o=Xe.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;i[o]=t[a]}return i}class uf extends bs{constructor(){super(...arguments);this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tf}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(oe.has(e)){let n=Bc(e);return n?n.default||0:0}if(ps.includes(e)){let i=getComputedStyle(t)[e];if(typeof i==="string"&&i)return i.trim()}return e=!sf.has(e)?Ln(e):e,t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return Es(t,e,n)}build(t,e,n){hs(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){TS(t,e,n,i)}mount(t){this.isSVGTag=Ts(t.tagName),super.mount(t)}}var bw=mr.length;function Ch(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent?Ch(t.parent)||{}:{};if(t.props.initial!==void 0)n.initial=t.props.initial;return n}let e={};for(let n=0;n<bw;n++){let i=mr[n],a=t.props[i];if(Gn(a)||a===!1)e[i]=a}return e}function Oh(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}var Sw=[...ef].reverse(),Tw=ef.length;function Ew(t){return(e)=>Promise.all(e.map(({animation:n,options:i})=>Zb(t,n,i)))}function Nh(t){let e=Ew(t),n=ES(),i=!0,a=!1,o=(c)=>(u,f)=>{let m=Ke(t,f,c==="exit"?t.presenceContext?.custom:void 0);if(m){let{transition:d,transitionEnd:y,...x}=m;u={...u,...x,...y}}return u};function r(c){e=c(t)}function l(c){let{props:u}=t,f=Ch(t.parent)||{},m=[],d=new Set,y={},x=1/0;for(let h=0;h<Tw;h++){let p=Sw[h],g=n[p],v=u[p]!==void 0?u[p]:f[p],E=Gn(v),M=p===c?g.isActive:null;if(M===!1)x=h;let S=v===f[p]&&v!==u[p]&&E;if(S&&(i||a)&&t.manuallyAnimateOnMount)S=!1;if(g.protectedKeys={...y},!g.isActive&&M===null||!v&&!g.prevProp||si(v)||typeof v==="boolean")continue;if(p==="exit"&&g.isActive&&M!==!0){if(g.prevResolvedValues)y={...y,...g.prevResolvedValues};continue}let b=MS(g.prevProp,v),A=b||p===c&&g.isActive&&!S&&E||h>x&&E,N=!1,R=Array.isArray(v)?v:[v],tt=R.reduce(o(p),{});if(M===!1)tt={};let{prevResolvedValues:rt={}}=g,re={...rt,...tt},et=(V)=>{if(A=!0,d.has(V))N=!0,d.delete(V);g.needsAnimating[V]=!0;let U=t.getValue(V);if(U)U.liveStyle=!1};for(let V in re){let U=tt[V],P=rt[V];if(y.hasOwnProperty(V))continue;let Z=!1;if(ss(U)&&ss(P))Z=!Oh(U,P)||b;else Z=U!==P;if(Z)if(U!==void 0&&U!==null)et(V);else d.add(V);else if(U!==void 0&&d.has(V))et(V);else g.protectedKeys[V]=!0}if(g.prevProp=v,g.prevResolvedValues=tt,g.isActive)y={...y,...tt};if((i||a)&&t.blockInitialAnimation)A=!1;let pt=S&&b;if(A&&(!pt||N))m.push(...R.map((V)=>{let U={type:p};if(typeof V==="string"&&(i||a)&&!pt&&t.manuallyAnimateOnMount&&t.parent){let{parent:P}=t,Z=Ke(P,V);if(P.enteringChildren&&Z){let{delayChildren:ut}=Z.transition||{};U.delay=Xc(P.enteringChildren,t,ut)}}return{animation:V,options:U}}))}if(d.size){let h={};if(typeof u.initial!=="boolean"){let p=Ke(t,Array.isArray(u.initial)?u.initial[0]:u.initial);if(p&&p.transition)h.transition=p.transition}d.forEach((p)=>{let g=t.getBaseTarget(p),v=t.getValue(p);if(v)v.liveStyle=!0;h[p]=g??null}),m.push({animation:h})}let T=Boolean(m.length);if(i&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount)T=!1;return i=!1,a=!1,T?e(m):Promise.resolve()}function s(c,u){if(n[c].isActive===u)return Promise.resolve();t.variantChildren?.forEach((m)=>m.animationState?.setActive(c,u)),n[c].isActive=u;let f=l(c);for(let m in n)n[m].protectedKeys={};return f}return{animateChanges:l,setActive:s,setAnimateFunction:r,getState:()=>n,reset:()=>{n=ES(),a=!0}}}function MS(t,e){if(typeof e==="string")return e!==t;else if(Array.isArray(e))return!Oh(e,t);return!1}function Xa(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ES(){return{animate:Xa(!0),whileInView:Xa(),whileHover:Xa(),whileTap:Xa(),whileDrag:Xa(),whileFocus:Xa(),exit:Xa()}}function Vh(t,e,n){let i=W(t)?t:me(t);return i.start(lr("",i,e,n)),i.animation}function cf(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function Dh(t){return W(t)?t.get():t}var AS=I(Et(),1),pr=AS.createContext({transformPagePoint:(t)=>t,isStatic:!1,reducedMotion:"never"});var NS=I(pn(),1),gr=I(Et(),1);var wS=I(Et(),1),hr=wS.createContext({strict:!1});var CS={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},OS=!1;function Mw(){if(OS)return;let t={};for(let e in CS)t[e]={isEnabled:(n)=>CS[e].some((i)=>!!n[i])};xs(t),OS=!0}function ff(){return Mw(),wh()}function Ms(t){let e=ff();for(let n in t)e[n]={...e[n],...t[n]};xs(e)}function Rh({children:t,features:e,strict:n=!1}){let[,i]=gr.useState(!zh(e)),a=gr.useRef(void 0);if(!zh(e)){let{renderer:o,...r}=e;a.current=o,Ms(r)}return gr.useEffect(()=>{if(zh(e))e().then(({renderer:o,...r})=>{Ms(r),a.current=o,i(!0)})},[]),NS.jsx(hr.Provider,{value:{renderer:a.current,strict:n},children:t})}function zh(t){return typeof t==="function"}var hf=I(pn(),1);var br=I(Et(),1);var VS=I(Et(),1),Ji=VS.createContext({});var mf=I(Et(),1);function DS(t,e){if(Fi(t)){let{initial:n,animate:i}=t;return{initial:n===!1||Gn(n)?n:void 0,animate:Gn(i)?i:void 0}}return t.inherit!==!1?e:{}}function RS(t){let{initial:e,animate:n}=DS(t,mf.useContext(Ji));return mf.useMemo(()=>({initial:e,animate:n}),[zS(e),zS(n)])}function zS(t){return Array.isArray(t)?t.join(" "):t}var xr=I(Et(),1);var _S=I(Et(),1);var yr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function _h(t,e,n){for(let i in e)if(!W(e[i])&&!Ss(i,n))t[i]=e[i]}function Aw({transformTemplate:t},e){return _S.useMemo(()=>{let n=yr();return qa(n,e,t),Object.assign({},n.vars,n.style)},[e])}function ww(t,e){let n=t.style||{},i={};return _h(i,n,t),Object.assign(i,Aw(t,e)),i}function BS(t,e){let n={},i=ww(t,e);if(t.drag&&t.dragListener!==!1)n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":\`pan-\${t.drag==="x"?"y":"x"}\`;if(t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap))n.tabIndex=0;return n.style=i,n}var US=I(Et(),1);var df=()=>({...yr(),attrs:{}});function HS(t,e,n,i){let a=US.useMemo(()=>{let o=df();return hs(o,e,Ts(i),t.transformTemplate,t.style),{...o.attrs,style:{...o.style}}},[e]);if(t.style){let o={};_h(o,t.style,t),a.style={...o,...a.style}}return a}var Cw=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function As(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Cw.has(t)}function Ow(t,e){return t.startsWith("on")?!As(t):e?.(t)??!As(t)}function LS(t,e,n,i){let a={};for(let o in t){if(o==="values"&&typeof t.values==="object")continue;if(W(t[o]))continue;if(Ow(o,i)||n===!0&&As(o)||!e&&!As(o)||t.draggable&&o.startsWith("onDrag"))a[o]=t[o]}return a}var GS=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function vr(t){if(typeof t!=="string"||t.includes("-"))return!1;else if(GS.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}function jS(t,e,n,{latestValues:i},a,o=!1,r,l){let c=(r??vr(t)?HS:BS)(e,i,a,t),u=LS(e,typeof t==="string",o,l),f=t!==xr.Fragment?{...u,...c,ref:n}:{},{children:m}=e,d=xr.useMemo(()=>W(m)?m.get():m,[m]);return xr.createElement(t,{...f,children:d})}var Bh=I(Et(),1);function Nw({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,a){return{latestValues:Vw(n,i,a,t),renderState:e()}}function Vw(t,e,n,i){let a={},o=i(t,{});for(let m in o)a[m]=Dh(o[m]);let{initial:r,animate:l}=t,s=Fi(t),c=ys(t);if(e&&c&&!s&&t.inherit!==!1){if(r===void 0)r=e.initial;if(l===void 0)l=e.animate}let u=n?n.initial===!1:!1;u=u||r===!1;let f=u?l:r;if(f&&typeof f!=="boolean"&&!si(f)){let m=Array.isArray(f)?f:[f];for(let d=0;d<m.length;d++){let y=ja(t,m[d]);if(y){let{transitionEnd:x,transition:T,...h}=y;for(let p in h){let g=h[p];if(Array.isArray(g)){let v=u?g.length-1:0;g=g[v]}if(g!==null)a[p]=g}for(let p in x)a[p]=x[p]}}}return a}var pf=(t)=>(e,n)=>{let i=Bh.useContext(Ji),a=Bh.useContext(bc),o=()=>Nw(t,e,i,a);return n?o():vc(o)};var qS=pf({scrapeMotionValuesFromProps:Ya,createRenderState:yr});var YS=pf({scrapeMotionValuesFromProps:Es,createRenderState:df});var XS=Symbol.for("motionComponentSymbol");var Ka=I(Et(),1);function KS(t,e,n){let i=Ka.useRef(n);Ka.useInsertionEffect(()=>{i.current=n});let a=Ka.useRef(null);return Ka.useCallback((o)=>{if(o)t.onMount?.(o);if(e)o?e.mount(o):e.unmount();let r=i.current;if(typeof r==="function")if(o){let l=r(o);if(typeof l==="function")a.current=l}else if(a.current)a.current(),a.current=null;else r(o);else if(r)r.current=o},[e])}var xe=I(Et(),1);var ZS=I(Et(),1),QS=ZS.createContext({});function kS(t){return t&&typeof t==="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function $S(t,e,n,i,a,o){let{visualElement:r}=xe.useContext(Ji),l=xe.useContext(hr),s=xe.useContext(bc),c=xe.useContext(pr),u=c.reducedMotion,f=c.skipAnimations,m=xe.useRef(null),d=xe.useRef(!1);if(i=i||l.renderer,!m.current&&i){if(m.current=i(t,{visualState:e,parent:r,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:u,skipAnimations:f,isSVG:o}),d.current&&m.current)m.current.manuallyAnimateOnMount=!0}let y=m.current,x=xe.useContext(QS);if(y&&!y.projection&&a&&(y.type==="html"||y.type==="svg"))Dw(m.current,n,a,x);let T=xe.useRef(!1);xe.useInsertionEffect(()=>{if(y&&T.current)y.update(n,s)});let h=n[us],p=xe.useRef(Boolean(h)&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(h)&&window.MotionHasOptimisedAnimation?.(h));return Up(()=>{if(!d.current||!y)return;y.animationState?.animateChanges(),y.enteringChildren=void 0},[]),Up(()=>{if(d.current=!0,!y)return;if(T.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),p.current&&y.animationState)y.animationState.animateChanges()}),xe.useEffect(()=>{if(!y)return;if(!p.current&&y.animationState)y.animationState.animateChanges();if(p.current)queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(h)}),p.current=!1;y.enteringChildren=void 0}),y}function Dw(t,e,n,i){let{layoutId:a,layout:o,drag:r,dragConstraints:l,layoutScroll:s,layoutRoot:c,layoutAnchor:u,layoutCrossfade:f}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:FS(t.parent)),t.projection.setOptions({layoutId:a,layout:o,alwaysMeasureLayout:Boolean(r)||l&&kS(l),visualElement:t,animationType:typeof o==="string"?o:"both",initialPromotionConfig:i,crossfade:f,layoutScroll:s,layoutRoot:c,layoutAnchor:u})}function FS(t){if(!t)return;return t.options.allowProjection!==!1?t.projection:FS(t.parent)}function gf(t,{forwardMotionProps:e=!1,type:n}={},i,a){i&&Ms(i);let o=n?n==="svg":vr(t),r=o?YS:qS;function l(c,u){let f,m={...br.useContext(pr),...c,layoutId:zw(c)},{isStatic:d,isValidProp:y}=m,x=RS(c),T=r(c,d);if(!d&&typeof window<"u"){Rw(m,i);let h=_w(m);f=h.MeasureLayout,x.visualElement=$S(t,T,m,a,h.ProjectionNode,o)}return hf.jsxs(Ji.Provider,{value:x,children:[f&&x.visualElement?hf.jsx(f,{visualElement:x.visualElement,...m}):null,jS(t,c,KS(T,x.visualElement,u),T,d,e,o,y)]})}l.displayName=\`motion.\${typeof t==="string"?t:\`create(\${t.displayName??t.name??""})\`}\`;let s=br.forwardRef(l);return s[XS]=t,s}function zw({layoutId:t}){let e=br.useContext(Hx).id;return e&&t!==void 0?e+"-"+t:t}function Rw(t,e){let n=br.useContext(hr).strict}function _w(t){let e=ff(),{drag:n,layout:i}=e;if(!n&&!i)return{};let a={...n,...i};return{MeasureLayout:n?.isEnabled(t)||i?.isEnabled(t)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}function JS(t,e){if(typeof Proxy>"u")return gf;let n=new Map,i=(o,r)=>gf(o,r,t,e);return new Proxy((o,r)=>i(o,r),{get:(o,r)=>{if(r==="create")return i;if(!n.has(r))n.set(r,gf(r,void 0,t,e));return n.get(r)}})}var Uh=JS();var PS=I(Et(),1);var IS=(t,e)=>e.isSVG??vr(t)?new uf(e):new lf(e,{allowProjection:t!==PS.Fragment});class Hh extends Ve{constructor(t){super(t);t.animationState||(t.animationState=Nh(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();if(si(t))this.unmountControls=t.subscribe(this.node)}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};if(t!==e)this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}var Bw=0;class Lh extends Ve{constructor(){super(...arguments);this.id=Bw++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&n===!1){if(this.isExitComplete){let{initial:a,custom:o}=this.node.getProps();if(typeof a==="string"||typeof a==="object"&&a!==null&&!Array.isArray(a)){let r=Ke(this.node,a,o);if(r){let{transition:l,transitionEnd:s,...c}=r;for(let u in c)this.node.getValue(u)?.jump(c[u])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let i=this.node.animationState.setActive("exit",!t);if(e&&!t)i.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};if(e)e(this.id);if(t)this.unmount=t(this.id)}unmount(){}}var WS={animation:{Feature:Hh},exit:{Feature:Lh}};function yf(t){return{point:{x:t.pageX,y:t.pageY}}}function tT(t,e,n){let{props:i}=t;if(t.animationState&&i.whileHover)t.animationState.setActive("whileHover",n==="Start");let a="onHover"+n,o=i[a];if(o)gt.postRender(()=>o(e,yf(e)))}class Gh extends Ve{mount(){let{current:t}=this.node;if(!t)return;this.unmount=Th(t,(e,n)=>(tT(this.node,n,"Start"),(i)=>tT(this.node,i,"End")))}unmount(){}}class jh extends Ve{constructor(){super(...arguments);this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}if(!t||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",!0),this.isActive=!0}onBlur(){if(!this.isActive||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",!1),this.isActive=!1}mount(){this.unmount=ai(cf(this.node.current,"focus",()=>this.onFocus()),cf(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function eT(t,e,n){let{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;if(t.animationState&&i.whileTap)t.animationState.setActive("whileTap",n==="Start");let a="onTap"+(n==="End"?"":n),o=i[a];if(o)gt.postRender(()=>o(e,yf(e)))}class qh extends Ve{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:n}=this.node.props;this.unmount=Ah(t,(i,a)=>(eT(this.node,a,"Start"),(o,{success:r})=>eT(this.node,o,r?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:n?.tap===!1})}unmount(){}}var Xh=new WeakMap,Yh=new WeakMap,Uw=(t)=>{let e=Xh.get(t.target);e&&e(t)},Hw=(t)=>{t.forEach(Uw)};function Lw({root:t,...e}){let n=t||document;if(!Yh.has(n))Yh.set(n,{});let i=Yh.get(n),a=JSON.stringify(e);if(!i[a])i[a]=new IntersectionObserver(Hw,{root:t,...e});return i[a]}function nT(t,e,n){let i=Lw(e);return Xh.set(t,n),i.observe(t),()=>{Xh.delete(t),i.unobserve(t)}}var Gw={some:0,all:1};class Kh extends Ve{constructor(){super(...arguments);this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:a}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:typeof i==="number"?i:Gw[i]},r=(l)=>{let{isIntersecting:s}=l;if(this.isInView===s)return;if(this.isInView=s,a&&!s&&this.hasEnteredView)return;else if(s)this.hasEnteredView=!0;if(this.node.animationState)this.node.animationState.setActive("whileInView",s);let{onViewportEnter:c,onViewportLeave:u}=this.node.getProps(),f=s?c:u;f&&f(l)};this.stopObserver=nT(this.node.current,o,r)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:e}=this.node;if(["amount","margin","root"].some(jw(t,e)))this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function jw({viewport:t={}},{viewport:e={}}={}){return(n)=>t[n]!==e[n]}var iT={inView:{Feature:Kh},tap:{Feature:qh},focus:{Feature:jh},hover:{Feature:Gh}};var Zh={renderer:IS,...WS,...iT};var aT=I(Et(),1);function Qh(t,e,n){aT.useInsertionEffect(()=>t.on(e,n),[t,e,n])}var Sr=I(Et(),1);function Za(t){let e=vc(()=>me(t)),{isStatic:n}=Sr.useContext(pr);if(n){let[,i]=Sr.useState(t);Sr.useEffect(()=>e.on("change",i),[])}return e}function ws(t){return typeof t==="object"&&!Array.isArray(t)}function vf(t,e,n,i){if(t==null)return[];if(typeof t==="string"&&ws(e))return ds(t,n,i);else if(t instanceof NodeList)return Array.from(t);else if(Array.isArray(t))return t.filter((a)=>a!=null);else return[t]}function oT(t,e,n){return t*(e+1)+n*e}function kh(t,e,n,i){if(typeof e==="number")return e;else if(e.startsWith("-")||e.startsWith("+"))return Math.max(0,t+parseFloat(e));else if(e==="<")return n;else if(e.startsWith("<"))return Math.max(0,n+parseFloat(e.slice(1)));else return i.get(e)??t}function qw(t,e,n){for(let i=0;i<t.length;i++){let a=t[i];if(a.at>e&&a.at<n)ii(t,a),i--}}function rT(t,e,n,i,a,o){qw(t,a,o);for(let r=0;r<e.length;r++)t.push({value:e[r],at:Oe(a,o,i[r]),easing:Ql(n,r)})}function lT(t,e,n=0){let i=e+1+e*n;for(let a=0;a<t.length;a++)t[a]=t[a]/i}function sT(t,e){if(t.at===e.at){if(t.value===null)return 1;if(e.value===null)return-1;return 0}else return t.at-e.at}var Yw="easeInOut",$h=20;function fT(t,{defaultTransition:e={},...n}={},i,a){let o=e.duration||0.3,r=new Map,l=new Map,s={},c=new Map,u=0,f=0,m=0;for(let d=0;d<t.length;d++){let y=t[d];if(typeof y==="string"){c.set(y,f);continue}else if(!Array.isArray(y)){c.set(y.name,kh(f,y.at,u,c));continue}let[x,T,h={}]=y;if(h.at!==void 0)f=kh(f,h.at,u,c);let p=0,g=(v,E,M,S=0,b=0)=>{let A=Xw(v),{delay:N=0,times:R=es(A),type:tt=e.type||"keyframes",repeat:rt,repeatType:re,repeatDelay:et=0,...pt}=E,{ease:z=e.ease||"easeOut",duration:V}=E,U=typeof N==="function"?N(S,b):N,P=A.length,Z=Ga(tt)?tt:a?.[tt||"keyframes"];if(P<=2&&Z){let de=100;if(P===2&&Qw(A)){let Ze=A[1]-A[0];de=Math.abs(Ze)}let Bt={...e,...pt};if(V!==void 0)Bt.duration=Xt(V);let on=Il(Bt,de,Z);z=on.ease,V=on.duration}V??(V=o);let ut=f+U;if(R.length===1&&R[0]===0)R[1]=1;let $t=R.length-A.length;if($t>0&&ts(R,$t),A.length===1&&A.unshift(null),rt)an(rt<$h,\`Sequence segments can't repeat \${rt} times — ignoring repeat option. Use a value below \${$h} or apply repeat at the sequence level instead.\`);if(rt&&rt<$h){let de=V>0?et/V:0;V=oT(V,rt,et);let Bt=[...A],on=[...R];z=Array.isArray(z)?[...z]:[z];let Ze=[...z],Or=re==="reverse"||re==="mirror",Fa=Bt,Nr=Ze;if(Or){if(Fa=[...Bt].reverse(),re==="reverse")Nr=[...Ze].reverse().map((Qe)=>typeof Qe==="function"?za(Qe):Qe)}for(let Qe=0;Qe<rt;Qe++){let Vr=Or&&Qe%2===0,Dr=Vr?Fa:Bt,Vs=Vr?Nr:Ze,Ds=(Qe+1)*(1+de);if(de>0)A.push(A[A.length-1]),R.push(Ds),z.push("linear");A.push(...Dr);for(let jn=0;jn<Dr.length;jn++)R.push(on[jn]+Ds),z.push(jn===0?"linear":Ql(Vs,jn-1))}lT(R,rt,de)}let le=ut+V;rT(M,A,z,R,ut,le),p=Math.max(U+V,p),m=Math.max(le,m)};if(W(x)){let v=uT(x,l);g(T,h,cT("default",v))}else{let v=vf(x,T,i,s),E=v.length;for(let M=0;M<E;M++){T=T,h=h;let S=v[M],b=uT(S,l);for(let A in T)g(T[A],Kw(h,A),cT(A,b),M,E)}}u=f,f+=p}return l.forEach((d,y)=>{for(let x in d){let T=d[x];T.sort(sT);let h=[],p=[],g=[];for(let S=0;S<T.length;S++){let{at:b,value:A,easing:N}=T[S];h.push(A),p.push(Va(0,m,b)),g.push(N||"easeOut")}if(p[0]!==0)p.unshift(0),h.unshift(h[0]),g.unshift(Yw);if(p[p.length-1]!==1)p.push(1),h.push(null);if(!r.has(y))r.set(y,{keyframes:{},transition:{}});let v=r.get(y);v.keyframes[x]=h;let{type:E,...M}=e;v.transition[x]={...M,duration:m,ease:g,times:p,...n}}}),r}function uT(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function cT(t,e){if(!e[t])e[t]=[];return e[t]}function Xw(t){return Array.isArray(t)?t:[t]}function Kw(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}var Zw=(t)=>typeof t==="number",Qw=(t)=>t.every(Zw);function kw(t,e){return W(t)||typeof t==="number"||typeof t==="string"&&!ws(e)}function xf(t,e,n,i){let a=[];if(kw(t,e))a.push(Vh(t,ws(e)?e.default||e:e,n?n.default||n:n));else{if(t==null)return a;let o=vf(t,e,i),r=o.length;Yt(Boolean(r),"No valid elements provided.","no-valid-elements");for(let l=0;l<r;l++){let s=o[l],c={...n};if("delay"in c&&typeof c.delay==="function")c.delay=c.delay(l,r);if(s instanceof Element)a.push(...bh(s,e,c,gs.get(s)));else a.push(...fs(hh(s)??Sh,s,e,c))}}return a}function mT(t,e,n){let i=[],a=t.map((r)=>{if(Array.isArray(r)&&typeof r[0]==="function"){let l=r[0],s=me(0);if(s.on("change",l),r.length===1)return[s,[0,1]];else if(r.length===2)return[s,[0,1],r[1]];else return[s,r[1],r[2]]}return r});return fT(a,e,n,{spring:ri}).forEach(({keyframes:r,transition:l},s)=>{i.push(...xf(s,r,l))}),i}function $w(t){return Array.isArray(t)&&t.some(Array.isArray)}function dT(t={}){let{scope:e,reduceMotion:n,skipAnimations:i}=t;function a(o,r,l){let s=[],c,u={};if(n!==void 0)u.reduceMotion=n;if(i!==void 0)u.skipAnimations=i;if($w(o)){let{onComplete:m,...d}=r||{};if(typeof m==="function")c=m;s=mT(o,{...u,...d},e)}else{let{onComplete:m,...d}=l||{};if(typeof m==="function")c=m;s=xf(o,r,{...u,...d},e)}let f=new Yc(s);if(c)f.finished.then(c);if(e)e.animations.push(f),f.finished.then(()=>{ii(e.animations,f)});return f}return a}var De=Object.assign(dT(),{addEffect:ph,removeEffect:$c});var Fh=Uh;var J=I(Et(),1),ig=I(Qf(),1);var it=I(Et(),1);var Pi=(t)=>t<0?0:t>1?1:t;function bf(t,e){if(t<=0)return 0;let n=2*Math.PI/(1.2*e),i=1-(1+n*t)*Math.exp(-n*t);return i>0.9995?1:i}function pT(t){return 9.23/(2*Math.PI/(1.2*t))}var Qa=(t)=>bf(t,0.3),hT=(t)=>bf(t,0.45),Tr=(t)=>{let e=Pi(t);return e*e*(3-2*e)},Jh=(t)=>1-Math.pow(1-Pi(t),3),Ph=(t)=>{let e=Pi(t);return e<0.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2};function Jw(t,e,n,i){let a=(r)=>3*t*r*(1-r)**2+3*n*r*r*(1-r)+r**3,o=(r)=>3*e*r*(1-r)**2+3*i*r*r*(1-r)+r**3;return(r)=>{let l=Pi(r),s=0,c=1;for(let u=0;u<40;u++){let f=(s+c)/2;if(a(f)<l)s=f;else c=f}return o((s+c)/2)}}var aH=Jw(0.65,0,0.25,1);var fH=pT(st.springs.react),gT=(t)=>{let e=t.trim().split(/\\s+/).filter(Boolean).length;return Math.min(st.read.max,Math.max(st.read.min,st.read.base+st.read.perWord*e))};function Ih(t,e){let n=t.trim();if(n.length<=e)return n;let i=n.slice(0,e-1),a=i.lastIndexOf(" ");return\`\${(a>e*0.6?i.slice(0,a):i).replace(/[\\s,.;:·-]+$/,"")}…\`}function yT(t,e=48){let n=[...new Set(t.flatMap((u)=>u.paths))],i=new Map,a=[],o=n.map((u)=>u.split(" → ")).filter((u)=>u.length===2);if(n.length>1&&o.length===n.length&&new Set(o.map((u)=>u[1])).size===1)a.push(\`\${[...new Set(o.map((u)=>u[0]))].join(", ")} → \${o[0][1]}\`),n.length=0;for(let u of n){let f=u.split(" → ");if(f.length===2){let m=i.get(f[0]);if(m)m.push(f[1]);else{let d=[f[1]];i.set(f[0],d),a.push(\`\\x00\${f[0]}\`)}}else a.push(u)}for(let u=0;u<a.length;u++)if(a[u].startsWith("\\x00")){let f=a[u].slice(1);a[u]=\`\${f} → \${i.get(f).join(", ")}\`}let r=new Set(a.flatMap((u)=>u.split(/ → | · |, /))),l=[...new Set(t.flatMap((u)=>u.reveals))].filter((u)=>!r.has(u)),s=t.flatMap((u)=>u.counters),c=[a.length?a.join(" + "):"",l.length?l.join(", "):"",...s].filter(Boolean);return Ih(c.join(" · ")||"Start",e)}var dt=(t)=>Math.round(t*100)/100;function Wh(t,e){let n=0;for(let i=1;i<t.length;i++){let a=t[i-1],o=t[i],r=Math.hypot(o.x-a.x,o.y-a.y);if(n+r>=e||i===t.length-1){let l=r?Pi((e-n)/r):0;return{x:a.x+(o.x-a.x)*l,y:a.y+(o.y-a.y)*l}}n+=r}return t[t.length-1]??{x:0,y:0}}function vT(t,e,n){if(n<=e)return"";let i=[Wh(t,e)],a=0;for(let o=1;o<t.length;o++){let r=Math.hypot(t[o].x-t[o-1].x,t[o].y-t[o-1].y);if(a+=r,a>e&&a<n)i.push(t[o])}return i.push(Wh(t,n)),i.map((o,r)=>\`\${r?"L":"M"}\${dt(o.x)} \${dt(o.y)}\`).join("")}function Pw(t=0){return{t,el:{},grow:{},draw:{},pulses:[],glows:[],flash:{},counters:{},captions:[],settled:!0}}function Iw(t,e,n="",i=""){let a=t.toLocaleString("en-US",{minimumFractionDigits:e,maximumFractionDigits:e});return\`\${n}\${a}\${i}\`}function tg(t,e,n=!1){let{start:i,start:a}=t;for(let o of t.events){let r=n?e>=o.t?1:0:Qa(e-o.t);i+=(o.to-a)*r,a=o.to}return i}function Sf(t,e,n,i={}){if(!e)return Pw(n);let a=i.reduced===!0||i.stepped===!0,o=n;if(i.stepped){let f=TT(e,n);if(f>=0&&f<e.steps.length)o=Math.max(n,Math.min(e.steps[f].t1,e.duration))}let r=(f)=>f>=0?1:0,l=(f)=>a?r(f):Qa(f),s={t:n,el:{},grow:{},draw:{},pulses:[],glows:[],flash:{},counters:{},captions:[],settled:n>=e.lastEvent};for(let[f,m]of Object.entries(e.appear)){let d=n-m,y=a?r(d):Qa(d-st.reveal.opacityDelay),x=a?0:st.reveal.rise*(1-Qa(d)),T=dt(y),h=dt(x);if(T<1||h>0)s.el[f]={o:T,dy:h}}let c=new Map(e.pulses.map((f)=>[f.id,f]));for(let[f,m]of Object.entries(e.draw)){let d;if(a)d=r(o-m.t1);else if(m.mode==="flight"&&m.pulse){let y=c.get(m.pulse),x=Ph((n-y.tf0)/(y.tf1-y.tf0)),T=n<y.tf0?0:x*y.length;d=Pi((T-(m.s0??0))/Math.max(0.000001,(m.s1??0)-(m.s0??0)))}else d=hT(n-m.t0);if(dt(d)<1)s.draw[f]=dt(d)}for(let f of t.activations){let m=/-(\\d+)-(\\d+)$/.exec(f.id);if(!m)continue;let d=Number(m[1]),y=Number(m[2]),x=f.y,T=!0;for(let h=d;h<=y;h++){let p=t.edges[h];if(!p)continue;let g=s.draw[p.id];if(g===void 0||g>=0.999)x=Math.max(x,Math.max(...p.points.map((v)=>v.y))+8);else if(T=!1,g>0)x=Math.max(x,p.points[0].y+8*g)}if(!T)s.grow[f.id]=dt(Math.max(0,Math.min(f.h,x-f.y)))}if(!a){for(let f of e.pulses){let m=f.tf1+Math.max(st.pulse.ring,st.pulse.cooling);if(n<f.t0||n>m)continue;let d=f.points[0],y=f.points[f.points.length-1],x={id:f.id,x:d.x,y:d.y,r:0,o:0,trail:[]};if(n<f.tf0){let T=Jh((n-f.t0)/st.pulse.gather);x.r=dt(st.pulse.dot*T),x.o=dt(Math.pow(T,1.5)),x.halo={r:dt(st.pulse.halo-(st.pulse.halo-st.pulse.dot)*T),o:dt(0.5*Math.sin(Math.PI*T))}}else if(n<f.tf1){let T=Ph((n-f.tf0)/(f.tf1-f.tf0))*f.length,h=Wh(f.points,T);x.x=dt(h.x),x.y=dt(h.y),x.r=st.pulse.dot,x.o=1;let p=Math.min(72,T);[0.55,0.3,0.12].forEach((v,E)=>{let M=T-p*(E+1)/3,S=T-p*E/3,b=vT(f.points,M,S);if(b)x.trail.push({d:b,o:v,k:E,s0:dt(M),s1:dt(S)})})}else{x.x=y.x,x.y=y.y;let T=(n-f.tf1)/st.pulse.ring;if(T<1){let p=Tr(T/0.24);x.ring={x:y.x,y:y.y,r:dt(2+2*p+9.1*(1-(1-T)**2)),w:dt(4-2.5*p),o:dt((1-0.734*p)*(1-T)**2.52)}}let h=Math.pow(1-Pi((n-f.tf1)/st.pulse.cooling),1.7);if(h>0.01){let p=Math.min(72,f.length);[0.55,0.3,0.12].forEach((g,v)=>{let E=f.length-p*(v+1)/3,M=f.length-p*v/3,S=vT(f.points,E,M);if(S)x.trail.push({d:S,o:dt(g*h),k:v,s0:dt(E),s1:dt(M)})})}}if(x.o>0||x.ring||x.trail.length)s.pulses.push(x)}for(let f of e.glows){let m=n-f.t;if(m<0)continue;let d=Qa(m)*Math.max(0,1-m/st.flash.decay);if(d>0.005)s.flash[f.node]=Math.max(s.flash[f.node]??0,dt(d));if(m>f.dur)continue;let y=t.nodes.find((g)=>g.id===f.node)??t.groups.find((g)=>g.id===f.node);if(!y)continue;let x=m/f.dur,T=Math.min(Math.max(y.w,y.h)*1.15,Math.min(y.w,y.h)*2.6),h=Tr(x/0.06)*(1-Tr((x-0.55)/0.45));if(h<0.005)continue;let p={id:\`\${f.node}@\${f.t}\`,node:f.node,cx:dt(f.cx),cy:dt(f.cy),r:dt(T*(0.12+0.6*Jh(x))),a:dt(st.glow.alpha*h)};s.glows.push(p)}}for(let[f,m]of Object.entries(e.counters))s.counters[f]=Iw(tg(m,n,a),m.decimals,m.prefix,m.suffix);let u=e.captions.findIndex((f)=>n>=f.t0&&n<f.t1);if(u>=0){let f=e.captions[u],m=f.text.split(/\\s+/),d=Math.min(2.8,Math.max(0.12,Math.min(f.t1-f.t0,1.2)-0.08)),y=Math.min(st.springs.word,d/2),x=m.length>1?(d-1.5*y)/(m.length-1):0,T=f.handoff?1:a?1:1-Tr((n-(f.t1-0.3))/0.3),h=u>0?e.captions[u-1]:void 0;if(h&&h.handoff&&h.t1===f.t0){let p=1-(1-st.dimSuperseded)*(a?1:Qa(n-f.t0)),g=a?0:1-Tr((n-f.t0-0.9)/0.4),v=dt(p*g);if(v>0.01)s.captions.push({i:u-1,text:h.text,o:v,words:h.text.split(/\\s+/).map(()=>1),current:!1})}s.captions.push({i:u,text:f.text,o:dt(T),words:m.map((p,g)=>dt(a?1:bf(n-f.t0-g*x,y))),current:!0})}return s}var Ww=12;function xT(t,e=Ww){let n=[],i=[];if(t.steps.forEach((r,l)=>{i.push(l);let s=t.steps[l+1];if(!(s&&s.t0-r.t1<=0.05&&!s.stop&&!s.caption))n.push(i),i=[]}),i.length)n.push(i);let a=(r)=>r.some((l)=>t.steps[l].stop||t.steps[l].caption);while(n.length>e){let r=-1,l=1/0;for(let s=0;s+1<n.length;s++){if(a(n[s+1])&&a(n[s]))continue;let c=t.steps[n[s+1][0]].t0-t.steps[n[s][n[s].length-1]].t1;if(c<l)l=c,r=s}if(r<0)break;n.splice(r,2,[...n[r],...n[r+1]])}let o=n.map((r)=>{let l=r[r.length-1],s=t.steps[l],c=t.steps[l+1],u=s.t1+0.6,f=c?Math.max(s.t1,Math.min(u,c.t0-0.02)):Math.min(u,t.duration),m=r.map((x)=>t.steps[x]).find((x)=>x.stop),d=r.map((x)=>t.steps[x]).find((x)=>x.caption),y=m?.stop??(d?.caption?Ih(d.caption,40):yT(r.map((x)=>t.steps[x].parts??{paths:[],reveals:[],counters:[]})));return{id:s.id,label:y,t:Math.round(f*1000)/1000,steps:[r[0],l]}});return o.push({id:"end",label:"Final frame",t:t.duration,steps:[t.steps.length,t.steps.length]}),o}function bT(t,e,n){let i=e.captions.find((o)=>o.current);if(!i)return;let a=t.captions.find((o)=>o.text===i.text&&e.t>=o.t0&&e.t<o.t1);return a&&a.step>=n.steps[0]&&a.step<=n.steps[1]?i.text:void 0}var ST=(t)=>t>1000?660:t>640?440:340,tC=1.5;function Er(t){let e=[];return t.steps.forEach((n,i)=>{let a=t.steps[i+1];if(a&&a.t0<=n.t0+0.000000001)return;e.push({step:i,t:eC(t,i),hold:n.caption?gT(n.caption):tC})}),e.push({step:t.steps.length,t:t.duration,hold:0}),e}function eC(t,e){let n=t.steps[e],i=t.steps[e+1],a=Math.min(n.t1,t.duration),o=i&&i.t0<=a?i.t0-0.0001:a;return Math.max(n.t0,Math.round(o*1e4)/1e4)}function TT(t,e){if(e>=t.duration-0.000000001)return t.steps.length;let n=-1;for(let i=0;i<t.steps.length;i++)if(t.steps[i].t0<=e+0.000000001)n=i;return n}function eg(t,e){let n=TT(t,e);if(n<0)return-1;return Er(t).findIndex((i)=>i.step>=n)}function Mr(t,e){let n=eg(t,e);if(n<0)return 0;return Er(t)[n].t}var ET=(t)=>Math.round(t*100)/100;var w=I(pn(),1),Ar=(t,e)=>{let n=(t?.o??1)*(e??1);return n<1?{opacity:+n.toFixed(3)}:void 0},MT=(t,e)=>t&&t>0.005?{fill:\`color-mix(in srgb, var(--si-flash) \${Math.round(t*100)}%, var(--si-\${e}))\`}:void 0,K=(t)=>ET(t);function nC({h:t}){let e=Fo.arrowSize,n=Math.cos(t.angle),i=Math.sin(t.angle),a=(o,r)=>\`\${K(t.x-n*o-i*r)},\${K(t.y-i*o+n*r)}\`;if(t.form==="open")return w.jsx("polyline",{className:"si-arrow-open",points:\`\${a(e+1,-e*0.62)} \${K(t.x)},\${K(t.y)} \${a(e+1,e*0.62)}\`});return w.jsx("polygon",{className:"si-arrow",points:\`\${K(t.x)},\${K(t.y)} \${a(e+1,-e*0.55)} \${a(e+1,e*0.55)}\`})}function iC({n:t}){let{w:e,h:n}=t,i=Fo.panelInset,a=Fo.panelRadius;switch(t.shape){case"dot":return w.jsx("circle",{className:"si-dotfill",cx:e/2,cy:n/2,r:e/2});case"bullseye":return w.jsxs(w.Fragment,{children:[w.jsx("circle",{className:"si-ring",cx:e/2,cy:n/2,r:e/2-0.7}),w.jsx("circle",{className:"si-dotfill",cx:e/2,cy:n/2,r:e/2-5})]});case"bar":return w.jsx("rect",{className:"si-dotfill",x:0,y:0,width:e,height:n});case"choice":return w.jsx("polygon",{className:"si-face",points:\`\${e/2},0 \${e},\${n/2} \${e/2},\${n} 0,\${n/2}\`});case"pill":return w.jsx("rect",{className:"si-soft",x:0,y:0,width:e,height:n,rx:n/2});case"diamond":{let o=(r)=>\`\${e/2},\${r} \${e-r*1.7},\${n/2} \${e/2},\${n-r} \${r*1.7},\${n/2}\`;return w.jsxs(w.Fragment,{children:[w.jsx("polygon",{className:"si-face",points:o(0),strokeLinejoin:"round"}),w.jsx("polygon",{className:"si-inset",points:o(i+1),strokeLinejoin:"round"})]})}case"slant":return w.jsxs(w.Fragment,{children:[w.jsx("polygon",{className:"si-face",points:\`10,0 \${e},0 \${e-10},\${n} 0,\${n}\`}),w.jsx("polygon",{className:"si-inset",points:\`\${10+i+1},\${i} \${e-i-1},\${i} \${e-10-i-1},\${n-i} \${i+1},\${n-i}\`})]});case"cylinder":return w.jsxs(w.Fragment,{children:[w.jsx("path",{className:"si-face",d:\`M0 6A\${e/2} 6 0 0 1 \${e} 6V\${n-6}A\${e/2} 6 0 0 1 0 \${n-6}Z\`}),w.jsx("path",{className:"si-inset",d:\`M0 6A\${e/2} 6 0 0 0 \${e} 6\`}),w.jsx("path",{className:"si-inset",d:\`M\${i} 11A\${e/2-i} 6 0 0 0 \${e-i} 11\`}),w.jsx("rect",{className:"si-ink-bar",x:i+1,y:16,width:2,height:n-18-8})]});case"note":return w.jsxs(w.Fragment,{children:[w.jsx("path",{className:"si-note",d:\`M0 0H\${e-10}L\${e} 10V\${n}H0Z\`}),w.jsx("path",{className:"si-note-fold",d:\`M\${e-10} 0V10H\${e}\`})]});case"external":return w.jsx("rect",{className:"si-face si-dash",x:0,y:0,width:e,height:n,rx:a});case"queue":return w.jsxs(w.Fragment,{children:[w.jsx("rect",{className:"si-face",x:0,y:0,width:e,height:n,rx:a}),w.jsx("rect",{className:"si-inset",x:i,y:i,width:e-2*i,height:n-2*i}),[0,1,2].map((o)=>w.jsx("line",{className:"si-glyph",x1:e-22+o*5,y1:n/2-7,x2:e-22+o*5,y2:n/2+7},o)),w.jsx("rect",{className:"si-ink-bar",x:i+1,y:i+1,width:2,height:n-2*i-2})]});default:return w.jsxs(w.Fragment,{children:[w.jsx("rect",{className:"si-face",x:0,y:0,width:e,height:n,rx:a}),w.jsx("rect",{className:"si-inset",x:i,y:i,width:e-2*i,height:n-2*i}),w.jsx("rect",{className:"si-ink-bar",x:i+1,y:i+1,width:2,height:n-2*i-2})]})}}function aC({n:t,copy:e,fr:n,smil:i}){let a=t.text.cx,o=t.shape==="actor"&&t.tag,r=t.tag.length*9.5*0.68,l=n?.el[t.id],s=n?.flash[t.id],c=n?.glows.filter((f)=>f.node===t.id)??[],u=t.counter?n?.counters[t.counter.id]??\`\${t.counter.prefix??""}\${t.counter.value}\${t.counter.suffix??""}\`:void 0;return w.jsxs("g",{className:\`si-node si-a-\${t.accent}\`,"data-si":\`node:\${t.id}\`,"data-copy":e||void 0,"data-box":\`\${t.x},\${t.y},\${t.w},\${t.h}\`,transform:\`translate(\${t.x} \${K(t.y+(l?.dy??0))})\`,style:Ar(l),children:[i?.(\`node:\${t.id}\`),w.jsx(iC,{n:t}),i?.(\`glow:\${t.id}\`),c.map((f,m)=>{let d=\`si-glow-\${e}-\${t.id}-\${m}\`.replace(/[^\\w-]/g,"_");return w.jsxs("g",{className:"si-glow",style:{mixBlendMode:"var(--si-glowBlend)"},children:[w.jsx("defs",{children:w.jsxs("radialGradient",{id:d,gradientUnits:"userSpaceOnUse",cx:K(f.cx-t.x),cy:K(f.cy-t.y),r:f.r,children:[w.jsx("stop",{offset:"0",style:{stopColor:"var(--si-glowCrest)",stopOpacity:\`calc(var(--si-glowGain) * \${f.a})\`}}),w.jsx("stop",{offset:"0.45",style:{stopColor:"var(--si-glow)",stopOpacity:\`calc(var(--si-glowGain) * \${+(f.a*0.45).toFixed(3)})\`}}),w.jsx("stop",{offset:"1",style:{stopColor:"var(--si-glow)",stopOpacity:0}})]})}),w.jsx("rect",{x:0,y:0,width:t.w,height:t.h,fill:\`url(#\${d})\`}),w.jsx("rect",{className:"si-glow-rim",x:0.75,y:0.75,width:t.w-1.5,height:t.h-1.5,fill:"none",stroke:\`url(#\${d})\`,strokeWidth:1.5,style:{opacity:0.4}})]},d)}),o?w.jsxs("g",{transform:\`translate(\${K(a-r/2-13)} \${K(t.text.tagY-8)})\`,children:[w.jsx("circle",{className:"si-glyph",cx:4.5,cy:2.5,r:2.3}),w.jsx("path",{className:"si-glyph",d:"M0.5 9.5C0.5 6.8 2.3 5.6 4.5 5.6S8.5 6.8 8.5 9.5"})]}):null,t.tag?w.jsx("text",{className:"si-tag",x:K(o?a+6:a),y:K(t.text.tagY),textAnchor:"middle",children:t.tag}):null,t.label.map((f,m)=>w.jsxs("text",{className:t.shape==="pill"?"si-label si-pill-label":"si-label",x:K(a),y:K(t.text.labelY[m]),textAnchor:"middle",style:MT(s,"ink"),children:[f,i?.(\`flash:\${t.id}\`)]},\`l\${m}\`)),t.detail.map((f,m)=>w.jsx("text",{className:"si-detail",x:K(a),y:K(t.text.detailY[m]),textAnchor:"middle",children:f},\`d\${m}\`)),t.counter&&t.text.counterY!==void 0?w.jsxs("text",{className:"si-counter",x:K(a),y:K(t.text.counterY),textAnchor:"middle",children:[t.counter.label?w.jsx("tspan",{className:"si-counter-label",children:\`\${t.counter.label.toUpperCase()} \`}):null,w.jsx("tspan",{className:"si-counter-value","data-counter":t.counter.id,style:MT(s,"ink"),children:u}),i?.(\`ctext:\${t.counter.id}\`)]}):null,t.counter?i?.(\`cdup:\${t.counter.id}\`):null]})}function oC({g:t,fr:e,smil:n}){let i=t.composite?t.label:t.label.toUpperCase(),a=e?.el[t.id];return w.jsxs("g",{className:"si-grp","data-si":\`group:\${t.id}\`,style:Ar(a),transform:a?.dy?\`translate(0 \${K(a.dy)})\`:void 0,children:[n?.(\`group:\${t.id}\`),w.jsx("rect",{className:t.composite?"si-group-composite":"si-group",x:t.x,y:t.y,width:t.w,height:t.h,rx:Fo.groupRadius}),t.composite?w.jsx("line",{className:"si-group-rule",x1:t.x,x2:t.x+t.w,y1:t.y+24,y2:t.y+24}):null,w.jsxs("text",{className:t.composite?"si-group-title":"si-group-label",x:K(t.x+12),y:K(t.y+(t.composite?16:15)),children:[i,t.kind&&!t.composite?w.jsx("tspan",{className:"si-group-label",dx:8,opacity:0.7,children:\`· \${t.kind.toUpperCase()}\`}):null]})]})}function rC({e:t,fr:e,smil:n}){let i=\`si-wire\${t.style==="dashed"?" si-dashed":t.style==="thick"?" si-thick":""}\`,a=e?.draw[t.id],o=a!==void 0,r=(t.length??0)+24,l=o?a<=0?{opacity:0}:t.style==="dashed"?{opacity:+Math.min(1,a*1.4).toFixed(3)}:{strokeDasharray:\`\${K(r)} \${K(r)}\`,strokeDashoffset:K(r*(1-a))}:void 0;return w.jsxs("g",{className:"si-edge","data-si":\`edge:\${t.id}\`,children:[w.jsx("path",{className:i,d:t.d,style:l,children:n?.(\`wire:\${t.id}\`)}),t.heads.map((s,c)=>w.jsxs("g",{style:o?{opacity:a>=0.98?1:0}:void 0,children:[n?.(\`head:\${t.id}\`),w.jsx(nC,{h:s})]},c)),t.seq!==void 0?w.jsxs("g",{style:o?{opacity:a>0?1:0}:void 0,children:[n?.(\`seq:\${t.id}\`),w.jsx("circle",{className:"si-seq",cx:t.points[0].x,cy:t.points[0].y,r:7}),w.jsx("text",{className:"si-seq-text",x:t.points[0].x,y:t.points[0].y+3,textAnchor:"middle",children:t.seq})]}):null]})}function lC({e:t,fr:e,smil:n}){let i=t.label,a=t.seq!==void 0?i.text.replace(/^\\d+\\.\\s*/,""):i.text,o=e?.draw[t.id],r=o===void 0?1:Math.max(0,Math.min(1,(o-0.35)/0.4));return w.jsxs("g",{className:"si-lbl","data-si":\`label:\${i.id}\`,"data-box":\`\${i.x},\${i.y},\${i.w},\${i.h}\`,style:r<1?{opacity:+r.toFixed(3)}:void 0,children:[n?.(\`elabel:\${t.id}\`),w.jsx("rect",{className:\`si-pill si-on-\${i.surface??"bg"}\`,x:i.x,y:i.y,width:i.w,height:i.h}),w.jsx("text",{className:"si-edge-label",x:K(i.x+i.w/2),y:K(i.y+i.h/2+3.8),textAnchor:"middle",children:a})]})}function sC({fr:t,frame:e,smil:n}){return w.jsxs("g",{className:"si-frm","data-si":\`frame:\${t.id}\`,style:Ar(e?.el[t.id]),children:[n?.(\`frame:\${t.id}\`),w.jsx("rect",{className:"si-frame",x:t.x,y:t.y,width:t.w,height:t.h,rx:2}),t.sections.map((i,a)=>w.jsx("line",{className:"si-frame-rule",x1:t.x,x2:t.x+t.w,y1:i.y,y2:i.y},a))]})}function uC({fr:t,frame:e,smil:n}){let a=t.kind.toUpperCase(),o=(r,l,s,c)=>{let u=r.length*11*0.6+8;return w.jsxs("g",{children:[w.jsx("rect",{className:"si-bg",x:K(l-4),y:K(s-11),width:K(u),height:15,rx:2}),w.jsx("text",{className:"si-frame-label",x:K(l),y:K(s),children:r})]},c)};return w.jsxs("g",{className:"si-frm-labels","data-si":\`frame-label:\${t.id}\`,style:Ar(e?.el[t.id]),children:[n?.(\`frame:\${t.id}\`),w.jsx("path",{className:"si-frame-tag",d:\`M\${t.x} \${t.y}H\${K(t.x+t.tagW)}V\${t.y+18-5}L\${K(t.x+t.tagW-5)} \${t.y+18}H\${t.x}Z\`}),w.jsx("text",{className:"si-frame-kind",x:K(t.x+8),y:t.y+12.5,children:a}),t.label?o(\`[\${t.label}]\`,t.x+t.tagW+8,t.y+13):null,t.sections.map((r,l)=>r.label?o(\`[\${r.label}]\`,t.x+8,r.y+15,l):null)]})}function cC({fr:t}){if(!t.pulses.length)return null;return w.jsx("g",{className:"si-pulses",children:t.pulses.map((e)=>w.jsxs("g",{"data-si":\`pulse:\${e.id}\`,children:[e.trail.map((n,i)=>w.jsx("path",{className:"si-trail",d:n.d,style:{opacity:n.o}},i)),e.halo&&e.halo.o>0.005?w.jsx("circle",{className:"si-halo",cx:e.x,cy:e.y,r:e.halo.r,style:{opacity:e.halo.o}}):null,e.o>0.005&&!e.ring?w.jsx("circle",{className:"si-pulse",cx:e.x,cy:e.y,r:e.r,style:{opacity:e.o}}):null,e.ring?w.jsx("circle",{className:"si-ring-pulse",cx:e.ring.x,cy:e.ring.y,r:e.ring.r,style:{opacity:e.ring.o,strokeWidth:e.ring.w}}):null]},e.id))})}function Cs({scene:t,style:e,copy:n="",className:i,frame:a,smil:o}){let r=t.viewBox,l=a&&(Object.keys(a.el).length||Object.keys(a.draw).length||Object.keys(a.grow).length||a.pulses.length||a.glows.length||Object.keys(a.flash).length||Object.keys(a.counters).length)?a:void 0,s=(u)=>{let f=l?.draw[u.edge];if(f===void 0)return;let m=u.end==="out"?f>0?1:0:f>=0.99?1:0;return m<1?{opacity:m}:void 0},c=(u)=>l?.el[u];return w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:\`storyink\${i?\` \${i}\`:""}\`,viewBox:\`\${r.x} \${r.y} \${r.w} \${r.h}\`,width:r.w,height:r.h,role:"img","aria-label":t.title,"data-storyink":t.type,"data-copy":n||void 0,children:[w.jsx("title",{children:t.title}),e?w.jsx("style",{children:e}):null,w.jsx("rect",{className:"si-bg",x:r.x,y:r.y,width:r.w,height:r.h}),w.jsxs("g",{className:"si-bands",children:[t.boxes.map((u)=>w.jsxs("g",{"data-si":\`box:\${u.id}\`,children:[w.jsx("rect",{className:"si-group",x:u.x,y:u.y,width:u.w,height:u.h}),u.label?w.jsx("text",{className:"si-group-label",x:K(u.x+8),y:K(u.y+14),children:u.label.toUpperCase()}):null]},u.id)),t.bands.map((u)=>w.jsxs("g",{"data-si":\`band:\${u.id}\`,children:[w.jsx("rect",{className:"si-band",x:u.x,y:u.y,width:u.w,height:u.h}),u.label?w.jsx("text",{className:"si-group-label",x:K(u.x+8),y:K(u.y+13),children:u.label.toUpperCase()}):null]},u.id))]}),w.jsx("g",{className:"si-groups",children:t.groups.map((u)=>w.jsx(oC,{g:u,fr:l,smil:o},u.id))}),w.jsx("g",{className:"si-frames",children:t.frames.map((u)=>w.jsx(sC,{fr:u,frame:a,smil:o},u.id))}),w.jsx("g",{className:"si-lifelines",children:t.lifelines.map((u)=>w.jsx("line",{className:"si-life","data-si":\`lifeline:\${u.id}\`,x1:u.x,x2:u.x,y1:u.y1,y2:u.y2,style:Ar(c(u.participant)),children:o?.(\`life:\${u.participant}\`)},u.id))}),w.jsx("g",{className:"si-activations",children:t.activations.map((u)=>w.jsx("rect",{className:"si-act","data-si":\`activation:\${u.id}\`,x:u.x,y:u.y,width:u.w,height:a?.grow[u.id]??u.h,rx:1,style:Ar(c(u.id)),children:o?.(\`act:\${u.id}\`)},u.id))}),w.jsx("g",{className:"si-frame-labels",children:t.frames.map((u)=>w.jsx(uC,{fr:u,frame:a,smil:o},u.id))}),w.jsx("g",{className:"si-edges",children:t.edges.map((u)=>w.jsx(rC,{e:u,fr:l,smil:o},u.id))}),w.jsx("g",{className:"si-nodes",children:t.nodes.map((u)=>w.jsx(aC,{n:u,copy:n,fr:l,smil:o},u.id))}),w.jsx("g",{className:"si-ports",children:t.ports.filter((u)=>!u.covered).map((u)=>w.jsx("circle",{className:"si-port","data-si":\`port:\${u.id}\`,cx:u.x,cy:u.y,r:Fo.portRadius,style:s(u),children:o?.(\`port:\${u.id}\`)},u.id))}),w.jsx("g",{className:"si-labels",children:t.edges.filter((u)=>u.label).map((u)=>w.jsx(lC,{e:u,fr:l,smil:o},u.id))}),l?w.jsx(cC,{fr:l}):null,o?.("overlay")]})}var G=I(pn(),1),fC=[0.65,0,0.25,1];function wT(t,e,n){let i=e?.duration??0,a=Za(i),[o,r]=it.useState(i),[l,s]=it.useState("ended"),[c,u]=it.useState(!1),[f,m]=it.useState(0),d=it.useRef(void 0),y=it.useRef(!1),x=it.useRef(!1),T=it.useRef("ended");T.current=l,Qh(a,"change",(z)=>r(z));let h=()=>{d.current?.stop(),d.current=void 0},p=it.useCallback(()=>{h(),m(0),s((z)=>z==="gate"?z:"paused")},[]),g=it.useCallback((z)=>{h(),m(0);let V=Math.max(0,Math.min(i,z));a.set(n.reduced&&e?Mr(e,V):V),s(z>=i?"ended":"paused"),u(!1)},[a,i,n.reduced,e]),v=it.useCallback(()=>{if(!e)return;if(n.reduced){h(),m(0),u(!1);let ut=Er(e),$t=a.get(),le=$t>=i-0.001?0:Math.max(0,eg(e,$t)),de,Bt=!1;x.current=!0;let on=()=>{if(Bt)return;let Ze=ut[le];if(a.set(Ze.t),le>=ut.length-1){if(d.current=void 0,e.loop){le=0,de=setTimeout(on,st.beats.read*1000);return}s("ended");return}de=setTimeout(()=>{le++,on()},Ze.hold*1000)};s("playing"),d.current={stop:()=>{Bt=!0,clearTimeout(de)}},on();return}h(),u(!1);let z=a.get()>=i-0.001?0:a.get();a.set(z),s("playing"),x.current=!0;let V=0,U=performance.now(),P=!1,Z=(ut)=>{if(P)return;let $t=Math.min(i,a.get()+(ut-U)/1000);if(U=ut,a.set($t),$t>=i){if(d.current=void 0,e.loop)S.current();else s("ended");return}V=requestAnimationFrame(Z)};V=requestAnimationFrame((ut)=>{U=ut,Z(ut)}),d.current={stop:()=>{P=!0,cancelAnimationFrame(V)}}},[e,a,i,n.reduced,g]),E=it.useCallback(()=>{if(!e)return;h(),u(!1);let z=a.get();if(n.reduced)return a.set(0),v();if(z<=0.01)return v();let{hold:V,duration:U,empty:P}=st.rewind,Z=V+U+P;s("rewinding"),d.current=De(a,[z,z,0,0],{duration:Z,times:[0,V/Z,(V+U)/Z,1],ease:["linear",fC,"linear"],onUpdate:()=>{let ut=Math.abs(a.getVelocity()),$t=z>0?ut*U/z:0;m(+(st.rewind.blur*Math.min(1,$t/2.75)).toFixed(2))},onComplete:()=>{m(0),d.current=void 0,M.current()}})},[e,a,n.reduced,v]),M=it.useRef(v);M.current=v;let S=it.useRef(E);S.current=E;let b=it.useCallback(()=>{if(T.current==="playing"||T.current==="rewinding")p();else if(T.current==="ended")E();else v()},[p,v,E]),A=it.useMemo(()=>e?n.reduced?Er(e).map((z)=>z.t):[...e.steps.map((z)=>z.t0),i]:[],[e,i,n.reduced]),N=it.useMemo(()=>{if(!e)return[];if(!n.reduced)return[0,...e.steps.filter((V)=>V.stop).map((V)=>V.t0),i];let z=Er(e);return[z[0].t,...e.steps.flatMap((V,U)=>V.stop?[z[U].t]:[]),i]},[e,i,n.reduced]),R=it.useCallback((z,V=!1)=>{let U=V&&N.length>2?N:A,P=a.get(),Z=z>0?U.find((ut)=>ut>P+0.02)??i:[...U].reverse().find((ut)=>ut<P-0.02)??0;g(Z)},[A,N,a,i,g]),tt=it.useCallback(()=>{if(T.current!=="gate")return;a.set(0),v()},[a,v]);it.useEffect(()=>{if(!e||n.still)return;if(n.t!==void 0){g(n.t==="end"?i:Number(n.t)||0);return}if(n.reduced){a.set(i),s("gate");return}if(n.autoplay??e.autoplay){a.set(0),s("paused");let z=n.stage.current;if(!z||typeof IntersectionObserver>"u")return v();let V=new IntersectionObserver((U)=>{if(U.some((P)=>P.isIntersecting)&&!x.current)V.disconnect(),M.current()});return V.observe(z),()=>V.disconnect()}a.set(0),s("gate");return},[e,n.still,n.t,n.autoplay]);let rt=it.useRef(!0);it.useEffect(()=>{if(rt.current){rt.current=!1;return}if(!e||n.still)return;if(T.current==="playing"||T.current==="rewinding"){if(n.reduced)a.set(Mr(e,a.get()));M.current()}else if(n.reduced&&T.current==="paused")a.set(Mr(e,a.get()))},[n.reduced]),it.useEffect(()=>{if(!e||n.still)return;let z=n.stage.current,V=()=>{if(T.current==="playing")y.current=!0,h(),s("paused")},U=()=>{if(y.current)y.current=!1,M.current()},P=()=>document.hidden?V():U();document.addEventListener("visibilitychange",P);let Z;if(z&&typeof IntersectionObserver<"u")Z=new IntersectionObserver(($t)=>$t.some((le)=>le.isIntersecting)?U():V()),Z.observe(z);let ut=()=>g(i);return addEventListener("beforeprint",ut),()=>{document.removeEventListener("visibilitychange",P),Z?.disconnect(),removeEventListener("beforeprint",ut)}},[e,n.still,n.stage,g,i]),it.useEffect(()=>{if(l!=="ended"||!x.current)return;let z=setTimeout(()=>u(!0),st.beats.read*1000);return()=>clearTimeout(z)},[l]);let re=it.useMemo(()=>Sf(t,e,o,{reduced:n.reduced,stepped:n.reduced}),[t,e,o,n.reduced]),et=it.useCallback((z)=>Sf(t,e,z,{reduced:n.reduced,stepped:n.reduced}),[t,e,n.reduced]);if(!e)return;let pt=l==="gate"?n.reduced?1:st.gateDim:l==="ended"&&c?st.endedDim:1;return{t:o,frame:re,mode:l,dim:pt,blur:f,reduced:n.reduced,play:v,pause:p,toggle:b,seek:g,replay:E,step:R,ungate:tt,frameAt:et}}var AT=(t)=>\`\${Math.floor(t/60)}:\${String(Math.floor(t%60)).padStart(2,"0")}.\${Math.floor(t%1*10)}\`;function mC(){return G.jsx("svg",{width:"16",height:"16",viewBox:"3 2 19 20","aria-hidden":"true",children:G.jsx("path",{d:"M6 4 20 12 6 20Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"3",strokeLinejoin:"round"})})}function dC(){return G.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true",children:[G.jsx("rect",{x:"3.5",y:"2.5",width:"3",height:"11",fill:"currentColor"}),G.jsx("rect",{x:"9.5",y:"2.5",width:"3",height:"11",fill:"currentColor"})]})}function pC(){return G.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16","aria-hidden":"true",children:[G.jsx("path",{d:"M3.5 5.5A5.2 5.2 0 1 1 2.8 9",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),G.jsx("path",{d:"M3 2.2v3.6h3.6",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]})}function CT({onPlay:t,still:e=!1}){return G.jsxs("button",{type:"button",className:\`si-gate\${e?" si-gate-still":""}\`,"aria-label":"Play animation",onClick:(n)=>{n.stopPropagation(),t()},children:[G.jsx("span",{className:"si-gate-disc"}),e?null:G.jsxs(G.Fragment,{children:[G.jsx("span",{className:"si-gate-ring"}),G.jsx("span",{className:"si-gate-ring si-gate-ring-2"})]}),G.jsx("span",{className:"si-gate-play",children:G.jsx("svg",{viewBox:"3 2 19 20","aria-hidden":"true",children:G.jsx("path",{d:"M6 4 20 12 6 20Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"3",strokeLinejoin:"round"})})})]})}function OT({c:t,tl:e}){let n=it.useRef(null),i=(r)=>{let l=n.current;if(!l)return;let s=l.getBoundingClientRect();t.seek((r-s.left)/s.width*e.duration)},a=t.mode==="playing"||t.mode==="rewinding",o=(r)=>\`\${(r/e.duration*100).toFixed(3)}%\`;return G.jsxs("div",{className:\`si-transport\${t.mode==="ended"?" si-ended":""}\`,onPointerDown:(r)=>r.stopPropagation(),onWheel:(r)=>r.stopPropagation(),children:[t.mode!=="ended"?G.jsx("button",{type:"button",className:"si-tbtn","aria-label":a?"Pause":"Play",title:a?"Pause (space)":"Play (space)",onClick:t.toggle,children:a?G.jsx(dC,{}):G.jsx(mC,{})}):null,G.jsx("button",{type:"button",className:"si-tbtn si-replay","aria-label":"Replay",title:"Replay (R)",onClick:t.replay,children:G.jsx(pC,{})}),G.jsxs("div",{className:"si-scrub",ref:n,role:"slider","aria-label":"Scene time","aria-valuemin":0,"aria-valuemax":+e.duration.toFixed(2),"aria-valuenow":+t.t.toFixed(2),tabIndex:0,onPointerDown:(r)=>{r.target.setPointerCapture?.(r.pointerId),i(r.clientX)},onPointerMove:(r)=>{if(r.buttons&1)i(r.clientX)},children:[G.jsx("div",{className:"si-scrub-track"}),G.jsx("div",{className:"si-scrub-fill",style:{width:o(t.t)}}),e.steps.map((r)=>G.jsx("span",{className:\`si-tick\${r.stop?" si-tick-stop":""}\`,style:{left:o(r.t0)},title:r.label,children:r.stop?G.jsx("span",{className:"si-tick-label",children:r.stop}):null},r.id)),G.jsx("div",{className:"si-scrub-head",style:{left:o(t.t)}})]}),G.jsxs("span",{className:"si-time",children:[AT(t.t)," / ",AT(e.duration)]})]})}function NT({frame:t}){return G.jsx("div",{className:"si-captions","aria-live":"polite",children:(t?.captions??[]).map((e,n)=>G.jsx("p",{className:"si-caption",style:e.o<1?{opacity:e.o}:void 0,children:e.text.split(/\\s+/).map((i,a)=>{let o=e.words[a]??1;return G.jsxs("span",{className:"si-word",style:o<1?{opacity:o,transform:\`scale(\${(0.95+0.05*o).toFixed(3)})\`}:void 0,children:[i," "]},a)})},\`\${e.text}-\${n}\`))})}function VT({scene:t,tl:e,cols:n,range:i}){let a=xT(e),[o,r]=i??[0,a.length-1],l=a.slice(o,r+1);return G.jsx("div",{className:\`si-beats\${n&&n>=4?" si-beats-compact":""}\`,style:{gridTemplateColumns:n?\`repeat(\${n}, minmax(0, 1fr))\`:\`repeat(auto-fill, minmax(\${ST(t.viewBox.w)}px, 1fr))\`},children:l.map((s,c)=>{let u=c+o,f=Sf(t,e,s.t),m=bT(e,f,s);return G.jsxs("figure",{className:"si-beat",children:[G.jsxs("figcaption",{className:"si-beat-cap",children:[G.jsx("span",{className:"si-beat-n",children:s.id!=="end"?String(u+1).padStart(2,"0"):"END"})," ",s.label,G.jsxs("span",{className:"si-beat-t",children:[s.t.toFixed(2),"s"]})]}),G.jsx(Cs,{scene:t,frame:f,copy:\`beat\${u}\`}),G.jsx("p",{className:"si-beat-caption",children:m??" "})]},s.id)})})}var be={label:11,minLabel:10,readableLabel:12.5,maxK:2,fitPad:32,focusPad:24,deadZone:0.8,edge:24,spring:{type:"spring",bounce:0,visualDuration:0.75}};function wr(t,e){let n=be.fitPad,i=Math.floor(Math.max(0.1,Math.min((e.w-2*n)/t.w,(e.h-2*n)/t.h,1.25))*64)/64;return{k:i,x:Math.round((e.w-t.w*i)/2),y:Math.round(Math.max(n/2,(e.h-t.h*i)/2))}}function Tf(t,e){let n=wr(t,e).k;if(n*be.label>=be.minLabel)return n;return Math.max(n,RT(Math.min(be.maxK,be.readableLabel/be.label)))}var RT=(t)=>Math.max(0.015625,Math.floor(t*64+0.000000001)/64);var ng=(t)=>{if(!t.length)return;let e=Math.min(...t.map((o)=>o.x)),n=Math.min(...t.map((o)=>o.y)),i=Math.max(...t.map((o)=>o.x+o.w)),a=Math.max(...t.map((o)=>o.y+o.h));return{x:e,y:n,w:i-e,h:a-n}},DT=(t)=>t.length?ng(t.map((e)=>({x:e.x,y:e.y,w:0,h:0}))):void 0;function Os(t,e){let n=0;for(let i=0;i<t.steps.length;i++)if(t.steps[i].t0<=e+0.000001)n=i;return n}function Ef(t,e,n,i=be.focusPad){let a=e.steps[n];if(!a)return;let o=e.steps[n+1],r=a.t0-0.000001,l=Math.max(a.t1,o?o.t0:a.t1)-0.000001,s=(d)=>d>=r&&d<l,c=(d)=>{let y=t.nodes.find((h)=>h.id===d)??t.groups.find((h)=>h.id===d)??t.frames.find((h)=>h.id===d)??t.activations.find((h)=>h.id===d);if(y)return{x:y.x,y:y.y,w:y.w,h:y.h};let x=t.edges.find((h)=>h.id===d);if(x)return ng([DT(x.points),...x.label?[x.label]:[]]);let T=t.lifelines.find((h)=>h.participant===d);return T?{x:T.x,y:T.y1,w:0,h:T.y2-T.y1}:void 0},u=[],f=(d)=>d&&u.push(d);for(let[d,y]of Object.entries(e.appear))if(s(y))f(c(d));for(let d of e.pulses)if(d.id.startsWith(\`pulse-\${n}-\`))f(DT(d.points));for(let[d,y]of Object.entries(e.draw))if(y.mode==="fade"&&s(y.t0))f(c(d));for(let d of e.glows)if(s(d.t))f(c(d.node));for(let d of Object.values(e.counters))if(d.events.some((y)=>s(y.t)))f(c(d.node));let m=ng(u);if(!m)return;return{x:m.x-i,y:m.y-i,w:m.w+2*i,h:m.h+2*i}}function hC(t,e,n){return{x:t.x+(n.x-e.x)*t.k,y:t.y+(n.y-e.y)*t.k,w:n.w*t.k,h:n.h*t.k}}function _T(t,e=be.deadZone){let n=t.h-(t.bottom??0);return{x:t.w*(1-e)/2,y:n*(1-e)/2,w:t.w*e,h:n*e}}function zT(t,e,n,i,a=be.deadZone){let o=hC(t,e,i),r=_T(n,a),l=0.5;return o.x>=r.x-0.5&&o.y>=r.y-0.5&&o.x+o.w<=r.x+r.w+0.5&&o.y+o.h<=r.y+r.h+0.5}function gC(t,e,n){let i=be.edge,a=n.h-(n.bottom??0),o=(r,l,s)=>{let c=l*t.k;if(c+2*i<=s)return(s-c)/2;return Math.min(i,Math.max(s-c-i,r))};return{k:t.k,x:Math.round(o(t.x,e.w,n.w)),y:Math.round(o(t.y,e.h,a))}}function yC(t,e,n,i){let a=e.h-(e.bottom??0),o=n.x-t.x+n.w/2,r=n.y-t.y+n.h/2;return gC({k:i,x:e.w/2-o*i,y:a/2-r*i},t,e)}function Mf(t,e,n,i,a=t.k,o=be.deadZone){if(!i)return t;let r=_T(n,o),l=Math.max(0.1,Math.min(a,RT(Math.min(r.w/Math.max(1,i.w),r.h/Math.max(1,i.h)))));if(t.k>=l-0.000001&&zT(t,e,n,i,o))return t;let s=n.h-(n.bottom??0);if(Math.abs(t.k-l)<0.000001&&e.w*l<=n.w&&e.h*l<=s&&zT(t,e,n,i,1))return t;let c=yC(e,n,i,l);return c.k===t.k&&c.x===t.x&&c.y===t.y?t:c}var Af=(t,e)=>e>=t.lastEvent-0.000001;function BT(t,e,n,i,a){let o=t.viewBox;if(Af(e,n)||!e.steps.length)return wr(o,i);let r=Os(e,n),l=a??Tf(o,i),s=wr(o,i);for(let c=0;c<=r;c++)s=Mf(s,o,i,Ef(t,e,c),l);return s}var L=I(pn(),1),vC={architecture:"Architecture",workflow:"Workflow",sequence:"Sequence",dataflow:"Data flow",lifecycle:"Lifecycle"};function UT(t){let e=new URLSearchParams(t.replace(/^#/,"")),n=e.get("theme"),i=e.get("sheet"),a=e.get("autoplay"),o=e.get("motion");return{...n==="light"||n==="dark"?{theme:n}:{},chrome:e.get("chrome")!=="0",...e.get("t")?{t:e.get("t")}:{},...i==="beats"?{beats:!0}:i?{sheet:i.split(",").filter((r)=>r==="light"||r==="dark")}:{},...a==="1"||a==="0"?{autoplay:a==="1"}:{},...o==="full"||o==="reduced"?{motion:o}:{},...e.get("static")==="1"?{still:!0}:{},...e.get("camera")==="follow"||e.get("camera")==="fit"?{camera:e.get("camera")}:{},...Number(e.get("cols"))>=1?{cols:Math.min(12,Math.floor(Number(e.get("cols"))))}:{},.../^\\d+-\\d+$/.test(e.get("range")??"")?{range:e.get("range").split("-").map(Number)}:{}}}function xC(t){if(t.hash)return t.hash;if(t.stored==="full"||t.stored==="reduced")return t.stored;let e=t.author??"full";if(e!=="system")return e;return t.system?"reduced":"full"}var HT="storyink-motion",LT="storyink-follow";function bC(t){if(t.hash)return t.hash==="follow";if(t.stored==="on"||t.stored==="off")return t.stored==="on";return(t.author??"follow")==="follow"}var SC="button, input, select, textarea, a, [role=slider], .si-tools, .si-transport, .si-gate, [data-no-pan]";function ui({label:t,title:e,onClick:n,children:i,pressed:a,still:o}){return L.jsx(Fh.button,{type:"button",className:"si-btn","aria-label":t,title:e,onClick:n,...a!==void 0?{"aria-pressed":a}:{},...o?{}:{whileHover:dn.hover,whileTap:dn.press},transition:dn.spring,children:i??t})}function TC(){return L.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 16 16","aria-hidden":"true",children:[L.jsx("circle",{cx:"8",cy:"8",r:"3",fill:"none",stroke:"currentColor",strokeWidth:"1.3"}),L.jsx("path",{d:"M8 1v2M8 13v2M1 8h2M13 8h2M3 3l1.4 1.4M11.6 11.6 13 13M3 13l1.4-1.4M11.6 4.4 13 3",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round"})]})}function EC(){return L.jsx("svg",{width:"13",height:"13",viewBox:"0 0 16 16","aria-hidden":"true",children:L.jsx("path",{d:"M13 9.5A5.5 5.5 0 0 1 6.5 3a5.5 5.5 0 1 0 6.5 6.5Z",fill:"none",stroke:"currentColor",strokeWidth:"1.3",strokeLinejoin:"round"})})}var GT="storyink-theme";function jT(){return typeof matchMedia==="function"&&matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function qT(t,e){let n=document.documentElement;if(!e){n.dataset.theme=t;return}let i=getComputedStyle(n),a=Ll[t],o=Object.keys(a),r={};for(let u of o)r[qi(u)]=i.getPropertyValue(qi(u)).trim();for(let u of o)n.style.setProperty(qi(u),r[qi(u)]);n.dataset.theme=t;let l={};for(let u of o)l[qi(u)]=a[u];let s=De(n,l,dn.spring),c=()=>{for(let u of o)n.style.removeProperty(qi(u))};Promise.resolve(s.finished??s).then(c,c)}function YT({scene:t,hooks:e}){let n=J.useRef(null),i=J.useRef(()=>{}),a=Za(0),o=Za(0),r=Za(1),[l,s]=J.useState({chrome:!0}),[c,u]=J.useState(void 0),[f,m]=J.useState(!1),[d,y]=J.useState(!1),[x,T]=J.useState(null),[h,p]=J.useState(void 0),[g,v]=J.useState(!1),E=t.viewBox,M=t.timeline,S=xC({hash:l.motion,stored:x,author:M?.motion,system:d})==="reduced",b=wT(t,M,{...l.t!==void 0?{t:l.t}:{},...l.autoplay!==void 0?{autoplay:l.autoplay}:{},reduced:S,still:!f||!!l.still||!!l.beats||!!l.sheet?.length,stage:n}),[A,N]=J.useState(null),R=bC({hash:l.camera,stored:A,author:M?.camera}),tt=J.useRef({k:1,x:0,y:0}),rt=J.useRef(void 0),re=J.useRef(null),et=J.useRef(!1),pt=J.useRef(!1),z=J.useCallback(()=>{let O=n.current;if(!O)return;return{w:O.clientWidth,h:O.clientHeight,bottom:l.chrome?56:0}},[l.chrome]),V=J.useCallback((O,q)=>{if(tt.current=O,q)De(r,O.k,be.spring),De(a,O.x,be.spring),De(o,O.y,be.spring);else r.stop(),a.stop(),o.stop(),r.set(O.k),a.set(O.x),o.set(O.y)},[r,a,o]),U=J.useCallback((O)=>{let q=n.current;if(!q)return;let Y=wr(E,{w:q.clientWidth,h:q.clientHeight});if(et.current=!1,tt.current=Y,O)De(r,Y.k,dn.spring),De(a,Y.x,dn.spring),De(o,Y.y,dn.spring);else r.set(Y.k),a.set(Y.x),o.set(Y.y)},[E,r,a,o]),P=J.useCallback((O,q,Y,rn=!1)=>{let yn=n.current;if(!yn)return;let Wi=q??yn.clientWidth/2,zr=Y??yn.clientHeight/2,_=rn?tt.current:{k:r.get(),x:a.get(),y:o.get()},Ot=Math.max(0.1,Math.min(8,_.k*O)),ta={k:Ot,x:Wi-(Wi-_.x)*Ot/_.k,y:zr-(zr-_.y)*Ot/_.k};if(rt.current=Ot,tt.current=ta,rn)De(r,ta.k,dn.spring),De(a,ta.x,dn.spring),De(o,ta.y,dn.spring);else r.set(ta.k),a.set(ta.x),o.set(ta.y)},[r,a,o]);J.useEffect(()=>{let O=UT(location.hash);if(s(O),typeof matchMedia==="function")y(matchMedia("(prefers-reduced-motion: reduce)").matches);try{T(localStorage.getItem(HT)),N(localStorage.getItem(LT))}catch{}m(!0);let q;try{let yn=localStorage.getItem(GT);if(yn==="light"||yn==="dark")q=yn}catch{}let Y=O.theme??q??document.documentElement.dataset.theme;if(u(Y??jT()),Y)qT(Y,!1);let rn=()=>s(UT(location.hash));return addEventListener("hashchange",rn),()=>removeEventListener("hashchange",rn)},[]),J.useEffect(()=>{if(!f)return;if(!l.sheet?.length&&!l.beats)ut();e?.onReady(!!l.sheet?.length||!!l.beats)},[l,U,e,f]);let Z=J.useRef(b);Z.current=b,J.useEffect(()=>{let O=window;if(!O.__storyink)return;O.__storyink.duration=M?.duration??0,O.__storyink.steps=M?M.steps.map((q)=>({id:q.id,label:q.label,t0:q.t0,t1:q.t1,...q.stop?{stop:q.stop}:{}})):[],O.__storyink.setTime=(q)=>Z.current?.seek(q==="end"?M?.duration??0:Number(q)),O.__storyink.play=()=>Z.current?.play(),O.__storyink.pause=()=>Z.current?.pause(),O.__storyink.replay=()=>Z.current?.replay(),O.__storyink.state=()=>({t:Z.current?.t??0,mode:Z.current?.mode??"static"}),O.__storyink.camera=()=>Dr.current()},[M]);let ut=()=>{let O=z();if(!O)return;if(M&&l.camera==="follow"&&l.t!==void 0&&!pt.current){let Y=l.t==="end"?M.duration:Number(l.t)||0,rn=S?Mr(M,Y):Y;V(BT(t,M,rn,O),!1),et.current=!Af(M,rn);return}let q=Z.current;if(M&&q&&R&&et.current){V(Mf(tt.current,E,O,Ef(t,M,Os(M,q.t)),rt.current??Tf(E,O)),!1);return}U(!1)},$t=J.useRef(ut);$t.current=ut;let le=M&&b?Os(M,b.t):0,de=M&&b?Af(M,b.t):!1,Bt=b?.mode;if(Bt==="playing")pt.current=!0;J.useEffect(()=>{if(!M||!b||!R||!pt.current||l.beats||l.sheet?.length)return;if(Bt==="gate"||Bt==="rewinding")return;let O=z();if(!O)return;let q=!S;if(de){if(et.current)V(wr(E,O),q),et.current=!1;return}if(re.current===le)return;re.current=null;let Y=Mf(tt.current,E,O,Ef(t,M,le),rt.current??Tf(E,O));if(Y!==tt.current)V(Y,q),et.current=!0},[le,de,Bt,R,S]),i.current=()=>{if(r.stop(),a.stop(),o.stop(),b&&M)re.current=Os(M,b.t)};let on=h??b?.frame;J.useEffect(()=>{if(b&&e?.onFrame)e.onFrame(b.frame,b.mode==="playing"&&!S)},[b?.frame,b?.mode,e,S]),J.useEffect(()=>{let O=()=>$t.current();addEventListener("resize",O);let q;if(typeof ResizeObserver<"u"&&n.current)q=new ResizeObserver(O),q.observe(n.current);return document.fonts?.ready.then(O),()=>{removeEventListener("resize",O),q?.disconnect()}},[U]),J.useEffect(()=>{let O=n.current;if(!O)return;let q=(_)=>{_.preventDefault();let Ot=O.getBoundingClientRect();r.stop(),a.stop(),o.stop(),P(Math.exp(-_.deltaY*(_.ctrlKey?0.01:0.0015)),_.clientX-Ot.left,_.clientY-Ot.top)},Y,rn=(_)=>{if(_.button!==0)return;if(_.target?.closest?.(SC))return;Y={id:_.pointerId,sx:_.clientX,sy:_.clientY,ox:a.get(),oy:o.get(),moved:!1}},yn=(_)=>{if(!Y||Y.id!==_.pointerId)return;if(!Y.moved){if(Math.hypot(_.clientX-Y.sx,_.clientY-Y.sy)<3)return;Y.moved=!0;try{O.setPointerCapture(_.pointerId)}catch{}O.classList.add("si-dragging"),i.current()}a.set(Y.ox+_.clientX-Y.sx),o.set(Y.oy+_.clientY-Y.sy),tt.current={k:r.get(),x:a.get(),y:o.get()}},Wi=(_)=>{if(!Y||Y.id!==_.pointerId)return;let Ot=Y.moved;if(Y=void 0,Ot)O.classList.remove("si-dragging")},zr=(_)=>{if(_.target instanceof HTMLInputElement||_.metaKey||_.ctrlKey||_.altKey)return;let Ot=Z.current;if(Ot&&(_.key===" "||_.code==="Space"))if(_.preventDefault(),Ot.mode==="gate")Ot.ungate();else Ot.toggle();else if(Ot&&_.key==="ArrowRight")pt.current=!0,Ot.step(1,_.shiftKey);else if(Ot&&_.key==="ArrowLeft")pt.current=!0,Ot.step(-1,_.shiftKey);else if(Ot&&(_.key==="f"||_.key==="F"))Nr.current();else if(Ot&&(_.key==="r"||_.key==="R"))Ot.replay();else if(Ot&&(_.key==="m"||_.key==="M"))Or.current();else if(_.key==="0")Vr.current();else if(_.key==="+"||_.key==="=")P(1.25,void 0,void 0,!0);else if(_.key==="-"||_.key==="_")P(0.8,void 0,void 0,!0)};return O.addEventListener("wheel",q,{passive:!1}),O.addEventListener("pointerdown",rn),O.addEventListener("pointermove",yn),O.addEventListener("pointerup",Wi),O.addEventListener("pointercancel",Wi),addEventListener("keydown",zr),()=>{O.removeEventListener("wheel",q),O.removeEventListener("pointerdown",rn),O.removeEventListener("pointermove",yn),O.removeEventListener("pointerup",Wi),O.removeEventListener("pointercancel",Wi),removeEventListener("keydown",zr)}},[U,P,a,o,r]);let Ze=()=>{let O=S?"full":"reduced";T(O);try{localStorage.setItem(HT,O)}catch{}if(l.motion){let q=new URLSearchParams(location.hash.replace(/^#/,""));q.set("motion",O),history.replaceState(null,"",\`#\${q.toString()}\`),s((Y)=>({...Y,motion:O}))}},Or=J.useRef(Ze);Or.current=Ze;let Fa=()=>{let O=R?"off":"on";N(O);try{localStorage.setItem(LT,O)}catch{}if(l.camera){let q=new URLSearchParams(location.hash.replace(/^#/,""));q.set("camera",O==="on"?"follow":"fit"),history.replaceState(null,"",\`#\${q.toString()}\`),s((Y)=>({...Y,camera:O==="on"?"follow":"fit"}))}},Nr=J.useRef(Fa);Nr.current=Fa;let Qe=()=>{U(!0),rt.current=tt.current.k},Vr=J.useRef(Qe);Vr.current=Qe;let Dr=J.useRef(()=>({}));Dr.current=()=>({mode:R?"follow":"fit",follow:R,k:r.get(),x:a.get(),y:o.get(),goal:tt.current,step:le,engaged:et.current,suspended:re.current,userK:rt.current??null,viewport:z()??null});let Vs=b?{...b,seek:(O)=>(pt.current=!0,b.seek(O))}:void 0,Ds=()=>{let O=(c??jT())==="dark"?"light":"dark";u(O);try{localStorage.setItem(GT,O)}catch{}qT(O,!0)},jn=c??"light",Nf=l.sheet?.length?l.sheet:void 0,hg=(O)=>{if(!b||g)return O();ig.flushSync(()=>p(b.frameAt(M.duration)));try{O()}finally{ig.flushSync(()=>p(void 0))}};return L.jsx(Rh,{features:Zh,strict:!0,children:L.jsxs("div",{className:\`si-app\${l.chrome?"":" si-nochrome"}\${S?" si-reduced":""}\${l.beats&&M?" si-sheet-mode":""}\`,children:[L.jsxs("header",{className:"si-head",children:[L.jsx("p",{className:"si-kind",children:vC[t.type]}),L.jsx("h1",{className:"si-title",children:t.title}),t.subtitle?L.jsx("p",{className:"si-subtitle",children:t.subtitle}):null,M?L.jsx(NT,{frame:l.beats?void 0:on}):null]}),l.beats&&M?L.jsx(VT,{scene:t,tl:M,...l.cols?{cols:l.cols}:{},...l.range?{range:l.range}:{}}):Nf?L.jsx("div",{className:"si-sheet",style:{gridTemplateColumns:\`repeat(\${Nf.length}, 1fr)\`},children:Nf.map((O)=>L.jsxs("div",{"data-theme":O,children:[L.jsx("p",{className:"si-sheet-cap",children:O}),L.jsx(Cs,{scene:t,copy:O,frame:b?.frameAt(M.duration)})]},O))}):L.jsxs("div",{className:\`si-stage\${b?.mode==="gate"?" si-gated":""}\`,ref:n,onClick:()=>b?.mode==="gate"&&b.ungate(),children:[L.jsx(Fh.div,{className:"si-canvas",style:{x:a,y:o,scale:r,originX:0,originY:0},children:L.jsxs("div",{className:"si-figure",style:b&&(b.dim<1||b.blur>0)?{opacity:b.dim,...b.blur>0?{filter:\`blur(\${b.blur}px)\`}:{}}:void 0,children:[L.jsx(Cs,{scene:t,frame:on}),L.jsx("div",{className:"si-counters"})]})}),b?.mode==="gate"?L.jsx(CT,{onPlay:b.ungate,still:S}):null,Vs&&M?L.jsx(OT,{c:Vs,tl:M}):null,L.jsxs("div",{className:"si-tools",onPointerDown:(O)=>O.stopPropagation(),children:[L.jsx(ui,{label:"−",title:"Zoom out (-)",onClick:()=>P(0.8,void 0,void 0,!0)}),L.jsx(ui,{label:"+",title:"Zoom in (+)",onClick:()=>P(1.25,void 0,void 0,!0)}),L.jsx(ui,{label:"Fit",title:"Fit to view (0)",onClick:Qe}),L.jsx("span",{className:"si-sep"}),L.jsx(ui,{label:"Toggle theme",title:"Toggle light/dark",onClick:Ds,children:jn==="dark"?L.jsx(TC,{}):L.jsx(EC,{})}),L.jsx("span",{className:"si-sep"}),M?L.jsxs(L.Fragment,{children:[L.jsx(ui,{label:S?"Motion: reduced":"Motion: full",title:S?"Reduced motion: plays step by step. Click for full motion (M)":"Full motion. Click to play step by step (M)",pressed:S,still:S,onClick:Ze}),L.jsx(ui,{label:"Follow",title:R?"Camera follows the story. Click to keep the view still (F)":"Camera stays still. Click to follow the story (F)",pressed:R,onClick:Fa}),L.jsx("span",{className:"si-sep"})]}):null,M?L.jsx(ui,{label:g?"Frame: now":"Frame: end",title:"Export the final frame or the frame on screen",onClick:()=>v((O)=>!O)}):null,L.jsx(ui,{label:"SVG",title:"Export SVG",onClick:()=>hg(()=>e?.exportSvg(jn))}),L.jsx(ui,{label:"PNG",title:"Export PNG (2×)",onClick:()=>hg(()=>e?.exportPng(jn))})]})]})]})})}function ag(t,e,n=0){let i=Math.min(t.x+t.w,e.x+e.w)-Math.max(t.x,e.x)-n,a=Math.min(t.y+t.h,e.y+e.h)-Math.max(t.y,e.y)-n;return i>0&&a>0?i*a:0}var XT=(t)=>{if(!t)return;let[e,n,i,a]=t.split(",").map(Number);return{x:e,y:n,w:i,h:a}};function KT(t,e,n){let i=t.querySelector(n?".si-sheet svg.storyink":".si-stage svg.storyink")??t.querySelector("svg.storyink"),a=[],o=0;if(!i)return{ok:!1,issues:[{kind:"text-overflow",ids:[],detail:"no diagram found"}],checked:{nodes:0,labels:0,texts:0}};let r=[...i.querySelectorAll("g.si-node")],l=[];for(let u of r){let f=u.dataset.si.slice(5),m=XT(u.getAttribute("data-box"));l.push({id:f,box:m});let d=e.nodes.find((y)=>y.id===f);for(let y of u.querySelectorAll("text")){o++;let x=y.getBBox();if(!x.width)continue;let T=2,h=m.w-2;if(d?.shape==="diamond"){let p=x.y+x.height/2,g=1-Math.abs(p-m.h/2)/(m.h/2),v=m.w/2*g;T=m.w/2-v+4,h=m.w/2+v-4}if(x.x<T-1||x.x+x.width>h+1||x.y<-1||x.y+x.height>m.h+1)a.push({kind:"text-overflow",ids:[f],detail:\`"\${y.textContent}" (\${x.width.toFixed(1)}px) exceeds its box\`})}}let s=[...i.querySelectorAll("g.si-lbl")],c=[];for(let u of s){let f=u.dataset.si.slice(6),m=XT(u.getAttribute("data-box"));c.push({id:f,box:m});let d=u.querySelector("text");if(d){o++;let y=d.getBBox();if(y.x<m.x-1||y.x+y.width>m.x+m.w+1)a.push({kind:"label-overflow",ids:[f],detail:\`label "\${d.textContent}" overflows its pill\`})}}for(let u of c)for(let f of l)if(ag(u.box,f.box,1)>0)a.push({kind:"label-node",ids:[u.id,f.id],detail:"edge label overlaps a node"});for(let u=0;u<c.length;u++)for(let f=u+1;f<c.length;f++)if(ag(c[u].box,c[f].box,1)>0)a.push({kind:"label-label",ids:[c[u].id,c[f].id],detail:"edge labels overlap"});for(let u=0;u<l.length;u++)for(let f=u+1;f<l.length;f++)if(ag(l[u].box,l[f].box)>0)a.push({kind:"node-node",ids:[l[u].id,l[f].id],detail:"nodes overlap"});return{ok:a.length===0,issues:a,checked:{nodes:l.length,labels:c.length,texts:o}}}var MC=["0","1","2","3","4","5","6","7","8","9"],Ns=new Map,AC=/[\\u0590-\\u08ff\\u200e\\u200f\\u202a-\\u202e\\u2066-\\u2069\\ufb1d-\\ufeff]/u;function wC(t={}){let e=Intl.getCanonicalLocales(t.locales),n=Object.fromEntries(Object.entries(t.format??{}).sort(([o],[r])=>o.localeCompare(r))),i=JSON.stringify([e,n]),a=Ns.get(i);if(!a){a=new Intl.NumberFormat(e,n);let o=Ns.keys().next().value;if(Ns.size>=64&&o!==void 0)Ns.delete(o);Ns.set(i,a)}return a}function CC(t,e={}){let n=wC(e),i=n.formatToParts(t),a=i.map((y)=>y.value).join(""),o=n.resolvedOptions(),r=o.numberingSystem==="latn"&&o.notation==="standard"&&!AC.test(a)&&!i.some((y)=>y.type==="nan"||y.type==="infinity"),l=JSON.stringify(o);if(!r)return{text:a,tokens:[],rollable:r,signature:l,magnitude:""};let s=i.filter((y)=>y.type==="integer").reduce((y,x)=>y+x.value.length,0),c=-1,u=new Map,f=[],m="",d="";for(let y of i)if(y.type==="integer"||y.type==="fraction"){if(y.type==="integer")m+=y.value;else d+=y.value;for(let x of y.value){let T=\`digit:\${y.type==="integer"?--s:c--}\`;f.push({key:T,identity:T,text:x,wheel:MC,index:Number(x)})}}else if(y.type==="group"){let x=\`group:\${s}\`;f.push({key:\`\${x}:\${y.value}\`,identity:x,text:y.value})}else{let x=u.get(y.type)??0;u.set(y.type,x+1);let T=y.type==="plusSign"||y.type==="minusSign"?"sign":y.type;f.push({key:\`\${y.type}:\${x}:\${y.value}\`,identity:\`\${T}:\${x}\`,text:y.value})}return{text:a,tokens:f,rollable:r,signature:l,magnitude:\`\${m.replace(/^0+(?=\\d)/u,"")}.\${d}\`}}function OC(t,e){let[n="",i=""]=t.magnitude.split("."),[a="",o=""]=e.magnitude.split(".");if(n.length!==a.length)return a.length>n.length?1:-1;if(n!==a)return a>n?1:-1;let r=Math.max(i.length,o.length),l=i.padEnd(r,"0"),s=o.padEnd(r,"0");return s===l?0:s>l?1:-1}function NC(t,e,n=0.14){return{target:0,duration:e,points:Array.from({length:49},(i,a)=>{if(a===48)return 0;let o=Math.max(0,Math.min(1,(a/48-n)/(1-n)));return t*(1+10*o)*Math.exp(-10*o)})}}function wf(t,e){if(e<=0||t.duration<=0)return t;let n=t.duration+e,i=Math.round((t.points.length-1)*n/t.duration)+1,a=t.points[0]??t.target;return{target:t.target,duration:n,points:Array.from({length:i},(o,r)=>{if(r===i-1)return t.target;let l=r/(i-1)*n-e;return l<=0?a:FT(t,l).position})}}function Ii(t,e,n,i){if(i<=0)return{points:[e,e],duration:0,target:e};let a=i/1000,o=t-e,r=Math.max(Math.abs(o),1)*12/a,l=Math.max(-r,Math.min(r,n))*a;return{points:Array.from({length:49},(s,c)=>{if(c===48)return e;let u=c/48;return e+(o+(l+10*o)*u)*Math.exp(-10*u)}),duration:i,target:e}}function VC(t,e=0,n=24){if(t.duration<=0)return{points:[0,0],duration:0,target:0};let i=t.duration/(t.points.length-1)/1000;return{duration:t.duration,target:0,points:t.points.map((a,o,r)=>{if(o===0)return Math.max(0,Math.min(1,e));if(o===r.length-1)return 0;let l=Math.abs((r[o+1]-r[o-1])/(2*i)),s=n/6;return Math.max(0,Math.min(1,(l-s)/(n-s)))})}}function FT(t,e){if(e>=t.duration||t.duration===0)return{position:t.target,velocity:0};let n=Math.max(0,e)/t.duration*(t.points.length-1),i=Math.min(Math.floor(n),t.points.length-2),a=t.points[i]??t.target,o=t.points[i+1]??t.target;return{position:a+(o-a)*(n-i),velocity:(o-a)*(t.points.length-1)*1000/t.duration}}function ZT(t,e,n,i=10){let a=Math.floor(t/i)*i+e;if(n>0&&a<t-0.001)a+=i;else if(n<0&&a>t+0.001)a-=i;else if(n===0)a+=Math.round((t-a)/i)*i;return a}var Of=(t,e)=>t[(e%t.length+t.length)%t.length];function DC(t,e,n){let i=Math.floor(e),a=e-i,o=[Of(t,i)];if(a>0.00001)o.push(Of(t,i+1));if(o.at(-1)!==n)o.push(n);return{wheel:o,from:a,target:o.length-1}}function zC(t,e="outward"){if(e!=="outward"){let a=t.map((r,l)=>r?-1:l).filter((r)=>r>=0);if(e==="end")a.reverse();let o=t.map((r)=>r?0:1);if(e!=="none")a.forEach((r,l)=>{o[r]=l+1});return o}let n=t.map((a,o)=>a?0:o+1);if(!t.includes(!0))return n;let i=-1/0;for(let a=0;a<t.length;a++)if(t[a])i=a;else n[a]=a-i;i=1/0;for(let a=t.length-1;a>=0;a--)if(t[a])i=a;else n[a]=Math.min(n[a],i-a);return n}function QT(t,e){let n=new Map,i=[],a=0;for(let o of t){let r=e.get(o);if(!r){i.push(o);continue}for(let l of i)n.set(l,r.x);i.length=0,a=r.x+r.width}for(let o of i)n.set(o,a);return n}var og=new WeakMap;class mg{view;media;members=new Set;pending=new Set;sizes=new WeakMap;intersections=new WeakMap;resize;intersection;frame=0;static for(t){let e=og.get(t);if(!e)e=new mg(t),og.set(t,e);return e}constructor(t){if(this.view=t,this.media=t.matchMedia("(prefers-reduced-motion: reduce)"),this.media.addEventListener("change",this.refresh),t.document.addEventListener("visibilitychange",this.refresh),t.document.fonts?.addEventListener("loadingdone",this.refresh),t.document.fonts?.ready.then(this.refresh),t.ResizeObserver)this.resize=new t.ResizeObserver((e)=>{for(let n of e){let i=this.sizes.get(n.target);if(i?.sizeChanged(n.target,n.contentRect.width,n.contentRect.height))i.refresh()}});if(t.IntersectionObserver)this.intersection=new t.IntersectionObserver((e)=>{for(let n of e)this.intersections.get(n.target)?.visibility(n.isIntersecting)},{rootMargin:"64px"})}refresh=()=>{for(let t of this.members)t.refresh()};add(t,e){this.members.add(t),this.intersections.set(e,t),this.intersection?.observe(e)}watch(t,e){this.sizes.set(t,e),this.resize?.observe(t)}unwatch(t){this.resize?.unobserve(t),this.sizes.delete(t)}enqueue(t){if(this.pending.add(t),!this.frame)this.frame=this.view.requestAnimationFrame(()=>{this.frame=0;let e=[...this.pending];this.pending.clear();let n=e.map((a)=>a.stage());for(let a of n)a?.();let i=e.map((a)=>a.measure());for(let a of i)a?.()})}remove(t,e){if(this.pending.delete(t),this.members.delete(t),this.intersection?.unobserve(e),this.intersections.delete(e),this.members.size)return;this.view.cancelAnimationFrame(this.frame),this.resize?.disconnect(),this.intersection?.disconnect(),this.media.removeEventListener("change",this.refresh),this.view.document.removeEventListener("visibilitychange",this.refresh),this.view.document.fonts?.removeEventListener("loadingdone",this.refresh),og.delete(this.view)}}var kT=new WeakMap;function Cr(t,e,n){let i=t.animate(e,n),a=t.ownerDocument.timeline?.currentTime;if(typeof a==="number"&&i.playState==="running")i.startTime=a;return i}function $T(t){let e=t.ownerDocument.defaultView;if(!e)return!1;let n=kT.get(e);if(n===void 0)n=e.CSS?.supports("animation-timing-function","linear(0, 1)")??!1,kT.set(e,n);return n}class ka{element;property;animation;motion;value=0;constructor(t,e){this.element=t,this.property=e}read(){let t=this.animation?.currentTime;return this.animation&&this.motion?FT(this.motion,typeof t==="number"?t:0):{position:this.value,velocity:0}}set(t,e){this.cancel(),this.value=t,this.element.style.setProperty(this.property,e(t))}play(t,e,n){if(this.cancel(),this.value=t.target,this.element.style.setProperty(this.property,e(t.target)),!t.duration||t.points.every((u)=>u===t.target)){n?.();return}let i=t.points[0]??t.target,a=t.target-i,o=this.property==="opacity"&&$T(this.element),r=this.property==="transform"&&Math.abs(a)>0.00001&&$T(this.element),l=o?[{opacity:0},{opacity:1}]:r?[{[this.property]:e(i)},{[this.property]:e(t.target)}]:t.points.map((u)=>({[this.property]:e(u)})),s=o?\`linear(\${t.points.map(e).join(",")})\`:r?\`linear(\${t.points.map((u)=>Number(((u-i)/a).toFixed(6))).join(",")})\`:"linear",c=Cr(this.element,l,{duration:t.duration,easing:s});this.animation=c,this.motion=t,c.onfinish=()=>{if(this.animation!==c)return;this.animation=void 0,this.motion=void 0,c.onfinish=null,c.cancel(),n?.()}}cancel(){if(this.animation)this.animation.onfinish=null,this.animation.cancel(),this.animation=void 0;this.motion=void 0}}var rg="http://www.w3.org/2000/svg",RC=0;class Cf{host;layers=new Map;filter;intensity=1;constructor(t){this.host=t}filterUrl(t){if(!this.filter){let n=this.host.ownerDocument,i=n.createElementNS(rg,"svg");i.classList.add("rn-blur-defs"),i.setAttribute("aria-hidden","true"),i.setAttribute("focusable","false");let a=n.createElementNS(rg,"filter"),o;do o=\`rn-vertical-blur-\${++RC}\`;while(n.getElementById(o));a.id=o,a.setAttribute("x","-15%"),a.setAttribute("width","130%"),a.setAttribute("color-interpolation-filters","sRGB");let r=n.createElementNS(rg,"feGaussianBlur");a.append(r),i.append(a),this.host.append(i),this.filter={svg:i,blur:r,id:o,height:0}}let e=t*0.035*this.intensity;if(this.filter.height!==e)this.filter.blur.setAttribute("stdDeviation",\`0 \${e}\`),this.filter.height=e;return\`url("#\${this.filter.id}")\`}apply(t,e,n,i,a="roll"){let o=VC(e,i,a==="entry"?6:24);if(o.points.every((u)=>u===0))return!1;let r=this.host.ownerDocument.createElement("span");r.className="rn-sharp",r.append(...t.childNodes);let l=r.cloneNode(!0);l.className="rn-smear",l.style.filter=this.filterUrl(n),t.append(r,l);let s=new ka(r,"opacity"),c=new ka(l,"opacity");return this.layers.set(t,{sharp:r,sharpOpacity:s,smearOpacity:c}),s.play(o,(u)=>String(1-u)),c.play(o,String),!0}remove(t){let e=this.layers.get(t);if(!e)return 0;let n=e.smearOpacity.read().position;return e.sharpOpacity.cancel(),e.smearOpacity.cancel(),t.replaceChildren(...e.sharp.childNodes),this.layers.delete(t),n}destroy(){for(let t of this.layers.keys())this.remove(t);this.filter?.svg.remove(),this.filter=void 0}}function _C(t){return Math.max(45,Math.min(110,t/7))}function BC(t,e,n){let i=Math.abs(e-t);return{points:[t,e],target:e,duration:i*n}}function UC(t){let e=Array.from({length:t+1},(a,o)=>({"--rn-flap-step":String(o),offset:o/t,easing:"steps(1, end)"})),n=[],i=[];for(let a=0;a<t;a++){let o=a/t,r=(a+0.5)/t,l=(a+1)/t;n.push({transform:"perspective(5em) rotateX(0deg)",filter:"brightness(1)",offset:o,easing:"cubic-bezier(.6, 0, 1, .5)"},{transform:"perspective(5em) rotateX(-90deg)",filter:"brightness(.45)",offset:r},{transform:"perspective(5em) rotateX(-90deg)",filter:"brightness(.45)",offset:l}),i.push({transform:"perspective(5em) rotateX(90deg)",filter:"brightness(.45)",offset:o},{transform:"perspective(5em) rotateX(90deg)",filter:"brightness(.45)",offset:r,easing:"linear(0, 0.58, 0.9, 1, 1.045 78%, 1)"},{transform:"perspective(5em) rotateX(0deg)",filter:"brightness(1)",offset:l})}return{index:e,falls:n,lands:i}}function HC(t){for(let e of t.querySelectorAll(".rn-flap-smear")){for(let n of e.getAnimations())n.cancel();e.remove()}for(let e of t.querySelectorAll(".rn-flap-sharp")){for(let n of e.getAnimations())n.cancel();e.classList.remove("rn-flap-sharp")}}function LC(t,e,n,i,a,o,r,l){let s=t.ownerDocument,c=Math.abs(i-n),u=i>=n?1:-1;if(!c){t.replaceChildren();return}let f=UC(c),m=Array.from({length:c+1},(E,M)=>Of(e,n+M*u)),d=[...m.slice(1),m.at(-1)],y=m.some((E)=>/[\\r\\n\\f\\u2028\\u2029]/u.test(E)),x=s.createElement("span");x.style.cssText=\`display:block;position:relative;height:\${a}px\`,Cr(x,f.index,{delay:r,duration:c*o,fill:"both"});let T=(E,M)=>{let S=s.createElement("span");S.className=\`rn-face rn-flap rn-flap-\${E}\`,S.style.height=\`\${a}px\`,S.style.overflow="hidden";let b=s.createElement("span");b.style.cssText=\`display:block;white-space:pre;line-height:\${a}px\`;let A=M?d:m;if(y)for(let N of A){let R=s.createElement("span");R.style.cssText=\`display:block;height:\${a}px\`,R.textContent=N,b.append(R)}else b.textContent=A.join(\`
|
|
5991
|
+
\`);return S.append(b),b.style.transform=\`translateY(calc(var(--rn-flap-step) * \${-a}px))\`,S},h=T("bottom",!1),p=T("top",!0),g=T("top",!1),v=T("bottom",!0);if(l){let E=(M,S)=>{let b=M.firstElementChild,A=b.cloneNode(!0);b.classList.add("rn-flap-sharp");let N=s.createElement("span");N.className="rn-flap-smear",N.style.cssText="display:block;position:absolute;inset:0;overflow:hidden",N.style.filter=l,N.append(A),M.append(N);let R=S.map((rt)=>({offset:rt.offset,easing:rt.easing??"linear",opacity:rt.filter==="brightness(1)"?0:1})),tt={delay:r,duration:c*o,fill:"both"};Cr(N,R,tt),Cr(b,R.map((rt)=>({...rt,opacity:1-rt.opacity})),tt)};E(g,f.falls),E(v,f.lands)}g.style.transform="perspective(5em) rotateX(-90deg)",Cr(g,f.falls,{delay:r,duration:c*o,fill:"backwards"}),v.style.transform="perspective(5em) rotateX(90deg)",Cr(v,f.lands,{delay:r,duration:c*o,fill:"forwards"}),t.style.height=\`\${a}px\`,x.append(h,p,v,g),t.replaceChildren(x)}var GC=new WeakMap,fg=new WeakSet,lg=(t)=>\`translateX(\${t}px)\`,sg=(t)=>\`scale(\${t})\`,ug=(t)=>String(Math.max(0,Math.min(1,t))),cg=(t)=>("transition"in t)&&t.transition==="direct";function jC(t){if(t.duration!==void 0&&(!Number.isFinite(t.duration)||t.duration<0||t.duration>1e4))throw RangeError("duration must be between 0 and 10000 milliseconds");if(t.flipDuration!==void 0&&(!Number.isFinite(t.flipDuration)||t.flipDuration<1||t.flipDuration>1e4))throw RangeError("flipDuration must be between 1 and 10000 milliseconds")}var qC={validate(t){if(typeof t.value!=="number"&&typeof t.value!=="bigint")throw TypeError("value must be a number or bigint");jC(t)},model:(t)=>CC(t.value,t),direction:OC};class JT{host;source;options;target;displayed;semantic;measurement;visual;measures=new Map;columns=new Map;sizes=new Map;scheduler;enhanced=!1;destroyed=!1;visible=!0;reset=!0;measurementPending=!1;hadClass;previousLeft;blur;blurIntensity=1;constructor(t,e,n){this.host=t,this.source=n,n.validate(e),this.options={...e},this.target=this.displayed=n.model(e);let i=t.ownerDocument,a=(r)=>{let l=i.createElement("span");return l.className=r,l};this.semantic=a("rn-value"),this.measurement=a("rn-measure"),this.visual=a("rn-visual"),this.measurement.setAttribute("aria-hidden","true"),this.visual.setAttribute("aria-hidden","true"),this.semantic.textContent=this.target.text,this.hadClass=t.classList.contains("rn-root"),t.classList.add("rn-root"),t.replaceChildren(this.semantic,this.measurement,this.visual);let o=i.defaultView;if(o&&typeof o.matchMedia==="function"&&typeof o.requestAnimationFrame==="function"&&typeof t.animate==="function")this.scheduler=mg.for(o),this.scheduler.add(this,t),this.scheduler.watch(this.measurement,this);this.prepare()}canAnimate(){return!!this.scheduler&&this.options.animated!==!1&&(this.options.duration??500)>0&&!this.scheduler.media.matches&&!this.host.ownerDocument.hidden&&(this.visible||this.options.pauseOffscreen===!1)&&this.target.rollable&&this.host.isConnected}update(t){if(this.destroyed)return;let e={...this.options,...t};this.source.validate(e);let n=this.source.model(e),i=n.text===this.target.text&&n.signature===this.target.signature;if(this.options.motionBlur&&!e.motionBlur)this.blur?.destroy(),this.blur=void 0,HC(this.visual);if(cg(this.options)!==cg(e))this.reset=!0;if(this.options=e,this.target=n,!this.canAnimate()){this.finish();return}if(i&&this.enhanced&&!this.reset)return;this.semantic.textContent=n.text,this.prepare()}prepare(){if(!this.canAnimate()){this.finish();return}this.measurementPending=!0,this.scheduler?.enqueue(this)}stage(){if(this.destroyed)return;if(!this.canAnimate())return()=>this.finish();return this.previousLeft=this.enhanced&&!this.reset?this.measurement.getBoundingClientRect().left:void 0,()=>this.stageMeasurement()}stageMeasurement(){let t=new Set(this.target.tokens.map((n)=>n.key));for(let[n,i]of this.measures){if(t.has(n))continue;this.scheduler?.unwatch(i),this.sizes.delete(i),i.remove(),this.measures.delete(n)}let e=null;for(let n of this.target.tokens){let i=this.measures.get(n.key);if(!i)i=this.host.ownerDocument.createElement("span"),i.className="rn-token",this.measures.set(n.key,i),this.scheduler?.watch(i,this);if(i.textContent!==n.text)i.textContent=n.text;let a=e?e.nextSibling:this.measurement.firstChild;if(i!==a)this.measurement.insertBefore(i,a);e=i}this.host.dataset.rnMeasuring=""}measure(){if(this.destroyed)return;if(!this.canAnimate())return()=>this.finish();let t=this.measurement.getBoundingClientRect(),e=this.host.ownerDocument.defaultView;if(!e)return()=>this.finish();let n=e.getComputedStyle(this.measurement);if(n.direction==="rtl")return()=>this.finish();let i=parseFloat(n.width),a=parseFloat(n.height);if(!i||!a||!t.width||!t.height)return()=>this.finish();let o=t.width/i,r=t.height/a,l=parseFloat(n.getPropertyValue("--rn-blur"));this.blurIntensity=Number.isFinite(l)?Math.max(0,l):1,this.sizes.set(this.measurement,{width:i,height:a});let s=new Map;for(let[u,f]of this.measures){let m=f.getBoundingClientRect(),d={width:m.width/o,height:m.height/r};this.sizes.set(f,d),s.set(u,{...d,x:(m.left-t.left)/o,y:(m.top-t.top)/r})}let c=this.previousLeft===void 0?0:(this.previousLeft-t.left)/o;return()=>this.commit(s,c)}makeColumn(t){let e=this.host.ownerDocument.createElement("span");if(e.className="rn-slot",e.dataset.rnKey=t.key,t.index!==void 0)e.dataset.rnWheel="";if(this.options.mode==="flap")e.dataset.rnFlap="";let n=this.host.ownerDocument.createElement("span");return n.className="rn-reel",e.append(n),this.visual.append(e),{token:t,element:e,reel:n,x:new ka(e,"transform"),opacity:new ka(e,"opacity"),roll:new ka(n,"transform"),exiting:!1,height:0,width:0}}face(t,e){let n=this.host.ownerDocument.createElement("span");n.className="rn-face",n.textContent=e,n.style.height=\`\${t.height}px\`;let i=t.reel.children.length;n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",n.style.transform=\`translateY(\${i*t.height}px)\`,t.reel.style.height=\`\${(i+1)*t.height}px\`,t.reel.append(n)}rest(t){if(this.blur?.remove(t.reel),t.reel.replaceChildren(),t.reel.style.removeProperty("height"),this.face(t,t.token.text),this.wrapInk(t),t.token.index===void 0)t.roll.set(1,sg);else t.roll.set(t.token.index,()=>"translateY(0px)")}wrapInk(t){if(this.options.mode==="flap")return;let e=this.host.ownerDocument.createElement("span");e.className="rn-ink",e.append(...t.reel.childNodes),t.reel.append(e)}finishEntry(t){if(!t.entry)return;if(t.entry.blurred)this.blur?.remove(t.reel);t.entry.track.cancel(),t.entry.element.replaceWith(t.reel),t.entry=void 0}enter(t,e,n,i){let a=this.host.ownerDocument.createElement("span");a.className="rn-enter",t.reel.replaceWith(a),a.append(t.reel);let o=new ka(a,"transform");t.entry={element:a,track:o,blurred:!1};let r=wf(NC(t.height*(i?.entryDistance??1),i?.entryDuration??e,i?.entryHold),n);if(this.options.motionBlur&&t.token.text.trim()){this.blur??=new Cf(this.host),this.blur.intensity=this.blurIntensity;let l={...r,points:r.points.map((s)=>s/t.height)};t.entry.blurred=this.blur.apply(t.reel,l,t.height,0,"entry")}o.play(r,(l)=>\`translateY(\${l}px)\`,()=>this.finishEntry(t))}commit(t,e){if(this.destroyed)return;this.measurementPending=!1;let n=this.enhanced&&!this.reset,i=n?this.options.duration??500:0,a=GC.get(this.host),o=i?a?.widthDuration??i:0,r=this.options.mode==="flap",l=this.options.direction==="up"?1:this.options.direction==="down"?-1:this.source.direction(this.displayed,this.target);if(this.target.text!==this.displayed.text)this.host.dataset.rnTrend=l>0?"up":l<0?"down":"none";let s=new Map([...this.columns].map(([g,v])=>{let E=v.x.read();return[g,{...E,x:E.position,width:v.width}]})),c=QT(this.target.tokens.map((g)=>g.key),s),u=[...s.keys()].sort((g,v)=>s.get(g).x-s.get(v).x),f=QT(u,t),m=new Map(this.displayed.tokens.filter((g)=>g.index===void 0).map((g)=>[g.identity,g.key])),d=new Map(this.target.tokens.filter((g)=>g.index===void 0).map((g)=>[g.identity,g.key])),y=this.options.stagger==="start"||this.options.stagger==="end",x=this.target.tokens.map((g)=>{let v=this.columns.get(g.key);return!v||v.exiting||y&&g.index!==void 0&&v.token.text!==g.text}),T=zC(this.target.tokens.map((g,v)=>g.index!==void 0&&!x[v]),this.options.stagger),h=Math.max(0,...this.target.tokens.map((g,v)=>x[v]?T[v]-1:0)),p=Math.min(i*0.045,i*0.3/Math.max(1,h));for(let[g,v]of this.target.tokens.entries()){let E=t.get(v.key);if(!E)continue;let M=Math.max(0,T[g]-1)*p,S=m.get(v.identity),b=S!==void 0&&S!==v.key?s.get(S):void 0,A=this.columns.get(v.key),N=!A;if(!A){A=this.makeColumn(v),this.columns.set(v.key,A);let et=(b?.x??c.get(v.key)??E.x)+e;A.x.set(n?et+(E.x-et)*(b?0:a?.entryOrigin??0):E.x,lg),A.opacity.set(n?0:1,ug)}let R=A.token.text!==v.text,tt=Math.abs(A.height-E.height)>0.1,rt=A.exiting;A.exiting=!1,A.element.style.width=\`\${E.width}px\`,A.element.style.height=\`\${E.height}px\`,A.element.style.top=\`\${E.y}px\`;let re=s.get(v.key);if(A.x.play(Ii(re?re.position+e:A.x.read().position,E.x,re?.velocity??0,o),lg),N||rt||!n){let et=A.opacity.read(),pt=Ii(et.position,1,et.velocity,v.index===void 0?Math.min(i,180):i?a?.fadeDuration??i:0),z=!r&&v.identity.startsWith("group:")&&!b?(a?.entryDuration??i)*(a?.entryHold??0.14):0;A.opacity.play(N?wf(pt,M+z):pt,ug)}if(A.height=E.height,A.width=E.width,!n||tt)this.finishEntry(A);if(N&&r&&v.wheel&&i)A.roll.set(Math.max(0,v.wheel.indexOf(" ")),()=>"translateY(0px)");if(r&&!tt&&(R||N)&&v.index!==void 0&&v.wheel&&i&&A.roll.read().position!==v.index){let et=A.roll.read(),pt=Math.round(et.position),z=ZT(pt,v.index,l,v.wheel.length),V=this.options.flipDuration??_C(i);this.blur?.remove(A.reel);let U;if(this.options.motionBlur&&this.blurIntensity>0)this.blur??=new Cf(this.host),this.blur.intensity=this.blurIntensity,U=this.blur.filterUrl(E.height);LC(A.reel,v.wheel,pt,z,E.height,V,M,U),A.token=v;let P=A;A.roll.play(wf(BC(pt,z,V),M),()=>"translateY(0px)",()=>this.rest(P))}else if(!N&&!tt&&R&&v.index!==void 0&&v.wheel&&A.token.index!==void 0&&i){let et=A.roll.read(),pt=cg(this.options)?DC(A.token.wheel,et.position,v.text):void 0,z=pt?.from??et.position,V=pt?.target??ZT(et.position,v.index,l,v.wheel.length),U=pt?.wheel??v.wheel,P=pt?Math.min(Math.max(0,et.velocity),(V-z)*1e4/i):et.velocity,Z=y?wf(Ii(z,V,P,i),M):Ii(z,V,P,i),ut=Math.floor(Math.min(...Z.points)),$t=Math.ceil(Math.max(...Z.points));if(A.entry)A.entry.blurred=!1;let le=this.blur?.remove(A.reel)??0;A.reel.replaceChildren();for(let Bt=ut;Bt<=$t;Bt++)this.face(A,Of(U,Bt));if(this.wrapInk(A),this.options.motionBlur)this.blur??=new Cf(this.host),this.blur.intensity=this.blurIntensity,this.blur.apply(A.reel,Z,E.height,le);A.token=pt?{...v,wheel:U,index:V}:v;let de=A;A.roll.play(Z,(Bt)=>\`translateY(\${(ut-Bt)*E.height}px)\`,()=>this.rest(de))}else if(N||tt||R||!n)A.token=v,this.rest(A);if(N&&i&&v.index!==void 0&&!r)this.enter(A,i,M,a);if(b&&i&&(N||rt)){let et=A.roll.read(),pt=A;A.roll.play(Ii(N?0.96:et.position,1,et.velocity,Math.min(i,180)),sg,()=>this.rest(pt))}}for(let[g,v]of this.columns){if(t.has(g))continue;let E=s.get(g),M=d.get(v.token.identity),S=M?t.get(M):void 0;if(v.x.play(Ii(E.position+e,S?.x??f.get(g)??E.position,E.velocity,o),lg),v.exiting)continue;if(v.exiting=!0,S&&i){let A=v.roll.read();v.roll.play(Ii(A.position,1.04,A.velocity,Math.min(i,180)),sg)}let b=v.opacity.read();v.opacity.play(Ii(b.position,0,b.velocity,v.token.index===void 0?Math.min(i,180):i*0.65),ug,()=>{if(!v.exiting)return;this.removeColumn(v),this.columns.delete(g)})}this.enhanced=!0,this.reset=!1,this.displayed=this.target,this.host.dataset.rnReady=""}removeColumn(t){this.blur?.remove(t.reel),this.finishEntry(t),t.x.cancel(),t.roll.cancel(),t.opacity.cancel(),t.element.remove()}refresh(){if(this.destroyed)return;this.reset=!0,this.prepare()}sizeChanged(t,e,n){if(this.measurementPending||!this.host.hasAttribute("data-rn-measuring"))return!1;let i=this.sizes.get(t);return!i||Math.abs(i.width-e)>0.2||Math.abs(i.height-n)>0.2}visibility(t){if(this.visible===t)return;if(this.visible=t,t||this.options.pauseOffscreen!==!1)this.refresh()}finish(){if(this.destroyed)return;this.measurementPending=!1;for(let t of this.columns.values())this.removeColumn(t);this.columns.clear(),this.blur?.destroy(),this.blur=void 0,this.semantic.textContent=this.target.text,delete this.host.dataset.rnReady,delete this.host.dataset.rnMeasuring,delete this.host.dataset.rnTrend,this.enhanced=!1,this.reset=!0,this.displayed=this.target}destroy(){if(this.destroyed)return;this.finish(),this.destroyed=!0;for(let t of this.measures.values())this.scheduler?.unwatch(t);if(this.scheduler?.unwatch(this.measurement),this.scheduler?.remove(this,this.host),this.host.replaceChildren(this.host.ownerDocument.createTextNode(this.target.text)),!this.hadClass)this.host.classList.remove("rn-root");fg.delete(this.host)}}function dg(t,e){if(fg.has(t))throw Error("A rolling number is already mounted on this element");let n=new JT(t,e,qC);return fg.add(t),n}function PT(t){let e=t.timeline,n=e?Object.keys(e.counters):[],i=!1,a=!1,o=new Map,r=()=>{if(i||!e||!n.length)return;let l=document.querySelector(".si-stage .si-figure"),s=l?.querySelector(".si-counters"),c=l?.querySelector("svg.storyink");if(!l||!s||!c)return;i=!0;let u=t.viewBox;for(let f of n){let m=c.querySelector(\`.si-counter-value[data-counter="\${CSS.escape(f)}"]\`);if(!m)continue;let d=m.getBBox(),y=e.counters[f],x=document.createElement("span");x.className="si-counter-live",x.dataset.node=y.node;let T=t.nodes.find((E)=>E.id===y.node);x.style.left=\`\${(T?.x??0)+d.x-u.x}px\`,x.style.top=\`\${(T?.y??0)+d.y-u.y+1}px\`,x.style.display="none";let h=document.createElement("span");h.textContent=y.prefix??"";let p=document.createElement("span"),g=document.createElement("span");g.textContent=y.suffix??"",x.append(h,p,g),s.append(x);let v=dg(p,{value:y.start,locales:"en-US",format:{minimumFractionDigits:y.decimals,maximumFractionDigits:y.decimals},duration:500,pauseOffscreen:!1});o.set(f,{ctl:v,el:x,target:y.start,node:y.node})}};return{update(l,s){if(!e||!n.length)return;r();let c=document.querySelector(".si-stage .si-figure");if(s!==a){a=s,c?.classList.toggle("si-live-counters",a);for(let[u,f]of o)if(f.el.style.display=a?"":"none",a){let m=tg(e.counters[u],l.t);f.target=m,f.ctl.update({value:+m.toFixed(e.counters[u].decimals),animated:!1}),f.ctl.finish(),f.ctl.update({animated:!0})}}if(!a)return;for(let[u,f]of o){let m=l.el[f.node];f.el.style.opacity=m&&m.o<1?String(m.o):"",f.el.style.transform=m?.dy?\`translateY(\${m.dy}px)\`:"";let d=e.counters[u],y=d.start;for(let x of d.events)if(l.t>=x.t)y=x.to;if(y!==f.target)f.target=y,f.ctl.update({value:y})}}}}var aE=I(pn(),1),nE=JSON.parse(document.getElementById("storyink-data").textContent),$a=nE.scene,iE,YC=new Promise((t)=>iE=t);window.__storyink={ready:!1,whenReady:YC,duration:0,setTime:()=>{},version:nE.version,get lastExport(){return pg}};function IT(t){let n=document.querySelector(".si-stage svg.storyink, svg.storyink").cloneNode(!0);n.querySelectorAll(".si-counter-value").forEach((r)=>r.removeAttribute("fill-opacity"));let i=document.getElementById("storyink-font")?.textContent??"",a=document.getElementById("storyink-diagram-css")?.textContent??"",o=document.createElementNS("http://www.w3.org/2000/svg","style");return o.textContent=\`\${i}
|
|
5992
|
+
svg.storyink{\${zx(t)}}
|
|
5526
5993
|
\${a}\`,n.insertBefore(o,n.firstChild?.nextSibling??null),n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.removeAttribute("data-copy"),\`<?xml version="1.0" encoding="UTF-8"?>
|
|
5527
|
-
\${new XMLSerializer().serializeToString(n)}\`}function
|
|
5994
|
+
\${new XMLSerializer().serializeToString(n)}\`}function WT(t){return t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")||"diagram"}function tE(t,e){let n=URL.createObjectURL(t),i=document.createElement("a");i.href=n,i.download=e,document.body.appendChild(i),i.click(),i.remove(),setTimeout(()=>URL.revokeObjectURL(n),1000)}var pg,XC=PT($a),KC={exportSvg(t){let e=IT(t);pg={kind:"svg",bytes:e.length,text:e},tE(new Blob([e],{type:"image/svg+xml"}),\`\${WT($a.title)}-\${t}.svg\`)},async exportPng(t){let e=IT(t);await document.fonts.ready;let n=URL.createObjectURL(new Blob([e],{type:"image/svg+xml"})),i=new Image;i.decoding="sync",await new Promise((l,s)=>{i.onload=()=>l(),i.onerror=()=>s(Error("svg image failed to load")),i.src=n});let a=2,o=document.createElement("canvas");o.width=Math.ceil($a.viewBox.w*a),o.height=Math.ceil($a.viewBox.h*a);let r=o.getContext("2d");r.fillStyle=Ll[t].bg,r.fillRect(0,0,o.width,o.height),r.drawImage(i,0,0,o.width,o.height),URL.revokeObjectURL(n),o.toBlob((l)=>{if(!l)return;pg={kind:"png",bytes:l.size},tE(l,\`\${WT($a.title)}-\${t}@2x.png\`)},"image/png")},onFrame(t,e){XC.update(t,e)},onReady(t){document.fonts.ready.then(()=>{setTimeout(()=>{let e;try{e=KT(document,$a,t)}catch(a){e={ok:!1,issues:[{kind:"error",ids:[],detail:String(a)}],checked:{}}}let n=document.getElementById("storyink-lint");if(!n)n=document.createElement("script"),n.setAttribute("type","application/json"),n.id="storyink-lint",document.body.appendChild(n);n.textContent=JSON.stringify(e),window.__storyink.lint=e;let i=document.querySelector(".si-app");if(i)document.documentElement.dataset.contentHeight=String(Math.ceil(i.getBoundingClientRect().height));window.__storyink.ready=!0,document.documentElement.dataset.ready="1",iE()},0)})}};document.documentElement.classList.remove("si-noscript");eE.hydrateRoot(document.getElementById("storyink-root"),aE.jsx(YT,{scene:$a,hooks:KC}));})();
|
|
5528
5995
|
`;
|
|
5529
5996
|
|
|
5530
5997
|
// src/core/render/css.ts
|
|
@@ -5623,6 +6090,10 @@ body{background:${v("bg")};color:${v("ink")};font-family:${fonts.mono};-webkit-f
|
|
|
5623
6090
|
.si-gate-disc{position:absolute;left:50%;top:50%;width:240px;height:240px;margin:-120px 0 0 -120px;border-radius:50%;background:color-mix(in srgb, ${v("bg")} 35%, transparent);backdrop-filter:blur(7px);-webkit-mask:radial-gradient(closest-side,#000 35%,transparent);mask:radial-gradient(closest-side,#000 35%,transparent);pointer-events:none;}
|
|
5624
6091
|
.si-gate-ring{position:absolute;inset:0;border:2.4px solid color-mix(in srgb, ${v("pulse")} 7%, transparent);border-radius:14px;filter:blur(2.5px);animation:si-ring 7.5s linear infinite;pointer-events:none;opacity:0;}
|
|
5625
6092
|
.si-gate-ring-2{animation-delay:-3.75s;}
|
|
6093
|
+
.si-gate-still .si-gate-play,.si-gate-still:hover .si-gate-play,.si-gated:hover .si-gate-still .si-gate-play{transition:none;transform:none;}
|
|
6094
|
+
.si-nochrome .si-gate-still{display:none;}
|
|
6095
|
+
.si-reduced .si-figure,.si-reduced .si-figure.si-settling{transition:none;}
|
|
6096
|
+
.si-btn[aria-pressed="true"]{color:${v("ink")};border-color:${v("chromeLine")};}
|
|
5626
6097
|
@keyframes si-ring{0%{transform:scale(1.05);opacity:0}2%{opacity:.9}100%{transform:scale(5.5);opacity:0}}
|
|
5627
6098
|
.si-transport{position:absolute;left:16px;bottom:16px;display:flex;align-items:center;gap:2px;padding:5px 10px 5px 5px;border:1px solid ${v("chromeLine")};background:${v("chrome")};border-radius:4px;color:${v("control")};font-size:11px;}
|
|
5628
6099
|
.si-tbtn{appearance:none;border:0;background:none;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;color:inherit;cursor:pointer;border-radius:3px;transition:color .15s ease-out;}
|
|
@@ -5829,9 +6300,9 @@ ${viewer}
|
|
|
5829
6300
|
}
|
|
5830
6301
|
|
|
5831
6302
|
// src/core/render/smil.tsx
|
|
5832
|
-
import { Fragment as
|
|
6303
|
+
import { Fragment as Fragment4 } from "react";
|
|
5833
6304
|
import { renderToStaticMarkup as renderToStaticMarkup2 } from "react-dom/server";
|
|
5834
|
-
import { jsx as jsx5, jsxs as jsxs4, Fragment as
|
|
6305
|
+
import { jsx as jsx5, jsxs as jsxs4, Fragment as Fragment5 } from "react/jsx-runtime";
|
|
5835
6306
|
function simplify(ts, vs, tol) {
|
|
5836
6307
|
const n = ts.length;
|
|
5837
6308
|
if (n <= 2)
|
|
@@ -6357,7 +6828,7 @@ function animatedSvg(spec, opts = {}) {
|
|
|
6357
6828
|
}, "pl"), ...caps]);
|
|
6358
6829
|
smil = (key2) => {
|
|
6359
6830
|
const v2 = map.get(key2);
|
|
6360
|
-
return v2 && v2.length ? v2.map((e, i) => /* @__PURE__ */ jsx5(
|
|
6831
|
+
return v2 && v2.length ? v2.map((e, i) => /* @__PURE__ */ jsx5(Fragment4, {
|
|
6361
6832
|
children: e
|
|
6362
6833
|
}, i)) : undefined;
|
|
6363
6834
|
};
|
|
@@ -6389,7 +6860,7 @@ function animatedSvg(spec, opts = {}) {
|
|
|
6389
6860
|
const extraCss = `.storyink .si-title{font-family:${fonts.serif};font-size:${type.title - 8}px;font-weight:500;fill:${pal.title};}.storyink .si-sub{font-family:${fonts.serif};font-style:italic;font-size:${type.subtitle - 1}px;fill:${pal.inkMuted};}.storyink .si-cap{font-size:13px;fill:${pal.ink};}`;
|
|
6390
6861
|
const final = tl ? storyState(scene, tl, tl.duration) : undefined;
|
|
6391
6862
|
const base = final ? { ...final, flash: {}, glows: [], pulses: [] } : undefined;
|
|
6392
|
-
const smilWithHead = (key2) => key2 === "overlay" ? /* @__PURE__ */ jsxs4(
|
|
6863
|
+
const smilWithHead = (key2) => key2 === "overlay" ? /* @__PURE__ */ jsxs4(Fragment5, {
|
|
6393
6864
|
children: [
|
|
6394
6865
|
head,
|
|
6395
6866
|
smil?.(key2)
|
|
@@ -6413,4 +6884,4 @@ function animatedHeaderHeight(scene) {
|
|
|
6413
6884
|
return HEADER.pad + HEADER.title + (scene.subtitle ? HEADER.subtitle : 0) + (scene.timeline?.captions.length ? HEADER.captions : 0) + HEADER.gap;
|
|
6414
6885
|
}
|
|
6415
6886
|
|
|
6416
|
-
export { DIAGRAM_TYPES, DIRECTIONS, GRAPH_NODE_KINDS, PARTICIPANT_KINDS, MESSAGE_KINDS, FRAME_KINDS, EDGE_STYLES, ARROWS, isSequence, exports_tokens, textWidth, wrap, elbowPath, elbowPathV, roundedPolyline, wirePath, autoStory, readTime, resolveEdge, compileStory, validate, formatDiagnostic, detectMermaid, fromMermaid, layout, VERSION, restFrame, counterValue, storyState, beatTimes, parseHash, StoryinkError, toScene, fontCss, renderSvg, renderHtml, simplify, simplifyError, pinnedCss, renderAnimatedSvg, animatedSvg, animatedHeaderHeight };
|
|
6887
|
+
export { DIAGRAM_TYPES, DIRECTIONS, GRAPH_NODE_KINDS, PARTICIPANT_KINDS, MESSAGE_KINDS, FRAME_KINDS, EDGE_STYLES, ARROWS, STORY_MOTIONS, isSequence, exports_tokens, textWidth, wrap, elbowPath, elbowPathV, roundedPolyline, wirePath, autoStory, readTime, resolveEdge, compileStory, validate, formatDiagnostic, detectMermaid, fromMermaid, layout, VERSION, restFrame, counterValue, storyState, beatTimes, STEP_BEAT, steppedSchedule, steppedIndex, steppedStop, steppedTime, CAMERA, fitCamera, readableScale, fitIsReadable, stepAt, stepFocus, toScreen, deadZoneRect, inView, clampCamera, centreOn, followStep, cameraAtEnd, cameraAt, parseHash, StoryinkError, toScene, fontCss, renderSvg, renderHtml, simplify, simplifyError, pinnedCss, renderAnimatedSvg, animatedSvg, animatedHeaderHeight };
|