@zydon/common 1.1.74 → 1.1.76

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.
@@ -497,1097 +497,465 @@ const ky = {
497
497
  }
498
498
  }
499
499
  };
500
- };
501
- var Ei = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
502
- function Sn(e) {
503
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
500
+ }, J1 = ja({
501
+ transformPagePoint: (e) => e,
502
+ isStatic: !1,
503
+ reducedMotion: "never"
504
+ }), Gs = ja({}), Bc = ja(null), eg = typeof document < "u", qs = eg ? Us : Ze, zc = ja({ strict: !1 });
505
+ function Ty(e, t, r, n) {
506
+ const { visualElement: a } = qt(Gs), i = qt(zc), o = qt(Bc), s = qt(J1).reducedMotion, u = Oe();
507
+ n = n || i.renderer, !u.current && n && (u.current = n(e, {
508
+ visualState: t,
509
+ parent: a,
510
+ props: r,
511
+ presenceContext: o,
512
+ blockInitialAnimation: o ? o.initial === !1 : !1,
513
+ reducedMotionConfig: s
514
+ }));
515
+ const l = u.current;
516
+ j1(() => {
517
+ l && l.update(r, o);
518
+ });
519
+ const c = Oe(!!window.HandoffAppearAnimations);
520
+ return qs(() => {
521
+ l && (l.render(), c.current && l.animationState && l.animationState.animateChanges());
522
+ }), Ze(() => {
523
+ l && (l.updateFeatures(), !c.current && l.animationState && l.animationState.animateChanges(), window.HandoffAppearAnimations = void 0, c.current = !1);
524
+ }), l;
504
525
  }
