@konnectio/core 4.0.51 → 4.0.52
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-e9ca199c.js → ActionField-4bd0b62c.js} +2 -2
- package/dist/ActionField-4bd0b62c.js.br +0 -0
- package/dist/{ActionField-478027b3.cjs → ActionField-7bfa21a3.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-566426af.cjs → AvailabilitySkeleton-7ee2b815.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-e17caf62.js → AvailabilitySkeleton-f4a3aa9d.js} +5 -5
- package/dist/AvailabilitySkeleton-f4a3aa9d.js.br +0 -0
- package/dist/{CheckoutWindow-5f0acea5.cjs → CheckoutWindow-1edd3e11.cjs} +1 -1
- package/dist/{CheckoutWindow-98e3584c.js → CheckoutWindow-88c61aa9.js} +1 -1
- package/dist/CheckoutWindow-88c61aa9.js.br +0 -0
- package/dist/{Container-f044532f.cjs → Container-22fc9721.cjs} +1 -1
- package/dist/{Container-a006e569.js → Container-f2af0c1b.js} +1 -1
- package/dist/Container-f2af0c1b.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-7b829d81.js → DateField.vue_vue_type_style_index_0_lang-6268733b.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-6268733b.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-82f7e9c7.cjs → DateField.vue_vue_type_style_index_0_lang-68a02fd2.cjs} +1 -1
- package/dist/{Field-2839d976.cjs → Field-3d735db5.cjs} +1 -1
- package/dist/{Field-1121f643.js → Field-8d12a118.js} +2 -2
- package/dist/Field-8d12a118.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-fd01e54d.cjs → NumberField.vue_vue_type_script_setup_true_lang-72e40888.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-3d0815e4.js → NumberField.vue_vue_type_script_setup_true_lang-8805ce66.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-8805ce66.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-ab8bdbaa.cjs → SelectField.vue_vue_type_style_index_0_lang-581db34f.cjs} +28 -28
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-113f6c36.js → SelectField.vue_vue_type_style_index_0_lang-66ac7611.js} +1998 -1995
- package/dist/SelectField.vue_vue_type_style_index_0_lang-66ac7611.js.br +0 -0
- package/dist/{ThankYou-94db96aa.js → ThankYou-8df7fca1.js} +1186 -1154
- package/dist/ThankYou-8df7fca1.js.br +0 -0
- package/dist/{ThankYou-6b839d4c.cjs → ThankYou-c79518b0.cjs} +7 -7
- package/dist/{_-8aaa6e92.cjs → _-cfd918d7.cjs} +1 -1
- package/dist/{_-ef7cbf18.js → _-f0eb6d3a.js} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/{event-5fe26a0d.cjs → event-181ae635.cjs} +1 -1
- package/dist/{event-f7f3ce58.js → event-4c7c6011.js} +7 -7
- package/dist/event-4c7c6011.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +4 -4
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +6 -6
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +7 -7
- package/dist/hotel.js +416 -416
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.cjs +2 -2
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +4 -4
- package/dist/ActionField-e9ca199c.js.br +0 -0
- package/dist/AvailabilitySkeleton-e17caf62.js.br +0 -0
- package/dist/CheckoutWindow-98e3584c.js.br +0 -0
- package/dist/Container-a006e569.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-7b829d81.js.br +0 -0
- package/dist/Field-1121f643.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-3d0815e4.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-113f6c36.js.br +0 -0
- package/dist/ThankYou-94db96aa.js.br +0 -0
- package/dist/event-f7f3ce58.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { k as J, F as de, aF as _o, s as Q, c as Ie, aa as zt, ab as ue, m as T, n as W, X as bo, q as a, w as P, D as et, A as g, H as A, M as ae, Z as Ct, aG as ko, v as I, a4 as q, a3 as N, x as w, aH as Te, a6 as
|
|
2
|
-
import { R as Ho, B as _t, a as wo, S as Po, M as Ro, T as Do, x as Mo } from "./ThankYou-
|
|
3
|
-
import { C as xo } from "./Container-
|
|
4
|
-
import { A as Wo, H as Bo } from "./AvailabilitySkeleton-
|
|
5
|
-
import { _ as jt } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as zo } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
7
|
-
import { C as
|
|
8
|
-
import { E as Z } from "./_-
|
|
1
|
+
import { k as J, F as de, aF as _o, s as Q, c as Ie, aa as zt, ab as ue, m as T, n as W, X as bo, q as a, w as P, D as et, A as g, H as A, M as ae, Z as Ct, aG as ko, v as I, a4 as q, a3 as N, x as w, aH as Te, a6 as pt, p as C, K as te, L as le, f as Y, B as Ke, Q as Ft, R as Nt, _ as oe, r as $e, aI as Ut, o as yt, a2 as Ge, C as Ee, aA as Eo, y as je, I as qt, l as St, T as se, aD as To, G as Co, a7 as So, N as $t, J as j, P as $o, al as Gt, aJ as Io, V as Lo, U as Ao, W as Oo, a9 as Vo } from "./SelectField.vue_vue_type_style_index_0_lang-66ac7611.js";
|
|
2
|
+
import { R as Ho, B as _t, a as wo, S as Po, M as Ro, T as Do, x as Mo } from "./ThankYou-8df7fca1.js";
|
|
3
|
+
import { C as xo } from "./Container-f2af0c1b.js";
|
|
4
|
+
import { A as Wo, H as Bo } from "./AvailabilitySkeleton-f4a3aa9d.js";
|
|
5
|
+
import { _ as jt } from "./NumberField.vue_vue_type_script_setup_true_lang-8805ce66.js";
|
|
6
|
+
import { _ as zo } from "./DateField.vue_vue_type_style_index_0_lang-6268733b.js";
|
|
7
|
+
import { C as ht, P as Fo, a as No } from "./CheckoutWindow-88c61aa9.js";
|
|
8
|
+
import { E as Z } from "./_-f0eb6d3a.js";
|
|
9
9
|
import { c as Yt, a as Kt } from "./_commonjsHelpers-aeeeeb92.js";
|
|
10
|
-
import "./ActionField-
|
|
11
|
-
import "./Field-
|
|
10
|
+
import "./ActionField-4bd0b62c.js";
|
|
11
|
+
import "./Field-8d12a118.js";
|
|
12
12
|
const Uo = /* @__PURE__ */ g("br", null, null, -1);
|
|
13
13
|
const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
14
14
|
__name: "HotelReservationForm",
|
|
@@ -21,9 +21,9 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
21
21
|
hideArrivalDepartureInputs: i,
|
|
22
22
|
disableArrivalUserSelection: u,
|
|
23
23
|
disableDepartureUserSelection: r,
|
|
24
|
-
arrivalDefault:
|
|
24
|
+
arrivalDefault: p,
|
|
25
25
|
departureDefault: d,
|
|
26
|
-
currency:
|
|
26
|
+
currency: f
|
|
27
27
|
} = Q(Ie()), {
|
|
28
28
|
arrivalDate: l,
|
|
29
29
|
departureDate: v
|
|
@@ -35,7 +35,7 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
35
35
|
totalPrice: b,
|
|
36
36
|
areListingsLoading: c,
|
|
37
37
|
getSelectedPackageRoom: n,
|
|
38
|
-
selectedPackage:
|
|
38
|
+
selectedPackage: h,
|
|
39
39
|
discountVouchers: _
|
|
40
40
|
} = Q(ue()), { removeRoom: S } = ue();
|
|
41
41
|
function E($) {
|
|
@@ -54,7 +54,7 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
54
54
|
"reservation-summary": P(() => [
|
|
55
55
|
g("li", null, [
|
|
56
56
|
g("span", null, A(a(e)("booking.reservation.arrival")), 1),
|
|
57
|
-
g("b", null, A(a(i) ? a(ae)(a(l)) : `${a(ae)(a(l))}, ${a(u) ? a(
|
|
57
|
+
g("b", null, A(a(i) ? a(ae)(a(l)) : `${a(ae)(a(l))}, ${a(u) ? a(p) : a(m)}`), 1)
|
|
58
58
|
]),
|
|
59
59
|
g("li", null, [
|
|
60
60
|
g("span", null, A(a(e)("booking.reservation.departure")), 1),
|
|
@@ -87,7 +87,7 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
87
87
|
g("span", null, A(a(Te)(D.name)), 1),
|
|
88
88
|
Uo,
|
|
89
89
|
g("span", null, [
|
|
90
|
-
|
|
90
|
+
pt("( "),
|
|
91
91
|
C(te, {
|
|
92
92
|
icon: "male",
|
|
93
93
|
type: "fas",
|
|
@@ -102,24 +102,24 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
102
102
|
}),
|
|
103
103
|
g("span", null, A(z.childrenCount), 1)
|
|
104
104
|
], 64)) : w("", !0),
|
|
105
|
-
|
|
105
|
+
pt(") ")
|
|
106
106
|
])
|
|
107
107
|
]),
|
|
108
108
|
g("b", null, [
|
|
109
|
-
g("span", null, A(a(le)(z.totalPrice, a(
|
|
109
|
+
g("span", null, A(a(le)(z.totalPrice, a(f))), 1),
|
|
110
110
|
w("", !0)
|
|
111
111
|
])
|
|
112
112
|
]),
|
|
113
113
|
E(z.roomAddons) > 0 ? (T(), I("li", qo, [
|
|
114
114
|
g("span", null, A(a(e)("booking.reservation.addons")), 1),
|
|
115
|
-
g("b", null, A(a(le)(E(z.roomAddons), a(
|
|
115
|
+
g("b", null, A(a(le)(E(z.roomAddons), a(f))), 1)
|
|
116
116
|
])) : w("", !0)
|
|
117
117
|
]))), 128))
|
|
118
118
|
]))), 128))
|
|
119
119
|
]))), 128)) : w("", !0),
|
|
120
|
-
a(n) && a(
|
|
120
|
+
a(n) && a(h) ? (T(), I("div", Go, [
|
|
121
121
|
g("h6", null, [
|
|
122
|
-
g("span", null, A(a(Te)(a(
|
|
122
|
+
g("span", null, A(a(Te)(a(h).name)), 1)
|
|
123
123
|
]),
|
|
124
124
|
g("div", null, [
|
|
125
125
|
g("ul", null, [
|
|
@@ -128,7 +128,7 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
128
128
|
g("span", null, A(a(Te)(a(n).title)), 1)
|
|
129
129
|
]),
|
|
130
130
|
g("b", null, [
|
|
131
|
-
g("span", null, A(a(le)(a(n).extraPrice, a(
|
|
131
|
+
g("span", null, A(a(le)(a(n).extraPrice, a(f))), 1)
|
|
132
132
|
])
|
|
133
133
|
])
|
|
134
134
|
])
|
|
@@ -161,24 +161,24 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
161
161
|
emits: ["update:modelValue"],
|
|
162
162
|
setup(t, { emit: e }) {
|
|
163
163
|
const { t: o } = de(), { currency: i } = Q(Ie()), u = e, r = t;
|
|
164
|
-
function f
|
|
165
|
-
u("update:modelValue",
|
|
164
|
+
function p(f) {
|
|
165
|
+
u("update:modelValue", f);
|
|
166
166
|
}
|
|
167
167
|
const d = Y({
|
|
168
168
|
get: () => r.modelValue,
|
|
169
|
-
set: (
|
|
169
|
+
set: (f) => p(f)
|
|
170
170
|
});
|
|
171
|
-
return (
|
|
171
|
+
return (f, l) => (T(), W(Ke, {
|
|
172
172
|
modelValue: d.value,
|
|
173
173
|
"onUpdate:modelValue": l[0] || (l[0] = (v) => d.value = v),
|
|
174
|
-
label:
|
|
174
|
+
label: f.label,
|
|
175
175
|
placeholder: "Select guest configuration",
|
|
176
176
|
labelKey: "label",
|
|
177
177
|
valueKey: "value",
|
|
178
178
|
"icon-placement": "label",
|
|
179
|
-
options:
|
|
180
|
-
readonly:
|
|
181
|
-
required:
|
|
179
|
+
options: f.options,
|
|
180
|
+
readonly: f.readonly,
|
|
181
|
+
required: f.required,
|
|
182
182
|
searchable: !1
|
|
183
183
|
}, {
|
|
184
184
|
option: P(({ data: v }) => [
|
|
@@ -214,7 +214,7 @@ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
214
214
|
]),
|
|
215
215
|
g("div", Jo, [
|
|
216
216
|
Zo,
|
|
217
|
-
|
|
217
|
+
pt(" " + A(`(${a(le)(v.price, a(i))})`), 1)
|
|
218
218
|
])
|
|
219
219
|
])
|
|
220
220
|
]),
|
|
@@ -241,9 +241,9 @@ const si = /* @__PURE__ */ J({
|
|
|
241
241
|
const r = Y(() => o.room.rates.map((E) => ({
|
|
242
242
|
label: E.name,
|
|
243
243
|
value: E.id
|
|
244
|
-
}))),
|
|
245
|
-
Y(() => r.value.filter((E) => !
|
|
246
|
-
const { hideAvailableRoomAmount: d, currency:
|
|
244
|
+
}))), p = Y(() => i.value.flatMap((E) => E.id));
|
|
245
|
+
Y(() => r.value.filter((E) => !p.value.includes(E.value)));
|
|
246
|
+
const { hideAvailableRoomAmount: d, currency: f } = Q(Ie()), { roomSelect: l } = Q(ue()), { viewItem: v, addToCart: m, removeFromCart: k } = Ut(), s = (E, $) => o.room.rates.find((O) => O.id === E)?.occupantRates.find((O) => O.index === $), y = Y(() => o.room.rates.reduce(
|
|
247
247
|
(E, $) => E < $.rackRate ? E : $.rackRate,
|
|
248
248
|
1 / 0
|
|
249
249
|
)), b = Y(() => o.room.rates.every((E) => E.isBreakfastIncluded === !0)), c = (E, $) => s(E, $) ? s(E, $)?.rooms : null, n = (E) => o.room.rates.length > 0 ? o.room.rates.find(($) => $.id === E)?.occupantRates.map(($) => ({
|
|
@@ -252,9 +252,9 @@ const si = /* @__PURE__ */ J({
|
|
|
252
252
|
adults: $.adultsCount,
|
|
253
253
|
children: $.childrenCount,
|
|
254
254
|
hasBreakfast: $.hasBreakfast
|
|
255
|
-
})) || [] : [],
|
|
255
|
+
})) || [] : [], h = Y(() => o.room.rates.length > 1);
|
|
256
256
|
function _() {
|
|
257
|
-
|
|
257
|
+
h.value ? i.value.push({
|
|
258
258
|
id: void 0,
|
|
259
259
|
config: [{
|
|
260
260
|
id: o.room.rates[0].occupantRateIndex || NaN,
|
|
@@ -307,7 +307,7 @@ const si = /* @__PURE__ */ J({
|
|
|
307
307
|
key: O.id,
|
|
308
308
|
class: "freshbooking-hotel-room"
|
|
309
309
|
}, [
|
|
310
|
-
|
|
310
|
+
h.value ? (T(), W(Ke, {
|
|
311
311
|
key: 0,
|
|
312
312
|
modelValue: O.id,
|
|
313
313
|
"onUpdate:modelValue": (H) => O.id = H,
|
|
@@ -371,18 +371,18 @@ const ai = /* @__PURE__ */ oe(si, [["__scopeId", "data-v-79268706"]]), li = { cl
|
|
|
371
371
|
callback: { type: Function }
|
|
372
372
|
},
|
|
373
373
|
setup(t) {
|
|
374
|
-
const { t: e } = de(), { templateID: o, roomGroupID: i } = Q(ue()), { currency: u } = Q(Ie()), { clearRoomSelection: r } = ue(),
|
|
375
|
-
function d(
|
|
376
|
-
o.value =
|
|
374
|
+
const { t: e } = de(), { templateID: o, roomGroupID: i } = Q(ue()), { currency: u } = Q(Ie()), { clearRoomSelection: r } = ue(), p = t;
|
|
375
|
+
function d(f) {
|
|
376
|
+
o.value = p.templateId, i.value = f, r(), p.callback(2);
|
|
377
377
|
}
|
|
378
|
-
return (
|
|
379
|
-
title:
|
|
380
|
-
description:
|
|
378
|
+
return (f, l) => (T(), W(wo, {
|
|
379
|
+
title: f.title,
|
|
380
|
+
description: f.description,
|
|
381
381
|
subtitle: a(e)("booking.availability.selectATemplateRoom")
|
|
382
382
|
}, {
|
|
383
383
|
default: P(() => [
|
|
384
384
|
g("div", li, [
|
|
385
|
-
(T(!0), I(N, null, q(
|
|
385
|
+
(T(!0), I(N, null, q(f.roomGroups, ({
|
|
386
386
|
id: v,
|
|
387
387
|
title: m,
|
|
388
388
|
description: k,
|
|
@@ -476,13 +476,13 @@ var ci = [
|
|
|
476
476
|
"tr",
|
|
477
477
|
"ul",
|
|
478
478
|
"video"
|
|
479
|
-
], Be = ["audio", "math", "svg", "video"], Ce = 10, fi = 33,
|
|
479
|
+
], Be = ["audio", "math", "svg", "video"], Ce = 10, fi = 33, pi = 34, hi = 38, mi = 39, we = 47, mt = 59, Ne = 60, vi = 61, ot = 62, gi = /[<&\n\ud800-\udbff]/, yi = /[<&\ud800-\udbff]/, _i = /\s+/g;
|
|
480
480
|
function bi(t, e, o) {
|
|
481
481
|
return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ? ki(t, e, o) : Ei(t, e, o)) : "";
|
|
482
482
|
}
|
|
483
483
|
Qt.default = bi;
|
|
484
484
|
function ki(t, e, o) {
|
|
485
|
-
for (var i = o.imageWeight, u = i === void 0 ? 2 : i, r = o.indicator,
|
|
485
|
+
for (var i = o.imageWeight, u = i === void 0 ? 2 : i, r = o.indicator, p = r === void 0 ? "…" : r, d = o.maxLines, f = d === void 0 ? 1 / 0 : d, l = o.stripTags, v = l === void 0 ? !1 : l, m = p.length, k = 1, s = typeof v == "boolean" ? function() {
|
|
486
486
|
return v;
|
|
487
487
|
} : function(ee) {
|
|
488
488
|
return v.includes(ee);
|
|
@@ -490,7 +490,7 @@ function ki(t, e, o) {
|
|
|
490
490
|
for (var _e; _e = y.pop(), _e !== void 0; )
|
|
491
491
|
s(_e) || (ee += "</" + _e + ">");
|
|
492
492
|
return ee;
|
|
493
|
-
}, c = 0, n = -1,
|
|
493
|
+
}, c = 0, n = -1, h = t.length; c < h; c++) {
|
|
494
494
|
var _ = c ? t.slice(c) : t, S = Ci(y), E = n > -1 || S ? yi : gi, $ = _.search(E), O = $ > -1 ? $ : _.length;
|
|
495
495
|
if (n === -1) {
|
|
496
496
|
if (S) {
|
|
@@ -524,7 +524,7 @@ function ki(t, e, o) {
|
|
|
524
524
|
break;
|
|
525
525
|
}
|
|
526
526
|
for (var ge = 0, U = c, ce = !1; ; ) {
|
|
527
|
-
if (U++, U >=
|
|
527
|
+
if (U++, U >= h)
|
|
528
528
|
throw new Error("Invalid HTML: " + t);
|
|
529
529
|
var fe = t.charCodeAt(U);
|
|
530
530
|
if (ce)
|
|
@@ -534,7 +534,7 @@ function ki(t, e, o) {
|
|
|
534
534
|
U++;
|
|
535
535
|
ce = !0;
|
|
536
536
|
var Oe = t.charCodeAt(U + 1);
|
|
537
|
-
Oe ===
|
|
537
|
+
Oe === pi || Oe === mi ? (ge = Oe, U++) : ge = 0;
|
|
538
538
|
} else if (fe === ot) {
|
|
539
539
|
var Re = c + (Ae ? 2 : 1), Ve = Math.min(Ti(t, Re), U), B = t.slice(Re, Ve).toLowerCase();
|
|
540
540
|
B.charCodeAt(B.length - 1) === we && (B = B.slice(0, B.length - 1));
|
|
@@ -552,14 +552,14 @@ function ki(t, e, o) {
|
|
|
552
552
|
break;
|
|
553
553
|
}
|
|
554
554
|
var Xe = Xt.includes(B);
|
|
555
|
-
if (Xe && n === -1 && !ne && (k++, k >
|
|
555
|
+
if (Xe && n === -1 && !ne && (k++, k > f)) {
|
|
556
556
|
y.push(B);
|
|
557
557
|
break;
|
|
558
558
|
}
|
|
559
559
|
} else if (ci.includes(B) || t.charCodeAt(U - 1) === we) {
|
|
560
560
|
if (!ne) {
|
|
561
561
|
if (B === "br") {
|
|
562
|
-
if (k++, k >
|
|
562
|
+
if (k++, k > f)
|
|
563
563
|
break;
|
|
564
564
|
} else if (B === "img" && (m += u, m > e))
|
|
565
565
|
break;
|
|
@@ -572,10 +572,10 @@ function ki(t, e, o) {
|
|
|
572
572
|
break;
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
if (m > e || k >
|
|
575
|
+
if (m > e || k > f)
|
|
576
576
|
break;
|
|
577
577
|
}
|
|
578
|
-
} else if (D ===
|
|
578
|
+
} else if (D === hi) {
|
|
579
579
|
for (var U = c + 1, De = !0; ; ) {
|
|
580
580
|
var Me = t.charCodeAt(U);
|
|
581
581
|
if (Jt(Me))
|
|
@@ -591,7 +591,7 @@ function ki(t, e, o) {
|
|
|
591
591
|
break;
|
|
592
592
|
De && (c = U);
|
|
593
593
|
} else if (D === Ce) {
|
|
594
|
-
if (m++, m > e || (k++, k >
|
|
594
|
+
if (m++, m > e || (k++, k > f))
|
|
595
595
|
break;
|
|
596
596
|
} else {
|
|
597
597
|
if (n === -1 && (m++, m > e))
|
|
@@ -603,52 +603,52 @@ function ki(t, e, o) {
|
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
605
|
if (m > e) {
|
|
606
|
-
var
|
|
607
|
-
if (
|
|
608
|
-
for (var ie = c +
|
|
606
|
+
var pe = $i(t, c);
|
|
607
|
+
if (p) {
|
|
608
|
+
for (var ie = c + pe.length; t.charCodeAt(ie) === Ne && t.charCodeAt(ie + 1) === we; ) {
|
|
609
609
|
var xe = t.indexOf(">", ie + 2) + 1;
|
|
610
610
|
if (xe)
|
|
611
611
|
ie = xe;
|
|
612
612
|
else
|
|
613
613
|
break;
|
|
614
614
|
}
|
|
615
|
-
ie && (ie === t.length || It(t, ie)) && (c +=
|
|
615
|
+
ie && (ie === t.length || It(t, ie)) && (c += pe.length, pe = t.charAt(c));
|
|
616
616
|
}
|
|
617
|
-
for (;
|
|
617
|
+
for (; pe === "<" && t.charCodeAt(c + 1) === we; ) {
|
|
618
618
|
var B = y.pop();
|
|
619
619
|
if (!B)
|
|
620
620
|
break;
|
|
621
621
|
var ye = t.indexOf(">", c + 2);
|
|
622
622
|
if (ye === -1 || t.slice(c + 2, ye).trim() !== B)
|
|
623
623
|
throw new Error("Invalid HTML: " + t);
|
|
624
|
-
s(B) ? t = t.slice(0, c) + t.slice(ye + 1) : c = ye + 1,
|
|
624
|
+
s(B) ? t = t.slice(0, c) + t.slice(ye + 1) : c = ye + 1, pe = t.charAt(c);
|
|
625
625
|
}
|
|
626
626
|
if (c < t.length) {
|
|
627
627
|
if (!o.breakWords)
|
|
628
|
-
for (var
|
|
629
|
-
var D = t.charCodeAt(
|
|
628
|
+
for (var he = c - p.length; he >= 0; he--) {
|
|
629
|
+
var D = t.charCodeAt(he);
|
|
630
630
|
if (D === ot || D === mt)
|
|
631
631
|
break;
|
|
632
632
|
if (D === Ce || D === Ne) {
|
|
633
|
-
c =
|
|
633
|
+
c = he;
|
|
634
634
|
break;
|
|
635
635
|
} else if (me(D)) {
|
|
636
|
-
c =
|
|
636
|
+
c = he + (p ? 1 : 0);
|
|
637
637
|
break;
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
640
|
var We = t.slice(0, c);
|
|
641
|
-
return It(t, c) || (We +=
|
|
641
|
+
return It(t, c) || (We += p), b(We);
|
|
642
642
|
}
|
|
643
|
-
} else if (k >
|
|
643
|
+
} else if (k > f)
|
|
644
644
|
return b(t.slice(0, c));
|
|
645
645
|
return t;
|
|
646
646
|
}
|
|
647
647
|
function Ei(t, e, o) {
|
|
648
|
-
for (var i = o.indicator, u = i === void 0 ? "…" : i, r = o.maxLines,
|
|
648
|
+
for (var i = o.indicator, u = i === void 0 ? "…" : i, r = o.maxLines, p = r === void 0 ? 1 / 0 : r, d = u.length, f = 1, l = 0, v = t.length; l < v && (d++, !(d > e)); l++) {
|
|
649
649
|
var m = t.charCodeAt(l);
|
|
650
650
|
if (m === Ce) {
|
|
651
|
-
if (
|
|
651
|
+
if (f++, f > p)
|
|
652
652
|
break;
|
|
653
653
|
} else if ((m & 64512) === 55296) {
|
|
654
654
|
var k = t.charCodeAt(l + 1);
|
|
@@ -678,7 +678,7 @@ function Ei(t, e, o) {
|
|
|
678
678
|
}
|
|
679
679
|
return t.slice(0, l) + (s === `
|
|
680
680
|
` ? "" : u);
|
|
681
|
-
} else if (
|
|
681
|
+
} else if (f > p)
|
|
682
682
|
return t.slice(0, l);
|
|
683
683
|
return t;
|
|
684
684
|
}
|
|
@@ -765,13 +765,13 @@ const Ii = ["innerHTML"], Li = /* @__PURE__ */ J({
|
|
|
765
765
|
function u() {
|
|
766
766
|
i.value = !0;
|
|
767
767
|
}
|
|
768
|
-
function r(
|
|
769
|
-
e.callback(
|
|
768
|
+
function r(p) {
|
|
769
|
+
e.callback(p), i.value = !1;
|
|
770
770
|
}
|
|
771
|
-
return (
|
|
772
|
-
"listing-id":
|
|
773
|
-
name:
|
|
774
|
-
description:
|
|
771
|
+
return (p, d) => (T(), W(_t, {
|
|
772
|
+
"listing-id": p.id,
|
|
773
|
+
name: p.name,
|
|
774
|
+
description: p.description,
|
|
775
775
|
gallery: o.value,
|
|
776
776
|
"includes-breakfast": !1,
|
|
777
777
|
"hide-info-button": !0
|
|
@@ -779,7 +779,7 @@ const Ii = ["innerHTML"], Li = /* @__PURE__ */ J({
|
|
|
779
779
|
description: P(() => [
|
|
780
780
|
w("", !0),
|
|
781
781
|
g("p", {
|
|
782
|
-
innerHTML: a(Eo)(
|
|
782
|
+
innerHTML: a(Eo)(p.description)
|
|
783
783
|
}, null, 8, Ii)
|
|
784
784
|
]),
|
|
785
785
|
action: P(() => [
|
|
@@ -794,10 +794,10 @@ const Ii = ["innerHTML"], Li = /* @__PURE__ */ J({
|
|
|
794
794
|
default: P(() => [
|
|
795
795
|
C(di, {
|
|
796
796
|
modelValue: i.value,
|
|
797
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
798
|
-
title:
|
|
799
|
-
"template-id":
|
|
800
|
-
roomGroups:
|
|
797
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
|
|
798
|
+
title: p.name,
|
|
799
|
+
"template-id": p.id,
|
|
800
|
+
roomGroups: p.roomGroups,
|
|
801
801
|
callback: r
|
|
802
802
|
}, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
|
|
803
803
|
]),
|
|
@@ -831,25 +831,25 @@ const Ai = /* @__PURE__ */ oe(Li, [["__scopeId", "data-v-f277e2e5"]]), Lt = /* @
|
|
|
831
831
|
emits: ["update:modelValue"],
|
|
832
832
|
setup(t, { emit: e }) {
|
|
833
833
|
const o = e, i = t;
|
|
834
|
-
function u(
|
|
835
|
-
o("update:modelValue",
|
|
834
|
+
function u(p) {
|
|
835
|
+
o("update:modelValue", p);
|
|
836
836
|
}
|
|
837
837
|
const r = $e(i.modelValue);
|
|
838
|
-
return Ge(r, (
|
|
839
|
-
u(
|
|
840
|
-
}), (
|
|
838
|
+
return Ge(r, (p) => {
|
|
839
|
+
u(p);
|
|
840
|
+
}), (p, d) => (T(), W(zo, {
|
|
841
841
|
modelValue: r.value,
|
|
842
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
842
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => r.value = f),
|
|
843
843
|
type: "time",
|
|
844
|
-
label:
|
|
845
|
-
id:
|
|
846
|
-
name:
|
|
847
|
-
icon:
|
|
848
|
-
"icon-type":
|
|
849
|
-
"icon-color":
|
|
844
|
+
label: p.label,
|
|
845
|
+
id: p.id,
|
|
846
|
+
name: p.name,
|
|
847
|
+
icon: p.icon,
|
|
848
|
+
"icon-type": p.iconType,
|
|
849
|
+
"icon-color": p.iconColor,
|
|
850
850
|
"auto-apply": !0,
|
|
851
|
-
required:
|
|
852
|
-
readonly:
|
|
851
|
+
required: p.required,
|
|
852
|
+
readonly: p.readonly
|
|
853
853
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
854
854
|
}
|
|
855
855
|
});
|
|
@@ -869,13 +869,13 @@ const Oi = { style: { display: "flex", "align-items": "baseline" } }, Vi = /* @_
|
|
|
869
869
|
function r(d) {
|
|
870
870
|
i("update:modelValue", d);
|
|
871
871
|
}
|
|
872
|
-
const
|
|
872
|
+
const p = Y({
|
|
873
873
|
get: () => u.modelValue,
|
|
874
874
|
set: (d) => r(d)
|
|
875
875
|
});
|
|
876
|
-
return (d,
|
|
877
|
-
modelValue:
|
|
878
|
-
"onUpdate:modelValue":
|
|
876
|
+
return (d, f) => (T(), W(Ke, {
|
|
877
|
+
modelValue: p.value,
|
|
878
|
+
"onUpdate:modelValue": f[0] || (f[0] = (l) => p.value = l),
|
|
879
879
|
label: d.label,
|
|
880
880
|
placeholder: a(o)("booking.reservation.countryPlaceholder"),
|
|
881
881
|
labelKey: "name",
|
|
@@ -912,25 +912,25 @@ const Hi = /* @__PURE__ */ oe(Vi, [["__scopeId", "data-v-1462612d"]]), wi = { cl
|
|
|
912
912
|
emits: ["update:modelValue"],
|
|
913
913
|
setup(t, { emit: e }) {
|
|
914
914
|
const o = e, i = t;
|
|
915
|
-
function u(
|
|
916
|
-
o("update:modelValue",
|
|
915
|
+
function u(p) {
|
|
916
|
+
o("update:modelValue", p);
|
|
917
917
|
}
|
|
918
918
|
const r = Y({
|
|
919
919
|
get: () => i.modelValue,
|
|
920
|
-
set: (
|
|
920
|
+
set: (p) => u(p)
|
|
921
921
|
});
|
|
922
|
-
return (
|
|
923
|
-
label:
|
|
922
|
+
return (p, d) => (T(), W(qt, {
|
|
923
|
+
label: p.label,
|
|
924
924
|
type: "multi-radio"
|
|
925
925
|
}, {
|
|
926
926
|
default: P(() => [
|
|
927
927
|
g("ul", wi, [
|
|
928
|
-
(T(!0), I(N, null, q(
|
|
929
|
-
C(
|
|
928
|
+
(T(!0), I(N, null, q(p.checkboxes, ({ label: f, value: l }, v) => (T(), I("li", { key: v }, [
|
|
929
|
+
C(ht, {
|
|
930
930
|
modelValue: r.value,
|
|
931
931
|
"onUpdate:modelValue": d[0] || (d[0] = (m) => r.value = m),
|
|
932
|
-
label:
|
|
933
|
-
name:
|
|
932
|
+
label: f,
|
|
933
|
+
name: p.name,
|
|
934
934
|
type: "radio",
|
|
935
935
|
val: l
|
|
936
936
|
}, null, 8, ["modelValue", "label", "name", "val"])
|
|
@@ -963,16 +963,16 @@ const Ri = /* @__PURE__ */ oe(Pi, [["__scopeId", "data-v-d8d42a8a"]]), Di = /* @
|
|
|
963
963
|
},
|
|
964
964
|
emits: ["update:modelValue", "update:title"],
|
|
965
965
|
setup(t, { emit: e }) {
|
|
966
|
-
const o = t, i = e, u = o.id || St(), r = $e(""),
|
|
966
|
+
const o = t, i = e, u = o.id || St(), r = $e(""), p = $e(2);
|
|
967
967
|
function d() {
|
|
968
968
|
i("update:modelValue", r.value);
|
|
969
969
|
}
|
|
970
|
-
Ge(
|
|
970
|
+
Ge(p, (l) => {
|
|
971
971
|
i("update:title", l);
|
|
972
972
|
});
|
|
973
|
-
const { t:
|
|
973
|
+
const { t: f } = de();
|
|
974
974
|
return yt(() => {
|
|
975
|
-
o.modelValue && (r.value = o.modelValue), o.title && (
|
|
975
|
+
o.modelValue && (r.value = o.modelValue), o.title && (p.value = o.title);
|
|
976
976
|
}), (l, v) => (T(), W(qt, {
|
|
977
977
|
label: l.label,
|
|
978
978
|
id: a(u),
|
|
@@ -990,31 +990,31 @@ const Ri = /* @__PURE__ */ oe(Pi, [["__scopeId", "data-v-d8d42a8a"]]), Di = /* @
|
|
|
990
990
|
}, [
|
|
991
991
|
l.excludeTitle ? w("", !0) : (T(), W(Ke, {
|
|
992
992
|
key: 0,
|
|
993
|
-
modelValue:
|
|
994
|
-
"onUpdate:modelValue": v[0] || (v[0] = (m) =>
|
|
993
|
+
modelValue: p.value,
|
|
994
|
+
"onUpdate:modelValue": v[0] || (v[0] = (m) => p.value = m),
|
|
995
995
|
id: a(St)(),
|
|
996
996
|
icon: l.icon,
|
|
997
997
|
"icon-color": l.iconColor,
|
|
998
998
|
"icon-type": l.iconType,
|
|
999
999
|
options: [
|
|
1000
1000
|
{
|
|
1001
|
-
label: a(
|
|
1001
|
+
label: a(f)("booking.reservation.noNameTitle"),
|
|
1002
1002
|
value: 1
|
|
1003
1003
|
},
|
|
1004
1004
|
{
|
|
1005
|
-
label: a(
|
|
1005
|
+
label: a(f)("booking.reservation.nameTitleMr"),
|
|
1006
1006
|
value: 2
|
|
1007
1007
|
},
|
|
1008
1008
|
{
|
|
1009
|
-
label: a(
|
|
1009
|
+
label: a(f)("booking.reservation.nameTitleMs"),
|
|
1010
1010
|
value: 3
|
|
1011
1011
|
},
|
|
1012
1012
|
{
|
|
1013
|
-
label: a(
|
|
1013
|
+
label: a(f)("booking.reservation.nameTitleMrs"),
|
|
1014
1014
|
value: 4
|
|
1015
1015
|
},
|
|
1016
1016
|
{
|
|
1017
|
-
label: a(
|
|
1017
|
+
label: a(f)("booking.reservation.nameTitleDr"),
|
|
1018
1018
|
value: 5
|
|
1019
1019
|
}
|
|
1020
1020
|
],
|
|
@@ -1139,7 +1139,7 @@ const tn = { key: 1 }, on = { key: 0 }, nn = {
|
|
|
1139
1139
|
}, fn = {
|
|
1140
1140
|
key: 2,
|
|
1141
1141
|
id: "reservation-availability-next-dates"
|
|
1142
|
-
},
|
|
1142
|
+
}, pn = { class: "konnectio-hotel-availability-title" }, hn = { class: "reservation-special-offers-grid" }, mn = ["title"];
|
|
1143
1143
|
const vn = {
|
|
1144
1144
|
key: 2,
|
|
1145
1145
|
class: "konnectio-listing-loading"
|
|
@@ -1162,9 +1162,9 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1162
1162
|
countries: i,
|
|
1163
1163
|
areListingsLoading: u,
|
|
1164
1164
|
isPaymentLoading: r,
|
|
1165
|
-
isReservationFormFilled:
|
|
1165
|
+
isReservationFormFilled: p,
|
|
1166
1166
|
travelingFor: d,
|
|
1167
|
-
arrivalTime:
|
|
1167
|
+
arrivalTime: f,
|
|
1168
1168
|
departureTime: l,
|
|
1169
1169
|
name: v,
|
|
1170
1170
|
nameTitle: m,
|
|
@@ -1174,7 +1174,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1174
1174
|
postal: b,
|
|
1175
1175
|
city: c,
|
|
1176
1176
|
address: n,
|
|
1177
|
-
country:
|
|
1177
|
+
country: h,
|
|
1178
1178
|
remark: _,
|
|
1179
1179
|
allergies: S,
|
|
1180
1180
|
newsMails: E,
|
|
@@ -1204,11 +1204,11 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1204
1204
|
disableTravelingForBleasure: Xe,
|
|
1205
1205
|
disableCompanyField: De,
|
|
1206
1206
|
hasPaymentGateway: Me
|
|
1207
|
-
} = Q(Ie()), { beginCheckout:
|
|
1207
|
+
} = Q(Ie()), { beginCheckout: pe } = Ut(), {
|
|
1208
1208
|
initialize: ie,
|
|
1209
1209
|
resetTemplate: xe,
|
|
1210
1210
|
resetDiscountVoucher: ye,
|
|
1211
|
-
createReservation:
|
|
1211
|
+
createReservation: he
|
|
1212
1212
|
} = ue(), We = $e(!0), ee = Y(() => {
|
|
1213
1213
|
const M = [
|
|
1214
1214
|
{
|
|
@@ -1250,16 +1250,16 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1250
1250
|
G.value = new Date(V), D.value = new Date(M), location.reload();
|
|
1251
1251
|
}
|
|
1252
1252
|
async function fo(M) {
|
|
1253
|
-
await
|
|
1253
|
+
await he(M);
|
|
1254
1254
|
}
|
|
1255
|
-
function
|
|
1256
|
-
ce.value &&
|
|
1255
|
+
function po(M) {
|
|
1256
|
+
ce.value && pe(), F.value ? M(2) : M();
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1259
|
-
|
|
1258
|
+
function ho() {
|
|
1259
|
+
f.value === "" && (f.value = fe.value), l.value === "" && (l.value = Oe.value);
|
|
1260
1260
|
}
|
|
1261
1261
|
return yt(() => {
|
|
1262
|
-
ie(),
|
|
1262
|
+
ie(), ho();
|
|
1263
1263
|
}), (M, V) => (T(), W(xo, { styling: M.styling }, {
|
|
1264
1264
|
default: P(() => [
|
|
1265
1265
|
(T(), W(Co, null, {
|
|
@@ -1337,7 +1337,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1337
1337
|
])) : a(H).nextAvailableDates.length === 0 ? (T(), I("div", cn, [
|
|
1338
1338
|
g("span", null, A(a(e)("booking.availability.nothingAvailable")), 1)
|
|
1339
1339
|
])) : (T(), I("div", fn, [
|
|
1340
|
-
g("h2",
|
|
1340
|
+
g("h2", pn, [
|
|
1341
1341
|
C(te, {
|
|
1342
1342
|
icon: "calendar-circle-exclamation",
|
|
1343
1343
|
type: "fal",
|
|
@@ -1345,7 +1345,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1345
1345
|
}),
|
|
1346
1346
|
g("span", null, A(a(e)("booking.availability.nextAvailableDates")), 1)
|
|
1347
1347
|
]),
|
|
1348
|
-
g("ul",
|
|
1348
|
+
g("ul", hn, [
|
|
1349
1349
|
(T(!0), I(N, null, q(a(H).nextAvailableDates, (x, L) => (T(), I("li", { key: L }, [
|
|
1350
1350
|
g("h3", {
|
|
1351
1351
|
title: `${a(ae)(x.fromDate)} - ${a(ae)(x.toDate)}`
|
|
@@ -1380,7 +1380,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1380
1380
|
disabled: !a(R),
|
|
1381
1381
|
"is-loading": !1,
|
|
1382
1382
|
"full-width": "",
|
|
1383
|
-
onClickEvent: (x) =>
|
|
1383
|
+
onClickEvent: (x) => po(X)
|
|
1384
1384
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
1385
1385
|
]),
|
|
1386
1386
|
_: 2
|
|
@@ -1454,7 +1454,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1454
1454
|
small: !0,
|
|
1455
1455
|
"min-value": 0,
|
|
1456
1456
|
"max-value": vo || 1 / 0
|
|
1457
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (T(), W(
|
|
1457
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (T(), W(ht, {
|
|
1458
1458
|
key: 1,
|
|
1459
1459
|
modelValue: a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He],
|
|
1460
1460
|
"onUpdate:modelValue": (Ze) => a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He] = Ze,
|
|
@@ -1502,8 +1502,8 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1502
1502
|
}, [
|
|
1503
1503
|
a(Ve) ? w("", !0) : (T(), I("li", Cn, [
|
|
1504
1504
|
C(Lt, {
|
|
1505
|
-
modelValue: a(
|
|
1506
|
-
"onUpdate:modelValue": V[1] || (V[1] = (L) => j(
|
|
1505
|
+
modelValue: a(f),
|
|
1506
|
+
"onUpdate:modelValue": V[1] || (V[1] = (L) => j(f) ? f.value = L : null),
|
|
1507
1507
|
label: a(e)("booking.reservation.arrivalTime"),
|
|
1508
1508
|
icon: "hourglass-start",
|
|
1509
1509
|
"hour-range": lo.value,
|
|
@@ -1543,7 +1543,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1543
1543
|
placeholder: a(e)("booking.reservation.emailPlaceholder"),
|
|
1544
1544
|
required: ""
|
|
1545
1545
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1546
|
-
a(Le) ? w("", !0) : (T(), W(
|
|
1546
|
+
a(Le) ? w("", !0) : (T(), W(ht, {
|
|
1547
1547
|
key: 1,
|
|
1548
1548
|
modelValue: a(E),
|
|
1549
1549
|
"onUpdate:modelValue": V[6] || (V[6] = (L) => j(E) ? E.value = L : null),
|
|
@@ -1571,8 +1571,8 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1571
1571
|
required: ""
|
|
1572
1572
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1573
1573
|
C(Hi, {
|
|
1574
|
-
modelValue: a(
|
|
1575
|
-
"onUpdate:modelValue": V[9] || (V[9] = (L) => j(
|
|
1574
|
+
modelValue: a(h),
|
|
1575
|
+
"onUpdate:modelValue": V[9] || (V[9] = (L) => j(h) ? h.value = L : null),
|
|
1576
1576
|
label: a(e)("booking.reservation.country"),
|
|
1577
1577
|
placeholder: a(e)("booking.reservation.countryPlaceholder"),
|
|
1578
1578
|
options: a(i),
|
|
@@ -1647,7 +1647,7 @@ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn =
|
|
|
1647
1647
|
g("div", null, [
|
|
1648
1648
|
C(Ee, {
|
|
1649
1649
|
label: a(Me) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
|
|
1650
|
-
disabled: !a(
|
|
1650
|
+
disabled: !a(p),
|
|
1651
1651
|
"is-loading": a(r),
|
|
1652
1652
|
"full-width": "",
|
|
1653
1653
|
onClickEvent: (L) => fo(X)
|
|
@@ -1699,28 +1699,28 @@ function bt() {
|
|
|
1699
1699
|
var o = e.prototype;
|
|
1700
1700
|
return o.on = function(i, u) {
|
|
1701
1701
|
if (!(!i || !u)) {
|
|
1702
|
-
var r = this._events = this._events || {},
|
|
1703
|
-
return
|
|
1702
|
+
var r = this._events = this._events || {}, p = r[i] = r[i] || [];
|
|
1703
|
+
return p.indexOf(u) == -1 && p.push(u), this;
|
|
1704
1704
|
}
|
|
1705
1705
|
}, o.once = function(i, u) {
|
|
1706
1706
|
if (!(!i || !u)) {
|
|
1707
1707
|
this.on(i, u);
|
|
1708
|
-
var r = this._onceEvents = this._onceEvents || {},
|
|
1709
|
-
return
|
|
1708
|
+
var r = this._onceEvents = this._onceEvents || {}, p = r[i] = r[i] || {};
|
|
1709
|
+
return p[u] = !0, this;
|
|
1710
1710
|
}
|
|
1711
1711
|
}, o.off = function(i, u) {
|
|
1712
1712
|
var r = this._events && this._events[i];
|
|
1713
1713
|
if (!(!r || !r.length)) {
|
|
1714
|
-
var
|
|
1715
|
-
return
|
|
1714
|
+
var p = r.indexOf(u);
|
|
1715
|
+
return p != -1 && r.splice(p, 1), this;
|
|
1716
1716
|
}
|
|
1717
1717
|
}, o.emitEvent = function(i, u) {
|
|
1718
1718
|
var r = this._events && this._events[i];
|
|
1719
1719
|
if (!(!r || !r.length)) {
|
|
1720
1720
|
r = r.slice(0), u = u || [];
|
|
1721
|
-
for (var
|
|
1722
|
-
var
|
|
1723
|
-
l && (this.off(i,
|
|
1721
|
+
for (var p = this._onceEvents && this._onceEvents[i], d = 0; d < r.length; d++) {
|
|
1722
|
+
var f = r[d], l = p && p[f];
|
|
1723
|
+
l && (this.off(i, f), delete p[f]), f.apply(this, u);
|
|
1724
1724
|
}
|
|
1725
1725
|
return this;
|
|
1726
1726
|
}
|
|
@@ -1763,7 +1763,7 @@ function kt() {
|
|
|
1763
1763
|
"borderRightWidth",
|
|
1764
1764
|
"borderTopWidth",
|
|
1765
1765
|
"borderBottomWidth"
|
|
1766
|
-
],
|
|
1766
|
+
], p = r.length;
|
|
1767
1767
|
function d() {
|
|
1768
1768
|
for (var s = {
|
|
1769
1769
|
width: 0,
|
|
@@ -1772,13 +1772,13 @@ function kt() {
|
|
|
1772
1772
|
innerHeight: 0,
|
|
1773
1773
|
outerWidth: 0,
|
|
1774
1774
|
outerHeight: 0
|
|
1775
|
-
}, y = 0; y <
|
|
1775
|
+
}, y = 0; y < p; y++) {
|
|
1776
1776
|
var b = r[y];
|
|
1777
1777
|
s[b] = 0;
|
|
1778
1778
|
}
|
|
1779
1779
|
return s;
|
|
1780
1780
|
}
|
|
1781
|
-
function
|
|
1781
|
+
function f(s) {
|
|
1782
1782
|
var y = getComputedStyle(s);
|
|
1783
1783
|
return y || u("Style returned " + y + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), y;
|
|
1784
1784
|
}
|
|
@@ -1790,20 +1790,20 @@ function kt() {
|
|
|
1790
1790
|
s.style.width = "200px", s.style.padding = "1px 2px 3px 4px", s.style.borderStyle = "solid", s.style.borderWidth = "1px 2px 3px 4px", s.style.boxSizing = "border-box";
|
|
1791
1791
|
var y = document.body || document.documentElement;
|
|
1792
1792
|
y.appendChild(s);
|
|
1793
|
-
var b =
|
|
1793
|
+
var b = f(s);
|
|
1794
1794
|
v = Math.round(o(b.width)) == 200, k.isBoxSizeOuter = v, y.removeChild(s);
|
|
1795
1795
|
}
|
|
1796
1796
|
}
|
|
1797
1797
|
function k(s) {
|
|
1798
1798
|
if (m(), typeof s == "string" && (s = document.querySelector(s)), !(!s || typeof s != "object" || !s.nodeType)) {
|
|
1799
|
-
var y =
|
|
1799
|
+
var y = f(s);
|
|
1800
1800
|
if (y.display == "none")
|
|
1801
1801
|
return d();
|
|
1802
1802
|
var b = {};
|
|
1803
1803
|
b.width = s.offsetWidth, b.height = s.offsetHeight;
|
|
1804
|
-
for (var c = b.isBorderBox = y.boxSizing == "border-box", n = 0; n <
|
|
1805
|
-
var
|
|
1806
|
-
b[
|
|
1804
|
+
for (var c = b.isBorderBox = y.boxSizing == "border-box", n = 0; n < p; n++) {
|
|
1805
|
+
var h = r[n], _ = y[h], S = parseFloat(_);
|
|
1806
|
+
b[h] = isNaN(S) ? 0 : S;
|
|
1807
1807
|
}
|
|
1808
1808
|
var E = b.paddingLeft + b.paddingRight, $ = b.paddingTop + b.paddingBottom, O = b.marginLeft + b.marginRight, R = b.marginTop + b.marginBottom, H = b.borderLeftWidth + b.borderRightWidth, F = b.borderTopWidth + b.borderBottomWidth, D = c && v, G = o(y.width);
|
|
1809
1809
|
G !== !1 && (b.width = G + // add padding and border unless it's already including it
|
|
@@ -1830,7 +1830,7 @@ function On() {
|
|
|
1830
1830
|
if (i.matchesSelector)
|
|
1831
1831
|
return "matchesSelector";
|
|
1832
1832
|
for (var u = ["webkit", "moz", "ms", "o"], r = 0; r < u.length; r++) {
|
|
1833
|
-
var
|
|
1833
|
+
var p = u[r], d = p + "MatchesSelector";
|
|
1834
1834
|
if (i[d])
|
|
1835
1835
|
return d;
|
|
1836
1836
|
}
|
|
@@ -1854,12 +1854,12 @@ function Vn() {
|
|
|
1854
1854
|
);
|
|
1855
1855
|
})(window, function(o, i) {
|
|
1856
1856
|
var u = {};
|
|
1857
|
-
u.extend = function(d,
|
|
1858
|
-
for (var l in
|
|
1859
|
-
d[l] =
|
|
1857
|
+
u.extend = function(d, f) {
|
|
1858
|
+
for (var l in f)
|
|
1859
|
+
d[l] = f[l];
|
|
1860
1860
|
return d;
|
|
1861
|
-
}, u.modulo = function(d,
|
|
1862
|
-
return (d %
|
|
1861
|
+
}, u.modulo = function(d, f) {
|
|
1862
|
+
return (d % f + f) % f;
|
|
1863
1863
|
};
|
|
1864
1864
|
var r = Array.prototype.slice;
|
|
1865
1865
|
u.makeArray = function(d) {
|
|
@@ -1867,38 +1867,38 @@ function Vn() {
|
|
|
1867
1867
|
return d;
|
|
1868
1868
|
if (d == null)
|
|
1869
1869
|
return [];
|
|
1870
|
-
var
|
|
1871
|
-
return
|
|
1872
|
-
}, u.removeFrom = function(d,
|
|
1873
|
-
var l = d.indexOf(
|
|
1870
|
+
var f = typeof d == "object" && typeof d.length == "number";
|
|
1871
|
+
return f ? r.call(d) : [d];
|
|
1872
|
+
}, u.removeFrom = function(d, f) {
|
|
1873
|
+
var l = d.indexOf(f);
|
|
1874
1874
|
l != -1 && d.splice(l, 1);
|
|
1875
|
-
}, u.getParent = function(d,
|
|
1875
|
+
}, u.getParent = function(d, f) {
|
|
1876
1876
|
for (; d.parentNode && d != document.body; )
|
|
1877
|
-
if (d = d.parentNode, i(d,
|
|
1877
|
+
if (d = d.parentNode, i(d, f))
|
|
1878
1878
|
return d;
|
|
1879
1879
|
}, u.getQueryElement = function(d) {
|
|
1880
1880
|
return typeof d == "string" ? document.querySelector(d) : d;
|
|
1881
1881
|
}, u.handleEvent = function(d) {
|
|
1882
|
-
var
|
|
1883
|
-
this[
|
|
1884
|
-
}, u.filterFindElements = function(d,
|
|
1882
|
+
var f = "on" + d.type;
|
|
1883
|
+
this[f] && this[f](d);
|
|
1884
|
+
}, u.filterFindElements = function(d, f) {
|
|
1885
1885
|
d = u.makeArray(d);
|
|
1886
1886
|
var l = [];
|
|
1887
1887
|
return d.forEach(function(v) {
|
|
1888
1888
|
if (v instanceof HTMLElement) {
|
|
1889
|
-
if (!
|
|
1889
|
+
if (!f) {
|
|
1890
1890
|
l.push(v);
|
|
1891
1891
|
return;
|
|
1892
1892
|
}
|
|
1893
|
-
i(v,
|
|
1894
|
-
for (var m = v.querySelectorAll(
|
|
1893
|
+
i(v, f) && l.push(v);
|
|
1894
|
+
for (var m = v.querySelectorAll(f), k = 0; k < m.length; k++)
|
|
1895
1895
|
l.push(m[k]);
|
|
1896
1896
|
}
|
|
1897
1897
|
}), l;
|
|
1898
|
-
}, u.debounceMethod = function(d,
|
|
1898
|
+
}, u.debounceMethod = function(d, f, l) {
|
|
1899
1899
|
l = l || 100;
|
|
1900
|
-
var v = d.prototype[
|
|
1901
|
-
d.prototype[
|
|
1900
|
+
var v = d.prototype[f], m = f + "Timeout";
|
|
1901
|
+
d.prototype[f] = function() {
|
|
1902
1902
|
var k = this[m];
|
|
1903
1903
|
clearTimeout(k);
|
|
1904
1904
|
var s = arguments, y = this;
|
|
@@ -1907,27 +1907,27 @@ function Vn() {
|
|
|
1907
1907
|
}, l);
|
|
1908
1908
|
};
|
|
1909
1909
|
}, u.docReady = function(d) {
|
|
1910
|
-
var
|
|
1911
|
-
|
|
1910
|
+
var f = document.readyState;
|
|
1911
|
+
f == "complete" || f == "interactive" ? setTimeout(d) : document.addEventListener("DOMContentLoaded", d);
|
|
1912
1912
|
}, u.toDashed = function(d) {
|
|
1913
|
-
return d.replace(/(.)([A-Z])/g, function(
|
|
1913
|
+
return d.replace(/(.)([A-Z])/g, function(f, l, v) {
|
|
1914
1914
|
return l + "-" + v;
|
|
1915
1915
|
}).toLowerCase();
|
|
1916
1916
|
};
|
|
1917
|
-
var
|
|
1918
|
-
return u.htmlInit = function(d,
|
|
1917
|
+
var p = o.console;
|
|
1918
|
+
return u.htmlInit = function(d, f) {
|
|
1919
1919
|
u.docReady(function() {
|
|
1920
|
-
var l = u.toDashed(
|
|
1920
|
+
var l = u.toDashed(f), v = "data-" + l, m = document.querySelectorAll("[" + v + "]"), k = document.querySelectorAll(".js-" + l), s = u.makeArray(m).concat(u.makeArray(k)), y = v + "-options", b = o.jQuery;
|
|
1921
1921
|
s.forEach(function(c) {
|
|
1922
|
-
var n = c.getAttribute(v) || c.getAttribute(y),
|
|
1922
|
+
var n = c.getAttribute(v) || c.getAttribute(y), h;
|
|
1923
1923
|
try {
|
|
1924
|
-
|
|
1924
|
+
h = n && JSON.parse(n);
|
|
1925
1925
|
} catch (S) {
|
|
1926
|
-
|
|
1926
|
+
p && p.error("Error parsing " + v + " on " + c.className + ": " + S);
|
|
1927
1927
|
return;
|
|
1928
1928
|
}
|
|
1929
|
-
var _ = new d(c,
|
|
1930
|
-
b && b.data(c,
|
|
1929
|
+
var _ = new d(c, h);
|
|
1930
|
+
b && b.data(c, f, _);
|
|
1931
1931
|
});
|
|
1932
1932
|
});
|
|
1933
1933
|
}, u;
|
|
@@ -1951,15 +1951,15 @@ function Hn() {
|
|
|
1951
1951
|
return !1;
|
|
1952
1952
|
return n = null, !0;
|
|
1953
1953
|
}
|
|
1954
|
-
var r = document.documentElement.style,
|
|
1954
|
+
var r = document.documentElement.style, p = typeof r.transition == "string" ? "transition" : "WebkitTransition", d = typeof r.transform == "string" ? "transform" : "WebkitTransform", f = {
|
|
1955
1955
|
WebkitTransition: "webkitTransitionEnd",
|
|
1956
1956
|
transition: "transitionend"
|
|
1957
|
-
}[
|
|
1957
|
+
}[p], l = {
|
|
1958
1958
|
transform: d,
|
|
1959
|
-
transition:
|
|
1960
|
-
transitionDuration:
|
|
1961
|
-
transitionProperty:
|
|
1962
|
-
transitionDelay:
|
|
1959
|
+
transition: p,
|
|
1960
|
+
transitionDuration: p + "Duration",
|
|
1961
|
+
transitionProperty: p + "Property",
|
|
1962
|
+
transitionDelay: p + "Delay"
|
|
1963
1963
|
};
|
|
1964
1964
|
function v(c, n) {
|
|
1965
1965
|
c && (this.element = c, this.layout = n, this.position = {
|
|
@@ -1983,15 +1983,15 @@ function Hn() {
|
|
|
1983
1983
|
this.size = i(this.element);
|
|
1984
1984
|
}, m.css = function(c) {
|
|
1985
1985
|
var n = this.element.style;
|
|
1986
|
-
for (var
|
|
1987
|
-
var _ = l[
|
|
1988
|
-
n[_] = c[
|
|
1986
|
+
for (var h in c) {
|
|
1987
|
+
var _ = l[h] || h;
|
|
1988
|
+
n[_] = c[h];
|
|
1989
1989
|
}
|
|
1990
1990
|
}, m.getPosition = function() {
|
|
1991
|
-
var c = getComputedStyle(this.element), n = this.layout._getOption("originLeft"),
|
|
1992
|
-
_.indexOf("%") != -1 && (E = E / 100 * O.width), S.indexOf("%") != -1 && ($ = $ / 100 * O.height), E = isNaN(E) ? 0 : E, $ = isNaN($) ? 0 : $, E -= n ? O.paddingLeft : O.paddingRight, $ -=
|
|
1991
|
+
var c = getComputedStyle(this.element), n = this.layout._getOption("originLeft"), h = this.layout._getOption("originTop"), _ = c[n ? "left" : "right"], S = c[h ? "top" : "bottom"], E = parseFloat(_), $ = parseFloat(S), O = this.layout.size;
|
|
1992
|
+
_.indexOf("%") != -1 && (E = E / 100 * O.width), S.indexOf("%") != -1 && ($ = $ / 100 * O.height), E = isNaN(E) ? 0 : E, $ = isNaN($) ? 0 : $, E -= n ? O.paddingLeft : O.paddingRight, $ -= h ? O.paddingTop : O.paddingBottom, this.position.x = E, this.position.y = $;
|
|
1993
1993
|
}, m.layoutPosition = function() {
|
|
1994
|
-
var c = this.layout.size, n = {},
|
|
1994
|
+
var c = this.layout.size, n = {}, h = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop"), S = h ? "paddingLeft" : "paddingRight", E = h ? "left" : "right", $ = h ? "right" : "left", O = this.position.x + c[S];
|
|
1995
1995
|
n[E] = this.getXValue(O), n[$] = "";
|
|
1996
1996
|
var R = _ ? "paddingTop" : "paddingBottom", H = _ ? "top" : "bottom", F = _ ? "bottom" : "top", D = this.position.y + c[R];
|
|
1997
1997
|
n[H] = this.getYValue(D), n[F] = "", this.css(n), this.emitEvent("layout", [this]);
|
|
@@ -2003,12 +2003,12 @@ function Hn() {
|
|
|
2003
2003
|
return this.layout.options.percentPosition && n ? c / this.layout.size.height * 100 + "%" : c + "px";
|
|
2004
2004
|
}, m._transitionTo = function(c, n) {
|
|
2005
2005
|
this.getPosition();
|
|
2006
|
-
var
|
|
2006
|
+
var h = this.position.x, _ = this.position.y, S = c == this.position.x && n == this.position.y;
|
|
2007
2007
|
if (this.setPosition(c, n), S && !this.isTransitioning) {
|
|
2008
2008
|
this.layoutPosition();
|
|
2009
2009
|
return;
|
|
2010
2010
|
}
|
|
2011
|
-
var E = c -
|
|
2011
|
+
var E = c - h, $ = n - _, O = {};
|
|
2012
2012
|
O.transform = this.getTranslate(E, $), this.transition({
|
|
2013
2013
|
to: O,
|
|
2014
2014
|
onTransitionEnd: {
|
|
@@ -2017,8 +2017,8 @@ function Hn() {
|
|
|
2017
2017
|
isCleaning: !0
|
|
2018
2018
|
});
|
|
2019
2019
|
}, m.getTranslate = function(c, n) {
|
|
2020
|
-
var
|
|
2021
|
-
return c =
|
|
2020
|
+
var h = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop");
|
|
2021
|
+
return c = h ? c : -c, n = _ ? n : -n, "translate3d(" + c + "px, " + n + "px, 0)";
|
|
2022
2022
|
}, m.goTo = function(c, n) {
|
|
2023
2023
|
this.setPosition(c, n), this.layoutPosition();
|
|
2024
2024
|
}, m.moveTo = m._transitionTo, m.setPosition = function(c, n) {
|
|
@@ -2033,10 +2033,10 @@ function Hn() {
|
|
|
2033
2033
|
return;
|
|
2034
2034
|
}
|
|
2035
2035
|
var n = this._transn;
|
|
2036
|
-
for (var
|
|
2037
|
-
n.onEnd[
|
|
2038
|
-
for (
|
|
2039
|
-
n.ingProperties[
|
|
2036
|
+
for (var h in c.onTransitionEnd)
|
|
2037
|
+
n.onEnd[h] = c.onTransitionEnd[h];
|
|
2038
|
+
for (h in c.to)
|
|
2039
|
+
n.ingProperties[h] = !0, c.isCleaning && (n.clean[h] = !0);
|
|
2040
2040
|
c.from && (this.css(c.from), this.element.offsetHeight), this.enableTransition(c.to), this.css(c.to), this.isTransitioning = !0;
|
|
2041
2041
|
};
|
|
2042
2042
|
function k(c) {
|
|
@@ -2052,7 +2052,7 @@ function Hn() {
|
|
|
2052
2052
|
transitionProperty: s,
|
|
2053
2053
|
transitionDuration: c,
|
|
2054
2054
|
transitionDelay: this.staggerDelay || 0
|
|
2055
|
-
}), this.element.addEventListener(
|
|
2055
|
+
}), this.element.addEventListener(f, this, !1);
|
|
2056
2056
|
}
|
|
2057
2057
|
}, m.onwebkitTransitionEnd = function(c) {
|
|
2058
2058
|
this.ontransitionend(c);
|
|
@@ -2064,19 +2064,19 @@ function Hn() {
|
|
|
2064
2064
|
};
|
|
2065
2065
|
m.ontransitionend = function(c) {
|
|
2066
2066
|
if (c.target === this.element) {
|
|
2067
|
-
var n = this._transn,
|
|
2068
|
-
if (delete n.ingProperties[
|
|
2069
|
-
var _ = n.onEnd[
|
|
2070
|
-
_.call(this), delete n.onEnd[
|
|
2067
|
+
var n = this._transn, h = y[c.propertyName] || c.propertyName;
|
|
2068
|
+
if (delete n.ingProperties[h], u(n.ingProperties) && this.disableTransition(), h in n.clean && (this.element.style[c.propertyName] = "", delete n.clean[h]), h in n.onEnd) {
|
|
2069
|
+
var _ = n.onEnd[h];
|
|
2070
|
+
_.call(this), delete n.onEnd[h];
|
|
2071
2071
|
}
|
|
2072
2072
|
this.emitEvent("transitionEnd", [this]);
|
|
2073
2073
|
}
|
|
2074
2074
|
}, m.disableTransition = function() {
|
|
2075
|
-
this.removeTransitionStyles(), this.element.removeEventListener(
|
|
2075
|
+
this.removeTransitionStyles(), this.element.removeEventListener(f, this, !1), this.isTransitioning = !1;
|
|
2076
2076
|
}, m._removeStyles = function(c) {
|
|
2077
2077
|
var n = {};
|
|
2078
|
-
for (var
|
|
2079
|
-
n[
|
|
2078
|
+
for (var h in c)
|
|
2079
|
+
n[h] = "";
|
|
2080
2080
|
this.css(n);
|
|
2081
2081
|
};
|
|
2082
2082
|
var b = {
|
|
@@ -2091,7 +2091,7 @@ function Hn() {
|
|
|
2091
2091
|
}, m.removeElem = function() {
|
|
2092
2092
|
this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
|
|
2093
2093
|
}, m.remove = function() {
|
|
2094
|
-
if (!
|
|
2094
|
+
if (!p || !parseFloat(this.layout.options.transitionDuration)) {
|
|
2095
2095
|
this.removeElem();
|
|
2096
2096
|
return;
|
|
2097
2097
|
}
|
|
@@ -2100,8 +2100,8 @@ function Hn() {
|
|
|
2100
2100
|
}), this.hide();
|
|
2101
2101
|
}, m.reveal = function() {
|
|
2102
2102
|
delete this.isHidden, this.css({ display: "" });
|
|
2103
|
-
var c = this.layout.options, n = {},
|
|
2104
|
-
n[
|
|
2103
|
+
var c = this.layout.options, n = {}, h = this.getHideRevealTransitionEndProperty("visibleStyle");
|
|
2104
|
+
n[h] = this.onRevealTransitionEnd, this.transition({
|
|
2105
2105
|
from: c.hiddenStyle,
|
|
2106
2106
|
to: c.visibleStyle,
|
|
2107
2107
|
isCleaning: !0,
|
|
@@ -2113,12 +2113,12 @@ function Hn() {
|
|
|
2113
2113
|
var n = this.layout.options[c];
|
|
2114
2114
|
if (n.opacity)
|
|
2115
2115
|
return "opacity";
|
|
2116
|
-
for (var
|
|
2117
|
-
return
|
|
2116
|
+
for (var h in n)
|
|
2117
|
+
return h;
|
|
2118
2118
|
}, m.hide = function() {
|
|
2119
2119
|
this.isHidden = !0, this.css({ display: "" });
|
|
2120
|
-
var c = this.layout.options, n = {},
|
|
2121
|
-
n[
|
|
2120
|
+
var c = this.layout.options, n = {}, h = this.getHideRevealTransitionEndProperty("hiddenStyle");
|
|
2121
|
+
n[h] = this.onHideTransitionEnd, this.transition({
|
|
2122
2122
|
from: c.visibleStyle,
|
|
2123
2123
|
to: c.hiddenStyle,
|
|
2124
2124
|
// keep hidden stuff hidden
|
|
@@ -2163,22 +2163,22 @@ function wn() {
|
|
|
2163
2163
|
e.fizzyUIUtils,
|
|
2164
2164
|
e.Outlayer.Item
|
|
2165
2165
|
);
|
|
2166
|
-
})(window, function(o, i, u, r,
|
|
2167
|
-
var d = o.console,
|
|
2166
|
+
})(window, function(o, i, u, r, p) {
|
|
2167
|
+
var d = o.console, f = o.jQuery, l = function() {
|
|
2168
2168
|
}, v = 0, m = {};
|
|
2169
|
-
function k(n,
|
|
2169
|
+
function k(n, h) {
|
|
2170
2170
|
var _ = r.getQueryElement(n);
|
|
2171
2171
|
if (!_) {
|
|
2172
2172
|
d && d.error("Bad element for " + this.constructor.namespace + ": " + (_ || n));
|
|
2173
2173
|
return;
|
|
2174
2174
|
}
|
|
2175
|
-
this.element = _,
|
|
2175
|
+
this.element = _, f && (this.$element = f(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(h);
|
|
2176
2176
|
var S = ++v;
|
|
2177
2177
|
this.element.outlayerGUID = S, m[S] = this, this._create();
|
|
2178
2178
|
var E = this._getOption("initLayout");
|
|
2179
2179
|
E && this.layout();
|
|
2180
2180
|
}
|
|
2181
|
-
k.namespace = "outlayer", k.Item =
|
|
2181
|
+
k.namespace = "outlayer", k.Item = p, k.defaults = {
|
|
2182
2182
|
containerStyle: {
|
|
2183
2183
|
position: "relative"
|
|
2184
2184
|
},
|
|
@@ -2202,8 +2202,8 @@ function wn() {
|
|
|
2202
2202
|
r.extend(s, i.prototype), s.option = function(n) {
|
|
2203
2203
|
r.extend(this.options, n);
|
|
2204
2204
|
}, s._getOption = function(n) {
|
|
2205
|
-
var
|
|
2206
|
-
return
|
|
2205
|
+
var h = this.constructor.compatOptions[n];
|
|
2206
|
+
return h && this.options[h] !== void 0 ? this.options[h] : this.options[n];
|
|
2207
2207
|
}, k.compatOptions = {
|
|
2208
2208
|
// currentName: oldName
|
|
2209
2209
|
initLayout: "isInitLayout",
|
|
@@ -2220,8 +2220,8 @@ function wn() {
|
|
|
2220
2220
|
}, s.reloadItems = function() {
|
|
2221
2221
|
this.items = this._itemize(this.element.children);
|
|
2222
2222
|
}, s._itemize = function(n) {
|
|
2223
|
-
for (var
|
|
2224
|
-
var $ =
|
|
2223
|
+
for (var h = this._filterFindItemElements(n), _ = this.constructor.Item, S = [], E = 0; E < h.length; E++) {
|
|
2224
|
+
var $ = h[E], O = new _($, this);
|
|
2225
2225
|
S.push(O);
|
|
2226
2226
|
}
|
|
2227
2227
|
return S;
|
|
@@ -2233,27 +2233,27 @@ function wn() {
|
|
|
2233
2233
|
});
|
|
2234
2234
|
}, s.layout = function() {
|
|
2235
2235
|
this._resetLayout(), this._manageStamps();
|
|
2236
|
-
var n = this._getOption("layoutInstant"),
|
|
2237
|
-
this.layoutItems(this.items,
|
|
2236
|
+
var n = this._getOption("layoutInstant"), h = n !== void 0 ? n : !this._isLayoutInited;
|
|
2237
|
+
this.layoutItems(this.items, h), this._isLayoutInited = !0;
|
|
2238
2238
|
}, s._init = s.layout, s._resetLayout = function() {
|
|
2239
2239
|
this.getSize();
|
|
2240
2240
|
}, s.getSize = function() {
|
|
2241
2241
|
this.size = u(this.element);
|
|
2242
|
-
}, s._getMeasurement = function(n,
|
|
2242
|
+
}, s._getMeasurement = function(n, h) {
|
|
2243
2243
|
var _ = this.options[n], S;
|
|
2244
|
-
_ ? (typeof _ == "string" ? S = this.element.querySelector(_) : _ instanceof HTMLElement && (S = _), this[n] = S ? u(S)[
|
|
2245
|
-
}, s.layoutItems = function(n,
|
|
2246
|
-
n = this._getItemsForLayout(n), this._layoutItems(n,
|
|
2244
|
+
_ ? (typeof _ == "string" ? S = this.element.querySelector(_) : _ instanceof HTMLElement && (S = _), this[n] = S ? u(S)[h] : _) : this[n] = 0;
|
|
2245
|
+
}, s.layoutItems = function(n, h) {
|
|
2246
|
+
n = this._getItemsForLayout(n), this._layoutItems(n, h), this._postLayout();
|
|
2247
2247
|
}, s._getItemsForLayout = function(n) {
|
|
2248
|
-
return n.filter(function(
|
|
2249
|
-
return !
|
|
2248
|
+
return n.filter(function(h) {
|
|
2249
|
+
return !h.isIgnored;
|
|
2250
2250
|
});
|
|
2251
|
-
}, s._layoutItems = function(n,
|
|
2251
|
+
}, s._layoutItems = function(n, h) {
|
|
2252
2252
|
if (this._emitCompleteOnItems("layout", n), !(!n || !n.length)) {
|
|
2253
2253
|
var _ = [];
|
|
2254
2254
|
n.forEach(function(S) {
|
|
2255
2255
|
var E = this._getItemLayoutPosition(S);
|
|
2256
|
-
E.item = S, E.isInstant =
|
|
2256
|
+
E.item = S, E.isInstant = h || S.isLayoutInstant, _.push(E);
|
|
2257
2257
|
}, this), this._processLayoutQueue(_);
|
|
2258
2258
|
}
|
|
2259
2259
|
}, s._getItemLayoutPosition = function() {
|
|
@@ -2262,8 +2262,8 @@ function wn() {
|
|
|
2262
2262
|
y: 0
|
|
2263
2263
|
};
|
|
2264
2264
|
}, s._processLayoutQueue = function(n) {
|
|
2265
|
-
this.updateStagger(), n.forEach(function(
|
|
2266
|
-
this._positionItem(
|
|
2265
|
+
this.updateStagger(), n.forEach(function(h, _) {
|
|
2266
|
+
this._positionItem(h.item, h.x, h.y, h.isInstant, _);
|
|
2267
2267
|
}, this);
|
|
2268
2268
|
}, s.updateStagger = function() {
|
|
2269
2269
|
var n = this.options.stagger;
|
|
@@ -2272,28 +2272,28 @@ function wn() {
|
|
|
2272
2272
|
return;
|
|
2273
2273
|
}
|
|
2274
2274
|
return this.stagger = c(n), this.stagger;
|
|
2275
|
-
}, s._positionItem = function(n,
|
|
2276
|
-
S ? n.goTo(
|
|
2275
|
+
}, s._positionItem = function(n, h, _, S, E) {
|
|
2276
|
+
S ? n.goTo(h, _) : (n.stagger(E * this.stagger), n.moveTo(h, _));
|
|
2277
2277
|
}, s._postLayout = function() {
|
|
2278
2278
|
this.resizeContainer();
|
|
2279
2279
|
}, s.resizeContainer = function() {
|
|
2280
2280
|
var n = this._getOption("resizeContainer");
|
|
2281
2281
|
if (n) {
|
|
2282
|
-
var
|
|
2283
|
-
|
|
2282
|
+
var h = this._getContainerSize();
|
|
2283
|
+
h && (this._setContainerMeasure(h.width, !0), this._setContainerMeasure(h.height, !1));
|
|
2284
2284
|
}
|
|
2285
|
-
}, s._getContainerSize = l, s._setContainerMeasure = function(n,
|
|
2285
|
+
}, s._getContainerSize = l, s._setContainerMeasure = function(n, h) {
|
|
2286
2286
|
if (n !== void 0) {
|
|
2287
2287
|
var _ = this.size;
|
|
2288
|
-
_.isBorderBox && (n +=
|
|
2288
|
+
_.isBorderBox && (n += h ? _.paddingLeft + _.paddingRight + _.borderLeftWidth + _.borderRightWidth : _.paddingBottom + _.paddingTop + _.borderTopWidth + _.borderBottomWidth), n = Math.max(n, 0), this.element.style[h ? "width" : "height"] = n + "px";
|
|
2289
2289
|
}
|
|
2290
|
-
}, s._emitCompleteOnItems = function(n,
|
|
2290
|
+
}, s._emitCompleteOnItems = function(n, h) {
|
|
2291
2291
|
var _ = this;
|
|
2292
2292
|
function S() {
|
|
2293
|
-
_.dispatchEvent(n + "Complete", null, [
|
|
2293
|
+
_.dispatchEvent(n + "Complete", null, [h]);
|
|
2294
2294
|
}
|
|
2295
|
-
var E =
|
|
2296
|
-
if (!
|
|
2295
|
+
var E = h.length;
|
|
2296
|
+
if (!h || !E) {
|
|
2297
2297
|
S();
|
|
2298
2298
|
return;
|
|
2299
2299
|
}
|
|
@@ -2301,28 +2301,28 @@ function wn() {
|
|
|
2301
2301
|
function O() {
|
|
2302
2302
|
$++, $ == E && S();
|
|
2303
2303
|
}
|
|
2304
|
-
|
|
2304
|
+
h.forEach(function(R) {
|
|
2305
2305
|
R.once(n, O);
|
|
2306
2306
|
});
|
|
2307
|
-
}, s.dispatchEvent = function(n,
|
|
2308
|
-
var S =
|
|
2309
|
-
if (this.emitEvent(n, S),
|
|
2310
|
-
if (this.$element = this.$element ||
|
|
2311
|
-
var E =
|
|
2307
|
+
}, s.dispatchEvent = function(n, h, _) {
|
|
2308
|
+
var S = h ? [h].concat(_) : _;
|
|
2309
|
+
if (this.emitEvent(n, S), f)
|
|
2310
|
+
if (this.$element = this.$element || f(this.element), h) {
|
|
2311
|
+
var E = f.Event(h);
|
|
2312
2312
|
E.type = n, this.$element.trigger(E, _);
|
|
2313
2313
|
} else
|
|
2314
2314
|
this.$element.trigger(n, _);
|
|
2315
2315
|
}, s.ignore = function(n) {
|
|
2316
|
-
var
|
|
2317
|
-
|
|
2316
|
+
var h = this.getItem(n);
|
|
2317
|
+
h && (h.isIgnored = !0);
|
|
2318
2318
|
}, s.unignore = function(n) {
|
|
2319
|
-
var
|
|
2320
|
-
|
|
2319
|
+
var h = this.getItem(n);
|
|
2320
|
+
h && delete h.isIgnored;
|
|
2321
2321
|
}, s.stamp = function(n) {
|
|
2322
2322
|
n = this._find(n), n && (this.stamps = this.stamps.concat(n), n.forEach(this.ignore, this));
|
|
2323
2323
|
}, s.unstamp = function(n) {
|
|
2324
|
-
n = this._find(n), n && n.forEach(function(
|
|
2325
|
-
r.removeFrom(this.stamps,
|
|
2324
|
+
n = this._find(n), n && n.forEach(function(h) {
|
|
2325
|
+
r.removeFrom(this.stamps, h), this.unignore(h);
|
|
2326
2326
|
}, this);
|
|
2327
2327
|
}, s._find = function(n) {
|
|
2328
2328
|
if (n)
|
|
@@ -2330,19 +2330,19 @@ function wn() {
|
|
|
2330
2330
|
}, s._manageStamps = function() {
|
|
2331
2331
|
!this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
|
|
2332
2332
|
}, s._getBoundingRect = function() {
|
|
2333
|
-
var n = this.element.getBoundingClientRect(),
|
|
2333
|
+
var n = this.element.getBoundingClientRect(), h = this.size;
|
|
2334
2334
|
this._boundingRect = {
|
|
2335
|
-
left: n.left +
|
|
2336
|
-
top: n.top +
|
|
2337
|
-
right: n.right - (
|
|
2338
|
-
bottom: n.bottom - (
|
|
2335
|
+
left: n.left + h.paddingLeft + h.borderLeftWidth,
|
|
2336
|
+
top: n.top + h.paddingTop + h.borderTopWidth,
|
|
2337
|
+
right: n.right - (h.paddingRight + h.borderRightWidth),
|
|
2338
|
+
bottom: n.bottom - (h.paddingBottom + h.borderBottomWidth)
|
|
2339
2339
|
};
|
|
2340
2340
|
}, s._manageStamp = l, s._getElementOffset = function(n) {
|
|
2341
|
-
var
|
|
2342
|
-
left:
|
|
2343
|
-
top:
|
|
2344
|
-
right: _.right -
|
|
2345
|
-
bottom: _.bottom -
|
|
2341
|
+
var h = n.getBoundingClientRect(), _ = this._boundingRect, S = u(n), E = {
|
|
2342
|
+
left: h.left - _.left - S.marginLeft,
|
|
2343
|
+
top: h.top - _.top - S.marginTop,
|
|
2344
|
+
right: _.right - h.right - S.marginRight,
|
|
2345
|
+
bottom: _.bottom - h.bottom - S.marginBottom
|
|
2346
2346
|
};
|
|
2347
2347
|
return E;
|
|
2348
2348
|
}, s.handleEvent = r.handleEvent, s.bindResize = function() {
|
|
@@ -2354,56 +2354,56 @@ function wn() {
|
|
|
2354
2354
|
}, r.debounceMethod(k, "onresize", 100), s.resize = function() {
|
|
2355
2355
|
!this.isResizeBound || !this.needsResizeLayout() || this.layout();
|
|
2356
2356
|
}, s.needsResizeLayout = function() {
|
|
2357
|
-
var n = u(this.element),
|
|
2358
|
-
return
|
|
2357
|
+
var n = u(this.element), h = this.size && n;
|
|
2358
|
+
return h && n.innerWidth !== this.size.innerWidth;
|
|
2359
2359
|
}, s.addItems = function(n) {
|
|
2360
|
-
var
|
|
2361
|
-
return
|
|
2360
|
+
var h = this._itemize(n);
|
|
2361
|
+
return h.length && (this.items = this.items.concat(h)), h;
|
|
2362
2362
|
}, s.appended = function(n) {
|
|
2363
|
-
var
|
|
2364
|
-
|
|
2363
|
+
var h = this.addItems(n);
|
|
2364
|
+
h.length && (this.layoutItems(h, !0), this.reveal(h));
|
|
2365
2365
|
}, s.prepended = function(n) {
|
|
2366
|
-
var
|
|
2367
|
-
if (
|
|
2366
|
+
var h = this._itemize(n);
|
|
2367
|
+
if (h.length) {
|
|
2368
2368
|
var _ = this.items.slice(0);
|
|
2369
|
-
this.items =
|
|
2369
|
+
this.items = h.concat(_), this._resetLayout(), this._manageStamps(), this.layoutItems(h, !0), this.reveal(h), this.layoutItems(_);
|
|
2370
2370
|
}
|
|
2371
2371
|
}, s.reveal = function(n) {
|
|
2372
2372
|
if (this._emitCompleteOnItems("reveal", n), !(!n || !n.length)) {
|
|
2373
|
-
var
|
|
2373
|
+
var h = this.updateStagger();
|
|
2374
2374
|
n.forEach(function(_, S) {
|
|
2375
|
-
_.stagger(S *
|
|
2375
|
+
_.stagger(S * h), _.reveal();
|
|
2376
2376
|
});
|
|
2377
2377
|
}
|
|
2378
2378
|
}, s.hide = function(n) {
|
|
2379
2379
|
if (this._emitCompleteOnItems("hide", n), !(!n || !n.length)) {
|
|
2380
|
-
var
|
|
2380
|
+
var h = this.updateStagger();
|
|
2381
2381
|
n.forEach(function(_, S) {
|
|
2382
|
-
_.stagger(S *
|
|
2382
|
+
_.stagger(S * h), _.hide();
|
|
2383
2383
|
});
|
|
2384
2384
|
}
|
|
2385
2385
|
}, s.revealItemElements = function(n) {
|
|
2386
|
-
var
|
|
2387
|
-
this.reveal(
|
|
2386
|
+
var h = this.getItems(n);
|
|
2387
|
+
this.reveal(h);
|
|
2388
2388
|
}, s.hideItemElements = function(n) {
|
|
2389
|
-
var
|
|
2390
|
-
this.hide(
|
|
2389
|
+
var h = this.getItems(n);
|
|
2390
|
+
this.hide(h);
|
|
2391
2391
|
}, s.getItem = function(n) {
|
|
2392
|
-
for (var
|
|
2393
|
-
var _ = this.items[
|
|
2392
|
+
for (var h = 0; h < this.items.length; h++) {
|
|
2393
|
+
var _ = this.items[h];
|
|
2394
2394
|
if (_.element == n)
|
|
2395
2395
|
return _;
|
|
2396
2396
|
}
|
|
2397
2397
|
}, s.getItems = function(n) {
|
|
2398
2398
|
n = r.makeArray(n);
|
|
2399
|
-
var
|
|
2399
|
+
var h = [];
|
|
2400
2400
|
return n.forEach(function(_) {
|
|
2401
2401
|
var S = this.getItem(_);
|
|
2402
|
-
S &&
|
|
2403
|
-
}, this),
|
|
2402
|
+
S && h.push(S);
|
|
2403
|
+
}, this), h;
|
|
2404
2404
|
}, s.remove = function(n) {
|
|
2405
|
-
var
|
|
2406
|
-
this._emitCompleteOnItems("remove",
|
|
2405
|
+
var h = this.getItems(n);
|
|
2406
|
+
this._emitCompleteOnItems("remove", h), !(!h || !h.length) && h.forEach(function(_) {
|
|
2407
2407
|
_.remove(), r.removeFrom(this.items, _);
|
|
2408
2408
|
}, this);
|
|
2409
2409
|
}, s.destroy = function() {
|
|
@@ -2411,21 +2411,21 @@ function wn() {
|
|
|
2411
2411
|
n.height = "", n.position = "", n.width = "", this.items.forEach(function(_) {
|
|
2412
2412
|
_.destroy();
|
|
2413
2413
|
}), this.unbindResize();
|
|
2414
|
-
var
|
|
2415
|
-
delete m[
|
|
2414
|
+
var h = this.element.outlayerGUID;
|
|
2415
|
+
delete m[h], delete this.element.outlayerGUID, f && f.removeData(this.element, this.constructor.namespace);
|
|
2416
2416
|
}, k.data = function(n) {
|
|
2417
2417
|
n = r.getQueryElement(n);
|
|
2418
|
-
var
|
|
2419
|
-
return
|
|
2420
|
-
}, k.create = function(n,
|
|
2418
|
+
var h = n && n.outlayerGUID;
|
|
2419
|
+
return h && m[h];
|
|
2420
|
+
}, k.create = function(n, h) {
|
|
2421
2421
|
var _ = y(k);
|
|
2422
|
-
return _.defaults = r.extend({}, k.defaults), r.extend(_.defaults,
|
|
2422
|
+
return _.defaults = r.extend({}, k.defaults), r.extend(_.defaults, h), _.compatOptions = r.extend({}, k.compatOptions), _.namespace = n, _.data = k.data, _.Item = y(p), r.htmlInit(_, n), f && f.bridget && f.bridget(n, _), _;
|
|
2423
2423
|
};
|
|
2424
2424
|
function y(n) {
|
|
2425
|
-
function
|
|
2425
|
+
function h() {
|
|
2426
2426
|
n.apply(this, arguments);
|
|
2427
2427
|
}
|
|
2428
|
-
return
|
|
2428
|
+
return h.prototype = Object.create(n.prototype), h.prototype.constructor = h, h;
|
|
2429
2429
|
}
|
|
2430
2430
|
var b = {
|
|
2431
2431
|
ms: 1,
|
|
@@ -2434,14 +2434,14 @@ function wn() {
|
|
|
2434
2434
|
function c(n) {
|
|
2435
2435
|
if (typeof n == "number")
|
|
2436
2436
|
return n;
|
|
2437
|
-
var
|
|
2437
|
+
var h = n.match(/(^\d*\.?\d*)(\w*)/), _ = h && h[1], S = h && h[2];
|
|
2438
2438
|
if (!_.length)
|
|
2439
2439
|
return 0;
|
|
2440
2440
|
_ = parseFloat(_);
|
|
2441
2441
|
var E = b[S] || 1;
|
|
2442
2442
|
return _ * E;
|
|
2443
2443
|
}
|
|
2444
|
-
return k.Item =
|
|
2444
|
+
return k.Item = p, k;
|
|
2445
2445
|
});
|
|
2446
2446
|
}(it)), it.exports;
|
|
2447
2447
|
}
|
|
@@ -2467,75 +2467,75 @@ function wn() {
|
|
|
2467
2467
|
var r = u.prototype;
|
|
2468
2468
|
return r._resetLayout = function() {
|
|
2469
2469
|
this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
|
|
2470
|
-
for (var
|
|
2470
|
+
for (var p = 0; p < this.cols; p++)
|
|
2471
2471
|
this.colYs.push(0);
|
|
2472
2472
|
this.maxY = 0, this.horizontalColIndex = 0;
|
|
2473
2473
|
}, r.measureColumns = function() {
|
|
2474
2474
|
if (this.getContainerWidth(), !this.columnWidth) {
|
|
2475
|
-
var
|
|
2475
|
+
var p = this.items[0], d = p && p.element;
|
|
2476
2476
|
this.columnWidth = d && i(d).outerWidth || // if first elem has no width, default to size of container
|
|
2477
2477
|
this.containerWidth;
|
|
2478
2478
|
}
|
|
2479
|
-
var
|
|
2479
|
+
var f = this.columnWidth += this.gutter, l = this.containerWidth + this.gutter, v = l / f, m = f - l % f, k = m && m < 1 ? "round" : "floor";
|
|
2480
2480
|
v = Math[k](v), this.cols = Math.max(v, 1);
|
|
2481
2481
|
}, r.getContainerWidth = function() {
|
|
2482
|
-
var
|
|
2483
|
-
this.containerWidth =
|
|
2484
|
-
}, r._getItemLayoutPosition = function(
|
|
2485
|
-
|
|
2486
|
-
var d =
|
|
2482
|
+
var p = this._getOption("fitWidth"), d = p ? this.element.parentNode : this.element, f = i(d);
|
|
2483
|
+
this.containerWidth = f && f.innerWidth;
|
|
2484
|
+
}, r._getItemLayoutPosition = function(p) {
|
|
2485
|
+
p.getSize();
|
|
2486
|
+
var d = p.size.outerWidth % this.columnWidth, f = d && d < 1 ? "round" : "ceil", l = Math[f](p.size.outerWidth / this.columnWidth);
|
|
2487
2487
|
l = Math.min(l, this.cols);
|
|
2488
|
-
for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](l,
|
|
2488
|
+
for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](l, p), k = {
|
|
2489
2489
|
x: this.columnWidth * m.col,
|
|
2490
2490
|
y: m.y
|
|
2491
|
-
}, s = m.y +
|
|
2491
|
+
}, s = m.y + p.size.outerHeight, y = l + m.col, b = m.col; b < y; b++)
|
|
2492
2492
|
this.colYs[b] = s;
|
|
2493
2493
|
return k;
|
|
2494
|
-
}, r._getTopColPosition = function(
|
|
2495
|
-
var d = this._getTopColGroup(
|
|
2494
|
+
}, r._getTopColPosition = function(p) {
|
|
2495
|
+
var d = this._getTopColGroup(p), f = Math.min.apply(Math, d);
|
|
2496
2496
|
return {
|
|
2497
|
-
col: d.indexOf(
|
|
2498
|
-
y:
|
|
2497
|
+
col: d.indexOf(f),
|
|
2498
|
+
y: f
|
|
2499
2499
|
};
|
|
2500
|
-
}, r._getTopColGroup = function(
|
|
2501
|
-
if (
|
|
2500
|
+
}, r._getTopColGroup = function(p) {
|
|
2501
|
+
if (p < 2)
|
|
2502
2502
|
return this.colYs;
|
|
2503
|
-
for (var d = [],
|
|
2504
|
-
d[l] = this._getColGroupY(l,
|
|
2503
|
+
for (var d = [], f = this.cols + 1 - p, l = 0; l < f; l++)
|
|
2504
|
+
d[l] = this._getColGroupY(l, p);
|
|
2505
2505
|
return d;
|
|
2506
|
-
}, r._getColGroupY = function(
|
|
2506
|
+
}, r._getColGroupY = function(p, d) {
|
|
2507
2507
|
if (d < 2)
|
|
2508
|
-
return this.colYs[
|
|
2509
|
-
var
|
|
2510
|
-
return Math.max.apply(Math,
|
|
2511
|
-
}, r._getHorizontalColPosition = function(
|
|
2512
|
-
var
|
|
2513
|
-
|
|
2508
|
+
return this.colYs[p];
|
|
2509
|
+
var f = this.colYs.slice(p, p + d);
|
|
2510
|
+
return Math.max.apply(Math, f);
|
|
2511
|
+
}, r._getHorizontalColPosition = function(p, d) {
|
|
2512
|
+
var f = this.horizontalColIndex % this.cols, l = p > 1 && f + p > this.cols;
|
|
2513
|
+
f = l ? 0 : f;
|
|
2514
2514
|
var v = d.size.outerWidth && d.size.outerHeight;
|
|
2515
|
-
return this.horizontalColIndex = v ?
|
|
2516
|
-
col:
|
|
2517
|
-
y: this._getColGroupY(
|
|
2515
|
+
return this.horizontalColIndex = v ? f + p : this.horizontalColIndex, {
|
|
2516
|
+
col: f,
|
|
2517
|
+
y: this._getColGroupY(f, p)
|
|
2518
2518
|
};
|
|
2519
|
-
}, r._manageStamp = function(
|
|
2520
|
-
var d = i(
|
|
2519
|
+
}, r._manageStamp = function(p) {
|
|
2520
|
+
var d = i(p), f = this._getElementOffset(p), l = this._getOption("originLeft"), v = l ? f.left : f.right, m = v + d.outerWidth, k = Math.floor(v / this.columnWidth);
|
|
2521
2521
|
k = Math.max(0, k);
|
|
2522
2522
|
var s = Math.floor(m / this.columnWidth);
|
|
2523
2523
|
s -= m % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
|
|
2524
|
-
for (var y = this._getOption("originTop"), b = (y ?
|
|
2524
|
+
for (var y = this._getOption("originTop"), b = (y ? f.top : f.bottom) + d.outerHeight, c = k; c <= s; c++)
|
|
2525
2525
|
this.colYs[c] = Math.max(b, this.colYs[c]);
|
|
2526
2526
|
}, r._getContainerSize = function() {
|
|
2527
2527
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
2528
|
-
var
|
|
2528
|
+
var p = {
|
|
2529
2529
|
height: this.maxY
|
|
2530
2530
|
};
|
|
2531
|
-
return this._getOption("fitWidth") && (
|
|
2531
|
+
return this._getOption("fitWidth") && (p.width = this._getContainerFitWidth()), p;
|
|
2532
2532
|
}, r._getContainerFitWidth = function() {
|
|
2533
|
-
for (var
|
|
2534
|
-
|
|
2535
|
-
return (this.cols -
|
|
2533
|
+
for (var p = 0, d = this.cols; --d && this.colYs[d] === 0; )
|
|
2534
|
+
p++;
|
|
2535
|
+
return (this.cols - p) * this.columnWidth - this.gutter;
|
|
2536
2536
|
}, r.needsResizeLayout = function() {
|
|
2537
|
-
var
|
|
2538
|
-
return this.getContainerWidth(),
|
|
2537
|
+
var p = this.containerWidth;
|
|
2538
|
+
return this.getContainerWidth(), p != this.containerWidth;
|
|
2539
2539
|
}, u;
|
|
2540
2540
|
});
|
|
2541
2541
|
})(eo);
|
|
@@ -2561,13 +2561,13 @@ var to = { exports: {} };
|
|
|
2561
2561
|
// -------------------------- factory -------------------------- //
|
|
2562
2562
|
function(o, i) {
|
|
2563
2563
|
var u = o.jQuery, r = o.console;
|
|
2564
|
-
function
|
|
2564
|
+
function p(s, y) {
|
|
2565
2565
|
for (var b in y)
|
|
2566
2566
|
s[b] = y[b];
|
|
2567
2567
|
return s;
|
|
2568
2568
|
}
|
|
2569
2569
|
var d = Array.prototype.slice;
|
|
2570
|
-
function
|
|
2570
|
+
function f(s) {
|
|
2571
2571
|
if (Array.isArray(s))
|
|
2572
2572
|
return s;
|
|
2573
2573
|
var y = typeof s == "object" && typeof s.length == "number";
|
|
@@ -2581,7 +2581,7 @@ var to = { exports: {} };
|
|
|
2581
2581
|
r.error("Bad element for imagesLoaded " + (c || s));
|
|
2582
2582
|
return;
|
|
2583
2583
|
}
|
|
2584
|
-
this.elements =
|
|
2584
|
+
this.elements = f(c), this.options = p({}, this.options), typeof y == "function" ? b = y : p(this.options, y), b && this.on("always", b), this.getImages(), u && (this.jqDeferred = new u.Deferred()), setTimeout(this.check.bind(this));
|
|
2585
2585
|
}
|
|
2586
2586
|
l.prototype = Object.create(i.prototype), l.prototype.options = {}, l.prototype.getImages = function() {
|
|
2587
2587
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
@@ -2594,9 +2594,9 @@ var to = { exports: {} };
|
|
|
2594
2594
|
this.addImage(n);
|
|
2595
2595
|
}
|
|
2596
2596
|
if (typeof this.options.background == "string") {
|
|
2597
|
-
var
|
|
2598
|
-
for (c = 0; c <
|
|
2599
|
-
var _ =
|
|
2597
|
+
var h = s.querySelectorAll(this.options.background);
|
|
2598
|
+
for (c = 0; c < h.length; c++) {
|
|
2599
|
+
var _ = h[c];
|
|
2600
2600
|
this.addElementBackgroundImages(_);
|
|
2601
2601
|
}
|
|
2602
2602
|
}
|
|
@@ -2732,11 +2732,11 @@ oo.install = function(t, e) {
|
|
|
2732
2732
|
const o = Mn(), i = "VueMasonry", u = t;
|
|
2733
2733
|
u.directive("masonry", {
|
|
2734
2734
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2735
|
-
mounted: function(r,
|
|
2735
|
+
mounted: function(r, p) {
|
|
2736
2736
|
if (!Rt)
|
|
2737
2737
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2738
|
-
const d = Bn(r.attributes),
|
|
2739
|
-
|
|
2738
|
+
const d = Bn(r.attributes), f = new Rt(r, d), l = p.value || i, v = d.destroyDelay ? parseInt(d.destroyDelay, 10) : void 0, m = function() {
|
|
2739
|
+
f.reloadItems(), f.layout();
|
|
2740
2740
|
};
|
|
2741
2741
|
Gt(() => {
|
|
2742
2742
|
m();
|
|
@@ -2747,18 +2747,18 @@ oo.install = function(t, e) {
|
|
|
2747
2747
|
o["off"](`${Fe}__${l}`, k), o["off"](`${ut}__${l}`, k), o["off"](`${dt}__${l}`, k), o["off"](`${ct}__${l}`, s);
|
|
2748
2748
|
const b = v && !Number.isNaN(v) ? v : 0;
|
|
2749
2749
|
setTimeout(function() {
|
|
2750
|
-
|
|
2750
|
+
f.destroy();
|
|
2751
2751
|
}, b);
|
|
2752
2752
|
};
|
|
2753
2753
|
o["on"](`${Fe}__${l}`, k), o["on"](`${ut}__${l}`, k), o["on"](`${dt}__${l}`, k), o["on"](`${ct}__${l}`, s);
|
|
2754
2754
|
},
|
|
2755
|
-
unbind: function(r,
|
|
2756
|
-
const d =
|
|
2755
|
+
unbind: function(r, p) {
|
|
2756
|
+
const d = p.value || i;
|
|
2757
2757
|
o["emit"](`${ct}__${d}`);
|
|
2758
2758
|
}
|
|
2759
2759
|
}), u.directive("masonryTile", {
|
|
2760
|
-
mounted: function(r,
|
|
2761
|
-
const d =
|
|
2760
|
+
mounted: function(r, p) {
|
|
2761
|
+
const d = p.value || i;
|
|
2762
2762
|
o["emit"](`${Fe}__${d}`, {
|
|
2763
2763
|
element: r
|
|
2764
2764
|
}), new Dn(r, function() {
|
|
@@ -2767,16 +2767,16 @@ oo.install = function(t, e) {
|
|
|
2767
2767
|
});
|
|
2768
2768
|
});
|
|
2769
2769
|
},
|
|
2770
|
-
unbind: function(r,
|
|
2771
|
-
const d =
|
|
2770
|
+
unbind: function(r, p) {
|
|
2771
|
+
const d = p.value || i;
|
|
2772
2772
|
o["emit"](`${ut}__${d}`, {
|
|
2773
2773
|
element: r
|
|
2774
2774
|
});
|
|
2775
2775
|
}
|
|
2776
2776
|
});
|
|
2777
2777
|
{
|
|
2778
|
-
const r = function(
|
|
2779
|
-
const d =
|
|
2778
|
+
const r = function(p) {
|
|
2779
|
+
const d = p || i;
|
|
2780
2780
|
o["emit"](`${Fe}__${d}`);
|
|
2781
2781
|
};
|
|
2782
2782
|
t.config.globalProperties.$redrawVueMasonry = r, t.provide("redrawVueMasonry", r);
|
|
@@ -2818,8 +2818,8 @@ class qn {
|
|
|
2818
2818
|
for (; this._deprecatedHooks[e]; )
|
|
2819
2819
|
r = this._deprecatedHooks[e], e = r.to;
|
|
2820
2820
|
if (r && !i.allowDeprecated) {
|
|
2821
|
-
let
|
|
2822
|
-
|
|
2821
|
+
let p = r.message;
|
|
2822
|
+
p || (p = `${u} hook has been deprecated` + (r.to ? `, please use ${r.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(p) || (console.warn(p), this._deprecatedMessages.add(p));
|
|
2823
2823
|
}
|
|
2824
2824
|
if (!o.name)
|
|
2825
2825
|
try {
|
|
@@ -2954,8 +2954,8 @@ function ro(t, e) {
|
|
|
2954
2954
|
i === "meta" && u.push("name", "property", "http-equiv");
|
|
2955
2955
|
for (const r of u)
|
|
2956
2956
|
if (typeof o[r] < "u") {
|
|
2957
|
-
const
|
|
2958
|
-
return e && !e(
|
|
2957
|
+
const p = String(o[r]);
|
|
2958
|
+
return e && !e(p) ? !1 : `${i}:${r}:${p}`;
|
|
2959
2959
|
}
|
|
2960
2960
|
return !1;
|
|
2961
2961
|
}
|
|
@@ -3020,18 +3020,18 @@ const or = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }],
|
|
|
3020
3020
|
function qe(t, e, o) {
|
|
3021
3021
|
if (typeof t != "string" || !t.includes("%"))
|
|
3022
3022
|
return t;
|
|
3023
|
-
function i(
|
|
3023
|
+
function i(p) {
|
|
3024
3024
|
let d;
|
|
3025
|
-
return ["s", "pageTitle"].includes(
|
|
3025
|
+
return ["s", "pageTitle"].includes(p) ? d = e.pageTitle : p.includes(".") ? d = p.split(".").reduce((f, l) => f && f[l] || void 0, e) : d = e[p], typeof d < "u" ? (d || "").replace(/"/g, '\\"') : !1;
|
|
3026
3026
|
}
|
|
3027
3027
|
let u = t;
|
|
3028
3028
|
try {
|
|
3029
3029
|
u = decodeURI(t);
|
|
3030
3030
|
} catch {
|
|
3031
3031
|
}
|
|
3032
|
-
return (u.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((
|
|
3033
|
-
const d = i(
|
|
3034
|
-
typeof d == "string" && (t = t.replace(new RegExp(`\\${
|
|
3032
|
+
return (u.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
|
|
3033
|
+
const d = i(p.slice(1));
|
|
3034
|
+
typeof d == "string" && (t = t.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (f, l) => `${d}${l}`).trim());
|
|
3035
3035
|
}), t.includes(re) && (t.endsWith(re) && (t = t.slice(0, -re.length).trim()), t.startsWith(re) && (t = t.slice(re.length).trim()), t = t.replace(new RegExp(`\\${re}\\s*\\${re}`, "g"), re), t = qe(t, { separator: o }, o)), t;
|
|
3036
3036
|
}
|
|
3037
3037
|
async function ir(t) {
|
|
@@ -3068,7 +3068,7 @@ async function nr(t, e = {}) {
|
|
|
3068
3068
|
}
|
|
3069
3069
|
}
|
|
3070
3070
|
r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
|
|
3071
|
-
function
|
|
3071
|
+
function p(v, m, k) {
|
|
3072
3072
|
const s = `${v}:${m}`;
|
|
3073
3073
|
r.sideEffects[s] = k, delete r.pendingSideEffects[s];
|
|
3074
3074
|
}
|
|
@@ -3076,18 +3076,18 @@ async function nr(t, e = {}) {
|
|
|
3076
3076
|
const s = k.tag.endsWith("Attrs");
|
|
3077
3077
|
r.elMap[v] = m, s || (["textContent", "innerHTML"].forEach((y) => {
|
|
3078
3078
|
k[y] && k[y] !== m[y] && (m[y] = k[y]);
|
|
3079
|
-
}),
|
|
3079
|
+
}), p(v, "el", () => {
|
|
3080
3080
|
r.elMap[v].remove(), delete r.elMap[v];
|
|
3081
3081
|
})), Object.entries(k.props).forEach(([y, b]) => {
|
|
3082
3082
|
const c = `attr:${y}`;
|
|
3083
3083
|
if (y === "class")
|
|
3084
3084
|
for (const n of (b || "").split(" ").filter(Boolean))
|
|
3085
|
-
s &&
|
|
3085
|
+
s && p(v, `${c}:${n}`, () => m.classList.remove(n)), !m.classList.contains(n) && m.classList.add(n);
|
|
3086
3086
|
else
|
|
3087
|
-
m.getAttribute(y) !== b && m.setAttribute(y, b === !0 ? "" : String(b)), s &&
|
|
3087
|
+
m.getAttribute(y) !== b && m.setAttribute(y, b === !0 ? "" : String(b)), s && p(v, c, () => m.removeAttribute(y));
|
|
3088
3088
|
});
|
|
3089
3089
|
}
|
|
3090
|
-
const
|
|
3090
|
+
const f = [], l = {
|
|
3091
3091
|
bodyClose: void 0,
|
|
3092
3092
|
bodyOpen: void 0,
|
|
3093
3093
|
head: void 0
|
|
@@ -3099,15 +3099,15 @@ async function nr(t, e = {}) {
|
|
|
3099
3099
|
o.title = m.textContent;
|
|
3100
3100
|
continue;
|
|
3101
3101
|
}
|
|
3102
|
-
v.$el = v.$el || r.elMap[s], v.$el ? d(v) : Ue.includes(m.tag) &&
|
|
3102
|
+
v.$el = v.$el || r.elMap[s], v.$el ? d(v) : Ue.includes(m.tag) && f.push(v);
|
|
3103
3103
|
}
|
|
3104
3104
|
}
|
|
3105
|
-
for (const v of
|
|
3105
|
+
for (const v of f) {
|
|
3106
3106
|
const m = v.tag.tagPosition || "head";
|
|
3107
3107
|
v.$el = o.createElement(v.tag.tag), d(v), l[m] = l[m] || o.createDocumentFragment(), l[m].appendChild(v.$el);
|
|
3108
3108
|
}
|
|
3109
3109
|
for (const v of u)
|
|
3110
|
-
await t.hooks.callHook("dom:renderTag", v, o,
|
|
3110
|
+
await t.hooks.callHook("dom:renderTag", v, o, p);
|
|
3111
3111
|
l.head && o.head.appendChild(l.head), l.bodyOpen && o.body.insertBefore(l.bodyOpen, o.body.firstChild), l.bodyClose && o.body.appendChild(l.bodyClose), Object.values(r.pendingSideEffects).forEach((v) => v()), t._dom = r, t.dirty = !1, await t.hooks.callHook("dom:rendered", { renders: u });
|
|
3112
3112
|
}
|
|
3113
3113
|
async function rr(t, e = {}) {
|
|
@@ -3146,11 +3146,11 @@ const ar = ["templateParams", "htmlAttrs", "bodyAttrs"], lr = {
|
|
|
3146
3146
|
if (r) {
|
|
3147
3147
|
let d = i?.tagDuplicateStrategy;
|
|
3148
3148
|
if (!d && ar.includes(i.tag) && (d = "merge"), d === "merge") {
|
|
3149
|
-
const
|
|
3149
|
+
const f = r.props;
|
|
3150
3150
|
["class", "style"].forEach((l) => {
|
|
3151
|
-
|
|
3151
|
+
f[l] && (i.props[l] ? (l === "style" && !f[l].endsWith(";") && (f[l] += ";"), i.props[l] = `${f[l]} ${i.props[l]}`) : i.props[l] = f[l]);
|
|
3152
3152
|
}), e[u].props = {
|
|
3153
|
-
...
|
|
3153
|
+
...f,
|
|
3154
3154
|
...i.props
|
|
3155
3155
|
};
|
|
3156
3156
|
return;
|
|
@@ -3160,8 +3160,8 @@ const ar = ["templateParams", "htmlAttrs", "bodyAttrs"], lr = {
|
|
|
3160
3160
|
} else if (Ye(i) > Ye(r))
|
|
3161
3161
|
return;
|
|
3162
3162
|
}
|
|
3163
|
-
const
|
|
3164
|
-
if (Ue.includes(i.tag) &&
|
|
3163
|
+
const p = Object.keys(i.props).length + (i.innerHTML ? 1 : 0) + (i.textContent ? 1 : 0);
|
|
3164
|
+
if (Ue.includes(i.tag) && p === 0) {
|
|
3165
3165
|
delete e[u];
|
|
3166
3166
|
return;
|
|
3167
3167
|
}
|
|
@@ -3208,30 +3208,30 @@ const fr = (t) => ({
|
|
|
3208
3208
|
if (!e.tag._eventHandlers)
|
|
3209
3209
|
return;
|
|
3210
3210
|
const u = e.tag.tag === "bodyAttrs" ? o.defaultView : e.$el;
|
|
3211
|
-
Object.entries(e.tag._eventHandlers).forEach(([r,
|
|
3212
|
-
const d = `${e.tag._d || e.tag._p}:${r}`,
|
|
3211
|
+
Object.entries(e.tag._eventHandlers).forEach(([r, p]) => {
|
|
3212
|
+
const d = `${e.tag._d || e.tag._p}:${r}`, f = r.slice(2).toLowerCase(), l = `data-h-${f}`;
|
|
3213
3213
|
if (i(e.id, d, () => {
|
|
3214
3214
|
}), e.$el.hasAttribute(l))
|
|
3215
3215
|
return;
|
|
3216
3216
|
e.$el.setAttribute(l, "");
|
|
3217
3217
|
let v;
|
|
3218
3218
|
const m = (k) => {
|
|
3219
|
-
|
|
3219
|
+
p(k), v?.disconnect();
|
|
3220
3220
|
};
|
|
3221
3221
|
r in e.$el.dataset ? m(new Event(r.replace("on", ""))) : ao.includes(r) && typeof MutationObserver < "u" ? (v = new MutationObserver((k) => {
|
|
3222
3222
|
k.some((y) => y.attributeName === `data-${r}`) && (m(new Event(r.replace("on", ""))), v?.disconnect());
|
|
3223
3223
|
}), v.observe(e.$el, {
|
|
3224
3224
|
attributes: !0
|
|
3225
|
-
})) : u.addEventListener(
|
|
3226
|
-
v?.disconnect(), u.removeEventListener(
|
|
3225
|
+
})) : u.addEventListener(f, m), i(e.id, d, () => {
|
|
3226
|
+
v?.disconnect(), u.removeEventListener(f, m), e.$el.removeAttribute(l);
|
|
3227
3227
|
});
|
|
3228
3228
|
});
|
|
3229
3229
|
}
|
|
3230
3230
|
}
|
|
3231
|
-
}),
|
|
3231
|
+
}), pr = ["link", "style", "script", "noscript"], hr = {
|
|
3232
3232
|
hooks: {
|
|
3233
3233
|
"tag:normalise": ({ tag: t }) => {
|
|
3234
|
-
t.key &&
|
|
3234
|
+
t.key && pr.includes(t.tag) && (t.props["data-hid"] = t._h = Et(t.key));
|
|
3235
3235
|
}
|
|
3236
3236
|
}
|
|
3237
3237
|
}, mr = {
|
|
@@ -3255,15 +3255,15 @@ const fr = (t) => ({
|
|
|
3255
3255
|
}, gr = (t) => ({
|
|
3256
3256
|
hooks: {
|
|
3257
3257
|
"tags:resolve": (e) => {
|
|
3258
|
-
const { tags: o } = e, i = o.find((d) => d.tag === "title")?.textContent, u = o.findIndex((d) => d.tag === "templateParams"), r = u !== -1 ? o[u].props : {},
|
|
3259
|
-
delete r.separator, r.pageTitle = qe(r.pageTitle || i || "", r,
|
|
3260
|
-
for (const d of o.filter((
|
|
3261
|
-
const
|
|
3262
|
-
|
|
3263
|
-
typeof d[l] == "string" && (d[l] = qe(d[l], r,
|
|
3258
|
+
const { tags: o } = e, i = o.find((d) => d.tag === "title")?.textContent, u = o.findIndex((d) => d.tag === "templateParams"), r = u !== -1 ? o[u].props : {}, p = r.separator || "|";
|
|
3259
|
+
delete r.separator, r.pageTitle = qe(r.pageTitle || i || "", r, p);
|
|
3260
|
+
for (const d of o.filter((f) => f.processTemplateParams !== !1)) {
|
|
3261
|
+
const f = vr[d.tag];
|
|
3262
|
+
f && typeof d.props[f] == "string" ? d.props[f] = qe(d.props[f], r, p) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((l) => {
|
|
3263
|
+
typeof d[l] == "string" && (d[l] = qe(d[l], r, p));
|
|
3264
3264
|
});
|
|
3265
3265
|
}
|
|
3266
|
-
t._templateParams = r, t._separator =
|
|
3266
|
+
t._templateParams = r, t._separator = p, e.tags = o.filter((d) => d.tag !== "templateParams");
|
|
3267
3267
|
}
|
|
3268
3268
|
}
|
|
3269
3269
|
}), yr = {
|
|
@@ -3310,23 +3310,23 @@ function kr(t = {}) {
|
|
|
3310
3310
|
d.dirty = !0, e.callHook("entries:updated", d);
|
|
3311
3311
|
};
|
|
3312
3312
|
let u = 0, r = [];
|
|
3313
|
-
const
|
|
3314
|
-
plugins:
|
|
3313
|
+
const p = [], d = {
|
|
3314
|
+
plugins: p,
|
|
3315
3315
|
dirty: !1,
|
|
3316
3316
|
resolvedOptions: t,
|
|
3317
3317
|
hooks: e,
|
|
3318
3318
|
headEntries() {
|
|
3319
3319
|
return r;
|
|
3320
3320
|
},
|
|
3321
|
-
use(
|
|
3322
|
-
const l = typeof
|
|
3323
|
-
(!l.key || !
|
|
3321
|
+
use(f) {
|
|
3322
|
+
const l = typeof f == "function" ? f(d) : f;
|
|
3323
|
+
(!l.key || !p.some((v) => v.key === l.key)) && (p.push(l), Bt(l.mode, o) && e.addHooks(l.hooks || {}));
|
|
3324
3324
|
},
|
|
3325
|
-
push(
|
|
3325
|
+
push(f, l) {
|
|
3326
3326
|
delete l?.head;
|
|
3327
3327
|
const v = {
|
|
3328
3328
|
_i: u++,
|
|
3329
|
-
input:
|
|
3329
|
+
input: f,
|
|
3330
3330
|
...l
|
|
3331
3331
|
};
|
|
3332
3332
|
return Bt(v.mode, o) && (r.push(v), i()), {
|
|
@@ -3340,17 +3340,17 @@ function kr(t = {}) {
|
|
|
3340
3340
|
};
|
|
3341
3341
|
},
|
|
3342
3342
|
async resolveTags() {
|
|
3343
|
-
const
|
|
3344
|
-
await e.callHook("entries:resolve",
|
|
3345
|
-
for (const l of
|
|
3343
|
+
const f = { tags: [], entries: [...r] };
|
|
3344
|
+
await e.callHook("entries:resolve", f);
|
|
3345
|
+
for (const l of f.entries) {
|
|
3346
3346
|
const v = l.resolvedInput || l.input;
|
|
3347
3347
|
if (l.resolvedInput = await (l.transform ? l.transform(v) : v), l.resolvedInput)
|
|
3348
3348
|
for (const m of await tr(l)) {
|
|
3349
3349
|
const k = { tag: m, entry: l, resolvedOptions: d.resolvedOptions };
|
|
3350
|
-
await e.callHook("tag:normalise", k),
|
|
3350
|
+
await e.callHook("tag:normalise", k), f.tags.push(k.tag);
|
|
3351
3351
|
}
|
|
3352
3352
|
}
|
|
3353
|
-
return await e.callHook("tags:beforeResolve",
|
|
3353
|
+
return await e.callHook("tags:beforeResolve", f), await e.callHook("tags:resolve", f), await e.callHook("tags:afterResolve", f), f.tags;
|
|
3354
3354
|
},
|
|
3355
3355
|
ssr: o
|
|
3356
3356
|
};
|
|
@@ -3358,13 +3358,13 @@ function kr(t = {}) {
|
|
|
3358
3358
|
lr,
|
|
3359
3359
|
ur,
|
|
3360
3360
|
fr,
|
|
3361
|
-
|
|
3361
|
+
hr,
|
|
3362
3362
|
mr,
|
|
3363
3363
|
gr,
|
|
3364
3364
|
yr,
|
|
3365
3365
|
_r,
|
|
3366
3366
|
...t?.plugins || []
|
|
3367
|
-
].forEach((
|
|
3367
|
+
].forEach((f) => d.use(f)), d.hooks.callHook("init", d), d;
|
|
3368
3368
|
}
|
|
3369
3369
|
const Er = Io.startsWith("3");
|
|
3370
3370
|
function Tr(t) {
|