@canaia/ui-kit 0.0.10-alpha.28 → 0.0.10-alpha.29
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/canaia-ui-kit.es.js +188 -183
- package/dist/canaia-ui-kit.umd.js +11 -11
- package/package.json +1 -1
package/dist/canaia-ui-kit.es.js
CHANGED
|
@@ -261,14 +261,14 @@ function H4() {
|
|
|
261
261
|
} catch (he) {
|
|
262
262
|
if (he && Se && typeof he.stack == "string") {
|
|
263
263
|
for (var $e = he.stack.split(`
|
|
264
|
-
`),
|
|
265
|
-
`), w = $e.length - 1, M =
|
|
264
|
+
`), $t = Se.stack.split(`
|
|
265
|
+
`), w = $e.length - 1, M = $t.length - 1; w >= 1 && M >= 0 && $e[w] !== $t[M]; )
|
|
266
266
|
M--;
|
|
267
267
|
for (; w >= 1 && M >= 0; w--, M--)
|
|
268
|
-
if ($e[w] !==
|
|
268
|
+
if ($e[w] !== $t[M]) {
|
|
269
269
|
if (w !== 1 || M !== 1)
|
|
270
270
|
do
|
|
271
|
-
if (w--, M--, M < 0 || $e[w] !==
|
|
271
|
+
if (w--, M--, M < 0 || $e[w] !== $t[M]) {
|
|
272
272
|
var U = `
|
|
273
273
|
` + $e[w].replace(" at new ", " at ");
|
|
274
274
|
return T.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", T.displayName)), typeof T == "function" && le.set(T, U), U;
|
|
@@ -335,8 +335,8 @@ function H4() {
|
|
|
335
335
|
var $e = void 0;
|
|
336
336
|
try {
|
|
337
337
|
if (typeof T[Be] != "function") {
|
|
338
|
-
var
|
|
339
|
-
throw
|
|
338
|
+
var $t = Error((Se || "React class") + ": " + ue + " type `" + Be + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof T[Be] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
|
+
throw $t.name = "Invariant Violation", $t;
|
|
340
340
|
}
|
|
341
341
|
$e = T[Be](J, Be, Se, ue, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
342
|
} catch (w) {
|
|
@@ -377,7 +377,7 @@ function H4() {
|
|
|
377
377
|
__source: !0
|
|
378
378
|
}, pt, nt, yt;
|
|
379
379
|
yt = {};
|
|
380
|
-
function
|
|
380
|
+
function It(T) {
|
|
381
381
|
if (q.call(T, "ref")) {
|
|
382
382
|
var J = Object.getOwnPropertyDescriptor(T, "ref").get;
|
|
383
383
|
if (J && J.isReactWarning)
|
|
@@ -452,8 +452,8 @@ function H4() {
|
|
|
452
452
|
};
|
|
453
453
|
function rn(T, J, ue, Se, Ne) {
|
|
454
454
|
{
|
|
455
|
-
var qe, Be = {}, $e = null,
|
|
456
|
-
ue !== void 0 && (re(ue), $e = "" + ue), Yt(J) && (re(J.key), $e = "" + J.key),
|
|
455
|
+
var qe, Be = {}, $e = null, $t = null;
|
|
456
|
+
ue !== void 0 && (re(ue), $e = "" + ue), Yt(J) && (re(J.key), $e = "" + J.key), It(J) && ($t = J.ref, st(J, Ne));
|
|
457
457
|
for (qe in J)
|
|
458
458
|
q.call(J, qe) && !Me.hasOwnProperty(qe) && (Be[qe] = J[qe]);
|
|
459
459
|
if (T && T.defaultProps) {
|
|
@@ -461,11 +461,11 @@ function H4() {
|
|
|
461
461
|
for (qe in w)
|
|
462
462
|
Be[qe] === void 0 && (Be[qe] = w[qe]);
|
|
463
463
|
}
|
|
464
|
-
if ($e ||
|
|
464
|
+
if ($e || $t) {
|
|
465
465
|
var M = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
|
|
466
|
-
$e && Et(Be, M),
|
|
466
|
+
$e && Et(Be, M), $t && qt(Be, M);
|
|
467
467
|
}
|
|
468
|
-
return zn(T, $e,
|
|
468
|
+
return zn(T, $e, $t, Ne, Se, ae.current, Be);
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
var gn = C.ReactCurrentOwner, to = C.ReactDebugCurrentFrame;
|
|
@@ -585,8 +585,8 @@ Check the top-level render call using <` + ue + ">.");
|
|
|
585
585
|
if (!Be) {
|
|
586
586
|
var $e = "";
|
|
587
587
|
(T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && ($e += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
588
|
-
var
|
|
589
|
-
|
|
588
|
+
var $t = Zn();
|
|
589
|
+
$t ? $e += $t : $e += vr();
|
|
590
590
|
var w;
|
|
591
591
|
T === null ? w = "null" : Re(T) ? w = "array" : T !== void 0 && T.$$typeof === t ? (w = "<" + (se(T.type) || "Unknown") + " />", $e = " Did you accidentally export a JSX literal instead of a component?") : w = typeof T, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, $e);
|
|
592
592
|
}
|
|
@@ -784,7 +784,7 @@ function tg(...e) {
|
|
|
784
784
|
e.forEach((r) => r == null ? void 0 : r(...n));
|
|
785
785
|
};
|
|
786
786
|
}
|
|
787
|
-
function
|
|
787
|
+
function Lt(...e) {
|
|
788
788
|
return function(n) {
|
|
789
789
|
e.some((r) => (r == null || r(n), n == null ? void 0 : n.defaultPrevented));
|
|
790
790
|
};
|
|
@@ -1005,7 +1005,7 @@ zs.exports;
|
|
|
1005
1005
|
"^" + Re.call(ce).replace(E, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1006
1006
|
), Me = de ? G.Buffer : void 0, pt = G.Symbol, nt = G.Uint8Array;
|
|
1007
1007
|
Me && Me.allocUnsafe;
|
|
1008
|
-
var yt = ie(Object.getPrototypeOf, Object),
|
|
1008
|
+
var yt = ie(Object.getPrototypeOf, Object), It = Object.create, Yt = pe.propertyIsEnumerable, st = xe.splice, Et = pt ? pt.toStringTag : void 0, qt = function() {
|
|
1009
1009
|
try {
|
|
1010
1010
|
var k = Ze(Object, "defineProperty");
|
|
1011
1011
|
return k({}, "", {}), k;
|
|
@@ -1017,8 +1017,8 @@ zs.exports;
|
|
|
1017
1017
|
return function(A) {
|
|
1018
1018
|
if (!oo(A))
|
|
1019
1019
|
return {};
|
|
1020
|
-
if (
|
|
1021
|
-
return
|
|
1020
|
+
if (It)
|
|
1021
|
+
return It(A);
|
|
1022
1022
|
k.prototype = A;
|
|
1023
1023
|
var V = new k();
|
|
1024
1024
|
return k.prototype = void 0, V;
|
|
@@ -1130,7 +1130,7 @@ zs.exports;
|
|
|
1130
1130
|
function $e(k) {
|
|
1131
1131
|
return this.__data__.has(k);
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function $t(k, A) {
|
|
1134
1134
|
var V = this.__data__;
|
|
1135
1135
|
if (V instanceof Xt) {
|
|
1136
1136
|
var Ce = V.__data__;
|
|
@@ -1140,15 +1140,15 @@ zs.exports;
|
|
|
1140
1140
|
}
|
|
1141
1141
|
return V.set(k, A), this.size = V.size, this;
|
|
1142
1142
|
}
|
|
1143
|
-
Se.prototype.clear = Ne, Se.prototype.delete = qe, Se.prototype.get = Be, Se.prototype.has = $e, Se.prototype.set =
|
|
1143
|
+
Se.prototype.clear = Ne, Se.prototype.delete = qe, Se.prototype.get = Be, Se.prototype.has = $e, Se.prototype.set = $t;
|
|
1144
1144
|
function w(k, A) {
|
|
1145
|
-
var V = Vr(k), Ce = !V && $o(k), Ue = !V && !Ce && yf(k), ut = !V && !Ce && !Ue && Cf(k),
|
|
1145
|
+
var V = Vr(k), Ce = !V && $o(k), Ue = !V && !Ce && yf(k), ut = !V && !Ce && !Ue && Cf(k), gt = V || Ce || Ue || ut, Ye = gt ? Ie(k.length, String) : [], vt = Ye.length;
|
|
1146
1146
|
for (var Nn in k)
|
|
1147
|
-
|
|
1147
|
+
gt && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1148
1148
|
(Nn == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1149
1149
|
Ue && (Nn == "offset" || Nn == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1150
1150
|
ut && (Nn == "buffer" || Nn == "byteLength" || Nn == "byteOffset") || // Skip index properties.
|
|
1151
|
-
ro(Nn,
|
|
1151
|
+
ro(Nn, vt)) || Ye.push(Nn);
|
|
1152
1152
|
return Ye;
|
|
1153
1153
|
}
|
|
1154
1154
|
function M(k, A, V) {
|
|
@@ -1197,27 +1197,27 @@ zs.exports;
|
|
|
1197
1197
|
return V;
|
|
1198
1198
|
}
|
|
1199
1199
|
function Jt(k, A, V, Ce, Ue) {
|
|
1200
|
-
k !== A && he(A, function(ut,
|
|
1200
|
+
k !== A && he(A, function(ut, gt) {
|
|
1201
1201
|
if (Ue || (Ue = new Se()), oo(ut))
|
|
1202
|
-
|
|
1202
|
+
Ft(k, A, gt, V, Jt, Ce, Ue);
|
|
1203
1203
|
else {
|
|
1204
|
-
var Ye = Ce ? Ce(Ro(k,
|
|
1205
|
-
Ye === void 0 && (Ye = ut), M(k,
|
|
1204
|
+
var Ye = Ce ? Ce(Ro(k, gt), ut, gt + "", k, A, Ue) : void 0;
|
|
1205
|
+
Ye === void 0 && (Ye = ut), M(k, gt, Ye);
|
|
1206
1206
|
}
|
|
1207
1207
|
}, wf);
|
|
1208
1208
|
}
|
|
1209
|
-
function
|
|
1210
|
-
var Ye = Ro(k, V),
|
|
1209
|
+
function Ft(k, A, V, Ce, Ue, ut, gt) {
|
|
1210
|
+
var Ye = Ro(k, V), vt = Ro(A, V), Nn = gt.get(vt);
|
|
1211
1211
|
if (Nn) {
|
|
1212
1212
|
M(k, V, Nn);
|
|
1213
1213
|
return;
|
|
1214
1214
|
}
|
|
1215
|
-
var yn = ut ? ut(Ye,
|
|
1215
|
+
var yn = ut ? ut(Ye, vt, V + "", k, A, gt) : void 0, Ei = yn === void 0;
|
|
1216
1216
|
if (Ei) {
|
|
1217
|
-
var Lc = Vr(
|
|
1218
|
-
yn =
|
|
1217
|
+
var Lc = Vr(vt), Bc = !Lc && yf(vt), kf = !Lc && !Bc && Cf(vt);
|
|
1218
|
+
yn = vt, Lc || Bc || kf ? Vr(Ye) ? yn = Ye : O4(Ye) ? yn = Ga(Ye) : Bc ? (Ei = !1, yn = bn(vt)) : kf ? (Ei = !1, yn = Gn(vt)) : yn = [] : M4(vt) || $o(vt) ? (yn = Ye, $o(Ye) ? yn = R4(Ye) : (!oo(Ye) || zc(Ye)) && (yn = xr(vt))) : Ei = !1;
|
|
1219
1219
|
}
|
|
1220
|
-
Ei && (
|
|
1220
|
+
Ei && (gt.set(vt, yn), Ue(yn, vt, Ce, ut, gt), gt.delete(vt)), M(k, V, yn);
|
|
1221
1221
|
}
|
|
1222
1222
|
function _t(k, A) {
|
|
1223
1223
|
return Do(Yn(k, A, Sf), k + "");
|
|
@@ -1250,16 +1250,16 @@ zs.exports;
|
|
|
1250
1250
|
function Ka(k, A, V, Ce) {
|
|
1251
1251
|
var Ue = !V;
|
|
1252
1252
|
V || (V = {});
|
|
1253
|
-
for (var ut = -1,
|
|
1254
|
-
var Ye = A[ut],
|
|
1255
|
-
|
|
1253
|
+
for (var ut = -1, gt = A.length; ++ut < gt; ) {
|
|
1254
|
+
var Ye = A[ut], vt = void 0;
|
|
1255
|
+
vt === void 0 && (vt = k[Ye]), Ue ? ge(V, Ye, vt) : U(V, Ye, vt);
|
|
1256
1256
|
}
|
|
1257
1257
|
return V;
|
|
1258
1258
|
}
|
|
1259
1259
|
function $c(k) {
|
|
1260
1260
|
return _t(function(A, V) {
|
|
1261
|
-
var Ce = -1, Ue = V.length, ut = Ue > 1 ? V[Ue - 1] : void 0,
|
|
1262
|
-
for (ut = k.length > 3 && typeof ut == "function" ? (Ue--, ut) : void 0,
|
|
1261
|
+
var Ce = -1, Ue = V.length, ut = Ue > 1 ? V[Ue - 1] : void 0, gt = Ue > 2 ? V[2] : void 0;
|
|
1262
|
+
for (ut = k.length > 3 && typeof ut == "function" ? (Ue--, ut) : void 0, gt && Qt(V[0], V[1], gt) && (ut = Ue < 3 ? void 0 : ut, Ue = 1), A = Object(A); ++Ce < Ue; ) {
|
|
1263
1263
|
var Ye = V[Ce];
|
|
1264
1264
|
Ye && k(A, Ye, Ce, ut);
|
|
1265
1265
|
}
|
|
@@ -1268,9 +1268,9 @@ zs.exports;
|
|
|
1268
1268
|
}
|
|
1269
1269
|
function Fc(k) {
|
|
1270
1270
|
return function(A, V, Ce) {
|
|
1271
|
-
for (var Ue = -1, ut = Object(A),
|
|
1272
|
-
var
|
|
1273
|
-
if (V(ut[
|
|
1271
|
+
for (var Ue = -1, ut = Object(A), gt = Ce(A), Ye = gt.length; Ye--; ) {
|
|
1272
|
+
var vt = gt[++Ue];
|
|
1273
|
+
if (V(ut[vt], vt, ut) === !1)
|
|
1274
1274
|
break;
|
|
1275
1275
|
}
|
|
1276
1276
|
return A;
|
|
@@ -1330,12 +1330,12 @@ zs.exports;
|
|
|
1330
1330
|
}
|
|
1331
1331
|
function Yn(k, A, V) {
|
|
1332
1332
|
return A = rn(A === void 0 ? k.length - 1 : A, 0), function() {
|
|
1333
|
-
for (var Ce = arguments, Ue = -1, ut = rn(Ce.length - A, 0),
|
|
1334
|
-
|
|
1333
|
+
for (var Ce = arguments, Ue = -1, ut = rn(Ce.length - A, 0), gt = Array(ut); ++Ue < ut; )
|
|
1334
|
+
gt[Ue] = Ce[A + Ue];
|
|
1335
1335
|
Ue = -1;
|
|
1336
1336
|
for (var Ye = Array(A + 1); ++Ue < A; )
|
|
1337
1337
|
Ye[Ue] = Ce[Ue];
|
|
1338
|
-
return Ye[A] = V(
|
|
1338
|
+
return Ye[A] = V(gt), je(k, this, Ye);
|
|
1339
1339
|
};
|
|
1340
1340
|
}
|
|
1341
1341
|
function Ro(k, A) {
|
|
@@ -1641,7 +1641,7 @@ function Pg(e, t) {
|
|
|
1641
1641
|
};
|
|
1642
1642
|
}, [t, n]);
|
|
1643
1643
|
}
|
|
1644
|
-
const
|
|
1644
|
+
const zt = {
|
|
1645
1645
|
open: (e, t) => `${e}[data-open], ${e}[open], ${e}[data-state=open] ${t}`,
|
|
1646
1646
|
closed: (e, t) => `${e}[data-closed], ${e}[data-state=closed] ${t}`,
|
|
1647
1647
|
hover: (e, t) => `${e}:hover ${t}, ${e}[data-hover] ${t}`,
|
|
@@ -1825,79 +1825,79 @@ const Ft = {
|
|
|
1825
1825
|
/**
|
|
1826
1826
|
* Styles to apply when a parent element with `.group`, `data-group` or `role=group` is open
|
|
1827
1827
|
*/
|
|
1828
|
-
_groupOpen: Xn(
|
|
1828
|
+
_groupOpen: Xn(zt.open),
|
|
1829
1829
|
/**
|
|
1830
1830
|
* Styles to apply when a parent element with `.group`, `data-group` or `role=group` is closed
|
|
1831
1831
|
*/
|
|
1832
|
-
_groupClosed: Xn(
|
|
1832
|
+
_groupClosed: Xn(zt.closed),
|
|
1833
1833
|
/**
|
|
1834
1834
|
* Styles to apply when a parent element with `.group`, `data-group` or `role=group` is hovered
|
|
1835
1835
|
*/
|
|
1836
|
-
_groupHover: Xn(
|
|
1836
|
+
_groupHover: Xn(zt.hover),
|
|
1837
1837
|
/**
|
|
1838
1838
|
* Styles to apply when a sibling element with `.peer` or `data-peer` is hovered
|
|
1839
1839
|
*/
|
|
1840
|
-
_peerHover: wr(
|
|
1840
|
+
_peerHover: wr(zt.hover),
|
|
1841
1841
|
/**
|
|
1842
1842
|
* Styles to apply when a parent element with `.group`, `data-group` or `role=group` is focused
|
|
1843
1843
|
*/
|
|
1844
|
-
_groupFocus: Xn(
|
|
1844
|
+
_groupFocus: Xn(zt.focus),
|
|
1845
1845
|
/**
|
|
1846
1846
|
* Styles to apply when a sibling element with `.peer` or `data-peer` is focused
|
|
1847
1847
|
*/
|
|
1848
|
-
_peerFocus: wr(
|
|
1848
|
+
_peerFocus: wr(zt.focus),
|
|
1849
1849
|
/**
|
|
1850
1850
|
* Styles to apply when a parent element with `.group`, `data-group` or `role=group` has visible focus
|
|
1851
1851
|
*/
|
|
1852
|
-
_groupFocusVisible: Xn(
|
|
1852
|
+
_groupFocusVisible: Xn(zt.focusVisible),
|
|
1853
1853
|
/**
|
|
1854
1854
|
* Styles to apply when a sibling element with `.peer`or `data-peer` has visible focus
|
|
1855
1855
|
*/
|
|
1856
|
-
_peerFocusVisible: wr(
|
|
1856
|
+
_peerFocusVisible: wr(zt.focusVisible),
|
|
1857
1857
|
/**
|
|
1858
1858
|
* Styles to apply when a parent element with `.group`, `data-group` or `role=group` is active
|
|
1859
1859
|
*/
|
|
1860
|
-
_groupActive: Xn(
|
|
1860
|
+
_groupActive: Xn(zt.active),
|
|
1861
1861
|
/**
|
|
1862
1862
|
* Styles to apply when a sibling element with `.peer` or `data-peer` is active
|
|
1863
1863
|
*/
|
|
1864
|
-
_peerActive: wr(
|
|
1864
|
+
_peerActive: wr(zt.active),
|
|
1865
1865
|
/**
|
|
1866
1866
|
* Styles to apply when a parent element with `.group`, `data-group` or `role=group` is disabled
|
|
1867
1867
|
*/
|
|
1868
|
-
_groupDisabled: Xn(
|
|
1868
|
+
_groupDisabled: Xn(zt.disabled),
|
|
1869
1869
|
/**
|
|
1870
1870
|
* Styles to apply when a sibling element with `.peer` or `data-peer` is disabled
|
|
1871
1871
|
*/
|
|
1872
|
-
_peerDisabled: wr(
|
|
1872
|
+
_peerDisabled: wr(zt.disabled),
|
|
1873
1873
|
/**
|
|
1874
1874
|
* Styles to apply when a parent element with `.group`, `data-group` or `role=group` is invalid
|
|
1875
1875
|
*/
|
|
1876
|
-
_groupInvalid: Xn(
|
|
1876
|
+
_groupInvalid: Xn(zt.invalid),
|
|
1877
1877
|
/**
|
|
1878
1878
|
* Styles to apply when a sibling element with `.peer` or `data-peer` is invalid
|
|
1879
1879
|
*/
|
|
1880
|
-
_peerInvalid: wr(
|
|
1880
|
+
_peerInvalid: wr(zt.invalid),
|
|
1881
1881
|
/**
|
|
1882
1882
|
* Styles to apply when a parent element with `.group`, `data-group` or `role=group` is checked
|
|
1883
1883
|
*/
|
|
1884
|
-
_groupChecked: Xn(
|
|
1884
|
+
_groupChecked: Xn(zt.checked),
|
|
1885
1885
|
/**
|
|
1886
1886
|
* Styles to apply when a sibling element with `.peer` or `data-peer` is checked
|
|
1887
1887
|
*/
|
|
1888
|
-
_peerChecked: wr(
|
|
1888
|
+
_peerChecked: wr(zt.checked),
|
|
1889
1889
|
/**
|
|
1890
1890
|
* Styles to apply when a parent element with `.group`, `data-group` or `role=group` has focus within
|
|
1891
1891
|
*/
|
|
1892
|
-
_groupFocusWithin: Xn(
|
|
1892
|
+
_groupFocusWithin: Xn(zt.focusWithin),
|
|
1893
1893
|
/**
|
|
1894
1894
|
* Styles to apply when a sibling element with `.peer` or `data-peer` has focus within
|
|
1895
1895
|
*/
|
|
1896
|
-
_peerFocusWithin: wr(
|
|
1896
|
+
_peerFocusWithin: wr(zt.focusWithin),
|
|
1897
1897
|
/**
|
|
1898
1898
|
* Styles to apply when a sibling element with `.peer` or `data-peer` has placeholder shown
|
|
1899
1899
|
*/
|
|
1900
|
-
_peerPlaceholderShown: wr(
|
|
1900
|
+
_peerPlaceholderShown: wr(zt.placeholderShown),
|
|
1901
1901
|
/**
|
|
1902
1902
|
* Styles for CSS Selector `&::placeholder`.
|
|
1903
1903
|
*/
|
|
@@ -8397,7 +8397,7 @@ function Uh(e, t) {
|
|
|
8397
8397
|
a[as[b]].cancel(C);
|
|
8398
8398
|
}, state: o, steps: a };
|
|
8399
8399
|
}
|
|
8400
|
-
const { schedule:
|
|
8400
|
+
const { schedule: mt, cancel: Xr, state: Vt, steps: sl } = Uh(typeof requestAnimationFrame < "u" ? requestAnimationFrame : dn, !0), qh = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, vx = 1e-7, bx = 12;
|
|
8401
8401
|
function yx(e, t, n, r, o) {
|
|
8402
8402
|
let i, a, s = 0;
|
|
8403
8403
|
do
|
|
@@ -8537,7 +8537,7 @@ class ud {
|
|
|
8537
8537
|
this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...t], this.onComplete = n, this.name = r, this.motionValue = o, this.element = i, this.isAsync = a;
|
|
8538
8538
|
}
|
|
8539
8539
|
scheduleResolve() {
|
|
8540
|
-
this.isScheduled = !0, this.isAsync ? (go.add(this), nu || (nu = !0,
|
|
8540
|
+
this.isScheduled = !0, this.isAsync ? (go.add(this), nu || (nu = !0, mt.read(c2), mt.resolveKeyframes(s2))) : (this.readKeyframes(), this.complete());
|
|
8541
8541
|
}
|
|
8542
8542
|
readKeyframes() {
|
|
8543
8543
|
const { unresolvedKeyframes: t, name: n, element: r, motionValue: o } = this;
|
|
@@ -9324,7 +9324,7 @@ function Us({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
|
|
|
9324
9324
|
const PC = (e) => {
|
|
9325
9325
|
const t = ({ timestamp: n }) => e(n);
|
|
9326
9326
|
return {
|
|
9327
|
-
start: () =>
|
|
9327
|
+
start: () => mt.update(t, !0),
|
|
9328
9328
|
stop: () => Xr(t),
|
|
9329
9329
|
/**
|
|
9330
9330
|
* If we're processing this frame we can use the
|
|
@@ -9807,7 +9807,7 @@ const xd = (e, t, n, r = {}, o, i) => (a) => {
|
|
|
9807
9807
|
if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (u.duration = 0, u.delay === 0 && (d = !0)), d && !i && t.get() !== void 0) {
|
|
9808
9808
|
const p = Sc(u.keyframes, s);
|
|
9809
9809
|
if (p !== void 0)
|
|
9810
|
-
return
|
|
9810
|
+
return mt.update(() => {
|
|
9811
9811
|
u.onUpdate(p), u.onComplete();
|
|
9812
9812
|
}), new NC([]);
|
|
9813
9813
|
}
|
|
@@ -9914,7 +9914,7 @@ class qC {
|
|
|
9914
9914
|
this.events[t] || (this.events[t] = new Sd());
|
|
9915
9915
|
const r = this.events[t].add(n);
|
|
9916
9916
|
return t === "change" ? () => {
|
|
9917
|
-
r(),
|
|
9917
|
+
r(), mt.read(() => {
|
|
9918
9918
|
this.events.change.getSize() || this.stop();
|
|
9919
9919
|
});
|
|
9920
9920
|
} : r;
|
|
@@ -10089,7 +10089,7 @@ function E2(e, t, { delay: n = 0, transitionOverride: r, type: o } = {}) {
|
|
|
10089
10089
|
if (window.MotionHandoffAnimation) {
|
|
10090
10090
|
const C = A2(e);
|
|
10091
10091
|
if (C) {
|
|
10092
|
-
const b = window.MotionHandoffAnimation(C, d,
|
|
10092
|
+
const b = window.MotionHandoffAnimation(C, d, mt);
|
|
10093
10093
|
b !== null && (v.startTime = b, m = !0);
|
|
10094
10094
|
}
|
|
10095
10095
|
}
|
|
@@ -10098,7 +10098,7 @@ function E2(e, t, { delay: n = 0, transitionOverride: r, type: o } = {}) {
|
|
|
10098
10098
|
g && l.push(g);
|
|
10099
10099
|
}
|
|
10100
10100
|
return s && Promise.all(l).then(() => {
|
|
10101
|
-
|
|
10101
|
+
mt.update(() => {
|
|
10102
10102
|
s && GC(e, s);
|
|
10103
10103
|
});
|
|
10104
10104
|
}), l;
|
|
@@ -10477,7 +10477,7 @@ class I2 {
|
|
|
10477
10477
|
const { onStart: g, onMove: C } = this.handlers;
|
|
10478
10478
|
p || (g && g(this.lastMoveEvent, d), this.startEvent = this.lastMoveEvent), C && C(this.lastMoveEvent, d);
|
|
10479
10479
|
}, this.handlePointerMove = (d, p) => {
|
|
10480
|
-
this.lastMoveEvent = d, this.lastMoveEventInfo = pl(p, this.transformPagePoint),
|
|
10480
|
+
this.lastMoveEvent = d, this.lastMoveEventInfo = pl(p, this.transformPagePoint), mt.update(this.updatePoint, !0);
|
|
10481
10481
|
}, this.handlePointerUp = (d, p) => {
|
|
10482
10482
|
this.end();
|
|
10483
10483
|
const { onEnd: h, onSessionEnd: v, resumeAnimation: m } = this.handlers;
|
|
@@ -10739,7 +10739,7 @@ class Lw {
|
|
|
10739
10739
|
}
|
|
10740
10740
|
}
|
|
10741
10741
|
this.originPoint[g] = C;
|
|
10742
|
-
}), v &&
|
|
10742
|
+
}), v && mt.postRender(() => v(u, d)), uu(this.visualElement, "transform");
|
|
10743
10743
|
const { animationState: m } = this.visualElement;
|
|
10744
10744
|
m && m.setActive("whileDrag", !0);
|
|
10745
10745
|
}, a = (u, d) => {
|
|
@@ -10775,7 +10775,7 @@ class Lw {
|
|
|
10775
10775
|
const { velocity: o } = n;
|
|
10776
10776
|
this.startAnimation(o);
|
|
10777
10777
|
const { onDragEnd: i } = this.getProps();
|
|
10778
|
-
i &&
|
|
10778
|
+
i && mt.postRender(() => i(t, n));
|
|
10779
10779
|
}
|
|
10780
10780
|
cancel() {
|
|
10781
10781
|
this.isDragging = !1;
|
|
@@ -10915,7 +10915,7 @@ class Lw {
|
|
|
10915
10915
|
const { dragConstraints: c } = this.getProps();
|
|
10916
10916
|
Ko(c) && c.current && (this.constraints = this.resolveRefConstraints());
|
|
10917
10917
|
}, { projection: o } = this.visualElement, i = o.addEventListener("measure", r);
|
|
10918
|
-
o && !o.layout && (o.root && o.root.updateScroll(), o.updateLayout()),
|
|
10918
|
+
o && !o.layout && (o.root && o.root.updateScroll(), o.updateLayout()), mt.read(r);
|
|
10919
10919
|
const a = Ca(window, "resize", () => this.scalePositionWithinConstraints()), s = o.addEventListener("didUpdate", ({ delta: c, hasLayoutChanged: l }) => {
|
|
10920
10920
|
this.isDragging && l && (En((u) => {
|
|
10921
10921
|
const d = this.getAxisMotionValue(u);
|
|
@@ -10959,7 +10959,7 @@ class Nw extends Qr {
|
|
|
10959
10959
|
}
|
|
10960
10960
|
}
|
|
10961
10961
|
const Hp = (e) => (t, n) => {
|
|
10962
|
-
e &&
|
|
10962
|
+
e && mt.postRender(() => e(t, n));
|
|
10963
10963
|
};
|
|
10964
10964
|
class Vw extends Qr {
|
|
10965
10965
|
constructor() {
|
|
@@ -10978,7 +10978,7 @@ class Vw extends Qr {
|
|
|
10978
10978
|
onStart: Hp(n),
|
|
10979
10979
|
onMove: r,
|
|
10980
10980
|
onEnd: (i, a) => {
|
|
10981
|
-
delete this.session, o &&
|
|
10981
|
+
delete this.session, o && mt.postRender(() => o(i, a));
|
|
10982
10982
|
}
|
|
10983
10983
|
};
|
|
10984
10984
|
}
|
|
@@ -11067,7 +11067,7 @@ class Zw extends F4 {
|
|
|
11067
11067
|
}
|
|
11068
11068
|
getSnapshotBeforeUpdate(t) {
|
|
11069
11069
|
const { layoutDependency: n, visualElement: r, drag: o, isPresent: i } = this.props, a = r.projection;
|
|
11070
|
-
return a && (a.isPresent = i, o || t.layoutDependency !== n || n === void 0 ? a.willUpdate() : this.safeToRemove(), t.isPresent !== i && (i ? a.promote() : a.relegate() ||
|
|
11070
|
+
return a && (a.isPresent = i, o || t.layoutDependency !== n || n === void 0 ? a.willUpdate() : this.safeToRemove(), t.isPresent !== i && (i ? a.promote() : a.relegate() || mt.postRender(() => {
|
|
11071
11071
|
const s = a.getStack();
|
|
11072
11072
|
(!s || !s.members.length) && this.safeToRemove();
|
|
11073
11073
|
}))), null;
|
|
@@ -11270,7 +11270,7 @@ function sS(e, t) {
|
|
|
11270
11270
|
const i = o - n;
|
|
11271
11271
|
i >= t && (Xr(r), e(i - t));
|
|
11272
11272
|
};
|
|
11273
|
-
return
|
|
11273
|
+
return mt.read(r, !0), () => Xr(r);
|
|
11274
11274
|
}
|
|
11275
11275
|
function cS(e) {
|
|
11276
11276
|
return e instanceof SVGElement && e.tagName !== "svg";
|
|
@@ -11299,7 +11299,7 @@ function X2(e) {
|
|
|
11299
11299
|
const n = A2(t);
|
|
11300
11300
|
if (window.MotionHasOptimisedAnimation(n, "transform")) {
|
|
11301
11301
|
const { layout: o, layoutId: i } = e.options;
|
|
11302
|
-
window.MotionCancelOptimisedAnimation(n, "transform",
|
|
11302
|
+
window.MotionCancelOptimisedAnimation(n, "transform", mt, !(o || i));
|
|
11303
11303
|
}
|
|
11304
11304
|
const { parent: r } = e;
|
|
11305
11305
|
r && !r.hasCheckedOptimisedAppear && X2(r);
|
|
@@ -11420,10 +11420,10 @@ function J2({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
11420
11420
|
this.nodes.forEach(gS), this.sharedNodes.forEach(wS);
|
|
11421
11421
|
}
|
|
11422
11422
|
scheduleUpdateProjection() {
|
|
11423
|
-
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0,
|
|
11423
|
+
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, mt.preRender(this.updateProjection, !1, !0));
|
|
11424
11424
|
}
|
|
11425
11425
|
scheduleCheckAfterUnmount() {
|
|
11426
|
-
|
|
11426
|
+
mt.postRender(() => {
|
|
11427
11427
|
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
|
|
11428
11428
|
});
|
|
11429
11429
|
}
|
|
@@ -11616,7 +11616,7 @@ function J2({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
11616
11616
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
11617
11617
|
}
|
|
11618
11618
|
startAnimation(a) {
|
|
11619
|
-
this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (Xr(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation =
|
|
11619
|
+
this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (Xr(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = mt.update(() => {
|
|
11620
11620
|
Os.hasAnimatedSinceResize = !0, this.currentAnimation = lS(0, i1, {
|
|
11621
11621
|
...a,
|
|
11622
11622
|
onUpdate: (s) => {
|
|
@@ -11896,7 +11896,7 @@ function p1(e, t, n) {
|
|
|
11896
11896
|
const { props: r } = e;
|
|
11897
11897
|
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
|
|
11898
11898
|
const o = "onHover" + n, i = r[o];
|
|
11899
|
-
i &&
|
|
11899
|
+
i && mt.postRender(() => i(t, Ba(t)));
|
|
11900
11900
|
}
|
|
11901
11901
|
class ES extends Qr {
|
|
11902
11902
|
mount() {
|
|
@@ -11932,7 +11932,7 @@ function h1(e, t, n) {
|
|
|
11932
11932
|
const { props: r } = e;
|
|
11933
11933
|
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
|
|
11934
11934
|
const o = "onTap" + (n === "End" ? "" : n), i = r[o];
|
|
11935
|
-
i &&
|
|
11935
|
+
i && mt.postRender(() => i(t, Ba(t)));
|
|
11936
11936
|
}
|
|
11937
11937
|
class MS extends Qr {
|
|
11938
11938
|
mount() {
|
|
@@ -12428,7 +12428,7 @@ const $d = (e) => typeof e == "string" && e.toLowerCase() === "svg", lk = {
|
|
|
12428
12428
|
scrapeMotionValuesFromProps: lm,
|
|
12429
12429
|
createRenderState: dm,
|
|
12430
12430
|
onMount: (e, t, { renderState: n, latestValues: r }) => {
|
|
12431
|
-
|
|
12431
|
+
mt.read(() => {
|
|
12432
12432
|
try {
|
|
12433
12433
|
n.dimensions = typeof t.getBBox == "function" ? t.getBBox() : t.getBoundingClientRect();
|
|
12434
12434
|
} catch {
|
|
@@ -12439,7 +12439,7 @@ const $d = (e) => typeof e == "string" && e.toLowerCase() === "svg", lk = {
|
|
|
12439
12439
|
height: 0
|
|
12440
12440
|
};
|
|
12441
12441
|
}
|
|
12442
|
-
}),
|
|
12442
|
+
}), mt.render(() => {
|
|
12443
12443
|
Id(n, r, $d(t.tagName), e.transformTemplate), sm(t, n);
|
|
12444
12444
|
});
|
|
12445
12445
|
}
|
|
@@ -12607,7 +12607,7 @@ class kk {
|
|
|
12607
12607
|
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
|
|
12608
12608
|
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
|
|
12609
12609
|
const p = lr.now();
|
|
12610
|
-
this.renderScheduledAt < p && (this.renderScheduledAt = p,
|
|
12610
|
+
this.renderScheduledAt < p && (this.renderScheduledAt = p, mt.render(this.render, !1, !0));
|
|
12611
12611
|
};
|
|
12612
12612
|
const { latestValues: c, renderState: l } = a;
|
|
12613
12613
|
this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = n.initial ? { ...c } : {}, this.renderState = l, this.parent = t, this.props = n, this.presenceContext = r, this.depth = t ? t.depth + 1 : 0, this.reducedMotionConfig = o, this.options = s, this.blockInitialAnimation = !!i, this.isControllingVariants = _c(n), this.isVariantNode = om(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(t && t.current);
|
|
@@ -12633,7 +12633,7 @@ class kk {
|
|
|
12633
12633
|
bindToMotionValue(t, n) {
|
|
12634
12634
|
this.valueSubscriptions.has(t) && this.valueSubscriptions.get(t)();
|
|
12635
12635
|
const r = To.has(t), o = n.on("change", (s) => {
|
|
12636
|
-
this.latestValues[t] = s, this.props.onUpdate &&
|
|
12636
|
+
this.latestValues[t] = s, this.props.onUpdate && mt.preRender(this.notifyUpdate), r && this.projection && (this.projection.isTransformDirty = !0);
|
|
12637
12637
|
}), i = n.on("renderRequest", this.scheduleRender);
|
|
12638
12638
|
let a;
|
|
12639
12639
|
window.MotionCheckAppearSync && (a = window.MotionCheckAppearSync(this, t, n)), this.valueSubscriptions.set(t, () => {
|
|
@@ -14252,9 +14252,9 @@ function L_(e) {
|
|
|
14252
14252
|
disabled: !!t,
|
|
14253
14253
|
"aria-expanded": !!m,
|
|
14254
14254
|
"aria-controls": d,
|
|
14255
|
-
onClick:
|
|
14256
|
-
onFocus:
|
|
14257
|
-
onKeyDown:
|
|
14255
|
+
onClick: Lt(F.onClick, S),
|
|
14256
|
+
onFocus: Lt(F.onFocus, x),
|
|
14257
|
+
onKeyDown: Lt(F.onKeyDown, _)
|
|
14258
14258
|
};
|
|
14259
14259
|
},
|
|
14260
14260
|
[
|
|
@@ -14707,7 +14707,7 @@ const Y_ = {
|
|
|
14707
14707
|
src: i,
|
|
14708
14708
|
srcSet: a,
|
|
14709
14709
|
loading: m,
|
|
14710
|
-
onLoad:
|
|
14710
|
+
onLoad: Lt(d, () => {
|
|
14711
14711
|
o(!0);
|
|
14712
14712
|
}),
|
|
14713
14713
|
onError: u,
|
|
@@ -14727,13 +14727,13 @@ const Y_ = {
|
|
|
14727
14727
|
);
|
|
14728
14728
|
});
|
|
14729
14729
|
Lm.displayName = "Avatar";
|
|
14730
|
-
const
|
|
14731
|
-
|
|
14730
|
+
const Dt = ve("div");
|
|
14731
|
+
Dt.displayName = "Box";
|
|
14732
14732
|
const Bm = Te(
|
|
14733
14733
|
function(t, n) {
|
|
14734
14734
|
const { size: r, centerContent: o = !0, ...i } = t, a = o ? { display: "flex", alignItems: "center", justifyContent: "center" } : {};
|
|
14735
14735
|
return /* @__PURE__ */ f.jsx(
|
|
14736
|
-
|
|
14736
|
+
Dt,
|
|
14737
14737
|
{
|
|
14738
14738
|
ref: n,
|
|
14739
14739
|
boxSize: r,
|
|
@@ -15084,8 +15084,8 @@ function rT(e) {
|
|
|
15084
15084
|
isReadOnly: o ?? c ?? (t == null ? void 0 : t.isReadOnly),
|
|
15085
15085
|
isRequired: i ?? a ?? (t == null ? void 0 : t.isRequired),
|
|
15086
15086
|
isInvalid: s ?? (t == null ? void 0 : t.isInvalid),
|
|
15087
|
-
onFocus:
|
|
15088
|
-
onBlur:
|
|
15087
|
+
onFocus: Lt(t == null ? void 0 : t.onFocus, u),
|
|
15088
|
+
onBlur: Lt(t == null ? void 0 : t.onBlur, d)
|
|
15089
15089
|
};
|
|
15090
15090
|
}
|
|
15091
15091
|
const Wm = Te(
|
|
@@ -15164,7 +15164,7 @@ function Hm(e, t, n, r) {
|
|
|
15164
15164
|
if (gs(e) && un(t))
|
|
15165
15165
|
return t;
|
|
15166
15166
|
}
|
|
15167
|
-
const
|
|
15167
|
+
const bt = Te(function(t, n) {
|
|
15168
15168
|
const { direction: r, align: o, justify: i, wrap: a, basis: s, grow: c, shrink: l, ...u } = t, d = {
|
|
15169
15169
|
display: "flex",
|
|
15170
15170
|
flexDirection: r,
|
|
@@ -15177,7 +15177,7 @@ const mt = Te(function(t, n) {
|
|
|
15177
15177
|
};
|
|
15178
15178
|
return /* @__PURE__ */ f.jsx(ve.div, { ref: n, __css: d, ...u });
|
|
15179
15179
|
});
|
|
15180
|
-
|
|
15180
|
+
bt.displayName = "Flex";
|
|
15181
15181
|
function cT(e, t) {
|
|
15182
15182
|
if (e == null) return {};
|
|
15183
15183
|
var n = {};
|
|
@@ -18574,8 +18574,8 @@ function gA(e = {}, t = null) {
|
|
|
18574
18574
|
"aria-expanded": n.isOpen,
|
|
18575
18575
|
"aria-haspopup": "menu",
|
|
18576
18576
|
"aria-controls": n.menuId,
|
|
18577
|
-
onClick:
|
|
18578
|
-
onKeyDown:
|
|
18577
|
+
onClick: Lt(e.onClick, r),
|
|
18578
|
+
onKeyDown: Lt(e.onKeyDown, c)
|
|
18579
18579
|
};
|
|
18580
18580
|
}
|
|
18581
18581
|
function Au(e) {
|
|
@@ -18670,7 +18670,7 @@ function vA(e = {}, t = null) {
|
|
|
18670
18670
|
transformOrigin: "var(--popper-transform-origin)"
|
|
18671
18671
|
},
|
|
18672
18672
|
"aria-orientation": "vertical",
|
|
18673
|
-
onKeyDown:
|
|
18673
|
+
onKeyDown: Lt(e.onKeyDown, m)
|
|
18674
18674
|
};
|
|
18675
18675
|
}
|
|
18676
18676
|
function bA(e = {}) {
|
|
@@ -19039,7 +19039,7 @@ function IA(e) {
|
|
|
19039
19039
|
"aria-modal": !0,
|
|
19040
19040
|
"aria-labelledby": b ? p : void 0,
|
|
19041
19041
|
"aria-describedby": _ ? h : void 0,
|
|
19042
|
-
onClick:
|
|
19042
|
+
onClick: Lt(
|
|
19043
19043
|
F.onClick,
|
|
19044
19044
|
(Y) => Y.stopPropagation()
|
|
19045
19045
|
)
|
|
@@ -19054,9 +19054,9 @@ function IA(e) {
|
|
|
19054
19054
|
(F = {}, L = null) => ({
|
|
19055
19055
|
...F,
|
|
19056
19056
|
ref: hn(L, u),
|
|
19057
|
-
onClick:
|
|
19058
|
-
onKeyDown:
|
|
19059
|
-
onMouseDown:
|
|
19057
|
+
onClick: Lt(F.onClick, j),
|
|
19058
|
+
onKeyDown: Lt(F.onKeyDown, C),
|
|
19059
|
+
onMouseDown: Lt(F.onMouseDown, g)
|
|
19060
19060
|
}),
|
|
19061
19061
|
[C, g, j]
|
|
19062
19062
|
);
|
|
@@ -19718,7 +19718,7 @@ const a4 = Te(
|
|
|
19718
19718
|
ref: t,
|
|
19719
19719
|
__css: s.closeButton,
|
|
19720
19720
|
className: a,
|
|
19721
|
-
onClick:
|
|
19721
|
+
onClick: Lt(n, (c) => {
|
|
19722
19722
|
c.stopPropagation(), i();
|
|
19723
19723
|
}),
|
|
19724
19724
|
...o
|
|
@@ -20362,13 +20362,13 @@ function LE(e = {}) {
|
|
|
20362
20362
|
(H = {}, je = null) => ({
|
|
20363
20363
|
...H,
|
|
20364
20364
|
ref: hn(z, je, L),
|
|
20365
|
-
onPointerEnter:
|
|
20365
|
+
onPointerEnter: Lt(H.onPointerEnter, (I) => {
|
|
20366
20366
|
I.pointerType !== "touch" && $();
|
|
20367
20367
|
}),
|
|
20368
|
-
onClick:
|
|
20369
|
-
onPointerDown:
|
|
20370
|
-
onFocus:
|
|
20371
|
-
onBlur:
|
|
20368
|
+
onClick: Lt(H.onClick, G),
|
|
20369
|
+
onPointerDown: Lt(H.onPointerDown, ee),
|
|
20370
|
+
onFocus: Lt(H.onFocus, $),
|
|
20371
|
+
onBlur: Lt(H.onBlur, y),
|
|
20372
20372
|
"aria-describedby": j ? X : void 0
|
|
20373
20373
|
}),
|
|
20374
20374
|
[
|
|
@@ -21070,9 +21070,9 @@ const hR = ({
|
|
|
21070
21070
|
d: "M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"
|
|
21071
21071
|
}), mR = ({ steps: e, color: t, onStepClick: n, activeStep: r }) => {
|
|
21072
21072
|
const [o, i, a] = jc("colors", [t, "black.400", "black.100"]), s = Ht(o, 0.3)({});
|
|
21073
|
-
return /* @__PURE__ */ f.jsx(
|
|
21073
|
+
return /* @__PURE__ */ f.jsx(bt, { align: "center", justify: "start", width: "100%", children: e.map((c, l) => /* @__PURE__ */ f.jsxs(bt, { align: "center", flex: "1", w: "100%", children: [
|
|
21074
21074
|
/* @__PURE__ */ f.jsxs(
|
|
21075
|
-
|
|
21075
|
+
bt,
|
|
21076
21076
|
{
|
|
21077
21077
|
maxW: "120px",
|
|
21078
21078
|
align: "center",
|
|
@@ -23073,11 +23073,11 @@ function E4() {
|
|
|
23073
23073
|
}, [N, u, j]), le = oe(function(W, ne) {
|
|
23074
23074
|
var re = [], ae = [];
|
|
23075
23075
|
W.forEach(function(Me) {
|
|
23076
|
-
var pt = k4(Me, L), nt = Ll(pt, 2), yt = nt[0],
|
|
23076
|
+
var pt = k4(Me, L), nt = Ll(pt, 2), yt = nt[0], It = nt[1], Yt = _4(Me, a, i), st = Ll(Yt, 2), Et = st[0], qt = st[1], zn = F ? F(Me) : null;
|
|
23077
23077
|
if (yt && Et && !zn)
|
|
23078
23078
|
re.push(Me);
|
|
23079
23079
|
else {
|
|
23080
|
-
var rn = [
|
|
23080
|
+
var rn = [It, qt];
|
|
23081
23081
|
zn && (rn = rn.concat(zn)), ae.push({
|
|
23082
23082
|
file: Me,
|
|
23083
23083
|
errors: rn.filter(function(gn) {
|
|
@@ -23151,13 +23151,13 @@ function E4() {
|
|
|
23151
23151
|
j && ne.stopPropagation();
|
|
23152
23152
|
}, _e = We(function() {
|
|
23153
23153
|
return function() {
|
|
23154
|
-
var W = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, ne = W.refKey, re = ne === void 0 ? "ref" : ne, ae = W.role, Me = W.onKeyDown, pt = W.onFocus, nt = W.onBlur, yt = W.onClick,
|
|
23154
|
+
var W = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, ne = W.refKey, re = ne === void 0 ? "ref" : ne, ae = W.role, Me = W.onKeyDown, pt = W.onFocus, nt = W.onBlur, yt = W.onClick, It = W.onDragEnter, Yt = W.onDragOver, st = W.onDragLeave, Et = W.onDrop, qt = ac(W, rM);
|
|
23155
23155
|
return xt(xt($u({
|
|
23156
23156
|
onKeyDown: xe(Qn(Me, je)),
|
|
23157
23157
|
onFocus: xe(Qn(pt, Ie)),
|
|
23158
23158
|
onBlur: xe(Qn(nt, I)),
|
|
23159
23159
|
onClick: ie(Qn(yt, q)),
|
|
23160
|
-
onDragEnter: fe(Qn(
|
|
23160
|
+
onDragEnter: fe(Qn(It, ee)),
|
|
23161
23161
|
onDragOver: fe(Qn(Yt, te)),
|
|
23162
23162
|
onDragLeave: fe(Qn(st, de)),
|
|
23163
23163
|
onDrop: fe(Qn(Et, ke)),
|
|
@@ -23307,10 +23307,10 @@ const gR = ({
|
|
|
23307
23307
|
accept: S,
|
|
23308
23308
|
maxSize: C
|
|
23309
23309
|
}), D = C ? `Tamaño máximo: ${C / 1024 / 1024} MB` : "Sin límite de tamaño";
|
|
23310
|
-
return /* @__PURE__ */ f.jsxs(
|
|
23311
|
-
/* @__PURE__ */ f.jsx(
|
|
23310
|
+
return /* @__PURE__ */ f.jsxs(Dt, { children: [
|
|
23311
|
+
/* @__PURE__ */ f.jsx(bt, { mt: 4, alignItems: "flex-start", children: /* @__PURE__ */ f.jsx(Ke, { fontSize: "20px", fontWeight: "700", color: u, mb: 2, children: i }) }),
|
|
23312
23312
|
/* @__PURE__ */ f.jsxs(
|
|
23313
|
-
|
|
23313
|
+
Dt,
|
|
23314
23314
|
{
|
|
23315
23315
|
...x(),
|
|
23316
23316
|
py: "70px",
|
|
@@ -23342,7 +23342,7 @@ const gR = ({
|
|
|
23342
23342
|
]
|
|
23343
23343
|
}
|
|
23344
23344
|
),
|
|
23345
|
-
/* @__PURE__ */ f.jsxs(
|
|
23345
|
+
/* @__PURE__ */ f.jsxs(bt, { mt: 4, justifyContent: "space-between", children: [
|
|
23346
23346
|
m && /* @__PURE__ */ f.jsx(Ke, { fontSize: "14px", color: p, children: m }),
|
|
23347
23347
|
D && /* @__PURE__ */ f.jsx(Ke, { fontSize: "14px", color: p, children: D })
|
|
23348
23348
|
] })
|
|
@@ -23800,7 +23800,7 @@ var mM = function(e) {
|
|
|
23800
23800
|
for (var he in w) !$.call(w, he) || ge && (he == "length" || Ao(he, Q)) || U.push(he);
|
|
23801
23801
|
return U;
|
|
23802
23802
|
}
|
|
23803
|
-
function
|
|
23803
|
+
function It(w, M) {
|
|
23804
23804
|
for (var U = w.length; U--; ) if (Ln(w[U][0], M)) return U;
|
|
23805
23805
|
return -1;
|
|
23806
23806
|
}
|
|
@@ -23823,15 +23823,15 @@ var mM = function(e) {
|
|
|
23823
23823
|
}, ae.prototype.clear = function() {
|
|
23824
23824
|
this.__data__ = [];
|
|
23825
23825
|
}, ae.prototype.delete = function(w) {
|
|
23826
|
-
var M = this.__data__, U =
|
|
23826
|
+
var M = this.__data__, U = It(M, w);
|
|
23827
23827
|
return !(U < 0) && (U == M.length - 1 ? M.pop() : le.call(M, U, 1), !0);
|
|
23828
23828
|
}, ae.prototype.get = function(w) {
|
|
23829
|
-
var M = this.__data__, U =
|
|
23829
|
+
var M = this.__data__, U = It(M, w);
|
|
23830
23830
|
return U < 0 ? void 0 : M[U][1];
|
|
23831
23831
|
}, ae.prototype.has = function(w) {
|
|
23832
|
-
return
|
|
23832
|
+
return It(this.__data__, w) > -1;
|
|
23833
23833
|
}, ae.prototype.set = function(w, M) {
|
|
23834
|
-
var U = this.__data__, Q =
|
|
23834
|
+
var U = this.__data__, Q = It(U, w);
|
|
23835
23835
|
return Q < 0 ? U.push([w, M]) : U[Q][1] = M, this;
|
|
23836
23836
|
}, Me.prototype.clear = function() {
|
|
23837
23837
|
this.__data__ = { hash: new re(), map: new (je || ae)(), string: new re() };
|
|
@@ -23889,8 +23889,8 @@ var mM = function(e) {
|
|
|
23889
23889
|
}
|
|
23890
23890
|
function rn(w, M, U, Q, ge) {
|
|
23891
23891
|
return w === M || (w == null || M == null || !Se(w) && !Ne(M) ? w != w && M != M : function(he, Ee, rt, ct, ot, He) {
|
|
23892
|
-
var Jt = Tn(he),
|
|
23893
|
-
Jt || (_t = (_t = vn(he)) == i ? s : _t),
|
|
23892
|
+
var Jt = Tn(he), Ft = Tn(Ee), _t = "[object Array]", Ot = "[object Array]";
|
|
23893
|
+
Jt || (_t = (_t = vn(he)) == i ? s : _t), Ft || (Ot = (Ot = vn(Ee)) == i ? s : Ot);
|
|
23894
23894
|
var bn = _t == s && !be(he), Lr = Ot == s && !be(Ee), Gn = _t == Ot;
|
|
23895
23895
|
if (Gn && !bn) return He || (He = new nt()), Jt || Be(he) ? an(he, Ee, rt, ct, ot, He) : function(Ge, Ze, ji, xr, ro, Qt, Bn) {
|
|
23896
23896
|
switch (ji) {
|
|
@@ -23965,7 +23965,7 @@ var mM = function(e) {
|
|
|
23965
23965
|
}(w)) && (J(w) || be(w) ? G : v).test(_n(w));
|
|
23966
23966
|
}
|
|
23967
23967
|
function to(w) {
|
|
23968
|
-
return typeof w == "function" ? w : w == null ?
|
|
23968
|
+
return typeof w == "function" ? w : w == null ? $t : typeof w == "object" ? Tn(w) ? function(Q, ge) {
|
|
23969
23969
|
return br(Q) && Xt(ge) ? Eo(yr(Q), ge) : function(he) {
|
|
23970
23970
|
var Ee = function(rt, ct, ot) {
|
|
23971
23971
|
var He = rt == null ? void 0 : qt(rt, ct);
|
|
@@ -23974,12 +23974,12 @@ var mM = function(e) {
|
|
|
23974
23974
|
return Ee === void 0 && Ee === ge ? function(rt, ct) {
|
|
23975
23975
|
return rt != null && function(ot, He, Jt) {
|
|
23976
23976
|
He = br(He, ot) ? [He] : zr(He);
|
|
23977
|
-
for (var
|
|
23977
|
+
for (var Ft, _t = -1, Ot = He.length; ++_t < Ot; ) {
|
|
23978
23978
|
var bn = yr(He[_t]);
|
|
23979
|
-
if (!(
|
|
23979
|
+
if (!(Ft = ot != null && Jt(ot, bn))) break;
|
|
23980
23980
|
ot = ot[bn];
|
|
23981
23981
|
}
|
|
23982
|
-
return
|
|
23982
|
+
return Ft || !!(Ot = ot ? ot.length : 0) && ue(Ot) && Ao(bn, Ot) && (Tn(ot) || Oo(ot));
|
|
23983
23983
|
}(rt, ct, zn);
|
|
23984
23984
|
}(he, Q) : rn(ge, Ee, void 0, 3);
|
|
23985
23985
|
};
|
|
@@ -23996,12 +23996,12 @@ var mM = function(e) {
|
|
|
23996
23996
|
var He = ct.length, Jt = He;
|
|
23997
23997
|
if (Ee == null) return !Jt;
|
|
23998
23998
|
for (Ee = Object(Ee); He--; ) {
|
|
23999
|
-
var
|
|
24000
|
-
if (
|
|
23999
|
+
var Ft = ct[He];
|
|
24000
|
+
if (Ft[2] ? Ft[1] !== Ee[Ft[0]] : !(Ft[0] in Ee)) return !1;
|
|
24001
24001
|
}
|
|
24002
24002
|
for (; ++He < Jt; ) {
|
|
24003
|
-
var _t = (
|
|
24004
|
-
if (
|
|
24003
|
+
var _t = (Ft = ct[He])[0], Ot = Ee[_t], bn = Ft[1];
|
|
24004
|
+
if (Ft[2]) {
|
|
24005
24005
|
if (Ot === void 0 && !(_t in Ee)) return !1;
|
|
24006
24006
|
} else {
|
|
24007
24007
|
var Lr = new nt(), Gn;
|
|
@@ -24034,7 +24034,7 @@ var mM = function(e) {
|
|
|
24034
24034
|
if (rt != ct && !(Ee && ct > rt)) return !1;
|
|
24035
24035
|
var ot = he.get(w);
|
|
24036
24036
|
if (ot && he.get(M)) return ot == M;
|
|
24037
|
-
var He = -1, Jt = !0,
|
|
24037
|
+
var He = -1, Jt = !0, Ft = 1 & ge ? new pt() : void 0;
|
|
24038
24038
|
for (he.set(w, M), he.set(M, w); ++He < rt; ) {
|
|
24039
24039
|
var _t = w[He], Ot = M[He];
|
|
24040
24040
|
if (Q) var bn = Ee ? Q(Ot, _t, He, M, w, he) : Q(_t, Ot, He, w, M, he);
|
|
@@ -24043,9 +24043,9 @@ var mM = function(e) {
|
|
|
24043
24043
|
Jt = !1;
|
|
24044
24044
|
break;
|
|
24045
24045
|
}
|
|
24046
|
-
if (
|
|
24046
|
+
if (Ft) {
|
|
24047
24047
|
if (!L(M, function(Lr, Gn) {
|
|
24048
|
-
if (
|
|
24048
|
+
if (!Ft.has(Gn) && (_t === Lr || U(_t, Lr, Q, ge, he))) return Ft.add(Gn);
|
|
24049
24049
|
})) {
|
|
24050
24050
|
Jt = !1;
|
|
24051
24051
|
break;
|
|
@@ -24183,7 +24183,7 @@ var mM = function(e) {
|
|
|
24183
24183
|
function $e(w) {
|
|
24184
24184
|
return T(w) ? yt(w) : on(w);
|
|
24185
24185
|
}
|
|
24186
|
-
function
|
|
24186
|
+
function $t(w) {
|
|
24187
24187
|
return w;
|
|
24188
24188
|
}
|
|
24189
24189
|
o.exports = function(w, M, U) {
|
|
@@ -24490,9 +24490,9 @@ var mM = function(e) {
|
|
|
24490
24490
|
var pt = q.replace(/\D/g, "");
|
|
24491
24491
|
(!y.state.freezeSelection || ae && ae.dialCode.length > pt.length) && (_e = y.props.disableCountryGuess ? ae : y.guessSelectedCountry(pt.substring(0, 6), W, re, Me) || ae, Re = !1), pe = y.formatNumber(pt, _e), _e = _e.dialCode ? _e : ae;
|
|
24492
24492
|
}
|
|
24493
|
-
var nt = I.target.selectionStart, yt = I.target.selectionStart,
|
|
24493
|
+
var nt = I.target.selectionStart, yt = I.target.selectionStart, It = y.state.formattedNumber, Yt = pe.length - It.length;
|
|
24494
24494
|
y.setState({ formattedNumber: pe, freezeSelection: Re, selectedCountry: _e }, function() {
|
|
24495
|
-
Yt > 0 && (yt -= Yt), pe.charAt(pe.length - 1) == ")" ? y.numberInputRef.setSelectionRange(pe.length - 1, pe.length - 1) : yt > 0 &&
|
|
24495
|
+
Yt > 0 && (yt -= Yt), pe.charAt(pe.length - 1) == ")" ? y.numberInputRef.setSelectionRange(pe.length - 1, pe.length - 1) : yt > 0 && It.length >= pe.length ? y.numberInputRef.setSelectionRange(yt, yt) : nt < It.length && y.numberInputRef.setSelectionRange(nt, nt), fe && fe(pe.replace(/[^0-9]+/g, ""), y.getCountryData(), I, pe);
|
|
24496
24496
|
});
|
|
24497
24497
|
}
|
|
24498
24498
|
}, y.handleInputClick = function(I) {
|
|
@@ -24609,8 +24609,8 @@ var mM = function(e) {
|
|
|
24609
24609
|
}, key: "flag_no_".concat(Et), "data-flag-key": "flag_no_".concat(Et), className: zn, "data-dial-code": "1", tabIndex: _e ? "-1" : "0", "data-country-code": st.iso2, onClick: function(gn) {
|
|
24610
24610
|
return y.handleFlagItemClick(st, gn);
|
|
24611
24611
|
}, role: "option" }, qt ? { "aria-selected": !0 } : {}), g.a.createElement("div", { className: rn }), g.a.createElement("span", { className: "country-name" }, y.getDropdownCountryName(st)), g.a.createElement("span", { className: "dial-code" }, st.format ? y.formatNumber(st.dialCode, st) : Re + st.dialCode));
|
|
24612
|
-
}),
|
|
24613
|
-
q.length > 0 && (!W || W && !fe.trim()) && yt.splice(q.length, 0,
|
|
24612
|
+
}), It = g.a.createElement("li", { key: "dashes", className: "divider" });
|
|
24613
|
+
q.length > 0 && (!W || W && !fe.trim()) && yt.splice(q.length, 0, It);
|
|
24614
24614
|
var Yt = L()(r({ "country-list": !0, hide: !xe }, y.props.dropdownClass, !0));
|
|
24615
24615
|
return g.a.createElement("ul", { ref: function(st) {
|
|
24616
24616
|
return !W && st && st.focus(), y.dropdownRef = st;
|
|
@@ -24712,7 +24712,7 @@ const gM = /* @__PURE__ */ cc(mM), yR = ({
|
|
|
24712
24712
|
const [u, d] = ze(!0), p = en[c], h = p[200], v = p[300], m = (g, C) => {
|
|
24713
24713
|
o && o(g, C);
|
|
24714
24714
|
};
|
|
24715
|
-
return /* @__PURE__ */ f.jsx(
|
|
24715
|
+
return /* @__PURE__ */ f.jsx(Dt, { children: /* @__PURE__ */ f.jsxs(Ec, { isRequired: l, children: [
|
|
24716
24716
|
/* @__PURE__ */ f.jsxs(Oc, { fontSize: "16px", children: [
|
|
24717
24717
|
i && /* @__PURE__ */ f.jsx(
|
|
24718
24718
|
Mn,
|
|
@@ -24753,8 +24753,8 @@ const gM = /* @__PURE__ */ cc(mM), yR = ({
|
|
|
24753
24753
|
)
|
|
24754
24754
|
] }),
|
|
24755
24755
|
i && u && t && /* @__PURE__ */ f.jsx(Ke, { fontSize: "14px", color: "gray.500", mb: "10px", textAlign: "start", children: t }),
|
|
24756
|
-
/* @__PURE__ */ f.jsx(
|
|
24757
|
-
|
|
24756
|
+
/* @__PURE__ */ f.jsx(bt, { wrap: "wrap", mb: 2, gap: 4, children: n.map((g, C) => /* @__PURE__ */ f.jsx(
|
|
24757
|
+
Dt,
|
|
24758
24758
|
{
|
|
24759
24759
|
flexBasis: { base: "100%", sm: "48%" },
|
|
24760
24760
|
children: /* @__PURE__ */ f.jsx(
|
|
@@ -24796,7 +24796,7 @@ const gM = /* @__PURE__ */ cc(mM), yR = ({
|
|
|
24796
24796
|
info: bO,
|
|
24797
24797
|
warning: h0
|
|
24798
24798
|
};
|
|
24799
|
-
return e === "custom" ? /* @__PURE__ */ f.jsx("div", { className: `${Sr.toast} ${Sr.customToast}`, children: /* @__PURE__ */ f.jsxs(
|
|
24799
|
+
return e === "custom" ? /* @__PURE__ */ f.jsx("div", { className: `${Sr.toast} ${Sr.customToast}`, children: /* @__PURE__ */ f.jsxs(bt, { direction: "row", align: "center", flex: "1", children: [
|
|
24800
24800
|
r && /* @__PURE__ */ f.jsx("div", { className: Sr.customContent, children: r }),
|
|
24801
24801
|
o && /* @__PURE__ */ f.jsx(
|
|
24802
24802
|
ur,
|
|
@@ -24810,9 +24810,9 @@ const gM = /* @__PURE__ */ cc(mM), yR = ({
|
|
|
24810
24810
|
children: /* @__PURE__ */ f.jsx(p0, { boxSize: 4 })
|
|
24811
24811
|
}
|
|
24812
24812
|
)
|
|
24813
|
-
] }) }) : /* @__PURE__ */ f.jsx("div", { className: `${Sr.toast} ${Sr[e]}`, children: /* @__PURE__ */ f.jsxs(
|
|
24813
|
+
] }) }) : /* @__PURE__ */ f.jsx("div", { className: `${Sr.toast} ${Sr[e]}`, children: /* @__PURE__ */ f.jsxs(bt, { direction: "row", align: "center", flex: "1", children: [
|
|
24814
24814
|
/* @__PURE__ */ f.jsx(Fn, { as: i[e], className: Sr.toastIcon, boxSize: 6 }),
|
|
24815
|
-
/* @__PURE__ */ f.jsxs(
|
|
24815
|
+
/* @__PURE__ */ f.jsxs(bt, { direction: "column", flex: "1", ml: 3, children: [
|
|
24816
24816
|
/* @__PURE__ */ f.jsx(Ke, { className: Sr.toastText, children: t }),
|
|
24817
24817
|
n && /* @__PURE__ */ f.jsx(Ke, { mt: 1, children: n })
|
|
24818
24818
|
] }),
|
|
@@ -24849,7 +24849,7 @@ const gM = /* @__PURE__ */ cc(mM), yR = ({
|
|
|
24849
24849
|
};
|
|
24850
24850
|
}, CR = ({ message: e, userImage: t, timestamp: n, isError: r = !1, userName: o = "User" }) => /* @__PURE__ */ f.jsxs(la, { justify: "flex-end", spacing: 2, w: "100%", py: 2, children: [
|
|
24851
24851
|
/* @__PURE__ */ f.jsxs(
|
|
24852
|
-
|
|
24852
|
+
Dt,
|
|
24853
24853
|
{
|
|
24854
24854
|
bg: "white.100",
|
|
24855
24855
|
color: "black",
|
|
@@ -24961,7 +24961,7 @@ const gM = /* @__PURE__ */ cc(mM), yR = ({
|
|
|
24961
24961
|
return /* @__PURE__ */ f.jsxs(Fr, { align: "flex-start", spacing: 2, w: "100%", py: 2, children: [
|
|
24962
24962
|
/* @__PURE__ */ f.jsxs(la, { spacing: 2, w: "100%", children: [
|
|
24963
24963
|
/* @__PURE__ */ f.jsx(
|
|
24964
|
-
|
|
24964
|
+
Dt,
|
|
24965
24965
|
{
|
|
24966
24966
|
display: "flex",
|
|
24967
24967
|
alignItems: "center",
|
|
@@ -24974,7 +24974,7 @@ const gM = /* @__PURE__ */ cc(mM), yR = ({
|
|
|
24974
24974
|
}
|
|
24975
24975
|
),
|
|
24976
24976
|
/* @__PURE__ */ f.jsx(
|
|
24977
|
-
|
|
24977
|
+
Dt,
|
|
24978
24978
|
{
|
|
24979
24979
|
bg: "transparent",
|
|
24980
24980
|
color: "black",
|
|
@@ -24984,7 +24984,7 @@ const gM = /* @__PURE__ */ cc(mM), yR = ({
|
|
|
24984
24984
|
border: d,
|
|
24985
24985
|
borderColor: u,
|
|
24986
24986
|
borderRadius: "50px",
|
|
24987
|
-
children: /* @__PURE__ */ f.jsxs(
|
|
24987
|
+
children: /* @__PURE__ */ f.jsxs(bt, { justify: "space-between", align: "center", w: "100%", children: [
|
|
24988
24988
|
/* @__PURE__ */ f.jsx(
|
|
24989
24989
|
Ke,
|
|
24990
24990
|
{
|
|
@@ -25309,12 +25309,12 @@ const gM = /* @__PURE__ */ cc(mM), yR = ({
|
|
|
25309
25309
|
},
|
|
25310
25310
|
children: [
|
|
25311
25311
|
/* @__PURE__ */ f.jsx(
|
|
25312
|
-
|
|
25312
|
+
Dt,
|
|
25313
25313
|
{
|
|
25314
25314
|
fontSize: "2xl",
|
|
25315
25315
|
as: "div",
|
|
25316
25316
|
children: /* @__PURE__ */ f.jsx(
|
|
25317
|
-
|
|
25317
|
+
bt,
|
|
25318
25318
|
{
|
|
25319
25319
|
w: "42px",
|
|
25320
25320
|
h: "42px",
|
|
@@ -25871,7 +25871,7 @@ const SR = ({
|
|
|
25871
25871
|
window.location.href = u ? "https://hub.canaia.ai/settings" : "https://staging.hub.canaia.ai";
|
|
25872
25872
|
});
|
|
25873
25873
|
return /* @__PURE__ */ f.jsx(
|
|
25874
|
-
|
|
25874
|
+
Dt,
|
|
25875
25875
|
{
|
|
25876
25876
|
position: "fixed",
|
|
25877
25877
|
top: "0",
|
|
@@ -25883,8 +25883,8 @@ const SR = ({
|
|
|
25883
25883
|
pt: "14px",
|
|
25884
25884
|
pb: "14px",
|
|
25885
25885
|
px: { base: "10px", md: "24px" },
|
|
25886
|
-
children: /* @__PURE__ */ f.jsxs(
|
|
25887
|
-
/* @__PURE__ */ f.jsxs(
|
|
25886
|
+
children: /* @__PURE__ */ f.jsxs(bt, { justify: "space-between", align: "center", children: [
|
|
25887
|
+
/* @__PURE__ */ f.jsxs(bt, { align: "center", children: [
|
|
25888
25888
|
/* @__PURE__ */ f.jsxs(Qs, { children: [
|
|
25889
25889
|
/* @__PURE__ */ f.jsx(
|
|
25890
25890
|
ec,
|
|
@@ -25909,11 +25909,11 @@ const SR = ({
|
|
|
25909
25909
|
borderRadius: "lg",
|
|
25910
25910
|
boxShadow: "lg",
|
|
25911
25911
|
bg: "white",
|
|
25912
|
-
children: /* @__PURE__ */ f.jsx(
|
|
25912
|
+
children: /* @__PURE__ */ f.jsx(bt, { wrap: "wrap", maxW: "300px", justify: "flex-start", children: /* @__PURE__ */ f.jsx(HM, { isProduction: u, showMenuItems: d, platform: e }) })
|
|
25913
25913
|
}
|
|
25914
25914
|
)
|
|
25915
25915
|
] }),
|
|
25916
|
-
/* @__PURE__ */ f.jsx(
|
|
25916
|
+
/* @__PURE__ */ f.jsx(Dt, { as: "a", onClick: i, cursor: "pointer", children: /* @__PURE__ */ f.jsx(XM, { platform: e }) })
|
|
25917
25917
|
] }),
|
|
25918
25918
|
/* @__PURE__ */ f.jsxs(Qs, { children: [
|
|
25919
25919
|
/* @__PURE__ */ f.jsx(
|
|
@@ -25934,8 +25934,8 @@ const SR = ({
|
|
|
25934
25934
|
borderColor: p,
|
|
25935
25935
|
boxShadow: "0 0 0 3px rgba(66, 153, 225, 0.6)"
|
|
25936
25936
|
},
|
|
25937
|
-
children: /* @__PURE__ */ f.jsx(Fr, { align: "flex-end", spacing: 0, children: /* @__PURE__ */ f.jsxs(
|
|
25938
|
-
/* @__PURE__ */ f.jsx(
|
|
25937
|
+
children: /* @__PURE__ */ f.jsx(Fr, { align: "flex-end", spacing: 0, children: /* @__PURE__ */ f.jsxs(bt, { align: "center", gap: "10px", children: [
|
|
25938
|
+
/* @__PURE__ */ f.jsx(Dt, { as: QM, color: t, size: 18 }),
|
|
25939
25939
|
/* @__PURE__ */ f.jsx(Ke, { color: t, fontSize: "md", fontWeight: "medium", marginRight: 2, children: a }),
|
|
25940
25940
|
/* @__PURE__ */ f.jsx(vf, { color: t })
|
|
25941
25941
|
] }) })
|
|
@@ -25960,7 +25960,7 @@ const SR = ({
|
|
|
25960
25960
|
bg: "transparent",
|
|
25961
25961
|
color: m
|
|
25962
25962
|
},
|
|
25963
|
-
children: /* @__PURE__ */ f.jsxs(
|
|
25963
|
+
children: /* @__PURE__ */ f.jsxs(bt, { align: "center", gap: "10px", children: [
|
|
25964
25964
|
/* @__PURE__ */ f.jsx(aO, { size: 24 }),
|
|
25965
25965
|
/* @__PURE__ */ f.jsx(Ke, { children: s })
|
|
25966
25966
|
] })
|
|
@@ -25978,7 +25978,7 @@ const SR = ({
|
|
|
25978
25978
|
bg: "transparent",
|
|
25979
25979
|
color: m
|
|
25980
25980
|
},
|
|
25981
|
-
children: /* @__PURE__ */ f.jsxs(
|
|
25981
|
+
children: /* @__PURE__ */ f.jsxs(bt, { align: "center", gap: "10px", children: [
|
|
25982
25982
|
/* @__PURE__ */ f.jsx(oO, { size: 24 }),
|
|
25983
25983
|
/* @__PURE__ */ f.jsx(Ke, { children: l })
|
|
25984
25984
|
] })
|
|
@@ -25996,7 +25996,7 @@ const SR = ({
|
|
|
25996
25996
|
bg: "transparent",
|
|
25997
25997
|
color: m
|
|
25998
25998
|
},
|
|
25999
|
-
children: /* @__PURE__ */ f.jsxs(
|
|
25999
|
+
children: /* @__PURE__ */ f.jsxs(bt, { align: "center", gap: "10px", children: [
|
|
26000
26000
|
/* @__PURE__ */ f.jsx(eR, { size: 24 }),
|
|
26001
26001
|
/* @__PURE__ */ f.jsx(Ke, { children: c })
|
|
26002
26002
|
] })
|
|
@@ -26018,7 +26018,7 @@ const SR = ({
|
|
|
26018
26018
|
}, i = (a) => {
|
|
26019
26019
|
a.key === "Enter" && (a.preventDefault(), o());
|
|
26020
26020
|
};
|
|
26021
|
-
return /* @__PURE__ */ f.jsx(
|
|
26021
|
+
return /* @__PURE__ */ f.jsx(Dt, { w: "100%", children: /* @__PURE__ */ f.jsxs(P3, { children: [
|
|
26022
26022
|
/* @__PURE__ */ f.jsx(
|
|
26023
26023
|
Va,
|
|
26024
26024
|
{
|
|
@@ -26069,7 +26069,7 @@ const SR = ({
|
|
|
26069
26069
|
i((u) => !u);
|
|
26070
26070
|
};
|
|
26071
26071
|
return /* @__PURE__ */ f.jsx(
|
|
26072
|
-
|
|
26072
|
+
Dt,
|
|
26073
26073
|
{
|
|
26074
26074
|
bg: en.white[100],
|
|
26075
26075
|
color: en.black[400],
|
|
@@ -26182,7 +26182,7 @@ const SR = ({
|
|
|
26182
26182
|
/* @__PURE__ */ f.jsx(a4, { _hover: { backgroundColor: "white.100" } }),
|
|
26183
26183
|
/* @__PURE__ */ f.jsxs(i4, { fontSize: "1rem", children: [
|
|
26184
26184
|
n,
|
|
26185
|
-
/* @__PURE__ */ f.jsxs(
|
|
26185
|
+
/* @__PURE__ */ f.jsxs(bt, { justifyContent: "center", marginTop: "1rem", children: [
|
|
26186
26186
|
/* @__PURE__ */ f.jsx(
|
|
26187
26187
|
ur,
|
|
26188
26188
|
{
|
|
@@ -26221,7 +26221,7 @@ const SR = ({
|
|
|
26221
26221
|
);
|
|
26222
26222
|
}, jR = ({ items: e }) => /* @__PURE__ */ f.jsx(Fr, { border: "2px dashed", borderColor: "talent.500", borderRadius: "1px", width: "50%", padding: ".5rem", children: /* @__PURE__ */ f.jsx(Am, { defaultIndex: [0], allowMultiple: !0, width: "100%", children: e.map((t, n) => /* @__PURE__ */ f.jsxs(Mm, { border: "none", children: [
|
|
26223
26223
|
/* @__PURE__ */ f.jsx("h2", { children: /* @__PURE__ */ f.jsxs(Em, { children: [
|
|
26224
|
-
/* @__PURE__ */ f.jsx(
|
|
26224
|
+
/* @__PURE__ */ f.jsx(Dt, { as: "span", flex: "1", textAlign: "left", fontSize: "1rem", lineHeight: "1.5rem", fontWeight: 700, children: t.title }),
|
|
26225
26225
|
/* @__PURE__ */ f.jsx(Om, { boxSize: 8 })
|
|
26226
26226
|
] }) }),
|
|
26227
26227
|
/* @__PURE__ */ f.jsx(Dm, { pb: 4, textAlign: "left", children: Array.isArray(t.content) ? /* @__PURE__ */ f.jsx(Rc, { children: t.content.map((r, o) => /* @__PURE__ */ f.jsxs(M3, { display: "flex", alignItems: "center", fontFamily: "Lato-Regular", fontSize: "1rem", fontWeight: 400, margin: ".5rem", children: [
|
|
@@ -26321,7 +26321,7 @@ const ER = ({ type: e = "progress" }) => {
|
|
|
26321
26321
|
t = /* @__PURE__ */ f.jsx(JM, { size: 20, style: { color: "#666666", marginRight: ".5rem", transform: "rotate(90deg)" } }), n = "Inactive", r = "#666666";
|
|
26322
26322
|
break;
|
|
26323
26323
|
}
|
|
26324
|
-
return /* @__PURE__ */ f.jsx(Fr, { children: /* @__PURE__ */ f.jsxs(
|
|
26324
|
+
return /* @__PURE__ */ f.jsx(Fr, { children: /* @__PURE__ */ f.jsxs(bt, { alignItems: "center", children: [
|
|
26325
26325
|
t,
|
|
26326
26326
|
/* @__PURE__ */ f.jsx(Ke, { color: r, fontWeight: "900", fontSize: "1rem", lineHeight: "1.375rem", children: n })
|
|
26327
26327
|
] }) });
|
|
@@ -26331,8 +26331,8 @@ const ER = ({ type: e = "progress" }) => {
|
|
|
26331
26331
|
error: "danger.400",
|
|
26332
26332
|
loading: "info.400"
|
|
26333
26333
|
}[r] || "info.500";
|
|
26334
|
-
return /* @__PURE__ */ f.jsxs(
|
|
26335
|
-
/* @__PURE__ */ f.jsx(
|
|
26334
|
+
return /* @__PURE__ */ f.jsxs(bt, { alignContent: "center", children: [
|
|
26335
|
+
/* @__PURE__ */ f.jsx(bt, { maxWidth: "30rem", width: "100%", alignItems: "center", children: /* @__PURE__ */ f.jsx(u4, { width: "100%", value: e, size: t, backgroundColor: n, borderRadius: ".5rem", padding: ".1rem", sx: {
|
|
26336
26336
|
"& > div": {
|
|
26337
26337
|
backgroundColor: i
|
|
26338
26338
|
// Change the progress bar color
|
|
@@ -26340,13 +26340,13 @@ const ER = ({ type: e = "progress" }) => {
|
|
|
26340
26340
|
} }) }),
|
|
26341
26341
|
/* @__PURE__ */ f.jsx(Ke, { fontWeight: "bold", fontSize: "1rem", marginLeft: "1.75rem", children: o })
|
|
26342
26342
|
] });
|
|
26343
|
-
}, MR = ({ items: e, colorBackground: t, colorTitle: n, colorOption: r }) => /* @__PURE__ */ f.jsx(
|
|
26343
|
+
}, MR = ({ items: e, colorBackground: t, colorTitle: n, colorOption: r }) => /* @__PURE__ */ f.jsx(bt, { backgroundColor: t, maxWidth: "max-content", width: "100%", borderTopLeftRadius: ".75rem", borderTopRightRadius: ".75rem", children: e.map((o, i) => /* @__PURE__ */ f.jsxs(Dt, { maxWidth: "max-content", textAlign: "center", padding: "1rem", children: [
|
|
26344
26344
|
/* @__PURE__ */ f.jsx(Ke, { color: n, fontSize: "1rem", fontWeight: "bold", children: o.title }),
|
|
26345
26345
|
/* @__PURE__ */ f.jsx(Ke, { fontSize: "0.875rem", color: r, paddingTop: ".25rem", children: o.option })
|
|
26346
|
-
] }, i)) }), RR = ({ text: e = "Positive Ranking", value: t = "1,302" }) => /* @__PURE__ */ f.jsxs(
|
|
26346
|
+
] }, i)) }), RR = ({ text: e = "Positive Ranking", value: t = "1,302" }) => /* @__PURE__ */ f.jsxs(Dt, { color: "black.600", maxWidth: "max-content", width: "100%", children: [
|
|
26347
26347
|
/* @__PURE__ */ f.jsx(Ke, { fontSize: "1rem", children: e }),
|
|
26348
26348
|
/* @__PURE__ */ f.jsx(Ke, { fontSize: "1.75rem", fontWeight: "bold", textAlign: "left", marginTop: "0.25rem", children: t })
|
|
26349
|
-
] }), oR = ({ color: e }) => /* @__PURE__ */ f.jsxs(
|
|
26349
|
+
] }), oR = ({ color: e }) => /* @__PURE__ */ f.jsxs(Dt, { position: "relative", width: "89px", height: "89px", children: [
|
|
26350
26350
|
/* @__PURE__ */ f.jsxs(
|
|
26351
26351
|
"svg",
|
|
26352
26352
|
{
|
|
@@ -26417,13 +26417,18 @@ const ER = ({ type: e = "progress" }) => {
|
|
|
26417
26417
|
] }), DR = ({ color: e = "elevate" }) => {
|
|
26418
26418
|
const [t] = jc("colors", [`${e}.500`]);
|
|
26419
26419
|
return /* @__PURE__ */ f.jsx(
|
|
26420
|
-
|
|
26420
|
+
Dt,
|
|
26421
26421
|
{
|
|
26422
|
-
|
|
26423
|
-
|
|
26424
|
-
|
|
26425
|
-
|
|
26422
|
+
position: "fixed",
|
|
26423
|
+
top: 0,
|
|
26424
|
+
left: 0,
|
|
26425
|
+
w: "100vw",
|
|
26426
|
+
h: "100vh",
|
|
26427
|
+
display: "flex",
|
|
26428
|
+
alignItems: "center",
|
|
26429
|
+
justifyContent: "center",
|
|
26426
26430
|
backgroundColor: "rgba(0, 0, 0, 0.15)",
|
|
26431
|
+
zIndex: 1001,
|
|
26427
26432
|
children: /* @__PURE__ */ f.jsx(
|
|
26428
26433
|
oR,
|
|
26429
26434
|
{
|