@devtron-labs/devtron-fe-common-lib 1.13.0 → 1.14.0-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@common-rjsf-BUC7SZkT.js → @code-editor-B69T0-41.js} +16242 -15532
- package/dist/@common-rjsf-Ch0_Br8s.js +617 -0
- package/dist/{@framer-motion-BL6-Hrrc.js → @framer-motion-VKSq0pI-.js} +81 -81
- package/dist/{@react-dates-CIHHgq4p.js → @react-dates-BKm8GUm7.js} +1 -1
- package/dist/{@react-select-BVKpsqGO.js → @react-select-E1-1raR9.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-CjKfeUxB.js → @react-virtualized-sticky-tree-CX7rnH5N.js} +1 -1
- package/dist/{@vendor-CekuMgQx.js → @vendor-C7aZvnhu.js} +27236 -25523
- package/dist/Common/API/QueryClientProvider.d.ts +2 -0
- package/dist/Common/API/index.d.ts +2 -0
- package/dist/Common/API/useQueryClient.d.ts +6 -0
- package/dist/Common/Checkbox/Checkbox.d.ts +2 -0
- package/dist/Common/Checkbox/index.d.ts +1 -0
- package/dist/Common/Common.service.d.ts +2 -2
- package/dist/Common/Constants.d.ts +1 -11
- package/dist/Common/Drawer/index.d.ts +1 -0
- package/dist/Common/EmptyState/index.d.ts +2 -0
- package/dist/Common/Helper.d.ts +5 -1
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/SegmentedBarChart/types.d.ts +11 -2
- package/dist/Common/TippyCustomized.d.ts +1 -1
- package/dist/Common/Toggle/Toggle.d.ts +4 -1
- package/dist/Common/Types.d.ts +12 -6
- package/dist/Common/index.d.ts +3 -3
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
- package/dist/Pages/GlobalConfigurations/index.d.ts +1 -0
- package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/types.d.ts +43 -0
- package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +1 -2
- package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +2 -0
- package/dist/Shared/Components/ActionMenu/index.d.ts +2 -2
- package/dist/Shared/Components/ActionMenu/types.d.ts +88 -11
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +275 -0
- package/dist/Shared/Components/ActionMenu/utils.d.ts +7 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +2 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/constants.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/index.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/service.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/types.d.ts +84 -0
- package/dist/Shared/Components/AppStatusModal/utils.d.ts +8 -0
- package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
- package/dist/Shared/Components/Button/types.d.ts +3 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/index.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/service.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/types.d.ts +11 -77
- package/dist/Shared/Components/CICDHistory/utils.d.ts +7 -3
- package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +10 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +3 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +22 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +20 -0
- package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
- package/dist/Shared/Components/Error/types.d.ts +4 -0
- package/dist/Shared/Components/Error/utils.d.ts +1 -0
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/types.d.ts +5 -2
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +2 -0
- package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +2 -0
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +3 -1
- package/dist/Shared/Components/GenericInfoCard/types.d.ts +13 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -3
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +10 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +2 -0
- package/dist/Shared/Components/Header/HelpButton.d.ts +2 -0
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/constants.d.ts +5 -4
- package/dist/Shared/Components/Header/types.d.ts +20 -14
- package/dist/Shared/Components/Header/utils.d.ts +5 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +40 -1
- package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
- package/dist/Shared/Components/Icon/types.d.ts +30 -8
- package/dist/Shared/Components/InfoBlock/constants.d.ts +2 -2
- package/dist/Shared/Components/InfoBlock/types.d.ts +2 -2
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/License/index.d.ts +1 -1
- package/dist/Shared/Components/License/utils.d.ts +2 -1
- package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +3 -0
- package/dist/Shared/Components/LoginBanner/index.d.ts +2 -0
- package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +4 -2
- package/dist/Shared/Components/Popover/Popover.component.d.ts +8 -0
- package/dist/Shared/Components/Popover/index.d.ts +3 -0
- package/dist/Shared/Components/Popover/types.d.ts +105 -0
- package/dist/Shared/Components/Popover/usePopover.hook.d.ts +2 -0
- package/dist/Shared/Components/Popover/utils.d.ts +92 -0
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +2 -0
- package/dist/Shared/Components/SelectPicker/index.d.ts +1 -0
- package/dist/Shared/Components/SelectPicker/type.d.ts +4 -0
- package/dist/Shared/Components/StatusComponent/types.d.ts +2 -1
- package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +33 -7
- package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +1 -1
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -2
- package/dist/Shared/Components/index.d.ts +2 -2
- package/dist/Shared/DocLink/DocLink.d.ts +2 -0
- package/dist/Shared/DocLink/constants.d.ts +91 -0
- package/dist/Shared/DocLink/index.d.ts +3 -0
- package/dist/Shared/DocLink/types.d.ts +11 -0
- package/dist/Shared/DocLink/utils.d.ts +2 -0
- package/dist/Shared/Helpers.d.ts +2 -2
- package/dist/Shared/Providers/index.d.ts +1 -1
- package/dist/Shared/Providers/types.d.ts +11 -1
- package/dist/Shared/constants.d.ts +18 -24
- package/dist/Shared/types.d.ts +110 -2
- package/dist/assets/@code-editor.css +1 -0
- package/dist/assets/@common-rjsf.css +1 -1
- package/dist/assets/empty-create.661d9355.png +0 -0
- package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
- package/dist/assets/ic-app-template.82736707.svg +23 -0
- package/dist/assets/ic-arrow-square-out.59bb549a.svg +3 -0
- package/dist/assets/ic-azure-aks.a9e437d5.svg +46 -0
- package/dist/assets/{ic-arrow-square-out.3d1a0d41.svg → ic-bulk-check.0f698efa.svg} +4 -2
- package/dist/assets/ic-bulk-check.99e92f7a.svg +21 -0
- package/dist/assets/ic-caret-down-small.7c4f88bf.svg +3 -0
- package/dist/assets/ic-caret-right.0ff813c2.svg +3 -0
- package/dist/assets/ic-celebration.77350694.svg +238 -0
- package/dist/assets/ic-chat-circle-online.51348da5.svg +4 -0
- package/dist/assets/{ic-medal.a2e911f5.svg → ic-checkbox-hover.0151d832.svg} +4 -3
- package/dist/assets/{ic-k8s-job.f4414c10.svg → ic-checkbox-hover.93e8d66a.svg} +4 -3
- package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +22 -0
- package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +22 -0
- package/dist/assets/ic-checkbox-selected.47444fab.svg +20 -0
- package/dist/assets/ic-checkbox-selected.c5539d6f.svg +20 -0
- package/dist/assets/{ic-check-grey.f556e371.svg → ic-checkbox-unselected.8054e3d7.svg} +2 -4
- package/dist/assets/ic-checkbox-unselected.ab91cdba.svg +19 -0
- package/dist/assets/ic-cloud-vms.27ea954e.svg +5 -0
- package/dist/assets/ic-cluster.71ba9e26.svg +3 -0
- package/dist/assets/ic-delete-dots.5380e0d0.svg +62 -0
- package/dist/assets/ic-devtron-app.a8b688d3.svg +23 -0
- package/dist/assets/ic-devtron-job.1b216232.svg +10 -0
- package/dist/assets/ic-disconnect.2ad261fc.svg +3 -0
- package/dist/assets/ic-discord-fill.103b579a.svg +3 -0
- package/dist/assets/ic-edit.3249ed32.svg +3 -0
- package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +3 -0
- package/dist/assets/ic-enterprise-tag.209dd129.svg +43 -0
- package/dist/assets/ic-expand-right-sm.9b347d49.svg +3 -0
- package/dist/assets/ic-expand-sm.a9a724f8.svg +3 -0
- package/dist/assets/ic-file-edit.96a172c7.svg +3 -0
- package/dist/assets/ic-file.c3c45e13.svg +3 -0
- package/dist/assets/ic-files.b0ebea46.svg +3 -0
- package/dist/assets/ic-gift-gradient.7690a246.svg +9 -0
- package/dist/assets/ic-gift.9b048fc7.svg +3 -0
- package/dist/assets/ic-gitlab.ac331d67.svg +31 -0
- package/dist/assets/ic-google-gke.07314724.svg +9 -0
- package/dist/assets/ic-install.28c3beec.svg +3 -0
- package/dist/assets/ic-k3s.7f4bf72d.svg +3 -0
- package/dist/assets/ic-kind.bd8ee992.svg +9 -0
- package/dist/assets/ic-laptop.485e21b4.svg +3 -0
- package/dist/assets/ic-man-on-rocket.7f67e914.svg +94 -0
- package/dist/assets/ic-megaphone-left.6b2a00b7.svg +3 -0
- package/dist/assets/ic-megaphone-right.9d6bcd36.svg +3 -0
- package/dist/assets/ic-minikube.d9ff1575.svg +9 -0
- package/dist/assets/ic-mobile.7c649251.svg +4 -0
- package/dist/assets/ic-path.d4fef3b0.svg +3 -0
- package/dist/assets/ic-sparkle-color.01c0be88.svg +1 -0
- package/dist/assets/ic-terminal.d875cce7.svg +3 -0
- package/dist/assets/ic-thermometer.1bc48079.svg +3 -0
- package/dist/assets/ic-ubuntu.fa47508f.svg +4 -0
- package/dist/assets/ic-user-circle.7d7152fa.svg +3 -0
- package/dist/assets/ic-wifi-slash.d0390749.svg +3 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +887 -847
- package/package.json +3 -2
- package/dist/Common/Checkbox.d.ts +0 -5
- package/dist/Shared/Components/ActionMenu/ActionMenuOption.d.ts +0 -3
- package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +0 -6
- package/dist/Shared/Components/AnnouncementBanner/index.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -2
- package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +0 -2
- package/dist/Shared/Components/EnterpriseTag/index.d.ts +0 -1
- package/dist/Shared/Components/Header/HelpNav.d.ts +0 -3
- package/dist/assets/ic-charts.f41e185f.svg +0 -19
- package/dist/assets/ic-chat-circle-dots.e15514f8.svg +0 -23
- package/dist/assets/ic-disconnected.551d6161.svg +0 -29
- package/dist/assets/ic-discord-fill.1a1b291d.svg +0 -19
- package/dist/assets/ic-feedback.d32fa6b0.svg +0 -19
- package/dist/assets/ic-files.fc290dee.svg +0 -19
- package/dist/assets/ic-login-devtron-logo.702a1d04.svg +0 -22
- package/dist/assets/ic-megaphone.b9f9a901.svg +0 -19
- package/dist/assets/ic-onboarding.c98f9ef9.svg +0 -19
- package/dist/assets/ic-timeout-red.5eda1010.svg +0 -21
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { aF as ct, aG as m, aH as D, aI as Xr, aJ as Ee, aK as T, aL as at, aM as Kt, aN as oe, aO as We, aP as J, aQ as Wr, aR as ei, aS as Zr, aT as ri, aU as ni, aV as ii, aW as ai, aX as oi, aY as $r, aZ as si, a_ as ui, a$ as li, b0 as fi, b1 as ci, b2 as vi, b3 as di, b4 as Pt, b5 as k, b6 as he, b7 as qr, b8 as pi, b9 as hi, ba as W, bb as Z, bc as mi, bd as me, be as Dt, bf as gi, bg as yi, bh as Jr, bi as It, bj as O, bk as ge, bl as bi, bm as se, bn as Pi, bo as Vi } from "./@vendor-C7aZvnhu.js";
|
2
2
|
import * as G from "react";
|
3
3
|
import Le, { createContext as Vt, useContext as F, useLayoutEffect as Ti, useEffect as H, useState as Re, useRef as q, useCallback as ye, useMemo as Ot, forwardRef as Si, createElement as xi, cloneElement as Ci, Children as Ai, isValidElement as wi } from "react";
|
4
|
-
var Ze = "production",
|
4
|
+
var Ze = "production", Me = typeof process > "u" || process.env === void 0 ? Ze : process.env.NODE_ENV || Ze, Q = function(t) {
|
5
5
|
return {
|
6
6
|
isEnabled: function(e) {
|
7
7
|
return t.some(function(r) {
|
@@ -47,7 +47,7 @@ function Ri(t, e, r) {
|
|
47
47
|
var n = [], i = F(Qr);
|
48
48
|
if (!e)
|
49
49
|
return null;
|
50
|
-
|
50
|
+
Me !== "production" && r && i.strict && ct(!1, "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");
|
51
51
|
for (var s = 0; s < Li; s++) {
|
52
52
|
var o = tn[s], a = Ft[o], u = a.isEnabled, l = a.Component;
|
53
53
|
u(t) && l && n.push(G.createElement(l, m({ key: o }, t, { visualElement: e })));
|
@@ -61,11 +61,11 @@ var te = Vt({
|
|
61
61
|
isStatic: !1,
|
62
62
|
reducedMotion: "never"
|
63
63
|
}), ee = Vt({});
|
64
|
-
function
|
64
|
+
function Mi() {
|
65
65
|
return F(ee).visualElement;
|
66
66
|
}
|
67
67
|
var _t = Vt(null), Tt = typeof document < "u", jt = Tt ? Ti : H, be = { current: null }, en = !1;
|
68
|
-
function
|
68
|
+
function Di() {
|
69
69
|
if (en = !0, !!Tt)
|
70
70
|
if (window.matchMedia) {
|
71
71
|
var t = window.matchMedia("(prefers-reduced-motion)"), e = function() {
|
@@ -76,8 +76,8 @@ function Mi() {
|
|
76
76
|
be.current = !1;
|
77
77
|
}
|
78
78
|
function Ii() {
|
79
|
-
!en &&
|
80
|
-
var t =
|
79
|
+
!en && Di();
|
80
|
+
var t = D(Re(be.current), 1), e = t[0];
|
81
81
|
return e;
|
82
82
|
}
|
83
83
|
function Oi() {
|
@@ -85,7 +85,7 @@ function Oi() {
|
|
85
85
|
return e === "never" ? !1 : e === "always" ? !0 : t;
|
86
86
|
}
|
87
87
|
function Fi(t, e, r, n) {
|
88
|
-
var i = F(Qr), s =
|
88
|
+
var i = F(Qr), s = Mi(), o = F(_t), a = Oi(), u = q(void 0);
|
89
89
|
n || (n = i.renderer), !u.current && n && (u.current = n(t, {
|
90
90
|
visualState: e,
|
91
91
|
parent: s,
|
@@ -197,7 +197,7 @@ function zi() {
|
|
197
197
|
return Hi++;
|
198
198
|
});
|
199
199
|
}
|
200
|
-
var
|
200
|
+
var De = Vt({}), on = Vt({});
|
201
201
|
function Ki(t, e, r, n) {
|
202
202
|
var i, s = e.layoutId, o = e.layout, a = e.drag, u = e.dragConstraints, l = e.layoutScroll, f = F(on);
|
203
203
|
!n || !r || r?.projection || (r.projection = new n(t, r.getLatestValues(), (i = r.parent) === null || i === void 0 ? void 0 : i.projection), r.projection.setOptions({
|
@@ -255,7 +255,7 @@ function Yi(t) {
|
|
255
255
|
return Si(a);
|
256
256
|
}
|
257
257
|
function ki(t) {
|
258
|
-
var e, r = t.layoutId, n = (e = F(
|
258
|
+
var e, r = t.layoutId, n = (e = F(De)) === null || e === void 0 ? void 0 : e.id;
|
259
259
|
return n && r !== void 0 ? n + "-" + r : r;
|
260
260
|
}
|
261
261
|
function Xi(t) {
|
@@ -836,14 +836,14 @@ var Sn = function(t, e) {
|
|
836
836
|
pointerout: "mouseout",
|
837
837
|
pointerenter: "mouseenter",
|
838
838
|
pointerleave: "mouseleave"
|
839
|
-
},
|
839
|
+
}, Ma = {
|
840
840
|
pointerdown: "touchstart",
|
841
841
|
pointermove: "touchmove",
|
842
842
|
pointerup: "touchend",
|
843
843
|
pointercancel: "touchcancel"
|
844
844
|
};
|
845
845
|
function xn(t) {
|
846
|
-
return wa() ? t : Ea() ?
|
846
|
+
return wa() ? t : Ea() ? Ma[t] : La() ? Ra[t] : t;
|
847
847
|
}
|
848
848
|
function bt(t, e, r, n) {
|
849
849
|
return ie(t, xn(e), Sn(r, e === "pointerdown"), n);
|
@@ -885,7 +885,7 @@ function rr(t, e, r) {
|
|
885
885
|
!Vn(n) || wn() || ((s = t.animationState) === null || s === void 0 || s.setActive(L.Hover, e), r?.(n, i));
|
886
886
|
};
|
887
887
|
}
|
888
|
-
function
|
888
|
+
function Da(t) {
|
889
889
|
var e = t.onHoverStart, r = t.onHoverEnd, n = t.whileHover, i = t.visualElement;
|
890
890
|
qt(i, "pointerenter", e || n ? rr(i, !0, e) : void 0, { passive: !e }), qt(i, "pointerleave", r || n ? rr(i, !1, r) : void 0, { passive: !r });
|
891
891
|
}
|
@@ -981,7 +981,7 @@ function Na(t, e, r, n) {
|
|
981
981
|
function Ha(t, e, r, n) {
|
982
982
|
var i = n.fallback, s = i === void 0 ? !0 : i;
|
983
983
|
H(function() {
|
984
|
-
!t || !s || (
|
984
|
+
!t || !s || (Me !== "production" && Ln(!1, "IntersectionObserver not available on this device. whileInView animations will trigger on mount."), requestAnimationFrame(function() {
|
985
985
|
var o;
|
986
986
|
e.hasEnteredView = !0;
|
987
987
|
var a = r.getProps().onViewportEnter;
|
@@ -997,13 +997,13 @@ var ut = function(t) {
|
|
997
997
|
inView: ut(Ua),
|
998
998
|
tap: ut(Ia),
|
999
999
|
focus: ut(Ta),
|
1000
|
-
hover: ut(
|
1000
|
+
hover: ut(Da)
|
1001
1001
|
}, Ka = 0, Ga = function() {
|
1002
1002
|
return Ka++;
|
1003
1003
|
}, Rn = function() {
|
1004
1004
|
return dt(Ga);
|
1005
1005
|
};
|
1006
|
-
function
|
1006
|
+
function Mn() {
|
1007
1007
|
var t = F(_t);
|
1008
1008
|
if (t === null)
|
1009
1009
|
return [!0, null];
|
@@ -1016,7 +1016,7 @@ function Dn() {
|
|
1016
1016
|
};
|
1017
1017
|
return !e && r ? [!1, s] : [!0];
|
1018
1018
|
}
|
1019
|
-
function
|
1019
|
+
function Dn(t, e) {
|
1020
1020
|
if (!Array.isArray(e))
|
1021
1021
|
return !1;
|
1022
1022
|
var r = e.length;
|
@@ -1047,7 +1047,7 @@ var Jt = function(t) {
|
|
1047
1047
|
}, ar = function(t) {
|
1048
1048
|
if (Array.isArray(t)) {
|
1049
1049
|
ct(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
|
1050
|
-
var e =
|
1050
|
+
var e = D(t, 4), r = e[0], n = e[1], i = e[2], s = e[3];
|
1051
1051
|
return ei(r, n, i, s);
|
1052
1052
|
} else if (typeof t == "string")
|
1053
1053
|
return ct(ir[t] !== void 0, "Invalid easing type '".concat(t, "'")), ir[t];
|
@@ -1139,7 +1139,7 @@ function qa(t, e) {
|
|
1139
1139
|
return (n = (r = i.delay) !== null && r !== void 0 ? r : t.delay) !== null && n !== void 0 ? n : 0;
|
1140
1140
|
}
|
1141
1141
|
function Ja(t) {
|
1142
|
-
return Array.isArray(t.to) && t.to[0] === null && (t.to = W([],
|
1142
|
+
return Array.isArray(t.to) && t.to[0] === null && (t.to = W([], D(t.to), !1), t.to[0] = t.from), t;
|
1143
1143
|
}
|
1144
1144
|
function Qa(t, e, r) {
|
1145
1145
|
var n;
|
@@ -1302,9 +1302,9 @@ var In = function(t) {
|
|
1302
1302
|
parse: function(t) {
|
1303
1303
|
return t;
|
1304
1304
|
}
|
1305
|
-
}, On = [Ee, T,
|
1305
|
+
}, On = [Ee, T, Dt, at, gi, yi, ao], Ct = function(t) {
|
1306
1306
|
return On.find(In(t));
|
1307
|
-
}, oo = W(W([],
|
1307
|
+
}, oo = W(W([], D(On), !1), [k, Pt], !1), so = function(t) {
|
1308
1308
|
return oo.find(In(t));
|
1309
1309
|
};
|
1310
1310
|
function uo(t, e, r) {
|
@@ -1377,7 +1377,7 @@ function Se(t, e, r) {
|
|
1377
1377
|
return Promise.resolve();
|
1378
1378
|
}, l = o.when;
|
1379
1379
|
if (l) {
|
1380
|
-
var f =
|
1380
|
+
var f = D(l === "beforeChildren" ? [a, u] : [u, a], 2), v = f[0], c = f[1];
|
1381
1381
|
return v().then(c);
|
1382
1382
|
} else
|
1383
1383
|
return Promise.all([a(), u(r.delay)]);
|
@@ -1427,7 +1427,7 @@ var Xe = [
|
|
1427
1427
|
L.Tap,
|
1428
1428
|
L.Drag,
|
1429
1429
|
L.Exit
|
1430
|
-
], yo = W([],
|
1430
|
+
], yo = W([], D(Xe), !1).reverse(), bo = Xe.length;
|
1431
1431
|
function Po(t) {
|
1432
1432
|
return function(e) {
|
1433
1433
|
return Promise.all(e.map(function(r) {
|
@@ -1454,26 +1454,26 @@ function Vo(t) {
|
|
1454
1454
|
}
|
1455
1455
|
function u(f, v) {
|
1456
1456
|
for (var c, d = t.getProps(), p = t.getVariantContext(!0) || {}, h = [], g = /* @__PURE__ */ new Set(), b = {}, P = 1 / 0, S = function(R) {
|
1457
|
-
var x = yo[R], w = r[x],
|
1457
|
+
var x = yo[R], w = r[x], M = (c = d[x]) !== null && c !== void 0 ? c : p[x], z = X(M), B = x === v ? w.isActive : null;
|
1458
1458
|
B === !1 && (P = R);
|
1459
|
-
var N =
|
1459
|
+
var N = M === p[x] && M !== d[x] && z;
|
1460
1460
|
if (N && i && t.manuallyAnimateOnMount && (N = !1), w.protectedKeys = m({}, b), // If it isn't active and hasn't *just* been set as inactive
|
1461
1461
|
!w.isActive && B === null || // If we didn't and don't have any defined prop for this animation type
|
1462
|
-
!
|
1463
|
-
Ue(
|
1462
|
+
!M && !w.prevProp || // Or if the prop doesn't define an animation
|
1463
|
+
Ue(M) || typeof M == "boolean")
|
1464
1464
|
return "continue";
|
1465
|
-
var rt = To(w.prevProp,
|
1465
|
+
var rt = To(w.prevProp, M), nt = rt || // If we're making this variant active, we want to always make it active
|
1466
1466
|
x === v && w.isActive && !N && z || // If we removed a higher-priority variant (i is in reverse order)
|
1467
|
-
R > P && z, it = Array.isArray(
|
1467
|
+
R > P && z, it = Array.isArray(M) ? M : [M], K = it.reduce(s, {});
|
1468
1468
|
B === !1 && (K = {});
|
1469
1469
|
var St = w.prevResolvedValues, pt = St === void 0 ? {} : St, Ht = m(m({}, pt), K), ht = function(V) {
|
1470
1470
|
nt = !0, g.delete(V), w.needsAnimating[V] = !0;
|
1471
1471
|
};
|
1472
1472
|
for (var _ in Ht) {
|
1473
1473
|
var E = K[_], y = pt[_];
|
1474
|
-
b.hasOwnProperty(_) || (E !== y ? Ut(E) && Ut(y) ? !
|
1474
|
+
b.hasOwnProperty(_) || (E !== y ? Ut(E) && Ut(y) ? !Dn(E, y) || rt ? ht(_) : w.protectedKeys[_] = !0 : E !== void 0 ? ht(_) : g.add(_) : E !== void 0 && g.has(_) ? ht(_) : w.protectedKeys[_] = !0);
|
1475
1475
|
}
|
1476
|
-
w.prevProp =
|
1476
|
+
w.prevProp = M, w.prevResolvedValues = K, w.isActive && (b = m(m({}, b), K)), i && t.blockInitialAnimation && (nt = !1), nt && !N && h.push.apply(h, W([], D(it.map(function(V) {
|
1477
1477
|
return {
|
1478
1478
|
animation: V,
|
1479
1479
|
options: m({ type: x }, f)
|
@@ -1515,7 +1515,7 @@ function Vo(t) {
|
|
1515
1515
|
};
|
1516
1516
|
}
|
1517
1517
|
function To(t, e) {
|
1518
|
-
return typeof e == "string" ? e !== t : rn(e) ? !
|
1518
|
+
return typeof e == "string" ? e !== t : rn(e) ? !Dn(e, t) : !1;
|
1519
1519
|
}
|
1520
1520
|
function ft(t) {
|
1521
1521
|
return t === void 0 && (t = !1), {
|
@@ -1537,7 +1537,7 @@ var xo = {
|
|
1537
1537
|
}, [r]);
|
1538
1538
|
}),
|
1539
1539
|
exit: ut(function(t) {
|
1540
|
-
var e = t.custom, r = t.visualElement, n =
|
1540
|
+
var e = t.custom, r = t.visualElement, n = D(Mn(), 2), i = n[0], s = n[1], o = F(_t);
|
1541
1541
|
H(function() {
|
1542
1542
|
var a, u;
|
1543
1543
|
r.isPresent = i;
|
@@ -1665,7 +1665,7 @@ function Lo(t, e) {
|
|
1665
1665
|
}
|
1666
1666
|
function gr(t, e) {
|
1667
1667
|
var r, n = e.min - t.min, i = e.max - t.max;
|
1668
|
-
return e.max - e.min < t.max - t.min && (r =
|
1668
|
+
return e.max - e.min < t.max - t.min && (r = D([i, n], 2), n = r[0], i = r[1]), { min: n, max: i };
|
1669
1669
|
}
|
1670
1670
|
function Ro(t, e) {
|
1671
1671
|
return {
|
@@ -1673,11 +1673,11 @@ function Ro(t, e) {
|
|
1673
1673
|
y: gr(t.y, e.y)
|
1674
1674
|
};
|
1675
1675
|
}
|
1676
|
-
function
|
1676
|
+
function Mo(t, e) {
|
1677
1677
|
var r = 0.5, n = et(t), i = et(e);
|
1678
1678
|
return i > n ? r = ge(e.min, e.max - n, t.min) : n > i && (r = ge(t.min, t.max - i, e.min)), bi(0, 1, r);
|
1679
1679
|
}
|
1680
|
-
function
|
1680
|
+
function Do(t, e) {
|
1681
1681
|
var r = {};
|
1682
1682
|
return e.min !== void 0 && (r.min = e.min - t.min), e.max !== void 0 && (r.max = e.max - t.min), r;
|
1683
1683
|
}
|
@@ -1705,7 +1705,7 @@ var Pr = function() {
|
|
1705
1705
|
origin: 0,
|
1706
1706
|
originPoint: 0
|
1707
1707
|
};
|
1708
|
-
},
|
1708
|
+
}, Mt = function() {
|
1709
1709
|
return {
|
1710
1710
|
x: Pr(),
|
1711
1711
|
y: Pr()
|
@@ -1784,7 +1784,7 @@ function st(t, e) {
|
|
1784
1784
|
t.min = t.min + e, t.max = t.max + e;
|
1785
1785
|
}
|
1786
1786
|
function xr(t, e, r) {
|
1787
|
-
var n =
|
1787
|
+
var n = D(r, 3), i = n[0], s = n[1], o = n[2], a = e[o] !== void 0 ? e[o] : 0.5, u = O(t.min, t.max, a);
|
1788
1788
|
Ce(t, e[i], e[s], u, e.scale);
|
1789
1789
|
}
|
1790
1790
|
var Bo = ["x", "scaleX", "originX"], Uo = ["y", "scaleY", "originY"];
|
@@ -1813,7 +1813,7 @@ var No = /* @__PURE__ */ new WeakMap(), Ho = (
|
|
1813
1813
|
var d, p = n.getProps(), h = p.drag, g = p.dragPropagation, b = p.onDragStart;
|
1814
1814
|
h && !g && (n.openGlobalLock && n.openGlobalLock(), n.openGlobalLock = An(h), !n.openGlobalLock) || (n.isDragging = !0, n.currentDirection = null, n.resolveConstraints(), n.visualElement.projection && (n.visualElement.projection.isAnimationBlocked = !0, n.visualElement.projection.target = void 0), $(function(P) {
|
1815
1815
|
var S, C, A = n.getAxisMotionValue(P).get() || 0;
|
1816
|
-
if (
|
1816
|
+
if (Dt.test(A)) {
|
1817
1817
|
var I = (C = (S = n.visualElement.projection) === null || S === void 0 ? void 0 : S.layout) === null || C === void 0 ? void 0 : C.actual[P];
|
1818
1818
|
if (I) {
|
1819
1819
|
var R = et(I);
|
@@ -1864,7 +1864,7 @@ var No = /* @__PURE__ */ new WeakMap(), Ho = (
|
|
1864
1864
|
}, t.prototype.resolveConstraints = function() {
|
1865
1865
|
var e = this, r = this.getProps(), n = r.dragConstraints, i = r.dragElastic, s = (this.visualElement.projection || {}).layout, o = this.constraints;
|
1866
1866
|
n && gt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && s ? this.constraints = Lo(s.actual, n) : this.constraints = !1, this.elastic = Io(i), o !== this.constraints && s && this.constraints && !this.hasMutatedConstraints && $(function(a) {
|
1867
|
-
e.getAxisMotionValue(a) && (e.constraints[a] =
|
1867
|
+
e.getAxisMotionValue(a) && (e.constraints[a] = Do(s.actual[a], e.constraints[a]));
|
1868
1868
|
});
|
1869
1869
|
}, t.prototype.resolveRefConstraints = function() {
|
1870
1870
|
var e = this.getProps(), r = e.dragConstraints, n = e.onMeasureDragConstraints;
|
@@ -1924,7 +1924,7 @@ var No = /* @__PURE__ */ new WeakMap(), Ho = (
|
|
1924
1924
|
var f = e.getAxisMotionValue(l);
|
1925
1925
|
if (f) {
|
1926
1926
|
var v = f.get();
|
1927
|
-
a[l] =
|
1927
|
+
a[l] = Mo({ min: v, max: v }, e.constraints[l]);
|
1928
1928
|
}
|
1929
1929
|
});
|
1930
1930
|
var u = this.visualElement.getProps().transformTemplate;
|
@@ -2042,7 +2042,7 @@ function ko() {
|
|
2042
2042
|
}, r["notify" + kt[i]] = function() {
|
2043
2043
|
for (var s = [], o = 0; o < arguments.length; o++)
|
2044
2044
|
s[o] = arguments[o];
|
2045
|
-
return n.notify.apply(n, W([],
|
2045
|
+
return n.notify.apply(n, W([], D(s), !1));
|
2046
2046
|
};
|
2047
2047
|
}), r;
|
2048
2048
|
}
|
@@ -2070,7 +2070,7 @@ var zn = function(t) {
|
|
2070
2070
|
return function(c, d) {
|
2071
2071
|
var p = c.parent, h = c.props, g = c.presenceId, b = c.blockInitialAnimation, P = c.visualState, S = c.shouldReduceMotion;
|
2072
2072
|
d === void 0 && (d = {});
|
2073
|
-
var C = !1, A = P.latestValues, I = P.renderState, R, x = ko(), w = /* @__PURE__ */ new Map(),
|
2073
|
+
var C = !1, A = P.latestValues, I = P.renderState, R, x = ko(), w = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), z = {}, B = m({}, A), N;
|
2074
2074
|
function rt() {
|
2075
2075
|
!R || !C || (nt(), a(R, I, h.style, E.projection));
|
2076
2076
|
}
|
@@ -2084,7 +2084,7 @@ var zn = function(t) {
|
|
2084
2084
|
var U = V.onChange(function(zt) {
|
2085
2085
|
A[y] = zt, h.onUpdate && Z.update(it, !1, !0);
|
2086
2086
|
}), xt = V.onRenderRequest(E.scheduleRender);
|
2087
|
-
|
2087
|
+
M.set(y, function() {
|
2088
2088
|
U(), xt();
|
2089
2089
|
});
|
2090
2090
|
}
|
@@ -2156,7 +2156,7 @@ var zn = function(t) {
|
|
2156
2156
|
*/
|
2157
2157
|
unmount: function() {
|
2158
2158
|
var y;
|
2159
|
-
(y = E.projection) === null || y === void 0 || y.unmount(), It.update(it), It.render(rt),
|
2159
|
+
(y = E.projection) === null || y === void 0 || y.unmount(), It.update(it), It.render(rt), M.forEach(function(V) {
|
2160
2160
|
return V();
|
2161
2161
|
}), N?.(), p?.children.delete(E), x.clearAllListeners(), R = void 0, C = !1;
|
2162
2162
|
},
|
@@ -2246,7 +2246,7 @@ var zn = function(t) {
|
|
2246
2246
|
*/
|
2247
2247
|
removeValue: function(y) {
|
2248
2248
|
var V;
|
2249
|
-
w.delete(y), (V =
|
2249
|
+
w.delete(y), (V = M.get(y)) === null || V === void 0 || V(), M.delete(y), delete A[y], l(y, I);
|
2250
2250
|
},
|
2251
2251
|
/**
|
2252
2252
|
* Check whether we have a motion value for this key
|
@@ -2362,7 +2362,7 @@ var zn = function(t) {
|
|
2362
2362
|
});
|
2363
2363
|
return E;
|
2364
2364
|
};
|
2365
|
-
}, Kn = W(["initial"],
|
2365
|
+
}, Kn = W(["initial"], D(Xe), !1), Wo = Kn.length;
|
2366
2366
|
function Ae(t) {
|
2367
2367
|
return typeof t == "string" && t.startsWith("var(--");
|
2368
2368
|
}
|
@@ -2371,13 +2371,13 @@ function Zo(t) {
|
|
2371
2371
|
var e = Gn.exec(t);
|
2372
2372
|
if (!e)
|
2373
2373
|
return [,];
|
2374
|
-
var r =
|
2374
|
+
var r = D(e, 3), n = r[1], i = r[2];
|
2375
2375
|
return [n, i];
|
2376
2376
|
}
|
2377
2377
|
var $o = 4;
|
2378
2378
|
function we(t, e, r) {
|
2379
2379
|
r === void 0 && (r = 1), ct(r <= $o, 'Max CSS variable fallback depth detected in property "'.concat(t, '". This may indicate a circular fallback dependency.'));
|
2380
|
-
var n =
|
2380
|
+
var n = D(Zo(t), 2), i = n[0], s = n[1];
|
2381
2381
|
if (i) {
|
2382
2382
|
var o = window.getComputedStyle(e).getPropertyValue(i);
|
2383
2383
|
return o ? o.trim() : Ae(s) ? we(s, e, r + 1) : s;
|
@@ -2509,7 +2509,7 @@ var Er = {
|
|
2509
2509
|
}), a.length) {
|
2510
2510
|
var u = a.indexOf("height") >= 0 ? window.pageYOffset : null, l = ns(e, t, a);
|
2511
2511
|
return s.length && s.forEach(function(f) {
|
2512
|
-
var v =
|
2512
|
+
var v = D(f, 2), c = v[0], d = v[1];
|
2513
2513
|
t.getValue(c).set(d);
|
2514
2514
|
}), t.syncRender(), u !== null && window.scrollTo({ top: u }), { target: l, transitionEnd: n };
|
2515
2515
|
} else
|
@@ -2668,7 +2668,7 @@ var At = {
|
|
2668
2668
|
}(Le.Component)
|
2669
2669
|
);
|
2670
2670
|
function ds(t) {
|
2671
|
-
var e =
|
2671
|
+
var e = D(Mn(), 2), r = e[0], n = e[1], i = F(De);
|
2672
2672
|
return Le.createElement(vs, m({}, t, { layoutGroup: i, switchLayoutGroup: F(on), isPresent: r, safeToRemove: n }));
|
2673
2673
|
}
|
2674
2674
|
var ps = {
|
@@ -2698,9 +2698,9 @@ function ms(t, e, r) {
|
|
2698
2698
|
}
|
2699
2699
|
};
|
2700
2700
|
}
|
2701
|
-
var Wn = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], gs = Wn.length,
|
2701
|
+
var Wn = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], gs = Wn.length, Mr = function(t) {
|
2702
2702
|
return typeof t == "string" ? parseFloat(t) : t;
|
2703
|
-
},
|
2703
|
+
}, Dr = function(t) {
|
2704
2704
|
return typeof t == "number" || T.test(t);
|
2705
2705
|
};
|
2706
2706
|
function ys(t, e, r, n, i, s) {
|
@@ -2716,8 +2716,8 @@ function ys(t, e, r, n, i, s) {
|
|
2716
2716
|
var v = "border".concat(Wn[f], "Radius"), c = Ir(e, v), d = Ir(r, v);
|
2717
2717
|
if (!(c === void 0 && d === void 0)) {
|
2718
2718
|
c || (c = 0), d || (d = 0);
|
2719
|
-
var p = c === 0 || d === 0 ||
|
2720
|
-
p ? (t[v] = Math.max(O(
|
2719
|
+
var p = c === 0 || d === 0 || Dr(c) === Dr(d);
|
2720
|
+
p ? (t[v] = Math.max(O(Mr(c), Mr(d), n), 0), (Dt.test(d) || Dt.test(c)) && (t[v] += "%")) : t[v] = d;
|
2721
2721
|
}
|
2722
2722
|
}
|
2723
2723
|
(e.rotate || r.rotate) && (t.rotate = O(e.rotate || 0, r.rotate || 0, n));
|
@@ -2742,7 +2742,7 @@ function Fr(t, e, r, n, i) {
|
|
2742
2742
|
return t -= e, t = Qt(t, 1 / r, n), i !== void 0 && (t = Qt(t, 1 / i, n)), t;
|
2743
2743
|
}
|
2744
2744
|
function Vs(t, e, r, n, i, s, o) {
|
2745
|
-
if (e === void 0 && (e = 0), r === void 0 && (r = 1), n === void 0 && (n = 0.5), s === void 0 && (s = t), o === void 0 && (o = t),
|
2745
|
+
if (e === void 0 && (e = 0), r === void 0 && (r = 1), n === void 0 && (n = 0.5), s === void 0 && (s = t), o === void 0 && (o = t), Dt.test(e)) {
|
2746
2746
|
e = parseFloat(e);
|
2747
2747
|
var a = O(o.min, o.max, e / 100);
|
2748
2748
|
e = a - o.min;
|
@@ -2753,7 +2753,7 @@ function Vs(t, e, r, n, i, s, o) {
|
|
2753
2753
|
}
|
2754
2754
|
}
|
2755
2755
|
function jr(t, e, r, n, i) {
|
2756
|
-
var s =
|
2756
|
+
var s = D(r, 3), o = s[0], a = s[1], u = s[2];
|
2757
2757
|
Vs(t, e[o], e[a], e[u], e.scale, n, i);
|
2758
2758
|
}
|
2759
2759
|
var Ts = ["x", "scaleX", "originX"], Ss = ["y", "scaleY", "originY"];
|
@@ -2854,7 +2854,7 @@ function Jn(t) {
|
|
2854
2854
|
f.isUpdating && (f.isUpdating = !1, f.clearAllSnapshots());
|
2855
2855
|
}, this.updateProjection = function() {
|
2856
2856
|
f.nodes.forEach(Is), f.nodes.forEach(Os);
|
2857
|
-
}, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.id = a, this.latestValues = u, this.root = l ? l.root || l : this, this.path = l ? W(W([],
|
2857
|
+
}, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.id = a, this.latestValues = u, this.root = l ? l.root || l : this, this.path = l ? W(W([], D(l.path), !1), [l], !1) : [], this.parent = l, this.depth = l ? l.depth + 1 : 0, a && this.root.registerPotentialNode(a, this);
|
2858
2858
|
for (var v = 0; v < this.path.length; v++)
|
2859
2859
|
this.path[v].shouldResetTransform = !0;
|
2860
2860
|
this.root === this && (this.nodes = new ws());
|
@@ -2865,7 +2865,7 @@ function Jn(t) {
|
|
2865
2865
|
for (var u = [], l = 1; l < arguments.length; l++)
|
2866
2866
|
u[l - 1] = arguments[l];
|
2867
2867
|
var f = this.eventHandlers.get(a);
|
2868
|
-
f?.notify.apply(f, W([],
|
2868
|
+
f?.notify.apply(f, W([], D(u), !1));
|
2869
2869
|
}, o.prototype.hasListeners = function(a) {
|
2870
2870
|
return this.eventHandlers.has(a);
|
2871
2871
|
}, o.prototype.registerPotentialNode = function(a, u) {
|
@@ -2880,23 +2880,23 @@ function Jn(t) {
|
|
2880
2880
|
return l.root.updateBlockedByResize = !1;
|
2881
2881
|
};
|
2882
2882
|
e(a, function() {
|
2883
|
-
l.root.updateBlockedByResize = !0, clearTimeout(h), h = window.setTimeout(g, 250), wt.hasAnimatedSinceResize && (wt.hasAnimatedSinceResize = !1, l.nodes.forEach(
|
2883
|
+
l.root.updateBlockedByResize = !0, clearTimeout(h), h = window.setTimeout(g, 250), wt.hasAnimatedSinceResize && (wt.hasAnimatedSinceResize = !1, l.nodes.forEach(Ds));
|
2884
2884
|
});
|
2885
2885
|
}
|
2886
2886
|
c && this.root.registerSharedNode(c, this), this.options.animate !== !1 && p && (c || d) && this.addEventListener("didUpdate", function(b) {
|
2887
|
-
var P, S, C, A, I, R = b.delta, x = b.hasLayoutChanged, w = b.hasRelativeTargetChanged,
|
2887
|
+
var P, S, C, A, I, R = b.delta, x = b.hasLayoutChanged, w = b.hasRelativeTargetChanged, M = b.layout;
|
2888
2888
|
if (l.isTreeAnimationBlocked()) {
|
2889
2889
|
l.target = void 0, l.relativeTarget = void 0;
|
2890
2890
|
return;
|
2891
2891
|
}
|
2892
|
-
var z = (S = (P = l.options.transition) !== null && P !== void 0 ? P : p.getDefaultTransition()) !== null && S !== void 0 ? S : _s, B = p.getProps(), N = B.onLayoutAnimationStart, rt = B.onLayoutAnimationComplete, nt = !l.targetLayout || !qn(l.targetLayout,
|
2892
|
+
var z = (S = (P = l.options.transition) !== null && P !== void 0 ? P : p.getDefaultTransition()) !== null && S !== void 0 ? S : _s, B = p.getProps(), N = B.onLayoutAnimationStart, rt = B.onLayoutAnimationComplete, nt = !l.targetLayout || !qn(l.targetLayout, M) || w, it = !x && w;
|
2893
2893
|
if (!((C = l.resumeFrom) === null || C === void 0) && C.instance || it || x && (nt || !l.currentAnimation)) {
|
2894
2894
|
l.resumeFrom && (l.resumingFrom = l.resumeFrom, l.resumingFrom.resumingFrom = void 0), l.setAnimationOrigin(R, it);
|
2895
2895
|
var K = m(m({}, Ke(z, "layout")), { onPlay: N, onComplete: rt });
|
2896
2896
|
p.shouldReduceMotion && (K.delay = 0, K.type = !1), l.startAnimation(K);
|
2897
2897
|
} else
|
2898
2898
|
!x && l.animationProgress === 0 && l.finishAnimation(), l.isLead() && ((I = (A = l.options).onExitComplete) === null || I === void 0 || I.call(A));
|
2899
|
-
l.targetLayout =
|
2899
|
+
l.targetLayout = M;
|
2900
2900
|
});
|
2901
2901
|
}
|
2902
2902
|
}, o.prototype.unmount = function() {
|
@@ -2938,7 +2938,7 @@ function Jn(t) {
|
|
2938
2938
|
this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Hr);
|
2939
2939
|
return;
|
2940
2940
|
}
|
2941
|
-
this.isUpdating && (this.isUpdating = !1, this.potentialNodes.size && (this.potentialNodes.forEach(Ns), this.potentialNodes.clear()), this.nodes.forEach(
|
2941
|
+
this.isUpdating && (this.isUpdating = !1, this.potentialNodes.size && (this.potentialNodes.forEach(Ns), this.potentialNodes.clear()), this.nodes.forEach(Ms), this.nodes.forEach(Es), this.nodes.forEach(Ls), this.clearAllSnapshots(), se.update(), se.preRender(), se.render());
|
2942
2942
|
}, o.prototype.clearAllSnapshots = function() {
|
2943
2943
|
this.nodes.forEach(Rs), this.sharedNodes.forEach(js);
|
2944
2944
|
}, o.prototype.scheduleUpdateProjection = function() {
|
@@ -3046,7 +3046,7 @@ function Jn(t) {
|
|
3046
3046
|
Y(this.layoutCorrected, this.layout.actual), jo(this.layoutCorrected, this.treeScale, this.path, !!this.resumingFrom || this !== v);
|
3047
3047
|
var c = v.target;
|
3048
3048
|
if (c) {
|
3049
|
-
this.projectionDelta || (this.projectionDelta =
|
3049
|
+
this.projectionDelta || (this.projectionDelta = Mt(), this.projectionDeltaWithTransform = Mt());
|
3050
3050
|
var d = this.treeScale.x, p = this.treeScale.y, h = this.projectionTransform;
|
3051
3051
|
Lt(this.projectionDelta, this.layoutCorrected, c, this.latestValues), this.projectionTransform = _r(this.projectionDelta, this.treeScale), (this.projectionTransform !== h || this.treeScale.x !== d || this.treeScale.y !== p) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", c));
|
3052
3052
|
}
|
@@ -3061,7 +3061,7 @@ function Jn(t) {
|
|
3061
3061
|
}, o.prototype.setAnimationOrigin = function(a, u) {
|
3062
3062
|
var l = this, f;
|
3063
3063
|
u === void 0 && (u = !1);
|
3064
|
-
var v = this.snapshot, c = v?.latestValues || {}, d = m({}, this.latestValues), p =
|
3064
|
+
var v = this.snapshot, c = v?.latestValues || {}, d = m({}, this.latestValues), p = Mt();
|
3065
3065
|
this.relativeTarget = this.relativeTargetOrigin = void 0, this.attemptToResolveRelativeTarget = !u;
|
3066
3066
|
var h = j(), g = v?.isShared, b = (((f = this.getStack()) === null || f === void 0 ? void 0 : f.members.length) || 0) <= 1, P = !!(g && !b && this.options.crossfade === !0 && !this.path.some(Us));
|
3067
3067
|
this.animationProgress = 0, this.mixTargetDelta = function(S) {
|
@@ -3153,12 +3153,12 @@ function Jn(t) {
|
|
3153
3153
|
p.transformOrigin = "".concat(C.origin * 100, "% ").concat(A.origin * 100, "% 0"), g.animationValues ? p.opacity = g === this ? (v = (f = P.opacity) !== null && f !== void 0 ? f : this.latestValues.opacity) !== null && v !== void 0 ? v : 1 : this.preserveOpacity ? this.latestValues.opacity : P.opacityExit : p.opacity = g === this ? (c = P.opacity) !== null && c !== void 0 ? c : "" : (d = P.opacityExit) !== null && d !== void 0 ? d : 0;
|
3154
3154
|
for (var I in Zt)
|
3155
3155
|
if (P[I] !== void 0) {
|
3156
|
-
var R = Zt[I], x = R.correct, w = R.applyTo,
|
3156
|
+
var R = Zt[I], x = R.correct, w = R.applyTo, M = x(P[I], g);
|
3157
3157
|
if (w)
|
3158
3158
|
for (var z = w.length, B = 0; B < z; B++)
|
3159
|
-
p[w[B]] =
|
3159
|
+
p[w[B]] = M;
|
3160
3160
|
else
|
3161
|
-
p[I] =
|
3161
|
+
p[I] = M;
|
3162
3162
|
}
|
3163
3163
|
return this.options.layoutId && (p.pointerEvents = g === this ? Wt(a.pointerEvents) || "" : "none"), p;
|
3164
3164
|
}, o.prototype.clearSnapshot = function() {
|
@@ -3186,9 +3186,9 @@ function Ls(t) {
|
|
3186
3186
|
var S = s.isShared ? s.measured[P] : s.layout[P], C = et(a[P]);
|
3187
3187
|
S.max = S.min + C;
|
3188
3188
|
});
|
3189
|
-
var l =
|
3189
|
+
var l = Mt();
|
3190
3190
|
Lt(l, a, s.layout);
|
3191
|
-
var f =
|
3191
|
+
var f = Mt();
|
3192
3192
|
s.isShared ? Lt(f, t.applyTransform(u, !0), s.measured) : Lt(f, a, s.layout);
|
3193
3193
|
var v = !$n(l), c = !1;
|
3194
3194
|
if (!t.resumeFrom && (t.relativeParent = t.getClosestProjectingParent(), t.relativeParent && !t.relativeParent.resumeFrom)) {
|
@@ -3217,11 +3217,11 @@ function Rs(t) {
|
|
3217
3217
|
function Hr(t) {
|
3218
3218
|
t.clearMeasurements();
|
3219
3219
|
}
|
3220
|
-
function
|
3220
|
+
function Ms(t) {
|
3221
3221
|
var e = t.options.visualElement;
|
3222
3222
|
e?.getProps().onBeforeLayoutMeasure && e.notifyBeforeLayoutMeasure(), t.resetTransform();
|
3223
3223
|
}
|
3224
|
-
function
|
3224
|
+
function Ds(t) {
|
3225
3225
|
t.finishAnimation(), t.targetDelta = t.relativeTarget = t.target = void 0;
|
3226
3226
|
}
|
3227
3227
|
function Is(t) {
|
@@ -3314,7 +3314,7 @@ function Qn() {
|
|
3314
3314
|
}, []), t;
|
3315
3315
|
}
|
3316
3316
|
function Gs() {
|
3317
|
-
var t = Qn(), e =
|
3317
|
+
var t = Qn(), e = D(Re(0), 2), r = e[0], n = e[1], i = ye(function() {
|
3318
3318
|
t.current && n(r + 1);
|
3319
3319
|
}, [r]), s = ye(function() {
|
3320
3320
|
return Z.postRender(i);
|
@@ -3390,7 +3390,7 @@ function Xs(t) {
|
|
3390
3390
|
}), e;
|
3391
3391
|
}
|
3392
3392
|
var ru = function(t) {
|
3393
|
-
var e = t.children, r = t.custom, n = t.initial, i = n === void 0 ? !0 : n, s = t.onExitComplete, o = t.exitBeforeEnter, a = t.presenceAffectsLayout, u = a === void 0 ? !0 : a, l =
|
3393
|
+
var e = t.children, r = t.custom, n = t.initial, i = n === void 0 ? !0 : n, s = t.onExitComplete, o = t.exitBeforeEnter, a = t.presenceAffectsLayout, u = a === void 0 ? !0 : a, l = D(Gs(), 1), f = l[0], v = F(De).forceRender;
|
3394
3394
|
v && (f = v);
|
3395
3395
|
var c = Qn(), d = Xs(e), p = d, h = /* @__PURE__ */ new Set(), g = q(p), b = q(/* @__PURE__ */ new Map()).current, P = q(!0);
|
3396
3396
|
if (jt(function() {
|
@@ -3401,7 +3401,7 @@ var ru = function(t) {
|
|
3401
3401
|
return G.createElement(G.Fragment, null, p.map(function(x) {
|
3402
3402
|
return G.createElement(pe, { key: mt(x), isPresent: !0, initial: i ? void 0 : !1, presenceAffectsLayout: u }, x);
|
3403
3403
|
}));
|
3404
|
-
p = W([],
|
3404
|
+
p = W([], D(p), !1);
|
3405
3405
|
for (var S = g.current.map(mt), C = d.map(mt), A = S.length, I = 0; I < A; I++) {
|
3406
3406
|
var R = S[I];
|
3407
3407
|
C.indexOf(R) === -1 && h.add(R);
|
@@ -3410,7 +3410,7 @@ var ru = function(t) {
|
|
3410
3410
|
if (C.indexOf(x) === -1) {
|
3411
3411
|
var w = b.get(x);
|
3412
3412
|
if (w) {
|
3413
|
-
var
|
3413
|
+
var M = S.indexOf(x), z = function() {
|
3414
3414
|
b.delete(x), h.delete(x);
|
3415
3415
|
var B = g.current.findIndex(function(N) {
|
3416
3416
|
return N.key === x;
|
@@ -3421,13 +3421,13 @@ var ru = function(t) {
|
|
3421
3421
|
f(), s && s();
|
3422
3422
|
}
|
3423
3423
|
};
|
3424
|
-
p.splice(
|
3424
|
+
p.splice(M, 0, G.createElement(pe, { key: mt(w), isPresent: !1, onExitComplete: z, custom: r, presenceAffectsLayout: u }, w));
|
3425
3425
|
}
|
3426
3426
|
}
|
3427
3427
|
}), p = p.map(function(x) {
|
3428
3428
|
var w = x.key;
|
3429
3429
|
return h.has(w) ? x : G.createElement(pe, { key: mt(x), isPresent: !0, presenceAffectsLayout: u }, x);
|
3430
|
-
}),
|
3430
|
+
}), Me !== "production" && o && p.length > 1 && console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."), G.createElement(G.Fragment, null, h.size ? p : p.map(function(x) {
|
3431
3431
|
return Ci(x);
|
3432
3432
|
}));
|
3433
3433
|
};
|
@@ -3436,7 +3436,7 @@ function Ws(t) {
|
|
3436
3436
|
return vt(t);
|
3437
3437
|
}), r = F(te).isStatic;
|
3438
3438
|
if (r) {
|
3439
|
-
var n =
|
3439
|
+
var n = D(Re(t), 2), i = n[1];
|
3440
3440
|
H(function() {
|
3441
3441
|
return e.onChange(i);
|
3442
3442
|
}, []);
|
@@ -3477,7 +3477,7 @@ function ti(t, e) {
|
|
3477
3477
|
function nu(t, e, r, n) {
|
3478
3478
|
var i = typeof e == "function" ? e : qs(e, r, n);
|
3479
3479
|
return Array.isArray(t) ? kr(t, i) : kr([t], function(s) {
|
3480
|
-
var o =
|
3480
|
+
var o = D(s, 1), a = o[0];
|
3481
3481
|
return i(a);
|
3482
3482
|
});
|
3483
3483
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import Te from "react";
|
2
|
-
import {
|
2
|
+
import { bp as xe, bq as we, br as ve, bs as lr, bt as Le, bu as Je, bv as tt, bw as at, bx as et, by as lt, bz as rt, bA as Xn, bB as sr, bC as Jn, bD as Dt, bE as Go, bF as dr, bG as eo, bH as to, bI as ao, bJ as ur, bK as Fe, bL as Rt, bM as $o, bN as cr, bO as Yo, bP as Cr, bQ as Uo, bR as Qo, bS as Zo, bT as Xo, bU as Jo } from "./@vendor-C7aZvnhu.js";
|
3
3
|
import { r as Ne, h as ei, g as ti } from "./@moment-C_WeV3Af.js";
|
4
4
|
import './assets/@react-dates.css';var ro = {}, Wt = {}, jt = {}, Mr;
|
5
5
|
function Ve() {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { bV as xt, bW as Bt, bX as Ft, bY as v, bZ as U, b_ as xe, bJ as re, b$ as h, bR as f, c0 as Y, c1 as Vt, c2 as Ue, c3 as Et, c4 as yt, c5 as Wt, c6 as Xt, c7 as Zt, c8 as ne } from "./@vendor-C7aZvnhu.js";
|
2
2
|
import * as y from "react";
|
3
3
|
import { useContext as Nt, useRef as j, useState as ee, createContext as St, useMemo as q, useCallback as D, Component as Rt, Fragment as Be, useEffect as Qe, forwardRef as Ht } from "react";
|
4
4
|
import { createPortal as Tt } from "react-dom";
|
@@ -2,7 +2,7 @@ var v = Object.defineProperty;
|
|
2
2
|
var E = (a, h, e) => h in a ? v(a, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[h] = e;
|
3
3
|
var f = (a, h, e) => E(a, typeof h != "symbol" ? h + "" : h, e);
|
4
4
|
import u, { createRef as k } from "react";
|
5
|
-
import {
|
5
|
+
import { c9 as x } from "./@vendor-C7aZvnhu.js";
|
6
6
|
const b = () => typeof navigator < "u" && /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor) ? "-webkit-sticky" : "sticky";
|
7
7
|
var g;
|
8
8
|
(function(a) {
|