prometeo-design-system 3.1.6 → 4.0.0

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.
Files changed (50) hide show
  1. package/dist/Icons/ReassignmentFill.es.js +1 -1
  2. package/dist/Icons/StarFill.d.ts +6 -0
  3. package/dist/Icons/StarFill.es.js +19 -0
  4. package/dist/Icons/components/StarFill.d.ts +4 -0
  5. package/dist/Icons/index.d.ts +1 -0
  6. package/dist/Icons/types.d.ts +4 -2
  7. package/dist/Icons.es.js +18 -16
  8. package/dist/Input.es.js +56 -52
  9. package/dist/PyrionLayout.d.ts +6 -0
  10. package/dist/PyrionLayout.es.js +1308 -0
  11. package/dist/RecurrentDatePicker.es.js +1 -1
  12. package/dist/Scrollable.es.js +118 -86
  13. package/dist/components/Input/Input.d.ts +1 -0
  14. package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +18 -11
  15. package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +1 -0
  16. package/dist/components/NavigationDrawer/NavigationDrawerActions.d.ts +3 -2
  17. package/dist/components/NavigationDrawer/NavigationDrawerSidebar.d.ts +11 -0
  18. package/dist/components/NotificationCard/NotificationCard.d.ts +3 -2
  19. package/dist/components/PyrionNavigationDrawer/PLContent.d.ts +10 -0
  20. package/dist/components/PyrionNavigationDrawer/PLFooter.d.ts +20 -0
  21. package/dist/components/PyrionNavigationDrawer/PLHeader.d.ts +10 -0
  22. package/dist/components/PyrionNavigationDrawer/PLHelpSection.d.ts +8 -0
  23. package/dist/components/PyrionNavigationDrawer/{PyrionNavigationDrawerMobileAppSwitcher.d.ts → PLMobileAppSwitcher.d.ts} +3 -3
  24. package/dist/components/PyrionNavigationDrawer/PLNotificationsList.d.ts +15 -0
  25. package/dist/components/PyrionNavigationDrawer/PLSidebar.d.ts +12 -0
  26. package/dist/components/PyrionNavigationDrawer/PLSidebarContent.d.ts +17 -0
  27. package/dist/components/PyrionNavigationDrawer/{PyrionNavigationDrawerSystemLogo.d.ts → PLSystemLogo.d.ts} +1 -1
  28. package/dist/components/PyrionNavigationDrawer/PLSystemSessions.d.ts +14 -0
  29. package/dist/components/PyrionNavigationDrawer/PLayoutBase.d.ts +41 -0
  30. package/dist/components/PyrionNavigationDrawer/PyrionLayout.d.ts +143 -0
  31. package/dist/components/PyrionNavigationDrawer/index.d.ts +3 -2
  32. package/dist/components/Scrollable/Scrollable.d.ts +1 -0
  33. package/dist/exports/PyrionLayout.d.ts +2 -0
  34. package/dist/exports/usePyrionNavigation.d.ts +1 -1
  35. package/dist/prometeo-design-system.es.js +2423 -402
  36. package/dist/styles.css +1 -1
  37. package/dist/usePyrionNavigation.es.js +1 -1
  38. package/package.json +5 -13
  39. package/dist/LayoutGeneric-CfWhV1ov.js +0 -26
  40. package/dist/LayoutGeneric.d.ts +0 -6
  41. package/dist/LayoutGeneric.es.js +0 -4
  42. package/dist/PyrionNavigationDrawer.d.ts +0 -6
  43. package/dist/PyrionNavigationDrawer.es.js +0 -962
  44. package/dist/components/PyrionNavigationDrawer/PyrionHelpSection.d.ts +0 -8
  45. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawer.d.ts +0 -130
  46. package/dist/components/PyrionNavigationDrawer/PyrionNotificationsList.d.ts +0 -8
  47. package/dist/components/PyrionNavigationDrawer/SidebarContent.d.ts +0 -13
  48. package/dist/components/PyrionNavigationDrawer/SystemSessions.d.ts +0 -12
  49. package/dist/exports/LayoutGeneric.d.ts +0 -2
  50. package/dist/exports/PyrionNavigationDrawer.d.ts +0 -2
