@solostylist/ui-kit 1.0.178 → 1.0.180
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/entries/carousel.d.ts +11 -3
- package/dist/entries/code.d.ts +9 -2
- package/dist/entries/dates.d.ts +7 -3
- package/dist/entries/dropzone.d.ts +6 -2
- package/dist/entries/editor.d.ts +9 -5
- package/dist/entries/i18n.d.ts +8 -4
- package/dist/entries/motion.d.ts +6 -2
- package/dist/entries/scrollbar.d.ts +6 -2
- package/dist/entries/stripe.d.ts +7 -3
- package/dist/s-carousel/s-carousel.js +119 -84
- package/dist/s-image-comparison/s-image-comparison.js +45 -43
- package/dist/theme/components/svg-icon.js +4 -0
- package/dist/theme/customizations/data-display.js +3 -3
- package/dist/theme/customizations/inputs.js +3 -3
- package/dist/theme/theme-primitives.js +1 -1
- package/package.json +1 -1
|
@@ -2,9 +2,17 @@
|
|
|
2
2
|
* Carousel/Slider components
|
|
3
3
|
*
|
|
4
4
|
* Required peer dependencies:
|
|
5
|
-
* - All core dependencies
|
|
6
|
-
* - react-slick
|
|
7
|
-
* - slick-carousel
|
|
5
|
+
* - All core dependencies (@emotion/react, @mui/material, react, react-dom)
|
|
6
|
+
* - react-slick@^0.31.0
|
|
7
|
+
* - slick-carousel@^1.8.1
|
|
8
|
+
*
|
|
9
|
+
* Installation:
|
|
10
|
+
* npm install react-slick slick-carousel
|
|
11
|
+
* yarn add react-slick slick-carousel
|
|
12
|
+
*
|
|
13
|
+
* Note: You may also need to import the CSS:
|
|
14
|
+
* import "slick-carousel/slick/slick.css";
|
|
15
|
+
* import "slick-carousel/slick/slick-theme.css";
|
|
8
16
|
*/
|
|
9
17
|
export { default as SCarousel } from '../s-carousel/index';
|
|
10
18
|
export type { SCarouselProps } from '../s-carousel/index';
|
package/dist/entries/code.d.ts
CHANGED
|
@@ -2,8 +2,15 @@
|
|
|
2
2
|
* Code display components
|
|
3
3
|
*
|
|
4
4
|
* Required peer dependencies:
|
|
5
|
-
* - All core dependencies
|
|
6
|
-
* - react-syntax-highlighter
|
|
5
|
+
* - All core dependencies (@emotion/react, @mui/material, react, react-dom)
|
|
6
|
+
* - react-syntax-highlighter@^16.1.0
|
|
7
|
+
*
|
|
8
|
+
* Installation:
|
|
9
|
+
* npm install react-syntax-highlighter
|
|
10
|
+
* yarn add react-syntax-highlighter
|
|
11
|
+
*
|
|
12
|
+
* Note: You may also need type definitions:
|
|
13
|
+
* npm install -D @types/react-syntax-highlighter
|
|
7
14
|
*/
|
|
8
15
|
export { default as SCodeBlock } from '../s-code-block/index';
|
|
9
16
|
export type { SCodeBlockProps } from '../s-code-block/index';
|
package/dist/entries/dates.d.ts
CHANGED
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
* Date/Time components
|
|
3
3
|
*
|
|
4
4
|
* Required peer dependencies:
|
|
5
|
-
* - All core dependencies
|
|
6
|
-
* - @mui/x-date-pickers
|
|
7
|
-
* - dayjs
|
|
5
|
+
* - All core dependencies (@emotion/react, @mui/material, react, react-dom)
|
|
6
|
+
* - @mui/x-date-pickers@^8.25.0
|
|
7
|
+
* - dayjs@^1.11.19
|
|
8
|
+
*
|
|
9
|
+
* Installation:
|
|
10
|
+
* npm install @mui/x-date-pickers dayjs
|
|
11
|
+
* yarn add @mui/x-date-pickers dayjs
|
|
8
12
|
*/
|
|
9
13
|
export { default as SDatePicker } from '../s-date-picker/index';
|
|
10
14
|
export type { SDatePickerProps } from '../s-date-picker/index';
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* File upload components
|
|
3
3
|
*
|
|
4
4
|
* Required peer dependencies:
|
|
5
|
-
* - All core dependencies
|
|
6
|
-
* - react-dropzone
|
|
5
|
+
* - All core dependencies (@emotion/react, @mui/material, react, react-dom)
|
|
6
|
+
* - react-dropzone@^14.3.8
|
|
7
|
+
*
|
|
8
|
+
* Installation:
|
|
9
|
+
* npm install react-dropzone
|
|
10
|
+
* yarn add react-dropzone
|
|
7
11
|
*/
|
|
8
12
|
export { default as SFileDropzone } from '../s-file-dropzone/index';
|
|
9
13
|
export type { CustomFile, SFileDropzoneProps } from '../s-file-dropzone/index';
|
package/dist/entries/editor.d.ts
CHANGED
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
* Rich Text Editor components
|
|
3
3
|
*
|
|
4
4
|
* Required peer dependencies:
|
|
5
|
-
* - All core dependencies
|
|
6
|
-
* - @tiptap/react
|
|
7
|
-
* - @tiptap/starter-kit
|
|
8
|
-
* - @tiptap/extension-link
|
|
9
|
-
* - @tiptap/extension-placeholder
|
|
5
|
+
* - All core dependencies (@emotion/react, @mui/material, react, react-dom)
|
|
6
|
+
* - @tiptap/react@^3.15.3
|
|
7
|
+
* - @tiptap/starter-kit@^3.15.3
|
|
8
|
+
* - @tiptap/extension-link@^3.15.3
|
|
9
|
+
* - @tiptap/extension-placeholder@^3.15.3
|
|
10
|
+
*
|
|
11
|
+
* Installation:
|
|
12
|
+
* npm install @tiptap/react @tiptap/starter-kit @tiptap/extension-link @tiptap/extension-placeholder
|
|
13
|
+
* yarn add @tiptap/react @tiptap/starter-kit @tiptap/extension-link @tiptap/extension-placeholder
|
|
10
14
|
*/
|
|
11
15
|
export { default as STextEditor } from '../s-text-editor/index';
|
|
12
16
|
export type { STextEditorProps } from '../s-text-editor/index';
|
package/dist/entries/i18n.d.ts
CHANGED
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
* Internationalization components
|
|
3
3
|
*
|
|
4
4
|
* Required peer dependencies:
|
|
5
|
-
* - All core dependencies
|
|
6
|
-
* - i18next
|
|
7
|
-
* - i18next-http-backend
|
|
8
|
-
* - react-i18next
|
|
5
|
+
* - All core dependencies (@emotion/react, @mui/material, react, react-dom)
|
|
6
|
+
* - i18next@^25.7.4
|
|
7
|
+
* - i18next-http-backend@^3.0.2
|
|
8
|
+
* - react-i18next@^16.5.3
|
|
9
|
+
*
|
|
10
|
+
* Installation:
|
|
11
|
+
* npm install i18next i18next-http-backend react-i18next
|
|
12
|
+
* yarn add i18next i18next-http-backend react-i18next
|
|
9
13
|
*/
|
|
10
14
|
export { default as SI18nProvider } from '../s-i18n-provider/index';
|
|
11
15
|
export type { SI18nProviderProps } from '../s-i18n-provider/index';
|
package/dist/entries/motion.d.ts
CHANGED
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* Animation components powered by Framer Motion
|
|
3
3
|
*
|
|
4
4
|
* Required peer dependencies:
|
|
5
|
-
* - All core dependencies
|
|
6
|
-
* - framer-motion
|
|
5
|
+
* - All core dependencies (@emotion/react, @mui/material, react, react-dom)
|
|
6
|
+
* - framer-motion@^12.26.2
|
|
7
|
+
*
|
|
8
|
+
* Installation:
|
|
9
|
+
* npm install framer-motion
|
|
10
|
+
* yarn add framer-motion
|
|
7
11
|
*/
|
|
8
12
|
export { default as SBlurText } from '../s-blur-text/index';
|
|
9
13
|
export type { SBlurTextProps } from '../s-blur-text/index';
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* Custom scrollbar components
|
|
3
3
|
*
|
|
4
4
|
* Required peer dependencies:
|
|
5
|
-
* - All core dependencies
|
|
6
|
-
* - overlayscrollbars-react
|
|
5
|
+
* - All core dependencies (@emotion/react, @mui/material, react, react-dom)
|
|
6
|
+
* - overlayscrollbars-react@^0.5.6
|
|
7
|
+
*
|
|
8
|
+
* Installation:
|
|
9
|
+
* npm install overlayscrollbars-react
|
|
10
|
+
* yarn add overlayscrollbars-react
|
|
7
11
|
*/
|
|
8
12
|
export { default as SOverlayScrollbar } from '../s-overlay-scrollbar/index';
|
|
9
13
|
export type { SOverlayScrollbarProps } from '../s-overlay-scrollbar/index';
|
package/dist/entries/stripe.d.ts
CHANGED
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
* Stripe Payment components
|
|
3
3
|
*
|
|
4
4
|
* Required peer dependencies:
|
|
5
|
-
* - All core dependencies
|
|
6
|
-
* - @stripe/react-stripe-js
|
|
7
|
-
* - @stripe/stripe-js
|
|
5
|
+
* - All core dependencies (@emotion/react, @mui/material, react, react-dom)
|
|
6
|
+
* - @stripe/react-stripe-js@^5.4.1
|
|
7
|
+
* - @stripe/stripe-js@^8.6.1
|
|
8
|
+
*
|
|
9
|
+
* Installation:
|
|
10
|
+
* npm install @stripe/react-stripe-js @stripe/stripe-js
|
|
11
|
+
* yarn add @stripe/react-stripe-js @stripe/stripe-js
|
|
8
12
|
*/
|
|
9
13
|
export { SStripeNumber, SStripeExpiry, SStripeCVC, StripeTextField } from '../s-stripe/index';
|
|
10
14
|
export type { StripeTextFieldProps, StripeElement } from '../s-stripe/index';
|
|
@@ -53,7 +53,7 @@ var Ce, De;
|
|
|
53
53
|
function ct() {
|
|
54
54
|
if (De) return Ce;
|
|
55
55
|
De = 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,
|
|
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, A = typeof self == "object" && self && self.Object === Object && self, z = X || A || 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) {
|
|
@@ -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
|
}
|
|
@@ -137,9 +137,9 @@ function we() {
|
|
|
137
137
|
(function() {
|
|
138
138
|
var c = {}.hasOwnProperty;
|
|
139
139
|
function h() {
|
|
140
|
-
for (var b = "",
|
|
141
|
-
var
|
|
142
|
-
|
|
140
|
+
for (var b = "", L = 0; L < arguments.length; L++) {
|
|
141
|
+
var x = arguments[L];
|
|
142
|
+
x && (b = y(b, O(x)));
|
|
143
143
|
}
|
|
144
144
|
return b;
|
|
145
145
|
}
|
|
@@ -152,13 +152,13 @@ function we() {
|
|
|
152
152
|
return h.apply(null, b);
|
|
153
153
|
if (b.toString !== Object.prototype.toString && !b.toString.toString().includes("[native code]"))
|
|
154
154
|
return b.toString();
|
|
155
|
-
var
|
|
156
|
-
for (var
|
|
157
|
-
c.call(b,
|
|
158
|
-
return
|
|
155
|
+
var L = "";
|
|
156
|
+
for (var x in b)
|
|
157
|
+
c.call(b, x) && b[x] && (L = y(L, x));
|
|
158
|
+
return L;
|
|
159
159
|
}
|
|
160
|
-
function y(b,
|
|
161
|
-
return
|
|
160
|
+
function y(b, L) {
|
|
161
|
+
return L ? b ? b + " " + L : b + L : b;
|
|
162
162
|
}
|
|
163
163
|
i.exports ? (h.default = h, i.exports = h) : window.classNames = h;
|
|
164
164
|
})();
|
|
@@ -272,17 +272,17 @@ function ye() {
|
|
|
272
272
|
for (var e = 1; e < arguments.length; e++) {
|
|
273
273
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
274
274
|
e % 2 ? y(Object(n), !0).forEach(function(p) {
|
|
275
|
-
|
|
275
|
+
L(o, p, n[p]);
|
|
276
276
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(n)) : y(Object(n)).forEach(function(p) {
|
|
277
277
|
Object.defineProperty(o, p, Object.getOwnPropertyDescriptor(n, p));
|
|
278
278
|
});
|
|
279
279
|
}
|
|
280
280
|
return o;
|
|
281
281
|
}
|
|
282
|
-
function
|
|
283
|
-
return (e =
|
|
282
|
+
function L(o, e, n) {
|
|
283
|
+
return (e = x(e)) in o ? Object.defineProperty(o, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = n, o;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function x(o) {
|
|
286
286
|
var e = X(o, "string");
|
|
287
287
|
return O(e) == "symbol" ? e : e + "";
|
|
288
288
|
}
|
|
@@ -652,17 +652,17 @@ function ft() {
|
|
|
652
652
|
return l;
|
|
653
653
|
}, b.apply(null, arguments);
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function L(l, r) {
|
|
656
656
|
if (!(l instanceof r)) throw new TypeError("Cannot call a class as a function");
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function x(l, r) {
|
|
659
659
|
for (var v = 0; v < r.length; v++) {
|
|
660
660
|
var m = r[v];
|
|
661
661
|
m.enumerable = m.enumerable || !1, m.configurable = !0, "value" in m && (m.writable = !0), Object.defineProperty(l, V(m.key), m);
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
function X(l, r, v) {
|
|
665
|
-
return r &&
|
|
665
|
+
return r && x(l.prototype, r), Object.defineProperty(l, "prototype", { writable: !1 }), l;
|
|
666
666
|
}
|
|
667
667
|
function A(l, r) {
|
|
668
668
|
if (typeof r != "function" && r !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -827,7 +827,7 @@ function ft() {
|
|
|
827
827
|
var r = U(v);
|
|
828
828
|
function v() {
|
|
829
829
|
var m;
|
|
830
|
-
|
|
830
|
+
L(this, v);
|
|
831
831
|
for (var u = arguments.length, g = new Array(u), w = 0; w < u; w++)
|
|
832
832
|
g[w] = arguments[w];
|
|
833
833
|
return m = r.call.apply(r, [this].concat(g)), K(ne(m), "node", null), K(ne(m), "handleRef", function(P) {
|
|
@@ -880,18 +880,18 @@ function dt() {
|
|
|
880
880
|
}
|
|
881
881
|
return f;
|
|
882
882
|
}
|
|
883
|
-
function
|
|
883
|
+
function L(a) {
|
|
884
884
|
for (var s = 1; s < arguments.length; s++) {
|
|
885
885
|
var f = arguments[s] != null ? arguments[s] : {};
|
|
886
886
|
s % 2 ? b(Object(f), !0).forEach(function(d) {
|
|
887
|
-
|
|
887
|
+
x(a, d, f[d]);
|
|
888
888
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(f)) : b(Object(f)).forEach(function(d) {
|
|
889
889
|
Object.defineProperty(a, d, Object.getOwnPropertyDescriptor(f, d));
|
|
890
890
|
});
|
|
891
891
|
}
|
|
892
892
|
return a;
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function x(a, s, f) {
|
|
895
895
|
return (s = U(s)) in a ? Object.defineProperty(a, s, { value: f, enumerable: !0, configurable: !0, writable: !0 }) : a[s] = f, a;
|
|
896
896
|
}
|
|
897
897
|
function X(a, s) {
|
|
@@ -1007,7 +1007,7 @@ function dt() {
|
|
|
1007
1007
|
onClick: D
|
|
1008
1008
|
})));
|
|
1009
1009
|
}
|
|
1010
|
-
return /* @__PURE__ */ c.default.cloneElement(this.props.appendDots(e),
|
|
1010
|
+
return /* @__PURE__ */ c.default.cloneElement(this.props.appendDots(e), L({
|
|
1011
1011
|
className: this.props.dotsClass
|
|
1012
1012
|
}, o));
|
|
1013
1013
|
}
|
|
@@ -1043,7 +1043,7 @@ function pt() {
|
|
|
1043
1043
|
return a;
|
|
1044
1044
|
}, b.apply(null, arguments);
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1046
|
+
function L(a, s) {
|
|
1047
1047
|
var f = Object.keys(a);
|
|
1048
1048
|
if (Object.getOwnPropertySymbols) {
|
|
1049
1049
|
var d = Object.getOwnPropertySymbols(a);
|
|
@@ -1053,12 +1053,12 @@ function pt() {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
return f;
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1056
|
+
function x(a) {
|
|
1057
1057
|
for (var s = 1; s < arguments.length; s++) {
|
|
1058
1058
|
var f = arguments[s] != null ? arguments[s] : {};
|
|
1059
|
-
s % 2 ?
|
|
1059
|
+
s % 2 ? L(Object(f), !0).forEach(function(d) {
|
|
1060
1060
|
X(a, d, f[d]);
|
|
1061
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(f)) :
|
|
1061
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(f)) : L(Object(f)).forEach(function(d) {
|
|
1062
1062
|
Object.defineProperty(a, d, Object.getOwnPropertyDescriptor(f, d));
|
|
1063
1063
|
});
|
|
1064
1064
|
}
|
|
@@ -1170,7 +1170,7 @@ function pt() {
|
|
|
1170
1170
|
currentSlide: this.props.currentSlide,
|
|
1171
1171
|
slideCount: this.props.slideCount
|
|
1172
1172
|
}, u;
|
|
1173
|
-
return this.props.prevArrow ? u = /* @__PURE__ */ c.default.cloneElement(this.props.prevArrow,
|
|
1173
|
+
return this.props.prevArrow ? u = /* @__PURE__ */ c.default.cloneElement(this.props.prevArrow, x(x({}, v), m)) : u = /* @__PURE__ */ c.default.createElement("button", b({
|
|
1174
1174
|
key: "0",
|
|
1175
1175
|
type: "button"
|
|
1176
1176
|
}, v), " ", "Previous"), u;
|
|
@@ -1209,7 +1209,7 @@ function pt() {
|
|
|
1209
1209
|
currentSlide: this.props.currentSlide,
|
|
1210
1210
|
slideCount: this.props.slideCount
|
|
1211
1211
|
}, u;
|
|
1212
|
-
return this.props.nextArrow ? u = /* @__PURE__ */ c.default.cloneElement(this.props.nextArrow,
|
|
1212
|
+
return this.props.nextArrow ? u = /* @__PURE__ */ c.default.cloneElement(this.props.nextArrow, x(x({}, v), m)) : u = /* @__PURE__ */ c.default.createElement("button", b({
|
|
1213
1213
|
key: "1",
|
|
1214
1214
|
type: "button"
|
|
1215
1215
|
}, v), " ", "Next"), u;
|
|
@@ -1257,13 +1257,13 @@ var Je = (function() {
|
|
|
1257
1257
|
}, c.prototype.forEach = function(h, O) {
|
|
1258
1258
|
O === void 0 && (O = null);
|
|
1259
1259
|
for (var y = 0, b = this.__entries__; y < b.length; y++) {
|
|
1260
|
-
var
|
|
1261
|
-
h.call(O,
|
|
1260
|
+
var L = b[y];
|
|
1261
|
+
h.call(O, L[1], L[0]);
|
|
1262
1262
|
}
|
|
1263
1263
|
}, c;
|
|
1264
1264
|
})()
|
|
1265
1265
|
);
|
|
1266
|
-
})(),
|
|
1266
|
+
})(), Le = typeof window < "u" && typeof document < "u" && window.document === document, me = (function() {
|
|
1267
1267
|
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")();
|
|
1268
1268
|
})(), vt = (function() {
|
|
1269
1269
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(me) : function(i) {
|
|
@@ -1275,22 +1275,22 @@ var Je = (function() {
|
|
|
1275
1275
|
function yt(i, c) {
|
|
1276
1276
|
var h = !1, O = !1, y = 0;
|
|
1277
1277
|
function b() {
|
|
1278
|
-
h && (h = !1, i()), O &&
|
|
1278
|
+
h && (h = !1, i()), O && x();
|
|
1279
1279
|
}
|
|
1280
|
-
function
|
|
1280
|
+
function L() {
|
|
1281
1281
|
vt(b);
|
|
1282
1282
|
}
|
|
1283
|
-
function
|
|
1283
|
+
function x() {
|
|
1284
1284
|
var X = Date.now();
|
|
1285
1285
|
if (h) {
|
|
1286
1286
|
if (X - y < ht)
|
|
1287
1287
|
return;
|
|
1288
1288
|
O = !0;
|
|
1289
1289
|
} else
|
|
1290
|
-
h = !0, O = !1, setTimeout(
|
|
1290
|
+
h = !0, O = !1, setTimeout(L, c);
|
|
1291
1291
|
y = X;
|
|
1292
1292
|
}
|
|
1293
|
-
return
|
|
1293
|
+
return x;
|
|
1294
1294
|
}
|
|
1295
1295
|
var gt = 20, bt = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], mt = typeof MutationObserver < "u", St = (
|
|
1296
1296
|
/** @class */
|
|
@@ -1314,14 +1314,14 @@ var gt = 20, bt = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1314
1314
|
return h.broadcastActive();
|
|
1315
1315
|
}), c.length > 0;
|
|
1316
1316
|
}, i.prototype.connect_ = function() {
|
|
1317
|
-
!
|
|
1317
|
+
!Le || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), mt ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
1318
1318
|
attributes: !0,
|
|
1319
1319
|
childList: !0,
|
|
1320
1320
|
characterData: !0,
|
|
1321
1321
|
subtree: !0
|
|
1322
1322
|
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
1323
1323
|
}, i.prototype.disconnect_ = function() {
|
|
1324
|
-
!
|
|
1324
|
+
!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);
|
|
1325
1325
|
}, i.prototype.onTransitionEnd_ = function(c) {
|
|
1326
1326
|
var h = c.propertyName, O = h === void 0 ? "" : h, y = bt.some(function(b) {
|
|
1327
1327
|
return !!~O.indexOf(b);
|
|
@@ -1359,8 +1359,8 @@ function Fe(i) {
|
|
|
1359
1359
|
}
|
|
1360
1360
|
function wt(i) {
|
|
1361
1361
|
for (var c = ["top", "right", "bottom", "left"], h = {}, O = 0, y = c; O < y.length; O++) {
|
|
1362
|
-
var b = y[O],
|
|
1363
|
-
h[b] = Se(
|
|
1362
|
+
var b = y[O], L = i["padding-" + b];
|
|
1363
|
+
h[b] = Se(L);
|
|
1364
1364
|
}
|
|
1365
1365
|
return h;
|
|
1366
1366
|
}
|
|
@@ -1372,12 +1372,12 @@ function _t(i) {
|
|
|
1372
1372
|
var c = i.clientWidth, h = i.clientHeight;
|
|
1373
1373
|
if (!c && !h)
|
|
1374
1374
|
return Ze;
|
|
1375
|
-
var O = ce(i).getComputedStyle(i), y = wt(O), b = y.left + y.right,
|
|
1376
|
-
if (O.boxSizing === "border-box" && (Math.round(
|
|
1377
|
-
var A = Math.round(
|
|
1378
|
-
Math.abs(A) !== 1 && (
|
|
1375
|
+
var O = ce(i).getComputedStyle(i), y = wt(O), b = y.left + y.right, L = y.top + y.bottom, x = Se(O.width), X = Se(O.height);
|
|
1376
|
+
if (O.boxSizing === "border-box" && (Math.round(x + b) !== c && (x -= Fe(O, "left", "right") + b), Math.round(X + L) !== h && (X -= Fe(O, "top", "bottom") + L)), !Pt(i)) {
|
|
1377
|
+
var A = Math.round(x + b) - c, z = Math.round(X + L) - h;
|
|
1378
|
+
Math.abs(A) !== 1 && (x -= A), Math.abs(z) !== 1 && (X -= z);
|
|
1379
1379
|
}
|
|
1380
|
-
return Oe(y.left, y.top,
|
|
1380
|
+
return Oe(y.left, y.top, x, X);
|
|
1381
1381
|
}
|
|
1382
1382
|
var kt = /* @__PURE__ */ (function() {
|
|
1383
1383
|
return typeof SVGGraphicsElement < "u" ? function(i) {
|
|
@@ -1390,11 +1390,11 @@ function Pt(i) {
|
|
|
1390
1390
|
return i === ce(i).document.documentElement;
|
|
1391
1391
|
}
|
|
1392
1392
|
function Ct(i) {
|
|
1393
|
-
return
|
|
1393
|
+
return Le ? kt(i) ? Ot(i) : _t(i) : Ze;
|
|
1394
1394
|
}
|
|
1395
1395
|
function Tt(i) {
|
|
1396
|
-
var c = i.x, h = i.y, O = i.width, y = i.height, b = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object,
|
|
1397
|
-
return Qe(
|
|
1396
|
+
var c = i.x, h = i.y, O = i.width, y = i.height, b = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, L = Object.create(b.prototype);
|
|
1397
|
+
return Qe(L, {
|
|
1398
1398
|
x: c,
|
|
1399
1399
|
y: h,
|
|
1400
1400
|
width: O,
|
|
@@ -1403,7 +1403,7 @@ function Tt(i) {
|
|
|
1403
1403
|
right: c + O,
|
|
1404
1404
|
bottom: y + h,
|
|
1405
1405
|
left: c
|
|
1406
|
-
}),
|
|
1406
|
+
}), L;
|
|
1407
1407
|
}
|
|
1408
1408
|
function Oe(i, c, h, O) {
|
|
1409
1409
|
return { x: i, y: c, width: h, height: O };
|
|
@@ -1431,7 +1431,7 @@ var jt = (
|
|
|
1431
1431
|
}
|
|
1432
1432
|
return i;
|
|
1433
1433
|
})()
|
|
1434
|
-
),
|
|
1434
|
+
), xt = (
|
|
1435
1435
|
/** @class */
|
|
1436
1436
|
(function() {
|
|
1437
1437
|
function i(c, h, O) {
|
|
@@ -1485,7 +1485,7 @@ var jt = (
|
|
|
1485
1485
|
throw new TypeError("Cannot call a class as a function.");
|
|
1486
1486
|
if (!arguments.length)
|
|
1487
1487
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1488
|
-
var h = St.getInstance(), O = new
|
|
1488
|
+
var h = St.getInstance(), O = new xt(c, h, this);
|
|
1489
1489
|
et.set(this, O);
|
|
1490
1490
|
}
|
|
1491
1491
|
return i;
|
|
@@ -1501,12 +1501,12 @@ var jt = (
|
|
|
1501
1501
|
return (c = et.get(this))[i].apply(c, arguments);
|
|
1502
1502
|
};
|
|
1503
1503
|
});
|
|
1504
|
-
var
|
|
1504
|
+
var Lt = (function() {
|
|
1505
1505
|
return typeof me.ResizeObserver < "u" ? me.ResizeObserver : tt;
|
|
1506
1506
|
})();
|
|
1507
1507
|
const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1508
1508
|
__proto__: null,
|
|
1509
|
-
default:
|
|
1509
|
+
default: Lt
|
|
1510
1510
|
}, Symbol.toStringTag, { value: "Module" })), Rt = /* @__PURE__ */ ot(Mt);
|
|
1511
1511
|
var Be;
|
|
1512
1512
|
function zt() {
|
|
@@ -1514,7 +1514,7 @@ function zt() {
|
|
|
1514
1514
|
Be = 1, Object.defineProperty(pe, "__esModule", {
|
|
1515
1515
|
value: !0
|
|
1516
1516
|
}), pe.InnerSlider = void 0;
|
|
1517
|
-
var i = A(ue), c = A(ut()), h = A(ct()), O = A(we()), y = ye(), b = ft(),
|
|
1517
|
+
var i = A(ue), c = A(ut()), h = A(ct()), O = A(we()), y = ye(), b = ft(), L = dt(), x = pt(), X = A(Rt);
|
|
1518
1518
|
function A(u) {
|
|
1519
1519
|
return u && u.__esModule ? u : { default: u };
|
|
1520
1520
|
}
|
|
@@ -1973,10 +1973,10 @@ function zt() {
|
|
|
1973
1973
|
onMouseEnter: C ? t.onDotsLeave : null,
|
|
1974
1974
|
onMouseOver: C ? t.onDotsOver : null,
|
|
1975
1975
|
onMouseLeave: C ? t.onDotsLeave : null
|
|
1976
|
-
}), k = /* @__PURE__ */ i.default.createElement(
|
|
1976
|
+
}), k = /* @__PURE__ */ i.default.createElement(L.Dots, S);
|
|
1977
1977
|
}
|
|
1978
1978
|
var _, T, D = (0, y.extractObject)(e, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
1979
|
-
D.clickHandler = t.changeSlide, t.props.arrows && (_ = /* @__PURE__ */ i.default.createElement(
|
|
1979
|
+
D.clickHandler = t.changeSlide, t.props.arrows && (_ = /* @__PURE__ */ i.default.createElement(x.PrevArrow, D), T = /* @__PURE__ */ i.default.createElement(x.NextArrow, D));
|
|
1980
1980
|
var I = null;
|
|
1981
1981
|
t.props.vertical && (I = {
|
|
1982
1982
|
height: t.state.listHeight
|
|
@@ -2053,26 +2053,26 @@ function Dt() {
|
|
|
2053
2053
|
};
|
|
2054
2054
|
return Ee = i, Ee;
|
|
2055
2055
|
}
|
|
2056
|
-
var
|
|
2056
|
+
var xe, Ge;
|
|
2057
2057
|
function It() {
|
|
2058
|
-
if (Ge) return
|
|
2058
|
+
if (Ge) return xe;
|
|
2059
2059
|
Ge = 1;
|
|
2060
2060
|
var i = Dt(), c = function(y) {
|
|
2061
2061
|
var b = /[height|width]$/;
|
|
2062
2062
|
return b.test(y);
|
|
2063
2063
|
}, h = function(y) {
|
|
2064
|
-
var b = "",
|
|
2065
|
-
return
|
|
2066
|
-
var A = y[
|
|
2067
|
-
|
|
2064
|
+
var b = "", L = Object.keys(y);
|
|
2065
|
+
return L.forEach(function(x, X) {
|
|
2066
|
+
var A = y[x];
|
|
2067
|
+
x = i(x), c(x) && typeof A == "number" && (A = A + "px"), A === !0 ? b += x : A === !1 ? b += "not " + x : b += "(" + x + ": " + A + ")", X < L.length - 1 && (b += " and ");
|
|
2068
2068
|
}), b;
|
|
2069
2069
|
}, O = function(y) {
|
|
2070
2070
|
var b = "";
|
|
2071
|
-
return typeof y == "string" ? y : y instanceof Array ? (y.forEach(function(
|
|
2072
|
-
b += h(
|
|
2071
|
+
return typeof y == "string" ? y : y instanceof Array ? (y.forEach(function(L, x) {
|
|
2072
|
+
b += h(L), x < y.length - 1 && (b += ", ");
|
|
2073
2073
|
}), b) : h(y);
|
|
2074
2074
|
};
|
|
2075
|
-
return
|
|
2075
|
+
return xe = O, xe;
|
|
2076
2076
|
}
|
|
2077
2077
|
var Ke;
|
|
2078
2078
|
function Nt() {
|
|
@@ -2080,17 +2080,17 @@ function Nt() {
|
|
|
2080
2080
|
Object.defineProperty(i, "__esModule", {
|
|
2081
2081
|
value: !0
|
|
2082
2082
|
}), i.default = void 0;
|
|
2083
|
-
var c =
|
|
2084
|
-
function
|
|
2083
|
+
var c = L(ue), h = zt(), O = L(It()), y = L($e()), b = ye();
|
|
2084
|
+
function L(d) {
|
|
2085
2085
|
return d && d.__esModule ? d : { default: d };
|
|
2086
2086
|
}
|
|
2087
|
-
function
|
|
2087
|
+
function x(d) {
|
|
2088
2088
|
"@babel/helpers - typeof";
|
|
2089
|
-
return
|
|
2089
|
+
return x = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(l) {
|
|
2090
2090
|
return typeof l;
|
|
2091
2091
|
} : function(l) {
|
|
2092
2092
|
return l && typeof Symbol == "function" && l.constructor === Symbol && l !== Symbol.prototype ? "symbol" : typeof l;
|
|
2093
|
-
},
|
|
2093
|
+
}, x(d);
|
|
2094
2094
|
}
|
|
2095
2095
|
function X() {
|
|
2096
2096
|
return X = Object.assign ? Object.assign.bind() : function(d) {
|
|
@@ -2156,7 +2156,7 @@ function Nt() {
|
|
|
2156
2156
|
};
|
|
2157
2157
|
}
|
|
2158
2158
|
function F(d, l) {
|
|
2159
|
-
if (l && (
|
|
2159
|
+
if (l && (x(l) == "object" || typeof l == "function")) return l;
|
|
2160
2160
|
if (l !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2161
2161
|
return K(d);
|
|
2162
2162
|
}
|
|
@@ -2184,14 +2184,14 @@ function Nt() {
|
|
|
2184
2184
|
}
|
|
2185
2185
|
function s(d) {
|
|
2186
2186
|
var l = f(d, "string");
|
|
2187
|
-
return
|
|
2187
|
+
return x(l) == "symbol" ? l : l + "";
|
|
2188
2188
|
}
|
|
2189
2189
|
function f(d, l) {
|
|
2190
|
-
if (
|
|
2190
|
+
if (x(d) != "object" || !d) return d;
|
|
2191
2191
|
var r = d[Symbol.toPrimitive];
|
|
2192
2192
|
if (r !== void 0) {
|
|
2193
2193
|
var v = r.call(d, l);
|
|
2194
|
-
if (
|
|
2194
|
+
if (x(v) != "object") return v;
|
|
2195
2195
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2196
2196
|
}
|
|
2197
2197
|
return (l === "string" ? String : Number)(d);
|
|
@@ -2354,13 +2354,16 @@ const Wt = /* @__PURE__ */ at(At), qt = Me("div", {
|
|
|
2354
2354
|
top: "50%",
|
|
2355
2355
|
transform: "translate(0, -50%)",
|
|
2356
2356
|
zIndex: 1,
|
|
2357
|
-
opacity: 0
|
|
2357
|
+
opacity: 0,
|
|
2358
|
+
transition: "opacity 0.3s ease-in-out",
|
|
2359
|
+
pointerEvents: "none",
|
|
2360
|
+
"&.next": { right: 6 },
|
|
2361
|
+
"&.prev": { left: 6 }
|
|
2358
2362
|
},
|
|
2359
2363
|
":hover": {
|
|
2360
2364
|
".slick-arrow": {
|
|
2361
2365
|
opacity: 1,
|
|
2362
|
-
"
|
|
2363
|
-
"&.prev": { left: 6 }
|
|
2366
|
+
pointerEvents: "auto"
|
|
2364
2367
|
}
|
|
2365
2368
|
}
|
|
2366
2369
|
})), Ft = Me("ul")(({ theme: i }) => ({
|
|
@@ -2396,11 +2399,43 @@ const Wt = /* @__PURE__ */ at(At), qt = Me("div", {
|
|
|
2396
2399
|
}));
|
|
2397
2400
|
function Xt({ onClick: i, sx: c, className: h }) {
|
|
2398
2401
|
const O = h?.split(" ").filter((y) => y !== "slick-next").join(" ");
|
|
2399
|
-
return /* @__PURE__ */ oe.jsx(
|
|
2402
|
+
return /* @__PURE__ */ oe.jsx(
|
|
2403
|
+
Ue,
|
|
2404
|
+
{
|
|
2405
|
+
onClick: i,
|
|
2406
|
+
className: `next ${O}`,
|
|
2407
|
+
sx: {
|
|
2408
|
+
backdropFilter: "blur(8px)",
|
|
2409
|
+
backgroundColor: "divider",
|
|
2410
|
+
color: "text.primary",
|
|
2411
|
+
"&:hover": {
|
|
2412
|
+
backgroundColor: "divider"
|
|
2413
|
+
},
|
|
2414
|
+
...c
|
|
2415
|
+
},
|
|
2416
|
+
children: /* @__PURE__ */ oe.jsx(st, { fontSize: "small" })
|
|
2417
|
+
}
|
|
2418
|
+
);
|
|
2400
2419
|
}
|
|
2401
2420
|
function Gt({ onClick: i, sx: c, className: h }) {
|
|
2402
2421
|
const O = h?.split(" ").filter((y) => y !== "slick-prev").join(" ");
|
|
2403
|
-
return /* @__PURE__ */ oe.jsx(
|
|
2422
|
+
return /* @__PURE__ */ oe.jsx(
|
|
2423
|
+
Ue,
|
|
2424
|
+
{
|
|
2425
|
+
onClick: i,
|
|
2426
|
+
className: `prev ${O}`,
|
|
2427
|
+
sx: {
|
|
2428
|
+
backdropFilter: "blur(8px)",
|
|
2429
|
+
backgroundColor: "divider",
|
|
2430
|
+
color: "text.primary",
|
|
2431
|
+
"&:hover": {
|
|
2432
|
+
backgroundColor: "divider"
|
|
2433
|
+
},
|
|
2434
|
+
...c
|
|
2435
|
+
},
|
|
2436
|
+
children: /* @__PURE__ */ oe.jsx(lt, { fontSize: "small" })
|
|
2437
|
+
}
|
|
2438
|
+
);
|
|
2404
2439
|
}
|
|
2405
2440
|
function Kt({ sx: i }) {
|
|
2406
2441
|
return {
|
|
@@ -2420,15 +2455,15 @@ const Ut = nt((i, c) => {
|
|
|
2420
2455
|
children: O,
|
|
2421
2456
|
arrowStyles: y,
|
|
2422
2457
|
dots: b = !1,
|
|
2423
|
-
arrows:
|
|
2424
|
-
slidesToShow:
|
|
2458
|
+
arrows: L = !0,
|
|
2459
|
+
slidesToShow: x = 4,
|
|
2425
2460
|
spaceBetween: X = 4,
|
|
2426
2461
|
dotStyles: A = { mt: 4 },
|
|
2427
2462
|
...z
|
|
2428
2463
|
} = i, U = it(), ee = {
|
|
2429
2464
|
dots: b,
|
|
2430
|
-
arrows:
|
|
2431
|
-
slidesToShow:
|
|
2465
|
+
arrows: L,
|
|
2466
|
+
slidesToShow: x,
|
|
2432
2467
|
rtl: U.direction === "rtl",
|
|
2433
2468
|
...Kt({ sx: y }),
|
|
2434
2469
|
...Yt({ dotColor: h, sx: A }),
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { j as t } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import * as
|
|
3
|
-
import { C as
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { C as A } from "../ChevronLeft-6gdh4lRt.js";
|
|
4
4
|
import { C as z } from "../ChevronRight-CC3l-wPC.js";
|
|
5
|
-
import { Box as
|
|
5
|
+
import { Box as n, IconButton as D } from "@mui/material";
|
|
6
6
|
import E from "../s-lazy-image/s-lazy-image.js";
|
|
7
|
-
const F =
|
|
8
|
-
({ sx: I, leftImage:
|
|
9
|
-
const m = Array.isArray(
|
|
10
|
-
if (!
|
|
11
|
-
const
|
|
12
|
-
let
|
|
13
|
-
|
|
14
|
-
}, v = (e) => {
|
|
15
|
-
i && x(e.clientX);
|
|
7
|
+
const F = i.forwardRef(
|
|
8
|
+
({ sx: I, leftImage: d, rightImage: L, altLeft: u = "Left image", altRight: C = "Right image", initialPosition: S = 50, ...M }, a) => {
|
|
9
|
+
const m = Array.isArray(d) ? d : [d], v = Array.isArray(u) ? u : [u], [l, P] = i.useState(0), [o, R] = i.useState(S), [s, x] = i.useState(!1), p = i.useRef(null), k = m.length > 1, f = (e) => {
|
|
10
|
+
if (!p.current) return;
|
|
11
|
+
const r = p.current.getBoundingClientRect();
|
|
12
|
+
let g = (e - r.left) / r.width * 100;
|
|
13
|
+
g = Math.max(0, Math.min(100, g)), R(g);
|
|
16
14
|
}, b = (e) => {
|
|
17
|
-
|
|
18
|
-
}, y = () => {
|
|
19
|
-
f(
|
|
15
|
+
s && f(e.clientX);
|
|
16
|
+
}, y = (e) => {
|
|
17
|
+
s && f(e.touches[0].clientX);
|
|
18
|
+
}, w = () => {
|
|
19
|
+
x(!0);
|
|
20
20
|
}, c = () => {
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
return
|
|
24
|
-
document.removeEventListener("mousemove",
|
|
25
|
-
}), [
|
|
26
|
-
|
|
21
|
+
x(!1);
|
|
22
|
+
}, h = o === 0 || o === 100;
|
|
23
|
+
return i.useEffect(() => (s ? (document.addEventListener("mousemove", b), document.addEventListener("touchmove", y), document.addEventListener("mouseup", c), document.addEventListener("touchend", c), document.body.style.cursor = "ew-resize") : document.body.style.cursor = "", () => {
|
|
24
|
+
document.removeEventListener("mousemove", b), document.removeEventListener("touchmove", y), document.removeEventListener("mouseup", c), document.removeEventListener("touchend", c), document.body.style.cursor = "";
|
|
25
|
+
}), [s]), /* @__PURE__ */ t.jsxs(
|
|
26
|
+
n,
|
|
27
27
|
{
|
|
28
28
|
ref: (e) => {
|
|
29
|
-
|
|
29
|
+
p.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
|
|
30
30
|
},
|
|
31
31
|
sx: {
|
|
32
32
|
position: "relative",
|
|
@@ -36,15 +36,15 @@ const F = s.forwardRef(
|
|
|
36
36
|
userSelect: "none",
|
|
37
37
|
...I
|
|
38
38
|
},
|
|
39
|
-
onMouseDown:
|
|
40
|
-
onTouchStart:
|
|
39
|
+
onMouseDown: w,
|
|
40
|
+
onTouchStart: w,
|
|
41
41
|
...M,
|
|
42
42
|
children: [
|
|
43
43
|
/* @__PURE__ */ t.jsx(
|
|
44
44
|
E,
|
|
45
45
|
{
|
|
46
46
|
src: L,
|
|
47
|
-
alt:
|
|
47
|
+
alt: C,
|
|
48
48
|
style: {
|
|
49
49
|
position: "absolute",
|
|
50
50
|
inset: 0,
|
|
@@ -57,7 +57,7 @@ const F = s.forwardRef(
|
|
|
57
57
|
}
|
|
58
58
|
),
|
|
59
59
|
/* @__PURE__ */ t.jsx(
|
|
60
|
-
|
|
60
|
+
n,
|
|
61
61
|
{
|
|
62
62
|
sx: {
|
|
63
63
|
position: "absolute",
|
|
@@ -72,7 +72,7 @@ const F = s.forwardRef(
|
|
|
72
72
|
E,
|
|
73
73
|
{
|
|
74
74
|
src: m[l],
|
|
75
|
-
alt:
|
|
75
|
+
alt: v[l] || v[0],
|
|
76
76
|
style: {
|
|
77
77
|
width: "100%",
|
|
78
78
|
height: "100%",
|
|
@@ -83,8 +83,8 @@ const F = s.forwardRef(
|
|
|
83
83
|
)
|
|
84
84
|
}
|
|
85
85
|
),
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
k && /* @__PURE__ */ t.jsx(
|
|
87
|
+
n,
|
|
88
88
|
{
|
|
89
89
|
sx: {
|
|
90
90
|
position: "absolute",
|
|
@@ -93,7 +93,7 @@ const F = s.forwardRef(
|
|
|
93
93
|
display: "flex",
|
|
94
94
|
gap: 1,
|
|
95
95
|
zIndex: 1,
|
|
96
|
-
pointerEvents:
|
|
96
|
+
pointerEvents: s ? "none" : "auto",
|
|
97
97
|
// Disable bubble click when dragging
|
|
98
98
|
opacity: o > 10 ? 1 : 0,
|
|
99
99
|
// Fade out if left image is mostly hidden
|
|
@@ -101,33 +101,33 @@ const F = s.forwardRef(
|
|
|
101
101
|
},
|
|
102
102
|
onClick: (e) => e.stopPropagation(),
|
|
103
103
|
onMouseDown: (e) => e.stopPropagation(),
|
|
104
|
-
children: m.map((e,
|
|
105
|
-
|
|
104
|
+
children: m.map((e, r) => /* @__PURE__ */ t.jsx(
|
|
105
|
+
n,
|
|
106
106
|
{
|
|
107
107
|
onClick: (j) => {
|
|
108
|
-
j.stopPropagation(), P(
|
|
108
|
+
j.stopPropagation(), P(r);
|
|
109
109
|
},
|
|
110
110
|
sx: {
|
|
111
111
|
width: 8,
|
|
112
112
|
height: 8,
|
|
113
113
|
borderRadius: "50%",
|
|
114
|
-
bgcolor: l ===
|
|
114
|
+
bgcolor: l === r ? "primary.main" : "whiteAlpha.medium",
|
|
115
115
|
cursor: "pointer",
|
|
116
116
|
boxShadow: 1,
|
|
117
117
|
backdropFilter: "blur(4px)",
|
|
118
118
|
transition: "all 0.2s",
|
|
119
119
|
"&:hover": {
|
|
120
120
|
transform: "scale(1.2)",
|
|
121
|
-
bgcolor: l ===
|
|
121
|
+
bgcolor: l === r ? "primary.main" : "whiteAlpha.dark"
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
|
-
|
|
125
|
+
r
|
|
126
126
|
))
|
|
127
127
|
}
|
|
128
128
|
),
|
|
129
129
|
/* @__PURE__ */ t.jsxs(
|
|
130
|
-
|
|
130
|
+
n,
|
|
131
131
|
{
|
|
132
132
|
sx: {
|
|
133
133
|
position: "absolute",
|
|
@@ -139,7 +139,7 @@ const F = s.forwardRef(
|
|
|
139
139
|
},
|
|
140
140
|
children: [
|
|
141
141
|
/* @__PURE__ */ t.jsx(
|
|
142
|
-
|
|
142
|
+
n,
|
|
143
143
|
{
|
|
144
144
|
sx: {
|
|
145
145
|
position: "absolute",
|
|
@@ -159,14 +159,16 @@ const F = s.forwardRef(
|
|
|
159
159
|
left: "50%",
|
|
160
160
|
transform: "translate(-50%, -50%)",
|
|
161
161
|
cursor: "ew-resize",
|
|
162
|
-
...
|
|
162
|
+
...h ? {
|
|
163
163
|
width: 48,
|
|
164
164
|
height: 48,
|
|
165
|
-
backdropFilter: "blur(
|
|
165
|
+
backdropFilter: "blur(8px)",
|
|
166
|
+
backgroundColor: "divider",
|
|
167
|
+
color: "text.primary"
|
|
166
168
|
} : {},
|
|
167
169
|
transition: "all 0.3s ease-in-out",
|
|
168
170
|
"&:hover": {
|
|
169
|
-
bgcolor: "transparent"
|
|
171
|
+
bgcolor: h ? "divider" : "transparent"
|
|
170
172
|
}
|
|
171
173
|
},
|
|
172
174
|
role: "slider",
|
|
@@ -178,8 +180,8 @@ const F = s.forwardRef(
|
|
|
178
180
|
onClick: (e) => {
|
|
179
181
|
e.preventDefault(), e.stopPropagation();
|
|
180
182
|
},
|
|
181
|
-
children:
|
|
182
|
-
/* @__PURE__ */ t.jsx(
|
|
183
|
+
children: h && /* @__PURE__ */ t.jsxs(n, { sx: { display: "flex", alignItems: "center" }, children: [
|
|
184
|
+
/* @__PURE__ */ t.jsx(A, {}),
|
|
183
185
|
/* @__PURE__ */ t.jsx(z, {})
|
|
184
186
|
] })
|
|
185
187
|
}
|
|
@@ -25,8 +25,8 @@ const g = {
|
|
|
25
25
|
styleOverrides: {
|
|
26
26
|
root: ({ theme: o }) => ({
|
|
27
27
|
[`& .${i.root}`]: {
|
|
28
|
-
width: "
|
|
29
|
-
height: "
|
|
28
|
+
width: "0.75rem",
|
|
29
|
+
height: "0.75rem",
|
|
30
30
|
color: (o.vars || o).palette.text.secondary
|
|
31
31
|
},
|
|
32
32
|
[`& .${a.root}`]: {
|
|
@@ -113,7 +113,7 @@ const g = {
|
|
|
113
113
|
fontSize: "small"
|
|
114
114
|
},
|
|
115
115
|
style: {
|
|
116
|
-
fontSize: "
|
|
116
|
+
fontSize: "0.75rem"
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
]
|
|
@@ -58,7 +58,7 @@ const u = l(/* @__PURE__ */ i.jsx("path", {
|
|
|
58
58
|
style: {
|
|
59
59
|
width: "2.25rem",
|
|
60
60
|
height: "2.25rem",
|
|
61
|
-
[`& .${s.root}`]: { fontSize: "
|
|
61
|
+
[`& .${s.root}`]: { fontSize: "0.75rem" }
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -68,7 +68,7 @@ const u = l(/* @__PURE__ */ i.jsx("path", {
|
|
|
68
68
|
style: {
|
|
69
69
|
width: "2.5rem",
|
|
70
70
|
height: "2.5rem",
|
|
71
|
-
[`& .${s.root}`]: { fontSize: "
|
|
71
|
+
[`& .${s.root}`]: { fontSize: "1rem" }
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
{
|
|
@@ -78,7 +78,7 @@ const u = l(/* @__PURE__ */ i.jsx("path", {
|
|
|
78
78
|
style: {
|
|
79
79
|
width: "2.75rem",
|
|
80
80
|
height: "2.75rem",
|
|
81
|
-
[`& .${s.root}`]: { fontSize: "1.
|
|
81
|
+
[`& .${s.root}`]: { fontSize: "1.25rem" }
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
]
|