@lanaco/lnc-react-ui 4.0.200 → 4.0.202

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.
Files changed (38) hide show
  1. package/dist/BannerSectionCarousel.cjs +4 -4
  2. package/dist/BannerSectionCarousel.js +51 -542
  3. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  4. package/dist/BlogCardsSponsoredSection.js +1 -1
  5. package/dist/BlogListSection.cjs +1 -1
  6. package/dist/BlogListSection.js +1 -1
  7. package/dist/BlogsSectionDetailed.cjs +1 -1
  8. package/dist/BlogsSectionDetailed.js +1 -1
  9. package/dist/BlogsSectionSimple.cjs +1 -1
  10. package/dist/BlogsSectionSimple.js +1 -1
  11. package/dist/BlogsSectionWithFilters.cjs +1 -1
  12. package/dist/BlogsSectionWithFilters.js +1 -1
  13. package/dist/DetailedProductsSection.cjs +1 -1
  14. package/dist/DetailedProductsSection.js +1 -1
  15. package/dist/GiftCardsSection.cjs +1 -1
  16. package/dist/GiftCardsSection.js +1 -1
  17. package/dist/PartnerBannerSection.cjs +105 -0
  18. package/dist/PartnerBannerSection.js +159 -0
  19. package/dist/PartnerBrandsSection.cjs +62 -0
  20. package/dist/PartnerBrandsSection.js +154 -0
  21. package/dist/PartnerCardsSection.cjs +134 -0
  22. package/dist/PartnerCardsSection.js +203 -0
  23. package/dist/PartnerStatsSection.cjs +100 -0
  24. package/dist/PartnerStatsSection.js +124 -0
  25. package/dist/ProductsWithBannerSection.cjs +1 -1
  26. package/dist/ProductsWithBannerSection.js +1 -1
  27. package/dist/SalesCampaignsSection.cjs +36 -26
  28. package/dist/SalesCampaignsSection.js +226 -213
  29. package/dist/SimpleCategoriesSection.cjs +1 -1
  30. package/dist/SimpleCategoriesSection.js +1 -1
  31. package/dist/index-BppfjY8h.js +497 -0
  32. package/dist/index-DeS-oqJB.cjs +1 -0
  33. package/dist/index.cjs +1 -1
  34. package/dist/index.js +43 -35
  35. package/dist/{style-CkcozOY6.cjs → style-B4kAj6YU.cjs} +38 -8
  36. package/dist/{style-Cmlod7oq.js → style-neMbLWE6.js} +42 -11
  37. package/package.json +6 -2
  38. package/vite.config.js +16 -0
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),a=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),_=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-RnrgDDZP.cjs"),y=require("./style-CkcozOY6.cjs"),N=require("./Button.cjs"),v=require("./CategorySimpleCard-COGlTj06.cjs"),o=require("./style-BAcV7F53.cjs"),E=k.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),a=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),_=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-RnrgDDZP.cjs"),y=require("./style-B4kAj6YU.cjs"),N=require("./Button.cjs"),v=require("./CategorySimpleCard-COGlTj06.cjs"),o=require("./style-BAcV7F53.cjs"),E=k.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${()=>"repeat(6, minmax(0, 1fr))"};
4
4
  gap: 2rem;
@@ -4,7 +4,7 @@ import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as k } from "./consts-BuFChS64.js";
5
5
  import { u as L } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import { k as c } from "./utils-DtEfC-TX.js";
7
- import { R as W } from "./style-Cmlod7oq.js";
7
+ import { R as W } from "./style-neMbLWE6.js";
8
8
  import B from "./Button.js";
9
9
  import { C as T } from "./CategorySimpleCard-Em84kZzQ.js";
10
10
  import { b as j, S as p, c as o } from "./style-BwQ4djFC.js";
