@solostylist/ui-kit 1.0.166 → 1.0.168
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/{Typography-B7LOtCzI.js → Typography-C8jwvSWe.js} +1 -1
- package/dist/main.d.ts +5 -3
- package/dist/main.js +182 -172
- package/dist/s-accordion/index.js +2 -2
- package/dist/s-accordion/s-accordion.d.ts +17 -1
- package/dist/s-accordion/s-accordion.js +252 -238
- package/dist/s-action-overlay/index.js +1 -1
- package/dist/s-action-overlay/s-action-overlay.d.ts +34 -1
- package/dist/s-action-overlay/s-action-overlay.js +67 -55
- package/dist/s-ai-tool-bar/index.d.ts +2 -0
- package/dist/s-ai-tool-bar/index.js +3 -2
- package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +43 -22
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +336 -255
- package/dist/s-autocomplete/index.js +2 -2
- package/dist/s-autocomplete/s-autocomplete.d.ts +13 -15
- package/dist/s-autocomplete/s-autocomplete.js +25 -17
- package/dist/s-avatar/index.js +2 -2
- package/dist/s-avatar/s-avatar.d.ts +16 -1
- package/dist/s-avatar/s-avatar.js +23 -10
- package/dist/s-blur-text/index.js +2 -2
- package/dist/s-blur-text/s-blur-text.d.ts +4 -13
- package/dist/s-blur-text/s-blur-text.js +57 -51
- package/dist/s-breadcrumbs/index.js +2 -2
- package/dist/s-breadcrumbs/s-breadcrumbs.d.ts +20 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +39 -30
- package/dist/s-button/index.js +2 -2
- package/dist/s-button/s-button.d.ts +7 -1
- package/dist/s-button/s-button.js +15 -5
- package/dist/s-button-link/index.js +2 -2
- package/dist/s-button-link/s-button-link.d.ts +12 -26
- package/dist/s-button-link/s-button-link.js +36 -26
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.d.ts +11 -1
- package/dist/s-carousel/s-carousel.js +233 -223
- package/dist/s-category-card/index.js +2 -2
- package/dist/s-category-card/s-category-card.d.ts +28 -1
- package/dist/s-category-card/s-category-card.js +77 -58
- package/dist/s-chat-input/index.js +2 -2
- package/dist/s-chat-input/s-chat-input.d.ts +12 -1
- package/dist/s-chat-input/s-chat-input.js +92 -82
- package/dist/s-chat-message/index.js +2 -2
- package/dist/s-chat-message/s-chat-message.d.ts +22 -1
- package/dist/s-chat-message/s-chat-message.js +144 -133
- package/dist/s-checkbox/index.js +2 -2
- package/dist/s-checkbox/s-checkbox.d.ts +2 -15
- package/dist/s-checkbox/s-checkbox.js +20 -10
- package/dist/s-chip/index.js +2 -2
- package/dist/s-chip/s-chip.d.ts +7 -1
- package/dist/s-chip/s-chip.js +15 -5
- package/dist/s-chips/index.js +2 -2
- package/dist/s-chips/s-chips.d.ts +5 -18
- package/dist/s-chips/s-chips.js +56 -41
- package/dist/s-comment-message/index.js +2 -2
- package/dist/s-comment-message/s-comment-message.d.ts +26 -1
- package/dist/s-comment-message/s-comment-message.js +95 -89
- package/dist/s-copyable-text/index.js +1 -1
- package/dist/s-copyable-text/s-copyable-text.d.ts +9 -36
- package/dist/s-copyable-text/s-copyable-text.js +31 -21
- package/dist/s-countdown/index.d.ts +3 -2
- package/dist/s-countdown/index.js +4 -3
- package/dist/s-countdown/s-count-box.d.ts +39 -0
- package/dist/s-countdown/s-count-box.js +112 -0
- package/dist/s-countdown/s-count-down.d.ts +6 -50
- package/dist/s-countdown/s-count-down.js +110 -175
- package/dist/s-data-table/index.js +2 -2
- package/dist/s-data-table/s-data-table.d.ts +9 -65
- package/dist/s-data-table/s-data-table.js +381 -371
- package/dist/s-date-picker/index.js +2 -2
- package/dist/s-date-picker/s-date-picker.d.ts +6 -17
- package/dist/s-date-picker/s-date-picker.js +124 -107
- package/dist/s-datetime-picker/index.js +2 -2
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +5 -16
- package/dist/s-datetime-picker/s-datetime-picker.js +897 -887
- package/dist/s-dialog/index.js +2 -2
- package/dist/s-dialog/s-dialog.d.ts +3 -16
- package/dist/s-dialog/s-dialog.js +32 -23
- package/dist/s-dialog-confirm/index.js +3 -3
- package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +5 -13
- package/dist/s-dialog-confirm/s-dialog-confirm.js +55 -48
- package/dist/s-dialog-message/index.js +4 -4
- package/dist/s-dialog-message/s-dialog-message.d.ts +5 -15
- package/dist/s-dialog-message/s-dialog-message.js +45 -38
- package/dist/s-empty/index.js +2 -2
- package/dist/s-empty/s-empty.d.ts +5 -20
- package/dist/s-empty/s-empty.js +14 -4
- package/dist/s-error/index.js +2 -2
- package/dist/s-error/s-error.d.ts +5 -20
- package/dist/s-error/s-error.js +16 -6
- package/dist/s-error-layout/index.js +2 -2
- package/dist/s-error-layout/s-error-layout.d.ts +6 -1
- package/dist/s-error-layout/s-error-layout.js +60 -51
- package/dist/s-file-dropzone/index.js +2 -2
- package/dist/s-file-dropzone/s-file-dropzone.d.ts +6 -51
- package/dist/s-file-dropzone/s-file-dropzone.js +64 -54
- package/dist/s-file-icon/index.js +2 -2
- package/dist/s-file-icon/s-file-icon.d.ts +5 -25
- package/dist/s-file-icon/s-file-icon.js +14 -8
- package/dist/s-flex-box/index.js +2 -2
- package/dist/s-flex-box/s-flex-box.d.ts +10 -1
- package/dist/s-flex-box/s-flex-box.js +14 -4
- package/dist/s-form/index.js +2 -2
- package/dist/s-form/s-form.d.ts +5 -14
- package/dist/s-form/s-form.js +19 -9
- package/dist/s-gallery/index.js +33 -3
- package/dist/s-gallery/s-gallery.d.ts +3 -36
- package/dist/s-gallery/s-gallery.js +108 -78
- package/dist/s-glow-button/s-glow-button.d.ts +6 -42
- package/dist/s-glow-button/s-glow-button.js +29 -47
- package/dist/s-gradient-icon/index.d.ts +1 -1
- package/dist/s-gradient-icon/index.js +1 -1
- package/dist/s-gradient-icon/s-gradient-icon.d.ts +8 -68
- package/dist/s-gradient-icon/s-gradient-icon.js +54 -44
- package/dist/s-i18n-provider/index.js +1 -1
- package/dist/s-i18n-provider/s-i18n-provider.d.ts +5 -33
- package/dist/s-i18n-provider/s-i18n-provider.js +25 -15
- package/dist/s-icon-button/index.js +2 -2
- package/dist/s-icon-button/s-icon-button.d.ts +6 -19
- package/dist/s-icon-button/s-icon-button.js +14 -4
- package/dist/s-image-comparison/s-image-comparison.js +50 -45
- package/dist/s-image-modal/index.js +3 -3
- package/dist/s-image-modal/s-image-modal.d.ts +4 -20
- package/dist/s-image-modal/s-image-modal.js +150 -135
- package/dist/s-item-not-found/index.js +2 -2
- package/dist/s-item-not-found/s-item-not-found.d.ts +14 -1
- package/dist/s-item-not-found/s-item-not-found.js +21 -10
- package/dist/s-label/index.js +2 -2
- package/dist/s-label/s-label.d.ts +9 -25
- package/dist/s-label/s-label.js +19 -9
- package/dist/s-language-switcher/index.js +3 -3
- package/dist/s-language-switcher/s-language-switcher.d.ts +20 -33
- package/dist/s-language-switcher/s-language-switcher.js +137 -115
- package/dist/s-lazy-image/index.js +10 -2
- package/dist/s-lazy-image/s-lazy-image.d.ts +12 -58
- package/dist/s-lazy-image/s-lazy-image.js +53 -58
- package/dist/s-localization-provider/index.js +2 -2
- package/dist/s-localization-provider/s-localization-provider.d.ts +6 -27
- package/dist/s-localization-provider/s-localization-provider.js +157 -149
- package/dist/s-moving-border/index.js +2 -2
- package/dist/s-moving-border/s-moving-border.d.ts +3 -33
- package/dist/s-moving-border/s-moving-border.js +65 -55
- package/dist/s-multi-select/index.js +2 -2
- package/dist/s-multi-select/s-multi-select.d.ts +5 -15
- package/dist/s-multi-select/s-multi-select.js +54 -45
- package/dist/s-no-ssr/index.js +2 -2
- package/dist/s-no-ssr/s-no-ssr.d.ts +5 -33
- package/dist/s-no-ssr/s-no-ssr.js +21 -11
- package/dist/s-overlay-scrollbar/index.js +2 -2
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +10 -1
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +16 -11
- package/dist/s-pagination/index.js +2 -2
- package/dist/s-pagination/s-pagination.d.ts +5 -23
- package/dist/s-pagination/s-pagination.js +17 -11
- package/dist/s-pixel-reveal/index.d.ts +2 -0
- package/dist/s-pixel-reveal/index.js +4 -0
- package/dist/s-pixel-reveal/package.json +5 -0
- package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +27 -0
- package/dist/s-pixel-reveal/s-pixel-reveal.js +156 -0
- package/dist/s-radial-pulse-animate/index.js +2 -2
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +12 -1
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +52 -42
- package/dist/s-rating/index.js +2 -2
- package/dist/s-rating/s-rating.d.ts +7 -1
- package/dist/s-rating/s-rating.js +15 -5
- package/dist/s-review/index.js +2 -2
- package/dist/s-review/s-review.d.ts +25 -1
- package/dist/s-review/s-review.js +104 -97
- package/dist/s-scroll-reveal/index.js +2 -2
- package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +17 -36
- package/dist/s-scroll-reveal/s-scroll-reveal.js +43 -33
- package/dist/s-scroll-to-top/index.js +2 -2
- package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +12 -17
- package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -15
- package/dist/s-select/index.js +2 -2
- package/dist/s-select/s-select.d.ts +3 -22
- package/dist/s-select/s-select.js +76 -72
- package/dist/s-select-list/index.js +2 -2
- package/dist/s-select-list/s-select-list.d.ts +16 -19
- package/dist/s-select-list/s-select-list.js +33 -28
- package/dist/s-skeleton/index.js +2 -2
- package/dist/s-skeleton/s-skeleton.d.ts +6 -22
- package/dist/s-skeleton/s-skeleton.js +28 -18
- package/dist/s-snackbar-message/index.js +4 -4
- package/dist/s-snackbar-message/s-snackbar-message.d.ts +5 -23
- package/dist/s-snackbar-message/s-snackbar-message.js +38 -31
- package/dist/s-spotlight-cursor/index.js +2 -2
- package/dist/s-spotlight-cursor/s-spotlight-cursor.d.ts +10 -44
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +35 -29
- package/dist/s-stripe/index.d.ts +4 -1
- package/dist/s-stripe/index.js +7 -4
- package/dist/s-stripe/s-stripe-cvc.d.ts +8 -0
- package/dist/s-stripe/s-stripe-cvc.js +15 -0
- package/dist/s-stripe/s-stripe-expiry.d.ts +8 -0
- package/dist/s-stripe/s-stripe-expiry.js +15 -0
- package/dist/s-stripe/s-stripe-number.d.ts +8 -0
- package/dist/s-stripe/s-stripe-number.js +15 -0
- package/dist/s-stripe/s-stripe.d.ts +6 -85
- package/dist/s-stripe/s-stripe.js +24 -27
- package/dist/s-stripe/stripe-input.js +22 -18
- package/dist/s-tabs/index.js +6 -6
- package/dist/s-tabs/s-tab-panel.d.ts +11 -1
- package/dist/s-tabs/s-tab-panel.js +25 -16
- package/dist/s-tabs/s-tab.js +9 -5
- package/dist/s-tabs/s-tabs.d.ts +24 -3
- package/dist/s-tabs/s-tabs.js +34 -25
- package/dist/s-text-editor/index.js +3 -3
- package/dist/s-text-editor/s-text-editor-toolbar.js +91 -76
- package/dist/s-text-editor/s-text-editor.d.ts +13 -11
- package/dist/s-text-editor/s-text-editor.js +44 -30
- package/dist/s-text-field/index.js +2 -2
- package/dist/s-text-field/s-text-field.d.ts +6 -15
- package/dist/s-text-field/s-text-field.js +38 -28
- package/dist/s-text-shimmer/index.js +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.d.ts +10 -1
- package/dist/s-text-shimmer/s-text-shimmer.js +27 -18
- package/dist/s-text-truncation/index.js +2 -2
- package/dist/s-text-truncation/s-text-truncation.d.ts +9 -38
- package/dist/s-text-truncation/s-text-truncation.js +34 -20
- package/dist/s-theme-demo/s-theme-demo.js +238 -223
- package/dist/s-theme-provider/index.js +1 -1
- package/dist/s-theme-provider/s-theme-provider.d.ts +5 -17
- package/dist/s-theme-provider/s-theme-provider.js +44 -34
- package/dist/s-theme-switch/s-theme-switch.js +23 -19
- package/dist/s-tip/index.js +2 -2
- package/dist/s-tip/s-tip.d.ts +5 -22
- package/dist/s-tip/s-tip.js +22 -12
- package/dist/s-two-pane-layout/index.js +10 -2
- package/dist/s-two-pane-layout/s-two-pane-layout.d.ts +7 -1
- package/dist/s-two-pane-layout/s-two-pane-layout.js +58 -48
- package/dist/s-typewriter-text/index.js +2 -2
- package/dist/s-typewriter-text/s-typewriter-text.d.ts +17 -1
- package/dist/s-typewriter-text/s-typewriter-text.js +37 -27
- package/dist/s-zoom-image/index.js +10 -2
- package/dist/s-zoom-image/s-zoom-image.d.ts +10 -42
- package/dist/s-zoom-image/s-zoom-image.js +62 -52
- package/dist/theme/components/alert.d.ts +1440 -1440
- package/dist/theme/components/button.d.ts +2156 -2156
- package/dist/theme/components/chip.d.ts +2 -2
- package/dist/theme/customizations/data-display.js +1 -1
- package/dist/{typographyClasses-C7fhAsUD.js → typographyClasses-DDyl9mok.js} +4 -4
- package/dist/{useMobilePicker-DgxcRrRB.js → useMobilePicker-C1RZZUWr.js} +1 -1
- package/package.json +10 -4
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { j as oe } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
|
-
import ue, { forwardRef as
|
|
3
|
-
import { styled as
|
|
4
|
-
import { c as be, a as
|
|
5
|
-
import
|
|
2
|
+
import ue, { forwardRef as it } from "react";
|
|
3
|
+
import { styled as Re, useTheme as ot } from "@mui/material";
|
|
4
|
+
import { c as be, a as at, g as lt } from "../_commonjsHelpers-B4e78b8K.js";
|
|
5
|
+
import { SIconButton as Ve } from "../s-icon-button/s-icon-button.js";
|
|
6
6
|
import { c as $e } from "../createSvgIcon-DxwgGAVe.js";
|
|
7
|
-
import '../assets/s-carousel.css';const
|
|
7
|
+
import '../assets/s-carousel.css';const st = $e(/* @__PURE__ */ oe.jsx("path", {
|
|
8
8
|
d: "M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"
|
|
9
|
-
}), "ArrowBackIosNew"),
|
|
9
|
+
}), "ArrowBackIosNew"), ut = $e(/* @__PURE__ */ oe.jsx("path", {
|
|
10
10
|
d: "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"
|
|
11
11
|
}), "ArrowForwardIos");
|
|
12
|
-
var _e = {}, ke = {}, pe = {}, Pe = {},
|
|
13
|
-
function
|
|
14
|
-
return
|
|
12
|
+
var _e = {}, ke = {}, pe = {}, Pe = {}, De;
|
|
13
|
+
function ct() {
|
|
14
|
+
return De || (De = 1, (function(i) {
|
|
15
15
|
Object.defineProperty(i, "__esModule", {
|
|
16
16
|
value: !0
|
|
17
17
|
}), i.default = void 0;
|
|
@@ -49,11 +49,11 @@ function ut() {
|
|
|
49
49
|
i.default = c;
|
|
50
50
|
})(Pe)), Pe;
|
|
51
51
|
}
|
|
52
|
-
var Ce,
|
|
53
|
-
function
|
|
54
|
-
if (
|
|
55
|
-
|
|
56
|
-
var i = "Expected a function", c = NaN, h = "[object Symbol]", O = /^\s+|\s+$/g, y = /^[-+]0x[0-9a-f]+$/i, b = /^0b[01]+$/i,
|
|
52
|
+
var Ce, Ie;
|
|
53
|
+
function ft() {
|
|
54
|
+
if (Ie) return Ce;
|
|
55
|
+
Ie = 1;
|
|
56
|
+
var i = "Expected a function", c = NaN, h = "[object Symbol]", O = /^\s+|\s+$/g, y = /^[-+]0x[0-9a-f]+$/i, b = /^0b[01]+$/i, L = /^0o[0-7]+$/i, x = parseInt, X = typeof be == "object" && be && be.Object === Object && be, N = typeof self == "object" && self && self.Object === Object && self, z = X || N || Function("return this")(), U = Object.prototype, ee = U.toString, ne = Math.max, Q = Math.min, E = function() {
|
|
57
57
|
return z.Date.now();
|
|
58
58
|
};
|
|
59
59
|
function te(a, s, f) {
|
|
@@ -110,13 +110,13 @@ function ct() {
|
|
|
110
110
|
function K(a) {
|
|
111
111
|
return !!a && typeof a == "object";
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function V(a) {
|
|
114
114
|
return typeof a == "symbol" || K(a) && ee.call(a) == h;
|
|
115
115
|
}
|
|
116
116
|
function Y(a) {
|
|
117
117
|
if (typeof a == "number")
|
|
118
118
|
return a;
|
|
119
|
-
if (
|
|
119
|
+
if (V(a))
|
|
120
120
|
return c;
|
|
121
121
|
if (F(a)) {
|
|
122
122
|
var s = typeof a.valueOf == "function" ? a.valueOf() : a;
|
|
@@ -126,7 +126,7 @@ function ct() {
|
|
|
126
126
|
return a === 0 ? a : +a;
|
|
127
127
|
a = a.replace(O, "");
|
|
128
128
|
var f = b.test(a);
|
|
129
|
-
return f ||
|
|
129
|
+
return f || L.test(a) ? x(a.slice(2), f ? 2 : 8) : y.test(a) ? c : +a;
|
|
130
130
|
}
|
|
131
131
|
return Ce = te, Ce;
|
|
132
132
|
}
|
|
@@ -136,15 +136,15 @@ var Te = { exports: {} };
|
|
|
136
136
|
Licensed under the MIT License (MIT), see
|
|
137
137
|
http://jedwatson.github.io/classnames
|
|
138
138
|
*/
|
|
139
|
-
var
|
|
139
|
+
var He;
|
|
140
140
|
function we() {
|
|
141
|
-
return
|
|
141
|
+
return He || (He = 1, (function(i) {
|
|
142
142
|
(function() {
|
|
143
143
|
var c = {}.hasOwnProperty;
|
|
144
144
|
function h() {
|
|
145
|
-
for (var b = "",
|
|
146
|
-
var
|
|
147
|
-
|
|
145
|
+
for (var b = "", L = 0; L < arguments.length; L++) {
|
|
146
|
+
var x = arguments[L];
|
|
147
|
+
x && (b = y(b, O(x)));
|
|
148
148
|
}
|
|
149
149
|
return b;
|
|
150
150
|
}
|
|
@@ -157,21 +157,21 @@ function we() {
|
|
|
157
157
|
return h.apply(null, b);
|
|
158
158
|
if (b.toString !== Object.prototype.toString && !b.toString.toString().includes("[native code]"))
|
|
159
159
|
return b.toString();
|
|
160
|
-
var
|
|
161
|
-
for (var
|
|
162
|
-
c.call(b,
|
|
163
|
-
return
|
|
160
|
+
var L = "";
|
|
161
|
+
for (var x in b)
|
|
162
|
+
c.call(b, x) && b[x] && (L = y(L, x));
|
|
163
|
+
return L;
|
|
164
164
|
}
|
|
165
|
-
function y(b,
|
|
166
|
-
return
|
|
165
|
+
function y(b, L) {
|
|
166
|
+
return L ? b ? b + " " + L : b + L : b;
|
|
167
167
|
}
|
|
168
168
|
i.exports ? (h.default = h, i.exports = h) : window.classNames = h;
|
|
169
169
|
})();
|
|
170
170
|
})(Te)), Te.exports;
|
|
171
171
|
}
|
|
172
|
-
var j = {}, je = {},
|
|
173
|
-
function
|
|
174
|
-
return
|
|
172
|
+
var j = {}, je = {}, Ae;
|
|
173
|
+
function Je() {
|
|
174
|
+
return Ae || (Ae = 1, (function(i) {
|
|
175
175
|
Object.defineProperty(i, "__esModule", {
|
|
176
176
|
value: !0
|
|
177
177
|
}), i.default = void 0;
|
|
@@ -245,13 +245,13 @@ function Ve() {
|
|
|
245
245
|
i.default = O;
|
|
246
246
|
})(je)), je;
|
|
247
247
|
}
|
|
248
|
-
var
|
|
248
|
+
var Ne;
|
|
249
249
|
function ye() {
|
|
250
|
-
if (
|
|
251
|
-
|
|
250
|
+
if (Ne) return j;
|
|
251
|
+
Ne = 1, Object.defineProperty(j, "__esModule", {
|
|
252
252
|
value: !0
|
|
253
253
|
}), j.checkSpecKeys = j.checkNavigable = j.changeSlide = j.canUseDOM = j.canGoNext = void 0, j.clamp = N, j.extractObject = void 0, j.filterSettings = A, j.validSettings = j.swipeStart = j.swipeMove = j.swipeEnd = j.slidesOnRight = j.slidesOnLeft = j.slideHandler = j.siblingDirection = j.safePreventDefault = j.lazyStartIndex = j.lazySlidesOnRight = j.lazySlidesOnLeft = j.lazyEndIndex = j.keyHandler = j.initializedState = j.getWidth = j.getTrackLeft = j.getTrackCSS = j.getTrackAnimateCSS = j.getTotalSlides = j.getSwipeDirection = j.getSlideCount = j.getRequiredLazySlides = j.getPreClones = j.getPostClones = j.getOnDemandLazySlides = j.getNavigableIndexes = j.getHeight = void 0;
|
|
254
|
-
var i = h(ue), c = h(
|
|
254
|
+
var i = h(ue), c = h(Je());
|
|
255
255
|
function h(o) {
|
|
256
256
|
return o && o.__esModule ? o : { default: o };
|
|
257
257
|
}
|
|
@@ -277,17 +277,17 @@ function ye() {
|
|
|
277
277
|
for (var e = 1; e < arguments.length; e++) {
|
|
278
278
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
279
279
|
e % 2 ? y(Object(n), !0).forEach(function(p) {
|
|
280
|
-
|
|
280
|
+
L(o, p, n[p]);
|
|
281
281
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(n)) : y(Object(n)).forEach(function(p) {
|
|
282
282
|
Object.defineProperty(o, p, Object.getOwnPropertyDescriptor(n, p));
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
285
|
return o;
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
return (e =
|
|
287
|
+
function L(o, e, n) {
|
|
288
|
+
return (e = x(e)) in o ? Object.defineProperty(o, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = n, o;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function x(o) {
|
|
291
291
|
var e = X(o, "string");
|
|
292
292
|
return O(e) == "symbol" ? e : e + "";
|
|
293
293
|
}
|
|
@@ -332,7 +332,7 @@ function ye() {
|
|
|
332
332
|
}, K = j.getSwipeDirection = function(e) {
|
|
333
333
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, p, k, S, C;
|
|
334
334
|
return p = e.startX - e.curX, k = e.startY - e.curY, S = Math.atan2(k, p), C = Math.round(S * 180 / Math.PI), C < 0 && (C = 360 - Math.abs(C)), C <= 45 && C >= 0 || C <= 360 && C >= 315 ? "left" : C >= 135 && C <= 225 ? "right" : n === !0 ? C >= 35 && C <= 135 ? "up" : "down" : "vertical";
|
|
335
|
-
},
|
|
335
|
+
}, V = j.canGoNext = function(e) {
|
|
336
336
|
var n = !0;
|
|
337
337
|
return e.infinite || (e.centerMode && e.currentSlide >= e.slideCount - 1 || e.slideCount <= e.slidesToShow || e.currentSlide >= e.slideCount - e.slidesToShow) && (n = !1), n;
|
|
338
338
|
};
|
|
@@ -370,10 +370,10 @@ function ye() {
|
|
|
370
370
|
}, j.slideHandler = function(e) {
|
|
371
371
|
var n = e.waitForAnimate, p = e.animating, k = e.fade, S = e.infinite, C = e.index, _ = e.slideCount, T = e.lazyLoad, D = e.currentSlide, I = e.centerMode, H = e.slidesToScroll, G = e.slidesToShow, B = e.useCSS, W = e.lazyLoadedList;
|
|
372
372
|
if (n && p) return {};
|
|
373
|
-
var R = C, q, J, M,
|
|
373
|
+
var R = C, q, J, M, $ = {}, Z = {}, re = S ? C : N(C, 0, _ - 1);
|
|
374
374
|
if (k) {
|
|
375
375
|
if (!S && (C < 0 || C >= _)) return {};
|
|
376
|
-
C < 0 ? R = C + _ : C >= _ && (R = C - _), T && W.indexOf(R) < 0 && (W = W.concat(R)),
|
|
376
|
+
C < 0 ? R = C + _ : C >= _ && (R = C - _), T && W.indexOf(R) < 0 && (W = W.concat(R)), $ = {
|
|
377
377
|
animating: !0,
|
|
378
378
|
currentSlide: R,
|
|
379
379
|
lazyLoadedList: W,
|
|
@@ -383,13 +383,13 @@ function ye() {
|
|
|
383
383
|
targetSlide: R
|
|
384
384
|
};
|
|
385
385
|
} else
|
|
386
|
-
q = R, R < 0 ? (q = R + _, S ? _ % H !== 0 && (q = _ - _ % H) : q = 0) :
|
|
386
|
+
q = R, R < 0 ? (q = R + _, S ? _ % H !== 0 && (q = _ - _ % H) : q = 0) : !V(e) && R > D ? R = q = D : I && R >= _ ? (R = S ? _ : _ - 1, q = S ? 0 : _ - 1) : R >= _ && (q = R - _, S ? _ % H !== 0 && (q = 0) : q = _ - G), !S && R + G >= _ && (q = _ - G), J = r(b(b({}, e), {}, {
|
|
387
387
|
slideIndex: R
|
|
388
388
|
})), M = r(b(b({}, e), {}, {
|
|
389
389
|
slideIndex: q
|
|
390
390
|
})), S || (J === M && (R = q), J = M), T && (W = W.concat(U(b(b({}, e), {}, {
|
|
391
391
|
currentSlide: R
|
|
392
|
-
})))), B ? (
|
|
392
|
+
})))), B ? ($ = {
|
|
393
393
|
animating: !0,
|
|
394
394
|
currentSlide: q,
|
|
395
395
|
trackStyle: l(b(b({}, e), {}, {
|
|
@@ -405,7 +405,7 @@ function ye() {
|
|
|
405
405
|
})),
|
|
406
406
|
swipeLeft: null,
|
|
407
407
|
targetSlide: re
|
|
408
|
-
}) :
|
|
408
|
+
}) : $ = {
|
|
409
409
|
currentSlide: q,
|
|
410
410
|
trackStyle: d(b(b({}, e), {}, {
|
|
411
411
|
left: M
|
|
@@ -414,7 +414,7 @@ function ye() {
|
|
|
414
414
|
targetSlide: re
|
|
415
415
|
};
|
|
416
416
|
return {
|
|
417
|
-
state:
|
|
417
|
+
state: $,
|
|
418
418
|
nextState: Z
|
|
419
419
|
};
|
|
420
420
|
}, j.changeSlide = function(e, n) {
|
|
@@ -447,22 +447,22 @@ function ye() {
|
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
449
|
}, j.swipeMove = function(e, n) {
|
|
450
|
-
var p = n.scrolling, k = n.animating, S = n.vertical, C = n.swipeToSlide, _ = n.verticalSwiping, T = n.rtl, D = n.currentSlide, I = n.edgeFriction, H = n.edgeDragged, G = n.onEdge, B = n.swiped, W = n.swiping, R = n.slideCount, q = n.slidesToScroll, J = n.infinite, M = n.touchObject,
|
|
450
|
+
var p = n.scrolling, k = n.animating, S = n.vertical, C = n.swipeToSlide, _ = n.verticalSwiping, T = n.rtl, D = n.currentSlide, I = n.edgeFriction, H = n.edgeDragged, G = n.onEdge, B = n.swiped, W = n.swiping, R = n.slideCount, q = n.slidesToScroll, J = n.infinite, M = n.touchObject, $ = n.swipeEvent, Z = n.listHeight, re = n.listWidth;
|
|
451
451
|
if (!p) {
|
|
452
452
|
if (k) return z(e);
|
|
453
453
|
S && C && _ && z(e);
|
|
454
454
|
var ie, le = {}, ge = r(n);
|
|
455
455
|
M.curX = e.touches ? e.touches[0].pageX : e.clientX, M.curY = e.touches ? e.touches[0].pageY : e.clientY, M.swipeLength = Math.round(Math.sqrt(Math.pow(M.curX - M.startX, 2)));
|
|
456
|
-
var
|
|
457
|
-
if (!_ && !W &&
|
|
456
|
+
var ze = Math.round(Math.sqrt(Math.pow(M.curY - M.startY, 2)));
|
|
457
|
+
if (!_ && !W && ze > 10)
|
|
458
458
|
return {
|
|
459
459
|
scrolling: !0
|
|
460
460
|
};
|
|
461
|
-
_ && (M.swipeLength =
|
|
461
|
+
_ && (M.swipeLength = ze);
|
|
462
462
|
var fe = (T ? -1 : 1) * (M.curX > M.startX ? 1 : -1);
|
|
463
463
|
_ && (fe = M.curY > M.startY ? 1 : -1);
|
|
464
|
-
var
|
|
465
|
-
return J || (D === 0 && (ae === "right" || ae === "down") || D + 1 >=
|
|
464
|
+
var nt = Math.ceil(R / q), ae = K(n.touchObject, _), de = M.swipeLength;
|
|
465
|
+
return J || (D === 0 && (ae === "right" || ae === "down") || D + 1 >= nt && (ae === "left" || ae === "up") || !V(n) && (ae === "left" || ae === "up")) && (de = M.swipeLength * I, H === !1 && G && (G(ae), le.edgeDragged = !0)), !B && $ && ($(ae), le.swiped = !0), S ? ie = ge + de * (Z / re) * fe : T ? ie = ge - de * fe : ie = ge + de * fe, _ && (ie = ge + de * fe), le = b(b({}, le), {}, {
|
|
466
466
|
touchObject: M,
|
|
467
467
|
swipeLeft: ie,
|
|
468
468
|
trackStyle: d(b(b({}, n), {}, {
|
|
@@ -487,20 +487,20 @@ function ye() {
|
|
|
487
487
|
return M;
|
|
488
488
|
if (S.swipeLength > q) {
|
|
489
489
|
z(e), G && G(J);
|
|
490
|
-
var
|
|
490
|
+
var $, Z, re = R ? W : B;
|
|
491
491
|
switch (J) {
|
|
492
492
|
case "left":
|
|
493
493
|
case "up":
|
|
494
|
-
Z = re + s(n),
|
|
494
|
+
Z = re + s(n), $ = I ? a(n, Z) : Z, M.currentDirection = 0;
|
|
495
495
|
break;
|
|
496
496
|
case "right":
|
|
497
497
|
case "down":
|
|
498
|
-
Z = re - s(n),
|
|
498
|
+
Z = re - s(n), $ = I ? a(n, Z) : Z, M.currentDirection = 1;
|
|
499
499
|
break;
|
|
500
500
|
default:
|
|
501
|
-
|
|
501
|
+
$ = re;
|
|
502
502
|
}
|
|
503
|
-
M.triggerSlideHandler =
|
|
503
|
+
M.triggerSlideHandler = $;
|
|
504
504
|
} else {
|
|
505
505
|
var ie = r(n);
|
|
506
506
|
M.trackStyle = l(b(b({}, n), {}, {
|
|
@@ -584,8 +584,8 @@ function ye() {
|
|
|
584
584
|
var n = e.slideIndex, p = e.trackRef, k = e.infinite, S = e.centerMode, C = e.slideCount, _ = e.slidesToShow, T = e.slidesToScroll, D = e.slideWidth, I = e.listWidth, H = e.variableWidth, G = e.slideHeight, B = e.fade, W = e.vertical, R = 0, q, J, M = 0;
|
|
585
585
|
if (B || e.slideCount === 1)
|
|
586
586
|
return 0;
|
|
587
|
-
var
|
|
588
|
-
if (k ? (
|
|
587
|
+
var $ = 0;
|
|
588
|
+
if (k ? ($ = -v(e), C % T !== 0 && n + T > C && ($ = -(n > C ? _ - (n - C) : C % T)), S && ($ += parseInt(_ / 2))) : (C % T !== 0 && n + T > C && ($ = _ - C % T), S && ($ = parseInt(_ / 2))), R = $ * D, M = $ * G, W ? q = n * G * -1 + M : q = n * D * -1 + R, H === !0) {
|
|
589
589
|
var Z, re = p && p.node;
|
|
590
590
|
if (Z = n + v(e), J = re && re.childNodes[Z], q = J ? J.offsetLeft * -1 : 0, S === !0) {
|
|
591
591
|
Z = k ? n + v(e) : n, J = re && re.children[Z], q = 0;
|
|
@@ -629,10 +629,10 @@ function ye() {
|
|
|
629
629
|
}
|
|
630
630
|
return j;
|
|
631
631
|
}
|
|
632
|
-
var ve = {},
|
|
633
|
-
function
|
|
634
|
-
if (
|
|
635
|
-
|
|
632
|
+
var ve = {}, We;
|
|
633
|
+
function dt() {
|
|
634
|
+
if (We) return ve;
|
|
635
|
+
We = 1, Object.defineProperty(ve, "__esModule", {
|
|
636
636
|
value: !0
|
|
637
637
|
}), ve.Track = void 0;
|
|
638
638
|
var i = O(ue), c = O(we()), h = ye();
|
|
@@ -657,17 +657,17 @@ function ft() {
|
|
|
657
657
|
return l;
|
|
658
658
|
}, b.apply(null, arguments);
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function L(l, r) {
|
|
661
661
|
if (!(l instanceof r)) throw new TypeError("Cannot call a class as a function");
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function x(l, r) {
|
|
664
664
|
for (var v = 0; v < r.length; v++) {
|
|
665
665
|
var m = r[v];
|
|
666
|
-
m.enumerable = m.enumerable || !1, m.configurable = !0, "value" in m && (m.writable = !0), Object.defineProperty(l,
|
|
666
|
+
m.enumerable = m.enumerable || !1, m.configurable = !0, "value" in m && (m.writable = !0), Object.defineProperty(l, V(m.key), m);
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
function X(l, r, v) {
|
|
670
|
-
return r &&
|
|
670
|
+
return r && x(l.prototype, r), Object.defineProperty(l, "prototype", { writable: !1 }), l;
|
|
671
671
|
}
|
|
672
672
|
function N(l, r) {
|
|
673
673
|
if (typeof r != "function" && r !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -735,9 +735,9 @@ function ft() {
|
|
|
735
735
|
return l;
|
|
736
736
|
}
|
|
737
737
|
function K(l, r, v) {
|
|
738
|
-
return (r =
|
|
738
|
+
return (r = V(r)) in l ? Object.defineProperty(l, r, { value: v, enumerable: !0, configurable: !0, writable: !0 }) : l[r] = v, l;
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function V(l) {
|
|
741
741
|
var r = Y(l, "string");
|
|
742
742
|
return y(r) == "symbol" ? r : r + "";
|
|
743
743
|
}
|
|
@@ -832,7 +832,7 @@ function ft() {
|
|
|
832
832
|
var r = U(v);
|
|
833
833
|
function v() {
|
|
834
834
|
var m;
|
|
835
|
-
|
|
835
|
+
L(this, v);
|
|
836
836
|
for (var u = arguments.length, g = new Array(u), w = 0; w < u; w++)
|
|
837
837
|
g[w] = arguments[w];
|
|
838
838
|
return m = r.call.apply(r, [this].concat(g)), K(ne(m), "node", null), K(ne(m), "handleRef", function(P) {
|
|
@@ -856,10 +856,10 @@ function ft() {
|
|
|
856
856
|
}]), v;
|
|
857
857
|
})(i.default.PureComponent), ve;
|
|
858
858
|
}
|
|
859
|
-
var he = {},
|
|
860
|
-
function
|
|
861
|
-
if (
|
|
862
|
-
|
|
859
|
+
var he = {}, qe;
|
|
860
|
+
function pt() {
|
|
861
|
+
if (qe) return he;
|
|
862
|
+
qe = 1;
|
|
863
863
|
function i(a) {
|
|
864
864
|
"@babel/helpers - typeof";
|
|
865
865
|
return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
|
|
@@ -885,18 +885,18 @@ function dt() {
|
|
|
885
885
|
}
|
|
886
886
|
return f;
|
|
887
887
|
}
|
|
888
|
-
function
|
|
888
|
+
function L(a) {
|
|
889
889
|
for (var s = 1; s < arguments.length; s++) {
|
|
890
890
|
var f = arguments[s] != null ? arguments[s] : {};
|
|
891
891
|
s % 2 ? b(Object(f), !0).forEach(function(d) {
|
|
892
|
-
|
|
892
|
+
x(a, d, f[d]);
|
|
893
893
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(f)) : b(Object(f)).forEach(function(d) {
|
|
894
894
|
Object.defineProperty(a, d, Object.getOwnPropertyDescriptor(f, d));
|
|
895
895
|
});
|
|
896
896
|
}
|
|
897
897
|
return a;
|
|
898
898
|
}
|
|
899
|
-
function
|
|
899
|
+
function x(a, s, f) {
|
|
900
900
|
return (s = U(s)) in a ? Object.defineProperty(a, s, { value: f, enumerable: !0, configurable: !0, writable: !0 }) : a[s] = f, a;
|
|
901
901
|
}
|
|
902
902
|
function X(a, s) {
|
|
@@ -937,9 +937,9 @@ function dt() {
|
|
|
937
937
|
function E(a) {
|
|
938
938
|
var s = K();
|
|
939
939
|
return function() {
|
|
940
|
-
var f, d =
|
|
940
|
+
var f, d = V(a);
|
|
941
941
|
if (s) {
|
|
942
|
-
var l =
|
|
942
|
+
var l = V(this).constructor;
|
|
943
943
|
f = Reflect.construct(d, arguments, l);
|
|
944
944
|
} else f = d.apply(this, arguments);
|
|
945
945
|
return te(this, f);
|
|
@@ -964,10 +964,10 @@ function dt() {
|
|
|
964
964
|
return !!a;
|
|
965
965
|
})();
|
|
966
966
|
}
|
|
967
|
-
function
|
|
968
|
-
return
|
|
967
|
+
function V(a) {
|
|
968
|
+
return V = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(s) {
|
|
969
969
|
return s.__proto__ || Object.getPrototypeOf(s);
|
|
970
|
-
},
|
|
970
|
+
}, V(a);
|
|
971
971
|
}
|
|
972
972
|
var Y = function(s) {
|
|
973
973
|
var f;
|
|
@@ -1012,17 +1012,17 @@ function dt() {
|
|
|
1012
1012
|
onClick: D
|
|
1013
1013
|
})));
|
|
1014
1014
|
}
|
|
1015
|
-
return /* @__PURE__ */ c.default.cloneElement(this.props.appendDots(e),
|
|
1015
|
+
return /* @__PURE__ */ c.default.cloneElement(this.props.appendDots(e), L({
|
|
1016
1016
|
className: this.props.dotsClass
|
|
1017
1017
|
}, o));
|
|
1018
1018
|
}
|
|
1019
1019
|
}]), f;
|
|
1020
1020
|
})(c.default.PureComponent), he;
|
|
1021
1021
|
}
|
|
1022
|
-
var se = {},
|
|
1023
|
-
function
|
|
1024
|
-
if (
|
|
1025
|
-
|
|
1022
|
+
var se = {}, Fe;
|
|
1023
|
+
function vt() {
|
|
1024
|
+
if (Fe) return se;
|
|
1025
|
+
Fe = 1;
|
|
1026
1026
|
function i(a) {
|
|
1027
1027
|
"@babel/helpers - typeof";
|
|
1028
1028
|
return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
|
|
@@ -1048,7 +1048,7 @@ function pt() {
|
|
|
1048
1048
|
return a;
|
|
1049
1049
|
}, b.apply(null, arguments);
|
|
1050
1050
|
}
|
|
1051
|
-
function
|
|
1051
|
+
function L(a, s) {
|
|
1052
1052
|
var f = Object.keys(a);
|
|
1053
1053
|
if (Object.getOwnPropertySymbols) {
|
|
1054
1054
|
var d = Object.getOwnPropertySymbols(a);
|
|
@@ -1058,12 +1058,12 @@ function pt() {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
return f;
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function x(a) {
|
|
1062
1062
|
for (var s = 1; s < arguments.length; s++) {
|
|
1063
1063
|
var f = arguments[s] != null ? arguments[s] : {};
|
|
1064
|
-
s % 2 ?
|
|
1064
|
+
s % 2 ? L(Object(f), !0).forEach(function(d) {
|
|
1065
1065
|
X(a, d, f[d]);
|
|
1066
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(f)) :
|
|
1066
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(f)) : L(Object(f)).forEach(function(d) {
|
|
1067
1067
|
Object.defineProperty(a, d, Object.getOwnPropertyDescriptor(f, d));
|
|
1068
1068
|
});
|
|
1069
1069
|
}
|
|
@@ -1108,7 +1108,7 @@ function pt() {
|
|
|
1108
1108
|
}, E(a, s);
|
|
1109
1109
|
}
|
|
1110
1110
|
function te(a) {
|
|
1111
|
-
var s =
|
|
1111
|
+
var s = V();
|
|
1112
1112
|
return function() {
|
|
1113
1113
|
var f, d = Y(a);
|
|
1114
1114
|
if (s) {
|
|
@@ -1127,13 +1127,13 @@ function pt() {
|
|
|
1127
1127
|
if (a === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1128
1128
|
return a;
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function V() {
|
|
1131
1131
|
try {
|
|
1132
1132
|
var a = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1133
1133
|
}));
|
|
1134
1134
|
} catch {
|
|
1135
1135
|
}
|
|
1136
|
-
return (
|
|
1136
|
+
return (V = function() {
|
|
1137
1137
|
return !!a;
|
|
1138
1138
|
})();
|
|
1139
1139
|
}
|
|
@@ -1175,7 +1175,7 @@ function pt() {
|
|
|
1175
1175
|
currentSlide: this.props.currentSlide,
|
|
1176
1176
|
slideCount: this.props.slideCount
|
|
1177
1177
|
}, u;
|
|
1178
|
-
return this.props.prevArrow ? u = /* @__PURE__ */ c.default.cloneElement(this.props.prevArrow,
|
|
1178
|
+
return this.props.prevArrow ? u = /* @__PURE__ */ c.default.cloneElement(this.props.prevArrow, x(x({}, v), m)) : u = /* @__PURE__ */ c.default.createElement("button", b({
|
|
1179
1179
|
key: "0",
|
|
1180
1180
|
type: "button"
|
|
1181
1181
|
}, v), " ", "Previous"), u;
|
|
@@ -1214,7 +1214,7 @@ function pt() {
|
|
|
1214
1214
|
currentSlide: this.props.currentSlide,
|
|
1215
1215
|
slideCount: this.props.slideCount
|
|
1216
1216
|
}, u;
|
|
1217
|
-
return this.props.nextArrow ? u = /* @__PURE__ */ c.default.cloneElement(this.props.nextArrow,
|
|
1217
|
+
return this.props.nextArrow ? u = /* @__PURE__ */ c.default.cloneElement(this.props.nextArrow, x(x({}, v), m)) : u = /* @__PURE__ */ c.default.createElement("button", b({
|
|
1218
1218
|
key: "1",
|
|
1219
1219
|
type: "button"
|
|
1220
1220
|
}, v), " ", "Next"), u;
|
|
@@ -1222,7 +1222,7 @@ function pt() {
|
|
|
1222
1222
|
}]), f;
|
|
1223
1223
|
})(c.default.PureComponent), se;
|
|
1224
1224
|
}
|
|
1225
|
-
var
|
|
1225
|
+
var Qe = (function() {
|
|
1226
1226
|
if (typeof Map < "u")
|
|
1227
1227
|
return Map;
|
|
1228
1228
|
function i(c, h) {
|
|
@@ -1262,46 +1262,46 @@ var Je = (function() {
|
|
|
1262
1262
|
}, c.prototype.forEach = function(h, O) {
|
|
1263
1263
|
O === void 0 && (O = null);
|
|
1264
1264
|
for (var y = 0, b = this.__entries__; y < b.length; y++) {
|
|
1265
|
-
var
|
|
1266
|
-
h.call(O,
|
|
1265
|
+
var L = b[y];
|
|
1266
|
+
h.call(O, L[1], L[0]);
|
|
1267
1267
|
}
|
|
1268
1268
|
}, c;
|
|
1269
1269
|
})()
|
|
1270
1270
|
);
|
|
1271
|
-
})(),
|
|
1271
|
+
})(), Le = typeof window < "u" && typeof document < "u" && window.document === document, me = (function() {
|
|
1272
1272
|
return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
|
|
1273
|
-
})(),
|
|
1273
|
+
})(), ht = (function() {
|
|
1274
1274
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(me) : function(i) {
|
|
1275
1275
|
return setTimeout(function() {
|
|
1276
1276
|
return i(Date.now());
|
|
1277
1277
|
}, 1e3 / 60);
|
|
1278
1278
|
};
|
|
1279
|
-
})(),
|
|
1280
|
-
function
|
|
1279
|
+
})(), yt = 2;
|
|
1280
|
+
function gt(i, c) {
|
|
1281
1281
|
var h = !1, O = !1, y = 0;
|
|
1282
1282
|
function b() {
|
|
1283
|
-
h && (h = !1, i()), O &&
|
|
1284
|
-
}
|
|
1285
|
-
function x() {
|
|
1286
|
-
vt(b);
|
|
1283
|
+
h && (h = !1, i()), O && x();
|
|
1287
1284
|
}
|
|
1288
1285
|
function L() {
|
|
1286
|
+
ht(b);
|
|
1287
|
+
}
|
|
1288
|
+
function x() {
|
|
1289
1289
|
var X = Date.now();
|
|
1290
1290
|
if (h) {
|
|
1291
|
-
if (X - y <
|
|
1291
|
+
if (X - y < yt)
|
|
1292
1292
|
return;
|
|
1293
1293
|
O = !0;
|
|
1294
1294
|
} else
|
|
1295
|
-
h = !0, O = !1, setTimeout(
|
|
1295
|
+
h = !0, O = !1, setTimeout(L, c);
|
|
1296
1296
|
y = X;
|
|
1297
1297
|
}
|
|
1298
|
-
return
|
|
1298
|
+
return x;
|
|
1299
1299
|
}
|
|
1300
|
-
var
|
|
1300
|
+
var bt = 20, mt = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], St = typeof MutationObserver < "u", wt = (
|
|
1301
1301
|
/** @class */
|
|
1302
1302
|
(function() {
|
|
1303
1303
|
function i() {
|
|
1304
|
-
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh =
|
|
1304
|
+
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = gt(this.refresh.bind(this), bt);
|
|
1305
1305
|
}
|
|
1306
1306
|
return i.prototype.addObserver = function(c) {
|
|
1307
1307
|
~this.observers_.indexOf(c) || this.observers_.push(c), this.connected_ || this.connect_();
|
|
@@ -1319,16 +1319,16 @@ var gt = 20, bt = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1319
1319
|
return h.broadcastActive();
|
|
1320
1320
|
}), c.length > 0;
|
|
1321
1321
|
}, i.prototype.connect_ = function() {
|
|
1322
|
-
!
|
|
1322
|
+
!Le || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), St ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
1323
1323
|
attributes: !0,
|
|
1324
1324
|
childList: !0,
|
|
1325
1325
|
characterData: !0,
|
|
1326
1326
|
subtree: !0
|
|
1327
1327
|
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
1328
1328
|
}, i.prototype.disconnect_ = function() {
|
|
1329
|
-
!
|
|
1329
|
+
!Le || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
1330
1330
|
}, i.prototype.onTransitionEnd_ = function(c) {
|
|
1331
|
-
var h = c.propertyName, O = h === void 0 ? "" : h, y =
|
|
1331
|
+
var h = c.propertyName, O = h === void 0 ? "" : h, y = mt.some(function(b) {
|
|
1332
1332
|
return !!~O.indexOf(b);
|
|
1333
1333
|
});
|
|
1334
1334
|
y && this.refresh();
|
|
@@ -1336,7 +1336,7 @@ var gt = 20, bt = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1336
1336
|
return this.instance_ || (this.instance_ = new i()), this.instance_;
|
|
1337
1337
|
}, i.instance_ = null, i;
|
|
1338
1338
|
})()
|
|
1339
|
-
),
|
|
1339
|
+
), Ze = (function(i, c) {
|
|
1340
1340
|
for (var h = 0, O = Object.keys(c); h < O.length; h++) {
|
|
1341
1341
|
var y = O[h];
|
|
1342
1342
|
Object.defineProperty(i, y, {
|
|
@@ -1350,11 +1350,11 @@ var gt = 20, bt = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1350
1350
|
}), ce = (function(i) {
|
|
1351
1351
|
var c = i && i.ownerDocument && i.ownerDocument.defaultView;
|
|
1352
1352
|
return c || me;
|
|
1353
|
-
}),
|
|
1353
|
+
}), et = Oe(0, 0, 0, 0);
|
|
1354
1354
|
function Se(i) {
|
|
1355
1355
|
return parseFloat(i) || 0;
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function Be(i) {
|
|
1358
1358
|
for (var c = [], h = 1; h < arguments.length; h++)
|
|
1359
1359
|
c[h - 1] = arguments[h];
|
|
1360
1360
|
return c.reduce(function(O, y) {
|
|
@@ -1362,44 +1362,44 @@ function Fe(i) {
|
|
|
1362
1362
|
return O + Se(b);
|
|
1363
1363
|
}, 0);
|
|
1364
1364
|
}
|
|
1365
|
-
function
|
|
1365
|
+
function Ot(i) {
|
|
1366
1366
|
for (var c = ["top", "right", "bottom", "left"], h = {}, O = 0, y = c; O < y.length; O++) {
|
|
1367
|
-
var b = y[O],
|
|
1368
|
-
h[b] = Se(
|
|
1367
|
+
var b = y[O], L = i["padding-" + b];
|
|
1368
|
+
h[b] = Se(L);
|
|
1369
1369
|
}
|
|
1370
1370
|
return h;
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function _t(i) {
|
|
1373
1373
|
var c = i.getBBox();
|
|
1374
1374
|
return Oe(0, 0, c.width, c.height);
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1376
|
+
function kt(i) {
|
|
1377
1377
|
var c = i.clientWidth, h = i.clientHeight;
|
|
1378
1378
|
if (!c && !h)
|
|
1379
|
-
return
|
|
1380
|
-
var O = ce(i).getComputedStyle(i), y =
|
|
1381
|
-
if (O.boxSizing === "border-box" && (Math.round(
|
|
1382
|
-
var N = Math.round(
|
|
1383
|
-
Math.abs(N) !== 1 && (
|
|
1379
|
+
return et;
|
|
1380
|
+
var O = ce(i).getComputedStyle(i), y = Ot(O), b = y.left + y.right, L = y.top + y.bottom, x = Se(O.width), X = Se(O.height);
|
|
1381
|
+
if (O.boxSizing === "border-box" && (Math.round(x + b) !== c && (x -= Be(O, "left", "right") + b), Math.round(X + L) !== h && (X -= Be(O, "top", "bottom") + L)), !Ct(i)) {
|
|
1382
|
+
var N = Math.round(x + b) - c, z = Math.round(X + L) - h;
|
|
1383
|
+
Math.abs(N) !== 1 && (x -= N), Math.abs(z) !== 1 && (X -= z);
|
|
1384
1384
|
}
|
|
1385
|
-
return Oe(y.left, y.top,
|
|
1385
|
+
return Oe(y.left, y.top, x, X);
|
|
1386
1386
|
}
|
|
1387
|
-
var
|
|
1387
|
+
var Pt = /* @__PURE__ */ (function() {
|
|
1388
1388
|
return typeof SVGGraphicsElement < "u" ? function(i) {
|
|
1389
1389
|
return i instanceof ce(i).SVGGraphicsElement;
|
|
1390
1390
|
} : function(i) {
|
|
1391
1391
|
return i instanceof ce(i).SVGElement && typeof i.getBBox == "function";
|
|
1392
1392
|
};
|
|
1393
1393
|
})();
|
|
1394
|
-
function Pt(i) {
|
|
1395
|
-
return i === ce(i).document.documentElement;
|
|
1396
|
-
}
|
|
1397
1394
|
function Ct(i) {
|
|
1398
|
-
return
|
|
1395
|
+
return i === ce(i).document.documentElement;
|
|
1399
1396
|
}
|
|
1400
1397
|
function Tt(i) {
|
|
1401
|
-
|
|
1402
|
-
|
|
1398
|
+
return Le ? Pt(i) ? _t(i) : kt(i) : et;
|
|
1399
|
+
}
|
|
1400
|
+
function jt(i) {
|
|
1401
|
+
var c = i.x, h = i.y, O = i.width, y = i.height, b = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, L = Object.create(b.prototype);
|
|
1402
|
+
return Ze(L, {
|
|
1403
1403
|
x: c,
|
|
1404
1404
|
y: h,
|
|
1405
1405
|
width: O,
|
|
@@ -1408,31 +1408,31 @@ function Tt(i) {
|
|
|
1408
1408
|
right: c + O,
|
|
1409
1409
|
bottom: y + h,
|
|
1410
1410
|
left: c
|
|
1411
|
-
}),
|
|
1411
|
+
}), L;
|
|
1412
1412
|
}
|
|
1413
1413
|
function Oe(i, c, h, O) {
|
|
1414
1414
|
return { x: i, y: c, width: h, height: O };
|
|
1415
1415
|
}
|
|
1416
|
-
var
|
|
1416
|
+
var Et = (
|
|
1417
1417
|
/** @class */
|
|
1418
1418
|
(function() {
|
|
1419
1419
|
function i(c) {
|
|
1420
1420
|
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Oe(0, 0, 0, 0), this.target = c;
|
|
1421
1421
|
}
|
|
1422
1422
|
return i.prototype.isActive = function() {
|
|
1423
|
-
var c =
|
|
1423
|
+
var c = Tt(this.target);
|
|
1424
1424
|
return this.contentRect_ = c, c.width !== this.broadcastWidth || c.height !== this.broadcastHeight;
|
|
1425
1425
|
}, i.prototype.broadcastRect = function() {
|
|
1426
1426
|
var c = this.contentRect_;
|
|
1427
1427
|
return this.broadcastWidth = c.width, this.broadcastHeight = c.height, c;
|
|
1428
1428
|
}, i;
|
|
1429
1429
|
})()
|
|
1430
|
-
),
|
|
1430
|
+
), xt = (
|
|
1431
1431
|
/** @class */
|
|
1432
1432
|
/* @__PURE__ */ (function() {
|
|
1433
1433
|
function i(c, h) {
|
|
1434
|
-
var O =
|
|
1435
|
-
|
|
1434
|
+
var O = jt(h);
|
|
1435
|
+
Ze(this, { target: c, contentRect: O });
|
|
1436
1436
|
}
|
|
1437
1437
|
return i;
|
|
1438
1438
|
})()
|
|
@@ -1440,7 +1440,7 @@ var jt = (
|
|
|
1440
1440
|
/** @class */
|
|
1441
1441
|
(function() {
|
|
1442
1442
|
function i(c, h, O) {
|
|
1443
|
-
if (this.activeObservations_ = [], this.observations_ = new
|
|
1443
|
+
if (this.activeObservations_ = [], this.observations_ = new Qe(), typeof c != "function")
|
|
1444
1444
|
throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
1445
1445
|
this.callback_ = c, this.controller_ = h, this.callbackCtx_ = O;
|
|
1446
1446
|
}
|
|
@@ -1451,7 +1451,7 @@ var jt = (
|
|
|
1451
1451
|
if (!(c instanceof ce(c).Element))
|
|
1452
1452
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
1453
1453
|
var h = this.observations_;
|
|
1454
|
-
h.has(c) || (h.set(c, new
|
|
1454
|
+
h.has(c) || (h.set(c, new Et(c)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
1455
1455
|
}
|
|
1456
1456
|
}, i.prototype.unobserve = function(c) {
|
|
1457
1457
|
if (!arguments.length)
|
|
@@ -1472,7 +1472,7 @@ var jt = (
|
|
|
1472
1472
|
}, i.prototype.broadcastActive = function() {
|
|
1473
1473
|
if (this.hasActive()) {
|
|
1474
1474
|
var c = this.callbackCtx_, h = this.activeObservations_.map(function(O) {
|
|
1475
|
-
return new
|
|
1475
|
+
return new xt(O.target, O.broadcastRect());
|
|
1476
1476
|
});
|
|
1477
1477
|
this.callback_.call(c, h, c), this.clearActive();
|
|
1478
1478
|
}
|
|
@@ -1482,7 +1482,7 @@ var jt = (
|
|
|
1482
1482
|
return this.activeObservations_.length > 0;
|
|
1483
1483
|
}, i;
|
|
1484
1484
|
})()
|
|
1485
|
-
),
|
|
1485
|
+
), tt = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Qe(), rt = (
|
|
1486
1486
|
/** @class */
|
|
1487
1487
|
/* @__PURE__ */ (function() {
|
|
1488
1488
|
function i(c) {
|
|
@@ -1490,8 +1490,8 @@ var jt = (
|
|
|
1490
1490
|
throw new TypeError("Cannot call a class as a function.");
|
|
1491
1491
|
if (!arguments.length)
|
|
1492
1492
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1493
|
-
var h =
|
|
1494
|
-
|
|
1493
|
+
var h = wt.getInstance(), O = new Lt(c, h, this);
|
|
1494
|
+
tt.set(this, O);
|
|
1495
1495
|
}
|
|
1496
1496
|
return i;
|
|
1497
1497
|
})()
|
|
@@ -1501,25 +1501,25 @@ var jt = (
|
|
|
1501
1501
|
"unobserve",
|
|
1502
1502
|
"disconnect"
|
|
1503
1503
|
].forEach(function(i) {
|
|
1504
|
-
|
|
1504
|
+
rt.prototype[i] = function() {
|
|
1505
1505
|
var c;
|
|
1506
|
-
return (c =
|
|
1506
|
+
return (c = tt.get(this))[i].apply(c, arguments);
|
|
1507
1507
|
};
|
|
1508
1508
|
});
|
|
1509
|
-
var
|
|
1510
|
-
return typeof me.ResizeObserver < "u" ? me.ResizeObserver :
|
|
1509
|
+
var Mt = (function() {
|
|
1510
|
+
return typeof me.ResizeObserver < "u" ? me.ResizeObserver : rt;
|
|
1511
1511
|
})();
|
|
1512
|
-
const
|
|
1512
|
+
const Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1513
1513
|
__proto__: null,
|
|
1514
|
-
default:
|
|
1515
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1516
|
-
var
|
|
1517
|
-
function
|
|
1518
|
-
if (
|
|
1519
|
-
|
|
1514
|
+
default: Mt
|
|
1515
|
+
}, Symbol.toStringTag, { value: "Module" })), zt = /* @__PURE__ */ at(Rt);
|
|
1516
|
+
var Xe;
|
|
1517
|
+
function Dt() {
|
|
1518
|
+
if (Xe) return pe;
|
|
1519
|
+
Xe = 1, Object.defineProperty(pe, "__esModule", {
|
|
1520
1520
|
value: !0
|
|
1521
1521
|
}), pe.InnerSlider = void 0;
|
|
1522
|
-
var i = N(ue), c = N(
|
|
1522
|
+
var i = N(ue), c = N(ct()), h = N(ft()), O = N(we()), y = ye(), b = dt(), L = pt(), x = vt(), X = N(zt);
|
|
1523
1523
|
function N(u) {
|
|
1524
1524
|
return u && u.__esModule ? u : { default: u };
|
|
1525
1525
|
}
|
|
@@ -1594,7 +1594,7 @@ function zt() {
|
|
|
1594
1594
|
function K(u, g, w) {
|
|
1595
1595
|
return g && F(u.prototype, g), Object.defineProperty(u, "prototype", { writable: !1 }), u;
|
|
1596
1596
|
}
|
|
1597
|
-
function
|
|
1597
|
+
function V(u, g) {
|
|
1598
1598
|
if (typeof g != "function" && g !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1599
1599
|
u.prototype = Object.create(g && g.prototype, { constructor: { value: u, writable: !0, configurable: !0 } }), Object.defineProperty(u, "prototype", { writable: !1 }), g && Y(u, g);
|
|
1600
1600
|
}
|
|
@@ -1656,7 +1656,7 @@ function zt() {
|
|
|
1656
1656
|
return (g === "string" ? String : Number)(u);
|
|
1657
1657
|
}
|
|
1658
1658
|
return pe.InnerSlider = /* @__PURE__ */ (function(u) {
|
|
1659
|
-
|
|
1659
|
+
V(w, u);
|
|
1660
1660
|
var g = a(w);
|
|
1661
1661
|
function w(P) {
|
|
1662
1662
|
var t;
|
|
@@ -1978,10 +1978,10 @@ function zt() {
|
|
|
1978
1978
|
onMouseEnter: C ? t.onDotsLeave : null,
|
|
1979
1979
|
onMouseOver: C ? t.onDotsOver : null,
|
|
1980
1980
|
onMouseLeave: C ? t.onDotsLeave : null
|
|
1981
|
-
}), k = /* @__PURE__ */ i.default.createElement(
|
|
1981
|
+
}), k = /* @__PURE__ */ i.default.createElement(L.Dots, S);
|
|
1982
1982
|
}
|
|
1983
1983
|
var _, T, D = (0, y.extractObject)(e, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
1984
|
-
D.clickHandler = t.changeSlide, t.props.arrows && (_ = /* @__PURE__ */ i.default.createElement(
|
|
1984
|
+
D.clickHandler = t.changeSlide, t.props.arrows && (_ = /* @__PURE__ */ i.default.createElement(x.PrevArrow, D), T = /* @__PURE__ */ i.default.createElement(x.NextArrow, D));
|
|
1985
1985
|
var I = null;
|
|
1986
1986
|
t.props.vertical && (I = {
|
|
1987
1987
|
height: t.state.listHeight
|
|
@@ -2047,10 +2047,10 @@ function zt() {
|
|
|
2047
2047
|
}]), w;
|
|
2048
2048
|
})(i.default.Component), pe;
|
|
2049
2049
|
}
|
|
2050
|
-
var Ee,
|
|
2051
|
-
function
|
|
2052
|
-
if (
|
|
2053
|
-
|
|
2050
|
+
var Ee, Ge;
|
|
2051
|
+
function It() {
|
|
2052
|
+
if (Ge) return Ee;
|
|
2053
|
+
Ge = 1;
|
|
2054
2054
|
var i = function(c) {
|
|
2055
2055
|
return c.replace(/[A-Z]/g, function(h) {
|
|
2056
2056
|
return "-" + h.toLowerCase();
|
|
@@ -2058,44 +2058,44 @@ function Dt() {
|
|
|
2058
2058
|
};
|
|
2059
2059
|
return Ee = i, Ee;
|
|
2060
2060
|
}
|
|
2061
|
-
var
|
|
2062
|
-
function
|
|
2063
|
-
if (
|
|
2064
|
-
|
|
2065
|
-
var i =
|
|
2061
|
+
var xe, Ke;
|
|
2062
|
+
function Ht() {
|
|
2063
|
+
if (Ke) return xe;
|
|
2064
|
+
Ke = 1;
|
|
2065
|
+
var i = It(), c = function(y) {
|
|
2066
2066
|
var b = /[height|width]$/;
|
|
2067
2067
|
return b.test(y);
|
|
2068
2068
|
}, h = function(y) {
|
|
2069
|
-
var b = "",
|
|
2070
|
-
return
|
|
2071
|
-
var N = y[
|
|
2072
|
-
|
|
2069
|
+
var b = "", L = Object.keys(y);
|
|
2070
|
+
return L.forEach(function(x, X) {
|
|
2071
|
+
var N = y[x];
|
|
2072
|
+
x = i(x), c(x) && typeof N == "number" && (N = N + "px"), N === !0 ? b += x : N === !1 ? b += "not " + x : b += "(" + x + ": " + N + ")", X < L.length - 1 && (b += " and ");
|
|
2073
2073
|
}), b;
|
|
2074
2074
|
}, O = function(y) {
|
|
2075
2075
|
var b = "";
|
|
2076
|
-
return typeof y == "string" ? y : y instanceof Array ? (y.forEach(function(
|
|
2077
|
-
b += h(
|
|
2076
|
+
return typeof y == "string" ? y : y instanceof Array ? (y.forEach(function(L, x) {
|
|
2077
|
+
b += h(L), x < y.length - 1 && (b += ", ");
|
|
2078
2078
|
}), b) : h(y);
|
|
2079
2079
|
};
|
|
2080
|
-
return
|
|
2080
|
+
return xe = O, xe;
|
|
2081
2081
|
}
|
|
2082
|
-
var
|
|
2083
|
-
function
|
|
2084
|
-
return
|
|
2082
|
+
var Ye;
|
|
2083
|
+
function At() {
|
|
2084
|
+
return Ye || (Ye = 1, (function(i) {
|
|
2085
2085
|
Object.defineProperty(i, "__esModule", {
|
|
2086
2086
|
value: !0
|
|
2087
2087
|
}), i.default = void 0;
|
|
2088
|
-
var c =
|
|
2089
|
-
function
|
|
2088
|
+
var c = L(ue), h = Dt(), O = L(Ht()), y = L(Je()), b = ye();
|
|
2089
|
+
function L(d) {
|
|
2090
2090
|
return d && d.__esModule ? d : { default: d };
|
|
2091
2091
|
}
|
|
2092
|
-
function
|
|
2092
|
+
function x(d) {
|
|
2093
2093
|
"@babel/helpers - typeof";
|
|
2094
|
-
return
|
|
2094
|
+
return x = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(l) {
|
|
2095
2095
|
return typeof l;
|
|
2096
2096
|
} : function(l) {
|
|
2097
2097
|
return l && typeof Symbol == "function" && l.constructor === Symbol && l !== Symbol.prototype ? "symbol" : typeof l;
|
|
2098
|
-
},
|
|
2098
|
+
}, x(d);
|
|
2099
2099
|
}
|
|
2100
2100
|
function X() {
|
|
2101
2101
|
return X = Object.assign ? Object.assign.bind() : function(d) {
|
|
@@ -2150,7 +2150,7 @@ function Ht() {
|
|
|
2150
2150
|
}, E(d, l);
|
|
2151
2151
|
}
|
|
2152
2152
|
function te(d) {
|
|
2153
|
-
var l =
|
|
2153
|
+
var l = V();
|
|
2154
2154
|
return function() {
|
|
2155
2155
|
var r, v = Y(d);
|
|
2156
2156
|
if (l) {
|
|
@@ -2161,7 +2161,7 @@ function Ht() {
|
|
|
2161
2161
|
};
|
|
2162
2162
|
}
|
|
2163
2163
|
function F(d, l) {
|
|
2164
|
-
if (l && (
|
|
2164
|
+
if (l && (x(l) == "object" || typeof l == "function")) return l;
|
|
2165
2165
|
if (l !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2166
2166
|
return K(d);
|
|
2167
2167
|
}
|
|
@@ -2169,13 +2169,13 @@ function Ht() {
|
|
|
2169
2169
|
if (d === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2170
2170
|
return d;
|
|
2171
2171
|
}
|
|
2172
|
-
function
|
|
2172
|
+
function V() {
|
|
2173
2173
|
try {
|
|
2174
2174
|
var d = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
2175
2175
|
}));
|
|
2176
2176
|
} catch {
|
|
2177
2177
|
}
|
|
2178
|
-
return (
|
|
2178
|
+
return (V = function() {
|
|
2179
2179
|
return !!d;
|
|
2180
2180
|
})();
|
|
2181
2181
|
}
|
|
@@ -2189,14 +2189,14 @@ function Ht() {
|
|
|
2189
2189
|
}
|
|
2190
2190
|
function s(d) {
|
|
2191
2191
|
var l = f(d, "string");
|
|
2192
|
-
return
|
|
2192
|
+
return x(l) == "symbol" ? l : l + "";
|
|
2193
2193
|
}
|
|
2194
2194
|
function f(d, l) {
|
|
2195
|
-
if (
|
|
2195
|
+
if (x(d) != "object" || !d) return d;
|
|
2196
2196
|
var r = d[Symbol.toPrimitive];
|
|
2197
2197
|
if (r !== void 0) {
|
|
2198
2198
|
var v = r.call(d, l);
|
|
2199
|
-
if (
|
|
2199
|
+
if (x(v) != "object") return v;
|
|
2200
2200
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2201
2201
|
}
|
|
2202
2202
|
return (l === "string" ? String : Number)(d);
|
|
@@ -2328,21 +2328,21 @@ function Ht() {
|
|
|
2328
2328
|
})(c.default.Component);
|
|
2329
2329
|
})(ke)), ke;
|
|
2330
2330
|
}
|
|
2331
|
-
var
|
|
2332
|
-
function
|
|
2333
|
-
return
|
|
2331
|
+
var Ue;
|
|
2332
|
+
function Nt() {
|
|
2333
|
+
return Ue || (Ue = 1, (function(i) {
|
|
2334
2334
|
Object.defineProperty(i, "__esModule", {
|
|
2335
2335
|
value: !0
|
|
2336
2336
|
}), i.default = void 0;
|
|
2337
|
-
var c = h(
|
|
2337
|
+
var c = h(At());
|
|
2338
2338
|
function h(O) {
|
|
2339
2339
|
return O && O.__esModule ? O : { default: O };
|
|
2340
2340
|
}
|
|
2341
2341
|
i.default = c.default;
|
|
2342
2342
|
})(_e)), _e;
|
|
2343
2343
|
}
|
|
2344
|
-
var
|
|
2345
|
-
const
|
|
2344
|
+
var Wt = Nt();
|
|
2345
|
+
const qt = /* @__PURE__ */ lt(Wt), Ft = Re("div", {
|
|
2346
2346
|
shouldForwardProp: (i) => i !== "space"
|
|
2347
2347
|
})(({ space: i }) => ({
|
|
2348
2348
|
".slick-list": {
|
|
@@ -2368,7 +2368,7 @@ const Wt = /* @__PURE__ */ at(Nt), qt = Me("div", {
|
|
|
2368
2368
|
"&.prev": { left: 6 }
|
|
2369
2369
|
}
|
|
2370
2370
|
}
|
|
2371
|
-
})),
|
|
2371
|
+
})), Bt = Re("ul")(({ theme: i }) => ({
|
|
2372
2372
|
gap: 6,
|
|
2373
2373
|
zIndex: 1,
|
|
2374
2374
|
margin: 0,
|
|
@@ -2389,7 +2389,7 @@ const Wt = /* @__PURE__ */ at(Nt), qt = Me("div", {
|
|
|
2389
2389
|
"&.slick-active span": { backgroundColor: (i.vars || i).palette.primary.main },
|
|
2390
2390
|
"&.slick-active": { width: 18 }
|
|
2391
2391
|
}
|
|
2392
|
-
})),
|
|
2392
|
+
})), Xt = Re("span", {
|
|
2393
2393
|
shouldForwardProp: (i) => i !== "dotColor"
|
|
2394
2394
|
})(({ dotColor: i, theme: c }) => ({
|
|
2395
2395
|
width: "100%",
|
|
@@ -2399,48 +2399,58 @@ const Wt = /* @__PURE__ */ at(Nt), qt = Me("div", {
|
|
|
2399
2399
|
position: "relative",
|
|
2400
2400
|
backgroundColor: i || (c.vars || c).palette.divider
|
|
2401
2401
|
}));
|
|
2402
|
-
function
|
|
2402
|
+
function Gt({ onClick: i, sx: c, className: h }) {
|
|
2403
2403
|
const O = h == null ? void 0 : h.split(" ").filter((y) => y !== "slick-next").join(" ");
|
|
2404
|
-
return /* @__PURE__ */ oe.jsx(
|
|
2404
|
+
return /* @__PURE__ */ oe.jsx(Ve, { onClick: i, className: `next ${O}`, sx: c, children: /* @__PURE__ */ oe.jsx(ut, { fontSize: "small" }) });
|
|
2405
2405
|
}
|
|
2406
|
-
function
|
|
2406
|
+
function Kt({ onClick: i, sx: c, className: h }) {
|
|
2407
2407
|
const O = h == null ? void 0 : h.split(" ").filter((y) => y !== "slick-prev").join(" ");
|
|
2408
|
-
return /* @__PURE__ */ oe.jsx(
|
|
2408
|
+
return /* @__PURE__ */ oe.jsx(Ve, { onClick: i, className: `prev ${O}`, sx: c, children: /* @__PURE__ */ oe.jsx(st, { fontSize: "small" }) });
|
|
2409
2409
|
}
|
|
2410
|
-
function
|
|
2410
|
+
function Yt({ sx: i }) {
|
|
2411
2411
|
return {
|
|
2412
|
-
nextArrow: /* @__PURE__ */ oe.jsx(
|
|
2413
|
-
prevArrow: /* @__PURE__ */ oe.jsx(
|
|
2412
|
+
nextArrow: /* @__PURE__ */ oe.jsx(Gt, { sx: i }),
|
|
2413
|
+
prevArrow: /* @__PURE__ */ oe.jsx(Kt, { sx: i })
|
|
2414
2414
|
};
|
|
2415
2415
|
}
|
|
2416
|
-
function
|
|
2416
|
+
function Ut({ dotColor: i, sx: c }) {
|
|
2417
2417
|
return {
|
|
2418
|
-
customPaging: () => /* @__PURE__ */ oe.jsx(
|
|
2419
|
-
appendDots: (h) => /* @__PURE__ */ oe.jsx(
|
|
2418
|
+
customPaging: () => /* @__PURE__ */ oe.jsx(Xt, { dotColor: i }),
|
|
2419
|
+
appendDots: (h) => /* @__PURE__ */ oe.jsx(Bt, { sx: c, children: h })
|
|
2420
2420
|
};
|
|
2421
2421
|
}
|
|
2422
|
-
const
|
|
2422
|
+
const Me = it((i, c) => {
|
|
2423
2423
|
const {
|
|
2424
2424
|
dotColor: h,
|
|
2425
2425
|
children: O,
|
|
2426
2426
|
arrowStyles: y,
|
|
2427
2427
|
dots: b = !1,
|
|
2428
|
-
arrows:
|
|
2429
|
-
slidesToShow:
|
|
2428
|
+
arrows: L = !0,
|
|
2429
|
+
slidesToShow: x = 4,
|
|
2430
2430
|
spaceBetween: X = 4,
|
|
2431
2431
|
dotStyles: N = { mt: 4 },
|
|
2432
2432
|
...z
|
|
2433
|
-
} = i, U =
|
|
2433
|
+
} = i, U = ot(), ee = {
|
|
2434
2434
|
dots: b,
|
|
2435
|
-
arrows:
|
|
2436
|
-
slidesToShow:
|
|
2435
|
+
arrows: L,
|
|
2436
|
+
slidesToShow: x,
|
|
2437
2437
|
rtl: U.direction === "rtl",
|
|
2438
|
-
...
|
|
2439
|
-
...
|
|
2438
|
+
...Yt({ sx: y }),
|
|
2439
|
+
...Ut({ dotColor: h, sx: N }),
|
|
2440
2440
|
...z
|
|
2441
2441
|
};
|
|
2442
|
-
return /* @__PURE__ */ oe.jsx(
|
|
2442
|
+
return /* @__PURE__ */ oe.jsx(Ft, { space: X, children: /* @__PURE__ */ oe.jsx(qt, { ref: c, ...ee, children: O }) });
|
|
2443
2443
|
});
|
|
2444
|
+
Me.displayName = "SCarousel";
|
|
2445
|
+
try {
|
|
2446
|
+
Me.displayName = "SCarousel", Me.__docgenInfo = { description: "A carousel component built on react-slick with smooth sliding functionality and customizable navigation.", displayName: "SCarousel", props: { dotColor: { defaultValue: null, description: "Custom color for the navigation dots", name: "dotColor", required: !1, type: { name: "string" } }, spaceBetween: { defaultValue: null, description: "Space between slides in pixels", name: "spaceBetween", required: !1, type: { name: "number" } }, dotStyles: { defaultValue: null, description: "Custom styles for the dots container", name: "dotStyles", required: !1, type: { name: "SxProps<Theme>" } }, arrowStyles: { defaultValue: null, description: "Custom styles for the arrow buttons", name: "arrowStyles", required: !1, type: { name: "SxProps<Theme>" } } } };
|
|
2447
|
+
} catch {
|
|
2448
|
+
}
|
|
2449
|
+
try {
|
|
2450
|
+
scarousel.displayName = "scarousel", scarousel.__docgenInfo = { description: "A carousel component built on react-slick with smooth sliding functionality and customizable navigation.", displayName: "scarousel", props: { dotColor: { defaultValue: null, description: "Custom color for the navigation dots", name: "dotColor", required: !1, type: { name: "string" } }, spaceBetween: { defaultValue: null, description: "Space between slides in pixels", name: "spaceBetween", required: !1, type: { name: "number" } }, dotStyles: { defaultValue: null, description: "Custom styles for the dots container", name: "dotStyles", required: !1, type: { name: "SxProps<Theme>" } }, arrowStyles: { defaultValue: null, description: "Custom styles for the arrow buttons", name: "arrowStyles", required: !1, type: { name: "SxProps<Theme>" } } } };
|
|
2451
|
+
} catch {
|
|
2452
|
+
}
|
|
2444
2453
|
export {
|
|
2445
|
-
|
|
2454
|
+
Me as SCarousel,
|
|
2455
|
+
Me as default
|
|
2446
2456
|
};
|