@konnectio/core 4.0.47 → 4.0.49
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-4f3afb7a.js → ActionField-170372f8.js} +2 -2
- package/dist/ActionField-170372f8.js.br +0 -0
- package/dist/{ActionField-da8af28b.cjs → ActionField-c69154d9.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-25baf60d.js → AvailabilitySkeleton-50677f56.js} +5 -5
- package/dist/AvailabilitySkeleton-50677f56.js.br +0 -0
- package/dist/{AvailabilitySkeleton-850bab7c.cjs → AvailabilitySkeleton-b2675369.cjs} +1 -1
- package/dist/{CheckoutWindow-709d0b62.js → CheckoutWindow-2b4d34b2.js} +1 -1
- package/dist/CheckoutWindow-2b4d34b2.js.br +0 -0
- package/dist/{CheckoutWindow-934aa76e.cjs → CheckoutWindow-adb36c67.cjs} +1 -1
- package/dist/{Container-6b2be57c.js → Container-84a65f70.js} +1 -1
- package/dist/Container-84a65f70.js.br +0 -0
- package/dist/{Container-c8f449bb.cjs → Container-9186d30d.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-e1874345.cjs → DateField.vue_vue_type_style_index_0_lang-44c57c09.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-8b005f72.js → DateField.vue_vue_type_style_index_0_lang-f0a5ad06.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-f0a5ad06.js.br +0 -0
- package/dist/{Field-e99f6db6.js → Field-c68056b2.js} +2 -2
- package/dist/Field-c68056b2.js.br +0 -0
- package/dist/{Field-594f873a.cjs → Field-cbed90e0.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-6444e842.js → NumberField.vue_vue_type_script_setup_true_lang-4945edf2.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-4945edf2.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-d6fa6332.cjs → NumberField.vue_vue_type_script_setup_true_lang-82001efc.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-523f077b.js → SelectField.vue_vue_type_style_index_0_lang-35e6c80b.js} +3657 -3613
- package/dist/SelectField.vue_vue_type_style_index_0_lang-35e6c80b.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-61443b22.cjs → SelectField.vue_vue_type_style_index_0_lang-be473b19.cjs} +43 -43
- package/dist/{ThankYou-e6d0561f.js → ThankYou-083281e0.js} +1016 -996
- package/dist/ThankYou-083281e0.js.br +0 -0
- package/dist/{ThankYou-50682337.cjs → ThankYou-9a845553.cjs} +7 -7
- package/dist/{_-ede2c679.js → _-d0e88097.js} +1 -1
- package/dist/{_-aa5cc045.cjs → _-fb86920d.cjs} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/components/Clickable.vue.d.ts +1 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/side-panels/Base.vue.d.ts +1 -1
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
- package/dist/{event-773a5d1a.cjs → event-93a5d676.cjs} +1 -1
- package/dist/{event-ea10e9df.js → event-e2469c6e.js} +7 -7
- package/dist/event-e2469c6e.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +4 -4
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +109 -107
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +8 -8
- package/dist/hotel.js +968 -960
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +2 -2
- package/dist/polyfill.js.br +0 -0
- package/dist/store/availability.d.ts +40 -0
- package/dist/store/event.d.ts +683 -0
- package/dist/store/giftCard.d.ts +83 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +19 -0
- package/package.json +6 -6
- package/dist/ActionField-4f3afb7a.js.br +0 -0
- package/dist/AvailabilitySkeleton-25baf60d.js.br +0 -0
- package/dist/CheckoutWindow-709d0b62.js.br +0 -0
- package/dist/Container-6b2be57c.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-8b005f72.js.br +0 -0
- package/dist/Field-e99f6db6.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-6444e842.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-523f077b.js.br +0 -0
- package/dist/ThankYou-e6d0561f.js.br +0 -0
- package/dist/event-ea10e9df.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,148 +1,155 @@
|
|
|
1
|
-
import { k as J, F as de, aF as
|
|
2
|
-
import { R as Ho, B as _t, a as
|
|
3
|
-
import { C as
|
|
4
|
-
import { A as
|
|
5
|
-
import { _ as jt } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as
|
|
7
|
-
import { C as pt, P as
|
|
8
|
-
import { E as Z } from "./_-
|
|
1
|
+
import { k as J, F as de, aF as _o, s as Q, c as Ie, aa as zt, ab as ue, m as T, n as W, X as bo, q as a, w as P, D as et, A as g, H as A, M as ae, Z as Ct, aG as ko, v as I, a4 as q, a3 as N, x as w, aH as Te, a6 as ht, p as C, K as te, L as le, f as Y, B as Ke, Q as Ft, R as Nt, _ as oe, r as $e, aI as Ut, o as yt, a2 as Ge, C as Ee, aA as Eo, y as je, I as qt, l as St, T as se, aD as To, G as Co, a7 as So, N as $t, J as j, P as $o, al as Gt, aJ as Io, V as Lo, U as Ao, W as Oo, a9 as Vo } from "./SelectField.vue_vue_type_style_index_0_lang-35e6c80b.js";
|
|
2
|
+
import { R as Ho, B as _t, a as wo, S as Po, M as Ro, T as Do, x as Mo } from "./ThankYou-083281e0.js";
|
|
3
|
+
import { C as xo } from "./Container-84a65f70.js";
|
|
4
|
+
import { A as Wo, H as Bo } from "./AvailabilitySkeleton-50677f56.js";
|
|
5
|
+
import { _ as jt } from "./NumberField.vue_vue_type_script_setup_true_lang-4945edf2.js";
|
|
6
|
+
import { _ as zo } from "./DateField.vue_vue_type_style_index_0_lang-f0a5ad06.js";
|
|
7
|
+
import { C as pt, P as Fo, a as No } from "./CheckoutWindow-2b4d34b2.js";
|
|
8
|
+
import { E as Z } from "./_-d0e88097.js";
|
|
9
9
|
import { c as Yt, a as Kt } from "./_commonjsHelpers-aeeeeb92.js";
|
|
10
|
-
import "./ActionField-
|
|
11
|
-
import "./Field-
|
|
12
|
-
const
|
|
13
|
-
const
|
|
10
|
+
import "./ActionField-170372f8.js";
|
|
11
|
+
import "./Field-c68056b2.js";
|
|
12
|
+
const Uo = /* @__PURE__ */ g("br", null, null, -1);
|
|
13
|
+
const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
14
14
|
__name: "HotelReservationForm",
|
|
15
15
|
props: {
|
|
16
16
|
showGiftCard: { type: Boolean, default: !1 },
|
|
17
17
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
18
18
|
},
|
|
19
19
|
setup(t) {
|
|
20
|
-
const { t: e } = de(), o =
|
|
20
|
+
const { t: e } = de(), o = _o(), {
|
|
21
21
|
hideArrivalDepartureInputs: i,
|
|
22
22
|
disableArrivalUserSelection: u,
|
|
23
23
|
disableDepartureUserSelection: r,
|
|
24
24
|
arrivalDefault: f,
|
|
25
25
|
departureDefault: d,
|
|
26
26
|
currency: h
|
|
27
|
-
} = Q(
|
|
28
|
-
arrivalDate:
|
|
27
|
+
} = Q(Ie()), {
|
|
28
|
+
arrivalDate: l,
|
|
29
29
|
departureDate: v
|
|
30
30
|
} = Q(zt()), {
|
|
31
31
|
arrivalTime: m,
|
|
32
32
|
departureTime: k,
|
|
33
33
|
roomDisplay: s,
|
|
34
|
-
templateID:
|
|
34
|
+
templateID: y,
|
|
35
35
|
totalPrice: b,
|
|
36
36
|
areListingsLoading: c,
|
|
37
37
|
getSelectedPackageRoom: n,
|
|
38
|
-
selectedPackage: p
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
selectedPackage: p,
|
|
39
|
+
discountVouchers: _
|
|
40
|
+
} = Q(ue()), { removeRoom: S } = ue();
|
|
41
|
+
function E($) {
|
|
42
|
+
return $.reduce((R, { totalPrice: H }) => R + H, 0);
|
|
42
43
|
}
|
|
43
|
-
return (
|
|
44
|
-
"total-price":
|
|
45
|
-
"show-gift-card":
|
|
46
|
-
"show-terms-notice":
|
|
47
|
-
"is-sidebar-loading":
|
|
48
|
-
notice:
|
|
49
|
-
},
|
|
50
|
-
form:
|
|
51
|
-
et(
|
|
44
|
+
return ($, O) => (T(), W(Ho, {
|
|
45
|
+
"total-price": a(b),
|
|
46
|
+
"show-gift-card": $.showGiftCard,
|
|
47
|
+
"show-terms-notice": $.showTermsNotice,
|
|
48
|
+
"is-sidebar-loading": a(c),
|
|
49
|
+
notice: a(e)("hotel.reservationNotice")
|
|
50
|
+
}, bo({
|
|
51
|
+
form: P(() => [
|
|
52
|
+
et($.$slots, "form")
|
|
52
53
|
]),
|
|
53
|
-
"reservation-summary":
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
"reservation-summary": P(() => [
|
|
55
|
+
g("li", null, [
|
|
56
|
+
g("span", null, A(a(e)("booking.reservation.arrival")), 1),
|
|
57
|
+
g("b", null, A(a(i) ? a(ae)(a(l)) : `${a(ae)(a(l))}, ${a(u) ? a(f) : a(m)}`), 1)
|
|
57
58
|
]),
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
g("li", null, [
|
|
60
|
+
g("span", null, A(a(e)("booking.reservation.departure")), 1),
|
|
61
|
+
g("b", null, A(a(i) ? a(ae)(a(v)) : `${a(ae)(a(v))}, ${a(r) ? a(d) : a(k)}`), 1)
|
|
61
62
|
]),
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
])
|
|
63
|
+
g("li", null, [
|
|
64
|
+
g("span", null, A(a(e)("booking.reservation.nights")), 1),
|
|
65
|
+
g("b", null, A(a(Ct)(a(l), a(v))) + " " + A(a(ko)(a(Ct)(a(l), a(v)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
|
|
66
|
+
]),
|
|
67
|
+
a(_) ? (T(!0), I(N, { key: 0 }, q(a(_), (R) => (T(), I("li", {
|
|
68
|
+
key: R.id
|
|
69
|
+
}, [
|
|
70
|
+
g("span", null, A(`${a(e)("general.discountCode")} (${R.value})`), 1),
|
|
71
|
+
g("b", null, A(R.key), 1)
|
|
72
|
+
]))), 128)) : w("", !0)
|
|
66
73
|
]),
|
|
67
|
-
"price-summary":
|
|
68
|
-
isNaN(
|
|
69
|
-
roomGroupID:
|
|
70
|
-
title:
|
|
71
|
-
variants:
|
|
72
|
-
}) => (T(), I("div", { key:
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
"price-summary": P(() => [
|
|
75
|
+
isNaN(a(y)) && a(s).length > 0 ? (T(!0), I(N, { key: 0 }, q(a(s), ({
|
|
76
|
+
roomGroupID: R,
|
|
77
|
+
title: H,
|
|
78
|
+
variants: F
|
|
79
|
+
}) => (T(), I("div", { key: R }, [
|
|
80
|
+
g("h6", null, [
|
|
81
|
+
g("span", null, A(H), 1)
|
|
75
82
|
]),
|
|
76
|
-
(T(!0), I(
|
|
77
|
-
(T(!0), I(
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
(T(!0), I(N, null, q(F, (D, G) => (T(), I("div", { key: G }, [
|
|
84
|
+
(T(!0), I(N, null, q(D.rooms, (z, Le) => (T(), I("ul", { key: Le }, [
|
|
85
|
+
g("li", null, [
|
|
86
|
+
g("span", null, [
|
|
87
|
+
g("span", null, A(a(Te)(D.name)), 1),
|
|
88
|
+
Uo,
|
|
89
|
+
g("span", null, [
|
|
83
90
|
ht("( "),
|
|
84
|
-
|
|
91
|
+
C(te, {
|
|
85
92
|
icon: "male",
|
|
86
93
|
type: "fas",
|
|
87
94
|
color: "font"
|
|
88
95
|
}),
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
96
|
+
g("span", null, A(z.adultsCount), 1),
|
|
97
|
+
z.childrenCount > 0 ? (T(), I(N, { key: 0 }, [
|
|
98
|
+
C(te, {
|
|
92
99
|
icon: "child",
|
|
93
100
|
type: "fas",
|
|
94
101
|
color: "font"
|
|
95
102
|
}),
|
|
96
|
-
|
|
97
|
-
], 64)) :
|
|
103
|
+
g("span", null, A(z.childrenCount), 1)
|
|
104
|
+
], 64)) : w("", !0),
|
|
98
105
|
ht(") ")
|
|
99
106
|
])
|
|
100
107
|
]),
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
108
|
+
g("b", null, [
|
|
109
|
+
g("span", null, A(a(le)(z.totalPrice, a(h))), 1),
|
|
110
|
+
w("", !0)
|
|
104
111
|
])
|
|
105
112
|
]),
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
])) :
|
|
113
|
+
E(z.roomAddons) > 0 ? (T(), I("li", qo, [
|
|
114
|
+
g("span", null, A(a(e)("booking.reservation.addons")), 1),
|
|
115
|
+
g("b", null, A(a(le)(E(z.roomAddons), a(h))), 1)
|
|
116
|
+
])) : w("", !0)
|
|
110
117
|
]))), 128))
|
|
111
118
|
]))), 128))
|
|
112
|
-
]))), 128)) :
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
119
|
+
]))), 128)) : w("", !0),
|
|
120
|
+
a(n) && a(p) ? (T(), I("div", Go, [
|
|
121
|
+
g("h6", null, [
|
|
122
|
+
g("span", null, A(a(Te)(a(p).name)), 1)
|
|
116
123
|
]),
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
124
|
+
g("div", null, [
|
|
125
|
+
g("ul", null, [
|
|
126
|
+
g("li", null, [
|
|
127
|
+
g("span", null, [
|
|
128
|
+
g("span", null, A(a(Te)(a(n).title)), 1)
|
|
122
129
|
]),
|
|
123
|
-
|
|
124
|
-
|
|
130
|
+
g("b", null, [
|
|
131
|
+
g("span", null, A(a(le)(a(n).extraPrice, a(h))), 1)
|
|
125
132
|
])
|
|
126
133
|
])
|
|
127
134
|
])
|
|
128
135
|
])
|
|
129
|
-
])) :
|
|
136
|
+
])) : w("", !0)
|
|
130
137
|
]),
|
|
131
|
-
navigation:
|
|
132
|
-
et(
|
|
138
|
+
navigation: P(() => [
|
|
139
|
+
et($.$slots, "navigation")
|
|
133
140
|
]),
|
|
134
141
|
_: 2
|
|
135
142
|
}, [
|
|
136
|
-
|
|
143
|
+
a(o).addons ? {
|
|
137
144
|
name: "addons",
|
|
138
|
-
fn:
|
|
139
|
-
et(
|
|
145
|
+
fn: P(() => [
|
|
146
|
+
et($.$slots, "addons")
|
|
140
147
|
]),
|
|
141
148
|
key: "0"
|
|
142
149
|
} : void 0
|
|
143
150
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
144
151
|
}
|
|
145
|
-
}),
|
|
152
|
+
}), jo = (t) => (Ft("data-v-c84b41ba"), t = t(), Nt(), t), Yo = { key: 0 }, Ko = { class: "konnectio-selected-room-config" }, Qo = { class: "konnectio-selected-room-config-people" }, Xo = { key: 0 }, Jo = { class: "konnectio-selected-room-config-price" }, Zo = /* @__PURE__ */ jo(() => /* @__PURE__ */ g("span", null, null, -1)), ei = /* @__PURE__ */ J({
|
|
146
153
|
__name: "RoomConfigField",
|
|
147
154
|
props: {
|
|
148
155
|
modelValue: {},
|
|
@@ -153,7 +160,7 @@ const Uo = { key: 0 }, qo = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
153
160
|
},
|
|
154
161
|
emits: ["update:modelValue"],
|
|
155
162
|
setup(t, { emit: e }) {
|
|
156
|
-
const { t: o } = de(), { currency: i } = Q(
|
|
163
|
+
const { t: o } = de(), { currency: i } = Q(Ie()), u = e, r = t;
|
|
157
164
|
function f(h) {
|
|
158
165
|
u("update:modelValue", h);
|
|
159
166
|
}
|
|
@@ -161,9 +168,9 @@ const Uo = { key: 0 }, qo = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
161
168
|
get: () => r.modelValue,
|
|
162
169
|
set: (h) => f(h)
|
|
163
170
|
});
|
|
164
|
-
return (h,
|
|
171
|
+
return (h, l) => (T(), W(Ke, {
|
|
165
172
|
modelValue: d.value,
|
|
166
|
-
"onUpdate:modelValue":
|
|
173
|
+
"onUpdate:modelValue": l[0] || (l[0] = (v) => d.value = v),
|
|
167
174
|
label: h.label,
|
|
168
175
|
placeholder: "Select guest configuration",
|
|
169
176
|
labelKey: "label",
|
|
@@ -174,40 +181,40 @@ const Uo = { key: 0 }, qo = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
174
181
|
required: h.required,
|
|
175
182
|
searchable: !1
|
|
176
183
|
}, {
|
|
177
|
-
option:
|
|
178
|
-
|
|
179
|
-
|
|
184
|
+
option: P(({ data: v }) => [
|
|
185
|
+
g("span", null, [
|
|
186
|
+
C(te, {
|
|
180
187
|
icon: "male",
|
|
181
188
|
type: "fas",
|
|
182
189
|
color: "font"
|
|
183
190
|
}),
|
|
184
|
-
|
|
185
|
-
v.children > 0 ? (T(), I("span",
|
|
186
|
-
|
|
191
|
+
g("span", null, A(`${v.adults}`), 1),
|
|
192
|
+
v.children > 0 ? (T(), I("span", Yo, [
|
|
193
|
+
C(te, {
|
|
187
194
|
icon: "child",
|
|
188
195
|
type: "fas",
|
|
189
196
|
color: "font"
|
|
190
197
|
}),
|
|
191
|
-
|
|
192
|
-
])) :
|
|
193
|
-
|
|
198
|
+
g("span", null, A(`${v.children}`), 1)
|
|
199
|
+
])) : w("", !0),
|
|
200
|
+
g("span", null, A(`(${a(le)(v.price, a(i))})`), 1)
|
|
194
201
|
])
|
|
195
202
|
]),
|
|
196
|
-
"selected-option":
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
203
|
+
"selected-option": P(({ data: v }) => [
|
|
204
|
+
g("div", Ko, [
|
|
205
|
+
g("div", Qo, [
|
|
206
|
+
g("div", null, [
|
|
207
|
+
w("", !0),
|
|
208
|
+
g("span", null, A(`${v.adults} ${v.adults === 1 ? a(o)("general.adult") : a(o)("general.adults")}`), 1)
|
|
202
209
|
]),
|
|
203
|
-
v.children > 0 ? (T(), I("div",
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
])) :
|
|
210
|
+
v.children > 0 ? (T(), I("div", Xo, [
|
|
211
|
+
w("", !0),
|
|
212
|
+
g("span", null, A(`& ${v.children} ${v.children === 1 ? a(o)("general.child") : a(o)("general.children")}`), 1)
|
|
213
|
+
])) : w("", !0)
|
|
207
214
|
]),
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
ht(" " +
|
|
215
|
+
g("div", Jo, [
|
|
216
|
+
Zo,
|
|
217
|
+
ht(" " + A(`(${a(le)(v.price, a(i))})`), 1)
|
|
211
218
|
])
|
|
212
219
|
])
|
|
213
220
|
]),
|
|
@@ -215,15 +222,15 @@ const Uo = { key: 0 }, qo = { key: 1 }, tt = /* @__PURE__ */ J({
|
|
|
215
222
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
216
223
|
}
|
|
217
224
|
});
|
|
218
|
-
const
|
|
219
|
-
const
|
|
225
|
+
const ti = /* @__PURE__ */ oe(ei, [["__scopeId", "data-v-c84b41ba"]]), oi = { class: "konnectio-availability-listing-selection" }, ii = { key: 1 }, ni = { class: "fresh-booking-listing-config-body" }, ri = { class: "fresh-booking-listing-units-body" };
|
|
226
|
+
const si = /* @__PURE__ */ J({
|
|
220
227
|
__name: "Hotel",
|
|
221
228
|
props: {
|
|
222
229
|
room: {},
|
|
223
230
|
layout: {}
|
|
224
231
|
},
|
|
225
232
|
setup(t) {
|
|
226
|
-
const { t: e } = de(), o = t, i =
|
|
233
|
+
const { t: e } = de(), o = t, i = $e([]);
|
|
227
234
|
function u(E) {
|
|
228
235
|
i.value[E].config.push({
|
|
229
236
|
id: NaN,
|
|
@@ -236,7 +243,7 @@ const ri = /* @__PURE__ */ J({
|
|
|
236
243
|
value: E.id
|
|
237
244
|
}))), f = Y(() => i.value.flatMap((E) => E.id));
|
|
238
245
|
Y(() => r.value.filter((E) => !f.value.includes(E.value)));
|
|
239
|
-
const { hideAvailableRoomAmount: d, currency: h } = Q(
|
|
246
|
+
const { hideAvailableRoomAmount: d, currency: h } = Q(Ie()), { roomSelect: l } = Q(ue()), { viewItem: v, addToCart: m, removeFromCart: k } = Ut(), s = (E, $) => o.room.rates.find((O) => O.id === E)?.occupantRates.find((O) => O.index === $), y = Y(() => o.room.rates.reduce(
|
|
240
247
|
(E, $) => E < $.rackRate ? E : $.rackRate,
|
|
241
248
|
1 / 0
|
|
242
249
|
)), b = Y(() => o.room.rates.every((E) => E.isBreakfastIncluded === !0)), c = (E, $) => s(E, $) ? s(E, $)?.rooms : null, n = (E) => o.room.rates.length > 0 ? o.room.rates.find(($) => $.id === E)?.occupantRates.map(($) => ({
|
|
@@ -266,24 +273,24 @@ const ri = /* @__PURE__ */ J({
|
|
|
266
273
|
yt(() => {
|
|
267
274
|
_();
|
|
268
275
|
});
|
|
269
|
-
const
|
|
270
|
-
return
|
|
271
|
-
$.length > 0 && E.forEach((
|
|
272
|
-
|
|
273
|
-
const
|
|
274
|
-
|
|
276
|
+
const S = Y(() => JSON.parse(JSON.stringify(i.value)));
|
|
277
|
+
return Ge(S, (E, $) => {
|
|
278
|
+
$.length > 0 && E.forEach((O, R) => {
|
|
279
|
+
O.config.forEach((H, F) => {
|
|
280
|
+
const D = H.units, G = $[R].config[F].units;
|
|
281
|
+
D !== G && (D > G ? (i.value[R].config[F].addons.push({}), m({
|
|
275
282
|
id: o.room.id,
|
|
276
283
|
name: o.room.title,
|
|
277
|
-
value: o.room.rates[
|
|
278
|
-
})) : (i.value[
|
|
284
|
+
value: o.room.rates[R].rackRate
|
|
285
|
+
})) : (i.value[R].config[F].addons.pop(), k({
|
|
279
286
|
id: o.room.id,
|
|
280
287
|
name: o.room.title,
|
|
281
|
-
value: o.room.rates[
|
|
288
|
+
value: o.room.rates[R].rackRate
|
|
282
289
|
})));
|
|
283
290
|
});
|
|
284
291
|
});
|
|
285
|
-
}, { deep: !0 }),
|
|
286
|
-
|
|
292
|
+
}, { deep: !0 }), Ge(i, () => {
|
|
293
|
+
l.value[o.room.id] = i.value;
|
|
287
294
|
}, { deep: !0 }), (E, $) => (T(), W(_t, {
|
|
288
295
|
"listing-id": E.room.id,
|
|
289
296
|
gallery: E.room.images,
|
|
@@ -291,62 +298,62 @@ const ri = /* @__PURE__ */ J({
|
|
|
291
298
|
description: E.room.description,
|
|
292
299
|
layout: E.layout,
|
|
293
300
|
facilities: E.room.facilities,
|
|
294
|
-
"prices-from":
|
|
301
|
+
"prices-from": y.value,
|
|
295
302
|
"includes-breakfast": b.value
|
|
296
303
|
}, {
|
|
297
|
-
action:
|
|
298
|
-
|
|
299
|
-
(T(!0), I(
|
|
300
|
-
key:
|
|
304
|
+
action: P(() => [
|
|
305
|
+
g("div", oi, [
|
|
306
|
+
(T(!0), I(N, null, q(i.value, (O, R) => (T(), I("div", {
|
|
307
|
+
key: O.id,
|
|
301
308
|
class: "freshbooking-hotel-room"
|
|
302
309
|
}, [
|
|
303
|
-
p.value ? (T(), W(
|
|
310
|
+
p.value ? (T(), W(Ke, {
|
|
304
311
|
key: 0,
|
|
305
|
-
modelValue:
|
|
306
|
-
"onUpdate:modelValue": (
|
|
307
|
-
label:
|
|
308
|
-
placeholder:
|
|
312
|
+
modelValue: O.id,
|
|
313
|
+
"onUpdate:modelValue": (H) => O.id = H,
|
|
314
|
+
label: a(e)("hotel.roomVariant"),
|
|
315
|
+
placeholder: a(e)("hotel.chooseARoomVariant"),
|
|
309
316
|
options: r.value,
|
|
310
317
|
searchable: !1
|
|
311
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) :
|
|
312
|
-
|
|
313
|
-
(T(!0), I(
|
|
314
|
-
id:
|
|
318
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : w("", !0),
|
|
319
|
+
O.id ? (T(), I("div", ii, [
|
|
320
|
+
(T(!0), I(N, null, q(E.room.rates, ({
|
|
321
|
+
id: H,
|
|
315
322
|
maximumOccupants: F
|
|
316
|
-
}) => (T(), I("div", { key:
|
|
317
|
-
|
|
318
|
-
key:
|
|
323
|
+
}) => (T(), I("div", { key: H }, [
|
|
324
|
+
O.id === H ? (T(!0), I(N, { key: 0 }, q(O.config, (D, G) => (T(), I("div", {
|
|
325
|
+
key: G,
|
|
319
326
|
class: "booking-availability-listing-action-selective"
|
|
320
327
|
}, [
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
modelValue:
|
|
324
|
-
"onUpdate:modelValue": (
|
|
328
|
+
g("ul", ni, [
|
|
329
|
+
C(ti, {
|
|
330
|
+
modelValue: D.id,
|
|
331
|
+
"onUpdate:modelValue": (z) => D.id = z,
|
|
325
332
|
icon: "male",
|
|
326
333
|
"icon-type": "fas",
|
|
327
|
-
label:
|
|
328
|
-
description: `${
|
|
329
|
-
options: n(
|
|
330
|
-
readonly: !(n(
|
|
334
|
+
label: a(e)("general.guests"),
|
|
335
|
+
description: `${a(e)("general.maximumGuests")}: ${F}`,
|
|
336
|
+
options: n(H),
|
|
337
|
+
readonly: !(n(H).length > 1)
|
|
331
338
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
332
339
|
]),
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
modelValue:
|
|
336
|
-
"onUpdate:modelValue": (
|
|
337
|
-
description:
|
|
340
|
+
g("ul", ri, [
|
|
341
|
+
C(jt, {
|
|
342
|
+
modelValue: D.units,
|
|
343
|
+
"onUpdate:modelValue": (z) => D.units = z,
|
|
344
|
+
description: a(d) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${c(O.id, D.id)}`,
|
|
338
345
|
icon: "house",
|
|
339
346
|
"icon-type": "fas",
|
|
340
347
|
"icon-placement": "label",
|
|
341
|
-
label:
|
|
348
|
+
label: a(e)("booking.availability.units"),
|
|
342
349
|
minValue: 0,
|
|
343
|
-
"max-value": c(
|
|
350
|
+
"max-value": c(H, D.id) || 1 / 0
|
|
344
351
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
345
352
|
]),
|
|
346
|
-
|
|
347
|
-
]))), 128)) :
|
|
353
|
+
w("", !0)
|
|
354
|
+
]))), 128)) : w("", !0)
|
|
348
355
|
]))), 128))
|
|
349
|
-
])) :
|
|
356
|
+
])) : w("", !0)
|
|
350
357
|
]))), 128))
|
|
351
358
|
])
|
|
352
359
|
]),
|
|
@@ -354,7 +361,7 @@ const ri = /* @__PURE__ */ J({
|
|
|
354
361
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
355
362
|
}
|
|
356
363
|
});
|
|
357
|
-
const
|
|
364
|
+
const ai = /* @__PURE__ */ oe(si, [["__scopeId", "data-v-79268706"]]), li = { class: "konnectio-template-side-panel" }, ui = /* @__PURE__ */ J({
|
|
358
365
|
__name: "Template",
|
|
359
366
|
props: {
|
|
360
367
|
title: {},
|
|
@@ -364,39 +371,39 @@ const si = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-79268706"]]), ai = { cl
|
|
|
364
371
|
callback: { type: Function }
|
|
365
372
|
},
|
|
366
373
|
setup(t) {
|
|
367
|
-
const { t: e } = de(), { templateID: o, roomGroupID: i } = Q(ue()), { currency: u } = Q(
|
|
374
|
+
const { t: e } = de(), { templateID: o, roomGroupID: i } = Q(ue()), { currency: u } = Q(Ie()), { clearRoomSelection: r } = ue(), f = t;
|
|
368
375
|
function d(h) {
|
|
369
376
|
o.value = f.templateId, i.value = h, r(), f.callback(2);
|
|
370
377
|
}
|
|
371
|
-
return (h,
|
|
378
|
+
return (h, l) => (T(), W(wo, {
|
|
372
379
|
title: h.title,
|
|
373
380
|
description: h.description,
|
|
374
|
-
subtitle:
|
|
381
|
+
subtitle: a(e)("booking.availability.selectATemplateRoom")
|
|
375
382
|
}, {
|
|
376
|
-
default:
|
|
377
|
-
|
|
378
|
-
(T(!0), I(
|
|
383
|
+
default: P(() => [
|
|
384
|
+
g("div", li, [
|
|
385
|
+
(T(!0), I(N, null, q(h.roomGroups, ({
|
|
379
386
|
id: v,
|
|
380
387
|
title: m,
|
|
381
388
|
description: k,
|
|
382
389
|
images: s,
|
|
383
|
-
facilities:
|
|
390
|
+
facilities: y,
|
|
384
391
|
extraPrice: b
|
|
385
392
|
}) => (T(), W(_t, {
|
|
386
393
|
key: v,
|
|
387
394
|
"listing-id": v,
|
|
388
395
|
name: m,
|
|
389
396
|
description: k,
|
|
390
|
-
facilities:
|
|
397
|
+
facilities: y,
|
|
391
398
|
gallery: s,
|
|
392
399
|
"includes-breakfast": !1,
|
|
393
400
|
"hide-info-button": !0
|
|
394
401
|
}, {
|
|
395
|
-
action:
|
|
396
|
-
|
|
397
|
-
|
|
402
|
+
action: P(() => [
|
|
403
|
+
g("div", null, [
|
|
404
|
+
C(Ee, {
|
|
398
405
|
onClickEvent: (c) => d(v),
|
|
399
|
-
label: `${
|
|
406
|
+
label: `${a(e)("booking.availability.selectThisRoom")} (${a(le)(b, a(u))})`,
|
|
400
407
|
"full-width": ""
|
|
401
408
|
}, null, 8, ["onClickEvent", "label"])
|
|
402
409
|
])
|
|
@@ -409,10 +416,10 @@ const si = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-79268706"]]), ai = { cl
|
|
|
409
416
|
}, 8, ["title", "description", "subtitle"]));
|
|
410
417
|
}
|
|
411
418
|
});
|
|
412
|
-
const
|
|
419
|
+
const di = /* @__PURE__ */ oe(ui, [["__scopeId", "data-v-af9fa4ee"]]);
|
|
413
420
|
var Qt = {};
|
|
414
421
|
Object.defineProperty(Qt, "__esModule", { value: !0 });
|
|
415
|
-
var
|
|
422
|
+
var ci = [
|
|
416
423
|
"area",
|
|
417
424
|
"base",
|
|
418
425
|
"br",
|
|
@@ -469,213 +476,213 @@ var di = [
|
|
|
469
476
|
"tr",
|
|
470
477
|
"ul",
|
|
471
478
|
"video"
|
|
472
|
-
],
|
|
473
|
-
function _i(t, e, o) {
|
|
474
|
-
return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ? bi(t, e, o) : ki(t, e, o)) : "";
|
|
475
|
-
}
|
|
476
|
-
Qt.default = _i;
|
|
479
|
+
], Be = ["audio", "math", "svg", "video"], Ce = 10, fi = 33, hi = 34, pi = 38, mi = 39, we = 47, mt = 59, Ne = 60, vi = 61, ot = 62, gi = /[<&\n\ud800-\udbff]/, yi = /[<&\ud800-\udbff]/, _i = /\s+/g;
|
|
477
480
|
function bi(t, e, o) {
|
|
478
|
-
|
|
481
|
+
return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ? ki(t, e, o) : Ei(t, e, o)) : "";
|
|
482
|
+
}
|
|
483
|
+
Qt.default = bi;
|
|
484
|
+
function ki(t, e, o) {
|
|
485
|
+
for (var i = o.imageWeight, u = i === void 0 ? 2 : i, r = o.indicator, f = r === void 0 ? "…" : r, d = o.maxLines, h = d === void 0 ? 1 / 0 : d, l = o.stripTags, v = l === void 0 ? !1 : l, m = f.length, k = 1, s = typeof v == "boolean" ? function() {
|
|
479
486
|
return v;
|
|
480
487
|
} : function(ee) {
|
|
481
488
|
return v.includes(ee);
|
|
482
|
-
},
|
|
483
|
-
for (var _e; _e =
|
|
489
|
+
}, y = [], b = function(ee) {
|
|
490
|
+
for (var _e; _e = y.pop(), _e !== void 0; )
|
|
484
491
|
s(_e) || (ee += "</" + _e + ">");
|
|
485
492
|
return ee;
|
|
486
493
|
}, c = 0, n = -1, p = t.length; c < p; c++) {
|
|
487
|
-
var _ = c ? t.slice(c) : t,
|
|
494
|
+
var _ = c ? t.slice(c) : t, S = Ci(y), E = n > -1 || S ? yi : gi, $ = _.search(E), O = $ > -1 ? $ : _.length;
|
|
488
495
|
if (n === -1) {
|
|
489
|
-
if (
|
|
490
|
-
var
|
|
491
|
-
if (s(
|
|
492
|
-
var
|
|
493
|
-
|
|
496
|
+
if (S) {
|
|
497
|
+
var R = Si(O === _.length ? _ : _.slice(0, $));
|
|
498
|
+
if (s(y[y.length - 1])) {
|
|
499
|
+
var H = c > 0 && !me(t.charCodeAt(c - 1)), F = !me(t.charCodeAt(c + O));
|
|
500
|
+
R.length > 0 ? R = (H ? " " : "") + R + (F ? " " : "") : H && F && (R = " "), t = t.slice(0, c) + R + t.slice(c + O), O = R.length;
|
|
494
501
|
}
|
|
495
|
-
if (m +=
|
|
502
|
+
if (m += R.length, m > e)
|
|
496
503
|
break;
|
|
497
|
-
} else if (m +=
|
|
498
|
-
c = Math.max(c +
|
|
504
|
+
} else if (m += O, m > e) {
|
|
505
|
+
c = Math.max(c + O - m + e, 0);
|
|
499
506
|
break;
|
|
500
507
|
}
|
|
501
508
|
}
|
|
502
|
-
if (c +=
|
|
509
|
+
if (c += O, $ === -1)
|
|
503
510
|
break;
|
|
504
|
-
var
|
|
505
|
-
if (
|
|
506
|
-
var
|
|
507
|
-
if (
|
|
508
|
-
var
|
|
509
|
-
c =
|
|
510
|
-
} else if (
|
|
511
|
-
var
|
|
512
|
-
c =
|
|
511
|
+
var D = t.charCodeAt(c);
|
|
512
|
+
if (D === Ne) {
|
|
513
|
+
var G = t.charCodeAt(c + 1), z = G === fi;
|
|
514
|
+
if (z && t.substr(c + 2, 2) === "--") {
|
|
515
|
+
var Le = t.indexOf("-->", c + 4) + 3;
|
|
516
|
+
c = Le - 1;
|
|
517
|
+
} else if (z && t.substr(c + 2, 7) === "[CDATA[") {
|
|
518
|
+
var Pe = t.indexOf("]]>", c + 9) + 3;
|
|
519
|
+
c = Pe - 1;
|
|
513
520
|
} else {
|
|
514
|
-
var
|
|
515
|
-
if (m === e && !
|
|
521
|
+
var Ae = G === we;
|
|
522
|
+
if (m === e && !Ae) {
|
|
516
523
|
m++;
|
|
517
524
|
break;
|
|
518
525
|
}
|
|
519
|
-
for (var ge = 0,
|
|
520
|
-
if (
|
|
526
|
+
for (var ge = 0, U = c, ce = !1; ; ) {
|
|
527
|
+
if (U++, U >= p)
|
|
521
528
|
throw new Error("Invalid HTML: " + t);
|
|
522
|
-
var fe = t.charCodeAt(
|
|
529
|
+
var fe = t.charCodeAt(U);
|
|
523
530
|
if (ce)
|
|
524
|
-
ge ? fe === ge && (ce = !1) : me(fe) ? ce = !1 : fe === ot && (ce = !1,
|
|
525
|
-
else if (fe ===
|
|
526
|
-
for (; me(t.charCodeAt(
|
|
527
|
-
|
|
531
|
+
ge ? fe === ge && (ce = !1) : me(fe) ? ce = !1 : fe === ot && (ce = !1, U--);
|
|
532
|
+
else if (fe === vi) {
|
|
533
|
+
for (; me(t.charCodeAt(U + 1)); )
|
|
534
|
+
U++;
|
|
528
535
|
ce = !0;
|
|
529
|
-
var
|
|
530
|
-
|
|
536
|
+
var Oe = t.charCodeAt(U + 1);
|
|
537
|
+
Oe === hi || Oe === mi ? (ge = Oe, U++) : ge = 0;
|
|
531
538
|
} else if (fe === ot) {
|
|
532
|
-
var
|
|
533
|
-
|
|
534
|
-
var ne = s(
|
|
535
|
-
if (
|
|
536
|
-
var Qe =
|
|
537
|
-
if (Qe !==
|
|
539
|
+
var Re = c + (Ae ? 2 : 1), Ve = Math.min(Ti(t, Re), U), B = t.slice(Re, Ve).toLowerCase();
|
|
540
|
+
B.charCodeAt(B.length - 1) === we && (B = B.slice(0, B.length - 1));
|
|
541
|
+
var ne = s(B);
|
|
542
|
+
if (Ae) {
|
|
543
|
+
var Qe = y.pop();
|
|
544
|
+
if (Qe !== B)
|
|
538
545
|
throw new Error("Invalid HTML: " + t);
|
|
539
|
-
if (
|
|
540
|
-
return
|
|
546
|
+
if (Be.includes(B) && !Be.some(function(ee) {
|
|
547
|
+
return y.includes(ee);
|
|
541
548
|
})) {
|
|
542
549
|
if (ne)
|
|
543
550
|
c = n, n = -1;
|
|
544
551
|
else if (n = -1, m += u, m > e)
|
|
545
552
|
break;
|
|
546
553
|
}
|
|
547
|
-
var Xe = Xt.includes(
|
|
554
|
+
var Xe = Xt.includes(B);
|
|
548
555
|
if (Xe && n === -1 && !ne && (k++, k > h)) {
|
|
549
|
-
|
|
556
|
+
y.push(B);
|
|
550
557
|
break;
|
|
551
558
|
}
|
|
552
|
-
} else if (
|
|
559
|
+
} else if (ci.includes(B) || t.charCodeAt(U - 1) === we) {
|
|
553
560
|
if (!ne) {
|
|
554
|
-
if (
|
|
561
|
+
if (B === "br") {
|
|
555
562
|
if (k++, k > h)
|
|
556
563
|
break;
|
|
557
|
-
} else if (
|
|
564
|
+
} else if (B === "img" && (m += u, m > e))
|
|
558
565
|
break;
|
|
559
566
|
}
|
|
560
567
|
} else
|
|
561
|
-
|
|
562
|
-
return
|
|
563
|
-
}) ||
|
|
564
|
-
ne && n === -1 ? (t = t.slice(0, c) + t.slice(
|
|
568
|
+
Be.some(function(ee) {
|
|
569
|
+
return y.includes(ee);
|
|
570
|
+
}) || Be.includes(B) && (n = c), y.push(B);
|
|
571
|
+
ne && n === -1 ? (t = t.slice(0, c) + t.slice(U + 1), c--) : c = U;
|
|
565
572
|
break;
|
|
566
573
|
}
|
|
567
574
|
}
|
|
568
575
|
if (m > e || k > h)
|
|
569
576
|
break;
|
|
570
577
|
}
|
|
571
|
-
} else if (
|
|
572
|
-
for (var
|
|
573
|
-
var
|
|
574
|
-
if (Jt(
|
|
575
|
-
|
|
578
|
+
} else if (D === pi) {
|
|
579
|
+
for (var U = c + 1, De = !0; ; ) {
|
|
580
|
+
var Me = t.charCodeAt(U);
|
|
581
|
+
if (Jt(Me))
|
|
582
|
+
U++;
|
|
576
583
|
else {
|
|
577
|
-
if (
|
|
584
|
+
if (Me === mt)
|
|
578
585
|
break;
|
|
579
|
-
|
|
586
|
+
De = !1;
|
|
580
587
|
break;
|
|
581
588
|
}
|
|
582
589
|
}
|
|
583
590
|
if (n === -1 && (m++, m > e))
|
|
584
591
|
break;
|
|
585
|
-
|
|
586
|
-
} else if (
|
|
592
|
+
De && (c = U);
|
|
593
|
+
} else if (D === Ce) {
|
|
587
594
|
if (m++, m > e || (k++, k > h))
|
|
588
595
|
break;
|
|
589
596
|
} else {
|
|
590
597
|
if (n === -1 && (m++, m > e))
|
|
591
598
|
break;
|
|
592
|
-
if ((
|
|
593
|
-
var
|
|
594
|
-
(
|
|
599
|
+
if ((D & 64512) === 55296) {
|
|
600
|
+
var G = t.charCodeAt(c + 1);
|
|
601
|
+
(G & 64512) === 56320 && c++;
|
|
595
602
|
}
|
|
596
603
|
}
|
|
597
604
|
}
|
|
598
605
|
if (m > e) {
|
|
599
|
-
var he =
|
|
606
|
+
var he = $i(t, c);
|
|
600
607
|
if (f) {
|
|
601
|
-
for (var ie = c + he.length; t.charCodeAt(ie) ===
|
|
602
|
-
var
|
|
603
|
-
if (
|
|
604
|
-
ie =
|
|
608
|
+
for (var ie = c + he.length; t.charCodeAt(ie) === Ne && t.charCodeAt(ie + 1) === we; ) {
|
|
609
|
+
var xe = t.indexOf(">", ie + 2) + 1;
|
|
610
|
+
if (xe)
|
|
611
|
+
ie = xe;
|
|
605
612
|
else
|
|
606
613
|
break;
|
|
607
614
|
}
|
|
608
|
-
ie && (ie === t.length ||
|
|
615
|
+
ie && (ie === t.length || It(t, ie)) && (c += he.length, he = t.charAt(c));
|
|
609
616
|
}
|
|
610
|
-
for (; he === "<" && t.charCodeAt(c + 1) ===
|
|
611
|
-
var
|
|
612
|
-
if (!
|
|
617
|
+
for (; he === "<" && t.charCodeAt(c + 1) === we; ) {
|
|
618
|
+
var B = y.pop();
|
|
619
|
+
if (!B)
|
|
613
620
|
break;
|
|
614
621
|
var ye = t.indexOf(">", c + 2);
|
|
615
|
-
if (ye === -1 || t.slice(c + 2, ye).trim() !==
|
|
622
|
+
if (ye === -1 || t.slice(c + 2, ye).trim() !== B)
|
|
616
623
|
throw new Error("Invalid HTML: " + t);
|
|
617
|
-
s(
|
|
624
|
+
s(B) ? t = t.slice(0, c) + t.slice(ye + 1) : c = ye + 1, he = t.charAt(c);
|
|
618
625
|
}
|
|
619
626
|
if (c < t.length) {
|
|
620
627
|
if (!o.breakWords)
|
|
621
628
|
for (var pe = c - f.length; pe >= 0; pe--) {
|
|
622
|
-
var
|
|
623
|
-
if (
|
|
629
|
+
var D = t.charCodeAt(pe);
|
|
630
|
+
if (D === ot || D === mt)
|
|
624
631
|
break;
|
|
625
|
-
if (
|
|
632
|
+
if (D === Ce || D === Ne) {
|
|
626
633
|
c = pe;
|
|
627
634
|
break;
|
|
628
|
-
} else if (me(
|
|
635
|
+
} else if (me(D)) {
|
|
629
636
|
c = pe + (f ? 1 : 0);
|
|
630
637
|
break;
|
|
631
638
|
}
|
|
632
639
|
}
|
|
633
|
-
var
|
|
634
|
-
return
|
|
640
|
+
var We = t.slice(0, c);
|
|
641
|
+
return It(t, c) || (We += f), b(We);
|
|
635
642
|
}
|
|
636
643
|
} else if (k > h)
|
|
637
644
|
return b(t.slice(0, c));
|
|
638
645
|
return t;
|
|
639
646
|
}
|
|
640
|
-
function
|
|
641
|
-
for (var i = o.indicator, u = i === void 0 ? "…" : i, r = o.maxLines, f = r === void 0 ? 1 / 0 : r, d = u.length, h = 1,
|
|
642
|
-
var m = t.charCodeAt(
|
|
647
|
+
function Ei(t, e, o) {
|
|
648
|
+
for (var i = o.indicator, u = i === void 0 ? "…" : i, r = o.maxLines, f = r === void 0 ? 1 / 0 : r, d = u.length, h = 1, l = 0, v = t.length; l < v && (d++, !(d > e)); l++) {
|
|
649
|
+
var m = t.charCodeAt(l);
|
|
643
650
|
if (m === Ce) {
|
|
644
651
|
if (h++, h > f)
|
|
645
652
|
break;
|
|
646
653
|
} else if ((m & 64512) === 55296) {
|
|
647
|
-
var k = t.charCodeAt(
|
|
648
|
-
(k & 64512) === 56320 &&
|
|
654
|
+
var k = t.charCodeAt(l + 1);
|
|
655
|
+
(k & 64512) === 56320 && l++;
|
|
649
656
|
}
|
|
650
657
|
}
|
|
651
658
|
if (d > e) {
|
|
652
|
-
var s = Zt(t,
|
|
659
|
+
var s = Zt(t, l);
|
|
653
660
|
if (u) {
|
|
654
|
-
var
|
|
655
|
-
if (
|
|
661
|
+
var y = l + s.length;
|
|
662
|
+
if (y === t.length)
|
|
656
663
|
return t;
|
|
657
|
-
if (t.charCodeAt(
|
|
658
|
-
return t.slice(0,
|
|
664
|
+
if (t.charCodeAt(y) === Ce)
|
|
665
|
+
return t.slice(0, l + s.length);
|
|
659
666
|
}
|
|
660
667
|
if (!o.breakWords)
|
|
661
|
-
for (var b =
|
|
668
|
+
for (var b = l - u.length; b >= 0; b--) {
|
|
662
669
|
var m = t.charCodeAt(b);
|
|
663
670
|
if (m === Ce) {
|
|
664
|
-
|
|
671
|
+
l = b, s = `
|
|
665
672
|
`;
|
|
666
673
|
break;
|
|
667
674
|
} else if (me(m)) {
|
|
668
|
-
|
|
675
|
+
l = b + (u ? 1 : 0);
|
|
669
676
|
break;
|
|
670
677
|
}
|
|
671
678
|
}
|
|
672
|
-
return t.slice(0,
|
|
679
|
+
return t.slice(0, l) + (s === `
|
|
673
680
|
` ? "" : u);
|
|
674
681
|
} else if (h > f)
|
|
675
|
-
return t.slice(0,
|
|
682
|
+
return t.slice(0, l);
|
|
676
683
|
return t;
|
|
677
684
|
}
|
|
678
|
-
function
|
|
685
|
+
function Ti(t, e) {
|
|
679
686
|
for (var o = t.length, i = e; i < o; i++)
|
|
680
687
|
if (me(t.charCodeAt(i)))
|
|
681
688
|
return i;
|
|
@@ -684,11 +691,11 @@ function Ei(t, e) {
|
|
|
684
691
|
function Jt(t) {
|
|
685
692
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
686
693
|
}
|
|
687
|
-
function
|
|
694
|
+
function It(t, e) {
|
|
688
695
|
var o = t.charCodeAt(e);
|
|
689
696
|
if (o === Ce)
|
|
690
697
|
return !0;
|
|
691
|
-
if (o ===
|
|
698
|
+
if (o === Ne) {
|
|
692
699
|
var i = "(" + Xt.join("|") + "|br)", u = new RegExp("^<" + i + `[
|
|
693
700
|
\f\r ]*/?>`, "i");
|
|
694
701
|
return u.test(t.slice(e));
|
|
@@ -698,7 +705,7 @@ function $t(t, e) {
|
|
|
698
705
|
function me(t) {
|
|
699
706
|
return t === 9 || t === 10 || t === 12 || t === 13 || t === 32;
|
|
700
707
|
}
|
|
701
|
-
function
|
|
708
|
+
function Ci(t) {
|
|
702
709
|
for (var e = t.length - 1; e >= 0; e--) {
|
|
703
710
|
var o = t[e];
|
|
704
711
|
if (o === "li" || o === "td")
|
|
@@ -708,8 +715,8 @@ function Ti(t) {
|
|
|
708
715
|
}
|
|
709
716
|
return !1;
|
|
710
717
|
}
|
|
711
|
-
function
|
|
712
|
-
return t.trim().replace(
|
|
718
|
+
function Si(t) {
|
|
719
|
+
return t.trim().replace(_i, " ");
|
|
713
720
|
}
|
|
714
721
|
function Zt(t, e) {
|
|
715
722
|
var o = t.charCodeAt(e);
|
|
@@ -720,7 +727,7 @@ function Zt(t, e) {
|
|
|
720
727
|
}
|
|
721
728
|
return String.fromCharCode(o);
|
|
722
729
|
}
|
|
723
|
-
function
|
|
730
|
+
function $i(t, e) {
|
|
724
731
|
var o = Zt(t, e);
|
|
725
732
|
if (o === "&")
|
|
726
733
|
for (; ; ) {
|
|
@@ -736,7 +743,7 @@ function Si(t, e) {
|
|
|
736
743
|
}
|
|
737
744
|
return o;
|
|
738
745
|
}
|
|
739
|
-
const Ii = ["innerHTML"],
|
|
746
|
+
const Ii = ["innerHTML"], Li = /* @__PURE__ */ J({
|
|
740
747
|
__name: "Template",
|
|
741
748
|
props: {
|
|
742
749
|
id: {},
|
|
@@ -748,13 +755,13 @@ const Ii = ["innerHTML"], $i = /* @__PURE__ */ J({
|
|
|
748
755
|
callback: { type: Function }
|
|
749
756
|
},
|
|
750
757
|
setup(t) {
|
|
751
|
-
Q(ue()), Q(
|
|
758
|
+
Q(ue()), Q(Ie()), de();
|
|
752
759
|
const e = t, o = Y(() => [{
|
|
753
760
|
large: e.image.url,
|
|
754
761
|
medium: e.image.url,
|
|
755
762
|
thumb: e.image.url,
|
|
756
763
|
url: e.image.url
|
|
757
|
-
}]), i =
|
|
764
|
+
}]), i = $e(!1);
|
|
758
765
|
function u() {
|
|
759
766
|
i.value = !0;
|
|
760
767
|
}
|
|
@@ -769,23 +776,23 @@ const Ii = ["innerHTML"], $i = /* @__PURE__ */ J({
|
|
|
769
776
|
"includes-breakfast": !1,
|
|
770
777
|
"hide-info-button": !0
|
|
771
778
|
}, {
|
|
772
|
-
description:
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
innerHTML:
|
|
779
|
+
description: P(() => [
|
|
780
|
+
w("", !0),
|
|
781
|
+
g("p", {
|
|
782
|
+
innerHTML: a(Eo)(f.description)
|
|
776
783
|
}, null, 8, Ii)
|
|
777
784
|
]),
|
|
778
|
-
action:
|
|
779
|
-
|
|
780
|
-
|
|
785
|
+
action: P(() => [
|
|
786
|
+
g("div", null, [
|
|
787
|
+
C(Ee, {
|
|
781
788
|
onClickEvent: u,
|
|
782
789
|
label: "Vælg dette ophold",
|
|
783
790
|
"full-width": ""
|
|
784
791
|
})
|
|
785
792
|
])
|
|
786
793
|
]),
|
|
787
|
-
default:
|
|
788
|
-
|
|
794
|
+
default: P(() => [
|
|
795
|
+
C(di, {
|
|
789
796
|
modelValue: i.value,
|
|
790
797
|
"onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
|
|
791
798
|
title: f.name,
|
|
@@ -798,7 +805,7 @@ const Ii = ["innerHTML"], $i = /* @__PURE__ */ J({
|
|
|
798
805
|
}, 8, ["listing-id", "name", "description", "gallery"]));
|
|
799
806
|
}
|
|
800
807
|
});
|
|
801
|
-
const
|
|
808
|
+
const Ai = /* @__PURE__ */ oe(Li, [["__scopeId", "data-v-f277e2e5"]]), Lt = /* @__PURE__ */ J({
|
|
802
809
|
__name: "TimeField",
|
|
803
810
|
props: {
|
|
804
811
|
modelValue: {},
|
|
@@ -827,10 +834,10 @@ const Li = /* @__PURE__ */ oe($i, [["__scopeId", "data-v-f277e2e5"]]), Lt = /* @
|
|
|
827
834
|
function u(f) {
|
|
828
835
|
o("update:modelValue", f);
|
|
829
836
|
}
|
|
830
|
-
const r =
|
|
831
|
-
return
|
|
837
|
+
const r = $e(i.modelValue);
|
|
838
|
+
return Ge(r, (f) => {
|
|
832
839
|
u(f);
|
|
833
|
-
}), (f, d) => (T(), W(
|
|
840
|
+
}), (f, d) => (T(), W(zo, {
|
|
834
841
|
modelValue: r.value,
|
|
835
842
|
"onUpdate:modelValue": d[0] || (d[0] = (h) => r.value = h),
|
|
836
843
|
type: "time",
|
|
@@ -846,7 +853,7 @@ const Li = /* @__PURE__ */ oe($i, [["__scopeId", "data-v-f277e2e5"]]), Lt = /* @
|
|
|
846
853
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
847
854
|
}
|
|
848
855
|
});
|
|
849
|
-
const
|
|
856
|
+
const Oi = { style: { display: "flex", "align-items": "baseline" } }, Vi = /* @__PURE__ */ J({
|
|
850
857
|
__name: "CountryField",
|
|
851
858
|
props: {
|
|
852
859
|
modelValue: {},
|
|
@@ -866,35 +873,35 @@ const Ai = { style: { display: "flex", "align-items": "baseline" } }, Oi = /* @_
|
|
|
866
873
|
get: () => u.modelValue,
|
|
867
874
|
set: (d) => r(d)
|
|
868
875
|
});
|
|
869
|
-
return (d, h) => (T(), W(
|
|
876
|
+
return (d, h) => (T(), W(Ke, {
|
|
870
877
|
modelValue: f.value,
|
|
871
|
-
"onUpdate:modelValue": h[0] || (h[0] = (
|
|
878
|
+
"onUpdate:modelValue": h[0] || (h[0] = (l) => f.value = l),
|
|
872
879
|
label: d.label,
|
|
873
|
-
placeholder:
|
|
880
|
+
placeholder: a(o)("booking.reservation.countryPlaceholder"),
|
|
874
881
|
labelKey: "name",
|
|
875
882
|
valueKey: "id",
|
|
876
883
|
options: d.options,
|
|
877
884
|
required: d.required
|
|
878
885
|
}, {
|
|
879
|
-
option:
|
|
880
|
-
|
|
881
|
-
class:
|
|
886
|
+
option: P(({ data: l }) => [
|
|
887
|
+
g("i", {
|
|
888
|
+
class: je(["konnectio-flag-icon", l.iso])
|
|
882
889
|
}, null, 2),
|
|
883
|
-
|
|
890
|
+
g("span", null, A(l.name), 1)
|
|
884
891
|
]),
|
|
885
|
-
"selected-option":
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
class:
|
|
892
|
+
"selected-option": P(({ data: l }) => [
|
|
893
|
+
g("div", Oi, [
|
|
894
|
+
g("i", {
|
|
895
|
+
class: je(["konnectio-flag-icon", l.iso])
|
|
889
896
|
}, null, 2),
|
|
890
|
-
|
|
897
|
+
g("span", null, A(l.name), 1)
|
|
891
898
|
])
|
|
892
899
|
]),
|
|
893
900
|
_: 1
|
|
894
901
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
895
902
|
}
|
|
896
903
|
});
|
|
897
|
-
const Hi = /* @__PURE__ */ oe(
|
|
904
|
+
const Hi = /* @__PURE__ */ oe(Vi, [["__scopeId", "data-v-1462612d"]]), wi = { class: "konnectio-radio-checkboxes" }, Pi = /* @__PURE__ */ J({
|
|
898
905
|
__name: "CheckboxField",
|
|
899
906
|
props: {
|
|
900
907
|
modelValue: {},
|
|
@@ -916,16 +923,16 @@ const Hi = /* @__PURE__ */ oe(Oi, [["__scopeId", "data-v-1462612d"]]), Vi = { cl
|
|
|
916
923
|
label: f.label,
|
|
917
924
|
type: "multi-radio"
|
|
918
925
|
}, {
|
|
919
|
-
default:
|
|
920
|
-
|
|
921
|
-
(T(!0), I(
|
|
922
|
-
|
|
926
|
+
default: P(() => [
|
|
927
|
+
g("ul", wi, [
|
|
928
|
+
(T(!0), I(N, null, q(f.checkboxes, ({ label: h, value: l }, v) => (T(), I("li", { key: v }, [
|
|
929
|
+
C(pt, {
|
|
923
930
|
modelValue: r.value,
|
|
924
931
|
"onUpdate:modelValue": d[0] || (d[0] = (m) => r.value = m),
|
|
925
932
|
label: h,
|
|
926
933
|
name: f.name,
|
|
927
934
|
type: "radio",
|
|
928
|
-
val:
|
|
935
|
+
val: l
|
|
929
936
|
}, null, 8, ["modelValue", "label", "name", "val"])
|
|
930
937
|
]))), 128))
|
|
931
938
|
])
|
|
@@ -934,7 +941,7 @@ const Hi = /* @__PURE__ */ oe(Oi, [["__scopeId", "data-v-1462612d"]]), Vi = { cl
|
|
|
934
941
|
}, 8, ["label"]));
|
|
935
942
|
}
|
|
936
943
|
});
|
|
937
|
-
const
|
|
944
|
+
const Ri = /* @__PURE__ */ oe(Pi, [["__scopeId", "data-v-d8d42a8a"]]), Di = /* @__PURE__ */ J({
|
|
938
945
|
__name: "NameField",
|
|
939
946
|
props: {
|
|
940
947
|
modelValue: {},
|
|
@@ -956,82 +963,82 @@ const Pi = /* @__PURE__ */ oe(wi, [["__scopeId", "data-v-d8d42a8a"]]), Ri = /* @
|
|
|
956
963
|
},
|
|
957
964
|
emits: ["update:modelValue", "update:title"],
|
|
958
965
|
setup(t, { emit: e }) {
|
|
959
|
-
const o = t, i = e, u = o.id || St(), r =
|
|
966
|
+
const o = t, i = e, u = o.id || St(), r = $e(""), f = $e(2);
|
|
960
967
|
function d() {
|
|
961
968
|
i("update:modelValue", r.value);
|
|
962
969
|
}
|
|
963
|
-
|
|
964
|
-
i("update:title",
|
|
970
|
+
Ge(f, (l) => {
|
|
971
|
+
i("update:title", l);
|
|
965
972
|
});
|
|
966
973
|
const { t: h } = de();
|
|
967
974
|
return yt(() => {
|
|
968
975
|
o.modelValue && (r.value = o.modelValue), o.title && (f.value = o.title);
|
|
969
|
-
}), (
|
|
970
|
-
label:
|
|
971
|
-
id:
|
|
972
|
-
required:
|
|
976
|
+
}), (l, v) => (T(), W(qt, {
|
|
977
|
+
label: l.label,
|
|
978
|
+
id: a(u),
|
|
979
|
+
required: l.required,
|
|
973
980
|
type: "fresh-booking-name-field",
|
|
974
|
-
readonly:
|
|
975
|
-
limit:
|
|
981
|
+
readonly: l.readonly,
|
|
982
|
+
limit: l.limit
|
|
976
983
|
}, {
|
|
977
|
-
default:
|
|
978
|
-
|
|
979
|
-
class:
|
|
984
|
+
default: P(() => [
|
|
985
|
+
g("div", {
|
|
986
|
+
class: je([
|
|
980
987
|
"fresh-booking-name-input",
|
|
981
|
-
{ "no-title":
|
|
988
|
+
{ "no-title": l.excludeTitle }
|
|
982
989
|
])
|
|
983
990
|
}, [
|
|
984
|
-
|
|
991
|
+
l.excludeTitle ? w("", !0) : (T(), W(Ke, {
|
|
985
992
|
key: 0,
|
|
986
993
|
modelValue: f.value,
|
|
987
994
|
"onUpdate:modelValue": v[0] || (v[0] = (m) => f.value = m),
|
|
988
|
-
id:
|
|
989
|
-
icon:
|
|
990
|
-
"icon-color":
|
|
991
|
-
"icon-type":
|
|
995
|
+
id: a(St)(),
|
|
996
|
+
icon: l.icon,
|
|
997
|
+
"icon-color": l.iconColor,
|
|
998
|
+
"icon-type": l.iconType,
|
|
992
999
|
options: [
|
|
993
1000
|
{
|
|
994
|
-
label:
|
|
1001
|
+
label: a(h)("booking.reservation.noNameTitle"),
|
|
995
1002
|
value: 1
|
|
996
1003
|
},
|
|
997
1004
|
{
|
|
998
|
-
label:
|
|
1005
|
+
label: a(h)("booking.reservation.nameTitleMr"),
|
|
999
1006
|
value: 2
|
|
1000
1007
|
},
|
|
1001
1008
|
{
|
|
1002
|
-
label:
|
|
1009
|
+
label: a(h)("booking.reservation.nameTitleMs"),
|
|
1003
1010
|
value: 3
|
|
1004
1011
|
},
|
|
1005
1012
|
{
|
|
1006
|
-
label:
|
|
1013
|
+
label: a(h)("booking.reservation.nameTitleMrs"),
|
|
1007
1014
|
value: 4
|
|
1008
1015
|
},
|
|
1009
1016
|
{
|
|
1010
|
-
label:
|
|
1017
|
+
label: a(h)("booking.reservation.nameTitleDr"),
|
|
1011
1018
|
value: 5
|
|
1012
1019
|
}
|
|
1013
1020
|
],
|
|
1014
|
-
readonly:
|
|
1021
|
+
readonly: l.readonly,
|
|
1015
1022
|
"hide-button": "",
|
|
1016
|
-
"input-style":
|
|
1023
|
+
"input-style": l.inputStyle,
|
|
1017
1024
|
searchable: !1
|
|
1018
1025
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
1019
|
-
|
|
1026
|
+
C(se, {
|
|
1020
1027
|
modelValue: r.value,
|
|
1021
1028
|
"onUpdate:modelValue": v[1] || (v[1] = (m) => r.value = m),
|
|
1022
1029
|
type: "text",
|
|
1023
1030
|
name: "name",
|
|
1024
1031
|
autocomplete: "name",
|
|
1025
|
-
id:
|
|
1026
|
-
icon:
|
|
1027
|
-
"icon-color":
|
|
1028
|
-
"icon-type":
|
|
1029
|
-
placeholder:
|
|
1030
|
-
required:
|
|
1031
|
-
readonly:
|
|
1032
|
-
limit:
|
|
1032
|
+
id: a(u),
|
|
1033
|
+
icon: l.excludeTitle ? l.icon : void 0,
|
|
1034
|
+
"icon-color": l.iconColor,
|
|
1035
|
+
"icon-type": l.iconType,
|
|
1036
|
+
placeholder: l.placeholder,
|
|
1037
|
+
required: l.required,
|
|
1038
|
+
readonly: l.readonly,
|
|
1039
|
+
limit: l.limit,
|
|
1033
1040
|
onInput: v[2] || (v[2] = (m) => d()),
|
|
1034
|
-
"input-style":
|
|
1041
|
+
"input-style": l.inputStyle
|
|
1035
1042
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
1036
1043
|
], 2)
|
|
1037
1044
|
]),
|
|
@@ -1039,53 +1046,53 @@ const Pi = /* @__PURE__ */ oe(wi, [["__scopeId", "data-v-d8d42a8a"]]), Ri = /* @
|
|
|
1039
1046
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
1040
1047
|
}
|
|
1041
1048
|
});
|
|
1042
|
-
const
|
|
1049
|
+
const Mi = /* @__PURE__ */ oe(Di, [["__scopeId", "data-v-78b0b319"]]), xi = { class: "hotel-listing" }, Wi = { class: "hotel-listing-content-gallery" }, Bi = { class: "hotel-listing-content-thumbs" }, zi = { class: "hotel-listing-content" }, Fi = { class: "hotel-listing-content-header" }, Ni = { class: "hotel-listing-content-title" }, Ui = { class: "hotel-listing-content-body" }, qi = { class: "hotel-listing-content-facilities" }, Gi = /* @__PURE__ */ J({
|
|
1043
1050
|
__name: "Listing",
|
|
1044
1051
|
setup(t) {
|
|
1045
|
-
return (e, o) => (T(), I("div",
|
|
1046
|
-
|
|
1047
|
-
|
|
1052
|
+
return (e, o) => (T(), I("div", xi, [
|
|
1053
|
+
g("div", Wi, [
|
|
1054
|
+
C(Z, {
|
|
1048
1055
|
width: "280px",
|
|
1049
1056
|
height: "153px"
|
|
1050
1057
|
}),
|
|
1051
|
-
|
|
1052
|
-
(T(), I(
|
|
1058
|
+
g("div", Bi, [
|
|
1059
|
+
(T(), I(N, null, q(3, (i) => C(Z, {
|
|
1053
1060
|
key: i,
|
|
1054
1061
|
width: "84px",
|
|
1055
1062
|
height: "44px"
|
|
1056
1063
|
})), 64))
|
|
1057
1064
|
])
|
|
1058
1065
|
]),
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1066
|
+
g("div", zi, [
|
|
1067
|
+
g("div", Fi, [
|
|
1068
|
+
g("div", Ni, [
|
|
1069
|
+
C(Z, {
|
|
1063
1070
|
height: "30px",
|
|
1064
1071
|
width: "60%"
|
|
1065
1072
|
}),
|
|
1066
|
-
|
|
1073
|
+
C(Z, {
|
|
1067
1074
|
height: "30px",
|
|
1068
1075
|
width: "30px",
|
|
1069
1076
|
"border-radius": "100%"
|
|
1070
1077
|
})
|
|
1071
1078
|
]),
|
|
1072
|
-
|
|
1079
|
+
C(Z, {
|
|
1073
1080
|
height: "15px",
|
|
1074
1081
|
width: "25%"
|
|
1075
1082
|
})
|
|
1076
1083
|
]),
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1084
|
+
g("div", Ui, [
|
|
1085
|
+
C(Z, { height: "15px" }),
|
|
1086
|
+
C(Z, { height: "15px" }),
|
|
1087
|
+
C(Z, { height: "15px" }),
|
|
1088
|
+
C(Z, { height: "15px" }),
|
|
1089
|
+
C(Z, {
|
|
1083
1090
|
height: "15px",
|
|
1084
1091
|
width: "90%"
|
|
1085
1092
|
})
|
|
1086
1093
|
]),
|
|
1087
|
-
|
|
1088
|
-
(T(), I(
|
|
1094
|
+
g("div", qi, [
|
|
1095
|
+
(T(), I(N, null, q(5, (i) => C(Z, {
|
|
1089
1096
|
key: i,
|
|
1090
1097
|
height: "25px",
|
|
1091
1098
|
width: "25px",
|
|
@@ -1096,56 +1103,56 @@ const Di = /* @__PURE__ */ oe(Ri, [["__scopeId", "data-v-78b0b319"]]), Mi = { cl
|
|
|
1096
1103
|
]));
|
|
1097
1104
|
}
|
|
1098
1105
|
});
|
|
1099
|
-
const Se = /* @__PURE__ */ oe(
|
|
1106
|
+
const Se = /* @__PURE__ */ oe(Gi, [["__scopeId", "data-v-a5347d60"]]), ji = { class: "hotel-skeleton" }, Yi = { class: "hotel-skeleton-content" }, Ki = { class: "hotel-skeleton-sidebar" }, Qi = /* @__PURE__ */ J({
|
|
1100
1107
|
__name: "HotelSkeleton",
|
|
1101
1108
|
setup(t) {
|
|
1102
|
-
return (e, o) => (T(), I("div",
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1109
|
+
return (e, o) => (T(), I("div", ji, [
|
|
1110
|
+
g("div", Yi, [
|
|
1111
|
+
C(Wo),
|
|
1112
|
+
C(Se),
|
|
1113
|
+
C(Se),
|
|
1114
|
+
C(Se)
|
|
1108
1115
|
]),
|
|
1109
|
-
|
|
1110
|
-
|
|
1116
|
+
g("div", Ki, [
|
|
1117
|
+
C(Po)
|
|
1111
1118
|
])
|
|
1112
1119
|
]));
|
|
1113
1120
|
}
|
|
1114
1121
|
});
|
|
1115
|
-
const
|
|
1116
|
-
const
|
|
1122
|
+
const Xi = /* @__PURE__ */ oe(Qi, [["__scopeId", "data-v-5fa1400b"]]), Ji = (t) => (Ft("data-v-62335f79"), t = t(), Nt(), t), Zi = { id: "booking-availability-container" }, en = { id: "booking-availability-controls" };
|
|
1123
|
+
const tn = { key: 1 }, on = { key: 0 }, nn = {
|
|
1117
1124
|
key: 0,
|
|
1118
1125
|
id: "booking-availability-packages"
|
|
1119
|
-
},
|
|
1126
|
+
}, rn = {
|
|
1120
1127
|
key: 0,
|
|
1121
1128
|
class: "konnectio-hotel-availability-title"
|
|
1122
|
-
},
|
|
1129
|
+
}, sn = { id: "booking-availability-packages-wrapper" }, an = { key: 1 }, ln = {
|
|
1123
1130
|
key: 0,
|
|
1124
1131
|
class: "konnectio-hotel-availability-title"
|
|
1125
|
-
},
|
|
1132
|
+
}, un = { id: "booking-availability-listings" }, dn = {
|
|
1126
1133
|
key: 2,
|
|
1127
1134
|
id: "booking-availability-no-listings",
|
|
1128
1135
|
class: "fresh-booking-panel"
|
|
1129
|
-
},
|
|
1136
|
+
}, cn = {
|
|
1130
1137
|
key: 1,
|
|
1131
1138
|
id: "booking-availability-no-listings"
|
|
1132
|
-
},
|
|
1139
|
+
}, fn = {
|
|
1133
1140
|
key: 2,
|
|
1134
1141
|
id: "reservation-availability-next-dates"
|
|
1135
|
-
},
|
|
1136
|
-
const
|
|
1142
|
+
}, hn = { class: "konnectio-hotel-availability-title" }, pn = { class: "reservation-special-offers-grid" }, mn = ["title"];
|
|
1143
|
+
const vn = {
|
|
1137
1144
|
key: 2,
|
|
1138
1145
|
class: "konnectio-listing-loading"
|
|
1139
|
-
},
|
|
1146
|
+
}, gn = { class: "fresh-booking-panel" }, yn = {
|
|
1140
1147
|
key: 0,
|
|
1141
1148
|
id: "konnectio-hotel-addons"
|
|
1142
1149
|
};
|
|
1143
|
-
const
|
|
1150
|
+
const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn = /* @__PURE__ */ Ji(() => /* @__PURE__ */ g("br", null, null, -1)), En = ["onClick"], Tn = { class: "fresh-booking-panel" }, Cn = { key: 0 }, Sn = { key: 1 }, $n = { class: "fresh-booking-split-inputs" }, In = ["onClick"], Ln = /* @__PURE__ */ J({
|
|
1144
1151
|
name: "HotelLayout",
|
|
1145
1152
|
__name: "Hotel",
|
|
1146
1153
|
props: {
|
|
1147
1154
|
accessToken: {},
|
|
1148
|
-
headerLayout: { default:
|
|
1155
|
+
headerLayout: { default: To.Minimal },
|
|
1149
1156
|
onlyShow: { default: "everything" },
|
|
1150
1157
|
styling: {}
|
|
1151
1158
|
},
|
|
@@ -1158,51 +1165,52 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
|
|
|
1158
1165
|
isReservationFormFilled: f,
|
|
1159
1166
|
travelingFor: d,
|
|
1160
1167
|
arrivalTime: h,
|
|
1161
|
-
departureTime:
|
|
1168
|
+
departureTime: l,
|
|
1162
1169
|
name: v,
|
|
1163
1170
|
nameTitle: m,
|
|
1164
1171
|
email: k,
|
|
1165
1172
|
phone: s,
|
|
1166
|
-
firmName:
|
|
1173
|
+
firmName: y,
|
|
1167
1174
|
postal: b,
|
|
1168
1175
|
city: c,
|
|
1169
1176
|
address: n,
|
|
1170
1177
|
country: p,
|
|
1171
1178
|
remark: _,
|
|
1172
|
-
allergies:
|
|
1179
|
+
allergies: S,
|
|
1173
1180
|
newsMails: E,
|
|
1174
1181
|
roomSelect: $,
|
|
1175
|
-
roomDisplay:
|
|
1176
|
-
hasValidRoomSelection:
|
|
1177
|
-
availabilityData:
|
|
1182
|
+
roomDisplay: O,
|
|
1183
|
+
hasValidRoomSelection: R,
|
|
1184
|
+
availabilityData: H,
|
|
1178
1185
|
selectionHasNoAddons: F
|
|
1179
1186
|
} = Q(ue()), {
|
|
1180
|
-
arrivalDate:
|
|
1181
|
-
departureDate:
|
|
1187
|
+
arrivalDate: D,
|
|
1188
|
+
departureDate: G
|
|
1182
1189
|
} = Q(zt()), {
|
|
1183
|
-
currency:
|
|
1184
|
-
disableNewsletterSignup:
|
|
1185
|
-
arrivalEarliest:
|
|
1186
|
-
arrivalLatest:
|
|
1190
|
+
currency: z,
|
|
1191
|
+
disableNewsletterSignup: Le,
|
|
1192
|
+
arrivalEarliest: Pe,
|
|
1193
|
+
arrivalLatest: Ae,
|
|
1187
1194
|
departureEarliest: ge,
|
|
1188
|
-
departureLatest:
|
|
1195
|
+
departureLatest: U,
|
|
1189
1196
|
enableTracking: ce,
|
|
1190
1197
|
arrivalDefault: fe,
|
|
1191
|
-
departureDefault:
|
|
1192
|
-
hideArrivalDepartureInputs:
|
|
1193
|
-
disableArrivalUserSelection:
|
|
1194
|
-
disableNamePrefix:
|
|
1198
|
+
departureDefault: Oe,
|
|
1199
|
+
hideArrivalDepartureInputs: Re,
|
|
1200
|
+
disableArrivalUserSelection: Ve,
|
|
1201
|
+
disableNamePrefix: B,
|
|
1195
1202
|
disableDepartureUserSelection: ne,
|
|
1196
1203
|
disableTravelingFor: Qe,
|
|
1197
1204
|
disableTravelingForBleasure: Xe,
|
|
1198
|
-
disableCompanyField:
|
|
1199
|
-
hasPaymentGateway:
|
|
1200
|
-
} = Q(
|
|
1205
|
+
disableCompanyField: De,
|
|
1206
|
+
hasPaymentGateway: Me
|
|
1207
|
+
} = Q(Ie()), { beginCheckout: he } = Ut(), {
|
|
1201
1208
|
initialize: ie,
|
|
1202
|
-
resetTemplate:
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1209
|
+
resetTemplate: xe,
|
|
1210
|
+
resetDiscountVoucher: ye,
|
|
1211
|
+
createReservation: pe
|
|
1212
|
+
} = ue(), We = $e(!0), ee = Y(() => {
|
|
1213
|
+
const M = [
|
|
1206
1214
|
{
|
|
1207
1215
|
label: e("booking.reservation.business"),
|
|
1208
1216
|
value: "Business"
|
|
@@ -1212,91 +1220,91 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
|
|
|
1212
1220
|
value: "Pleasure"
|
|
1213
1221
|
}
|
|
1214
1222
|
];
|
|
1215
|
-
return Xe.value ||
|
|
1223
|
+
return Xe.value || M.push({
|
|
1216
1224
|
label: e("booking.reservation.bleasure"),
|
|
1217
1225
|
value: "Bleasure"
|
|
1218
|
-
}),
|
|
1219
|
-
}),
|
|
1220
|
-
const
|
|
1221
|
-
|
|
1226
|
+
}), M;
|
|
1227
|
+
}), _e = Y(() => {
|
|
1228
|
+
const M = H.value.roomGroups.slice();
|
|
1229
|
+
M.forEach((X) => {
|
|
1222
1230
|
X.pricesFrom = X.rates.reduce(
|
|
1223
1231
|
(x, L) => x < L.rackRate ? x : L.rackRate,
|
|
1224
1232
|
1 / 0
|
|
1225
1233
|
);
|
|
1226
1234
|
});
|
|
1227
|
-
function
|
|
1228
|
-
return
|
|
1235
|
+
function V(X, x) {
|
|
1236
|
+
return We.value === !0 ? X.pricesFrom > x.pricesFrom ? -1 : 1 : X.pricesFrom > x.pricesFrom ? 1 : -1;
|
|
1229
1237
|
}
|
|
1230
|
-
return
|
|
1231
|
-
}),
|
|
1232
|
-
parseInt(
|
|
1233
|
-
parseInt(
|
|
1234
|
-
]]),
|
|
1238
|
+
return M.sort(V);
|
|
1239
|
+
}), lo = Y(() => [[
|
|
1240
|
+
parseInt(Pe.value.split(":")[0]),
|
|
1241
|
+
parseInt(Ae.value.split(":")[0])
|
|
1242
|
+
]]), uo = Y(() => [[
|
|
1235
1243
|
parseInt(ge.value.split(":")[0]),
|
|
1236
|
-
parseInt(
|
|
1244
|
+
parseInt(U.value.split(":")[0])
|
|
1237
1245
|
]]);
|
|
1238
|
-
function Tt(
|
|
1239
|
-
F.value ?
|
|
1246
|
+
function Tt(M) {
|
|
1247
|
+
F.value ? M(2) : M(), ye();
|
|
1240
1248
|
}
|
|
1241
|
-
function
|
|
1242
|
-
|
|
1249
|
+
function co(M, V) {
|
|
1250
|
+
G.value = new Date(V), D.value = new Date(M), location.reload();
|
|
1243
1251
|
}
|
|
1244
|
-
async function
|
|
1245
|
-
await
|
|
1252
|
+
async function fo(M) {
|
|
1253
|
+
await pe(M);
|
|
1246
1254
|
}
|
|
1247
|
-
function
|
|
1248
|
-
ce.value && he(), F.value ?
|
|
1255
|
+
function ho(M) {
|
|
1256
|
+
ce.value && he(), F.value ? M(2) : M();
|
|
1249
1257
|
}
|
|
1250
|
-
function
|
|
1251
|
-
h.value === "" && (h.value = fe.value),
|
|
1258
|
+
function po() {
|
|
1259
|
+
h.value === "" && (h.value = fe.value), l.value === "" && (l.value = Oe.value);
|
|
1252
1260
|
}
|
|
1253
1261
|
return yt(() => {
|
|
1254
|
-
ie(),
|
|
1255
|
-
}), (
|
|
1256
|
-
default:
|
|
1257
|
-
(T(), W(
|
|
1258
|
-
default:
|
|
1259
|
-
|
|
1262
|
+
ie(), po();
|
|
1263
|
+
}), (M, V) => (T(), W(xo, { styling: M.styling }, {
|
|
1264
|
+
default: P(() => [
|
|
1265
|
+
(T(), W(Co, null, {
|
|
1266
|
+
default: P(() => [
|
|
1267
|
+
C($o, {
|
|
1260
1268
|
id: "fresh-booking-hotel-module",
|
|
1261
|
-
"access-token":
|
|
1269
|
+
"access-token": M.accessToken,
|
|
1262
1270
|
type: "hotel"
|
|
1263
1271
|
}, {
|
|
1264
|
-
default:
|
|
1265
|
-
|
|
1266
|
-
layout:
|
|
1267
|
-
onReset:
|
|
1272
|
+
default: P(() => [
|
|
1273
|
+
C(Ro, {
|
|
1274
|
+
layout: M.headerLayout,
|
|
1275
|
+
onReset: a(xe)
|
|
1268
1276
|
}, {
|
|
1269
|
-
availability:
|
|
1270
|
-
|
|
1271
|
-
form:
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1277
|
+
availability: P(({ next: X }) => [
|
|
1278
|
+
C(tt, null, {
|
|
1279
|
+
form: P(() => [
|
|
1280
|
+
g("div", Zi, [
|
|
1281
|
+
g("div", en, [
|
|
1282
|
+
C(Bo, { booking: !0 })
|
|
1275
1283
|
]),
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
])) : (T(), I("div",
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1284
|
+
w("", !0),
|
|
1285
|
+
a(u) ? (T(), I("div", vn, [
|
|
1286
|
+
C(Se),
|
|
1287
|
+
C(Se),
|
|
1288
|
+
C(Se)
|
|
1289
|
+
])) : (T(), I("div", tn, [
|
|
1290
|
+
a(H).roomGroups.length > 0 || a(H).templates.length > 0 ? (T(), I("div", on, [
|
|
1291
|
+
a(H).templates.length > 0 && M.onlyShow !== "rooms" ? (T(), I("div", nn, [
|
|
1292
|
+
M.onlyShow !== "packages" ? (T(), I("h2", rn, [
|
|
1293
|
+
C(te, {
|
|
1286
1294
|
icon: "box",
|
|
1287
1295
|
type: "fal",
|
|
1288
1296
|
color: "header"
|
|
1289
1297
|
}),
|
|
1290
|
-
|
|
1291
|
-
])) :
|
|
1292
|
-
|
|
1293
|
-
(T(!0), I(
|
|
1298
|
+
g("span", null, A(a(e)("booking.availability.packagesTitle")), 1)
|
|
1299
|
+
])) : w("", !0),
|
|
1300
|
+
g("ul", sn, [
|
|
1301
|
+
(T(!0), I(N, null, q(a(H).templates, ({
|
|
1294
1302
|
id: x,
|
|
1295
1303
|
name: L,
|
|
1296
1304
|
templateRoomGroups: be,
|
|
1297
1305
|
image: ke,
|
|
1298
1306
|
description: K
|
|
1299
|
-
}) => (T(), W(
|
|
1307
|
+
}) => (T(), W(Ai, {
|
|
1300
1308
|
key: x,
|
|
1301
1309
|
id: x,
|
|
1302
1310
|
description: K,
|
|
@@ -1306,59 +1314,59 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
|
|
|
1306
1314
|
callback: X
|
|
1307
1315
|
}, null, 8, ["id", "description", "name", "image", "room-groups", "callback"]))), 128))
|
|
1308
1316
|
])
|
|
1309
|
-
])) :
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1317
|
+
])) : w("", !0),
|
|
1318
|
+
a(H).roomGroups.length > 0 && M.onlyShow !== "packages" ? (T(), I("div", an, [
|
|
1319
|
+
a(H).templates.length > 0 && M.onlyShow !== "rooms" ? (T(), I("h2", ln, [
|
|
1320
|
+
C(te, {
|
|
1313
1321
|
icon: "house",
|
|
1314
1322
|
type: "fal",
|
|
1315
1323
|
color: "header"
|
|
1316
1324
|
}),
|
|
1317
|
-
|
|
1318
|
-
])) :
|
|
1319
|
-
|
|
1320
|
-
(T(!0), I(
|
|
1325
|
+
g("span", null, A(a(e)("booking.availability.roomsTitle")), 1)
|
|
1326
|
+
])) : w("", !0),
|
|
1327
|
+
g("ul", un, [
|
|
1328
|
+
(T(!0), I(N, null, q(_e.value, (x, L) => (T(), W(ai, {
|
|
1321
1329
|
room: x,
|
|
1322
1330
|
key: L
|
|
1323
1331
|
}, null, 8, ["room"]))), 128))
|
|
1324
1332
|
])
|
|
1325
|
-
])) :
|
|
1326
|
-
(
|
|
1327
|
-
|
|
1328
|
-
])) :
|
|
1329
|
-
])) :
|
|
1330
|
-
|
|
1331
|
-
])) : (T(), I("div",
|
|
1332
|
-
|
|
1333
|
-
|
|
1333
|
+
])) : w("", !0),
|
|
1334
|
+
(a(H).templates.length === 0 && M.onlyShow !== "rooms" || a(H).roomGroups.length === 0 && M.onlyShow !== "packages") && (M.onlyShow === "rooms" || M.onlyShow === "packages") ? (T(), I("div", dn, [
|
|
1335
|
+
g("span", null, A(a(e)("booking.availability.nothingAvailable")), 1)
|
|
1336
|
+
])) : w("", !0)
|
|
1337
|
+
])) : a(H).nextAvailableDates.length === 0 ? (T(), I("div", cn, [
|
|
1338
|
+
g("span", null, A(a(e)("booking.availability.nothingAvailable")), 1)
|
|
1339
|
+
])) : (T(), I("div", fn, [
|
|
1340
|
+
g("h2", hn, [
|
|
1341
|
+
C(te, {
|
|
1334
1342
|
icon: "calendar-circle-exclamation",
|
|
1335
1343
|
type: "fal",
|
|
1336
1344
|
color: "header"
|
|
1337
1345
|
}),
|
|
1338
|
-
|
|
1346
|
+
g("span", null, A(a(e)("booking.availability.nextAvailableDates")), 1)
|
|
1339
1347
|
]),
|
|
1340
|
-
|
|
1341
|
-
(T(!0), I(
|
|
1342
|
-
|
|
1343
|
-
title: `${
|
|
1348
|
+
g("ul", pn, [
|
|
1349
|
+
(T(!0), I(N, null, q(a(H).nextAvailableDates, (x, L) => (T(), I("li", { key: L }, [
|
|
1350
|
+
g("h3", {
|
|
1351
|
+
title: `${a(ae)(x.fromDate)} - ${a(ae)(x.toDate)}`
|
|
1344
1352
|
}, [
|
|
1345
|
-
|
|
1346
|
-
], 8,
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1353
|
+
g("span", null, A(`${a(ae)(x.fromDate)} - ${a(ae)(x.toDate)}`), 1)
|
|
1354
|
+
], 8, mn),
|
|
1355
|
+
g("ul", null, [
|
|
1356
|
+
w("", !0),
|
|
1357
|
+
g("li", null, [
|
|
1358
|
+
C(te, {
|
|
1351
1359
|
icon: "money-bill",
|
|
1352
1360
|
type: "fal",
|
|
1353
1361
|
color: "header"
|
|
1354
1362
|
}),
|
|
1355
|
-
|
|
1363
|
+
g("span", null, A(a(e)("booking.availability.pricesFrom")) + ": " + A(a(le)(x.priceStartFrom, a(z))), 1)
|
|
1356
1364
|
])
|
|
1357
1365
|
]),
|
|
1358
|
-
|
|
1359
|
-
label:
|
|
1366
|
+
C(Ee, {
|
|
1367
|
+
label: a(e)("booking.availability.selectDates"),
|
|
1360
1368
|
"full-width": "",
|
|
1361
|
-
onClickEvent: (be) =>
|
|
1369
|
+
onClickEvent: (be) => co(x.fromDate, x.toDate)
|
|
1362
1370
|
}, null, 8, ["label", "onClickEvent"])
|
|
1363
1371
|
]))), 128))
|
|
1364
1372
|
])
|
|
@@ -1366,90 +1374,90 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
|
|
|
1366
1374
|
]))
|
|
1367
1375
|
])
|
|
1368
1376
|
]),
|
|
1369
|
-
navigation:
|
|
1370
|
-
|
|
1371
|
-
label:
|
|
1372
|
-
disabled: !
|
|
1377
|
+
navigation: P(() => [
|
|
1378
|
+
C(Ee, {
|
|
1379
|
+
label: a(F) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
|
|
1380
|
+
disabled: !a(R),
|
|
1373
1381
|
"is-loading": !1,
|
|
1374
1382
|
"full-width": "",
|
|
1375
|
-
onClickEvent: (x) =>
|
|
1383
|
+
onClickEvent: (x) => ho(X)
|
|
1376
1384
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
1377
1385
|
]),
|
|
1378
1386
|
_: 2
|
|
1379
1387
|
}, 1024)
|
|
1380
1388
|
]),
|
|
1381
|
-
addons:
|
|
1382
|
-
|
|
1383
|
-
form:
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1389
|
+
addons: P(({ next: X, prev: x }) => [
|
|
1390
|
+
C(tt, null, {
|
|
1391
|
+
form: P(() => [
|
|
1392
|
+
g("form", gn, [
|
|
1393
|
+
g("h2", null, [
|
|
1394
|
+
g("span", null, A(a(e)("booking.reservation.addons")), 1)
|
|
1387
1395
|
]),
|
|
1388
|
-
|
|
1389
|
-
isNaN(
|
|
1390
|
-
(T(!0), I(
|
|
1396
|
+
g("div", null, [
|
|
1397
|
+
isNaN(a(o)) ? (T(), I("div", yn, [
|
|
1398
|
+
(T(!0), I(N, null, q(a(O), (L) => (T(), I("ul", {
|
|
1391
1399
|
key: L.roomGroupID
|
|
1392
1400
|
}, [
|
|
1393
|
-
(T(!0), I(
|
|
1401
|
+
(T(!0), I(N, null, q(L.variants, (be, ke) => (T(), I("li", {
|
|
1394
1402
|
key: be.ratePlanID
|
|
1395
1403
|
}, [
|
|
1396
|
-
|
|
1397
|
-
|
|
1404
|
+
g("h4", null, [
|
|
1405
|
+
g("span", null, A(a(Te)(L.title)), 1)
|
|
1398
1406
|
]),
|
|
1399
|
-
(T(!0), I(
|
|
1400
|
-
key:
|
|
1407
|
+
(T(!0), I(N, null, q(be.rooms, (K, mo) => (T(), I("table", {
|
|
1408
|
+
key: mo,
|
|
1401
1409
|
class: "fresh-booking-table"
|
|
1402
1410
|
}, [
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1411
|
+
g("thead", null, [
|
|
1412
|
+
g("tr", null, [
|
|
1413
|
+
g("th", null, [
|
|
1414
|
+
g("span", null, A(a(Te)(be.name)), 1)
|
|
1407
1415
|
]),
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1416
|
+
w("", !0),
|
|
1417
|
+
g("th", _n, [
|
|
1418
|
+
g("b", null, [
|
|
1419
|
+
C(te, {
|
|
1412
1420
|
icon: "male",
|
|
1413
1421
|
type: "fas",
|
|
1414
1422
|
color: "font"
|
|
1415
1423
|
}),
|
|
1416
|
-
|
|
1424
|
+
g("span", null, A(K.adultsCount), 1),
|
|
1417
1425
|
K.childrenCount > 0 ? (T(), W(te, {
|
|
1418
1426
|
key: 0,
|
|
1419
1427
|
icon: "child",
|
|
1420
1428
|
type: "fas",
|
|
1421
1429
|
color: "font"
|
|
1422
|
-
})) :
|
|
1423
|
-
K.childrenCount > 0 ? (T(), I("span",
|
|
1430
|
+
})) : w("", !0),
|
|
1431
|
+
K.childrenCount > 0 ? (T(), I("span", bn, A(K.childrenCount), 1)) : w("", !0)
|
|
1424
1432
|
])
|
|
1425
1433
|
])
|
|
1426
1434
|
])
|
|
1427
1435
|
]),
|
|
1428
|
-
|
|
1429
|
-
(T(!0), I(
|
|
1436
|
+
g("tbody", null, [
|
|
1437
|
+
(T(!0), I(N, null, q(L.addons, ({
|
|
1430
1438
|
quantityStrategy: Je,
|
|
1431
|
-
maximumNumber:
|
|
1439
|
+
maximumNumber: vo,
|
|
1432
1440
|
id: He,
|
|
1433
|
-
name:
|
|
1434
|
-
price:
|
|
1441
|
+
name: go,
|
|
1442
|
+
price: yo
|
|
1435
1443
|
}) => (T(), I("tr", { key: He }, [
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1444
|
+
g("td", null, [
|
|
1445
|
+
g("b", null, A(a(Te)(go)), 1),
|
|
1446
|
+
kn,
|
|
1447
|
+
g("span", null, A(a(le)(yo, a(z))) + " " + A(a(So)(Je)), 1)
|
|
1440
1448
|
]),
|
|
1441
|
-
|
|
1449
|
+
g("td", null, [
|
|
1442
1450
|
Je === 1 || Je === 12 ? (T(), W(jt, {
|
|
1443
1451
|
key: 0,
|
|
1444
|
-
modelValue:
|
|
1445
|
-
"onUpdate:modelValue": (Ze) =>
|
|
1452
|
+
modelValue: a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He],
|
|
1453
|
+
"onUpdate:modelValue": (Ze) => a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He] = Ze,
|
|
1446
1454
|
small: !0,
|
|
1447
1455
|
"min-value": 0,
|
|
1448
|
-
"max-value":
|
|
1456
|
+
"max-value": vo || 1 / 0
|
|
1449
1457
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (T(), W(pt, {
|
|
1450
1458
|
key: 1,
|
|
1451
|
-
modelValue:
|
|
1452
|
-
"onUpdate:modelValue": (Ze) =>
|
|
1459
|
+
modelValue: a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He],
|
|
1460
|
+
"onUpdate:modelValue": (Ze) => a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He] = Ze,
|
|
1453
1461
|
numeric: !0
|
|
1454
1462
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1455
1463
|
])
|
|
@@ -1458,209 +1466,209 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
|
|
|
1458
1466
|
]))), 128))
|
|
1459
1467
|
]))), 128))
|
|
1460
1468
|
]))), 128))
|
|
1461
|
-
])) :
|
|
1469
|
+
])) : w("", !0)
|
|
1462
1470
|
])
|
|
1463
1471
|
])
|
|
1464
1472
|
]),
|
|
1465
|
-
navigation:
|
|
1466
|
-
|
|
1467
|
-
label:
|
|
1473
|
+
navigation: P(() => [
|
|
1474
|
+
C(Ee, {
|
|
1475
|
+
label: a(e)("general.startReservation"),
|
|
1468
1476
|
"full-width": "",
|
|
1469
1477
|
onClickEvent: X
|
|
1470
1478
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1471
|
-
|
|
1479
|
+
g("button", {
|
|
1472
1480
|
class: "konnectio-abort-reservation link",
|
|
1473
|
-
onClick:
|
|
1481
|
+
onClick: $t((L) => Tt(x), ["prevent"])
|
|
1474
1482
|
}, [
|
|
1475
|
-
|
|
1476
|
-
], 8,
|
|
1483
|
+
g("span", null, A(a(e)("general.goAStepBack")), 1)
|
|
1484
|
+
], 8, En)
|
|
1477
1485
|
]),
|
|
1478
1486
|
_: 2
|
|
1479
1487
|
}, 1024)
|
|
1480
1488
|
]),
|
|
1481
|
-
reservation:
|
|
1482
|
-
|
|
1489
|
+
reservation: P(({ next: X, prev: x }) => [
|
|
1490
|
+
C(tt, {
|
|
1483
1491
|
"show-terms-notice": !0,
|
|
1484
1492
|
"show-gift-card": !0
|
|
1485
1493
|
}, {
|
|
1486
|
-
form:
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1494
|
+
form: P(() => [
|
|
1495
|
+
g("form", Tn, [
|
|
1496
|
+
g("h2", null, [
|
|
1497
|
+
g("span", null, A(a(e)("booking.reservation.detailsTitle")), 1)
|
|
1490
1498
|
]),
|
|
1491
|
-
!
|
|
1499
|
+
!a(Re) && !(a(Ve) && a(ne)) ? (T(), I("ul", {
|
|
1492
1500
|
key: 0,
|
|
1493
|
-
class:
|
|
1501
|
+
class: je({ "fresh-booking-split-inputs": !a(Ve) && !a(ne) })
|
|
1494
1502
|
}, [
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
modelValue:
|
|
1498
|
-
"onUpdate:modelValue":
|
|
1499
|
-
label:
|
|
1503
|
+
a(Ve) ? w("", !0) : (T(), I("li", Cn, [
|
|
1504
|
+
C(Lt, {
|
|
1505
|
+
modelValue: a(h),
|
|
1506
|
+
"onUpdate:modelValue": V[1] || (V[1] = (L) => j(h) ? h.value = L : null),
|
|
1507
|
+
label: a(e)("booking.reservation.arrivalTime"),
|
|
1500
1508
|
icon: "hourglass-start",
|
|
1501
|
-
"hour-range":
|
|
1509
|
+
"hour-range": lo.value,
|
|
1502
1510
|
required: ""
|
|
1503
1511
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1504
1512
|
])),
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
modelValue: l
|
|
1508
|
-
"onUpdate:modelValue":
|
|
1509
|
-
label:
|
|
1513
|
+
a(ne) ? w("", !0) : (T(), I("li", Sn, [
|
|
1514
|
+
C(Lt, {
|
|
1515
|
+
modelValue: a(l),
|
|
1516
|
+
"onUpdate:modelValue": V[2] || (V[2] = (L) => j(l) ? l.value = L : null),
|
|
1517
|
+
label: a(e)("booking.reservation.departureTime"),
|
|
1510
1518
|
icon: "hourglass-end",
|
|
1511
|
-
"hour-range":
|
|
1519
|
+
"hour-range": uo.value,
|
|
1512
1520
|
required: ""
|
|
1513
1521
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1514
1522
|
]))
|
|
1515
|
-
], 2)) :
|
|
1516
|
-
|
|
1517
|
-
modelValue:
|
|
1518
|
-
"onUpdate:modelValue":
|
|
1519
|
-
title:
|
|
1520
|
-
"onUpdate:title":
|
|
1521
|
-
"exclude-title":
|
|
1522
|
-
label:
|
|
1523
|
+
], 2)) : w("", !0),
|
|
1524
|
+
C(Mi, {
|
|
1525
|
+
modelValue: a(v),
|
|
1526
|
+
"onUpdate:modelValue": V[3] || (V[3] = (L) => j(v) ? v.value = L : null),
|
|
1527
|
+
title: a(m),
|
|
1528
|
+
"onUpdate:title": V[4] || (V[4] = (L) => j(m) ? m.value = L : null),
|
|
1529
|
+
"exclude-title": a(B),
|
|
1530
|
+
label: a(e)("booking.reservation.name"),
|
|
1523
1531
|
icon: "user-alt",
|
|
1524
|
-
placeholder:
|
|
1532
|
+
placeholder: a(e)("booking.reservation.namePlaceholder"),
|
|
1525
1533
|
required: ""
|
|
1526
1534
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1527
|
-
|
|
1528
|
-
modelValue:
|
|
1529
|
-
"onUpdate:modelValue":
|
|
1535
|
+
C(se, {
|
|
1536
|
+
modelValue: a(k),
|
|
1537
|
+
"onUpdate:modelValue": V[5] || (V[5] = (L) => j(k) ? k.value = L : null),
|
|
1530
1538
|
type: "email",
|
|
1531
1539
|
name: "email",
|
|
1532
1540
|
autocomplete: "email",
|
|
1533
|
-
label:
|
|
1541
|
+
label: a(e)("booking.reservation.email"),
|
|
1534
1542
|
icon: "at",
|
|
1535
|
-
placeholder:
|
|
1543
|
+
placeholder: a(e)("booking.reservation.emailPlaceholder"),
|
|
1536
1544
|
required: ""
|
|
1537
1545
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1538
|
-
|
|
1546
|
+
a(Le) ? w("", !0) : (T(), W(pt, {
|
|
1539
1547
|
key: 1,
|
|
1540
|
-
modelValue:
|
|
1541
|
-
"onUpdate:modelValue":
|
|
1548
|
+
modelValue: a(E),
|
|
1549
|
+
"onUpdate:modelValue": V[6] || (V[6] = (L) => j(E) ? E.value = L : null),
|
|
1542
1550
|
type: "checkbox",
|
|
1543
1551
|
name: "newsletter",
|
|
1544
|
-
label:
|
|
1552
|
+
label: a(e)("booking.reservation.newsletterSignUp")
|
|
1545
1553
|
}, null, 8, ["modelValue", "label"])),
|
|
1546
|
-
|
|
1554
|
+
a(De) ? w("", !0) : (T(), W(se, {
|
|
1547
1555
|
key: 2,
|
|
1548
|
-
modelValue:
|
|
1549
|
-
"onUpdate:modelValue":
|
|
1556
|
+
modelValue: a(y),
|
|
1557
|
+
"onUpdate:modelValue": V[7] || (V[7] = (L) => j(y) ? y.value = L : null),
|
|
1550
1558
|
type: "text",
|
|
1551
1559
|
name: "firm",
|
|
1552
1560
|
autocomplete: "firm",
|
|
1553
|
-
label: `${
|
|
1561
|
+
label: `${a(e)("booking.reservation.companyName")} (${a(e)("booking.reservation.optional")})`,
|
|
1554
1562
|
icon: "id-card",
|
|
1555
|
-
placeholder:
|
|
1563
|
+
placeholder: a(e)("booking.reservation.companyNamePlaceholder")
|
|
1556
1564
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1557
|
-
|
|
1558
|
-
modelValue:
|
|
1559
|
-
"onUpdate:modelValue":
|
|
1565
|
+
C(Fo, {
|
|
1566
|
+
modelValue: a(s),
|
|
1567
|
+
"onUpdate:modelValue": V[8] || (V[8] = (L) => j(s) ? s.value = L : null),
|
|
1560
1568
|
icon: "phone-office",
|
|
1561
|
-
label:
|
|
1562
|
-
placeholder:
|
|
1569
|
+
label: a(e)("booking.reservation.phone"),
|
|
1570
|
+
placeholder: a(e)("booking.reservation.phonePlaceholder"),
|
|
1563
1571
|
required: ""
|
|
1564
1572
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1565
|
-
|
|
1566
|
-
modelValue:
|
|
1567
|
-
"onUpdate:modelValue":
|
|
1568
|
-
label:
|
|
1569
|
-
placeholder:
|
|
1570
|
-
options:
|
|
1573
|
+
C(Hi, {
|
|
1574
|
+
modelValue: a(p),
|
|
1575
|
+
"onUpdate:modelValue": V[9] || (V[9] = (L) => j(p) ? p.value = L : null),
|
|
1576
|
+
label: a(e)("booking.reservation.country"),
|
|
1577
|
+
placeholder: a(e)("booking.reservation.countryPlaceholder"),
|
|
1578
|
+
options: a(i),
|
|
1571
1579
|
required: ""
|
|
1572
1580
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1573
|
-
|
|
1574
|
-
modelValue:
|
|
1575
|
-
"onUpdate:modelValue":
|
|
1581
|
+
C(se, {
|
|
1582
|
+
modelValue: a(n),
|
|
1583
|
+
"onUpdate:modelValue": V[10] || (V[10] = (L) => j(n) ? n.value = L : null),
|
|
1576
1584
|
type: "textarea",
|
|
1577
1585
|
name: "address",
|
|
1578
1586
|
autocomplete: "street-address",
|
|
1579
|
-
label:
|
|
1587
|
+
label: a(e)("booking.reservation.streetAddress"),
|
|
1580
1588
|
icon: "map-marked",
|
|
1581
|
-
placeholder:
|
|
1589
|
+
placeholder: a(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1582
1590
|
required: ""
|
|
1583
1591
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
modelValue:
|
|
1588
|
-
"onUpdate:modelValue":
|
|
1592
|
+
g("ul", $n, [
|
|
1593
|
+
g("li", null, [
|
|
1594
|
+
C(se, {
|
|
1595
|
+
modelValue: a(b),
|
|
1596
|
+
"onUpdate:modelValue": V[11] || (V[11] = (L) => j(b) ? b.value = L : null),
|
|
1589
1597
|
type: "text",
|
|
1590
1598
|
name: "postal",
|
|
1591
1599
|
autocomplete: "postal-code",
|
|
1592
|
-
label:
|
|
1600
|
+
label: a(e)("booking.reservation.postal"),
|
|
1593
1601
|
icon: "mailbox",
|
|
1594
|
-
placeholder:
|
|
1602
|
+
placeholder: a(e)("booking.reservation.postalPlaceholder"),
|
|
1595
1603
|
required: ""
|
|
1596
1604
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1597
1605
|
]),
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
modelValue:
|
|
1601
|
-
"onUpdate:modelValue":
|
|
1606
|
+
g("li", null, [
|
|
1607
|
+
C(se, {
|
|
1608
|
+
modelValue: a(c),
|
|
1609
|
+
"onUpdate:modelValue": V[12] || (V[12] = (L) => j(c) ? c.value = L : null),
|
|
1602
1610
|
type: "text",
|
|
1603
1611
|
name: "city",
|
|
1604
1612
|
autocomplete: "address-level2",
|
|
1605
|
-
label:
|
|
1613
|
+
label: a(e)("booking.reservation.city"),
|
|
1606
1614
|
icon: "city",
|
|
1607
|
-
placeholder:
|
|
1615
|
+
placeholder: a(e)("booking.reservation.cityPlaceholder"),
|
|
1608
1616
|
required: ""
|
|
1609
1617
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1610
1618
|
])
|
|
1611
1619
|
]),
|
|
1612
|
-
|
|
1613
|
-
modelValue:
|
|
1614
|
-
"onUpdate:modelValue":
|
|
1620
|
+
C(se, {
|
|
1621
|
+
modelValue: a(_),
|
|
1622
|
+
"onUpdate:modelValue": V[13] || (V[13] = (L) => j(_) ? _.value = L : null),
|
|
1615
1623
|
type: "textarea",
|
|
1616
|
-
label: `${
|
|
1624
|
+
label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
|
|
1617
1625
|
icon: "info-circle",
|
|
1618
|
-
placeholder:
|
|
1626
|
+
placeholder: a(e)("booking.reservation.remarkPlaceholder")
|
|
1619
1627
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1620
|
-
|
|
1621
|
-
modelValue:
|
|
1622
|
-
"onUpdate:modelValue":
|
|
1628
|
+
C(se, {
|
|
1629
|
+
modelValue: a(S),
|
|
1630
|
+
"onUpdate:modelValue": V[14] || (V[14] = (L) => j(S) ? S.value = L : null),
|
|
1623
1631
|
type: "textarea",
|
|
1624
|
-
label: `${
|
|
1632
|
+
label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
|
|
1625
1633
|
icon: "allergies",
|
|
1626
|
-
placeholder:
|
|
1634
|
+
placeholder: a(e)("booking.reservation.allergiesPlaceholder")
|
|
1627
1635
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1628
|
-
|
|
1636
|
+
a(Qe) ? w("", !0) : (T(), W(Ri, {
|
|
1629
1637
|
key: 3,
|
|
1630
|
-
modelValue:
|
|
1631
|
-
"onUpdate:modelValue":
|
|
1632
|
-
label: `${
|
|
1638
|
+
modelValue: a(d),
|
|
1639
|
+
"onUpdate:modelValue": V[15] || (V[15] = (L) => j(d) ? d.value = L : null),
|
|
1640
|
+
label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
|
|
1633
1641
|
name: "travelingFor",
|
|
1634
|
-
checkboxes:
|
|
1642
|
+
checkboxes: ee.value
|
|
1635
1643
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1636
1644
|
])
|
|
1637
1645
|
]),
|
|
1638
|
-
navigation:
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
label:
|
|
1642
|
-
disabled: !
|
|
1643
|
-
"is-loading":
|
|
1646
|
+
navigation: P(() => [
|
|
1647
|
+
g("div", null, [
|
|
1648
|
+
C(Ee, {
|
|
1649
|
+
label: a(Me) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
|
|
1650
|
+
disabled: !a(f),
|
|
1651
|
+
"is-loading": a(r),
|
|
1644
1652
|
"full-width": "",
|
|
1645
|
-
onClickEvent: (L) =>
|
|
1653
|
+
onClickEvent: (L) => fo(X)
|
|
1646
1654
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1647
|
-
|
|
1655
|
+
g("button", {
|
|
1648
1656
|
class: "konnectio-abort-reservation link",
|
|
1649
|
-
onClick:
|
|
1657
|
+
onClick: $t((L) => Tt(x), ["prevent"])
|
|
1650
1658
|
}, [
|
|
1651
|
-
|
|
1659
|
+
g("span", null, A(a(e)("general.goAStepBack")), 1)
|
|
1652
1660
|
], 8, In)
|
|
1653
1661
|
])
|
|
1654
1662
|
]),
|
|
1655
1663
|
_: 2
|
|
1656
1664
|
}, 1024)
|
|
1657
1665
|
]),
|
|
1658
|
-
payment:
|
|
1659
|
-
|
|
1666
|
+
payment: P(() => [
|
|
1667
|
+
C(No)
|
|
1660
1668
|
]),
|
|
1661
|
-
confirmation:
|
|
1662
|
-
|
|
1663
|
-
message:
|
|
1669
|
+
confirmation: P(() => [
|
|
1670
|
+
C(Do, {
|
|
1671
|
+
message: a(e)("booking.confirmation.thankYou")
|
|
1664
1672
|
}, null, 8, ["message"])
|
|
1665
1673
|
]),
|
|
1666
1674
|
_: 1
|
|
@@ -1669,8 +1677,8 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
|
|
|
1669
1677
|
_: 1
|
|
1670
1678
|
}, 8, ["access-token"])
|
|
1671
1679
|
]),
|
|
1672
|
-
fallback:
|
|
1673
|
-
|
|
1680
|
+
fallback: P(() => [
|
|
1681
|
+
C(Xi)
|
|
1674
1682
|
]),
|
|
1675
1683
|
_: 1
|
|
1676
1684
|
}))
|
|
@@ -1679,7 +1687,7 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
|
|
|
1679
1687
|
}, 8, ["styling"]));
|
|
1680
1688
|
}
|
|
1681
1689
|
});
|
|
1682
|
-
const
|
|
1690
|
+
const An = /* @__PURE__ */ oe(Ln, [["__scopeId", "data-v-62335f79"]]);
|
|
1683
1691
|
var eo = { exports: {} }, it = { exports: {} }, nt = { exports: {} }, At;
|
|
1684
1692
|
function bt() {
|
|
1685
1693
|
return At || (At = 1, function(t) {
|
|
@@ -1711,8 +1719,8 @@ function bt() {
|
|
|
1711
1719
|
if (!(!r || !r.length)) {
|
|
1712
1720
|
r = r.slice(0), u = u || [];
|
|
1713
1721
|
for (var f = this._onceEvents && this._onceEvents[i], d = 0; d < r.length; d++) {
|
|
1714
|
-
var h = r[d],
|
|
1715
|
-
|
|
1722
|
+
var h = r[d], l = f && f[h];
|
|
1723
|
+
l && (this.off(i, h), delete f[h]), h.apply(this, u);
|
|
1716
1724
|
}
|
|
1717
1725
|
return this;
|
|
1718
1726
|
}
|
|
@@ -1735,8 +1743,8 @@ function kt() {
|
|
|
1735
1743
|
t.exports ? t.exports = o() : e.getSize = o();
|
|
1736
1744
|
})(window, function() {
|
|
1737
1745
|
function o(s) {
|
|
1738
|
-
var
|
|
1739
|
-
return b &&
|
|
1746
|
+
var y = parseFloat(s), b = s.indexOf("%") == -1 && !isNaN(y);
|
|
1747
|
+
return b && y;
|
|
1740
1748
|
}
|
|
1741
1749
|
function i() {
|
|
1742
1750
|
}
|
|
@@ -1764,54 +1772,54 @@ function kt() {
|
|
|
1764
1772
|
innerHeight: 0,
|
|
1765
1773
|
outerWidth: 0,
|
|
1766
1774
|
outerHeight: 0
|
|
1767
|
-
},
|
|
1768
|
-
var b = r[
|
|
1775
|
+
}, y = 0; y < f; y++) {
|
|
1776
|
+
var b = r[y];
|
|
1769
1777
|
s[b] = 0;
|
|
1770
1778
|
}
|
|
1771
1779
|
return s;
|
|
1772
1780
|
}
|
|
1773
1781
|
function h(s) {
|
|
1774
|
-
var
|
|
1775
|
-
return
|
|
1782
|
+
var y = getComputedStyle(s);
|
|
1783
|
+
return y || u("Style returned " + y + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), y;
|
|
1776
1784
|
}
|
|
1777
|
-
var
|
|
1785
|
+
var l = !1, v;
|
|
1778
1786
|
function m() {
|
|
1779
|
-
if (!
|
|
1780
|
-
|
|
1787
|
+
if (!l) {
|
|
1788
|
+
l = !0;
|
|
1781
1789
|
var s = document.createElement("div");
|
|
1782
1790
|
s.style.width = "200px", s.style.padding = "1px 2px 3px 4px", s.style.borderStyle = "solid", s.style.borderWidth = "1px 2px 3px 4px", s.style.boxSizing = "border-box";
|
|
1783
|
-
var
|
|
1784
|
-
|
|
1791
|
+
var y = document.body || document.documentElement;
|
|
1792
|
+
y.appendChild(s);
|
|
1785
1793
|
var b = h(s);
|
|
1786
|
-
v = Math.round(o(b.width)) == 200, k.isBoxSizeOuter = v,
|
|
1794
|
+
v = Math.round(o(b.width)) == 200, k.isBoxSizeOuter = v, y.removeChild(s);
|
|
1787
1795
|
}
|
|
1788
1796
|
}
|
|
1789
1797
|
function k(s) {
|
|
1790
1798
|
if (m(), typeof s == "string" && (s = document.querySelector(s)), !(!s || typeof s != "object" || !s.nodeType)) {
|
|
1791
|
-
var
|
|
1792
|
-
if (
|
|
1799
|
+
var y = h(s);
|
|
1800
|
+
if (y.display == "none")
|
|
1793
1801
|
return d();
|
|
1794
1802
|
var b = {};
|
|
1795
1803
|
b.width = s.offsetWidth, b.height = s.offsetHeight;
|
|
1796
|
-
for (var c = b.isBorderBox =
|
|
1797
|
-
var p = r[n], _ =
|
|
1798
|
-
b[p] = isNaN(
|
|
1804
|
+
for (var c = b.isBorderBox = y.boxSizing == "border-box", n = 0; n < f; n++) {
|
|
1805
|
+
var p = r[n], _ = y[p], S = parseFloat(_);
|
|
1806
|
+
b[p] = isNaN(S) ? 0 : S;
|
|
1799
1807
|
}
|
|
1800
|
-
var E = b.paddingLeft + b.paddingRight, $ = b.paddingTop + b.paddingBottom,
|
|
1801
|
-
|
|
1802
|
-
(
|
|
1803
|
-
var
|
|
1804
|
-
return
|
|
1805
|
-
(
|
|
1808
|
+
var E = b.paddingLeft + b.paddingRight, $ = b.paddingTop + b.paddingBottom, O = b.marginLeft + b.marginRight, R = b.marginTop + b.marginBottom, H = b.borderLeftWidth + b.borderRightWidth, F = b.borderTopWidth + b.borderBottomWidth, D = c && v, G = o(y.width);
|
|
1809
|
+
G !== !1 && (b.width = G + // add padding and border unless it's already including it
|
|
1810
|
+
(D ? 0 : E + H));
|
|
1811
|
+
var z = o(y.height);
|
|
1812
|
+
return z !== !1 && (b.height = z + // add padding and border unless it's already including it
|
|
1813
|
+
(D ? 0 : $ + F)), b.innerWidth = b.width - (E + H), b.innerHeight = b.height - ($ + F), b.outerWidth = b.width + O, b.outerHeight = b.height + R, b;
|
|
1806
1814
|
}
|
|
1807
1815
|
}
|
|
1808
1816
|
return k;
|
|
1809
1817
|
});
|
|
1810
1818
|
}(rt)), rt.exports;
|
|
1811
1819
|
}
|
|
1812
|
-
var st = { exports: {} }, at = { exports: {} },
|
|
1813
|
-
function
|
|
1814
|
-
return
|
|
1820
|
+
var st = { exports: {} }, at = { exports: {} }, Vt;
|
|
1821
|
+
function On() {
|
|
1822
|
+
return Vt || (Vt = 1, function(t) {
|
|
1815
1823
|
(function(e, o) {
|
|
1816
1824
|
t.exports ? t.exports = o() : e.matchesSelector = o();
|
|
1817
1825
|
})(window, function() {
|
|
@@ -1833,13 +1841,13 @@ function An() {
|
|
|
1833
1841
|
});
|
|
1834
1842
|
}(at)), at.exports;
|
|
1835
1843
|
}
|
|
1836
|
-
var
|
|
1837
|
-
function
|
|
1838
|
-
return
|
|
1844
|
+
var Ht;
|
|
1845
|
+
function Vn() {
|
|
1846
|
+
return Ht || (Ht = 1, function(t) {
|
|
1839
1847
|
(function(e, o) {
|
|
1840
1848
|
t.exports ? t.exports = o(
|
|
1841
1849
|
e,
|
|
1842
|
-
|
|
1850
|
+
On()
|
|
1843
1851
|
) : e.fizzyUIUtils = o(
|
|
1844
1852
|
e,
|
|
1845
1853
|
e.matchesSelector
|
|
@@ -1847,8 +1855,8 @@ function On() {
|
|
|
1847
1855
|
})(window, function(o, i) {
|
|
1848
1856
|
var u = {};
|
|
1849
1857
|
u.extend = function(d, h) {
|
|
1850
|
-
for (var
|
|
1851
|
-
d[
|
|
1858
|
+
for (var l in h)
|
|
1859
|
+
d[l] = h[l];
|
|
1852
1860
|
return d;
|
|
1853
1861
|
}, u.modulo = function(d, h) {
|
|
1854
1862
|
return (d % h + h) % h;
|
|
@@ -1862,8 +1870,8 @@ function On() {
|
|
|
1862
1870
|
var h = typeof d == "object" && typeof d.length == "number";
|
|
1863
1871
|
return h ? r.call(d) : [d];
|
|
1864
1872
|
}, u.removeFrom = function(d, h) {
|
|
1865
|
-
var
|
|
1866
|
-
|
|
1873
|
+
var l = d.indexOf(h);
|
|
1874
|
+
l != -1 && d.splice(l, 1);
|
|
1867
1875
|
}, u.getParent = function(d, h) {
|
|
1868
1876
|
for (; d.parentNode && d != document.body; )
|
|
1869
1877
|
if (d = d.parentNode, i(d, h))
|
|
@@ -1875,47 +1883,47 @@ function On() {
|
|
|
1875
1883
|
this[h] && this[h](d);
|
|
1876
1884
|
}, u.filterFindElements = function(d, h) {
|
|
1877
1885
|
d = u.makeArray(d);
|
|
1878
|
-
var
|
|
1886
|
+
var l = [];
|
|
1879
1887
|
return d.forEach(function(v) {
|
|
1880
1888
|
if (v instanceof HTMLElement) {
|
|
1881
1889
|
if (!h) {
|
|
1882
|
-
|
|
1890
|
+
l.push(v);
|
|
1883
1891
|
return;
|
|
1884
1892
|
}
|
|
1885
|
-
i(v, h) &&
|
|
1893
|
+
i(v, h) && l.push(v);
|
|
1886
1894
|
for (var m = v.querySelectorAll(h), k = 0; k < m.length; k++)
|
|
1887
|
-
|
|
1895
|
+
l.push(m[k]);
|
|
1888
1896
|
}
|
|
1889
|
-
}),
|
|
1890
|
-
}, u.debounceMethod = function(d, h,
|
|
1891
|
-
|
|
1897
|
+
}), l;
|
|
1898
|
+
}, u.debounceMethod = function(d, h, l) {
|
|
1899
|
+
l = l || 100;
|
|
1892
1900
|
var v = d.prototype[h], m = h + "Timeout";
|
|
1893
1901
|
d.prototype[h] = function() {
|
|
1894
1902
|
var k = this[m];
|
|
1895
1903
|
clearTimeout(k);
|
|
1896
|
-
var s = arguments,
|
|
1904
|
+
var s = arguments, y = this;
|
|
1897
1905
|
this[m] = setTimeout(function() {
|
|
1898
|
-
v.apply(
|
|
1899
|
-
},
|
|
1906
|
+
v.apply(y, s), delete y[m];
|
|
1907
|
+
}, l);
|
|
1900
1908
|
};
|
|
1901
1909
|
}, u.docReady = function(d) {
|
|
1902
1910
|
var h = document.readyState;
|
|
1903
1911
|
h == "complete" || h == "interactive" ? setTimeout(d) : document.addEventListener("DOMContentLoaded", d);
|
|
1904
1912
|
}, u.toDashed = function(d) {
|
|
1905
|
-
return d.replace(/(.)([A-Z])/g, function(h,
|
|
1906
|
-
return
|
|
1913
|
+
return d.replace(/(.)([A-Z])/g, function(h, l, v) {
|
|
1914
|
+
return l + "-" + v;
|
|
1907
1915
|
}).toLowerCase();
|
|
1908
1916
|
};
|
|
1909
1917
|
var f = o.console;
|
|
1910
1918
|
return u.htmlInit = function(d, h) {
|
|
1911
1919
|
u.docReady(function() {
|
|
1912
|
-
var
|
|
1920
|
+
var l = u.toDashed(h), v = "data-" + l, m = document.querySelectorAll("[" + v + "]"), k = document.querySelectorAll(".js-" + l), s = u.makeArray(m).concat(u.makeArray(k)), y = v + "-options", b = o.jQuery;
|
|
1913
1921
|
s.forEach(function(c) {
|
|
1914
|
-
var n = c.getAttribute(v) || c.getAttribute(
|
|
1922
|
+
var n = c.getAttribute(v) || c.getAttribute(y), p;
|
|
1915
1923
|
try {
|
|
1916
1924
|
p = n && JSON.parse(n);
|
|
1917
|
-
} catch (
|
|
1918
|
-
f && f.error("Error parsing " + v + " on " + c.className + ": " +
|
|
1925
|
+
} catch (S) {
|
|
1926
|
+
f && f.error("Error parsing " + v + " on " + c.className + ": " + S);
|
|
1919
1927
|
return;
|
|
1920
1928
|
}
|
|
1921
1929
|
var _ = new d(c, p);
|
|
@@ -1946,7 +1954,7 @@ function Hn() {
|
|
|
1946
1954
|
var r = document.documentElement.style, f = typeof r.transition == "string" ? "transition" : "WebkitTransition", d = typeof r.transform == "string" ? "transform" : "WebkitTransform", h = {
|
|
1947
1955
|
WebkitTransition: "webkitTransitionEnd",
|
|
1948
1956
|
transition: "transitionend"
|
|
1949
|
-
}[f],
|
|
1957
|
+
}[f], l = {
|
|
1950
1958
|
transform: d,
|
|
1951
1959
|
transition: f,
|
|
1952
1960
|
transitionDuration: f + "Duration",
|
|
@@ -1976,17 +1984,17 @@ function Hn() {
|
|
|
1976
1984
|
}, m.css = function(c) {
|
|
1977
1985
|
var n = this.element.style;
|
|
1978
1986
|
for (var p in c) {
|
|
1979
|
-
var _ =
|
|
1987
|
+
var _ = l[p] || p;
|
|
1980
1988
|
n[_] = c[p];
|
|
1981
1989
|
}
|
|
1982
1990
|
}, m.getPosition = function() {
|
|
1983
|
-
var c = getComputedStyle(this.element), n = this.layout._getOption("originLeft"), p = this.layout._getOption("originTop"), _ = c[n ? "left" : "right"],
|
|
1984
|
-
_.indexOf("%") != -1 && (E = E / 100 *
|
|
1991
|
+
var c = getComputedStyle(this.element), n = this.layout._getOption("originLeft"), p = this.layout._getOption("originTop"), _ = c[n ? "left" : "right"], S = c[p ? "top" : "bottom"], E = parseFloat(_), $ = parseFloat(S), O = this.layout.size;
|
|
1992
|
+
_.indexOf("%") != -1 && (E = E / 100 * O.width), S.indexOf("%") != -1 && ($ = $ / 100 * O.height), E = isNaN(E) ? 0 : E, $ = isNaN($) ? 0 : $, E -= n ? O.paddingLeft : O.paddingRight, $ -= p ? O.paddingTop : O.paddingBottom, this.position.x = E, this.position.y = $;
|
|
1985
1993
|
}, m.layoutPosition = function() {
|
|
1986
|
-
var c = this.layout.size, n = {}, p = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop"),
|
|
1987
|
-
n[E] = this.getXValue(
|
|
1988
|
-
var
|
|
1989
|
-
n[
|
|
1994
|
+
var c = this.layout.size, n = {}, p = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop"), S = p ? "paddingLeft" : "paddingRight", E = p ? "left" : "right", $ = p ? "right" : "left", O = this.position.x + c[S];
|
|
1995
|
+
n[E] = this.getXValue(O), n[$] = "";
|
|
1996
|
+
var R = _ ? "paddingTop" : "paddingBottom", H = _ ? "top" : "bottom", F = _ ? "bottom" : "top", D = this.position.y + c[R];
|
|
1997
|
+
n[H] = this.getYValue(D), n[F] = "", this.css(n), this.emitEvent("layout", [this]);
|
|
1990
1998
|
}, m.getXValue = function(c) {
|
|
1991
1999
|
var n = this.layout._getOption("horizontal");
|
|
1992
2000
|
return this.layout.options.percentPosition && !n ? c / this.layout.size.width * 100 + "%" : c + "px";
|
|
@@ -1995,14 +2003,14 @@ function Hn() {
|
|
|
1995
2003
|
return this.layout.options.percentPosition && n ? c / this.layout.size.height * 100 + "%" : c + "px";
|
|
1996
2004
|
}, m._transitionTo = function(c, n) {
|
|
1997
2005
|
this.getPosition();
|
|
1998
|
-
var p = this.position.x, _ = this.position.y,
|
|
1999
|
-
if (this.setPosition(c, n),
|
|
2006
|
+
var p = this.position.x, _ = this.position.y, S = c == this.position.x && n == this.position.y;
|
|
2007
|
+
if (this.setPosition(c, n), S && !this.isTransitioning) {
|
|
2000
2008
|
this.layoutPosition();
|
|
2001
2009
|
return;
|
|
2002
2010
|
}
|
|
2003
|
-
var E = c - p, $ = n - _,
|
|
2004
|
-
|
|
2005
|
-
to:
|
|
2011
|
+
var E = c - p, $ = n - _, O = {};
|
|
2012
|
+
O.transform = this.getTranslate(E, $), this.transition({
|
|
2013
|
+
to: O,
|
|
2006
2014
|
onTransitionEnd: {
|
|
2007
2015
|
transform: this.layoutPosition
|
|
2008
2016
|
},
|
|
@@ -2051,12 +2059,12 @@ function Hn() {
|
|
|
2051
2059
|
}, m.onotransitionend = function(c) {
|
|
2052
2060
|
this.ontransitionend(c);
|
|
2053
2061
|
};
|
|
2054
|
-
var
|
|
2062
|
+
var y = {
|
|
2055
2063
|
"-webkit-transform": "transform"
|
|
2056
2064
|
};
|
|
2057
2065
|
m.ontransitionend = function(c) {
|
|
2058
2066
|
if (c.target === this.element) {
|
|
2059
|
-
var n = this._transn, p =
|
|
2067
|
+
var n = this._transn, p = y[c.propertyName] || c.propertyName;
|
|
2060
2068
|
if (delete n.ingProperties[p], u(n.ingProperties) && this.disableTransition(), p in n.clean && (this.element.style[c.propertyName] = "", delete n.clean[p]), p in n.onEnd) {
|
|
2061
2069
|
var _ = n.onEnd[p];
|
|
2062
2070
|
_.call(this), delete n.onEnd[p];
|
|
@@ -2139,14 +2147,14 @@ function Hn() {
|
|
|
2139
2147
|
* MIT license
|
|
2140
2148
|
*/
|
|
2141
2149
|
var Pt;
|
|
2142
|
-
function
|
|
2150
|
+
function wn() {
|
|
2143
2151
|
return Pt || (Pt = 1, function(t) {
|
|
2144
2152
|
(function(e, o) {
|
|
2145
2153
|
t.exports ? t.exports = o(
|
|
2146
2154
|
e,
|
|
2147
2155
|
bt(),
|
|
2148
2156
|
kt(),
|
|
2149
|
-
|
|
2157
|
+
Vn(),
|
|
2150
2158
|
Hn()
|
|
2151
2159
|
) : e.Outlayer = o(
|
|
2152
2160
|
e,
|
|
@@ -2156,7 +2164,7 @@ function Vn() {
|
|
|
2156
2164
|
e.Outlayer.Item
|
|
2157
2165
|
);
|
|
2158
2166
|
})(window, function(o, i, u, r, f) {
|
|
2159
|
-
var d = o.console, h = o.jQuery,
|
|
2167
|
+
var d = o.console, h = o.jQuery, l = function() {
|
|
2160
2168
|
}, v = 0, m = {};
|
|
2161
2169
|
function k(n, p) {
|
|
2162
2170
|
var _ = r.getQueryElement(n);
|
|
@@ -2165,8 +2173,8 @@ function Vn() {
|
|
|
2165
2173
|
return;
|
|
2166
2174
|
}
|
|
2167
2175
|
this.element = _, h && (this.$element = h(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(p);
|
|
2168
|
-
var
|
|
2169
|
-
this.element.outlayerGUID =
|
|
2176
|
+
var S = ++v;
|
|
2177
|
+
this.element.outlayerGUID = S, m[S] = this, this._create();
|
|
2170
2178
|
var E = this._getOption("initLayout");
|
|
2171
2179
|
E && this.layout();
|
|
2172
2180
|
}
|
|
@@ -2212,11 +2220,11 @@ function Vn() {
|
|
|
2212
2220
|
}, s.reloadItems = function() {
|
|
2213
2221
|
this.items = this._itemize(this.element.children);
|
|
2214
2222
|
}, s._itemize = function(n) {
|
|
2215
|
-
for (var p = this._filterFindItemElements(n), _ = this.constructor.Item,
|
|
2216
|
-
var $ = p[E],
|
|
2217
|
-
|
|
2223
|
+
for (var p = this._filterFindItemElements(n), _ = this.constructor.Item, S = [], E = 0; E < p.length; E++) {
|
|
2224
|
+
var $ = p[E], O = new _($, this);
|
|
2225
|
+
S.push(O);
|
|
2218
2226
|
}
|
|
2219
|
-
return
|
|
2227
|
+
return S;
|
|
2220
2228
|
}, s._filterFindItemElements = function(n) {
|
|
2221
2229
|
return r.filterFindElements(n, this.options.itemSelector);
|
|
2222
2230
|
}, s.getItemElements = function() {
|
|
@@ -2232,8 +2240,8 @@ function Vn() {
|
|
|
2232
2240
|
}, s.getSize = function() {
|
|
2233
2241
|
this.size = u(this.element);
|
|
2234
2242
|
}, s._getMeasurement = function(n, p) {
|
|
2235
|
-
var _ = this.options[n],
|
|
2236
|
-
_ ? (typeof _ == "string" ?
|
|
2243
|
+
var _ = this.options[n], S;
|
|
2244
|
+
_ ? (typeof _ == "string" ? S = this.element.querySelector(_) : _ instanceof HTMLElement && (S = _), this[n] = S ? u(S)[p] : _) : this[n] = 0;
|
|
2237
2245
|
}, s.layoutItems = function(n, p) {
|
|
2238
2246
|
n = this._getItemsForLayout(n), this._layoutItems(n, p), this._postLayout();
|
|
2239
2247
|
}, s._getItemsForLayout = function(n) {
|
|
@@ -2243,9 +2251,9 @@ function Vn() {
|
|
|
2243
2251
|
}, s._layoutItems = function(n, p) {
|
|
2244
2252
|
if (this._emitCompleteOnItems("layout", n), !(!n || !n.length)) {
|
|
2245
2253
|
var _ = [];
|
|
2246
|
-
n.forEach(function(
|
|
2247
|
-
var E = this._getItemLayoutPosition(
|
|
2248
|
-
E.item =
|
|
2254
|
+
n.forEach(function(S) {
|
|
2255
|
+
var E = this._getItemLayoutPosition(S);
|
|
2256
|
+
E.item = S, E.isInstant = p || S.isLayoutInstant, _.push(E);
|
|
2249
2257
|
}, this), this._processLayoutQueue(_);
|
|
2250
2258
|
}
|
|
2251
2259
|
}, s._getItemLayoutPosition = function() {
|
|
@@ -2264,8 +2272,8 @@ function Vn() {
|
|
|
2264
2272
|
return;
|
|
2265
2273
|
}
|
|
2266
2274
|
return this.stagger = c(n), this.stagger;
|
|
2267
|
-
}, s._positionItem = function(n, p, _,
|
|
2268
|
-
|
|
2275
|
+
}, s._positionItem = function(n, p, _, S, E) {
|
|
2276
|
+
S ? n.goTo(p, _) : (n.stagger(E * this.stagger), n.moveTo(p, _));
|
|
2269
2277
|
}, s._postLayout = function() {
|
|
2270
2278
|
this.resizeContainer();
|
|
2271
2279
|
}, s.resizeContainer = function() {
|
|
@@ -2274,31 +2282,31 @@ function Vn() {
|
|
|
2274
2282
|
var p = this._getContainerSize();
|
|
2275
2283
|
p && (this._setContainerMeasure(p.width, !0), this._setContainerMeasure(p.height, !1));
|
|
2276
2284
|
}
|
|
2277
|
-
}, s._getContainerSize =
|
|
2285
|
+
}, s._getContainerSize = l, s._setContainerMeasure = function(n, p) {
|
|
2278
2286
|
if (n !== void 0) {
|
|
2279
2287
|
var _ = this.size;
|
|
2280
2288
|
_.isBorderBox && (n += p ? _.paddingLeft + _.paddingRight + _.borderLeftWidth + _.borderRightWidth : _.paddingBottom + _.paddingTop + _.borderTopWidth + _.borderBottomWidth), n = Math.max(n, 0), this.element.style[p ? "width" : "height"] = n + "px";
|
|
2281
2289
|
}
|
|
2282
2290
|
}, s._emitCompleteOnItems = function(n, p) {
|
|
2283
2291
|
var _ = this;
|
|
2284
|
-
function
|
|
2292
|
+
function S() {
|
|
2285
2293
|
_.dispatchEvent(n + "Complete", null, [p]);
|
|
2286
2294
|
}
|
|
2287
2295
|
var E = p.length;
|
|
2288
2296
|
if (!p || !E) {
|
|
2289
|
-
|
|
2297
|
+
S();
|
|
2290
2298
|
return;
|
|
2291
2299
|
}
|
|
2292
2300
|
var $ = 0;
|
|
2293
|
-
function
|
|
2294
|
-
$++, $ == E &&
|
|
2301
|
+
function O() {
|
|
2302
|
+
$++, $ == E && S();
|
|
2295
2303
|
}
|
|
2296
|
-
p.forEach(function(
|
|
2297
|
-
|
|
2304
|
+
p.forEach(function(R) {
|
|
2305
|
+
R.once(n, O);
|
|
2298
2306
|
});
|
|
2299
2307
|
}, s.dispatchEvent = function(n, p, _) {
|
|
2300
|
-
var
|
|
2301
|
-
if (this.emitEvent(n,
|
|
2308
|
+
var S = p ? [p].concat(_) : _;
|
|
2309
|
+
if (this.emitEvent(n, S), h)
|
|
2302
2310
|
if (this.$element = this.$element || h(this.element), p) {
|
|
2303
2311
|
var E = h.Event(p);
|
|
2304
2312
|
E.type = n, this.$element.trigger(E, _);
|
|
@@ -2329,12 +2337,12 @@ function Vn() {
|
|
|
2329
2337
|
right: n.right - (p.paddingRight + p.borderRightWidth),
|
|
2330
2338
|
bottom: n.bottom - (p.paddingBottom + p.borderBottomWidth)
|
|
2331
2339
|
};
|
|
2332
|
-
}, s._manageStamp =
|
|
2333
|
-
var p = n.getBoundingClientRect(), _ = this._boundingRect,
|
|
2334
|
-
left: p.left - _.left -
|
|
2335
|
-
top: p.top - _.top -
|
|
2336
|
-
right: _.right - p.right -
|
|
2337
|
-
bottom: _.bottom - p.bottom -
|
|
2340
|
+
}, s._manageStamp = l, s._getElementOffset = function(n) {
|
|
2341
|
+
var p = n.getBoundingClientRect(), _ = this._boundingRect, S = u(n), E = {
|
|
2342
|
+
left: p.left - _.left - S.marginLeft,
|
|
2343
|
+
top: p.top - _.top - S.marginTop,
|
|
2344
|
+
right: _.right - p.right - S.marginRight,
|
|
2345
|
+
bottom: _.bottom - p.bottom - S.marginBottom
|
|
2338
2346
|
};
|
|
2339
2347
|
return E;
|
|
2340
2348
|
}, s.handleEvent = r.handleEvent, s.bindResize = function() {
|
|
@@ -2363,15 +2371,15 @@ function Vn() {
|
|
|
2363
2371
|
}, s.reveal = function(n) {
|
|
2364
2372
|
if (this._emitCompleteOnItems("reveal", n), !(!n || !n.length)) {
|
|
2365
2373
|
var p = this.updateStagger();
|
|
2366
|
-
n.forEach(function(_,
|
|
2367
|
-
_.stagger(
|
|
2374
|
+
n.forEach(function(_, S) {
|
|
2375
|
+
_.stagger(S * p), _.reveal();
|
|
2368
2376
|
});
|
|
2369
2377
|
}
|
|
2370
2378
|
}, s.hide = function(n) {
|
|
2371
2379
|
if (this._emitCompleteOnItems("hide", n), !(!n || !n.length)) {
|
|
2372
2380
|
var p = this.updateStagger();
|
|
2373
|
-
n.forEach(function(_,
|
|
2374
|
-
_.stagger(
|
|
2381
|
+
n.forEach(function(_, S) {
|
|
2382
|
+
_.stagger(S * p), _.hide();
|
|
2375
2383
|
});
|
|
2376
2384
|
}
|
|
2377
2385
|
}, s.revealItemElements = function(n) {
|
|
@@ -2390,8 +2398,8 @@ function Vn() {
|
|
|
2390
2398
|
n = r.makeArray(n);
|
|
2391
2399
|
var p = [];
|
|
2392
2400
|
return n.forEach(function(_) {
|
|
2393
|
-
var
|
|
2394
|
-
|
|
2401
|
+
var S = this.getItem(_);
|
|
2402
|
+
S && p.push(S);
|
|
2395
2403
|
}, this), p;
|
|
2396
2404
|
}, s.remove = function(n) {
|
|
2397
2405
|
var p = this.getItems(n);
|
|
@@ -2410,10 +2418,10 @@ function Vn() {
|
|
|
2410
2418
|
var p = n && n.outlayerGUID;
|
|
2411
2419
|
return p && m[p];
|
|
2412
2420
|
}, k.create = function(n, p) {
|
|
2413
|
-
var _ =
|
|
2414
|
-
return _.defaults = r.extend({}, k.defaults), r.extend(_.defaults, p), _.compatOptions = r.extend({}, k.compatOptions), _.namespace = n, _.data = k.data, _.Item =
|
|
2421
|
+
var _ = y(k);
|
|
2422
|
+
return _.defaults = r.extend({}, k.defaults), r.extend(_.defaults, p), _.compatOptions = r.extend({}, k.compatOptions), _.namespace = n, _.data = k.data, _.Item = y(f), r.htmlInit(_, n), h && h.bridget && h.bridget(n, _), _;
|
|
2415
2423
|
};
|
|
2416
|
-
function
|
|
2424
|
+
function y(n) {
|
|
2417
2425
|
function p() {
|
|
2418
2426
|
n.apply(this, arguments);
|
|
2419
2427
|
}
|
|
@@ -2426,11 +2434,11 @@ function Vn() {
|
|
|
2426
2434
|
function c(n) {
|
|
2427
2435
|
if (typeof n == "number")
|
|
2428
2436
|
return n;
|
|
2429
|
-
var p = n.match(/(^\d*\.?\d*)(\w*)/), _ = p && p[1],
|
|
2437
|
+
var p = n.match(/(^\d*\.?\d*)(\w*)/), _ = p && p[1], S = p && p[2];
|
|
2430
2438
|
if (!_.length)
|
|
2431
2439
|
return 0;
|
|
2432
2440
|
_ = parseFloat(_);
|
|
2433
|
-
var E = b[
|
|
2441
|
+
var E = b[S] || 1;
|
|
2434
2442
|
return _ * E;
|
|
2435
2443
|
}
|
|
2436
2444
|
return k.Item = f, k;
|
|
@@ -2447,7 +2455,7 @@ function Vn() {
|
|
|
2447
2455
|
(function(t) {
|
|
2448
2456
|
(function(e, o) {
|
|
2449
2457
|
t.exports ? t.exports = o(
|
|
2450
|
-
|
|
2458
|
+
wn(),
|
|
2451
2459
|
kt()
|
|
2452
2460
|
) : e.Masonry = o(
|
|
2453
2461
|
e.Outlayer,
|
|
@@ -2468,19 +2476,19 @@ function Vn() {
|
|
|
2468
2476
|
this.columnWidth = d && i(d).outerWidth || // if first elem has no width, default to size of container
|
|
2469
2477
|
this.containerWidth;
|
|
2470
2478
|
}
|
|
2471
|
-
var h = this.columnWidth += this.gutter,
|
|
2479
|
+
var h = this.columnWidth += this.gutter, l = this.containerWidth + this.gutter, v = l / h, m = h - l % h, k = m && m < 1 ? "round" : "floor";
|
|
2472
2480
|
v = Math[k](v), this.cols = Math.max(v, 1);
|
|
2473
2481
|
}, r.getContainerWidth = function() {
|
|
2474
2482
|
var f = this._getOption("fitWidth"), d = f ? this.element.parentNode : this.element, h = i(d);
|
|
2475
2483
|
this.containerWidth = h && h.innerWidth;
|
|
2476
2484
|
}, r._getItemLayoutPosition = function(f) {
|
|
2477
2485
|
f.getSize();
|
|
2478
|
-
var d = f.size.outerWidth % this.columnWidth, h = d && d < 1 ? "round" : "ceil",
|
|
2479
|
-
|
|
2480
|
-
for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](
|
|
2486
|
+
var d = f.size.outerWidth % this.columnWidth, h = d && d < 1 ? "round" : "ceil", l = Math[h](f.size.outerWidth / this.columnWidth);
|
|
2487
|
+
l = Math.min(l, this.cols);
|
|
2488
|
+
for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](l, f), k = {
|
|
2481
2489
|
x: this.columnWidth * m.col,
|
|
2482
2490
|
y: m.y
|
|
2483
|
-
}, s = m.y + f.size.outerHeight,
|
|
2491
|
+
}, s = m.y + f.size.outerHeight, y = l + m.col, b = m.col; b < y; b++)
|
|
2484
2492
|
this.colYs[b] = s;
|
|
2485
2493
|
return k;
|
|
2486
2494
|
}, r._getTopColPosition = function(f) {
|
|
@@ -2492,8 +2500,8 @@ function Vn() {
|
|
|
2492
2500
|
}, r._getTopColGroup = function(f) {
|
|
2493
2501
|
if (f < 2)
|
|
2494
2502
|
return this.colYs;
|
|
2495
|
-
for (var d = [], h = this.cols + 1 - f,
|
|
2496
|
-
d[
|
|
2503
|
+
for (var d = [], h = this.cols + 1 - f, l = 0; l < h; l++)
|
|
2504
|
+
d[l] = this._getColGroupY(l, f);
|
|
2497
2505
|
return d;
|
|
2498
2506
|
}, r._getColGroupY = function(f, d) {
|
|
2499
2507
|
if (d < 2)
|
|
@@ -2501,19 +2509,19 @@ function Vn() {
|
|
|
2501
2509
|
var h = this.colYs.slice(f, f + d);
|
|
2502
2510
|
return Math.max.apply(Math, h);
|
|
2503
2511
|
}, r._getHorizontalColPosition = function(f, d) {
|
|
2504
|
-
var h = this.horizontalColIndex % this.cols,
|
|
2505
|
-
h =
|
|
2512
|
+
var h = this.horizontalColIndex % this.cols, l = f > 1 && h + f > this.cols;
|
|
2513
|
+
h = l ? 0 : h;
|
|
2506
2514
|
var v = d.size.outerWidth && d.size.outerHeight;
|
|
2507
2515
|
return this.horizontalColIndex = v ? h + f : this.horizontalColIndex, {
|
|
2508
2516
|
col: h,
|
|
2509
2517
|
y: this._getColGroupY(h, f)
|
|
2510
2518
|
};
|
|
2511
2519
|
}, r._manageStamp = function(f) {
|
|
2512
|
-
var d = i(f), h = this._getElementOffset(f),
|
|
2520
|
+
var d = i(f), h = this._getElementOffset(f), l = this._getOption("originLeft"), v = l ? h.left : h.right, m = v + d.outerWidth, k = Math.floor(v / this.columnWidth);
|
|
2513
2521
|
k = Math.max(0, k);
|
|
2514
2522
|
var s = Math.floor(m / this.columnWidth);
|
|
2515
2523
|
s -= m % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
|
|
2516
|
-
for (var
|
|
2524
|
+
for (var y = this._getOption("originTop"), b = (y ? h.top : h.bottom) + d.outerHeight, c = k; c <= s; c++)
|
|
2517
2525
|
this.colYs[c] = Math.max(b, this.colYs[c]);
|
|
2518
2526
|
}, r._getContainerSize = function() {
|
|
2519
2527
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
@@ -2531,8 +2539,8 @@ function Vn() {
|
|
|
2531
2539
|
}, u;
|
|
2532
2540
|
});
|
|
2533
2541
|
})(eo);
|
|
2534
|
-
var
|
|
2535
|
-
const Rt = /* @__PURE__ */ Kt(
|
|
2542
|
+
var Pn = eo.exports;
|
|
2543
|
+
const Rt = /* @__PURE__ */ Kt(Pn);
|
|
2536
2544
|
var to = { exports: {} };
|
|
2537
2545
|
/*!
|
|
2538
2546
|
* imagesLoaded v4.1.4
|
|
@@ -2553,34 +2561,34 @@ var to = { exports: {} };
|
|
|
2553
2561
|
// -------------------------- factory -------------------------- //
|
|
2554
2562
|
function(o, i) {
|
|
2555
2563
|
var u = o.jQuery, r = o.console;
|
|
2556
|
-
function f(s,
|
|
2557
|
-
for (var b in
|
|
2558
|
-
s[b] =
|
|
2564
|
+
function f(s, y) {
|
|
2565
|
+
for (var b in y)
|
|
2566
|
+
s[b] = y[b];
|
|
2559
2567
|
return s;
|
|
2560
2568
|
}
|
|
2561
2569
|
var d = Array.prototype.slice;
|
|
2562
2570
|
function h(s) {
|
|
2563
2571
|
if (Array.isArray(s))
|
|
2564
2572
|
return s;
|
|
2565
|
-
var
|
|
2566
|
-
return
|
|
2573
|
+
var y = typeof s == "object" && typeof s.length == "number";
|
|
2574
|
+
return y ? d.call(s) : [s];
|
|
2567
2575
|
}
|
|
2568
|
-
function
|
|
2569
|
-
if (!(this instanceof
|
|
2570
|
-
return new
|
|
2576
|
+
function l(s, y, b) {
|
|
2577
|
+
if (!(this instanceof l))
|
|
2578
|
+
return new l(s, y, b);
|
|
2571
2579
|
var c = s;
|
|
2572
2580
|
if (typeof s == "string" && (c = document.querySelectorAll(s)), !c) {
|
|
2573
2581
|
r.error("Bad element for imagesLoaded " + (c || s));
|
|
2574
2582
|
return;
|
|
2575
2583
|
}
|
|
2576
|
-
this.elements = h(c), this.options = f({}, this.options), typeof
|
|
2584
|
+
this.elements = h(c), this.options = f({}, this.options), typeof y == "function" ? b = y : f(this.options, y), b && this.on("always", b), this.getImages(), u && (this.jqDeferred = new u.Deferred()), setTimeout(this.check.bind(this));
|
|
2577
2585
|
}
|
|
2578
|
-
|
|
2586
|
+
l.prototype = Object.create(i.prototype), l.prototype.options = {}, l.prototype.getImages = function() {
|
|
2579
2587
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
2580
|
-
},
|
|
2588
|
+
}, l.prototype.addElementImages = function(s) {
|
|
2581
2589
|
s.nodeName == "IMG" && this.addImage(s), this.options.background === !0 && this.addElementBackgroundImages(s);
|
|
2582
|
-
var
|
|
2583
|
-
if (!(!
|
|
2590
|
+
var y = s.nodeType;
|
|
2591
|
+
if (!(!y || !v[y])) {
|
|
2584
2592
|
for (var b = s.querySelectorAll("img"), c = 0; c < b.length; c++) {
|
|
2585
2593
|
var n = b[c];
|
|
2586
2594
|
this.addImage(n);
|
|
@@ -2599,40 +2607,40 @@ var to = { exports: {} };
|
|
|
2599
2607
|
9: !0,
|
|
2600
2608
|
11: !0
|
|
2601
2609
|
};
|
|
2602
|
-
|
|
2603
|
-
var
|
|
2604
|
-
if (
|
|
2605
|
-
for (var b = /url\((['"])?(.*?)\1\)/gi, c = b.exec(
|
|
2610
|
+
l.prototype.addElementBackgroundImages = function(s) {
|
|
2611
|
+
var y = getComputedStyle(s);
|
|
2612
|
+
if (y)
|
|
2613
|
+
for (var b = /url\((['"])?(.*?)\1\)/gi, c = b.exec(y.backgroundImage); c !== null; ) {
|
|
2606
2614
|
var n = c && c[2];
|
|
2607
|
-
n && this.addBackground(n, s), c = b.exec(
|
|
2615
|
+
n && this.addBackground(n, s), c = b.exec(y.backgroundImage);
|
|
2608
2616
|
}
|
|
2609
|
-
},
|
|
2610
|
-
var
|
|
2611
|
-
this.images.push(
|
|
2612
|
-
},
|
|
2613
|
-
var b = new k(s,
|
|
2617
|
+
}, l.prototype.addImage = function(s) {
|
|
2618
|
+
var y = new m(s);
|
|
2619
|
+
this.images.push(y);
|
|
2620
|
+
}, l.prototype.addBackground = function(s, y) {
|
|
2621
|
+
var b = new k(s, y);
|
|
2614
2622
|
this.images.push(b);
|
|
2615
|
-
},
|
|
2623
|
+
}, l.prototype.check = function() {
|
|
2616
2624
|
var s = this;
|
|
2617
2625
|
if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
|
|
2618
2626
|
this.complete();
|
|
2619
2627
|
return;
|
|
2620
2628
|
}
|
|
2621
|
-
function
|
|
2629
|
+
function y(b, c, n) {
|
|
2622
2630
|
setTimeout(function() {
|
|
2623
2631
|
s.progress(b, c, n);
|
|
2624
2632
|
});
|
|
2625
2633
|
}
|
|
2626
2634
|
this.images.forEach(function(b) {
|
|
2627
|
-
b.once("progress",
|
|
2635
|
+
b.once("progress", y), b.check();
|
|
2628
2636
|
});
|
|
2629
|
-
},
|
|
2630
|
-
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s,
|
|
2631
|
-
},
|
|
2637
|
+
}, l.prototype.progress = function(s, y, b) {
|
|
2638
|
+
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s, y]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, s), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, s, y);
|
|
2639
|
+
}, l.prototype.complete = function() {
|
|
2632
2640
|
var s = this.hasAnyBroken ? "fail" : "done";
|
|
2633
2641
|
if (this.isComplete = !0, this.emitEvent(s, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
|
|
2634
|
-
var
|
|
2635
|
-
this.jqDeferred[
|
|
2642
|
+
var y = this.hasAnyBroken ? "reject" : "resolve";
|
|
2643
|
+
this.jqDeferred[y](this);
|
|
2636
2644
|
}
|
|
2637
2645
|
};
|
|
2638
2646
|
function m(s) {
|
|
@@ -2647,11 +2655,11 @@ var to = { exports: {} };
|
|
|
2647
2655
|
this.proxyImage = new Image(), this.proxyImage.addEventListener("load", this), this.proxyImage.addEventListener("error", this), this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.proxyImage.src = this.img.src;
|
|
2648
2656
|
}, m.prototype.getIsImageComplete = function() {
|
|
2649
2657
|
return this.img.complete && this.img.naturalWidth;
|
|
2650
|
-
}, m.prototype.confirm = function(s,
|
|
2651
|
-
this.isLoaded = s, this.emitEvent("progress", [this, this.img,
|
|
2658
|
+
}, m.prototype.confirm = function(s, y) {
|
|
2659
|
+
this.isLoaded = s, this.emitEvent("progress", [this, this.img, y]);
|
|
2652
2660
|
}, m.prototype.handleEvent = function(s) {
|
|
2653
|
-
var
|
|
2654
|
-
this[
|
|
2661
|
+
var y = "on" + s.type;
|
|
2662
|
+
this[y] && this[y](s);
|
|
2655
2663
|
}, m.prototype.onload = function() {
|
|
2656
2664
|
this.confirm(!0, "onload"), this.unbindEvents();
|
|
2657
2665
|
}, m.prototype.onerror = function() {
|
|
@@ -2659,8 +2667,8 @@ var to = { exports: {} };
|
|
|
2659
2667
|
}, m.prototype.unbindEvents = function() {
|
|
2660
2668
|
this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2661
2669
|
};
|
|
2662
|
-
function k(s,
|
|
2663
|
-
this.url = s, this.element =
|
|
2670
|
+
function k(s, y) {
|
|
2671
|
+
this.url = s, this.element = y, this.img = new Image();
|
|
2664
2672
|
}
|
|
2665
2673
|
return k.prototype = Object.create(m.prototype), k.prototype.check = function() {
|
|
2666
2674
|
this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
|
|
@@ -2668,20 +2676,20 @@ var to = { exports: {} };
|
|
|
2668
2676
|
s && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
|
|
2669
2677
|
}, k.prototype.unbindEvents = function() {
|
|
2670
2678
|
this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2671
|
-
}, k.prototype.confirm = function(s,
|
|
2672
|
-
this.isLoaded = s, this.emitEvent("progress", [this, this.element,
|
|
2673
|
-
},
|
|
2674
|
-
s = s || o.jQuery, s && (u = s, u.fn.imagesLoaded = function(
|
|
2675
|
-
var c = new
|
|
2679
|
+
}, k.prototype.confirm = function(s, y) {
|
|
2680
|
+
this.isLoaded = s, this.emitEvent("progress", [this, this.element, y]);
|
|
2681
|
+
}, l.makeJQueryPlugin = function(s) {
|
|
2682
|
+
s = s || o.jQuery, s && (u = s, u.fn.imagesLoaded = function(y, b) {
|
|
2683
|
+
var c = new l(this, y, b);
|
|
2676
2684
|
return c.jqDeferred.promise(u(this));
|
|
2677
2685
|
});
|
|
2678
|
-
},
|
|
2686
|
+
}, l.makeJQueryPlugin(), l;
|
|
2679
2687
|
}
|
|
2680
2688
|
);
|
|
2681
2689
|
})(to);
|
|
2682
|
-
var
|
|
2683
|
-
const
|
|
2684
|
-
function
|
|
2690
|
+
var Rn = to.exports;
|
|
2691
|
+
const Dn = /* @__PURE__ */ Kt(Rn);
|
|
2692
|
+
function Mn(t) {
|
|
2685
2693
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, o) {
|
|
2686
2694
|
var i = t.get(e);
|
|
2687
2695
|
i ? i.push(o) : t.set(e, [o]);
|
|
@@ -2697,7 +2705,7 @@ function Dn(t) {
|
|
|
2697
2705
|
});
|
|
2698
2706
|
} };
|
|
2699
2707
|
}
|
|
2700
|
-
const
|
|
2708
|
+
const ze = {
|
|
2701
2709
|
"column-width": "columnWidth",
|
|
2702
2710
|
"transition-duration": "transitionDuration",
|
|
2703
2711
|
"item-selector": "itemSelector",
|
|
@@ -2710,39 +2718,39 @@ const Be = {
|
|
|
2710
2718
|
"horizontal-order": "horizontalOrder",
|
|
2711
2719
|
stagger: "stagger",
|
|
2712
2720
|
"destroy-delay": "destroyDelay"
|
|
2713
|
-
},
|
|
2721
|
+
}, Fe = "vuemasonry.itemAdded", ut = "vuemasonry.itemRemoved", dt = "vuemasonry.imageLoaded", ct = "vuemasonry.destroy", xn = function(t) {
|
|
2714
2722
|
return (t + "").toLowerCase() === "true";
|
|
2715
|
-
}, xn = function(t) {
|
|
2716
|
-
return isNaN(t) ? t : parseInt(t);
|
|
2717
2723
|
}, Wn = function(t) {
|
|
2724
|
+
return isNaN(t) ? t : parseInt(t);
|
|
2725
|
+
}, Bn = function(t) {
|
|
2718
2726
|
const e = {};
|
|
2719
2727
|
return Array.prototype.slice.call(t).forEach(function(i) {
|
|
2720
|
-
Object.keys(
|
|
2728
|
+
Object.keys(ze).indexOf(i.name) > -1 && (i.name.indexOf("origin") > -1 ? e[ze[i.name]] = xn(i.value) : i.name === "column-width" || i.name === "gutter" ? e[ze[i.name]] = Wn(i.value) : e[ze[i.name]] = i.value);
|
|
2721
2729
|
}), e;
|
|
2722
2730
|
}, oo = {};
|
|
2723
2731
|
oo.install = function(t, e) {
|
|
2724
|
-
const o =
|
|
2732
|
+
const o = Mn(), i = "VueMasonry", u = t;
|
|
2725
2733
|
u.directive("masonry", {
|
|
2726
2734
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2727
2735
|
mounted: function(r, f) {
|
|
2728
2736
|
if (!Rt)
|
|
2729
2737
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2730
|
-
const d =
|
|
2738
|
+
const d = Bn(r.attributes), h = new Rt(r, d), l = f.value || i, v = d.destroyDelay ? parseInt(d.destroyDelay, 10) : void 0, m = function() {
|
|
2731
2739
|
h.reloadItems(), h.layout();
|
|
2732
2740
|
};
|
|
2733
2741
|
Gt(() => {
|
|
2734
2742
|
m();
|
|
2735
2743
|
});
|
|
2736
|
-
const k = function(
|
|
2744
|
+
const k = function(y) {
|
|
2737
2745
|
m();
|
|
2738
|
-
}, s = function(
|
|
2739
|
-
o["off"](`${
|
|
2746
|
+
}, s = function(y) {
|
|
2747
|
+
o["off"](`${Fe}__${l}`, k), o["off"](`${ut}__${l}`, k), o["off"](`${dt}__${l}`, k), o["off"](`${ct}__${l}`, s);
|
|
2740
2748
|
const b = v && !Number.isNaN(v) ? v : 0;
|
|
2741
2749
|
setTimeout(function() {
|
|
2742
2750
|
h.destroy();
|
|
2743
2751
|
}, b);
|
|
2744
2752
|
};
|
|
2745
|
-
o["on"](`${
|
|
2753
|
+
o["on"](`${Fe}__${l}`, k), o["on"](`${ut}__${l}`, k), o["on"](`${dt}__${l}`, k), o["on"](`${ct}__${l}`, s);
|
|
2746
2754
|
},
|
|
2747
2755
|
unbind: function(r, f) {
|
|
2748
2756
|
const d = f.value || i;
|
|
@@ -2751,9 +2759,9 @@ oo.install = function(t, e) {
|
|
|
2751
2759
|
}), u.directive("masonryTile", {
|
|
2752
2760
|
mounted: function(r, f) {
|
|
2753
2761
|
const d = f.value || i;
|
|
2754
|
-
o["emit"](`${
|
|
2762
|
+
o["emit"](`${Fe}__${d}`, {
|
|
2755
2763
|
element: r
|
|
2756
|
-
}), new
|
|
2764
|
+
}), new Dn(r, function() {
|
|
2757
2765
|
o["emit"](`${dt}__${d}`, {
|
|
2758
2766
|
element: r
|
|
2759
2767
|
});
|
|
@@ -2769,7 +2777,7 @@ oo.install = function(t, e) {
|
|
|
2769
2777
|
{
|
|
2770
2778
|
const r = function(f) {
|
|
2771
2779
|
const d = f || i;
|
|
2772
|
-
o["emit"](`${
|
|
2780
|
+
o["emit"](`${Fe}__${d}`);
|
|
2773
2781
|
};
|
|
2774
2782
|
t.config.globalProperties.$redrawVueMasonry = r, t.provide("redrawVueMasonry", r);
|
|
2775
2783
|
}
|
|
@@ -2781,15 +2789,15 @@ function vt(t, e = {}, o) {
|
|
|
2781
2789
|
}
|
|
2782
2790
|
return e;
|
|
2783
2791
|
}
|
|
2784
|
-
const
|
|
2785
|
-
function
|
|
2792
|
+
const zn = { run: (t) => t() }, Fn = () => zn, io = typeof console.createTask < "u" ? console.createTask : Fn;
|
|
2793
|
+
function Nn(t, e) {
|
|
2786
2794
|
const o = e.shift(), i = io(o);
|
|
2787
2795
|
return t.reduce(
|
|
2788
2796
|
(u, r) => u.then(() => i.run(() => r(...e))),
|
|
2789
2797
|
Promise.resolve()
|
|
2790
2798
|
);
|
|
2791
2799
|
}
|
|
2792
|
-
function
|
|
2800
|
+
function Un(t, e) {
|
|
2793
2801
|
const o = e.shift(), i = io(o);
|
|
2794
2802
|
return Promise.all(t.map((u) => i.run(() => u(...e))));
|
|
2795
2803
|
}
|
|
@@ -2797,7 +2805,7 @@ function ft(t, e) {
|
|
|
2797
2805
|
for (const o of [...t])
|
|
2798
2806
|
o(e);
|
|
2799
2807
|
}
|
|
2800
|
-
class
|
|
2808
|
+
class qn {
|
|
2801
2809
|
constructor() {
|
|
2802
2810
|
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);
|
|
2803
2811
|
}
|
|
@@ -2866,10 +2874,10 @@ class Un {
|
|
|
2866
2874
|
delete this._hooks[e];
|
|
2867
2875
|
}
|
|
2868
2876
|
callHook(e, ...o) {
|
|
2869
|
-
return o.unshift(e), this.callHookWith(
|
|
2877
|
+
return o.unshift(e), this.callHookWith(Nn, e, ...o);
|
|
2870
2878
|
}
|
|
2871
2879
|
callHookParallel(e, ...o) {
|
|
2872
|
-
return o.unshift(e), this.callHookWith(
|
|
2880
|
+
return o.unshift(e), this.callHookWith(Un, e, ...o);
|
|
2873
2881
|
}
|
|
2874
2882
|
callHookWith(e, o, ...i) {
|
|
2875
2883
|
const u = this._before || this._after ? { name: o, args: i, context: {} } : void 0;
|
|
@@ -2899,20 +2907,20 @@ class Un {
|
|
|
2899
2907
|
};
|
|
2900
2908
|
}
|
|
2901
2909
|
}
|
|
2902
|
-
function
|
|
2903
|
-
return new
|
|
2910
|
+
function Gn() {
|
|
2911
|
+
return new qn();
|
|
2904
2912
|
}
|
|
2905
|
-
function
|
|
2913
|
+
function jn(t) {
|
|
2906
2914
|
return Array.isArray(t) ? t : [t];
|
|
2907
2915
|
}
|
|
2908
|
-
const
|
|
2916
|
+
const Yn = ["title", "titleTemplate", "script", "style", "noscript"], Ue = [
|
|
2909
2917
|
"base",
|
|
2910
2918
|
"meta",
|
|
2911
2919
|
"link",
|
|
2912
2920
|
"style",
|
|
2913
2921
|
"script",
|
|
2914
2922
|
"noscript"
|
|
2915
|
-
],
|
|
2923
|
+
], Kn = [
|
|
2916
2924
|
"title",
|
|
2917
2925
|
"titleTemplate",
|
|
2918
2926
|
"templateParams",
|
|
@@ -2924,7 +2932,7 @@ const jn = ["title", "titleTemplate", "script", "style", "noscript"], Ne = [
|
|
|
2924
2932
|
"style",
|
|
2925
2933
|
"script",
|
|
2926
2934
|
"noscript"
|
|
2927
|
-
],
|
|
2935
|
+
], Qn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], no = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Xn = typeof window < "u";
|
|
2928
2936
|
function Et(t) {
|
|
2929
2937
|
let e = 9;
|
|
2930
2938
|
for (let o = 0; o < t.length; )
|
|
@@ -2936,7 +2944,7 @@ function Dt(t) {
|
|
|
2936
2944
|
}
|
|
2937
2945
|
function ro(t, e) {
|
|
2938
2946
|
const { props: o, tag: i } = t;
|
|
2939
|
-
if (
|
|
2947
|
+
if (Qn.includes(i))
|
|
2940
2948
|
return i;
|
|
2941
2949
|
if (i === "link" && o.rel === "canonical")
|
|
2942
2950
|
return "canonical";
|
|
@@ -2954,7 +2962,7 @@ function ro(t, e) {
|
|
|
2954
2962
|
function Mt(t, e) {
|
|
2955
2963
|
return t == null ? e || null : typeof t == "function" ? t(e) : t;
|
|
2956
2964
|
}
|
|
2957
|
-
async function
|
|
2965
|
+
async function Jn(t, e, o) {
|
|
2958
2966
|
const i = {
|
|
2959
2967
|
tag: t,
|
|
2960
2968
|
props: await so(
|
|
@@ -2966,16 +2974,16 @@ async function Xn(t, e, o) {
|
|
|
2966
2974
|
};
|
|
2967
2975
|
return no.forEach((u) => {
|
|
2968
2976
|
const r = typeof i.props[u] < "u" ? i.props[u] : o[u];
|
|
2969
|
-
typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(u) ||
|
|
2977
|
+
typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(u) || Yn.includes(i.tag)) && (i[u === "children" ? "innerHTML" : u] = r), delete i.props[u]);
|
|
2970
2978
|
}), i.props.body && (i.tagPosition = "bodyClose", delete i.props.body), i.tag === "script" && typeof i.innerHTML == "object" && (i.innerHTML = JSON.stringify(i.innerHTML), i.props.type = i.props.type || "application/json"), Array.isArray(i.props.content) ? i.props.content.map((u) => ({ ...i, props: { ...i.props, content: u } })) : i;
|
|
2971
2979
|
}
|
|
2972
|
-
function
|
|
2980
|
+
function Zn(t) {
|
|
2973
2981
|
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(" ");
|
|
2974
2982
|
}
|
|
2975
2983
|
async function so(t, e) {
|
|
2976
2984
|
for (const o of Object.keys(t)) {
|
|
2977
2985
|
if (o === "class") {
|
|
2978
|
-
t[o] =
|
|
2986
|
+
t[o] = Zn(t[o]);
|
|
2979
2987
|
continue;
|
|
2980
2988
|
}
|
|
2981
2989
|
if (t[o] instanceof Promise && (t[o] = await t[o]), !e && !no.includes(o)) {
|
|
@@ -2985,13 +2993,13 @@ async function so(t, e) {
|
|
|
2985
2993
|
}
|
|
2986
2994
|
return t;
|
|
2987
2995
|
}
|
|
2988
|
-
const
|
|
2989
|
-
async function
|
|
2996
|
+
const er = 10;
|
|
2997
|
+
async function tr(t) {
|
|
2990
2998
|
const e = [];
|
|
2991
|
-
return Object.entries(t.resolvedInput).filter(([o, i]) => typeof i < "u" &&
|
|
2992
|
-
const u =
|
|
2993
|
-
e.push(...u.map((r) =>
|
|
2994
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((o, i) => (o._e = t._i, t.mode && (o._m = t.mode), o._p = (t._i <<
|
|
2999
|
+
return Object.entries(t.resolvedInput).filter(([o, i]) => typeof i < "u" && Kn.includes(o)).forEach(([o, i]) => {
|
|
3000
|
+
const u = jn(i);
|
|
3001
|
+
e.push(...u.map((r) => Jn(o, r, t)).flat());
|
|
3002
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((o, i) => (o._e = t._i, t.mode && (o._m = t.mode), o._p = (t._i << er) + i, o));
|
|
2995
3003
|
}
|
|
2996
3004
|
const xt = {
|
|
2997
3005
|
// tags
|
|
@@ -3003,18 +3011,18 @@ const xt = {
|
|
|
3003
3011
|
high: -10,
|
|
3004
3012
|
low: 20
|
|
3005
3013
|
};
|
|
3006
|
-
function
|
|
3014
|
+
function Ye(t) {
|
|
3007
3015
|
let e = 100;
|
|
3008
3016
|
const o = t.tagPriority;
|
|
3009
3017
|
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 xt && (e = xt[t.tag]), typeof o == "string" && o in Wt ? e + Wt[o] : e);
|
|
3010
3018
|
}
|
|
3011
|
-
const
|
|
3012
|
-
function
|
|
3019
|
+
const or = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], ao = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], re = "%separator";
|
|
3020
|
+
function qe(t, e, o) {
|
|
3013
3021
|
if (typeof t != "string" || !t.includes("%"))
|
|
3014
3022
|
return t;
|
|
3015
3023
|
function i(f) {
|
|
3016
3024
|
let d;
|
|
3017
|
-
return ["s", "pageTitle"].includes(f) ? d = e.pageTitle : f.includes(".") ? d = f.split(".").reduce((h,
|
|
3025
|
+
return ["s", "pageTitle"].includes(f) ? d = e.pageTitle : f.includes(".") ? d = f.split(".").reduce((h, l) => h && h[l] || void 0, e) : d = e[f], typeof d < "u" ? (d || "").replace(/"/g, '\\"') : !1;
|
|
3018
3026
|
}
|
|
3019
3027
|
let u = t;
|
|
3020
3028
|
try {
|
|
@@ -3023,10 +3031,10 @@ function Ue(t, e, o) {
|
|
|
3023
3031
|
}
|
|
3024
3032
|
return (u.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((f) => {
|
|
3025
3033
|
const d = i(f.slice(1));
|
|
3026
|
-
typeof d == "string" && (t = t.replace(new RegExp(`\\${f}(\\W|$)`, "g"), (h,
|
|
3027
|
-
}), t.includes(re) && (t.endsWith(re) && (t = t.slice(0, -re.length).trim()), t.startsWith(re) && (t = t.slice(re.length).trim()), t = t.replace(new RegExp(`\\${re}\\s*\\${re}`, "g"), re), t =
|
|
3034
|
+
typeof d == "string" && (t = t.replace(new RegExp(`\\${f}(\\W|$)`, "g"), (h, l) => `${d}${l}`).trim());
|
|
3035
|
+
}), t.includes(re) && (t.endsWith(re) && (t = t.slice(0, -re.length).trim()), t.startsWith(re) && (t = t.slice(re.length).trim()), t = t.replace(new RegExp(`\\${re}\\s*\\${re}`, "g"), re), t = qe(t, { separator: o }, o)), t;
|
|
3028
3036
|
}
|
|
3029
|
-
async function
|
|
3037
|
+
async function ir(t) {
|
|
3030
3038
|
const e = {
|
|
3031
3039
|
tag: t.tagName.toLowerCase(),
|
|
3032
3040
|
props: await so(
|
|
@@ -3036,7 +3044,7 @@ async function or(t) {
|
|
|
3036
3044
|
};
|
|
3037
3045
|
return e._d = ro(e), e;
|
|
3038
3046
|
}
|
|
3039
|
-
async function
|
|
3047
|
+
async function nr(t, e = {}) {
|
|
3040
3048
|
const o = e.document || t.resolvedOptions.document;
|
|
3041
3049
|
if (!o)
|
|
3042
3050
|
return;
|
|
@@ -3045,7 +3053,7 @@ async function ir(t, e = {}) {
|
|
|
3045
3053
|
return;
|
|
3046
3054
|
const u = (await t.resolveTags()).map((v) => ({
|
|
3047
3055
|
tag: v,
|
|
3048
|
-
id:
|
|
3056
|
+
id: Ue.includes(v.tag) ? Dt(v) : v.tag,
|
|
3049
3057
|
shouldRender: !0
|
|
3050
3058
|
}));
|
|
3051
3059
|
let r = t._dom;
|
|
@@ -3055,8 +3063,8 @@ async function ir(t, e = {}) {
|
|
|
3055
3063
|
};
|
|
3056
3064
|
for (const v of ["body", "head"]) {
|
|
3057
3065
|
const m = o?.[v]?.children;
|
|
3058
|
-
for (const k of [...m].filter((s) =>
|
|
3059
|
-
r.elMap[k.getAttribute("data-hid") || Dt(await
|
|
3066
|
+
for (const k of [...m].filter((s) => Ue.includes(s.tagName.toLowerCase())))
|
|
3067
|
+
r.elMap[k.getAttribute("data-hid") || Dt(await ir(k))] = k;
|
|
3060
3068
|
}
|
|
3061
3069
|
}
|
|
3062
3070
|
r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
|
|
@@ -3066,20 +3074,20 @@ async function ir(t, e = {}) {
|
|
|
3066
3074
|
}
|
|
3067
3075
|
function d({ id: v, $el: m, tag: k }) {
|
|
3068
3076
|
const s = k.tag.endsWith("Attrs");
|
|
3069
|
-
r.elMap[v] = m, s || (["textContent", "innerHTML"].forEach((
|
|
3070
|
-
k[
|
|
3077
|
+
r.elMap[v] = m, s || (["textContent", "innerHTML"].forEach((y) => {
|
|
3078
|
+
k[y] && k[y] !== m[y] && (m[y] = k[y]);
|
|
3071
3079
|
}), f(v, "el", () => {
|
|
3072
3080
|
r.elMap[v].remove(), delete r.elMap[v];
|
|
3073
|
-
})), Object.entries(k.props).forEach(([
|
|
3074
|
-
const c = `attr:${
|
|
3075
|
-
if (
|
|
3081
|
+
})), Object.entries(k.props).forEach(([y, b]) => {
|
|
3082
|
+
const c = `attr:${y}`;
|
|
3083
|
+
if (y === "class")
|
|
3076
3084
|
for (const n of (b || "").split(" ").filter(Boolean))
|
|
3077
3085
|
s && f(v, `${c}:${n}`, () => m.classList.remove(n)), !m.classList.contains(n) && m.classList.add(n);
|
|
3078
3086
|
else
|
|
3079
|
-
m.getAttribute(
|
|
3087
|
+
m.getAttribute(y) !== b && m.setAttribute(y, b === !0 ? "" : String(b)), s && f(v, c, () => m.removeAttribute(y));
|
|
3080
3088
|
});
|
|
3081
3089
|
}
|
|
3082
|
-
const h = [],
|
|
3090
|
+
const h = [], l = {
|
|
3083
3091
|
bodyClose: void 0,
|
|
3084
3092
|
bodyOpen: void 0,
|
|
3085
3093
|
head: void 0
|
|
@@ -3091,38 +3099,38 @@ async function ir(t, e = {}) {
|
|
|
3091
3099
|
o.title = m.textContent;
|
|
3092
3100
|
continue;
|
|
3093
3101
|
}
|
|
3094
|
-
v.$el = v.$el || r.elMap[s], v.$el ? d(v) :
|
|
3102
|
+
v.$el = v.$el || r.elMap[s], v.$el ? d(v) : Ue.includes(m.tag) && h.push(v);
|
|
3095
3103
|
}
|
|
3096
3104
|
}
|
|
3097
3105
|
for (const v of h) {
|
|
3098
3106
|
const m = v.tag.tagPosition || "head";
|
|
3099
|
-
v.$el = o.createElement(v.tag.tag), d(v),
|
|
3107
|
+
v.$el = o.createElement(v.tag.tag), d(v), l[m] = l[m] || o.createDocumentFragment(), l[m].appendChild(v.$el);
|
|
3100
3108
|
}
|
|
3101
3109
|
for (const v of u)
|
|
3102
3110
|
await t.hooks.callHook("dom:renderTag", v, o, f);
|
|
3103
|
-
|
|
3111
|
+
l.head && o.head.appendChild(l.head), l.bodyOpen && o.body.insertBefore(l.bodyOpen, o.body.firstChild), l.bodyClose && o.body.appendChild(l.bodyClose), Object.values(r.pendingSideEffects).forEach((v) => v()), t._dom = r, t.dirty = !1, await t.hooks.callHook("dom:rendered", { renders: u });
|
|
3104
3112
|
}
|
|
3105
|
-
async function
|
|
3113
|
+
async function rr(t, e = {}) {
|
|
3106
3114
|
const o = e.delayFn || ((i) => setTimeout(i, 10));
|
|
3107
3115
|
return t._domUpdatePromise = t._domUpdatePromise || new Promise((i) => o(async () => {
|
|
3108
|
-
await
|
|
3116
|
+
await nr(t, e), delete t._domUpdatePromise, i();
|
|
3109
3117
|
}));
|
|
3110
3118
|
}
|
|
3111
3119
|
// @__NO_SIDE_EFFECTS__
|
|
3112
|
-
function
|
|
3120
|
+
function sr(t) {
|
|
3113
3121
|
return (e) => {
|
|
3114
3122
|
const o = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
3115
3123
|
return o && e.push(JSON.parse(o)), {
|
|
3116
3124
|
mode: "client",
|
|
3117
3125
|
hooks: {
|
|
3118
3126
|
"entries:updated": function(i) {
|
|
3119
|
-
|
|
3127
|
+
rr(i, t);
|
|
3120
3128
|
}
|
|
3121
3129
|
}
|
|
3122
3130
|
};
|
|
3123
3131
|
};
|
|
3124
3132
|
}
|
|
3125
|
-
const
|
|
3133
|
+
const ar = ["templateParams", "htmlAttrs", "bodyAttrs"], lr = {
|
|
3126
3134
|
hooks: {
|
|
3127
3135
|
"tag:normalise": function({ tag: t }) {
|
|
3128
3136
|
["hid", "vmid", "key"].forEach((i) => {
|
|
@@ -3137,10 +3145,10 @@ const sr = ["templateParams", "htmlAttrs", "bodyAttrs"], ar = {
|
|
|
3137
3145
|
const u = (i.key ? `${i.tag}:${i.key}` : i._d) || i._p, r = e[u];
|
|
3138
3146
|
if (r) {
|
|
3139
3147
|
let d = i?.tagDuplicateStrategy;
|
|
3140
|
-
if (!d &&
|
|
3148
|
+
if (!d && ar.includes(i.tag) && (d = "merge"), d === "merge") {
|
|
3141
3149
|
const h = r.props;
|
|
3142
|
-
["class", "style"].forEach((
|
|
3143
|
-
i.props[
|
|
3150
|
+
["class", "style"].forEach((l) => {
|
|
3151
|
+
i.props[l] && h[l] && (l === "style" && !h[l].endsWith(";") && (h[l] += ";"), i.props[l] = `${h[l]} ${i.props[l]}`);
|
|
3144
3152
|
}), e[u].props = {
|
|
3145
3153
|
...h,
|
|
3146
3154
|
...i.props
|
|
@@ -3149,11 +3157,11 @@ const sr = ["templateParams", "htmlAttrs", "bodyAttrs"], ar = {
|
|
|
3149
3157
|
} else if (i._e === r._e) {
|
|
3150
3158
|
r._duped = r._duped || [], i._d = `${r._d}:${r._duped.length + 1}`, r._duped.push(i);
|
|
3151
3159
|
return;
|
|
3152
|
-
} else if (
|
|
3160
|
+
} else if (Ye(i) > Ye(r))
|
|
3153
3161
|
return;
|
|
3154
3162
|
}
|
|
3155
3163
|
const f = Object.keys(i.props).length + (i.innerHTML ? 1 : 0) + (i.textContent ? 1 : 0);
|
|
3156
|
-
if (
|
|
3164
|
+
if (Ue.includes(i.tag) && f === 0) {
|
|
3157
3165
|
delete e[u];
|
|
3158
3166
|
return;
|
|
3159
3167
|
}
|
|
@@ -3166,7 +3174,7 @@ const sr = ["templateParams", "htmlAttrs", "bodyAttrs"], ar = {
|
|
|
3166
3174
|
}), t.tags = o, t.tags = t.tags.filter((i) => !(i.tag === "meta" && (i.props.name || i.props.property) && !i.props.content));
|
|
3167
3175
|
}
|
|
3168
3176
|
}
|
|
3169
|
-
},
|
|
3177
|
+
}, ur = {
|
|
3170
3178
|
mode: "server",
|
|
3171
3179
|
hooks: {
|
|
3172
3180
|
"tags:resolve": function(t) {
|
|
@@ -3180,19 +3188,19 @@ const sr = ["templateParams", "htmlAttrs", "bodyAttrs"], ar = {
|
|
|
3180
3188
|
});
|
|
3181
3189
|
}
|
|
3182
3190
|
}
|
|
3183
|
-
},
|
|
3184
|
-
function
|
|
3191
|
+
}, dr = ["script", "link", "bodyAttrs"];
|
|
3192
|
+
function cr(t) {
|
|
3185
3193
|
const e = {}, o = {};
|
|
3186
3194
|
return Object.entries(t.props).forEach(([i, u]) => {
|
|
3187
3195
|
i.startsWith("on") && typeof u == "function" ? (ao.includes(i) && (e[i] = `this.dataset.${i} = true`), o[i] = u) : e[i] = u;
|
|
3188
3196
|
}), { props: e, eventHandlers: o };
|
|
3189
3197
|
}
|
|
3190
|
-
const
|
|
3198
|
+
const fr = (t) => ({
|
|
3191
3199
|
hooks: {
|
|
3192
3200
|
"tags:resolve": function(e) {
|
|
3193
3201
|
for (const o of e.tags)
|
|
3194
|
-
if (
|
|
3195
|
-
const { props: i, eventHandlers: u } =
|
|
3202
|
+
if (dr.includes(o.tag)) {
|
|
3203
|
+
const { props: i, eventHandlers: u } = cr(o);
|
|
3196
3204
|
o.props = i, Object.keys(u).length && ((o.props.src || o.props.href) && (o.key = o.key || Et(o.props.src || o.props.href)), o._eventHandlers = u);
|
|
3197
3205
|
}
|
|
3198
3206
|
},
|
|
@@ -3201,64 +3209,64 @@ const cr = (t) => ({
|
|
|
3201
3209
|
return;
|
|
3202
3210
|
const u = e.tag.tag === "bodyAttrs" ? o.defaultView : e.$el;
|
|
3203
3211
|
Object.entries(e.tag._eventHandlers).forEach(([r, f]) => {
|
|
3204
|
-
const d = `${e.tag._d || e.tag._p}:${r}`, h = r.slice(2).toLowerCase(),
|
|
3212
|
+
const d = `${e.tag._d || e.tag._p}:${r}`, h = r.slice(2).toLowerCase(), l = `data-h-${h}`;
|
|
3205
3213
|
if (i(e.id, d, () => {
|
|
3206
|
-
}), e.$el.hasAttribute(
|
|
3214
|
+
}), e.$el.hasAttribute(l))
|
|
3207
3215
|
return;
|
|
3208
|
-
e.$el.setAttribute(
|
|
3216
|
+
e.$el.setAttribute(l, "");
|
|
3209
3217
|
let v;
|
|
3210
3218
|
const m = (k) => {
|
|
3211
3219
|
f(k), v?.disconnect();
|
|
3212
3220
|
};
|
|
3213
3221
|
r in e.$el.dataset ? m(new Event(r.replace("on", ""))) : ao.includes(r) && typeof MutationObserver < "u" ? (v = new MutationObserver((k) => {
|
|
3214
|
-
k.some((
|
|
3222
|
+
k.some((y) => y.attributeName === `data-${r}`) && (m(new Event(r.replace("on", ""))), v?.disconnect());
|
|
3215
3223
|
}), v.observe(e.$el, {
|
|
3216
3224
|
attributes: !0
|
|
3217
3225
|
})) : u.addEventListener(h, m), i(e.id, d, () => {
|
|
3218
|
-
v?.disconnect(), u.removeEventListener(h, m), e.$el.removeAttribute(
|
|
3226
|
+
v?.disconnect(), u.removeEventListener(h, m), e.$el.removeAttribute(l);
|
|
3219
3227
|
});
|
|
3220
3228
|
});
|
|
3221
3229
|
}
|
|
3222
3230
|
}
|
|
3223
|
-
}),
|
|
3231
|
+
}), hr = ["link", "style", "script", "noscript"], pr = {
|
|
3224
3232
|
hooks: {
|
|
3225
3233
|
"tag:normalise": ({ tag: t }) => {
|
|
3226
|
-
t.key &&
|
|
3234
|
+
t.key && hr.includes(t.tag) && (t.props["data-hid"] = t._h = Et(t.key));
|
|
3227
3235
|
}
|
|
3228
3236
|
}
|
|
3229
|
-
},
|
|
3237
|
+
}, mr = {
|
|
3230
3238
|
hooks: {
|
|
3231
3239
|
"tags:resolve": (t) => {
|
|
3232
3240
|
const e = (o) => t.tags.find((i) => i._d === o)?._p;
|
|
3233
|
-
for (const { prefix: o, offset: i } of
|
|
3241
|
+
for (const { prefix: o, offset: i } of or)
|
|
3234
3242
|
for (const u of t.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(o))) {
|
|
3235
3243
|
const r = e(
|
|
3236
3244
|
u.tagPriority.replace(o, "")
|
|
3237
3245
|
);
|
|
3238
3246
|
typeof r < "u" && (u._p = r + i);
|
|
3239
3247
|
}
|
|
3240
|
-
t.tags.sort((o, i) => o._p - i._p).sort((o, i) =>
|
|
3248
|
+
t.tags.sort((o, i) => o._p - i._p).sort((o, i) => Ye(o) - Ye(i));
|
|
3241
3249
|
}
|
|
3242
3250
|
}
|
|
3243
|
-
},
|
|
3251
|
+
}, vr = {
|
|
3244
3252
|
meta: "content",
|
|
3245
3253
|
link: "href",
|
|
3246
3254
|
htmlAttrs: "lang"
|
|
3247
|
-
},
|
|
3255
|
+
}, gr = (t) => ({
|
|
3248
3256
|
hooks: {
|
|
3249
3257
|
"tags:resolve": (e) => {
|
|
3250
3258
|
const { tags: o } = e, i = o.find((d) => d.tag === "title")?.textContent, u = o.findIndex((d) => d.tag === "templateParams"), r = u !== -1 ? o[u].props : {}, f = r.separator || "|";
|
|
3251
|
-
delete r.separator, r.pageTitle =
|
|
3259
|
+
delete r.separator, r.pageTitle = qe(r.pageTitle || i || "", r, f);
|
|
3252
3260
|
for (const d of o.filter((h) => h.processTemplateParams !== !1)) {
|
|
3253
|
-
const h =
|
|
3254
|
-
h && typeof d.props[h] == "string" ? d.props[h] =
|
|
3255
|
-
typeof d[
|
|
3261
|
+
const h = vr[d.tag];
|
|
3262
|
+
h && typeof d.props[h] == "string" ? d.props[h] = qe(d.props[h], r, f) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((l) => {
|
|
3263
|
+
typeof d[l] == "string" && (d[l] = qe(d[l], r, f));
|
|
3256
3264
|
});
|
|
3257
3265
|
}
|
|
3258
3266
|
t._templateParams = r, t._separator = f, e.tags = o.filter((d) => d.tag !== "templateParams");
|
|
3259
3267
|
}
|
|
3260
3268
|
}
|
|
3261
|
-
}),
|
|
3269
|
+
}), yr = {
|
|
3262
3270
|
hooks: {
|
|
3263
3271
|
"tags:resolve": (t) => {
|
|
3264
3272
|
const { tags: e } = t;
|
|
@@ -3279,7 +3287,7 @@ const cr = (t) => ({
|
|
|
3279
3287
|
o !== -1 && delete e[o], t.tags = e.filter(Boolean);
|
|
3280
3288
|
}
|
|
3281
3289
|
}
|
|
3282
|
-
},
|
|
3290
|
+
}, _r = {
|
|
3283
3291
|
hooks: {
|
|
3284
3292
|
"tags:afterResolve": function(t) {
|
|
3285
3293
|
for (const e of t.tags)
|
|
@@ -3288,16 +3296,16 @@ const cr = (t) => ({
|
|
|
3288
3296
|
}
|
|
3289
3297
|
};
|
|
3290
3298
|
// @__NO_SIDE_EFFECTS__
|
|
3291
|
-
function
|
|
3292
|
-
const e =
|
|
3293
|
-
return e.use(/* @__PURE__ */
|
|
3299
|
+
function br(t = {}) {
|
|
3300
|
+
const e = kr(t);
|
|
3301
|
+
return e.use(/* @__PURE__ */ sr()), e;
|
|
3294
3302
|
}
|
|
3295
3303
|
function Bt(t, e) {
|
|
3296
3304
|
return !t || t === "server" && e || t === "client" && !e;
|
|
3297
3305
|
}
|
|
3298
|
-
function
|
|
3299
|
-
const e =
|
|
3300
|
-
e.addHooks(t.hooks || {}), t.document = t.document || (
|
|
3306
|
+
function kr(t = {}) {
|
|
3307
|
+
const e = Gn();
|
|
3308
|
+
e.addHooks(t.hooks || {}), t.document = t.document || (Xn ? document : void 0);
|
|
3301
3309
|
const o = !t.document, i = () => {
|
|
3302
3310
|
d.dirty = !0, e.callHook("entries:updated", d);
|
|
3303
3311
|
};
|
|
@@ -3311,15 +3319,15 @@ function br(t = {}) {
|
|
|
3311
3319
|
return r;
|
|
3312
3320
|
},
|
|
3313
3321
|
use(h) {
|
|
3314
|
-
const
|
|
3315
|
-
(!
|
|
3322
|
+
const l = typeof h == "function" ? h(d) : h;
|
|
3323
|
+
(!l.key || !f.some((v) => v.key === l.key)) && (f.push(l), Bt(l.mode, o) && e.addHooks(l.hooks || {}));
|
|
3316
3324
|
},
|
|
3317
|
-
push(h,
|
|
3318
|
-
delete
|
|
3325
|
+
push(h, l) {
|
|
3326
|
+
delete l?.head;
|
|
3319
3327
|
const v = {
|
|
3320
3328
|
_i: u++,
|
|
3321
3329
|
input: h,
|
|
3322
|
-
...
|
|
3330
|
+
...l
|
|
3323
3331
|
};
|
|
3324
3332
|
return Bt(v.mode, o) && (r.push(v), i()), {
|
|
3325
3333
|
dispose() {
|
|
@@ -3334,11 +3342,11 @@ function br(t = {}) {
|
|
|
3334
3342
|
async resolveTags() {
|
|
3335
3343
|
const h = { tags: [], entries: [...r] };
|
|
3336
3344
|
await e.callHook("entries:resolve", h);
|
|
3337
|
-
for (const
|
|
3338
|
-
const v =
|
|
3339
|
-
if (
|
|
3340
|
-
for (const m of await
|
|
3341
|
-
const k = { tag: m, entry:
|
|
3345
|
+
for (const l of h.entries) {
|
|
3346
|
+
const v = l.resolvedInput || l.input;
|
|
3347
|
+
if (l.resolvedInput = await (l.transform ? l.transform(v) : v), l.resolvedInput)
|
|
3348
|
+
for (const m of await tr(l)) {
|
|
3349
|
+
const k = { tag: m, entry: l, resolvedOptions: d.resolvedOptions };
|
|
3342
3350
|
await e.callHook("tag:normalise", k), h.tags.push(k.tag);
|
|
3343
3351
|
}
|
|
3344
3352
|
}
|
|
@@ -3347,54 +3355,54 @@ function br(t = {}) {
|
|
|
3347
3355
|
ssr: o
|
|
3348
3356
|
};
|
|
3349
3357
|
return [
|
|
3350
|
-
ar,
|
|
3351
3358
|
lr,
|
|
3352
|
-
|
|
3353
|
-
|
|
3359
|
+
ur,
|
|
3360
|
+
fr,
|
|
3354
3361
|
pr,
|
|
3355
|
-
|
|
3362
|
+
mr,
|
|
3356
3363
|
gr,
|
|
3357
3364
|
yr,
|
|
3365
|
+
_r,
|
|
3358
3366
|
...t?.plugins || []
|
|
3359
3367
|
].forEach((h) => d.use(h)), d.hooks.callHook("init", d), d;
|
|
3360
3368
|
}
|
|
3361
|
-
const
|
|
3362
|
-
function
|
|
3363
|
-
return typeof t == "function" ? t() :
|
|
3369
|
+
const Er = Io.startsWith("3");
|
|
3370
|
+
function Tr(t) {
|
|
3371
|
+
return typeof t == "function" ? t() : a(t);
|
|
3364
3372
|
}
|
|
3365
3373
|
function gt(t, e = "") {
|
|
3366
3374
|
if (t instanceof Promise)
|
|
3367
3375
|
return t;
|
|
3368
|
-
const o =
|
|
3376
|
+
const o = Tr(t);
|
|
3369
3377
|
return !t || !o ? o : Array.isArray(o) ? o.map((i) => gt(i, e)) : typeof o == "object" ? Object.fromEntries(
|
|
3370
|
-
Object.entries(o).map(([i, u]) => i === "titleTemplate" || i.startsWith("on") ? [i,
|
|
3378
|
+
Object.entries(o).map(([i, u]) => i === "titleTemplate" || i.startsWith("on") ? [i, a(u)] : [i, gt(u, i)])
|
|
3371
3379
|
) : o;
|
|
3372
3380
|
}
|
|
3373
|
-
const
|
|
3381
|
+
const Cr = {
|
|
3374
3382
|
hooks: {
|
|
3375
3383
|
"entries:resolve": function(t) {
|
|
3376
3384
|
for (const e of t.entries)
|
|
3377
3385
|
e.resolvedInput = gt(e.input);
|
|
3378
3386
|
}
|
|
3379
3387
|
}
|
|
3380
|
-
},
|
|
3381
|
-
function
|
|
3388
|
+
}, Sr = "usehead";
|
|
3389
|
+
function $r(t) {
|
|
3382
3390
|
return {
|
|
3383
3391
|
install(o) {
|
|
3384
|
-
|
|
3392
|
+
Er && (o.config.globalProperties.$unhead = t, o.config.globalProperties.$head = t, o.provide(Sr, t));
|
|
3385
3393
|
}
|
|
3386
3394
|
}.install;
|
|
3387
3395
|
}
|
|
3388
3396
|
function Ir(t = {}) {
|
|
3389
3397
|
t.domDelayFn = t.domDelayFn || ((o) => Gt(() => setTimeout(() => o(), 0)));
|
|
3390
|
-
const e = /* @__PURE__ */
|
|
3391
|
-
return e.use(
|
|
3398
|
+
const e = /* @__PURE__ */ br(t);
|
|
3399
|
+
return e.use(Cr), e.install = $r(e), e;
|
|
3392
3400
|
}
|
|
3393
|
-
const
|
|
3401
|
+
const Lr = Lo(), Ar = Ir(), ve = Ao({ components: { Hotel: An } });
|
|
3402
|
+
ve.use(Ar);
|
|
3394
3403
|
ve.use(Lr);
|
|
3395
|
-
ve.use($r);
|
|
3396
3404
|
ve.use(oo);
|
|
3397
|
-
ve.use(
|
|
3398
|
-
ve.use(
|
|
3399
|
-
ve.use(
|
|
3405
|
+
ve.use(Oo);
|
|
3406
|
+
ve.use(Mo);
|
|
3407
|
+
ve.use(Vo, { bootstrap: !0 });
|
|
3400
3408
|
ve.mount("#konnectio-hotel-app");
|