@redhq/ui 1.10.2 → 1.11.2
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.cjs.js +2 -2
- package/dist/index.es.js +883 -834
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import ie, { createContext as
|
|
3
|
-
function
|
|
1
|
+
import { jsx as G, jsxs as un } from "react/jsx-runtime";
|
|
2
|
+
import ie, { createContext as be, useContext as ce, useState as xe, useCallback as fn, useRef as oe, useLayoutEffect as St, forwardRef as Je, createElement as gt, useMemo as pn, useEffect as ht } from "react";
|
|
3
|
+
function mn(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
function
|
|
9
|
-
if (
|
|
10
|
-
|
|
6
|
+
var $e = { exports: {} }, Ge = { exports: {} }, ee = {};
|
|
7
|
+
var Vt;
|
|
8
|
+
function gn() {
|
|
9
|
+
if (Vt) return ee;
|
|
10
|
+
Vt = 1;
|
|
11
11
|
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, a = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, T = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, u = e ? Symbol.for("react.responder") : 60118, m = e ? Symbol.for("react.scope") : 60119;
|
|
12
12
|
function v(y) {
|
|
13
13
|
if (typeof y == "object" && y !== null) {
|
|
@@ -71,37 +71,37 @@ function fn() {
|
|
|
71
71
|
}, ee.typeOf = v, ee;
|
|
72
72
|
}
|
|
73
73
|
var te = {};
|
|
74
|
-
var
|
|
75
|
-
function
|
|
76
|
-
return
|
|
74
|
+
var Wt;
|
|
75
|
+
function hn() {
|
|
76
|
+
return Wt || (Wt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
77
77
|
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, a = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, T = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, u = e ? Symbol.for("react.responder") : 60118, m = e ? Symbol.for("react.scope") : 60119;
|
|
78
|
-
function v(
|
|
79
|
-
return typeof
|
|
80
|
-
|
|
78
|
+
function v(_) {
|
|
79
|
+
return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
80
|
+
_ === n || _ === d || _ === s || _ === i || _ === c || _ === T || typeof _ == "object" && _ !== null && (_.$$typeof === g || _.$$typeof === f || _.$$typeof === o || _.$$typeof === l || _.$$typeof === p || _.$$typeof === x || _.$$typeof === u || _.$$typeof === m || _.$$typeof === b);
|
|
81
81
|
}
|
|
82
|
-
function E(
|
|
83
|
-
if (typeof
|
|
84
|
-
var ue =
|
|
82
|
+
function E(_) {
|
|
83
|
+
if (typeof _ == "object" && _ !== null) {
|
|
84
|
+
var ue = _.$$typeof;
|
|
85
85
|
switch (ue) {
|
|
86
86
|
case r:
|
|
87
|
-
var
|
|
88
|
-
switch (
|
|
87
|
+
var Be = _.type;
|
|
88
|
+
switch (Be) {
|
|
89
89
|
case a:
|
|
90
90
|
case d:
|
|
91
91
|
case n:
|
|
92
92
|
case s:
|
|
93
93
|
case i:
|
|
94
94
|
case c:
|
|
95
|
-
return
|
|
95
|
+
return Be;
|
|
96
96
|
default:
|
|
97
|
-
var
|
|
98
|
-
switch (
|
|
97
|
+
var Ft = Be && Be.$$typeof;
|
|
98
|
+
switch (Ft) {
|
|
99
99
|
case l:
|
|
100
100
|
case p:
|
|
101
101
|
case g:
|
|
102
102
|
case f:
|
|
103
103
|
case o:
|
|
104
|
-
return
|
|
104
|
+
return Ft;
|
|
105
105
|
default:
|
|
106
106
|
return ue;
|
|
107
107
|
}
|
|
@@ -111,57 +111,57 @@ function pn() {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
var y = a, A = d, L = l, h = o,
|
|
115
|
-
function q(
|
|
116
|
-
return S || (S = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(
|
|
114
|
+
var y = a, A = d, L = l, h = o, z = r, O = p, k = n, R = g, F = f, V = t, Q = s, w = i, M = c, S = !1;
|
|
115
|
+
function q(_) {
|
|
116
|
+
return S || (S = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(_) || E(_) === a;
|
|
117
117
|
}
|
|
118
|
-
function C(
|
|
119
|
-
return E(
|
|
118
|
+
function C(_) {
|
|
119
|
+
return E(_) === d;
|
|
120
120
|
}
|
|
121
|
-
function I(
|
|
122
|
-
return E(
|
|
121
|
+
function I(_) {
|
|
122
|
+
return E(_) === l;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
return E(
|
|
124
|
+
function W(_) {
|
|
125
|
+
return E(_) === o;
|
|
126
126
|
}
|
|
127
|
-
function B(
|
|
128
|
-
return typeof
|
|
127
|
+
function B(_) {
|
|
128
|
+
return typeof _ == "object" && _ !== null && _.$$typeof === r;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
return E(
|
|
130
|
+
function $(_) {
|
|
131
|
+
return E(_) === p;
|
|
132
132
|
}
|
|
133
|
-
function X(
|
|
134
|
-
return E(
|
|
133
|
+
function X(_) {
|
|
134
|
+
return E(_) === n;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
return E(
|
|
136
|
+
function H(_) {
|
|
137
|
+
return E(_) === g;
|
|
138
138
|
}
|
|
139
|
-
function j(
|
|
140
|
-
return E(
|
|
139
|
+
function j(_) {
|
|
140
|
+
return E(_) === f;
|
|
141
141
|
}
|
|
142
|
-
function J(
|
|
143
|
-
return E(
|
|
142
|
+
function J(_) {
|
|
143
|
+
return E(_) === t;
|
|
144
144
|
}
|
|
145
|
-
function Z(
|
|
146
|
-
return E(
|
|
145
|
+
function Z(_) {
|
|
146
|
+
return E(_) === s;
|
|
147
147
|
}
|
|
148
|
-
function U(
|
|
149
|
-
return E(
|
|
148
|
+
function U(_) {
|
|
149
|
+
return E(_) === i;
|
|
150
150
|
}
|
|
151
|
-
function se(
|
|
152
|
-
return E(
|
|
151
|
+
function se(_) {
|
|
152
|
+
return E(_) === c;
|
|
153
153
|
}
|
|
154
|
-
te.AsyncMode = y, te.ConcurrentMode = A, te.ContextConsumer = L, te.ContextProvider = h, te.Element =
|
|
154
|
+
te.AsyncMode = y, te.ConcurrentMode = A, te.ContextConsumer = L, te.ContextProvider = h, te.Element = z, te.ForwardRef = O, te.Fragment = k, te.Lazy = R, te.Memo = F, te.Portal = V, te.Profiler = Q, te.StrictMode = w, te.Suspense = M, te.isAsyncMode = q, te.isConcurrentMode = C, te.isContextConsumer = I, te.isContextProvider = W, te.isElement = B, te.isForwardRef = $, te.isFragment = X, te.isLazy = H, te.isMemo = j, te.isPortal = J, te.isProfiler = Z, te.isStrictMode = U, te.isSuspense = se, te.isValidElementType = v, te.typeOf = E;
|
|
155
155
|
})()), te;
|
|
156
156
|
}
|
|
157
|
-
var
|
|
158
|
-
function
|
|
159
|
-
return
|
|
157
|
+
var Ht;
|
|
158
|
+
function pr() {
|
|
159
|
+
return Ht || (Ht = 1, process.env.NODE_ENV === "production" ? Ge.exports = gn() : Ge.exports = hn()), Ge.exports;
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
function
|
|
163
|
-
if (
|
|
164
|
-
|
|
161
|
+
var et, Yt;
|
|
162
|
+
function vn() {
|
|
163
|
+
if (Yt) return et;
|
|
164
|
+
Yt = 1;
|
|
165
165
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
166
166
|
function n(s) {
|
|
167
167
|
if (s == null)
|
|
@@ -190,7 +190,7 @@ function mn() {
|
|
|
190
190
|
return !1;
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
return
|
|
193
|
+
return et = i() ? Object.assign : function(s, o) {
|
|
194
194
|
for (var l, a = n(s), d, p = 1; p < arguments.length; p++) {
|
|
195
195
|
l = Object(arguments[p]);
|
|
196
196
|
for (var c in l)
|
|
@@ -202,27 +202,27 @@ function mn() {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
return a;
|
|
205
|
-
},
|
|
205
|
+
}, et;
|
|
206
206
|
}
|
|
207
|
-
var
|
|
208
|
-
function
|
|
209
|
-
if (
|
|
210
|
-
|
|
207
|
+
var tt, Xt;
|
|
208
|
+
function Tt() {
|
|
209
|
+
if (Xt) return tt;
|
|
210
|
+
Xt = 1;
|
|
211
211
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
212
|
-
return
|
|
212
|
+
return tt = e, tt;
|
|
213
213
|
}
|
|
214
|
-
var
|
|
215
|
-
function
|
|
216
|
-
return
|
|
214
|
+
var rt, Ut;
|
|
215
|
+
function mr() {
|
|
216
|
+
return Ut || (Ut = 1, rt = Function.call.bind(Object.prototype.hasOwnProperty)), rt;
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
function
|
|
220
|
-
if (
|
|
221
|
-
|
|
218
|
+
var nt, Kt;
|
|
219
|
+
function bn() {
|
|
220
|
+
if (Kt) return nt;
|
|
221
|
+
Kt = 1;
|
|
222
222
|
var e = function() {
|
|
223
223
|
};
|
|
224
224
|
if (process.env.NODE_ENV !== "production") {
|
|
225
|
-
var r = /* @__PURE__ */
|
|
225
|
+
var r = /* @__PURE__ */ Tt(), t = {}, n = /* @__PURE__ */ mr();
|
|
226
226
|
e = function(s) {
|
|
227
227
|
var o = "Warning: " + s;
|
|
228
228
|
typeof console < "u" && console.error(o);
|
|
@@ -262,13 +262,13 @@ function gn() {
|
|
|
262
262
|
}
|
|
263
263
|
return i.resetWarningCache = function() {
|
|
264
264
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
265
|
-
},
|
|
265
|
+
}, nt = i, nt;
|
|
266
266
|
}
|
|
267
|
-
var
|
|
268
|
-
function
|
|
269
|
-
if (
|
|
270
|
-
|
|
271
|
-
var e =
|
|
267
|
+
var it, Jt;
|
|
268
|
+
function yn() {
|
|
269
|
+
if (Jt) return it;
|
|
270
|
+
Jt = 1;
|
|
271
|
+
var e = pr(), r = vn(), t = /* @__PURE__ */ Tt(), n = /* @__PURE__ */ mr(), i = /* @__PURE__ */ bn(), s = function() {
|
|
272
272
|
};
|
|
273
273
|
process.env.NODE_ENV !== "production" && (s = function(l) {
|
|
274
274
|
var a = "Warning: " + l;
|
|
@@ -281,7 +281,7 @@ function hn() {
|
|
|
281
281
|
function o() {
|
|
282
282
|
return null;
|
|
283
283
|
}
|
|
284
|
-
return
|
|
284
|
+
return it = function(l, a) {
|
|
285
285
|
var d = typeof Symbol == "function" && Symbol.iterator, p = "@@iterator";
|
|
286
286
|
function c(C) {
|
|
287
287
|
var I = C && (d && C[d] || C[p]);
|
|
@@ -305,7 +305,7 @@ function hn() {
|
|
|
305
305
|
node: O(),
|
|
306
306
|
objectOf: h,
|
|
307
307
|
oneOf: L,
|
|
308
|
-
oneOfType:
|
|
308
|
+
oneOfType: z,
|
|
309
309
|
shape: R,
|
|
310
310
|
exact: F
|
|
311
311
|
};
|
|
@@ -318,34 +318,34 @@ function hn() {
|
|
|
318
318
|
b.prototype = Error.prototype;
|
|
319
319
|
function x(C) {
|
|
320
320
|
if (process.env.NODE_ENV !== "production")
|
|
321
|
-
var I = {},
|
|
322
|
-
function B(X,
|
|
321
|
+
var I = {}, W = 0;
|
|
322
|
+
function B(X, H, j, J, Z, U, se) {
|
|
323
323
|
if (J = J || T, U = U || j, se !== t) {
|
|
324
324
|
if (a) {
|
|
325
|
-
var
|
|
325
|
+
var _ = new Error(
|
|
326
326
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
327
327
|
);
|
|
328
|
-
throw
|
|
328
|
+
throw _.name = "Invariant Violation", _;
|
|
329
329
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
330
330
|
var ue = J + ":" + j;
|
|
331
331
|
!I[ue] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
332
|
-
|
|
332
|
+
W < 3 && (s(
|
|
333
333
|
"You are manually calling a React.PropTypes validation function for the `" + U + "` prop on `" + J + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
334
|
-
), I[ue] = !0,
|
|
334
|
+
), I[ue] = !0, W++);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
return
|
|
337
|
+
return H[j] == null ? X ? H[j] === null ? new b("The " + Z + " `" + U + "` is marked as required " + ("in `" + J + "`, but its value is `null`.")) : new b("The " + Z + " `" + U + "` is marked as required in " + ("`" + J + "`, but its value is `undefined`.")) : null : C(H, j, J, Z, U);
|
|
338
338
|
}
|
|
339
|
-
var
|
|
340
|
-
return
|
|
339
|
+
var $ = B.bind(null, !1);
|
|
340
|
+
return $.isRequired = B.bind(null, !0), $;
|
|
341
341
|
}
|
|
342
342
|
function u(C) {
|
|
343
|
-
function I(
|
|
344
|
-
var J =
|
|
343
|
+
function I(W, B, $, X, H, j) {
|
|
344
|
+
var J = W[B], Z = w(J);
|
|
345
345
|
if (Z !== C) {
|
|
346
346
|
var U = M(J);
|
|
347
347
|
return new b(
|
|
348
|
-
"Invalid " + X + " `" +
|
|
348
|
+
"Invalid " + X + " `" + H + "` of type " + ("`" + U + "` supplied to `" + $ + "`, expected ") + ("`" + C + "`."),
|
|
349
349
|
{ expectedType: C }
|
|
350
350
|
);
|
|
351
351
|
}
|
|
@@ -357,16 +357,16 @@ function hn() {
|
|
|
357
357
|
return x(o);
|
|
358
358
|
}
|
|
359
359
|
function v(C) {
|
|
360
|
-
function I(
|
|
360
|
+
function I(W, B, $, X, H) {
|
|
361
361
|
if (typeof C != "function")
|
|
362
|
-
return new b("Property `" +
|
|
363
|
-
var j =
|
|
362
|
+
return new b("Property `" + H + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
|
|
363
|
+
var j = W[B];
|
|
364
364
|
if (!Array.isArray(j)) {
|
|
365
365
|
var J = w(j);
|
|
366
|
-
return new b("Invalid " + X + " `" +
|
|
366
|
+
return new b("Invalid " + X + " `" + H + "` of type " + ("`" + J + "` supplied to `" + $ + "`, expected an array."));
|
|
367
367
|
}
|
|
368
368
|
for (var Z = 0; Z < j.length; Z++) {
|
|
369
|
-
var U = C(j, Z,
|
|
369
|
+
var U = C(j, Z, $, X, H + "[" + Z + "]", t);
|
|
370
370
|
if (U instanceof Error)
|
|
371
371
|
return U;
|
|
372
372
|
}
|
|
@@ -375,32 +375,32 @@ function hn() {
|
|
|
375
375
|
return x(I);
|
|
376
376
|
}
|
|
377
377
|
function E() {
|
|
378
|
-
function C(I,
|
|
379
|
-
var
|
|
380
|
-
if (!l(
|
|
381
|
-
var j = w(
|
|
382
|
-
return new b("Invalid " +
|
|
378
|
+
function C(I, W, B, $, X) {
|
|
379
|
+
var H = I[W];
|
|
380
|
+
if (!l(H)) {
|
|
381
|
+
var j = w(H);
|
|
382
|
+
return new b("Invalid " + $ + " `" + X + "` of type " + ("`" + j + "` supplied to `" + B + "`, expected a single ReactElement."));
|
|
383
383
|
}
|
|
384
384
|
return null;
|
|
385
385
|
}
|
|
386
386
|
return x(C);
|
|
387
387
|
}
|
|
388
388
|
function y() {
|
|
389
|
-
function C(I,
|
|
390
|
-
var
|
|
391
|
-
if (!e.isValidElementType(
|
|
392
|
-
var j = w(
|
|
393
|
-
return new b("Invalid " +
|
|
389
|
+
function C(I, W, B, $, X) {
|
|
390
|
+
var H = I[W];
|
|
391
|
+
if (!e.isValidElementType(H)) {
|
|
392
|
+
var j = w(H);
|
|
393
|
+
return new b("Invalid " + $ + " `" + X + "` of type " + ("`" + j + "` supplied to `" + B + "`, expected a single ReactElement type."));
|
|
394
394
|
}
|
|
395
395
|
return null;
|
|
396
396
|
}
|
|
397
397
|
return x(C);
|
|
398
398
|
}
|
|
399
399
|
function A(C) {
|
|
400
|
-
function I(
|
|
401
|
-
if (!(
|
|
402
|
-
var j = C.name || T, J = q(
|
|
403
|
-
return new b("Invalid " + X + " `" +
|
|
400
|
+
function I(W, B, $, X, H) {
|
|
401
|
+
if (!(W[B] instanceof C)) {
|
|
402
|
+
var j = C.name || T, J = q(W[B]);
|
|
403
|
+
return new b("Invalid " + X + " `" + H + "` of type " + ("`" + J + "` supplied to `" + $ + "`, expected ") + ("instance of `" + j + "`."));
|
|
404
404
|
}
|
|
405
405
|
return null;
|
|
406
406
|
}
|
|
@@ -411,28 +411,28 @@ function hn() {
|
|
|
411
411
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
412
412
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
413
413
|
) : s("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
414
|
-
function I(
|
|
415
|
-
for (var j =
|
|
414
|
+
function I(W, B, $, X, H) {
|
|
415
|
+
for (var j = W[B], J = 0; J < C.length; J++)
|
|
416
416
|
if (g(j, C[J]))
|
|
417
417
|
return null;
|
|
418
|
-
var Z = JSON.stringify(C, function(se,
|
|
419
|
-
var ue = M(
|
|
420
|
-
return ue === "symbol" ? String(
|
|
418
|
+
var Z = JSON.stringify(C, function(se, _) {
|
|
419
|
+
var ue = M(_);
|
|
420
|
+
return ue === "symbol" ? String(_) : _;
|
|
421
421
|
});
|
|
422
|
-
return new b("Invalid " + X + " `" +
|
|
422
|
+
return new b("Invalid " + X + " `" + H + "` of value `" + String(j) + "` " + ("supplied to `" + $ + "`, expected one of " + Z + "."));
|
|
423
423
|
}
|
|
424
424
|
return x(I);
|
|
425
425
|
}
|
|
426
426
|
function h(C) {
|
|
427
|
-
function I(
|
|
427
|
+
function I(W, B, $, X, H) {
|
|
428
428
|
if (typeof C != "function")
|
|
429
|
-
return new b("Property `" +
|
|
430
|
-
var j =
|
|
429
|
+
return new b("Property `" + H + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
|
|
430
|
+
var j = W[B], J = w(j);
|
|
431
431
|
if (J !== "object")
|
|
432
|
-
return new b("Invalid " + X + " `" +
|
|
432
|
+
return new b("Invalid " + X + " `" + H + "` of type " + ("`" + J + "` supplied to `" + $ + "`, expected an object."));
|
|
433
433
|
for (var Z in j)
|
|
434
434
|
if (n(j, Z)) {
|
|
435
|
-
var U = C(j, Z,
|
|
435
|
+
var U = C(j, Z, $, X, H + "." + Z, t);
|
|
436
436
|
if (U instanceof Error)
|
|
437
437
|
return U;
|
|
438
438
|
}
|
|
@@ -440,49 +440,49 @@ function hn() {
|
|
|
440
440
|
}
|
|
441
441
|
return x(I);
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function z(C) {
|
|
444
444
|
if (!Array.isArray(C))
|
|
445
445
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), o;
|
|
446
446
|
for (var I = 0; I < C.length; I++) {
|
|
447
|
-
var
|
|
448
|
-
if (typeof
|
|
447
|
+
var W = C[I];
|
|
448
|
+
if (typeof W != "function")
|
|
449
449
|
return s(
|
|
450
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + S(
|
|
450
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + S(W) + " at index " + I + "."
|
|
451
451
|
), o;
|
|
452
452
|
}
|
|
453
|
-
function B(
|
|
453
|
+
function B($, X, H, j, J) {
|
|
454
454
|
for (var Z = [], U = 0; U < C.length; U++) {
|
|
455
|
-
var se = C[U],
|
|
456
|
-
if (
|
|
455
|
+
var se = C[U], _ = se($, X, H, j, J, t);
|
|
456
|
+
if (_ == null)
|
|
457
457
|
return null;
|
|
458
|
-
|
|
458
|
+
_.data && n(_.data, "expectedType") && Z.push(_.data.expectedType);
|
|
459
459
|
}
|
|
460
460
|
var ue = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
|
|
461
|
-
return new b("Invalid " + j + " `" + J + "` supplied to " + ("`" +
|
|
461
|
+
return new b("Invalid " + j + " `" + J + "` supplied to " + ("`" + H + "`" + ue + "."));
|
|
462
462
|
}
|
|
463
463
|
return x(B);
|
|
464
464
|
}
|
|
465
465
|
function O() {
|
|
466
|
-
function C(I,
|
|
467
|
-
return V(I[
|
|
466
|
+
function C(I, W, B, $, X) {
|
|
467
|
+
return V(I[W]) ? null : new b("Invalid " + $ + " `" + X + "` supplied to " + ("`" + B + "`, expected a ReactNode."));
|
|
468
468
|
}
|
|
469
469
|
return x(C);
|
|
470
470
|
}
|
|
471
|
-
function k(C, I,
|
|
471
|
+
function k(C, I, W, B, $) {
|
|
472
472
|
return new b(
|
|
473
|
-
(C || "React class") + ": " + I + " type `" +
|
|
473
|
+
(C || "React class") + ": " + I + " type `" + W + "." + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
|
|
474
474
|
);
|
|
475
475
|
}
|
|
476
476
|
function R(C) {
|
|
477
|
-
function I(
|
|
478
|
-
var j =
|
|
477
|
+
function I(W, B, $, X, H) {
|
|
478
|
+
var j = W[B], J = w(j);
|
|
479
479
|
if (J !== "object")
|
|
480
|
-
return new b("Invalid " + X + " `" +
|
|
480
|
+
return new b("Invalid " + X + " `" + H + "` of type `" + J + "` " + ("supplied to `" + $ + "`, expected `object`."));
|
|
481
481
|
for (var Z in C) {
|
|
482
482
|
var U = C[Z];
|
|
483
483
|
if (typeof U != "function")
|
|
484
|
-
return k(
|
|
485
|
-
var se = U(j, Z,
|
|
484
|
+
return k($, X, H, Z, M(U));
|
|
485
|
+
var se = U(j, Z, $, X, H + "." + Z, t);
|
|
486
486
|
if (se)
|
|
487
487
|
return se;
|
|
488
488
|
}
|
|
@@ -491,23 +491,23 @@ function hn() {
|
|
|
491
491
|
return x(I);
|
|
492
492
|
}
|
|
493
493
|
function F(C) {
|
|
494
|
-
function I(
|
|
495
|
-
var j =
|
|
494
|
+
function I(W, B, $, X, H) {
|
|
495
|
+
var j = W[B], J = w(j);
|
|
496
496
|
if (J !== "object")
|
|
497
|
-
return new b("Invalid " + X + " `" +
|
|
498
|
-
var Z = r({},
|
|
497
|
+
return new b("Invalid " + X + " `" + H + "` of type `" + J + "` " + ("supplied to `" + $ + "`, expected `object`."));
|
|
498
|
+
var Z = r({}, W[B], C);
|
|
499
499
|
for (var U in Z) {
|
|
500
500
|
var se = C[U];
|
|
501
501
|
if (n(C, U) && typeof se != "function")
|
|
502
|
-
return k(
|
|
502
|
+
return k($, X, H, U, M(se));
|
|
503
503
|
if (!se)
|
|
504
504
|
return new b(
|
|
505
|
-
"Invalid " + X + " `" +
|
|
505
|
+
"Invalid " + X + " `" + H + "` key `" + U + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(W[B], null, " ") + `
|
|
506
506
|
Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
507
507
|
);
|
|
508
|
-
var
|
|
509
|
-
if (
|
|
510
|
-
return
|
|
508
|
+
var _ = se(j, U, $, X, H + "." + U, t);
|
|
509
|
+
if (_)
|
|
510
|
+
return _;
|
|
511
511
|
}
|
|
512
512
|
return null;
|
|
513
513
|
}
|
|
@@ -528,15 +528,15 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
528
528
|
return !0;
|
|
529
529
|
var I = c(C);
|
|
530
530
|
if (I) {
|
|
531
|
-
var
|
|
531
|
+
var W = I.call(C), B;
|
|
532
532
|
if (I !== C.entries) {
|
|
533
|
-
for (; !(B =
|
|
533
|
+
for (; !(B = W.next()).done; )
|
|
534
534
|
if (!V(B.value))
|
|
535
535
|
return !1;
|
|
536
536
|
} else
|
|
537
|
-
for (; !(B =
|
|
538
|
-
var
|
|
539
|
-
if (
|
|
537
|
+
for (; !(B = W.next()).done; ) {
|
|
538
|
+
var $ = B.value;
|
|
539
|
+
if ($ && !V($[1]))
|
|
540
540
|
return !1;
|
|
541
541
|
}
|
|
542
542
|
} else
|
|
@@ -583,18 +583,18 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
583
583
|
return !C.constructor || !C.constructor.name ? T : C.constructor.name;
|
|
584
584
|
}
|
|
585
585
|
return f.checkPropTypes = i, f.resetWarningCache = i.resetWarningCache, f.PropTypes = f, f;
|
|
586
|
-
},
|
|
586
|
+
}, it;
|
|
587
587
|
}
|
|
588
|
-
var
|
|
589
|
-
function
|
|
590
|
-
if (
|
|
591
|
-
|
|
592
|
-
var e = /* @__PURE__ */
|
|
588
|
+
var st, Zt;
|
|
589
|
+
function xn() {
|
|
590
|
+
if (Zt) return st;
|
|
591
|
+
Zt = 1;
|
|
592
|
+
var e = /* @__PURE__ */ Tt();
|
|
593
593
|
function r() {
|
|
594
594
|
}
|
|
595
595
|
function t() {
|
|
596
596
|
}
|
|
597
|
-
return t.resetWarningCache = r,
|
|
597
|
+
return t.resetWarningCache = r, st = function() {
|
|
598
598
|
function n(o, l, a, d, p, c) {
|
|
599
599
|
if (c !== e) {
|
|
600
600
|
var T = new Error(
|
|
@@ -631,141 +631,141 @@ function vn() {
|
|
|
631
631
|
resetWarningCache: r
|
|
632
632
|
};
|
|
633
633
|
return s.PropTypes = s, s;
|
|
634
|
-
},
|
|
634
|
+
}, st;
|
|
635
635
|
}
|
|
636
|
-
var
|
|
637
|
-
function
|
|
638
|
-
if (
|
|
639
|
-
if (
|
|
640
|
-
var e =
|
|
641
|
-
|
|
636
|
+
var Qt;
|
|
637
|
+
function Sn() {
|
|
638
|
+
if (Qt) return $e.exports;
|
|
639
|
+
if (Qt = 1, process.env.NODE_ENV !== "production") {
|
|
640
|
+
var e = pr(), r = !0;
|
|
641
|
+
$e.exports = /* @__PURE__ */ yn()(e.isElement, r);
|
|
642
642
|
} else
|
|
643
|
-
|
|
644
|
-
return
|
|
643
|
+
$e.exports = /* @__PURE__ */ xn()();
|
|
644
|
+
return $e.exports;
|
|
645
645
|
}
|
|
646
|
-
var
|
|
647
|
-
const P = /* @__PURE__ */
|
|
648
|
-
function
|
|
646
|
+
var Tn = /* @__PURE__ */ Sn();
|
|
647
|
+
const P = /* @__PURE__ */ mn(Tn);
|
|
648
|
+
function gr(e) {
|
|
649
649
|
var r, t, n = "";
|
|
650
650
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
651
651
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
652
652
|
var i = e.length;
|
|
653
|
-
for (r = 0; r < i; r++) e[r] && (t =
|
|
653
|
+
for (r = 0; r < i; r++) e[r] && (t = gr(e[r])) && (n && (n += " "), n += t);
|
|
654
654
|
} else for (t in e) e[t] && (n && (n += " "), n += t);
|
|
655
655
|
return n;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
658
|
-
for (var e, r, t = 0, n = "", i = arguments.length; t < i; t++) (e = arguments[t]) && (r =
|
|
657
|
+
function wn() {
|
|
658
|
+
for (var e, r, t = 0, n = "", i = arguments.length; t < i; t++) (e = arguments[t]) && (r = gr(e)) && (n && (n += " "), n += r);
|
|
659
659
|
return n;
|
|
660
660
|
}
|
|
661
|
-
const
|
|
661
|
+
const En = (e, r) => {
|
|
662
662
|
const t = new Array(e.length + r.length);
|
|
663
663
|
for (let n = 0; n < e.length; n++)
|
|
664
664
|
t[n] = e[n];
|
|
665
665
|
for (let n = 0; n < r.length; n++)
|
|
666
666
|
t[e.length + n] = r[n];
|
|
667
667
|
return t;
|
|
668
|
-
},
|
|
668
|
+
}, Cn = (e, r) => ({
|
|
669
669
|
classGroupId: e,
|
|
670
670
|
validator: r
|
|
671
|
-
}),
|
|
671
|
+
}), hr = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
|
|
672
672
|
nextPart: e,
|
|
673
673
|
validators: r,
|
|
674
674
|
classGroupId: t
|
|
675
|
-
}),
|
|
676
|
-
const r =
|
|
675
|
+
}), Ye = "-", er = [], Mn = "arbitrary..", Pn = (e) => {
|
|
676
|
+
const r = kn(e), {
|
|
677
677
|
conflictingClassGroups: t,
|
|
678
678
|
conflictingClassGroupModifiers: n
|
|
679
679
|
} = e;
|
|
680
680
|
return {
|
|
681
681
|
getClassGroupId: (o) => {
|
|
682
682
|
if (o.startsWith("[") && o.endsWith("]"))
|
|
683
|
-
return
|
|
684
|
-
const l = o.split(
|
|
685
|
-
return
|
|
683
|
+
return On(o);
|
|
684
|
+
const l = o.split(Ye), a = l[0] === "" && l.length > 1 ? 1 : 0;
|
|
685
|
+
return vr(l, a, r);
|
|
686
686
|
},
|
|
687
687
|
getConflictingClassGroupIds: (o, l) => {
|
|
688
688
|
if (l) {
|
|
689
689
|
const a = n[o], d = t[o];
|
|
690
|
-
return a ? d ?
|
|
690
|
+
return a ? d ? En(d, a) : a : d || er;
|
|
691
691
|
}
|
|
692
|
-
return t[o] ||
|
|
692
|
+
return t[o] || er;
|
|
693
693
|
}
|
|
694
694
|
};
|
|
695
|
-
},
|
|
695
|
+
}, vr = (e, r, t) => {
|
|
696
696
|
if (e.length - r === 0)
|
|
697
697
|
return t.classGroupId;
|
|
698
698
|
const i = e[r], s = t.nextPart.get(i);
|
|
699
699
|
if (s) {
|
|
700
|
-
const d =
|
|
700
|
+
const d = vr(e, r + 1, s);
|
|
701
701
|
if (d) return d;
|
|
702
702
|
}
|
|
703
703
|
const o = t.validators;
|
|
704
704
|
if (o === null)
|
|
705
705
|
return;
|
|
706
|
-
const l = r === 0 ? e.join(
|
|
706
|
+
const l = r === 0 ? e.join(Ye) : e.slice(r).join(Ye), a = o.length;
|
|
707
707
|
for (let d = 0; d < a; d++) {
|
|
708
708
|
const p = o[d];
|
|
709
709
|
if (p.validator(l))
|
|
710
710
|
return p.classGroupId;
|
|
711
711
|
}
|
|
712
|
-
},
|
|
712
|
+
}, On = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
713
713
|
const r = e.slice(1, -1), t = r.indexOf(":"), n = r.slice(0, t);
|
|
714
|
-
return n ?
|
|
715
|
-
})(),
|
|
714
|
+
return n ? Mn + n : void 0;
|
|
715
|
+
})(), kn = (e) => {
|
|
716
716
|
const {
|
|
717
717
|
theme: r,
|
|
718
718
|
classGroups: t
|
|
719
719
|
} = e;
|
|
720
|
-
return
|
|
721
|
-
},
|
|
722
|
-
const t =
|
|
720
|
+
return In(t, r);
|
|
721
|
+
}, In = (e, r) => {
|
|
722
|
+
const t = hr();
|
|
723
723
|
for (const n in e) {
|
|
724
724
|
const i = e[n];
|
|
725
|
-
|
|
725
|
+
wt(i, t, n, r);
|
|
726
726
|
}
|
|
727
727
|
return t;
|
|
728
|
-
},
|
|
728
|
+
}, wt = (e, r, t, n) => {
|
|
729
729
|
const i = e.length;
|
|
730
730
|
for (let s = 0; s < i; s++) {
|
|
731
731
|
const o = e[s];
|
|
732
|
-
|
|
732
|
+
Ln(o, r, t, n);
|
|
733
733
|
}
|
|
734
|
-
},
|
|
734
|
+
}, Ln = (e, r, t, n) => {
|
|
735
735
|
if (typeof e == "string") {
|
|
736
|
-
|
|
736
|
+
An(e, r, t);
|
|
737
737
|
return;
|
|
738
738
|
}
|
|
739
739
|
if (typeof e == "function") {
|
|
740
|
-
|
|
740
|
+
Rn(e, r, t, n);
|
|
741
741
|
return;
|
|
742
742
|
}
|
|
743
|
-
|
|
744
|
-
},
|
|
745
|
-
const n = e === "" ? r :
|
|
743
|
+
_n(e, r, t, n);
|
|
744
|
+
}, An = (e, r, t) => {
|
|
745
|
+
const n = e === "" ? r : br(r, e);
|
|
746
746
|
n.classGroupId = t;
|
|
747
|
-
},
|
|
748
|
-
if (
|
|
749
|
-
|
|
747
|
+
}, Rn = (e, r, t, n) => {
|
|
748
|
+
if (zn(e)) {
|
|
749
|
+
wt(e(n), r, t, n);
|
|
750
750
|
return;
|
|
751
751
|
}
|
|
752
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
753
|
-
},
|
|
752
|
+
r.validators === null && (r.validators = []), r.validators.push(Cn(t, e));
|
|
753
|
+
}, _n = (e, r, t, n) => {
|
|
754
754
|
const i = Object.entries(e), s = i.length;
|
|
755
755
|
for (let o = 0; o < s; o++) {
|
|
756
756
|
const [l, a] = i[o];
|
|
757
|
-
|
|
757
|
+
wt(a, br(r, l), t, n);
|
|
758
758
|
}
|
|
759
|
-
},
|
|
759
|
+
}, br = (e, r) => {
|
|
760
760
|
let t = e;
|
|
761
|
-
const n = r.split(
|
|
761
|
+
const n = r.split(Ye), i = n.length;
|
|
762
762
|
for (let s = 0; s < i; s++) {
|
|
763
763
|
const o = n[s];
|
|
764
764
|
let l = t.nextPart.get(o);
|
|
765
|
-
l || (l =
|
|
765
|
+
l || (l = hr(), t.nextPart.set(o, l)), t = l;
|
|
766
766
|
}
|
|
767
767
|
return t;
|
|
768
|
-
},
|
|
768
|
+
}, zn = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Nn = (e) => {
|
|
769
769
|
if (e < 1)
|
|
770
770
|
return {
|
|
771
771
|
get: () => {
|
|
@@ -789,13 +789,13 @@ const Sn = (e, r) => {
|
|
|
789
789
|
s in t ? t[s] = o : i(s, o);
|
|
790
790
|
}
|
|
791
791
|
};
|
|
792
|
-
},
|
|
792
|
+
}, vt = "!", tr = ":", Dn = [], rr = (e, r, t, n, i) => ({
|
|
793
793
|
modifiers: e,
|
|
794
794
|
hasImportantModifier: r,
|
|
795
795
|
baseClassName: t,
|
|
796
796
|
maybePostfixModifierPosition: n,
|
|
797
797
|
isExternal: i
|
|
798
|
-
}),
|
|
798
|
+
}), qn = (e) => {
|
|
799
799
|
const {
|
|
800
800
|
prefix: r,
|
|
801
801
|
experimentalParseClassName: t
|
|
@@ -807,7 +807,7 @@ const Sn = (e, r) => {
|
|
|
807
807
|
for (let b = 0; b < p; b++) {
|
|
808
808
|
const x = i[b];
|
|
809
809
|
if (o === 0 && l === 0) {
|
|
810
|
-
if (x ===
|
|
810
|
+
if (x === tr) {
|
|
811
811
|
s.push(i.slice(a, b)), a = b + 1;
|
|
812
812
|
continue;
|
|
813
813
|
}
|
|
@@ -820,19 +820,19 @@ const Sn = (e, r) => {
|
|
|
820
820
|
}
|
|
821
821
|
const c = s.length === 0 ? i : i.slice(a);
|
|
822
822
|
let T = c, f = !1;
|
|
823
|
-
c.endsWith(
|
|
823
|
+
c.endsWith(vt) ? (T = c.slice(0, -1), f = !0) : (
|
|
824
824
|
/**
|
|
825
825
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
826
826
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
827
827
|
*/
|
|
828
|
-
c.startsWith(
|
|
828
|
+
c.startsWith(vt) && (T = c.slice(1), f = !0)
|
|
829
829
|
);
|
|
830
830
|
const g = d && d > a ? d - a : void 0;
|
|
831
|
-
return
|
|
831
|
+
return rr(s, f, T, g);
|
|
832
832
|
};
|
|
833
833
|
if (r) {
|
|
834
|
-
const i = r +
|
|
835
|
-
n = (o) => o.startsWith(i) ? s(o.slice(i.length)) :
|
|
834
|
+
const i = r + tr, s = n;
|
|
835
|
+
n = (o) => o.startsWith(i) ? s(o.slice(i.length)) : rr(Dn, !1, o, void 0, !0);
|
|
836
836
|
}
|
|
837
837
|
if (t) {
|
|
838
838
|
const i = n;
|
|
@@ -842,7 +842,7 @@ const Sn = (e, r) => {
|
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
844
|
return n;
|
|
845
|
-
},
|
|
845
|
+
}, Bn = (e) => {
|
|
846
846
|
const r = /* @__PURE__ */ new Map();
|
|
847
847
|
return e.orderSensitiveModifiers.forEach((t, n) => {
|
|
848
848
|
r.set(t, 1e6 + n);
|
|
@@ -855,18 +855,18 @@ const Sn = (e, r) => {
|
|
|
855
855
|
}
|
|
856
856
|
return i.length > 0 && (i.sort(), n.push(...i)), n;
|
|
857
857
|
};
|
|
858
|
-
},
|
|
859
|
-
cache:
|
|
860
|
-
parseClassName:
|
|
861
|
-
sortModifiers:
|
|
862
|
-
...
|
|
863
|
-
}),
|
|
858
|
+
}, $n = (e) => ({
|
|
859
|
+
cache: Nn(e.cacheSize),
|
|
860
|
+
parseClassName: qn(e),
|
|
861
|
+
sortModifiers: Bn(e),
|
|
862
|
+
...Pn(e)
|
|
863
|
+
}), Gn = /\s+/, jn = (e, r) => {
|
|
864
864
|
const {
|
|
865
865
|
parseClassName: t,
|
|
866
866
|
getClassGroupId: n,
|
|
867
867
|
getConflictingClassGroupIds: i,
|
|
868
868
|
sortModifiers: s
|
|
869
|
-
} = r, o = [], l = e.trim().split(
|
|
869
|
+
} = r, o = [], l = e.trim().split(Gn);
|
|
870
870
|
let a = "";
|
|
871
871
|
for (let d = l.length - 1; d >= 0; d -= 1) {
|
|
872
872
|
const p = l[d], {
|
|
@@ -892,7 +892,7 @@ const Sn = (e, r) => {
|
|
|
892
892
|
}
|
|
893
893
|
x = !1;
|
|
894
894
|
}
|
|
895
|
-
const m = T.length === 0 ? "" : T.length === 1 ? T[0] : s(T).join(":"), v = f ? m +
|
|
895
|
+
const m = T.length === 0 ? "" : T.length === 1 ? T[0] : s(T).join(":"), v = f ? m + vt : m, E = v + u;
|
|
896
896
|
if (o.indexOf(E) > -1)
|
|
897
897
|
continue;
|
|
898
898
|
o.push(E);
|
|
@@ -904,46 +904,46 @@ const Sn = (e, r) => {
|
|
|
904
904
|
a = p + (a.length > 0 ? " " + a : a);
|
|
905
905
|
}
|
|
906
906
|
return a;
|
|
907
|
-
},
|
|
907
|
+
}, Fn = (...e) => {
|
|
908
908
|
let r = 0, t, n, i = "";
|
|
909
909
|
for (; r < e.length; )
|
|
910
|
-
(t = e[r++]) && (n =
|
|
910
|
+
(t = e[r++]) && (n = yr(t)) && (i && (i += " "), i += n);
|
|
911
911
|
return i;
|
|
912
|
-
},
|
|
912
|
+
}, yr = (e) => {
|
|
913
913
|
if (typeof e == "string")
|
|
914
914
|
return e;
|
|
915
915
|
let r, t = "";
|
|
916
916
|
for (let n = 0; n < e.length; n++)
|
|
917
|
-
e[n] && (r =
|
|
917
|
+
e[n] && (r = yr(e[n])) && (t && (t += " "), t += r);
|
|
918
918
|
return t;
|
|
919
|
-
},
|
|
919
|
+
}, Vn = (e, ...r) => {
|
|
920
920
|
let t, n, i, s;
|
|
921
921
|
const o = (a) => {
|
|
922
922
|
const d = r.reduce((p, c) => c(p), e());
|
|
923
|
-
return t =
|
|
923
|
+
return t = $n(d), n = t.cache.get, i = t.cache.set, s = l, l(a);
|
|
924
924
|
}, l = (a) => {
|
|
925
925
|
const d = n(a);
|
|
926
926
|
if (d)
|
|
927
927
|
return d;
|
|
928
|
-
const p =
|
|
928
|
+
const p = jn(a, t);
|
|
929
929
|
return i(a, p), p;
|
|
930
930
|
};
|
|
931
|
-
return s = o, (...a) => s(
|
|
932
|
-
},
|
|
933
|
-
const r = (t) => t[e] ||
|
|
931
|
+
return s = o, (...a) => s(Fn(...a));
|
|
932
|
+
}, Wn = [], ne = (e) => {
|
|
933
|
+
const r = (t) => t[e] || Wn;
|
|
934
934
|
return r.isThemeGetter = !0, r;
|
|
935
|
-
},
|
|
935
|
+
}, xr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Sr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Hn = /^\d+\/\d+$/, Yn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Un = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Kn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Jn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ee = (e) => Hn.test(e), Y = (e) => !!e && !Number.isNaN(Number(e)), ge = (e) => !!e && Number.isInteger(Number(e)), at = (e) => e.endsWith("%") && Y(e.slice(0, -1)), pe = (e) => Yn.test(e), Zn = () => !0, Qn = (e) => (
|
|
936
936
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
937
937
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
938
938
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
939
|
-
|
|
940
|
-
),
|
|
941
|
-
const n =
|
|
939
|
+
Xn.test(e) && !Un.test(e)
|
|
940
|
+
), Tr = () => !1, ei = (e) => Kn.test(e), ti = (e) => Jn.test(e), ri = (e) => !N(e) && !D(e), ni = (e) => Oe(e, Cr, Tr), N = (e) => xr.test(e), ye = (e) => Oe(e, Mr, Qn), ot = (e) => Oe(e, li, Y), nr = (e) => Oe(e, wr, Tr), ii = (e) => Oe(e, Er, ti), je = (e) => Oe(e, Pr, ei), D = (e) => Sr.test(e), Re = (e) => ke(e, Mr), si = (e) => ke(e, di), ir = (e) => ke(e, wr), ai = (e) => ke(e, Cr), oi = (e) => ke(e, Er), Fe = (e) => ke(e, Pr, !0), Oe = (e, r, t) => {
|
|
941
|
+
const n = xr.exec(e);
|
|
942
942
|
return n ? n[1] ? r(n[1]) : t(n[2]) : !1;
|
|
943
943
|
}, ke = (e, r, t = !1) => {
|
|
944
|
-
const n =
|
|
944
|
+
const n = Sr.exec(e);
|
|
945
945
|
return n ? n[1] ? r(n[1]) : t : !1;
|
|
946
|
-
},
|
|
946
|
+
}, wr = (e) => e === "position" || e === "percentage", Er = (e) => e === "image" || e === "url", Cr = (e) => e === "length" || e === "size" || e === "bg-size", Mr = (e) => e === "length", li = (e) => e === "number", di = (e) => e === "family-name", Pr = (e) => e === "shadow", ci = () => {
|
|
947
947
|
const e = ne("color"), r = ne("font"), t = ne("text"), n = ne("font-weight"), i = ne("tracking"), s = ne("leading"), o = ne("breakpoint"), l = ne("container"), a = ne("spacing"), d = ne("radius"), p = ne("shadow"), c = ne("inset-shadow"), T = ne("text-shadow"), f = ne("drop-shadow"), g = ne("blur"), b = ne("perspective"), x = ne("aspect"), u = ne("ease"), m = ne("animate"), v = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [
|
|
948
948
|
"center",
|
|
949
949
|
"top",
|
|
@@ -962,15 +962,15 @@ const Sn = (e, r) => {
|
|
|
962
962
|
"bottom-left",
|
|
963
963
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
964
964
|
"left-bottom"
|
|
965
|
-
], y = () => [...E(), D, N], A = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], h = () => [D, N, a],
|
|
965
|
+
], y = () => [...E(), D, N], A = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], h = () => [D, N, a], z = () => [Ee, "full", "auto", ...h()], O = () => [ge, "none", "subgrid", D, N], k = () => ["auto", {
|
|
966
966
|
span: ["full", ge, D, N]
|
|
967
|
-
}, ge, D, N], R = () => [ge, "auto", D, N], F = () => ["auto", "min", "max", "fr", D, N], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], w = () => ["auto", ...h()], M = () => [Ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], S = () => [e, D, N], q = () => [...E(),
|
|
967
|
+
}, ge, D, N], R = () => [ge, "auto", D, N], F = () => ["auto", "min", "max", "fr", D, N], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], w = () => ["auto", ...h()], M = () => [Ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], S = () => [e, D, N], q = () => [...E(), ir, nr, {
|
|
968
968
|
position: [D, N]
|
|
969
969
|
}], C = () => ["no-repeat", {
|
|
970
970
|
repeat: ["", "x", "y", "space", "round"]
|
|
971
|
-
}], I = () => ["auto", "cover", "contain",
|
|
971
|
+
}], I = () => ["auto", "cover", "contain", ai, ni, {
|
|
972
972
|
size: [D, N]
|
|
973
|
-
}],
|
|
973
|
+
}], W = () => [at, Re, ye], B = () => [
|
|
974
974
|
// Deprecated since Tailwind CSS v4.0.0
|
|
975
975
|
"",
|
|
976
976
|
"none",
|
|
@@ -978,14 +978,14 @@ const Sn = (e, r) => {
|
|
|
978
978
|
d,
|
|
979
979
|
D,
|
|
980
980
|
N
|
|
981
|
-
],
|
|
981
|
+
], $ = () => ["", Y, Re, ye], X = () => ["solid", "dashed", "dotted", "double"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], j = () => [Y, at, ir, nr], J = () => [
|
|
982
982
|
// Deprecated since Tailwind CSS v4.0.0
|
|
983
983
|
"",
|
|
984
984
|
"none",
|
|
985
985
|
g,
|
|
986
986
|
D,
|
|
987
987
|
N
|
|
988
|
-
], Z = () => ["none", Y, D, N], U = () => ["none", Y, D, N], se = () => [Y, D, N],
|
|
988
|
+
], Z = () => ["none", Y, D, N], U = () => ["none", Y, D, N], se = () => [Y, D, N], _ = () => [Ee, "full", ...h()];
|
|
989
989
|
return {
|
|
990
990
|
cacheSize: 500,
|
|
991
991
|
theme: {
|
|
@@ -993,11 +993,11 @@ const Sn = (e, r) => {
|
|
|
993
993
|
aspect: ["video"],
|
|
994
994
|
blur: [pe],
|
|
995
995
|
breakpoint: [pe],
|
|
996
|
-
color: [
|
|
996
|
+
color: [Zn],
|
|
997
997
|
container: [pe],
|
|
998
998
|
"drop-shadow": [pe],
|
|
999
999
|
ease: ["in", "out", "in-out"],
|
|
1000
|
-
font: [
|
|
1000
|
+
font: [ri],
|
|
1001
1001
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
1002
1002
|
"inset-shadow": [pe],
|
|
1003
1003
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -1163,63 +1163,63 @@ const Sn = (e, r) => {
|
|
|
1163
1163
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1164
1164
|
*/
|
|
1165
1165
|
inset: [{
|
|
1166
|
-
inset:
|
|
1166
|
+
inset: z()
|
|
1167
1167
|
}],
|
|
1168
1168
|
/**
|
|
1169
1169
|
* Right / Left
|
|
1170
1170
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1171
1171
|
*/
|
|
1172
1172
|
"inset-x": [{
|
|
1173
|
-
"inset-x":
|
|
1173
|
+
"inset-x": z()
|
|
1174
1174
|
}],
|
|
1175
1175
|
/**
|
|
1176
1176
|
* Top / Bottom
|
|
1177
1177
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1178
1178
|
*/
|
|
1179
1179
|
"inset-y": [{
|
|
1180
|
-
"inset-y":
|
|
1180
|
+
"inset-y": z()
|
|
1181
1181
|
}],
|
|
1182
1182
|
/**
|
|
1183
1183
|
* Start
|
|
1184
1184
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1185
1185
|
*/
|
|
1186
1186
|
start: [{
|
|
1187
|
-
start:
|
|
1187
|
+
start: z()
|
|
1188
1188
|
}],
|
|
1189
1189
|
/**
|
|
1190
1190
|
* End
|
|
1191
1191
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1192
1192
|
*/
|
|
1193
1193
|
end: [{
|
|
1194
|
-
end:
|
|
1194
|
+
end: z()
|
|
1195
1195
|
}],
|
|
1196
1196
|
/**
|
|
1197
1197
|
* Top
|
|
1198
1198
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1199
1199
|
*/
|
|
1200
1200
|
top: [{
|
|
1201
|
-
top:
|
|
1201
|
+
top: z()
|
|
1202
1202
|
}],
|
|
1203
1203
|
/**
|
|
1204
1204
|
* Right
|
|
1205
1205
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1206
1206
|
*/
|
|
1207
1207
|
right: [{
|
|
1208
|
-
right:
|
|
1208
|
+
right: z()
|
|
1209
1209
|
}],
|
|
1210
1210
|
/**
|
|
1211
1211
|
* Bottom
|
|
1212
1212
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1213
1213
|
*/
|
|
1214
1214
|
bottom: [{
|
|
1215
|
-
bottom:
|
|
1215
|
+
bottom: z()
|
|
1216
1216
|
}],
|
|
1217
1217
|
/**
|
|
1218
1218
|
* Left
|
|
1219
1219
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1220
1220
|
*/
|
|
1221
1221
|
left: [{
|
|
1222
|
-
left:
|
|
1222
|
+
left: z()
|
|
1223
1223
|
}],
|
|
1224
1224
|
/**
|
|
1225
1225
|
* Visibility
|
|
@@ -1678,7 +1678,7 @@ const Sn = (e, r) => {
|
|
|
1678
1678
|
* @see https://tailwindcss.com/docs/font-size
|
|
1679
1679
|
*/
|
|
1680
1680
|
"font-size": [{
|
|
1681
|
-
text: ["base", t, Re,
|
|
1681
|
+
text: ["base", t, Re, ye]
|
|
1682
1682
|
}],
|
|
1683
1683
|
/**
|
|
1684
1684
|
* Font Smoothing
|
|
@@ -1695,21 +1695,21 @@ const Sn = (e, r) => {
|
|
|
1695
1695
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1696
1696
|
*/
|
|
1697
1697
|
"font-weight": [{
|
|
1698
|
-
font: [n, D,
|
|
1698
|
+
font: [n, D, ot]
|
|
1699
1699
|
}],
|
|
1700
1700
|
/**
|
|
1701
1701
|
* Font Stretch
|
|
1702
1702
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1703
1703
|
*/
|
|
1704
1704
|
"font-stretch": [{
|
|
1705
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1705
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", at, N]
|
|
1706
1706
|
}],
|
|
1707
1707
|
/**
|
|
1708
1708
|
* Font Family
|
|
1709
1709
|
* @see https://tailwindcss.com/docs/font-family
|
|
1710
1710
|
*/
|
|
1711
1711
|
"font-family": [{
|
|
1712
|
-
font: [
|
|
1712
|
+
font: [si, N, r]
|
|
1713
1713
|
}],
|
|
1714
1714
|
/**
|
|
1715
1715
|
* Font Variant Numeric
|
|
@@ -1753,7 +1753,7 @@ const Sn = (e, r) => {
|
|
|
1753
1753
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1754
1754
|
*/
|
|
1755
1755
|
"line-clamp": [{
|
|
1756
|
-
"line-clamp": [Y, "none", D,
|
|
1756
|
+
"line-clamp": [Y, "none", D, ot]
|
|
1757
1757
|
}],
|
|
1758
1758
|
/**
|
|
1759
1759
|
* Line Height
|
|
@@ -1826,7 +1826,7 @@ const Sn = (e, r) => {
|
|
|
1826
1826
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1827
1827
|
*/
|
|
1828
1828
|
"text-decoration-thickness": [{
|
|
1829
|
-
decoration: [Y, "from-font", "auto", D,
|
|
1829
|
+
decoration: [Y, "from-font", "auto", D, ye]
|
|
1830
1830
|
}],
|
|
1831
1831
|
/**
|
|
1832
1832
|
* Text Decoration Color
|
|
@@ -1964,7 +1964,7 @@ const Sn = (e, r) => {
|
|
|
1964
1964
|
}, ge, D, N],
|
|
1965
1965
|
radial: ["", D, N],
|
|
1966
1966
|
conic: [ge, D, N]
|
|
1967
|
-
},
|
|
1967
|
+
}, oi, ii]
|
|
1968
1968
|
}],
|
|
1969
1969
|
/**
|
|
1970
1970
|
* Background Color
|
|
@@ -1978,21 +1978,21 @@ const Sn = (e, r) => {
|
|
|
1978
1978
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1979
1979
|
*/
|
|
1980
1980
|
"gradient-from-pos": [{
|
|
1981
|
-
from:
|
|
1981
|
+
from: W()
|
|
1982
1982
|
}],
|
|
1983
1983
|
/**
|
|
1984
1984
|
* Gradient Color Stops Via Position
|
|
1985
1985
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1986
1986
|
*/
|
|
1987
1987
|
"gradient-via-pos": [{
|
|
1988
|
-
via:
|
|
1988
|
+
via: W()
|
|
1989
1989
|
}],
|
|
1990
1990
|
/**
|
|
1991
1991
|
* Gradient Color Stops To Position
|
|
1992
1992
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1993
1993
|
*/
|
|
1994
1994
|
"gradient-to-pos": [{
|
|
1995
|
-
to:
|
|
1995
|
+
to: W()
|
|
1996
1996
|
}],
|
|
1997
1997
|
/**
|
|
1998
1998
|
* Gradient Color Stops From
|
|
@@ -2128,70 +2128,70 @@ const Sn = (e, r) => {
|
|
|
2128
2128
|
* @see https://tailwindcss.com/docs/border-width
|
|
2129
2129
|
*/
|
|
2130
2130
|
"border-w": [{
|
|
2131
|
-
border:
|
|
2131
|
+
border: $()
|
|
2132
2132
|
}],
|
|
2133
2133
|
/**
|
|
2134
2134
|
* Border Width X
|
|
2135
2135
|
* @see https://tailwindcss.com/docs/border-width
|
|
2136
2136
|
*/
|
|
2137
2137
|
"border-w-x": [{
|
|
2138
|
-
"border-x":
|
|
2138
|
+
"border-x": $()
|
|
2139
2139
|
}],
|
|
2140
2140
|
/**
|
|
2141
2141
|
* Border Width Y
|
|
2142
2142
|
* @see https://tailwindcss.com/docs/border-width
|
|
2143
2143
|
*/
|
|
2144
2144
|
"border-w-y": [{
|
|
2145
|
-
"border-y":
|
|
2145
|
+
"border-y": $()
|
|
2146
2146
|
}],
|
|
2147
2147
|
/**
|
|
2148
2148
|
* Border Width Start
|
|
2149
2149
|
* @see https://tailwindcss.com/docs/border-width
|
|
2150
2150
|
*/
|
|
2151
2151
|
"border-w-s": [{
|
|
2152
|
-
"border-s":
|
|
2152
|
+
"border-s": $()
|
|
2153
2153
|
}],
|
|
2154
2154
|
/**
|
|
2155
2155
|
* Border Width End
|
|
2156
2156
|
* @see https://tailwindcss.com/docs/border-width
|
|
2157
2157
|
*/
|
|
2158
2158
|
"border-w-e": [{
|
|
2159
|
-
"border-e":
|
|
2159
|
+
"border-e": $()
|
|
2160
2160
|
}],
|
|
2161
2161
|
/**
|
|
2162
2162
|
* Border Width Top
|
|
2163
2163
|
* @see https://tailwindcss.com/docs/border-width
|
|
2164
2164
|
*/
|
|
2165
2165
|
"border-w-t": [{
|
|
2166
|
-
"border-t":
|
|
2166
|
+
"border-t": $()
|
|
2167
2167
|
}],
|
|
2168
2168
|
/**
|
|
2169
2169
|
* Border Width Right
|
|
2170
2170
|
* @see https://tailwindcss.com/docs/border-width
|
|
2171
2171
|
*/
|
|
2172
2172
|
"border-w-r": [{
|
|
2173
|
-
"border-r":
|
|
2173
|
+
"border-r": $()
|
|
2174
2174
|
}],
|
|
2175
2175
|
/**
|
|
2176
2176
|
* Border Width Bottom
|
|
2177
2177
|
* @see https://tailwindcss.com/docs/border-width
|
|
2178
2178
|
*/
|
|
2179
2179
|
"border-w-b": [{
|
|
2180
|
-
"border-b":
|
|
2180
|
+
"border-b": $()
|
|
2181
2181
|
}],
|
|
2182
2182
|
/**
|
|
2183
2183
|
* Border Width Left
|
|
2184
2184
|
* @see https://tailwindcss.com/docs/border-width
|
|
2185
2185
|
*/
|
|
2186
2186
|
"border-w-l": [{
|
|
2187
|
-
"border-l":
|
|
2187
|
+
"border-l": $()
|
|
2188
2188
|
}],
|
|
2189
2189
|
/**
|
|
2190
2190
|
* Divide Width X
|
|
2191
2191
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2192
2192
|
*/
|
|
2193
2193
|
"divide-x": [{
|
|
2194
|
-
"divide-x":
|
|
2194
|
+
"divide-x": $()
|
|
2195
2195
|
}],
|
|
2196
2196
|
/**
|
|
2197
2197
|
* Divide Width X Reverse
|
|
@@ -2203,7 +2203,7 @@ const Sn = (e, r) => {
|
|
|
2203
2203
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2204
2204
|
*/
|
|
2205
2205
|
"divide-y": [{
|
|
2206
|
-
"divide-y":
|
|
2206
|
+
"divide-y": $()
|
|
2207
2207
|
}],
|
|
2208
2208
|
/**
|
|
2209
2209
|
* Divide Width Y Reverse
|
|
@@ -2313,7 +2313,7 @@ const Sn = (e, r) => {
|
|
|
2313
2313
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2314
2314
|
*/
|
|
2315
2315
|
"outline-w": [{
|
|
2316
|
-
outline: ["", Y, Re,
|
|
2316
|
+
outline: ["", Y, Re, ye]
|
|
2317
2317
|
}],
|
|
2318
2318
|
/**
|
|
2319
2319
|
* Outline Color
|
|
@@ -2335,8 +2335,8 @@ const Sn = (e, r) => {
|
|
|
2335
2335
|
"",
|
|
2336
2336
|
"none",
|
|
2337
2337
|
p,
|
|
2338
|
-
|
|
2339
|
-
|
|
2338
|
+
Fe,
|
|
2339
|
+
je
|
|
2340
2340
|
]
|
|
2341
2341
|
}],
|
|
2342
2342
|
/**
|
|
@@ -2351,7 +2351,7 @@ const Sn = (e, r) => {
|
|
|
2351
2351
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2352
2352
|
*/
|
|
2353
2353
|
"inset-shadow": [{
|
|
2354
|
-
"inset-shadow": ["none", c,
|
|
2354
|
+
"inset-shadow": ["none", c, Fe, je]
|
|
2355
2355
|
}],
|
|
2356
2356
|
/**
|
|
2357
2357
|
* Inset Box Shadow Color
|
|
@@ -2365,7 +2365,7 @@ const Sn = (e, r) => {
|
|
|
2365
2365
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2366
2366
|
*/
|
|
2367
2367
|
"ring-w": [{
|
|
2368
|
-
ring:
|
|
2368
|
+
ring: $()
|
|
2369
2369
|
}],
|
|
2370
2370
|
/**
|
|
2371
2371
|
* Ring Width Inset
|
|
@@ -2388,7 +2388,7 @@ const Sn = (e, r) => {
|
|
|
2388
2388
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2389
2389
|
*/
|
|
2390
2390
|
"ring-offset-w": [{
|
|
2391
|
-
"ring-offset": [Y,
|
|
2391
|
+
"ring-offset": [Y, ye]
|
|
2392
2392
|
}],
|
|
2393
2393
|
/**
|
|
2394
2394
|
* Ring Offset Color
|
|
@@ -2404,7 +2404,7 @@ const Sn = (e, r) => {
|
|
|
2404
2404
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2405
2405
|
*/
|
|
2406
2406
|
"inset-ring-w": [{
|
|
2407
|
-
"inset-ring":
|
|
2407
|
+
"inset-ring": $()
|
|
2408
2408
|
}],
|
|
2409
2409
|
/**
|
|
2410
2410
|
* Inset Ring Color
|
|
@@ -2418,7 +2418,7 @@ const Sn = (e, r) => {
|
|
|
2418
2418
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2419
2419
|
*/
|
|
2420
2420
|
"text-shadow": [{
|
|
2421
|
-
"text-shadow": ["none", T,
|
|
2421
|
+
"text-shadow": ["none", T, Fe, je]
|
|
2422
2422
|
}],
|
|
2423
2423
|
/**
|
|
2424
2424
|
* Text Shadow Color
|
|
@@ -2439,14 +2439,14 @@ const Sn = (e, r) => {
|
|
|
2439
2439
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2440
2440
|
*/
|
|
2441
2441
|
"mix-blend": [{
|
|
2442
|
-
"mix-blend": [...
|
|
2442
|
+
"mix-blend": [...H(), "plus-darker", "plus-lighter"]
|
|
2443
2443
|
}],
|
|
2444
2444
|
/**
|
|
2445
2445
|
* Background Blend Mode
|
|
2446
2446
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2447
2447
|
*/
|
|
2448
2448
|
"bg-blend": [{
|
|
2449
|
-
"bg-blend":
|
|
2449
|
+
"bg-blend": H()
|
|
2450
2450
|
}],
|
|
2451
2451
|
/**
|
|
2452
2452
|
* Mask Clip
|
|
@@ -2691,8 +2691,8 @@ const Sn = (e, r) => {
|
|
|
2691
2691
|
"",
|
|
2692
2692
|
"none",
|
|
2693
2693
|
f,
|
|
2694
|
-
|
|
2695
|
-
|
|
2694
|
+
Fe,
|
|
2695
|
+
je
|
|
2696
2696
|
]
|
|
2697
2697
|
}],
|
|
2698
2698
|
/**
|
|
@@ -3035,28 +3035,28 @@ const Sn = (e, r) => {
|
|
|
3035
3035
|
* @see https://tailwindcss.com/docs/translate
|
|
3036
3036
|
*/
|
|
3037
3037
|
translate: [{
|
|
3038
|
-
translate:
|
|
3038
|
+
translate: _()
|
|
3039
3039
|
}],
|
|
3040
3040
|
/**
|
|
3041
3041
|
* Translate X
|
|
3042
3042
|
* @see https://tailwindcss.com/docs/translate
|
|
3043
3043
|
*/
|
|
3044
3044
|
"translate-x": [{
|
|
3045
|
-
"translate-x":
|
|
3045
|
+
"translate-x": _()
|
|
3046
3046
|
}],
|
|
3047
3047
|
/**
|
|
3048
3048
|
* Translate Y
|
|
3049
3049
|
* @see https://tailwindcss.com/docs/translate
|
|
3050
3050
|
*/
|
|
3051
3051
|
"translate-y": [{
|
|
3052
|
-
"translate-y":
|
|
3052
|
+
"translate-y": _()
|
|
3053
3053
|
}],
|
|
3054
3054
|
/**
|
|
3055
3055
|
* Translate Z
|
|
3056
3056
|
* @see https://tailwindcss.com/docs/translate
|
|
3057
3057
|
*/
|
|
3058
3058
|
"translate-z": [{
|
|
3059
|
-
"translate-z":
|
|
3059
|
+
"translate-z": _()
|
|
3060
3060
|
}],
|
|
3061
3061
|
/**
|
|
3062
3062
|
* Translate None
|
|
@@ -3338,7 +3338,7 @@ const Sn = (e, r) => {
|
|
|
3338
3338
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3339
3339
|
*/
|
|
3340
3340
|
"stroke-w": [{
|
|
3341
|
-
stroke: [Y, Re,
|
|
3341
|
+
stroke: [Y, Re, ye, ot]
|
|
3342
3342
|
}],
|
|
3343
3343
|
/**
|
|
3344
3344
|
* Stroke
|
|
@@ -3413,11 +3413,11 @@ const Sn = (e, r) => {
|
|
|
3413
3413
|
},
|
|
3414
3414
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3415
3415
|
};
|
|
3416
|
-
},
|
|
3416
|
+
}, ui = /* @__PURE__ */ Vn(ci);
|
|
3417
3417
|
function re(...e) {
|
|
3418
|
-
return
|
|
3418
|
+
return ui(wn(e));
|
|
3419
3419
|
}
|
|
3420
|
-
const
|
|
3420
|
+
const _e = {
|
|
3421
3421
|
base: "outline-none px-4 py-2 text-base leading-snug",
|
|
3422
3422
|
state: {
|
|
3423
3423
|
default: "cursor-pointer opacity-100",
|
|
@@ -3454,7 +3454,7 @@ const ze = {
|
|
|
3454
3454
|
"soft-edge": "rounded-md",
|
|
3455
3455
|
rounded: "rounded-full"
|
|
3456
3456
|
}
|
|
3457
|
-
},
|
|
3457
|
+
}, fi = ({
|
|
3458
3458
|
id: e = "",
|
|
3459
3459
|
className: r = "",
|
|
3460
3460
|
children: t,
|
|
@@ -3468,15 +3468,15 @@ const ze = {
|
|
|
3468
3468
|
...p
|
|
3469
3469
|
}) => {
|
|
3470
3470
|
const c = re(
|
|
3471
|
-
n || i ?
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3471
|
+
n || i ? _e.state.disabled : _e.state.default,
|
|
3472
|
+
_e.base,
|
|
3473
|
+
_e.color[a][l],
|
|
3474
|
+
_e.corner[d],
|
|
3475
3475
|
r
|
|
3476
3476
|
);
|
|
3477
|
-
return /* @__PURE__ */
|
|
3477
|
+
return /* @__PURE__ */ G("button", { id: e, type: o, disabled: n || i, className: c, ...p, children: i && s ? s : t });
|
|
3478
3478
|
};
|
|
3479
|
-
|
|
3479
|
+
fi.propTypes = {
|
|
3480
3480
|
id: P.string,
|
|
3481
3481
|
className: P.string,
|
|
3482
3482
|
children: P.node.isRequired,
|
|
@@ -3488,11 +3488,11 @@ di.propTypes = {
|
|
|
3488
3488
|
variant: P.oneOf(["solid", "outline", "flat"]),
|
|
3489
3489
|
corner: P.oneOf(["squared", "soft-edge", "rounded"])
|
|
3490
3490
|
};
|
|
3491
|
-
const
|
|
3491
|
+
const Or = be({
|
|
3492
3492
|
id: ""
|
|
3493
|
-
}),
|
|
3494
|
-
const { id: n } = ce(
|
|
3495
|
-
return /* @__PURE__ */
|
|
3493
|
+
}), pi = ({ id: e, children: r }) => /* @__PURE__ */ G(Or.Provider, { value: { id: e }, children: r }), kr = ({ id: e = "", className: r = "", children: t }) => {
|
|
3494
|
+
const { id: n } = ce(Or);
|
|
3495
|
+
return /* @__PURE__ */ G(
|
|
3496
3496
|
"section",
|
|
3497
3497
|
{
|
|
3498
3498
|
id: `${e || n}-cover`,
|
|
@@ -3501,8 +3501,8 @@ const Pr = ye({
|
|
|
3501
3501
|
}
|
|
3502
3502
|
);
|
|
3503
3503
|
};
|
|
3504
|
-
|
|
3505
|
-
const
|
|
3504
|
+
kr.displayName = "Cover.Base";
|
|
3505
|
+
const Ir = ({ className: e = "", alt: r = "", src: t }) => /* @__PURE__ */ G(
|
|
3506
3506
|
"img",
|
|
3507
3507
|
{
|
|
3508
3508
|
alt: r,
|
|
@@ -3510,8 +3510,8 @@ const kr = ({ className: e = "", alt: r = "", src: t }) => /* @__PURE__ */ $(
|
|
|
3510
3510
|
className: re("w-full h-full object-cover object-center", e)
|
|
3511
3511
|
}
|
|
3512
3512
|
);
|
|
3513
|
-
|
|
3514
|
-
const
|
|
3513
|
+
Ir.displayName = "Cover.Image";
|
|
3514
|
+
const Lr = ({ className: e = "", position: r = "center", children: t }) => /* @__PURE__ */ G(
|
|
3515
3515
|
"div",
|
|
3516
3516
|
{
|
|
3517
3517
|
className: re(
|
|
@@ -3526,12 +3526,12 @@ const Ir = ({ className: e = "", position: r = "center", children: t }) => /* @_
|
|
|
3526
3526
|
children: t
|
|
3527
3527
|
}
|
|
3528
3528
|
);
|
|
3529
|
-
|
|
3530
|
-
const
|
|
3531
|
-
|
|
3532
|
-
const
|
|
3533
|
-
|
|
3534
|
-
const
|
|
3529
|
+
Lr.displayName = "Cover.Overlay";
|
|
3530
|
+
const Ar = ({ className: e = "", children: r }) => /* @__PURE__ */ G("div", { className: re("h-auto w-full mx-auto", e), children: r });
|
|
3531
|
+
Ar.displayName = "Cover.OverlayContainer";
|
|
3532
|
+
const Rr = ({ className: e = "", children: r }) => /* @__PURE__ */ G("p", { className: re("", e), children: r });
|
|
3533
|
+
Rr.displayName = "Cover.Address";
|
|
3534
|
+
const _r = ({ className: e = "", specs: r = [], children: t }) => {
|
|
3535
3535
|
const [
|
|
3536
3536
|
n = "clamp(1.75rem, 2.65vw + 0.7rem, 3.625rem)",
|
|
3537
3537
|
i = "normal",
|
|
@@ -3539,7 +3539,7 @@ const Rr = ({ className: e = "", specs: r = [], children: t }) => {
|
|
|
3539
3539
|
o = "1.2"
|
|
3540
3540
|
// ...
|
|
3541
3541
|
] = r;
|
|
3542
|
-
return /* @__PURE__ */
|
|
3542
|
+
return /* @__PURE__ */ G(
|
|
3543
3543
|
"h1",
|
|
3544
3544
|
{
|
|
3545
3545
|
className: re("leading-tight font-bold", e),
|
|
@@ -3548,19 +3548,19 @@ const Rr = ({ className: e = "", specs: r = [], children: t }) => {
|
|
|
3548
3548
|
}
|
|
3549
3549
|
);
|
|
3550
3550
|
};
|
|
3551
|
-
|
|
3552
|
-
const Te = ({ id: e, children: r }) => /* @__PURE__ */
|
|
3553
|
-
Te.Base =
|
|
3554
|
-
Te.Image =
|
|
3555
|
-
Te.Overlay =
|
|
3556
|
-
Te.OverlayContainer =
|
|
3557
|
-
Te.Address =
|
|
3558
|
-
Te.Title =
|
|
3551
|
+
_r.displayName = "Cover.Title";
|
|
3552
|
+
const Te = ({ id: e, children: r }) => /* @__PURE__ */ G(pi, { id: e, children: r });
|
|
3553
|
+
Te.Base = kr;
|
|
3554
|
+
Te.Image = Ir;
|
|
3555
|
+
Te.Overlay = Lr;
|
|
3556
|
+
Te.OverlayContainer = Ar;
|
|
3557
|
+
Te.Address = Rr;
|
|
3558
|
+
Te.Title = _r;
|
|
3559
3559
|
Te.propTypes = {
|
|
3560
3560
|
id: P.string.isRequired,
|
|
3561
3561
|
children: P.node.isRequired
|
|
3562
3562
|
};
|
|
3563
|
-
const Ie =
|
|
3563
|
+
const Ie = be({
|
|
3564
3564
|
id: "",
|
|
3565
3565
|
theme: {
|
|
3566
3566
|
primary: "",
|
|
@@ -3568,9 +3568,9 @@ const Ie = ye({
|
|
|
3568
3568
|
foreground: ""
|
|
3569
3569
|
},
|
|
3570
3570
|
open: !1
|
|
3571
|
-
}),
|
|
3571
|
+
}), mi = ({ id: e, theme: r, open: t, children: n }) => /* @__PURE__ */ G(Ie.Provider, { value: { id: e, theme: r, open: t }, children: n }), zr = ({ id: e = "", className: r = "", open: t = !1, onClose: n }) => {
|
|
3572
3572
|
const { id: i, open: s } = ce(Ie), o = e || i, l = t || s;
|
|
3573
|
-
return /* @__PURE__ */
|
|
3573
|
+
return /* @__PURE__ */ G(
|
|
3574
3574
|
"div",
|
|
3575
3575
|
{
|
|
3576
3576
|
id: `${o}-drawer-overlay`,
|
|
@@ -3585,7 +3585,7 @@ const Ie = ye({
|
|
|
3585
3585
|
);
|
|
3586
3586
|
};
|
|
3587
3587
|
zr.displayName = "Drawer.Overlay";
|
|
3588
|
-
const
|
|
3588
|
+
const Nr = ({
|
|
3589
3589
|
id: e = "",
|
|
3590
3590
|
className: r = "",
|
|
3591
3591
|
open: t = !1,
|
|
@@ -3595,7 +3595,7 @@ const _r = ({
|
|
|
3595
3595
|
children: s
|
|
3596
3596
|
}) => {
|
|
3597
3597
|
const { id: o, theme: l, open: a } = ce(Ie), d = e || o, p = t || a;
|
|
3598
|
-
return /* @__PURE__ */
|
|
3598
|
+
return /* @__PURE__ */ G(
|
|
3599
3599
|
"aside",
|
|
3600
3600
|
{
|
|
3601
3601
|
id: `${d}-drawer`,
|
|
@@ -3615,8 +3615,8 @@ const _r = ({
|
|
|
3615
3615
|
}
|
|
3616
3616
|
);
|
|
3617
3617
|
};
|
|
3618
|
-
|
|
3619
|
-
const
|
|
3618
|
+
Nr.displayName = "Drawer.Base";
|
|
3619
|
+
const gi = () => /* @__PURE__ */ un(
|
|
3620
3620
|
"svg",
|
|
3621
3621
|
{
|
|
3622
3622
|
width: "40",
|
|
@@ -3625,7 +3625,7 @@ const fi = () => /* @__PURE__ */ cr(
|
|
|
3625
3625
|
fill: "none",
|
|
3626
3626
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3627
3627
|
children: [
|
|
3628
|
-
/* @__PURE__ */
|
|
3628
|
+
/* @__PURE__ */ G(
|
|
3629
3629
|
"rect",
|
|
3630
3630
|
{
|
|
3631
3631
|
width: "24",
|
|
@@ -3634,7 +3634,7 @@ const fi = () => /* @__PURE__ */ cr(
|
|
|
3634
3634
|
transform: "matrix(-0.707107 -0.707107 -0.707107 0.707107 29.1924 27.7782)"
|
|
3635
3635
|
}
|
|
3636
3636
|
),
|
|
3637
|
-
/* @__PURE__ */
|
|
3637
|
+
/* @__PURE__ */ G(
|
|
3638
3638
|
"rect",
|
|
3639
3639
|
{
|
|
3640
3640
|
x: "10.8076",
|
|
@@ -3647,9 +3647,9 @@ const fi = () => /* @__PURE__ */ cr(
|
|
|
3647
3647
|
)
|
|
3648
3648
|
]
|
|
3649
3649
|
}
|
|
3650
|
-
),
|
|
3650
|
+
), Dr = ({ className: e = "", style: r = {}, onClick: t }) => {
|
|
3651
3651
|
const { theme: n } = ce(Ie);
|
|
3652
|
-
return /* @__PURE__ */
|
|
3652
|
+
return /* @__PURE__ */ G(
|
|
3653
3653
|
"button",
|
|
3654
3654
|
{
|
|
3655
3655
|
className: re(
|
|
@@ -3661,26 +3661,26 @@ const fi = () => /* @__PURE__ */ cr(
|
|
|
3661
3661
|
onMouseEnter: (i) => i.currentTarget.style.color = n.primary,
|
|
3662
3662
|
onMouseLeave: (i) => i.currentTarget.style.color = n.foreground,
|
|
3663
3663
|
style: r,
|
|
3664
|
-
children: /* @__PURE__ */
|
|
3664
|
+
children: /* @__PURE__ */ G(gi, {})
|
|
3665
3665
|
}
|
|
3666
3666
|
);
|
|
3667
3667
|
};
|
|
3668
|
-
|
|
3669
|
-
const
|
|
3668
|
+
Dr.displayName = "Drawer.Close";
|
|
3669
|
+
const qr = ({ alt: e = "", src: r = "", className: t = "" }) => /* @__PURE__ */ G("img", { alt: e, src: r, className: re("aspect-auto object-contain object-center", t) }), Br = ({ alt: e = "", src: r = "" }) => {
|
|
3670
3670
|
const { theme: t } = ce(Ie);
|
|
3671
|
-
return /* @__PURE__ */
|
|
3671
|
+
return /* @__PURE__ */ G(
|
|
3672
3672
|
"div",
|
|
3673
3673
|
{
|
|
3674
3674
|
className: "relative min-h-18 w-[calc(100%-3.5rem)] p-4 flex items-center justify-between gap-4",
|
|
3675
3675
|
style: { background: t.background },
|
|
3676
|
-
children: /* @__PURE__ */
|
|
3676
|
+
children: /* @__PURE__ */ G("a", { href: "/", children: /* @__PURE__ */ G(qr, { alt: e, src: r, className: "h-8 w-fit" }) })
|
|
3677
3677
|
}
|
|
3678
3678
|
);
|
|
3679
3679
|
};
|
|
3680
|
-
|
|
3681
|
-
const
|
|
3682
|
-
|
|
3683
|
-
const
|
|
3680
|
+
Br.displayName = "Drawer.Logo";
|
|
3681
|
+
const $r = ({ className: e = "", children: r }) => /* @__PURE__ */ G("nav", { className: "", children: /* @__PURE__ */ G("ul", { className: re("", e), children: r }) });
|
|
3682
|
+
$r.displayName = "Drawer.Menu";
|
|
3683
|
+
const Gr = ({
|
|
3684
3684
|
className: e = "",
|
|
3685
3685
|
path: r = "",
|
|
3686
3686
|
active: t = !1,
|
|
@@ -3689,7 +3689,7 @@ const $r = ({
|
|
|
3689
3689
|
onClick: s
|
|
3690
3690
|
}) => {
|
|
3691
3691
|
const { theme: o } = ce(Ie);
|
|
3692
|
-
return /* @__PURE__ */
|
|
3692
|
+
return /* @__PURE__ */ G("li", { className: "flex items-center justify-center", children: /* @__PURE__ */ G(
|
|
3693
3693
|
"a",
|
|
3694
3694
|
{
|
|
3695
3695
|
href: r,
|
|
@@ -3702,14 +3702,14 @@ const $r = ({
|
|
|
3702
3702
|
}
|
|
3703
3703
|
) });
|
|
3704
3704
|
};
|
|
3705
|
-
|
|
3706
|
-
const we = ({ id: e, theme: r, open: t, children: n }) => /* @__PURE__ */
|
|
3705
|
+
Gr.displayName = "Drawer.Item";
|
|
3706
|
+
const we = ({ id: e, theme: r, open: t, children: n }) => /* @__PURE__ */ G(mi, { id: e, theme: r, open: t, children: n });
|
|
3707
3707
|
we.Overlay = zr;
|
|
3708
|
-
we.Base =
|
|
3709
|
-
we.Close =
|
|
3710
|
-
we.Logo =
|
|
3711
|
-
we.Menu =
|
|
3712
|
-
we.Item =
|
|
3708
|
+
we.Base = Nr;
|
|
3709
|
+
we.Close = Dr;
|
|
3710
|
+
we.Logo = Br;
|
|
3711
|
+
we.Menu = $r;
|
|
3712
|
+
we.Item = Gr;
|
|
3713
3713
|
we.propTypes = {
|
|
3714
3714
|
id: P.string.isRequired,
|
|
3715
3715
|
theme: P.shape({
|
|
@@ -3720,56 +3720,50 @@ we.propTypes = {
|
|
|
3720
3720
|
open: P.bool.isRequired,
|
|
3721
3721
|
children: P.node.isRequired
|
|
3722
3722
|
};
|
|
3723
|
-
const
|
|
3723
|
+
const Ze = be({
|
|
3724
3724
|
id: "",
|
|
3725
|
-
theme: {
|
|
3726
|
-
primary: "",
|
|
3727
|
-
foreground: "",
|
|
3728
|
-
background: ""
|
|
3729
|
-
},
|
|
3730
3725
|
isOverflowing: !1,
|
|
3731
3726
|
updateOverflow: () => {
|
|
3732
3727
|
}
|
|
3733
|
-
}),
|
|
3734
|
-
const [
|
|
3735
|
-
|
|
3728
|
+
}), hi = ({ id: e, children: r }) => {
|
|
3729
|
+
const [t, n] = xe(!1), i = fn((s) => {
|
|
3730
|
+
n(!!s);
|
|
3736
3731
|
}, []);
|
|
3737
|
-
return /* @__PURE__ */
|
|
3738
|
-
},
|
|
3739
|
-
const { id:
|
|
3740
|
-
return /* @__PURE__ */
|
|
3732
|
+
return /* @__PURE__ */ G(Ze.Provider, { value: { id: e, isOverflowing: t, updateOverflow: i }, children: r });
|
|
3733
|
+
}, Et = ({ className: e = "", style: r = {}, fixed: t = !1, children: n }) => {
|
|
3734
|
+
const { id: i, isOverflowing: s } = ce(Ze);
|
|
3735
|
+
return /* @__PURE__ */ G(
|
|
3741
3736
|
"header",
|
|
3742
3737
|
{
|
|
3743
|
-
id: `${
|
|
3738
|
+
id: `${i}-header`,
|
|
3744
3739
|
className: re(
|
|
3740
|
+
t ? "fixed top-0 left-0 right-0 z-50" : "",
|
|
3745
3741
|
"h-auto w-full p-4 grid items-center gap-4",
|
|
3746
3742
|
s ? "grid-cols-[auto_1fr_2.5rem]" : "grid-cols-[auto_1fr]",
|
|
3747
|
-
|
|
3743
|
+
e
|
|
3748
3744
|
),
|
|
3749
|
-
style:
|
|
3750
|
-
|
|
3751
|
-
background: i.background
|
|
3752
|
-
},
|
|
3753
|
-
children: t
|
|
3745
|
+
style: r,
|
|
3746
|
+
children: n
|
|
3754
3747
|
}
|
|
3755
3748
|
);
|
|
3756
3749
|
};
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
id: P.string,
|
|
3750
|
+
Et.displayName = "Header.Base";
|
|
3751
|
+
Et.propTypes = {
|
|
3760
3752
|
className: P.string,
|
|
3753
|
+
style: P.object,
|
|
3754
|
+
fixed: P.bool,
|
|
3761
3755
|
children: P.node.isRequired
|
|
3762
3756
|
};
|
|
3763
|
-
const
|
|
3764
|
-
|
|
3765
|
-
|
|
3757
|
+
const Ct = ({ alt: e = "", src: r = "", className: t = "" }) => /* @__PURE__ */ G("a", { href: "/", children: /* @__PURE__ */ G(qr, { alt: e, src: r, className: re("h-8 w-fit", t) }) });
|
|
3758
|
+
Ct.displayName = "Header.Logo";
|
|
3759
|
+
Ct.propTypes = {
|
|
3766
3760
|
className: P.string,
|
|
3767
3761
|
alt: P.string.isRequired,
|
|
3768
3762
|
src: P.string.isRequired
|
|
3769
3763
|
};
|
|
3770
|
-
const
|
|
3771
|
-
const t = oe(null), n = oe(null), { isOverflowing: i, updateOverflow: s } = ce(
|
|
3772
|
-
return
|
|
3764
|
+
const Mt = ({ className: e = "", children: r }) => {
|
|
3765
|
+
const t = oe(null), n = oe(null), { isOverflowing: i, updateOverflow: s } = ce(Ze);
|
|
3766
|
+
return St(() => {
|
|
3773
3767
|
const o = t.current, l = n.current;
|
|
3774
3768
|
if (!o || !l) return;
|
|
3775
3769
|
let a;
|
|
@@ -3784,7 +3778,7 @@ const Et = ({ className: e = "", children: r }) => {
|
|
|
3784
3778
|
return c.observe(o), c.observe(l), window.addEventListener("resize", p), () => {
|
|
3785
3779
|
c.disconnect(), window.removeEventListener("resize", p), cancelAnimationFrame(a);
|
|
3786
3780
|
};
|
|
3787
|
-
}, [s]), /* @__PURE__ */
|
|
3781
|
+
}, [s]), /* @__PURE__ */ G("nav", { ref: t, className: "grow flex items-center justify-end overflow-hidden", children: /* @__PURE__ */ G(
|
|
3788
3782
|
"ul",
|
|
3789
3783
|
{
|
|
3790
3784
|
ref: n,
|
|
@@ -3797,77 +3791,132 @@ const Et = ({ className: e = "", children: r }) => {
|
|
|
3797
3791
|
}
|
|
3798
3792
|
) });
|
|
3799
3793
|
};
|
|
3800
|
-
|
|
3801
|
-
|
|
3794
|
+
Mt.displayName = "Header.Menu";
|
|
3795
|
+
Mt.propTypes = {
|
|
3802
3796
|
className: P.string,
|
|
3803
3797
|
children: P.node.isRequired
|
|
3804
3798
|
};
|
|
3805
|
-
const
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
}
|
|
3817
|
-
) });
|
|
3818
|
-
};
|
|
3819
|
-
Ct.displayName = "Header.Item";
|
|
3820
|
-
Ct.propTypes = {
|
|
3799
|
+
const Pt = ({ className: e = "", style: r = {}, path: t = "", children: n }) => /* @__PURE__ */ G("li", { className: "flex items-center justify-center", children: /* @__PURE__ */ G(
|
|
3800
|
+
"a",
|
|
3801
|
+
{
|
|
3802
|
+
href: t,
|
|
3803
|
+
className: re("cursor-pointer px-3 py-2 text-nowrap select-none", e),
|
|
3804
|
+
style: r,
|
|
3805
|
+
children: n
|
|
3806
|
+
}
|
|
3807
|
+
) });
|
|
3808
|
+
Pt.displayName = "Header.Item";
|
|
3809
|
+
Pt.propTypes = {
|
|
3821
3810
|
className: P.string,
|
|
3811
|
+
style: P.object,
|
|
3822
3812
|
path: P.string.isRequired,
|
|
3823
|
-
active: P.bool.isRequired,
|
|
3824
3813
|
children: P.node.isRequired
|
|
3825
3814
|
};
|
|
3826
|
-
const
|
|
3827
|
-
|
|
3815
|
+
const vi = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), bi = (e) => e.replace(
|
|
3816
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
3817
|
+
(r, t, n) => n ? n.toUpperCase() : t.toLowerCase()
|
|
3818
|
+
), sr = (e) => {
|
|
3819
|
+
const r = bi(e);
|
|
3820
|
+
return r.charAt(0).toUpperCase() + r.slice(1);
|
|
3821
|
+
}, jr = (...e) => e.filter((r, t, n) => !!r && r.trim() !== "" && n.indexOf(r) === t).join(" ").trim(), yi = (e) => {
|
|
3822
|
+
for (const r in e)
|
|
3823
|
+
if (r.startsWith("aria-") || r === "role" || r === "title")
|
|
3824
|
+
return !0;
|
|
3825
|
+
};
|
|
3826
|
+
var xi = {
|
|
3827
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3828
|
+
width: 24,
|
|
3829
|
+
height: 24,
|
|
3830
|
+
viewBox: "0 0 24 24",
|
|
3831
|
+
fill: "none",
|
|
3832
|
+
stroke: "currentColor",
|
|
3833
|
+
strokeWidth: 2,
|
|
3834
|
+
strokeLinecap: "round",
|
|
3835
|
+
strokeLinejoin: "round"
|
|
3836
|
+
};
|
|
3837
|
+
const Si = Je(
|
|
3838
|
+
({
|
|
3839
|
+
color: e = "currentColor",
|
|
3840
|
+
size: r = 24,
|
|
3841
|
+
strokeWidth: t = 2,
|
|
3842
|
+
absoluteStrokeWidth: n,
|
|
3843
|
+
className: i = "",
|
|
3844
|
+
children: s,
|
|
3845
|
+
iconNode: o,
|
|
3846
|
+
...l
|
|
3847
|
+
}, a) => gt(
|
|
3848
|
+
"svg",
|
|
3849
|
+
{
|
|
3850
|
+
ref: a,
|
|
3851
|
+
...xi,
|
|
3852
|
+
width: r,
|
|
3853
|
+
height: r,
|
|
3854
|
+
stroke: e,
|
|
3855
|
+
strokeWidth: n ? Number(t) * 24 / Number(r) : t,
|
|
3856
|
+
className: jr("lucide", i),
|
|
3857
|
+
...!s && !yi(l) && { "aria-hidden": "true" },
|
|
3858
|
+
...l
|
|
3859
|
+
},
|
|
3860
|
+
[
|
|
3861
|
+
...o.map(([d, p]) => gt(d, p)),
|
|
3862
|
+
...Array.isArray(s) ? s : [s]
|
|
3863
|
+
]
|
|
3864
|
+
)
|
|
3865
|
+
);
|
|
3866
|
+
const Ti = (e, r) => {
|
|
3867
|
+
const t = Je(
|
|
3868
|
+
({ className: n, ...i }, s) => gt(Si, {
|
|
3869
|
+
ref: s,
|
|
3870
|
+
iconNode: r,
|
|
3871
|
+
className: jr(
|
|
3872
|
+
`lucide-${vi(sr(e))}`,
|
|
3873
|
+
`lucide-${e}`,
|
|
3874
|
+
n
|
|
3875
|
+
),
|
|
3876
|
+
...i
|
|
3877
|
+
})
|
|
3878
|
+
);
|
|
3879
|
+
return t.displayName = sr(e), t;
|
|
3880
|
+
};
|
|
3881
|
+
const wi = [
|
|
3882
|
+
["path", { d: "M3 5h18", key: "1u36vt" }],
|
|
3883
|
+
["path", { d: "M3 12h18", key: "1i2n21" }],
|
|
3884
|
+
["path", { d: "M3 19h18", key: "awlh7x" }]
|
|
3885
|
+
], Ei = Ti("text-align-justify", wi), Ot = ({ className: e = "", style: r = {}, onClick: t }) => {
|
|
3886
|
+
const { isOverflowing: n } = ce(Ze);
|
|
3828
3887
|
if (n)
|
|
3829
|
-
return /* @__PURE__ */
|
|
3888
|
+
return /* @__PURE__ */ G(
|
|
3830
3889
|
"button",
|
|
3831
3890
|
{
|
|
3891
|
+
style: r,
|
|
3892
|
+
onClick: t,
|
|
3832
3893
|
className: re(
|
|
3833
3894
|
"cursor-pointer h-10 min-w-10 flex flex-col items-center justify-center gap-1",
|
|
3834
3895
|
e
|
|
3835
3896
|
),
|
|
3836
|
-
|
|
3837
|
-
onMouseEnter: () => s(!0),
|
|
3838
|
-
onMouseLeave: () => s(!1),
|
|
3839
|
-
children: [
|
|
3840
|
-
/* @__PURE__ */ $("span", { className: "inline-block h-0.5 w-6", style: { background: o } }),
|
|
3841
|
-
/* @__PURE__ */ $("span", { className: "inline-block h-0.5 w-6", style: { background: o } }),
|
|
3842
|
-
/* @__PURE__ */ $("span", { className: "inline-block h-0.5 w-6", style: { background: o } }),
|
|
3843
|
-
/* @__PURE__ */ $("span", { className: "sr-only", children: "Toggle" })
|
|
3844
|
-
]
|
|
3897
|
+
children: /* @__PURE__ */ G(Ei, { strokeWidth: 2 })
|
|
3845
3898
|
}
|
|
3846
3899
|
);
|
|
3847
3900
|
};
|
|
3848
|
-
|
|
3849
|
-
|
|
3901
|
+
Ot.displayName = "Header.BurgerMenu";
|
|
3902
|
+
Ot.propTypes = {
|
|
3850
3903
|
className: P.string,
|
|
3904
|
+
style: P.object,
|
|
3851
3905
|
onClick: P.onClick
|
|
3852
3906
|
};
|
|
3853
|
-
const Le = ({ id: e,
|
|
3854
|
-
Le.Base =
|
|
3855
|
-
Le.Logo =
|
|
3856
|
-
Le.Menu =
|
|
3857
|
-
Le.Item =
|
|
3858
|
-
Le.BurgerMenu =
|
|
3907
|
+
const Le = ({ id: e, children: r }) => /* @__PURE__ */ G(hi, { id: e, children: r });
|
|
3908
|
+
Le.Base = Et;
|
|
3909
|
+
Le.Logo = Ct;
|
|
3910
|
+
Le.Menu = Mt;
|
|
3911
|
+
Le.Item = Pt;
|
|
3912
|
+
Le.BurgerMenu = Ot;
|
|
3859
3913
|
Le.propTypes = {
|
|
3860
3914
|
id: P.string.isRequired,
|
|
3861
|
-
theme: P.shape({
|
|
3862
|
-
primary: P.string,
|
|
3863
|
-
foreground: P.string,
|
|
3864
|
-
background: P.string
|
|
3865
|
-
}).isRequired,
|
|
3866
3915
|
children: P.node.isRequired
|
|
3867
3916
|
};
|
|
3868
|
-
const
|
|
3917
|
+
const Ci = be({
|
|
3869
3918
|
id: ""
|
|
3870
|
-
}),
|
|
3919
|
+
}), Mi = ({ id: e, children: r }) => /* @__PURE__ */ G(Ci.Provider, { value: { id: e }, children: r }), kt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ G(
|
|
3871
3920
|
"section",
|
|
3872
3921
|
{
|
|
3873
3922
|
className: re(
|
|
@@ -3883,13 +3932,13 @@ const mi = ye({
|
|
|
3883
3932
|
children: t
|
|
3884
3933
|
}
|
|
3885
3934
|
);
|
|
3886
|
-
|
|
3887
|
-
|
|
3935
|
+
kt.displayName = "NextSteps.Base";
|
|
3936
|
+
kt.propTypes = {
|
|
3888
3937
|
className: P.string,
|
|
3889
3938
|
style: P.object,
|
|
3890
3939
|
children: P.node.isRequired
|
|
3891
3940
|
};
|
|
3892
|
-
const
|
|
3941
|
+
const It = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ G(
|
|
3893
3942
|
"div",
|
|
3894
3943
|
{
|
|
3895
3944
|
className: re(
|
|
@@ -3903,13 +3952,13 @@ const Ot = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ *
|
|
|
3903
3952
|
children: t
|
|
3904
3953
|
}
|
|
3905
3954
|
);
|
|
3906
|
-
|
|
3907
|
-
|
|
3955
|
+
It.displayName = "NextSteps.Container";
|
|
3956
|
+
It.propTypes = {
|
|
3908
3957
|
className: P.string,
|
|
3909
3958
|
style: P.object,
|
|
3910
3959
|
children: P.node.isRequired
|
|
3911
3960
|
};
|
|
3912
|
-
const
|
|
3961
|
+
const Lt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ G(
|
|
3913
3962
|
"h2",
|
|
3914
3963
|
{
|
|
3915
3964
|
className: re("NEXTSTEPS-TITLE", "text-(--redhq-primary-500) leading-[1.2]", e),
|
|
@@ -3917,20 +3966,20 @@ const kt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ *
|
|
|
3917
3966
|
children: t
|
|
3918
3967
|
}
|
|
3919
3968
|
);
|
|
3920
|
-
|
|
3921
|
-
|
|
3969
|
+
Lt.displayName = "NextSteps.Title";
|
|
3970
|
+
Lt.propTypes = {
|
|
3922
3971
|
className: P.string,
|
|
3923
3972
|
style: P.object,
|
|
3924
3973
|
children: P.node.isRequired
|
|
3925
3974
|
};
|
|
3926
|
-
const
|
|
3927
|
-
|
|
3928
|
-
|
|
3975
|
+
const At = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ G("div", { className: re("NEXTSTEPS-CONTENT", e), style: r, children: t });
|
|
3976
|
+
At.displayName = "NextSteps.Content";
|
|
3977
|
+
At.propTypes = {
|
|
3929
3978
|
className: P.string,
|
|
3930
3979
|
style: P.object,
|
|
3931
3980
|
children: P.node.isRequired
|
|
3932
3981
|
};
|
|
3933
|
-
const
|
|
3982
|
+
const Rt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ G(
|
|
3934
3983
|
"div",
|
|
3935
3984
|
{
|
|
3936
3985
|
className: re(
|
|
@@ -3942,23 +3991,23 @@ const Lt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ *
|
|
|
3942
3991
|
children: t
|
|
3943
3992
|
}
|
|
3944
3993
|
);
|
|
3945
|
-
|
|
3946
|
-
|
|
3994
|
+
Rt.displayName = "NextSteps.CtaWrapper";
|
|
3995
|
+
Rt.propTypes = {
|
|
3947
3996
|
className: P.string,
|
|
3948
3997
|
style: P.object,
|
|
3949
3998
|
children: P.node.isRequired
|
|
3950
3999
|
};
|
|
3951
|
-
const Ae = ({ id: e, children: r }) => /* @__PURE__ */
|
|
3952
|
-
Ae.Base =
|
|
3953
|
-
Ae.Container =
|
|
3954
|
-
Ae.Title =
|
|
3955
|
-
Ae.Content =
|
|
3956
|
-
Ae.CtaWrapper =
|
|
4000
|
+
const Ae = ({ id: e, children: r }) => /* @__PURE__ */ G(Mi, { id: e, children: r });
|
|
4001
|
+
Ae.Base = kt;
|
|
4002
|
+
Ae.Container = It;
|
|
4003
|
+
Ae.Title = Lt;
|
|
4004
|
+
Ae.Content = At;
|
|
4005
|
+
Ae.CtaWrapper = Rt;
|
|
3957
4006
|
Ae.propTypes = {
|
|
3958
4007
|
id: P.string.isRequired,
|
|
3959
4008
|
children: P.node.isRequired
|
|
3960
4009
|
};
|
|
3961
|
-
const
|
|
4010
|
+
const Fr = be({
|
|
3962
4011
|
id: "",
|
|
3963
4012
|
theme: {
|
|
3964
4013
|
primary: "",
|
|
@@ -3966,20 +4015,20 @@ const Gr = ye({
|
|
|
3966
4015
|
tertiary: "",
|
|
3967
4016
|
quaternary: ""
|
|
3968
4017
|
}
|
|
3969
|
-
}),
|
|
3970
|
-
|
|
3971
|
-
|
|
4018
|
+
}), Pi = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ G(Fr.Provider, { value: { id: e, theme: r }, children: t }), _t = ({ className: e = "", children: r }) => /* @__PURE__ */ G("div", { className: re("RECORD-BASE", "space-y-4 md:space-y-6 lg:space-y-8", e), children: r });
|
|
4019
|
+
_t.displayName = "Record.Base";
|
|
4020
|
+
_t.propTypes = {
|
|
3972
4021
|
className: P.string,
|
|
3973
4022
|
children: P.node.isRequired
|
|
3974
4023
|
};
|
|
3975
|
-
const
|
|
4024
|
+
const zt = ({ className: e = "", specs: r = [], children: t }) => {
|
|
3976
4025
|
const [
|
|
3977
4026
|
n = "clamp(1.5rem, 2.2vw + 0.65rem, 2.75rem)",
|
|
3978
4027
|
i = "normal",
|
|
3979
4028
|
s = "normal",
|
|
3980
4029
|
o = "1.2"
|
|
3981
|
-
] = r, { theme: l } = ce(
|
|
3982
|
-
return /* @__PURE__ */
|
|
4030
|
+
] = r, { theme: l } = ce(Fr);
|
|
4031
|
+
return /* @__PURE__ */ G(
|
|
3983
4032
|
"h2",
|
|
3984
4033
|
{
|
|
3985
4034
|
className: re("RECORD-TITLE", "text-2xl", e),
|
|
@@ -3988,8 +4037,8 @@ const Rt = ({ className: e = "", specs: r = [], children: t }) => {
|
|
|
3988
4037
|
}
|
|
3989
4038
|
);
|
|
3990
4039
|
};
|
|
3991
|
-
|
|
3992
|
-
|
|
4040
|
+
zt.displayName = "Record.Title";
|
|
4041
|
+
zt.propTypes = {
|
|
3993
4042
|
className: P.string,
|
|
3994
4043
|
specs: P.arrayOf(P.string),
|
|
3995
4044
|
children: P.node.isRequired
|
|
@@ -4007,9 +4056,9 @@ const Ce = (e) => ({
|
|
|
4007
4056
|
10: "grid-cols-10",
|
|
4008
4057
|
11: "grid-cols-11",
|
|
4009
4058
|
12: "grid-cols-12"
|
|
4010
|
-
})[e],
|
|
4011
|
-
const [e, r] =
|
|
4012
|
-
return
|
|
4059
|
+
})[e], Oi = () => {
|
|
4060
|
+
const [e, r] = xe(0), t = oe(null);
|
|
4061
|
+
return St(() => {
|
|
4013
4062
|
if (!t.current) return;
|
|
4014
4063
|
const n = new ResizeObserver((i) => {
|
|
4015
4064
|
for (let s of i)
|
|
@@ -4017,7 +4066,7 @@ const Ce = (e) => ({
|
|
|
4017
4066
|
});
|
|
4018
4067
|
return n.observe(t.current), () => n.disconnect();
|
|
4019
4068
|
}, []), [t, e];
|
|
4020
|
-
},
|
|
4069
|
+
}, Nt = ({
|
|
4021
4070
|
className: e = "",
|
|
4022
4071
|
col: r = 12,
|
|
4023
4072
|
// ≥ 1281 = Default
|
|
@@ -4031,11 +4080,11 @@ const Ce = (e) => ({
|
|
|
4031
4080
|
// ≤ 640 Mobile
|
|
4032
4081
|
children: o
|
|
4033
4082
|
}) => {
|
|
4034
|
-
const [l, a] =
|
|
4035
|
-
return /* @__PURE__ */
|
|
4083
|
+
const [l, a] = Oi(), d = pn(() => a ? a <= 640 ? Ce(s) : a <= 768 ? Ce(i) : a <= 1024 ? Ce(n) : a <= 1280 ? Ce(t) : Ce(r) : Ce(r), [a, s, i, n, t, r]);
|
|
4084
|
+
return /* @__PURE__ */ G("div", { ref: l, className: re("RECORD-GRID", "grid gap-4", d, e), children: o });
|
|
4036
4085
|
};
|
|
4037
|
-
|
|
4038
|
-
|
|
4086
|
+
Nt.displayName = "Record.Grid";
|
|
4087
|
+
Nt.propTypes = {
|
|
4039
4088
|
className: P.string,
|
|
4040
4089
|
col: P.number,
|
|
4041
4090
|
xlCol: P.number,
|
|
@@ -4044,18 +4093,18 @@ zt.propTypes = {
|
|
|
4044
4093
|
smCol: P.number,
|
|
4045
4094
|
children: P.node.isRequired
|
|
4046
4095
|
};
|
|
4047
|
-
const
|
|
4048
|
-
|
|
4049
|
-
|
|
4096
|
+
const Dt = ({ className: e = "", children: r }) => /* @__PURE__ */ G("div", { className: re("RECORD-ITEM", e), children: r });
|
|
4097
|
+
Dt.displayName = "Record.Item";
|
|
4098
|
+
Dt.propTypes = {
|
|
4050
4099
|
className: P.string,
|
|
4051
4100
|
children: P.node.isRequired
|
|
4052
4101
|
};
|
|
4053
|
-
const
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4102
|
+
const qe = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ G(Pi, { id: e, theme: r, children: t });
|
|
4103
|
+
qe.Base = _t;
|
|
4104
|
+
qe.Title = zt;
|
|
4105
|
+
qe.Grid = Nt;
|
|
4106
|
+
qe.Item = Dt;
|
|
4107
|
+
qe.propTypes = {
|
|
4059
4108
|
id: P.string.isRequired,
|
|
4060
4109
|
theme: P.shape({
|
|
4061
4110
|
primary: P.string,
|
|
@@ -4065,7 +4114,7 @@ Be.propTypes = {
|
|
|
4065
4114
|
}).isRequired,
|
|
4066
4115
|
children: P.node.isRequired
|
|
4067
4116
|
};
|
|
4068
|
-
const
|
|
4117
|
+
const Vr = be({
|
|
4069
4118
|
id: "",
|
|
4070
4119
|
theme: {
|
|
4071
4120
|
primary: "",
|
|
@@ -4073,7 +4122,7 @@ const jr = ye({
|
|
|
4073
4122
|
tertiary: "",
|
|
4074
4123
|
quaternary: ""
|
|
4075
4124
|
}
|
|
4076
|
-
}),
|
|
4125
|
+
}), ki = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ G(Vr.Provider, { value: { id: e, theme: r }, children: t }), qt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ G(
|
|
4077
4126
|
"section",
|
|
4078
4127
|
{
|
|
4079
4128
|
className: re(
|
|
@@ -4085,13 +4134,13 @@ const jr = ye({
|
|
|
4085
4134
|
children: t
|
|
4086
4135
|
}
|
|
4087
4136
|
);
|
|
4088
|
-
|
|
4089
|
-
|
|
4137
|
+
qt.displayName = "Testimonials.Base";
|
|
4138
|
+
qt.propTypes = {
|
|
4090
4139
|
className: P.string,
|
|
4091
4140
|
style: P.object,
|
|
4092
4141
|
children: P.node.isRequired
|
|
4093
4142
|
};
|
|
4094
|
-
const
|
|
4143
|
+
const Bt = ({ className: e = "", width: r, style: t = {}, children: n }) => /* @__PURE__ */ G(
|
|
4095
4144
|
"div",
|
|
4096
4145
|
{
|
|
4097
4146
|
className: re("TESTIMONIALS-CONTAINER", "w-full mx-auto", e),
|
|
@@ -4099,22 +4148,22 @@ const Dt = ({ className: e = "", width: r, style: t = {}, children: n }) => /* @
|
|
|
4099
4148
|
children: n
|
|
4100
4149
|
}
|
|
4101
4150
|
);
|
|
4102
|
-
|
|
4103
|
-
|
|
4151
|
+
Bt.displayName = "Testimonials.Container";
|
|
4152
|
+
Bt.propTypes = {
|
|
4104
4153
|
className: P.string,
|
|
4105
4154
|
style: P.object,
|
|
4106
4155
|
children: P.node.isRequired
|
|
4107
4156
|
};
|
|
4108
|
-
function
|
|
4157
|
+
function ar(e) {
|
|
4109
4158
|
return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
|
|
4110
4159
|
}
|
|
4111
|
-
function
|
|
4160
|
+
function $t(e = {}, r = {}) {
|
|
4112
4161
|
const t = ["__proto__", "constructor", "prototype"];
|
|
4113
4162
|
Object.keys(r).filter((n) => t.indexOf(n) < 0).forEach((n) => {
|
|
4114
|
-
typeof e[n] > "u" ? e[n] = r[n] :
|
|
4163
|
+
typeof e[n] > "u" ? e[n] = r[n] : ar(r[n]) && ar(e[n]) && Object.keys(r[n]).length > 0 && $t(e[n], r[n]);
|
|
4115
4164
|
});
|
|
4116
4165
|
}
|
|
4117
|
-
const
|
|
4166
|
+
const Wr = {
|
|
4118
4167
|
body: {},
|
|
4119
4168
|
addEventListener() {
|
|
4120
4169
|
},
|
|
@@ -4171,10 +4220,10 @@ const Fr = {
|
|
|
4171
4220
|
};
|
|
4172
4221
|
function de() {
|
|
4173
4222
|
const e = typeof document < "u" ? document : {};
|
|
4174
|
-
return
|
|
4223
|
+
return $t(e, Wr), e;
|
|
4175
4224
|
}
|
|
4176
|
-
const
|
|
4177
|
-
document:
|
|
4225
|
+
const Ii = {
|
|
4226
|
+
document: Wr,
|
|
4178
4227
|
navigator: {
|
|
4179
4228
|
userAgent: ""
|
|
4180
4229
|
},
|
|
@@ -4233,12 +4282,12 @@ const yi = {
|
|
|
4233
4282
|
};
|
|
4234
4283
|
function ae() {
|
|
4235
4284
|
const e = typeof window < "u" ? window : {};
|
|
4236
|
-
return
|
|
4285
|
+
return $t(e, Ii), e;
|
|
4237
4286
|
}
|
|
4238
|
-
function
|
|
4287
|
+
function Li(e = "") {
|
|
4239
4288
|
return e.trim().split(" ").filter((r) => !!r.trim());
|
|
4240
4289
|
}
|
|
4241
|
-
function
|
|
4290
|
+
function Ai(e) {
|
|
4242
4291
|
const r = e;
|
|
4243
4292
|
Object.keys(r).forEach((t) => {
|
|
4244
4293
|
try {
|
|
@@ -4251,38 +4300,38 @@ function Si(e) {
|
|
|
4251
4300
|
}
|
|
4252
4301
|
});
|
|
4253
4302
|
}
|
|
4254
|
-
function
|
|
4303
|
+
function Hr(e, r = 0) {
|
|
4255
4304
|
return setTimeout(e, r);
|
|
4256
4305
|
}
|
|
4257
|
-
function
|
|
4306
|
+
function Xe() {
|
|
4258
4307
|
return Date.now();
|
|
4259
4308
|
}
|
|
4260
|
-
function
|
|
4309
|
+
function Ri(e) {
|
|
4261
4310
|
const r = ae();
|
|
4262
4311
|
let t;
|
|
4263
4312
|
return r.getComputedStyle && (t = r.getComputedStyle(e, null)), !t && e.currentStyle && (t = e.currentStyle), t || (t = e.style), t;
|
|
4264
4313
|
}
|
|
4265
|
-
function
|
|
4314
|
+
function _i(e, r = "x") {
|
|
4266
4315
|
const t = ae();
|
|
4267
4316
|
let n, i, s;
|
|
4268
|
-
const o =
|
|
4317
|
+
const o = Ri(e);
|
|
4269
4318
|
return t.WebKitCSSMatrix ? (i = o.transform || o.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((l) => l.replace(",", ".")).join(", ")), s = new t.WebKitCSSMatrix(i === "none" ? "" : i)) : (s = o.MozTransform || o.OTransform || o.MsTransform || o.msTransform || o.transform || o.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = s.toString().split(",")), r === "x" && (t.WebKitCSSMatrix ? i = s.m41 : n.length === 16 ? i = parseFloat(n[12]) : i = parseFloat(n[4])), r === "y" && (t.WebKitCSSMatrix ? i = s.m42 : n.length === 16 ? i = parseFloat(n[13]) : i = parseFloat(n[5])), i || 0;
|
|
4270
4319
|
}
|
|
4271
|
-
function
|
|
4320
|
+
function Ve(e) {
|
|
4272
4321
|
return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
|
4273
4322
|
}
|
|
4274
|
-
function
|
|
4323
|
+
function zi(e) {
|
|
4275
4324
|
return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
|
|
4276
4325
|
}
|
|
4277
4326
|
function le(...e) {
|
|
4278
4327
|
const r = Object(e[0]), t = ["__proto__", "constructor", "prototype"];
|
|
4279
4328
|
for (let n = 1; n < e.length; n += 1) {
|
|
4280
4329
|
const i = e[n];
|
|
4281
|
-
if (i != null && !
|
|
4330
|
+
if (i != null && !zi(i)) {
|
|
4282
4331
|
const s = Object.keys(Object(i)).filter((o) => t.indexOf(o) < 0);
|
|
4283
4332
|
for (let o = 0, l = s.length; o < l; o += 1) {
|
|
4284
4333
|
const a = s[o], d = Object.getOwnPropertyDescriptor(i, a);
|
|
4285
|
-
d !== void 0 && d.enumerable && (
|
|
4334
|
+
d !== void 0 && d.enumerable && (Ve(r[a]) && Ve(i[a]) ? i[a].__swiper__ ? r[a] = i[a] : le(r[a], i[a]) : !Ve(r[a]) && Ve(i[a]) ? (r[a] = {}, i[a].__swiper__ ? r[a] = i[a] : le(r[a], i[a])) : r[a] = i[a]);
|
|
4286
4335
|
}
|
|
4287
4336
|
}
|
|
4288
4337
|
}
|
|
@@ -4291,7 +4340,7 @@ function le(...e) {
|
|
|
4291
4340
|
function We(e, r, t) {
|
|
4292
4341
|
e.style.setProperty(r, t);
|
|
4293
4342
|
}
|
|
4294
|
-
function
|
|
4343
|
+
function Yr({
|
|
4295
4344
|
swiper: e,
|
|
4296
4345
|
targetPosition: r,
|
|
4297
4346
|
side: t
|
|
@@ -4322,7 +4371,7 @@ function fe(e, r = "") {
|
|
|
4322
4371
|
const t = ae(), n = [...e.children];
|
|
4323
4372
|
return t.HTMLSlotElement && e instanceof HTMLSlotElement && n.push(...e.assignedElements()), r ? n.filter((i) => i.matches(r)) : n;
|
|
4324
4373
|
}
|
|
4325
|
-
function
|
|
4374
|
+
function Ni(e, r) {
|
|
4326
4375
|
const t = [r];
|
|
4327
4376
|
for (; t.length > 0; ) {
|
|
4328
4377
|
const n = t.shift();
|
|
@@ -4331,12 +4380,12 @@ function Ci(e, r) {
|
|
|
4331
4380
|
t.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
|
|
4332
4381
|
}
|
|
4333
4382
|
}
|
|
4334
|
-
function
|
|
4383
|
+
function Di(e, r) {
|
|
4335
4384
|
const t = ae();
|
|
4336
4385
|
let n = r.contains(e);
|
|
4337
|
-
return !n && t.HTMLSlotElement && r instanceof HTMLSlotElement && (n = [...r.assignedElements()].includes(e), n || (n =
|
|
4386
|
+
return !n && t.HTMLSlotElement && r instanceof HTMLSlotElement && (n = [...r.assignedElements()].includes(e), n || (n = Ni(e, r))), n;
|
|
4338
4387
|
}
|
|
4339
|
-
function
|
|
4388
|
+
function Ue(e) {
|
|
4340
4389
|
try {
|
|
4341
4390
|
console.warn(e);
|
|
4342
4391
|
return;
|
|
@@ -4345,9 +4394,9 @@ function Ke(e) {
|
|
|
4345
4394
|
}
|
|
4346
4395
|
function Ne(e, r = []) {
|
|
4347
4396
|
const t = document.createElement(e);
|
|
4348
|
-
return t.classList.add(...Array.isArray(r) ? r :
|
|
4397
|
+
return t.classList.add(...Array.isArray(r) ? r : Li(r)), t;
|
|
4349
4398
|
}
|
|
4350
|
-
function
|
|
4399
|
+
function qi(e, r) {
|
|
4351
4400
|
const t = [];
|
|
4352
4401
|
for (; e.previousElementSibling; ) {
|
|
4353
4402
|
const n = e.previousElementSibling;
|
|
@@ -4355,7 +4404,7 @@ function Pi(e, r) {
|
|
|
4355
4404
|
}
|
|
4356
4405
|
return t;
|
|
4357
4406
|
}
|
|
4358
|
-
function
|
|
4407
|
+
function Bi(e, r) {
|
|
4359
4408
|
const t = [];
|
|
4360
4409
|
for (; e.nextElementSibling; ) {
|
|
4361
4410
|
const n = e.nextElementSibling;
|
|
@@ -4374,14 +4423,14 @@ function De(e) {
|
|
|
4374
4423
|
return t;
|
|
4375
4424
|
}
|
|
4376
4425
|
}
|
|
4377
|
-
function
|
|
4426
|
+
function Xr(e, r) {
|
|
4378
4427
|
const t = [];
|
|
4379
4428
|
let n = e.parentElement;
|
|
4380
4429
|
for (; n; )
|
|
4381
4430
|
r ? n.matches(r) && t.push(n) : t.push(n), n = n.parentElement;
|
|
4382
4431
|
return t;
|
|
4383
4432
|
}
|
|
4384
|
-
function
|
|
4433
|
+
function bt(e, r, t) {
|
|
4385
4434
|
const n = ae();
|
|
4386
4435
|
return e[r === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(n.getComputedStyle(e, null).getPropertyValue(r === "width" ? "margin-right" : "margin-top")) + parseFloat(n.getComputedStyle(e, null).getPropertyValue(r === "width" ? "margin-left" : "margin-bottom"));
|
|
4387
4436
|
}
|
|
@@ -4393,22 +4442,22 @@ function Pe(e, r = "") {
|
|
|
4393
4442
|
createHTML: (t) => t
|
|
4394
4443
|
}).createHTML(r) : e.innerHTML = r;
|
|
4395
4444
|
}
|
|
4396
|
-
let
|
|
4397
|
-
function
|
|
4445
|
+
let lt;
|
|
4446
|
+
function $i() {
|
|
4398
4447
|
const e = ae(), r = de();
|
|
4399
4448
|
return {
|
|
4400
4449
|
smoothScroll: r.documentElement && r.documentElement.style && "scrollBehavior" in r.documentElement.style,
|
|
4401
4450
|
touch: !!("ontouchstart" in e || e.DocumentTouch && r instanceof e.DocumentTouch)
|
|
4402
4451
|
};
|
|
4403
4452
|
}
|
|
4404
|
-
function
|
|
4405
|
-
return
|
|
4453
|
+
function Ur() {
|
|
4454
|
+
return lt || (lt = $i()), lt;
|
|
4406
4455
|
}
|
|
4407
|
-
let
|
|
4408
|
-
function
|
|
4456
|
+
let dt;
|
|
4457
|
+
function Gi({
|
|
4409
4458
|
userAgent: e
|
|
4410
4459
|
} = {}) {
|
|
4411
|
-
const r =
|
|
4460
|
+
const r = Ur(), t = ae(), n = t.navigator.platform, i = e || t.navigator.userAgent, s = {
|
|
4412
4461
|
ios: !1,
|
|
4413
4462
|
android: !1
|
|
4414
4463
|
}, o = t.screen.width, l = t.screen.height, a = i.match(/(Android);?[\s\/]+([\d.]+)?/);
|
|
@@ -4418,12 +4467,12 @@ function Ii({
|
|
|
4418
4467
|
const g = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
|
|
4419
4468
|
return !d && f && r.touch && g.indexOf(`${o}x${l}`) >= 0 && (d = i.match(/(Version)\/([\d.]+)/), d || (d = [0, 1, "13_0_0"]), f = !1), a && !T && (s.os = "android", s.android = !0), (d || c || p) && (s.os = "ios", s.ios = !0), s;
|
|
4420
4469
|
}
|
|
4421
|
-
function
|
|
4422
|
-
return
|
|
4470
|
+
function Kr(e = {}) {
|
|
4471
|
+
return dt || (dt = Gi(e)), dt;
|
|
4423
4472
|
}
|
|
4424
|
-
let
|
|
4425
|
-
function
|
|
4426
|
-
const e = ae(), r =
|
|
4473
|
+
let ct;
|
|
4474
|
+
function ji() {
|
|
4475
|
+
const e = ae(), r = Kr();
|
|
4427
4476
|
let t = !1;
|
|
4428
4477
|
function n() {
|
|
4429
4478
|
const l = e.navigator.userAgent.toLowerCase();
|
|
@@ -4444,10 +4493,10 @@ function Li() {
|
|
|
4444
4493
|
isWebView: i
|
|
4445
4494
|
};
|
|
4446
4495
|
}
|
|
4447
|
-
function
|
|
4448
|
-
return
|
|
4496
|
+
function Jr() {
|
|
4497
|
+
return ct || (ct = ji()), ct;
|
|
4449
4498
|
}
|
|
4450
|
-
function
|
|
4499
|
+
function Fi({
|
|
4451
4500
|
swiper: e,
|
|
4452
4501
|
on: r,
|
|
4453
4502
|
emit: t
|
|
@@ -4488,7 +4537,7 @@ function Ai({
|
|
|
4488
4537
|
a(), n.removeEventListener("resize", o), n.removeEventListener("orientationchange", d);
|
|
4489
4538
|
});
|
|
4490
4539
|
}
|
|
4491
|
-
function
|
|
4540
|
+
function Vi({
|
|
4492
4541
|
swiper: e,
|
|
4493
4542
|
extendParams: r,
|
|
4494
4543
|
on: t,
|
|
@@ -4514,7 +4563,7 @@ function Ri({
|
|
|
4514
4563
|
}, l = () => {
|
|
4515
4564
|
if (e.params.observer) {
|
|
4516
4565
|
if (e.params.observeParents) {
|
|
4517
|
-
const d =
|
|
4566
|
+
const d = Xr(e.hostEl);
|
|
4518
4567
|
for (let p = 0; p < d.length; p += 1)
|
|
4519
4568
|
o(d[p]);
|
|
4520
4569
|
}
|
|
@@ -4535,7 +4584,7 @@ function Ri({
|
|
|
4535
4584
|
observeSlideChildren: !1
|
|
4536
4585
|
}), t("init", l), t("destroy", a);
|
|
4537
4586
|
}
|
|
4538
|
-
var
|
|
4587
|
+
var Wi = {
|
|
4539
4588
|
on(e, r, t) {
|
|
4540
4589
|
const n = this;
|
|
4541
4590
|
if (!n.eventsListeners || n.destroyed || typeof r != "function") return n;
|
|
@@ -4585,7 +4634,7 @@ var zi = {
|
|
|
4585
4634
|
}), r;
|
|
4586
4635
|
}
|
|
4587
4636
|
};
|
|
4588
|
-
function
|
|
4637
|
+
function Hi() {
|
|
4589
4638
|
const e = this;
|
|
4590
4639
|
let r, t;
|
|
4591
4640
|
const n = e.el;
|
|
@@ -4595,7 +4644,7 @@ function _i() {
|
|
|
4595
4644
|
size: e.isHorizontal() ? r : t
|
|
4596
4645
|
}));
|
|
4597
4646
|
}
|
|
4598
|
-
function
|
|
4647
|
+
function Yi() {
|
|
4599
4648
|
const e = this;
|
|
4600
4649
|
function r(O, k) {
|
|
4601
4650
|
return parseFloat(O.getPropertyValue(e.getDirectionLabel(k)) || 0);
|
|
@@ -4622,7 +4671,7 @@ function Ni() {
|
|
|
4622
4671
|
const L = t.grid && t.grid.rows > 1 && e.grid;
|
|
4623
4672
|
L ? e.grid.initSlides(d) : e.grid && e.grid.unsetSlides();
|
|
4624
4673
|
let h;
|
|
4625
|
-
const
|
|
4674
|
+
const z = t.slidesPerView === "auto" && t.breakpoints && Object.keys(t.breakpoints).filter((O) => typeof t.breakpoints[O].slidesPerView < "u").length > 0;
|
|
4626
4675
|
for (let O = 0; O < p; O += 1) {
|
|
4627
4676
|
h = 0;
|
|
4628
4677
|
const k = d[O];
|
|
@@ -4630,10 +4679,10 @@ function Ni() {
|
|
|
4630
4679
|
if (l && t.slidesPerView === "auto")
|
|
4631
4680
|
t.virtual.slidesPerViewAutoSlideSize && (h = t.virtual.slidesPerViewAutoSlideSize), h && k && (t.roundLengths && (h = Math.floor(h)), k.style[e.getDirectionLabel("width")] = `${h}px`);
|
|
4632
4681
|
else if (t.slidesPerView === "auto") {
|
|
4633
|
-
|
|
4682
|
+
z && (k.style[e.getDirectionLabel("width")] = "");
|
|
4634
4683
|
const R = getComputedStyle(k), F = k.style.transform, V = k.style.webkitTransform;
|
|
4635
4684
|
if (F && (k.style.transform = "none"), V && (k.style.webkitTransform = "none"), t.roundLengths)
|
|
4636
|
-
h = e.isHorizontal() ?
|
|
4685
|
+
h = e.isHorizontal() ? bt(k, "width") : bt(k, "height");
|
|
4637
4686
|
else {
|
|
4638
4687
|
const Q = r(R, "width"), w = r(R, "padding-left"), M = r(R, "padding-right"), S = r(R, "margin-left"), q = r(R, "margin-right"), C = R.getPropertyValue("box-sizing");
|
|
4639
4688
|
if (C && C === "border-box")
|
|
@@ -4641,9 +4690,9 @@ function Ni() {
|
|
|
4641
4690
|
else {
|
|
4642
4691
|
const {
|
|
4643
4692
|
clientWidth: I,
|
|
4644
|
-
offsetWidth:
|
|
4693
|
+
offsetWidth: W
|
|
4645
4694
|
} = k;
|
|
4646
|
-
h = Q + w + M + S + q + (
|
|
4695
|
+
h = Q + w + M + S + q + (W - I);
|
|
4647
4696
|
}
|
|
4648
4697
|
}
|
|
4649
4698
|
F && (k.style.transform = F), V && (k.style.webkitTransform = V), t.roundLengths && (h = Math.floor(h));
|
|
@@ -4714,7 +4763,7 @@ function Ni() {
|
|
|
4714
4763
|
p <= t.maxBackfaceHiddenSlides ? k || e.el.classList.add(O) : k && e.el.classList.remove(O);
|
|
4715
4764
|
}
|
|
4716
4765
|
}
|
|
4717
|
-
function
|
|
4766
|
+
function Xi(e) {
|
|
4718
4767
|
const r = this, t = [], n = r.virtual && r.params.virtual.enabled;
|
|
4719
4768
|
let i = 0, s;
|
|
4720
4769
|
typeof e == "number" ? r.setTransition(e) : e === !0 && r.setTransition(r.params.speed);
|
|
@@ -4739,15 +4788,15 @@ function Di(e) {
|
|
|
4739
4788
|
}
|
|
4740
4789
|
(i || i === 0) && (r.wrapperEl.style.height = `${i}px`);
|
|
4741
4790
|
}
|
|
4742
|
-
function
|
|
4791
|
+
function Ui() {
|
|
4743
4792
|
const e = this, r = e.slides, t = e.isElement ? e.isHorizontal() ? e.wrapperEl.offsetLeft : e.wrapperEl.offsetTop : 0;
|
|
4744
4793
|
for (let n = 0; n < r.length; n += 1)
|
|
4745
4794
|
r[n].swiperSlideOffset = (e.isHorizontal() ? r[n].offsetLeft : r[n].offsetTop) - t - e.cssOverflowAdjustment();
|
|
4746
4795
|
}
|
|
4747
|
-
const
|
|
4796
|
+
const or = (e, r, t) => {
|
|
4748
4797
|
r && !e.classList.contains(t) ? e.classList.add(t) : !r && e.classList.contains(t) && e.classList.remove(t);
|
|
4749
4798
|
};
|
|
4750
|
-
function
|
|
4799
|
+
function Ki(e = this && this.translate || 0) {
|
|
4751
4800
|
const r = this, t = r.params, {
|
|
4752
4801
|
slides: n,
|
|
4753
4802
|
rtlTranslate: i,
|
|
@@ -4764,10 +4813,10 @@ function Bi(e = this && this.translate || 0) {
|
|
|
4764
4813
|
let p = d.swiperSlideOffset;
|
|
4765
4814
|
t.cssMode && t.centeredSlides && (p -= n[0].swiperSlideOffset);
|
|
4766
4815
|
const c = (o + (t.centeredSlides ? r.minTranslate() : 0) - p) / (d.swiperSlideSize + l), T = (o - s[0] + (t.centeredSlides ? r.minTranslate() : 0) - p) / (d.swiperSlideSize + l), f = -(o - p), g = f + r.slidesSizesGrid[a], b = f >= 0 && f <= r.size - r.slidesSizesGrid[a], x = f >= 0 && f < r.size - 1 || g > 1 && g <= r.size || f <= 0 && g >= r.size;
|
|
4767
|
-
x && (r.visibleSlides.push(d), r.visibleSlidesIndexes.push(a)),
|
|
4816
|
+
x && (r.visibleSlides.push(d), r.visibleSlidesIndexes.push(a)), or(d, x, t.slideVisibleClass), or(d, b, t.slideFullyVisibleClass), d.progress = i ? -c : c, d.originalProgress = i ? -T : T;
|
|
4768
4817
|
}
|
|
4769
4818
|
}
|
|
4770
|
-
function
|
|
4819
|
+
function Ji(e) {
|
|
4771
4820
|
const r = this;
|
|
4772
4821
|
if (typeof e > "u") {
|
|
4773
4822
|
const p = r.rtlTranslate ? -1 : 1;
|
|
@@ -4799,10 +4848,10 @@ function $i(e) {
|
|
|
4799
4848
|
isEnd: o
|
|
4800
4849
|
}), (t.watchSlidesProgress || t.centeredSlides && t.autoHeight) && r.updateSlidesProgress(e), s && !a && r.emit("reachBeginning toEdge"), o && !d && r.emit("reachEnd toEdge"), (a && !s || d && !o) && r.emit("fromEdge"), r.emit("progress", i);
|
|
4801
4850
|
}
|
|
4802
|
-
const
|
|
4851
|
+
const ut = (e, r, t) => {
|
|
4803
4852
|
r && !e.classList.contains(t) ? e.classList.add(t) : !r && e.classList.contains(t) && e.classList.remove(t);
|
|
4804
4853
|
};
|
|
4805
|
-
function
|
|
4854
|
+
function Zi() {
|
|
4806
4855
|
const e = this, {
|
|
4807
4856
|
slides: r,
|
|
4808
4857
|
params: t,
|
|
@@ -4818,11 +4867,11 @@ function Gi() {
|
|
|
4818
4867
|
a = l(`[data-swiper-slide-index="${i}"]`);
|
|
4819
4868
|
else
|
|
4820
4869
|
o ? (a = r.find((c) => c.column === i), p = r.find((c) => c.column === i + 1), d = r.find((c) => c.column === i - 1)) : a = r[i];
|
|
4821
|
-
a && (o || (p =
|
|
4822
|
-
|
|
4870
|
+
a && (o || (p = Bi(a, `.${t.slideClass}, swiper-slide`)[0], t.loop && !p && (p = r[0]), d = qi(a, `.${t.slideClass}, swiper-slide`)[0], t.loop && !d === 0 && (d = r[r.length - 1]))), r.forEach((c) => {
|
|
4871
|
+
ut(c, c === a, t.slideActiveClass), ut(c, c === p, t.slideNextClass), ut(c, c === d, t.slidePrevClass);
|
|
4823
4872
|
}), e.emitSlidesClasses();
|
|
4824
4873
|
}
|
|
4825
|
-
const
|
|
4874
|
+
const He = (e, r) => {
|
|
4826
4875
|
if (!e || e.destroyed || !e.params) return;
|
|
4827
4876
|
const t = () => e.isElement ? "swiper-slide" : `.${e.params.slideClass}`, n = r.closest(t());
|
|
4828
4877
|
if (n) {
|
|
@@ -4831,11 +4880,11 @@ const Ye = (e, r) => {
|
|
|
4831
4880
|
n.shadowRoot && (i = n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`), i && i.remove());
|
|
4832
4881
|
})), i && i.remove();
|
|
4833
4882
|
}
|
|
4834
|
-
},
|
|
4883
|
+
}, ft = (e, r) => {
|
|
4835
4884
|
if (!e.slides[r]) return;
|
|
4836
4885
|
const t = e.slides[r].querySelector('[loading="lazy"]');
|
|
4837
4886
|
t && t.removeAttribute("loading");
|
|
4838
|
-
},
|
|
4887
|
+
}, yt = (e) => {
|
|
4839
4888
|
if (!e || e.destroyed || !e.params) return;
|
|
4840
4889
|
let r = e.params.lazyPreloadPrevNext;
|
|
4841
4890
|
const t = e.slides.length;
|
|
@@ -4847,7 +4896,7 @@ const Ye = (e, r) => {
|
|
|
4847
4896
|
l.push(...Array.from({
|
|
4848
4897
|
length: r
|
|
4849
4898
|
}).map((a, d) => o + n + d)), e.slides.forEach((a, d) => {
|
|
4850
|
-
l.includes(a.column) &&
|
|
4899
|
+
l.includes(a.column) && ft(e, d);
|
|
4851
4900
|
});
|
|
4852
4901
|
return;
|
|
4853
4902
|
}
|
|
@@ -4855,13 +4904,13 @@ const Ye = (e, r) => {
|
|
|
4855
4904
|
if (e.params.rewind || e.params.loop)
|
|
4856
4905
|
for (let o = i - r; o <= s + r; o += 1) {
|
|
4857
4906
|
const l = (o % t + t) % t;
|
|
4858
|
-
(l < i || l > s) &&
|
|
4907
|
+
(l < i || l > s) && ft(e, l);
|
|
4859
4908
|
}
|
|
4860
4909
|
else
|
|
4861
4910
|
for (let o = Math.max(i - r, 0); o <= Math.min(s + r, t - 1); o += 1)
|
|
4862
|
-
o !== i && (o > s || o < i) &&
|
|
4911
|
+
o !== i && (o > s || o < i) && ft(e, o);
|
|
4863
4912
|
};
|
|
4864
|
-
function
|
|
4913
|
+
function Qi(e) {
|
|
4865
4914
|
const {
|
|
4866
4915
|
slidesGrid: r,
|
|
4867
4916
|
params: t
|
|
@@ -4871,7 +4920,7 @@ function ji(e) {
|
|
|
4871
4920
|
typeof r[s + 1] < "u" ? n >= r[s] && n < r[s + 1] - (r[s + 1] - r[s]) / 2 ? i = s : n >= r[s] && n < r[s + 1] && (i = s + 1) : n >= r[s] && (i = s);
|
|
4872
4921
|
return t.normalizeSlideIndex && (i < 0 || typeof i > "u") && (i = 0), i;
|
|
4873
4922
|
}
|
|
4874
|
-
function
|
|
4923
|
+
function es(e) {
|
|
4875
4924
|
const r = this, t = r.rtlTranslate ? r.translate : -r.translate, {
|
|
4876
4925
|
snapGrid: n,
|
|
4877
4926
|
params: i,
|
|
@@ -4884,7 +4933,7 @@ function Fi(e) {
|
|
|
4884
4933
|
let g = f - r.virtual.slidesBefore;
|
|
4885
4934
|
return g < 0 && (g = r.virtual.slides.length + g), g >= r.virtual.slides.length && (g -= r.virtual.slides.length), g;
|
|
4886
4935
|
};
|
|
4887
|
-
if (typeof a > "u" && (a =
|
|
4936
|
+
if (typeof a > "u" && (a = Qi(r)), n.indexOf(t) >= 0)
|
|
4888
4937
|
d = n.indexOf(t);
|
|
4889
4938
|
else {
|
|
4890
4939
|
const f = Math.min(i.slidesPerGroupSkip, a);
|
|
@@ -4918,9 +4967,9 @@ function Fi(e) {
|
|
|
4918
4967
|
realIndex: T,
|
|
4919
4968
|
previousIndex: s,
|
|
4920
4969
|
activeIndex: a
|
|
4921
|
-
}), r.initialized &&
|
|
4970
|
+
}), r.initialized && yt(r), r.emit("activeIndexChange"), r.emit("snapIndexChange"), (r.initialized || r.params.runCallbacksOnInit) && (o !== T && r.emit("realIndexChange"), r.emit("slideChange"));
|
|
4922
4971
|
}
|
|
4923
|
-
function
|
|
4972
|
+
function ts(e, r) {
|
|
4924
4973
|
const t = this, n = t.params;
|
|
4925
4974
|
let i = e.closest(`.${n.slideClass}, swiper-slide`);
|
|
4926
4975
|
!i && t.isElement && r && r.length > 1 && r.includes(e) && [...r.slice(r.indexOf(e) + 1, r.length)].forEach((l) => {
|
|
@@ -4942,18 +4991,18 @@ function Vi(e, r) {
|
|
|
4942
4991
|
}
|
|
4943
4992
|
n.slideToClickedSlide && t.clickedIndex !== void 0 && t.clickedIndex !== t.activeIndex && t.slideToClickedSlide();
|
|
4944
4993
|
}
|
|
4945
|
-
var
|
|
4946
|
-
updateSize:
|
|
4947
|
-
updateSlides:
|
|
4948
|
-
updateAutoHeight:
|
|
4949
|
-
updateSlidesOffset:
|
|
4950
|
-
updateSlidesProgress:
|
|
4951
|
-
updateProgress:
|
|
4952
|
-
updateSlidesClasses:
|
|
4953
|
-
updateActiveIndex:
|
|
4954
|
-
updateClickedSlide:
|
|
4994
|
+
var rs = {
|
|
4995
|
+
updateSize: Hi,
|
|
4996
|
+
updateSlides: Yi,
|
|
4997
|
+
updateAutoHeight: Xi,
|
|
4998
|
+
updateSlidesOffset: Ui,
|
|
4999
|
+
updateSlidesProgress: Ki,
|
|
5000
|
+
updateProgress: Ji,
|
|
5001
|
+
updateSlidesClasses: Zi,
|
|
5002
|
+
updateActiveIndex: es,
|
|
5003
|
+
updateClickedSlide: ts
|
|
4955
5004
|
};
|
|
4956
|
-
function
|
|
5005
|
+
function ns(e = this.isHorizontal() ? "x" : "y") {
|
|
4957
5006
|
const r = this, {
|
|
4958
5007
|
params: t,
|
|
4959
5008
|
rtlTranslate: n,
|
|
@@ -4964,10 +5013,10 @@ function Wi(e = this.isHorizontal() ? "x" : "y") {
|
|
|
4964
5013
|
return n ? -i : i;
|
|
4965
5014
|
if (t.cssMode)
|
|
4966
5015
|
return i;
|
|
4967
|
-
let o =
|
|
5016
|
+
let o = _i(s, e);
|
|
4968
5017
|
return o += r.cssOverflowAdjustment(), n && (o = -o), o || 0;
|
|
4969
5018
|
}
|
|
4970
|
-
function
|
|
5019
|
+
function is(e, r) {
|
|
4971
5020
|
const t = this, {
|
|
4972
5021
|
rtlTranslate: n,
|
|
4973
5022
|
params: i,
|
|
@@ -4981,13 +5030,13 @@ function Yi(e, r) {
|
|
|
4981
5030
|
const c = t.maxTranslate() - t.minTranslate();
|
|
4982
5031
|
c === 0 ? p = 0 : p = (e - t.minTranslate()) / c, p !== o && t.updateProgress(e), t.emit("setTranslate", t.translate, r);
|
|
4983
5032
|
}
|
|
4984
|
-
function
|
|
5033
|
+
function ss() {
|
|
4985
5034
|
return -this.snapGrid[0];
|
|
4986
5035
|
}
|
|
4987
|
-
function
|
|
5036
|
+
function as() {
|
|
4988
5037
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
4989
5038
|
}
|
|
4990
|
-
function
|
|
5039
|
+
function os(e = 0, r = this.params.speed, t = !0, n = !0, i) {
|
|
4991
5040
|
const s = this, {
|
|
4992
5041
|
params: o,
|
|
4993
5042
|
wrapperEl: l
|
|
@@ -5002,7 +5051,7 @@ function Ki(e = 0, r = this.params.speed, t = !0, n = !0, i) {
|
|
|
5002
5051
|
l[c ? "scrollLeft" : "scrollTop"] = -p;
|
|
5003
5052
|
else {
|
|
5004
5053
|
if (!s.support.smoothScroll)
|
|
5005
|
-
return
|
|
5054
|
+
return Yr({
|
|
5006
5055
|
swiper: s,
|
|
5007
5056
|
targetPosition: -p,
|
|
5008
5057
|
side: c ? "left" : "top"
|
|
@@ -5018,18 +5067,18 @@ function Ki(e = 0, r = this.params.speed, t = !0, n = !0, i) {
|
|
|
5018
5067
|
!s || s.destroyed || T.target === this && (s.wrapperEl.removeEventListener("transitionend", s.onTranslateToWrapperTransitionEnd), s.onTranslateToWrapperTransitionEnd = null, delete s.onTranslateToWrapperTransitionEnd, s.animating = !1, t && s.emit("transitionEnd"));
|
|
5019
5068
|
}), s.wrapperEl.addEventListener("transitionend", s.onTranslateToWrapperTransitionEnd))), !0;
|
|
5020
5069
|
}
|
|
5021
|
-
var
|
|
5022
|
-
getTranslate:
|
|
5023
|
-
setTranslate:
|
|
5024
|
-
minTranslate:
|
|
5025
|
-
maxTranslate:
|
|
5026
|
-
translateTo:
|
|
5070
|
+
var ls = {
|
|
5071
|
+
getTranslate: ns,
|
|
5072
|
+
setTranslate: is,
|
|
5073
|
+
minTranslate: ss,
|
|
5074
|
+
maxTranslate: as,
|
|
5075
|
+
translateTo: os
|
|
5027
5076
|
};
|
|
5028
|
-
function
|
|
5077
|
+
function ds(e, r) {
|
|
5029
5078
|
const t = this;
|
|
5030
5079
|
t.params.cssMode || (t.wrapperEl.style.transitionDuration = `${e}ms`, t.wrapperEl.style.transitionDelay = e === 0 ? "0ms" : ""), t.emit("setTransition", e, r);
|
|
5031
5080
|
}
|
|
5032
|
-
function
|
|
5081
|
+
function Zr({
|
|
5033
5082
|
swiper: e,
|
|
5034
5083
|
runCallbacks: r,
|
|
5035
5084
|
direction: t,
|
|
@@ -5042,34 +5091,34 @@ function Kr({
|
|
|
5042
5091
|
let o = t;
|
|
5043
5092
|
o || (i > s ? o = "next" : i < s ? o = "prev" : o = "reset"), e.emit(`transition${n}`), r && o === "reset" ? e.emit(`slideResetTransition${n}`) : r && i !== s && (e.emit(`slideChangeTransition${n}`), o === "next" ? e.emit(`slideNextTransition${n}`) : e.emit(`slidePrevTransition${n}`));
|
|
5044
5093
|
}
|
|
5045
|
-
function
|
|
5094
|
+
function cs(e = !0, r) {
|
|
5046
5095
|
const t = this, {
|
|
5047
5096
|
params: n
|
|
5048
5097
|
} = t;
|
|
5049
|
-
n.cssMode || (n.autoHeight && t.updateAutoHeight(),
|
|
5098
|
+
n.cssMode || (n.autoHeight && t.updateAutoHeight(), Zr({
|
|
5050
5099
|
swiper: t,
|
|
5051
5100
|
runCallbacks: e,
|
|
5052
5101
|
direction: r,
|
|
5053
5102
|
step: "Start"
|
|
5054
5103
|
}));
|
|
5055
5104
|
}
|
|
5056
|
-
function
|
|
5105
|
+
function us(e = !0, r) {
|
|
5057
5106
|
const t = this, {
|
|
5058
5107
|
params: n
|
|
5059
5108
|
} = t;
|
|
5060
|
-
t.animating = !1, !n.cssMode && (t.setTransition(0),
|
|
5109
|
+
t.animating = !1, !n.cssMode && (t.setTransition(0), Zr({
|
|
5061
5110
|
swiper: t,
|
|
5062
5111
|
runCallbacks: e,
|
|
5063
5112
|
direction: r,
|
|
5064
5113
|
step: "End"
|
|
5065
5114
|
}));
|
|
5066
5115
|
}
|
|
5067
|
-
var
|
|
5068
|
-
setTransition:
|
|
5069
|
-
transitionStart:
|
|
5070
|
-
transitionEnd:
|
|
5116
|
+
var fs = {
|
|
5117
|
+
setTransition: ds,
|
|
5118
|
+
transitionStart: cs,
|
|
5119
|
+
transitionEnd: us
|
|
5071
5120
|
};
|
|
5072
|
-
function
|
|
5121
|
+
function ps(e = 0, r, t = !0, n, i) {
|
|
5073
5122
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
5074
5123
|
const s = this;
|
|
5075
5124
|
let o = e;
|
|
@@ -5093,8 +5142,8 @@ function rs(e = 0, r, t = !0, n, i) {
|
|
|
5093
5142
|
const u = -a[x];
|
|
5094
5143
|
if (l.normalizeSlideIndex)
|
|
5095
5144
|
for (let L = 0; L < d.length; L += 1) {
|
|
5096
|
-
const h = -Math.floor(u * 100),
|
|
5097
|
-
typeof d[L + 1] < "u" ? h >=
|
|
5145
|
+
const h = -Math.floor(u * 100), z = Math.floor(d[L] * 100), O = Math.floor(d[L + 1] * 100);
|
|
5146
|
+
typeof d[L + 1] < "u" ? h >= z && h < O - (O - z) / 2 ? o = L : h >= z && h < O && (o = L + 1) : h >= z && (o = L);
|
|
5098
5147
|
}
|
|
5099
5148
|
if (s.initialized && o !== c && (!s.allowSlideNext && (T ? u > s.translate && u > s.minTranslate() : u < s.translate && u < s.minTranslate()) || !s.allowSlidePrev && u > s.translate && u > s.maxTranslate() && (c || 0) !== o))
|
|
5100
5149
|
return !1;
|
|
@@ -5114,7 +5163,7 @@ function rs(e = 0, r, t = !0, n, i) {
|
|
|
5114
5163
|
});
|
|
5115
5164
|
else {
|
|
5116
5165
|
if (!s.support.smoothScroll)
|
|
5117
|
-
return
|
|
5166
|
+
return Yr({
|
|
5118
5167
|
swiper: s,
|
|
5119
5168
|
targetPosition: h,
|
|
5120
5169
|
side: L ? "left" : "top"
|
|
@@ -5126,12 +5175,12 @@ function rs(e = 0, r, t = !0, n, i) {
|
|
|
5126
5175
|
}
|
|
5127
5176
|
return !0;
|
|
5128
5177
|
}
|
|
5129
|
-
const A =
|
|
5178
|
+
const A = Jr().isSafari;
|
|
5130
5179
|
return v && !i && A && s.isElement && s.virtual.update(!1, !1, o), s.setTransition(r), s.setTranslate(u), s.updateActiveIndex(o), s.updateSlidesClasses(), s.emit("beforeTransitionStart", r, n), s.transitionStart(t, m), r === 0 ? s.transitionEnd(t, m) : s.animating || (s.animating = !0, s.onSlideToWrapperTransitionEnd || (s.onSlideToWrapperTransitionEnd = function(h) {
|
|
5131
5180
|
!s || s.destroyed || h.target === this && (s.wrapperEl.removeEventListener("transitionend", s.onSlideToWrapperTransitionEnd), s.onSlideToWrapperTransitionEnd = null, delete s.onSlideToWrapperTransitionEnd, s.transitionEnd(t, m));
|
|
5132
5181
|
}), s.wrapperEl.addEventListener("transitionend", s.onSlideToWrapperTransitionEnd)), !0;
|
|
5133
5182
|
}
|
|
5134
|
-
function
|
|
5183
|
+
function ms(e = 0, r, t = !0, n) {
|
|
5135
5184
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
5136
5185
|
const i = this;
|
|
5137
5186
|
if (i.destroyed) return;
|
|
@@ -5175,7 +5224,7 @@ function ns(e = 0, r, t = !0, n) {
|
|
|
5175
5224
|
i.slideTo(o, r, t, n);
|
|
5176
5225
|
}), i;
|
|
5177
5226
|
}
|
|
5178
|
-
function
|
|
5227
|
+
function gs(e, r = !0, t) {
|
|
5179
5228
|
const n = this, {
|
|
5180
5229
|
enabled: i,
|
|
5181
5230
|
params: s,
|
|
@@ -5197,7 +5246,7 @@ function is(e, r = !0, t) {
|
|
|
5197
5246
|
}
|
|
5198
5247
|
return s.rewind && n.isEnd ? n.slideTo(0, e, r, t) : n.slideTo(n.activeIndex + a, e, r, t);
|
|
5199
5248
|
}
|
|
5200
|
-
function
|
|
5249
|
+
function hs(e, r = !0, t) {
|
|
5201
5250
|
const n = this, {
|
|
5202
5251
|
params: i,
|
|
5203
5252
|
snapGrid: s,
|
|
@@ -5237,12 +5286,12 @@ function ss(e, r = !0, t) {
|
|
|
5237
5286
|
}), !0;
|
|
5238
5287
|
return n.slideTo(u, e, r, t);
|
|
5239
5288
|
}
|
|
5240
|
-
function
|
|
5289
|
+
function vs(e, r = !0, t) {
|
|
5241
5290
|
const n = this;
|
|
5242
5291
|
if (!n.destroyed)
|
|
5243
5292
|
return typeof e > "u" && (e = n.params.speed), n.slideTo(n.activeIndex, e, r, t);
|
|
5244
5293
|
}
|
|
5245
|
-
function
|
|
5294
|
+
function bs(e, r = !0, t, n = 0.5) {
|
|
5246
5295
|
const i = this;
|
|
5247
5296
|
if (i.destroyed) return;
|
|
5248
5297
|
typeof e > "u" && (e = i.params.speed);
|
|
@@ -5257,7 +5306,7 @@ function os(e, r = !0, t, n = 0.5) {
|
|
|
5257
5306
|
}
|
|
5258
5307
|
return s = Math.max(s, 0), s = Math.min(s, i.slidesGrid.length - 1), i.slideTo(s, e, r, t);
|
|
5259
5308
|
}
|
|
5260
|
-
function
|
|
5309
|
+
function ys() {
|
|
5261
5310
|
const e = this;
|
|
5262
5311
|
if (e.destroyed) return;
|
|
5263
5312
|
const {
|
|
@@ -5268,22 +5317,22 @@ function ls() {
|
|
|
5268
5317
|
const o = e.isElement ? "swiper-slide" : `.${r.slideClass}`, l = e.grid && e.params.grid && e.params.grid.rows > 1;
|
|
5269
5318
|
if (r.loop) {
|
|
5270
5319
|
if (e.animating) return;
|
|
5271
|
-
s = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), r.centeredSlides ? e.slideToLoop(s) : i > (l ? (e.slides.length - n) / 2 - (e.params.grid.rows - 1) : e.slides.length - n) ? (e.loopFix(), i = e.getSlideIndex(fe(t, `${o}[data-swiper-slide-index="${s}"]`)[0]),
|
|
5320
|
+
s = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), r.centeredSlides ? e.slideToLoop(s) : i > (l ? (e.slides.length - n) / 2 - (e.params.grid.rows - 1) : e.slides.length - n) ? (e.loopFix(), i = e.getSlideIndex(fe(t, `${o}[data-swiper-slide-index="${s}"]`)[0]), Hr(() => {
|
|
5272
5321
|
e.slideTo(i);
|
|
5273
5322
|
})) : e.slideTo(i);
|
|
5274
5323
|
} else
|
|
5275
5324
|
e.slideTo(i);
|
|
5276
5325
|
}
|
|
5277
|
-
var
|
|
5278
|
-
slideTo:
|
|
5279
|
-
slideToLoop:
|
|
5280
|
-
slideNext:
|
|
5281
|
-
slidePrev:
|
|
5282
|
-
slideReset:
|
|
5283
|
-
slideToClosest:
|
|
5284
|
-
slideToClickedSlide:
|
|
5326
|
+
var xs = {
|
|
5327
|
+
slideTo: ps,
|
|
5328
|
+
slideToLoop: ms,
|
|
5329
|
+
slideNext: gs,
|
|
5330
|
+
slidePrev: hs,
|
|
5331
|
+
slideReset: vs,
|
|
5332
|
+
slideToClosest: bs,
|
|
5333
|
+
slideToClickedSlide: ys
|
|
5285
5334
|
};
|
|
5286
|
-
function
|
|
5335
|
+
function Ss(e, r) {
|
|
5287
5336
|
const t = this, {
|
|
5288
5337
|
params: n,
|
|
5289
5338
|
slidesEl: i
|
|
@@ -5311,14 +5360,14 @@ function cs(e, r) {
|
|
|
5311
5360
|
const f = a - t.slides.length % a;
|
|
5312
5361
|
c(f), t.recalcSlides(), t.updateSlides();
|
|
5313
5362
|
} else
|
|
5314
|
-
|
|
5363
|
+
Ue("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
|
|
5315
5364
|
s();
|
|
5316
5365
|
} else if (p) {
|
|
5317
5366
|
if (n.loopAddBlankSlides) {
|
|
5318
5367
|
const f = n.grid.rows - t.slides.length % n.grid.rows;
|
|
5319
5368
|
c(f), t.recalcSlides(), t.updateSlides();
|
|
5320
5369
|
} else
|
|
5321
|
-
|
|
5370
|
+
Ue("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
|
|
5322
5371
|
s();
|
|
5323
5372
|
} else
|
|
5324
5373
|
s();
|
|
@@ -5329,7 +5378,7 @@ function cs(e, r) {
|
|
|
5329
5378
|
initial: r
|
|
5330
5379
|
});
|
|
5331
5380
|
}
|
|
5332
|
-
function
|
|
5381
|
+
function Ts({
|
|
5333
5382
|
slideRealIndex: e,
|
|
5334
5383
|
slideTo: r = !0,
|
|
5335
5384
|
direction: t,
|
|
@@ -5364,8 +5413,8 @@ function us({
|
|
|
5364
5413
|
let y = m ? Math.max(E, Math.ceil(v / 2)) : E;
|
|
5365
5414
|
y % E !== 0 && (y += E - y % E), y += f.loopAdditionalSlides, a.loopedSlides = y;
|
|
5366
5415
|
const A = a.grid && f.grid && f.grid.rows > 1;
|
|
5367
|
-
d.length < v + y || a.params.effect === "cards" && d.length < v + y * 2 ?
|
|
5368
|
-
const L = [], h = [],
|
|
5416
|
+
d.length < v + y || a.params.effect === "cards" && d.length < v + y * 2 ? Ue("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : A && f.grid.fill === "row" && Ue("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
|
|
5417
|
+
const L = [], h = [], z = A ? Math.ceil(d.length / f.grid.rows) : d.length, O = s && z - u < v && !m;
|
|
5369
5418
|
let k = O ? u : a.activeIndex;
|
|
5370
5419
|
typeof i > "u" ? i = a.getSlideIndex(d.find((S) => S.classList.contains(f.slideActiveClass))) : k = i;
|
|
5371
5420
|
const R = t === "next" || !t, F = t === "prev" || !t;
|
|
@@ -5374,18 +5423,18 @@ function us({
|
|
|
5374
5423
|
if (M < y) {
|
|
5375
5424
|
V = Math.max(y - M, E);
|
|
5376
5425
|
for (let S = 0; S < y - M; S += 1) {
|
|
5377
|
-
const q = S - Math.floor(S /
|
|
5426
|
+
const q = S - Math.floor(S / z) * z;
|
|
5378
5427
|
if (A) {
|
|
5379
|
-
const C =
|
|
5428
|
+
const C = z - q - 1;
|
|
5380
5429
|
for (let I = d.length - 1; I >= 0; I -= 1)
|
|
5381
5430
|
d[I].column === C && L.push(I);
|
|
5382
5431
|
} else
|
|
5383
|
-
L.push(
|
|
5432
|
+
L.push(z - q - 1);
|
|
5384
5433
|
}
|
|
5385
|
-
} else if (M + v >
|
|
5386
|
-
Q = Math.max(M - (
|
|
5434
|
+
} else if (M + v > z - y) {
|
|
5435
|
+
Q = Math.max(M - (z - y * 2), E), O && (Q = Math.max(Q, v - z + u + 1));
|
|
5387
5436
|
for (let S = 0; S < Q; S += 1) {
|
|
5388
|
-
const q = S - Math.floor(S /
|
|
5437
|
+
const q = S - Math.floor(S / z) * z;
|
|
5389
5438
|
A ? d.forEach((C, I) => {
|
|
5390
5439
|
C.column === q && h.push(I);
|
|
5391
5440
|
}) : h.push(q);
|
|
@@ -5437,7 +5486,7 @@ function us({
|
|
|
5437
5486
|
}
|
|
5438
5487
|
a.emit("loopFix");
|
|
5439
5488
|
}
|
|
5440
|
-
function
|
|
5489
|
+
function ws() {
|
|
5441
5490
|
const e = this, {
|
|
5442
5491
|
params: r,
|
|
5443
5492
|
slidesEl: t
|
|
@@ -5454,12 +5503,12 @@ function fs() {
|
|
|
5454
5503
|
t.append(i);
|
|
5455
5504
|
}), e.recalcSlides(), e.slideTo(e.realIndex, 0);
|
|
5456
5505
|
}
|
|
5457
|
-
var
|
|
5458
|
-
loopCreate:
|
|
5459
|
-
loopFix:
|
|
5460
|
-
loopDestroy:
|
|
5506
|
+
var Es = {
|
|
5507
|
+
loopCreate: Ss,
|
|
5508
|
+
loopFix: Ts,
|
|
5509
|
+
loopDestroy: ws
|
|
5461
5510
|
};
|
|
5462
|
-
function
|
|
5511
|
+
function Cs(e) {
|
|
5463
5512
|
const r = this;
|
|
5464
5513
|
if (!r.params.simulateTouch || r.params.watchOverflow && r.isLocked || r.params.cssMode) return;
|
|
5465
5514
|
const t = r.params.touchEventsTarget === "container" ? r.el : r.wrapperEl;
|
|
@@ -5467,17 +5516,17 @@ function ms(e) {
|
|
|
5467
5516
|
r.__preventObserver__ = !1;
|
|
5468
5517
|
});
|
|
5469
5518
|
}
|
|
5470
|
-
function
|
|
5519
|
+
function Ms() {
|
|
5471
5520
|
const e = this;
|
|
5472
5521
|
e.params.watchOverflow && e.isLocked || e.params.cssMode || (e.isElement && (e.__preventObserver__ = !0), e[e.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", e.isElement && requestAnimationFrame(() => {
|
|
5473
5522
|
e.__preventObserver__ = !1;
|
|
5474
5523
|
}));
|
|
5475
5524
|
}
|
|
5476
|
-
var
|
|
5477
|
-
setGrabCursor:
|
|
5478
|
-
unsetGrabCursor:
|
|
5525
|
+
var Ps = {
|
|
5526
|
+
setGrabCursor: Cs,
|
|
5527
|
+
unsetGrabCursor: Ms
|
|
5479
5528
|
};
|
|
5480
|
-
function
|
|
5529
|
+
function Os(e, r = this) {
|
|
5481
5530
|
function t(n) {
|
|
5482
5531
|
if (!n || n === de() || n === ae()) return null;
|
|
5483
5532
|
n.assignedSlot && (n = n.assignedSlot);
|
|
@@ -5486,13 +5535,13 @@ function vs(e, r = this) {
|
|
|
5486
5535
|
}
|
|
5487
5536
|
return t(r);
|
|
5488
5537
|
}
|
|
5489
|
-
function
|
|
5538
|
+
function lr(e, r, t) {
|
|
5490
5539
|
const n = ae(), {
|
|
5491
5540
|
params: i
|
|
5492
5541
|
} = e, s = i.edgeSwipeDetection, o = i.edgeSwipeThreshold;
|
|
5493
5542
|
return s && (t <= o || t >= n.innerWidth - o) ? s === "prevent" ? (r.preventDefault(), !0) : !1 : !0;
|
|
5494
5543
|
}
|
|
5495
|
-
function
|
|
5544
|
+
function ks(e) {
|
|
5496
5545
|
const r = this, t = de();
|
|
5497
5546
|
let n = e;
|
|
5498
5547
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -5503,7 +5552,7 @@ function bs(e) {
|
|
|
5503
5552
|
i.pointerId = n.pointerId;
|
|
5504
5553
|
} else n.type === "touchstart" && n.targetTouches.length === 1 && (i.touchId = n.targetTouches[0].identifier);
|
|
5505
5554
|
if (n.type === "touchstart") {
|
|
5506
|
-
|
|
5555
|
+
lr(r, n, n.targetTouches[0].pageX);
|
|
5507
5556
|
return;
|
|
5508
5557
|
}
|
|
5509
5558
|
const {
|
|
@@ -5515,11 +5564,11 @@ function bs(e) {
|
|
|
5515
5564
|
return;
|
|
5516
5565
|
!r.animating && s.cssMode && s.loop && r.loopFix();
|
|
5517
5566
|
let a = n.target;
|
|
5518
|
-
if (s.touchEventsTarget === "wrapper" && !
|
|
5567
|
+
if (s.touchEventsTarget === "wrapper" && !Di(a, r.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || i.isTouched && i.isMoved) return;
|
|
5519
5568
|
const d = !!s.noSwipingClass && s.noSwipingClass !== "", p = n.composedPath ? n.composedPath() : n.path;
|
|
5520
5569
|
d && n.target && n.target.shadowRoot && p && (a = p[0]);
|
|
5521
5570
|
const c = s.noSwipingSelector ? s.noSwipingSelector : `.${s.noSwipingClass}`, T = !!(n.target && n.target.shadowRoot);
|
|
5522
|
-
if (s.noSwiping && (T ?
|
|
5571
|
+
if (s.noSwiping && (T ? Os(c, a) : a.closest(c))) {
|
|
5523
5572
|
r.allowClick = !0;
|
|
5524
5573
|
return;
|
|
5525
5574
|
}
|
|
@@ -5527,7 +5576,7 @@ function bs(e) {
|
|
|
5527
5576
|
return;
|
|
5528
5577
|
o.currentX = n.pageX, o.currentY = n.pageY;
|
|
5529
5578
|
const f = o.currentX, g = o.currentY;
|
|
5530
|
-
if (!
|
|
5579
|
+
if (!lr(r, n, f))
|
|
5531
5580
|
return;
|
|
5532
5581
|
Object.assign(i, {
|
|
5533
5582
|
isTouched: !0,
|
|
@@ -5535,13 +5584,13 @@ function bs(e) {
|
|
|
5535
5584
|
allowTouchCallbacks: !0,
|
|
5536
5585
|
isScrolling: void 0,
|
|
5537
5586
|
startMoving: void 0
|
|
5538
|
-
}), o.startX = f, o.startY = g, i.touchStartTime =
|
|
5587
|
+
}), o.startX = f, o.startY = g, i.touchStartTime = Xe(), r.allowClick = !0, r.updateSize(), r.swipeDirection = void 0, s.threshold > 0 && (i.allowThresholdMove = !1);
|
|
5539
5588
|
let b = !0;
|
|
5540
5589
|
a.matches(i.focusableElements) && (b = !1, a.nodeName === "SELECT" && (i.isTouched = !1)), t.activeElement && t.activeElement.matches(i.focusableElements) && t.activeElement !== a && (n.pointerType === "mouse" || n.pointerType !== "mouse" && !a.matches(i.focusableElements)) && t.activeElement.blur();
|
|
5541
5590
|
const x = b && r.allowTouchMove && s.touchStartPreventDefault;
|
|
5542
5591
|
(s.touchStartForcePreventDefault || x) && !a.isContentEditable && n.preventDefault(), s.freeMode && s.freeMode.enabled && r.freeMode && r.animating && !s.cssMode && r.freeMode.onTouchStart(), r.emit("touchStart", n);
|
|
5543
5592
|
}
|
|
5544
|
-
function
|
|
5593
|
+
function Is(e) {
|
|
5545
5594
|
const r = de(), t = this, n = t.touchEventsData, {
|
|
5546
5595
|
params: i,
|
|
5547
5596
|
touches: s,
|
|
@@ -5572,7 +5621,7 @@ function ys(e) {
|
|
|
5572
5621
|
startY: c,
|
|
5573
5622
|
currentX: p,
|
|
5574
5623
|
currentY: c
|
|
5575
|
-
}), n.touchStartTime =
|
|
5624
|
+
}), n.touchStartTime = Xe());
|
|
5576
5625
|
return;
|
|
5577
5626
|
}
|
|
5578
5627
|
if (i.touchReleaseOnEdges && !i.loop)
|
|
@@ -5657,7 +5706,7 @@ function ys(e) {
|
|
|
5657
5706
|
}
|
|
5658
5707
|
!i.followFinger || i.cssMode || ((i.freeMode && i.freeMode.enabled && t.freeMode || i.watchSlidesProgress) && (t.updateActiveIndex(), t.updateSlidesClasses()), i.freeMode && i.freeMode.enabled && t.freeMode && t.freeMode.onTouchMove(), t.updateProgress(n.currentTranslate), t.setTranslate(n.currentTranslate));
|
|
5659
5708
|
}
|
|
5660
|
-
function
|
|
5709
|
+
function Ls(e) {
|
|
5661
5710
|
const r = this, t = r.touchEventsData;
|
|
5662
5711
|
let n = e;
|
|
5663
5712
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -5684,12 +5733,12 @@ function xs(e) {
|
|
|
5684
5733
|
return;
|
|
5685
5734
|
}
|
|
5686
5735
|
o.grabCursor && t.isMoved && t.isTouched && (r.allowSlideNext === !0 || r.allowSlidePrev === !0) && r.setGrabCursor(!1);
|
|
5687
|
-
const c =
|
|
5736
|
+
const c = Xe(), T = c - t.touchStartTime;
|
|
5688
5737
|
if (r.allowClick) {
|
|
5689
5738
|
const y = n.path || n.composedPath && n.composedPath();
|
|
5690
5739
|
r.updateClickedSlide(y && y[0] || n.target, y), r.emit("tap click", n), T < 300 && c - t.lastClickTime < 300 && r.emit("doubleTap doubleClick", n);
|
|
5691
5740
|
}
|
|
5692
|
-
if (t.lastClickTime =
|
|
5741
|
+
if (t.lastClickTime = Xe(), Hr(() => {
|
|
5693
5742
|
r.destroyed || (r.allowClick = !0);
|
|
5694
5743
|
}), !t.isTouched || !t.isMoved || !r.swipeDirection || l.diff === 0 && !t.loopSwapReset || t.currentTranslate === t.startTranslate && !t.loopSwapReset) {
|
|
5695
5744
|
t.isTouched = !1, t.isMoved = !1, t.startMoving = !1;
|
|
@@ -5728,7 +5777,7 @@ function xs(e) {
|
|
|
5728
5777
|
r.navigation && (n.target === r.navigation.nextEl || n.target === r.navigation.prevEl) ? n.target === r.navigation.nextEl ? r.slideTo(b + E) : r.slideTo(b) : (r.swipeDirection === "next" && r.slideTo(u !== null ? u : b + E), r.swipeDirection === "prev" && r.slideTo(m !== null ? m : b));
|
|
5729
5778
|
}
|
|
5730
5779
|
}
|
|
5731
|
-
function
|
|
5780
|
+
function dr() {
|
|
5732
5781
|
const e = this, {
|
|
5733
5782
|
params: r,
|
|
5734
5783
|
el: t
|
|
@@ -5746,11 +5795,11 @@ function ar() {
|
|
|
5746
5795
|
e.autoplay && e.autoplay.running && e.autoplay.paused && e.autoplay.resume();
|
|
5747
5796
|
}, 500)), e.allowSlidePrev = i, e.allowSlideNext = n, e.params.watchOverflow && s !== e.snapGrid && e.checkOverflow();
|
|
5748
5797
|
}
|
|
5749
|
-
function
|
|
5798
|
+
function As(e) {
|
|
5750
5799
|
const r = this;
|
|
5751
5800
|
r.enabled && (r.allowClick || (r.params.preventClicks && e.preventDefault(), r.params.preventClicksPropagation && r.animating && (e.stopPropagation(), e.stopImmediatePropagation())));
|
|
5752
5801
|
}
|
|
5753
|
-
function
|
|
5802
|
+
function Rs() {
|
|
5754
5803
|
const e = this, {
|
|
5755
5804
|
wrapperEl: r,
|
|
5756
5805
|
rtlTranslate: t,
|
|
@@ -5762,15 +5811,15 @@ function Ts() {
|
|
|
5762
5811
|
const s = e.maxTranslate() - e.minTranslate();
|
|
5763
5812
|
s === 0 ? i = 0 : i = (e.translate - e.minTranslate()) / s, i !== e.progress && e.updateProgress(t ? -e.translate : e.translate), e.emit("setTranslate", e.translate, !1);
|
|
5764
5813
|
}
|
|
5765
|
-
function
|
|
5814
|
+
function _s(e) {
|
|
5766
5815
|
const r = this;
|
|
5767
|
-
|
|
5816
|
+
He(r, e.target), !(r.params.cssMode || r.params.slidesPerView !== "auto" && !r.params.autoHeight) && r.update();
|
|
5768
5817
|
}
|
|
5769
|
-
function
|
|
5818
|
+
function zs() {
|
|
5770
5819
|
const e = this;
|
|
5771
5820
|
e.documentTouchHandlerProceeded || (e.documentTouchHandlerProceeded = !0, e.params.touchReleaseOnEdges && (e.el.style.touchAction = "auto"));
|
|
5772
5821
|
}
|
|
5773
|
-
const
|
|
5822
|
+
const Qr = (e, r) => {
|
|
5774
5823
|
const t = de(), {
|
|
5775
5824
|
params: n,
|
|
5776
5825
|
el: i,
|
|
@@ -5804,25 +5853,25 @@ const Jr = (e, r) => {
|
|
|
5804
5853
|
passive: !0
|
|
5805
5854
|
}), t[a]("contextmenu", e.onTouchEnd, {
|
|
5806
5855
|
passive: !0
|
|
5807
|
-
}), (n.preventClicks || n.preventClicksPropagation) && i[a]("click", e.onClick, !0), n.cssMode && s[a]("scroll", e.onScroll), n.updateOnWindowResize ? e[d](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate",
|
|
5856
|
+
}), (n.preventClicks || n.preventClicksPropagation) && i[a]("click", e.onClick, !0), n.cssMode && s[a]("scroll", e.onScroll), n.updateOnWindowResize ? e[d](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", dr, !0) : e[d]("observerUpdate", dr, !0), i[a]("load", e.onLoad, {
|
|
5808
5857
|
capture: !0
|
|
5809
5858
|
}));
|
|
5810
5859
|
};
|
|
5811
|
-
function
|
|
5860
|
+
function Ns() {
|
|
5812
5861
|
const e = this, {
|
|
5813
5862
|
params: r
|
|
5814
5863
|
} = e;
|
|
5815
|
-
e.onTouchStart =
|
|
5864
|
+
e.onTouchStart = ks.bind(e), e.onTouchMove = Is.bind(e), e.onTouchEnd = Ls.bind(e), e.onDocumentTouchStart = zs.bind(e), r.cssMode && (e.onScroll = Rs.bind(e)), e.onClick = As.bind(e), e.onLoad = _s.bind(e), Qr(e, "on");
|
|
5816
5865
|
}
|
|
5817
|
-
function
|
|
5818
|
-
|
|
5866
|
+
function Ds() {
|
|
5867
|
+
Qr(this, "off");
|
|
5819
5868
|
}
|
|
5820
|
-
var
|
|
5821
|
-
attachEvents:
|
|
5822
|
-
detachEvents:
|
|
5869
|
+
var qs = {
|
|
5870
|
+
attachEvents: Ns,
|
|
5871
|
+
detachEvents: Ds
|
|
5823
5872
|
};
|
|
5824
|
-
const
|
|
5825
|
-
function
|
|
5873
|
+
const cr = (e, r) => e.grid && r.grid && r.grid.rows > 1;
|
|
5874
|
+
function Bs() {
|
|
5826
5875
|
const e = this, {
|
|
5827
5876
|
realIndex: r,
|
|
5828
5877
|
initialized: t,
|
|
@@ -5832,7 +5881,7 @@ function Os() {
|
|
|
5832
5881
|
if (!s || s && Object.keys(s).length === 0) return;
|
|
5833
5882
|
const o = de(), l = n.breakpointsBase === "window" || !n.breakpointsBase ? n.breakpointsBase : "container", a = ["window", "container"].includes(n.breakpointsBase) || !n.breakpointsBase ? e.el : o.querySelector(n.breakpointsBase), d = e.getBreakpoint(s, l, a);
|
|
5834
5883
|
if (!d || e.currentBreakpoint === d) return;
|
|
5835
|
-
const c = (d in s ? s[d] : void 0) || e.originalParams, T =
|
|
5884
|
+
const c = (d in s ? s[d] : void 0) || e.originalParams, T = cr(e, n), f = cr(e, c), g = e.params.grabCursor, b = c.grabCursor, x = n.enabled;
|
|
5836
5885
|
T && !f ? (i.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), e.emitContainerClasses()) : !T && f && (i.classList.add(`${n.containerModifierClass}grid`), (c.grid.fill && c.grid.fill === "column" || !c.grid.fill && n.grid.fill === "column") && i.classList.add(`${n.containerModifierClass}grid-column`), e.emitContainerClasses()), g && !b ? e.unsetGrabCursor() : !g && b && e.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((A) => {
|
|
5837
5886
|
if (typeof c[A] > "u") return;
|
|
5838
5887
|
const L = n[A] && n[A].enabled, h = c[A] && c[A].enabled;
|
|
@@ -5847,7 +5896,7 @@ function Os() {
|
|
|
5847
5896
|
allowSlidePrev: e.params.allowSlidePrev
|
|
5848
5897
|
}), x && !E ? e.disable() : !x && E && e.enable(), e.currentBreakpoint = d, e.emit("_beforeBreakpoint", c), t && (m ? (e.loopDestroy(), e.loopCreate(r), e.updateSlides()) : !v && y ? (e.loopCreate(r), e.updateSlides()) : v && !y && e.loopDestroy()), e.emit("breakpoint", c);
|
|
5849
5898
|
}
|
|
5850
|
-
function
|
|
5899
|
+
function $s(e, r = "window", t) {
|
|
5851
5900
|
if (!e || r === "container" && !t) return;
|
|
5852
5901
|
let n = !1;
|
|
5853
5902
|
const i = ae(), s = r === "window" ? i.innerHeight : t.clientHeight, o = Object.keys(e).map((l) => {
|
|
@@ -5873,11 +5922,11 @@ function ks(e, r = "window", t) {
|
|
|
5873
5922
|
}
|
|
5874
5923
|
return n || "max";
|
|
5875
5924
|
}
|
|
5876
|
-
var
|
|
5877
|
-
setBreakpoint:
|
|
5878
|
-
getBreakpoint:
|
|
5925
|
+
var Gs = {
|
|
5926
|
+
setBreakpoint: Bs,
|
|
5927
|
+
getBreakpoint: $s
|
|
5879
5928
|
};
|
|
5880
|
-
function
|
|
5929
|
+
function js(e, r) {
|
|
5881
5930
|
const t = [];
|
|
5882
5931
|
return e.forEach((n) => {
|
|
5883
5932
|
typeof n == "object" ? Object.keys(n).forEach((i) => {
|
|
@@ -5885,14 +5934,14 @@ function Ls(e, r) {
|
|
|
5885
5934
|
}) : typeof n == "string" && t.push(r + n);
|
|
5886
5935
|
}), t;
|
|
5887
5936
|
}
|
|
5888
|
-
function
|
|
5937
|
+
function Fs() {
|
|
5889
5938
|
const e = this, {
|
|
5890
5939
|
classNames: r,
|
|
5891
5940
|
params: t,
|
|
5892
5941
|
rtl: n,
|
|
5893
5942
|
el: i,
|
|
5894
5943
|
device: s
|
|
5895
|
-
} = e, o =
|
|
5944
|
+
} = e, o = js(["initialized", t.direction, {
|
|
5896
5945
|
"free-mode": e.params.freeMode && t.freeMode.enabled
|
|
5897
5946
|
}, {
|
|
5898
5947
|
autoheight: t.autoHeight
|
|
@@ -5915,18 +5964,18 @@ function As() {
|
|
|
5915
5964
|
}], t.containerModifierClass);
|
|
5916
5965
|
r.push(...o), i.classList.add(...r), e.emitContainerClasses();
|
|
5917
5966
|
}
|
|
5918
|
-
function
|
|
5967
|
+
function Vs() {
|
|
5919
5968
|
const e = this, {
|
|
5920
5969
|
el: r,
|
|
5921
5970
|
classNames: t
|
|
5922
5971
|
} = e;
|
|
5923
5972
|
!r || typeof r == "string" || (r.classList.remove(...t), e.emitContainerClasses());
|
|
5924
5973
|
}
|
|
5925
|
-
var
|
|
5926
|
-
addClasses:
|
|
5927
|
-
removeClasses:
|
|
5974
|
+
var Ws = {
|
|
5975
|
+
addClasses: Fs,
|
|
5976
|
+
removeClasses: Vs
|
|
5928
5977
|
};
|
|
5929
|
-
function
|
|
5978
|
+
function Hs() {
|
|
5930
5979
|
const e = this, {
|
|
5931
5980
|
isLocked: r,
|
|
5932
5981
|
params: t
|
|
@@ -5940,9 +5989,9 @@ function _s() {
|
|
|
5940
5989
|
e.isLocked = e.snapGrid.length === 1;
|
|
5941
5990
|
t.allowSlideNext === !0 && (e.allowSlideNext = !e.isLocked), t.allowSlidePrev === !0 && (e.allowSlidePrev = !e.isLocked), r && r !== e.isLocked && (e.isEnd = !1), r !== e.isLocked && e.emit(e.isLocked ? "lock" : "unlock");
|
|
5942
5991
|
}
|
|
5943
|
-
var
|
|
5944
|
-
checkOverflow:
|
|
5945
|
-
},
|
|
5992
|
+
var Ys = {
|
|
5993
|
+
checkOverflow: Hs
|
|
5994
|
+
}, xt = {
|
|
5946
5995
|
init: !0,
|
|
5947
5996
|
direction: "horizontal",
|
|
5948
5997
|
oneWayMovement: !1,
|
|
@@ -6063,7 +6112,7 @@ var Ns = {
|
|
|
6063
6112
|
// Internals
|
|
6064
6113
|
_emitClasses: !1
|
|
6065
6114
|
};
|
|
6066
|
-
function
|
|
6115
|
+
function Xs(e, r) {
|
|
6067
6116
|
return function(n = {}) {
|
|
6068
6117
|
const i = Object.keys(n)[0], s = n[i];
|
|
6069
6118
|
if (typeof s != "object" || s === null) {
|
|
@@ -6081,20 +6130,20 @@ function Ds(e, r) {
|
|
|
6081
6130
|
}), le(r, n);
|
|
6082
6131
|
};
|
|
6083
6132
|
}
|
|
6084
|
-
const
|
|
6085
|
-
eventsEmitter:
|
|
6086
|
-
update:
|
|
6087
|
-
translate:
|
|
6088
|
-
transition:
|
|
6089
|
-
slide:
|
|
6090
|
-
loop:
|
|
6091
|
-
grabCursor:
|
|
6092
|
-
events:
|
|
6093
|
-
breakpoints:
|
|
6094
|
-
checkOverflow:
|
|
6095
|
-
classes:
|
|
6096
|
-
},
|
|
6097
|
-
let
|
|
6133
|
+
const pt = {
|
|
6134
|
+
eventsEmitter: Wi,
|
|
6135
|
+
update: rs,
|
|
6136
|
+
translate: ls,
|
|
6137
|
+
transition: fs,
|
|
6138
|
+
slide: xs,
|
|
6139
|
+
loop: Es,
|
|
6140
|
+
grabCursor: Ps,
|
|
6141
|
+
events: qs,
|
|
6142
|
+
breakpoints: Gs,
|
|
6143
|
+
checkOverflow: Ys,
|
|
6144
|
+
classes: Ws
|
|
6145
|
+
}, mt = {};
|
|
6146
|
+
let Gt = class me {
|
|
6098
6147
|
constructor(...r) {
|
|
6099
6148
|
let t, n;
|
|
6100
6149
|
r.length === 1 && r[0].constructor && Object.prototype.toString.call(r[0]).slice(8, -1) === "Object" ? n = r[0] : [t, n] = r, n || (n = {}), n = le({}, n), t && !n.el && (n.el = t);
|
|
@@ -6109,23 +6158,23 @@ let Bt = class me {
|
|
|
6109
6158
|
}), a;
|
|
6110
6159
|
}
|
|
6111
6160
|
const s = this;
|
|
6112
|
-
s.__swiper__ = !0, s.support =
|
|
6161
|
+
s.__swiper__ = !0, s.support = Ur(), s.device = Kr({
|
|
6113
6162
|
userAgent: n.userAgent
|
|
6114
|
-
}), s.browser =
|
|
6163
|
+
}), s.browser = Jr(), s.eventsListeners = {}, s.eventsAnyListeners = [], s.modules = [...s.__modules__], n.modules && Array.isArray(n.modules) && s.modules.push(...n.modules);
|
|
6115
6164
|
const o = {};
|
|
6116
6165
|
s.modules.forEach((a) => {
|
|
6117
6166
|
a({
|
|
6118
6167
|
params: n,
|
|
6119
6168
|
swiper: s,
|
|
6120
|
-
extendParams:
|
|
6169
|
+
extendParams: Xs(n, o),
|
|
6121
6170
|
on: s.on.bind(s),
|
|
6122
6171
|
once: s.once.bind(s),
|
|
6123
6172
|
off: s.off.bind(s),
|
|
6124
6173
|
emit: s.emit.bind(s)
|
|
6125
6174
|
});
|
|
6126
6175
|
});
|
|
6127
|
-
const l = le({},
|
|
6128
|
-
return s.params = le({}, l,
|
|
6176
|
+
const l = le({}, xt, o);
|
|
6177
|
+
return s.params = le({}, l, mt, n), s.originalParams = le({}, s.params), s.passedParams = le({}, n), s.params && s.params.on && Object.keys(s.params.on).forEach((a) => {
|
|
6129
6178
|
s.on(a, s.params.on[a]);
|
|
6130
6179
|
}), s.params && s.params.onAny && s.onAny(s.params.onAny), Object.assign(s, {
|
|
6131
6180
|
enabled: s.params.enabled,
|
|
@@ -6301,7 +6350,7 @@ let Bt = class me {
|
|
|
6301
6350
|
params: n
|
|
6302
6351
|
} = r;
|
|
6303
6352
|
n.breakpoints && r.setBreakpoint(), [...r.el.querySelectorAll('[loading="lazy"]')].forEach((o) => {
|
|
6304
|
-
o.complete &&
|
|
6353
|
+
o.complete && He(r, o);
|
|
6305
6354
|
}), r.updateSize(), r.updateSlides(), r.updateProgress(), r.updateSlidesClasses();
|
|
6306
6355
|
function i() {
|
|
6307
6356
|
const o = r.rtlTranslate ? r.translate * -1 : r.translate, l = Math.min(Math.max(o, r.maxTranslate()), r.minTranslate());
|
|
@@ -6359,10 +6408,10 @@ let Bt = class me {
|
|
|
6359
6408
|
t.emit("beforeInit"), t.params.breakpoints && t.setBreakpoint(), t.addClasses(), t.updateSize(), t.updateSlides(), t.params.watchOverflow && t.checkOverflow(), t.params.grabCursor && t.enabled && t.setGrabCursor(), t.params.loop && t.virtual && t.params.virtual.enabled ? t.slideTo(t.params.initialSlide + t.virtual.slidesBefore, 0, t.params.runCallbacksOnInit, !1, !0) : t.slideTo(t.params.initialSlide, 0, t.params.runCallbacksOnInit, !1, !0), t.params.loop && t.loopCreate(void 0, !0), t.attachEvents();
|
|
6360
6409
|
const i = [...t.el.querySelectorAll('[loading="lazy"]')];
|
|
6361
6410
|
return t.isElement && i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')), i.forEach((s) => {
|
|
6362
|
-
s.complete ?
|
|
6363
|
-
|
|
6411
|
+
s.complete ? He(t, s) : s.addEventListener("load", (o) => {
|
|
6412
|
+
He(t, o.target);
|
|
6364
6413
|
});
|
|
6365
|
-
}),
|
|
6414
|
+
}), yt(t), t.initialized = !0, yt(t), t.emit("init"), t.emit("afterInit"), t;
|
|
6366
6415
|
}
|
|
6367
6416
|
destroy(r = !0, t = !0) {
|
|
6368
6417
|
const n = this, {
|
|
@@ -6375,16 +6424,16 @@ let Bt = class me {
|
|
|
6375
6424
|
a.classList.remove(i.slideVisibleClass, i.slideFullyVisibleClass, i.slideActiveClass, i.slideNextClass, i.slidePrevClass), a.removeAttribute("style"), a.removeAttribute("data-swiper-slide-index");
|
|
6376
6425
|
})), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((a) => {
|
|
6377
6426
|
n.off(a);
|
|
6378
|
-
}), r !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null),
|
|
6427
|
+
}), r !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), Ai(n)), n.destroyed = !0), null;
|
|
6379
6428
|
}
|
|
6380
6429
|
static extendDefaults(r) {
|
|
6381
|
-
le(
|
|
6430
|
+
le(mt, r);
|
|
6382
6431
|
}
|
|
6383
6432
|
static get extendedDefaults() {
|
|
6384
|
-
return
|
|
6433
|
+
return mt;
|
|
6385
6434
|
}
|
|
6386
6435
|
static get defaults() {
|
|
6387
|
-
return
|
|
6436
|
+
return xt;
|
|
6388
6437
|
}
|
|
6389
6438
|
static installModule(r) {
|
|
6390
6439
|
me.prototype.__modules__ || (me.prototype.__modules__ = []);
|
|
@@ -6395,13 +6444,13 @@ let Bt = class me {
|
|
|
6395
6444
|
return Array.isArray(r) ? (r.forEach((t) => me.installModule(t)), me) : (me.installModule(r), me);
|
|
6396
6445
|
}
|
|
6397
6446
|
};
|
|
6398
|
-
Object.keys(
|
|
6399
|
-
Object.keys(
|
|
6400
|
-
|
|
6447
|
+
Object.keys(pt).forEach((e) => {
|
|
6448
|
+
Object.keys(pt[e]).forEach((r) => {
|
|
6449
|
+
Gt.prototype[r] = pt[e][r];
|
|
6401
6450
|
});
|
|
6402
6451
|
});
|
|
6403
|
-
|
|
6404
|
-
const
|
|
6452
|
+
Gt.use([Fi, Vi]);
|
|
6453
|
+
const en = [
|
|
6405
6454
|
"eventsPrefix",
|
|
6406
6455
|
"injectStyles",
|
|
6407
6456
|
"injectStylesUrls",
|
|
@@ -6529,25 +6578,25 @@ function Me(e, r) {
|
|
|
6529
6578
|
typeof e[n] > "u" ? e[n] = r[n] : Se(r[n]) && Se(e[n]) && Object.keys(r[n]).length > 0 ? r[n].__swiper__ ? e[n] = r[n] : Me(e[n], r[n]) : e[n] = r[n];
|
|
6530
6579
|
});
|
|
6531
6580
|
}
|
|
6532
|
-
function
|
|
6581
|
+
function tn(e = {}) {
|
|
6533
6582
|
return e.navigation && typeof e.navigation.nextEl > "u" && typeof e.navigation.prevEl > "u";
|
|
6534
6583
|
}
|
|
6535
|
-
function
|
|
6584
|
+
function rn(e = {}) {
|
|
6536
6585
|
return e.pagination && typeof e.pagination.el > "u";
|
|
6537
6586
|
}
|
|
6538
|
-
function
|
|
6587
|
+
function nn(e = {}) {
|
|
6539
6588
|
return e.scrollbar && typeof e.scrollbar.el > "u";
|
|
6540
6589
|
}
|
|
6541
|
-
function
|
|
6590
|
+
function sn(e = "") {
|
|
6542
6591
|
const r = e.split(" ").map((n) => n.trim()).filter((n) => !!n), t = [];
|
|
6543
6592
|
return r.forEach((n) => {
|
|
6544
6593
|
t.indexOf(n) < 0 && t.push(n);
|
|
6545
6594
|
}), t.join(" ");
|
|
6546
6595
|
}
|
|
6547
|
-
function
|
|
6596
|
+
function Us(e = "") {
|
|
6548
6597
|
return e ? e.includes("swiper-wrapper") ? e : `swiper-wrapper ${e}` : "swiper-wrapper";
|
|
6549
6598
|
}
|
|
6550
|
-
function
|
|
6599
|
+
function Ks({
|
|
6551
6600
|
swiper: e,
|
|
6552
6601
|
slides: r,
|
|
6553
6602
|
passedParams: t,
|
|
@@ -6574,17 +6623,17 @@ function Bs({
|
|
|
6574
6623
|
if (Se(d[h]) && Se(t[h]))
|
|
6575
6624
|
Object.assign(d[h], t[h]), (h === "navigation" || h === "pagination" || h === "scrollbar") && "enabled" in t[h] && !t[h].enabled && L(h);
|
|
6576
6625
|
else {
|
|
6577
|
-
const
|
|
6578
|
-
(
|
|
6626
|
+
const z = t[h];
|
|
6627
|
+
(z === !0 || z === !1) && (h === "navigation" || h === "pagination" || h === "scrollbar") ? z === !1 && L(h) : d[h] = t[h];
|
|
6579
6628
|
}
|
|
6580
6629
|
}), a.includes("controller") && !x && e.controller && e.controller.control && d.controller && d.controller.control && (e.controller.control = d.controller.control), n.includes("children") && r && f && d.virtual.enabled ? (f.slides = r, f.update(!0)) : n.includes("virtual") && f && d.virtual.enabled && (r && (f.slides = r), f.update(!0)), n.includes("children") && r && d.loop && (A = !0), b && g.init() && g.update(!0), x && (e.controller.control = d.controller.control), u && (e.isElement && (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-pagination"), l.part.add("pagination"), e.el.appendChild(l)), l && (d.pagination.el = l), p.init(), p.render(), p.update()), m && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-scrollbar"), o.part.add("scrollbar"), e.el.appendChild(o)), o && (d.scrollbar.el = o), T.init(), T.updateSize(), T.setTranslate()), v && (e.isElement && ((!i || typeof i == "string") && (i = document.createElement("div"), i.classList.add("swiper-button-next"), Pe(i, e.navigation.arrowSvg), i.part.add("button-next"), e.el.appendChild(i)), (!s || typeof s == "string") && (s = document.createElement("div"), s.classList.add("swiper-button-prev"), Pe(s, e.navigation.arrowSvg), s.part.add("button-prev"), e.el.appendChild(s))), i && (d.navigation.nextEl = i), s && (d.navigation.prevEl = s), c.init(), c.update()), n.includes("allowSlideNext") && (e.allowSlideNext = t.allowSlideNext), n.includes("allowSlidePrev") && (e.allowSlidePrev = t.allowSlidePrev), n.includes("direction") && e.changeDirection(t.direction, !1), (E || A) && e.loopDestroy(), (y || A) && e.loopCreate(), e.update();
|
|
6581
6630
|
}
|
|
6582
|
-
function
|
|
6631
|
+
function Js(e = {}, r = !0) {
|
|
6583
6632
|
const t = {
|
|
6584
6633
|
on: {}
|
|
6585
6634
|
}, n = {}, i = {};
|
|
6586
|
-
Me(t,
|
|
6587
|
-
const s = {}, o =
|
|
6635
|
+
Me(t, xt), t._emitClasses = !0, t.init = !1;
|
|
6636
|
+
const s = {}, o = en.map((a) => a.replace(/_/, "")), l = Object.assign({}, e);
|
|
6588
6637
|
return Object.keys(l).forEach((a) => {
|
|
6589
6638
|
typeof e[a] > "u" || (o.indexOf(a) >= 0 ? Se(e[a]) ? (t[a] = {}, i[a] = {}, Me(t[a], e[a]), Me(i[a], e[a])) : (t[a] = e[a], i[a] = e[a]) : a.search(/on[A-Z]/) === 0 && typeof e[a] == "function" ? r ? n[`${a[2].toLowerCase()}${a.substr(3)}`] = e[a] : t.on[`${a[2].toLowerCase()}${a.substr(3)}`] = e[a] : s[a] = e[a]);
|
|
6590
6639
|
}), ["navigation", "pagination", "scrollbar"].forEach((a) => {
|
|
@@ -6596,7 +6645,7 @@ function $s(e = {}, r = !0) {
|
|
|
6596
6645
|
events: n
|
|
6597
6646
|
};
|
|
6598
6647
|
}
|
|
6599
|
-
function
|
|
6648
|
+
function Zs({
|
|
6600
6649
|
el: e,
|
|
6601
6650
|
nextEl: r,
|
|
6602
6651
|
prevEl: t,
|
|
@@ -6604,9 +6653,9 @@ function Gs({
|
|
|
6604
6653
|
scrollbarEl: i,
|
|
6605
6654
|
swiper: s
|
|
6606
6655
|
}, o) {
|
|
6607
|
-
|
|
6656
|
+
tn(o) && r && t && (s.params.navigation.nextEl = r, s.originalParams.navigation.nextEl = r, s.params.navigation.prevEl = t, s.originalParams.navigation.prevEl = t), rn(o) && n && (s.params.pagination.el = n, s.originalParams.pagination.el = n), nn(o) && i && (s.params.scrollbar.el = i, s.originalParams.scrollbar.el = i), s.init(e);
|
|
6608
6657
|
}
|
|
6609
|
-
function
|
|
6658
|
+
function Qs(e, r, t, n, i) {
|
|
6610
6659
|
const s = [];
|
|
6611
6660
|
if (!r) return s;
|
|
6612
6661
|
const o = (a) => {
|
|
@@ -6616,7 +6665,7 @@ function js(e, r, t, n, i) {
|
|
|
6616
6665
|
const a = n.map(i), d = t.map(i);
|
|
6617
6666
|
a.join("") !== d.join("") && o("children"), n.length !== t.length && o("children");
|
|
6618
6667
|
}
|
|
6619
|
-
return
|
|
6668
|
+
return en.filter((a) => a[0] === "_").map((a) => a.replace(/_/, "")).forEach((a) => {
|
|
6620
6669
|
if (a in e && a in r)
|
|
6621
6670
|
if (Se(e[a]) && Se(r[a])) {
|
|
6622
6671
|
const d = Object.keys(e[a]), p = Object.keys(r[a]);
|
|
@@ -6628,29 +6677,29 @@ function js(e, r, t, n, i) {
|
|
|
6628
6677
|
} else e[a] !== r[a] && o(a);
|
|
6629
6678
|
}), s;
|
|
6630
6679
|
}
|
|
6631
|
-
const
|
|
6680
|
+
const ea = (e) => {
|
|
6632
6681
|
!e || e.destroyed || !e.params.virtual || e.params.virtual && !e.params.virtual.enabled || (e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.emit("_virtualUpdated"), e.parallax && e.params.parallax && e.params.parallax.enabled && e.parallax.setTranslate());
|
|
6633
6682
|
};
|
|
6634
|
-
function
|
|
6635
|
-
return
|
|
6683
|
+
function Ke() {
|
|
6684
|
+
return Ke = Object.assign ? Object.assign.bind() : function(e) {
|
|
6636
6685
|
for (var r = 1; r < arguments.length; r++) {
|
|
6637
6686
|
var t = arguments[r];
|
|
6638
6687
|
for (var n in t)
|
|
6639
6688
|
Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
6640
6689
|
}
|
|
6641
6690
|
return e;
|
|
6642
|
-
},
|
|
6691
|
+
}, Ke.apply(this, arguments);
|
|
6643
6692
|
}
|
|
6644
|
-
function
|
|
6693
|
+
function an(e) {
|
|
6645
6694
|
return e.type && e.type.displayName && e.type.displayName.includes("SwiperSlide");
|
|
6646
6695
|
}
|
|
6647
|
-
function
|
|
6696
|
+
function on(e) {
|
|
6648
6697
|
const r = [];
|
|
6649
6698
|
return ie.Children.toArray(e).forEach((t) => {
|
|
6650
|
-
|
|
6699
|
+
an(t) ? r.push(t) : t.props && t.props.children && on(t.props.children).forEach((n) => r.push(n));
|
|
6651
6700
|
}), r;
|
|
6652
6701
|
}
|
|
6653
|
-
function
|
|
6702
|
+
function ta(e) {
|
|
6654
6703
|
const r = [], t = {
|
|
6655
6704
|
"container-start": [],
|
|
6656
6705
|
"container-end": [],
|
|
@@ -6658,12 +6707,12 @@ function Vs(e) {
|
|
|
6658
6707
|
"wrapper-end": []
|
|
6659
6708
|
};
|
|
6660
6709
|
return ie.Children.toArray(e).forEach((n) => {
|
|
6661
|
-
if (
|
|
6710
|
+
if (an(n))
|
|
6662
6711
|
r.push(n);
|
|
6663
6712
|
else if (n.props && n.props.slot && t[n.props.slot])
|
|
6664
6713
|
t[n.props.slot].push(n);
|
|
6665
6714
|
else if (n.props && n.props.children) {
|
|
6666
|
-
const i =
|
|
6715
|
+
const i = on(n.props.children);
|
|
6667
6716
|
i.length > 0 ? i.forEach((s) => r.push(s)) : t["container-end"].push(n);
|
|
6668
6717
|
} else
|
|
6669
6718
|
t["container-end"].push(n);
|
|
@@ -6672,7 +6721,7 @@ function Vs(e) {
|
|
|
6672
6721
|
slots: t
|
|
6673
6722
|
};
|
|
6674
6723
|
}
|
|
6675
|
-
function
|
|
6724
|
+
function ra(e, r, t) {
|
|
6676
6725
|
if (!t) return null;
|
|
6677
6726
|
const n = (p) => {
|
|
6678
6727
|
let c = p;
|
|
@@ -6693,10 +6742,10 @@ function Hs(e, r, t) {
|
|
|
6693
6742
|
key: p.props.virtualIndex || p.key || `slide-${c}`
|
|
6694
6743
|
}));
|
|
6695
6744
|
}
|
|
6696
|
-
function
|
|
6697
|
-
return typeof window > "u" ?
|
|
6745
|
+
function ze(e, r) {
|
|
6746
|
+
return typeof window > "u" ? ht(e, r) : St(e, r);
|
|
6698
6747
|
}
|
|
6699
|
-
const
|
|
6748
|
+
const ur = /* @__PURE__ */ be(null), na = /* @__PURE__ */ be(null), ln = /* @__PURE__ */ Je(({
|
|
6700
6749
|
className: e,
|
|
6701
6750
|
tag: r = "div",
|
|
6702
6751
|
wrapperTag: t = "div",
|
|
@@ -6705,15 +6754,15 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), an = /* @__P
|
|
|
6705
6754
|
...s
|
|
6706
6755
|
} = {}, o) => {
|
|
6707
6756
|
let l = !1;
|
|
6708
|
-
const [a, d] =
|
|
6757
|
+
const [a, d] = xe("swiper"), [p, c] = xe(null), [T, f] = xe(!1), g = oe(!1), b = oe(null), x = oe(null), u = oe(null), m = oe(null), v = oe(null), E = oe(null), y = oe(null), A = oe(null), {
|
|
6709
6758
|
params: L,
|
|
6710
6759
|
passedParams: h,
|
|
6711
|
-
rest:
|
|
6760
|
+
rest: z,
|
|
6712
6761
|
events: O
|
|
6713
|
-
} =
|
|
6762
|
+
} = Js(s), {
|
|
6714
6763
|
slides: k,
|
|
6715
6764
|
slots: R
|
|
6716
|
-
} =
|
|
6765
|
+
} = ta(n), F = () => {
|
|
6717
6766
|
f(!T);
|
|
6718
6767
|
};
|
|
6719
6768
|
Object.assign(L.on, {
|
|
@@ -6726,7 +6775,7 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), an = /* @__P
|
|
|
6726
6775
|
const S = {
|
|
6727
6776
|
...L
|
|
6728
6777
|
};
|
|
6729
|
-
if (delete S.wrapperClass, x.current = new
|
|
6778
|
+
if (delete S.wrapperClass, x.current = new Gt(S), x.current.virtual && x.current.params.virtual.enabled) {
|
|
6730
6779
|
x.current.virtual.slides = k;
|
|
6731
6780
|
const q = {
|
|
6732
6781
|
cache: !1,
|
|
@@ -6747,13 +6796,13 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), an = /* @__P
|
|
|
6747
6796
|
x.current.off(S, O[S]);
|
|
6748
6797
|
});
|
|
6749
6798
|
};
|
|
6750
|
-
|
|
6799
|
+
ht(() => () => {
|
|
6751
6800
|
x.current && x.current.off("_beforeBreakpoint", F);
|
|
6752
|
-
}),
|
|
6801
|
+
}), ht(() => {
|
|
6753
6802
|
!g.current && x.current && (x.current.emitSlidesClasses(), g.current = !0);
|
|
6754
|
-
}),
|
|
6803
|
+
}), ze(() => {
|
|
6755
6804
|
if (o && (o.current = b.current), !!b.current)
|
|
6756
|
-
return x.current.destroyed && V(),
|
|
6805
|
+
return x.current.destroyed && V(), Zs({
|
|
6757
6806
|
el: b.current,
|
|
6758
6807
|
nextEl: v.current,
|
|
6759
6808
|
prevEl: E.current,
|
|
@@ -6763,10 +6812,10 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), an = /* @__P
|
|
|
6763
6812
|
}, L), i && !x.current.destroyed && i(x.current), () => {
|
|
6764
6813
|
x.current && !x.current.destroyed && x.current.destroy(!0, !1);
|
|
6765
6814
|
};
|
|
6766
|
-
}, []),
|
|
6815
|
+
}, []), ze(() => {
|
|
6767
6816
|
Q();
|
|
6768
|
-
const S =
|
|
6769
|
-
return u.current = h, m.current = k, S.length && x.current && !x.current.destroyed &&
|
|
6817
|
+
const S = Qs(h, u.current, k, m.current, (q) => q.key);
|
|
6818
|
+
return u.current = h, m.current = k, S.length && x.current && !x.current.destroyed && Ks({
|
|
6770
6819
|
swiper: x.current,
|
|
6771
6820
|
slides: k,
|
|
6772
6821
|
passedParams: h,
|
|
@@ -6778,38 +6827,38 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), an = /* @__P
|
|
|
6778
6827
|
}), () => {
|
|
6779
6828
|
w();
|
|
6780
6829
|
};
|
|
6781
|
-
}),
|
|
6782
|
-
|
|
6830
|
+
}), ze(() => {
|
|
6831
|
+
ea(x.current);
|
|
6783
6832
|
}, [p]);
|
|
6784
6833
|
function M() {
|
|
6785
|
-
return L.virtual ?
|
|
6834
|
+
return L.virtual ? ra(x.current, k, p) : k.map((S, q) => /* @__PURE__ */ ie.cloneElement(S, {
|
|
6786
6835
|
swiper: x.current,
|
|
6787
6836
|
swiperSlideIndex: q
|
|
6788
6837
|
}));
|
|
6789
6838
|
}
|
|
6790
|
-
return /* @__PURE__ */ ie.createElement(r,
|
|
6839
|
+
return /* @__PURE__ */ ie.createElement(r, Ke({
|
|
6791
6840
|
ref: b,
|
|
6792
|
-
className:
|
|
6793
|
-
},
|
|
6841
|
+
className: sn(`${a}${e ? ` ${e}` : ""}`)
|
|
6842
|
+
}, z), /* @__PURE__ */ ie.createElement(na.Provider, {
|
|
6794
6843
|
value: x.current
|
|
6795
6844
|
}, R["container-start"], /* @__PURE__ */ ie.createElement(t, {
|
|
6796
|
-
className:
|
|
6797
|
-
}, R["wrapper-start"], M(), R["wrapper-end"]),
|
|
6845
|
+
className: Us(L.wrapperClass)
|
|
6846
|
+
}, R["wrapper-start"], M(), R["wrapper-end"]), tn(L) && /* @__PURE__ */ ie.createElement(ie.Fragment, null, /* @__PURE__ */ ie.createElement("div", {
|
|
6798
6847
|
ref: E,
|
|
6799
6848
|
className: "swiper-button-prev"
|
|
6800
6849
|
}), /* @__PURE__ */ ie.createElement("div", {
|
|
6801
6850
|
ref: v,
|
|
6802
6851
|
className: "swiper-button-next"
|
|
6803
|
-
})),
|
|
6852
|
+
})), nn(L) && /* @__PURE__ */ ie.createElement("div", {
|
|
6804
6853
|
ref: A,
|
|
6805
6854
|
className: "swiper-scrollbar"
|
|
6806
|
-
}),
|
|
6855
|
+
}), rn(L) && /* @__PURE__ */ ie.createElement("div", {
|
|
6807
6856
|
ref: y,
|
|
6808
6857
|
className: "swiper-pagination"
|
|
6809
6858
|
}), R["container-end"]));
|
|
6810
6859
|
});
|
|
6811
|
-
|
|
6812
|
-
const
|
|
6860
|
+
ln.displayName = "Swiper";
|
|
6861
|
+
const dn = /* @__PURE__ */ Je(({
|
|
6813
6862
|
tag: e = "div",
|
|
6814
6863
|
children: r,
|
|
6815
6864
|
className: t = "",
|
|
@@ -6820,11 +6869,11 @@ const on = /* @__PURE__ */ ur(({
|
|
|
6820
6869
|
swiperSlideIndex: l,
|
|
6821
6870
|
...a
|
|
6822
6871
|
} = {}, d) => {
|
|
6823
|
-
const p = oe(null), [c, T] =
|
|
6872
|
+
const p = oe(null), [c, T] = xe("swiper-slide"), [f, g] = xe(!1);
|
|
6824
6873
|
function b(v, E, y) {
|
|
6825
6874
|
E === p.current && T(y);
|
|
6826
6875
|
}
|
|
6827
|
-
|
|
6876
|
+
ze(() => {
|
|
6828
6877
|
if (typeof l < "u" && (p.current.swiperSlideIndex = l), d && (d.current = p.current), !(!p.current || !n)) {
|
|
6829
6878
|
if (n.destroyed) {
|
|
6830
6879
|
c !== "swiper-slide" && T("swiper-slide");
|
|
@@ -6834,7 +6883,7 @@ const on = /* @__PURE__ */ ur(({
|
|
|
6834
6883
|
n && n.off("_slideClass", b);
|
|
6835
6884
|
};
|
|
6836
6885
|
}
|
|
6837
|
-
}),
|
|
6886
|
+
}), ze(() => {
|
|
6838
6887
|
n && p.current && !n.destroyed && T(n.getSlideClasses(p.current));
|
|
6839
6888
|
}, [n]);
|
|
6840
6889
|
const x = {
|
|
@@ -6845,26 +6894,26 @@ const on = /* @__PURE__ */ ur(({
|
|
|
6845
6894
|
}, u = () => typeof r == "function" ? r(x) : r, m = () => {
|
|
6846
6895
|
g(!0);
|
|
6847
6896
|
};
|
|
6848
|
-
return /* @__PURE__ */ ie.createElement(e,
|
|
6897
|
+
return /* @__PURE__ */ ie.createElement(e, Ke({
|
|
6849
6898
|
ref: p,
|
|
6850
|
-
className:
|
|
6899
|
+
className: sn(`${c}${t ? ` ${t}` : ""}`),
|
|
6851
6900
|
"data-swiper-slide-index": o,
|
|
6852
6901
|
onLoad: m
|
|
6853
|
-
}, a), i && /* @__PURE__ */ ie.createElement(
|
|
6902
|
+
}, a), i && /* @__PURE__ */ ie.createElement(ur.Provider, {
|
|
6854
6903
|
value: x
|
|
6855
6904
|
}, /* @__PURE__ */ ie.createElement("div", {
|
|
6856
6905
|
className: "swiper-zoom-container",
|
|
6857
6906
|
"data-swiper-zoom": typeof i == "number" ? i : void 0
|
|
6858
6907
|
}, u(), s && !f && /* @__PURE__ */ ie.createElement("div", {
|
|
6859
6908
|
className: "swiper-lazy-preloader"
|
|
6860
|
-
}))), !i && /* @__PURE__ */ ie.createElement(
|
|
6909
|
+
}))), !i && /* @__PURE__ */ ie.createElement(ur.Provider, {
|
|
6861
6910
|
value: x
|
|
6862
6911
|
}, u(), s && !f && /* @__PURE__ */ ie.createElement("div", {
|
|
6863
6912
|
className: "swiper-lazy-preloader"
|
|
6864
6913
|
})));
|
|
6865
6914
|
});
|
|
6866
|
-
|
|
6867
|
-
function
|
|
6915
|
+
dn.displayName = "SwiperSlide";
|
|
6916
|
+
function cn(e, r, t, n) {
|
|
6868
6917
|
return e.params.createElements && Object.keys(n).forEach((i) => {
|
|
6869
6918
|
if (!t[i] && t.auto === !0) {
|
|
6870
6919
|
let s = fe(e.el, `.${n[i]}`)[0];
|
|
@@ -6872,8 +6921,8 @@ function ln(e, r, t, n) {
|
|
|
6872
6921
|
}
|
|
6873
6922
|
}), t;
|
|
6874
6923
|
}
|
|
6875
|
-
const
|
|
6876
|
-
function
|
|
6924
|
+
const fr = '<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';
|
|
6925
|
+
function ia({
|
|
6877
6926
|
swiper: e,
|
|
6878
6927
|
extendParams: r,
|
|
6879
6928
|
on: t,
|
|
@@ -6893,7 +6942,7 @@ function Ys({
|
|
|
6893
6942
|
}), e.navigation = {
|
|
6894
6943
|
nextEl: null,
|
|
6895
6944
|
prevEl: null,
|
|
6896
|
-
arrowSvg:
|
|
6945
|
+
arrowSvg: fr
|
|
6897
6946
|
};
|
|
6898
6947
|
function i(f) {
|
|
6899
6948
|
let g;
|
|
@@ -6924,7 +6973,7 @@ function Ys({
|
|
|
6924
6973
|
}
|
|
6925
6974
|
function d() {
|
|
6926
6975
|
const f = e.params.navigation;
|
|
6927
|
-
if (e.params.navigation =
|
|
6976
|
+
if (e.params.navigation = cn(e, e.originalParams.navigation, e.params.navigation, {
|
|
6928
6977
|
nextEl: "swiper-button-next",
|
|
6929
6978
|
prevEl: "swiper-button-prev"
|
|
6930
6979
|
}), !(f.nextEl || f.prevEl)) return;
|
|
@@ -6937,7 +6986,7 @@ function Ys({
|
|
|
6937
6986
|
if (u) {
|
|
6938
6987
|
if (f.addIcons && u.matches(".swiper-button-next,.swiper-button-prev") && !u.querySelector("svg")) {
|
|
6939
6988
|
const v = document.createElement("div");
|
|
6940
|
-
Pe(v,
|
|
6989
|
+
Pe(v, fr), u.appendChild(v.querySelector("svg")), v.remove();
|
|
6941
6990
|
}
|
|
6942
6991
|
u.addEventListener("click", m === "next" ? a : l);
|
|
6943
6992
|
}
|
|
@@ -7006,7 +7055,7 @@ function Ys({
|
|
|
7006
7055
|
function he(e = "") {
|
|
7007
7056
|
return `.${e.trim().replace(/([\.:!+\/()[\]])/g, "\\$1").replace(/ /g, ".")}`;
|
|
7008
7057
|
}
|
|
7009
|
-
function
|
|
7058
|
+
function sa({
|
|
7010
7059
|
swiper: e,
|
|
7011
7060
|
extendParams: r,
|
|
7012
7061
|
on: t,
|
|
@@ -7086,24 +7135,24 @@ function Xs({
|
|
|
7086
7135
|
const A = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.slides.length, L = e.params.loop ? Math.ceil(A / e.params.slidesPerGroup) : e.snapGrid.length;
|
|
7087
7136
|
if (e.params.loop ? (y = e.previousRealIndex || 0, E = e.params.slidesPerGroup > 1 ? Math.floor(e.realIndex / e.params.slidesPerGroup) : e.realIndex) : typeof e.snapIndex < "u" ? (E = e.snapIndex, y = e.previousSnapIndex) : (y = e.previousIndex || 0, E = e.activeIndex || 0), m.type === "bullets" && e.pagination.bullets && e.pagination.bullets.length > 0) {
|
|
7088
7137
|
const h = e.pagination.bullets;
|
|
7089
|
-
let
|
|
7090
|
-
if (m.dynamicBullets && (s =
|
|
7138
|
+
let z, O, k;
|
|
7139
|
+
if (m.dynamicBullets && (s = bt(h[0], e.isHorizontal() ? "width" : "height"), v.forEach((R) => {
|
|
7091
7140
|
R.style[e.isHorizontal() ? "width" : "height"] = `${s * (m.dynamicMainBullets + 4)}px`;
|
|
7092
|
-
}), m.dynamicMainBullets > 1 && y !== void 0 && (o += E - (y || 0), o > m.dynamicMainBullets - 1 ? o = m.dynamicMainBullets - 1 : o < 0 && (o = 0)),
|
|
7141
|
+
}), m.dynamicMainBullets > 1 && y !== void 0 && (o += E - (y || 0), o > m.dynamicMainBullets - 1 ? o = m.dynamicMainBullets - 1 : o < 0 && (o = 0)), z = Math.max(E - o, 0), O = z + (Math.min(h.length, m.dynamicMainBullets) - 1), k = (O + z) / 2), h.forEach((R) => {
|
|
7093
7142
|
const F = [...["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((V) => `${m.bulletActiveClass}${V}`)].map((V) => typeof V == "string" && V.includes(" ") ? V.split(" ") : V).flat();
|
|
7094
7143
|
R.classList.remove(...F);
|
|
7095
7144
|
}), v.length > 1)
|
|
7096
7145
|
h.forEach((R) => {
|
|
7097
7146
|
const F = De(R);
|
|
7098
|
-
F === E ? R.classList.add(...m.bulletActiveClass.split(" ")) : e.isElement && R.setAttribute("part", "bullet"), m.dynamicBullets && (F >=
|
|
7147
|
+
F === E ? R.classList.add(...m.bulletActiveClass.split(" ")) : e.isElement && R.setAttribute("part", "bullet"), m.dynamicBullets && (F >= z && F <= O && R.classList.add(...`${m.bulletActiveClass}-main`.split(" ")), F === z && a(R, "prev"), F === O && a(R, "next"));
|
|
7099
7148
|
});
|
|
7100
7149
|
else {
|
|
7101
7150
|
const R = h[E];
|
|
7102
7151
|
if (R && R.classList.add(...m.bulletActiveClass.split(" ")), e.isElement && h.forEach((F, V) => {
|
|
7103
7152
|
F.setAttribute("part", V === E ? "bullet-active" : "bullet");
|
|
7104
7153
|
}), m.dynamicBullets) {
|
|
7105
|
-
const F = h[
|
|
7106
|
-
for (let Q =
|
|
7154
|
+
const F = h[z], V = h[O];
|
|
7155
|
+
for (let Q = z; Q <= O; Q += 1)
|
|
7107
7156
|
h[Q] && h[Q].classList.add(...`${m.bulletActiveClass}-main`.split(" "));
|
|
7108
7157
|
a(F, "prev"), a(V, "next");
|
|
7109
7158
|
}
|
|
@@ -7115,7 +7164,7 @@ function Xs({
|
|
|
7115
7164
|
});
|
|
7116
7165
|
}
|
|
7117
7166
|
}
|
|
7118
|
-
v.forEach((h,
|
|
7167
|
+
v.forEach((h, z) => {
|
|
7119
7168
|
if (m.type === "fraction" && (h.querySelectorAll(he(m.currentClass)).forEach((O) => {
|
|
7120
7169
|
O.textContent = m.formatFractionCurrent(E + 1);
|
|
7121
7170
|
}), h.querySelectorAll(he(m.totalClass)).forEach((O) => {
|
|
@@ -7129,7 +7178,7 @@ function Xs({
|
|
|
7129
7178
|
V.style.transform = `translate3d(0,0,0) scaleX(${R}) scaleY(${F})`, V.style.transitionDuration = `${e.params.speed}ms`;
|
|
7130
7179
|
});
|
|
7131
7180
|
}
|
|
7132
|
-
m.type === "custom" && m.renderCustom ? (Pe(h, m.renderCustom(e, E + 1, L)),
|
|
7181
|
+
m.type === "custom" && m.renderCustom ? (Pe(h, m.renderCustom(e, E + 1, L)), z === 0 && n("paginationRender", h)) : (z === 0 && n("paginationRender", h), n("paginationUpdate", h)), e.params.watchOverflow && e.enabled && h.classList[e.isLocked ? "add" : "remove"](m.lockClass);
|
|
7133
7182
|
});
|
|
7134
7183
|
}
|
|
7135
7184
|
function T() {
|
|
@@ -7150,13 +7199,13 @@ function Xs({
|
|
|
7150
7199
|
}), u.type !== "custom" && n("paginationRender", v[0]);
|
|
7151
7200
|
}
|
|
7152
7201
|
function f() {
|
|
7153
|
-
e.params.pagination =
|
|
7202
|
+
e.params.pagination = cn(e, e.originalParams.pagination, e.params.pagination, {
|
|
7154
7203
|
el: "swiper-pagination"
|
|
7155
7204
|
});
|
|
7156
7205
|
const u = e.params.pagination;
|
|
7157
7206
|
if (!u.el) return;
|
|
7158
7207
|
let m;
|
|
7159
|
-
typeof u.el == "string" && e.isElement && (m = e.el.querySelector(u.el)), !m && typeof u.el == "string" && (m = [...document.querySelectorAll(u.el)]), m || (m = u.el), !(!m || m.length === 0) && (e.params.uniqueNavElements && typeof u.el == "string" && Array.isArray(m) && m.length > 1 && (m = [...e.el.querySelectorAll(u.el)], m.length > 1 && (m = m.find((v) =>
|
|
7208
|
+
typeof u.el == "string" && e.isElement && (m = e.el.querySelector(u.el)), !m && typeof u.el == "string" && (m = [...document.querySelectorAll(u.el)]), m || (m = u.el), !(!m || m.length === 0) && (e.params.uniqueNavElements && typeof u.el == "string" && Array.isArray(m) && m.length > 1 && (m = [...e.el.querySelectorAll(u.el)], m.length > 1 && (m = m.find((v) => Xr(v, ".swiper")[0] === e.el))), Array.isArray(m) && m.length === 1 && (m = m[0]), Object.assign(e.pagination, {
|
|
7160
7209
|
el: m
|
|
7161
7210
|
}), m = K(m), m.forEach((v) => {
|
|
7162
7211
|
u.type === "bullets" && u.clickable && v.classList.add(...(u.clickableClass || "").split(" ")), v.classList.add(u.modifierClass + u.type), v.classList.add(e.isHorizontal() ? u.horizontalClass : u.verticalClass), u.type === "bullets" && u.dynamicBullets && (v.classList.add(`${u.modifierClass}${u.type}-dynamic`), o = 0, u.dynamicMainBullets < 1 && (u.dynamicMainBullets = 1)), u.type === "progressbar" && u.progressbarOpposite && v.classList.add(u.progressbarOppositeClass), u.clickable && v.addEventListener("click", p), e.enabled || v.classList.add(u.lockClass);
|
|
@@ -7226,7 +7275,7 @@ function Xs({
|
|
|
7226
7275
|
destroy: g
|
|
7227
7276
|
});
|
|
7228
7277
|
}
|
|
7229
|
-
function
|
|
7278
|
+
function aa({
|
|
7230
7279
|
swiper: e,
|
|
7231
7280
|
extendParams: r,
|
|
7232
7281
|
on: t
|
|
@@ -7345,7 +7394,7 @@ function Us({
|
|
|
7345
7394
|
}
|
|
7346
7395
|
const h = (w, M, S) => {
|
|
7347
7396
|
d(w), w.tagName !== "BUTTON" && (c(w, "button"), w.addEventListener("keydown", v)), g(w, S), f(w, M);
|
|
7348
|
-
},
|
|
7397
|
+
}, z = (w) => {
|
|
7349
7398
|
s && s !== w.target && !s.contains(w.target) && (i = !0), e.a11y.clicked = !0;
|
|
7350
7399
|
}, O = () => {
|
|
7351
7400
|
i = !1, requestAnimationFrame(() => {
|
|
@@ -7387,9 +7436,9 @@ function Us({
|
|
|
7387
7436
|
nextEl: C,
|
|
7388
7437
|
prevEl: I
|
|
7389
7438
|
} = e.navigation ? e.navigation : {};
|
|
7390
|
-
C = K(C), I = K(I), C && C.forEach((B) => h(B, q, w.nextSlideMessage)), I && I.forEach((B) => h(B, q, w.prevSlideMessage)), A() && K(e.pagination.el).forEach((
|
|
7391
|
-
|
|
7392
|
-
}), de().addEventListener("visibilitychange", k), e.el.addEventListener("focus", R, !0), e.el.addEventListener("focus", R, !0), e.el.addEventListener("pointerdown",
|
|
7439
|
+
C = K(C), I = K(I), C && C.forEach((B) => h(B, q, w.nextSlideMessage)), I && I.forEach((B) => h(B, q, w.prevSlideMessage)), A() && K(e.pagination.el).forEach(($) => {
|
|
7440
|
+
$.addEventListener("keydown", v);
|
|
7441
|
+
}), de().addEventListener("visibilitychange", k), e.el.addEventListener("focus", R, !0), e.el.addEventListener("focus", R, !0), e.el.addEventListener("pointerdown", z, !0), e.el.addEventListener("pointerup", O, !0);
|
|
7393
7442
|
};
|
|
7394
7443
|
function Q() {
|
|
7395
7444
|
n && n.remove();
|
|
@@ -7399,7 +7448,7 @@ function Us({
|
|
|
7399
7448
|
} = e.navigation ? e.navigation : {};
|
|
7400
7449
|
w = K(w), M = K(M), w && w.forEach((q) => q.removeEventListener("keydown", v)), M && M.forEach((q) => q.removeEventListener("keydown", v)), A() && K(e.pagination.el).forEach((C) => {
|
|
7401
7450
|
C.removeEventListener("keydown", v);
|
|
7402
|
-
}), de().removeEventListener("visibilitychange", k), e.el && typeof e.el != "string" && (e.el.removeEventListener("focus", R, !0), e.el.removeEventListener("pointerdown",
|
|
7451
|
+
}), de().removeEventListener("visibilitychange", k), e.el && typeof e.el != "string" && (e.el.removeEventListener("focus", R, !0), e.el.removeEventListener("pointerdown", z, !0), e.el.removeEventListener("pointerup", O, !0));
|
|
7403
7452
|
}
|
|
7404
7453
|
t("beforeInit", () => {
|
|
7405
7454
|
n = Ne("span", e.params.a11y.notificationClass), n.setAttribute("aria-live", "assertive"), n.setAttribute("aria-atomic", "true");
|
|
@@ -7415,7 +7464,7 @@ function Us({
|
|
|
7415
7464
|
e.params.a11y.enabled && Q();
|
|
7416
7465
|
});
|
|
7417
7466
|
}
|
|
7418
|
-
function
|
|
7467
|
+
function oa({
|
|
7419
7468
|
swiper: e,
|
|
7420
7469
|
extendParams: r,
|
|
7421
7470
|
on: t,
|
|
@@ -7439,7 +7488,7 @@ function Ks({
|
|
|
7439
7488
|
});
|
|
7440
7489
|
let s, o, l = i && i.autoplay ? i.autoplay.delay : 3e3, a = i && i.autoplay ? i.autoplay.delay : 3e3, d, p = (/* @__PURE__ */ new Date()).getTime(), c, T, f, g, b, x, u;
|
|
7441
7490
|
function m(M) {
|
|
7442
|
-
!e || e.destroyed || !e.wrapperEl || M.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", m), !(u || M.detail && M.detail.bySwiperTouchMove) &&
|
|
7491
|
+
!e || e.destroyed || !e.wrapperEl || M.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", m), !(u || M.detail && M.detail.bySwiperTouchMove) && z());
|
|
7443
7492
|
}
|
|
7444
7493
|
const v = () => {
|
|
7445
7494
|
if (e.destroyed || !e.autoplay.running) return;
|
|
@@ -7476,23 +7525,23 @@ function Ks({
|
|
|
7476
7525
|
if (e.destroyed || !e.autoplay.running) return;
|
|
7477
7526
|
clearTimeout(s), M || (x = !0);
|
|
7478
7527
|
const q = () => {
|
|
7479
|
-
n("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", m) :
|
|
7528
|
+
n("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", m) : z();
|
|
7480
7529
|
};
|
|
7481
7530
|
if (e.autoplay.paused = !0, S) {
|
|
7482
7531
|
b && (d = e.params.autoplay.delay), b = !1, q();
|
|
7483
7532
|
return;
|
|
7484
7533
|
}
|
|
7485
7534
|
d = (d || e.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - p), !(e.isEnd && d < 0 && !e.params.loop) && (d < 0 && (d = 0), q());
|
|
7486
|
-
},
|
|
7535
|
+
}, z = () => {
|
|
7487
7536
|
e.isEnd && d < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (p = (/* @__PURE__ */ new Date()).getTime(), x ? (x = !1, y(d)) : y(), e.autoplay.paused = !1, n("autoplayResume"));
|
|
7488
7537
|
}, O = () => {
|
|
7489
7538
|
if (e.destroyed || !e.autoplay.running) return;
|
|
7490
7539
|
const M = de();
|
|
7491
|
-
M.visibilityState === "hidden" && (x = !0, h(!0)), M.visibilityState === "visible" &&
|
|
7540
|
+
M.visibilityState === "hidden" && (x = !0, h(!0)), M.visibilityState === "visible" && z();
|
|
7492
7541
|
}, k = (M) => {
|
|
7493
7542
|
M.pointerType === "mouse" && (x = !0, u = !0, !(e.animating || e.autoplay.paused) && h(!0));
|
|
7494
7543
|
}, R = (M) => {
|
|
7495
|
-
M.pointerType === "mouse" && (u = !1, e.autoplay.paused &&
|
|
7544
|
+
M.pointerType === "mouse" && (u = !1, e.autoplay.paused && z());
|
|
7496
7545
|
}, F = () => {
|
|
7497
7546
|
e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", k), e.el.addEventListener("pointerleave", R));
|
|
7498
7547
|
}, V = () => {
|
|
@@ -7507,7 +7556,7 @@ function Ks({
|
|
|
7507
7556
|
}), t("destroy", () => {
|
|
7508
7557
|
V(), w(), e.autoplay.running && L();
|
|
7509
7558
|
}), t("_freeModeStaticRelease", () => {
|
|
7510
|
-
(f || x) &&
|
|
7559
|
+
(f || x) && z();
|
|
7511
7560
|
}), t("_freeModeNoMomentumRelease", () => {
|
|
7512
7561
|
e.params.autoplay.disableOnInteraction ? L() : h(!0, !0);
|
|
7513
7562
|
}), t("beforeTransitionStart", (M, S, q) => {
|
|
@@ -7528,7 +7577,7 @@ function Ks({
|
|
|
7528
7577
|
f = !1, T = !1;
|
|
7529
7578
|
return;
|
|
7530
7579
|
}
|
|
7531
|
-
f && e.params.cssMode &&
|
|
7580
|
+
f && e.params.cssMode && z(), f = !1, T = !1;
|
|
7532
7581
|
}
|
|
7533
7582
|
}), t("slideChange", () => {
|
|
7534
7583
|
e.destroyed || !e.autoplay.running || (b = !0);
|
|
@@ -7536,10 +7585,10 @@ function Ks({
|
|
|
7536
7585
|
start: A,
|
|
7537
7586
|
stop: L,
|
|
7538
7587
|
pause: h,
|
|
7539
|
-
resume:
|
|
7588
|
+
resume: z
|
|
7540
7589
|
});
|
|
7541
7590
|
}
|
|
7542
|
-
function
|
|
7591
|
+
function la({
|
|
7543
7592
|
swiper: e,
|
|
7544
7593
|
extendParams: r,
|
|
7545
7594
|
on: t
|
|
@@ -7575,8 +7624,8 @@ function Js({
|
|
|
7575
7624
|
} = e.params.grid, y = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : x.length;
|
|
7576
7625
|
let A, L, h;
|
|
7577
7626
|
if (E === "row" && u > 1) {
|
|
7578
|
-
const
|
|
7579
|
-
h = Math.floor(O / k), L = O - h * k +
|
|
7627
|
+
const z = Math.floor(g / (u * v)), O = g - v * u * z, k = z === 0 ? u : Math.min(Math.ceil((y - z * v * u) / v), u);
|
|
7628
|
+
h = Math.floor(O / k), L = O - h * k + z * u, A = L + h * n / v, b.style.order = A;
|
|
7580
7629
|
} else E === "column" ? (L = Math.floor(g / v), h = g - L * v, (L > s || L === s && h === v - 1) && (h += 1, h >= v && (h = 0, L += 1))) : (h = Math.floor(g / i), L = g - h * i);
|
|
7581
7630
|
b.row = h, b.column = L, b.style.height = `calc((100% - ${(v - 1) * m}px) / ${v})`, b.style[e.getDirectionLabel("margin-top")] = h !== 0 ? m && `${m}px` : "", b.swiperSlideGridSet = !0;
|
|
7582
7631
|
}, c = (g, b) => {
|
|
@@ -7610,7 +7659,7 @@ function Js({
|
|
|
7610
7659
|
updateWrapperSize: c
|
|
7611
7660
|
};
|
|
7612
7661
|
}
|
|
7613
|
-
const
|
|
7662
|
+
const jt = ({
|
|
7614
7663
|
className: e = "",
|
|
7615
7664
|
slides: r,
|
|
7616
7665
|
breakpoints: t,
|
|
@@ -7626,11 +7675,11 @@ const $t = ({
|
|
|
7626
7675
|
onSwiper: c,
|
|
7627
7676
|
onSlideChange: T
|
|
7628
7677
|
}) => {
|
|
7629
|
-
const { theme: f } = ce(
|
|
7630
|
-
return /* @__PURE__ */
|
|
7631
|
-
|
|
7678
|
+
const { theme: f } = ce(Vr);
|
|
7679
|
+
return /* @__PURE__ */ G("div", { className: "relative w-full", children: /* @__PURE__ */ G(
|
|
7680
|
+
ln,
|
|
7632
7681
|
{
|
|
7633
|
-
modules: [
|
|
7682
|
+
modules: [aa, oa, la, ia, sa],
|
|
7634
7683
|
a11y: { enabled: !0 },
|
|
7635
7684
|
breakpoints: t,
|
|
7636
7685
|
spaceBetween: n,
|
|
@@ -7653,12 +7702,12 @@ const $t = ({
|
|
|
7653
7702
|
"--swiper-pagination-color": f.primary,
|
|
7654
7703
|
"--swiper-navigation-color": f.primary
|
|
7655
7704
|
},
|
|
7656
|
-
children: r.map((x, u) => /* @__PURE__ */
|
|
7705
|
+
children: r.map((x, u) => /* @__PURE__ */ G(dn, { children: x }, u))
|
|
7657
7706
|
}
|
|
7658
7707
|
) });
|
|
7659
7708
|
};
|
|
7660
|
-
|
|
7661
|
-
|
|
7709
|
+
jt.displayName = "Testimonials.Carousel";
|
|
7710
|
+
jt.propTypes = {
|
|
7662
7711
|
slides: P.arrayOf(P.node).isRequired,
|
|
7663
7712
|
breakpoints: P.object,
|
|
7664
7713
|
spaceBetween: P.number,
|
|
@@ -7672,11 +7721,11 @@ $t.propTypes = {
|
|
|
7672
7721
|
onSwiper: P.func,
|
|
7673
7722
|
onSlideChange: P.func
|
|
7674
7723
|
};
|
|
7675
|
-
const
|
|
7676
|
-
|
|
7677
|
-
|
|
7678
|
-
|
|
7679
|
-
|
|
7724
|
+
const Qe = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ G(ki, { id: e, theme: r, children: t });
|
|
7725
|
+
Qe.Base = qt;
|
|
7726
|
+
Qe.Container = Bt;
|
|
7727
|
+
Qe.Carousel = jt;
|
|
7728
|
+
Qe.propTypes = {
|
|
7680
7729
|
id: P.string.isRequired,
|
|
7681
7730
|
theme: P.shape({
|
|
7682
7731
|
primary: P.string,
|
|
@@ -7687,11 +7736,11 @@ Ze.propTypes = {
|
|
|
7687
7736
|
children: P.node.isRequired
|
|
7688
7737
|
};
|
|
7689
7738
|
export {
|
|
7690
|
-
|
|
7739
|
+
fi as Button,
|
|
7691
7740
|
Te as Cover,
|
|
7692
7741
|
we as Drawer,
|
|
7693
7742
|
Le as Header,
|
|
7694
7743
|
Ae as NextSteps,
|
|
7695
|
-
|
|
7696
|
-
|
|
7744
|
+
qe as Record,
|
|
7745
|
+
Qe as Testimonials
|
|
7697
7746
|
};
|