@gearbox-protocol/permissionless-ui 1.18.0 → 1.20.0

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 (62) hide show
  1. package/dist/cjs/_virtual/index2.cjs +1 -1
  2. package/dist/cjs/components/dialog/dialog-container.cjs +1 -1
  3. package/dist/cjs/components/dialog/dialog-modal-container.cjs +1 -0
  4. package/dist/cjs/components/dialog/dialog-modal.cjs +1 -0
  5. package/dist/cjs/components/dialog/index.cjs +1 -1
  6. package/dist/cjs/components/filter/filter-modal.cjs +1 -1
  7. package/dist/cjs/components/index.cjs +1 -1
  8. package/dist/cjs/components/page-title/page-title.cjs +1 -1
  9. package/dist/cjs/index.cjs +1 -1
  10. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/arrows.cjs +1 -0
  11. package/dist/cjs/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/default-props.cjs +1 -1
  12. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/dots.cjs +1 -0
  13. package/dist/cjs/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/index.cjs +1 -1
  14. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/inner-slider.cjs +1 -0
  15. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/slider.cjs +1 -0
  16. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/track.cjs +1 -0
  17. package/dist/cjs/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/utils/innerSliderUtils.cjs +1 -0
  18. package/dist/esm/_virtual/index2.js +1 -1
  19. package/dist/esm/components/dialog/dialog-container.js +20 -67
  20. package/dist/esm/components/dialog/dialog-modal-container.js +26 -0
  21. package/dist/esm/components/dialog/dialog-modal.js +76 -0
  22. package/dist/esm/components/dialog/index.js +19 -15
  23. package/dist/esm/components/filter/filter-modal.js +4 -2
  24. package/dist/esm/components/index.js +426 -422
  25. package/dist/esm/components/page-title/page-title.js +49 -36
  26. package/dist/esm/index.js +559 -555
  27. package/dist/esm/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/arrows.js +210 -0
  28. package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/default-props.js +1 -0
  29. package/dist/esm/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/dots.js +170 -0
  30. package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/index.js +2 -2
  31. package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/inner-slider.js +116 -118
  32. package/dist/esm/node_modules/.pnpm/react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/slider.js +258 -0
  33. package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/track.js +90 -96
  34. package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/utils/innerSliderUtils.js +63 -58
  35. package/dist/globals.css +1 -1
  36. package/dist/types/components/dialog/dialog-container.d.ts +0 -17
  37. package/dist/types/components/dialog/dialog-modal-container.d.ts +23 -0
  38. package/dist/types/components/dialog/dialog-modal.d.ts +30 -0
  39. package/dist/types/components/dialog/index.d.ts +2 -0
  40. package/dist/types/components/page-title/page-title.d.ts +4 -0
  41. package/package.json +2 -2
  42. package/dist/cjs/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/MediaQuery.cjs +0 -1
  43. package/dist/cjs/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/MediaQueryDispatch.cjs +0 -1
  44. package/dist/cjs/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/QueryHandler.cjs +0 -1
  45. package/dist/cjs/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/Util.cjs +0 -1
  46. package/dist/cjs/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/index.cjs +0 -1
  47. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/arrows.cjs +0 -1
  48. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/dots.cjs +0 -1
  49. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/inner-slider.cjs +0 -1
  50. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/slider.cjs +0 -1
  51. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/track.cjs +0 -1
  52. package/dist/cjs/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/utils/innerSliderUtils.cjs +0 -1
  53. package/dist/esm/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/MediaQuery.js +0 -71
  54. package/dist/esm/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/MediaQueryDispatch.js +0 -46
  55. package/dist/esm/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/QueryHandler.js +0 -57
  56. package/dist/esm/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/Util.js +0 -24
  57. package/dist/esm/node_modules/.pnpm/enquire.js@2.1.6/node_modules/enquire.js/src/index.js +0 -11
  58. package/dist/esm/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/arrows.js +0 -216
  59. package/dist/esm/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/dots.js +0 -176
  60. package/dist/esm/node_modules/.pnpm/react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-slick/lib/slider.js +0 -261
  61. /package/dist/cjs/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/initial-state.cjs +0 -0
  62. /package/dist/esm/node_modules/.pnpm/{react-slick@0.30.3_react-dom@19.2.0_react@19.2.0__react@19.2.0 → react-slick@0.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-slick/lib/initial-state.js +0 -0
@@ -0,0 +1,258 @@
1
+ import { __exports as E } from "../../../../../../_virtual/slider.js";
2
+ import G from "react";
3
+ import { __require as K } from "./inner-slider.js";
4
+ import { __require as L } from "../../../../json2mq@0.2.0/node_modules/json2mq/index.js";
5
+ import { __require as z } from "./default-props.js";
6
+ import { __require as J } from "./utils/innerSliderUtils.js";
7
+ var W;
8
+ function ee() {
9
+ return W ? E : (W = 1, (function(w) {
10
+ Object.defineProperty(w, "__esModule", {
11
+ value: !0
12
+ }), w.default = void 0;
13
+ var c = P(G), M = K(), g = P(L()), q = P(z()), O = J();
14
+ function P(r) {
15
+ return r && r.__esModule ? r : { default: r };
16
+ }
17
+ function v(r) {
18
+ "@babel/helpers - typeof";
19
+ return v = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
20
+ return typeof e;
21
+ } : function(e) {
22
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
23
+ }, v(r);
24
+ }
25
+ function S() {
26
+ return S = Object.assign ? Object.assign.bind() : function(r) {
27
+ for (var e = 1; e < arguments.length; e++) {
28
+ var n = arguments[e];
29
+ for (var i in n)
30
+ ({}).hasOwnProperty.call(n, i) && (r[i] = n[i]);
31
+ }
32
+ return r;
33
+ }, S.apply(null, arguments);
34
+ }
35
+ function T(r, e) {
36
+ var n = Object.keys(r);
37
+ if (Object.getOwnPropertySymbols) {
38
+ var i = Object.getOwnPropertySymbols(r);
39
+ e && (i = i.filter(function(o) {
40
+ return Object.getOwnPropertyDescriptor(r, o).enumerable;
41
+ })), n.push.apply(n, i);
42
+ }
43
+ return n;
44
+ }
45
+ function m(r) {
46
+ for (var e = 1; e < arguments.length; e++) {
47
+ var n = arguments[e] != null ? arguments[e] : {};
48
+ e % 2 ? T(Object(n), !0).forEach(function(i) {
49
+ p(r, i, n[i]);
50
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(n)) : T(Object(n)).forEach(function(i) {
51
+ Object.defineProperty(r, i, Object.getOwnPropertyDescriptor(n, i));
52
+ });
53
+ }
54
+ return r;
55
+ }
56
+ function C(r, e) {
57
+ if (!(r instanceof e)) throw new TypeError("Cannot call a class as a function");
58
+ }
59
+ function x(r, e) {
60
+ for (var n = 0; n < e.length; n++) {
61
+ var i = e[n];
62
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(r, D(i.key), i);
63
+ }
64
+ }
65
+ function U(r, e, n) {
66
+ return e && x(r.prototype, e), Object.defineProperty(r, "prototype", { writable: !1 }), r;
67
+ }
68
+ function H(r, e) {
69
+ if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
70
+ r.prototype = Object.create(e && e.prototype, { constructor: { value: r, writable: !0, configurable: !0 } }), Object.defineProperty(r, "prototype", { writable: !1 }), e && j(r, e);
71
+ }
72
+ function j(r, e) {
73
+ return j = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
74
+ return n.__proto__ = i, n;
75
+ }, j(r, e);
76
+ }
77
+ function I(r) {
78
+ var e = R();
79
+ return function() {
80
+ var n, i = _(r);
81
+ if (e) {
82
+ var o = _(this).constructor;
83
+ n = Reflect.construct(i, arguments, o);
84
+ } else n = i.apply(this, arguments);
85
+ return V(this, n);
86
+ };
87
+ }
88
+ function V(r, e) {
89
+ if (e && (v(e) == "object" || typeof e == "function")) return e;
90
+ if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
91
+ return d(r);
92
+ }
93
+ function d(r) {
94
+ if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
95
+ return r;
96
+ }
97
+ function R() {
98
+ try {
99
+ var r = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
100
+ }));
101
+ } catch {
102
+ }
103
+ return (R = function() {
104
+ return !!r;
105
+ })();
106
+ }
107
+ function _(r) {
108
+ return _ = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
109
+ return e.__proto__ || Object.getPrototypeOf(e);
110
+ }, _(r);
111
+ }
112
+ function p(r, e, n) {
113
+ return (e = D(e)) in r ? Object.defineProperty(r, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = n, r;
114
+ }
115
+ function D(r) {
116
+ var e = A(r, "string");
117
+ return v(e) == "symbol" ? e : e + "";
118
+ }
119
+ function A(r, e) {
120
+ if (v(r) != "object" || !r) return r;
121
+ var n = r[Symbol.toPrimitive];
122
+ if (n !== void 0) {
123
+ var i = n.call(r, e);
124
+ if (v(i) != "object") return i;
125
+ throw new TypeError("@@toPrimitive must return a primitive value.");
126
+ }
127
+ return (e === "string" ? String : Number)(r);
128
+ }
129
+ w.default = /* @__PURE__ */ (function(r) {
130
+ H(n, r);
131
+ var e = I(n);
132
+ function n(i) {
133
+ var o;
134
+ return C(this, n), o = e.call(this, i), p(d(o), "innerSliderRefHandler", function(t) {
135
+ return o.innerSlider = t;
136
+ }), p(d(o), "slickPrev", function() {
137
+ return o.innerSlider.slickPrev();
138
+ }), p(d(o), "slickNext", function() {
139
+ return o.innerSlider.slickNext();
140
+ }), p(d(o), "slickGoTo", function(t) {
141
+ var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
142
+ return o.innerSlider.slickGoTo(t, l);
143
+ }), p(d(o), "slickPause", function() {
144
+ return o.innerSlider.pause("paused");
145
+ }), p(d(o), "slickPlay", function() {
146
+ return o.innerSlider.autoPlay("play");
147
+ }), o.state = {
148
+ breakpoint: null
149
+ }, o._responsiveMediaHandlers = [], o;
150
+ }
151
+ return U(n, [{
152
+ key: "media",
153
+ value: function(o, t) {
154
+ var l = window.matchMedia(o), s = function(f) {
155
+ var a = f.matches;
156
+ a && t();
157
+ };
158
+ l.addListener(s), this._responsiveMediaHandlers.push({
159
+ mql: l,
160
+ query: o,
161
+ listener: s
162
+ });
163
+ }
164
+ // handles responsive breakpoints
165
+ }, {
166
+ key: "componentDidMount",
167
+ value: function() {
168
+ var o = this;
169
+ if (this.props.responsive) {
170
+ var t = this.props.responsive.map(function(s) {
171
+ return s.breakpoint;
172
+ });
173
+ t.sort(function(s, u) {
174
+ return s - u;
175
+ }), t.forEach(function(s, u) {
176
+ var f;
177
+ u === 0 ? f = (0, g.default)({
178
+ minWidth: 0,
179
+ maxWidth: s
180
+ }) : f = (0, g.default)({
181
+ minWidth: t[u - 1] + 1,
182
+ maxWidth: s
183
+ }), (0, O.canUseDOM)() && o.media(f, function() {
184
+ o.setState({
185
+ breakpoint: s
186
+ });
187
+ });
188
+ });
189
+ var l = (0, g.default)({
190
+ minWidth: t.slice(-1)[0]
191
+ });
192
+ (0, O.canUseDOM)() && this.media(l, function() {
193
+ o.setState({
194
+ breakpoint: null
195
+ });
196
+ });
197
+ }
198
+ }
199
+ }, {
200
+ key: "componentWillUnmount",
201
+ value: function() {
202
+ this._responsiveMediaHandlers.forEach(function(o) {
203
+ o.mql.removeListener(o.listener);
204
+ });
205
+ }
206
+ }, {
207
+ key: "render",
208
+ value: function() {
209
+ var o = this, t, l;
210
+ this.state.breakpoint ? (l = this.props.responsive.filter(function(b) {
211
+ return b.breakpoint === o.state.breakpoint;
212
+ }), t = l[0].settings === "unslick" ? "unslick" : m(m(m({}, q.default), this.props), l[0].settings)) : t = m(m({}, q.default), this.props), t.centerMode && (t.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(t.slidesToScroll)), t.slidesToScroll = 1), t.fade && (t.slidesToShow > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(t.slidesToShow)), t.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(t.slidesToScroll)), t.slidesToShow = 1, t.slidesToScroll = 1);
213
+ var s = c.default.Children.toArray(this.props.children);
214
+ s = s.filter(function(b) {
215
+ return typeof b == "string" ? !!b.trim() : !!b;
216
+ }), t.variableWidth && (t.rows > 1 || t.slidesPerRow > 1) && (console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"), t.variableWidth = !1);
217
+ for (var u = [], f = null, a = 0; a < s.length; a += t.rows * t.slidesPerRow) {
218
+ for (var k = [], h = a; h < a + t.rows * t.slidesPerRow; h += t.slidesPerRow) {
219
+ for (var N = [], y = h; y < h + t.slidesPerRow && (t.variableWidth && s[y].props.style && (f = s[y].props.style.width), !(y >= s.length)); y += 1)
220
+ N.push(/* @__PURE__ */ c.default.cloneElement(s[y], {
221
+ key: 100 * a + 10 * h + y,
222
+ tabIndex: -1,
223
+ style: {
224
+ width: "".concat(100 / t.slidesPerRow, "%"),
225
+ display: "inline-block"
226
+ }
227
+ }));
228
+ k.push(/* @__PURE__ */ c.default.createElement("div", {
229
+ key: 10 * a + h
230
+ }, N));
231
+ }
232
+ t.variableWidth ? u.push(/* @__PURE__ */ c.default.createElement("div", {
233
+ key: a,
234
+ style: {
235
+ width: f
236
+ }
237
+ }, k)) : u.push(/* @__PURE__ */ c.default.createElement("div", {
238
+ key: a
239
+ }, k));
240
+ }
241
+ if (t === "unslick") {
242
+ var B = "regular slider " + (this.props.className || "");
243
+ return /* @__PURE__ */ c.default.createElement("div", {
244
+ className: B
245
+ }, s);
246
+ } else u.length <= t.slidesToShow && (t.unslick = !0);
247
+ return /* @__PURE__ */ c.default.createElement(M.InnerSlider, S({
248
+ style: this.props.style,
249
+ ref: this.innerSliderRefHandler
250
+ }, (0, O.filterSettings)(t)), u);
251
+ }
252
+ }]), n;
253
+ })(c.default.Component);
254
+ })(E), E);
255
+ }
256
+ export {
257
+ ee as __require
258
+ };
@@ -1,14 +1,14 @@
1
- import { __exports as b } from "../../../../../../_virtual/track.js";
1
+ import { __exports as h } from "../../../../../../_virtual/track.js";
2
2
  import F from "react";
