@fox-dls/carousels 1.0.4 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/.ultra.cache.json +1 -1
- package/dist/carousels.cjs.development.js +446 -0
- package/dist/carousels.cjs.development.js.map +1 -0
- package/dist/carousels.cjs.production.min.js +2 -0
- package/dist/carousels.cjs.production.min.js.map +1 -0
- package/dist/carousels.esm.js +434 -0
- package/dist/carousels.esm.js.map +1 -0
- package/dist/index.js +5 -523
- package/dist/lib/card/styles/index.d.ts +0 -1
- package/dist/lib/free/styles/index.d.ts +0 -1
- package/dist/lib/pagination/styles/index.d.ts +2 -3
- package/dist/lib/pills/styles/index.d.ts +2 -3
- package/dist/lib/styles/index.d.ts +2 -3
- package/package.json +19 -96
- package/tsconfig.build.json +2 -20
- package/dist/index.esm.js +0 -516
- package/dist/index.esm.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/tsconfig.json +0 -23
package/.ultra.cache.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"files":{"dist":"
|
1
|
+
{"files":{"dist":"1638869130651.478","node_modules":"1638866389565.2634",".babelrc":"f03d0ca709d39fade7fd0a5ff24f9384b515b5b6",".eslintrc.json":"6a0edde9387ee5887d1e599f7a99f09362754acd","CHANGELOG.md":"938ca134a8f27f19d16eafbc8064d38ea166b934","README.md":"87a167329bff7478ccaa650e3d382475d8115cb1","package.json":"8512485560e1085b1d0365303d0dfa2ffc86681a.1638866643270.5498","src/index.ts":"1666f11be8aaf18be8a632f73ad0e73d407aae26","src/lib/card/index.tsx":"52c971cf55cfeb66bdb2f5be883f9a3a2fb62a37","src/lib/card/styles/index.tsx":"0e2c3284b69f0e5c3eabfcbaac81864ff10e5969","src/lib/free/index.tsx":"31d5d59052261c935edb986a1817ee7f273bbbd4","src/lib/free/styles/index.tsx":"5265cb7c9d6bf16b5b09c82bbac9d6aa8d32d798","src/lib/pagination/index.tsx":"561112dbc7d2eeb6e18037ca090a81a6dbe7ac07","src/lib/pagination/styles/index.tsx":"457b030d259318e0431b4d585406078e7ee4faab","src/lib/pills/index.tsx":"c472c9de1791a116bd7e5c1dbe650c3256f6128a","src/lib/pills/styles/index.tsx":"5b249d5b210dd9e81edff8a3412d4b7b9e2ad9a2","src/lib/styles/index.tsx":"276419cd5a78d7b7e027c6f2dc459ea3e81bb85d","tsconfig.build.json":"269572b997c81ac83266026b6b5a2c8699709823.1638868730151.85","tsconfig.json":"af31a7a31827eeec44ed853b8c3000c67f639047.del"},"deps":{"@fox-dls/layout":1638869006432.8342}}
|
@@ -0,0 +1,446 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
6
|
+
|
7
|
+
var React = require('react');
|
8
|
+
var React__default = _interopDefault(React);
|
9
|
+
var styled = require('styled-components');
|
10
|
+
var styled__default = _interopDefault(styled);
|
11
|
+
var SwiperCore = require('swiper');
|
12
|
+
var SwiperCore__default = _interopDefault(SwiperCore);
|
13
|
+
var react = require('swiper/react');
|
14
|
+
var ButtonUnstyled = _interopDefault(require('@mui/core/ButtonUnstyled'));
|
15
|
+
var layout = require('@fox-dls/layout');
|
16
|
+
|
17
|
+
function _extends() {
|
18
|
+
_extends = Object.assign || function (target) {
|
19
|
+
for (var i = 1; i < arguments.length; i++) {
|
20
|
+
var source = arguments[i];
|
21
|
+
|
22
|
+
for (var key in source) {
|
23
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
24
|
+
target[key] = source[key];
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
return target;
|
30
|
+
};
|
31
|
+
|
32
|
+
return _extends.apply(this, arguments);
|
33
|
+
}
|
34
|
+
|
35
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
36
|
+
if (source == null) return {};
|
37
|
+
var target = {};
|
38
|
+
var sourceKeys = Object.keys(source);
|
39
|
+
var key, i;
|
40
|
+
|
41
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
42
|
+
key = sourceKeys[i];
|
43
|
+
if (excluded.indexOf(key) >= 0) continue;
|
44
|
+
target[key] = source[key];
|
45
|
+
}
|
46
|
+
|
47
|
+
return target;
|
48
|
+
}
|
49
|
+
|
50
|
+
function _taggedTemplateLiteralLoose(strings, raw) {
|
51
|
+
if (!raw) {
|
52
|
+
raw = strings.slice(0);
|
53
|
+
}
|
54
|
+
|
55
|
+
strings.raw = raw;
|
56
|
+
return strings;
|
57
|
+
}
|
58
|
+
|
59
|
+
var CarouselSwiper = /*#__PURE__*/styled__default(react.Swiper).withConfig({
|
60
|
+
displayName: "styles__CarouselSwiper",
|
61
|
+
componentId: "sc-1sue7gh-1"
|
62
|
+
})(["margin:0px !important;.swiper-wrapper{.swiper-slide{scroll-snap-align:start !important;width:auto !important;}}"]);
|
63
|
+
var CarouselPillContainer = /*#__PURE__*/styled__default.div.withConfig({
|
64
|
+
displayName: "styles__CarouselPillContainer",
|
65
|
+
componentId: "sc-1sue7gh-2"
|
66
|
+
})(["display:inline-block !important;padding-right:8px !important;padding-top:4px !important;padding-bottom:4px !important;"]);
|
67
|
+
var CarouselPill = /*#__PURE__*/styled__default(ButtonUnstyled).withConfig({
|
68
|
+
displayName: "styles__CarouselPill",
|
69
|
+
componentId: "sc-1sue7gh-3"
|
70
|
+
})(["-webkit-box-pack:center !important;-webkit-box-align:center !important;appearance:none !important;display:inline-flex !important;border-radius:50% !important;border:1px solid rgb(221,221,221) !important;outline:none !important;margin:0px !important;padding:0px !important;color:rgb(34,34,34) !important;cursor:pointer !important;touch-action:manipulation !important;position:relative !important;background:transparent !important;transition:-ms-transform 0.25s ease 0s,-webkit-transform 0.25s ease 0s,transform 0.25s ease 0s !important;align-items:center !important;justify-content:center !important;width:36px !important;height:36px !important;::before{content:'' !important;display:block !important;position:absolute !important;top:50% !important;left:50% !important;transform:translate(-50%,-50%) !important;width:36px !important;height:36px !important;border-radius:50% !important;border:1px solid rgb(221,221,221) !important;}"]);
|
71
|
+
|
72
|
+
var _templateObject, _templateObject2;
|
73
|
+
|
74
|
+
var _excluded = ["children", "navigation", "title", "controls", "arrows"];
|
75
|
+
SwiperCore__default.use([SwiperCore.Navigation]);
|
76
|
+
var PillsCarousel = function PillsCarousel(_ref) {
|
77
|
+
var children = _ref.children,
|
78
|
+
arrows = _ref.arrows,
|
79
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
80
|
+
|
81
|
+
var prevRef = React.useRef(null);
|
82
|
+
var nextRef = React.useRef(null);
|
83
|
+
|
84
|
+
var _useState = React.useState({
|
85
|
+
progress: 0,
|
86
|
+
isBeginning: true,
|
87
|
+
isEnd: false
|
88
|
+
}),
|
89
|
+
swiperSlides = _useState[0],
|
90
|
+
setSwiperSlides = _useState[1];
|
91
|
+
|
92
|
+
var _useState2 = React.useState(null),
|
93
|
+
swiper = _useState2[0],
|
94
|
+
setSwiper = _useState2[1];
|
95
|
+
|
96
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
97
|
+
css: "\n display: flex !important;\n position: relative !important;\n min-width: 0px !important;\n "
|
98
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
99
|
+
css: "\n position: absolute !important;\n left: 0px !important;\n z-index: 3 !important;\n width: 65px !important;\n background: linear-gradient(\n to right,\n rgb(255, 255, 255) 56.77%,\n rgba(255, 255, 255, 0) 94.47%\n ) !important;\n " + (swiperSlides.isBeginning && styled.css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n display: none !important;\n visibility: hidden !important;\n "])))) + "\n "
|
100
|
+
}, arrows && /*#__PURE__*/React__default.createElement(CarouselPillContainer, null, /*#__PURE__*/React__default.createElement(CarouselPill, {
|
101
|
+
left: +true,
|
102
|
+
ref: prevRef,
|
103
|
+
"aria-label": "Previous",
|
104
|
+
type: "button",
|
105
|
+
onClick: function onClick() {
|
106
|
+
return swiper.slidePrev();
|
107
|
+
}
|
108
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
109
|
+
css: "\n position: relative !important;\n "
|
110
|
+
}, /*#__PURE__*/React__default.createElement("svg", {
|
111
|
+
viewBox: "0 0 32 32",
|
112
|
+
xmlns: "http://www.w3.org/2000/svg",
|
113
|
+
"aria-hidden": "true",
|
114
|
+
role: "presentation",
|
115
|
+
focusable: "false",
|
116
|
+
css: "\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 5.33333;\n overflow: visible;\n "
|
117
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
118
|
+
fill: "none"
|
119
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
120
|
+
d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
|
121
|
+
}))))))), /*#__PURE__*/React__default.createElement(CarouselSwiper, Object.assign({}, props, {
|
122
|
+
cssMode: false,
|
123
|
+
slidesPerView: "auto",
|
124
|
+
onInit: function onInit(swiper) {
|
125
|
+
setSwiper(swiper); // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
126
|
+
// @ts-ignore
|
127
|
+
// eslint-disable-next-line no-param-reassign
|
128
|
+
|
129
|
+
swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
130
|
+
// @ts-ignore
|
131
|
+
// eslint-disable-next-line no-param-reassign
|
132
|
+
|
133
|
+
swiper.params.navigation.nextEl = nextRef.current;
|
134
|
+
swiper.navigation.init();
|
135
|
+
swiper.navigation.update();
|
136
|
+
setSwiperSlides({
|
137
|
+
progress: swiper.progress,
|
138
|
+
isBeginning: swiper.isBeginning,
|
139
|
+
isEnd: swiper.isEnd
|
140
|
+
}); // console.log("Swiper", swiper);
|
141
|
+
},
|
142
|
+
onSlideChange: function onSlideChange(swiper) {
|
143
|
+
// console.log("Swiper Change", swiper);
|
144
|
+
setSwiperSlides({
|
145
|
+
progress: swiper.progress,
|
146
|
+
isBeginning: swiper.isBeginning,
|
147
|
+
isEnd: swiper.isEnd
|
148
|
+
});
|
149
|
+
}
|
150
|
+
}), React__default.Children.map(children, function (child) {
|
151
|
+
return /*#__PURE__*/React__default.createElement(react.SwiperSlide, null, /*#__PURE__*/React__default.createElement("div", {
|
152
|
+
css: "\n display: inline-block !important;\n white-space: nowrap !important;\n padding-right: 8px !important;\n padding-top: 4px !important;\n padding-bottom: 4px !important;\n "
|
153
|
+
}, child));
|
154
|
+
})), /*#__PURE__*/React__default.createElement("div", {
|
155
|
+
css: "\n -webkit-box-pack: end !important;\n position: absolute !important;\n right: 0px !important;\n z-index: 3 !important;\n width: 75px !important;\n display: flex !important;\n justify-content: flex-end !important;\n background: linear-gradient(\n to left,\n rgb(255, 255, 255) 56.77%,\n rgba(255, 255, 255, 0) 94.47%\n ) !important;\n " + (swiperSlides.isEnd && styled.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n display: none !important;\n visibility: hidden !important;\n "])))) + "\n "
|
156
|
+
}, arrows && /*#__PURE__*/React__default.createElement(CarouselPillContainer, null, /*#__PURE__*/React__default.createElement(CarouselPill, {
|
157
|
+
right: +true,
|
158
|
+
"aria-label": "Next",
|
159
|
+
type: "button",
|
160
|
+
ref: nextRef,
|
161
|
+
onClick: function onClick() {
|
162
|
+
return swiper.slideNext();
|
163
|
+
}
|
164
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
165
|
+
css: "\n position: relative !important;\n "
|
166
|
+
}, /*#__PURE__*/React__default.createElement("svg", {
|
167
|
+
viewBox: "0 0 32 32",
|
168
|
+
xmlns: "http://www.w3.org/2000/svg",
|
169
|
+
"aria-hidden": "true",
|
170
|
+
role: "presentation",
|
171
|
+
focusable: "false",
|
172
|
+
css: "\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 5.33333;\n overflow: visible;\n "
|
173
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
174
|
+
fill: "none"
|
175
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
176
|
+
d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
|
177
|
+
}))))))));
|
178
|
+
};
|
179
|
+
|
180
|
+
var CarouselContainer = /*#__PURE__*/styled__default.div.withConfig({
|
181
|
+
displayName: "styles__CarouselContainer",
|
182
|
+
componentId: "sc-dwepxh-0"
|
183
|
+
})(["position:relative !important;z-index:0 !important;"]);
|
184
|
+
var CarouselNavbar = /*#__PURE__*/styled__default.div.withConfig({
|
185
|
+
displayName: "styles__CarouselNavbar",
|
186
|
+
componentId: "sc-dwepxh-1"
|
187
|
+
})(["-webkit-box-pack:justify !important;-ms-flex-pack:justify !important;-webkit-box-align:center !important;-ms-flex-align:center !important;color:#222222 !important;display:-webkit-box !important;display:-moz-box !important;display:-ms-flexbox !important;display:-webkit-flex !important;display:flex !important;-webkit-align-items:center !important;align-items:center !important;-webkit-justify-content:space-between !important;justify-content:space-between !important;margin-bottom:16px !important;"]);
|
188
|
+
var NavbarTitleContainer = /*#__PURE__*/styled__default.div.withConfig({
|
189
|
+
displayName: "styles__NavbarTitleContainer",
|
190
|
+
componentId: "sc-dwepxh-2"
|
191
|
+
})(["margin-right:24px !important;width:auto !important;"]);
|
192
|
+
var NavbarControlsContainer = /*#__PURE__*/styled__default.div.withConfig({
|
193
|
+
displayName: "styles__NavbarControlsContainer",
|
194
|
+
componentId: "sc-dwepxh-4"
|
195
|
+
})(["display:flex !important;align-items:center !important;margin-left:auto !important;"]);
|
196
|
+
var NavbarControlsQuick = /*#__PURE__*/styled__default.a.withConfig({
|
197
|
+
displayName: "styles__NavbarControlsQuick",
|
198
|
+
componentId: "sc-dwepxh-5"
|
199
|
+
})(["@media (max-width:744px){display:none !important;}font-size:inherit !important;font-family:inherit !important;font-style:inherit !important;font-variant:inherit !important;line-height:inherit !important;color:#222222 !important;text-decoration:underline !important;border-radius:4px !important;font-weight:600 !important;outline:none !important;"]);
|
200
|
+
var NavbarControlsSpace = /*#__PURE__*/styled__default.span.withConfig({
|
201
|
+
displayName: "styles__NavbarControlsSpace",
|
202
|
+
componentId: "sc-dwepxh-6"
|
203
|
+
})(["display:inline-block !important;height:32px !important;width:1px !important;margin-right:16px !important;padding:0px !important;border:none !important;"]);
|
204
|
+
var ArrowsContainer = /*#__PURE__*/styled__default.div.withConfig({
|
205
|
+
displayName: "styles__ArrowsContainer",
|
206
|
+
componentId: "sc-dwepxh-7"
|
207
|
+
})(["-webkit-box-align:center !important;color:rgb(34,34,34) !important;display:flex !important;align-items:center !important;margin-left:auto !important;"]);
|
208
|
+
var ArrowsFlex = /*#__PURE__*/styled__default.div.withConfig({
|
209
|
+
displayName: "styles__ArrowsFlex",
|
210
|
+
componentId: "sc-dwepxh-8"
|
211
|
+
})(["display:-webkit-box !important;display:-moz-box !important;display:-ms-flexbox !important;display:-webkit-flex !important;display:flex !important;"]);
|
212
|
+
var ArrowsButton = /*#__PURE__*/styled__default(ButtonUnstyled).withConfig({
|
213
|
+
displayName: "styles__ArrowsButton",
|
214
|
+
componentId: "sc-dwepxh-9"
|
215
|
+
})(["-webkit-box-pack:center !important;-webkit-box-align:center !important;appearance:none !important;display:inline-flex !important;border-radius:50% !important;border:none !important;outline:none !important;margin:0px !important;padding:0px !important;color:rgb(34,34,34) !important;cursor:pointer !important;touch-action:manipulation !important;position:relative !important;background:transparent !important;transition:-ms-transform 0.25s ease 0s,-webkit-transform 0.25s ease 0s,transform 0.25s ease 0s !important;align-items:center !important;justify-content:center !important;width:32px !important;height:32px !important;:focus{box-shadow:none !important;}::before{content:'' !important;display:block !important;position:absolute !important;top:50% !important;left:50% !important;transform:translate(-50%,-50%) !important;width:32px !important;height:32px !important;border-radius:50% !important;background:rgb(255,255,255) !important;border:1px solid rgb(221,221,221) !important;}:disabled{opacity:0.5 !important;cursor:not-allowed !important;color:rgb(221,221,221) !important;transform:scale(1) !important;}:hover:not([disabled]){color:rgb(0,0,0) !important;transform:scale(1.04) !important;}"]);
|
216
|
+
var ArrowsDivider = /*#__PURE__*/styled__default.span.withConfig({
|
217
|
+
displayName: "styles__ArrowsDivider",
|
218
|
+
componentId: "sc-dwepxh-10"
|
219
|
+
})(["margin-left:8px !important;"]);
|
220
|
+
var ArrowsIconClip = /*#__PURE__*/styled__default.span.withConfig({
|
221
|
+
displayName: "styles__ArrowsIconClip",
|
222
|
+
componentId: "sc-dwepxh-11"
|
223
|
+
})(["border:0px !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(100%) !important;clip-path:inset(100%) !important;height:1px !important;overflow:hidden !important;padding:0px !important;position:absolute !important;white-space:nowrap !important;width:1px !important;"]);
|
224
|
+
var ArrowsSvg = /*#__PURE__*/styled__default.svg.withConfig({
|
225
|
+
displayName: "styles__ArrowsSvg",
|
226
|
+
componentId: "sc-dwepxh-12"
|
227
|
+
})(["display:block;fill:none;height:12px;width:12px;stroke:currentcolor;stroke-width:4;overflow:visible;"]);
|
228
|
+
|
229
|
+
var CarouselSwiper$1 = /*#__PURE__*/styled__default(react.Swiper).withConfig({
|
230
|
+
displayName: "styles__CarouselSwiper",
|
231
|
+
componentId: "sc-1ja5jv1-0"
|
232
|
+
})([""]);
|
233
|
+
|
234
|
+
var _excluded$1 = ["children", "navigation", "title", "controls", "onShowMore"];
|
235
|
+
SwiperCore__default.use([SwiperCore.Navigation]);
|
236
|
+
var CardCarousel = function CardCarousel(_ref) {
|
237
|
+
var children = _ref.children,
|
238
|
+
navigation = _ref.navigation,
|
239
|
+
title = _ref.title,
|
240
|
+
controls = _ref.controls,
|
241
|
+
onShowMore = _ref.onShowMore,
|
242
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
243
|
+
|
244
|
+
var prevRef = React.useRef(null);
|
245
|
+
var nextRef = React.useRef(null);
|
246
|
+
return /*#__PURE__*/React__default.createElement(CarouselContainer, null, navigation && /*#__PURE__*/React__default.createElement(CarouselNavbar, null, title && /*#__PURE__*/React__default.createElement(NavbarTitleContainer, null, title), controls && /*#__PURE__*/React__default.createElement(NavbarControlsContainer, null, onShowMore && /*#__PURE__*/React__default.createElement(NavbarControlsQuick, {
|
247
|
+
onClick: onShowMore
|
248
|
+
}, "Show More"), /*#__PURE__*/React__default.createElement(NavbarControlsSpace, null), /*#__PURE__*/React__default.createElement(ArrowsContainer, {
|
249
|
+
"aria-hidden": "false"
|
250
|
+
}, /*#__PURE__*/React__default.createElement(ArrowsFlex, null, /*#__PURE__*/React__default.createElement(ArrowsButton, {
|
251
|
+
ref: prevRef,
|
252
|
+
"aria-label": "Previous",
|
253
|
+
type: "button"
|
254
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
255
|
+
css: "\n position: relative;\n "
|
256
|
+
}, /*#__PURE__*/React__default.createElement(ArrowsIconClip, null), /*#__PURE__*/React__default.createElement(ArrowsSvg, {
|
257
|
+
viewBox: "0 0 32 32",
|
258
|
+
xmlns: "http://www.w3.org/2000/svg",
|
259
|
+
"aria-hidden": "true",
|
260
|
+
role: "presentation",
|
261
|
+
focusable: "false"
|
262
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
263
|
+
fill: "none"
|
264
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
265
|
+
d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
|
266
|
+
}))))), /*#__PURE__*/React__default.createElement(ArrowsDivider, null), /*#__PURE__*/React__default.createElement(ArrowsButton, {
|
267
|
+
"aria-label": "Next",
|
268
|
+
type: "button",
|
269
|
+
ref: nextRef
|
270
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
271
|
+
css: "\n position: relative;\n "
|
272
|
+
}, /*#__PURE__*/React__default.createElement(ArrowsIconClip, null), /*#__PURE__*/React__default.createElement(ArrowsSvg, {
|
273
|
+
viewBox: "0 0 32 32",
|
274
|
+
xmlns: "http://www.w3.org/2000/svg",
|
275
|
+
"aria-hidden": "true",
|
276
|
+
role: "presentation",
|
277
|
+
focusable: "false"
|
278
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
279
|
+
fill: "none"
|
280
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
281
|
+
d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
|
282
|
+
}))))))))), /*#__PURE__*/React__default.createElement(CarouselSwiper$1, Object.assign({}, props, {
|
283
|
+
onInit: function onInit(swiper) {
|
284
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
285
|
+
// @ts-ignore
|
286
|
+
// eslint-disable-next-line no-param-reassign
|
287
|
+
swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
288
|
+
// @ts-ignore
|
289
|
+
// eslint-disable-next-line no-param-reassign
|
290
|
+
|
291
|
+
swiper.params.navigation.nextEl = nextRef.current;
|
292
|
+
swiper.navigation.init();
|
293
|
+
swiper.navigation.update(); // console.log("Swiper", swiper);
|
294
|
+
}
|
295
|
+
}), React__default.Children.map(children, function (child) {
|
296
|
+
return /*#__PURE__*/React__default.createElement(react.SwiperSlide, null, child);
|
297
|
+
})));
|
298
|
+
};
|
299
|
+
|
300
|
+
var CarouselSwiper$2 = /*#__PURE__*/styled__default(react.Swiper).withConfig({
|
301
|
+
displayName: "styles__CarouselSwiper",
|
302
|
+
componentId: "sc-y1spms-0"
|
303
|
+
})([".swiper-wrapper{box-sizing:inherit !important;@media (min-width:744px){scroll-padding:40px !important;}@media (min-width:1128px){--scroll-padding:max(80px,calc((100vw - 1600px) / 2)) !important;scroll-padding:var(--scroll-padding) !important;}scroll-snap-type:x mandatory !important;overflow-x:auto !important;display:flex !important;scroll-padding:24px !important;.swiper-slide{@media (min-width:744px){min-width:476px !important;max-width:588px !important;flex:1 0 calc((100% - 80px) * 0.75) !important;}@media (min-width:1128px){flex:1 0 calc(50% - 88px) !important;}margin-left:16px !important;flex:1 0 calc(100% - 84px) !important;scroll-snap-align:start !important;scroll-snap-stop:always !important;}.swiper-slide:first-of-type{@media (min-width:744px){padding-left:40px !important;min-width:calc(516px) !important;max-width:calc(628px) !important;flex:1 0 calc((100% - 80px) * 0.75 + 40px) !important;}@media (min-width:1128px){max-width:calc(588px + max(80px,(100vw - 1600px) / 2)) !important;flex:1 0 calc(50% - 8px) !important;padding-left:max(80px,(100vw - 1600px) / 2) !important;}@media (min-width:2080px){max-width:calc(588px + max(80px,(100vw - 1930px) / 2)) !important;flex:1 0 calc(50% - 8px) !important;padding-left:max(80px,(100vw - 1930px) / 2) !important;}flex:1 0 calc(100% - 84px) !important;scroll-snap-align:start !important;scroll-snap-stop:always !important;margin-left:0px !important;padding-left:24px !important;}.swiper-slide:last-of-type{@media (min-width:744px){padding-right:40px !important;min-width:calc(516px) !important;max-width:calc(628px) !important;flex:1 0 calc((100% - 80px) * 0.75 + 40px) !important;}@media (min-width:1128px){max-width:calc(588px + max(80px,(100vw - 1600px) / 2)) !important;flex:1 0 calc(50% - 8px) !important;padding-right:max(80px,(100vw - 1600px) / 2) !important;}@media (min-width:2080px){max-width:calc(588px + max(80px,(100vw - 1930px) / 2)) !important;flex:1 0 calc(50% - 8px) !important;padding-right:max(80px,(100vw - 1930px) / 2) !important;}margin-left:16px !important;flex:1 0 calc(100% - 84px) !important;scroll-snap-align:start !important;scroll-snap-stop:always !important;padding-right:24px !important;}}"]);
|
304
|
+
|
305
|
+
var _excluded$2 = ["children", "navigation", "title", "controls", "quickLink", "onShowMore"];
|
306
|
+
SwiperCore__default.use([SwiperCore.Navigation]);
|
307
|
+
var FreeCarousel = function FreeCarousel(_ref) {
|
308
|
+
var children = _ref.children,
|
309
|
+
navigation = _ref.navigation,
|
310
|
+
title = _ref.title,
|
311
|
+
controls = _ref.controls,
|
312
|
+
onShowMore = _ref.onShowMore,
|
313
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
314
|
+
|
315
|
+
var prevRef = React.useRef(null);
|
316
|
+
var nextRef = React.useRef(null);
|
317
|
+
return /*#__PURE__*/React__default.createElement(CarouselContainer, null, /*#__PURE__*/React__default.createElement("div", {
|
318
|
+
css: "\n @media (max-width: 744px) {\n display: none !important;\n }\n "
|
319
|
+
}, /*#__PURE__*/React__default.createElement(layout.Container, null, navigation && /*#__PURE__*/React__default.createElement(CarouselNavbar, null, title && /*#__PURE__*/React__default.createElement(NavbarTitleContainer, null, title), controls && /*#__PURE__*/React__default.createElement(NavbarControlsContainer, null, onShowMore && /*#__PURE__*/React__default.createElement(NavbarControlsQuick, {
|
320
|
+
onClick: onShowMore
|
321
|
+
}, "Show More"), /*#__PURE__*/React__default.createElement(NavbarControlsSpace, null), /*#__PURE__*/React__default.createElement(ArrowsContainer, {
|
322
|
+
"aria-hidden": "false"
|
323
|
+
}, /*#__PURE__*/React__default.createElement(ArrowsFlex, null, /*#__PURE__*/React__default.createElement(ArrowsButton, {
|
324
|
+
ref: prevRef,
|
325
|
+
"aria-label": "Previous",
|
326
|
+
type: "button"
|
327
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
328
|
+
css: "\n position: relative;\n "
|
329
|
+
}, /*#__PURE__*/React__default.createElement(ArrowsIconClip, null), /*#__PURE__*/React__default.createElement(ArrowsSvg, {
|
330
|
+
viewBox: "0 0 32 32",
|
331
|
+
xmlns: "http://www.w3.org/2000/svg",
|
332
|
+
"aria-hidden": "true",
|
333
|
+
role: "presentation",
|
334
|
+
focusable: "false"
|
335
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
336
|
+
fill: "none"
|
337
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
338
|
+
d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
|
339
|
+
}))))), /*#__PURE__*/React__default.createElement(ArrowsDivider, null), /*#__PURE__*/React__default.createElement(ArrowsButton, {
|
340
|
+
"aria-label": "Next",
|
341
|
+
type: "button",
|
342
|
+
ref: nextRef
|
343
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
344
|
+
css: "\n position: relative;\n "
|
345
|
+
}, /*#__PURE__*/React__default.createElement(ArrowsIconClip, null), /*#__PURE__*/React__default.createElement(ArrowsSvg, {
|
346
|
+
viewBox: "0 0 32 32",
|
347
|
+
xmlns: "http://www.w3.org/2000/svg",
|
348
|
+
"aria-hidden": "true",
|
349
|
+
role: "presentation",
|
350
|
+
focusable: "false"
|
351
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
352
|
+
fill: "none"
|
353
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
354
|
+
d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
|
355
|
+
}))))))))))), /*#__PURE__*/React__default.createElement(CarouselSwiper$2, Object.assign({}, props, {
|
356
|
+
cssMode: true,
|
357
|
+
onInit: function onInit(swiper) {
|
358
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
359
|
+
// @ts-ignore
|
360
|
+
// eslint-disable-next-line no-param-reassign
|
361
|
+
swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
362
|
+
// @ts-ignore
|
363
|
+
// eslint-disable-next-line no-param-reassign
|
364
|
+
|
365
|
+
swiper.params.navigation.nextEl = nextRef.current;
|
366
|
+
swiper.navigation.init();
|
367
|
+
swiper.navigation.update(); // console.log("Swiper", swiper);
|
368
|
+
}
|
369
|
+
}), React__default.Children.map(children, function (child) {
|
370
|
+
return /*#__PURE__*/React__default.createElement(react.SwiperSlide, null, child);
|
371
|
+
})));
|
372
|
+
};
|
373
|
+
|
374
|
+
var CarouselSwiper$3 = /*#__PURE__*/styled__default(react.Swiper).withConfig({
|
375
|
+
displayName: "styles__CarouselSwiper",
|
376
|
+
componentId: "sc-jtjv4e-1"
|
377
|
+
})(["height:100%;.swiper-pagination{.swiper-pagination-bullet-active{background-color:#fff;}.swiper-pagination-bullet-active-next{background-color:#ffffff;}.swiper-pagination-bullet{background-color:#ffffff;}}"]);
|
378
|
+
var CarouselPill$1 = /*#__PURE__*/styled__default(ButtonUnstyled).withConfig({
|
379
|
+
displayName: "styles__CarouselPill",
|
380
|
+
componentId: "sc-jtjv4e-2"
|
381
|
+
})([":hover{border-color:rgba(0,0,0,0.08) !important;background-color:#ffffff !important;color:#000000 !important;box-shadow:0px 0px 0px 1px transparent,0px 0px 0px 4px transparent,0px 6px 16px rgb(0 0 0 / 12%) !important;-webkit-transform:scale(1.04) !important;-ms-transform:scale(1.04) !important;transform:scale(1.04) !important;}-webkit-box-pack:center !important;-ms-flex-pack:center !important;-webkit-box-align:center !important;-ms-flex-align:center !important;-webkit-appearance:none !important;-moz-appearance:none !important;appearance:none !important;display:-webkit-inline-box !important;display:-moz-inline-box !important;display:-ms-inline-flexbox !important;display:-webkit-inline-flex !important;display:inline-flex !important;border-radius:50% !important;border:0px !important;outline:none !important;margin:0px !important;padding:0px !important;color:#222222 !important;background-color:rgba(255,255,255,0.9) !important;cursor:pointer !important;-ms-touch-action:manipulation !important;touch-action:manipulation !important;-webkit-align-items:center !important;align-items:center !important;-webkit-justify-content:center !important;justify-content:center !important;border-style:solid !important;border-width:1px !important;background-clip:padding-box !important;border-color:rgba(0,0,0,0.08) !important;box-shadow:0px 0px 0px 1px transparent,0px 0px 0px 4px transparent,0px 2px 4px rgb(0 0 0 / 18%) !important;-webkit-transition:-webkit-transform 0.25s ease,transform 0.25s ease !important;-moz-transition:transform 0.25s ease !important;transition:-ms-transform 0.25s ease,-webkit-transform 0.25s ease,transform 0.25s ease !important;width:32px !important;height:32px !important;"]);
|
382
|
+
var CarouselPillSvg = /*#__PURE__*/styled__default.svg.withConfig({
|
383
|
+
displayName: "styles__CarouselPillSvg",
|
384
|
+
componentId: "sc-jtjv4e-3"
|
385
|
+
})(["height:10px;width:10px;display:block;fill:currentcolor;"]);
|
386
|
+
|
387
|
+
var _excluded$3 = ["children", "navigation", "title", "controls"];
|
388
|
+
SwiperCore__default.use([SwiperCore.Navigation, SwiperCore.Pagination]);
|
389
|
+
var PaginationCarousel = function PaginationCarousel(_ref) {
|
390
|
+
var children = _ref.children,
|
391
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
392
|
+
|
393
|
+
var prevRef = React.useRef(null);
|
394
|
+
var nextRef = React.useRef(null);
|
395
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
396
|
+
css: "\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n position: absolute !important;\n top: 50% !important;\n pointer-events: auto !important;\n transform: translateY(-50%) !important;\n left: 8px !important;\n animation-duration: 0.3s !important;\n animation-name: fadein !important;\n z-index: 180 !important;\n opacity: 0 !important;\n :hover {\n opacity: 1 !important;\n }\n "
|
397
|
+
}, /*#__PURE__*/React__default.createElement(CarouselPill$1, {
|
398
|
+
ref: prevRef
|
399
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
400
|
+
css: "\n position: relative !important;\n "
|
401
|
+
}, /*#__PURE__*/React__default.createElement(CarouselPillSvg, {
|
402
|
+
viewBox: "0 0 16 16",
|
403
|
+
role: "presentation",
|
404
|
+
"aria-hidden": "true",
|
405
|
+
focusable: "false"
|
406
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
407
|
+
d: "m10.8 16c-.4 0-.7-.1-.9-.4l-6.8-6.7c-.5-.5-.5-1.3 0-1.8l6.8-6.7c.5-.5 1.2-.5 1.7 0s .5 1.2 0 1.7l-5.8 5.9 5.8 5.9c.5.5.5 1.2 0 1.7-.2.3-.5.4-.8.4"
|
408
|
+
}))))), /*#__PURE__*/React__default.createElement("div", {
|
409
|
+
css: "\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n position: absolute !important;\n top: 50% !important;\n pointer-events: auto !important;\n transform: translateY(-50%) !important;\n right: 8px !important;\n animation-duration: 0.3s !important;\n animation-name: fadein !important;\n z-index: 180 !important;\n opacity: 0 !important;\n :hover {\n opacity: 1 !important;\n }\n "
|
410
|
+
}, /*#__PURE__*/React__default.createElement(CarouselPill$1, {
|
411
|
+
ref: nextRef
|
412
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
413
|
+
css: "\n position: relative !important;\n "
|
414
|
+
}, /*#__PURE__*/React__default.createElement(CarouselPillSvg, {
|
415
|
+
viewBox: "0 0 16 16",
|
416
|
+
role: "presentation",
|
417
|
+
"aria-hidden": "true",
|
418
|
+
focusable: "false"
|
419
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
420
|
+
d: "m5.3 16c .3 0 .6-.1.8-.4l6.8-6.7c.5-.5.5-1.3 0-1.8l-6.8-6.7c-.5-.5-1.2-.5-1.7 0s-.5 1.2 0 1.7l5.8 5.9-5.8 5.9c-.5.5-.5 1.2 0 1.7.2.3.5.4.9.4"
|
421
|
+
}))))), /*#__PURE__*/React__default.createElement(CarouselSwiper$3, Object.assign({}, props, {
|
422
|
+
pagination: {
|
423
|
+
dynamicBullets: true
|
424
|
+
},
|
425
|
+
onInit: function onInit(swiper) {
|
426
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
427
|
+
// @ts-ignore
|
428
|
+
// eslint-disable-next-line no-param-reassign
|
429
|
+
swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
430
|
+
// @ts-ignore
|
431
|
+
// eslint-disable-next-line no-param-reassign
|
432
|
+
|
433
|
+
swiper.params.navigation.nextEl = nextRef.current;
|
434
|
+
swiper.navigation.init();
|
435
|
+
swiper.navigation.update(); // console.log("Swiper", swiper);
|
436
|
+
}
|
437
|
+
}), React__default.Children.map(children, function (child) {
|
438
|
+
return /*#__PURE__*/React__default.cloneElement( /*#__PURE__*/React__default.createElement(react.SwiperSlide, null, child), _extends({}, props));
|
439
|
+
})));
|
440
|
+
};
|
441
|
+
|
442
|
+
exports.CardCarousel = CardCarousel;
|
443
|
+
exports.FreeCarousel = FreeCarousel;
|
444
|
+
exports.PaginationCarousel = PaginationCarousel;
|
445
|
+
exports.PillsCarousel = PillsCarousel;
|
446
|
+
//# sourceMappingURL=carousels.cjs.development.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"carousels.cjs.development.js","sources":["../src/lib/pills/styles/index.tsx","../src/lib/pills/index.tsx","../src/lib/styles/index.tsx","../src/lib/card/styles/index.tsx","../src/lib/card/index.tsx","../src/lib/free/styles/index.tsx","../src/lib/free/index.tsx","../src/lib/pagination/styles/index.tsx","../src/lib/pagination/index.tsx"],"sourcesContent":["import ButtonUnstyled from '@mui/core/ButtonUnstyled';\nimport styled from 'styled-components';\n// eslint-disable-next-line import/extensions\nimport { Swiper } from 'swiper/react';\n\nexport const CarouselContainer = styled.div``;\n\nexport const CarouselSwiper = styled(Swiper)`\n margin: 0px !important;\n .swiper-wrapper {\n .swiper-slide {\n scroll-snap-align: start !important;\n width: auto !important;\n }\n }\n`;\n\nexport const CarouselPillContainer = styled.div`\n display: inline-block !important;\n padding-right: 8px !important;\n padding-top: 4px !important;\n padding-bottom: 4px !important;\n`;\n\nexport const CarouselPill = styled(ButtonUnstyled)<any>`\n -webkit-box-pack: center !important;\n -webkit-box-align: center !important;\n appearance: none !important;\n display: inline-flex !important;\n border-radius: 50% !important;\n border: 1px solid rgb(221, 221, 221) !important;\n outline: none !important;\n margin: 0px !important;\n padding: 0px !important;\n color: rgb(34, 34, 34) !important;\n cursor: pointer !important;\n touch-action: manipulation !important;\n position: relative !important;\n background: transparent !important;\n transition: -ms-transform 0.25s ease 0s, -webkit-transform 0.25s ease 0s,\n transform 0.25s ease 0s !important;\n align-items: center !important;\n justify-content: center !important;\n width: 36px !important;\n height: 36px !important;\n ::before {\n content: '' !important;\n display: block !important;\n position: absolute !important;\n top: 50% !important;\n left: 50% !important;\n transform: translate(-50%, -50%) !important;\n width: 36px !important;\n height: 36px !important;\n border-radius: 50% !important;\n border: 1px solid rgb(221, 221, 221) !important;\n }\n`;\n","/* eslint-disable @typescript-eslint/no-shadow */\n/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useRef, useState } from 'react';\n\nimport { css } from 'styled-components';\nimport SwiperCore, { Navigation } from 'swiper';\n// eslint-disable-next-line import/extensions\nimport { SwiperSlide } from 'swiper/react';\n\nimport { CarouselSwiper, CarouselPillContainer, CarouselPill } from './styles';\n\nSwiperCore.use([Navigation]);\n\nexport const PillsCarousel: React.FC<any> = ({\n children,\n navigation,\n title,\n controls,\n arrows,\n ...props\n}) => {\n const prevRef = useRef<any>(null);\n const nextRef = useRef<any>(null);\n const [swiperSlides, setSwiperSlides] = useState<any>({\n progress: 0,\n isBeginning: true,\n isEnd: false\n });\n const [swiper, setSwiper] = useState<any>(null);\n return (\n <div\n css={`\n display: flex !important;\n position: relative !important;\n min-width: 0px !important;\n `}\n >\n <div\n css={`\n position: absolute !important;\n left: 0px !important;\n z-index: 3 !important;\n width: 65px !important;\n background: linear-gradient(\n to right,\n rgb(255, 255, 255) 56.77%,\n rgba(255, 255, 255, 0) 94.47%\n ) !important;\n ${swiperSlides.isBeginning &&\n css`\n display: none !important;\n visibility: hidden !important;\n `}\n `}\n >\n {arrows && (\n <CarouselPillContainer>\n <CarouselPill\n left={+true}\n ref={prevRef}\n aria-label=\"Previous\"\n type=\"button\"\n onClick={() => swiper.slidePrev()}\n >\n <span\n css={`\n position: relative !important;\n `}\n >\n <svg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n css={`\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 5.33333;\n overflow: visible;\n `}\n >\n <g fill=\"none\">\n <path d=\"m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932\" />\n </g>\n </svg>\n </span>\n </CarouselPill>\n </CarouselPillContainer>\n )}\n </div>\n\n <CarouselSwiper\n {...props}\n cssMode={false}\n slidesPerView=\"auto\"\n onInit={(swiper: any) => {\n setSwiper(swiper);\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.prevEl = prevRef.current;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.nextEl = nextRef.current;\n swiper.navigation.init();\n swiper.navigation.update();\n setSwiperSlides({\n progress: swiper.progress,\n isBeginning: swiper.isBeginning,\n isEnd: swiper.isEnd\n });\n // console.log(\"Swiper\", swiper);\n }}\n onSlideChange={swiper => {\n // console.log(\"Swiper Change\", swiper);\n\n setSwiperSlides({\n progress: swiper.progress,\n isBeginning: swiper.isBeginning,\n isEnd: swiper.isEnd\n });\n }}\n >\n {React.Children.map(children, child => (\n <SwiperSlide>\n <div\n css={`\n display: inline-block !important;\n white-space: nowrap !important;\n padding-right: 8px !important;\n padding-top: 4px !important;\n padding-bottom: 4px !important;\n `}\n >\n {child}\n </div>\n </SwiperSlide>\n ))}\n </CarouselSwiper>\n\n <div\n css={`\n -webkit-box-pack: end !important;\n position: absolute !important;\n right: 0px !important;\n z-index: 3 !important;\n width: 75px !important;\n display: flex !important;\n justify-content: flex-end !important;\n background: linear-gradient(\n to left,\n rgb(255, 255, 255) 56.77%,\n rgba(255, 255, 255, 0) 94.47%\n ) !important;\n ${swiperSlides.isEnd &&\n css`\n display: none !important;\n visibility: hidden !important;\n `}\n `}\n >\n {arrows && (\n <CarouselPillContainer>\n <CarouselPill\n right={+true}\n aria-label=\"Next\"\n type=\"button\"\n ref={nextRef}\n onClick={() => swiper.slideNext()}\n >\n <span\n css={`\n position: relative !important;\n `}\n >\n <svg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n css={`\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 5.33333;\n overflow: visible;\n `}\n >\n <g fill=\"none\">\n <path d=\"m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932\" />\n </g>\n </svg>\n </span>\n </CarouselPill>\n </CarouselPillContainer>\n )}\n </div>\n </div>\n );\n};\n","import ButtonUnstyled from '@mui/core/ButtonUnstyled';\nimport styled from 'styled-components';\n\nexport const CarouselContainer = styled.div`\n position: relative !important;\n z-index: 0 !important;\n`;\n\nexport const CarouselNavbar = styled.div`\n -webkit-box-pack: justify !important;\n -ms-flex-pack: justify !important;\n -webkit-box-align: center !important;\n -ms-flex-align: center !important;\n color: #222222 !important;\n display: -webkit-box !important;\n display: -moz-box !important;\n display: -ms-flexbox !important;\n display: -webkit-flex !important;\n display: flex !important;\n -webkit-align-items: center !important;\n align-items: center !important;\n -webkit-justify-content: space-between !important;\n justify-content: space-between !important;\n margin-bottom: 16px !important;\n`;\n\nexport const NavbarTitleContainer = styled.div`\n margin-right: 24px !important;\n width: auto !important;\n`;\n\nexport const NavbarTitle = styled.div`\n @media (min-width: 744px) {\n font-size: 32px !important;\n line-height: 36px !important;\n font-weight: 800 !important;\n text-align: left !important;\n color: #222222 !important;\n margin-bottom: 15px !important;\n }\n font-size: 22px !important;\n line-height: 26px !important;\n font-weight: 600 !important;\n margin-bottom: 10px !important;\n`;\n\nexport const NavbarControlsContainer = styled.div`\n display: flex !important;\n align-items: center !important;\n margin-left: auto !important;\n`;\n\nexport const NavbarControlsQuick = styled.a`\n @media (max-width: 744px) {\n display: none !important;\n }\n font-size: inherit !important;\n font-family: inherit !important;\n font-style: inherit !important;\n font-variant: inherit !important;\n line-height: inherit !important;\n color: #222222 !important;\n text-decoration: underline !important;\n border-radius: 4px !important;\n font-weight: 600 !important;\n outline: none !important;\n`;\n\nexport const NavbarControlsSpace = styled.span`\n display: inline-block !important;\n height: 32px !important;\n width: 1px !important;\n margin-right: 16px !important;\n padding: 0px !important;\n border: none !important;\n`;\n\nexport const ArrowsContainer = styled.div`\n -webkit-box-align: center !important;\n color: rgb(34, 34, 34) !important;\n display: flex !important;\n align-items: center !important;\n margin-left: auto !important;\n`;\n\nexport const ArrowsFlex = styled.div`\n display: -webkit-box !important;\n display: -moz-box !important;\n display: -ms-flexbox !important;\n display: -webkit-flex !important;\n display: flex !important;\n`;\n\nexport const ArrowsButton = styled(ButtonUnstyled)<any>`\n -webkit-box-pack: center !important;\n -webkit-box-align: center !important;\n appearance: none !important;\n display: inline-flex !important;\n border-radius: 50% !important;\n border: none !important;\n outline: none !important;\n margin: 0px !important;\n padding: 0px !important;\n color: rgb(34, 34, 34) !important;\n cursor: pointer !important;\n touch-action: manipulation !important;\n position: relative !important;\n background: transparent !important;\n transition: -ms-transform 0.25s ease 0s, -webkit-transform 0.25s ease 0s,\n transform 0.25s ease 0s !important;\n align-items: center !important;\n justify-content: center !important;\n width: 32px !important;\n height: 32px !important;\n :focus {\n box-shadow: none !important;\n }\n ::before {\n content: '' !important;\n display: block !important;\n position: absolute !important;\n top: 50% !important;\n left: 50% !important;\n transform: translate(-50%, -50%) !important;\n width: 32px !important;\n height: 32px !important;\n border-radius: 50% !important;\n background: rgb(255, 255, 255) !important;\n border: 1px solid rgb(221, 221, 221) !important;\n }\n :disabled {\n opacity: 0.5 !important;\n cursor: not-allowed !important;\n color: rgb(221, 221, 221) !important;\n transform: scale(1) !important;\n }\n :hover:not([disabled]) {\n color: rgb(0, 0, 0) !important;\n transform: scale(1.04) !important;\n }\n`;\n\nexport const ArrowsDivider = styled.span`\n margin-left: 8px !important;\n`;\n\nexport const ArrowsIconClip = styled.span`\n border: 0px !important;\n clip: rect(0 0 0 0) !important;\n -webkit-clip-path: inset(100%) !important;\n clip-path: inset(100%) !important;\n height: 1px !important;\n overflow: hidden !important;\n padding: 0px !important;\n position: absolute !important;\n white-space: nowrap !important;\n width: 1px !important;\n`;\n\nexport const ArrowsSvg = styled.svg`\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 4;\n overflow: visible;\n`;\n","import styled from 'styled-components';\n// eslint-disable-next-line import/extensions\nimport { Swiper } from 'swiper/react';\n\nexport const CarouselSwiper = styled(Swiper)``;\n","import React, { useRef } from 'react';\n\nimport SwiperCore, { Navigation } from 'swiper';\n// eslint-disable-next-line import/extensions\nimport { SwiperSlide } from 'swiper/react';\n\nimport {\n CarouselContainer,\n CarouselNavbar,\n NavbarTitleContainer,\n NavbarControlsContainer,\n NavbarControlsQuick,\n NavbarControlsSpace,\n ArrowsContainer,\n ArrowsFlex,\n ArrowsDivider,\n ArrowsButton,\n ArrowsIconClip,\n ArrowsSvg\n} from '../styles';\nimport { CarouselSwiper } from './styles';\n\nSwiperCore.use([Navigation]);\n\nexport const CardCarousel: React.FC<any> = ({\n children,\n navigation,\n title,\n controls,\n onShowMore,\n ...props\n}) => {\n const prevRef = useRef<HTMLDivElement>(null);\n const nextRef = useRef<HTMLDivElement>(null);\n return (\n <CarouselContainer>\n {navigation && (\n <CarouselNavbar>\n {title && <NavbarTitleContainer>{title}</NavbarTitleContainer>}\n {controls && (\n <NavbarControlsContainer>\n {onShowMore && (\n <NavbarControlsQuick onClick={onShowMore}>\n Show More\n </NavbarControlsQuick>\n )}\n <NavbarControlsSpace />\n <ArrowsContainer aria-hidden=\"false\">\n <ArrowsFlex>\n <ArrowsButton\n ref={prevRef}\n aria-label=\"Previous\"\n type=\"button\"\n >\n <span\n css={`\n position: relative;\n `}\n >\n <ArrowsIconClip />\n <ArrowsSvg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n >\n <g fill=\"none\">\n <path d=\"m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932\" />\n </g>\n </ArrowsSvg>\n </span>\n </ArrowsButton>\n <ArrowsDivider />\n <ArrowsButton aria-label=\"Next\" type=\"button\" ref={nextRef}>\n <span\n css={`\n position: relative;\n `}\n >\n <ArrowsIconClip />\n <ArrowsSvg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n >\n <g fill=\"none\">\n <path d=\"m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932\" />\n </g>\n </ArrowsSvg>\n </span>\n </ArrowsButton>\n </ArrowsFlex>\n </ArrowsContainer>\n </NavbarControlsContainer>\n )}\n </CarouselNavbar>\n )}\n <CarouselSwiper\n {...props}\n onInit={swiper => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.prevEl = prevRef.current;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.nextEl = nextRef.current;\n swiper.navigation.init();\n swiper.navigation.update();\n // console.log(\"Swiper\", swiper);\n }}\n >\n {React.Children.map(children, child => (\n <SwiperSlide>{child}</SwiperSlide>\n ))}\n </CarouselSwiper>\n </CarouselContainer>\n );\n};\n","import styled from 'styled-components';\n// eslint-disable-next-line import/extensions\nimport { Swiper } from 'swiper/react';\n\nexport const CarouselSwiper = styled(Swiper)`\n .swiper-wrapper {\n box-sizing: inherit !important;\n @media (min-width: 744px) {\n scroll-padding: 40px !important;\n }\n @media (min-width: 1128px) {\n --scroll-padding: max(80px, calc((100vw - 1600px) / 2)) !important;\n scroll-padding: var(--scroll-padding) !important;\n }\n scroll-snap-type: x mandatory !important;\n overflow-x: auto !important;\n display: flex !important;\n scroll-padding: 24px !important;\n .swiper-slide {\n @media (min-width: 744px) {\n min-width: 476px !important;\n max-width: 588px !important;\n flex: 1 0 calc((100% - 80px) * 0.75) !important;\n }\n @media (min-width: 1128px) {\n flex: 1 0 calc(50% - 88px) !important;\n }\n margin-left: 16px !important;\n flex: 1 0 calc(100% - 84px) !important;\n scroll-snap-align: start !important;\n scroll-snap-stop: always !important;\n }\n .swiper-slide:first-of-type {\n @media (min-width: 744px) {\n padding-left: 40px !important;\n min-width: calc(516px) !important;\n max-width: calc(628px) !important;\n flex: 1 0 calc((100% - 80px) * 0.75 + 40px) !important;\n }\n @media (min-width: 1128px) {\n max-width: calc(588px + max(80px, (100vw - 1600px) / 2)) !important;\n flex: 1 0 calc(50% - 8px) !important;\n padding-left: max(80px, (100vw - 1600px) / 2) !important;\n }\n @media (min-width: 2080px) {\n max-width: calc(588px + max(80px, (100vw - 1930px) / 2)) !important;\n flex: 1 0 calc(50% - 8px) !important;\n padding-left: max(80px, (100vw - 1930px) / 2) !important;\n }\n flex: 1 0 calc(100% - 84px) !important;\n scroll-snap-align: start !important;\n scroll-snap-stop: always !important;\n margin-left: 0px !important;\n padding-left: 24px !important;\n }\n .swiper-slide:last-of-type {\n @media (min-width: 744px) {\n padding-right: 40px !important;\n min-width: calc(516px) !important;\n max-width: calc(628px) !important;\n flex: 1 0 calc((100% - 80px) * 0.75 + 40px) !important;\n }\n @media (min-width: 1128px) {\n max-width: calc(588px + max(80px, (100vw - 1600px) / 2)) !important;\n flex: 1 0 calc(50% - 8px) !important;\n padding-right: max(80px, (100vw - 1600px) / 2) !important;\n }\n @media (min-width: 2080px) {\n max-width: calc(588px + max(80px, (100vw - 1930px) / 2)) !important;\n flex: 1 0 calc(50% - 8px) !important;\n padding-right: max(80px, (100vw - 1930px) / 2) !important;\n }\n margin-left: 16px !important;\n flex: 1 0 calc(100% - 84px) !important;\n scroll-snap-align: start !important;\n scroll-snap-stop: always !important;\n padding-right: 24px !important;\n }\n }\n`;\n","/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useRef } from 'react';\n\nimport { Container } from '@fox-dls/layout';\nimport SwiperCore, { Navigation } from 'swiper';\n// eslint-disable-next-line import/extensions\nimport { SwiperSlide } from 'swiper/react';\n\nimport {\n CarouselContainer,\n CarouselNavbar,\n NavbarTitleContainer,\n NavbarControlsContainer,\n NavbarControlsQuick,\n NavbarControlsSpace,\n ArrowsContainer,\n ArrowsFlex,\n ArrowsDivider,\n ArrowsButton,\n ArrowsIconClip,\n ArrowsSvg\n} from '../styles';\nimport { CarouselSwiper } from './styles';\n\nSwiperCore.use([Navigation]);\n\nexport const FreeCarousel: React.FC<any> = ({\n children,\n navigation,\n title,\n controls,\n quickLink,\n onShowMore,\n ...props\n}) => {\n const prevRef = useRef<HTMLDivElement>(null);\n const nextRef = useRef<HTMLDivElement>(null);\n return (\n <CarouselContainer>\n <div\n css={`\n @media (max-width: 744px) {\n display: none !important;\n }\n `}\n >\n <Container>\n {navigation && (\n <CarouselNavbar>\n {title && <NavbarTitleContainer>{title}</NavbarTitleContainer>}\n {controls && (\n <NavbarControlsContainer>\n {onShowMore && (\n <NavbarControlsQuick onClick={onShowMore}>\n Show More\n </NavbarControlsQuick>\n )}\n <NavbarControlsSpace />\n <ArrowsContainer aria-hidden=\"false\">\n <ArrowsFlex>\n <ArrowsButton\n ref={prevRef}\n aria-label=\"Previous\"\n type=\"button\"\n >\n <span\n css={`\n position: relative;\n `}\n >\n <ArrowsIconClip />\n <ArrowsSvg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n >\n <g fill=\"none\">\n <path d=\"m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932\" />\n </g>\n </ArrowsSvg>\n </span>\n </ArrowsButton>\n <ArrowsDivider />\n <ArrowsButton\n aria-label=\"Next\"\n type=\"button\"\n ref={nextRef}\n >\n <span\n css={`\n position: relative;\n `}\n >\n <ArrowsIconClip />\n <ArrowsSvg\n viewBox=\"0 0 32 32\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n role=\"presentation\"\n focusable=\"false\"\n >\n <g fill=\"none\">\n <path d=\"m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932\" />\n </g>\n </ArrowsSvg>\n </span>\n </ArrowsButton>\n </ArrowsFlex>\n </ArrowsContainer>\n </NavbarControlsContainer>\n )}\n </CarouselNavbar>\n )}\n </Container>\n </div>\n <CarouselSwiper\n {...props}\n cssMode\n onInit={swiper => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.prevEl = prevRef.current;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.nextEl = nextRef.current;\n swiper.navigation.init();\n swiper.navigation.update();\n // console.log(\"Swiper\", swiper);\n }}\n >\n {React.Children.map(children, child => (\n <SwiperSlide>{child}</SwiperSlide>\n ))}\n </CarouselSwiper>\n </CarouselContainer>\n );\n};\n","import ButtonUnstyled from '@mui/core/ButtonUnstyled';\nimport styled from 'styled-components';\n// eslint-disable-next-line import/extensions\nimport { Swiper } from 'swiper/react';\n\nexport const CarouselContainer = styled.div``;\n\nexport const CarouselSwiper = styled(Swiper)`\n height: 100%;\n .swiper-pagination {\n .swiper-pagination-bullet-active {\n background-color: #fff;\n }\n .swiper-pagination-bullet-active-next {\n background-color: #ffffff;\n }\n .swiper-pagination-bullet {\n background-color: #ffffff;\n }\n }\n`;\n\nexport const CarouselPill = styled(ButtonUnstyled)`\n :hover {\n border-color: rgba(0, 0, 0, 0.08) !important;\n background-color: #ffffff !important;\n color: #000000 !important;\n box-shadow: 0px 0px 0px 1px transparent, 0px 0px 0px 4px transparent,\n 0px 6px 16px rgb(0 0 0 / 12%) !important;\n -webkit-transform: scale(1.04) !important;\n -ms-transform: scale(1.04) !important;\n transform: scale(1.04) !important;\n }\n\n -webkit-box-pack: center !important;\n -ms-flex-pack: center !important;\n -webkit-box-align: center !important;\n -ms-flex-align: center !important;\n -webkit-appearance: none !important;\n -moz-appearance: none !important;\n appearance: none !important;\n display: -webkit-inline-box !important;\n display: -moz-inline-box !important;\n display: -ms-inline-flexbox !important;\n display: -webkit-inline-flex !important;\n display: inline-flex !important;\n border-radius: 50% !important;\n border: 0px !important;\n outline: none !important;\n margin: 0px !important;\n padding: 0px !important;\n color: #222222 !important;\n background-color: rgba(255, 255, 255, 0.9) !important;\n cursor: pointer !important;\n -ms-touch-action: manipulation !important;\n touch-action: manipulation !important;\n -webkit-align-items: center !important;\n align-items: center !important;\n -webkit-justify-content: center !important;\n justify-content: center !important;\n border-style: solid !important;\n border-width: 1px !important;\n background-clip: padding-box !important;\n border-color: rgba(0, 0, 0, 0.08) !important;\n box-shadow: 0px 0px 0px 1px transparent, 0px 0px 0px 4px transparent,\n 0px 2px 4px rgb(0 0 0 / 18%) !important;\n -webkit-transition: -webkit-transform 0.25s ease, transform 0.25s ease !important;\n -moz-transition: transform 0.25s ease !important;\n transition: -ms-transform 0.25s ease, -webkit-transform 0.25s ease,\n transform 0.25s ease !important;\n width: 32px !important;\n height: 32px !important;\n`;\n\nexport const CarouselPillSvg = styled.svg`\n height: 10px;\n width: 10px;\n display: block;\n fill: currentcolor;\n`;\n","/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useRef } from 'react';\n\nimport SwiperCore, { Navigation, Pagination } from 'swiper';\n// eslint-disable-next-line import/extensions\nimport { SwiperSlide } from 'swiper/react';\n\nimport { CarouselSwiper, CarouselPillSvg, CarouselPill } from './styles';\n\nSwiperCore.use([Navigation, Pagination]);\n\nexport const PaginationCarousel: React.FC<any> = ({\n children,\n navigation,\n title,\n controls,\n ...props\n}) => {\n const prevRef = useRef<HTMLDivElement>(null);\n const nextRef = useRef<HTMLDivElement>(null);\n return (\n <>\n <div\n css={`\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n position: absolute !important;\n top: 50% !important;\n pointer-events: auto !important;\n transform: translateY(-50%) !important;\n left: 8px !important;\n animation-duration: 0.3s !important;\n animation-name: fadein !important;\n z-index: 180 !important;\n opacity: 0 !important;\n :hover {\n opacity: 1 !important;\n }\n `}\n >\n <CarouselPill ref={prevRef}>\n <span\n css={`\n position: relative !important;\n `}\n >\n <CarouselPillSvg\n viewBox=\"0 0 16 16\"\n role=\"presentation\"\n aria-hidden=\"true\"\n focusable=\"false\"\n >\n <path d=\"m10.8 16c-.4 0-.7-.1-.9-.4l-6.8-6.7c-.5-.5-.5-1.3 0-1.8l6.8-6.7c.5-.5 1.2-.5 1.7 0s .5 1.2 0 1.7l-5.8 5.9 5.8 5.9c.5.5.5 1.2 0 1.7-.2.3-.5.4-.8.4\" />\n </CarouselPillSvg>\n </span>\n </CarouselPill>\n </div>\n <div\n css={`\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n position: absolute !important;\n top: 50% !important;\n pointer-events: auto !important;\n transform: translateY(-50%) !important;\n right: 8px !important;\n animation-duration: 0.3s !important;\n animation-name: fadein !important;\n z-index: 180 !important;\n opacity: 0 !important;\n :hover {\n opacity: 1 !important;\n }\n `}\n >\n <CarouselPill ref={nextRef}>\n <span\n css={`\n position: relative !important;\n `}\n >\n <CarouselPillSvg\n viewBox=\"0 0 16 16\"\n role=\"presentation\"\n aria-hidden=\"true\"\n focusable=\"false\"\n >\n <path d=\"m5.3 16c .3 0 .6-.1.8-.4l6.8-6.7c.5-.5.5-1.3 0-1.8l-6.8-6.7c-.5-.5-1.2-.5-1.7 0s-.5 1.2 0 1.7l5.8 5.9-5.8 5.9c-.5.5-.5 1.2 0 1.7.2.3.5.4.9.4\" />\n </CarouselPillSvg>\n </span>\n </CarouselPill>\n </div>\n <CarouselSwiper\n {...props}\n pagination={{\n dynamicBullets: true\n }}\n onInit={swiper => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.prevEl = prevRef.current;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-param-reassign\n swiper.params.navigation.nextEl = nextRef.current;\n swiper.navigation.init();\n swiper.navigation.update();\n // console.log(\"Swiper\", swiper);\n }}\n >\n {React.Children.map(children, child =>\n React.cloneElement(<SwiperSlide>{child}</SwiperSlide>, {\n ...props\n })\n )}\n </CarouselSwiper>\n </>\n );\n};\n"],"names":["CarouselSwiper","styled","Swiper","CarouselPillContainer","div","CarouselPill","ButtonUnstyled","SwiperCore","use","Navigation","PillsCarousel","children","navigation","arrows","props","prevRef","useRef","nextRef","useState","progress","isBeginning","isEnd","swiperSlides","setSwiperSlides","swiper","setSwiper","React","css","left","ref","type","onClick","slidePrev","viewBox","xmlns","role","focusable","fill","d","cssMode","slidesPerView","onInit","params","prevEl","current","nextEl","init","update","onSlideChange","Children","map","child","SwiperSlide","right","slideNext","CarouselContainer","CarouselNavbar","NavbarTitleContainer","NavbarControlsContainer","NavbarControlsQuick","a","NavbarControlsSpace","span","ArrowsContainer","ArrowsFlex","ArrowsButton","ArrowsDivider","ArrowsIconClip","ArrowsSvg","svg","CardCarousel","title","controls","onShowMore","FreeCarousel","quickLink","Container","CarouselPillSvg","Pagination","PaginationCarousel","pagination","dynamicBullets","cloneElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOO,IAAMA,cAAc,gBAAGC,eAAM,CAACC,YAAD,CAAT;AAAA;AAAA;AAAA,uHAApB;AAUA,IAAMC,qBAAqB,gBAAGF,eAAM,CAACG,GAAV;AAAA;AAAA;AAAA,8HAA3B;AAOA,IAAMC,YAAY,gBAAGJ,eAAM,CAACK,cAAD,CAAT;AAAA;AAAA;AAAA,06BAAlB;;;;;ACbPC,mBAAU,CAACC,GAAX,CAAe,CAACC,qBAAD,CAAf;AAEA,IAAaC,aAAa,GAAkB,SAA/BA,aAA+B;MAC1CC,gBAAAA;MACAC,AAGAC,cAAAA;MACGC;;AAEH,MAAMC,OAAO,GAAGC,YAAM,CAA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