@konnectio/core 4.0.35 → 4.0.36
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-044d5ae1.cjs → ActionField-3885f32a.cjs} +1 -1
- package/dist/{ActionField-6bada9e1.js → ActionField-a8e5d5d9.js} +2 -2
- package/dist/ActionField-a8e5d5d9.js.br +0 -0
- package/dist/{AvailabilitySkeleton-1bdfed27.cjs → AvailabilitySkeleton-cd318692.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-f12f7c36.js → AvailabilitySkeleton-e6d2014e.js} +5 -5
- package/dist/AvailabilitySkeleton-e6d2014e.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-f242b4f3.cjs → DateField.vue_vue_type_style_index_0_lang-1a8b5f6a.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-ed25fefa.js → DateField.vue_vue_type_style_index_0_lang-9094d6d1.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-9094d6d1.js.br +0 -0
- package/dist/{Field-4abad4c4.js → Field-3acea4f1.js} +2 -2
- package/dist/Field-3acea4f1.js.br +0 -0
- package/dist/{Field-83e79ac9.cjs → Field-9ceb2f44.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-01dbfb98.js → NumberField.vue_vue_type_script_setup_true_lang-8011015d.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-8011015d.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-2fad0cbe.cjs → NumberField.vue_vue_type_script_setup_true_lang-bec0662b.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-37c4524a.js → SelectField.vue_vue_type_style_index_0_lang-6c4869ab.js} +42 -41
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6c4869ab.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-3cd5af09.cjs → SelectField.vue_vue_type_style_index_0_lang-8dbda757.cjs} +3 -3
- package/dist/{ThankYou-8f0e7fb4.js → ThankYou-2f394123.js} +5 -5
- package/dist/ThankYou-2f394123.js.br +0 -0
- package/dist/{ThankYou-c153e958.cjs → ThankYou-ed65bc7a.cjs} +2 -2
- package/dist/{_-ca9b20fd.cjs → _-8101ab39.cjs} +1 -1
- package/dist/{_-a03c308d.js → _-e9260c32.js} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/{event-e82b3708.js → event-26a75404.js} +7 -7
- package/dist/event-26a75404.js.br +0 -0
- package/dist/{event-32319e6e.cjs → event-48dd46cf.cjs} +1 -1
- 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 +3 -3
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +5 -5
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +523 -529
- package/dist/hotel.js.br +0 -0
- package/dist/{index-8d46a016.cjs → index-29b94b33.cjs} +1 -1
- package/dist/{index-beeae88b.js → index-7ebaf6a6.js} +1 -1
- package/dist/index-7ebaf6a6.js.br +0 -0
- package/dist/polyfill.cjs +1 -1
- 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/package.json +1 -1
- package/dist/ActionField-6bada9e1.js.br +0 -0
- package/dist/AvailabilitySkeleton-f12f7c36.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-ed25fefa.js.br +0 -0
- package/dist/Field-4abad4c4.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-01dbfb98.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-37c4524a.js.br +0 -0
- package/dist/ThankYou-8f0e7fb4.js.br +0 -0
- package/dist/event-e82b3708.js.br +0 -0
- package/dist/index-beeae88b.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { k as K, D as ce, aE as uo, s as
|
|
2
|
-
import { R as Eo, S as To, F as $o, _ as So, B as Co, a as Vo, M as Po, T as Bo, x as Do } from "./ThankYou-
|
|
3
|
-
import { A as Lo, H as wo } from "./AvailabilitySkeleton-
|
|
4
|
-
import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as Ho } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { C as Fe, P as Oo, a as Ao, S as zo } from "./index-
|
|
7
|
-
import { E as X } from "./_-
|
|
1
|
+
import { k as K, D as ce, aE as uo, s as Z, c as Te, ab as yt, ac as ge, m as x, n as z, W as vt, q as u, w, aa as Pe, A as v, F as V, K as ie, Y as et, aF as co, v as I, a3 as N, a2 as R, x as B, aG as _e, a5 as Ue, p as T, H as re, J as de, f as Y, B as $e, P as _t, Q as bt, _ as ee, r as ae, o as Se, ag as tt, ah as Be, aH as kt, aC as po, a1 as xe, y as Ie, I as xt, l as ot, T as ne, aA as fo, b as ho, N as mo, C as me, a6 as go, L as nt, G as F, M as yo, an as It, aI as vo, U as _o, a8 as bo, R as ko, V as xo, a9 as Io } from "./SelectField.vue_vue_type_style_index_0_lang-6c4869ab.js";
|
|
2
|
+
import { R as Eo, S as To, F as $o, _ as So, B as Co, a as Vo, M as Po, T as Bo, x as Do } from "./ThankYou-2f394123.js";
|
|
3
|
+
import { A as Lo, H as wo } from "./AvailabilitySkeleton-e6d2014e.js";
|
|
4
|
+
import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-8011015d.js";
|
|
5
|
+
import { _ as Ho } from "./DateField.vue_vue_type_style_index_0_lang-9094d6d1.js";
|
|
6
|
+
import { C as Fe, P as Oo, a as Ao, S as zo } from "./index-7ebaf6a6.js";
|
|
7
|
+
import { E as X } from "./_-e9260c32.js";
|
|
8
8
|
import { c as Tt, a as $t } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
9
|
+
import "./ActionField-a8e5d5d9.js";
|
|
10
|
+
import "./Field-3acea4f1.js";
|
|
11
11
|
const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
12
12
|
__name: "HotelReservationForm",
|
|
13
13
|
props: {
|
|
@@ -17,51 +17,51 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
17
17
|
setup(o) {
|
|
18
18
|
const { t: e } = ce(), t = uo(), {
|
|
19
19
|
hideArrivalDepartureInputs: n,
|
|
20
|
-
disableArrivalUserSelection:
|
|
20
|
+
disableArrivalUserSelection: s,
|
|
21
21
|
disableDepartureUserSelection: r,
|
|
22
22
|
arrivalDefault: p,
|
|
23
|
-
departureDefault:
|
|
23
|
+
departureDefault: l,
|
|
24
24
|
currency: f
|
|
25
|
-
} =
|
|
25
|
+
} = Z(Te()), {
|
|
26
26
|
arrivalDate: c,
|
|
27
27
|
departureDate: m
|
|
28
|
-
} =
|
|
28
|
+
} = Z(yt()), {
|
|
29
29
|
arrivalTime: g,
|
|
30
30
|
departureTime: k,
|
|
31
31
|
roomDisplay: a,
|
|
32
32
|
templateID: _,
|
|
33
33
|
totalPrice: b,
|
|
34
34
|
areListingsLoading: h
|
|
35
|
-
} =
|
|
35
|
+
} = Z(ge()), { removeRoom: i } = ge();
|
|
36
36
|
function d(y) {
|
|
37
37
|
return y.reduce((S, { totalPrice: L }) => S + L, 0);
|
|
38
38
|
}
|
|
39
39
|
return (y, E) => (x(), z(Eo, {
|
|
40
|
-
"total-price":
|
|
40
|
+
"total-price": u(b),
|
|
41
41
|
"show-gift-card": y.showGiftCard,
|
|
42
42
|
"show-terms-notice": y.showTermsNotice,
|
|
43
|
-
"is-sidebar-loading":
|
|
44
|
-
notice:
|
|
43
|
+
"is-sidebar-loading": u(h),
|
|
44
|
+
notice: u(e)("hotel.reservationNotice")
|
|
45
45
|
}, vt({
|
|
46
46
|
form: w(() => [
|
|
47
47
|
Pe(y.$slots, "form")
|
|
48
48
|
]),
|
|
49
49
|
"reservation-summary": w(() => [
|
|
50
50
|
v("li", null, [
|
|
51
|
-
v("span", null, V(
|
|
52
|
-
v("b", null, V(
|
|
51
|
+
v("span", null, V(u(e)("booking.reservation.arrival")), 1),
|
|
52
|
+
v("b", null, V(u(n) ? u(ie)(u(c)) : `${u(ie)(u(c))}, ${u(s) ? u(p) : u(g)}`), 1)
|
|
53
53
|
]),
|
|
54
54
|
v("li", null, [
|
|
55
|
-
v("span", null, V(
|
|
56
|
-
v("b", null, V(
|
|
55
|
+
v("span", null, V(u(e)("booking.reservation.departure")), 1),
|
|
56
|
+
v("b", null, V(u(n) ? u(ie)(u(m)) : `${u(ie)(u(m))}, ${u(r) ? u(l) : u(k)}`), 1)
|
|
57
57
|
]),
|
|
58
58
|
v("li", null, [
|
|
59
|
-
v("span", null, V(
|
|
60
|
-
v("b", null, V(
|
|
59
|
+
v("span", null, V(u(e)("booking.reservation.nights")), 1),
|
|
60
|
+
v("b", null, V(u(et)(u(c), u(m))) + " " + V(u(co)(u(et)(u(c), u(m)) === 1 ? u(e)("booking.reservation.night") : u(e)("booking.reservation.nights"))), 1)
|
|
61
61
|
])
|
|
62
62
|
]),
|
|
63
63
|
"price-summary": w(() => [
|
|
64
|
-
isNaN(
|
|
64
|
+
isNaN(u(_)) && u(a).length > 0 ? (x(!0), I(R, { key: 0 }, N(u(a), ({
|
|
65
65
|
roomGroupID: S,
|
|
66
66
|
title: L,
|
|
67
67
|
variants: O
|
|
@@ -74,17 +74,17 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
74
74
|
(x(!0), I(R, null, N(C.rooms, (H, U) => (x(), I("ul", { key: U }, [
|
|
75
75
|
v("li", null, [
|
|
76
76
|
v("span", null, [
|
|
77
|
-
v("span", null, V(
|
|
77
|
+
v("span", null, V(u(_e)(C.name)), 1),
|
|
78
78
|
v("span", null, [
|
|
79
79
|
Ue("( "),
|
|
80
|
-
T(
|
|
80
|
+
T(re, {
|
|
81
81
|
icon: "male",
|
|
82
82
|
type: "fas",
|
|
83
83
|
color: "font"
|
|
84
84
|
}),
|
|
85
85
|
v("span", null, V(H.adultsCount), 1),
|
|
86
86
|
H.childrenCount > 0 ? (x(), I(R, { key: 0 }, [
|
|
87
|
-
T(
|
|
87
|
+
T(re, {
|
|
88
88
|
icon: "child",
|
|
89
89
|
type: "fas",
|
|
90
90
|
color: "font"
|
|
@@ -95,13 +95,13 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
95
95
|
])
|
|
96
96
|
]),
|
|
97
97
|
v("b", null, [
|
|
98
|
-
v("span", null, V(
|
|
98
|
+
v("span", null, V(u(de)(H.totalPrice, u(f))), 1),
|
|
99
99
|
B("", !0)
|
|
100
100
|
])
|
|
101
101
|
]),
|
|
102
102
|
d(H.roomAddons) > 0 ? (x(), I("li", Ro, [
|
|
103
|
-
v("span", null, V(
|
|
104
|
-
v("b", null, V(
|
|
103
|
+
v("span", null, V(u(e)("booking.reservation.addons")), 1),
|
|
104
|
+
v("b", null, V(u(de)(d(H.roomAddons), u(f))), 1)
|
|
105
105
|
])) : B("", !0)
|
|
106
106
|
]))), 128))
|
|
107
107
|
]))), 128))
|
|
@@ -112,7 +112,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
112
112
|
]),
|
|
113
113
|
_: 2
|
|
114
114
|
}, [
|
|
115
|
-
|
|
115
|
+
u(t).addons ? {
|
|
116
116
|
name: "addons",
|
|
117
117
|
fn: w(() => [
|
|
118
118
|
Pe(y.$slots, "addons")
|
|
@@ -132,17 +132,17 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
132
132
|
},
|
|
133
133
|
emits: ["update:modelValue"],
|
|
134
134
|
setup(o, { emit: e }) {
|
|
135
|
-
const { t } = ce(), { currency: n } =
|
|
135
|
+
const { t } = ce(), { currency: n } = Z(Te()), s = e, r = o;
|
|
136
136
|
function p(f) {
|
|
137
|
-
|
|
137
|
+
s("update:modelValue", f);
|
|
138
138
|
}
|
|
139
|
-
const
|
|
139
|
+
const l = Y({
|
|
140
140
|
get: () => r.modelValue,
|
|
141
141
|
set: (f) => p(f)
|
|
142
142
|
});
|
|
143
143
|
return (f, c) => (x(), z($e, {
|
|
144
|
-
modelValue:
|
|
145
|
-
"onUpdate:modelValue": c[0] || (c[0] = (m) =>
|
|
144
|
+
modelValue: l.value,
|
|
145
|
+
"onUpdate:modelValue": c[0] || (c[0] = (m) => l.value = m),
|
|
146
146
|
label: f.label,
|
|
147
147
|
placeholder: "Select guest configuration",
|
|
148
148
|
labelKey: "label",
|
|
@@ -155,21 +155,21 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
155
155
|
}, {
|
|
156
156
|
option: w(({ data: m }) => [
|
|
157
157
|
v("span", null, [
|
|
158
|
-
T(
|
|
158
|
+
T(re, {
|
|
159
159
|
icon: "male",
|
|
160
160
|
type: "fas",
|
|
161
161
|
color: "font"
|
|
162
162
|
}),
|
|
163
163
|
v("span", null, V(`${m.adults}`), 1),
|
|
164
164
|
m.children > 0 ? (x(), I("span", No, [
|
|
165
|
-
T(
|
|
165
|
+
T(re, {
|
|
166
166
|
icon: "child",
|
|
167
167
|
type: "fas",
|
|
168
168
|
color: "font"
|
|
169
169
|
}),
|
|
170
170
|
v("span", null, V(`${m.children}`), 1)
|
|
171
171
|
])) : B("", !0),
|
|
172
|
-
v("span", null, V(`(${
|
|
172
|
+
v("span", null, V(`(${u(de)(m.price, u(n))})`), 1)
|
|
173
173
|
])
|
|
174
174
|
]),
|
|
175
175
|
"selected-option": w(({ data: m }) => [
|
|
@@ -177,16 +177,16 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
177
177
|
v("div", Uo, [
|
|
178
178
|
v("div", null, [
|
|
179
179
|
B("", !0),
|
|
180
|
-
v("span", null, V(`${m.adults} ${m.adults === 1 ?
|
|
180
|
+
v("span", null, V(`${m.adults} ${m.adults === 1 ? u(t)("general.adult") : u(t)("general.adults")}`), 1)
|
|
181
181
|
]),
|
|
182
182
|
m.children > 0 ? (x(), I("div", Fo, [
|
|
183
183
|
B("", !0),
|
|
184
|
-
v("span", null, V(`& ${m.children} ${m.children === 1 ?
|
|
184
|
+
v("span", null, V(`& ${m.children} ${m.children === 1 ? u(t)("general.child") : u(t)("general.children")}`), 1)
|
|
185
185
|
])) : B("", !0)
|
|
186
186
|
]),
|
|
187
187
|
v("div", qo, [
|
|
188
188
|
Go,
|
|
189
|
-
Ue(" " + V(`(${
|
|
189
|
+
Ue(" " + V(`(${u(de)(m.price, u(n))})`), 1)
|
|
190
190
|
])
|
|
191
191
|
])
|
|
192
192
|
]),
|
|
@@ -194,7 +194,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
|
|
|
194
194
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
|
-
const Yo = /* @__PURE__ */
|
|
197
|
+
const Yo = /* @__PURE__ */ ee(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["src"], Ko = /* @__PURE__ */ K({
|
|
198
198
|
__name: "Gallery",
|
|
199
199
|
props: {
|
|
200
200
|
gallery: {}
|
|
@@ -218,8 +218,8 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
218
218
|
}*/
|
|
219
219
|
]
|
|
220
220
|
})];
|
|
221
|
-
}), (n,
|
|
222
|
-
n.gallery.length > 1 ? (x(), z(
|
|
221
|
+
}), (n, s) => (x(), I("div", null, [
|
|
222
|
+
n.gallery.length > 1 ? (x(), z(u($o), {
|
|
223
223
|
ref_key: "slideshow",
|
|
224
224
|
ref: e,
|
|
225
225
|
key: n.gallery.length,
|
|
@@ -227,8 +227,8 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
227
227
|
plugins: t.value
|
|
228
228
|
}, {
|
|
229
229
|
default: w(() => [
|
|
230
|
-
(x(!0), I(R, null, N(n.gallery, ({ medium: r, large: p },
|
|
231
|
-
key:
|
|
230
|
+
(x(!0), I(R, null, N(n.gallery, ({ medium: r, large: p }, l) => (x(), I("div", {
|
|
231
|
+
key: l,
|
|
232
232
|
class: "booking-availability-listing-featured-img"
|
|
233
233
|
}, [
|
|
234
234
|
v("img", { src: p }, null, 8, Qo)
|
|
@@ -258,7 +258,7 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
258
258
|
},
|
|
259
259
|
setup(o) {
|
|
260
260
|
return (e, t) => {
|
|
261
|
-
const n = tt("masonry-tile"),
|
|
261
|
+
const n = tt("masonry-tile"), s = tt("masonry");
|
|
262
262
|
return x(), z(So, {
|
|
263
263
|
title: e.title,
|
|
264
264
|
description: e.description
|
|
@@ -269,8 +269,8 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
269
269
|
Be(v("div", Zo, null, 512), [
|
|
270
270
|
[n]
|
|
271
271
|
]),
|
|
272
|
-
(x(!0), I(R, null, N(e.facilities, ({ name: r, subFacilities: p },
|
|
273
|
-
key:
|
|
272
|
+
(x(!0), I(R, null, N(e.facilities, ({ name: r, subFacilities: p }, l) => Be((x(), I("li", {
|
|
273
|
+
key: l,
|
|
274
274
|
class: "fresh-booking-modal-facility"
|
|
275
275
|
}, [
|
|
276
276
|
v("h6", null, [
|
|
@@ -283,7 +283,7 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
283
283
|
[n]
|
|
284
284
|
])), 128))
|
|
285
285
|
])), [
|
|
286
|
-
[
|
|
286
|
+
[s]
|
|
287
287
|
])
|
|
288
288
|
])) : B("", !0)
|
|
289
289
|
]),
|
|
@@ -302,7 +302,7 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
|
|
|
302
302
|
};
|
|
303
303
|
}
|
|
304
304
|
});
|
|
305
|
-
const tn = /* @__PURE__ */
|
|
305
|
+
const tn = /* @__PURE__ */ ee(en, [["__scopeId", "data-v-f1ca1684"]]), on = { class: "konnectio-availability-listing-selection" }, nn = { key: 1 }, rn = { class: "fresh-booking-listing-config-body" }, an = { class: "fresh-booking-listing-units-body" };
|
|
306
306
|
const sn = /* @__PURE__ */ K({
|
|
307
307
|
__name: "Hotel",
|
|
308
308
|
props: {
|
|
@@ -311,7 +311,7 @@ const sn = /* @__PURE__ */ K({
|
|
|
311
311
|
},
|
|
312
312
|
setup(o) {
|
|
313
313
|
const { t: e } = ce(), t = o, n = ae([]);
|
|
314
|
-
function
|
|
314
|
+
function s(C) {
|
|
315
315
|
n.value[C].config.push({
|
|
316
316
|
id: NaN,
|
|
317
317
|
units: 0,
|
|
@@ -323,7 +323,7 @@ const sn = /* @__PURE__ */ K({
|
|
|
323
323
|
value: C.id
|
|
324
324
|
}))), p = Y(() => n.value.flatMap((C) => C.id));
|
|
325
325
|
Y(() => r.value.filter((C) => !p.value.includes(C.value)));
|
|
326
|
-
const { hideAvailableRoomAmount:
|
|
326
|
+
const { hideAvailableRoomAmount: l, currency: f } = Z(Te()), { roomSelect: c } = Z(ge()), { viewItem: m, addToCart: g, removeFromCart: k } = kt(), a = (C, D) => t.room.rates.find((H) => H.id === C)?.occupantRates.find((H) => H.index === D), _ = Y(() => t.room.rates.reduce(
|
|
327
327
|
(C, D) => C < D.rackRate ? C : D.rackRate,
|
|
328
328
|
1 / 0
|
|
329
329
|
)), b = Y(() => t.room.rates.every((C) => C.isBreakfastIncluded === !0)), h = (C, D) => a(C, D) ? a(C, D)?.rooms : null, i = (C) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === C)?.occupantRates.map((D) => ({
|
|
@@ -406,8 +406,8 @@ const sn = /* @__PURE__ */ K({
|
|
|
406
406
|
key: 0,
|
|
407
407
|
modelValue: H.id,
|
|
408
408
|
"onUpdate:modelValue": (q) => H.id = q,
|
|
409
|
-
label:
|
|
410
|
-
placeholder:
|
|
409
|
+
label: u(e)("hotel.roomVariant"),
|
|
410
|
+
placeholder: u(e)("hotel.chooseARoomVariant"),
|
|
411
411
|
options: r.value,
|
|
412
412
|
searchable: !1
|
|
413
413
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : B("", !0),
|
|
@@ -426,8 +426,8 @@ const sn = /* @__PURE__ */ K({
|
|
|
426
426
|
"onUpdate:modelValue": (le) => G.id = le,
|
|
427
427
|
icon: "male",
|
|
428
428
|
"icon-type": "fas",
|
|
429
|
-
label:
|
|
430
|
-
description: `${
|
|
429
|
+
label: u(e)("general.guests"),
|
|
430
|
+
description: `${u(e)("general.maximumGuests")}: ${W}`,
|
|
431
431
|
options: i(q),
|
|
432
432
|
readonly: !(i(q).length > 1)
|
|
433
433
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
@@ -436,11 +436,11 @@ const sn = /* @__PURE__ */ K({
|
|
|
436
436
|
T(Et, {
|
|
437
437
|
modelValue: G.units,
|
|
438
438
|
"onUpdate:modelValue": (le) => G.units = le,
|
|
439
|
-
description:
|
|
439
|
+
description: u(l) ? void 0 : `${u(e)("booking.availability.availableUnits")}: ${h(H.id, G.id)}`,
|
|
440
440
|
icon: "house",
|
|
441
441
|
"icon-type": "fas",
|
|
442
442
|
"icon-placement": "label",
|
|
443
|
-
label:
|
|
443
|
+
label: u(e)("booking.availability.units"),
|
|
444
444
|
minValue: 0,
|
|
445
445
|
"max-value": h(q, G.id) || 1 / 0
|
|
446
446
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
@@ -456,7 +456,7 @@ const sn = /* @__PURE__ */ K({
|
|
|
456
456
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
|
-
const ln = /* @__PURE__ */
|
|
459
|
+
const ln = /* @__PURE__ */ ee(sn, [["__scopeId", "data-v-7fe13e0e"]]), it = /* @__PURE__ */ K({
|
|
460
460
|
__name: "TimeField",
|
|
461
461
|
props: {
|
|
462
462
|
modelValue: {},
|
|
@@ -482,15 +482,15 @@ const ln = /* @__PURE__ */ te(sn, [["__scopeId", "data-v-7fe13e0e"]]), it = /* @
|
|
|
482
482
|
emits: ["update:modelValue"],
|
|
483
483
|
setup(o, { emit: e }) {
|
|
484
484
|
const t = e, n = o;
|
|
485
|
-
function
|
|
485
|
+
function s(p) {
|
|
486
486
|
t("update:modelValue", p);
|
|
487
487
|
}
|
|
488
488
|
const r = ae(n.modelValue);
|
|
489
489
|
return xe(r, (p) => {
|
|
490
|
-
|
|
491
|
-
}), (p,
|
|
490
|
+
s(p);
|
|
491
|
+
}), (p, l) => (x(), z(Ho, {
|
|
492
492
|
modelValue: r.value,
|
|
493
|
-
"onUpdate:modelValue":
|
|
493
|
+
"onUpdate:modelValue": l[0] || (l[0] = (f) => r.value = f),
|
|
494
494
|
type: "time",
|
|
495
495
|
label: p.label,
|
|
496
496
|
id: p.id,
|
|
@@ -516,23 +516,23 @@ const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @_
|
|
|
516
516
|
},
|
|
517
517
|
emits: ["update:modelValue"],
|
|
518
518
|
setup(o, { emit: e }) {
|
|
519
|
-
const { t } = ce(), n = e,
|
|
520
|
-
function r(
|
|
521
|
-
n("update:modelValue",
|
|
519
|
+
const { t } = ce(), n = e, s = o;
|
|
520
|
+
function r(l) {
|
|
521
|
+
n("update:modelValue", l);
|
|
522
522
|
}
|
|
523
523
|
const p = Y({
|
|
524
|
-
get: () =>
|
|
525
|
-
set: (
|
|
524
|
+
get: () => s.modelValue,
|
|
525
|
+
set: (l) => r(l)
|
|
526
526
|
});
|
|
527
|
-
return (
|
|
527
|
+
return (l, f) => (x(), z($e, {
|
|
528
528
|
modelValue: p.value,
|
|
529
529
|
"onUpdate:modelValue": f[0] || (f[0] = (c) => p.value = c),
|
|
530
|
-
label:
|
|
531
|
-
placeholder:
|
|
530
|
+
label: l.label,
|
|
531
|
+
placeholder: u(t)("booking.reservation.countryPlaceholder"),
|
|
532
532
|
labelKey: "name",
|
|
533
533
|
valueKey: "id",
|
|
534
|
-
options:
|
|
535
|
-
required:
|
|
534
|
+
options: l.options,
|
|
535
|
+
required: l.required
|
|
536
536
|
}, {
|
|
537
537
|
option: w(({ data: c }) => [
|
|
538
538
|
v("i", {
|
|
@@ -552,7 +552,7 @@ const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @_
|
|
|
552
552
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
553
553
|
}
|
|
554
554
|
});
|
|
555
|
-
const cn = /* @__PURE__ */
|
|
555
|
+
const cn = /* @__PURE__ */ ee(dn, [["__scopeId", "data-v-1462612d"]]), pn = { class: "konnectio-radio-checkboxes" }, fn = /* @__PURE__ */ K({
|
|
556
556
|
__name: "CheckboxField",
|
|
557
557
|
props: {
|
|
558
558
|
modelValue: {},
|
|
@@ -563,14 +563,14 @@ const cn = /* @__PURE__ */ te(dn, [["__scopeId", "data-v-1462612d"]]), pn = { cl
|
|
|
563
563
|
emits: ["update:modelValue"],
|
|
564
564
|
setup(o, { emit: e }) {
|
|
565
565
|
const t = e, n = o;
|
|
566
|
-
function
|
|
566
|
+
function s(p) {
|
|
567
567
|
t("update:modelValue", p);
|
|
568
568
|
}
|
|
569
569
|
const r = Y({
|
|
570
570
|
get: () => n.modelValue,
|
|
571
|
-
set: (p) =>
|
|
571
|
+
set: (p) => s(p)
|
|
572
572
|
});
|
|
573
|
-
return (p,
|
|
573
|
+
return (p, l) => (x(), z(xt, {
|
|
574
574
|
label: p.label,
|
|
575
575
|
type: "multi-radio"
|
|
576
576
|
}, {
|
|
@@ -579,7 +579,7 @@ const cn = /* @__PURE__ */ te(dn, [["__scopeId", "data-v-1462612d"]]), pn = { cl
|
|
|
579
579
|
(x(!0), I(R, null, N(p.checkboxes, ({ label: f, value: c }, m) => (x(), I("li", { key: m }, [
|
|
580
580
|
T(Fe, {
|
|
581
581
|
modelValue: r.value,
|
|
582
|
-
"onUpdate:modelValue":
|
|
582
|
+
"onUpdate:modelValue": l[0] || (l[0] = (g) => r.value = g),
|
|
583
583
|
label: f,
|
|
584
584
|
name: p.name,
|
|
585
585
|
type: "radio",
|
|
@@ -592,7 +592,7 @@ const cn = /* @__PURE__ */ te(dn, [["__scopeId", "data-v-1462612d"]]), pn = { cl
|
|
|
592
592
|
}, 8, ["label"]));
|
|
593
593
|
}
|
|
594
594
|
});
|
|
595
|
-
const hn = /* @__PURE__ */
|
|
595
|
+
const hn = /* @__PURE__ */ ee(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @__PURE__ */ K({
|
|
596
596
|
__name: "NameField",
|
|
597
597
|
props: {
|
|
598
598
|
modelValue: {},
|
|
@@ -614,8 +614,8 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
|
|
|
614
614
|
},
|
|
615
615
|
emits: ["update:modelValue", "update:title"],
|
|
616
616
|
setup(o, { emit: e }) {
|
|
617
|
-
const t = o, n = e,
|
|
618
|
-
function
|
|
617
|
+
const t = o, n = e, s = t.id || ot(), r = ae(""), p = ae(2);
|
|
618
|
+
function l() {
|
|
619
619
|
n("update:modelValue", r.value);
|
|
620
620
|
}
|
|
621
621
|
xe(p, (c) => {
|
|
@@ -626,7 +626,7 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
|
|
|
626
626
|
t.modelValue && (r.value = t.modelValue), t.title && (p.value = t.title);
|
|
627
627
|
}), (c, m) => (x(), z(xt, {
|
|
628
628
|
label: c.label,
|
|
629
|
-
id: s
|
|
629
|
+
id: u(s),
|
|
630
630
|
required: c.required,
|
|
631
631
|
type: "fresh-booking-name-field",
|
|
632
632
|
readonly: c.readonly,
|
|
@@ -643,29 +643,29 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
|
|
|
643
643
|
key: 0,
|
|
644
644
|
modelValue: p.value,
|
|
645
645
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => p.value = g),
|
|
646
|
-
id:
|
|
646
|
+
id: u(ot)(),
|
|
647
647
|
icon: c.icon,
|
|
648
648
|
"icon-color": c.iconColor,
|
|
649
649
|
"icon-type": c.iconType,
|
|
650
650
|
options: [
|
|
651
651
|
{
|
|
652
|
-
label:
|
|
652
|
+
label: u(f)("booking.reservation.noNameTitle"),
|
|
653
653
|
value: 1
|
|
654
654
|
},
|
|
655
655
|
{
|
|
656
|
-
label:
|
|
656
|
+
label: u(f)("booking.reservation.nameTitleMr"),
|
|
657
657
|
value: 2
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
|
-
label:
|
|
660
|
+
label: u(f)("booking.reservation.nameTitleMs"),
|
|
661
661
|
value: 3
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
|
-
label:
|
|
664
|
+
label: u(f)("booking.reservation.nameTitleMrs"),
|
|
665
665
|
value: 4
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
|
-
label:
|
|
668
|
+
label: u(f)("booking.reservation.nameTitleDr"),
|
|
669
669
|
value: 5
|
|
670
670
|
}
|
|
671
671
|
],
|
|
@@ -674,13 +674,13 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
|
|
|
674
674
|
"input-style": c.inputStyle,
|
|
675
675
|
searchable: !1
|
|
676
676
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
677
|
-
T(
|
|
677
|
+
T(ne, {
|
|
678
678
|
modelValue: r.value,
|
|
679
679
|
"onUpdate:modelValue": m[1] || (m[1] = (g) => r.value = g),
|
|
680
680
|
type: "text",
|
|
681
681
|
name: "name",
|
|
682
682
|
autocomplete: "name",
|
|
683
|
-
id: s
|
|
683
|
+
id: u(s),
|
|
684
684
|
icon: c.excludeTitle ? c.icon : void 0,
|
|
685
685
|
"icon-color": c.iconColor,
|
|
686
686
|
"icon-type": c.iconType,
|
|
@@ -688,7 +688,7 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
|
|
|
688
688
|
required: c.required,
|
|
689
689
|
readonly: c.readonly,
|
|
690
690
|
limit: c.limit,
|
|
691
|
-
onInput: m[2] || (m[2] = (g) =>
|
|
691
|
+
onInput: m[2] || (m[2] = (g) => l()),
|
|
692
692
|
"input-style": c.inputStyle
|
|
693
693
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
694
694
|
], 2)
|
|
@@ -697,7 +697,7 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
|
|
|
697
697
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
698
698
|
}
|
|
699
699
|
});
|
|
700
|
-
const gn = /* @__PURE__ */
|
|
700
|
+
const gn = /* @__PURE__ */ ee(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { class: "hotel-listing" }, vn = { class: "hotel-listing-content-gallery" }, _n = { class: "hotel-listing-content-thumbs" }, bn = { class: "hotel-listing-content" }, kn = { class: "hotel-listing-content-header" }, xn = { class: "hotel-listing-content-title" }, In = { class: "hotel-listing-content-body" }, En = { class: "hotel-listing-content-facilities" }, Tn = /* @__PURE__ */ K({
|
|
701
701
|
__name: "Listing",
|
|
702
702
|
setup(o) {
|
|
703
703
|
return (e, t) => (x(), I("div", yn, [
|
|
@@ -754,7 +754,7 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
|
|
|
754
754
|
]));
|
|
755
755
|
}
|
|
756
756
|
});
|
|
757
|
-
const ue = /* @__PURE__ */
|
|
757
|
+
const ue = /* @__PURE__ */ ee(Tn, [["__scopeId", "data-v-5c132d7f"]]), $n = { class: "hotel-skeleton" }, Sn = { class: "hotel-skeleton-content" }, Cn = { class: "hotel-skeleton-sidebar" }, Vn = /* @__PURE__ */ K({
|
|
758
758
|
__name: "HotelSkeleton",
|
|
759
759
|
setup(o) {
|
|
760
760
|
return (e, t) => (x(), I("div", $n, [
|
|
@@ -770,30 +770,31 @@ const ue = /* @__PURE__ */ te(Tn, [["__scopeId", "data-v-5c132d7f"]]), $n = { cl
|
|
|
770
770
|
]));
|
|
771
771
|
}
|
|
772
772
|
});
|
|
773
|
-
const Pn = /* @__PURE__ */
|
|
773
|
+
const Pn = /* @__PURE__ */ ee(Vn, [["__scopeId", "data-v-4e50a5a1"]]), Bn = (o) => (_t("data-v-09a64fb0"), o = o(), bt(), o), Dn = { id: "booking-availability-container" }, Ln = { id: "booking-availability-controls" };
|
|
774
774
|
const wn = {
|
|
775
775
|
key: 1,
|
|
776
776
|
"sticky-container": ""
|
|
777
777
|
}, Hn = { key: 0 };
|
|
778
|
-
const On = { key: 1 }, An = { key: 0 }
|
|
778
|
+
const On = { key: 1 }, An = { key: 0 };
|
|
779
|
+
const zn = { id: "booking-availability-listings" }, Rn = {
|
|
779
780
|
key: 1,
|
|
780
781
|
id: "booking-availability-no-listings"
|
|
781
|
-
},
|
|
782
|
+
}, Mn = {
|
|
782
783
|
key: 1,
|
|
783
784
|
id: "booking-availability-no-listings"
|
|
784
|
-
},
|
|
785
|
+
}, Nn = {
|
|
785
786
|
key: 2,
|
|
786
787
|
id: "reservation-availability-next-dates"
|
|
787
|
-
},
|
|
788
|
-
const
|
|
788
|
+
}, Wn = { class: "reservation-special-offers-grid" }, Un = ["title"];
|
|
789
|
+
const Fn = {
|
|
789
790
|
key: 2,
|
|
790
791
|
class: "konnectio-listing-loading"
|
|
791
|
-
},
|
|
792
|
+
}, qn = { class: "fresh-booking-panel" }, Gn = {
|
|
792
793
|
key: 0,
|
|
793
794
|
id: "konnectio-hotel-addons"
|
|
794
795
|
};
|
|
795
|
-
const
|
|
796
|
-
const
|
|
796
|
+
const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Qn = /* @__PURE__ */ Bn(() => /* @__PURE__ */ v("br", null, null, -1));
|
|
797
|
+
const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 }, Zn = { key: 1 }, ei = { class: "fresh-booking-split-inputs" }, ti = ["onClick"], oi = /* @__PURE__ */ K({
|
|
797
798
|
name: "HotelLayout",
|
|
798
799
|
__name: "Hotel",
|
|
799
800
|
props: {
|
|
@@ -805,10 +806,10 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
805
806
|
const { t: e } = ce(), {
|
|
806
807
|
templateID: t,
|
|
807
808
|
title: n,
|
|
808
|
-
countries:
|
|
809
|
+
countries: s,
|
|
809
810
|
areListingsLoading: r,
|
|
810
811
|
isAvailabilityDataAvailable: p,
|
|
811
|
-
isPaymentLoading:
|
|
812
|
+
isPaymentLoading: l,
|
|
812
813
|
isReservationFormFilled: f,
|
|
813
814
|
selectedPackage: c,
|
|
814
815
|
travelingFor: m,
|
|
@@ -833,12 +834,12 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
833
834
|
getSelectedPackageRoom: q,
|
|
834
835
|
availabilityData: W,
|
|
835
836
|
selectionHasNoAddons: G
|
|
836
|
-
} =
|
|
837
|
+
} = Z(ge()), {
|
|
837
838
|
arrivalDate: se,
|
|
838
839
|
departureDate: le
|
|
839
|
-
} =
|
|
840
|
+
} = Z(yt()), {
|
|
840
841
|
currency: Ke,
|
|
841
|
-
isRecaptchaEnabled:
|
|
842
|
+
isRecaptchaEnabled: rr,
|
|
842
843
|
disableNewsletterSignup: Ht,
|
|
843
844
|
arrivalEarliest: Ot,
|
|
844
845
|
arrivalLatest: At,
|
|
@@ -847,7 +848,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
847
848
|
enableTracking: Mt,
|
|
848
849
|
arrivalDefault: Nt,
|
|
849
850
|
departureDefault: Wt,
|
|
850
|
-
enablePackages:
|
|
851
|
+
enablePackages: ar,
|
|
851
852
|
hideArrivalDepartureInputs: Ut,
|
|
852
853
|
disableArrivalUserSelection: Ce,
|
|
853
854
|
disableNamePrefix: Ft,
|
|
@@ -855,12 +856,12 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
855
856
|
disableTravelingFor: qt,
|
|
856
857
|
disableCompanyField: Gt,
|
|
857
858
|
hasPaymentGateway: jt
|
|
858
|
-
} =
|
|
859
|
+
} = Z(Te());
|
|
859
860
|
ho();
|
|
860
861
|
const { beginCheckout: Yt } = kt(), {
|
|
861
862
|
initialize: Qt,
|
|
862
863
|
createReservation: Kt,
|
|
863
|
-
getSingleListing:
|
|
864
|
+
getSingleListing: sr
|
|
864
865
|
} = ge(), Jt = ae(!0), Xt = Y(() => {
|
|
865
866
|
const M = W.value.roomGroups.slice();
|
|
866
867
|
M.forEach((J) => {
|
|
@@ -880,7 +881,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
880
881
|
parseInt(zt.value.split(":")[0]),
|
|
881
882
|
parseInt(Rt.value.split(":")[0])
|
|
882
883
|
]]);
|
|
883
|
-
function
|
|
884
|
+
function lr(M) {
|
|
884
885
|
t.value = M;
|
|
885
886
|
}
|
|
886
887
|
function to() {
|
|
@@ -921,64 +922,57 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
921
922
|
T(wo, { booking: !0 })
|
|
922
923
|
]),
|
|
923
924
|
B("", !0),
|
|
924
|
-
|
|
925
|
+
u(r) ? (x(), I("div", Fn, [
|
|
925
926
|
T(ue),
|
|
926
927
|
T(ue),
|
|
927
928
|
T(ue)
|
|
928
929
|
])) : (x(), I("div", wn, [
|
|
929
|
-
|
|
930
|
-
(
|
|
931
|
-
isNaN(
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
icon: "house",
|
|
936
|
-
type: "fal",
|
|
937
|
-
color: "header"
|
|
938
|
-
}),
|
|
939
|
-
v("span", null, V(s(e)("booking.availability.roomsTitle")), 1)
|
|
940
|
-
])) : B("", !0),
|
|
941
|
-
v("ul", Rn, [
|
|
930
|
+
u(W).roomGroups.length > 0 ? (x(), I("div", Hn, [
|
|
931
|
+
(u(W).templates.length > 0, B("", !0)),
|
|
932
|
+
isNaN(u(t)) ? (x(), I("div", On, [
|
|
933
|
+
u(W).roomGroups.length > 0 ? (x(), I("div", An, [
|
|
934
|
+
(u(W).templates.length > 0, B("", !0)),
|
|
935
|
+
v("ul", zn, [
|
|
942
936
|
(x(!0), I(R, null, N(Xt.value, (A, $) => (x(), z(ln, {
|
|
943
937
|
room: A,
|
|
944
938
|
key: $
|
|
945
939
|
}, null, 8, ["room"]))), 128))
|
|
946
940
|
])
|
|
947
|
-
])) : (x(), I("div",
|
|
948
|
-
v("span", null, V(
|
|
941
|
+
])) : (x(), I("div", Rn, [
|
|
942
|
+
v("span", null, V(u(e)("booking.availability.nothingAvailable")), 1)
|
|
949
943
|
]))
|
|
950
944
|
])) : B("", !0)
|
|
951
|
-
])) :
|
|
952
|
-
v("span", null, V(
|
|
953
|
-
])) : (x(), I("div",
|
|
945
|
+
])) : u(W).nextAvailableDates.length === 0 ? (x(), I("div", Mn, [
|
|
946
|
+
v("span", null, V(u(e)("booking.availability.nothingAvailable")), 1)
|
|
947
|
+
])) : (x(), I("div", Nn, [
|
|
954
948
|
v("h2", null, [
|
|
955
|
-
T(
|
|
949
|
+
T(re, {
|
|
956
950
|
icon: "calendar-circle-exclamation",
|
|
957
951
|
type: "fal",
|
|
958
952
|
color: "header"
|
|
959
953
|
}),
|
|
960
|
-
v("span", null, V(
|
|
954
|
+
v("span", null, V(u(e)("booking.availability.nextAvailableDates")), 1)
|
|
961
955
|
]),
|
|
962
|
-
v("ul",
|
|
963
|
-
(x(!0), I(R, null, N(
|
|
956
|
+
v("ul", Wn, [
|
|
957
|
+
(x(!0), I(R, null, N(u(W).nextAvailableDates, (A, $) => (x(), I("li", { key: $ }, [
|
|
964
958
|
v("h3", {
|
|
965
|
-
title: `${
|
|
959
|
+
title: `${u(ie)(A.fromDate)} - ${u(ie)(A.toDate)}`
|
|
966
960
|
}, [
|
|
967
|
-
v("span", null, V(`${
|
|
968
|
-
], 8,
|
|
961
|
+
v("span", null, V(`${u(ie)(A.fromDate)} - ${u(ie)(A.toDate)}`), 1)
|
|
962
|
+
], 8, Un),
|
|
969
963
|
v("ul", null, [
|
|
970
964
|
B("", !0),
|
|
971
965
|
v("li", null, [
|
|
972
|
-
T(
|
|
966
|
+
T(re, {
|
|
973
967
|
icon: "money-bill",
|
|
974
968
|
type: "fal",
|
|
975
969
|
color: "header"
|
|
976
970
|
}),
|
|
977
|
-
v("span", null, V(
|
|
971
|
+
v("span", null, V(u(e)("booking.availability.pricesFrom")) + ": " + V(u(de)(A.priceStartFrom, u(Ke))), 1)
|
|
978
972
|
])
|
|
979
973
|
]),
|
|
980
974
|
T(me, {
|
|
981
|
-
label:
|
|
975
|
+
label: u(e)("booking.availability.selectDates"),
|
|
982
976
|
"full-width": "",
|
|
983
977
|
onClickEvent: (pe) => oo(A.fromDate, A.toDate)
|
|
984
978
|
}, null, 8, ["label", "onClickEvent"])
|
|
@@ -989,16 +983,16 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
989
983
|
])
|
|
990
984
|
]),
|
|
991
985
|
navigation: w(() => [
|
|
992
|
-
isNaN(
|
|
986
|
+
isNaN(u(t)) ? (x(), z(me, {
|
|
993
987
|
key: 0,
|
|
994
|
-
label:
|
|
995
|
-
disabled: !
|
|
988
|
+
label: u(G) ? u(e)("booking.availability.nextButton") : u(e)("general.chooseAddons"),
|
|
989
|
+
disabled: !u(U),
|
|
996
990
|
"is-loading": !1,
|
|
997
991
|
"full-width": "",
|
|
998
992
|
onClickEvent: (A) => io(J)
|
|
999
993
|
}, null, 8, ["label", "disabled", "onClickEvent"])) : (x(), z(me, {
|
|
1000
994
|
key: 1,
|
|
1001
|
-
label:
|
|
995
|
+
label: u(e)("booking.reservation.prevButton"),
|
|
1002
996
|
"full-width": "",
|
|
1003
997
|
onClickEvent: P[1] || (P[1] = (A) => to())
|
|
1004
998
|
}, null, 8, ["label"]))
|
|
@@ -1009,20 +1003,20 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1009
1003
|
addons: w(({ next: J, prev: A }) => [
|
|
1010
1004
|
T(De, null, {
|
|
1011
1005
|
form: w(() => [
|
|
1012
|
-
v("form",
|
|
1006
|
+
v("form", qn, [
|
|
1013
1007
|
v("h2", null, [
|
|
1014
|
-
v("span", null, V(
|
|
1008
|
+
v("span", null, V(u(e)("booking.reservation.addons")), 1)
|
|
1015
1009
|
]),
|
|
1016
1010
|
v("div", null, [
|
|
1017
|
-
isNaN(
|
|
1018
|
-
(x(!0), I(R, null, N(
|
|
1011
|
+
isNaN(u(t)) ? (x(), I("div", Gn, [
|
|
1012
|
+
(x(!0), I(R, null, N(u(H), ($) => (x(), I("ul", {
|
|
1019
1013
|
key: $.roomGroupID
|
|
1020
1014
|
}, [
|
|
1021
1015
|
(x(!0), I(R, null, N($.variants, (pe, fe) => (x(), I("li", {
|
|
1022
1016
|
key: pe.ratePlanID
|
|
1023
1017
|
}, [
|
|
1024
1018
|
v("h4", null, [
|
|
1025
|
-
v("span", null, V(
|
|
1019
|
+
v("span", null, V(u(_e)($.title)), 1)
|
|
1026
1020
|
]),
|
|
1027
1021
|
(x(!0), I(R, null, N(pe.rooms, (j, Xe) => (x(), I("table", {
|
|
1028
1022
|
key: Xe,
|
|
@@ -1031,31 +1025,31 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1031
1025
|
v("thead", null, [
|
|
1032
1026
|
v("tr", null, [
|
|
1033
1027
|
v("th", null, [
|
|
1034
|
-
v("span", null, V(
|
|
1028
|
+
v("span", null, V(u(_e)(pe.name)), 1)
|
|
1035
1029
|
]),
|
|
1036
1030
|
B("", !0),
|
|
1037
|
-
v("th",
|
|
1031
|
+
v("th", jn, [
|
|
1038
1032
|
v("b", null, [
|
|
1039
|
-
T(
|
|
1033
|
+
T(re, {
|
|
1040
1034
|
icon: "male",
|
|
1041
1035
|
type: "fas",
|
|
1042
1036
|
color: "font"
|
|
1043
1037
|
}),
|
|
1044
1038
|
v("span", null, V(j.adultsCount), 1),
|
|
1045
|
-
j.childrenCount > 0 ? (x(), z(
|
|
1039
|
+
j.childrenCount > 0 ? (x(), z(re, {
|
|
1046
1040
|
key: 0,
|
|
1047
1041
|
icon: "child",
|
|
1048
1042
|
type: "fas",
|
|
1049
1043
|
color: "font"
|
|
1050
1044
|
})) : B("", !0),
|
|
1051
|
-
j.childrenCount > 0 ? (x(), I("span",
|
|
1045
|
+
j.childrenCount > 0 ? (x(), I("span", Yn, V(j.childrenCount), 1)) : B("", !0)
|
|
1052
1046
|
])
|
|
1053
1047
|
])
|
|
1054
1048
|
])
|
|
1055
1049
|
]),
|
|
1056
1050
|
v("tbody", null, [
|
|
1057
1051
|
(x(!0), I(R, null, N($.addons, ({
|
|
1058
|
-
cardinality:
|
|
1052
|
+
cardinality: ur,
|
|
1059
1053
|
quantityStrategy: Ze,
|
|
1060
1054
|
maximumNumber: ao,
|
|
1061
1055
|
id: he,
|
|
@@ -1063,22 +1057,22 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1063
1057
|
price: lo
|
|
1064
1058
|
}) => (x(), I("tr", { key: he }, [
|
|
1065
1059
|
v("td", null, [
|
|
1066
|
-
v("b", null, V(
|
|
1067
|
-
|
|
1068
|
-
v("span", null, V(
|
|
1060
|
+
v("b", null, V(u(_e)(so)), 1),
|
|
1061
|
+
Qn,
|
|
1062
|
+
v("span", null, V(u(de)(lo, u(Ke))) + " " + V(u(go)(Ze)), 1)
|
|
1069
1063
|
]),
|
|
1070
1064
|
v("td", null, [
|
|
1071
1065
|
Ze === 12 ? (x(), z(Et, {
|
|
1072
1066
|
key: 0,
|
|
1073
|
-
modelValue:
|
|
1074
|
-
"onUpdate:modelValue": (Q) =>
|
|
1067
|
+
modelValue: u(D)[$.roomGroupID][fe].config[j.configIdx].addons[j.roomIdx][he],
|
|
1068
|
+
"onUpdate:modelValue": (Q) => u(D)[$.roomGroupID][fe].config[j.configIdx].addons[j.roomIdx][he] = Q,
|
|
1075
1069
|
small: !0,
|
|
1076
1070
|
"min-value": 0,
|
|
1077
1071
|
"max-value": ao || 1 / 0
|
|
1078
1072
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(), z(Fe, {
|
|
1079
1073
|
key: 1,
|
|
1080
|
-
modelValue:
|
|
1081
|
-
"onUpdate:modelValue": (Q) =>
|
|
1074
|
+
modelValue: u(D)[$.roomGroupID][fe].config[j.configIdx].addons[j.roomIdx][he],
|
|
1075
|
+
"onUpdate:modelValue": (Q) => u(D)[$.roomGroupID][fe].config[j.configIdx].addons[j.roomIdx][he] = Q,
|
|
1082
1076
|
numeric: !0
|
|
1083
1077
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1084
1078
|
]),
|
|
@@ -1094,7 +1088,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1094
1088
|
]),
|
|
1095
1089
|
navigation: w(() => [
|
|
1096
1090
|
T(me, {
|
|
1097
|
-
label:
|
|
1091
|
+
label: u(e)("general.startReservation"),
|
|
1098
1092
|
"full-width": "",
|
|
1099
1093
|
onClickEvent: J
|
|
1100
1094
|
}, null, 8, ["label", "onClickEvent"]),
|
|
@@ -1102,8 +1096,8 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1102
1096
|
class: "konnectio-abort-reservation link",
|
|
1103
1097
|
onClick: nt(($) => Je(A), ["prevent"])
|
|
1104
1098
|
}, [
|
|
1105
|
-
v("span", null, V(
|
|
1106
|
-
], 8,
|
|
1099
|
+
v("span", null, V(u(e)("general.goAStepBack")), 1)
|
|
1100
|
+
], 8, Kn)
|
|
1107
1101
|
]),
|
|
1108
1102
|
_: 2
|
|
1109
1103
|
}, 1024)
|
|
@@ -1114,29 +1108,29 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1114
1108
|
"show-gift-card": !0
|
|
1115
1109
|
}, {
|
|
1116
1110
|
form: w(() => [
|
|
1117
|
-
v("form",
|
|
1111
|
+
v("form", Jn, [
|
|
1118
1112
|
v("h2", null, [
|
|
1119
|
-
v("span", null, V(
|
|
1113
|
+
v("span", null, V(u(e)("booking.reservation.detailsTitle")), 1)
|
|
1120
1114
|
]),
|
|
1121
|
-
!
|
|
1115
|
+
!u(Ut) && !(u(Ce) && u(Ve)) ? (x(), I("ul", {
|
|
1122
1116
|
key: 0,
|
|
1123
|
-
class: Ie({ "fresh-booking-split-inputs": !
|
|
1117
|
+
class: Ie({ "fresh-booking-split-inputs": !u(Ce) && !u(Ve) })
|
|
1124
1118
|
}, [
|
|
1125
|
-
|
|
1119
|
+
u(Ce) ? B("", !0) : (x(), I("li", Xn, [
|
|
1126
1120
|
T(it, {
|
|
1127
|
-
modelValue:
|
|
1121
|
+
modelValue: u(g),
|
|
1128
1122
|
"onUpdate:modelValue": P[2] || (P[2] = ($) => F(g) ? g.value = $ : null),
|
|
1129
|
-
label:
|
|
1123
|
+
label: u(e)("booking.reservation.arrivalTime"),
|
|
1130
1124
|
icon: "hourglass-start",
|
|
1131
1125
|
"hour-range": Zt.value,
|
|
1132
1126
|
required: ""
|
|
1133
1127
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1134
1128
|
])),
|
|
1135
|
-
|
|
1129
|
+
u(Ve) ? B("", !0) : (x(), I("li", Zn, [
|
|
1136
1130
|
T(it, {
|
|
1137
|
-
modelValue:
|
|
1131
|
+
modelValue: u(k),
|
|
1138
1132
|
"onUpdate:modelValue": P[3] || (P[3] = ($) => F(k) ? k.value = $ : null),
|
|
1139
|
-
label:
|
|
1133
|
+
label: u(e)("booking.reservation.departureTime"),
|
|
1140
1134
|
icon: "hourglass-end",
|
|
1141
1135
|
"hour-range": eo.value,
|
|
1142
1136
|
required: ""
|
|
@@ -1144,134 +1138,134 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1144
1138
|
]))
|
|
1145
1139
|
], 2)) : B("", !0),
|
|
1146
1140
|
T(gn, {
|
|
1147
|
-
modelValue:
|
|
1141
|
+
modelValue: u(a),
|
|
1148
1142
|
"onUpdate:modelValue": P[4] || (P[4] = ($) => F(a) ? a.value = $ : null),
|
|
1149
|
-
title:
|
|
1143
|
+
title: u(_),
|
|
1150
1144
|
"onUpdate:title": P[5] || (P[5] = ($) => F(_) ? _.value = $ : null),
|
|
1151
|
-
"exclude-title":
|
|
1152
|
-
label:
|
|
1145
|
+
"exclude-title": u(Ft),
|
|
1146
|
+
label: u(e)("booking.reservation.name"),
|
|
1153
1147
|
icon: "user-alt",
|
|
1154
|
-
placeholder:
|
|
1148
|
+
placeholder: u(e)("booking.reservation.namePlaceholder"),
|
|
1155
1149
|
required: ""
|
|
1156
1150
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1157
|
-
T(
|
|
1158
|
-
modelValue:
|
|
1151
|
+
T(ne, {
|
|
1152
|
+
modelValue: u(b),
|
|
1159
1153
|
"onUpdate:modelValue": P[6] || (P[6] = ($) => F(b) ? b.value = $ : null),
|
|
1160
1154
|
type: "email",
|
|
1161
1155
|
name: "email",
|
|
1162
1156
|
autocomplete: "email",
|
|
1163
|
-
label:
|
|
1157
|
+
label: u(e)("booking.reservation.email"),
|
|
1164
1158
|
icon: "at",
|
|
1165
|
-
placeholder:
|
|
1159
|
+
placeholder: u(e)("booking.reservation.emailPlaceholder"),
|
|
1166
1160
|
required: ""
|
|
1167
1161
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1168
|
-
|
|
1162
|
+
u(Ht) ? B("", !0) : (x(), z(Fe, {
|
|
1169
1163
|
key: 1,
|
|
1170
|
-
modelValue:
|
|
1164
|
+
modelValue: u(C),
|
|
1171
1165
|
"onUpdate:modelValue": P[7] || (P[7] = ($) => F(C) ? C.value = $ : null),
|
|
1172
1166
|
type: "checkbox",
|
|
1173
1167
|
name: "newsletter",
|
|
1174
|
-
label:
|
|
1168
|
+
label: u(e)("booking.reservation.newsletterSignUp")
|
|
1175
1169
|
}, null, 8, ["modelValue", "label"])),
|
|
1176
|
-
|
|
1170
|
+
u(Gt) ? B("", !0) : (x(), z(ne, {
|
|
1177
1171
|
key: 2,
|
|
1178
|
-
modelValue:
|
|
1172
|
+
modelValue: u(i),
|
|
1179
1173
|
"onUpdate:modelValue": P[8] || (P[8] = ($) => F(i) ? i.value = $ : null),
|
|
1180
1174
|
type: "text",
|
|
1181
1175
|
name: "firm",
|
|
1182
1176
|
autocomplete: "firm",
|
|
1183
|
-
label: `${
|
|
1177
|
+
label: `${u(e)("booking.reservation.companyName")} (${u(e)("booking.reservation.optional")})`,
|
|
1184
1178
|
icon: "id-card",
|
|
1185
|
-
placeholder:
|
|
1179
|
+
placeholder: u(e)("booking.reservation.companyNamePlaceholder")
|
|
1186
1180
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1187
1181
|
T(Oo, {
|
|
1188
|
-
modelValue:
|
|
1182
|
+
modelValue: u(h),
|
|
1189
1183
|
"onUpdate:modelValue": P[9] || (P[9] = ($) => F(h) ? h.value = $ : null),
|
|
1190
1184
|
icon: "phone-office",
|
|
1191
|
-
label:
|
|
1192
|
-
placeholder:
|
|
1185
|
+
label: u(e)("booking.reservation.phone"),
|
|
1186
|
+
placeholder: u(e)("booking.reservation.phonePlaceholder"),
|
|
1193
1187
|
required: ""
|
|
1194
1188
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1195
1189
|
T(cn, {
|
|
1196
|
-
modelValue:
|
|
1190
|
+
modelValue: u(S),
|
|
1197
1191
|
"onUpdate:modelValue": P[10] || (P[10] = ($) => F(S) ? S.value = $ : null),
|
|
1198
|
-
label:
|
|
1199
|
-
placeholder:
|
|
1200
|
-
options: s
|
|
1192
|
+
label: u(e)("booking.reservation.country"),
|
|
1193
|
+
placeholder: u(e)("booking.reservation.countryPlaceholder"),
|
|
1194
|
+
options: u(s),
|
|
1201
1195
|
required: ""
|
|
1202
1196
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1203
|
-
T(
|
|
1204
|
-
modelValue:
|
|
1197
|
+
T(ne, {
|
|
1198
|
+
modelValue: u(E),
|
|
1205
1199
|
"onUpdate:modelValue": P[11] || (P[11] = ($) => F(E) ? E.value = $ : null),
|
|
1206
1200
|
type: "textarea",
|
|
1207
1201
|
name: "address",
|
|
1208
1202
|
autocomplete: "street-address",
|
|
1209
|
-
label:
|
|
1203
|
+
label: u(e)("booking.reservation.streetAddress"),
|
|
1210
1204
|
icon: "map-marked",
|
|
1211
|
-
placeholder:
|
|
1205
|
+
placeholder: u(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1212
1206
|
required: ""
|
|
1213
1207
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1214
|
-
v("ul",
|
|
1208
|
+
v("ul", ei, [
|
|
1215
1209
|
v("li", null, [
|
|
1216
|
-
T(
|
|
1217
|
-
modelValue:
|
|
1210
|
+
T(ne, {
|
|
1211
|
+
modelValue: u(d),
|
|
1218
1212
|
"onUpdate:modelValue": P[12] || (P[12] = ($) => F(d) ? d.value = $ : null),
|
|
1219
1213
|
type: "text",
|
|
1220
1214
|
name: "postal",
|
|
1221
1215
|
autocomplete: "postal-code",
|
|
1222
|
-
label:
|
|
1216
|
+
label: u(e)("booking.reservation.postal"),
|
|
1223
1217
|
icon: "mailbox",
|
|
1224
|
-
placeholder:
|
|
1218
|
+
placeholder: u(e)("booking.reservation.postalPlaceholder"),
|
|
1225
1219
|
required: ""
|
|
1226
1220
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1227
1221
|
]),
|
|
1228
1222
|
v("li", null, [
|
|
1229
|
-
T(
|
|
1230
|
-
modelValue:
|
|
1223
|
+
T(ne, {
|
|
1224
|
+
modelValue: u(y),
|
|
1231
1225
|
"onUpdate:modelValue": P[13] || (P[13] = ($) => F(y) ? y.value = $ : null),
|
|
1232
1226
|
type: "text",
|
|
1233
1227
|
name: "city",
|
|
1234
1228
|
autocomplete: "address-level2",
|
|
1235
|
-
label:
|
|
1229
|
+
label: u(e)("booking.reservation.city"),
|
|
1236
1230
|
icon: "city",
|
|
1237
|
-
placeholder:
|
|
1231
|
+
placeholder: u(e)("booking.reservation.cityPlaceholder"),
|
|
1238
1232
|
required: ""
|
|
1239
1233
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1240
1234
|
])
|
|
1241
1235
|
]),
|
|
1242
|
-
T(
|
|
1243
|
-
modelValue:
|
|
1236
|
+
T(ne, {
|
|
1237
|
+
modelValue: u(L),
|
|
1244
1238
|
"onUpdate:modelValue": P[14] || (P[14] = ($) => F(L) ? L.value = $ : null),
|
|
1245
1239
|
type: "textarea",
|
|
1246
|
-
label: `${
|
|
1240
|
+
label: `${u(e)("booking.reservation.remark")} (${u(e)("booking.reservation.optional")})`,
|
|
1247
1241
|
icon: "info-circle",
|
|
1248
|
-
placeholder:
|
|
1242
|
+
placeholder: u(e)("booking.reservation.remarkPlaceholder")
|
|
1249
1243
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1250
|
-
T(
|
|
1251
|
-
modelValue:
|
|
1244
|
+
T(ne, {
|
|
1245
|
+
modelValue: u(O),
|
|
1252
1246
|
"onUpdate:modelValue": P[15] || (P[15] = ($) => F(O) ? O.value = $ : null),
|
|
1253
1247
|
type: "textarea",
|
|
1254
|
-
label: `${
|
|
1248
|
+
label: `${u(e)("booking.reservation.allergies")} (${u(e)("booking.reservation.optional")})`,
|
|
1255
1249
|
icon: "allergies",
|
|
1256
|
-
placeholder:
|
|
1250
|
+
placeholder: u(e)("booking.reservation.allergiesPlaceholder")
|
|
1257
1251
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1258
|
-
|
|
1252
|
+
u(qt) ? B("", !0) : (x(), z(hn, {
|
|
1259
1253
|
key: 3,
|
|
1260
|
-
modelValue:
|
|
1254
|
+
modelValue: u(m),
|
|
1261
1255
|
"onUpdate:modelValue": P[16] || (P[16] = ($) => F(m) ? m.value = $ : null),
|
|
1262
|
-
label: `${
|
|
1256
|
+
label: `${u(e)("booking.reservation.purposeOfStay")} (${u(e)("booking.reservation.optional")})`,
|
|
1263
1257
|
name: "travelingFor",
|
|
1264
1258
|
checkboxes: [
|
|
1265
1259
|
{
|
|
1266
|
-
label:
|
|
1260
|
+
label: u(e)("booking.reservation.business"),
|
|
1267
1261
|
value: "Business"
|
|
1268
1262
|
},
|
|
1269
1263
|
{
|
|
1270
|
-
label:
|
|
1264
|
+
label: u(e)("booking.reservation.pleasure"),
|
|
1271
1265
|
value: "Pleasure"
|
|
1272
1266
|
},
|
|
1273
1267
|
{
|
|
1274
|
-
label:
|
|
1268
|
+
label: u(e)("booking.reservation.bleasure"),
|
|
1275
1269
|
value: "Bleasure"
|
|
1276
1270
|
}
|
|
1277
1271
|
]
|
|
@@ -1281,9 +1275,9 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1281
1275
|
navigation: w(() => [
|
|
1282
1276
|
v("div", null, [
|
|
1283
1277
|
T(me, {
|
|
1284
|
-
label:
|
|
1285
|
-
disabled: !
|
|
1286
|
-
"is-loading":
|
|
1278
|
+
label: u(jt) ? u(e)("booking.reservation.nextButton") : u(e)("general.confirmReservation"),
|
|
1279
|
+
disabled: !u(f),
|
|
1280
|
+
"is-loading": u(l),
|
|
1287
1281
|
"full-width": "",
|
|
1288
1282
|
onClickEvent: ($) => no(J)
|
|
1289
1283
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
@@ -1291,8 +1285,8 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1291
1285
|
class: "konnectio-abort-reservation link",
|
|
1292
1286
|
onClick: nt(($) => Je(A), ["prevent"])
|
|
1293
1287
|
}, [
|
|
1294
|
-
v("span", null, V(
|
|
1295
|
-
], 8,
|
|
1288
|
+
v("span", null, V(u(e)("general.goAStepBack")), 1)
|
|
1289
|
+
], 8, ti)
|
|
1296
1290
|
])
|
|
1297
1291
|
]),
|
|
1298
1292
|
_: 2
|
|
@@ -1303,7 +1297,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1303
1297
|
]),
|
|
1304
1298
|
confirmation: w(() => [
|
|
1305
1299
|
T(Bo, {
|
|
1306
|
-
message:
|
|
1300
|
+
message: u(e)("booking.confirmation.thankYou")
|
|
1307
1301
|
}, null, 8, ["message"])
|
|
1308
1302
|
]),
|
|
1309
1303
|
_: 1
|
|
@@ -1319,7 +1313,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1319
1313
|
}));
|
|
1320
1314
|
}
|
|
1321
1315
|
});
|
|
1322
|
-
const
|
|
1316
|
+
const ni = /* @__PURE__ */ ee(oi, [["__scopeId", "data-v-09a64fb0"]]);
|
|
1323
1317
|
var St = { exports: {} }, Le = { exports: {} }, we = { exports: {} }, rt;
|
|
1324
1318
|
function je() {
|
|
1325
1319
|
return rt || (rt = 1, function(o) {
|
|
@@ -1329,30 +1323,30 @@ function je() {
|
|
|
1329
1323
|
function e() {
|
|
1330
1324
|
}
|
|
1331
1325
|
var t = e.prototype;
|
|
1332
|
-
return t.on = function(n,
|
|
1333
|
-
if (!(!n || !
|
|
1326
|
+
return t.on = function(n, s) {
|
|
1327
|
+
if (!(!n || !s)) {
|
|
1334
1328
|
var r = this._events = this._events || {}, p = r[n] = r[n] || [];
|
|
1335
|
-
return p.indexOf(
|
|
1329
|
+
return p.indexOf(s) == -1 && p.push(s), this;
|
|
1336
1330
|
}
|
|
1337
|
-
}, t.once = function(n,
|
|
1338
|
-
if (!(!n || !
|
|
1339
|
-
this.on(n,
|
|
1331
|
+
}, t.once = function(n, s) {
|
|
1332
|
+
if (!(!n || !s)) {
|
|
1333
|
+
this.on(n, s);
|
|
1340
1334
|
var r = this._onceEvents = this._onceEvents || {}, p = r[n] = r[n] || {};
|
|
1341
|
-
return p[
|
|
1335
|
+
return p[s] = !0, this;
|
|
1342
1336
|
}
|
|
1343
|
-
}, t.off = function(n,
|
|
1337
|
+
}, t.off = function(n, s) {
|
|
1344
1338
|
var r = this._events && this._events[n];
|
|
1345
1339
|
if (!(!r || !r.length)) {
|
|
1346
|
-
var p = r.indexOf(
|
|
1340
|
+
var p = r.indexOf(s);
|
|
1347
1341
|
return p != -1 && r.splice(p, 1), this;
|
|
1348
1342
|
}
|
|
1349
|
-
}, t.emitEvent = function(n,
|
|
1343
|
+
}, t.emitEvent = function(n, s) {
|
|
1350
1344
|
var r = this._events && this._events[n];
|
|
1351
1345
|
if (!(!r || !r.length)) {
|
|
1352
|
-
r = r.slice(0),
|
|
1353
|
-
for (var p = this._onceEvents && this._onceEvents[n],
|
|
1354
|
-
var f = r[
|
|
1355
|
-
c && (this.off(n, f), delete p[f]), f.apply(this,
|
|
1346
|
+
r = r.slice(0), s = s || [];
|
|
1347
|
+
for (var p = this._onceEvents && this._onceEvents[n], l = 0; l < r.length; l++) {
|
|
1348
|
+
var f = r[l], c = p && p[f];
|
|
1349
|
+
c && (this.off(n, f), delete p[f]), f.apply(this, s);
|
|
1356
1350
|
}
|
|
1357
1351
|
return this;
|
|
1358
1352
|
}
|
|
@@ -1380,7 +1374,7 @@ function Ye() {
|
|
|
1380
1374
|
}
|
|
1381
1375
|
function n() {
|
|
1382
1376
|
}
|
|
1383
|
-
var
|
|
1377
|
+
var s = typeof console > "u" ? n : function(a) {
|
|
1384
1378
|
console.error(a);
|
|
1385
1379
|
}, r = [
|
|
1386
1380
|
"paddingLeft",
|
|
@@ -1396,7 +1390,7 @@ function Ye() {
|
|
|
1396
1390
|
"borderTopWidth",
|
|
1397
1391
|
"borderBottomWidth"
|
|
1398
1392
|
], p = r.length;
|
|
1399
|
-
function
|
|
1393
|
+
function l() {
|
|
1400
1394
|
for (var a = {
|
|
1401
1395
|
width: 0,
|
|
1402
1396
|
height: 0,
|
|
@@ -1412,7 +1406,7 @@ function Ye() {
|
|
|
1412
1406
|
}
|
|
1413
1407
|
function f(a) {
|
|
1414
1408
|
var _ = getComputedStyle(a);
|
|
1415
|
-
return _ ||
|
|
1409
|
+
return _ || s("Style returned " + _ + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), _;
|
|
1416
1410
|
}
|
|
1417
1411
|
var c = !1, m;
|
|
1418
1412
|
function g() {
|
|
@@ -1430,7 +1424,7 @@ function Ye() {
|
|
|
1430
1424
|
if (g(), typeof a == "string" && (a = document.querySelector(a)), !(!a || typeof a != "object" || !a.nodeType)) {
|
|
1431
1425
|
var _ = f(a);
|
|
1432
1426
|
if (_.display == "none")
|
|
1433
|
-
return
|
|
1427
|
+
return l();
|
|
1434
1428
|
var b = {};
|
|
1435
1429
|
b.width = a.offsetWidth, b.height = a.offsetHeight;
|
|
1436
1430
|
for (var h = b.isBorderBox = _.boxSizing == "border-box", i = 0; i < p; i++) {
|
|
@@ -1450,7 +1444,7 @@ function Ye() {
|
|
|
1450
1444
|
}(He)), He.exports;
|
|
1451
1445
|
}
|
|
1452
1446
|
var Oe = { exports: {} }, Ae = { exports: {} }, st;
|
|
1453
|
-
function
|
|
1447
|
+
function ii() {
|
|
1454
1448
|
return st || (st = 1, function(o) {
|
|
1455
1449
|
(function(e, t) {
|
|
1456
1450
|
o.exports ? o.exports = t() : e.matchesSelector = t();
|
|
@@ -1461,62 +1455,62 @@ function ri() {
|
|
|
1461
1455
|
return "matches";
|
|
1462
1456
|
if (n.matchesSelector)
|
|
1463
1457
|
return "matchesSelector";
|
|
1464
|
-
for (var
|
|
1465
|
-
var p =
|
|
1466
|
-
if (n[
|
|
1467
|
-
return
|
|
1458
|
+
for (var s = ["webkit", "moz", "ms", "o"], r = 0; r < s.length; r++) {
|
|
1459
|
+
var p = s[r], l = p + "MatchesSelector";
|
|
1460
|
+
if (n[l])
|
|
1461
|
+
return l;
|
|
1468
1462
|
}
|
|
1469
1463
|
}();
|
|
1470
|
-
return function(
|
|
1471
|
-
return
|
|
1464
|
+
return function(s, r) {
|
|
1465
|
+
return s[t](r);
|
|
1472
1466
|
};
|
|
1473
1467
|
});
|
|
1474
1468
|
}(Ae)), Ae.exports;
|
|
1475
1469
|
}
|
|
1476
1470
|
var lt;
|
|
1477
|
-
function
|
|
1471
|
+
function ri() {
|
|
1478
1472
|
return lt || (lt = 1, function(o) {
|
|
1479
1473
|
(function(e, t) {
|
|
1480
1474
|
o.exports ? o.exports = t(
|
|
1481
1475
|
e,
|
|
1482
|
-
|
|
1476
|
+
ii()
|
|
1483
1477
|
) : e.fizzyUIUtils = t(
|
|
1484
1478
|
e,
|
|
1485
1479
|
e.matchesSelector
|
|
1486
1480
|
);
|
|
1487
1481
|
})(window, function(t, n) {
|
|
1488
|
-
var
|
|
1489
|
-
|
|
1482
|
+
var s = {};
|
|
1483
|
+
s.extend = function(l, f) {
|
|
1490
1484
|
for (var c in f)
|
|
1491
|
-
|
|
1492
|
-
return
|
|
1493
|
-
},
|
|
1494
|
-
return (
|
|
1485
|
+
l[c] = f[c];
|
|
1486
|
+
return l;
|
|
1487
|
+
}, s.modulo = function(l, f) {
|
|
1488
|
+
return (l % f + f) % f;
|
|
1495
1489
|
};
|
|
1496
1490
|
var r = Array.prototype.slice;
|
|
1497
|
-
|
|
1498
|
-
if (Array.isArray(
|
|
1499
|
-
return
|
|
1500
|
-
if (
|
|
1491
|
+
s.makeArray = function(l) {
|
|
1492
|
+
if (Array.isArray(l))
|
|
1493
|
+
return l;
|
|
1494
|
+
if (l == null)
|
|
1501
1495
|
return [];
|
|
1502
|
-
var f = typeof
|
|
1503
|
-
return f ? r.call(
|
|
1504
|
-
},
|
|
1505
|
-
var c =
|
|
1506
|
-
c != -1 &&
|
|
1507
|
-
},
|
|
1508
|
-
for (;
|
|
1509
|
-
if (
|
|
1510
|
-
return
|
|
1511
|
-
},
|
|
1512
|
-
return typeof
|
|
1513
|
-
},
|
|
1514
|
-
var f = "on" +
|
|
1515
|
-
this[f] && this[f](
|
|
1516
|
-
},
|
|
1517
|
-
|
|
1496
|
+
var f = typeof l == "object" && typeof l.length == "number";
|
|
1497
|
+
return f ? r.call(l) : [l];
|
|
1498
|
+
}, s.removeFrom = function(l, f) {
|
|
1499
|
+
var c = l.indexOf(f);
|
|
1500
|
+
c != -1 && l.splice(c, 1);
|
|
1501
|
+
}, s.getParent = function(l, f) {
|
|
1502
|
+
for (; l.parentNode && l != document.body; )
|
|
1503
|
+
if (l = l.parentNode, n(l, f))
|
|
1504
|
+
return l;
|
|
1505
|
+
}, s.getQueryElement = function(l) {
|
|
1506
|
+
return typeof l == "string" ? document.querySelector(l) : l;
|
|
1507
|
+
}, s.handleEvent = function(l) {
|
|
1508
|
+
var f = "on" + l.type;
|
|
1509
|
+
this[f] && this[f](l);
|
|
1510
|
+
}, s.filterFindElements = function(l, f) {
|
|
1511
|
+
l = s.makeArray(l);
|
|
1518
1512
|
var c = [];
|
|
1519
|
-
return
|
|
1513
|
+
return l.forEach(function(m) {
|
|
1520
1514
|
if (m instanceof HTMLElement) {
|
|
1521
1515
|
if (!f) {
|
|
1522
1516
|
c.push(m);
|
|
@@ -1527,10 +1521,10 @@ function ai() {
|
|
|
1527
1521
|
c.push(g[k]);
|
|
1528
1522
|
}
|
|
1529
1523
|
}), c;
|
|
1530
|
-
},
|
|
1524
|
+
}, s.debounceMethod = function(l, f, c) {
|
|
1531
1525
|
c = c || 100;
|
|
1532
|
-
var m =
|
|
1533
|
-
|
|
1526
|
+
var m = l.prototype[f], g = f + "Timeout";
|
|
1527
|
+
l.prototype[f] = function() {
|
|
1534
1528
|
var k = this[g];
|
|
1535
1529
|
clearTimeout(k);
|
|
1536
1530
|
var a = arguments, _ = this;
|
|
@@ -1538,18 +1532,18 @@ function ai() {
|
|
|
1538
1532
|
m.apply(_, a), delete _[g];
|
|
1539
1533
|
}, c);
|
|
1540
1534
|
};
|
|
1541
|
-
},
|
|
1535
|
+
}, s.docReady = function(l) {
|
|
1542
1536
|
var f = document.readyState;
|
|
1543
|
-
f == "complete" || f == "interactive" ? setTimeout(
|
|
1544
|
-
},
|
|
1545
|
-
return
|
|
1537
|
+
f == "complete" || f == "interactive" ? setTimeout(l) : document.addEventListener("DOMContentLoaded", l);
|
|
1538
|
+
}, s.toDashed = function(l) {
|
|
1539
|
+
return l.replace(/(.)([A-Z])/g, function(f, c, m) {
|
|
1546
1540
|
return c + "-" + m;
|
|
1547
1541
|
}).toLowerCase();
|
|
1548
1542
|
};
|
|
1549
1543
|
var p = t.console;
|
|
1550
|
-
return
|
|
1551
|
-
|
|
1552
|
-
var c =
|
|
1544
|
+
return s.htmlInit = function(l, f) {
|
|
1545
|
+
s.docReady(function() {
|
|
1546
|
+
var c = s.toDashed(f), m = "data-" + c, g = document.querySelectorAll("[" + m + "]"), k = document.querySelectorAll(".js-" + c), a = s.makeArray(g).concat(s.makeArray(k)), _ = m + "-options", b = t.jQuery;
|
|
1553
1547
|
a.forEach(function(h) {
|
|
1554
1548
|
var i = h.getAttribute(m) || h.getAttribute(_), d;
|
|
1555
1549
|
try {
|
|
@@ -1558,16 +1552,16 @@ function ai() {
|
|
|
1558
1552
|
p && p.error("Error parsing " + m + " on " + h.className + ": " + E);
|
|
1559
1553
|
return;
|
|
1560
1554
|
}
|
|
1561
|
-
var y = new
|
|
1555
|
+
var y = new l(h, d);
|
|
1562
1556
|
b && b.data(h, f, y);
|
|
1563
1557
|
});
|
|
1564
1558
|
});
|
|
1565
|
-
},
|
|
1559
|
+
}, s;
|
|
1566
1560
|
});
|
|
1567
1561
|
}(Oe)), Oe.exports;
|
|
1568
1562
|
}
|
|
1569
1563
|
var ze = { exports: {} }, ut;
|
|
1570
|
-
function
|
|
1564
|
+
function ai() {
|
|
1571
1565
|
return ut || (ut = 1, function(o) {
|
|
1572
1566
|
(function(e, t) {
|
|
1573
1567
|
o.exports ? o.exports = t(
|
|
@@ -1578,16 +1572,16 @@ function si() {
|
|
|
1578
1572
|
e.getSize
|
|
1579
1573
|
));
|
|
1580
1574
|
})(window, function(t, n) {
|
|
1581
|
-
function
|
|
1575
|
+
function s(h) {
|
|
1582
1576
|
for (var i in h)
|
|
1583
1577
|
return !1;
|
|
1584
1578
|
return i = null, !0;
|
|
1585
1579
|
}
|
|
1586
|
-
var r = document.documentElement.style, p = typeof r.transition == "string" ? "transition" : "WebkitTransition",
|
|
1580
|
+
var r = document.documentElement.style, p = typeof r.transition == "string" ? "transition" : "WebkitTransition", l = typeof r.transform == "string" ? "transform" : "WebkitTransform", f = {
|
|
1587
1581
|
WebkitTransition: "webkitTransitionEnd",
|
|
1588
1582
|
transition: "transitionend"
|
|
1589
1583
|
}[p], c = {
|
|
1590
|
-
transform:
|
|
1584
|
+
transform: l,
|
|
1591
1585
|
transition: p,
|
|
1592
1586
|
transitionDuration: p + "Duration",
|
|
1593
1587
|
transitionProperty: p + "Property",
|
|
@@ -1676,7 +1670,7 @@ function si() {
|
|
|
1676
1670
|
return "-" + i.toLowerCase();
|
|
1677
1671
|
});
|
|
1678
1672
|
}
|
|
1679
|
-
var a = "opacity," + k(
|
|
1673
|
+
var a = "opacity," + k(l);
|
|
1680
1674
|
g.enableTransition = function() {
|
|
1681
1675
|
if (!this.isTransitioning) {
|
|
1682
1676
|
var h = this.layout.options.transitionDuration;
|
|
@@ -1697,7 +1691,7 @@ function si() {
|
|
|
1697
1691
|
g.ontransitionend = function(h) {
|
|
1698
1692
|
if (h.target === this.element) {
|
|
1699
1693
|
var i = this._transn, d = _[h.propertyName] || h.propertyName;
|
|
1700
|
-
if (delete i.ingProperties[d],
|
|
1694
|
+
if (delete i.ingProperties[d], s(i.ingProperties) && this.disableTransition(), d in i.clean && (this.element.style[h.propertyName] = "", delete i.clean[d]), d in i.onEnd) {
|
|
1701
1695
|
var y = i.onEnd[d];
|
|
1702
1696
|
y.call(this), delete i.onEnd[d];
|
|
1703
1697
|
}
|
|
@@ -1779,15 +1773,15 @@ function si() {
|
|
|
1779
1773
|
* MIT license
|
|
1780
1774
|
*/
|
|
1781
1775
|
var dt;
|
|
1782
|
-
function
|
|
1776
|
+
function si() {
|
|
1783
1777
|
return dt || (dt = 1, function(o) {
|
|
1784
1778
|
(function(e, t) {
|
|
1785
1779
|
o.exports ? o.exports = t(
|
|
1786
1780
|
e,
|
|
1787
1781
|
je(),
|
|
1788
1782
|
Ye(),
|
|
1789
|
-
|
|
1790
|
-
|
|
1783
|
+
ri(),
|
|
1784
|
+
ai()
|
|
1791
1785
|
) : e.Outlayer = t(
|
|
1792
1786
|
e,
|
|
1793
1787
|
e.EvEmitter,
|
|
@@ -1795,13 +1789,13 @@ function li() {
|
|
|
1795
1789
|
e.fizzyUIUtils,
|
|
1796
1790
|
e.Outlayer.Item
|
|
1797
1791
|
);
|
|
1798
|
-
})(window, function(t, n,
|
|
1799
|
-
var
|
|
1792
|
+
})(window, function(t, n, s, r, p) {
|
|
1793
|
+
var l = t.console, f = t.jQuery, c = function() {
|
|
1800
1794
|
}, m = 0, g = {};
|
|
1801
1795
|
function k(i, d) {
|
|
1802
1796
|
var y = r.getQueryElement(i);
|
|
1803
1797
|
if (!y) {
|
|
1804
|
-
|
|
1798
|
+
l && l.error("Bad element for " + this.constructor.namespace + ": " + (y || i));
|
|
1805
1799
|
return;
|
|
1806
1800
|
}
|
|
1807
1801
|
this.element = y, f && (this.$element = f(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(d);
|
|
@@ -1870,10 +1864,10 @@ function li() {
|
|
|
1870
1864
|
}, a._init = a.layout, a._resetLayout = function() {
|
|
1871
1865
|
this.getSize();
|
|
1872
1866
|
}, a.getSize = function() {
|
|
1873
|
-
this.size =
|
|
1867
|
+
this.size = s(this.element);
|
|
1874
1868
|
}, a._getMeasurement = function(i, d) {
|
|
1875
1869
|
var y = this.options[i], E;
|
|
1876
|
-
y ? (typeof y == "string" ? E = this.element.querySelector(y) : y instanceof HTMLElement && (E = y), this[i] = E ?
|
|
1870
|
+
y ? (typeof y == "string" ? E = this.element.querySelector(y) : y instanceof HTMLElement && (E = y), this[i] = E ? s(E)[d] : y) : this[i] = 0;
|
|
1877
1871
|
}, a.layoutItems = function(i, d) {
|
|
1878
1872
|
i = this._getItemsForLayout(i), this._layoutItems(i, d), this._postLayout();
|
|
1879
1873
|
}, a._getItemsForLayout = function(i) {
|
|
@@ -1970,7 +1964,7 @@ function li() {
|
|
|
1970
1964
|
bottom: i.bottom - (d.paddingBottom + d.borderBottomWidth)
|
|
1971
1965
|
};
|
|
1972
1966
|
}, a._manageStamp = c, a._getElementOffset = function(i) {
|
|
1973
|
-
var d = i.getBoundingClientRect(), y = this._boundingRect, E =
|
|
1967
|
+
var d = i.getBoundingClientRect(), y = this._boundingRect, E = s(i), S = {
|
|
1974
1968
|
left: d.left - y.left - E.marginLeft,
|
|
1975
1969
|
top: d.top - y.top - E.marginTop,
|
|
1976
1970
|
right: y.right - d.right - E.marginRight,
|
|
@@ -1986,7 +1980,7 @@ function li() {
|
|
|
1986
1980
|
}, r.debounceMethod(k, "onresize", 100), a.resize = function() {
|
|
1987
1981
|
!this.isResizeBound || !this.needsResizeLayout() || this.layout();
|
|
1988
1982
|
}, a.needsResizeLayout = function() {
|
|
1989
|
-
var i =
|
|
1983
|
+
var i = s(this.element), d = this.size && i;
|
|
1990
1984
|
return d && i.innerWidth !== this.size.innerWidth;
|
|
1991
1985
|
}, a.addItems = function(i) {
|
|
1992
1986
|
var d = this._itemize(i);
|
|
@@ -2087,16 +2081,16 @@ function li() {
|
|
|
2087
2081
|
(function(o) {
|
|
2088
2082
|
(function(e, t) {
|
|
2089
2083
|
o.exports ? o.exports = t(
|
|
2090
|
-
|
|
2084
|
+
si(),
|
|
2091
2085
|
Ye()
|
|
2092
2086
|
) : e.Masonry = t(
|
|
2093
2087
|
e.Outlayer,
|
|
2094
2088
|
e.getSize
|
|
2095
2089
|
);
|
|
2096
2090
|
})(window, function(t, n) {
|
|
2097
|
-
var
|
|
2098
|
-
|
|
2099
|
-
var r =
|
|
2091
|
+
var s = t.create("masonry");
|
|
2092
|
+
s.compatOptions.fitWidth = "isFitWidth";
|
|
2093
|
+
var r = s.prototype;
|
|
2100
2094
|
return r._resetLayout = function() {
|
|
2101
2095
|
this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
|
|
2102
2096
|
for (var p = 0; p < this.cols; p++)
|
|
@@ -2104,18 +2098,18 @@ function li() {
|
|
|
2104
2098
|
this.maxY = 0, this.horizontalColIndex = 0;
|
|
2105
2099
|
}, r.measureColumns = function() {
|
|
2106
2100
|
if (this.getContainerWidth(), !this.columnWidth) {
|
|
2107
|
-
var p = this.items[0],
|
|
2108
|
-
this.columnWidth =
|
|
2101
|
+
var p = this.items[0], l = p && p.element;
|
|
2102
|
+
this.columnWidth = l && n(l).outerWidth || // if first elem has no width, default to size of container
|
|
2109
2103
|
this.containerWidth;
|
|
2110
2104
|
}
|
|
2111
2105
|
var f = this.columnWidth += this.gutter, c = this.containerWidth + this.gutter, m = c / f, g = f - c % f, k = g && g < 1 ? "round" : "floor";
|
|
2112
2106
|
m = Math[k](m), this.cols = Math.max(m, 1);
|
|
2113
2107
|
}, r.getContainerWidth = function() {
|
|
2114
|
-
var p = this._getOption("fitWidth"),
|
|
2108
|
+
var p = this._getOption("fitWidth"), l = p ? this.element.parentNode : this.element, f = n(l);
|
|
2115
2109
|
this.containerWidth = f && f.innerWidth;
|
|
2116
2110
|
}, r._getItemLayoutPosition = function(p) {
|
|
2117
2111
|
p.getSize();
|
|
2118
|
-
var
|
|
2112
|
+
var l = p.size.outerWidth % this.columnWidth, f = l && l < 1 ? "round" : "ceil", c = Math[f](p.size.outerWidth / this.columnWidth);
|
|
2119
2113
|
c = Math.min(c, this.cols);
|
|
2120
2114
|
for (var m = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[m](c, p), k = {
|
|
2121
2115
|
x: this.columnWidth * g.col,
|
|
@@ -2124,36 +2118,36 @@ function li() {
|
|
|
2124
2118
|
this.colYs[b] = a;
|
|
2125
2119
|
return k;
|
|
2126
2120
|
}, r._getTopColPosition = function(p) {
|
|
2127
|
-
var
|
|
2121
|
+
var l = this._getTopColGroup(p), f = Math.min.apply(Math, l);
|
|
2128
2122
|
return {
|
|
2129
|
-
col:
|
|
2123
|
+
col: l.indexOf(f),
|
|
2130
2124
|
y: f
|
|
2131
2125
|
};
|
|
2132
2126
|
}, r._getTopColGroup = function(p) {
|
|
2133
2127
|
if (p < 2)
|
|
2134
2128
|
return this.colYs;
|
|
2135
|
-
for (var
|
|
2136
|
-
|
|
2137
|
-
return
|
|
2138
|
-
}, r._getColGroupY = function(p,
|
|
2139
|
-
if (
|
|
2129
|
+
for (var l = [], f = this.cols + 1 - p, c = 0; c < f; c++)
|
|
2130
|
+
l[c] = this._getColGroupY(c, p);
|
|
2131
|
+
return l;
|
|
2132
|
+
}, r._getColGroupY = function(p, l) {
|
|
2133
|
+
if (l < 2)
|
|
2140
2134
|
return this.colYs[p];
|
|
2141
|
-
var f = this.colYs.slice(p, p +
|
|
2135
|
+
var f = this.colYs.slice(p, p + l);
|
|
2142
2136
|
return Math.max.apply(Math, f);
|
|
2143
|
-
}, r._getHorizontalColPosition = function(p,
|
|
2137
|
+
}, r._getHorizontalColPosition = function(p, l) {
|
|
2144
2138
|
var f = this.horizontalColIndex % this.cols, c = p > 1 && f + p > this.cols;
|
|
2145
2139
|
f = c ? 0 : f;
|
|
2146
|
-
var m =
|
|
2140
|
+
var m = l.size.outerWidth && l.size.outerHeight;
|
|
2147
2141
|
return this.horizontalColIndex = m ? f + p : this.horizontalColIndex, {
|
|
2148
2142
|
col: f,
|
|
2149
2143
|
y: this._getColGroupY(f, p)
|
|
2150
2144
|
};
|
|
2151
2145
|
}, r._manageStamp = function(p) {
|
|
2152
|
-
var
|
|
2146
|
+
var l = n(p), f = this._getElementOffset(p), c = this._getOption("originLeft"), m = c ? f.left : f.right, g = m + l.outerWidth, k = Math.floor(m / this.columnWidth);
|
|
2153
2147
|
k = Math.max(0, k);
|
|
2154
2148
|
var a = Math.floor(g / this.columnWidth);
|
|
2155
2149
|
a -= g % this.columnWidth ? 0 : 1, a = Math.min(this.cols - 1, a);
|
|
2156
|
-
for (var _ = this._getOption("originTop"), b = (_ ? f.top : f.bottom) +
|
|
2150
|
+
for (var _ = this._getOption("originTop"), b = (_ ? f.top : f.bottom) + l.outerHeight, h = k; h <= a; h++)
|
|
2157
2151
|
this.colYs[h] = Math.max(b, this.colYs[h]);
|
|
2158
2152
|
}, r._getContainerSize = function() {
|
|
2159
2153
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
@@ -2162,17 +2156,17 @@ function li() {
|
|
|
2162
2156
|
};
|
|
2163
2157
|
return this._getOption("fitWidth") && (p.width = this._getContainerFitWidth()), p;
|
|
2164
2158
|
}, r._getContainerFitWidth = function() {
|
|
2165
|
-
for (var p = 0,
|
|
2159
|
+
for (var p = 0, l = this.cols; --l && this.colYs[l] === 0; )
|
|
2166
2160
|
p++;
|
|
2167
2161
|
return (this.cols - p) * this.columnWidth - this.gutter;
|
|
2168
2162
|
}, r.needsResizeLayout = function() {
|
|
2169
2163
|
var p = this.containerWidth;
|
|
2170
2164
|
return this.getContainerWidth(), p != this.containerWidth;
|
|
2171
|
-
},
|
|
2165
|
+
}, s;
|
|
2172
2166
|
});
|
|
2173
2167
|
})(St);
|
|
2174
|
-
var
|
|
2175
|
-
const ct = /* @__PURE__ */ $t(
|
|
2168
|
+
var li = St.exports;
|
|
2169
|
+
const ct = /* @__PURE__ */ $t(li);
|
|
2176
2170
|
var Ct = { exports: {} };
|
|
2177
2171
|
/*!
|
|
2178
2172
|
* imagesLoaded v4.1.4
|
|
@@ -2192,18 +2186,18 @@ var Ct = { exports: {} };
|
|
|
2192
2186
|
typeof window < "u" ? window : Tt,
|
|
2193
2187
|
// -------------------------- factory -------------------------- //
|
|
2194
2188
|
function(t, n) {
|
|
2195
|
-
var
|
|
2189
|
+
var s = t.jQuery, r = t.console;
|
|
2196
2190
|
function p(a, _) {
|
|
2197
2191
|
for (var b in _)
|
|
2198
2192
|
a[b] = _[b];
|
|
2199
2193
|
return a;
|
|
2200
2194
|
}
|
|
2201
|
-
var
|
|
2195
|
+
var l = Array.prototype.slice;
|
|
2202
2196
|
function f(a) {
|
|
2203
2197
|
if (Array.isArray(a))
|
|
2204
2198
|
return a;
|
|
2205
2199
|
var _ = typeof a == "object" && typeof a.length == "number";
|
|
2206
|
-
return _ ?
|
|
2200
|
+
return _ ? l.call(a) : [a];
|
|
2207
2201
|
}
|
|
2208
2202
|
function c(a, _, b) {
|
|
2209
2203
|
if (!(this instanceof c))
|
|
@@ -2213,7 +2207,7 @@ var Ct = { exports: {} };
|
|
|
2213
2207
|
r.error("Bad element for imagesLoaded " + (h || a));
|
|
2214
2208
|
return;
|
|
2215
2209
|
}
|
|
2216
|
-
this.elements = f(h), this.options = p({}, this.options), typeof _ == "function" ? b = _ : p(this.options, _), b && this.on("always", b), this.getImages(),
|
|
2210
|
+
this.elements = f(h), this.options = p({}, this.options), typeof _ == "function" ? b = _ : p(this.options, _), b && this.on("always", b), this.getImages(), s && (this.jqDeferred = new s.Deferred()), setTimeout(this.check.bind(this));
|
|
2217
2211
|
}
|
|
2218
2212
|
c.prototype = Object.create(n.prototype), c.prototype.options = {}, c.prototype.getImages = function() {
|
|
2219
2213
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
@@ -2311,17 +2305,17 @@ var Ct = { exports: {} };
|
|
|
2311
2305
|
}, k.prototype.confirm = function(a, _) {
|
|
2312
2306
|
this.isLoaded = a, this.emitEvent("progress", [this, this.element, _]);
|
|
2313
2307
|
}, c.makeJQueryPlugin = function(a) {
|
|
2314
|
-
a = a || t.jQuery, a && (
|
|
2308
|
+
a = a || t.jQuery, a && (s = a, s.fn.imagesLoaded = function(_, b) {
|
|
2315
2309
|
var h = new c(this, _, b);
|
|
2316
|
-
return h.jqDeferred.promise(
|
|
2310
|
+
return h.jqDeferred.promise(s(this));
|
|
2317
2311
|
});
|
|
2318
2312
|
}, c.makeJQueryPlugin(), c;
|
|
2319
2313
|
}
|
|
2320
2314
|
);
|
|
2321
2315
|
})(Ct);
|
|
2322
|
-
var
|
|
2323
|
-
const
|
|
2324
|
-
function
|
|
2316
|
+
var ui = Ct.exports;
|
|
2317
|
+
const di = /* @__PURE__ */ $t(ui);
|
|
2318
|
+
function ci(o) {
|
|
2325
2319
|
return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
|
|
2326
2320
|
var n = o.get(e);
|
|
2327
2321
|
n ? n.push(t) : o.set(e, [t]);
|
|
@@ -2330,10 +2324,10 @@ function pi(o) {
|
|
|
2330
2324
|
n && (t ? n.splice(n.indexOf(t) >>> 0, 1) : o.set(e, []));
|
|
2331
2325
|
}, emit: function(e, t) {
|
|
2332
2326
|
var n = o.get(e);
|
|
2333
|
-
n && n.slice().map(function(
|
|
2334
|
-
|
|
2335
|
-
}), (n = o.get("*")) && n.slice().map(function(
|
|
2336
|
-
|
|
2327
|
+
n && n.slice().map(function(s) {
|
|
2328
|
+
s(t);
|
|
2329
|
+
}), (n = o.get("*")) && n.slice().map(function(s) {
|
|
2330
|
+
s(e, t);
|
|
2337
2331
|
});
|
|
2338
2332
|
} };
|
|
2339
2333
|
}
|
|
@@ -2350,24 +2344,24 @@ const ye = {
|
|
|
2350
2344
|
"horizontal-order": "horizontalOrder",
|
|
2351
2345
|
stagger: "stagger",
|
|
2352
2346
|
"destroy-delay": "destroyDelay"
|
|
2353
|
-
}, ve = "vuemasonry.itemAdded", Re = "vuemasonry.itemRemoved", Me = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy",
|
|
2347
|
+
}, ve = "vuemasonry.itemAdded", Re = "vuemasonry.itemRemoved", Me = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy", pi = function(o) {
|
|
2354
2348
|
return (o + "").toLowerCase() === "true";
|
|
2355
|
-
},
|
|
2349
|
+
}, fi = function(o) {
|
|
2356
2350
|
return isNaN(o) ? o : parseInt(o);
|
|
2357
|
-
},
|
|
2351
|
+
}, hi = function(o) {
|
|
2358
2352
|
const e = {};
|
|
2359
2353
|
return Array.prototype.slice.call(o).forEach(function(n) {
|
|
2360
|
-
Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] =
|
|
2354
|
+
Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] = pi(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ye[n.name]] = fi(n.value) : e[ye[n.name]] = n.value);
|
|
2361
2355
|
}), e;
|
|
2362
2356
|
}, Vt = {};
|
|
2363
2357
|
Vt.install = function(o, e) {
|
|
2364
|
-
const t =
|
|
2365
|
-
|
|
2358
|
+
const t = ci(), n = "VueMasonry", s = o;
|
|
2359
|
+
s.directive("masonry", {
|
|
2366
2360
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2367
2361
|
mounted: function(r, p) {
|
|
2368
2362
|
if (!ct)
|
|
2369
2363
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2370
|
-
const
|
|
2364
|
+
const l = hi(r.attributes), f = new ct(r, l), c = p.value || n, m = l.destroyDelay ? parseInt(l.destroyDelay, 10) : void 0, g = function() {
|
|
2371
2365
|
f.reloadItems(), f.layout();
|
|
2372
2366
|
};
|
|
2373
2367
|
It(() => {
|
|
@@ -2385,59 +2379,59 @@ Vt.install = function(o, e) {
|
|
|
2385
2379
|
t["on"](`${ve}__${c}`, k), t["on"](`${Re}__${c}`, k), t["on"](`${Me}__${c}`, k), t["on"](`${Ne}__${c}`, a);
|
|
2386
2380
|
},
|
|
2387
2381
|
unbind: function(r, p) {
|
|
2388
|
-
const
|
|
2389
|
-
t["emit"](`${Ne}__${
|
|
2382
|
+
const l = p.value || n;
|
|
2383
|
+
t["emit"](`${Ne}__${l}`);
|
|
2390
2384
|
}
|
|
2391
|
-
}),
|
|
2385
|
+
}), s.directive("masonryTile", {
|
|
2392
2386
|
mounted: function(r, p) {
|
|
2393
|
-
const
|
|
2394
|
-
t["emit"](`${ve}__${
|
|
2387
|
+
const l = p.value || n;
|
|
2388
|
+
t["emit"](`${ve}__${l}`, {
|
|
2395
2389
|
element: r
|
|
2396
|
-
}), new
|
|
2397
|
-
t["emit"](`${Me}__${
|
|
2390
|
+
}), new di(r, function() {
|
|
2391
|
+
t["emit"](`${Me}__${l}`, {
|
|
2398
2392
|
element: r
|
|
2399
2393
|
});
|
|
2400
2394
|
});
|
|
2401
2395
|
},
|
|
2402
2396
|
unbind: function(r, p) {
|
|
2403
|
-
const
|
|
2404
|
-
t["emit"](`${Re}__${
|
|
2397
|
+
const l = p.value || n;
|
|
2398
|
+
t["emit"](`${Re}__${l}`, {
|
|
2405
2399
|
element: r
|
|
2406
2400
|
});
|
|
2407
2401
|
}
|
|
2408
2402
|
});
|
|
2409
2403
|
{
|
|
2410
2404
|
const r = function(p) {
|
|
2411
|
-
const
|
|
2412
|
-
t["emit"](`${ve}__${
|
|
2405
|
+
const l = p || n;
|
|
2406
|
+
t["emit"](`${ve}__${l}`);
|
|
2413
2407
|
};
|
|
2414
2408
|
o.config.globalProperties.$redrawVueMasonry = r, o.provide("redrawVueMasonry", r);
|
|
2415
2409
|
}
|
|
2416
2410
|
};
|
|
2417
2411
|
function qe(o, e = {}, t) {
|
|
2418
2412
|
for (const n in o) {
|
|
2419
|
-
const
|
|
2420
|
-
typeof
|
|
2413
|
+
const s = o[n], r = t ? `${t}:${n}` : n;
|
|
2414
|
+
typeof s == "object" && s !== null ? qe(s, e, r) : typeof s == "function" && (e[r] = s);
|
|
2421
2415
|
}
|
|
2422
2416
|
return e;
|
|
2423
2417
|
}
|
|
2424
|
-
const
|
|
2425
|
-
function
|
|
2418
|
+
const mi = { run: (o) => o() }, gi = () => mi, Pt = typeof console.createTask < "u" ? console.createTask : gi;
|
|
2419
|
+
function yi(o, e) {
|
|
2426
2420
|
const t = e.shift(), n = Pt(t);
|
|
2427
2421
|
return o.reduce(
|
|
2428
|
-
(
|
|
2422
|
+
(s, r) => s.then(() => n.run(() => r(...e))),
|
|
2429
2423
|
Promise.resolve()
|
|
2430
2424
|
);
|
|
2431
2425
|
}
|
|
2432
|
-
function
|
|
2426
|
+
function vi(o, e) {
|
|
2433
2427
|
const t = e.shift(), n = Pt(t);
|
|
2434
|
-
return Promise.all(o.map((
|
|
2428
|
+
return Promise.all(o.map((s) => n.run(() => s(...e))));
|
|
2435
2429
|
}
|
|
2436
2430
|
function We(o, e) {
|
|
2437
2431
|
for (const t of [...o])
|
|
2438
2432
|
t(e);
|
|
2439
2433
|
}
|
|
2440
|
-
class
|
|
2434
|
+
class _i {
|
|
2441
2435
|
constructor() {
|
|
2442
2436
|
this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
|
|
2443
2437
|
}
|
|
@@ -2445,13 +2439,13 @@ class bi {
|
|
|
2445
2439
|
if (!e || typeof t != "function")
|
|
2446
2440
|
return () => {
|
|
2447
2441
|
};
|
|
2448
|
-
const
|
|
2442
|
+
const s = e;
|
|
2449
2443
|
let r;
|
|
2450
2444
|
for (; this._deprecatedHooks[e]; )
|
|
2451
2445
|
r = this._deprecatedHooks[e], e = r.to;
|
|
2452
2446
|
if (r && !n.allowDeprecated) {
|
|
2453
2447
|
let p = r.message;
|
|
2454
|
-
p || (p = `${
|
|
2448
|
+
p || (p = `${s} 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));
|
|
2455
2449
|
}
|
|
2456
2450
|
if (!t.name)
|
|
2457
2451
|
try {
|
|
@@ -2466,8 +2460,8 @@ class bi {
|
|
|
2466
2460
|
};
|
|
2467
2461
|
}
|
|
2468
2462
|
hookOnce(e, t) {
|
|
2469
|
-
let n,
|
|
2470
|
-
return n = this.hook(e,
|
|
2463
|
+
let n, s = (...r) => (typeof n == "function" && n(), n = void 0, s = void 0, t(...r));
|
|
2464
|
+
return n = this.hook(e, s), n;
|
|
2471
2465
|
}
|
|
2472
2466
|
removeHook(e, t) {
|
|
2473
2467
|
if (this._hooks[e]) {
|
|
@@ -2479,8 +2473,8 @@ class bi {
|
|
|
2479
2473
|
this._deprecatedHooks[e] = typeof t == "string" ? { to: t } : t;
|
|
2480
2474
|
const n = this._hooks[e] || [];
|
|
2481
2475
|
delete this._hooks[e];
|
|
2482
|
-
for (const
|
|
2483
|
-
this.hook(e,
|
|
2476
|
+
for (const s of n)
|
|
2477
|
+
this.hook(e, s);
|
|
2484
2478
|
}
|
|
2485
2479
|
deprecateHooks(e) {
|
|
2486
2480
|
Object.assign(this._deprecatedHooks, e);
|
|
@@ -2489,11 +2483,11 @@ class bi {
|
|
|
2489
2483
|
}
|
|
2490
2484
|
addHooks(e) {
|
|
2491
2485
|
const t = qe(e), n = Object.keys(t).map(
|
|
2492
|
-
(
|
|
2486
|
+
(s) => this.hook(s, t[s])
|
|
2493
2487
|
);
|
|
2494
2488
|
return () => {
|
|
2495
|
-
for (const
|
|
2496
|
-
|
|
2489
|
+
for (const s of n.splice(0, n.length))
|
|
2490
|
+
s();
|
|
2497
2491
|
};
|
|
2498
2492
|
}
|
|
2499
2493
|
removeHooks(e) {
|
|
@@ -2506,21 +2500,21 @@ class bi {
|
|
|
2506
2500
|
delete this._hooks[e];
|
|
2507
2501
|
}
|
|
2508
2502
|
callHook(e, ...t) {
|
|
2509
|
-
return t.unshift(e), this.callHookWith(
|
|
2503
|
+
return t.unshift(e), this.callHookWith(yi, e, ...t);
|
|
2510
2504
|
}
|
|
2511
2505
|
callHookParallel(e, ...t) {
|
|
2512
|
-
return t.unshift(e), this.callHookWith(
|
|
2506
|
+
return t.unshift(e), this.callHookWith(vi, e, ...t);
|
|
2513
2507
|
}
|
|
2514
2508
|
callHookWith(e, t, ...n) {
|
|
2515
|
-
const
|
|
2516
|
-
this._before && We(this._before,
|
|
2509
|
+
const s = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
|
|
2510
|
+
this._before && We(this._before, s);
|
|
2517
2511
|
const r = e(
|
|
2518
2512
|
t in this._hooks ? [...this._hooks[t]] : [],
|
|
2519
2513
|
n
|
|
2520
2514
|
);
|
|
2521
2515
|
return r instanceof Promise ? r.finally(() => {
|
|
2522
|
-
this._after &&
|
|
2523
|
-
}) : (this._after &&
|
|
2516
|
+
this._after && s && We(this._after, s);
|
|
2517
|
+
}) : (this._after && s && We(this._after, s), r);
|
|
2524
2518
|
}
|
|
2525
2519
|
beforeEach(e) {
|
|
2526
2520
|
return this._before = this._before || [], this._before.push(e), () => {
|
|
@@ -2539,20 +2533,20 @@ class bi {
|
|
|
2539
2533
|
};
|
|
2540
2534
|
}
|
|
2541
2535
|
}
|
|
2542
|
-
function
|
|
2543
|
-
return new
|
|
2536
|
+
function bi() {
|
|
2537
|
+
return new _i();
|
|
2544
2538
|
}
|
|
2545
|
-
function
|
|
2539
|
+
function ki(o) {
|
|
2546
2540
|
return Array.isArray(o) ? o : [o];
|
|
2547
2541
|
}
|
|
2548
|
-
const
|
|
2542
|
+
const xi = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
2549
2543
|
"base",
|
|
2550
2544
|
"meta",
|
|
2551
2545
|
"link",
|
|
2552
2546
|
"style",
|
|
2553
2547
|
"script",
|
|
2554
2548
|
"noscript"
|
|
2555
|
-
],
|
|
2549
|
+
], Ii = [
|
|
2556
2550
|
"title",
|
|
2557
2551
|
"titleTemplate",
|
|
2558
2552
|
"templateParams",
|
|
@@ -2564,7 +2558,7 @@ const Ii = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
|
2564
2558
|
"style",
|
|
2565
2559
|
"script",
|
|
2566
2560
|
"noscript"
|
|
2567
|
-
],
|
|
2561
|
+
], Ei = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Bt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Ti = typeof window < "u";
|
|
2568
2562
|
function Qe(o) {
|
|
2569
2563
|
let e = 9;
|
|
2570
2564
|
for (let t = 0; t < o.length; )
|
|
@@ -2576,15 +2570,15 @@ function pt(o) {
|
|
|
2576
2570
|
}
|
|
2577
2571
|
function Dt(o, e) {
|
|
2578
2572
|
const { props: t, tag: n } = o;
|
|
2579
|
-
if (
|
|
2573
|
+
if (Ei.includes(n))
|
|
2580
2574
|
return n;
|
|
2581
2575
|
if (n === "link" && t.rel === "canonical")
|
|
2582
2576
|
return "canonical";
|
|
2583
2577
|
if (t.charset)
|
|
2584
2578
|
return "charset";
|
|
2585
|
-
const
|
|
2586
|
-
n === "meta" &&
|
|
2587
|
-
for (const r of
|
|
2579
|
+
const s = ["id"];
|
|
2580
|
+
n === "meta" && s.push("name", "property", "http-equiv");
|
|
2581
|
+
for (const r of s)
|
|
2588
2582
|
if (typeof t[r] < "u") {
|
|
2589
2583
|
const p = String(t[r]);
|
|
2590
2584
|
return e && !e(p) ? !1 : `${n}:${r}:${p}`;
|
|
@@ -2594,7 +2588,7 @@ function Dt(o, e) {
|
|
|
2594
2588
|
function ft(o, e) {
|
|
2595
2589
|
return o == null ? e || null : typeof o == "function" ? o(e) : o;
|
|
2596
2590
|
}
|
|
2597
|
-
async function
|
|
2591
|
+
async function $i(o, e, t) {
|
|
2598
2592
|
const n = {
|
|
2599
2593
|
tag: o,
|
|
2600
2594
|
props: await Lt(
|
|
@@ -2604,34 +2598,34 @@ async function Si(o, e, t) {
|
|
|
2604
2598
|
["templateParams", "titleTemplate"].includes(o)
|
|
2605
2599
|
)
|
|
2606
2600
|
};
|
|
2607
|
-
return Bt.forEach((
|
|
2608
|
-
const r = typeof n.props[
|
|
2609
|
-
typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(
|
|
2610
|
-
}), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((
|
|
2601
|
+
return Bt.forEach((s) => {
|
|
2602
|
+
const r = typeof n.props[s] < "u" ? n.props[s] : t[s];
|
|
2603
|
+
typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(s) || xi.includes(n.tag)) && (n[s === "children" ? "innerHTML" : s] = r), delete n.props[s]);
|
|
2604
|
+
}), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((s) => ({ ...n, props: { ...n.props, content: s } })) : n;
|
|
2611
2605
|
}
|
|
2612
|
-
function
|
|
2606
|
+
function Si(o) {
|
|
2613
2607
|
return typeof o == "object" && !Array.isArray(o) && (o = Object.keys(o).filter((e) => o[e])), (Array.isArray(o) ? o.join(" ") : o).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
|
|
2614
2608
|
}
|
|
2615
2609
|
async function Lt(o, e) {
|
|
2616
2610
|
for (const t of Object.keys(o)) {
|
|
2617
2611
|
if (t === "class") {
|
|
2618
|
-
o[t] =
|
|
2612
|
+
o[t] = Si(o[t]);
|
|
2619
2613
|
continue;
|
|
2620
2614
|
}
|
|
2621
2615
|
if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !Bt.includes(t)) {
|
|
2622
|
-
const n = String(o[t]),
|
|
2623
|
-
n === "true" || n === "" ? o[t] =
|
|
2616
|
+
const n = String(o[t]), s = t.startsWith("data-");
|
|
2617
|
+
n === "true" || n === "" ? o[t] = s ? "true" : !0 : o[t] || (s && n === "false" ? o[t] = "false" : delete o[t]);
|
|
2624
2618
|
}
|
|
2625
2619
|
}
|
|
2626
2620
|
return o;
|
|
2627
2621
|
}
|
|
2628
|
-
const
|
|
2629
|
-
async function
|
|
2622
|
+
const Ci = 10;
|
|
2623
|
+
async function Vi(o) {
|
|
2630
2624
|
const e = [];
|
|
2631
|
-
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" &&
|
|
2632
|
-
const
|
|
2633
|
-
e.push(...
|
|
2634
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i <<
|
|
2625
|
+
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && Ii.includes(t)).forEach(([t, n]) => {
|
|
2626
|
+
const s = ki(n);
|
|
2627
|
+
e.push(...s.map((r) => $i(t, r, o)).flat());
|
|
2628
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Ci) + n, t));
|
|
2635
2629
|
}
|
|
2636
2630
|
const ht = {
|
|
2637
2631
|
// tags
|
|
@@ -2648,25 +2642,25 @@ function Ee(o) {
|
|
|
2648
2642
|
const t = o.tagPriority;
|
|
2649
2643
|
return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in ht && (e = ht[o.tag]), typeof t == "string" && t in mt ? e + mt[t] : e);
|
|
2650
2644
|
}
|
|
2651
|
-
const
|
|
2645
|
+
const Pi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], oe = "%separator";
|
|
2652
2646
|
function ke(o, e, t) {
|
|
2653
2647
|
if (typeof o != "string" || !o.includes("%"))
|
|
2654
2648
|
return o;
|
|
2655
2649
|
function n(p) {
|
|
2656
|
-
let
|
|
2657
|
-
return ["s", "pageTitle"].includes(p) ?
|
|
2650
|
+
let l;
|
|
2651
|
+
return ["s", "pageTitle"].includes(p) ? l = e.pageTitle : p.includes(".") ? l = p.split(".").reduce((f, c) => f && f[c] || void 0, e) : l = e[p], typeof l < "u" ? (l || "").replace(/"/g, '\\"') : !1;
|
|
2658
2652
|
}
|
|
2659
|
-
let
|
|
2653
|
+
let s = o;
|
|
2660
2654
|
try {
|
|
2661
|
-
|
|
2655
|
+
s = decodeURI(o);
|
|
2662
2656
|
} catch {
|
|
2663
2657
|
}
|
|
2664
|
-
return (
|
|
2665
|
-
const
|
|
2666
|
-
typeof
|
|
2667
|
-
}), o.includes(
|
|
2658
|
+
return (s.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
|
|
2659
|
+
const l = n(p.slice(1));
|
|
2660
|
+
typeof l == "string" && (o = o.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (f, c) => `${l}${c}`).trim());
|
|
2661
|
+
}), o.includes(oe) && (o.endsWith(oe) && (o = o.slice(0, -oe.length).trim()), o.startsWith(oe) && (o = o.slice(oe.length).trim()), o = o.replace(new RegExp(`\\${oe}\\s*\\${oe}`, "g"), oe), o = ke(o, { separator: t }, t)), o;
|
|
2668
2662
|
}
|
|
2669
|
-
async function
|
|
2663
|
+
async function Bi(o) {
|
|
2670
2664
|
const e = {
|
|
2671
2665
|
tag: o.tagName.toLowerCase(),
|
|
2672
2666
|
props: await Lt(
|
|
@@ -2676,14 +2670,14 @@ async function Di(o) {
|
|
|
2676
2670
|
};
|
|
2677
2671
|
return e._d = Dt(e), e;
|
|
2678
2672
|
}
|
|
2679
|
-
async function
|
|
2673
|
+
async function Di(o, e = {}) {
|
|
2680
2674
|
const t = e.document || o.resolvedOptions.document;
|
|
2681
2675
|
if (!t)
|
|
2682
2676
|
return;
|
|
2683
2677
|
const n = { shouldRender: o.dirty, tags: [] };
|
|
2684
2678
|
if (await o.hooks.callHook("dom:beforeRender", n), !n.shouldRender)
|
|
2685
2679
|
return;
|
|
2686
|
-
const
|
|
2680
|
+
const s = (await o.resolveTags()).map((m) => ({
|
|
2687
2681
|
tag: m,
|
|
2688
2682
|
id: be.includes(m.tag) ? pt(m) : m.tag,
|
|
2689
2683
|
shouldRender: !0
|
|
@@ -2696,7 +2690,7 @@ async function Li(o, e = {}) {
|
|
|
2696
2690
|
for (const m of ["body", "head"]) {
|
|
2697
2691
|
const g = t?.[m]?.children;
|
|
2698
2692
|
for (const k of [...g].filter((a) => be.includes(a.tagName.toLowerCase())))
|
|
2699
|
-
r.elMap[k.getAttribute("data-hid") || pt(await
|
|
2693
|
+
r.elMap[k.getAttribute("data-hid") || pt(await Bi(k))] = k;
|
|
2700
2694
|
}
|
|
2701
2695
|
}
|
|
2702
2696
|
r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
|
|
@@ -2704,7 +2698,7 @@ async function Li(o, e = {}) {
|
|
|
2704
2698
|
const a = `${m}:${g}`;
|
|
2705
2699
|
r.sideEffects[a] = k, delete r.pendingSideEffects[a];
|
|
2706
2700
|
}
|
|
2707
|
-
function
|
|
2701
|
+
function l({ id: m, $el: g, tag: k }) {
|
|
2708
2702
|
const a = k.tag.endsWith("Attrs");
|
|
2709
2703
|
r.elMap[m] = g, a || (["textContent", "innerHTML"].forEach((_) => {
|
|
2710
2704
|
k[_] && k[_] !== g[_] && (g[_] = k[_]);
|
|
@@ -2724,45 +2718,45 @@ async function Li(o, e = {}) {
|
|
|
2724
2718
|
bodyOpen: void 0,
|
|
2725
2719
|
head: void 0
|
|
2726
2720
|
};
|
|
2727
|
-
for (const m of
|
|
2721
|
+
for (const m of s) {
|
|
2728
2722
|
const { tag: g, shouldRender: k, id: a } = m;
|
|
2729
2723
|
if (k) {
|
|
2730
2724
|
if (g.tag === "title") {
|
|
2731
2725
|
t.title = g.textContent;
|
|
2732
2726
|
continue;
|
|
2733
2727
|
}
|
|
2734
|
-
m.$el = m.$el || r.elMap[a], m.$el ?
|
|
2728
|
+
m.$el = m.$el || r.elMap[a], m.$el ? l(m) : be.includes(g.tag) && f.push(m);
|
|
2735
2729
|
}
|
|
2736
2730
|
}
|
|
2737
2731
|
for (const m of f) {
|
|
2738
2732
|
const g = m.tag.tagPosition || "head";
|
|
2739
|
-
m.$el = t.createElement(m.tag.tag),
|
|
2733
|
+
m.$el = t.createElement(m.tag.tag), l(m), c[g] = c[g] || t.createDocumentFragment(), c[g].appendChild(m.$el);
|
|
2740
2734
|
}
|
|
2741
|
-
for (const m of
|
|
2735
|
+
for (const m of s)
|
|
2742
2736
|
await o.hooks.callHook("dom:renderTag", m, t, p);
|
|
2743
|
-
c.head && t.head.appendChild(c.head), c.bodyOpen && t.body.insertBefore(c.bodyOpen, t.body.firstChild), c.bodyClose && t.body.appendChild(c.bodyClose), Object.values(r.pendingSideEffects).forEach((m) => m()), o._dom = r, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders:
|
|
2737
|
+
c.head && t.head.appendChild(c.head), c.bodyOpen && t.body.insertBefore(c.bodyOpen, t.body.firstChild), c.bodyClose && t.body.appendChild(c.bodyClose), Object.values(r.pendingSideEffects).forEach((m) => m()), o._dom = r, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: s });
|
|
2744
2738
|
}
|
|
2745
|
-
async function
|
|
2739
|
+
async function Li(o, e = {}) {
|
|
2746
2740
|
const t = e.delayFn || ((n) => setTimeout(n, 10));
|
|
2747
2741
|
return o._domUpdatePromise = o._domUpdatePromise || new Promise((n) => t(async () => {
|
|
2748
|
-
await
|
|
2742
|
+
await Di(o, e), delete o._domUpdatePromise, n();
|
|
2749
2743
|
}));
|
|
2750
2744
|
}
|
|
2751
2745
|
// @__NO_SIDE_EFFECTS__
|
|
2752
|
-
function
|
|
2746
|
+
function wi(o) {
|
|
2753
2747
|
return (e) => {
|
|
2754
2748
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
2755
2749
|
return t && e.push(JSON.parse(t)), {
|
|
2756
2750
|
mode: "client",
|
|
2757
2751
|
hooks: {
|
|
2758
2752
|
"entries:updated": function(n) {
|
|
2759
|
-
|
|
2753
|
+
Li(n, o);
|
|
2760
2754
|
}
|
|
2761
2755
|
}
|
|
2762
2756
|
};
|
|
2763
2757
|
};
|
|
2764
2758
|
}
|
|
2765
|
-
const
|
|
2759
|
+
const Hi = ["templateParams", "htmlAttrs", "bodyAttrs"], Oi = {
|
|
2766
2760
|
hooks: {
|
|
2767
2761
|
"tag:normalise": function({ tag: o }) {
|
|
2768
2762
|
["hid", "vmid", "key"].forEach((n) => {
|
|
@@ -2774,14 +2768,14 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2774
2768
|
"tags:resolve": function(o) {
|
|
2775
2769
|
const e = {};
|
|
2776
2770
|
o.tags.forEach((n) => {
|
|
2777
|
-
const
|
|
2771
|
+
const s = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, r = e[s];
|
|
2778
2772
|
if (r) {
|
|
2779
|
-
let
|
|
2780
|
-
if (!
|
|
2773
|
+
let l = n?.tagDuplicateStrategy;
|
|
2774
|
+
if (!l && Hi.includes(n.tag) && (l = "merge"), l === "merge") {
|
|
2781
2775
|
const f = r.props;
|
|
2782
2776
|
["class", "style"].forEach((c) => {
|
|
2783
2777
|
n.props[c] && f[c] && (c === "style" && !f[c].endsWith(";") && (f[c] += ";"), n.props[c] = `${f[c]} ${n.props[c]}`);
|
|
2784
|
-
}), e[
|
|
2778
|
+
}), e[s].props = {
|
|
2785
2779
|
...f,
|
|
2786
2780
|
...n.props
|
|
2787
2781
|
};
|
|
@@ -2794,19 +2788,19 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2794
2788
|
}
|
|
2795
2789
|
const p = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
|
|
2796
2790
|
if (be.includes(n.tag) && p === 0) {
|
|
2797
|
-
delete e[
|
|
2791
|
+
delete e[s];
|
|
2798
2792
|
return;
|
|
2799
2793
|
}
|
|
2800
|
-
e[
|
|
2794
|
+
e[s] = n;
|
|
2801
2795
|
});
|
|
2802
2796
|
const t = [];
|
|
2803
2797
|
Object.values(e).forEach((n) => {
|
|
2804
|
-
const
|
|
2805
|
-
delete n._duped, t.push(n),
|
|
2798
|
+
const s = n._duped;
|
|
2799
|
+
delete n._duped, t.push(n), s && t.push(...s);
|
|
2806
2800
|
}), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
|
|
2807
2801
|
}
|
|
2808
2802
|
}
|
|
2809
|
-
},
|
|
2803
|
+
}, Ai = {
|
|
2810
2804
|
mode: "server",
|
|
2811
2805
|
hooks: {
|
|
2812
2806
|
"tags:resolve": function(o) {
|
|
@@ -2820,29 +2814,29 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2820
2814
|
});
|
|
2821
2815
|
}
|
|
2822
2816
|
}
|
|
2823
|
-
},
|
|
2824
|
-
function
|
|
2817
|
+
}, zi = ["script", "link", "bodyAttrs"];
|
|
2818
|
+
function Ri(o) {
|
|
2825
2819
|
const e = {}, t = {};
|
|
2826
|
-
return Object.entries(o.props).forEach(([n,
|
|
2827
|
-
n.startsWith("on") && typeof
|
|
2820
|
+
return Object.entries(o.props).forEach(([n, s]) => {
|
|
2821
|
+
n.startsWith("on") && typeof s == "function" ? (wt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = s) : e[n] = s;
|
|
2828
2822
|
}), { props: e, eventHandlers: t };
|
|
2829
2823
|
}
|
|
2830
|
-
const
|
|
2824
|
+
const Mi = (o) => ({
|
|
2831
2825
|
hooks: {
|
|
2832
2826
|
"tags:resolve": function(e) {
|
|
2833
2827
|
for (const t of e.tags)
|
|
2834
|
-
if (
|
|
2835
|
-
const { props: n, eventHandlers:
|
|
2836
|
-
t.props = n, Object.keys(
|
|
2828
|
+
if (zi.includes(t.tag)) {
|
|
2829
|
+
const { props: n, eventHandlers: s } = Ri(t);
|
|
2830
|
+
t.props = n, Object.keys(s).length && ((t.props.src || t.props.href) && (t.key = t.key || Qe(t.props.src || t.props.href)), t._eventHandlers = s);
|
|
2837
2831
|
}
|
|
2838
2832
|
},
|
|
2839
2833
|
"dom:renderTag": function(e, t, n) {
|
|
2840
2834
|
if (!e.tag._eventHandlers)
|
|
2841
2835
|
return;
|
|
2842
|
-
const
|
|
2836
|
+
const s = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
|
|
2843
2837
|
Object.entries(e.tag._eventHandlers).forEach(([r, p]) => {
|
|
2844
|
-
const
|
|
2845
|
-
if (n(e.id,
|
|
2838
|
+
const l = `${e.tag._d || e.tag._p}:${r}`, f = r.slice(2).toLowerCase(), c = `data-h-${f}`;
|
|
2839
|
+
if (n(e.id, l, () => {
|
|
2846
2840
|
}), e.$el.hasAttribute(c))
|
|
2847
2841
|
return;
|
|
2848
2842
|
e.$el.setAttribute(c, "");
|
|
@@ -2854,72 +2848,72 @@ const Ni = (o) => ({
|
|
|
2854
2848
|
k.some((_) => _.attributeName === `data-${r}`) && (g(new Event(r.replace("on", ""))), m?.disconnect());
|
|
2855
2849
|
}), m.observe(e.$el, {
|
|
2856
2850
|
attributes: !0
|
|
2857
|
-
})) :
|
|
2858
|
-
m?.disconnect(),
|
|
2851
|
+
})) : s.addEventListener(f, g), n(e.id, l, () => {
|
|
2852
|
+
m?.disconnect(), s.removeEventListener(f, g), e.$el.removeAttribute(c);
|
|
2859
2853
|
});
|
|
2860
2854
|
});
|
|
2861
2855
|
}
|
|
2862
2856
|
}
|
|
2863
|
-
}),
|
|
2857
|
+
}), Ni = ["link", "style", "script", "noscript"], Wi = {
|
|
2864
2858
|
hooks: {
|
|
2865
2859
|
"tag:normalise": ({ tag: o }) => {
|
|
2866
|
-
o.key &&
|
|
2860
|
+
o.key && Ni.includes(o.tag) && (o.props["data-hid"] = o._h = Qe(o.key));
|
|
2867
2861
|
}
|
|
2868
2862
|
}
|
|
2869
|
-
},
|
|
2863
|
+
}, Ui = {
|
|
2870
2864
|
hooks: {
|
|
2871
2865
|
"tags:resolve": (o) => {
|
|
2872
2866
|
const e = (t) => o.tags.find((n) => n._d === t)?._p;
|
|
2873
|
-
for (const { prefix: t, offset: n } of
|
|
2874
|
-
for (const
|
|
2867
|
+
for (const { prefix: t, offset: n } of Pi)
|
|
2868
|
+
for (const s of o.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(t))) {
|
|
2875
2869
|
const r = e(
|
|
2876
|
-
|
|
2870
|
+
s.tagPriority.replace(t, "")
|
|
2877
2871
|
);
|
|
2878
|
-
typeof r < "u" && (
|
|
2872
|
+
typeof r < "u" && (s._p = r + n);
|
|
2879
2873
|
}
|
|
2880
2874
|
o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Ee(t) - Ee(n));
|
|
2881
2875
|
}
|
|
2882
2876
|
}
|
|
2883
|
-
},
|
|
2877
|
+
}, Fi = {
|
|
2884
2878
|
meta: "content",
|
|
2885
2879
|
link: "href",
|
|
2886
2880
|
htmlAttrs: "lang"
|
|
2887
|
-
},
|
|
2881
|
+
}, qi = (o) => ({
|
|
2888
2882
|
hooks: {
|
|
2889
2883
|
"tags:resolve": (e) => {
|
|
2890
|
-
const { tags: t } = e, n = t.find((
|
|
2884
|
+
const { tags: t } = e, n = t.find((l) => l.tag === "title")?.textContent, s = t.findIndex((l) => l.tag === "templateParams"), r = s !== -1 ? t[s].props : {}, p = r.separator || "|";
|
|
2891
2885
|
delete r.separator, r.pageTitle = ke(r.pageTitle || n || "", r, p);
|
|
2892
|
-
for (const
|
|
2893
|
-
const f =
|
|
2894
|
-
f && typeof
|
|
2895
|
-
typeof
|
|
2886
|
+
for (const l of t.filter((f) => f.processTemplateParams !== !1)) {
|
|
2887
|
+
const f = Fi[l.tag];
|
|
2888
|
+
f && typeof l.props[f] == "string" ? l.props[f] = ke(l.props[f], r, p) : (l.processTemplateParams === !0 || ["titleTemplate", "title"].includes(l.tag)) && ["innerHTML", "textContent"].forEach((c) => {
|
|
2889
|
+
typeof l[c] == "string" && (l[c] = ke(l[c], r, p));
|
|
2896
2890
|
});
|
|
2897
2891
|
}
|
|
2898
|
-
o._templateParams = r, o._separator = p, e.tags = t.filter((
|
|
2892
|
+
o._templateParams = r, o._separator = p, e.tags = t.filter((l) => l.tag !== "templateParams");
|
|
2899
2893
|
}
|
|
2900
2894
|
}
|
|
2901
|
-
}),
|
|
2895
|
+
}), Gi = {
|
|
2902
2896
|
hooks: {
|
|
2903
2897
|
"tags:resolve": (o) => {
|
|
2904
2898
|
const { tags: e } = o;
|
|
2905
|
-
let t = e.findIndex((
|
|
2906
|
-
const n = e.findIndex((
|
|
2899
|
+
let t = e.findIndex((s) => s.tag === "titleTemplate");
|
|
2900
|
+
const n = e.findIndex((s) => s.tag === "title");
|
|
2907
2901
|
if (n !== -1 && t !== -1) {
|
|
2908
|
-
const
|
|
2902
|
+
const s = ft(
|
|
2909
2903
|
e[t].textContent,
|
|
2910
2904
|
e[n].textContent
|
|
2911
2905
|
);
|
|
2912
|
-
|
|
2906
|
+
s !== null ? e[n].textContent = s || e[n].textContent : delete e[n];
|
|
2913
2907
|
} else if (t !== -1) {
|
|
2914
|
-
const
|
|
2908
|
+
const s = ft(
|
|
2915
2909
|
e[t].textContent
|
|
2916
2910
|
);
|
|
2917
|
-
|
|
2911
|
+
s !== null && (e[t].textContent = s, e[t].tag = "title", t = -1);
|
|
2918
2912
|
}
|
|
2919
2913
|
t !== -1 && delete e[t], o.tags = e.filter(Boolean);
|
|
2920
2914
|
}
|
|
2921
2915
|
}
|
|
2922
|
-
},
|
|
2916
|
+
}, ji = {
|
|
2923
2917
|
hooks: {
|
|
2924
2918
|
"tags:afterResolve": function(o) {
|
|
2925
2919
|
for (const e of o.tags)
|
|
@@ -2928,21 +2922,21 @@ const Ni = (o) => ({
|
|
|
2928
2922
|
}
|
|
2929
2923
|
};
|
|
2930
2924
|
// @__NO_SIDE_EFFECTS__
|
|
2931
|
-
function
|
|
2932
|
-
const e =
|
|
2933
|
-
return e.use(/* @__PURE__ */
|
|
2925
|
+
function Yi(o = {}) {
|
|
2926
|
+
const e = Qi(o);
|
|
2927
|
+
return e.use(/* @__PURE__ */ wi()), e;
|
|
2934
2928
|
}
|
|
2935
2929
|
function gt(o, e) {
|
|
2936
2930
|
return !o || o === "server" && e || o === "client" && !e;
|
|
2937
2931
|
}
|
|
2938
|
-
function
|
|
2939
|
-
const e =
|
|
2940
|
-
e.addHooks(o.hooks || {}), o.document = o.document || (
|
|
2932
|
+
function Qi(o = {}) {
|
|
2933
|
+
const e = bi();
|
|
2934
|
+
e.addHooks(o.hooks || {}), o.document = o.document || (Ti ? document : void 0);
|
|
2941
2935
|
const t = !o.document, n = () => {
|
|
2942
|
-
|
|
2936
|
+
l.dirty = !0, e.callHook("entries:updated", l);
|
|
2943
2937
|
};
|
|
2944
|
-
let
|
|
2945
|
-
const p = [],
|
|
2938
|
+
let s = 0, r = [];
|
|
2939
|
+
const p = [], l = {
|
|
2946
2940
|
plugins: p,
|
|
2947
2941
|
dirty: !1,
|
|
2948
2942
|
resolvedOptions: o,
|
|
@@ -2951,19 +2945,19 @@ function Ki(o = {}) {
|
|
|
2951
2945
|
return r;
|
|
2952
2946
|
},
|
|
2953
2947
|
use(f) {
|
|
2954
|
-
const c = typeof f == "function" ? f(
|
|
2948
|
+
const c = typeof f == "function" ? f(l) : f;
|
|
2955
2949
|
(!c.key || !p.some((m) => m.key === c.key)) && (p.push(c), gt(c.mode, t) && e.addHooks(c.hooks || {}));
|
|
2956
2950
|
},
|
|
2957
2951
|
push(f, c) {
|
|
2958
2952
|
delete c?.head;
|
|
2959
2953
|
const m = {
|
|
2960
|
-
_i:
|
|
2954
|
+
_i: s++,
|
|
2961
2955
|
input: f,
|
|
2962
2956
|
...c
|
|
2963
2957
|
};
|
|
2964
2958
|
return gt(m.mode, t) && (r.push(m), n()), {
|
|
2965
2959
|
dispose() {
|
|
2966
|
-
r = r.filter((g) => g._i !== m._i), e.callHook("entries:updated",
|
|
2960
|
+
r = r.filter((g) => g._i !== m._i), e.callHook("entries:updated", l), n();
|
|
2967
2961
|
},
|
|
2968
2962
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2969
2963
|
patch(g) {
|
|
@@ -2977,8 +2971,8 @@ function Ki(o = {}) {
|
|
|
2977
2971
|
for (const c of f.entries) {
|
|
2978
2972
|
const m = c.resolvedInput || c.input;
|
|
2979
2973
|
if (c.resolvedInput = await (c.transform ? c.transform(m) : m), c.resolvedInput)
|
|
2980
|
-
for (const g of await
|
|
2981
|
-
const k = { tag: g, entry: c, resolvedOptions:
|
|
2974
|
+
for (const g of await Vi(c)) {
|
|
2975
|
+
const k = { tag: g, entry: c, resolvedOptions: l.resolvedOptions };
|
|
2982
2976
|
await e.callHook("tag:normalise", k), f.tags.push(k.tag);
|
|
2983
2977
|
}
|
|
2984
2978
|
}
|
|
@@ -2987,56 +2981,56 @@ function Ki(o = {}) {
|
|
|
2987
2981
|
ssr: t
|
|
2988
2982
|
};
|
|
2989
2983
|
return [
|
|
2984
|
+
Oi,
|
|
2990
2985
|
Ai,
|
|
2991
|
-
|
|
2992
|
-
|
|
2986
|
+
Mi,
|
|
2987
|
+
Wi,
|
|
2993
2988
|
Ui,
|
|
2994
|
-
|
|
2989
|
+
qi,
|
|
2995
2990
|
Gi,
|
|
2996
2991
|
ji,
|
|
2997
|
-
Yi,
|
|
2998
2992
|
...o?.plugins || []
|
|
2999
|
-
].forEach((f) =>
|
|
2993
|
+
].forEach((f) => l.use(f)), l.hooks.callHook("init", l), l;
|
|
3000
2994
|
}
|
|
3001
|
-
const
|
|
3002
|
-
function
|
|
3003
|
-
return typeof o == "function" ? o() :
|
|
2995
|
+
const Ki = vo.startsWith("3");
|
|
2996
|
+
function Ji(o) {
|
|
2997
|
+
return typeof o == "function" ? o() : u(o);
|
|
3004
2998
|
}
|
|
3005
2999
|
function Ge(o, e = "") {
|
|
3006
3000
|
if (o instanceof Promise)
|
|
3007
3001
|
return o;
|
|
3008
|
-
const t =
|
|
3002
|
+
const t = Ji(o);
|
|
3009
3003
|
return !o || !t ? t : Array.isArray(t) ? t.map((n) => Ge(n, e)) : typeof t == "object" ? Object.fromEntries(
|
|
3010
|
-
Object.entries(t).map(([n,
|
|
3004
|
+
Object.entries(t).map(([n, s]) => n === "titleTemplate" || n.startsWith("on") ? [n, u(s)] : [n, Ge(s, n)])
|
|
3011
3005
|
) : t;
|
|
3012
3006
|
}
|
|
3013
|
-
const
|
|
3007
|
+
const Xi = {
|
|
3014
3008
|
hooks: {
|
|
3015
3009
|
"entries:resolve": function(o) {
|
|
3016
3010
|
for (const e of o.entries)
|
|
3017
3011
|
e.resolvedInput = Ge(e.input);
|
|
3018
3012
|
}
|
|
3019
3013
|
}
|
|
3020
|
-
},
|
|
3021
|
-
function
|
|
3014
|
+
}, Zi = "usehead";
|
|
3015
|
+
function er(o) {
|
|
3022
3016
|
return {
|
|
3023
3017
|
install(t) {
|
|
3024
|
-
|
|
3018
|
+
Ki && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(Zi, o));
|
|
3025
3019
|
}
|
|
3026
3020
|
}.install;
|
|
3027
3021
|
}
|
|
3028
|
-
function
|
|
3022
|
+
function tr(o = {}) {
|
|
3029
3023
|
o.domDelayFn = o.domDelayFn || ((t) => It(() => setTimeout(() => t(), 0)));
|
|
3030
|
-
const e = /* @__PURE__ */
|
|
3031
|
-
return e.use(
|
|
3024
|
+
const e = /* @__PURE__ */ Yi(o);
|
|
3025
|
+
return e.use(Xi), e.install = er(e), e;
|
|
3032
3026
|
}
|
|
3033
|
-
const
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3027
|
+
const or = _o(), nr = tr(), ir = bo(), te = ko({ components: { Hotel: ni } });
|
|
3028
|
+
te.use(nr);
|
|
3029
|
+
te.use(or);
|
|
3030
|
+
te.use(ir);
|
|
3031
|
+
te.use(Vt);
|
|
3032
|
+
te.use(zo);
|
|
3033
|
+
te.use(xo);
|
|
3034
|
+
te.use(Do);
|
|
3035
|
+
te.use(Io, { bootstrap: !0 });
|
|
3036
|
+
te.mount("#konnectio-hotel-app");
|