@konnectio/core 4.0.5 → 4.0.7
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-0c047379.mjs → ActionField-5ecfc9dc.js} +26 -28
- package/dist/ActionField-5ecfc9dc.js.br +0 -0
- package/dist/ActionField-ae9b1adf.cjs +1 -0
- package/dist/HotelAvailabilityForm-0cd1abda.cjs +1 -0
- package/dist/{HotelAvailabilityForm-29f12395.mjs → HotelAvailabilityForm-a7b6f17e.js} +23 -25
- package/dist/HotelAvailabilityForm-a7b6f17e.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs +793 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js +16403 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js.br +0 -0
- package/dist/{ReCaptchaVuePlugin-616ef9b9.mjs → ReCaptchaVuePlugin-05b8ec39.js} +2 -3
- package/dist/ReCaptchaVuePlugin-05b8ec39.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-08ee5d62.cjs +1 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-a45312d1.mjs → SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js} +1020 -1022
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-18843626.js → SelectField.vue_vue_type_style_index_0_lang-5f1087dc.cjs} +16 -17
- package/dist/{ThankYou-f6205791.mjs → ThankYou-1866d8db.js} +2853 -2825
- package/dist/ThankYou-1866d8db.js.br +0 -0
- package/dist/ThankYou-5741bcb6.cjs +15 -0
- package/dist/{_commonjsHelpers-6763f629.js → _commonjsHelpers-6763f629.cjs} +0 -1
- package/dist/{_commonjsHelpers-c5d32002.mjs → _commonjsHelpers-aeeeeb92.js} +2 -3
- package/dist/{applyGiftCard-02342491.mjs → applyGiftCard-c5e4aaad.js} +12 -14
- package/dist/applyGiftCard-c5e4aaad.js.br +0 -0
- package/dist/applyGiftCard-d9ab3dcf.cjs +1 -0
- package/dist/assets/typescript/mixins.d.ts +36 -0
- package/dist/availability.cjs.js +1 -2
- package/dist/availability.cjs.js.br +0 -0
- package/dist/availability.d.ts +3 -0
- package/dist/availability.es.js +31 -30
- package/dist/availability.es.js.br +0 -0
- package/dist/components/Alert.vue.d.ts +5 -0
- package/dist/components/Alert.vue.d.ts.map +1 -0
- package/dist/components/Clickable.vue.d.ts +5 -0
- package/dist/components/Clickable.vue.d.ts.map +1 -0
- package/dist/components/GoogleNotice.vue.d.ts +4 -0
- package/dist/components/GoogleNotice.vue.d.ts.map +1 -0
- package/dist/components/Icon.vue.d.ts +5 -0
- package/dist/components/Icon.vue.d.ts.map +1 -0
- package/dist/components/Loading.vue.d.ts +5 -0
- package/dist/components/Loading.vue.d.ts.map +1 -0
- package/dist/components/LoadingBlock.vue.d.ts +4 -0
- package/dist/components/LoadingBlock.vue.d.ts.map +1 -0
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +5 -0
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +1 -0
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +5 -0
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +1 -0
- package/dist/components/forms/MultiStepForm.vue.d.ts +5 -0
- package/dist/components/forms/MultiStepForm.vue.d.ts.map +1 -0
- package/dist/components/forms/ReservationForm.vue.d.ts +5 -0
- package/dist/components/forms/ReservationForm.vue.d.ts.map +1 -0
- package/dist/components/inputs/Checkbox.vue.d.ts +5 -0
- package/dist/components/inputs/Checkbox.vue.d.ts.map +1 -0
- package/dist/components/inputs/DateField.vue.d.ts +5 -0
- package/dist/components/inputs/DateField.vue.d.ts.map +1 -0
- package/dist/components/inputs/InputField.vue.d.ts +5 -0
- package/dist/components/inputs/InputField.vue.d.ts.map +1 -0
- package/dist/components/inputs/MediaSelector.vue.d.ts +5 -0
- package/dist/components/inputs/MediaSelector.vue.d.ts.map +1 -0
- package/dist/components/inputs/NumberField.vue.d.ts +5 -0
- package/dist/components/inputs/NumberField.vue.d.ts.map +1 -0
- package/dist/components/inputs/SelectField.vue.d.ts +5 -0
- package/dist/components/inputs/SelectField.vue.d.ts.map +1 -0
- package/dist/components/inputs/TextField.vue.d.ts +5 -0
- package/dist/components/inputs/TextField.vue.d.ts.map +1 -0
- package/dist/components/inputs/TimeField.vue.d.ts +5 -0
- package/dist/components/inputs/TimeField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +5 -0
- package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +5 -0
- package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/NameField.vue.d.ts +5 -0
- package/dist/components/inputs/grouped/NameField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts +5 -0
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +4 -0
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +1 -0
- package/dist/components/listings/Base.vue.d.ts +6 -0
- package/dist/components/listings/Base.vue.d.ts.map +1 -0
- package/dist/components/listings/Event.vue.d.ts +5 -0
- package/dist/components/listings/Event.vue.d.ts.map +1 -0
- package/dist/components/listings/Test.vue.d.ts +5 -0
- package/dist/components/listings/Test.vue.d.ts.map +1 -0
- package/dist/components/modals/Base.vue.d.ts +5 -0
- package/dist/components/modals/Base.vue.d.ts.map +1 -0
- package/dist/components/modals/Info.vue.d.ts +5 -0
- package/dist/components/modals/Info.vue.d.ts.map +1 -0
- package/dist/components/modals/Terms.vue.d.ts +4 -0
- package/dist/components/modals/Terms.vue.d.ts.map +1 -0
- package/dist/components/side-panels/Base.vue.d.ts +5 -0
- package/dist/components/side-panels/Base.vue.d.ts.map +1 -0
- package/dist/components/side-panels/Hotel.vue.d.ts +4 -0
- package/dist/components/side-panels/Hotel.vue.d.ts.map +1 -0
- package/dist/components/views/CheckoutWindow.vue.d.ts +5 -0
- package/dist/components/views/CheckoutWindow.vue.d.ts.map +1 -0
- package/dist/components/views/TermsOfService.vue.d.ts +5 -0
- package/dist/components/views/TermsOfService.vue.d.ts.map +1 -0
- package/dist/components/views/ThankYou.vue.d.ts +5 -0
- package/dist/components/views/ThankYou.vue.d.ts.map +1 -0
- package/dist/entries/availability.d.ts +2 -0
- package/dist/entries/event.d.ts +2 -0
- package/dist/entries/gift-card-validation.d.ts +2 -0
- package/dist/entries/gift-card.d.ts +2 -0
- package/dist/entries/hotel.d.ts +2 -0
- package/dist/entries/navigation.d.ts +1 -0
- package/dist/entries/polyfill.d.ts +0 -0
- package/dist/event-39706438.cjs +1 -0
- package/dist/{event-cc266121.mjs → event-a70cffeb.js} +48 -47
- package/dist/event-a70cffeb.js.br +0 -0
- package/dist/event.cjs.js +1 -2
- package/dist/event.cjs.js.br +0 -0
- package/dist/event.d.ts +3 -0
- package/dist/event.es.js +175 -174
- package/dist/event.es.js.br +0 -0
- package/dist/gift-card-validation.cjs.js +1 -2
- package/dist/gift-card-validation.cjs.js.br +0 -0
- package/dist/gift-card-validation.d.ts +3 -0
- package/dist/gift-card-validation.es.js +54 -53
- package/dist/gift-card-validation.es.js.br +0 -0
- package/dist/gift-card.cjs.js +1 -2
- package/dist/gift-card.cjs.js.br +0 -0
- package/dist/gift-card.d.ts +3 -0
- package/dist/gift-card.es.js +90 -89
- package/dist/gift-card.es.js.br +0 -0
- package/dist/hotel.cjs.js +5 -6
- package/dist/hotel.cjs.js.br +0 -0
- package/dist/hotel.d.ts +3 -0
- package/dist/hotel.es.js +298 -298
- package/dist/hotel.es.js.br +0 -0
- package/dist/{index-30f70976.mjs → index-00262c16.js} +64 -69
- package/dist/index-00262c16.js.br +0 -0
- package/dist/index-58f3b0cc.cjs +1 -0
- package/dist/layouts/Availability.vue.d.ts +244 -0
- package/dist/layouts/Event.vue.d.ts +244 -0
- package/dist/layouts/GiftCard.vue.d.ts +252 -0
- package/dist/layouts/GiftCardValidation.vue.d.ts +228 -0
- package/dist/layouts/Hotel.vue.d.ts +277 -0
- package/dist/layouts/_.vue.d.ts +30 -0
- package/dist/navigation.cjs.js +1 -2
- package/dist/navigation.d.ts +1 -0
- package/dist/navigation.es.js +1 -59
- package/dist/{payment-b3022c46.mjs → payment-9e219e9b.js} +221 -223
- package/dist/payment-9e219e9b.js.br +0 -0
- package/dist/{payment-bfd660a7.js → payment-fbffaa6d.cjs} +2 -3
- package/dist/plugins/i18n.d.ts +5 -0
- package/dist/polyfill.cjs.js +2 -3
- package/dist/polyfill.cjs.js.br +0 -0
- package/dist/polyfill.d.ts +1 -0
- package/dist/polyfill.es.js +2 -4
- package/dist/polyfill.es.js.br +0 -0
- package/dist/store/alert.d.ts +28 -0
- package/dist/store/applyGiftCard.d.ts +28 -0
- package/dist/store/availability.d.ts +37 -0
- package/dist/store/event.d.ts +683 -0
- package/dist/store/giftCard.d.ts +80 -0
- package/dist/store/hotel.d.ts +662 -0
- package/dist/store/payment.d.ts +133 -0
- package/dist/store/recaptcha.d.ts +1 -0
- package/dist/store/tracking.d.ts +24 -0
- package/dist/store/utilities.d.ts +317 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +868 -0
- package/package.json +27 -11
- package/dist/ActionField-0c047379.mjs.br +0 -0
- package/dist/ActionField-3640689b.js +0 -2
- package/dist/ActionField-3640689b.js.br +0 -0
- package/dist/Clickable-386eceb6.mjs +0 -12390
- package/dist/Clickable-386eceb6.mjs.br +0 -0
- package/dist/Clickable-77afc133.js +0 -768
- package/dist/Clickable-77afc133.js.br +0 -0
- package/dist/HotelAvailabilityForm-29f12395.mjs.br +0 -0
- package/dist/HotelAvailabilityForm-89ba629d.js +0 -2
- package/dist/HotelAvailabilityForm-89ba629d.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-99de44b7.mjs +0 -4027
- package/dist/NumberField.vue_vue_type_style_index_0_lang-99de44b7.mjs.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-e8efabad.js +0 -28
- package/dist/NumberField.vue_vue_type_style_index_0_lang-e8efabad.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-0988d77f.js +0 -2
- package/dist/ReCaptchaVuePlugin-0988d77f.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-616ef9b9.mjs.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-18843626.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-a45312d1.mjs.br +0 -0
- package/dist/ThankYou-1096ca5a.js +0 -16
- package/dist/ThankYou-1096ca5a.js.br +0 -0
- package/dist/ThankYou-f6205791.mjs.br +0 -0
- package/dist/applyGiftCard-02342491.mjs.br +0 -0
- package/dist/applyGiftCard-e24bae0c.js +0 -2
- package/dist/applyGiftCard-e24bae0c.js.br +0 -0
- package/dist/event-cc266121.mjs.br +0 -0
- package/dist/event-d580e6e8.js +0 -2
- package/dist/event-d580e6e8.js.br +0 -0
- package/dist/index-30f70976.mjs.br +0 -0
- package/dist/index-4e9533a9.js +0 -2
- package/dist/index-4e9533a9.js.br +0 -0
- package/dist/navigation.cjs.js.br +0 -0
- package/dist/navigation.es.js.br +0 -0
- package/dist/payment-b3022c46.mjs.br +0 -0
- package/dist/payment-bfd660a7.js.br +0 -0
package/dist/hotel.es.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { d as Z,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { _ as
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
const Lo = to("tracking", () => {
|
|
1
|
+
import { d as Gt, s as oe, a as Ae, h as Z, c as G, k as b, l as W, w as N, x as c, m as B, D as M, B as S, v as T, y as D, a8 as Ie, a9 as ie, Y as A, Z as U, _ as ce, q as Te, r as ne, o as qe, t as Ue, n as t, F as K, A as de, j as Je, I as Yt, u as jt, as as Qt, at as Ze, C as _e, X as Xt, G as Q, a0 as ke, H as Kt, ab as Jt, $ as et, z as F, R as Zt, U as tt, au as eo, J as to, K as oo, e as io, L as no, M as ro, ad as ao, P as so, N as lo, Q as uo } from "./NumberField.vue_vue_type_style_index_0_lang-ab747739.js";
|
|
2
|
+
import { s as co, e as ot, C as ue, P as ho, S as po, i as fo } from "./index-00262c16.js";
|
|
3
|
+
import { _ as mo, u as we, G as go, B as vo, M as yo, R as bo, C as _o, T as ko, W as Eo, z as Co, V as Io, x as To } from "./ThankYou-1866d8db.js";
|
|
4
|
+
import { u as So } from "./ReCaptchaVuePlugin-05b8ec39.js";
|
|
5
|
+
import { _ as Vo, a as xo } from "./payment-9e219e9b.js";
|
|
6
|
+
import { H as zo } from "./HotelAvailabilityForm-a7b6f17e.js";
|
|
7
|
+
import { _ as Bo } from "./applyGiftCard-c5e4aaad.js";
|
|
8
|
+
import { _ as Se, T as J } from "./SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js";
|
|
9
|
+
import { c as ct, a as ht } from "./_commonjsHelpers-aeeeeb92.js";
|
|
10
|
+
import "./ActionField-5ecfc9dc.js";
|
|
11
|
+
const Lo = Gt("tracking", () => {
|
|
13
12
|
const {
|
|
14
13
|
enableTracking: _,
|
|
15
14
|
googleApiKey: l
|
|
16
|
-
} =
|
|
15
|
+
} = oe(Ae());
|
|
17
16
|
function n() {
|
|
18
17
|
console.log("Tracking"), console.log(l), co({
|
|
19
18
|
config: {
|
|
@@ -25,19 +24,19 @@ const Lo = to("tracking", () => {
|
|
|
25
24
|
enabled: _.value
|
|
26
25
|
});
|
|
27
26
|
}
|
|
28
|
-
function v({ id: r, name:
|
|
27
|
+
function v({ id: r, name: f, value: k, label: y, category: C = "general" }) {
|
|
29
28
|
return {
|
|
30
29
|
items: [{
|
|
31
30
|
id: r,
|
|
32
|
-
name:
|
|
31
|
+
name: f
|
|
33
32
|
}],
|
|
34
33
|
event_label: y,
|
|
35
34
|
event_category: C,
|
|
36
35
|
value: k
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
|
-
function p(r,
|
|
40
|
-
ot(r, v(
|
|
38
|
+
function p(r, f) {
|
|
39
|
+
ot(r, v(f));
|
|
41
40
|
}
|
|
42
41
|
function u(r) {
|
|
43
42
|
p("add_to_cart", {
|
|
@@ -79,7 +78,6 @@ const Lo = to("tracking", () => {
|
|
|
79
78
|
emits: ["update:modelValue"],
|
|
80
79
|
setup(_, { emit: l }) {
|
|
81
80
|
const n = _;
|
|
82
|
-
he();
|
|
83
81
|
function v(u) {
|
|
84
82
|
l("update:modelValue", u);
|
|
85
83
|
}
|
|
@@ -100,14 +98,14 @@ const Lo = to("tracking", () => {
|
|
|
100
98
|
option: N(({ data: a }) => [
|
|
101
99
|
c("div", $o, [
|
|
102
100
|
c("div", null, [
|
|
103
|
-
|
|
101
|
+
B(M, {
|
|
104
102
|
icon: "male",
|
|
105
103
|
type: "fas"
|
|
106
104
|
}),
|
|
107
105
|
c("span", null, S(`${a.adults}`), 1)
|
|
108
106
|
]),
|
|
109
107
|
a.children > 0 ? (b(), T("div", Ro, [
|
|
110
|
-
|
|
108
|
+
B(M, {
|
|
111
109
|
icon: "child",
|
|
112
110
|
type: "fas"
|
|
113
111
|
}),
|
|
@@ -119,14 +117,14 @@ const Lo = to("tracking", () => {
|
|
|
119
117
|
"selected-option": N(({ data: a }) => [
|
|
120
118
|
c("div", Po, [
|
|
121
119
|
c("div", null, [
|
|
122
|
-
|
|
120
|
+
B(M, {
|
|
123
121
|
icon: "male",
|
|
124
122
|
type: "fas"
|
|
125
123
|
}),
|
|
126
124
|
c("span", null, S(`${a.adults}`), 1)
|
|
127
125
|
]),
|
|
128
126
|
a.children > 0 ? (b(), T("div", Do, [
|
|
129
|
-
|
|
127
|
+
B(M, {
|
|
130
128
|
icon: "child",
|
|
131
129
|
type: "fas"
|
|
132
130
|
}),
|
|
@@ -157,19 +155,19 @@ const Lo = to("tracking", () => {
|
|
|
157
155
|
},
|
|
158
156
|
setup(_) {
|
|
159
157
|
return (l, n) => {
|
|
160
|
-
const v =
|
|
161
|
-
return b(), W(
|
|
158
|
+
const v = Ie("masonry-tile"), p = Ie("masonry");
|
|
159
|
+
return b(), W(mo, {
|
|
162
160
|
title: l.title,
|
|
163
161
|
description: l.description,
|
|
164
162
|
styling: l.styling
|
|
165
163
|
}, {
|
|
166
164
|
default: N(() => [
|
|
167
165
|
l.facilities && l.facilities.length !== 0 ? (b(), T("div", Wo, [
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
ie((b(), T("ul", Fo, [
|
|
167
|
+
ie(c("div", No, null, 512), [
|
|
170
168
|
[v]
|
|
171
169
|
]),
|
|
172
|
-
(b(!0), T(A, null, U(l.facilities, ({ name: u, subFacilities: d }, a) =>
|
|
170
|
+
(b(!0), T(A, null, U(l.facilities, ({ name: u, subFacilities: d }, a) => ie((b(), T("li", {
|
|
173
171
|
key: a,
|
|
174
172
|
class: "fresh-booking-modal-facility"
|
|
175
173
|
}, [
|
|
@@ -177,7 +175,7 @@ const Lo = to("tracking", () => {
|
|
|
177
175
|
c("span", null, S(u), 1)
|
|
178
176
|
]),
|
|
179
177
|
c("ul", null, [
|
|
180
|
-
(b(!0), T(A, null, U(d, ({ name: r },
|
|
178
|
+
(b(!0), T(A, null, U(d, ({ name: r }, f) => (b(), T("li", { key: f }, S(r), 1))), 128))
|
|
181
179
|
])
|
|
182
180
|
])), [
|
|
183
181
|
[v]
|
|
@@ -192,7 +190,7 @@ const Lo = to("tracking", () => {
|
|
|
192
190
|
};
|
|
193
191
|
}
|
|
194
192
|
});
|
|
195
|
-
const wo = /* @__PURE__ */ ce(Mo, [["__scopeId", "data-v-
|
|
193
|
+
const wo = /* @__PURE__ */ ce(Mo, [["__scopeId", "data-v-569aadce"]]), Ao = { class: "freshbooking-hotel-room" }, qo = {
|
|
196
194
|
key: 0,
|
|
197
195
|
class: "booking-availability-listing-action-selective"
|
|
198
196
|
}, Uo = { class: "fresh-booking-listing-config-header" }, Ho = { class: "fresh-booking-inline-spacing" }, Go = { class: "fresh-booking-inline-spacing" }, Yo = { class: "fresh-booking-listing-units-header" }, jo = { class: "fresh-booking-inline-spacing" }, Qo = {
|
|
@@ -206,7 +204,7 @@ const wo = /* @__PURE__ */ ce(Mo, [["__scopeId", "data-v-f4a8289d"]]), Ao = { cl
|
|
|
206
204
|
styling: {}
|
|
207
205
|
},
|
|
208
206
|
setup(_) {
|
|
209
|
-
const l = _, { t: n } =
|
|
207
|
+
const l = _, { t: n } = Te(), { hideAvailableRoomAmount: v, currency: p } = oe(Ae()), { finalSelection: u } = oe(we()), { viewItem: d } = Lo(), a = ne({}), r = ne({}), f = ne(void 0), k = (E) => l.room.rates.find((L) => L.id === E).occupantRates.find(
|
|
210
208
|
(L) => L.index === r.value[L.ratePlanID]
|
|
211
209
|
), y = G(() => l.room.rates.map((E) => ({
|
|
212
210
|
label: E.name,
|
|
@@ -214,7 +212,7 @@ const wo = /* @__PURE__ */ ce(Mo, [["__scopeId", "data-v-f4a8289d"]]), Ao = { cl
|
|
|
214
212
|
}))), C = G(() => l.room.rates.reduce(
|
|
215
213
|
(E, L) => E < L.rackRate ? E : L.rackRate,
|
|
216
214
|
1 / 0
|
|
217
|
-
)), i = G(() => l.room.rates.every((E) => E.isBreakfastIncluded === !0)), g = (E) => k(E) ? k(E).totalPrice * a.value[k(E).ratePlanID] : null,
|
|
215
|
+
)), i = G(() => l.room.rates.every((E) => E.isBreakfastIncluded === !0)), g = (E) => k(E) ? k(E).totalPrice * a.value[k(E).ratePlanID] : null, m = (E) => k(E) ? k(E).rooms : null, s = (E) => l.room.rates.length > 0 ? l.room.rates.find((L) => L.id === E).occupantRates.map((L) => ({
|
|
218
216
|
value: L.index,
|
|
219
217
|
price: L.totalPrice,
|
|
220
218
|
adults: L.adultsCount,
|
|
@@ -245,13 +243,13 @@ const wo = /* @__PURE__ */ ce(Mo, [["__scopeId", "data-v-f4a8289d"]]), Ao = { cl
|
|
|
245
243
|
h(), d(l.room.title);
|
|
246
244
|
}
|
|
247
245
|
function R() {
|
|
248
|
-
e.value || (
|
|
249
|
-
[
|
|
246
|
+
e.value || (f.value = l.room.rates[0].id, r.value = {
|
|
247
|
+
[f.value]: l.room.rates[0].occupantRateIndex
|
|
250
248
|
});
|
|
251
249
|
}
|
|
252
|
-
return
|
|
250
|
+
return qe(() => {
|
|
253
251
|
R();
|
|
254
|
-
}),
|
|
252
|
+
}), Ue(o, (E, L) => {
|
|
255
253
|
console.log(E, L), u.value[l.room.id] = o;
|
|
256
254
|
}), (E, L) => (b(), W(vo, {
|
|
257
255
|
"listing-id": E.room.id,
|
|
@@ -273,8 +271,8 @@ const wo = /* @__PURE__ */ ce(Mo, [["__scopeId", "data-v-f4a8289d"]]), Ao = { cl
|
|
|
273
271
|
c("div", Ao, [
|
|
274
272
|
e.value ? (b(), W(Se, {
|
|
275
273
|
key: 0,
|
|
276
|
-
modelValue:
|
|
277
|
-
"onUpdate:modelValue": L[0] || (L[0] = (O) =>
|
|
274
|
+
modelValue: f.value,
|
|
275
|
+
"onUpdate:modelValue": L[0] || (L[0] = (O) => f.value = O),
|
|
278
276
|
label: "Room variant",
|
|
279
277
|
placeholder: "Choose a room variant",
|
|
280
278
|
options: y.value
|
|
@@ -284,12 +282,12 @@ const wo = /* @__PURE__ */ ce(Mo, [["__scopeId", "data-v-f4a8289d"]]), Ao = { cl
|
|
|
284
282
|
id: O,
|
|
285
283
|
maximumAdults: q
|
|
286
284
|
}) => (b(), T("div", { key: O }, [
|
|
287
|
-
|
|
285
|
+
f.value === O ? (b(), T("div", qo, [
|
|
288
286
|
c("div", Uo, [
|
|
289
287
|
c("b", Ho, [
|
|
290
288
|
c("span", null, S(t(n)("availability.adults")), 1),
|
|
291
289
|
c("span", Go, [
|
|
292
|
-
|
|
290
|
+
B(M, {
|
|
293
291
|
icon: "male",
|
|
294
292
|
type: "fas",
|
|
295
293
|
"icon-color": E.styling.headerColor
|
|
@@ -302,12 +300,12 @@ const wo = /* @__PURE__ */ ce(Mo, [["__scopeId", "data-v-f4a8289d"]]), Ao = { cl
|
|
|
302
300
|
c("b", jo, [
|
|
303
301
|
c("span", null, S(t(n)("booking.availability.units")), 1),
|
|
304
302
|
t(v) ? D("", !0) : (b(), T("span", Qo, [
|
|
305
|
-
|
|
303
|
+
B(M, {
|
|
306
304
|
icon: "house",
|
|
307
305
|
type: "fas",
|
|
308
306
|
"icon-color": E.styling.headerColor
|
|
309
307
|
}, null, 8, ["icon-color"]),
|
|
310
|
-
c("span", null, S(
|
|
308
|
+
c("span", null, S(m(O)), 1)
|
|
311
309
|
]))
|
|
312
310
|
])
|
|
313
311
|
]),
|
|
@@ -323,7 +321,7 @@ const wo = /* @__PURE__ */ ce(Mo, [["__scopeId", "data-v-f4a8289d"]]), Ao = { cl
|
|
|
323
321
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "options"]))
|
|
324
322
|
]),
|
|
325
323
|
c("ul", Jo, [
|
|
326
|
-
|
|
324
|
+
B(Bo, {
|
|
327
325
|
modelValue: a.value[O],
|
|
328
326
|
"onUpdate:modelValue": (w) => a.value[O] = w,
|
|
329
327
|
minValue: 0
|
|
@@ -341,7 +339,7 @@ const wo = /* @__PURE__ */ ce(Mo, [["__scopeId", "data-v-f4a8289d"]]), Ao = { cl
|
|
|
341
339
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "styling", "facilities", "prices-from", "includes-breakfast", "currency"]));
|
|
342
340
|
}
|
|
343
341
|
});
|
|
344
|
-
const ii = /* @__PURE__ */ ce(oi, [["__scopeId", "data-v-
|
|
342
|
+
const ii = /* @__PURE__ */ ce(oi, [["__scopeId", "data-v-a3a6f7e2"]]), it = /* @__PURE__ */ Z({
|
|
345
343
|
__name: "TimeField",
|
|
346
344
|
props: {
|
|
347
345
|
modelValue: {},
|
|
@@ -370,8 +368,8 @@ const ii = /* @__PURE__ */ ce(oi, [["__scopeId", "data-v-0dada669"]]), it = /* @
|
|
|
370
368
|
function v(u) {
|
|
371
369
|
l("update:modelValue", u);
|
|
372
370
|
}
|
|
373
|
-
const p =
|
|
374
|
-
return
|
|
371
|
+
const p = ne(n.modelValue);
|
|
372
|
+
return Ue(p, (u) => {
|
|
375
373
|
v(u);
|
|
376
374
|
}), (u, d) => (b(), W(Vo, {
|
|
377
375
|
modelValue: p.value,
|
|
@@ -401,7 +399,7 @@ const ni = { style: { display: "flex", "align-items": "baseline" } }, ri = /* @_
|
|
|
401
399
|
},
|
|
402
400
|
emits: ["update:modelValue"],
|
|
403
401
|
setup(_, { emit: l }) {
|
|
404
|
-
const n = _, { t: v } =
|
|
402
|
+
const n = _, { t: v } = Te();
|
|
405
403
|
function p(d) {
|
|
406
404
|
l("update:modelValue", d);
|
|
407
405
|
}
|
|
@@ -437,7 +435,7 @@ const ni = { style: { display: "flex", "align-items": "baseline" } }, ri = /* @_
|
|
|
437
435
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
438
436
|
}
|
|
439
437
|
});
|
|
440
|
-
const ai = /* @__PURE__ */ ce(ri, [["__scopeId", "data-v-
|
|
438
|
+
const ai = /* @__PURE__ */ ce(ri, [["__scopeId", "data-v-a0f7fe2d"]]), si = /* @__PURE__ */ Z({
|
|
441
439
|
__name: "NameField",
|
|
442
440
|
props: {
|
|
443
441
|
modelValue: {},
|
|
@@ -459,17 +457,17 @@ const ai = /* @__PURE__ */ ce(ri, [["__scopeId", "data-v-19fc0955"]]), si = /* @
|
|
|
459
457
|
},
|
|
460
458
|
emits: ["update:modelValue", "update:title"],
|
|
461
459
|
setup(_, { emit: l }) {
|
|
462
|
-
const n = _, v = n.id ||
|
|
460
|
+
const n = _, v = n.id || Je(), p = ne(""), u = ne(2);
|
|
463
461
|
function d() {
|
|
464
462
|
l("update:modelValue", p.value);
|
|
465
463
|
}
|
|
466
|
-
|
|
464
|
+
Ue(u, (r) => {
|
|
467
465
|
l("update:title", r);
|
|
468
466
|
});
|
|
469
|
-
const { t: a } =
|
|
470
|
-
return
|
|
467
|
+
const { t: a } = Te();
|
|
468
|
+
return qe(() => {
|
|
471
469
|
n.modelValue && (p.value = n.modelValue), n.title && (u.value = n.title);
|
|
472
|
-
}), (r,
|
|
470
|
+
}), (r, f) => (b(), W(Yt, {
|
|
473
471
|
label: r.label,
|
|
474
472
|
id: t(v),
|
|
475
473
|
required: r.required,
|
|
@@ -487,8 +485,8 @@ const ai = /* @__PURE__ */ ce(ri, [["__scopeId", "data-v-19fc0955"]]), si = /* @
|
|
|
487
485
|
r.excludeTitle ? D("", !0) : (b(), W(Se, {
|
|
488
486
|
key: 0,
|
|
489
487
|
modelValue: u.value,
|
|
490
|
-
"onUpdate:modelValue":
|
|
491
|
-
id: t(
|
|
488
|
+
"onUpdate:modelValue": f[0] || (f[0] = (k) => u.value = k),
|
|
489
|
+
id: t(Je)(),
|
|
492
490
|
icon: r.icon,
|
|
493
491
|
"icon-color": r.iconColor,
|
|
494
492
|
"icon-type": r.iconType,
|
|
@@ -518,9 +516,9 @@ const ai = /* @__PURE__ */ ce(ri, [["__scopeId", "data-v-19fc0955"]]), si = /* @
|
|
|
518
516
|
"hide-button": "",
|
|
519
517
|
"input-style": r.inputStyle
|
|
520
518
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
521
|
-
|
|
519
|
+
B(J, {
|
|
522
520
|
modelValue: p.value,
|
|
523
|
-
"onUpdate:modelValue":
|
|
521
|
+
"onUpdate:modelValue": f[1] || (f[1] = (k) => p.value = k),
|
|
524
522
|
type: "text",
|
|
525
523
|
name: "name",
|
|
526
524
|
autocomplete: "name",
|
|
@@ -532,7 +530,7 @@ const ai = /* @__PURE__ */ ce(ri, [["__scopeId", "data-v-19fc0955"]]), si = /* @
|
|
|
532
530
|
required: r.required,
|
|
533
531
|
readonly: r.readonly,
|
|
534
532
|
limit: r.limit,
|
|
535
|
-
onInput:
|
|
533
|
+
onInput: f[2] || (f[2] = (k) => d()),
|
|
536
534
|
"input-style": r.inputStyle
|
|
537
535
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
538
536
|
], 2)
|
|
@@ -541,13 +539,13 @@ const ai = /* @__PURE__ */ ce(ri, [["__scopeId", "data-v-19fc0955"]]), si = /* @
|
|
|
541
539
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
542
540
|
}
|
|
543
541
|
});
|
|
544
|
-
const li = /* @__PURE__ */ ce(si, [["__scopeId", "data-v-
|
|
542
|
+
const li = /* @__PURE__ */ ce(si, [["__scopeId", "data-v-5599e141"]]), ui = (_) => (no("data-v-c7479672"), _ = _(), ro(), _), di = { id: "booking-availability-container" }, ci = { id: "booking-availability-controls" }, hi = {
|
|
545
543
|
key: 0,
|
|
546
544
|
"sticky-container": ""
|
|
547
|
-
}, pi = { key: 0 },
|
|
545
|
+
}, pi = { key: 0 }, fi = {
|
|
548
546
|
key: 0,
|
|
549
547
|
id: "booking-availability-packages"
|
|
550
|
-
},
|
|
548
|
+
}, mi = ["title"];
|
|
551
549
|
const gi = ["innerHTML"];
|
|
552
550
|
const vi = {
|
|
553
551
|
key: 1,
|
|
@@ -567,7 +565,7 @@ const vi = {
|
|
|
567
565
|
}, xi = {
|
|
568
566
|
key: 0,
|
|
569
567
|
class: "booking-module-footer-wrapper"
|
|
570
|
-
},
|
|
568
|
+
}, zi = { class: "fresh-booking-footer-table-split" }, Bi = {
|
|
571
569
|
key: 0,
|
|
572
570
|
class: "fresh-booking-footer-summery"
|
|
573
571
|
}, Li = { class: "fresh-booking-footer-summery-details" }, $i = { class: "fresh-booking-footer-summery-price" }, Ri = ["onClick"], Pi = {
|
|
@@ -615,20 +613,20 @@ const vi = {
|
|
|
615
613
|
successColor: {}
|
|
616
614
|
},
|
|
617
615
|
setup(_) {
|
|
618
|
-
const l = _, { t: n } =
|
|
616
|
+
const l = _, { t: n } = Te(), {
|
|
619
617
|
finalSelection: v,
|
|
620
618
|
templateID: p,
|
|
621
619
|
roomGroupID: u,
|
|
622
620
|
slideshow: d,
|
|
623
621
|
title: a,
|
|
624
622
|
totalPrice: r,
|
|
625
|
-
countries:
|
|
623
|
+
countries: f,
|
|
626
624
|
isMetaDataAvailable: k,
|
|
627
625
|
isAvailabilityDataAvailable: y,
|
|
628
626
|
isPaymentLoading: C,
|
|
629
627
|
isReservationFormFilled: i,
|
|
630
628
|
selectedPackage: g,
|
|
631
|
-
travelingFor:
|
|
629
|
+
travelingFor: m,
|
|
632
630
|
arrivalTime: s,
|
|
633
631
|
departureTime: e,
|
|
634
632
|
name: o,
|
|
@@ -645,12 +643,12 @@ const vi = {
|
|
|
645
643
|
newsMails: te,
|
|
646
644
|
fetchAddons: Ve,
|
|
647
645
|
//canStartReservation,
|
|
648
|
-
getSelectedPackageRoom:
|
|
646
|
+
getSelectedPackageRoom: he,
|
|
649
647
|
availabilityData: H
|
|
650
|
-
} =
|
|
648
|
+
} = oe(we()), {
|
|
651
649
|
arrivalDate: re,
|
|
652
650
|
departureDate: ae
|
|
653
|
-
} =
|
|
651
|
+
} = oe(xo()), {
|
|
654
652
|
currency: j,
|
|
655
653
|
isRecaptchaEnabled: gt,
|
|
656
654
|
disableNewsletterSignup: vt,
|
|
@@ -663,20 +661,20 @@ const vi = {
|
|
|
663
661
|
departureDefault: je,
|
|
664
662
|
enablePackages: Ct,
|
|
665
663
|
hideArrivalDepartureInputs: xe,
|
|
666
|
-
disableArrivalUserSelection:
|
|
664
|
+
disableArrivalUserSelection: pe,
|
|
667
665
|
disableNamePrefix: It,
|
|
668
666
|
disableDepartureUserSelection: fe,
|
|
669
667
|
disableTravelingFor: Tt,
|
|
670
668
|
disableCompanyField: St
|
|
671
|
-
} =
|
|
669
|
+
} = oe(Ae()), { display: Vt } = jt(), {
|
|
672
670
|
initialize: xt,
|
|
673
671
|
//resetBookingSelection,
|
|
674
|
-
resetAddonSelection:
|
|
672
|
+
resetAddonSelection: zt,
|
|
675
673
|
createReservation: Qe,
|
|
676
674
|
//getRoomName,
|
|
677
|
-
getSingleListing:
|
|
675
|
+
getSingleListing: me,
|
|
678
676
|
//calculateRoomPrice,
|
|
679
|
-
removeRoom:
|
|
677
|
+
removeRoom: Bt
|
|
680
678
|
} = we(), Lt = G(() => [[
|
|
681
679
|
parseInt(yt.value.split(":")[0]),
|
|
682
680
|
parseInt(bt.value.split(":")[0])
|
|
@@ -712,7 +710,7 @@ const vi = {
|
|
|
712
710
|
"--panelBorderRadius": l.panelBorderRadius,
|
|
713
711
|
"--panelPadding": l.panelPadding,
|
|
714
712
|
"--successColor": l.successColor
|
|
715
|
-
},
|
|
713
|
+
}, ze = {
|
|
716
714
|
fontColor: l.fontColor,
|
|
717
715
|
fontFamily: l.fontFamily,
|
|
718
716
|
fontSize: l.fontSize,
|
|
@@ -726,17 +724,17 @@ const vi = {
|
|
|
726
724
|
p.value = NaN;
|
|
727
725
|
}
|
|
728
726
|
function Ot($) {
|
|
729
|
-
|
|
727
|
+
zt(), $();
|
|
730
728
|
}
|
|
731
|
-
function Wt($,
|
|
732
|
-
re.value = new Date($), ae.value = new Date(
|
|
729
|
+
function Wt($, z) {
|
|
730
|
+
re.value = new Date($), ae.value = new Date(z), location.reload();
|
|
733
731
|
}
|
|
734
732
|
async function Ft($) {
|
|
735
|
-
const
|
|
736
|
-
if (gt &&
|
|
737
|
-
await
|
|
738
|
-
const
|
|
739
|
-
(await
|
|
733
|
+
const z = So();
|
|
734
|
+
if (gt && z) {
|
|
735
|
+
await z.recaptchaLoaded();
|
|
736
|
+
const Be = await z.executeRecaptcha("create_reservation");
|
|
737
|
+
(await io.get(`/?rest_route=/freshcase-octopus/v1/recaptcha/${Be}`)).data.success ? await Qe($) : Vt({
|
|
740
738
|
message: n("alert.error.robot"),
|
|
741
739
|
type: "error"
|
|
742
740
|
});
|
|
@@ -749,13 +747,13 @@ const vi = {
|
|
|
749
747
|
function Mt() {
|
|
750
748
|
s.value === "" && (s.value = Ye.value), e.value === "" && (e.value = je.value);
|
|
751
749
|
}
|
|
752
|
-
return
|
|
750
|
+
return qe(() => {
|
|
753
751
|
xt(), Mt();
|
|
754
|
-
}), ($,
|
|
755
|
-
const
|
|
756
|
-
return b(), W(
|
|
752
|
+
}), ($, z) => {
|
|
753
|
+
const Be = Qt("HotelListing"), Le = Ie("snip"), wt = Ie("sticky");
|
|
754
|
+
return b(), W(oo, null, {
|
|
757
755
|
default: N(() => [
|
|
758
|
-
|
|
756
|
+
B(to, {
|
|
759
757
|
id: "fresh-booking-hotel-module",
|
|
760
758
|
class: "fresh-booking-app",
|
|
761
759
|
"access-token": $.accessToken,
|
|
@@ -769,16 +767,16 @@ const vi = {
|
|
|
769
767
|
slideshow: t(d),
|
|
770
768
|
layout: $.headerLayout
|
|
771
769
|
}, {
|
|
772
|
-
availability: N(({ next:
|
|
770
|
+
availability: N(({ next: ge }) => [
|
|
773
771
|
c("div", di, [
|
|
774
772
|
c("div", ci, [
|
|
775
|
-
|
|
773
|
+
B(zo, { booking: !0 })
|
|
776
774
|
]),
|
|
777
775
|
t(y) ? (b(), T("div", hi, [
|
|
778
776
|
t(H).roomGroups.length > 0 ? (b(), T("div", pi, [
|
|
779
|
-
t(H).templates.length > 0 && t(Ct) ? (b(), T("div",
|
|
777
|
+
t(H).templates.length > 0 && t(Ct) ? (b(), T("div", fi, [
|
|
780
778
|
c("h2", null, [
|
|
781
|
-
|
|
779
|
+
B(M, {
|
|
782
780
|
icon: "box",
|
|
783
781
|
type: "fal",
|
|
784
782
|
"icon-color": $.headerColor
|
|
@@ -800,39 +798,39 @@ const vi = {
|
|
|
800
798
|
imageUrl: le,
|
|
801
799
|
description: X
|
|
802
800
|
}) => (b(), T("li", { key: P }, [
|
|
803
|
-
|
|
801
|
+
ie((b(), T("h3", { title: V }, [
|
|
804
802
|
c("span", null, S(V), 1)
|
|
805
|
-
], 8,
|
|
803
|
+
], 8, mi)), [
|
|
806
804
|
[Le, { lines: parseInt($.packagesTitleMaxLines) || 1 }]
|
|
807
805
|
]),
|
|
808
806
|
D("", !0),
|
|
809
807
|
c("p", {
|
|
810
|
-
innerHTML: t(
|
|
808
|
+
innerHTML: t(Ze)(X)
|
|
811
809
|
}, null, 8, gi),
|
|
812
810
|
D("", !0),
|
|
813
|
-
|
|
811
|
+
B(_e, {
|
|
814
812
|
type: "button",
|
|
815
813
|
label: t(n)("booking.availability.viewOptions"),
|
|
816
814
|
"full-width": "",
|
|
817
|
-
onClickEvent: (
|
|
815
|
+
onClickEvent: (ve) => Pt(P)
|
|
818
816
|
}, null, 8, ["label", "onClickEvent"])
|
|
819
817
|
]))), 128))
|
|
820
818
|
], 2)) : t(g) ? (b(), T("div", vi, [
|
|
821
819
|
c("p", {
|
|
822
|
-
innerHTML: t(
|
|
820
|
+
innerHTML: t(Ze)(t(g).description)
|
|
823
821
|
}, null, 8, yi),
|
|
824
822
|
c("ul", null, [
|
|
825
|
-
(b(!0), T(A, null, U(t(g).templateRoomGroups, ({ roomGroupID: P }, V) => (b(), W(
|
|
826
|
-
description: t(
|
|
827
|
-
name: t(
|
|
828
|
-
styling:
|
|
829
|
-
layout: t(
|
|
823
|
+
(b(!0), T(A, null, U(t(g).templateRoomGroups, ({ roomGroupID: P }, V) => (b(), W(Be, {
|
|
824
|
+
description: t(me)(P).description,
|
|
825
|
+
name: t(me)(P).name,
|
|
826
|
+
styling: ze,
|
|
827
|
+
layout: t(Xt).Template,
|
|
830
828
|
"listing-id": P,
|
|
831
|
-
"occupant-rates": t(
|
|
832
|
-
available: t(
|
|
829
|
+
"occupant-rates": t(me)(P).occupantRates,
|
|
830
|
+
available: t(me)(P).available,
|
|
833
831
|
trackingEnabled: t(Et),
|
|
834
832
|
key: V,
|
|
835
|
-
onNext:
|
|
833
|
+
onNext: ge
|
|
836
834
|
}, null, 8, ["description", "name", "layout", "listing-id", "occupant-rates", "available", "trackingEnabled", "onNext"]))), 128))
|
|
837
835
|
])
|
|
838
836
|
])) : D("", !0)
|
|
@@ -840,7 +838,7 @@ const vi = {
|
|
|
840
838
|
isNaN(t(p)) ? (b(), T("div", bi, [
|
|
841
839
|
t(H).roomGroups.length > 0 ? (b(), T("div", _i, [
|
|
842
840
|
c("h2", null, [
|
|
843
|
-
|
|
841
|
+
B(M, {
|
|
844
842
|
icon: "house",
|
|
845
843
|
type: "fal",
|
|
846
844
|
"icon-color": $.headerColor
|
|
@@ -850,7 +848,7 @@ const vi = {
|
|
|
850
848
|
c("ul", ki, [
|
|
851
849
|
(b(!0), T(A, null, U(t(H).roomGroups, (P, V) => (b(), W(ii, {
|
|
852
850
|
room: P,
|
|
853
|
-
styling:
|
|
851
|
+
styling: ze,
|
|
854
852
|
layout: $.layout,
|
|
855
853
|
key: V
|
|
856
854
|
}, null, 8, ["room", "layout"]))), 128))
|
|
@@ -863,7 +861,7 @@ const vi = {
|
|
|
863
861
|
c("span", null, S(t(n)("booking.availability.nothingAvailable")), 1)
|
|
864
862
|
])) : (b(), T("div", Ii, [
|
|
865
863
|
c("h2", null, [
|
|
866
|
-
|
|
864
|
+
B(M, {
|
|
867
865
|
icon: "calendar-circle-exclamation",
|
|
868
866
|
type: "fal",
|
|
869
867
|
"icon-color": $.headerColor
|
|
@@ -875,15 +873,15 @@ const vi = {
|
|
|
875
873
|
c("h3", {
|
|
876
874
|
title: `${t(Q)(P.fromDate)} - ${t(Q)(P.toDate)}`
|
|
877
875
|
}, [
|
|
878
|
-
|
|
879
|
-
|
|
876
|
+
ie((b(), T("span", null, [
|
|
877
|
+
ke(S(`${t(Q)(P.fromDate)} - ${t(Q)(P.toDate)}`), 1)
|
|
880
878
|
])), [
|
|
881
879
|
[Le, { lines: 1 }]
|
|
882
880
|
])
|
|
883
881
|
], 8, Si),
|
|
884
882
|
c("ul", null, [
|
|
885
883
|
c("li", null, [
|
|
886
|
-
|
|
884
|
+
B(M, {
|
|
887
885
|
icon: "house",
|
|
888
886
|
type: "fal",
|
|
889
887
|
"icon-color": $.headerColor
|
|
@@ -891,7 +889,7 @@ const vi = {
|
|
|
891
889
|
c("span", null, S(t(n)("booking.availability.units")) + ": " + S(P.roomCount), 1)
|
|
892
890
|
]),
|
|
893
891
|
c("li", null, [
|
|
894
|
-
|
|
892
|
+
B(M, {
|
|
895
893
|
icon: "money-bill",
|
|
896
894
|
type: "fal",
|
|
897
895
|
"icon-color": $.headerColor
|
|
@@ -899,7 +897,7 @@ const vi = {
|
|
|
899
897
|
c("span", null, S(t(n)("booking.availability.pricesFrom")) + ": " + S(t(K)(P.priceStartFrom, t(j))), 1)
|
|
900
898
|
])
|
|
901
899
|
]),
|
|
902
|
-
|
|
900
|
+
B(_e, {
|
|
903
901
|
label: t(n)("booking.availability.selectDates"),
|
|
904
902
|
"full-width": "",
|
|
905
903
|
onClickEvent: (se) => Wt(P.fromDate, P.toDate)
|
|
@@ -907,40 +905,40 @@ const vi = {
|
|
|
907
905
|
]))), 128))
|
|
908
906
|
])
|
|
909
907
|
])),
|
|
910
|
-
|
|
908
|
+
ie((b(), T("div", Vi, [
|
|
911
909
|
isNaN(t(p)) ? (b(), T("table", xi, [
|
|
912
910
|
c("tbody", null, [
|
|
913
|
-
c("tr",
|
|
911
|
+
c("tr", zi, [
|
|
914
912
|
c("td", null, [
|
|
915
|
-
t(Ve).length > 0 ? (b(), T("ul",
|
|
913
|
+
t(Ve).length > 0 ? (b(), T("ul", Bi, [
|
|
916
914
|
(b(!0), T(A, null, U(t(Ve), ({
|
|
917
915
|
name: P,
|
|
918
916
|
index: V,
|
|
919
917
|
adultsCount: se,
|
|
920
918
|
childrenCount: le,
|
|
921
919
|
totalPrice: X,
|
|
922
|
-
roomGroupID:
|
|
923
|
-
ratePlanID:
|
|
924
|
-
},
|
|
920
|
+
roomGroupID: ve,
|
|
921
|
+
ratePlanID: ye
|
|
922
|
+
}, be) => (b(), T("li", { key: be }, [
|
|
925
923
|
c("div", Li, [
|
|
926
924
|
c("span", null, S(`${P} (#${V})`), 1),
|
|
927
925
|
c("span", null, [
|
|
928
|
-
|
|
929
|
-
|
|
926
|
+
ke("( "),
|
|
927
|
+
B(M, {
|
|
930
928
|
icon: "male",
|
|
931
929
|
type: "fas",
|
|
932
930
|
"icon-color": $.headerColor
|
|
933
931
|
}, null, 8, ["icon-color"]),
|
|
934
932
|
c("span", null, S(se), 1),
|
|
935
|
-
|
|
933
|
+
ke(") "),
|
|
936
934
|
le > 0 ? (b(), T(A, { key: 0 }, [
|
|
937
|
-
|
|
935
|
+
B(M, {
|
|
938
936
|
icon: "child",
|
|
939
937
|
type: "fas",
|
|
940
938
|
"icon-color": $.headerColor
|
|
941
939
|
}, null, 8, ["icon-color"]),
|
|
942
940
|
c("span", null, S(le), 1),
|
|
943
|
-
|
|
941
|
+
ke(") ")
|
|
944
942
|
], 64)) : D("", !0)
|
|
945
943
|
])
|
|
946
944
|
]),
|
|
@@ -950,9 +948,9 @@ const vi = {
|
|
|
950
948
|
]),
|
|
951
949
|
c("span", {
|
|
952
950
|
class: "fresh-booking-footer-summery-remove",
|
|
953
|
-
onClick:
|
|
951
|
+
onClick: Kt((Xe) => t(Bt)(ve, ye), ["prevent"])
|
|
954
952
|
}, [
|
|
955
|
-
|
|
953
|
+
B(M, {
|
|
956
954
|
icon: "times",
|
|
957
955
|
type: "fas",
|
|
958
956
|
"icon-color": "#ff0000"
|
|
@@ -965,13 +963,13 @@ const vi = {
|
|
|
965
963
|
]))
|
|
966
964
|
]),
|
|
967
965
|
c("td", Di, [
|
|
968
|
-
|
|
966
|
+
B(_e, {
|
|
969
967
|
label: t(n)("booking.availability.nextButton"),
|
|
970
968
|
styling: "success",
|
|
971
969
|
disabled: !1,
|
|
972
970
|
"full-width": "",
|
|
973
|
-
onClickEvent: (P) => Nt(
|
|
974
|
-
style:
|
|
971
|
+
onClickEvent: (P) => Nt(ge),
|
|
972
|
+
style: Jt({
|
|
975
973
|
background: $.successColor
|
|
976
974
|
})
|
|
977
975
|
}, null, 8, ["label", "onClickEvent", "style"]),
|
|
@@ -983,41 +981,41 @@ const vi = {
|
|
|
983
981
|
])
|
|
984
982
|
])
|
|
985
983
|
])) : (b(), T("div", Wi, [
|
|
986
|
-
|
|
984
|
+
B(_e, {
|
|
987
985
|
label: t(n)("booking.reservation.prevButton"),
|
|
988
986
|
secondary: "",
|
|
989
|
-
onClickEvent:
|
|
987
|
+
onClickEvent: z[0] || (z[0] = (P) => Dt())
|
|
990
988
|
}, null, 8, ["label"])
|
|
991
989
|
]))
|
|
992
990
|
])), [
|
|
993
991
|
[wt]
|
|
994
992
|
])
|
|
995
|
-
])) : (b(), W(
|
|
993
|
+
])) : (b(), W(et, { key: 1 }))
|
|
996
994
|
])
|
|
997
995
|
]),
|
|
998
|
-
reservation: N(({ next:
|
|
999
|
-
|
|
996
|
+
reservation: N(({ next: ge, prev: P }) => [
|
|
997
|
+
B(bo, {
|
|
1000
998
|
remark: t(w),
|
|
1001
|
-
"onUpdate:remark":
|
|
999
|
+
"onUpdate:remark": z[17] || (z[17] = (V) => F(w) ? w.value = V : null),
|
|
1002
1000
|
"is-filled": t(i),
|
|
1003
1001
|
currency: t(j),
|
|
1004
1002
|
"button-icon-color": $.buttonIconColor,
|
|
1005
1003
|
"total-price": t(r),
|
|
1006
1004
|
"is-loading": t(C),
|
|
1007
1005
|
notice: t(n)("hotel.reservationNotice"),
|
|
1008
|
-
styling:
|
|
1006
|
+
styling: ze,
|
|
1009
1007
|
onPrev: (V) => Ot(P),
|
|
1010
|
-
onNext: (V) => Ft(
|
|
1011
|
-
},
|
|
1008
|
+
onNext: (V) => Ft(ge)
|
|
1009
|
+
}, Zt({
|
|
1012
1010
|
form: N(() => [
|
|
1013
|
-
!t(xe) && !(t(
|
|
1011
|
+
!t(xe) && !(t(pe) && t(fe)) ? (b(), T("ul", {
|
|
1014
1012
|
key: 0,
|
|
1015
|
-
class: de({ "fresh-booking-split-inputs": !t(
|
|
1013
|
+
class: de({ "fresh-booking-split-inputs": !t(pe) && !t(fe) })
|
|
1016
1014
|
}, [
|
|
1017
|
-
t(
|
|
1018
|
-
|
|
1015
|
+
t(pe) ? D("", !0) : (b(), T("li", Fi, [
|
|
1016
|
+
B(it, {
|
|
1019
1017
|
modelValue: t(s),
|
|
1020
|
-
"onUpdate:modelValue":
|
|
1018
|
+
"onUpdate:modelValue": z[1] || (z[1] = (V) => F(s) ? s.value = V : null),
|
|
1021
1019
|
label: t(n)("booking.reservation.arrivalTime"),
|
|
1022
1020
|
icon: "hourglass-start",
|
|
1023
1021
|
"hour-range": Lt.value,
|
|
@@ -1025,9 +1023,9 @@ const vi = {
|
|
|
1025
1023
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1026
1024
|
])),
|
|
1027
1025
|
t(fe) ? D("", !0) : (b(), T("li", Ni, [
|
|
1028
|
-
|
|
1026
|
+
B(it, {
|
|
1029
1027
|
modelValue: t(e),
|
|
1030
|
-
"onUpdate:modelValue":
|
|
1028
|
+
"onUpdate:modelValue": z[2] || (z[2] = (V) => F(e) ? e.value = V : null),
|
|
1031
1029
|
label: t(n)("booking.reservation.departureTime"),
|
|
1032
1030
|
icon: "hourglass-end",
|
|
1033
1031
|
"hour-range": $t.value,
|
|
@@ -1035,20 +1033,20 @@ const vi = {
|
|
|
1035
1033
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1036
1034
|
]))
|
|
1037
1035
|
], 2)) : D("", !0),
|
|
1038
|
-
|
|
1036
|
+
B(li, {
|
|
1039
1037
|
modelValue: t(o),
|
|
1040
|
-
"onUpdate:modelValue":
|
|
1038
|
+
"onUpdate:modelValue": z[3] || (z[3] = (V) => F(o) ? o.value = V : null),
|
|
1041
1039
|
title: t(h),
|
|
1042
|
-
"onUpdate:title":
|
|
1040
|
+
"onUpdate:title": z[4] || (z[4] = (V) => F(h) ? h.value = V : null),
|
|
1043
1041
|
"exclude-title": t(It),
|
|
1044
1042
|
label: t(n)("booking.reservation.name"),
|
|
1045
1043
|
icon: "user-alt",
|
|
1046
1044
|
placeholder: t(n)("booking.reservation.namePlaceholder"),
|
|
1047
1045
|
required: ""
|
|
1048
1046
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1049
|
-
|
|
1047
|
+
B(J, {
|
|
1050
1048
|
modelValue: t(I),
|
|
1051
|
-
"onUpdate:modelValue":
|
|
1049
|
+
"onUpdate:modelValue": z[5] || (z[5] = (V) => F(I) ? I.value = V : null),
|
|
1052
1050
|
type: "email",
|
|
1053
1051
|
name: "email",
|
|
1054
1052
|
autocomplete: "email",
|
|
@@ -1060,7 +1058,7 @@ const vi = {
|
|
|
1060
1058
|
t(vt) ? D("", !0) : (b(), W(ue, {
|
|
1061
1059
|
key: 1,
|
|
1062
1060
|
modelValue: t(te),
|
|
1063
|
-
"onUpdate:modelValue":
|
|
1061
|
+
"onUpdate:modelValue": z[6] || (z[6] = (V) => F(te) ? te.value = V : null),
|
|
1064
1062
|
type: "checkbox",
|
|
1065
1063
|
name: "newsletter",
|
|
1066
1064
|
label: t(n)("booking.reservation.newsletterSignUp")
|
|
@@ -1068,7 +1066,7 @@ const vi = {
|
|
|
1068
1066
|
t(St) ? D("", !0) : (b(), W(J, {
|
|
1069
1067
|
key: 2,
|
|
1070
1068
|
modelValue: t(R),
|
|
1071
|
-
"onUpdate:modelValue":
|
|
1069
|
+
"onUpdate:modelValue": z[7] || (z[7] = (V) => F(R) ? R.value = V : null),
|
|
1072
1070
|
type: "text",
|
|
1073
1071
|
name: "firm",
|
|
1074
1072
|
autocomplete: "firm",
|
|
@@ -1076,25 +1074,25 @@ const vi = {
|
|
|
1076
1074
|
icon: "id-card",
|
|
1077
1075
|
placeholder: t(n)("booking.reservation.companyNamePlaceholder")
|
|
1078
1076
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1079
|
-
|
|
1077
|
+
B(ho, {
|
|
1080
1078
|
modelValue: t(x),
|
|
1081
|
-
"onUpdate:modelValue":
|
|
1079
|
+
"onUpdate:modelValue": z[8] || (z[8] = (V) => F(x) ? x.value = V : null),
|
|
1082
1080
|
icon: "phone-office",
|
|
1083
1081
|
label: t(n)("booking.reservation.phone"),
|
|
1084
1082
|
placeholder: t(n)("booking.reservation.phonePlaceholder"),
|
|
1085
1083
|
required: ""
|
|
1086
1084
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1087
|
-
|
|
1085
|
+
B(ai, {
|
|
1088
1086
|
modelValue: t(q),
|
|
1089
|
-
"onUpdate:modelValue":
|
|
1087
|
+
"onUpdate:modelValue": z[9] || (z[9] = (V) => F(q) ? q.value = V : null),
|
|
1090
1088
|
label: t(n)("booking.reservation.country"),
|
|
1091
1089
|
placeholder: t(n)("booking.reservation.countryPlaceholder"),
|
|
1092
|
-
options: t(
|
|
1090
|
+
options: t(f),
|
|
1093
1091
|
required: ""
|
|
1094
1092
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1095
|
-
|
|
1093
|
+
B(J, {
|
|
1096
1094
|
modelValue: t(O),
|
|
1097
|
-
"onUpdate:modelValue":
|
|
1095
|
+
"onUpdate:modelValue": z[10] || (z[10] = (V) => F(O) ? O.value = V : null),
|
|
1098
1096
|
type: "textarea",
|
|
1099
1097
|
name: "address",
|
|
1100
1098
|
autocomplete: "street-address",
|
|
@@ -1105,9 +1103,9 @@ const vi = {
|
|
|
1105
1103
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1106
1104
|
c("ul", Mi, [
|
|
1107
1105
|
c("li", null, [
|
|
1108
|
-
|
|
1106
|
+
B(J, {
|
|
1109
1107
|
modelValue: t(E),
|
|
1110
|
-
"onUpdate:modelValue":
|
|
1108
|
+
"onUpdate:modelValue": z[11] || (z[11] = (V) => F(E) ? E.value = V : null),
|
|
1111
1109
|
type: "number",
|
|
1112
1110
|
name: "postal",
|
|
1113
1111
|
autocomplete: "postal-code",
|
|
@@ -1118,9 +1116,9 @@ const vi = {
|
|
|
1118
1116
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1119
1117
|
]),
|
|
1120
1118
|
c("li", null, [
|
|
1121
|
-
|
|
1119
|
+
B(J, {
|
|
1122
1120
|
modelValue: t(L),
|
|
1123
|
-
"onUpdate:modelValue":
|
|
1121
|
+
"onUpdate:modelValue": z[12] || (z[12] = (V) => F(L) ? L.value = V : null),
|
|
1124
1122
|
type: "text",
|
|
1125
1123
|
name: "city",
|
|
1126
1124
|
autocomplete: "address-level2",
|
|
@@ -1131,9 +1129,9 @@ const vi = {
|
|
|
1131
1129
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1132
1130
|
])
|
|
1133
1131
|
]),
|
|
1134
|
-
|
|
1132
|
+
B(J, {
|
|
1135
1133
|
modelValue: t(ee),
|
|
1136
|
-
"onUpdate:modelValue":
|
|
1134
|
+
"onUpdate:modelValue": z[13] || (z[13] = (V) => F(ee) ? ee.value = V : null),
|
|
1137
1135
|
type: "textarea",
|
|
1138
1136
|
label: `${t(n)("booking.reservation.allergies")} (${t(n)("booking.reservation.optional")})`,
|
|
1139
1137
|
icon: "allergies",
|
|
@@ -1145,9 +1143,9 @@ const vi = {
|
|
|
1145
1143
|
]),
|
|
1146
1144
|
c("ul", qi, [
|
|
1147
1145
|
c("li", null, [
|
|
1148
|
-
|
|
1149
|
-
modelValue: t(
|
|
1150
|
-
"onUpdate:modelValue":
|
|
1146
|
+
B(ue, {
|
|
1147
|
+
modelValue: t(m),
|
|
1148
|
+
"onUpdate:modelValue": z[14] || (z[14] = (V) => F(m) ? m.value = V : null),
|
|
1151
1149
|
type: "radio",
|
|
1152
1150
|
name: "travelingFor",
|
|
1153
1151
|
label: t(n)("booking.reservation.business"),
|
|
@@ -1155,9 +1153,9 @@ const vi = {
|
|
|
1155
1153
|
}, null, 8, ["modelValue", "label"])
|
|
1156
1154
|
]),
|
|
1157
1155
|
c("li", null, [
|
|
1158
|
-
|
|
1159
|
-
modelValue: t(
|
|
1160
|
-
"onUpdate:modelValue":
|
|
1156
|
+
B(ue, {
|
|
1157
|
+
modelValue: t(m),
|
|
1158
|
+
"onUpdate:modelValue": z[15] || (z[15] = (V) => F(m) ? m.value = V : null),
|
|
1161
1159
|
type: "radio",
|
|
1162
1160
|
name: "travelingFor",
|
|
1163
1161
|
label: t(n)("booking.reservation.pleasure"),
|
|
@@ -1165,9 +1163,9 @@ const vi = {
|
|
|
1165
1163
|
}, null, 8, ["modelValue", "label"])
|
|
1166
1164
|
]),
|
|
1167
1165
|
c("li", null, [
|
|
1168
|
-
|
|
1169
|
-
modelValue: t(
|
|
1170
|
-
"onUpdate:modelValue":
|
|
1166
|
+
B(ue, {
|
|
1167
|
+
modelValue: t(m),
|
|
1168
|
+
"onUpdate:modelValue": z[16] || (z[16] = (V) => F(m) ? m.value = V : null),
|
|
1171
1169
|
type: "radio",
|
|
1172
1170
|
name: "travelingFor",
|
|
1173
1171
|
label: t(n)("booking.reservation.bleasure"),
|
|
@@ -1180,7 +1178,7 @@ const vi = {
|
|
|
1180
1178
|
resume: N(() => [
|
|
1181
1179
|
c("li", null, [
|
|
1182
1180
|
c("span", null, S(t(n)("booking.reservation.arrival")), 1),
|
|
1183
|
-
c("b", null, S(t(xe) ? t(Q)(t(re)) : `${t(Q)(t(re))}, ${t(
|
|
1181
|
+
c("b", null, S(t(xe) ? t(Q)(t(re)) : `${t(Q)(t(re))}, ${t(pe) ? t(Ye) : t(s)}`), 1)
|
|
1184
1182
|
]),
|
|
1185
1183
|
c("li", null, [
|
|
1186
1184
|
c("span", null, S(t(n)("booking.reservation.departure")), 1),
|
|
@@ -1188,18 +1186,18 @@ const vi = {
|
|
|
1188
1186
|
]),
|
|
1189
1187
|
c("li", null, [
|
|
1190
1188
|
c("span", null, S(t(n)("booking.reservation.nights")), 1),
|
|
1191
|
-
c("b", null, S(t(tt)(t(re), t(ae))) + " " + S(t(
|
|
1189
|
+
c("b", null, S(t(tt)(t(re), t(ae))) + " " + S(t(eo)(t(tt)(t(re), t(ae)) === 1 ? t(n)("booking.reservation.night") : t(n)("booking.reservation.nights"))), 1)
|
|
1192
1190
|
]),
|
|
1193
|
-
!isNaN(t(p)) && !isNaN(t(u)) && t(
|
|
1191
|
+
!isNaN(t(p)) && !isNaN(t(u)) && t(he) ? (b(), T(A, { key: 0 }, [
|
|
1194
1192
|
c("li", null, [
|
|
1195
1193
|
c("span", null, S(t(n)("booking.reservation.roomName")), 1),
|
|
1196
1194
|
c("b", {
|
|
1197
|
-
title: t(
|
|
1198
|
-
}, S(t(
|
|
1195
|
+
title: t(he).roomGroupName
|
|
1196
|
+
}, S(t(he).roomGroupName), 9, Ui)
|
|
1199
1197
|
]),
|
|
1200
1198
|
c("li", null, [
|
|
1201
1199
|
c("span", null, S(t(n)("booking.availability.basePrice")), 1),
|
|
1202
|
-
c("b", null, S(t(K)(t(
|
|
1200
|
+
c("b", null, S(t(K)(t(he).extraPrice, t(j))), 1)
|
|
1203
1201
|
])
|
|
1204
1202
|
], 64)) : D("", !0),
|
|
1205
1203
|
!isNaN(t(p)) && !isNaN(t(u)) && t(g) ? (b(), T("li", Hi, [
|
|
@@ -1218,15 +1216,15 @@ const vi = {
|
|
|
1218
1216
|
index: se,
|
|
1219
1217
|
adultsCount: le,
|
|
1220
1218
|
childrenCount: X,
|
|
1221
|
-
addons:
|
|
1222
|
-
roomGroupID:
|
|
1223
|
-
ratePlanID:
|
|
1219
|
+
addons: ve,
|
|
1220
|
+
roomGroupID: ye,
|
|
1221
|
+
ratePlanID: be
|
|
1224
1222
|
}, Xe) => (b(), T("li", { key: Xe }, [
|
|
1225
1223
|
c("div", null, [
|
|
1226
1224
|
c("div", Gi, [
|
|
1227
1225
|
c("b", null, S(`${V} (#${se})`), 1),
|
|
1228
1226
|
c("b", null, [
|
|
1229
|
-
|
|
1227
|
+
B(M, {
|
|
1230
1228
|
icon: "male",
|
|
1231
1229
|
type: "fas",
|
|
1232
1230
|
"icon-color": $.headerColor
|
|
@@ -1242,14 +1240,14 @@ const vi = {
|
|
|
1242
1240
|
])
|
|
1243
1241
|
]),
|
|
1244
1242
|
c("ul", ji, [
|
|
1245
|
-
(b(!0), T(A, null, U(
|
|
1243
|
+
(b(!0), T(A, null, U(ve, ({
|
|
1246
1244
|
name: At,
|
|
1247
1245
|
price: qt,
|
|
1248
1246
|
id: Ke
|
|
1249
1247
|
}, Ut) => (b(), T("li", { key: Ut }, [
|
|
1250
|
-
|
|
1251
|
-
modelValue: t(v)[
|
|
1252
|
-
"onUpdate:modelValue": (Ht) => t(v)[
|
|
1248
|
+
B(ue, {
|
|
1249
|
+
modelValue: t(v)[ye][be].addons[Ke],
|
|
1250
|
+
"onUpdate:modelValue": (Ht) => t(v)[ye][be].addons[Ke] = Ht,
|
|
1253
1251
|
label: At,
|
|
1254
1252
|
price: `${t(K)(qt, t(j))} ${t(n)("general.perAdultPerNight")}`
|
|
1255
1253
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])
|
|
@@ -1263,17 +1261,17 @@ const vi = {
|
|
|
1263
1261
|
]), 1032, ["remark", "is-filled", "currency", "button-icon-color", "total-price", "is-loading", "notice", "onPrev", "onNext"])
|
|
1264
1262
|
]),
|
|
1265
1263
|
payment: N(() => [
|
|
1266
|
-
|
|
1264
|
+
B(_o)
|
|
1267
1265
|
]),
|
|
1268
1266
|
confirmation: N(() => [
|
|
1269
|
-
|
|
1267
|
+
B(ko, {
|
|
1270
1268
|
message: t(n)("booking.confirmation.thankYou"),
|
|
1271
1269
|
currency: t(j)
|
|
1272
1270
|
}, null, 8, ["message", "currency"])
|
|
1273
1271
|
]),
|
|
1274
1272
|
_: 1
|
|
1275
|
-
}, 8, ["title", "slideshow", "layout"])) : (b(), W(
|
|
1276
|
-
|
|
1273
|
+
}, 8, ["title", "slideshow", "layout"])) : (b(), W(et, { key: 1 })),
|
|
1274
|
+
B(t(Eo))
|
|
1277
1275
|
]),
|
|
1278
1276
|
_: 1
|
|
1279
1277
|
}, 8, ["access-token"])
|
|
@@ -1286,7 +1284,7 @@ const vi = {
|
|
|
1286
1284
|
};
|
|
1287
1285
|
}
|
|
1288
1286
|
});
|
|
1289
|
-
const Ki = /* @__PURE__ */ ce(Xi, [["__scopeId", "data-v-
|
|
1287
|
+
const Ki = /* @__PURE__ */ ce(Xi, [["__scopeId", "data-v-c7479672"]]);
|
|
1290
1288
|
var pt = { exports: {} }, $e = { exports: {} }, Re = { exports: {} }, nt;
|
|
1291
1289
|
function He() {
|
|
1292
1290
|
return nt || (nt = 1, function(_) {
|
|
@@ -1318,8 +1316,8 @@ function He() {
|
|
|
1318
1316
|
if (!(!u || !u.length)) {
|
|
1319
1317
|
u = u.slice(0), p = p || [];
|
|
1320
1318
|
for (var d = this._onceEvents && this._onceEvents[v], a = 0; a < u.length; a++) {
|
|
1321
|
-
var r = u[a],
|
|
1322
|
-
|
|
1319
|
+
var r = u[a], f = d && d[r];
|
|
1320
|
+
f && (this.off(v, r), delete d[r]), r.apply(this, p);
|
|
1323
1321
|
}
|
|
1324
1322
|
return this;
|
|
1325
1323
|
}
|
|
@@ -1342,8 +1340,8 @@ function Ge() {
|
|
|
1342
1340
|
_.exports ? _.exports = n() : l.getSize = n();
|
|
1343
1341
|
})(window, function() {
|
|
1344
1342
|
function n(i) {
|
|
1345
|
-
var g = parseFloat(i),
|
|
1346
|
-
return
|
|
1343
|
+
var g = parseFloat(i), m = i.indexOf("%") == -1 && !isNaN(g);
|
|
1344
|
+
return m && g;
|
|
1347
1345
|
}
|
|
1348
1346
|
function v() {
|
|
1349
1347
|
}
|
|
@@ -1372,8 +1370,8 @@ function Ge() {
|
|
|
1372
1370
|
outerWidth: 0,
|
|
1373
1371
|
outerHeight: 0
|
|
1374
1372
|
}, g = 0; g < d; g++) {
|
|
1375
|
-
var
|
|
1376
|
-
i[
|
|
1373
|
+
var m = u[g];
|
|
1374
|
+
i[m] = 0;
|
|
1377
1375
|
}
|
|
1378
1376
|
return i;
|
|
1379
1377
|
}
|
|
@@ -1381,16 +1379,16 @@ function Ge() {
|
|
|
1381
1379
|
var g = getComputedStyle(i);
|
|
1382
1380
|
return g || p("Style returned " + g + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), g;
|
|
1383
1381
|
}
|
|
1384
|
-
var
|
|
1382
|
+
var f = !1, k;
|
|
1385
1383
|
function y() {
|
|
1386
|
-
if (!
|
|
1387
|
-
|
|
1384
|
+
if (!f) {
|
|
1385
|
+
f = !0;
|
|
1388
1386
|
var i = document.createElement("div");
|
|
1389
1387
|
i.style.width = "200px", i.style.padding = "1px 2px 3px 4px", i.style.borderStyle = "solid", i.style.borderWidth = "1px 2px 3px 4px", i.style.boxSizing = "border-box";
|
|
1390
1388
|
var g = document.body || document.documentElement;
|
|
1391
1389
|
g.appendChild(i);
|
|
1392
|
-
var
|
|
1393
|
-
k = Math.round(n(
|
|
1390
|
+
var m = r(i);
|
|
1391
|
+
k = Math.round(n(m.width)) == 200, C.isBoxSizeOuter = k, g.removeChild(i);
|
|
1394
1392
|
}
|
|
1395
1393
|
}
|
|
1396
1394
|
function C(i) {
|
|
@@ -1398,18 +1396,18 @@ function Ge() {
|
|
|
1398
1396
|
var g = r(i);
|
|
1399
1397
|
if (g.display == "none")
|
|
1400
1398
|
return a();
|
|
1401
|
-
var
|
|
1402
|
-
|
|
1403
|
-
for (var s =
|
|
1399
|
+
var m = {};
|
|
1400
|
+
m.width = i.offsetWidth, m.height = i.offsetHeight;
|
|
1401
|
+
for (var s = m.isBorderBox = g.boxSizing == "border-box", e = 0; e < d; e++) {
|
|
1404
1402
|
var o = u[e], h = g[o], I = parseFloat(h);
|
|
1405
|
-
|
|
1403
|
+
m[o] = isNaN(I) ? 0 : I;
|
|
1406
1404
|
}
|
|
1407
|
-
var x =
|
|
1408
|
-
ee !== !1 && (
|
|
1405
|
+
var x = m.paddingLeft + m.paddingRight, R = m.paddingTop + m.paddingBottom, E = m.marginLeft + m.marginRight, L = m.marginTop + m.marginBottom, O = m.borderLeftWidth + m.borderRightWidth, q = m.borderTopWidth + m.borderBottomWidth, w = s && k, ee = n(g.width);
|
|
1406
|
+
ee !== !1 && (m.width = ee + // add padding and border unless it's already including it
|
|
1409
1407
|
(w ? 0 : x + O));
|
|
1410
1408
|
var te = n(g.height);
|
|
1411
|
-
return te !== !1 && (
|
|
1412
|
-
(w ? 0 : R + q)),
|
|
1409
|
+
return te !== !1 && (m.height = te + // add padding and border unless it's already including it
|
|
1410
|
+
(w ? 0 : R + q)), m.innerWidth = m.width - (x + O), m.innerHeight = m.height - (R + q), m.outerWidth = m.width + E, m.outerHeight = m.height + L, m;
|
|
1413
1411
|
}
|
|
1414
1412
|
}
|
|
1415
1413
|
return C;
|
|
@@ -1454,8 +1452,8 @@ function Zi() {
|
|
|
1454
1452
|
})(window, function(n, v) {
|
|
1455
1453
|
var p = {};
|
|
1456
1454
|
p.extend = function(a, r) {
|
|
1457
|
-
for (var
|
|
1458
|
-
a[
|
|
1455
|
+
for (var f in r)
|
|
1456
|
+
a[f] = r[f];
|
|
1459
1457
|
return a;
|
|
1460
1458
|
}, p.modulo = function(a, r) {
|
|
1461
1459
|
return (a % r + r) % r;
|
|
@@ -1469,8 +1467,8 @@ function Zi() {
|
|
|
1469
1467
|
var r = typeof a == "object" && typeof a.length == "number";
|
|
1470
1468
|
return r ? u.call(a) : [a];
|
|
1471
1469
|
}, p.removeFrom = function(a, r) {
|
|
1472
|
-
var
|
|
1473
|
-
|
|
1470
|
+
var f = a.indexOf(r);
|
|
1471
|
+
f != -1 && a.splice(f, 1);
|
|
1474
1472
|
}, p.getParent = function(a, r) {
|
|
1475
1473
|
for (; a.parentNode && a != document.body; )
|
|
1476
1474
|
if (a = a.parentNode, v(a, r))
|
|
@@ -1482,20 +1480,20 @@ function Zi() {
|
|
|
1482
1480
|
this[r] && this[r](a);
|
|
1483
1481
|
}, p.filterFindElements = function(a, r) {
|
|
1484
1482
|
a = p.makeArray(a);
|
|
1485
|
-
var
|
|
1483
|
+
var f = [];
|
|
1486
1484
|
return a.forEach(function(k) {
|
|
1487
1485
|
if (k instanceof HTMLElement) {
|
|
1488
1486
|
if (!r) {
|
|
1489
|
-
|
|
1487
|
+
f.push(k);
|
|
1490
1488
|
return;
|
|
1491
1489
|
}
|
|
1492
|
-
v(k, r) &&
|
|
1490
|
+
v(k, r) && f.push(k);
|
|
1493
1491
|
for (var y = k.querySelectorAll(r), C = 0; C < y.length; C++)
|
|
1494
|
-
|
|
1492
|
+
f.push(y[C]);
|
|
1495
1493
|
}
|
|
1496
|
-
}),
|
|
1497
|
-
}, p.debounceMethod = function(a, r,
|
|
1498
|
-
|
|
1494
|
+
}), f;
|
|
1495
|
+
}, p.debounceMethod = function(a, r, f) {
|
|
1496
|
+
f = f || 100;
|
|
1499
1497
|
var k = a.prototype[r], y = r + "Timeout";
|
|
1500
1498
|
a.prototype[r] = function() {
|
|
1501
1499
|
var C = this[y];
|
|
@@ -1503,20 +1501,20 @@ function Zi() {
|
|
|
1503
1501
|
var i = arguments, g = this;
|
|
1504
1502
|
this[y] = setTimeout(function() {
|
|
1505
1503
|
k.apply(g, i), delete g[y];
|
|
1506
|
-
},
|
|
1504
|
+
}, f);
|
|
1507
1505
|
};
|
|
1508
1506
|
}, p.docReady = function(a) {
|
|
1509
1507
|
var r = document.readyState;
|
|
1510
1508
|
r == "complete" || r == "interactive" ? setTimeout(a) : document.addEventListener("DOMContentLoaded", a);
|
|
1511
1509
|
}, p.toDashed = function(a) {
|
|
1512
|
-
return a.replace(/(.)([A-Z])/g, function(r,
|
|
1513
|
-
return
|
|
1510
|
+
return a.replace(/(.)([A-Z])/g, function(r, f, k) {
|
|
1511
|
+
return f + "-" + k;
|
|
1514
1512
|
}).toLowerCase();
|
|
1515
1513
|
};
|
|
1516
1514
|
var d = n.console;
|
|
1517
1515
|
return p.htmlInit = function(a, r) {
|
|
1518
1516
|
p.docReady(function() {
|
|
1519
|
-
var
|
|
1517
|
+
var f = p.toDashed(r), k = "data-" + f, y = document.querySelectorAll("[" + k + "]"), C = document.querySelectorAll(".js-" + f), i = p.makeArray(y).concat(p.makeArray(C)), g = k + "-options", m = n.jQuery;
|
|
1520
1518
|
i.forEach(function(s) {
|
|
1521
1519
|
var e = s.getAttribute(k) || s.getAttribute(g), o;
|
|
1522
1520
|
try {
|
|
@@ -1526,7 +1524,7 @@ function Zi() {
|
|
|
1526
1524
|
return;
|
|
1527
1525
|
}
|
|
1528
1526
|
var h = new a(s, o);
|
|
1529
|
-
|
|
1527
|
+
m && m.data(s, r, h);
|
|
1530
1528
|
});
|
|
1531
1529
|
});
|
|
1532
1530
|
}, p;
|
|
@@ -1553,7 +1551,7 @@ function en() {
|
|
|
1553
1551
|
var u = document.documentElement.style, d = typeof u.transition == "string" ? "transition" : "WebkitTransition", a = typeof u.transform == "string" ? "transform" : "WebkitTransform", r = {
|
|
1554
1552
|
WebkitTransition: "webkitTransitionEnd",
|
|
1555
1553
|
transition: "transitionend"
|
|
1556
|
-
}[d],
|
|
1554
|
+
}[d], f = {
|
|
1557
1555
|
transform: a,
|
|
1558
1556
|
transition: d,
|
|
1559
1557
|
transitionDuration: d + "Duration",
|
|
@@ -1583,7 +1581,7 @@ function en() {
|
|
|
1583
1581
|
}, y.css = function(s) {
|
|
1584
1582
|
var e = this.element.style;
|
|
1585
1583
|
for (var o in s) {
|
|
1586
|
-
var h =
|
|
1584
|
+
var h = f[o] || o;
|
|
1587
1585
|
e[h] = s[o];
|
|
1588
1586
|
}
|
|
1589
1587
|
}, y.getPosition = function() {
|
|
@@ -1678,13 +1676,13 @@ function en() {
|
|
|
1678
1676
|
e[o] = "";
|
|
1679
1677
|
this.css(e);
|
|
1680
1678
|
};
|
|
1681
|
-
var
|
|
1679
|
+
var m = {
|
|
1682
1680
|
transitionProperty: "",
|
|
1683
1681
|
transitionDuration: "",
|
|
1684
1682
|
transitionDelay: ""
|
|
1685
1683
|
};
|
|
1686
1684
|
return y.removeTransitionStyles = function() {
|
|
1687
|
-
this.css(
|
|
1685
|
+
this.css(m);
|
|
1688
1686
|
}, y.stagger = function(s) {
|
|
1689
1687
|
s = isNaN(s) ? 0 : s, this.staggerDelay = s + "ms";
|
|
1690
1688
|
}, y.removeElem = function() {
|
|
@@ -1763,7 +1761,7 @@ function tn() {
|
|
|
1763
1761
|
l.Outlayer.Item
|
|
1764
1762
|
);
|
|
1765
1763
|
})(window, function(n, v, p, u, d) {
|
|
1766
|
-
var a = n.console, r = n.jQuery,
|
|
1764
|
+
var a = n.console, r = n.jQuery, f = function() {
|
|
1767
1765
|
}, k = 0, y = {};
|
|
1768
1766
|
function C(e, o) {
|
|
1769
1767
|
var h = u.getQueryElement(e);
|
|
@@ -1881,7 +1879,7 @@ function tn() {
|
|
|
1881
1879
|
var o = this._getContainerSize();
|
|
1882
1880
|
o && (this._setContainerMeasure(o.width, !0), this._setContainerMeasure(o.height, !1));
|
|
1883
1881
|
}
|
|
1884
|
-
}, i._getContainerSize =
|
|
1882
|
+
}, i._getContainerSize = f, i._setContainerMeasure = function(e, o) {
|
|
1885
1883
|
if (e !== void 0) {
|
|
1886
1884
|
var h = this.size;
|
|
1887
1885
|
h.isBorderBox && (e += o ? h.paddingLeft + h.paddingRight + h.borderLeftWidth + h.borderRightWidth : h.paddingBottom + h.paddingTop + h.borderTopWidth + h.borderBottomWidth), e = Math.max(e, 0), this.element.style[o ? "width" : "height"] = e + "px";
|
|
@@ -1936,7 +1934,7 @@ function tn() {
|
|
|
1936
1934
|
right: e.right - (o.paddingRight + o.borderRightWidth),
|
|
1937
1935
|
bottom: e.bottom - (o.paddingBottom + o.borderBottomWidth)
|
|
1938
1936
|
};
|
|
1939
|
-
}, i._manageStamp =
|
|
1937
|
+
}, i._manageStamp = f, i._getElementOffset = function(e) {
|
|
1940
1938
|
var o = e.getBoundingClientRect(), h = this._boundingRect, I = p(e), x = {
|
|
1941
1939
|
left: o.left - h.left - I.marginLeft,
|
|
1942
1940
|
top: o.top - h.top - I.marginTop,
|
|
@@ -2026,7 +2024,7 @@ function tn() {
|
|
|
2026
2024
|
}
|
|
2027
2025
|
return o.prototype = Object.create(e.prototype), o.prototype.constructor = o, o;
|
|
2028
2026
|
}
|
|
2029
|
-
var
|
|
2027
|
+
var m = {
|
|
2030
2028
|
ms: 1,
|
|
2031
2029
|
s: 1e3
|
|
2032
2030
|
};
|
|
@@ -2037,7 +2035,7 @@ function tn() {
|
|
|
2037
2035
|
if (!h.length)
|
|
2038
2036
|
return 0;
|
|
2039
2037
|
h = parseFloat(h);
|
|
2040
|
-
var x =
|
|
2038
|
+
var x = m[I] || 1;
|
|
2041
2039
|
return h * x;
|
|
2042
2040
|
}
|
|
2043
2041
|
return C.Item = d, C;
|
|
@@ -2075,20 +2073,20 @@ function tn() {
|
|
|
2075
2073
|
this.columnWidth = a && v(a).outerWidth || // if first elem has no width, default to size of container
|
|
2076
2074
|
this.containerWidth;
|
|
2077
2075
|
}
|
|
2078
|
-
var r = this.columnWidth += this.gutter,
|
|
2076
|
+
var r = this.columnWidth += this.gutter, f = this.containerWidth + this.gutter, k = f / r, y = r - f % r, C = y && y < 1 ? "round" : "floor";
|
|
2079
2077
|
k = Math[C](k), this.cols = Math.max(k, 1);
|
|
2080
2078
|
}, u.getContainerWidth = function() {
|
|
2081
2079
|
var d = this._getOption("fitWidth"), a = d ? this.element.parentNode : this.element, r = v(a);
|
|
2082
2080
|
this.containerWidth = r && r.innerWidth;
|
|
2083
2081
|
}, u._getItemLayoutPosition = function(d) {
|
|
2084
2082
|
d.getSize();
|
|
2085
|
-
var a = d.size.outerWidth % this.columnWidth, r = a && a < 1 ? "round" : "ceil",
|
|
2086
|
-
|
|
2087
|
-
for (var k = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", y = this[k](
|
|
2083
|
+
var a = d.size.outerWidth % this.columnWidth, r = a && a < 1 ? "round" : "ceil", f = Math[r](d.size.outerWidth / this.columnWidth);
|
|
2084
|
+
f = Math.min(f, this.cols);
|
|
2085
|
+
for (var k = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", y = this[k](f, d), C = {
|
|
2088
2086
|
x: this.columnWidth * y.col,
|
|
2089
2087
|
y: y.y
|
|
2090
|
-
}, i = y.y + d.size.outerHeight, g =
|
|
2091
|
-
this.colYs[
|
|
2088
|
+
}, i = y.y + d.size.outerHeight, g = f + y.col, m = y.col; m < g; m++)
|
|
2089
|
+
this.colYs[m] = i;
|
|
2092
2090
|
return C;
|
|
2093
2091
|
}, u._getTopColPosition = function(d) {
|
|
2094
2092
|
var a = this._getTopColGroup(d), r = Math.min.apply(Math, a);
|
|
@@ -2099,8 +2097,8 @@ function tn() {
|
|
|
2099
2097
|
}, u._getTopColGroup = function(d) {
|
|
2100
2098
|
if (d < 2)
|
|
2101
2099
|
return this.colYs;
|
|
2102
|
-
for (var a = [], r = this.cols + 1 - d,
|
|
2103
|
-
a[
|
|
2100
|
+
for (var a = [], r = this.cols + 1 - d, f = 0; f < r; f++)
|
|
2101
|
+
a[f] = this._getColGroupY(f, d);
|
|
2104
2102
|
return a;
|
|
2105
2103
|
}, u._getColGroupY = function(d, a) {
|
|
2106
2104
|
if (a < 2)
|
|
@@ -2108,20 +2106,20 @@ function tn() {
|
|
|
2108
2106
|
var r = this.colYs.slice(d, d + a);
|
|
2109
2107
|
return Math.max.apply(Math, r);
|
|
2110
2108
|
}, u._getHorizontalColPosition = function(d, a) {
|
|
2111
|
-
var r = this.horizontalColIndex % this.cols,
|
|
2112
|
-
r =
|
|
2109
|
+
var r = this.horizontalColIndex % this.cols, f = d > 1 && r + d > this.cols;
|
|
2110
|
+
r = f ? 0 : r;
|
|
2113
2111
|
var k = a.size.outerWidth && a.size.outerHeight;
|
|
2114
2112
|
return this.horizontalColIndex = k ? r + d : this.horizontalColIndex, {
|
|
2115
2113
|
col: r,
|
|
2116
2114
|
y: this._getColGroupY(r, d)
|
|
2117
2115
|
};
|
|
2118
2116
|
}, u._manageStamp = function(d) {
|
|
2119
|
-
var a = v(d), r = this._getElementOffset(d),
|
|
2117
|
+
var a = v(d), r = this._getElementOffset(d), f = this._getOption("originLeft"), k = f ? r.left : r.right, y = k + a.outerWidth, C = Math.floor(k / this.columnWidth);
|
|
2120
2118
|
C = Math.max(0, C);
|
|
2121
2119
|
var i = Math.floor(y / this.columnWidth);
|
|
2122
2120
|
i -= y % this.columnWidth ? 0 : 1, i = Math.min(this.cols - 1, i);
|
|
2123
|
-
for (var g = this._getOption("originTop"),
|
|
2124
|
-
this.colYs[s] = Math.max(
|
|
2121
|
+
for (var g = this._getOption("originTop"), m = (g ? r.top : r.bottom) + a.outerHeight, s = C; s <= i; s++)
|
|
2122
|
+
this.colYs[s] = Math.max(m, this.colYs[s]);
|
|
2125
2123
|
}, u._getContainerSize = function() {
|
|
2126
2124
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
2127
2125
|
var d = {
|
|
@@ -2140,7 +2138,7 @@ function tn() {
|
|
|
2140
2138
|
})(pt);
|
|
2141
2139
|
var on = pt.exports;
|
|
2142
2140
|
const dt = /* @__PURE__ */ ht(on);
|
|
2143
|
-
var
|
|
2141
|
+
var ft = { exports: {} };
|
|
2144
2142
|
/*!
|
|
2145
2143
|
* imagesLoaded v4.1.4
|
|
2146
2144
|
* JavaScript is all like "You images are done yet or what?"
|
|
@@ -2161,8 +2159,8 @@ var mt = { exports: {} };
|
|
|
2161
2159
|
function(n, v) {
|
|
2162
2160
|
var p = n.jQuery, u = n.console;
|
|
2163
2161
|
function d(i, g) {
|
|
2164
|
-
for (var
|
|
2165
|
-
i[
|
|
2162
|
+
for (var m in g)
|
|
2163
|
+
i[m] = g[m];
|
|
2166
2164
|
return i;
|
|
2167
2165
|
}
|
|
2168
2166
|
var a = Array.prototype.slice;
|
|
@@ -2172,24 +2170,24 @@ var mt = { exports: {} };
|
|
|
2172
2170
|
var g = typeof i == "object" && typeof i.length == "number";
|
|
2173
2171
|
return g ? a.call(i) : [i];
|
|
2174
2172
|
}
|
|
2175
|
-
function
|
|
2176
|
-
if (!(this instanceof
|
|
2177
|
-
return new
|
|
2173
|
+
function f(i, g, m) {
|
|
2174
|
+
if (!(this instanceof f))
|
|
2175
|
+
return new f(i, g, m);
|
|
2178
2176
|
var s = i;
|
|
2179
2177
|
if (typeof i == "string" && (s = document.querySelectorAll(i)), !s) {
|
|
2180
2178
|
u.error("Bad element for imagesLoaded " + (s || i));
|
|
2181
2179
|
return;
|
|
2182
2180
|
}
|
|
2183
|
-
this.elements = r(s), this.options = d({}, this.options), typeof g == "function" ?
|
|
2181
|
+
this.elements = r(s), this.options = d({}, this.options), typeof g == "function" ? m = g : d(this.options, g), m && this.on("always", m), this.getImages(), p && (this.jqDeferred = new p.Deferred()), setTimeout(this.check.bind(this));
|
|
2184
2182
|
}
|
|
2185
|
-
|
|
2183
|
+
f.prototype = Object.create(v.prototype), f.prototype.options = {}, f.prototype.getImages = function() {
|
|
2186
2184
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
2187
|
-
},
|
|
2185
|
+
}, f.prototype.addElementImages = function(i) {
|
|
2188
2186
|
i.nodeName == "IMG" && this.addImage(i), this.options.background === !0 && this.addElementBackgroundImages(i);
|
|
2189
2187
|
var g = i.nodeType;
|
|
2190
2188
|
if (!(!g || !k[g])) {
|
|
2191
|
-
for (var
|
|
2192
|
-
var e =
|
|
2189
|
+
for (var m = i.querySelectorAll("img"), s = 0; s < m.length; s++) {
|
|
2190
|
+
var e = m[s];
|
|
2193
2191
|
this.addImage(e);
|
|
2194
2192
|
}
|
|
2195
2193
|
if (typeof this.options.background == "string") {
|
|
@@ -2206,36 +2204,36 @@ var mt = { exports: {} };
|
|
|
2206
2204
|
9: !0,
|
|
2207
2205
|
11: !0
|
|
2208
2206
|
};
|
|
2209
|
-
|
|
2207
|
+
f.prototype.addElementBackgroundImages = function(i) {
|
|
2210
2208
|
var g = getComputedStyle(i);
|
|
2211
2209
|
if (g)
|
|
2212
|
-
for (var
|
|
2210
|
+
for (var m = /url\((['"])?(.*?)\1\)/gi, s = m.exec(g.backgroundImage); s !== null; ) {
|
|
2213
2211
|
var e = s && s[2];
|
|
2214
|
-
e && this.addBackground(e, i), s =
|
|
2212
|
+
e && this.addBackground(e, i), s = m.exec(g.backgroundImage);
|
|
2215
2213
|
}
|
|
2216
|
-
},
|
|
2214
|
+
}, f.prototype.addImage = function(i) {
|
|
2217
2215
|
var g = new y(i);
|
|
2218
2216
|
this.images.push(g);
|
|
2219
|
-
},
|
|
2220
|
-
var
|
|
2221
|
-
this.images.push(
|
|
2222
|
-
},
|
|
2217
|
+
}, f.prototype.addBackground = function(i, g) {
|
|
2218
|
+
var m = new C(i, g);
|
|
2219
|
+
this.images.push(m);
|
|
2220
|
+
}, f.prototype.check = function() {
|
|
2223
2221
|
var i = this;
|
|
2224
2222
|
if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
|
|
2225
2223
|
this.complete();
|
|
2226
2224
|
return;
|
|
2227
2225
|
}
|
|
2228
|
-
function g(
|
|
2226
|
+
function g(m, s, e) {
|
|
2229
2227
|
setTimeout(function() {
|
|
2230
|
-
i.progress(
|
|
2228
|
+
i.progress(m, s, e);
|
|
2231
2229
|
});
|
|
2232
2230
|
}
|
|
2233
|
-
this.images.forEach(function(
|
|
2234
|
-
|
|
2231
|
+
this.images.forEach(function(m) {
|
|
2232
|
+
m.once("progress", g), m.check();
|
|
2235
2233
|
});
|
|
2236
|
-
},
|
|
2237
|
-
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !i.isLoaded, this.emitEvent("progress", [this, i, g]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, i), this.progressedCount == this.images.length && this.complete(), this.options.debug && u && u.log("progress: " +
|
|
2238
|
-
},
|
|
2234
|
+
}, f.prototype.progress = function(i, g, m) {
|
|
2235
|
+
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !i.isLoaded, this.emitEvent("progress", [this, i, g]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, i), this.progressedCount == this.images.length && this.complete(), this.options.debug && u && u.log("progress: " + m, i, g);
|
|
2236
|
+
}, f.prototype.complete = function() {
|
|
2239
2237
|
var i = this.hasAnyBroken ? "fail" : "done";
|
|
2240
2238
|
if (this.isComplete = !0, this.emitEvent(i, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
|
|
2241
2239
|
var g = this.hasAnyBroken ? "reject" : "resolve";
|
|
@@ -2277,16 +2275,16 @@ var mt = { exports: {} };
|
|
|
2277
2275
|
this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2278
2276
|
}, C.prototype.confirm = function(i, g) {
|
|
2279
2277
|
this.isLoaded = i, this.emitEvent("progress", [this, this.element, g]);
|
|
2280
|
-
},
|
|
2281
|
-
i = i || n.jQuery, i && (p = i, p.fn.imagesLoaded = function(g,
|
|
2282
|
-
var s = new
|
|
2278
|
+
}, f.makeJQueryPlugin = function(i) {
|
|
2279
|
+
i = i || n.jQuery, i && (p = i, p.fn.imagesLoaded = function(g, m) {
|
|
2280
|
+
var s = new f(this, g, m);
|
|
2283
2281
|
return s.jqDeferred.promise(p(this));
|
|
2284
2282
|
});
|
|
2285
|
-
},
|
|
2283
|
+
}, f.makeJQueryPlugin(), f;
|
|
2286
2284
|
}
|
|
2287
2285
|
);
|
|
2288
|
-
})(
|
|
2289
|
-
var nn =
|
|
2286
|
+
})(ft);
|
|
2287
|
+
var nn = ft.exports;
|
|
2290
2288
|
const rn = /* @__PURE__ */ ht(nn);
|
|
2291
2289
|
function an(_) {
|
|
2292
2290
|
return { all: _ = _ || /* @__PURE__ */ new Map(), on: function(l, n) {
|
|
@@ -2304,7 +2302,7 @@ function an(_) {
|
|
|
2304
2302
|
});
|
|
2305
2303
|
} };
|
|
2306
2304
|
}
|
|
2307
|
-
const
|
|
2305
|
+
const Ee = {
|
|
2308
2306
|
"column-width": "columnWidth",
|
|
2309
2307
|
"transition-duration": "transitionDuration",
|
|
2310
2308
|
"item-selector": "itemSelector",
|
|
@@ -2317,39 +2315,39 @@ const Ce = {
|
|
|
2317
2315
|
"horizontal-order": "horizontalOrder",
|
|
2318
2316
|
stagger: "stagger",
|
|
2319
2317
|
"destroy-delay": "destroyDelay"
|
|
2320
|
-
},
|
|
2318
|
+
}, Ce = "vuemasonry.itemAdded", Fe = "vuemasonry.itemRemoved", Ne = "vuemasonry.imageLoaded", Me = "vuemasonry.destroy", sn = function(_) {
|
|
2321
2319
|
return (_ + "").toLowerCase() === "true";
|
|
2322
2320
|
}, ln = function(_) {
|
|
2323
2321
|
return isNaN(_) ? _ : parseInt(_);
|
|
2324
2322
|
}, un = function(_) {
|
|
2325
2323
|
const l = {};
|
|
2326
2324
|
return Array.prototype.slice.call(_).forEach(function(v) {
|
|
2327
|
-
Object.keys(
|
|
2325
|
+
Object.keys(Ee).indexOf(v.name) > -1 && (v.name.indexOf("origin") > -1 ? l[Ee[v.name]] = sn(v.value) : v.name === "column-width" || v.name === "gutter" ? l[Ee[v.name]] = ln(v.value) : l[Ee[v.name]] = v.value);
|
|
2328
2326
|
}), l;
|
|
2329
|
-
},
|
|
2330
|
-
|
|
2327
|
+
}, mt = {};
|
|
2328
|
+
mt.install = function(_, l) {
|
|
2331
2329
|
const n = an(), v = "VueMasonry", p = _;
|
|
2332
2330
|
p.directive("masonry", {
|
|
2333
2331
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2334
2332
|
mounted: function(u, d) {
|
|
2335
2333
|
if (!dt)
|
|
2336
2334
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2337
|
-
const a = un(u.attributes), r = new dt(u, a),
|
|
2335
|
+
const a = un(u.attributes), r = new dt(u, a), f = d.value || v, k = a.destroyDelay ? parseInt(a.destroyDelay, 10) : void 0, y = function() {
|
|
2338
2336
|
r.reloadItems(), r.layout();
|
|
2339
2337
|
};
|
|
2340
|
-
|
|
2338
|
+
ao(() => {
|
|
2341
2339
|
y();
|
|
2342
2340
|
});
|
|
2343
2341
|
const C = function(g) {
|
|
2344
2342
|
y();
|
|
2345
2343
|
}, i = function(g) {
|
|
2346
|
-
n["off"](`${
|
|
2347
|
-
const
|
|
2344
|
+
n["off"](`${Ce}__${f}`, C), n["off"](`${Fe}__${f}`, C), n["off"](`${Ne}__${f}`, C), n["off"](`${Me}__${f}`, i);
|
|
2345
|
+
const m = k && !Number.isNaN(k) ? k : 0;
|
|
2348
2346
|
setTimeout(function() {
|
|
2349
2347
|
r.destroy();
|
|
2350
|
-
},
|
|
2348
|
+
}, m);
|
|
2351
2349
|
};
|
|
2352
|
-
n["on"](`${
|
|
2350
|
+
n["on"](`${Ce}__${f}`, C), n["on"](`${Fe}__${f}`, C), n["on"](`${Ne}__${f}`, C), n["on"](`${Me}__${f}`, i);
|
|
2353
2351
|
},
|
|
2354
2352
|
unbind: function(u, d) {
|
|
2355
2353
|
const a = d.value || v;
|
|
@@ -2358,7 +2356,7 @@ ft.install = function(_, l) {
|
|
|
2358
2356
|
}), p.directive("masonryTile", {
|
|
2359
2357
|
mounted: function(u, d) {
|
|
2360
2358
|
const a = d.value || v;
|
|
2361
|
-
n["emit"](`${
|
|
2359
|
+
n["emit"](`${Ce}__${a}`, {
|
|
2362
2360
|
element: u
|
|
2363
2361
|
}), new rn(u, function() {
|
|
2364
2362
|
n["emit"](`${Ne}__${a}`, {
|
|
@@ -2376,19 +2374,21 @@ ft.install = function(_, l) {
|
|
|
2376
2374
|
{
|
|
2377
2375
|
const u = function(d) {
|
|
2378
2376
|
const a = d || v;
|
|
2379
|
-
n["emit"](`${
|
|
2377
|
+
n["emit"](`${Ce}__${a}`);
|
|
2380
2378
|
};
|
|
2381
2379
|
_.config.globalProperties.$redrawVueMasonry = u, _.provide("redrawVueMasonry", u);
|
|
2382
2380
|
}
|
|
2383
2381
|
};
|
|
2384
|
-
const dn =
|
|
2382
|
+
const dn = so(), cn = Co(), Y = lo({ components: { Hotel: Ki } });
|
|
2385
2383
|
Y.use(dn);
|
|
2386
2384
|
Y.use(cn);
|
|
2387
|
-
Y.use(
|
|
2385
|
+
Y.use(mt);
|
|
2388
2386
|
Y.use(po);
|
|
2389
2387
|
Y.use(Io);
|
|
2390
2388
|
Y.use(uo);
|
|
2391
2389
|
Y.use(To);
|
|
2392
|
-
Y.use(
|
|
2390
|
+
Y.use(fo, { bootstrap: !1 });
|
|
2393
2391
|
Y.mount("#fresh-booking-hotel-app");
|
|
2394
|
-
|
|
2392
|
+
export {
|
|
2393
|
+
Y as default
|
|
2394
|
+
};
|