@@ -0,0 +1,497 @@
1
+ import { c as j, g as dt } from "./_commonjsHelpers-BkfeUUK-.js";
2
+ import A from "react";
3
+ var U = {}, z = {}, m = {}, F = {};
4
+ (function(o) {
5
+ function i(a, n, l) {
6
+ var u = n.slidesToShow, h = n.currentSlide;
7
+ return l.length > 2 * u ? a + 2 * u : h >= l.length ? l.length + a : a;
8
+ }
9
+ function t(a, n) {
10
+ if (n.length > 2 * a) {
11
+ for (var l = {}, u = n.length - 2 * a, h = n.length - u, c = u, d = 0; d < h; d++) l[d] = c, c++;
12
+ var p = n.length + h, f = p + n.slice(0, 2 * a).length, g = 0;
13
+ for (d = p; d <= f; d++) l[d] = g, g++;
14
+ var w = p, b = 0;
15
+ for (d = h; d < w; d++) l[d] = b, b++;
16
+ return l;
17
+ }
18
+ l = {};
19
+ var C = 3 * n.length, S = 0;
20
+ for (d = 0; d < C; d++) l[d] = S, ++S === n.length && (S = 0);
21
+ return l;
22
+ }
23
+ function e(a, n) {
24
+ return n.length < a ? n : n.length > 2 * a ? n.slice(n.length - 2 * a, n.length).concat(n, n.slice(0, 2 * a)) : n.concat(n, n);
25
+ }
26
+ function r(a, n) {
27
+ return n.length > 2 * a ? 2 * a : n.length;
28
+ }
29
+ function s(a, n, l) {
30
+ var u, h = a.currentSlide, c = a.slidesToShow, d = a.itemWidth, p = a.totalItems, f = 0, g = 0, w = h === 0, b = n.length - (n.length - 2 * c);
31
+ return n.length < c ? (g = f = 0, w = u = !1) : n.length > 2 * c ? ((u = h >= b + n.length) && (g = -d * (f = h - n.length)), w && (g = -d * (f = b + (n.length - 2 * c)))) : ((u = h >= 2 * n.length) && (g = -d * (f = h - n.length)), w && (g = l.showDots ? -d * (f = n.length) : -d * (f = p / 3))), { isReachingTheEnd: u, isReachingTheStart: w, nextSlide: f, nextPosition: g };
32
+ }
33
+ Object.defineProperty(o, "__esModule", { value: !0 }), o.getOriginalCounterPart = i, o.getOriginalIndexLookupTableByClones = t, o.getClones = e, o.getInitialSlideInInfiniteMode = r, o.checkClonesPosition = s;
34
+ })(F);
35
+ var O = {};
36
+ Object.defineProperty(O, "__esModule", { value: !0 });
37
+ var et = !1;
38
+ function ct(o, i, t, e) {
39
+ var r = 0, s = e || t;
40
+ return i && s && (!et && process.env.NODE_ENV !== "production" && o[s].paritialVisibilityGutter && (et = !0, console.warn("You appear to be using paritialVisibilityGutter instead of partialVisibilityGutter which will be moved to partialVisibilityGutter in the future completely")), r = o[s].partialVisibilityGutter || o[s].paritialVisibilityGutter), r;
41
+ }
42
+ function pt(o, i) {
43
+ var t;
44
+ return i[o] && (t = (100 / i[o].items).toFixed(1)), t;
45
+ }
46
+ function ft(o, i, t) {
47
+ return Math.round(t / (i + (o.centerMode ? 1 : 0)));
48
+ }
49
+ O.getPartialVisibilityGutter = ct, O.getWidthFromDeviceType = pt, O.getItemClientSideWidth = ft;
50
+ var y = {};
51
+ Object.defineProperty(y, "__esModule", { value: !0 });
52
+ var Y = O;
53
+ function K(o) {
54
+ var i = o.slidesToShow;
55
+ return o.totalItems < i;
56
+ }
57
+ function mt(o, i) {
58
+ var t, e = o.domLoaded, r = o.slidesToShow, s = o.containerWidth, a = o.itemWidth, n = i.deviceType, l = i.responsive, u = i.ssr, h = i.partialVisbile, c = i.partialVisible, d = !!(e && r && s && a);
59
+ u && n && !d && (t = Y.getWidthFromDeviceType(n, l));
60
+ var p = !!(u && n && !d && t);
61
+ return { shouldRenderOnSSR: p, flexBisis: t, domFullyLoaded: d, partialVisibilityGutter: Y.getPartialVisibilityGutter(l, h || c, n, o.deviceType), shouldRenderAtAll: p || d };
62
+ }
63
+ function vt(o, i) {
64
+ var t = i.currentSlide, e = i.slidesToShow;
65
+ return t <= o && o < t + e;
66
+ }
67
+ function nt(o, i, t) {
68
+ var e = t || o.transform;
69
+ return !i.infinite && o.currentSlide === 0 || K(o) ? e : e + o.itemWidth / 2;
70
+ }
71
+ function gt(o) {
72
+ return !(0 < o.currentSlide);
73
+ }
74
+ function st(o) {
75
+ var i = o.currentSlide, t = o.totalItems;
76
+ return !(i + o.slidesToShow < t);
77
+ }
78
+ function at(o, i, t, e) {
79
+ i === void 0 && (i = 0);
80
+ var r = o.currentSlide, s = o.slidesToShow, a = st(o), n = !t.infinite && a, l = e || o.transform;
81
+ if (K(o)) return l;
82
+ var u = l + r * i;
83
+ return n ? u + (o.containerWidth - (o.itemWidth - i) * s) : u;
84
+ }
85
+ function lt(o, i) {
86
+ return o.rtl ? -1 * i : i;
87
+ }
88
+ function St(o, i, t) {
89
+ var e = i.partialVisbile, r = i.partialVisible, s = i.responsive, a = i.deviceType, n = i.centerMode, l = t || o.transform, u = Y.getPartialVisibilityGutter(s, e || r, a, o.deviceType);
90
+ return lt(i, r || e ? at(o, u, i, t) : n ? nt(o, i, t) : l);
91
+ }
92
+ function yt(o, i) {
93
+ var t = o.domLoaded, e = o.slidesToShow, r = o.containerWidth, s = o.itemWidth, a = i.deviceType, n = i.responsive, l = i.slidesToSlide || 1, u = !!(t && e && r && s);
94
+ return i.ssr && i.deviceType && !u && Object.keys(n).forEach(function(h) {
95
+ var c = n[h].slidesToSlide;
96
+ a === h && c && (l = c);
97
+ }), u && Object.keys(n).forEach(function(h) {
98
+ var c = n[h], d = c.breakpoint, p = c.slidesToSlide, f = d.max, g = d.min;
99
+ p && window.innerWidth >= g && window.innerWidth <= f && (l = p);
100
+ }), l;
101
+ }
102
+ y.notEnoughChildren = K, y.getInitialState = mt, y.getIfSlideIsVisbile = vt, y.getTransformForCenterMode = nt, y.isInLeftEnd = gt, y.isInRightEnd = st, y.getTransformForPartialVsibile = at, y.parsePosition = lt, y.getTransform = St, y.getSlidesToSlide = yt;
103
+ var q = {};
104
+ Object.defineProperty(q, "__esModule", { value: !0 });
105
+ var Tt = function(o, i, t) {
106
+ var e;
107
+ return function() {
108
+ var r = arguments;
109
+ e || (o.apply(this, r), e = !0, typeof t == "function" && t(!0), setTimeout(function() {
110
+ e = !1, typeof t == "function" && t(!1);
111
+ }, i));
112
+ };
113
+ };
114
+ q.default = Tt;
115
+ var ut = {};
116
+ (function(o) {
117
+ function i(t, e) {
118
+ var r = e.partialVisbile, s = e.partialVisible, a = e.centerMode, n = e.ssr, l = e.responsive;
119
+ if ((r || s) && a) throw new Error("center mode can not be used at the same time with partialVisible");
120
+ if (!l) throw n ? new Error("ssr mode need to be used in conjunction with responsive prop") : new Error("Responsive prop is needed for deciding the amount of items to show on the screen");
121
+ if (l && typeof l != "object") throw new Error("responsive prop must be an object");
122
+ }
123
+ Object.defineProperty(o, "__esModule", { value: !0 }), o.default = i;
124
+ })(ut);
125
+ var J = {};
126
+ Object.defineProperty(J, "__esModule", { value: !0 });
127
+ var wt = y;
128
+ function bt(o, i, t) {
129
+ t === void 0 && (t = 0);
130
+ var e, r, s = o.slidesToShow, a = o.currentSlide, n = o.itemWidth, l = o.totalItems, u = wt.getSlidesToSlide(o, i), h = a + 1 + t + s + (0 < t ? 0 : u);
131
+ return r = h <= l ? -n * (e = a + t + (0 < t ? 0 : u)) : l < h && a !== l - s ? -n * (e = l - s) : e = void 0, { nextSlides: e, nextPosition: r };
132
+ }
133
+ J.populateNextSlides = bt;
134
+ var Q = {};
135
+ Object.defineProperty(Q, "__esModule", { value: !0 });
136
+ var Ct = A, It = y, Mt = y;
137
+ function Et(o, i, t) {
138
+ t === void 0 && (t = 0);
139
+ var e, r, s = o.currentSlide, a = o.itemWidth, n = o.slidesToShow, l = i.children, u = i.showDots, h = i.infinite, c = It.getSlidesToSlide(o, i), d = s - t - (0 < t ? 0 : c), p = (Ct.Children.toArray(l).length - n) % c;
140
+ return r = 0 <= d ? (e = d, u && !h && 0 < p && Mt.isInRightEnd(o) && (e = s - p), -a * e) : e = d < 0 && s !== 0 ? 0 : void 0, { nextSlides: e, nextPosition: r };
141
+ }
142
+ Q.populatePreviousSlides = Et;
143
+ var ht = {};
144
+ (function(o) {
145
+ function i(t, e, r, s, a, n) {
146
+ var l, u, h = t.itemWidth, c = t.slidesToShow, d = t.totalItems, p = t.currentSlide, f = e.infinite, g = !1, w = Math.round((r - s) / h), b = Math.round((s - r) / h), C = r < a;
147
+ if (a < r && w <= c) {
148
+ l = "right";
149
+ var S = Math.abs(-h * (d - c)), M = n - (s - a), I = p === d - c;
150
+ (Math.abs(M) <= S || I && f) && (u = M, g = !0);
151
+ }
152
+ return C && b <= c && (l = "left", ((M = n + (a - s)) <= 0 || p === 0 && f) && (g = !0, u = M)), { direction: l, nextPosition: u, canContinue: g };
153
+ }
154
+ Object.defineProperty(o, "__esModule", { value: !0 }), o.populateSlidesOnMouseTouchMove = i;
155
+ })(ht);
156
+ Object.defineProperty(m, "__esModule", { value: !0 });
157
+ var x = F;
158
+ m.getOriginalCounterPart = x.getOriginalCounterPart, m.getClones = x.getClones, m.checkClonesPosition = x.checkClonesPosition, m.getInitialSlideInInfiniteMode = x.getInitialSlideInInfiniteMode;
159
+ var $ = O;
160
+ m.getWidthFromDeviceType = $.getWidthFromDeviceType, m.getPartialVisibilityGutter = $.getPartialVisibilityGutter, m.getItemClientSideWidth = $.getItemClientSideWidth;
161
+ var P = y;
162
+ m.getInitialState = P.getInitialState, m.getIfSlideIsVisbile = P.getIfSlideIsVisbile, m.getTransformForCenterMode = P.getTransformForCenterMode, m.getTransformForPartialVsibile = P.getTransformForPartialVsibile, m.isInLeftEnd = P.isInLeftEnd, m.isInRightEnd = P.isInRightEnd, m.notEnoughChildren = P.notEnoughChildren, m.getSlidesToSlide = P.getSlidesToSlide;
163
+ var Pt = q;
164
+ m.throttle = Pt.default;
165
+ var Rt = ut;
166
+ m.throwError = Rt.default;
167
+ var _t = J;
168
+ m.populateNextSlides = _t.populateNextSlides;
169
+ var Ot = Q;
170
+ m.populatePreviousSlides = Ot.populatePreviousSlides;
171
+ var At = ht;
172
+ m.populateSlidesOnMouseTouchMove = At.populateSlidesOnMouseTouchMove;
173
+ var B = {}, Wt = j && j.__extends || /* @__PURE__ */ function() {
174
+ var o = function(i, t) {
175
+ return (o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
176
+ e.__proto__ = r;
177
+ } || function(e, r) {
178
+ for (var s in r) r.hasOwnProperty(s) && (e[s] = r[s]);
179
+ })(i, t);
180
+ };
181
+ return function(i, t) {
182
+ function e() {
183
+ this.constructor = i;
184
+ }
185
+ o(i, t), i.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
186
+ };
187
+ }();
188
+ Object.defineProperty(B, "__esModule", { value: !0 });
189
+ var Dt = A;
190
+ function Lt(o) {
191
+ return "clientY" in o;
192
+ }
193
+ B.isMouseMoveEvent = Lt;
194
+ var xt = function(o) {
195
+ function i() {
196
+ return o !== null && o.apply(this, arguments) || this;
197
+ }
198
+ return Wt(i, o), i;
199
+ }(Dt.Component);
200
+ B.default = xt;
201
+ var Z = {}, H = {};
202
+ Object.defineProperty(H, "__esModule", { value: !0 });
203
+ var Vt = F, kt = y;
204
+ function jt(o, i, t, e) {
205
+ var r = {}, s = kt.getSlidesToSlide(i, t);
206
+ return Array(o).fill(0).forEach(function(a, n) {
207
+ var l = Vt.getOriginalCounterPart(n, i, e);
208
+ if (n === 0) r[0] = l;
209
+ else {
210
+ var u = r[n - 1] + s;
211
+ r[n] = u;
212
+ }
213
+ }), r;
214
+ }
215
+ H.getLookupTableForNextSlides = jt;
216
+ Object.defineProperty(Z, "__esModule", { value: !0 });
217
+ var D = A, Gt = F, Ft = H, it = y, Bt = function(o) {
218
+ var i = o.props, t = o.state, e = o.goToSlide, r = o.getState, s = i.showDots, a = i.customDot, n = i.dotListClass, l = i.infinite, u = i.children;
219
+ if (!s || it.notEnoughChildren(t)) return null;
220
+ var h, c = t.currentSlide, d = t.slidesToShow, p = it.getSlidesToSlide(t, i), f = D.Children.toArray(u);
221
+ h = l ? Math.ceil(f.length / p) : Math.ceil((f.length - d) / p) + 1;
222
+ var g = Ft.getLookupTableForNextSlides(h, t, i, f), w = Gt.getOriginalIndexLookupTableByClones(d, f), b = w[c];
223
+ return D.createElement("ul", { className: "react-multi-carousel-dot-list " + n }, Array(h).fill(0).map(function(C, S) {
224
+ var M, I;
225
+ if (l) {
226
+ I = g[S];
227
+ var _ = w[I];
228
+ M = b === _ || _ <= b && b < _ + p;
229
+ } else {
230
+ var W = f.length - d, L = S * p;
231
+ M = (I = W < L ? W : L) === c || I < c && c < I + p && c < f.length - d;
232
+ }
233
+ return a ? D.cloneElement(a, { index: S, active: M, key: S, onClick: function() {
234
+ return e(I);
235
+ }, carouselState: r() }) : D.createElement("li", { "data-index": S, key: S, className: "react-multi-carousel-dot " + (M ? "react-multi-carousel-dot--active" : "") }, D.createElement("button", { "aria-label": "Go to slide " + (S + 1), onClick: function() {
236
+ return e(I);
237
+ } }));
238
+ }));
239
+ };
240
+ Z.default = Bt;
241
+ var N = {};
242
+ Object.defineProperty(N, "__esModule", { value: !0 });
243
+ var G = A, Nt = function(o) {
244
+ var i = o.customLeftArrow, t = o.getState, e = o.previous, r = o.disabled, s = o.rtl;
245
+ if (i) return G.cloneElement(i, { onClick: function() {
246
+ return e();
247
+ }, carouselState: t(), disabled: r, rtl: s });
248
+ var a = s ? "rtl" : "";
249
+ return G.createElement("button", { "aria-label": "Go to previous slide", className: "react-multiple-carousel__arrow react-multiple-carousel__arrow--left " + a, onClick: function() {
250
+ return e();
251
+ }, type: "button", disabled: r });
252
+ };
253
+ N.LeftArrow = Nt;
254
+ var $t = function(o) {
255
+ var i = o.customRightArrow, t = o.getState, e = o.next, r = o.disabled, s = o.rtl;
256
+ if (i) return G.cloneElement(i, { onClick: function() {
257
+ return e();
258
+ }, carouselState: t(), disabled: r, rtl: s });
259
+ var a = s ? "rtl" : "";
260
+ return G.createElement("button", { "aria-label": "Go to next slide", className: "react-multiple-carousel__arrow react-multiple-carousel__arrow--right " + a, onClick: function() {
261
+ return e();
262
+ }, type: "button", disabled: r });
263
+ };
264
+ N.RightArrow = $t;
265
+ var tt = {};
266
+ Object.defineProperty(tt, "__esModule", { value: !0 });
267
+ var V = A, X = m, Xt = function(o) {
268
+ var i = o.props, t = o.state, e = o.goToSlide, r = o.clones, s = o.notEnoughChildren, a = t.itemWidth, n = i.children, l = i.infinite, u = i.itemClass, h = i.itemAriaLabel, c = i.partialVisbile, d = i.partialVisible, p = X.getInitialState(t, i), f = p.flexBisis, g = p.shouldRenderOnSSR, w = p.domFullyLoaded, b = p.partialVisibilityGutter;
269
+ return p.shouldRenderAtAll ? (c && console.warn('WARNING: Please correct props name: "partialVisible" as old typo will be removed in future versions!'), V.createElement(V.Fragment, null, (l ? r : V.Children.toArray(n)).map(function(C, S) {
270
+ return V.createElement("li", { key: S, "data-index": S, onClick: function() {
271
+ i.focusOnSelect && e(S);
272
+ }, "aria-hidden": X.getIfSlideIsVisbile(S, t) ? "false" : "true", "aria-label": h || (C.props.ariaLabel ? C.props.ariaLabel : null), style: { flex: g ? "1 0 " + f + "%" : "auto", position: "relative", width: w ? ((c || d) && b && !s ? a - b : a) + "px" : "auto" }, className: "react-multi-carousel-item " + (X.getIfSlideIsVisbile(S, t) ? "react-multi-carousel-item--active" : "") + " " + u }, C);
273
+ }))) : null;
274
+ };
275
+ tt.default = Xt;
276
+ var Yt = j && j.__extends || /* @__PURE__ */ function() {
277
+ var o = function(i, t) {
278
+ return (o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
279
+ e.__proto__ = r;
280
+ } || function(e, r) {
281
+ for (var s in r) r.hasOwnProperty(s) && (e[s] = r[s]);
282
+ })(i, t);
283
+ };
284
+ return function(i, t) {
285
+ function e() {
286
+ this.constructor = i;
287
+ }
288
+ o(i, t), i.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
289
+ };
290
+ }();
291
+ Object.defineProperty(z, "__esModule", { value: !0 });
292
+ var T = A, v = m, R = B, Ut = Z, ot = N, zt = tt, k = y, E = 400, rt = "transform 400ms ease-in-out", Kt = function(o) {
293
+ function i(t) {
294
+ var e = o.call(this, t) || this;
295
+ return e.containerRef = T.createRef(), e.listRef = T.createRef(), e.state = { itemWidth: 0, slidesToShow: 0, currentSlide: 0, totalItems: T.Children.count(t.children), deviceType: "", domLoaded: !1, transform: 0, containerWidth: 0 }, e.onResize = e.onResize.bind(e), e.handleDown = e.handleDown.bind(e), e.handleMove = e.handleMove.bind(e), e.handleOut = e.handleOut.bind(e), e.onKeyUp = e.onKeyUp.bind(e), e.handleEnter = e.handleEnter.bind(e), e.setIsInThrottle = e.setIsInThrottle.bind(e), e.next = v.throttle(e.next.bind(e), t.transitionDuration || E, e.setIsInThrottle), e.previous = v.throttle(e.previous.bind(e), t.transitionDuration || E, e.setIsInThrottle), e.goToSlide = v.throttle(e.goToSlide.bind(e), t.transitionDuration || E, e.setIsInThrottle), e.onMove = !1, e.initialX = 0, e.lastX = 0, e.isAnimationAllowed = !1, e.direction = "", e.initialY = 0, e.isInThrottle = !1, e.transformPlaceHolder = 0, e;
296
+ }
297
+ return Yt(i, o), i.prototype.resetTotalItems = function() {
298
+ var t = this, e = T.Children.count(this.props.children), r = v.notEnoughChildren(this.state) ? 0 : Math.max(0, Math.min(this.state.currentSlide, e));
299
+ this.setState({ totalItems: e, currentSlide: r }, function() {
300
+ t.setContainerAndItemWidth(t.state.slidesToShow, !0);
301
+ });
302
+ }, i.prototype.setIsInThrottle = function(t) {
303
+ t === void 0 && (t = !1), this.isInThrottle = t;
304
+ }, i.prototype.setTransformDirectly = function(t, e) {
305
+ var r = this.props.additionalTransfrom;
306
+ this.transformPlaceHolder = t;
307
+ var s = k.getTransform(this.state, this.props, this.transformPlaceHolder);
308
+ this.listRef && this.listRef.current && (this.setAnimationDirectly(e), this.listRef.current.style.transform = "translate3d(" + (s + r) + "px,0,0)");
309
+ }, i.prototype.setAnimationDirectly = function(t) {
310
+ this.listRef && this.listRef.current && (this.listRef.current.style.transition = t ? this.props.customTransition || rt : "none");
311
+ }, i.prototype.componentDidMount = function() {
312
+ this.setState({ domLoaded: !0 }), this.setItemsToShow(), window.addEventListener("resize", this.onResize), this.onResize(!0), this.props.keyBoardControl && window.addEventListener("keyup", this.onKeyUp), this.props.autoPlay && (this.autoPlay = setInterval(this.next, this.props.autoPlaySpeed));
313
+ }, i.prototype.setClones = function(t, e, r, s) {
314
+ var a = this;
315
+ s === void 0 && (s = !1), this.isAnimationAllowed = !1;
316
+ var n = T.Children.toArray(this.props.children), l = v.getInitialSlideInInfiniteMode(t || this.state.slidesToShow, n), u = v.getClones(this.state.slidesToShow, n), h = n.length < this.state.slidesToShow ? 0 : this.state.currentSlide;
317
+ this.setState({ totalItems: u.length, currentSlide: r && !s ? h : l }, function() {
318
+ a.correctItemsPosition(e || a.state.itemWidth);
319
+ });
320
+ }, i.prototype.setItemsToShow = function(t, e) {
321
+ var r = this, s = this.props.responsive;
322
+ Object.keys(s).forEach(function(a) {
323
+ var n = s[a], l = n.breakpoint, u = n.items, h = l.max, c = l.min, d = [window.innerWidth];
324
+ window.screen && window.screen.width && d.push(window.screen.width);
325
+ var p = Math.min.apply(Math, d);
326
+ c <= p && p <= h && (r.setState({ slidesToShow: u, deviceType: a }), r.setContainerAndItemWidth(u, t, e));
327
+ });
328
+ }, i.prototype.setContainerAndItemWidth = function(t, e, r) {
329
+ var s = this;
330
+ if (this.containerRef && this.containerRef.current) {
331
+ var a = this.containerRef.current.offsetWidth, n = v.getItemClientSideWidth(this.props, t, a);
332
+ this.setState({ containerWidth: a, itemWidth: n }, function() {
333
+ s.props.infinite && s.setClones(t, n, e, r);
334
+ }), e && this.correctItemsPosition(n);
335
+ }
336
+ }, i.prototype.correctItemsPosition = function(t, e, r) {
337
+ e && (this.isAnimationAllowed = !0), !e && this.isAnimationAllowed && (this.isAnimationAllowed = !1);
338
+ var s = this.state.totalItems < this.state.slidesToShow ? 0 : -t * this.state.currentSlide;
339
+ r && this.setTransformDirectly(s, !0), this.setState({ transform: s });
340
+ }, i.prototype.onResize = function(t) {
341
+ var e;
342
+ e = !!this.props.infinite && (typeof t != "boolean" || !t), this.setItemsToShow(e);
343
+ }, i.prototype.componentDidUpdate = function(t, e) {
344
+ var r = this, s = t.keyBoardControl, a = t.autoPlay, n = t.children, l = e.containerWidth, u = e.domLoaded, h = e.currentSlide;
345
+ if (this.containerRef && this.containerRef.current && this.containerRef.current.offsetWidth !== l && (this.itemsToShowTimeout && clearTimeout(this.itemsToShowTimeout), this.itemsToShowTimeout = setTimeout(function() {
346
+ r.setItemsToShow(!0);
347
+ }, this.props.transitionDuration || E)), s && !this.props.keyBoardControl && window.removeEventListener("keyup", this.onKeyUp), !s && this.props.keyBoardControl && window.addEventListener("keyup", this.onKeyUp), a && !this.props.autoPlay && this.autoPlay && (clearInterval(this.autoPlay), this.autoPlay = void 0), a || !this.props.autoPlay || this.autoPlay || (this.autoPlay = setInterval(this.next, this.props.autoPlaySpeed)), n.length !== this.props.children.length ? i.clonesTimeout = setTimeout(function() {
348
+ r.props.infinite ? r.setClones(r.state.slidesToShow, r.state.itemWidth, !0, !0) : r.resetTotalItems();
349
+ }, this.props.transitionDuration || E) : this.props.infinite && this.state.currentSlide !== h && this.correctClonesPosition({ domLoaded: u }), this.transformPlaceHolder !== this.state.transform && (this.transformPlaceHolder = this.state.transform), this.props.autoPlay && this.props.rewind && !this.props.infinite && v.isInRightEnd(this.state)) {
350
+ var c = this.props.transitionDuration || E;
351
+ i.isInThrottleTimeout = setTimeout(function() {
352
+ r.setIsInThrottle(!1), r.resetAutoplayInterval(), r.goToSlide(0, void 0, !!r.props.rewindWithAnimation);
353
+ }, c + this.props.autoPlaySpeed);
354
+ }
355
+ }, i.prototype.correctClonesPosition = function(t) {
356
+ var e = this, r = t.domLoaded, s = T.Children.toArray(this.props.children), a = v.checkClonesPosition(this.state, s, this.props), n = a.isReachingTheEnd, l = a.isReachingTheStart, u = a.nextSlide, h = a.nextPosition;
357
+ this.state.domLoaded && r && (n || l) && (this.isAnimationAllowed = !1, i.transformTimeout = setTimeout(function() {
358
+ e.setState({ transform: h, currentSlide: u });
359
+ }, this.props.transitionDuration || E));
360
+ }, i.prototype.next = function(t) {
361
+ var e = this;
362
+ t === void 0 && (t = 0);
363
+ var r = this.props, s = r.afterChange, a = r.beforeChange;
364
+ if (!v.notEnoughChildren(this.state)) {
365
+ var n = v.populateNextSlides(this.state, this.props, t), l = n.nextSlides, u = n.nextPosition, h = this.state.currentSlide;
366
+ l !== void 0 && u !== void 0 && (typeof a == "function" && a(l, this.getState()), this.isAnimationAllowed = !0, this.props.shouldResetAutoplay && this.resetAutoplayInterval(), this.setState({ transform: u, currentSlide: l }, function() {
367
+ typeof s == "function" && (i.afterChangeTimeout = setTimeout(function() {
368
+ s(h, e.getState());
369
+ }, e.props.transitionDuration || E));
370
+ }));
371
+ }
372
+ }, i.prototype.previous = function(t) {
373
+ var e = this;
374
+ t === void 0 && (t = 0);
375
+ var r = this.props, s = r.afterChange, a = r.beforeChange;
376
+ if (!v.notEnoughChildren(this.state)) {
377
+ var n = v.populatePreviousSlides(this.state, this.props, t), l = n.nextSlides, u = n.nextPosition;
378
+ if (l !== void 0 && u !== void 0) {
379
+ var h = this.state.currentSlide;
380
+ typeof a == "function" && a(l, this.getState()), this.isAnimationAllowed = !0, this.props.shouldResetAutoplay && this.resetAutoplayInterval(), this.setState({ transform: u, currentSlide: l }, function() {
381
+ typeof s == "function" && (i.afterChangeTimeout2 = setTimeout(function() {
382
+ s(h, e.getState());
383
+ }, e.props.transitionDuration || E));
384
+ });
385
+ }
386
+ }
387
+ }, i.prototype.resetAutoplayInterval = function() {
388
+ this.props.autoPlay && (clearInterval(this.autoPlay), this.autoPlay = setInterval(this.next, this.props.autoPlaySpeed));
389
+ }, i.prototype.componentWillUnmount = function() {
390
+ window.removeEventListener("resize", this.onResize), this.props.keyBoardControl && window.removeEventListener("keyup", this.onKeyUp), this.props.autoPlay && this.autoPlay && (clearInterval(this.autoPlay), this.autoPlay = void 0), this.itemsToShowTimeout && clearTimeout(this.itemsToShowTimeout), i.clonesTimeout && clearTimeout(i.clonesTimeout), i.isInThrottleTimeout && clearTimeout(i.isInThrottleTimeout), i.transformTimeout && clearTimeout(i.transformTimeout), i.afterChangeTimeout && clearTimeout(i.afterChangeTimeout), i.afterChangeTimeout2 && clearTimeout(i.afterChangeTimeout2), i.afterChangeTimeout3 && clearTimeout(i.afterChangeTimeout3);
391
+ }, i.prototype.resetMoveStatus = function() {
392
+ this.onMove = !1, this.initialX = 0, this.lastX = 0, this.direction = "", this.initialY = 0;
393
+ }, i.prototype.getCords = function(t) {
394
+ var e = t.clientX, r = t.clientY;
395
+ return { clientX: k.parsePosition(this.props, e), clientY: k.parsePosition(this.props, r) };
396
+ }, i.prototype.handleDown = function(t) {
397
+ if (!(!R.isMouseMoveEvent(t) && !this.props.swipeable || R.isMouseMoveEvent(t) && !this.props.draggable || this.isInThrottle)) {
398
+ var e = this.getCords(R.isMouseMoveEvent(t) ? t : t.touches[0]), r = e.clientX, s = e.clientY;
399
+ this.onMove = !0, this.initialX = r, this.initialY = s, this.lastX = r, this.isAnimationAllowed = !1;
400
+ }
401
+ }, i.prototype.handleMove = function(t) {
402
+ if (!(!R.isMouseMoveEvent(t) && !this.props.swipeable || R.isMouseMoveEvent(t) && !this.props.draggable || v.notEnoughChildren(this.state))) {
403
+ var e = this.getCords(R.isMouseMoveEvent(t) ? t : t.touches[0]), r = e.clientX, s = e.clientY, a = this.initialX - r, n = this.initialY - s;
404
+ if (this.onMove) {
405
+ if (!(Math.abs(a) > Math.abs(n))) return;
406
+ var l = v.populateSlidesOnMouseTouchMove(this.state, this.props, this.initialX, this.lastX, r, this.transformPlaceHolder), u = l.direction, h = l.nextPosition, c = l.canContinue;
407
+ u && (this.direction = u, c && h !== void 0 && this.setTransformDirectly(h)), this.lastX = r;
408
+ }
409
+ }
410
+ }, i.prototype.handleOut = function(t) {
411
+ this.props.autoPlay && !this.autoPlay && (this.autoPlay = setInterval(this.next, this.props.autoPlaySpeed));
412
+ var e = t.type === "touchend" && !this.props.swipeable, r = (t.type === "mouseleave" || t.type === "mouseup") && !this.props.draggable;
413
+ if (!e && !r && this.onMove) {
414
+ if (this.setAnimationDirectly(!0), this.direction === "right") if (this.initialX - this.lastX >= this.props.minimumTouchDrag) {
415
+ var s = Math.round((this.initialX - this.lastX) / this.state.itemWidth);
416
+ this.next(s);
417
+ } else this.correctItemsPosition(this.state.itemWidth, !0, !0);
418
+ this.direction === "left" && (this.lastX - this.initialX > this.props.minimumTouchDrag ? (s = Math.round((this.lastX - this.initialX) / this.state.itemWidth), this.previous(s)) : this.correctItemsPosition(this.state.itemWidth, !0, !0)), this.resetMoveStatus();
419
+ }
420
+ }, i.prototype.isInViewport = function(t) {
421
+ var e = t.getBoundingClientRect(), r = e.top, s = r === void 0 ? 0 : r, a = e.left, n = a === void 0 ? 0 : a, l = e.bottom, u = l === void 0 ? 0 : l, h = e.right, c = h === void 0 ? 0 : h;
422
+ return 0 <= s && 0 <= n && u <= (window.innerHeight || document.documentElement.clientHeight) && c <= (window.innerWidth || document.documentElement.clientWidth);
423
+ }, i.prototype.isChildOfCarousel = function(t) {
424
+ return !!(t instanceof Element && this.listRef && this.listRef.current) && this.listRef.current.contains(t);
425
+ }, i.prototype.onKeyUp = function(t) {
426
+ var e = t.target;
427
+ switch (t.keyCode) {
428
+ case 37:
429
+ if (this.isChildOfCarousel(e)) return this.previous();
430
+ break;
431
+ case 39:
432
+ if (this.isChildOfCarousel(e)) return this.next();
433
+ break;
434
+ case 9:
435
+ if (this.isChildOfCarousel(e) && e instanceof HTMLInputElement && this.isInViewport(e)) return this.next();
436
+ }
437
+ }, i.prototype.handleEnter = function(t) {
438
+ R.isMouseMoveEvent(t) && this.autoPlay && this.props.autoPlay && this.props.pauseOnHover && (clearInterval(this.autoPlay), this.autoPlay = void 0);
439
+ }, i.prototype.goToSlide = function(t, e, r) {
440
+ var s = this;
441
+ if (r === void 0 && (r = !0), !this.isInThrottle) {
442
+ var a = this.state.itemWidth, n = this.props, l = n.afterChange, u = n.beforeChange, h = this.state.currentSlide;
443
+ typeof u != "function" || e && (typeof e != "object" || e.skipBeforeChange) || u(t, this.getState()), this.isAnimationAllowed = r, this.props.shouldResetAutoplay && this.resetAutoplayInterval(), this.setState({ currentSlide: t, transform: -a * t }, function() {
444
+ s.props.infinite && s.correctClonesPosition({ domLoaded: !0 }), typeof l != "function" || e && (typeof e != "object" || e.skipAfterChange) || (i.afterChangeTimeout3 = setTimeout(function() {
445
+ l(h, s.getState());
446
+ }, s.props.transitionDuration || E));
447
+ });
448
+ }
449
+ }, i.prototype.getState = function() {
450
+ return this.state;
451
+ }, i.prototype.renderLeftArrow = function(t) {
452
+ var e = this, r = this.props, s = r.customLeftArrow, a = r.rtl;
453
+ return T.createElement(ot.LeftArrow, { customLeftArrow: s, getState: function() {
454
+ return e.getState();
455
+ }, previous: this.previous, disabled: t, rtl: a });
456
+ }, i.prototype.renderRightArrow = function(t) {
457
+ var e = this, r = this.props, s = r.customRightArrow, a = r.rtl;
458
+ return T.createElement(ot.RightArrow, { customRightArrow: s, getState: function() {
459
+ return e.getState();
460
+ }, next: this.next, disabled: t, rtl: a });
461
+ }, i.prototype.renderButtonGroups = function() {
462
+ var t = this, e = this.props.customButtonGroup;
463
+ return e ? T.cloneElement(e, { previous: function() {
464
+ return t.previous();
465
+ }, next: function() {
466
+ return t.next();
467
+ }, goToSlide: function(r, s) {
468
+ return t.goToSlide(r, s);
469
+ }, carouselState: this.getState() }) : null;
470
+ }, i.prototype.renderDotsList = function() {
471
+ var t = this;
472
+ return T.createElement(Ut.default, { state: this.state, props: this.props, goToSlide: this.goToSlide, getState: function() {
473
+ return t.getState();
474
+ } });
475
+ }, i.prototype.renderCarouselItems = function() {
476
+ var t = [];
477
+ if (this.props.infinite) {
478
+ var e = T.Children.toArray(this.props.children);
479
+ t = v.getClones(this.state.slidesToShow, e);
480
+ }
481
+ return T.createElement(zt.default, { clones: t, goToSlide: this.goToSlide, state: this.state, notEnoughChildren: v.notEnoughChildren(this.state), props: this.props });
482
+ }, i.prototype.render = function() {
483
+ var t = this.props, e = t.deviceType, r = t.arrows, s = t.renderArrowsWhenDisabled, a = t.removeArrowOnDeviceType, n = t.infinite, l = t.containerClass, u = t.sliderClass, h = t.customTransition, c = t.additionalTransfrom, d = t.renderDotsOutside, p = t.renderButtonGroupOutside, f = t.className, g = t.rtl;
484
+ process.env.NODE_ENV !== "production" && v.throwError(this.state, this.props);
485
+ var w = v.getInitialState(this.state, this.props), b = w.shouldRenderOnSSR, C = w.shouldRenderAtAll, S = v.isInLeftEnd(this.state), M = v.isInRightEnd(this.state), I = r && !(a && (e && -1 < a.indexOf(e) || this.state.deviceType && -1 < a.indexOf(this.state.deviceType))) && !v.notEnoughChildren(this.state) && C, _ = !n && S, W = !n && M, L = k.getTransform(this.state, this.props);
486
+ return T.createElement(T.Fragment, null, T.createElement("div", { className: "react-multi-carousel-list " + l + " " + f, dir: g ? "rtl" : "ltr", ref: this.containerRef }, T.createElement("ul", { ref: this.listRef, className: "react-multi-carousel-track " + u, style: { transition: this.isAnimationAllowed ? h || rt : "none", overflow: b ? "hidden" : "unset", transform: "translate3d(" + (L + c) + "px,0,0)" }, onMouseMove: this.handleMove, onMouseDown: this.handleDown, onMouseUp: this.handleOut, onMouseEnter: this.handleEnter, onMouseLeave: this.handleOut, onTouchStart: this.handleDown, onTouchMove: this.handleMove, onTouchEnd: this.handleOut }, this.renderCarouselItems()), I && (!_ || s) && this.renderLeftArrow(_), I && (!W || s) && this.renderRightArrow(W), C && !p && this.renderButtonGroups(), C && !d && this.renderDotsList()), C && d && this.renderDotsList(), C && p && this.renderButtonGroups());
487
+ }, i.defaultProps = { slidesToSlide: 1, infinite: !1, draggable: !0, swipeable: !0, arrows: !0, renderArrowsWhenDisabled: !1, containerClass: "", sliderClass: "", itemClass: "", keyBoardControl: !0, autoPlaySpeed: 3e3, showDots: !1, renderDotsOutside: !1, renderButtonGroupOutside: !1, minimumTouchDrag: 80, className: "", dotListClass: "", focusOnSelect: !1, centerMode: !1, additionalTransfrom: 0, pauseOnHover: !0, shouldResetAutoplay: !0, rewind: !1, rtl: !1, rewindWithAnimation: !1 }, i;
488
+ }(T.Component);
489
+ z.default = Kt;
490
+ Object.defineProperty(U, "__esModule", { value: !0 });
491
+ var qt = z;
492
+ U.default = qt.default;
493
+ var Jt = U;
494
+ const Ht = /* @__PURE__ */ dt(Jt);
495
+ export {
496
+ Ht as C
497
+ };
@@ -0,0 +1 @@
1
+ "use strict";const L=require("./_commonjsHelpers-DwTZ_eVU.cjs"),A=require("react");var U={},z={},m={},F={};(function(o){function i(a,n,l){var u=n.slidesToShow,h=n.currentSlide;return l.length>2*u?a+2*u:h>=l.length?l.length+a:a}function t(a,n){if(n.length>2*a){for(var l={},u=n.length-2*a,h=n.length-u,c=u,d=0;d<h;d++)l[d]=c,c++;var p=n.length+h,f=p+n.slice(0,2*a).length,g=0;for(d=p;d<=f;d++)l[d]=g,g++;var w=p,b=0;for(d=h;d<w;d++)l[d]=b,b++;return l}l={};var C=3*n.length,S=0;for(d=0;d<C;d++)l[d]=S,++S===n.length&&(S=0);return l}function e(a,n){return n.length<a?n:n.length>2*a?n.slice(n.length-2*a,n.length).concat(n,n.slice(0,2*a)):n.concat(n,n)}function r(a,n){return n.length>2*a?2*a:n.length}function s(a,n,l){var u,h=a.currentSlide,c=a.slidesToShow,d=a.itemWidth,p=a.totalItems,f=0,g=0,w=h===0,b=n.length-(n.length-2*c);return n.length<c?(g=f=0,w=u=!1):n.length>2*c?((u=h>=b+n.length)&&(g=-d*(f=h-n.length)),w&&(g=-d*(f=b+(n.length-2*c)))):((u=h>=2*n.length)&&(g=-d*(f=h-n.length)),w&&(g=l.showDots?-d*(f=n.length):-d*(f=p/3))),{isReachingTheEnd:u,isReachingTheStart:w,nextSlide:f,nextPosition:g}}Object.defineProperty(o,"__esModule",{value:!0}),o.getOriginalCounterPart=i,o.getOriginalIndexLookupTableByClones=t,o.getClones=e,o.getInitialSlideInInfiniteMode=r,o.checkClonesPosition=s})(F);var O={};Object.defineProperty(O,"__esModule",{value:!0});var et=!1;function dt(o,i,t,e){var r=0,s=e||t;return i&&s&&(!et&&process.env.NODE_ENV!=="production"&&o[s].paritialVisibilityGutter&&(et=!0,console.warn("You appear to be using paritialVisibilityGutter instead of partialVisibilityGutter which will be moved to partialVisibilityGutter in the future completely")),r=o[s].partialVisibilityGutter||o[s].paritialVisibilityGutter),r}function ct(o,i){var t;return i[o]&&(t=(100/i[o].items).toFixed(1)),t}function pt(o,i,t){return Math.round(t/(i+(o.centerMode?1:0)))}O.getPartialVisibilityGutter=dt,O.getWidthFromDeviceType=ct,O.getItemClientSideWidth=pt;var y={};Object.defineProperty(y,"__esModule",{value:!0});var Y=O;function K(o){var i=o.slidesToShow;return o.totalItems<i}function ft(o,i){var t,e=o.domLoaded,r=o.slidesToShow,s=o.containerWidth,a=o.itemWidth,n=i.deviceType,l=i.responsive,u=i.ssr,h=i.partialVisbile,c=i.partialVisible,d=!!(e&&r&&s&&a);u&&n&&!d&&(t=Y.getWidthFromDeviceType(n,l));var p=!!(u&&n&&!d&&t);return{shouldRenderOnSSR:p,flexBisis:t,domFullyLoaded:d,partialVisibilityGutter:Y.getPartialVisibilityGutter(l,h||c,n,o.deviceType),shouldRenderAtAll:p||d}}function mt(o,i){var t=i.currentSlide,e=i.slidesToShow;return t<=o&&o<t+e}function nt(o,i,t){var e=t||o.transform;return!i.infinite&&o.currentSlide===0||K(o)?e:e+o.itemWidth/2}function vt(o){return!(0<o.currentSlide)}function st(o){var i=o.currentSlide,t=o.totalItems;return!(i+o.slidesToShow<t)}function at(o,i,t,e){i===void 0&&(i=0);var r=o.currentSlide,s=o.slidesToShow,a=st(o),n=!t.infinite&&a,l=e||o.transform;if(K(o))return l;var u=l+r*i;return n?u+(o.containerWidth-(o.itemWidth-i)*s):u}function lt(o,i){return o.rtl?-1*i:i}function gt(o,i,t){var e=i.partialVisbile,r=i.partialVisible,s=i.responsive,a=i.deviceType,n=i.centerMode,l=t||o.transform,u=Y.getPartialVisibilityGutter(s,e||r,a,o.deviceType);return lt(i,r||e?at(o,u,i,t):n?nt(o,i,t):l)}function St(o,i){var t=o.domLoaded,e=o.slidesToShow,r=o.containerWidth,s=o.itemWidth,a=i.deviceType,n=i.responsive,l=i.slidesToSlide||1,u=!!(t&&e&&r&&s);return i.ssr&&i.deviceType&&!u&&Object.keys(n).forEach(function(h){var c=n[h].slidesToSlide;a===h&&c&&(l=c)}),u&&Object.keys(n).forEach(function(h){var c=n[h],d=c.breakpoint,p=c.slidesToSlide,f=d.max,g=d.min;p&&window.innerWidth>=g&&window.innerWidth<=f&&(l=p)}),l}y.notEnoughChildren=K,y.getInitialState=ft,y.getIfSlideIsVisbile=mt,y.getTransformForCenterMode=nt,y.isInLeftEnd=vt,y.isInRightEnd=st,y.getTransformForPartialVsibile=at,y.parsePosition=lt,y.getTransform=gt,y.getSlidesToSlide=St;var q={};Object.defineProperty(q,"__esModule",{value:!0});var yt=function(o,i,t){var e;return function(){var r=arguments;e||(o.apply(this,r),e=!0,typeof t=="function"&&t(!0),setTimeout(function(){e=!1,typeof t=="function"&&t(!1)},i))}};q.default=yt;var ut={};(function(o){function i(t,e){var r=e.partialVisbile,s=e.partialVisible,a=e.centerMode,n=e.ssr,l=e.responsive;if((r||s)&&a)throw new Error("center mode can not be used at the same time with partialVisible");if(!l)throw n?new Error("ssr mode need to be used in conjunction with responsive prop"):new Error("Responsive prop is needed for deciding the amount of items to show on the screen");if(l&&typeof l!="object")throw new Error("responsive prop must be an object")}Object.defineProperty(o,"__esModule",{value:!0}),o.default=i})(ut);var J={};Object.defineProperty(J,"__esModule",{value:!0});var Tt=y;function wt(o,i,t){t===void 0&&(t=0);var e,r,s=o.slidesToShow,a=o.currentSlide,n=o.itemWidth,l=o.totalItems,u=Tt.getSlidesToSlide(o,i),h=a+1+t+s+(0<t?0:u);return r=h<=l?-n*(e=a+t+(0<t?0:u)):l<h&&a!==l-s?-n*(e=l-s):e=void 0,{nextSlides:e,nextPosition:r}}J.populateNextSlides=wt;var Q={};Object.defineProperty(Q,"__esModule",{value:!0});var bt=A,Ct=y,It=y;function Mt(o,i,t){t===void 0&&(t=0);var e,r,s=o.currentSlide,a=o.itemWidth,n=o.slidesToShow,l=i.children,u=i.showDots,h=i.infinite,c=Ct.getSlidesToSlide(o,i),d=s-t-(0<t?0:c),p=(bt.Children.toArray(l).length-n)%c;return r=0<=d?(e=d,u&&!h&&0<p&&It.isInRightEnd(o)&&(e=s-p),-a*e):e=d<0&&s!==0?0:void 0,{nextSlides:e,nextPosition:r}}Q.populatePreviousSlides=Mt;var ht={};(function(o){function i(t,e,r,s,a,n){var l,u,h=t.itemWidth,c=t.slidesToShow,d=t.totalItems,p=t.currentSlide,f=e.infinite,g=!1,w=Math.round((r-s)/h),b=Math.round((s-r)/h),C=r<a;if(a<r&&w<=c){l="right";var S=Math.abs(-h*(d-c)),M=n-(s-a),I=p===d-c;(Math.abs(M)<=S||I&&f)&&(u=M,g=!0)}return C&&b<=c&&(l="left",((M=n+(a-s))<=0||p===0&&f)&&(g=!0,u=M)),{direction:l,nextPosition:u,canContinue:g}}Object.defineProperty(o,"__esModule",{value:!0}),o.populateSlidesOnMouseTouchMove=i})(ht);Object.defineProperty(m,"__esModule",{value:!0});var V=F;m.getOriginalCounterPart=V.getOriginalCounterPart,m.getClones=V.getClones,m.checkClonesPosition=V.checkClonesPosition,m.getInitialSlideInInfiniteMode=V.getInitialSlideInInfiniteMode;var $=O;m.getWidthFromDeviceType=$.getWidthFromDeviceType,m.getPartialVisibilityGutter=$.getPartialVisibilityGutter,m.getItemClientSideWidth=$.getItemClientSideWidth;var P=y;m.getInitialState=P.getInitialState,m.getIfSlideIsVisbile=P.getIfSlideIsVisbile,m.getTransformForCenterMode=P.getTransformForCenterMode,m.getTransformForPartialVsibile=P.getTransformForPartialVsibile,m.isInLeftEnd=P.isInLeftEnd,m.isInRightEnd=P.isInRightEnd,m.notEnoughChildren=P.notEnoughChildren,m.getSlidesToSlide=P.getSlidesToSlide;var Et=q;m.throttle=Et.default;var Pt=ut;m.throwError=Pt.default;var Rt=J;m.populateNextSlides=Rt.populateNextSlides;var _t=Q;m.populatePreviousSlides=_t.populatePreviousSlides;var Ot=ht;m.populateSlidesOnMouseTouchMove=Ot.populateSlidesOnMouseTouchMove;var B={},At=L.commonjsGlobal&&L.commonjsGlobal.__extends||function(){var o=function(i,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)r.hasOwnProperty(s)&&(e[s]=r[s])})(i,t)};return function(i,t){function e(){this.constructor=i}o(i,t),i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}}();Object.defineProperty(B,"__esModule",{value:!0});var Wt=A;function Dt(o){return"clientY"in o}B.isMouseMoveEvent=Dt;var Lt=function(o){function i(){return o!==null&&o.apply(this,arguments)||this}return At(i,o),i}(Wt.Component);B.default=Lt;var Z={},H={};Object.defineProperty(H,"__esModule",{value:!0});var xt=F,Vt=y;function kt(o,i,t,e){var r={},s=Vt.getSlidesToSlide(i,t);return Array(o).fill(0).forEach(function(a,n){var l=xt.getOriginalCounterPart(n,i,e);if(n===0)r[0]=l;else{var u=r[n-1]+s;r[n]=u}}),r}H.getLookupTableForNextSlides=kt;Object.defineProperty(Z,"__esModule",{value:!0});var D=A,jt=F,Gt=H,it=y,Ft=function(o){var i=o.props,t=o.state,e=o.goToSlide,r=o.getState,s=i.showDots,a=i.customDot,n=i.dotListClass,l=i.infinite,u=i.children;if(!s||it.notEnoughChildren(t))return null;var h,c=t.currentSlide,d=t.slidesToShow,p=it.getSlidesToSlide(t,i),f=D.Children.toArray(u);h=l?Math.ceil(f.length/p):Math.ceil((f.length-d)/p)+1;var g=Gt.getLookupTableForNextSlides(h,t,i,f),w=jt.getOriginalIndexLookupTableByClones(d,f),b=w[c];return D.createElement("ul",{className:"react-multi-carousel-dot-list "+n},Array(h).fill(0).map(function(C,S){var M,I;if(l){I=g[S];var _=w[I];M=b===_||_<=b&&b<_+p}else{var W=f.length-d,x=S*p;M=(I=W<x?W:x)===c||I<c&&c<I+p&&c<f.length-d}return a?D.cloneElement(a,{index:S,active:M,key:S,onClick:function(){return e(I)},carouselState:r()}):D.createElement("li",{"data-index":S,key:S,className:"react-multi-carousel-dot "+(M?"react-multi-carousel-dot--active":"")},D.createElement("button",{"aria-label":"Go to slide "+(S+1),onClick:function(){return e(I)}}))}))};Z.default=Ft;var N={};Object.defineProperty(N,"__esModule",{value:!0});var G=A,Bt=function(o){var i=o.customLeftArrow,t=o.getState,e=o.previous,r=o.disabled,s=o.rtl;if(i)return G.cloneElement(i,{onClick:function(){return e()},carouselState:t(),disabled:r,rtl:s});var a=s?"rtl":"";return G.createElement("button",{"aria-label":"Go to previous slide",className:"react-multiple-carousel__arrow react-multiple-carousel__arrow--left "+a,onClick:function(){return e()},type:"button",disabled:r})};N.LeftArrow=Bt;var Nt=function(o){var i=o.customRightArrow,t=o.getState,e=o.next,r=o.disabled,s=o.rtl;if(i)return G.cloneElement(i,{onClick:function(){return e()},carouselState:t(),disabled:r,rtl:s});var a=s?"rtl":"";return G.createElement("button",{"aria-label":"Go to next slide",className:"react-multiple-carousel__arrow react-multiple-carousel__arrow--right "+a,onClick:function(){return e()},type:"button",disabled:r})};N.RightArrow=Nt;var tt={};Object.defineProperty(tt,"__esModule",{value:!0});var k=A,X=m,$t=function(o){var i=o.props,t=o.state,e=o.goToSlide,r=o.clones,s=o.notEnoughChildren,a=t.itemWidth,n=i.children,l=i.infinite,u=i.itemClass,h=i.itemAriaLabel,c=i.partialVisbile,d=i.partialVisible,p=X.getInitialState(t,i),f=p.flexBisis,g=p.shouldRenderOnSSR,w=p.domFullyLoaded,b=p.partialVisibilityGutter;return p.shouldRenderAtAll?(c&&console.warn('WARNING: Please correct props name: "partialVisible" as old typo will be removed in future versions!'),k.createElement(k.Fragment,null,(l?r:k.Children.toArray(n)).map(function(C,S){return k.createElement("li",{key:S,"data-index":S,onClick:function(){i.focusOnSelect&&e(S)},"aria-hidden":X.getIfSlideIsVisbile(S,t)?"false":"true","aria-label":h||(C.props.ariaLabel?C.props.ariaLabel:null),style:{flex:g?"1 0 "+f+"%":"auto",position:"relative",width:w?((c||d)&&b&&!s?a-b:a)+"px":"auto"},className:"react-multi-carousel-item "+(X.getIfSlideIsVisbile(S,t)?"react-multi-carousel-item--active":"")+" "+u},C)}))):null};tt.default=$t;var Xt=L.commonjsGlobal&&L.commonjsGlobal.__extends||function(){var o=function(i,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)r.hasOwnProperty(s)&&(e[s]=r[s])})(i,t)};return function(i,t){function e(){this.constructor=i}o(i,t),i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}}();Object.defineProperty(z,"__esModule",{value:!0});var T=A,v=m,R=B,Yt=Z,ot=N,Ut=tt,j=y,E=400,rt="transform 400ms ease-in-out",zt=function(o){function i(t){var e=o.call(this,t)||this;return e.containerRef=T.createRef(),e.listRef=T.createRef(),e.state={itemWidth:0,slidesToShow:0,currentSlide:0,totalItems:T.Children.count(t.children),deviceType:"",domLoaded:!1,transform:0,containerWidth:0},e.onResize=e.onResize.bind(e),e.handleDown=e.handleDown.bind(e),e.handleMove=e.handleMove.bind(e),e.handleOut=e.handleOut.bind(e),e.onKeyUp=e.onKeyUp.bind(e),e.handleEnter=e.handleEnter.bind(e),e.setIsInThrottle=e.setIsInThrottle.bind(e),e.next=v.throttle(e.next.bind(e),t.transitionDuration||E,e.setIsInThrottle),e.previous=v.throttle(e.previous.bind(e),t.transitionDuration||E,e.setIsInThrottle),e.goToSlide=v.throttle(e.goToSlide.bind(e),t.transitionDuration||E,e.setIsInThrottle),e.onMove=!1,e.initialX=0,e.lastX=0,e.isAnimationAllowed=!1,e.direction="",e.initialY=0,e.isInThrottle=!1,e.transformPlaceHolder=0,e}return Xt(i,o),i.prototype.resetTotalItems=function(){var t=this,e=T.Children.count(this.props.children),r=v.notEnoughChildren(this.state)?0:Math.max(0,Math.min(this.state.currentSlide,e));this.setState({totalItems:e,currentSlide:r},function(){t.setContainerAndItemWidth(t.state.slidesToShow,!0)})},i.prototype.setIsInThrottle=function(t){t===void 0&&(t=!1),this.isInThrottle=t},i.prototype.setTransformDirectly=function(t,e){var r=this.props.additionalTransfrom;this.transformPlaceHolder=t;var s=j.getTransform(this.state,this.props,this.transformPlaceHolder);this.listRef&&this.listRef.current&&(this.setAnimationDirectly(e),this.listRef.current.style.transform="translate3d("+(s+r)+"px,0,0)")},i.prototype.setAnimationDirectly=function(t){this.listRef&&this.listRef.current&&(this.listRef.current.style.transition=t?this.props.customTransition||rt:"none")},i.prototype.componentDidMount=function(){this.setState({domLoaded:!0}),this.setItemsToShow(),window.addEventListener("resize",this.onResize),this.onResize(!0),this.props.keyBoardControl&&window.addEventListener("keyup",this.onKeyUp),this.props.autoPlay&&(this.autoPlay=setInterval(this.next,this.props.autoPlaySpeed))},i.prototype.setClones=function(t,e,r,s){var a=this;s===void 0&&(s=!1),this.isAnimationAllowed=!1;var n=T.Children.toArray(this.props.children),l=v.getInitialSlideInInfiniteMode(t||this.state.slidesToShow,n),u=v.getClones(this.state.slidesToShow,n),h=n.length<this.state.slidesToShow?0:this.state.currentSlide;this.setState({totalItems:u.length,currentSlide:r&&!s?h:l},function(){a.correctItemsPosition(e||a.state.itemWidth)})},i.prototype.setItemsToShow=function(t,e){var r=this,s=this.props.responsive;Object.keys(s).forEach(function(a){var n=s[a],l=n.breakpoint,u=n.items,h=l.max,c=l.min,d=[window.innerWidth];window.screen&&window.screen.width&&d.push(window.screen.width);var p=Math.min.apply(Math,d);c<=p&&p<=h&&(r.setState({slidesToShow:u,deviceType:a}),r.setContainerAndItemWidth(u,t,e))})},i.prototype.setContainerAndItemWidth=function(t,e,r){var s=this;if(this.containerRef&&this.containerRef.current){var a=this.containerRef.current.offsetWidth,n=v.getItemClientSideWidth(this.props,t,a);this.setState({containerWidth:a,itemWidth:n},function(){s.props.infinite&&s.setClones(t,n,e,r)}),e&&this.correctItemsPosition(n)}},i.prototype.correctItemsPosition=function(t,e,r){e&&(this.isAnimationAllowed=!0),!e&&this.isAnimationAllowed&&(this.isAnimationAllowed=!1);var s=this.state.totalItems<this.state.slidesToShow?0:-t*this.state.currentSlide;r&&this.setTransformDirectly(s,!0),this.setState({transform:s})},i.prototype.onResize=function(t){var e;e=!!this.props.infinite&&(typeof t!="boolean"||!t),this.setItemsToShow(e)},i.prototype.componentDidUpdate=function(t,e){var r=this,s=t.keyBoardControl,a=t.autoPlay,n=t.children,l=e.containerWidth,u=e.domLoaded,h=e.currentSlide;if(this.containerRef&&this.containerRef.current&&this.containerRef.current.offsetWidth!==l&&(this.itemsToShowTimeout&&clearTimeout(this.itemsToShowTimeout),this.itemsToShowTimeout=setTimeout(function(){r.setItemsToShow(!0)},this.props.transitionDuration||E)),s&&!this.props.keyBoardControl&&window.removeEventListener("keyup",this.onKeyUp),!s&&this.props.keyBoardControl&&window.addEventListener("keyup",this.onKeyUp),a&&!this.props.autoPlay&&this.autoPlay&&(clearInterval(this.autoPlay),this.autoPlay=void 0),a||!this.props.autoPlay||this.autoPlay||(this.autoPlay=setInterval(this.next,this.props.autoPlaySpeed)),n.length!==this.props.children.length?i.clonesTimeout=setTimeout(function(){r.props.infinite?r.setClones(r.state.slidesToShow,r.state.itemWidth,!0,!0):r.resetTotalItems()},this.props.transitionDuration||E):this.props.infinite&&this.state.currentSlide!==h&&this.correctClonesPosition({domLoaded:u}),this.transformPlaceHolder!==this.state.transform&&(this.transformPlaceHolder=this.state.transform),this.props.autoPlay&&this.props.rewind&&!this.props.infinite&&v.isInRightEnd(this.state)){var c=this.props.transitionDuration||E;i.isInThrottleTimeout=setTimeout(function(){r.setIsInThrottle(!1),r.resetAutoplayInterval(),r.goToSlide(0,void 0,!!r.props.rewindWithAnimation)},c+this.props.autoPlaySpeed)}},i.prototype.correctClonesPosition=function(t){var e=this,r=t.domLoaded,s=T.Children.toArray(this.props.children),a=v.checkClonesPosition(this.state,s,this.props),n=a.isReachingTheEnd,l=a.isReachingTheStart,u=a.nextSlide,h=a.nextPosition;this.state.domLoaded&&r&&(n||l)&&(this.isAnimationAllowed=!1,i.transformTimeout=setTimeout(function(){e.setState({transform:h,currentSlide:u})},this.props.transitionDuration||E))},i.prototype.next=function(t){var e=this;t===void 0&&(t=0);var r=this.props,s=r.afterChange,a=r.beforeChange;if(!v.notEnoughChildren(this.state)){var n=v.populateNextSlides(this.state,this.props,t),l=n.nextSlides,u=n.nextPosition,h=this.state.currentSlide;l!==void 0&&u!==void 0&&(typeof a=="function"&&a(l,this.getState()),this.isAnimationAllowed=!0,this.props.shouldResetAutoplay&&this.resetAutoplayInterval(),this.setState({transform:u,currentSlide:l},function(){typeof s=="function"&&(i.afterChangeTimeout=setTimeout(function(){s(h,e.getState())},e.props.transitionDuration||E))}))}},i.prototype.previous=function(t){var e=this;t===void 0&&(t=0);var r=this.props,s=r.afterChange,a=r.beforeChange;if(!v.notEnoughChildren(this.state)){var n=v.populatePreviousSlides(this.state,this.props,t),l=n.nextSlides,u=n.nextPosition;if(l!==void 0&&u!==void 0){var h=this.state.currentSlide;typeof a=="function"&&a(l,this.getState()),this.isAnimationAllowed=!0,this.props.shouldResetAutoplay&&this.resetAutoplayInterval(),this.setState({transform:u,currentSlide:l},function(){typeof s=="function"&&(i.afterChangeTimeout2=setTimeout(function(){s(h,e.getState())},e.props.transitionDuration||E))})}}},i.prototype.resetAutoplayInterval=function(){this.props.autoPlay&&(clearInterval(this.autoPlay),this.autoPlay=setInterval(this.next,this.props.autoPlaySpeed))},i.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.onResize),this.props.keyBoardControl&&window.removeEventListener("keyup",this.onKeyUp),this.props.autoPlay&&this.autoPlay&&(clearInterval(this.autoPlay),this.autoPlay=void 0),this.itemsToShowTimeout&&clearTimeout(this.itemsToShowTimeout),i.clonesTimeout&&clearTimeout(i.clonesTimeout),i.isInThrottleTimeout&&clearTimeout(i.isInThrottleTimeout),i.transformTimeout&&clearTimeout(i.transformTimeout),i.afterChangeTimeout&&clearTimeout(i.afterChangeTimeout),i.afterChangeTimeout2&&clearTimeout(i.afterChangeTimeout2),i.afterChangeTimeout3&&clearTimeout(i.afterChangeTimeout3)},i.prototype.resetMoveStatus=function(){this.onMove=!1,this.initialX=0,this.lastX=0,this.direction="",this.initialY=0},i.prototype.getCords=function(t){var e=t.clientX,r=t.clientY;return{clientX:j.parsePosition(this.props,e),clientY:j.parsePosition(this.props,r)}},i.prototype.handleDown=function(t){if(!(!R.isMouseMoveEvent(t)&&!this.props.swipeable||R.isMouseMoveEvent(t)&&!this.props.draggable||this.isInThrottle)){var e=this.getCords(R.isMouseMoveEvent(t)?t:t.touches[0]),r=e.clientX,s=e.clientY;this.onMove=!0,this.initialX=r,this.initialY=s,this.lastX=r,this.isAnimationAllowed=!1}},i.prototype.handleMove=function(t){if(!(!R.isMouseMoveEvent(t)&&!this.props.swipeable||R.isMouseMoveEvent(t)&&!this.props.draggable||v.notEnoughChildren(this.state))){var e=this.getCords(R.isMouseMoveEvent(t)?t:t.touches[0]),r=e.clientX,s=e.clientY,a=this.initialX-r,n=this.initialY-s;if(this.onMove){if(!(Math.abs(a)>Math.abs(n)))return;var l=v.populateSlidesOnMouseTouchMove(this.state,this.props,this.initialX,this.lastX,r,this.transformPlaceHolder),u=l.direction,h=l.nextPosition,c=l.canContinue;u&&(this.direction=u,c&&h!==void 0&&this.setTransformDirectly(h)),this.lastX=r}}},i.prototype.handleOut=function(t){this.props.autoPlay&&!this.autoPlay&&(this.autoPlay=setInterval(this.next,this.props.autoPlaySpeed));var e=t.type==="touchend"&&!this.props.swipeable,r=(t.type==="mouseleave"||t.type==="mouseup")&&!this.props.draggable;if(!e&&!r&&this.onMove){if(this.setAnimationDirectly(!0),this.direction==="right")if(this.initialX-this.lastX>=this.props.minimumTouchDrag){var s=Math.round((this.initialX-this.lastX)/this.state.itemWidth);this.next(s)}else this.correctItemsPosition(this.state.itemWidth,!0,!0);this.direction==="left"&&(this.lastX-this.initialX>this.props.minimumTouchDrag?(s=Math.round((this.lastX-this.initialX)/this.state.itemWidth),this.previous(s)):this.correctItemsPosition(this.state.itemWidth,!0,!0)),this.resetMoveStatus()}},i.prototype.isInViewport=function(t){var e=t.getBoundingClientRect(),r=e.top,s=r===void 0?0:r,a=e.left,n=a===void 0?0:a,l=e.bottom,u=l===void 0?0:l,h=e.right,c=h===void 0?0:h;return 0<=s&&0<=n&&u<=(window.innerHeight||document.documentElement.clientHeight)&&c<=(window.innerWidth||document.documentElement.clientWidth)},i.prototype.isChildOfCarousel=function(t){return!!(t instanceof Element&&this.listRef&&this.listRef.current)&&this.listRef.current.contains(t)},i.prototype.onKeyUp=function(t){var e=t.target;switch(t.keyCode){case 37:if(this.isChildOfCarousel(e))return this.previous();break;case 39:if(this.isChildOfCarousel(e))return this.next();break;case 9:if(this.isChildOfCarousel(e)&&e instanceof HTMLInputElement&&this.isInViewport(e))return this.next()}},i.prototype.handleEnter=function(t){R.isMouseMoveEvent(t)&&this.autoPlay&&this.props.autoPlay&&this.props.pauseOnHover&&(clearInterval(this.autoPlay),this.autoPlay=void 0)},i.prototype.goToSlide=function(t,e,r){var s=this;if(r===void 0&&(r=!0),!this.isInThrottle){var a=this.state.itemWidth,n=this.props,l=n.afterChange,u=n.beforeChange,h=this.state.currentSlide;typeof u!="function"||e&&(typeof e!="object"||e.skipBeforeChange)||u(t,this.getState()),this.isAnimationAllowed=r,this.props.shouldResetAutoplay&&this.resetAutoplayInterval(),this.setState({currentSlide:t,transform:-a*t},function(){s.props.infinite&&s.correctClonesPosition({domLoaded:!0}),typeof l!="function"||e&&(typeof e!="object"||e.skipAfterChange)||(i.afterChangeTimeout3=setTimeout(function(){l(h,s.getState())},s.props.transitionDuration||E))})}},i.prototype.getState=function(){return this.state},i.prototype.renderLeftArrow=function(t){var e=this,r=this.props,s=r.customLeftArrow,a=r.rtl;return T.createElement(ot.LeftArrow,{customLeftArrow:s,getState:function(){return e.getState()},previous:this.previous,disabled:t,rtl:a})},i.prototype.renderRightArrow=function(t){var e=this,r=this.props,s=r.customRightArrow,a=r.rtl;return T.createElement(ot.RightArrow,{customRightArrow:s,getState:function(){return e.getState()},next:this.next,disabled:t,rtl:a})},i.prototype.renderButtonGroups=function(){var t=this,e=this.props.customButtonGroup;return e?T.cloneElement(e,{previous:function(){return t.previous()},next:function(){return t.next()},goToSlide:function(r,s){return t.goToSlide(r,s)},carouselState:this.getState()}):null},i.prototype.renderDotsList=function(){var t=this;return T.createElement(Yt.default,{state:this.state,props:this.props,goToSlide:this.goToSlide,getState:function(){return t.getState()}})},i.prototype.renderCarouselItems=function(){var t=[];if(this.props.infinite){var e=T.Children.toArray(this.props.children);t=v.getClones(this.state.slidesToShow,e)}return T.createElement(Ut.default,{clones:t,goToSlide:this.goToSlide,state:this.state,notEnoughChildren:v.notEnoughChildren(this.state),props:this.props})},i.prototype.render=function(){var t=this.props,e=t.deviceType,r=t.arrows,s=t.renderArrowsWhenDisabled,a=t.removeArrowOnDeviceType,n=t.infinite,l=t.containerClass,u=t.sliderClass,h=t.customTransition,c=t.additionalTransfrom,d=t.renderDotsOutside,p=t.renderButtonGroupOutside,f=t.className,g=t.rtl;process.env.NODE_ENV!=="production"&&v.throwError(this.state,this.props);var w=v.getInitialState(this.state,this.props),b=w.shouldRenderOnSSR,C=w.shouldRenderAtAll,S=v.isInLeftEnd(this.state),M=v.isInRightEnd(this.state),I=r&&!(a&&(e&&-1<a.indexOf(e)||this.state.deviceType&&-1<a.indexOf(this.state.deviceType)))&&!v.notEnoughChildren(this.state)&&C,_=!n&&S,W=!n&&M,x=j.getTransform(this.state,this.props);return T.createElement(T.Fragment,null,T.createElement("div",{className:"react-multi-carousel-list "+l+" "+f,dir:g?"rtl":"ltr",ref:this.containerRef},T.createElement("ul",{ref:this.listRef,className:"react-multi-carousel-track "+u,style:{transition:this.isAnimationAllowed?h||rt:"none",overflow:b?"hidden":"unset",transform:"translate3d("+(x+c)+"px,0,0)"},onMouseMove:this.handleMove,onMouseDown:this.handleDown,onMouseUp:this.handleOut,onMouseEnter:this.handleEnter,onMouseLeave:this.handleOut,onTouchStart:this.handleDown,onTouchMove:this.handleMove,onTouchEnd:this.handleOut},this.renderCarouselItems()),I&&(!_||s)&&this.renderLeftArrow(_),I&&(!W||s)&&this.renderRightArrow(W),C&&!p&&this.renderButtonGroups(),C&&!d&&this.renderDotsList()),C&&d&&this.renderDotsList(),C&&p&&this.renderButtonGroups())},i.defaultProps={slidesToSlide:1,infinite:!1,draggable:!0,swipeable:!0,arrows:!0,renderArrowsWhenDisabled:!1,containerClass:"",sliderClass:"",itemClass:"",keyBoardControl:!0,autoPlaySpeed:3e3,showDots:!1,renderDotsOutside:!1,renderButtonGroupOutside:!1,minimumTouchDrag:80,className:"",dotListClass:"",focusOnSelect:!1,centerMode:!1,additionalTransfrom:0,pauseOnHover:!0,shouldResetAutoplay:!0,rewind:!1,rtl:!1,rewindWithAnimation:!1},i}(T.Component);z.default=zt;Object.defineProperty(U,"__esModule",{value:!0});var Kt=z;U.default=Kt.default;var qt=U;const Jt=L.getDefaultExportFromCjs(qt);exports.Carousel=Jt;
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),t=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),n=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),c=require("./FileInput.cjs"),a=require("./NumberInput.cjs"),s=require("./PasswordInput.cjs"),u=require("./RadioInput.cjs"),d=require("./RangeSlider.cjs"),q=require("./TextAreaInput.cjs"),l=require("./TextInput.cjs"),S=require("./TimeInput.cjs"),p=require("./Badge.cjs"),g=require("./Chip.cjs"),B=require("./DataView.cjs"),m=require("./DetailsView.cjs"),C=require("./EditableTable.cjs"),I=require("./FormView.cjs"),D=require("./Kanban.cjs"),b=require("./KanbanCard-DihrKn-I.cjs"),T=require("./KanbanHeader.cjs"),P=require("./KanbanFooter.cjs"),F=require("./KanbanView.cjs"),w=require("./KanbanActionsToolbar.cjs"),h=require("./Table.cjs"),f=require("./TableView.cjs"),M=require("./ActionsToolbar.cjs"),A=require("./Alert.cjs"),v=require("./Notification.cjs"),G=require("./NotificationContainer.cjs"),x=require("./NotificationMessage.cjs"),L=require("./ProgressBar.cjs"),N=require("./Spinner.cjs"),y=require("./Avatar.cjs"),K=require("./Button.cjs"),V=require("./Icon.cjs"),W=require("./IconButton.cjs"),k=require("./Link.cjs"),H=require("./Surface.cjs"),R=require("./UploadedFile.cjs"),O=require("./DoubleRangeSlider.cjs"),E=require("./DragAndDropFile.cjs"),Q=require("./DragDropFiles.cjs"),U=require("./Dropdown.cjs"),z=require("./DropdownLookup.cjs"),j=require("./MultiSelectDropdown.cjs"),J=require("./MultiSelectDropdownLookup.cjs"),X=require("./RadioGroup.cjs"),Y=require("./SearchBar.cjs"),Z=require("./Toggle.cjs"),_=require("./ButtonGroup.cjs"),$=require("./Content.cjs"),ee=require("./FlexBox.cjs"),re=require("./FlexGrid.cjs"),oe=require("./FlexGridItem.cjs"),te=require("./Footer.cjs"),ne=require("./FormField.cjs"),ie=require("./Grid.cjs"),ce=require("./GridItem.cjs"),ae=require("./Header.cjs"),se=require("./PageLayout.cjs"),ue=require("./Sidebar.cjs"),de=require("./Tabs.cjs"),qe=require("./TabItem.cjs"),le=require("./Accordion.cjs"),Se=require("./AccordionSummary.cjs"),pe=require("./AccordionDetails.cjs"),ge=require("./Breadcrumbs.cjs"),Be=require("./ConfirmationForm.cjs"),me=require("./Drawer.cjs"),Ce=require("./DropdownMenu.cjs"),Ie=require("./DropdownItem.cjs"),De=require("./NestedDropdownItem.cjs"),be=require("./Separator.cjs"),Te=require("./Modal.cjs"),Pe=require("./Pagination.cjs"),Fe=require("./Popover.cjs"),we=require("./PopoverClose.cjs"),he=require("./PopoverHeading.cjs"),fe=require("./PopoverContent.cjs"),Me=require("./PopoverTrigger.cjs"),Ae=require("./PopoverDescription.cjs"),ve=require("./SwipeableDrawer.cjs"),Ge=require("./TreeMenu.cjs"),xe=require("./MenuItem.cjs"),Le=require("./NestedMenuItem.cjs"),Ne=require("./TreeMenuSeparator.cjs"),ye=require("./MasonryGeneralCardsSection.cjs"),Ke=require("./DetailedProductsSection.cjs"),Ve=require("./DetailedProductsInfinitiveSection.cjs"),We=require("./ProductsWithBannerSection.cjs"),ke=require("./SimpleProductsSection.cjs"),He=require("./UrgentSaleProductsSection.cjs"),Re=require("./BannerSectionCarousel.cjs"),Oe=require("./BannerSectionGrid.cjs"),Ee=require("./BannerSectionSimple.cjs"),Qe=require("./BannerSectionWithList.cjs"),Ue=require("./BannerSectionWithListImage.cjs"),ze=require("./GiftCardsSection.cjs"),je=require("./BrandHitsSection.cjs"),Je=require("./FieldOfInterestsMasonrySection.cjs"),Xe=require("./FieldOfInterestsWithAvatarsCardsSection.cjs"),Ye=require("./FieldOfInterestsWithTagsCardsSection.cjs"),Ze=require("./BannerSectionBasic.cjs"),_e=require("./GeneralWithTagsCardsSection.cjs"),$e=require("./ShopCardsSection.cjs"),er=require("./QuizSection.cjs"),rr=require("./SalesCampaignsSection.cjs"),or=require("./CalorieCalculatorSection.cjs"),tr=require("./BlogCategoryCardsSection.cjs"),nr=require("./BlogProductCardsSection.cjs"),ir=require("./BlogShopCardsSection.cjs"),cr=require("./BlogCardsSponsoredSection.cjs"),ar=require("./BlogListSection.cjs"),sr=require("./AdBannerSection.cjs"),ur=require("./QuattroCardsSection.cjs"),dr=require("./FeedbackSection.cjs"),qr=require("./HelpBannerSection.cjs"),lr=require("./ContactSection.cjs"),Sr=require("./FaqSection.cjs"),pr=require("./SearchSection-B94YN_6P.cjs"),gr=require("./StatsSection.cjs"),Br=require("./ToggleSection.cjs"),mr=require("./BlogExploreSection.cjs"),Cr=require("./BlogImagePathSection.cjs"),Ir=require("./BannerNextSection.cjs"),r=require("./ThemeProvider.cjs"),Dr=require("./CustomStyles-C86XQqBE.cjs");exports.CheckBoxInput=o;exports.ColorInput=t;exports.DateInput=e.default;exports.registerLocale=e.registerLocale;exports.DecimalInput=n;exports.DecimalInputV2=i;exports.FileInput=c;exports.NumberInput=a;exports.PasswordInput=s;exports.RadioInput=u;exports.RangeSlider=d;exports.TextAreaInput=q;exports.TextInput=l;exports.TimeInput=S;exports.Badge=p;exports.Chip=g;exports.DataView=B;exports.DetailsView=m;exports.EditableTable=C;exports.FormView=I;exports.Kanban=D;exports.KanbanCard=b.KanbanCard;exports.KanbanHeader=T;exports.KanbanFooter=P;exports.KanbanView=F;exports.KanbanActionsToolbar=w;exports.Table=h.default;exports.TableView=f;exports.ActionsToolbar=M;exports.Alert=A;exports.Notification=v;exports.NotificationContainer=G;exports.NotificationMessage=x;exports.ProgressBar=L;exports.Spinner=N;exports.Avatar=y;exports.Button=K;exports.Icon=V;exports.IconButton=W;exports.Link=k;exports.Surface=H;exports.UploadedFile=R;exports.DoubleRangeSlider=O;exports.DragAndDropFile=E;exports.DragDropFiles=Q;exports.Dropdown=U.default;exports.DropdownLookup=z;exports.MultiSelectDropdown=j;exports.MultiSelectDropdownLookup=J;exports.RadioGroup=X;exports.SearchBar=Y;exports.Toggle=Z;exports.ButtonGroup=_;exports.Content=$;exports.FlexBox=ee;exports.FlexGrid=re;exports.FlexGridItem=oe;exports.Footer=te;exports.FormField=ne;exports.Grid=ie;exports.GridItem=ce;exports.Header=ae;exports.PageLayout=se;exports.Sidebar=ue;exports.Tabs=de;exports.TabItem=qe;exports.Accordion=le;exports.AccordionSummary=Se;exports.AccordionDetails=pe.default;exports.Breadcrumbs=ge;exports.ConfirmationForm=Be;exports.Drawer=me;exports.DropdownMenu=Ce;exports.DropdownItem=Ie;exports.NestedDropdownItem=De;exports.Separator=be;exports.Modal=Te;exports.Pagination=Pe;exports.Popover=Fe;exports.PopoverClose=we;exports.PopoverHeading=he;exports.PopoverContent=fe;exports.PopoverTrigger=Me;exports.PopoverDescription=Ae;exports.SwipeableDrawer=ve;exports.TreeMenu=Ge;exports.MenuItem=xe;exports.NestedMenuItem=Le;exports.TreeMenuSeparator=Ne;exports.MasonryGeneralCardsSection=ye;exports.DetailedProductsSection=Ke;exports.DetailedProductsInfinitiveSection=Ve;exports.ProductsWithBannerSection=We;exports.SimpleProductsSection=ke;exports.UrgentSaleProductsSection=He;exports.BannerSectionCarousel=Re;exports.BannerSectionGrid=Oe;exports.BannerSectionSimple=Ee;exports.BannerSectionWithList=Qe;exports.BannerSectionWithListImage=Ue;exports.GiftCardsSection=ze;exports.BrandHitsSection=je;exports.FieldOfInterestsMasonrySection=Je;exports.FieldOfInterestsWithAvatarsCardsSection=Xe;exports.FieldOfInterestsWithTagsCardsSection=Ye;exports.BannerSectionBasic=Ze;exports.GeneralWithTagsCardsSection=_e;exports.ShopCardsSection=$e;exports.QuizSection=er;exports.SalesCampaignsSection=rr;exports.CalorieCalculatorSection=or;exports.BlogCategoryCardsSection=tr;exports.BlogProductCardsSection=nr;exports.BlogShopCardsSection=ir;exports.BlogCardsSponsoredSection=cr;exports.BlogListSection=ar;exports.AdBannerSection=sr;exports.QuattroCardsSection=ur;exports.FeedbackSection=dr;exports.HelpBannerSection=qr;exports.ContactSection=lr;exports.FaqSection=Sr;exports.SearchSection=pr.SearchSection;exports.StatsSection=gr;exports.ToggleSection=Br;exports.BlogExploreSection=mr;exports.BlogImagePathSection=Cr;exports.BannerNextSection=Ir;exports.ThemeProvider=r.default;exports.useTheme=r.useTheme;exports.components=Dr.components;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),t=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),n=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),c=require("./FileInput.cjs"),a=require("./NumberInput.cjs"),s=require("./PasswordInput.cjs"),u=require("./RadioInput.cjs"),d=require("./RangeSlider.cjs"),q=require("./TextAreaInput.cjs"),S=require("./TextInput.cjs"),l=require("./TimeInput.cjs"),p=require("./Badge.cjs"),g=require("./Chip.cjs"),B=require("./DataView.cjs"),C=require("./DetailsView.cjs"),m=require("./EditableTable.cjs"),I=require("./FormView.cjs"),D=require("./Kanban.cjs"),P=require("./KanbanCard-DihrKn-I.cjs"),b=require("./KanbanHeader.cjs"),T=require("./KanbanFooter.cjs"),F=require("./KanbanView.cjs"),w=require("./KanbanActionsToolbar.cjs"),h=require("./Table.cjs"),f=require("./TableView.cjs"),M=require("./ActionsToolbar.cjs"),A=require("./Alert.cjs"),v=require("./Notification.cjs"),G=require("./NotificationContainer.cjs"),x=require("./NotificationMessage.cjs"),L=require("./ProgressBar.cjs"),N=require("./Spinner.cjs"),y=require("./Avatar.cjs"),K=require("./Button.cjs"),V=require("./Icon.cjs"),W=require("./IconButton.cjs"),k=require("./Link.cjs"),H=require("./Surface.cjs"),R=require("./UploadedFile.cjs"),O=require("./DoubleRangeSlider.cjs"),E=require("./DragAndDropFile.cjs"),Q=require("./DragDropFiles.cjs"),U=require("./Dropdown.cjs"),z=require("./DropdownLookup.cjs"),j=require("./MultiSelectDropdown.cjs"),J=require("./MultiSelectDropdownLookup.cjs"),X=require("./RadioGroup.cjs"),Y=require("./SearchBar.cjs"),Z=require("./Toggle.cjs"),_=require("./ButtonGroup.cjs"),$=require("./Content.cjs"),ee=require("./FlexBox.cjs"),re=require("./FlexGrid.cjs"),oe=require("./FlexGridItem.cjs"),te=require("./Footer.cjs"),ne=require("./FormField.cjs"),ie=require("./Grid.cjs"),ce=require("./GridItem.cjs"),ae=require("./Header.cjs"),se=require("./PageLayout.cjs"),ue=require("./Sidebar.cjs"),de=require("./Tabs.cjs"),qe=require("./TabItem.cjs"),Se=require("./Accordion.cjs"),le=require("./AccordionSummary.cjs"),pe=require("./AccordionDetails.cjs"),ge=require("./Breadcrumbs.cjs"),Be=require("./ConfirmationForm.cjs"),Ce=require("./Drawer.cjs"),me=require("./DropdownMenu.cjs"),Ie=require("./DropdownItem.cjs"),De=require("./NestedDropdownItem.cjs"),Pe=require("./Separator.cjs"),be=require("./Modal.cjs"),Te=require("./Pagination.cjs"),Fe=require("./Popover.cjs"),we=require("./PopoverClose.cjs"),he=require("./PopoverHeading.cjs"),fe=require("./PopoverContent.cjs"),Me=require("./PopoverTrigger.cjs"),Ae=require("./PopoverDescription.cjs"),ve=require("./SwipeableDrawer.cjs"),Ge=require("./TreeMenu.cjs"),xe=require("./MenuItem.cjs"),Le=require("./NestedMenuItem.cjs"),Ne=require("./TreeMenuSeparator.cjs"),ye=require("./MasonryGeneralCardsSection.cjs"),Ke=require("./DetailedProductsSection.cjs"),Ve=require("./DetailedProductsInfinitiveSection.cjs"),We=require("./ProductsWithBannerSection.cjs"),ke=require("./SimpleProductsSection.cjs"),He=require("./UrgentSaleProductsSection.cjs"),Re=require("./BannerSectionCarousel.cjs"),Oe=require("./BannerSectionGrid.cjs"),Ee=require("./BannerSectionSimple.cjs"),Qe=require("./BannerSectionWithList.cjs"),Ue=require("./BannerSectionWithListImage.cjs"),ze=require("./GiftCardsSection.cjs"),je=require("./BrandHitsSection.cjs"),Je=require("./FieldOfInterestsMasonrySection.cjs"),Xe=require("./FieldOfInterestsWithAvatarsCardsSection.cjs"),Ye=require("./FieldOfInterestsWithTagsCardsSection.cjs"),Ze=require("./BannerSectionBasic.cjs"),_e=require("./GeneralWithTagsCardsSection.cjs"),$e=require("./ShopCardsSection.cjs"),er=require("./QuizSection.cjs"),rr=require("./SalesCampaignsSection.cjs"),or=require("./CalorieCalculatorSection.cjs"),tr=require("./BlogCategoryCardsSection.cjs"),nr=require("./BlogProductCardsSection.cjs"),ir=require("./BlogShopCardsSection.cjs"),cr=require("./BlogCardsSponsoredSection.cjs"),ar=require("./BlogListSection.cjs"),sr=require("./AdBannerSection.cjs"),ur=require("./QuattroCardsSection.cjs"),dr=require("./FeedbackSection.cjs"),qr=require("./HelpBannerSection.cjs"),Sr=require("./ContactSection.cjs"),lr=require("./FaqSection.cjs"),pr=require("./SearchSection-B94YN_6P.cjs"),gr=require("./StatsSection.cjs"),Br=require("./ToggleSection.cjs"),Cr=require("./BlogExploreSection.cjs"),mr=require("./BlogImagePathSection.cjs"),Ir=require("./BannerNextSection.cjs"),Dr=require("./PartnerCardsSection.cjs"),Pr=require("./PartnerBannerSection.cjs"),br=require("./PartnerStatsSection.cjs"),Tr=require("./PartnerBrandsSection.cjs"),r=require("./ThemeProvider.cjs"),Fr=require("./CustomStyles-C86XQqBE.cjs");exports.CheckBoxInput=o;exports.ColorInput=t;exports.DateInput=e.default;exports.registerLocale=e.registerLocale;exports.DecimalInput=n;exports.DecimalInputV2=i;exports.FileInput=c;exports.NumberInput=a;exports.PasswordInput=s;exports.RadioInput=u;exports.RangeSlider=d;exports.TextAreaInput=q;exports.TextInput=S;exports.TimeInput=l;exports.Badge=p;exports.Chip=g;exports.DataView=B;exports.DetailsView=C;exports.EditableTable=m;exports.FormView=I;exports.Kanban=D;exports.KanbanCard=P.KanbanCard;exports.KanbanHeader=b;exports.KanbanFooter=T;exports.KanbanView=F;exports.KanbanActionsToolbar=w;exports.Table=h.default;exports.TableView=f;exports.ActionsToolbar=M;exports.Alert=A;exports.Notification=v;exports.NotificationContainer=G;exports.NotificationMessage=x;exports.ProgressBar=L;exports.Spinner=N;exports.Avatar=y;exports.Button=K;exports.Icon=V;exports.IconButton=W;exports.Link=k;exports.Surface=H;exports.UploadedFile=R;exports.DoubleRangeSlider=O;exports.DragAndDropFile=E;exports.DragDropFiles=Q;exports.Dropdown=U.default;exports.DropdownLookup=z;exports.MultiSelectDropdown=j;exports.MultiSelectDropdownLookup=J;exports.RadioGroup=X;exports.SearchBar=Y;exports.Toggle=Z;exports.ButtonGroup=_;exports.Content=$;exports.FlexBox=ee;exports.FlexGrid=re;exports.FlexGridItem=oe;exports.Footer=te;exports.FormField=ne;exports.Grid=ie;exports.GridItem=ce;exports.Header=ae;exports.PageLayout=se;exports.Sidebar=ue;exports.Tabs=de;exports.TabItem=qe;exports.Accordion=Se;exports.AccordionSummary=le;exports.AccordionDetails=pe.default;exports.Breadcrumbs=ge;exports.ConfirmationForm=Be;exports.Drawer=Ce;exports.DropdownMenu=me;exports.DropdownItem=Ie;exports.NestedDropdownItem=De;exports.Separator=Pe;exports.Modal=be;exports.Pagination=Te;exports.Popover=Fe;exports.PopoverClose=we;exports.PopoverHeading=he;exports.PopoverContent=fe;exports.PopoverTrigger=Me;exports.PopoverDescription=Ae;exports.SwipeableDrawer=ve;exports.TreeMenu=Ge;exports.MenuItem=xe;exports.NestedMenuItem=Le;exports.TreeMenuSeparator=Ne;exports.MasonryGeneralCardsSection=ye;exports.DetailedProductsSection=Ke;exports.DetailedProductsInfinitiveSection=Ve;exports.ProductsWithBannerSection=We;exports.SimpleProductsSection=ke;exports.UrgentSaleProductsSection=He;exports.BannerSectionCarousel=Re;exports.BannerSectionGrid=Oe;exports.BannerSectionSimple=Ee;exports.BannerSectionWithList=Qe;exports.BannerSectionWithListImage=Ue;exports.GiftCardsSection=ze;exports.BrandHitsSection=je;exports.FieldOfInterestsMasonrySection=Je;exports.FieldOfInterestsWithAvatarsCardsSection=Xe;exports.FieldOfInterestsWithTagsCardsSection=Ye;exports.BannerSectionBasic=Ze;exports.GeneralWithTagsCardsSection=_e;exports.ShopCardsSection=$e;exports.QuizSection=er;exports.SalesCampaignsSection=rr;exports.CalorieCalculatorSection=or;exports.BlogCategoryCardsSection=tr;exports.BlogProductCardsSection=nr;exports.BlogShopCardsSection=ir;exports.BlogCardsSponsoredSection=cr;exports.BlogListSection=ar;exports.AdBannerSection=sr;exports.QuattroCardsSection=ur;exports.FeedbackSection=dr;exports.HelpBannerSection=qr;exports.ContactSection=Sr;exports.FaqSection=lr;exports.SearchSection=pr.SearchSection;exports.StatsSection=gr;exports.ToggleSection=Br;exports.BlogExploreSection=Cr;exports.BlogImagePathSection=mr;exports.BannerNextSection=Ir;exports.PartnerCardsSection=Dr;exports.PartnerBannerSection=Pr;exports.PartnerStatsSection=br;exports.PartnerBrandsSection=Tr;exports.ThemeProvider=r.default;exports.useTheme=r.useTheme;exports.components=Fr.components;