@cntrl-site/components 1.0.101 → 1.0.102

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 (130) hide show
  1. package/README.md +25 -1
  2. package/dist/Burger-C6jI6C1c.js +661 -0
  3. package/dist/Burger-EMSn7TPB.mjs +1807 -0
  4. package/dist/ClickGallerie-D_O1XhAO.mjs +270 -0
  5. package/dist/ClickGallerie-M9xdGR1G.js +36 -0
  6. package/dist/Components/Burger/BurgerComponent.d.ts +0 -1
  7. package/dist/Components/ClickGallerie/ClickGallerieComponent.d.ts +0 -1
  8. package/dist/Components/FAQ/FAQComponent.d.ts +0 -1
  9. package/dist/Components/Form/FormComponent.d.ts +0 -1
  10. package/dist/Components/Grid/GridComponent.d.ts +0 -1
  11. package/dist/Components/Helix/HelixComponent.d.ts +0 -1
  12. package/dist/Components/Hive/HiveComponent.d.ts +0 -1
  13. package/dist/Components/LightboxJournal/LightboxJournalComponent.d.ts +0 -1
  14. package/dist/Components/LightboxStrip/LightboxStripComponent.d.ts +0 -1
  15. package/dist/Components/List/ListComponent.d.ts +0 -1
  16. package/dist/Components/Marquee/MarqueeComponent.d.ts +0 -1
  17. package/dist/Components/MarqueeText/MarqueeTextComponent.d.ts +0 -1
  18. package/dist/Components/Mercury/MercuryComponent.d.ts +0 -1
  19. package/dist/Components/OnelinerForm/OnelinerFormComponent.d.ts +0 -1
  20. package/dist/Components/Pretext/PretextComponent.d.ts +0 -1
  21. package/dist/Components/Scale/ScaleComponent.d.ts +0 -1
  22. package/dist/Components/SimpleButton/SimpleButtonComponent.d.ts +0 -1
  23. package/dist/Components/Slider20/Slider20Component.d.ts +0 -1
  24. package/dist/Components/TestimonialGrid/TestimonialGridComponent.d.ts +0 -1
  25. package/dist/Components/TestimonialSingle/TestimonialSingleComponent.d.ts +0 -1
  26. package/dist/Components/Waterfall/WaterfallComponent.d.ts +0 -1
  27. package/dist/ControlSlider-SiOt22l_.js +1 -0
  28. package/dist/ControlSlider-pZv7H6BU.mjs +334 -0
  29. package/dist/FAQ-C7823fyi.js +166 -0
  30. package/dist/FAQ-CZ39u4m8.mjs +588 -0
  31. package/dist/Form-BX5_41nb.mjs +472 -0
  32. package/dist/Form-Dn-6A1He.js +153 -0
  33. package/dist/Grid-CemGhf3F.js +374 -0
  34. package/dist/Grid-cfQsXW3b.mjs +1553 -0
  35. package/dist/Helix-2Vr-9WBa.js +43 -0
  36. package/dist/Helix-BmkAKT1G.mjs +315 -0
  37. package/dist/Hive-BC6zQBsv.js +321 -0
  38. package/dist/Hive-BGMWinrW.mjs +1425 -0
  39. package/dist/HiveLightboxTitles-DhEeFKWs.mjs +507 -0
  40. package/dist/HiveLightboxTitles-DlyptAaK.js +1 -0
  41. package/dist/ImageRevealSlider-BBWtFjUF.js +1 -0
  42. package/dist/ImageRevealSlider-BdFGyVEP.mjs +184 -0
  43. package/dist/Lightbox-CIss_nOG.js +1 -0
  44. package/dist/Lightbox-eP9qAZzL.mjs +665 -0
  45. package/dist/LightboxJournal-D59ex6wH.mjs +1613 -0
  46. package/dist/LightboxJournal-DAEZOPDi.js +523 -0
  47. package/dist/LightboxStrip-BDjI1jyH.js +386 -0
  48. package/dist/LightboxStrip-YspzBP8N.mjs +1574 -0
  49. package/dist/List-C32WImI3.js +377 -0
  50. package/dist/List-DW7fyJbf.mjs +1891 -0
  51. package/dist/Marquee-BYClHHws.mjs +551 -0
  52. package/dist/Marquee-vmHaTGIP.js +133 -0
  53. package/dist/MarqueeText-4Rip_sQX.mjs +515 -0
  54. package/dist/MarqueeText-E6OubMOG.js +132 -0
  55. package/dist/Mercury-BwF_XW2w.js +267 -0
  56. package/dist/Mercury-DuKJQ1Zo.mjs +1701 -0
  57. package/dist/OnelinerForm-BEu7_sho.mjs +434 -0
  58. package/dist/OnelinerForm-C2Y_XMCY.js +194 -0
  59. package/dist/Pretext-10CcyP1E.mjs +2762 -0
  60. package/dist/Pretext-DvQ3xsni.js +231 -0
  61. package/dist/PretextComponent-C3YFICy8.js +1 -0
  62. package/dist/PretextComponent-Ct0newmn.mjs +11624 -0
  63. package/dist/RichTextRenderer-B6WtTYlR.mjs +32 -0
  64. package/dist/RichTextRenderer-CIy6yI8U.js +1 -0
  65. package/dist/Scale-976sjO8e.js +111 -0
  66. package/dist/Scale-rLNT4KAk.mjs +345 -0
  67. package/dist/SimpleButton-C-o2W9bS.mjs +451 -0
  68. package/dist/SimpleButton-nGEcO2gB.js +243 -0
  69. package/dist/Slider20-C9o2REDl.js +272 -0
  70. package/dist/Slider20-Dm8BeCli.mjs +851 -0
  71. package/dist/SvgImage-B5mR9y6q.mjs +51 -0
  72. package/dist/SvgImage-DFlmxAoL.js +1 -0
  73. package/dist/TestimonialGrid-CPu4qQ6B.mjs +492 -0
  74. package/dist/TestimonialGrid-D4ieiz9e.js +90 -0
  75. package/dist/TestimonialSingle-CVu15ZtV.js +125 -0
  76. package/dist/TestimonialSingle-DLdnAVF7.mjs +391 -0
  77. package/dist/Waterfall-A0FjM2my.mjs +1400 -0
  78. package/dist/Waterfall-DnPDHbCL.js +287 -0
  79. package/dist/buildColorVars-CE2D5cQV.js +1 -0
  80. package/dist/buildColorVars-CLyWQm5K.mjs +21 -0
  81. package/dist/components-OE3ac1dr.js +1 -0
  82. package/dist/components-w-jHX-2U.mjs +2053 -0
  83. package/dist/components.css +1 -1
  84. package/dist/elements.d.ts +7 -0
  85. package/dist/elements.js +1 -0
  86. package/dist/elements.mjs +63 -0
  87. package/dist/elements.node.d.ts +6 -0
  88. package/dist/elements.node.js +1 -0
  89. package/dist/elements.node.mjs +21 -0
  90. package/dist/forking.d.ts +1 -0
  91. package/dist/formFieldValidation-DZl2KVaF.js +1 -0
  92. package/dist/formFieldValidation-DvihFrq5.mjs +21 -0
  93. package/dist/getColorAlpha-BVBY0N5x.mjs +39 -0
  94. package/dist/getColorAlpha-CoSseoCn.js +1 -0
  95. package/dist/getImageRect-BQhQXvT8.js +1 -0
  96. package/dist/getImageRect-CBMhFNHM.mjs +109 -0
  97. package/dist/index.d.ts +1 -0
  98. package/dist/index.js +1 -28862
  99. package/dist/index.mjs +16 -62473
  100. package/dist/loadSvgMaskUrl-DfF7ay6h.js +1 -0
  101. package/dist/loadSvgMaskUrl-xHgGYgPe.mjs +20 -0
  102. package/dist/panelAvailability-D179wwJx.mjs +27 -0
  103. package/dist/panelAvailability-DnOe0rQ4.js +1 -0
  104. package/dist/react-splide.esm-CabaEmHi.js +6 -0
  105. package/dist/react-splide.esm-DQqds4PL.mjs +1750 -0
  106. package/dist/readTestimonialTextMeasure-BIXpGFEt.mjs +13 -0
  107. package/dist/readTestimonialTextMeasure-CEPaB4Sy.js +1 -0
  108. package/dist/scalingValue-C9JH5L6O.mjs +6 -0
  109. package/dist/scalingValue-CSHYgTZl.js +1 -0
  110. package/dist/sources.d.ts +1 -0
  111. package/dist/sources.js +23753 -0
  112. package/dist/sources.mjs +23779 -0
  113. package/dist/textStylesToCss-05Mn6I_2.mjs +32 -0
  114. package/dist/textStylesToCss-CNN3zZTV.js +1 -0
  115. package/dist/types/Component.d.ts +0 -1
  116. package/dist/useLightboxScrollLock-Hf16Eq4g.js +1 -0
  117. package/dist/useLightboxScrollLock-VQ07s7EJ.mjs +18 -0
  118. package/dist/useLightboxSwipeDismiss-Br9uE5G0.js +1 -0
  119. package/dist/useLightboxSwipeDismiss-SGv6Ra33.mjs +95 -0
  120. package/dist/useScopedStyles-Bf6yohVQ.js +1 -0
  121. package/dist/useScopedStyles-DhBG3557.mjs +11 -0
  122. package/dist/utils-033j3qNL.js +1 -0
  123. package/dist/utils-FxC9rcxw.mjs +247 -0
  124. package/dist/utils.js +1 -1
  125. package/dist/utils.mjs +17 -11
  126. package/package.json +31 -2
  127. package/dist/index-2JTNRDR1.js +0 -1
  128. package/dist/index-DA8t6EZ4.mjs +0 -255
  129. package/dist/panelAvailability-CgSic84c.mjs +0 -126
  130. package/dist/panelAvailability-D8c7cdbu.js +0 -1
