@konnectio/core 4.0.63 → 4.0.64
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/dist/{ActionField-3MggPKk9.js → ActionField-D28Pe5Bb.js} +33 -25
- package/dist/ActionField-D28Pe5Bb.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DSgC6hn3.js → AvailabilitySkeleton-BGEhEqa-.js} +123 -115
- package/dist/AvailabilitySkeleton-BGEhEqa-.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js} +1089 -1081
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js.br +0 -0
- package/dist/{CheckoutWindow-DolJgk40.js → CheckoutWindow-Cv7p0DrF.js} +174 -166
- package/dist/CheckoutWindow-Cv7p0DrF.js.br +0 -0
- package/dist/{ErrorMessage-BksKCxAq.js → ErrorMessage-T11Ou3eh.js} +24 -16
- package/dist/ErrorMessage-T11Ou3eh.js.br +0 -0
- package/dist/EventAvailabilityForm-DeqQKdKV.js +125 -0
- package/dist/EventAvailabilityForm-DeqQKdKV.js.br +0 -0
- package/dist/Field-DcoRYqr8.js +58 -0
- package/dist/Field-DcoRYqr8.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js} +2031 -2022
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js.br +0 -0
- package/dist/TermsOfService-CL0zaNw_.js +44 -0
- package/dist/TermsOfService-CL0zaNw_.js.br +0 -0
- package/dist/_-C5tf0vwv.js +20 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js +77 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js.br +0 -0
- package/dist/{_commonjsHelpers-DEK47QeC.js → _commonjsHelpers-BeCRh3Xf.js} +618 -558
- package/dist/_commonjsHelpers-BeCRh3Xf.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DEszgcWK.js → _sentry-release-injection-file-CY9ljBue.js} +1643 -1635
- package/dist/_sentry-release-injection-file-CY9ljBue.js.br +0 -0
- package/dist/availability.js +67 -59
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +29 -21
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +260 -252
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +71 -63
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +137 -129
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-CHf9cbmB.js +134 -0
- package/dist/giftCard-CHf9cbmB.js.br +0 -0
- package/dist/hotel.js +812 -803
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-GGoTX7a7.js → masonry.plugin-q1wqMEhq.js} +860 -852
- package/dist/masonry.plugin-q1wqMEhq.js.br +0 -0
- package/dist/{mitt-DnPlcQNp.js → mitt-CZC0Vuw7.js} +505 -497
- package/dist/mitt-CZC0Vuw7.js.br +0 -0
- package/dist/polyfill.js +6470 -6259
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-2RYcVxT9.js → style-Di3bMYae.js} +392 -384
- package/dist/style-Di3bMYae.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-3MggPKk9.js.br +0 -0
- package/dist/AvailabilitySkeleton-DSgC6hn3.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js.br +0 -0
- package/dist/CheckoutWindow-DolJgk40.js.br +0 -0
- package/dist/ErrorMessage-BksKCxAq.js.br +0 -0
- package/dist/EventAvailabilityForm-DZljldrC.js +0 -117
- package/dist/EventAvailabilityForm-DZljldrC.js.br +0 -0
- package/dist/Field-DGi_AnA6.js +0 -50
- package/dist/Field-DGi_AnA6.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js.br +0 -0
- package/dist/TermsOfService-LDUTInOo.js +0 -36
- package/dist/TermsOfService-LDUTInOo.js.br +0 -0
- package/dist/_-CBEOFztf.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js +0 -69
- package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js.br +0 -0
- package/dist/_commonjsHelpers-DEK47QeC.js.br +0 -0
- package/dist/_sentry-release-injection-file-DEszgcWK.js.br +0 -0
- package/dist/giftCard-DLrIdehA.js +0 -126
- package/dist/giftCard-DLrIdehA.js.br +0 -0
- package/dist/masonry.plugin-GGoTX7a7.js.br +0 -0
- package/dist/mitt-DnPlcQNp.js.br +0 -0
- package/dist/style-2RYcVxT9.js.br +0 -0
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
import { d as re, H as
|
|
2
|
-
import { I as Me, _ as de, y as
|
|
3
|
-
import { u as Ze, s as me, m as
|
|
4
|
-
import { B as
|
|
5
|
-
import { u as
|
|
6
|
-
import { A as
|
|
7
|
-
import { c as
|
|
1
|
+
import { d as re, H as Kr, I as Zr, J as tt, K as Qr, L as Jr, F as ue, r as oe, c as Q, z as ye, o as Et, a as O, g as T, b as he, w as Oe, e as b, h as be, i as M, f as z, s as _e, u as P, n as ve, p as zi, j as Ni, G as ea, M as Yt, q as ta, A as ke, t as I, N as na, O as ia, l as ie, P as ra, D as Gt, B as ai, x as aa, Q as oa, m as sa, R as la, T as ua, v as ca } from "./_sentry-release-injection-file-CY9ljBue.js";
|
|
2
|
+
import { I as Me, _ as de, y as Fi, T as oi, H as Bi, B as fa, e as Pt, j as si, z as li, h as fe, s as ot, q as ha, F as Ie, E as Y, r as ui, t as da } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js";
|
|
3
|
+
import { u as Ze, s as me, m as va } from "./mitt-CZC0Vuw7.js";
|
|
4
|
+
import { B as ga, C as pa, _ as _a } from "./CheckoutWindow-Cv7p0DrF.js";
|
|
5
|
+
import { u as ma } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js";
|
|
6
|
+
import { A as ci } from "./ActionField-D28Pe5Bb.js";
|
|
7
|
+
import { c as ji, g as Vi } from "./_commonjsHelpers-BeCRh3Xf.js";
|
|
8
8
|
(function() {
|
|
9
9
|
try {
|
|
10
10
|
var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, i = new Error().stack;
|
|
11
|
-
i && (a._sentryDebugIds = a._sentryDebugIds || {}, a._sentryDebugIds[i] = "
|
|
11
|
+
i && (a._sentryDebugIds = a._sentryDebugIds || {}, a._sentryDebugIds[i] = "8e1d8376-01e9-434d-b311-3b7a4a837e07", a._sentryDebugIdIdentifier = "sentry-dbid-8e1d8376-01e9-434d-b311-3b7a4a837e07");
|
|
12
12
|
} catch {
|
|
13
13
|
}
|
|
14
14
|
})();
|
|
15
|
+
{
|
|
16
|
+
var et = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
17
|
+
et._sentryModuleMetadata = et._sentryModuleMetadata || {}, et._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
18
|
+
{},
|
|
19
|
+
et._sentryModuleMetadata[new Error().stack],
|
|
20
|
+
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
21
|
+
);
|
|
22
|
+
}
|
|
15
23
|
/*! *****************************************************************************
|
|
16
24
|
Copyright (c) Microsoft Corporation.
|
|
17
25
|
|
|
@@ -26,7 +34,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
26
34
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
27
35
|
PERFORMANCE OF THIS SOFTWARE.
|
|
28
36
|
***************************************************************************** */
|
|
29
|
-
function
|
|
37
|
+
function Hi(a) {
|
|
30
38
|
var i = typeof Symbol == "function" && Symbol.iterator, t = i && a[i], e = 0;
|
|
31
39
|
if (t) return t.call(a);
|
|
32
40
|
if (a && typeof a.length == "number") return {
|
|
@@ -39,7 +47,7 @@ function Vi(a) {
|
|
|
39
47
|
};
|
|
40
48
|
throw new TypeError(i ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
41
49
|
}
|
|
42
|
-
function
|
|
50
|
+
function ya(a, i) {
|
|
43
51
|
var t = typeof Symbol == "function" && a[Symbol.iterator];
|
|
44
52
|
if (!t) return a;
|
|
45
53
|
var e = t.call(a), n, r = [], o;
|
|
@@ -58,18 +66,18 @@ function ma(a, i) {
|
|
|
58
66
|
}
|
|
59
67
|
return r;
|
|
60
68
|
}
|
|
61
|
-
function
|
|
62
|
-
for (var a = [], i = 0; i < arguments.length; i++) a = a.concat(
|
|
69
|
+
function wt() {
|
|
70
|
+
for (var a = [], i = 0; i < arguments.length; i++) a = a.concat(ya(arguments[i]));
|
|
63
71
|
return a;
|
|
64
72
|
}
|
|
65
73
|
var Ve = function(a) {
|
|
66
74
|
return typeof a > "u";
|
|
67
|
-
},
|
|
75
|
+
}, Xt = /* @__PURE__ */ function() {
|
|
68
76
|
function a(t, e) {
|
|
69
77
|
var n, r;
|
|
70
78
|
if (this._canceled = !1, e)
|
|
71
79
|
try {
|
|
72
|
-
for (var o =
|
|
80
|
+
for (var o = Hi(Object.keys(e)), s = o.next(); !s.done; s = o.next()) {
|
|
73
81
|
var l = s.value;
|
|
74
82
|
this[l] = e[l];
|
|
75
83
|
}
|
|
@@ -100,11 +108,11 @@ var Ve = function(a) {
|
|
|
100
108
|
return i.trigger = function(t) {
|
|
101
109
|
for (var e = [], n = 1; n < arguments.length; n++)
|
|
102
110
|
e[n - 1] = arguments[n];
|
|
103
|
-
var r = t instanceof
|
|
104
|
-
return o.length <= 0 ? this : (t instanceof
|
|
111
|
+
var r = t instanceof Xt ? t.eventType : t, o = wt(this._eventHandler[r] || []);
|
|
112
|
+
return o.length <= 0 ? this : (t instanceof Xt ? (t.currentTarget = this, o.forEach(function(s) {
|
|
105
113
|
s(t);
|
|
106
114
|
})) : o.forEach(function(s) {
|
|
107
|
-
s.apply(void 0,
|
|
115
|
+
s.apply(void 0, wt(e));
|
|
108
116
|
}), this);
|
|
109
117
|
}, i.once = function(t, e) {
|
|
110
118
|
var n = this;
|
|
@@ -117,7 +125,7 @@ var Ve = function(a) {
|
|
|
117
125
|
var s = function() {
|
|
118
126
|
for (var l = [], u = 0; u < arguments.length; u++)
|
|
119
127
|
l[u] = arguments[u];
|
|
120
|
-
e.apply(void 0,
|
|
128
|
+
e.apply(void 0, wt(l)), n.off(t, s);
|
|
121
129
|
};
|
|
122
130
|
this.on(t, s);
|
|
123
131
|
}
|
|
@@ -151,7 +159,7 @@ var Ve = function(a) {
|
|
|
151
159
|
if (l) {
|
|
152
160
|
var u = 0;
|
|
153
161
|
try {
|
|
154
|
-
for (var f =
|
|
162
|
+
for (var f = Hi(l), d = f.next(); !d.done; d = f.next()) {
|
|
155
163
|
var v = d.value;
|
|
156
164
|
if (v === e) {
|
|
157
165
|
l.splice(u, 1), l.length <= 0 && delete this._eventHandler[t];
|
|
@@ -173,20 +181,20 @@ var Ve = function(a) {
|
|
|
173
181
|
}
|
|
174
182
|
return this;
|
|
175
183
|
}, a.VERSION = "3.0.4", a;
|
|
176
|
-
}(), F =
|
|
177
|
-
function
|
|
184
|
+
}(), F = Xt;
|
|
185
|
+
function pn(a, i) {
|
|
178
186
|
for (var t = a.length, e = 0; e < t; ++e)
|
|
179
187
|
if (i(a[e], e))
|
|
180
188
|
return !0;
|
|
181
189
|
return !1;
|
|
182
190
|
}
|
|
183
|
-
function
|
|
191
|
+
function $i(a, i) {
|
|
184
192
|
for (var t = a.length, e = 0; e < t; ++e)
|
|
185
193
|
if (i(a[e], e))
|
|
186
194
|
return a[e];
|
|
187
195
|
return null;
|
|
188
196
|
}
|
|
189
|
-
function
|
|
197
|
+
function Wi(a) {
|
|
190
198
|
var i = a;
|
|
191
199
|
if (typeof i > "u") {
|
|
192
200
|
if (typeof navigator > "u" || !navigator)
|
|
@@ -195,31 +203,31 @@ function $i(a) {
|
|
|
195
203
|
}
|
|
196
204
|
return i.toLowerCase();
|
|
197
205
|
}
|
|
198
|
-
function
|
|
206
|
+
function _n(a, i) {
|
|
199
207
|
try {
|
|
200
208
|
return new RegExp(a, "g").exec(i);
|
|
201
209
|
} catch {
|
|
202
210
|
return null;
|
|
203
211
|
}
|
|
204
212
|
}
|
|
205
|
-
function
|
|
213
|
+
function ba() {
|
|
206
214
|
if (typeof navigator > "u" || !navigator || !navigator.userAgentData)
|
|
207
215
|
return !1;
|
|
208
216
|
var a = navigator.userAgentData, i = a.brands || a.uaList;
|
|
209
217
|
return !!(i && i.length);
|
|
210
218
|
}
|
|
211
|
-
function
|
|
212
|
-
var t =
|
|
219
|
+
function Ea(a, i) {
|
|
220
|
+
var t = _n("(" + a + ")((?:\\/|\\s|:)([0-9|\\.|_]+))", i);
|
|
213
221
|
return t ? t[3] : "";
|
|
214
222
|
}
|
|
215
|
-
function
|
|
223
|
+
function qt(a) {
|
|
216
224
|
return a.replace(/_/g, ".");
|
|
217
225
|
}
|
|
218
226
|
function $e(a, i) {
|
|
219
227
|
var t = null, e = "-1";
|
|
220
|
-
return
|
|
221
|
-
var r =
|
|
222
|
-
return !r || n.brand ? !1 : (t = n, e = r[3] || "-1", n.versionAlias ? e = n.versionAlias : n.versionTest && (e =
|
|
228
|
+
return pn(a, function(n) {
|
|
229
|
+
var r = _n("(" + n.test + ")((?:\\/|\\s|:)([0-9|\\.|_]+))?", i);
|
|
230
|
+
return !r || n.brand ? !1 : (t = n, e = r[3] || "-1", n.versionAlias ? e = n.versionAlias : n.versionTest && (e = Ea(n.versionTest.toLowerCase(), i) || e), e = qt(e), !0);
|
|
223
231
|
}), {
|
|
224
232
|
preset: t,
|
|
225
233
|
version: e
|
|
@@ -230,18 +238,18 @@ function He(a, i) {
|
|
|
230
238
|
brand: "",
|
|
231
239
|
version: "-1"
|
|
232
240
|
};
|
|
233
|
-
return
|
|
234
|
-
var n =
|
|
241
|
+
return pn(a, function(e) {
|
|
242
|
+
var n = Ui(i, e);
|
|
235
243
|
return n ? (t.brand = e.id, t.version = e.versionAlias || n.version, t.version !== "-1") : !1;
|
|
236
244
|
}), t;
|
|
237
245
|
}
|
|
238
|
-
function
|
|
239
|
-
return
|
|
246
|
+
function Ui(a, i) {
|
|
247
|
+
return $i(a, function(t) {
|
|
240
248
|
var e = t.brand;
|
|
241
|
-
return
|
|
249
|
+
return _n("" + i.test, e.toLowerCase());
|
|
242
250
|
});
|
|
243
251
|
}
|
|
244
|
-
var
|
|
252
|
+
var Kt = [{
|
|
245
253
|
test: "phantomjs",
|
|
246
254
|
id: "phantomjs"
|
|
247
255
|
}, {
|
|
@@ -278,7 +286,7 @@ var qt = [{
|
|
|
278
286
|
test: "safari|iphone|ipad|ipod",
|
|
279
287
|
id: "safari",
|
|
280
288
|
versionTest: "version"
|
|
281
|
-
}],
|
|
289
|
+
}], Yi = [{
|
|
282
290
|
test: "(?=.*applewebkit/(53[0-7]|5[0-2]|[0-4]))(?=.*\\schrome)",
|
|
283
291
|
id: "chrome",
|
|
284
292
|
versionTest: "chrome"
|
|
@@ -290,7 +298,7 @@ var qt = [{
|
|
|
290
298
|
id: "chrome",
|
|
291
299
|
versionAlias: "-1",
|
|
292
300
|
brand: !0
|
|
293
|
-
}],
|
|
301
|
+
}], Zt = [{
|
|
294
302
|
test: "applewebkit",
|
|
295
303
|
id: "webkit",
|
|
296
304
|
versionTest: "applewebkit|safari"
|
|
@@ -304,7 +312,7 @@ var qt = [{
|
|
|
304
312
|
// test webview
|
|
305
313
|
test: "webview",
|
|
306
314
|
id: "webview"
|
|
307
|
-
}],
|
|
315
|
+
}], Xi = [{
|
|
308
316
|
test: "windows phone",
|
|
309
317
|
id: "windows phone"
|
|
310
318
|
}, {
|
|
@@ -334,15 +342,15 @@ var qt = [{
|
|
|
334
342
|
test: "webos|web0s",
|
|
335
343
|
id: "webos"
|
|
336
344
|
}];
|
|
337
|
-
function
|
|
345
|
+
function qi(a) {
|
|
338
346
|
return !!$e(Gi, a).preset;
|
|
339
347
|
}
|
|
340
|
-
function
|
|
341
|
-
var i =
|
|
348
|
+
function Pa(a) {
|
|
349
|
+
var i = Wi(a), t = !!/mobi/g.exec(i), e = {
|
|
342
350
|
name: "unknown",
|
|
343
351
|
version: "-1",
|
|
344
352
|
majorVersion: -1,
|
|
345
|
-
webview:
|
|
353
|
+
webview: qi(i),
|
|
346
354
|
chromium: !1,
|
|
347
355
|
chromiumVersion: "-1",
|
|
348
356
|
webkit: !1,
|
|
@@ -351,9 +359,9 @@ function Ea(a) {
|
|
|
351
359
|
name: "unknown",
|
|
352
360
|
version: "-1",
|
|
353
361
|
majorVersion: -1
|
|
354
|
-
}, r = $e(
|
|
362
|
+
}, r = $e(Kt, i), o = r.preset, s = r.version, l = $e(Xi, i), u = l.preset, f = l.version, d = $e(Yi, i);
|
|
355
363
|
if (e.chromium = !!d.preset, e.chromiumVersion = d.version, !e.chromium) {
|
|
356
|
-
var v = $e(
|
|
364
|
+
var v = $e(Zt, i);
|
|
357
365
|
e.webkit = !!v.preset, e.webkitVersion = v.version;
|
|
358
366
|
}
|
|
359
367
|
return u && (n.name = u.id, n.version = f, n.majorVersion = parseInt(f, 10)), o && (e.name = o.id, e.version = s, e.webview && n.name === "ios" && e.name !== "safari" && (e.webview = !1)), e.majorVersion = parseInt(e.version, 10), {
|
|
@@ -363,7 +371,7 @@ function Ea(a) {
|
|
|
363
371
|
isHints: !1
|
|
364
372
|
};
|
|
365
373
|
}
|
|
366
|
-
function
|
|
374
|
+
function Oa(a) {
|
|
367
375
|
var i = navigator.userAgentData, t = (i.uaList || i.brands).slice(), e = a && a.fullVersionList, n = i.mobile || !1, r = t[0], o = (a && a.platform || i.platform || navigator.platform).toLowerCase(), s = {
|
|
368
376
|
name: r.brand,
|
|
369
377
|
version: r.version,
|
|
@@ -372,71 +380,71 @@ function Pa(a) {
|
|
|
372
380
|
webkitVersion: "-1",
|
|
373
381
|
chromium: !1,
|
|
374
382
|
chromiumVersion: "-1",
|
|
375
|
-
webview: !!He(Gi, t).brand ||
|
|
383
|
+
webview: !!He(Gi, t).brand || qi(Wi())
|
|
376
384
|
}, l = {
|
|
377
385
|
name: "unknown",
|
|
378
386
|
version: "-1",
|
|
379
387
|
majorVersion: -1
|
|
380
388
|
};
|
|
381
|
-
s.webkit = !s.chromium &&
|
|
382
|
-
return
|
|
389
|
+
s.webkit = !s.chromium && pn(Zt, function(p) {
|
|
390
|
+
return Ui(t, p);
|
|
383
391
|
});
|
|
384
|
-
var u = He(
|
|
392
|
+
var u = He(Yi, t);
|
|
385
393
|
if (s.chromium = !!u.brand, s.chromiumVersion = u.version, !s.chromium) {
|
|
386
|
-
var f = He(
|
|
394
|
+
var f = He(Zt, t);
|
|
387
395
|
s.webkit = !!f.brand, s.webkitVersion = f.version;
|
|
388
396
|
}
|
|
389
|
-
var d =
|
|
397
|
+
var d = $i(Xi, function(p) {
|
|
390
398
|
return new RegExp("" + p.test, "g").exec(o);
|
|
391
399
|
});
|
|
392
400
|
if (l.name = d ? d.id : "", a && (l.version = a.platformVersion), e && e.length) {
|
|
393
|
-
var v = He(
|
|
401
|
+
var v = He(Kt, e);
|
|
394
402
|
s.name = v.brand || s.name, s.version = v.version || s.version;
|
|
395
403
|
} else {
|
|
396
|
-
var c = He(
|
|
404
|
+
var c = He(Kt, t);
|
|
397
405
|
s.name = c.brand || s.name, s.version = c.brand && a ? a.uaFullVersion : c.version;
|
|
398
406
|
}
|
|
399
|
-
return s.webkit && (l.name = n ? "ios" : "mac"), l.name === "ios" && s.webview && (s.version = "-1"), l.version =
|
|
407
|
+
return s.webkit && (l.name = n ? "ios" : "mac"), l.name === "ios" && s.webview && (s.version = "-1"), l.version = qt(l.version), s.version = qt(s.version), l.majorVersion = parseInt(l.version, 10), s.majorVersion = parseInt(s.version, 10), {
|
|
400
408
|
browser: s,
|
|
401
409
|
os: l,
|
|
402
410
|
isMobile: n,
|
|
403
411
|
isHints: !0
|
|
404
412
|
};
|
|
405
413
|
}
|
|
406
|
-
function Oa(a) {
|
|
407
|
-
return typeof a > "u" && ya() ? Pa() : Ea(a);
|
|
408
|
-
}
|
|
409
414
|
function xa(a) {
|
|
415
|
+
return typeof a > "u" && ba() ? Oa() : Pa(a);
|
|
416
|
+
}
|
|
417
|
+
function Ta(a) {
|
|
410
418
|
return Object.keys(a);
|
|
411
419
|
}
|
|
412
|
-
var
|
|
413
|
-
return
|
|
420
|
+
var Qt = "__observers__", st = "__computed__", It = 1, Ct = "__CFCS_DETECTED_DEPENDENCIES__", Jt = function(a, i) {
|
|
421
|
+
return Jt = Object.setPrototypeOf || {
|
|
414
422
|
__proto__: []
|
|
415
423
|
} instanceof Array && function(t, e) {
|
|
416
424
|
t.__proto__ = e;
|
|
417
425
|
} || function(t, e) {
|
|
418
426
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
419
|
-
},
|
|
427
|
+
}, Jt(a, i);
|
|
420
428
|
};
|
|
421
|
-
function
|
|
429
|
+
function wa(a, i) {
|
|
422
430
|
if (typeof i != "function" && i !== null) throw new TypeError("Class extends value " + String(i) + " is not a constructor or null");
|
|
423
|
-
|
|
431
|
+
Jt(a, i);
|
|
424
432
|
function t() {
|
|
425
433
|
this.constructor = a;
|
|
426
434
|
}
|
|
427
435
|
a.prototype = i === null ? Object.create(i) : (t.prototype = i.prototype, new t());
|
|
428
436
|
}
|
|
429
|
-
function
|
|
430
|
-
Object[
|
|
431
|
-
var a = Object[
|
|
432
|
-
return a[
|
|
437
|
+
function mn() {
|
|
438
|
+
Object[Ct] = Object[Ct] || {};
|
|
439
|
+
var a = Object[Ct];
|
|
440
|
+
return a[It] = a[It] || [], a[It];
|
|
433
441
|
}
|
|
434
|
-
function
|
|
435
|
-
var a =
|
|
442
|
+
function Ia() {
|
|
443
|
+
var a = mn();
|
|
436
444
|
return a[a.length - 1];
|
|
437
445
|
}
|
|
438
|
-
function
|
|
439
|
-
var i =
|
|
446
|
+
function Ca(a) {
|
|
447
|
+
var i = mn(), t = [], e = {
|
|
440
448
|
host: a,
|
|
441
449
|
observers: t,
|
|
442
450
|
push: function(n) {
|
|
@@ -445,11 +453,11 @@ function Ia(a) {
|
|
|
445
453
|
};
|
|
446
454
|
return i.push(e), e;
|
|
447
455
|
}
|
|
448
|
-
function
|
|
449
|
-
var a =
|
|
456
|
+
function Ra() {
|
|
457
|
+
var a = mn();
|
|
450
458
|
return a.pop();
|
|
451
459
|
}
|
|
452
|
-
var
|
|
460
|
+
var Ki = /* @__PURE__ */ function() {
|
|
453
461
|
function a(t) {
|
|
454
462
|
this._emitter = new we(), this._current = t;
|
|
455
463
|
}
|
|
@@ -459,7 +467,7 @@ var qi = /* @__PURE__ */ function() {
|
|
|
459
467
|
* return the current value.
|
|
460
468
|
*/
|
|
461
469
|
get: function() {
|
|
462
|
-
var t =
|
|
470
|
+
var t = Ia();
|
|
463
471
|
return t?.push(this), this._current;
|
|
464
472
|
},
|
|
465
473
|
set: function(t) {
|
|
@@ -479,8 +487,8 @@ var qi = /* @__PURE__ */ function() {
|
|
|
479
487
|
}, i.valueOf = function() {
|
|
480
488
|
return this.current;
|
|
481
489
|
}, a;
|
|
482
|
-
}(),
|
|
483
|
-
|
|
490
|
+
}(), Sa = /* @__PURE__ */ function(a) {
|
|
491
|
+
wa(i, a);
|
|
484
492
|
function i(e) {
|
|
485
493
|
var n = a.call(this) || this;
|
|
486
494
|
return n._computedCallback = e, n._registered = [], n._onCheckUpdate = function() {
|
|
@@ -491,8 +499,8 @@ var qi = /* @__PURE__ */ function() {
|
|
|
491
499
|
return Object.defineProperty(t, "current", {
|
|
492
500
|
get: function() {
|
|
493
501
|
var e = this;
|
|
494
|
-
|
|
495
|
-
var n = this._computedCallback(), r =
|
|
502
|
+
Ca(this);
|
|
503
|
+
var n = this._computedCallback(), r = Ra();
|
|
496
504
|
return this._registered.forEach(function(o) {
|
|
497
505
|
o.unsubscribe(e._onCheckUpdate);
|
|
498
506
|
}), r.observers.forEach(function(o) {
|
|
@@ -502,8 +510,8 @@ var qi = /* @__PURE__ */ function() {
|
|
|
502
510
|
enumerable: !1,
|
|
503
511
|
configurable: !0
|
|
504
512
|
}), i;
|
|
505
|
-
}(
|
|
506
|
-
function
|
|
513
|
+
}(Ki);
|
|
514
|
+
function fi(a, i, t) {
|
|
507
515
|
t === void 0 && (t = i);
|
|
508
516
|
var e = {
|
|
509
517
|
configurable: !0,
|
|
@@ -521,20 +529,20 @@ function ci(a, i, t) {
|
|
|
521
529
|
}
|
|
522
530
|
});
|
|
523
531
|
}
|
|
524
|
-
function
|
|
532
|
+
function ka() {
|
|
525
533
|
for (var a = [], i = 0; i < arguments.length; i++)
|
|
526
534
|
a[i] = arguments[i];
|
|
527
|
-
return a.length > 1 ?
|
|
528
|
-
return
|
|
535
|
+
return a.length > 1 ? fi(a[0], a[1]) : function(t, e) {
|
|
536
|
+
return fi(t, e, a[0]);
|
|
529
537
|
};
|
|
530
538
|
}
|
|
531
|
-
function
|
|
539
|
+
function Aa(a) {
|
|
532
540
|
a.subscribe = function(i, t) {
|
|
533
541
|
this[i], Ee(this, i).subscribe(t);
|
|
534
542
|
}, a.unsubscribe = function(i, t) {
|
|
535
543
|
var e = this;
|
|
536
544
|
if (!i) {
|
|
537
|
-
|
|
545
|
+
Ta(yn(this)).forEach(function(n) {
|
|
538
546
|
e.unsubscribe(n);
|
|
539
547
|
});
|
|
540
548
|
return;
|
|
@@ -542,30 +550,30 @@ function ka(a) {
|
|
|
542
550
|
i in this && Ee(this, i).unsubscribe(t);
|
|
543
551
|
};
|
|
544
552
|
}
|
|
545
|
-
function Aa(a) {
|
|
546
|
-
var i = a.prototype;
|
|
547
|
-
ka(i);
|
|
548
|
-
}
|
|
549
553
|
function La(a) {
|
|
550
|
-
|
|
554
|
+
var i = a.prototype;
|
|
555
|
+
Aa(i);
|
|
551
556
|
}
|
|
552
557
|
function Da(a) {
|
|
553
|
-
return new
|
|
558
|
+
return new Ki(a);
|
|
554
559
|
}
|
|
555
560
|
function Ma(a) {
|
|
561
|
+
return new Sa(a);
|
|
562
|
+
}
|
|
563
|
+
function za(a) {
|
|
556
564
|
var i = {};
|
|
557
|
-
return Object.defineProperty(a,
|
|
565
|
+
return Object.defineProperty(a, Qt, {
|
|
558
566
|
get: function() {
|
|
559
567
|
return i;
|
|
560
568
|
}
|
|
561
569
|
}), i;
|
|
562
570
|
}
|
|
563
|
-
function
|
|
571
|
+
function yn(a, i) {
|
|
564
572
|
var t, e;
|
|
565
|
-
a[
|
|
566
|
-
var n = a[
|
|
573
|
+
a[Qt] || za(a);
|
|
574
|
+
var n = a[Qt];
|
|
567
575
|
if (!i) {
|
|
568
|
-
var r = (e = (t = a?.constructor) === null || t === void 0 ? void 0 : t.prototype) === null || e === void 0 ? void 0 : e[
|
|
576
|
+
var r = (e = (t = a?.constructor) === null || t === void 0 ? void 0 : t.prototype) === null || e === void 0 ? void 0 : e[st];
|
|
569
577
|
r && r.forEach(function(o) {
|
|
570
578
|
!(o in n) && o in a && a[o];
|
|
571
579
|
});
|
|
@@ -573,21 +581,21 @@ function mn(a, i) {
|
|
|
573
581
|
return n;
|
|
574
582
|
}
|
|
575
583
|
function Ee(a, i, t) {
|
|
576
|
-
var e =
|
|
577
|
-
return e[i] || (e[i] =
|
|
584
|
+
var e = yn(a);
|
|
585
|
+
return e[i] || (e[i] = Da(t)), e[i];
|
|
578
586
|
}
|
|
579
|
-
function
|
|
587
|
+
function Na(a, i, t) {
|
|
580
588
|
var e = t.get;
|
|
581
589
|
function n() {
|
|
582
|
-
var s =
|
|
583
|
-
return i in s || (s[i] =
|
|
590
|
+
var s = yn(this, !0);
|
|
591
|
+
return i in s || (s[i] = Ma(e.bind(this))), Ee(this, i).current;
|
|
584
592
|
}
|
|
585
593
|
var r = {
|
|
586
594
|
configurable: !0,
|
|
587
595
|
get: n
|
|
588
596
|
};
|
|
589
|
-
a[
|
|
590
|
-
var o = a[
|
|
597
|
+
a[st] || (a[st] = []);
|
|
598
|
+
var o = a[st];
|
|
591
599
|
return o.indexOf(i) === -1 && o.push(i), Object.defineProperty(a, i, r), r;
|
|
592
600
|
}
|
|
593
601
|
/*! *****************************************************************************
|
|
@@ -604,32 +612,32 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
604
612
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
605
613
|
and limitations under the License.
|
|
606
614
|
***************************************************************************** */
|
|
607
|
-
var
|
|
608
|
-
return
|
|
615
|
+
var en = function(a, i) {
|
|
616
|
+
return en = Object.setPrototypeOf || {
|
|
609
617
|
__proto__: []
|
|
610
618
|
} instanceof Array && function(t, e) {
|
|
611
619
|
t.__proto__ = e;
|
|
612
620
|
} || function(t, e) {
|
|
613
621
|
for (var n in e) e.hasOwnProperty(n) && (t[n] = e[n]);
|
|
614
|
-
},
|
|
622
|
+
}, en(a, i);
|
|
615
623
|
};
|
|
616
624
|
function Be(a, i) {
|
|
617
|
-
|
|
625
|
+
en(a, i);
|
|
618
626
|
function t() {
|
|
619
627
|
this.constructor = a;
|
|
620
628
|
}
|
|
621
629
|
a.prototype = i === null ? Object.create(i) : (t.prototype = i.prototype, new t());
|
|
622
630
|
}
|
|
623
|
-
var
|
|
624
|
-
return
|
|
631
|
+
var G = function() {
|
|
632
|
+
return G = Object.assign || function(i) {
|
|
625
633
|
for (var t, e = 1, n = arguments.length; e < n; e++) {
|
|
626
634
|
t = arguments[e];
|
|
627
635
|
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (i[r] = t[r]);
|
|
628
636
|
}
|
|
629
637
|
return i;
|
|
630
|
-
},
|
|
638
|
+
}, G.apply(this, arguments);
|
|
631
639
|
};
|
|
632
|
-
function
|
|
640
|
+
function tn(a, i, t, e) {
|
|
633
641
|
var n = arguments.length, r = n < 3 ? i : e === null ? e = Object.getOwnPropertyDescriptor(i, t) : e, o;
|
|
634
642
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(a, i, t, e);
|
|
635
643
|
else for (var s = a.length - 1; s >= 0; s--) (o = a[s]) && (r = (n < 3 ? o(r) : n > 3 ? o(i, t, r) : o(i, t)) || r);
|
|
@@ -641,88 +649,88 @@ typeof window > "u" ? Z = {
|
|
|
641
649
|
userAgent: ""
|
|
642
650
|
}
|
|
643
651
|
} : Z = window;
|
|
644
|
-
var Qe = 1,
|
|
645
|
-
1:
|
|
646
|
-
2:
|
|
647
|
-
3:
|
|
648
|
-
},
|
|
652
|
+
var Qe = 1, Fa = 2, Ba = 4, ze = 6, ja = 8, Va = 16, Ne = 24, Ot = 30, ht = "left", nn = "right", rn = "middle", Zi = {
|
|
653
|
+
1: ht,
|
|
654
|
+
2: rn,
|
|
655
|
+
3: nn
|
|
656
|
+
}, Qi = "any", Ha = "none", $a = "shift", Wa = "ctrl", Ua = "alt", Ya = "meta", Ga = 16, Xa = 30, hi = "ontouchstart" in Z && xa().browser.name === "safari", qa = function() {
|
|
649
657
|
if (typeof document > "u")
|
|
650
658
|
return "";
|
|
651
659
|
for (var a = (document.head || document.getElementsByTagName("head")[0]).style, i = ["transform", "webkitTransform", "msTransform", "mozTransform"], t = 0, e = i.length; t < e; t++)
|
|
652
660
|
if (i[t] in a)
|
|
653
661
|
return i[t];
|
|
654
662
|
return "";
|
|
655
|
-
}(),
|
|
663
|
+
}(), an = {
|
|
656
664
|
"-webkit-user-select": "none",
|
|
657
665
|
"-ms-user-select": "none",
|
|
658
666
|
"-moz-user-select": "none",
|
|
659
667
|
"user-select": "none",
|
|
660
668
|
"-webkit-user-drag": "none"
|
|
661
|
-
},
|
|
669
|
+
}, di = function(a) {
|
|
662
670
|
for (var i = [], t = 0, e = a.length; t < e; t++)
|
|
663
671
|
i.push(a[t]);
|
|
664
672
|
return i;
|
|
665
|
-
},
|
|
673
|
+
}, Ji = function(a, i) {
|
|
666
674
|
i === void 0 && (i = !1);
|
|
667
675
|
var t;
|
|
668
676
|
if (typeof a == "string") {
|
|
669
677
|
var e = a.match(/^<([a-z]+)\s*([^>]*)>/);
|
|
670
678
|
if (e) {
|
|
671
679
|
var n = document.createElement("div");
|
|
672
|
-
n.innerHTML = a, t =
|
|
680
|
+
n.innerHTML = a, t = di(n.childNodes);
|
|
673
681
|
} else
|
|
674
|
-
t =
|
|
682
|
+
t = di(document.querySelectorAll(a));
|
|
675
683
|
i || (t = t.length >= 1 ? t[0] : void 0);
|
|
676
684
|
} else a === Z ? t = a : "value" in a || "current" in a ? t = a.value || a.current : a.nodeName && (a.nodeType === 1 || a.nodeType === 9) ? t = a : "jQuery" in Z && a instanceof jQuery || a.constructor.prototype.jquery ? t = i ? a.toArray() : a.get(0) : Array.isArray(a) && (t = a.map(function(r) {
|
|
677
|
-
return
|
|
685
|
+
return Ji(r);
|
|
678
686
|
}), i || (t = t.length >= 1 ? t[0] : void 0));
|
|
679
687
|
return t;
|
|
680
688
|
}, Re = Z.requestAnimationFrame || Z.webkitRequestAnimationFrame, We = Z.cancelAnimationFrame || Z.webkitCancelAnimationFrame;
|
|
681
689
|
if (Re && !We) {
|
|
682
|
-
var
|
|
690
|
+
var Rt = {}, Ka = Re;
|
|
683
691
|
Re = function(a) {
|
|
684
692
|
var i = function(e) {
|
|
685
|
-
|
|
686
|
-
}, t =
|
|
687
|
-
return
|
|
693
|
+
Rt[t] && a(e);
|
|
694
|
+
}, t = Ka(i);
|
|
695
|
+
return Rt[t] = !0, t;
|
|
688
696
|
}, We = function(a) {
|
|
689
|
-
delete
|
|
697
|
+
delete Rt[a];
|
|
690
698
|
};
|
|
691
699
|
} else Re && We || (Re = function(a) {
|
|
692
700
|
return Z.setTimeout(function() {
|
|
693
701
|
a(Z.performance && Z.performance.now && Z.performance.now() || (/* @__PURE__ */ new Date()).getTime());
|
|
694
702
|
}, 16);
|
|
695
703
|
}, We = Z.clearTimeout);
|
|
696
|
-
var
|
|
704
|
+
var Za = function(a) {
|
|
697
705
|
return Re(a);
|
|
698
|
-
},
|
|
706
|
+
}, Qa = function(a) {
|
|
699
707
|
We(a);
|
|
700
708
|
}, ge = function(a, i) {
|
|
701
709
|
var t = {};
|
|
702
710
|
for (var e in a)
|
|
703
711
|
e && (t[e] = i(a[e], e));
|
|
704
712
|
return t;
|
|
705
|
-
},
|
|
713
|
+
}, er = function(a, i) {
|
|
706
714
|
var t = {};
|
|
707
715
|
for (var e in a)
|
|
708
716
|
e && i(a[e], e) && (t[e] = a[e]);
|
|
709
717
|
return t;
|
|
710
|
-
},
|
|
718
|
+
}, bn = function(a, i) {
|
|
711
719
|
for (var t in a)
|
|
712
720
|
if (t && !i(a[t], t))
|
|
713
721
|
return !1;
|
|
714
722
|
return !0;
|
|
715
723
|
}, Ue = function(a, i) {
|
|
716
|
-
return
|
|
724
|
+
return bn(a, function(t, e) {
|
|
717
725
|
return t === i[e];
|
|
718
726
|
});
|
|
719
|
-
},
|
|
720
|
-
return
|
|
721
|
-
},
|
|
727
|
+
}, St = {}, tr = function(a, i) {
|
|
728
|
+
return St[i] || (St[i] = eo(i)), St[i](a);
|
|
729
|
+
}, vi = function(a, i) {
|
|
722
730
|
return !a || !i ? a : ge(a, function(t, e) {
|
|
723
|
-
return
|
|
731
|
+
return tr(t, typeof i == "number" ? i : i[e]);
|
|
724
732
|
});
|
|
725
|
-
},
|
|
733
|
+
}, lt = function(a) {
|
|
726
734
|
if (!isFinite(a))
|
|
727
735
|
return 0;
|
|
728
736
|
var i = "".concat(a);
|
|
@@ -732,28 +740,28 @@ var Ka = function(a) {
|
|
|
732
740
|
return t;
|
|
733
741
|
}
|
|
734
742
|
return i.indexOf(".") >= 0 ? i.length - i.indexOf(".") - 1 : 0;
|
|
735
|
-
}, Qa = function(a) {
|
|
736
|
-
return 1 / Math.pow(10, a);
|
|
737
743
|
}, Ja = function(a) {
|
|
738
|
-
|
|
744
|
+
return 1 / Math.pow(10, a);
|
|
745
|
+
}, eo = function(a) {
|
|
746
|
+
var i = a < 1 ? Math.pow(10, lt(a)) : 1;
|
|
739
747
|
return function(t) {
|
|
740
748
|
return a === 0 ? 0 : Math.round(Math.round(t / a) * a * i) / i;
|
|
741
749
|
};
|
|
742
|
-
},
|
|
750
|
+
}, to = function(a, i) {
|
|
743
751
|
return Math.atan2(i, a) * 180 / Math.PI;
|
|
744
|
-
},
|
|
752
|
+
}, no = function(a) {
|
|
745
753
|
var i = !0;
|
|
746
|
-
return Object.keys(
|
|
747
|
-
(!a || a[t] !==
|
|
754
|
+
return Object.keys(an).forEach(function(t) {
|
|
755
|
+
(!a || a[t] !== an[t]) && (i = !1);
|
|
748
756
|
}), i;
|
|
749
|
-
},
|
|
750
|
-
return a && i ?
|
|
751
|
-
},
|
|
752
|
-
return t ? !!(i ===
|
|
753
|
-
},
|
|
754
|
-
var e, n = (e = {}, e[Qe] = "auto", e[
|
|
757
|
+
}, io = function(a, i) {
|
|
758
|
+
return a && i ? Ot : a ? ze : i ? Ne : Qe;
|
|
759
|
+
}, nt = function(a, i, t) {
|
|
760
|
+
return t ? !!(i === Ot || i & a && t & a) : !!(i & a);
|
|
761
|
+
}, ro = function(a, i, t) {
|
|
762
|
+
var e, n = (e = {}, e[Qe] = "auto", e[Ot] = "none", e[Ne] = "pan-x", e[ze] = "pan-y", e), r = {};
|
|
755
763
|
if (a && a.style) {
|
|
756
|
-
var o = i.touchAction ? i.touchAction : n[t], s =
|
|
764
|
+
var o = i.touchAction ? i.touchAction : n[t], s = G(G({}, an), {
|
|
757
765
|
"touch-action": a.style["touch-action"] === "none" ? "none" : o
|
|
758
766
|
});
|
|
759
767
|
Object.keys(s).forEach(function(l) {
|
|
@@ -761,11 +769,11 @@ var Ka = function(a) {
|
|
|
761
769
|
});
|
|
762
770
|
}
|
|
763
771
|
return r;
|
|
764
|
-
},
|
|
772
|
+
}, ao = function(a, i) {
|
|
765
773
|
a && a.style && i && Object.keys(i).forEach(function(t) {
|
|
766
774
|
a.style[t] = i[t];
|
|
767
775
|
});
|
|
768
|
-
},
|
|
776
|
+
}, oo = /* @__PURE__ */ function() {
|
|
769
777
|
function a(t) {
|
|
770
778
|
this._axes = t, this.holdingCount = 0;
|
|
771
779
|
}
|
|
@@ -780,7 +788,7 @@ var Ka = function(a) {
|
|
|
780
788
|
}));
|
|
781
789
|
}, i.triggerRelease = function(t) {
|
|
782
790
|
var e = this._getRoundPos(t.destPos, t.depaPos), n = e.roundPos, r = e.roundDepa;
|
|
783
|
-
t.destPos = n, t.depaPos = r, t.setTo = this._createUserControll(t.destPos, t.duration), this._axes.trigger(new F("release",
|
|
791
|
+
t.destPos = n, t.depaPos = r, t.setTo = this._createUserControll(t.destPos, t.duration), this._axes.trigger(new F("release", G(G({}, t), {
|
|
784
792
|
bounceRatio: this._getBounceRatio(n)
|
|
785
793
|
})));
|
|
786
794
|
}, i.triggerChange = function(t, e, n, r) {
|
|
@@ -822,24 +830,24 @@ var Ka = function(a) {
|
|
|
822
830
|
}, i._createUserControll = function(t, e) {
|
|
823
831
|
e === void 0 && (e = 0);
|
|
824
832
|
var n = {
|
|
825
|
-
destPos:
|
|
833
|
+
destPos: G({}, t),
|
|
826
834
|
duration: e
|
|
827
835
|
};
|
|
828
836
|
return function(r, o) {
|
|
829
|
-
return r && (n.destPos =
|
|
837
|
+
return r && (n.destPos = G({}, r)), o !== void 0 && (n.duration = o), n;
|
|
830
838
|
};
|
|
831
839
|
}, i._getRoundPos = function(t, e) {
|
|
832
840
|
var n = this._axes.options.round;
|
|
833
841
|
return {
|
|
834
|
-
roundPos:
|
|
835
|
-
roundDepa:
|
|
842
|
+
roundPos: vi(t, n),
|
|
843
|
+
roundDepa: vi(e, n)
|
|
836
844
|
};
|
|
837
845
|
}, i._getBounceRatio = function(t) {
|
|
838
846
|
return this._axes.axisManager.map(t, function(e, n) {
|
|
839
847
|
return e < n.range[0] && n.bounce[0] !== 0 ? (n.range[0] - e) / n.bounce[0] : e > n.range[1] && n.bounce[1] !== 0 ? (e - n.range[1]) / n.bounce[1] : 0;
|
|
840
848
|
});
|
|
841
|
-
},
|
|
842
|
-
}(),
|
|
849
|
+
}, tn([ka], a.prototype, "holdingCount", void 0), a;
|
|
850
|
+
}(), so = /* @__PURE__ */ function() {
|
|
843
851
|
function a(t) {
|
|
844
852
|
this._options = t, this._prevented = !1;
|
|
845
853
|
}
|
|
@@ -851,22 +859,22 @@ var Ka = function(a) {
|
|
|
851
859
|
}, i.setInterrupt = function(t) {
|
|
852
860
|
this._options.interruptable || (this._prevented = t);
|
|
853
861
|
}, a;
|
|
854
|
-
}(),
|
|
862
|
+
}(), nr = function(a, i, t, e) {
|
|
855
863
|
var n = a, r = [t[0] ? i[0] : e ? i[0] - e[0] : i[0], t[1] ? i[1] : e ? i[1] + e[1] : i[1]];
|
|
856
864
|
return n = Math.max(r[0], n), n = Math.min(r[1], n), n;
|
|
857
|
-
},
|
|
865
|
+
}, ir = function(a, i) {
|
|
858
866
|
return a < i[0] || a > i[1];
|
|
859
|
-
},
|
|
867
|
+
}, lo = function(a, i, t, e) {
|
|
860
868
|
return !e[0] && a === i[0] - t[0] || !e[1] && a === i[1] + t[1];
|
|
861
|
-
},
|
|
869
|
+
}, uo = function(a, i) {
|
|
862
870
|
var t = Math.sqrt(a / i * 2);
|
|
863
871
|
return t < 100 ? 0 : t;
|
|
864
|
-
},
|
|
872
|
+
}, gi = function(a, i, t) {
|
|
865
873
|
return t[1] && a > i[1] || t[0] && a < i[0];
|
|
866
874
|
}, Xe = function(a, i, t) {
|
|
867
875
|
var e = a, n = i[0], r = i[1], o = r - n;
|
|
868
876
|
return t[1] && a > r && (e = (e - r) % o + n), t[0] && a < n && (e = (e - n) % o + r), e;
|
|
869
|
-
},
|
|
877
|
+
}, co = /* @__PURE__ */ function() {
|
|
870
878
|
function a(t) {
|
|
871
879
|
var e = this;
|
|
872
880
|
this._axis = t, this._complementOptions(), this._pos = Object.keys(this._axis).reduce(function(n, r) {
|
|
@@ -883,7 +891,7 @@ var Ka = function(a) {
|
|
|
883
891
|
var e = this;
|
|
884
892
|
return t && Array.isArray(t) ? t.reduce(function(n, r) {
|
|
885
893
|
return r && r in e._pos && (n[r] = e._pos[r]), n;
|
|
886
|
-
}, {}) :
|
|
894
|
+
}, {}) : G(G({}, this._pos), t || {});
|
|
887
895
|
}, i.moveTo = function(t, e) {
|
|
888
896
|
e === void 0 && (e = this._pos);
|
|
889
897
|
var n = ge(this._pos, function(r, o) {
|
|
@@ -892,7 +900,7 @@ var Ka = function(a) {
|
|
|
892
900
|
return this.set(this.map(t, function(r, o) {
|
|
893
901
|
return o ? Xe(r, o.range, o.circular) : 0;
|
|
894
902
|
})), {
|
|
895
|
-
pos:
|
|
903
|
+
pos: G({}, this._pos),
|
|
896
904
|
delta: n
|
|
897
905
|
};
|
|
898
906
|
}, i.set = function(t) {
|
|
@@ -900,12 +908,12 @@ var Ka = function(a) {
|
|
|
900
908
|
e && e in this._pos && (this._pos[e] = t[e]);
|
|
901
909
|
}, i.every = function(t, e) {
|
|
902
910
|
var n = this._axis;
|
|
903
|
-
return
|
|
911
|
+
return bn(t, function(r, o) {
|
|
904
912
|
return e(r, n[o], o);
|
|
905
913
|
});
|
|
906
914
|
}, i.filter = function(t, e) {
|
|
907
915
|
var n = this._axis;
|
|
908
|
-
return
|
|
916
|
+
return er(t, function(r, o) {
|
|
909
917
|
return e(r, n[o], o);
|
|
910
918
|
});
|
|
911
919
|
}, i.map = function(t, e) {
|
|
@@ -915,7 +923,7 @@ var Ka = function(a) {
|
|
|
915
923
|
});
|
|
916
924
|
}, i.isOutside = function(t) {
|
|
917
925
|
return !this.every(t ? this.get(t) : this._pos, function(e, n) {
|
|
918
|
-
return !
|
|
926
|
+
return !ir(e, n.range);
|
|
919
927
|
});
|
|
920
928
|
}, i.getAxisOptions = function(t) {
|
|
921
929
|
return this._axis[t];
|
|
@@ -924,12 +932,12 @@ var Ka = function(a) {
|
|
|
924
932
|
Object.keys(t).forEach(function(n) {
|
|
925
933
|
if (!e._axis[n])
|
|
926
934
|
throw new Error("Axis ".concat(n, " does not exist in Axes instance"));
|
|
927
|
-
e._axis[n] =
|
|
935
|
+
e._axis[n] = G(G({}, e._axis[n]), t[n]);
|
|
928
936
|
}), this._complementOptions();
|
|
929
937
|
}, i._complementOptions = function() {
|
|
930
938
|
var t = this;
|
|
931
939
|
Object.keys(this._axis).forEach(function(e) {
|
|
932
|
-
t._axis[e] =
|
|
940
|
+
t._axis[e] = G({
|
|
933
941
|
range: [0, 100],
|
|
934
942
|
startPos: t._axis[e].range[0],
|
|
935
943
|
bounce: [0, 0],
|
|
@@ -940,9 +948,9 @@ var Ka = function(a) {
|
|
|
940
948
|
});
|
|
941
949
|
});
|
|
942
950
|
}, a;
|
|
943
|
-
}(),
|
|
944
|
-
return !!(!i || i.indexOf(
|
|
945
|
-
},
|
|
951
|
+
}(), fo = "ontouchstart" in Z, ut = "PointerEvent" in Z, ho = "MSPointerEvent" in Z, vo = ut || ho, go = function(a, i) {
|
|
952
|
+
return !!(!i || i.indexOf(Qi) > -1 || i.indexOf(Ha) > -1 && !a.shiftKey && !a.ctrlKey && !a.altKey && !a.metaKey || i.indexOf($a) > -1 && a.shiftKey || i.indexOf(Wa) > -1 && a.ctrlKey || i.indexOf(Ua) > -1 && a.altKey || i.indexOf(Ya) > -1 && a.metaKey);
|
|
953
|
+
}, xt = /* @__PURE__ */ function() {
|
|
946
954
|
function a() {
|
|
947
955
|
var t = this;
|
|
948
956
|
this._stopContextMenu = function(e) {
|
|
@@ -954,7 +962,7 @@ var Ka = function(a) {
|
|
|
954
962
|
var e, n = this.prevEvent, r = this._getCenter(t), o = n ? this._getMovement(t) : {
|
|
955
963
|
x: 0,
|
|
956
964
|
y: 0
|
|
957
|
-
}, s = n ? this._getScale(t) : 1, l = n ?
|
|
965
|
+
}, s = n ? this._getScale(t) : 1, l = n ? to(r.x - n.center.x, r.y - n.center.y) : 0, u = n ? n.deltaX + o.x : o.x, f = n ? n.deltaY + o.y : o.y, d = o.x, v = o.y, c = this._latestInterval, p = Date.now(), m = c ? p - c.timestamp : 0, _ = n ? n.velocityX : 0, h = n ? n.velocityY : 0;
|
|
958
966
|
return (!c || m >= Ga) && (c && (e = [(u - c.deltaX) / m, (f - c.deltaY) / m], _ = e[0], h = e[1]), this._latestInterval = {
|
|
959
967
|
timestamp: p,
|
|
960
968
|
deltaX: u,
|
|
@@ -977,21 +985,21 @@ var Ka = function(a) {
|
|
|
977
985
|
return Math.sqrt(n * n + r * r);
|
|
978
986
|
}, i._getButton = function(t) {
|
|
979
987
|
var e = {
|
|
980
|
-
1:
|
|
981
|
-
2:
|
|
982
|
-
4:
|
|
983
|
-
}, n = this._isTouchEvent(t) ?
|
|
988
|
+
1: ht,
|
|
989
|
+
2: nn,
|
|
990
|
+
4: rn
|
|
991
|
+
}, n = this._isTouchEvent(t) ? ht : e[t.buttons];
|
|
984
992
|
return n || null;
|
|
985
993
|
}, i._isTouchEvent = function(t) {
|
|
986
994
|
return t.type && t.type.indexOf("touch") > -1;
|
|
987
995
|
}, i._isValidButton = function(t, e) {
|
|
988
996
|
return e.indexOf(t) > -1;
|
|
989
997
|
}, i._isValidEvent = function(t, e, n) {
|
|
990
|
-
return (!e ||
|
|
998
|
+
return (!e || go(t, e)) && (!n || this._isValidButton(this._getButton(t), n));
|
|
991
999
|
}, i._preventMouseButton = function(t, e) {
|
|
992
|
-
e ===
|
|
1000
|
+
e === nn ? Z.addEventListener("contextmenu", this._stopContextMenu) : e === rn && t.preventDefault();
|
|
993
1001
|
}, a;
|
|
994
|
-
}(),
|
|
1002
|
+
}(), po = /* @__PURE__ */ function(a) {
|
|
995
1003
|
Be(i, a);
|
|
996
1004
|
function i() {
|
|
997
1005
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
@@ -1007,7 +1015,7 @@ var Ka = function(a) {
|
|
|
1007
1015
|
}, t.onRelease = function() {
|
|
1008
1016
|
this.prevEvent = null;
|
|
1009
1017
|
}, t.getTouches = function(e, n) {
|
|
1010
|
-
return n && this._isValidButton(
|
|
1018
|
+
return n && this._isValidButton(Zi[e.which], n) && this.end.indexOf(e.type) === -1 ? 1 : 0;
|
|
1011
1019
|
}, t._getScale = function() {
|
|
1012
1020
|
return 1;
|
|
1013
1021
|
}, t._getCenter = function(e) {
|
|
@@ -1022,7 +1030,7 @@ var Ka = function(a) {
|
|
|
1022
1030
|
y: e.clientY - n.clientY
|
|
1023
1031
|
};
|
|
1024
1032
|
}, i;
|
|
1025
|
-
}(
|
|
1033
|
+
}(xt), _o = /* @__PURE__ */ function(a) {
|
|
1026
1034
|
Be(i, a);
|
|
1027
1035
|
function i() {
|
|
1028
1036
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
@@ -1056,11 +1064,11 @@ var Ka = function(a) {
|
|
|
1056
1064
|
y: e.touches[0].clientY - n.touches[0].clientY
|
|
1057
1065
|
};
|
|
1058
1066
|
}, i;
|
|
1059
|
-
}(
|
|
1067
|
+
}(xt), mo = /* @__PURE__ */ function(a) {
|
|
1060
1068
|
Be(i, a);
|
|
1061
1069
|
function i() {
|
|
1062
1070
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
1063
|
-
return e.start =
|
|
1071
|
+
return e.start = ut ? ["pointerdown"] : ["MSPointerDown"], e.move = ut ? ["pointermove"] : ["MSPointerMove"], e.end = ut ? ["pointerup", "pointercancel"] : ["MSPointerUp", "MSPointerCancel"], e._firstInputs = [], e._recentInputs = [], e;
|
|
1064
1072
|
}
|
|
1065
1073
|
var t = i.prototype;
|
|
1066
1074
|
return t.onEventStart = function(e, n, r) {
|
|
@@ -1102,7 +1110,7 @@ var Ka = function(a) {
|
|
|
1102
1110
|
return n.pointerId !== e.pointerId;
|
|
1103
1111
|
});
|
|
1104
1112
|
}, i;
|
|
1105
|
-
}(
|
|
1113
|
+
}(xt), yo = /* @__PURE__ */ function(a) {
|
|
1106
1114
|
Be(i, a);
|
|
1107
1115
|
function i() {
|
|
1108
1116
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
@@ -1119,7 +1127,7 @@ var Ka = function(a) {
|
|
|
1119
1127
|
}, t.onRelease = function() {
|
|
1120
1128
|
this.prevEvent = null, this._baseTouches = null;
|
|
1121
1129
|
}, t.getTouches = function(e, n) {
|
|
1122
|
-
return this._isTouchEvent(e) ? e.touches.length : this._isValidButton(
|
|
1130
|
+
return this._isTouchEvent(e) ? e.touches.length : this._isValidButton(Zi[e.which], n) && this.end.indexOf(e.type) === -1 ? 1 : 0;
|
|
1123
1131
|
}, t._getScale = function(e) {
|
|
1124
1132
|
return this._isTouchEvent(e) ? e.touches.length !== 2 || this._baseTouches.length < 2 ? 1 : this._getDistance(e.touches[0], e.touches[1]) / this._getDistance(this._baseTouches[0], this._baseTouches[1]) : this.prevEvent.scale;
|
|
1125
1133
|
}, t._getCenter = function(e) {
|
|
@@ -1150,11 +1158,11 @@ var Ka = function(a) {
|
|
|
1150
1158
|
y: 0
|
|
1151
1159
|
};
|
|
1152
1160
|
}, i;
|
|
1153
|
-
}(
|
|
1161
|
+
}(xt), rr = function(a, i) {
|
|
1154
1162
|
return i.reduce(function(t, e, n) {
|
|
1155
1163
|
return a[n] && (t[a[n]] = e), t;
|
|
1156
1164
|
}, {});
|
|
1157
|
-
},
|
|
1165
|
+
}, bo = function(a) {
|
|
1158
1166
|
a === void 0 && (a = []);
|
|
1159
1167
|
var i = !1, t = !1, e = !1;
|
|
1160
1168
|
return a.forEach(function(n) {
|
|
@@ -1163,19 +1171,19 @@ var Ka = function(a) {
|
|
|
1163
1171
|
t = !0;
|
|
1164
1172
|
break;
|
|
1165
1173
|
case "touch":
|
|
1166
|
-
i =
|
|
1174
|
+
i = fo;
|
|
1167
1175
|
break;
|
|
1168
1176
|
case "pointer":
|
|
1169
|
-
e =
|
|
1177
|
+
e = vo;
|
|
1170
1178
|
}
|
|
1171
|
-
}), e ? new
|
|
1179
|
+
}), e ? new mo() : i && t ? new yo() : i ? new _o() : t ? new po() : null;
|
|
1172
1180
|
};
|
|
1173
|
-
function
|
|
1181
|
+
function pi(a) {
|
|
1174
1182
|
return a.indexOf("touch") > -1 ? {
|
|
1175
1183
|
passive: !1
|
|
1176
1184
|
} : !1;
|
|
1177
1185
|
}
|
|
1178
|
-
var
|
|
1186
|
+
var Eo = /* @__PURE__ */ function() {
|
|
1179
1187
|
function a(t) {
|
|
1180
1188
|
var e = t.options, n = t.interruptManager, r = t.eventManager, o = t.axisManager, s = t.animationManager;
|
|
1181
1189
|
this._isOutside = !1, this._moveDistance = null, this._isStopped = !1, this.options = e, this._interruptManager = n, this._eventManager = r, this._axisManager = o, this._animationManager = s;
|
|
@@ -1204,7 +1212,7 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1204
1212
|
var p = c.circular, m = c.range;
|
|
1205
1213
|
return p && (p[0] || p[1]) ? Xe(v, m, p) : v;
|
|
1206
1214
|
})), this._isOutside && this._axisManager.every(s, function(v, c) {
|
|
1207
|
-
return !
|
|
1215
|
+
return !ir(v, c.range);
|
|
1208
1216
|
}) && (this._isOutside = !1), s = this._atOutside(s), l = this._atOutside(l), (!this.options.nested || !this._isEndofAxis(n, s, l)) && (o.__childrenAxesAlreadyChanged = !0);
|
|
1209
1217
|
var u = {
|
|
1210
1218
|
input: t,
|
|
@@ -1225,12 +1233,12 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1225
1233
|
o.__childrenAxesAlreadyReleased && (n = n.map(function() {
|
|
1226
1234
|
return 0;
|
|
1227
1235
|
}));
|
|
1228
|
-
var s = this._axisManager.get(t.axes), l = this._axisManager.get(), u = this._animationManager.getDisplacement(n), f =
|
|
1229
|
-
return g.circular && (g.circular[0] || g.circular[1]) ? s[y] + h :
|
|
1236
|
+
var s = this._axisManager.get(t.axes), l = this._axisManager.get(), u = this._animationManager.getDisplacement(n), f = rr(t.axes, u), d = this._axisManager.get(this._axisManager.map(f, function(h, g, y) {
|
|
1237
|
+
return g.circular && (g.circular[0] || g.circular[1]) ? s[y] + h : nr(s[y] + h, g.range, g.circular, g.bounce);
|
|
1230
1238
|
}));
|
|
1231
1239
|
o.__childrenAxesAlreadyReleased = !0;
|
|
1232
1240
|
var v = this._animationManager.getDuration(d, s, r);
|
|
1233
|
-
v === 0 && (d =
|
|
1241
|
+
v === 0 && (d = G({}, l));
|
|
1234
1242
|
var c = {
|
|
1235
1243
|
depaPos: l,
|
|
1236
1244
|
destPos: d,
|
|
@@ -1258,12 +1266,12 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1258
1266
|
});
|
|
1259
1267
|
}, i._isEndofAxis = function(t, e, n) {
|
|
1260
1268
|
return this._axisManager.every(e, function(r, o, s) {
|
|
1261
|
-
return t[s] === 0 || e[s] === n[s] &&
|
|
1269
|
+
return t[s] === 0 || e[s] === n[s] && lo(r, o.range, o.bounce, o.circular);
|
|
1262
1270
|
});
|
|
1263
1271
|
}, a;
|
|
1264
|
-
}(),
|
|
1272
|
+
}(), kt = function(a, i, t) {
|
|
1265
1273
|
return Math.max(Math.min(a, t), i);
|
|
1266
|
-
},
|
|
1274
|
+
}, Po = /* @__PURE__ */ function() {
|
|
1267
1275
|
function a(t) {
|
|
1268
1276
|
var e = t.options, n = t.interruptManager, r = t.eventManager, o = t.axisManager;
|
|
1269
1277
|
this._options = e, this.interruptManager = n, this.eventManager = r, this.axisManager = o, this.animationEnd = this.animationEnd.bind(this);
|
|
@@ -1275,13 +1283,13 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1275
1283
|
o = n;
|
|
1276
1284
|
else {
|
|
1277
1285
|
var s = ge(e, function(l, u) {
|
|
1278
|
-
return
|
|
1286
|
+
return uo(Math.abs(l - t[u]), r._options.deceleration);
|
|
1279
1287
|
});
|
|
1280
1288
|
o = Object.keys(s).reduce(function(l, u) {
|
|
1281
1289
|
return Math.max(l, s[u]);
|
|
1282
1290
|
}, -1 / 0);
|
|
1283
1291
|
}
|
|
1284
|
-
return
|
|
1292
|
+
return kt(o, this._options.minimumDuration, this._options.maximumDuration);
|
|
1285
1293
|
}, i.getDisplacement = function(t) {
|
|
1286
1294
|
var e = Math.pow(t.reduce(function(r, o) {
|
|
1287
1295
|
return r + o * o;
|
|
@@ -1294,9 +1302,9 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1294
1302
|
var e = this.axisManager.get(), n = this.axisManager.map(e, function(r, o) {
|
|
1295
1303
|
return Xe(r, o.range, o.circular);
|
|
1296
1304
|
});
|
|
1297
|
-
|
|
1305
|
+
bn(n, function(r, o) {
|
|
1298
1306
|
return e[o] === r;
|
|
1299
|
-
}) || this.eventManager.triggerChange(n, e, t, !!t), this._animateParam = null, this._raf &&
|
|
1307
|
+
}) || this.eventManager.triggerChange(n, e, t, !!t), this._animateParam = null, this._raf && Qa(this._raf), this._raf = null, this.eventManager.triggerAnimationEnd(!!t?.event);
|
|
1300
1308
|
}
|
|
1301
1309
|
}, i.getEventInfo = function() {
|
|
1302
1310
|
return this._animateParam && this._animateParam.input && this._animateParam.inputEvent ? {
|
|
@@ -1312,7 +1320,7 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1312
1320
|
var t = this.getEventInfo();
|
|
1313
1321
|
this._animateParam = null;
|
|
1314
1322
|
var e = this.axisManager.filter(this.axisManager.get(), function(n, r) {
|
|
1315
|
-
return
|
|
1323
|
+
return gi(n, r.range, r.circular);
|
|
1316
1324
|
});
|
|
1317
1325
|
Object.keys(e).length > 0 && this.setTo(this.axisManager.map(e, function(n, r) {
|
|
1318
1326
|
return Xe(n, r.range, r.circular);
|
|
@@ -1321,13 +1329,13 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1321
1329
|
this._animateParam = null, this.interruptManager.setInterrupt(!1), this.eventManager.triggerFinish(t);
|
|
1322
1330
|
}, i.getUserControl = function(t) {
|
|
1323
1331
|
var e = t.setTo();
|
|
1324
|
-
return e.destPos = this.axisManager.get(e.destPos), e.duration =
|
|
1332
|
+
return e.destPos = this.axisManager.get(e.destPos), e.duration = kt(e.duration, this._options.minimumDuration, this._options.maximumDuration), e;
|
|
1325
1333
|
}, i.animateTo = function(t, e, n) {
|
|
1326
1334
|
var r = this;
|
|
1327
1335
|
this.stopAnimation();
|
|
1328
|
-
var o = this._createAnimationParam(t, e, n), s =
|
|
1336
|
+
var o = this._createAnimationParam(t, e, n), s = G({}, o.depaPos), l = this.eventManager.triggerAnimationStart(o), u = this.getUserControl(o);
|
|
1329
1337
|
if (!l && this.axisManager.every(u.destPos, function(d, v) {
|
|
1330
|
-
return
|
|
1338
|
+
return gi(d, v.range, v.circular);
|
|
1331
1339
|
}) && console.warn("You can't stop the 'animation' event when 'circular' is true."), l && !Ue(u.destPos, s)) {
|
|
1332
1340
|
var f = n?.event || null;
|
|
1333
1341
|
this._animateLoop({
|
|
@@ -1348,25 +1356,25 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1348
1356
|
if (Ue(t, r))
|
|
1349
1357
|
return this;
|
|
1350
1358
|
this.interruptManager.setInterrupt(!0);
|
|
1351
|
-
var o =
|
|
1359
|
+
var o = er(t, function(s, l) {
|
|
1352
1360
|
return r[l] !== s;
|
|
1353
1361
|
});
|
|
1354
1362
|
return Object.keys(o).length ? (o = this.axisManager.map(o, function(s, l) {
|
|
1355
1363
|
var u = l.range, f = l.circular;
|
|
1356
|
-
return f && (f[0] || f[1]) ? s :
|
|
1364
|
+
return f && (f[0] || f[1]) ? s : nr(s, u, f);
|
|
1357
1365
|
}), Ue(o, r) ? this : (e > 0 ? this.animateTo(o, e) : (this.stopAnimation(), this.eventManager.triggerChange(o), this.finish(!1)), this)) : this;
|
|
1358
1366
|
}, i.setBy = function(t, e) {
|
|
1359
1367
|
return e === void 0 && (e = 0), this.setTo(ge(this.axisManager.get(Object.keys(t)), function(n, r) {
|
|
1360
1368
|
return n + t[r];
|
|
1361
1369
|
}), e);
|
|
1362
1370
|
}, i.setOptions = function(t) {
|
|
1363
|
-
this._options =
|
|
1371
|
+
this._options = G(G({}, this._options), t);
|
|
1364
1372
|
}, i._createAnimationParam = function(t, e, n) {
|
|
1365
1373
|
var r = this.axisManager.get(), o = t, s = n?.event || null;
|
|
1366
1374
|
return {
|
|
1367
1375
|
depaPos: r,
|
|
1368
1376
|
destPos: o,
|
|
1369
|
-
duration:
|
|
1377
|
+
duration: kt(e, this._options.minimumDuration, this._options.maximumDuration),
|
|
1370
1378
|
delta: this.axisManager.getDelta(r, o),
|
|
1371
1379
|
inputEvent: s,
|
|
1372
1380
|
input: n?.input || null,
|
|
@@ -1376,7 +1384,7 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1376
1384
|
}, i._animateLoop = function(t, e) {
|
|
1377
1385
|
var n = this;
|
|
1378
1386
|
if (t.duration) {
|
|
1379
|
-
this._animateParam =
|
|
1387
|
+
this._animateParam = G(G({}, t), {
|
|
1380
1388
|
startTime: (/* @__PURE__ */ new Date()).getTime()
|
|
1381
1389
|
});
|
|
1382
1390
|
var r = ge(t.destPos, function(l) {
|
|
@@ -1387,7 +1395,7 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1387
1395
|
if (o = u, u.finished) {
|
|
1388
1396
|
l.destPos = n._getFinalPos(l.destPos, r), Ue(l.destPos, n.axisManager.get(Object.keys(l.destPos))) || n.eventManager.triggerChange(l.destPos, u.pos), e();
|
|
1389
1397
|
return;
|
|
1390
|
-
} else f ? n.finish(!1) : n._raf =
|
|
1398
|
+
} else f ? n.finish(!1) : n._raf = Za(s);
|
|
1391
1399
|
};
|
|
1392
1400
|
s();
|
|
1393
1401
|
} else
|
|
@@ -1396,7 +1404,7 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1396
1404
|
var n = this, r = 1e-6, o = ge(t, function(s, l) {
|
|
1397
1405
|
if (s >= e[l] - r && s <= e[l] + r)
|
|
1398
1406
|
return e[l];
|
|
1399
|
-
var u = n._getRoundUnit(s, l), f =
|
|
1407
|
+
var u = n._getRoundUnit(s, l), f = tr(s, u);
|
|
1400
1408
|
return f;
|
|
1401
1409
|
});
|
|
1402
1410
|
return o;
|
|
@@ -1404,11 +1412,11 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1404
1412
|
var n = this._options.round, r = null;
|
|
1405
1413
|
if (!n) {
|
|
1406
1414
|
var o = this.axisManager.getAxisOptions(e);
|
|
1407
|
-
r =
|
|
1415
|
+
r = Ja(Math.max(lt(o.range[0]), lt(o.range[1]), lt(t)));
|
|
1408
1416
|
}
|
|
1409
1417
|
return r || n;
|
|
1410
1418
|
}, a;
|
|
1411
|
-
}(),
|
|
1419
|
+
}(), Oo = /* @__PURE__ */ function(a) {
|
|
1412
1420
|
Be(i, a);
|
|
1413
1421
|
function i() {
|
|
1414
1422
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
@@ -1460,12 +1468,12 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1460
1468
|
}, t._easing = function(e) {
|
|
1461
1469
|
return e > 1 ? 1 : this._options.easing(e);
|
|
1462
1470
|
}, i;
|
|
1463
|
-
}(
|
|
1471
|
+
}(Po), xo = /* @__PURE__ */ function(a) {
|
|
1464
1472
|
Be(i, a);
|
|
1465
1473
|
function i(e, n, r) {
|
|
1466
1474
|
e === void 0 && (e = {}), n === void 0 && (n = {}), r === void 0 && (r = {});
|
|
1467
1475
|
var o = a.call(this) || this;
|
|
1468
|
-
return o.axis = e, o._inputs = [], o.options =
|
|
1476
|
+
return o.axis = e, o._inputs = [], o.options = G({
|
|
1469
1477
|
easing: function(s) {
|
|
1470
1478
|
return 1 - Math.pow(1 - s, 3);
|
|
1471
1479
|
},
|
|
@@ -1477,7 +1485,7 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1477
1485
|
nested: !1
|
|
1478
1486
|
}, n), Object.keys(r).forEach(function(s) {
|
|
1479
1487
|
o.axis[s].startPos = r[s];
|
|
1480
|
-
}), o.interruptManager = new
|
|
1488
|
+
}), o.interruptManager = new so(o.options), o.axisManager = new co(o.axis), o.eventManager = new oo(o), o.animationManager = new Oo(o), o.inputObserver = new Eo(o), o.eventManager.setAnimationManager(o.animationManager), o.eventManager.triggerChange(o.axisManager.get()), o;
|
|
1481
1489
|
}
|
|
1482
1490
|
var t = i.prototype;
|
|
1483
1491
|
return Object.defineProperty(t, "holding", {
|
|
@@ -1523,7 +1531,7 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1523
1531
|
}, t.setBy = function(e, n) {
|
|
1524
1532
|
return n === void 0 && (n = 0), this.animationManager.setBy(e, n), this;
|
|
1525
1533
|
}, t.setOptions = function(e) {
|
|
1526
|
-
return this.options =
|
|
1534
|
+
return this.options = G(G({}, this.options), e), this.animationManager.setOptions(e), this;
|
|
1527
1535
|
}, t.setAxis = function(e) {
|
|
1528
1536
|
return this.axisManager.setAxis(e), this;
|
|
1529
1537
|
}, t.stopAnimation = function() {
|
|
@@ -1534,39 +1542,39 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1534
1542
|
return this.axisManager.isOutside(e);
|
|
1535
1543
|
}, t.destroy = function() {
|
|
1536
1544
|
this.disconnect(), this.eventManager.destroy();
|
|
1537
|
-
}, i.VERSION = "3.9.0", i.TRANSFORM =
|
|
1538
|
-
}(we),
|
|
1545
|
+
}, i.VERSION = "3.9.0", i.TRANSFORM = qa, i.DIRECTION_NONE = Qe, i.DIRECTION_LEFT = Fa, i.DIRECTION_RIGHT = Ba, i.DIRECTION_UP = ja, i.DIRECTION_DOWN = Va, i.DIRECTION_HORIZONTAL = ze, i.DIRECTION_VERTICAL = Ne, i.DIRECTION_ALL = Ot, tn([Na], i.prototype, "holding", null), i = tn([La], i), i;
|
|
1546
|
+
}(we), To = function(a, i) {
|
|
1539
1547
|
if (i < 0 || i > 90)
|
|
1540
1548
|
return Qe;
|
|
1541
1549
|
var t = Math.abs(a);
|
|
1542
1550
|
return t > i && t < 180 - i ? Ne : ze;
|
|
1543
|
-
},
|
|
1551
|
+
}, wo = /* @__PURE__ */ function() {
|
|
1544
1552
|
function a(t, e) {
|
|
1545
1553
|
var n = this;
|
|
1546
1554
|
this.axes = [], this.element = null, this._enabled = !1, this._activeEvent = null, this._atRightEdge = !1, this._rightEdgeTimer = 0, this._dragged = !1, this._isOverThreshold = !1, this._preventClickWhenDragged = function(r) {
|
|
1547
1555
|
n._dragged && (r.preventDefault(), r.stopPropagation()), n._dragged = !1;
|
|
1548
1556
|
}, this._voidFunction = function() {
|
|
1549
|
-
}, this.element =
|
|
1557
|
+
}, this.element = Ji(t), this.options = G({
|
|
1550
1558
|
inputType: ["touch", "mouse", "pointer"],
|
|
1551
|
-
inputKey: [
|
|
1552
|
-
inputButton: [
|
|
1559
|
+
inputKey: [Qi],
|
|
1560
|
+
inputButton: [ht],
|
|
1553
1561
|
scale: [1, 1],
|
|
1554
1562
|
thresholdAngle: 45,
|
|
1555
1563
|
threshold: 0,
|
|
1556
1564
|
preventClickOnDrag: !1,
|
|
1557
1565
|
preventDefaultOnDrag: !1,
|
|
1558
|
-
iOSEdgeSwipeThreshold:
|
|
1566
|
+
iOSEdgeSwipeThreshold: Xa,
|
|
1559
1567
|
releaseOnScroll: !1,
|
|
1560
1568
|
touchAction: null
|
|
1561
1569
|
}, e), this._onPanstart = this._onPanstart.bind(this), this._onPanmove = this._onPanmove.bind(this), this._onPanend = this._onPanend.bind(this);
|
|
1562
1570
|
}
|
|
1563
1571
|
var i = a.prototype;
|
|
1564
1572
|
return i.mapAxes = function(t) {
|
|
1565
|
-
this._direction =
|
|
1573
|
+
this._direction = io(!!t[0], !!t[1]), this.axes = t;
|
|
1566
1574
|
}, i.connect = function(t) {
|
|
1567
|
-
return this._activeEvent && (this._detachElementEvent(), this._detachWindowEvent(this._activeEvent)), this._attachElementEvent(t), this._originalCssProps =
|
|
1575
|
+
return this._activeEvent && (this._detachElementEvent(), this._detachWindowEvent(this._activeEvent)), this._attachElementEvent(t), this._originalCssProps = ro(this.element, this.options, this._direction), this;
|
|
1568
1576
|
}, i.disconnect = function() {
|
|
1569
|
-
return this._detachElementEvent(), this._detachWindowEvent(this._activeEvent),
|
|
1577
|
+
return this._detachElementEvent(), this._detachWindowEvent(this._activeEvent), no(this._originalCssProps) || ao(this.element, this._originalCssProps), this._direction = Qe, this;
|
|
1570
1578
|
}, i.destroy = function() {
|
|
1571
1579
|
this.disconnect(), this.element = null;
|
|
1572
1580
|
}, i.enable = function() {
|
|
@@ -1582,7 +1590,7 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1582
1590
|
var e = this.options, n = e.inputKey, r = e.inputButton, o = e.preventDefaultOnDrag, s = this._activeEvent, l = s.onEventStart(t, n, r);
|
|
1583
1591
|
if (!(!l || !this._enabled || s.getTouches(t, r) > 1) && l.srcEvent.cancelable !== !1) {
|
|
1584
1592
|
var u = this.options.iOSEdgeSwipeThreshold;
|
|
1585
|
-
this._dragged = !1, this._isOverThreshold = !1, this._observer.hold(this, l), this._atRightEdge =
|
|
1593
|
+
this._dragged = !1, this._isOverThreshold = !1, this._observer.hold(this, l), this._atRightEdge = hi && l.center.x > window.innerWidth - u, this._attachWindowEvent(s), o && l.srcEvent.type !== "touchstart" && l.srcEvent.preventDefault(), s.prevEvent = l;
|
|
1586
1594
|
}
|
|
1587
1595
|
}, i._onPanmove = function(t) {
|
|
1588
1596
|
var e = this, n = this.options, r = n.iOSEdgeSwipeThreshold, o = n.preventClickOnDrag, s = n.releaseOnScroll, l = n.inputKey, u = n.inputButton, f = n.threshold, d = n.thresholdAngle, v = this._activeEvent, c = v.onEventMove(t, l, u), p = v.getTouches(t, u);
|
|
@@ -1591,8 +1599,8 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1591
1599
|
return;
|
|
1592
1600
|
}
|
|
1593
1601
|
if (!(!c || !this._enabled || p > 1)) {
|
|
1594
|
-
var m =
|
|
1595
|
-
if (v.prevEvent &&
|
|
1602
|
+
var m = To(c.angle, d), _ = nt(ze, this._direction, m), h = nt(Ne, this._direction, m);
|
|
1603
|
+
if (v.prevEvent && hi) {
|
|
1596
1604
|
var g = c.center.x < 0;
|
|
1597
1605
|
if (g) {
|
|
1598
1606
|
this.release();
|
|
@@ -1608,21 +1616,21 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1608
1616
|
var E = this._getDistance([c.deltaX, c.deltaY], [_, h]), x = this._getOffset([c.offsetX, c.offsetY], [_, h]), w = x.some(function(R) {
|
|
1609
1617
|
return R !== 0;
|
|
1610
1618
|
});
|
|
1611
|
-
w && (c.srcEvent.cancelable !== !1 && c.srcEvent.preventDefault(), c.srcEvent.stopPropagation()), c.preventSystemEvent = w, w && (this._isOverThreshold || E >= f) && (this._dragged = o, this._isOverThreshold = !0, this._observer.change(this, c,
|
|
1619
|
+
w && (c.srcEvent.cancelable !== !1 && c.srcEvent.preventDefault(), c.srcEvent.stopPropagation()), c.preventSystemEvent = w, w && (this._isOverThreshold || E >= f) && (this._dragged = o, this._isOverThreshold = !0, this._observer.change(this, c, rr(this.axes, x))), v.prevEvent = c;
|
|
1612
1620
|
}
|
|
1613
1621
|
}, i._onPanend = function(t) {
|
|
1614
1622
|
var e = this.options.inputButton, n = this._activeEvent;
|
|
1615
1623
|
if (n.onEventEnd(t), !(!this._enabled || n.getTouches(t, e) !== 0)) {
|
|
1616
1624
|
this._detachWindowEvent(n), clearTimeout(this._rightEdgeTimer);
|
|
1617
|
-
var r = n.prevEvent, o = this._isOverThreshold ? this._getOffset([Math.abs(r.velocityX) * (r.offsetX < 0 ? -1 : 1), Math.abs(r.velocityY) * (r.offsetY < 0 ? -1 : 1)], [
|
|
1625
|
+
var r = n.prevEvent, o = this._isOverThreshold ? this._getOffset([Math.abs(r.velocityX) * (r.offsetX < 0 ? -1 : 1), Math.abs(r.velocityY) * (r.offsetY < 0 ? -1 : 1)], [nt(ze, this._direction), nt(Ne, this._direction)]) : [0, 0];
|
|
1618
1626
|
n.onRelease(), this._observer.release(this, r, o);
|
|
1619
1627
|
}
|
|
1620
1628
|
}, i._attachWindowEvent = function(t) {
|
|
1621
1629
|
var e = this;
|
|
1622
1630
|
t?.move.forEach(function(n) {
|
|
1623
|
-
window.addEventListener(n, e._onPanmove,
|
|
1631
|
+
window.addEventListener(n, e._onPanmove, pi(n));
|
|
1624
1632
|
}), t?.end.forEach(function(n) {
|
|
1625
|
-
window.addEventListener(n, e._onPanend,
|
|
1633
|
+
window.addEventListener(n, e._onPanend, pi(n));
|
|
1626
1634
|
});
|
|
1627
1635
|
}, i._detachWindowEvent = function(t) {
|
|
1628
1636
|
var e = this;
|
|
@@ -1637,7 +1645,7 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1637
1645
|
}, i._getDistance = function(t, e) {
|
|
1638
1646
|
return Math.sqrt(Number(e[0]) * Math.pow(t[0], 2) + Number(e[1]) * Math.pow(t[1], 2));
|
|
1639
1647
|
}, i._attachElementEvent = function(t) {
|
|
1640
|
-
var e = this, n =
|
|
1648
|
+
var e = this, n = bo(this.options.inputType), r = this.element;
|
|
1641
1649
|
if (n) {
|
|
1642
1650
|
if (!r)
|
|
1643
1651
|
throw new Error("Element to connect input does not exist.");
|
|
@@ -1656,19 +1664,19 @@ var bo = /* @__PURE__ */ function() {
|
|
|
1656
1664
|
})), this._enabled = !1, this._observer = null;
|
|
1657
1665
|
}, a;
|
|
1658
1666
|
}();
|
|
1659
|
-
const
|
|
1660
|
-
var
|
|
1661
|
-
return
|
|
1667
|
+
const Io = xo;
|
|
1668
|
+
var on = function(a, i) {
|
|
1669
|
+
return on = Object.setPrototypeOf || {
|
|
1662
1670
|
__proto__: []
|
|
1663
1671
|
} instanceof Array && function(t, e) {
|
|
1664
1672
|
t.__proto__ = e;
|
|
1665
1673
|
} || function(t, e) {
|
|
1666
1674
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
1667
|
-
},
|
|
1675
|
+
}, on(a, i);
|
|
1668
1676
|
};
|
|
1669
1677
|
function je(a, i) {
|
|
1670
1678
|
if (typeof i != "function" && i !== null) throw new TypeError("Class extends value " + String(i) + " is not a constructor or null");
|
|
1671
|
-
|
|
1679
|
+
on(a, i);
|
|
1672
1680
|
function t() {
|
|
1673
1681
|
this.constructor = a;
|
|
1674
1682
|
}
|
|
@@ -1683,82 +1691,82 @@ var Fe = function() {
|
|
|
1683
1691
|
return i;
|
|
1684
1692
|
}, Fe.apply(this, arguments);
|
|
1685
1693
|
};
|
|
1686
|
-
function
|
|
1694
|
+
function Co() {
|
|
1687
1695
|
for (var a = 0, i = 0, t = arguments.length; i < t; i++) a += arguments[i].length;
|
|
1688
1696
|
for (var e = Array(a), n = 0, i = 0; i < t; i++) for (var r = arguments[i], o = 0, s = r.length; o < s; o++, n++) e[n] = r[o];
|
|
1689
1697
|
return e;
|
|
1690
1698
|
}
|
|
1691
|
-
var
|
|
1692
|
-
function
|
|
1699
|
+
var En = typeof window < "u", Ro = En ? window.navigator.userAgent : "", So = En ? "getComputedStyle" in window : !1, ko = /MSIE|Trident|Windows Phone|Edge/.test(Ro), Ao = En ? "addEventListener" in document : !1, sn = "width", Ye = "height";
|
|
1700
|
+
function ct(a, i) {
|
|
1693
1701
|
return a.getAttribute(i) || "";
|
|
1694
1702
|
}
|
|
1695
|
-
function
|
|
1703
|
+
function dt(a) {
|
|
1696
1704
|
return [].slice.call(a);
|
|
1697
1705
|
}
|
|
1698
|
-
function
|
|
1706
|
+
function Lo(a, i) {
|
|
1699
1707
|
return i === void 0 && (i = "data-"), !!a.getAttribute(i + "width");
|
|
1700
1708
|
}
|
|
1701
|
-
function
|
|
1709
|
+
function ar(a, i) {
|
|
1702
1710
|
return i === void 0 && (i = "data-"), "loading" in a && a.getAttribute("loading") === "lazy" || !!a.getAttribute(i + "lazy");
|
|
1703
1711
|
}
|
|
1704
|
-
function
|
|
1712
|
+
function Do(a, i) {
|
|
1705
1713
|
return i === void 0 && (i = "data-"), !!a.getAttribute(i + "skip");
|
|
1706
1714
|
}
|
|
1707
|
-
function ar(a, i, t) {
|
|
1708
|
-
ko ? a.addEventListener(i, t, !1) : a.attachEvent ? a.attachEvent("on" + i, t) : a["on" + i] = t;
|
|
1709
|
-
}
|
|
1710
1715
|
function or(a, i, t) {
|
|
1711
|
-
|
|
1716
|
+
Ao ? a.addEventListener(i, t, !1) : a.attachEvent ? a.attachEvent("on" + i, t) : a["on" + i] = t;
|
|
1712
1717
|
}
|
|
1713
|
-
function
|
|
1714
|
-
|
|
1718
|
+
function sr(a, i, t) {
|
|
1719
|
+
a.removeEventListener ? a.removeEventListener(i, t, !1) : a.detachEvent ? a.detachEvent("on" + i, t) : a["on" + i] = null;
|
|
1715
1720
|
}
|
|
1716
1721
|
function Mo(a) {
|
|
1717
|
-
return
|
|
1722
|
+
return lr(a, "Width");
|
|
1718
1723
|
}
|
|
1719
1724
|
function zo(a) {
|
|
1720
|
-
return (
|
|
1725
|
+
return lr(a, "Height");
|
|
1721
1726
|
}
|
|
1722
|
-
function
|
|
1727
|
+
function No(a) {
|
|
1728
|
+
return (So ? window.getComputedStyle(a) : a.currentStyle) || {};
|
|
1729
|
+
}
|
|
1730
|
+
function lr(a, i) {
|
|
1723
1731
|
var t = a["client" + i] || a["offset" + i];
|
|
1724
|
-
return parseFloat(t ||
|
|
1732
|
+
return parseFloat(t || No(a)[i.toLowerCase()]) || 0;
|
|
1725
1733
|
}
|
|
1726
|
-
function
|
|
1727
|
-
var e =
|
|
1734
|
+
function Fo(a, i, t) {
|
|
1735
|
+
var e = dt(a.querySelectorAll(Co(["[" + t + "skip] [" + t + "width]"], i.map(function(n) {
|
|
1728
1736
|
return ["[" + t + "skip] " + n, n + "[" + t + "skip]", "[" + t + "width] " + n].join(", ");
|
|
1729
1737
|
})).join(", ")));
|
|
1730
|
-
return
|
|
1738
|
+
return dt(a.querySelectorAll("[" + t + "width], " + i.join(", "))).filter(function(n) {
|
|
1731
1739
|
return e.indexOf(n) === -1;
|
|
1732
1740
|
});
|
|
1733
1741
|
}
|
|
1734
1742
|
var Ae = [];
|
|
1735
|
-
function
|
|
1736
|
-
!Ae.length &&
|
|
1743
|
+
function ur(a, i) {
|
|
1744
|
+
!Ae.length && or(window, "resize", fr), a.__PREFIX__ = i, Ae.push(a), cr(a);
|
|
1737
1745
|
}
|
|
1738
|
-
function
|
|
1746
|
+
function Bo(a, i) {
|
|
1739
1747
|
var t = Ae.indexOf(a);
|
|
1740
1748
|
if (!(t < 0)) {
|
|
1741
|
-
var e =
|
|
1742
|
-
delete a.__PREFIX__, a.style[e ===
|
|
1749
|
+
var e = ct(a, i + "fixed");
|
|
1750
|
+
delete a.__PREFIX__, a.style[e === Ye ? sn : Ye] = "", Ae.splice(t, 1), !Ae.length && sr(window, "resize", fr);
|
|
1743
1751
|
}
|
|
1744
1752
|
}
|
|
1745
|
-
function
|
|
1753
|
+
function cr(a, i) {
|
|
1746
1754
|
i === void 0 && (i = "data-");
|
|
1747
|
-
var t = a.__PREFIX__ || i, e = parseInt(
|
|
1748
|
-
if (r ===
|
|
1749
|
-
var o =
|
|
1750
|
-
a.style[
|
|
1755
|
+
var t = a.__PREFIX__ || i, e = parseInt(ct(a, "" + t + sn), 10) || 0, n = parseInt(ct(a, "" + t + Ye), 10) || 0, r = ct(a, t + "fixed");
|
|
1756
|
+
if (r === Ye) {
|
|
1757
|
+
var o = zo(a) || n;
|
|
1758
|
+
a.style[sn] = e / n * o + "px";
|
|
1751
1759
|
} else {
|
|
1752
|
-
var o =
|
|
1753
|
-
a.style[
|
|
1760
|
+
var o = Mo(a) || e;
|
|
1761
|
+
a.style[Ye] = n / e * o + "px";
|
|
1754
1762
|
}
|
|
1755
1763
|
}
|
|
1756
|
-
function
|
|
1764
|
+
function fr() {
|
|
1757
1765
|
Ae.forEach(function(a) {
|
|
1758
|
-
|
|
1766
|
+
cr(a);
|
|
1759
1767
|
});
|
|
1760
1768
|
}
|
|
1761
|
-
var
|
|
1769
|
+
var Pn = /* @__PURE__ */ function(a) {
|
|
1762
1770
|
je(i, a);
|
|
1763
1771
|
function i(e, n) {
|
|
1764
1772
|
n === void 0 && (n = {});
|
|
@@ -1772,27 +1780,27 @@ var En = /* @__PURE__ */ function(a) {
|
|
|
1772
1780
|
prefix: "data-"
|
|
1773
1781
|
}, n), r.element = e;
|
|
1774
1782
|
var o = r.options.prefix;
|
|
1775
|
-
return r.hasDataSize =
|
|
1783
|
+
return r.hasDataSize = Lo(e, o), r.isSkip = Do(e, o), r.hasLoading = ar(e, o), r;
|
|
1776
1784
|
}
|
|
1777
1785
|
var t = i.prototype;
|
|
1778
1786
|
return t.check = function() {
|
|
1779
|
-
return this.isSkip || !this.checkElement() ? (this.onAlreadyReady(!0), !1) : (this.hasDataSize &&
|
|
1787
|
+
return this.isSkip || !this.checkElement() ? (this.onAlreadyReady(!0), !1) : (this.hasDataSize && ur(this.element, this.options.prefix), (this.hasDataSize || this.hasLoading) && this.onAlreadyPreReady(), !0);
|
|
1780
1788
|
}, t.addEvents = function() {
|
|
1781
1789
|
var e = this, n = this.element;
|
|
1782
1790
|
this.constructor.EVENTS.forEach(function(r) {
|
|
1783
|
-
|
|
1791
|
+
or(n, r, e.onCheck);
|
|
1784
1792
|
});
|
|
1785
1793
|
}, t.clear = function() {
|
|
1786
1794
|
var e = this, n = this.element;
|
|
1787
1795
|
this.constructor.EVENTS.forEach(function(r) {
|
|
1788
|
-
|
|
1796
|
+
sr(n, r, e.onCheck);
|
|
1789
1797
|
}), this.removeAutoSizer();
|
|
1790
1798
|
}, t.destroy = function() {
|
|
1791
1799
|
this.clear(), this.off();
|
|
1792
1800
|
}, t.removeAutoSizer = function() {
|
|
1793
1801
|
if (this.hasDataSize) {
|
|
1794
1802
|
var e = this.options.prefix;
|
|
1795
|
-
|
|
1803
|
+
Bo(this.element, e);
|
|
1796
1804
|
}
|
|
1797
1805
|
}, t.onError = function(e) {
|
|
1798
1806
|
this.trigger("error", {
|
|
@@ -1828,7 +1836,7 @@ var En = /* @__PURE__ */ function(a) {
|
|
|
1828
1836
|
n.onReady(e);
|
|
1829
1837
|
});
|
|
1830
1838
|
}, i.EVENTS = [], i;
|
|
1831
|
-
}(we),
|
|
1839
|
+
}(we), jo = /* @__PURE__ */ function(a) {
|
|
1832
1840
|
je(i, a);
|
|
1833
1841
|
function i() {
|
|
1834
1842
|
return a !== null && a.apply(this, arguments) || this;
|
|
@@ -1837,7 +1845,7 @@ var En = /* @__PURE__ */ function(a) {
|
|
|
1837
1845
|
return t.setHasLoading = function(e) {
|
|
1838
1846
|
this.hasLoading = e;
|
|
1839
1847
|
}, t.check = function() {
|
|
1840
|
-
return this.isSkip ? (this.onAlreadyReady(!0), !1) : (this.hasDataSize ? (
|
|
1848
|
+
return this.isSkip ? (this.onAlreadyReady(!0), !1) : (this.hasDataSize ? (ur(this.element, this.options.prefix), this.onAlreadyPreReady()) : this.trigger("requestChildren"), !0);
|
|
1841
1849
|
}, t.checkElement = function() {
|
|
1842
1850
|
return !0;
|
|
1843
1851
|
}, t.destroy = function() {
|
|
@@ -1845,7 +1853,7 @@ var En = /* @__PURE__ */ function(a) {
|
|
|
1845
1853
|
}, t.onAlreadyPreReady = function() {
|
|
1846
1854
|
a.prototype.onAlreadyPreReady.call(this), this.trigger("reqeustReadyChildren");
|
|
1847
1855
|
}, i.EVENTS = [], i;
|
|
1848
|
-
}(
|
|
1856
|
+
}(Pn), Vo = /* @__PURE__ */ function(a) {
|
|
1849
1857
|
je(i, a);
|
|
1850
1858
|
function i(e) {
|
|
1851
1859
|
e === void 0 && (e = {});
|
|
@@ -1858,7 +1866,7 @@ var En = /* @__PURE__ */ function(a) {
|
|
|
1858
1866
|
var t = i.prototype;
|
|
1859
1867
|
return t.check = function(e) {
|
|
1860
1868
|
var n = this, r = this.options.prefix;
|
|
1861
|
-
this.clear(), this.elementInfos =
|
|
1869
|
+
this.clear(), this.elementInfos = dt(e).map(function(s, l) {
|
|
1862
1870
|
var u = n.getLoader(s, {
|
|
1863
1871
|
prefix: r
|
|
1864
1872
|
});
|
|
@@ -1910,9 +1918,9 @@ var En = /* @__PURE__ */ function(a) {
|
|
|
1910
1918
|
var r = this, o = e.tagName.toLowerCase(), s = this.options.loaders, l = n.prefix, u = Object.keys(s);
|
|
1911
1919
|
if (s[o])
|
|
1912
1920
|
return new s[o](e, n);
|
|
1913
|
-
var f = new
|
|
1921
|
+
var f = new jo(e, n), d = dt(e.querySelectorAll(u.join(", ")));
|
|
1914
1922
|
f.setHasLoading(d.some(function(p) {
|
|
1915
|
-
return
|
|
1923
|
+
return ar(p, l);
|
|
1916
1924
|
}));
|
|
1917
1925
|
var v = !1, c = this.clone().on("error", function(p) {
|
|
1918
1926
|
f.onError(p.target);
|
|
@@ -1920,7 +1928,7 @@ var En = /* @__PURE__ */ function(a) {
|
|
|
1920
1928
|
f.onReady(v);
|
|
1921
1929
|
});
|
|
1922
1930
|
return f.on("requestChildren", function() {
|
|
1923
|
-
var p =
|
|
1931
|
+
var p = Fo(e, u, r.options.prefix);
|
|
1924
1932
|
c.check(p).on("preReady", function(m) {
|
|
1925
1933
|
v = m.isReady, v || f.onPreReady();
|
|
1926
1934
|
});
|
|
@@ -1996,7 +2004,7 @@ var En = /* @__PURE__ */ function(a) {
|
|
|
1996
2004
|
return e.hasLoading;
|
|
1997
2005
|
});
|
|
1998
2006
|
}, i;
|
|
1999
|
-
}(we),
|
|
2007
|
+
}(we), Ho = /* @__PURE__ */ function(a) {
|
|
2000
2008
|
je(i, a);
|
|
2001
2009
|
function i() {
|
|
2002
2010
|
return a !== null && a.apply(this, arguments) || this;
|
|
@@ -2009,9 +2017,9 @@ var En = /* @__PURE__ */ function(a) {
|
|
|
2009
2017
|
return e.naturalWidth || this.onAlreadyError(e), !1;
|
|
2010
2018
|
this.onAlreadyPreReady();
|
|
2011
2019
|
}
|
|
2012
|
-
return this.addEvents(),
|
|
2020
|
+
return this.addEvents(), ko && e.setAttribute("src", n), !0;
|
|
2013
2021
|
}, i.EVENTS = ["load", "error"], i;
|
|
2014
|
-
}(
|
|
2022
|
+
}(Pn), $o = /* @__PURE__ */ function(a) {
|
|
2015
2023
|
je(i, a);
|
|
2016
2024
|
function i() {
|
|
2017
2025
|
return a !== null && a.apply(this, arguments) || this;
|
|
@@ -2021,29 +2029,29 @@ var En = /* @__PURE__ */ function(a) {
|
|
|
2021
2029
|
var e = this.element;
|
|
2022
2030
|
return e.readyState >= 1 ? !1 : e.error ? (this.onAlreadyError(e), !1) : (this.addEvents(), !0);
|
|
2023
2031
|
}, i.EVENTS = ["loadedmetadata", "error"], i;
|
|
2024
|
-
}(
|
|
2032
|
+
}(Pn), Wo = /* @__PURE__ */ function(a) {
|
|
2025
2033
|
je(i, a);
|
|
2026
2034
|
function i(t) {
|
|
2027
2035
|
return t === void 0 && (t = {}), a.call(this, Fe({
|
|
2028
2036
|
loaders: {
|
|
2029
|
-
img:
|
|
2030
|
-
video:
|
|
2037
|
+
img: Ho,
|
|
2038
|
+
video: $o
|
|
2031
2039
|
}
|
|
2032
2040
|
}, t)) || this;
|
|
2033
2041
|
}
|
|
2034
2042
|
return i;
|
|
2035
|
-
}(
|
|
2036
|
-
return
|
|
2043
|
+
}(Vo), ln = function(a, i) {
|
|
2044
|
+
return ln = Object.setPrototypeOf || {
|
|
2037
2045
|
__proto__: []
|
|
2038
2046
|
} instanceof Array && function(t, e) {
|
|
2039
2047
|
t.__proto__ = e;
|
|
2040
2048
|
} || function(t, e) {
|
|
2041
2049
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
2042
|
-
},
|
|
2050
|
+
}, ln(a, i);
|
|
2043
2051
|
};
|
|
2044
2052
|
function te(a, i) {
|
|
2045
2053
|
if (typeof i != "function" && i !== null) throw new TypeError("Class extends value " + String(i) + " is not a constructor or null");
|
|
2046
|
-
|
|
2054
|
+
ln(a, i);
|
|
2047
2055
|
function t() {
|
|
2048
2056
|
this.constructor = a;
|
|
2049
2057
|
}
|
|
@@ -2160,7 +2168,7 @@ function De(a, i) {
|
|
|
2160
2168
|
};
|
|
2161
2169
|
}
|
|
2162
2170
|
}
|
|
2163
|
-
function
|
|
2171
|
+
function Tt(a) {
|
|
2164
2172
|
var i = typeof Symbol == "function" && Symbol.iterator, t = i && a[i], e = 0;
|
|
2165
2173
|
if (t) return t.call(a);
|
|
2166
2174
|
if (a && typeof a.length == "number") return {
|
|
@@ -2173,7 +2181,7 @@ function xt(a) {
|
|
|
2173
2181
|
};
|
|
2174
2182
|
throw new TypeError(i ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
2175
2183
|
}
|
|
2176
|
-
function
|
|
2184
|
+
function On(a, i) {
|
|
2177
2185
|
var t = typeof Symbol == "function" && a[Symbol.iterator];
|
|
2178
2186
|
if (!t) return a;
|
|
2179
2187
|
var e = t.call(a), n, r = [], o;
|
|
@@ -2193,7 +2201,7 @@ function Pn(a, i) {
|
|
|
2193
2201
|
return r;
|
|
2194
2202
|
}
|
|
2195
2203
|
function K() {
|
|
2196
|
-
for (var a = [], i = 0; i < arguments.length; i++) a = a.concat(
|
|
2204
|
+
for (var a = [], i = 0; i < arguments.length; i++) a = a.concat(On(arguments[i]));
|
|
2197
2205
|
return a;
|
|
2198
2206
|
}
|
|
2199
2207
|
var H = {
|
|
@@ -2272,17 +2280,17 @@ var H = {
|
|
|
2272
2280
|
SNAP: "snap",
|
|
2273
2281
|
FREE_SCROLL: "freeScroll",
|
|
2274
2282
|
STRICT: "strict"
|
|
2275
|
-
},
|
|
2283
|
+
}, Uo = {
|
|
2276
2284
|
VERTICAL: "vertical",
|
|
2277
2285
|
HIDDEN: "flicking-hidden",
|
|
2278
2286
|
DEFAULT_VIRTUAL: "flicking-panel"
|
|
2279
|
-
},
|
|
2287
|
+
}, hr = {
|
|
2280
2288
|
LINEAR: "linear",
|
|
2281
2289
|
BOUND: "bound"
|
|
2282
2290
|
}, Se = {
|
|
2283
2291
|
LTR: "ltr",
|
|
2284
2292
|
RTL: "rtl"
|
|
2285
|
-
},
|
|
2293
|
+
}, Yo = function(a, i) {
|
|
2286
2294
|
var t = null;
|
|
2287
2295
|
if (Te(a)) {
|
|
2288
2296
|
var e = i || document, n = e.querySelector(a);
|
|
@@ -2302,9 +2310,9 @@ var H = {
|
|
|
2302
2310
|
if (!a)
|
|
2303
2311
|
throw new j($.NOT_ATTACHED_TO_FLICKING, H.NOT_ATTACHED_TO_FLICKING);
|
|
2304
2312
|
return a;
|
|
2305
|
-
},
|
|
2313
|
+
}, xn = function(a) {
|
|
2306
2314
|
return [].slice.call(a);
|
|
2307
|
-
},
|
|
2315
|
+
}, Tn = function(a, i) {
|
|
2308
2316
|
var t;
|
|
2309
2317
|
if (Te(a))
|
|
2310
2318
|
switch (a) {
|
|
@@ -2318,20 +2326,20 @@ var H = {
|
|
|
2318
2326
|
t = i;
|
|
2319
2327
|
break;
|
|
2320
2328
|
default:
|
|
2321
|
-
if (t =
|
|
2329
|
+
if (t = un(a, i), t == null)
|
|
2322
2330
|
throw new j($.WRONG_OPTION("align", a), H.WRONG_OPTION);
|
|
2323
2331
|
}
|
|
2324
2332
|
else
|
|
2325
2333
|
t = a;
|
|
2326
2334
|
return t;
|
|
2327
|
-
},
|
|
2335
|
+
}, Xo = function(a, i) {
|
|
2328
2336
|
var t;
|
|
2329
2337
|
if (Array.isArray(a))
|
|
2330
2338
|
t = a.map(function(n) {
|
|
2331
|
-
return
|
|
2339
|
+
return un(n, i);
|
|
2332
2340
|
});
|
|
2333
2341
|
else {
|
|
2334
|
-
var e =
|
|
2342
|
+
var e = un(a, i);
|
|
2335
2343
|
t = [e, e];
|
|
2336
2344
|
}
|
|
2337
2345
|
return t.map(function(n) {
|
|
@@ -2339,10 +2347,10 @@ var H = {
|
|
|
2339
2347
|
throw new j($.WRONG_OPTION("bounce", a), H.WRONG_OPTION);
|
|
2340
2348
|
return n;
|
|
2341
2349
|
});
|
|
2342
|
-
},
|
|
2343
|
-
var t =
|
|
2350
|
+
}, un = function(a, i) {
|
|
2351
|
+
var t = dr(a);
|
|
2344
2352
|
return t == null ? null : t.percentage * i + t.absolute;
|
|
2345
|
-
},
|
|
2353
|
+
}, dr = function(a) {
|
|
2346
2354
|
var i = /(?:(\+|\-)\s*)?(\d+(?:\.\d+)?(%|px)?)/g;
|
|
2347
2355
|
if (typeof a == "number")
|
|
2348
2356
|
return {
|
|
@@ -2360,29 +2368,29 @@ var H = {
|
|
|
2360
2368
|
s === "%" ? t.percentage += u * (l / 100) : t.absolute += u * l, ++e, n = i.exec(a);
|
|
2361
2369
|
}
|
|
2362
2370
|
return e === 0 ? null : t;
|
|
2363
|
-
},
|
|
2371
|
+
}, vt = function(a) {
|
|
2364
2372
|
return typeof a == "object" ? a.panel : a;
|
|
2365
2373
|
}, xe = function(a, i) {
|
|
2366
2374
|
return a === i ? N.NONE : a < i ? N.NEXT : N.PREV;
|
|
2367
|
-
},
|
|
2375
|
+
}, _i = function(a) {
|
|
2368
2376
|
Array.isArray(a) || (a = [a]);
|
|
2369
2377
|
var i = [];
|
|
2370
2378
|
return a.forEach(function(t) {
|
|
2371
2379
|
if (Te(t)) {
|
|
2372
2380
|
var e = document.createElement("div");
|
|
2373
|
-
for (e.innerHTML = t, i.push.apply(i, K(
|
|
2381
|
+
for (e.innerHTML = t, i.push.apply(i, K(xn(e.children))); e.firstChild; )
|
|
2374
2382
|
e.removeChild(e.firstChild);
|
|
2375
2383
|
} else if (t && t.nodeType === Node.ELEMENT_NODE)
|
|
2376
2384
|
i.push(t);
|
|
2377
2385
|
else
|
|
2378
2386
|
throw new j($.WRONG_TYPE(t, ["HTMLElement", "string"]), H.WRONG_TYPE);
|
|
2379
2387
|
}), i;
|
|
2380
|
-
}, vt = function(a, i) {
|
|
2381
|
-
return a < 0 ? Pe(a + i, 0, i) : Pe(a, 0, i);
|
|
2382
2388
|
}, gt = function(a, i) {
|
|
2389
|
+
return a < 0 ? Pe(a + i, 0, i) : Pe(a, 0, i);
|
|
2390
|
+
}, pt = function(a, i) {
|
|
2383
2391
|
var t, e;
|
|
2384
2392
|
try {
|
|
2385
|
-
for (var n =
|
|
2393
|
+
for (var n = Tt(a), r = n.next(); !r.done; r = n.next()) {
|
|
2386
2394
|
var o = r.value;
|
|
2387
2395
|
if (o === i) return !0;
|
|
2388
2396
|
}
|
|
@@ -2400,7 +2408,7 @@ var H = {
|
|
|
2400
2408
|
return !1;
|
|
2401
2409
|
}, Te = function(a) {
|
|
2402
2410
|
return typeof a == "string";
|
|
2403
|
-
},
|
|
2411
|
+
}, vr = function(a, i, t) {
|
|
2404
2412
|
var e = t - i;
|
|
2405
2413
|
if (a < i) {
|
|
2406
2414
|
var n = (i - a) % e;
|
|
@@ -2410,10 +2418,10 @@ var H = {
|
|
|
2410
2418
|
a = i + n;
|
|
2411
2419
|
}
|
|
2412
2420
|
return a;
|
|
2413
|
-
},
|
|
2421
|
+
}, qo = function(a, i) {
|
|
2414
2422
|
var t, e;
|
|
2415
2423
|
try {
|
|
2416
|
-
for (var n =
|
|
2424
|
+
for (var n = Tt(a), r = n.next(); !r.done; r = n.next()) {
|
|
2417
2425
|
var o = r.value;
|
|
2418
2426
|
if (i(o))
|
|
2419
2427
|
return o;
|
|
@@ -2430,27 +2438,27 @@ var H = {
|
|
|
2430
2438
|
}
|
|
2431
2439
|
}
|
|
2432
2440
|
return null;
|
|
2433
|
-
},
|
|
2441
|
+
}, Ko = function(a, i) {
|
|
2434
2442
|
for (var t = 0; t < a.length; t++)
|
|
2435
2443
|
if (i(a[t]))
|
|
2436
2444
|
return t;
|
|
2437
2445
|
return -1;
|
|
2438
|
-
},
|
|
2446
|
+
}, _t = function(a, i, t) {
|
|
2439
2447
|
return (a - i) / (t - i);
|
|
2440
|
-
},
|
|
2448
|
+
}, mt = function(a) {
|
|
2441
2449
|
return window.getComputedStyle(a) || a.currentStyle;
|
|
2442
|
-
},
|
|
2450
|
+
}, gr = function(a, i) {
|
|
2443
2451
|
var t = i.width, e = i.height;
|
|
2444
2452
|
t != null && (Te(t) ? a.style.width = t : a.style.width = t + "px"), e != null && (Te(e) ? a.style.height = e : a.style.height = e + "px");
|
|
2445
|
-
},
|
|
2453
|
+
}, At = function(a, i, t) {
|
|
2446
2454
|
return a >= i && a <= t;
|
|
2447
|
-
},
|
|
2448
|
-
return a >= i ? a % i : a < 0 ?
|
|
2455
|
+
}, pr = function(a, i) {
|
|
2456
|
+
return a >= i ? a % i : a < 0 ? gt((a + 1) % i - 1, i) : a;
|
|
2449
2457
|
}, qe = function(a) {
|
|
2450
2458
|
for (var i = new Array(a), t = 0; t < a; t++)
|
|
2451
2459
|
i[t] = t;
|
|
2452
2460
|
return i;
|
|
2453
|
-
},
|
|
2461
|
+
}, Ge = function(a) {
|
|
2454
2462
|
var i = a.el, t = a.horizontal, e = a.useFractionalSize, n = a.useOffset, r = a.style, o = 0;
|
|
2455
2463
|
if (e) {
|
|
2456
2464
|
var s = parseFloat(t ? r.width : r.height) || 0, l = r.boxSizing === "border-box", u = t ? parseFloat(r.borderLeftWidth || "0") + parseFloat(r.borderRightWidth || "0") : parseFloat(r.borderTopWidth || "0") + parseFloat(r.borderBottomWidth || "0");
|
|
@@ -2465,16 +2473,16 @@ var H = {
|
|
|
2465
2473
|
o = n ? i["offset" + d] : i["client" + d];
|
|
2466
2474
|
}
|
|
2467
2475
|
return Math.max(o, 0);
|
|
2468
|
-
},
|
|
2476
|
+
}, Zo = Object.setPrototypeOf || function(a, i) {
|
|
2469
2477
|
return a.__proto__ = i, a;
|
|
2470
2478
|
}, j = /* @__PURE__ */ function(a) {
|
|
2471
2479
|
te(i, a);
|
|
2472
2480
|
function i(t, e) {
|
|
2473
2481
|
var n = a.call(this, t) || this;
|
|
2474
|
-
return
|
|
2482
|
+
return Zo(n, i.prototype), n.name = "FlickingError", n.code = e, n;
|
|
2475
2483
|
}
|
|
2476
2484
|
return i;
|
|
2477
|
-
}(Error),
|
|
2485
|
+
}(Error), Qo = /* @__PURE__ */ function() {
|
|
2478
2486
|
function a(t, e) {
|
|
2479
2487
|
this._flicking = t, this._el = e, this._width = 0, this._height = 0, this._padding = {
|
|
2480
2488
|
left: 0,
|
|
@@ -2554,14 +2562,14 @@ var H = {
|
|
|
2554
2562
|
}
|
|
2555
2563
|
this.resize();
|
|
2556
2564
|
}, i.resize = function() {
|
|
2557
|
-
var t = this._el, e =
|
|
2558
|
-
this._width =
|
|
2565
|
+
var t = this._el, e = mt(t), n = this._flicking.useFractionalSize;
|
|
2566
|
+
this._width = Ge({
|
|
2559
2567
|
el: t,
|
|
2560
2568
|
horizontal: !0,
|
|
2561
2569
|
useFractionalSize: n,
|
|
2562
2570
|
useOffset: !1,
|
|
2563
2571
|
style: e
|
|
2564
|
-
}), this._height =
|
|
2572
|
+
}), this._height = Ge({
|
|
2565
2573
|
el: t,
|
|
2566
2574
|
horizontal: !1,
|
|
2567
2575
|
useFractionalSize: n,
|
|
@@ -2574,7 +2582,7 @@ var H = {
|
|
|
2574
2582
|
bottom: e.paddingBottom ? parseFloat(e.paddingBottom) : 0
|
|
2575
2583
|
}, this._isBorderBoxSizing = e.boxSizing === "border-box";
|
|
2576
2584
|
}, a;
|
|
2577
|
-
}(),
|
|
2585
|
+
}(), Jo = /* @__PURE__ */ function() {
|
|
2578
2586
|
function a(t) {
|
|
2579
2587
|
var e = this;
|
|
2580
2588
|
this._onResize = function() {
|
|
@@ -2613,7 +2621,7 @@ var H = {
|
|
|
2613
2621
|
var t = this._resizeObserver;
|
|
2614
2622
|
return t ? (t.disconnect(), this._resizeObserver = null) : window.removeEventListener("resize", this._onResize), this._enabled = !1, this;
|
|
2615
2623
|
}, a;
|
|
2616
|
-
}(),
|
|
2624
|
+
}(), es = /* @__PURE__ */ function() {
|
|
2617
2625
|
function a(t) {
|
|
2618
2626
|
this._element = t, this._rendered = !0;
|
|
2619
2627
|
}
|
|
@@ -2637,7 +2645,7 @@ var H = {
|
|
|
2637
2645
|
var e = this.element, n = t.camera.element;
|
|
2638
2646
|
e.parentElement === n && (n.removeChild(e), this._rendered = !1);
|
|
2639
2647
|
}, a;
|
|
2640
|
-
}(),
|
|
2648
|
+
}(), mi = /* @__PURE__ */ function() {
|
|
2641
2649
|
function a(t) {
|
|
2642
2650
|
this._flicking = t;
|
|
2643
2651
|
}
|
|
@@ -2666,12 +2674,12 @@ var H = {
|
|
|
2666
2674
|
}, i.show = function() {
|
|
2667
2675
|
}, i.hide = function() {
|
|
2668
2676
|
}, a;
|
|
2669
|
-
}(),
|
|
2677
|
+
}(), ts = /* @__PURE__ */ function() {
|
|
2670
2678
|
function a(t, e) {
|
|
2671
2679
|
var n, r, o, s;
|
|
2672
2680
|
this._flicking = t, this._renderPanel = (n = e?.renderPanel) !== null && n !== void 0 ? n : function() {
|
|
2673
2681
|
return "";
|
|
2674
|
-
}, this._initialPanelCount = (r = e?.initialPanelCount) !== null && r !== void 0 ? r : -1, this._cache = (o = e?.cache) !== null && o !== void 0 ? o : !1, this._panelClass = (s = e?.panelClass) !== null && s !== void 0 ? s :
|
|
2682
|
+
}, this._initialPanelCount = (r = e?.initialPanelCount) !== null && r !== void 0 ? r : -1, this._cache = (o = e?.cache) !== null && o !== void 0 ? o : !1, this._panelClass = (s = e?.panelClass) !== null && s !== void 0 ? s : Uo.DEFAULT_VIRTUAL, this._elements = [];
|
|
2675
2683
|
}
|
|
2676
2684
|
var i = a.prototype;
|
|
2677
2685
|
return Object.defineProperty(i, "elements", {
|
|
@@ -2845,7 +2853,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
2845
2853
|
var e = t.flicking, n = t.axesEvent, r = t.transitTo, o = n.delta[U];
|
|
2846
2854
|
if (o) {
|
|
2847
2855
|
this._delta += o;
|
|
2848
|
-
var s = e.camera, l = s.position, u = n.pos[U], f = e.circularEnabled ?
|
|
2856
|
+
var s = e.camera, l = s.position, u = n.pos[U], f = e.circularEnabled ? vr(u, s.range.min, s.range.max) : u;
|
|
2849
2857
|
s.lookAt(f);
|
|
2850
2858
|
var d = new F(D.MOVE, {
|
|
2851
2859
|
isTrusted: n.isTrusted,
|
|
@@ -2856,7 +2864,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
2856
2864
|
e.trigger(d), d.isCanceled() && (s.lookAt(l), r(W.DISABLED));
|
|
2857
2865
|
}
|
|
2858
2866
|
}, a;
|
|
2859
|
-
}(),
|
|
2867
|
+
}(), yi = /* @__PURE__ */ function(a) {
|
|
2860
2868
|
te(i, a);
|
|
2861
2869
|
function i() {
|
|
2862
2870
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
@@ -2884,7 +2892,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
2884
2892
|
});
|
|
2885
2893
|
n.trigger(u), u.isCanceled() ? o(W.DISABLED) : o(W.ANIMATING).onChange(e);
|
|
2886
2894
|
}, i;
|
|
2887
|
-
}(Je),
|
|
2895
|
+
}(Je), ns = /* @__PURE__ */ function(a) {
|
|
2888
2896
|
te(i, a);
|
|
2889
2897
|
function i() {
|
|
2890
2898
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
@@ -2921,7 +2929,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
2921
2929
|
f = u.target;
|
|
2922
2930
|
var c = o.renderer.panels, p = null;
|
|
2923
2931
|
try {
|
|
2924
|
-
for (var m =
|
|
2932
|
+
for (var m = Tt(c), _ = m.next(); !_.done; _ = m.next()) {
|
|
2925
2933
|
var h = _.value;
|
|
2926
2934
|
if (h.contains(f)) {
|
|
2927
2935
|
p = h;
|
|
@@ -2950,7 +2958,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
2950
2958
|
}
|
|
2951
2959
|
}
|
|
2952
2960
|
}, i;
|
|
2953
|
-
}(Je),
|
|
2961
|
+
}(Je), is = /* @__PURE__ */ function(a) {
|
|
2954
2962
|
te(i, a);
|
|
2955
2963
|
function i() {
|
|
2956
2964
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
@@ -2975,7 +2983,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
2975
2983
|
s(W.IDLE), o.setTo((n = {}, n[U] = r.camera.position, n), 0);
|
|
2976
2984
|
}
|
|
2977
2985
|
}, i;
|
|
2978
|
-
}(Je),
|
|
2986
|
+
}(Je), rs = /* @__PURE__ */ function(a) {
|
|
2979
2987
|
te(i, a);
|
|
2980
2988
|
function i() {
|
|
2981
2989
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
@@ -3001,7 +3009,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3001
3009
|
var f = this._targetPanel;
|
|
3002
3010
|
f && s.setActive(f, s.activePanel, r.isTrusted);
|
|
3003
3011
|
}, i;
|
|
3004
|
-
}(Je),
|
|
3012
|
+
}(Je), as = /* @__PURE__ */ function(a) {
|
|
3005
3013
|
te(i, a);
|
|
3006
3014
|
function i() {
|
|
3007
3015
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
@@ -3018,30 +3026,30 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3018
3026
|
var n = e.axesEvent, r = e.transitTo;
|
|
3019
3027
|
n.delta.flick === 0 && r(W.IDLE);
|
|
3020
3028
|
}, i;
|
|
3021
|
-
}(Je),
|
|
3029
|
+
}(Je), os = /* @__PURE__ */ function() {
|
|
3022
3030
|
function a() {
|
|
3023
3031
|
var t = this;
|
|
3024
3032
|
this.transitTo = function(e) {
|
|
3025
3033
|
var n;
|
|
3026
3034
|
switch (e) {
|
|
3027
3035
|
case W.IDLE:
|
|
3028
|
-
n = new
|
|
3036
|
+
n = new yi();
|
|
3029
3037
|
break;
|
|
3030
3038
|
case W.HOLDING:
|
|
3031
|
-
n = new
|
|
3039
|
+
n = new ns();
|
|
3032
3040
|
break;
|
|
3033
3041
|
case W.DRAGGING:
|
|
3034
|
-
n = new
|
|
3042
|
+
n = new is();
|
|
3035
3043
|
break;
|
|
3036
3044
|
case W.ANIMATING:
|
|
3037
|
-
n = new
|
|
3045
|
+
n = new rs();
|
|
3038
3046
|
break;
|
|
3039
3047
|
case W.DISABLED:
|
|
3040
|
-
n = new
|
|
3048
|
+
n = new as();
|
|
3041
3049
|
break;
|
|
3042
3050
|
}
|
|
3043
3051
|
return n.onEnter(t._state), t._state = n, t._state;
|
|
3044
|
-
}, this._state = new
|
|
3052
|
+
}, this._state = new yi();
|
|
3045
3053
|
}
|
|
3046
3054
|
var i = a.prototype;
|
|
3047
3055
|
return Object.defineProperty(i, "state", {
|
|
@@ -3072,7 +3080,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3072
3080
|
break;
|
|
3073
3081
|
}
|
|
3074
3082
|
}, a;
|
|
3075
|
-
}(),
|
|
3083
|
+
}(), ss = /* @__PURE__ */ function() {
|
|
3076
3084
|
function a() {
|
|
3077
3085
|
var t = this;
|
|
3078
3086
|
this._onAxesHold = function() {
|
|
@@ -3082,7 +3090,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3082
3090
|
t._dragged = !!(!((e = t._panInput) === null || e === void 0) && e.isEnabled());
|
|
3083
3091
|
}, this._preventClickWhenDragged = function(e) {
|
|
3084
3092
|
t._dragged && (e.preventDefault(), e.stopPropagation()), t._dragged = !1;
|
|
3085
|
-
}, this._resetInternalValues(), this._stateMachine = new
|
|
3093
|
+
}, this._resetInternalValues(), this._stateMachine = new os();
|
|
3086
3094
|
}
|
|
3087
3095
|
var i = a.prototype;
|
|
3088
3096
|
return Object.defineProperty(i, "axes", {
|
|
@@ -3229,7 +3237,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3229
3237
|
configurable: !0
|
|
3230
3238
|
}), i.init = function(t) {
|
|
3231
3239
|
var e, n = this;
|
|
3232
|
-
this._flicking = t, this._axes = new
|
|
3240
|
+
this._flicking = t, this._axes = new Io((e = {}, e[U] = {
|
|
3233
3241
|
range: [0, 0],
|
|
3234
3242
|
circular: !1,
|
|
3235
3243
|
bounce: [0, 0]
|
|
@@ -3238,7 +3246,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3238
3246
|
interruptable: t.interruptable,
|
|
3239
3247
|
nested: t.nested,
|
|
3240
3248
|
easing: t.easing
|
|
3241
|
-
}), this._panInput = new
|
|
3249
|
+
}), this._panInput = new wo(t.viewport.element, {
|
|
3242
3250
|
inputType: t.inputType,
|
|
3243
3251
|
threshold: 1,
|
|
3244
3252
|
iOSEdgeSwipeThreshold: t.iOSEdgeSwipeThreshold,
|
|
@@ -3285,7 +3293,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3285
3293
|
return (t = this._axes) === null || t === void 0 || t.stopAnimation(), this;
|
|
3286
3294
|
}, i.update = function(t) {
|
|
3287
3295
|
var e, n = k(this._flicking), r = n.camera, o = this._axes, s = o.axis[U];
|
|
3288
|
-
return s.circular = [t.circular, t.circular], s.range = [t.range.min, t.range.max], s.bounce =
|
|
3296
|
+
return s.circular = [t.circular, t.circular], s.range = [t.range.min, t.range.max], s.bounce = Xo(n.bounce, r.size), o.axisManager.set((e = {}, e[U] = t.position, e)), this;
|
|
3289
3297
|
}, i.addPreventClickHandler = function() {
|
|
3290
3298
|
var t = k(this._flicking), e = this._axes, n = t.camera.element;
|
|
3291
3299
|
return e.on(J.HOLD, this._onAxesHold), e.on(J.CHANGE, this._onAxesChange), n.addEventListener("click", this._preventClickWhenDragged, !0), this;
|
|
@@ -3334,9 +3342,9 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3334
3342
|
offset: 0
|
|
3335
3343
|
}, this._dragged = !1;
|
|
3336
3344
|
}, a;
|
|
3337
|
-
}(),
|
|
3345
|
+
}(), wn = /* @__PURE__ */ function() {
|
|
3338
3346
|
function a() {
|
|
3339
|
-
this._flicking = null, this._controller = new
|
|
3347
|
+
this._flicking = null, this._controller = new ss(), this._activePanel = null;
|
|
3340
3348
|
}
|
|
3341
3349
|
var i = a.prototype;
|
|
3342
3350
|
return Object.defineProperty(i, "controller", {
|
|
@@ -3548,7 +3556,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3548
3556
|
enumerable: !1,
|
|
3549
3557
|
configurable: !0
|
|
3550
3558
|
}), a;
|
|
3551
|
-
}(),
|
|
3559
|
+
}(), ls = /* @__PURE__ */ function(a) {
|
|
3552
3560
|
te(i, a);
|
|
3553
3561
|
function i(e) {
|
|
3554
3562
|
var n = (e === void 0 ? {} : e).count, r = n === void 0 ? 1 / 0 : n, o = a.call(this) || this;
|
|
@@ -3608,7 +3616,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3608
3616
|
});
|
|
3609
3617
|
}
|
|
3610
3618
|
if (r.circularEnabled) {
|
|
3611
|
-
var h = v[
|
|
3619
|
+
var h = v[pr(n.index + Math.sign(e - l) * s, d)], g = Math.floor(s / d);
|
|
3612
3620
|
return e > l && h.index < n.index ? g += 1 : e < l && h.index > n.index && (g -= 1), new ee({
|
|
3613
3621
|
index: h.index,
|
|
3614
3622
|
position: h.position + g * o.rangeDiff,
|
|
@@ -3629,7 +3637,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3629
3637
|
var o = n > r.position, s = r.panel, l = s.size, u = s.alignPosition;
|
|
3630
3638
|
return Math.max(e, o ? l - u + s.margin.next : u + s.margin.prev);
|
|
3631
3639
|
}, i;
|
|
3632
|
-
}(
|
|
3640
|
+
}(wn), us = /* @__PURE__ */ function(a) {
|
|
3633
3641
|
te(i, a);
|
|
3634
3642
|
function i(e) {
|
|
3635
3643
|
var n = (e === void 0 ? {} : e).stopAtEdge, r = n === void 0 ? !0 : n, o = a.call(this) || this;
|
|
@@ -3669,7 +3677,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3669
3677
|
axesEvent: r
|
|
3670
3678
|
});
|
|
3671
3679
|
}, i;
|
|
3672
|
-
}(
|
|
3680
|
+
}(wn), cs = /* @__PURE__ */ function(a) {
|
|
3673
3681
|
te(i, a);
|
|
3674
3682
|
function i(e) {
|
|
3675
3683
|
var n = (e === void 0 ? {} : e).count, r = n === void 0 ? 1 : n, o = a.call(this) || this;
|
|
@@ -3700,7 +3708,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3700
3708
|
if (!f)
|
|
3701
3709
|
return s.update(l), this._resetIndexRange(), this;
|
|
3702
3710
|
var d = l.range, v = f.position, c = f.index, p = o.panelCount, m = c - u, _ = c + u;
|
|
3703
|
-
m < 0 && (m = n.circularEnabled ?
|
|
3711
|
+
m < 0 && (m = n.circularEnabled ? gt((m + 1) % p - 1, p) : Pe(m, 0, p - 1)), _ >= p && (_ = n.circularEnabled ? _ % p : Pe(_, 0, p - 1));
|
|
3704
3712
|
var h = o.panels[m], g = o.panels[_], y = Math.max(h.position, d.min), E = Math.min(g.position, d.max);
|
|
3705
3713
|
return y > v && (y -= r.rangeDiff), E < v && (E += r.rangeDiff), l.range = {
|
|
3706
3714
|
min: y,
|
|
@@ -3720,7 +3728,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3720
3728
|
var o, s = k(this._flicking), l = s.camera, u = (o = this._nextPanel) !== null && o !== void 0 ? o : this._activePanel, f = this._controller.range, d = this._indexRange, v = l.range, c = this._controller.state, p = Pe(l.clampToReachablePosition(e), f[0], f[1]), m = l.findAnchorIncludePosition(p);
|
|
3721
3729
|
if (!m || !u)
|
|
3722
3730
|
return Promise.reject(new j($.POSITION_NOT_REACHABLE(e), H.POSITION_NOT_REACHABLE));
|
|
3723
|
-
var _ = u.position, h = s.animating ? c.delta : e - l.position, g = Math.abs(h) >= s.threshold, y = e > _ ? l.getNextAnchor(m) : l.getPrevAnchor(m), E, x, w = l.anchorPoints, R = w[0], S = w[w.length - 1], A = e <= v.min &&
|
|
3731
|
+
var _ = u.position, h = s.animating ? c.delta : e - l.position, g = Math.abs(h) >= s.threshold, y = e > _ ? l.getNextAnchor(m) : l.getPrevAnchor(m), E, x, w = l.anchorPoints, R = w[0], S = w[w.length - 1], A = e <= v.min && At(R.panel.index, d.min, d.max), V = e >= v.max && At(S.panel.index, d.min, d.max), B = y && (d.min <= d.max ? At(y.index, d.min, d.max) : y.index >= d.min || y.index <= d.max);
|
|
3724
3732
|
if (A || V) {
|
|
3725
3733
|
var L = e < v.min ? R : S;
|
|
3726
3734
|
x = L.panel, E = L.position;
|
|
@@ -3747,7 +3755,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3747
3755
|
max: 0
|
|
3748
3756
|
};
|
|
3749
3757
|
}, i;
|
|
3750
|
-
}(
|
|
3758
|
+
}(wn), In = /* @__PURE__ */ function() {
|
|
3751
3759
|
function a(t) {
|
|
3752
3760
|
this._flicking = t;
|
|
3753
3761
|
}
|
|
@@ -3792,7 +3800,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3792
3800
|
var e = this._flicking.camera, n = e.visibleRange;
|
|
3793
3801
|
return t.isVisibleOnRange(n.min, n.max);
|
|
3794
3802
|
}, a;
|
|
3795
|
-
}(),
|
|
3803
|
+
}(), bi = /* @__PURE__ */ function(a) {
|
|
3796
3804
|
te(i, a);
|
|
3797
3805
|
function i() {
|
|
3798
3806
|
return a !== null && a.apply(this, arguments) || this;
|
|
@@ -3807,7 +3815,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3807
3815
|
max: (n = s?.position) !== null && n !== void 0 ? n : 0
|
|
3808
3816
|
};
|
|
3809
3817
|
}, i;
|
|
3810
|
-
}(
|
|
3818
|
+
}(In), fs = /* @__PURE__ */ function(a) {
|
|
3811
3819
|
te(i, a);
|
|
3812
3820
|
function i() {
|
|
3813
3821
|
return a !== null && a.apply(this, arguments) || this;
|
|
@@ -3851,7 +3859,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3851
3859
|
}
|
|
3852
3860
|
return r[l];
|
|
3853
3861
|
}, t.findAnchorIncludePosition = function(e) {
|
|
3854
|
-
var n = this._flicking.camera, r = n.range, o = n.anchorPoints, s = n.rangeDiff, l = o.length, u =
|
|
3862
|
+
var n = this._flicking.camera, r = n.range, o = n.anchorPoints, s = n.rangeDiff, l = o.length, u = vr(e, r.min, r.max), f = a.prototype.findAnchorIncludePosition.call(this, u);
|
|
3855
3863
|
if (l > 0 && (e === r.min || e === r.max)) {
|
|
3856
3864
|
var d = [f, new ee({
|
|
3857
3865
|
index: 0,
|
|
@@ -3908,7 +3916,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3908
3916
|
return n + r.sizeIncludingMargin;
|
|
3909
3917
|
}, 0);
|
|
3910
3918
|
}, i;
|
|
3911
|
-
}(
|
|
3919
|
+
}(In), Ei = /* @__PURE__ */ function(a) {
|
|
3912
3920
|
te(i, a);
|
|
3913
3921
|
function i() {
|
|
3914
3922
|
return a !== null && a.apply(this, arguments) || this;
|
|
@@ -3933,7 +3941,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3933
3941
|
min: c,
|
|
3934
3942
|
max: p
|
|
3935
3943
|
};
|
|
3936
|
-
var m = e.camera.align, _ = typeof m == "object" ? m.camera : m, h = c +
|
|
3944
|
+
var m = e.camera.align, _ = typeof m == "object" ? m.camera : m, h = c + Tn(_, p - c);
|
|
3937
3945
|
return {
|
|
3938
3946
|
min: h,
|
|
3939
3947
|
max: h
|
|
@@ -3991,13 +3999,13 @@ var Je = /* @__PURE__ */ function() {
|
|
|
3991
3999
|
}
|
|
3992
4000
|
return n[n.length - 1];
|
|
3993
4001
|
}, i;
|
|
3994
|
-
}(
|
|
4002
|
+
}(In), hs = /* @__PURE__ */ function() {
|
|
3995
4003
|
function a(t, e) {
|
|
3996
4004
|
var n = this, r = (e === void 0 ? {} : e).align, o = r === void 0 ? pe.CENTER : r;
|
|
3997
4005
|
this._checkTranslateSupport = function() {
|
|
3998
4006
|
var s, l, u = ["webkitTransform", "msTransform", "MozTransform", "OTransform", "transform"], f = document.documentElement.style, d = "";
|
|
3999
4007
|
try {
|
|
4000
|
-
for (var v =
|
|
4008
|
+
for (var v = Tt(u), c = v.next(); !c.done; c = v.next()) {
|
|
4001
4009
|
var p = c.value;
|
|
4002
4010
|
p in f && (d = p);
|
|
4003
4011
|
}
|
|
@@ -4039,7 +4047,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4039
4047
|
* @readonly
|
|
4040
4048
|
*/
|
|
4041
4049
|
get: function() {
|
|
4042
|
-
return
|
|
4050
|
+
return xn(this._el.children);
|
|
4043
4051
|
},
|
|
4044
4052
|
enumerable: !1,
|
|
4045
4053
|
configurable: !0
|
|
@@ -4232,10 +4240,10 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4232
4240
|
return r.index;
|
|
4233
4241
|
if (e < o) {
|
|
4234
4242
|
var v = r.prev(), c = v ? v.position + v.offset : u - s[0];
|
|
4235
|
-
return c > o && (c -= d), r.index - 1 +
|
|
4243
|
+
return c > o && (c -= d), r.index - 1 + _t(e, c, o);
|
|
4236
4244
|
} else {
|
|
4237
4245
|
var p = r.next(), m = p ? p.position + p.offset : f + s[1];
|
|
4238
|
-
return m < o && (m += d), r.index +
|
|
4246
|
+
return m < o && (m += d), r.index + _t(e, o, m);
|
|
4239
4247
|
}
|
|
4240
4248
|
},
|
|
4241
4249
|
enumerable: !1,
|
|
@@ -4308,7 +4316,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4308
4316
|
return this._mode.findNearestAnchor(t);
|
|
4309
4317
|
}, i.findActiveAnchor = function() {
|
|
4310
4318
|
var t, e = k(this._flicking), n = e.control.activePanel;
|
|
4311
|
-
return n ? (t =
|
|
4319
|
+
return n ? (t = qo(this._anchors, function(r) {
|
|
4312
4320
|
return r.panel.index === n.index;
|
|
4313
4321
|
})) !== null && t !== void 0 ? t : this.findNearestAnchor(n.position) : null;
|
|
4314
4322
|
}, i.clampToReachablePosition = function(t) {
|
|
@@ -4324,7 +4332,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4324
4332
|
}), this;
|
|
4325
4333
|
}, i.updateAlignPos = function() {
|
|
4326
4334
|
var t = this._align, e = typeof t == "object" ? t.camera : t;
|
|
4327
|
-
return this._alignPos =
|
|
4335
|
+
return this._alignPos = Tn(e, this.size), this;
|
|
4328
4336
|
}, i.updateAnchors = function() {
|
|
4329
4337
|
return this._anchors = this._mode.getAnchors(), this;
|
|
4330
4338
|
}, i.updateAdaptiveHeight = function() {
|
|
@@ -4344,7 +4352,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4344
4352
|
}, i.updatePanelOrder = function() {
|
|
4345
4353
|
var t = k(this._flicking);
|
|
4346
4354
|
if (!t.horizontal) return this;
|
|
4347
|
-
var e = this._el, n =
|
|
4355
|
+
var e = this._el, n = mt(e).direction;
|
|
4348
4356
|
return n !== this._panelOrder && (this._panelOrder = n === Se.RTL ? Se.RTL : Se.LTR, t.initialized && t.control.controller.updateDirection()), this;
|
|
4349
4357
|
}, i.resetNeedPanelHistory = function() {
|
|
4350
4358
|
return this._needPanelTriggered = {
|
|
@@ -4370,9 +4378,9 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4370
4378
|
}), o = this._visiblePanels;
|
|
4371
4379
|
this._visiblePanels = r;
|
|
4372
4380
|
var s = r.filter(function(u) {
|
|
4373
|
-
return !
|
|
4381
|
+
return !pt(o, u);
|
|
4374
4382
|
}), l = o.filter(function(u) {
|
|
4375
|
-
return !
|
|
4383
|
+
return !pt(r, u);
|
|
4376
4384
|
});
|
|
4377
4385
|
(s.length > 0 || l.length > 0) && e.renderer.render().then(function() {
|
|
4378
4386
|
e.trigger(new F(D.VISIBLE_CHANGE, {
|
|
@@ -4418,16 +4426,16 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4418
4426
|
}, i._updateMode = function() {
|
|
4419
4427
|
var t = k(this._flicking);
|
|
4420
4428
|
if (t.circular) {
|
|
4421
|
-
var e = new
|
|
4429
|
+
var e = new fs(t), n = e.checkAvailability();
|
|
4422
4430
|
if (n)
|
|
4423
4431
|
this._mode = e;
|
|
4424
4432
|
else {
|
|
4425
4433
|
var r = t.circularFallback;
|
|
4426
|
-
this._mode = r ===
|
|
4434
|
+
this._mode = r === hr.BOUND ? new Ei(t) : new bi(t);
|
|
4427
4435
|
}
|
|
4428
4436
|
this._circularEnabled = n;
|
|
4429
4437
|
} else
|
|
4430
|
-
this._mode = t.bound ? new
|
|
4438
|
+
this._mode = t.bound ? new Ei(t) : new bi(t), this._circularEnabled = !1;
|
|
4431
4439
|
}, i._togglePanels = function(t, e) {
|
|
4432
4440
|
if (e === t) return !1;
|
|
4433
4441
|
var n = k(this._flicking), r = n.renderer.panels, o = r.map(function(s) {
|
|
@@ -4437,7 +4445,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4437
4445
|
return s;
|
|
4438
4446
|
});
|
|
4439
4447
|
}, a;
|
|
4440
|
-
}(),
|
|
4448
|
+
}(), _r = /* @__PURE__ */ function() {
|
|
4441
4449
|
function a(t) {
|
|
4442
4450
|
var e = t.align, n = e === void 0 ? pe.CENTER : e, r = t.strategy;
|
|
4443
4451
|
this._flicking = null, this._panels = [], this._rendering = !1, this._align = n, this._strategy = r;
|
|
@@ -4504,7 +4512,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4504
4512
|
// Options Setter
|
|
4505
4513
|
set: function(t) {
|
|
4506
4514
|
this._align = t;
|
|
4507
|
-
var e =
|
|
4515
|
+
var e = vt(t);
|
|
4508
4516
|
this._panels.forEach(function(n) {
|
|
4509
4517
|
n.align = e;
|
|
4510
4518
|
});
|
|
@@ -4540,8 +4548,8 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4540
4548
|
}, i.batchInsertDefer = function() {
|
|
4541
4549
|
for (var t = this, e = [], n = 0; n < arguments.length; n++)
|
|
4542
4550
|
e[n] = arguments[n];
|
|
4543
|
-
var r = this._panels, o = k(this._flicking), s = r[0], l =
|
|
4544
|
-
var v, c =
|
|
4551
|
+
var r = this._panels, o = k(this._flicking), s = r[0], l = vt(this._align), u = e.reduce(function(f, d) {
|
|
4552
|
+
var v, c = gt(d.index, r.length), p = r.slice(c), m = d.elements.map(function(h, g) {
|
|
4545
4553
|
return t._createPanel(h, {
|
|
4546
4554
|
index: c + g,
|
|
4547
4555
|
align: l,
|
|
@@ -4569,12 +4577,12 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4569
4577
|
for (var t = this, e = [], n = 0; n < arguments.length; n++)
|
|
4570
4578
|
e[n] = arguments[n];
|
|
4571
4579
|
var r = this._panels, o = k(this._flicking), s = o.control, l = s.activePanel, u = e.reduce(function(f, d) {
|
|
4572
|
-
var v = d.index, c = d.deleteCount, p =
|
|
4580
|
+
var v = d.index, c = d.deleteCount, p = gt(v, r.length), m = r.slice(p + c), _ = r.splice(p, c);
|
|
4573
4581
|
return _.length <= 0 ? [] : (m.forEach(function(h) {
|
|
4574
4582
|
h.decreaseIndex(_.length), h.updatePosition();
|
|
4575
4583
|
}), d.hasDOMInElements && t._removePanelElements(_), _.forEach(function(h) {
|
|
4576
4584
|
return h.destroy();
|
|
4577
|
-
}),
|
|
4585
|
+
}), pt(_, l) && s.resetActive(), K(f, _));
|
|
4578
4586
|
}, []);
|
|
4579
4587
|
return u;
|
|
4580
4588
|
}, i.updateAfterPanelChange = function(t, e) {
|
|
@@ -4608,7 +4616,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4608
4616
|
if (t = t.filter(function(u) {
|
|
4609
4617
|
return s(u);
|
|
4610
4618
|
}), !(t.length <= 0)) {
|
|
4611
|
-
var l = new
|
|
4619
|
+
var l = new Wo();
|
|
4612
4620
|
t.forEach(function(u) {
|
|
4613
4621
|
u.loading = !0;
|
|
4614
4622
|
}), l.on("readyElement", function(u) {
|
|
@@ -4676,7 +4684,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4676
4684
|
var t = k(this._flicking);
|
|
4677
4685
|
t.camera.applyTransform();
|
|
4678
4686
|
}, a;
|
|
4679
|
-
}(),
|
|
4687
|
+
}(), ds = /* @__PURE__ */ function(a) {
|
|
4680
4688
|
te(i, a);
|
|
4681
4689
|
function i() {
|
|
4682
4690
|
return a !== null && a.apply(this, arguments) || this;
|
|
@@ -4705,11 +4713,11 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4705
4713
|
});
|
|
4706
4714
|
}, t._removeAllTextNodes = function() {
|
|
4707
4715
|
var e = k(this._flicking), n = e.camera.element;
|
|
4708
|
-
|
|
4716
|
+
xn(n.childNodes).forEach(function(r) {
|
|
4709
4717
|
r.nodeType === Node.TEXT_NODE && n.removeChild(r);
|
|
4710
4718
|
});
|
|
4711
4719
|
}, i;
|
|
4712
|
-
}(
|
|
4720
|
+
}(_r), vs = /* @__PURE__ */ function(a) {
|
|
4713
4721
|
te(i, a);
|
|
4714
4722
|
function i() {
|
|
4715
4723
|
return a !== null && a.apply(this, arguments) || this;
|
|
@@ -4718,7 +4726,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4718
4726
|
return t._removePanelElements = function(e) {
|
|
4719
4727
|
}, t._removeAllChildsFromCamera = function() {
|
|
4720
4728
|
}, i;
|
|
4721
|
-
}(
|
|
4729
|
+
}(_r), cn = /* @__PURE__ */ function() {
|
|
4722
4730
|
function a(t) {
|
|
4723
4731
|
var e = t.index, n = t.align, r = t.flicking, o = t.elementProvider;
|
|
4724
4732
|
this._index = e, this._flicking = r, this._elProvider = o, this._align = n, this._removed = !1, this._rendered = !0, this._loading = !1, this._resetInternalStates();
|
|
@@ -4958,10 +4966,10 @@ var Je = /* @__PURE__ */ function() {
|
|
|
4958
4966
|
return 0;
|
|
4959
4967
|
if (r < t) {
|
|
4960
4968
|
var o = t + (n.size - n.alignPosition) + e;
|
|
4961
|
-
return -
|
|
4969
|
+
return -_t(r, t, o);
|
|
4962
4970
|
} else {
|
|
4963
4971
|
var s = t - (n.alignPosition + this._size - e);
|
|
4964
|
-
return 1 -
|
|
4972
|
+
return 1 - _t(r, s, t);
|
|
4965
4973
|
}
|
|
4966
4974
|
},
|
|
4967
4975
|
enumerable: !1,
|
|
@@ -5008,16 +5016,16 @@ var Je = /* @__PURE__ */ function() {
|
|
|
5008
5016
|
}, i.resize = function(t) {
|
|
5009
5017
|
var e, n = this.element, r = this._flicking, o = r.horizontal, s = r.useFractionalSize;
|
|
5010
5018
|
if (t)
|
|
5011
|
-
this._size = t.size, this._margin = ne({}, t.margin), this._height = (e = t.height) !== null && e !== void 0 ? e :
|
|
5019
|
+
this._size = t.size, this._margin = ne({}, t.margin), this._height = (e = t.height) !== null && e !== void 0 ? e : Ge({
|
|
5012
5020
|
el: n,
|
|
5013
5021
|
horizontal: !1,
|
|
5014
5022
|
useFractionalSize: s,
|
|
5015
5023
|
useOffset: !0,
|
|
5016
|
-
style:
|
|
5024
|
+
style: mt(n)
|
|
5017
5025
|
});
|
|
5018
5026
|
else {
|
|
5019
|
-
var l =
|
|
5020
|
-
this._size =
|
|
5027
|
+
var l = mt(n);
|
|
5028
|
+
this._size = Ge({
|
|
5021
5029
|
el: n,
|
|
5022
5030
|
horizontal: o,
|
|
5023
5031
|
useFractionalSize: s,
|
|
@@ -5029,7 +5037,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
5029
5037
|
} : {
|
|
5030
5038
|
prev: parseFloat(l.marginTop || "0"),
|
|
5031
5039
|
next: parseFloat(l.marginBottom || "0")
|
|
5032
|
-
}, this._height = o ?
|
|
5040
|
+
}, this._height = o ? Ge({
|
|
5033
5041
|
el: n,
|
|
5034
5042
|
horizontal: !1,
|
|
5035
5043
|
useFractionalSize: s,
|
|
@@ -5039,7 +5047,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
5039
5047
|
}
|
|
5040
5048
|
return this.updatePosition(), this._updateAlignPos(), this;
|
|
5041
5049
|
}, i.setSize = function(t) {
|
|
5042
|
-
return
|
|
5050
|
+
return gr(this.element, t), this;
|
|
5043
5051
|
}, i.contains = function(t) {
|
|
5044
5052
|
var e;
|
|
5045
5053
|
return !!(!((e = this.element) === null || e === void 0) && e.contains(t));
|
|
@@ -5081,14 +5089,14 @@ var Je = /* @__PURE__ */ function() {
|
|
|
5081
5089
|
var e = t.camera, n = e.range, r = e.alignPosition, o = e.visibleRange, s = o.max - o.min, l = n.min - r, u = n.max - r + s, f = this.includeRange(u - s, u, !1), d = this.includeRange(l, l + s, !1);
|
|
5082
5090
|
return this._toggled = !1, f ? (this._toggleDirection = N.PREV, this._togglePosition = this.range.max + n.min - n.max + r, this.toggle(1 / 0, e.position)) : d ? (this._toggleDirection = N.NEXT, this._togglePosition = this.range.min + n.max - s + r, this.toggle(-1 / 0, e.position)) : (this._toggleDirection = N.NONE, this._togglePosition = 0), this;
|
|
5083
5091
|
}, i._updateAlignPos = function() {
|
|
5084
|
-
this._alignPos =
|
|
5092
|
+
this._alignPos = Tn(this._align, this._size);
|
|
5085
5093
|
}, i._resetInternalStates = function() {
|
|
5086
5094
|
this._size = 0, this._pos = 0, this._margin = {
|
|
5087
5095
|
prev: 0,
|
|
5088
5096
|
next: 0
|
|
5089
5097
|
}, this._height = 0, this._alignPos = 0, this._toggled = !1, this._togglePosition = 0, this._toggleDirection = N.NONE;
|
|
5090
5098
|
}, a;
|
|
5091
|
-
}(),
|
|
5099
|
+
}(), mr = /* @__PURE__ */ function() {
|
|
5092
5100
|
function a(t) {
|
|
5093
5101
|
var e = t.providerCtor;
|
|
5094
5102
|
this._providerCtor = e;
|
|
@@ -5118,9 +5126,9 @@ var Je = /* @__PURE__ */ function() {
|
|
|
5118
5126
|
return e.markForShow();
|
|
5119
5127
|
});
|
|
5120
5128
|
}, i.collectPanels = function(t, e) {
|
|
5121
|
-
var n = this, r =
|
|
5129
|
+
var n = this, r = vt(t.renderer.align);
|
|
5122
5130
|
return e.map(function(o, s) {
|
|
5123
|
-
return new
|
|
5131
|
+
return new cn({
|
|
5124
5132
|
index: s,
|
|
5125
5133
|
elementProvider: new n._providerCtor(o),
|
|
5126
5134
|
align: r,
|
|
@@ -5128,7 +5136,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
5128
5136
|
});
|
|
5129
5137
|
});
|
|
5130
5138
|
}, i.createPanel = function(t, e) {
|
|
5131
|
-
return new
|
|
5139
|
+
return new cn(ne(ne({}, e), {
|
|
5132
5140
|
elementProvider: new this._providerCtor(t)
|
|
5133
5141
|
}));
|
|
5134
5142
|
}, i.updatePanelSizes = function(t, e) {
|
|
@@ -5143,7 +5151,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
5143
5151
|
o.index in r || o.loading ? o.markForShow() : t.holding || o.markForHide();
|
|
5144
5152
|
}), n.updateOffset();
|
|
5145
5153
|
}, a;
|
|
5146
|
-
}(),
|
|
5154
|
+
}(), Pi = /* @__PURE__ */ function(a) {
|
|
5147
5155
|
te(i, a);
|
|
5148
5156
|
function i(e) {
|
|
5149
5157
|
var n = a.call(this, e) || this;
|
|
@@ -5183,7 +5191,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
5183
5191
|
*/
|
|
5184
5192
|
get: function() {
|
|
5185
5193
|
var e = this._flicking, n = e.panelsPerView + 1, r = e.panelCount, o = this._index;
|
|
5186
|
-
return this._toggled && (o = this._toggleDirection === N.NEXT ? o + r : o - r),
|
|
5194
|
+
return this._toggled && (o = this._toggleDirection === N.NEXT ? o + r : o - r), pr(o, n);
|
|
5187
5195
|
},
|
|
5188
5196
|
enumerable: !1,
|
|
5189
5197
|
configurable: !0
|
|
@@ -5199,7 +5207,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
5199
5207
|
}, t.decreaseIndex = function(e) {
|
|
5200
5208
|
return this.uncacheRenderResult(), a.prototype.decreaseIndex.call(this, e);
|
|
5201
5209
|
}, i;
|
|
5202
|
-
}(
|
|
5210
|
+
}(cn), yr = /* @__PURE__ */ function() {
|
|
5203
5211
|
function a() {
|
|
5204
5212
|
}
|
|
5205
5213
|
var i = a.prototype;
|
|
@@ -5247,33 +5255,33 @@ var Je = /* @__PURE__ */ function() {
|
|
|
5247
5255
|
o.index in r || o.loading ? o.markForShow() : o.markForHide();
|
|
5248
5256
|
}), n.updateOffset();
|
|
5249
5257
|
}, i.collectPanels = function(t) {
|
|
5250
|
-
var e =
|
|
5258
|
+
var e = vt(t.renderer.align);
|
|
5251
5259
|
return qe(t.virtual.initialPanelCount).map(function(n) {
|
|
5252
|
-
return new
|
|
5260
|
+
return new Pi({
|
|
5253
5261
|
index: n,
|
|
5254
|
-
elementProvider: new
|
|
5262
|
+
elementProvider: new mi(t),
|
|
5255
5263
|
align: e,
|
|
5256
5264
|
flicking: t
|
|
5257
5265
|
});
|
|
5258
5266
|
});
|
|
5259
5267
|
}, i.createPanel = function(t, e) {
|
|
5260
|
-
return new
|
|
5261
|
-
elementProvider: new
|
|
5268
|
+
return new Pi(ne(ne({}, e), {
|
|
5269
|
+
elementProvider: new mi(e.flicking)
|
|
5262
5270
|
}));
|
|
5263
5271
|
}, i.updatePanelSizes = function(t, e) {
|
|
5264
5272
|
t.virtual.elements.forEach(function(n) {
|
|
5265
|
-
|
|
5273
|
+
gr(n.nativeElement, e);
|
|
5266
5274
|
}), t.panels.forEach(function(n) {
|
|
5267
5275
|
return n.setSize(e);
|
|
5268
5276
|
});
|
|
5269
5277
|
}, a;
|
|
5270
|
-
}(),
|
|
5278
|
+
}(), br = /* @__PURE__ */ function(a) {
|
|
5271
5279
|
te(i, a);
|
|
5272
5280
|
function i(e, n) {
|
|
5273
|
-
var r = n === void 0 ? {} : n, o = r.align, s = o === void 0 ? pe.CENTER : o, l = r.defaultIndex, u = l === void 0 ? 0 : l, f = r.horizontal, d = f === void 0 ? !0 : f, v = r.circular, c = v === void 0 ? !1 : v, p = r.circularFallback, m = p === void 0 ?
|
|
5274
|
-
return 1 - Math.pow(1 -
|
|
5275
|
-
} :
|
|
5276
|
-
return C._initialized = !1, C._plugins = [], C._align = s, C._defaultIndex = u, C._horizontal = d, C._circular = c, C._circularFallback = m, C._bound = h, C._adaptive = y, C._panelsPerView = x, C._noPanelStyleOverride = R, C._resizeOnContentsReady = A, C._nested = B, C._virtual =
|
|
5281
|
+
var r = n === void 0 ? {} : n, o = r.align, s = o === void 0 ? pe.CENTER : o, l = r.defaultIndex, u = l === void 0 ? 0 : l, f = r.horizontal, d = f === void 0 ? !0 : f, v = r.circular, c = v === void 0 ? !1 : v, p = r.circularFallback, m = p === void 0 ? hr.LINEAR : p, _ = r.bound, h = _ === void 0 ? !1 : _, g = r.adaptive, y = g === void 0 ? !1 : g, E = r.panelsPerView, x = E === void 0 ? -1 : E, w = r.noPanelStyleOverride, R = w === void 0 ? !1 : w, S = r.resizeOnContentsReady, A = S === void 0 ? !1 : S, V = r.nested, B = V === void 0 ? !1 : V, L = r.needPanelThreshold, q = L === void 0 ? 0 : L, se = r.preventEventsBeforeInit, ae = se === void 0 ? !0 : se, Mn = r.deceleration, Ir = Mn === void 0 ? 75e-4 : Mn, zn = r.duration, Cr = zn === void 0 ? 500 : zn, Nn = r.easing, Rr = Nn === void 0 ? function(qr) {
|
|
5282
|
+
return 1 - Math.pow(1 - qr, 3);
|
|
5283
|
+
} : Nn, Fn = r.inputType, Sr = Fn === void 0 ? ["mouse", "touch"] : Fn, Bn = r.moveType, kr = Bn === void 0 ? "snap" : Bn, jn = r.threshold, Ar = jn === void 0 ? 40 : jn, Vn = r.interruptable, Lr = Vn === void 0 ? !0 : Vn, Hn = r.bounce, Dr = Hn === void 0 ? "20%" : Hn, $n = r.iOSEdgeSwipeThreshold, Mr = $n === void 0 ? 30 : $n, Wn = r.preventClickOnDrag, zr = Wn === void 0 ? !0 : Wn, Un = r.preventDefaultOnDrag, Nr = Un === void 0 ? !1 : Un, Yn = r.disableOnInit, Fr = Yn === void 0 ? !1 : Yn, Gn = r.changeOnHold, Br = Gn === void 0 ? !1 : Gn, Xn = r.renderOnlyVisible, jr = Xn === void 0 ? !1 : Xn, qn = r.virtual, Kn = qn === void 0 ? null : qn, Zn = r.autoInit, Vr = Zn === void 0 ? !0 : Zn, Qn = r.autoResize, Hr = Qn === void 0 ? !0 : Qn, Jn = r.useResizeObserver, $r = Jn === void 0 ? !0 : Jn, ei = r.resizeDebounce, Wr = ei === void 0 ? 0 : ei, ti = r.maxResizeDebounce, Ur = ti === void 0 ? 100 : ti, ni = r.useFractionalSize, Yr = ni === void 0 ? !1 : ni, ii = r.externalRenderer, Gr = ii === void 0 ? null : ii, ri = r.renderExternal, Xr = ri === void 0 ? null : ri, C = a.call(this) || this;
|
|
5284
|
+
return C._initialized = !1, C._plugins = [], C._align = s, C._defaultIndex = u, C._horizontal = d, C._circular = c, C._circularFallback = m, C._bound = h, C._adaptive = y, C._panelsPerView = x, C._noPanelStyleOverride = R, C._resizeOnContentsReady = A, C._nested = B, C._virtual = Kn, C._needPanelThreshold = q, C._preventEventsBeforeInit = ae, C._deceleration = Ir, C._duration = Cr, C._easing = Rr, C._inputType = Sr, C._moveType = kr, C._threshold = Ar, C._interruptable = Lr, C._bounce = Dr, C._iOSEdgeSwipeThreshold = Mr, C._preventClickOnDrag = zr, C._preventDefaultOnDrag = Nr, C._disableOnInit = Fr, C._changeOnHold = Br, C._renderOnlyVisible = jr, C._autoInit = Vr, C._autoResize = Hr, C._useResizeObserver = $r, C._resizeDebounce = Wr, C._maxResizeDebounce = Ur, C._useFractionalSize = Yr, C._externalRenderer = Gr, C._renderExternal = Xr, C._viewport = new Qo(C, Yo(e)), C._autoResizer = new Jo(C), C._renderer = C._createRenderer(), C._camera = C._createCamera(), C._control = C._createControl(), C._virtualManager = new ts(C, Kn), C._autoInit && C.init(), C;
|
|
5277
5285
|
}
|
|
5278
5286
|
var t = i.prototype;
|
|
5279
5287
|
return Object.defineProperty(t, "control", {
|
|
@@ -6283,7 +6291,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6283
6291
|
hasDOMInElements: !0
|
|
6284
6292
|
}), u.batchInsert({
|
|
6285
6293
|
index: 0,
|
|
6286
|
-
elements:
|
|
6294
|
+
elements: _i(l.map(function(_) {
|
|
6287
6295
|
return _.html;
|
|
6288
6296
|
})),
|
|
6289
6297
|
hasDOMInElements: !0
|
|
@@ -6307,7 +6315,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6307
6315
|
for (var e = this, n = [], r = 0; r < arguments.length; r++)
|
|
6308
6316
|
n[r] = arguments[r];
|
|
6309
6317
|
return n.forEach(function(o) {
|
|
6310
|
-
var s =
|
|
6318
|
+
var s = Ko(e._plugins, function(l) {
|
|
6311
6319
|
return l === o;
|
|
6312
6320
|
});
|
|
6313
6321
|
s >= 0 && (o.destroy(), e._plugins.splice(s, 1));
|
|
@@ -6357,7 +6365,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6357
6365
|
throw new j($.NOT_ALLOWED_IN_FRAMEWORK, H.NOT_ALLOWED_IN_FRAMEWORK);
|
|
6358
6366
|
return this._renderer.batchInsert({
|
|
6359
6367
|
index: e,
|
|
6360
|
-
elements:
|
|
6368
|
+
elements: _i(n),
|
|
6361
6369
|
hasDOMInElements: !0
|
|
6362
6370
|
});
|
|
6363
6371
|
}, t.remove = function(e, n) {
|
|
@@ -6372,18 +6380,18 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6372
6380
|
var e, n = this._moveType, r = Object.keys(Ce).map(function(l) {
|
|
6373
6381
|
return Ce[l];
|
|
6374
6382
|
}), o = Array.isArray(n) ? n[0] : n, s = Array.isArray(n) ? (e = n[1]) !== null && e !== void 0 ? e : {} : {};
|
|
6375
|
-
if (!
|
|
6383
|
+
if (!pt(r, o))
|
|
6376
6384
|
throw new j($.WRONG_OPTION("moveType", JSON.stringify(n)), H.WRONG_OPTION);
|
|
6377
6385
|
switch (o) {
|
|
6378
6386
|
case Ce.SNAP:
|
|
6379
|
-
return new ss(s);
|
|
6380
|
-
case Ce.FREE_SCROLL:
|
|
6381
6387
|
return new ls(s);
|
|
6382
|
-
case Ce.
|
|
6388
|
+
case Ce.FREE_SCROLL:
|
|
6383
6389
|
return new us(s);
|
|
6390
|
+
case Ce.STRICT:
|
|
6391
|
+
return new cs(s);
|
|
6384
6392
|
}
|
|
6385
6393
|
}, t._createCamera = function() {
|
|
6386
|
-
return this._circular && this._bound && console.warn('"circular" and "bound" option cannot be used together, ignoring bound.'), new
|
|
6394
|
+
return this._circular && this._bound && console.warn('"circular" and "bound" option cannot be used together, ignoring bound.'), new hs(this, {
|
|
6387
6395
|
align: this._align
|
|
6388
6396
|
});
|
|
6389
6397
|
}, t._createRenderer = function() {
|
|
@@ -6396,10 +6404,10 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6396
6404
|
}, r));
|
|
6397
6405
|
}, t._createVanillaRenderer = function() {
|
|
6398
6406
|
var e = this.virtualEnabled;
|
|
6399
|
-
return new
|
|
6407
|
+
return new ds({
|
|
6400
6408
|
align: this._align,
|
|
6401
|
-
strategy: e ? new
|
|
6402
|
-
providerCtor:
|
|
6409
|
+
strategy: e ? new yr() : new mr({
|
|
6410
|
+
providerCtor: es
|
|
6403
6411
|
})
|
|
6404
6412
|
});
|
|
6405
6413
|
}, t._moveToInitialPanel = function() {
|
|
@@ -6430,8 +6438,8 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6430
6438
|
element: e.element
|
|
6431
6439
|
}));
|
|
6432
6440
|
}, i.VERSION = "4.11.3", i;
|
|
6433
|
-
}(we),
|
|
6434
|
-
[we.prototype,
|
|
6441
|
+
}(we), gs = function(a, i) {
|
|
6442
|
+
[we.prototype, br.prototype].forEach(function(t) {
|
|
6435
6443
|
Object.getOwnPropertyNames(t).filter(function(e) {
|
|
6436
6444
|
return !a[e] && e.indexOf("_") !== 0 && e !== "constructor";
|
|
6437
6445
|
}).forEach(function(e) {
|
|
@@ -6457,16 +6465,16 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6457
6465
|
}
|
|
6458
6466
|
});
|
|
6459
6467
|
});
|
|
6460
|
-
},
|
|
6468
|
+
}, ps = function(a, i, t) {
|
|
6461
6469
|
var e = a.renderer, n = e.panels, r = K(i.prevList), o = [], s = [];
|
|
6462
6470
|
if (i.removed.length > 0) {
|
|
6463
6471
|
var l = -1, u = -1;
|
|
6464
6472
|
i.removed.forEach(function(c) {
|
|
6465
|
-
l < 0 && (l = c), u >= 0 && c !== u - 1 && (s.push.apply(s, K(
|
|
6466
|
-
}), s.push.apply(s, K(
|
|
6473
|
+
l < 0 && (l = c), u >= 0 && c !== u - 1 && (s.push.apply(s, K(xi(e, u, l + 1))), l = c), u = c, r.splice(c, 1);
|
|
6474
|
+
}), s.push.apply(s, K(xi(e, u, l + 1)));
|
|
6467
6475
|
}
|
|
6468
6476
|
if (i.ordered.forEach(function(c) {
|
|
6469
|
-
var p =
|
|
6477
|
+
var p = On(c, 2), m = p[0], _ = p[1], h = n.splice(m, 1)[0];
|
|
6470
6478
|
n.splice(_, 0, h);
|
|
6471
6479
|
}), i.ordered.length > 0 && (n.forEach(function(c, p) {
|
|
6472
6480
|
var m = p - c.index;
|
|
@@ -6478,11 +6486,11 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6478
6486
|
})), i.added.length > 0) {
|
|
6479
6487
|
var f = -1, d = -1, v = t.slice(r.length);
|
|
6480
6488
|
i.added.forEach(function(c, p) {
|
|
6481
|
-
f < 0 && (f = p), d >= 0 && c !== d + 1 ? (o.push.apply(o, K(
|
|
6482
|
-
}), f >= 0 && o.push.apply(o, K(
|
|
6489
|
+
f < 0 && (f = p), d >= 0 && c !== d + 1 ? (o.push.apply(o, K(Oi(e, i, v, f, p + 1))), f = -1, d = -1) : d = c;
|
|
6490
|
+
}), f >= 0 && o.push.apply(o, K(Oi(e, i, v, f)));
|
|
6483
6491
|
}
|
|
6484
6492
|
(i.added.length > 0 || i.removed.length > 0) && e.updateAfterPanelChange(o, s);
|
|
6485
|
-
},
|
|
6493
|
+
}, Oi = function(a, i, t, e, n) {
|
|
6486
6494
|
return a.batchInsertDefer.apply(a, K(i.added.slice(e, n).map(function(r, o) {
|
|
6487
6495
|
return {
|
|
6488
6496
|
index: r,
|
|
@@ -6490,18 +6498,18 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6490
6498
|
hasDOMInElements: !1
|
|
6491
6499
|
};
|
|
6492
6500
|
})));
|
|
6493
|
-
},
|
|
6501
|
+
}, xi = function(a, i, t) {
|
|
6494
6502
|
var e = a.panels.slice(i, t);
|
|
6495
6503
|
return a.batchRemoveDefer({
|
|
6496
6504
|
index: i,
|
|
6497
6505
|
deleteCount: e.length,
|
|
6498
6506
|
hasDOMInElements: !1
|
|
6499
6507
|
});
|
|
6500
|
-
},
|
|
6508
|
+
}, _s = function(a, i) {
|
|
6501
6509
|
var t = i.removed.reduce(function(n, r) {
|
|
6502
6510
|
return n[r] = !0, n;
|
|
6503
6511
|
}, {}), e = i.maintained.reduce(function(n, r) {
|
|
6504
|
-
var o =
|
|
6512
|
+
var o = On(r, 2), s = o[0], l = o[1];
|
|
6505
6513
|
return n[s] = l, n;
|
|
6506
6514
|
}, {});
|
|
6507
6515
|
return K(a.panels.filter(function(n) {
|
|
@@ -6513,19 +6521,19 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6513
6521
|
}), i.added.map(function(n) {
|
|
6514
6522
|
return i.list[n];
|
|
6515
6523
|
}));
|
|
6516
|
-
},
|
|
6524
|
+
}, ms = function(a, i, t) {
|
|
6517
6525
|
a === void 0 && (a = pe.CENTER), i === void 0 && (i = !0);
|
|
6518
|
-
var e =
|
|
6526
|
+
var e = ys(a), n = bs(a);
|
|
6519
6527
|
if (n == null) return "";
|
|
6520
6528
|
var r = "calc(" + e + " - (" + (t || "0px") + " * " + n.percentage + ") - " + n.absolute + "px)";
|
|
6521
6529
|
return i ? "translate(" + r + ")" : "translate(0, " + r + ")";
|
|
6522
|
-
}, ms = function(a) {
|
|
6523
|
-
var i = typeof a == "object" ? a.camera : a;
|
|
6524
|
-
return br(i);
|
|
6525
6530
|
}, ys = function(a) {
|
|
6531
|
+
var i = typeof a == "object" ? a.camera : a;
|
|
6532
|
+
return Er(i);
|
|
6533
|
+
}, bs = function(a) {
|
|
6526
6534
|
var i = typeof a == "object" ? a.panel : a;
|
|
6527
|
-
return
|
|
6528
|
-
},
|
|
6535
|
+
return dr(Er(i));
|
|
6536
|
+
}, Er = function(a) {
|
|
6529
6537
|
if (typeof a == "number")
|
|
6530
6538
|
return a + "px";
|
|
6531
6539
|
switch (a) {
|
|
@@ -6538,7 +6546,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6538
6546
|
default:
|
|
6539
6547
|
return a;
|
|
6540
6548
|
}
|
|
6541
|
-
},
|
|
6549
|
+
}, Es = /* @__PURE__ */ function() {
|
|
6542
6550
|
function a(t, e) {
|
|
6543
6551
|
var n = this;
|
|
6544
6552
|
t === void 0 && (t = ""), e === void 0 && (e = 1), this.update = function() {
|
|
@@ -6585,7 +6593,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6585
6593
|
CLICK: "click",
|
|
6586
6594
|
MOUSE_DOWN: "mousedown",
|
|
6587
6595
|
TOUCH_START: "touchstart"
|
|
6588
|
-
},
|
|
6596
|
+
}, Lt = {
|
|
6589
6597
|
PREV_SELECTOR: ".flicking-arrow-prev",
|
|
6590
6598
|
NEXT_SELECTOR: ".flicking-arrow-next",
|
|
6591
6599
|
DISABLED_CLASS: "flicking-arrow-disabled"
|
|
@@ -6624,14 +6632,14 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6624
6632
|
var t = new RegExp("( |^)" + i + "( |$)", "g");
|
|
6625
6633
|
a.className.replace(t, " ");
|
|
6626
6634
|
}
|
|
6627
|
-
},
|
|
6635
|
+
}, Ti = function(a, i, t) {
|
|
6628
6636
|
var e = i.querySelector(a);
|
|
6629
6637
|
if (!e)
|
|
6630
6638
|
throw new Error("[Flicking-" + t + "] Couldn't find element with the given selector: " + a);
|
|
6631
6639
|
return e;
|
|
6632
|
-
},
|
|
6640
|
+
}, Ps = /* @__PURE__ */ function() {
|
|
6633
6641
|
function a(t) {
|
|
6634
|
-
var e = this, n = t === void 0 ? {} : t, r = n.parentEl, o = r === void 0 ? null : r, s = n.prevElSelector, l = s === void 0 ?
|
|
6642
|
+
var e = this, n = t === void 0 ? {} : t, r = n.parentEl, o = r === void 0 ? null : r, s = n.prevElSelector, l = s === void 0 ? Lt.PREV_SELECTOR : s, u = n.nextElSelector, f = u === void 0 ? Lt.NEXT_SELECTOR : u, d = n.disabledClass, v = d === void 0 ? Lt.DISABLED_CLASS : d, c = n.moveCount, p = c === void 0 ? 1 : c, m = n.moveByViewportSize, _ = m === void 0 ? !1 : m;
|
|
6635
6643
|
this._flicking = null, this._preventInputPropagation = function(h) {
|
|
6636
6644
|
h.stopPropagation();
|
|
6637
6645
|
}, this._onPrevClick = function() {
|
|
@@ -6736,7 +6744,7 @@ var Je = /* @__PURE__ */ function() {
|
|
|
6736
6744
|
}), i.init = function(t) {
|
|
6737
6745
|
var e = this;
|
|
6738
6746
|
this._flicking && this.destroy(), this._flicking = t, t.on(D.MOVE, this._onAnimation);
|
|
6739
|
-
var n = this._parentEl ? this._parentEl : t.element, r =
|
|
6747
|
+
var n = this._parentEl ? this._parentEl : t.element, r = Ti(this._prevElSelector, n, "Arrow"), o = Ti(this._nextElSelector, n, "Arrow");
|
|
6740
6748
|
[ce.MOUSE_DOWN, ce.TOUCH_START].forEach(function(s) {
|
|
6741
6749
|
r.addEventListener(s, e._preventInputPropagation, {
|
|
6742
6750
|
passive: !0
|
|
@@ -6774,29 +6782,29 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
6774
6782
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
6775
6783
|
PERFORMANCE OF THIS SOFTWARE.
|
|
6776
6784
|
***************************************************************************** */
|
|
6777
|
-
var
|
|
6778
|
-
return
|
|
6785
|
+
var fn = function(a, i) {
|
|
6786
|
+
return fn = Object.setPrototypeOf || {
|
|
6779
6787
|
__proto__: []
|
|
6780
6788
|
} instanceof Array && function(t, e) {
|
|
6781
6789
|
t.__proto__ = e;
|
|
6782
6790
|
} || function(t, e) {
|
|
6783
6791
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
6784
|
-
},
|
|
6792
|
+
}, fn(a, i);
|
|
6785
6793
|
};
|
|
6786
|
-
function
|
|
6794
|
+
function Cn(a, i) {
|
|
6787
6795
|
if (typeof i != "function" && i !== null) throw new TypeError("Class extends value " + String(i) + " is not a constructor or null");
|
|
6788
|
-
|
|
6796
|
+
fn(a, i);
|
|
6789
6797
|
function t() {
|
|
6790
6798
|
this.constructor = a;
|
|
6791
6799
|
}
|
|
6792
6800
|
a.prototype = i === null ? Object.create(i) : (t.prototype = i.prototype, new t());
|
|
6793
6801
|
}
|
|
6794
|
-
function
|
|
6802
|
+
function Os(a, i, t) {
|
|
6795
6803
|
if (t || arguments.length === 2) for (var e = 0, n = i.length, r; e < n; e++)
|
|
6796
6804
|
(r || !(e in i)) && (r || (r = Array.prototype.slice.call(i, 0, e)), r[e] = i[e]);
|
|
6797
6805
|
return a.concat(r || i);
|
|
6798
6806
|
}
|
|
6799
|
-
var
|
|
6807
|
+
var Rn = /* @__PURE__ */ function() {
|
|
6800
6808
|
function a(t) {
|
|
6801
6809
|
var e = t.flicking, n = t.pagination, r = t.wrapper;
|
|
6802
6810
|
this._flicking = e, this._pagination = n, this._wrapper = r;
|
|
@@ -6820,8 +6828,8 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
6820
6828
|
});
|
|
6821
6829
|
});
|
|
6822
6830
|
}, a;
|
|
6823
|
-
}(),
|
|
6824
|
-
|
|
6831
|
+
}(), xs = /* @__PURE__ */ function(a) {
|
|
6832
|
+
Cn(i, a);
|
|
6825
6833
|
function i() {
|
|
6826
6834
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
6827
6835
|
return e._bullets = [], e._prevIndex = -1, e;
|
|
@@ -6875,8 +6883,8 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
6875
6883
|
}
|
|
6876
6884
|
}
|
|
6877
6885
|
}, i;
|
|
6878
|
-
}(
|
|
6879
|
-
|
|
6886
|
+
}(Rn), Ts = /* @__PURE__ */ function(a) {
|
|
6887
|
+
Cn(i, a);
|
|
6880
6888
|
function i() {
|
|
6881
6889
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
6882
6890
|
return e._prevIndex = -1, e._prevTotal = -1, e;
|
|
@@ -6894,8 +6902,8 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
6894
6902
|
v.innerHTML = o.fractionCurrentFormat(l), c.innerHTML = o.fractionTotalFormat(u), this._prevIndex = l, this._prevTotal = u;
|
|
6895
6903
|
}
|
|
6896
6904
|
}, i;
|
|
6897
|
-
}(
|
|
6898
|
-
|
|
6905
|
+
}(Rn), ws = /* @__PURE__ */ function(a) {
|
|
6906
|
+
Cn(i, a);
|
|
6899
6907
|
function i() {
|
|
6900
6908
|
var e = a !== null && a.apply(this, arguments) || this;
|
|
6901
6909
|
return e._bullets = [], e._bulletSize = 0, e._previousIndex = -1, e._sliderIndex = -1, e.moveTo = function(n) {
|
|
@@ -6952,12 +6960,12 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
6952
6960
|
prevIndex: s,
|
|
6953
6961
|
sliderIndex: this._sliderIndex,
|
|
6954
6962
|
direction: v > s ? N.NEXT : N.PREV,
|
|
6955
|
-
bullets:
|
|
6963
|
+
bullets: Os([], o),
|
|
6956
6964
|
moveTo: this.moveTo
|
|
6957
6965
|
}), this._previousIndex = v;
|
|
6958
6966
|
}
|
|
6959
6967
|
}, i;
|
|
6960
|
-
}(
|
|
6968
|
+
}(Rn), Is = /* @__PURE__ */ function() {
|
|
6961
6969
|
function a(t) {
|
|
6962
6970
|
var e = this, n = t === void 0 ? {} : t, r = n.parentEl, o = r === void 0 ? null : r, s = n.selector, l = s === void 0 ? X.SELECTOR : s, u = n.type, f = u === void 0 ? X.TYPE.BULLET : u, d = n.classPrefix, v = d === void 0 ? X.PREFIX : d, c = n.bulletCount, p = c === void 0 ? 5 : c, m = n.renderBullet, _ = m === void 0 ? function(B) {
|
|
6963
6971
|
return '<span class="' + B + '"></span>';
|
|
@@ -7096,11 +7104,11 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
7096
7104
|
};
|
|
7097
7105
|
switch (t) {
|
|
7098
7106
|
case X.TYPE.BULLET:
|
|
7099
|
-
return new Os(e);
|
|
7100
|
-
case X.TYPE.FRACTION:
|
|
7101
7107
|
return new xs(e);
|
|
7102
|
-
case X.TYPE.
|
|
7108
|
+
case X.TYPE.FRACTION:
|
|
7103
7109
|
return new Ts(e);
|
|
7110
|
+
case X.TYPE.SCROLL:
|
|
7111
|
+
return new ws(e);
|
|
7104
7112
|
default:
|
|
7105
7113
|
throw new Error('[Flicking-Pagination] type "' + t + '" is not supported.');
|
|
7106
7114
|
}
|
|
@@ -7108,7 +7116,7 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
7108
7116
|
for (var t = this._wrapper; t.firstChild; )
|
|
7109
7117
|
t.removeChild(t.firstChild);
|
|
7110
7118
|
}, a;
|
|
7111
|
-
}(),
|
|
7119
|
+
}(), Cs = /* @__PURE__ */ function() {
|
|
7112
7120
|
function a() {
|
|
7113
7121
|
this.keys = [], this.values = [];
|
|
7114
7122
|
}
|
|
@@ -7119,7 +7127,7 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
7119
7127
|
var n = this.keys, r = this.values, o = n.indexOf(t), s = o === -1 ? n.length : o;
|
|
7120
7128
|
n[s] = t, r[s] = e;
|
|
7121
7129
|
}, a;
|
|
7122
|
-
}(),
|
|
7130
|
+
}(), Rs = /* @__PURE__ */ function() {
|
|
7123
7131
|
function a() {
|
|
7124
7132
|
this.object = {};
|
|
7125
7133
|
}
|
|
@@ -7129,7 +7137,7 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
7129
7137
|
}, i.set = function(t, e) {
|
|
7130
7138
|
this.object[t] = e;
|
|
7131
7139
|
}, a;
|
|
7132
|
-
}(),
|
|
7140
|
+
}(), Ss = typeof Map == "function", ks = /* @__PURE__ */ function() {
|
|
7133
7141
|
function a() {
|
|
7134
7142
|
}
|
|
7135
7143
|
var i = a.prototype;
|
|
@@ -7144,10 +7152,10 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
7144
7152
|
return e;
|
|
7145
7153
|
}, a;
|
|
7146
7154
|
}();
|
|
7147
|
-
function
|
|
7155
|
+
function As(a, i) {
|
|
7148
7156
|
var t = [], e = [];
|
|
7149
7157
|
return a.forEach(function(n) {
|
|
7150
|
-
var r = n[0], o = n[1], s = new
|
|
7158
|
+
var r = n[0], o = n[1], s = new ks();
|
|
7151
7159
|
t[r] = s, e[o] = s;
|
|
7152
7160
|
}), t.forEach(function(n, r) {
|
|
7153
7161
|
n.connect(t[r - 1]);
|
|
@@ -7163,7 +7171,7 @@ function ks(a, i) {
|
|
|
7163
7171
|
return [f, d];
|
|
7164
7172
|
});
|
|
7165
7173
|
}
|
|
7166
|
-
var
|
|
7174
|
+
var Ls = /* @__PURE__ */ function() {
|
|
7167
7175
|
function a(t, e, n, r, o, s, l, u) {
|
|
7168
7176
|
this.prevList = t, this.list = e, this.added = n, this.removed = r, this.changed = o, this.maintained = s, this.changedBeforeAdded = l, this.fixed = u;
|
|
7169
7177
|
}
|
|
@@ -7181,7 +7189,7 @@ var As = /* @__PURE__ */ function() {
|
|
|
7181
7189
|
enumerable: !0,
|
|
7182
7190
|
configurable: !0
|
|
7183
7191
|
}), i.caculateOrdered = function() {
|
|
7184
|
-
var t =
|
|
7192
|
+
var t = As(this.changedBeforeAdded, this.fixed), e = this.changed, n = [];
|
|
7185
7193
|
this.cacheOrdered = t.filter(function(r, o) {
|
|
7186
7194
|
var s = r[0], l = r[1], u = e[o], f = u[0], d = u[1];
|
|
7187
7195
|
if (s !== l)
|
|
@@ -7189,8 +7197,8 @@ var As = /* @__PURE__ */ function() {
|
|
|
7189
7197
|
}), this.cachePureChanged = n;
|
|
7190
7198
|
}, a;
|
|
7191
7199
|
}();
|
|
7192
|
-
function
|
|
7193
|
-
var e =
|
|
7200
|
+
function Ds(a, i, t) {
|
|
7201
|
+
var e = Ss ? Map : t ? Rs : Cs, n = t || function(g) {
|
|
7194
7202
|
return g;
|
|
7195
7203
|
}, r = [], o = [], s = [], l = a.map(n), u = i.map(n), f = new e(), d = new e(), v = [], c = [], p = {}, m = [], _ = 0, h = 0;
|
|
7196
7204
|
return l.forEach(function(g, y) {
|
|
@@ -7203,15 +7211,15 @@ function Ls(a, i, t) {
|
|
|
7203
7211
|
}), u.forEach(function(g, y) {
|
|
7204
7212
|
var E = f.get(g);
|
|
7205
7213
|
typeof E > "u" ? (r.push(y), ++_) : (s.push([E, y]), h = p[y] || 0, v.push([E - h, y - _]), c.push(y === E), E !== y && m.push([E, y]));
|
|
7206
|
-
}), o.reverse(), new
|
|
7214
|
+
}), o.reverse(), new Ls(a, i, r, o, m, s, v, c);
|
|
7207
7215
|
}
|
|
7208
|
-
var
|
|
7216
|
+
var wi = /* @__PURE__ */ function() {
|
|
7209
7217
|
function a(t, e) {
|
|
7210
7218
|
t === void 0 && (t = []), this.findKeyCallback = e, this.list = [].slice.call(t);
|
|
7211
7219
|
}
|
|
7212
7220
|
var i = a.prototype;
|
|
7213
7221
|
return i.update = function(t) {
|
|
7214
|
-
var e = [].slice.call(t), n =
|
|
7222
|
+
var e = [].slice.call(t), n = Ds(this.list, e, this.findKeyCallback);
|
|
7215
7223
|
return this.list = e, n;
|
|
7216
7224
|
}, a;
|
|
7217
7225
|
}();
|
|
@@ -7229,40 +7237,40 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
7229
7237
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
7230
7238
|
PERFORMANCE OF THIS SOFTWARE.
|
|
7231
7239
|
***************************************************************************** */
|
|
7232
|
-
var
|
|
7233
|
-
return
|
|
7240
|
+
var hn = function(a, i) {
|
|
7241
|
+
return hn = Object.setPrototypeOf || {
|
|
7234
7242
|
__proto__: []
|
|
7235
7243
|
} instanceof Array && function(t, e) {
|
|
7236
7244
|
t.__proto__ = e;
|
|
7237
7245
|
} || function(t, e) {
|
|
7238
7246
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
7239
|
-
},
|
|
7247
|
+
}, hn(a, i);
|
|
7240
7248
|
};
|
|
7241
|
-
function
|
|
7249
|
+
function Ms(a, i) {
|
|
7242
7250
|
if (typeof i != "function" && i !== null) throw new TypeError("Class extends value " + String(i) + " is not a constructor or null");
|
|
7243
|
-
|
|
7251
|
+
hn(a, i);
|
|
7244
7252
|
function t() {
|
|
7245
7253
|
this.constructor = a;
|
|
7246
7254
|
}
|
|
7247
7255
|
a.prototype = i === null ? Object.create(i) : (t.prototype = i.prototype, new t());
|
|
7248
7256
|
}
|
|
7249
|
-
var
|
|
7250
|
-
return
|
|
7257
|
+
var yt = function() {
|
|
7258
|
+
return yt = Object.assign || function(i) {
|
|
7251
7259
|
for (var t, e = 1, n = arguments.length; e < n; e++) {
|
|
7252
7260
|
t = arguments[e];
|
|
7253
7261
|
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (i[r] = t[r]);
|
|
7254
7262
|
}
|
|
7255
7263
|
return i;
|
|
7256
|
-
},
|
|
7264
|
+
}, yt.apply(this, arguments);
|
|
7257
7265
|
};
|
|
7258
|
-
function
|
|
7266
|
+
function zs(a, i) {
|
|
7259
7267
|
var t = {};
|
|
7260
7268
|
for (var e in a) Object.prototype.hasOwnProperty.call(a, e) && i.indexOf(e) < 0 && (t[e] = a[e]);
|
|
7261
7269
|
if (a != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, e = Object.getOwnPropertySymbols(a); n < e.length; n++)
|
|
7262
7270
|
i.indexOf(e[n]) < 0 && Object.prototype.propertyIsEnumerable.call(a, e[n]) && (t[e[n]] = a[e[n]]);
|
|
7263
7271
|
return t;
|
|
7264
7272
|
}
|
|
7265
|
-
function
|
|
7273
|
+
function Ii(a, i, t, e) {
|
|
7266
7274
|
function n(r) {
|
|
7267
7275
|
return r instanceof t ? r : new t(function(o) {
|
|
7268
7276
|
o(r);
|
|
@@ -7289,7 +7297,7 @@ function wi(a, i, t, e) {
|
|
|
7289
7297
|
u((e = e.apply(a, i || [])).next());
|
|
7290
7298
|
});
|
|
7291
7299
|
}
|
|
7292
|
-
function
|
|
7300
|
+
function Ci(a, i) {
|
|
7293
7301
|
var t = {
|
|
7294
7302
|
label: 0,
|
|
7295
7303
|
sent: function() {
|
|
@@ -7364,12 +7372,12 @@ function Ii(a, i) {
|
|
|
7364
7372
|
};
|
|
7365
7373
|
}
|
|
7366
7374
|
}
|
|
7367
|
-
function
|
|
7375
|
+
function Dt(a, i, t) {
|
|
7368
7376
|
if (t || arguments.length === 2) for (var e = 0, n = i.length, r; e < n; e++)
|
|
7369
7377
|
(r || !(e in i)) && (r || (r = Array.prototype.slice.call(i, 0, e)), r[e] = i[e]);
|
|
7370
7378
|
return a.concat(r || Array.prototype.slice.call(i));
|
|
7371
7379
|
}
|
|
7372
|
-
var
|
|
7380
|
+
var Ns = {
|
|
7373
7381
|
viewportTag: {
|
|
7374
7382
|
type: String,
|
|
7375
7383
|
default: "div",
|
|
@@ -7412,17 +7420,17 @@ var zs = {
|
|
|
7412
7420
|
type: Object,
|
|
7413
7421
|
required: !1
|
|
7414
7422
|
}
|
|
7415
|
-
},
|
|
7416
|
-
|
|
7423
|
+
}, Fs = /* @__PURE__ */ function(a) {
|
|
7424
|
+
Ms(i, a);
|
|
7417
7425
|
function i(e) {
|
|
7418
7426
|
var n = a.call(this, e) || this;
|
|
7419
7427
|
return n._vueFlicking = e.vueFlicking, n;
|
|
7420
7428
|
}
|
|
7421
7429
|
var t = i.prototype;
|
|
7422
7430
|
return t.render = function() {
|
|
7423
|
-
return
|
|
7431
|
+
return Ii(this, void 0, void 0, function() {
|
|
7424
7432
|
var e, n, r, o = this;
|
|
7425
|
-
return
|
|
7433
|
+
return Ci(this, function(s) {
|
|
7426
7434
|
return e = k(this._flicking), n = this._vueFlicking, r = this._strategy, r.updateRenderingPanels(e), r.renderPanels(e), [
|
|
7427
7435
|
2,
|
|
7428
7436
|
new Promise(function(l) {
|
|
@@ -7434,9 +7442,9 @@ var zs = {
|
|
|
7434
7442
|
});
|
|
7435
7443
|
});
|
|
7436
7444
|
}, t.forceRenderAllPanels = function() {
|
|
7437
|
-
return
|
|
7445
|
+
return Ii(this, void 0, void 0, function() {
|
|
7438
7446
|
var e;
|
|
7439
|
-
return
|
|
7447
|
+
return Ci(this, function(n) {
|
|
7440
7448
|
switch (n.label) {
|
|
7441
7449
|
case 0:
|
|
7442
7450
|
return e = this._vueFlicking, [
|
|
@@ -7461,7 +7469,7 @@ var zs = {
|
|
|
7461
7469
|
}, t._createPanel = function(e, n) {
|
|
7462
7470
|
return this._strategy.createPanel(e, n);
|
|
7463
7471
|
}, i;
|
|
7464
|
-
}(
|
|
7472
|
+
}(vs), Bs = re({
|
|
7465
7473
|
data: function() {
|
|
7466
7474
|
return {
|
|
7467
7475
|
hide: !1
|
|
@@ -7471,7 +7479,7 @@ var zs = {
|
|
|
7471
7479
|
if (!(this.hide || !this.$slots.default))
|
|
7472
7480
|
return this.$slots.default();
|
|
7473
7481
|
}
|
|
7474
|
-
}),
|
|
7482
|
+
}), js = /* @__PURE__ */ function() {
|
|
7475
7483
|
function a(t) {
|
|
7476
7484
|
this._el = t;
|
|
7477
7485
|
}
|
|
@@ -7494,10 +7502,10 @@ var zs = {
|
|
|
7494
7502
|
}, i.hide = function() {
|
|
7495
7503
|
this._el.hide = !0;
|
|
7496
7504
|
}, a;
|
|
7497
|
-
}(),
|
|
7498
|
-
props:
|
|
7505
|
+
}(), Vs = re({
|
|
7506
|
+
props: Ns,
|
|
7499
7507
|
components: {
|
|
7500
|
-
Panel:
|
|
7508
|
+
Panel: Bs
|
|
7501
7509
|
},
|
|
7502
7510
|
data: function() {
|
|
7503
7511
|
return {};
|
|
@@ -7505,8 +7513,8 @@ var zs = {
|
|
|
7505
7513
|
created: function() {
|
|
7506
7514
|
var a = this;
|
|
7507
7515
|
this.vanillaFlicking = null, this.renderEmitter = new we(), this.diffResult = null, this.getPanels = function() {
|
|
7508
|
-
var i =
|
|
7509
|
-
return
|
|
7516
|
+
var i = Kr(), t = i?.ctx, e = a.vanillaFlicking, n = a.getSlots(), r = t?.diffResult, o = r ? _s(e, r) : n, s = Zr("Panel"), l = o.map(function(u, f) {
|
|
7517
|
+
return tt(s, {
|
|
7510
7518
|
key: u.key,
|
|
7511
7519
|
ref: f.toString()
|
|
7512
7520
|
}, function() {
|
|
@@ -7521,7 +7529,7 @@ var zs = {
|
|
|
7521
7529
|
height: l.size
|
|
7522
7530
|
} : {};
|
|
7523
7531
|
return s.map(function(f) {
|
|
7524
|
-
return
|
|
7532
|
+
return tt("div", {
|
|
7525
7533
|
key: f,
|
|
7526
7534
|
ref: f.toString(),
|
|
7527
7535
|
class: e,
|
|
@@ -7529,25 +7537,25 @@ var zs = {
|
|
|
7529
7537
|
"data-element-index": f
|
|
7530
7538
|
});
|
|
7531
7539
|
});
|
|
7532
|
-
},
|
|
7540
|
+
}, gs(this, "vanillaFlicking");
|
|
7533
7541
|
},
|
|
7534
7542
|
mounted: function() {
|
|
7535
7543
|
var a = this, i, t = this.options, e = this.$el, n = {
|
|
7536
7544
|
vueFlicking: this,
|
|
7537
7545
|
align: t.align,
|
|
7538
|
-
strategy: t.virtual && ((i = t.panelsPerView) !== null && i !== void 0 ? i : -1) > 0 ? new
|
|
7539
|
-
providerCtor:
|
|
7546
|
+
strategy: t.virtual && ((i = t.panelsPerView) !== null && i !== void 0 ? i : -1) > 0 ? new yr() : new mr({
|
|
7547
|
+
providerCtor: js
|
|
7540
7548
|
})
|
|
7541
|
-
}, r = new
|
|
7542
|
-
externalRenderer: new
|
|
7549
|
+
}, r = new br(e, yt(yt({}, t), {
|
|
7550
|
+
externalRenderer: new Fs(n)
|
|
7543
7551
|
}));
|
|
7544
7552
|
this.vanillaFlicking = r, r.once(D.READY, function() {
|
|
7545
7553
|
a.$forceUpdate();
|
|
7546
7554
|
});
|
|
7547
7555
|
var o = this.getSlots();
|
|
7548
|
-
this.slotDiffer = new
|
|
7556
|
+
this.slotDiffer = new wi(o, function(s) {
|
|
7549
7557
|
return s.key;
|
|
7550
|
-
}), this.pluginsDiffer = new
|
|
7558
|
+
}), this.pluginsDiffer = new wi(), this.bindEvents(), this.checkPlugins(), this.status && r.setStatus(this.status);
|
|
7551
7559
|
},
|
|
7552
7560
|
beforeUnmount: function() {
|
|
7553
7561
|
var a;
|
|
@@ -7563,7 +7571,7 @@ var zs = {
|
|
|
7563
7571
|
var a = this.vanillaFlicking, i = this.diffResult;
|
|
7564
7572
|
if (this.checkPlugins(), this.renderEmitter.trigger("render"), !(!i || !a?.initialized)) {
|
|
7565
7573
|
var t = this.getChildren();
|
|
7566
|
-
|
|
7574
|
+
ps(a, i, t), (i.added.length > 0 || i.removed.length > 0) && this.$forceUpdate(), this.diffResult = void 0;
|
|
7567
7575
|
}
|
|
7568
7576
|
},
|
|
7569
7577
|
render: function() {
|
|
@@ -7578,10 +7586,10 @@ var zs = {
|
|
|
7578
7586
|
"flicking-camera": !0
|
|
7579
7587
|
}, a[this.cameraClass] = !!this.cameraClass, a),
|
|
7580
7588
|
style: !n && this.firstPanelSize ? {
|
|
7581
|
-
transform:
|
|
7589
|
+
transform: ms(this.options.align, this.options.horizontal, this.firstPanelSize)
|
|
7582
7590
|
} : {}
|
|
7583
7591
|
}, l = e.virtual && e.panelsPerView && e.panelsPerView > 0 ? this.getVirtualPanels : this.getPanels, u = this.$slots.viewport ? this.$slots.viewport() : [];
|
|
7584
|
-
return
|
|
7592
|
+
return tt(this.viewportTag, o, Dt([tt(this.cameraTag, s, {
|
|
7585
7593
|
default: l
|
|
7586
7594
|
})], u, !0));
|
|
7587
7595
|
},
|
|
@@ -7589,9 +7597,9 @@ var zs = {
|
|
|
7589
7597
|
getSlots: function() {
|
|
7590
7598
|
var a = this, i = this.$slots.default ? this.$slots.default() : [];
|
|
7591
7599
|
return i.reduce(function(t, e) {
|
|
7592
|
-
return
|
|
7600
|
+
return Dt(Dt([], t, !0), a.getElementVNodes(e), !0);
|
|
7593
7601
|
}, []).filter(function(t) {
|
|
7594
|
-
return t.type !==
|
|
7602
|
+
return t.type !== Qr && t.type !== Jr;
|
|
7595
7603
|
});
|
|
7596
7604
|
},
|
|
7597
7605
|
getElementVNodes: function(a, i) {
|
|
@@ -7639,7 +7647,7 @@ var zs = {
|
|
|
7639
7647
|
var i = this.vanillaFlicking;
|
|
7640
7648
|
if (i) {
|
|
7641
7649
|
a.virtual;
|
|
7642
|
-
var t =
|
|
7650
|
+
var t = zs(a, ["virtual"]);
|
|
7643
7651
|
for (var e in t)
|
|
7644
7652
|
e in i && i[e] !== t[e] && (i[e] = t[e]);
|
|
7645
7653
|
}
|
|
@@ -7649,7 +7657,7 @@ var zs = {
|
|
|
7649
7657
|
}
|
|
7650
7658
|
}
|
|
7651
7659
|
});
|
|
7652
|
-
const
|
|
7660
|
+
const Hs = (a) => (zi("data-v-55a1387c"), a = a(), Ni(), a), $s = { class: "konnectio-gallery-arrow-container" }, Ws = { class: "flicking-arrow-prev konnectio-gallery-arrows" }, Us = { class: "flicking-arrow-next konnectio-gallery-arrows" }, Ys = /* @__PURE__ */ Hs(() => /* @__PURE__ */ b("div", { class: "flicking-pagination" }, null, -1)), Gs = ["src"], Xs = ["src"], qs = /* @__PURE__ */ re({
|
|
7653
7661
|
__name: "Gallery",
|
|
7654
7662
|
props: {
|
|
7655
7663
|
gallery: {},
|
|
@@ -7681,14 +7689,14 @@ const Vs = (a) => (Mi("data-v-55a1387c"), a = a(), zi(), a), Hs = { class: "konn
|
|
|
7681
7689
|
u(v);
|
|
7682
7690
|
});
|
|
7683
7691
|
const d = Q(() => e.gallery && e.gallery.length > 1);
|
|
7684
|
-
return
|
|
7692
|
+
return Et(() => {
|
|
7685
7693
|
r.value = [
|
|
7694
|
+
new Ps(),
|
|
7686
7695
|
new Es(),
|
|
7687
|
-
new
|
|
7688
|
-
new ws({ type: e.pagination })
|
|
7696
|
+
new Is({ type: e.pagination })
|
|
7689
7697
|
];
|
|
7690
7698
|
}), (v, c) => (O(), T("div", null, [
|
|
7691
|
-
d.value ? (O(), he(P(
|
|
7699
|
+
d.value ? (O(), he(P(Vs), {
|
|
7692
7700
|
key: 0,
|
|
7693
7701
|
ref_key: "slideshow",
|
|
7694
7702
|
ref: n,
|
|
@@ -7705,20 +7713,20 @@ const Vs = (a) => (Mi("data-v-55a1387c"), a = a(), zi(), a), Hs = { class: "konn
|
|
|
7705
7713
|
onChanged: l
|
|
7706
7714
|
}, {
|
|
7707
7715
|
viewport: Oe(() => [
|
|
7708
|
-
b("div",
|
|
7716
|
+
b("div", $s, [
|
|
7709
7717
|
v.isListing ? (O(), T("div", {
|
|
7710
7718
|
key: 0,
|
|
7711
7719
|
class: "konnectio-gallery-image-overlay",
|
|
7712
7720
|
onClick: be(f, ["prevent"])
|
|
7713
7721
|
})) : M("", !0),
|
|
7714
|
-
b("span",
|
|
7722
|
+
b("span", Ws, [
|
|
7715
7723
|
z(Me, {
|
|
7716
7724
|
icon: "circle-arrow-left",
|
|
7717
7725
|
type: "fas",
|
|
7718
7726
|
color: "header"
|
|
7719
7727
|
})
|
|
7720
7728
|
]),
|
|
7721
|
-
b("span",
|
|
7729
|
+
b("span", Us, [
|
|
7722
7730
|
z(Me, {
|
|
7723
7731
|
icon: "circle-arrow-right",
|
|
7724
7732
|
type: "fas",
|
|
@@ -7726,7 +7734,7 @@ const Vs = (a) => (Mi("data-v-55a1387c"), a = a(), zi(), a), Hs = { class: "konn
|
|
|
7726
7734
|
})
|
|
7727
7735
|
])
|
|
7728
7736
|
]),
|
|
7729
|
-
|
|
7737
|
+
Ys
|
|
7730
7738
|
]),
|
|
7731
7739
|
default: Oe(() => [
|
|
7732
7740
|
(O(!0), T(ue, null, _e(v.gallery, ({ large: p, url: m }, _) => (O(), T("div", {
|
|
@@ -7747,20 +7755,20 @@ const Vs = (a) => (Mi("data-v-55a1387c"), a = a(), zi(), a), Hs = { class: "konn
|
|
|
7747
7755
|
]),
|
|
7748
7756
|
src: v.gallery[0].large || v.gallery[0].url,
|
|
7749
7757
|
onClick: be(f, ["prevent"])
|
|
7750
|
-
}, null, 10,
|
|
7758
|
+
}, null, 10, Xs)) : M("", !0)
|
|
7751
7759
|
]));
|
|
7752
7760
|
}
|
|
7753
|
-
}),
|
|
7761
|
+
}), Pr = /* @__PURE__ */ de(qs, [["__scopeId", "data-v-55a1387c"]]), Ks = { key: 0 }, Zs = { class: "konnectio-listing-side-panel" }, Qs = ["innerHTML"], Js = {
|
|
7754
7762
|
key: 1,
|
|
7755
7763
|
class: "konnectio-listing-side-panel-facilities"
|
|
7756
|
-
},
|
|
7764
|
+
}, el = {
|
|
7757
7765
|
class: "konnectio-listing-side-panel-facilities-masonry",
|
|
7758
7766
|
"transition-duration": "0.3s",
|
|
7759
7767
|
"destroy-delay": 0,
|
|
7760
7768
|
"percent-position": !0,
|
|
7761
7769
|
"column-width": ".grid-sizer",
|
|
7762
7770
|
"item-selector": ".konnectio-masonry-facility"
|
|
7763
|
-
},
|
|
7771
|
+
}, tl = { class: "grid-sizer" }, nl = { class: "konnectio-listing-side-panel-share" }, il = /* @__PURE__ */ re({
|
|
7764
7772
|
__name: "ListingInfo",
|
|
7765
7773
|
props: {
|
|
7766
7774
|
title: {},
|
|
@@ -7779,10 +7787,10 @@ const Vs = (a) => (Mi("data-v-55a1387c"), a = a(), zi(), a), Hs = { class: "konn
|
|
|
7779
7787
|
currentArrivalDate: s,
|
|
7780
7788
|
currentDepartureDate: l,
|
|
7781
7789
|
currentLocation: u
|
|
7782
|
-
} = me(
|
|
7790
|
+
} = me(Fi()), {
|
|
7783
7791
|
currentEventDate: f,
|
|
7784
7792
|
currentEventLocation: d
|
|
7785
|
-
} = me(
|
|
7793
|
+
} = me(ma());
|
|
7786
7794
|
function v(E) {
|
|
7787
7795
|
const x = E.getFullYear();
|
|
7788
7796
|
let w = E.getMonth() + 1, R = E.getDate();
|
|
@@ -7795,33 +7803,33 @@ const Vs = (a) => (Mi("data-v-55a1387c"), a = a(), zi(), a), Hs = { class: "konn
|
|
|
7795
7803
|
const _ = Q({
|
|
7796
7804
|
get: () => n.idx,
|
|
7797
7805
|
set: (E) => m(E)
|
|
7798
|
-
}), h = oe("testVueMasonry"), g =
|
|
7806
|
+
}), h = oe("testVueMasonry"), g = ea("redrawVueMasonry");
|
|
7799
7807
|
function y() {
|
|
7800
7808
|
g("testVueMasonry");
|
|
7801
7809
|
}
|
|
7802
7810
|
return (E, x) => {
|
|
7803
|
-
const w =
|
|
7804
|
-
return O(), he(
|
|
7811
|
+
const w = Yt("masonry-tile"), R = Yt("masonry");
|
|
7812
|
+
return O(), he(ga, {
|
|
7805
7813
|
title: E.title,
|
|
7806
7814
|
onOpened: y
|
|
7807
|
-
},
|
|
7815
|
+
}, ta({
|
|
7808
7816
|
default: Oe(() => [
|
|
7809
|
-
E.gallery ? (O(), T("div",
|
|
7810
|
-
z(
|
|
7817
|
+
E.gallery ? (O(), T("div", Ks, [
|
|
7818
|
+
z(Pr, {
|
|
7811
7819
|
gallery: E.gallery,
|
|
7812
7820
|
idx: _.value,
|
|
7813
7821
|
"onUpdate:idx": x[0] || (x[0] = (S) => _.value = S)
|
|
7814
7822
|
}, null, 8, ["gallery", "idx"])
|
|
7815
7823
|
])) : M("", !0),
|
|
7816
|
-
b("div",
|
|
7824
|
+
b("div", Zs, [
|
|
7817
7825
|
E.description ? (O(), T("div", {
|
|
7818
7826
|
key: 0,
|
|
7819
7827
|
class: "konnectio-listing-side-panel-description",
|
|
7820
|
-
innerHTML: P(
|
|
7821
|
-
}, null, 8,
|
|
7822
|
-
E.facilities && E.facilities.length !== 0 ? (O(), T("div",
|
|
7823
|
-
ke((O(), T("ul",
|
|
7824
|
-
ke(b("div",
|
|
7828
|
+
innerHTML: P(Bi)(E.description)
|
|
7829
|
+
}, null, 8, Qs)) : M("", !0),
|
|
7830
|
+
E.facilities && E.facilities.length !== 0 ? (O(), T("div", Js, [
|
|
7831
|
+
ke((O(), T("ul", el, [
|
|
7832
|
+
ke(b("div", tl, null, 512), [
|
|
7825
7833
|
[w]
|
|
7826
7834
|
]),
|
|
7827
7835
|
(O(!0), T(ue, null, _e(E.facilities, ({ name: S, subFacilities: A }, V) => ke((O(), T("li", {
|
|
@@ -7850,8 +7858,8 @@ const Vs = (a) => (Mi("data-v-55a1387c"), a = a(), zi(), a), Hs = { class: "konn
|
|
|
7850
7858
|
E.type === "hotel" || E.type === "event" || E.type === "template" ? {
|
|
7851
7859
|
name: "footer",
|
|
7852
7860
|
fn: Oe(() => [
|
|
7853
|
-
b("div",
|
|
7854
|
-
E.type === "hotel" || E.type === "template" ? (O(), he(
|
|
7861
|
+
b("div", nl, [
|
|
7862
|
+
E.type === "hotel" || E.type === "template" ? (O(), he(oi, {
|
|
7855
7863
|
key: 0,
|
|
7856
7864
|
modelValue: c.value,
|
|
7857
7865
|
"onUpdate:modelValue": x[1] || (x[1] = (S) => c.value = S),
|
|
@@ -7861,7 +7869,7 @@ const Vs = (a) => (Mi("data-v-55a1387c"), a = a(), zi(), a), Hs = { class: "konn
|
|
|
7861
7869
|
label: P(e)("hotel.shareThis"),
|
|
7862
7870
|
readonly: "",
|
|
7863
7871
|
clipboard: ""
|
|
7864
|
-
}, null, 8, ["modelValue", "label"])) : E.type === "event" ? (O(), he(
|
|
7872
|
+
}, null, 8, ["modelValue", "label"])) : E.type === "event" ? (O(), he(oi, {
|
|
7865
7873
|
key: 1,
|
|
7866
7874
|
modelValue: p.value,
|
|
7867
7875
|
"onUpdate:modelValue": x[2] || (x[2] = (S) => p.value = S),
|
|
@@ -7879,44 +7887,44 @@ const Vs = (a) => (Mi("data-v-55a1387c"), a = a(), zi(), a), Hs = { class: "konn
|
|
|
7879
7887
|
]), 1032, ["title"]);
|
|
7880
7888
|
};
|
|
7881
7889
|
}
|
|
7882
|
-
}),
|
|
7883
|
-
var Dt = null;
|
|
7884
|
-
function rl(a) {
|
|
7885
|
-
return Dt || (Dt = (window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(i) {
|
|
7886
|
-
return setTimeout(i, 16);
|
|
7887
|
-
}).bind(window)), Dt(a);
|
|
7888
|
-
}
|
|
7890
|
+
}), rl = /* @__PURE__ */ de(il, [["__scopeId", "data-v-58f7b798"]]);
|
|
7889
7891
|
var Mt = null;
|
|
7890
7892
|
function al(a) {
|
|
7891
|
-
Mt || (Mt = (window.
|
|
7892
|
-
|
|
7893
|
+
return Mt || (Mt = (window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(i) {
|
|
7894
|
+
return setTimeout(i, 16);
|
|
7893
7895
|
}).bind(window)), Mt(a);
|
|
7894
7896
|
}
|
|
7897
|
+
var zt = null;
|
|
7895
7898
|
function ol(a) {
|
|
7899
|
+
zt || (zt = (window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || function(i) {
|
|
7900
|
+
clearTimeout(i);
|
|
7901
|
+
}).bind(window)), zt(a);
|
|
7902
|
+
}
|
|
7903
|
+
function sl(a) {
|
|
7896
7904
|
var i = document.createElement("style");
|
|
7897
7905
|
return i.styleSheet ? i.styleSheet.cssText = a : i.appendChild(document.createTextNode(a)), (document.querySelector("head") || document.body).appendChild(i), i;
|
|
7898
7906
|
}
|
|
7899
|
-
function
|
|
7907
|
+
function it(a, i) {
|
|
7900
7908
|
i === void 0 && (i = {});
|
|
7901
7909
|
var t = document.createElement(a);
|
|
7902
7910
|
return Object.keys(i).forEach(function(e) {
|
|
7903
7911
|
t[e] = i[e];
|
|
7904
7912
|
}), t;
|
|
7905
7913
|
}
|
|
7906
|
-
function
|
|
7914
|
+
function Or(a, i, t) {
|
|
7907
7915
|
var e = window.getComputedStyle(a, t || null) || {
|
|
7908
7916
|
display: "none"
|
|
7909
7917
|
};
|
|
7910
7918
|
return e[i];
|
|
7911
7919
|
}
|
|
7912
|
-
function
|
|
7920
|
+
function dn(a) {
|
|
7913
7921
|
if (!document.documentElement.contains(a))
|
|
7914
7922
|
return {
|
|
7915
7923
|
detached: !0,
|
|
7916
7924
|
rendered: !1
|
|
7917
7925
|
};
|
|
7918
7926
|
for (var i = a; i !== document; ) {
|
|
7919
|
-
if (
|
|
7927
|
+
if (Or(i, "display") === "none")
|
|
7920
7928
|
return {
|
|
7921
7929
|
detached: !1,
|
|
7922
7930
|
rendered: !1
|
|
@@ -7928,21 +7936,21 @@ function hn(a) {
|
|
|
7928
7936
|
rendered: !0
|
|
7929
7937
|
};
|
|
7930
7938
|
}
|
|
7931
|
-
var
|
|
7932
|
-
function
|
|
7933
|
-
a.__resize_mutation_handler__ || (a.__resize_mutation_handler__ =
|
|
7939
|
+
var ll = '.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}', vn = 0, ft = null;
|
|
7940
|
+
function ul(a, i) {
|
|
7941
|
+
a.__resize_mutation_handler__ || (a.__resize_mutation_handler__ = hl.bind(a));
|
|
7934
7942
|
var t = a.__resize_listeners__;
|
|
7935
7943
|
if (!t) {
|
|
7936
7944
|
if (a.__resize_listeners__ = [], window.ResizeObserver) {
|
|
7937
7945
|
var e = a.offsetWidth, n = a.offsetHeight, r = new ResizeObserver(function() {
|
|
7938
|
-
!a.__resize_observer_triggered__ && (a.__resize_observer_triggered__ = !0, a.offsetWidth === e && a.offsetHeight === n) ||
|
|
7939
|
-
}), o =
|
|
7946
|
+
!a.__resize_observer_triggered__ && (a.__resize_observer_triggered__ = !0, a.offsetWidth === e && a.offsetHeight === n) || bt(a);
|
|
7947
|
+
}), o = dn(a), s = o.detached, l = o.rendered;
|
|
7940
7948
|
a.__resize_observer_triggered__ = s === !1 && l === !1, a.__resize_observer__ = r, r.observe(a);
|
|
7941
7949
|
} else if (a.attachEvent && a.addEventListener)
|
|
7942
7950
|
a.__resize_legacy_resize_handler__ = function() {
|
|
7943
|
-
|
|
7951
|
+
bt(a);
|
|
7944
7952
|
}, a.attachEvent("onresize", a.__resize_legacy_resize_handler__), document.addEventListener("DOMSubtreeModified", a.__resize_mutation_handler__);
|
|
7945
|
-
else if (
|
|
7953
|
+
else if (vn || (ft = sl(ll)), dl(a), a.__resize_rendered__ = dn(a).rendered, window.MutationObserver) {
|
|
7946
7954
|
var u = new MutationObserver(a.__resize_mutation_handler__);
|
|
7947
7955
|
u.observe(document, {
|
|
7948
7956
|
attributes: !0,
|
|
@@ -7952,9 +7960,9 @@ function ll(a, i) {
|
|
|
7952
7960
|
}), a.__resize_mutation_observer__ = u;
|
|
7953
7961
|
}
|
|
7954
7962
|
}
|
|
7955
|
-
a.__resize_listeners__.push(i),
|
|
7963
|
+
a.__resize_listeners__.push(i), vn++;
|
|
7956
7964
|
}
|
|
7957
|
-
function
|
|
7965
|
+
function cl(a, i) {
|
|
7958
7966
|
var t = a.__resize_listeners__;
|
|
7959
7967
|
if (t) {
|
|
7960
7968
|
if (i && t.splice(t.indexOf(i), 1), !t.length || !i) {
|
|
@@ -7962,42 +7970,42 @@ function ul(a, i) {
|
|
|
7962
7970
|
a.detachEvent("onresize", a.__resize_legacy_resize_handler__), document.removeEventListener("DOMSubtreeModified", a.__resize_mutation_handler__);
|
|
7963
7971
|
return;
|
|
7964
7972
|
}
|
|
7965
|
-
a.__resize_observer__ ? (a.__resize_observer__.unobserve(a), a.__resize_observer__.disconnect(), a.__resize_observer__ = null) : (a.__resize_mutation_observer__ && (a.__resize_mutation_observer__.disconnect(), a.__resize_mutation_observer__ = null), a.removeEventListener("scroll",
|
|
7973
|
+
a.__resize_observer__ ? (a.__resize_observer__.unobserve(a), a.__resize_observer__.disconnect(), a.__resize_observer__ = null) : (a.__resize_mutation_observer__ && (a.__resize_mutation_observer__.disconnect(), a.__resize_mutation_observer__ = null), a.removeEventListener("scroll", Sn), a.removeChild(a.__resize_triggers__.triggers), a.__resize_triggers__ = null), a.__resize_listeners__ = null;
|
|
7966
7974
|
}
|
|
7967
|
-
!--
|
|
7975
|
+
!--vn && ft && ft.parentNode.removeChild(ft);
|
|
7968
7976
|
}
|
|
7969
7977
|
}
|
|
7970
|
-
function
|
|
7978
|
+
function fl(a) {
|
|
7971
7979
|
var i = a.__resize_last__, t = i.width, e = i.height, n = a.offsetWidth, r = a.offsetHeight;
|
|
7972
7980
|
return n !== t || r !== e ? {
|
|
7973
7981
|
width: n,
|
|
7974
7982
|
height: r
|
|
7975
7983
|
} : null;
|
|
7976
7984
|
}
|
|
7977
|
-
function
|
|
7978
|
-
var a =
|
|
7979
|
-
i !== this.__resize_rendered__ && (!t && this.__resize_triggers__ && (
|
|
7985
|
+
function hl() {
|
|
7986
|
+
var a = dn(this), i = a.rendered, t = a.detached;
|
|
7987
|
+
i !== this.__resize_rendered__ && (!t && this.__resize_triggers__ && (kn(this), this.addEventListener("scroll", Sn, !0)), this.__resize_rendered__ = i, bt(this));
|
|
7980
7988
|
}
|
|
7981
|
-
function
|
|
7989
|
+
function Sn() {
|
|
7982
7990
|
var a = this;
|
|
7983
|
-
|
|
7984
|
-
var i =
|
|
7985
|
-
i && (a.__resize_last__ = i,
|
|
7991
|
+
kn(this), this.__resize_raf__ && ol(this.__resize_raf__), this.__resize_raf__ = al(function() {
|
|
7992
|
+
var i = fl(a);
|
|
7993
|
+
i && (a.__resize_last__ = i, bt(a));
|
|
7986
7994
|
});
|
|
7987
7995
|
}
|
|
7988
|
-
function
|
|
7996
|
+
function bt(a) {
|
|
7989
7997
|
!a || !a.__resize_listeners__ || a.__resize_listeners__.forEach(function(i) {
|
|
7990
7998
|
i.call(a, a);
|
|
7991
7999
|
});
|
|
7992
8000
|
}
|
|
7993
|
-
function
|
|
7994
|
-
var i =
|
|
8001
|
+
function dl(a) {
|
|
8002
|
+
var i = Or(a, "position");
|
|
7995
8003
|
(!i || i === "static") && (a.style.position = "relative"), a.__resize_old_position__ = i, a.__resize_last__ = {};
|
|
7996
|
-
var t =
|
|
8004
|
+
var t = it("div", {
|
|
7997
8005
|
className: "resize-triggers"
|
|
7998
|
-
}), e =
|
|
8006
|
+
}), e = it("div", {
|
|
7999
8007
|
className: "resize-expand-trigger"
|
|
8000
|
-
}), n =
|
|
8008
|
+
}), n = it("div"), r = it("div", {
|
|
8001
8009
|
className: "resize-contract-trigger"
|
|
8002
8010
|
});
|
|
8003
8011
|
e.appendChild(n), t.appendChild(e), t.appendChild(r), a.appendChild(t), a.__resize_triggers__ = {
|
|
@@ -8005,16 +8013,16 @@ function hl(a) {
|
|
|
8005
8013
|
expand: e,
|
|
8006
8014
|
expandChild: n,
|
|
8007
8015
|
contract: r
|
|
8008
|
-
},
|
|
8016
|
+
}, kn(a), a.addEventListener("scroll", Sn, !0), a.__resize_last__ = {
|
|
8009
8017
|
width: a.offsetWidth,
|
|
8010
8018
|
height: a.offsetHeight
|
|
8011
8019
|
};
|
|
8012
8020
|
}
|
|
8013
|
-
function
|
|
8021
|
+
function kn(a) {
|
|
8014
8022
|
var i = a.__resize_triggers__, t = i.expand, e = i.expandChild, n = i.contract, r = n.scrollWidth, o = n.scrollHeight, s = t.offsetWidth, l = t.offsetHeight, u = t.scrollWidth, f = t.scrollHeight;
|
|
8015
8023
|
n.scrollLeft = r, n.scrollTop = o, e.style.width = s + 1 + "px", e.style.height = l + 1 + "px", t.scrollLeft = u, t.scrollTop = f;
|
|
8016
8024
|
}
|
|
8017
|
-
const
|
|
8025
|
+
const vl = ["aria-label"], gl = { key: 0 }, pl = { key: 1 }, _l = /* @__PURE__ */ re({
|
|
8018
8026
|
__name: "TruncateContent",
|
|
8019
8027
|
props: {
|
|
8020
8028
|
text: {},
|
|
@@ -8027,7 +8035,7 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8027
8035
|
},
|
|
8028
8036
|
emits: ["clamp-change", "update:expanded"],
|
|
8029
8037
|
setup(a, { emit: i }) {
|
|
8030
|
-
const { t } = Ze(), e = a, n = i, r = oe(null), o = oe(null), s = oe(null), l =
|
|
8038
|
+
const { t } = Ze(), e = a, n = i, r = oe(null), o = oe(null), s = oe(null), l = na({
|
|
8031
8039
|
offset: 0,
|
|
8032
8040
|
localExpanded: !!e.expanded,
|
|
8033
8041
|
unregisterResizeCallback: null
|
|
@@ -8035,12 +8043,12 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8035
8043
|
if (!l.localExpanded && e.maxHeight)
|
|
8036
8044
|
return typeof e?.maxHeight == "number" ? `${e?.maxHeight}px` : e?.maxHeight;
|
|
8037
8045
|
}), f = () => {
|
|
8038
|
-
s.value && (s.value.innerHTML =
|
|
8046
|
+
s.value && (s.value.innerHTML = Bi(R.value));
|
|
8039
8047
|
}, d = () => {
|
|
8040
8048
|
l.localExpanded || (f(), (p() || w.value) && _());
|
|
8041
8049
|
}, v = () => {
|
|
8042
|
-
e.text && (l.offset = e.text.length, c(), e.autoResize && r.value && (
|
|
8043
|
-
r.value &&
|
|
8050
|
+
e.text && (l.offset = e.text.length, c(), e.autoResize && r.value && (ul(r.value, d), l.unregisterResizeCallback = () => {
|
|
8051
|
+
r.value && cl(r.value, d);
|
|
8044
8052
|
}), d());
|
|
8045
8053
|
}, c = () => {
|
|
8046
8054
|
l.unregisterResizeCallback?.();
|
|
@@ -8118,15 +8126,15 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8118
8126
|
v();
|
|
8119
8127
|
});
|
|
8120
8128
|
}
|
|
8121
|
-
),
|
|
8129
|
+
), ia(() => {
|
|
8122
8130
|
c();
|
|
8123
|
-
}),
|
|
8131
|
+
}), Et(() => {
|
|
8124
8132
|
v();
|
|
8125
8133
|
}), (L, q) => (O(), T("div", {
|
|
8126
8134
|
ref_key: "textClampRef",
|
|
8127
8135
|
ref: r,
|
|
8128
8136
|
class: "text-clamp",
|
|
8129
|
-
style:
|
|
8137
|
+
style: ra({
|
|
8130
8138
|
overflow: "hidden",
|
|
8131
8139
|
maxHeight: u.value
|
|
8132
8140
|
})
|
|
@@ -8146,7 +8154,7 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8146
8154
|
ref_key: "textRef",
|
|
8147
8155
|
ref: s,
|
|
8148
8156
|
"aria-label": L.text
|
|
8149
|
-
}, null, 8,
|
|
8157
|
+
}, null, 8, vl),
|
|
8150
8158
|
ie(L.$slots, "after", {
|
|
8151
8159
|
expand: A,
|
|
8152
8160
|
collapse: V,
|
|
@@ -8159,19 +8167,19 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8159
8167
|
class: "link",
|
|
8160
8168
|
onClick: q[0] || (q[0] = be((se) => B(), ["prevent"]))
|
|
8161
8169
|
}, [
|
|
8162
|
-
l.localExpanded ? (O(), T("span",
|
|
8170
|
+
l.localExpanded ? (O(), T("span", pl, I(P(t)("general.readLess")), 1)) : (O(), T("span", gl, I(P(t)("general.readMore")), 1))
|
|
8163
8171
|
])) : M("", !0)
|
|
8164
8172
|
])
|
|
8165
8173
|
], 512)
|
|
8166
8174
|
], 4));
|
|
8167
8175
|
}
|
|
8168
|
-
}),
|
|
8176
|
+
}), ml = { class: "konnectio-listing-content" }, yl = { class: "konnectio-listing-details" }, bl = ["title"], El = {
|
|
8169
8177
|
key: 0,
|
|
8170
8178
|
class: "konnectio-listing-sub-title"
|
|
8171
|
-
},
|
|
8179
|
+
}, Pl = { key: 0 }, Ol = { key: 1 }, xl = { key: 2 }, Tl = { key: 3 }, wl = { class: "konnectio-listing-description" }, Il = {
|
|
8172
8180
|
key: 0,
|
|
8173
8181
|
class: "konnectio-listing-details-facilities"
|
|
8174
|
-
},
|
|
8182
|
+
}, Cl = { class: "konnectio-listing-action" }, Rl = /* @__PURE__ */ re({
|
|
8175
8183
|
name: "BaseListing",
|
|
8176
8184
|
__name: "Base",
|
|
8177
8185
|
props: {
|
|
@@ -8181,7 +8189,7 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8181
8189
|
type: {},
|
|
8182
8190
|
includesBreakfast: { type: Boolean, default: !1 },
|
|
8183
8191
|
gallery: {},
|
|
8184
|
-
layout: { default:
|
|
8192
|
+
layout: { default: fa.Selective },
|
|
8185
8193
|
pricesFrom: {},
|
|
8186
8194
|
trackingEnabled: { type: Boolean, default: !1 },
|
|
8187
8195
|
facilities: {},
|
|
@@ -8190,7 +8198,7 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8190
8198
|
fromDate: {}
|
|
8191
8199
|
},
|
|
8192
8200
|
setup(a) {
|
|
8193
|
-
const { t: i } = Ze(), t = oe(!1), e = oe(0), n = a, { disablePricesFrom: r, currency: o } =
|
|
8201
|
+
const { t: i } = Ze(), t = oe(!1), e = oe(0), n = a, { disablePricesFrom: r, currency: o } = Pt(), s = oe(!r && !!n.pricesFrom);
|
|
8194
8202
|
function l() {
|
|
8195
8203
|
t.value = !0;
|
|
8196
8204
|
}
|
|
@@ -8201,7 +8209,7 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8201
8209
|
}), `<ul>${d}</ul>`;
|
|
8202
8210
|
}
|
|
8203
8211
|
return (f, d) => {
|
|
8204
|
-
const v =
|
|
8212
|
+
const v = Yt("tooltip");
|
|
8205
8213
|
return O(), T("li", {
|
|
8206
8214
|
class: ve([
|
|
8207
8215
|
"konnectio-listing",
|
|
@@ -8216,7 +8224,7 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8216
8224
|
{ "single-image": f.gallery.length === 1 }
|
|
8217
8225
|
])
|
|
8218
8226
|
}, [
|
|
8219
|
-
z(
|
|
8227
|
+
z(Pr, {
|
|
8220
8228
|
gallery: f.gallery,
|
|
8221
8229
|
idx: e.value,
|
|
8222
8230
|
"onUpdate:idx": d[0] || (d[0] = (c) => e.value = c),
|
|
@@ -8225,8 +8233,8 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8225
8233
|
onOpened: l
|
|
8226
8234
|
}, null, 8, ["gallery", "idx"])
|
|
8227
8235
|
], 2)) : M("", !0),
|
|
8228
|
-
b("div",
|
|
8229
|
-
b("div",
|
|
8236
|
+
b("div", ml, [
|
|
8237
|
+
b("div", yl, [
|
|
8230
8238
|
b("div", {
|
|
8231
8239
|
class: ve([
|
|
8232
8240
|
"konnectio-listing-title",
|
|
@@ -8234,10 +8242,10 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8234
8242
|
])
|
|
8235
8243
|
}, [
|
|
8236
8244
|
b("h3", {
|
|
8237
|
-
title: P(
|
|
8245
|
+
title: P(si)(f.name),
|
|
8238
8246
|
class: ve({ "no-padding": f.hideInfoButton })
|
|
8239
8247
|
}, [
|
|
8240
|
-
b("span", null, I(P(
|
|
8248
|
+
b("span", null, I(P(si)(f.name)), 1),
|
|
8241
8249
|
f.hideInfoButton ? M("", !0) : (O(), T("button", {
|
|
8242
8250
|
key: 0,
|
|
8243
8251
|
class: "konnectio-listing-read-more",
|
|
@@ -8249,31 +8257,31 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8249
8257
|
color: "header"
|
|
8250
8258
|
})
|
|
8251
8259
|
]))
|
|
8252
|
-
], 10,
|
|
8253
|
-
s.value || f.includesBreakfast || f.fromDate && f.toDate || f.toDate && P(
|
|
8254
|
-
s.value ? (O(), T("li",
|
|
8260
|
+
], 10, bl),
|
|
8261
|
+
s.value || f.includesBreakfast || f.fromDate && f.toDate || f.toDate && P(li)(/* @__PURE__ */ new Date(), f.toDate) < 180 ? (O(), T("ul", El, [
|
|
8262
|
+
s.value ? (O(), T("li", Pl, [
|
|
8255
8263
|
b("span", null, I(`${P(i)("general.pricesFrom")}: ${P(fe)(f.pricesFrom, P(o))}`), 1)
|
|
8256
8264
|
])) : M("", !0),
|
|
8257
|
-
f.includesBreakfast ? (O(), T("li",
|
|
8265
|
+
f.includesBreakfast ? (O(), T("li", Ol, [
|
|
8258
8266
|
b("span", null, I(P(i)("general.breakfastIncluded")), 1),
|
|
8259
8267
|
M("", !0)
|
|
8260
8268
|
])) : M("", !0),
|
|
8261
|
-
f.fromDate && f.toDate ? (O(), T("li",
|
|
8262
|
-
b("span", null, I(`${P(
|
|
8263
|
-
])) : f.toDate && P(
|
|
8264
|
-
b("span", null, I(`${P(i)("general.availableUntil")}: ${P(
|
|
8269
|
+
f.fromDate && f.toDate ? (O(), T("li", xl, [
|
|
8270
|
+
b("span", null, I(`${P(ot)(f.fromDate)} - ${P(ot)(f.toDate)}`), 1)
|
|
8271
|
+
])) : f.toDate && P(li)(/* @__PURE__ */ new Date(), f.toDate) < 180 ? (O(), T("li", Tl, [
|
|
8272
|
+
b("span", null, I(`${P(i)("general.availableUntil")}: ${P(ot)(f.toDate)}`), 1)
|
|
8265
8273
|
])) : M("", !0)
|
|
8266
8274
|
])) : M("", !0)
|
|
8267
8275
|
], 2),
|
|
8268
|
-
b("div",
|
|
8276
|
+
b("div", wl, [
|
|
8269
8277
|
ie(f.$slots, "description", {}, () => [
|
|
8270
|
-
f.description ? (O(), he(
|
|
8278
|
+
f.description ? (O(), he(_l, {
|
|
8271
8279
|
key: 0,
|
|
8272
8280
|
text: f.description
|
|
8273
8281
|
}, null, 8, ["text"])) : M("", !0)
|
|
8274
8282
|
])
|
|
8275
8283
|
]),
|
|
8276
|
-
f.facilities ? (O(), T("ul",
|
|
8284
|
+
f.facilities ? (O(), T("ul", Il, [
|
|
8277
8285
|
(O(!0), T(ue, null, _e(f.facilities, ({ icon: c, name: p, subFacilities: m }) => (O(), T(ue, null, [
|
|
8278
8286
|
c ? ke((O(), T("li", { key: p }, [
|
|
8279
8287
|
z(Me, {
|
|
@@ -8290,11 +8298,11 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8290
8298
|
], 64))), 256))
|
|
8291
8299
|
])) : M("", !0)
|
|
8292
8300
|
]),
|
|
8293
|
-
b("div",
|
|
8301
|
+
b("div", Cl, [
|
|
8294
8302
|
ie(f.$slots, "action")
|
|
8295
8303
|
]),
|
|
8296
8304
|
ie(f.$slots, "default"),
|
|
8297
|
-
z(
|
|
8305
|
+
z(rl, {
|
|
8298
8306
|
modelValue: t.value,
|
|
8299
8307
|
"onUpdate:modelValue": d[2] || (d[2] = (c) => t.value = c),
|
|
8300
8308
|
"listing-id": f.listingId,
|
|
@@ -8310,7 +8318,7 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8310
8318
|
], 2);
|
|
8311
8319
|
};
|
|
8312
8320
|
}
|
|
8313
|
-
}),
|
|
8321
|
+
}), mc = /* @__PURE__ */ de(Rl, [["__scopeId", "data-v-c0ce7c02"]]), Sl = { class: "konnectio-radio-checkboxes" }, kl = /* @__PURE__ */ re({
|
|
8314
8322
|
__name: "CheckboxField",
|
|
8315
8323
|
props: {
|
|
8316
8324
|
modelValue: {},
|
|
@@ -8328,14 +8336,14 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8328
8336
|
get: () => e.modelValue,
|
|
8329
8337
|
set: (o) => n(o)
|
|
8330
8338
|
});
|
|
8331
|
-
return (o, s) => (O(), he(
|
|
8339
|
+
return (o, s) => (O(), he(ha, {
|
|
8332
8340
|
label: o.label,
|
|
8333
8341
|
type: "multi-radio"
|
|
8334
8342
|
}, {
|
|
8335
8343
|
default: Oe(() => [
|
|
8336
|
-
b("ul",
|
|
8344
|
+
b("ul", Sl, [
|
|
8337
8345
|
(O(!0), T(ue, null, _e(o.checkboxes, ({ label: l, value: u }, f) => (O(), T("li", { key: f }, [
|
|
8338
|
-
z(
|
|
8346
|
+
z(pa, {
|
|
8339
8347
|
modelValue: r.value,
|
|
8340
8348
|
"onUpdate:modelValue": s[0] || (s[0] = (d) => r.value = d),
|
|
8341
8349
|
label: l,
|
|
@@ -8349,10 +8357,10 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8349
8357
|
_: 1
|
|
8350
8358
|
}, 8, ["label"]));
|
|
8351
8359
|
}
|
|
8352
|
-
}),
|
|
8360
|
+
}), yc = /* @__PURE__ */ de(kl, [["__scopeId", "data-v-f419f922"]]), Al = { id: "konnectio-multi-step-form-navigation" }, Ll = {
|
|
8353
8361
|
key: 0,
|
|
8354
8362
|
id: "konnectio-multi-step-form-overlay"
|
|
8355
|
-
},
|
|
8363
|
+
}, Dl = { id: "konnectio-multi-step-form-steps-wrapper" }, Ml = { key: 0 }, zl = { key: 1 }, Nl = { class: "konnectio-multi-steps" }, Fl = { style: { fontSize: "18px" } }, Bl = { id: "konnectio-multi-step-form-content" }, jl = /* @__PURE__ */ re({
|
|
8356
8364
|
__name: "MultiStepForm",
|
|
8357
8365
|
props: {
|
|
8358
8366
|
layout: { default: Ie.Default },
|
|
@@ -8362,7 +8370,7 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8362
8370
|
},
|
|
8363
8371
|
emits: ["reset"],
|
|
8364
8372
|
setup(a, { emit: i }) {
|
|
8365
|
-
const t = i, { headerHeight: e } = me(
|
|
8373
|
+
const t = i, { headerHeight: e } = me(Pt()), n = a, r = oe(0), o = oe(), s = Q(() => n.steps.filter((v) => !v.hidden)), l = Q(() => n.steps[r.value].id), u = () => {
|
|
8366
8374
|
if (o.value !== void 0) {
|
|
8367
8375
|
const v = e.value;
|
|
8368
8376
|
if (v && v > 0) {
|
|
@@ -8388,17 +8396,17 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8388
8396
|
class: ve({ minimal: v.layout === P(Ie).Minimal })
|
|
8389
8397
|
}, [
|
|
8390
8398
|
b("div", null, [
|
|
8391
|
-
ke(b("header",
|
|
8392
|
-
v.layout !== P(Ie).Minimal ? (O(), T("div",
|
|
8393
|
-
b("div",
|
|
8399
|
+
ke(b("header", Al, [
|
|
8400
|
+
v.layout !== P(Ie).Minimal ? (O(), T("div", Ll)) : M("", !0),
|
|
8401
|
+
b("div", Dl, [
|
|
8394
8402
|
b("div", null, [
|
|
8395
|
-
v.title && v.layout !== P(Ie).Minimal ? (O(), T("h2",
|
|
8403
|
+
v.title && v.layout !== P(Ie).Minimal ? (O(), T("h2", Ml, [
|
|
8396
8404
|
b("span", null, I(v.title), 1)
|
|
8397
8405
|
])) : M("", !0),
|
|
8398
|
-
v.subtitle && v.layout !== P(Ie).Minimal ? (O(), T("h5",
|
|
8406
|
+
v.subtitle && v.layout !== P(Ie).Minimal ? (O(), T("h5", zl, [
|
|
8399
8407
|
b("span", null, I(v.subtitle), 1)
|
|
8400
8408
|
])) : M("", !0),
|
|
8401
|
-
b("ul",
|
|
8409
|
+
b("ul", Nl, [
|
|
8402
8410
|
(O(!0), T(ue, null, _e(s.value, (p) => (O(), T("li", {
|
|
8403
8411
|
key: p.id,
|
|
8404
8412
|
class: ve({ "is-active": l.value === p.id })
|
|
@@ -8410,15 +8418,15 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8410
8418
|
"icon-color": v.layout !== P(Ie).Minimal ? "#fff" : void 0,
|
|
8411
8419
|
style: { fontSize: "18px" }
|
|
8412
8420
|
}, null, 8, ["icon", "icon-color"])) : M("", !0),
|
|
8413
|
-
b("b",
|
|
8421
|
+
b("b", Fl, I(p.label), 1)
|
|
8414
8422
|
], 2))), 128))
|
|
8415
8423
|
])
|
|
8416
8424
|
])
|
|
8417
8425
|
])
|
|
8418
8426
|
], 512), [
|
|
8419
|
-
[
|
|
8427
|
+
[ai, !1]
|
|
8420
8428
|
]),
|
|
8421
|
-
b("ul",
|
|
8429
|
+
b("ul", Bl, [
|
|
8422
8430
|
(O(!0), T(ue, null, _e(v.steps, (p) => (O(), T("li", {
|
|
8423
8431
|
key: p.id,
|
|
8424
8432
|
class: "konnectio-multi-step-form-content-tab"
|
|
@@ -8429,54 +8437,54 @@ const dl = ["aria-label"], vl = { key: 0 }, gl = { key: 1 }, pl = /* @__PURE__ *
|
|
|
8429
8437
|
prev: d
|
|
8430
8438
|
}, void 0, !0)
|
|
8431
8439
|
], 512), [
|
|
8432
|
-
[
|
|
8440
|
+
[ai, l.value === p.id]
|
|
8433
8441
|
])
|
|
8434
8442
|
]))), 128))
|
|
8435
8443
|
])
|
|
8436
8444
|
])
|
|
8437
8445
|
], 2));
|
|
8438
8446
|
}
|
|
8439
|
-
}),
|
|
8440
|
-
/* @__PURE__ */
|
|
8447
|
+
}), bc = /* @__PURE__ */ de(jl, [["__scopeId", "data-v-2a9cc64c"]]), Vl = "data:image/svg+xml,%3csvg%20id='b7c97208-3a12-46ef-b848-b5e1b5fc4d6a'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20500%20500'%3e%3ctitle%3ekonnectio-logo-gray%3c/title%3e%3cpolygon%20points='250%20250%20200%20300%20200%20200%20250%20250'%20style='fill:%23999'/%3e%3cpolygon%20points='200%20200%20200%20300%20150%20350%20150%20150%20200%20200'%20style='fill:%23858585'/%3e%3cpolygon%20points='150%20150%20150%20350%20100%20400%20100%20100%20150%20150'%20style='fill:%23707070'/%3e%3cpolygon%20points='100%20100%20100%20400%2050%20450%2050%2050%20100%20100'%20style='fill:%235c5c5c'/%3e%3cpolygon%20points='50%2050%2050%20450%200%20500%200%200%2050%2050'%20style='fill:%23474747'/%3e%3cpolygon%20points='250%20250%200%20500%20200%20500%20250%20450%20300%20500%20500%20500%20250%20250'%20style='fill:%23333'/%3e%3cpolygon%20points='300%200%20250%2050%20200%200%200%200%20250%20250%20500%200%20300%200'%20style='fill:%23adadad'/%3e%3cpath%20d='M250,462.5'%20style='fill:none'/%3e%3cpath%20d='M250,462.5'%20style='fill:none'/%3e%3c/svg%3e", Hl = (a) => (zi("data-v-f50e297b"), a = a(), Ni(), a), $l = { class: "konnectio-brand" }, Wl = ["src"], Ul = /* @__PURE__ */ Hl(() => /* @__PURE__ */ b("span", { class: "konnectio-brand-text" }, [
|
|
8448
|
+
/* @__PURE__ */ aa("Powered by "),
|
|
8441
8449
|
/* @__PURE__ */ b("a", {
|
|
8442
8450
|
href: "https://konnectio.dk",
|
|
8443
8451
|
target: "_blank"
|
|
8444
8452
|
}, "Konnectio")
|
|
8445
|
-
], -1)),
|
|
8453
|
+
], -1)), Yl = /* @__PURE__ */ re({
|
|
8446
8454
|
__name: "PoweredByKonnectio",
|
|
8447
8455
|
setup(a) {
|
|
8448
|
-
return (i, t) => (O(), T("div",
|
|
8449
|
-
b("img", { src: P(
|
|
8450
|
-
|
|
8456
|
+
return (i, t) => (O(), T("div", $l, [
|
|
8457
|
+
b("img", { src: P(Vl) }, null, 8, Wl),
|
|
8458
|
+
Ul
|
|
8451
8459
|
]));
|
|
8452
8460
|
}
|
|
8453
|
-
}), Gl = /* @__PURE__ */ de(
|
|
8461
|
+
}), Gl = /* @__PURE__ */ de(Yl, [["__scopeId", "data-v-f50e297b"]]), Xl = { class: "hotel-skeleton-sidebar-inner" }, ql = { class: "hotel-skeleton-sidebar-group" }, Kl = { class: "hotel-skeleton-sidebar-group" }, Zl = /* @__PURE__ */ re({
|
|
8454
8462
|
__name: "Sidebar",
|
|
8455
8463
|
setup(a) {
|
|
8456
|
-
return (i, t) => (O(), T("div",
|
|
8457
|
-
b("div", Xl, [
|
|
8458
|
-
z(G, { height: "20px" }),
|
|
8459
|
-
z(G, { height: "15px" }),
|
|
8460
|
-
z(G, { height: "15px" }),
|
|
8461
|
-
z(G, { height: "15px" })
|
|
8462
|
-
]),
|
|
8464
|
+
return (i, t) => (O(), T("div", Xl, [
|
|
8463
8465
|
b("div", ql, [
|
|
8464
|
-
z(
|
|
8465
|
-
z(
|
|
8466
|
-
z(
|
|
8467
|
-
z(
|
|
8466
|
+
z(Y, { height: "20px" }),
|
|
8467
|
+
z(Y, { height: "15px" }),
|
|
8468
|
+
z(Y, { height: "15px" }),
|
|
8469
|
+
z(Y, { height: "15px" })
|
|
8468
8470
|
]),
|
|
8469
|
-
|
|
8471
|
+
b("div", Kl, [
|
|
8472
|
+
z(Y, { height: "20px" }),
|
|
8473
|
+
z(Y, { height: "15px" }),
|
|
8474
|
+
z(Y, { height: "15px" }),
|
|
8475
|
+
z(Y, { height: "15px" })
|
|
8476
|
+
]),
|
|
8477
|
+
z(Y, { height: "44px" })
|
|
8470
8478
|
]));
|
|
8471
8479
|
}
|
|
8472
|
-
}),
|
|
8480
|
+
}), Ql = /* @__PURE__ */ de(Zl, [["__scopeId", "data-v-a1b9bdc5"]]);
|
|
8473
8481
|
/**
|
|
8474
8482
|
* Sticky Sidebar v2 JavaScript Plugin.
|
|
8475
8483
|
* @version 1.0.1
|
|
8476
8484
|
* @author Øystein Blixhavn <oystein@blixhavn.no>
|
|
8477
8485
|
* @license The MIT License (MIT)
|
|
8478
8486
|
*/
|
|
8479
|
-
const
|
|
8487
|
+
const xr = /* @__PURE__ */ (() => {
|
|
8480
8488
|
const a = ".stickySidebar", i = {
|
|
8481
8489
|
/**
|
|
8482
8490
|
* Additional top spacing of the element when it becomes sticky.
|
|
@@ -8879,11 +8887,11 @@ const Or = /* @__PURE__ */ (() => {
|
|
|
8879
8887
|
}
|
|
8880
8888
|
return t;
|
|
8881
8889
|
})();
|
|
8882
|
-
window.StickySidebar =
|
|
8883
|
-
const
|
|
8890
|
+
window.StickySidebar = xr;
|
|
8891
|
+
const Jl = {
|
|
8884
8892
|
class: "inner-wrapper-sticky"
|
|
8885
8893
|
};
|
|
8886
|
-
var
|
|
8894
|
+
var An = {
|
|
8887
8895
|
__name: "vue3-sticky-sidebar",
|
|
8888
8896
|
props: {
|
|
8889
8897
|
rootClass: {
|
|
@@ -8913,8 +8921,8 @@ var kn = {
|
|
|
8913
8921
|
},
|
|
8914
8922
|
setup(a) {
|
|
8915
8923
|
const i = a, t = oe(null);
|
|
8916
|
-
return
|
|
8917
|
-
new
|
|
8924
|
+
return Et(() => {
|
|
8925
|
+
new xr(t.value, {
|
|
8918
8926
|
topSpacing: i.topSpacing,
|
|
8919
8927
|
bottomSpacing: i.bottomSpacing,
|
|
8920
8928
|
containerSelector: i.containerSelector,
|
|
@@ -8925,37 +8933,37 @@ var kn = {
|
|
|
8925
8933
|
}), (e, n) => (O(), T("div", {
|
|
8926
8934
|
ref_key: "stickySidebarRef",
|
|
8927
8935
|
ref: t
|
|
8928
|
-
}, [b("div",
|
|
8936
|
+
}, [b("div", Jl, [ie(e.$slots, "default")])], 512));
|
|
8929
8937
|
}
|
|
8930
8938
|
};
|
|
8931
|
-
const
|
|
8932
|
-
|
|
8939
|
+
const gn = function(i) {
|
|
8940
|
+
gn.installed || (gn.installed = !0, i.component("Vue3StickySidebar", An));
|
|
8933
8941
|
};
|
|
8934
|
-
|
|
8935
|
-
const
|
|
8942
|
+
An.install = gn;
|
|
8943
|
+
const eu = { id: "konnectio-reservation-layout" }, tu = { id: "konnectio-reservation-layout-content" }, nu = { id: "konnectio-reservation-layout-form" }, iu = {
|
|
8936
8944
|
key: 0,
|
|
8937
8945
|
class: "konnectio-reservation-layout-aside-inner"
|
|
8938
|
-
},
|
|
8946
|
+
}, ru = { class: "konnectio-panel" }, au = {
|
|
8939
8947
|
key: 0,
|
|
8940
8948
|
class: "konnectio-panel"
|
|
8941
|
-
},
|
|
8949
|
+
}, ou = ["innerHTML"], su = {
|
|
8942
8950
|
key: 1,
|
|
8943
8951
|
class: "konnectio-reservation-layout-aside-inner"
|
|
8944
|
-
},
|
|
8952
|
+
}, lu = { class: "konnectio-panel" }, uu = { id: "konnectio-reservation-layout-aside-resume" }, cu = { key: 0 }, fu = { key: 1 }, hu = { key: 2 }, du = { key: 3 }, vu = {
|
|
8945
8953
|
key: 0,
|
|
8946
8954
|
class: "konnectio-panel"
|
|
8947
|
-
},
|
|
8955
|
+
}, gu = { class: "konnectio-reservation-discount" }, pu = {
|
|
8948
8956
|
key: 0,
|
|
8949
8957
|
class: "konnectio-reservation-discount-navigation"
|
|
8950
|
-
},
|
|
8958
|
+
}, _u = { key: 1 }, mu = { key: 0 }, yu = { key: 1 }, bu = { class: "konnectio-reservation-discount-form" }, Eu = {
|
|
8951
8959
|
key: 1,
|
|
8952
8960
|
class: "konnectio-panel"
|
|
8953
|
-
},
|
|
8961
|
+
}, Pu = ["innerHTML"], Ou = {
|
|
8954
8962
|
key: 0,
|
|
8955
8963
|
id: "konnectio-reservation-layout-recaptcha"
|
|
8956
|
-
},
|
|
8964
|
+
}, xu = /* @__PURE__ */ re({
|
|
8957
8965
|
__name: "ReservationForm",
|
|
8958
|
-
props: /* @__PURE__ */
|
|
8966
|
+
props: /* @__PURE__ */ oa({
|
|
8959
8967
|
showTermsNotice: { type: Boolean, default: !1 },
|
|
8960
8968
|
showGiftCard: { type: Boolean, default: !1 },
|
|
8961
8969
|
isSidebarLoading: { type: Boolean, default: !1 },
|
|
@@ -8978,16 +8986,16 @@ const Jl = { id: "konnectio-reservation-layout" }, eu = { id: "konnectio-reserva
|
|
|
8978
8986
|
currency: r,
|
|
8979
8987
|
enableStickyHeader: o,
|
|
8980
8988
|
headerHeight: s
|
|
8981
|
-
} = me(
|
|
8989
|
+
} = me(Pt()), { isValidatingDiscountCode: l } = me(Fi()), {
|
|
8982
8990
|
amount: u,
|
|
8983
8991
|
voucher: f,
|
|
8984
8992
|
isLoading: d
|
|
8985
|
-
} = me(
|
|
8986
|
-
return
|
|
8993
|
+
} = me(ui()), { apply: v, reset: c } = ui(), p = sa(), m = la(a, "discountCode"), _ = a, h = Q(() => _.basePrice - _.weekendFee - _.roomUpgrade), g = oe("discount"), y = Q(() => g.value === "discount"), E = Q(() => g.value === "gift-card"), x = Q(() => !t.value || !e.value), w = Q(() => !t.value && !e.value), R = (S) => g.value = S;
|
|
8994
|
+
return Et(() => {
|
|
8987
8995
|
e.value && R("gift-card");
|
|
8988
|
-
}), (S, A) => (O(), T("div",
|
|
8989
|
-
b("div",
|
|
8990
|
-
b("div",
|
|
8996
|
+
}), (S, A) => (O(), T("div", eu, [
|
|
8997
|
+
b("div", tu, [
|
|
8998
|
+
b("div", nu, [
|
|
8991
8999
|
b("form", null, [
|
|
8992
9000
|
ie(S.$slots, "form")
|
|
8993
9001
|
]),
|
|
@@ -8997,24 +9005,24 @@ const Jl = { id: "konnectio-reservation-layout" }, eu = { id: "konnectio-reserva
|
|
|
8997
9005
|
id: "konnectio-reservation-layout-aside",
|
|
8998
9006
|
class: ve({ "disable-sticky-aside": !P(o) })
|
|
8999
9007
|
}, [
|
|
9000
|
-
z(P(
|
|
9008
|
+
z(P(An), {
|
|
9001
9009
|
"top-spacing": P(s),
|
|
9002
9010
|
"sticky-class": "konnectio-sticky-wrapper"
|
|
9003
9011
|
}, {
|
|
9004
9012
|
default: Oe(() => [
|
|
9005
|
-
P(p).sidebar ? (O(), T("div",
|
|
9006
|
-
b("div",
|
|
9013
|
+
P(p).sidebar ? (O(), T("div", iu, [
|
|
9014
|
+
b("div", ru, [
|
|
9007
9015
|
ie(S.$slots, "sidebar")
|
|
9008
9016
|
]),
|
|
9009
|
-
S.notice ? (O(), T("div",
|
|
9017
|
+
S.notice ? (O(), T("div", au, [
|
|
9010
9018
|
b("p", {
|
|
9011
9019
|
innerHTML: S.notice,
|
|
9012
9020
|
class: "konnectio-wysiwyg"
|
|
9013
|
-
}, null, 8,
|
|
9021
|
+
}, null, 8, ou)
|
|
9014
9022
|
])) : M("", !0)
|
|
9015
|
-
])) : S.isSidebarLoading ? (O(), he(
|
|
9016
|
-
b("div",
|
|
9017
|
-
b("ul",
|
|
9023
|
+
])) : S.isSidebarLoading ? (O(), he(Ql, { key: 2 })) : (O(), T("div", su, [
|
|
9024
|
+
b("div", lu, [
|
|
9025
|
+
b("ul", uu, [
|
|
9018
9026
|
b("h5", null, [
|
|
9019
9027
|
b("span", null, I(P(i)("general.reservationSummary")), 1)
|
|
9020
9028
|
]),
|
|
@@ -9026,20 +9034,20 @@ const Jl = { id: "konnectio-reservation-layout" }, eu = { id: "konnectio-reserva
|
|
|
9026
9034
|
]),
|
|
9027
9035
|
b("ul", null, [
|
|
9028
9036
|
ie(S.$slots, "price-summary"),
|
|
9029
|
-
h.value > 0 ? (O(), T("li",
|
|
9037
|
+
h.value > 0 ? (O(), T("li", cu, [
|
|
9030
9038
|
b("span", null, I(P(i)("booking.availability.basePrice")), 1),
|
|
9031
9039
|
b("b", null, I(P(fe)(h.value, P(r))), 1)
|
|
9032
9040
|
])) : M("", !0),
|
|
9033
|
-
S.weekendFee > 0 ? (O(), T("li",
|
|
9041
|
+
S.weekendFee > 0 ? (O(), T("li", fu, [
|
|
9034
9042
|
b("span", null, I(P(i)("general.weekendFee")), 1),
|
|
9035
9043
|
b("b", null, I(P(fe)(S.weekendFee, P(r))), 1)
|
|
9036
9044
|
])) : M("", !0),
|
|
9037
|
-
S.roomUpgrade > 0 ? (O(), T("li",
|
|
9045
|
+
S.roomUpgrade > 0 ? (O(), T("li", hu, [
|
|
9038
9046
|
b("span", null, I(P(i)("general.roomUpgrade")), 1),
|
|
9039
9047
|
b("b", null, I(P(fe)(S.roomUpgrade, P(r))), 1)
|
|
9040
9048
|
])) : M("", !0),
|
|
9041
9049
|
ie(S.$slots, "expenses"),
|
|
9042
|
-
P(u) !== 0 ? (O(), T("li",
|
|
9050
|
+
P(u) !== 0 ? (O(), T("li", du, [
|
|
9043
9051
|
b("span", null, [
|
|
9044
9052
|
b("span", null, I(P(i)("booking.reservation.giftCardDiscount")), 1),
|
|
9045
9053
|
b("a", {
|
|
@@ -9068,9 +9076,9 @@ const Jl = { id: "konnectio-reservation-layout" }, eu = { id: "konnectio-reserva
|
|
|
9068
9076
|
ie(S.$slots, "navigation")
|
|
9069
9077
|
])
|
|
9070
9078
|
]),
|
|
9071
|
-
S.showGiftCard && x.value ? (O(), T("div",
|
|
9072
|
-
b("div",
|
|
9073
|
-
w.value ? (O(), T("nav",
|
|
9079
|
+
S.showGiftCard && x.value ? (O(), T("div", vu, [
|
|
9080
|
+
b("div", gu, [
|
|
9081
|
+
w.value ? (O(), T("nav", pu, [
|
|
9074
9082
|
b("ul", null, [
|
|
9075
9083
|
b("li", null, [
|
|
9076
9084
|
b("button", {
|
|
@@ -9089,17 +9097,17 @@ const Jl = { id: "konnectio-reservation-layout" }, eu = { id: "konnectio-reserva
|
|
|
9089
9097
|
], 2)
|
|
9090
9098
|
])
|
|
9091
9099
|
])
|
|
9092
|
-
])) : (O(), T("h5",
|
|
9093
|
-
y.value ? (O(), T("span",
|
|
9100
|
+
])) : (O(), T("h5", _u, [
|
|
9101
|
+
y.value ? (O(), T("span", mu, I(P(i)("general.discountCode")), 1)) : (O(), T("span", yu, I(P(i)("booking.reservation.giftCardCode")), 1))
|
|
9094
9102
|
])),
|
|
9095
|
-
b("div",
|
|
9096
|
-
z(
|
|
9103
|
+
b("div", bu, [
|
|
9104
|
+
z(ua, {
|
|
9097
9105
|
name: "fade",
|
|
9098
9106
|
mode: "out-in",
|
|
9099
9107
|
appear: ""
|
|
9100
9108
|
}, {
|
|
9101
9109
|
default: Oe(() => [
|
|
9102
|
-
y.value ? (O(), he(
|
|
9110
|
+
y.value ? (O(), he(ci, {
|
|
9103
9111
|
key: 0,
|
|
9104
9112
|
modelValue: m.value,
|
|
9105
9113
|
"onUpdate:modelValue": A[3] || (A[3] = (V) => m.value = V),
|
|
@@ -9110,10 +9118,10 @@ const Jl = { id: "konnectio-reservation-layout" }, eu = { id: "konnectio-reserva
|
|
|
9110
9118
|
secondary: !0,
|
|
9111
9119
|
"is-loading": P(l),
|
|
9112
9120
|
onAction: A[4] || (A[4] = (V) => S.validateDiscountCode())
|
|
9113
|
-
}, null, 8, ["modelValue", "placeholder", "is-loading"])) : E.value ? (O(), he(
|
|
9121
|
+
}, null, 8, ["modelValue", "placeholder", "is-loading"])) : E.value ? (O(), he(ci, {
|
|
9114
9122
|
key: 1,
|
|
9115
9123
|
modelValue: P(f),
|
|
9116
|
-
"onUpdate:modelValue": A[5] || (A[5] = (V) =>
|
|
9124
|
+
"onUpdate:modelValue": A[5] || (A[5] = (V) => ca(f) ? f.value = V : null),
|
|
9117
9125
|
icon: "gift-card",
|
|
9118
9126
|
"button-icon": "paper-plane-top",
|
|
9119
9127
|
placeholder: "XXXXXXXX",
|
|
@@ -9128,33 +9136,33 @@ const Jl = { id: "konnectio-reservation-layout" }, eu = { id: "konnectio-reserva
|
|
|
9128
9136
|
])
|
|
9129
9137
|
])
|
|
9130
9138
|
])) : M("", !0),
|
|
9131
|
-
S.notice ? (O(), T("div",
|
|
9139
|
+
S.notice ? (O(), T("div", Eu, [
|
|
9132
9140
|
b("p", {
|
|
9133
9141
|
innerHTML: S.notice,
|
|
9134
9142
|
class: "konnectio-wysiwyg"
|
|
9135
|
-
}, null, 8,
|
|
9143
|
+
}, null, 8, Pu)
|
|
9136
9144
|
])) : M("", !0)
|
|
9137
9145
|
]))
|
|
9138
9146
|
]),
|
|
9139
9147
|
_: 3
|
|
9140
9148
|
}, 8, ["top-spacing"])
|
|
9141
9149
|
], 2),
|
|
9142
|
-
P(n) ? (O(), T("div",
|
|
9143
|
-
z(
|
|
9150
|
+
P(n) ? (O(), T("div", Ou, [
|
|
9151
|
+
z(_a)
|
|
9144
9152
|
])) : M("", !0)
|
|
9145
9153
|
])
|
|
9146
9154
|
]));
|
|
9147
9155
|
}
|
|
9148
|
-
}),
|
|
9156
|
+
}), Ec = /* @__PURE__ */ de(xu, [["__scopeId", "data-v-69dfab7e"]]), Tu = {
|
|
9149
9157
|
id: "konnectio-confirmation",
|
|
9150
9158
|
class: "konnectio-panel"
|
|
9151
|
-
},
|
|
9159
|
+
}, wu = { id: "konnectio-confirmation-introduction" }, Iu = { id: "konnectio-confirmation-title" }, Cu = ["innerHTML"], Ru = { class: "konnectio-order-panel" }, Su = { key: 0 }, ku = { class: "konnectio-order-panel" }, Au = { class: "konnectio-order-lines" }, Lu = { key: 0 }, Du = { key: 1 }, Mu = {
|
|
9152
9160
|
key: 0,
|
|
9153
9161
|
class: "konnectio-order-panel"
|
|
9154
|
-
},
|
|
9162
|
+
}, zu = { class: "konnectio-table with-lines" }, Nu = { class: "konnectio-order-lines" }, Fu = { key: 0 }, Bu = { key: 1 }, ju = {
|
|
9155
9163
|
key: 2,
|
|
9156
9164
|
class: "highlighted-line"
|
|
9157
|
-
},
|
|
9165
|
+
}, Vu = /* @__PURE__ */ re({
|
|
9158
9166
|
__name: "ThankYou",
|
|
9159
9167
|
props: {
|
|
9160
9168
|
message: {}
|
|
@@ -9172,49 +9180,49 @@ const Jl = { id: "konnectio-reservation-layout" }, eu = { id: "konnectio-reserva
|
|
|
9172
9180
|
totalPrice: f,
|
|
9173
9181
|
totalVAT: d,
|
|
9174
9182
|
subTotalPrice: v
|
|
9175
|
-
} = me(
|
|
9176
|
-
return (p, m) => (O(), T("div",
|
|
9177
|
-
b("div",
|
|
9178
|
-
b("h2",
|
|
9183
|
+
} = me(da()), { currency: c } = me(Pt());
|
|
9184
|
+
return (p, m) => (O(), T("div", Tu, [
|
|
9185
|
+
b("div", wu, [
|
|
9186
|
+
b("h2", Iu, [
|
|
9179
9187
|
b("span", null, I(P(i)("general.thankYou")), 1)
|
|
9180
9188
|
]),
|
|
9181
9189
|
b("div", {
|
|
9182
9190
|
id: "konnectio-confirmation-message",
|
|
9183
9191
|
innerHTML: p.message
|
|
9184
|
-
}, null, 8,
|
|
9192
|
+
}, null, 8, Cu)
|
|
9185
9193
|
]),
|
|
9186
|
-
b("div",
|
|
9194
|
+
b("div", Ru, [
|
|
9187
9195
|
b("h5", null, [
|
|
9188
9196
|
b("span", null, I(P(i)("general.primaryContact")), 1)
|
|
9189
9197
|
]),
|
|
9190
9198
|
b("div", null, I(P(n)), 1),
|
|
9191
9199
|
b("div", null, I(P(r)), 1),
|
|
9192
|
-
P(o) ? (O(), T("div",
|
|
9200
|
+
P(o) ? (O(), T("div", Su, I(P(o)), 1)) : M("", !0)
|
|
9193
9201
|
]),
|
|
9194
|
-
b("div",
|
|
9202
|
+
b("div", ku, [
|
|
9195
9203
|
b("h5", null, [
|
|
9196
9204
|
b("span", null, I(P(i)("booking.reservation.detailsTitle")), 1)
|
|
9197
9205
|
]),
|
|
9198
|
-
b("ul",
|
|
9199
|
-
P(u) ? (O(), T("li",
|
|
9206
|
+
b("ul", Au, [
|
|
9207
|
+
P(u) ? (O(), T("li", Lu, [
|
|
9200
9208
|
b("span", null, I(P(i)("general.date")), 1),
|
|
9201
|
-
b("b", null, I(P(
|
|
9209
|
+
b("b", null, I(P(ot)(P(u))), 1)
|
|
9202
9210
|
])) : M("", !0),
|
|
9203
9211
|
b("li", null, [
|
|
9204
9212
|
b("span", null, I(P(i)("availability.adults")), 1),
|
|
9205
9213
|
b("b", null, I(P(s)), 1)
|
|
9206
9214
|
]),
|
|
9207
|
-
P(l) && P(l) > 0 ? (O(), T("li",
|
|
9215
|
+
P(l) && P(l) > 0 ? (O(), T("li", Du, [
|
|
9208
9216
|
b("span", null, I(P(i)("availability.children")), 1),
|
|
9209
9217
|
b("b", null, I(P(l)), 1)
|
|
9210
9218
|
])) : M("", !0)
|
|
9211
9219
|
])
|
|
9212
9220
|
]),
|
|
9213
|
-
P(t) ? (O(), T("div",
|
|
9221
|
+
P(t) ? (O(), T("div", Mu, [
|
|
9214
9222
|
b("h5", null, [
|
|
9215
9223
|
b("span", null, I(P(i)("general.orderDetails")), 1)
|
|
9216
9224
|
]),
|
|
9217
|
-
b("table",
|
|
9225
|
+
b("table", zu, [
|
|
9218
9226
|
b("thead", null, [
|
|
9219
9227
|
b("tr", null, [
|
|
9220
9228
|
b("th", null, I(P(i)("general.orderItem")), 1),
|
|
@@ -9246,89 +9254,89 @@ const Jl = { id: "konnectio-reservation-layout" }, eu = { id: "konnectio-reserva
|
|
|
9246
9254
|
])
|
|
9247
9255
|
])
|
|
9248
9256
|
])) : M("", !0),
|
|
9249
|
-
b("ul",
|
|
9250
|
-
P(v) ? (O(), T("li",
|
|
9257
|
+
b("ul", Nu, [
|
|
9258
|
+
P(v) ? (O(), T("li", Fu, [
|
|
9251
9259
|
b("span", null, I(P(i)("general.subTotal")), 1),
|
|
9252
9260
|
b("b", null, I(P(fe)(P(v), P(c))), 1)
|
|
9253
9261
|
])) : M("", !0),
|
|
9254
|
-
P(d) ? (O(), T("li",
|
|
9262
|
+
P(d) ? (O(), T("li", Bu, [
|
|
9255
9263
|
b("span", null, I(P(i)("general.vat")), 1),
|
|
9256
9264
|
b("b", null, I(P(fe)(P(d), P(c))), 1)
|
|
9257
9265
|
])) : M("", !0),
|
|
9258
|
-
P(f) ? (O(), T("li",
|
|
9266
|
+
P(f) ? (O(), T("li", ju, [
|
|
9259
9267
|
b("span", null, I(P(i)("booking.reservation.totalPrice")), 1),
|
|
9260
9268
|
b("b", null, I(P(fe)(P(f), P(c))), 1)
|
|
9261
9269
|
])) : M("", !0)
|
|
9262
9270
|
])
|
|
9263
9271
|
]));
|
|
9264
9272
|
}
|
|
9265
|
-
}),
|
|
9273
|
+
}), Pc = /* @__PURE__ */ de(Vu, [["__scopeId", "data-v-f173af94"]]), Hu = { class: "hotel-listing" }, $u = { class: "hotel-listing-content-gallery" }, Wu = { class: "hotel-listing-content-bullets" }, Uu = { class: "hotel-listing-content" }, Yu = { class: "hotel-listing-content-header" }, Gu = { class: "hotel-listing-content-title" }, Xu = { class: "hotel-listing-content-body" }, qu = { class: "hotel-listing-content-facilities" }, Ku = /* @__PURE__ */ re({
|
|
9266
9274
|
__name: "Listing",
|
|
9267
9275
|
setup(a) {
|
|
9268
|
-
return (i, t) => (O(), T("div",
|
|
9269
|
-
b("div",
|
|
9270
|
-
z(
|
|
9276
|
+
return (i, t) => (O(), T("div", Hu, [
|
|
9277
|
+
b("div", $u, [
|
|
9278
|
+
z(Y, {
|
|
9271
9279
|
width: "100%",
|
|
9272
9280
|
height: "153px"
|
|
9273
9281
|
}),
|
|
9274
|
-
b("div",
|
|
9275
|
-
z(
|
|
9282
|
+
b("div", Wu, [
|
|
9283
|
+
z(Y, {
|
|
9276
9284
|
width: "4px",
|
|
9277
9285
|
height: "4px",
|
|
9278
9286
|
"border-radius": "100%"
|
|
9279
9287
|
}),
|
|
9280
|
-
z(
|
|
9288
|
+
z(Y, {
|
|
9281
9289
|
width: "6px",
|
|
9282
9290
|
height: "6px",
|
|
9283
9291
|
"border-radius": "100%"
|
|
9284
9292
|
}),
|
|
9285
|
-
z(
|
|
9293
|
+
z(Y, {
|
|
9286
9294
|
width: "8px",
|
|
9287
9295
|
height: "8px",
|
|
9288
9296
|
"border-radius": "100%"
|
|
9289
9297
|
}),
|
|
9290
|
-
z(
|
|
9298
|
+
z(Y, {
|
|
9291
9299
|
width: "6px",
|
|
9292
9300
|
height: "6px",
|
|
9293
9301
|
"border-radius": "100%"
|
|
9294
9302
|
}),
|
|
9295
|
-
z(
|
|
9303
|
+
z(Y, {
|
|
9296
9304
|
width: "4px",
|
|
9297
9305
|
height: "4px",
|
|
9298
9306
|
"border-radius": "100%"
|
|
9299
9307
|
})
|
|
9300
9308
|
])
|
|
9301
9309
|
]),
|
|
9302
|
-
b("div",
|
|
9303
|
-
b("div",
|
|
9310
|
+
b("div", Uu, [
|
|
9311
|
+
b("div", Yu, [
|
|
9304
9312
|
b("div", Gu, [
|
|
9305
|
-
z(
|
|
9313
|
+
z(Y, {
|
|
9306
9314
|
height: "30px",
|
|
9307
9315
|
width: "60%"
|
|
9308
9316
|
}),
|
|
9309
|
-
z(
|
|
9317
|
+
z(Y, {
|
|
9310
9318
|
height: "30px",
|
|
9311
9319
|
width: "30px",
|
|
9312
9320
|
"border-radius": "100%"
|
|
9313
9321
|
})
|
|
9314
9322
|
]),
|
|
9315
|
-
z(
|
|
9323
|
+
z(Y, {
|
|
9316
9324
|
height: "15px",
|
|
9317
9325
|
width: "25%"
|
|
9318
9326
|
})
|
|
9319
9327
|
]),
|
|
9320
|
-
b("div",
|
|
9321
|
-
z(
|
|
9322
|
-
z(
|
|
9323
|
-
z(
|
|
9324
|
-
z(
|
|
9325
|
-
z(
|
|
9328
|
+
b("div", Xu, [
|
|
9329
|
+
z(Y, { height: "15px" }),
|
|
9330
|
+
z(Y, { height: "15px" }),
|
|
9331
|
+
z(Y, { height: "15px" }),
|
|
9332
|
+
z(Y, { height: "15px" }),
|
|
9333
|
+
z(Y, {
|
|
9326
9334
|
height: "15px",
|
|
9327
9335
|
width: "90%"
|
|
9328
9336
|
})
|
|
9329
9337
|
]),
|
|
9330
|
-
b("div",
|
|
9331
|
-
(O(), T(ue, null, _e(5, (e) => z(
|
|
9338
|
+
b("div", qu, [
|
|
9339
|
+
(O(), T(ue, null, _e(5, (e) => z(Y, {
|
|
9332
9340
|
key: e,
|
|
9333
9341
|
height: "25px",
|
|
9334
9342
|
width: "25px",
|
|
@@ -9338,23 +9346,23 @@ const Jl = { id: "konnectio-reservation-layout" }, eu = { id: "konnectio-reserva
|
|
|
9338
9346
|
])
|
|
9339
9347
|
]));
|
|
9340
9348
|
}
|
|
9341
|
-
}),
|
|
9349
|
+
}), Zu = /* @__PURE__ */ de(Ku, [["__scopeId", "data-v-1d3ecf21"]]), Qu = { class: "konnectio-skeleton-listings" }, Ju = /* @__PURE__ */ re({
|
|
9342
9350
|
__name: "Listings",
|
|
9343
9351
|
props: {
|
|
9344
9352
|
amount: { default: 3 }
|
|
9345
9353
|
},
|
|
9346
9354
|
setup(a) {
|
|
9347
|
-
return (i, t) => (O(), T("div",
|
|
9348
|
-
(O(!0), T(ue, null, _e(i.amount, (e) => (O(), he(
|
|
9355
|
+
return (i, t) => (O(), T("div", Qu, [
|
|
9356
|
+
(O(!0), T(ue, null, _e(i.amount, (e) => (O(), he(Zu, { key: e }))), 128))
|
|
9349
9357
|
]));
|
|
9350
9358
|
}
|
|
9351
|
-
}),
|
|
9352
|
-
var
|
|
9353
|
-
function
|
|
9354
|
-
return
|
|
9359
|
+
}), Oc = /* @__PURE__ */ de(Ju, [["__scopeId", "data-v-dfdb5e6b"]]);
|
|
9360
|
+
var Tr = { exports: {} }, Nt = { exports: {} }, Ft = { exports: {} }, Ri;
|
|
9361
|
+
function Ln() {
|
|
9362
|
+
return Ri || (Ri = 1, function(a) {
|
|
9355
9363
|
(function(i, t) {
|
|
9356
9364
|
a.exports ? a.exports = t() : i.EvEmitter = t();
|
|
9357
|
-
})(typeof window < "u" ? window :
|
|
9365
|
+
})(typeof window < "u" ? window : ji, function() {
|
|
9358
9366
|
function i() {
|
|
9359
9367
|
}
|
|
9360
9368
|
var t = i.prototype;
|
|
@@ -9389,17 +9397,17 @@ function An() {
|
|
|
9389
9397
|
delete this._events, delete this._onceEvents;
|
|
9390
9398
|
}, i;
|
|
9391
9399
|
});
|
|
9392
|
-
}(
|
|
9400
|
+
}(Ft)), Ft.exports;
|
|
9393
9401
|
}
|
|
9394
|
-
var
|
|
9402
|
+
var Bt = { exports: {} };
|
|
9395
9403
|
/*!
|
|
9396
9404
|
* getSize v2.0.3
|
|
9397
9405
|
* measure size of elements
|
|
9398
9406
|
* MIT license
|
|
9399
9407
|
*/
|
|
9400
|
-
var
|
|
9401
|
-
function
|
|
9402
|
-
return
|
|
9408
|
+
var Si;
|
|
9409
|
+
function Dn() {
|
|
9410
|
+
return Si || (Si = 1, function(a) {
|
|
9403
9411
|
(function(i, t) {
|
|
9404
9412
|
a.exports ? a.exports = t() : i.getSize = t();
|
|
9405
9413
|
})(window, function() {
|
|
@@ -9476,11 +9484,11 @@ function Ln() {
|
|
|
9476
9484
|
}
|
|
9477
9485
|
return v;
|
|
9478
9486
|
});
|
|
9479
|
-
}(
|
|
9487
|
+
}(Bt)), Bt.exports;
|
|
9480
9488
|
}
|
|
9481
|
-
var
|
|
9482
|
-
function
|
|
9483
|
-
return
|
|
9489
|
+
var jt = { exports: {} }, Vt = { exports: {} }, ki;
|
|
9490
|
+
function ec() {
|
|
9491
|
+
return ki || (ki = 1, function(a) {
|
|
9484
9492
|
(function(i, t) {
|
|
9485
9493
|
a.exports ? a.exports = t() : i.matchesSelector = t();
|
|
9486
9494
|
})(window, function() {
|
|
@@ -9500,15 +9508,15 @@ function Ju() {
|
|
|
9500
9508
|
return n[t](r);
|
|
9501
9509
|
};
|
|
9502
9510
|
});
|
|
9503
|
-
}(
|
|
9511
|
+
}(Vt)), Vt.exports;
|
|
9504
9512
|
}
|
|
9505
|
-
var
|
|
9506
|
-
function
|
|
9507
|
-
return
|
|
9513
|
+
var Ai;
|
|
9514
|
+
function tc() {
|
|
9515
|
+
return Ai || (Ai = 1, function(a) {
|
|
9508
9516
|
(function(i, t) {
|
|
9509
9517
|
a.exports ? a.exports = t(
|
|
9510
9518
|
i,
|
|
9511
|
-
|
|
9519
|
+
ec()
|
|
9512
9520
|
) : i.fizzyUIUtils = t(
|
|
9513
9521
|
i,
|
|
9514
9522
|
i.matchesSelector
|
|
@@ -9593,15 +9601,15 @@ function ec() {
|
|
|
9593
9601
|
});
|
|
9594
9602
|
}, n;
|
|
9595
9603
|
});
|
|
9596
|
-
}(
|
|
9604
|
+
}(jt)), jt.exports;
|
|
9597
9605
|
}
|
|
9598
|
-
var
|
|
9599
|
-
function
|
|
9600
|
-
return
|
|
9606
|
+
var Ht = { exports: {} }, Li;
|
|
9607
|
+
function nc() {
|
|
9608
|
+
return Li || (Li = 1, function(a) {
|
|
9601
9609
|
(function(i, t) {
|
|
9602
9610
|
a.exports ? a.exports = t(
|
|
9603
|
-
|
|
9604
|
-
|
|
9611
|
+
Ln(),
|
|
9612
|
+
Dn()
|
|
9605
9613
|
) : (i.Outlayer = {}, i.Outlayer.Item = t(
|
|
9606
9614
|
i.EvEmitter,
|
|
9607
9615
|
i.getSize
|
|
@@ -9800,23 +9808,23 @@ function tc() {
|
|
|
9800
9808
|
});
|
|
9801
9809
|
}, f;
|
|
9802
9810
|
});
|
|
9803
|
-
}(
|
|
9811
|
+
}(Ht)), Ht.exports;
|
|
9804
9812
|
}
|
|
9805
9813
|
/*!
|
|
9806
9814
|
* Outlayer v2.1.1
|
|
9807
9815
|
* the brains and guts of a layout library
|
|
9808
9816
|
* MIT license
|
|
9809
9817
|
*/
|
|
9810
|
-
var
|
|
9811
|
-
function
|
|
9812
|
-
return
|
|
9818
|
+
var Di;
|
|
9819
|
+
function ic() {
|
|
9820
|
+
return Di || (Di = 1, function(a) {
|
|
9813
9821
|
(function(i, t) {
|
|
9814
9822
|
a.exports ? a.exports = t(
|
|
9815
9823
|
i,
|
|
9816
|
-
An(),
|
|
9817
9824
|
Ln(),
|
|
9818
|
-
|
|
9819
|
-
tc()
|
|
9825
|
+
Dn(),
|
|
9826
|
+
tc(),
|
|
9827
|
+
nc()
|
|
9820
9828
|
) : i.Outlayer = t(
|
|
9821
9829
|
i,
|
|
9822
9830
|
i.EvEmitter,
|
|
@@ -10104,7 +10112,7 @@ function nc() {
|
|
|
10104
10112
|
}
|
|
10105
10113
|
return v.Item = o, v;
|
|
10106
10114
|
});
|
|
10107
|
-
}(
|
|
10115
|
+
}(Nt)), Nt.exports;
|
|
10108
10116
|
}
|
|
10109
10117
|
/*!
|
|
10110
10118
|
* Masonry v4.2.2
|
|
@@ -10116,8 +10124,8 @@ function nc() {
|
|
|
10116
10124
|
(function(a) {
|
|
10117
10125
|
(function(i, t) {
|
|
10118
10126
|
a.exports ? a.exports = t(
|
|
10119
|
-
|
|
10120
|
-
|
|
10127
|
+
ic(),
|
|
10128
|
+
Dn()
|
|
10121
10129
|
) : i.Masonry = t(
|
|
10122
10130
|
i.Outlayer,
|
|
10123
10131
|
i.getSize
|
|
@@ -10199,10 +10207,10 @@ function nc() {
|
|
|
10199
10207
|
return this.getContainerWidth(), o != this.containerWidth;
|
|
10200
10208
|
}, n;
|
|
10201
10209
|
});
|
|
10202
|
-
})(
|
|
10203
|
-
var
|
|
10204
|
-
const
|
|
10205
|
-
var
|
|
10210
|
+
})(Tr);
|
|
10211
|
+
var rc = Tr.exports;
|
|
10212
|
+
const Mi = /* @__PURE__ */ Vi(rc);
|
|
10213
|
+
var wr = { exports: {} };
|
|
10206
10214
|
/*!
|
|
10207
10215
|
* imagesLoaded v4.1.4
|
|
10208
10216
|
* JavaScript is all like "You images are done yet or what?"
|
|
@@ -10212,13 +10220,13 @@ var Tr = { exports: {} };
|
|
|
10212
10220
|
(function(i, t) {
|
|
10213
10221
|
a.exports ? a.exports = t(
|
|
10214
10222
|
i,
|
|
10215
|
-
|
|
10223
|
+
Ln()
|
|
10216
10224
|
) : i.imagesLoaded = t(
|
|
10217
10225
|
i,
|
|
10218
10226
|
i.EvEmitter
|
|
10219
10227
|
);
|
|
10220
10228
|
})(
|
|
10221
|
-
typeof window < "u" ? window :
|
|
10229
|
+
typeof window < "u" ? window : ji,
|
|
10222
10230
|
// -------------------------- factory -------------------------- //
|
|
10223
10231
|
function(t, e) {
|
|
10224
10232
|
var n = t.jQuery, r = t.console;
|
|
@@ -10347,9 +10355,9 @@ var Tr = { exports: {} };
|
|
|
10347
10355
|
}, u.makeJQueryPlugin(), u;
|
|
10348
10356
|
}
|
|
10349
10357
|
);
|
|
10350
|
-
})(
|
|
10351
|
-
var
|
|
10352
|
-
const
|
|
10358
|
+
})(wr);
|
|
10359
|
+
var ac = wr.exports;
|
|
10360
|
+
const oc = /* @__PURE__ */ Vi(ac), rt = {
|
|
10353
10361
|
"column-width": "columnWidth",
|
|
10354
10362
|
"transition-duration": "transitionDuration",
|
|
10355
10363
|
"item-selector": "itemSelector",
|
|
@@ -10362,24 +10370,24 @@ const ac = /* @__PURE__ */ ji(rc), it = {
|
|
|
10362
10370
|
"horizontal-order": "horizontalOrder",
|
|
10363
10371
|
stagger: "stagger",
|
|
10364
10372
|
"destroy-delay": "destroyDelay"
|
|
10365
|
-
},
|
|
10373
|
+
}, at = "vuemasonry.itemAdded", $t = "vuemasonry.itemRemoved", Wt = "vuemasonry.imageLoaded", Ut = "vuemasonry.destroy", sc = function(a) {
|
|
10366
10374
|
return (a + "").toLowerCase() === "true";
|
|
10367
|
-
}, sc = function(a) {
|
|
10368
|
-
return isNaN(a) ? a : parseInt(a);
|
|
10369
10375
|
}, lc = function(a) {
|
|
10376
|
+
return isNaN(a) ? a : parseInt(a);
|
|
10377
|
+
}, uc = function(a) {
|
|
10370
10378
|
const i = {};
|
|
10371
10379
|
return Array.prototype.slice.call(a).forEach(function(e) {
|
|
10372
|
-
Object.keys(
|
|
10380
|
+
Object.keys(rt).indexOf(e.name) > -1 && (e.name.indexOf("origin") > -1 ? i[rt[e.name]] = sc(e.value) : e.name === "column-width" || e.name === "gutter" ? i[rt[e.name]] = lc(e.value) : i[rt[e.name]] = e.value);
|
|
10373
10381
|
}), i;
|
|
10374
|
-
},
|
|
10375
|
-
|
|
10376
|
-
const t =
|
|
10382
|
+
}, cc = {};
|
|
10383
|
+
cc.install = function(a, i) {
|
|
10384
|
+
const t = va(), e = "VueMasonry", n = a;
|
|
10377
10385
|
n.directive("masonry", {
|
|
10378
10386
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
10379
10387
|
mounted: function(r, o) {
|
|
10380
|
-
if (!
|
|
10388
|
+
if (!Mi)
|
|
10381
10389
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
10382
|
-
const s =
|
|
10390
|
+
const s = uc(r.attributes), l = new Mi(r, s), u = o.value || e, f = s.destroyDelay ? parseInt(s.destroyDelay, 10) : void 0, d = function() {
|
|
10383
10391
|
l.reloadItems(), l.layout();
|
|
10384
10392
|
};
|
|
10385
10393
|
Gt(() => {
|
|
@@ -10388,32 +10396,32 @@ uc.install = function(a, i) {
|
|
|
10388
10396
|
const v = function(p) {
|
|
10389
10397
|
d();
|
|
10390
10398
|
}, c = function(p) {
|
|
10391
|
-
t.off(`${
|
|
10399
|
+
t.off(`${at}__${u}`, v), t.off(`${$t}__${u}`, v), t.off(`${Wt}__${u}`, v), t.off(`${Ut}__${u}`, c);
|
|
10392
10400
|
const m = f && !Number.isNaN(f) ? f : 0;
|
|
10393
10401
|
setTimeout(function() {
|
|
10394
10402
|
l.destroy();
|
|
10395
10403
|
}, m);
|
|
10396
10404
|
};
|
|
10397
|
-
t.on(`${
|
|
10405
|
+
t.on(`${at}__${u}`, v), t.on(`${$t}__${u}`, v), t.on(`${Wt}__${u}`, v), t.on(`${Ut}__${u}`, c);
|
|
10398
10406
|
},
|
|
10399
10407
|
unbind: function(r, o) {
|
|
10400
10408
|
const s = o.value || e;
|
|
10401
|
-
t.emit(`${
|
|
10409
|
+
t.emit(`${Ut}__${s}`);
|
|
10402
10410
|
}
|
|
10403
10411
|
}), n.directive("masonryTile", {
|
|
10404
10412
|
mounted: function(r, o) {
|
|
10405
10413
|
const s = o.value || e;
|
|
10406
|
-
t.emit(`${
|
|
10414
|
+
t.emit(`${at}__${s}`, {
|
|
10407
10415
|
element: r
|
|
10408
|
-
}), new
|
|
10409
|
-
t.emit(`${
|
|
10416
|
+
}), new oc(r, function() {
|
|
10417
|
+
t.emit(`${Wt}__${s}`, {
|
|
10410
10418
|
element: r
|
|
10411
10419
|
});
|
|
10412
10420
|
});
|
|
10413
10421
|
},
|
|
10414
10422
|
unbind: function(r, o) {
|
|
10415
10423
|
const s = o.value || e;
|
|
10416
|
-
t.emit(`${
|
|
10424
|
+
t.emit(`${$t}__${s}`, {
|
|
10417
10425
|
element: r
|
|
10418
10426
|
});
|
|
10419
10427
|
}
|
|
@@ -10421,21 +10429,21 @@ uc.install = function(a, i) {
|
|
|
10421
10429
|
{
|
|
10422
10430
|
const r = function(o) {
|
|
10423
10431
|
const s = o || e;
|
|
10424
|
-
t.emit(`${
|
|
10432
|
+
t.emit(`${at}__${s}`);
|
|
10425
10433
|
};
|
|
10426
10434
|
a.config.globalProperties.$redrawVueMasonry = r, a.provide("redrawVueMasonry", r);
|
|
10427
10435
|
}
|
|
10428
10436
|
};
|
|
10429
10437
|
export {
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10438
|
+
mc as B,
|
|
10439
|
+
yc as C,
|
|
10440
|
+
Oc as L,
|
|
10441
|
+
bc as M,
|
|
10442
|
+
Ec as R,
|
|
10443
|
+
Ql as S,
|
|
10444
|
+
Pc as T,
|
|
10445
|
+
cc as V,
|
|
10446
|
+
_l as _,
|
|
10447
|
+
Zu as a
|
|
10440
10448
|
};
|
|
10441
|
-
//# sourceMappingURL=masonry.plugin-
|
|
10449
|
+
//# sourceMappingURL=masonry.plugin-q1wqMEhq.js.map
|