@@ -1,61 +1,2082 @@
1
- import { default as ke } from "./Avatar.es.js";
2
- import { default as Be } from "./Button.es.js";
3
- import { C as Le, a as Pe } from "./CardProfile-y9Knsg26.js";
4
- import { default as Ae } from "./CheckBox.es.js";
5
- import { default as De, useDialogControl as ze } from "./DialogModal.es.js";
6
- import { default as Oe, useDrawerDesktop as He } from "./DrawerDesktop.es.js";
7
- import { default as $e, useDrawerMobile as Me } from "./DrawerMobile.es.js";
8
- import { default as Ue } from "./Header.es.js";
9
- import { default as Ve } from "./Input.es.js";
10
- import { default as Xe } from "./InputMultiple.es.js";
11
- import { default as Je } from "./Logo.es.js";
12
- import { default as Qe } from "./Menu.es.js";
13
- import { default as et } from "./Pagination.es.js";
14
- import { default as rt } from "./ProfilePictureUpload.es.js";
15
- import { default as ot } from "./ProgressBar.es.js";
16
- import { default as it } from "./Select.es.js";
17
- import { default as lt } from "./Spinner.es.js";
18
- import { default as ut } from "./Steps.es.js";
19
- import { default as ft } from "./SwipeContainer.es.js";
20
- import { default as mt } from "./Switch.es.js";
21
- import { D as bt } from "./DatePicker-6eb-0Ns5.js";
22
- import { RecurrentDatePicker as vt } from "./RecurrentDatePicker.es.js";
23
- import { RecurrentDatePickerRRule as gt } from "./RecurrentDatePickerRRule.es.js";
24
- import { Table as jt, TableBody as Nt, TableCaption as St, TableCell as Ct, TableFooter as kt, TableHead as It, TableHeader as Bt, TableRow as Rt } from "./Table.es.js";
25
- import { default as Pt } from "./TabLinks.es.js";
26
- import { default as At } from "./TextArea.es.js";
27
- import { default as Dt } from "./Tooltip.es.js";
28
- import { default as Et } from "./Skeleton.es.js";
29
- import { default as Ht } from "./SegmentedButton.es.js";
30
- import { u as C } from "./LayoutGeneric-CfWhV1ov.js";
31
- import { L as $t, S as Mt } from "./LayoutGeneric-CfWhV1ov.js";
32
- import { I as Ut } from "./ImageGallery-DG9ovlQ-.js";
33
- import { default as Vt } from "./Image.es.js";
34
- import { default as Xt, toastpyrion as Zt } from "./Toast.es.js";
35
- import { default as Kt } from "./ToastProvider.es.js";
36
- import { default as Yt } from "./SelectSearch.es.js";
37
- import { default as tr } from "./FAButton.es.js";
38
- import { default as ar } from "./RadioButton.es.js";
39
- import { j as r } from "./jsx-runtime-GkKLlHH4.js";
40
- import { c } from "./cn-B6yFEsav.js";
41
- import P, { useRef as v, useState as w, useLayoutEffect as q, createContext as A, useContext as T, forwardRef as k, useCallback as D, useEffect as j } from "react";
42
- import { useGSAP as I } from "@gsap/react";
43
- import d from "gsap";
44
- import { T as z, B } from "./badge-B1IK_-i5.js";
45
- import { CloseNavBarDesktop as h } from "./Icons/CloseNavBarDesktop.es.js";
46
- import { motion as b, AnimatePresence as E } from "framer-motion";
47
- import { default as nr } from "./OtpInput.es.js";
48
- import { useDropzone as O } from "react-dropzone";
49
- import { useIsMobile as sr } from "./useDevice.es.js";
50
- import { default as cr } from "./DropZone.es.js";
51
- const H = (t, e) => {
52
- I(
1
+ import { default as pa } from "./Avatar.es.js";
2
+ import { default as ga } from "./Button.es.js";
3
+ import { C as xa, a as va } from "./CardProfile-y9Knsg26.js";
4
+ import { default as wa } from "./CheckBox.es.js";
5
+ import { default as Sa, useDialogControl as Ca } from "./DialogModal.es.js";
6
+ import { default as ka, useDrawerDesktop as Oa } from "./DrawerDesktop.es.js";
7
+ import { default as Da, useDrawerMobile as Ma } from "./DrawerMobile.es.js";
8
+ import { default as Na } from "./Header.es.js";
9
+ import { default as za } from "./Input.es.js";
10
+ import { default as La } from "./InputMultiple.es.js";
11
+ import { default as ja } from "./Logo.es.js";
12
+ import { default as qa } from "./Menu.es.js";
13
+ import { default as Ua } from "./Pagination.es.js";
14
+ import { default as Wa } from "./ProfilePictureUpload.es.js";
15
+ import { default as Ga } from "./ProgressBar.es.js";
16
+ import { default as Ha } from "./Select.es.js";
17
+ import { default as Za } from "./Spinner.es.js";
18
+ import { default as Ja } from "./Steps.es.js";
19
+ import { default as eo } from "./SwipeContainer.es.js";
20
+ import { default as io } from "./Switch.es.js";
21
+ import { D as so } from "./DatePicker-6eb-0Ns5.js";
22
+ import { RecurrentDatePicker as oo } from "./RecurrentDatePicker.es.js";
23
+ import { RecurrentDatePickerRRule as lo } from "./RecurrentDatePickerRRule.es.js";
24
+ import { Table as co, TableBody as ho, TableCaption as _o, TableCell as po, TableFooter as mo, TableHead as go, TableHeader as yo, TableRow as xo } from "./Table.es.js";
25
+ import { default as bo } from "./TabLinks.es.js";
26
+ import { default as To } from "./TextArea.es.js";
27
+ import { default as Co } from "./Tooltip.es.js";
28
+ import { default as ko } from "./Skeleton.es.js";
29
+ import { default as Ro } from "./SegmentedButton.es.js";
30
+ import { j as P } from "./jsx-runtime-GkKLlHH4.js";
31
+ import rn, { useRef as _t, createContext as Hr, useContext as Kr, memo as nn, useLayoutEffect as Zr, useEffect as Ce, useState as Ge, forwardRef as Qr, useCallback as sn } from "react";
32
+ import { I as Mo } from "./ImageGallery-DG9ovlQ-.js";
33
+ import { default as No } from "./Image.es.js";
34
+ import { default as zo, toastpyrion as Io } from "./Toast.es.js";
35
+ import { default as Fo } from "./ToastProvider.es.js";
36
+ import { default as Bo } from "./SelectSearch.es.js";
37
+ import { default as Vo } from "./FAButton.es.js";
38
+ import { default as Yo } from "./RadioButton.es.js";
39
+ import { c as et } from "./cn-B6yFEsav.js";
40
+ import { T as an, B as Jr } from "./badge-B1IK_-i5.js";
41
+ import { CloseNavBarDesktop as Pe } from "./Icons/CloseNavBarDesktop.es.js";
42
+ import { motion as Ft, AnimatePresence as on } from "framer-motion";
43
+ import { default as Xo } from "./OtpInput.es.js";
44
+ import { useDropzone as un } from "react-dropzone";
45
+ import { useIsMobile as $o } from "./useDevice.es.js";
46
+ import { default as Ko } from "./DropZone.es.js";
47
+ const ti = Hr(null), ln = ({ children: o }) => {
48
+ const t = _t(null), e = _t(null), r = (n) => {
49
+ n.current && t && (t.current = n.current);
50
+ }, i = (n) => {
51
+ n.current && e && (e.current = n.current);
52
+ };
53
+ return /* @__PURE__ */ P.jsx(ti.Provider, { value: { primarySidebarRef: t, registerPrimarySidebar: r, tabBarRef: e, registerTabBar: i }, children: o });
54
+ }, ei = () => {
55
+ const o = Kr(ti);
56
+ if (!o)
57
+ throw new Error("useSidebarContext must be used within a SidebarProvider");
58
+ return o;
59
+ }, fn = ({
60
+ children: o,
61
+ sidebar: t
62
+ }) => /* @__PURE__ */ P.jsxs("div", { className: "flex h-screen w-full bg-neutral-default-default", children: [
63
+ /* @__PURE__ */ P.jsx(ln, { children: t }),
64
+ /* @__PURE__ */ P.jsx("main", { className: "w-full h-full overflow-y-auto", children: o })
65
+ ] }), ta = nn(fn);
66
+ function vt(o) {
67
+ if (o === void 0)
68
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
69
+ return o;
70
+ }
71
+ function ri(o, t) {
72
+ o.prototype = Object.create(t.prototype), o.prototype.constructor = o, o.__proto__ = t;
73
+ }
74
+ var ot = {
75
+ autoSleep: 120,
76
+ force3D: "auto",
77
+ nullTargetWarn: 1,
78
+ units: {
79
+ lineHeight: ""
80
+ }
81
+ }, Zt = {
82
+ duration: 0.5,
83
+ overwrite: !1,
84
+ delay: 0
85
+ }, lr, X, N, ct = 1e8, R = 1 / ct, $e = Math.PI * 2, cn = $e / 4, hn = 0, ii = Math.sqrt, dn = Math.cos, _n = Math.sin, U = function(t) {
86
+ return typeof t == "string";
87
+ }, L = function(t) {
88
+ return typeof t == "function";
89
+ }, wt = function(t) {
90
+ return typeof t == "number";
91
+ }, fr = function(t) {
92
+ return typeof t > "u";
93
+ }, yt = function(t) {
94
+ return typeof t == "object";
95
+ }, Z = function(t) {
96
+ return t !== !1;
97
+ }, cr = function() {
98
+ return typeof window < "u";
99
+ }, ve = function(t) {
100
+ return L(t) || U(t);
101
+ }, ni = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
102
+ }, $ = Array.isArray, pn = /random\([^)]+\)/g, mn = /,\s*/g, Or = /(?:-?\.?\d|\.)+/gi, si = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, Xt = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, je = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, ai = /[+-]=-?[.\d]+/, gn = /[^,'"\[\]\s]+/gi, yn = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, z, pt, He, hr, ut = {}, ke = {}, oi, ui = function(t) {
103
+ return (ke = Qt(t, ut)) && rt;
104
+ }, dr = function(t, e) {
105
+ return console.warn("Invalid property", t, "set to", e, "Missing plugin? gsap.registerPlugin()");
106
+ }, ce = function(t, e) {
107
+ return !e && console.warn(t);
108
+ }, li = function(t, e) {
109
+ return t && (ut[t] = e) && ke && (ke[t] = e) || ut;
110
+ }, he = function() {
111
+ return 0;
112
+ }, xn = {
113
+ suppressEvents: !0,
114
+ isStart: !0,
115
+ kill: !1
116
+ }, we = {
117
+ suppressEvents: !0,
118
+ kill: !1
119
+ }, vn = {
120
+ suppressEvents: !0
121
+ }, _r = {}, kt = [], Ke = {}, fi, it = {}, Be = {}, Rr = 30, Te = [], pr = "", mr = function(t) {
122
+ var e = t[0], r, i;
123
+ if (yt(e) || L(e) || (t = [t]), !(r = (e._gsap || {}).harness)) {
124
+ for (i = Te.length; i-- && !Te[i].targetTest(e); )
125
+ ;
126
+ r = Te[i];
127
+ }
128
+ for (i = t.length; i--; )
129
+ t[i] && (t[i]._gsap || (t[i]._gsap = new Ei(t[i], r))) || t.splice(i, 1);
130
+ return t;
131
+ }, Bt = function(t) {
132
+ return t._gsap || mr(ht(t))[0]._gsap;
133
+ }, ci = function(t, e, r) {
134
+ return (r = t[e]) && L(r) ? t[e]() : fr(r) && t.getAttribute && t.getAttribute(e) || r;
135
+ }, Q = function(t, e) {
136
+ return (t = t.split(",")).forEach(e) || t;
137
+ }, F = function(t) {
138
+ return Math.round(t * 1e5) / 1e5 || 0;
139
+ }, E = function(t) {
140
+ return Math.round(t * 1e7) / 1e7 || 0;
141
+ }, $t = function(t, e) {
142
+ var r = e.charAt(0), i = parseFloat(e.substr(2));
143
+ return t = parseFloat(t), r === "+" ? t + i : r === "-" ? t - i : r === "*" ? t * i : t / i;
144
+ }, bn = function(t, e) {
145
+ for (var r = e.length, i = 0; t.indexOf(e[i]) < 0 && ++i < r; )
146
+ ;
147
+ return i < r;
148
+ }, Oe = function() {
149
+ var t = kt.length, e = kt.slice(0), r, i;
150
+ for (Ke = {}, kt.length = 0, r = 0; r < t; r++)
151
+ i = e[r], i && i._lazy && (i.render(i._lazy[0], i._lazy[1], !0)._lazy = 0);
152
+ }, gr = function(t) {
153
+ return !!(t._initted || t._startAt || t.add);
154
+ }, hi = function(t, e, r, i) {
155
+ kt.length && !X && Oe(), t.render(e, r, !!(X && e < 0 && gr(t))), kt.length && !X && Oe();
156
+ }, di = function(t) {
157
+ var e = parseFloat(t);
158
+ return (e || e === 0) && (t + "").match(gn).length < 2 ? e : U(t) ? t.trim() : t;
159
+ }, _i = function(t) {
160
+ return t;
161
+ }, lt = function(t, e) {
162
+ for (var r in e)
163
+ r in t || (t[r] = e[r]);
164
+ return t;
165
+ }, wn = function(t) {
166
+ return function(e, r) {
167
+ for (var i in r)
168
+ i in e || i === "duration" && t || i === "ease" || (e[i] = r[i]);
169
+ };
170
+ }, Qt = function(t, e) {
171
+ for (var r in e)
172
+ t[r] = e[r];
173
+ return t;
174
+ }, Dr = function o(t, e) {
175
+ for (var r in e)
176
+ r !== "__proto__" && r !== "constructor" && r !== "prototype" && (t[r] = yt(e[r]) ? o(t[r] || (t[r] = {}), e[r]) : e[r]);
177
+ return t;
178
+ }, Re = function(t, e) {
179
+ var r = {}, i;
180
+ for (i in t)
181
+ i in e || (r[i] = t[i]);
182
+ return r;
183
+ }, ue = function(t) {
184
+ var e = t.parent || z, r = t.keyframes ? wn($(t.keyframes)) : lt;
185
+ if (Z(t.inherit))
186
+ for (; e; )
187
+ r(t, e.vars.defaults), e = e.parent || e._dp;
188
+ return t;
189
+ }, Tn = function(t, e) {
190
+ for (var r = t.length, i = r === e.length; i && r-- && t[r] === e[r]; )
191
+ ;
192
+ return r < 0;
193
+ }, pi = function(t, e, r, i, n) {
194
+ var s = t[i], a;
195
+ if (n)
196
+ for (a = e[n]; s && s[n] > a; )
197
+ s = s._prev;
198
+ return s ? (e._next = s._next, s._next = e) : (e._next = t[r], t[r] = e), e._next ? e._next._prev = e : t[i] = e, e._prev = s, e.parent = e._dp = t, e;
199
+ }, ze = function(t, e, r, i) {
200
+ r === void 0 && (r = "_first"), i === void 0 && (i = "_last");
201
+ var n = e._prev, s = e._next;
202
+ n ? n._next = s : t[r] === e && (t[r] = s), s ? s._prev = n : t[i] === e && (t[i] = n), e._next = e._prev = e.parent = null;
203
+ }, Rt = function(t, e) {
204
+ t.parent && (!e || t.parent.autoRemoveChildren) && t.parent.remove && t.parent.remove(t), t._act = 0;
205
+ }, qt = function(t, e) {
206
+ if (t && (!e || e._end > t._dur || e._start < 0))
207
+ for (var r = t; r; )
208
+ r._dirty = 1, r = r.parent;
209
+ return t;
210
+ }, Sn = function(t) {
211
+ for (var e = t.parent; e && e.parent; )
212
+ e._dirty = 1, e.totalDuration(), e = e.parent;
213
+ return t;
214
+ }, Ze = function(t, e, r, i) {
215
+ return t._startAt && (X ? t._startAt.revert(we) : t.vars.immediateRender && !t.vars.autoRevert || t._startAt.render(e, !0, i));
216
+ }, Cn = function o(t) {
217
+ return !t || t._ts && o(t.parent);
218
+ }, Mr = function(t) {
219
+ return t._repeat ? Jt(t._tTime, t = t.duration() + t._rDelay) * t : 0;
220
+ }, Jt = function(t, e) {
221
+ var r = Math.floor(t = E(t / e));
222
+ return t && r === t ? r - 1 : r;
223
+ }, De = function(t, e) {
224
+ return (t - e._start) * e._ts + (e._ts >= 0 ? 0 : e._dirty ? e.totalDuration() : e._tDur);
225
+ }, Ie = function(t) {
226
+ return t._end = E(t._start + (t._tDur / Math.abs(t._ts || t._rts || R) || 0));
227
+ }, Le = function(t, e) {
228
+ var r = t._dp;
229
+ return r && r.smoothChildTiming && t._ts && (t._start = E(r._time - (t._ts > 0 ? e / t._ts : ((t._dirty ? t.totalDuration() : t._tDur) - e) / -t._ts)), Ie(t), r._dirty || qt(r, t)), t;
230
+ }, mi = function(t, e) {
231
+ var r;
232
+ if ((e._time || !e._dur && e._initted || e._start < t._time && (e._dur || !e.add)) && (r = De(t.rawTime(), e), (!e._dur || ye(0, e.totalDuration(), r) - e._tTime > R) && e.render(r, !0)), qt(t, e)._dp && t._initted && t._time >= t._dur && t._ts) {
233
+ if (t._dur < t.duration())
234
+ for (r = t; r._dp; )
235
+ r.rawTime() >= 0 && r.totalTime(r._tTime), r = r._dp;
236
+ t._zTime = -R;
237
+ }
238
+ }, mt = function(t, e, r, i) {
239
+ return e.parent && Rt(e), e._start = E((wt(r) ? r : r || t !== z ? ft(t, r, e) : t._time) + e._delay), e._end = E(e._start + (e.totalDuration() / Math.abs(e.timeScale()) || 0)), pi(t, e, "_first", "_last", t._sort ? "_start" : 0), Qe(e) || (t._recent = e), i || mi(t, e), t._ts < 0 && Le(t, t._tTime), t;
240
+ }, gi = function(t, e) {
241
+ return (ut.ScrollTrigger || dr("scrollTrigger", e)) && ut.ScrollTrigger.create(e, t);
242
+ }, yi = function(t, e, r, i, n) {
243
+ if (xr(t, e, n), !t._initted)
244
+ return 1;
245
+ if (!r && t._pt && !X && (t._dur && t.vars.lazy !== !1 || !t._dur && t.vars.lazy) && fi !== nt.frame)
246
+ return kt.push(t), t._lazy = [n, i], 1;
247
+ }, Pn = function o(t) {
248
+ var e = t.parent;
249
+ return e && e._ts && e._initted && !e._lock && (e.rawTime() < 0 || o(e));
250
+ }, Qe = function(t) {
251
+ var e = t.data;
252
+ return e === "isFromStart" || e === "isStart";
253
+ }, kn = function(t, e, r, i) {
254
+ var n = t.ratio, s = e < 0 || !e && (!t._start && Pn(t) && !(!t._initted && Qe(t)) || (t._ts < 0 || t._dp._ts < 0) && !Qe(t)) ? 0 : 1, a = t._rDelay, u = 0, l, f, h;
255
+ if (a && t._repeat && (u = ye(0, t._tDur, e), f = Jt(u, a), t._yoyo && f & 1 && (s = 1 - s), f !== Jt(t._tTime, a) && (n = 1 - s, t.vars.repeatRefresh && t._initted && t.invalidate())), s !== n || X || i || t._zTime === R || !e && t._zTime) {
256
+ if (!t._initted && yi(t, e, i, r, u))
257
+ return;
258
+ for (h = t._zTime, t._zTime = e || (r ? R : 0), r || (r = e && !h), t.ratio = s, t._from && (s = 1 - s), t._time = 0, t._tTime = u, l = t._pt; l; )
259
+ l.r(s, l.d), l = l._next;
260
+ e < 0 && Ze(t, e, r, !0), t._onUpdate && !r && st(t, "onUpdate"), u && t._repeat && !r && t.parent && st(t, "onRepeat"), (e >= t._tDur || e < 0) && t.ratio === s && (s && Rt(t, 1), !r && !X && (st(t, s ? "onComplete" : "onReverseComplete", !0), t._prom && t._prom()));
261
+ } else t._zTime || (t._zTime = e);
262
+ }, On = function(t, e, r) {
263
+ var i;
264
+ if (r > e)
265
+ for (i = t._first; i && i._start <= r; ) {
266
+ if (i.data === "isPause" && i._start > e)
267
+ return i;
268
+ i = i._next;
269
+ }
270
+ else
271
+ for (i = t._last; i && i._start >= r; ) {
272
+ if (i.data === "isPause" && i._start < e)
273
+ return i;
274
+ i = i._prev;
275
+ }
276
+ }, te = function(t, e, r, i) {
277
+ var n = t._repeat, s = E(e) || 0, a = t._tTime / t._tDur;
278
+ return a && !i && (t._time *= s / t._dur), t._dur = s, t._tDur = n ? n < 0 ? 1e10 : E(s * (n + 1) + t._rDelay * n) : s, a > 0 && !i && Le(t, t._tTime = t._tDur * a), t.parent && Ie(t), r || qt(t.parent, t), t;
279
+ }, Ar = function(t) {
280
+ return t instanceof H ? qt(t) : te(t, t._dur);
281
+ }, Rn = {
282
+ _start: 0,
283
+ endTime: he,
284
+ totalDuration: he
285
+ }, ft = function o(t, e, r) {
286
+ var i = t.labels, n = t._recent || Rn, s = t.duration() >= ct ? n.endTime(!1) : t._dur, a, u, l;
287
+ return U(e) && (isNaN(e) || e in i) ? (u = e.charAt(0), l = e.substr(-1) === "%", a = e.indexOf("="), u === "<" || u === ">" ? (a >= 0 && (e = e.replace(/=/, "")), (u === "<" ? n._start : n.endTime(n._repeat >= 0)) + (parseFloat(e.substr(1)) || 0) * (l ? (a < 0 ? n : r).totalDuration() / 100 : 1)) : a < 0 ? (e in i || (i[e] = s), i[e]) : (u = parseFloat(e.charAt(a - 1) + e.substr(a + 1)), l && r && (u = u / 100 * ($(r) ? r[0] : r).totalDuration()), a > 1 ? o(t, e.substr(0, a - 1), r) + u : s + u)) : e == null ? s : +e;
288
+ }, le = function(t, e, r) {
289
+ var i = wt(e[1]), n = (i ? 2 : 1) + (t < 2 ? 0 : 1), s = e[n], a, u;
290
+ if (i && (s.duration = e[1]), s.parent = r, t) {
291
+ for (a = s, u = r; u && !("immediateRender" in a); )
292
+ a = u.vars.defaults || {}, u = Z(u.vars.inherit) && u.parent;
293
+ s.immediateRender = Z(a.immediateRender), t < 2 ? s.runBackwards = 1 : s.startAt = e[n - 1];
294
+ }
295
+ return new B(e[0], s, e[n + 1]);
296
+ }, At = function(t, e) {
297
+ return t || t === 0 ? e(t) : e;
298
+ }, ye = function(t, e, r) {
299
+ return r < t ? t : r > e ? e : r;
300
+ }, G = function(t, e) {
301
+ return !U(t) || !(e = yn.exec(t)) ? "" : e[1];
302
+ }, Dn = function(t, e, r) {
303
+ return At(r, function(i) {
304
+ return ye(t, e, i);
305
+ });
306
+ }, Je = [].slice, xi = function(t, e) {
307
+ return t && yt(t) && "length" in t && (!e && !t.length || t.length - 1 in t && yt(t[0])) && !t.nodeType && t !== pt;
308
+ }, Mn = function(t, e, r) {
309
+ return r === void 0 && (r = []), t.forEach(function(i) {
310
+ var n;
311
+ return U(i) && !e || xi(i, 1) ? (n = r).push.apply(n, ht(i)) : r.push(i);
312
+ }) || r;
313
+ }, ht = function(t, e, r) {
314
+ return N && !e && N.selector ? N.selector(t) : U(t) && !r && (He || !ee()) ? Je.call((e || hr).querySelectorAll(t), 0) : $(t) ? Mn(t, r) : xi(t) ? Je.call(t, 0) : t ? [t] : [];
315
+ }, tr = function(t) {
316
+ return t = ht(t)[0] || ce("Invalid scope") || {}, function(e) {
317
+ var r = t.current || t.nativeElement || t;
318
+ return ht(e, r.querySelectorAll ? r : r === t ? ce("Invalid scope") || hr.createElement("div") : t);
319
+ };
320
+ }, vi = function(t) {
321
+ return t.sort(function() {
322
+ return 0.5 - Math.random();
323
+ });
324
+ }, bi = function(t) {
325
+ if (L(t))
326
+ return t;
327
+ var e = yt(t) ? t : {
328
+ each: t
329
+ }, r = Vt(e.ease), i = e.from || 0, n = parseFloat(e.base) || 0, s = {}, a = i > 0 && i < 1, u = isNaN(i) || a, l = e.axis, f = i, h = i;
330
+ return U(i) ? f = h = {
331
+ center: 0.5,
332
+ edges: 0.5,
333
+ end: 1
334
+ }[i] || 0 : !a && u && (f = i[0], h = i[1]), function(d, _, p) {
335
+ var c = (p || e).length, m = s[c], y, x, b, w, g, T, S, C, v;
336
+ if (!m) {
337
+ if (v = e.grid === "auto" ? 0 : (e.grid || [1, ct])[1], !v) {
338
+ for (S = -ct; S < (S = p[v++].getBoundingClientRect().left) && v < c; )
339
+ ;
340
+ v < c && v--;
341
+ }
342
+ for (m = s[c] = [], y = u ? Math.min(v, c) * f - 0.5 : i % v, x = v === ct ? 0 : u ? c * h / v - 0.5 : i / v | 0, S = 0, C = ct, T = 0; T < c; T++)
343
+ b = T % v - y, w = x - (T / v | 0), m[T] = g = l ? Math.abs(l === "y" ? w : b) : ii(b * b + w * w), g > S && (S = g), g < C && (C = g);
344
+ i === "random" && vi(m), m.max = S - C, m.min = C, m.v = c = (parseFloat(e.amount) || parseFloat(e.each) * (v > c ? c - 1 : l ? l === "y" ? c / v : v : Math.max(v, c / v)) || 0) * (i === "edges" ? -1 : 1), m.b = c < 0 ? n - c : n, m.u = G(e.amount || e.each) || 0, r = r && c < 0 ? Mi(r) : r;
345
+ }
346
+ return c = (m[d] - m.min) / m.max || 0, E(m.b + (r ? r(c) : c) * m.v) + m.u;
347
+ };
348
+ }, er = function(t) {
349
+ var e = Math.pow(10, ((t + "").split(".")[1] || "").length);
350
+ return function(r) {
351
+ var i = E(Math.round(parseFloat(r) / t) * t * e);
352
+ return (i - i % 1) / e + (wt(r) ? 0 : G(r));
353
+ };
354
+ }, wi = function(t, e) {
355
+ var r = $(t), i, n;
356
+ return !r && yt(t) && (i = r = t.radius || ct, t.values ? (t = ht(t.values), (n = !wt(t[0])) && (i *= i)) : t = er(t.increment)), At(e, r ? L(t) ? function(s) {
357
+ return n = t(s), Math.abs(n - s) <= i ? n : s;
358
+ } : function(s) {
359
+ for (var a = parseFloat(n ? s.x : s), u = parseFloat(n ? s.y : 0), l = ct, f = 0, h = t.length, d, _; h--; )
360
+ n ? (d = t[h].x - a, _ = t[h].y - u, d = d * d + _ * _) : d = Math.abs(t[h] - a), d < l && (l = d, f = h);
361
+ return f = !i || l <= i ? t[f] : s, n || f === s || wt(s) ? f : f + G(s);
362
+ } : er(t));
363
+ }, Ti = function(t, e, r, i) {
364
+ return At($(t) ? !e : r === !0 ? !!(r = 0) : !i, function() {
365
+ return $(t) ? t[~~(Math.random() * t.length)] : (r = r || 1e-5) && (i = r < 1 ? Math.pow(10, (r + "").length - 2) : 1) && Math.floor(Math.round((t - r / 2 + Math.random() * (e - t + r * 0.99)) / r) * r * i) / i;
366
+ });
367
+ }, An = function() {
368
+ for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
369
+ e[r] = arguments[r];
370
+ return function(i) {
371
+ return e.reduce(function(n, s) {
372
+ return s(n);
373
+ }, i);
374
+ };
375
+ }, Nn = function(t, e) {
376
+ return function(r) {
377
+ return t(parseFloat(r)) + (e || G(r));
378
+ };
379
+ }, En = function(t, e, r) {
380
+ return Ci(t, e, 0, 1, r);
381
+ }, Si = function(t, e, r) {
382
+ return At(r, function(i) {
383
+ return t[~~e(i)];
384
+ });
385
+ }, zn = function o(t, e, r) {
386
+ var i = e - t;
387
+ return $(t) ? Si(t, o(0, t.length), e) : At(r, function(n) {
388
+ return (i + (n - t) % i) % i + t;
389
+ });
390
+ }, In = function o(t, e, r) {
391
+ var i = e - t, n = i * 2;
392
+ return $(t) ? Si(t, o(0, t.length - 1), e) : At(r, function(s) {
393
+ return s = (n + (s - t) % n) % n || 0, t + (s > i ? n - s : s);
394
+ });
395
+ }, de = function(t) {
396
+ return t.replace(pn, function(e) {
397
+ var r = e.indexOf("[") + 1, i = e.substring(r || 7, r ? e.indexOf("]") : e.length - 1).split(mn);
398
+ return Ti(r ? i : +i[0], r ? 0 : +i[1], +i[2] || 1e-5);
399
+ });
400
+ }, Ci = function(t, e, r, i, n) {
401
+ var s = e - t, a = i - r;
402
+ return At(n, function(u) {
403
+ return r + ((u - t) / s * a || 0);
404
+ });
405
+ }, Ln = function o(t, e, r, i) {
406
+ var n = isNaN(t + e) ? 0 : function(_) {
407
+ return (1 - _) * t + _ * e;
408
+ };
409
+ if (!n) {
410
+ var s = U(t), a = {}, u, l, f, h, d;
411
+ if (r === !0 && (i = 1) && (r = null), s)
412
+ t = {
413
+ p: t
414
+ }, e = {
415
+ p: e
416
+ };
417
+ else if ($(t) && !$(e)) {
418
+ for (f = [], h = t.length, d = h - 2, l = 1; l < h; l++)
419
+ f.push(o(t[l - 1], t[l]));
420
+ h--, n = function(p) {
421
+ p *= h;
422
+ var c = Math.min(d, ~~p);
423
+ return f[c](p - c);
424
+ }, r = e;
425
+ } else i || (t = Qt($(t) ? [] : {}, t));
426
+ if (!f) {
427
+ for (u in e)
428
+ yr.call(a, t, u, "get", e[u]);
429
+ n = function(p) {
430
+ return wr(p, a) || (s ? t.p : t);
431
+ };
432
+ }
433
+ }
434
+ return At(r, n);
435
+ }, Nr = function(t, e, r) {
436
+ var i = t.labels, n = ct, s, a, u;
437
+ for (s in i)
438
+ a = i[s] - e, a < 0 == !!r && a && n > (a = Math.abs(a)) && (u = s, n = a);
439
+ return u;
440
+ }, st = function(t, e, r) {
441
+ var i = t.vars, n = i[e], s = N, a = t._ctx, u, l, f;
442
+ if (n)
443
+ return u = i[e + "Params"], l = i.callbackScope || t, r && kt.length && Oe(), a && (N = a), f = u ? n.apply(l, u) : n.call(l), N = s, f;
444
+ }, ae = function(t) {
445
+ return Rt(t), t.scrollTrigger && t.scrollTrigger.kill(!!X), t.progress() < 1 && st(t, "onInterrupt"), t;
446
+ }, Gt, Pi = [], ki = function(t) {
447
+ if (t)
448
+ if (t = !t.name && t.default || t, cr() || t.headless) {
449
+ var e = t.name, r = L(t), i = e && !r && t.init ? function() {
450
+ this._props = [];
451
+ } : t, n = {
452
+ init: he,
453
+ render: wr,
454
+ add: yr,
455
+ kill: Jn,
456
+ modifier: Qn,
457
+ rawVars: 0
458
+ }, s = {
459
+ targetTest: 0,
460
+ get: 0,
461
+ getSetter: br,
462
+ aliases: {},
463
+ register: 0
464
+ };
465
+ if (ee(), t !== i) {
466
+ if (it[e])
467
+ return;
468
+ lt(i, lt(Re(t, n), s)), Qt(i.prototype, Qt(n, Re(t, s))), it[i.prop = e] = i, t.targetTest && (Te.push(i), _r[e] = 1), e = (e === "css" ? "CSS" : e.charAt(0).toUpperCase() + e.substr(1)) + "Plugin";
469
+ }
470
+ li(e, i), t.register && t.register(rt, i, J);
471
+ } else
472
+ Pi.push(t);
473
+ }, O = 255, oe = {
474
+ aqua: [0, O, O],
475
+ lime: [0, O, 0],
476
+ silver: [192, 192, 192],
477
+ black: [0, 0, 0],
478
+ maroon: [128, 0, 0],
479
+ teal: [0, 128, 128],
480
+ blue: [0, 0, O],
481
+ navy: [0, 0, 128],
482
+ white: [O, O, O],
483
+ olive: [128, 128, 0],
484
+ yellow: [O, O, 0],
485
+ orange: [O, 165, 0],
486
+ gray: [128, 128, 128],
487
+ purple: [128, 0, 128],
488
+ green: [0, 128, 0],
489
+ red: [O, 0, 0],
490
+ pink: [O, 192, 203],
491
+ cyan: [0, O, O],
492
+ transparent: [O, O, O, 0]
493
+ }, qe = function(t, e, r) {
494
+ return t += t < 0 ? 1 : t > 1 ? -1 : 0, (t * 6 < 1 ? e + (r - e) * t * 6 : t < 0.5 ? r : t * 3 < 2 ? e + (r - e) * (2 / 3 - t) * 6 : e) * O + 0.5 | 0;
495
+ }, Oi = function(t, e, r) {
496
+ var i = t ? wt(t) ? [t >> 16, t >> 8 & O, t & O] : 0 : oe.black, n, s, a, u, l, f, h, d, _, p;
497
+ if (!i) {
498
+ if (t.substr(-1) === "," && (t = t.substr(0, t.length - 1)), oe[t])
499
+ i = oe[t];
500
+ else if (t.charAt(0) === "#") {
501
+ if (t.length < 6 && (n = t.charAt(1), s = t.charAt(2), a = t.charAt(3), t = "#" + n + n + s + s + a + a + (t.length === 5 ? t.charAt(4) + t.charAt(4) : "")), t.length === 9)
502
+ return i = parseInt(t.substr(1, 6), 16), [i >> 16, i >> 8 & O, i & O, parseInt(t.substr(7), 16) / 255];
503
+ t = parseInt(t.substr(1), 16), i = [t >> 16, t >> 8 & O, t & O];
504
+ } else if (t.substr(0, 3) === "hsl") {
505
+ if (i = p = t.match(Or), !e)
506
+ u = +i[0] % 360 / 360, l = +i[1] / 100, f = +i[2] / 100, s = f <= 0.5 ? f * (l + 1) : f + l - f * l, n = f * 2 - s, i.length > 3 && (i[3] *= 1), i[0] = qe(u + 1 / 3, n, s), i[1] = qe(u, n, s), i[2] = qe(u - 1 / 3, n, s);
507
+ else if (~t.indexOf("="))
508
+ return i = t.match(si), r && i.length < 4 && (i[3] = 1), i;
509
+ } else
510
+ i = t.match(Or) || oe.transparent;
511
+ i = i.map(Number);
512
+ }
513
+ return e && !p && (n = i[0] / O, s = i[1] / O, a = i[2] / O, h = Math.max(n, s, a), d = Math.min(n, s, a), f = (h + d) / 2, h === d ? u = l = 0 : (_ = h - d, l = f > 0.5 ? _ / (2 - h - d) : _ / (h + d), u = h === n ? (s - a) / _ + (s < a ? 6 : 0) : h === s ? (a - n) / _ + 2 : (n - s) / _ + 4, u *= 60), i[0] = ~~(u + 0.5), i[1] = ~~(l * 100 + 0.5), i[2] = ~~(f * 100 + 0.5)), r && i.length < 4 && (i[3] = 1), i;
514
+ }, Ri = function(t) {
515
+ var e = [], r = [], i = -1;
516
+ return t.split(Ot).forEach(function(n) {
517
+ var s = n.match(Xt) || [];
518
+ e.push.apply(e, s), r.push(i += s.length + 1);
519
+ }), e.c = r, e;
520
+ }, Er = function(t, e, r) {
521
+ var i = "", n = (t + i).match(Ot), s = e ? "hsla(" : "rgba(", a = 0, u, l, f, h;
522
+ if (!n)
523
+ return t;
524
+ if (n = n.map(function(d) {
525
+ return (d = Oi(d, e, 1)) && s + (e ? d[0] + "," + d[1] + "%," + d[2] + "%," + d[3] : d.join(",")) + ")";
526
+ }), r && (f = Ri(t), u = r.c, u.join(i) !== f.c.join(i)))
527
+ for (l = t.replace(Ot, "1").split(Xt), h = l.length - 1; a < h; a++)
528
+ i += l[a] + (~u.indexOf(a) ? n.shift() || s + "0,0,0,0)" : (f.length ? f : n.length ? n : r).shift());
529
+ if (!l)
530
+ for (l = t.split(Ot), h = l.length - 1; a < h; a++)
531
+ i += l[a] + n[a];
532
+ return i + l[h];
533
+ }, Ot = (function() {
534
+ var o = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b", t;
535
+ for (t in oe)
536
+ o += "|" + t + "\\b";
537
+ return new RegExp(o + ")", "gi");
538
+ })(), Fn = /hsl[a]?\(/, Di = function(t) {
539
+ var e = t.join(" "), r;
540
+ if (Ot.lastIndex = 0, Ot.test(e))
541
+ return r = Fn.test(e), t[1] = Er(t[1], r), t[0] = Er(t[0], r, Ri(t[1])), !0;
542
+ }, _e, nt = (function() {
543
+ var o = Date.now, t = 500, e = 33, r = o(), i = r, n = 1e3 / 240, s = n, a = [], u, l, f, h, d, _, p = function c(m) {
544
+ var y = o() - i, x = m === !0, b, w, g, T;
545
+ if ((y > t || y < 0) && (r += y - e), i += y, g = i - r, b = g - s, (b > 0 || x) && (T = ++h.frame, d = g - h.time * 1e3, h.time = g = g / 1e3, s += b + (b >= n ? 4 : n - b), w = 1), x || (u = l(c)), w)
546
+ for (_ = 0; _ < a.length; _++)
547
+ a[_](g, d, T, m);
548
+ };
549
+ return h = {
550
+ time: 0,
551
+ frame: 0,
552
+ tick: function() {
553
+ p(!0);
554
+ },
555
+ deltaRatio: function(m) {
556
+ return d / (1e3 / (m || 60));
557
+ },
558
+ wake: function() {
559
+ oi && (!He && cr() && (pt = He = window, hr = pt.document || {}, ut.gsap = rt, (pt.gsapVersions || (pt.gsapVersions = [])).push(rt.version), ui(ke || pt.GreenSockGlobals || !pt.gsap && pt || {}), Pi.forEach(ki)), f = typeof requestAnimationFrame < "u" && requestAnimationFrame, u && h.sleep(), l = f || function(m) {
560
+ return setTimeout(m, s - h.time * 1e3 + 1 | 0);
561
+ }, _e = 1, p(2));
562
+ },
563
+ sleep: function() {
564
+ (f ? cancelAnimationFrame : clearTimeout)(u), _e = 0, l = he;
565
+ },
566
+ lagSmoothing: function(m, y) {
567
+ t = m || 1 / 0, e = Math.min(y || 33, t);
568
+ },
569
+ fps: function(m) {
570
+ n = 1e3 / (m || 240), s = h.time * 1e3 + n;
571
+ },
572
+ add: function(m, y, x) {
573
+ var b = y ? function(w, g, T, S) {
574
+ m(w, g, T, S), h.remove(b);
575
+ } : m;
576
+ return h.remove(m), a[x ? "unshift" : "push"](b), ee(), b;
577
+ },
578
+ remove: function(m, y) {
579
+ ~(y = a.indexOf(m)) && a.splice(y, 1) && _ >= y && _--;
580
+ },
581
+ _listeners: a
582
+ }, h;
583
+ })(), ee = function() {
584
+ return !_e && nt.wake();
585
+ }, W = {}, jn = /^[\d.\-M][\d.\-,\s]/, Bn = /["']/g, qn = function(t) {
586
+ for (var e = {}, r = t.substr(1, t.length - 3).split(":"), i = r[0], n = 1, s = r.length, a, u, l; n < s; n++)
587
+ u = r[n], a = n !== s - 1 ? u.lastIndexOf(",") : u.length, l = u.substr(0, a), e[i] = isNaN(l) ? l.replace(Bn, "").trim() : +l, i = u.substr(a + 1).trim();
588
+ return e;
589
+ }, Vn = function(t) {
590
+ var e = t.indexOf("(") + 1, r = t.indexOf(")"), i = t.indexOf("(", e);
591
+ return t.substring(e, ~i && i < r ? t.indexOf(")", r + 1) : r);
592
+ }, Un = function(t) {
593
+ var e = (t + "").split("("), r = W[e[0]];
594
+ return r && e.length > 1 && r.config ? r.config.apply(null, ~t.indexOf("{") ? [qn(e[1])] : Vn(t).split(",").map(di)) : W._CE && jn.test(t) ? W._CE("", t) : r;
595
+ }, Mi = function(t) {
596
+ return function(e) {
597
+ return 1 - t(1 - e);
598
+ };
599
+ }, Ai = function o(t, e) {
600
+ for (var r = t._first, i; r; )
601
+ r instanceof H ? o(r, e) : r.vars.yoyoEase && (!r._yoyo || !r._repeat) && r._yoyo !== e && (r.timeline ? o(r.timeline, e) : (i = r._ease, r._ease = r._yEase, r._yEase = i, r._yoyo = e)), r = r._next;
602
+ }, Vt = function(t, e) {
603
+ return t && (L(t) ? t : W[t] || Un(t)) || e;
604
+ }, Yt = function(t, e, r, i) {
605
+ r === void 0 && (r = function(u) {
606
+ return 1 - e(1 - u);
607
+ }), i === void 0 && (i = function(u) {
608
+ return u < 0.5 ? e(u * 2) / 2 : 1 - e((1 - u) * 2) / 2;
609
+ });
610
+ var n = {
611
+ easeIn: e,
612
+ easeOut: r,
613
+ easeInOut: i
614
+ }, s;
615
+ return Q(t, function(a) {
616
+ W[a] = ut[a] = n, W[s = a.toLowerCase()] = r;
617
+ for (var u in n)
618
+ W[s + (u === "easeIn" ? ".in" : u === "easeOut" ? ".out" : ".inOut")] = W[a + "." + u] = n[u];
619
+ }), n;
620
+ }, Ni = function(t) {
621
+ return function(e) {
622
+ return e < 0.5 ? (1 - t(1 - e * 2)) / 2 : 0.5 + t((e - 0.5) * 2) / 2;
623
+ };
624
+ }, Ve = function o(t, e, r) {
625
+ var i = e >= 1 ? e : 1, n = (r || (t ? 0.3 : 0.45)) / (e < 1 ? e : 1), s = n / $e * (Math.asin(1 / i) || 0), a = function(f) {
626
+ return f === 1 ? 1 : i * Math.pow(2, -10 * f) * _n((f - s) * n) + 1;
627
+ }, u = t === "out" ? a : t === "in" ? function(l) {
628
+ return 1 - a(1 - l);
629
+ } : Ni(a);
630
+ return n = $e / n, u.config = function(l, f) {
631
+ return o(t, l, f);
632
+ }, u;
633
+ }, Ue = function o(t, e) {
634
+ e === void 0 && (e = 1.70158);
635
+ var r = function(s) {
636
+ return s ? --s * s * ((e + 1) * s + e) + 1 : 0;
637
+ }, i = t === "out" ? r : t === "in" ? function(n) {
638
+ return 1 - r(1 - n);
639
+ } : Ni(r);
640
+ return i.config = function(n) {
641
+ return o(t, n);
642
+ }, i;
643
+ };
644
+ Q("Linear,Quad,Cubic,Quart,Quint,Strong", function(o, t) {
645
+ var e = t < 5 ? t + 1 : t;
646
+ Yt(o + ",Power" + (e - 1), t ? function(r) {
647
+ return Math.pow(r, e);
648
+ } : function(r) {
649
+ return r;
650
+ }, function(r) {
651
+ return 1 - Math.pow(1 - r, e);
652
+ }, function(r) {
653
+ return r < 0.5 ? Math.pow(r * 2, e) / 2 : 1 - Math.pow((1 - r) * 2, e) / 2;
654
+ });
655
+ });
656
+ W.Linear.easeNone = W.none = W.Linear.easeIn;
657
+ Yt("Elastic", Ve("in"), Ve("out"), Ve());
658
+ (function(o, t) {
659
+ var e = 1 / t, r = 2 * e, i = 2.5 * e, n = function(a) {
660
+ return a < e ? o * a * a : a < r ? o * Math.pow(a - 1.5 / t, 2) + 0.75 : a < i ? o * (a -= 2.25 / t) * a + 0.9375 : o * Math.pow(a - 2.625 / t, 2) + 0.984375;
661
+ };
662
+ Yt("Bounce", function(s) {
663
+ return 1 - n(1 - s);
664
+ }, n);
665
+ })(7.5625, 2.75);
666
+ Yt("Expo", function(o) {
667
+ return Math.pow(2, 10 * (o - 1)) * o + o * o * o * o * o * o * (1 - o);
668
+ });
669
+ Yt("Circ", function(o) {
670
+ return -(ii(1 - o * o) - 1);
671
+ });
672
+ Yt("Sine", function(o) {
673
+ return o === 1 ? 1 : -dn(o * cn) + 1;
674
+ });
675
+ Yt("Back", Ue("in"), Ue("out"), Ue());
676
+ W.SteppedEase = W.steps = ut.SteppedEase = {
677
+ config: function(t, e) {
678
+ t === void 0 && (t = 1);
679
+ var r = 1 / t, i = t + (e ? 0 : 1), n = e ? 1 : 0, s = 1 - R;
680
+ return function(a) {
681
+ return ((i * ye(0, s, a) | 0) + n) * r;
682
+ };
683
+ }
684
+ };
685
+ Zt.ease = W["quad.out"];
686
+ Q("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(o) {
687
+ return pr += o + "," + o + "Params,";
688
+ });
689
+ var Ei = function(t, e) {
690
+ this.id = hn++, t._gsap = this, this.target = t, this.harness = e, this.get = e ? e.get : ci, this.set = e ? e.getSetter : br;
691
+ }, pe = /* @__PURE__ */ (function() {
692
+ function o(e) {
693
+ this.vars = e, this._delay = +e.delay || 0, (this._repeat = e.repeat === 1 / 0 ? -2 : e.repeat || 0) && (this._rDelay = e.repeatDelay || 0, this._yoyo = !!e.yoyo || !!e.yoyoEase), this._ts = 1, te(this, +e.duration, 1, 1), this.data = e.data, N && (this._ctx = N, N.data.push(this)), _e || nt.wake();
694
+ }
695
+ var t = o.prototype;
696
+ return t.delay = function(r) {
697
+ return r || r === 0 ? (this.parent && this.parent.smoothChildTiming && this.startTime(this._start + r - this._delay), this._delay = r, this) : this._delay;
698
+ }, t.duration = function(r) {
699
+ return arguments.length ? this.totalDuration(this._repeat > 0 ? r + (r + this._rDelay) * this._repeat : r) : this.totalDuration() && this._dur;
700
+ }, t.totalDuration = function(r) {
701
+ return arguments.length ? (this._dirty = 0, te(this, this._repeat < 0 ? r : (r - this._repeat * this._rDelay) / (this._repeat + 1))) : this._tDur;
702
+ }, t.totalTime = function(r, i) {
703
+ if (ee(), !arguments.length)
704
+ return this._tTime;
705
+ var n = this._dp;
706
+ if (n && n.smoothChildTiming && this._ts) {
707
+ for (Le(this, r), !n._dp || n.parent || mi(n, this); n && n.parent; )
708
+ n.parent._time !== n._start + (n._ts >= 0 ? n._tTime / n._ts : (n.totalDuration() - n._tTime) / -n._ts) && n.totalTime(n._tTime, !0), n = n.parent;
709
+ !this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && r < this._tDur || this._ts < 0 && r > 0 || !this._tDur && !r) && mt(this._dp, this, this._start - this._delay);
710
+ }
711
+ return (this._tTime !== r || !this._dur && !i || this._initted && Math.abs(this._zTime) === R || !this._initted && this._dur && r || !r && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = r), hi(this, r, i)), this;
712
+ }, t.time = function(r, i) {
713
+ return arguments.length ? this.totalTime(Math.min(this.totalDuration(), r + Mr(this)) % (this._dur + this._rDelay) || (r ? this._dur : 0), i) : this._time;
714
+ }, t.totalProgress = function(r, i) {
715
+ return arguments.length ? this.totalTime(this.totalDuration() * r, i) : this.totalDuration() ? Math.min(1, this._tTime / this._tDur) : this.rawTime() >= 0 && this._initted ? 1 : 0;
716
+ }, t.progress = function(r, i) {
717
+ return arguments.length ? this.totalTime(this.duration() * (this._yoyo && !(this.iteration() & 1) ? 1 - r : r) + Mr(this), i) : this.duration() ? Math.min(1, this._time / this._dur) : this.rawTime() > 0 ? 1 : 0;
718
+ }, t.iteration = function(r, i) {
719
+ var n = this.duration() + this._rDelay;
720
+ return arguments.length ? this.totalTime(this._time + (r - 1) * n, i) : this._repeat ? Jt(this._tTime, n) + 1 : 1;
721
+ }, t.timeScale = function(r, i) {
722
+ if (!arguments.length)
723
+ return this._rts === -R ? 0 : this._rts;
724
+ if (this._rts === r)
725
+ return this;
726
+ var n = this.parent && this._ts ? De(this.parent._time, this) : this._tTime;
727
+ return this._rts = +r || 0, this._ts = this._ps || r === -R ? 0 : this._rts, this.totalTime(ye(-Math.abs(this._delay), this.totalDuration(), n), i !== !1), Ie(this), Sn(this);
728
+ }, t.paused = function(r) {
729
+ return arguments.length ? (this._ps !== r && (this._ps = r, r ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (ee(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== R && (this._tTime -= R)))), this) : this._ps;
730
+ }, t.startTime = function(r) {
731
+ if (arguments.length) {
732
+ this._start = E(r);
733
+ var i = this.parent || this._dp;
734
+ return i && (i._sort || !this.parent) && mt(i, this, this._start - this._delay), this;
735
+ }
736
+ return this._start;
737
+ }, t.endTime = function(r) {
738
+ return this._start + (Z(r) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1);
739
+ }, t.rawTime = function(r) {
740
+ var i = this.parent || this._dp;
741
+ return i ? r && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? De(i.rawTime(r), this) : this._tTime : this._tTime;
742
+ }, t.revert = function(r) {
743
+ r === void 0 && (r = vn);
744
+ var i = X;
745
+ return X = r, gr(this) && (this.timeline && this.timeline.revert(r), this.totalTime(-0.01, r.suppressEvents)), this.data !== "nested" && r.kill !== !1 && this.kill(), X = i, this;
746
+ }, t.globalTime = function(r) {
747
+ for (var i = this, n = arguments.length ? r : i.rawTime(); i; )
748
+ n = i._start + n / (Math.abs(i._ts) || 1), i = i._dp;
749
+ return !this.parent && this._sat ? this._sat.globalTime(r) : n;
750
+ }, t.repeat = function(r) {
751
+ return arguments.length ? (this._repeat = r === 1 / 0 ? -2 : r, Ar(this)) : this._repeat === -2 ? 1 / 0 : this._repeat;
752
+ }, t.repeatDelay = function(r) {
753
+ if (arguments.length) {
754
+ var i = this._time;
755
+ return this._rDelay = r, Ar(this), i ? this.time(i) : this;
756
+ }
757
+ return this._rDelay;
758
+ }, t.yoyo = function(r) {
759
+ return arguments.length ? (this._yoyo = r, this) : this._yoyo;
760
+ }, t.seek = function(r, i) {
761
+ return this.totalTime(ft(this, r), Z(i));
762
+ }, t.restart = function(r, i) {
763
+ return this.play().totalTime(r ? -this._delay : 0, Z(i)), this._dur || (this._zTime = -R), this;
764
+ }, t.play = function(r, i) {
765
+ return r != null && this.seek(r, i), this.reversed(!1).paused(!1);
766
+ }, t.reverse = function(r, i) {
767
+ return r != null && this.seek(r || this.totalDuration(), i), this.reversed(!0).paused(!1);
768
+ }, t.pause = function(r, i) {
769
+ return r != null && this.seek(r, i), this.paused(!0);
770
+ }, t.resume = function() {
771
+ return this.paused(!1);
772
+ }, t.reversed = function(r) {
773
+ return arguments.length ? (!!r !== this.reversed() && this.timeScale(-this._rts || (r ? -R : 0)), this) : this._rts < 0;
774
+ }, t.invalidate = function() {
775
+ return this._initted = this._act = 0, this._zTime = -R, this;
776
+ }, t.isActive = function() {
777
+ var r = this.parent || this._dp, i = this._start, n;
778
+ return !!(!r || this._ts && this._initted && r.isActive() && (n = r.rawTime(!0)) >= i && n < this.endTime(!0) - R);
779
+ }, t.eventCallback = function(r, i, n) {
780
+ var s = this.vars;
781
+ return arguments.length > 1 ? (i ? (s[r] = i, n && (s[r + "Params"] = n), r === "onUpdate" && (this._onUpdate = i)) : delete s[r], this) : s[r];
782
+ }, t.then = function(r) {
783
+ var i = this, n = i._prom;
784
+ return new Promise(function(s) {
785
+ var a = L(r) ? r : _i, u = function() {
786
+ var f = i.then;
787
+ i.then = null, n && n(), L(a) && (a = a(i)) && (a.then || a === i) && (i.then = f), s(a), i.then = f;
788
+ };
789
+ i._initted && i.totalProgress() === 1 && i._ts >= 0 || !i._tTime && i._ts < 0 ? u() : i._prom = u;
790
+ });
791
+ }, t.kill = function() {
792
+ ae(this);
793
+ }, o;
794
+ })();
795
+ lt(pe.prototype, {
796
+ _time: 0,
797
+ _start: 0,
798
+ _end: 0,
799
+ _tTime: 0,
800
+ _tDur: 0,
801
+ _dirty: 0,
802
+ _repeat: 0,
803
+ _yoyo: !1,
804
+ parent: null,
805
+ _initted: !1,
806
+ _rDelay: 0,
807
+ _ts: 1,
808
+ _dp: 0,
809
+ ratio: 0,
810
+ _zTime: -R,
811
+ _prom: 0,
812
+ _ps: !1,
813
+ _rts: 1
814
+ });
815
+ var H = /* @__PURE__ */ (function(o) {
816
+ ri(t, o);
817
+ function t(r, i) {
818
+ var n;
819
+ return r === void 0 && (r = {}), n = o.call(this, r) || this, n.labels = {}, n.smoothChildTiming = !!r.smoothChildTiming, n.autoRemoveChildren = !!r.autoRemoveChildren, n._sort = Z(r.sortChildren), z && mt(r.parent || z, vt(n), i), r.reversed && n.reverse(), r.paused && n.paused(!0), r.scrollTrigger && gi(vt(n), r.scrollTrigger), n;
820
+ }
821
+ var e = t.prototype;
822
+ return e.to = function(i, n, s) {
823
+ return le(0, arguments, this), this;
824
+ }, e.from = function(i, n, s) {
825
+ return le(1, arguments, this), this;
826
+ }, e.fromTo = function(i, n, s, a) {
827
+ return le(2, arguments, this), this;
828
+ }, e.set = function(i, n, s) {
829
+ return n.duration = 0, n.parent = this, ue(n).repeatDelay || (n.repeat = 0), n.immediateRender = !!n.immediateRender, new B(i, n, ft(this, s), 1), this;
830
+ }, e.call = function(i, n, s) {
831
+ return mt(this, B.delayedCall(0, i, n), s);
832
+ }, e.staggerTo = function(i, n, s, a, u, l, f) {
833
+ return s.duration = n, s.stagger = s.stagger || a, s.onComplete = l, s.onCompleteParams = f, s.parent = this, new B(i, s, ft(this, u)), this;
834
+ }, e.staggerFrom = function(i, n, s, a, u, l, f) {
835
+ return s.runBackwards = 1, ue(s).immediateRender = Z(s.immediateRender), this.staggerTo(i, n, s, a, u, l, f);
836
+ }, e.staggerFromTo = function(i, n, s, a, u, l, f, h) {
837
+ return a.startAt = s, ue(a).immediateRender = Z(a.immediateRender), this.staggerTo(i, n, a, u, l, f, h);
838
+ }, e.render = function(i, n, s) {
839
+ var a = this._time, u = this._dirty ? this.totalDuration() : this._tDur, l = this._dur, f = i <= 0 ? 0 : E(i), h = this._zTime < 0 != i < 0 && (this._initted || !l), d, _, p, c, m, y, x, b, w, g, T, S;
840
+ if (this !== z && f > u && i >= 0 && (f = u), f !== this._tTime || s || h) {
841
+ if (a !== this._time && l && (f += this._time - a, i += this._time - a), d = f, w = this._start, b = this._ts, y = !b, h && (l || (a = this._zTime), (i || !n) && (this._zTime = i)), this._repeat) {
842
+ if (T = this._yoyo, m = l + this._rDelay, this._repeat < -1 && i < 0)
843
+ return this.totalTime(m * 100 + i, n, s);
844
+ if (d = E(f % m), f === u ? (c = this._repeat, d = l) : (g = E(f / m), c = ~~g, c && c === g && (d = l, c--), d > l && (d = l)), g = Jt(this._tTime, m), !a && this._tTime && g !== c && this._tTime - g * m - this._dur <= 0 && (g = c), T && c & 1 && (d = l - d, S = 1), c !== g && !this._lock) {
845
+ var C = T && g & 1, v = C === (T && c & 1);
846
+ if (c < g && (C = !C), a = C ? 0 : f % l ? l : f, this._lock = 1, this.render(a || (S ? 0 : E(c * m)), n, !l)._lock = 0, this._tTime = f, !n && this.parent && st(this, "onRepeat"), this.vars.repeatRefresh && !S && (this.invalidate()._lock = 1, g = c), a && a !== this._time || y !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
847
+ return this;
848
+ if (l = this._dur, u = this._tDur, v && (this._lock = 2, a = C ? l : -1e-4, this.render(a, !0), this.vars.repeatRefresh && !S && this.invalidate()), this._lock = 0, !this._ts && !y)
849
+ return this;
850
+ Ai(this, S);
851
+ }
852
+ }
853
+ if (this._hasPause && !this._forcing && this._lock < 2 && (x = On(this, E(a), E(d)), x && (f -= d - (d = x._start))), this._tTime = f, this._time = d, this._act = !b, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = i, a = 0), !a && f && l && !n && !g && (st(this, "onStart"), this._tTime !== f))
854
+ return this;
855
+ if (d >= a && i >= 0)
856
+ for (_ = this._first; _; ) {
857
+ if (p = _._next, (_._act || d >= _._start) && _._ts && x !== _) {
858
+ if (_.parent !== this)
859
+ return this.render(i, n, s);
860
+ if (_.render(_._ts > 0 ? (d - _._start) * _._ts : (_._dirty ? _.totalDuration() : _._tDur) + (d - _._start) * _._ts, n, s), d !== this._time || !this._ts && !y) {
861
+ x = 0, p && (f += this._zTime = -R);
862
+ break;
863
+ }
864
+ }
865
+ _ = p;
866
+ }
867
+ else {
868
+ _ = this._last;
869
+ for (var k = i < 0 ? i : d; _; ) {
870
+ if (p = _._prev, (_._act || k <= _._end) && _._ts && x !== _) {
871
+ if (_.parent !== this)
872
+ return this.render(i, n, s);
873
+ if (_.render(_._ts > 0 ? (k - _._start) * _._ts : (_._dirty ? _.totalDuration() : _._tDur) + (k - _._start) * _._ts, n, s || X && gr(_)), d !== this._time || !this._ts && !y) {
874
+ x = 0, p && (f += this._zTime = k ? -R : R);
875
+ break;
876
+ }
877
+ }
878
+ _ = p;
879
+ }
880
+ }
881
+ if (x && !n && (this.pause(), x.render(d >= a ? 0 : -R)._zTime = d >= a ? 1 : -1, this._ts))
882
+ return this._start = w, Ie(this), this.render(i, n, s);
883
+ this._onUpdate && !n && st(this, "onUpdate", !0), (f === u && this._tTime >= this.totalDuration() || !f && a) && (w === this._start || Math.abs(b) !== Math.abs(this._ts)) && (this._lock || ((i || !l) && (f === u && this._ts > 0 || !f && this._ts < 0) && Rt(this, 1), !n && !(i < 0 && !a) && (f || a || !u) && (st(this, f === u && i >= 0 ? "onComplete" : "onReverseComplete", !0), this._prom && !(f < u && this.timeScale() > 0) && this._prom())));
884
+ }
885
+ return this;
886
+ }, e.add = function(i, n) {
887
+ var s = this;
888
+ if (wt(n) || (n = ft(this, n, i)), !(i instanceof pe)) {
889
+ if ($(i))
890
+ return i.forEach(function(a) {
891
+ return s.add(a, n);
892
+ }), this;
893
+ if (U(i))
894
+ return this.addLabel(i, n);
895
+ if (L(i))
896
+ i = B.delayedCall(0, i);
897
+ else
898
+ return this;
899
+ }
900
+ return this !== i ? mt(this, i, n) : this;
901
+ }, e.getChildren = function(i, n, s, a) {
902
+ i === void 0 && (i = !0), n === void 0 && (n = !0), s === void 0 && (s = !0), a === void 0 && (a = -ct);
903
+ for (var u = [], l = this._first; l; )
904
+ l._start >= a && (l instanceof B ? n && u.push(l) : (s && u.push(l), i && u.push.apply(u, l.getChildren(!0, n, s)))), l = l._next;
905
+ return u;
906
+ }, e.getById = function(i) {
907
+ for (var n = this.getChildren(1, 1, 1), s = n.length; s--; )
908
+ if (n[s].vars.id === i)
909
+ return n[s];
910
+ }, e.remove = function(i) {
911
+ return U(i) ? this.removeLabel(i) : L(i) ? this.killTweensOf(i) : (i.parent === this && ze(this, i), i === this._recent && (this._recent = this._last), qt(this));
912
+ }, e.totalTime = function(i, n) {
913
+ return arguments.length ? (this._forcing = 1, !this._dp && this._ts && (this._start = E(nt.time - (this._ts > 0 ? i / this._ts : (this.totalDuration() - i) / -this._ts))), o.prototype.totalTime.call(this, i, n), this._forcing = 0, this) : this._tTime;
914
+ }, e.addLabel = function(i, n) {
915
+ return this.labels[i] = ft(this, n), this;
916
+ }, e.removeLabel = function(i) {
917
+ return delete this.labels[i], this;
918
+ }, e.addPause = function(i, n, s) {
919
+ var a = B.delayedCall(0, n || he, s);
920
+ return a.data = "isPause", this._hasPause = 1, mt(this, a, ft(this, i));
921
+ }, e.removePause = function(i) {
922
+ var n = this._first;
923
+ for (i = ft(this, i); n; )
924
+ n._start === i && n.data === "isPause" && Rt(n), n = n._next;
925
+ }, e.killTweensOf = function(i, n, s) {
926
+ for (var a = this.getTweensOf(i, s), u = a.length; u--; )
927
+ St !== a[u] && a[u].kill(i, n);
928
+ return this;
929
+ }, e.getTweensOf = function(i, n) {
930
+ for (var s = [], a = ht(i), u = this._first, l = wt(n), f; u; )
931
+ u instanceof B ? bn(u._targets, a) && (l ? (!St || u._initted && u._ts) && u.globalTime(0) <= n && u.globalTime(u.totalDuration()) > n : !n || u.isActive()) && s.push(u) : (f = u.getTweensOf(a, n)).length && s.push.apply(s, f), u = u._next;
932
+ return s;
933
+ }, e.tweenTo = function(i, n) {
934
+ n = n || {};
935
+ var s = this, a = ft(s, i), u = n, l = u.startAt, f = u.onStart, h = u.onStartParams, d = u.immediateRender, _, p = B.to(s, lt({
936
+ ease: n.ease || "none",
937
+ lazy: !1,
938
+ immediateRender: !1,
939
+ time: a,
940
+ overwrite: "auto",
941
+ duration: n.duration || Math.abs((a - (l && "time" in l ? l.time : s._time)) / s.timeScale()) || R,
942
+ onStart: function() {
943
+ if (s.pause(), !_) {
944
+ var m = n.duration || Math.abs((a - (l && "time" in l ? l.time : s._time)) / s.timeScale());
945
+ p._dur !== m && te(p, m, 0, 1).render(p._time, !0, !0), _ = 1;
946
+ }
947
+ f && f.apply(p, h || []);
948
+ }
949
+ }, n));
950
+ return d ? p.render(0) : p;
951
+ }, e.tweenFromTo = function(i, n, s) {
952
+ return this.tweenTo(n, lt({
953
+ startAt: {
954
+ time: ft(this, i)
955
+ }
956
+ }, s));
957
+ }, e.recent = function() {
958
+ return this._recent;
959
+ }, e.nextLabel = function(i) {
960
+ return i === void 0 && (i = this._time), Nr(this, ft(this, i));
961
+ }, e.previousLabel = function(i) {
962
+ return i === void 0 && (i = this._time), Nr(this, ft(this, i), 1);
963
+ }, e.currentLabel = function(i) {
964
+ return arguments.length ? this.seek(i, !0) : this.previousLabel(this._time + R);
965
+ }, e.shiftChildren = function(i, n, s) {
966
+ s === void 0 && (s = 0);
967
+ var a = this._first, u = this.labels, l;
968
+ for (i = E(i); a; )
969
+ a._start >= s && (a._start += i, a._end += i), a = a._next;
970
+ if (n)
971
+ for (l in u)
972
+ u[l] >= s && (u[l] += i);
973
+ return qt(this);
974
+ }, e.invalidate = function(i) {
975
+ var n = this._first;
976
+ for (this._lock = 0; n; )
977
+ n.invalidate(i), n = n._next;
978
+ return o.prototype.invalidate.call(this, i);
979
+ }, e.clear = function(i) {
980
+ i === void 0 && (i = !0);
981
+ for (var n = this._first, s; n; )
982
+ s = n._next, this.remove(n), n = s;
983
+ return this._dp && (this._time = this._tTime = this._pTime = 0), i && (this.labels = {}), qt(this);
984
+ }, e.totalDuration = function(i) {
985
+ var n = 0, s = this, a = s._last, u = ct, l, f, h;
986
+ if (arguments.length)
987
+ return s.timeScale((s._repeat < 0 ? s.duration() : s.totalDuration()) / (s.reversed() ? -i : i));
988
+ if (s._dirty) {
989
+ for (h = s.parent; a; )
990
+ l = a._prev, a._dirty && a.totalDuration(), f = a._start, f > u && s._sort && a._ts && !s._lock ? (s._lock = 1, mt(s, a, f - a._delay, 1)._lock = 0) : u = f, f < 0 && a._ts && (n -= f, (!h && !s._dp || h && h.smoothChildTiming) && (s._start += E(f / s._ts), s._time -= f, s._tTime -= f), s.shiftChildren(-f, !1, -1 / 0), u = 0), a._end > n && a._ts && (n = a._end), a = l;
991
+ te(s, s === z && s._time > n ? s._time : n, 1, 1), s._dirty = 0;
992
+ }
993
+ return s._tDur;
994
+ }, t.updateRoot = function(i) {
995
+ if (z._ts && (hi(z, De(i, z)), fi = nt.frame), nt.frame >= Rr) {
996
+ Rr += ot.autoSleep || 120;
997
+ var n = z._first;
998
+ if ((!n || !n._ts) && ot.autoSleep && nt._listeners.length < 2) {
999
+ for (; n && !n._ts; )
1000
+ n = n._next;
1001
+ n || nt.sleep();
1002
+ }
1003
+ }
1004
+ }, t;
1005
+ })(pe);
1006
+ lt(H.prototype, {
1007
+ _lock: 0,
1008
+ _hasPause: 0,
1009
+ _forcing: 0
1010
+ });
1011
+ var Yn = function(t, e, r, i, n, s, a) {
1012
+ var u = new J(this._pt, t, e, 0, 1, Bi, null, n), l = 0, f = 0, h, d, _, p, c, m, y, x;
1013
+ for (u.b = r, u.e = i, r += "", i += "", (y = ~i.indexOf("random(")) && (i = de(i)), s && (x = [r, i], s(x, t, e), r = x[0], i = x[1]), d = r.match(je) || []; h = je.exec(i); )
1014
+ p = h[0], c = i.substring(l, h.index), _ ? _ = (_ + 1) % 5 : c.substr(-5) === "rgba(" && (_ = 1), p !== d[f++] && (m = parseFloat(d[f - 1]) || 0, u._pt = {
1015
+ _next: u._pt,
1016
+ p: c || f === 1 ? c : ",",
1017
+ //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.
1018
+ s: m,
1019
+ c: p.charAt(1) === "=" ? $t(m, p) - m : parseFloat(p) - m,
1020
+ m: _ && _ < 4 ? Math.round : 0
1021
+ }, l = je.lastIndex);
1022
+ return u.c = l < i.length ? i.substring(l, i.length) : "", u.fp = a, (ai.test(i) || y) && (u.e = 0), this._pt = u, u;
1023
+ }, yr = function(t, e, r, i, n, s, a, u, l, f) {
1024
+ L(i) && (i = i(n || 0, t, s));
1025
+ var h = t[e], d = r !== "get" ? r : L(h) ? l ? t[e.indexOf("set") || !L(t["get" + e.substr(3)]) ? e : "get" + e.substr(3)](l) : t[e]() : h, _ = L(h) ? l ? Hn : Fi : vr, p;
1026
+ if (U(i) && (~i.indexOf("random(") && (i = de(i)), i.charAt(1) === "=" && (p = $t(d, i) + (G(d) || 0), (p || p === 0) && (i = p))), !f || d !== i || rr)
1027
+ return !isNaN(d * i) && i !== "" ? (p = new J(this._pt, t, e, +d || 0, i - (d || 0), typeof h == "boolean" ? Zn : ji, 0, _), l && (p.fp = l), a && p.modifier(a, this, t), this._pt = p) : (!h && !(e in t) && dr(e, i), Yn.call(this, t, e, d, i, _, u || ot.stringFilter, l));
1028
+ }, Wn = function(t, e, r, i, n) {
1029
+ if (L(t) && (t = fe(t, n, e, r, i)), !yt(t) || t.style && t.nodeType || $(t) || ni(t))
1030
+ return U(t) ? fe(t, n, e, r, i) : t;
1031
+ var s = {}, a;
1032
+ for (a in t)
1033
+ s[a] = fe(t[a], n, e, r, i);
1034
+ return s;
1035
+ }, zi = function(t, e, r, i, n, s) {
1036
+ var a, u, l, f;
1037
+ if (it[t] && (a = new it[t]()).init(n, a.rawVars ? e[t] : Wn(e[t], i, n, s, r), r, i, s) !== !1 && (r._pt = u = new J(r._pt, n, t, 0, 1, a.render, a, 0, a.priority), r !== Gt))
1038
+ for (l = r._ptLookup[r._targets.indexOf(n)], f = a._props.length; f--; )
1039
+ l[a._props[f]] = u;
1040
+ return a;
1041
+ }, St, rr, xr = function o(t, e, r) {
1042
+ var i = t.vars, n = i.ease, s = i.startAt, a = i.immediateRender, u = i.lazy, l = i.onUpdate, f = i.runBackwards, h = i.yoyoEase, d = i.keyframes, _ = i.autoRevert, p = t._dur, c = t._startAt, m = t._targets, y = t.parent, x = y && y.data === "nested" ? y.vars.targets : m, b = t._overwrite === "auto" && !lr, w = t.timeline, g, T, S, C, v, k, A, D, M, Y, q, j, V;
1043
+ if (w && (!d || !n) && (n = "none"), t._ease = Vt(n, Zt.ease), t._yEase = h ? Mi(Vt(h === !0 ? n : h, Zt.ease)) : 0, h && t._yoyo && !t._repeat && (h = t._yEase, t._yEase = t._ease, t._ease = h), t._from = !w && !!i.runBackwards, !w || d && !i.stagger) {
1044
+ if (D = m[0] ? Bt(m[0]).harness : 0, j = D && i[D.prop], g = Re(i, _r), c && (c._zTime < 0 && c.progress(1), e < 0 && f && a && !_ ? c.render(-1, !0) : c.revert(f && p ? we : xn), c._lazy = 0), s) {
1045
+ if (Rt(t._startAt = B.set(m, lt({
1046
+ data: "isStart",
1047
+ overwrite: !1,
1048
+ parent: y,
1049
+ immediateRender: !0,
1050
+ lazy: !c && Z(u),
1051
+ startAt: null,
1052
+ delay: 0,
1053
+ onUpdate: l && function() {
1054
+ return st(t, "onUpdate");
1055
+ },
1056
+ stagger: 0
1057
+ }, s))), t._startAt._dp = 0, t._startAt._sat = t, e < 0 && (X || !a && !_) && t._startAt.revert(we), a && p && e <= 0 && r <= 0) {
1058
+ e && (t._zTime = e);
1059
+ return;
1060
+ }
1061
+ } else if (f && p && !c) {
1062
+ if (e && (a = !1), S = lt({
1063
+ overwrite: !1,
1064
+ data: "isFromStart",
1065
+ //we tag the tween with as "isFromStart" so that if [inside a plugin] we need to only do something at the very END of a tween, we have a way of identifying this tween as merely the one that's setting the beginning values for a "from()" tween. For example, clearProps in CSSPlugin should only get applied at the very END of a tween and without this tag, from(...{height:100, clearProps:"height", delay:1}) would wipe the height at the beginning of the tween and after 1 second, it'd kick back in.
1066
+ lazy: a && !c && Z(u),
1067
+ immediateRender: a,
1068
+ //zero-duration tweens render immediately by default, but if we're not specifically instructed to render this tween immediately, we should skip this and merely _init() to record the starting values (rendering them immediately would push them to completion which is wasteful in that case - we'd have to render(-1) immediately after)
1069
+ stagger: 0,
1070
+ parent: y
1071
+ //ensures that nested tweens that had a stagger are handled properly, like gsap.from(".class", {y: gsap.utils.wrap([-100,100]), stagger: 0.5})
1072
+ }, g), j && (S[D.prop] = j), Rt(t._startAt = B.set(m, S)), t._startAt._dp = 0, t._startAt._sat = t, e < 0 && (X ? t._startAt.revert(we) : t._startAt.render(-1, !0)), t._zTime = e, !a)
1073
+ o(t._startAt, R, R);
1074
+ else if (!e)
1075
+ return;
1076
+ }
1077
+ for (t._pt = t._ptCache = 0, u = p && Z(u) || u && !p, T = 0; T < m.length; T++) {
1078
+ if (v = m[T], A = v._gsap || mr(m)[T]._gsap, t._ptLookup[T] = Y = {}, Ke[A.id] && kt.length && Oe(), q = x === m ? T : x.indexOf(v), D && (M = new D()).init(v, j || g, t, q, x) !== !1 && (t._pt = C = new J(t._pt, v, M.name, 0, 1, M.render, M, 0, M.priority), M._props.forEach(function(dt) {
1079
+ Y[dt] = C;
1080
+ }), M.priority && (k = 1)), !D || j)
1081
+ for (S in g)
1082
+ it[S] && (M = zi(S, g, t, q, v, x)) ? M.priority && (k = 1) : Y[S] = C = yr.call(t, v, S, "get", g[S], q, x, 0, i.stringFilter);
1083
+ t._op && t._op[T] && t.kill(v, t._op[T]), b && t._pt && (St = t, z.killTweensOf(v, Y, t.globalTime(e)), V = !t.parent, St = 0), t._pt && u && (Ke[A.id] = 1);
1084
+ }
1085
+ k && qi(t), t._onInit && t._onInit(t);
1086
+ }
1087
+ t._onUpdate = l, t._initted = (!t._op || t._pt) && !V, d && e <= 0 && w.render(ct, !0, !0);
1088
+ }, Xn = function(t, e, r, i, n, s, a, u) {
1089
+ var l = (t._pt && t._ptCache || (t._ptCache = {}))[e], f, h, d, _;
1090
+ if (!l)
1091
+ for (l = t._ptCache[e] = [], d = t._ptLookup, _ = t._targets.length; _--; ) {
1092
+ if (f = d[_][e], f && f.d && f.d._pt)
1093
+ for (f = f.d._pt; f && f.p !== e && f.fp !== e; )
1094
+ f = f._next;
1095
+ if (!f)
1096
+ return rr = 1, t.vars[e] = "+=0", xr(t, a), rr = 0, u ? ce(e + " not eligible for reset") : 1;
1097
+ l.push(f);
1098
+ }
1099
+ for (_ = l.length; _--; )
1100
+ h = l[_], f = h._pt || h, f.s = (i || i === 0) && !n ? i : f.s + (i || 0) + s * f.c, f.c = r - f.s, h.e && (h.e = F(r) + G(h.e)), h.b && (h.b = f.s + G(h.b));
1101
+ }, Gn = function(t, e) {
1102
+ var r = t[0] ? Bt(t[0]).harness : 0, i = r && r.aliases, n, s, a, u;
1103
+ if (!i)
1104
+ return e;
1105
+ n = Qt({}, e);
1106
+ for (s in i)
1107
+ if (s in n)
1108
+ for (u = i[s].split(","), a = u.length; a--; )
1109
+ n[u[a]] = n[s];
1110
+ return n;
1111
+ }, $n = function(t, e, r, i) {
1112
+ var n = e.ease || i || "power1.inOut", s, a;
1113
+ if ($(e))
1114
+ a = r[t] || (r[t] = []), e.forEach(function(u, l) {
1115
+ return a.push({
1116
+ t: l / (e.length - 1) * 100,
1117
+ v: u,
1118
+ e: n
1119
+ });
1120
+ });
1121
+ else
1122
+ for (s in e)
1123
+ a = r[s] || (r[s] = []), s === "ease" || a.push({
1124
+ t: parseFloat(t),
1125
+ v: e[s],
1126
+ e: n
1127
+ });
1128
+ }, fe = function(t, e, r, i, n) {
1129
+ return L(t) ? t.call(e, r, i, n) : U(t) && ~t.indexOf("random(") ? de(t) : t;
1130
+ }, Ii = pr + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", Li = {};
1131
+ Q(Ii + ",id,stagger,delay,duration,paused,scrollTrigger", function(o) {
1132
+ return Li[o] = 1;
1133
+ });
1134
+ var B = /* @__PURE__ */ (function(o) {
1135
+ ri(t, o);
1136
+ function t(r, i, n, s) {
1137
+ var a;
1138
+ typeof i == "number" && (n.duration = i, i = n, n = null), a = o.call(this, s ? i : ue(i)) || this;
1139
+ var u = a.vars, l = u.duration, f = u.delay, h = u.immediateRender, d = u.stagger, _ = u.overwrite, p = u.keyframes, c = u.defaults, m = u.scrollTrigger, y = u.yoyoEase, x = i.parent || z, b = ($(r) || ni(r) ? wt(r[0]) : "length" in i) ? [r] : ht(r), w, g, T, S, C, v, k, A;
1140
+ if (a._targets = b.length ? mr(b) : ce("GSAP target " + r + " not found. https://gsap.com", !ot.nullTargetWarn) || [], a._ptLookup = [], a._overwrite = _, p || d || ve(l) || ve(f)) {
1141
+ if (i = a.vars, w = a.timeline = new H({
1142
+ data: "nested",
1143
+ defaults: c || {},
1144
+ targets: x && x.data === "nested" ? x.vars.targets : b
1145
+ }), w.kill(), w.parent = w._dp = vt(a), w._start = 0, d || ve(l) || ve(f)) {
1146
+ if (S = b.length, k = d && bi(d), yt(d))
1147
+ for (C in d)
1148
+ ~Ii.indexOf(C) && (A || (A = {}), A[C] = d[C]);
1149
+ for (g = 0; g < S; g++)
1150
+ T = Re(i, Li), T.stagger = 0, y && (T.yoyoEase = y), A && Qt(T, A), v = b[g], T.duration = +fe(l, vt(a), g, v, b), T.delay = (+fe(f, vt(a), g, v, b) || 0) - a._delay, !d && S === 1 && T.delay && (a._delay = f = T.delay, a._start += f, T.delay = 0), w.to(v, T, k ? k(g, v, b) : 0), w._ease = W.none;
1151
+ w.duration() ? l = f = 0 : a.timeline = 0;
1152
+ } else if (p) {
1153
+ ue(lt(w.vars.defaults, {
1154
+ ease: "none"
1155
+ })), w._ease = Vt(p.ease || i.ease || "none");
1156
+ var D = 0, M, Y, q;
1157
+ if ($(p))
1158
+ p.forEach(function(j) {
1159
+ return w.to(b, j, ">");
1160
+ }), w.duration();
1161
+ else {
1162
+ T = {};
1163
+ for (C in p)
1164
+ C === "ease" || C === "easeEach" || $n(C, p[C], T, p.easeEach);
1165
+ for (C in T)
1166
+ for (M = T[C].sort(function(j, V) {
1167
+ return j.t - V.t;
1168
+ }), D = 0, g = 0; g < M.length; g++)
1169
+ Y = M[g], q = {
1170
+ ease: Y.e,
1171
+ duration: (Y.t - (g ? M[g - 1].t : 0)) / 100 * l
1172
+ }, q[C] = Y.v, w.to(b, q, D), D += q.duration;
1173
+ w.duration() < l && w.to({}, {
1174
+ duration: l - w.duration()
1175
+ });
1176
+ }
1177
+ }
1178
+ l || a.duration(l = w.duration());
1179
+ } else
1180
+ a.timeline = 0;
1181
+ return _ === !0 && !lr && (St = vt(a), z.killTweensOf(b), St = 0), mt(x, vt(a), n), i.reversed && a.reverse(), i.paused && a.paused(!0), (h || !l && !p && a._start === E(x._time) && Z(h) && Cn(vt(a)) && x.data !== "nested") && (a._tTime = -R, a.render(Math.max(0, -f) || 0)), m && gi(vt(a), m), a;
1182
+ }
1183
+ var e = t.prototype;
1184
+ return e.render = function(i, n, s) {
1185
+ var a = this._time, u = this._tDur, l = this._dur, f = i < 0, h = i > u - R && !f ? u : i < R ? 0 : i, d, _, p, c, m, y, x, b, w;
1186
+ if (!l)
1187
+ kn(this, i, n, s);
1188
+ else if (h !== this._tTime || !i || s || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== f || this._lazy) {
1189
+ if (d = h, b = this.timeline, this._repeat) {
1190
+ if (c = l + this._rDelay, this._repeat < -1 && f)
1191
+ return this.totalTime(c * 100 + i, n, s);
1192
+ if (d = E(h % c), h === u ? (p = this._repeat, d = l) : (m = E(h / c), p = ~~m, p && p === m ? (d = l, p--) : d > l && (d = l)), y = this._yoyo && p & 1, y && (w = this._yEase, d = l - d), m = Jt(this._tTime, c), d === a && !s && this._initted && p === m)
1193
+ return this._tTime = h, this;
1194
+ p !== m && (b && this._yEase && Ai(b, y), this.vars.repeatRefresh && !y && !this._lock && d !== c && this._initted && (this._lock = s = 1, this.render(E(c * p), !0).invalidate()._lock = 0));
1195
+ }
1196
+ if (!this._initted) {
1197
+ if (yi(this, f ? i : d, s, n, h))
1198
+ return this._tTime = 0, this;
1199
+ if (a !== this._time && !(s && this.vars.repeatRefresh && p !== m))
1200
+ return this;
1201
+ if (l !== this._dur)
1202
+ return this.render(i, n, s);
1203
+ }
1204
+ if (this._tTime = h, this._time = d, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = x = (w || this._ease)(d / l), this._from && (this.ratio = x = 1 - x), !a && h && !n && !m && (st(this, "onStart"), this._tTime !== h))
1205
+ return this;
1206
+ for (_ = this._pt; _; )
1207
+ _.r(x, _.d), _ = _._next;
1208
+ b && b.render(i < 0 ? i : b._dur * b._ease(d / this._dur), n, s) || this._startAt && (this._zTime = i), this._onUpdate && !n && (f && Ze(this, i, n, s), st(this, "onUpdate")), this._repeat && p !== m && this.vars.onRepeat && !n && this.parent && st(this, "onRepeat"), (h === this._tDur || !h) && this._tTime === h && (f && !this._onUpdate && Ze(this, i, !0, !0), (i || !l) && (h === this._tDur && this._ts > 0 || !h && this._ts < 0) && Rt(this, 1), !n && !(f && !a) && (h || a || y) && (st(this, h === u ? "onComplete" : "onReverseComplete", !0), this._prom && !(h < u && this.timeScale() > 0) && this._prom()));
1209
+ }
1210
+ return this;
1211
+ }, e.targets = function() {
1212
+ return this._targets;
1213
+ }, e.invalidate = function(i) {
1214
+ return (!i || !this.vars.runBackwards) && (this._startAt = 0), this._pt = this._op = this._onUpdate = this._lazy = this.ratio = 0, this._ptLookup = [], this.timeline && this.timeline.invalidate(i), o.prototype.invalidate.call(this, i);
1215
+ }, e.resetTo = function(i, n, s, a, u) {
1216
+ _e || nt.wake(), this._ts || this.play();
1217
+ var l = Math.min(this._dur, (this._dp._time - this._start) * this._ts), f;
1218
+ return this._initted || xr(this, l), f = this._ease(l / this._dur), Xn(this, i, n, s, a, f, l, u) ? this.resetTo(i, n, s, a, 1) : (Le(this, 0), this.parent || pi(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
1219
+ }, e.kill = function(i, n) {
1220
+ if (n === void 0 && (n = "all"), !i && (!n || n === "all"))
1221
+ return this._lazy = this._pt = 0, this.parent ? ae(this) : this.scrollTrigger && this.scrollTrigger.kill(!!X), this;
1222
+ if (this.timeline) {
1223
+ var s = this.timeline.totalDuration();
1224
+ return this.timeline.killTweensOf(i, n, St && St.vars.overwrite !== !0)._first || ae(this), this.parent && s !== this.timeline.totalDuration() && te(this, this._dur * this.timeline._tDur / s, 0, 1), this;
1225
+ }
1226
+ var a = this._targets, u = i ? ht(i) : a, l = this._ptLookup, f = this._pt, h, d, _, p, c, m, y;
1227
+ if ((!n || n === "all") && Tn(a, u))
1228
+ return n === "all" && (this._pt = 0), ae(this);
1229
+ for (h = this._op = this._op || [], n !== "all" && (U(n) && (c = {}, Q(n, function(x) {
1230
+ return c[x] = 1;
1231
+ }), n = c), n = Gn(a, n)), y = a.length; y--; )
1232
+ if (~u.indexOf(a[y])) {
1233
+ d = l[y], n === "all" ? (h[y] = n, p = d, _ = {}) : (_ = h[y] = h[y] || {}, p = n);
1234
+ for (c in p)
1235
+ m = d && d[c], m && ((!("kill" in m.d) || m.d.kill(c) === !0) && ze(this, m, "_pt"), delete d[c]), _ !== "all" && (_[c] = 1);
1236
+ }
1237
+ return this._initted && !this._pt && f && ae(this), this;
1238
+ }, t.to = function(i, n) {
1239
+ return new t(i, n, arguments[2]);
1240
+ }, t.from = function(i, n) {
1241
+ return le(1, arguments);
1242
+ }, t.delayedCall = function(i, n, s, a) {
1243
+ return new t(n, 0, {
1244
+ immediateRender: !1,
1245
+ lazy: !1,
1246
+ overwrite: !1,
1247
+ delay: i,
1248
+ onComplete: n,
1249
+ onReverseComplete: n,
1250
+ onCompleteParams: s,
1251
+ onReverseCompleteParams: s,
1252
+ callbackScope: a
1253
+ });
1254
+ }, t.fromTo = function(i, n, s) {
1255
+ return le(2, arguments);
1256
+ }, t.set = function(i, n) {
1257
+ return n.duration = 0, n.repeatDelay || (n.repeat = 0), new t(i, n);
1258
+ }, t.killTweensOf = function(i, n, s) {
1259
+ return z.killTweensOf(i, n, s);
1260
+ }, t;
1261
+ })(pe);
1262
+ lt(B.prototype, {
1263
+ _targets: [],
1264
+ _lazy: 0,
1265
+ _startAt: 0,
1266
+ _op: 0,
1267
+ _onInit: 0
1268
+ });
1269
+ Q("staggerTo,staggerFrom,staggerFromTo", function(o) {
1270
+ B[o] = function() {
1271
+ var t = new H(), e = Je.call(arguments, 0);
1272
+ return e.splice(o === "staggerFromTo" ? 5 : 4, 0, 0), t[o].apply(t, e);
1273
+ };
1274
+ });
1275
+ var vr = function(t, e, r) {
1276
+ return t[e] = r;
1277
+ }, Fi = function(t, e, r) {
1278
+ return t[e](r);
1279
+ }, Hn = function(t, e, r, i) {
1280
+ return t[e](i.fp, r);
1281
+ }, Kn = function(t, e, r) {
1282
+ return t.setAttribute(e, r);
1283
+ }, br = function(t, e) {
1284
+ return L(t[e]) ? Fi : fr(t[e]) && t.setAttribute ? Kn : vr;
1285
+ }, ji = function(t, e) {
1286
+ return e.set(e.t, e.p, Math.round((e.s + e.c * t) * 1e6) / 1e6, e);
1287
+ }, Zn = function(t, e) {
1288
+ return e.set(e.t, e.p, !!(e.s + e.c * t), e);
1289
+ }, Bi = function(t, e) {
1290
+ var r = e._pt, i = "";
1291
+ if (!t && e.b)
1292
+ i = e.b;
1293
+ else if (t === 1 && e.e)
1294
+ i = e.e;
1295
+ else {
1296
+ for (; r; )
1297
+ i = r.p + (r.m ? r.m(r.s + r.c * t) : Math.round((r.s + r.c * t) * 1e4) / 1e4) + i, r = r._next;
1298
+ i += e.c;
1299
+ }
1300
+ e.set(e.t, e.p, i, e);
1301
+ }, wr = function(t, e) {
1302
+ for (var r = e._pt; r; )
1303
+ r.r(t, r.d), r = r._next;
1304
+ }, Qn = function(t, e, r, i) {
1305
+ for (var n = this._pt, s; n; )
1306
+ s = n._next, n.p === i && n.modifier(t, e, r), n = s;
1307
+ }, Jn = function(t) {
1308
+ for (var e = this._pt, r, i; e; )
1309
+ i = e._next, e.p === t && !e.op || e.op === t ? ze(this, e, "_pt") : e.dep || (r = 1), e = i;
1310
+ return !r;
1311
+ }, ts = function(t, e, r, i) {
1312
+ i.mSet(t, e, i.m.call(i.tween, r, i.mt), i);
1313
+ }, qi = function(t) {
1314
+ for (var e = t._pt, r, i, n, s; e; ) {
1315
+ for (r = e._next, i = n; i && i.pr > e.pr; )
1316
+ i = i._next;
1317
+ (e._prev = i ? i._prev : s) ? e._prev._next = e : n = e, (e._next = i) ? i._prev = e : s = e, e = r;
1318
+ }
1319
+ t._pt = n;
1320
+ }, J = /* @__PURE__ */ (function() {
1321
+ function o(e, r, i, n, s, a, u, l, f) {
1322
+ this.t = r, this.s = n, this.c = s, this.p = i, this.r = a || ji, this.d = u || this, this.set = l || vr, this.pr = f || 0, this._next = e, e && (e._prev = this);
1323
+ }
1324
+ var t = o.prototype;
1325
+ return t.modifier = function(r, i, n) {
1326
+ this.mSet = this.mSet || this.set, this.set = ts, this.m = r, this.mt = n, this.tween = i;
1327
+ }, o;
1328
+ })();
1329
+ Q(pr + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function(o) {
1330
+ return _r[o] = 1;
1331
+ });
1332
+ ut.TweenMax = ut.TweenLite = B;
1333
+ ut.TimelineLite = ut.TimelineMax = H;
1334
+ z = new H({
1335
+ sortChildren: !1,
1336
+ defaults: Zt,
1337
+ autoRemoveChildren: !0,
1338
+ id: "root",
1339
+ smoothChildTiming: !0
1340
+ });
1341
+ ot.stringFilter = Di;
1342
+ var Ut = [], Se = {}, es = [], zr = 0, rs = 0, Ye = function(t) {
1343
+ return (Se[t] || es).map(function(e) {
1344
+ return e();
1345
+ });
1346
+ }, ir = function() {
1347
+ var t = Date.now(), e = [];
1348
+ t - zr > 2 && (Ye("matchMediaInit"), Ut.forEach(function(r) {
1349
+ var i = r.queries, n = r.conditions, s, a, u, l;
1350
+ for (a in i)
1351
+ s = pt.matchMedia(i[a]).matches, s && (u = 1), s !== n[a] && (n[a] = s, l = 1);
1352
+ l && (r.revert(), u && e.push(r));
1353
+ }), Ye("matchMediaRevert"), e.forEach(function(r) {
1354
+ return r.onMatch(r, function(i) {
1355
+ return r.add(null, i);
1356
+ });
1357
+ }), zr = t, Ye("matchMedia"));
1358
+ }, Vi = /* @__PURE__ */ (function() {
1359
+ function o(e, r) {
1360
+ this.selector = r && tr(r), this.data = [], this._r = [], this.isReverted = !1, this.id = rs++, e && this.add(e);
1361
+ }
1362
+ var t = o.prototype;
1363
+ return t.add = function(r, i, n) {
1364
+ L(r) && (n = i, i = r, r = L);
1365
+ var s = this, a = function() {
1366
+ var l = N, f = s.selector, h;
1367
+ return l && l !== s && l.data.push(s), n && (s.selector = tr(n)), N = s, h = i.apply(s, arguments), L(h) && s._r.push(h), N = l, s.selector = f, s.isReverted = !1, h;
1368
+ };
1369
+ return s.last = a, r === L ? a(s, function(u) {
1370
+ return s.add(null, u);
1371
+ }) : r ? s[r] = a : a;
1372
+ }, t.ignore = function(r) {
1373
+ var i = N;
1374
+ N = null, r(this), N = i;
1375
+ }, t.getTweens = function() {
1376
+ var r = [];
1377
+ return this.data.forEach(function(i) {
1378
+ return i instanceof o ? r.push.apply(r, i.getTweens()) : i instanceof B && !(i.parent && i.parent.data === "nested") && r.push(i);
1379
+ }), r;
1380
+ }, t.clear = function() {
1381
+ this._r.length = this.data.length = 0;
1382
+ }, t.kill = function(r, i) {
1383
+ var n = this;
1384
+ if (r ? (function() {
1385
+ for (var a = n.getTweens(), u = n.data.length, l; u--; )
1386
+ l = n.data[u], l.data === "isFlip" && (l.revert(), l.getChildren(!0, !0, !1).forEach(function(f) {
1387
+ return a.splice(a.indexOf(f), 1);
1388
+ }));
1389
+ for (a.map(function(f) {
1390
+ return {
1391
+ g: f._dur || f._delay || f._sat && !f._sat.vars.immediateRender ? f.globalTime(0) : -1 / 0,
1392
+ t: f
1393
+ };
1394
+ }).sort(function(f, h) {
1395
+ return h.g - f.g || -1 / 0;
1396
+ }).forEach(function(f) {
1397
+ return f.t.revert(r);
1398
+ }), u = n.data.length; u--; )
1399
+ l = n.data[u], l instanceof H ? l.data !== "nested" && (l.scrollTrigger && l.scrollTrigger.revert(), l.kill()) : !(l instanceof B) && l.revert && l.revert(r);
1400
+ n._r.forEach(function(f) {
1401
+ return f(r, n);
1402
+ }), n.isReverted = !0;
1403
+ })() : this.data.forEach(function(a) {
1404
+ return a.kill && a.kill();
1405
+ }), this.clear(), i)
1406
+ for (var s = Ut.length; s--; )
1407
+ Ut[s].id === this.id && Ut.splice(s, 1);
1408
+ }, t.revert = function(r) {
1409
+ this.kill(r || {});
1410
+ }, o;
1411
+ })(), is = /* @__PURE__ */ (function() {
1412
+ function o(e) {
1413
+ this.contexts = [], this.scope = e, N && N.data.push(this);
1414
+ }
1415
+ var t = o.prototype;
1416
+ return t.add = function(r, i, n) {
1417
+ yt(r) || (r = {
1418
+ matches: r
1419
+ });
1420
+ var s = new Vi(0, n || this.scope), a = s.conditions = {}, u, l, f;
1421
+ N && !s.selector && (s.selector = N.selector), this.contexts.push(s), i = s.add("onMatch", i), s.queries = r;
1422
+ for (l in r)
1423
+ l === "all" ? f = 1 : (u = pt.matchMedia(r[l]), u && (Ut.indexOf(s) < 0 && Ut.push(s), (a[l] = u.matches) && (f = 1), u.addListener ? u.addListener(ir) : u.addEventListener("change", ir)));
1424
+ return f && i(s, function(h) {
1425
+ return s.add(null, h);
1426
+ }), this;
1427
+ }, t.revert = function(r) {
1428
+ this.kill(r || {});
1429
+ }, t.kill = function(r) {
1430
+ this.contexts.forEach(function(i) {
1431
+ return i.kill(r, !0);
1432
+ });
1433
+ }, o;
1434
+ })(), Me = {
1435
+ registerPlugin: function() {
1436
+ for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
1437
+ e[r] = arguments[r];
1438
+ e.forEach(function(i) {
1439
+ return ki(i);
1440
+ });
1441
+ },
1442
+ timeline: function(t) {
1443
+ return new H(t);
1444
+ },
1445
+ getTweensOf: function(t, e) {
1446
+ return z.getTweensOf(t, e);
1447
+ },
1448
+ getProperty: function(t, e, r, i) {
1449
+ U(t) && (t = ht(t)[0]);
1450
+ var n = Bt(t || {}).get, s = r ? _i : di;
1451
+ return r === "native" && (r = ""), t && (e ? s((it[e] && it[e].get || n)(t, e, r, i)) : function(a, u, l) {
1452
+ return s((it[a] && it[a].get || n)(t, a, u, l));
1453
+ });
1454
+ },
1455
+ quickSetter: function(t, e, r) {
1456
+ if (t = ht(t), t.length > 1) {
1457
+ var i = t.map(function(f) {
1458
+ return rt.quickSetter(f, e, r);
1459
+ }), n = i.length;
1460
+ return function(f) {
1461
+ for (var h = n; h--; )
1462
+ i[h](f);
1463
+ };
1464
+ }
1465
+ t = t[0] || {};
1466
+ var s = it[e], a = Bt(t), u = a.harness && (a.harness.aliases || {})[e] || e, l = s ? function(f) {
1467
+ var h = new s();
1468
+ Gt._pt = 0, h.init(t, r ? f + r : f, Gt, 0, [t]), h.render(1, h), Gt._pt && wr(1, Gt);
1469
+ } : a.set(t, u);
1470
+ return s ? l : function(f) {
1471
+ return l(t, u, r ? f + r : f, a, 1);
1472
+ };
1473
+ },
1474
+ quickTo: function(t, e, r) {
1475
+ var i, n = rt.to(t, lt((i = {}, i[e] = "+=0.1", i.paused = !0, i.stagger = 0, i), r || {})), s = function(u, l, f) {
1476
+ return n.resetTo(e, u, l, f);
1477
+ };
1478
+ return s.tween = n, s;
1479
+ },
1480
+ isTweening: function(t) {
1481
+ return z.getTweensOf(t, !0).length > 0;
1482
+ },
1483
+ defaults: function(t) {
1484
+ return t && t.ease && (t.ease = Vt(t.ease, Zt.ease)), Dr(Zt, t || {});
1485
+ },
1486
+ config: function(t) {
1487
+ return Dr(ot, t || {});
1488
+ },
1489
+ registerEffect: function(t) {
1490
+ var e = t.name, r = t.effect, i = t.plugins, n = t.defaults, s = t.extendTimeline;
1491
+ (i || "").split(",").forEach(function(a) {
1492
+ return a && !it[a] && !ut[a] && ce(e + " effect requires " + a + " plugin.");
1493
+ }), Be[e] = function(a, u, l) {
1494
+ return r(ht(a), lt(u || {}, n), l);
1495
+ }, s && (H.prototype[e] = function(a, u, l) {
1496
+ return this.add(Be[e](a, yt(u) ? u : (l = u) && {}, this), l);
1497
+ });
1498
+ },
1499
+ registerEase: function(t, e) {
1500
+ W[t] = Vt(e);
1501
+ },
1502
+ parseEase: function(t, e) {
1503
+ return arguments.length ? Vt(t, e) : W;
1504
+ },
1505
+ getById: function(t) {
1506
+ return z.getById(t);
1507
+ },
1508
+ exportRoot: function(t, e) {
1509
+ t === void 0 && (t = {});
1510
+ var r = new H(t), i, n;
1511
+ for (r.smoothChildTiming = Z(t.smoothChildTiming), z.remove(r), r._dp = 0, r._time = r._tTime = z._time, i = z._first; i; )
1512
+ n = i._next, (e || !(!i._dur && i instanceof B && i.vars.onComplete === i._targets[0])) && mt(r, i, i._start - i._delay), i = n;
1513
+ return mt(z, r, 0), r;
1514
+ },
1515
+ context: function(t, e) {
1516
+ return t ? new Vi(t, e) : N;
1517
+ },
1518
+ matchMedia: function(t) {
1519
+ return new is(t);
1520
+ },
1521
+ matchMediaRefresh: function() {
1522
+ return Ut.forEach(function(t) {
1523
+ var e = t.conditions, r, i;
1524
+ for (i in e)
1525
+ e[i] && (e[i] = !1, r = 1);
1526
+ r && t.revert();
1527
+ }) || ir();
1528
+ },
1529
+ addEventListener: function(t, e) {
1530
+ var r = Se[t] || (Se[t] = []);
1531
+ ~r.indexOf(e) || r.push(e);
1532
+ },
1533
+ removeEventListener: function(t, e) {
1534
+ var r = Se[t], i = r && r.indexOf(e);
1535
+ i >= 0 && r.splice(i, 1);
1536
+ },
1537
+ utils: {
1538
+ wrap: zn,
1539
+ wrapYoyo: In,
1540
+ distribute: bi,
1541
+ random: Ti,
1542
+ snap: wi,
1543
+ normalize: En,
1544
+ getUnit: G,
1545
+ clamp: Dn,
1546
+ splitColor: Oi,
1547
+ toArray: ht,
1548
+ selector: tr,
1549
+ mapRange: Ci,
1550
+ pipe: An,
1551
+ unitize: Nn,
1552
+ interpolate: Ln,
1553
+ shuffle: vi
1554
+ },
1555
+ install: ui,
1556
+ effects: Be,
1557
+ ticker: nt,
1558
+ updateRoot: H.updateRoot,
1559
+ plugins: it,
1560
+ globalTimeline: z,
1561
+ core: {
1562
+ PropTween: J,
1563
+ globals: li,
1564
+ Tween: B,
1565
+ Timeline: H,
1566
+ Animation: pe,
1567
+ getCache: Bt,
1568
+ _removeLinkedListItem: ze,
1569
+ reverting: function() {
1570
+ return X;
1571
+ },
1572
+ context: function(t) {
1573
+ return t && N && (N.data.push(t), t._ctx = N), N;
1574
+ },
1575
+ suppressOverwrites: function(t) {
1576
+ return lr = t;
1577
+ }
1578
+ }
1579
+ };
1580
+ Q("to,from,fromTo,delayedCall,set,killTweensOf", function(o) {
1581
+ return Me[o] = B[o];
1582
+ });
1583
+ nt.add(H.updateRoot);
1584
+ Gt = Me.to({}, {
1585
+ duration: 0
1586
+ });
1587
+ var ns = function(t, e) {
1588
+ for (var r = t._pt; r && r.p !== e && r.op !== e && r.fp !== e; )
1589
+ r = r._next;
1590
+ return r;
1591
+ }, ss = function(t, e) {
1592
+ var r = t._targets, i, n, s;
1593
+ for (i in e)
1594
+ for (n = r.length; n--; )
1595
+ s = t._ptLookup[n][i], s && (s = s.d) && (s._pt && (s = ns(s, i)), s && s.modifier && s.modifier(e[i], t, r[n], i));
1596
+ }, We = function(t, e) {
1597
+ return {
1598
+ name: t,
1599
+ headless: 1,
1600
+ rawVars: 1,
1601
+ //don't pre-process function-based values or "random()" strings.
1602
+ init: function(i, n, s) {
1603
+ s._onInit = function(a) {
1604
+ var u, l;
1605
+ if (U(n) && (u = {}, Q(n, function(f) {
1606
+ return u[f] = 1;
1607
+ }), n = u), e) {
1608
+ u = {};
1609
+ for (l in n)
1610
+ u[l] = e(n[l]);
1611
+ n = u;
1612
+ }
1613
+ ss(a, n);
1614
+ };
1615
+ }
1616
+ };
1617
+ }, rt = Me.registerPlugin({
1618
+ name: "attr",
1619
+ init: function(t, e, r, i, n) {
1620
+ var s, a, u;
1621
+ this.tween = r;
1622
+ for (s in e)
1623
+ u = t.getAttribute(s) || "", a = this.add(t, "setAttribute", (u || 0) + "", e[s], i, n, 0, 0, s), a.op = s, a.b = u, this._props.push(s);
1624
+ },
1625
+ render: function(t, e) {
1626
+ for (var r = e._pt; r; )
1627
+ X ? r.set(r.t, r.p, r.b, r) : r.r(t, r.d), r = r._next;
1628
+ }
1629
+ }, {
1630
+ name: "endArray",
1631
+ headless: 1,
1632
+ init: function(t, e) {
1633
+ for (var r = e.length; r--; )
1634
+ this.add(t, r, t[r] || 0, e[r], 0, 0, 0, 0, 0, 1);
1635
+ }
1636
+ }, We("roundProps", er), We("modifiers"), We("snap", wi)) || Me;
1637
+ B.version = H.version = rt.version = "3.14.2";
1638
+ oi = 1;
1639
+ cr() && ee();
1640
+ var Ir, Ct, Ht, Tr, jt, Lr, Sr, as = function() {
1641
+ return typeof window < "u";
1642
+ }, Tt = {}, Lt = 180 / Math.PI, Kt = Math.PI / 180, Wt = Math.atan2, Fr = 1e8, Cr = /([A-Z])/g, os = /(left|right|width|margin|padding|x)/i, us = /[\s,\(]\S/, gt = {
1643
+ autoAlpha: "opacity,visibility",
1644
+ scale: "scaleX,scaleY",
1645
+ alpha: "opacity"
1646
+ }, nr = function(t, e) {
1647
+ return e.set(e.t, e.p, Math.round((e.s + e.c * t) * 1e4) / 1e4 + e.u, e);
1648
+ }, ls = function(t, e) {
1649
+ return e.set(e.t, e.p, t === 1 ? e.e : Math.round((e.s + e.c * t) * 1e4) / 1e4 + e.u, e);
1650
+ }, fs = function(t, e) {
1651
+ return e.set(e.t, e.p, t ? Math.round((e.s + e.c * t) * 1e4) / 1e4 + e.u : e.b, e);
1652
+ }, cs = function(t, e) {
1653
+ return e.set(e.t, e.p, t === 1 ? e.e : t ? Math.round((e.s + e.c * t) * 1e4) / 1e4 + e.u : e.b, e);
1654
+ }, hs = function(t, e) {
1655
+ var r = e.s + e.c * t;
1656
+ e.set(e.t, e.p, ~~(r + (r < 0 ? -0.5 : 0.5)) + e.u, e);
1657
+ }, Ui = function(t, e) {
1658
+ return e.set(e.t, e.p, t ? e.e : e.b, e);
1659
+ }, Yi = function(t, e) {
1660
+ return e.set(e.t, e.p, t !== 1 ? e.b : e.e, e);
1661
+ }, ds = function(t, e, r) {
1662
+ return t.style[e] = r;
1663
+ }, _s = function(t, e, r) {
1664
+ return t.style.setProperty(e, r);
1665
+ }, ps = function(t, e, r) {
1666
+ return t._gsap[e] = r;
1667
+ }, ms = function(t, e, r) {
1668
+ return t._gsap.scaleX = t._gsap.scaleY = r;
1669
+ }, gs = function(t, e, r, i, n) {
1670
+ var s = t._gsap;
1671
+ s.scaleX = s.scaleY = r, s.renderTransform(n, s);
1672
+ }, ys = function(t, e, r, i, n) {
1673
+ var s = t._gsap;
1674
+ s[e] = r, s.renderTransform(n, s);
1675
+ }, I = "transform", tt = I + "Origin", xs = function o(t, e) {
1676
+ var r = this, i = this.target, n = i.style, s = i._gsap;
1677
+ if (t in Tt && n) {
1678
+ if (this.tfm = this.tfm || {}, t !== "transform")
1679
+ t = gt[t] || t, ~t.indexOf(",") ? t.split(",").forEach(function(a) {
1680
+ return r.tfm[a] = bt(i, a);
1681
+ }) : this.tfm[t] = s.x ? s[t] : bt(i, t), t === tt && (this.tfm.zOrigin = s.zOrigin);
1682
+ else
1683
+ return gt.transform.split(",").forEach(function(a) {
1684
+ return o.call(r, a, e);
1685
+ });
1686
+ if (this.props.indexOf(I) >= 0)
1687
+ return;
1688
+ s.svg && (this.svgo = i.getAttribute("data-svg-origin"), this.props.push(tt, e, "")), t = I;
1689
+ }
1690
+ (n || e) && this.props.push(t, e, n[t]);
1691
+ }, Wi = function(t) {
1692
+ t.translate && (t.removeProperty("translate"), t.removeProperty("scale"), t.removeProperty("rotate"));
1693
+ }, vs = function() {
1694
+ var t = this.props, e = this.target, r = e.style, i = e._gsap, n, s;
1695
+ for (n = 0; n < t.length; n += 3)
1696
+ t[n + 1] ? t[n + 1] === 2 ? e[t[n]](t[n + 2]) : e[t[n]] = t[n + 2] : t[n + 2] ? r[t[n]] = t[n + 2] : r.removeProperty(t[n].substr(0, 2) === "--" ? t[n] : t[n].replace(Cr, "-$1").toLowerCase());
1697
+ if (this.tfm) {
1698
+ for (s in this.tfm)
1699
+ i[s] = this.tfm[s];
1700
+ i.svg && (i.renderTransform(), e.setAttribute("data-svg-origin", this.svgo || "")), n = Sr(), (!n || !n.isStart) && !r[I] && (Wi(r), i.zOrigin && r[tt] && (r[tt] += " " + i.zOrigin + "px", i.zOrigin = 0, i.renderTransform()), i.uncache = 1);
1701
+ }
1702
+ }, Xi = function(t, e) {
1703
+ var r = {
1704
+ target: t,
1705
+ props: [],
1706
+ revert: vs,
1707
+ save: xs
1708
+ };
1709
+ return t._gsap || rt.core.getCache(t), e && t.style && t.nodeType && e.split(",").forEach(function(i) {
1710
+ return r.save(i);
1711
+ }), r;
1712
+ }, Gi, sr = function(t, e) {
1713
+ var r = Ct.createElementNS ? Ct.createElementNS((e || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), t) : Ct.createElement(t);
1714
+ return r && r.style ? r : Ct.createElement(t);
1715
+ }, at = function o(t, e, r) {
1716
+ var i = getComputedStyle(t);
1717
+ return i[e] || i.getPropertyValue(e.replace(Cr, "-$1").toLowerCase()) || i.getPropertyValue(e) || !r && o(t, re(e) || e, 1) || "";
1718
+ }, jr = "O,Moz,ms,Ms,Webkit".split(","), re = function(t, e, r) {
1719
+ var i = e || jt, n = i.style, s = 5;
1720
+ if (t in n && !r)
1721
+ return t;
1722
+ for (t = t.charAt(0).toUpperCase() + t.substr(1); s-- && !(jr[s] + t in n); )
1723
+ ;
1724
+ return s < 0 ? null : (s === 3 ? "ms" : s >= 0 ? jr[s] : "") + t;
1725
+ }, ar = function() {
1726
+ as() && window.document && (Ir = window, Ct = Ir.document, Ht = Ct.documentElement, jt = sr("div") || {
1727
+ style: {}
1728
+ }, sr("div"), I = re(I), tt = I + "Origin", jt.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", Gi = !!re("perspective"), Sr = rt.core.reverting, Tr = 1);
1729
+ }, Br = function(t) {
1730
+ var e = t.ownerSVGElement, r = sr("svg", e && e.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), i = t.cloneNode(!0), n;
1731
+ i.style.display = "block", r.appendChild(i), Ht.appendChild(r);
1732
+ try {
1733
+ n = i.getBBox();
1734
+ } catch {
1735
+ }
1736
+ return r.removeChild(i), Ht.removeChild(r), n;
1737
+ }, qr = function(t, e) {
1738
+ for (var r = e.length; r--; )
1739
+ if (t.hasAttribute(e[r]))
1740
+ return t.getAttribute(e[r]);
1741
+ }, $i = function(t) {
1742
+ var e, r;
1743
+ try {
1744
+ e = t.getBBox();
1745
+ } catch {
1746
+ e = Br(t), r = 1;
1747
+ }
1748
+ return e && (e.width || e.height) || r || (e = Br(t)), e && !e.width && !e.x && !e.y ? {
1749
+ x: +qr(t, ["x", "cx", "x1"]) || 0,
1750
+ y: +qr(t, ["y", "cy", "y1"]) || 0,
1751
+ width: 0,
1752
+ height: 0
1753
+ } : e;
1754
+ }, Hi = function(t) {
1755
+ return !!(t.getCTM && (!t.parentNode || t.ownerSVGElement) && $i(t));
1756
+ }, Dt = function(t, e) {
1757
+ if (e) {
1758
+ var r = t.style, i;
1759
+ e in Tt && e !== tt && (e = I), r.removeProperty ? (i = e.substr(0, 2), (i === "ms" || e.substr(0, 6) === "webkit") && (e = "-" + e), r.removeProperty(i === "--" ? e : e.replace(Cr, "-$1").toLowerCase())) : r.removeAttribute(e);
1760
+ }
1761
+ }, Pt = function(t, e, r, i, n, s) {
1762
+ var a = new J(t._pt, e, r, 0, 1, s ? Yi : Ui);
1763
+ return t._pt = a, a.b = i, a.e = n, t._props.push(r), a;
1764
+ }, Vr = {
1765
+ deg: 1,
1766
+ rad: 1,
1767
+ turn: 1
1768
+ }, bs = {
1769
+ grid: 1,
1770
+ flex: 1
1771
+ }, Mt = function o(t, e, r, i) {
1772
+ var n = parseFloat(r) || 0, s = (r + "").trim().substr((n + "").length) || "px", a = jt.style, u = os.test(e), l = t.tagName.toLowerCase() === "svg", f = (l ? "client" : "offset") + (u ? "Width" : "Height"), h = 100, d = i === "px", _ = i === "%", p, c, m, y;
1773
+ if (i === s || !n || Vr[i] || Vr[s])
1774
+ return n;
1775
+ if (s !== "px" && !d && (n = o(t, e, r, "px")), y = t.getCTM && Hi(t), (_ || s === "%") && (Tt[e] || ~e.indexOf("adius")))
1776
+ return p = y ? t.getBBox()[u ? "width" : "height"] : t[f], F(_ ? n / p * h : n / 100 * p);
1777
+ if (a[u ? "width" : "height"] = h + (d ? s : i), c = i !== "rem" && ~e.indexOf("adius") || i === "em" && t.appendChild && !l ? t : t.parentNode, y && (c = (t.ownerSVGElement || {}).parentNode), (!c || c === Ct || !c.appendChild) && (c = Ct.body), m = c._gsap, m && _ && m.width && u && m.time === nt.time && !m.uncache)
1778
+ return F(n / m.width * h);
1779
+ if (_ && (e === "height" || e === "width")) {
1780
+ var x = t.style[e];
1781
+ t.style[e] = h + i, p = t[f], x ? t.style[e] = x : Dt(t, e);
1782
+ } else
1783
+ (_ || s === "%") && !bs[at(c, "display")] && (a.position = at(t, "position")), c === t && (a.position = "static"), c.appendChild(jt), p = jt[f], c.removeChild(jt), a.position = "absolute";
1784
+ return u && _ && (m = Bt(c), m.time = nt.time, m.width = c[f]), F(d ? p * n / h : p && n ? h / p * n : 0);
1785
+ }, bt = function(t, e, r, i) {
1786
+ var n;
1787
+ return Tr || ar(), e in gt && e !== "transform" && (e = gt[e], ~e.indexOf(",") && (e = e.split(",")[0])), Tt[e] && e !== "transform" ? (n = ge(t, i), n = e !== "transformOrigin" ? n[e] : n.svg ? n.origin : Ne(at(t, tt)) + " " + n.zOrigin + "px") : (n = t.style[e], (!n || n === "auto" || i || ~(n + "").indexOf("calc(")) && (n = Ae[e] && Ae[e](t, e, r) || at(t, e) || ci(t, e) || (e === "opacity" ? 1 : 0))), r && !~(n + "").trim().indexOf(" ") ? Mt(t, e, n, r) + r : n;
1788
+ }, ws = function(t, e, r, i) {
1789
+ if (!r || r === "none") {
1790
+ var n = re(e, t, 1), s = n && at(t, n, 1);
1791
+ s && s !== r ? (e = n, r = s) : e === "borderColor" && (r = at(t, "borderTopColor"));
1792
+ }
1793
+ var a = new J(this._pt, t.style, e, 0, 1, Bi), u = 0, l = 0, f, h, d, _, p, c, m, y, x, b, w, g;
1794
+ if (a.b = r, a.e = i, r += "", i += "", i.substring(0, 6) === "var(--" && (i = at(t, i.substring(4, i.indexOf(")")))), i === "auto" && (c = t.style[e], t.style[e] = i, i = at(t, e) || i, c ? t.style[e] = c : Dt(t, e)), f = [r, i], Di(f), r = f[0], i = f[1], d = r.match(Xt) || [], g = i.match(Xt) || [], g.length) {
1795
+ for (; h = Xt.exec(i); )
1796
+ m = h[0], x = i.substring(u, h.index), p ? p = (p + 1) % 5 : (x.substr(-5) === "rgba(" || x.substr(-5) === "hsla(") && (p = 1), m !== (c = d[l++] || "") && (_ = parseFloat(c) || 0, w = c.substr((_ + "").length), m.charAt(1) === "=" && (m = $t(_, m) + w), y = parseFloat(m), b = m.substr((y + "").length), u = Xt.lastIndex - b.length, b || (b = b || ot.units[e] || w, u === i.length && (i += b, a.e += b)), w !== b && (_ = Mt(t, e, c, b) || 0), a._pt = {
1797
+ _next: a._pt,
1798
+ p: x || l === 1 ? x : ",",
1799
+ //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.
1800
+ s: _,
1801
+ c: y - _,
1802
+ m: p && p < 4 || e === "zIndex" ? Math.round : 0
1803
+ });
1804
+ a.c = u < i.length ? i.substring(u, i.length) : "";
1805
+ } else
1806
+ a.r = e === "display" && i === "none" ? Yi : Ui;
1807
+ return ai.test(i) && (a.e = 0), this._pt = a, a;
1808
+ }, Ur = {
1809
+ top: "0%",
1810
+ bottom: "100%",
1811
+ left: "0%",
1812
+ right: "100%",
1813
+ center: "50%"
1814
+ }, Ts = function(t) {
1815
+ var e = t.split(" "), r = e[0], i = e[1] || "50%";
1816
+ return (r === "top" || r === "bottom" || i === "left" || i === "right") && (t = r, r = i, i = t), e[0] = Ur[r] || r, e[1] = Ur[i] || i, e.join(" ");
1817
+ }, Ss = function(t, e) {
1818
+ if (e.tween && e.tween._time === e.tween._dur) {
1819
+ var r = e.t, i = r.style, n = e.u, s = r._gsap, a, u, l;
1820
+ if (n === "all" || n === !0)
1821
+ i.cssText = "", u = 1;
1822
+ else
1823
+ for (n = n.split(","), l = n.length; --l > -1; )
1824
+ a = n[l], Tt[a] && (u = 1, a = a === "transformOrigin" ? tt : I), Dt(r, a);
1825
+ u && (Dt(r, I), s && (s.svg && r.removeAttribute("transform"), i.scale = i.rotate = i.translate = "none", ge(r, 1), s.uncache = 1, Wi(i)));
1826
+ }
1827
+ }, Ae = {
1828
+ clearProps: function(t, e, r, i, n) {
1829
+ if (n.data !== "isFromStart") {
1830
+ var s = t._pt = new J(t._pt, e, r, 0, 0, Ss);
1831
+ return s.u = i, s.pr = -10, s.tween = n, t._props.push(r), 1;
1832
+ }
1833
+ }
1834
+ /* className feature (about 0.4kb gzipped).
1835
+ , className(plugin, target, property, endValue, tween) {
1836
+ let _renderClassName = (ratio, data) => {
1837
+ data.css.render(ratio, data.css);
1838
+ if (!ratio || ratio === 1) {
1839
+ let inline = data.rmv,
1840
+ target = data.t,
1841
+ p;
1842
+ target.setAttribute("class", ratio ? data.e : data.b);
1843
+ for (p in inline) {
1844
+ _removeProperty(target, p);
1845
+ }
1846
+ }
1847
+ },
1848
+ _getAllStyles = (target) => {
1849
+ let styles = {},
1850
+ computed = getComputedStyle(target),
1851
+ p;
1852
+ for (p in computed) {
1853
+ if (isNaN(p) && p !== "cssText" && p !== "length") {
1854
+ styles[p] = computed[p];
1855
+ }
1856
+ }
1857
+ _setDefaults(styles, _parseTransform(target, 1));
1858
+ return styles;
1859
+ },
1860
+ startClassList = target.getAttribute("class"),
1861
+ style = target.style,
1862
+ cssText = style.cssText,
1863
+ cache = target._gsap,
1864
+ classPT = cache.classPT,
1865
+ inlineToRemoveAtEnd = {},
1866
+ data = {t:target, plugin:plugin, rmv:inlineToRemoveAtEnd, b:startClassList, e:(endValue.charAt(1) !== "=") ? endValue : startClassList.replace(new RegExp("(?:\\s|^)" + endValue.substr(2) + "(?![\\w-])"), "") + ((endValue.charAt(0) === "+") ? " " + endValue.substr(2) : "")},
1867
+ changingVars = {},
1868
+ startVars = _getAllStyles(target),
1869
+ transformRelated = /(transform|perspective)/i,
1870
+ endVars, p;
1871
+ if (classPT) {
1872
+ classPT.r(1, classPT.d);
1873
+ _removeLinkedListItem(classPT.d.plugin, classPT, "_pt");
1874
+ }
1875
+ target.setAttribute("class", data.e);
1876
+ endVars = _getAllStyles(target, true);
1877
+ target.setAttribute("class", startClassList);
1878
+ for (p in endVars) {
1879
+ if (endVars[p] !== startVars[p] && !transformRelated.test(p)) {
1880
+ changingVars[p] = endVars[p];
1881
+ if (!style[p] && style[p] !== "0") {
1882
+ inlineToRemoveAtEnd[p] = 1;
1883
+ }
1884
+ }
1885
+ }
1886
+ cache.classPT = plugin._pt = new PropTween(plugin._pt, target, "className", 0, 0, _renderClassName, data, 0, -11);
1887
+ if (style.cssText !== cssText) { //only apply if things change. Otherwise, in cases like a background-image that's pulled dynamically, it could cause a refresh. See https://gsap.com/forums/topic/20368-possible-gsap-bug-switching-classnames-in-chrome/.
1888
+ style.cssText = cssText; //we recorded cssText before we swapped classes and ran _getAllStyles() because in cases when a className tween is overwritten, we remove all the related tweening properties from that class change (otherwise class-specific stuff can't override properties we've directly set on the target's style object due to specificity).
1889
+ }
1890
+ _parseTransform(target, true); //to clear the caching of transforms
1891
+ data.css = new gsap.plugins.css();
1892
+ data.css.init(target, changingVars, tween);
1893
+ plugin._props.push(...data.css._props);
1894
+ return 1;
1895
+ }
1896
+ */
1897
+ }, me = [1, 0, 0, 1, 0, 0], Ki = {}, Zi = function(t) {
1898
+ return t === "matrix(1, 0, 0, 1, 0, 0)" || t === "none" || !t;
1899
+ }, Yr = function(t) {
1900
+ var e = at(t, I);
1901
+ return Zi(e) ? me : e.substr(7).match(si).map(F);
1902
+ }, Pr = function(t, e) {
1903
+ var r = t._gsap || Bt(t), i = t.style, n = Yr(t), s, a, u, l;
1904
+ return r.svg && t.getAttribute("transform") ? (u = t.transform.baseVal.consolidate().matrix, n = [u.a, u.b, u.c, u.d, u.e, u.f], n.join(",") === "1,0,0,1,0,0" ? me : n) : (n === me && !t.offsetParent && t !== Ht && !r.svg && (u = i.display, i.display = "block", s = t.parentNode, (!s || !t.offsetParent && !t.getBoundingClientRect().width) && (l = 1, a = t.nextElementSibling, Ht.appendChild(t)), n = Yr(t), u ? i.display = u : Dt(t, "display"), l && (a ? s.insertBefore(t, a) : s ? s.appendChild(t) : Ht.removeChild(t))), e && n.length > 6 ? [n[0], n[1], n[4], n[5], n[12], n[13]] : n);
1905
+ }, or = function(t, e, r, i, n, s) {
1906
+ var a = t._gsap, u = n || Pr(t, !0), l = a.xOrigin || 0, f = a.yOrigin || 0, h = a.xOffset || 0, d = a.yOffset || 0, _ = u[0], p = u[1], c = u[2], m = u[3], y = u[4], x = u[5], b = e.split(" "), w = parseFloat(b[0]) || 0, g = parseFloat(b[1]) || 0, T, S, C, v;
1907
+ r ? u !== me && (S = _ * m - p * c) && (C = w * (m / S) + g * (-c / S) + (c * x - m * y) / S, v = w * (-p / S) + g * (_ / S) - (_ * x - p * y) / S, w = C, g = v) : (T = $i(t), w = T.x + (~b[0].indexOf("%") ? w / 100 * T.width : w), g = T.y + (~(b[1] || b[0]).indexOf("%") ? g / 100 * T.height : g)), i || i !== !1 && a.smooth ? (y = w - l, x = g - f, a.xOffset = h + (y * _ + x * c) - y, a.yOffset = d + (y * p + x * m) - x) : a.xOffset = a.yOffset = 0, a.xOrigin = w, a.yOrigin = g, a.smooth = !!i, a.origin = e, a.originIsAbsolute = !!r, t.style[tt] = "0px 0px", s && (Pt(s, a, "xOrigin", l, w), Pt(s, a, "yOrigin", f, g), Pt(s, a, "xOffset", h, a.xOffset), Pt(s, a, "yOffset", d, a.yOffset)), t.setAttribute("data-svg-origin", w + " " + g);
1908
+ }, ge = function(t, e) {
1909
+ var r = t._gsap || new Ei(t);
1910
+ if ("x" in r && !e && !r.uncache)
1911
+ return r;
1912
+ var i = t.style, n = r.scaleX < 0, s = "px", a = "deg", u = getComputedStyle(t), l = at(t, tt) || "0", f, h, d, _, p, c, m, y, x, b, w, g, T, S, C, v, k, A, D, M, Y, q, j, V, dt, xe, ie, ne, Nt, kr, xt, Et;
1913
+ return f = h = d = c = m = y = x = b = w = 0, _ = p = 1, r.svg = !!(t.getCTM && Hi(t)), u.translate && ((u.translate !== "none" || u.scale !== "none" || u.rotate !== "none") && (i[I] = (u.translate !== "none" ? "translate3d(" + (u.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (u.rotate !== "none" ? "rotate(" + u.rotate + ") " : "") + (u.scale !== "none" ? "scale(" + u.scale.split(" ").join(",") + ") " : "") + (u[I] !== "none" ? u[I] : "")), i.scale = i.rotate = i.translate = "none"), S = Pr(t, r.svg), r.svg && (r.uncache ? (dt = t.getBBox(), l = r.xOrigin - dt.x + "px " + (r.yOrigin - dt.y) + "px", V = "") : V = !e && t.getAttribute("data-svg-origin"), or(t, V || l, !!V || r.originIsAbsolute, r.smooth !== !1, S)), g = r.xOrigin || 0, T = r.yOrigin || 0, S !== me && (A = S[0], D = S[1], M = S[2], Y = S[3], f = q = S[4], h = j = S[5], S.length === 6 ? (_ = Math.sqrt(A * A + D * D), p = Math.sqrt(Y * Y + M * M), c = A || D ? Wt(D, A) * Lt : 0, x = M || Y ? Wt(M, Y) * Lt + c : 0, x && (p *= Math.abs(Math.cos(x * Kt))), r.svg && (f -= g - (g * A + T * M), h -= T - (g * D + T * Y))) : (Et = S[6], kr = S[7], ie = S[8], ne = S[9], Nt = S[10], xt = S[11], f = S[12], h = S[13], d = S[14], C = Wt(Et, Nt), m = C * Lt, C && (v = Math.cos(-C), k = Math.sin(-C), V = q * v + ie * k, dt = j * v + ne * k, xe = Et * v + Nt * k, ie = q * -k + ie * v, ne = j * -k + ne * v, Nt = Et * -k + Nt * v, xt = kr * -k + xt * v, q = V, j = dt, Et = xe), C = Wt(-M, Nt), y = C * Lt, C && (v = Math.cos(-C), k = Math.sin(-C), V = A * v - ie * k, dt = D * v - ne * k, xe = M * v - Nt * k, xt = Y * k + xt * v, A = V, D = dt, M = xe), C = Wt(D, A), c = C * Lt, C && (v = Math.cos(C), k = Math.sin(C), V = A * v + D * k, dt = q * v + j * k, D = D * v - A * k, j = j * v - q * k, A = V, q = dt), m && Math.abs(m) + Math.abs(c) > 359.9 && (m = c = 0, y = 180 - y), _ = F(Math.sqrt(A * A + D * D + M * M)), p = F(Math.sqrt(j * j + Et * Et)), C = Wt(q, j), x = Math.abs(C) > 2e-4 ? C * Lt : 0, w = xt ? 1 / (xt < 0 ? -xt : xt) : 0), r.svg && (V = t.getAttribute("transform"), r.forceCSS = t.setAttribute("transform", "") || !Zi(at(t, I)), V && t.setAttribute("transform", V))), Math.abs(x) > 90 && Math.abs(x) < 270 && (n ? (_ *= -1, x += c <= 0 ? 180 : -180, c += c <= 0 ? 180 : -180) : (p *= -1, x += x <= 0 ? 180 : -180)), e = e || r.uncache, r.x = f - ((r.xPercent = f && (!e && r.xPercent || (Math.round(t.offsetWidth / 2) === Math.round(-f) ? -50 : 0))) ? t.offsetWidth * r.xPercent / 100 : 0) + s, r.y = h - ((r.yPercent = h && (!e && r.yPercent || (Math.round(t.offsetHeight / 2) === Math.round(-h) ? -50 : 0))) ? t.offsetHeight * r.yPercent / 100 : 0) + s, r.z = d + s, r.scaleX = F(_), r.scaleY = F(p), r.rotation = F(c) + a, r.rotationX = F(m) + a, r.rotationY = F(y) + a, r.skewX = x + a, r.skewY = b + a, r.transformPerspective = w + s, (r.zOrigin = parseFloat(l.split(" ")[2]) || !e && r.zOrigin || 0) && (i[tt] = Ne(l)), r.xOffset = r.yOffset = 0, r.force3D = ot.force3D, r.renderTransform = r.svg ? Ps : Gi ? Qi : Cs, r.uncache = 0, r;
1914
+ }, Ne = function(t) {
1915
+ return (t = t.split(" "))[0] + " " + t[1];
1916
+ }, Xe = function(t, e, r) {
1917
+ var i = G(e);
1918
+ return F(parseFloat(e) + parseFloat(Mt(t, "x", r + "px", i))) + i;
1919
+ }, Cs = function(t, e) {
1920
+ e.z = "0px", e.rotationY = e.rotationX = "0deg", e.force3D = 0, Qi(t, e);
1921
+ }, zt = "0deg", se = "0px", It = ") ", Qi = function(t, e) {
1922
+ var r = e || this, i = r.xPercent, n = r.yPercent, s = r.x, a = r.y, u = r.z, l = r.rotation, f = r.rotationY, h = r.rotationX, d = r.skewX, _ = r.skewY, p = r.scaleX, c = r.scaleY, m = r.transformPerspective, y = r.force3D, x = r.target, b = r.zOrigin, w = "", g = y === "auto" && t && t !== 1 || y === !0;
1923
+ if (b && (h !== zt || f !== zt)) {
1924
+ var T = parseFloat(f) * Kt, S = Math.sin(T), C = Math.cos(T), v;
1925
+ T = parseFloat(h) * Kt, v = Math.cos(T), s = Xe(x, s, S * v * -b), a = Xe(x, a, -Math.sin(T) * -b), u = Xe(x, u, C * v * -b + b);
1926
+ }
1927
+ m !== se && (w += "perspective(" + m + It), (i || n) && (w += "translate(" + i + "%, " + n + "%) "), (g || s !== se || a !== se || u !== se) && (w += u !== se || g ? "translate3d(" + s + ", " + a + ", " + u + ") " : "translate(" + s + ", " + a + It), l !== zt && (w += "rotate(" + l + It), f !== zt && (w += "rotateY(" + f + It), h !== zt && (w += "rotateX(" + h + It), (d !== zt || _ !== zt) && (w += "skew(" + d + ", " + _ + It), (p !== 1 || c !== 1) && (w += "scale(" + p + ", " + c + It), x.style[I] = w || "translate(0, 0)";
1928
+ }, Ps = function(t, e) {
1929
+ var r = e || this, i = r.xPercent, n = r.yPercent, s = r.x, a = r.y, u = r.rotation, l = r.skewX, f = r.skewY, h = r.scaleX, d = r.scaleY, _ = r.target, p = r.xOrigin, c = r.yOrigin, m = r.xOffset, y = r.yOffset, x = r.forceCSS, b = parseFloat(s), w = parseFloat(a), g, T, S, C, v;
1930
+ u = parseFloat(u), l = parseFloat(l), f = parseFloat(f), f && (f = parseFloat(f), l += f, u += f), u || l ? (u *= Kt, l *= Kt, g = Math.cos(u) * h, T = Math.sin(u) * h, S = Math.sin(u - l) * -d, C = Math.cos(u - l) * d, l && (f *= Kt, v = Math.tan(l - f), v = Math.sqrt(1 + v * v), S *= v, C *= v, f && (v = Math.tan(f), v = Math.sqrt(1 + v * v), g *= v, T *= v)), g = F(g), T = F(T), S = F(S), C = F(C)) : (g = h, C = d, T = S = 0), (b && !~(s + "").indexOf("px") || w && !~(a + "").indexOf("px")) && (b = Mt(_, "x", s, "px"), w = Mt(_, "y", a, "px")), (p || c || m || y) && (b = F(b + p - (p * g + c * S) + m), w = F(w + c - (p * T + c * C) + y)), (i || n) && (v = _.getBBox(), b = F(b + i / 100 * v.width), w = F(w + n / 100 * v.height)), v = "matrix(" + g + "," + T + "," + S + "," + C + "," + b + "," + w + ")", _.setAttribute("transform", v), x && (_.style[I] = v);
1931
+ }, ks = function(t, e, r, i, n) {
1932
+ var s = 360, a = U(n), u = parseFloat(n) * (a && ~n.indexOf("rad") ? Lt : 1), l = u - i, f = i + l + "deg", h, d;
1933
+ return a && (h = n.split("_")[1], h === "short" && (l %= s, l !== l % (s / 2) && (l += l < 0 ? s : -s)), h === "cw" && l < 0 ? l = (l + s * Fr) % s - ~~(l / s) * s : h === "ccw" && l > 0 && (l = (l - s * Fr) % s - ~~(l / s) * s)), t._pt = d = new J(t._pt, e, r, i, l, ls), d.e = f, d.u = "deg", t._props.push(r), d;
1934
+ }, Wr = function(t, e) {
1935
+ for (var r in e)
1936
+ t[r] = e[r];
1937
+ return t;
1938
+ }, Os = function(t, e, r) {
1939
+ var i = Wr({}, r._gsap), n = "perspective,force3D,transformOrigin,svgOrigin", s = r.style, a, u, l, f, h, d, _, p;
1940
+ i.svg ? (l = r.getAttribute("transform"), r.setAttribute("transform", ""), s[I] = e, a = ge(r, 1), Dt(r, I), r.setAttribute("transform", l)) : (l = getComputedStyle(r)[I], s[I] = e, a = ge(r, 1), s[I] = l);
1941
+ for (u in Tt)
1942
+ l = i[u], f = a[u], l !== f && n.indexOf(u) < 0 && (_ = G(l), p = G(f), h = _ !== p ? Mt(r, u, l, p) : parseFloat(l), d = parseFloat(f), t._pt = new J(t._pt, a, u, h, d - h, nr), t._pt.u = p || 0, t._props.push(u));
1943
+ Wr(a, i);
1944
+ };
1945
+ Q("padding,margin,Width,Radius", function(o, t) {
1946
+ var e = "Top", r = "Right", i = "Bottom", n = "Left", s = (t < 3 ? [e, r, i, n] : [e + n, e + r, i + r, i + n]).map(function(a) {
1947
+ return t < 2 ? o + a : "border" + a + o;
1948
+ });
1949
+ Ae[t > 1 ? "border" + o : o] = function(a, u, l, f, h) {
1950
+ var d, _;
1951
+ if (arguments.length < 4)
1952
+ return d = s.map(function(p) {
1953
+ return bt(a, p, l);
1954
+ }), _ = d.join(" "), _.split(d[0]).length === 5 ? d[0] : _;
1955
+ d = (f + "").split(" "), _ = {}, s.forEach(function(p, c) {
1956
+ return _[p] = d[c] = d[c] || d[(c - 1) / 2 | 0];
1957
+ }), a.init(u, _, h);
1958
+ };
1959
+ });
1960
+ var Ji = {
1961
+ name: "css",
1962
+ register: ar,
1963
+ targetTest: function(t) {
1964
+ return t.style && t.nodeType;
1965
+ },
1966
+ init: function(t, e, r, i, n) {
1967
+ var s = this._props, a = t.style, u = r.vars.startAt, l, f, h, d, _, p, c, m, y, x, b, w, g, T, S, C, v;
1968
+ Tr || ar(), this.styles = this.styles || Xi(t), C = this.styles.props, this.tween = r;
1969
+ for (c in e)
1970
+ if (c !== "autoRound" && (f = e[c], !(it[c] && zi(c, e, r, i, t, n)))) {
1971
+ if (_ = typeof f, p = Ae[c], _ === "function" && (f = f.call(r, i, t, n), _ = typeof f), _ === "string" && ~f.indexOf("random(") && (f = de(f)), p)
1972
+ p(this, t, c, f, r) && (S = 1);
1973
+ else if (c.substr(0, 2) === "--")
1974
+ l = (getComputedStyle(t).getPropertyValue(c) + "").trim(), f += "", Ot.lastIndex = 0, Ot.test(l) || (m = G(l), y = G(f), y ? m !== y && (l = Mt(t, c, l, y) + y) : m && (f += m)), this.add(a, "setProperty", l, f, i, n, 0, 0, c), s.push(c), C.push(c, 0, a[c]);
1975
+ else if (_ !== "undefined") {
1976
+ if (u && c in u ? (l = typeof u[c] == "function" ? u[c].call(r, i, t, n) : u[c], U(l) && ~l.indexOf("random(") && (l = de(l)), G(l + "") || l === "auto" || (l += ot.units[c] || G(bt(t, c)) || ""), (l + "").charAt(1) === "=" && (l = bt(t, c))) : l = bt(t, c), d = parseFloat(l), x = _ === "string" && f.charAt(1) === "=" && f.substr(0, 2), x && (f = f.substr(2)), h = parseFloat(f), c in gt && (c === "autoAlpha" && (d === 1 && bt(t, "visibility") === "hidden" && h && (d = 0), C.push("visibility", 0, a.visibility), Pt(this, a, "visibility", d ? "inherit" : "hidden", h ? "inherit" : "hidden", !h)), c !== "scale" && c !== "transform" && (c = gt[c], ~c.indexOf(",") && (c = c.split(",")[0]))), b = c in Tt, b) {
1977
+ if (this.styles.save(c), v = f, _ === "string" && f.substring(0, 6) === "var(--") {
1978
+ if (f = at(t, f.substring(4, f.indexOf(")"))), f.substring(0, 5) === "calc(") {
1979
+ var k = t.style.perspective;
1980
+ t.style.perspective = f, f = at(t, "perspective"), k ? t.style.perspective = k : Dt(t, "perspective");
1981
+ }
1982
+ h = parseFloat(f);
1983
+ }
1984
+ if (w || (g = t._gsap, g.renderTransform && !e.parseTransform || ge(t, e.parseTransform), T = e.smoothOrigin !== !1 && g.smooth, w = this._pt = new J(this._pt, a, I, 0, 1, g.renderTransform, g, 0, -1), w.dep = 1), c === "scale")
1985
+ this._pt = new J(this._pt, g, "scaleY", g.scaleY, (x ? $t(g.scaleY, x + h) : h) - g.scaleY || 0, nr), this._pt.u = 0, s.push("scaleY", c), c += "X";
1986
+ else if (c === "transformOrigin") {
1987
+ C.push(tt, 0, a[tt]), f = Ts(f), g.svg ? or(t, f, 0, T, 0, this) : (y = parseFloat(f.split(" ")[2]) || 0, y !== g.zOrigin && Pt(this, g, "zOrigin", g.zOrigin, y), Pt(this, a, c, Ne(l), Ne(f)));
1988
+ continue;
1989
+ } else if (c === "svgOrigin") {
1990
+ or(t, f, 1, T, 0, this);
1991
+ continue;
1992
+ } else if (c in Ki) {
1993
+ ks(this, g, c, d, x ? $t(d, x + f) : f);
1994
+ continue;
1995
+ } else if (c === "smoothOrigin") {
1996
+ Pt(this, g, "smooth", g.smooth, f);
1997
+ continue;
1998
+ } else if (c === "force3D") {
1999
+ g[c] = f;
2000
+ continue;
2001
+ } else if (c === "transform") {
2002
+ Os(this, f, t);
2003
+ continue;
2004
+ }
2005
+ } else c in a || (c = re(c) || c);
2006
+ if (b || (h || h === 0) && (d || d === 0) && !us.test(f) && c in a)
2007
+ m = (l + "").substr((d + "").length), h || (h = 0), y = G(f) || (c in ot.units ? ot.units[c] : m), m !== y && (d = Mt(t, c, l, y)), this._pt = new J(this._pt, b ? g : a, c, d, (x ? $t(d, x + h) : h) - d, !b && (y === "px" || c === "zIndex") && e.autoRound !== !1 ? hs : nr), this._pt.u = y || 0, b && v !== f ? (this._pt.b = l, this._pt.e = v, this._pt.r = cs) : m !== y && y !== "%" && (this._pt.b = l, this._pt.r = fs);
2008
+ else if (c in a)
2009
+ ws.call(this, t, c, l, x ? x + f : f);
2010
+ else if (c in t)
2011
+ this.add(t, c, l || t[c], x ? x + f : f, i, n);
2012
+ else if (c !== "parseTransform") {
2013
+ dr(c, f);
2014
+ continue;
2015
+ }
2016
+ b || (c in a ? C.push(c, 0, a[c]) : typeof t[c] == "function" ? C.push(c, 2, t[c]()) : C.push(c, 1, l || t[c])), s.push(c);
2017
+ }
2018
+ }
2019
+ S && qi(this);
2020
+ },
2021
+ render: function(t, e) {
2022
+ if (e.tween._time || !Sr())
2023
+ for (var r = e._pt; r; )
2024
+ r.r(t, r.d), r = r._next;
2025
+ else
2026
+ e.styles.revert();
2027
+ },
2028
+ get: bt,
2029
+ aliases: gt,
2030
+ getSetter: function(t, e, r) {
2031
+ var i = gt[e];
2032
+ return i && i.indexOf(",") < 0 && (e = i), e in Tt && e !== tt && (t._gsap.x || bt(t, "x")) ? r && Lr === r ? e === "scale" ? ms : ps : (Lr = r || {}) && (e === "scale" ? gs : ys) : t.style && !fr(t.style[e]) ? ds : ~e.indexOf("-") ? _s : br(t, e);
2033
+ },
2034
+ core: {
2035
+ _removeProperty: Dt,
2036
+ _getMatrix: Pr
2037
+ }
2038
+ };
2039
+ rt.utils.checkPrefix = re;
2040
+ rt.core.getStyleSaver = Xi;
2041
+ (function(o, t, e, r) {
2042
+ var i = Q(o + "," + t + "," + e, function(n) {
2043
+ Tt[n] = 1;
2044
+ });
2045
+ Q(t, function(n) {
2046
+ ot.units[n] = "deg", Ki[n] = 1;
2047
+ }), gt[i[13]] = o + "," + t, Q(r, function(n) {
2048
+ var s = n.split(":");
2049
+ gt[s[1]] = i[s[0]];
2050
+ });
2051
+ })("x,y,z,scale,scaleX,scaleY,xPercent,yPercent", "rotation,rotationX,rotationY,skewX,skewY", "transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective", "0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");
2052
+ Q("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(o) {
2053
+ ot.units[o] = "px";
2054
+ });
2055
+ rt.registerPlugin(Ji);
2056
+ var K = rt.registerPlugin(Ji) || rt;
2057
+ let Xr = typeof document < "u" ? Zr : Ce, Gr = (o) => o && !Array.isArray(o) && typeof o == "object", be = [], Rs = {}, tn = K;
2058
+ const Fe = (o, t = be) => {
2059
+ let e = Rs;
2060
+ Gr(o) ? (e = o, o = null, t = "dependencies" in e ? e.dependencies : be) : Gr(t) && (e = t, t = "dependencies" in e ? e.dependencies : be), o && typeof o != "function" && console.warn("First parameter must be a function or config object");
2061
+ const { scope: r, revertOnUpdate: i } = e, n = _t(!1), s = _t(tn.context(() => {
2062
+ }, r)), a = _t((l) => s.current.add(null, l)), u = t && t.length && !i;
2063
+ return u && Xr(() => (n.current = !0, () => s.current.revert()), be), Xr(() => {
2064
+ if (o && s.current.add(o, r), !u || !n.current)
2065
+ return () => s.current.revert();
2066
+ }, t), { context: s.current, contextSafe: a.current };
2067
+ };
2068
+ Fe.register = (o) => {
2069
+ tn = o;
2070
+ };
2071
+ Fe.headless = !0;
2072
+ const Ds = (o, t) => {
2073
+ Fe(
53
2074
  () => {
54
- if (!t.current) return;
55
- const a = t.current, o = document.querySelector('[data-main-content="true"]');
56
- if (e) {
57
- d.fromTo(
58
- a,
2075
+ if (!o.current) return;
2076
+ const e = o.current, r = document.querySelector('[data-main-content="true"]');
2077
+ if (t) {
2078
+ K.fromTo(
2079
+ e,
59
2080
  {
60
2081
  width: "0rem",
61
2082
  opacity: 0
@@ -66,14 +2087,14 @@ const H = (t, e) => {
66
2087
  duration: 0.4,
67
2088
  ease: "power2.out"
68
2089
  }
69
- ), o && d.to(o, {
70
- marginLeft: a.offsetWidth + "px",
2090
+ ), r && K.to(r, {
2091
+ marginLeft: e.offsetWidth + "px",
71
2092
  duration: 0.4,
72
2093
  ease: "power2.out"
73
2094
  });
74
- const n = a.querySelectorAll(".secondary-bar-content > *");
75
- n.length > 0 && d.fromTo(
76
- n,
2095
+ const i = e.querySelectorAll(".secondary-bar-content > *");
2096
+ i.length > 0 && K.fromTo(
2097
+ i,
77
2098
  {
78
2099
  y: 20,
79
2100
  opacity: 0
@@ -88,117 +2109,117 @@ const H = (t, e) => {
88
2109
  }
89
2110
  );
90
2111
  } else
91
- d.to(a, {
2112
+ K.to(e, {
92
2113
  width: "0rem",
93
2114
  opacity: 0,
94
2115
  duration: 0.3,
95
2116
  ease: "power2.in"
96
- }), o && d.to(o, {
2117
+ }), r && K.to(r, {
97
2118
  marginLeft: "0px",
98
2119
  duration: 0.3,
99
2120
  ease: "power2.in"
100
2121
  });
101
2122
  },
102
- { scope: t, dependencies: [e] }
2123
+ { scope: o, dependencies: [t] }
103
2124
  );
104
- }, S = ({
105
- children: t,
106
- isOpen: e = !1,
107
- className: a = "",
108
- width: o = "w-96",
109
- action: n,
110
- primarySidebarCollapsed: i,
2125
+ }, $r = ({
2126
+ children: o,
2127
+ isOpen: t = !1,
2128
+ className: e = "",
2129
+ width: r = "w-96",
2130
+ action: i,
2131
+ primarySidebarCollapsed: n,
111
2132
  onClose: s
112
2133
  }) => {
113
- const l = v(null), [x, f] = w({ left: 0, width: 0 }), { primarySidebarRef: u, tabBarRef: p } = C();
114
- return q(() => {
115
- if (u?.current && p?.current) {
116
- const m = u.current.getBoundingClientRect();
117
- f({
118
- left: m.width + p.current.offsetWidth,
119
- width: m.width
2134
+ const a = _t(null), [u, l] = Ge({ left: 0, width: 0 }), { primarySidebarRef: f, tabBarRef: h } = ei();
2135
+ return Zr(() => {
2136
+ if (f?.current && h?.current) {
2137
+ const d = f.current.getBoundingClientRect();
2138
+ l({
2139
+ left: d.width + h.current.offsetWidth,
2140
+ width: d.width
120
2141
  });
121
2142
  }
122
- }, [u, e, i, p]), H(l, e), /* @__PURE__ */ r.jsx(r.Fragment, { children: e && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
123
- /* @__PURE__ */ r.jsx(
2143
+ }, [f, t, n, h]), Ds(a, t), /* @__PURE__ */ P.jsx(P.Fragment, { children: t && /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
2144
+ /* @__PURE__ */ P.jsx(
124
2145
  "div",
125
2146
  {
126
2147
  className: "fixed inset-0 bg-black/95 z-40",
127
2148
  style: {
128
- left: x.left
2149
+ left: u.left
129
2150
  },
130
2151
  onClick: s
131
2152
  }
132
2153
  ),
133
- /* @__PURE__ */ r.jsx(
2154
+ /* @__PURE__ */ P.jsx(
134
2155
  "div",
135
2156
  {
136
- ref: l,
137
- className: c(
2157
+ ref: a,
2158
+ className: et(
138
2159
  "h-screen bg-neutral-default-default border-r border-neutral-strong-default flex flex-col secondary-bar shrink-0",
139
2160
  "absolute top-0 z-50",
140
- o,
141
- a
2161
+ r,
2162
+ e
142
2163
  ),
143
2164
  style: {
144
- left: x.left
2165
+ left: u.left
145
2166
  },
146
- "data-action": n,
147
- children: /* @__PURE__ */ r.jsx("div", { className: "secondary-bar-content", children: t })
2167
+ "data-action": i,
2168
+ children: /* @__PURE__ */ P.jsx("div", { className: "secondary-bar-content", children: o })
148
2169
  }
149
2170
  )
150
2171
  ] }) });
151
- }, W = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: c("h-16 ", e), children: t }), $ = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: c("flex-1 overflow-y-auto p-4", e), children: t }), M = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: c("p-4 border-t border-neutral-strong-default", e), children: t }), F = ({ className: t }) => /* @__PURE__ */ r.jsx("div", { className: c("flex-1", t) }), fe = Object.assign(S, {
152
- Root: S,
153
- Header: W,
154
- Content: $,
155
- Footer: M,
156
- Spacer: F
157
- }), R = A(
2172
+ }, Ms = ({ children: o, className: t }) => /* @__PURE__ */ P.jsx("div", { className: et("h-16 ", t), children: o }), As = ({ children: o, className: t }) => /* @__PURE__ */ P.jsx("div", { className: et("flex-1 overflow-y-auto p-4", t), children: o }), Ns = ({ children: o, className: t }) => /* @__PURE__ */ P.jsx("div", { className: et("p-4 border-t border-neutral-strong-default", t), children: o }), Es = ({ className: o }) => /* @__PURE__ */ P.jsx("div", { className: et("flex-1", o) }), ea = Object.assign($r, {
2173
+ Root: $r,
2174
+ Header: Ms,
2175
+ Content: As,
2176
+ Footer: Ns,
2177
+ Spacer: Es
2178
+ }), en = Hr(
158
2179
  void 0
159
- ), pe = () => {
160
- const t = T(R);
161
- if (!t)
2180
+ ), ra = () => {
2181
+ const o = Kr(en);
2182
+ if (!o)
162
2183
  throw new Error("useSidebar must be used within a Sidebar.Root");
163
- return t;
164
- }, U = ({
165
- children: t
2184
+ return o;
2185
+ }, zs = ({
2186
+ children: o
166
2187
  }) => {
167
- const [e, a] = w(!1), [o, n] = w(!1), i = v(null), s = () => {
168
- a(!1), n(!1);
169
- }, l = () => {
170
- a(!0), n(!1);
171
- }, m = {
172
- isCollapsed: e,
173
- setIsCollapsed: a,
174
- navbarRef: i,
2188
+ const [t, e] = Ge(!1), [r, i] = Ge(!1), n = _t(null), s = () => {
2189
+ e(!1), i(!1);
2190
+ }, a = () => {
2191
+ e(!0), i(!1);
2192
+ }, d = {
2193
+ isCollapsed: t,
2194
+ setIsCollapsed: e,
2195
+ navbarRef: n,
175
2196
  toggleCollapse: () => {
176
- e ? s() : l();
2197
+ t ? s() : a();
177
2198
  },
178
- activeSecondaryBar: o ? "notifications" : null,
2199
+ activeSecondaryBar: r ? "notifications" : null,
179
2200
  openSecondaryBar: () => {
180
- n(!0);
2201
+ i(!0);
181
2202
  },
182
2203
  closeSecondaryBar: () => {
183
- n(!1);
2204
+ i(!1);
184
2205
  },
185
2206
  toggleSecondaryBar: () => {
186
- n((y) => !y);
2207
+ i((_) => !_);
187
2208
  }
188
2209
  };
189
- return /* @__PURE__ */ r.jsx(R.Provider, { value: m, children: t });
190
- }, g = (t, e, a, o) => e && (Array.isArray(e) ? e.length > 0 : e) ? t.to(e, a, o) : t, G = (t, e, a) => {
191
- I(
2210
+ return /* @__PURE__ */ P.jsx(en.Provider, { value: d, children: o });
2211
+ }, Ee = (o, t, e, r) => t && (Array.isArray(t) ? t.length > 0 : t) ? o.to(t, e, r) : o, Is = (o, t, e) => {
2212
+ Fe(
192
2213
  () => {
193
- if (!t.current) return;
194
- const o = d.timeline({
2214
+ if (!o.current) return;
2215
+ const r = K.timeline({
195
2216
  defaults: { duration: 0.7, ease: "power1.out" }
196
- }), n = {
197
- navbar: t.current,
198
- navLabels: d.utils.toArray(".nav-label"),
199
- navIconWrappers: d.utils.toArray(".nav-icon-wrapper"),
200
- navIcons: d.utils.toArray(".nav-icon"),
201
- navLinkItems: d.utils.toArray(".nav-link-item"),
2217
+ }), i = {
2218
+ navbar: o.current,
2219
+ navLabels: K.utils.toArray(".nav-label"),
2220
+ navIconWrappers: K.utils.toArray(".nav-icon-wrapper"),
2221
+ navIcons: K.utils.toArray(".nav-icon"),
2222
+ navLinkItems: K.utils.toArray(".nav-link-item"),
202
2223
  logoutButton: document.querySelector(".logout-button"),
203
2224
  logoutLabel: document.querySelector(".logout-label"),
204
2225
  logoutIcon: document.querySelector(".logout-icon"),
@@ -226,20 +2247,20 @@ const H = (t, e) => {
226
2247
  ),
227
2248
  // Secondary bar elements
228
2249
  secondaryBar: document.querySelector(".secondary-bar"),
229
- secondaryBarContent: d.utils.toArray(".secondary-bar *"),
230
- badgeInLink: d.utils.toArray(".badge-in-link")
2250
+ secondaryBarContent: K.utils.toArray(".secondary-bar *"),
2251
+ badgeInLink: K.utils.toArray(".badge-in-link")
231
2252
  };
232
- e ? V(o, n) : _(o, n), n.secondaryBar && X(n.secondaryBar);
2253
+ t ? Ls(r, i) : Fs(r, i), i.secondaryBar && js(i.secondaryBar);
233
2254
  },
234
- { scope: t, dependencies: [e, a] }
2255
+ { scope: o, dependencies: [t, e] }
235
2256
  );
236
- }, V = (t, e) => {
237
- t.to(e.navbar, {
2257
+ }, Ls = (o, t) => {
2258
+ o.to(t.navbar, {
238
2259
  width: "5rem",
239
2260
  duration: 0.2,
240
2261
  ease: "bounce.out"
241
2262
  }).to(
242
- e.logo.contenedor,
2263
+ t.logo.contenedor,
243
2264
  {
244
2265
  height: 48,
245
2266
  width: 48,
@@ -248,7 +2269,7 @@ const H = (t, e) => {
248
2269
  },
249
2270
  -1
250
2271
  ).to(
251
- e.logo.text,
2272
+ t.logo.text,
252
2273
  {
253
2274
  opacity: 0,
254
2275
  scale: 0.8,
@@ -256,16 +2277,16 @@ const H = (t, e) => {
256
2277
  ease: "back.in(1.2)"
257
2278
  },
258
2279
  -1
259
- ).set(e.logo.text, {
2280
+ ).set(t.logo.text, {
260
2281
  display: "none"
261
2282
  }).to(
262
- e.sidebarHeader,
2283
+ t.sidebarHeader,
263
2284
  {
264
2285
  justifyContent: "center",
265
2286
  display: "flex"
266
2287
  },
267
2288
  -1
268
- ).to(e.logo.icon, {
2289
+ ).to(t.logo.icon, {
269
2290
  keyframes: {
270
2291
  "0%": { scale: 1 },
271
2292
  "33%": { scale: 1.5 },
@@ -275,7 +2296,7 @@ const H = (t, e) => {
275
2296
  duration: 0.6,
276
2297
  ease: "power1.inOut"
277
2298
  }).to(
278
- e.navLinkItems,
2299
+ t.navLinkItems,
279
2300
  {
280
2301
  justifyContent: "center",
281
2302
  alignItems: "center",
@@ -285,47 +2306,47 @@ const H = (t, e) => {
285
2306
  },
286
2307
  -1
287
2308
  ).to(
288
- e.navLabels,
2309
+ t.navLabels,
289
2310
  {
290
2311
  opacity: 0,
291
2312
  width: 30,
292
2313
  marginLeft: 0
293
2314
  },
294
2315
  0
295
- ).to(e.navIcons, { scale: 0.95, ease: "elastic.out(1, 0.3)" }, 0), g(
296
- t,
297
- e.buttonCrevron,
2316
+ ).to(t.navIcons, { scale: 0.95, ease: "elastic.out(1, 0.3)" }, 0), Ee(
2317
+ o,
2318
+ t.buttonCrevron,
298
2319
  {
299
2320
  width: 0,
300
2321
  opacity: 0,
301
2322
  duration: 0.7,
302
2323
  ease: "power1.out",
303
2324
  onComplete: () => {
304
- e.buttonCrevron.style.display = "none";
2325
+ t.buttonCrevron.style.display = "none";
305
2326
  }
306
2327
  },
307
2328
  0
308
- ), g(
309
- t,
310
- e.buttonContentChevron,
2329
+ ), Ee(
2330
+ o,
2331
+ t.buttonContentChevron,
311
2332
  {
312
2333
  display: "none"
313
2334
  },
314
2335
  -1
315
2336
  ).to(
316
- e.separatorProfile,
2337
+ t.separatorProfile,
317
2338
  {
318
2339
  display: "none"
319
2340
  },
320
2341
  -1
321
2342
  ).to(
322
- e.profileUserInfo,
2343
+ t.profileUserInfo,
323
2344
  {
324
2345
  display: "none"
325
2346
  },
326
2347
  -1
327
2348
  ).to(
328
- e.navLinkItems,
2349
+ t.navLinkItems,
329
2350
  {
330
2351
  borderRadius: "8px",
331
2352
  duration: 0.7,
@@ -333,7 +2354,7 @@ const H = (t, e) => {
333
2354
  },
334
2355
  0.8
335
2356
  ).to(
336
- e.profileImageWrapper,
2357
+ t.profileImageWrapper,
337
2358
  {
338
2359
  width: 52,
339
2360
  height: 52,
@@ -342,7 +2363,7 @@ const H = (t, e) => {
342
2363
  },
343
2364
  -1
344
2365
  ).to(
345
- e.buttonProfile,
2366
+ t.buttonProfile,
346
2367
  {
347
2368
  height: 44,
348
2369
  width: 58,
@@ -357,14 +2378,14 @@ const H = (t, e) => {
357
2378
  },
358
2379
  -1
359
2380
  ).to(
360
- e.containerIconcollapsade,
2381
+ t.containerIconcollapsade,
361
2382
  {
362
2383
  justifyContent: "center",
363
2384
  marginRight: 0
364
2385
  },
365
2386
  "=-1"
366
2387
  ).to(
367
- e.badgeInLink,
2388
+ t.badgeInLink,
368
2389
  {
369
2390
  position: "absolute",
370
2391
  right: 1,
@@ -372,9 +2393,9 @@ const H = (t, e) => {
372
2393
  },
373
2394
  -1
374
2395
  );
375
- }, _ = (t, e) => {
376
- t.to(e.navbar, { width: "20rem" }, -1).to(
377
- e.navLinkItems,
2396
+ }, Fs = (o, t) => {
2397
+ o.to(t.navbar, { width: "20rem" }, -1).to(
2398
+ t.navLinkItems,
378
2399
  {
379
2400
  borderRadius: "10px",
380
2401
  duration: 0.3,
@@ -382,28 +2403,28 @@ const H = (t, e) => {
382
2403
  justifyContent: "flex-start"
383
2404
  },
384
2405
  -1
385
- ), g(
386
- t,
387
- e.buttonCrevron,
2406
+ ), Ee(
2407
+ o,
2408
+ t.buttonCrevron,
388
2409
  {
389
2410
  width: "auto",
390
2411
  opacity: 1,
391
2412
  duration: 0,
392
2413
  ease: "power1.out",
393
2414
  onComplete: () => {
394
- e.buttonCrevron.style.display = "flex";
2415
+ t.buttonCrevron.style.display = "flex";
395
2416
  }
396
2417
  },
397
2418
  0
398
- ), g(
399
- t,
400
- e.buttonContentChevron,
2419
+ ), Ee(
2420
+ o,
2421
+ t.buttonContentChevron,
401
2422
  {
402
2423
  display: "flex"
403
2424
  },
404
2425
  0
405
2426
  ).to(
406
- e.logo.contenedor,
2427
+ t.logo.contenedor,
407
2428
  {
408
2429
  width: 185,
409
2430
  height: 48,
@@ -411,16 +2432,16 @@ const H = (t, e) => {
411
2432
  },
412
2433
  -1
413
2434
  ).set(
414
- e.logo.text,
2435
+ t.logo.text,
415
2436
  {
416
2437
  display: "flex"
417
2438
  },
418
2439
  -1
419
- ).to(e.logo.text, {
2440
+ ).to(t.logo.text, {
420
2441
  opacity: 1,
421
2442
  duration: 0,
422
2443
  ease: "back.in(1)"
423
- }).to(e.logo.icon, {
2444
+ }).to(t.logo.icon, {
424
2445
  keyframes: {
425
2446
  "0%": { scale: 1 },
426
2447
  "33%": { scale: 1.5 },
@@ -430,14 +2451,14 @@ const H = (t, e) => {
430
2451
  duration: 0.3,
431
2452
  ease: "power1.inOut"
432
2453
  }).to(
433
- e.sidebarHeader,
2454
+ t.sidebarHeader,
434
2455
  {
435
2456
  justifyContent: "start",
436
2457
  display: "flex"
437
2458
  },
438
2459
  -1
439
2460
  ).to(
440
- e.profileImageWrapper,
2461
+ t.profileImageWrapper,
441
2462
  {
442
2463
  marginRight: 0,
443
2464
  duration: 0.2,
@@ -445,20 +2466,20 @@ const H = (t, e) => {
445
2466
  },
446
2467
  -1
447
2468
  ).to(
448
- e.containerIconcollapsade,
2469
+ t.containerIconcollapsade,
449
2470
  {
450
2471
  justifyContent: "end",
451
2472
  marginRight: 20
452
2473
  },
453
2474
  -1
454
2475
  ).to(
455
- e.separatorProfile,
2476
+ t.separatorProfile,
456
2477
  {
457
2478
  display: "flex"
458
2479
  },
459
2480
  0
460
2481
  ).to(
461
- e.badgeInLink,
2482
+ t.badgeInLink,
462
2483
  {
463
2484
  position: "static",
464
2485
  right: "auto",
@@ -469,7 +2490,7 @@ const H = (t, e) => {
469
2490
  },
470
2491
  -1
471
2492
  ).to(
472
- e.buttonProfile,
2493
+ t.buttonProfile,
473
2494
  {
474
2495
  borderTopLeftRadius: "0.375rem",
475
2496
  borderBottomLeftRadius: "0.375rem",
@@ -479,13 +2500,13 @@ const H = (t, e) => {
479
2500
  },
480
2501
  -1
481
2502
  ).to(
482
- e.separatorProfile,
2503
+ t.separatorProfile,
483
2504
  {
484
2505
  display: "flex"
485
2506
  },
486
2507
  0
487
2508
  ).to(
488
- e.navLabels,
2509
+ t.navLabels,
489
2510
  {
490
2511
  opacity: 1,
491
2512
  width: "auto",
@@ -493,75 +2514,75 @@ const H = (t, e) => {
493
2514
  },
494
2515
  0
495
2516
  ).to(
496
- e.profileUserInfo,
2517
+ t.profileUserInfo,
497
2518
  {
498
2519
  display: "flex",
499
2520
  ease: "fade.in"
500
2521
  },
501
2522
  0
502
- ).to(e.navIcons, { scale: 1 }, 0.3);
503
- }, X = (t, e) => {
504
- d.to(t, {
2523
+ ).to(t.navIcons, { scale: 1 }, 0.3);
2524
+ }, js = (o, t) => {
2525
+ K.to(o, {
505
2526
  x: "-100%",
506
2527
  opacity: 0,
507
2528
  duration: 0.3,
508
2529
  ease: "power2.in"
509
2530
  });
510
- }, Z = k(
511
- ({ children: t, isCollapsed: e = !1, className: a = "", tabs: o = [], currentTabName: n }, i) => {
512
- const s = v(null), l = v(null), { registerPrimarySidebar: x, registerTabBar: f } = C(), u = D((p) => {
513
- s.current = p, typeof i == "function" ? i(p) : i && (i.current = p);
514
- }, [i]);
515
- return j(() => {
516
- s.current && x(s);
517
- }, [x]), j(() => {
518
- l.current && f(l);
519
- }, [f]), G(s, e, !1), /* @__PURE__ */ r.jsxs(
2531
+ }, Bs = Qr(
2532
+ ({ children: o, isCollapsed: t = !1, className: e = "", tabs: r = [], currentTabName: i }, n) => {
2533
+ const s = _t(null), a = _t(null), { registerPrimarySidebar: u, registerTabBar: l } = ei(), f = sn((h) => {
2534
+ s.current = h, typeof n == "function" ? n(h) : n && (n.current = h);
2535
+ }, [n]);
2536
+ return Ce(() => {
2537
+ s.current && u(s);
2538
+ }, [u]), Ce(() => {
2539
+ a.current && l(a);
2540
+ }, [l]), Is(s, t, !1), /* @__PURE__ */ P.jsxs(
520
2541
  "div",
521
2542
  {
522
- className: c(
2543
+ className: et(
523
2544
  "flex"
524
2545
  ),
525
2546
  children: [
526
- o.length > 0 && /* @__PURE__ */ r.jsx(
527
- z,
2547
+ r.length > 0 && /* @__PURE__ */ P.jsx(
2548
+ an,
528
2549
  {
529
- tabs: o,
530
- ref: l,
2550
+ tabs: r,
2551
+ ref: a,
531
2552
  activeColor: "var(--neutral-900)",
532
- currentTabName: n
2553
+ currentTabName: i
533
2554
  }
534
2555
  ),
535
- /* @__PURE__ */ r.jsx(
2556
+ /* @__PURE__ */ P.jsx(
536
2557
  "div",
537
2558
  {
538
- ref: u,
2559
+ ref: f,
539
2560
  className: `bg-neutral-default-default hidden overflow-hidden h-screen md:flex flex-col border-r border-neutral-strong-default transition-all duration-300 relative z-50 shrink-0
540
- ${e ? "w-16" : "w-64"} ${a}`,
541
- children: t
2561
+ ${t ? "w-16" : "w-64"} ${e}`,
2562
+ children: o
542
2563
  }
543
2564
  )
544
2565
  ]
545
2566
  }
546
2567
  );
547
2568
  }
548
- ), N = k(
549
- (t, e) => /* @__PURE__ */ r.jsx(U, { children: /* @__PURE__ */ r.jsx(Z, { ...t, ref: e }) })
2569
+ ), ur = Qr(
2570
+ (o, t) => /* @__PURE__ */ P.jsx(zs, { children: /* @__PURE__ */ P.jsx(Bs, { ...o, ref: t }) })
550
2571
  );
551
- N.displayName = "SidebarRoot";
552
- const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ r.jsx("div", { className: c("flex mt-5 mb-4 justify-end mr-5 container-icon-collapsade", t && ""), children: /* @__PURE__ */ r.jsx(
2572
+ ur.displayName = "SidebarRoot";
2573
+ const qs = ({ isCollapsed: o, onToggleCollapse: t }) => /* @__PURE__ */ P.jsx("div", { className: et("flex mt-5 mb-4 justify-end mr-5 container-icon-collapsade", o && ""), children: /* @__PURE__ */ P.jsx(
553
2574
  "button",
554
2575
  {
555
2576
  type: "button",
556
- onClick: e,
557
- title: t ? "Expandir Navbar" : "Contraer Navbar",
558
- "aria-label": t ? "Expandir Navbar" : "Contraer Navbar",
2577
+ onClick: t,
2578
+ title: o ? "Expandir Navbar" : "Contraer Navbar",
2579
+ "aria-label": o ? "Expandir Navbar" : "Contraer Navbar",
559
2580
  className: "cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",
560
- children: t ? /* @__PURE__ */ r.jsx(h, { size: 24, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ r.jsx(h, { size: 24, className: "rotate-0 transition-transform duration-300" })
2581
+ children: o ? /* @__PURE__ */ P.jsx(Pe, { size: 24, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ P.jsx(Pe, { size: 24, className: "rotate-0 transition-transform duration-300" })
561
2582
  }
562
- ) }), K = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: `${e} sidebar-header`, children: t }), Q = ({ className: t }) => /* @__PURE__ */ r.jsx("div", { className: c("px-3 flex justify-center items-center w-full mb-4", t), children: /* @__PURE__ */ r.jsx("div", { className: "border-b border-neutral-strong-default border w-full" }) }), Y = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: e, children: t }), ee = ({ className: t, size: e = "auto" }) => {
563
- const a = () => {
564
- switch (e) {
2583
+ ) }), Vs = ({ children: o, className: t }) => /* @__PURE__ */ P.jsx("div", { className: `${t} sidebar-header`, children: o }), Us = ({ className: o }) => /* @__PURE__ */ P.jsx("div", { className: et("px-3 flex justify-center items-center w-full mb-4", o), children: /* @__PURE__ */ P.jsx("div", { className: "border-b border-neutral-strong-default border w-full" }) }), Ys = ({ children: o, className: t }) => /* @__PURE__ */ P.jsx("div", { className: t, children: o }), Ws = ({ className: o, size: t = "auto" }) => {
2584
+ const e = () => {
2585
+ switch (t) {
565
2586
  case "auto":
566
2587
  return "flex-grow";
567
2588
  case "small":
@@ -572,77 +2593,77 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ r.jsx("di
572
2593
  return "h-8 w-8";
573
2594
  }
574
2595
  };
575
- return /* @__PURE__ */ r.jsx("div", { className: c(a(), t) });
576
- }, te = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: e, children: t }), me = Object.assign(N, {
577
- Root: N,
578
- CollapseButton: J,
579
- Header: K,
580
- Divider: Q,
581
- Content: Y,
582
- Spacer: ee,
583
- Footer: te
584
- }), xe = ({
585
- children: t,
586
- icon: e,
587
- label: a,
588
- href: o,
589
- onClick: n,
590
- isActive: i = !1,
2596
+ return /* @__PURE__ */ P.jsx("div", { className: et(e(), o) });
2597
+ }, Xs = ({ children: o, className: t }) => /* @__PURE__ */ P.jsx("div", { className: t, children: o }), ia = Object.assign(ur, {
2598
+ Root: ur,
2599
+ CollapseButton: qs,
2600
+ Header: Vs,
2601
+ Divider: Us,
2602
+ Content: Ys,
2603
+ Spacer: Ws,
2604
+ Footer: Xs
2605
+ }), na = ({
2606
+ children: o,
2607
+ icon: t,
2608
+ label: e,
2609
+ href: r,
2610
+ onClick: i,
2611
+ isActive: n = !1,
591
2612
  className: s
592
2613
  }) => {
593
- const l = o ? "a" : "button";
594
- return /* @__PURE__ */ r.jsxs(
595
- l,
2614
+ const a = r ? "a" : "button";
2615
+ return /* @__PURE__ */ P.jsxs(
2616
+ a,
596
2617
  {
597
- href: o,
598
- onClick: n,
599
- className: c(
2618
+ href: r,
2619
+ onClick: i,
2620
+ className: et(
600
2621
  "nav-link-item",
601
2622
  "flex items-center w-full px-3 py-2 text-left",
602
2623
  "hover:bg-neutral-medium-default transition-colors rounded-lg",
603
2624
  "focus:outline-none focus:ring-2 focus:ring-primary-default-default",
604
- i && "bg-neutral-medium-default",
2625
+ n && "bg-neutral-medium-default",
605
2626
  s
606
2627
  ),
607
2628
  children: [
608
- e && /* @__PURE__ */ r.jsx("div", { className: "nav-icon-wrapper mr-3 flex-shrink-0", children: /* @__PURE__ */ r.jsx("div", { className: "nav-icon flex items-center justify-center w-5 h-5", children: e }) }),
609
- a && /* @__PURE__ */ r.jsx("span", { className: "nav-label text-sm text-neutral-strong-default", children: a }),
610
- t
2629
+ t && /* @__PURE__ */ P.jsx("div", { className: "nav-icon-wrapper mr-3 flex-shrink-0", children: /* @__PURE__ */ P.jsx("div", { className: "nav-icon flex items-center justify-center w-5 h-5", children: t }) }),
2630
+ e && /* @__PURE__ */ P.jsx("span", { className: "nav-label text-sm text-neutral-strong-default", children: e }),
2631
+ o
611
2632
  ]
612
2633
  }
613
2634
  );
614
- }, be = ({
615
- linkActions: t,
616
- onClick: e,
617
- activeAction: a
618
- }) => /* @__PURE__ */ r.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((o, n) => {
619
- const { isView: i = !1, actionName: s, title: l, icon: x, count: f, viewAccess: u } = o || {}, p = (typeof i == "function" ? i() : i !== !1) && (!u || u()), m = a === s;
620
- return p && /* @__PURE__ */ r.jsx(
621
- b.div,
2635
+ }, sa = ({
2636
+ linkActions: o,
2637
+ onClick: t,
2638
+ activeAction: e
2639
+ }) => /* @__PURE__ */ P.jsx("nav", { className: "flex flex-col gap-1", children: o?.map((r, i) => {
2640
+ const { isView: n = !1, actionName: s, title: a, icon: u, count: l, viewAccess: f } = r || {}, h = (typeof n == "function" ? n() : n !== !1) && (!f || f()), d = e === s;
2641
+ return h && /* @__PURE__ */ P.jsx(
2642
+ Ft.div,
622
2643
  {
623
2644
  initial: { opacity: 0 },
624
2645
  animate: { opacity: 1 },
625
2646
  transition: {
626
2647
  duration: 0.4,
627
- delay: n * 0.03,
2648
+ delay: i * 0.03,
628
2649
  ease: "easeOut"
629
2650
  },
630
2651
  className: "relative flex justify-center w-full items-center px-3",
631
- children: /* @__PURE__ */ r.jsxs(
2652
+ children: /* @__PURE__ */ P.jsxs(
632
2653
  "button",
633
2654
  {
634
2655
  onClick: () => {
635
- e?.(s);
2656
+ t?.(s);
636
2657
  },
637
- className: c(
2658
+ className: et(
638
2659
  "nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
639
2660
  "transition-all duration-300 ease-out w-full",
640
2661
  "group hover:bg-neutral-medium-selected",
641
- m ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
2662
+ d ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
642
2663
  ),
643
2664
  children: [
644
- /* @__PURE__ */ r.jsx(E, { mode: "wait", children: m && /* @__PURE__ */ r.jsx(
645
- b.div,
2665
+ /* @__PURE__ */ P.jsx(on, { mode: "wait", children: d && /* @__PURE__ */ P.jsx(
2666
+ Ft.div,
646
2667
  {
647
2668
  layoutId: "nav-active-bg",
648
2669
  className: "absolute inset-0 bg-neutral-medium-selected rounded-lg",
@@ -656,8 +2677,8 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ r.jsx("di
656
2677
  }
657
2678
  }
658
2679
  ) }),
659
- /* @__PURE__ */ r.jsxs(
660
- b.div,
2680
+ /* @__PURE__ */ P.jsxs(
2681
+ Ft.div,
661
2682
  {
662
2683
  className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
663
2684
  animate: {
@@ -668,30 +2689,30 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ r.jsx("di
668
2689
  ease: "easeOut"
669
2690
  },
670
2691
  children: [
671
- /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3", children: [
672
- /* @__PURE__ */ r.jsx(
673
- b.div,
2692
+ /* @__PURE__ */ P.jsxs("div", { className: "flex items-center gap-3", children: [
2693
+ /* @__PURE__ */ P.jsx(
2694
+ Ft.div,
674
2695
  {
675
2696
  className: "nav-icon-wrapper flex items-center justify-center shrink-0",
676
2697
  animate: {
677
- scale: m ? 1.05 : 1
2698
+ scale: d ? 1.05 : 1
678
2699
  },
679
2700
  transition: {
680
2701
  duration: 0.25,
681
2702
  ease: "easeOut"
682
2703
  },
683
- children: typeof x == "function" ? x({
2704
+ children: typeof u == "function" ? u({
684
2705
  size: 24,
685
- className: c(
2706
+ className: et(
686
2707
  "nav-icon transition-colors duration-250 ease-out",
687
- m ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
2708
+ d ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
688
2709
  )
689
2710
  }) : null
690
2711
  }
691
2712
  ),
692
- /* @__PURE__ */ r.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: l })
2713
+ /* @__PURE__ */ P.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: a })
693
2714
  ] }),
694
- /* @__PURE__ */ r.jsx("div", { className: "badge-in-link", children: f && f >= 1 ? /* @__PURE__ */ r.jsx(B, { count: f, maxCount: 9, className: "" }) : "" })
2715
+ /* @__PURE__ */ P.jsx("div", { className: "badge-in-link", children: l && l >= 1 ? /* @__PURE__ */ P.jsx(Jr, { count: l, maxCount: 9, className: "" }) : "" })
695
2716
  ]
696
2717
  }
697
2718
  )
@@ -699,41 +2720,41 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ r.jsx("di
699
2720
  }
700
2721
  )
701
2722
  },
702
- n
2723
+ i
703
2724
  );
704
- }) }), ye = ({
705
- links: t,
706
- isLinkActive: e,
707
- onLinkClick: a
708
- }) => /* @__PURE__ */ r.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((o, n) => {
709
- const { isView: i = !1, viewAccess: s, path: l, title: x, icon: f, count: u, relatedPaths: p } = o, m = (typeof i == "function" ? i() : i !== !1) && (!s || s()), y = e(l) || (p?.some(
710
- (L) => e(L)
2725
+ }) }), aa = ({
2726
+ links: o,
2727
+ isLinkActive: t,
2728
+ onLinkClick: e
2729
+ }) => /* @__PURE__ */ P.jsx("nav", { className: "flex flex-col gap-1", children: o?.map((r, i) => {
2730
+ const { isView: n = !1, viewAccess: s, path: a, title: u, icon: l, count: f, relatedPaths: h } = r, d = (typeof n == "function" ? n() : n !== !1) && (!s || s()), _ = t(a) || (h?.some(
2731
+ (p) => t(p)
711
2732
  ) ?? !1);
712
- return m && /* @__PURE__ */ r.jsx(
713
- b.div,
2733
+ return d && /* @__PURE__ */ P.jsx(
2734
+ Ft.div,
714
2735
  {
715
2736
  initial: { opacity: 0 },
716
2737
  animate: { opacity: 1 },
717
2738
  transition: {
718
2739
  duration: 0.4,
719
- delay: n * 0.03,
2740
+ delay: i * 0.03,
720
2741
  ease: "easeOut"
721
2742
  },
722
2743
  className: "relative flex justify-center w-full items-center px-3",
723
- children: /* @__PURE__ */ r.jsx(
2744
+ children: /* @__PURE__ */ P.jsx(
724
2745
  "button",
725
2746
  {
726
2747
  onClick: () => {
727
- a?.(l);
2748
+ e?.(a);
728
2749
  },
729
- className: c(
2750
+ className: et(
730
2751
  "nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
731
2752
  "transition-all duration-300 ease-out w-full",
732
2753
  "group hover:bg-neutral-medium-selected",
733
- y ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
2754
+ _ ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
734
2755
  ),
735
- children: /* @__PURE__ */ r.jsxs(
736
- b.div,
2756
+ children: /* @__PURE__ */ P.jsxs(
2757
+ Ft.div,
737
2758
  {
738
2759
  className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
739
2760
  animate: {
@@ -744,175 +2765,175 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ r.jsx("di
744
2765
  ease: "easeOut"
745
2766
  },
746
2767
  children: [
747
- /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3", children: [
748
- /* @__PURE__ */ r.jsx(
749
- b.div,
2768
+ /* @__PURE__ */ P.jsxs("div", { className: "flex items-center gap-3", children: [
2769
+ /* @__PURE__ */ P.jsx(
2770
+ Ft.div,
750
2771
  {
751
2772
  className: "nav-icon-wrapper flex items-center justify-center shrink-0",
752
2773
  animate: {
753
- scale: y ? 1.05 : 1
2774
+ scale: _ ? 1.05 : 1
754
2775
  },
755
2776
  transition: {
756
2777
  duration: 0.25,
757
2778
  ease: "easeOut"
758
2779
  },
759
- children: typeof f == "function" ? f({
2780
+ children: typeof l == "function" ? l({
760
2781
  size: 24,
761
- className: c(
2782
+ className: et(
762
2783
  "nav-icon transition-colors duration-250 ease-out",
763
- y ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
2784
+ _ ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
764
2785
  )
765
2786
  }) : null
766
2787
  }
767
2788
  ),
768
- /* @__PURE__ */ r.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: x })
2789
+ /* @__PURE__ */ P.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: u })
769
2790
  ] }),
770
- /* @__PURE__ */ r.jsx("div", { className: "badge-in-link", children: u && u ? /* @__PURE__ */ r.jsx(B, { count: u, maxCount: 9, className: "" }) : "" })
2791
+ /* @__PURE__ */ P.jsx("div", { className: "badge-in-link", children: f && f ? /* @__PURE__ */ P.jsx(Jr, { count: f, maxCount: 9, className: "" }) : "" })
771
2792
  ]
772
2793
  }
773
2794
  )
774
2795
  }
775
2796
  )
776
2797
  },
777
- n
2798
+ i
778
2799
  );
779
- }) }), ve = ({
780
- isActiveModalNotification: t,
781
- setIsActiveModalNotification: e
2800
+ }) }), oa = ({
2801
+ isActiveModalNotification: o,
2802
+ setIsActiveModalNotification: t
782
2803
  }) => ({ handleNotificationClick: () => {
783
- e(!0);
784
- }, isActiveModalNotification: t }), he = (t) => {
785
- const e = v(null);
2804
+ t(!0);
2805
+ }, isActiveModalNotification: o }), ua = (o) => {
2806
+ const t = _t(null);
786
2807
  return {
787
- isCollapsed: t,
788
- navbarRef: e
2808
+ isCollapsed: o,
2809
+ navbarRef: t
789
2810
  };
790
- }, ge = ({
791
- isCollapsed: t,
792
- onToggle: e
793
- }) => /* @__PURE__ */ r.jsx("div", { className: "", children: /* @__PURE__ */ r.jsx(
2811
+ }, la = ({
2812
+ isCollapsed: o,
2813
+ onToggle: t
2814
+ }) => /* @__PURE__ */ P.jsx("div", { className: "", children: /* @__PURE__ */ P.jsx(
794
2815
  "button",
795
2816
  {
796
- onClick: e,
797
- title: t ? "Expandir Navbar" : "Contraer Navbar",
798
- "aria-label": t ? "Expandir Navbar" : "Contraer Navbar",
2817
+ onClick: t,
2818
+ title: o ? "Expandir Navbar" : "Contraer Navbar",
2819
+ "aria-label": o ? "Expandir Navbar" : "Contraer Navbar",
799
2820
  className: "cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",
800
- children: t ? /* @__PURE__ */ r.jsx(h, { size: 34, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ r.jsx(h, { size: 34, className: "rotate-0 transition-transform duration-300" })
2821
+ children: o ? /* @__PURE__ */ P.jsx(Pe, { size: 34, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ P.jsx(Pe, { size: 34, className: "rotate-0 transition-transform duration-300" })
801
2822
  }
802
- ) }), we = ({ logoUrl: t, companyName: e }) => /* @__PURE__ */ r.jsx("div", { className: "w-full flex justify-center items-center p-2 h-20", children: /* @__PURE__ */ r.jsx(
2823
+ ) }), fa = ({ logoUrl: o, companyName: t }) => /* @__PURE__ */ P.jsx("div", { className: "w-full flex justify-center items-center p-2 h-20", children: /* @__PURE__ */ P.jsx(
803
2824
  "img",
804
2825
  {
805
- src: t,
2826
+ src: o,
806
2827
  className: "h-2/3 rounded-full",
807
- alt: e ?? ""
2828
+ alt: t ?? ""
808
2829
  }
809
2830
  ) });
810
- function je({
811
- onFilesAccepted: t,
812
- onFilesRejected: e,
813
- ...a
2831
+ function ca({
2832
+ onFilesAccepted: o,
2833
+ onFilesRejected: t,
2834
+ ...e
814
2835
  }) {
815
- const o = P.useCallback(
816
- (i, s) => {
817
- i.length > 0 && t?.(i), s.length > 0 && e?.(s);
818
- },
819
- [t, e]
820
- ), n = O({
821
- onDrop: o,
822
- ...a
2836
+ const r = rn.useCallback(
2837
+ (n, s) => {
2838
+ n.length > 0 && o?.(n), s.length > 0 && t?.(s);
2839
+ },
2840
+ [o, t]
2841
+ ), i = un({
2842
+ onDrop: r,
2843
+ ...e
823
2844
  });
824
2845
  return {
825
- ...n,
826
- hasErrors: n.fileRejections.length > 0
2846
+ ...i,
2847
+ hasErrors: i.fileRejections.length > 0
827
2848
  };
828
2849
  }
829
- const Ne = (t, e = !0) => {
830
- const a = v(null);
831
- return j(() => {
832
- if (!e) return;
833
- const o = (n) => {
834
- a.current && !a.current.contains(n.target) && t();
2850
+ const ha = (o, t = !0) => {
2851
+ const e = _t(null);
2852
+ return Ce(() => {
2853
+ if (!t) return;
2854
+ const r = (i) => {
2855
+ e.current && !e.current.contains(i.target) && o();
835
2856
  };
836
- return document.addEventListener("mousedown", o, {
2857
+ return document.addEventListener("mousedown", r, {
837
2858
  capture: !0
838
- }), document.addEventListener("touchstart", o, {
2859
+ }), document.addEventListener("touchstart", r, {
839
2860
  capture: !0
840
2861
  }), () => {
841
- document.removeEventListener("mousedown", o, {
2862
+ document.removeEventListener("mousedown", r, {
842
2863
  capture: !0
843
- }), document.removeEventListener("touchstart", o, {
2864
+ }), document.removeEventListener("touchstart", r, {
844
2865
  capture: !0
845
2866
  });
846
2867
  };
847
- }, [t, e]), a;
2868
+ }, [o, t]), e;
848
2869
  };
849
2870
  export {
850
- ke as Avatar,
851
- B as Badge,
852
- Be as Button,
853
- Le as CardProfile,
854
- Pe as ChangueAccount,
855
- Ae as CheckBox,
856
- we as CompanyLogo,
857
- bt as DatePicker,
858
- De as DialogModal,
859
- Oe as DrawerDesktop,
860
- $e as DrawerMobile,
861
- cr as DropZone,
862
- tr as FAButton,
863
- Ue as Header,
864
- Vt as Image,
865
- Ut as ImageGallery,
866
- Ve as Input,
867
- Xe as InputMultiple,
868
- $t as LayoutGeneric,
869
- Je as Logo,
870
- Qe as Menu,
871
- be as NavBarActions,
872
- ge as NavbarCollapseButton,
873
- ye as NavbarLinks,
874
- xe as NavigationLink,
875
- nr as OtpInput,
876
- et as Pagination,
877
- rt as ProfilePictureUpload,
878
- ot as ProgressBar,
879
- ar as RadioButton,
880
- vt as RecurrentDatePicker,
881
- gt as RecurrentDatePickerRRule,
882
- fe as SecondaryBar,
883
- Ht as SegmentedButton,
884
- it as Select,
885
- Yt as SelectSearch,
886
- me as Sidebar,
887
- U as SidebarProvider,
888
- Mt as SidebarRefProvider,
889
- Et as Skeleton,
890
- lt as Spinner,
891
- ut as Steps,
892
- ft as SwipeContainer,
893
- mt as Switch,
894
- Pt as TabLinks,
895
- jt as Table,
896
- Nt as TableBody,
897
- St as TableCaption,
898
- Ct as TableCell,
899
- kt as TableFooter,
900
- It as TableHead,
901
- Bt as TableHeader,
902
- Rt as TableRow,
903
- At as TextArea,
904
- Xt as Toast,
905
- Kt as ToastProvider,
906
- Dt as Tooltip,
907
- Zt as toastpyrion,
908
- ve as useActionsNavbar,
909
- Ne as useClickOutside,
910
- ze as useDialogControl,
911
- He as useDrawerDesktop,
912
- Me as useDrawerMobile,
913
- je as useFileDropzone,
914
- sr as useIsMobile,
915
- he as useNavbarCollapse,
916
- pe as useSidebar,
917
- C as useSidebarContext
2871
+ pa as Avatar,
2872
+ Jr as Badge,
2873
+ ga as Button,
2874
+ xa as CardProfile,
2875
+ va as ChangueAccount,
2876
+ wa as CheckBox,
2877
+ fa as CompanyLogo,
2878
+ so as DatePicker,
2879
+ Sa as DialogModal,
2880
+ ka as DrawerDesktop,
2881
+ Da as DrawerMobile,
2882
+ Ko as DropZone,
2883
+ Vo as FAButton,
2884
+ Na as Header,
2885
+ No as Image,
2886
+ Mo as ImageGallery,
2887
+ za as Input,
2888
+ La as InputMultiple,
2889
+ ta as LayoutGeneric,
2890
+ ja as Logo,
2891
+ qa as Menu,
2892
+ sa as NavBarActions,
2893
+ la as NavbarCollapseButton,
2894
+ aa as NavbarLinks,
2895
+ na as NavigationLink,
2896
+ Xo as OtpInput,
2897
+ Ua as Pagination,
2898
+ Wa as ProfilePictureUpload,
2899
+ Ga as ProgressBar,
2900
+ Yo as RadioButton,
2901
+ oo as RecurrentDatePicker,
2902
+ lo as RecurrentDatePickerRRule,
2903
+ ea as SecondaryBar,
2904
+ Ro as SegmentedButton,
2905
+ Ha as Select,
2906
+ Bo as SelectSearch,
2907
+ ia as Sidebar,
2908
+ zs as SidebarProvider,
2909
+ ln as SidebarRefProvider,
2910
+ ko as Skeleton,
2911
+ Za as Spinner,
2912
+ Ja as Steps,
2913
+ eo as SwipeContainer,
2914
+ io as Switch,
2915
+ bo as TabLinks,
2916
+ co as Table,
2917
+ ho as TableBody,
2918
+ _o as TableCaption,
2919
+ po as TableCell,
2920
+ mo as TableFooter,
2921
+ go as TableHead,
2922
+ yo as TableHeader,
2923
+ xo as TableRow,
2924
+ To as TextArea,
2925
+ zo as Toast,
2926
+ Fo as ToastProvider,
2927
+ Co as Tooltip,
2928
+ Io as toastpyrion,
2929
+ oa as useActionsNavbar,
2930
+ ha as useClickOutside,
2931
+ Ca as useDialogControl,
2932
+ Oa as useDrawerDesktop,
2933
+ Ma as useDrawerMobile,
2934
+ ca as useFileDropzone,
2935
+ $o as useIsMobile,
2936
+ ua as useNavbarCollapse,
2937
+ ra as useSidebar,
2938
+ ei as useSidebarContext
918
2939
  };