@@ -0,0 +1,1750 @@
1
+ import Le from "react";
2
+ function ir(e, n) {
3
+ for (var t = 0; t < n.length; t++) {
4
+ var r = n[t];
5
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
6
+ }
7
+ }
8
+ function ar(e, n, t) {
9
+ return n && ir(e.prototype, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
10
+ }
11
+ var on = "(prefers-reduced-motion: reduce)", Ce = 1, or = 2, Me = 3, Fe = 4, Ze = 5, at = 6, ct = 7, ur = {
12
+ CREATED: Ce,
13
+ MOUNTED: or,
14
+ IDLE: Me,
15
+ MOVING: Fe,
16
+ SCROLLING: Ze,
17
+ DRAGGING: at,
18
+ DESTROYED: ct
19
+ };
20
+ function de(e) {
21
+ e.length = 0;
22
+ }
23
+ function Ae(e, n, t) {
24
+ return Array.prototype.slice.call(e, n, t);
25
+ }
26
+ function z(e) {
27
+ return e.bind.apply(e, [null].concat(Ae(arguments, 1)));
28
+ }
29
+ var yn = setTimeout, wt = function() {
30
+ };
31
+ function un(e) {
32
+ return requestAnimationFrame(e);
33
+ }
34
+ function ht(e, n) {
35
+ return typeof n === e;
36
+ }
37
+ function We(e) {
38
+ return !Ut(e) && ht("object", e);
39
+ }
40
+ var kt = Array.isArray, Sn = z(ht, "function"), me = z(ht, "string"), Je = z(ht, "undefined");
41
+ function Ut(e) {
42
+ return e === null;
43
+ }
44
+ function Tn(e) {
45
+ try {
46
+ return e instanceof (e.ownerDocument.defaultView || window).HTMLElement;
47
+ } catch {
48
+ return !1;
49
+ }
50
+ }
51
+ function Qe(e) {
52
+ return kt(e) ? e : [e];
53
+ }
54
+ function ne(e, n) {
55
+ Qe(e).forEach(n);
56
+ }
57
+ function Gt(e, n) {
58
+ return e.indexOf(n) > -1;
59
+ }
60
+ function ot(e, n) {
61
+ return e.push.apply(e, Qe(n)), e;
62
+ }
63
+ function fe(e, n, t) {
64
+ e && ne(n, function(r) {
65
+ r && e.classList[t ? "add" : "remove"](r);
66
+ });
67
+ }
68
+ function oe(e, n) {
69
+ fe(e, me(n) ? n.split(" ") : n, !0);
70
+ }
71
+ function je(e, n) {
72
+ ne(n, e.appendChild.bind(e));
73
+ }
74
+ function zt(e, n) {
75
+ ne(e, function(t) {
76
+ var r = (n || t).parentNode;
77
+ r && r.insertBefore(t, n);
78
+ });
79
+ }
80
+ function He(e, n) {
81
+ return Tn(e) && (e.msMatchesSelector || e.matches).call(e, n);
82
+ }
83
+ function pn(e, n) {
84
+ var t = e ? Ae(e.children) : [];
85
+ return n ? t.filter(function(r) {
86
+ return He(r, n);
87
+ }) : t;
88
+ }
89
+ function et(e, n) {
90
+ return n ? pn(e, n)[0] : e.firstElementChild;
91
+ }
92
+ var Ye = Object.keys;
93
+ function Re(e, n, t) {
94
+ return e && (t ? Ye(e).reverse() : Ye(e)).forEach(function(r) {
95
+ r !== "__proto__" && n(e[r], r);
96
+ }), e;
97
+ }
98
+ function Xe(e) {
99
+ return Ae(arguments, 1).forEach(function(n) {
100
+ Re(n, function(t, r) {
101
+ e[r] = n[r];
102
+ });
103
+ }), e;
104
+ }
105
+ function ge(e) {
106
+ return Ae(arguments, 1).forEach(function(n) {
107
+ Re(n, function(t, r) {
108
+ kt(t) ? e[r] = t.slice() : We(t) ? e[r] = ge({}, We(e[r]) ? e[r] : {}, t) : e[r] = t;
109
+ });
110
+ }), e;
111
+ }
112
+ function sn(e, n) {
113
+ ne(n || Ye(e), function(t) {
114
+ delete e[t];
115
+ });
116
+ }
117
+ function ue(e, n) {
118
+ ne(e, function(t) {
119
+ ne(n, function(r) {
120
+ t && t.removeAttribute(r);
121
+ });
122
+ });
123
+ }
124
+ function x(e, n, t) {
125
+ We(n) ? Re(n, function(r, i) {
126
+ x(e, i, r);
127
+ }) : ne(e, function(r) {
128
+ Ut(t) || t === "" ? ue(r, n) : r.setAttribute(n, String(t));
129
+ });
130
+ }
131
+ function Pe(e, n, t) {
132
+ var r = document.createElement(e);
133
+ return n && (me(n) ? oe(r, n) : x(r, n)), t && je(t, r), r;
134
+ }
135
+ function re(e, n, t) {
136
+ if (Je(t))
137
+ return getComputedStyle(e)[n];
138
+ Ut(t) || (e.style[n] = "" + t);
139
+ }
140
+ function qe(e, n) {
141
+ re(e, "display", n);
142
+ }
143
+ function Ln(e) {
144
+ e.setActive && e.setActive() || e.focus({
145
+ preventScroll: !0
146
+ });
147
+ }
148
+ function ie(e, n) {
149
+ return e.getAttribute(n);
150
+ }
151
+ function cn(e, n) {
152
+ return e && e.classList.contains(n);
153
+ }
154
+ function ee(e) {
155
+ return e.getBoundingClientRect();
156
+ }
157
+ function Ne(e) {
158
+ ne(e, function(n) {
159
+ n && n.parentNode && n.parentNode.removeChild(n);
160
+ });
161
+ }
162
+ function Rn(e) {
163
+ return et(new DOMParser().parseFromString(e, "text/html").body);
164
+ }
165
+ function ce(e, n) {
166
+ e.preventDefault(), n && (e.stopPropagation(), e.stopImmediatePropagation());
167
+ }
168
+ function Nn(e, n) {
169
+ return e && e.querySelector(n);
170
+ }
171
+ function Bt(e, n) {
172
+ return n ? Ae(e.querySelectorAll(n)) : [];
173
+ }
174
+ function ve(e, n) {
175
+ fe(e, n, !1);
176
+ }
177
+ function Dt(e) {
178
+ return e.timeStamp;
179
+ }
180
+ function pe(e) {
181
+ return me(e) ? e : e ? e + "px" : "";
182
+ }
183
+ var tt = "splide", Wt = "data-" + tt;
184
+ function ze(e, n) {
185
+ if (!e)
186
+ throw new Error("[" + tt + "] " + (n || ""));
187
+ }
188
+ var _e = Math.min, ft = Math.max, vt = Math.floor, Ke = Math.ceil, j = Math.abs;
189
+ function In(e, n, t) {
190
+ return j(e - n) < t;
191
+ }
192
+ function ut(e, n, t, r) {
193
+ var i = _e(n, t), l = ft(n, t);
194
+ return r ? i < e && e < l : i <= e && e <= l;
195
+ }
196
+ function we(e, n, t) {
197
+ var r = _e(n, t), i = ft(n, t);
198
+ return _e(ft(r, e), i);
199
+ }
200
+ function Ct(e) {
201
+ return +(e > 0) - +(e < 0);
202
+ }
203
+ function Pt(e, n) {
204
+ return ne(n, function(t) {
205
+ e = e.replace("%s", "" + t);
206
+ }), e;
207
+ }
208
+ function Ht(e) {
209
+ return e < 10 ? "0" + e : "" + e;
210
+ }
211
+ var fn = {};
212
+ function sr(e) {
213
+ return "" + e + Ht(fn[e] = (fn[e] || 0) + 1);
214
+ }
215
+ function On() {
216
+ var e = [];
217
+ function n(a, s, c, v) {
218
+ i(a, s, function(o, m, d) {
219
+ var h = "addEventListener" in o, u = h ? o.removeEventListener.bind(o, m, c, v) : o.removeListener.bind(o, c);
220
+ h ? o.addEventListener(m, c, v) : o.addListener(c), e.push([o, m, d, c, u]);
221
+ });
222
+ }
223
+ function t(a, s, c) {
224
+ i(a, s, function(v, o, m) {
225
+ e = e.filter(function(d) {
226
+ return d[0] === v && d[1] === o && d[2] === m && (!c || d[3] === c) ? (d[4](), !1) : !0;
227
+ });
228
+ });
229
+ }
230
+ function r(a, s, c) {
231
+ var v, o = !0;
232
+ return typeof CustomEvent == "function" ? v = new CustomEvent(s, {
233
+ bubbles: o,
234
+ detail: c
235
+ }) : (v = document.createEvent("CustomEvent"), v.initCustomEvent(s, o, !1, c)), a.dispatchEvent(v), v;
236
+ }
237
+ function i(a, s, c) {
238
+ ne(a, function(v) {
239
+ v && ne(s, function(o) {
240
+ o.split(" ").forEach(function(m) {
241
+ var d = m.split(".");
242
+ c(v, d[0], d[1]);
243
+ });
244
+ });
245
+ });
246
+ }
247
+ function l() {
248
+ e.forEach(function(a) {
249
+ a[4]();
250
+ }), de(e);
251
+ }
252
+ return {
253
+ bind: n,
254
+ unbind: t,
255
+ dispatch: r,
256
+ destroy: l
257
+ };
258
+ }
259
+ var ye = "mounted", bt = "ready", he = "move", ke = "moved", Yt = "click", wn = "active", Dn = "inactive", Cn = "visible", Pn = "hidden", q = "refresh", J = "updated", Ve = "resize", Et = "resized", bn = "drag", Mn = "dragging", Vn = "dragged", gt = "scroll", Oe = "scrolled", cr = "overflow", Xt = "destroy", xn = "arrows:mounted", Fn = "arrows:updated", kn = "pagination:mounted", Un = "pagination:updated", qt = "navigation:mounted", Kt = "autoplay:play", Gn = "autoplay:playing", $t = "autoplay:pause", Zt = "lazyload:loaded", zn = "sk", Bn = "sh", lt = "ei";
260
+ function H(e) {
261
+ var n = e ? e.event.bus : document.createDocumentFragment(), t = On();
262
+ function r(l, a) {
263
+ t.bind(n, Qe(l).join(" "), function(s) {
264
+ a.apply(a, kt(s.detail) ? s.detail : []);
265
+ });
266
+ }
267
+ function i(l) {
268
+ t.dispatch(n, l, Ae(arguments, 1));
269
+ }
270
+ return e && e.event.on(Xt, t.destroy), Xe(t, {
271
+ bus: n,
272
+ on: r,
273
+ off: z(t.unbind, n),
274
+ emit: i
275
+ });
276
+ }
277
+ function mt(e, n, t, r) {
278
+ var i = Date.now, l, a = 0, s, c = !0, v = 0;
279
+ function o() {
280
+ if (!c) {
281
+ if (a = e ? _e((i() - l) / e, 1) : 1, t && t(a), a >= 1 && (n(), l = i(), r && ++v >= r))
282
+ return d();
283
+ s = un(o);
284
+ }
285
+ }
286
+ function m(_) {
287
+ _ || u(), l = i() - (_ ? a * e : 0), c = !1, s = un(o);
288
+ }
289
+ function d() {
290
+ c = !0;
291
+ }
292
+ function h() {
293
+ l = i(), a = 0, t && t(a);
294
+ }
295
+ function u() {
296
+ s && cancelAnimationFrame(s), a = 0, s = 0, c = !0;
297
+ }
298
+ function f(_) {
299
+ e = _;
300
+ }
301
+ function A() {
302
+ return c;
303
+ }
304
+ return {
305
+ start: m,
306
+ rewind: h,
307
+ pause: d,
308
+ cancel: u,
309
+ set: f,
310
+ isPaused: A
311
+ };
312
+ }
313
+ function fr(e) {
314
+ var n = e;
315
+ function t(i) {
316
+ n = i;
317
+ }
318
+ function r(i) {
319
+ return Gt(Qe(i), n);
320
+ }
321
+ return {
322
+ set: t,
323
+ is: r
324
+ };
325
+ }
326
+ function vr(e, n) {
327
+ var t = mt(0, e, null, 1);
328
+ return function() {
329
+ t.isPaused() && t.start();
330
+ };
331
+ }
332
+ function lr(e, n, t) {
333
+ var r = e.state, i = t.breakpoints || {}, l = t.reducedMotion || {}, a = On(), s = [];
334
+ function c() {
335
+ var u = t.mediaQuery === "min";
336
+ Ye(i).sort(function(f, A) {
337
+ return u ? +f - +A : +A - +f;
338
+ }).forEach(function(f) {
339
+ o(i[f], "(" + (u ? "min" : "max") + "-width:" + f + "px)");
340
+ }), o(l, on), m();
341
+ }
342
+ function v(u) {
343
+ u && a.destroy();
344
+ }
345
+ function o(u, f) {
346
+ var A = matchMedia(f);
347
+ a.bind(A, "change", m), s.push([u, A]);
348
+ }
349
+ function m() {
350
+ var u = r.is(ct), f = t.direction, A = s.reduce(function(_, g) {
351
+ return ge(_, g[1].matches ? g[0] : {});
352
+ }, {});
353
+ sn(t), h(A), t.destroy ? e.destroy(t.destroy === "completely") : u ? (v(!0), e.mount()) : f !== t.direction && e.refresh();
354
+ }
355
+ function d(u) {
356
+ matchMedia(on).matches && (u ? ge(t, l) : sn(t, Ye(l)));
357
+ }
358
+ function h(u, f, A) {
359
+ ge(t, u), f && ge(Object.getPrototypeOf(t), u), (A || !r.is(Ce)) && e.emit(J, t);
360
+ }
361
+ return {
362
+ setup: c,
363
+ destroy: v,
364
+ reduce: d,
365
+ set: h
366
+ };
367
+ }
368
+ var _t = "Arrow", At = _t + "Left", yt = _t + "Right", Wn = _t + "Up", Hn = _t + "Down", vn = "rtl", St = "ttb", Rt = {
369
+ width: ["height"],
370
+ left: ["top", "right"],
371
+ right: ["bottom", "left"],
372
+ x: ["y"],
373
+ X: ["Y"],
374
+ Y: ["X"],
375
+ ArrowLeft: [Wn, yt],
376
+ ArrowRight: [Hn, At]
377
+ };
378
+ function dr(e, n, t) {
379
+ function r(l, a, s) {
380
+ s = s || t.direction;
381
+ var c = s === vn && !a ? 1 : s === St ? 0 : -1;
382
+ return Rt[l] && Rt[l][c] || l.replace(/width|left|right/i, function(v, o) {
383
+ var m = Rt[v.toLowerCase()][c] || v;
384
+ return o > 0 ? m.charAt(0).toUpperCase() + m.slice(1) : m;
385
+ });
386
+ }
387
+ function i(l) {
388
+ return l * (t.direction === vn ? 1 : -1);
389
+ }
390
+ return {
391
+ resolve: r,
392
+ orient: i
393
+ };
394
+ }
395
+ var le = "role", be = "tabindex", hr = "disabled", ae = "aria-", nt = ae + "controls", Yn = ae + "current", ln = ae + "selected", te = ae + "label", Jt = ae + "labelledby", Xn = ae + "hidden", Qt = ae + "orientation", $e = ae + "roledescription", dn = ae + "live", hn = ae + "busy", En = ae + "atomic", jt = [le, be, hr, nt, Yn, te, Jt, Xn, Qt, $e], se = tt + "__", Se = "is-", Nt = tt, gn = se + "track", Er = se + "list", Tt = se + "slide", qn = Tt + "--clone", gr = Tt + "__container", en = se + "arrows", pt = se + "arrow", Kn = pt + "--prev", $n = pt + "--next", Lt = se + "pagination", Zn = Lt + "__page", mr = se + "progress", _r = mr + "__bar", Ar = se + "toggle", yr = se + "spinner", Sr = se + "sr", Tr = Se + "initialized", Ie = Se + "active", Jn = Se + "prev", Qn = Se + "next", Mt = Se + "visible", Vt = Se + "loading", jn = Se + "focus-in", er = Se + "overflow", pr = [Ie, Mt, Jn, Qn, Vt, jn, er], Lr = {
396
+ slide: Tt,
397
+ clone: qn,
398
+ arrows: en,
399
+ arrow: pt,
400
+ prev: Kn,
401
+ next: $n,
402
+ pagination: Lt,
403
+ page: Zn,
404
+ spinner: yr
405
+ };
406
+ function Rr(e, n) {
407
+ if (Sn(e.closest))
408
+ return e.closest(n);
409
+ for (var t = e; t && t.nodeType === 1 && !He(t, n); )
410
+ t = t.parentElement;
411
+ return t;
412
+ }
413
+ var Nr = 5, mn = 200, tr = "touchstart mousedown", It = "touchmove mousemove", Ot = "touchend touchcancel mouseup click";
414
+ function Ir(e, n, t) {
415
+ var r = H(e), i = r.on, l = r.bind, a = e.root, s = t.i18n, c = {}, v = [], o = [], m = [], d, h, u;
416
+ function f() {
417
+ E(), P(), g();
418
+ }
419
+ function A() {
420
+ i(q, _), i(q, f), i(J, g), l(document, tr + " keydown", function(S) {
421
+ u = S.type === "keydown";
422
+ }, {
423
+ capture: !0
424
+ }), l(a, "focusin", function() {
425
+ fe(a, jn, !!u);
426
+ });
427
+ }
428
+ function _(S) {
429
+ var O = jt.concat("style");
430
+ de(v), ve(a, o), ve(d, m), ue([d, h], O), ue(a, S ? O : ["style", $e]);
431
+ }
432
+ function g() {
433
+ ve(a, o), ve(d, m), o = M(Nt), m = M(gn), oe(a, o), oe(d, m), x(a, te, t.label), x(a, Jt, t.labelledby);
434
+ }
435
+ function E() {
436
+ d = I("." + gn), h = et(d, "." + Er), ze(d && h, "A track/list element is missing."), ot(v, pn(h, "." + Tt + ":not(." + qn + ")")), Re({
437
+ arrows: en,
438
+ pagination: Lt,
439
+ prev: Kn,
440
+ next: $n,
441
+ bar: _r,
442
+ toggle: Ar
443
+ }, function(S, O) {
444
+ c[O] = I("." + S);
445
+ }), Xe(c, {
446
+ root: a,
447
+ track: d,
448
+ list: h,
449
+ slides: v
450
+ });
451
+ }
452
+ function P() {
453
+ var S = a.id || sr(tt), O = t.role;
454
+ a.id = S, d.id = d.id || S + "-track", h.id = h.id || S + "-list", !ie(a, le) && a.tagName !== "SECTION" && O && x(a, le, O), x(a, $e, s.carousel), x(h, le, "presentation");
455
+ }
456
+ function I(S) {
457
+ var O = Nn(a, S);
458
+ return O && Rr(O, "." + Nt) === a ? O : void 0;
459
+ }
460
+ function M(S) {
461
+ return [S + "--" + t.type, S + "--" + t.direction, t.drag && S + "--draggable", t.isNavigation && S + "--nav", S === Nt && Ie];
462
+ }
463
+ return Xe(c, {
464
+ setup: f,
465
+ mount: A,
466
+ destroy: _
467
+ });
468
+ }
469
+ var xe = "slide", Ue = "loop", rt = "fade";
470
+ function Or(e, n, t, r) {
471
+ var i = H(e), l = i.on, a = i.emit, s = i.bind, c = e.Components, v = e.root, o = e.options, m = o.isNavigation, d = o.updateOnMove, h = o.i18n, u = o.pagination, f = o.slideFocus, A = c.Direction.resolve, _ = ie(r, "style"), g = ie(r, te), E = t > -1, P = et(r, "." + gr), I;
472
+ function M() {
473
+ E || (r.id = v.id + "-slide" + Ht(n + 1), x(r, le, u ? "tabpanel" : "group"), x(r, $e, h.slide), x(r, te, g || Pt(h.slideLabel, [n + 1, e.length]))), S();
474
+ }
475
+ function S() {
476
+ s(r, "click", z(a, Yt, b)), s(r, "keydown", z(a, zn, b)), l([ke, Bn, Oe], p), l(qt, k), d && l(he, C);
477
+ }
478
+ function O() {
479
+ I = !0, i.destroy(), ve(r, pr), ue(r, jt), x(r, "style", _), x(r, te, g || "");
480
+ }
481
+ function k() {
482
+ var D = e.splides.map(function(T) {
483
+ var w = T.splide.Components.Slides.getAt(n);
484
+ return w ? w.slide.id : "";
485
+ }).join(" ");
486
+ x(r, te, Pt(h.slideX, (E ? t : n) + 1)), x(r, nt, D), x(r, le, f ? "button" : ""), f && ue(r, $e);
487
+ }
488
+ function C() {
489
+ I || p();
490
+ }
491
+ function p() {
492
+ if (!I) {
493
+ var D = e.index;
494
+ L(), R(), fe(r, Jn, n === D - 1), fe(r, Qn, n === D + 1);
495
+ }
496
+ }
497
+ function L() {
498
+ var D = F();
499
+ D !== cn(r, Ie) && (fe(r, Ie, D), x(r, Yn, m && D || ""), a(D ? wn : Dn, b));
500
+ }
501
+ function R() {
502
+ var D = Y(), T = !D && (!F() || E);
503
+ if (e.state.is([Fe, Ze]) || x(r, Xn, T || ""), x(Bt(r, o.focusableNodes || ""), be, T ? -1 : ""), f && x(r, be, T ? -1 : 0), D !== cn(r, Mt) && (fe(r, Mt, D), a(D ? Cn : Pn, b)), !D && document.activeElement === r) {
504
+ var w = c.Slides.getAt(e.index);
505
+ w && Ln(w.slide);
506
+ }
507
+ }
508
+ function V(D, T, w) {
509
+ re(w && P || r, D, T);
510
+ }
511
+ function F() {
512
+ var D = e.index;
513
+ return D === n || o.cloneStatus && D === t;
514
+ }
515
+ function Y() {
516
+ if (e.is(rt))
517
+ return F();
518
+ var D = ee(c.Elements.track), T = ee(r), w = A("left", !0), U = A("right", !0);
519
+ return vt(D[w]) <= Ke(T[w]) && vt(T[U]) <= Ke(D[U]);
520
+ }
521
+ function W(D, T) {
522
+ var w = j(D - n);
523
+ return !E && (o.rewind || e.is(Ue)) && (w = _e(w, e.length - w)), w <= T;
524
+ }
525
+ var b = {
526
+ index: n,
527
+ slideIndex: t,
528
+ slide: r,
529
+ container: P,
530
+ isClone: E,
531
+ mount: M,
532
+ destroy: O,
533
+ update: p,
534
+ style: V,
535
+ isWithin: W
536
+ };
537
+ return b;
538
+ }
539
+ function wr(e, n, t) {
540
+ var r = H(e), i = r.on, l = r.emit, a = r.bind, s = n.Elements, c = s.slides, v = s.list, o = [];
541
+ function m() {
542
+ d(), i(q, h), i(q, d);
543
+ }
544
+ function d() {
545
+ c.forEach(function(p, L) {
546
+ f(p, L, -1);
547
+ });
548
+ }
549
+ function h() {
550
+ I(function(p) {
551
+ p.destroy();
552
+ }), de(o);
553
+ }
554
+ function u() {
555
+ I(function(p) {
556
+ p.update();
557
+ });
558
+ }
559
+ function f(p, L, R) {
560
+ var V = Or(e, L, R, p);
561
+ V.mount(), o.push(V), o.sort(function(F, Y) {
562
+ return F.index - Y.index;
563
+ });
564
+ }
565
+ function A(p) {
566
+ return p ? M(function(L) {
567
+ return !L.isClone;
568
+ }) : o;
569
+ }
570
+ function _(p) {
571
+ var L = n.Controller, R = L.toIndex(p), V = L.hasFocus() ? 1 : t.perPage;
572
+ return M(function(F) {
573
+ return ut(F.index, R, R + V - 1);
574
+ });
575
+ }
576
+ function g(p) {
577
+ return M(p)[0];
578
+ }
579
+ function E(p, L) {
580
+ ne(p, function(R) {
581
+ if (me(R) && (R = Rn(R)), Tn(R)) {
582
+ var V = c[L];
583
+ V ? zt(R, V) : je(v, R), oe(R, t.classes.slide), O(R, z(l, Ve));
584
+ }
585
+ }), l(q);
586
+ }
587
+ function P(p) {
588
+ Ne(M(p).map(function(L) {
589
+ return L.slide;
590
+ })), l(q);
591
+ }
592
+ function I(p, L) {
593
+ A(L).forEach(p);
594
+ }
595
+ function M(p) {
596
+ return o.filter(Sn(p) ? p : function(L) {
597
+ return me(p) ? He(L.slide, p) : Gt(Qe(p), L.index);
598
+ });
599
+ }
600
+ function S(p, L, R) {
601
+ I(function(V) {
602
+ V.style(p, L, R);
603
+ });
604
+ }
605
+ function O(p, L) {
606
+ var R = Bt(p, "img"), V = R.length;
607
+ V ? R.forEach(function(F) {
608
+ a(F, "load error", function() {
609
+ --V || L();
610
+ });
611
+ }) : L();
612
+ }
613
+ function k(p) {
614
+ return p ? c.length : o.length;
615
+ }
616
+ function C() {
617
+ return o.length > t.perPage;
618
+ }
619
+ return {
620
+ mount: m,
621
+ destroy: h,
622
+ update: u,
623
+ register: f,
624
+ get: A,
625
+ getIn: _,
626
+ getAt: g,
627
+ add: E,
628
+ remove: P,
629
+ forEach: I,
630
+ filter: M,
631
+ style: S,
632
+ getLength: k,
633
+ isEnough: C
634
+ };
635
+ }
636
+ function Dr(e, n, t) {
637
+ var r = H(e), i = r.on, l = r.bind, a = r.emit, s = n.Slides, c = n.Direction.resolve, v = n.Elements, o = v.root, m = v.track, d = v.list, h = s.getAt, u = s.style, f, A, _;
638
+ function g() {
639
+ E(), l(window, "resize load", vr(z(a, Ve))), i([J, q], E), i(Ve, P);
640
+ }
641
+ function E() {
642
+ f = t.direction === St, re(o, "maxWidth", pe(t.width)), re(m, c("paddingLeft"), I(!1)), re(m, c("paddingRight"), I(!0)), P(!0);
643
+ }
644
+ function P(b) {
645
+ var D = ee(o);
646
+ (b || A.width !== D.width || A.height !== D.height) && (re(m, "height", M()), u(c("marginRight"), pe(t.gap)), u("width", O()), u("height", k(), !0), A = D, a(Et), _ !== (_ = W()) && (fe(o, er, _), a(cr, _)));
647
+ }
648
+ function I(b) {
649
+ var D = t.padding, T = c(b ? "right" : "left");
650
+ return D && pe(D[T] || (We(D) ? 0 : D)) || "0px";
651
+ }
652
+ function M() {
653
+ var b = "";
654
+ return f && (b = S(), ze(b, "height or heightRatio is missing."), b = "calc(" + b + " - " + I(!1) + " - " + I(!0) + ")"), b;
655
+ }
656
+ function S() {
657
+ return pe(t.height || ee(d).width * t.heightRatio);
658
+ }
659
+ function O() {
660
+ return t.autoWidth ? null : pe(t.fixedWidth) || (f ? "" : C());
661
+ }
662
+ function k() {
663
+ return pe(t.fixedHeight) || (f ? t.autoHeight ? null : C() : S());
664
+ }
665
+ function C() {
666
+ var b = pe(t.gap);
667
+ return "calc((100%" + (b && " + " + b) + ")/" + (t.perPage || 1) + (b && " - " + b) + ")";
668
+ }
669
+ function p() {
670
+ return ee(d)[c("width")];
671
+ }
672
+ function L(b, D) {
673
+ var T = h(b || 0);
674
+ return T ? ee(T.slide)[c("width")] + (D ? 0 : F()) : 0;
675
+ }
676
+ function R(b, D) {
677
+ var T = h(b);
678
+ if (T) {
679
+ var w = ee(T.slide)[c("right")], U = ee(d)[c("left")];
680
+ return j(w - U) + (D ? 0 : F());
681
+ }
682
+ return 0;
683
+ }
684
+ function V(b) {
685
+ return R(e.length - 1) - R(0) + L(0, b);
686
+ }
687
+ function F() {
688
+ var b = h(0);
689
+ return b && parseFloat(re(b.slide, c("marginRight"))) || 0;
690
+ }
691
+ function Y(b) {
692
+ return parseFloat(re(m, c("padding" + (b ? "Right" : "Left")))) || 0;
693
+ }
694
+ function W() {
695
+ return e.is(rt) || V(!0) > p();
696
+ }
697
+ return {
698
+ mount: g,
699
+ resize: P,
700
+ listSize: p,
701
+ slideSize: L,
702
+ sliderSize: V,
703
+ totalSize: R,
704
+ getPadding: Y,
705
+ isOverflow: W
706
+ };
707
+ }
708
+ var Cr = 2;
709
+ function Pr(e, n, t) {
710
+ var r = H(e), i = r.on, l = n.Elements, a = n.Slides, s = n.Direction.resolve, c = [], v;
711
+ function o() {
712
+ i(q, m), i([J, Ve], h), (v = A()) && (u(v), n.Layout.resize(!0));
713
+ }
714
+ function m() {
715
+ d(), o();
716
+ }
717
+ function d() {
718
+ Ne(c), de(c), r.destroy();
719
+ }
720
+ function h() {
721
+ var _ = A();
722
+ v !== _ && (v < _ || !_) && r.emit(q);
723
+ }
724
+ function u(_) {
725
+ var g = a.get().slice(), E = g.length;
726
+ if (E) {
727
+ for (; g.length < _; )
728
+ ot(g, g);
729
+ ot(g.slice(-_), g.slice(0, _)).forEach(function(P, I) {
730
+ var M = I < _, S = f(P.slide, I);
731
+ M ? zt(S, g[0].slide) : je(l.list, S), ot(c, S), a.register(S, I - _ + (M ? 0 : E), P.index);
732
+ });
733
+ }
734
+ }
735
+ function f(_, g) {
736
+ var E = _.cloneNode(!0);
737
+ return oe(E, t.classes.clone), E.id = e.root.id + "-clone" + Ht(g + 1), E;
738
+ }
739
+ function A() {
740
+ var _ = t.clones;
741
+ if (!e.is(Ue))
742
+ _ = 0;
743
+ else if (Je(_)) {
744
+ var g = t[s("fixedWidth")] && n.Layout.slideSize(0), E = g && Ke(ee(l.track)[s("width")] / g);
745
+ _ = E || t[s("autoWidth")] && e.length || t.perPage * Cr;
746
+ }
747
+ return _;
748
+ }
749
+ return {
750
+ mount: o,
751
+ destroy: d
752
+ };
753
+ }
754
+ function br(e, n, t) {
755
+ var r = H(e), i = r.on, l = r.emit, a = e.state.set, s = n.Layout, c = s.slideSize, v = s.getPadding, o = s.totalSize, m = s.listSize, d = s.sliderSize, h = n.Direction, u = h.resolve, f = h.orient, A = n.Elements, _ = A.list, g = A.track, E;
756
+ function P() {
757
+ E = n.Transition, i([ye, Et, J, q], I);
758
+ }
759
+ function I() {
760
+ n.Controller.isBusy() || (n.Scroll.cancel(), S(e.index), n.Slides.update());
761
+ }
762
+ function M(T, w, U, $) {
763
+ T !== w && b(T > U) && (p(), O(C(V(), T > U), !0)), a(Fe), l(he, w, U, T), E.start(w, function() {
764
+ a(Me), l(ke, w, U, T), $ && $();
765
+ });
766
+ }
767
+ function S(T) {
768
+ O(R(T, !0));
769
+ }
770
+ function O(T, w) {
771
+ if (!e.is(rt)) {
772
+ var U = w ? T : k(T);
773
+ re(_, "transform", "translate" + u("X") + "(" + U + "px)"), T !== U && l(Bn);
774
+ }
775
+ }
776
+ function k(T) {
777
+ if (e.is(Ue)) {
778
+ var w = L(T), U = w > n.Controller.getEnd(), $ = w < 0;
779
+ ($ || U) && (T = C(T, U));
780
+ }
781
+ return T;
782
+ }
783
+ function C(T, w) {
784
+ var U = T - W(w), $ = d();
785
+ return T -= f($ * (Ke(j(U) / $) || 1)) * (w ? 1 : -1), T;
786
+ }
787
+ function p() {
788
+ O(V(), !0), E.cancel();
789
+ }
790
+ function L(T) {
791
+ for (var w = n.Slides.get(), U = 0, $ = 1 / 0, K = 0; K < w.length; K++) {
792
+ var Ee = w[K].index, y = j(R(Ee, !0) - T);
793
+ if (y <= $)
794
+ $ = y, U = Ee;
795
+ else
796
+ break;
797
+ }
798
+ return U;
799
+ }
800
+ function R(T, w) {
801
+ var U = f(o(T - 1) - Y(T));
802
+ return w ? F(U) : U;
803
+ }
804
+ function V() {
805
+ var T = u("left");
806
+ return ee(_)[T] - ee(g)[T] + f(v(!1));
807
+ }
808
+ function F(T) {
809
+ return t.trimSpace && e.is(xe) && (T = we(T, 0, f(d(!0) - m()))), T;
810
+ }
811
+ function Y(T) {
812
+ var w = t.focus;
813
+ return w === "center" ? (m() - c(T, !0)) / 2 : +w * c(T) || 0;
814
+ }
815
+ function W(T) {
816
+ return R(T ? n.Controller.getEnd() : 0, !!t.trimSpace);
817
+ }
818
+ function b(T) {
819
+ var w = f(C(V(), T));
820
+ return T ? w >= 0 : w <= _[u("scrollWidth")] - ee(g)[u("width")];
821
+ }
822
+ function D(T, w) {
823
+ w = Je(w) ? V() : w;
824
+ var U = T !== !0 && f(w) < f(W(!1)), $ = T !== !1 && f(w) > f(W(!0));
825
+ return U || $;
826
+ }
827
+ return {
828
+ mount: P,
829
+ move: M,
830
+ jump: S,
831
+ translate: O,
832
+ shift: C,
833
+ cancel: p,
834
+ toIndex: L,
835
+ toPosition: R,
836
+ getPosition: V,
837
+ getLimit: W,
838
+ exceededLimit: D,
839
+ reposition: I
840
+ };
841
+ }
842
+ function Mr(e, n, t) {
843
+ var r = H(e), i = r.on, l = r.emit, a = n.Move, s = a.getPosition, c = a.getLimit, v = a.toPosition, o = n.Slides, m = o.isEnough, d = o.getLength, h = t.omitEnd, u = e.is(Ue), f = e.is(xe), A = z(V, !1), _ = z(V, !0), g = t.start || 0, E, P = g, I, M, S;
844
+ function O() {
845
+ k(), i([J, q, lt], k), i(Et, C);
846
+ }
847
+ function k() {
848
+ I = d(!0), M = t.perMove, S = t.perPage, E = b();
849
+ var y = we(g, 0, h ? E : I - 1);
850
+ y !== g && (g = y, a.reposition());
851
+ }
852
+ function C() {
853
+ E !== b() && l(lt);
854
+ }
855
+ function p(y, G, Q) {
856
+ if (!Ee()) {
857
+ var X = R(y), Z = W(X);
858
+ Z > -1 && (G || Z !== g) && (U(Z), a.move(X, Z, P, Q));
859
+ }
860
+ }
861
+ function L(y, G, Q, X) {
862
+ n.Scroll.scroll(y, G, Q, function() {
863
+ var Z = W(a.toIndex(s()));
864
+ U(h ? _e(Z, E) : Z), X && X();
865
+ });
866
+ }
867
+ function R(y) {
868
+ var G = g;
869
+ if (me(y)) {
870
+ var Q = y.match(/([+\-<>])(\d+)?/) || [], X = Q[1], Z = Q[2];
871
+ X === "+" || X === "-" ? G = F(g + +("" + X + (+Z || 1)), g) : X === ">" ? G = Z ? D(+Z) : A(!0) : X === "<" && (G = _(!0));
872
+ } else
873
+ G = u ? y : we(y, 0, E);
874
+ return G;
875
+ }
876
+ function V(y, G) {
877
+ var Q = M || (K() ? 1 : S), X = F(g + Q * (y ? -1 : 1), g, !(M || K()));
878
+ return X === -1 && f && !In(s(), c(!y), 1) ? y ? 0 : E : G ? X : W(X);
879
+ }
880
+ function F(y, G, Q) {
881
+ if (m() || K()) {
882
+ var X = Y(y);
883
+ X !== y && (G = y, y = X, Q = !1), y < 0 || y > E ? !M && (ut(0, y, G, !0) || ut(E, G, y, !0)) ? y = D(T(y)) : u ? y = Q ? y < 0 ? -(I % S || S) : I : y : t.rewind ? y = y < 0 ? E : 0 : y = -1 : Q && y !== G && (y = D(T(G) + (y < G ? -1 : 1)));
884
+ } else
885
+ y = -1;
886
+ return y;
887
+ }
888
+ function Y(y) {
889
+ if (f && t.trimSpace === "move" && y !== g)
890
+ for (var G = s(); G === v(y, !0) && ut(y, 0, e.length - 1, !t.rewind); )
891
+ y < g ? --y : ++y;
892
+ return y;
893
+ }
894
+ function W(y) {
895
+ return u ? (y + I) % I || 0 : y;
896
+ }
897
+ function b() {
898
+ for (var y = I - (K() || u && M ? 1 : S); h && y-- > 0; )
899
+ if (v(I - 1, !0) !== v(y, !0)) {
900
+ y++;
901
+ break;
902
+ }
903
+ return we(y, 0, I - 1);
904
+ }
905
+ function D(y) {
906
+ return we(K() ? y : S * y, 0, E);
907
+ }
908
+ function T(y) {
909
+ return K() ? _e(y, E) : vt((y >= E ? I - 1 : y) / S);
910
+ }
911
+ function w(y) {
912
+ var G = a.toIndex(y);
913
+ return f ? we(G, 0, E) : G;
914
+ }
915
+ function U(y) {
916
+ y !== g && (P = g, g = y);
917
+ }
918
+ function $(y) {
919
+ return y ? P : g;
920
+ }
921
+ function K() {
922
+ return !Je(t.focus) || t.isNavigation;
923
+ }
924
+ function Ee() {
925
+ return e.state.is([Fe, Ze]) && !!t.waitForTransition;
926
+ }
927
+ return {
928
+ mount: O,
929
+ go: p,
930
+ scroll: L,
931
+ getNext: A,
932
+ getPrev: _,
933
+ getAdjacent: V,
934
+ getEnd: b,
935
+ setIndex: U,
936
+ getIndex: $,
937
+ toIndex: D,
938
+ toPage: T,
939
+ toDest: w,
940
+ hasFocus: K,
941
+ isBusy: Ee
942
+ };
943
+ }
944
+ var Vr = "http://www.w3.org/2000/svg", xr = "m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z", it = 40;
945
+ function Fr(e, n, t) {
946
+ var r = H(e), i = r.on, l = r.bind, a = r.emit, s = t.classes, c = t.i18n, v = n.Elements, o = n.Controller, m = v.arrows, d = v.track, h = m, u = v.prev, f = v.next, A, _, g = {};
947
+ function E() {
948
+ I(), i(J, P);
949
+ }
950
+ function P() {
951
+ M(), E();
952
+ }
953
+ function I() {
954
+ var L = t.arrows;
955
+ L && !(u && f) && k(), u && f && (Xe(g, {
956
+ prev: u,
957
+ next: f
958
+ }), qe(h, L ? "" : "none"), oe(h, _ = en + "--" + t.direction), L && (S(), p(), x([u, f], nt, d.id), a(xn, u, f)));
959
+ }
960
+ function M() {
961
+ r.destroy(), ve(h, _), A ? (Ne(m ? [u, f] : h), u = f = null) : ue([u, f], jt);
962
+ }
963
+ function S() {
964
+ i([ye, ke, q, Oe, lt], p), l(f, "click", z(O, ">")), l(u, "click", z(O, "<"));
965
+ }
966
+ function O(L) {
967
+ o.go(L, !0);
968
+ }
969
+ function k() {
970
+ h = m || Pe("div", s.arrows), u = C(!0), f = C(!1), A = !0, je(h, [u, f]), !m && zt(h, d);
971
+ }
972
+ function C(L) {
973
+ var R = '<button class="' + s.arrow + " " + (L ? s.prev : s.next) + '" type="button"><svg xmlns="' + Vr + '" viewBox="0 0 ' + it + " " + it + '" width="' + it + '" height="' + it + '" focusable="false"><path d="' + (t.arrowPath || xr) + '" />';
974
+ return Rn(R);
975
+ }
976
+ function p() {
977
+ if (u && f) {
978
+ var L = e.index, R = o.getPrev(), V = o.getNext(), F = R > -1 && L < R ? c.last : c.prev, Y = V > -1 && L > V ? c.first : c.next;
979
+ u.disabled = R < 0, f.disabled = V < 0, x(u, te, F), x(f, te, Y), a(Fn, u, f, R, V);
980
+ }
981
+ }
982
+ return {
983
+ arrows: g,
984
+ mount: E,
985
+ destroy: M,
986
+ update: p
987
+ };
988
+ }
989
+ var kr = Wt + "-interval";
990
+ function Ur(e, n, t) {
991
+ var r = H(e), i = r.on, l = r.bind, a = r.emit, s = mt(t.interval, e.go.bind(e, ">"), S), c = s.isPaused, v = n.Elements, o = n.Elements, m = o.root, d = o.toggle, h = t.autoplay, u, f, A = h === "pause";
992
+ function _() {
993
+ h && (g(), d && x(d, nt, v.track.id), A || E(), M());
994
+ }
995
+ function g() {
996
+ t.pauseOnHover && l(m, "mouseenter mouseleave", function(k) {
997
+ u = k.type === "mouseenter", I();
998
+ }), t.pauseOnFocus && l(m, "focusin focusout", function(k) {
999
+ f = k.type === "focusin", I();
1000
+ }), d && l(d, "click", function() {
1001
+ A ? E() : P(!0);
1002
+ }), i([he, gt, q], s.rewind), i(he, O);
1003
+ }
1004
+ function E() {
1005
+ c() && n.Slides.isEnough() && (s.start(!t.resetProgress), f = u = A = !1, M(), a(Kt));
1006
+ }
1007
+ function P(k) {
1008
+ k === void 0 && (k = !0), A = !!k, M(), c() || (s.pause(), a($t));
1009
+ }
1010
+ function I() {
1011
+ A || (u || f ? P(!1) : E());
1012
+ }
1013
+ function M() {
1014
+ d && (fe(d, Ie, !A), x(d, te, t.i18n[A ? "play" : "pause"]));
1015
+ }
1016
+ function S(k) {
1017
+ var C = v.bar;
1018
+ C && re(C, "width", k * 100 + "%"), a(Gn, k);
1019
+ }
1020
+ function O(k) {
1021
+ var C = n.Slides.getAt(k);
1022
+ s.set(C && +ie(C.slide, kr) || t.interval);
1023
+ }
1024
+ return {
1025
+ mount: _,
1026
+ destroy: s.cancel,
1027
+ play: E,
1028
+ pause: P,
1029
+ isPaused: c
1030
+ };
1031
+ }
1032
+ function Gr(e, n, t) {
1033
+ var r = H(e), i = r.on;
1034
+ function l() {
1035
+ t.cover && (i(Zt, z(s, !0)), i([ye, J, q], z(a, !0)));
1036
+ }
1037
+ function a(c) {
1038
+ n.Slides.forEach(function(v) {
1039
+ var o = et(v.container || v.slide, "img");
1040
+ o && o.src && s(c, o, v);
1041
+ });
1042
+ }
1043
+ function s(c, v, o) {
1044
+ o.style("background", c ? 'center/cover no-repeat url("' + v.src + '")' : "", !0), qe(v, c ? "none" : "");
1045
+ }
1046
+ return {
1047
+ mount: l,
1048
+ destroy: z(a, !1)
1049
+ };
1050
+ }
1051
+ var zr = 10, Br = 600, Wr = 0.6, Hr = 1.5, Yr = 800;
1052
+ function Xr(e, n, t) {
1053
+ var r = H(e), i = r.on, l = r.emit, a = e.state.set, s = n.Move, c = s.getPosition, v = s.getLimit, o = s.exceededLimit, m = s.translate, d = e.is(xe), h, u, f = 1;
1054
+ function A() {
1055
+ i(he, P), i([J, q], I);
1056
+ }
1057
+ function _(S, O, k, C, p) {
1058
+ var L = c();
1059
+ if (P(), k && (!d || !o())) {
1060
+ var R = n.Layout.sliderSize(), V = Ct(S) * R * vt(j(S) / R) || 0;
1061
+ S = s.toPosition(n.Controller.toDest(S % R)) + V;
1062
+ }
1063
+ var F = In(L, S, 1);
1064
+ f = 1, O = F ? 0 : O || ft(j(S - L) / Hr, Yr), u = C, h = mt(O, g, z(E, L, S, p), 1), a(Ze), l(gt), h.start();
1065
+ }
1066
+ function g() {
1067
+ a(Me), u && u(), l(Oe);
1068
+ }
1069
+ function E(S, O, k, C) {
1070
+ var p = c(), L = S + (O - S) * M(C), R = (L - p) * f;
1071
+ m(p + R), d && !k && o() && (f *= Wr, j(R) < zr && _(v(o(!0)), Br, !1, u, !0));
1072
+ }
1073
+ function P() {
1074
+ h && h.cancel();
1075
+ }
1076
+ function I() {
1077
+ h && !h.isPaused() && (P(), g());
1078
+ }
1079
+ function M(S) {
1080
+ var O = t.easingFunc;
1081
+ return O ? O(S) : 1 - Math.pow(1 - S, 4);
1082
+ }
1083
+ return {
1084
+ mount: A,
1085
+ destroy: P,
1086
+ scroll: _,
1087
+ cancel: I
1088
+ };
1089
+ }
1090
+ var De = {
1091
+ passive: !1,
1092
+ capture: !0
1093
+ };
1094
+ function qr(e, n, t) {
1095
+ var r = H(e), i = r.on, l = r.emit, a = r.bind, s = r.unbind, c = e.state, v = n.Move, o = n.Scroll, m = n.Controller, d = n.Elements.track, h = n.Media.reduce, u = n.Direction, f = u.resolve, A = u.orient, _ = v.getPosition, g = v.exceededLimit, E, P, I, M, S, O = !1, k, C, p;
1096
+ function L() {
1097
+ a(d, It, wt, De), a(d, Ot, wt, De), a(d, tr, V, De), a(d, "click", W, {
1098
+ capture: !0
1099
+ }), a(d, "dragstart", ce), i([ye, J], R);
1100
+ }
1101
+ function R() {
1102
+ var N = t.drag;
1103
+ an(!N), M = N === "free";
1104
+ }
1105
+ function V(N) {
1106
+ if (k = !1, !C) {
1107
+ var B = Z(N);
1108
+ X(N.target) && (B || !N.button) && (m.isBusy() ? ce(N, !0) : (p = B ? d : window, S = c.is([Fe, Ze]), I = null, a(p, It, F, De), a(p, Ot, Y, De), v.cancel(), o.cancel(), b(N)));
1109
+ }
1110
+ }
1111
+ function F(N) {
1112
+ if (c.is(at) || (c.set(at), l(bn)), N.cancelable)
1113
+ if (S) {
1114
+ v.translate(E + Q(K(N)));
1115
+ var B = Ee(N) > mn, Te = O !== (O = g());
1116
+ (B || Te) && b(N), k = !0, l(Mn), ce(N);
1117
+ } else w(N) && (S = T(N), ce(N));
1118
+ }
1119
+ function Y(N) {
1120
+ c.is(at) && (c.set(Me), l(Vn)), S && (D(N), ce(N)), s(p, It, F), s(p, Ot, Y), S = !1;
1121
+ }
1122
+ function W(N) {
1123
+ !C && k && ce(N, !0);
1124
+ }
1125
+ function b(N) {
1126
+ I = P, P = N, E = _();
1127
+ }
1128
+ function D(N) {
1129
+ var B = U(N), Te = $(B), Ge = t.rewind && t.rewindByDrag;
1130
+ h(!1), M ? m.scroll(Te, 0, t.snap) : e.is(rt) ? m.go(A(Ct(B)) < 0 ? Ge ? "<" : "-" : Ge ? ">" : "+") : e.is(xe) && O && Ge ? m.go(g(!0) ? ">" : "<") : m.go(m.toDest(Te), !0), h(!0);
1131
+ }
1132
+ function T(N) {
1133
+ var B = t.dragMinThreshold, Te = We(B), Ge = Te && B.mouse || 0, rr = (Te ? B.touch : +B) || 10;
1134
+ return j(K(N)) > (Z(N) ? rr : Ge);
1135
+ }
1136
+ function w(N) {
1137
+ return j(K(N)) > j(K(N, !0));
1138
+ }
1139
+ function U(N) {
1140
+ if (e.is(Ue) || !O) {
1141
+ var B = Ee(N);
1142
+ if (B && B < mn)
1143
+ return K(N) / B;
1144
+ }
1145
+ return 0;
1146
+ }
1147
+ function $(N) {
1148
+ return _() + Ct(N) * _e(j(N) * (t.flickPower || 600), M ? 1 / 0 : n.Layout.listSize() * (t.flickMaxPages || 1));
1149
+ }
1150
+ function K(N, B) {
1151
+ return G(N, B) - G(y(N), B);
1152
+ }
1153
+ function Ee(N) {
1154
+ return Dt(N) - Dt(y(N));
1155
+ }
1156
+ function y(N) {
1157
+ return P === N && I || P;
1158
+ }
1159
+ function G(N, B) {
1160
+ return (Z(N) ? N.changedTouches[0] : N)["page" + f(B ? "Y" : "X")];
1161
+ }
1162
+ function Q(N) {
1163
+ return N / (O && e.is(xe) ? Nr : 1);
1164
+ }
1165
+ function X(N) {
1166
+ var B = t.noDrag;
1167
+ return !He(N, "." + Zn + ", ." + pt) && (!B || !He(N, B));
1168
+ }
1169
+ function Z(N) {
1170
+ return typeof TouchEvent < "u" && N instanceof TouchEvent;
1171
+ }
1172
+ function nr() {
1173
+ return S;
1174
+ }
1175
+ function an(N) {
1176
+ C = N;
1177
+ }
1178
+ return {
1179
+ mount: L,
1180
+ disable: an,
1181
+ isDragging: nr
1182
+ };
1183
+ }
1184
+ var Kr = {
1185
+ Spacebar: " ",
1186
+ Right: yt,
1187
+ Left: At,
1188
+ Up: Wn,
1189
+ Down: Hn
1190
+ };
1191
+ function tn(e) {
1192
+ return e = me(e) ? e : e.key, Kr[e] || e;
1193
+ }
1194
+ var _n = "keydown";
1195
+ function $r(e, n, t) {
1196
+ var r = H(e), i = r.on, l = r.bind, a = r.unbind, s = e.root, c = n.Direction.resolve, v, o;
1197
+ function m() {
1198
+ d(), i(J, h), i(J, d), i(he, f);
1199
+ }
1200
+ function d() {
1201
+ var _ = t.keyboard;
1202
+ _ && (v = _ === "global" ? window : s, l(v, _n, A));
1203
+ }
1204
+ function h() {
1205
+ a(v, _n);
1206
+ }
1207
+ function u(_) {
1208
+ o = _;
1209
+ }
1210
+ function f() {
1211
+ var _ = o;
1212
+ o = !0, yn(function() {
1213
+ o = _;
1214
+ });
1215
+ }
1216
+ function A(_) {
1217
+ if (!o) {
1218
+ var g = tn(_);
1219
+ g === c(At) ? e.go("<") : g === c(yt) && e.go(">");
1220
+ }
1221
+ }
1222
+ return {
1223
+ mount: m,
1224
+ destroy: h,
1225
+ disable: u
1226
+ };
1227
+ }
1228
+ var Be = Wt + "-lazy", st = Be + "-srcset", Zr = "[" + Be + "], [" + st + "]";
1229
+ function Jr(e, n, t) {
1230
+ var r = H(e), i = r.on, l = r.off, a = r.bind, s = r.emit, c = t.lazyLoad === "sequential", v = [ke, Oe], o = [];
1231
+ function m() {
1232
+ t.lazyLoad && (d(), i(q, d));
1233
+ }
1234
+ function d() {
1235
+ de(o), h(), c ? _() : (l(v), i(v, u), u());
1236
+ }
1237
+ function h() {
1238
+ n.Slides.forEach(function(g) {
1239
+ Bt(g.slide, Zr).forEach(function(E) {
1240
+ var P = ie(E, Be), I = ie(E, st);
1241
+ if (P !== E.src || I !== E.srcset) {
1242
+ var M = t.classes.spinner, S = E.parentElement, O = et(S, "." + M) || Pe("span", M, S);
1243
+ o.push([E, g, O]), E.src || qe(E, "none");
1244
+ }
1245
+ });
1246
+ });
1247
+ }
1248
+ function u() {
1249
+ o = o.filter(function(g) {
1250
+ var E = t.perPage * ((t.preloadPages || 1) + 1) - 1;
1251
+ return g[1].isWithin(e.index, E) ? f(g) : !0;
1252
+ }), o.length || l(v);
1253
+ }
1254
+ function f(g) {
1255
+ var E = g[0];
1256
+ oe(g[1].slide, Vt), a(E, "load error", z(A, g)), x(E, "src", ie(E, Be)), x(E, "srcset", ie(E, st)), ue(E, Be), ue(E, st);
1257
+ }
1258
+ function A(g, E) {
1259
+ var P = g[0], I = g[1];
1260
+ ve(I.slide, Vt), E.type !== "error" && (Ne(g[2]), qe(P, ""), s(Zt, P, I), s(Ve)), c && _();
1261
+ }
1262
+ function _() {
1263
+ o.length && f(o.shift());
1264
+ }
1265
+ return {
1266
+ mount: m,
1267
+ destroy: z(de, o),
1268
+ check: u
1269
+ };
1270
+ }
1271
+ function Qr(e, n, t) {
1272
+ var r = H(e), i = r.on, l = r.emit, a = r.bind, s = n.Slides, c = n.Elements, v = n.Controller, o = v.hasFocus, m = v.getIndex, d = v.go, h = n.Direction.resolve, u = c.pagination, f = [], A, _;
1273
+ function g() {
1274
+ E(), i([J, q, lt], g);
1275
+ var C = t.pagination;
1276
+ u && qe(u, C ? "" : "none"), C && (i([he, gt, Oe], k), P(), k(), l(kn, {
1277
+ list: A,
1278
+ items: f
1279
+ }, O(e.index)));
1280
+ }
1281
+ function E() {
1282
+ A && (Ne(u ? Ae(A.children) : A), ve(A, _), de(f), A = null), r.destroy();
1283
+ }
1284
+ function P() {
1285
+ var C = e.length, p = t.classes, L = t.i18n, R = t.perPage, V = o() ? v.getEnd() + 1 : Ke(C / R);
1286
+ A = u || Pe("ul", p.pagination, c.track.parentElement), oe(A, _ = Lt + "--" + S()), x(A, le, "tablist"), x(A, te, L.select), x(A, Qt, S() === St ? "vertical" : "");
1287
+ for (var F = 0; F < V; F++) {
1288
+ var Y = Pe("li", null, A), W = Pe("button", {
1289
+ class: p.page,
1290
+ type: "button"
1291
+ }, Y), b = s.getIn(F).map(function(T) {
1292
+ return T.slide.id;
1293
+ }), D = !o() && R > 1 ? L.pageX : L.slideX;
1294
+ a(W, "click", z(I, F)), t.paginationKeyboard && a(W, "keydown", z(M, F)), x(Y, le, "presentation"), x(W, le, "tab"), x(W, nt, b.join(" ")), x(W, te, Pt(D, F + 1)), x(W, be, -1), f.push({
1295
+ li: Y,
1296
+ button: W,
1297
+ page: F
1298
+ });
1299
+ }
1300
+ }
1301
+ function I(C) {
1302
+ d(">" + C, !0);
1303
+ }
1304
+ function M(C, p) {
1305
+ var L = f.length, R = tn(p), V = S(), F = -1;
1306
+ R === h(yt, !1, V) ? F = ++C % L : R === h(At, !1, V) ? F = (--C + L) % L : R === "Home" ? F = 0 : R === "End" && (F = L - 1);
1307
+ var Y = f[F];
1308
+ Y && (Ln(Y.button), d(">" + F), ce(p, !0));
1309
+ }
1310
+ function S() {
1311
+ return t.paginationDirection || t.direction;
1312
+ }
1313
+ function O(C) {
1314
+ return f[v.toPage(C)];
1315
+ }
1316
+ function k() {
1317
+ var C = O(m(!0)), p = O(m());
1318
+ if (C) {
1319
+ var L = C.button;
1320
+ ve(L, Ie), ue(L, ln), x(L, be, -1);
1321
+ }
1322
+ if (p) {
1323
+ var R = p.button;
1324
+ oe(R, Ie), x(R, ln, !0), x(R, be, "");
1325
+ }
1326
+ l(Un, {
1327
+ list: A,
1328
+ items: f
1329
+ }, C, p);
1330
+ }
1331
+ return {
1332
+ items: f,
1333
+ mount: g,
1334
+ destroy: E,
1335
+ getAt: O,
1336
+ update: k
1337
+ };
1338
+ }
1339
+ var jr = [" ", "Enter"];
1340
+ function ei(e, n, t) {
1341
+ var r = t.isNavigation, i = t.slideFocus, l = [];
1342
+ function a() {
1343
+ e.splides.forEach(function(u) {
1344
+ u.isParent || (v(e, u.splide), v(u.splide, e));
1345
+ }), r && o();
1346
+ }
1347
+ function s() {
1348
+ l.forEach(function(u) {
1349
+ u.destroy();
1350
+ }), de(l);
1351
+ }
1352
+ function c() {
1353
+ s(), a();
1354
+ }
1355
+ function v(u, f) {
1356
+ var A = H(u);
1357
+ A.on(he, function(_, g, E) {
1358
+ f.go(f.is(Ue) ? E : _);
1359
+ }), l.push(A);
1360
+ }
1361
+ function o() {
1362
+ var u = H(e), f = u.on;
1363
+ f(Yt, d), f(zn, h), f([ye, J], m), l.push(u), u.emit(qt, e.splides);
1364
+ }
1365
+ function m() {
1366
+ x(n.Elements.list, Qt, t.direction === St ? "vertical" : "");
1367
+ }
1368
+ function d(u) {
1369
+ e.go(u.index);
1370
+ }
1371
+ function h(u, f) {
1372
+ Gt(jr, tn(f)) && (d(u), ce(f));
1373
+ }
1374
+ return {
1375
+ setup: z(n.Media.set, {
1376
+ slideFocus: Je(i) ? r : i
1377
+ }, !0),
1378
+ mount: a,
1379
+ destroy: s,
1380
+ remount: c
1381
+ };
1382
+ }
1383
+ function ti(e, n, t) {
1384
+ var r = H(e), i = r.bind, l = 0;
1385
+ function a() {
1386
+ t.wheel && i(n.Elements.track, "wheel", s, De);
1387
+ }
1388
+ function s(v) {
1389
+ if (v.cancelable) {
1390
+ var o = v.deltaY, m = o < 0, d = Dt(v), h = t.wheelMinThreshold || 0, u = t.wheelSleep || 0;
1391
+ j(o) > h && d - l > u && (e.go(m ? "<" : ">"), l = d), c(m) && ce(v);
1392
+ }
1393
+ }
1394
+ function c(v) {
1395
+ return !t.releaseWheel || e.state.is(Fe) || n.Controller.getAdjacent(v) !== -1;
1396
+ }
1397
+ return {
1398
+ mount: a
1399
+ };
1400
+ }
1401
+ var ni = 90;
1402
+ function ri(e, n, t) {
1403
+ var r = H(e), i = r.on, l = n.Elements.track, a = t.live && !t.isNavigation, s = Pe("span", Sr), c = mt(ni, z(o, !1));
1404
+ function v() {
1405
+ a && (d(!n.Autoplay.isPaused()), x(l, En, !0), s.textContent = "…", i(Kt, z(d, !0)), i($t, z(d, !1)), i([ke, Oe], z(o, !0)));
1406
+ }
1407
+ function o(h) {
1408
+ x(l, hn, h), h ? (je(l, s), c.start()) : (Ne(s), c.cancel());
1409
+ }
1410
+ function m() {
1411
+ ue(l, [dn, En, hn]), Ne(s);
1412
+ }
1413
+ function d(h) {
1414
+ a && x(l, dn, h ? "off" : "polite");
1415
+ }
1416
+ return {
1417
+ mount: v,
1418
+ disable: d,
1419
+ destroy: m
1420
+ };
1421
+ }
1422
+ var ii = /* @__PURE__ */ Object.freeze({
1423
+ __proto__: null,
1424
+ Media: lr,
1425
+ Direction: dr,
1426
+ Elements: Ir,
1427
+ Slides: wr,
1428
+ Layout: Dr,
1429
+ Clones: Pr,
1430
+ Move: br,
1431
+ Controller: Mr,
1432
+ Arrows: Fr,
1433
+ Autoplay: Ur,
1434
+ Cover: Gr,
1435
+ Scroll: Xr,
1436
+ Drag: qr,
1437
+ Keyboard: $r,
1438
+ LazyLoad: Jr,
1439
+ Pagination: Qr,
1440
+ Sync: ei,
1441
+ Wheel: ti,
1442
+ Live: ri
1443
+ }), ai = {
1444
+ prev: "Previous slide",
1445
+ next: "Next slide",
1446
+ first: "Go to first slide",
1447
+ last: "Go to last slide",
1448
+ slideX: "Go to slide %s",
1449
+ pageX: "Go to page %s",
1450
+ play: "Start autoplay",
1451
+ pause: "Pause autoplay",
1452
+ carousel: "carousel",
1453
+ slide: "slide",
1454
+ select: "Select a slide to show",
1455
+ slideLabel: "%s of %s"
1456
+ }, oi = {
1457
+ type: "slide",
1458
+ role: "region",
1459
+ speed: 400,
1460
+ perPage: 1,
1461
+ cloneStatus: !0,
1462
+ arrows: !0,
1463
+ pagination: !0,
1464
+ paginationKeyboard: !0,
1465
+ interval: 5e3,
1466
+ pauseOnHover: !0,
1467
+ pauseOnFocus: !0,
1468
+ resetProgress: !0,
1469
+ easing: "cubic-bezier(0.25, 1, 0.5, 1)",
1470
+ drag: !0,
1471
+ direction: "ltr",
1472
+ trimSpace: !0,
1473
+ focusableNodes: "a, button, textarea, input, select, iframe",
1474
+ live: !0,
1475
+ classes: Lr,
1476
+ i18n: ai,
1477
+ reducedMotion: {
1478
+ speed: 0,
1479
+ rewindSpeed: 0,
1480
+ autoplay: "pause"
1481
+ }
1482
+ };
1483
+ function ui(e, n, t) {
1484
+ var r = n.Slides;
1485
+ function i() {
1486
+ H(e).on([ye, q], l);
1487
+ }
1488
+ function l() {
1489
+ r.forEach(function(s) {
1490
+ s.style("transform", "translateX(-" + 100 * s.index + "%)");
1491
+ });
1492
+ }
1493
+ function a(s, c) {
1494
+ r.style("transition", "opacity " + t.speed + "ms " + t.easing), yn(c);
1495
+ }
1496
+ return {
1497
+ mount: i,
1498
+ start: a,
1499
+ cancel: wt
1500
+ };
1501
+ }
1502
+ function si(e, n, t) {
1503
+ var r = n.Move, i = n.Controller, l = n.Scroll, a = n.Elements.list, s = z(re, a, "transition"), c;
1504
+ function v() {
1505
+ H(e).bind(a, "transitionend", function(h) {
1506
+ h.target === a && c && (m(), c());
1507
+ });
1508
+ }
1509
+ function o(h, u) {
1510
+ var f = r.toPosition(h, !0), A = r.getPosition(), _ = d(h);
1511
+ j(f - A) >= 1 && _ >= 1 ? t.useScroll ? l.scroll(f, _, !1, u) : (s("transform " + _ + "ms " + t.easing), r.translate(f, !0), c = u) : (r.jump(h), u());
1512
+ }
1513
+ function m() {
1514
+ s(""), l.cancel();
1515
+ }
1516
+ function d(h) {
1517
+ var u = t.rewindSpeed;
1518
+ if (e.is(xe) && u) {
1519
+ var f = i.getIndex(!0), A = i.getEnd();
1520
+ if (f === 0 && h >= A || f >= A && h === 0)
1521
+ return u;
1522
+ }
1523
+ return t.speed;
1524
+ }
1525
+ return {
1526
+ mount: v,
1527
+ start: o,
1528
+ cancel: m
1529
+ };
1530
+ }
1531
+ var ci = /* @__PURE__ */ (function() {
1532
+ function e(t, r) {
1533
+ this.event = H(), this.Components = {}, this.state = fr(Ce), this.splides = [], this._o = {}, this._E = {};
1534
+ var i = me(t) ? Nn(document, t) : t;
1535
+ ze(i, i + " is invalid."), this.root = i, r = ge({
1536
+ label: ie(i, te) || "",
1537
+ labelledby: ie(i, Jt) || ""
1538
+ }, oi, e.defaults, r || {});
1539
+ try {
1540
+ ge(r, JSON.parse(ie(i, Wt)));
1541
+ } catch {
1542
+ ze(!1, "Invalid JSON");
1543
+ }
1544
+ this._o = Object.create(ge({}, r));
1545
+ }
1546
+ var n = e.prototype;
1547
+ return n.mount = function(r, i) {
1548
+ var l = this, a = this.state, s = this.Components;
1549
+ ze(a.is([Ce, ct]), "Already mounted!"), a.set(Ce), this._C = s, this._T = i || this._T || (this.is(rt) ? ui : si), this._E = r || this._E;
1550
+ var c = Xe({}, ii, this._E, {
1551
+ Transition: this._T
1552
+ });
1553
+ return Re(c, function(v, o) {
1554
+ var m = v(l, s, l._o);
1555
+ s[o] = m, m.setup && m.setup();
1556
+ }), Re(s, function(v) {
1557
+ v.mount && v.mount();
1558
+ }), this.emit(ye), oe(this.root, Tr), a.set(Me), this.emit(bt), this;
1559
+ }, n.sync = function(r) {
1560
+ return this.splides.push({
1561
+ splide: r
1562
+ }), r.splides.push({
1563
+ splide: this,
1564
+ isParent: !0
1565
+ }), this.state.is(Me) && (this._C.Sync.remount(), r.Components.Sync.remount()), this;
1566
+ }, n.go = function(r) {
1567
+ return this._C.Controller.go(r), this;
1568
+ }, n.on = function(r, i) {
1569
+ return this.event.on(r, i), this;
1570
+ }, n.off = function(r) {
1571
+ return this.event.off(r), this;
1572
+ }, n.emit = function(r) {
1573
+ var i;
1574
+ return (i = this.event).emit.apply(i, [r].concat(Ae(arguments, 1))), this;
1575
+ }, n.add = function(r, i) {
1576
+ return this._C.Slides.add(r, i), this;
1577
+ }, n.remove = function(r) {
1578
+ return this._C.Slides.remove(r), this;
1579
+ }, n.is = function(r) {
1580
+ return this._o.type === r;
1581
+ }, n.refresh = function() {
1582
+ return this.emit(q), this;
1583
+ }, n.destroy = function(r) {
1584
+ r === void 0 && (r = !0);
1585
+ var i = this.event, l = this.state;
1586
+ return l.is(Ce) ? H(this).on(bt, this.destroy.bind(this, r)) : (Re(this._C, function(a) {
1587
+ a.destroy && a.destroy(r);
1588
+ }, !0), i.emit(Xt), i.destroy(), r && de(this.splides), l.set(ct)), this;
1589
+ }, ar(e, [{
1590
+ key: "options",
1591
+ get: function() {
1592
+ return this._o;
1593
+ },
1594
+ set: function(r) {
1595
+ this._C.Media.set(r, !0, !0);
1596
+ }
1597
+ }, {
1598
+ key: "length",
1599
+ get: function() {
1600
+ return this._C.Slides.getLength(!0);
1601
+ }
1602
+ }, {
1603
+ key: "index",
1604
+ get: function() {
1605
+ return this._C.Controller.getIndex();
1606
+ }
1607
+ }]), e;
1608
+ })(), nn = ci;
1609
+ nn.defaults = {};
1610
+ nn.STATES = ur;
1611
+ var An = [
1612
+ [ye, "onMounted"],
1613
+ [bt, "onReady"],
1614
+ [he, "onMove"],
1615
+ [ke, "onMoved"],
1616
+ [Yt, "onClick"],
1617
+ [wn, "onActive"],
1618
+ [Dn, "onInactive"],
1619
+ [Cn, "onVisible"],
1620
+ [Pn, "onHidden"],
1621
+ [q, "onRefresh"],
1622
+ [J, "onUpdated"],
1623
+ [Ve, "onResize"],
1624
+ [Et, "onResized"],
1625
+ [bn, "onDrag"],
1626
+ [Mn, "onDragging"],
1627
+ [Vn, "onDragged"],
1628
+ [gt, "onScroll"],
1629
+ [Oe, "onScrolled"],
1630
+ [Xt, "onDestroy"],
1631
+ [xn, "onArrowsMounted"],
1632
+ [Fn, "onArrowsUpdated"],
1633
+ [kn, "onPaginationMounted"],
1634
+ [Un, "onPaginationUpdated"],
1635
+ [qt, "onNavigationMounted"],
1636
+ [Kt, "onAutoplayPlay"],
1637
+ [Gn, "onAutoplayPlaying"],
1638
+ [$t, "onAutoplayPause"],
1639
+ [Zt, "onLazyLoadLoaded"]
1640
+ ];
1641
+ function rn(...e) {
1642
+ return e.filter(Boolean).join(" ");
1643
+ }
1644
+ function dt(e) {
1645
+ return e !== null && typeof e == "object";
1646
+ }
1647
+ function xt(e, n) {
1648
+ if (Array.isArray(e) && Array.isArray(n))
1649
+ return e.length === n.length && !e.some((t, r) => !xt(t, n[r]));
1650
+ if (dt(e) && dt(n)) {
1651
+ const t = Object.keys(e), r = Object.keys(n);
1652
+ return t.length === r.length && !t.some((i) => !Object.prototype.hasOwnProperty.call(n, i) || !xt(e[i], n[i]));
1653
+ }
1654
+ return e === n;
1655
+ }
1656
+ function fi(e, n) {
1657
+ return e.length === n.length && !e.some((t, r) => t !== n[r]);
1658
+ }
1659
+ function vi(e, n) {
1660
+ if (e) {
1661
+ const t = Object.keys(e);
1662
+ for (let r = 0; r < t.length; r++) {
1663
+ const i = t[r];
1664
+ if (i !== "__proto__" && n(e[i], i) === !1)
1665
+ break;
1666
+ }
1667
+ }
1668
+ return e;
1669
+ }
1670
+ function Ft(e, n) {
1671
+ const t = e;
1672
+ return vi(n, (r, i) => {
1673
+ Array.isArray(r) ? t[i] = r.slice() : dt(r) ? t[i] = Ft(dt(t[i]) ? t[i] : {}, r) : t[i] = r;
1674
+ }), t;
1675
+ }
1676
+ var li = ({ children: e, className: n, ...t }) => /* @__PURE__ */ Le.createElement("div", {
1677
+ className: rn("splide__track", n),
1678
+ ...t
1679
+ }, /* @__PURE__ */ Le.createElement("ul", {
1680
+ className: "splide__list"
1681
+ }, e)), hi = class extends Le.Component {
1682
+ constructor() {
1683
+ super(...arguments), this.splideRef = Le.createRef(), this.slides = [];
1684
+ }
1685
+ componentDidMount() {
1686
+ const { options: e, extensions: n, transition: t } = this.props, { current: r } = this.splideRef;
1687
+ r && (this.splide = new nn(r, e), this.bind(this.splide), this.splide.mount(n, t), this.options = Ft({}, e || {}), this.slides = this.getSlides());
1688
+ }
1689
+ componentWillUnmount() {
1690
+ this.splide && (this.splide.destroy(), this.splide = void 0), this.options = void 0, this.slides.length = 0;
1691
+ }
1692
+ componentDidUpdate() {
1693
+ if (!this.splide)
1694
+ return;
1695
+ const { options: e } = this.props;
1696
+ e && !xt(this.options, e) && (this.splide.options = e, this.options = Ft({}, e));
1697
+ const n = this.getSlides();
1698
+ fi(this.slides, n) || (this.splide.refresh(), this.slides = n);
1699
+ }
1700
+ sync(e) {
1701
+ var n;
1702
+ (n = this.splide) == null || n.sync(e);
1703
+ }
1704
+ go(e) {
1705
+ var n;
1706
+ (n = this.splide) == null || n.go(e);
1707
+ }
1708
+ getSlides() {
1709
+ var e;
1710
+ if (this.splide) {
1711
+ const n = (e = this.splide.Components.Elements) == null ? void 0 : e.list.children;
1712
+ return n && Array.prototype.slice.call(n) || [];
1713
+ }
1714
+ return [];
1715
+ }
1716
+ bind(e) {
1717
+ An.forEach(([n, t]) => {
1718
+ const r = this.props[t];
1719
+ typeof r == "function" && e.on(n, (...i) => {
1720
+ r(e, ...i);
1721
+ });
1722
+ });
1723
+ }
1724
+ omit(e, n) {
1725
+ return n.forEach((t) => {
1726
+ Object.prototype.hasOwnProperty.call(e, t) && delete e[t];
1727
+ }), e;
1728
+ }
1729
+ render() {
1730
+ const { className: e, tag: n = "div", hasTrack: t = !0, children: r, ...i } = this.props;
1731
+ return /* @__PURE__ */ Le.createElement(n, {
1732
+ className: rn("splide", e),
1733
+ ref: this.splideRef,
1734
+ ...this.omit(i, ["options", ...An.map((l) => l[1])])
1735
+ }, t ? /* @__PURE__ */ Le.createElement(li, null, r) : r);
1736
+ }
1737
+ }, Ei = ({ children: e, className: n, ...t }) => /* @__PURE__ */ Le.createElement("li", {
1738
+ className: rn("splide__slide", n),
1739
+ ...t
1740
+ }, e);
1741
+ /*!
1742
+ * Splide.js
1743
+ * Version : 4.1.3
1744
+ * License : MIT
1745
+ * Copyright: 2022 Naotoshi Fujita
1746
+ */
1747
+ export {
1748
+ hi as S,
1749
+ Ei as a
1750
+ };