ymy-components 0.0.6 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import * as jt from "react";
2
- import Lr, { useState as Ze, useRef as re, useEffect as ce, useLayoutEffect as Xn, forwardRef as Zn, useCallback as ei, useContext as zr, useMemo as Ge } from "react";
3
- import { unstable_batchedUpdates as ti } from "react-dom";
4
- var He = { exports: {} }, Re = {};
1
+ import * as $t from "react";
2
+ import re, { useState as et, useRef as ne, useEffect as fe, useLayoutEffect as si, forwardRef as ai, useCallback as oi, useContext as Qr, useMemo as He } from "react";
3
+ import { unstable_batchedUpdates as ui } from "react-dom";
4
+ var Je = { exports: {} }, Se = {};
5
5
  /**
6
6
  * @license React
7
7
  * react-jsx-runtime.production.min.js
@@ -11,21 +11,21 @@ var He = { exports: {} }, Re = {};
11
11
  * This source code is licensed under the MIT license found in the
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
- var yr;
15
- function ri() {
16
- if (yr) return Re;
17
- yr = 1;
18
- var e = Lr, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
19
- function o(l, d, u) {
14
+ var wr;
15
+ function li() {
16
+ if (wr) return Se;
17
+ wr = 1;
18
+ var e = re, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ function o(u, d, l) {
20
20
  var m, p = {}, v = null, g = null;
21
- u !== void 0 && (v = "" + u), d.key !== void 0 && (v = "" + d.key), d.ref !== void 0 && (g = d.ref);
21
+ l !== void 0 && (v = "" + l), d.key !== void 0 && (v = "" + d.key), d.ref !== void 0 && (g = d.ref);
22
22
  for (m in d) n.call(d, m) && !a.hasOwnProperty(m) && (p[m] = d[m]);
23
- if (l && l.defaultProps) for (m in d = l.defaultProps, d) p[m] === void 0 && (p[m] = d[m]);
24
- return { $$typeof: t, type: l, key: v, ref: g, props: p, _owner: s.current };
23
+ if (u && u.defaultProps) for (m in d = u.defaultProps, d) p[m] === void 0 && (p[m] = d[m]);
24
+ return { $$typeof: t, type: u, key: v, ref: g, props: p, _owner: s.current };
25
25
  }
26
- return Re.Fragment = r, Re.jsx = o, Re.jsxs = o, Re;
26
+ return Se.Fragment = r, Se.jsx = o, Se.jsxs = o, Se;
27
27
  }
28
- var Se = {};
28
+ var Pe = {};
29
29
  /**
30
30
  * @license React
31
31
  * react-jsx-runtime.development.js
@@ -35,11 +35,11 @@ var Se = {};
35
35
  * This source code is licensed under the MIT license found in the
36
36
  * LICENSE file in the root directory of this source tree.
37
37
  */
