@muenchen/muc-patternlab-vue 9.0.0-beta.2 → 9.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Intro/MucIntro.stories.d.ts +277 -25
- package/muc-patternlab-vue.css +1 -1
- package/muc-patternlab-vue.es.js +282 -277
- package/package.json +15 -15
package/muc-patternlab-vue.es.js
CHANGED
|
@@ -769,8 +769,7 @@ var mt = /* @__PURE__ */ I(dt, [["render", pt], ["__scopeId", "data-v-a337b11f"]
|
|
|
769
769
|
}
|
|
770
770
|
}), Ut = {
|
|
771
771
|
class: "m-error-message",
|
|
772
|
-
role: "alert"
|
|
773
|
-
"aria-live": "polite"
|
|
772
|
+
role: "alert"
|
|
774
773
|
}, Wt = /* @__PURE__ */ d({
|
|
775
774
|
__name: "FormErrorMessage",
|
|
776
775
|
setup(e) {
|
|
@@ -1564,7 +1563,7 @@ var z = {
|
|
|
1564
1563
|
var a = document.createElement("span");
|
|
1565
1564
|
a.style.position = "absolute", a.style.visibility = "hidden", a.style.whiteSpace = "pre", a.style.height = "auto", a.style.width = "auto", a.style.minWidth = "1ch", H(a, Array.from(e.classList)), e.after(a);
|
|
1566
1565
|
var o = parseFloat(getComputedStyle(a).width);
|
|
1567
|
-
n && (a.innerText = n, r = parseFloat(getComputedStyle(a).width) / o), t && (a.innerText = t, i = parseFloat(getComputedStyle(a).width) / o), a.remove();
|
|
1566
|
+
Number.isNaN(o) ? (r = n.length, i = t.length) : (n && (a.innerText = n, r = parseFloat(getComputedStyle(a).width) / o), t && (a.innerText = t, i = parseFloat(getComputedStyle(a).width) / o)), a.remove();
|
|
1568
1567
|
}
|
|
1569
1568
|
e.style.minWidth = `${Math.ceil(r) + 1}ch`, e.style.width = `${Math.ceil(i) + 1}ch`;
|
|
1570
1569
|
}, e.prototype.setActiveDescendant = function(e) {
|
|
@@ -1572,7 +1571,7 @@ var z = {
|
|
|
1572
1571
|
}, e.prototype.removeActiveDescendant = function() {
|
|
1573
1572
|
this.element.removeAttribute("aria-activedescendant");
|
|
1574
1573
|
}, e.prototype._onInput = function() {
|
|
1575
|
-
this.setWidth();
|
|
1574
|
+
this.type !== er.SelectOne && this.setWidth();
|
|
1576
1575
|
}, e.prototype._onPaste = function(e) {
|
|
1577
1576
|
this.preventPaste && e.preventDefault();
|
|
1578
1577
|
}, e.prototype._onFocus = function() {
|
|
@@ -1582,7 +1581,8 @@ var z = {
|
|
|
1582
1581
|
}, e;
|
|
1583
1582
|
}(), Fr = 4, Ir = function() {
|
|
1584
1583
|
function e(e) {
|
|
1585
|
-
|
|
1584
|
+
var t = e.element;
|
|
1585
|
+
this.element = t, this.scrollPos = this.element.scrollTop, this.height = this.element.offsetHeight;
|
|
1586
1586
|
}
|
|
1587
1587
|
return e.prototype.prepend = function(e) {
|
|
1588
1588
|
var t = this.element.firstElementChild;
|
|
@@ -3161,19 +3161,24 @@ var xa = function(e) {
|
|
|
3161
3161
|
var p = n.addItemFilter instanceof RegExp ? n.addItemFilter : new RegExp(n.addItemFilter);
|
|
3162
3162
|
a.addItemFilter = p.test.bind(p);
|
|
3163
3163
|
}
|
|
3164
|
-
if (this._isTextElement
|
|
3164
|
+
if (this._isTextElement) this.passedElement = new Rr({
|
|
3165
3165
|
element: s,
|
|
3166
3166
|
classNames: a.classNames
|
|
3167
|
-
})
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3167
|
+
});
|
|
3168
|
+
else {
|
|
3169
|
+
var m = s;
|
|
3170
|
+
this.passedElement = new Kr({
|
|
3171
|
+
element: m,
|
|
3172
|
+
classNames: a.classNames,
|
|
3173
|
+
template: function(e) {
|
|
3174
|
+
return r._templates.option(e);
|
|
3175
|
+
},
|
|
3176
|
+
extractPlaceholder: a.placeholder && !this._hasNonChoicePlaceholder
|
|
3177
|
+
});
|
|
3178
|
+
}
|
|
3179
|
+
if (this.initialised = !1, this._store = new $r(a), this._currentValue = "", a.searchEnabled = !l && a.searchEnabled, this._canSearch = a.searchEnabled, this._isScrollingOnIe = !1, this._highlightPosition = 0, this._wasTap = !0, this._placeholderValue = this._generatePlaceholderValue(), this._baseId = dr(s, "choices-"), this._direction = s.dir, !this._direction) {
|
|
3180
|
+
var h = window.getComputedStyle(s).direction;
|
|
3181
|
+
h !== window.getComputedStyle(document.documentElement).direction && (this._direction = h);
|
|
3177
3182
|
}
|
|
3178
3183
|
if (this._idNames = { itemChoice: "item-choice" }, this._templates = i.templates, this._render = this._render.bind(this), this._onFocus = this._onFocus.bind(this), this._onBlur = this._onBlur.bind(this), this._onKeyUp = this._onKeyUp.bind(this), this._onKeyDown = this._onKeyDown.bind(this), this._onInput = this._onInput.bind(this), this._onClick = this._onClick.bind(this), this._onTouchMove = this._onTouchMove.bind(this), this._onTouchEnd = this._onTouchEnd.bind(this), this._onMouseDown = this._onMouseDown.bind(this), this._onMouseOver = this._onMouseOver.bind(this), this._onFormReset = this._onFormReset.bind(this), this._onSelectKey = this._onSelectKey.bind(this), this._onEnterKey = this._onEnterKey.bind(this), this._onEscapeKey = this._onEscapeKey.bind(this), this._onDirectionKey = this._onDirectionKey.bind(this), this._onDeleteKey = this._onDeleteKey.bind(this), this._onChange = this._onChange.bind(this), this._onInvalid = this._onInvalid.bind(this), this.passedElement.isActive) {
|
|
3179
3184
|
a.silent || console.warn("Trying to initialise Choices on element already initialised", { element: t }), this.initialised = !0, this.initialisedOK = !1;
|
|
@@ -3807,7 +3812,7 @@ var xa = function(e) {
|
|
|
3807
3812
|
if (!this.initialised) throw TypeError(`${e} called on a non-initialised instance of Choices`);
|
|
3808
3813
|
if (!this.initialisedOK) throw TypeError(`${e} called for an element which has multiple instances of Choices initialised on it`);
|
|
3809
3814
|
}
|
|
3810
|
-
}, e.version = "11.2.
|
|
3815
|
+
}, e.version = "11.2.3", e;
|
|
3811
3816
|
}(), Aa = {
|
|
3812
3817
|
class: "m-form-group",
|
|
3813
3818
|
ref: "selectComponent"
|
|
@@ -4058,7 +4063,7 @@ var xa = function(e) {
|
|
|
4058
4063
|
t.tagline ? (y(), a("p", Ja, D(t.tagline), 1)) : i("", !0),
|
|
4059
4064
|
o("h1", Ya, D(t.title), 1),
|
|
4060
4065
|
t.divider ? (y(), r(O(mt), { key: 1 })) : i("", !0),
|
|
4061
|
-
o("div", Xa, [
|
|
4066
|
+
o("div", Xa, [w(n.$slots, "default", {}, void 0, !0)])
|
|
4062
4067
|
])])])])])) : i("", !0), c.value ? (y(), a("div", {
|
|
4063
4068
|
key: 1,
|
|
4064
4069
|
class: m(["m-intro m-intro-vertical", { "m-intro-vertical--with-pictogram": t.img }])
|
|
@@ -4070,10 +4075,10 @@ var xa = function(e) {
|
|
|
4070
4075
|
}, null, 8, to)])) : i("", !0), o("div", no, [
|
|
4071
4076
|
o("div", null, [t.tagline ? (y(), a("p", ro, D(t.tagline), 1)) : i("", !0), o("h1", io, D(t.title), 1)]),
|
|
4072
4077
|
t.divider ? (y(), r(O(mt), { key: 0 })) : i("", !0),
|
|
4073
|
-
o("div", ao, [
|
|
4078
|
+
o("div", ao, [w(n.$slots, "default", {}, void 0, !0)])
|
|
4074
4079
|
])])])])], 2)) : i("", !0)], 64));
|
|
4075
4080
|
}
|
|
4076
|
-
}), [["__scopeId", "data-v-
|
|
4081
|
+
}), [["__scopeId", "data-v-6c7e0ae0"]]), so = { tabindex: "1" }, co = { class: "modal-content" }, lo = { class: "modal-header" }, uo = {
|
|
4077
4082
|
class: "modal-title",
|
|
4078
4083
|
id: "modalLabel"
|
|
4079
4084
|
}, fo = {
|
|
@@ -4330,67 +4335,67 @@ function hs(e, t) {
|
|
|
4330
4335
|
function gs(e, t) {
|
|
4331
4336
|
return e && e.classList.contains(t);
|
|
4332
4337
|
}
|
|
4333
|
-
function
|
|
4338
|
+
function Y(e) {
|
|
4334
4339
|
return e.getBoundingClientRect();
|
|
4335
4340
|
}
|
|
4336
|
-
function
|
|
4341
|
+
function _s(e) {
|
|
4337
4342
|
q(e, function(e) {
|
|
4338
4343
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
4339
4344
|
});
|
|
4340
4345
|
}
|
|
4341
|
-
function
|
|
4346
|
+
function vs(e) {
|
|
4342
4347
|
return is(new DOMParser().parseFromString(e, "text/html").body);
|
|
4343
4348
|
}
|
|
4344
|
-
function
|
|
4349
|
+
function ys(e, t) {
|
|
4345
4350
|
e.preventDefault(), t && (e.stopPropagation(), e.stopImmediatePropagation());
|
|
4346
4351
|
}
|
|
4347
|
-
function
|
|
4352
|
+
function bs(e, t) {
|
|
4348
4353
|
return e && e.querySelector(t);
|
|
4349
4354
|
}
|
|
4350
|
-
function
|
|
4355
|
+
function xs(e, t) {
|
|
4351
4356
|
return t ? Lo(e.querySelectorAll(t)) : [];
|
|
4352
4357
|
}
|
|
4353
|
-
function
|
|
4358
|
+
function Ss(e, t) {
|
|
4354
4359
|
Qo(e, t, !1);
|
|
4355
4360
|
}
|
|
4356
|
-
function
|
|
4361
|
+
function Cs(e) {
|
|
4357
4362
|
return e.timeStamp;
|
|
4358
4363
|
}
|
|
4359
|
-
function
|
|
4364
|
+
function ws(e) {
|
|
4360
4365
|
return Go(e) ? e : e ? e + "px" : "";
|
|
4361
4366
|
}
|
|
4362
|
-
var
|
|
4363
|
-
function
|
|
4364
|
-
if (!e) throw Error("[" +
|
|
4367
|
+
var Ts = "splide", Es = "data-" + Ts;
|
|
4368
|
+
function Ds(e, t) {
|
|
4369
|
+
if (!e) throw Error("[" + Ts + "] " + (t || ""));
|
|
4365
4370
|
}
|
|
4366
|
-
var
|
|
4367
|
-
function
|
|
4368
|
-
return
|
|
4371
|
+
var Os = Math.min, ks = Math.max, As = Math.floor, js = Math.ceil, X = Math.abs;
|
|
4372
|
+
function Ms(e, t, n) {
|
|
4373
|
+
return X(e - t) < n;
|
|
4369
4374
|
}
|
|
4370
|
-
function
|
|
4371
|
-
var i =
|
|
4375
|
+
function Ns(e, t, n, r) {
|
|
4376
|
+
var i = Os(t, n), a = ks(t, n);
|
|
4372
4377
|
return r ? i < e && e < a : i <= e && e <= a;
|
|
4373
4378
|
}
|
|
4374
|
-
function
|
|
4375
|
-
var r =
|
|
4376
|
-
return ks(
|
|
4379
|
+
function Ps(e, t, n) {
|
|
4380
|
+
var r = Os(t, n), i = ks(t, n);
|
|
4381
|
+
return Os(ks(r, e), i);
|
|
4377
4382
|
}
|
|
4378
|
-
function
|
|
4383
|
+
function Fs(e) {
|
|
4379
4384
|
return (e > 0) - +(e < 0);
|
|
4380
4385
|
}
|
|
4381
|
-
function
|
|
4386
|
+
function Is(e, t) {
|
|
4382
4387
|
return q(t, function(t) {
|
|
4383
4388
|
e = e.replace("%s", "" + t);
|
|
4384
4389
|
}), e;
|
|
4385
4390
|
}
|
|
4386
|
-
function
|
|
4391
|
+
function Ls(e) {
|
|
4387
4392
|
return e < 10 ? "0" + e : "" + e;
|
|
4388
4393
|
}
|
|
4389
|
-
var
|
|
4390
|
-
function
|
|
4391
|
-
return "" + e + Rs
|
|
4394
|
+
var Rs = {};
|
|
4395
|
+
function zs(e) {
|
|
4396
|
+
return "" + e + Ls(Rs[e] = (Rs[e] || 0) + 1);
|
|
4392
4397
|
}
|
|
4393
|
-
function
|
|
4398
|
+
function Bs() {
|
|
4394
4399
|
var e = [];
|
|
4395
4400
|
function t(t, n, r, a) {
|
|
4396
4401
|
i(t, n, function(t, n, i) {
|
|
@@ -4440,9 +4445,9 @@ function Vs() {
|
|
|
4440
4445
|
destroy: a
|
|
4441
4446
|
};
|
|
4442
4447
|
}
|
|
4443
|
-
var
|
|
4444
|
-
function
|
|
4445
|
-
var t = e ? e.event.bus : document.createDocumentFragment(), n =
|
|
4448
|
+
var Vs = "mounted", Hs = "ready", Us = "move", Ws = "moved", Gs = "click", Ks = "active", qs = "inactive", Js = "visible", Ys = "hidden", Z = "refresh", Q = "updated", Xs = "resize", Zs = "resized", Qs = "drag", $s = "dragging", ec = "dragged", tc = "scroll", nc = "scrolled", rc = "overflow", ic = "destroy", ac = "arrows:mounted", oc = "arrows:updated", sc = "pagination:mounted", cc = "pagination:updated", lc = "navigation:mounted", uc = "autoplay:play", dc = "autoplay:playing", fc = "autoplay:pause", pc = "lazyload:loaded", mc = "sk", hc = "sh", gc = "ei";
|
|
4449
|
+
function $(e) {
|
|
4450
|
+
var t = e ? e.event.bus : document.createDocumentFragment(), n = Bs();
|
|
4446
4451
|
function r(e, r) {
|
|
4447
4452
|
n.bind(t, Yo(e).join(" "), function(e) {
|
|
4448
4453
|
r.apply(r, Uo(e.detail) ? e.detail : []);
|
|
@@ -4451,18 +4456,18 @@ function Q(e) {
|
|
|
4451
4456
|
function i(e) {
|
|
4452
4457
|
n.dispatch(t, e, Lo(arguments, 1));
|
|
4453
4458
|
}
|
|
4454
|
-
return e && e.event.on(
|
|
4459
|
+
return e && e.event.on(ic, n.destroy), ss(n, {
|
|
4455
4460
|
bus: t,
|
|
4456
4461
|
on: r,
|
|
4457
4462
|
off: K(n.unbind, t),
|
|
4458
4463
|
emit: i
|
|
4459
4464
|
});
|
|
4460
4465
|
}
|
|
4461
|
-
function
|
|
4466
|
+
function _c(e, t, n, r) {
|
|
4462
4467
|
var i = Date.now, a, o = 0, s, c = !0, l = 0;
|
|
4463
4468
|
function u() {
|
|
4464
4469
|
if (!c) {
|
|
4465
|
-
if (o = e ?
|
|
4470
|
+
if (o = e ? Os((i() - a) / e, 1) : 1, n && n(o), o >= 1 && (t(), a = i(), r && ++l >= r)) return f();
|
|
4466
4471
|
s = Bo(u);
|
|
4467
4472
|
}
|
|
4468
4473
|
}
|
|
@@ -4493,7 +4498,7 @@ function vc(e, t, n, r) {
|
|
|
4493
4498
|
isPaused: g
|
|
4494
4499
|
};
|
|
4495
4500
|
}
|
|
4496
|
-
function
|
|
4501
|
+
function vc(e) {
|
|
4497
4502
|
var t = e;
|
|
4498
4503
|
function n(e) {
|
|
4499
4504
|
t = e;
|
|
@@ -4506,14 +4511,14 @@ function yc(e) {
|
|
|
4506
4511
|
is: r
|
|
4507
4512
|
};
|
|
4508
4513
|
}
|
|
4509
|
-
function
|
|
4510
|
-
var n =
|
|
4514
|
+
function yc(e, t) {
|
|
4515
|
+
var n = _c(t || 0, e, null, 1);
|
|
4511
4516
|
return function() {
|
|
4512
4517
|
n.isPaused() && n.start();
|
|
4513
4518
|
};
|
|
4514
4519
|
}
|
|
4515
|
-
function
|
|
4516
|
-
var r = e.state, i = n.breakpoints || {}, a = n.reducedMotion || {}, o =
|
|
4520
|
+
function bc(e, t, n) {
|
|
4521
|
+
var r = e.state, i = n.breakpoints || {}, a = n.reducedMotion || {}, o = Bs(), s = [];
|
|
4517
4522
|
function c() {
|
|
4518
4523
|
var e = n.mediaQuery === "min";
|
|
4519
4524
|
as(i).sort(function(t, n) {
|
|
@@ -4539,7 +4544,7 @@ function xc(e, t, n) {
|
|
|
4539
4544
|
matchMedia(Do).matches && (e ? cs(n, a) : ls(n, as(a)));
|
|
4540
4545
|
}
|
|
4541
4546
|
function p(t, i, a) {
|
|
4542
|
-
cs(n, t), i && cs(Object.getPrototypeOf(n), t), (a || !r.is(Oo)) && e.emit(
|
|
4547
|
+
cs(n, t), i && cs(Object.getPrototypeOf(n), t), (a || !r.is(Oo)) && e.emit(Q, n);
|
|
4543
4548
|
}
|
|
4544
4549
|
return {
|
|
4545
4550
|
setup: c,
|
|
@@ -4548,45 +4553,45 @@ function xc(e, t, n) {
|
|
|
4548
4553
|
set: p
|
|
4549
4554
|
};
|
|
4550
4555
|
}
|
|
4551
|
-
var
|
|
4556
|
+
var xc = "Arrow", Sc = xc + "Left", Cc = xc + "Right", wc = xc + "Up", Tc = xc + "Down", Ec = "rtl", Dc = "ttb", Oc = {
|
|
4552
4557
|
width: ["height"],
|
|
4553
4558
|
left: ["top", "right"],
|
|
4554
4559
|
right: ["bottom", "left"],
|
|
4555
4560
|
x: ["y"],
|
|
4556
4561
|
X: ["Y"],
|
|
4557
4562
|
Y: ["X"],
|
|
4558
|
-
ArrowLeft: [
|
|
4559
|
-
ArrowRight: [
|
|
4563
|
+
ArrowLeft: [wc, Cc],
|
|
4564
|
+
ArrowRight: [Tc, Sc]
|
|
4560
4565
|
};
|
|
4561
|
-
function
|
|
4566
|
+
function kc(e, t, n) {
|
|
4562
4567
|
function r(e, t, r) {
|
|
4563
4568
|
r ||= n.direction;
|
|
4564
|
-
var i = r ===
|
|
4565
|
-
return
|
|
4566
|
-
var n =
|
|
4569
|
+
var i = r === Ec && !t ? 1 : r === Dc ? 0 : -1;
|
|
4570
|
+
return Oc[e] && Oc[e][i] || e.replace(/width|left|right/i, function(e, t) {
|
|
4571
|
+
var n = Oc[e.toLowerCase()][i] || e;
|
|
4567
4572
|
return t > 0 ? n.charAt(0).toUpperCase() + n.slice(1) : n;
|
|
4568
4573
|
});
|
|
4569
4574
|
}
|
|
4570
4575
|
function i(e) {
|
|
4571
|
-
return e * (n.direction ===
|
|
4576
|
+
return e * (n.direction === Ec ? 1 : -1);
|
|
4572
4577
|
}
|
|
4573
4578
|
return {
|
|
4574
4579
|
resolve: r,
|
|
4575
4580
|
orient: i
|
|
4576
4581
|
};
|
|
4577
4582
|
}
|
|
4578
|
-
var
|
|
4583
|
+
var Ac = "role", jc = "tabindex", Mc = "disabled", Nc = "aria-", Pc = Nc + "controls", Fc = Nc + "current", Ic = Nc + "selected", Lc = Nc + "label", Rc = Nc + "labelledby", zc = Nc + "hidden", Bc = Nc + "orientation", Vc = Nc + "roledescription", Hc = Nc + "live", Uc = Nc + "busy", Wc = Nc + "atomic", Gc = [
|
|
4584
|
+
Ac,
|
|
4579
4585
|
jc,
|
|
4580
4586
|
Mc,
|
|
4581
|
-
|
|
4587
|
+
Pc,
|
|
4582
4588
|
Fc,
|
|
4583
|
-
|
|
4584
|
-
$,
|
|
4589
|
+
Lc,
|
|
4585
4590
|
Rc,
|
|
4586
4591
|
zc,
|
|
4587
4592
|
Bc,
|
|
4588
4593
|
Vc
|
|
4589
|
-
], Kc =
|
|
4594
|
+
], Kc = Ts + "__", qc = "is-", Jc = Ts, Yc = Kc + "track", Xc = Kc + "list", Zc = Kc + "slide", Qc = Zc + "--clone", $c = Zc + "__container", el = Kc + "arrows", tl = Kc + "arrow", nl = tl + "--prev", rl = tl + "--next", il = Kc + "pagination", al = il + "__page", ol = Kc + "progress__bar", sl = Kc + "toggle", cl = Kc + "spinner", ll = Kc + "sr", ul = qc + "initialized", dl = qc + "active", fl = qc + "prev", pl = qc + "next", ml = qc + "visible", hl = qc + "loading", gl = qc + "focus-in", _l = qc + "overflow", vl = [
|
|
4590
4595
|
dl,
|
|
4591
4596
|
ml,
|
|
4592
4597
|
fl,
|
|
@@ -4612,12 +4617,12 @@ function bl(e, t) {
|
|
|
4612
4617
|
}
|
|
4613
4618
|
var xl = 5, Sl = 200, Cl = "touchstart mousedown", wl = "touchmove mousemove", Tl = "touchend touchcancel mouseup click";
|
|
4614
4619
|
function El(e, t, n) {
|
|
4615
|
-
var r =
|
|
4620
|
+
var r = $(e), i = r.on, a = r.bind, o = e.root, s = n.i18n, c = {}, l = [], u = [], d = [], f, p, m;
|
|
4616
4621
|
function h() {
|
|
4617
4622
|
y(), b(), v();
|
|
4618
4623
|
}
|
|
4619
4624
|
function g() {
|
|
4620
|
-
i(
|
|
4625
|
+
i(Z, _), i(Z, h), i(Q, v), a(document, Cl + " keydown", function(e) {
|
|
4621
4626
|
m = e.type === "keydown";
|
|
4622
4627
|
}, { capture: !0 }), a(o, "focusin", function() {
|
|
4623
4628
|
Qo(o, gl, !!m);
|
|
@@ -4625,13 +4630,13 @@ function El(e, t, n) {
|
|
|
4625
4630
|
}
|
|
4626
4631
|
function _(e) {
|
|
4627
4632
|
var t = Gc.concat("style");
|
|
4628
|
-
Io(l),
|
|
4633
|
+
Io(l), Ss(o, u), Ss(f, d), us([f, p], t), us(o, e ? t : ["style", Vc]);
|
|
4629
4634
|
}
|
|
4630
4635
|
function v() {
|
|
4631
|
-
|
|
4636
|
+
Ss(o, u), Ss(f, d), u = S(Jc), d = S(Yc), $o(o, u), $o(f, d), J(o, Lc, n.label), J(o, Rc, n.labelledby);
|
|
4632
4637
|
}
|
|
4633
4638
|
function y() {
|
|
4634
|
-
f = x("." + Yc), p = is(f, "." + Xc),
|
|
4639
|
+
f = x("." + Yc), p = is(f, "." + Xc), Ds(f && p, "A track/list element is missing."), Zo(l, rs(p, "." + Zc + ":not(." + Qc + ")")), os({
|
|
4635
4640
|
arrows: el,
|
|
4636
4641
|
pagination: il,
|
|
4637
4642
|
prev: nl,
|
|
@@ -4648,11 +4653,11 @@ function El(e, t, n) {
|
|
|
4648
4653
|
});
|
|
4649
4654
|
}
|
|
4650
4655
|
function b() {
|
|
4651
|
-
var e = o.id ||
|
|
4652
|
-
o.id = e, f.id = f.id || e + "-track", p.id = p.id || e + "-list", !hs(o,
|
|
4656
|
+
var e = o.id || zs(Ts), t = n.role;
|
|
4657
|
+
o.id = e, f.id = f.id || e + "-track", p.id = p.id || e + "-list", !hs(o, Ac) && o.tagName !== "SECTION" && t && J(o, Ac, t), J(o, Vc, s.carousel), J(p, Ac, "presentation");
|
|
4653
4658
|
}
|
|
4654
4659
|
function x(e) {
|
|
4655
|
-
var t =
|
|
4660
|
+
var t = bs(o, e);
|
|
4656
4661
|
return t && bl(t, "." + Jc) === o ? t : void 0;
|
|
4657
4662
|
}
|
|
4658
4663
|
function S(e) {
|
|
@@ -4672,26 +4677,26 @@ function El(e, t, n) {
|
|
|
4672
4677
|
}
|
|
4673
4678
|
var Dl = "slide", Ol = "loop", kl = "fade";
|
|
4674
4679
|
function Al(e, t, n, r) {
|
|
4675
|
-
var i =
|
|
4680
|
+
var i = $(e), a = i.on, o = i.emit, s = i.bind, c = e.Components, l = e.root, u = e.options, d = u.isNavigation, f = u.updateOnMove, p = u.i18n, m = u.pagination, h = u.slideFocus, g = c.Direction.resolve, _ = hs(r, "style"), v = hs(r, Lc), y = n > -1, b = is(r, "." + $c), x;
|
|
4676
4681
|
function S() {
|
|
4677
|
-
y || (r.id = l.id + "-slide" +
|
|
4682
|
+
y || (r.id = l.id + "-slide" + Ls(t + 1), J(r, Ac, m ? "tabpanel" : "group"), J(r, Vc, p.slide), J(r, Lc, v || Is(p.slideLabel, [t + 1, e.length]))), C();
|
|
4678
4683
|
}
|
|
4679
4684
|
function C() {
|
|
4680
|
-
s(r, "click", K(o,
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
], D), a(
|
|
4685
|
+
s(r, "click", K(o, Gs, M)), s(r, "keydown", K(o, mc, M)), a([
|
|
4686
|
+
Ws,
|
|
4687
|
+
hc,
|
|
4688
|
+
nc
|
|
4689
|
+
], D), a(lc, T), f && a(Us, E);
|
|
4685
4690
|
}
|
|
4686
4691
|
function w() {
|
|
4687
|
-
x = !0, i.destroy(),
|
|
4692
|
+
x = !0, i.destroy(), Ss(r, vl), us(r, Gc), J(r, "style", _), J(r, Lc, v || "");
|
|
4688
4693
|
}
|
|
4689
4694
|
function T() {
|
|
4690
4695
|
var i = e.splides.map(function(e) {
|
|
4691
4696
|
var n = e.splide.Components.Slides.getAt(t);
|
|
4692
4697
|
return n ? n.slide.id : "";
|
|
4693
4698
|
}).join(" ");
|
|
4694
|
-
J(r,
|
|
4699
|
+
J(r, Lc, Is(p.slideX, (y ? n : t) + 1)), J(r, Pc, i), J(r, Ac, h ? "button" : ""), h && us(r, Vc);
|
|
4695
4700
|
}
|
|
4696
4701
|
function E() {
|
|
4697
4702
|
x || D();
|
|
@@ -4704,11 +4709,11 @@ function Al(e, t, n, r) {
|
|
|
4704
4709
|
}
|
|
4705
4710
|
function ee() {
|
|
4706
4711
|
var e = A();
|
|
4707
|
-
e !== gs(r, dl) && (Qo(r, dl, e), J(r,
|
|
4712
|
+
e !== gs(r, dl) && (Qo(r, dl, e), J(r, Fc, d && e || ""), o(e ? Ks : qs, M));
|
|
4708
4713
|
}
|
|
4709
4714
|
function O() {
|
|
4710
4715
|
var t = te(), n = !t && (!A() || y);
|
|
4711
|
-
if (e.state.is([jo, Mo]) || J(r, zc, n || ""), J(
|
|
4716
|
+
if (e.state.is([jo, Mo]) || J(r, zc, n || ""), J(xs(r, u.focusableNodes || ""), jc, n ? -1 : ""), h && J(r, jc, n ? -1 : 0), t !== gs(r, ml) && (Qo(r, ml, t), o(t ? Js : Ys, M)), !t && document.activeElement === r) {
|
|
4712
4717
|
var i = c.Slides.getAt(e.index);
|
|
4713
4718
|
i && ms(i.slide);
|
|
4714
4719
|
}
|
|
@@ -4722,12 +4727,12 @@ function Al(e, t, n, r) {
|
|
|
4722
4727
|
}
|
|
4723
4728
|
function te() {
|
|
4724
4729
|
if (e.is(kl)) return A();
|
|
4725
|
-
var t =
|
|
4726
|
-
return
|
|
4730
|
+
var t = Y(c.Elements.track), n = Y(r), i = g("left", !0), a = g("right", !0);
|
|
4731
|
+
return As(t[i]) <= js(n[i]) && As(n[a]) <= js(t[a]);
|
|
4727
4732
|
}
|
|
4728
4733
|
function j(n, r) {
|
|
4729
|
-
var i =
|
|
4730
|
-
return !y && (u.rewind || e.is(Ol)) && (i =
|
|
4734
|
+
var i = X(n - t);
|
|
4735
|
+
return !y && (u.rewind || e.is(Ol)) && (i = Os(i, e.length - i)), i <= r;
|
|
4731
4736
|
}
|
|
4732
4737
|
var M = {
|
|
4733
4738
|
index: t,
|
|
@@ -4744,9 +4749,9 @@ function Al(e, t, n, r) {
|
|
|
4744
4749
|
return M;
|
|
4745
4750
|
}
|
|
4746
4751
|
function jl(e, t, n) {
|
|
4747
|
-
var r =
|
|
4752
|
+
var r = $(e), i = r.on, a = r.emit, o = r.bind, s = t.Elements, c = s.slides, l = s.list, u = [];
|
|
4748
4753
|
function d() {
|
|
4749
|
-
f(), i(
|
|
4754
|
+
f(), i(Z, p), i(Z, f);
|
|
4750
4755
|
}
|
|
4751
4756
|
function f() {
|
|
4752
4757
|
c.forEach(function(e, t) {
|
|
@@ -4777,7 +4782,7 @@ function jl(e, t, n) {
|
|
|
4777
4782
|
function _(e) {
|
|
4778
4783
|
var r = t.Controller, i = r.toIndex(e), a = r.hasFocus() ? 1 : n.perPage;
|
|
4779
4784
|
return S(function(e) {
|
|
4780
|
-
return
|
|
4785
|
+
return Ns(e.index, i, i + a - 1);
|
|
4781
4786
|
});
|
|
4782
4787
|
}
|
|
4783
4788
|
function v(e) {
|
|
@@ -4785,16 +4790,16 @@ function jl(e, t, n) {
|
|
|
4785
4790
|
}
|
|
4786
4791
|
function y(e, t) {
|
|
4787
4792
|
q(e, function(e) {
|
|
4788
|
-
if (Go(e) && (e =
|
|
4793
|
+
if (Go(e) && (e = vs(e)), Jo(e)) {
|
|
4789
4794
|
var r = c[t];
|
|
4790
|
-
r ? ts(e, r) : es(l, e), $o(e, n.classes.slide), w(e, K(a,
|
|
4795
|
+
r ? ts(e, r) : es(l, e), $o(e, n.classes.slide), w(e, K(a, Xs));
|
|
4791
4796
|
}
|
|
4792
|
-
}), a(
|
|
4797
|
+
}), a(Z);
|
|
4793
4798
|
}
|
|
4794
4799
|
function b(e) {
|
|
4795
|
-
|
|
4800
|
+
_s(S(e).map(function(e) {
|
|
4796
4801
|
return e.slide;
|
|
4797
|
-
})), a(
|
|
4802
|
+
})), a(Z);
|
|
4798
4803
|
}
|
|
4799
4804
|
function x(e, t) {
|
|
4800
4805
|
g(t).forEach(e);
|
|
@@ -4810,7 +4815,7 @@ function jl(e, t, n) {
|
|
|
4810
4815
|
});
|
|
4811
4816
|
}
|
|
4812
4817
|
function w(e, t) {
|
|
4813
|
-
var n =
|
|
4818
|
+
var n = xs(e, "img"), r = n.length;
|
|
4814
4819
|
r ? n.forEach(function(e) {
|
|
4815
4820
|
o(e, "load error", function() {
|
|
4816
4821
|
--r || t();
|
|
@@ -4841,50 +4846,50 @@ function jl(e, t, n) {
|
|
|
4841
4846
|
};
|
|
4842
4847
|
}
|
|
4843
4848
|
function Ml(e, t, n) {
|
|
4844
|
-
var r =
|
|
4849
|
+
var r = $(e), i = r.on, a = r.bind, o = r.emit, s = t.Slides, c = t.Direction.resolve, l = t.Elements, u = l.root, d = l.track, f = l.list, p = s.getAt, m = s.style, h, g, _;
|
|
4845
4850
|
function v() {
|
|
4846
|
-
y(), a(window, "resize load",
|
|
4851
|
+
y(), a(window, "resize load", yc(K(o, Xs))), i([Q, Z], y), i(Xs, b);
|
|
4847
4852
|
}
|
|
4848
4853
|
function y() {
|
|
4849
|
-
h = n.direction ===
|
|
4854
|
+
h = n.direction === Dc, fs(u, "maxWidth", ws(n.width)), fs(d, c("paddingLeft"), x(!1)), fs(d, c("paddingRight"), x(!0)), b(!0);
|
|
4850
4855
|
}
|
|
4851
4856
|
function b(e) {
|
|
4852
|
-
var t =
|
|
4853
|
-
(e || g.width !== t.width || g.height !== t.height) && (fs(d, "height", S()), m(c("marginRight"),
|
|
4857
|
+
var t = Y(u);
|
|
4858
|
+
(e || g.width !== t.width || g.height !== t.height) && (fs(d, "height", S()), m(c("marginRight"), ws(n.gap)), m("width", w()), m("height", T(), !0), g = t, o(Zs), _ !== (_ = j()) && (Qo(u, _l, _), o(rc, _)));
|
|
4854
4859
|
}
|
|
4855
4860
|
function x(e) {
|
|
4856
4861
|
var t = n.padding, r = c(e ? "right" : "left");
|
|
4857
|
-
return t &&
|
|
4862
|
+
return t && ws(t[r] || (Ho(t) ? 0 : t)) || "0px";
|
|
4858
4863
|
}
|
|
4859
4864
|
function S() {
|
|
4860
4865
|
var e = "";
|
|
4861
|
-
return h && (e = C(),
|
|
4866
|
+
return h && (e = C(), Ds(e, "height or heightRatio is missing."), e = "calc(" + e + " - " + x(!1) + " - " + x(!0) + ")"), e;
|
|
4862
4867
|
}
|
|
4863
4868
|
function C() {
|
|
4864
|
-
return
|
|
4869
|
+
return ws(n.height || Y(f).width * n.heightRatio);
|
|
4865
4870
|
}
|
|
4866
4871
|
function w() {
|
|
4867
|
-
return n.autoWidth ? null :
|
|
4872
|
+
return n.autoWidth ? null : ws(n.fixedWidth) || (h ? "" : E());
|
|
4868
4873
|
}
|
|
4869
4874
|
function T() {
|
|
4870
|
-
return
|
|
4875
|
+
return ws(n.fixedHeight) || (h ? n.autoHeight ? null : E() : C());
|
|
4871
4876
|
}
|
|
4872
4877
|
function E() {
|
|
4873
|
-
var e =
|
|
4878
|
+
var e = ws(n.gap);
|
|
4874
4879
|
return "calc((100%" + (e && " + " + e) + ")/" + (n.perPage || 1) + (e && " - " + e) + ")";
|
|
4875
4880
|
}
|
|
4876
4881
|
function D() {
|
|
4877
|
-
return
|
|
4882
|
+
return Y(f)[c("width")];
|
|
4878
4883
|
}
|
|
4879
4884
|
function ee(e, t) {
|
|
4880
4885
|
var n = p(e || 0);
|
|
4881
|
-
return n ?
|
|
4886
|
+
return n ? Y(n.slide)[c("width")] + (t ? 0 : A()) : 0;
|
|
4882
4887
|
}
|
|
4883
4888
|
function O(e, t) {
|
|
4884
4889
|
var n = p(e);
|
|
4885
4890
|
if (n) {
|
|
4886
|
-
var r =
|
|
4887
|
-
return
|
|
4891
|
+
var r = Y(n.slide)[c("right")], i = Y(f)[c("left")];
|
|
4892
|
+
return X(r - i) + (t ? 0 : A());
|
|
4888
4893
|
}
|
|
4889
4894
|
return 0;
|
|
4890
4895
|
}
|
|
@@ -4914,19 +4919,19 @@ function Ml(e, t, n) {
|
|
|
4914
4919
|
}
|
|
4915
4920
|
var Nl = 2;
|
|
4916
4921
|
function Pl(e, t, n) {
|
|
4917
|
-
var r =
|
|
4922
|
+
var r = $(e), i = r.on, a = t.Elements, o = t.Slides, s = t.Direction.resolve, c = [], l;
|
|
4918
4923
|
function u() {
|
|
4919
|
-
i(
|
|
4924
|
+
i(Z, d), i([Q, Xs], p), (l = g()) && (m(l), t.Layout.resize(!0));
|
|
4920
4925
|
}
|
|
4921
4926
|
function d() {
|
|
4922
4927
|
f(), u();
|
|
4923
4928
|
}
|
|
4924
4929
|
function f() {
|
|
4925
|
-
|
|
4930
|
+
_s(c), Io(c), r.destroy();
|
|
4926
4931
|
}
|
|
4927
4932
|
function p() {
|
|
4928
4933
|
var e = g();
|
|
4929
|
-
l !== e && (l < e || !e) && r.emit(
|
|
4934
|
+
l !== e && (l < e || !e) && r.emit(Z);
|
|
4930
4935
|
}
|
|
4931
4936
|
function m(e) {
|
|
4932
4937
|
var t = o.get().slice(), n = t.length;
|
|
@@ -4940,14 +4945,14 @@ function Pl(e, t, n) {
|
|
|
4940
4945
|
}
|
|
4941
4946
|
function h(t, r) {
|
|
4942
4947
|
var i = t.cloneNode(!0);
|
|
4943
|
-
return $o(i, n.classes.clone), i.id = e.root.id + "-clone" +
|
|
4948
|
+
return $o(i, n.classes.clone), i.id = e.root.id + "-clone" + Ls(r + 1), i;
|
|
4944
4949
|
}
|
|
4945
4950
|
function g() {
|
|
4946
4951
|
var r = n.clones;
|
|
4947
4952
|
if (!e.is(Ol)) r = 0;
|
|
4948
4953
|
else if (Ko(r)) {
|
|
4949
4954
|
var i = n[s("fixedWidth")] && t.Layout.slideSize(0);
|
|
4950
|
-
r = i &&
|
|
4955
|
+
r = i && js(Y(a.track)[s("width")] / i) || n[s("autoWidth")] && e.length || n.perPage * Nl;
|
|
4951
4956
|
}
|
|
4952
4957
|
return r;
|
|
4953
4958
|
}
|
|
@@ -4957,21 +4962,21 @@ function Pl(e, t, n) {
|
|
|
4957
4962
|
};
|
|
4958
4963
|
}
|
|
4959
4964
|
function Fl(e, t, n) {
|
|
4960
|
-
var r =
|
|
4965
|
+
var r = $(e), i = r.on, a = r.emit, o = e.state.set, s = t.Layout, c = s.slideSize, l = s.getPadding, u = s.totalSize, d = s.listSize, f = s.sliderSize, p = t.Direction, m = p.resolve, h = p.orient, g = t.Elements, _ = g.list, v = g.track, y;
|
|
4961
4966
|
function b() {
|
|
4962
4967
|
y = t.Transition, i([
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4968
|
+
Vs,
|
|
4969
|
+
Zs,
|
|
4970
|
+
Q,
|
|
4971
|
+
Z
|
|
4967
4972
|
], x);
|
|
4968
4973
|
}
|
|
4969
4974
|
function x() {
|
|
4970
4975
|
t.Controller.isBusy() || (t.Scroll.cancel(), C(e.index), t.Slides.update());
|
|
4971
4976
|
}
|
|
4972
4977
|
function S(e, t, n, r) {
|
|
4973
|
-
e !== t && M(e > n) && (D(), w(E(k(), e > n), !0)), o(jo), a(
|
|
4974
|
-
o(Ao), a(
|
|
4978
|
+
e !== t && M(e > n) && (D(), w(E(k(), e > n), !0)), o(jo), a(Us, t, n, e), y.start(t, function() {
|
|
4979
|
+
o(Ao), a(Ws, t, n, e), r && r();
|
|
4975
4980
|
});
|
|
4976
4981
|
}
|
|
4977
4982
|
function C(e) {
|
|
@@ -4980,7 +4985,7 @@ function Fl(e, t, n) {
|
|
|
4980
4985
|
function w(t, n) {
|
|
4981
4986
|
if (!e.is(kl)) {
|
|
4982
4987
|
var r = n ? t : T(t);
|
|
4983
|
-
fs(_, "transform", "translate" + m("X") + "(" + r + "px)"), t !== r && a(
|
|
4988
|
+
fs(_, "transform", "translate" + m("X") + "(" + r + "px)"), t !== r && a(hc);
|
|
4984
4989
|
}
|
|
4985
4990
|
}
|
|
4986
4991
|
function T(n) {
|
|
@@ -4992,14 +4997,14 @@ function Fl(e, t, n) {
|
|
|
4992
4997
|
}
|
|
4993
4998
|
function E(e, t) {
|
|
4994
4999
|
var n = e - j(t), r = f();
|
|
4995
|
-
return e -= h(r * (
|
|
5000
|
+
return e -= h(r * (js(X(n) / r) || 1)) * (t ? 1 : -1), e;
|
|
4996
5001
|
}
|
|
4997
5002
|
function D() {
|
|
4998
5003
|
w(k(), !0), y.cancel();
|
|
4999
5004
|
}
|
|
5000
5005
|
function ee(e) {
|
|
5001
5006
|
for (var n = t.Slides.get(), r = 0, i = Infinity, a = 0; a < n.length; a++) {
|
|
5002
|
-
var o = n[a].index, s =
|
|
5007
|
+
var o = n[a].index, s = X(O(o, !0) - e);
|
|
5003
5008
|
if (s <= i) i = s, r = o;
|
|
5004
5009
|
else break;
|
|
5005
5010
|
}
|
|
@@ -5011,10 +5016,10 @@ function Fl(e, t, n) {
|
|
|
5011
5016
|
}
|
|
5012
5017
|
function k() {
|
|
5013
5018
|
var e = m("left");
|
|
5014
|
-
return
|
|
5019
|
+
return Y(_)[e] - Y(v)[e] + h(l(!1));
|
|
5015
5020
|
}
|
|
5016
5021
|
function A(t) {
|
|
5017
|
-
return n.trimSpace && e.is(Dl) && (t =
|
|
5022
|
+
return n.trimSpace && e.is(Dl) && (t = Ps(t, 0, h(f(!0) - d()))), t;
|
|
5018
5023
|
}
|
|
5019
5024
|
function te(e) {
|
|
5020
5025
|
var t = n.focus;
|
|
@@ -5025,7 +5030,7 @@ function Fl(e, t, n) {
|
|
|
5025
5030
|
}
|
|
5026
5031
|
function M(e) {
|
|
5027
5032
|
var t = h(E(k(), e));
|
|
5028
|
-
return e ? t >= 0 : t <= _[m("scrollWidth")] -
|
|
5033
|
+
return e ? t >= 0 : t <= _[m("scrollWidth")] - Y(v)[m("width")];
|
|
5029
5034
|
}
|
|
5030
5035
|
function ne(e, t) {
|
|
5031
5036
|
t = Ko(t) ? k() : t;
|
|
@@ -5048,21 +5053,21 @@ function Fl(e, t, n) {
|
|
|
5048
5053
|
};
|
|
5049
5054
|
}
|
|
5050
5055
|
function Il(e, t, n) {
|
|
5051
|
-
var r =
|
|
5056
|
+
var r = $(e), i = r.on, a = r.emit, o = t.Move, s = o.getPosition, c = o.getLimit, l = o.toPosition, u = t.Slides, d = u.isEnough, f = u.getLength, p = n.omitEnd, m = e.is(Ol), h = e.is(Dl), g = K(k, !1), _ = K(k, !0), v = n.start || 0, y, b = v, x, S, C;
|
|
5052
5057
|
function w() {
|
|
5053
5058
|
T(), i([
|
|
5059
|
+
Q,
|
|
5054
5060
|
Z,
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
], T), i(Qs, E);
|
|
5061
|
+
gc
|
|
5062
|
+
], T), i(Zs, E);
|
|
5058
5063
|
}
|
|
5059
5064
|
function T() {
|
|
5060
5065
|
x = f(!0), S = n.perMove, C = n.perPage, y = M();
|
|
5061
|
-
var e =
|
|
5066
|
+
var e = Ps(v, 0, p ? y : x - 1);
|
|
5062
5067
|
e !== v && (v = e, o.reposition());
|
|
5063
5068
|
}
|
|
5064
5069
|
function E() {
|
|
5065
|
-
y !== M() && a(
|
|
5070
|
+
y !== M() && a(gc);
|
|
5066
5071
|
}
|
|
5067
5072
|
function D(e, t, n) {
|
|
5068
5073
|
if (!ae()) {
|
|
@@ -5073,7 +5078,7 @@ function Il(e, t, n) {
|
|
|
5073
5078
|
function ee(e, n, r, i) {
|
|
5074
5079
|
t.Scroll.scroll(e, n, r, function() {
|
|
5075
5080
|
var e = j(o.toIndex(s()));
|
|
5076
|
-
re(p ?
|
|
5081
|
+
re(p ? Os(e, y) : e), i && i();
|
|
5077
5082
|
});
|
|
5078
5083
|
}
|
|
5079
5084
|
function O(e) {
|
|
@@ -5081,22 +5086,22 @@ function Il(e, t, n) {
|
|
|
5081
5086
|
if (Go(e)) {
|
|
5082
5087
|
var n = e.match(/([+\-<>])(\d+)?/) || [], r = n[1], i = n[2];
|
|
5083
5088
|
r === "+" || r === "-" ? t = A(v + +("" + r + (+i || 1)), v) : r === ">" ? t = i ? ne(+i) : g(!0) : r === "<" && (t = _(!0));
|
|
5084
|
-
} else t = m ? e :
|
|
5089
|
+
} else t = m ? e : Ps(e, 0, y);
|
|
5085
5090
|
return t;
|
|
5086
5091
|
}
|
|
5087
5092
|
function k(e, t) {
|
|
5088
5093
|
var n = S || (F() ? 1 : C), r = A(v + n * (e ? -1 : 1), v, !(S || F()));
|
|
5089
|
-
return r === -1 && h && !
|
|
5094
|
+
return r === -1 && h && !Ms(s(), c(!e), 1) ? e ? 0 : y : t ? r : j(r);
|
|
5090
5095
|
}
|
|
5091
5096
|
function A(e, t, r) {
|
|
5092
5097
|
if (d() || F()) {
|
|
5093
5098
|
var i = te(e);
|
|
5094
|
-
i !== e && (t = e, e = i, r = !1), e < 0 || e > y ? e = !S && (
|
|
5099
|
+
i !== e && (t = e, e = i, r = !1), e < 0 || e > y ? e = !S && (Ns(0, e, t, !0) || Ns(y, t, e, !0)) ? ne(N(e)) : m ? r ? e < 0 ? -(x % C || C) : x : e : n.rewind ? e < 0 ? y : 0 : -1 : r && e !== t && (e = ne(N(t) + (e < t ? -1 : 1)));
|
|
5095
5100
|
} else e = -1;
|
|
5096
5101
|
return e;
|
|
5097
5102
|
}
|
|
5098
5103
|
function te(t) {
|
|
5099
|
-
if (h && n.trimSpace === "move" && t !== v) for (var r = s(); r === l(t, !0) &&
|
|
5104
|
+
if (h && n.trimSpace === "move" && t !== v) for (var r = s(); r === l(t, !0) && Ns(t, 0, e.length - 1, !n.rewind);) t < v ? --t : ++t;
|
|
5100
5105
|
return t;
|
|
5101
5106
|
}
|
|
5102
5107
|
function j(e) {
|
|
@@ -5107,17 +5112,17 @@ function Il(e, t, n) {
|
|
|
5107
5112
|
e++;
|
|
5108
5113
|
break;
|
|
5109
5114
|
}
|
|
5110
|
-
return
|
|
5115
|
+
return Ps(e, 0, x - 1);
|
|
5111
5116
|
}
|
|
5112
5117
|
function ne(e) {
|
|
5113
|
-
return
|
|
5118
|
+
return Ps(F() ? e : C * e, 0, y);
|
|
5114
5119
|
}
|
|
5115
5120
|
function N(e) {
|
|
5116
|
-
return F() ?
|
|
5121
|
+
return F() ? Os(e, y) : As((e >= y ? x - 1 : e) / C);
|
|
5117
5122
|
}
|
|
5118
5123
|
function P(e) {
|
|
5119
5124
|
var t = o.toIndex(e);
|
|
5120
|
-
return h ?
|
|
5125
|
+
return h ? Ps(t, 0, y) : t;
|
|
5121
5126
|
}
|
|
5122
5127
|
function re(e) {
|
|
5123
5128
|
e !== v && (b = v, v = e);
|
|
@@ -5150,9 +5155,9 @@ function Il(e, t, n) {
|
|
|
5150
5155
|
}
|
|
5151
5156
|
var Ll = "http://www.w3.org/2000/svg", Rl = "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", zl = 40;
|
|
5152
5157
|
function Bl(e, t, n) {
|
|
5153
|
-
var r =
|
|
5158
|
+
var r = $(e), i = r.on, a = r.bind, o = r.emit, s = n.classes, c = n.i18n, l = t.Elements, u = t.Controller, d = l.arrows, f = l.track, p = d, m = l.prev, h = l.next, g, _, v = {};
|
|
5154
5159
|
function y() {
|
|
5155
|
-
x(), i(
|
|
5160
|
+
x(), i(Q, b);
|
|
5156
5161
|
}
|
|
5157
5162
|
function b() {
|
|
5158
5163
|
S(), y();
|
|
@@ -5162,18 +5167,18 @@ function Bl(e, t, n) {
|
|
|
5162
5167
|
e && !(m && h) && T(), m && h && (ss(v, {
|
|
5163
5168
|
prev: m,
|
|
5164
5169
|
next: h
|
|
5165
|
-
}), ps(p, e ? "" : "none"), $o(p, _ = el + "--" + n.direction), e && (C(), D(), J([m, h],
|
|
5170
|
+
}), ps(p, e ? "" : "none"), $o(p, _ = el + "--" + n.direction), e && (C(), D(), J([m, h], Pc, f.id), o(ac, m, h)));
|
|
5166
5171
|
}
|
|
5167
5172
|
function S() {
|
|
5168
|
-
r.destroy(),
|
|
5173
|
+
r.destroy(), Ss(p, _), g ? (_s(d ? [m, h] : p), m = h = null) : us([m, h], Gc);
|
|
5169
5174
|
}
|
|
5170
5175
|
function C() {
|
|
5171
5176
|
i([
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
+
Vs,
|
|
5178
|
+
Ws,
|
|
5179
|
+
Z,
|
|
5180
|
+
nc,
|
|
5181
|
+
gc
|
|
5177
5182
|
], D), a(h, "click", K(w, ">")), a(m, "click", K(w, "<"));
|
|
5178
5183
|
}
|
|
5179
5184
|
function w(e) {
|
|
@@ -5183,12 +5188,12 @@ function Bl(e, t, n) {
|
|
|
5183
5188
|
p = d || ds("div", s.arrows), m = E(!0), h = E(!1), g = !0, es(p, [m, h]), !d && ts(p, f);
|
|
5184
5189
|
}
|
|
5185
5190
|
function E(e) {
|
|
5186
|
-
return
|
|
5191
|
+
return vs("<button class=\"" + s.arrow + " " + (e ? s.prev : s.next) + "\" type=\"button\"><svg xmlns=\"" + Ll + "\" viewBox=\"0 0 " + zl + " " + zl + "\" width=\"" + zl + "\" height=\"" + zl + "\" focusable=\"false\"><path d=\"" + (n.arrowPath || Rl) + "\" />");
|
|
5187
5192
|
}
|
|
5188
5193
|
function D() {
|
|
5189
5194
|
if (m && h) {
|
|
5190
5195
|
var t = e.index, n = u.getPrev(), r = u.getNext(), i = n > -1 && t < n ? c.last : c.prev, a = r > -1 && t > r ? c.first : c.next;
|
|
5191
|
-
m.disabled = n < 0, h.disabled = r < 0, J(m,
|
|
5196
|
+
m.disabled = n < 0, h.disabled = r < 0, J(m, Lc, i), J(h, Lc, a), o(oc, m, h, n, r);
|
|
5192
5197
|
}
|
|
5193
5198
|
}
|
|
5194
5199
|
return {
|
|
@@ -5198,11 +5203,11 @@ function Bl(e, t, n) {
|
|
|
5198
5203
|
update: D
|
|
5199
5204
|
};
|
|
5200
5205
|
}
|
|
5201
|
-
var Vl =
|
|
5206
|
+
var Vl = Es + "-interval";
|
|
5202
5207
|
function Hl(e, t, n) {
|
|
5203
|
-
var r =
|
|
5208
|
+
var r = $(e), i = r.on, a = r.bind, o = r.emit, s = _c(n.interval, e.go.bind(e, ">"), C), c = s.isPaused, l = t.Elements, u = t.Elements, d = u.root, f = u.toggle, p = n.autoplay, m, h, g = p === "pause";
|
|
5204
5209
|
function _() {
|
|
5205
|
-
p && (v(), f && J(f,
|
|
5210
|
+
p && (v(), f && J(f, Pc, l.track.id), g || y(), S());
|
|
5206
5211
|
}
|
|
5207
5212
|
function v() {
|
|
5208
5213
|
n.pauseOnHover && a(d, "mouseenter mouseleave", function(e) {
|
|
@@ -5212,26 +5217,26 @@ function Hl(e, t, n) {
|
|
|
5212
5217
|
}), f && a(f, "click", function() {
|
|
5213
5218
|
g ? y() : b(!0);
|
|
5214
5219
|
}), i([
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
], s.rewind), i(
|
|
5220
|
+
Us,
|
|
5221
|
+
tc,
|
|
5222
|
+
Z
|
|
5223
|
+
], s.rewind), i(Us, w);
|
|
5219
5224
|
}
|
|
5220
5225
|
function y() {
|
|
5221
|
-
c() && t.Slides.isEnough() && (s.start(!n.resetProgress), h = m = g = !1, S(), o(
|
|
5226
|
+
c() && t.Slides.isEnough() && (s.start(!n.resetProgress), h = m = g = !1, S(), o(uc));
|
|
5222
5227
|
}
|
|
5223
5228
|
function b(e) {
|
|
5224
|
-
e === void 0 && (e = !0), g = !!e, S(), c() || (s.pause(), o(
|
|
5229
|
+
e === void 0 && (e = !0), g = !!e, S(), c() || (s.pause(), o(fc));
|
|
5225
5230
|
}
|
|
5226
5231
|
function x() {
|
|
5227
5232
|
g || (m || h ? b(!1) : y());
|
|
5228
5233
|
}
|
|
5229
5234
|
function S() {
|
|
5230
|
-
f && (Qo(f, dl, !g), J(f,
|
|
5235
|
+
f && (Qo(f, dl, !g), J(f, Lc, n.i18n[g ? "play" : "pause"]));
|
|
5231
5236
|
}
|
|
5232
5237
|
function C(e) {
|
|
5233
5238
|
var t = l.bar;
|
|
5234
|
-
t && fs(t, "width", e * 100 + "%"), o(
|
|
5239
|
+
t && fs(t, "width", e * 100 + "%"), o(dc, e);
|
|
5235
5240
|
}
|
|
5236
5241
|
function w(e) {
|
|
5237
5242
|
var r = t.Slides.getAt(e);
|
|
@@ -5246,12 +5251,12 @@ function Hl(e, t, n) {
|
|
|
5246
5251
|
};
|
|
5247
5252
|
}
|
|
5248
5253
|
function Ul(e, t, n) {
|
|
5249
|
-
var r =
|
|
5254
|
+
var r = $(e).on;
|
|
5250
5255
|
function i() {
|
|
5251
|
-
n.cover && (r(
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5256
|
+
n.cover && (r(pc, K(o, !0)), r([
|
|
5257
|
+
Vs,
|
|
5258
|
+
Q,
|
|
5259
|
+
Z
|
|
5255
5260
|
], K(a, !0)));
|
|
5256
5261
|
}
|
|
5257
5262
|
function a(e) {
|
|
@@ -5270,25 +5275,25 @@ function Ul(e, t, n) {
|
|
|
5270
5275
|
}
|
|
5271
5276
|
var Wl = 10, Gl = 600, Kl = .6, ql = 1.5, Jl = 800;
|
|
5272
5277
|
function Yl(e, t, n) {
|
|
5273
|
-
var r =
|
|
5278
|
+
var r = $(e), i = r.on, a = r.emit, o = e.state.set, s = t.Move, c = s.getPosition, l = s.getLimit, u = s.exceededLimit, d = s.translate, f = e.is(Dl), p, m, h = 1;
|
|
5274
5279
|
function g() {
|
|
5275
|
-
i(
|
|
5280
|
+
i(Us, b), i([Q, Z], x);
|
|
5276
5281
|
}
|
|
5277
5282
|
function _(e, n, r, i, l) {
|
|
5278
5283
|
var d = c();
|
|
5279
5284
|
if (b(), r && (!f || !u())) {
|
|
5280
|
-
var g = t.Layout.sliderSize(), _ =
|
|
5285
|
+
var g = t.Layout.sliderSize(), _ = Fs(e) * g * As(X(e) / g) || 0;
|
|
5281
5286
|
e = s.toPosition(t.Controller.toDest(e % g)) + _;
|
|
5282
5287
|
}
|
|
5283
|
-
var x =
|
|
5284
|
-
h = 1, n = x ? 0 : n ||
|
|
5288
|
+
var x = Ms(d, e, 1);
|
|
5289
|
+
h = 1, n = x ? 0 : n || ks(X(e - d) / ql, Jl), m = i, p = _c(n, v, K(y, d, e, l), 1), o(Mo), a(tc), p.start();
|
|
5285
5290
|
}
|
|
5286
5291
|
function v() {
|
|
5287
|
-
o(Ao), m && m(), a(
|
|
5292
|
+
o(Ao), m && m(), a(nc);
|
|
5288
5293
|
}
|
|
5289
5294
|
function y(e, t, n, r) {
|
|
5290
5295
|
var i = c(), a = (e + (t - e) * S(r) - i) * h;
|
|
5291
|
-
d(i + a), f && !n && u() && (h *= Kl,
|
|
5296
|
+
d(i + a), f && !n && u() && (h *= Kl, X(a) < Wl && _(l(u(!0)), Gl, !1, m, !0));
|
|
5292
5297
|
}
|
|
5293
5298
|
function b() {
|
|
5294
5299
|
p && p.cancel();
|
|
@@ -5312,9 +5317,9 @@ var Xl = {
|
|
|
5312
5317
|
capture: !0
|
|
5313
5318
|
};
|
|
5314
5319
|
function Zl(e, t, n) {
|
|
5315
|
-
var r =
|
|
5320
|
+
var r = $(e), i = r.on, a = r.emit, o = r.bind, s = r.unbind, c = e.state, l = t.Move, u = t.Scroll, d = t.Controller, f = t.Elements.track, p = t.Media.reduce, m = t.Direction, h = m.resolve, g = m.orient, _ = l.getPosition, v = l.exceededLimit, y, b, x, S, C, w = !1, T, E, D;
|
|
5316
5321
|
function ee() {
|
|
5317
|
-
o(f, wl, zo, Xl), o(f, Tl, zo, Xl), o(f, Cl, k, Xl), o(f, "click", j, { capture: !0 }), o(f, "dragstart",
|
|
5322
|
+
o(f, wl, zo, Xl), o(f, Tl, zo, Xl), o(f, Cl, k, Xl), o(f, "click", j, { capture: !0 }), o(f, "dragstart", ys), i([Vs, Q], O);
|
|
5318
5323
|
}
|
|
5319
5324
|
function O() {
|
|
5320
5325
|
var e = n.drag;
|
|
@@ -5323,35 +5328,35 @@ function Zl(e, t, n) {
|
|
|
5323
5328
|
function k(e) {
|
|
5324
5329
|
if (T = !1, !E) {
|
|
5325
5330
|
var t = ue(e);
|
|
5326
|
-
le(e.target) && (t || !e.button) && (d.isBusy() ?
|
|
5331
|
+
le(e.target) && (t || !e.button) && (d.isBusy() ? ys(e, !0) : (D = t ? f : window, C = c.is([jo, Mo]), x = null, o(D, wl, A, Xl), o(D, Tl, te, Xl), l.cancel(), u.cancel(), M(e)));
|
|
5327
5332
|
}
|
|
5328
5333
|
}
|
|
5329
5334
|
function A(e) {
|
|
5330
|
-
if (c.is(No) || (c.set(No), a(
|
|
5335
|
+
if (c.is(No) || (c.set(No), a(Qs)), e.cancelable) if (C) {
|
|
5331
5336
|
l.translate(y + ce(F(e)));
|
|
5332
5337
|
var t = ae(e) > Sl, n = w !== (w = v());
|
|
5333
|
-
(t || n) && M(e), T = !0, a(
|
|
5334
|
-
} else P(e) && (C = N(e),
|
|
5338
|
+
(t || n) && M(e), T = !0, a($s), ys(e);
|
|
5339
|
+
} else P(e) && (C = N(e), ys(e));
|
|
5335
5340
|
}
|
|
5336
5341
|
function te(e) {
|
|
5337
|
-
c.is(No) && (c.set(Ao), a(
|
|
5342
|
+
c.is(No) && (c.set(Ao), a(ec)), C && (ne(e), ys(e)), s(D, wl, A), s(D, Tl, te), C = !1;
|
|
5338
5343
|
}
|
|
5339
5344
|
function j(e) {
|
|
5340
|
-
!E && T &&
|
|
5345
|
+
!E && T && ys(e, !0);
|
|
5341
5346
|
}
|
|
5342
5347
|
function M(e) {
|
|
5343
5348
|
x = b, b = e, y = _();
|
|
5344
5349
|
}
|
|
5345
5350
|
function ne(t) {
|
|
5346
5351
|
var r = re(t), i = ie(r), a = n.rewind && n.rewindByDrag;
|
|
5347
|
-
p(!1), S ? d.scroll(i, 0, n.snap) : e.is(kl) ? d.go(g(
|
|
5352
|
+
p(!1), S ? d.scroll(i, 0, n.snap) : e.is(kl) ? d.go(g(Fs(r)) < 0 ? a ? "<" : "-" : a ? ">" : "+") : e.is(Dl) && w && a ? d.go(v(!0) ? ">" : "<") : d.go(d.toDest(i), !0), p(!0);
|
|
5348
5353
|
}
|
|
5349
5354
|
function N(e) {
|
|
5350
5355
|
var t = n.dragMinThreshold, r = Ho(t), i = r && t.mouse || 0, a = (r ? t.touch : +t) || 10;
|
|
5351
|
-
return
|
|
5356
|
+
return X(F(e)) > (ue(e) ? a : i);
|
|
5352
5357
|
}
|
|
5353
5358
|
function P(e) {
|
|
5354
|
-
return
|
|
5359
|
+
return X(F(e)) > X(F(e, !0));
|
|
5355
5360
|
}
|
|
5356
5361
|
function re(t) {
|
|
5357
5362
|
if (e.is(Ol) || !w) {
|
|
@@ -5361,13 +5366,13 @@ function Zl(e, t, n) {
|
|
|
5361
5366
|
return 0;
|
|
5362
5367
|
}
|
|
5363
5368
|
function ie(e) {
|
|
5364
|
-
return _() +
|
|
5369
|
+
return _() + Fs(e) * Os(X(e) * (n.flickPower || 600), S ? Infinity : t.Layout.listSize() * (n.flickMaxPages || 1));
|
|
5365
5370
|
}
|
|
5366
5371
|
function F(e, t) {
|
|
5367
5372
|
return se(e, t) - se(oe(e), t);
|
|
5368
5373
|
}
|
|
5369
5374
|
function ae(e) {
|
|
5370
|
-
return
|
|
5375
|
+
return Cs(e) - Cs(oe(e));
|
|
5371
5376
|
}
|
|
5372
5377
|
function oe(e) {
|
|
5373
5378
|
return b === e && x || b;
|
|
@@ -5399,19 +5404,19 @@ function Zl(e, t, n) {
|
|
|
5399
5404
|
}
|
|
5400
5405
|
var Ql = {
|
|
5401
5406
|
Spacebar: " ",
|
|
5402
|
-
Right:
|
|
5403
|
-
Left:
|
|
5404
|
-
Up:
|
|
5405
|
-
Down:
|
|
5407
|
+
Right: Cc,
|
|
5408
|
+
Left: Sc,
|
|
5409
|
+
Up: wc,
|
|
5410
|
+
Down: Tc
|
|
5406
5411
|
};
|
|
5407
5412
|
function $l(e) {
|
|
5408
5413
|
return e = Go(e) ? e : e.key, Ql[e] || e;
|
|
5409
5414
|
}
|
|
5410
5415
|
var eu = "keydown";
|
|
5411
5416
|
function tu(e, t, n) {
|
|
5412
|
-
var r =
|
|
5417
|
+
var r = $(e), i = r.on, a = r.bind, o = r.unbind, s = e.root, c = t.Direction.resolve, l, u;
|
|
5413
5418
|
function d() {
|
|
5414
|
-
f(), i(
|
|
5419
|
+
f(), i(Q, p), i(Q, f), i(Us, h);
|
|
5415
5420
|
}
|
|
5416
5421
|
function f() {
|
|
5417
5422
|
var e = n.keyboard;
|
|
@@ -5432,7 +5437,7 @@ function tu(e, t, n) {
|
|
|
5432
5437
|
function g(t) {
|
|
5433
5438
|
if (!u) {
|
|
5434
5439
|
var n = $l(t);
|
|
5435
|
-
n === c(
|
|
5440
|
+
n === c(Sc) ? e.go("<") : n === c(Cc) && e.go(">");
|
|
5436
5441
|
}
|
|
5437
5442
|
}
|
|
5438
5443
|
return {
|
|
@@ -5441,18 +5446,18 @@ function tu(e, t, n) {
|
|
|
5441
5446
|
disable: m
|
|
5442
5447
|
};
|
|
5443
5448
|
}
|
|
5444
|
-
var nu =
|
|
5449
|
+
var nu = Es + "-lazy", ru = nu + "-srcset", iu = "[" + nu + "], [" + ru + "]";
|
|
5445
5450
|
function au(e, t, n) {
|
|
5446
|
-
var r =
|
|
5451
|
+
var r = $(e), i = r.on, a = r.off, o = r.bind, s = r.emit, c = n.lazyLoad === "sequential", l = [Ws, nc], u = [];
|
|
5447
5452
|
function d() {
|
|
5448
|
-
n.lazyLoad && (f(), i(
|
|
5453
|
+
n.lazyLoad && (f(), i(Z, f));
|
|
5449
5454
|
}
|
|
5450
5455
|
function f() {
|
|
5451
5456
|
Io(u), p(), c ? _() : (a(l), i(l, m), m());
|
|
5452
5457
|
}
|
|
5453
5458
|
function p() {
|
|
5454
5459
|
t.Slides.forEach(function(e) {
|
|
5455
|
-
|
|
5460
|
+
xs(e.slide, iu).forEach(function(t) {
|
|
5456
5461
|
var r = hs(t, nu), i = hs(t, ru);
|
|
5457
5462
|
if (r !== t.src || i !== t.srcset) {
|
|
5458
5463
|
var a = n.classes.spinner, o = t.parentElement, s = is(o, "." + a) || ds("span", a, o);
|
|
@@ -5477,7 +5482,7 @@ function au(e, t, n) {
|
|
|
5477
5482
|
}
|
|
5478
5483
|
function g(e, t) {
|
|
5479
5484
|
var n = e[0], r = e[1];
|
|
5480
|
-
|
|
5485
|
+
Ss(r.slide, hl), t.type !== "error" && (_s(e[2]), ps(n, ""), s(pc, n, r), s(Xs)), c && _();
|
|
5481
5486
|
}
|
|
5482
5487
|
function _() {
|
|
5483
5488
|
u.length && h(u.shift());
|
|
@@ -5489,29 +5494,29 @@ function au(e, t, n) {
|
|
|
5489
5494
|
};
|
|
5490
5495
|
}
|
|
5491
5496
|
function ou(e, t, n) {
|
|
5492
|
-
var r =
|
|
5497
|
+
var r = $(e), i = r.on, a = r.emit, o = r.bind, s = t.Slides, c = t.Elements, l = t.Controller, u = l.hasFocus, d = l.getIndex, f = l.go, p = t.Direction.resolve, m = c.pagination, h = [], g, _;
|
|
5493
5498
|
function v() {
|
|
5494
5499
|
y(), i([
|
|
5500
|
+
Q,
|
|
5495
5501
|
Z,
|
|
5496
|
-
|
|
5497
|
-
_c
|
|
5502
|
+
gc
|
|
5498
5503
|
], v);
|
|
5499
5504
|
var t = n.pagination;
|
|
5500
5505
|
m && ps(m, t ? "" : "none"), t && (i([
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
], T), b(), T(), a(
|
|
5506
|
+
Us,
|
|
5507
|
+
tc,
|
|
5508
|
+
nc
|
|
5509
|
+
], T), b(), T(), a(sc, {
|
|
5505
5510
|
list: g,
|
|
5506
5511
|
items: h
|
|
5507
5512
|
}, w(e.index)));
|
|
5508
5513
|
}
|
|
5509
5514
|
function y() {
|
|
5510
|
-
g &&= (
|
|
5515
|
+
g &&= (_s(m ? Lo(g.children) : g), Ss(g, _), Io(h), null), r.destroy();
|
|
5511
5516
|
}
|
|
5512
5517
|
function b() {
|
|
5513
|
-
var t = e.length, r = n.classes, i = n.i18n, a = n.perPage, d = u() ? l.getEnd() + 1 :
|
|
5514
|
-
g = m || ds("ul", r.pagination, c.track.parentElement), $o(g, _ = il + "--" + C()), J(g,
|
|
5518
|
+
var t = e.length, r = n.classes, i = n.i18n, a = n.perPage, d = u() ? l.getEnd() + 1 : js(t / a);
|
|
5519
|
+
g = m || ds("ul", r.pagination, c.track.parentElement), $o(g, _ = il + "--" + C()), J(g, Ac, "tablist"), J(g, Lc, i.select), J(g, Bc, C() === Dc ? "vertical" : "");
|
|
5515
5520
|
for (var f = 0; f < d; f++) {
|
|
5516
5521
|
var p = ds("li", null, g), v = ds("button", {
|
|
5517
5522
|
class: r.page,
|
|
@@ -5519,7 +5524,7 @@ function ou(e, t, n) {
|
|
|
5519
5524
|
}, p), y = s.getIn(f).map(function(e) {
|
|
5520
5525
|
return e.slide.id;
|
|
5521
5526
|
}), b = !u() && a > 1 ? i.pageX : i.slideX;
|
|
5522
|
-
o(v, "click", K(x, f)), n.paginationKeyboard && o(v, "keydown", K(S, f)), J(p,
|
|
5527
|
+
o(v, "click", K(x, f)), n.paginationKeyboard && o(v, "keydown", K(S, f)), J(p, Ac, "presentation"), J(v, Ac, "tab"), J(v, Pc, y.join(" ")), J(v, Lc, Is(b, f + 1)), J(v, jc, -1), h.push({
|
|
5523
5528
|
li: p,
|
|
5524
5529
|
button: v,
|
|
5525
5530
|
page: f
|
|
@@ -5531,9 +5536,9 @@ function ou(e, t, n) {
|
|
|
5531
5536
|
}
|
|
5532
5537
|
function S(e, t) {
|
|
5533
5538
|
var n = h.length, r = $l(t), i = C(), a = -1;
|
|
5534
|
-
r === p(
|
|
5539
|
+
r === p(Cc, !1, i) ? a = ++e % n : r === p(Sc, !1, i) ? a = (--e + n) % n : r === "Home" ? a = 0 : r === "End" && (a = n - 1);
|
|
5535
5540
|
var o = h[a];
|
|
5536
|
-
o && (ms(o.button), f(">" + a),
|
|
5541
|
+
o && (ms(o.button), f(">" + a), ys(t, !0));
|
|
5537
5542
|
}
|
|
5538
5543
|
function C() {
|
|
5539
5544
|
return n.paginationDirection || n.direction;
|
|
@@ -5545,13 +5550,13 @@ function ou(e, t, n) {
|
|
|
5545
5550
|
var e = w(d(!0)), t = w(d());
|
|
5546
5551
|
if (e) {
|
|
5547
5552
|
var n = e.button;
|
|
5548
|
-
|
|
5553
|
+
Ss(n, dl), us(n, Ic), J(n, jc, -1);
|
|
5549
5554
|
}
|
|
5550
5555
|
if (t) {
|
|
5551
5556
|
var r = t.button;
|
|
5552
|
-
$o(r, dl), J(r,
|
|
5557
|
+
$o(r, dl), J(r, Ic, !0), J(r, jc, "");
|
|
5553
5558
|
}
|
|
5554
|
-
a(
|
|
5559
|
+
a(cc, {
|
|
5555
5560
|
list: g,
|
|
5556
5561
|
items: h
|
|
5557
5562
|
}, e, t);
|
|
@@ -5581,23 +5586,23 @@ function cu(e, t, n) {
|
|
|
5581
5586
|
s(), o();
|
|
5582
5587
|
}
|
|
5583
5588
|
function l(e, t) {
|
|
5584
|
-
var n =
|
|
5585
|
-
n.on(
|
|
5589
|
+
var n = $(e);
|
|
5590
|
+
n.on(Us, function(e, n, r) {
|
|
5586
5591
|
t.go(t.is(Ol) ? r : e);
|
|
5587
5592
|
}), a.push(n);
|
|
5588
5593
|
}
|
|
5589
5594
|
function u() {
|
|
5590
|
-
var t =
|
|
5591
|
-
n(
|
|
5595
|
+
var t = $(e), n = t.on;
|
|
5596
|
+
n(Gs, f), n(mc, p), n([Vs, Q], d), a.push(t), t.emit(lc, e.splides);
|
|
5592
5597
|
}
|
|
5593
5598
|
function d() {
|
|
5594
|
-
J(t.Elements.list, Bc, n.direction ===
|
|
5599
|
+
J(t.Elements.list, Bc, n.direction === Dc ? "vertical" : "");
|
|
5595
5600
|
}
|
|
5596
5601
|
function f(t) {
|
|
5597
5602
|
e.go(t.index);
|
|
5598
5603
|
}
|
|
5599
5604
|
function p(e, t) {
|
|
5600
|
-
Xo(su, $l(t)) && (f(e),
|
|
5605
|
+
Xo(su, $l(t)) && (f(e), ys(t));
|
|
5601
5606
|
}
|
|
5602
5607
|
return {
|
|
5603
5608
|
setup: K(t.Media.set, { slideFocus: Ko(i) ? r : i }, !0),
|
|
@@ -5607,14 +5612,14 @@ function cu(e, t, n) {
|
|
|
5607
5612
|
};
|
|
5608
5613
|
}
|
|
5609
5614
|
function lu(e, t, n) {
|
|
5610
|
-
var r =
|
|
5615
|
+
var r = $(e).bind, i = 0;
|
|
5611
5616
|
function a() {
|
|
5612
5617
|
n.wheel && r(t.Elements.track, "wheel", o, Xl);
|
|
5613
5618
|
}
|
|
5614
5619
|
function o(t) {
|
|
5615
5620
|
if (t.cancelable) {
|
|
5616
|
-
var r = t.deltaY, a = r < 0, o =
|
|
5617
|
-
|
|
5621
|
+
var r = t.deltaY, a = r < 0, o = Cs(t), c = n.wheelMinThreshold || 0, l = n.wheelSleep || 0;
|
|
5622
|
+
X(r) > c && o - i > l && (e.go(a ? "<" : ">"), i = o), s(a) && ys(t);
|
|
5618
5623
|
}
|
|
5619
5624
|
}
|
|
5620
5625
|
function s(r) {
|
|
@@ -5624,19 +5629,19 @@ function lu(e, t, n) {
|
|
|
5624
5629
|
}
|
|
5625
5630
|
var uu = 90;
|
|
5626
5631
|
function du(e, t, n) {
|
|
5627
|
-
var r =
|
|
5632
|
+
var r = $(e).on, i = t.Elements.track, a = n.live && !n.isNavigation, o = ds("span", ll), s = _c(uu, K(l, !1));
|
|
5628
5633
|
function c() {
|
|
5629
|
-
a && (d(!t.Autoplay.isPaused()), J(i, Wc, !0), o.textContent = "…", r(
|
|
5634
|
+
a && (d(!t.Autoplay.isPaused()), J(i, Wc, !0), o.textContent = "…", r(uc, K(d, !0)), r(fc, K(d, !1)), r([Ws, nc], K(l, !0)));
|
|
5630
5635
|
}
|
|
5631
5636
|
function l(e) {
|
|
5632
|
-
J(i, Uc, e), e ? (es(i, o), s.start()) : (
|
|
5637
|
+
J(i, Uc, e), e ? (es(i, o), s.start()) : (_s(o), s.cancel());
|
|
5633
5638
|
}
|
|
5634
5639
|
function u() {
|
|
5635
5640
|
us(i, [
|
|
5636
5641
|
Hc,
|
|
5637
5642
|
Wc,
|
|
5638
5643
|
Uc
|
|
5639
|
-
]),
|
|
5644
|
+
]), _s(o);
|
|
5640
5645
|
}
|
|
5641
5646
|
function d(e) {
|
|
5642
5647
|
a && J(i, Hc, e ? "off" : "polite");
|
|
@@ -5649,8 +5654,8 @@ function du(e, t, n) {
|
|
|
5649
5654
|
}
|
|
5650
5655
|
var fu = /* @__PURE__ */ Object.freeze({
|
|
5651
5656
|
__proto__: null,
|
|
5652
|
-
Media:
|
|
5653
|
-
Direction:
|
|
5657
|
+
Media: bc,
|
|
5658
|
+
Direction: kc,
|
|
5654
5659
|
Elements: El,
|
|
5655
5660
|
Slides: jl,
|
|
5656
5661
|
Layout: Ml,
|
|
@@ -5711,7 +5716,7 @@ var fu = /* @__PURE__ */ Object.freeze({
|
|
|
5711
5716
|
function mu(e, t, n) {
|
|
5712
5717
|
var r = t.Slides;
|
|
5713
5718
|
function i() {
|
|
5714
|
-
|
|
5719
|
+
$(e).on([Vs, Z], a);
|
|
5715
5720
|
}
|
|
5716
5721
|
function a() {
|
|
5717
5722
|
r.forEach(function(e) {
|
|
@@ -5730,13 +5735,13 @@ function mu(e, t, n) {
|
|
|
5730
5735
|
function hu(e, t, n) {
|
|
5731
5736
|
var r = t.Move, i = t.Controller, a = t.Scroll, o = t.Elements.list, s = K(fs, o, "transition"), c;
|
|
5732
5737
|
function l() {
|
|
5733
|
-
|
|
5738
|
+
$(e).bind(o, "transitionend", function(e) {
|
|
5734
5739
|
e.target === o && c && (d(), c());
|
|
5735
5740
|
});
|
|
5736
5741
|
}
|
|
5737
5742
|
function u(e, t) {
|
|
5738
5743
|
var i = r.toPosition(e, !0), o = r.getPosition(), l = f(e);
|
|
5739
|
-
|
|
5744
|
+
X(i - o) >= 1 && l >= 1 ? n.useScroll ? a.scroll(i, l, !1, t) : (s("transform " + l + "ms " + n.easing), r.translate(i, !0), c = t) : (r.jump(e), t());
|
|
5740
5745
|
}
|
|
5741
5746
|
function d() {
|
|
5742
5747
|
s(""), a.cancel();
|
|
@@ -5757,28 +5762,28 @@ function hu(e, t, n) {
|
|
|
5757
5762
|
}
|
|
5758
5763
|
var gu = /* @__PURE__ */ function() {
|
|
5759
5764
|
function e(t, n) {
|
|
5760
|
-
this.event =
|
|
5761
|
-
var r = Go(t) ?
|
|
5762
|
-
|
|
5763
|
-
label: hs(r,
|
|
5765
|
+
this.event = $(), this.Components = {}, this.state = vc(Oo), this.splides = [], this._o = {}, this._E = {};
|
|
5766
|
+
var r = Go(t) ? bs(document, t) : t;
|
|
5767
|
+
Ds(r, r + " is invalid."), this.root = r, n = cs({
|
|
5768
|
+
label: hs(r, Lc) || "",
|
|
5764
5769
|
labelledby: hs(r, Rc) || ""
|
|
5765
5770
|
}, pu, e.defaults, n || {});
|
|
5766
5771
|
try {
|
|
5767
|
-
cs(n, JSON.parse(hs(r,
|
|
5772
|
+
cs(n, JSON.parse(hs(r, Es)));
|
|
5768
5773
|
} catch {
|
|
5769
|
-
|
|
5774
|
+
Ds(!1, "Invalid JSON");
|
|
5770
5775
|
}
|
|
5771
5776
|
this._o = Object.create(cs({}, n));
|
|
5772
5777
|
}
|
|
5773
5778
|
var t = e.prototype;
|
|
5774
5779
|
return t.mount = function(e, t) {
|
|
5775
5780
|
var n = this, r = this.state, i = this.Components;
|
|
5776
|
-
return
|
|
5781
|
+
return Ds(r.is([Oo, Po]), "Already mounted!"), r.set(Oo), this._C = i, this._T = t || this._T || (this.is(kl) ? mu : hu), this._E = e || this._E, os(ss({}, fu, this._E, { Transition: this._T }), function(e, t) {
|
|
5777
5782
|
var r = e(n, i, n._o);
|
|
5778
5783
|
i[t] = r, r.setup && r.setup();
|
|
5779
5784
|
}), os(i, function(e) {
|
|
5780
5785
|
e.mount && e.mount();
|
|
5781
|
-
}), this.emit(
|
|
5786
|
+
}), this.emit(Vs), $o(this.root, ul), r.set(Ao), this.emit(Hs), this;
|
|
5782
5787
|
}, t.sync = function(e) {
|
|
5783
5788
|
return this.splides.push({ splide: e }), e.splides.push({
|
|
5784
5789
|
splide: this,
|
|
@@ -5800,13 +5805,13 @@ var gu = /* @__PURE__ */ function() {
|
|
|
5800
5805
|
}, t.is = function(e) {
|
|
5801
5806
|
return this._o.type === e;
|
|
5802
5807
|
}, t.refresh = function() {
|
|
5803
|
-
return this.emit(
|
|
5808
|
+
return this.emit(Z), this;
|
|
5804
5809
|
}, t.destroy = function(e) {
|
|
5805
5810
|
e === void 0 && (e = !0);
|
|
5806
5811
|
var t = this.event, n = this.state;
|
|
5807
|
-
return n.is(Oo) ?
|
|
5812
|
+
return n.is(Oo) ? $(this).on(Hs, this.destroy.bind(this, e)) : (os(this._C, function(t) {
|
|
5808
5813
|
t.destroy && t.destroy(e);
|
|
5809
|
-
}, !0), t.emit(
|
|
5814
|
+
}, !0), t.emit(ic), t.destroy(), e && Io(this.splides), n.set(Po)), this;
|
|
5810
5815
|
}, Eo(e, [
|
|
5811
5816
|
{
|
|
5812
5817
|
key: "options",
|
|
@@ -5833,33 +5838,33 @@ var gu = /* @__PURE__ */ function() {
|
|
|
5833
5838
|
}();
|
|
5834
5839
|
gu.defaults = {}, gu.STATES = Fo;
|
|
5835
5840
|
var _u = [
|
|
5836
|
-
qs,
|
|
5837
|
-
oc,
|
|
5838
|
-
sc,
|
|
5839
|
-
pc,
|
|
5840
|
-
dc,
|
|
5841
|
-
fc,
|
|
5842
5841
|
Ks,
|
|
5843
5842
|
ac,
|
|
5844
|
-
|
|
5845
|
-
|
|
5843
|
+
oc,
|
|
5844
|
+
fc,
|
|
5845
|
+
uc,
|
|
5846
|
+
dc,
|
|
5847
|
+
Gs,
|
|
5848
|
+
ic,
|
|
5849
|
+
Qs,
|
|
5846
5850
|
ec,
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
+
$s,
|
|
5852
|
+
Ys,
|
|
5853
|
+
qs,
|
|
5854
|
+
pc,
|
|
5855
|
+
Vs,
|
|
5856
|
+
Us,
|
|
5851
5857
|
Ws,
|
|
5852
|
-
Gs,
|
|
5853
|
-
uc,
|
|
5854
|
-
cc,
|
|
5855
5858
|
lc,
|
|
5856
|
-
|
|
5859
|
+
sc,
|
|
5860
|
+
cc,
|
|
5861
|
+
Z,
|
|
5862
|
+
Xs,
|
|
5857
5863
|
Zs,
|
|
5858
|
-
|
|
5864
|
+
tc,
|
|
5859
5865
|
nc,
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
Ys
|
|
5866
|
+
Q,
|
|
5867
|
+
Js
|
|
5863
5868
|
], vu = "splide";
|
|
5864
5869
|
function yu(e) {
|
|
5865
5870
|
return typeof e == "object" && !!e;
|