3
3
  import { __require as G } from "../../../../classnames@2.5.1/node_modules/classnames/index.js";
4
4
  import { __require as J } from "./utils/innerSliderUtils.js";
5
- var z;
5
+ var L;
6
6
  function Z() {
7
- if (z) return b;
8
- z = 1, Object.defineProperty(b, "__esModule", {
7
+ if (L) return h;
8
+ L = 1, Object.defineProperty(h, "__esModule", {
9
9
  value: !0
10
- }), b.Track = void 0;
11
- var s = T(F), m = T(G()), O = J();
10
+ }), h.Track = void 0;
11
+ var c = T(F), O = T(G()), m = J();
12
12
  function T(t) {
13
13
  return t && t.__esModule ? t : { default: t };
14
14
  }
@@ -25,14 +25,13 @@ function Z() {
25
25
  for (var e = 1; e < arguments.length; e++) {
26
26
  var r = arguments[e];
27
27
  for (var n in r)
28
- Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n]);
28
+ ({}).hasOwnProperty.call(r, n) && (t[n] = r[n]);
29
29
  }
30
30
  return t;
31
- }, g.apply(this, arguments);
31
+ }, g.apply(null, arguments);
32
32
  }
33
- function L(t, e) {
34
- if (!(t instanceof e))
35
- throw new TypeError("Cannot call a class as a function");
33
+ function N(t, e) {
34
+ if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
36
35
  }
37
36
  function D(t, e) {
38
37
  for (var r = 0; r < e.length; r++) {
@@ -44,55 +43,50 @@ function Z() {
44
43
  return e && D(t.prototype, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
45
44
  }
46
45
  function W(t, e) {
47
- if (typeof e != "function" && e !== null)
48
- throw new TypeError("Super expression must either be null or a function");
49
- t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _(t, e);
46
+ if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
47
+ t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && C(t, e);
50
48
  }
51
- function _(t, e) {
52
- return _ = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, l) {
53
- return n.__proto__ = l, n;
54
- }, _(t, e);
49
+ function C(t, e) {
50
+ return C = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
51
+ return r.__proto__ = n, r;
52
+ }, C(t, e);
55
53
  }
56
54
  function A(t) {
57
- var e = I();
55
+ var e = M();
58
56
  return function() {
59
- var n = S(t), l;
57
+ var r, n = S(t);
60
58
  if (e) {
61
- var a = S(this).constructor;
62
- l = Reflect.construct(n, arguments, a);
63
- } else
64
- l = n.apply(this, arguments);
65
- return B(this, l);
59
+ var l = S(this).constructor;
60
+ r = Reflect.construct(n, arguments, l);
61
+ } else r = n.apply(this, arguments);
62
+ return B(this, r);
66
63
  };
67
64
  }
68
65
  function B(t, e) {
69
- if (e && (y(e) === "object" || typeof e == "function"))
70
- return e;
71
- if (e !== void 0)
72
- throw new TypeError("Derived constructors may only return object or undefined");
73
- return k(t);
74
- }
75
- function k(t) {
76
- if (t === void 0)
77
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
66
+ if (e && (y(e) == "object" || typeof e == "function")) return e;
67
+ if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
68
+ return _(t);
69
+ }
70
+ function _(t) {
71
+ if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
78
72
  return t;
79
73
  }
80
- function I() {
74
+ function M() {
81
75
  try {
82
76
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
83
77
  }));
84
78
  } catch {
85
79
  }
86
- return (I = function() {
80
+ return (M = function() {
87
81
  return !!t;
88
82
  })();
89
83
  }
90
84
  function S(t) {
91
- return S = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
92
- return r.__proto__ || Object.getPrototypeOf(r);
85
+ return S = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
86
+ return e.__proto__ || Object.getPrototypeOf(e);
93
87
  }, S(t);
94
88
  }
95
- function M(t, e) {
89
+ function I(t, e) {
96
90
  var r = Object.keys(t);
97
91
  if (Object.getOwnPropertySymbols) {
98
92
  var n = Object.getOwnPropertySymbols(t);
@@ -102,23 +96,23 @@ function Z() {
102
96
  }
103
97
  return r;
104
98
  }
105
- function u(t) {
99
+ function a(t) {
106
100
  for (var e = 1; e < arguments.length; e++) {
107
101
  var r = arguments[e] != null ? arguments[e] : {};
108
- e % 2 ? M(Object(r), !0).forEach(function(n) {
109
- C(t, n, r[n]);
110
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : M(Object(r)).forEach(function(n) {
102
+ e % 2 ? I(Object(r), !0).forEach(function(n) {
103
+ k(t, n, r[n]);
104
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : I(Object(r)).forEach(function(n) {
111
105
  Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
112
106
  });
113
107
  }
114
108
  return t;
115
109
  }
116
- function C(t, e, r) {
117
- return e = R(e), e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
110
+ function k(t, e, r) {
111
+ return (e = R(e)) in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
118
112
  }
119
113
  function R(t) {
120
114
  var e = U(t, "string");
121
- return y(e) == "symbol" ? e : String(e);
115
+ return y(e) == "symbol" ? e : e + "";
122
116
  }
123
117
  function U(t, e) {
124
118
  if (y(t) != "object" || !t) return t;
@@ -131,11 +125,11 @@ function Z() {
131
125
  return (e === "string" ? String : Number)(t);
132
126
  }
133
127
  var P = function(e) {
134
- var r, n, l, a, o;
135
- e.rtl ? o = e.slideCount - 1 - e.index : o = e.index, l = o < 0 || o >= e.slideCount, e.centerMode ? (a = Math.floor(e.slidesToShow / 2), n = (o - e.currentSlide) % e.slideCount === 0, o > e.currentSlide - a - 1 && o <= e.currentSlide + a && (r = !0)) : r = e.currentSlide <= o && o < e.currentSlide + e.slidesToShow;
136
- var f;
137
- e.targetSlide < 0 ? f = e.targetSlide + e.slideCount : e.targetSlide >= e.slideCount ? f = e.targetSlide - e.slideCount : f = e.targetSlide;
138
- var v = o === f;
128
+ var r, n, l, u, o;
129
+ e.rtl ? o = e.slideCount - 1 - e.index : o = e.index, l = o < 0 || o >= e.slideCount, e.centerMode ? (u = Math.floor(e.slidesToShow / 2), n = (o - e.currentSlide) % e.slideCount === 0, o > e.currentSlide - u - 1 && o <= e.currentSlide + u && (r = !0)) : r = e.currentSlide <= o && o < e.currentSlide + e.slidesToShow;
130
+ var s;
131
+ e.targetSlide < 0 ? s = e.targetSlide + e.slideCount : e.targetSlide >= e.slideCount ? s = e.targetSlide - e.slideCount : s = e.targetSlide;
132
+ var v = o === s;
139
133
  return {
140
134
  "slick-slide": !0,
141
135
  "slick-active": r,
@@ -147,93 +141,93 @@ function Z() {
147
141
  }, H = function(e) {
148
142
  var r = {};
149
143
  return (e.variableWidth === void 0 || e.variableWidth === !1) && (r.width = e.slideWidth), e.fade && (r.position = "relative", e.vertical ? r.top = -e.index * parseInt(e.slideHeight) : r.left = -e.index * parseInt(e.slideWidth), r.opacity = e.currentSlide === e.index ? 1 : 0, r.zIndex = e.currentSlide === e.index ? 999 : 998, e.useCSS && (r.transition = "opacity " + e.speed + "ms " + e.cssEase + ", visibility " + e.speed + "ms " + e.cssEase)), r;
150
- }, w = function(e, r) {
144
+ }, j = function(e, r) {
151
145
  return e.key || r;
152
146
  }, $ = function(e) {
153
- var r, n = [], l = [], a = [], o = s.default.Children.count(e.children), f = (0, O.lazyStartIndex)(e), v = (0, O.lazyEndIndex)(e);
154
- return s.default.Children.forEach(e.children, function(p, c) {
155
- var i, j = {
147
+ var r, n = [], l = [], u = [], o = c.default.Children.count(e.children), s = (0, m.lazyStartIndex)(e), v = (0, m.lazyEndIndex)(e);
148
+ return c.default.Children.forEach(e.children, function(p, f) {
149
+ var i, w = {
156
150
  message: "children",
157
- index: c,
151
+ index: f,
158
152
  slidesToScroll: e.slidesToScroll,
159
153
  currentSlide: e.currentSlide
160
154
  };
161
- !e.lazyLoad || e.lazyLoad && e.lazyLoadedList.indexOf(c) >= 0 ? i = p : i = /* @__PURE__ */ s.default.createElement("div", null);
162
- var x = H(u(u({}, e), {}, {
163
- index: c
164
- })), E = i.props.className || "", d = P(u(u({}, e), {}, {
165
- index: c
155
+ !e.lazyLoad || e.lazyLoad && e.lazyLoadedList.indexOf(f) >= 0 ? i = p : i = /* @__PURE__ */ c.default.createElement("div", null);
156
+ var x = H(a(a({}, e), {}, {
157
+ index: f
158
+ })), E = i.props.className || "", d = P(a(a({}, e), {}, {
159
+ index: f
166
160
  }));
167
- if (n.push(/* @__PURE__ */ s.default.cloneElement(i, {
168
- key: "original" + w(i, c),
169
- "data-index": c,
170
- className: (0, m.default)(d, E),
161
+ if (n.push(/* @__PURE__ */ c.default.cloneElement(i, {
162
+ key: "original" + j(i, f),
163
+ "data-index": f,
164
+ className: (0, O.default)(d, E),
171
165
  tabIndex: "-1",
172
166
  "aria-hidden": !d["slick-active"],
173
- style: u(u({
167
+ style: a(a({
174
168
  outline: "none"
175
169
  }, i.props.style || {}), x),
176
- onClick: function(h) {
177
- i.props && i.props.onClick && i.props.onClick(h), e.focusOnSelect && e.focusOnSelect(j);
170
+ onClick: function(b) {
171
+ i.props && i.props.onClick && i.props.onClick(b), e.focusOnSelect && e.focusOnSelect(w);
178
172
  }
179
- })), e.infinite && e.fade === !1) {
180
- var q = o - c;
181
- q <= (0, O.getPreClones)(e) && (r = -q, r >= f && (i = p), d = P(u(u({}, e), {}, {
173
+ })), e.infinite && o > 1 && e.fade === !1 && !e.unslick) {
174
+ var q = o - f;
175
+ q <= (0, m.getPreClones)(e) && (r = -q, r >= s && (i = p), d = P(a(a({}, e), {}, {
182
176
  index: r
183
- })), l.push(/* @__PURE__ */ s.default.cloneElement(i, {
184
- key: "precloned" + w(i, r),
177
+ })), l.push(/* @__PURE__ */ c.default.cloneElement(i, {
178
+ key: "precloned" + j(i, r),
185
179
  "data-index": r,
186
180
  tabIndex: "-1",
187
- className: (0, m.default)(d, E),
181
+ className: (0, O.default)(d, E),
188
182
  "aria-hidden": !d["slick-active"],
189
- style: u(u({}, i.props.style || {}), x),
190
- onClick: function(h) {
191
- i.props && i.props.onClick && i.props.onClick(h), e.focusOnSelect && e.focusOnSelect(j);
183
+ style: a(a({}, i.props.style || {}), x),
184
+ onClick: function(b) {
185
+ i.props && i.props.onClick && i.props.onClick(b), e.focusOnSelect && e.focusOnSelect(w);
192
186
  }
193
- }))), r = o + c, r < v && (i = p), d = P(u(u({}, e), {}, {
187
+ }))), f < (0, m.getPostClones)(e) && (r = o + f, r < v && (i = p), d = P(a(a({}, e), {}, {
194
188
  index: r
195
- })), a.push(/* @__PURE__ */ s.default.cloneElement(i, {
196
- key: "postcloned" + w(i, r),
189
+ })), u.push(/* @__PURE__ */ c.default.cloneElement(i, {
190
+ key: "postcloned" + j(i, r),
197
191
  "data-index": r,
198
192
  tabIndex: "-1",
199
- className: (0, m.default)(d, E),
193
+ className: (0, O.default)(d, E),
200
194
  "aria-hidden": !d["slick-active"],
201
- style: u(u({}, i.props.style || {}), x),
202
- onClick: function(h) {
203
- i.props && i.props.onClick && i.props.onClick(h), e.focusOnSelect && e.focusOnSelect(j);
195
+ style: a(a({}, i.props.style || {}), x),
196
+ onClick: function(b) {
197
+ i.props && i.props.onClick && i.props.onClick(b), e.focusOnSelect && e.focusOnSelect(w);
204
198
  }
205
- }));
199
+ })));
206
200
  }
207
- }), e.rtl ? l.concat(n, a).reverse() : l.concat(n, a);
201
+ }), e.rtl ? l.concat(n, u).reverse() : l.concat(n, u);
208
202
  };
209
- return b.Track = /* @__PURE__ */ (function(t) {
203
+ return h.Track = /* @__PURE__ */ (function(t) {
210
204
  W(r, t);
211
205
  var e = A(r);
212
206
  function r() {
213
207
  var n;
214
- L(this, r);
215
- for (var l = arguments.length, a = new Array(l), o = 0; o < l; o++)
216
- a[o] = arguments[o];
217
- return n = e.call.apply(e, [this].concat(a)), C(k(n), "node", null), C(k(n), "handleRef", function(f) {
218
- n.node = f;
208
+ N(this, r);
209
+ for (var l = arguments.length, u = new Array(l), o = 0; o < l; o++)
210
+ u[o] = arguments[o];
211
+ return n = e.call.apply(e, [this].concat(u)), k(_(n), "node", null), k(_(n), "handleRef", function(s) {
212
+ n.node = s;
219
213
  }), n;
220
214
  }
221
215
  return K(r, [{
222
216
  key: "render",
223
217
  value: function() {
224
- var l = $(this.props), a = this.props, o = a.onMouseEnter, f = a.onMouseOver, v = a.onMouseLeave, p = {
218
+ var l = $(this.props), u = this.props, o = u.onMouseEnter, s = u.onMouseOver, v = u.onMouseLeave, p = {
225
219
  onMouseEnter: o,
226
- onMouseOver: f,
220
+ onMouseOver: s,
227
221
  onMouseLeave: v
228
222
  };
229
- return /* @__PURE__ */ s.default.createElement("div", g({
223
+ return /* @__PURE__ */ c.default.createElement("div", g({
230
224
  ref: this.handleRef,
231
225
  className: "slick-track",
232
226
  style: this.props.trackStyle
233
227
  }, p), l);
234
228
  }
235
229
  }]), r;
236
- })(s.default.PureComponent), b;
230
+ })(c.default.PureComponent), h;
237
231
  }
238
232
  export {
239
233
  Z as __require