505
- var Pu = { exports: {} }, si = {};
506
- /**
507
- * @license React
508
- * react-jsx-runtime.production.min.js
509
- *
510
- * Copyright (c) Facebook, Inc. and its affiliates.
511
- *
512
- * This source code is licensed under the MIT license found in the
513
- * LICENSE file in the root directory of this source tree.
514
- */
515
- var jd;
516
- function Ty() {
517
- if (jd)
518
- return si;
519
- jd = 1;
520
- var e = y, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
521
- function o(s, u, l) {
522
- var c, f = {}, d = null, h = null;
523
- l !== void 0 && (d = "" + l), u.key !== void 0 && (d = "" + u.key), u.ref !== void 0 && (h = u.ref);
524
- for (c in u)
525
- n.call(u, c) && !i.hasOwnProperty(c) && (f[c] = u[c]);
526
- if (s && s.defaultProps)
527
- for (c in u = s.defaultProps, u)
528
- f[c] === void 0 && (f[c] = u[c]);
529
- return { $$typeof: t, type: s, key: d, ref: h, props: f, _owner: a.current };
526
+ function Oy(e) {
527
+ return typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
528
+ }
529
+ function My(e, t, r) {
530
+ return xt(
531
+ (n) => {
532
+ n && e.mount && e.mount(n), t && (n ? t.mount(n) : t.unmount()), r && (typeof r == "function" ? r(n) : Oy(r) && (r.current = n));
533
+ },
534
+ /**
535
+ * Only pass a new ref callback to React if we've received a visual element
536
+ * factory. Otherwise we'll be mounting/remounting every time externalRef
537
+ * or other dependencies change.
538
+ */
539
+ [t]
540
+ );
541
+ }
542
+ function Pu(e) {
543
+ return typeof e == "string" || Array.isArray(e);
544
+ }
545
+ function tg(e) {
546
+ return typeof e == "object" && typeof e.start == "function";
547
+ }
548
+ const $y = [
549
+ "animate",
550
+ "whileInView",
551
+ "whileFocus",
552
+ "whileHover",
553
+ "whileTap",
554
+ "whileDrag",
555
+ "exit"
556
+ ], Ay = ["initial", ...$y];
557
+ function Wc(e) {
558
+ return tg(e.animate) || Ay.some((t) => Pu(e[t]));
559
+ }
560
+ function Py(e) {
561
+ return !!(Wc(e) || e.variants);
562
+ }
563
+ function Ry(e, t) {
564
+ if (Wc(e)) {
565
+ const { initial: r, animate: n } = e;
566
+ return {
567
+ initial: r === !1 || Pu(r) ? r : void 0,
568
+ animate: Pu(n) ? n : void 0
569
+ };
530
570
  }
531
- return si.Fragment = r, si.jsx = o, si.jsxs = o, si;
571
+ return e.inherit !== !1 ? t : {};
532
572
  }
533
- var li = {};
534
- /**
535
- * @license React
536
- * react-jsx-runtime.development.js
537
- *
538
- * Copyright (c) Facebook, Inc. and its affiliates.
539
- *
540
- * This source code is licensed under the MIT license found in the
541
- * LICENSE file in the root directory of this source tree.
542
- */
543
- var Ld;
544
- function Oy() {
545
- return Ld || (Ld = 1, process.env.NODE_ENV !== "production" && function() {
546
- var e = y, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), v = Symbol.iterator, p = "@@iterator";
547
- function m(C) {
548
- if (C === null || typeof C != "object")
549
- return null;
550
- var P = v && C[v] || C[p];
551
- return typeof P == "function" ? P : null;
552
- }
553
- var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
554
- function x(C) {
555
- {
556
- for (var P = arguments.length, z = new Array(P > 1 ? P - 1 : 0), he = 1; he < P; he++)
557
- z[he - 1] = arguments[he];
558
- E("error", C, z);
559
- }
560
- }
561
- function E(C, P, z) {
562
- {
563
- var he = b.ReactDebugCurrentFrame, Re = he.getStackAddendum();
564
- Re !== "" && (P += "%s", z = z.concat([Re]));
565
- var qe = z.map(function(Te) {
566
- return String(Te);
567
- });
568
- qe.unshift("Warning: " + P), Function.prototype.apply.call(console[C], console, qe);
569
- }
570
- }
571
- var T = !1, w = !1, _ = !1, k = !1, O = !1, $;
572
- $ = Symbol.for("react.module.reference");
573
- function R(C) {
574
- return !!(typeof C == "string" || typeof C == "function" || C === n || C === i || O || C === a || C === l || C === c || k || C === h || T || w || _ || typeof C == "object" && C !== null && (C.$$typeof === d || C.$$typeof === f || C.$$typeof === o || C.$$typeof === s || C.$$typeof === u || // This needs to include all possible module reference object
575
- // types supported by any Flight configuration anywhere since
576
- // we don't know which Flight build this will end up being used
577
- // with.
578
- C.$$typeof === $ || C.getModuleId !== void 0));
579
- }
580
- function ee(C, P, z) {
581
- var he = C.displayName;
582
- if (he)
583
- return he;
584
- var Re = P.displayName || P.name || "";
585
- return Re !== "" ? z + "(" + Re + ")" : z;
586
- }
587
- function Me(C) {
588
- return C.displayName || "Context";
589
- }
590
- function le(C) {
591
- if (C == null)
592
- return null;
593
- if (typeof C.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof C == "function")
594
- return C.displayName || C.name || null;
595
- if (typeof C == "string")
596
- return C;
597
- switch (C) {
598
- case n:
599
- return "Fragment";
600
- case r:
601
- return "Portal";
602
- case i:
603
- return "Profiler";
604
- case a:
605
- return "StrictMode";
606
- case l:
607
- return "Suspense";
608
- case c:
609
- return "SuspenseList";
610
- }
611
- if (typeof C == "object")
612
- switch (C.$$typeof) {
613
- case s:
614
- var P = C;
615
- return Me(P) + ".Consumer";
616
- case o:
617
- var z = C;
618
- return Me(z._context) + ".Provider";
619
- case u:
620
- return ee(C, C.render, "ForwardRef");
621
- case f:
622
- var he = C.displayName || null;
623
- return he !== null ? he : le(C.type) || "Memo";
624
- case d: {
625
- var Re = C, qe = Re._payload, Te = Re._init;
626
- try {
627
- return le(Te(qe));
628
- } catch {
629
- return null;
630
- }
631
- }
632
- }
633
- return null;
634
- }
635
- var ce = Object.assign, ne = 0, B, Y, ye, fe, M, A, V;
636
- function re() {
637
- }
638
- re.__reactDisabledLog = !0;
639
- function G() {
640
- {
641
- if (ne === 0) {
642
- B = console.log, Y = console.info, ye = console.warn, fe = console.error, M = console.group, A = console.groupCollapsed, V = console.groupEnd;
643
- var C = {
644
- configurable: !0,
645
- enumerable: !0,
646
- value: re,
647
- writable: !0
648
- };
649
- Object.defineProperties(console, {
650
- info: C,
651
- log: C,
652
- warn: C,
653
- error: C,
654
- group: C,
655
- groupCollapsed: C,
656
- groupEnd: C
657
- });
658
- }
659
- ne++;
660
- }
661
- }
662
- function ue() {
663
- {
664
- if (ne--, ne === 0) {
665
- var C = {
666
- configurable: !0,
667
- enumerable: !0,
668
- writable: !0
669
- };
670
- Object.defineProperties(console, {
671
- log: ce({}, C, {
672
- value: B
673
- }),
674
- info: ce({}, C, {
675
- value: Y
676
- }),
677
- warn: ce({}, C, {
678
- value: ye
679
- }),
680
- error: ce({}, C, {
681
- value: fe
682
- }),
683
- group: ce({}, C, {
684
- value: M
685
- }),
686
- groupCollapsed: ce({}, C, {
687
- value: A
688
- }),
689
- groupEnd: ce({}, C, {
690
- value: V
691
- })
692
- });
693
- }
694
- ne < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
695
- }
573
+ function Dy(e) {
574
+ const { initial: t, animate: r } = Ry(e, qt(Gs));
575
+ return _t(() => ({ initial: t, animate: r }), [jd(t), jd(r)]);
576
+ }
577
+ function jd(e) {
578
+ return Array.isArray(e) ? e.join(" ") : e;
579
+ }
580
+ const Ld = {
581
+ animation: [
582
+ "animate",
583
+ "variants",
584
+ "whileHover",
585
+ "whileTap",
586
+ "exit",
587
+ "whileInView",
588
+ "whileFocus",
589
+ "whileDrag"
590
+ ],
591
+ exit: ["exit"],
592
+ drag: ["drag", "dragControls"],
593
+ focus: ["whileFocus"],
594
+ hover: ["whileHover", "onHoverStart", "onHoverEnd"],
595
+ tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"],
596
+ pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
597
+ inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
598
+ layout: ["layout", "layoutId"]
599
+ }, Ru = {};
600
+ for (const e in Ld)
601
+ Ru[e] = {
602
+ isEnabled: (t) => Ld[e].some((r) => !!t[r])
603
+ };
604
+ function Du(e) {
605
+ for (const t in e)
606
+ Ru[t] = {
607
+ ...Ru[t],
608
+ ...e[t]
609
+ };
610
+ }
611
+ const rg = ja({}), Fy = ja({}), Iy = Symbol.for("motionComponentSymbol");
612
+ function jy({ preloadedFeatures: e, createVisualElement: t, useRender: r, useVisualState: n, Component: a }) {
613
+ e && Du(e);
614
+ function i(s, u) {
615
+ let l;
616
+ const c = {
617
+ ...qt(J1),
618
+ ...s,
619
+ layoutId: Ly(s)
620
+ }, { isStatic: f } = c, d = Dy(s), h = n(s, f);
621
+ if (!f && eg) {
622
+ d.visualElement = Ty(a, h, c, t);
623
+ const v = qt(Fy), p = qt(zc).strict;
624
+ d.visualElement && (l = d.visualElement.loadFeatures(
625
+ // Note: Pass the full new combined props to correctly re-render dynamic feature components.
626
+ c,
627
+ p,
628
+ e,
629
+ v
630
+ ));
696
631
  }
697
- var te = b.ReactCurrentDispatcher, ie;
698
- function K(C, P, z) {
699
- {
700
- if (ie === void 0)
701
- try {
702
- throw Error();
703
- } catch (Re) {
704
- var he = Re.stack.trim().match(/\n( *(at )?)/);
705
- ie = he && he[1] || "";
706
- }
707
- return `
708
- ` + ie + C;
709
- }
632
+ return de.createElement(
633
+ Gs.Provider,
634
+ { value: d },
635
+ l && d.visualElement ? de.createElement(l, { visualElement: d.visualElement, ...c }) : null,
636
+ r(a, s, My(h, d.visualElement, u), h, f, d.visualElement)
637
+ );
638
+ }
639
+ const o = Ot(i);
640
+ return o[Iy] = a, o;
641
+ }
642
+ function Ly({ layoutId: e }) {
643
+ const t = qt(rg).id;
644
+ return t && e !== void 0 ? t + "-" + e : e;
645
+ }
646
+ function Ny(e) {
647
+ function t(n, a = {}) {
648
+ return jy(e(n, a));
649
+ }
650
+ if (typeof Proxy > "u")
651
+ return t;
652
+ const r = /* @__PURE__ */ new Map();
653
+ return new Proxy(t, {
654
+ /**
655
+ * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
656
+ * The prop name is passed through as `key` and we can use that to generate a `motion`
657
+ * DOM component with that name.
658
+ */
659
+ get: (n, a) => (r.has(a) || r.set(a, t(a)), r.get(a))
660
+ });
661
+ }
662
+ const By = [
663
+ "animate",
664
+ "circle",
665
+ "defs",
666
+ "desc",
667
+ "ellipse",
668
+ "g",
669
+ "image",
670
+ "line",
671
+ "filter",
672
+ "marker",
673
+ "mask",
674
+ "metadata",
675
+ "path",
676
+ "pattern",
677
+ "polygon",
678
+ "polyline",
679
+ "rect",
680
+ "stop",
681
+ "switch",
682
+ "symbol",
683
+ "svg",
684
+ "text",
685
+ "tspan",
686
+ "use",
687
+ "view"
688
+ ];
689
+ function ng(e) {
690
+ return (
691
+ /**
692
+ * If it's not a string, it's a custom React component. Currently we only support
693
+ * HTML custom React components.
694
+ */
695
+ typeof e != "string" || /**
696
+ * If it contains a dash, the element is a custom HTML webcomponent.
697
+ */
698
+ e.includes("-") ? !1 : (
699
+ /**
700
+ * If it's in our list of lowercase SVG tags, it's an SVG component
701
+ */
702
+ !!(By.indexOf(e) > -1 || /**
703
+ * If it contains a capital letter, it's an SVG component
704
+ */
705
+ /[A-Z]/.test(e))
706
+ )
707
+ );
708
+ }
709
+ const ag = {};
710
+ function RK(e) {
711
+ Object.assign(ag, e);
712
+ }
713
+ const Ks = [
714
+ "transformPerspective",
715
+ "x",
716
+ "y",
717
+ "z",
718
+ "translateX",
719
+ "translateY",
720
+ "translateZ",
721
+ "scale",
722
+ "scaleX",
723
+ "scaleY",
724
+ "rotate",
725
+ "rotateX",
726
+ "rotateY",
727
+ "rotateZ",
728
+ "skew",
729
+ "skewX",
730
+ "skewY"
731
+ ], ig = new Set(Ks);
732
+ function og(e, { layout: t, layoutId: r }) {
733
+ return ig.has(e) || e.startsWith("origin") || (t || r !== void 0) && (!!ag[e] || e === "opacity");
734
+ }
735
+ const mn = (e) => !!(e && e.getVelocity), zy = {
736
+ x: "translateX",
737
+ y: "translateY",
738
+ z: "translateZ",
739
+ transformPerspective: "perspective"
740
+ }, Wy = Ks.length;
741
+ function Vy(e, { enableHardwareAcceleration: t = !0, allowTransformNone: r = !0 }, n, a) {
742
+ let i = "";
743
+ for (let o = 0; o < Wy; o++) {
744
+ const s = Ks[o];
745
+ if (e[s] !== void 0) {
746
+ const u = zy[s] || s;
747
+ i += `${u}(${e[s]}) `;
710
748
  }
711
- var U = !1, J;
712
- {
713
- var je = typeof WeakMap == "function" ? WeakMap : Map;
714
- J = new je();
749
+ }
750
+ return t && !e.z && (i += "translateZ(0)"), i = i.trim(), a ? i = a(e, n ? "" : i) : r && n && (i = "none"), i;
751
+ }
752
+ const sg = (e) => (t) => typeof t == "string" && t.startsWith(e), Hy = sg("--"), DK = sg("var(--"), Uy = /var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g, Yy = (e, t) => t && typeof e == "number" ? t.transform(e) : e, Vc = (e, t, r) => Math.min(Math.max(r, e), t), Zi = {
753
+ test: (e) => typeof e == "number",
754
+ parse: parseFloat,
755
+ transform: (e) => e
756
+ }, Ti = {
757
+ ...Zi,
758
+ transform: (e) => Vc(0, 1, e)
759
+ }, Co = {
760
+ ...Zi,
761
+ default: 1
762
+ }, Oi = (e) => Math.round(e * 1e5) / 1e5, Hc = /(-)?([\d]*\.?[\d])+/g, lg = /(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, Gy = /^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
763
+ function Qi(e) {
764
+ return typeof e == "string";
765
+ }
766
+ const Ji = (e) => ({
767
+ test: (t) => Qi(t) && t.endsWith(e) && t.split(" ").length === 1,
768
+ parse: parseFloat,
769
+ transform: (t) => `${t}${e}`
770
+ }), rn = Ji("deg"), Mi = Ji("%"), ge = Ji("px"), FK = Ji("vh"), IK = Ji("vw"), Nd = {
771
+ ...Mi,
772
+ parse: (e) => Mi.parse(e) / 100,
773
+ transform: (e) => Mi.transform(e * 100)
774
+ }, Bd = {
775
+ ...Zi,
776
+ transform: Math.round
777
+ }, qy = {
778
+ // Border props
779
+ borderWidth: ge,
780
+ borderTopWidth: ge,
781
+ borderRightWidth: ge,
782
+ borderBottomWidth: ge,
783
+ borderLeftWidth: ge,
784
+ borderRadius: ge,
785
+ radius: ge,
786
+ borderTopLeftRadius: ge,
787
+ borderTopRightRadius: ge,
788
+ borderBottomRightRadius: ge,
789
+ borderBottomLeftRadius: ge,
790
+ // Positioning props
791
+ width: ge,
792
+ maxWidth: ge,
793
+ height: ge,
794
+ maxHeight: ge,
795
+ size: ge,
796
+ top: ge,
797
+ right: ge,
798
+ bottom: ge,
799
+ left: ge,
800
+ // Spacing props
801
+ padding: ge,
802
+ paddingTop: ge,
803
+ paddingRight: ge,
804
+ paddingBottom: ge,
805
+ paddingLeft: ge,
806
+ margin: ge,
807
+ marginTop: ge,
808
+ marginRight: ge,
809
+ marginBottom: ge,
810
+ marginLeft: ge,
811
+ // Transform props
812
+ rotate: rn,
813
+ rotateX: rn,
814
+ rotateY: rn,
815
+ rotateZ: rn,
816
+ scale: Co,
817
+ scaleX: Co,
818
+ scaleY: Co,
819
+ scaleZ: Co,
820
+ skew: rn,
821
+ skewX: rn,
822
+ skewY: rn,
823
+ distance: ge,
824
+ translateX: ge,
825
+ translateY: ge,
826
+ translateZ: ge,
827
+ x: ge,
828
+ y: ge,
829
+ z: ge,
830
+ perspective: ge,
831
+ transformPerspective: ge,
832
+ opacity: Ti,
833
+ originX: Nd,
834
+ originY: Nd,
835
+ originZ: ge,
836
+ // Misc
837
+ zIndex: Bd,
838
+ // SVG
839
+ fillOpacity: Ti,
840
+ strokeOpacity: Ti,
841
+ numOctaves: Bd
842
+ };
843
+ function ug(e, t, r, n) {
844
+ const { style: a, vars: i, transform: o, transformOrigin: s } = e;
845
+ let u = !1, l = !1, c = !0;
846
+ for (const f in t) {
847
+ const d = t[f];
848
+ if (Hy(f)) {
849
+ i[f] = d;
850
+ continue;
715
851
  }
716
- function D(C, P) {
717
- if (!C || U)
718
- return "";
719
- {
720
- var z = J.get(C);
721
- if (z !== void 0)
722
- return z;
723
- }
724
- var he;
725
- U = !0;
726
- var Re = Error.prepareStackTrace;
727
- Error.prepareStackTrace = void 0;
728
- var qe;
729
- qe = te.current, te.current = null, G();
730
- try {
731
- if (P) {
732
- var Te = function() {
733
- throw Error();
734
- };
735
- if (Object.defineProperty(Te.prototype, "props", {
736
- set: function() {
737
- throw Error();
738
- }
739
- }), typeof Reflect == "object" && Reflect.construct) {
740
- try {
741
- Reflect.construct(Te, []);
742
- } catch (Sr) {
743
- he = Sr;
744
- }
745
- Reflect.construct(C, [], Te);
746
- } else {
747
- try {
748
- Te.call();
749
- } catch (Sr) {
750
- he = Sr;
751
- }
752
- C.call(Te.prototype);
753
- }
754
- } else {
755
- try {
756
- throw Error();
757
- } catch (Sr) {
758
- he = Sr;
759
- }
760
- C();
761
- }
762
- } catch (Sr) {
763
- if (Sr && he && typeof Sr.stack == "string") {
764
- for (var we = Sr.stack.split(`
765
- `), Dt = he.stack.split(`
766
- `), gt = we.length - 1, yt = Dt.length - 1; gt >= 1 && yt >= 0 && we[gt] !== Dt[yt]; )
767
- yt--;
768
- for (; gt >= 1 && yt >= 0; gt--, yt--)
769
- if (we[gt] !== Dt[yt]) {
770
- if (gt !== 1 || yt !== 1)
771
- do
772
- if (gt--, yt--, yt < 0 || we[gt] !== Dt[yt]) {
773
- var tr = `
774
- ` + we[gt].replace(" at new ", " at ");
775
- return C.displayName && tr.includes("<anonymous>") && (tr = tr.replace("<anonymous>", C.displayName)), typeof C == "function" && J.set(C, tr), tr;
776
- }
777
- while (gt >= 1 && yt >= 0);
778
- break;
779
- }
780
- }
781
- } finally {
782
- U = !1, te.current = qe, ue(), Error.prepareStackTrace = Re;
783
- }
784
- var In = C ? C.displayName || C.name : "", Fd = In ? K(In) : "";
785
- return typeof C == "function" && J.set(C, Fd), Fd;
786
- }
787
- function nt(C, P, z) {
788
- return D(C, !1);
789
- }
790
- function q(C) {
791
- var P = C.prototype;
792
- return !!(P && P.isReactComponent);
793
- }
794
- function L(C, P, z) {
795
- if (C == null)
796
- return "";
797
- if (typeof C == "function")
798
- return D(C, q(C));
799
- if (typeof C == "string")
800
- return K(C);
801
- switch (C) {
802
- case l:
803
- return K("Suspense");
804
- case c:
805
- return K("SuspenseList");
806
- }
807
- if (typeof C == "object")
808
- switch (C.$$typeof) {
809
- case u:
810
- return nt(C.render);
811
- case f:
812
- return L(C.type, P, z);
813
- case d: {
814
- var he = C, Re = he._payload, qe = he._init;
815
- try {
816
- return L(qe(Re), P, z);
817
- } catch {
818
- }
819
- }
820
- }
821
- return "";
822
- }
823
- var X = Object.prototype.hasOwnProperty, oe = {}, Ge = b.ReactDebugCurrentFrame;
824
- function Le(C) {
825
- if (C) {
826
- var P = C._owner, z = L(C.type, C._source, P ? P.type : null);
827
- Ge.setExtraStackFrame(z);
828
- } else
829
- Ge.setExtraStackFrame(null);
830
- }
831
- function Ne(C, P, z, he, Re) {
832
- {
833
- var qe = Function.call.bind(X);
834
- for (var Te in C)
835
- if (qe(C, Te)) {
836
- var we = void 0;
837
- try {
838
- if (typeof C[Te] != "function") {
839
- var Dt = Error((he || "React class") + ": " + z + " type `" + Te + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof C[Te] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
840
- throw Dt.name = "Invariant Violation", Dt;
841
- }
842
- we = C[Te](P, Te, he, z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
843
- } catch (gt) {
844
- we = gt;
845
- }
846
- we && !(we instanceof Error) && (Le(Re), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", he || "React class", z, Te, typeof we), Le(null)), we instanceof Error && !(we.message in oe) && (oe[we.message] = !0, Le(Re), x("Failed %s type: %s", z, we.message), Le(null));
847
- }
848
- }
849
- }
850
- var ut = Array.isArray;
851
- function ct(C) {
852
- return ut(C);
853
- }
854
- function Cr(C) {
855
- {
856
- var P = typeof Symbol == "function" && Symbol.toStringTag, z = P && C[Symbol.toStringTag] || C.constructor.name || "Object";
857
- return z;
858
- }
859
- }
860
- function N(C) {
861
- try {
862
- return se(C), !1;
863
- } catch {
864
- return !0;
865
- }
866
- }
867
- function se(C) {
868
- return "" + C;
869
- }
870
- function at(C) {
871
- if (N(C))
872
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Cr(C)), se(C);
873
- }
874
- var it = b.ReactCurrentOwner, Rt = {
875
- key: !0,
876
- ref: !0,
877
- __self: !0,
878
- __source: !0
879
- }, Lr, Er, tn;
880
- tn = {};
881
- function ei(C) {
882
- if (X.call(C, "ref")) {
883
- var P = Object.getOwnPropertyDescriptor(C, "ref").get;
884
- if (P && P.isReactWarning)
885
- return !1;
886
- }
887
- return C.ref !== void 0;
888
- }
889
- function ti(C) {
890
- if (X.call(C, "key")) {
891
- var P = Object.getOwnPropertyDescriptor(C, "key").get;
892
- if (P && P.isReactWarning)
893
- return !1;
894
- }
895
- return C.key !== void 0;
896
- }
897
- function Dn(C, P) {
898
- if (typeof C.ref == "string" && it.current && P && it.current.stateNode !== P) {
899
- var z = le(it.current.type);
900
- tn[z] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', le(it.current.type), C.ref), tn[z] = !0);
901
- }
902
- }
903
- function ri(C, P) {
904
- {
905
- var z = function() {
906
- Lr || (Lr = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
907
- };
908
- z.isReactWarning = !0, Object.defineProperty(C, "key", {
909
- get: z,
910
- configurable: !0
911
- });
912
- }
913
- }
914
- function ni(C, P) {
915
- {
916
- var z = function() {
917
- Er || (Er = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
918
- };
919
- z.isReactWarning = !0, Object.defineProperty(C, "ref", {
920
- get: z,
921
- configurable: !0
922
- });
923
- }
924
- }
925
- var ai = function(C, P, z, he, Re, qe, Te) {
926
- var we = {
927
- // This tag allows us to uniquely identify this as a React Element
928
- $$typeof: t,
929
- // Built-in properties that belong on the element
930
- type: C,
931
- key: P,
932
- ref: z,
933
- props: Te,
934
- // Record the component responsible for creating this element.
935
- _owner: qe
936
- };
937
- return we._store = {}, Object.defineProperty(we._store, "validated", {
938
- configurable: !1,
939
- enumerable: !1,
940
- writable: !0,
941
- value: !1
942
- }), Object.defineProperty(we, "_self", {
943
- configurable: !1,
944
- enumerable: !1,
945
- writable: !1,
946
- value: he
947
- }), Object.defineProperty(we, "_source", {
948
- configurable: !1,
949
- enumerable: !1,
950
- writable: !1,
951
- value: Re
952
- }), Object.freeze && (Object.freeze(we.props), Object.freeze(we)), we;
953
- };
954
- function ii(C, P, z, he, Re) {
955
- {
956
- var qe, Te = {}, we = null, Dt = null;
957
- z !== void 0 && (at(z), we = "" + z), ti(P) && (at(P.key), we = "" + P.key), ei(P) && (Dt = P.ref, Dn(P, Re));
958
- for (qe in P)
959
- X.call(P, qe) && !Rt.hasOwnProperty(qe) && (Te[qe] = P[qe]);
960
- if (C && C.defaultProps) {
961
- var gt = C.defaultProps;
962
- for (qe in gt)
963
- Te[qe] === void 0 && (Te[qe] = gt[qe]);
964
- }
965
- if (we || Dt) {
966
- var yt = typeof C == "function" ? C.displayName || C.name || "Unknown" : C;
967
- we && ri(Te, yt), Dt && ni(Te, yt);
968
- }
969
- return ai(C, we, Dt, Re, he, it.current, Te);
970
- }
971
- }
972
- var oi = b.ReactCurrentOwner, Md = b.ReactDebugCurrentFrame;
973
- function Fn(C) {
974
- if (C) {
975
- var P = C._owner, z = L(C.type, C._source, P ? P.type : null);
976
- Md.setExtraStackFrame(z);
977
- } else
978
- Md.setExtraStackFrame(null);
979
- }
980
- var Ll;
981
- Ll = !1;
982
- function Nl(C) {
983
- return typeof C == "object" && C !== null && C.$$typeof === t;
984
- }
985
- function $d() {
986
- {
987
- if (oi.current) {
988
- var C = le(oi.current.type);
989
- if (C)
990
- return `
991
-
992
- Check the render method of \`` + C + "`.";
993
- }
994
- return "";
995
- }
996
- }
997
- function Ab(C) {
998
- {
999
- if (C !== void 0) {
1000
- var P = C.fileName.replace(/^.*[\\\/]/, ""), z = C.lineNumber;
1001
- return `
1002
-
1003
- Check your code at ` + P + ":" + z + ".";
1004
- }
1005
- return "";
1006
- }
1007
- }
1008
- var Ad = {};
1009
- function Pb(C) {
1010
- {
1011
- var P = $d();
1012
- if (!P) {
1013
- var z = typeof C == "string" ? C : C.displayName || C.name;
1014
- z && (P = `
1015
-
1016
- Check the top-level render call using <` + z + ">.");
1017
- }
1018
- return P;
1019
- }
1020
- }
1021
- function Pd(C, P) {
1022
- {
1023
- if (!C._store || C._store.validated || C.key != null)
1024
- return;
1025
- C._store.validated = !0;
1026
- var z = Pb(P);
1027
- if (Ad[z])
1028
- return;
1029
- Ad[z] = !0;
1030
- var he = "";
1031
- C && C._owner && C._owner !== oi.current && (he = " It was passed a child from " + le(C._owner.type) + "."), Fn(C), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', z, he), Fn(null);
1032
- }
1033
- }
1034
- function Rd(C, P) {
1035
- {
1036
- if (typeof C != "object")
1037
- return;
1038
- if (ct(C))
1039
- for (var z = 0; z < C.length; z++) {
1040
- var he = C[z];
1041
- Nl(he) && Pd(he, P);
1042
- }
1043
- else if (Nl(C))
1044
- C._store && (C._store.validated = !0);
1045
- else if (C) {
1046
- var Re = m(C);
1047
- if (typeof Re == "function" && Re !== C.entries)
1048
- for (var qe = Re.call(C), Te; !(Te = qe.next()).done; )
1049
- Nl(Te.value) && Pd(Te.value, P);
1050
- }
1051
- }
1052
- }
1053
- function Rb(C) {
1054
- {
1055
- var P = C.type;
1056
- if (P == null || typeof P == "string")
1057
- return;
1058
- var z;
1059
- if (typeof P == "function")
1060
- z = P.propTypes;
1061
- else if (typeof P == "object" && (P.$$typeof === u || // Note: Memo only checks outer props here.
1062
- // Inner props are checked in the reconciler.
1063
- P.$$typeof === f))
1064
- z = P.propTypes;
1065
- else
1066
- return;
1067
- if (z) {
1068
- var he = le(P);
1069
- Ne(z, C.props, "prop", he, C);
1070
- } else if (P.PropTypes !== void 0 && !Ll) {
1071
- Ll = !0;
1072
- var Re = le(P);
1073
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Re || "Unknown");
1074
- }
1075
- typeof P.getDefaultProps == "function" && !P.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1076
- }
1077
- }
1078
- function Db(C) {
1079
- {
1080
- for (var P = Object.keys(C.props), z = 0; z < P.length; z++) {
1081
- var he = P[z];
1082
- if (he !== "children" && he !== "key") {
1083
- Fn(C), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", he), Fn(null);
1084
- break;
1085
- }
1086
- }
1087
- C.ref !== null && (Fn(C), x("Invalid attribute `ref` supplied to `React.Fragment`."), Fn(null));
1088
- }
1089
- }
1090
- function Dd(C, P, z, he, Re, qe) {
1091
- {
1092
- var Te = R(C);
1093
- if (!Te) {
1094
- var we = "";
1095
- (C === void 0 || typeof C == "object" && C !== null && Object.keys(C).length === 0) && (we += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1096
- var Dt = Ab(Re);
1097
- Dt ? we += Dt : we += $d();
1098
- var gt;
1099
- C === null ? gt = "null" : ct(C) ? gt = "array" : C !== void 0 && C.$$typeof === t ? (gt = "<" + (le(C.type) || "Unknown") + " />", we = " Did you accidentally export a JSX literal instead of a component?") : gt = typeof C, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", gt, we);
1100
- }
1101
- var yt = ii(C, P, z, Re, qe);
1102
- if (yt == null)
1103
- return yt;
1104
- if (Te) {
1105
- var tr = P.children;
1106
- if (tr !== void 0)
1107
- if (he)
1108
- if (ct(tr)) {
1109
- for (var In = 0; In < tr.length; In++)
1110
- Rd(tr[In], C);
1111
- Object.freeze && Object.freeze(tr);
1112
- } else
1113
- x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1114
- else
1115
- Rd(tr, C);
1116
- }
1117
- return C === n ? Db(yt) : Rb(yt), yt;
1118
- }
1119
- }
1120
- function Fb(C, P, z) {
1121
- return Dd(C, P, z, !0);
1122
- }
1123
- function Ib(C, P, z) {
1124
- return Dd(C, P, z, !1);
1125
- }
1126
- var jb = Ib, Lb = Fb;
1127
- li.Fragment = n, li.jsx = jb, li.jsxs = Lb;
1128
- }()), li;
1129
- }
1130
- process.env.NODE_ENV === "production" ? Pu.exports = Ty() : Pu.exports = Oy();
1131
- var g = Pu.exports;
1132
- const J1 = ja({
1133
- transformPagePoint: (e) => e,
1134
- isStatic: !1,
1135
- reducedMotion: "never"
1136
- }), Gs = ja({}), Bc = ja(null), eg = typeof document < "u", qs = eg ? Us : Ze, zc = ja({ strict: !1 });
1137
- function My(e, t, r, n) {
1138
- const { visualElement: a } = qt(Gs), i = qt(zc), o = qt(Bc), s = qt(J1).reducedMotion, u = Oe();
1139
- n = n || i.renderer, !u.current && n && (u.current = n(e, {
1140
- visualState: t,
1141
- parent: a,
1142
- props: r,
1143
- presenceContext: o,
1144
- blockInitialAnimation: o ? o.initial === !1 : !1,
1145
- reducedMotionConfig: s
1146
- }));
1147
- const l = u.current;
1148
- j1(() => {
1149
- l && l.update(r, o);
1150
- });
1151
- const c = Oe(!!window.HandoffAppearAnimations);
1152
- return qs(() => {
1153
- l && (l.render(), c.current && l.animationState && l.animationState.animateChanges());
1154
- }), Ze(() => {
1155
- l && (l.updateFeatures(), !c.current && l.animationState && l.animationState.animateChanges(), window.HandoffAppearAnimations = void 0, c.current = !1);
1156
- }), l;
852
+ const h = qy[f], v = Yy(d, h);
853
+ if (ig.has(f)) {
854
+ if (u = !0, o[f] = v, !c)
855
+ continue;
856
+ d !== (h.default || 0) && (c = !1);
857
+ } else
858
+ f.startsWith("origin") ? (l = !0, s[f] = v) : a[f] = v;
859
+ }
860
+ if (t.transform || (u || n ? a.transform = Vy(e.transform, r, c, n) : a.transform && (a.transform = "none")), l) {
861
+ const { originX: f = "50%", originY: d = "50%", originZ: h = 0 } = s;
862
+ a.transformOrigin = `${f} ${d} ${h}`;
863
+ }
1157
864
  }
1158
- function $y(e) {
1159
- return typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
865
+ const Uc = () => ({
866
+ style: {},
867
+ transform: {},
868
+ transformOrigin: {},
869
+ vars: {}
870
+ });
871
+ function cg(e, t, r) {
872
+ for (const n in t)
873
+ !mn(t[n]) && !og(n, r) && (e[n] = t[n]);
1160
874
  }
1161
- function Ay(e, t, r) {
1162
- return xt(
1163
- (n) => {
1164
- n && e.mount && e.mount(n), t && (n ? t.mount(n) : t.unmount()), r && (typeof r == "function" ? r(n) : $y(r) && (r.current = n));
1165
- },
1166
- /**
1167
- * Only pass a new ref callback to React if we've received a visual element
1168
- * factory. Otherwise we'll be mounting/remounting every time externalRef
1169
- * or other dependencies change.
1170
- */
1171
- [t]
1172
- );
875
+ function Ky({ transformTemplate: e }, t, r) {
876
+ return _t(() => {
877
+ const n = Uc();
878
+ return ug(n, t, { enableHardwareAcceleration: !r }, e), Object.assign({}, n.vars, n.style);
879
+ }, [t]);
1173
880
  }
1174
- function Ru(e) {
1175
- return typeof e == "string" || Array.isArray(e);
881
+ function Xy(e, t, r) {
882
+ const n = e.style || {}, a = {};
883
+ return cg(a, n, e), Object.assign(a, Ky(e, t, r)), e.transformValues ? e.transformValues(a) : a;
1176
884
  }
1177
- function tg(e) {
1178
- return typeof e == "object" && typeof e.start == "function";
885
+ function Zy(e, t, r) {
886
+ const n = {}, a = Xy(e, t, r);
887
+ return e.drag && e.dragListener !== !1 && (n.draggable = !1, a.userSelect = a.WebkitUserSelect = a.WebkitTouchCallout = "none", a.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = a, n;
1179
888
  }
1180
- const Py = [
889
+ const Qy = /* @__PURE__ */ new Set([
1181
890
  "animate",
1182
- "whileInView",
1183
- "whileFocus",
1184
- "whileHover",
1185
- "whileTap",
1186
- "whileDrag",
1187
- "exit"
1188
- ], Ry = ["initial", ...Py];
1189
- function Wc(e) {
1190
- return tg(e.animate) || Ry.some((t) => Ru(e[t]));
891
+ "exit",
892
+ "variants",
893
+ "initial",
894
+ "style",
895
+ "values",
896
+ "variants",
897
+ "transition",
898
+ "transformTemplate",
899
+ "transformValues",
900
+ "custom",
901
+ "inherit",
902
+ "onLayoutAnimationStart",
903
+ "onLayoutAnimationComplete",
904
+ "onLayoutMeasure",
905
+ "onBeforeLayoutMeasure",
906
+ "onAnimationStart",
907
+ "onAnimationComplete",
908
+ "onUpdate",
909
+ "onDragStart",
910
+ "onDrag",
911
+ "onDragEnd",
912
+ "onMeasureDragConstraints",
913
+ "onDirectionLock",
914
+ "onDragTransitionEnd",
915
+ "_dragX",
916
+ "_dragY",
917
+ "onHoverStart",
918
+ "onHoverEnd",
919
+ "onViewportEnter",
920
+ "onViewportLeave",
921
+ "ignoreStrict",
922
+ "viewport"
923
+ ]);
924
+ function hs(e) {
925
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || Qy.has(e);
1191
926
  }
1192
- function Dy(e) {
1193
- return !!(Wc(e) || e.variants);
927
+ let fg = (e) => !hs(e);
928
+ function Jy(e) {
929
+ e && (fg = (t) => t.startsWith("on") ? !hs(t) : e(t));
1194
930
  }
1195
- function Fy(e, t) {
1196
- if (Wc(e)) {
1197
- const { initial: r, animate: n } = e;
1198
- return {
1199
- initial: r === !1 || Ru(r) ? r : void 0,
1200
- animate: Ru(n) ? n : void 0
1201
- };
1202
- }
1203
- return e.inherit !== !1 ? t : {};
931
+ try {
932
+ Jy(require("@emotion/is-prop-valid").default);
933
+ } catch {
1204
934
  }
1205
- function Iy(e) {
1206
- const { initial: t, animate: r } = Fy(e, qt(Gs));
1207
- return _t(() => ({ initial: t, animate: r }), [Nd(t), Nd(r)]);
935
+ function ex(e, t, r) {
936
+ const n = {};
937
+ for (const a in e)
938
+ a === "values" && typeof e.values == "object" || (fg(a) || r === !0 && hs(a) || !t && !hs(a) || // If trying to use native HTML drag events, forward drag listeners
939
+ e.draggable && a.startsWith("onDrag")) && (n[a] = e[a]);
940
+ return n;
1208
941
  }
1209
- function Nd(e) {
1210
- return Array.isArray(e) ? e.join(" ") : e;
1211
- }
1212
- const Bd = {
1213
- animation: [
1214
- "animate",
1215
- "variants",
1216
- "whileHover",
1217
- "whileTap",
1218
- "exit",
1219
- "whileInView",
1220
- "whileFocus",
1221
- "whileDrag"
1222
- ],
1223
- exit: ["exit"],
1224
- drag: ["drag", "dragControls"],
1225
- focus: ["whileFocus"],
1226
- hover: ["whileHover", "onHoverStart", "onHoverEnd"],
1227
- tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"],
1228
- pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
1229
- inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
1230
- layout: ["layout", "layoutId"]
1231
- }, Du = {};
1232
- for (const e in Bd)
1233
- Du[e] = {
1234
- isEnabled: (t) => Bd[e].some((r) => !!t[r])
1235
- };
1236
- function Fu(e) {
1237
- for (const t in e)
1238
- Du[t] = {
1239
- ...Du[t],
1240
- ...e[t]
1241
- };
1242
- }
1243
- const rg = ja({}), jy = ja({}), Ly = Symbol.for("motionComponentSymbol");
1244
- function Ny({ preloadedFeatures: e, createVisualElement: t, useRender: r, useVisualState: n, Component: a }) {
1245
- e && Fu(e);
1246
- function i(s, u) {
1247
- let l;
1248
- const c = {
1249
- ...qt(J1),
1250
- ...s,
1251
- layoutId: By(s)
1252
- }, { isStatic: f } = c, d = Iy(s), h = n(s, f);
1253
- if (!f && eg) {
1254
- d.visualElement = My(a, h, c, t);
1255
- const v = qt(jy), p = qt(zc).strict;
1256
- d.visualElement && (l = d.visualElement.loadFeatures(
1257
- // Note: Pass the full new combined props to correctly re-render dynamic feature components.
1258
- c,
1259
- p,
1260
- e,
1261
- v
1262
- ));
1263
- }
1264
- return de.createElement(
1265
- Gs.Provider,
1266
- { value: d },
1267
- l && d.visualElement ? de.createElement(l, { visualElement: d.visualElement, ...c }) : null,
1268
- r(a, s, Ay(h, d.visualElement, u), h, f, d.visualElement)
1269
- );
1270
- }
1271
- const o = Ot(i);
1272
- return o[Ly] = a, o;
1273
- }
1274
- function By({ layoutId: e }) {
1275
- const t = qt(rg).id;
1276
- return t && e !== void 0 ? t + "-" + e : e;
1277
- }
1278
- function zy(e) {
1279
- function t(n, a = {}) {
1280
- return Ny(e(n, a));
1281
- }
1282
- if (typeof Proxy > "u")
1283
- return t;
1284
- const r = /* @__PURE__ */ new Map();
1285
- return new Proxy(t, {
1286
- /**
1287
- * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
1288
- * The prop name is passed through as `key` and we can use that to generate a `motion`
1289
- * DOM component with that name.
1290
- */
1291
- get: (n, a) => (r.has(a) || r.set(a, t(a)), r.get(a))
1292
- });
1293
- }
1294
- const Wy = [
1295
- "animate",
1296
- "circle",
1297
- "defs",
1298
- "desc",
1299
- "ellipse",
1300
- "g",
1301
- "image",
1302
- "line",
1303
- "filter",
1304
- "marker",
1305
- "mask",
1306
- "metadata",
1307
- "path",
1308
- "pattern",
1309
- "polygon",
1310
- "polyline",
1311
- "rect",
1312
- "stop",
1313
- "switch",
1314
- "symbol",
1315
- "svg",
1316
- "text",
1317
- "tspan",
1318
- "use",
1319
- "view"
1320
- ];
1321
- function ng(e) {
1322
- return (
1323
- /**
1324
- * If it's not a string, it's a custom React component. Currently we only support
1325
- * HTML custom React components.
1326
- */
1327
- typeof e != "string" || /**
1328
- * If it contains a dash, the element is a custom HTML webcomponent.
1329
- */
1330
- e.includes("-") ? !1 : (
1331
- /**
1332
- * If it's in our list of lowercase SVG tags, it's an SVG component
1333
- */
1334
- !!(Wy.indexOf(e) > -1 || /**
1335
- * If it contains a capital letter, it's an SVG component
1336
- */
1337
- /[A-Z]/.test(e))
1338
- )
1339
- );
1340
- }
1341
- const ag = {};
1342
- function RK(e) {
1343
- Object.assign(ag, e);
1344
- }
1345
- const Ks = [
1346
- "transformPerspective",
1347
- "x",
1348
- "y",
1349
- "z",
1350
- "translateX",
1351
- "translateY",
1352
- "translateZ",
1353
- "scale",
1354
- "scaleX",
1355
- "scaleY",
1356
- "rotate",
1357
- "rotateX",
1358
- "rotateY",
1359
- "rotateZ",
1360
- "skew",
1361
- "skewX",
1362
- "skewY"
1363
- ], ig = new Set(Ks);
1364
- function og(e, { layout: t, layoutId: r }) {
1365
- return ig.has(e) || e.startsWith("origin") || (t || r !== void 0) && (!!ag[e] || e === "opacity");
1366
- }
1367
- const mn = (e) => !!(e && e.getVelocity), Vy = {
1368
- x: "translateX",
1369
- y: "translateY",
1370
- z: "translateZ",
1371
- transformPerspective: "perspective"
1372
- }, Hy = Ks.length;
1373
- function Uy(e, { enableHardwareAcceleration: t = !0, allowTransformNone: r = !0 }, n, a) {
1374
- let i = "";
1375
- for (let o = 0; o < Hy; o++) {
1376
- const s = Ks[o];
1377
- if (e[s] !== void 0) {
1378
- const u = Vy[s] || s;
1379
- i += `${u}(${e[s]}) `;
1380
- }
1381
- }
1382
- return t && !e.z && (i += "translateZ(0)"), i = i.trim(), a ? i = a(e, n ? "" : i) : r && n && (i = "none"), i;
1383
- }
1384
- const sg = (e) => (t) => typeof t == "string" && t.startsWith(e), Yy = sg("--"), DK = sg("var(--"), Gy = /var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g, qy = (e, t) => t && typeof e == "number" ? t.transform(e) : e, Vc = (e, t, r) => Math.min(Math.max(r, e), t), Zi = {
1385
- test: (e) => typeof e == "number",
1386
- parse: parseFloat,
1387
- transform: (e) => e
1388
- }, Ti = {
1389
- ...Zi,
1390
- transform: (e) => Vc(0, 1, e)
1391
- }, Co = {
1392
- ...Zi,
1393
- default: 1
1394
- }, Oi = (e) => Math.round(e * 1e5) / 1e5, Hc = /(-)?([\d]*\.?[\d])+/g, lg = /(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, Ky = /^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
1395
- function Qi(e) {
1396
- return typeof e == "string";
1397
- }
1398
- const Ji = (e) => ({
1399
- test: (t) => Qi(t) && t.endsWith(e) && t.split(" ").length === 1,
1400
- parse: parseFloat,
1401
- transform: (t) => `${t}${e}`
1402
- }), rn = Ji("deg"), Mi = Ji("%"), ge = Ji("px"), FK = Ji("vh"), IK = Ji("vw"), zd = {
1403
- ...Mi,
1404
- parse: (e) => Mi.parse(e) / 100,
1405
- transform: (e) => Mi.transform(e * 100)
1406
- }, Wd = {
1407
- ...Zi,
1408
- transform: Math.round
1409
- }, Xy = {
1410
- // Border props
1411
- borderWidth: ge,
1412
- borderTopWidth: ge,
1413
- borderRightWidth: ge,
1414
- borderBottomWidth: ge,
1415
- borderLeftWidth: ge,
1416
- borderRadius: ge,
1417
- radius: ge,
1418
- borderTopLeftRadius: ge,
1419
- borderTopRightRadius: ge,
1420
- borderBottomRightRadius: ge,
1421
- borderBottomLeftRadius: ge,
1422
- // Positioning props
1423
- width: ge,
1424
- maxWidth: ge,
1425
- height: ge,
1426
- maxHeight: ge,
1427
- size: ge,
1428
- top: ge,
1429
- right: ge,
1430
- bottom: ge,
1431
- left: ge,
1432
- // Spacing props
1433
- padding: ge,
1434
- paddingTop: ge,
1435
- paddingRight: ge,
1436
- paddingBottom: ge,
1437
- paddingLeft: ge,
1438
- margin: ge,
1439
- marginTop: ge,
1440
- marginRight: ge,
1441
- marginBottom: ge,
1442
- marginLeft: ge,
1443
- // Transform props
1444
- rotate: rn,
1445
- rotateX: rn,
1446
- rotateY: rn,
1447
- rotateZ: rn,
1448
- scale: Co,
1449
- scaleX: Co,
1450
- scaleY: Co,
1451
- scaleZ: Co,
1452
- skew: rn,
1453
- skewX: rn,
1454
- skewY: rn,
1455
- distance: ge,
1456
- translateX: ge,
1457
- translateY: ge,
1458
- translateZ: ge,
1459
- x: ge,
1460
- y: ge,
1461
- z: ge,
1462
- perspective: ge,
1463
- transformPerspective: ge,
1464
- opacity: Ti,
1465
- originX: zd,
1466
- originY: zd,
1467
- originZ: ge,
1468
- // Misc
1469
- zIndex: Wd,
1470
- // SVG
1471
- fillOpacity: Ti,
1472
- strokeOpacity: Ti,
1473
- numOctaves: Wd
1474
- };
1475
- function ug(e, t, r, n) {
1476
- const { style: a, vars: i, transform: o, transformOrigin: s } = e;
1477
- let u = !1, l = !1, c = !0;
1478
- for (const f in t) {
1479
- const d = t[f];
1480
- if (Yy(f)) {
1481
- i[f] = d;
1482
- continue;
1483
- }
1484
- const h = Xy[f], v = qy(d, h);
1485
- if (ig.has(f)) {
1486
- if (u = !0, o[f] = v, !c)
1487
- continue;
1488
- d !== (h.default || 0) && (c = !1);
1489
- } else
1490
- f.startsWith("origin") ? (l = !0, s[f] = v) : a[f] = v;
1491
- }
1492
- if (t.transform || (u || n ? a.transform = Uy(e.transform, r, c, n) : a.transform && (a.transform = "none")), l) {
1493
- const { originX: f = "50%", originY: d = "50%", originZ: h = 0 } = s;
1494
- a.transformOrigin = `${f} ${d} ${h}`;
1495
- }
1496
- }
1497
- const Uc = () => ({
1498
- style: {},
1499
- transform: {},
1500
- transformOrigin: {},
1501
- vars: {}
1502
- });
1503
- function cg(e, t, r) {
1504
- for (const n in t)
1505
- !mn(t[n]) && !og(n, r) && (e[n] = t[n]);
1506
- }
1507
- function Zy({ transformTemplate: e }, t, r) {
1508
- return _t(() => {
1509
- const n = Uc();
1510
- return ug(n, t, { enableHardwareAcceleration: !r }, e), Object.assign({}, n.vars, n.style);
1511
- }, [t]);
1512
- }
1513
- function Qy(e, t, r) {
1514
- const n = e.style || {}, a = {};
1515
- return cg(a, n, e), Object.assign(a, Zy(e, t, r)), e.transformValues ? e.transformValues(a) : a;
1516
- }
1517
- function Jy(e, t, r) {
1518
- const n = {}, a = Qy(e, t, r);
1519
- return e.drag && e.dragListener !== !1 && (n.draggable = !1, a.userSelect = a.WebkitUserSelect = a.WebkitTouchCallout = "none", a.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = a, n;
1520
- }
1521
- const ex = /* @__PURE__ */ new Set([
1522
- "animate",
1523
- "exit",
1524
- "variants",
1525
- "initial",
1526
- "style",
1527
- "values",
1528
- "variants",
1529
- "transition",
1530
- "transformTemplate",
1531
- "transformValues",
1532
- "custom",
1533
- "inherit",
1534
- "onLayoutAnimationStart",
1535
- "onLayoutAnimationComplete",
1536
- "onLayoutMeasure",
1537
- "onBeforeLayoutMeasure",
1538
- "onAnimationStart",
1539
- "onAnimationComplete",
1540
- "onUpdate",
1541
- "onDragStart",
1542
- "onDrag",
1543
- "onDragEnd",
1544
- "onMeasureDragConstraints",
1545
- "onDirectionLock",
1546
- "onDragTransitionEnd",
1547
- "_dragX",
1548
- "_dragY",
1549
- "onHoverStart",
1550
- "onHoverEnd",
1551
- "onViewportEnter",
1552
- "onViewportLeave",
1553
- "ignoreStrict",
1554
- "viewport"
1555
- ]);
1556
- function hs(e) {
1557
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || ex.has(e);
1558
- }
1559
- let fg = (e) => !hs(e);
1560
- function tx(e) {
1561
- e && (fg = (t) => t.startsWith("on") ? !hs(t) : e(t));
1562
- }
1563
- try {
1564
- tx(require("@emotion/is-prop-valid").default);
1565
- } catch {
1566
- }
1567
- function rx(e, t, r) {
1568
- const n = {};
1569
- for (const a in e)
1570
- a === "values" && typeof e.values == "object" || (fg(a) || r === !0 && hs(a) || !t && !hs(a) || // If trying to use native HTML drag events, forward drag listeners
1571
- e.draggable && a.startsWith("onDrag")) && (n[a] = e[a]);
1572
- return n;
1573
- }
1574
- function Vd(e, t, r) {
942
+ function zd(e, t, r) {
1575
943
  return typeof e == "string" ? e : ge.transform(t + r * e);
1576
944
  }
1577
- function nx(e, t, r) {
1578
- const n = Vd(t, e.x, e.width), a = Vd(r, e.y, e.height);
945
+ function tx(e, t, r) {
946
+ const n = zd(t, e.x, e.width), a = zd(r, e.y, e.height);
1579
947
  return `${n} ${a}`;
1580
948
  }
1581
- const ax = {
949
+ const rx = {
1582
950
  offset: "stroke-dashoffset",
1583
951
  array: "stroke-dasharray"
1584
- }, ix = {
952
+ }, nx = {
1585
953
  offset: "strokeDashoffset",
1586
954
  array: "strokeDasharray"
1587
955
  };
1588
- function ox(e, t, r = 1, n = 0, a = !0) {
956
+ function ax(e, t, r = 1, n = 0, a = !0) {
1589
957
  e.pathLength = 1;
1590
- const i = a ? ax : ix;
958
+ const i = a ? rx : nx;
1591
959
  e[i.offset] = ge.transform(-n);
1592
960
  const o = ge.transform(t), s = ge.transform(r);
1593
961
  e[i.array] = `${o} ${s}`;
@@ -1610,13 +978,13 @@ function dg(e, {
1610
978
  }
1611
979
  e.attrs = e.style, e.style = {};
1612
980
  const { attrs: h, style: v, dimensions: p } = e;
1613
- h.transform && (p && (v.transform = h.transform), delete h.transform), p && (a !== void 0 || i !== void 0 || v.transform) && (v.transformOrigin = nx(p, a !== void 0 ? a : 0.5, i !== void 0 ? i : 0.5)), t !== void 0 && (h.x = t), r !== void 0 && (h.y = r), n !== void 0 && (h.scale = n), o !== void 0 && ox(h, o, s, u, !1);
981
+ h.transform && (p && (v.transform = h.transform), delete h.transform), p && (a !== void 0 || i !== void 0 || v.transform) && (v.transformOrigin = tx(p, a !== void 0 ? a : 0.5, i !== void 0 ? i : 0.5)), t !== void 0 && (h.x = t), r !== void 0 && (h.y = r), n !== void 0 && (h.scale = n), o !== void 0 && ax(h, o, s, u, !1);
1614
982
  }
1615
983
  const hg = () => ({
1616
984
  ...Uc(),
1617
985
  attrs: {}
1618
986
  }), pg = (e) => typeof e == "string" && e.toLowerCase() === "svg";
1619
- function sx(e, t, r, n) {
987
+ function ix(e, t, r, n) {
1620
988
  const a = _t(() => {
1621
989
  const i = hg();
1622
990
  return dg(i, t, { enableHardwareAcceleration: !1 }, pg(n), e.transformTemplate), {
@@ -1630,10 +998,10 @@ function sx(e, t, r, n) {
1630
998
  }
1631
999
  return a;
1632
1000
  }
1633
- function lx(e = !1) {
1001
+ function ox(e = !1) {
1634
1002
  return (r, n, a, { latestValues: i }, o) => {
1635
- const u = (ng(r) ? sx : Jy)(n, i, o, r), c = {
1636
- ...rx(n, typeof r == "string", e),
1003
+ const u = (ng(r) ? ix : Zy)(n, i, o, r), c = {
1004
+ ...ex(n, typeof r == "string", e),
1637
1005
  ...u,
1638
1006
  ref: a
1639
1007
  }, { children: f } = n, d = _t(() => mn(f) ? f.get() : f, [f]);
@@ -1643,13 +1011,13 @@ function lx(e = !1) {
1643
1011
  });
1644
1012
  };
1645
1013
  }
1646
- const ux = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
1647
- function cx(e, { style: t, vars: r }, n, a) {
1014
+ const sx = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
1015
+ function lx(e, { style: t, vars: r }, n, a) {
1648
1016
  Object.assign(e.style, t, a && a.getProjectionStyles(n));
1649
1017
  for (const i in r)
1650
1018
  e.style.setProperty(i, r[i]);
1651
1019
  }
1652
- const fx = /* @__PURE__ */ new Set([
1020
+ const ux = /* @__PURE__ */ new Set([
1653
1021
  "baseFrequency",
1654
1022
  "diffuseConstant",
1655
1023
  "kernelMatrix",
@@ -1674,10 +1042,10 @@ const fx = /* @__PURE__ */ new Set([
1674
1042
  "textLength",
1675
1043
  "lengthAdjust"
1676
1044
  ]);
1677
- function dx(e, t, r, n) {
1678
- cx(e, t, void 0, n);
1045
+ function cx(e, t, r, n) {
1046
+ lx(e, t, void 0, n);
1679
1047
  for (const a in t.attrs)
1680
- e.setAttribute(fx.has(a) ? a : ux(a), t.attrs[a]);
1048
+ e.setAttribute(ux.has(a) ? a : sx(a), t.attrs[a]);
1681
1049
  }
1682
1050
  function gg(e, t) {
1683
1051
  const { style: r } = e, n = {};
@@ -1685,7 +1053,7 @@ function gg(e, t) {
1685
1053
  (mn(r[a]) || t.style && mn(t.style[a]) || og(a, e)) && (n[a] = r[a]);
1686
1054
  return n;
1687
1055
  }
1688
- function hx(e, t) {
1056
+ function fx(e, t) {
1689
1057
  const r = gg(e, t);
1690
1058
  for (const n in e)
1691
1059
  if (mn(e[n]) || mn(t[n])) {
@@ -1694,41 +1062,41 @@ function hx(e, t) {
1694
1062
  }
1695
1063
  return r;
1696
1064
  }
1697
- function px(e, t, r, n = {}, a = {}) {
1065
+ function dx(e, t, r, n = {}, a = {}) {
1698
1066
  return typeof t == "function" && (t = t(r !== void 0 ? r : e.custom, n, a)), typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function" && (t = t(r !== void 0 ? r : e.custom, n, a)), t;
1699
1067
  }
1700
1068
  function Yc(e) {
1701
1069
  const t = Oe(null);
1702
1070
  return t.current === null && (t.current = e()), t.current;
1703
1071
  }
1704
- const gx = (e) => Array.isArray(e), vx = (e) => !!(e && typeof e == "object" && e.mix && e.toValue), jK = (e) => gx(e) ? e[e.length - 1] || 0 : e;
1705
- function mx(e) {
1072
+ const hx = (e) => Array.isArray(e), px = (e) => !!(e && typeof e == "object" && e.mix && e.toValue), jK = (e) => hx(e) ? e[e.length - 1] || 0 : e;
1073
+ function gx(e) {
1706
1074
  const t = mn(e) ? e.get() : e;
1707
- return vx(t) ? t.toValue() : t;
1075
+ return px(t) ? t.toValue() : t;
1708
1076
  }
1709
- function bx({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: r }, n, a, i) {
1077
+ function vx({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: r }, n, a, i) {
1710
1078
  const o = {
1711
- latestValues: yx(n, a, i, e),
1079
+ latestValues: mx(n, a, i, e),
1712
1080
  renderState: t()
1713
1081
  };
1714
1082
  return r && (o.mount = (s) => r(n, s, o)), o;
1715
1083
  }
1716
1084
  const vg = (e) => (t, r) => {
1717
- const n = qt(Gs), a = qt(Bc), i = () => bx(e, t, n, a);
1085
+ const n = qt(Gs), a = qt(Bc), i = () => vx(e, t, n, a);
1718
1086
  return r ? i() : Yc(i);
1719
1087
  };
1720
- function yx(e, t, r, n) {
1088
+ function mx(e, t, r, n) {
1721
1089
  const a = {}, i = n(e, {});
1722
1090
  for (const d in i)
1723
- a[d] = mx(i[d]);
1091
+ a[d] = gx(i[d]);
1724
1092
  let { initial: o, animate: s } = e;
1725
- const u = Wc(e), l = Dy(e);
1093
+ const u = Wc(e), l = Py(e);
1726
1094
  t && l && !u && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
1727
1095
  let c = r ? r.initial === !1 : !1;
1728
1096
  c = c || o === !1;
1729
1097
  const f = c ? s : o;
1730
1098
  return f && typeof f != "boolean" && !tg(f) && (Array.isArray(f) ? f : [f]).forEach((h) => {
1731
- const v = px(e, h);
1099
+ const v = dx(e, h);
1732
1100
  if (!v)
1733
1101
  return;
1734
1102
  const { transitionEnd: p, transition: m, ...b } = v;
@@ -1745,7 +1113,7 @@ function yx(e, t, r, n) {
1745
1113
  }), a;
1746
1114
  }
1747
1115
  const eo = (e) => e;
1748
- class Hd {
1116
+ class Wd {
1749
1117
  constructor() {
1750
1118
  this.order = [], this.scheduled = /* @__PURE__ */ new Set();
1751
1119
  }
@@ -1761,8 +1129,8 @@ class Hd {
1761
1129
  this.order.length = 0, this.scheduled.clear();
1762
1130
  }
1763
1131
  }
1764
- function xx(e) {
1765
- let t = new Hd(), r = new Hd(), n = 0, a = !1, i = !1;
1132
+ function bx(e) {
1133
+ let t = new Wd(), r = new Wd(), n = 0, a = !1, i = !1;
1766
1134
  const o = /* @__PURE__ */ new WeakSet(), s = {
1767
1135
  /**
1768
1136
  * Schedule a process to run on the next frame.
@@ -1802,16 +1170,16 @@ const Eo = [
1802
1170
  "preRender",
1803
1171
  "render",
1804
1172
  "postRender"
1805
- ], wx = 40;
1806
- function Cx(e, t) {
1173
+ ], yx = 40;
1174
+ function xx(e, t) {
1807
1175
  let r = !1, n = !0;
1808
1176
  const a = {
1809
1177
  delta: 0,
1810
1178
  timestamp: 0,
1811
1179
  isProcessing: !1
1812
- }, i = Eo.reduce((f, d) => (f[d] = xx(() => r = !0), f), {}), o = (f) => i[f].process(a), s = () => {
1180
+ }, i = Eo.reduce((f, d) => (f[d] = bx(() => r = !0), f), {}), o = (f) => i[f].process(a), s = () => {
1813
1181
  const f = performance.now();
1814
- r = !1, a.delta = n ? 1e3 / 60 : Math.max(Math.min(f - a.timestamp, wx), 1), a.timestamp = f, a.isProcessing = !0, Eo.forEach(o), a.isProcessing = !1, r && t && (n = !1, e(s));
1182
+ r = !1, a.delta = n ? 1e3 / 60 : Math.max(Math.min(f - a.timestamp, yx), 1), a.timestamp = f, a.isProcessing = !0, Eo.forEach(o), a.isProcessing = !1, r && t && (n = !1, e(s));
1815
1183
  }, u = () => {
1816
1184
  r = !0, n = !0, a.isProcessing || e(s);
1817
1185
  };
@@ -1820,9 +1188,9 @@ function Cx(e, t) {
1820
1188
  return f[d] = (v, p = !1, m = !1) => (r || u(), h.schedule(v, p, m)), f;
1821
1189
  }, {}), cancel: (f) => Eo.forEach((d) => i[d].cancel(f)), state: a, steps: i };
1822
1190
  }
1823
- const { schedule: br, cancel: Ex, state: mg, steps: LK } = Cx(typeof requestAnimationFrame < "u" ? requestAnimationFrame : eo, !0), Sx = {
1191
+ const { schedule: br, cancel: wx, state: mg, steps: LK } = xx(typeof requestAnimationFrame < "u" ? requestAnimationFrame : eo, !0), Cx = {
1824
1192
  useVisualState: vg({
1825
- scrapeMotionValuesFromProps: hx,
1193
+ scrapeMotionValuesFromProps: fx,
1826
1194
  createRenderState: hg,
1827
1195
  onMount: (e, t, { renderState: r, latestValues: n }) => {
1828
1196
  br.read(() => {
@@ -1837,26 +1205,26 @@ const { schedule: br, cancel: Ex, state: mg, steps: LK } = Cx(typeof requestAnim
1837
1205
  };
1838
1206
  }
1839
1207
  }), br.render(() => {
1840
- dg(r, n, { enableHardwareAcceleration: !1 }, pg(t.tagName), e.transformTemplate), dx(t, r);
1208
+ dg(r, n, { enableHardwareAcceleration: !1 }, pg(t.tagName), e.transformTemplate), cx(t, r);
1841
1209
  });
1842
1210
  }
1843
1211
  })
1844
- }, _x = {
1212
+ }, Ex = {
1845
1213
  useVisualState: vg({
1846
1214
  scrapeMotionValuesFromProps: gg,
1847
1215
  createRenderState: Uc
1848
1216
  })
1849
1217
  };
1850
- function kx(e, { forwardMotionProps: t = !1 }, r, n) {
1218
+ function Sx(e, { forwardMotionProps: t = !1 }, r, n) {
1851
1219
  return {
1852
- ...ng(e) ? Sx : _x,
1220
+ ...ng(e) ? Cx : Ex,
1853
1221
  preloadedFeatures: r,
1854
- useRender: lx(t),
1222
+ useRender: ox(t),
1855
1223
  createVisualElement: n,
1856
1224
  Component: e
1857
1225
  };
1858
1226
  }
1859
- const Tx = (e, t) => (r) => t(e(r)), bg = (...e) => e.reduce(Tx);
1227
+ const _x = (e, t) => (r) => t(e(r)), bg = (...e) => e.reduce(_x);
1860
1228
  let Gc = eo, to = eo;
1861
1229
  process.env.NODE_ENV !== "production" && (Gc = (e, t) => {
1862
1230
  !e && typeof console < "u" && console.warn(t);
@@ -1864,7 +1232,7 @@ process.env.NODE_ENV !== "production" && (Gc = (e, t) => {
1864
1232
  if (!e)
1865
1233
  throw new Error(t);
1866
1234
  });
1867
- const qc = (e, t) => (r) => !!(Qi(r) && Ky.test(r) && r.startsWith(e) || t && Object.prototype.hasOwnProperty.call(r, t)), yg = (e, t, r) => (n) => {
1235
+ const qc = (e, t) => (r) => !!(Qi(r) && Gy.test(r) && r.startsWith(e) || t && Object.prototype.hasOwnProperty.call(r, t)), yg = (e, t, r) => (n) => {
1868
1236
  if (!Qi(n))
1869
1237
  return n;
1870
1238
  const [a, i, o, s] = n.match(Hc);
@@ -1874,15 +1242,15 @@ const qc = (e, t) => (r) => !!(Qi(r) && Ky.test(r) && r.startsWith(e) || t && Ob
1874
1242
  [r]: parseFloat(o),
1875
1243
  alpha: s !== void 0 ? parseFloat(s) : 1
1876
1244
  };
1877
- }, Ox = (e) => Vc(0, 255, e), Bl = {
1245
+ }, kx = (e) => Vc(0, 255, e), Bl = {
1878
1246
  ...Zi,
1879
- transform: (e) => Math.round(Ox(e))
1247
+ transform: (e) => Math.round(kx(e))
1880
1248
  }, dn = {
1881
1249
  test: qc("rgb", "red"),
1882
1250
  parse: yg("red", "green", "blue"),
1883
1251
  transform: ({ red: e, green: t, blue: r, alpha: n = 1 }) => "rgba(" + Bl.transform(e) + ", " + Bl.transform(t) + ", " + Bl.transform(r) + ", " + Oi(Ti.transform(n)) + ")"
1884
1252
  };
1885
- function Mx(e) {
1253
+ function Tx(e) {
1886
1254
  let t = "", r = "", n = "", a = "";
1887
1255
  return e.length > 5 ? (t = e.substring(1, 3), r = e.substring(3, 5), n = e.substring(5, 7), a = e.substring(7, 9)) : (t = e.substring(1, 2), r = e.substring(2, 3), n = e.substring(3, 4), a = e.substring(4, 5), t += t, r += r, n += n, a += a), {
1888
1256
  red: parseInt(t, 16),
@@ -1891,23 +1259,23 @@ function Mx(e) {
1891
1259
  alpha: a ? parseInt(a, 16) / 255 : 1
1892
1260
  };
1893
1261
  }
1894
- const Iu = {
1262
+ const Fu = {
1895
1263
  test: qc("#"),
1896
- parse: Mx,
1264
+ parse: Tx,
1897
1265
  transform: dn.transform
1898
1266
  }, ba = {
1899
1267
  test: qc("hsl", "hue"),
1900
1268
  parse: yg("hue", "saturation", "lightness"),
1901
1269
  transform: ({ hue: e, saturation: t, lightness: r, alpha: n = 1 }) => "hsla(" + Math.round(e) + ", " + Mi.transform(Oi(t)) + ", " + Mi.transform(Oi(r)) + ", " + Oi(Ti.transform(n)) + ")"
1902
1270
  }, Xs = {
1903
- test: (e) => dn.test(e) || Iu.test(e) || ba.test(e),
1904
- parse: (e) => dn.test(e) ? dn.parse(e) : ba.test(e) ? ba.parse(e) : Iu.parse(e),
1271
+ test: (e) => dn.test(e) || Fu.test(e) || ba.test(e),
1272
+ parse: (e) => dn.test(e) ? dn.parse(e) : ba.test(e) ? ba.parse(e) : Fu.parse(e),
1905
1273
  transform: (e) => Qi(e) ? e : e.hasOwnProperty("red") ? dn.transform(e) : ba.transform(e)
1906
1274
  }, Zs = (e, t, r) => -r * e + r * t + e;
1907
1275
  function zl(e, t, r) {
1908
1276
  return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * 6 * r : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e;
1909
1277
  }
1910
- function $x({ hue: e, saturation: t, lightness: r, alpha: n }) {
1278
+ function Ox({ hue: e, saturation: t, lightness: r, alpha: n }) {
1911
1279
  e /= 360, t /= 100, r /= 100;
1912
1280
  let a = 0, i = 0, o = 0;
1913
1281
  if (!t)
@@ -1926,23 +1294,23 @@ function $x({ hue: e, saturation: t, lightness: r, alpha: n }) {
1926
1294
  const Wl = (e, t, r) => {
1927
1295
  const n = e * e;
1928
1296
  return Math.sqrt(Math.max(0, r * (t * t - n) + n));
1929
- }, Ax = [Iu, dn, ba], Px = (e) => Ax.find((t) => t.test(e));
1930
- function Ud(e) {
1931
- const t = Px(e);
1297
+ }, Mx = [Fu, dn, ba], $x = (e) => Mx.find((t) => t.test(e));
1298
+ function Vd(e) {
1299
+ const t = $x(e);
1932
1300
  to(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`);
1933
1301
  let r = t.parse(e);
1934
- return t === ba && (r = $x(r)), r;
1302
+ return t === ba && (r = Ox(r)), r;
1935
1303
  }
1936
1304
  const xg = (e, t) => {
1937
- const r = Ud(e), n = Ud(t), a = { ...r };
1305
+ const r = Vd(e), n = Vd(t), a = { ...r };
1938
1306
  return (i) => (a.red = Wl(r.red, n.red, i), a.green = Wl(r.green, n.green, i), a.blue = Wl(r.blue, n.blue, i), a.alpha = Zs(r.alpha, n.alpha, i), dn.transform(a));
1939
1307
  };
1940
- function Rx(e) {
1308
+ function Ax(e) {
1941
1309
  var t, r;
1942
1310
  return isNaN(e) && Qi(e) && (((t = e.match(Hc)) === null || t === void 0 ? void 0 : t.length) || 0) + (((r = e.match(lg)) === null || r === void 0 ? void 0 : r.length) || 0) > 0;
1943
1311
  }
1944
1312
  const wg = {
1945
- regex: Gy,
1313
+ regex: Uy,
1946
1314
  countKey: "Vars",
1947
1315
  token: "${v}",
1948
1316
  parse: eo
@@ -1984,16 +1352,16 @@ function _g(e) {
1984
1352
  return s;
1985
1353
  };
1986
1354
  }
1987
- const Dx = (e) => typeof e == "number" ? 0 : e;
1988
- function Fx(e) {
1355
+ const Px = (e) => typeof e == "number" ? 0 : e;
1356
+ function Rx(e) {
1989
1357
  const t = Sg(e);
1990
- return _g(e)(t.map(Dx));
1358
+ return _g(e)(t.map(Px));
1991
1359
  }
1992
- const Ix = {
1993
- test: Rx,
1360
+ const Dx = {
1361
+ test: Ax,
1994
1362
  parse: Sg,
1995
1363
  createTransformer: _g,
1996
- getAnimatableNone: Fx
1364
+ getAnimatableNone: Rx
1997
1365
  }, kg = (e, t) => (r) => `${r > 0 ? t : e}`;
1998
1366
  function Tg(e, t) {
1999
1367
  return typeof e == "number" ? (r) => Zs(e, t, r) : Xs.test(e) ? xg(e, t) : e.startsWith("var(") ? kg(e, t) : Mg(e, t);
@@ -2005,7 +1373,7 @@ const Og = (e, t) => {
2005
1373
  r[o] = a[o](i);
2006
1374
  return r;
2007
1375
  };
2008
- }, jx = (e, t) => {
1376
+ }, Fx = (e, t) => {
2009
1377
  const r = { ...e, ...t }, n = {};
2010
1378
  for (const a in r)
2011
1379
  e[a] !== void 0 && t[a] !== void 0 && (n[a] = Tg(e[a], t[a]));
@@ -2015,17 +1383,17 @@ const Og = (e, t) => {
2015
1383
  return r;
2016
1384
  };
2017
1385
  }, Mg = (e, t) => {
2018
- const r = Ix.createTransformer(t), n = ps(e), a = ps(t);
1386
+ const r = Dx.createTransformer(t), n = ps(e), a = ps(t);
2019
1387
  return n.numVars === a.numVars && n.numColors === a.numColors && n.numNumbers >= a.numNumbers ? bg(Og(n.values, a.values), r) : (Gc(!0, `Complex values '${e}' and '${t}' 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.`), kg(e, t));
2020
1388
  }, Kc = (e, t, r) => {
2021
1389
  const n = t - e;
2022
1390
  return n === 0 ? 1 : (r - e) / n;
2023
- }, Yd = (e, t) => (r) => Zs(e, t, r);
2024
- function Lx(e) {
2025
- return typeof e == "number" ? Yd : typeof e == "string" ? Xs.test(e) ? xg : Mg : Array.isArray(e) ? Og : typeof e == "object" ? jx : Yd;
1391
+ }, Hd = (e, t) => (r) => Zs(e, t, r);
1392
+ function Ix(e) {
1393
+ return typeof e == "number" ? Hd : typeof e == "string" ? Xs.test(e) ? xg : Mg : Array.isArray(e) ? Og : typeof e == "object" ? Fx : Hd;
2026
1394
  }
2027
- function Nx(e, t, r) {
2028
- const n = [], a = r || Lx(e[0]), i = e.length - 1;
1395
+ function jx(e, t, r) {
1396
+ const n = [], a = r || Ix(e[0]), i = e.length - 1;
2029
1397
  for (let o = 0; o < i; o++) {
2030
1398
  let s = a(e[o], e[o + 1]);
2031
1399
  if (t) {
@@ -2036,12 +1404,12 @@ function Nx(e, t, r) {
2036
1404
  }
2037
1405
  return n;
2038
1406
  }
2039
- function Bx(e, t, { clamp: r = !0, ease: n, mixer: a } = {}) {
1407
+ function Lx(e, t, { clamp: r = !0, ease: n, mixer: a } = {}) {
2040
1408
  const i = e.length;
2041
1409
  if (to(i === t.length, "Both input and output ranges must be the same length"), i === 1)
2042
1410
  return () => t[0];
2043
1411
  e[0] > e[i - 1] && (e = [...e].reverse(), t = [...t].reverse());
2044
- const o = Nx(t, n, a), s = o.length, u = (l) => {
1412
+ const o = jx(t, n, a), s = o.length, u = (l) => {
2045
1413
  let c = 0;
2046
1414
  if (s > 1)
2047
1415
  for (; c < e.length - 2 && !(l < e[c + 1]); c++)
@@ -2051,33 +1419,33 @@ function Bx(e, t, { clamp: r = !0, ease: n, mixer: a } = {}) {
2051
1419
  };
2052
1420
  return r ? (l) => u(Vc(e[0], e[i - 1], l)) : u;
2053
1421
  }
2054
- function zx(e, t) {
1422
+ function Nx(e, t) {
2055
1423
  const r = e[e.length - 1];
2056
1424
  for (let n = 1; n <= t; n++) {
2057
1425
  const a = Kc(0, t, n);
2058
1426
  e.push(Zs(r, 1, a));
2059
1427
  }
2060
1428
  }
2061
- function Wx(e) {
1429
+ function Bx(e) {
2062
1430
  const t = [0];
2063
- return zx(t, e.length - 1), t;
1431
+ return Nx(t, e.length - 1), t;
2064
1432
  }
2065
1433
  function $g(e, t) {
2066
1434
  return t ? e * (1e3 / t) : 0;
2067
1435
  }
2068
- function Vx(e, t) {
1436
+ function zx(e, t) {
2069
1437
  e.indexOf(t) === -1 && e.push(t);
2070
1438
  }
2071
- function Hx(e, t) {
1439
+ function Wx(e, t) {
2072
1440
  const r = e.indexOf(t);
2073
1441
  r > -1 && e.splice(r, 1);
2074
1442
  }
2075
- class Ux {
1443
+ class Vx {
2076
1444
  constructor() {
2077
1445
  this.subscriptions = [];
2078
1446
  }
2079
1447
  add(t) {
2080
- return Vx(this.subscriptions, t), () => Hx(this.subscriptions, t);
1448
+ return zx(this.subscriptions, t), () => Wx(this.subscriptions, t);
2081
1449
  }
2082
1450
  notify(t, r, n) {
2083
1451
  const a = this.subscriptions.length;
@@ -2097,12 +1465,12 @@ class Ux {
2097
1465
  this.subscriptions.length = 0;
2098
1466
  }
2099
1467
  }
2100
- const Gd = /* @__PURE__ */ new Set();
2101
- function Yx(e, t, r) {
2102
- e || Gd.has(t) || (console.warn(t), r && console.warn(r), Gd.add(t));
1468
+ const Ud = /* @__PURE__ */ new Set();
1469
+ function Hx(e, t, r) {
1470
+ e || Ud.has(t) || (console.warn(t), r && console.warn(r), Ud.add(t));
2103
1471
  }
2104
- const Gx = (e) => !isNaN(parseFloat(e));
2105
- class qx {
1472
+ const Ux = (e) => !isNaN(parseFloat(e));
1473
+ class Yx {
2106
1474
  /**
2107
1475
  * @param init - The initiating value
2108
1476
  * @param config - Optional configuration options
@@ -2118,7 +1486,7 @@ class qx {
2118
1486
  this.lastUpdated !== o && (this.timeDelta = i, this.lastUpdated = o, br.postRender(this.scheduleVelocityCheck)), this.prev !== this.current && this.events.change && this.events.change.notify(this.current), this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()), a && this.events.renderRequest && this.events.renderRequest.notify(this.current);
2119
1487
  }, this.scheduleVelocityCheck = () => br.postRender(this.velocityCheck), this.velocityCheck = ({ timestamp: n }) => {
2120
1488
  n !== this.lastUpdated && (this.prev = this.current, this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()));
2121
- }, this.hasAnimated = !1, this.prev = this.current = t, this.canTrackVelocity = Gx(this.current), this.owner = r.owner;
1489
+ }, this.hasAnimated = !1, this.prev = this.current = t, this.canTrackVelocity = Ux(this.current), this.owner = r.owner;
2122
1490
  }
2123
1491
  /**
2124
1492
  * Adds a function that will be notified when the `MotionValue` is updated.
@@ -2161,10 +1529,10 @@ class qx {
2161
1529
  * @deprecated
2162
1530
  */
2163
1531
  onChange(t) {
2164
- return process.env.NODE_ENV !== "production" && Yx(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", t);
1532
+ return process.env.NODE_ENV !== "production" && Hx(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", t);
2165
1533
  }
2166
1534
  on(t, r) {
2167
- this.events[t] || (this.events[t] = new Ux());
1535
+ this.events[t] || (this.events[t] = new Vx());
2168
1536
  const n = this.events[t].add(r);
2169
1537
  return t === "change" ? () => {
2170
1538
  n(), br.read(() => {
@@ -2293,22 +1661,22 @@ class qx {
2293
1661
  }
2294
1662
  }
2295
1663
  function So(e, t) {
2296
- return new qx(e, t);
1664
+ return new Yx(e, t);
2297
1665
  }
2298
- const sr = zy(kx);
1666
+ const sr = Ny(Sx);
2299
1667
  function Ag() {
2300
1668
  const e = Oe(!1);
2301
1669
  return qs(() => (e.current = !0, () => {
2302
1670
  e.current = !1;
2303
1671
  }), []), e;
2304
1672
  }
2305
- function Kx() {
1673
+ function Gx() {
2306
1674
  const e = Ag(), [t, r] = bt(0), n = xt(() => {
2307
1675
  e.current && r(t + 1);
2308
1676
  }, [t]);
2309
1677
  return [xt(() => br.postRender(n), [n]), t];
2310
1678
  }
2311
- class Xx extends de.Component {
1679
+ class qx extends de.Component {
2312
1680
  getSnapshotBeforeUpdate(t) {
2313
1681
  const r = this.props.childRef.current;
2314
1682
  if (r && t.isPresent && !this.props.isPresent) {
@@ -2326,7 +1694,7 @@ class Xx extends de.Component {
2326
1694
  return this.props.children;
2327
1695
  }
2328
1696
  }
2329
- function Zx({ children: e, isPresent: t }) {
1697
+ function Kx({ children: e, isPresent: t }) {
2330
1698
  const r = Ic(), n = Oe(null), a = Oe({
2331
1699
  width: 0,
2332
1700
  height: 0,
@@ -2350,10 +1718,10 @@ function Zx({ children: e, isPresent: t }) {
2350
1718
  `), () => {
2351
1719
  document.head.removeChild(l);
2352
1720
  };
2353
- }, [t]), de.createElement(Xx, { isPresent: t, childRef: n, sizeRef: a }, de.cloneElement(e, { ref: n }));
1721
+ }, [t]), de.createElement(qx, { isPresent: t, childRef: n, sizeRef: a }, de.cloneElement(e, { ref: n }));
2354
1722
  }
2355
1723
  const Hl = ({ children: e, initial: t, isPresent: r, onExitComplete: n, custom: a, presenceAffectsLayout: i, mode: o }) => {
2356
- const s = Yc(Qx), u = Ic(), l = _t(
1724
+ const s = Yc(Xx), u = Ic(), l = _t(
2357
1725
  () => ({
2358
1726
  id: u,
2359
1727
  initial: t,
@@ -2379,22 +1747,22 @@ const Hl = ({ children: e, initial: t, isPresent: r, onExitComplete: n, custom:
2379
1747
  s.forEach((c, f) => s.set(f, !1));
2380
1748
  }, [r]), de.useEffect(() => {
2381
1749
  !r && !s.size && n && n();
2382
- }, [r]), o === "popLayout" && (e = de.createElement(Zx, { isPresent: r }, e)), de.createElement(Bc.Provider, { value: l }, e);
1750
+ }, [r]), o === "popLayout" && (e = de.createElement(Kx, { isPresent: r }, e)), de.createElement(Bc.Provider, { value: l }, e);
2383
1751
  };
2384
- function Qx() {
1752
+ function Xx() {
2385
1753
  return /* @__PURE__ */ new Map();
2386
1754
  }
2387
- function Jx(e) {
1755
+ function Zx(e) {
2388
1756
  return Ze(() => () => e(), []);
2389
1757
  }
2390
1758
  const qn = (e) => e.key || "";
2391
- function e5(e, t) {
1759
+ function Qx(e, t) {
2392
1760
  e.forEach((r) => {
2393
1761
  const n = qn(r);
2394
1762
  t.set(n, r);
2395
1763
  });
2396
1764
  }
2397
- function t5(e) {
1765
+ function Jx(e) {
2398
1766
  const t = [];
2399
1767
  return Nb.forEach(e, (r) => {
2400
1768
  jc(r) && t.push(r);
@@ -2402,12 +1770,12 @@ function t5(e) {
2402
1770
  }
2403
1771
  const Pg = ({ children: e, custom: t, initial: r = !0, onExitComplete: n, exitBeforeEnter: a, presenceAffectsLayout: i = !0, mode: o = "sync" }) => {
2404
1772
  to(!a, "Replace exitBeforeEnter with mode='wait'");
2405
- const s = qt(rg).forceRender || Kx()[0], u = Ag(), l = t5(e);
1773
+ const s = qt(rg).forceRender || Gx()[0], u = Ag(), l = Jx(e);
2406
1774
  let c = l;
2407
1775
  const f = Oe(/* @__PURE__ */ new Map()).current, d = Oe(c), h = Oe(/* @__PURE__ */ new Map()).current, v = Oe(!0);
2408
1776
  if (qs(() => {
2409
- v.current = !1, e5(l, h), d.current = c;
2410
- }), Jx(() => {
1777
+ v.current = !1, Qx(l, h), d.current = c;
1778
+ }), Zx(() => {
2411
1779
  v.current = !0, h.clear(), f.clear();
2412
1780
  }), v.current)
2413
1781
  return de.createElement(de.Fragment, null, c.map((x) => de.createElement(Hl, { key: qn(x), isPresent: !0, initial: r ? void 0 : !1, presenceAffectsLayout: i, mode: o }, x)));
@@ -2443,22 +1811,22 @@ const Pg = ({ children: e, custom: t, initial: r = !0, onExitComplete: n, exitBe
2443
1811
  return f.has(E) ? x : de.createElement(Hl, { key: qn(x), isPresent: !0, presenceAffectsLayout: i, mode: o }, x);
2444
1812
  }), process.env.NODE_ENV !== "production" && o === "wait" && c.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`), de.createElement(de.Fragment, null, f.size ? c : c.map((x) => L1(x)));
2445
1813
  };
2446
- function r5({ children: e, features: t, strict: r = !1 }) {
1814
+ function e5({ children: e, features: t, strict: r = !1 }) {
2447
1815
  const [, n] = bt(!Ul(t)), a = Oe(void 0);
2448
1816
  if (!Ul(t)) {
2449
1817
  const { renderer: i, ...o } = t;
2450
- a.current = i, Fu(o);
1818
+ a.current = i, Du(o);
2451
1819
  }
2452
1820
  return Ze(() => {
2453
1821
  Ul(t) && t().then(({ renderer: i, ...o }) => {
2454
- Fu(o), a.current = i, n(!0);
1822
+ Du(o), a.current = i, n(!0);
2455
1823
  });
2456
1824
  }, []), de.createElement(zc.Provider, { value: { renderer: a.current, strict: r } }, e);
2457
1825
  }
2458
1826
  function Ul(e) {
2459
1827
  return typeof e == "function";
2460
1828
  }
2461
- function n5(e, t, r) {
1829
+ function t5(e, t, r) {
2462
1830
  var n;
2463
1831
  if (typeof e == "string") {
2464
1832
  let a = document;
@@ -2469,7 +1837,7 @@ function n5(e, t, r) {
2469
1837
  }
2470
1838
  const Xo = /* @__PURE__ */ new WeakMap();
2471
1839
  let Hr;
2472
- function a5(e, t) {
1840
+ function r5(e, t) {
2473
1841
  if (t) {
2474
1842
  const { inlineSize: r, blockSize: n } = t[0];
2475
1843
  return { width: r, height: n };
@@ -2479,27 +1847,27 @@ function a5(e, t) {
2479
1847
  height: e.offsetHeight
2480
1848
  };
2481
1849
  }
2482
- function i5({ target: e, contentRect: t, borderBoxSize: r }) {
1850
+ function n5({ target: e, contentRect: t, borderBoxSize: r }) {
2483
1851
  var n;
2484
1852
  (n = Xo.get(e)) === null || n === void 0 || n.forEach((a) => {
2485
1853
  a({
2486
1854
  target: e,
2487
1855
  contentSize: t,
2488
1856
  get size() {
2489
- return a5(e, r);
1857
+ return r5(e, r);
2490
1858
  }
2491
1859
  });
2492
1860
  });
2493
1861
  }
2494
- function o5(e) {
2495
- e.forEach(i5);
1862
+ function a5(e) {
1863
+ e.forEach(n5);
2496
1864
  }
2497
- function s5() {
2498
- typeof ResizeObserver > "u" || (Hr = new ResizeObserver(o5));
1865
+ function i5() {
1866
+ typeof ResizeObserver > "u" || (Hr = new ResizeObserver(a5));
2499
1867
  }
2500
- function l5(e, t) {
2501
- Hr || s5();
2502
- const r = n5(e);
1868
+ function o5(e, t) {
1869
+ Hr || i5();
1870
+ const r = t5(e);
2503
1871
  return r.forEach((n) => {
2504
1872
  let a = Xo.get(n);
2505
1873
  a || (a = /* @__PURE__ */ new Set(), Xo.set(n, a)), a.add(t), Hr == null || Hr.observe(n);
@@ -2512,7 +1880,7 @@ function l5(e, t) {
2512
1880
  }
2513
1881
  const Zo = /* @__PURE__ */ new Set();
2514
1882
  let $i;
2515
- function u5() {
1883
+ function s5() {
2516
1884
  $i = () => {
2517
1885
  const e = {
2518
1886
  width: window.innerWidth,
@@ -2525,15 +1893,15 @@ function u5() {
2525
1893
  Zo.forEach((r) => r(t));
2526
1894
  }, window.addEventListener("resize", $i);
2527
1895
  }
2528
- function c5(e) {
2529
- return Zo.add(e), $i || u5(), () => {
1896
+ function l5(e) {
1897
+ return Zo.add(e), $i || s5(), () => {
2530
1898
  Zo.delete(e), !Zo.size && $i && ($i = void 0);
2531
1899
  };
2532
1900
  }
2533
- function f5(e, t) {
2534
- return typeof e == "function" ? c5(e) : l5(e, t);
1901
+ function u5(e, t) {
1902
+ return typeof e == "function" ? l5(e) : o5(e, t);
2535
1903
  }
2536
- const d5 = 50, qd = () => ({
1904
+ const c5 = 50, Yd = () => ({
2537
1905
  current: 0,
2538
1906
  offset: [],
2539
1907
  progress: 0,
@@ -2542,11 +1910,11 @@ const d5 = 50, qd = () => ({
2542
1910
  targetLength: 0,
2543
1911
  containerLength: 0,
2544
1912
  velocity: 0
2545
- }), h5 = () => ({
1913
+ }), f5 = () => ({
2546
1914
  time: 0,
2547
- x: qd(),
2548
- y: qd()
2549
- }), p5 = {
1915
+ x: Yd(),
1916
+ y: Yd()
1917
+ }), d5 = {
2550
1918
  x: {
2551
1919
  length: "Width",
2552
1920
  position: "Left"
@@ -2556,16 +1924,16 @@ const d5 = 50, qd = () => ({
2556
1924
  position: "Top"
2557
1925
  }
2558
1926
  };
2559
- function Kd(e, t, r, n) {
2560
- const a = r[t], { length: i, position: o } = p5[t], s = a.current, u = r.time;
1927
+ function Gd(e, t, r, n) {
1928
+ const a = r[t], { length: i, position: o } = d5[t], s = a.current, u = r.time;
2561
1929
  a.current = e["scroll" + o], a.scrollLength = e["scroll" + i] - e["client" + i], a.offset.length = 0, a.offset[0] = 0, a.offset[1] = a.scrollLength, a.progress = Kc(0, a.scrollLength, a.current);
2562
1930
  const l = n - u;
2563
- a.velocity = l > d5 ? 0 : $g(a.current - s, l);
1931
+ a.velocity = l > c5 ? 0 : $g(a.current - s, l);
2564
1932
  }
2565
- function g5(e, t, r) {
2566
- Kd(e, "x", t, r), Kd(e, "y", t, r), t.time = r;
1933
+ function h5(e, t, r) {
1934
+ Gd(e, "x", t, r), Gd(e, "y", t, r), t.time = r;
2567
1935
  }
2568
- function v5(e, t) {
1936
+ function p5(e, t) {
2569
1937
  const r = { x: 0, y: 0 };
2570
1938
  let n = e;
2571
1939
  for (; n && n !== t; )
@@ -2587,7 +1955,7 @@ function v5(e, t) {
2587
1955
  break;
2588
1956
  return r;
2589
1957
  }
2590
- const m5 = {
1958
+ const g5 = {
2591
1959
  Enter: [
2592
1960
  [0, 1],
2593
1961
  [1, 1]
@@ -2604,31 +1972,31 @@ const m5 = {
2604
1972
  [0, 0],
2605
1973
  [1, 1]
2606
1974
  ]
2607
- }, ju = {
1975
+ }, Iu = {
2608
1976
  start: 0,
2609
1977
  center: 0.5,
2610
1978
  end: 1
2611
1979
  };
2612
- function Xd(e, t, r = 0) {
1980
+ function qd(e, t, r = 0) {
2613
1981
  let n = 0;
2614
- if (ju[e] !== void 0 && (e = ju[e]), typeof e == "string") {
1982
+ if (Iu[e] !== void 0 && (e = Iu[e]), typeof e == "string") {
2615
1983
  const a = parseFloat(e);
2616
1984
  e.endsWith("px") ? n = a : e.endsWith("%") ? e = a / 100 : e.endsWith("vw") ? n = a / 100 * document.documentElement.clientWidth : e.endsWith("vh") ? n = a / 100 * document.documentElement.clientHeight : e = a;
2617
1985
  }
2618
1986
  return typeof e == "number" && (n = t * e), r + n;
2619
1987
  }
2620
- const b5 = [0, 0];
2621
- function y5(e, t, r, n) {
2622
- let a = Array.isArray(e) ? e : b5, i = 0, o = 0;
2623
- return typeof e == "number" ? a = [e, e] : typeof e == "string" && (e = e.trim(), e.includes(" ") ? a = e.split(" ") : a = [e, ju[e] ? e : "0"]), i = Xd(a[0], r, n), o = Xd(a[1], t), i - o;
1988
+ const v5 = [0, 0];
1989
+ function m5(e, t, r, n) {
1990
+ let a = Array.isArray(e) ? e : v5, i = 0, o = 0;
1991
+ return typeof e == "number" ? a = [e, e] : typeof e == "string" && (e = e.trim(), e.includes(" ") ? a = e.split(" ") : a = [e, Iu[e] ? e : "0"]), i = qd(a[0], r, n), o = qd(a[1], t), i - o;
2624
1992
  }
2625
- const x5 = { x: 0, y: 0 };
2626
- function w5(e) {
1993
+ const b5 = { x: 0, y: 0 };
1994
+ function y5(e) {
2627
1995
  return "getBBox" in e && e.tagName !== "svg" ? e.getBBox() : { width: e.clientWidth, height: e.clientHeight };
2628
1996
  }
2629
- function C5(e, t, r) {
2630
- let { offset: n = m5.All } = r;
2631
- const { target: a = e, axis: i = "y" } = r, o = i === "y" ? "height" : "width", s = a !== e ? v5(a, e) : x5, u = a === e ? { width: e.scrollWidth, height: e.scrollHeight } : w5(a), l = {
1997
+ function x5(e, t, r) {
1998
+ let { offset: n = g5.All } = r;
1999
+ const { target: a = e, axis: i = "y" } = r, o = i === "y" ? "height" : "width", s = a !== e ? p5(a, e) : b5, u = a === e ? { width: e.scrollWidth, height: e.scrollHeight } : y5(a), l = {
2632
2000
  width: e.clientWidth,
2633
2001
  height: e.clientHeight
2634
2002
  };
@@ -2636,12 +2004,12 @@ function C5(e, t, r) {
2636
2004
  let c = !t[i].interpolate;
2637
2005
  const f = n.length;
2638
2006
  for (let d = 0; d < f; d++) {
2639
- const h = y5(n[d], l[o], u[o], s[i]);
2007
+ const h = m5(n[d], l[o], u[o], s[i]);
2640
2008
  !c && h !== t[i].interpolatorOffsets[d] && (c = !0), t[i].offset[d] = h;
2641
2009
  }
2642
- c && (t[i].interpolate = Bx(t[i].offset, Wx(n)), t[i].interpolatorOffsets = [...t[i].offset]), t[i].progress = t[i].interpolate(t[i].current);
2010
+ c && (t[i].interpolate = Lx(t[i].offset, Bx(n)), t[i].interpolatorOffsets = [...t[i].offset]), t[i].progress = t[i].interpolate(t[i].current);
2643
2011
  }
2644
- function E5(e, t = e, r) {
2012
+ function w5(e, t = e, r) {
2645
2013
  if (r.x.targetOffset = 0, r.y.targetOffset = 0, t !== e) {
2646
2014
  let n = t;
2647
2015
  for (; n && n !== e; )
@@ -2649,21 +2017,21 @@ function E5(e, t = e, r) {
2649
2017
  }
2650
2018
  r.x.targetLength = t === e ? t.scrollWidth : t.clientWidth, r.y.targetLength = t === e ? t.scrollHeight : t.clientHeight, r.x.containerLength = e.clientWidth, r.y.containerLength = e.clientHeight;
2651
2019
  }
2652
- function S5(e, t, r, n = {}) {
2020
+ function C5(e, t, r, n = {}) {
2653
2021
  return {
2654
- measure: () => E5(e, n.target, r),
2022
+ measure: () => w5(e, n.target, r),
2655
2023
  update: (a) => {
2656
- g5(e, r, a), (n.offset || n.target) && C5(e, r, n);
2024
+ h5(e, r, a), (n.offset || n.target) && x5(e, r, n);
2657
2025
  },
2658
2026
  notify: () => t(r)
2659
2027
  };
2660
2028
  }
2661
- const ui = /* @__PURE__ */ new WeakMap(), Zd = /* @__PURE__ */ new WeakMap(), Yl = /* @__PURE__ */ new WeakMap(), Qd = (e) => e === document.documentElement ? window : e;
2662
- function _5(e, { container: t = document.documentElement, ...r } = {}) {
2029
+ const si = /* @__PURE__ */ new WeakMap(), Kd = /* @__PURE__ */ new WeakMap(), Yl = /* @__PURE__ */ new WeakMap(), Xd = (e) => e === document.documentElement ? window : e;
2030
+ function E5(e, { container: t = document.documentElement, ...r } = {}) {
2663
2031
  let n = Yl.get(t);
2664
2032
  n || (n = /* @__PURE__ */ new Set(), Yl.set(t, n));
2665
- const a = h5(), i = S5(t, e, a, r);
2666
- if (n.add(i), !ui.has(t)) {
2033
+ const a = f5(), i = C5(t, e, a, r);
2034
+ if (n.add(i), !si.has(t)) {
2667
2035
  const s = () => {
2668
2036
  for (const d of n)
2669
2037
  d.measure();
@@ -2676,33 +2044,33 @@ function _5(e, { container: t = document.documentElement, ...r } = {}) {
2676
2044
  }, c = () => {
2677
2045
  br.read(s, !1, !0), br.update(u, !1, !0), br.update(l, !1, !0);
2678
2046
  };
2679
- ui.set(t, c);
2680
- const f = Qd(t);
2681
- window.addEventListener("resize", c, { passive: !0 }), t !== document.documentElement && Zd.set(t, f5(t, c)), f.addEventListener("scroll", c, { passive: !0 });
2047
+ si.set(t, c);
2048
+ const f = Xd(t);
2049
+ window.addEventListener("resize", c, { passive: !0 }), t !== document.documentElement && Kd.set(t, u5(t, c)), f.addEventListener("scroll", c, { passive: !0 });
2682
2050
  }
2683
- const o = ui.get(t);
2051
+ const o = si.get(t);
2684
2052
  return br.read(o, !1, !0), () => {
2685
2053
  var s;
2686
- Ex(o);
2054
+ wx(o);
2687
2055
  const u = Yl.get(t);
2688
2056
  if (!u || (u.delete(i), u.size))
2689
2057
  return;
2690
- const l = ui.get(t);
2691
- ui.delete(t), l && (Qd(t).removeEventListener("scroll", l), (s = Zd.get(t)) === null || s === void 0 || s(), window.removeEventListener("resize", l));
2058
+ const l = si.get(t);
2059
+ si.delete(t), l && (Xd(t).removeEventListener("scroll", l), (s = Kd.get(t)) === null || s === void 0 || s(), window.removeEventListener("resize", l));
2692
2060
  };
2693
2061
  }
2694
- function Jd(e, t) {
2062
+ function Zd(e, t) {
2695
2063
  Gc(!!(!t || t.current), `You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`);
2696
2064
  }
2697
- const k5 = () => ({
2065
+ const S5 = () => ({
2698
2066
  scrollX: So(0),
2699
2067
  scrollY: So(0),
2700
2068
  scrollXProgress: So(0),
2701
2069
  scrollYProgress: So(0)
2702
2070
  });
2703
- function T5({ container: e, target: t, layoutEffect: r = !0, ...n } = {}) {
2704
- const a = Yc(k5);
2705
- return (r ? qs : Ze)(() => (Jd("target", t), Jd("container", e), _5(({ x: o, y: s }) => {
2071
+ function _5({ container: e, target: t, layoutEffect: r = !0, ...n } = {}) {
2072
+ const a = Yc(S5);
2073
+ return (r ? qs : Ze)(() => (Zd("target", t), Zd("container", e), E5(({ x: o, y: s }) => {
2706
2074
  a.scrollX.set(o.current), a.scrollXProgress.set(o.progress), a.scrollY.set(s.current), a.scrollYProgress.set(s.progress);
2707
2075
  }, {
2708
2076
  ...n,
@@ -2710,6 +2078,637 @@ function T5({ container: e, target: t, layoutEffect: r = !0, ...n } = {}) {
2710
2078
  target: (t == null ? void 0 : t.current) || void 0
2711
2079
  })), [e, t, JSON.stringify(n.offset)]), a;
2712
2080
  }
2081
+ var Ei = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2082
+ function Sn(e) {
2083
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2084
+ }
2085
+ var ju = { exports: {} }, li = {};
2086
+ /**
2087
+ * @license React
2088
+ * react-jsx-runtime.production.min.js
2089
+ *
2090
+ * Copyright (c) Facebook, Inc. and its affiliates.
2091
+ *
2092
+ * This source code is licensed under the MIT license found in the
2093
+ * LICENSE file in the root directory of this source tree.
2094
+ */
2095
+ var Qd;
2096
+ function k5() {
2097
+ if (Qd)
2098
+ return li;
2099
+ Qd = 1;
2100
+ var e = y, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
2101
+ function o(s, u, l) {
2102
+ var c, f = {}, d = null, h = null;
2103
+ l !== void 0 && (d = "" + l), u.key !== void 0 && (d = "" + u.key), u.ref !== void 0 && (h = u.ref);
2104
+ for (c in u)
2105
+ n.call(u, c) && !i.hasOwnProperty(c) && (f[c] = u[c]);
2106
+ if (s && s.defaultProps)
2107
+ for (c in u = s.defaultProps, u)
2108
+ f[c] === void 0 && (f[c] = u[c]);
2109
+ return { $$typeof: t, type: s, key: d, ref: h, props: f, _owner: a.current };
2110
+ }
2111
+ return li.Fragment = r, li.jsx = o, li.jsxs = o, li;
2112
+ }
2113
+ var ui = {};
2114
+ /**
2115
+ * @license React
2116
+ * react-jsx-runtime.development.js
2117
+ *
2118
+ * Copyright (c) Facebook, Inc. and its affiliates.
2119
+ *
2120
+ * This source code is licensed under the MIT license found in the
2121
+ * LICENSE file in the root directory of this source tree.
2122
+ */
2123
+ var Jd;
2124
+ function T5() {
2125
+ return Jd || (Jd = 1, process.env.NODE_ENV !== "production" && function() {
2126
+ var e = y, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), v = Symbol.iterator, p = "@@iterator";
2127
+ function m(C) {
2128
+ if (C === null || typeof C != "object")
2129
+ return null;
2130
+ var P = v && C[v] || C[p];
2131
+ return typeof P == "function" ? P : null;
2132
+ }
2133
+ var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2134
+ function x(C) {
2135
+ {
2136
+ for (var P = arguments.length, z = new Array(P > 1 ? P - 1 : 0), he = 1; he < P; he++)
2137
+ z[he - 1] = arguments[he];
2138
+ E("error", C, z);
2139
+ }
2140
+ }
2141
+ function E(C, P, z) {
2142
+ {
2143
+ var he = b.ReactDebugCurrentFrame, Re = he.getStackAddendum();
2144
+ Re !== "" && (P += "%s", z = z.concat([Re]));
2145
+ var qe = z.map(function(Te) {
2146
+ return String(Te);
2147
+ });
2148
+ qe.unshift("Warning: " + P), Function.prototype.apply.call(console[C], console, qe);
2149
+ }
2150
+ }
2151
+ var T = !1, w = !1, _ = !1, k = !1, O = !1, $;
2152
+ $ = Symbol.for("react.module.reference");
2153
+ function R(C) {
2154
+ return !!(typeof C == "string" || typeof C == "function" || C === n || C === i || O || C === a || C === l || C === c || k || C === h || T || w || _ || typeof C == "object" && C !== null && (C.$$typeof === d || C.$$typeof === f || C.$$typeof === o || C.$$typeof === s || C.$$typeof === u || // This needs to include all possible module reference object
2155
+ // types supported by any Flight configuration anywhere since
2156
+ // we don't know which Flight build this will end up being used
2157
+ // with.
2158
+ C.$$typeof === $ || C.getModuleId !== void 0));
2159
+ }
2160
+ function ee(C, P, z) {
2161
+ var he = C.displayName;
2162
+ if (he)
2163
+ return he;
2164
+ var Re = P.displayName || P.name || "";
2165
+ return Re !== "" ? z + "(" + Re + ")" : z;
2166
+ }
2167
+ function Me(C) {
2168
+ return C.displayName || "Context";
2169
+ }
2170
+ function le(C) {
2171
+ if (C == null)
2172
+ return null;
2173
+ if (typeof C.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof C == "function")
2174
+ return C.displayName || C.name || null;
2175
+ if (typeof C == "string")
2176
+ return C;
2177
+ switch (C) {
2178
+ case n:
2179
+ return "Fragment";
2180
+ case r:
2181
+ return "Portal";
2182
+ case i:
2183
+ return "Profiler";
2184
+ case a:
2185
+ return "StrictMode";
2186
+ case l:
2187
+ return "Suspense";
2188
+ case c:
2189
+ return "SuspenseList";
2190
+ }
2191
+ if (typeof C == "object")
2192
+ switch (C.$$typeof) {
2193
+ case s:
2194
+ var P = C;
2195
+ return Me(P) + ".Consumer";
2196
+ case o:
2197
+ var z = C;
2198
+ return Me(z._context) + ".Provider";
2199
+ case u:
2200
+ return ee(C, C.render, "ForwardRef");
2201
+ case f:
2202
+ var he = C.displayName || null;
2203
+ return he !== null ? he : le(C.type) || "Memo";
2204
+ case d: {
2205
+ var Re = C, qe = Re._payload, Te = Re._init;
2206
+ try {
2207
+ return le(Te(qe));
2208
+ } catch {
2209
+ return null;
2210
+ }
2211
+ }
2212
+ }
2213
+ return null;
2214
+ }
2215
+ var ce = Object.assign, ne = 0, B, Y, ye, fe, M, A, V;
2216
+ function re() {
2217
+ }
2218
+ re.__reactDisabledLog = !0;
2219
+ function G() {
2220
+ {
2221
+ if (ne === 0) {
2222
+ B = console.log, Y = console.info, ye = console.warn, fe = console.error, M = console.group, A = console.groupCollapsed, V = console.groupEnd;
2223
+ var C = {
2224
+ configurable: !0,
2225
+ enumerable: !0,
2226
+ value: re,
2227
+ writable: !0
2228
+ };
2229
+ Object.defineProperties(console, {
2230
+ info: C,
2231
+ log: C,
2232
+ warn: C,
2233
+ error: C,
2234
+ group: C,
2235
+ groupCollapsed: C,
2236
+ groupEnd: C
2237
+ });
2238
+ }
2239
+ ne++;
2240
+ }
2241
+ }
2242
+ function ue() {
2243
+ {
2244
+ if (ne--, ne === 0) {
2245
+ var C = {
2246
+ configurable: !0,
2247
+ enumerable: !0,
2248
+ writable: !0
2249
+ };
2250
+ Object.defineProperties(console, {
2251
+ log: ce({}, C, {
2252
+ value: B
2253
+ }),
2254
+ info: ce({}, C, {
2255
+ value: Y
2256
+ }),
2257
+ warn: ce({}, C, {
2258
+ value: ye
2259
+ }),
2260
+ error: ce({}, C, {
2261
+ value: fe
2262
+ }),
2263
+ group: ce({}, C, {
2264
+ value: M
2265
+ }),
2266
+ groupCollapsed: ce({}, C, {
2267
+ value: A
2268
+ }),
2269
+ groupEnd: ce({}, C, {
2270
+ value: V
2271
+ })
2272
+ });
2273
+ }
2274
+ ne < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
2275
+ }
2276
+ }
2277
+ var te = b.ReactCurrentDispatcher, ie;
2278
+ function K(C, P, z) {
2279
+ {
2280
+ if (ie === void 0)
2281
+ try {
2282
+ throw Error();
2283
+ } catch (Re) {
2284
+ var he = Re.stack.trim().match(/\n( *(at )?)/);
2285
+ ie = he && he[1] || "";
2286
+ }
2287
+ return `
2288
+ ` + ie + C;
2289
+ }
2290
+ }
2291
+ var U = !1, J;
2292
+ {
2293
+ var je = typeof WeakMap == "function" ? WeakMap : Map;
2294
+ J = new je();
2295
+ }
2296
+ function D(C, P) {
2297
+ if (!C || U)
2298
+ return "";
2299
+ {
2300
+ var z = J.get(C);
2301
+ if (z !== void 0)
2302
+ return z;
2303
+ }
2304
+ var he;
2305
+ U = !0;
2306
+ var Re = Error.prepareStackTrace;
2307
+ Error.prepareStackTrace = void 0;
2308
+ var qe;
2309
+ qe = te.current, te.current = null, G();
2310
+ try {
2311
+ if (P) {
2312
+ var Te = function() {
2313
+ throw Error();
2314
+ };
2315
+ if (Object.defineProperty(Te.prototype, "props", {
2316
+ set: function() {
2317
+ throw Error();
2318
+ }
2319
+ }), typeof Reflect == "object" && Reflect.construct) {
2320
+ try {
2321
+ Reflect.construct(Te, []);
2322
+ } catch (Sr) {
2323
+ he = Sr;
2324
+ }
2325
+ Reflect.construct(C, [], Te);
2326
+ } else {
2327
+ try {
2328
+ Te.call();
2329
+ } catch (Sr) {
2330
+ he = Sr;
2331
+ }
2332
+ C.call(Te.prototype);
2333
+ }
2334
+ } else {
2335
+ try {
2336
+ throw Error();
2337
+ } catch (Sr) {
2338
+ he = Sr;
2339
+ }
2340
+ C();
2341
+ }
2342
+ } catch (Sr) {
2343
+ if (Sr && he && typeof Sr.stack == "string") {
2344
+ for (var we = Sr.stack.split(`
2345
+ `), Dt = he.stack.split(`
2346
+ `), gt = we.length - 1, yt = Dt.length - 1; gt >= 1 && yt >= 0 && we[gt] !== Dt[yt]; )
2347
+ yt--;
2348
+ for (; gt >= 1 && yt >= 0; gt--, yt--)
2349
+ if (we[gt] !== Dt[yt]) {
2350
+ if (gt !== 1 || yt !== 1)
2351
+ do
2352
+ if (gt--, yt--, yt < 0 || we[gt] !== Dt[yt]) {
2353
+ var tr = `
2354
+ ` + we[gt].replace(" at new ", " at ");
2355
+ return C.displayName && tr.includes("<anonymous>") && (tr = tr.replace("<anonymous>", C.displayName)), typeof C == "function" && J.set(C, tr), tr;
2356
+ }
2357
+ while (gt >= 1 && yt >= 0);
2358
+ break;
2359
+ }
2360
+ }
2361
+ } finally {
2362
+ U = !1, te.current = qe, ue(), Error.prepareStackTrace = Re;
2363
+ }
2364
+ var In = C ? C.displayName || C.name : "", Fd = In ? K(In) : "";
2365
+ return typeof C == "function" && J.set(C, Fd), Fd;
2366
+ }
2367
+ function nt(C, P, z) {
2368
+ return D(C, !1);
2369
+ }
2370
+ function q(C) {
2371
+ var P = C.prototype;
2372
+ return !!(P && P.isReactComponent);
2373
+ }
2374
+ function L(C, P, z) {
2375
+ if (C == null)
2376
+ return "";
2377
+ if (typeof C == "function")
2378
+ return D(C, q(C));
2379
+ if (typeof C == "string")
2380
+ return K(C);
2381
+ switch (C) {
2382
+ case l:
2383
+ return K("Suspense");
2384
+ case c:
2385
+ return K("SuspenseList");
2386
+ }
2387
+ if (typeof C == "object")
2388
+ switch (C.$$typeof) {
2389
+ case u:
2390
+ return nt(C.render);
2391
+ case f:
2392
+ return L(C.type, P, z);
2393
+ case d: {
2394
+ var he = C, Re = he._payload, qe = he._init;
2395
+ try {
2396
+ return L(qe(Re), P, z);
2397
+ } catch {
2398
+ }
2399
+ }
2400
+ }
2401
+ return "";
2402
+ }
2403
+ var X = Object.prototype.hasOwnProperty, oe = {}, Ge = b.ReactDebugCurrentFrame;
2404
+ function Le(C) {
2405
+ if (C) {
2406
+ var P = C._owner, z = L(C.type, C._source, P ? P.type : null);
2407
+ Ge.setExtraStackFrame(z);
2408
+ } else
2409
+ Ge.setExtraStackFrame(null);
2410
+ }
2411
+ function Ne(C, P, z, he, Re) {
2412
+ {
2413
+ var qe = Function.call.bind(X);
2414
+ for (var Te in C)
2415
+ if (qe(C, Te)) {
2416
+ var we = void 0;
2417
+ try {
2418
+ if (typeof C[Te] != "function") {
2419
+ var Dt = Error((he || "React class") + ": " + z + " type `" + Te + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof C[Te] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
2420
+ throw Dt.name = "Invariant Violation", Dt;
2421
+ }
2422
+ we = C[Te](P, Te, he, z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
2423
+ } catch (gt) {
2424
+ we = gt;
2425
+ }
2426
+ we && !(we instanceof Error) && (Le(Re), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", he || "React class", z, Te, typeof we), Le(null)), we instanceof Error && !(we.message in oe) && (oe[we.message] = !0, Le(Re), x("Failed %s type: %s", z, we.message), Le(null));
2427
+ }
2428
+ }
2429
+ }
2430
+ var ut = Array.isArray;
2431
+ function ct(C) {
2432
+ return ut(C);
2433
+ }
2434
+ function Cr(C) {
2435
+ {
2436
+ var P = typeof Symbol == "function" && Symbol.toStringTag, z = P && C[Symbol.toStringTag] || C.constructor.name || "Object";
2437
+ return z;
2438
+ }
2439
+ }
2440
+ function N(C) {
2441
+ try {
2442
+ return se(C), !1;
2443
+ } catch {
2444
+ return !0;
2445
+ }
2446
+ }
2447
+ function se(C) {
2448
+ return "" + C;
2449
+ }
2450
+ function at(C) {
2451
+ if (N(C))
2452
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Cr(C)), se(C);
2453
+ }
2454
+ var it = b.ReactCurrentOwner, Rt = {
2455
+ key: !0,
2456
+ ref: !0,
2457
+ __self: !0,
2458
+ __source: !0
2459
+ }, Lr, Er, tn;
2460
+ tn = {};
2461
+ function ei(C) {
2462
+ if (X.call(C, "ref")) {
2463
+ var P = Object.getOwnPropertyDescriptor(C, "ref").get;
2464
+ if (P && P.isReactWarning)
2465
+ return !1;
2466
+ }
2467
+ return C.ref !== void 0;
2468
+ }
2469
+ function ti(C) {
2470
+ if (X.call(C, "key")) {
2471
+ var P = Object.getOwnPropertyDescriptor(C, "key").get;
2472
+ if (P && P.isReactWarning)
2473
+ return !1;
2474
+ }
2475
+ return C.key !== void 0;
2476
+ }
2477
+ function Dn(C, P) {
2478
+ if (typeof C.ref == "string" && it.current && P && it.current.stateNode !== P) {
2479
+ var z = le(it.current.type);
2480
+ tn[z] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', le(it.current.type), C.ref), tn[z] = !0);
2481
+ }
2482
+ }
2483
+ function ri(C, P) {
2484
+ {
2485
+ var z = function() {
2486
+ Lr || (Lr = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
2487
+ };
2488
+ z.isReactWarning = !0, Object.defineProperty(C, "key", {
2489
+ get: z,
2490
+ configurable: !0
2491
+ });
2492
+ }
2493
+ }
2494
+ function ni(C, P) {
2495
+ {
2496
+ var z = function() {
2497
+ Er || (Er = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
2498
+ };
2499
+ z.isReactWarning = !0, Object.defineProperty(C, "ref", {
2500
+ get: z,
2501
+ configurable: !0
2502
+ });
2503
+ }
2504
+ }
2505
+ var ai = function(C, P, z, he, Re, qe, Te) {
2506
+ var we = {
2507
+ // This tag allows us to uniquely identify this as a React Element
2508
+ $$typeof: t,
2509
+ // Built-in properties that belong on the element
2510
+ type: C,
2511
+ key: P,
2512
+ ref: z,
2513
+ props: Te,
2514
+ // Record the component responsible for creating this element.
2515
+ _owner: qe
2516
+ };
2517
+ return we._store = {}, Object.defineProperty(we._store, "validated", {
2518
+ configurable: !1,
2519
+ enumerable: !1,
2520
+ writable: !0,
2521
+ value: !1
2522
+ }), Object.defineProperty(we, "_self", {
2523
+ configurable: !1,
2524
+ enumerable: !1,
2525
+ writable: !1,
2526
+ value: he
2527
+ }), Object.defineProperty(we, "_source", {
2528
+ configurable: !1,
2529
+ enumerable: !1,
2530
+ writable: !1,
2531
+ value: Re
2532
+ }), Object.freeze && (Object.freeze(we.props), Object.freeze(we)), we;
2533
+ };
2534
+ function ii(C, P, z, he, Re) {
2535
+ {
2536
+ var qe, Te = {}, we = null, Dt = null;
2537
+ z !== void 0 && (at(z), we = "" + z), ti(P) && (at(P.key), we = "" + P.key), ei(P) && (Dt = P.ref, Dn(P, Re));
2538
+ for (qe in P)
2539
+ X.call(P, qe) && !Rt.hasOwnProperty(qe) && (Te[qe] = P[qe]);
2540
+ if (C && C.defaultProps) {
2541
+ var gt = C.defaultProps;
2542
+ for (qe in gt)
2543
+ Te[qe] === void 0 && (Te[qe] = gt[qe]);
2544
+ }
2545
+ if (we || Dt) {
2546
+ var yt = typeof C == "function" ? C.displayName || C.name || "Unknown" : C;
2547
+ we && ri(Te, yt), Dt && ni(Te, yt);
2548
+ }
2549
+ return ai(C, we, Dt, Re, he, it.current, Te);
2550
+ }
2551
+ }
2552
+ var oi = b.ReactCurrentOwner, Md = b.ReactDebugCurrentFrame;
2553
+ function Fn(C) {
2554
+ if (C) {
2555
+ var P = C._owner, z = L(C.type, C._source, P ? P.type : null);
2556
+ Md.setExtraStackFrame(z);
2557
+ } else
2558
+ Md.setExtraStackFrame(null);
2559
+ }
2560
+ var Ll;
2561
+ Ll = !1;
2562
+ function Nl(C) {
2563
+ return typeof C == "object" && C !== null && C.$$typeof === t;
2564
+ }
2565
+ function $d() {
2566
+ {
2567
+ if (oi.current) {
2568
+ var C = le(oi.current.type);
2569
+ if (C)
2570
+ return `
2571
+
2572
+ Check the render method of \`` + C + "`.";
2573
+ }
2574
+ return "";
2575
+ }
2576
+ }
2577
+ function Ab(C) {
2578
+ {
2579
+ if (C !== void 0) {
2580
+ var P = C.fileName.replace(/^.*[\\\/]/, ""), z = C.lineNumber;
2581
+ return `
2582
+
2583
+ Check your code at ` + P + ":" + z + ".";
2584
+ }
2585
+ return "";
2586
+ }
2587
+ }
2588
+ var Ad = {};
2589
+ function Pb(C) {
2590
+ {
2591
+ var P = $d();
2592
+ if (!P) {
2593
+ var z = typeof C == "string" ? C : C.displayName || C.name;
2594
+ z && (P = `
2595
+
2596
+ Check the top-level render call using <` + z + ">.");
2597
+ }
2598
+ return P;
2599
+ }
2600
+ }
2601
+ function Pd(C, P) {
2602
+ {
2603
+ if (!C._store || C._store.validated || C.key != null)
2604
+ return;
2605
+ C._store.validated = !0;
2606
+ var z = Pb(P);
2607
+ if (Ad[z])
2608
+ return;
2609
+ Ad[z] = !0;
2610
+ var he = "";
2611
+ C && C._owner && C._owner !== oi.current && (he = " It was passed a child from " + le(C._owner.type) + "."), Fn(C), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', z, he), Fn(null);
2612
+ }
2613
+ }
2614
+ function Rd(C, P) {
2615
+ {
2616
+ if (typeof C != "object")
2617
+ return;
2618
+ if (ct(C))
2619
+ for (var z = 0; z < C.length; z++) {
2620
+ var he = C[z];
2621
+ Nl(he) && Pd(he, P);
2622
+ }
2623
+ else if (Nl(C))
2624
+ C._store && (C._store.validated = !0);
2625
+ else if (C) {
2626
+ var Re = m(C);
2627
+ if (typeof Re == "function" && Re !== C.entries)
2628
+ for (var qe = Re.call(C), Te; !(Te = qe.next()).done; )
2629
+ Nl(Te.value) && Pd(Te.value, P);
2630
+ }
2631
+ }
2632
+ }
2633
+ function Rb(C) {
2634
+ {
2635
+ var P = C.type;
2636
+ if (P == null || typeof P == "string")
2637
+ return;
2638
+ var z;
2639
+ if (typeof P == "function")
2640
+ z = P.propTypes;
2641
+ else if (typeof P == "object" && (P.$$typeof === u || // Note: Memo only checks outer props here.
2642
+ // Inner props are checked in the reconciler.
2643
+ P.$$typeof === f))
2644
+ z = P.propTypes;
2645
+ else
2646
+ return;
2647
+ if (z) {
2648
+ var he = le(P);
2649
+ Ne(z, C.props, "prop", he, C);
2650
+ } else if (P.PropTypes !== void 0 && !Ll) {
2651
+ Ll = !0;
2652
+ var Re = le(P);
2653
+ x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Re || "Unknown");
2654
+ }
2655
+ typeof P.getDefaultProps == "function" && !P.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2656
+ }
2657
+ }
2658
+ function Db(C) {
2659
+ {
2660
+ for (var P = Object.keys(C.props), z = 0; z < P.length; z++) {
2661
+ var he = P[z];
2662
+ if (he !== "children" && he !== "key") {
2663
+ Fn(C), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", he), Fn(null);
2664
+ break;
2665
+ }
2666
+ }
2667
+ C.ref !== null && (Fn(C), x("Invalid attribute `ref` supplied to `React.Fragment`."), Fn(null));
2668
+ }
2669
+ }
2670
+ function Dd(C, P, z, he, Re, qe) {
2671
+ {
2672
+ var Te = R(C);
2673
+ if (!Te) {
2674
+ var we = "";
2675
+ (C === void 0 || typeof C == "object" && C !== null && Object.keys(C).length === 0) && (we += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2676
+ var Dt = Ab(Re);
2677
+ Dt ? we += Dt : we += $d();
2678
+ var gt;
2679
+ C === null ? gt = "null" : ct(C) ? gt = "array" : C !== void 0 && C.$$typeof === t ? (gt = "<" + (le(C.type) || "Unknown") + " />", we = " Did you accidentally export a JSX literal instead of a component?") : gt = typeof C, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", gt, we);
2680
+ }
2681
+ var yt = ii(C, P, z, Re, qe);
2682
+ if (yt == null)
2683
+ return yt;
2684
+ if (Te) {
2685
+ var tr = P.children;
2686
+ if (tr !== void 0)
2687
+ if (he)
2688
+ if (ct(tr)) {
2689
+ for (var In = 0; In < tr.length; In++)
2690
+ Rd(tr[In], C);
2691
+ Object.freeze && Object.freeze(tr);
2692
+ } else
2693
+ x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2694
+ else
2695
+ Rd(tr, C);
2696
+ }
2697
+ return C === n ? Db(yt) : Rb(yt), yt;
2698
+ }
2699
+ }
2700
+ function Fb(C, P, z) {
2701
+ return Dd(C, P, z, !0);
2702
+ }
2703
+ function Ib(C, P, z) {
2704
+ return Dd(C, P, z, !1);
2705
+ }
2706
+ var jb = Ib, Lb = Fb;
2707
+ ui.Fragment = n, ui.jsx = jb, ui.jsxs = Lb;
2708
+ }()), ui;
2709
+ }
2710
+ process.env.NODE_ENV === "production" ? ju.exports = k5() : ju.exports = T5();
2711
+ var g = ju.exports;
2713
2712
  const NK = ({
2714
2713
  open: e = !1,
2715
2714
  variants: t,
@@ -6295,7 +6294,7 @@ const W4 = (e, t, r) => {
6295
6294
  ...n,
6296
6295
  children: r
6297
6296
  }
6298
- ), V4 = () => import("./features-47bd5b16.js").then((e) => e.default), rv = ({ children: e }) => /* @__PURE__ */ g.jsx(r5, { strict: !0, features: V4, children: /* @__PURE__ */ g.jsxs(sr.div, { style: { height: "100%" }, children: [
6297
+ ), V4 = () => import("./features-2e2a6f24.js").then((e) => e.default), rv = ({ children: e }) => /* @__PURE__ */ g.jsx(e5, { strict: !0, features: V4, children: /* @__PURE__ */ g.jsxs(sr.div, { style: { height: "100%" }, children: [
6299
6298
  " ",
6300
6299
  e,
6301
6300
  " "
@@ -23722,7 +23721,7 @@ const HK = ({
23722
23721
  {
23723
23722
  dateAdapter: g2,
23724
23723
  adapterLocale: v2,
23725
- children: /* @__PURE__ */ g.jsx(rv, { children: /* @__PURE__ */ g.jsx(dU, { color: e, children: /* @__PURE__ */ g.jsx(Pv, { children: t }) }) })
23724
+ children: /* @__PURE__ */ g.jsx(dU, { color: e, children: /* @__PURE__ */ g.jsx(rv, { children: /* @__PURE__ */ g.jsx(Pv, { children: t }) }) })
23726
23725
  }
23727
23726
  ), YK = ({
23728
23727
  modalTitle: e = "Tem certeza que deseja excluir?",
@@ -33976,7 +33975,7 @@ const PX = (e, t, r = "mousedown") => {
33976
33975
  !a || a.contains(n.target) || t(n);
33977
33976
  });
33978
33977
  }, RX = (e = 100, t) => {
33979
- const { scrollY: r } = T5(t), [n, a] = bt(!1);
33978
+ const { scrollY: r } = _5(t), [n, a] = bt(!1);
33980
33979
  return Ze(
33981
33980
  () => r.onChange((i) => {
33982
33981
  i > e ? a(!0) : a(!1);
@@ -34122,39 +34121,39 @@ export {
34122
34121
  ug as $,
34123
34122
  jK as A,
34124
34123
  tg as B,
34125
- gx as C,
34126
- Py as D,
34127
- Ru as E,
34124
+ hx as C,
34125
+ $y as D,
34126
+ Pu as E,
34128
34127
  Zs as F,
34129
34128
  Kc as G,
34130
- $y as H,
34129
+ Oy as H,
34131
34130
  RK as I,
34132
- Vx as J,
34133
- Hx as K,
34131
+ zx as J,
34132
+ Wx as K,
34134
34133
  rg as L,
34135
- Ux as M,
34134
+ Vx as M,
34136
34135
  LK as N,
34137
- mx as O,
34136
+ gx as O,
34138
34137
  Bc as P,
34139
34138
  ag as Q,
34140
34139
  DK as R,
34141
- jy as S,
34140
+ Fy as S,
34142
34141
  Ks as T,
34143
34142
  eg as U,
34144
- Yx as V,
34143
+ Hx as V,
34145
34144
  Wc as W,
34146
- Dy as X,
34147
- Du as Y,
34148
- Ry as Z,
34149
- Yy as _,
34150
- Bx as a,
34151
- j5 as a$,
34145
+ Py as X,
34146
+ Ru as Y,
34147
+ Ay as Z,
34148
+ Hy as _,
34149
+ Lx as a,
34150
+ O5 as a$,
34152
34151
  gg as a0,
34153
- cx as a1,
34154
- fx as a2,
34155
- hx as a3,
34152
+ lx as a1,
34153
+ ux as a2,
34154
+ fx as a3,
34156
34155
  dg as a4,
34157
- dx as a5,
34156
+ cx as a5,
34158
34157
  pg as a6,
34159
34158
  ng as a7,
34160
34159
  jv as a8,
@@ -34183,9 +34182,9 @@ export {
34183
34182
  CX as aV,
34184
34183
  EX as aW,
34185
34184
  SX as aX,
34186
- NK as aY,
34187
- BK as aZ,
34188
- O5 as a_,
34185
+ sr as aY,
34186
+ NK as aZ,
34187
+ BK as a_,
34189
34188
  HK as aa,
34190
34189
  UK as ab,
34191
34190
  YK as ac,
@@ -34213,72 +34212,73 @@ export {
34213
34212
  iX as ay,
34214
34213
  fU as az,
34215
34214
  Vc as b,
34216
- zK as b0,
34217
- WK as b1,
34218
- rv as b2,
34219
- ky as b3,
34220
- wK as b4,
34221
- ds as b5,
34222
- EK as b6,
34223
- SK as b7,
34224
- _K as b8,
34225
- kK as b9,
34226
- AX as bA,
34227
- PX as bB,
34228
- RX as bC,
34229
- DX as bD,
34230
- ZK as bE,
34231
- FX as bF,
34232
- oX as bG,
34233
- IX as bH,
34234
- jX as bI,
34235
- tX as bJ,
34236
- XK as bK,
34237
- LX as bL,
34238
- NX as bM,
34239
- BX as bN,
34240
- TK as ba,
34241
- OK as bb,
34242
- MK as bc,
34243
- Au as bd,
34244
- CK as be,
34245
- me as bf,
34246
- Ee as bg,
34247
- $K as bh,
34248
- AK as bi,
34249
- PK as bj,
34250
- h6 as bk,
34251
- hv as bl,
34252
- E6 as bm,
34253
- hf as bn,
34254
- C6 as bo,
34255
- w6 as bp,
34256
- VK as bq,
34257
- _X as br,
34258
- kX as bs,
34259
- TX as bt,
34260
- OX as bu,
34261
- Mb as bv,
34262
- MX as bw,
34263
- W4 as bx,
34264
- $X as by,
34265
- Dq as bz,
34266
- ux as c,
34267
- Wx as d,
34268
- Ex as e,
34215
+ j5 as b0,
34216
+ zK as b1,
34217
+ WK as b2,
34218
+ rv as b3,
34219
+ ky as b4,
34220
+ wK as b5,
34221
+ ds as b6,
34222
+ EK as b7,
34223
+ SK as b8,
34224
+ _K as b9,
34225
+ Dq as bA,
34226
+ AX as bB,
34227
+ PX as bC,
34228
+ RX as bD,
34229
+ DX as bE,
34230
+ ZK as bF,
34231
+ FX as bG,
34232
+ oX as bH,
34233
+ IX as bI,
34234
+ jX as bJ,
34235
+ tX as bK,
34236
+ XK as bL,
34237
+ LX as bM,
34238
+ NX as bN,
34239
+ BX as bO,
34240
+ kK as ba,
34241
+ TK as bb,
34242
+ OK as bc,
34243
+ MK as bd,
34244
+ Au as be,
34245
+ CK as bf,
34246
+ me as bg,
34247
+ Ee as bh,
34248
+ $K as bi,
34249
+ AK as bj,
34250
+ PK as bk,
34251
+ h6 as bl,
34252
+ hv as bm,
34253
+ E6 as bn,
34254
+ hf as bo,
34255
+ C6 as bp,
34256
+ w6 as bq,
34257
+ VK as br,
34258
+ _X as bs,
34259
+ kX as bt,
34260
+ TX as bu,
34261
+ OX as bv,
34262
+ Mb as bw,
34263
+ MX as bx,
34264
+ W4 as by,
34265
+ $X as bz,
34266
+ sx as c,
34267
+ Bx as d,
34268
+ wx as e,
34269
34269
  br as f,
34270
34270
  mg as g,
34271
- Ix as h,
34271
+ Dx as h,
34272
34272
  to as i,
34273
34273
  Hc as j,
34274
- Xy as k,
34274
+ qy as k,
34275
34275
  Xs as l,
34276
34276
  mn as m,
34277
34277
  eo as n,
34278
34278
  Zi as o,
34279
34279
  bg as p,
34280
34280
  ge as q,
34281
- px as r,
34281
+ dx as r,
34282
34282
  Mi as s,
34283
34283
  ig as t,
34284
34284
  rn as u,