@konnectio/core 4.0.56-rc14 → 4.0.56-rc16
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-NTrSbw7Q.js → ActionField-SGZXrFG1.js} +3 -3
- package/dist/ActionField-SGZXrFG1.js.br +0 -0
- package/dist/{AvailabilitySkeleton-bXR1a0GD.js → AvailabilitySkeleton-19huhDbT.js} +60 -59
- package/dist/AvailabilitySkeleton-19huhDbT.js.br +0 -0
- package/dist/{CheckoutWindow-bniC0iyZ.js → CheckoutWindow-o4wiWlxF.js} +24 -24
- package/dist/CheckoutWindow-o4wiWlxF.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-dZLUVdkb.js → DateField.vue_vue_type_style_index_0_lang-RdYEm2Lf.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-RdYEm2Lf.js.br +0 -0
- package/dist/{Field-Q6QI-y1R.js → Field-G2DlJtS7.js} +8 -9
- package/dist/Field-G2DlJtS7.js.br +0 -0
- package/dist/{ThankYou-Y7NZr5tX.js → ThankYou-HbdcEofD.js} +2696 -2290
- package/dist/ThankYou-HbdcEofD.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-HS4IMhJo.js → _-dt4Hj4aJ.js} +1783 -1745
- package/dist/_-dt4Hj4aJ.js.br +0 -0
- package/dist/availability.js +44 -47
- package/dist/availability.js.br +0 -0
- package/dist/{event-szASyn8u.js → event-XF6pKTqj.js} +43 -43
- package/dist/event-XF6pKTqj.js.br +0 -0
- package/dist/event.js +62 -63
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +81 -54
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +208 -207
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +273 -275
- package/dist/hotel.js.br +0 -0
- 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 +11 -11
- package/dist/ActionField-NTrSbw7Q.js.br +0 -0
- package/dist/AvailabilitySkeleton-bXR1a0GD.js.br +0 -0
- package/dist/CheckoutWindow-bniC0iyZ.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-dZLUVdkb.js.br +0 -0
- package/dist/Field-Q6QI-y1R.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-HS4IMhJo.js.br +0 -0
- package/dist/ThankYou-Y7NZr5tX.js.br +0 -0
- package/dist/_-MoXhK74q.js +0 -19
- package/dist/event-szASyn8u.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { k as j, B as ne, am as so, s as K, c as he,
|
|
2
|
-
import { R as Eo, B as Ge, a as To, S as Co, M as Io, T as $o,
|
|
3
|
-
import { A as Vo, H as Lo } from "./AvailabilitySkeleton-
|
|
4
|
-
import { _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { C as Ne, P as xo, a as wo } from "./CheckoutWindow-
|
|
6
|
-
import { E as Y } from "./_-MoXhK74q.js";
|
|
1
|
+
import { k as j, B as ne, am as so, s as K, c as he, D as ft, F as ie, o as E, m as R, M as ao, p as a, w, ac as Le, n as y, P as V, a2 as te, R as Xe, an as lo, x as I, Y as z, K as B, y as x, $ as We, ao as ue, t as C, N as Q, W as oe, f as q, _ as Ee, a5 as mt, a6 as gt, v as J, r as ce, ap as vt, H as Ue, G as be, q as yt, C as le, aq as uo, X as co, A as ke, I as bt, l as Ze, T as ee, z as Y, ar as po, a4 as ho, ab as fo, a0 as mo, L as et, J as N, a3 as go, as as kt, at as vo, a7 as yo, a8 as bo, a9 as ko, aa as _o } from "./_-dt4Hj4aJ.js";
|
|
2
|
+
import { R as Eo, B as Ge, a as To, S as Co, M as Io, T as $o, G as So } from "./ThankYou-HbdcEofD.js";
|
|
3
|
+
import { A as Vo, H as Lo } from "./AvailabilitySkeleton-19huhDbT.js";
|
|
4
|
+
import { _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-RdYEm2Lf.js";
|
|
5
|
+
import { C as Ne, P as xo, a as wo } from "./CheckoutWindow-o4wiWlxF.js";
|
|
7
6
|
import { c as _t, g as Et } from "./_commonjsHelpers-2ufMB8rV.js";
|
|
8
|
-
import "./ActionField-
|
|
9
|
-
import "./Field-
|
|
7
|
+
import "./ActionField-SGZXrFG1.js";
|
|
8
|
+
import "./Field-G2DlJtS7.js";
|
|
10
9
|
const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
11
10
|
__name: "HotelReservationForm",
|
|
12
11
|
props: {
|
|
@@ -20,7 +19,7 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
|
20
19
|
disableDepartureUserSelection: s,
|
|
21
20
|
arrivalDefault: h,
|
|
22
21
|
departureDefault: c,
|
|
23
|
-
currency:
|
|
22
|
+
currency: l
|
|
24
23
|
} = K(he()), {
|
|
25
24
|
arrivalDate: u,
|
|
26
25
|
departureDate: f
|
|
@@ -39,37 +38,37 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
|
39
38
|
return L.reduce((H, { totalPrice: D }) => H + D, 0);
|
|
40
39
|
}
|
|
41
40
|
return (L, A) => (E(), R(Eo, {
|
|
42
|
-
"total-price":
|
|
41
|
+
"total-price": a(k),
|
|
43
42
|
"show-gift-card": L.showGiftCard,
|
|
44
43
|
"show-terms-notice": L.showTermsNotice,
|
|
45
|
-
"is-sidebar-loading":
|
|
46
|
-
notice:
|
|
44
|
+
"is-sidebar-loading": a(m),
|
|
45
|
+
notice: a(e)("hotel.reservationNotice")
|
|
47
46
|
}, ao({
|
|
48
47
|
form: w(() => [
|
|
49
48
|
Le(L.$slots, "form")
|
|
50
49
|
]),
|
|
51
50
|
"reservation-summary": w(() => [
|
|
52
51
|
y("li", null, [
|
|
53
|
-
y("span", null, V(
|
|
54
|
-
y("b", null, V(
|
|
52
|
+
y("span", null, V(a(e)("booking.reservation.arrival")), 1),
|
|
53
|
+
y("b", null, V(a(n) ? a(te)(a(u)) : `${a(te)(a(u))}, ${a(p) ? a(h) : a(g)}`), 1)
|
|
55
54
|
]),
|
|
56
55
|
y("li", null, [
|
|
57
|
-
y("span", null, V(
|
|
58
|
-
y("b", null, V(
|
|
56
|
+
y("span", null, V(a(e)("booking.reservation.departure")), 1),
|
|
57
|
+
y("b", null, V(a(n) ? a(te)(a(f)) : `${a(te)(a(f))}, ${a(s) ? a(c) : a(_)}`), 1)
|
|
59
58
|
]),
|
|
60
59
|
y("li", null, [
|
|
61
|
-
y("span", null, V(
|
|
62
|
-
y("b", null, V(
|
|
60
|
+
y("span", null, V(a(e)("booking.reservation.nights")), 1),
|
|
61
|
+
y("b", null, V(a(Xe)(a(u), a(f))) + " " + V(a(lo)(a(Xe)(a(u), a(f)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
|
|
63
62
|
]),
|
|
64
|
-
|
|
63
|
+
a(v) ? (E(!0), I(B, { key: 0 }, z(a(v), (H) => (E(), I("li", {
|
|
65
64
|
key: H.id
|
|
66
65
|
}, [
|
|
67
|
-
y("span", null, V(`${
|
|
66
|
+
y("span", null, V(`${a(e)("general.discountCode")} (${H.value})`), 1),
|
|
68
67
|
y("b", null, V(H.key), 1)
|
|
69
68
|
]))), 128)) : x("", !0)
|
|
70
69
|
]),
|
|
71
70
|
"price-summary": w(() => [
|
|
72
|
-
isNaN(
|
|
71
|
+
isNaN(a(b)) && a(d).length > 0 ? (E(!0), I(B, { key: 0 }, z(a(d), ({
|
|
73
72
|
roomGroupID: H,
|
|
74
73
|
title: D,
|
|
75
74
|
variants: W
|
|
@@ -82,7 +81,7 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
|
82
81
|
y("li", null, [
|
|
83
82
|
y("span", null, [
|
|
84
83
|
y("span", null, [
|
|
85
|
-
We(V(
|
|
84
|
+
We(V(a(ue)(X.name)) + " ( ", 1),
|
|
86
85
|
C(Q, {
|
|
87
86
|
icon: "male",
|
|
88
87
|
type: "fas",
|
|
@@ -101,29 +100,29 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
|
101
100
|
])
|
|
102
101
|
]),
|
|
103
102
|
y("b", null, [
|
|
104
|
-
y("span", null, V(
|
|
103
|
+
y("span", null, V(a(oe)(U.totalPrice, a(l))), 1),
|
|
105
104
|
x("", !0)
|
|
106
105
|
])
|
|
107
106
|
]),
|
|
108
107
|
$(U.roomAddons) > 0 ? (E(), I("li", Ao, [
|
|
109
|
-
y("span", null, V(
|
|
110
|
-
y("b", null, V(
|
|
108
|
+
y("span", null, V(a(e)("general.addons")), 1),
|
|
109
|
+
y("b", null, V(a(oe)($(U.roomAddons), a(l))), 1)
|
|
111
110
|
])) : x("", !0)
|
|
112
111
|
]))), 128))
|
|
113
112
|
]))), 128))
|
|
114
113
|
]))), 128)) : x("", !0),
|
|
115
|
-
|
|
114
|
+
a(i) && a(r) ? (E(), I("div", Oo, [
|
|
116
115
|
y("h6", null, [
|
|
117
|
-
y("span", null, V(
|
|
116
|
+
y("span", null, V(a(ue)(a(r).name)), 1)
|
|
118
117
|
]),
|
|
119
118
|
y("div", null, [
|
|
120
119
|
y("ul", null, [
|
|
121
120
|
y("li", null, [
|
|
122
121
|
y("span", null, [
|
|
123
|
-
y("span", null, V(
|
|
122
|
+
y("span", null, V(a(ue)(a(i).title)), 1)
|
|
124
123
|
]),
|
|
125
124
|
y("b", null, [
|
|
126
|
-
y("span", null, V(
|
|
125
|
+
y("span", null, V(a(oe)(a(i).extraPrice, a(l))), 1)
|
|
127
126
|
])
|
|
128
127
|
])
|
|
129
128
|
])
|
|
@@ -135,7 +134,7 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
|
135
134
|
]),
|
|
136
135
|
_: 2
|
|
137
136
|
}, [
|
|
138
|
-
|
|
137
|
+
a(t).addons ? {
|
|
139
138
|
name: "addons",
|
|
140
139
|
fn: w(() => [
|
|
141
140
|
Le(L.$slots, "addons")
|
|
@@ -156,24 +155,24 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
|
156
155
|
emits: ["update:modelValue"],
|
|
157
156
|
setup(o, { emit: e }) {
|
|
158
157
|
const { t } = ne(), { currency: n } = K(he()), p = e, s = o;
|
|
159
|
-
function h(
|
|
160
|
-
p("update:modelValue",
|
|
158
|
+
function h(l) {
|
|
159
|
+
p("update:modelValue", l);
|
|
161
160
|
}
|
|
162
161
|
const c = q({
|
|
163
162
|
get: () => s.modelValue,
|
|
164
|
-
set: (
|
|
163
|
+
set: (l) => h(l)
|
|
165
164
|
});
|
|
166
|
-
return (
|
|
165
|
+
return (l, u) => (E(), R(Ee, {
|
|
167
166
|
modelValue: c.value,
|
|
168
167
|
"onUpdate:modelValue": u[0] || (u[0] = (f) => c.value = f),
|
|
169
|
-
label:
|
|
168
|
+
label: l.label,
|
|
170
169
|
placeholder: "Select guest configuration",
|
|
171
170
|
labelKey: "label",
|
|
172
171
|
valueKey: "value",
|
|
173
172
|
"icon-placement": "label",
|
|
174
|
-
options:
|
|
175
|
-
readonly:
|
|
176
|
-
required:
|
|
173
|
+
options: l.options,
|
|
174
|
+
readonly: l.readonly,
|
|
175
|
+
required: l.required,
|
|
177
176
|
searchable: !1
|
|
178
177
|
}, {
|
|
179
178
|
option: w(({ data: f }) => [
|
|
@@ -194,7 +193,7 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
|
194
193
|
y("span", null, V(`${f.children}`), 1)
|
|
195
194
|
])) : x("", !0)
|
|
196
195
|
]),
|
|
197
|
-
y("span", null, V(`(${
|
|
196
|
+
y("span", null, V(`(${a(oe)(f.price, a(n))})`), 1)
|
|
198
197
|
])
|
|
199
198
|
]),
|
|
200
199
|
"selected-option": w(({ data: f }) => [
|
|
@@ -202,16 +201,16 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
|
202
201
|
y("div", Bo, [
|
|
203
202
|
y("div", null, [
|
|
204
203
|
x("", !0),
|
|
205
|
-
y("span", null, V(`${f.adults} ${f.adults === 1 ?
|
|
204
|
+
y("span", null, V(`${f.adults} ${f.adults === 1 ? a(t)("general.adult") : a(t)("general.adults")}`), 1)
|
|
206
205
|
]),
|
|
207
206
|
f.children > 0 ? (E(), I("div", zo, [
|
|
208
207
|
x("", !0),
|
|
209
|
-
y("span", null, V(`& ${f.children} ${f.children === 1 ?
|
|
208
|
+
y("span", null, V(`& ${f.children} ${f.children === 1 ? a(t)("general.child") : a(t)("general.children")}`), 1)
|
|
210
209
|
])) : x("", !0)
|
|
211
210
|
]),
|
|
212
211
|
y("div", Wo, [
|
|
213
212
|
No,
|
|
214
|
-
We(" " + V(`(${
|
|
213
|
+
We(" " + V(`(${a(oe)(f.price, a(n))})`), 1)
|
|
215
214
|
])
|
|
216
215
|
])
|
|
217
216
|
]),
|
|
@@ -237,7 +236,7 @@ const Ko = /* @__PURE__ */ j({
|
|
|
237
236
|
const s = q(() => t.room.rates.map((r) => ({
|
|
238
237
|
label: r.name,
|
|
239
238
|
value: r.id
|
|
240
|
-
}))), { hideAvailableRoomAmount: h } = K(he()), { roomSelect: c } = K(ie()), { addToCart:
|
|
239
|
+
}))), { hideAvailableRoomAmount: h } = K(he()), { roomSelect: c } = K(ie()), { addToCart: l, removeFromCart: u } = vt(), f = (r, v) => t.room.rates.find((T) => T.id === r)?.occupantRates.find((T) => T.index === v), g = q(() => t.room.rates.reduce(
|
|
241
240
|
(r, v) => r < v.rackRate ? r : v.rackRate,
|
|
242
241
|
1 / 0
|
|
243
242
|
)), _ = q(() => t.room.rates.every((r) => r.isBreakfastIncluded === !0)), d = (r, v) => f(r, v) ? f(r, v)?.rooms : null, b = (r) => t.room.rates.length > 0 ? t.room.rates.find((v) => v.id === r)?.occupantRates.map((v) => ({
|
|
@@ -272,7 +271,7 @@ const Ko = /* @__PURE__ */ j({
|
|
|
272
271
|
v.length > 0 && r.forEach((T, $) => {
|
|
273
272
|
T.config.forEach((L, A) => {
|
|
274
273
|
const H = L.units, D = v[$].config[A].units;
|
|
275
|
-
H !== D && (H > D ? (n.value[$].config[A].addons.push({}),
|
|
274
|
+
H !== D && (H > D ? (n.value[$].config[A].addons.push({}), l({
|
|
276
275
|
id: t.room.id,
|
|
277
276
|
name: t.room.title,
|
|
278
277
|
value: t.room.rates[$].rackRate
|
|
@@ -305,8 +304,8 @@ const Ko = /* @__PURE__ */ j({
|
|
|
305
304
|
key: 0,
|
|
306
305
|
modelValue: T.id,
|
|
307
306
|
"onUpdate:modelValue": (L) => T.id = L,
|
|
308
|
-
label:
|
|
309
|
-
placeholder:
|
|
307
|
+
label: a(e)("hotel.roomVariant"),
|
|
308
|
+
placeholder: a(e)("hotel.chooseARoomVariant"),
|
|
310
309
|
options: s.value,
|
|
311
310
|
searchable: !1
|
|
312
311
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : x("", !0),
|
|
@@ -328,8 +327,8 @@ const Ko = /* @__PURE__ */ j({
|
|
|
328
327
|
"onUpdate:modelValue": (W) => H.id = W,
|
|
329
328
|
icon: "male",
|
|
330
329
|
"icon-type": "fas",
|
|
331
|
-
label:
|
|
332
|
-
description: `${
|
|
330
|
+
label: a(e)("general.guests"),
|
|
331
|
+
description: `${a(e)("general.maximumGuests")}: ${A}`,
|
|
333
332
|
options: b(L),
|
|
334
333
|
readonly: !(b(L).length > 1)
|
|
335
334
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
@@ -338,11 +337,11 @@ const Ko = /* @__PURE__ */ j({
|
|
|
338
337
|
C(yt, {
|
|
339
338
|
modelValue: H.units,
|
|
340
339
|
"onUpdate:modelValue": (W) => H.units = W,
|
|
341
|
-
description:
|
|
340
|
+
description: a(h) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${d(T.id, H.id)}`,
|
|
342
341
|
icon: "house",
|
|
343
342
|
"icon-type": "fas",
|
|
344
343
|
"icon-placement": "label",
|
|
345
|
-
label:
|
|
344
|
+
label: a(e)("booking.availability.units"),
|
|
346
345
|
minValue: 0,
|
|
347
346
|
"max-value": d(L, H.id) || 1 / 0
|
|
348
347
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
@@ -367,17 +366,17 @@ const Ko = /* @__PURE__ */ j({
|
|
|
367
366
|
},
|
|
368
367
|
setup(o) {
|
|
369
368
|
const { t: e } = ne(), { templateID: t, roomGroupID: n } = K(ie()), { currency: p } = K(he()), { clearRoomSelection: s } = ie(), h = o;
|
|
370
|
-
function c(
|
|
371
|
-
t.value = h.templateId, n.value =
|
|
369
|
+
function c(l) {
|
|
370
|
+
t.value = h.templateId, n.value = l, s(), h.callback(2);
|
|
372
371
|
}
|
|
373
|
-
return (
|
|
374
|
-
title:
|
|
375
|
-
subtitle:
|
|
372
|
+
return (l, u) => (E(), R(To, {
|
|
373
|
+
title: l.title,
|
|
374
|
+
subtitle: a(e)("booking.availability.selectATemplateRoom")
|
|
376
375
|
}, {
|
|
377
376
|
default: w(() => [
|
|
378
377
|
y("div", Jo, [
|
|
379
378
|
y("div", Xo, [
|
|
380
|
-
(E(!0), I(B, null, z(
|
|
379
|
+
(E(!0), I(B, null, z(l.roomGroups, ({
|
|
381
380
|
id: f,
|
|
382
381
|
title: g,
|
|
383
382
|
description: _,
|
|
@@ -398,7 +397,7 @@ const Ko = /* @__PURE__ */ j({
|
|
|
398
397
|
y("div", null, [
|
|
399
398
|
C(le, {
|
|
400
399
|
onClickEvent: (m) => c(f),
|
|
401
|
-
label: `${
|
|
400
|
+
label: `${a(e)("booking.availability.selectThisRoom")} (${a(oe)(k, a(p))})`,
|
|
402
401
|
"full-width": ""
|
|
403
402
|
}, null, 8, ["onClickEvent", "label"])
|
|
404
403
|
])
|
|
@@ -424,7 +423,7 @@ const Ko = /* @__PURE__ */ j({
|
|
|
424
423
|
},
|
|
425
424
|
setup(o) {
|
|
426
425
|
const { t: e } = ne(), t = o, n = q(() => t.roomGroups.reduce(
|
|
427
|
-
(
|
|
426
|
+
(l, u) => l < u.extraPrice ? l : u.extraPrice,
|
|
428
427
|
1 / 0
|
|
429
428
|
)), p = q(() => [{
|
|
430
429
|
large: t.image.url,
|
|
@@ -435,30 +434,30 @@ const Ko = /* @__PURE__ */ j({
|
|
|
435
434
|
function h() {
|
|
436
435
|
s.value = !0;
|
|
437
436
|
}
|
|
438
|
-
function c(
|
|
439
|
-
t.callback(
|
|
437
|
+
function c(l) {
|
|
438
|
+
t.callback(l), s.value = !1;
|
|
440
439
|
}
|
|
441
|
-
return (
|
|
442
|
-
"listing-id":
|
|
443
|
-
name:
|
|
444
|
-
description:
|
|
440
|
+
return (l, u) => (E(), R(Ge, {
|
|
441
|
+
"listing-id": l.id,
|
|
442
|
+
name: l.name,
|
|
443
|
+
description: l.description,
|
|
445
444
|
gallery: p.value,
|
|
446
|
-
layout:
|
|
445
|
+
layout: a(co).Template,
|
|
447
446
|
"includes-breakfast": !1,
|
|
448
447
|
"hide-info-button": !1,
|
|
449
448
|
"prices-from": n.value
|
|
450
449
|
}, {
|
|
451
450
|
description: w(() => [
|
|
452
|
-
|
|
451
|
+
l.description ? (E(), I("p", {
|
|
453
452
|
key: 0,
|
|
454
|
-
innerHTML:
|
|
453
|
+
innerHTML: a(uo)(l.description)
|
|
455
454
|
}, null, 8, tn)) : x("", !0)
|
|
456
455
|
]),
|
|
457
456
|
action: w(() => [
|
|
458
457
|
y("div", null, [
|
|
459
458
|
C(le, {
|
|
460
459
|
onClickEvent: h,
|
|
461
|
-
label:
|
|
460
|
+
label: a(e)("booking.availability.selectPackage"),
|
|
462
461
|
"full-width": ""
|
|
463
462
|
}, null, 8, ["label"])
|
|
464
463
|
])
|
|
@@ -467,9 +466,9 @@ const Ko = /* @__PURE__ */ j({
|
|
|
467
466
|
C(en, {
|
|
468
467
|
modelValue: s.value,
|
|
469
468
|
"onUpdate:modelValue": u[0] || (u[0] = (f) => s.value = f),
|
|
470
|
-
title:
|
|
471
|
-
"template-id":
|
|
472
|
-
roomGroups:
|
|
469
|
+
title: l.name,
|
|
470
|
+
"template-id": l.id,
|
|
471
|
+
roomGroups: l.roomGroups,
|
|
473
472
|
callback: c
|
|
474
473
|
}, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
|
|
475
474
|
]),
|
|
@@ -510,7 +509,7 @@ const Ko = /* @__PURE__ */ j({
|
|
|
510
509
|
p(h);
|
|
511
510
|
}), (h, c) => (E(), R(Po, {
|
|
512
511
|
modelValue: s.value,
|
|
513
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
512
|
+
"onUpdate:modelValue": c[0] || (c[0] = (l) => s.value = l),
|
|
514
513
|
type: "time",
|
|
515
514
|
label: h.label,
|
|
516
515
|
id: h.id,
|
|
@@ -543,11 +542,11 @@ const Ko = /* @__PURE__ */ j({
|
|
|
543
542
|
get: () => p.modelValue,
|
|
544
543
|
set: (c) => s(c)
|
|
545
544
|
});
|
|
546
|
-
return (c,
|
|
545
|
+
return (c, l) => (E(), R(Ee, {
|
|
547
546
|
modelValue: h.value,
|
|
548
|
-
"onUpdate:modelValue":
|
|
547
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => h.value = u),
|
|
549
548
|
label: c.label,
|
|
550
|
-
placeholder:
|
|
549
|
+
placeholder: a(t)("booking.reservation.countryPlaceholder"),
|
|
551
550
|
labelKey: "name",
|
|
552
551
|
valueKey: "id",
|
|
553
552
|
options: c.options,
|
|
@@ -594,11 +593,11 @@ const Ko = /* @__PURE__ */ j({
|
|
|
594
593
|
}, {
|
|
595
594
|
default: w(() => [
|
|
596
595
|
y("ul", ln, [
|
|
597
|
-
(E(!0), I(B, null, z(h.checkboxes, ({ label:
|
|
596
|
+
(E(!0), I(B, null, z(h.checkboxes, ({ label: l, value: u }, f) => (E(), I("li", { key: f }, [
|
|
598
597
|
C(Ne, {
|
|
599
598
|
modelValue: s.value,
|
|
600
599
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => s.value = g),
|
|
601
|
-
label:
|
|
600
|
+
label: l,
|
|
602
601
|
name: h.name,
|
|
603
602
|
type: "radio",
|
|
604
603
|
val: u
|
|
@@ -638,12 +637,12 @@ const Ko = /* @__PURE__ */ j({
|
|
|
638
637
|
be(h, (u) => {
|
|
639
638
|
n("update:title", u);
|
|
640
639
|
});
|
|
641
|
-
const { t:
|
|
640
|
+
const { t: l } = ne();
|
|
642
641
|
return Ue(() => {
|
|
643
642
|
t.modelValue && (s.value = t.modelValue), t.title && (h.value = t.title);
|
|
644
643
|
}), (u, f) => (E(), R(bt, {
|
|
645
644
|
label: u.label,
|
|
646
|
-
id:
|
|
645
|
+
id: a(p),
|
|
647
646
|
required: u.required,
|
|
648
647
|
type: "fresh-booking-name-field",
|
|
649
648
|
readonly: u.readonly,
|
|
@@ -660,29 +659,29 @@ const Ko = /* @__PURE__ */ j({
|
|
|
660
659
|
key: 0,
|
|
661
660
|
modelValue: h.value,
|
|
662
661
|
"onUpdate:modelValue": f[0] || (f[0] = (g) => h.value = g),
|
|
663
|
-
id:
|
|
662
|
+
id: a(Ze)(),
|
|
664
663
|
icon: u.icon,
|
|
665
664
|
"icon-color": u.iconColor,
|
|
666
665
|
"icon-type": u.iconType,
|
|
667
666
|
options: [
|
|
668
667
|
{
|
|
669
|
-
label: l
|
|
668
|
+
label: a(l)("booking.reservation.noNameTitle"),
|
|
670
669
|
value: 1
|
|
671
670
|
},
|
|
672
671
|
{
|
|
673
|
-
label: l
|
|
672
|
+
label: a(l)("booking.reservation.nameTitleMr"),
|
|
674
673
|
value: 2
|
|
675
674
|
},
|
|
676
675
|
{
|
|
677
|
-
label: l
|
|
676
|
+
label: a(l)("booking.reservation.nameTitleMs"),
|
|
678
677
|
value: 3
|
|
679
678
|
},
|
|
680
679
|
{
|
|
681
|
-
label: l
|
|
680
|
+
label: a(l)("booking.reservation.nameTitleMrs"),
|
|
682
681
|
value: 4
|
|
683
682
|
},
|
|
684
683
|
{
|
|
685
|
-
label: l
|
|
684
|
+
label: a(l)("booking.reservation.nameTitleDr"),
|
|
686
685
|
value: 5
|
|
687
686
|
}
|
|
688
687
|
],
|
|
@@ -697,7 +696,7 @@ const Ko = /* @__PURE__ */ j({
|
|
|
697
696
|
type: "text",
|
|
698
697
|
name: "name",
|
|
699
698
|
autocomplete: "name",
|
|
700
|
-
id:
|
|
699
|
+
id: a(p),
|
|
701
700
|
icon: u.excludeTitle ? u.icon : void 0,
|
|
702
701
|
"icon-color": u.iconColor,
|
|
703
702
|
"icon-type": u.iconType,
|
|
@@ -829,7 +828,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
829
828
|
isPaymentLoading: s,
|
|
830
829
|
isReservationFormFilled: h,
|
|
831
830
|
travelingFor: c,
|
|
832
|
-
arrivalTime:
|
|
831
|
+
arrivalTime: l,
|
|
833
832
|
departureTime: u,
|
|
834
833
|
name: f,
|
|
835
834
|
nameTitle: g,
|
|
@@ -921,7 +920,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
921
920
|
Ot.value && Ft(), W.value ? O(2) : O();
|
|
922
921
|
}
|
|
923
922
|
function oo() {
|
|
924
|
-
|
|
923
|
+
l.value === "" && (l.value = Ht.value), u.value === "" && (u.value = Dt.value);
|
|
925
924
|
}
|
|
926
925
|
return Ue(() => {
|
|
927
926
|
qt(), oo();
|
|
@@ -937,7 +936,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
937
936
|
default: w(() => [
|
|
938
937
|
C(Io, {
|
|
939
938
|
layout: O.headerLayout,
|
|
940
|
-
onReset:
|
|
939
|
+
onReset: a(Ut)
|
|
941
940
|
}, {
|
|
942
941
|
availability: w(({ next: G }) => [
|
|
943
942
|
C(Pe, null, {
|
|
@@ -947,23 +946,23 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
947
946
|
C(Lo, { booking: !0 })
|
|
948
947
|
]),
|
|
949
948
|
x("", !0),
|
|
950
|
-
|
|
949
|
+
a(p) ? (E(), I("div", qn, [
|
|
951
950
|
C(de),
|
|
952
951
|
C(de),
|
|
953
952
|
C(de)
|
|
954
953
|
])) : (E(), I("div", Pn, [
|
|
955
|
-
|
|
956
|
-
|
|
954
|
+
a(D).roomGroups.length > 0 || a(D).templates.length > 0 ? (E(), I("div", xn, [
|
|
955
|
+
a(D).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div", wn, [
|
|
957
956
|
O.onlyShow !== "packages" ? (E(), I("h2", An, [
|
|
958
957
|
C(Q, {
|
|
959
958
|
icon: "box",
|
|
960
959
|
type: "fal",
|
|
961
960
|
color: "header"
|
|
962
961
|
}),
|
|
963
|
-
y("span", null, V(
|
|
962
|
+
y("span", null, V(a(e)("booking.availability.packagesTitle")), 1)
|
|
964
963
|
])) : x("", !0),
|
|
965
964
|
y("ul", On, [
|
|
966
|
-
(E(!0), I(B, null, z(
|
|
965
|
+
(E(!0), I(B, null, z(a(D).templates, ({
|
|
967
966
|
id: M,
|
|
968
967
|
name: S,
|
|
969
968
|
templateRoomGroups: se,
|
|
@@ -982,14 +981,14 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
982
981
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
|
|
983
982
|
])
|
|
984
983
|
])) : x("", !0),
|
|
985
|
-
|
|
986
|
-
|
|
984
|
+
a(D).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), I("div", Hn, [
|
|
985
|
+
a(D).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("h2", Dn, [
|
|
987
986
|
C(Q, {
|
|
988
987
|
icon: "house",
|
|
989
988
|
type: "fal",
|
|
990
989
|
color: "header"
|
|
991
990
|
}),
|
|
992
|
-
y("span", null, V(
|
|
991
|
+
y("span", null, V(a(e)("booking.availability.roomsTitle")), 1)
|
|
993
992
|
])) : x("", !0),
|
|
994
993
|
y("ul", Mn, [
|
|
995
994
|
(E(!0), I(B, null, z(Qt.value, (M, S) => (E(), R(Qo, {
|
|
@@ -998,11 +997,11 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
998
997
|
}, null, 8, ["room"]))), 128))
|
|
999
998
|
])
|
|
1000
999
|
])) : x("", !0),
|
|
1001
|
-
(
|
|
1002
|
-
y("span", null, V(
|
|
1000
|
+
(a(D).templates.length === 0 && O.onlyShow !== "rooms" || a(D).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), I("div", Rn, [
|
|
1001
|
+
y("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
|
|
1003
1002
|
])) : x("", !0)
|
|
1004
|
-
])) :
|
|
1005
|
-
y("span", null, V(
|
|
1003
|
+
])) : a(D).nextAvailableDates.length === 0 ? (E(), I("div", Bn, [
|
|
1004
|
+
y("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
|
|
1006
1005
|
])) : (E(), I("div", zn, [
|
|
1007
1006
|
y("h2", Wn, [
|
|
1008
1007
|
C(Q, {
|
|
@@ -1010,14 +1009,14 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1010
1009
|
type: "fal",
|
|
1011
1010
|
color: "header"
|
|
1012
1011
|
}),
|
|
1013
|
-
y("span", null, V(
|
|
1012
|
+
y("span", null, V(a(e)("booking.availability.nextAvailableDates")), 1)
|
|
1014
1013
|
]),
|
|
1015
1014
|
y("ul", Nn, [
|
|
1016
|
-
(E(!0), I(B, null, z(
|
|
1015
|
+
(E(!0), I(B, null, z(a(D).nextAvailableDates, (M, S) => (E(), I("li", { key: S }, [
|
|
1017
1016
|
y("h3", {
|
|
1018
|
-
title: `${
|
|
1017
|
+
title: `${a(te)(M.fromDate)} - ${a(te)(M.toDate)}`
|
|
1019
1018
|
}, [
|
|
1020
|
-
y("span", null, V(`${
|
|
1019
|
+
y("span", null, V(`${a(te)(M.fromDate)} - ${a(te)(M.toDate)}`), 1)
|
|
1021
1020
|
], 8, Fn),
|
|
1022
1021
|
y("ul", null, [
|
|
1023
1022
|
x("", !0),
|
|
@@ -1027,11 +1026,11 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1027
1026
|
type: "fal",
|
|
1028
1027
|
color: "header"
|
|
1029
1028
|
}),
|
|
1030
|
-
y("span", null, V(
|
|
1029
|
+
y("span", null, V(a(e)("booking.availability.pricesFrom")) + ": " + V(a(oe)(M.priceStartFrom, a(U))), 1)
|
|
1031
1030
|
])
|
|
1032
1031
|
]),
|
|
1033
1032
|
C(le, {
|
|
1034
|
-
label:
|
|
1033
|
+
label: a(e)("booking.availability.selectDates"),
|
|
1035
1034
|
"full-width": "",
|
|
1036
1035
|
onClickEvent: (se) => Zt(M.fromDate, M.toDate)
|
|
1037
1036
|
}, null, 8, ["label", "onClickEvent"])
|
|
@@ -1043,8 +1042,8 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1043
1042
|
]),
|
|
1044
1043
|
navigation: w(() => [
|
|
1045
1044
|
C(le, {
|
|
1046
|
-
label:
|
|
1047
|
-
disabled: !
|
|
1045
|
+
label: a(W) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
|
|
1046
|
+
disabled: !a(H),
|
|
1048
1047
|
"is-loading": !1,
|
|
1049
1048
|
"full-width": "",
|
|
1050
1049
|
onClickEvent: (M) => to(G)
|
|
@@ -1058,18 +1057,18 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1058
1057
|
form: w(() => [
|
|
1059
1058
|
y("form", Un, [
|
|
1060
1059
|
y("h2", null, [
|
|
1061
|
-
y("span", null, V(
|
|
1060
|
+
y("span", null, V(a(e)("booking.reservation.addons")), 1)
|
|
1062
1061
|
]),
|
|
1063
1062
|
y("div", null, [
|
|
1064
|
-
isNaN(
|
|
1065
|
-
(E(!0), I(B, null, z(
|
|
1063
|
+
isNaN(a(t)) ? (E(), I("div", Gn, [
|
|
1064
|
+
(E(!0), I(B, null, z(a(A), (S) => (E(), I("ul", {
|
|
1066
1065
|
key: S.roomGroupID
|
|
1067
1066
|
}, [
|
|
1068
1067
|
(E(!0), I(B, null, z(S.variants, (se, ae) => (E(), I("li", {
|
|
1069
1068
|
key: se.ratePlanID
|
|
1070
1069
|
}, [
|
|
1071
1070
|
y("h4", null, [
|
|
1072
|
-
y("span", null, V(
|
|
1071
|
+
y("span", null, V(a(ue)(S.title)), 1)
|
|
1073
1072
|
]),
|
|
1074
1073
|
(E(!0), I(B, null, z(se.rooms, (F, $e) => (E(), I("table", {
|
|
1075
1074
|
key: $e,
|
|
@@ -1078,7 +1077,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1078
1077
|
y("thead", null, [
|
|
1079
1078
|
y("tr", null, [
|
|
1080
1079
|
y("th", null, [
|
|
1081
|
-
y("span", null, V(
|
|
1080
|
+
y("span", null, V(a(ue)(se.name)), 1)
|
|
1082
1081
|
]),
|
|
1083
1082
|
x("", !0),
|
|
1084
1083
|
y("th", jn, [
|
|
@@ -1109,22 +1108,22 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1109
1108
|
price: ro
|
|
1110
1109
|
}) => (E(), I("tr", { key: pe }, [
|
|
1111
1110
|
y("td", null, [
|
|
1112
|
-
y("b", null, V(
|
|
1111
|
+
y("b", null, V(a(ue)(io)), 1),
|
|
1113
1112
|
Kn,
|
|
1114
|
-
y("span", null, V(
|
|
1113
|
+
y("span", null, V(a(oe)(ro, a(U))) + " " + V(a(mo)(Se)), 1)
|
|
1115
1114
|
]),
|
|
1116
1115
|
y("td", null, [
|
|
1117
1116
|
Se === 1 || Se === 12 ? (E(), R(yt, {
|
|
1118
1117
|
key: 0,
|
|
1119
|
-
modelValue:
|
|
1120
|
-
"onUpdate:modelValue": (Ve) =>
|
|
1118
|
+
modelValue: a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe],
|
|
1119
|
+
"onUpdate:modelValue": (Ve) => a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe] = Ve,
|
|
1121
1120
|
small: !0,
|
|
1122
1121
|
"min-value": 0,
|
|
1123
1122
|
"max-value": no || 1 / 0
|
|
1124
1123
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), R(Ne, {
|
|
1125
1124
|
key: 1,
|
|
1126
|
-
modelValue:
|
|
1127
|
-
"onUpdate:modelValue": (Ve) =>
|
|
1125
|
+
modelValue: a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe],
|
|
1126
|
+
"onUpdate:modelValue": (Ve) => a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe] = Ve,
|
|
1128
1127
|
numeric: !0
|
|
1129
1128
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1130
1129
|
])
|
|
@@ -1139,7 +1138,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1139
1138
|
]),
|
|
1140
1139
|
navigation: w(() => [
|
|
1141
1140
|
C(le, {
|
|
1142
|
-
label:
|
|
1141
|
+
label: a(e)("general.startReservation"),
|
|
1143
1142
|
"full-width": "",
|
|
1144
1143
|
onClickEvent: G
|
|
1145
1144
|
}, null, 8, ["label", "onClickEvent"]),
|
|
@@ -1147,7 +1146,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1147
1146
|
class: "konnectio-abort-reservation link",
|
|
1148
1147
|
onClick: et((S) => Je(M), ["prevent"])
|
|
1149
1148
|
}, [
|
|
1150
|
-
y("span", null, V(
|
|
1149
|
+
y("span", null, V(a(e)("general.goAStepBack")), 1)
|
|
1151
1150
|
], 8, Qn)
|
|
1152
1151
|
]),
|
|
1153
1152
|
_: 2
|
|
@@ -1161,27 +1160,27 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1161
1160
|
form: w(() => [
|
|
1162
1161
|
y("form", Jn, [
|
|
1163
1162
|
y("h2", null, [
|
|
1164
|
-
y("span", null, V(
|
|
1163
|
+
y("span", null, V(a(e)("booking.reservation.detailsTitle")), 1)
|
|
1165
1164
|
]),
|
|
1166
|
-
!
|
|
1165
|
+
!a(Mt) && !(a(Ce) && a(Ie)) ? (E(), I("ul", {
|
|
1167
1166
|
key: 0,
|
|
1168
|
-
class: ke({ "fresh-booking-split-inputs": !
|
|
1167
|
+
class: ke({ "fresh-booking-split-inputs": !a(Ce) && !a(Ie) })
|
|
1169
1168
|
}, [
|
|
1170
|
-
|
|
1169
|
+
a(Ce) ? x("", !0) : (E(), I("li", Xn, [
|
|
1171
1170
|
C(tt, {
|
|
1172
|
-
modelValue: l
|
|
1173
|
-
"onUpdate:modelValue": P[1] || (P[1] = (S) => N(
|
|
1174
|
-
label:
|
|
1171
|
+
modelValue: a(l),
|
|
1172
|
+
"onUpdate:modelValue": P[1] || (P[1] = (S) => N(l) ? l.value = S : null),
|
|
1173
|
+
label: a(e)("booking.reservation.arrivalTime"),
|
|
1175
1174
|
icon: "hourglass-start",
|
|
1176
1175
|
"hour-range": Jt.value,
|
|
1177
1176
|
required: ""
|
|
1178
1177
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1179
1178
|
])),
|
|
1180
|
-
|
|
1179
|
+
a(Ie) ? x("", !0) : (E(), I("li", Zn, [
|
|
1181
1180
|
C(tt, {
|
|
1182
|
-
modelValue:
|
|
1181
|
+
modelValue: a(u),
|
|
1183
1182
|
"onUpdate:modelValue": P[2] || (P[2] = (S) => N(u) ? u.value = S : null),
|
|
1184
|
-
label:
|
|
1183
|
+
label: a(e)("booking.reservation.departureTime"),
|
|
1185
1184
|
icon: "hourglass-end",
|
|
1186
1185
|
"hour-range": Xt.value,
|
|
1187
1186
|
required: ""
|
|
@@ -1189,122 +1188,122 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1189
1188
|
]))
|
|
1190
1189
|
], 2)) : x("", !0),
|
|
1191
1190
|
C(pn, {
|
|
1192
|
-
modelValue:
|
|
1191
|
+
modelValue: a(f),
|
|
1193
1192
|
"onUpdate:modelValue": P[3] || (P[3] = (S) => N(f) ? f.value = S : null),
|
|
1194
|
-
title:
|
|
1193
|
+
title: a(g),
|
|
1195
1194
|
"onUpdate:title": P[4] || (P[4] = (S) => N(g) ? g.value = S : null),
|
|
1196
|
-
"exclude-title":
|
|
1197
|
-
label:
|
|
1195
|
+
"exclude-title": a(Rt),
|
|
1196
|
+
label: a(e)("booking.reservation.name"),
|
|
1198
1197
|
icon: "user-alt",
|
|
1199
|
-
placeholder:
|
|
1198
|
+
placeholder: a(e)("booking.reservation.namePlaceholder"),
|
|
1200
1199
|
required: ""
|
|
1201
1200
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1202
1201
|
C(ee, {
|
|
1203
|
-
modelValue:
|
|
1202
|
+
modelValue: a(_),
|
|
1204
1203
|
"onUpdate:modelValue": P[5] || (P[5] = (S) => N(_) ? _.value = S : null),
|
|
1205
1204
|
type: "email",
|
|
1206
1205
|
name: "email",
|
|
1207
1206
|
autocomplete: "email",
|
|
1208
|
-
label:
|
|
1207
|
+
label: a(e)("booking.reservation.email"),
|
|
1209
1208
|
icon: "at",
|
|
1210
|
-
placeholder:
|
|
1209
|
+
placeholder: a(e)("booking.reservation.emailPlaceholder"),
|
|
1211
1210
|
required: ""
|
|
1212
1211
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1213
|
-
|
|
1212
|
+
a(Te) ? x("", !0) : (E(), R(Ne, {
|
|
1214
1213
|
key: 1,
|
|
1215
|
-
modelValue:
|
|
1214
|
+
modelValue: a($),
|
|
1216
1215
|
"onUpdate:modelValue": P[6] || (P[6] = (S) => N($) ? $.value = S : null),
|
|
1217
1216
|
type: "checkbox",
|
|
1218
1217
|
name: "newsletter",
|
|
1219
|
-
label:
|
|
1218
|
+
label: a(e)("booking.reservation.newsletterSignUp")
|
|
1220
1219
|
}, null, 8, ["modelValue", "label"])),
|
|
1221
|
-
|
|
1220
|
+
a(Wt) ? x("", !0) : (E(), R(ee, {
|
|
1222
1221
|
key: 2,
|
|
1223
|
-
modelValue:
|
|
1222
|
+
modelValue: a(b),
|
|
1224
1223
|
"onUpdate:modelValue": P[7] || (P[7] = (S) => N(b) ? b.value = S : null),
|
|
1225
1224
|
type: "text",
|
|
1226
1225
|
name: "firm",
|
|
1227
1226
|
autocomplete: "firm",
|
|
1228
|
-
label: `${
|
|
1227
|
+
label: `${a(e)("booking.reservation.companyName")} (${a(e)("booking.reservation.optional")})`,
|
|
1229
1228
|
icon: "id-card",
|
|
1230
|
-
placeholder:
|
|
1229
|
+
placeholder: a(e)("booking.reservation.companyNamePlaceholder")
|
|
1231
1230
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1232
1231
|
C(xo, {
|
|
1233
|
-
modelValue:
|
|
1232
|
+
modelValue: a(d),
|
|
1234
1233
|
"onUpdate:modelValue": P[8] || (P[8] = (S) => N(d) ? d.value = S : null),
|
|
1235
1234
|
icon: "phone-office",
|
|
1236
|
-
label:
|
|
1237
|
-
placeholder:
|
|
1235
|
+
label: a(e)("booking.reservation.phone"),
|
|
1236
|
+
placeholder: a(e)("booking.reservation.phonePlaceholder"),
|
|
1238
1237
|
required: ""
|
|
1239
1238
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1240
1239
|
C(an, {
|
|
1241
|
-
modelValue:
|
|
1240
|
+
modelValue: a(r),
|
|
1242
1241
|
"onUpdate:modelValue": P[9] || (P[9] = (S) => N(r) ? r.value = S : null),
|
|
1243
|
-
label:
|
|
1244
|
-
placeholder:
|
|
1245
|
-
options:
|
|
1242
|
+
label: a(e)("booking.reservation.country"),
|
|
1243
|
+
placeholder: a(e)("booking.reservation.countryPlaceholder"),
|
|
1244
|
+
options: a(n),
|
|
1246
1245
|
required: ""
|
|
1247
1246
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1248
1247
|
C(ee, {
|
|
1249
|
-
modelValue:
|
|
1248
|
+
modelValue: a(i),
|
|
1250
1249
|
"onUpdate:modelValue": P[10] || (P[10] = (S) => N(i) ? i.value = S : null),
|
|
1251
1250
|
type: "textarea",
|
|
1252
1251
|
name: "address",
|
|
1253
1252
|
autocomplete: "street-address",
|
|
1254
|
-
label:
|
|
1253
|
+
label: a(e)("booking.reservation.streetAddress"),
|
|
1255
1254
|
icon: "map-marked",
|
|
1256
|
-
placeholder:
|
|
1255
|
+
placeholder: a(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1257
1256
|
required: ""
|
|
1258
1257
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1259
1258
|
y("ul", ei, [
|
|
1260
1259
|
y("li", null, [
|
|
1261
1260
|
C(ee, {
|
|
1262
|
-
modelValue:
|
|
1261
|
+
modelValue: a(k),
|
|
1263
1262
|
"onUpdate:modelValue": P[11] || (P[11] = (S) => N(k) ? k.value = S : null),
|
|
1264
1263
|
type: "text",
|
|
1265
1264
|
name: "postal",
|
|
1266
1265
|
autocomplete: "postal-code",
|
|
1267
|
-
label:
|
|
1266
|
+
label: a(e)("booking.reservation.postal"),
|
|
1268
1267
|
icon: "mailbox",
|
|
1269
|
-
placeholder:
|
|
1268
|
+
placeholder: a(e)("booking.reservation.postalPlaceholder"),
|
|
1270
1269
|
required: ""
|
|
1271
1270
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1272
1271
|
]),
|
|
1273
1272
|
y("li", null, [
|
|
1274
1273
|
C(ee, {
|
|
1275
|
-
modelValue:
|
|
1274
|
+
modelValue: a(m),
|
|
1276
1275
|
"onUpdate:modelValue": P[12] || (P[12] = (S) => N(m) ? m.value = S : null),
|
|
1277
1276
|
type: "text",
|
|
1278
1277
|
name: "city",
|
|
1279
1278
|
autocomplete: "address-level2",
|
|
1280
|
-
label:
|
|
1279
|
+
label: a(e)("booking.reservation.city"),
|
|
1281
1280
|
icon: "city",
|
|
1282
|
-
placeholder:
|
|
1281
|
+
placeholder: a(e)("booking.reservation.cityPlaceholder"),
|
|
1283
1282
|
required: ""
|
|
1284
1283
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1285
1284
|
])
|
|
1286
1285
|
]),
|
|
1287
1286
|
C(ee, {
|
|
1288
|
-
modelValue:
|
|
1287
|
+
modelValue: a(v),
|
|
1289
1288
|
"onUpdate:modelValue": P[13] || (P[13] = (S) => N(v) ? v.value = S : null),
|
|
1290
1289
|
type: "textarea",
|
|
1291
|
-
label: `${
|
|
1290
|
+
label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
|
|
1292
1291
|
icon: "info-circle",
|
|
1293
|
-
placeholder:
|
|
1292
|
+
placeholder: a(e)("booking.reservation.remarkPlaceholder")
|
|
1294
1293
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1295
1294
|
C(ee, {
|
|
1296
|
-
modelValue:
|
|
1295
|
+
modelValue: a(T),
|
|
1297
1296
|
"onUpdate:modelValue": P[14] || (P[14] = (S) => N(T) ? T.value = S : null),
|
|
1298
1297
|
type: "textarea",
|
|
1299
|
-
label: `${
|
|
1298
|
+
label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
|
|
1300
1299
|
icon: "allergies",
|
|
1301
|
-
placeholder:
|
|
1300
|
+
placeholder: a(e)("booking.reservation.allergiesPlaceholder")
|
|
1302
1301
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1303
|
-
|
|
1302
|
+
a(Bt) ? x("", !0) : (E(), R(dn, {
|
|
1304
1303
|
key: 3,
|
|
1305
|
-
modelValue:
|
|
1304
|
+
modelValue: a(c),
|
|
1306
1305
|
"onUpdate:modelValue": P[15] || (P[15] = (S) => N(c) ? c.value = S : null),
|
|
1307
|
-
label: `${
|
|
1306
|
+
label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
|
|
1308
1307
|
name: "travelingFor",
|
|
1309
1308
|
checkboxes: Kt.value
|
|
1310
1309
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
@@ -1313,9 +1312,9 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1313
1312
|
navigation: w(() => [
|
|
1314
1313
|
y("div", null, [
|
|
1315
1314
|
C(le, {
|
|
1316
|
-
label:
|
|
1317
|
-
disabled: !
|
|
1318
|
-
"is-loading":
|
|
1315
|
+
label: a(Nt) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
|
|
1316
|
+
disabled: !a(h),
|
|
1317
|
+
"is-loading": a(s),
|
|
1319
1318
|
"full-width": "",
|
|
1320
1319
|
onClickEvent: (S) => eo(G)
|
|
1321
1320
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
@@ -1323,7 +1322,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1323
1322
|
class: "konnectio-abort-reservation link",
|
|
1324
1323
|
onClick: et((S) => Je(M), ["prevent"])
|
|
1325
1324
|
}, [
|
|
1326
|
-
y("span", null, V(
|
|
1325
|
+
y("span", null, V(a(e)("general.goAStepBack")), 1)
|
|
1327
1326
|
], 8, ti)
|
|
1328
1327
|
])
|
|
1329
1328
|
]),
|
|
@@ -1335,7 +1334,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1335
1334
|
]),
|
|
1336
1335
|
confirmation: w(() => [
|
|
1337
1336
|
C($o, {
|
|
1338
|
-
message:
|
|
1337
|
+
message: a(e)("booking.confirmation.thankYou")
|
|
1339
1338
|
}, null, 8, ["message"])
|
|
1340
1339
|
]),
|
|
1341
1340
|
_: 1
|
|
@@ -1385,8 +1384,8 @@ function je() {
|
|
|
1385
1384
|
if (!(!s || !s.length)) {
|
|
1386
1385
|
s = s.slice(0), p = p || [];
|
|
1387
1386
|
for (var h = this._onceEvents && this._onceEvents[n], c = 0; c < s.length; c++) {
|
|
1388
|
-
var
|
|
1389
|
-
u && (this.off(n,
|
|
1387
|
+
var l = s[c], u = h && h[l];
|
|
1388
|
+
u && (this.off(n, l), delete h[l]), l.apply(this, p);
|
|
1390
1389
|
}
|
|
1391
1390
|
return this;
|
|
1392
1391
|
}
|
|
@@ -1444,7 +1443,7 @@ function Ye() {
|
|
|
1444
1443
|
}
|
|
1445
1444
|
return d;
|
|
1446
1445
|
}
|
|
1447
|
-
function
|
|
1446
|
+
function l(d) {
|
|
1448
1447
|
var b = getComputedStyle(d);
|
|
1449
1448
|
return b || p("Style returned " + b + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), b;
|
|
1450
1449
|
}
|
|
@@ -1456,13 +1455,13 @@ function Ye() {
|
|
|
1456
1455
|
d.style.width = "200px", d.style.padding = "1px 2px 3px 4px", d.style.borderStyle = "solid", d.style.borderWidth = "1px 2px 3px 4px", d.style.boxSizing = "border-box";
|
|
1457
1456
|
var b = document.body || document.documentElement;
|
|
1458
1457
|
b.appendChild(d);
|
|
1459
|
-
var k =
|
|
1458
|
+
var k = l(d);
|
|
1460
1459
|
f = Math.round(t(k.width)) == 200, _.isBoxSizeOuter = f, b.removeChild(d);
|
|
1461
1460
|
}
|
|
1462
1461
|
}
|
|
1463
1462
|
function _(d) {
|
|
1464
1463
|
if (g(), typeof d == "string" && (d = document.querySelector(d)), !(!d || typeof d != "object" || !d.nodeType)) {
|
|
1465
|
-
var b =
|
|
1464
|
+
var b = l(d);
|
|
1466
1465
|
if (b.display == "none")
|
|
1467
1466
|
return c();
|
|
1468
1467
|
var k = {};
|
|
@@ -1520,12 +1519,12 @@ function ii() {
|
|
|
1520
1519
|
);
|
|
1521
1520
|
})(window, function(t, n) {
|
|
1522
1521
|
var p = {};
|
|
1523
|
-
p.extend = function(c,
|
|
1524
|
-
for (var u in
|
|
1525
|
-
c[u] =
|
|
1522
|
+
p.extend = function(c, l) {
|
|
1523
|
+
for (var u in l)
|
|
1524
|
+
c[u] = l[u];
|
|
1526
1525
|
return c;
|
|
1527
|
-
}, p.modulo = function(c,
|
|
1528
|
-
return (c %
|
|
1526
|
+
}, p.modulo = function(c, l) {
|
|
1527
|
+
return (c % l + l) % l;
|
|
1529
1528
|
};
|
|
1530
1529
|
var s = Array.prototype.slice;
|
|
1531
1530
|
p.makeArray = function(c) {
|
|
@@ -1533,38 +1532,38 @@ function ii() {
|
|
|
1533
1532
|
return c;
|
|
1534
1533
|
if (c == null)
|
|
1535
1534
|
return [];
|
|
1536
|
-
var
|
|
1537
|
-
return
|
|
1538
|
-
}, p.removeFrom = function(c,
|
|
1539
|
-
var u = c.indexOf(
|
|
1535
|
+
var l = typeof c == "object" && typeof c.length == "number";
|
|
1536
|
+
return l ? s.call(c) : [c];
|
|
1537
|
+
}, p.removeFrom = function(c, l) {
|
|
1538
|
+
var u = c.indexOf(l);
|
|
1540
1539
|
u != -1 && c.splice(u, 1);
|
|
1541
|
-
}, p.getParent = function(c,
|
|
1540
|
+
}, p.getParent = function(c, l) {
|
|
1542
1541
|
for (; c.parentNode && c != document.body; )
|
|
1543
|
-
if (c = c.parentNode, n(c,
|
|
1542
|
+
if (c = c.parentNode, n(c, l))
|
|
1544
1543
|
return c;
|
|
1545
1544
|
}, p.getQueryElement = function(c) {
|
|
1546
1545
|
return typeof c == "string" ? document.querySelector(c) : c;
|
|
1547
1546
|
}, p.handleEvent = function(c) {
|
|
1548
|
-
var
|
|
1549
|
-
this[
|
|
1550
|
-
}, p.filterFindElements = function(c,
|
|
1547
|
+
var l = "on" + c.type;
|
|
1548
|
+
this[l] && this[l](c);
|
|
1549
|
+
}, p.filterFindElements = function(c, l) {
|
|
1551
1550
|
c = p.makeArray(c);
|
|
1552
1551
|
var u = [];
|
|
1553
1552
|
return c.forEach(function(f) {
|
|
1554
1553
|
if (f instanceof HTMLElement) {
|
|
1555
|
-
if (!
|
|
1554
|
+
if (!l) {
|
|
1556
1555
|
u.push(f);
|
|
1557
1556
|
return;
|
|
1558
1557
|
}
|
|
1559
|
-
n(f,
|
|
1560
|
-
for (var g = f.querySelectorAll(
|
|
1558
|
+
n(f, l) && u.push(f);
|
|
1559
|
+
for (var g = f.querySelectorAll(l), _ = 0; _ < g.length; _++)
|
|
1561
1560
|
u.push(g[_]);
|
|
1562
1561
|
}
|
|
1563
1562
|
}), u;
|
|
1564
|
-
}, p.debounceMethod = function(c,
|
|
1563
|
+
}, p.debounceMethod = function(c, l, u) {
|
|
1565
1564
|
u = u || 100;
|
|
1566
|
-
var f = c.prototype[
|
|
1567
|
-
c.prototype[
|
|
1565
|
+
var f = c.prototype[l], g = l + "Timeout";
|
|
1566
|
+
c.prototype[l] = function() {
|
|
1568
1567
|
var _ = this[g];
|
|
1569
1568
|
clearTimeout(_);
|
|
1570
1569
|
var d = arguments, b = this;
|
|
@@ -1573,17 +1572,17 @@ function ii() {
|
|
|
1573
1572
|
}, u);
|
|
1574
1573
|
};
|
|
1575
1574
|
}, p.docReady = function(c) {
|
|
1576
|
-
var
|
|
1577
|
-
|
|
1575
|
+
var l = document.readyState;
|
|
1576
|
+
l == "complete" || l == "interactive" ? setTimeout(c) : document.addEventListener("DOMContentLoaded", c);
|
|
1578
1577
|
}, p.toDashed = function(c) {
|
|
1579
|
-
return c.replace(/(.)([A-Z])/g, function(
|
|
1578
|
+
return c.replace(/(.)([A-Z])/g, function(l, u, f) {
|
|
1580
1579
|
return u + "-" + f;
|
|
1581
1580
|
}).toLowerCase();
|
|
1582
1581
|
};
|
|
1583
1582
|
var h = t.console;
|
|
1584
|
-
return p.htmlInit = function(c,
|
|
1583
|
+
return p.htmlInit = function(c, l) {
|
|
1585
1584
|
p.docReady(function() {
|
|
1586
|
-
var u = p.toDashed(
|
|
1585
|
+
var u = p.toDashed(l), f = "data-" + u, g = document.querySelectorAll("[" + f + "]"), _ = document.querySelectorAll(".js-" + u), d = p.makeArray(g).concat(p.makeArray(_)), b = f + "-options", k = t.jQuery;
|
|
1587
1586
|
d.forEach(function(m) {
|
|
1588
1587
|
var i = m.getAttribute(f) || m.getAttribute(b), r;
|
|
1589
1588
|
try {
|
|
@@ -1593,7 +1592,7 @@ function ii() {
|
|
|
1593
1592
|
return;
|
|
1594
1593
|
}
|
|
1595
1594
|
var v = new c(m, r);
|
|
1596
|
-
k && k.data(m,
|
|
1595
|
+
k && k.data(m, l, v);
|
|
1597
1596
|
});
|
|
1598
1597
|
});
|
|
1599
1598
|
}, p;
|
|
@@ -1617,7 +1616,7 @@ function ri() {
|
|
|
1617
1616
|
return !1;
|
|
1618
1617
|
return i = null, !0;
|
|
1619
1618
|
}
|
|
1620
|
-
var s = document.documentElement.style, h = typeof s.transition == "string" ? "transition" : "WebkitTransition", c = typeof s.transform == "string" ? "transform" : "WebkitTransform",
|
|
1619
|
+
var s = document.documentElement.style, h = typeof s.transition == "string" ? "transition" : "WebkitTransition", c = typeof s.transform == "string" ? "transform" : "WebkitTransform", l = {
|
|
1621
1620
|
WebkitTransition: "webkitTransitionEnd",
|
|
1622
1621
|
transition: "transitionend"
|
|
1623
1622
|
}[h], u = {
|
|
@@ -1718,7 +1717,7 @@ function ri() {
|
|
|
1718
1717
|
transitionProperty: d,
|
|
1719
1718
|
transitionDuration: m,
|
|
1720
1719
|
transitionDelay: this.staggerDelay || 0
|
|
1721
|
-
}), this.element.addEventListener(
|
|
1720
|
+
}), this.element.addEventListener(l, this, !1);
|
|
1722
1721
|
}
|
|
1723
1722
|
}, g.onwebkitTransitionEnd = function(m) {
|
|
1724
1723
|
this.ontransitionend(m);
|
|
@@ -1738,7 +1737,7 @@ function ri() {
|
|
|
1738
1737
|
this.emitEvent("transitionEnd", [this]);
|
|
1739
1738
|
}
|
|
1740
1739
|
}, g.disableTransition = function() {
|
|
1741
|
-
this.removeTransitionStyles(), this.element.removeEventListener(
|
|
1740
|
+
this.removeTransitionStyles(), this.element.removeEventListener(l, this, !1), this.isTransitioning = !1;
|
|
1742
1741
|
}, g._removeStyles = function(m) {
|
|
1743
1742
|
var i = {};
|
|
1744
1743
|
for (var r in m)
|
|
@@ -1830,7 +1829,7 @@ function si() {
|
|
|
1830
1829
|
e.Outlayer.Item
|
|
1831
1830
|
);
|
|
1832
1831
|
})(window, function(t, n, p, s, h) {
|
|
1833
|
-
var c = t.console,
|
|
1832
|
+
var c = t.console, l = t.jQuery, u = function() {
|
|
1834
1833
|
}, f = 0, g = {};
|
|
1835
1834
|
function _(i, r) {
|
|
1836
1835
|
var v = s.getQueryElement(i);
|
|
@@ -1838,7 +1837,7 @@ function si() {
|
|
|
1838
1837
|
c && c.error("Bad element for " + this.constructor.namespace + ": " + (v || i));
|
|
1839
1838
|
return;
|
|
1840
1839
|
}
|
|
1841
|
-
this.element = v,
|
|
1840
|
+
this.element = v, l && (this.$element = l(this.element)), this.options = s.extend({}, this.constructor.defaults), this.option(r);
|
|
1842
1841
|
var T = ++f;
|
|
1843
1842
|
this.element.outlayerGUID = T, g[T] = this, this._create();
|
|
1844
1843
|
var $ = this._getOption("initLayout");
|
|
@@ -1972,9 +1971,9 @@ function si() {
|
|
|
1972
1971
|
});
|
|
1973
1972
|
}, d.dispatchEvent = function(i, r, v) {
|
|
1974
1973
|
var T = r ? [r].concat(v) : v;
|
|
1975
|
-
if (this.emitEvent(i, T),
|
|
1976
|
-
if (this.$element = this.$element ||
|
|
1977
|
-
var $ =
|
|
1974
|
+
if (this.emitEvent(i, T), l)
|
|
1975
|
+
if (this.$element = this.$element || l(this.element), r) {
|
|
1976
|
+
var $ = l.Event(r);
|
|
1978
1977
|
$.type = i, this.$element.trigger($, v);
|
|
1979
1978
|
} else
|
|
1980
1979
|
this.$element.trigger(i, v);
|
|
@@ -2078,14 +2077,14 @@ function si() {
|
|
|
2078
2077
|
v.destroy();
|
|
2079
2078
|
}), this.unbindResize();
|
|
2080
2079
|
var r = this.element.outlayerGUID;
|
|
2081
|
-
delete g[r], delete this.element.outlayerGUID,
|
|
2080
|
+
delete g[r], delete this.element.outlayerGUID, l && l.removeData(this.element, this.constructor.namespace);
|
|
2082
2081
|
}, _.data = function(i) {
|
|
2083
2082
|
i = s.getQueryElement(i);
|
|
2084
2083
|
var r = i && i.outlayerGUID;
|
|
2085
2084
|
return r && g[r];
|
|
2086
2085
|
}, _.create = function(i, r) {
|
|
2087
2086
|
var v = b(_);
|
|
2088
|
-
return v.defaults = s.extend({}, _.defaults), s.extend(v.defaults, r), v.compatOptions = s.extend({}, _.compatOptions), v.namespace = i, v.data = _.data, v.Item = b(h), s.htmlInit(v, i),
|
|
2087
|
+
return v.defaults = s.extend({}, _.defaults), s.extend(v.defaults, r), v.compatOptions = s.extend({}, _.compatOptions), v.namespace = i, v.data = _.data, v.Item = b(h), s.htmlInit(v, i), l && l.bridget && l.bridget(i, v), v;
|
|
2089
2088
|
};
|
|
2090
2089
|
function b(i) {
|
|
2091
2090
|
function r() {
|
|
@@ -2142,14 +2141,14 @@ function si() {
|
|
|
2142
2141
|
this.columnWidth = c && n(c).outerWidth || // if first elem has no width, default to size of container
|
|
2143
2142
|
this.containerWidth;
|
|
2144
2143
|
}
|
|
2145
|
-
var
|
|
2144
|
+
var l = this.columnWidth += this.gutter, u = this.containerWidth + this.gutter, f = u / l, g = l - u % l, _ = g && g < 1 ? "round" : "floor";
|
|
2146
2145
|
f = Math[_](f), this.cols = Math.max(f, 1);
|
|
2147
2146
|
}, s.getContainerWidth = function() {
|
|
2148
|
-
var h = this._getOption("fitWidth"), c = h ? this.element.parentNode : this.element,
|
|
2149
|
-
this.containerWidth =
|
|
2147
|
+
var h = this._getOption("fitWidth"), c = h ? this.element.parentNode : this.element, l = n(c);
|
|
2148
|
+
this.containerWidth = l && l.innerWidth;
|
|
2150
2149
|
}, s._getItemLayoutPosition = function(h) {
|
|
2151
2150
|
h.getSize();
|
|
2152
|
-
var c = h.size.outerWidth % this.columnWidth,
|
|
2151
|
+
var c = h.size.outerWidth % this.columnWidth, l = c && c < 1 ? "round" : "ceil", u = Math[l](h.size.outerWidth / this.columnWidth);
|
|
2153
2152
|
u = Math.min(u, this.cols);
|
|
2154
2153
|
for (var f = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[f](u, h), _ = {
|
|
2155
2154
|
x: this.columnWidth * g.col,
|
|
@@ -2158,36 +2157,36 @@ function si() {
|
|
|
2158
2157
|
this.colYs[k] = d;
|
|
2159
2158
|
return _;
|
|
2160
2159
|
}, s._getTopColPosition = function(h) {
|
|
2161
|
-
var c = this._getTopColGroup(h),
|
|
2160
|
+
var c = this._getTopColGroup(h), l = Math.min.apply(Math, c);
|
|
2162
2161
|
return {
|
|
2163
|
-
col: c.indexOf(
|
|
2164
|
-
y:
|
|
2162
|
+
col: c.indexOf(l),
|
|
2163
|
+
y: l
|
|
2165
2164
|
};
|
|
2166
2165
|
}, s._getTopColGroup = function(h) {
|
|
2167
2166
|
if (h < 2)
|
|
2168
2167
|
return this.colYs;
|
|
2169
|
-
for (var c = [],
|
|
2168
|
+
for (var c = [], l = this.cols + 1 - h, u = 0; u < l; u++)
|
|
2170
2169
|
c[u] = this._getColGroupY(u, h);
|
|
2171
2170
|
return c;
|
|
2172
2171
|
}, s._getColGroupY = function(h, c) {
|
|
2173
2172
|
if (c < 2)
|
|
2174
2173
|
return this.colYs[h];
|
|
2175
|
-
var
|
|
2176
|
-
return Math.max.apply(Math,
|
|
2174
|
+
var l = this.colYs.slice(h, h + c);
|
|
2175
|
+
return Math.max.apply(Math, l);
|
|
2177
2176
|
}, s._getHorizontalColPosition = function(h, c) {
|
|
2178
|
-
var
|
|
2179
|
-
|
|
2177
|
+
var l = this.horizontalColIndex % this.cols, u = h > 1 && l + h > this.cols;
|
|
2178
|
+
l = u ? 0 : l;
|
|
2180
2179
|
var f = c.size.outerWidth && c.size.outerHeight;
|
|
2181
|
-
return this.horizontalColIndex = f ?
|
|
2182
|
-
col:
|
|
2183
|
-
y: this._getColGroupY(
|
|
2180
|
+
return this.horizontalColIndex = f ? l + h : this.horizontalColIndex, {
|
|
2181
|
+
col: l,
|
|
2182
|
+
y: this._getColGroupY(l, h)
|
|
2184
2183
|
};
|
|
2185
2184
|
}, s._manageStamp = function(h) {
|
|
2186
|
-
var c = n(h),
|
|
2185
|
+
var c = n(h), l = this._getElementOffset(h), u = this._getOption("originLeft"), f = u ? l.left : l.right, g = f + c.outerWidth, _ = Math.floor(f / this.columnWidth);
|
|
2187
2186
|
_ = Math.max(0, _);
|
|
2188
2187
|
var d = Math.floor(g / this.columnWidth);
|
|
2189
2188
|
d -= g % this.columnWidth ? 0 : 1, d = Math.min(this.cols - 1, d);
|
|
2190
|
-
for (var b = this._getOption("originTop"), k = (b ?
|
|
2189
|
+
for (var b = this._getOption("originTop"), k = (b ? l.top : l.bottom) + c.outerHeight, m = _; m <= d; m++)
|
|
2191
2190
|
this.colYs[m] = Math.max(k, this.colYs[m]);
|
|
2192
2191
|
}, s._getContainerSize = function() {
|
|
2193
2192
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
@@ -2233,7 +2232,7 @@ var Ct = { exports: {} };
|
|
|
2233
2232
|
return d;
|
|
2234
2233
|
}
|
|
2235
2234
|
var c = Array.prototype.slice;
|
|
2236
|
-
function
|
|
2235
|
+
function l(d) {
|
|
2237
2236
|
if (Array.isArray(d))
|
|
2238
2237
|
return d;
|
|
2239
2238
|
var b = typeof d == "object" && typeof d.length == "number";
|
|
@@ -2247,7 +2246,7 @@ var Ct = { exports: {} };
|
|
|
2247
2246
|
s.error("Bad element for imagesLoaded " + (m || d));
|
|
2248
2247
|
return;
|
|
2249
2248
|
}
|
|
2250
|
-
this.elements =
|
|
2249
|
+
this.elements = l(m), this.options = h({}, this.options), typeof b == "function" ? k = b : h(this.options, b), k && this.on("always", k), this.getImages(), p && (this.jqDeferred = new p.Deferred()), setTimeout(this.check.bind(this));
|
|
2251
2250
|
}
|
|
2252
2251
|
u.prototype = Object.create(n.prototype), u.prototype.options = {}, u.prototype.getImages = function() {
|
|
2253
2252
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
@@ -2401,8 +2400,8 @@ It.install = function(o, e) {
|
|
|
2401
2400
|
mounted: function(s, h) {
|
|
2402
2401
|
if (!lt)
|
|
2403
2402
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2404
|
-
const c = hi(s.attributes),
|
|
2405
|
-
|
|
2403
|
+
const c = hi(s.attributes), l = new lt(s, c), u = h.value || n, f = c.destroyDelay ? parseInt(c.destroyDelay, 10) : void 0, g = function() {
|
|
2404
|
+
l.reloadItems(), l.layout();
|
|
2406
2405
|
};
|
|
2407
2406
|
kt(() => {
|
|
2408
2407
|
g();
|
|
@@ -2413,7 +2412,7 @@ It.install = function(o, e) {
|
|
|
2413
2412
|
t.off(`${ge}__${u}`, _), t.off(`${Me}__${u}`, _), t.off(`${Re}__${u}`, _), t.off(`${Be}__${u}`, d);
|
|
2414
2413
|
const k = f && !Number.isNaN(f) ? f : 0;
|
|
2415
2414
|
setTimeout(function() {
|
|
2416
|
-
|
|
2415
|
+
l.destroy();
|
|
2417
2416
|
}, k);
|
|
2418
2417
|
};
|
|
2419
2418
|
t.on(`${ge}__${u}`, _), t.on(`${Me}__${u}`, _), t.on(`${Re}__${u}`, _), t.on(`${Be}__${u}`, d);
|
|
@@ -2688,7 +2687,7 @@ function ye(o, e, t) {
|
|
|
2688
2687
|
return o;
|
|
2689
2688
|
function n(h) {
|
|
2690
2689
|
let c;
|
|
2691
|
-
return ["s", "pageTitle"].includes(h) ? c = e.pageTitle : h.includes(".") ? c = h.split(".").reduce((
|
|
2690
|
+
return ["s", "pageTitle"].includes(h) ? c = e.pageTitle : h.includes(".") ? c = h.split(".").reduce((l, u) => l && l[u] || void 0, e) : c = e[h], typeof c < "u" ? (c || "").replace(/"/g, '\\"') : !1;
|
|
2692
2691
|
}
|
|
2693
2692
|
let p = o;
|
|
2694
2693
|
try {
|
|
@@ -2697,7 +2696,7 @@ function ye(o, e, t) {
|
|
|
2697
2696
|
}
|
|
2698
2697
|
return (p.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((h) => {
|
|
2699
2698
|
const c = n(h.slice(1));
|
|
2700
|
-
typeof c == "string" && (o = o.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (
|
|
2699
|
+
typeof c == "string" && (o = o.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (l, u) => `${c}${u}`).trim());
|
|
2701
2700
|
}), o.includes(Z) && (o.endsWith(Z) && (o = o.slice(0, -Z.length).trim()), o.startsWith(Z) && (o = o.slice(Z.length).trim()), o = o.replace(new RegExp(`\\${Z}\\s*\\${Z}`, "g"), Z), o = ye(o, { separator: t }, t)), o;
|
|
2702
2701
|
}
|
|
2703
2702
|
async function Pi(o) {
|
|
@@ -2753,7 +2752,7 @@ async function xi(o, e = {}) {
|
|
|
2753
2752
|
g.getAttribute(b) !== k && g.setAttribute(b, k === !0 ? "" : String(k)), d && h(f, m, () => g.removeAttribute(b));
|
|
2754
2753
|
});
|
|
2755
2754
|
}
|
|
2756
|
-
const
|
|
2755
|
+
const l = [], u = {
|
|
2757
2756
|
bodyClose: void 0,
|
|
2758
2757
|
bodyOpen: void 0,
|
|
2759
2758
|
head: void 0
|
|
@@ -2765,10 +2764,10 @@ async function xi(o, e = {}) {
|
|
|
2765
2764
|
t.title = g.textContent;
|
|
2766
2765
|
continue;
|
|
2767
2766
|
}
|
|
2768
|
-
f.$el = f.$el || s.elMap[d], f.$el ? c(f) : ve.includes(g.tag) &&
|
|
2767
|
+
f.$el = f.$el || s.elMap[d], f.$el ? c(f) : ve.includes(g.tag) && l.push(f);
|
|
2769
2768
|
}
|
|
2770
2769
|
}
|
|
2771
|
-
for (const f of
|
|
2770
|
+
for (const f of l) {
|
|
2772
2771
|
const g = f.tag.tagPosition || "head";
|
|
2773
2772
|
f.$el = t.createElement(f.tag.tag), c(f), u[g] = u[g] || t.createDocumentFragment(), u[g].appendChild(f.$el);
|
|
2774
2773
|
}
|
|
@@ -2812,11 +2811,11 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
|
|
|
2812
2811
|
if (s) {
|
|
2813
2812
|
let c = n?.tagDuplicateStrategy;
|
|
2814
2813
|
if (!c && Oi.includes(n.tag) && (c = "merge"), c === "merge") {
|
|
2815
|
-
const
|
|
2814
|
+
const l = s.props;
|
|
2816
2815
|
["class", "style"].forEach((u) => {
|
|
2817
|
-
|
|
2816
|
+
l[u] && (n.props[u] ? (u === "style" && !l[u].endsWith(";") && (l[u] += ";"), n.props[u] = `${l[u]} ${n.props[u]}`) : n.props[u] = l[u]);
|
|
2818
2817
|
}), e[p].props = {
|
|
2819
|
-
...
|
|
2818
|
+
...l,
|
|
2820
2819
|
...n.props
|
|
2821
2820
|
};
|
|
2822
2821
|
return;
|
|
@@ -2875,7 +2874,7 @@ const Bi = (o) => ({
|
|
|
2875
2874
|
return;
|
|
2876
2875
|
const p = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
|
|
2877
2876
|
Object.entries(e.tag._eventHandlers).forEach(([s, h]) => {
|
|
2878
|
-
const c = `${e.tag._d || e.tag._p}:${s}`,
|
|
2877
|
+
const c = `${e.tag._d || e.tag._p}:${s}`, l = s.slice(2).toLowerCase(), u = `data-h-${l}`;
|
|
2879
2878
|
if (n(e.id, c, () => {
|
|
2880
2879
|
}), e.$el.hasAttribute(u))
|
|
2881
2880
|
return;
|
|
@@ -2888,8 +2887,8 @@ const Bi = (o) => ({
|
|
|
2888
2887
|
_.some((b) => b.attributeName === `data-${s}`) && (g(new Event(s.replace("on", ""))), f?.disconnect());
|
|
2889
2888
|
}), f.observe(e.$el, {
|
|
2890
2889
|
attributes: !0
|
|
2891
|
-
})) : p.addEventListener(
|
|
2892
|
-
f?.disconnect(), p.removeEventListener(
|
|
2890
|
+
})) : p.addEventListener(l, g), n(e.id, c, () => {
|
|
2891
|
+
f?.disconnect(), p.removeEventListener(l, g), e.$el.removeAttribute(u);
|
|
2893
2892
|
});
|
|
2894
2893
|
});
|
|
2895
2894
|
}
|
|
@@ -2923,9 +2922,9 @@ const Bi = (o) => ({
|
|
|
2923
2922
|
"tags:resolve": (e) => {
|
|
2924
2923
|
const { tags: t } = e, n = t.find((c) => c.tag === "title")?.textContent, p = t.findIndex((c) => c.tag === "templateParams"), s = p !== -1 ? t[p].props : {}, h = s.separator || "|";
|
|
2925
2924
|
delete s.separator, s.pageTitle = ye(s.pageTitle || n || "", s, h);
|
|
2926
|
-
for (const c of t.filter((
|
|
2927
|
-
const
|
|
2928
|
-
|
|
2925
|
+
for (const c of t.filter((l) => l.processTemplateParams !== !1)) {
|
|
2926
|
+
const l = Fi[c.tag];
|
|
2927
|
+
l && typeof c.props[l] == "string" ? c.props[l] = ye(c.props[l], s, h) : (c.processTemplateParams === !0 || ["titleTemplate", "title"].includes(c.tag)) && ["innerHTML", "textContent"].forEach((u) => {
|
|
2929
2928
|
typeof c[u] == "string" && (c[u] = ye(c[u], s, h));
|
|
2930
2929
|
});
|
|
2931
2930
|
}
|
|
@@ -2984,15 +2983,15 @@ function Yi(o = {}) {
|
|
|
2984
2983
|
headEntries() {
|
|
2985
2984
|
return s;
|
|
2986
2985
|
},
|
|
2987
|
-
use(
|
|
2988
|
-
const u = typeof
|
|
2986
|
+
use(l) {
|
|
2987
|
+
const u = typeof l == "function" ? l(c) : l;
|
|
2989
2988
|
(!u.key || !h.some((f) => f.key === u.key)) && (h.push(u), ht(u.mode, t) && e.addHooks(u.hooks || {}));
|
|
2990
2989
|
},
|
|
2991
|
-
push(
|
|
2990
|
+
push(l, u) {
|
|
2992
2991
|
delete u?.head;
|
|
2993
2992
|
const f = {
|
|
2994
2993
|
_i: p++,
|
|
2995
|
-
input:
|
|
2994
|
+
input: l,
|
|
2996
2995
|
...u
|
|
2997
2996
|
};
|
|
2998
2997
|
return ht(f.mode, t) && (s.push(f), n()), {
|
|
@@ -3006,17 +3005,17 @@ function Yi(o = {}) {
|
|
|
3006
3005
|
};
|
|
3007
3006
|
},
|
|
3008
3007
|
async resolveTags() {
|
|
3009
|
-
const
|
|
3010
|
-
await e.callHook("entries:resolve",
|
|
3011
|
-
for (const u of
|
|
3008
|
+
const l = { tags: [], entries: [...s] };
|
|
3009
|
+
await e.callHook("entries:resolve", l);
|
|
3010
|
+
for (const u of l.entries) {
|
|
3012
3011
|
const f = u.resolvedInput || u.input;
|
|
3013
3012
|
if (u.resolvedInput = await (u.transform ? u.transform(f) : f), u.resolvedInput)
|
|
3014
3013
|
for (const g of await Vi(u)) {
|
|
3015
3014
|
const _ = { tag: g, entry: u, resolvedOptions: c.resolvedOptions };
|
|
3016
|
-
await e.callHook("tag:normalise", _),
|
|
3015
|
+
await e.callHook("tag:normalise", _), l.tags.push(_.tag);
|
|
3017
3016
|
}
|
|
3018
3017
|
}
|
|
3019
|
-
return await e.callHook("tags:beforeResolve",
|
|
3018
|
+
return await e.callHook("tags:beforeResolve", l), await e.callHook("tags:resolve", l), await e.callHook("tags:afterResolve", l), l.tags;
|
|
3020
3019
|
},
|
|
3021
3020
|
ssr: t
|
|
3022
3021
|
};
|
|
@@ -3030,18 +3029,18 @@ function Yi(o = {}) {
|
|
|
3030
3029
|
Ui,
|
|
3031
3030
|
Gi,
|
|
3032
3031
|
...o?.plugins || []
|
|
3033
|
-
].forEach((
|
|
3032
|
+
].forEach((l) => c.use(l)), c.hooks.callHook("init", c), c;
|
|
3034
3033
|
}
|
|
3035
3034
|
const Ki = vo.startsWith("3");
|
|
3036
3035
|
function Qi(o) {
|
|
3037
|
-
return typeof o == "function" ? o() :
|
|
3036
|
+
return typeof o == "function" ? o() : a(o);
|
|
3038
3037
|
}
|
|
3039
3038
|
function qe(o, e = "") {
|
|
3040
3039
|
if (o instanceof Promise)
|
|
3041
3040
|
return o;
|
|
3042
3041
|
const t = Qi(o);
|
|
3043
3042
|
return !o || !t ? t : Array.isArray(t) ? t.map((n) => qe(n, e)) : typeof t == "object" ? Object.fromEntries(
|
|
3044
|
-
Object.entries(t).map(([n, p]) => n === "titleTemplate" || n.startsWith("on") ? [n,
|
|
3043
|
+
Object.entries(t).map(([n, p]) => n === "titleTemplate" || n.startsWith("on") ? [n, a(p)] : [n, qe(p, n)])
|
|
3045
3044
|
) : t;
|
|
3046
3045
|
}
|
|
3047
3046
|
const Ji = {
|
|
@@ -3071,22 +3070,21 @@ class nr extends HTMLElement {
|
|
|
3071
3070
|
super();
|
|
3072
3071
|
}
|
|
3073
3072
|
disconnectedCallback() {
|
|
3074
|
-
|
|
3073
|
+
this.vueApp.unmount();
|
|
3075
3074
|
}
|
|
3076
3075
|
connectedCallback() {
|
|
3077
3076
|
const e = typeof fe == "function" ? fe.options : fe;
|
|
3078
3077
|
let t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {});
|
|
3079
|
-
const n = (
|
|
3078
|
+
const n = (l) => l.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (u, f) => (f ? "-" : "") + u.toLowerCase()), p = (l) => l.replace(/-./g, (u) => u[1].toUpperCase()), s = {};
|
|
3080
3079
|
t = t.map(n);
|
|
3081
3080
|
const h = {};
|
|
3082
|
-
for (const
|
|
3083
|
-
const
|
|
3084
|
-
|
|
3081
|
+
for (const l of this.attributes) {
|
|
3082
|
+
const f = l.name.split(".");
|
|
3083
|
+
f.length > 1 && (h[f[0]] || (h[f[0]] = {}), h[f[0]][p(f[1])] = l.value);
|
|
3085
3084
|
}
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
h.hasOwnProperty(a) && (u = h[a]), console.log(u, a), s[a] = u;
|
|
3085
|
+
for (const l of t) {
|
|
3086
|
+
let u = this.attributes.getNamedItem(l)?.value;
|
|
3087
|
+
h.hasOwnProperty(l) && (u = h[l]), s[l] = u;
|
|
3090
3088
|
}
|
|
3091
3089
|
this.vueApp = bo(fe, s), this.vueApp.use(or), this.vueApp.use(tr), this.vueApp.use(It), this.vueApp.use(ko), this.vueApp.use(So), this.vueApp.use(_o, { bootstrap: !0 });
|
|
3092
3090
|
const c = document.createElement("div");
|