@konnectio/core 4.0.41 → 4.0.42
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-79f8bfae.cjs → ActionField-58df4817.cjs} +1 -1
- package/dist/{ActionField-054975da.js → ActionField-deec84ca.js} +2 -2
- package/dist/ActionField-deec84ca.js.br +0 -0
- package/dist/{AvailabilitySkeleton-3e6890a1.js → AvailabilitySkeleton-16e7a713.js} +5 -5
- package/dist/AvailabilitySkeleton-16e7a713.js.br +0 -0
- package/dist/{AvailabilitySkeleton-c92fc1d1.cjs → AvailabilitySkeleton-ca0f55c9.cjs} +1 -1
- package/dist/CheckoutWindow-4f6a485b.cjs +1 -0
- package/dist/CheckoutWindow-7251f2b5.js +202 -0
- package/dist/CheckoutWindow-7251f2b5.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-36580b9f.cjs +2 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-77ca2367.js → DateField.vue_vue_type_style_index_0_lang-c61ab1c5.js} +2963 -2948
- package/dist/DateField.vue_vue_type_style_index_0_lang-c61ab1c5.js.br +0 -0
- package/dist/{Field-73b09327.cjs → Field-773fbfa9.cjs} +1 -1
- package/dist/{Field-dffa8f30.js → Field-ce51be09.js} +2 -2
- package/dist/Field-ce51be09.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-1108dcd6.cjs → NumberField.vue_vue_type_script_setup_true_lang-10a5f9ca.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-3517aeda.js → NumberField.vue_vue_type_script_setup_true_lang-9f68127f.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-9f68127f.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-9544cd25.cjs → SelectField.vue_vue_type_style_index_0_lang-6990aef4.cjs} +38 -38
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-bc4ca9a5.js → SelectField.vue_vue_type_style_index_0_lang-6f724c35.js} +27 -27
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6f724c35.js.br +0 -0
- package/dist/{ThankYou-d42a4e49.js → ThankYou-81753dcb.js} +4757 -4281
- package/dist/ThankYou-81753dcb.js.br +0 -0
- package/dist/ThankYou-b538183d.cjs +59 -0
- package/dist/{_-f51b7e1b.js → _-a6ac9a82.js} +1 -1
- package/dist/{_-b8fd5e7f.cjs → _-c9150186.cjs} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/{event-0c5b54ea.js → event-3b54636f.js} +7 -7
- package/dist/event-3b54636f.js.br +0 -0
- package/dist/{event-6671499b.cjs → event-f5b6a5fb.cjs} +1 -1
- package/dist/event.cjs +1 -1
- package/dist/event.js +108 -109
- 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 +293 -301
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +6 -6
- package/dist/hotel.js +1155 -1153
- package/dist/hotel.js.br +0 -0
- package/dist/layouts/Hotel.vue.d.ts +5 -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 +6 -6
- package/dist/ActionField-054975da.js.br +0 -0
- package/dist/AvailabilitySkeleton-3e6890a1.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-56ca7795.cjs +0 -2
- package/dist/DateField.vue_vue_type_style_index_0_lang-77ca2367.js.br +0 -0
- package/dist/Field-dffa8f30.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-3517aeda.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-bc4ca9a5.js.br +0 -0
- package/dist/ThankYou-d42a4e49.js.br +0 -0
- package/dist/ThankYou-da4c5f50.cjs +0 -54
- package/dist/event-0c5b54ea.js.br +0 -0
- package/dist/index-2920831d.cjs +0 -1
- package/dist/index-906997b4.js +0 -375
- package/dist/index-906997b4.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
import { k as K, D as
|
|
2
|
-
import { R as
|
|
3
|
-
import { A as
|
|
4
|
-
import { _ as co } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as
|
|
6
|
-
import { C as Tt, P as
|
|
7
|
-
import { E as oe } from "./_-
|
|
1
|
+
import { k as K, D as he, aD as No, s as Z, c as Re, ab as io, ac as pe, m as E, n as x, W as ro, q as d, w as P, aa as Te, A as y, F as A, K as ce, Y as Bt, aE as Uo, v as T, a3 as G, a2 as q, aF as Pe, a5 as Et, p as C, H as ne, x as H, J as fe, f as j, B as it, P as ao, Q as so, _ as ie, r as U, o as Ne, ay as Mt, ag as We, aG as lo, aB as qo, a1 as De, aH as Go, aI as jo, ao as Yo, ah as zt, aj as ut, ad as Wt, y as se, aJ as Ko, am as wt, C as He, aK as Qo, I as uo, l as xt, T as de, az as Xo, b as Jo, N as Zo, a6 as en, L as Ft, G as X, M as tn, aL as on, U as nn, a8 as rn, R as an, V as sn, a9 as ln } from "./SelectField.vue_vue_type_style_index_0_lang-6f724c35.js";
|
|
2
|
+
import { R as un, S as dn, F as cn, _ as fn, B as It, a as pn, M as hn, T as mn, x as vn } from "./ThankYou-81753dcb.js";
|
|
3
|
+
import { A as yn, H as gn } from "./AvailabilitySkeleton-16e7a713.js";
|
|
4
|
+
import { _ as co } from "./NumberField.vue_vue_type_script_setup_true_lang-9f68127f.js";
|
|
5
|
+
import { _ as bn } from "./DateField.vue_vue_type_style_index_0_lang-c61ab1c5.js";
|
|
6
|
+
import { C as Tt, P as _n, a as kn } from "./CheckoutWindow-7251f2b5.js";
|
|
7
|
+
import { E as oe } from "./_-a6ac9a82.js";
|
|
8
8
|
import { c as fo, a as po } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
11
|
-
const
|
|
12
|
-
const
|
|
9
|
+
import "./ActionField-deec84ca.js";
|
|
10
|
+
import "./Field-ce51be09.js";
|
|
11
|
+
const En = /* @__PURE__ */ y("br", null, null, -1);
|
|
12
|
+
const Tn = { key: 0 }, Cn = { key: 1 }, dt = /* @__PURE__ */ K({
|
|
13
13
|
__name: "HotelReservationForm",
|
|
14
14
|
props: {
|
|
15
15
|
showGiftCard: { type: Boolean, default: !1 },
|
|
16
16
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
17
17
|
},
|
|
18
18
|
setup(t) {
|
|
19
|
-
const { t: e } =
|
|
20
|
-
hideArrivalDepartureInputs:
|
|
19
|
+
const { t: e } = he(), o = No(), {
|
|
20
|
+
hideArrivalDepartureInputs: n,
|
|
21
21
|
disableArrivalUserSelection: r,
|
|
22
22
|
disableDepartureUserSelection: a,
|
|
23
|
-
arrivalDefault:
|
|
23
|
+
arrivalDefault: c,
|
|
24
24
|
departureDefault: l,
|
|
25
25
|
currency: h
|
|
26
26
|
} = Z(Re()), {
|
|
27
27
|
arrivalDate: u,
|
|
28
28
|
departureDate: v
|
|
29
|
-
} = Z(
|
|
29
|
+
} = Z(io()), {
|
|
30
30
|
arrivalTime: m,
|
|
31
31
|
departureTime: _,
|
|
32
32
|
roomDisplay: s,
|
|
33
33
|
templateID: g,
|
|
34
34
|
totalPrice: k,
|
|
35
|
-
areListingsLoading:
|
|
36
|
-
getSelectedPackageRoom:
|
|
35
|
+
areListingsLoading: f,
|
|
36
|
+
getSelectedPackageRoom: i,
|
|
37
37
|
selectedPackage: p
|
|
38
|
-
} = Z(
|
|
38
|
+
} = Z(pe()), { removeRoom: b } = pe();
|
|
39
39
|
function $(w) {
|
|
40
40
|
return w.reduce((L, { totalPrice: S }) => L + S, 0);
|
|
41
41
|
}
|
|
42
|
-
return (w, O) => (E(),
|
|
43
|
-
"total-price":
|
|
42
|
+
return (w, O) => (E(), x(un, {
|
|
43
|
+
"total-price": d(k),
|
|
44
44
|
"show-gift-card": w.showGiftCard,
|
|
45
45
|
"show-terms-notice": w.showTermsNotice,
|
|
46
|
-
"is-sidebar-loading": f
|
|
47
|
-
notice:
|
|
46
|
+
"is-sidebar-loading": d(f),
|
|
47
|
+
notice: d(e)("hotel.reservationNotice")
|
|
48
48
|
}, ro({
|
|
49
|
-
form:
|
|
49
|
+
form: P(() => [
|
|
50
50
|
Te(w.$slots, "form")
|
|
51
51
|
]),
|
|
52
|
-
"reservation-summary":
|
|
52
|
+
"reservation-summary": P(() => [
|
|
53
53
|
y("li", null, [
|
|
54
|
-
y("span", null, A(
|
|
55
|
-
y("b", null, A(
|
|
54
|
+
y("span", null, A(d(e)("booking.reservation.arrival")), 1),
|
|
55
|
+
y("b", null, A(d(n) ? d(ce)(d(u)) : `${d(ce)(d(u))}, ${d(r) ? d(c) : d(m)}`), 1)
|
|
56
56
|
]),
|
|
57
57
|
y("li", null, [
|
|
58
|
-
y("span", null, A(
|
|
59
|
-
y("b", null, A(
|
|
58
|
+
y("span", null, A(d(e)("booking.reservation.departure")), 1),
|
|
59
|
+
y("b", null, A(d(n) ? d(ce)(d(v)) : `${d(ce)(d(v))}, ${d(a) ? d(l) : d(_)}`), 1)
|
|
60
60
|
]),
|
|
61
61
|
y("li", null, [
|
|
62
|
-
y("span", null, A(
|
|
63
|
-
y("b", null, A(
|
|
62
|
+
y("span", null, A(d(e)("booking.reservation.nights")), 1),
|
|
63
|
+
y("b", null, A(d(Bt)(d(u), d(v))) + " " + A(d(Uo)(d(Bt)(d(u), d(v)) === 1 ? d(e)("booking.reservation.night") : d(e)("booking.reservation.nights"))), 1)
|
|
64
64
|
])
|
|
65
65
|
]),
|
|
66
|
-
"price-summary":
|
|
67
|
-
isNaN(
|
|
66
|
+
"price-summary": P(() => [
|
|
67
|
+
isNaN(d(g)) && d(s).length > 0 ? (E(!0), T(q, { key: 0 }, G(d(s), ({
|
|
68
68
|
roomGroupID: L,
|
|
69
69
|
title: S,
|
|
70
|
-
variants:
|
|
70
|
+
variants: V
|
|
71
71
|
}) => (E(), T("div", { key: L }, [
|
|
72
72
|
y("h6", null, [
|
|
73
73
|
y("span", null, A(S), 1)
|
|
74
74
|
]),
|
|
75
|
-
(E(!0), T(
|
|
76
|
-
(E(!0), T(
|
|
75
|
+
(E(!0), T(q, null, G(V, (B, R) => (E(), T("div", { key: R }, [
|
|
76
|
+
(E(!0), T(q, null, G(B.rooms, (M, z) => (E(), T("ul", { key: z }, [
|
|
77
77
|
y("li", null, [
|
|
78
78
|
y("span", null, [
|
|
79
|
-
y("span", null, A(
|
|
80
|
-
|
|
79
|
+
y("span", null, A(d(Pe)(B.name)), 1),
|
|
80
|
+
En,
|
|
81
81
|
y("span", null, [
|
|
82
82
|
Et("( "),
|
|
83
|
-
C(
|
|
83
|
+
C(ne, {
|
|
84
84
|
icon: "male",
|
|
85
85
|
type: "fas",
|
|
86
86
|
color: "font"
|
|
87
87
|
}),
|
|
88
88
|
y("span", null, A(M.adultsCount), 1),
|
|
89
|
-
M.childrenCount > 0 ? (E(), T(
|
|
90
|
-
C(
|
|
89
|
+
M.childrenCount > 0 ? (E(), T(q, { key: 0 }, [
|
|
90
|
+
C(ne, {
|
|
91
91
|
icon: "child",
|
|
92
92
|
type: "fas",
|
|
93
93
|
color: "font"
|
|
94
94
|
}),
|
|
95
95
|
y("span", null, A(M.childrenCount), 1)
|
|
96
|
-
], 64)) :
|
|
96
|
+
], 64)) : H("", !0),
|
|
97
97
|
Et(") ")
|
|
98
98
|
])
|
|
99
99
|
]),
|
|
100
100
|
y("b", null, [
|
|
101
|
-
y("span", null, A(
|
|
102
|
-
|
|
101
|
+
y("span", null, A(d(fe)(M.totalPrice, d(h))), 1),
|
|
102
|
+
H("", !0)
|
|
103
103
|
])
|
|
104
104
|
]),
|
|
105
|
-
$(M.roomAddons) > 0 ? (E(), T("li",
|
|
106
|
-
y("span", null, A(
|
|
107
|
-
y("b", null, A(
|
|
108
|
-
])) :
|
|
105
|
+
$(M.roomAddons) > 0 ? (E(), T("li", Tn, [
|
|
106
|
+
y("span", null, A(d(e)("booking.reservation.addons")), 1),
|
|
107
|
+
y("b", null, A(d(fe)($(M.roomAddons), d(h))), 1)
|
|
108
|
+
])) : H("", !0)
|
|
109
109
|
]))), 128))
|
|
110
110
|
]))), 128))
|
|
111
|
-
]))), 128)) :
|
|
112
|
-
|
|
111
|
+
]))), 128)) : H("", !0),
|
|
112
|
+
d(i) && d(p) ? (E(), T("div", Cn, [
|
|
113
113
|
y("h6", null, [
|
|
114
|
-
y("span", null, A(
|
|
114
|
+
y("span", null, A(d(Pe)(d(p).name)), 1)
|
|
115
115
|
]),
|
|
116
116
|
y("div", null, [
|
|
117
117
|
y("ul", null, [
|
|
118
118
|
y("li", null, [
|
|
119
119
|
y("span", null, [
|
|
120
|
-
y("span", null, A(
|
|
120
|
+
y("span", null, A(d(Pe)(d(i).title)), 1)
|
|
121
121
|
]),
|
|
122
122
|
y("b", null, [
|
|
123
|
-
y("span", null, A(
|
|
123
|
+
y("span", null, A(d(fe)(d(i).extraPrice, d(h))), 1)
|
|
124
124
|
])
|
|
125
125
|
])
|
|
126
126
|
])
|
|
127
127
|
])
|
|
128
|
-
])) :
|
|
128
|
+
])) : H("", !0)
|
|
129
129
|
]),
|
|
130
|
-
navigation:
|
|
130
|
+
navigation: P(() => [
|
|
131
131
|
Te(w.$slots, "navigation")
|
|
132
132
|
]),
|
|
133
133
|
_: 2
|
|
134
134
|
}, [
|
|
135
|
-
|
|
135
|
+
d(o).addons ? {
|
|
136
136
|
name: "addons",
|
|
137
|
-
fn:
|
|
137
|
+
fn: P(() => [
|
|
138
138
|
Te(w.$slots, "addons")
|
|
139
139
|
]),
|
|
140
140
|
key: "0"
|
|
141
141
|
} : void 0
|
|
142
142
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
143
143
|
}
|
|
144
|
-
}),
|
|
144
|
+
}), Sn = (t) => (ao("data-v-c84b41ba"), t = t(), so(), t), $n = { key: 0 }, wn = { class: "konnectio-selected-room-config" }, In = { class: "konnectio-selected-room-config-people" }, Ln = { key: 0 }, An = { class: "konnectio-selected-room-config-price" }, Hn = /* @__PURE__ */ Sn(() => /* @__PURE__ */ y("span", null, null, -1)), Pn = /* @__PURE__ */ K({
|
|
145
145
|
__name: "RoomConfigField",
|
|
146
146
|
props: {
|
|
147
147
|
modelValue: {},
|
|
@@ -152,15 +152,15 @@ const Ti = { key: 0 }, Ci = { key: 1 }, dt = /* @__PURE__ */ K({
|
|
|
152
152
|
},
|
|
153
153
|
emits: ["update:modelValue"],
|
|
154
154
|
setup(t, { emit: e }) {
|
|
155
|
-
const { t: o } =
|
|
156
|
-
function
|
|
155
|
+
const { t: o } = he(), { currency: n } = Z(Re()), r = e, a = t;
|
|
156
|
+
function c(h) {
|
|
157
157
|
r("update:modelValue", h);
|
|
158
158
|
}
|
|
159
159
|
const l = j({
|
|
160
160
|
get: () => a.modelValue,
|
|
161
|
-
set: (h) =>
|
|
161
|
+
set: (h) => c(h)
|
|
162
162
|
});
|
|
163
|
-
return (h, u) => (E(),
|
|
163
|
+
return (h, u) => (E(), x(it, {
|
|
164
164
|
modelValue: l.value,
|
|
165
165
|
"onUpdate:modelValue": u[0] || (u[0] = (v) => l.value = v),
|
|
166
166
|
label: h.label,
|
|
@@ -173,40 +173,40 @@ const Ti = { key: 0 }, Ci = { key: 1 }, dt = /* @__PURE__ */ K({
|
|
|
173
173
|
required: h.required,
|
|
174
174
|
searchable: !1
|
|
175
175
|
}, {
|
|
176
|
-
option:
|
|
176
|
+
option: P(({ data: v }) => [
|
|
177
177
|
y("span", null, [
|
|
178
|
-
C(
|
|
178
|
+
C(ne, {
|
|
179
179
|
icon: "male",
|
|
180
180
|
type: "fas",
|
|
181
181
|
color: "font"
|
|
182
182
|
}),
|
|
183
183
|
y("span", null, A(`${v.adults}`), 1),
|
|
184
|
-
v.children > 0 ? (E(), T("span", $
|
|
185
|
-
C(
|
|
184
|
+
v.children > 0 ? (E(), T("span", $n, [
|
|
185
|
+
C(ne, {
|
|
186
186
|
icon: "child",
|
|
187
187
|
type: "fas",
|
|
188
188
|
color: "font"
|
|
189
189
|
}),
|
|
190
190
|
y("span", null, A(`${v.children}`), 1)
|
|
191
|
-
])) :
|
|
192
|
-
y("span", null, A(`(${
|
|
191
|
+
])) : H("", !0),
|
|
192
|
+
y("span", null, A(`(${d(fe)(v.price, d(n))})`), 1)
|
|
193
193
|
])
|
|
194
194
|
]),
|
|
195
|
-
"selected-option":
|
|
196
|
-
y("div",
|
|
197
|
-
y("div",
|
|
195
|
+
"selected-option": P(({ data: v }) => [
|
|
196
|
+
y("div", wn, [
|
|
197
|
+
y("div", In, [
|
|
198
198
|
y("div", null, [
|
|
199
|
-
|
|
200
|
-
y("span", null, A(`${v.adults} ${v.adults === 1 ?
|
|
199
|
+
H("", !0),
|
|
200
|
+
y("span", null, A(`${v.adults} ${v.adults === 1 ? d(o)("general.adult") : d(o)("general.adults")}`), 1)
|
|
201
201
|
]),
|
|
202
|
-
v.children > 0 ? (E(), T("div",
|
|
203
|
-
|
|
204
|
-
y("span", null, A(`& ${v.children} ${v.children === 1 ?
|
|
205
|
-
])) :
|
|
202
|
+
v.children > 0 ? (E(), T("div", Ln, [
|
|
203
|
+
H("", !0),
|
|
204
|
+
y("span", null, A(`& ${v.children} ${v.children === 1 ? d(o)("general.child") : d(o)("general.children")}`), 1)
|
|
205
|
+
])) : H("", !0)
|
|
206
206
|
]),
|
|
207
|
-
y("div",
|
|
208
|
-
|
|
209
|
-
Et(" " + A(`(${
|
|
207
|
+
y("div", An, [
|
|
208
|
+
Hn,
|
|
209
|
+
Et(" " + A(`(${d(fe)(v.price, d(n))})`), 1)
|
|
210
210
|
])
|
|
211
211
|
])
|
|
212
212
|
]),
|
|
@@ -214,17 +214,17 @@ const Ti = { key: 0 }, Ci = { key: 1 }, dt = /* @__PURE__ */ K({
|
|
|
214
214
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
215
215
|
}
|
|
216
216
|
});
|
|
217
|
-
const
|
|
217
|
+
const Vn = /* @__PURE__ */ ie(Pn, [["__scopeId", "data-v-c84b41ba"]]), On = ["src"], Dn = /* @__PURE__ */ K({
|
|
218
218
|
__name: "Gallery",
|
|
219
219
|
props: {
|
|
220
220
|
gallery: {}
|
|
221
221
|
},
|
|
222
222
|
setup(t) {
|
|
223
|
-
const e =
|
|
224
|
-
|
|
225
|
-
const o =
|
|
223
|
+
const e = U();
|
|
224
|
+
U();
|
|
225
|
+
const o = U();
|
|
226
226
|
return Ne(() => {
|
|
227
|
-
o.value = [new
|
|
227
|
+
o.value = [new dn({
|
|
228
228
|
type: "index",
|
|
229
229
|
synchronizedFlickingOptions: [
|
|
230
230
|
{
|
|
@@ -238,37 +238,37 @@ const Vi = /* @__PURE__ */ ne(Pi, [["__scopeId", "data-v-c84b41ba"]]), Oi = ["sr
|
|
|
238
238
|
}*/
|
|
239
239
|
]
|
|
240
240
|
})];
|
|
241
|
-
}), (
|
|
242
|
-
|
|
241
|
+
}), (n, r) => (E(), T("div", null, [
|
|
242
|
+
n.gallery.length > 1 ? (E(), x(d(cn), {
|
|
243
243
|
ref_key: "slideshow",
|
|
244
244
|
ref: e,
|
|
245
|
-
key:
|
|
245
|
+
key: n.gallery.length,
|
|
246
246
|
options: { align: "prev", circular: !0, bounce: 30 },
|
|
247
247
|
plugins: o.value
|
|
248
248
|
}, {
|
|
249
|
-
default:
|
|
250
|
-
(E(!0), T(
|
|
249
|
+
default: P(() => [
|
|
250
|
+
(E(!0), T(q, null, G(n.gallery, ({ medium: a, large: c }, l) => (E(), T("div", {
|
|
251
251
|
key: l,
|
|
252
252
|
class: "booking-availability-listing-featured-img"
|
|
253
253
|
}, [
|
|
254
|
-
y("img", { src:
|
|
254
|
+
y("img", { src: c }, null, 8, On)
|
|
255
255
|
]))), 128))
|
|
256
256
|
]),
|
|
257
257
|
_: 1
|
|
258
|
-
}, 8, ["plugins"])) :
|
|
258
|
+
}, 8, ["plugins"])) : H("", !0)
|
|
259
259
|
]));
|
|
260
260
|
}
|
|
261
|
-
}),
|
|
261
|
+
}), Rn = { class: "fresh-booking-modal-gallery" }, Bn = {
|
|
262
262
|
key: 0,
|
|
263
263
|
class: "fresh-booking-modal-facilities"
|
|
264
|
-
},
|
|
264
|
+
}, Mn = {
|
|
265
265
|
class: "fresh-booking-modal-facilities-masonry",
|
|
266
266
|
"transition-duration": "0s",
|
|
267
267
|
"destroy-delay": 0,
|
|
268
268
|
"percent-position": !0,
|
|
269
269
|
"column-width": ".grid-sizer",
|
|
270
270
|
"item-selector": ".fresh-booking-modal-facility"
|
|
271
|
-
},
|
|
271
|
+
}, zn = { class: "grid-sizer" }, Wn = /* @__PURE__ */ K({
|
|
272
272
|
__name: "Info",
|
|
273
273
|
props: {
|
|
274
274
|
title: {},
|
|
@@ -278,18 +278,18 @@ const Vi = /* @__PURE__ */ ne(Pi, [["__scopeId", "data-v-c84b41ba"]]), Oi = ["sr
|
|
|
278
278
|
},
|
|
279
279
|
setup(t) {
|
|
280
280
|
return (e, o) => {
|
|
281
|
-
const
|
|
282
|
-
return E(),
|
|
281
|
+
const n = Mt("masonry-tile"), r = Mt("masonry");
|
|
282
|
+
return E(), x(fn, {
|
|
283
283
|
title: e.title,
|
|
284
284
|
description: e.description
|
|
285
285
|
}, ro({
|
|
286
|
-
default:
|
|
287
|
-
e.facilities && e.facilities.length !== 0 ? (E(), T("div",
|
|
288
|
-
We((E(), T("ul",
|
|
289
|
-
We(y("div",
|
|
290
|
-
[
|
|
286
|
+
default: P(() => [
|
|
287
|
+
e.facilities && e.facilities.length !== 0 ? (E(), T("div", Bn, [
|
|
288
|
+
We((E(), T("ul", Mn, [
|
|
289
|
+
We(y("div", zn, null, 512), [
|
|
290
|
+
[n]
|
|
291
291
|
]),
|
|
292
|
-
(E(!0), T(
|
|
292
|
+
(E(!0), T(q, null, G(e.facilities, ({ name: a, subFacilities: c }, l) => We((E(), T("li", {
|
|
293
293
|
key: l,
|
|
294
294
|
class: "fresh-booking-modal-facility"
|
|
295
295
|
}, [
|
|
@@ -297,23 +297,23 @@ const Vi = /* @__PURE__ */ ne(Pi, [["__scopeId", "data-v-c84b41ba"]]), Oi = ["sr
|
|
|
297
297
|
y("span", null, A(a), 1)
|
|
298
298
|
]),
|
|
299
299
|
y("ul", null, [
|
|
300
|
-
(E(!0), T(
|
|
300
|
+
(E(!0), T(q, null, G(c, ({ name: h }, u) => (E(), T("li", { key: u }, A(h), 1))), 128))
|
|
301
301
|
])
|
|
302
302
|
])), [
|
|
303
|
-
[
|
|
303
|
+
[n]
|
|
304
304
|
])), 128))
|
|
305
305
|
])), [
|
|
306
306
|
[r]
|
|
307
307
|
])
|
|
308
|
-
])) :
|
|
308
|
+
])) : H("", !0)
|
|
309
309
|
]),
|
|
310
310
|
_: 2
|
|
311
311
|
}, [
|
|
312
312
|
e.gallery ? {
|
|
313
313
|
name: "above-description",
|
|
314
|
-
fn:
|
|
315
|
-
y("div",
|
|
316
|
-
C(
|
|
314
|
+
fn: P(() => [
|
|
315
|
+
y("div", Rn, [
|
|
316
|
+
C(Dn, { gallery: e.gallery }, null, 8, ["gallery"])
|
|
317
317
|
])
|
|
318
318
|
]),
|
|
319
319
|
key: "0"
|
|
@@ -322,17 +322,17 @@ const Vi = /* @__PURE__ */ ne(Pi, [["__scopeId", "data-v-c84b41ba"]]), Oi = ["sr
|
|
|
322
322
|
};
|
|
323
323
|
}
|
|
324
324
|
});
|
|
325
|
-
const
|
|
326
|
-
const
|
|
325
|
+
const xn = /* @__PURE__ */ ie(Wn, [["__scopeId", "data-v-9a91cedb"]]), Fn = { class: "konnectio-availability-listing-selection" }, Nn = { key: 1 }, Un = { class: "fresh-booking-listing-config-body" }, qn = { class: "fresh-booking-listing-units-body" };
|
|
326
|
+
const Gn = /* @__PURE__ */ K({
|
|
327
327
|
__name: "Hotel",
|
|
328
328
|
props: {
|
|
329
329
|
room: {},
|
|
330
330
|
layout: {}
|
|
331
331
|
},
|
|
332
332
|
setup(t) {
|
|
333
|
-
const { t: e } =
|
|
333
|
+
const { t: e } = he(), o = t, n = U([]);
|
|
334
334
|
function r(S) {
|
|
335
|
-
|
|
335
|
+
n.value[S].config.push({
|
|
336
336
|
id: NaN,
|
|
337
337
|
units: 0,
|
|
338
338
|
addons: []
|
|
@@ -341,19 +341,19 @@ const Gi = /* @__PURE__ */ K({
|
|
|
341
341
|
const a = j(() => o.room.rates.map((S) => ({
|
|
342
342
|
label: S.name,
|
|
343
343
|
value: S.id
|
|
344
|
-
}))),
|
|
345
|
-
j(() => a.value.filter((S) => !
|
|
346
|
-
const { hideAvailableRoomAmount: l, currency: h } = Z(Re()), { roomSelect: u } = Z(
|
|
347
|
-
(S,
|
|
344
|
+
}))), c = j(() => n.value.flatMap((S) => S.id));
|
|
345
|
+
j(() => a.value.filter((S) => !c.value.includes(S.value)));
|
|
346
|
+
const { hideAvailableRoomAmount: l, currency: h } = Z(Re()), { roomSelect: u } = Z(pe()), { viewItem: v, addToCart: m, removeFromCart: _ } = lo(), s = (S, V) => o.room.rates.find((B) => B.id === S)?.occupantRates.find((B) => B.index === V), g = j(() => o.room.rates.reduce(
|
|
347
|
+
(S, V) => S < V.rackRate ? S : V.rackRate,
|
|
348
348
|
1 / 0
|
|
349
|
-
)), k = j(() => o.room.rates.every((S) => S.isBreakfastIncluded === !0)),
|
|
350
|
-
value:
|
|
351
|
-
price:
|
|
352
|
-
adults:
|
|
353
|
-
children:
|
|
354
|
-
hasBreakfast:
|
|
349
|
+
)), k = j(() => o.room.rates.every((S) => S.isBreakfastIncluded === !0)), f = (S, V) => s(S, V) ? s(S, V)?.rooms : null, i = (S) => o.room.rates.length > 0 ? o.room.rates.find((V) => V.id === S)?.occupantRates.map((V) => ({
|
|
350
|
+
value: V.index,
|
|
351
|
+
price: V.totalPrice,
|
|
352
|
+
adults: V.adultsCount,
|
|
353
|
+
children: V.childrenCount,
|
|
354
|
+
hasBreakfast: V.hasBreakfast
|
|
355
355
|
})) || [] : [], p = j(() => o.room.rates.length > 1), { open: b, close: $ } = qo({
|
|
356
|
-
component:
|
|
356
|
+
component: xn,
|
|
357
357
|
attrs: {
|
|
358
358
|
title: o.room.title,
|
|
359
359
|
description: o.room.description,
|
|
@@ -368,14 +368,14 @@ const Gi = /* @__PURE__ */ K({
|
|
|
368
368
|
b(), v(o.room.title);
|
|
369
369
|
}
|
|
370
370
|
function O() {
|
|
371
|
-
p.value ?
|
|
371
|
+
p.value ? n.value.push({
|
|
372
372
|
id: void 0,
|
|
373
373
|
config: [{
|
|
374
374
|
id: o.room.rates[0].occupantRateIndex || NaN,
|
|
375
375
|
units: 0,
|
|
376
376
|
addons: []
|
|
377
377
|
}]
|
|
378
|
-
}) :
|
|
378
|
+
}) : n.value.push({
|
|
379
379
|
id: o.room.rates[0].id,
|
|
380
380
|
config: [{
|
|
381
381
|
id: o.room.rates[0].occupantRateIndex || NaN,
|
|
@@ -387,25 +387,25 @@ const Gi = /* @__PURE__ */ K({
|
|
|
387
387
|
Ne(() => {
|
|
388
388
|
O();
|
|
389
389
|
});
|
|
390
|
-
const L = j(() => JSON.parse(JSON.stringify(
|
|
391
|
-
return De(L, (S,
|
|
392
|
-
|
|
393
|
-
B.config.forEach((M,
|
|
394
|
-
const Q = M.units,
|
|
395
|
-
Q !==
|
|
390
|
+
const L = j(() => JSON.parse(JSON.stringify(n.value)));
|
|
391
|
+
return De(L, (S, V) => {
|
|
392
|
+
V.length > 0 && S.forEach((B, R) => {
|
|
393
|
+
B.config.forEach((M, z) => {
|
|
394
|
+
const Q = M.units, le = V[R].config[z].units;
|
|
395
|
+
Q !== le && (Q > le ? (n.value[R].config[z].addons.push({}), m({
|
|
396
396
|
id: o.room.id,
|
|
397
397
|
name: o.room.title,
|
|
398
398
|
value: o.room.rates[R].rackRate
|
|
399
|
-
})) : (
|
|
399
|
+
})) : (n.value[R].config[z].addons.pop(), _({
|
|
400
400
|
id: o.room.id,
|
|
401
401
|
name: o.room.title,
|
|
402
402
|
value: o.room.rates[R].rackRate
|
|
403
403
|
})));
|
|
404
404
|
});
|
|
405
405
|
});
|
|
406
|
-
}, { deep: !0 }), De(
|
|
407
|
-
u.value[o.room.id] =
|
|
408
|
-
}, { deep: !0 }), (S,
|
|
406
|
+
}, { deep: !0 }), De(n, () => {
|
|
407
|
+
u.value[o.room.id] = n.value;
|
|
408
|
+
}, { deep: !0 }), (S, V) => (E(), x(It, {
|
|
409
409
|
"listing-id": S.room.id,
|
|
410
410
|
gallery: S.room.images,
|
|
411
411
|
name: S.room.title,
|
|
@@ -416,59 +416,59 @@ const Gi = /* @__PURE__ */ K({
|
|
|
416
416
|
"includes-breakfast": k.value,
|
|
417
417
|
callback: w
|
|
418
418
|
}, {
|
|
419
|
-
action:
|
|
420
|
-
y("div",
|
|
421
|
-
(E(!0), T(
|
|
419
|
+
action: P(() => [
|
|
420
|
+
y("div", Fn, [
|
|
421
|
+
(E(!0), T(q, null, G(n.value, (B, R) => (E(), T("div", {
|
|
422
422
|
key: B.id,
|
|
423
423
|
class: "freshbooking-hotel-room"
|
|
424
424
|
}, [
|
|
425
|
-
p.value ? (E(),
|
|
425
|
+
p.value ? (E(), x(it, {
|
|
426
426
|
key: 0,
|
|
427
427
|
modelValue: B.id,
|
|
428
428
|
"onUpdate:modelValue": (M) => B.id = M,
|
|
429
|
-
label:
|
|
430
|
-
placeholder:
|
|
429
|
+
label: d(e)("hotel.roomVariant"),
|
|
430
|
+
placeholder: d(e)("hotel.chooseARoomVariant"),
|
|
431
431
|
options: a.value,
|
|
432
432
|
searchable: !1
|
|
433
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) :
|
|
434
|
-
B.id ? (E(), T("div",
|
|
435
|
-
(E(!0), T(
|
|
433
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : H("", !0),
|
|
434
|
+
B.id ? (E(), T("div", Nn, [
|
|
435
|
+
(E(!0), T(q, null, G(S.room.rates, ({
|
|
436
436
|
id: M,
|
|
437
|
-
maximumOccupants:
|
|
437
|
+
maximumOccupants: z
|
|
438
438
|
}) => (E(), T("div", { key: M }, [
|
|
439
|
-
B.id === M ? (E(!0), T(
|
|
440
|
-
key:
|
|
439
|
+
B.id === M ? (E(!0), T(q, { key: 0 }, G(B.config, (Q, le) => (E(), T("div", {
|
|
440
|
+
key: le,
|
|
441
441
|
class: "booking-availability-listing-action-selective"
|
|
442
442
|
}, [
|
|
443
|
-
y("ul",
|
|
444
|
-
C(
|
|
443
|
+
y("ul", Un, [
|
|
444
|
+
C(Vn, {
|
|
445
445
|
modelValue: Q.id,
|
|
446
446
|
"onUpdate:modelValue": (re) => Q.id = re,
|
|
447
447
|
icon: "male",
|
|
448
448
|
"icon-type": "fas",
|
|
449
|
-
label:
|
|
450
|
-
description: `${
|
|
451
|
-
options:
|
|
452
|
-
readonly: !(
|
|
449
|
+
label: d(e)("general.guests"),
|
|
450
|
+
description: `${d(e)("general.maximumGuests")}: ${z}`,
|
|
451
|
+
options: i(M),
|
|
452
|
+
readonly: !(i(M).length > 1)
|
|
453
453
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
454
454
|
]),
|
|
455
|
-
y("ul",
|
|
455
|
+
y("ul", qn, [
|
|
456
456
|
C(co, {
|
|
457
457
|
modelValue: Q.units,
|
|
458
458
|
"onUpdate:modelValue": (re) => Q.units = re,
|
|
459
|
-
description:
|
|
459
|
+
description: d(l) ? void 0 : `${d(e)("booking.availability.availableUnits")}: ${f(B.id, Q.id)}`,
|
|
460
460
|
icon: "house",
|
|
461
461
|
"icon-type": "fas",
|
|
462
462
|
"icon-placement": "label",
|
|
463
|
-
label:
|
|
463
|
+
label: d(e)("booking.availability.units"),
|
|
464
464
|
minValue: 0,
|
|
465
|
-
"max-value":
|
|
465
|
+
"max-value": f(M, Q.id) || 1 / 0
|
|
466
466
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
467
467
|
]),
|
|
468
|
-
|
|
469
|
-
]))), 128)) :
|
|
468
|
+
H("", !0)
|
|
469
|
+
]))), 128)) : H("", !0)
|
|
470
470
|
]))), 128))
|
|
471
|
-
])) :
|
|
471
|
+
])) : H("", !0)
|
|
472
472
|
]))), 128))
|
|
473
473
|
])
|
|
474
474
|
]),
|
|
@@ -476,8 +476,8 @@ const Gi = /* @__PURE__ */ K({
|
|
|
476
476
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
477
477
|
}
|
|
478
478
|
});
|
|
479
|
-
const
|
|
480
|
-
function
|
|
479
|
+
const jn = /* @__PURE__ */ ie(Gn, [["__scopeId", "data-v-7fe13e0e"]]);
|
|
480
|
+
function Yn(t) {
|
|
481
481
|
if (Array.isArray(t)) {
|
|
482
482
|
for (var e = 0, o = Array(t.length); e < t.length; e++)
|
|
483
483
|
o[e] = t[e];
|
|
@@ -501,18 +501,18 @@ var et = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
501
501
|
}, ot = function(e) {
|
|
502
502
|
var o = e || window.event;
|
|
503
503
|
return mo(o.target) || o.touches.length > 1 ? !0 : (o.preventDefault && o.preventDefault(), !1);
|
|
504
|
-
},
|
|
504
|
+
}, Kn = function(e) {
|
|
505
505
|
if (Fe === void 0) {
|
|
506
|
-
var o = !!e && e.reserveScrollBarGap === !0,
|
|
507
|
-
if (o &&
|
|
506
|
+
var o = !!e && e.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
|
|
507
|
+
if (o && n > 0) {
|
|
508
508
|
var r = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
|
|
509
|
-
Fe = document.body.style.paddingRight, document.body.style.paddingRight = r +
|
|
509
|
+
Fe = document.body.style.paddingRight, document.body.style.paddingRight = r + n + "px";
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
xe === void 0 && (xe = document.body.style.overflow, document.body.style.overflow = "hidden");
|
|
513
|
-
},
|
|
513
|
+
}, Qn = function() {
|
|
514
514
|
Fe !== void 0 && (document.body.style.paddingRight = Fe, Fe = void 0), xe !== void 0 && (document.body.style.overflow = xe, xe = void 0);
|
|
515
|
-
},
|
|
515
|
+
}, Xn = function() {
|
|
516
516
|
return window.requestAnimationFrame(function() {
|
|
517
517
|
if (ke === void 0) {
|
|
518
518
|
ke = {
|
|
@@ -520,8 +520,8 @@ var et = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
520
520
|
top: document.body.style.top,
|
|
521
521
|
left: document.body.style.left
|
|
522
522
|
};
|
|
523
|
-
var e = window, o = e.scrollY,
|
|
524
|
-
document.body.style.position = "fixed", document.body.style.top = -o, document.body.style.left = -
|
|
523
|
+
var e = window, o = e.scrollY, n = e.scrollX, r = e.innerHeight;
|
|
524
|
+
document.body.style.position = "fixed", document.body.style.top = -o, document.body.style.left = -n, setTimeout(function() {
|
|
525
525
|
return window.requestAnimationFrame(function() {
|
|
526
526
|
var a = r - window.innerHeight;
|
|
527
527
|
a && o >= r && (document.body.style.top = -(o + a));
|
|
@@ -529,17 +529,17 @@ var et = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
529
529
|
}, 300);
|
|
530
530
|
}
|
|
531
531
|
});
|
|
532
|
-
},
|
|
532
|
+
}, Jn = function() {
|
|
533
533
|
if (ke !== void 0) {
|
|
534
534
|
var e = -parseInt(document.body.style.top, 10), o = -parseInt(document.body.style.left, 10);
|
|
535
535
|
document.body.style.position = ke.position, document.body.style.top = ke.top, document.body.style.left = ke.left, window.scrollTo(o, e), ke = void 0;
|
|
536
536
|
}
|
|
537
|
-
},
|
|
537
|
+
}, Zn = function(e) {
|
|
538
538
|
return e ? e.scrollHeight - e.scrollTop <= e.clientHeight : !1;
|
|
539
|
-
},
|
|
540
|
-
var
|
|
541
|
-
return mo(e.target) ? !1 : o && o.scrollTop === 0 &&
|
|
542
|
-
},
|
|
539
|
+
}, ei = function(e, o) {
|
|
540
|
+
var n = e.targetTouches[0].clientY - ho;
|
|
541
|
+
return mo(e.target) ? !1 : o && o.scrollTop === 0 && n > 0 || Zn(o) && n < 0 ? ot(e) : (e.stopPropagation(), !0);
|
|
542
|
+
}, ti = function(e, o) {
|
|
543
543
|
if (!e) {
|
|
544
544
|
console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
|
|
545
545
|
return;
|
|
@@ -547,44 +547,44 @@ var et = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
547
547
|
if (!Ce.some(function(r) {
|
|
548
548
|
return r.targetElement === e;
|
|
549
549
|
})) {
|
|
550
|
-
var
|
|
550
|
+
var n = {
|
|
551
551
|
targetElement: e,
|
|
552
552
|
options: o || {}
|
|
553
553
|
};
|
|
554
|
-
Ce = [].concat(
|
|
554
|
+
Ce = [].concat(Yn(Ce), [n]), et ? Xn() : Kn(o), et && (e.ontouchstart = function(r) {
|
|
555
555
|
r.targetTouches.length === 1 && (ho = r.targetTouches[0].clientY);
|
|
556
556
|
}, e.ontouchmove = function(r) {
|
|
557
|
-
r.targetTouches.length === 1 &&
|
|
557
|
+
r.targetTouches.length === 1 && ei(r, e);
|
|
558
558
|
}, tt || (document.addEventListener("touchmove", ot, Lt ? { passive: !1 } : void 0), tt = !0));
|
|
559
559
|
}
|
|
560
|
-
},
|
|
560
|
+
}, oi = function(e) {
|
|
561
561
|
if (!e) {
|
|
562
562
|
console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
|
|
563
563
|
return;
|
|
564
564
|
}
|
|
565
565
|
Ce = Ce.filter(function(o) {
|
|
566
566
|
return o.targetElement !== e;
|
|
567
|
-
}), et && (e.ontouchstart = null, e.ontouchmove = null, tt && Ce.length === 0 && (document.removeEventListener("touchmove", ot, Lt ? { passive: !1 } : void 0), tt = !1)), et ?
|
|
567
|
+
}), et && (e.ontouchstart = null, e.ontouchmove = null, tt && Ce.length === 0 && (document.removeEventListener("touchmove", ot, Lt ? { passive: !1 } : void 0), tt = !1)), et ? Jn() : Qn();
|
|
568
568
|
}, At = K({
|
|
569
569
|
name: "SidePanelCloseButton",
|
|
570
570
|
emits: ["close"]
|
|
571
571
|
});
|
|
572
|
-
const
|
|
572
|
+
const ni = /* @__PURE__ */ y(
|
|
573
573
|
"span",
|
|
574
574
|
{ class: "vsp-close__x" },
|
|
575
575
|
null,
|
|
576
576
|
-1
|
|
577
577
|
/* HOISTED */
|
|
578
|
-
),
|
|
579
|
-
|
|
578
|
+
), ii = [
|
|
579
|
+
ni
|
|
580
580
|
];
|
|
581
|
-
function
|
|
581
|
+
function ri(t, e, o, n, r, a) {
|
|
582
582
|
return E(), T("div", {
|
|
583
583
|
class: "vsp-close",
|
|
584
|
-
onClick: e[0] || (e[0] = (
|
|
585
|
-
}, [...
|
|
584
|
+
onClick: e[0] || (e[0] = (c) => t.$emit("close"))
|
|
585
|
+
}, [...ii]);
|
|
586
586
|
}
|
|
587
|
-
At.render =
|
|
587
|
+
At.render = ri;
|
|
588
588
|
At.__file = "src/components/SidePanelCloseButton.vue";
|
|
589
589
|
var Ht = K({
|
|
590
590
|
name: "VueSidePanel",
|
|
@@ -677,37 +677,37 @@ var Ht = K({
|
|
|
677
677
|
},
|
|
678
678
|
emits: ["update:modelValue", "closed", "opened"],
|
|
679
679
|
setup(t, { emit: e, attrs: o }) {
|
|
680
|
-
let
|
|
681
|
-
const r =
|
|
682
|
-
window?.innerHeight > 0 && (s.value = window.innerHeight), u.value =
|
|
683
|
-
},
|
|
680
|
+
let n;
|
|
681
|
+
const r = U(null), a = U(null), c = U(null), l = U(null), h = U(null), u = U(0), v = U(0), m = U(0), _ = U(0), s = U(0), g = U(), k = U(!1), f = async () => {
|
|
682
|
+
window?.innerHeight > 0 && (s.value = window.innerHeight), u.value = c.value ? c.value.clientHeight : 0, m.value = l.value ? l.value.clientHeight : 0, v.value = h.value ? h.value.scrollHeight : 0, _.value = r.value ? r.value.clientHeight : 0;
|
|
683
|
+
}, i = () => e("update:modelValue", !1), p = (L, S) => {
|
|
684
684
|
if (S) {
|
|
685
685
|
setTimeout(() => {
|
|
686
|
-
|
|
686
|
+
ti(L, { reserveScrollBarGap: !0 }), t.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
|
|
687
687
|
}, 0);
|
|
688
688
|
return;
|
|
689
689
|
}
|
|
690
|
-
|
|
690
|
+
oi(L), t.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
|
|
691
691
|
}, b = () => Math.max(...Array.from(document.querySelectorAll("body *"), (L) => parseFloat(window.getComputedStyle(L).zIndex)).filter((L) => !Number.isNaN(L)), 0);
|
|
692
692
|
Ne(() => {
|
|
693
693
|
g.value = t.zIndex === "auto" ? b() : t.zIndex;
|
|
694
694
|
}), Go(() => {
|
|
695
|
-
document.getElementById(t.idName) || (
|
|
695
|
+
document.getElementById(t.idName) || (n = document.createElement("div"), n.setAttribute("id", t.idName), document.body.appendChild(n));
|
|
696
696
|
}), jo(() => {
|
|
697
697
|
const { modelValue: L, lockScroll: S } = t;
|
|
698
|
-
S && r.value && L && p(r.value, !1),
|
|
699
|
-
}), De(() => [l.value,
|
|
700
|
-
wt(() =>
|
|
698
|
+
S && r.value && L && p(r.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", f);
|
|
699
|
+
}), De(() => [l.value, c.value, t.height, t.width, t.side, t.modelValue], () => {
|
|
700
|
+
wt(() => f());
|
|
701
701
|
}), De(() => [t.modelValue, r.value], (L, S) => {
|
|
702
|
-
const
|
|
702
|
+
const V = S ? S[0] : !1, [B, R] = L, M = B, z = V && !B;
|
|
703
703
|
if (R) {
|
|
704
704
|
if (M && (k.value = !!document.body.style.overflow), B) {
|
|
705
|
-
t.lockScroll && p(R, !0),
|
|
705
|
+
t.lockScroll && p(R, !0), f(), window.addEventListener("resize", f);
|
|
706
706
|
return;
|
|
707
707
|
}
|
|
708
|
-
!t.lockScroll || !
|
|
708
|
+
!t.lockScroll || !z || k.value || (setTimeout(() => {
|
|
709
709
|
R && p(R, !1);
|
|
710
|
-
}, t.panelDuration), window.removeEventListener("resize",
|
|
710
|
+
}, t.panelDuration), window.removeEventListener("resize", f));
|
|
711
711
|
}
|
|
712
712
|
}, { immediate: !0 });
|
|
713
713
|
const $ = j(() => {
|
|
@@ -742,16 +742,16 @@ var Ht = K({
|
|
|
742
742
|
overlay: a,
|
|
743
743
|
overlayStyles: w,
|
|
744
744
|
header: l,
|
|
745
|
-
footer:
|
|
746
|
-
closePanel:
|
|
745
|
+
footer: c,
|
|
746
|
+
closePanel: i,
|
|
747
747
|
panelStyles: O,
|
|
748
748
|
bodyHeight: $
|
|
749
749
|
};
|
|
750
750
|
}
|
|
751
751
|
});
|
|
752
|
-
function
|
|
753
|
-
const
|
|
754
|
-
return E(),
|
|
752
|
+
function ai(t, e, o, n, r, a) {
|
|
753
|
+
const c = Yo("SidePanelCloseButton");
|
|
754
|
+
return E(), x(Ko, {
|
|
755
755
|
to: `#${t.idName}`
|
|
756
756
|
}, [
|
|
757
757
|
y(
|
|
@@ -764,7 +764,7 @@ function sn(t, e, o, i, r, a) {
|
|
|
764
764
|
name: "overlay",
|
|
765
765
|
persisted: ""
|
|
766
766
|
}, {
|
|
767
|
-
default:
|
|
767
|
+
default: P(() => [
|
|
768
768
|
We(y(
|
|
769
769
|
"div",
|
|
770
770
|
{
|
|
@@ -788,7 +788,7 @@ function sn(t, e, o, i, r, a) {
|
|
|
788
788
|
onAfterEnter: e[1] || (e[1] = (l) => t.$emit("opened")),
|
|
789
789
|
onAfterLeave: e[2] || (e[2] = (l) => t.$emit("closed"))
|
|
790
790
|
}, {
|
|
791
|
-
default:
|
|
791
|
+
default: P(() => [
|
|
792
792
|
!t.rerender || t.modelValue ? We((E(), T(
|
|
793
793
|
"div",
|
|
794
794
|
{
|
|
@@ -810,7 +810,7 @@ function sn(t, e, o, i, r, a) {
|
|
|
810
810
|
],
|
|
811
811
|
2
|
|
812
812
|
/* CLASS */
|
|
813
|
-
)) :
|
|
813
|
+
)) : H("v-if", !0),
|
|
814
814
|
y(
|
|
815
815
|
"div",
|
|
816
816
|
{
|
|
@@ -820,7 +820,7 @@ function sn(t, e, o, i, r, a) {
|
|
|
820
820
|
},
|
|
821
821
|
[
|
|
822
822
|
Te(t.$slots, "default", { close: t.closePanel }),
|
|
823
|
-
t.hideCloseBtn ?
|
|
823
|
+
t.hideCloseBtn ? H("v-if", !0) : (E(), x(c, {
|
|
824
824
|
key: 0,
|
|
825
825
|
onClose: t.closePanel
|
|
826
826
|
}, null, 8, ["onClose"]))
|
|
@@ -840,13 +840,13 @@ function sn(t, e, o, i, r, a) {
|
|
|
840
840
|
],
|
|
841
841
|
2
|
|
842
842
|
/* CLASS */
|
|
843
|
-
)) :
|
|
843
|
+
)) : H("v-if", !0)
|
|
844
844
|
],
|
|
845
845
|
6
|
|
846
846
|
/* CLASS, STYLE */
|
|
847
847
|
)), [
|
|
848
848
|
[zt, t.rerender ? !0 : t.modelValue]
|
|
849
|
-
]) :
|
|
849
|
+
]) : H("v-if", !0)
|
|
850
850
|
]),
|
|
851
851
|
_: 3
|
|
852
852
|
/* FORWARDED */
|
|
@@ -857,12 +857,12 @@ function sn(t, e, o, i, r, a) {
|
|
|
857
857
|
)
|
|
858
858
|
], 8, ["to"]);
|
|
859
859
|
}
|
|
860
|
-
Ht.render =
|
|
860
|
+
Ht.render = ai;
|
|
861
861
|
Ht.__file = "src/components/SidePanel.vue";
|
|
862
|
-
const
|
|
862
|
+
const si = { id: "konnectio-side-panel-header" }, li = { id: "konnectio-side-panel-title" }, ui = {
|
|
863
863
|
key: 0,
|
|
864
864
|
id: "konnectio-side-panel-subtitle"
|
|
865
|
-
},
|
|
865
|
+
}, di = ["innerHTML"], ci = /* @__PURE__ */ K({
|
|
866
866
|
__name: "Base",
|
|
867
867
|
props: {
|
|
868
868
|
modelValue: { type: Boolean },
|
|
@@ -876,39 +876,39 @@ const ln = { id: "konnectio-side-panel-header" }, un = { id: "konnectio-side-pan
|
|
|
876
876
|
},
|
|
877
877
|
emits: ["update:modelValue"],
|
|
878
878
|
setup(t) {
|
|
879
|
-
return (e, o) => (E(),
|
|
879
|
+
return (e, o) => (E(), x(d(Ht), {
|
|
880
880
|
modelValue: e.modelValue,
|
|
881
|
-
"onUpdate:modelValue": o[1] || (o[1] = (
|
|
881
|
+
"onUpdate:modelValue": o[1] || (o[1] = (n) => e.$emit("update:modelValue", n)),
|
|
882
882
|
"lock-scroll": e.lockScroll,
|
|
883
883
|
"hide-close-btn": e.hideCloseButton,
|
|
884
884
|
width: "900px"
|
|
885
885
|
}, {
|
|
886
|
-
header:
|
|
887
|
-
y("div",
|
|
888
|
-
y("h2",
|
|
886
|
+
header: P(() => [
|
|
887
|
+
y("div", si, [
|
|
888
|
+
y("h2", li, [
|
|
889
889
|
y("span", null, A(e.title), 1),
|
|
890
890
|
y("button", {
|
|
891
891
|
id: "konnectio-side-panel-close",
|
|
892
|
-
onClick: o[0] || (o[0] = (
|
|
892
|
+
onClick: o[0] || (o[0] = (n) => e.$emit("update:modelValue", !1))
|
|
893
893
|
}, [
|
|
894
|
-
C(
|
|
894
|
+
C(ne, {
|
|
895
895
|
icon: "times",
|
|
896
896
|
type: "fas",
|
|
897
897
|
color: "header"
|
|
898
898
|
})
|
|
899
899
|
])
|
|
900
900
|
]),
|
|
901
|
-
e.subtitle ? (E(), T("h4",
|
|
901
|
+
e.subtitle ? (E(), T("h4", ui, [
|
|
902
902
|
y("span", null, A(e.subtitle), 1)
|
|
903
|
-
])) :
|
|
903
|
+
])) : H("", !0)
|
|
904
904
|
])
|
|
905
905
|
]),
|
|
906
|
-
default:
|
|
906
|
+
default: P(() => [
|
|
907
907
|
y("div", null, [
|
|
908
908
|
y("div", {
|
|
909
909
|
class: "konnectio-side-panel-description",
|
|
910
910
|
innerHTML: e.description
|
|
911
|
-
}, null, 8,
|
|
911
|
+
}, null, 8, di),
|
|
912
912
|
Te(e.$slots, "default", {}, void 0, !0)
|
|
913
913
|
])
|
|
914
914
|
]),
|
|
@@ -916,7 +916,7 @@ const ln = { id: "konnectio-side-panel-header" }, un = { id: "konnectio-side-pan
|
|
|
916
916
|
}, 8, ["modelValue", "lock-scroll", "hide-close-btn"]));
|
|
917
917
|
}
|
|
918
918
|
});
|
|
919
|
-
const
|
|
919
|
+
const fi = /* @__PURE__ */ ie(ci, [["__scopeId", "data-v-595c6f25"]]), pi = /* @__PURE__ */ K({
|
|
920
920
|
__name: "Template",
|
|
921
921
|
props: {
|
|
922
922
|
title: {},
|
|
@@ -926,25 +926,25 @@ const pn = /* @__PURE__ */ ne(fn, [["__scopeId", "data-v-595c6f25"]]), hn = /* @
|
|
|
926
926
|
callback: { type: Function }
|
|
927
927
|
},
|
|
928
928
|
setup(t) {
|
|
929
|
-
const { t: e } =
|
|
929
|
+
const { t: e } = he(), { templateID: o, roomGroupID: n } = Z(pe()), { currency: r } = Z(Re()), { clearRoomSelection: a } = pe(), c = t;
|
|
930
930
|
function l(h) {
|
|
931
|
-
o.value =
|
|
931
|
+
o.value = c.templateId, n.value = h, a(), c.callback(2);
|
|
932
932
|
}
|
|
933
|
-
return (h, u) => (E(),
|
|
933
|
+
return (h, u) => (E(), x(fi, {
|
|
934
934
|
title: h.title,
|
|
935
935
|
description: h.description,
|
|
936
|
-
subtitle:
|
|
936
|
+
subtitle: d(e)("booking.availability.selectATemplateRoom")
|
|
937
937
|
}, {
|
|
938
|
-
default:
|
|
938
|
+
default: P(() => [
|
|
939
939
|
y("div", null, [
|
|
940
|
-
(E(!0), T(
|
|
940
|
+
(E(!0), T(q, null, G(h.roomGroups, ({
|
|
941
941
|
id: v,
|
|
942
942
|
title: m,
|
|
943
943
|
description: _,
|
|
944
944
|
images: s,
|
|
945
945
|
facilities: g,
|
|
946
946
|
extraPrice: k
|
|
947
|
-
},
|
|
947
|
+
}, f) => (E(), T("div", { key: v }, [
|
|
948
948
|
C(It, {
|
|
949
949
|
"listing-id": v,
|
|
950
950
|
name: m,
|
|
@@ -954,11 +954,11 @@ const pn = /* @__PURE__ */ ne(fn, [["__scopeId", "data-v-595c6f25"]]), hn = /* @
|
|
|
954
954
|
"includes-breakfast": !1,
|
|
955
955
|
"hide-info-button": !0
|
|
956
956
|
}, {
|
|
957
|
-
action:
|
|
957
|
+
action: P(() => [
|
|
958
958
|
y("div", null, [
|
|
959
959
|
C(He, {
|
|
960
|
-
onClickEvent: (
|
|
961
|
-
label: `${
|
|
960
|
+
onClickEvent: (i) => l(v),
|
|
961
|
+
label: `${d(e)("booking.availability.selectThisRoom")} (${d(fe)(k, d(r))})`,
|
|
962
962
|
"full-width": ""
|
|
963
963
|
}, null, 8, ["onClickEvent", "label"])
|
|
964
964
|
])
|
|
@@ -974,7 +974,7 @@ const pn = /* @__PURE__ */ ne(fn, [["__scopeId", "data-v-595c6f25"]]), hn = /* @
|
|
|
974
974
|
});
|
|
975
975
|
var vo = {};
|
|
976
976
|
Object.defineProperty(vo, "__esModule", { value: !0 });
|
|
977
|
-
var
|
|
977
|
+
var hi = [
|
|
978
978
|
"area",
|
|
979
979
|
"base",
|
|
980
980
|
"br",
|
|
@@ -1031,13 +1031,13 @@ var mn = [
|
|
|
1031
1031
|
"tr",
|
|
1032
1032
|
"ul",
|
|
1033
1033
|
"video"
|
|
1034
|
-
], Ye = ["audio", "math", "svg", "video"], Ve = 10,
|
|
1035
|
-
function
|
|
1036
|
-
return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ?
|
|
1034
|
+
], Ye = ["audio", "math", "svg", "video"], Ve = 10, mi = 33, vi = 34, yi = 38, gi = 39, ze = 47, Ct = 59, Xe = 60, bi = 61, ct = 62, _i = /[<&\n\ud800-\udbff]/, ki = /[<&\ud800-\udbff]/, Ei = /\s+/g;
|
|
1035
|
+
function Ti(t, e, o) {
|
|
1036
|
+
return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ? Ci(t, e, o) : Si(t, e, o)) : "";
|
|
1037
1037
|
}
|
|
1038
|
-
vo.default =
|
|
1039
|
-
function
|
|
1040
|
-
for (var
|
|
1038
|
+
vo.default = Ti;
|
|
1039
|
+
function Ci(t, e, o) {
|
|
1040
|
+
for (var n = o.imageWeight, r = n === void 0 ? 2 : n, a = o.indicator, c = a === void 0 ? "…" : a, l = o.maxLines, h = l === void 0 ? 1 / 0 : l, u = o.stripTags, v = u === void 0 ? !1 : u, m = c.length, _ = 1, s = typeof v == "boolean" ? function() {
|
|
1041
1041
|
return v;
|
|
1042
1042
|
} : function(ae) {
|
|
1043
1043
|
return v.includes(ae);
|
|
@@ -1045,93 +1045,93 @@ function Sn(t, e, o) {
|
|
|
1045
1045
|
for (var Ie; Ie = g.pop(), Ie !== void 0; )
|
|
1046
1046
|
s(Ie) || (ae += "</" + Ie + ">");
|
|
1047
1047
|
return ae;
|
|
1048
|
-
},
|
|
1049
|
-
var b =
|
|
1050
|
-
if (
|
|
1048
|
+
}, f = 0, i = -1, p = t.length; f < p; f++) {
|
|
1049
|
+
var b = f ? t.slice(f) : t, $ = wi(g), w = i > -1 || $ ? ki : _i, O = b.search(w), L = O > -1 ? O : b.length;
|
|
1050
|
+
if (i === -1) {
|
|
1051
1051
|
if ($) {
|
|
1052
|
-
var S =
|
|
1052
|
+
var S = Ii(L === b.length ? b : b.slice(0, O));
|
|
1053
1053
|
if (s(g[g.length - 1])) {
|
|
1054
|
-
var
|
|
1055
|
-
S.length > 0 ? S = (
|
|
1054
|
+
var V = f > 0 && !Ee(t.charCodeAt(f - 1)), B = !Ee(t.charCodeAt(f + L));
|
|
1055
|
+
S.length > 0 ? S = (V ? " " : "") + S + (B ? " " : "") : V && B && (S = " "), t = t.slice(0, f) + S + t.slice(f + L), L = S.length;
|
|
1056
1056
|
}
|
|
1057
1057
|
if (m += S.length, m > e)
|
|
1058
1058
|
break;
|
|
1059
1059
|
} else if (m += L, m > e) {
|
|
1060
|
-
|
|
1060
|
+
f = Math.max(f + L - m + e, 0);
|
|
1061
1061
|
break;
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
|
-
if (
|
|
1064
|
+
if (f += L, O === -1)
|
|
1065
1065
|
break;
|
|
1066
|
-
var R = t.charCodeAt(
|
|
1066
|
+
var R = t.charCodeAt(f);
|
|
1067
1067
|
if (R === Xe) {
|
|
1068
|
-
var M = t.charCodeAt(
|
|
1069
|
-
if (
|
|
1070
|
-
var Q = t.indexOf("-->",
|
|
1071
|
-
|
|
1072
|
-
} else if (
|
|
1073
|
-
var
|
|
1074
|
-
|
|
1068
|
+
var M = t.charCodeAt(f + 1), z = M === mi;
|
|
1069
|
+
if (z && t.substr(f + 2, 2) === "--") {
|
|
1070
|
+
var Q = t.indexOf("-->", f + 4) + 3;
|
|
1071
|
+
f = Q - 1;
|
|
1072
|
+
} else if (z && t.substr(f + 2, 7) === "[CDATA[") {
|
|
1073
|
+
var le = t.indexOf("]]>", f + 9) + 3;
|
|
1074
|
+
f = le - 1;
|
|
1075
1075
|
} else {
|
|
1076
1076
|
var re = M === ze;
|
|
1077
1077
|
if (m === e && !re) {
|
|
1078
1078
|
m++;
|
|
1079
1079
|
break;
|
|
1080
1080
|
}
|
|
1081
|
-
for (var ve = 0, Y =
|
|
1081
|
+
for (var ve = 0, Y = f, ye = !1; ; ) {
|
|
1082
1082
|
if (Y++, Y >= p)
|
|
1083
1083
|
throw new Error("Invalid HTML: " + t);
|
|
1084
1084
|
var ge = t.charCodeAt(Y);
|
|
1085
1085
|
if (ye)
|
|
1086
1086
|
ve ? ge === ve && (ye = !1) : Ee(ge) ? ye = !1 : ge === ct && (ye = !1, Y--);
|
|
1087
|
-
else if (ge ===
|
|
1087
|
+
else if (ge === bi) {
|
|
1088
1088
|
for (; Ee(t.charCodeAt(Y + 1)); )
|
|
1089
1089
|
Y++;
|
|
1090
1090
|
ye = !0;
|
|
1091
1091
|
var Be = t.charCodeAt(Y + 1);
|
|
1092
|
-
Be ===
|
|
1092
|
+
Be === vi || Be === gi ? (ve = Be, Y++) : ve = 0;
|
|
1093
1093
|
} else if (ge === ct) {
|
|
1094
|
-
var Ue =
|
|
1095
|
-
|
|
1096
|
-
var Se = s(
|
|
1094
|
+
var Ue = f + (re ? 2 : 1), rt = Math.min($i(t, Ue), Y), N = t.slice(Ue, rt).toLowerCase();
|
|
1095
|
+
N.charCodeAt(N.length - 1) === ze && (N = N.slice(0, N.length - 1));
|
|
1096
|
+
var Se = s(N);
|
|
1097
1097
|
if (re) {
|
|
1098
1098
|
var at = g.pop();
|
|
1099
|
-
if (at !==
|
|
1099
|
+
if (at !== N)
|
|
1100
1100
|
throw new Error("Invalid HTML: " + t);
|
|
1101
|
-
if (Ye.includes(
|
|
1101
|
+
if (Ye.includes(N) && !Ye.some(function(ae) {
|
|
1102
1102
|
return g.includes(ae);
|
|
1103
1103
|
})) {
|
|
1104
1104
|
if (Se)
|
|
1105
|
-
|
|
1106
|
-
else if (
|
|
1105
|
+
f = i, i = -1;
|
|
1106
|
+
else if (i = -1, m += r, m > e)
|
|
1107
1107
|
break;
|
|
1108
1108
|
}
|
|
1109
|
-
var Dt = yo.includes(
|
|
1110
|
-
if (Dt &&
|
|
1111
|
-
g.push(
|
|
1109
|
+
var Dt = yo.includes(N);
|
|
1110
|
+
if (Dt && i === -1 && !Se && (_++, _ > h)) {
|
|
1111
|
+
g.push(N);
|
|
1112
1112
|
break;
|
|
1113
1113
|
}
|
|
1114
|
-
} else if (
|
|
1114
|
+
} else if (hi.includes(N) || t.charCodeAt(Y - 1) === ze) {
|
|
1115
1115
|
if (!Se) {
|
|
1116
|
-
if (
|
|
1116
|
+
if (N === "br") {
|
|
1117
1117
|
if (_++, _ > h)
|
|
1118
1118
|
break;
|
|
1119
|
-
} else if (
|
|
1119
|
+
} else if (N === "img" && (m += r, m > e))
|
|
1120
1120
|
break;
|
|
1121
1121
|
}
|
|
1122
1122
|
} else
|
|
1123
1123
|
Ye.some(function(ae) {
|
|
1124
1124
|
return g.includes(ae);
|
|
1125
|
-
}) || Ye.includes(
|
|
1126
|
-
Se &&
|
|
1125
|
+
}) || Ye.includes(N) && (i = f), g.push(N);
|
|
1126
|
+
Se && i === -1 ? (t = t.slice(0, f) + t.slice(Y + 1), f--) : f = Y;
|
|
1127
1127
|
break;
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
if (m > e || _ > h)
|
|
1131
1131
|
break;
|
|
1132
1132
|
}
|
|
1133
|
-
} else if (R ===
|
|
1134
|
-
for (var Y =
|
|
1133
|
+
} else if (R === yi) {
|
|
1134
|
+
for (var Y = f + 1, qe = !0; ; ) {
|
|
1135
1135
|
var $e = t.charCodeAt(Y);
|
|
1136
1136
|
if (go($e))
|
|
1137
1137
|
Y++;
|
|
@@ -1142,68 +1142,68 @@ function Sn(t, e, o) {
|
|
|
1142
1142
|
break;
|
|
1143
1143
|
}
|
|
1144
1144
|
}
|
|
1145
|
-
if (
|
|
1145
|
+
if (i === -1 && (m++, m > e))
|
|
1146
1146
|
break;
|
|
1147
|
-
qe && (
|
|
1147
|
+
qe && (f = Y);
|
|
1148
1148
|
} else if (R === Ve) {
|
|
1149
1149
|
if (m++, m > e || (_++, _ > h))
|
|
1150
1150
|
break;
|
|
1151
1151
|
} else {
|
|
1152
|
-
if (
|
|
1152
|
+
if (i === -1 && (m++, m > e))
|
|
1153
1153
|
break;
|
|
1154
1154
|
if ((R & 64512) === 55296) {
|
|
1155
|
-
var M = t.charCodeAt(
|
|
1156
|
-
(M & 64512) === 56320 &&
|
|
1155
|
+
var M = t.charCodeAt(f + 1);
|
|
1156
|
+
(M & 64512) === 56320 && f++;
|
|
1157
1157
|
}
|
|
1158
1158
|
}
|
|
1159
1159
|
}
|
|
1160
1160
|
if (m > e) {
|
|
1161
|
-
var be =
|
|
1162
|
-
if (
|
|
1163
|
-
for (var te =
|
|
1161
|
+
var be = Li(t, f);
|
|
1162
|
+
if (c) {
|
|
1163
|
+
for (var te = f + be.length; t.charCodeAt(te) === Xe && t.charCodeAt(te + 1) === ze; ) {
|
|
1164
1164
|
var Ge = t.indexOf(">", te + 2) + 1;
|
|
1165
1165
|
if (Ge)
|
|
1166
1166
|
te = Ge;
|
|
1167
1167
|
else
|
|
1168
1168
|
break;
|
|
1169
1169
|
}
|
|
1170
|
-
te && (te === t.length || Ut(t, te)) && (
|
|
1170
|
+
te && (te === t.length || Ut(t, te)) && (f += be.length, be = t.charAt(f));
|
|
1171
1171
|
}
|
|
1172
|
-
for (; be === "<" && t.charCodeAt(
|
|
1173
|
-
var
|
|
1174
|
-
if (!
|
|
1172
|
+
for (; be === "<" && t.charCodeAt(f + 1) === ze; ) {
|
|
1173
|
+
var N = g.pop();
|
|
1174
|
+
if (!N)
|
|
1175
1175
|
break;
|
|
1176
|
-
var we = t.indexOf(">",
|
|
1177
|
-
if (we === -1 || t.slice(
|
|
1176
|
+
var we = t.indexOf(">", f + 2);
|
|
1177
|
+
if (we === -1 || t.slice(f + 2, we).trim() !== N)
|
|
1178
1178
|
throw new Error("Invalid HTML: " + t);
|
|
1179
|
-
s(
|
|
1179
|
+
s(N) ? t = t.slice(0, f) + t.slice(we + 1) : f = we + 1, be = t.charAt(f);
|
|
1180
1180
|
}
|
|
1181
|
-
if (
|
|
1181
|
+
if (f < t.length) {
|
|
1182
1182
|
if (!o.breakWords)
|
|
1183
|
-
for (var _e =
|
|
1183
|
+
for (var _e = f - c.length; _e >= 0; _e--) {
|
|
1184
1184
|
var R = t.charCodeAt(_e);
|
|
1185
1185
|
if (R === ct || R === Ct)
|
|
1186
1186
|
break;
|
|
1187
1187
|
if (R === Ve || R === Xe) {
|
|
1188
|
-
|
|
1188
|
+
f = _e;
|
|
1189
1189
|
break;
|
|
1190
1190
|
} else if (Ee(R)) {
|
|
1191
|
-
|
|
1191
|
+
f = _e + (c ? 1 : 0);
|
|
1192
1192
|
break;
|
|
1193
1193
|
}
|
|
1194
1194
|
}
|
|
1195
|
-
var je = t.slice(0,
|
|
1196
|
-
return Ut(t,
|
|
1195
|
+
var je = t.slice(0, f);
|
|
1196
|
+
return Ut(t, f) || (je += c), k(je);
|
|
1197
1197
|
}
|
|
1198
1198
|
} else if (_ > h)
|
|
1199
|
-
return k(t.slice(0,
|
|
1199
|
+
return k(t.slice(0, f));
|
|
1200
1200
|
return t;
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1203
|
-
for (var
|
|
1202
|
+
function Si(t, e, o) {
|
|
1203
|
+
for (var n = o.indicator, r = n === void 0 ? "…" : n, a = o.maxLines, c = a === void 0 ? 1 / 0 : a, l = r.length, h = 1, u = 0, v = t.length; u < v && (l++, !(l > e)); u++) {
|
|
1204
1204
|
var m = t.charCodeAt(u);
|
|
1205
1205
|
if (m === Ve) {
|
|
1206
|
-
if (h++, h >
|
|
1206
|
+
if (h++, h > c)
|
|
1207
1207
|
break;
|
|
1208
1208
|
} else if ((m & 64512) === 55296) {
|
|
1209
1209
|
var _ = t.charCodeAt(u + 1);
|
|
@@ -1233,14 +1233,14 @@ function $n(t, e, o) {
|
|
|
1233
1233
|
}
|
|
1234
1234
|
return t.slice(0, u) + (s === `
|
|
1235
1235
|
` ? "" : r);
|
|
1236
|
-
} else if (h >
|
|
1236
|
+
} else if (h > c)
|
|
1237
1237
|
return t.slice(0, u);
|
|
1238
1238
|
return t;
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1241
|
-
for (var o = t.length,
|
|
1242
|
-
if (Ee(t.charCodeAt(
|
|
1243
|
-
return
|
|
1240
|
+
function $i(t, e) {
|
|
1241
|
+
for (var o = t.length, n = e; n < o; n++)
|
|
1242
|
+
if (Ee(t.charCodeAt(n)))
|
|
1243
|
+
return n;
|
|
1244
1244
|
return o;
|
|
1245
1245
|
}
|
|
1246
1246
|
function go(t) {
|
|
@@ -1251,7 +1251,7 @@ function Ut(t, e) {
|
|
|
1251
1251
|
if (o === Ve)
|
|
1252
1252
|
return !0;
|
|
1253
1253
|
if (o === Xe) {
|
|
1254
|
-
var
|
|
1254
|
+
var n = "(" + yo.join("|") + "|br)", r = new RegExp("^<" + n + `[
|
|
1255
1255
|
\f\r ]*/?>`, "i");
|
|
1256
1256
|
return r.test(t.slice(e));
|
|
1257
1257
|
} else
|
|
@@ -1260,7 +1260,7 @@ function Ut(t, e) {
|
|
|
1260
1260
|
function Ee(t) {
|
|
1261
1261
|
return t === 9 || t === 10 || t === 12 || t === 13 || t === 32;
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1263
|
+
function wi(t) {
|
|
1264
1264
|
for (var e = t.length - 1; e >= 0; e--) {
|
|
1265
1265
|
var o = t[e];
|
|
1266
1266
|
if (o === "li" || o === "td")
|
|
@@ -1270,35 +1270,35 @@ function In(t) {
|
|
|
1270
1270
|
}
|
|
1271
1271
|
return !1;
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1274
|
-
return t.trim().replace(
|
|
1273
|
+
function Ii(t) {
|
|
1274
|
+
return t.trim().replace(Ei, " ");
|
|
1275
1275
|
}
|
|
1276
1276
|
function bo(t, e) {
|
|
1277
1277
|
var o = t.charCodeAt(e);
|
|
1278
1278
|
if ((o & 64512) === 55296) {
|
|
1279
|
-
var
|
|
1280
|
-
if ((
|
|
1281
|
-
return String.fromCharCode(o,
|
|
1279
|
+
var n = t.charCodeAt(e + 1);
|
|
1280
|
+
if ((n & 64512) === 56320)
|
|
1281
|
+
return String.fromCharCode(o, n);
|
|
1282
1282
|
}
|
|
1283
1283
|
return String.fromCharCode(o);
|
|
1284
1284
|
}
|
|
1285
|
-
function
|
|
1285
|
+
function Li(t, e) {
|
|
1286
1286
|
var o = bo(t, e);
|
|
1287
1287
|
if (o === "&")
|
|
1288
1288
|
for (; ; ) {
|
|
1289
1289
|
e++;
|
|
1290
|
-
var
|
|
1291
|
-
if (go(
|
|
1292
|
-
o += String.fromCharCode(
|
|
1293
|
-
else if (
|
|
1294
|
-
o += String.fromCharCode(
|
|
1290
|
+
var n = t.charCodeAt(e);
|
|
1291
|
+
if (go(n))
|
|
1292
|
+
o += String.fromCharCode(n);
|
|
1293
|
+
else if (n === Ct) {
|
|
1294
|
+
o += String.fromCharCode(n);
|
|
1295
1295
|
break;
|
|
1296
1296
|
} else
|
|
1297
1297
|
break;
|
|
1298
1298
|
}
|
|
1299
1299
|
return o;
|
|
1300
1300
|
}
|
|
1301
|
-
const
|
|
1301
|
+
const Ai = ["innerHTML"], Hi = /* @__PURE__ */ K({
|
|
1302
1302
|
__name: "Template",
|
|
1303
1303
|
props: {
|
|
1304
1304
|
id: {},
|
|
@@ -1310,34 +1310,34 @@ const Hn = ["innerHTML"], Pn = /* @__PURE__ */ K({
|
|
|
1310
1310
|
callback: { type: Function }
|
|
1311
1311
|
},
|
|
1312
1312
|
setup(t) {
|
|
1313
|
-
Z(
|
|
1313
|
+
Z(pe()), Z(Re()), he();
|
|
1314
1314
|
const e = t, o = j(() => [{
|
|
1315
1315
|
large: e.image.url,
|
|
1316
1316
|
medium: e.image.url,
|
|
1317
1317
|
thumb: e.image.url,
|
|
1318
1318
|
url: e.image.url
|
|
1319
|
-
}]),
|
|
1319
|
+
}]), n = U(!1);
|
|
1320
1320
|
function r() {
|
|
1321
|
-
|
|
1321
|
+
n.value = !0;
|
|
1322
1322
|
}
|
|
1323
|
-
function a(
|
|
1324
|
-
e.callback(
|
|
1323
|
+
function a(c) {
|
|
1324
|
+
e.callback(c), n.value = !1;
|
|
1325
1325
|
}
|
|
1326
|
-
return (
|
|
1327
|
-
"listing-id":
|
|
1328
|
-
name:
|
|
1329
|
-
description:
|
|
1326
|
+
return (c, l) => (E(), x(It, {
|
|
1327
|
+
"listing-id": c.id,
|
|
1328
|
+
name: c.name,
|
|
1329
|
+
description: c.description,
|
|
1330
1330
|
gallery: o.value,
|
|
1331
1331
|
"includes-breakfast": !1,
|
|
1332
1332
|
"hide-info-button": !0
|
|
1333
1333
|
}, {
|
|
1334
|
-
description:
|
|
1335
|
-
|
|
1334
|
+
description: P(() => [
|
|
1335
|
+
H("", !0),
|
|
1336
1336
|
y("p", {
|
|
1337
|
-
innerHTML:
|
|
1338
|
-
}, null, 8,
|
|
1337
|
+
innerHTML: d(Qo)(c.description)
|
|
1338
|
+
}, null, 8, Ai)
|
|
1339
1339
|
]),
|
|
1340
|
-
action:
|
|
1340
|
+
action: P(() => [
|
|
1341
1341
|
y("div", null, [
|
|
1342
1342
|
C(He, {
|
|
1343
1343
|
onClickEvent: r,
|
|
@@ -1346,13 +1346,13 @@ const Hn = ["innerHTML"], Pn = /* @__PURE__ */ K({
|
|
|
1346
1346
|
})
|
|
1347
1347
|
])
|
|
1348
1348
|
]),
|
|
1349
|
-
default:
|
|
1350
|
-
C(
|
|
1351
|
-
modelValue:
|
|
1352
|
-
"onUpdate:modelValue": l[0] || (l[0] = (h) =>
|
|
1353
|
-
title:
|
|
1354
|
-
"template-id":
|
|
1355
|
-
roomGroups:
|
|
1349
|
+
default: P(() => [
|
|
1350
|
+
C(pi, {
|
|
1351
|
+
modelValue: n.value,
|
|
1352
|
+
"onUpdate:modelValue": l[0] || (l[0] = (h) => n.value = h),
|
|
1353
|
+
title: c.name,
|
|
1354
|
+
"template-id": c.id,
|
|
1355
|
+
roomGroups: c.roomGroups,
|
|
1356
1356
|
callback: a
|
|
1357
1357
|
}, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
|
|
1358
1358
|
]),
|
|
@@ -1360,7 +1360,7 @@ const Hn = ["innerHTML"], Pn = /* @__PURE__ */ K({
|
|
|
1360
1360
|
}, 8, ["listing-id", "name", "description", "gallery"]));
|
|
1361
1361
|
}
|
|
1362
1362
|
});
|
|
1363
|
-
const
|
|
1363
|
+
const Pi = /* @__PURE__ */ ie(Hi, [["__scopeId", "data-v-f277e2e5"]]), qt = /* @__PURE__ */ K({
|
|
1364
1364
|
__name: "TimeField",
|
|
1365
1365
|
props: {
|
|
1366
1366
|
modelValue: {},
|
|
@@ -1385,30 +1385,30 @@ const Vn = /* @__PURE__ */ ne(Pn, [["__scopeId", "data-v-f277e2e5"]]), qt = /* @
|
|
|
1385
1385
|
},
|
|
1386
1386
|
emits: ["update:modelValue"],
|
|
1387
1387
|
setup(t, { emit: e }) {
|
|
1388
|
-
const o = e,
|
|
1389
|
-
function r(
|
|
1390
|
-
o("update:modelValue",
|
|
1388
|
+
const o = e, n = t;
|
|
1389
|
+
function r(c) {
|
|
1390
|
+
o("update:modelValue", c);
|
|
1391
1391
|
}
|
|
1392
|
-
const a =
|
|
1393
|
-
return De(a, (
|
|
1394
|
-
r(
|
|
1395
|
-
}), (
|
|
1392
|
+
const a = U(n.modelValue);
|
|
1393
|
+
return De(a, (c) => {
|
|
1394
|
+
r(c);
|
|
1395
|
+
}), (c, l) => (E(), x(bn, {
|
|
1396
1396
|
modelValue: a.value,
|
|
1397
1397
|
"onUpdate:modelValue": l[0] || (l[0] = (h) => a.value = h),
|
|
1398
1398
|
type: "time",
|
|
1399
|
-
label:
|
|
1400
|
-
id:
|
|
1401
|
-
name:
|
|
1402
|
-
icon:
|
|
1403
|
-
"icon-type":
|
|
1404
|
-
"icon-color":
|
|
1399
|
+
label: c.label,
|
|
1400
|
+
id: c.id,
|
|
1401
|
+
name: c.name,
|
|
1402
|
+
icon: c.icon,
|
|
1403
|
+
"icon-type": c.iconType,
|
|
1404
|
+
"icon-color": c.iconColor,
|
|
1405
1405
|
"auto-apply": !0,
|
|
1406
|
-
required:
|
|
1407
|
-
readonly:
|
|
1406
|
+
required: c.required,
|
|
1407
|
+
readonly: c.readonly
|
|
1408
1408
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
1409
1409
|
}
|
|
1410
1410
|
});
|
|
1411
|
-
const
|
|
1411
|
+
const Vi = { style: { display: "flex", "align-items": "baseline" } }, Oi = /* @__PURE__ */ K({
|
|
1412
1412
|
__name: "CountryField",
|
|
1413
1413
|
props: {
|
|
1414
1414
|
modelValue: {},
|
|
@@ -1420,32 +1420,32 @@ const On = { style: { display: "flex", "align-items": "baseline" } }, Dn = /* @_
|
|
|
1420
1420
|
},
|
|
1421
1421
|
emits: ["update:modelValue"],
|
|
1422
1422
|
setup(t, { emit: e }) {
|
|
1423
|
-
const { t: o } =
|
|
1423
|
+
const { t: o } = he(), n = e, r = t;
|
|
1424
1424
|
function a(l) {
|
|
1425
|
-
|
|
1425
|
+
n("update:modelValue", l);
|
|
1426
1426
|
}
|
|
1427
|
-
const
|
|
1427
|
+
const c = j({
|
|
1428
1428
|
get: () => r.modelValue,
|
|
1429
1429
|
set: (l) => a(l)
|
|
1430
1430
|
});
|
|
1431
|
-
return (l, h) => (E(),
|
|
1432
|
-
modelValue:
|
|
1433
|
-
"onUpdate:modelValue": h[0] || (h[0] = (u) =>
|
|
1431
|
+
return (l, h) => (E(), x(it, {
|
|
1432
|
+
modelValue: c.value,
|
|
1433
|
+
"onUpdate:modelValue": h[0] || (h[0] = (u) => c.value = u),
|
|
1434
1434
|
label: l.label,
|
|
1435
|
-
placeholder:
|
|
1435
|
+
placeholder: d(o)("booking.reservation.countryPlaceholder"),
|
|
1436
1436
|
labelKey: "name",
|
|
1437
1437
|
valueKey: "id",
|
|
1438
1438
|
options: l.options,
|
|
1439
1439
|
required: l.required
|
|
1440
1440
|
}, {
|
|
1441
|
-
option:
|
|
1441
|
+
option: P(({ data: u }) => [
|
|
1442
1442
|
y("i", {
|
|
1443
1443
|
class: se(["konnectio-flag-icon", u.iso])
|
|
1444
1444
|
}, null, 2),
|
|
1445
1445
|
y("span", null, A(u.name), 1)
|
|
1446
1446
|
]),
|
|
1447
|
-
"selected-option":
|
|
1448
|
-
y("div",
|
|
1447
|
+
"selected-option": P(({ data: u }) => [
|
|
1448
|
+
y("div", Vi, [
|
|
1449
1449
|
y("i", {
|
|
1450
1450
|
class: se(["konnectio-flag-icon", u.iso])
|
|
1451
1451
|
}, null, 2),
|
|
@@ -1456,7 +1456,7 @@ const On = { style: { display: "flex", "align-items": "baseline" } }, Dn = /* @_
|
|
|
1456
1456
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
1457
1457
|
}
|
|
1458
1458
|
});
|
|
1459
|
-
const
|
|
1459
|
+
const Di = /* @__PURE__ */ ie(Oi, [["__scopeId", "data-v-1462612d"]]), Ri = { class: "konnectio-radio-checkboxes" }, Bi = /* @__PURE__ */ K({
|
|
1460
1460
|
__name: "CheckboxField",
|
|
1461
1461
|
props: {
|
|
1462
1462
|
modelValue: {},
|
|
@@ -1466,26 +1466,26 @@ const Rn = /* @__PURE__ */ ne(Dn, [["__scopeId", "data-v-1462612d"]]), Bn = { cl
|
|
|
1466
1466
|
},
|
|
1467
1467
|
emits: ["update:modelValue"],
|
|
1468
1468
|
setup(t, { emit: e }) {
|
|
1469
|
-
const o = e,
|
|
1470
|
-
function r(
|
|
1471
|
-
o("update:modelValue",
|
|
1469
|
+
const o = e, n = t;
|
|
1470
|
+
function r(c) {
|
|
1471
|
+
o("update:modelValue", c);
|
|
1472
1472
|
}
|
|
1473
1473
|
const a = j({
|
|
1474
|
-
get: () =>
|
|
1475
|
-
set: (
|
|
1474
|
+
get: () => n.modelValue,
|
|
1475
|
+
set: (c) => r(c)
|
|
1476
1476
|
});
|
|
1477
|
-
return (
|
|
1478
|
-
label:
|
|
1477
|
+
return (c, l) => (E(), x(uo, {
|
|
1478
|
+
label: c.label,
|
|
1479
1479
|
type: "multi-radio"
|
|
1480
1480
|
}, {
|
|
1481
|
-
default:
|
|
1482
|
-
y("ul",
|
|
1483
|
-
(E(!0), T(
|
|
1481
|
+
default: P(() => [
|
|
1482
|
+
y("ul", Ri, [
|
|
1483
|
+
(E(!0), T(q, null, G(c.checkboxes, ({ label: h, value: u }, v) => (E(), T("li", { key: v }, [
|
|
1484
1484
|
C(Tt, {
|
|
1485
1485
|
modelValue: a.value,
|
|
1486
1486
|
"onUpdate:modelValue": l[0] || (l[0] = (m) => a.value = m),
|
|
1487
1487
|
label: h,
|
|
1488
|
-
name:
|
|
1488
|
+
name: c.name,
|
|
1489
1489
|
type: "radio",
|
|
1490
1490
|
val: u
|
|
1491
1491
|
}, null, 8, ["modelValue", "label", "name", "val"])
|
|
@@ -1496,7 +1496,7 @@ const Rn = /* @__PURE__ */ ne(Dn, [["__scopeId", "data-v-1462612d"]]), Bn = { cl
|
|
|
1496
1496
|
}, 8, ["label"]));
|
|
1497
1497
|
}
|
|
1498
1498
|
});
|
|
1499
|
-
const
|
|
1499
|
+
const Mi = /* @__PURE__ */ ie(Bi, [["__scopeId", "data-v-d8d42a8a"]]), zi = /* @__PURE__ */ K({
|
|
1500
1500
|
__name: "NameField",
|
|
1501
1501
|
props: {
|
|
1502
1502
|
modelValue: {},
|
|
@@ -1518,58 +1518,58 @@ const zn = /* @__PURE__ */ ne(Mn, [["__scopeId", "data-v-d8d42a8a"]]), Wn = /* @
|
|
|
1518
1518
|
},
|
|
1519
1519
|
emits: ["update:modelValue", "update:title"],
|
|
1520
1520
|
setup(t, { emit: e }) {
|
|
1521
|
-
const o = t,
|
|
1521
|
+
const o = t, n = e, r = o.id || xt(), a = U(""), c = U(2);
|
|
1522
1522
|
function l() {
|
|
1523
|
-
|
|
1523
|
+
n("update:modelValue", a.value);
|
|
1524
1524
|
}
|
|
1525
|
-
De(
|
|
1526
|
-
|
|
1525
|
+
De(c, (u) => {
|
|
1526
|
+
n("update:title", u);
|
|
1527
1527
|
});
|
|
1528
|
-
const { t: h } =
|
|
1528
|
+
const { t: h } = he();
|
|
1529
1529
|
return Ne(() => {
|
|
1530
|
-
o.modelValue && (a.value = o.modelValue), o.title && (
|
|
1531
|
-
}), (u, v) => (E(),
|
|
1530
|
+
o.modelValue && (a.value = o.modelValue), o.title && (c.value = o.title);
|
|
1531
|
+
}), (u, v) => (E(), x(uo, {
|
|
1532
1532
|
label: u.label,
|
|
1533
|
-
id:
|
|
1533
|
+
id: d(r),
|
|
1534
1534
|
required: u.required,
|
|
1535
1535
|
type: "fresh-booking-name-field",
|
|
1536
1536
|
readonly: u.readonly,
|
|
1537
1537
|
limit: u.limit
|
|
1538
1538
|
}, {
|
|
1539
|
-
default:
|
|
1539
|
+
default: P(() => [
|
|
1540
1540
|
y("div", {
|
|
1541
1541
|
class: se([
|
|
1542
1542
|
"fresh-booking-name-input",
|
|
1543
1543
|
{ "no-title": u.excludeTitle }
|
|
1544
1544
|
])
|
|
1545
1545
|
}, [
|
|
1546
|
-
u.excludeTitle ?
|
|
1546
|
+
u.excludeTitle ? H("", !0) : (E(), x(it, {
|
|
1547
1547
|
key: 0,
|
|
1548
|
-
modelValue:
|
|
1549
|
-
"onUpdate:modelValue": v[0] || (v[0] = (m) =>
|
|
1550
|
-
id:
|
|
1548
|
+
modelValue: c.value,
|
|
1549
|
+
"onUpdate:modelValue": v[0] || (v[0] = (m) => c.value = m),
|
|
1550
|
+
id: d(xt)(),
|
|
1551
1551
|
icon: u.icon,
|
|
1552
1552
|
"icon-color": u.iconColor,
|
|
1553
1553
|
"icon-type": u.iconType,
|
|
1554
1554
|
options: [
|
|
1555
1555
|
{
|
|
1556
|
-
label:
|
|
1556
|
+
label: d(h)("booking.reservation.noNameTitle"),
|
|
1557
1557
|
value: 1
|
|
1558
1558
|
},
|
|
1559
1559
|
{
|
|
1560
|
-
label:
|
|
1560
|
+
label: d(h)("booking.reservation.nameTitleMr"),
|
|
1561
1561
|
value: 2
|
|
1562
1562
|
},
|
|
1563
1563
|
{
|
|
1564
|
-
label:
|
|
1564
|
+
label: d(h)("booking.reservation.nameTitleMs"),
|
|
1565
1565
|
value: 3
|
|
1566
1566
|
},
|
|
1567
1567
|
{
|
|
1568
|
-
label:
|
|
1568
|
+
label: d(h)("booking.reservation.nameTitleMrs"),
|
|
1569
1569
|
value: 4
|
|
1570
1570
|
},
|
|
1571
1571
|
{
|
|
1572
|
-
label:
|
|
1572
|
+
label: d(h)("booking.reservation.nameTitleDr"),
|
|
1573
1573
|
value: 5
|
|
1574
1574
|
}
|
|
1575
1575
|
],
|
|
@@ -1578,13 +1578,13 @@ const zn = /* @__PURE__ */ ne(Mn, [["__scopeId", "data-v-d8d42a8a"]]), Wn = /* @
|
|
|
1578
1578
|
"input-style": u.inputStyle,
|
|
1579
1579
|
searchable: !1
|
|
1580
1580
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
1581
|
-
C(
|
|
1581
|
+
C(de, {
|
|
1582
1582
|
modelValue: a.value,
|
|
1583
1583
|
"onUpdate:modelValue": v[1] || (v[1] = (m) => a.value = m),
|
|
1584
1584
|
type: "text",
|
|
1585
1585
|
name: "name",
|
|
1586
1586
|
autocomplete: "name",
|
|
1587
|
-
id:
|
|
1587
|
+
id: d(r),
|
|
1588
1588
|
icon: u.excludeTitle ? u.icon : void 0,
|
|
1589
1589
|
"icon-color": u.iconColor,
|
|
1590
1590
|
"icon-type": u.iconType,
|
|
@@ -1601,26 +1601,26 @@ const zn = /* @__PURE__ */ ne(Mn, [["__scopeId", "data-v-d8d42a8a"]]), Wn = /* @
|
|
|
1601
1601
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
1602
1602
|
}
|
|
1603
1603
|
});
|
|
1604
|
-
const
|
|
1604
|
+
const Wi = /* @__PURE__ */ ie(zi, [["__scopeId", "data-v-78b0b319"]]), xi = { class: "hotel-listing" }, Fi = { class: "hotel-listing-content-gallery" }, Ni = { class: "hotel-listing-content-thumbs" }, Ui = { class: "hotel-listing-content" }, qi = { class: "hotel-listing-content-header" }, Gi = { class: "hotel-listing-content-title" }, ji = { class: "hotel-listing-content-body" }, Yi = { class: "hotel-listing-content-facilities" }, Ki = /* @__PURE__ */ K({
|
|
1605
1605
|
__name: "Listing",
|
|
1606
1606
|
setup(t) {
|
|
1607
|
-
return (e, o) => (E(), T("div",
|
|
1608
|
-
y("div",
|
|
1607
|
+
return (e, o) => (E(), T("div", xi, [
|
|
1608
|
+
y("div", Fi, [
|
|
1609
1609
|
C(oe, {
|
|
1610
1610
|
width: "280px",
|
|
1611
1611
|
height: "153px"
|
|
1612
1612
|
}),
|
|
1613
|
-
y("div",
|
|
1614
|
-
(E(), T(
|
|
1615
|
-
key:
|
|
1613
|
+
y("div", Ni, [
|
|
1614
|
+
(E(), T(q, null, G(3, (n) => C(oe, {
|
|
1615
|
+
key: n,
|
|
1616
1616
|
width: "84px",
|
|
1617
1617
|
height: "44px"
|
|
1618
1618
|
})), 64))
|
|
1619
1619
|
])
|
|
1620
1620
|
]),
|
|
1621
|
-
y("div",
|
|
1622
|
-
y("div",
|
|
1623
|
-
y("div",
|
|
1621
|
+
y("div", Ui, [
|
|
1622
|
+
y("div", qi, [
|
|
1623
|
+
y("div", Gi, [
|
|
1624
1624
|
C(oe, {
|
|
1625
1625
|
height: "30px",
|
|
1626
1626
|
width: "60%"
|
|
@@ -1636,7 +1636,7 @@ const xn = /* @__PURE__ */ ne(Wn, [["__scopeId", "data-v-78b0b319"]]), Fn = { cl
|
|
|
1636
1636
|
width: "25%"
|
|
1637
1637
|
})
|
|
1638
1638
|
]),
|
|
1639
|
-
y("div",
|
|
1639
|
+
y("div", ji, [
|
|
1640
1640
|
C(oe, { height: "15px" }),
|
|
1641
1641
|
C(oe, { height: "15px" }),
|
|
1642
1642
|
C(oe, { height: "15px" }),
|
|
@@ -1646,9 +1646,9 @@ const xn = /* @__PURE__ */ ne(Wn, [["__scopeId", "data-v-78b0b319"]]), Fn = { cl
|
|
|
1646
1646
|
width: "90%"
|
|
1647
1647
|
})
|
|
1648
1648
|
]),
|
|
1649
|
-
y("div",
|
|
1650
|
-
(E(), T(
|
|
1651
|
-
key:
|
|
1649
|
+
y("div", Yi, [
|
|
1650
|
+
(E(), T(q, null, G(5, (n) => C(oe, {
|
|
1651
|
+
key: n,
|
|
1652
1652
|
height: "25px",
|
|
1653
1653
|
width: "25px",
|
|
1654
1654
|
"border-radius": "6px"
|
|
@@ -1658,64 +1658,66 @@ const xn = /* @__PURE__ */ ne(Wn, [["__scopeId", "data-v-78b0b319"]]), Fn = { cl
|
|
|
1658
1658
|
]));
|
|
1659
1659
|
}
|
|
1660
1660
|
});
|
|
1661
|
-
const Oe = /* @__PURE__ */
|
|
1661
|
+
const Oe = /* @__PURE__ */ ie(Ki, [["__scopeId", "data-v-a5347d60"]]), Qi = { class: "hotel-skeleton" }, Xi = { class: "hotel-skeleton-content" }, Ji = { class: "hotel-skeleton-sidebar" }, Zi = /* @__PURE__ */ K({
|
|
1662
1662
|
__name: "HotelSkeleton",
|
|
1663
1663
|
setup(t) {
|
|
1664
|
-
return (e, o) => (E(), T("div",
|
|
1665
|
-
y("div",
|
|
1666
|
-
C(
|
|
1664
|
+
return (e, o) => (E(), T("div", Qi, [
|
|
1665
|
+
y("div", Xi, [
|
|
1666
|
+
C(yn),
|
|
1667
1667
|
C(Oe),
|
|
1668
1668
|
C(Oe),
|
|
1669
1669
|
C(Oe)
|
|
1670
1670
|
]),
|
|
1671
|
-
y("div",
|
|
1672
|
-
C(
|
|
1671
|
+
y("div", Ji, [
|
|
1672
|
+
C(pn)
|
|
1673
1673
|
])
|
|
1674
1674
|
]));
|
|
1675
1675
|
}
|
|
1676
1676
|
});
|
|
1677
|
-
const
|
|
1678
|
-
const rr = {
|
|
1679
|
-
key: 1,
|
|
1680
|
-
"sticky-container": ""
|
|
1681
|
-
}, ar = { key: 0 }, sr = {
|
|
1677
|
+
const er = /* @__PURE__ */ ie(Zi, [["__scopeId", "data-v-5fa1400b"]]), tr = (t) => (ao("data-v-103f000d"), t = t(), so(), t), or = { id: "booking-availability-container" }, nr = { id: "booking-availability-controls" };
|
|
1678
|
+
const ir = { key: 1 }, rr = { key: 0 }, ar = {
|
|
1682
1679
|
key: 0,
|
|
1683
1680
|
id: "booking-availability-packages"
|
|
1684
|
-
},
|
|
1681
|
+
}, sr = {
|
|
1682
|
+
key: 0,
|
|
1683
|
+
class: "konnectio-hotel-availability-title"
|
|
1684
|
+
}, lr = { id: "booking-availability-packages-wrapper" }, ur = { key: 1 }, dr = {
|
|
1685
1685
|
key: 0,
|
|
1686
1686
|
class: "konnectio-hotel-availability-title"
|
|
1687
|
-
},
|
|
1687
|
+
}, cr = { id: "booking-availability-listings" }, fr = {
|
|
1688
1688
|
key: 2,
|
|
1689
|
-
id: "booking-availability-no-listings"
|
|
1690
|
-
|
|
1689
|
+
id: "booking-availability-no-listings",
|
|
1690
|
+
class: "fresh-booking-panel"
|
|
1691
|
+
}, pr = {
|
|
1691
1692
|
key: 1,
|
|
1692
1693
|
id: "booking-availability-no-listings"
|
|
1693
|
-
},
|
|
1694
|
+
}, hr = {
|
|
1694
1695
|
key: 2,
|
|
1695
1696
|
id: "reservation-availability-next-dates"
|
|
1696
|
-
},
|
|
1697
|
-
const
|
|
1697
|
+
}, mr = { class: "konnectio-hotel-availability-title" }, vr = { class: "reservation-special-offers-grid" }, yr = ["title"];
|
|
1698
|
+
const gr = {
|
|
1698
1699
|
key: 2,
|
|
1699
1700
|
class: "konnectio-listing-loading"
|
|
1700
|
-
},
|
|
1701
|
+
}, br = { class: "fresh-booking-panel" }, _r = {
|
|
1701
1702
|
key: 0,
|
|
1702
1703
|
id: "konnectio-hotel-addons"
|
|
1703
1704
|
};
|
|
1704
|
-
const
|
|
1705
|
+
const kr = { class: "fresh-booking-event-addons-price" }, Er = { key: 1 }, Tr = /* @__PURE__ */ tr(() => /* @__PURE__ */ y("br", null, null, -1)), Cr = ["onClick"], Sr = { class: "fresh-booking-panel" }, $r = { key: 0 }, wr = { key: 1 }, Ir = { class: "fresh-booking-split-inputs" }, Lr = ["onClick"], Ar = /* @__PURE__ */ K({
|
|
1705
1706
|
name: "HotelLayout",
|
|
1706
1707
|
__name: "Hotel",
|
|
1707
1708
|
props: {
|
|
1708
1709
|
accessToken: {},
|
|
1709
1710
|
headerLayout: { default: Xo.Minimal },
|
|
1711
|
+
onlyShow: { default: "everything" },
|
|
1710
1712
|
styling: {}
|
|
1711
1713
|
},
|
|
1712
1714
|
setup(t) {
|
|
1713
|
-
const { t: e } =
|
|
1715
|
+
const { t: e } = he(), {
|
|
1714
1716
|
templateID: o,
|
|
1715
|
-
title:
|
|
1717
|
+
title: n,
|
|
1716
1718
|
countries: r,
|
|
1717
1719
|
areListingsLoading: a,
|
|
1718
|
-
isAvailabilityDataAvailable:
|
|
1720
|
+
isAvailabilityDataAvailable: c,
|
|
1719
1721
|
isPaymentLoading: l,
|
|
1720
1722
|
isReservationFormFilled: h,
|
|
1721
1723
|
selectedPackage: u,
|
|
@@ -1725,8 +1727,8 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
1725
1727
|
name: s,
|
|
1726
1728
|
nameTitle: g,
|
|
1727
1729
|
email: k,
|
|
1728
|
-
phone:
|
|
1729
|
-
firmName:
|
|
1730
|
+
phone: f,
|
|
1731
|
+
firmName: i,
|
|
1730
1732
|
postal: p,
|
|
1731
1733
|
city: b,
|
|
1732
1734
|
address: $,
|
|
@@ -1734,17 +1736,17 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
1734
1736
|
remark: O,
|
|
1735
1737
|
allergies: L,
|
|
1736
1738
|
newsMails: S,
|
|
1737
|
-
roomSelect:
|
|
1739
|
+
roomSelect: V,
|
|
1738
1740
|
roomDisplay: B,
|
|
1739
1741
|
hasValidRoomSelection: R,
|
|
1740
1742
|
//canStartReservation,
|
|
1741
1743
|
getSelectedPackageRoom: M,
|
|
1742
|
-
availabilityData:
|
|
1744
|
+
availabilityData: z,
|
|
1743
1745
|
selectionHasNoAddons: Q
|
|
1744
|
-
} = Z(
|
|
1745
|
-
arrivalDate:
|
|
1746
|
+
} = Z(pe()), {
|
|
1747
|
+
arrivalDate: le,
|
|
1746
1748
|
departureDate: re
|
|
1747
|
-
} = Z(
|
|
1749
|
+
} = Z(io()), {
|
|
1748
1750
|
currency: ve,
|
|
1749
1751
|
isRecaptchaEnabled: Y,
|
|
1750
1752
|
disableNewsletterSignup: ye,
|
|
@@ -1752,7 +1754,7 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
1752
1754
|
arrivalLatest: Be,
|
|
1753
1755
|
departureEarliest: Ue,
|
|
1754
1756
|
departureLatest: rt,
|
|
1755
|
-
enableTracking:
|
|
1757
|
+
enableTracking: N,
|
|
1756
1758
|
arrivalDefault: Se,
|
|
1757
1759
|
departureDefault: at,
|
|
1758
1760
|
enablePackages: Dt,
|
|
@@ -1770,9 +1772,9 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
1770
1772
|
initialize: Ie,
|
|
1771
1773
|
resetTemplate: Io,
|
|
1772
1774
|
createReservation: Lo,
|
|
1773
|
-
getSingleListing:
|
|
1774
|
-
} =
|
|
1775
|
-
const
|
|
1775
|
+
getSingleListing: Va
|
|
1776
|
+
} = pe(), Ao = U(!0), Ho = j(() => {
|
|
1777
|
+
const W = [
|
|
1776
1778
|
{
|
|
1777
1779
|
label: e("booking.reservation.business"),
|
|
1778
1780
|
value: "Business"
|
|
@@ -1782,22 +1784,22 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
1782
1784
|
value: "Pleasure"
|
|
1783
1785
|
}
|
|
1784
1786
|
];
|
|
1785
|
-
return we.value ||
|
|
1787
|
+
return we.value || W.push({
|
|
1786
1788
|
label: e("booking.reservation.bleasure"),
|
|
1787
1789
|
value: "Bleasure"
|
|
1788
|
-
}),
|
|
1790
|
+
}), W;
|
|
1789
1791
|
}), Po = j(() => {
|
|
1790
|
-
const
|
|
1791
|
-
|
|
1792
|
+
const W = z.value.roomGroups.slice();
|
|
1793
|
+
W.forEach((ee) => {
|
|
1792
1794
|
ee.pricesFrom = ee.rates.reduce(
|
|
1793
|
-
(
|
|
1795
|
+
(F, I) => F < I.rackRate ? F : I.rackRate,
|
|
1794
1796
|
1 / 0
|
|
1795
1797
|
);
|
|
1796
1798
|
});
|
|
1797
|
-
function D(ee,
|
|
1798
|
-
return Ao.value === !0 ? ee.pricesFrom >
|
|
1799
|
+
function D(ee, F) {
|
|
1800
|
+
return Ao.value === !0 ? ee.pricesFrom > F.pricesFrom ? -1 : 1 : ee.pricesFrom > F.pricesFrom ? 1 : -1;
|
|
1799
1801
|
}
|
|
1800
|
-
return
|
|
1802
|
+
return W.sort(D);
|
|
1801
1803
|
}), Vo = j(() => [[
|
|
1802
1804
|
parseInt(ge.value.split(":")[0]),
|
|
1803
1805
|
parseInt(Be.value.split(":")[0])
|
|
@@ -1805,69 +1807,69 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
1805
1807
|
parseInt(Ue.value.split(":")[0]),
|
|
1806
1808
|
parseInt(rt.value.split(":")[0])
|
|
1807
1809
|
]]);
|
|
1808
|
-
function Rt(
|
|
1809
|
-
Q.value ?
|
|
1810
|
+
function Rt(W) {
|
|
1811
|
+
Q.value ? W(2) : W();
|
|
1810
1812
|
}
|
|
1811
|
-
function Do(
|
|
1812
|
-
re.value = new Date(D),
|
|
1813
|
+
function Do(W, D) {
|
|
1814
|
+
re.value = new Date(D), le.value = new Date(W), location.reload();
|
|
1813
1815
|
}
|
|
1814
|
-
async function Ro(
|
|
1815
|
-
await Lo(
|
|
1816
|
+
async function Ro(W) {
|
|
1817
|
+
await Lo(W);
|
|
1816
1818
|
}
|
|
1817
|
-
function Bo(
|
|
1818
|
-
|
|
1819
|
+
function Bo(W) {
|
|
1820
|
+
N.value && ae(), Q.value ? W(2) : W();
|
|
1819
1821
|
}
|
|
1820
1822
|
function Mo() {
|
|
1821
1823
|
m.value === "" && (m.value = Se.value), _.value === "" && (_.value = at.value);
|
|
1822
1824
|
}
|
|
1823
1825
|
return Ne(() => {
|
|
1824
1826
|
Ie(), Mo();
|
|
1825
|
-
}), (
|
|
1826
|
-
default:
|
|
1827
|
-
C(
|
|
1827
|
+
}), (W, D) => (E(), x(Zo, null, {
|
|
1828
|
+
default: P(() => [
|
|
1829
|
+
C(tn, {
|
|
1828
1830
|
id: "fresh-booking-hotel-module",
|
|
1829
|
-
"access-token":
|
|
1831
|
+
"access-token": W.accessToken,
|
|
1830
1832
|
type: "hotel",
|
|
1831
|
-
styling:
|
|
1833
|
+
styling: W.styling
|
|
1832
1834
|
}, {
|
|
1833
|
-
default:
|
|
1834
|
-
C(
|
|
1835
|
-
layout:
|
|
1836
|
-
onReset:
|
|
1835
|
+
default: P(() => [
|
|
1836
|
+
C(hn, {
|
|
1837
|
+
layout: W.headerLayout,
|
|
1838
|
+
onReset: d(Io)
|
|
1837
1839
|
}, {
|
|
1838
|
-
availability:
|
|
1840
|
+
availability: P(({ next: ee }) => [
|
|
1839
1841
|
C(dt, null, {
|
|
1840
|
-
form:
|
|
1841
|
-
y("div",
|
|
1842
|
+
form: P(() => [
|
|
1843
|
+
y("div", or, [
|
|
1842
1844
|
y("div", nr, [
|
|
1843
|
-
C(
|
|
1845
|
+
C(gn, { booking: !0 })
|
|
1844
1846
|
]),
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
+
H("", !0),
|
|
1848
|
+
d(a) ? (E(), T("div", gr, [
|
|
1847
1849
|
C(Oe),
|
|
1848
1850
|
C(Oe),
|
|
1849
1851
|
C(Oe)
|
|
1850
|
-
])) : (E(), T("div",
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
C(
|
|
1852
|
+
])) : (E(), T("div", ir, [
|
|
1853
|
+
d(z).roomGroups.length > 0 || d(z).templates.length > 0 ? (E(), T("div", rr, [
|
|
1854
|
+
d(z).templates.length > 0 && W.onlyShow !== "rooms" ? (E(), T("div", ar, [
|
|
1855
|
+
W.onlyShow !== "packages" ? (E(), T("h2", sr, [
|
|
1856
|
+
C(ne, {
|
|
1855
1857
|
icon: "box",
|
|
1856
1858
|
type: "fal",
|
|
1857
1859
|
color: "header"
|
|
1858
1860
|
}),
|
|
1859
|
-
y("span", null, A(
|
|
1860
|
-
]),
|
|
1861
|
-
y("ul",
|
|
1862
|
-
(E(!0), T(
|
|
1863
|
-
id:
|
|
1861
|
+
y("span", null, A(d(e)("booking.availability.packagesTitle")), 1)
|
|
1862
|
+
])) : H("", !0),
|
|
1863
|
+
y("ul", lr, [
|
|
1864
|
+
(E(!0), T(q, null, G(d(z).templates, ({
|
|
1865
|
+
id: F,
|
|
1864
1866
|
name: I,
|
|
1865
1867
|
templateRoomGroups: Le,
|
|
1866
1868
|
image: Ae,
|
|
1867
1869
|
description: J
|
|
1868
|
-
}) => (E(),
|
|
1869
|
-
key:
|
|
1870
|
-
id:
|
|
1870
|
+
}) => (E(), x(Pi, {
|
|
1871
|
+
key: F,
|
|
1872
|
+
id: F,
|
|
1871
1873
|
description: J,
|
|
1872
1874
|
name: I,
|
|
1873
1875
|
image: Ae,
|
|
@@ -1875,58 +1877,59 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
1875
1877
|
callback: ee
|
|
1876
1878
|
}, null, 8, ["id", "description", "name", "image", "room-groups", "callback"]))), 128))
|
|
1877
1879
|
])
|
|
1878
|
-
])) :
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
C(
|
|
1880
|
+
])) : H("", !0),
|
|
1881
|
+
d(z).roomGroups.length > 0 && W.onlyShow !== "packages" ? (E(), T("div", ur, [
|
|
1882
|
+
d(z).templates.length > 0 && W.onlyShow !== "rooms" ? (E(), T("h2", dr, [
|
|
1883
|
+
C(ne, {
|
|
1882
1884
|
icon: "house",
|
|
1883
1885
|
type: "fal",
|
|
1884
1886
|
color: "header"
|
|
1885
1887
|
}),
|
|
1886
|
-
y("span", null, A(
|
|
1887
|
-
])) :
|
|
1888
|
-
y("ul",
|
|
1889
|
-
(E(!0), T(
|
|
1890
|
-
room:
|
|
1888
|
+
y("span", null, A(d(e)("booking.availability.roomsTitle")), 1)
|
|
1889
|
+
])) : H("", !0),
|
|
1890
|
+
y("ul", cr, [
|
|
1891
|
+
(E(!0), T(q, null, G(Po.value, (F, I) => (E(), x(jn, {
|
|
1892
|
+
room: F,
|
|
1891
1893
|
key: I
|
|
1892
1894
|
}, null, 8, ["room"]))), 128))
|
|
1893
1895
|
])
|
|
1894
|
-
])) : (
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1896
|
+
])) : H("", !0),
|
|
1897
|
+
(d(z).templates.length === 0 && W.onlyShow !== "rooms" || d(z).roomGroups.length === 0 && W.onlyShow !== "packages") && (W.onlyShow === "rooms" || W.onlyShow === "packages") ? (E(), T("div", fr, [
|
|
1898
|
+
y("span", null, A(d(e)("booking.availability.nothingAvailable")), 1)
|
|
1899
|
+
])) : H("", !0)
|
|
1900
|
+
])) : d(z).nextAvailableDates.length === 0 ? (E(), T("div", pr, [
|
|
1901
|
+
y("span", null, A(d(e)("booking.availability.nothingAvailable")), 1)
|
|
1902
|
+
])) : (E(), T("div", hr, [
|
|
1903
|
+
y("h2", mr, [
|
|
1904
|
+
C(ne, {
|
|
1902
1905
|
icon: "calendar-circle-exclamation",
|
|
1903
1906
|
type: "fal",
|
|
1904
1907
|
color: "header"
|
|
1905
1908
|
}),
|
|
1906
|
-
y("span", null, A(
|
|
1909
|
+
y("span", null, A(d(e)("booking.availability.nextAvailableDates")), 1)
|
|
1907
1910
|
]),
|
|
1908
|
-
y("ul",
|
|
1909
|
-
(E(!0), T(
|
|
1911
|
+
y("ul", vr, [
|
|
1912
|
+
(E(!0), T(q, null, G(d(z).nextAvailableDates, (F, I) => (E(), T("li", { key: I }, [
|
|
1910
1913
|
y("h3", {
|
|
1911
|
-
title: `${
|
|
1914
|
+
title: `${d(ce)(F.fromDate)} - ${d(ce)(F.toDate)}`
|
|
1912
1915
|
}, [
|
|
1913
|
-
y("span", null, A(`${
|
|
1914
|
-
], 8,
|
|
1916
|
+
y("span", null, A(`${d(ce)(F.fromDate)} - ${d(ce)(F.toDate)}`), 1)
|
|
1917
|
+
], 8, yr),
|
|
1915
1918
|
y("ul", null, [
|
|
1916
|
-
|
|
1919
|
+
H("", !0),
|
|
1917
1920
|
y("li", null, [
|
|
1918
|
-
C(
|
|
1921
|
+
C(ne, {
|
|
1919
1922
|
icon: "money-bill",
|
|
1920
1923
|
type: "fal",
|
|
1921
1924
|
color: "header"
|
|
1922
1925
|
}),
|
|
1923
|
-
y("span", null, A(
|
|
1926
|
+
y("span", null, A(d(e)("booking.availability.pricesFrom")) + ": " + A(d(fe)(F.priceStartFrom, d(ve))), 1)
|
|
1924
1927
|
])
|
|
1925
1928
|
]),
|
|
1926
1929
|
C(He, {
|
|
1927
|
-
label:
|
|
1930
|
+
label: d(e)("booking.availability.selectDates"),
|
|
1928
1931
|
"full-width": "",
|
|
1929
|
-
onClickEvent: (Le) => Do(
|
|
1932
|
+
onClickEvent: (Le) => Do(F.fromDate, F.toDate)
|
|
1930
1933
|
}, null, 8, ["label", "onClickEvent"])
|
|
1931
1934
|
]))), 128))
|
|
1932
1935
|
])
|
|
@@ -1934,67 +1937,67 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
1934
1937
|
]))
|
|
1935
1938
|
])
|
|
1936
1939
|
]),
|
|
1937
|
-
navigation:
|
|
1940
|
+
navigation: P(() => [
|
|
1938
1941
|
C(He, {
|
|
1939
|
-
label:
|
|
1940
|
-
disabled: !
|
|
1942
|
+
label: d(Q) ? d(e)("booking.availability.nextButton") : d(e)("general.chooseAddons"),
|
|
1943
|
+
disabled: !d(R),
|
|
1941
1944
|
"is-loading": !1,
|
|
1942
1945
|
"full-width": "",
|
|
1943
|
-
onClickEvent: (
|
|
1946
|
+
onClickEvent: (F) => Bo(ee)
|
|
1944
1947
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
1945
1948
|
]),
|
|
1946
1949
|
_: 2
|
|
1947
1950
|
}, 1024)
|
|
1948
1951
|
]),
|
|
1949
|
-
addons:
|
|
1952
|
+
addons: P(({ next: ee, prev: F }) => [
|
|
1950
1953
|
C(dt, null, {
|
|
1951
|
-
form:
|
|
1952
|
-
y("form",
|
|
1954
|
+
form: P(() => [
|
|
1955
|
+
y("form", br, [
|
|
1953
1956
|
y("h2", null, [
|
|
1954
|
-
y("span", null, A(
|
|
1957
|
+
y("span", null, A(d(e)("booking.reservation.addons")), 1)
|
|
1955
1958
|
]),
|
|
1956
1959
|
y("div", null, [
|
|
1957
|
-
isNaN(
|
|
1958
|
-
(E(!0), T(
|
|
1960
|
+
isNaN(d(o)) ? (E(), T("div", _r, [
|
|
1961
|
+
(E(!0), T(q, null, G(d(B), (I) => (E(), T("ul", {
|
|
1959
1962
|
key: I.roomGroupID
|
|
1960
1963
|
}, [
|
|
1961
|
-
(E(!0), T(
|
|
1964
|
+
(E(!0), T(q, null, G(I.variants, (Le, Ae) => (E(), T("li", {
|
|
1962
1965
|
key: Le.ratePlanID
|
|
1963
1966
|
}, [
|
|
1964
1967
|
y("h4", null, [
|
|
1965
|
-
y("span", null, A(
|
|
1968
|
+
y("span", null, A(d(Pe)(I.title)), 1)
|
|
1966
1969
|
]),
|
|
1967
|
-
(E(!0), T(
|
|
1970
|
+
(E(!0), T(q, null, G(Le.rooms, (J, zo) => (E(), T("table", {
|
|
1968
1971
|
key: zo,
|
|
1969
1972
|
class: "fresh-booking-table"
|
|
1970
1973
|
}, [
|
|
1971
1974
|
y("thead", null, [
|
|
1972
1975
|
y("tr", null, [
|
|
1973
1976
|
y("th", null, [
|
|
1974
|
-
y("span", null, A(
|
|
1977
|
+
y("span", null, A(d(Pe)(Le.name)), 1)
|
|
1975
1978
|
]),
|
|
1976
|
-
|
|
1977
|
-
y("th",
|
|
1979
|
+
H("", !0),
|
|
1980
|
+
y("th", kr, [
|
|
1978
1981
|
y("b", null, [
|
|
1979
|
-
C(
|
|
1982
|
+
C(ne, {
|
|
1980
1983
|
icon: "male",
|
|
1981
1984
|
type: "fas",
|
|
1982
1985
|
color: "font"
|
|
1983
1986
|
}),
|
|
1984
1987
|
y("span", null, A(J.adultsCount), 1),
|
|
1985
|
-
J.childrenCount > 0 ? (E(),
|
|
1988
|
+
J.childrenCount > 0 ? (E(), x(ne, {
|
|
1986
1989
|
key: 0,
|
|
1987
1990
|
icon: "child",
|
|
1988
1991
|
type: "fas",
|
|
1989
1992
|
color: "font"
|
|
1990
|
-
})) :
|
|
1991
|
-
J.childrenCount > 0 ? (E(), T("span",
|
|
1993
|
+
})) : H("", !0),
|
|
1994
|
+
J.childrenCount > 0 ? (E(), T("span", Er, A(J.childrenCount), 1)) : H("", !0)
|
|
1992
1995
|
])
|
|
1993
1996
|
])
|
|
1994
1997
|
])
|
|
1995
1998
|
]),
|
|
1996
1999
|
y("tbody", null, [
|
|
1997
|
-
(E(!0), T(
|
|
2000
|
+
(E(!0), T(q, null, G(I.addons, ({
|
|
1998
2001
|
quantityStrategy: st,
|
|
1999
2002
|
maximumNumber: Wo,
|
|
2000
2003
|
id: Me,
|
|
@@ -2002,22 +2005,22 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
2002
2005
|
price: Fo
|
|
2003
2006
|
}) => (E(), T("tr", { key: Me }, [
|
|
2004
2007
|
y("td", null, [
|
|
2005
|
-
y("b", null, A(
|
|
2006
|
-
|
|
2007
|
-
y("span", null, A(
|
|
2008
|
+
y("b", null, A(d(Pe)(xo)), 1),
|
|
2009
|
+
Tr,
|
|
2010
|
+
y("span", null, A(d(fe)(Fo, d(ve))) + " " + A(d(en)(st)), 1)
|
|
2008
2011
|
]),
|
|
2009
2012
|
y("td", null, [
|
|
2010
|
-
st === 1 || st === 12 ? (E(),
|
|
2013
|
+
st === 1 || st === 12 ? (E(), x(co, {
|
|
2011
2014
|
key: 0,
|
|
2012
|
-
modelValue:
|
|
2013
|
-
"onUpdate:modelValue": (lt) =>
|
|
2015
|
+
modelValue: d(V)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Me],
|
|
2016
|
+
"onUpdate:modelValue": (lt) => d(V)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Me] = lt,
|
|
2014
2017
|
small: !0,
|
|
2015
2018
|
"min-value": 0,
|
|
2016
2019
|
"max-value": Wo || 1 / 0
|
|
2017
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(),
|
|
2020
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), x(Tt, {
|
|
2018
2021
|
key: 1,
|
|
2019
|
-
modelValue:
|
|
2020
|
-
"onUpdate:modelValue": (lt) =>
|
|
2022
|
+
modelValue: d(V)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Me],
|
|
2023
|
+
"onUpdate:modelValue": (lt) => d(V)[I.roomGroupID][Ae].config[J.configIdx].addons[J.roomIdx][Me] = lt,
|
|
2021
2024
|
numeric: !0
|
|
2022
2025
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
2023
2026
|
])
|
|
@@ -2026,209 +2029,209 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
2026
2029
|
]))), 128))
|
|
2027
2030
|
]))), 128))
|
|
2028
2031
|
]))), 128))
|
|
2029
|
-
])) :
|
|
2032
|
+
])) : H("", !0)
|
|
2030
2033
|
])
|
|
2031
2034
|
])
|
|
2032
2035
|
]),
|
|
2033
|
-
navigation:
|
|
2036
|
+
navigation: P(() => [
|
|
2034
2037
|
C(He, {
|
|
2035
|
-
label:
|
|
2038
|
+
label: d(e)("general.startReservation"),
|
|
2036
2039
|
"full-width": "",
|
|
2037
2040
|
onClickEvent: ee
|
|
2038
2041
|
}, null, 8, ["label", "onClickEvent"]),
|
|
2039
2042
|
y("button", {
|
|
2040
2043
|
class: "konnectio-abort-reservation link",
|
|
2041
|
-
onClick: Ft((I) => Rt(
|
|
2044
|
+
onClick: Ft((I) => Rt(F), ["prevent"])
|
|
2042
2045
|
}, [
|
|
2043
|
-
y("span", null, A(
|
|
2044
|
-
], 8,
|
|
2046
|
+
y("span", null, A(d(e)("general.goAStepBack")), 1)
|
|
2047
|
+
], 8, Cr)
|
|
2045
2048
|
]),
|
|
2046
2049
|
_: 2
|
|
2047
2050
|
}, 1024)
|
|
2048
2051
|
]),
|
|
2049
|
-
reservation:
|
|
2052
|
+
reservation: P(({ next: ee, prev: F }) => [
|
|
2050
2053
|
C(dt, {
|
|
2051
2054
|
"show-terms-notice": !0,
|
|
2052
2055
|
"show-gift-card": !0
|
|
2053
2056
|
}, {
|
|
2054
|
-
form:
|
|
2055
|
-
y("form",
|
|
2057
|
+
form: P(() => [
|
|
2058
|
+
y("form", Sr, [
|
|
2056
2059
|
y("h2", null, [
|
|
2057
|
-
y("span", null, A(
|
|
2060
|
+
y("span", null, A(d(e)("booking.reservation.detailsTitle")), 1)
|
|
2058
2061
|
]),
|
|
2059
|
-
!
|
|
2062
|
+
!d(qe) && !(d($e) && d(te)) ? (E(), T("ul", {
|
|
2060
2063
|
key: 0,
|
|
2061
|
-
class: se({ "fresh-booking-split-inputs": !
|
|
2064
|
+
class: se({ "fresh-booking-split-inputs": !d($e) && !d(te) })
|
|
2062
2065
|
}, [
|
|
2063
|
-
|
|
2066
|
+
d($e) ? H("", !0) : (E(), T("li", $r, [
|
|
2064
2067
|
C(qt, {
|
|
2065
|
-
modelValue:
|
|
2068
|
+
modelValue: d(m),
|
|
2066
2069
|
"onUpdate:modelValue": D[1] || (D[1] = (I) => X(m) ? m.value = I : null),
|
|
2067
|
-
label:
|
|
2070
|
+
label: d(e)("booking.reservation.arrivalTime"),
|
|
2068
2071
|
icon: "hourglass-start",
|
|
2069
2072
|
"hour-range": Vo.value,
|
|
2070
2073
|
required: ""
|
|
2071
2074
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
2072
2075
|
])),
|
|
2073
|
-
|
|
2076
|
+
d(te) ? H("", !0) : (E(), T("li", wr, [
|
|
2074
2077
|
C(qt, {
|
|
2075
|
-
modelValue:
|
|
2078
|
+
modelValue: d(_),
|
|
2076
2079
|
"onUpdate:modelValue": D[2] || (D[2] = (I) => X(_) ? _.value = I : null),
|
|
2077
|
-
label:
|
|
2080
|
+
label: d(e)("booking.reservation.departureTime"),
|
|
2078
2081
|
icon: "hourglass-end",
|
|
2079
2082
|
"hour-range": Oo.value,
|
|
2080
2083
|
required: ""
|
|
2081
2084
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
2082
2085
|
]))
|
|
2083
|
-
], 2)) :
|
|
2084
|
-
C(
|
|
2085
|
-
modelValue:
|
|
2086
|
+
], 2)) : H("", !0),
|
|
2087
|
+
C(Wi, {
|
|
2088
|
+
modelValue: d(s),
|
|
2086
2089
|
"onUpdate:modelValue": D[3] || (D[3] = (I) => X(s) ? s.value = I : null),
|
|
2087
|
-
title:
|
|
2090
|
+
title: d(g),
|
|
2088
2091
|
"onUpdate:title": D[4] || (D[4] = (I) => X(g) ? g.value = I : null),
|
|
2089
|
-
"exclude-title":
|
|
2090
|
-
label:
|
|
2092
|
+
"exclude-title": d(be),
|
|
2093
|
+
label: d(e)("booking.reservation.name"),
|
|
2091
2094
|
icon: "user-alt",
|
|
2092
|
-
placeholder:
|
|
2095
|
+
placeholder: d(e)("booking.reservation.namePlaceholder"),
|
|
2093
2096
|
required: ""
|
|
2094
2097
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
2095
|
-
C(
|
|
2096
|
-
modelValue:
|
|
2098
|
+
C(de, {
|
|
2099
|
+
modelValue: d(k),
|
|
2097
2100
|
"onUpdate:modelValue": D[5] || (D[5] = (I) => X(k) ? k.value = I : null),
|
|
2098
2101
|
type: "email",
|
|
2099
2102
|
name: "email",
|
|
2100
2103
|
autocomplete: "email",
|
|
2101
|
-
label:
|
|
2104
|
+
label: d(e)("booking.reservation.email"),
|
|
2102
2105
|
icon: "at",
|
|
2103
|
-
placeholder:
|
|
2106
|
+
placeholder: d(e)("booking.reservation.emailPlaceholder"),
|
|
2104
2107
|
required: ""
|
|
2105
2108
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
2106
|
-
|
|
2109
|
+
d(ye) ? H("", !0) : (E(), x(Tt, {
|
|
2107
2110
|
key: 1,
|
|
2108
|
-
modelValue:
|
|
2111
|
+
modelValue: d(S),
|
|
2109
2112
|
"onUpdate:modelValue": D[6] || (D[6] = (I) => X(S) ? S.value = I : null),
|
|
2110
2113
|
type: "checkbox",
|
|
2111
2114
|
name: "newsletter",
|
|
2112
|
-
label:
|
|
2115
|
+
label: d(e)("booking.reservation.newsletterSignUp")
|
|
2113
2116
|
}, null, 8, ["modelValue", "label"])),
|
|
2114
|
-
|
|
2117
|
+
d(_e) ? H("", !0) : (E(), x(de, {
|
|
2115
2118
|
key: 2,
|
|
2116
|
-
modelValue:
|
|
2117
|
-
"onUpdate:modelValue": D[7] || (D[7] = (I) => X(
|
|
2119
|
+
modelValue: d(i),
|
|
2120
|
+
"onUpdate:modelValue": D[7] || (D[7] = (I) => X(i) ? i.value = I : null),
|
|
2118
2121
|
type: "text",
|
|
2119
2122
|
name: "firm",
|
|
2120
2123
|
autocomplete: "firm",
|
|
2121
|
-
label: `${
|
|
2124
|
+
label: `${d(e)("booking.reservation.companyName")} (${d(e)("booking.reservation.optional")})`,
|
|
2122
2125
|
icon: "id-card",
|
|
2123
|
-
placeholder:
|
|
2126
|
+
placeholder: d(e)("booking.reservation.companyNamePlaceholder")
|
|
2124
2127
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
2125
|
-
C(
|
|
2126
|
-
modelValue: f
|
|
2127
|
-
"onUpdate:modelValue": D[8] || (D[8] = (I) => X(
|
|
2128
|
+
C(_n, {
|
|
2129
|
+
modelValue: d(f),
|
|
2130
|
+
"onUpdate:modelValue": D[8] || (D[8] = (I) => X(f) ? f.value = I : null),
|
|
2128
2131
|
icon: "phone-office",
|
|
2129
|
-
label:
|
|
2130
|
-
placeholder:
|
|
2132
|
+
label: d(e)("booking.reservation.phone"),
|
|
2133
|
+
placeholder: d(e)("booking.reservation.phonePlaceholder"),
|
|
2131
2134
|
required: ""
|
|
2132
2135
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
2133
|
-
C(
|
|
2134
|
-
modelValue:
|
|
2136
|
+
C(Di, {
|
|
2137
|
+
modelValue: d(w),
|
|
2135
2138
|
"onUpdate:modelValue": D[9] || (D[9] = (I) => X(w) ? w.value = I : null),
|
|
2136
|
-
label:
|
|
2137
|
-
placeholder:
|
|
2138
|
-
options:
|
|
2139
|
+
label: d(e)("booking.reservation.country"),
|
|
2140
|
+
placeholder: d(e)("booking.reservation.countryPlaceholder"),
|
|
2141
|
+
options: d(r),
|
|
2139
2142
|
required: ""
|
|
2140
2143
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
2141
|
-
C(
|
|
2142
|
-
modelValue:
|
|
2144
|
+
C(de, {
|
|
2145
|
+
modelValue: d($),
|
|
2143
2146
|
"onUpdate:modelValue": D[10] || (D[10] = (I) => X($) ? $.value = I : null),
|
|
2144
2147
|
type: "textarea",
|
|
2145
2148
|
name: "address",
|
|
2146
2149
|
autocomplete: "street-address",
|
|
2147
|
-
label:
|
|
2150
|
+
label: d(e)("booking.reservation.streetAddress"),
|
|
2148
2151
|
icon: "map-marked",
|
|
2149
|
-
placeholder:
|
|
2152
|
+
placeholder: d(e)("booking.reservation.streetAddressPlaceholder"),
|
|
2150
2153
|
required: ""
|
|
2151
2154
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
2152
|
-
y("ul",
|
|
2155
|
+
y("ul", Ir, [
|
|
2153
2156
|
y("li", null, [
|
|
2154
|
-
C(
|
|
2155
|
-
modelValue:
|
|
2157
|
+
C(de, {
|
|
2158
|
+
modelValue: d(p),
|
|
2156
2159
|
"onUpdate:modelValue": D[11] || (D[11] = (I) => X(p) ? p.value = I : null),
|
|
2157
2160
|
type: "text",
|
|
2158
2161
|
name: "postal",
|
|
2159
2162
|
autocomplete: "postal-code",
|
|
2160
|
-
label:
|
|
2163
|
+
label: d(e)("booking.reservation.postal"),
|
|
2161
2164
|
icon: "mailbox",
|
|
2162
|
-
placeholder:
|
|
2165
|
+
placeholder: d(e)("booking.reservation.postalPlaceholder"),
|
|
2163
2166
|
required: ""
|
|
2164
2167
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
2165
2168
|
]),
|
|
2166
2169
|
y("li", null, [
|
|
2167
|
-
C(
|
|
2168
|
-
modelValue:
|
|
2170
|
+
C(de, {
|
|
2171
|
+
modelValue: d(b),
|
|
2169
2172
|
"onUpdate:modelValue": D[12] || (D[12] = (I) => X(b) ? b.value = I : null),
|
|
2170
2173
|
type: "text",
|
|
2171
2174
|
name: "city",
|
|
2172
2175
|
autocomplete: "address-level2",
|
|
2173
|
-
label:
|
|
2176
|
+
label: d(e)("booking.reservation.city"),
|
|
2174
2177
|
icon: "city",
|
|
2175
|
-
placeholder:
|
|
2178
|
+
placeholder: d(e)("booking.reservation.cityPlaceholder"),
|
|
2176
2179
|
required: ""
|
|
2177
2180
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
2178
2181
|
])
|
|
2179
2182
|
]),
|
|
2180
|
-
C(
|
|
2181
|
-
modelValue:
|
|
2183
|
+
C(de, {
|
|
2184
|
+
modelValue: d(O),
|
|
2182
2185
|
"onUpdate:modelValue": D[13] || (D[13] = (I) => X(O) ? O.value = I : null),
|
|
2183
2186
|
type: "textarea",
|
|
2184
|
-
label: `${
|
|
2187
|
+
label: `${d(e)("booking.reservation.remark")} (${d(e)("booking.reservation.optional")})`,
|
|
2185
2188
|
icon: "info-circle",
|
|
2186
|
-
placeholder:
|
|
2189
|
+
placeholder: d(e)("booking.reservation.remarkPlaceholder")
|
|
2187
2190
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
2188
|
-
C(
|
|
2189
|
-
modelValue:
|
|
2191
|
+
C(de, {
|
|
2192
|
+
modelValue: d(L),
|
|
2190
2193
|
"onUpdate:modelValue": D[14] || (D[14] = (I) => X(L) ? L.value = I : null),
|
|
2191
2194
|
type: "textarea",
|
|
2192
|
-
label: `${
|
|
2195
|
+
label: `${d(e)("booking.reservation.allergies")} (${d(e)("booking.reservation.optional")})`,
|
|
2193
2196
|
icon: "allergies",
|
|
2194
|
-
placeholder:
|
|
2197
|
+
placeholder: d(e)("booking.reservation.allergiesPlaceholder")
|
|
2195
2198
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
2196
|
-
|
|
2199
|
+
d(Ge) ? H("", !0) : (E(), x(Mi, {
|
|
2197
2200
|
key: 3,
|
|
2198
|
-
modelValue:
|
|
2201
|
+
modelValue: d(v),
|
|
2199
2202
|
"onUpdate:modelValue": D[15] || (D[15] = (I) => X(v) ? v.value = I : null),
|
|
2200
|
-
label: `${
|
|
2203
|
+
label: `${d(e)("booking.reservation.purposeOfStay")} (${d(e)("booking.reservation.optional")})`,
|
|
2201
2204
|
name: "travelingFor",
|
|
2202
2205
|
checkboxes: Ho.value
|
|
2203
2206
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
2204
2207
|
])
|
|
2205
2208
|
]),
|
|
2206
|
-
navigation:
|
|
2209
|
+
navigation: P(() => [
|
|
2207
2210
|
y("div", null, [
|
|
2208
2211
|
C(He, {
|
|
2209
|
-
label:
|
|
2210
|
-
disabled: !
|
|
2211
|
-
"is-loading":
|
|
2212
|
+
label: d(je) ? d(e)("booking.reservation.nextButton") : d(e)("general.confirmReservation"),
|
|
2213
|
+
disabled: !d(h),
|
|
2214
|
+
"is-loading": d(l),
|
|
2212
2215
|
"full-width": "",
|
|
2213
2216
|
onClickEvent: (I) => Ro(ee)
|
|
2214
2217
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
2215
2218
|
y("button", {
|
|
2216
2219
|
class: "konnectio-abort-reservation link",
|
|
2217
|
-
onClick: Ft((I) => Rt(
|
|
2220
|
+
onClick: Ft((I) => Rt(F), ["prevent"])
|
|
2218
2221
|
}, [
|
|
2219
|
-
y("span", null, A(
|
|
2220
|
-
], 8,
|
|
2222
|
+
y("span", null, A(d(e)("general.goAStepBack")), 1)
|
|
2223
|
+
], 8, Lr)
|
|
2221
2224
|
])
|
|
2222
2225
|
]),
|
|
2223
2226
|
_: 2
|
|
2224
2227
|
}, 1024)
|
|
2225
2228
|
]),
|
|
2226
|
-
payment:
|
|
2227
|
-
C(
|
|
2229
|
+
payment: P(() => [
|
|
2230
|
+
C(kn)
|
|
2228
2231
|
]),
|
|
2229
|
-
confirmation:
|
|
2230
|
-
C(
|
|
2231
|
-
message:
|
|
2232
|
+
confirmation: P(() => [
|
|
2233
|
+
C(mn, {
|
|
2234
|
+
message: d(e)("booking.confirmation.thankYou")
|
|
2232
2235
|
}, null, 8, ["message"])
|
|
2233
2236
|
]),
|
|
2234
2237
|
_: 1
|
|
@@ -2237,14 +2240,14 @@ const Er = { class: "fresh-booking-event-addons-price" }, Tr = { key: 1 }, Cr =
|
|
|
2237
2240
|
_: 1
|
|
2238
2241
|
}, 8, ["access-token", "styling"])
|
|
2239
2242
|
]),
|
|
2240
|
-
fallback:
|
|
2241
|
-
C(
|
|
2243
|
+
fallback: P(() => [
|
|
2244
|
+
C(er)
|
|
2242
2245
|
]),
|
|
2243
2246
|
_: 1
|
|
2244
2247
|
}));
|
|
2245
2248
|
}
|
|
2246
2249
|
});
|
|
2247
|
-
const
|
|
2250
|
+
const Hr = /* @__PURE__ */ ie(Ar, [["__scopeId", "data-v-103f000d"]]);
|
|
2248
2251
|
var _o = { exports: {} }, ft = { exports: {} }, pt = { exports: {} }, Gt;
|
|
2249
2252
|
function Pt() {
|
|
2250
2253
|
return Gt || (Gt = 1, function(t) {
|
|
@@ -2254,30 +2257,30 @@ function Pt() {
|
|
|
2254
2257
|
function e() {
|
|
2255
2258
|
}
|
|
2256
2259
|
var o = e.prototype;
|
|
2257
|
-
return o.on = function(
|
|
2258
|
-
if (!(!
|
|
2259
|
-
var a = this._events = this._events || {},
|
|
2260
|
-
return
|
|
2260
|
+
return o.on = function(n, r) {
|
|
2261
|
+
if (!(!n || !r)) {
|
|
2262
|
+
var a = this._events = this._events || {}, c = a[n] = a[n] || [];
|
|
2263
|
+
return c.indexOf(r) == -1 && c.push(r), this;
|
|
2261
2264
|
}
|
|
2262
|
-
}, o.once = function(
|
|
2263
|
-
if (!(!
|
|
2264
|
-
this.on(
|
|
2265
|
-
var a = this._onceEvents = this._onceEvents || {},
|
|
2266
|
-
return
|
|
2265
|
+
}, o.once = function(n, r) {
|
|
2266
|
+
if (!(!n || !r)) {
|
|
2267
|
+
this.on(n, r);
|
|
2268
|
+
var a = this._onceEvents = this._onceEvents || {}, c = a[n] = a[n] || {};
|
|
2269
|
+
return c[r] = !0, this;
|
|
2267
2270
|
}
|
|
2268
|
-
}, o.off = function(
|
|
2269
|
-
var a = this._events && this._events[
|
|
2271
|
+
}, o.off = function(n, r) {
|
|
2272
|
+
var a = this._events && this._events[n];
|
|
2270
2273
|
if (!(!a || !a.length)) {
|
|
2271
|
-
var
|
|
2272
|
-
return
|
|
2274
|
+
var c = a.indexOf(r);
|
|
2275
|
+
return c != -1 && a.splice(c, 1), this;
|
|
2273
2276
|
}
|
|
2274
|
-
}, o.emitEvent = function(
|
|
2275
|
-
var a = this._events && this._events[
|
|
2277
|
+
}, o.emitEvent = function(n, r) {
|
|
2278
|
+
var a = this._events && this._events[n];
|
|
2276
2279
|
if (!(!a || !a.length)) {
|
|
2277
2280
|
a = a.slice(0), r = r || [];
|
|
2278
|
-
for (var
|
|
2279
|
-
var h = a[l], u =
|
|
2280
|
-
u && (this.off(
|
|
2281
|
+
for (var c = this._onceEvents && this._onceEvents[n], l = 0; l < a.length; l++) {
|
|
2282
|
+
var h = a[l], u = c && c[h];
|
|
2283
|
+
u && (this.off(n, h), delete c[h]), h.apply(this, r);
|
|
2281
2284
|
}
|
|
2282
2285
|
return this;
|
|
2283
2286
|
}
|
|
@@ -2303,9 +2306,9 @@ function Vt() {
|
|
|
2303
2306
|
var g = parseFloat(s), k = s.indexOf("%") == -1 && !isNaN(g);
|
|
2304
2307
|
return k && g;
|
|
2305
2308
|
}
|
|
2306
|
-
function
|
|
2309
|
+
function n() {
|
|
2307
2310
|
}
|
|
2308
|
-
var r = typeof console > "u" ?
|
|
2311
|
+
var r = typeof console > "u" ? n : function(s) {
|
|
2309
2312
|
console.error(s);
|
|
2310
2313
|
}, a = [
|
|
2311
2314
|
"paddingLeft",
|
|
@@ -2320,7 +2323,7 @@ function Vt() {
|
|
|
2320
2323
|
"borderRightWidth",
|
|
2321
2324
|
"borderTopWidth",
|
|
2322
2325
|
"borderBottomWidth"
|
|
2323
|
-
],
|
|
2326
|
+
], c = a.length;
|
|
2324
2327
|
function l() {
|
|
2325
2328
|
for (var s = {
|
|
2326
2329
|
width: 0,
|
|
@@ -2329,7 +2332,7 @@ function Vt() {
|
|
|
2329
2332
|
innerHeight: 0,
|
|
2330
2333
|
outerWidth: 0,
|
|
2331
2334
|
outerHeight: 0
|
|
2332
|
-
}, g = 0; g <
|
|
2335
|
+
}, g = 0; g < c; g++) {
|
|
2333
2336
|
var k = a[g];
|
|
2334
2337
|
s[k] = 0;
|
|
2335
2338
|
}
|
|
@@ -2358,16 +2361,16 @@ function Vt() {
|
|
|
2358
2361
|
return l();
|
|
2359
2362
|
var k = {};
|
|
2360
2363
|
k.width = s.offsetWidth, k.height = s.offsetHeight;
|
|
2361
|
-
for (var
|
|
2362
|
-
var p = a[
|
|
2364
|
+
for (var f = k.isBorderBox = g.boxSizing == "border-box", i = 0; i < c; i++) {
|
|
2365
|
+
var p = a[i], b = g[p], $ = parseFloat(b);
|
|
2363
2366
|
k[p] = isNaN($) ? 0 : $;
|
|
2364
2367
|
}
|
|
2365
|
-
var w = k.paddingLeft + k.paddingRight, O = k.paddingTop + k.paddingBottom, L = k.marginLeft + k.marginRight, S = k.marginTop + k.marginBottom,
|
|
2368
|
+
var w = k.paddingLeft + k.paddingRight, O = k.paddingTop + k.paddingBottom, L = k.marginLeft + k.marginRight, S = k.marginTop + k.marginBottom, V = k.borderLeftWidth + k.borderRightWidth, B = k.borderTopWidth + k.borderBottomWidth, R = f && v, M = o(g.width);
|
|
2366
2369
|
M !== !1 && (k.width = M + // add padding and border unless it's already including it
|
|
2367
|
-
(R ? 0 : w +
|
|
2368
|
-
var
|
|
2369
|
-
return
|
|
2370
|
-
(R ? 0 : O + B)), k.innerWidth = k.width - (w +
|
|
2370
|
+
(R ? 0 : w + V));
|
|
2371
|
+
var z = o(g.height);
|
|
2372
|
+
return z !== !1 && (k.height = z + // add padding and border unless it's already including it
|
|
2373
|
+
(R ? 0 : O + B)), k.innerWidth = k.width - (w + V), k.innerHeight = k.height - (O + B), k.outerWidth = k.width + L, k.outerHeight = k.height + S, k;
|
|
2371
2374
|
}
|
|
2372
2375
|
}
|
|
2373
2376
|
return _;
|
|
@@ -2375,20 +2378,20 @@ function Vt() {
|
|
|
2375
2378
|
}(ht)), ht.exports;
|
|
2376
2379
|
}
|
|
2377
2380
|
var mt = { exports: {} }, vt = { exports: {} }, Yt;
|
|
2378
|
-
function
|
|
2381
|
+
function Pr() {
|
|
2379
2382
|
return Yt || (Yt = 1, function(t) {
|
|
2380
2383
|
(function(e, o) {
|
|
2381
2384
|
t.exports ? t.exports = o() : e.matchesSelector = o();
|
|
2382
2385
|
})(window, function() {
|
|
2383
2386
|
var o = function() {
|
|
2384
|
-
var
|
|
2385
|
-
if (
|
|
2387
|
+
var n = window.Element.prototype;
|
|
2388
|
+
if (n.matches)
|
|
2386
2389
|
return "matches";
|
|
2387
|
-
if (
|
|
2390
|
+
if (n.matchesSelector)
|
|
2388
2391
|
return "matchesSelector";
|
|
2389
2392
|
for (var r = ["webkit", "moz", "ms", "o"], a = 0; a < r.length; a++) {
|
|
2390
|
-
var
|
|
2391
|
-
if (
|
|
2393
|
+
var c = r[a], l = c + "MatchesSelector";
|
|
2394
|
+
if (n[l])
|
|
2392
2395
|
return l;
|
|
2393
2396
|
}
|
|
2394
2397
|
}();
|
|
@@ -2399,17 +2402,17 @@ function Vr() {
|
|
|
2399
2402
|
}(vt)), vt.exports;
|
|
2400
2403
|
}
|
|
2401
2404
|
var Kt;
|
|
2402
|
-
function
|
|
2405
|
+
function Vr() {
|
|
2403
2406
|
return Kt || (Kt = 1, function(t) {
|
|
2404
2407
|
(function(e, o) {
|
|
2405
2408
|
t.exports ? t.exports = o(
|
|
2406
2409
|
e,
|
|
2407
|
-
|
|
2410
|
+
Pr()
|
|
2408
2411
|
) : e.fizzyUIUtils = o(
|
|
2409
2412
|
e,
|
|
2410
2413
|
e.matchesSelector
|
|
2411
2414
|
);
|
|
2412
|
-
})(window, function(o,
|
|
2415
|
+
})(window, function(o, n) {
|
|
2413
2416
|
var r = {};
|
|
2414
2417
|
r.extend = function(l, h) {
|
|
2415
2418
|
for (var u in h)
|
|
@@ -2431,7 +2434,7 @@ function Or() {
|
|
|
2431
2434
|
u != -1 && l.splice(u, 1);
|
|
2432
2435
|
}, r.getParent = function(l, h) {
|
|
2433
2436
|
for (; l.parentNode && l != document.body; )
|
|
2434
|
-
if (l = l.parentNode,
|
|
2437
|
+
if (l = l.parentNode, n(l, h))
|
|
2435
2438
|
return l;
|
|
2436
2439
|
}, r.getQueryElement = function(l) {
|
|
2437
2440
|
return typeof l == "string" ? document.querySelector(l) : l;
|
|
@@ -2447,7 +2450,7 @@ function Or() {
|
|
|
2447
2450
|
u.push(v);
|
|
2448
2451
|
return;
|
|
2449
2452
|
}
|
|
2450
|
-
|
|
2453
|
+
n(v, h) && u.push(v);
|
|
2451
2454
|
for (var m = v.querySelectorAll(h), _ = 0; _ < m.length; _++)
|
|
2452
2455
|
u.push(m[_]);
|
|
2453
2456
|
}
|
|
@@ -2471,20 +2474,20 @@ function Or() {
|
|
|
2471
2474
|
return u + "-" + v;
|
|
2472
2475
|
}).toLowerCase();
|
|
2473
2476
|
};
|
|
2474
|
-
var
|
|
2477
|
+
var c = o.console;
|
|
2475
2478
|
return r.htmlInit = function(l, h) {
|
|
2476
2479
|
r.docReady(function() {
|
|
2477
2480
|
var u = r.toDashed(h), v = "data-" + u, m = document.querySelectorAll("[" + v + "]"), _ = document.querySelectorAll(".js-" + u), s = r.makeArray(m).concat(r.makeArray(_)), g = v + "-options", k = o.jQuery;
|
|
2478
|
-
s.forEach(function(
|
|
2479
|
-
var
|
|
2481
|
+
s.forEach(function(f) {
|
|
2482
|
+
var i = f.getAttribute(v) || f.getAttribute(g), p;
|
|
2480
2483
|
try {
|
|
2481
|
-
p =
|
|
2484
|
+
p = i && JSON.parse(i);
|
|
2482
2485
|
} catch ($) {
|
|
2483
|
-
|
|
2486
|
+
c && c.error("Error parsing " + v + " on " + f.className + ": " + $);
|
|
2484
2487
|
return;
|
|
2485
2488
|
}
|
|
2486
|
-
var b = new l(
|
|
2487
|
-
k && k.data(
|
|
2489
|
+
var b = new l(f, p);
|
|
2490
|
+
k && k.data(f, h, b);
|
|
2488
2491
|
});
|
|
2489
2492
|
});
|
|
2490
2493
|
}, r;
|
|
@@ -2492,7 +2495,7 @@ function Or() {
|
|
|
2492
2495
|
}(mt)), mt.exports;
|
|
2493
2496
|
}
|
|
2494
2497
|
var yt = { exports: {} }, Qt;
|
|
2495
|
-
function
|
|
2498
|
+
function Or() {
|
|
2496
2499
|
return Qt || (Qt = 1, function(t) {
|
|
2497
2500
|
(function(e, o) {
|
|
2498
2501
|
t.exports ? t.exports = o(
|
|
@@ -2502,24 +2505,24 @@ function Dr() {
|
|
|
2502
2505
|
e.EvEmitter,
|
|
2503
2506
|
e.getSize
|
|
2504
2507
|
));
|
|
2505
|
-
})(window, function(o,
|
|
2506
|
-
function r(
|
|
2507
|
-
for (var
|
|
2508
|
+
})(window, function(o, n) {
|
|
2509
|
+
function r(f) {
|
|
2510
|
+
for (var i in f)
|
|
2508
2511
|
return !1;
|
|
2509
|
-
return
|
|
2512
|
+
return i = null, !0;
|
|
2510
2513
|
}
|
|
2511
|
-
var a = document.documentElement.style,
|
|
2514
|
+
var a = document.documentElement.style, c = typeof a.transition == "string" ? "transition" : "WebkitTransition", l = typeof a.transform == "string" ? "transform" : "WebkitTransform", h = {
|
|
2512
2515
|
WebkitTransition: "webkitTransitionEnd",
|
|
2513
2516
|
transition: "transitionend"
|
|
2514
|
-
}[
|
|
2517
|
+
}[c], u = {
|
|
2515
2518
|
transform: l,
|
|
2516
|
-
transition:
|
|
2517
|
-
transitionDuration:
|
|
2518
|
-
transitionProperty:
|
|
2519
|
-
transitionDelay:
|
|
2519
|
+
transition: c,
|
|
2520
|
+
transitionDuration: c + "Duration",
|
|
2521
|
+
transitionProperty: c + "Property",
|
|
2522
|
+
transitionDelay: c + "Delay"
|
|
2520
2523
|
};
|
|
2521
|
-
function v(
|
|
2522
|
-
|
|
2524
|
+
function v(f, i) {
|
|
2525
|
+
f && (this.element = f, this.layout = i, this.position = {
|
|
2523
2526
|
x: 0,
|
|
2524
2527
|
y: 0
|
|
2525
2528
|
}, this._create());
|
|
@@ -2533,39 +2536,39 @@ function Dr() {
|
|
|
2533
2536
|
}, this.css({
|
|
2534
2537
|
position: "absolute"
|
|
2535
2538
|
});
|
|
2536
|
-
}, m.handleEvent = function(
|
|
2537
|
-
var
|
|
2538
|
-
this[
|
|
2539
|
+
}, m.handleEvent = function(f) {
|
|
2540
|
+
var i = "on" + f.type;
|
|
2541
|
+
this[i] && this[i](f);
|
|
2539
2542
|
}, m.getSize = function() {
|
|
2540
|
-
this.size =
|
|
2541
|
-
}, m.css = function(
|
|
2542
|
-
var
|
|
2543
|
-
for (var p in
|
|
2543
|
+
this.size = n(this.element);
|
|
2544
|
+
}, m.css = function(f) {
|
|
2545
|
+
var i = this.element.style;
|
|
2546
|
+
for (var p in f) {
|
|
2544
2547
|
var b = u[p] || p;
|
|
2545
|
-
|
|
2548
|
+
i[b] = f[p];
|
|
2546
2549
|
}
|
|
2547
2550
|
}, m.getPosition = function() {
|
|
2548
|
-
var
|
|
2549
|
-
b.indexOf("%") != -1 && (w = w / 100 * L.width), $.indexOf("%") != -1 && (O = O / 100 * L.height), w = isNaN(w) ? 0 : w, O = isNaN(O) ? 0 : O, w -=
|
|
2551
|
+
var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), p = this.layout._getOption("originTop"), b = f[i ? "left" : "right"], $ = f[p ? "top" : "bottom"], w = parseFloat(b), O = parseFloat($), L = this.layout.size;
|
|
2552
|
+
b.indexOf("%") != -1 && (w = w / 100 * L.width), $.indexOf("%") != -1 && (O = O / 100 * L.height), w = isNaN(w) ? 0 : w, O = isNaN(O) ? 0 : O, w -= i ? L.paddingLeft : L.paddingRight, O -= p ? L.paddingTop : L.paddingBottom, this.position.x = w, this.position.y = O;
|
|
2550
2553
|
}, m.layoutPosition = function() {
|
|
2551
|
-
var
|
|
2552
|
-
|
|
2553
|
-
var S = b ? "paddingTop" : "paddingBottom",
|
|
2554
|
-
|
|
2555
|
-
}, m.getXValue = function(
|
|
2556
|
-
var
|
|
2557
|
-
return this.layout.options.percentPosition && !
|
|
2558
|
-
}, m.getYValue = function(
|
|
2559
|
-
var
|
|
2560
|
-
return this.layout.options.percentPosition &&
|
|
2561
|
-
}, m._transitionTo = function(
|
|
2554
|
+
var f = this.layout.size, i = {}, p = this.layout._getOption("originLeft"), b = this.layout._getOption("originTop"), $ = p ? "paddingLeft" : "paddingRight", w = p ? "left" : "right", O = p ? "right" : "left", L = this.position.x + f[$];
|
|
2555
|
+
i[w] = this.getXValue(L), i[O] = "";
|
|
2556
|
+
var S = b ? "paddingTop" : "paddingBottom", V = b ? "top" : "bottom", B = b ? "bottom" : "top", R = this.position.y + f[S];
|
|
2557
|
+
i[V] = this.getYValue(R), i[B] = "", this.css(i), this.emitEvent("layout", [this]);
|
|
2558
|
+
}, m.getXValue = function(f) {
|
|
2559
|
+
var i = this.layout._getOption("horizontal");
|
|
2560
|
+
return this.layout.options.percentPosition && !i ? f / this.layout.size.width * 100 + "%" : f + "px";
|
|
2561
|
+
}, m.getYValue = function(f) {
|
|
2562
|
+
var i = this.layout._getOption("horizontal");
|
|
2563
|
+
return this.layout.options.percentPosition && i ? f / this.layout.size.height * 100 + "%" : f + "px";
|
|
2564
|
+
}, m._transitionTo = function(f, i) {
|
|
2562
2565
|
this.getPosition();
|
|
2563
|
-
var p = this.position.x, b = this.position.y, $ =
|
|
2564
|
-
if (this.setPosition(
|
|
2566
|
+
var p = this.position.x, b = this.position.y, $ = f == this.position.x && i == this.position.y;
|
|
2567
|
+
if (this.setPosition(f, i), $ && !this.isTransitioning) {
|
|
2565
2568
|
this.layoutPosition();
|
|
2566
2569
|
return;
|
|
2567
2570
|
}
|
|
2568
|
-
var w =
|
|
2571
|
+
var w = f - p, O = i - b, L = {};
|
|
2569
2572
|
L.transform = this.getTranslate(w, O), this.transition({
|
|
2570
2573
|
to: L,
|
|
2571
2574
|
onTransitionEnd: {
|
|
@@ -2573,68 +2576,68 @@ function Dr() {
|
|
|
2573
2576
|
},
|
|
2574
2577
|
isCleaning: !0
|
|
2575
2578
|
});
|
|
2576
|
-
}, m.getTranslate = function(
|
|
2579
|
+
}, m.getTranslate = function(f, i) {
|
|
2577
2580
|
var p = this.layout._getOption("originLeft"), b = this.layout._getOption("originTop");
|
|
2578
|
-
return
|
|
2579
|
-
}, m.goTo = function(
|
|
2580
|
-
this.setPosition(
|
|
2581
|
-
}, m.moveTo = m._transitionTo, m.setPosition = function(
|
|
2582
|
-
this.position.x = parseFloat(
|
|
2583
|
-
}, m._nonTransition = function(
|
|
2584
|
-
this.css(
|
|
2585
|
-
for (var
|
|
2586
|
-
|
|
2587
|
-
}, m.transition = function(
|
|
2581
|
+
return f = p ? f : -f, i = b ? i : -i, "translate3d(" + f + "px, " + i + "px, 0)";
|
|
2582
|
+
}, m.goTo = function(f, i) {
|
|
2583
|
+
this.setPosition(f, i), this.layoutPosition();
|
|
2584
|
+
}, m.moveTo = m._transitionTo, m.setPosition = function(f, i) {
|
|
2585
|
+
this.position.x = parseFloat(f), this.position.y = parseFloat(i);
|
|
2586
|
+
}, m._nonTransition = function(f) {
|
|
2587
|
+
this.css(f.to), f.isCleaning && this._removeStyles(f.to);
|
|
2588
|
+
for (var i in f.onTransitionEnd)
|
|
2589
|
+
f.onTransitionEnd[i].call(this);
|
|
2590
|
+
}, m.transition = function(f) {
|
|
2588
2591
|
if (!parseFloat(this.layout.options.transitionDuration)) {
|
|
2589
|
-
this._nonTransition(
|
|
2592
|
+
this._nonTransition(f);
|
|
2590
2593
|
return;
|
|
2591
2594
|
}
|
|
2592
|
-
var
|
|
2593
|
-
for (var p in
|
|
2594
|
-
|
|
2595
|
-
for (p in
|
|
2596
|
-
|
|
2597
|
-
|
|
2595
|
+
var i = this._transn;
|
|
2596
|
+
for (var p in f.onTransitionEnd)
|
|
2597
|
+
i.onEnd[p] = f.onTransitionEnd[p];
|
|
2598
|
+
for (p in f.to)
|
|
2599
|
+
i.ingProperties[p] = !0, f.isCleaning && (i.clean[p] = !0);
|
|
2600
|
+
f.from && (this.css(f.from), this.element.offsetHeight), this.enableTransition(f.to), this.css(f.to), this.isTransitioning = !0;
|
|
2598
2601
|
};
|
|
2599
|
-
function _(
|
|
2600
|
-
return
|
|
2601
|
-
return "-" +
|
|
2602
|
+
function _(f) {
|
|
2603
|
+
return f.replace(/([A-Z])/g, function(i) {
|
|
2604
|
+
return "-" + i.toLowerCase();
|
|
2602
2605
|
});
|
|
2603
2606
|
}
|
|
2604
2607
|
var s = "opacity," + _(l);
|
|
2605
2608
|
m.enableTransition = function() {
|
|
2606
2609
|
if (!this.isTransitioning) {
|
|
2607
|
-
var
|
|
2608
|
-
|
|
2610
|
+
var f = this.layout.options.transitionDuration;
|
|
2611
|
+
f = typeof f == "number" ? f + "ms" : f, this.css({
|
|
2609
2612
|
transitionProperty: s,
|
|
2610
|
-
transitionDuration:
|
|
2613
|
+
transitionDuration: f,
|
|
2611
2614
|
transitionDelay: this.staggerDelay || 0
|
|
2612
2615
|
}), this.element.addEventListener(h, this, !1);
|
|
2613
2616
|
}
|
|
2614
|
-
}, m.onwebkitTransitionEnd = function(
|
|
2615
|
-
this.ontransitionend(
|
|
2616
|
-
}, m.onotransitionend = function(
|
|
2617
|
-
this.ontransitionend(
|
|
2617
|
+
}, m.onwebkitTransitionEnd = function(f) {
|
|
2618
|
+
this.ontransitionend(f);
|
|
2619
|
+
}, m.onotransitionend = function(f) {
|
|
2620
|
+
this.ontransitionend(f);
|
|
2618
2621
|
};
|
|
2619
2622
|
var g = {
|
|
2620
2623
|
"-webkit-transform": "transform"
|
|
2621
2624
|
};
|
|
2622
|
-
m.ontransitionend = function(
|
|
2623
|
-
if (
|
|
2624
|
-
var
|
|
2625
|
-
if (delete
|
|
2626
|
-
var b =
|
|
2627
|
-
b.call(this), delete
|
|
2625
|
+
m.ontransitionend = function(f) {
|
|
2626
|
+
if (f.target === this.element) {
|
|
2627
|
+
var i = this._transn, p = g[f.propertyName] || f.propertyName;
|
|
2628
|
+
if (delete i.ingProperties[p], r(i.ingProperties) && this.disableTransition(), p in i.clean && (this.element.style[f.propertyName] = "", delete i.clean[p]), p in i.onEnd) {
|
|
2629
|
+
var b = i.onEnd[p];
|
|
2630
|
+
b.call(this), delete i.onEnd[p];
|
|
2628
2631
|
}
|
|
2629
2632
|
this.emitEvent("transitionEnd", [this]);
|
|
2630
2633
|
}
|
|
2631
2634
|
}, m.disableTransition = function() {
|
|
2632
2635
|
this.removeTransitionStyles(), this.element.removeEventListener(h, this, !1), this.isTransitioning = !1;
|
|
2633
|
-
}, m._removeStyles = function(
|
|
2634
|
-
var
|
|
2635
|
-
for (var p in
|
|
2636
|
-
|
|
2637
|
-
this.css(
|
|
2636
|
+
}, m._removeStyles = function(f) {
|
|
2637
|
+
var i = {};
|
|
2638
|
+
for (var p in f)
|
|
2639
|
+
i[p] = "";
|
|
2640
|
+
this.css(i);
|
|
2638
2641
|
};
|
|
2639
2642
|
var k = {
|
|
2640
2643
|
transitionProperty: "",
|
|
@@ -2643,12 +2646,12 @@ function Dr() {
|
|
|
2643
2646
|
};
|
|
2644
2647
|
return m.removeTransitionStyles = function() {
|
|
2645
2648
|
this.css(k);
|
|
2646
|
-
}, m.stagger = function(
|
|
2647
|
-
|
|
2649
|
+
}, m.stagger = function(f) {
|
|
2650
|
+
f = isNaN(f) ? 0 : f, this.staggerDelay = f + "ms";
|
|
2648
2651
|
}, m.removeElem = function() {
|
|
2649
2652
|
this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
|
|
2650
2653
|
}, m.remove = function() {
|
|
2651
|
-
if (!
|
|
2654
|
+
if (!c || !parseFloat(this.layout.options.transitionDuration)) {
|
|
2652
2655
|
this.removeElem();
|
|
2653
2656
|
return;
|
|
2654
2657
|
}
|
|
@@ -2657,30 +2660,30 @@ function Dr() {
|
|
|
2657
2660
|
}), this.hide();
|
|
2658
2661
|
}, m.reveal = function() {
|
|
2659
2662
|
delete this.isHidden, this.css({ display: "" });
|
|
2660
|
-
var
|
|
2661
|
-
|
|
2662
|
-
from:
|
|
2663
|
-
to:
|
|
2663
|
+
var f = this.layout.options, i = {}, p = this.getHideRevealTransitionEndProperty("visibleStyle");
|
|
2664
|
+
i[p] = this.onRevealTransitionEnd, this.transition({
|
|
2665
|
+
from: f.hiddenStyle,
|
|
2666
|
+
to: f.visibleStyle,
|
|
2664
2667
|
isCleaning: !0,
|
|
2665
|
-
onTransitionEnd:
|
|
2668
|
+
onTransitionEnd: i
|
|
2666
2669
|
});
|
|
2667
2670
|
}, m.onRevealTransitionEnd = function() {
|
|
2668
2671
|
this.isHidden || this.emitEvent("reveal");
|
|
2669
|
-
}, m.getHideRevealTransitionEndProperty = function(
|
|
2670
|
-
var
|
|
2671
|
-
if (
|
|
2672
|
+
}, m.getHideRevealTransitionEndProperty = function(f) {
|
|
2673
|
+
var i = this.layout.options[f];
|
|
2674
|
+
if (i.opacity)
|
|
2672
2675
|
return "opacity";
|
|
2673
|
-
for (var p in
|
|
2676
|
+
for (var p in i)
|
|
2674
2677
|
return p;
|
|
2675
2678
|
}, m.hide = function() {
|
|
2676
2679
|
this.isHidden = !0, this.css({ display: "" });
|
|
2677
|
-
var
|
|
2678
|
-
|
|
2679
|
-
from:
|
|
2680
|
-
to:
|
|
2680
|
+
var f = this.layout.options, i = {}, p = this.getHideRevealTransitionEndProperty("hiddenStyle");
|
|
2681
|
+
i[p] = this.onHideTransitionEnd, this.transition({
|
|
2682
|
+
from: f.visibleStyle,
|
|
2683
|
+
to: f.hiddenStyle,
|
|
2681
2684
|
// keep hidden stuff hidden
|
|
2682
2685
|
isCleaning: !0,
|
|
2683
|
-
onTransitionEnd:
|
|
2686
|
+
onTransitionEnd: i
|
|
2684
2687
|
});
|
|
2685
2688
|
}, m.onHideTransitionEnd = function() {
|
|
2686
2689
|
this.isHidden && (this.css({ display: "none" }), this.emitEvent("hide"));
|
|
@@ -2704,15 +2707,15 @@ function Dr() {
|
|
|
2704
2707
|
* MIT license
|
|
2705
2708
|
*/
|
|
2706
2709
|
var Xt;
|
|
2707
|
-
function
|
|
2710
|
+
function Dr() {
|
|
2708
2711
|
return Xt || (Xt = 1, function(t) {
|
|
2709
2712
|
(function(e, o) {
|
|
2710
2713
|
t.exports ? t.exports = o(
|
|
2711
2714
|
e,
|
|
2712
2715
|
Pt(),
|
|
2713
2716
|
Vt(),
|
|
2714
|
-
|
|
2715
|
-
|
|
2717
|
+
Vr(),
|
|
2718
|
+
Or()
|
|
2716
2719
|
) : e.Outlayer = o(
|
|
2717
2720
|
e,
|
|
2718
2721
|
e.EvEmitter,
|
|
@@ -2720,13 +2723,13 @@ function Rr() {
|
|
|
2720
2723
|
e.fizzyUIUtils,
|
|
2721
2724
|
e.Outlayer.Item
|
|
2722
2725
|
);
|
|
2723
|
-
})(window, function(o,
|
|
2726
|
+
})(window, function(o, n, r, a, c) {
|
|
2724
2727
|
var l = o.console, h = o.jQuery, u = function() {
|
|
2725
2728
|
}, v = 0, m = {};
|
|
2726
|
-
function _(
|
|
2727
|
-
var b = a.getQueryElement(
|
|
2729
|
+
function _(i, p) {
|
|
2730
|
+
var b = a.getQueryElement(i);
|
|
2728
2731
|
if (!b) {
|
|
2729
|
-
l && l.error("Bad element for " + this.constructor.namespace + ": " + (b ||
|
|
2732
|
+
l && l.error("Bad element for " + this.constructor.namespace + ": " + (b || i));
|
|
2730
2733
|
return;
|
|
2731
2734
|
}
|
|
2732
2735
|
this.element = b, h && (this.$element = h(this.element)), this.options = a.extend({}, this.constructor.defaults), this.option(p);
|
|
@@ -2735,7 +2738,7 @@ function Rr() {
|
|
|
2735
2738
|
var w = this._getOption("initLayout");
|
|
2736
2739
|
w && this.layout();
|
|
2737
2740
|
}
|
|
2738
|
-
_.namespace = "outlayer", _.Item =
|
|
2741
|
+
_.namespace = "outlayer", _.Item = c, _.defaults = {
|
|
2739
2742
|
containerStyle: {
|
|
2740
2743
|
position: "relative"
|
|
2741
2744
|
},
|
|
@@ -2756,11 +2759,11 @@ function Rr() {
|
|
|
2756
2759
|
}
|
|
2757
2760
|
};
|
|
2758
2761
|
var s = _.prototype;
|
|
2759
|
-
a.extend(s,
|
|
2760
|
-
a.extend(this.options,
|
|
2761
|
-
}, s._getOption = function(
|
|
2762
|
-
var p = this.constructor.compatOptions[
|
|
2763
|
-
return p && this.options[p] !== void 0 ? this.options[p] : this.options[
|
|
2762
|
+
a.extend(s, n.prototype), s.option = function(i) {
|
|
2763
|
+
a.extend(this.options, i);
|
|
2764
|
+
}, s._getOption = function(i) {
|
|
2765
|
+
var p = this.constructor.compatOptions[i];
|
|
2766
|
+
return p && this.options[p] !== void 0 ? this.options[p] : this.options[i];
|
|
2764
2767
|
}, _.compatOptions = {
|
|
2765
2768
|
// currentName: oldName
|
|
2766
2769
|
initLayout: "isInitLayout",
|
|
@@ -2772,43 +2775,43 @@ function Rr() {
|
|
|
2772
2775
|
resizeContainer: "isResizingContainer"
|
|
2773
2776
|
}, s._create = function() {
|
|
2774
2777
|
this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), a.extend(this.element.style, this.options.containerStyle);
|
|
2775
|
-
var
|
|
2776
|
-
|
|
2778
|
+
var i = this._getOption("resize");
|
|
2779
|
+
i && this.bindResize();
|
|
2777
2780
|
}, s.reloadItems = function() {
|
|
2778
2781
|
this.items = this._itemize(this.element.children);
|
|
2779
|
-
}, s._itemize = function(
|
|
2780
|
-
for (var p = this._filterFindItemElements(
|
|
2782
|
+
}, s._itemize = function(i) {
|
|
2783
|
+
for (var p = this._filterFindItemElements(i), b = this.constructor.Item, $ = [], w = 0; w < p.length; w++) {
|
|
2781
2784
|
var O = p[w], L = new b(O, this);
|
|
2782
2785
|
$.push(L);
|
|
2783
2786
|
}
|
|
2784
2787
|
return $;
|
|
2785
|
-
}, s._filterFindItemElements = function(
|
|
2786
|
-
return a.filterFindElements(
|
|
2788
|
+
}, s._filterFindItemElements = function(i) {
|
|
2789
|
+
return a.filterFindElements(i, this.options.itemSelector);
|
|
2787
2790
|
}, s.getItemElements = function() {
|
|
2788
|
-
return this.items.map(function(
|
|
2789
|
-
return
|
|
2791
|
+
return this.items.map(function(i) {
|
|
2792
|
+
return i.element;
|
|
2790
2793
|
});
|
|
2791
2794
|
}, s.layout = function() {
|
|
2792
2795
|
this._resetLayout(), this._manageStamps();
|
|
2793
|
-
var
|
|
2796
|
+
var i = this._getOption("layoutInstant"), p = i !== void 0 ? i : !this._isLayoutInited;
|
|
2794
2797
|
this.layoutItems(this.items, p), this._isLayoutInited = !0;
|
|
2795
2798
|
}, s._init = s.layout, s._resetLayout = function() {
|
|
2796
2799
|
this.getSize();
|
|
2797
2800
|
}, s.getSize = function() {
|
|
2798
2801
|
this.size = r(this.element);
|
|
2799
|
-
}, s._getMeasurement = function(
|
|
2800
|
-
var b = this.options[
|
|
2801
|
-
b ? (typeof b == "string" ? $ = this.element.querySelector(b) : b instanceof HTMLElement && ($ = b), this[
|
|
2802
|
-
}, s.layoutItems = function(
|
|
2803
|
-
|
|
2804
|
-
}, s._getItemsForLayout = function(
|
|
2805
|
-
return
|
|
2802
|
+
}, s._getMeasurement = function(i, p) {
|
|
2803
|
+
var b = this.options[i], $;
|
|
2804
|
+
b ? (typeof b == "string" ? $ = this.element.querySelector(b) : b instanceof HTMLElement && ($ = b), this[i] = $ ? r($)[p] : b) : this[i] = 0;
|
|
2805
|
+
}, s.layoutItems = function(i, p) {
|
|
2806
|
+
i = this._getItemsForLayout(i), this._layoutItems(i, p), this._postLayout();
|
|
2807
|
+
}, s._getItemsForLayout = function(i) {
|
|
2808
|
+
return i.filter(function(p) {
|
|
2806
2809
|
return !p.isIgnored;
|
|
2807
2810
|
});
|
|
2808
|
-
}, s._layoutItems = function(
|
|
2809
|
-
if (this._emitCompleteOnItems("layout",
|
|
2811
|
+
}, s._layoutItems = function(i, p) {
|
|
2812
|
+
if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
|
|
2810
2813
|
var b = [];
|
|
2811
|
-
|
|
2814
|
+
i.forEach(function($) {
|
|
2812
2815
|
var w = this._getItemLayoutPosition($);
|
|
2813
2816
|
w.item = $, w.isInstant = p || $.isLayoutInstant, b.push(w);
|
|
2814
2817
|
}, this), this._processLayoutQueue(b);
|
|
@@ -2818,36 +2821,36 @@ function Rr() {
|
|
|
2818
2821
|
x: 0,
|
|
2819
2822
|
y: 0
|
|
2820
2823
|
};
|
|
2821
|
-
}, s._processLayoutQueue = function(
|
|
2822
|
-
this.updateStagger(),
|
|
2824
|
+
}, s._processLayoutQueue = function(i) {
|
|
2825
|
+
this.updateStagger(), i.forEach(function(p, b) {
|
|
2823
2826
|
this._positionItem(p.item, p.x, p.y, p.isInstant, b);
|
|
2824
2827
|
}, this);
|
|
2825
2828
|
}, s.updateStagger = function() {
|
|
2826
|
-
var
|
|
2827
|
-
if (
|
|
2829
|
+
var i = this.options.stagger;
|
|
2830
|
+
if (i == null) {
|
|
2828
2831
|
this.stagger = 0;
|
|
2829
2832
|
return;
|
|
2830
2833
|
}
|
|
2831
|
-
return this.stagger =
|
|
2832
|
-
}, s._positionItem = function(
|
|
2833
|
-
$ ?
|
|
2834
|
+
return this.stagger = f(i), this.stagger;
|
|
2835
|
+
}, s._positionItem = function(i, p, b, $, w) {
|
|
2836
|
+
$ ? i.goTo(p, b) : (i.stagger(w * this.stagger), i.moveTo(p, b));
|
|
2834
2837
|
}, s._postLayout = function() {
|
|
2835
2838
|
this.resizeContainer();
|
|
2836
2839
|
}, s.resizeContainer = function() {
|
|
2837
|
-
var
|
|
2838
|
-
if (
|
|
2840
|
+
var i = this._getOption("resizeContainer");
|
|
2841
|
+
if (i) {
|
|
2839
2842
|
var p = this._getContainerSize();
|
|
2840
2843
|
p && (this._setContainerMeasure(p.width, !0), this._setContainerMeasure(p.height, !1));
|
|
2841
2844
|
}
|
|
2842
|
-
}, s._getContainerSize = u, s._setContainerMeasure = function(
|
|
2843
|
-
if (
|
|
2845
|
+
}, s._getContainerSize = u, s._setContainerMeasure = function(i, p) {
|
|
2846
|
+
if (i !== void 0) {
|
|
2844
2847
|
var b = this.size;
|
|
2845
|
-
b.isBorderBox && (
|
|
2848
|
+
b.isBorderBox && (i += p ? b.paddingLeft + b.paddingRight + b.borderLeftWidth + b.borderRightWidth : b.paddingBottom + b.paddingTop + b.borderTopWidth + b.borderBottomWidth), i = Math.max(i, 0), this.element.style[p ? "width" : "height"] = i + "px";
|
|
2846
2849
|
}
|
|
2847
|
-
}, s._emitCompleteOnItems = function(
|
|
2850
|
+
}, s._emitCompleteOnItems = function(i, p) {
|
|
2848
2851
|
var b = this;
|
|
2849
2852
|
function $() {
|
|
2850
|
-
b.dispatchEvent(
|
|
2853
|
+
b.dispatchEvent(i + "Complete", null, [p]);
|
|
2851
2854
|
}
|
|
2852
2855
|
var w = p.length;
|
|
2853
2856
|
if (!p || !w) {
|
|
@@ -2859,43 +2862,43 @@ function Rr() {
|
|
|
2859
2862
|
O++, O == w && $();
|
|
2860
2863
|
}
|
|
2861
2864
|
p.forEach(function(S) {
|
|
2862
|
-
S.once(
|
|
2865
|
+
S.once(i, L);
|
|
2863
2866
|
});
|
|
2864
|
-
}, s.dispatchEvent = function(
|
|
2867
|
+
}, s.dispatchEvent = function(i, p, b) {
|
|
2865
2868
|
var $ = p ? [p].concat(b) : b;
|
|
2866
|
-
if (this.emitEvent(
|
|
2869
|
+
if (this.emitEvent(i, $), h)
|
|
2867
2870
|
if (this.$element = this.$element || h(this.element), p) {
|
|
2868
2871
|
var w = h.Event(p);
|
|
2869
|
-
w.type =
|
|
2872
|
+
w.type = i, this.$element.trigger(w, b);
|
|
2870
2873
|
} else
|
|
2871
|
-
this.$element.trigger(
|
|
2872
|
-
}, s.ignore = function(
|
|
2873
|
-
var p = this.getItem(
|
|
2874
|
+
this.$element.trigger(i, b);
|
|
2875
|
+
}, s.ignore = function(i) {
|
|
2876
|
+
var p = this.getItem(i);
|
|
2874
2877
|
p && (p.isIgnored = !0);
|
|
2875
|
-
}, s.unignore = function(
|
|
2876
|
-
var p = this.getItem(
|
|
2878
|
+
}, s.unignore = function(i) {
|
|
2879
|
+
var p = this.getItem(i);
|
|
2877
2880
|
p && delete p.isIgnored;
|
|
2878
|
-
}, s.stamp = function(
|
|
2879
|
-
|
|
2880
|
-
}, s.unstamp = function(
|
|
2881
|
-
|
|
2881
|
+
}, s.stamp = function(i) {
|
|
2882
|
+
i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
|
|
2883
|
+
}, s.unstamp = function(i) {
|
|
2884
|
+
i = this._find(i), i && i.forEach(function(p) {
|
|
2882
2885
|
a.removeFrom(this.stamps, p), this.unignore(p);
|
|
2883
2886
|
}, this);
|
|
2884
|
-
}, s._find = function(
|
|
2885
|
-
if (
|
|
2886
|
-
return typeof
|
|
2887
|
+
}, s._find = function(i) {
|
|
2888
|
+
if (i)
|
|
2889
|
+
return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = a.makeArray(i), i;
|
|
2887
2890
|
}, s._manageStamps = function() {
|
|
2888
2891
|
!this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
|
|
2889
2892
|
}, s._getBoundingRect = function() {
|
|
2890
|
-
var
|
|
2893
|
+
var i = this.element.getBoundingClientRect(), p = this.size;
|
|
2891
2894
|
this._boundingRect = {
|
|
2892
|
-
left:
|
|
2893
|
-
top:
|
|
2894
|
-
right:
|
|
2895
|
-
bottom:
|
|
2895
|
+
left: i.left + p.paddingLeft + p.borderLeftWidth,
|
|
2896
|
+
top: i.top + p.paddingTop + p.borderTopWidth,
|
|
2897
|
+
right: i.right - (p.paddingRight + p.borderRightWidth),
|
|
2898
|
+
bottom: i.bottom - (p.paddingBottom + p.borderBottomWidth)
|
|
2896
2899
|
};
|
|
2897
|
-
}, s._manageStamp = u, s._getElementOffset = function(
|
|
2898
|
-
var p =
|
|
2900
|
+
}, s._manageStamp = u, s._getElementOffset = function(i) {
|
|
2901
|
+
var p = i.getBoundingClientRect(), b = this._boundingRect, $ = r(i), w = {
|
|
2899
2902
|
left: p.left - b.left - $.marginLeft,
|
|
2900
2903
|
top: p.top - b.top - $.marginTop,
|
|
2901
2904
|
right: b.right - p.right - $.marginRight,
|
|
@@ -2911,94 +2914,94 @@ function Rr() {
|
|
|
2911
2914
|
}, a.debounceMethod(_, "onresize", 100), s.resize = function() {
|
|
2912
2915
|
!this.isResizeBound || !this.needsResizeLayout() || this.layout();
|
|
2913
2916
|
}, s.needsResizeLayout = function() {
|
|
2914
|
-
var
|
|
2915
|
-
return p &&
|
|
2916
|
-
}, s.addItems = function(
|
|
2917
|
-
var p = this._itemize(
|
|
2917
|
+
var i = r(this.element), p = this.size && i;
|
|
2918
|
+
return p && i.innerWidth !== this.size.innerWidth;
|
|
2919
|
+
}, s.addItems = function(i) {
|
|
2920
|
+
var p = this._itemize(i);
|
|
2918
2921
|
return p.length && (this.items = this.items.concat(p)), p;
|
|
2919
|
-
}, s.appended = function(
|
|
2920
|
-
var p = this.addItems(
|
|
2922
|
+
}, s.appended = function(i) {
|
|
2923
|
+
var p = this.addItems(i);
|
|
2921
2924
|
p.length && (this.layoutItems(p, !0), this.reveal(p));
|
|
2922
|
-
}, s.prepended = function(
|
|
2923
|
-
var p = this._itemize(
|
|
2925
|
+
}, s.prepended = function(i) {
|
|
2926
|
+
var p = this._itemize(i);
|
|
2924
2927
|
if (p.length) {
|
|
2925
2928
|
var b = this.items.slice(0);
|
|
2926
2929
|
this.items = p.concat(b), this._resetLayout(), this._manageStamps(), this.layoutItems(p, !0), this.reveal(p), this.layoutItems(b);
|
|
2927
2930
|
}
|
|
2928
|
-
}, s.reveal = function(
|
|
2929
|
-
if (this._emitCompleteOnItems("reveal",
|
|
2931
|
+
}, s.reveal = function(i) {
|
|
2932
|
+
if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
|
|
2930
2933
|
var p = this.updateStagger();
|
|
2931
|
-
|
|
2934
|
+
i.forEach(function(b, $) {
|
|
2932
2935
|
b.stagger($ * p), b.reveal();
|
|
2933
2936
|
});
|
|
2934
2937
|
}
|
|
2935
|
-
}, s.hide = function(
|
|
2936
|
-
if (this._emitCompleteOnItems("hide",
|
|
2938
|
+
}, s.hide = function(i) {
|
|
2939
|
+
if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
|
|
2937
2940
|
var p = this.updateStagger();
|
|
2938
|
-
|
|
2941
|
+
i.forEach(function(b, $) {
|
|
2939
2942
|
b.stagger($ * p), b.hide();
|
|
2940
2943
|
});
|
|
2941
2944
|
}
|
|
2942
|
-
}, s.revealItemElements = function(
|
|
2943
|
-
var p = this.getItems(
|
|
2945
|
+
}, s.revealItemElements = function(i) {
|
|
2946
|
+
var p = this.getItems(i);
|
|
2944
2947
|
this.reveal(p);
|
|
2945
|
-
}, s.hideItemElements = function(
|
|
2946
|
-
var p = this.getItems(
|
|
2948
|
+
}, s.hideItemElements = function(i) {
|
|
2949
|
+
var p = this.getItems(i);
|
|
2947
2950
|
this.hide(p);
|
|
2948
|
-
}, s.getItem = function(
|
|
2951
|
+
}, s.getItem = function(i) {
|
|
2949
2952
|
for (var p = 0; p < this.items.length; p++) {
|
|
2950
2953
|
var b = this.items[p];
|
|
2951
|
-
if (b.element ==
|
|
2954
|
+
if (b.element == i)
|
|
2952
2955
|
return b;
|
|
2953
2956
|
}
|
|
2954
|
-
}, s.getItems = function(
|
|
2955
|
-
|
|
2957
|
+
}, s.getItems = function(i) {
|
|
2958
|
+
i = a.makeArray(i);
|
|
2956
2959
|
var p = [];
|
|
2957
|
-
return
|
|
2960
|
+
return i.forEach(function(b) {
|
|
2958
2961
|
var $ = this.getItem(b);
|
|
2959
2962
|
$ && p.push($);
|
|
2960
2963
|
}, this), p;
|
|
2961
|
-
}, s.remove = function(
|
|
2962
|
-
var p = this.getItems(
|
|
2964
|
+
}, s.remove = function(i) {
|
|
2965
|
+
var p = this.getItems(i);
|
|
2963
2966
|
this._emitCompleteOnItems("remove", p), !(!p || !p.length) && p.forEach(function(b) {
|
|
2964
2967
|
b.remove(), a.removeFrom(this.items, b);
|
|
2965
2968
|
}, this);
|
|
2966
2969
|
}, s.destroy = function() {
|
|
2967
|
-
var
|
|
2968
|
-
|
|
2970
|
+
var i = this.element.style;
|
|
2971
|
+
i.height = "", i.position = "", i.width = "", this.items.forEach(function(b) {
|
|
2969
2972
|
b.destroy();
|
|
2970
2973
|
}), this.unbindResize();
|
|
2971
2974
|
var p = this.element.outlayerGUID;
|
|
2972
2975
|
delete m[p], delete this.element.outlayerGUID, h && h.removeData(this.element, this.constructor.namespace);
|
|
2973
|
-
}, _.data = function(
|
|
2974
|
-
|
|
2975
|
-
var p =
|
|
2976
|
+
}, _.data = function(i) {
|
|
2977
|
+
i = a.getQueryElement(i);
|
|
2978
|
+
var p = i && i.outlayerGUID;
|
|
2976
2979
|
return p && m[p];
|
|
2977
|
-
}, _.create = function(
|
|
2980
|
+
}, _.create = function(i, p) {
|
|
2978
2981
|
var b = g(_);
|
|
2979
|
-
return b.defaults = a.extend({}, _.defaults), a.extend(b.defaults, p), b.compatOptions = a.extend({}, _.compatOptions), b.namespace =
|
|
2982
|
+
return b.defaults = a.extend({}, _.defaults), a.extend(b.defaults, p), b.compatOptions = a.extend({}, _.compatOptions), b.namespace = i, b.data = _.data, b.Item = g(c), a.htmlInit(b, i), h && h.bridget && h.bridget(i, b), b;
|
|
2980
2983
|
};
|
|
2981
|
-
function g(
|
|
2984
|
+
function g(i) {
|
|
2982
2985
|
function p() {
|
|
2983
|
-
|
|
2986
|
+
i.apply(this, arguments);
|
|
2984
2987
|
}
|
|
2985
|
-
return p.prototype = Object.create(
|
|
2988
|
+
return p.prototype = Object.create(i.prototype), p.prototype.constructor = p, p;
|
|
2986
2989
|
}
|
|
2987
2990
|
var k = {
|
|
2988
2991
|
ms: 1,
|
|
2989
2992
|
s: 1e3
|
|
2990
2993
|
};
|
|
2991
|
-
function
|
|
2992
|
-
if (typeof
|
|
2993
|
-
return
|
|
2994
|
-
var p =
|
|
2994
|
+
function f(i) {
|
|
2995
|
+
if (typeof i == "number")
|
|
2996
|
+
return i;
|
|
2997
|
+
var p = i.match(/(^\d*\.?\d*)(\w*)/), b = p && p[1], $ = p && p[2];
|
|
2995
2998
|
if (!b.length)
|
|
2996
2999
|
return 0;
|
|
2997
3000
|
b = parseFloat(b);
|
|
2998
3001
|
var w = k[$] || 1;
|
|
2999
3002
|
return b * w;
|
|
3000
3003
|
}
|
|
3001
|
-
return _.Item =
|
|
3004
|
+
return _.Item = c, _;
|
|
3002
3005
|
});
|
|
3003
3006
|
}(ft)), ft.exports;
|
|
3004
3007
|
}
|
|
@@ -3012,92 +3015,92 @@ function Rr() {
|
|
|
3012
3015
|
(function(t) {
|
|
3013
3016
|
(function(e, o) {
|
|
3014
3017
|
t.exports ? t.exports = o(
|
|
3015
|
-
|
|
3018
|
+
Dr(),
|
|
3016
3019
|
Vt()
|
|
3017
3020
|
) : e.Masonry = o(
|
|
3018
3021
|
e.Outlayer,
|
|
3019
3022
|
e.getSize
|
|
3020
3023
|
);
|
|
3021
|
-
})(window, function(o,
|
|
3024
|
+
})(window, function(o, n) {
|
|
3022
3025
|
var r = o.create("masonry");
|
|
3023
3026
|
r.compatOptions.fitWidth = "isFitWidth";
|
|
3024
3027
|
var a = r.prototype;
|
|
3025
3028
|
return a._resetLayout = function() {
|
|
3026
3029
|
this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
|
|
3027
|
-
for (var
|
|
3030
|
+
for (var c = 0; c < this.cols; c++)
|
|
3028
3031
|
this.colYs.push(0);
|
|
3029
3032
|
this.maxY = 0, this.horizontalColIndex = 0;
|
|
3030
3033
|
}, a.measureColumns = function() {
|
|
3031
3034
|
if (this.getContainerWidth(), !this.columnWidth) {
|
|
3032
|
-
var
|
|
3033
|
-
this.columnWidth = l &&
|
|
3035
|
+
var c = this.items[0], l = c && c.element;
|
|
3036
|
+
this.columnWidth = l && n(l).outerWidth || // if first elem has no width, default to size of container
|
|
3034
3037
|
this.containerWidth;
|
|
3035
3038
|
}
|
|
3036
3039
|
var h = this.columnWidth += this.gutter, u = this.containerWidth + this.gutter, v = u / h, m = h - u % h, _ = m && m < 1 ? "round" : "floor";
|
|
3037
3040
|
v = Math[_](v), this.cols = Math.max(v, 1);
|
|
3038
3041
|
}, a.getContainerWidth = function() {
|
|
3039
|
-
var
|
|
3042
|
+
var c = this._getOption("fitWidth"), l = c ? this.element.parentNode : this.element, h = n(l);
|
|
3040
3043
|
this.containerWidth = h && h.innerWidth;
|
|
3041
|
-
}, a._getItemLayoutPosition = function(
|
|
3042
|
-
|
|
3043
|
-
var l =
|
|
3044
|
+
}, a._getItemLayoutPosition = function(c) {
|
|
3045
|
+
c.getSize();
|
|
3046
|
+
var l = c.size.outerWidth % this.columnWidth, h = l && l < 1 ? "round" : "ceil", u = Math[h](c.size.outerWidth / this.columnWidth);
|
|
3044
3047
|
u = Math.min(u, this.cols);
|
|
3045
|
-
for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](u,
|
|
3048
|
+
for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](u, c), _ = {
|
|
3046
3049
|
x: this.columnWidth * m.col,
|
|
3047
3050
|
y: m.y
|
|
3048
|
-
}, s = m.y +
|
|
3051
|
+
}, s = m.y + c.size.outerHeight, g = u + m.col, k = m.col; k < g; k++)
|
|
3049
3052
|
this.colYs[k] = s;
|
|
3050
3053
|
return _;
|
|
3051
|
-
}, a._getTopColPosition = function(
|
|
3052
|
-
var l = this._getTopColGroup(
|
|
3054
|
+
}, a._getTopColPosition = function(c) {
|
|
3055
|
+
var l = this._getTopColGroup(c), h = Math.min.apply(Math, l);
|
|
3053
3056
|
return {
|
|
3054
3057
|
col: l.indexOf(h),
|
|
3055
3058
|
y: h
|
|
3056
3059
|
};
|
|
3057
|
-
}, a._getTopColGroup = function(
|
|
3058
|
-
if (
|
|
3060
|
+
}, a._getTopColGroup = function(c) {
|
|
3061
|
+
if (c < 2)
|
|
3059
3062
|
return this.colYs;
|
|
3060
|
-
for (var l = [], h = this.cols + 1 -
|
|
3061
|
-
l[u] = this._getColGroupY(u,
|
|
3063
|
+
for (var l = [], h = this.cols + 1 - c, u = 0; u < h; u++)
|
|
3064
|
+
l[u] = this._getColGroupY(u, c);
|
|
3062
3065
|
return l;
|
|
3063
|
-
}, a._getColGroupY = function(
|
|
3066
|
+
}, a._getColGroupY = function(c, l) {
|
|
3064
3067
|
if (l < 2)
|
|
3065
|
-
return this.colYs[
|
|
3066
|
-
var h = this.colYs.slice(
|
|
3068
|
+
return this.colYs[c];
|
|
3069
|
+
var h = this.colYs.slice(c, c + l);
|
|
3067
3070
|
return Math.max.apply(Math, h);
|
|
3068
|
-
}, a._getHorizontalColPosition = function(
|
|
3069
|
-
var h = this.horizontalColIndex % this.cols, u =
|
|
3071
|
+
}, a._getHorizontalColPosition = function(c, l) {
|
|
3072
|
+
var h = this.horizontalColIndex % this.cols, u = c > 1 && h + c > this.cols;
|
|
3070
3073
|
h = u ? 0 : h;
|
|
3071
3074
|
var v = l.size.outerWidth && l.size.outerHeight;
|
|
3072
|
-
return this.horizontalColIndex = v ? h +
|
|
3075
|
+
return this.horizontalColIndex = v ? h + c : this.horizontalColIndex, {
|
|
3073
3076
|
col: h,
|
|
3074
|
-
y: this._getColGroupY(h,
|
|
3077
|
+
y: this._getColGroupY(h, c)
|
|
3075
3078
|
};
|
|
3076
|
-
}, a._manageStamp = function(
|
|
3077
|
-
var l =
|
|
3079
|
+
}, a._manageStamp = function(c) {
|
|
3080
|
+
var l = n(c), h = this._getElementOffset(c), u = this._getOption("originLeft"), v = u ? h.left : h.right, m = v + l.outerWidth, _ = Math.floor(v / this.columnWidth);
|
|
3078
3081
|
_ = Math.max(0, _);
|
|
3079
3082
|
var s = Math.floor(m / this.columnWidth);
|
|
3080
3083
|
s -= m % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
|
|
3081
|
-
for (var g = this._getOption("originTop"), k = (g ? h.top : h.bottom) + l.outerHeight,
|
|
3082
|
-
this.colYs[
|
|
3084
|
+
for (var g = this._getOption("originTop"), k = (g ? h.top : h.bottom) + l.outerHeight, f = _; f <= s; f++)
|
|
3085
|
+
this.colYs[f] = Math.max(k, this.colYs[f]);
|
|
3083
3086
|
}, a._getContainerSize = function() {
|
|
3084
3087
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
3085
|
-
var
|
|
3088
|
+
var c = {
|
|
3086
3089
|
height: this.maxY
|
|
3087
3090
|
};
|
|
3088
|
-
return this._getOption("fitWidth") && (
|
|
3091
|
+
return this._getOption("fitWidth") && (c.width = this._getContainerFitWidth()), c;
|
|
3089
3092
|
}, a._getContainerFitWidth = function() {
|
|
3090
|
-
for (var
|
|
3091
|
-
|
|
3092
|
-
return (this.cols -
|
|
3093
|
+
for (var c = 0, l = this.cols; --l && this.colYs[l] === 0; )
|
|
3094
|
+
c++;
|
|
3095
|
+
return (this.cols - c) * this.columnWidth - this.gutter;
|
|
3093
3096
|
}, a.needsResizeLayout = function() {
|
|
3094
|
-
var
|
|
3095
|
-
return this.getContainerWidth(),
|
|
3097
|
+
var c = this.containerWidth;
|
|
3098
|
+
return this.getContainerWidth(), c != this.containerWidth;
|
|
3096
3099
|
}, r;
|
|
3097
3100
|
});
|
|
3098
3101
|
})(_o);
|
|
3099
|
-
var
|
|
3100
|
-
const Jt = /* @__PURE__ */ po(
|
|
3102
|
+
var Rr = _o.exports;
|
|
3103
|
+
const Jt = /* @__PURE__ */ po(Rr);
|
|
3101
3104
|
var ko = { exports: {} };
|
|
3102
3105
|
/*!
|
|
3103
3106
|
* imagesLoaded v4.1.4
|
|
@@ -3116,9 +3119,9 @@ var ko = { exports: {} };
|
|
|
3116
3119
|
})(
|
|
3117
3120
|
typeof window < "u" ? window : fo,
|
|
3118
3121
|
// -------------------------- factory -------------------------- //
|
|
3119
|
-
function(o,
|
|
3122
|
+
function(o, n) {
|
|
3120
3123
|
var r = o.jQuery, a = o.console;
|
|
3121
|
-
function
|
|
3124
|
+
function c(s, g) {
|
|
3122
3125
|
for (var k in g)
|
|
3123
3126
|
s[k] = g[k];
|
|
3124
3127
|
return s;
|
|
@@ -3133,27 +3136,27 @@ var ko = { exports: {} };
|
|
|
3133
3136
|
function u(s, g, k) {
|
|
3134
3137
|
if (!(this instanceof u))
|
|
3135
3138
|
return new u(s, g, k);
|
|
3136
|
-
var
|
|
3137
|
-
if (typeof s == "string" && (
|
|
3138
|
-
a.error("Bad element for imagesLoaded " + (
|
|
3139
|
+
var f = s;
|
|
3140
|
+
if (typeof s == "string" && (f = document.querySelectorAll(s)), !f) {
|
|
3141
|
+
a.error("Bad element for imagesLoaded " + (f || s));
|
|
3139
3142
|
return;
|
|
3140
3143
|
}
|
|
3141
|
-
this.elements = h(
|
|
3144
|
+
this.elements = h(f), this.options = c({}, this.options), typeof g == "function" ? k = g : c(this.options, g), k && this.on("always", k), this.getImages(), r && (this.jqDeferred = new r.Deferred()), setTimeout(this.check.bind(this));
|
|
3142
3145
|
}
|
|
3143
|
-
u.prototype = Object.create(
|
|
3146
|
+
u.prototype = Object.create(n.prototype), u.prototype.options = {}, u.prototype.getImages = function() {
|
|
3144
3147
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
3145
3148
|
}, u.prototype.addElementImages = function(s) {
|
|
3146
3149
|
s.nodeName == "IMG" && this.addImage(s), this.options.background === !0 && this.addElementBackgroundImages(s);
|
|
3147
3150
|
var g = s.nodeType;
|
|
3148
3151
|
if (!(!g || !v[g])) {
|
|
3149
|
-
for (var k = s.querySelectorAll("img"),
|
|
3150
|
-
var
|
|
3151
|
-
this.addImage(
|
|
3152
|
+
for (var k = s.querySelectorAll("img"), f = 0; f < k.length; f++) {
|
|
3153
|
+
var i = k[f];
|
|
3154
|
+
this.addImage(i);
|
|
3152
3155
|
}
|
|
3153
3156
|
if (typeof this.options.background == "string") {
|
|
3154
3157
|
var p = s.querySelectorAll(this.options.background);
|
|
3155
|
-
for (
|
|
3156
|
-
var b = p[
|
|
3158
|
+
for (f = 0; f < p.length; f++) {
|
|
3159
|
+
var b = p[f];
|
|
3157
3160
|
this.addElementBackgroundImages(b);
|
|
3158
3161
|
}
|
|
3159
3162
|
}
|
|
@@ -3167,9 +3170,9 @@ var ko = { exports: {} };
|
|
|
3167
3170
|
u.prototype.addElementBackgroundImages = function(s) {
|
|
3168
3171
|
var g = getComputedStyle(s);
|
|
3169
3172
|
if (g)
|
|
3170
|
-
for (var k = /url\((['"])?(.*?)\1\)/gi,
|
|
3171
|
-
var
|
|
3172
|
-
|
|
3173
|
+
for (var k = /url\((['"])?(.*?)\1\)/gi, f = k.exec(g.backgroundImage); f !== null; ) {
|
|
3174
|
+
var i = f && f[2];
|
|
3175
|
+
i && this.addBackground(i, s), f = k.exec(g.backgroundImage);
|
|
3173
3176
|
}
|
|
3174
3177
|
}, u.prototype.addImage = function(s) {
|
|
3175
3178
|
var g = new m(s);
|
|
@@ -3183,9 +3186,9 @@ var ko = { exports: {} };
|
|
|
3183
3186
|
this.complete();
|
|
3184
3187
|
return;
|
|
3185
3188
|
}
|
|
3186
|
-
function g(k,
|
|
3189
|
+
function g(k, f, i) {
|
|
3187
3190
|
setTimeout(function() {
|
|
3188
|
-
s.progress(k,
|
|
3191
|
+
s.progress(k, f, i);
|
|
3189
3192
|
});
|
|
3190
3193
|
}
|
|
3191
3194
|
this.images.forEach(function(k) {
|
|
@@ -3203,7 +3206,7 @@ var ko = { exports: {} };
|
|
|
3203
3206
|
function m(s) {
|
|
3204
3207
|
this.img = s;
|
|
3205
3208
|
}
|
|
3206
|
-
m.prototype = Object.create(
|
|
3209
|
+
m.prototype = Object.create(n.prototype), m.prototype.check = function() {
|
|
3207
3210
|
var s = this.getIsImageComplete();
|
|
3208
3211
|
if (s) {
|
|
3209
3212
|
this.confirm(this.img.naturalWidth !== 0, "naturalWidth");
|
|
@@ -3237,27 +3240,27 @@ var ko = { exports: {} };
|
|
|
3237
3240
|
this.isLoaded = s, this.emitEvent("progress", [this, this.element, g]);
|
|
3238
3241
|
}, u.makeJQueryPlugin = function(s) {
|
|
3239
3242
|
s = s || o.jQuery, s && (r = s, r.fn.imagesLoaded = function(g, k) {
|
|
3240
|
-
var
|
|
3241
|
-
return
|
|
3243
|
+
var f = new u(this, g, k);
|
|
3244
|
+
return f.jqDeferred.promise(r(this));
|
|
3242
3245
|
});
|
|
3243
3246
|
}, u.makeJQueryPlugin(), u;
|
|
3244
3247
|
}
|
|
3245
3248
|
);
|
|
3246
3249
|
})(ko);
|
|
3247
|
-
var
|
|
3248
|
-
const
|
|
3249
|
-
function
|
|
3250
|
+
var Br = ko.exports;
|
|
3251
|
+
const Mr = /* @__PURE__ */ po(Br);
|
|
3252
|
+
function zr(t) {
|
|
3250
3253
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, o) {
|
|
3251
|
-
var
|
|
3252
|
-
|
|
3254
|
+
var n = t.get(e);
|
|
3255
|
+
n ? n.push(o) : t.set(e, [o]);
|
|
3253
3256
|
}, off: function(e, o) {
|
|
3254
|
-
var
|
|
3255
|
-
|
|
3257
|
+
var n = t.get(e);
|
|
3258
|
+
n && (o ? n.splice(n.indexOf(o) >>> 0, 1) : t.set(e, []));
|
|
3256
3259
|
}, emit: function(e, o) {
|
|
3257
|
-
var
|
|
3258
|
-
|
|
3260
|
+
var n = t.get(e);
|
|
3261
|
+
n && n.slice().map(function(r) {
|
|
3259
3262
|
r(o);
|
|
3260
|
-
}), (
|
|
3263
|
+
}), (n = t.get("*")) && n.slice().map(function(r) {
|
|
3261
3264
|
r(e, o);
|
|
3262
3265
|
});
|
|
3263
3266
|
} };
|
|
@@ -3275,24 +3278,24 @@ const Ke = {
|
|
|
3275
3278
|
"horizontal-order": "horizontalOrder",
|
|
3276
3279
|
stagger: "stagger",
|
|
3277
3280
|
"destroy-delay": "destroyDelay"
|
|
3278
|
-
}, Qe = "vuemasonry.itemAdded", gt = "vuemasonry.itemRemoved", bt = "vuemasonry.imageLoaded", _t = "vuemasonry.destroy",
|
|
3281
|
+
}, Qe = "vuemasonry.itemAdded", gt = "vuemasonry.itemRemoved", bt = "vuemasonry.imageLoaded", _t = "vuemasonry.destroy", Wr = function(t) {
|
|
3279
3282
|
return (t + "").toLowerCase() === "true";
|
|
3280
|
-
},
|
|
3283
|
+
}, xr = function(t) {
|
|
3281
3284
|
return isNaN(t) ? t : parseInt(t);
|
|
3282
|
-
},
|
|
3285
|
+
}, Fr = function(t) {
|
|
3283
3286
|
const e = {};
|
|
3284
|
-
return Array.prototype.slice.call(t).forEach(function(
|
|
3285
|
-
Object.keys(Ke).indexOf(
|
|
3287
|
+
return Array.prototype.slice.call(t).forEach(function(n) {
|
|
3288
|
+
Object.keys(Ke).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[Ke[n.name]] = Wr(n.value) : n.name === "column-width" || n.name === "gutter" ? e[Ke[n.name]] = xr(n.value) : e[Ke[n.name]] = n.value);
|
|
3286
3289
|
}), e;
|
|
3287
3290
|
}, Eo = {};
|
|
3288
3291
|
Eo.install = function(t, e) {
|
|
3289
|
-
const o =
|
|
3292
|
+
const o = zr(), n = "VueMasonry", r = t;
|
|
3290
3293
|
r.directive("masonry", {
|
|
3291
3294
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
3292
|
-
mounted: function(a,
|
|
3295
|
+
mounted: function(a, c) {
|
|
3293
3296
|
if (!Jt)
|
|
3294
3297
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
3295
|
-
const l =
|
|
3298
|
+
const l = Fr(a.attributes), h = new Jt(a, l), u = c.value || n, v = l.destroyDelay ? parseInt(l.destroyDelay, 10) : void 0, m = function() {
|
|
3296
3299
|
h.reloadItems(), h.layout();
|
|
3297
3300
|
};
|
|
3298
3301
|
wt(() => {
|
|
@@ -3309,64 +3312,64 @@ Eo.install = function(t, e) {
|
|
|
3309
3312
|
};
|
|
3310
3313
|
o["on"](`${Qe}__${u}`, _), o["on"](`${gt}__${u}`, _), o["on"](`${bt}__${u}`, _), o["on"](`${_t}__${u}`, s);
|
|
3311
3314
|
},
|
|
3312
|
-
unbind: function(a,
|
|
3313
|
-
const l =
|
|
3315
|
+
unbind: function(a, c) {
|
|
3316
|
+
const l = c.value || n;
|
|
3314
3317
|
o["emit"](`${_t}__${l}`);
|
|
3315
3318
|
}
|
|
3316
3319
|
}), r.directive("masonryTile", {
|
|
3317
|
-
mounted: function(a,
|
|
3318
|
-
const l =
|
|
3320
|
+
mounted: function(a, c) {
|
|
3321
|
+
const l = c.value || n;
|
|
3319
3322
|
o["emit"](`${Qe}__${l}`, {
|
|
3320
3323
|
element: a
|
|
3321
|
-
}), new
|
|
3324
|
+
}), new Mr(a, function() {
|
|
3322
3325
|
o["emit"](`${bt}__${l}`, {
|
|
3323
3326
|
element: a
|
|
3324
3327
|
});
|
|
3325
3328
|
});
|
|
3326
3329
|
},
|
|
3327
|
-
unbind: function(a,
|
|
3328
|
-
const l =
|
|
3330
|
+
unbind: function(a, c) {
|
|
3331
|
+
const l = c.value || n;
|
|
3329
3332
|
o["emit"](`${gt}__${l}`, {
|
|
3330
3333
|
element: a
|
|
3331
3334
|
});
|
|
3332
3335
|
}
|
|
3333
3336
|
});
|
|
3334
3337
|
{
|
|
3335
|
-
const a = function(
|
|
3336
|
-
const l =
|
|
3338
|
+
const a = function(c) {
|
|
3339
|
+
const l = c || n;
|
|
3337
3340
|
o["emit"](`${Qe}__${l}`);
|
|
3338
3341
|
};
|
|
3339
3342
|
t.config.globalProperties.$redrawVueMasonry = a, t.provide("redrawVueMasonry", a);
|
|
3340
3343
|
}
|
|
3341
3344
|
};
|
|
3342
3345
|
function St(t, e = {}, o) {
|
|
3343
|
-
for (const
|
|
3344
|
-
const r = t[
|
|
3346
|
+
for (const n in t) {
|
|
3347
|
+
const r = t[n], a = o ? `${o}:${n}` : n;
|
|
3345
3348
|
typeof r == "object" && r !== null ? St(r, e, a) : typeof r == "function" && (e[a] = r);
|
|
3346
3349
|
}
|
|
3347
3350
|
return e;
|
|
3348
3351
|
}
|
|
3349
|
-
const
|
|
3350
|
-
function
|
|
3351
|
-
const o = e.shift(),
|
|
3352
|
+
const Nr = { run: (t) => t() }, Ur = () => Nr, To = typeof console.createTask < "u" ? console.createTask : Ur;
|
|
3353
|
+
function qr(t, e) {
|
|
3354
|
+
const o = e.shift(), n = To(o);
|
|
3352
3355
|
return t.reduce(
|
|
3353
|
-
(r, a) => r.then(() =>
|
|
3356
|
+
(r, a) => r.then(() => n.run(() => a(...e))),
|
|
3354
3357
|
Promise.resolve()
|
|
3355
3358
|
);
|
|
3356
3359
|
}
|
|
3357
|
-
function
|
|
3358
|
-
const o = e.shift(),
|
|
3359
|
-
return Promise.all(t.map((r) =>
|
|
3360
|
+
function Gr(t, e) {
|
|
3361
|
+
const o = e.shift(), n = To(o);
|
|
3362
|
+
return Promise.all(t.map((r) => n.run(() => r(...e))));
|
|
3360
3363
|
}
|
|
3361
3364
|
function kt(t, e) {
|
|
3362
3365
|
for (const o of [...t])
|
|
3363
3366
|
o(e);
|
|
3364
3367
|
}
|
|
3365
|
-
class
|
|
3368
|
+
class jr {
|
|
3366
3369
|
constructor() {
|
|
3367
3370
|
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);
|
|
3368
3371
|
}
|
|
3369
|
-
hook(e, o,
|
|
3372
|
+
hook(e, o, n = {}) {
|
|
3370
3373
|
if (!e || typeof o != "function")
|
|
3371
3374
|
return () => {
|
|
3372
3375
|
};
|
|
@@ -3374,9 +3377,9 @@ class Yr {
|
|
|
3374
3377
|
let a;
|
|
3375
3378
|
for (; this._deprecatedHooks[e]; )
|
|
3376
3379
|
a = this._deprecatedHooks[e], e = a.to;
|
|
3377
|
-
if (a && !
|
|
3378
|
-
let
|
|
3379
|
-
|
|
3380
|
+
if (a && !n.allowDeprecated) {
|
|
3381
|
+
let c = a.message;
|
|
3382
|
+
c || (c = `${r} hook has been deprecated` + (a.to ? `, please use ${a.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(c) || (console.warn(c), this._deprecatedMessages.add(c));
|
|
3380
3383
|
}
|
|
3381
3384
|
if (!o.name)
|
|
3382
3385
|
try {
|
|
@@ -3391,20 +3394,20 @@ class Yr {
|
|
|
3391
3394
|
};
|
|
3392
3395
|
}
|
|
3393
3396
|
hookOnce(e, o) {
|
|
3394
|
-
let
|
|
3395
|
-
return
|
|
3397
|
+
let n, r = (...a) => (typeof n == "function" && n(), n = void 0, r = void 0, o(...a));
|
|
3398
|
+
return n = this.hook(e, r), n;
|
|
3396
3399
|
}
|
|
3397
3400
|
removeHook(e, o) {
|
|
3398
3401
|
if (this._hooks[e]) {
|
|
3399
|
-
const
|
|
3400
|
-
|
|
3402
|
+
const n = this._hooks[e].indexOf(o);
|
|
3403
|
+
n !== -1 && this._hooks[e].splice(n, 1), this._hooks[e].length === 0 && delete this._hooks[e];
|
|
3401
3404
|
}
|
|
3402
3405
|
}
|
|
3403
3406
|
deprecateHook(e, o) {
|
|
3404
3407
|
this._deprecatedHooks[e] = typeof o == "string" ? { to: o } : o;
|
|
3405
|
-
const
|
|
3408
|
+
const n = this._hooks[e] || [];
|
|
3406
3409
|
delete this._hooks[e];
|
|
3407
|
-
for (const r of
|
|
3410
|
+
for (const r of n)
|
|
3408
3411
|
this.hook(e, r);
|
|
3409
3412
|
}
|
|
3410
3413
|
deprecateHooks(e) {
|
|
@@ -3413,35 +3416,35 @@ class Yr {
|
|
|
3413
3416
|
this.deprecateHook(o, e[o]);
|
|
3414
3417
|
}
|
|
3415
3418
|
addHooks(e) {
|
|
3416
|
-
const o = St(e),
|
|
3419
|
+
const o = St(e), n = Object.keys(o).map(
|
|
3417
3420
|
(r) => this.hook(r, o[r])
|
|
3418
3421
|
);
|
|
3419
3422
|
return () => {
|
|
3420
|
-
for (const r of
|
|
3423
|
+
for (const r of n.splice(0, n.length))
|
|
3421
3424
|
r();
|
|
3422
3425
|
};
|
|
3423
3426
|
}
|
|
3424
3427
|
removeHooks(e) {
|
|
3425
3428
|
const o = St(e);
|
|
3426
|
-
for (const
|
|
3427
|
-
this.removeHook(
|
|
3429
|
+
for (const n in o)
|
|
3430
|
+
this.removeHook(n, o[n]);
|
|
3428
3431
|
}
|
|
3429
3432
|
removeAllHooks() {
|
|
3430
3433
|
for (const e in this._hooks)
|
|
3431
3434
|
delete this._hooks[e];
|
|
3432
3435
|
}
|
|
3433
3436
|
callHook(e, ...o) {
|
|
3434
|
-
return o.unshift(e), this.callHookWith(
|
|
3437
|
+
return o.unshift(e), this.callHookWith(qr, e, ...o);
|
|
3435
3438
|
}
|
|
3436
3439
|
callHookParallel(e, ...o) {
|
|
3437
|
-
return o.unshift(e), this.callHookWith(
|
|
3440
|
+
return o.unshift(e), this.callHookWith(Gr, e, ...o);
|
|
3438
3441
|
}
|
|
3439
|
-
callHookWith(e, o, ...
|
|
3440
|
-
const r = this._before || this._after ? { name: o, args:
|
|
3442
|
+
callHookWith(e, o, ...n) {
|
|
3443
|
+
const r = this._before || this._after ? { name: o, args: n, context: {} } : void 0;
|
|
3441
3444
|
this._before && kt(this._before, r);
|
|
3442
3445
|
const a = e(
|
|
3443
3446
|
o in this._hooks ? [...this._hooks[o]] : [],
|
|
3444
|
-
|
|
3447
|
+
n
|
|
3445
3448
|
);
|
|
3446
3449
|
return a instanceof Promise ? a.finally(() => {
|
|
3447
3450
|
this._after && r && kt(this._after, r);
|
|
@@ -3464,20 +3467,20 @@ class Yr {
|
|
|
3464
3467
|
};
|
|
3465
3468
|
}
|
|
3466
3469
|
}
|
|
3467
|
-
function
|
|
3468
|
-
return new
|
|
3470
|
+
function Yr() {
|
|
3471
|
+
return new jr();
|
|
3469
3472
|
}
|
|
3470
|
-
function
|
|
3473
|
+
function Kr(t) {
|
|
3471
3474
|
return Array.isArray(t) ? t : [t];
|
|
3472
3475
|
}
|
|
3473
|
-
const
|
|
3476
|
+
const Qr = ["title", "titleTemplate", "script", "style", "noscript"], Je = [
|
|
3474
3477
|
"base",
|
|
3475
3478
|
"meta",
|
|
3476
3479
|
"link",
|
|
3477
3480
|
"style",
|
|
3478
3481
|
"script",
|
|
3479
3482
|
"noscript"
|
|
3480
|
-
],
|
|
3483
|
+
], Xr = [
|
|
3481
3484
|
"title",
|
|
3482
3485
|
"titleTemplate",
|
|
3483
3486
|
"templateParams",
|
|
@@ -3489,7 +3492,7 @@ const Xr = ["title", "titleTemplate", "script", "style", "noscript"], Je = [
|
|
|
3489
3492
|
"style",
|
|
3490
3493
|
"script",
|
|
3491
3494
|
"noscript"
|
|
3492
|
-
],
|
|
3495
|
+
], Jr = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Co = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Zr = typeof window < "u";
|
|
3493
3496
|
function Ot(t) {
|
|
3494
3497
|
let e = 9;
|
|
3495
3498
|
for (let o = 0; o < t.length; )
|
|
@@ -3500,27 +3503,27 @@ function Zt(t) {
|
|
|
3500
3503
|
return t._h || Ot(t._d ? t._d : `${t.tag}:${t.textContent || t.innerHTML || ""}:${Object.entries(t.props).map(([e, o]) => `${e}:${String(o)}`).join(",")}`);
|
|
3501
3504
|
}
|
|
3502
3505
|
function So(t, e) {
|
|
3503
|
-
const { props: o, tag:
|
|
3504
|
-
if (
|
|
3505
|
-
return
|
|
3506
|
-
if (
|
|
3506
|
+
const { props: o, tag: n } = t;
|
|
3507
|
+
if (Jr.includes(n))
|
|
3508
|
+
return n;
|
|
3509
|
+
if (n === "link" && o.rel === "canonical")
|
|
3507
3510
|
return "canonical";
|
|
3508
3511
|
if (o.charset)
|
|
3509
3512
|
return "charset";
|
|
3510
3513
|
const r = ["id"];
|
|
3511
|
-
|
|
3514
|
+
n === "meta" && r.push("name", "property", "http-equiv");
|
|
3512
3515
|
for (const a of r)
|
|
3513
3516
|
if (typeof o[a] < "u") {
|
|
3514
|
-
const
|
|
3515
|
-
return e && !e(
|
|
3517
|
+
const c = String(o[a]);
|
|
3518
|
+
return e && !e(c) ? !1 : `${n}:${a}:${c}`;
|
|
3516
3519
|
}
|
|
3517
3520
|
return !1;
|
|
3518
3521
|
}
|
|
3519
3522
|
function eo(t, e) {
|
|
3520
3523
|
return t == null ? e || null : typeof t == "function" ? t(e) : t;
|
|
3521
3524
|
}
|
|
3522
|
-
async function
|
|
3523
|
-
const
|
|
3525
|
+
async function ea(t, e, o) {
|
|
3526
|
+
const n = {
|
|
3524
3527
|
tag: t,
|
|
3525
3528
|
props: await $o(
|
|
3526
3529
|
// explicitly check for an object
|
|
@@ -3530,33 +3533,33 @@ async function ta(t, e, o) {
|
|
|
3530
3533
|
)
|
|
3531
3534
|
};
|
|
3532
3535
|
return Co.forEach((r) => {
|
|
3533
|
-
const a = typeof
|
|
3534
|
-
typeof a < "u" && ((!["innerHTML", "textContent", "children"].includes(r) ||
|
|
3535
|
-
}),
|
|
3536
|
+
const a = typeof n.props[r] < "u" ? n.props[r] : o[r];
|
|
3537
|
+
typeof a < "u" && ((!["innerHTML", "textContent", "children"].includes(r) || Qr.includes(n.tag)) && (n[r === "children" ? "innerHTML" : r] = a), delete n.props[r]);
|
|
3538
|
+
}), 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((r) => ({ ...n, props: { ...n.props, content: r } })) : n;
|
|
3536
3539
|
}
|
|
3537
|
-
function
|
|
3540
|
+
function ta(t) {
|
|
3538
3541
|
return typeof t == "object" && !Array.isArray(t) && (t = Object.keys(t).filter((e) => t[e])), (Array.isArray(t) ? t.join(" ") : t).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
|
|
3539
3542
|
}
|
|
3540
3543
|
async function $o(t, e) {
|
|
3541
3544
|
for (const o of Object.keys(t)) {
|
|
3542
3545
|
if (o === "class") {
|
|
3543
|
-
t[o] =
|
|
3546
|
+
t[o] = ta(t[o]);
|
|
3544
3547
|
continue;
|
|
3545
3548
|
}
|
|
3546
3549
|
if (t[o] instanceof Promise && (t[o] = await t[o]), !e && !Co.includes(o)) {
|
|
3547
|
-
const
|
|
3548
|
-
|
|
3550
|
+
const n = String(t[o]), r = o.startsWith("data-");
|
|
3551
|
+
n === "true" || n === "" ? t[o] = r ? "true" : !0 : t[o] || (r && n === "false" ? t[o] = "false" : delete t[o]);
|
|
3549
3552
|
}
|
|
3550
3553
|
}
|
|
3551
3554
|
return t;
|
|
3552
3555
|
}
|
|
3553
|
-
const
|
|
3556
|
+
const oa = 10;
|
|
3554
3557
|
async function na(t) {
|
|
3555
3558
|
const e = [];
|
|
3556
|
-
return Object.entries(t.resolvedInput).filter(([o,
|
|
3557
|
-
const r =
|
|
3558
|
-
e.push(...r.map((a) =>
|
|
3559
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((o,
|
|
3559
|
+
return Object.entries(t.resolvedInput).filter(([o, n]) => typeof n < "u" && Xr.includes(o)).forEach(([o, n]) => {
|
|
3560
|
+
const r = Kr(n);
|
|
3561
|
+
e.push(...r.map((a) => ea(o, a, t)).flat());
|
|
3562
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((o, n) => (o._e = t._i, t.mode && (o._m = t.mode), o._p = (t._i << oa) + n, o));
|
|
3560
3563
|
}
|
|
3561
3564
|
const to = {
|
|
3562
3565
|
// tags
|
|
@@ -3568,45 +3571,45 @@ const to = {
|
|
|
3568
3571
|
high: -10,
|
|
3569
3572
|
low: 20
|
|
3570
3573
|
};
|
|
3571
|
-
function
|
|
3574
|
+
function nt(t) {
|
|
3572
3575
|
let e = 100;
|
|
3573
3576
|
const o = t.tagPriority;
|
|
3574
3577
|
return typeof o == "number" ? o : (t.tag === "meta" ? (t.props["http-equiv"] === "content-security-policy" && (e = -30), t.props.charset && (e = -20), t.props.name === "viewport" && (e = -15)) : t.tag === "link" && t.props.rel === "preconnect" ? e = 20 : t.tag in to && (e = to[t.tag]), typeof o == "string" && o in oo ? e + oo[o] : e);
|
|
3575
3578
|
}
|
|
3576
|
-
const
|
|
3579
|
+
const ia = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wo = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ue = "%separator";
|
|
3577
3580
|
function Ze(t, e, o) {
|
|
3578
3581
|
if (typeof t != "string" || !t.includes("%"))
|
|
3579
3582
|
return t;
|
|
3580
|
-
function
|
|
3583
|
+
function n(c) {
|
|
3581
3584
|
let l;
|
|
3582
|
-
return ["s", "pageTitle"].includes(
|
|
3585
|
+
return ["s", "pageTitle"].includes(c) ? l = e.pageTitle : c.includes(".") ? l = c.split(".").reduce((h, u) => h && h[u] || void 0, e) : l = e[c], typeof l < "u" ? (l || "").replace(/"/g, '\\"') : !1;
|
|
3583
3586
|
}
|
|
3584
3587
|
let r = t;
|
|
3585
3588
|
try {
|
|
3586
3589
|
r = decodeURI(t);
|
|
3587
3590
|
} catch {
|
|
3588
3591
|
}
|
|
3589
|
-
return (r.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((
|
|
3590
|
-
const l =
|
|
3591
|
-
typeof l == "string" && (t = t.replace(new RegExp(`\\${
|
|
3592
|
-
}), t.includes(
|
|
3592
|
+
return (r.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((c) => {
|
|
3593
|
+
const l = n(c.slice(1));
|
|
3594
|
+
typeof l == "string" && (t = t.replace(new RegExp(`\\${c}(\\W|$)`, "g"), (h, u) => `${l}${u}`).trim());
|
|
3595
|
+
}), t.includes(ue) && (t.endsWith(ue) && (t = t.slice(0, -ue.length).trim()), t.startsWith(ue) && (t = t.slice(ue.length).trim()), t = t.replace(new RegExp(`\\${ue}\\s*\\${ue}`, "g"), ue), t = Ze(t, { separator: o }, o)), t;
|
|
3593
3596
|
}
|
|
3594
|
-
async function
|
|
3597
|
+
async function ra(t) {
|
|
3595
3598
|
const e = {
|
|
3596
3599
|
tag: t.tagName.toLowerCase(),
|
|
3597
3600
|
props: await $o(
|
|
3598
|
-
t.getAttributeNames().reduce((o,
|
|
3601
|
+
t.getAttributeNames().reduce((o, n) => ({ ...o, [n]: t.getAttribute(n) }), {})
|
|
3599
3602
|
),
|
|
3600
3603
|
innerHTML: t.innerHTML
|
|
3601
3604
|
};
|
|
3602
3605
|
return e._d = So(e), e;
|
|
3603
3606
|
}
|
|
3604
|
-
async function
|
|
3607
|
+
async function aa(t, e = {}) {
|
|
3605
3608
|
const o = e.document || t.resolvedOptions.document;
|
|
3606
3609
|
if (!o)
|
|
3607
3610
|
return;
|
|
3608
|
-
const
|
|
3609
|
-
if (await t.hooks.callHook("dom:beforeRender",
|
|
3611
|
+
const n = { shouldRender: t.dirty, tags: [] };
|
|
3612
|
+
if (await t.hooks.callHook("dom:beforeRender", n), !n.shouldRender)
|
|
3610
3613
|
return;
|
|
3611
3614
|
const r = (await t.resolveTags()).map((v) => ({
|
|
3612
3615
|
tag: v,
|
|
@@ -3621,11 +3624,11 @@ async function sa(t, e = {}) {
|
|
|
3621
3624
|
for (const v of ["body", "head"]) {
|
|
3622
3625
|
const m = o?.[v]?.children;
|
|
3623
3626
|
for (const _ of [...m].filter((s) => Je.includes(s.tagName.toLowerCase())))
|
|
3624
|
-
a.elMap[_.getAttribute("data-hid") || Zt(await
|
|
3627
|
+
a.elMap[_.getAttribute("data-hid") || Zt(await ra(_))] = _;
|
|
3625
3628
|
}
|
|
3626
3629
|
}
|
|
3627
3630
|
a.pendingSideEffects = { ...a.sideEffects || {} }, a.sideEffects = {};
|
|
3628
|
-
function
|
|
3631
|
+
function c(v, m, _) {
|
|
3629
3632
|
const s = `${v}:${m}`;
|
|
3630
3633
|
a.sideEffects[s] = _, delete a.pendingSideEffects[s];
|
|
3631
3634
|
}
|
|
@@ -3633,15 +3636,15 @@ async function sa(t, e = {}) {
|
|
|
3633
3636
|
const s = _.tag.endsWith("Attrs");
|
|
3634
3637
|
a.elMap[v] = m, s || (["textContent", "innerHTML"].forEach((g) => {
|
|
3635
3638
|
_[g] && _[g] !== m[g] && (m[g] = _[g]);
|
|
3636
|
-
}),
|
|
3639
|
+
}), c(v, "el", () => {
|
|
3637
3640
|
a.elMap[v].remove(), delete a.elMap[v];
|
|
3638
3641
|
})), Object.entries(_.props).forEach(([g, k]) => {
|
|
3639
|
-
const
|
|
3642
|
+
const f = `attr:${g}`;
|
|
3640
3643
|
if (g === "class")
|
|
3641
|
-
for (const
|
|
3642
|
-
s &&
|
|
3644
|
+
for (const i of (k || "").split(" ").filter(Boolean))
|
|
3645
|
+
s && c(v, `${f}:${i}`, () => m.classList.remove(i)), !m.classList.contains(i) && m.classList.add(i);
|
|
3643
3646
|
else
|
|
3644
|
-
m.getAttribute(g) !== k && m.setAttribute(g, k === !0 ? "" : String(k)), s &&
|
|
3647
|
+
m.getAttribute(g) !== k && m.setAttribute(g, k === !0 ? "" : String(k)), s && c(v, f, () => m.removeAttribute(g));
|
|
3645
3648
|
});
|
|
3646
3649
|
}
|
|
3647
3650
|
const h = [], u = {
|
|
@@ -3664,74 +3667,74 @@ async function sa(t, e = {}) {
|
|
|
3664
3667
|
v.$el = o.createElement(v.tag.tag), l(v), u[m] = u[m] || o.createDocumentFragment(), u[m].appendChild(v.$el);
|
|
3665
3668
|
}
|
|
3666
3669
|
for (const v of r)
|
|
3667
|
-
await t.hooks.callHook("dom:renderTag", v, o,
|
|
3670
|
+
await t.hooks.callHook("dom:renderTag", v, o, c);
|
|
3668
3671
|
u.head && o.head.appendChild(u.head), u.bodyOpen && o.body.insertBefore(u.bodyOpen, o.body.firstChild), u.bodyClose && o.body.appendChild(u.bodyClose), Object.values(a.pendingSideEffects).forEach((v) => v()), t._dom = a, t.dirty = !1, await t.hooks.callHook("dom:rendered", { renders: r });
|
|
3669
3672
|
}
|
|
3670
|
-
async function
|
|
3671
|
-
const o = e.delayFn || ((
|
|
3672
|
-
return t._domUpdatePromise = t._domUpdatePromise || new Promise((
|
|
3673
|
-
await
|
|
3673
|
+
async function sa(t, e = {}) {
|
|
3674
|
+
const o = e.delayFn || ((n) => setTimeout(n, 10));
|
|
3675
|
+
return t._domUpdatePromise = t._domUpdatePromise || new Promise((n) => o(async () => {
|
|
3676
|
+
await aa(t, e), delete t._domUpdatePromise, n();
|
|
3674
3677
|
}));
|
|
3675
3678
|
}
|
|
3676
3679
|
// @__NO_SIDE_EFFECTS__
|
|
3677
|
-
function
|
|
3680
|
+
function la(t) {
|
|
3678
3681
|
return (e) => {
|
|
3679
3682
|
const o = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
3680
3683
|
return o && e.push(JSON.parse(o)), {
|
|
3681
3684
|
mode: "client",
|
|
3682
3685
|
hooks: {
|
|
3683
|
-
"entries:updated": function(
|
|
3684
|
-
|
|
3686
|
+
"entries:updated": function(n) {
|
|
3687
|
+
sa(n, t);
|
|
3685
3688
|
}
|
|
3686
3689
|
}
|
|
3687
3690
|
};
|
|
3688
3691
|
};
|
|
3689
3692
|
}
|
|
3690
|
-
const
|
|
3693
|
+
const ua = ["templateParams", "htmlAttrs", "bodyAttrs"], da = {
|
|
3691
3694
|
hooks: {
|
|
3692
3695
|
"tag:normalise": function({ tag: t }) {
|
|
3693
|
-
["hid", "vmid", "key"].forEach((
|
|
3694
|
-
t.props[
|
|
3696
|
+
["hid", "vmid", "key"].forEach((n) => {
|
|
3697
|
+
t.props[n] && (t.key = t.props[n], delete t.props[n]);
|
|
3695
3698
|
});
|
|
3696
3699
|
const o = So(t) || (t.key ? `${t.tag}:${t.key}` : !1);
|
|
3697
3700
|
o && (t._d = o);
|
|
3698
3701
|
},
|
|
3699
3702
|
"tags:resolve": function(t) {
|
|
3700
3703
|
const e = {};
|
|
3701
|
-
t.tags.forEach((
|
|
3702
|
-
const r = (
|
|
3704
|
+
t.tags.forEach((n) => {
|
|
3705
|
+
const r = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, a = e[r];
|
|
3703
3706
|
if (a) {
|
|
3704
|
-
let l =
|
|
3705
|
-
if (!l &&
|
|
3707
|
+
let l = n?.tagDuplicateStrategy;
|
|
3708
|
+
if (!l && ua.includes(n.tag) && (l = "merge"), l === "merge") {
|
|
3706
3709
|
const h = a.props;
|
|
3707
3710
|
["class", "style"].forEach((u) => {
|
|
3708
|
-
|
|
3711
|
+
n.props[u] && h[u] && (u === "style" && !h[u].endsWith(";") && (h[u] += ";"), n.props[u] = `${h[u]} ${n.props[u]}`);
|
|
3709
3712
|
}), e[r].props = {
|
|
3710
3713
|
...h,
|
|
3711
|
-
...
|
|
3714
|
+
...n.props
|
|
3712
3715
|
};
|
|
3713
3716
|
return;
|
|
3714
|
-
} else if (
|
|
3715
|
-
a._duped = a._duped || [],
|
|
3717
|
+
} else if (n._e === a._e) {
|
|
3718
|
+
a._duped = a._duped || [], n._d = `${a._d}:${a._duped.length + 1}`, a._duped.push(n);
|
|
3716
3719
|
return;
|
|
3717
|
-
} else if (
|
|
3720
|
+
} else if (nt(n) > nt(a))
|
|
3718
3721
|
return;
|
|
3719
3722
|
}
|
|
3720
|
-
const
|
|
3721
|
-
if (Je.includes(
|
|
3723
|
+
const c = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
|
|
3724
|
+
if (Je.includes(n.tag) && c === 0) {
|
|
3722
3725
|
delete e[r];
|
|
3723
3726
|
return;
|
|
3724
3727
|
}
|
|
3725
|
-
e[r] =
|
|
3728
|
+
e[r] = n;
|
|
3726
3729
|
});
|
|
3727
3730
|
const o = [];
|
|
3728
|
-
Object.values(e).forEach((
|
|
3729
|
-
const r =
|
|
3730
|
-
delete
|
|
3731
|
-
}), t.tags = o, t.tags = t.tags.filter((
|
|
3731
|
+
Object.values(e).forEach((n) => {
|
|
3732
|
+
const r = n._duped;
|
|
3733
|
+
delete n._duped, o.push(n), r && o.push(...r);
|
|
3734
|
+
}), t.tags = o, t.tags = t.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
|
|
3732
3735
|
}
|
|
3733
3736
|
}
|
|
3734
|
-
},
|
|
3737
|
+
}, ca = {
|
|
3735
3738
|
mode: "server",
|
|
3736
3739
|
hooks: {
|
|
3737
3740
|
"tags:resolve": function(t) {
|
|
@@ -3745,96 +3748,96 @@ const da = ["templateParams", "htmlAttrs", "bodyAttrs"], ca = {
|
|
|
3745
3748
|
});
|
|
3746
3749
|
}
|
|
3747
3750
|
}
|
|
3748
|
-
},
|
|
3749
|
-
function
|
|
3751
|
+
}, fa = ["script", "link", "bodyAttrs"];
|
|
3752
|
+
function pa(t) {
|
|
3750
3753
|
const e = {}, o = {};
|
|
3751
|
-
return Object.entries(t.props).forEach(([
|
|
3752
|
-
|
|
3754
|
+
return Object.entries(t.props).forEach(([n, r]) => {
|
|
3755
|
+
n.startsWith("on") && typeof r == "function" ? (wo.includes(n) && (e[n] = `this.dataset.${n} = true`), o[n] = r) : e[n] = r;
|
|
3753
3756
|
}), { props: e, eventHandlers: o };
|
|
3754
3757
|
}
|
|
3755
|
-
const
|
|
3758
|
+
const ha = (t) => ({
|
|
3756
3759
|
hooks: {
|
|
3757
3760
|
"tags:resolve": function(e) {
|
|
3758
3761
|
for (const o of e.tags)
|
|
3759
|
-
if (
|
|
3760
|
-
const { props:
|
|
3761
|
-
o.props =
|
|
3762
|
+
if (fa.includes(o.tag)) {
|
|
3763
|
+
const { props: n, eventHandlers: r } = pa(o);
|
|
3764
|
+
o.props = n, Object.keys(r).length && ((o.props.src || o.props.href) && (o.key = o.key || Ot(o.props.src || o.props.href)), o._eventHandlers = r);
|
|
3762
3765
|
}
|
|
3763
3766
|
},
|
|
3764
|
-
"dom:renderTag": function(e, o,
|
|
3767
|
+
"dom:renderTag": function(e, o, n) {
|
|
3765
3768
|
if (!e.tag._eventHandlers)
|
|
3766
3769
|
return;
|
|
3767
3770
|
const r = e.tag.tag === "bodyAttrs" ? o.defaultView : e.$el;
|
|
3768
|
-
Object.entries(e.tag._eventHandlers).forEach(([a,
|
|
3771
|
+
Object.entries(e.tag._eventHandlers).forEach(([a, c]) => {
|
|
3769
3772
|
const l = `${e.tag._d || e.tag._p}:${a}`, h = a.slice(2).toLowerCase(), u = `data-h-${h}`;
|
|
3770
|
-
if (
|
|
3773
|
+
if (n(e.id, l, () => {
|
|
3771
3774
|
}), e.$el.hasAttribute(u))
|
|
3772
3775
|
return;
|
|
3773
3776
|
e.$el.setAttribute(u, "");
|
|
3774
3777
|
let v;
|
|
3775
3778
|
const m = (_) => {
|
|
3776
|
-
|
|
3779
|
+
c(_), v?.disconnect();
|
|
3777
3780
|
};
|
|
3778
3781
|
a in e.$el.dataset ? m(new Event(a.replace("on", ""))) : wo.includes(a) && typeof MutationObserver < "u" ? (v = new MutationObserver((_) => {
|
|
3779
3782
|
_.some((g) => g.attributeName === `data-${a}`) && (m(new Event(a.replace("on", ""))), v?.disconnect());
|
|
3780
3783
|
}), v.observe(e.$el, {
|
|
3781
3784
|
attributes: !0
|
|
3782
|
-
})) : r.addEventListener(h, m),
|
|
3785
|
+
})) : r.addEventListener(h, m), n(e.id, l, () => {
|
|
3783
3786
|
v?.disconnect(), r.removeEventListener(h, m), e.$el.removeAttribute(u);
|
|
3784
3787
|
});
|
|
3785
3788
|
});
|
|
3786
3789
|
}
|
|
3787
3790
|
}
|
|
3788
|
-
}),
|
|
3791
|
+
}), ma = ["link", "style", "script", "noscript"], va = {
|
|
3789
3792
|
hooks: {
|
|
3790
3793
|
"tag:normalise": ({ tag: t }) => {
|
|
3791
|
-
t.key &&
|
|
3794
|
+
t.key && ma.includes(t.tag) && (t.props["data-hid"] = t._h = Ot(t.key));
|
|
3792
3795
|
}
|
|
3793
3796
|
}
|
|
3794
|
-
},
|
|
3797
|
+
}, ya = {
|
|
3795
3798
|
hooks: {
|
|
3796
3799
|
"tags:resolve": (t) => {
|
|
3797
|
-
const e = (o) => t.tags.find((
|
|
3798
|
-
for (const { prefix: o, offset:
|
|
3800
|
+
const e = (o) => t.tags.find((n) => n._d === o)?._p;
|
|
3801
|
+
for (const { prefix: o, offset: n } of ia)
|
|
3799
3802
|
for (const r of t.tags.filter((a) => typeof a.tagPriority == "string" && a.tagPriority.startsWith(o))) {
|
|
3800
3803
|
const a = e(
|
|
3801
3804
|
r.tagPriority.replace(o, "")
|
|
3802
3805
|
);
|
|
3803
|
-
typeof a < "u" && (r._p = a +
|
|
3806
|
+
typeof a < "u" && (r._p = a + n);
|
|
3804
3807
|
}
|
|
3805
|
-
t.tags.sort((o,
|
|
3808
|
+
t.tags.sort((o, n) => o._p - n._p).sort((o, n) => nt(o) - nt(n));
|
|
3806
3809
|
}
|
|
3807
3810
|
}
|
|
3808
|
-
},
|
|
3811
|
+
}, ga = {
|
|
3809
3812
|
meta: "content",
|
|
3810
3813
|
link: "href",
|
|
3811
3814
|
htmlAttrs: "lang"
|
|
3812
|
-
},
|
|
3815
|
+
}, ba = (t) => ({
|
|
3813
3816
|
hooks: {
|
|
3814
3817
|
"tags:resolve": (e) => {
|
|
3815
|
-
const { tags: o } = e,
|
|
3816
|
-
delete a.separator, a.pageTitle = Ze(a.pageTitle ||
|
|
3818
|
+
const { tags: o } = e, n = o.find((l) => l.tag === "title")?.textContent, r = o.findIndex((l) => l.tag === "templateParams"), a = r !== -1 ? o[r].props : {}, c = a.separator || "|";
|
|
3819
|
+
delete a.separator, a.pageTitle = Ze(a.pageTitle || n || "", a, c);
|
|
3817
3820
|
for (const l of o.filter((h) => h.processTemplateParams !== !1)) {
|
|
3818
|
-
const h =
|
|
3819
|
-
h && typeof l.props[h] == "string" ? l.props[h] = Ze(l.props[h], a,
|
|
3820
|
-
typeof l[u] == "string" && (l[u] = Ze(l[u], a,
|
|
3821
|
+
const h = ga[l.tag];
|
|
3822
|
+
h && typeof l.props[h] == "string" ? l.props[h] = Ze(l.props[h], a, c) : (l.processTemplateParams === !0 || ["titleTemplate", "title"].includes(l.tag)) && ["innerHTML", "textContent"].forEach((u) => {
|
|
3823
|
+
typeof l[u] == "string" && (l[u] = Ze(l[u], a, c));
|
|
3821
3824
|
});
|
|
3822
3825
|
}
|
|
3823
|
-
t._templateParams = a, t._separator =
|
|
3826
|
+
t._templateParams = a, t._separator = c, e.tags = o.filter((l) => l.tag !== "templateParams");
|
|
3824
3827
|
}
|
|
3825
3828
|
}
|
|
3826
|
-
}),
|
|
3829
|
+
}), _a = {
|
|
3827
3830
|
hooks: {
|
|
3828
3831
|
"tags:resolve": (t) => {
|
|
3829
3832
|
const { tags: e } = t;
|
|
3830
3833
|
let o = e.findIndex((r) => r.tag === "titleTemplate");
|
|
3831
|
-
const
|
|
3832
|
-
if (
|
|
3834
|
+
const n = e.findIndex((r) => r.tag === "title");
|
|
3835
|
+
if (n !== -1 && o !== -1) {
|
|
3833
3836
|
const r = eo(
|
|
3834
3837
|
e[o].textContent,
|
|
3835
|
-
e[
|
|
3838
|
+
e[n].textContent
|
|
3836
3839
|
);
|
|
3837
|
-
r !== null ? e[
|
|
3840
|
+
r !== null ? e[n].textContent = r || e[n].textContent : delete e[n];
|
|
3838
3841
|
} else if (o !== -1) {
|
|
3839
3842
|
const r = eo(
|
|
3840
3843
|
e[o].textContent
|
|
@@ -3844,7 +3847,7 @@ const ma = (t) => ({
|
|
|
3844
3847
|
o !== -1 && delete e[o], t.tags = e.filter(Boolean);
|
|
3845
3848
|
}
|
|
3846
3849
|
}
|
|
3847
|
-
},
|
|
3850
|
+
}, ka = {
|
|
3848
3851
|
hooks: {
|
|
3849
3852
|
"tags:afterResolve": function(t) {
|
|
3850
3853
|
for (const e of t.tags)
|
|
@@ -3853,22 +3856,22 @@ const ma = (t) => ({
|
|
|
3853
3856
|
}
|
|
3854
3857
|
};
|
|
3855
3858
|
// @__NO_SIDE_EFFECTS__
|
|
3856
|
-
function
|
|
3857
|
-
const e =
|
|
3858
|
-
return e.use(/* @__PURE__ */
|
|
3859
|
+
function Ea(t = {}) {
|
|
3860
|
+
const e = Ta(t);
|
|
3861
|
+
return e.use(/* @__PURE__ */ la()), e;
|
|
3859
3862
|
}
|
|
3860
|
-
function
|
|
3863
|
+
function no(t, e) {
|
|
3861
3864
|
return !t || t === "server" && e || t === "client" && !e;
|
|
3862
3865
|
}
|
|
3863
|
-
function
|
|
3864
|
-
const e =
|
|
3865
|
-
e.addHooks(t.hooks || {}), t.document = t.document || (
|
|
3866
|
-
const o = !t.document,
|
|
3866
|
+
function Ta(t = {}) {
|
|
3867
|
+
const e = Yr();
|
|
3868
|
+
e.addHooks(t.hooks || {}), t.document = t.document || (Zr ? document : void 0);
|
|
3869
|
+
const o = !t.document, n = () => {
|
|
3867
3870
|
l.dirty = !0, e.callHook("entries:updated", l);
|
|
3868
3871
|
};
|
|
3869
3872
|
let r = 0, a = [];
|
|
3870
|
-
const
|
|
3871
|
-
plugins:
|
|
3873
|
+
const c = [], l = {
|
|
3874
|
+
plugins: c,
|
|
3872
3875
|
dirty: !1,
|
|
3873
3876
|
resolvedOptions: t,
|
|
3874
3877
|
hooks: e,
|
|
@@ -3877,7 +3880,7 @@ function Ca(t = {}) {
|
|
|
3877
3880
|
},
|
|
3878
3881
|
use(h) {
|
|
3879
3882
|
const u = typeof h == "function" ? h(l) : h;
|
|
3880
|
-
(!u.key || !
|
|
3883
|
+
(!u.key || !c.some((v) => v.key === u.key)) && (c.push(u), no(u.mode, o) && e.addHooks(u.hooks || {}));
|
|
3881
3884
|
},
|
|
3882
3885
|
push(h, u) {
|
|
3883
3886
|
delete u?.head;
|
|
@@ -3886,13 +3889,13 @@ function Ca(t = {}) {
|
|
|
3886
3889
|
input: h,
|
|
3887
3890
|
...u
|
|
3888
3891
|
};
|
|
3889
|
-
return
|
|
3892
|
+
return no(v.mode, o) && (a.push(v), n()), {
|
|
3890
3893
|
dispose() {
|
|
3891
|
-
a = a.filter((m) => m._i !== v._i), e.callHook("entries:updated", l),
|
|
3894
|
+
a = a.filter((m) => m._i !== v._i), e.callHook("entries:updated", l), n();
|
|
3892
3895
|
},
|
|
3893
3896
|
// a patch is the same as creating a new entry, just a nice DX
|
|
3894
3897
|
patch(m) {
|
|
3895
|
-
a = a.map((_) => (_._i === v._i && (_.input = v.input = m), _)),
|
|
3898
|
+
a = a.map((_) => (_._i === v._i && (_.input = v.input = m), _)), n();
|
|
3896
3899
|
}
|
|
3897
3900
|
};
|
|
3898
3901
|
},
|
|
@@ -3912,56 +3915,55 @@ function Ca(t = {}) {
|
|
|
3912
3915
|
ssr: o
|
|
3913
3916
|
};
|
|
3914
3917
|
return [
|
|
3918
|
+
da,
|
|
3915
3919
|
ca,
|
|
3916
|
-
|
|
3917
|
-
|
|
3920
|
+
ha,
|
|
3921
|
+
va,
|
|
3918
3922
|
ya,
|
|
3919
|
-
|
|
3923
|
+
ba,
|
|
3920
3924
|
_a,
|
|
3921
3925
|
ka,
|
|
3922
|
-
Ea,
|
|
3923
3926
|
...t?.plugins || []
|
|
3924
3927
|
].forEach((h) => l.use(h)), l.hooks.callHook("init", l), l;
|
|
3925
3928
|
}
|
|
3926
|
-
const
|
|
3927
|
-
function
|
|
3928
|
-
return typeof t == "function" ? t() :
|
|
3929
|
+
const Ca = on.startsWith("3");
|
|
3930
|
+
function Sa(t) {
|
|
3931
|
+
return typeof t == "function" ? t() : d(t);
|
|
3929
3932
|
}
|
|
3930
3933
|
function $t(t, e = "") {
|
|
3931
3934
|
if (t instanceof Promise)
|
|
3932
3935
|
return t;
|
|
3933
|
-
const o =
|
|
3934
|
-
return !t || !o ? o : Array.isArray(o) ? o.map((
|
|
3935
|
-
Object.entries(o).map(([
|
|
3936
|
+
const o = Sa(t);
|
|
3937
|
+
return !t || !o ? o : Array.isArray(o) ? o.map((n) => $t(n, e)) : typeof o == "object" ? Object.fromEntries(
|
|
3938
|
+
Object.entries(o).map(([n, r]) => n === "titleTemplate" || n.startsWith("on") ? [n, d(r)] : [n, $t(r, n)])
|
|
3936
3939
|
) : o;
|
|
3937
3940
|
}
|
|
3938
|
-
const
|
|
3941
|
+
const $a = {
|
|
3939
3942
|
hooks: {
|
|
3940
3943
|
"entries:resolve": function(t) {
|
|
3941
3944
|
for (const e of t.entries)
|
|
3942
3945
|
e.resolvedInput = $t(e.input);
|
|
3943
3946
|
}
|
|
3944
3947
|
}
|
|
3945
|
-
},
|
|
3946
|
-
function
|
|
3948
|
+
}, wa = "usehead";
|
|
3949
|
+
function Ia(t) {
|
|
3947
3950
|
return {
|
|
3948
3951
|
install(o) {
|
|
3949
|
-
|
|
3952
|
+
Ca && (o.config.globalProperties.$unhead = t, o.config.globalProperties.$head = t, o.provide(wa, t));
|
|
3950
3953
|
}
|
|
3951
3954
|
}.install;
|
|
3952
3955
|
}
|
|
3953
|
-
function
|
|
3956
|
+
function La(t = {}) {
|
|
3954
3957
|
t.domDelayFn = t.domDelayFn || ((o) => wt(() => setTimeout(() => o(), 0)));
|
|
3955
|
-
const e = /* @__PURE__ */
|
|
3956
|
-
return e.use(
|
|
3958
|
+
const e = /* @__PURE__ */ Ea(t);
|
|
3959
|
+
return e.use($a), e.install = Ia(e), e;
|
|
3957
3960
|
}
|
|
3958
|
-
const
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
le.mount("#konnectio-hotel-app");
|
|
3961
|
+
const Aa = nn(), Ha = La(), Pa = rn(), me = an({ components: { Hotel: Hr } });
|
|
3962
|
+
me.use(Ha);
|
|
3963
|
+
me.use(Aa);
|
|
3964
|
+
me.use(Pa);
|
|
3965
|
+
me.use(Eo);
|
|
3966
|
+
me.use(sn);
|
|
3967
|
+
me.use(vn);
|
|
3968
|
+
me.use(ln, { bootstrap: !0 });
|
|
3969
|
+
me.mount("#konnectio-hotel-app");
|