38
- var br;
39
- function ni() {
40
- return br || (br = 1, process.env.NODE_ENV !== "production" && function() {
41
- var e = Lr, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), _ = Symbol.iterator, R = "@@iterator";
42
- function x(i) {
38
+ var Rr;
39
+ function ci() {
40
+ return Rr || (Rr = 1, process.env.NODE_ENV !== "production" && function() {
41
+ var e = re, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), _ = Symbol.iterator, R = "@@iterator";
42
+ function E(i) {
43
43
  if (i === null || typeof i != "object")
44
44
  return null;
45
45
  var c = _ && i[_] || i[R];
@@ -57,22 +57,22 @@ function ni() {
57
57
  {
58
58
  var w = y.ReactDebugCurrentFrame, C = w.getStackAddendum();
59
59
  C !== "" && (c += "%s", h = h.concat([C]));
60
- var O = h.map(function(T) {
61
- return String(T);
60
+ var j = h.map(function(A) {
61
+ return String(A);
62
62
  });
63
- O.unshift("Warning: " + c), Function.prototype.apply.call(console[i], console, O);
63
+ j.unshift("Warning: " + c), Function.prototype.apply.call(console[i], console, j);
64
64
  }
65
65
  }
66
- var k = !1, j = !1, X = !1, U = !1, de = !1, V;
66
+ var T = !1, F = !1, X = !1, N = !1, he = !1, V;
67
67
  V = Symbol.for("react.module.reference");
68
- function oe(i) {
69
- return !!(typeof i == "string" || typeof i == "function" || i === n || i === a || de || i === s || i === u || i === m || U || i === g || k || j || X || typeof i == "object" && i !== null && (i.$$typeof === v || i.$$typeof === p || i.$$typeof === o || i.$$typeof === l || i.$$typeof === d || // This needs to include all possible module reference object
68
+ function ue(i) {
69
+ return !!(typeof i == "string" || typeof i == "function" || i === n || i === a || he || i === s || i === l || i === m || N || i === g || T || F || X || typeof i == "object" && i !== null && (i.$$typeof === v || i.$$typeof === p || i.$$typeof === o || i.$$typeof === u || i.$$typeof === d || // This needs to include all possible module reference object
70
70
  // types supported by any Flight configuration anywhere since
71
71
  // we don't know which Flight build this will end up being used
72
72
  // with.
73
73
  i.$$typeof === V || i.getModuleId !== void 0));
74
74
  }
75
- function M(i, c, h) {
75
+ function z(i, c, h) {
76
76
  var w = i.displayName;
77
77
  if (w)
78
78
  return w;
@@ -98,28 +98,28 @@ function ni() {
98
98
  return "Profiler";
99
99
  case s:
100
100
  return "StrictMode";
101
- case u:
101
+ case l:
102
102
  return "Suspense";
103
103
  case m:
104
104
  return "SuspenseList";
105
105
  }
106
106
  if (typeof i == "object")
107
107
  switch (i.$$typeof) {
108
- case l:
108
+ case u:
109
109
  var c = i;
110
110
  return Z(c) + ".Consumer";
111
111
  case o:
112
112
  var h = i;
113
113
  return Z(h._context) + ".Provider";
114
114
  case d:
115
- return M(i, i.render, "ForwardRef");
115
+ return z(i, i.render, "ForwardRef");
116
116
  case p:
117
117
  var w = i.displayName || null;
118
118
  return w !== null ? w : D(i.type) || "Memo";
119
119
  case v: {
120
- var C = i, O = C._payload, T = C._init;
120
+ var C = i, j = C._payload, A = C._init;
121
121
  try {
122
- return D(T(O));
122
+ return D(A(j));
123
123
  } catch {
124
124
  return null;
125
125
  }
@@ -127,18 +127,18 @@ function ni() {
127
127
  }
128
128
  return null;
129
129
  }
130
- var ee = Object.assign, _e = 0, Ht, Jt, Kt, Xt, Zt, er, tr;
131
- function rr() {
130
+ var ee = Object.assign, we = 0, Xt, Zt, er, tr, rr, nr, ir;
131
+ function sr() {
132
132
  }
133
- rr.__reactDisabledLog = !0;
134
- function xn() {
133
+ sr.__reactDisabledLog = !0;
134
+ function kn() {
135
135
  {
136
- if (_e === 0) {
137
- Ht = console.log, Jt = console.info, Kt = console.warn, Xt = console.error, Zt = console.group, er = console.groupCollapsed, tr = console.groupEnd;
136
+ if (we === 0) {
137
+ Xt = console.log, Zt = console.info, er = console.warn, tr = console.error, rr = console.group, nr = console.groupCollapsed, ir = console.groupEnd;
138
138
  var i = {
139
139
  configurable: !0,
140
140
  enumerable: !0,
141
- value: rr,
141
+ value: sr,
142
142
  writable: !0
143
143
  };
144
144
  Object.defineProperties(console, {
@@ -151,12 +151,12 @@ function ni() {
151
151
  groupEnd: i
152
152
  });
153
153
  }
154
- _e++;
154
+ we++;
155
155
  }
156
156
  }
157
- function Pn() {
157
+ function In() {
158
158
  {
159
- if (_e--, _e === 0) {
159
+ if (we--, we === 0) {
160
160
  var i = {
161
161
  configurable: !0,
162
162
  enumerable: !0,
@@ -164,237 +164,237 @@ function ni() {
164
164
  };
165
165
  Object.defineProperties(console, {
166
166
  log: ee({}, i, {
167
- value: Ht
167
+ value: Xt
168
168
  }),
169
169
  info: ee({}, i, {
170
- value: Jt
170
+ value: Zt
171
171
  }),
172
172
  warn: ee({}, i, {
173
- value: Kt
173
+ value: er
174
174
  }),
175
175
  error: ee({}, i, {
176
- value: Xt
176
+ value: tr
177
177
  }),
178
178
  group: ee({}, i, {
179
- value: Zt
179
+ value: rr
180
180
  }),
181
181
  groupCollapsed: ee({}, i, {
182
- value: er
182
+ value: nr
183
183
  }),
184
184
  groupEnd: ee({}, i, {
185
- value: tr
185
+ value: ir
186
186
  })
187
187
  });
188
188
  }
189
- _e < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
+ we < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
190
190
  }
191
191
  }
192
- var dt = y.ReactCurrentDispatcher, ht;
193
- function We(i, c, h) {
192
+ var pt = y.ReactCurrentDispatcher, vt;
193
+ function Be(i, c, h) {
194
194
  {
195
- if (ht === void 0)
195
+ if (vt === void 0)
196
196
  try {
197
197
  throw Error();
198
198
  } catch (C) {
199
199
  var w = C.stack.trim().match(/\n( *(at )?)/);
200
- ht = w && w[1] || "";
200
+ vt = w && w[1] || "";
201
201
  }
202
202
  return `
203
- ` + ht + i;
203
+ ` + vt + i;
204
204
  }
205
205
  }
206
- var mt = !1, Be;
206
+ var gt = !1, Ye;
207
207
  {
208
- var An = typeof WeakMap == "function" ? WeakMap : Map;
209
- Be = new An();
208
+ var Fn = typeof WeakMap == "function" ? WeakMap : Map;
209
+ Ye = new Fn();
210
210
  }
211
- function nr(i, c) {
212
- if (!i || mt)
211
+ function ar(i, c) {
212
+ if (!i || gt)
213
213
  return "";
214
214
  {
215
- var h = Be.get(i);
215
+ var h = Ye.get(i);
216
216
  if (h !== void 0)
217
217
  return h;
218
218
  }
219
219
  var w;
220
- mt = !0;
220
+ gt = !0;
221
221
  var C = Error.prepareStackTrace;
222
222
  Error.prepareStackTrace = void 0;
223
- var O;
224
- O = dt.current, dt.current = null, xn();
223
+ var j;
224
+ j = pt.current, pt.current = null, kn();
225
225
  try {
226
226
  if (c) {
227
- var T = function() {
227
+ var A = function() {
228
228
  throw Error();
229
229
  };
230
- if (Object.defineProperty(T.prototype, "props", {
230
+ if (Object.defineProperty(A.prototype, "props", {
231
231
  set: function() {
232
232
  throw Error();
233
233
  }
234
234
  }), typeof Reflect == "object" && Reflect.construct) {
235
235
  try {
236
- Reflect.construct(T, []);
237
- } catch (N) {
238
- w = N;
236
+ Reflect.construct(A, []);
237
+ } catch (U) {
238
+ w = U;
239
239
  }
240
- Reflect.construct(i, [], T);
240
+ Reflect.construct(i, [], A);
241
241
  } else {
242
242
  try {
243
- T.call();
244
- } catch (N) {
245
- w = N;
243
+ A.call();
244
+ } catch (U) {
245
+ w = U;
246
246
  }
247
- i.call(T.prototype);
247
+ i.call(A.prototype);
248
248
  }
249
249
  } else {
250
250
  try {
251
251
  throw Error();
252
- } catch (N) {
253
- w = N;
252
+ } catch (U) {
253
+ w = U;
254
254
  }
255
255
  i();
256
256
  }
257
- } catch (N) {
258
- if (N && w && typeof N.stack == "string") {
259
- for (var P = N.stack.split(`
257
+ } catch (U) {
258
+ if (U && w && typeof U.stack == "string") {
259
+ for (var x = U.stack.split(`
260
260
  `), $ = w.stack.split(`
261
- `), I = P.length - 1, F = $.length - 1; I >= 1 && F >= 0 && P[I] !== $[F]; )
262
- F--;
263
- for (; I >= 1 && F >= 0; I--, F--)
264
- if (P[I] !== $[F]) {
265
- if (I !== 1 || F !== 1)
261
+ `), k = x.length - 1, I = $.length - 1; k >= 1 && I >= 0 && x[k] !== $[I]; )
262
+ I--;
263
+ for (; k >= 1 && I >= 0; k--, I--)
264
+ if (x[k] !== $[I]) {
265
+ if (k !== 1 || I !== 1)
266
266
  do
267
- if (I--, F--, F < 0 || P[I] !== $[F]) {
268
- var z = `
269
- ` + P[I].replace(" at new ", " at ");
270
- return i.displayName && z.includes("<anonymous>") && (z = z.replace("<anonymous>", i.displayName)), typeof i == "function" && Be.set(i, z), z;
267
+ if (k--, I--, I < 0 || x[k] !== $[I]) {
268
+ var L = `
269
+ ` + x[k].replace(" at new ", " at ");
270
+ return i.displayName && L.includes("<anonymous>") && (L = L.replace("<anonymous>", i.displayName)), typeof i == "function" && Ye.set(i, L), L;
271
271
  }
272
- while (I >= 1 && F >= 0);
272
+ while (k >= 1 && I >= 0);
273
273
  break;
274
274
  }
275
275
  }
276
276
  } finally {
277
- mt = !1, dt.current = O, Pn(), Error.prepareStackTrace = C;
277
+ gt = !1, pt.current = j, In(), Error.prepareStackTrace = C;
278
278
  }
279
- var me = i ? i.displayName || i.name : "", ue = me ? We(me) : "";
280
- return typeof i == "function" && Be.set(i, ue), ue;
279
+ var pe = i ? i.displayName || i.name : "", le = pe ? Be(pe) : "";
280
+ return typeof i == "function" && Ye.set(i, le), le;
281
281
  }
282
- function Tn(i, c, h) {
283
- return nr(i, !1);
282
+ function Vn(i, c, h) {
283
+ return ar(i, !1);
284
284
  }
285
- function Cn(i) {
285
+ function Dn(i) {
286
286
  var c = i.prototype;
287
287
  return !!(c && c.isReactComponent);
288
288
  }
289
- function Ye(i, c, h) {
289
+ function Qe(i, c, h) {
290
290
  if (i == null)
291
291
  return "";
292
292
  if (typeof i == "function")
293
- return nr(i, Cn(i));
293
+ return ar(i, Dn(i));
294
294
  if (typeof i == "string")
295
- return We(i);
295
+ return Be(i);
296
296
  switch (i) {
297
- case u:
298
- return We("Suspense");
297
+ case l:
298
+ return Be("Suspense");
299
299
  case m:
300
- return We("SuspenseList");
300
+ return Be("SuspenseList");
301
301
  }
302
302
  if (typeof i == "object")
303
303
  switch (i.$$typeof) {
304
304
  case d:
305
- return Tn(i.render);
305
+ return Vn(i.render);
306
306
  case p:
307
- return Ye(i.type, c, h);
307
+ return Qe(i.type, c, h);
308
308
  case v: {
309
- var w = i, C = w._payload, O = w._init;
309
+ var w = i, C = w._payload, j = w._init;
310
310
  try {
311
- return Ye(O(C), c, h);
311
+ return Qe(j(C), c, h);
312
312
  } catch {
313
313
  }
314
314
  }
315
315
  }
316
316
  return "";
317
317
  }
318
- var we = Object.prototype.hasOwnProperty, ir = {}, sr = y.ReactDebugCurrentFrame;
319
- function Qe(i) {
318
+ var Re = Object.prototype.hasOwnProperty, or = {}, ur = y.ReactDebugCurrentFrame;
319
+ function Ge(i) {
320
320
  if (i) {
321
- var c = i._owner, h = Ye(i.type, i._source, c ? c.type : null);
322
- sr.setExtraStackFrame(h);
321
+ var c = i._owner, h = Qe(i.type, i._source, c ? c.type : null);
322
+ ur.setExtraStackFrame(h);
323
323
  } else
324
- sr.setExtraStackFrame(null);
324
+ ur.setExtraStackFrame(null);
325
325
  }
326
- function kn(i, c, h, w, C) {
326
+ function $n(i, c, h, w, C) {
327
327
  {
328
- var O = Function.call.bind(we);
329
- for (var T in i)
330
- if (O(i, T)) {
331
- var P = void 0;
328
+ var j = Function.call.bind(Re);
329
+ for (var A in i)
330
+ if (j(i, A)) {
331
+ var x = void 0;
332
332
  try {
333
- if (typeof i[T] != "function") {
334
- var $ = Error((w || "React class") + ": " + h + " type `" + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[T] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
+ if (typeof i[A] != "function") {
334
+ var $ = Error((w || "React class") + ": " + h + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
335
  throw $.name = "Invariant Violation", $;
336
336
  }
337
- P = i[T](c, T, w, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
338
- } catch (I) {
339
- P = I;
337
+ x = i[A](c, A, w, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
338
+ } catch (k) {
339
+ x = k;
340
340
  }
341
- P && !(P instanceof Error) && (Qe(C), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", h, T, typeof P), Qe(null)), P instanceof Error && !(P.message in ir) && (ir[P.message] = !0, Qe(C), b("Failed %s type: %s", h, P.message), Qe(null));
341
+ x && !(x instanceof Error) && (Ge(C), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", h, A, typeof x), Ge(null)), x instanceof Error && !(x.message in or) && (or[x.message] = !0, Ge(C), b("Failed %s type: %s", h, x.message), Ge(null));
342
342
  }
343
343
  }
344
344
  }
345
- var On = Array.isArray;
346
- function pt(i) {
347
- return On(i);
345
+ var Nn = Array.isArray;
346
+ function yt(i) {
347
+ return Nn(i);
348
348
  }
349
- function In(i) {
349
+ function Un(i) {
350
350
  {
351
351
  var c = typeof Symbol == "function" && Symbol.toStringTag, h = c && i[Symbol.toStringTag] || i.constructor.name || "Object";
352
352
  return h;
353
353
  }
354
354
  }
355
- function Fn(i) {
355
+ function qn(i) {
356
356
  try {
357
- return ar(i), !1;
357
+ return lr(i), !1;
358
358
  } catch {
359
359
  return !0;
360
360
  }
361
361
  }
362
- function ar(i) {
362
+ function lr(i) {
363
363
  return "" + i;
364
364
  }
365
- function or(i) {
366
- if (Fn(i))
367
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", In(i)), ar(i);
365
+ function cr(i) {
366
+ if (qn(i))
367
+ return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Un(i)), lr(i);
368
368
  }
369
- var ur = y.ReactCurrentOwner, jn = {
369
+ var fr = y.ReactCurrentOwner, zn = {
370
370
  key: !0,
371
371
  ref: !0,
372
372
  __self: !0,
373
373
  __source: !0
374
- }, lr, cr;
375
- function Vn(i) {
376
- if (we.call(i, "ref")) {
374
+ }, dr, hr;
375
+ function Mn(i) {
376
+ if (Re.call(i, "ref")) {
377
377
  var c = Object.getOwnPropertyDescriptor(i, "ref").get;
378
378
  if (c && c.isReactWarning)
379
379
  return !1;
380
380
  }
381
381
  return i.ref !== void 0;
382
382
  }
383
- function Dn(i) {
384
- if (we.call(i, "key")) {
383
+ function Ln(i) {
384
+ if (Re.call(i, "key")) {
385
385
  var c = Object.getOwnPropertyDescriptor(i, "key").get;
386
386
  if (c && c.isReactWarning)
387
387
  return !1;
388
388
  }
389
389
  return i.key !== void 0;
390
390
  }
391
- function $n(i, c) {
392
- typeof i.ref == "string" && ur.current;
391
+ function Wn(i, c) {
392
+ typeof i.ref == "string" && fr.current;
393
393
  }
394
- function Un(i, c) {
394
+ function Bn(i, c) {
395
395
  {
396
396
  var h = function() {
397
- lr || (lr = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
397
+ dr || (dr = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
398
398
  };
399
399
  h.isReactWarning = !0, Object.defineProperty(i, "key", {
400
400
  get: h,
@@ -402,10 +402,10 @@ function ni() {
402
402
  });
403
403
  }
404
404
  }
405
- function Nn(i, c) {
405
+ function Yn(i, c) {
406
406
  {
407
407
  var h = function() {
408
- cr || (cr = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
408
+ hr || (hr = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
409
409
  };
410
410
  h.isReactWarning = !0, Object.defineProperty(i, "ref", {
411
411
  get: h,
@@ -413,70 +413,70 @@ function ni() {
413
413
  });
414
414
  }
415
415
  }
416
- var qn = function(i, c, h, w, C, O, T) {
417
- var P = {
416
+ var Qn = function(i, c, h, w, C, j, A) {
417
+ var x = {
418
418
  // This tag allows us to uniquely identify this as a React Element
419
419
  $$typeof: t,
420
420
  // Built-in properties that belong on the element
421
421
  type: i,
422
422
  key: c,
423
423
  ref: h,
424
- props: T,
424
+ props: A,
425
425
  // Record the component responsible for creating this element.
426
- _owner: O
426
+ _owner: j
427
427
  };
428
- return P._store = {}, Object.defineProperty(P._store, "validated", {
428
+ return x._store = {}, Object.defineProperty(x._store, "validated", {
429
429
  configurable: !1,
430
430
  enumerable: !1,
431
431
  writable: !0,
432
432
  value: !1
433
- }), Object.defineProperty(P, "_self", {
433
+ }), Object.defineProperty(x, "_self", {
434
434
  configurable: !1,
435
435
  enumerable: !1,
436
436
  writable: !1,
437
437
  value: w
438
- }), Object.defineProperty(P, "_source", {
438
+ }), Object.defineProperty(x, "_source", {
439
439
  configurable: !1,
440
440
  enumerable: !1,
441
441
  writable: !1,
442
442
  value: C
443
- }), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
443
+ }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
444
444
  };
445
- function Mn(i, c, h, w, C) {
445
+ function Gn(i, c, h, w, C) {
446
446
  {
447
- var O, T = {}, P = null, $ = null;
448
- h !== void 0 && (or(h), P = "" + h), Dn(c) && (or(c.key), P = "" + c.key), Vn(c) && ($ = c.ref, $n(c, C));
449
- for (O in c)
450
- we.call(c, O) && !jn.hasOwnProperty(O) && (T[O] = c[O]);
447
+ var j, A = {}, x = null, $ = null;
448
+ h !== void 0 && (cr(h), x = "" + h), Ln(c) && (cr(c.key), x = "" + c.key), Mn(c) && ($ = c.ref, Wn(c, C));
449
+ for (j in c)
450
+ Re.call(c, j) && !zn.hasOwnProperty(j) && (A[j] = c[j]);
451
451
  if (i && i.defaultProps) {
452
- var I = i.defaultProps;
453
- for (O in I)
454
- T[O] === void 0 && (T[O] = I[O]);
452
+ var k = i.defaultProps;
453
+ for (j in k)
454
+ A[j] === void 0 && (A[j] = k[j]);
455
455
  }
456
- if (P || $) {
457
- var F = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
458
- P && Un(T, F), $ && Nn(T, F);
456
+ if (x || $) {
457
+ var I = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
458
+ x && Bn(A, I), $ && Yn(A, I);
459
459
  }
460
- return qn(i, P, $, C, w, ur.current, T);
460
+ return Qn(i, x, $, C, w, fr.current, A);
461
461
  }
462
462
  }
463
- var vt = y.ReactCurrentOwner, fr = y.ReactDebugCurrentFrame;
464
- function he(i) {
463
+ var bt = y.ReactCurrentOwner, mr = y.ReactDebugCurrentFrame;
464
+ function me(i) {
465
465
  if (i) {
466
- var c = i._owner, h = Ye(i.type, i._source, c ? c.type : null);
467
- fr.setExtraStackFrame(h);
466
+ var c = i._owner, h = Qe(i.type, i._source, c ? c.type : null);
467
+ mr.setExtraStackFrame(h);
468
468
  } else
469
- fr.setExtraStackFrame(null);
469
+ mr.setExtraStackFrame(null);
470
470
  }
471
- var gt;
472
- gt = !1;
473
- function yt(i) {
471
+ var _t;
472
+ _t = !1;
473
+ function wt(i) {
474
474
  return typeof i == "object" && i !== null && i.$$typeof === t;
475
475
  }
476
- function dr() {
476
+ function pr() {
477
477
  {
478
- if (vt.current) {
479
- var i = D(vt.current.type);
478
+ if (bt.current) {
479
+ var i = D(bt.current.type);
480
480
  if (i)
481
481
  return `
482
482
 
@@ -485,13 +485,13 @@ Check the render method of \`` + i + "`.";
485
485
  return "";
486
486
  }
487
487
  }
488
- function Ln(i) {
488
+ function Hn(i) {
489
489
  return "";
490
490
  }
491
- var hr = {};
492
- function zn(i) {
491
+ var vr = {};
492
+ function Jn(i) {
493
493
  {
494
- var c = dr();
494
+ var c = pr();
495
495
  if (!c) {
496
496
  var h = typeof i == "string" ? i : i.displayName || i.name;
497
497
  h && (c = `
@@ -501,39 +501,39 @@ Check the top-level render call using <` + h + ">.");
501
501
  return c;
502
502
  }
503
503
  }
504
- function mr(i, c) {
504
+ function gr(i, c) {
505
505
  {
506
506
  if (!i._store || i._store.validated || i.key != null)
507
507
  return;
508
508
  i._store.validated = !0;
509
- var h = zn(c);
510
- if (hr[h])
509
+ var h = Jn(c);
510
+ if (vr[h])
511
511
  return;
512
- hr[h] = !0;
512
+ vr[h] = !0;
513
513
  var w = "";
514
- i && i._owner && i._owner !== vt.current && (w = " It was passed a child from " + D(i._owner.type) + "."), he(i), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, w), he(null);
514
+ i && i._owner && i._owner !== bt.current && (w = " It was passed a child from " + D(i._owner.type) + "."), me(i), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, w), me(null);
515
515
  }
516
516
  }
517
- function pr(i, c) {
517
+ function yr(i, c) {
518
518
  {
519
519
  if (typeof i != "object")
520
520
  return;
521
- if (pt(i))
521
+ if (yt(i))
522
522
  for (var h = 0; h < i.length; h++) {
523
523
  var w = i[h];
524
- yt(w) && mr(w, c);
524
+ wt(w) && gr(w, c);
525
525
  }
526
- else if (yt(i))
526
+ else if (wt(i))
527
527
  i._store && (i._store.validated = !0);
528
528
  else if (i) {
529
- var C = x(i);
529
+ var C = E(i);
530
530
  if (typeof C == "function" && C !== i.entries)
531
- for (var O = C.call(i), T; !(T = O.next()).done; )
532
- yt(T.value) && mr(T.value, c);
531
+ for (var j = C.call(i), A; !(A = j.next()).done; )
532
+ wt(A.value) && gr(A.value, c);
533
533
  }
534
534
  }
535
535
  }
536
- function Wn(i) {
536
+ function Kn(i) {
537
537
  {
538
538
  var c = i.type;
539
539
  if (c == null || typeof c == "string")
@@ -549,110 +549,110 @@ Check the top-level render call using <` + h + ">.");
549
549
  return;
550
550
  if (h) {
551
551
  var w = D(c);
552
- kn(h, i.props, "prop", w, i);
553
- } else if (c.PropTypes !== void 0 && !gt) {
554
- gt = !0;
552
+ $n(h, i.props, "prop", w, i);
553
+ } else if (c.PropTypes !== void 0 && !_t) {
554
+ _t = !0;
555
555
  var C = D(c);
556
556
  b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
557
557
  }
558
558
  typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
559
559
  }
560
560
  }
561
- function Bn(i) {
561
+ function Xn(i) {
562
562
  {
563
563
  for (var c = Object.keys(i.props), h = 0; h < c.length; h++) {
564
564
  var w = c[h];
565
565
  if (w !== "children" && w !== "key") {
566
- he(i), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), he(null);
566
+ me(i), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), me(null);
567
567
  break;
568
568
  }
569
569
  }
570
- i.ref !== null && (he(i), b("Invalid attribute `ref` supplied to `React.Fragment`."), he(null));
570
+ i.ref !== null && (me(i), b("Invalid attribute `ref` supplied to `React.Fragment`."), me(null));
571
571
  }
572
572
  }
573
- var vr = {};
574
- function gr(i, c, h, w, C, O) {
573
+ var br = {};
574
+ function _r(i, c, h, w, C, j) {
575
575
  {
576
- var T = oe(i);
577
- if (!T) {
578
- var P = "";
579
- (i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (P += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
580
- var $ = Ln();
581
- $ ? P += $ : P += dr();
582
- var I;
583
- i === null ? I = "null" : pt(i) ? I = "array" : i !== void 0 && i.$$typeof === t ? (I = "<" + (D(i.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : I = typeof i, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, P);
576
+ var A = ue(i);
577
+ if (!A) {
578
+ var x = "";
579
+ (i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
580
+ var $ = Hn();
581
+ $ ? x += $ : x += pr();
582
+ var k;
583
+ i === null ? k = "null" : yt(i) ? k = "array" : i !== void 0 && i.$$typeof === t ? (k = "<" + (D(i.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : k = typeof i, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", k, x);
584
584
  }
585
- var F = Mn(i, c, h, C, O);
586
- if (F == null)
587
- return F;
588
- if (T) {
589
- var z = c.children;
590
- if (z !== void 0)
585
+ var I = Gn(i, c, h, C, j);
586
+ if (I == null)
587
+ return I;
588
+ if (A) {
589
+ var L = c.children;
590
+ if (L !== void 0)
591
591
  if (w)
592
- if (pt(z)) {
593
- for (var me = 0; me < z.length; me++)
594
- pr(z[me], i);
595
- Object.freeze && Object.freeze(z);
592
+ if (yt(L)) {
593
+ for (var pe = 0; pe < L.length; pe++)
594
+ yr(L[pe], i);
595
+ Object.freeze && Object.freeze(L);
596
596
  } else
597
597
  b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
598
598
  else
599
- pr(z, i);
599
+ yr(L, i);
600
600
  }
601
- if (we.call(c, "key")) {
602
- var ue = D(i), N = Object.keys(c).filter(function(Kn) {
603
- return Kn !== "key";
604
- }), bt = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
605
- if (!vr[ue + bt]) {
606
- var Jn = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
601
+ if (Re.call(c, "key")) {
602
+ var le = D(i), U = Object.keys(c).filter(function(ii) {
603
+ return ii !== "key";
604
+ }), Rt = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
605
+ if (!br[le + Rt]) {
606
+ var ni = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
607
607
  b(`A props object containing a "key" prop is being spread into JSX:
608
608
  let props = %s;
609
609
  <%s {...props} />
610
610
  React keys must be passed directly to JSX without using spread:
611
611
  let props = %s;
612
- <%s key={someKey} {...props} />`, bt, ue, Jn, ue), vr[ue + bt] = !0;
612
+ <%s key={someKey} {...props} />`, Rt, le, ni, le), br[le + Rt] = !0;
613
613
  }
614
614
  }
615
- return i === n ? Bn(F) : Wn(F), F;
615
+ return i === n ? Xn(I) : Kn(I), I;
616
616
  }
617
617
  }
618
- function Yn(i, c, h) {
619
- return gr(i, c, h, !0);
620
- }
621
- function Qn(i, c, h) {
622
- return gr(i, c, h, !1);
623
- }
624
- var Gn = Qn, Hn = Yn;
625
- Se.Fragment = n, Se.jsx = Gn, Se.jsxs = Hn;
626
- }()), Se;
627
- }
628
- var _r;
629
- function ii() {
630
- return _r || (_r = 1, process.env.NODE_ENV === "production" ? He.exports = ri() : He.exports = ni()), He.exports;
631
- }
632
- var J = ii(), Vt = Le(), E = (e) => Me(e, Vt), Dt = Le();
633
- E.write = (e) => Me(e, Dt);
634
- var it = Le();
635
- E.onStart = (e) => Me(e, it);
636
- var $t = Le();
637
- E.onFrame = (e) => Me(e, $t);
638
- var Ut = Le();
639
- E.onFinish = (e) => Me(e, Ut);
640
- var ve = [];
641
- E.setTimeout = (e, t) => {
642
- const r = E.now() + t, n = () => {
643
- const a = ve.findIndex((o) => o.cancel == n);
644
- ~a && ve.splice(a, 1), se -= ~a ? 1 : 0;
618
+ function Zn(i, c, h) {
619
+ return _r(i, c, h, !0);
620
+ }
621
+ function ei(i, c, h) {
622
+ return _r(i, c, h, !1);
623
+ }
624
+ var ti = ei, ri = Zn;
625
+ Pe.Fragment = n, Pe.jsx = ti, Pe.jsxs = ri;
626
+ }()), Pe;
627
+ }
628
+ var Sr;
629
+ function fi() {
630
+ return Sr || (Sr = 1, process.env.NODE_ENV === "production" ? Je.exports = li() : Je.exports = ci()), Je.exports;
631
+ }
632
+ var Y = fi(), Nt = Le(), P = (e) => Me(e, Nt), Ut = Le();
633
+ P.write = (e) => Me(e, Ut);
634
+ var ot = Le();
635
+ P.onStart = (e) => Me(e, ot);
636
+ var qt = Le();
637
+ P.onFrame = (e) => Me(e, qt);
638
+ var zt = Le();
639
+ P.onFinish = (e) => Me(e, zt);
640
+ var ge = [];
641
+ P.setTimeout = (e, t) => {
642
+ const r = P.now() + t, n = () => {
643
+ const a = ge.findIndex((o) => o.cancel == n);
644
+ ~a && ge.splice(a, 1), ae -= ~a ? 1 : 0;
645
645
  }, s = { time: r, handler: e, cancel: n };
646
- return ve.splice(Wr(r), 0, s), se += 1, Br(), s;
646
+ return ge.splice(Gr(r), 0, s), ae += 1, Hr(), s;
647
647
  };
648
- var Wr = (e) => ~(~ve.findIndex((t) => t.time > e) || ~ve.length);
649
- E.cancel = (e) => {
650
- it.delete(e), $t.delete(e), Ut.delete(e), Vt.delete(e), Dt.delete(e);
648
+ var Gr = (e) => ~(~ge.findIndex((t) => t.time > e) || ~ge.length);
649
+ P.cancel = (e) => {
650
+ ot.delete(e), qt.delete(e), zt.delete(e), Nt.delete(e), Ut.delete(e);
651
651
  };
652
- E.sync = (e) => {
653
- Pt = !0, E.batchedUpdates(e), Pt = !1;
652
+ P.sync = (e) => {
653
+ Ct = !0, P.batchedUpdates(e), Ct = !1;
654
654
  };
655
- E.throttle = (e) => {
655
+ P.throttle = (e) => {
656
656
  let t;
657
657
  function r() {
658
658
  try {
@@ -662,88 +662,88 @@ E.throttle = (e) => {
662
662
  }
663
663
  }
664
664
  function n(...s) {
665
- t = s, E.onStart(r);
665
+ t = s, P.onStart(r);
666
666
  }
667
667
  return n.handler = e, n.cancel = () => {
668
- it.delete(r), t = null;
668
+ ot.delete(r), t = null;
669
669
  }, n;
670
670
  };
671
- var Nt = typeof window < "u" ? window.requestAnimationFrame : (
671
+ var Mt = typeof window < "u" ? window.requestAnimationFrame : (
672
672
  // eslint-disable-next-line @typescript-eslint/no-empty-function
673
673
  () => {
674
674
  }
675
675
  );
676
- E.use = (e) => Nt = e;
677
- E.now = typeof performance < "u" ? () => performance.now() : Date.now;
678
- E.batchedUpdates = (e) => e();
679
- E.catch = console.error;
680
- E.frameLoop = "always";
681
- E.advance = () => {
682
- E.frameLoop !== "demand" ? console.warn(
676
+ P.use = (e) => Mt = e;
677
+ P.now = typeof performance < "u" ? () => performance.now() : Date.now;
678
+ P.batchedUpdates = (e) => e();
679
+ P.catch = console.error;
680
+ P.frameLoop = "always";
681
+ P.advance = () => {
682
+ P.frameLoop !== "demand" ? console.warn(
683
683
  "Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"
684
- ) : Qr();
684
+ ) : Kr();
685
685
  };
686
- var ie = -1, se = 0, Pt = !1;
686
+ var se = -1, ae = 0, Ct = !1;
687
687
  function Me(e, t) {
688
- Pt ? (t.delete(e), e(0)) : (t.add(e), Br());
688
+ Ct ? (t.delete(e), e(0)) : (t.add(e), Hr());
689
689
  }
690
- function Br() {
691
- ie < 0 && (ie = 0, E.frameLoop !== "demand" && Nt(Yr));
690
+ function Hr() {
691
+ se < 0 && (se = 0, P.frameLoop !== "demand" && Mt(Jr));
692
692
  }
693
- function si() {
694
- ie = -1;
693
+ function di() {
694
+ se = -1;
695
695
  }
696
- function Yr() {
697
- ~ie && (Nt(Yr), E.batchedUpdates(Qr));
696
+ function Jr() {
697
+ ~se && (Mt(Jr), P.batchedUpdates(Kr));
698
698
  }
699
- function Qr() {
700
- const e = ie;
701
- ie = E.now();
702
- const t = Wr(ie);
703
- if (t && (Gr(ve.splice(0, t), (r) => r.handler()), se -= t), !se) {
704
- si();
699
+ function Kr() {
700
+ const e = se;
701
+ se = P.now();
702
+ const t = Gr(se);
703
+ if (t && (Xr(ge.splice(0, t), (r) => r.handler()), ae -= t), !ae) {
704
+ di();
705
705
  return;
706
706
  }
707
- it.flush(), Vt.flush(e ? Math.min(64, ie - e) : 16.667), $t.flush(), Dt.flush(), Ut.flush();
707
+ ot.flush(), Nt.flush(e ? Math.min(64, se - e) : 16.667), qt.flush(), Ut.flush(), zt.flush();
708
708
  }
709
709
  function Le() {
710
710
  let e = /* @__PURE__ */ new Set(), t = e;
711
711
  return {
712
712
  add(r) {
713
- se += t == e && !e.has(r) ? 1 : 0, e.add(r);
713
+ ae += t == e && !e.has(r) ? 1 : 0, e.add(r);
714
714
  },
715
715
  delete(r) {
716
- return se -= t == e && e.has(r) ? 1 : 0, e.delete(r);
716
+ return ae -= t == e && e.has(r) ? 1 : 0, e.delete(r);
717
717
  },
718
718
  flush(r) {
719
- t.size && (e = /* @__PURE__ */ new Set(), se -= t.size, Gr(t, (n) => n(r) && e.add(n)), se += e.size, t = e);
719
+ t.size && (e = /* @__PURE__ */ new Set(), ae -= t.size, Xr(t, (n) => n(r) && e.add(n)), ae += e.size, t = e);
720
720
  }
721
721
  };
722
722
  }
723
- function Gr(e, t) {
723
+ function Xr(e, t) {
724
724
  e.forEach((r) => {
725
725
  try {
726
726
  t(r);
727
727
  } catch (n) {
728
- E.catch(n);
728
+ P.catch(n);
729
729
  }
730
730
  });
731
731
  }
732
- var ai = Object.defineProperty, oi = (e, t) => {
732
+ var hi = Object.defineProperty, mi = (e, t) => {
733
733
  for (var r in t)
734
- ai(e, r, { get: t[r], enumerable: !0 });
735
- }, G = {};
736
- oi(G, {
737
- assign: () => li,
738
- colors: () => ae,
739
- createStringInterpolator: () => Mt,
740
- skipAnimation: () => Jr,
741
- to: () => Hr,
742
- willAdvance: () => Lt
734
+ hi(e, r, { get: t[r], enumerable: !0 });
735
+ }, H = {};
736
+ mi(H, {
737
+ assign: () => vi,
738
+ colors: () => oe,
739
+ createStringInterpolator: () => Wt,
740
+ skipAnimation: () => en,
741
+ to: () => Zr,
742
+ willAdvance: () => Bt
743
743
  });
744
- function At() {
744
+ function Tt() {
745
745
  }
746
- var ui = (e, t, r) => Object.defineProperty(e, t, { value: r, writable: !0, configurable: !0 }), f = {
746
+ var pi = (e, t, r) => Object.defineProperty(e, t, { value: r, writable: !0, configurable: !0 }), f = {
747
747
  arr: Array.isArray,
748
748
  obj: (e) => !!e && e.constructor.name === "Object",
749
749
  fun: (e) => typeof e == "function",
@@ -762,7 +762,7 @@ function te(e, t) {
762
762
  }
763
763
  return e === t;
764
764
  }
765
- var A = (e, t) => e.forEach(t);
765
+ var O = (e, t) => e.forEach(t);
766
766
  function K(e, t, r) {
767
767
  if (f.arr(e)) {
768
768
  for (let n = 0; n < e.length; n++)
@@ -772,32 +772,32 @@ function K(e, t, r) {
772
772
  for (const n in e)
773
773
  e.hasOwnProperty(n) && t.call(r, e[n], n);
774
774
  }
775
- var L = (e) => f.und(e) ? [] : f.arr(e) ? e : [e];
776
- function Te(e, t) {
775
+ var M = (e) => f.und(e) ? [] : f.arr(e) ? e : [e];
776
+ function Ce(e, t) {
777
777
  if (e.size) {
778
778
  const r = Array.from(e);
779
- e.clear(), A(r, t);
779
+ e.clear(), O(r, t);
780
780
  }
781
781
  }
782
- var Ae = (e, ...t) => Te(e, (r) => r(...t)), qt = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), Mt, Hr, ae = null, Jr = !1, Lt = At, li = (e) => {
783
- e.to && (Hr = e.to), e.now && (E.now = e.now), e.colors !== void 0 && (ae = e.colors), e.skipAnimation != null && (Jr = e.skipAnimation), e.createStringInterpolator && (Mt = e.createStringInterpolator), e.requestAnimationFrame && E.use(e.requestAnimationFrame), e.batchedUpdates && (E.batchedUpdates = e.batchedUpdates), e.willAdvance && (Lt = e.willAdvance), e.frameLoop && (E.frameLoop = e.frameLoop);
784
- }, Ce = /* @__PURE__ */ new Set(), B = [], _t = [], et = 0, st = {
782
+ var Ae = (e, ...t) => Ce(e, (r) => r(...t)), Lt = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), Wt, Zr, oe = null, en = !1, Bt = Tt, vi = (e) => {
783
+ e.to && (Zr = e.to), e.now && (P.now = e.now), e.colors !== void 0 && (oe = e.colors), e.skipAnimation != null && (en = e.skipAnimation), e.createStringInterpolator && (Wt = e.createStringInterpolator), e.requestAnimationFrame && P.use(e.requestAnimationFrame), e.batchedUpdates && (P.batchedUpdates = e.batchedUpdates), e.willAdvance && (Bt = e.willAdvance), e.frameLoop && (P.frameLoop = e.frameLoop);
784
+ }, Te = /* @__PURE__ */ new Set(), B = [], St = [], tt = 0, ut = {
785
785
  get idle() {
786
- return !Ce.size && !B.length;
786
+ return !Te.size && !B.length;
787
787
  },
788
788
  /** Advance the given animation on every frame until idle. */
789
789
  start(e) {
790
- et > e.priority ? (Ce.add(e), E.onStart(ci)) : (Kr(e), E(Tt));
790
+ tt > e.priority ? (Te.add(e), P.onStart(gi)) : (tn(e), P(jt));
791
791
  },
792
792
  /** Advance all animations by the given time. */
793
- advance: Tt,
793
+ advance: jt,
794
794
  /** Call this when an animation's priority changes. */
795
795
  sort(e) {
796
- if (et)
797
- E.onFrame(() => st.sort(e));
796
+ if (tt)
797
+ P.onFrame(() => ut.sort(e));
798
798
  else {
799
799
  const t = B.indexOf(e);
800
- ~t && (B.splice(t, 1), Xr(e));
800
+ ~t && (B.splice(t, 1), rn(e));
801
801
  }
802
802
  },
803
803
  /**
@@ -806,35 +806,35 @@ var Ae = (e, ...t) => Te(e, (r) => r(...t)), qt = () => typeof window > "u" || !
806
806
  * ☠️ Never call this from within the frameloop.
807
807
  */
808
808
  clear() {
809
- B = [], Ce.clear();
809
+ B = [], Te.clear();
810
810
  }
811
811
  };
812
- function ci() {
813
- Ce.forEach(Kr), Ce.clear(), E(Tt);
812
+ function gi() {
813
+ Te.forEach(tn), Te.clear(), P(jt);
814
814
  }
815
- function Kr(e) {
816
- B.includes(e) || Xr(e);
815
+ function tn(e) {
816
+ B.includes(e) || rn(e);
817
817
  }
818
- function Xr(e) {
818
+ function rn(e) {
819
819
  B.splice(
820
- fi(B, (t) => t.priority > e.priority),
820
+ yi(B, (t) => t.priority > e.priority),
821
821
  0,
822
822
  e
823
823
  );
824
824
  }
825
- function Tt(e) {
826
- const t = _t;
825
+ function jt(e) {
826
+ const t = St;
827
827
  for (let r = 0; r < B.length; r++) {
828
828
  const n = B[r];
829
- et = n.priority, n.idle || (Lt(n), n.advance(e), n.idle || t.push(n));
829
+ tt = n.priority, n.idle || (Bt(n), n.advance(e), n.idle || t.push(n));
830
830
  }
831
- return et = 0, _t = B, _t.length = 0, B = t, B.length > 0;
831
+ return tt = 0, St = B, St.length = 0, B = t, B.length > 0;
832
832
  }
833
- function fi(e, t) {
833
+ function yi(e, t) {
834
834
  const r = e.findIndex(t);
835
835
  return r < 0 ? e.length : r;
836
836
  }
837
- var di = {
837
+ var bi = {
838
838
  transparent: 0,
839
839
  aliceblue: 4042850303,
840
840
  antiquewhite: 4209760255,
@@ -985,79 +985,79 @@ var di = {
985
985
  whitesmoke: 4126537215,
986
986
  yellow: 4294902015,
987
987
  yellowgreen: 2597139199
988
- }, Q = "[-+]?\\d*\\.?\\d+", tt = Q + "%";
989
- function at(...e) {
988
+ }, G = "[-+]?\\d*\\.?\\d+", rt = G + "%";
989
+ function lt(...e) {
990
990
  return "\\(\\s*(" + e.join(")\\s*,\\s*(") + ")\\s*\\)";
991
991
  }
992
- var hi = new RegExp("rgb" + at(Q, Q, Q)), mi = new RegExp("rgba" + at(Q, Q, Q, Q)), pi = new RegExp("hsl" + at(Q, tt, tt)), vi = new RegExp(
993
- "hsla" + at(Q, tt, tt, Q)
994
- ), gi = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, yi = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, bi = /^#([0-9a-fA-F]{6})$/, _i = /^#([0-9a-fA-F]{8})$/;
995
- function wi(e) {
992
+ var _i = new RegExp("rgb" + lt(G, G, G)), wi = new RegExp("rgba" + lt(G, G, G, G)), Ri = new RegExp("hsl" + lt(G, rt, rt)), Si = new RegExp(
993
+ "hsla" + lt(G, rt, rt, G)
994
+ ), Pi = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, Ei = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, xi = /^#([0-9a-fA-F]{6})$/, Oi = /^#([0-9a-fA-F]{8})$/;
995
+ function Ai(e) {
996
996
  let t;
997
- return typeof e == "number" ? e >>> 0 === e && e >= 0 && e <= 4294967295 ? e : null : (t = bi.exec(e)) ? parseInt(t[1] + "ff", 16) >>> 0 : ae && ae[e] !== void 0 ? ae[e] : (t = hi.exec(e)) ? (pe(t[1]) << 24 | // r
998
- pe(t[2]) << 16 | // g
999
- pe(t[3]) << 8 | // b
997
+ return typeof e == "number" ? e >>> 0 === e && e >= 0 && e <= 4294967295 ? e : null : (t = xi.exec(e)) ? parseInt(t[1] + "ff", 16) >>> 0 : oe && oe[e] !== void 0 ? oe[e] : (t = _i.exec(e)) ? (ve(t[1]) << 24 | // r
998
+ ve(t[2]) << 16 | // g
999
+ ve(t[3]) << 8 | // b
1000
1000
  255) >>> // a
1001
- 0 : (t = mi.exec(e)) ? (pe(t[1]) << 24 | // r
1002
- pe(t[2]) << 16 | // g
1003
- pe(t[3]) << 8 | // b
1004
- Sr(t[4])) >>> // a
1005
- 0 : (t = gi.exec(e)) ? parseInt(
1001
+ 0 : (t = wi.exec(e)) ? (ve(t[1]) << 24 | // r
1002
+ ve(t[2]) << 16 | // g
1003
+ ve(t[3]) << 8 | // b
1004
+ xr(t[4])) >>> // a
1005
+ 0 : (t = Pi.exec(e)) ? parseInt(
1006
1006
  t[1] + t[1] + // r
1007
1007
  t[2] + t[2] + // g
1008
1008
  t[3] + t[3] + // b
1009
1009
  "ff",
1010
1010
  // a
1011
1011
  16
1012
- ) >>> 0 : (t = _i.exec(e)) ? parseInt(t[1], 16) >>> 0 : (t = yi.exec(e)) ? parseInt(
1012
+ ) >>> 0 : (t = Oi.exec(e)) ? parseInt(t[1], 16) >>> 0 : (t = Ei.exec(e)) ? parseInt(
1013
1013
  t[1] + t[1] + // r
1014
1014
  t[2] + t[2] + // g
1015
1015
  t[3] + t[3] + // b
1016
1016
  t[4] + t[4],
1017
1017
  // a
1018
1018
  16
1019
- ) >>> 0 : (t = pi.exec(e)) ? (wr(
1020
- Rr(t[1]),
1019
+ ) >>> 0 : (t = Ri.exec(e)) ? (Pr(
1020
+ Er(t[1]),
1021
1021
  // h
1022
- Je(t[2]),
1022
+ Ke(t[2]),
1023
1023
  // s
1024
- Je(t[3])
1024
+ Ke(t[3])
1025
1025
  // l
1026
1026
  ) | 255) >>> // a
1027
- 0 : (t = vi.exec(e)) ? (wr(
1028
- Rr(t[1]),
1027
+ 0 : (t = Si.exec(e)) ? (Pr(
1028
+ Er(t[1]),
1029
1029
  // h
1030
- Je(t[2]),
1030
+ Ke(t[2]),
1031
1031
  // s
1032
- Je(t[3])
1032
+ Ke(t[3])
1033
1033
  // l
1034
- ) | Sr(t[4])) >>> // a
1034
+ ) | xr(t[4])) >>> // a
1035
1035
  0 : null;
1036
1036
  }
1037
- function wt(e, t, r) {
1037
+ function Pt(e, t, r) {
1038
1038
  return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * 6 * r : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e;
1039
1039
  }
1040
- function wr(e, t, r) {
1041
- const n = r < 0.5 ? r * (1 + t) : r + t - r * t, s = 2 * r - n, a = wt(s, n, e + 1 / 3), o = wt(s, n, e), l = wt(s, n, e - 1 / 3);
1042
- return Math.round(a * 255) << 24 | Math.round(o * 255) << 16 | Math.round(l * 255) << 8;
1040
+ function Pr(e, t, r) {
1041
+ const n = r < 0.5 ? r * (1 + t) : r + t - r * t, s = 2 * r - n, a = Pt(s, n, e + 1 / 3), o = Pt(s, n, e), u = Pt(s, n, e - 1 / 3);
1042
+ return Math.round(a * 255) << 24 | Math.round(o * 255) << 16 | Math.round(u * 255) << 8;
1043
1043
  }
1044
- function pe(e) {
1044
+ function ve(e) {
1045
1045
  const t = parseInt(e, 10);
1046
1046
  return t < 0 ? 0 : t > 255 ? 255 : t;
1047
1047
  }
1048
- function Rr(e) {
1048
+ function Er(e) {
1049
1049
  return (parseFloat(e) % 360 + 360) % 360 / 360;
1050
1050
  }
1051
- function Sr(e) {
1051
+ function xr(e) {
1052
1052
  const t = parseFloat(e);
1053
1053
  return t < 0 ? 0 : t > 1 ? 255 : Math.round(t * 255);
1054
1054
  }
1055
- function Je(e) {
1055
+ function Ke(e) {
1056
1056
  const t = parseFloat(e);
1057
1057
  return t < 0 ? 0 : t > 100 ? 1 : t / 100;
1058
1058
  }
1059
- function Er(e) {
1060
- let t = wi(e);
1059
+ function Or(e) {
1060
+ let t = Ai(e);
1061
1061
  if (t === null)
1062
1062
  return e;
1063
1063
  t = t || 0;
@@ -1074,82 +1074,82 @@ var Ie = (e, t, r) => {
1074
1074
  extrapolate: r
1075
1075
  });
1076
1076
  if (f.str(e.output[0]))
1077
- return Mt(e);
1078
- const n = e, s = n.output, a = n.range || [0, 1], o = n.extrapolateLeft || n.extrapolate || "extend", l = n.extrapolateRight || n.extrapolate || "extend", d = n.easing || ((u) => u);
1079
- return (u) => {
1080
- const m = Si(u, a);
1081
- return Ri(
1082
- u,
1077
+ return Wt(e);
1078
+ const n = e, s = n.output, a = n.range || [0, 1], o = n.extrapolateLeft || n.extrapolate || "extend", u = n.extrapolateRight || n.extrapolate || "extend", d = n.easing || ((l) => l);
1079
+ return (l) => {
1080
+ const m = Ti(l, a);
1081
+ return Ci(
1082
+ l,
1083
1083
  a[m],
1084
1084
  a[m + 1],
1085
1085
  s[m],
1086
1086
  s[m + 1],
1087
1087
  d,
1088
1088
  o,
1089
- l,
1089
+ u,
1090
1090
  n.map
1091
1091
  );
1092
1092
  };
1093
1093
  };
1094
- function Ri(e, t, r, n, s, a, o, l, d) {
1095
- let u = d ? d(e) : e;
1096
- if (u < t) {
1094
+ function Ci(e, t, r, n, s, a, o, u, d) {
1095
+ let l = d ? d(e) : e;
1096
+ if (l < t) {
1097
1097
  if (o === "identity")
1098
- return u;
1099
- o === "clamp" && (u = t);
1098
+ return l;
1099
+ o === "clamp" && (l = t);
1100
1100
  }
1101
- if (u > r) {
1102
- if (l === "identity")
1103
- return u;
1104
- l === "clamp" && (u = r);
1101
+ if (l > r) {
1102
+ if (u === "identity")
1103
+ return l;
1104
+ u === "clamp" && (l = r);
1105
1105
  }
1106
- return n === s ? n : t === r ? e <= t ? n : s : (t === -1 / 0 ? u = -u : r === 1 / 0 ? u = u - t : u = (u - t) / (r - t), u = a(u), n === -1 / 0 ? u = -u : s === 1 / 0 ? u = u + n : u = u * (s - n) + n, u);
1106
+ return n === s ? n : t === r ? e <= t ? n : s : (t === -1 / 0 ? l = -l : r === 1 / 0 ? l = l - t : l = (l - t) / (r - t), l = a(l), n === -1 / 0 ? l = -l : s === 1 / 0 ? l = l + n : l = l * (s - n) + n, l);
1107
1107
  }
1108
- function Si(e, t) {
1108
+ function Ti(e, t) {
1109
1109
  for (var r = 1; r < t.length - 1 && !(t[r] >= e); ++r)
1110
1110
  ;
1111
1111
  return r - 1;
1112
1112
  }
1113
- var Ei = {
1113
+ var ji = {
1114
1114
  linear: (e) => e
1115
- }, Fe = Symbol.for("FluidValue.get"), ye = Symbol.for("FluidValue.observers"), W = (e) => !!(e && e[Fe]), q = (e) => e && e[Fe] ? e[Fe]() : e, xr = (e) => e[ye] || null;
1116
- function xi(e, t) {
1115
+ }, Fe = Symbol.for("FluidValue.get"), be = Symbol.for("FluidValue.observers"), W = (e) => !!(e && e[Fe]), q = (e) => e && e[Fe] ? e[Fe]() : e, Ar = (e) => e[be] || null;
1116
+ function ki(e, t) {
1117
1117
  e.eventObserved ? e.eventObserved(t) : e(t);
1118
1118
  }
1119
- function je(e, t) {
1120
- const r = e[ye];
1119
+ function Ve(e, t) {
1120
+ const r = e[be];
1121
1121
  r && r.forEach((n) => {
1122
- xi(n, t);
1122
+ ki(n, t);
1123
1123
  });
1124
1124
  }
1125
- var Zr = class {
1125
+ var nn = class {
1126
1126
  constructor(e) {
1127
1127
  if (!e && !(e = this.get))
1128
1128
  throw Error("Unknown getter");
1129
- Pi(this, e);
1129
+ Ii(this, e);
1130
1130
  }
1131
- }, Pi = (e, t) => en(e, Fe, t);
1132
- function be(e, t) {
1131
+ }, Ii = (e, t) => sn(e, Fe, t);
1132
+ function _e(e, t) {
1133
1133
  if (e[Fe]) {
1134
- let r = e[ye];
1135
- r || en(e, ye, r = /* @__PURE__ */ new Set()), r.has(t) || (r.add(t), e.observerAdded && e.observerAdded(r.size, t));
1134
+ let r = e[be];
1135
+ r || sn(e, be, r = /* @__PURE__ */ new Set()), r.has(t) || (r.add(t), e.observerAdded && e.observerAdded(r.size, t));
1136
1136
  }
1137
1137
  return t;
1138
1138
  }
1139
- function Ve(e, t) {
1140
- const r = e[ye];
1139
+ function De(e, t) {
1140
+ const r = e[be];
1141
1141
  if (r && r.has(t)) {
1142
1142
  const n = r.size - 1;
1143
- n ? r.delete(t) : e[ye] = null, e.observerRemoved && e.observerRemoved(n, t);
1143
+ n ? r.delete(t) : e[be] = null, e.observerRemoved && e.observerRemoved(n, t);
1144
1144
  }
1145
1145
  }
1146
- var en = (e, t, r) => Object.defineProperty(e, t, {
1146
+ var sn = (e, t, r) => Object.defineProperty(e, t, {
1147
1147
  value: r,
1148
1148
  writable: !0,
1149
1149
  configurable: !0
1150
- }), Ke = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, Ai = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, Pr = new RegExp(`(${Ke.source})(%|[a-z]+)`, "i"), Ti = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, ot = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, tn = (e) => {
1151
- const [t, r] = Ci(e);
1152
- if (!t || qt())
1150
+ }), Xe = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, Fi = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, Cr = new RegExp(`(${Xe.source})(%|[a-z]+)`, "i"), Vi = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, ct = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, an = (e) => {
1151
+ const [t, r] = Di(e);
1152
+ if (!t || Lt())
1153
1153
  return e;
1154
1154
  const n = window.getComputedStyle(document.documentElement).getPropertyValue(t);
1155
1155
  if (n)
@@ -1158,96 +1158,96 @@ var en = (e, t, r) => Object.defineProperty(e, t, {
1158
1158
  const s = window.getComputedStyle(document.documentElement).getPropertyValue(r);
1159
1159
  return s || e;
1160
1160
  } else {
1161
- if (r && ot.test(r))
1162
- return tn(r);
1161
+ if (r && ct.test(r))
1162
+ return an(r);
1163
1163
  if (r)
1164
1164
  return r;
1165
1165
  }
1166
1166
  return e;
1167
- }, Ci = (e) => {
1168
- const t = ot.exec(e);
1167
+ }, Di = (e) => {
1168
+ const t = ct.exec(e);
1169
1169
  if (!t)
1170
1170
  return [,];
1171
1171
  const [, r, n] = t;
1172
1172
  return [r, n];
1173
- }, Rt, ki = (e, t, r, n, s) => `rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${s})`, rn = (e) => {
1174
- Rt || (Rt = ae ? (
1173
+ }, Et, $i = (e, t, r, n, s) => `rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${s})`, on = (e) => {
1174
+ Et || (Et = oe ? (
1175
1175
  // match color names, ignore partial matches
1176
- new RegExp(`(${Object.keys(ae).join("|")})(?!\\w)`, "g")
1176
+ new RegExp(`(${Object.keys(oe).join("|")})(?!\\w)`, "g")
1177
1177
  ) : (
1178
1178
  // never match
1179
1179
  /^\b$/
1180
1180
  ));
1181
- const t = e.output.map((a) => q(a).replace(ot, tn).replace(Ai, Er).replace(Rt, Er)), r = t.map((a) => a.match(Ke).map(Number)), s = r[0].map(
1182
- (a, o) => r.map((l) => {
1183
- if (!(o in l))
1181
+ const t = e.output.map((a) => q(a).replace(ct, an).replace(Fi, Or).replace(Et, Or)), r = t.map((a) => a.match(Xe).map(Number)), s = r[0].map(
1182
+ (a, o) => r.map((u) => {
1183
+ if (!(o in u))
1184
1184
  throw Error('The arity of each "output" value must be equal');
1185
- return l[o];
1185
+ return u[o];
1186
1186
  })
1187
1187
  ).map(
1188
1188
  (a) => Ie({ ...e, output: a })
1189
1189
  );
1190
1190
  return (a) => {
1191
1191
  var d;
1192
- const o = !Pr.test(t[0]) && ((d = t.find((u) => Pr.test(u))) == null ? void 0 : d.replace(Ke, ""));
1193
- let l = 0;
1192
+ const o = !Cr.test(t[0]) && ((d = t.find((l) => Cr.test(l))) == null ? void 0 : d.replace(Xe, ""));
1193
+ let u = 0;
1194
1194
  return t[0].replace(
1195
- Ke,
1196
- () => `${s[l++](a)}${o || ""}`
1197
- ).replace(Ti, ki);
1195
+ Xe,
1196
+ () => `${s[u++](a)}${o || ""}`
1197
+ ).replace(Vi, $i);
1198
1198
  };
1199
- }, zt = "react-spring: ", nn = (e) => {
1199
+ }, Yt = "react-spring: ", un = (e) => {
1200
1200
  const t = e;
1201
1201
  let r = !1;
1202
1202
  if (typeof t != "function")
1203
- throw new TypeError(`${zt}once requires a function parameter`);
1203
+ throw new TypeError(`${Yt}once requires a function parameter`);
1204
1204
  return (...n) => {
1205
1205
  r || (t(...n), r = !0);
1206
1206
  };
1207
- }, Oi = nn(console.warn);
1208
- function Ii() {
1209
- Oi(
1210
- `${zt}The "interpolate" function is deprecated in v9 (use "to" instead)`
1207
+ }, Ni = un(console.warn);
1208
+ function Ui() {
1209
+ Ni(
1210
+ `${Yt}The "interpolate" function is deprecated in v9 (use "to" instead)`
1211
1211
  );
1212
1212
  }
1213
- var Fi = nn(console.warn);
1214
- function ji() {
1215
- Fi(
1216
- `${zt}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`
1213
+ var qi = un(console.warn);
1214
+ function zi() {
1215
+ qi(
1216
+ `${Yt}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`
1217
1217
  );
1218
1218
  }
1219
- function ut(e) {
1219
+ function ft(e) {
1220
1220
  return f.str(e) && (e[0] == "#" || /\d/.test(e) || // Do not identify a CSS variable as an AnimatedString if its SSR
1221
- !qt() && ot.test(e) || e in (ae || {}));
1221
+ !Lt() && ct.test(e) || e in (oe || {}));
1222
1222
  }
1223
- var Wt = qt() ? ce : Xn, Vi = () => {
1224
- const e = re(!1);
1225
- return Wt(() => (e.current = !0, () => {
1223
+ var Qt = Lt() ? fe : si, Mi = () => {
1224
+ const e = ne(!1);
1225
+ return Qt(() => (e.current = !0, () => {
1226
1226
  e.current = !1;
1227
1227
  }), []), e;
1228
1228
  };
1229
- function sn() {
1230
- const e = Ze()[1], t = Vi();
1229
+ function ln() {
1230
+ const e = et()[1], t = Mi();
1231
1231
  return () => {
1232
1232
  t.current && e(Math.random());
1233
1233
  };
1234
1234
  }
1235
- function Di(e, t) {
1236
- const [r] = Ze(
1235
+ function Li(e, t) {
1236
+ const [r] = et(
1237
1237
  () => ({
1238
1238
  inputs: t,
1239
1239
  result: e()
1240
1240
  })
1241
- ), n = re(), s = n.current;
1241
+ ), n = ne(), s = n.current;
1242
1242
  let a = s;
1243
- return a ? t && a.inputs && $i(t, a.inputs) || (a = {
1243
+ return a ? t && a.inputs && Wi(t, a.inputs) || (a = {
1244
1244
  inputs: t,
1245
1245
  result: e()
1246
- }) : a = r, ce(() => {
1246
+ }) : a = r, fe(() => {
1247
1247
  n.current = a, s == r && (r.inputs = r.result = void 0);
1248
1248
  }, [a]), a.result;
1249
1249
  }
1250
- function $i(e, t) {
1250
+ function Wi(e, t) {
1251
1251
  if (e.length !== t.length)
1252
1252
  return !1;
1253
1253
  for (let r = 0; r < e.length; r++)
@@ -1255,28 +1255,28 @@ function $i(e, t) {
1255
1255
  return !1;
1256
1256
  return !0;
1257
1257
  }
1258
- var an = (e) => ce(e, Ui), Ui = [];
1259
- function Ar(e) {
1260
- const t = re();
1261
- return ce(() => {
1258
+ var cn = (e) => fe(e, Bi), Bi = [];
1259
+ function Tr(e) {
1260
+ const t = ne();
1261
+ return fe(() => {
1262
1262
  t.current = e;
1263
1263
  }), t.current;
1264
1264
  }
1265
- var De = Symbol.for("Animated:node"), Ni = (e) => !!e && e[De] === e, H = (e) => e && e[De], Bt = (e, t) => ui(e, De, t), lt = (e) => e && e[De] && e[De].getPayload(), on = class {
1265
+ var $e = Symbol.for("Animated:node"), Yi = (e) => !!e && e[$e] === e, J = (e) => e && e[$e], Gt = (e, t) => pi(e, $e, t), dt = (e) => e && e[$e] && e[$e].getPayload(), fn = class {
1266
1266
  constructor() {
1267
- Bt(this, this);
1267
+ Gt(this, this);
1268
1268
  }
1269
1269
  /** Get every `AnimatedValue` used by this node. */
1270
1270
  getPayload() {
1271
1271
  return this.payload || [];
1272
1272
  }
1273
- }, ze = class extends on {
1273
+ }, We = class extends fn {
1274
1274
  constructor(e) {
1275
1275
  super(), this._value = e, this.done = !0, this.durationProgress = 0, f.num(this._value) && (this.lastPosition = this._value);
1276
1276
  }
1277
1277
  /** @internal */
1278
1278
  static create(e) {
1279
- return new ze(e);
1279
+ return new We(e);
1280
1280
  }
1281
1281
  getPayload() {
1282
1282
  return [this];
@@ -1291,7 +1291,7 @@ var De = Symbol.for("Animated:node"), Ni = (e) => !!e && e[De] === e, H = (e) =>
1291
1291
  const { done: e } = this;
1292
1292
  this.done = !1, f.num(this._value) && (this.elapsedTime = 0, this.durationProgress = 0, this.lastPosition = this._value, e && (this.lastVelocity = null), this.v0 = null);
1293
1293
  }
1294
- }, $e = class extends ze {
1294
+ }, Ne = class extends We {
1295
1295
  constructor(e) {
1296
1296
  super(0), this._string = null, this._toString = Ie({
1297
1297
  output: [e, e]
@@ -1299,7 +1299,7 @@ var De = Symbol.for("Animated:node"), Ni = (e) => !!e && e[De] === e, H = (e) =>
1299
1299
  }
1300
1300
  /** @internal */
1301
1301
  static create(e) {
1302
- return new $e(e);
1302
+ return new Ne(e);
1303
1303
  }
1304
1304
  getValue() {
1305
1305
  const e = this._string;
@@ -1321,14 +1321,14 @@ var De = Symbol.for("Animated:node"), Ni = (e) => !!e && e[De] === e, H = (e) =>
1321
1321
  output: [this.getValue(), e]
1322
1322
  })), this._value = 0, super.reset();
1323
1323
  }
1324
- }, rt = { dependencies: null }, ct = class extends on {
1324
+ }, nt = { dependencies: null }, ht = class extends fn {
1325
1325
  constructor(e) {
1326
1326
  super(), this.source = e, this.setValue(e);
1327
1327
  }
1328
1328
  getValue(e) {
1329
1329
  const t = {};
1330
1330
  return K(this.source, (r, n) => {
1331
- Ni(r) ? t[n] = r.getValue(e) : W(r) ? t[n] = q(r) : e || (t[n] = r);
1331
+ Yi(r) ? t[n] = r.getValue(e) : W(r) ? t[n] = q(r) : e || (t[n] = r);
1332
1332
  }), t;
1333
1333
  }
1334
1334
  /** Replace the raw object data */
@@ -1336,7 +1336,7 @@ var De = Symbol.for("Animated:node"), Ni = (e) => !!e && e[De] === e, H = (e) =>
1336
1336
  this.source = e, this.payload = this._makePayload(e);
1337
1337
  }
1338
1338
  reset() {
1339
- this.payload && A(this.payload, (e) => e.reset());
1339
+ this.payload && O(this.payload, (e) => e.reset());
1340
1340
  }
1341
1341
  /** Create a payload set. */
1342
1342
  _makePayload(e) {
@@ -1347,85 +1347,85 @@ var De = Symbol.for("Animated:node"), Ni = (e) => !!e && e[De] === e, H = (e) =>
1347
1347
  }
1348
1348
  /** Add to a payload set. */
1349
1349
  _addToPayload(e) {
1350
- rt.dependencies && W(e) && rt.dependencies.add(e);
1351
- const t = lt(e);
1352
- t && A(t, (r) => this.add(r));
1350
+ nt.dependencies && W(e) && nt.dependencies.add(e);
1351
+ const t = dt(e);
1352
+ t && O(t, (r) => this.add(r));
1353
1353
  }
1354
- }, un = class extends ct {
1354
+ }, dn = class extends ht {
1355
1355
  constructor(e) {
1356
1356
  super(e);
1357
1357
  }
1358
1358
  /** @internal */
1359
1359
  static create(e) {
1360
- return new un(e);
1360
+ return new dn(e);
1361
1361
  }
1362
1362
  getValue() {
1363
1363
  return this.source.map((e) => e.getValue());
1364
1364
  }
1365
1365
  setValue(e) {
1366
1366
  const t = this.getPayload();
1367
- return e.length == t.length ? t.map((r, n) => r.setValue(e[n])).some(Boolean) : (super.setValue(e.map(qi)), !0);
1367
+ return e.length == t.length ? t.map((r, n) => r.setValue(e[n])).some(Boolean) : (super.setValue(e.map(Qi)), !0);
1368
1368
  }
1369
1369
  };
1370
- function qi(e) {
1371
- return (ut(e) ? $e : ze).create(e);
1370
+ function Qi(e) {
1371
+ return (ft(e) ? Ne : We).create(e);
1372
1372
  }
1373
- function Ct(e) {
1374
- const t = H(e);
1375
- return t ? t.constructor : f.arr(e) ? un : ut(e) ? $e : ze;
1373
+ function kt(e) {
1374
+ const t = J(e);
1375
+ return t ? t.constructor : f.arr(e) ? dn : ft(e) ? Ne : We;
1376
1376
  }
1377
- var Tr = (e, t) => {
1377
+ var jr = (e, t) => {
1378
1378
  const r = (
1379
1379
  // Function components must use "forwardRef" to avoid being
1380
1380
  // re-rendered on every animation frame.
1381
1381
  !f.fun(e) || e.prototype && e.prototype.isReactComponent
1382
1382
  );
1383
- return Zn((n, s) => {
1384
- const a = re(null), o = r && // eslint-disable-next-line react-hooks/rules-of-hooks
1385
- ei(
1383
+ return ai((n, s) => {
1384
+ const a = ne(null), o = r && // eslint-disable-next-line react-hooks/rules-of-hooks
1385
+ oi(
1386
1386
  (_) => {
1387
- a.current = zi(s, _);
1387
+ a.current = Ji(s, _);
1388
1388
  },
1389
1389
  [s]
1390
- ), [l, d] = Li(n, t), u = sn(), m = () => {
1390
+ ), [u, d] = Hi(n, t), l = ln(), m = () => {
1391
1391
  const _ = a.current;
1392
1392
  if (r && !_)
1393
1393
  return;
1394
- (_ ? t.applyAnimatedValues(_, l.getValue(!0)) : !1) === !1 && u();
1395
- }, p = new Mi(m, d), v = re();
1396
- Wt(() => (v.current = p, A(d, (_) => be(_, p)), () => {
1397
- v.current && (A(
1394
+ (_ ? t.applyAnimatedValues(_, u.getValue(!0)) : !1) === !1 && l();
1395
+ }, p = new Gi(m, d), v = ne();
1396
+ Qt(() => (v.current = p, O(d, (_) => _e(_, p)), () => {
1397
+ v.current && (O(
1398
1398
  v.current.deps,
1399
- (_) => Ve(_, v.current)
1400
- ), E.cancel(v.current.update));
1401
- })), ce(m, []), an(() => () => {
1399
+ (_) => De(_, v.current)
1400
+ ), P.cancel(v.current.update));
1401
+ })), fe(m, []), cn(() => () => {
1402
1402
  const _ = v.current;
1403
- A(_.deps, (R) => Ve(R, _));
1403
+ O(_.deps, (R) => De(R, _));
1404
1404
  });
1405
- const g = t.getComponentProps(l.getValue());
1406
- return /* @__PURE__ */ jt.createElement(e, { ...g, ref: o });
1405
+ const g = t.getComponentProps(u.getValue());
1406
+ return /* @__PURE__ */ $t.createElement(e, { ...g, ref: o });
1407
1407
  });
1408
- }, Mi = class {
1408
+ }, Gi = class {
1409
1409
  constructor(e, t) {
1410
1410
  this.update = e, this.deps = t;
1411
1411
  }
1412
1412
  eventObserved(e) {
1413
- e.type == "change" && E.write(this.update);
1413
+ e.type == "change" && P.write(this.update);
1414
1414
  }
1415
1415
  };
1416
- function Li(e, t) {
1416
+ function Hi(e, t) {
1417
1417
  const r = /* @__PURE__ */ new Set();
1418
- return rt.dependencies = r, e.style && (e = {
1418
+ return nt.dependencies = r, e.style && (e = {
1419
1419
  ...e,
1420
1420
  style: t.createAnimatedStyle(e.style)
1421
- }), e = new ct(e), rt.dependencies = null, [e, r];
1421
+ }), e = new ht(e), nt.dependencies = null, [e, r];
1422
1422
  }
1423
- function zi(e, t) {
1423
+ function Ji(e, t) {
1424
1424
  return e && (f.fun(e) ? e(t) : e.current = t), t;
1425
1425
  }
1426
- var Cr = Symbol.for("AnimatedComponent"), Wi = (e, {
1426
+ var kr = Symbol.for("AnimatedComponent"), Ki = (e, {
1427
1427
  applyAnimatedValues: t = () => !1,
1428
- createAnimatedStyle: r = (s) => new ct(s),
1428
+ createAnimatedStyle: r = (s) => new ht(s),
1429
1429
  getComponentProps: n = (s) => s
1430
1430
  } = {}) => {
1431
1431
  const s = {
@@ -1433,20 +1433,20 @@ var Cr = Symbol.for("AnimatedComponent"), Wi = (e, {
1433
1433
  createAnimatedStyle: r,
1434
1434
  getComponentProps: n
1435
1435
  }, a = (o) => {
1436
- const l = kr(o) || "Anonymous";
1437
- return f.str(o) ? o = a[o] || (a[o] = Tr(o, s)) : o = o[Cr] || (o[Cr] = Tr(o, s)), o.displayName = `Animated(${l})`, o;
1436
+ const u = Ir(o) || "Anonymous";
1437
+ return f.str(o) ? o = a[o] || (a[o] = jr(o, s)) : o = o[kr] || (o[kr] = jr(o, s)), o.displayName = `Animated(${u})`, o;
1438
1438
  };
1439
- return K(e, (o, l) => {
1440
- f.arr(e) && (l = kr(o)), a[l] = a(o);
1439
+ return K(e, (o, u) => {
1440
+ f.arr(e) && (u = Ir(o)), a[u] = a(o);
1441
1441
  }), {
1442
1442
  animated: a
1443
1443
  };
1444
- }, kr = (e) => f.str(e) ? e : e && f.str(e.displayName) ? e.displayName : f.fun(e) && e.name || null;
1445
- function le(e, ...t) {
1444
+ }, Ir = (e) => f.str(e) ? e : e && f.str(e.displayName) ? e.displayName : f.fun(e) && e.name || null;
1445
+ function ce(e, ...t) {
1446
1446
  return f.fun(e) ? e(...t) : e;
1447
1447
  }
1448
- var ke = (e, t) => e === !0 || !!(t && e && (f.fun(e) ? e(t) : L(e).includes(t))), ln = (e, t) => f.obj(e) ? t && e[t] : e, cn = (e, t) => e.default === !0 ? e[t] : e.default ? e.default[t] : void 0, Bi = (e) => e, Yt = (e, t = Bi) => {
1449
- let r = Yi;
1448
+ var je = (e, t) => e === !0 || !!(t && e && (f.fun(e) ? e(t) : M(e).includes(t))), hn = (e, t) => f.obj(e) ? t && e[t] : e, mn = (e, t) => e.default === !0 ? e[t] : e.default ? e.default[t] : void 0, Xi = (e) => e, Ht = (e, t = Xi) => {
1449
+ let r = Zi;
1450
1450
  e.default && e.default !== !0 && (e = e.default, r = Object.keys(e));
1451
1451
  const n = {};
1452
1452
  for (const s of r) {
@@ -1454,7 +1454,7 @@ var ke = (e, t) => e === !0 || !!(t && e && (f.fun(e) ? e(t) : L(e).includes(t))
1454
1454
  f.und(a) || (n[s] = a);
1455
1455
  }
1456
1456
  return n;
1457
- }, Yi = [
1457
+ }, Zi = [
1458
1458
  "config",
1459
1459
  "onProps",
1460
1460
  "onStart",
@@ -1462,7 +1462,7 @@ var ke = (e, t) => e === !0 || !!(t && e && (f.fun(e) ? e(t) : L(e).includes(t))
1462
1462
  "onPause",
1463
1463
  "onResume",
1464
1464
  "onRest"
1465
- ], Qi = {
1465
+ ], es = {
1466
1466
  config: 1,
1467
1467
  from: 1,
1468
1468
  to: 1,
@@ -1498,16 +1498,16 @@ var ke = (e, t) => e === !0 || !!(t && e && (f.fun(e) ? e(t) : L(e).includes(t))
1498
1498
  callId: 1,
1499
1499
  parentId: 1
1500
1500
  };
1501
- function Gi(e) {
1501
+ function ts(e) {
1502
1502
  const t = {};
1503
1503
  let r = 0;
1504
1504
  if (K(e, (n, s) => {
1505
- Qi[s] || (t[s] = n, r++);
1505
+ es[s] || (t[s] = n, r++);
1506
1506
  }), r)
1507
1507
  return t;
1508
1508
  }
1509
- function fn(e) {
1510
- const t = Gi(e);
1509
+ function pn(e) {
1510
+ const t = ts(e);
1511
1511
  if (t) {
1512
1512
  const r = { to: t };
1513
1513
  return K(e, (n, s) => s in t || (r[s] = n)), r;
@@ -1515,49 +1515,49 @@ function fn(e) {
1515
1515
  return { ...e };
1516
1516
  }
1517
1517
  function Ue(e) {
1518
- return e = q(e), f.arr(e) ? e.map(Ue) : ut(e) ? G.createStringInterpolator({
1518
+ return e = q(e), f.arr(e) ? e.map(Ue) : ft(e) ? H.createStringInterpolator({
1519
1519
  range: [0, 1],
1520
1520
  output: [e, e]
1521
1521
  })(1) : e;
1522
1522
  }
1523
- function Hi(e) {
1523
+ function rs(e) {
1524
1524
  for (const t in e)
1525
1525
  return !0;
1526
1526
  return !1;
1527
1527
  }
1528
- function kt(e) {
1528
+ function It(e) {
1529
1529
  return f.fun(e) || f.arr(e) && f.obj(e[0]);
1530
1530
  }
1531
- function Ji(e, t) {
1531
+ function ns(e, t) {
1532
1532
  var r;
1533
1533
  (r = e.ref) == null || r.delete(e), t == null || t.delete(e);
1534
1534
  }
1535
- function Ki(e, t) {
1535
+ function is(e, t) {
1536
1536
  var r;
1537
1537
  t && e.ref !== t && ((r = e.ref) == null || r.delete(e), t.add(e), e.ref = t);
1538
1538
  }
1539
- var Xi = {
1539
+ var ss = {
1540
1540
  default: { tension: 170, friction: 26 }
1541
- }, Ot = {
1542
- ...Xi.default,
1541
+ }, Ft = {
1542
+ ...ss.default,
1543
1543
  mass: 1,
1544
1544
  damping: 1,
1545
- easing: Ei.linear,
1545
+ easing: ji.linear,
1546
1546
  clamp: !1
1547
- }, Zi = class {
1547
+ }, as = class {
1548
1548
  constructor() {
1549
- this.velocity = 0, Object.assign(this, Ot);
1549
+ this.velocity = 0, Object.assign(this, Ft);
1550
1550
  }
1551
1551
  };
1552
- function es(e, t, r) {
1553
- r && (r = { ...r }, Or(r, t), t = { ...r, ...t }), Or(e, t), Object.assign(e, t);
1554
- for (const o in Ot)
1555
- e[o] == null && (e[o] = Ot[o]);
1552
+ function os(e, t, r) {
1553
+ r && (r = { ...r }, Fr(r, t), t = { ...r, ...t }), Fr(e, t), Object.assign(e, t);
1554
+ for (const o in Ft)
1555
+ e[o] == null && (e[o] = Ft[o]);
1556
1556
  let { frequency: n, damping: s } = e;
1557
1557
  const { mass: a } = e;
1558
1558
  return f.und(n) || (n < 0.01 && (n = 0.01), s < 0 && (s = 0), e.tension = Math.pow(2 * Math.PI / n, 2) * a, e.friction = 4 * Math.PI * s * a / n), e;
1559
1559
  }
1560
- function Or(e, t) {
1560
+ function Fr(e, t) {
1561
1561
  if (!f.und(t.decay))
1562
1562
  e.duration = void 0;
1563
1563
  else {
@@ -1565,132 +1565,132 @@ function Or(e, t) {
1565
1565
  (r || !f.und(t.frequency) || !f.und(t.damping) || !f.und(t.mass)) && (e.duration = void 0, e.decay = void 0), r && (e.frequency = void 0);
1566
1566
  }
1567
1567
  }
1568
- var Ir = [], ts = class {
1568
+ var Vr = [], us = class {
1569
1569
  constructor() {
1570
- this.changed = !1, this.values = Ir, this.toValues = null, this.fromValues = Ir, this.config = new Zi(), this.immediate = !1;
1570
+ this.changed = !1, this.values = Vr, this.toValues = null, this.fromValues = Vr, this.config = new as(), this.immediate = !1;
1571
1571
  }
1572
1572
  };
1573
- function dn(e, { key: t, props: r, defaultProps: n, state: s, actions: a }) {
1574
- return new Promise((o, l) => {
1575
- let d, u, m = ke(r.cancel ?? (n == null ? void 0 : n.cancel), t);
1573
+ function vn(e, { key: t, props: r, defaultProps: n, state: s, actions: a }) {
1574
+ return new Promise((o, u) => {
1575
+ let d, l, m = je(r.cancel ?? (n == null ? void 0 : n.cancel), t);
1576
1576
  if (m)
1577
1577
  g();
1578
1578
  else {
1579
- f.und(r.pause) || (s.paused = ke(r.pause, t));
1579
+ f.und(r.pause) || (s.paused = je(r.pause, t));
1580
1580
  let _ = n == null ? void 0 : n.pause;
1581
- _ !== !0 && (_ = s.paused || ke(_, t)), d = le(r.delay || 0, t), _ ? (s.resumeQueue.add(v), a.pause()) : (a.resume(), v());
1581
+ _ !== !0 && (_ = s.paused || je(_, t)), d = ce(r.delay || 0, t), _ ? (s.resumeQueue.add(v), a.pause()) : (a.resume(), v());
1582
1582
  }
1583
1583
  function p() {
1584
- s.resumeQueue.add(v), s.timeouts.delete(u), u.cancel(), d = u.time - E.now();
1584
+ s.resumeQueue.add(v), s.timeouts.delete(l), l.cancel(), d = l.time - P.now();
1585
1585
  }
1586
1586
  function v() {
1587
- d > 0 && !G.skipAnimation ? (s.delayed = !0, u = E.setTimeout(g, d), s.pauseQueue.add(p), s.timeouts.add(u)) : g();
1587
+ d > 0 && !H.skipAnimation ? (s.delayed = !0, l = P.setTimeout(g, d), s.pauseQueue.add(p), s.timeouts.add(l)) : g();
1588
1588
  }
1589
1589
  function g() {
1590
- s.delayed && (s.delayed = !1), s.pauseQueue.delete(p), s.timeouts.delete(u), e <= (s.cancelId || 0) && (m = !0);
1590
+ s.delayed && (s.delayed = !1), s.pauseQueue.delete(p), s.timeouts.delete(l), e <= (s.cancelId || 0) && (m = !0);
1591
1591
  try {
1592
1592
  a.start({ ...r, callId: e, cancel: m }, o);
1593
1593
  } catch (_) {
1594
- l(_);
1594
+ u(_);
1595
1595
  }
1596
1596
  }
1597
1597
  });
1598
1598
  }
1599
- var Qt = (e, t) => t.length == 1 ? t[0] : t.some((r) => r.cancelled) ? ge(e.get()) : t.every((r) => r.noop) ? hn(e.get()) : Y(
1599
+ var Jt = (e, t) => t.length == 1 ? t[0] : t.some((r) => r.cancelled) ? ye(e.get()) : t.every((r) => r.noop) ? gn(e.get()) : Q(
1600
1600
  e.get(),
1601
1601
  t.every((r) => r.finished)
1602
- ), hn = (e) => ({
1602
+ ), gn = (e) => ({
1603
1603
  value: e,
1604
1604
  noop: !0,
1605
1605
  finished: !0,
1606
1606
  cancelled: !1
1607
- }), Y = (e, t, r = !1) => ({
1607
+ }), Q = (e, t, r = !1) => ({
1608
1608
  value: e,
1609
1609
  finished: t,
1610
1610
  cancelled: r
1611
- }), ge = (e) => ({
1611
+ }), ye = (e) => ({
1612
1612
  value: e,
1613
1613
  cancelled: !0,
1614
1614
  finished: !1
1615
1615
  });
1616
- function mn(e, t, r, n) {
1617
- const { callId: s, parentId: a, onRest: o } = t, { asyncTo: l, promise: d } = r;
1618
- return !a && e === l && !t.reset ? d : r.promise = (async () => {
1616
+ function yn(e, t, r, n) {
1617
+ const { callId: s, parentId: a, onRest: o } = t, { asyncTo: u, promise: d } = r;
1618
+ return !a && e === u && !t.reset ? d : r.promise = (async () => {
1619
1619
  r.asyncId = s, r.asyncTo = e;
1620
- const u = Yt(
1620
+ const l = Ht(
1621
1621
  t,
1622
- (x, y) => (
1622
+ (E, y) => (
1623
1623
  // The `onRest` prop is only called when the `runAsync` promise is resolved.
1624
- y === "onRest" ? void 0 : x
1624
+ y === "onRest" ? void 0 : E
1625
1625
  )
1626
1626
  );
1627
1627
  let m, p;
1628
1628
  const v = new Promise(
1629
- (x, y) => (m = x, p = y)
1630
- ), g = (x) => {
1629
+ (E, y) => (m = E, p = y)
1630
+ ), g = (E) => {
1631
1631
  const y = (
1632
1632
  // The `cancel` prop or `stop` method was used.
1633
- s <= (r.cancelId || 0) && ge(n) || // The async `to` prop was replaced.
1634
- s !== r.asyncId && Y(n, !1)
1633
+ s <= (r.cancelId || 0) && ye(n) || // The async `to` prop was replaced.
1634
+ s !== r.asyncId && Q(n, !1)
1635
1635
  );
1636
1636
  if (y)
1637
- throw x.result = y, p(x), x;
1638
- }, _ = (x, y) => {
1639
- const b = new Fr(), S = new jr();
1637
+ throw E.result = y, p(E), E;
1638
+ }, _ = (E, y) => {
1639
+ const b = new Dr(), S = new $r();
1640
1640
  return (async () => {
1641
- if (G.skipAnimation)
1642
- throw Ne(r), S.result = Y(n, !1), p(S), S;
1641
+ if (H.skipAnimation)
1642
+ throw qe(r), S.result = Q(n, !1), p(S), S;
1643
1643
  g(b);
1644
- const k = f.obj(x) ? { ...x } : { ...y, to: x };
1645
- k.parentId = s, K(u, (X, U) => {
1646
- f.und(k[U]) && (k[U] = X);
1644
+ const T = f.obj(E) ? { ...E } : { ...y, to: E };
1645
+ T.parentId = s, K(l, (X, N) => {
1646
+ f.und(T[N]) && (T[N] = X);
1647
1647
  });
1648
- const j = await n.start(k);
1648
+ const F = await n.start(T);
1649
1649
  return g(b), r.paused && await new Promise((X) => {
1650
1650
  r.resumeQueue.add(X);
1651
- }), j;
1651
+ }), F;
1652
1652
  })();
1653
1653
  };
1654
1654
  let R;
1655
- if (G.skipAnimation)
1656
- return Ne(r), Y(n, !1);
1655
+ if (H.skipAnimation)
1656
+ return qe(r), Q(n, !1);
1657
1657
  try {
1658
- let x;
1659
- f.arr(e) ? x = (async (y) => {
1658
+ let E;
1659
+ f.arr(e) ? E = (async (y) => {
1660
1660
  for (const b of y)
1661
1661
  await _(b);
1662
- })(e) : x = Promise.resolve(e(_, n.stop.bind(n))), await Promise.all([x.then(m), v]), R = Y(n.get(), !0, !1);
1663
- } catch (x) {
1664
- if (x instanceof Fr)
1665
- R = x.result;
1666
- else if (x instanceof jr)
1667
- R = x.result;
1662
+ })(e) : E = Promise.resolve(e(_, n.stop.bind(n))), await Promise.all([E.then(m), v]), R = Q(n.get(), !0, !1);
1663
+ } catch (E) {
1664
+ if (E instanceof Dr)
1665
+ R = E.result;
1666
+ else if (E instanceof $r)
1667
+ R = E.result;
1668
1668
  else
1669
- throw x;
1669
+ throw E;
1670
1670
  } finally {
1671
- s == r.asyncId && (r.asyncId = a, r.asyncTo = a ? l : void 0, r.promise = a ? d : void 0);
1671
+ s == r.asyncId && (r.asyncId = a, r.asyncTo = a ? u : void 0, r.promise = a ? d : void 0);
1672
1672
  }
1673
- return f.fun(o) && E.batchedUpdates(() => {
1673
+ return f.fun(o) && P.batchedUpdates(() => {
1674
1674
  o(R, n, n.item);
1675
1675
  }), R;
1676
1676
  })();
1677
1677
  }
1678
- function Ne(e, t) {
1679
- Te(e.timeouts, (r) => r.cancel()), e.pauseQueue.clear(), e.resumeQueue.clear(), e.asyncId = e.asyncTo = e.promise = void 0, t && (e.cancelId = t);
1678
+ function qe(e, t) {
1679
+ Ce(e.timeouts, (r) => r.cancel()), e.pauseQueue.clear(), e.resumeQueue.clear(), e.asyncId = e.asyncTo = e.promise = void 0, t && (e.cancelId = t);
1680
1680
  }
1681
- var Fr = class extends Error {
1681
+ var Dr = class extends Error {
1682
1682
  constructor() {
1683
1683
  super(
1684
1684
  "An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."
1685
1685
  );
1686
1686
  }
1687
- }, jr = class extends Error {
1687
+ }, $r = class extends Error {
1688
1688
  constructor() {
1689
1689
  super("SkipAnimationSignal");
1690
1690
  }
1691
- }, It = (e) => e instanceof Gt, rs = 1, Gt = class extends Zr {
1691
+ }, Vt = (e) => e instanceof Kt, ls = 1, Kt = class extends nn {
1692
1692
  constructor() {
1693
- super(...arguments), this.id = rs++, this._priority = 0;
1693
+ super(...arguments), this.id = ls++, this._priority = 0;
1694
1694
  }
1695
1695
  get priority() {
1696
1696
  return this._priority;
@@ -1700,16 +1700,16 @@ var Fr = class extends Error {
1700
1700
  }
1701
1701
  /** Get the current value */
1702
1702
  get() {
1703
- const e = H(this);
1703
+ const e = J(this);
1704
1704
  return e && e.getValue();
1705
1705
  }
1706
1706
  /** Create a spring that maps our value to another value */
1707
1707
  to(...e) {
1708
- return G.to(this, e);
1708
+ return H.to(this, e);
1709
1709
  }
1710
1710
  /** @deprecated Use the `to` method instead. */
1711
1711
  interpolate(...e) {
1712
- return Ii(), G.to(this, e);
1712
+ return Ui(), H.to(this, e);
1713
1713
  }
1714
1714
  toJSON() {
1715
1715
  return this.get();
@@ -1728,7 +1728,7 @@ var Fr = class extends Error {
1728
1728
  }
1729
1729
  /** Tell our children about our new value */
1730
1730
  _onChange(e, t = !1) {
1731
- je(this, {
1731
+ Ve(this, {
1732
1732
  type: "change",
1733
1733
  parent: this,
1734
1734
  value: e,
@@ -1737,15 +1737,15 @@ var Fr = class extends Error {
1737
1737
  }
1738
1738
  /** Tell our children about our new priority */
1739
1739
  _onPriorityChange(e) {
1740
- this.idle || st.sort(this), je(this, {
1740
+ this.idle || ut.sort(this), Ve(this, {
1741
1741
  type: "priority",
1742
1742
  parent: this,
1743
1743
  priority: e
1744
1744
  });
1745
1745
  }
1746
- }, fe = Symbol.for("SpringPhase"), pn = 1, vn = 2, gn = 4, St = (e) => (e[fe] & pn) > 0, ne = (e) => (e[fe] & vn) > 0, Ee = (e) => (e[fe] & gn) > 0, Vr = (e, t) => t ? e[fe] |= vn | pn : e[fe] &= -3, Dr = (e, t) => t ? e[fe] |= gn : e[fe] &= -5, ns = class extends Gt {
1746
+ }, de = Symbol.for("SpringPhase"), bn = 1, _n = 2, wn = 4, xt = (e) => (e[de] & bn) > 0, ie = (e) => (e[de] & _n) > 0, Ee = (e) => (e[de] & wn) > 0, Nr = (e, t) => t ? e[de] |= _n | bn : e[de] &= -3, Ur = (e, t) => t ? e[de] |= wn : e[de] &= -5, cs = class extends Kt {
1747
1747
  constructor(e, t) {
1748
- if (super(), this.animation = new ts(), this.defaultProps = {}, this._state = {
1748
+ if (super(), this.animation = new us(), this.defaultProps = {}, this._state = {
1749
1749
  paused: !1,
1750
1750
  delayed: !1,
1751
1751
  pauseQueue: /* @__PURE__ */ new Set(),
@@ -1758,27 +1758,27 @@ var Fr = class extends Error {
1758
1758
  }
1759
1759
  /** Equals true when not advancing on each frame. */
1760
1760
  get idle() {
1761
- return !(ne(this) || this._state.asyncTo) || Ee(this);
1761
+ return !(ie(this) || this._state.asyncTo) || Ee(this);
1762
1762
  }
1763
1763
  get goal() {
1764
1764
  return q(this.animation.to);
1765
1765
  }
1766
1766
  get velocity() {
1767
- const e = H(this);
1768
- return e instanceof ze ? e.lastVelocity || 0 : e.getPayload().map((t) => t.lastVelocity || 0);
1767
+ const e = J(this);
1768
+ return e instanceof We ? e.lastVelocity || 0 : e.getPayload().map((t) => t.lastVelocity || 0);
1769
1769
  }
1770
1770
  /**
1771
1771
  * When true, this value has been animated at least once.
1772
1772
  */
1773
1773
  get hasAnimated() {
1774
- return St(this);
1774
+ return xt(this);
1775
1775
  }
1776
1776
  /**
1777
1777
  * When true, this value has an unfinished animation,
1778
1778
  * which is either active or paused.
1779
1779
  */
1780
1780
  get isAnimating() {
1781
- return ne(this);
1781
+ return ie(this);
1782
1782
  }
1783
1783
  /**
1784
1784
  * When true, all current and future animations are paused.
@@ -1798,56 +1798,56 @@ var Fr = class extends Error {
1798
1798
  let t = !0, r = !1;
1799
1799
  const n = this.animation;
1800
1800
  let { toValues: s } = n;
1801
- const { config: a } = n, o = lt(n.to);
1802
- !o && W(n.to) && (s = L(q(n.to))), n.values.forEach((u, m) => {
1803
- if (u.done)
1801
+ const { config: a } = n, o = dt(n.to);
1802
+ !o && W(n.to) && (s = M(q(n.to))), n.values.forEach((l, m) => {
1803
+ if (l.done)
1804
1804
  return;
1805
1805
  const p = (
1806
1806
  // Animated strings always go from 0 to 1.
1807
- u.constructor == $e ? 1 : o ? o[m].lastPosition : s[m]
1807
+ l.constructor == Ne ? 1 : o ? o[m].lastPosition : s[m]
1808
1808
  );
1809
1809
  let v = n.immediate, g = p;
1810
1810
  if (!v) {
1811
- if (g = u.lastPosition, a.tension <= 0) {
1812
- u.done = !0;
1811
+ if (g = l.lastPosition, a.tension <= 0) {
1812
+ l.done = !0;
1813
1813
  return;
1814
1814
  }
1815
- let _ = u.elapsedTime += e;
1816
- const R = n.fromValues[m], x = u.v0 != null ? u.v0 : u.v0 = f.arr(a.velocity) ? a.velocity[m] : a.velocity;
1815
+ let _ = l.elapsedTime += e;
1816
+ const R = n.fromValues[m], E = l.v0 != null ? l.v0 : l.v0 = f.arr(a.velocity) ? a.velocity[m] : a.velocity;
1817
1817
  let y;
1818
1818
  const b = a.precision || (R == p ? 5e-3 : Math.min(1, Math.abs(p - R) * 1e-3));
1819
1819
  if (f.und(a.duration))
1820
1820
  if (a.decay) {
1821
- const S = a.decay === !0 ? 0.998 : a.decay, k = Math.exp(-(1 - S) * _);
1822
- g = R + x / (1 - S) * (1 - k), v = Math.abs(u.lastPosition - g) <= b, y = x * k;
1821
+ const S = a.decay === !0 ? 0.998 : a.decay, T = Math.exp(-(1 - S) * _);
1822
+ g = R + E / (1 - S) * (1 - T), v = Math.abs(l.lastPosition - g) <= b, y = E * T;
1823
1823
  } else {
1824
- y = u.lastVelocity == null ? x : u.lastVelocity;
1825
- const S = a.restVelocity || b / 10, k = a.clamp ? 0 : a.bounce, j = !f.und(k), X = R == p ? u.v0 > 0 : R < p;
1826
- let U, de = !1;
1827
- const V = 1, oe = Math.ceil(e / V);
1828
- for (let M = 0; M < oe && (U = Math.abs(y) > S, !(!U && (v = Math.abs(p - g) <= b, v))); ++M) {
1829
- j && (de = g == p || g > p == X, de && (y = -y * k, g = p));
1824
+ y = l.lastVelocity == null ? E : l.lastVelocity;
1825
+ const S = a.restVelocity || b / 10, T = a.clamp ? 0 : a.bounce, F = !f.und(T), X = R == p ? l.v0 > 0 : R < p;
1826
+ let N, he = !1;
1827
+ const V = 1, ue = Math.ceil(e / V);
1828
+ for (let z = 0; z < ue && (N = Math.abs(y) > S, !(!N && (v = Math.abs(p - g) <= b, v))); ++z) {
1829
+ F && (he = g == p || g > p == X, he && (y = -y * T, g = p));
1830
1830
  const Z = -a.tension * 1e-6 * (g - p), D = -a.friction * 1e-3 * y, ee = (Z + D) / a.mass;
1831
1831
  y = y + ee * V, g = g + y * V;
1832
1832
  }
1833
1833
  }
1834
1834
  else {
1835
1835
  let S = 1;
1836
- a.duration > 0 && (this._memoizedDuration !== a.duration && (this._memoizedDuration = a.duration, u.durationProgress > 0 && (u.elapsedTime = a.duration * u.durationProgress, _ = u.elapsedTime += e)), S = (a.progress || 0) + _ / this._memoizedDuration, S = S > 1 ? 1 : S < 0 ? 0 : S, u.durationProgress = S), g = R + a.easing(S) * (p - R), y = (g - u.lastPosition) / e, v = S == 1;
1836
+ a.duration > 0 && (this._memoizedDuration !== a.duration && (this._memoizedDuration = a.duration, l.durationProgress > 0 && (l.elapsedTime = a.duration * l.durationProgress, _ = l.elapsedTime += e)), S = (a.progress || 0) + _ / this._memoizedDuration, S = S > 1 ? 1 : S < 0 ? 0 : S, l.durationProgress = S), g = R + a.easing(S) * (p - R), y = (g - l.lastPosition) / e, v = S == 1;
1837
1837
  }
1838
- u.lastVelocity = y, Number.isNaN(g) && (console.warn("Got NaN while animating:", this), v = !0);
1838
+ l.lastVelocity = y, Number.isNaN(g) && (console.warn("Got NaN while animating:", this), v = !0);
1839
1839
  }
1840
- o && !o[m].done && (v = !1), v ? u.done = !0 : t = !1, u.setValue(g, a.round) && (r = !0);
1840
+ o && !o[m].done && (v = !1), v ? l.done = !0 : t = !1, l.setValue(g, a.round) && (r = !0);
1841
1841
  });
1842
- const l = H(this), d = l.getValue();
1842
+ const u = J(this), d = u.getValue();
1843
1843
  if (t) {
1844
- const u = q(n.to);
1845
- (d !== u || r) && !a.decay ? (l.setValue(u), this._onChange(u)) : r && a.decay && this._onChange(d), this._stop();
1844
+ const l = q(n.to);
1845
+ (d !== l || r) && !a.decay ? (u.setValue(l), this._onChange(l)) : r && a.decay && this._onChange(d), this._stop();
1846
1846
  } else r && this._onChange(d);
1847
1847
  }
1848
1848
  /** Set the current value, while stopping the current animation */
1849
1849
  set(e) {
1850
- return E.batchedUpdates(() => {
1850
+ return P.batchedUpdates(() => {
1851
1851
  this._stop(), this._focus(e), this._set(e);
1852
1852
  }), this;
1853
1853
  }
@@ -1864,9 +1864,9 @@ var Fr = class extends Error {
1864
1864
  }
1865
1865
  /** Skip to the end of the current animation. */
1866
1866
  finish() {
1867
- if (ne(this)) {
1867
+ if (ie(this)) {
1868
1868
  const { to: e, config: t } = this.animation;
1869
- E.batchedUpdates(() => {
1869
+ P.batchedUpdates(() => {
1870
1870
  this._onStart(), t.decay || this._set(e, !1), this._stop();
1871
1871
  });
1872
1872
  }
@@ -1880,7 +1880,7 @@ var Fr = class extends Error {
1880
1880
  let r;
1881
1881
  return f.und(e) ? (r = this.queue || [], this.queue = []) : r = [f.obj(e) ? e : { ...t, to: e }], Promise.all(
1882
1882
  r.map((n) => this._update(n))
1883
- ).then((n) => Qt(this, n));
1883
+ ).then((n) => Jt(this, n));
1884
1884
  }
1885
1885
  /**
1886
1886
  * Stop the current animation, and cancel any delayed updates.
@@ -1889,7 +1889,7 @@ var Fr = class extends Error {
1889
1889
  */
1890
1890
  stop(e) {
1891
1891
  const { to: t } = this.animation;
1892
- return this._focus(this.get()), Ne(this._state, e && this._lastCallId), E.batchedUpdates(() => this._stop(t, e)), this;
1892
+ return this._focus(this.get()), qe(this._state, e && this._lastCallId), P.batchedUpdates(() => this._stop(t, e)), this;
1893
1893
  }
1894
1894
  /** Restart the animation. */
1895
1895
  reset() {
@@ -1908,45 +1908,45 @@ var Fr = class extends Error {
1908
1908
  _prepareNode(e) {
1909
1909
  const t = this.key || "";
1910
1910
  let { to: r, from: n } = e;
1911
- r = f.obj(r) ? r[t] : r, (r == null || kt(r)) && (r = void 0), n = f.obj(n) ? n[t] : n, n == null && (n = void 0);
1911
+ r = f.obj(r) ? r[t] : r, (r == null || It(r)) && (r = void 0), n = f.obj(n) ? n[t] : n, n == null && (n = void 0);
1912
1912
  const s = { to: r, from: n };
1913
- return St(this) || (e.reverse && ([r, n] = [n, r]), n = q(n), f.und(n) ? H(this) || this._set(r) : this._set(n)), s;
1913
+ return xt(this) || (e.reverse && ([r, n] = [n, r]), n = q(n), f.und(n) ? J(this) || this._set(r) : this._set(n)), s;
1914
1914
  }
1915
1915
  /** Every update is processed by this method before merging. */
1916
1916
  _update({ ...e }, t) {
1917
1917
  const { key: r, defaultProps: n } = this;
1918
1918
  e.default && Object.assign(
1919
1919
  n,
1920
- Yt(
1920
+ Ht(
1921
1921
  e,
1922
- (o, l) => /^on/.test(l) ? ln(o, r) : o
1922
+ (o, u) => /^on/.test(u) ? hn(o, r) : o
1923
1923
  )
1924
- ), Ur(this, e, "onProps"), Pe(this, "onProps", e, this);
1924
+ ), zr(this, e, "onProps"), Oe(this, "onProps", e, this);
1925
1925
  const s = this._prepareNode(e);
1926
1926
  if (Object.isFrozen(this))
1927
1927
  throw Error(
1928
1928
  "Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?"
1929
1929
  );
1930
1930
  const a = this._state;
1931
- return dn(++this._lastCallId, {
1931
+ return vn(++this._lastCallId, {
1932
1932
  key: r,
1933
1933
  props: e,
1934
1934
  defaultProps: n,
1935
1935
  state: a,
1936
1936
  actions: {
1937
1937
  pause: () => {
1938
- Ee(this) || (Dr(this, !0), Ae(a.pauseQueue), Pe(
1938
+ Ee(this) || (Ur(this, !0), Ae(a.pauseQueue), Oe(
1939
1939
  this,
1940
1940
  "onPause",
1941
- Y(this, xe(this, this.animation.to)),
1941
+ Q(this, xe(this, this.animation.to)),
1942
1942
  this
1943
1943
  ));
1944
1944
  },
1945
1945
  resume: () => {
1946
- Ee(this) && (Dr(this, !1), ne(this) && this._resume(), Ae(a.resumeQueue), Pe(
1946
+ Ee(this) && (Ur(this, !1), ie(this) && this._resume(), Ae(a.resumeQueue), Oe(
1947
1947
  this,
1948
1948
  "onResume",
1949
- Y(this, xe(this, this.animation.to)),
1949
+ Q(this, xe(this, this.animation.to)),
1950
1950
  this
1951
1951
  ));
1952
1952
  },
@@ -1954,9 +1954,9 @@ var Fr = class extends Error {
1954
1954
  }
1955
1955
  }).then((o) => {
1956
1956
  if (e.loop && o.finished && !(t && o.noop)) {
1957
- const l = yn(e);
1958
- if (l)
1959
- return this._update(l, !0);
1957
+ const u = Rn(e);
1958
+ if (u)
1959
+ return this._update(u, !0);
1960
1960
  }
1961
1961
  return o;
1962
1962
  });
@@ -1964,76 +1964,76 @@ var Fr = class extends Error {
1964
1964
  /** Merge props into the current animation */
1965
1965
  _merge(e, t, r) {
1966
1966
  if (t.cancel)
1967
- return this.stop(!0), r(ge(this));
1967
+ return this.stop(!0), r(ye(this));
1968
1968
  const n = !f.und(e.to), s = !f.und(e.from);
1969
1969
  if (n || s)
1970
1970
  if (t.callId > this._lastToId)
1971
1971
  this._lastToId = t.callId;
1972
1972
  else
1973
- return r(ge(this));
1974
- const { key: a, defaultProps: o, animation: l } = this, { to: d, from: u } = l;
1975
- let { to: m = d, from: p = u } = e;
1973
+ return r(ye(this));
1974
+ const { key: a, defaultProps: o, animation: u } = this, { to: d, from: l } = u;
1975
+ let { to: m = d, from: p = l } = e;
1976
1976
  s && !n && (!t.default || f.und(m)) && (m = p), t.reverse && ([m, p] = [p, m]);
1977
- const v = !te(p, u);
1978
- v && (l.from = p), p = q(p);
1977
+ const v = !te(p, l);
1978
+ v && (u.from = p), p = q(p);
1979
1979
  const g = !te(m, d);
1980
1980
  g && this._focus(m);
1981
- const _ = kt(t.to), { config: R } = l, { decay: x, velocity: y } = R;
1982
- (n || s) && (R.velocity = 0), t.config && !_ && es(
1981
+ const _ = It(t.to), { config: R } = u, { decay: E, velocity: y } = R;
1982
+ (n || s) && (R.velocity = 0), t.config && !_ && os(
1983
1983
  R,
1984
- le(t.config, a),
1984
+ ce(t.config, a),
1985
1985
  // Avoid calling the same "config" prop twice.
1986
- t.config !== o.config ? le(o.config, a) : void 0
1986
+ t.config !== o.config ? ce(o.config, a) : void 0
1987
1987
  );
1988
- let b = H(this);
1988
+ let b = J(this);
1989
1989
  if (!b || f.und(m))
1990
- return r(Y(this, !0));
1990
+ return r(Q(this, !0));
1991
1991
  const S = (
1992
1992
  // When `reset` is undefined, the `from` prop implies `reset: true`,
1993
1993
  // except for declarative updates. When `reset` is defined, there
1994
1994
  // must exist a value to animate from.
1995
- f.und(t.reset) ? s && !t.default : !f.und(p) && ke(t.reset, a)
1996
- ), k = S ? p : this.get(), j = Ue(m), X = f.num(j) || f.arr(j) || ut(j), U = !_ && (!X || ke(o.immediate || t.immediate, a));
1995
+ f.und(t.reset) ? s && !t.default : !f.und(p) && je(t.reset, a)
1996
+ ), T = S ? p : this.get(), F = Ue(m), X = f.num(F) || f.arr(F) || ft(F), N = !_ && (!X || je(o.immediate || t.immediate, a));
1997
1997
  if (g) {
1998
- const M = Ct(m);
1999
- if (M !== b.constructor)
2000
- if (U)
2001
- b = this._set(j);
1998
+ const z = kt(m);
1999
+ if (z !== b.constructor)
2000
+ if (N)
2001
+ b = this._set(F);
2002
2002
  else
2003
2003
  throw Error(
2004
- `Cannot animate between ${b.constructor.name} and ${M.name}, as the "to" prop suggests`
2004
+ `Cannot animate between ${b.constructor.name} and ${z.name}, as the "to" prop suggests`
2005
2005
  );
2006
2006
  }
2007
- const de = b.constructor;
2008
- let V = W(m), oe = !1;
2007
+ const he = b.constructor;
2008
+ let V = W(m), ue = !1;
2009
2009
  if (!V) {
2010
- const M = S || !St(this) && v;
2011
- (g || M) && (oe = te(Ue(k), j), V = !oe), (!te(l.immediate, U) && !U || !te(R.decay, x) || !te(R.velocity, y)) && (V = !0);
2012
- }
2013
- if (oe && ne(this) && (l.changed && !S ? V = !0 : V || this._stop(d)), !_ && ((V || W(d)) && (l.values = b.getPayload(), l.toValues = W(m) ? null : de == $e ? [1] : L(j)), l.immediate != U && (l.immediate = U, !U && !S && this._set(d)), V)) {
2014
- const { onRest: M } = l;
2015
- A(ss, (D) => Ur(this, t, D));
2016
- const Z = Y(this, xe(this, d));
2017
- Ae(this._pendingCalls, Z), this._pendingCalls.add(r), l.changed && E.batchedUpdates(() => {
2010
+ const z = S || !xt(this) && v;
2011
+ (g || z) && (ue = te(Ue(T), F), V = !ue), (!te(u.immediate, N) && !N || !te(R.decay, E) || !te(R.velocity, y)) && (V = !0);
2012
+ }
2013
+ if (ue && ie(this) && (u.changed && !S ? V = !0 : V || this._stop(d)), !_ && ((V || W(d)) && (u.values = b.getPayload(), u.toValues = W(m) ? null : he == Ne ? [1] : M(F)), u.immediate != N && (u.immediate = N, !N && !S && this._set(d)), V)) {
2014
+ const { onRest: z } = u;
2015
+ O(ds, (D) => zr(this, t, D));
2016
+ const Z = Q(this, xe(this, d));
2017
+ Ae(this._pendingCalls, Z), this._pendingCalls.add(r), u.changed && P.batchedUpdates(() => {
2018
2018
  var D;
2019
- l.changed = !S, M == null || M(Z, this), S ? le(o.onRest, Z) : (D = l.onStart) == null || D.call(l, Z, this);
2019
+ u.changed = !S, z == null || z(Z, this), S ? ce(o.onRest, Z) : (D = u.onStart) == null || D.call(u, Z, this);
2020
2020
  });
2021
2021
  }
2022
- S && this._set(k), _ ? r(mn(t.to, t, this._state, this)) : V ? this._start() : ne(this) && !g ? this._pendingCalls.add(r) : r(hn(k));
2022
+ S && this._set(T), _ ? r(yn(t.to, t, this._state, this)) : V ? this._start() : ie(this) && !g ? this._pendingCalls.add(r) : r(gn(T));
2023
2023
  }
2024
2024
  /** Update the `animation.to` value, which might be a `FluidValue` */
2025
2025
  _focus(e) {
2026
2026
  const t = this.animation;
2027
- e !== t.to && (xr(this) && this._detach(), t.to = e, xr(this) && this._attach());
2027
+ e !== t.to && (Ar(this) && this._detach(), t.to = e, Ar(this) && this._attach());
2028
2028
  }
2029
2029
  _attach() {
2030
2030
  let e = 0;
2031
2031
  const { to: t } = this.animation;
2032
- W(t) && (be(t, this), It(t) && (e = t.priority + 1)), this.priority = e;
2032
+ W(t) && (_e(t, this), Vt(t) && (e = t.priority + 1)), this.priority = e;
2033
2033
  }
2034
2034
  _detach() {
2035
2035
  const { to: e } = this.animation;
2036
- W(e) && Ve(e, this);
2036
+ W(e) && De(e, this);
2037
2037
  }
2038
2038
  /**
2039
2039
  * Update the current value from outside the frameloop,
@@ -2042,37 +2042,37 @@ var Fr = class extends Error {
2042
2042
  _set(e, t = !0) {
2043
2043
  const r = q(e);
2044
2044
  if (!f.und(r)) {
2045
- const n = H(this);
2045
+ const n = J(this);
2046
2046
  if (!n || !te(r, n.getValue())) {
2047
- const s = Ct(r);
2048
- !n || n.constructor != s ? Bt(this, s.create(r)) : n.setValue(r), n && E.batchedUpdates(() => {
2047
+ const s = kt(r);
2048
+ !n || n.constructor != s ? Gt(this, s.create(r)) : n.setValue(r), n && P.batchedUpdates(() => {
2049
2049
  this._onChange(r, t);
2050
2050
  });
2051
2051
  }
2052
2052
  }
2053
- return H(this);
2053
+ return J(this);
2054
2054
  }
2055
2055
  _onStart() {
2056
2056
  const e = this.animation;
2057
- e.changed || (e.changed = !0, Pe(
2057
+ e.changed || (e.changed = !0, Oe(
2058
2058
  this,
2059
2059
  "onStart",
2060
- Y(this, xe(this, e.to)),
2060
+ Q(this, xe(this, e.to)),
2061
2061
  this
2062
2062
  ));
2063
2063
  }
2064
2064
  _onChange(e, t) {
2065
- t || (this._onStart(), le(this.animation.onChange, e, this)), le(this.defaultProps.onChange, e, this), super._onChange(e, t);
2065
+ t || (this._onStart(), ce(this.animation.onChange, e, this)), ce(this.defaultProps.onChange, e, this), super._onChange(e, t);
2066
2066
  }
2067
2067
  // This method resets the animation state (even if already animating) to
2068
2068
  // ensure the latest from/to range is used, and it also ensures this spring
2069
2069
  // is added to the frameloop.
2070
2070
  _start() {
2071
2071
  const e = this.animation;
2072
- H(this).reset(q(e.to)), e.immediate || (e.fromValues = e.values.map((t) => t.lastPosition)), ne(this) || (Vr(this, !0), Ee(this) || this._resume());
2072
+ J(this).reset(q(e.to)), e.immediate || (e.fromValues = e.values.map((t) => t.lastPosition)), ie(this) || (Nr(this, !0), Ee(this) || this._resume());
2073
2073
  }
2074
2074
  _resume() {
2075
- G.skipAnimation ? this.finish() : st.start(this);
2075
+ H.skipAnimation ? this.finish() : ut.start(this);
2076
2076
  }
2077
2077
  /**
2078
2078
  * Exit the frameloop and notify `onRest` listeners.
@@ -2080,17 +2080,17 @@ var Fr = class extends Error {
2080
2080
  * Always wrap `_stop` calls with `batchedUpdates`.
2081
2081
  */
2082
2082
  _stop(e, t) {
2083
- if (ne(this)) {
2084
- Vr(this, !1);
2083
+ if (ie(this)) {
2084
+ Nr(this, !1);
2085
2085
  const r = this.animation;
2086
- A(r.values, (s) => {
2086
+ O(r.values, (s) => {
2087
2087
  s.done = !0;
2088
- }), r.toValues && (r.onChange = r.onPause = r.onResume = void 0), je(this, {
2088
+ }), r.toValues && (r.onChange = r.onPause = r.onResume = void 0), Ve(this, {
2089
2089
  type: "idle",
2090
2090
  parent: this
2091
2091
  });
2092
- const n = t ? ge(this.get()) : Y(this.get(), xe(this, e ?? r.to));
2093
- Ae(this._pendingCalls, n), r.changed && (r.changed = !1, Pe(this, "onRest", n, this));
2092
+ const n = t ? ye(this.get()) : Q(this.get(), xe(this, e ?? r.to));
2093
+ Ae(this._pendingCalls, n), r.changed && (r.changed = !1, Oe(this, "onRest", n, this));
2094
2094
  }
2095
2095
  }
2096
2096
  };
@@ -2098,11 +2098,11 @@ function xe(e, t) {
2098
2098
  const r = Ue(t), n = Ue(e.get());
2099
2099
  return te(n, r);
2100
2100
  }
2101
- function yn(e, t = e.loop, r = e.to) {
2102
- const n = le(t);
2101
+ function Rn(e, t = e.loop, r = e.to) {
2102
+ const n = ce(t);
2103
2103
  if (n) {
2104
- const s = n !== !0 && fn(n), a = (s || e).reverse, o = !s || s.reset;
2105
- return qe({
2104
+ const s = n !== !0 && pn(n), a = (s || e).reverse, o = !s || s.reset;
2105
+ return ze({
2106
2106
  ...e,
2107
2107
  loop: t,
2108
2108
  // Avoid updating default props when looping.
@@ -2112,7 +2112,7 @@ function yn(e, t = e.loop, r = e.to) {
2112
2112
  // For the "reverse" prop to loop as expected, the "to" prop
2113
2113
  // must be undefined. The "reverse" prop is ignored when the
2114
2114
  // "to" prop is an array or function.
2115
- to: !a || kt(r) ? r : void 0,
2115
+ to: !a || It(r) ? r : void 0,
2116
2116
  // Ignore the "from" prop except on reset.
2117
2117
  from: o ? e.from : void 0,
2118
2118
  reset: o,
@@ -2122,34 +2122,34 @@ function yn(e, t = e.loop, r = e.to) {
2122
2122
  });
2123
2123
  }
2124
2124
  }
2125
- function qe(e) {
2126
- const { to: t, from: r } = e = fn(e), n = /* @__PURE__ */ new Set();
2127
- return f.obj(t) && $r(t, n), f.obj(r) && $r(r, n), e.keys = n.size ? Array.from(n) : null, e;
2125
+ function ze(e) {
2126
+ const { to: t, from: r } = e = pn(e), n = /* @__PURE__ */ new Set();
2127
+ return f.obj(t) && qr(t, n), f.obj(r) && qr(r, n), e.keys = n.size ? Array.from(n) : null, e;
2128
2128
  }
2129
- function is(e) {
2130
- const t = qe(e);
2131
- return f.und(t.default) && (t.default = Yt(t)), t;
2129
+ function fs(e) {
2130
+ const t = ze(e);
2131
+ return f.und(t.default) && (t.default = Ht(t)), t;
2132
2132
  }
2133
- function $r(e, t) {
2133
+ function qr(e, t) {
2134
2134
  K(e, (r, n) => r != null && t.add(n));
2135
2135
  }
2136
- var ss = [
2136
+ var ds = [
2137
2137
  "onStart",
2138
2138
  "onRest",
2139
2139
  "onChange",
2140
2140
  "onPause",
2141
2141
  "onResume"
2142
2142
  ];
2143
- function Ur(e, t, r) {
2144
- e.animation[r] = t[r] !== cn(t, r) ? ln(t[r], e.key) : void 0;
2143
+ function zr(e, t, r) {
2144
+ e.animation[r] = t[r] !== mn(t, r) ? hn(t[r], e.key) : void 0;
2145
2145
  }
2146
- function Pe(e, t, ...r) {
2146
+ function Oe(e, t, ...r) {
2147
2147
  var n, s, a, o;
2148
2148
  (s = (n = e.animation)[t]) == null || s.call(n, ...r), (o = (a = e.defaultProps)[t]) == null || o.call(a, ...r);
2149
2149
  }
2150
- var as = ["onStart", "onChange", "onRest"], os = 1, us = class {
2150
+ var hs = ["onStart", "onChange", "onRest"], ms = 1, ps = class {
2151
2151
  constructor(e, t) {
2152
- this.id = os++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
2152
+ this.id = ms++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
2153
2153
  paused: !1,
2154
2154
  pauseQueue: /* @__PURE__ */ new Set(),
2155
2155
  resumeQueue: /* @__PURE__ */ new Set(),
@@ -2187,7 +2187,7 @@ var as = ["onStart", "onChange", "onRest"], os = 1, us = class {
2187
2187
  }
2188
2188
  /** Push an update onto the queue of each value. */
2189
2189
  update(e) {
2190
- return e && this.queue.push(qe(e)), this;
2190
+ return e && this.queue.push(ze(e)), this;
2191
2191
  }
2192
2192
  /**
2193
2193
  * Start the queued animations for every spring, and resolve the returned
@@ -2198,15 +2198,15 @@ var as = ["onStart", "onChange", "onRest"], os = 1, us = class {
2198
2198
  */
2199
2199
  start(e) {
2200
2200
  let { queue: t } = this;
2201
- return e ? t = L(e).map(qe) : this.queue = [], this._flush ? this._flush(this, t) : (Sn(this, t), Ft(this, t));
2201
+ return e ? t = M(e).map(ze) : this.queue = [], this._flush ? this._flush(this, t) : (On(this, t), Dt(this, t));
2202
2202
  }
2203
2203
  /** @internal */
2204
2204
  stop(e, t) {
2205
2205
  if (e !== !!e && (t = e), t) {
2206
2206
  const r = this.springs;
2207
- A(L(t), (n) => r[n].stop(!!e));
2207
+ O(M(t), (n) => r[n].stop(!!e));
2208
2208
  } else
2209
- Ne(this._state, this._lastAsyncId), this.each((r) => r.stop(!!e));
2209
+ qe(this._state, this._lastAsyncId), this.each((r) => r.stop(!!e));
2210
2210
  return this;
2211
2211
  }
2212
2212
  /** Freeze the active animation in time */
@@ -2215,7 +2215,7 @@ var as = ["onStart", "onChange", "onRest"], os = 1, us = class {
2215
2215
  this.start({ pause: !0 });
2216
2216
  else {
2217
2217
  const t = this.springs;
2218
- A(L(e), (r) => t[r].pause());
2218
+ O(M(e), (r) => t[r].pause());
2219
2219
  }
2220
2220
  return this;
2221
2221
  }
@@ -2225,7 +2225,7 @@ var as = ["onStart", "onChange", "onRest"], os = 1, us = class {
2225
2225
  this.start({ pause: !1 });
2226
2226
  else {
2227
2227
  const t = this.springs;
2228
- A(L(e), (r) => t[r].resume());
2228
+ O(M(e), (r) => t[r].resume());
2229
2229
  }
2230
2230
  return this;
2231
2231
  }
@@ -2236,14 +2236,14 @@ var as = ["onStart", "onChange", "onRest"], os = 1, us = class {
2236
2236
  /** @internal Called at the end of every animation frame */
2237
2237
  _onFrame() {
2238
2238
  const { onStart: e, onChange: t, onRest: r } = this._events, n = this._active.size > 0, s = this._changed.size > 0;
2239
- (n && !this._started || s && !this._started) && (this._started = !0, Te(e, ([l, d]) => {
2240
- d.value = this.get(), l(d, this, this._item);
2239
+ (n && !this._started || s && !this._started) && (this._started = !0, Ce(e, ([u, d]) => {
2240
+ d.value = this.get(), u(d, this, this._item);
2241
2241
  }));
2242
2242
  const a = !n && this._started, o = s || a && r.size ? this.get() : null;
2243
- s && t.size && Te(t, ([l, d]) => {
2244
- d.value = o, l(d, this, this._item);
2245
- }), a && (this._started = !1, Te(r, ([l, d]) => {
2246
- d.value = o, l(d, this, this._item);
2243
+ s && t.size && Ce(t, ([u, d]) => {
2244
+ d.value = o, u(d, this, this._item);
2245
+ }), a && (this._started = !1, Ce(r, ([u, d]) => {
2246
+ d.value = o, u(d, this, this._item);
2247
2247
  }));
2248
2248
  }
2249
2249
  /** @internal */
@@ -2254,47 +2254,47 @@ var as = ["onStart", "onChange", "onRest"], os = 1, us = class {
2254
2254
  this._active.delete(e.parent);
2255
2255
  else
2256
2256
  return;
2257
- E.onFrame(this._onFrame);
2257
+ P.onFrame(this._onFrame);
2258
2258
  }
2259
2259
  };
2260
- function Ft(e, t) {
2261
- return Promise.all(t.map((r) => bn(e, r))).then(
2262
- (r) => Qt(e, r)
2260
+ function Dt(e, t) {
2261
+ return Promise.all(t.map((r) => Sn(e, r))).then(
2262
+ (r) => Jt(e, r)
2263
2263
  );
2264
2264
  }
2265
- async function bn(e, t, r) {
2266
- const { keys: n, to: s, from: a, loop: o, onRest: l, onResolve: d } = t, u = f.obj(t.default) && t.default;
2265
+ async function Sn(e, t, r) {
2266
+ const { keys: n, to: s, from: a, loop: o, onRest: u, onResolve: d } = t, l = f.obj(t.default) && t.default;
2267
2267
  o && (t.loop = !1), s === !1 && (t.to = null), a === !1 && (t.from = null);
2268
2268
  const m = f.arr(s) || f.fun(s) ? s : void 0;
2269
- m ? (t.to = void 0, t.onRest = void 0, u && (u.onRest = void 0)) : A(as, (R) => {
2270
- const x = t[R];
2271
- if (f.fun(x)) {
2269
+ m ? (t.to = void 0, t.onRest = void 0, l && (l.onRest = void 0)) : O(hs, (R) => {
2270
+ const E = t[R];
2271
+ if (f.fun(E)) {
2272
2272
  const y = e._events[R];
2273
2273
  t[R] = ({ finished: b, cancelled: S }) => {
2274
- const k = y.get(x);
2275
- k ? (b || (k.finished = !1), S && (k.cancelled = !0)) : y.set(x, {
2274
+ const T = y.get(E);
2275
+ T ? (b || (T.finished = !1), S && (T.cancelled = !0)) : y.set(E, {
2276
2276
  value: null,
2277
2277
  finished: b || !1,
2278
2278
  cancelled: S || !1
2279
2279
  });
2280
- }, u && (u[R] = t[R]);
2280
+ }, l && (l[R] = t[R]);
2281
2281
  }
2282
2282
  });
2283
2283
  const p = e._state;
2284
2284
  t.pause === !p.paused ? (p.paused = t.pause, Ae(t.pause ? p.pauseQueue : p.resumeQueue)) : p.paused && (t.pause = !0);
2285
2285
  const v = (n || Object.keys(e.springs)).map(
2286
2286
  (R) => e.springs[R].start(t)
2287
- ), g = t.cancel === !0 || cn(t, "cancel") === !0;
2287
+ ), g = t.cancel === !0 || mn(t, "cancel") === !0;
2288
2288
  (m || g && p.asyncId) && v.push(
2289
- dn(++e._lastAsyncId, {
2289
+ vn(++e._lastAsyncId, {
2290
2290
  props: t,
2291
2291
  state: p,
2292
2292
  actions: {
2293
- pause: At,
2294
- resume: At,
2295
- start(R, x) {
2296
- g ? (Ne(p, e._lastAsyncId), x(ge(e))) : (R.onRest = l, x(
2297
- mn(
2293
+ pause: Tt,
2294
+ resume: Tt,
2295
+ start(R, E) {
2296
+ g ? (qe(p, e._lastAsyncId), E(ye(e))) : (R.onRest = u, E(
2297
+ yn(
2298
2298
  m,
2299
2299
  R,
2300
2300
  p,
@@ -2307,63 +2307,63 @@ async function bn(e, t, r) {
2307
2307
  ), p.paused && await new Promise((R) => {
2308
2308
  p.resumeQueue.add(R);
2309
2309
  });
2310
- const _ = Qt(e, await Promise.all(v));
2310
+ const _ = Jt(e, await Promise.all(v));
2311
2311
  if (o && _.finished && !(r && _.noop)) {
2312
- const R = yn(t, o, s);
2312
+ const R = Rn(t, o, s);
2313
2313
  if (R)
2314
- return Sn(e, [R]), bn(e, R, !0);
2314
+ return On(e, [R]), Sn(e, R, !0);
2315
2315
  }
2316
- return d && E.batchedUpdates(() => d(_, e, e.item)), _;
2316
+ return d && P.batchedUpdates(() => d(_, e, e.item)), _;
2317
2317
  }
2318
- function Nr(e, t) {
2318
+ function Mr(e, t) {
2319
2319
  const r = { ...e.springs };
2320
- return t && A(L(t), (n) => {
2321
- f.und(n.keys) && (n = qe(n)), f.obj(n.to) || (n = { ...n, to: void 0 }), Rn(r, n, (s) => wn(s));
2322
- }), _n(e, r), r;
2320
+ return t && O(M(t), (n) => {
2321
+ f.und(n.keys) && (n = ze(n)), f.obj(n.to) || (n = { ...n, to: void 0 }), xn(r, n, (s) => En(s));
2322
+ }), Pn(e, r), r;
2323
2323
  }
2324
- function _n(e, t) {
2324
+ function Pn(e, t) {
2325
2325
  K(t, (r, n) => {
2326
- e.springs[n] || (e.springs[n] = r, be(r, e));
2326
+ e.springs[n] || (e.springs[n] = r, _e(r, e));
2327
2327
  });
2328
2328
  }
2329
- function wn(e, t) {
2330
- const r = new ns();
2331
- return r.key = e, t && be(r, t), r;
2329
+ function En(e, t) {
2330
+ const r = new cs();
2331
+ return r.key = e, t && _e(r, t), r;
2332
2332
  }
2333
- function Rn(e, t, r) {
2334
- t.keys && A(t.keys, (n) => {
2333
+ function xn(e, t, r) {
2334
+ t.keys && O(t.keys, (n) => {
2335
2335
  (e[n] || (e[n] = r(n)))._prepareNode(t);
2336
2336
  });
2337
2337
  }
2338
- function Sn(e, t) {
2339
- A(t, (r) => {
2340
- Rn(e.springs, r, (n) => wn(n, e));
2338
+ function On(e, t) {
2339
+ O(t, (r) => {
2340
+ xn(e.springs, r, (n) => En(n, e));
2341
2341
  });
2342
2342
  }
2343
- var ft = ({
2343
+ var mt = ({
2344
2344
  children: e,
2345
2345
  ...t
2346
2346
  }) => {
2347
- const r = zr(nt), n = t.pause || !!r.pause, s = t.immediate || !!r.immediate;
2348
- t = Di(() => ({ pause: n, immediate: s }), [n, s]);
2349
- const { Provider: a } = nt;
2350
- return /* @__PURE__ */ jt.createElement(a, { value: t }, e);
2351
- }, nt = ls(ft, {});
2352
- ft.Provider = nt.Provider;
2353
- ft.Consumer = nt.Consumer;
2354
- function ls(e, t) {
2355
- return Object.assign(e, jt.createContext(t)), e.Provider._context = e, e.Consumer._context = e, e;
2356
- }
2357
- var cs = () => {
2347
+ const r = Qr(it), n = t.pause || !!r.pause, s = t.immediate || !!r.immediate;
2348
+ t = Li(() => ({ pause: n, immediate: s }), [n, s]);
2349
+ const { Provider: a } = it;
2350
+ return /* @__PURE__ */ $t.createElement(a, { value: t }, e);
2351
+ }, it = vs(mt, {});
2352
+ mt.Provider = it.Provider;
2353
+ mt.Consumer = it.Consumer;
2354
+ function vs(e, t) {
2355
+ return Object.assign(e, $t.createContext(t)), e.Provider._context = e, e.Consumer._context = e, e;
2356
+ }
2357
+ var gs = () => {
2358
2358
  const e = [], t = function(n) {
2359
- ji();
2359
+ zi();
2360
2360
  const s = [];
2361
- return A(e, (a, o) => {
2361
+ return O(e, (a, o) => {
2362
2362
  if (f.und(n))
2363
2363
  s.push(a.start());
2364
2364
  else {
2365
- const l = r(n, a, o);
2366
- l && s.push(a.start(l));
2365
+ const u = r(n, a, o);
2366
+ u && s.push(a.start(u));
2367
2367
  }
2368
2368
  }), s;
2369
2369
  };
@@ -2373,155 +2373,155 @@ var cs = () => {
2373
2373
  const s = e.indexOf(n);
2374
2374
  ~s && e.splice(s, 1);
2375
2375
  }, t.pause = function() {
2376
- return A(e, (n) => n.pause(...arguments)), this;
2376
+ return O(e, (n) => n.pause(...arguments)), this;
2377
2377
  }, t.resume = function() {
2378
- return A(e, (n) => n.resume(...arguments)), this;
2378
+ return O(e, (n) => n.resume(...arguments)), this;
2379
2379
  }, t.set = function(n) {
2380
- A(e, (s, a) => {
2380
+ O(e, (s, a) => {
2381
2381
  const o = f.fun(n) ? n(a, s) : n;
2382
2382
  o && s.set(o);
2383
2383
  });
2384
2384
  }, t.start = function(n) {
2385
2385
  const s = [];
2386
- return A(e, (a, o) => {
2386
+ return O(e, (a, o) => {
2387
2387
  if (f.und(n))
2388
2388
  s.push(a.start());
2389
2389
  else {
2390
- const l = this._getProps(n, a, o);
2391
- l && s.push(a.start(l));
2390
+ const u = this._getProps(n, a, o);
2391
+ u && s.push(a.start(u));
2392
2392
  }
2393
2393
  }), s;
2394
2394
  }, t.stop = function() {
2395
- return A(e, (n) => n.stop(...arguments)), this;
2395
+ return O(e, (n) => n.stop(...arguments)), this;
2396
2396
  }, t.update = function(n) {
2397
- return A(e, (s, a) => s.update(this._getProps(n, s, a))), this;
2397
+ return O(e, (s, a) => s.update(this._getProps(n, s, a))), this;
2398
2398
  };
2399
2399
  const r = function(n, s, a) {
2400
2400
  return f.fun(n) ? n(a, s) : n;
2401
2401
  };
2402
2402
  return t._getProps = r, t;
2403
2403
  };
2404
- function fs(e, t, r) {
2404
+ function ys(e, t, r) {
2405
2405
  const n = f.fun(t) && t;
2406
2406
  n && !r && (r = []);
2407
- const s = Ge(
2408
- () => n || arguments.length == 3 ? cs() : void 0,
2407
+ const s = He(
2408
+ () => n || arguments.length == 3 ? gs() : void 0,
2409
2409
  []
2410
- ), a = re(0), o = sn(), l = Ge(
2410
+ ), a = ne(0), o = ln(), u = He(
2411
2411
  () => ({
2412
2412
  ctrls: [],
2413
2413
  queue: [],
2414
2414
  flush(y, b) {
2415
- const S = Nr(y, b);
2416
- return a.current > 0 && !l.queue.length && !Object.keys(S).some((j) => !y.springs[j]) ? Ft(y, b) : new Promise((j) => {
2417
- _n(y, S), l.queue.push(() => {
2418
- j(Ft(y, b));
2415
+ const S = Mr(y, b);
2416
+ return a.current > 0 && !u.queue.length && !Object.keys(S).some((F) => !y.springs[F]) ? Dt(y, b) : new Promise((F) => {
2417
+ Pn(y, S), u.queue.push(() => {
2418
+ F(Dt(y, b));
2419
2419
  }), o();
2420
2420
  });
2421
2421
  }
2422
2422
  }),
2423
2423
  []
2424
- ), d = re([...l.ctrls]), u = [], m = Ar(e) || 0;
2425
- Ge(() => {
2426
- A(d.current.slice(e, m), (y) => {
2427
- Ji(y, s), y.stop(!0);
2424
+ ), d = ne([...u.ctrls]), l = [], m = Tr(e) || 0;
2425
+ He(() => {
2426
+ O(d.current.slice(e, m), (y) => {
2427
+ ns(y, s), y.stop(!0);
2428
2428
  }), d.current.length = e, p(m, e);
2429
- }, [e]), Ge(() => {
2429
+ }, [e]), He(() => {
2430
2430
  p(0, Math.min(m, e));
2431
2431
  }, r);
2432
2432
  function p(y, b) {
2433
2433
  for (let S = y; S < b; S++) {
2434
- const k = d.current[S] || (d.current[S] = new us(null, l.flush)), j = n ? n(S, k) : t[S];
2435
- j && (u[S] = is(j));
2434
+ const T = d.current[S] || (d.current[S] = new ps(null, u.flush)), F = n ? n(S, T) : t[S];
2435
+ F && (l[S] = fs(F));
2436
2436
  }
2437
2437
  }
2438
- const v = d.current.map((y, b) => Nr(y, u[b])), g = zr(ft), _ = Ar(g), R = g !== _ && Hi(g);
2439
- Wt(() => {
2440
- a.current++, l.ctrls = d.current;
2441
- const { queue: y } = l;
2442
- y.length && (l.queue = [], A(y, (b) => b())), A(d.current, (b, S) => {
2438
+ const v = d.current.map((y, b) => Mr(y, l[b])), g = Qr(mt), _ = Tr(g), R = g !== _ && rs(g);
2439
+ Qt(() => {
2440
+ a.current++, u.ctrls = d.current;
2441
+ const { queue: y } = u;
2442
+ y.length && (u.queue = [], O(y, (b) => b())), O(d.current, (b, S) => {
2443
2443
  s == null || s.add(b), R && b.start({ default: g });
2444
- const k = u[S];
2445
- k && (Ki(b, k.ref), b.ref ? b.queue.push(k) : b.start(k));
2444
+ const T = l[S];
2445
+ T && (is(b, T.ref), b.ref ? b.queue.push(T) : b.start(T));
2446
2446
  });
2447
- }), an(() => () => {
2448
- A(l.ctrls, (y) => y.stop(!0));
2447
+ }), cn(() => () => {
2448
+ O(u.ctrls, (y) => y.stop(!0));
2449
2449
  });
2450
- const x = v.map((y) => ({ ...y }));
2451
- return s ? [x, s] : x;
2450
+ const E = v.map((y) => ({ ...y }));
2451
+ return s ? [E, s] : E;
2452
2452
  }
2453
- function ds(e, t) {
2454
- const r = f.fun(e), [[n], s] = fs(
2453
+ function bs(e, t) {
2454
+ const r = f.fun(e), [[n], s] = ys(
2455
2455
  1,
2456
2456
  r ? e : [e],
2457
2457
  r ? [] : t
2458
2458
  );
2459
2459
  return r || arguments.length == 2 ? [n, s] : n;
2460
2460
  }
2461
- var hs = class extends Gt {
2461
+ var _s = class extends Kt {
2462
2462
  constructor(e, t) {
2463
2463
  super(), this.source = e, this.idle = !0, this._active = /* @__PURE__ */ new Set(), this.calc = Ie(...t);
2464
- const r = this._get(), n = Ct(r);
2465
- Bt(this, n.create(r));
2464
+ const r = this._get(), n = kt(r);
2465
+ Gt(this, n.create(r));
2466
2466
  }
2467
2467
  advance(e) {
2468
2468
  const t = this._get(), r = this.get();
2469
- te(t, r) || (H(this).setValue(t), this._onChange(t, this.idle)), !this.idle && qr(this._active) && Et(this);
2469
+ te(t, r) || (J(this).setValue(t), this._onChange(t, this.idle)), !this.idle && Lr(this._active) && Ot(this);
2470
2470
  }
2471
2471
  _get() {
2472
- const e = f.arr(this.source) ? this.source.map(q) : L(q(this.source));
2472
+ const e = f.arr(this.source) ? this.source.map(q) : M(q(this.source));
2473
2473
  return this.calc(...e);
2474
2474
  }
2475
2475
  _start() {
2476
- this.idle && !qr(this._active) && (this.idle = !1, A(lt(this), (e) => {
2476
+ this.idle && !Lr(this._active) && (this.idle = !1, O(dt(this), (e) => {
2477
2477
  e.done = !1;
2478
- }), G.skipAnimation ? (E.batchedUpdates(() => this.advance()), Et(this)) : st.start(this));
2478
+ }), H.skipAnimation ? (P.batchedUpdates(() => this.advance()), Ot(this)) : ut.start(this));
2479
2479
  }
2480
2480
  // Observe our sources only when we're observed.
2481
2481
  _attach() {
2482
2482
  let e = 1;
2483
- A(L(this.source), (t) => {
2484
- W(t) && be(t, this), It(t) && (t.idle || this._active.add(t), e = Math.max(e, t.priority + 1));
2483
+ O(M(this.source), (t) => {
2484
+ W(t) && _e(t, this), Vt(t) && (t.idle || this._active.add(t), e = Math.max(e, t.priority + 1));
2485
2485
  }), this.priority = e, this._start();
2486
2486
  }
2487
2487
  // Stop observing our sources once we have no observers.
2488
2488
  _detach() {
2489
- A(L(this.source), (e) => {
2490
- W(e) && Ve(e, this);
2491
- }), this._active.clear(), Et(this);
2489
+ O(M(this.source), (e) => {
2490
+ W(e) && De(e, this);
2491
+ }), this._active.clear(), Ot(this);
2492
2492
  }
2493
2493
  /** @internal */
2494
2494
  eventObserved(e) {
2495
- e.type == "change" ? e.idle ? this.advance() : (this._active.add(e.parent), this._start()) : e.type == "idle" ? this._active.delete(e.parent) : e.type == "priority" && (this.priority = L(this.source).reduce(
2496
- (t, r) => Math.max(t, (It(r) ? r.priority : 0) + 1),
2495
+ e.type == "change" ? e.idle ? this.advance() : (this._active.add(e.parent), this._start()) : e.type == "idle" ? this._active.delete(e.parent) : e.type == "priority" && (this.priority = M(this.source).reduce(
2496
+ (t, r) => Math.max(t, (Vt(r) ? r.priority : 0) + 1),
2497
2497
  0
2498
2498
  ));
2499
2499
  }
2500
2500
  };
2501
- function ms(e) {
2501
+ function ws(e) {
2502
2502
  return e.idle !== !1;
2503
2503
  }
2504
- function qr(e) {
2505
- return !e.size || Array.from(e).every(ms);
2504
+ function Lr(e) {
2505
+ return !e.size || Array.from(e).every(ws);
2506
2506
  }
2507
- function Et(e) {
2508
- e.idle || (e.idle = !0, A(lt(e), (t) => {
2507
+ function Ot(e) {
2508
+ e.idle || (e.idle = !0, O(dt(e), (t) => {
2509
2509
  t.done = !0;
2510
- }), je(e, {
2510
+ }), Ve(e, {
2511
2511
  type: "idle",
2512
2512
  parent: e
2513
2513
  }));
2514
2514
  }
2515
- G.assign({
2516
- createStringInterpolator: rn,
2517
- to: (e, t) => new hs(e, t)
2515
+ H.assign({
2516
+ createStringInterpolator: on,
2517
+ to: (e, t) => new _s(e, t)
2518
2518
  });
2519
- var En = /^--/;
2520
- function ps(e, t) {
2521
- return t == null || typeof t == "boolean" || t === "" ? "" : typeof t == "number" && t !== 0 && !En.test(e) && !(Oe.hasOwnProperty(e) && Oe[e]) ? t + "px" : ("" + t).trim();
2519
+ var An = /^--/;
2520
+ function Rs(e, t) {
2521
+ return t == null || typeof t == "boolean" || t === "" ? "" : typeof t == "number" && t !== 0 && !An.test(e) && !(ke.hasOwnProperty(e) && ke[e]) ? t + "px" : ("" + t).trim();
2522
2522
  }
2523
- var Mr = {};
2524
- function vs(e, t) {
2523
+ var Wr = {};
2524
+ function Ss(e, t) {
2525
2525
  if (!e.nodeType || !e.setAttribute)
2526
2526
  return !1;
2527
2527
  const r = e.nodeName === "filter" || e.parentNode && e.parentNode.nodeName === "filter", {
@@ -2529,11 +2529,11 @@ function vs(e, t) {
2529
2529
  style: s,
2530
2530
  children: a,
2531
2531
  scrollTop: o,
2532
- scrollLeft: l,
2532
+ scrollLeft: u,
2533
2533
  viewBox: d,
2534
- ...u
2535
- } = t, m = Object.values(u), p = Object.keys(u).map(
2536
- (v) => r || e.hasAttribute(v) ? v : Mr[v] || (Mr[v] = v.replace(
2534
+ ...l
2535
+ } = t, m = Object.values(l), p = Object.keys(l).map(
2536
+ (v) => r || e.hasAttribute(v) ? v : Wr[v] || (Wr[v] = v.replace(
2537
2537
  /([A-Z])/g,
2538
2538
  // Attributes are written in dash case
2539
2539
  (g) => "-" + g.toLowerCase()
@@ -2542,14 +2542,14 @@ function vs(e, t) {
2542
2542
  a !== void 0 && (e.textContent = a);
2543
2543
  for (const v in s)
2544
2544
  if (s.hasOwnProperty(v)) {
2545
- const g = ps(v, s[v]);
2546
- En.test(v) ? e.style.setProperty(v, g) : e.style[v] = g;
2545
+ const g = Rs(v, s[v]);
2546
+ An.test(v) ? e.style.setProperty(v, g) : e.style[v] = g;
2547
2547
  }
2548
2548
  p.forEach((v, g) => {
2549
2549
  e.setAttribute(v, m[g]);
2550
- }), n !== void 0 && (e.className = n), o !== void 0 && (e.scrollTop = o), l !== void 0 && (e.scrollLeft = l), d !== void 0 && e.setAttribute("viewBox", d);
2550
+ }), n !== void 0 && (e.className = n), o !== void 0 && (e.scrollTop = o), u !== void 0 && (e.scrollLeft = u), d !== void 0 && e.setAttribute("viewBox", d);
2551
2551
  }
2552
- var Oe = {
2552
+ var ke = {
2553
2553
  animationIterationCount: !0,
2554
2554
  borderImageOutset: !0,
2555
2555
  borderImageSlice: !0,
@@ -2592,35 +2592,35 @@ var Oe = {
2592
2592
  strokeMiterlimit: !0,
2593
2593
  strokeOpacity: !0,
2594
2594
  strokeWidth: !0
2595
- }, gs = (e, t) => e + t.charAt(0).toUpperCase() + t.substring(1), ys = ["Webkit", "Ms", "Moz", "O"];
2596
- Oe = Object.keys(Oe).reduce((e, t) => (ys.forEach((r) => e[gs(r, t)] = e[t]), e), Oe);
2597
- var bs = /^(matrix|translate|scale|rotate|skew)/, _s = /^(translate)/, ws = /^(rotate|skew)/, xt = (e, t) => f.num(e) && e !== 0 ? e + t : e, Xe = (e, t) => f.arr(e) ? e.every((r) => Xe(r, t)) : f.num(e) ? e === t : parseFloat(e) === t, Rs = class extends ct {
2595
+ }, Ps = (e, t) => e + t.charAt(0).toUpperCase() + t.substring(1), Es = ["Webkit", "Ms", "Moz", "O"];
2596
+ ke = Object.keys(ke).reduce((e, t) => (Es.forEach((r) => e[Ps(r, t)] = e[t]), e), ke);
2597
+ var xs = /^(matrix|translate|scale|rotate|skew)/, Os = /^(translate)/, As = /^(rotate|skew)/, At = (e, t) => f.num(e) && e !== 0 ? e + t : e, Ze = (e, t) => f.arr(e) ? e.every((r) => Ze(r, t)) : f.num(e) ? e === t : parseFloat(e) === t, Cs = class extends ht {
2598
2598
  constructor({ x: e, y: t, z: r, ...n }) {
2599
2599
  const s = [], a = [];
2600
2600
  (e || t || r) && (s.push([e || 0, t || 0, r || 0]), a.push((o) => [
2601
- `translate3d(${o.map((l) => xt(l, "px")).join(",")})`,
2601
+ `translate3d(${o.map((u) => At(u, "px")).join(",")})`,
2602
2602
  // prettier-ignore
2603
- Xe(o, 0)
2604
- ])), K(n, (o, l) => {
2605
- if (l === "transform")
2603
+ Ze(o, 0)
2604
+ ])), K(n, (o, u) => {
2605
+ if (u === "transform")
2606
2606
  s.push([o || ""]), a.push((d) => [d, d === ""]);
2607
- else if (bs.test(l)) {
2608
- if (delete n[l], f.und(o))
2607
+ else if (xs.test(u)) {
2608
+ if (delete n[u], f.und(o))
2609
2609
  return;
2610
- const d = _s.test(l) ? "px" : ws.test(l) ? "deg" : "";
2611
- s.push(L(o)), a.push(
2612
- l === "rotate3d" ? ([u, m, p, v]) => [
2613
- `rotate3d(${u},${m},${p},${xt(v, d)})`,
2614
- Xe(v, 0)
2615
- ] : (u) => [
2616
- `${l}(${u.map((m) => xt(m, d)).join(",")})`,
2617
- Xe(u, l.startsWith("scale") ? 1 : 0)
2610
+ const d = Os.test(u) ? "px" : As.test(u) ? "deg" : "";
2611
+ s.push(M(o)), a.push(
2612
+ u === "rotate3d" ? ([l, m, p, v]) => [
2613
+ `rotate3d(${l},${m},${p},${At(v, d)})`,
2614
+ Ze(v, 0)
2615
+ ] : (l) => [
2616
+ `${u}(${l.map((m) => At(m, d)).join(",")})`,
2617
+ Ze(l, u.startsWith("scale") ? 1 : 0)
2618
2618
  ]
2619
2619
  );
2620
2620
  }
2621
- }), s.length && (n.transform = new Ss(s, a)), super(n);
2621
+ }), s.length && (n.transform = new Ts(s, a)), super(n);
2622
2622
  }
2623
- }, Ss = class extends Zr {
2623
+ }, Ts = class extends nn {
2624
2624
  constructor(e, t) {
2625
2625
  super(), this.inputs = e, this.transforms = t, this._value = null;
2626
2626
  }
@@ -2629,7 +2629,7 @@ var bs = /^(matrix|translate|scale|rotate|skew)/, _s = /^(translate)/, ws = /^(r
2629
2629
  }
2630
2630
  _get() {
2631
2631
  let e = "", t = !0;
2632
- return A(this.inputs, (r, n) => {
2632
+ return O(this.inputs, (r, n) => {
2633
2633
  const s = q(r[0]), [a, o] = this.transforms[n](
2634
2634
  f.arr(s) ? s : r.map(q)
2635
2635
  );
@@ -2638,28 +2638,28 @@ var bs = /^(matrix|translate|scale|rotate|skew)/, _s = /^(translate)/, ws = /^(r
2638
2638
  }
2639
2639
  // Start observing our inputs once we have an observer.
2640
2640
  observerAdded(e) {
2641
- e == 1 && A(
2641
+ e == 1 && O(
2642
2642
  this.inputs,
2643
- (t) => A(
2643
+ (t) => O(
2644
2644
  t,
2645
- (r) => W(r) && be(r, this)
2645
+ (r) => W(r) && _e(r, this)
2646
2646
  )
2647
2647
  );
2648
2648
  }
2649
2649
  // Stop observing our inputs once we have no observers.
2650
2650
  observerRemoved(e) {
2651
- e == 0 && A(
2651
+ e == 0 && O(
2652
2652
  this.inputs,
2653
- (t) => A(
2653
+ (t) => O(
2654
2654
  t,
2655
- (r) => W(r) && Ve(r, this)
2655
+ (r) => W(r) && De(r, this)
2656
2656
  )
2657
2657
  );
2658
2658
  }
2659
2659
  eventObserved(e) {
2660
- e.type == "change" && (this._value = null), je(this, e);
2660
+ e.type == "change" && (this._value = null), Ve(this, e);
2661
2661
  }
2662
- }, Es = [
2662
+ }, js = [
2663
2663
  "a",
2664
2664
  "abbr",
2665
2665
  "address",
@@ -2795,19 +2795,19 @@ var bs = /^(matrix|translate|scale|rotate|skew)/, _s = /^(translate)/, ws = /^(r
2795
2795
  "text",
2796
2796
  "tspan"
2797
2797
  ];
2798
- G.assign({
2799
- batchedUpdates: ti,
2800
- createStringInterpolator: rn,
2801
- colors: di
2798
+ H.assign({
2799
+ batchedUpdates: ui,
2800
+ createStringInterpolator: on,
2801
+ colors: bi
2802
2802
  });
2803
- var xs = Wi(Es, {
2804
- applyAnimatedValues: vs,
2805
- createAnimatedStyle: (e) => new Rs(e),
2803
+ var ks = Ki(js, {
2804
+ applyAnimatedValues: Ss,
2805
+ createAnimatedStyle: (e) => new Cs(e),
2806
2806
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2807
2807
  getComponentProps: ({ scrollTop: e, scrollLeft: t, ...r }) => r
2808
- }), Ps = xs.animated;
2809
- function As(e) {
2810
- const t = e.htmlElement ?? "div", [r, n] = Ze(!1), s = re(null), a = re(null), [o, l] = Ze(null), [d, u] = ds(() => ({
2808
+ }), Is = ks.animated;
2809
+ function Fs(e) {
2810
+ const t = e.htmlElement ?? "div", [r, n] = et(!1), s = ne(null), a = ne(null), [o, u] = et(null), [d, l] = bs(() => ({
2811
2811
  from: {
2812
2812
  opacity: 0,
2813
2813
  transform: "scale(0)"
@@ -2817,20 +2817,20 @@ function As(e) {
2817
2817
  transform: "scale(1)"
2818
2818
  }
2819
2819
  })), m = (g, _) => Math.floor(Math.random() * (_ - g + 1)) + g;
2820
- ce(() => {
2820
+ fe(() => {
2821
2821
  if (s.current && a.current) {
2822
2822
  const g = s.current.getBoundingClientRect(), _ = a.current.getBoundingClientRect(), R = Math.max(g.height, _.height);
2823
- l(R);
2823
+ u(R);
2824
2824
  }
2825
- }, []), ce(() => {
2825
+ }, []), fe(() => {
2826
2826
  if (!e.animate) return;
2827
2827
  const g = setTimeout(() => {
2828
- u({
2828
+ l({
2829
2829
  opacity: 0,
2830
2830
  transform: "translateY(15px)",
2831
2831
  config: { duration: 200 },
2832
2832
  onRest: () => {
2833
- n((_) => !_), u({
2833
+ n((_) => !_), l({
2834
2834
  opacity: 1,
2835
2835
  transform: "translateY(0px)",
2836
2836
  config: { duration: 200 }
@@ -2839,7 +2839,7 @@ function As(e) {
2839
2839
  });
2840
2840
  }, m(3500, 15e3));
2841
2841
  return () => clearTimeout(g);
2842
- }, [r, e.animate, u]);
2842
+ }, [r, e.animate, l]);
2843
2843
  const p = e.animate && r ? e.content.simplified : e.content.english, v = {
2844
2844
  ...e.textStyles,
2845
2845
  minHeight: o !== null ? `${o}px` : void 0,
@@ -2847,8 +2847,8 @@ function As(e) {
2847
2847
  // helps keep the bounding box stable,
2848
2848
  alignContent: "center"
2849
2849
  };
2850
- return /* @__PURE__ */ J.jsxs(J.Fragment, { children: [
2851
- /* @__PURE__ */ J.jsx(
2850
+ return /* @__PURE__ */ Y.jsxs(Y.Fragment, { children: [
2851
+ /* @__PURE__ */ Y.jsx(
2852
2852
  "div",
2853
2853
  {
2854
2854
  ref: s,
@@ -2864,7 +2864,7 @@ function As(e) {
2864
2864
  children: e.content.english
2865
2865
  }
2866
2866
  ),
2867
- /* @__PURE__ */ J.jsx(
2867
+ /* @__PURE__ */ Y.jsx(
2868
2868
  "div",
2869
2869
  {
2870
2870
  ref: a,
@@ -2878,21 +2878,136 @@ function As(e) {
2878
2878
  children: e.content.simplified
2879
2879
  }
2880
2880
  ),
2881
- /* @__PURE__ */ J.jsx(Ps.div, { style: d, children: /* @__PURE__ */ J.jsx(t, { style: v, children: p }) })
2881
+ /* @__PURE__ */ Y.jsx(Is.div, { style: d, children: /* @__PURE__ */ Y.jsx(t, { style: v, children: p }) })
2882
2882
  ] });
2883
2883
  }
2884
- const ks = ({
2885
- IconComponent: e,
2884
+ var Cn = {
2885
+ color: void 0,
2886
+ size: void 0,
2887
+ className: void 0,
2888
+ style: void 0,
2889
+ attr: void 0
2890
+ }, Br = re.createContext && /* @__PURE__ */ re.createContext(Cn), Vs = ["attr", "size", "title"];
2891
+ function Ds(e, t) {
2892
+ if (e == null) return {};
2893
+ var r = $s(e, t), n, s;
2894
+ if (Object.getOwnPropertySymbols) {
2895
+ var a = Object.getOwnPropertySymbols(e);
2896
+ for (s = 0; s < a.length; s++)
2897
+ n = a[s], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n]);
2898
+ }
2899
+ return r;
2900
+ }
2901
+ function $s(e, t) {
2902
+ if (e == null) return {};
2903
+ var r = {};
2904
+ for (var n in e)
2905
+ if (Object.prototype.hasOwnProperty.call(e, n)) {
2906
+ if (t.indexOf(n) >= 0) continue;
2907
+ r[n] = e[n];
2908
+ }
2909
+ return r;
2910
+ }
2911
+ function st() {
2912
+ return st = Object.assign ? Object.assign.bind() : function(e) {
2913
+ for (var t = 1; t < arguments.length; t++) {
2914
+ var r = arguments[t];
2915
+ for (var n in r)
2916
+ Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
2917
+ }
2918
+ return e;
2919
+ }, st.apply(this, arguments);
2920
+ }
2921
+ function Yr(e, t) {
2922
+ var r = Object.keys(e);
2923
+ if (Object.getOwnPropertySymbols) {
2924
+ var n = Object.getOwnPropertySymbols(e);
2925
+ t && (n = n.filter(function(s) {
2926
+ return Object.getOwnPropertyDescriptor(e, s).enumerable;
2927
+ })), r.push.apply(r, n);
2928
+ }
2929
+ return r;
2930
+ }
2931
+ function at(e) {
2932
+ for (var t = 1; t < arguments.length; t++) {
2933
+ var r = arguments[t] != null ? arguments[t] : {};
2934
+ t % 2 ? Yr(Object(r), !0).forEach(function(n) {
2935
+ Ns(e, n, r[n]);
2936
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Yr(Object(r)).forEach(function(n) {
2937
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
2938
+ });
2939
+ }
2940
+ return e;
2941
+ }
2942
+ function Ns(e, t, r) {
2943
+ return t = Us(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
2944
+ }
2945
+ function Us(e) {
2946
+ var t = qs(e, "string");
2947
+ return typeof t == "symbol" ? t : t + "";
2948
+ }
2949
+ function qs(e, t) {
2950
+ if (typeof e != "object" || !e) return e;
2951
+ var r = e[Symbol.toPrimitive];
2952
+ if (r !== void 0) {
2953
+ var n = r.call(e, t);
2954
+ if (typeof n != "object") return n;
2955
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2956
+ }
2957
+ return (t === "string" ? String : Number)(e);
2958
+ }
2959
+ function Tn(e) {
2960
+ return e && e.map((t, r) => /* @__PURE__ */ re.createElement(t.tag, at({
2961
+ key: r
2962
+ }, t.attr), Tn(t.child)));
2963
+ }
2964
+ function jn(e) {
2965
+ return (t) => /* @__PURE__ */ re.createElement(zs, st({
2966
+ attr: at({}, e.attr)
2967
+ }, t), Tn(e.child));
2968
+ }
2969
+ function zs(e) {
2970
+ var t = (r) => {
2971
+ var {
2972
+ attr: n,
2973
+ size: s,
2974
+ title: a
2975
+ } = e, o = Ds(e, Vs), u = s || r.size || "1em", d;
2976
+ return r.className && (d = r.className), e.className && (d = (d ? d + " " : "") + e.className), /* @__PURE__ */ re.createElement("svg", st({
2977
+ stroke: "currentColor",
2978
+ fill: "currentColor",
2979
+ strokeWidth: "0"
2980
+ }, r.attr, n, o, {
2981
+ className: d,
2982
+ style: at(at({
2983
+ color: e.color || r.color
2984
+ }, r.style), e.style),
2985
+ height: u,
2986
+ width: u,
2987
+ xmlns: "http://www.w3.org/2000/svg"
2988
+ }), a && /* @__PURE__ */ re.createElement("title", null, a), e.children);
2989
+ };
2990
+ return Br !== void 0 ? /* @__PURE__ */ re.createElement(Br.Consumer, null, (r) => t(r)) : t(Cn);
2991
+ }
2992
+ function Ms(e) {
2993
+ return jn({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z" }, child: [] }] })(e);
2994
+ }
2995
+ function Ls(e) {
2996
+ return jn({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "line", attr: { x1: "22", y1: "2", x2: "11", y2: "13" }, child: [] }, { tag: "polygon", attr: { points: "22 2 15 22 11 13 2 9 22 2" }, child: [] }] })(e);
2997
+ }
2998
+ const Ys = ({
2999
+ iconComponent: e,
2886
3000
  buttonText: t,
2887
3001
  buttonType: r = "primary"
2888
3002
  }) => {
2889
3003
  const n = r === "primary" ? "primary" : "secondary";
2890
- return /* @__PURE__ */ J.jsx("div", { className: "banner-button-container", children: /* @__PURE__ */ J.jsxs("button", { className: `banner-button ${n}`, children: [
2891
- e && /* @__PURE__ */ J.jsx(e, { className: "icon-component" }),
2892
- /* @__PURE__ */ J.jsx(As, { textStyles: { minWidth: "3rem" }, content: t, animate: !0 })
3004
+ let s;
3005
+ return e === "plus" ? s = /* @__PURE__ */ Y.jsx(Ms, { className: "icon-component" }) : e === "send" && (s = /* @__PURE__ */ Y.jsx(Ls, { className: "icon-component" })), /* @__PURE__ */ Y.jsx("div", { className: "banner-button-container", children: /* @__PURE__ */ Y.jsxs("button", { className: `banner-button ${n}`, children: [
3006
+ s,
3007
+ /* @__PURE__ */ Y.jsx(Fs, { textStyles: { minWidth: "3rem" }, content: t, animate: !0 })
2893
3008
  ] }) });
2894
3009
  };
2895
3010
  export {
2896
- As as AnimatedText,
2897
- ks as BannerButton
3011
+ Fs as AnimatedText,
3012
+ Ys as BannerButton
2898
3013
  };