@konnectio/core 4.8.4 → 4.8.6
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-DNhrzibV.js → ActionField-BC5arxYa.js} +1 -1
- package/dist/ActionField-BC5arxYa.js.br +0 -0
- package/dist/ActionField-BC5arxYa.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-DyHPcQ3l.js → AvailabilitySkeleton-CiatG26I.js} +1805 -1805
- package/dist/AvailabilitySkeleton-CiatG26I.js.br +0 -0
- package/dist/AvailabilitySkeleton-CiatG26I.js.gz +0 -0
- package/dist/{CheckoutWindow-C7AVcaIo.js → CheckoutWindow-CkCBgrae.js} +6 -6
- package/dist/CheckoutWindow-CkCBgrae.js.br +0 -0
- package/dist/CheckoutWindow-CkCBgrae.js.gz +0 -0
- package/dist/{ErrorMessage-i6VD5R-W.js → ErrorMessage-Bs0_cT8k.js} +1 -1
- package/dist/ErrorMessage-Bs0_cT8k.js.br +0 -0
- package/dist/ErrorMessage-Bs0_cT8k.js.gz +0 -0
- package/dist/{EventAvailabilityForm-B5degNGN.js → EventAvailabilityForm-BnUY8Ld2.js} +2 -2
- package/dist/EventAvailabilityForm-BnUY8Ld2.js.br +0 -0
- package/dist/EventAvailabilityForm-BnUY8Ld2.js.gz +0 -0
- package/dist/{Field-CysA6ZKB.js → Field-BJWhSh7w.js} +1 -1
- package/dist/Field-BJWhSh7w.js.br +0 -0
- package/dist/Field-BJWhSh7w.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-BGzRuNRM.js → HotelAvailabilityForm-D9NUOVqN.js} +2 -2
- package/dist/HotelAvailabilityForm-D9NUOVqN.js.br +0 -0
- package/dist/HotelAvailabilityForm-D9NUOVqN.js.gz +0 -0
- package/dist/{SelectField-BUeYRCxc.js → SelectField-UtouY5ZO.js} +1571 -1566
- package/dist/SelectField-UtouY5ZO.js.br +0 -0
- package/dist/SelectField-UtouY5ZO.js.gz +0 -0
- package/dist/{TermsOfService-DgMhoS_V.js → TermsOfService-DWX_BVF4.js} +2 -2
- package/dist/TermsOfService-DWX_BVF4.js.br +0 -0
- package/dist/TermsOfService-DWX_BVF4.js.gz +0 -0
- package/dist/{_-DFyJPf6E.js → _-DiYgOYcW.js} +1 -1
- package/dist/_-DiYgOYcW.js.br +0 -0
- package/dist/_-DiYgOYcW.js.gz +6 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +16 -16
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/{dist-CS5pBdeg.js → dist-Uk7AAFv-.js} +3 -3
- package/dist/dist-Uk7AAFv-.js.br +0 -0
- package/dist/dist-Uk7AAFv-.js.gz +0 -0
- package/dist/{dist-D4fD_33g.js → dist-_pDPOtXt.js} +4 -4
- package/dist/dist-_pDPOtXt.js.br +0 -0
- package/dist/dist-_pDPOtXt.js.gz +0 -0
- package/dist/event.js +177 -177
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +13 -13
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-ChLbvI2n.js → giftCard-BbSrjJZd.js} +10 -10
- package/dist/giftCard-BbSrjJZd.js.br +0 -0
- package/dist/giftCard-BbSrjJZd.js.gz +0 -0
- package/dist/hotel.js +862 -859
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-DWSfukOm.js → style-Bdjurc0w.js} +1 -1
- package/dist/style-Bdjurc0w.js.br +0 -0
- package/dist/style-Bdjurc0w.js.gz +0 -0
- package/dist-wix/availability.js +25 -25
- package/dist-wix/event.js +5 -5
- package/dist-wix/gift-card-validation.js +16 -16
- package/dist-wix/gift-card.js +19 -19
- package/dist-wix/hotel.js +5 -5
- package/package.json +1 -1
- package/dist/ActionField-DNhrzibV.js.br +0 -0
- package/dist/ActionField-DNhrzibV.js.gz +0 -0
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.br +0 -0
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.gz +0 -0
- package/dist/CheckoutWindow-C7AVcaIo.js.br +0 -0
- package/dist/CheckoutWindow-C7AVcaIo.js.gz +0 -0
- package/dist/ErrorMessage-i6VD5R-W.js.br +0 -0
- package/dist/ErrorMessage-i6VD5R-W.js.gz +0 -0
- package/dist/EventAvailabilityForm-B5degNGN.js.br +0 -0
- package/dist/EventAvailabilityForm-B5degNGN.js.gz +0 -0
- package/dist/Field-CysA6ZKB.js.br +0 -0
- package/dist/Field-CysA6ZKB.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.br +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.gz +0 -0
- package/dist/SelectField-BUeYRCxc.js.br +0 -0
- package/dist/SelectField-BUeYRCxc.js.gz +0 -0
- package/dist/TermsOfService-DgMhoS_V.js.br +0 -0
- package/dist/TermsOfService-DgMhoS_V.js.gz +0 -0
- package/dist/_-DFyJPf6E.js.br +0 -0
- package/dist/_-DFyJPf6E.js.gz +0 -0
- package/dist/dist-CS5pBdeg.js.br +0 -0
- package/dist/dist-CS5pBdeg.js.gz +0 -0
- package/dist/dist-D4fD_33g.js.br +0 -0
- package/dist/dist-D4fD_33g.js.gz +0 -0
- package/dist/giftCard-ChLbvI2n.js.br +0 -0
- package/dist/giftCard-ChLbvI2n.js.gz +0 -0
- package/dist/style-DWSfukOm.js.br +0 -0
- package/dist/style-DWSfukOm.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-B0aSnxlc.js";
|
|
2
|
-
import { A as n, At as r, D as i, E as a, F as o, I as s, K as c, L as l, M as u, N as d, Nt as f, O as p, P as m, Pt as h, Q as g, R as _, S as ee, St as te, _t as ne, a as v, at as re, bt as y, et as b, f as x, gt as S, h as C, i as ie, it as w, j as T, jt as E, lt as D, mt as
|
|
3
|
-
import { t as
|
|
4
|
-
import { C as
|
|
5
|
-
import { a as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { a as
|
|
11
|
-
import { t as
|
|
2
|
+
import { A as n, At as r, D as i, E as a, F as o, I as s, K as c, L as l, M as u, N as d, Nt as f, O as p, P as m, Pt as h, Q as g, R as _, S as ee, St as te, _t as ne, a as v, at as re, bt as y, et as b, f as x, gt as S, h as C, i as ie, it as w, j as T, jt as E, lt as D, mt as ae, n as O, o as k, p as A, q as j, st as M, u as N, ut as P, w as F, wt as I, z as R } from "./i18n-_behsDNX.js";
|
|
3
|
+
import { t as oe } from "./dist-Uk7AAFv-.js";
|
|
4
|
+
import { C as se, D as ce, E as le, G as ue, H as de, J as fe, K as pe, L as me, N as he, O as ge, Q as z, R as _e, S as B, T as ve, W as ye, X as be, Y as xe, Z as Se, _ as Ce, at as we, b as Te, ct as Ee, it as V, j as De, lt as Oe, n as ke, r as Ae, t as je, tt as Me, v as Ne, x as H, z as Pe } from "./SelectField-UtouY5ZO.js";
|
|
5
|
+
import { a as Fe, c as Ie, i as Le, l as Re, n as ze, o as Be, s as Ve, t as He } from "./CheckoutWindow-CkCBgrae.js";
|
|
6
|
+
import { n as Ue, t as We } from "./AvailabilitySkeleton-CiatG26I.js";
|
|
7
|
+
import { t as Ge } from "./HotelAvailabilityForm-D9NUOVqN.js";
|
|
8
|
+
import { t as Ke } from "./style-Bdjurc0w.js";
|
|
9
|
+
import { t as U } from "./ActionField-BC5arxYa.js";
|
|
10
|
+
import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./dist-_pDPOtXt.js";
|
|
11
|
+
import { t as nt } from "./TermsOfService-DWX_BVF4.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
|
-
function
|
|
13
|
+
function rt(e, t) {
|
|
14
14
|
return t ? {
|
|
15
15
|
width: window.innerWidth,
|
|
16
16
|
height: window.innerHeight,
|
|
@@ -18,10 +18,10 @@ function nt(e, t) {
|
|
|
18
18
|
top: 0
|
|
19
19
|
} : e.getBoundingClientRect();
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function it(e, t) {
|
|
22
22
|
return e && window.matchMedia && window.matchMedia(`(max-width: ${t}px)`).matches;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function at() {
|
|
25
25
|
return {
|
|
26
26
|
onLoadCallback: null,
|
|
27
27
|
bounds: {},
|
|
@@ -31,19 +31,19 @@ function it() {
|
|
|
31
31
|
scaledDimensions: {}
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function ot(e, t, n, r) {
|
|
35
35
|
return {
|
|
36
36
|
x: e - n,
|
|
37
37
|
y: t - r
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function st(e, t) {
|
|
41
41
|
return {
|
|
42
42
|
x: (t.width - e.width) / e.width,
|
|
43
43
|
y: (t.height - e.height) / e.height
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function ct(e, t) {
|
|
47
47
|
return {
|
|
48
48
|
width: e.naturalWidth * t,
|
|
49
49
|
height: e.naturalHeight * t
|
|
@@ -51,39 +51,39 @@ function st(e, t) {
|
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region node_modules/inner-image-zoom/src/utils/events.js
|
|
54
|
-
function
|
|
54
|
+
function lt(e) {
|
|
55
55
|
return {
|
|
56
56
|
x: typeof e.pageX == "number" ? e.pageX : e.changedTouches[0].pageX,
|
|
57
57
|
y: typeof e.pageY == "number" ? e.pageY : e.changedTouches[0].pageY
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function ut(e, t, n) {
|
|
61
61
|
let r = (e.pageX - (window.pageXOffset + t.bounds.left)) * -t.ratios.x, i = (e.pageY - (window.pageYOffset + t.bounds.top)) * -t.ratios.y;
|
|
62
62
|
return {
|
|
63
63
|
pageX: r + (n ? (window.innerWidth - t.bounds.width) / 2 : 0),
|
|
64
64
|
pageY: i + (n ? (window.innerHeight - t.bounds.height) / 2 : 0)
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function dt(e, t) {
|
|
68
68
|
let n = Math.abs(e.pageX - t.eventPosition.x), r = Math.abs(e.pageY - t.eventPosition.y);
|
|
69
69
|
return n > 5 || r > 5;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
let n =
|
|
71
|
+
function ft(e, t) {
|
|
72
|
+
let n = mt(e, t);
|
|
73
73
|
return {
|
|
74
74
|
left: Math.max(Math.min(n.x, t.bounds.width), 0) * -t.ratios.x,
|
|
75
75
|
top: Math.max(Math.min(n.y, t.bounds.height), 0) * -t.ratios.y
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
let n =
|
|
78
|
+
function pt(e, t) {
|
|
79
|
+
let n = mt(e, t);
|
|
80
80
|
return {
|
|
81
81
|
left: Math.max(Math.min(n.x, 0), (t.scaledDimensions.width - t.bounds.width) * -1),
|
|
82
82
|
top: Math.max(Math.min(n.y, 0), (t.scaledDimensions.height - t.bounds.height) * -1)
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
let n =
|
|
85
|
+
function mt(e, t) {
|
|
86
|
+
let n = lt(e);
|
|
87
87
|
return {
|
|
88
88
|
x: n.x - t.offsets.x,
|
|
89
89
|
y: n.y - t.offsets.y
|
|
@@ -91,7 +91,7 @@ function pt(e, t) {
|
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
|
|
94
|
-
var
|
|
94
|
+
var ht = R({
|
|
95
95
|
name: "InnerImageZoom",
|
|
96
96
|
props: {
|
|
97
97
|
moveType: {
|
|
@@ -149,7 +149,7 @@ var mt = z({
|
|
|
149
149
|
};
|
|
150
150
|
},
|
|
151
151
|
created() {
|
|
152
|
-
this.imgProps =
|
|
152
|
+
this.imgProps = at(), it(this.fullscreenOnMobile, this.mobileBreakpoint) && (this.isActive = !1);
|
|
153
153
|
},
|
|
154
154
|
computed: {
|
|
155
155
|
validSources: function() {
|
|
@@ -164,7 +164,7 @@ var mt = z({
|
|
|
164
164
|
this.isActive = !0, this.zoomType === "hover" && !this.isZoomed && this.handleClick(e);
|
|
165
165
|
},
|
|
166
166
|
handleTouchStart() {
|
|
167
|
-
this.isTouch = !0, this.isFullscreen =
|
|
167
|
+
this.isTouch = !0, this.isFullscreen = it(this.fullscreenOnMobile, this.mobileBreakpoint), this.currentMoveType = "drag";
|
|
168
168
|
},
|
|
169
169
|
handleClick(e) {
|
|
170
170
|
if (this.isZoomed) {
|
|
@@ -174,23 +174,23 @@ var mt = z({
|
|
|
174
174
|
this.isTouch && (this.isActive = !0), this.imgProps.zoomImg ? (this.handleLoad({ target: this.imgProps.zoomImg }), this.zoomIn(e)) : this.imgProps.onLoadCallback = this.zoomIn.bind(this, e);
|
|
175
175
|
},
|
|
176
176
|
handleLoad(e) {
|
|
177
|
-
let t =
|
|
178
|
-
this.imgProps.zoomImg = e.target, this.imgProps.zoomImg.setAttribute("width", t.width), this.imgProps.zoomImg.setAttribute("height", t.height), this.imgProps.scaledDimensions = t, this.imgProps.bounds =
|
|
177
|
+
let t = ct(e.target, this.zoomScale);
|
|
178
|
+
this.imgProps.zoomImg = e.target, this.imgProps.zoomImg.setAttribute("width", t.width), this.imgProps.zoomImg.setAttribute("height", t.height), this.imgProps.scaledDimensions = t, this.imgProps.bounds = rt(this.$refs.img, !1), this.imgProps.ratios = st(this.imgProps.bounds, t), this.imgProps.onLoadCallback && (this.imgProps.onLoadCallback(), this.imgProps.onLoadCallback = null);
|
|
179
179
|
},
|
|
180
180
|
handleMouseMove(e) {
|
|
181
|
-
let t =
|
|
181
|
+
let t = ft(e, this.imgProps);
|
|
182
182
|
this.left = t.left, this.top = t.top;
|
|
183
183
|
},
|
|
184
184
|
handleDragStart(e) {
|
|
185
|
-
let t =
|
|
186
|
-
this.imgProps.offsets =
|
|
185
|
+
let t = lt(e);
|
|
186
|
+
this.imgProps.offsets = ot(t.x, t.y, this.imgProps.zoomImg.offsetLeft, this.imgProps.zoomImg.offsetTop), this.imgProps.zoomImg.addEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove, { passive: !0 }), this.isTouch || (this.imgProps.eventPosition = t);
|
|
187
187
|
},
|
|
188
188
|
handleDragMove(e) {
|
|
189
|
-
let t =
|
|
189
|
+
let t = pt(e, this.imgProps);
|
|
190
190
|
this.left = t.left, this.top = t.top;
|
|
191
191
|
},
|
|
192
192
|
handleDragEnd(e) {
|
|
193
|
-
this.imgProps.zoomImg.removeEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove), this.isTouch || (this.isDragging =
|
|
193
|
+
this.imgProps.zoomImg.removeEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove), this.isTouch || (this.isDragging = dt(e, this.imgProps));
|
|
194
194
|
},
|
|
195
195
|
handleMouseLeave(e) {
|
|
196
196
|
this.currentMoveType === "drag" && this.isZoomed ? this.handleDragEnd(e) : this.handleClose();
|
|
@@ -198,16 +198,16 @@ var mt = z({
|
|
|
198
198
|
handleClose() {
|
|
199
199
|
this.zoomOut(() => {
|
|
200
200
|
setTimeout(() => {
|
|
201
|
-
(this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps =
|
|
201
|
+
(this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps = at()), this.isTouch = !1, this.isFullscreen = !1, this.currentMoveType = this.moveType;
|
|
202
202
|
}, this.isFullscreen ? 0 : this.fadeDuration);
|
|
203
203
|
});
|
|
204
204
|
},
|
|
205
205
|
initialMove(e) {
|
|
206
|
-
this.imgProps.offsets =
|
|
206
|
+
this.imgProps.offsets = ot(window.pageXOffset, window.pageYOffset, -this.imgProps.bounds.left, -this.imgProps.bounds.top), this.handleMouseMove(e);
|
|
207
207
|
},
|
|
208
208
|
initialDragMove(e) {
|
|
209
|
-
let t =
|
|
210
|
-
this.imgProps.bounds =
|
|
209
|
+
let t = ut(e, this.imgProps, this.isFullscreen);
|
|
210
|
+
this.imgProps.bounds = rt(this.$refs.img, this.isFullscreen), this.imgProps.offsets = ot(0, 0, 0, 0), this.handleDragMove({
|
|
211
211
|
...t,
|
|
212
212
|
preventDefault: () => {},
|
|
213
213
|
stopPropagation: () => {}
|
|
@@ -220,19 +220,19 @@ var mt = z({
|
|
|
220
220
|
this.isZoomed = !1, this.afterZoomOut && this.afterZoomOut(), e && e();
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
}),
|
|
223
|
+
}), gt = { key: 0 }, _t = [
|
|
224
224
|
"src",
|
|
225
225
|
"width",
|
|
226
226
|
"height"
|
|
227
|
-
],
|
|
227
|
+
], W = [
|
|
228
228
|
"src",
|
|
229
229
|
"width",
|
|
230
230
|
"height"
|
|
231
|
-
],
|
|
231
|
+
], G = { class: "iiz__zoom-portal" }, vt = ["src"], yt = ["src"], bt = {
|
|
232
232
|
key: 1,
|
|
233
233
|
class: "iiz__btn iiz__hint"
|
|
234
234
|
};
|
|
235
|
-
function
|
|
235
|
+
function xt(e, t, n, r, i, o) {
|
|
236
236
|
return b(), m("figure", c({
|
|
237
237
|
class: ["iiz", {
|
|
238
238
|
...e.className && { [e.className]: e.className },
|
|
@@ -240,14 +240,14 @@ function bt(e, t, n, r, i, o) {
|
|
|
240
240
|
}],
|
|
241
241
|
ref: "img",
|
|
242
242
|
style: { width: `${e.width}px` }
|
|
243
|
-
},
|
|
243
|
+
}, P({
|
|
244
244
|
touchstart: e.isZoomed ? () => {} : e.handleTouchStart,
|
|
245
245
|
click: e.handleClick,
|
|
246
246
|
mouseenter: e.isTouch ? () => {} : e.handleMouseEnter,
|
|
247
247
|
mousemove: e.currentMoveType === "drag" || !e.isZoomed ? () => {} : e.handleMouseMove,
|
|
248
248
|
mouseleave: e.isTouch ? () => {} : e.handleMouseLeave
|
|
249
249
|
}, !0)), [
|
|
250
|
-
T("div", { style: f({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (b(), m("picture",
|
|
250
|
+
T("div", { style: f({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (b(), m("picture", gt, [(b(!0), m(a, null, w(e.validSources, (e, t) => (b(), m("source", c({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), T("img", c(e.imgAttributes, {
|
|
251
251
|
class: ["iiz__img", [e.imgAttributes.className || "", {
|
|
252
252
|
"iiz__img--hidden": e.isZoomed,
|
|
253
253
|
"iiz__img--abs": e.createSpacer
|
|
@@ -256,7 +256,7 @@ function bt(e, t, n, r, i, o) {
|
|
|
256
256
|
src: e.src,
|
|
257
257
|
width: e.width,
|
|
258
258
|
height: e.height
|
|
259
|
-
}), null, 16,
|
|
259
|
+
}), null, 16, _t)])) : (b(), m("img", c({ key: 1 }, e.imgAttributes, {
|
|
260
260
|
class: ["iiz__img", [e.imgAttributes.className || "", {
|
|
261
261
|
"iiz__img--hidden": e.isZoomed,
|
|
262
262
|
"iiz__img--abs": e.createSpacer
|
|
@@ -265,11 +265,11 @@ function bt(e, t, n, r, i, o) {
|
|
|
265
265
|
src: e.src,
|
|
266
266
|
width: e.width,
|
|
267
267
|
height: e.height
|
|
268
|
-
}), null, 16,
|
|
268
|
+
}), null, 16, W))], 4),
|
|
269
269
|
e.isActive ? (b(), m(a, { key: 0 }, [e.isFullscreen ? (b(), u(p, {
|
|
270
270
|
key: 0,
|
|
271
271
|
to: "body"
|
|
272
|
-
}, [T("div",
|
|
272
|
+
}, [T("div", G, [T("img", c({
|
|
273
273
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
|
|
274
274
|
alt: "",
|
|
275
275
|
draggable: !1,
|
|
@@ -279,20 +279,20 @@ function bt(e, t, n, r, i, o) {
|
|
|
279
279
|
transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
|
|
280
280
|
},
|
|
281
281
|
src: e.zoomSrc || e.src
|
|
282
|
-
},
|
|
282
|
+
}, P({
|
|
283
283
|
load: e.handleLoad,
|
|
284
284
|
touchstart: e.handleDragStart,
|
|
285
285
|
touchend: e.handleDragEnd,
|
|
286
286
|
mousedown: e.handleDragStart,
|
|
287
287
|
mouseup: e.handleDragEnd,
|
|
288
288
|
click: e.handleClick
|
|
289
|
-
}, !0)), null, 16,
|
|
289
|
+
}, !0)), null, 16, vt), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), m("button", {
|
|
290
290
|
key: 0,
|
|
291
291
|
type: "button",
|
|
292
292
|
class: E(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
|
|
293
293
|
"aria-label": "Zoom Out",
|
|
294
294
|
style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
295
|
-
onClick: t[0] ||=
|
|
295
|
+
onClick: t[0] ||= F((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
296
296
|
}, null, 6)) : d("", !0)])])) : (b(), m(a, { key: 1 }, [T("img", c({
|
|
297
297
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
|
|
298
298
|
alt: "",
|
|
@@ -303,38 +303,38 @@ function bt(e, t, n, r, i, o) {
|
|
|
303
303
|
transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
|
|
304
304
|
},
|
|
305
305
|
src: e.zoomSrc || e.src
|
|
306
|
-
},
|
|
306
|
+
}, P({
|
|
307
307
|
load: e.handleLoad,
|
|
308
308
|
touchstart: e.handleDragStart,
|
|
309
309
|
touchend: e.handleDragEnd,
|
|
310
310
|
mousedown: e.handleDragStart,
|
|
311
311
|
mouseup: e.handleDragEnd
|
|
312
|
-
}, !0)), null, 16,
|
|
312
|
+
}, !0)), null, 16, yt), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), m("button", {
|
|
313
313
|
key: 0,
|
|
314
314
|
class: E(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
|
|
315
315
|
type: "button",
|
|
316
316
|
"aria-label": "Zoom Out",
|
|
317
317
|
style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
318
|
-
onClick: t[1] ||=
|
|
318
|
+
onClick: t[1] ||= F((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
319
319
|
}, null, 6)) : d("", !0)], 64))], 64)) : d("", !0),
|
|
320
|
-
!e.isZoomed && !e.hideHint ? (b(), m("span",
|
|
320
|
+
!e.isZoomed && !e.hideHint ? (b(), m("span", bt)) : d("", !0)
|
|
321
321
|
], 16);
|
|
322
322
|
}
|
|
323
323
|
//#endregion
|
|
324
324
|
//#region node_modules/vue-inner-image-zoom/src/index.js
|
|
325
|
-
var
|
|
325
|
+
var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]), q = { key: 0 }, St = { class: "konnectio-hotel-reservation-warning" }, Ct = { class: "konnectio-hotel-reservation-warning" }, wt = { class: "konnectio-hotel-reservation-warning" }, Tt = { key: 1 }, Et = { class: "konnectio-hotel-reservation-title" }, Dt = { class: "konnectio-hotel-reservation-information" }, J = { class: "konnectio-hotel-reservation-guests" }, Ot = { key: 0 }, kt = {
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "konnectio-hotel-reservation-room-name"
|
|
328
|
-
},
|
|
328
|
+
}, At = ["onClick"], jt = { key: 0 }, Mt = { key: 1 }, Nt = { class: "konnectio-hotel-reservation-title" }, Pt = {
|
|
329
329
|
key: 0,
|
|
330
330
|
class: "konnectio-hotel-reservation-room-name"
|
|
331
|
-
},
|
|
331
|
+
}, Ft = { class: "konnectio-hotel-reservation-information" }, It = { class: "konnectio-hotel-reservation-guests" }, Lt = { key: 0 }, Rt = { key: 0 }, zt = { class: "konnectio-reservation-actions" }, Bt = {
|
|
332
332
|
key: 0,
|
|
333
333
|
class: "konnectio-newsletter-signup"
|
|
334
|
-
},
|
|
334
|
+
}, Vt = {
|
|
335
335
|
key: 1,
|
|
336
336
|
class: "konnectio-accept-terms"
|
|
337
|
-
},
|
|
337
|
+
}, Y = { class: "konnectio-hotel-reservation-tooltip" }, Ht = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
338
338
|
__name: "HotelReservationForm",
|
|
339
339
|
props: {
|
|
340
340
|
forceArrivalTime: {},
|
|
@@ -358,83 +358,83 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
358
358
|
prevCallback: {}
|
|
359
359
|
},
|
|
360
360
|
setup(e) {
|
|
361
|
-
let { t } = v(), { disableNewsletterSignup: n, currency: i } = C(
|
|
362
|
-
function
|
|
363
|
-
|
|
361
|
+
let { t } = v(), { disableNewsletterSignup: n, currency: i } = C(le()), { hasArrivalDepartureInputs: s } = le(), { arrivalTime: c, departureTime: f, roomDisplay: p, templateID: g, totalPrice: _, areListingsLoading: te, getSelectedPackageRooms: x, templateRoomUnits: E, selectedPackage: D, discountVouchers: ae, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: j, locationMismatch: N, newsMails: P, termsOfService: R, discountCode: oe, hasTermOfService: ce, acceptTerms: ue, totalTemplateAddonPrice: de, totalRooms: fe, totalAdults: pe, totalChildren: he, weekendFee: _e, selectedMemberCardData: B, appliedDiscountCode: ve, guestDiscountCode: ye, isValidatingDiscountCode: be } = C(ge()), { hasHotelLocations: Se } = C(se()), { removeRoom: Ce, validateDiscountCode: we, getMandatoryRoomGroupAddons: Te, getTemplateRoomUnitPrice: Ee, resetDiscountVoucher: V, setGuestDiscountCode: De, clearGuestDiscountCode: Oe, fetchAvailabilityData: ke } = ge(), { getHotelLocationName: Ae } = se(), je = I(!1);
|
|
362
|
+
function Ne(e) {
|
|
363
|
+
De(e), ke();
|
|
364
364
|
}
|
|
365
365
|
function Fe() {
|
|
366
|
-
|
|
366
|
+
Oe(), ke();
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Ie(e) {
|
|
369
369
|
return e.reduce((e, { totalPrice: t }) => e + t, 0);
|
|
370
370
|
}
|
|
371
371
|
return (v, C) => {
|
|
372
|
-
let
|
|
373
|
-
return b(), u(
|
|
374
|
-
"discount-code": r(
|
|
375
|
-
"onUpdate:discountCode": C[4] ||= (e) => y(
|
|
372
|
+
let I = M("tooltip");
|
|
373
|
+
return b(), u(qe, {
|
|
374
|
+
"discount-code": r(oe),
|
|
375
|
+
"onUpdate:discountCode": C[4] ||= (e) => y(oe) ? oe.value = e : null,
|
|
376
376
|
"validate-discount-code": r(we),
|
|
377
377
|
"total-price": r(_),
|
|
378
|
-
"weekend-fee": r(
|
|
378
|
+
"weekend-fee": r(_e),
|
|
379
379
|
"show-gift-card": e.showGiftCard,
|
|
380
380
|
"availability-discount": e.availabilityDiscount,
|
|
381
381
|
"show-terms-notice": e.showTermsNotice,
|
|
382
382
|
"is-sidebar-loading": r(te),
|
|
383
383
|
notice: r(t)("hotel.reservationNotice"),
|
|
384
384
|
"prev-callback": e.prevCallback,
|
|
385
|
-
"applied-discount-code": r(
|
|
386
|
-
"guest-discount-code": r(
|
|
387
|
-
"is-validating-discount-code": r(
|
|
388
|
-
"on-reset-discount-code": r(
|
|
389
|
-
"on-apply-availability-discount":
|
|
385
|
+
"applied-discount-code": r(ve),
|
|
386
|
+
"guest-discount-code": r(ye),
|
|
387
|
+
"is-validating-discount-code": r(be),
|
|
388
|
+
"on-reset-discount-code": r(V),
|
|
389
|
+
"on-apply-availability-discount": Ne,
|
|
390
390
|
"on-clear-availability-discount": Fe
|
|
391
391
|
}, o({
|
|
392
392
|
form: S(() => [re(v.$slots, "form", {}, void 0, !0)]),
|
|
393
|
-
"price-summary": S(() => [isNaN(r(g)) && r(p).length > 0 ? (b(!0), m(a, { key: 0 }, w(r(p), ({ roomGroupID: n, title: o, variants: s }) => (b(), m("div", { key: n }, [T("h6", null, [T("span", null, h(r(
|
|
394
|
-
T("span",
|
|
395
|
-
T("span",
|
|
393
|
+
"price-summary": S(() => [isNaN(r(g)) && r(p).length > 0 ? (b(!0), m(a, { key: 0 }, w(r(p), ({ roomGroupID: n, title: o, variants: s }) => (b(), m("div", { key: n }, [T("h6", null, [T("span", null, h(r(me)(o)), 1)]), (b(!0), m(a, null, w(s, (o, s) => (b(), m("div", { key: s }, [(b(!0), m(a, null, w(o.rooms, (a, c) => (b(), m("ul", { key: c }, [T("li", null, [
|
|
394
|
+
T("span", Et, h(r(me)(o.name)), 1),
|
|
395
|
+
T("span", Dt, [T("span", J, [T("span", null, [l(H, {
|
|
396
396
|
icon: "male",
|
|
397
397
|
type: "fas",
|
|
398
398
|
color: "font"
|
|
399
|
-
}), T("span", null, h(a.adultsCount), 1)]), a.childrenCount > 0 ? (b(), m("span",
|
|
399
|
+
}), T("span", null, h(a.adultsCount), 1)]), a.childrenCount > 0 ? (b(), m("span", Ot, [l(H, {
|
|
400
400
|
icon: "child",
|
|
401
401
|
type: "fas",
|
|
402
402
|
color: "font"
|
|
403
|
-
}), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span",
|
|
404
|
-
T("b", null, [T("span", null, h(r(
|
|
403
|
+
}), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span", kt, "(" + h(a.roomName) + ")", 1)) : d("", !0)]),
|
|
404
|
+
T("b", null, [T("span", null, h(r(Me)(a.totalPrice, r(i))), 1), e.showRemoveRoom ? (b(), m("span", {
|
|
405
405
|
key: 0,
|
|
406
406
|
class: "konnectio-hotel-reservation-remove",
|
|
407
|
-
onClick:
|
|
407
|
+
onClick: F((e) => r(Ce)(n, s, a.configIdx), ["prevent"])
|
|
408
408
|
}, [l(H, {
|
|
409
409
|
icon: "times",
|
|
410
410
|
type: "fas",
|
|
411
411
|
"icon-color": "#ff0000"
|
|
412
|
-
})], 8,
|
|
413
|
-
]),
|
|
414
|
-
T("span",
|
|
415
|
-
T("span",
|
|
412
|
+
})], 8, At)) : d("", !0)])
|
|
413
|
+
]), Ie(a.roomAddons) > 0 ? (b(), m("li", jt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Me)(Ie(a.roomAddons), r(i))), 1)])) : d("", !0)]))), 128))]))), 128))]))), 128)) : d("", !0), r(E).length > 0 && r(D) ? (b(), m("div", Mt, [T("h6", null, [T("span", null, h(r(me)(r(D).name)), 1)]), T("div", null, [T("ul", null, [(b(!0), m(a, null, w(r(E), (e, n) => (b(), m("li", { key: n }, [
|
|
414
|
+
T("span", Nt, [T("span", null, h(r(me)(r(x).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), r(E).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), m("span", Pt, "(" + h(r(t)("booking.reservation.room")) + " " + h(r(E).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : d("", !0)]),
|
|
415
|
+
T("span", Ft, [T("span", It, [T("span", null, [l(H, {
|
|
416
416
|
icon: "male",
|
|
417
417
|
type: "fas",
|
|
418
418
|
color: "font"
|
|
419
|
-
}), T("span", null, h(e.adults), 1)]), e.children > 0 ? (b(), m("span",
|
|
419
|
+
}), T("span", null, h(e.adults), 1)]), e.children > 0 ? (b(), m("span", Lt, [l(H, {
|
|
420
420
|
icon: "child",
|
|
421
421
|
type: "fas",
|
|
422
422
|
color: "font"
|
|
423
423
|
}), T("span", null, h(e.children), 1)])) : d("", !0)])]),
|
|
424
|
-
T("b", null, [T("span", null, h(r(
|
|
425
|
-
(b(!0), m(a, null, w(r(
|
|
426
|
-
]))), 128)), r(
|
|
427
|
-
actions: S(() => [T("ul",
|
|
428
|
-
r(n) ? d("", !0) : (b(), m("div",
|
|
429
|
-
modelValue: r(
|
|
430
|
-
"onUpdate:modelValue": C[0] ||= (e) => y(
|
|
424
|
+
T("b", null, [T("span", null, h(r(Me)(r(Ee)(e.roomGroupId, e.adults, e.children) + r(_e), r(i))), 1)]),
|
|
425
|
+
(b(!0), m(a, null, w(r(Te)(e.roomGroupId), (e) => (b(), m(a, { key: e.addonID }, [T("span", null, "- " + h(e.name), 1), T("b", null, [T("span", null, h(r(Me)(e.price, r(i))), 1)])], 64))), 128))
|
|
426
|
+
]))), 128)), r(de) ? (b(), m("li", Rt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Me)(r(de), r(i))), 1)])) : d("", !0)])])])) : d("", !0)]),
|
|
427
|
+
actions: S(() => [T("ul", zt, [
|
|
428
|
+
r(n) ? d("", !0) : (b(), m("div", Bt, [l(Le, {
|
|
429
|
+
modelValue: r(P),
|
|
430
|
+
"onUpdate:modelValue": C[0] ||= (e) => y(P) ? P.value = e : null,
|
|
431
431
|
type: "checkbox",
|
|
432
432
|
name: "newsletter",
|
|
433
433
|
label: r(t)("booking.reservation.newsletterSignUp")
|
|
434
434
|
}, null, 8, ["modelValue", "label"])])),
|
|
435
|
-
r(
|
|
436
|
-
modelValue: r(
|
|
437
|
-
"onUpdate:modelValue": C[2] ||= (e) => y(
|
|
435
|
+
r(ce) ? (b(), m("div", Vt, [l(Le, {
|
|
436
|
+
modelValue: r(ue),
|
|
437
|
+
"onUpdate:modelValue": C[2] ||= (e) => y(ue) ? ue.value = e : null,
|
|
438
438
|
type: "checkbox",
|
|
439
439
|
name: "terms"
|
|
440
440
|
}, {
|
|
@@ -445,56 +445,56 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
445
445
|
}, {
|
|
446
446
|
terms: S(() => [T("a", {
|
|
447
447
|
class: "konnectio-accept-terms-link",
|
|
448
|
-
onClick: C[1] ||=
|
|
449
|
-
}, [T("span", null, h(r(
|
|
448
|
+
onClick: C[1] ||= F((e) => je.value = !0, ["prevent"])
|
|
449
|
+
}, [T("span", null, h(r(xe)(r(t)("general.termsAndConditions"))), 1)])]),
|
|
450
450
|
_: 1
|
|
451
451
|
})]),
|
|
452
452
|
_: 1
|
|
453
453
|
}, 8, ["modelValue"])])) : d("", !0),
|
|
454
454
|
re(v.$slots, "actions", {}, void 0, !0),
|
|
455
|
-
l(
|
|
456
|
-
modelValue:
|
|
457
|
-
"onUpdate:modelValue": C[3] ||= (e) =>
|
|
458
|
-
description: r(
|
|
455
|
+
l(nt, {
|
|
456
|
+
modelValue: je.value,
|
|
457
|
+
"onUpdate:modelValue": C[3] ||= (e) => je.value = e,
|
|
458
|
+
description: r(R)
|
|
459
459
|
}, null, 8, ["modelValue", "description"])
|
|
460
460
|
])]),
|
|
461
461
|
navigation: S(() => [re(v.$slots, "navigation", {}, void 0, !0)]),
|
|
462
462
|
"mobile-under-price": S(() => [
|
|
463
463
|
T("span", null, h(r(t)("general.for")) + ": ", 1),
|
|
464
|
-
T("b", null, h(r(
|
|
465
|
-
ne((b(), m("span",
|
|
464
|
+
T("b", null, h(r(Pe)(r(O), r(k))) + " " + h(r(xe)(r(Pe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1),
|
|
465
|
+
ne((b(), m("span", Y, [l(H, {
|
|
466
466
|
icon: "circle-info",
|
|
467
467
|
type: "fas"
|
|
468
|
-
})])), [[
|
|
469
|
-
content: `<span>(${r(
|
|
468
|
+
})])), [[I, {
|
|
469
|
+
content: `<span>(${r(z)(r(O))} - ${r(z)(r(k))})</span>`,
|
|
470
470
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
471
471
|
html: !0
|
|
472
472
|
}]])
|
|
473
473
|
]),
|
|
474
474
|
"mobile-summary": S(() => [
|
|
475
|
-
T("span", null, h(`${r(
|
|
476
|
-
T("span", null, h(`${r(
|
|
477
|
-
T("span", null, h(`${r(
|
|
475
|
+
T("span", null, h(`${r(pe)} ${r(pe) === 1 ? r(t)("general.adult") : r(t)("general.adults")}`), 1),
|
|
476
|
+
T("span", null, h(`${r(he)} ${r(he) === 1 ? r(t)("general.child") : r(t)("general.children")}`), 1),
|
|
477
|
+
T("span", null, h(`${r(fe)} ${r(fe) === 1 ? r(t)("booking.reservation.room") : r(t)("booking.reservation.rooms")}`), 1)
|
|
478
478
|
]),
|
|
479
479
|
_: 2
|
|
480
|
-
}, [isNaN(r(
|
|
480
|
+
}, [isNaN(r(j)) ? void 0 : {
|
|
481
481
|
name: "reservation-summary",
|
|
482
482
|
fn: S(() => [
|
|
483
|
-
r(Se) ? (b(), m("li",
|
|
483
|
+
r(Se) ? (b(), m("li", q, [T("span", null, h(r(t)("general.location")), 1), T("b", null, [T("span", null, h(r(Ae)(r(j))), 1), ne(T("span", St, [l(H, {
|
|
484
484
|
icon: "exclamation-triangle",
|
|
485
485
|
type: "fas"
|
|
486
|
-
})], 512), [[ee, r(
|
|
487
|
-
T("li", null, [T("span", null, h(r(t)("booking.reservation.arrival")), 1), T("b", null, [T("span", null, h(r(s)(r(
|
|
486
|
+
})], 512), [[ee, r(N)]])])])) : d("", !0),
|
|
487
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.arrival")), 1), T("b", null, [T("span", null, h(r(s)(r(j)) ? `${r(z)(r(O))}, ${r(c)}` : r(z)(r(O))), 1), ne(T("span", Ct, [l(H, {
|
|
488
488
|
icon: "exclamation-triangle",
|
|
489
489
|
type: "fas"
|
|
490
|
-
})], 512), [[ee, r(
|
|
491
|
-
T("li", null, [T("span", null, h(r(t)("booking.reservation.departure")), 1), T("b", null, [T("span", null, h(r(s)(r(
|
|
490
|
+
})], 512), [[ee, r(A)]])])]),
|
|
491
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.departure")), 1), T("b", null, [T("span", null, h(r(s)(r(j)) ? `${r(z)(r(k))}, ${r(f)}` : r(z)(r(k))), 1), ne(T("span", wt, [l(H, {
|
|
492
492
|
icon: "exclamation-triangle",
|
|
493
493
|
type: "fas"
|
|
494
|
-
})], 512), [[ee, r(
|
|
495
|
-
T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(
|
|
496
|
-
r(B) && r(B).providesDiscount ? (b(), m("li",
|
|
497
|
-
r(
|
|
494
|
+
})], 512), [[ee, r(A)]])])]),
|
|
495
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(Pe)(r(O), r(k))) + " " + h(r(xe)(r(Pe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)]),
|
|
496
|
+
r(B) && r(B).providesDiscount ? (b(), m("li", Tt, [T("span", null, h(r(B).shortDescription), 1), T("b", null, "-" + h(r(B).discountPercent) + "%", 1)])) : d("", !0),
|
|
497
|
+
r(ae) ? (b(!0), m(a, { key: 2 }, w(r(ae), (e) => (b(), m("li", { key: e.id }, [T("span", null, h(`${r(t)("general.discountCode")} (${e.value})`), 1), T("b", null, h(e.key), 1)]))), 128)) : d("", !0)
|
|
498
498
|
]),
|
|
499
499
|
key: "0"
|
|
500
500
|
}]), 1032, [
|
|
@@ -515,10 +515,10 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
515
515
|
]);
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
|
-
}), [["__scopeId", "data-v-95f86ccc"]]),
|
|
518
|
+
}), [["__scopeId", "data-v-95f86ccc"]]), X = { class: "konnectio-panel" }, Ut = { id: "konnectio-hotel-guest-discount-title" }, Wt = ["innerHTML"], Gt = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
519
519
|
__name: "GuestDiscountForm",
|
|
520
520
|
setup(e) {
|
|
521
|
-
let { t } = v(), n = x("history"), i =
|
|
521
|
+
let { t } = v(), n = x("history"), i = ge(), { display: a } = he(), o = I();
|
|
522
522
|
async function s() {
|
|
523
523
|
if (!o.value) {
|
|
524
524
|
a({
|
|
@@ -538,11 +538,11 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
538
538
|
}
|
|
539
539
|
return (e, n) => (b(), m("form", {
|
|
540
540
|
id: "konnectio-hotel-guest-discount",
|
|
541
|
-
onSubmit: n[1] ||=
|
|
542
|
-
}, [T("div",
|
|
543
|
-
T("h3",
|
|
544
|
-
T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8,
|
|
545
|
-
l(
|
|
541
|
+
onSubmit: n[1] ||= F(() => {}, ["prevent"])
|
|
542
|
+
}, [T("div", X, [
|
|
543
|
+
T("h3", Ut, [T("span", null, h(r(t)("guestDiscount.title")), 1)]),
|
|
544
|
+
T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8, Wt),
|
|
545
|
+
l(U, {
|
|
546
546
|
modelValue: o.value,
|
|
547
547
|
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
548
548
|
label: r(t)("guestDiscount.guestDiscountCode"),
|
|
@@ -560,10 +560,10 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
560
560
|
])
|
|
561
561
|
])], 32));
|
|
562
562
|
}
|
|
563
|
-
}), [["__scopeId", "data-v-de955b0c"]]),
|
|
563
|
+
}), [["__scopeId", "data-v-de955b0c"]]), Kt = { class: "konnectio-panel" }, qt = { id: "konnectio-hotel-discount-code-title" }, Jt = ["innerHTML"], Yt = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
564
564
|
__name: "DiscountCodeForm",
|
|
565
565
|
setup(e) {
|
|
566
|
-
let { t } = v(), n = x("history"), i =
|
|
566
|
+
let { t } = v(), n = x("history"), i = ge(), { display: a } = he(), o = I();
|
|
567
567
|
async function s() {
|
|
568
568
|
if (!o.value) {
|
|
569
569
|
a({
|
|
@@ -576,11 +576,11 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
576
576
|
}
|
|
577
577
|
return (e, n) => (b(), m("form", {
|
|
578
578
|
id: "konnectio-hotel-discount-code",
|
|
579
|
-
onSubmit: n[1] ||=
|
|
580
|
-
}, [T("div",
|
|
581
|
-
T("h3",
|
|
582
|
-
T("p", { innerHTML: r(t)("discountCode.description") }, null, 8,
|
|
583
|
-
l(
|
|
579
|
+
onSubmit: n[1] ||= F(() => {}, ["prevent"])
|
|
580
|
+
}, [T("div", Kt, [
|
|
581
|
+
T("h3", qt, [T("span", null, h(r(t)("discountCode.title")), 1)]),
|
|
582
|
+
T("p", { innerHTML: r(t)("discountCode.description") }, null, 8, Jt),
|
|
583
|
+
l(U, {
|
|
584
584
|
modelValue: o.value,
|
|
585
585
|
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
586
586
|
label: r(t)("discountCode.label"),
|
|
@@ -598,7 +598,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
598
598
|
])
|
|
599
599
|
])], 32));
|
|
600
600
|
}
|
|
601
|
-
}), [["__scopeId", "data-v-4a009012"]]),
|
|
601
|
+
}), [["__scopeId", "data-v-4a009012"]]), Z = { class: "konnectio-room-config-option" }, Xt = { key: 0 }, Zt = { class: "konnectio-selected-room-config" }, Qt = { class: "konnectio-selected-room-config-people" }, $t = { key: 0 }, en = { class: "konnectio-selected-room-config-price" }, tn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
602
602
|
__name: "RoomConfigField",
|
|
603
603
|
props: {
|
|
604
604
|
modelValue: {},
|
|
@@ -615,7 +615,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
615
615
|
},
|
|
616
616
|
emits: ["update:modelValue"],
|
|
617
617
|
setup(e, { emit: t }) {
|
|
618
|
-
let { t: i } = v(), { currency: a } = C(
|
|
618
|
+
let { t: i } = v(), { currency: a } = C(le()), o = t, c = e;
|
|
619
619
|
function f(e) {
|
|
620
620
|
o("update:modelValue", e);
|
|
621
621
|
}
|
|
@@ -636,20 +636,20 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
636
636
|
required: e.required,
|
|
637
637
|
searchable: !1
|
|
638
638
|
}, {
|
|
639
|
-
option: S(({ data: e }) => [T("span",
|
|
639
|
+
option: S(({ data: e }) => [T("span", Z, [T("div", null, [
|
|
640
640
|
l(H, {
|
|
641
641
|
icon: "male",
|
|
642
642
|
type: "fas",
|
|
643
643
|
color: "font"
|
|
644
644
|
}),
|
|
645
645
|
T("span", null, h(`${e.adults}`), 1),
|
|
646
|
-
e.children > 0 ? (b(), m("span",
|
|
646
|
+
e.children > 0 ? (b(), m("span", Xt, [l(H, {
|
|
647
647
|
icon: "child",
|
|
648
648
|
type: "fas",
|
|
649
649
|
color: "font"
|
|
650
650
|
}), T("span", null, h(`${e.children}`), 1)])) : d("", !0)
|
|
651
|
-
]), T("span", null, h(`(${r(
|
|
652
|
-
"selected-option": S(({ data: e }) => [T("div",
|
|
651
|
+
]), T("span", null, h(`(${r(Me)(e.price, r(a))})`), 1)])]),
|
|
652
|
+
"selected-option": S(({ data: e }) => [T("div", Zt, [T("div", Qt, [T("div", null, [d("", !0), T("span", null, h(`${e.adults} ${e.adults === 1 ? r(i)("general.adult") : r(i)("general.adults")}`), 1)]), e.children > 0 ? (b(), m("div", $t, [d("", !0), T("span", null, h(`& ${e.children} ${e.children === 1 ? r(i)("general.child") : r(i)("general.children")}`), 1)])) : d("", !0)]), T("div", en, [n[1] ||= T("span", null, null, -1), s(" " + h(`(${r(Me)(e.price, r(a))})`), 1)])])]),
|
|
653
653
|
_: 1
|
|
654
654
|
}, 8, [
|
|
655
655
|
"modelValue",
|
|
@@ -659,7 +659,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
659
659
|
"required"
|
|
660
660
|
]));
|
|
661
661
|
}
|
|
662
|
-
}), [["__scopeId", "data-v-f960b7b6"]]),
|
|
662
|
+
}), [["__scopeId", "data-v-f960b7b6"]]), nn = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
663
663
|
(function(n, r) {
|
|
664
664
|
typeof e == "object" && t !== void 0 ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (n = typeof globalThis < "u" ? globalThis : n || self, r(n.leaflet = {}));
|
|
665
665
|
})(e, (function(e) {
|
|
@@ -927,7 +927,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
927
927
|
function D(e, t, n) {
|
|
928
928
|
this.x = n ? Math.round(e) : e, this.y = n ? Math.round(t) : t;
|
|
929
929
|
}
|
|
930
|
-
var
|
|
930
|
+
var ae = Math.trunc || function(e) {
|
|
931
931
|
return e > 0 ? Math.floor(e) : Math.ceil(e);
|
|
932
932
|
};
|
|
933
933
|
D.prototype = {
|
|
@@ -935,13 +935,13 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
935
935
|
return new D(this.x, this.y);
|
|
936
936
|
},
|
|
937
937
|
add: function(e) {
|
|
938
|
-
return this.clone()._add(
|
|
938
|
+
return this.clone()._add(O(e));
|
|
939
939
|
},
|
|
940
940
|
_add: function(e) {
|
|
941
941
|
return this.x += e.x, this.y += e.y, this;
|
|
942
942
|
},
|
|
943
943
|
subtract: function(e) {
|
|
944
|
-
return this.clone()._subtract(
|
|
944
|
+
return this.clone()._subtract(O(e));
|
|
945
945
|
},
|
|
946
946
|
_subtract: function(e) {
|
|
947
947
|
return this.x -= e.x, this.y -= e.y, this;
|
|
@@ -986,45 +986,45 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
986
986
|
return this.clone()._trunc();
|
|
987
987
|
},
|
|
988
988
|
_trunc: function() {
|
|
989
|
-
return this.x =
|
|
989
|
+
return this.x = ae(this.x), this.y = ae(this.y), this;
|
|
990
990
|
},
|
|
991
991
|
distanceTo: function(e) {
|
|
992
|
-
e =
|
|
992
|
+
e = O(e);
|
|
993
993
|
var t = e.x - this.x, n = e.y - this.y;
|
|
994
994
|
return Math.sqrt(t * t + n * n);
|
|
995
995
|
},
|
|
996
996
|
equals: function(e) {
|
|
997
|
-
return e =
|
|
997
|
+
return e = O(e), e.x === this.x && e.y === this.y;
|
|
998
998
|
},
|
|
999
999
|
contains: function(e) {
|
|
1000
|
-
return e =
|
|
1000
|
+
return e = O(e), Math.abs(e.x) <= Math.abs(this.x) && Math.abs(e.y) <= Math.abs(this.y);
|
|
1001
1001
|
},
|
|
1002
1002
|
toString: function() {
|
|
1003
1003
|
return "Point(" + u(this.x) + ", " + u(this.y) + ")";
|
|
1004
1004
|
}
|
|
1005
1005
|
};
|
|
1006
|
-
function
|
|
1006
|
+
function O(e, t, n) {
|
|
1007
1007
|
return e instanceof D ? e : _(e) ? new D(e[0], e[1]) : e == null ? e : typeof e == "object" && "x" in e && "y" in e ? new D(e.x, e.y) : new D(e, t, n);
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1009
|
+
function k(e, t) {
|
|
1010
1010
|
if (e) for (var n = t ? [e, t] : e, r = 0, i = n.length; r < i; r++) this.extend(n[r]);
|
|
1011
1011
|
}
|
|
1012
|
-
|
|
1012
|
+
k.prototype = {
|
|
1013
1013
|
extend: function(e) {
|
|
1014
1014
|
var t, n;
|
|
1015
1015
|
if (!e) return this;
|
|
1016
|
-
if (e instanceof D || typeof e[0] == "number" || "x" in e) t = n =
|
|
1017
|
-
else if (e =
|
|
1016
|
+
if (e instanceof D || typeof e[0] == "number" || "x" in e) t = n = O(e);
|
|
1017
|
+
else if (e = A(e), t = e.min, n = e.max, !t || !n) return this;
|
|
1018
1018
|
return !this.min && !this.max ? (this.min = t.clone(), this.max = n.clone()) : (this.min.x = Math.min(t.x, this.min.x), this.max.x = Math.max(n.x, this.max.x), this.min.y = Math.min(t.y, this.min.y), this.max.y = Math.max(n.y, this.max.y)), this;
|
|
1019
1019
|
},
|
|
1020
1020
|
getCenter: function(e) {
|
|
1021
|
-
return
|
|
1021
|
+
return O((this.min.x + this.max.x) / 2, (this.min.y + this.max.y) / 2, e);
|
|
1022
1022
|
},
|
|
1023
1023
|
getBottomLeft: function() {
|
|
1024
|
-
return
|
|
1024
|
+
return O(this.min.x, this.max.y);
|
|
1025
1025
|
},
|
|
1026
1026
|
getTopRight: function() {
|
|
1027
|
-
return
|
|
1027
|
+
return O(this.max.x, this.min.y);
|
|
1028
1028
|
},
|
|
1029
1029
|
getTopLeft: function() {
|
|
1030
1030
|
return this.min;
|
|
@@ -1037,15 +1037,15 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1037
1037
|
},
|
|
1038
1038
|
contains: function(e) {
|
|
1039
1039
|
var t, n;
|
|
1040
|
-
return e = typeof e[0] == "number" || e instanceof D ?
|
|
1040
|
+
return e = typeof e[0] == "number" || e instanceof D ? O(e) : A(e), e instanceof k ? (t = e.min, n = e.max) : t = n = e, t.x >= this.min.x && n.x <= this.max.x && t.y >= this.min.y && n.y <= this.max.y;
|
|
1041
1041
|
},
|
|
1042
1042
|
intersects: function(e) {
|
|
1043
|
-
e =
|
|
1043
|
+
e = A(e);
|
|
1044
1044
|
var t = this.min, n = this.max, r = e.min, i = e.max, a = i.x >= t.x && r.x <= n.x, o = i.y >= t.y && r.y <= n.y;
|
|
1045
1045
|
return a && o;
|
|
1046
1046
|
},
|
|
1047
1047
|
overlaps: function(e) {
|
|
1048
|
-
e =
|
|
1048
|
+
e = A(e);
|
|
1049
1049
|
var t = this.min, n = this.max, r = e.min, i = e.max, a = i.x > t.x && r.x < n.x, o = i.y > t.y && r.y < n.y;
|
|
1050
1050
|
return a && o;
|
|
1051
1051
|
},
|
|
@@ -1054,33 +1054,33 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1054
1054
|
},
|
|
1055
1055
|
pad: function(e) {
|
|
1056
1056
|
var t = this.min, n = this.max, r = Math.abs(t.x - n.x) * e, i = Math.abs(t.y - n.y) * e;
|
|
1057
|
-
return
|
|
1057
|
+
return A(O(t.x - r, t.y - i), O(n.x + r, n.y + i));
|
|
1058
1058
|
},
|
|
1059
1059
|
equals: function(e) {
|
|
1060
|
-
return e ? (e =
|
|
1060
|
+
return e ? (e = A(e), this.min.equals(e.getTopLeft()) && this.max.equals(e.getBottomRight())) : !1;
|
|
1061
1061
|
}
|
|
1062
1062
|
};
|
|
1063
|
-
function
|
|
1064
|
-
return !e || e instanceof
|
|
1063
|
+
function A(e, t) {
|
|
1064
|
+
return !e || e instanceof k ? e : new k(e, t);
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function j(e, t) {
|
|
1067
1067
|
if (e) for (var n = t ? [e, t] : e, r = 0, i = n.length; r < i; r++) this.extend(n[r]);
|
|
1068
1068
|
}
|
|
1069
|
-
|
|
1069
|
+
j.prototype = {
|
|
1070
1070
|
extend: function(e) {
|
|
1071
1071
|
var t = this._southWest, n = this._northEast, r, i;
|
|
1072
|
-
if (e instanceof
|
|
1073
|
-
else if (e instanceof
|
|
1072
|
+
if (e instanceof N) r = e, i = e;
|
|
1073
|
+
else if (e instanceof j) {
|
|
1074
1074
|
if (r = e._southWest, i = e._northEast, !r || !i) return this;
|
|
1075
|
-
} else return e ? this.extend(
|
|
1076
|
-
return !t && !n ? (this._southWest = new
|
|
1075
|
+
} else return e ? this.extend(P(e) || M(e)) : this;
|
|
1076
|
+
return !t && !n ? (this._southWest = new N(r.lat, r.lng), this._northEast = new N(i.lat, i.lng)) : (t.lat = Math.min(r.lat, t.lat), t.lng = Math.min(r.lng, t.lng), n.lat = Math.max(i.lat, n.lat), n.lng = Math.max(i.lng, n.lng)), this;
|
|
1077
1077
|
},
|
|
1078
1078
|
pad: function(e) {
|
|
1079
1079
|
var t = this._southWest, n = this._northEast, r = Math.abs(t.lat - n.lat) * e, i = Math.abs(t.lng - n.lng) * e;
|
|
1080
|
-
return new
|
|
1080
|
+
return new j(new N(t.lat - r, t.lng - i), new N(n.lat + r, n.lng + i));
|
|
1081
1081
|
},
|
|
1082
1082
|
getCenter: function() {
|
|
1083
|
-
return new
|
|
1083
|
+
return new N((this._southWest.lat + this._northEast.lat) / 2, (this._southWest.lng + this._northEast.lng) / 2);
|
|
1084
1084
|
},
|
|
1085
1085
|
getSouthWest: function() {
|
|
1086
1086
|
return this._southWest;
|
|
@@ -1089,10 +1089,10 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1089
1089
|
return this._northEast;
|
|
1090
1090
|
},
|
|
1091
1091
|
getNorthWest: function() {
|
|
1092
|
-
return new
|
|
1092
|
+
return new N(this.getNorth(), this.getWest());
|
|
1093
1093
|
},
|
|
1094
1094
|
getSouthEast: function() {
|
|
1095
|
-
return new
|
|
1095
|
+
return new N(this.getSouth(), this.getEast());
|
|
1096
1096
|
},
|
|
1097
1097
|
getWest: function() {
|
|
1098
1098
|
return this._southWest.lng;
|
|
@@ -1107,17 +1107,17 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1107
1107
|
return this._northEast.lat;
|
|
1108
1108
|
},
|
|
1109
1109
|
contains: function(e) {
|
|
1110
|
-
e = typeof e[0] == "number" || e instanceof
|
|
1110
|
+
e = typeof e[0] == "number" || e instanceof N || "lat" in e ? P(e) : M(e);
|
|
1111
1111
|
var t = this._southWest, n = this._northEast, r, i;
|
|
1112
|
-
return e instanceof
|
|
1112
|
+
return e instanceof j ? (r = e.getSouthWest(), i = e.getNorthEast()) : r = i = e, r.lat >= t.lat && i.lat <= n.lat && r.lng >= t.lng && i.lng <= n.lng;
|
|
1113
1113
|
},
|
|
1114
1114
|
intersects: function(e) {
|
|
1115
|
-
e =
|
|
1115
|
+
e = M(e);
|
|
1116
1116
|
var t = this._southWest, n = this._northEast, r = e.getSouthWest(), i = e.getNorthEast(), a = i.lat >= t.lat && r.lat <= n.lat, o = i.lng >= t.lng && r.lng <= n.lng;
|
|
1117
1117
|
return a && o;
|
|
1118
1118
|
},
|
|
1119
1119
|
overlaps: function(e) {
|
|
1120
|
-
e =
|
|
1120
|
+
e = M(e);
|
|
1121
1121
|
var t = this._southWest, n = this._northEast, r = e.getSouthWest(), i = e.getNorthEast(), a = i.lat > t.lat && r.lat < n.lat, o = i.lng > t.lng && r.lng < n.lng;
|
|
1122
1122
|
return a && o;
|
|
1123
1123
|
},
|
|
@@ -1130,44 +1130,44 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1130
1130
|
].join(",");
|
|
1131
1131
|
},
|
|
1132
1132
|
equals: function(e, t) {
|
|
1133
|
-
return e ? (e =
|
|
1133
|
+
return e ? (e = M(e), this._southWest.equals(e.getSouthWest(), t) && this._northEast.equals(e.getNorthEast(), t)) : !1;
|
|
1134
1134
|
},
|
|
1135
1135
|
isValid: function() {
|
|
1136
1136
|
return !!(this._southWest && this._northEast);
|
|
1137
1137
|
}
|
|
1138
1138
|
};
|
|
1139
|
-
function
|
|
1140
|
-
return e instanceof
|
|
1139
|
+
function M(e, t) {
|
|
1140
|
+
return e instanceof j ? e : new j(e, t);
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1142
|
+
function N(e, t, n) {
|
|
1143
1143
|
if (isNaN(e) || isNaN(t)) throw Error("Invalid LatLng object: (" + e + ", " + t + ")");
|
|
1144
1144
|
this.lat = +e, this.lng = +t, n !== void 0 && (this.alt = +n);
|
|
1145
1145
|
}
|
|
1146
|
-
|
|
1146
|
+
N.prototype = {
|
|
1147
1147
|
equals: function(e, t) {
|
|
1148
|
-
return e ? (e =
|
|
1148
|
+
return e ? (e = P(e), Math.max(Math.abs(this.lat - e.lat), Math.abs(this.lng - e.lng)) <= (t === void 0 ? 1e-9 : t)) : !1;
|
|
1149
1149
|
},
|
|
1150
1150
|
toString: function(e) {
|
|
1151
1151
|
return "LatLng(" + u(this.lat, e) + ", " + u(this.lng, e) + ")";
|
|
1152
1152
|
},
|
|
1153
1153
|
distanceTo: function(e) {
|
|
1154
|
-
return
|
|
1154
|
+
return I.distance(this, P(e));
|
|
1155
1155
|
},
|
|
1156
1156
|
wrap: function() {
|
|
1157
|
-
return
|
|
1157
|
+
return I.wrapLatLng(this);
|
|
1158
1158
|
},
|
|
1159
1159
|
toBounds: function(e) {
|
|
1160
1160
|
var t = 180 * e / 40075017, n = t / Math.cos(Math.PI / 180 * this.lat);
|
|
1161
|
-
return
|
|
1161
|
+
return M([this.lat - t, this.lng - n], [this.lat + t, this.lng + n]);
|
|
1162
1162
|
},
|
|
1163
1163
|
clone: function() {
|
|
1164
|
-
return new
|
|
1164
|
+
return new N(this.lat, this.lng, this.alt);
|
|
1165
1165
|
}
|
|
1166
1166
|
};
|
|
1167
|
-
function
|
|
1168
|
-
return e instanceof
|
|
1167
|
+
function P(e, t, n) {
|
|
1168
|
+
return e instanceof N ? e : _(e) && typeof e[0] != "object" ? e.length === 3 ? new N(e[0], e[1], e[2]) : e.length === 2 ? new N(e[0], e[1]) : null : e == null ? e : typeof e == "object" && "lat" in e ? new N(e.lat, "lng" in e ? e.lng : e.lon, e.alt) : t === void 0 ? null : new N(e, t, n);
|
|
1169
1169
|
}
|
|
1170
|
-
var
|
|
1170
|
+
var F = {
|
|
1171
1171
|
latLngToPoint: function(e, t) {
|
|
1172
1172
|
var n = this.projection.project(e), r = this.scale(t);
|
|
1173
1173
|
return this.transformation._transform(n, r);
|
|
@@ -1191,28 +1191,28 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1191
1191
|
getProjectedBounds: function(e) {
|
|
1192
1192
|
if (this.infinite) return null;
|
|
1193
1193
|
var t = this.projection.bounds, n = this.scale(e);
|
|
1194
|
-
return new
|
|
1194
|
+
return new k(this.transformation.transform(t.min, n), this.transformation.transform(t.max, n));
|
|
1195
1195
|
},
|
|
1196
1196
|
infinite: !1,
|
|
1197
1197
|
wrapLatLng: function(e) {
|
|
1198
1198
|
var t = this.wrapLng ? c(e.lng, this.wrapLng, !0) : e.lng, n = this.wrapLat ? c(e.lat, this.wrapLat, !0) : e.lat, r = e.alt;
|
|
1199
|
-
return new
|
|
1199
|
+
return new N(n, t, r);
|
|
1200
1200
|
},
|
|
1201
1201
|
wrapLatLngBounds: function(e) {
|
|
1202
1202
|
var t = e.getCenter(), n = this.wrapLatLng(t), r = t.lat - n.lat, i = t.lng - n.lng;
|
|
1203
1203
|
if (r === 0 && i === 0) return e;
|
|
1204
1204
|
var a = e.getSouthWest(), o = e.getNorthEast();
|
|
1205
|
-
return new
|
|
1205
|
+
return new j(new N(a.lat - r, a.lng - i), new N(o.lat - r, o.lng - i));
|
|
1206
1206
|
}
|
|
1207
|
-
},
|
|
1207
|
+
}, I = n({}, F, {
|
|
1208
1208
|
wrapLng: [-180, 180],
|
|
1209
1209
|
R: 6371e3,
|
|
1210
1210
|
distance: function(e, t) {
|
|
1211
1211
|
var n = Math.PI / 180, r = e.lat * n, i = t.lat * n, a = Math.sin((t.lat - e.lat) * n / 2), o = Math.sin((t.lng - e.lng) * n / 2), s = a * a + Math.cos(r) * Math.cos(i) * o * o, c = 2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s));
|
|
1212
1212
|
return this.R * c;
|
|
1213
1213
|
}
|
|
1214
|
-
}),
|
|
1215
|
-
R
|
|
1214
|
+
}), R = 6378137, oe = {
|
|
1215
|
+
R,
|
|
1216
1216
|
MAX_LATITUDE: 85.0511287798,
|
|
1217
1217
|
project: function(e) {
|
|
1218
1218
|
var t = Math.PI / 180, n = this.MAX_LATITUDE, r = Math.max(Math.min(n, e.lat), -n), i = Math.sin(r * t);
|
|
@@ -1220,21 +1220,21 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1220
1220
|
},
|
|
1221
1221
|
unproject: function(e) {
|
|
1222
1222
|
var t = 180 / Math.PI;
|
|
1223
|
-
return new
|
|
1223
|
+
return new N((2 * Math.atan(Math.exp(e.y / this.R)) - Math.PI / 2) * t, e.x * t / this.R);
|
|
1224
1224
|
},
|
|
1225
1225
|
bounds: (function() {
|
|
1226
|
-
var e =
|
|
1227
|
-
return new
|
|
1226
|
+
var e = R * Math.PI;
|
|
1227
|
+
return new k([-e, -e], [e, e]);
|
|
1228
1228
|
})()
|
|
1229
1229
|
};
|
|
1230
|
-
function
|
|
1230
|
+
function se(e, t, n, r) {
|
|
1231
1231
|
if (_(e)) {
|
|
1232
1232
|
this._a = e[0], this._b = e[1], this._c = e[2], this._d = e[3];
|
|
1233
1233
|
return;
|
|
1234
1234
|
}
|
|
1235
1235
|
this._a = e, this._b = t, this._c = n, this._d = r;
|
|
1236
1236
|
}
|
|
1237
|
-
|
|
1237
|
+
se.prototype = {
|
|
1238
1238
|
transform: function(e, t) {
|
|
1239
1239
|
return this._transform(e.clone(), t);
|
|
1240
1240
|
},
|
|
@@ -1245,21 +1245,21 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1245
1245
|
return t ||= 1, new D((e.x / t - this._b) / this._a, (e.y / t - this._d) / this._c);
|
|
1246
1246
|
}
|
|
1247
1247
|
};
|
|
1248
|
-
function
|
|
1249
|
-
return new
|
|
1248
|
+
function ce(e, t, n, r) {
|
|
1249
|
+
return new se(e, t, n, r);
|
|
1250
1250
|
}
|
|
1251
|
-
var
|
|
1251
|
+
var le = n({}, I, {
|
|
1252
1252
|
code: "EPSG:3857",
|
|
1253
|
-
projection:
|
|
1253
|
+
projection: oe,
|
|
1254
1254
|
transformation: function() {
|
|
1255
|
-
var e = .5 / (Math.PI *
|
|
1256
|
-
return
|
|
1255
|
+
var e = .5 / (Math.PI * oe.R);
|
|
1256
|
+
return ce(e, .5, -e, .5);
|
|
1257
1257
|
}()
|
|
1258
|
-
}),
|
|
1259
|
-
function
|
|
1258
|
+
}), ue = n({}, le, { code: "EPSG:900913" });
|
|
1259
|
+
function de(e) {
|
|
1260
1260
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1262
|
+
function fe(e, t) {
|
|
1263
1263
|
var n = "", r, i, a, o, s, c;
|
|
1264
1264
|
for (r = 0, a = e.length; r < a; r++) {
|
|
1265
1265
|
for (s = e[r], i = 0, o = s.length; i < o; i++) c = s[i], n += (i ? "L" : "M") + c.x + " " + c.y;
|
|
@@ -1267,7 +1267,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1267
1267
|
}
|
|
1268
1268
|
return n || "M0 0";
|
|
1269
1269
|
}
|
|
1270
|
-
var
|
|
1270
|
+
var pe = document.documentElement.style, me = "ActiveXObject" in window, he = me && !document.addEventListener, ge = "msLaunchUri" in navigator && !("documentMode" in document), z = Ke("webkit"), _e = Ke("android"), B = Ke("android 2") || Ke("android 3"), ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ye = _e && Ke("Google") && ve < 537 && !("AudioNode" in window), be = !!window.opera, xe = !ge && Ke("chrome"), Se = Ke("gecko") && !z && !be && !me, Ce = !xe && Ke("safari"), we = Ke("phantom"), Te = "OTransition" in pe, Ee = navigator.platform.indexOf("Win") === 0, V = me && "transition" in pe, De = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !B, Oe = "MozPerspective" in pe, ke = !window.L_DISABLE_3D && (V || De || Oe) && !Te && !we, Ae = typeof orientation < "u" || Ke("mobile"), je = Ae && z, Me = Ae && De, Ne = !window.PointerEvent && window.MSPointerEvent, H = !!(window.PointerEvent || Ne), Pe = "ontouchstart" in window || !!window.TouchEvent, Fe = !window.L_NO_TOUCH && (Pe || H), Ie = Ae && be, Le = Ae && Se, Re = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ze = function() {
|
|
1271
1271
|
var e = !1;
|
|
1272
1272
|
try {
|
|
1273
1273
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1278,7 +1278,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1278
1278
|
return e;
|
|
1279
1279
|
}(), Be = function() {
|
|
1280
1280
|
return !!document.createElement("canvas").getContext;
|
|
1281
|
-
}(), Ve = !!(document.createElementNS &&
|
|
1281
|
+
}(), Ve = !!(document.createElementNS && de("svg").createSVGRect), He = !!Ve && (function() {
|
|
1282
1282
|
var e = document.createElement("div");
|
|
1283
1283
|
return e.innerHTML = "<svg/>", (e.firstChild && e.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1284
1284
|
})(), Ue = !Ve && function() {
|
|
@@ -1295,12 +1295,12 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1295
1295
|
return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
|
|
1296
1296
|
}
|
|
1297
1297
|
var U = {
|
|
1298
|
-
ie:
|
|
1299
|
-
ielt9:
|
|
1300
|
-
edge:
|
|
1301
|
-
webkit:
|
|
1302
|
-
android:
|
|
1303
|
-
android23:
|
|
1298
|
+
ie: me,
|
|
1299
|
+
ielt9: he,
|
|
1300
|
+
edge: ge,
|
|
1301
|
+
webkit: z,
|
|
1302
|
+
android: _e,
|
|
1303
|
+
android23: B,
|
|
1304
1304
|
androidStock: ye,
|
|
1305
1305
|
opera: be,
|
|
1306
1306
|
chrome: xe,
|
|
@@ -1309,15 +1309,15 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1309
1309
|
phantom: we,
|
|
1310
1310
|
opera12: Te,
|
|
1311
1311
|
win: Ee,
|
|
1312
|
-
ie3d:
|
|
1313
|
-
webkit3d:
|
|
1314
|
-
gecko3d:
|
|
1315
|
-
any3d:
|
|
1312
|
+
ie3d: V,
|
|
1313
|
+
webkit3d: De,
|
|
1314
|
+
gecko3d: Oe,
|
|
1315
|
+
any3d: ke,
|
|
1316
1316
|
mobile: Ae,
|
|
1317
1317
|
mobileWebkit: je,
|
|
1318
1318
|
mobileWebkit3d: Me,
|
|
1319
|
-
msPointer:
|
|
1320
|
-
pointer:
|
|
1319
|
+
msPointer: Ne,
|
|
1320
|
+
pointer: H,
|
|
1321
1321
|
touch: Fe,
|
|
1322
1322
|
touchNative: Pe,
|
|
1323
1323
|
mobileOpera: Ie,
|
|
@@ -1707,7 +1707,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1707
1707
|
}
|
|
1708
1708
|
}), Q = E.extend({
|
|
1709
1709
|
options: {
|
|
1710
|
-
crs:
|
|
1710
|
+
crs: le,
|
|
1711
1711
|
center: void 0,
|
|
1712
1712
|
zoom: void 0,
|
|
1713
1713
|
minZoom: void 0,
|
|
@@ -1725,10 +1725,10 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1725
1725
|
trackResize: !0
|
|
1726
1726
|
},
|
|
1727
1727
|
initialize: function(e, t) {
|
|
1728
|
-
t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(
|
|
1728
|
+
t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(P(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = mt && U.any3d && !U.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), Y(this._proxy, ht, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
|
|
1729
1729
|
},
|
|
1730
1730
|
setView: function(e, t, r) {
|
|
1731
|
-
return t = t === void 0 ? this._zoom : this._limitZoom(t), e = this._limitCenter(
|
|
1731
|
+
return t = t === void 0 ? this._zoom : this._limitZoom(t), e = this._limitCenter(P(e), t, this.options.maxBounds), r ||= {}, this._stop(), this._loaded && !r.reset && r !== !0 && (r.animate !== void 0 && (r.zoom = n({ animate: r.animate }, r.zoom), r.pan = n({
|
|
1732
1732
|
animate: r.animate,
|
|
1733
1733
|
duration: r.duration
|
|
1734
1734
|
}, r.pan)), this._zoom === t ? this._tryAnimatedPan(e, r.pan) : this._tryAnimatedZoom && this._tryAnimatedZoom(e, t, r.zoom)) ? (clearTimeout(this._sizeTimer), this) : (this._resetView(e, t, r.pan && r.pan.noMoveStart), this);
|
|
@@ -1747,8 +1747,8 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1747
1747
|
return this.setView(o, t, { zoom: n });
|
|
1748
1748
|
},
|
|
1749
1749
|
_getBoundsCenterZoom: function(e, t) {
|
|
1750
|
-
t ||= {}, e = e.getBounds ? e.getBounds() :
|
|
1751
|
-
var n =
|
|
1750
|
+
t ||= {}, e = e.getBounds ? e.getBounds() : M(e);
|
|
1751
|
+
var n = O(t.paddingTopLeft || t.padding || [0, 0]), r = O(t.paddingBottomRight || t.padding || [0, 0]), i = this.getBoundsZoom(e, !1, n.add(r));
|
|
1752
1752
|
if (i = typeof t.maxZoom == "number" ? Math.min(t.maxZoom, i) : i, i === Infinity) return {
|
|
1753
1753
|
center: e.getCenter(),
|
|
1754
1754
|
zoom: i
|
|
@@ -1760,7 +1760,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1760
1760
|
};
|
|
1761
1761
|
},
|
|
1762
1762
|
fitBounds: function(e, t) {
|
|
1763
|
-
if (e =
|
|
1763
|
+
if (e = M(e), !e.isValid()) throw Error("Bounds are not valid.");
|
|
1764
1764
|
var n = this._getBoundsCenterZoom(e, t);
|
|
1765
1765
|
return this.setView(n.center, n.zoom, t);
|
|
1766
1766
|
},
|
|
@@ -1771,7 +1771,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1771
1771
|
return this.setView(e, this._zoom, { pan: t });
|
|
1772
1772
|
},
|
|
1773
1773
|
panBy: function(e, t) {
|
|
1774
|
-
if (e =
|
|
1774
|
+
if (e = O(e).round(), t ||= {}, !e.x && !e.y) return this.fire("moveend");
|
|
1775
1775
|
if (t.animate !== !0 && !this.getSize().contains(e)) return this._resetView(this.unproject(this.project(this.getCenter()).add(e)), this.getZoom()), this;
|
|
1776
1776
|
if (this._panAnim || (this._panAnim = new rn(), this._panAnim.on({
|
|
1777
1777
|
step: this._onPanTransitionStep,
|
|
@@ -1787,7 +1787,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1787
1787
|
if (n ||= {}, n.animate === !1 || !U.any3d) return this.setView(e, t, n);
|
|
1788
1788
|
this._stop();
|
|
1789
1789
|
var r = this.project(this.getCenter()), i = this.project(e), a = this.getSize(), o = this._zoom;
|
|
1790
|
-
e =
|
|
1790
|
+
e = P(e), t = t === void 0 ? o : t;
|
|
1791
1791
|
var s = Math.max(a.x, a.y), c = s * this.getZoomScale(o, t), l = i.distanceTo(r) || 1, u = 1.42, d = u * u;
|
|
1792
1792
|
function f(e) {
|
|
1793
1793
|
var t = e ? -1 : 1, n = e ? c : s, r = (c * c - s * s + t * d * d * l * l) / (2 * n * d * l), i = Math.sqrt(r * r + 1) - r;
|
|
@@ -1824,7 +1824,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1824
1824
|
return this.flyTo(n.center, n.zoom, t);
|
|
1825
1825
|
},
|
|
1826
1826
|
setMaxBounds: function(e) {
|
|
1827
|
-
return e =
|
|
1827
|
+
return e = M(e), this.listens("moveend", this._panInsideMaxBounds) && this.off("moveend", this._panInsideMaxBounds), e.isValid() ? (this.options.maxBounds = e, this._loaded && this._panInsideMaxBounds(), this.on("moveend", this._panInsideMaxBounds)) : (this.options.maxBounds = null, this);
|
|
1828
1828
|
},
|
|
1829
1829
|
setMinZoom: function(e) {
|
|
1830
1830
|
var t = this.options.minZoom;
|
|
@@ -1836,12 +1836,12 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1836
1836
|
},
|
|
1837
1837
|
panInsideBounds: function(e, t) {
|
|
1838
1838
|
this._enforcingBounds = !0;
|
|
1839
|
-
var n = this.getCenter(), r = this._limitCenter(n, this._zoom,
|
|
1839
|
+
var n = this.getCenter(), r = this._limitCenter(n, this._zoom, M(e));
|
|
1840
1840
|
return n.equals(r) || this.panTo(r, t), this._enforcingBounds = !1, this;
|
|
1841
1841
|
},
|
|
1842
1842
|
panInside: function(e, t) {
|
|
1843
1843
|
t ||= {};
|
|
1844
|
-
var n =
|
|
1844
|
+
var n = O(t.paddingTopLeft || t.padding || [0, 0]), r = O(t.paddingBottomRight || t.padding || [0, 0]), i = this.project(this.getCenter()), a = this.project(e), o = this.getPixelBounds(), s = A([o.min.add(n), o.max.subtract(r)]), c = s.getSize();
|
|
1845
1845
|
if (!s.contains(a)) {
|
|
1846
1846
|
this._enforcingBounds = !0;
|
|
1847
1847
|
var l = a.subtract(s.getCenter()), u = s.extend(a).getSize().subtract(c);
|
|
@@ -1891,7 +1891,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1891
1891
|
},
|
|
1892
1892
|
_handleGeolocationResponse: function(e) {
|
|
1893
1893
|
if (this._container._leaflet_id) {
|
|
1894
|
-
var t = e.coords.latitude, n = e.coords.longitude, r = new
|
|
1894
|
+
var t = e.coords.latitude, n = e.coords.longitude, r = new N(t, n), i = r.toBounds(e.coords.accuracy * 2), a = this._locateOptions;
|
|
1895
1895
|
if (a.setView) {
|
|
1896
1896
|
var o = this.getBoundsZoom(i);
|
|
1897
1897
|
this.setView(r, a.maxZoom ? Math.min(o, a.maxZoom) : o);
|
|
@@ -1933,7 +1933,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1933
1933
|
},
|
|
1934
1934
|
getBounds: function() {
|
|
1935
1935
|
var e = this.getPixelBounds();
|
|
1936
|
-
return new
|
|
1936
|
+
return new j(this.unproject(e.getBottomLeft()), this.unproject(e.getTopRight()));
|
|
1937
1937
|
},
|
|
1938
1938
|
getMinZoom: function() {
|
|
1939
1939
|
return this.options.minZoom === void 0 ? this._layersMinZoom || 0 : this.options.minZoom;
|
|
@@ -1942,8 +1942,8 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1942
1942
|
return this.options.maxZoom === void 0 ? this._layersMaxZoom === void 0 ? Infinity : this._layersMaxZoom : this.options.maxZoom;
|
|
1943
1943
|
},
|
|
1944
1944
|
getBoundsZoom: function(e, t, n) {
|
|
1945
|
-
e =
|
|
1946
|
-
var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l =
|
|
1945
|
+
e = M(e), n = O(n || [0, 0]);
|
|
1946
|
+
var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l = A(this.project(s, r), this.project(o, r)).getSize(), u = U.any3d ? this.options.zoomSnap : 1, d = c.x / l.x, f = c.y / l.y, p = t ? Math.max(d, f) : Math.min(d, f);
|
|
1947
1947
|
return r = this.getScaleZoom(p, r), u && (r = Math.round(r / (u / 100)) * (u / 100), r = t ? Math.ceil(r / u) * u : Math.floor(r / u) * u), Math.max(i, Math.min(a, r));
|
|
1948
1948
|
},
|
|
1949
1949
|
getSize: function() {
|
|
@@ -1951,7 +1951,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1951
1951
|
},
|
|
1952
1952
|
getPixelBounds: function(e, t) {
|
|
1953
1953
|
var n = this._getTopLeftPoint(e, t);
|
|
1954
|
-
return new
|
|
1954
|
+
return new k(n, n.add(this.getSize()));
|
|
1955
1955
|
},
|
|
1956
1956
|
getPixelOrigin: function() {
|
|
1957
1957
|
return this._checkIfLoaded(), this._pixelOrigin;
|
|
@@ -1979,39 +1979,39 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1979
1979
|
return isNaN(r) ? Infinity : r;
|
|
1980
1980
|
},
|
|
1981
1981
|
project: function(e, t) {
|
|
1982
|
-
return t = t === void 0 ? this._zoom : t, this.options.crs.latLngToPoint(
|
|
1982
|
+
return t = t === void 0 ? this._zoom : t, this.options.crs.latLngToPoint(P(e), t);
|
|
1983
1983
|
},
|
|
1984
1984
|
unproject: function(e, t) {
|
|
1985
|
-
return t = t === void 0 ? this._zoom : t, this.options.crs.pointToLatLng(
|
|
1985
|
+
return t = t === void 0 ? this._zoom : t, this.options.crs.pointToLatLng(O(e), t);
|
|
1986
1986
|
},
|
|
1987
1987
|
layerPointToLatLng: function(e) {
|
|
1988
|
-
var t =
|
|
1988
|
+
var t = O(e).add(this.getPixelOrigin());
|
|
1989
1989
|
return this.unproject(t);
|
|
1990
1990
|
},
|
|
1991
1991
|
latLngToLayerPoint: function(e) {
|
|
1992
|
-
return this.project(
|
|
1992
|
+
return this.project(P(e))._round()._subtract(this.getPixelOrigin());
|
|
1993
1993
|
},
|
|
1994
1994
|
wrapLatLng: function(e) {
|
|
1995
|
-
return this.options.crs.wrapLatLng(
|
|
1995
|
+
return this.options.crs.wrapLatLng(P(e));
|
|
1996
1996
|
},
|
|
1997
1997
|
wrapLatLngBounds: function(e) {
|
|
1998
|
-
return this.options.crs.wrapLatLngBounds(
|
|
1998
|
+
return this.options.crs.wrapLatLngBounds(M(e));
|
|
1999
1999
|
},
|
|
2000
2000
|
distance: function(e, t) {
|
|
2001
|
-
return this.options.crs.distance(
|
|
2001
|
+
return this.options.crs.distance(P(e), P(t));
|
|
2002
2002
|
},
|
|
2003
2003
|
containerPointToLayerPoint: function(e) {
|
|
2004
|
-
return
|
|
2004
|
+
return O(e).subtract(this._getMapPanePos());
|
|
2005
2005
|
},
|
|
2006
2006
|
layerPointToContainerPoint: function(e) {
|
|
2007
|
-
return
|
|
2007
|
+
return O(e).add(this._getMapPanePos());
|
|
2008
2008
|
},
|
|
2009
2009
|
containerPointToLatLng: function(e) {
|
|
2010
|
-
var t = this.containerPointToLayerPoint(
|
|
2010
|
+
var t = this.containerPointToLayerPoint(O(e));
|
|
2011
2011
|
return this.layerPointToLatLng(t);
|
|
2012
2012
|
},
|
|
2013
2013
|
latLngToContainerPoint: function(e) {
|
|
2014
|
-
return this.layerPointToContainerPoint(this.latLngToLayerPoint(
|
|
2014
|
+
return this.layerPointToContainerPoint(this.latLngToLayerPoint(P(e)));
|
|
2015
2015
|
},
|
|
2016
2016
|
mouseEventToContainerPoint: function(e) {
|
|
2017
2017
|
return Qt(e, this._container);
|
|
@@ -2168,7 +2168,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2168
2168
|
},
|
|
2169
2169
|
_latLngBoundsToNewLayerBounds: function(e, t, n) {
|
|
2170
2170
|
var r = this._getNewPixelOrigin(n, t);
|
|
2171
|
-
return
|
|
2171
|
+
return A([
|
|
2172
2172
|
this.project(e.getSouthWest(), t)._subtract(r),
|
|
2173
2173
|
this.project(e.getNorthWest(), t)._subtract(r),
|
|
2174
2174
|
this.project(e.getSouthEast(), t)._subtract(r),
|
|
@@ -2183,16 +2183,16 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2183
2183
|
},
|
|
2184
2184
|
_limitCenter: function(e, t, n) {
|
|
2185
2185
|
if (!n) return e;
|
|
2186
|
-
var r = this.project(e, t), i = this.getSize().divideBy(2), a = new
|
|
2186
|
+
var r = this.project(e, t), i = this.getSize().divideBy(2), a = new k(r.subtract(i), r.add(i)), o = this._getBoundsOffset(a, n, t);
|
|
2187
2187
|
return Math.abs(o.x) <= 1 && Math.abs(o.y) <= 1 ? e : this.unproject(r.add(o), t);
|
|
2188
2188
|
},
|
|
2189
2189
|
_limitOffset: function(e, t) {
|
|
2190
2190
|
if (!t) return e;
|
|
2191
|
-
var n = this.getPixelBounds(), r = new
|
|
2191
|
+
var n = this.getPixelBounds(), r = new k(n.min.add(e), n.max.add(e));
|
|
2192
2192
|
return e.add(this._getBoundsOffset(r, t));
|
|
2193
2193
|
},
|
|
2194
2194
|
_getBoundsOffset: function(e, t, n) {
|
|
2195
|
-
var r =
|
|
2195
|
+
var r = A(this.project(t.getNorthEast(), n), this.project(t.getSouthWest(), n)), i = r.min.subtract(e.min), a = r.max.subtract(e.max);
|
|
2196
2196
|
return new D(this._rebound(i.x, -a.x), this._rebound(i.y, -a.y));
|
|
2197
2197
|
},
|
|
2198
2198
|
_rebound: function(e, t) {
|
|
@@ -2641,24 +2641,24 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2641
2641
|
var n, r, i, a, o, s, c, l, u;
|
|
2642
2642
|
if (!e || e.length === 0) throw Error("latlngs not passed");
|
|
2643
2643
|
Pn(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
|
|
2644
|
-
var d =
|
|
2644
|
+
var d = P([0, 0]), f = M(e);
|
|
2645
2645
|
f.getNorthWest().distanceTo(f.getSouthWest()) * f.getNorthEast().distanceTo(f.getNorthWest()) < 1700 && (d = xn(e));
|
|
2646
2646
|
var p = e.length, m = [];
|
|
2647
2647
|
for (n = 0; n < p; n++) {
|
|
2648
|
-
var h =
|
|
2649
|
-
m.push(t.project(
|
|
2648
|
+
var h = P(e[n]);
|
|
2649
|
+
m.push(t.project(P([h.lat - d.lat, h.lng - d.lng])));
|
|
2650
2650
|
}
|
|
2651
2651
|
for (s = c = l = 0, n = 0, r = p - 1; n < p; r = n++) i = m[n], a = m[r], o = i.y * a.x - a.y * i.x, c += (i.x + a.x) * o, l += (i.y + a.y) * o, s += o * 3;
|
|
2652
2652
|
u = s === 0 ? m[0] : [c / s, l / s];
|
|
2653
|
-
var g = t.unproject(
|
|
2654
|
-
return
|
|
2653
|
+
var g = t.unproject(O(u));
|
|
2654
|
+
return P([g.lat + d.lat, g.lng + d.lng]);
|
|
2655
2655
|
}
|
|
2656
2656
|
function xn(e) {
|
|
2657
2657
|
for (var t = 0, n = 0, r = 0, i = 0; i < e.length; i++) {
|
|
2658
|
-
var a =
|
|
2658
|
+
var a = P(e[i]);
|
|
2659
2659
|
t += a.lat, n += a.lng, r++;
|
|
2660
2660
|
}
|
|
2661
|
-
return
|
|
2661
|
+
return P([t / r, n / r]);
|
|
2662
2662
|
}
|
|
2663
2663
|
var Sn = {
|
|
2664
2664
|
__proto__: null,
|
|
@@ -2666,12 +2666,12 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2666
2666
|
polygonCenter: bn,
|
|
2667
2667
|
centroid: xn
|
|
2668
2668
|
};
|
|
2669
|
-
function
|
|
2669
|
+
function Cn(e, t) {
|
|
2670
2670
|
if (!t || !e.length) return e.slice();
|
|
2671
2671
|
var n = t * t;
|
|
2672
2672
|
return e = Dn(e, n), e = Tn(e, n), e;
|
|
2673
2673
|
}
|
|
2674
|
-
function
|
|
2674
|
+
function $(e, t, n) {
|
|
2675
2675
|
return Math.sqrt(Nn(e, t, n, !0));
|
|
2676
2676
|
}
|
|
2677
2677
|
function wn(e, t, n) {
|
|
@@ -2728,12 +2728,12 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2728
2728
|
var n, r, i, a, o, s, c, l;
|
|
2729
2729
|
if (!e || e.length === 0) throw Error("latlngs not passed");
|
|
2730
2730
|
Pn(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
|
|
2731
|
-
var u =
|
|
2731
|
+
var u = P([0, 0]), d = M(e);
|
|
2732
2732
|
d.getNorthWest().distanceTo(d.getSouthWest()) * d.getNorthEast().distanceTo(d.getNorthWest()) < 1700 && (u = xn(e));
|
|
2733
2733
|
var f = e.length, p = [];
|
|
2734
2734
|
for (n = 0; n < f; n++) {
|
|
2735
|
-
var m =
|
|
2736
|
-
p.push(t.project(
|
|
2735
|
+
var m = P(e[n]);
|
|
2736
|
+
p.push(t.project(P([m.lat - u.lat, m.lng - u.lng])));
|
|
2737
2737
|
}
|
|
2738
2738
|
for (n = 0, r = 0; n < f - 1; n++) r += p[n].distanceTo(p[n + 1]) / 2;
|
|
2739
2739
|
if (r === 0) l = p[0];
|
|
@@ -2741,13 +2741,13 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2741
2741
|
c = (a - r) / i, l = [s.x - c * (s.x - o.x), s.y - c * (s.y - o.y)];
|
|
2742
2742
|
break;
|
|
2743
2743
|
}
|
|
2744
|
-
var h = t.unproject(
|
|
2745
|
-
return
|
|
2744
|
+
var h = t.unproject(O(l));
|
|
2745
|
+
return P([h.lat + u.lat, h.lng + u.lng]);
|
|
2746
2746
|
}
|
|
2747
2747
|
var Ln = {
|
|
2748
2748
|
__proto__: null,
|
|
2749
|
-
simplify:
|
|
2750
|
-
pointToSegmentDistance:
|
|
2749
|
+
simplify: Cn,
|
|
2750
|
+
pointToSegmentDistance: $,
|
|
2751
2751
|
closestPointOnSegment: wn,
|
|
2752
2752
|
clipSegment: kn,
|
|
2753
2753
|
_getEdgeIntersection: An,
|
|
@@ -2761,40 +2761,40 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2761
2761
|
return new D(e.lng, e.lat);
|
|
2762
2762
|
},
|
|
2763
2763
|
unproject: function(e) {
|
|
2764
|
-
return new
|
|
2764
|
+
return new N(e.y, e.x);
|
|
2765
2765
|
},
|
|
2766
|
-
bounds: new
|
|
2766
|
+
bounds: new k([-180, -90], [180, 90])
|
|
2767
2767
|
}, zn = {
|
|
2768
2768
|
R: 6378137,
|
|
2769
2769
|
R_MINOR: 6356752.314245179,
|
|
2770
|
-
bounds: new
|
|
2770
|
+
bounds: new k([-20037508.34279, -15496570.73972], [20037508.34279, 18764656.23138]),
|
|
2771
2771
|
project: function(e) {
|
|
2772
2772
|
var t = Math.PI / 180, n = this.R, r = e.lat * t, i = this.R_MINOR / n, a = Math.sqrt(1 - i * i), o = a * Math.sin(r), s = Math.tan(Math.PI / 4 - r / 2) / ((1 - o) / (1 + o)) ** (a / 2);
|
|
2773
2773
|
return r = -n * Math.log(Math.max(s, 1e-10)), new D(e.lng * t * n, r);
|
|
2774
2774
|
},
|
|
2775
2775
|
unproject: function(e) {
|
|
2776
2776
|
for (var t = 180 / Math.PI, n = this.R, r = this.R_MINOR / n, i = Math.sqrt(1 - r * r), a = Math.exp(-e.y / n), o = Math.PI / 2 - 2 * Math.atan(a), s = 0, c = .1, l; s < 15 && Math.abs(c) > 1e-7; s++) l = i * Math.sin(o), l = ((1 - l) / (1 + l)) ** (i / 2), c = Math.PI / 2 - 2 * Math.atan(a * l) - o, o += c;
|
|
2777
|
-
return new
|
|
2777
|
+
return new N(o * t, e.x * t / n);
|
|
2778
2778
|
}
|
|
2779
2779
|
}, Bn = {
|
|
2780
2780
|
__proto__: null,
|
|
2781
2781
|
LonLat: Rn,
|
|
2782
2782
|
Mercator: zn,
|
|
2783
|
-
SphericalMercator:
|
|
2784
|
-
}, Vn = n({},
|
|
2783
|
+
SphericalMercator: oe
|
|
2784
|
+
}, Vn = n({}, I, {
|
|
2785
2785
|
code: "EPSG:3395",
|
|
2786
2786
|
projection: zn,
|
|
2787
2787
|
transformation: function() {
|
|
2788
2788
|
var e = .5 / (Math.PI * zn.R);
|
|
2789
|
-
return
|
|
2789
|
+
return ce(e, .5, -e, .5);
|
|
2790
2790
|
}()
|
|
2791
|
-
}), Hn = n({},
|
|
2791
|
+
}), Hn = n({}, I, {
|
|
2792
2792
|
code: "EPSG:4326",
|
|
2793
2793
|
projection: Rn,
|
|
2794
|
-
transformation:
|
|
2795
|
-
}), Un = n({},
|
|
2794
|
+
transformation: ce(1 / 180, 1, -1 / 180, .5)
|
|
2795
|
+
}), Un = n({}, F, {
|
|
2796
2796
|
projection: Rn,
|
|
2797
|
-
transformation:
|
|
2797
|
+
transformation: ce(1, 0, -1, 0),
|
|
2798
2798
|
scale: function(e) {
|
|
2799
2799
|
return 2 ** e;
|
|
2800
2800
|
},
|
|
@@ -2807,7 +2807,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2807
2807
|
},
|
|
2808
2808
|
infinite: !0
|
|
2809
2809
|
});
|
|
2810
|
-
|
|
2810
|
+
F.Earth = I, F.EPSG3395 = Vn, F.EPSG3857 = le, F.EPSG900913 = ue, F.EPSG4326 = Hn, F.Simple = Un;
|
|
2811
2811
|
var Wn = E.extend({
|
|
2812
2812
|
options: {
|
|
2813
2813
|
pane: "overlayPane",
|
|
@@ -2952,7 +2952,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2952
2952
|
return this.invoke("bringToBack");
|
|
2953
2953
|
},
|
|
2954
2954
|
getBounds: function() {
|
|
2955
|
-
var e = new
|
|
2955
|
+
var e = new j();
|
|
2956
2956
|
for (var t in this._layers) {
|
|
2957
2957
|
var n = this._layers[t];
|
|
2958
2958
|
e.extend(n.getBounds ? n.getBounds() : n.getLatLng());
|
|
@@ -2988,7 +2988,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2988
2988
|
_setIconStyles: function(e, t) {
|
|
2989
2989
|
var n = this.options, r = n[t + "Size"];
|
|
2990
2990
|
typeof r == "number" && (r = [r, r]);
|
|
2991
|
-
var i =
|
|
2991
|
+
var i = O(r), a = O(t === "shadow" && n.shadowAnchor || n.iconAnchor || i && i.divideBy(2, !0));
|
|
2992
2992
|
e.className = "leaflet-marker-" + t + " " + (n.className || ""), a && (e.style.marginLeft = -a.x + "px", e.style.marginTop = -a.y + "px"), i && (e.style.width = i.x + "px", e.style.height = i.y + "px");
|
|
2993
2993
|
},
|
|
2994
2994
|
_createImg: function(e, t) {
|
|
@@ -3053,9 +3053,9 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3053
3053
|
return this._draggable && this._draggable._moved;
|
|
3054
3054
|
},
|
|
3055
3055
|
_adjustPan: function(e) {
|
|
3056
|
-
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ot(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c =
|
|
3056
|
+
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ot(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c = A(o.min._subtract(s).add(i), o.max._subtract(s).subtract(i));
|
|
3057
3057
|
if (!c.contains(a)) {
|
|
3058
|
-
var l =
|
|
3058
|
+
var l = O((Math.max(c.max.x, a.x) - c.max.x) / (o.max.x - c.max.x) - (Math.min(c.min.x, a.x) - c.min.x) / (o.min.x - c.min.x), (Math.max(c.max.y, a.y) - c.max.y) / (o.max.y - c.max.y) - (Math.min(c.min.y, a.y) - c.min.y) / (o.min.y - c.min.y)).multiplyBy(r);
|
|
3059
3059
|
n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), J(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest = x(this._adjustPan.bind(this, e));
|
|
3060
3060
|
}
|
|
3061
3061
|
},
|
|
@@ -3093,7 +3093,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3093
3093
|
autoPanSpeed: 10
|
|
3094
3094
|
},
|
|
3095
3095
|
initialize: function(e, t) {
|
|
3096
|
-
p(this, t), this._latlng =
|
|
3096
|
+
p(this, t), this._latlng = P(e);
|
|
3097
3097
|
},
|
|
3098
3098
|
onAdd: function(e) {
|
|
3099
3099
|
this._zoomAnimated = this._zoomAnimated && e.options.markerZoomAnimation, this._zoomAnimated && e.on("zoomanim", this._animateZoom, this), this._initIcon(), this.update();
|
|
@@ -3112,7 +3112,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3112
3112
|
},
|
|
3113
3113
|
setLatLng: function(e) {
|
|
3114
3114
|
var t = this._latlng;
|
|
3115
|
-
return this._latlng =
|
|
3115
|
+
return this._latlng = P(e), this.update(), this.fire("move", {
|
|
3116
3116
|
oldLatLng: t,
|
|
3117
3117
|
latlng: this._latlng
|
|
3118
3118
|
});
|
|
@@ -3186,7 +3186,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3186
3186
|
_panOnFocus: function() {
|
|
3187
3187
|
var e = this._map;
|
|
3188
3188
|
if (e) {
|
|
3189
|
-
var t = this.options.icon.options, n = t.iconSize ?
|
|
3189
|
+
var t = this.options.icon.options, n = t.iconSize ? O(t.iconSize) : O(0, 0), r = t.iconAnchor ? O(t.iconAnchor) : O(0, 0);
|
|
3190
3190
|
e.panInside(this._latlng, {
|
|
3191
3191
|
paddingTopLeft: r,
|
|
3192
3192
|
paddingBottomRight: n.subtract(r)
|
|
@@ -3256,11 +3256,11 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3256
3256
|
radius: 10
|
|
3257
3257
|
},
|
|
3258
3258
|
initialize: function(e, t) {
|
|
3259
|
-
p(this, t), this._latlng =
|
|
3259
|
+
p(this, t), this._latlng = P(e), this._radius = this.options.radius;
|
|
3260
3260
|
},
|
|
3261
3261
|
setLatLng: function(e) {
|
|
3262
3262
|
var t = this._latlng;
|
|
3263
|
-
return this._latlng =
|
|
3263
|
+
return this._latlng = P(e), this.redraw(), this.fire("move", {
|
|
3264
3264
|
oldLatLng: t,
|
|
3265
3265
|
latlng: this._latlng
|
|
3266
3266
|
});
|
|
@@ -3283,7 +3283,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3283
3283
|
},
|
|
3284
3284
|
_updateBounds: function() {
|
|
3285
3285
|
var e = this._radius, t = this._radiusY || e, n = this._clickTolerance(), r = [e + n, t + n];
|
|
3286
|
-
this._pxBounds = new
|
|
3286
|
+
this._pxBounds = new k(this._point.subtract(r), this._point.add(r));
|
|
3287
3287
|
},
|
|
3288
3288
|
_update: function() {
|
|
3289
3289
|
this._map && this._updatePath();
|
|
@@ -3303,7 +3303,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3303
3303
|
}
|
|
3304
3304
|
var ir = nr.extend({
|
|
3305
3305
|
initialize: function(e, t, r) {
|
|
3306
|
-
if (typeof t == "number" && (t = n({}, r, { radius: t })), p(this, t), this._latlng =
|
|
3306
|
+
if (typeof t == "number" && (t = n({}, r, { radius: t })), p(this, t), this._latlng = P(e), isNaN(this.options.radius)) throw Error("Circle radius cannot be NaN");
|
|
3307
3307
|
this._mRadius = this.options.radius;
|
|
3308
3308
|
},
|
|
3309
3309
|
setRadius: function(e) {
|
|
@@ -3314,13 +3314,13 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3314
3314
|
},
|
|
3315
3315
|
getBounds: function() {
|
|
3316
3316
|
var e = [this._radius, this._radiusY || this._radius];
|
|
3317
|
-
return new
|
|
3317
|
+
return new j(this._map.layerPointToLatLng(this._point.subtract(e)), this._map.layerPointToLatLng(this._point.add(e)));
|
|
3318
3318
|
},
|
|
3319
3319
|
setStyle: tr.prototype.setStyle,
|
|
3320
3320
|
_project: function() {
|
|
3321
3321
|
var e = this._latlng.lng, t = this._latlng.lat, n = this._map, r = n.options.crs;
|
|
3322
|
-
if (r.distance ===
|
|
3323
|
-
var i = Math.PI / 180, a = this._mRadius /
|
|
3322
|
+
if (r.distance === I.distance) {
|
|
3323
|
+
var i = Math.PI / 180, a = this._mRadius / I.R / i, o = n.project([t + a, e]), s = n.project([t - a, e]), c = o.add(s).divideBy(2), l = n.unproject(c).lat, u = Math.acos((Math.cos(a * i) - Math.sin(t * i) * Math.sin(l * i)) / (Math.cos(t * i) * Math.cos(l * i))) / i;
|
|
3324
3324
|
(isNaN(u) || u === 0) && (u = a / Math.cos(Math.PI / 180 * t)), this._point = c.subtract(n.getPixelOrigin()), this._radius = isNaN(u) ? 0 : c.x - n.project([l, e - u]).x, this._radiusY = c.y - o.y;
|
|
3325
3325
|
} else {
|
|
3326
3326
|
var d = r.unproject(r.project(this._latlng).subtract([this._mRadius, 0]));
|
|
@@ -3365,28 +3365,28 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3365
3365
|
return this._bounds;
|
|
3366
3366
|
},
|
|
3367
3367
|
addLatLng: function(e, t) {
|
|
3368
|
-
return t ||= this._defaultShape(), e =
|
|
3368
|
+
return t ||= this._defaultShape(), e = P(e), t.push(e), this._bounds.extend(e), this.redraw();
|
|
3369
3369
|
},
|
|
3370
3370
|
_setLatLngs: function(e) {
|
|
3371
|
-
this._bounds = new
|
|
3371
|
+
this._bounds = new j(), this._latlngs = this._convertLatLngs(e);
|
|
3372
3372
|
},
|
|
3373
3373
|
_defaultShape: function() {
|
|
3374
3374
|
return Pn(this._latlngs) ? this._latlngs : this._latlngs[0];
|
|
3375
3375
|
},
|
|
3376
3376
|
_convertLatLngs: function(e) {
|
|
3377
|
-
for (var t = [], n = Pn(e), r = 0, i = e.length; r < i; r++) n ? (t[r] =
|
|
3377
|
+
for (var t = [], n = Pn(e), r = 0, i = e.length; r < i; r++) n ? (t[r] = P(e[r]), this._bounds.extend(t[r])) : t[r] = this._convertLatLngs(e[r]);
|
|
3378
3378
|
return t;
|
|
3379
3379
|
},
|
|
3380
3380
|
_project: function() {
|
|
3381
|
-
var e = new
|
|
3381
|
+
var e = new k();
|
|
3382
3382
|
this._rings = [], this._projectLatlngs(this._latlngs, this._rings, e), this._bounds.isValid() && e.isValid() && (this._rawPxBounds = e, this._updateBounds());
|
|
3383
3383
|
},
|
|
3384
3384
|
_updateBounds: function() {
|
|
3385
3385
|
var e = this._clickTolerance(), t = new D(e, e);
|
|
3386
|
-
this._rawPxBounds && (this._pxBounds = new
|
|
3386
|
+
this._rawPxBounds && (this._pxBounds = new k([this._rawPxBounds.min.subtract(t), this._rawPxBounds.max.add(t)]));
|
|
3387
3387
|
},
|
|
3388
3388
|
_projectLatlngs: function(e, t, n) {
|
|
3389
|
-
var r = e[0] instanceof
|
|
3389
|
+
var r = e[0] instanceof N, i = e.length, a, o;
|
|
3390
3390
|
if (r) {
|
|
3391
3391
|
for (o = [], a = 0; a < i; a++) o[a] = this._map.latLngToLayerPoint(e[a]), n.extend(o[a]);
|
|
3392
3392
|
t.push(o);
|
|
@@ -3404,7 +3404,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3404
3404
|
}
|
|
3405
3405
|
},
|
|
3406
3406
|
_simplifyPoints: function() {
|
|
3407
|
-
for (var e = this._parts, t = this.options.smoothFactor, n = 0, r = e.length; n < r; n++) e[n] =
|
|
3407
|
+
for (var e = this._parts, t = this.options.smoothFactor, n = 0, r = e.length; n < r; n++) e[n] = Cn(e[n], t);
|
|
3408
3408
|
},
|
|
3409
3409
|
_update: function() {
|
|
3410
3410
|
this._map && (this._clipPoints(), this._simplifyPoints(), this._updatePath());
|
|
@@ -3415,7 +3415,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3415
3415
|
_containsPoint: function(e, t) {
|
|
3416
3416
|
var n, r, i, a, o, s, c = this._clickTolerance();
|
|
3417
3417
|
if (!this._pxBounds || !this._pxBounds.contains(e)) return !1;
|
|
3418
|
-
for (n = 0, a = this._parts.length; n < a; n++) for (s = this._parts[n], r = 0, o = s.length, i = o - 1; r < o; i = r++) if (!(!t && r === 0) &&
|
|
3418
|
+
for (n = 0, a = this._parts.length; n < a; n++) for (s = this._parts[n], r = 0, o = s.length, i = o - 1; r < o; i = r++) if (!(!t && r === 0) && $(e, s[i], s[r]) <= c) return !0;
|
|
3419
3419
|
return !1;
|
|
3420
3420
|
}
|
|
3421
3421
|
});
|
|
@@ -3434,7 +3434,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3434
3434
|
},
|
|
3435
3435
|
_convertLatLngs: function(e) {
|
|
3436
3436
|
var t = or.prototype._convertLatLngs.call(this, e), n = t.length;
|
|
3437
|
-
return n >= 2 && t[0] instanceof
|
|
3437
|
+
return n >= 2 && t[0] instanceof N && t[0].equals(t[n - 1]) && t.pop(), t;
|
|
3438
3438
|
},
|
|
3439
3439
|
_setLatLngs: function(e) {
|
|
3440
3440
|
or.prototype._setLatLngs.call(this, e), Pn(this._latlngs) && (this._latlngs = [this._latlngs]);
|
|
@@ -3444,7 +3444,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3444
3444
|
},
|
|
3445
3445
|
_clipPoints: function() {
|
|
3446
3446
|
var e = this._renderer._bounds, t = this.options.weight, n = new D(t, t);
|
|
3447
|
-
if (e = new
|
|
3447
|
+
if (e = new k(e.min.subtract(n), e.max.add(n)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(e))) {
|
|
3448
3448
|
if (this.options.noClip) {
|
|
3449
3449
|
this._parts = this._rings;
|
|
3450
3450
|
return;
|
|
@@ -3527,14 +3527,14 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3527
3527
|
return e ? e(t, n) : new $n(n, r && r.markersInheritOptions && r);
|
|
3528
3528
|
}
|
|
3529
3529
|
function pr(e) {
|
|
3530
|
-
return new
|
|
3530
|
+
return new N(e[1], e[0], e[2]);
|
|
3531
3531
|
}
|
|
3532
3532
|
function mr(e, t, n) {
|
|
3533
3533
|
for (var r = [], i = 0, a = e.length, o; i < a; i++) o = t ? mr(e[i], t - 1, n) : (n || pr)(e[i]), r.push(o);
|
|
3534
3534
|
return r;
|
|
3535
3535
|
}
|
|
3536
3536
|
function hr(e, t) {
|
|
3537
|
-
return e =
|
|
3537
|
+
return e = P(e), e.alt === void 0 ? [u(e.lng, t), u(e.lat, t)] : [
|
|
3538
3538
|
u(e.lng, t),
|
|
3539
3539
|
u(e.lat, t),
|
|
3540
3540
|
u(e.alt, t)
|
|
@@ -3618,7 +3618,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3618
3618
|
className: ""
|
|
3619
3619
|
},
|
|
3620
3620
|
initialize: function(e, t, n) {
|
|
3621
|
-
this._url = e, this._bounds =
|
|
3621
|
+
this._url = e, this._bounds = M(t), p(this, n);
|
|
3622
3622
|
},
|
|
3623
3623
|
onAdd: function() {
|
|
3624
3624
|
this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (K(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
|
|
@@ -3642,7 +3642,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3642
3642
|
return this._url = e, this._image && (this._image.src = e), this;
|
|
3643
3643
|
},
|
|
3644
3644
|
setBounds: function(e) {
|
|
3645
|
-
return this._bounds =
|
|
3645
|
+
return this._bounds = M(e), this._map && this._reset(), this;
|
|
3646
3646
|
},
|
|
3647
3647
|
getEvents: function() {
|
|
3648
3648
|
var e = {
|
|
@@ -3673,7 +3673,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3673
3673
|
Dt(this._image, n, t);
|
|
3674
3674
|
},
|
|
3675
3675
|
_reset: function() {
|
|
3676
|
-
var e = this._image, t = new
|
|
3676
|
+
var e = this._image, t = new k(this._map.latLngToLayerPoint(this._bounds.getNorthWest()), this._map.latLngToLayerPoint(this._bounds.getSouthEast())), n = t.getSize();
|
|
3677
3677
|
J(e, t.min), e.style.width = n.x + "px", e.style.height = n.y + "px";
|
|
3678
3678
|
},
|
|
3679
3679
|
_updateOpacity: function() {
|
|
@@ -3733,7 +3733,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3733
3733
|
content: ""
|
|
3734
3734
|
},
|
|
3735
3735
|
initialize: function(e, t) {
|
|
3736
|
-
e && (e instanceof
|
|
3736
|
+
e && (e instanceof N || _(e)) ? (this._latlng = P(e), p(this, t)) : (p(this, e), this._source = t), this.options.content && (this._content = this.options.content);
|
|
3737
3737
|
},
|
|
3738
3738
|
openOn: function(e) {
|
|
3739
3739
|
return e = arguments.length ? e : this._source._map, e.hasLayer(this) || e.addLayer(this), this;
|
|
@@ -3754,7 +3754,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3754
3754
|
return this._latlng;
|
|
3755
3755
|
},
|
|
3756
3756
|
setLatLng: function(e) {
|
|
3757
|
-
return this._latlng =
|
|
3757
|
+
return this._latlng = P(e), this._map && (this._updatePosition(), this._adjustPan()), this;
|
|
3758
3758
|
},
|
|
3759
3759
|
getContent: function() {
|
|
3760
3760
|
return this._content;
|
|
@@ -3818,7 +3818,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3818
3818
|
},
|
|
3819
3819
|
_updatePosition: function() {
|
|
3820
3820
|
if (this._map) {
|
|
3821
|
-
var e = this._map.latLngToLayerPoint(this._latlng), t =
|
|
3821
|
+
var e = this._map.latLngToLayerPoint(this._latlng), t = O(this.options.offset), n = this._getAnchor();
|
|
3822
3822
|
this._zoomAnimated ? J(this._container, e.add(n)) : t = t.add(e).add(n);
|
|
3823
3823
|
var r = this._containerBottom = -t.y, i = this._containerLeft = -Math.round(this._containerWidth / 2) + t.x;
|
|
3824
3824
|
this._container.style.bottom = r + "px", this._container.style.left = i + "px";
|
|
@@ -3894,12 +3894,12 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3894
3894
|
}
|
|
3895
3895
|
var e = this._map, t = parseInt(_t(this._container, "marginBottom"), 10) || 0, n = this._container.offsetHeight + t, r = this._containerWidth, i = new D(this._containerLeft, -n - this._containerBottom);
|
|
3896
3896
|
i._add(Ot(this._container));
|
|
3897
|
-
var a = e.layerPointToContainerPoint(i), o =
|
|
3897
|
+
var a = e.layerPointToContainerPoint(i), o = O(this.options.autoPanPadding), s = O(this.options.autoPanPaddingTopLeft || o), c = O(this.options.autoPanPaddingBottomRight || o), l = e.getSize(), u = 0, d = 0;
|
|
3898
3898
|
a.x + r + c.x > l.x && (u = a.x + r - l.x + c.x), a.x - u - s.x < 0 && (u = a.x - s.x), a.y + n + c.y > l.y && (d = a.y + n - l.y + c.y), a.y - d - s.y < 0 && (d = a.y - s.y), (u || d) && (this.options.keepInView && (this._autopanning = !0), e.fire("autopanstart").panBy([u, d]));
|
|
3899
3899
|
}
|
|
3900
3900
|
},
|
|
3901
3901
|
_getAnchor: function() {
|
|
3902
|
-
return
|
|
3902
|
+
return O(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
|
|
3903
3903
|
}
|
|
3904
3904
|
}), Ar = function(e, t) {
|
|
3905
3905
|
return new kr(e, t);
|
|
@@ -3990,8 +3990,8 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3990
3990
|
_updateLayout: function() {},
|
|
3991
3991
|
_adjustPan: function() {},
|
|
3992
3992
|
_setPosition: function(e) {
|
|
3993
|
-
var t, n, r = this._map, i = this._container, a = r.latLngToContainerPoint(r.getCenter()), o = r.layerPointToContainerPoint(e), s = this.options.direction, c = i.offsetWidth, l = i.offsetHeight, u =
|
|
3994
|
-
s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(
|
|
3993
|
+
var t, n, r = this._map, i = this._container, a = r.latLngToContainerPoint(r.getCenter()), o = r.layerPointToContainerPoint(e), s = this.options.direction, c = i.offsetWidth, l = i.offsetHeight, u = O(this.options.offset), d = this._getAnchor();
|
|
3994
|
+
s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(O(t, n, !0)).add(u).add(d), q(i, "leaflet-tooltip-right"), q(i, "leaflet-tooltip-left"), q(i, "leaflet-tooltip-top"), q(i, "leaflet-tooltip-bottom"), K(i, "leaflet-tooltip-" + s), J(i, e);
|
|
3995
3995
|
},
|
|
3996
3996
|
_updatePosition: function() {
|
|
3997
3997
|
var e = this._map.latLngToLayerPoint(this._latlng);
|
|
@@ -4005,7 +4005,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4005
4005
|
this._setPosition(t);
|
|
4006
4006
|
},
|
|
4007
4007
|
_getAnchor: function() {
|
|
4008
|
-
return
|
|
4008
|
+
return O(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
|
|
4009
4009
|
}
|
|
4010
4010
|
}), Mr = function(e, t) {
|
|
4011
4011
|
return new jr(e, t);
|
|
@@ -4092,7 +4092,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4092
4092
|
createIcon: function(e) {
|
|
4093
4093
|
var t = e && e.tagName === "DIV" ? e : document.createElement("div"), n = this.options;
|
|
4094
4094
|
if (n.html instanceof Element ? (vt(t), t.appendChild(n.html)) : t.innerHTML = n.html === !1 ? "" : n.html, n.bgPos) {
|
|
4095
|
-
var r =
|
|
4095
|
+
var r = O(n.bgPos);
|
|
4096
4096
|
t.style.backgroundPosition = -r.x + "px " + -r.y + "px";
|
|
4097
4097
|
}
|
|
4098
4098
|
return this._setIconStyles(t, "icon"), t;
|
|
@@ -4289,14 +4289,14 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4289
4289
|
},
|
|
4290
4290
|
_getTiledPixelBounds: function(e) {
|
|
4291
4291
|
var t = this._map, n = t._animatingZoom ? Math.max(t._animateToZoom, t.getZoom()) : t.getZoom(), r = t.getZoomScale(n, this._tileZoom), i = t.project(e, this._tileZoom).floor(), a = t.getSize().divideBy(r * 2);
|
|
4292
|
-
return new
|
|
4292
|
+
return new k(i.subtract(a), i.add(a));
|
|
4293
4293
|
},
|
|
4294
4294
|
_update: function(e) {
|
|
4295
4295
|
var t = this._map;
|
|
4296
4296
|
if (t) {
|
|
4297
4297
|
var n = this._clampZoom(t.getZoom());
|
|
4298
4298
|
if (e === void 0 && (e = t.getCenter()), this._tileZoom !== void 0) {
|
|
4299
|
-
var r = this._getTiledPixelBounds(e), i = this._pxBoundsToTileRange(r), a = i.getCenter(), o = [], s = this.options.keepBuffer, c = new
|
|
4299
|
+
var r = this._getTiledPixelBounds(e), i = this._pxBoundsToTileRange(r), a = i.getCenter(), o = [], s = this.options.keepBuffer, c = new k(i.getBottomLeft().subtract([s, -s]), i.getTopRight().add([s, -s]));
|
|
4300
4300
|
if (!(isFinite(i.min.x) && isFinite(i.min.y) && isFinite(i.max.x) && isFinite(i.max.y))) throw Error("Attempted to load an infinite number of tiles");
|
|
4301
4301
|
for (var l in this._tiles) {
|
|
4302
4302
|
var u = this._tiles[l].coords;
|
|
@@ -4332,7 +4332,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4332
4332
|
}
|
|
4333
4333
|
if (!this.options.bounds) return !0;
|
|
4334
4334
|
var r = this._tileCoordsToBounds(e);
|
|
4335
|
-
return
|
|
4335
|
+
return M(this.options.bounds).overlaps(r);
|
|
4336
4336
|
},
|
|
4337
4337
|
_keyToBounds: function(e) {
|
|
4338
4338
|
return this._tileCoordsToBounds(this._keyToTileCoords(e));
|
|
@@ -4342,7 +4342,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4342
4342
|
return [t.unproject(r, e.z), t.unproject(i, e.z)];
|
|
4343
4343
|
},
|
|
4344
4344
|
_tileCoordsToBounds: function(e) {
|
|
4345
|
-
var t = this._tileCoordsToNwSe(e), n = new
|
|
4345
|
+
var t = this._tileCoordsToNwSe(e), n = new j(t[0], t[1]);
|
|
4346
4346
|
return this.options.noWrap || (n = this._map.wrapLatLngBounds(n)), n;
|
|
4347
4347
|
},
|
|
4348
4348
|
_tileCoordsToKey: function(e) {
|
|
@@ -4396,7 +4396,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4396
4396
|
},
|
|
4397
4397
|
_pxBoundsToTileRange: function(e) {
|
|
4398
4398
|
var t = this.getTileSize();
|
|
4399
|
-
return new
|
|
4399
|
+
return new k(e.min.unscaleBy(t).floor(), e.max.unscaleBy(t).ceil().subtract([1, 1]));
|
|
4400
4400
|
},
|
|
4401
4401
|
_noTilesToLoad: function() {
|
|
4402
4402
|
for (var e in this._tiles) if (!this._tiles[e].loaded) return !1;
|
|
@@ -4511,7 +4511,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4511
4511
|
this.wmsParams[t] = this._crs.code, Lr.prototype.onAdd.call(this, e);
|
|
4512
4512
|
},
|
|
4513
4513
|
getTileUrl: function(e) {
|
|
4514
|
-
var t = this._tileCoordsToNwSe(e), n = this._crs, r =
|
|
4514
|
+
var t = this._tileCoordsToNwSe(e), n = this._crs, r = A(n.project(t[0]), n.project(t[1])), i = r.min, a = r.max, o = (this._wmsVersion >= 1.3 && this._crs === Hn ? [
|
|
4515
4515
|
i.y,
|
|
4516
4516
|
i.x,
|
|
4517
4517
|
a.y,
|
|
@@ -4573,7 +4573,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4573
4573
|
},
|
|
4574
4574
|
_update: function() {
|
|
4575
4575
|
var e = this.options.padding, t = this._map.getSize(), n = this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();
|
|
4576
|
-
this._bounds = new
|
|
4576
|
+
this._bounds = new k(n, n.add(t.multiplyBy(1 + e * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
|
|
4577
4577
|
}
|
|
4578
4578
|
}), Hr = Vr.extend({
|
|
4579
4579
|
options: { tolerance: 0 },
|
|
@@ -4649,7 +4649,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4649
4649
|
_extendRedrawBounds: function(e) {
|
|
4650
4650
|
if (e._pxBounds) {
|
|
4651
4651
|
var t = (e.options.weight || 0) + 1;
|
|
4652
|
-
this._redrawBounds = this._redrawBounds || new
|
|
4652
|
+
this._redrawBounds = this._redrawBounds || new k(), this._redrawBounds.extend(e._pxBounds.min.subtract([t, t])), this._redrawBounds.extend(e._pxBounds.max.add([t, t]));
|
|
4653
4653
|
}
|
|
4654
4654
|
},
|
|
4655
4655
|
_redraw: function() {
|
|
@@ -4786,7 +4786,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4786
4786
|
_bringToBack: function(e) {
|
|
4787
4787
|
bt(e._container);
|
|
4788
4788
|
}
|
|
4789
|
-
}, Kr = U.vml ? Wr :
|
|
4789
|
+
}, Kr = U.vml ? Wr : de, qr = Vr.extend({
|
|
4790
4790
|
_initContainer: function() {
|
|
4791
4791
|
this._container = Kr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Kr("g"), this._container.appendChild(this._rootGroup);
|
|
4792
4792
|
},
|
|
@@ -4823,7 +4823,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4823
4823
|
t && (n.stroke ? (t.setAttribute("stroke", n.color), t.setAttribute("stroke-opacity", n.opacity), t.setAttribute("stroke-width", n.weight), t.setAttribute("stroke-linecap", n.lineCap), t.setAttribute("stroke-linejoin", n.lineJoin), n.dashArray ? t.setAttribute("stroke-dasharray", n.dashArray) : t.removeAttribute("stroke-dasharray"), n.dashOffset ? t.setAttribute("stroke-dashoffset", n.dashOffset) : t.removeAttribute("stroke-dashoffset")) : t.setAttribute("stroke", "none"), n.fill ? (t.setAttribute("fill", n.fillColor || n.color), t.setAttribute("fill-opacity", n.fillOpacity), t.setAttribute("fill-rule", n.fillRule || "evenodd")) : t.setAttribute("fill", "none"));
|
|
4824
4824
|
},
|
|
4825
4825
|
_updatePoly: function(e, t) {
|
|
4826
|
-
this._setPath(e,
|
|
4826
|
+
this._setPath(e, fe(e._parts, t));
|
|
4827
4827
|
},
|
|
4828
4828
|
_updateCircle: function(e) {
|
|
4829
4829
|
var t = e._point, n = Math.max(Math.round(e._radius), 1), r = Math.max(Math.round(e._radiusY), 1) || n, i = "a" + n + "," + r + " 0 1,0 ", a = e._empty() ? "M0 0" : "M" + (t.x - n) + "," + t.y + i + n * 2 + ",0 " + i + -n * 2 + ",0 ";
|
|
@@ -4865,7 +4865,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4865
4865
|
return this.setLatLngs(this._boundsToLatLngs(e));
|
|
4866
4866
|
},
|
|
4867
4867
|
_boundsToLatLngs: function(e) {
|
|
4868
|
-
return e =
|
|
4868
|
+
return e = M(e), [
|
|
4869
4869
|
e.getSouthWest(),
|
|
4870
4870
|
e.getNorthWest(),
|
|
4871
4871
|
e.getNorthEast(),
|
|
@@ -4876,7 +4876,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4876
4876
|
function Xr(e, t) {
|
|
4877
4877
|
return new Yr(e, t);
|
|
4878
4878
|
}
|
|
4879
|
-
qr.create = Kr, qr.pointsToPath =
|
|
4879
|
+
qr.create = Kr, qr.pointsToPath = fe, ur.geometryToLayer = dr, ur.coordsToLatLng = pr, ur.coordsToLatLngs = mr, ur.latLngToCoords = hr, ur.latLngsToCoords = gr, ur.getFeature = _r, ur.asFeature = vr, Q.mergeOptions({ boxZoom: !0 });
|
|
4880
4880
|
var Zr = hn.extend({
|
|
4881
4881
|
initialize: function(e) {
|
|
4882
4882
|
this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
|
|
@@ -4910,7 +4910,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4910
4910
|
},
|
|
4911
4911
|
_onMouseMove: function(e) {
|
|
4912
4912
|
this._moved || (this._moved = !0, this._box = W("div", "leaflet-zoom-box", this._container), K(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(e);
|
|
4913
|
-
var t = new
|
|
4913
|
+
var t = new k(this._point, this._startPoint), n = t.getSize();
|
|
4914
4914
|
J(this._box, t.min), this._box.style.width = n.x + "px", this._box.style.height = n.y + "px";
|
|
4915
4915
|
},
|
|
4916
4916
|
_finish: function() {
|
|
@@ -4924,7 +4924,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4924
4924
|
_onMouseUp: function(e) {
|
|
4925
4925
|
if ((e.which === 1 || e.button === 1) && (this._finish(), this._moved)) {
|
|
4926
4926
|
this._clearDeferredResetState(), this._resetStateTimeout = setTimeout(i(this._resetState, this), 0);
|
|
4927
|
-
var t = new
|
|
4927
|
+
var t = new j(this._map.containerPointToLatLng(this._startPoint), this._map.containerPointToLatLng(this._point));
|
|
4928
4928
|
this._map.fitBounds(t).fire("boxzoomend", { boxZoomBounds: t });
|
|
4929
4929
|
}
|
|
4930
4930
|
},
|
|
@@ -4978,8 +4978,8 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4978
4978
|
_onDragStart: function() {
|
|
4979
4979
|
var e = this._map;
|
|
4980
4980
|
if (e._stop(), this._map.options.maxBounds && this._map.options.maxBoundsViscosity) {
|
|
4981
|
-
var t =
|
|
4982
|
-
this._offsetLimit =
|
|
4981
|
+
var t = M(this._map.options.maxBounds);
|
|
4982
|
+
this._offsetLimit = A(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1), this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())), this._viscosity = Math.min(1, Math.max(0, this._map.options.maxBoundsViscosity));
|
|
4983
4983
|
} else this._offsetLimit = null;
|
|
4984
4984
|
e.fire("movestart").fire("dragstart"), e.options.inertia && (this._positions = [], this._times = []);
|
|
4985
4985
|
},
|
|
@@ -5109,7 +5109,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5109
5109
|
var t = e.keyCode, n = this._map, r;
|
|
5110
5110
|
if (t in this._panKeys) {
|
|
5111
5111
|
if (!n._panAnim || !n._panAnim._inProgress) {
|
|
5112
|
-
if (r = this._panKeys[t], e.shiftKey && (r =
|
|
5112
|
+
if (r = this._panKeys[t], e.shiftKey && (r = O(r).multiplyBy(3)), n.options.maxBounds && (r = n._limitOffset(O(r), n.options.maxBounds)), n.options.worldCopyJump) {
|
|
5113
5113
|
var i = n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(r)));
|
|
5114
5114
|
n.panTo(i);
|
|
5115
5115
|
} else n.panBy(r);
|
|
@@ -5237,7 +5237,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5237
5237
|
this._zooming = !1, S(this._animRequest), X(document, "touchmove", this._onTouchMove, this), X(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
5238
5238
|
}
|
|
5239
5239
|
});
|
|
5240
|
-
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds =
|
|
5240
|
+
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = k, e.Browser = U, e.CRS = F, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = ie, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = E, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = hn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = gn, e.Path = tr, e.Point = D, e.PolyUtil = Sn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = se, e.Util = C, e.VideoOverlay = wr, e.bind = i, e.bounds = A, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = sn, e.divIcon = Pr, e.extend = n, e.featureGroup = Jn, e.geoJSON = br, e.geoJson = xr, e.gridLayer = Ir, e.icon = Xn, e.imageOverlay = Cr, e.latLng = P, e.latLngBounds = M, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = O, e.polygon = lr, e.polyline = sr, e.popup = Ar, e.rectangle = Xr, e.setOptions = p, e.stamp = o, e.svg = Jr, e.svgOverlay = Dr, e.tileLayer = Rr, e.tooltip = Mr, e.transformation = ce, e.version = t, e.videoOverlay = Tr;
|
|
5241
5241
|
var ai = window.L;
|
|
5242
5242
|
e.noConflict = function() {
|
|
5243
5243
|
return window.L = ai, this;
|
|
@@ -5984,7 +5984,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5984
5984
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5985
5985
|
});
|
|
5986
5986
|
})))();
|
|
5987
|
-
var
|
|
5987
|
+
var rn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", Q = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
5988
5988
|
__name: "Map",
|
|
5989
5989
|
props: {
|
|
5990
5990
|
modelValue: {},
|
|
@@ -5992,13 +5992,13 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
5992
5992
|
},
|
|
5993
5993
|
emits: ["update:modelValue", "callback"],
|
|
5994
5994
|
setup(e, { emit: t }) {
|
|
5995
|
-
let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(
|
|
5996
|
-
iconUrl:
|
|
5995
|
+
let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(ge()), s = nn.default.Util.extend(nn.default.CRS.Simple, { transformation: new nn.default.Transformation(1, 0, 1, 0) }), c = I(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = nn.default.icon({
|
|
5996
|
+
iconUrl: rn,
|
|
5997
5997
|
iconSize: [32, 37],
|
|
5998
5998
|
iconAnchor: [16, 37]
|
|
5999
5999
|
});
|
|
6000
6000
|
function p() {
|
|
6001
|
-
let e =
|
|
6001
|
+
let e = nn.default.map(c.value, {
|
|
6002
6002
|
attributionControl: !1,
|
|
6003
6003
|
zoomControl: !0,
|
|
6004
6004
|
smoothWheelZoom: !0,
|
|
@@ -6009,10 +6009,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6009
6009
|
maxZoom: 1,
|
|
6010
6010
|
crs: s
|
|
6011
6011
|
}), t = [[0, 0], [u.value, d.value]];
|
|
6012
|
-
|
|
6013
|
-
let n =
|
|
6012
|
+
nn.default.imageOverlay(l.value, t).addTo(e);
|
|
6013
|
+
let n = nn.default.markerClusterGroup({ showCoverageOnHover: !1 }), i = new nn.default.LatLngBounds(g.value.map(({ y: e, x: t }) => [e, t]));
|
|
6014
6014
|
g.value.forEach(({ y: e, x: t, name: i, id: a }) => {
|
|
6015
|
-
n.addLayer(
|
|
6015
|
+
n.addLayer(nn.default.marker([e, t], {
|
|
6016
6016
|
icon: f,
|
|
6017
6017
|
title: i,
|
|
6018
6018
|
alt: i,
|
|
@@ -6026,7 +6026,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6026
6026
|
});
|
|
6027
6027
|
});
|
|
6028
6028
|
}
|
|
6029
|
-
let { stop: m } =
|
|
6029
|
+
let { stop: m } = N(c, ([{ isIntersecting: e }]) => {
|
|
6030
6030
|
e && (m(), p());
|
|
6031
6031
|
}), h = n({
|
|
6032
6032
|
get: () => a.modelValue,
|
|
@@ -6049,10 +6049,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6049
6049
|
class: "konnectio-leaflet-map"
|
|
6050
6050
|
}, null, 512)).cacheIndex = 0, D(1), t[0]);
|
|
6051
6051
|
}
|
|
6052
|
-
}), [["__scopeId", "data-v-c36a3ba7"]]),
|
|
6052
|
+
}), [["__scopeId", "data-v-c36a3ba7"]]), an = { style: {
|
|
6053
6053
|
height: "100%",
|
|
6054
6054
|
width: "100%"
|
|
6055
|
-
} },
|
|
6055
|
+
} }, on = /* @__PURE__ */ R({
|
|
6056
6056
|
__name: "MapSelector",
|
|
6057
6057
|
props: {
|
|
6058
6058
|
roomList: {},
|
|
@@ -6061,7 +6061,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6061
6061
|
},
|
|
6062
6062
|
emits: ["update:config"],
|
|
6063
6063
|
setup(e, { emit: t }) {
|
|
6064
|
-
let { t: i } = v(), a =
|
|
6064
|
+
let { t: i } = v(), a = I(NaN), o = n(() => !isNaN(a.value)), s = e, c = t;
|
|
6065
6065
|
function d() {
|
|
6066
6066
|
o.value && (c("update:config", {
|
|
6067
6067
|
...s.config,
|
|
@@ -6069,8 +6069,8 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6069
6069
|
roomId: a.value
|
|
6070
6070
|
}), s.callback());
|
|
6071
6071
|
}
|
|
6072
|
-
return (t, n) => (b(), u(
|
|
6073
|
-
default: S(() => [T("div",
|
|
6072
|
+
return (t, n) => (b(), u(Be, { title: r(i)("hotel.selectRoomOnMapTitle") }, {
|
|
6073
|
+
default: S(() => [T("div", an, [l(Q, {
|
|
6074
6074
|
modelValue: a.value,
|
|
6075
6075
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
6076
6076
|
rooms: e.roomList,
|
|
@@ -6079,19 +6079,19 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6079
6079
|
_: 1
|
|
6080
6080
|
}, 8, ["title"]));
|
|
6081
6081
|
}
|
|
6082
|
-
}),
|
|
6082
|
+
}), sn = {
|
|
6083
6083
|
key: 0,
|
|
6084
6084
|
class: "konnectio-hotel-select-rate"
|
|
6085
|
-
},
|
|
6085
|
+
}, cn = {
|
|
6086
6086
|
key: 0,
|
|
6087
6087
|
class: "konnectio-hotel-select-rate-removal"
|
|
6088
|
-
},
|
|
6088
|
+
}, ln = { key: 1 }, un = { class: "konnectio-listing-config-body" }, dn = {
|
|
6089
6089
|
key: 0,
|
|
6090
6090
|
class: "konnectio-listing-units-body"
|
|
6091
|
-
},
|
|
6091
|
+
}, fn = {
|
|
6092
6092
|
key: 1,
|
|
6093
6093
|
class: "konnectio-listing-units-body"
|
|
6094
|
-
},
|
|
6094
|
+
}, pn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6095
6095
|
__name: "Hotel",
|
|
6096
6096
|
props: {
|
|
6097
6097
|
room: {},
|
|
@@ -6099,17 +6099,17 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6099
6099
|
callback: { type: Function }
|
|
6100
6100
|
},
|
|
6101
6101
|
setup(e) {
|
|
6102
|
-
let t =
|
|
6102
|
+
let t = I(!1);
|
|
6103
6103
|
function i() {
|
|
6104
6104
|
t.value = !0;
|
|
6105
6105
|
}
|
|
6106
6106
|
function o(e) {
|
|
6107
6107
|
c.callback(e), t.value = !1;
|
|
6108
6108
|
}
|
|
6109
|
-
let { t: s } = v(), c = e, f =
|
|
6109
|
+
let { t: s } = v(), c = e, f = I([]);
|
|
6110
6110
|
function p() {
|
|
6111
6111
|
let e = f.value.length;
|
|
6112
|
-
|
|
6112
|
+
ue(e);
|
|
6113
6113
|
}
|
|
6114
6114
|
function _(e) {
|
|
6115
6115
|
f.value.splice(e, 1);
|
|
@@ -6117,18 +6117,18 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6117
6117
|
let ee = n(() => c.room.rates.map((e) => ({
|
|
6118
6118
|
label: e.name,
|
|
6119
6119
|
value: e.id
|
|
6120
|
-
}))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re, hasSharedAddonSelection: y } = C(
|
|
6120
|
+
}))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re, hasSharedAddonSelection: y } = C(le()), { location: x } = C(se()), { roomSelect: ie, isSearchOutdated: D } = C(ge()), { addToCart: O, removeFromCart: k } = ce(), A = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), j = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), M = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), N = (e, t) => A(e, t) ? A(e, t)?.rooms : null, P = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6121
6121
|
value: e.index,
|
|
6122
6122
|
price: e.totalPrice,
|
|
6123
6123
|
adults: e.adultsCount,
|
|
6124
6124
|
children: e.childrenCount,
|
|
6125
6125
|
hasBreakfast: e.hasBreakfast
|
|
6126
|
-
})) || [],
|
|
6127
|
-
function
|
|
6126
|
+
})) || [], R = n(() => c.room.rates.length > 1);
|
|
6127
|
+
function oe(e, t) {
|
|
6128
6128
|
f.value[e].config[0].id = c.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
|
|
6129
6129
|
}
|
|
6130
|
-
function
|
|
6131
|
-
|
|
6130
|
+
function ue(e = 0) {
|
|
6131
|
+
R.value ? ne.value ? f.value[e] = {
|
|
6132
6132
|
id: c.room.bestRateMatch || void 0,
|
|
6133
6133
|
config: [{
|
|
6134
6134
|
id: c.room.bestRateMatch && !isNaN(c.room.bestRateMatch) ? c.room.rates.find((e) => e.id === c.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
@@ -6152,22 +6152,22 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6152
6152
|
};
|
|
6153
6153
|
}
|
|
6154
6154
|
g(() => {
|
|
6155
|
-
|
|
6155
|
+
ue();
|
|
6156
6156
|
});
|
|
6157
|
-
let
|
|
6158
|
-
return
|
|
6157
|
+
let de = n(() => JSON.parse(JSON.stringify(f.value)));
|
|
6158
|
+
return ae(de, (e, t) => {
|
|
6159
6159
|
t.length > 0 && e.forEach((n, r) => {
|
|
6160
6160
|
t[r] && n.config.forEach((n, i) => {
|
|
6161
6161
|
let a = n.units, o = t[r].config[i].units;
|
|
6162
6162
|
if (a !== o) {
|
|
6163
6163
|
if (a > o) {
|
|
6164
6164
|
let t = f.value[r].config[i].addons;
|
|
6165
|
-
t.push(y.value(x.value) ? t[0] ??
|
|
6165
|
+
t.push(y.value(x.value) ? t[0] ?? ye(c.room.rates.find((t) => t.id === e[r].id)?.addons) : ye(c.room.rates.find((t) => t.id === e[r].id)?.addons)), O({
|
|
6166
6166
|
id: c.room.id,
|
|
6167
6167
|
name: c.room.title,
|
|
6168
6168
|
value: c.room.rates[r].rackRate
|
|
6169
6169
|
});
|
|
6170
|
-
} else f.value[r].config[i].addons.pop(),
|
|
6170
|
+
} else f.value[r].config[i].addons.pop(), k({
|
|
6171
6171
|
id: c.room.id,
|
|
6172
6172
|
name: c.room.title,
|
|
6173
6173
|
value: c.room.rates[r].rackRate
|
|
@@ -6175,9 +6175,9 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6175
6175
|
}
|
|
6176
6176
|
});
|
|
6177
6177
|
});
|
|
6178
|
-
}, { deep: !0 }),
|
|
6178
|
+
}, { deep: !0 }), ae(f, () => {
|
|
6179
6179
|
ie.value[c.room.id] = f.value;
|
|
6180
|
-
}, { deep: !0 }), (n, c) => (b(), u(
|
|
6180
|
+
}, { deep: !0 }), (n, c) => (b(), u(Xe, {
|
|
6181
6181
|
type: "hotel",
|
|
6182
6182
|
"listing-id": e.room.id,
|
|
6183
6183
|
gallery: e.room.images,
|
|
@@ -6186,19 +6186,19 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6186
6186
|
layout: e.layout,
|
|
6187
6187
|
facilities: e.room.facilities,
|
|
6188
6188
|
"prices-from": e.room.pricesFrom,
|
|
6189
|
-
"includes-breakfast":
|
|
6189
|
+
"includes-breakfast": M.value
|
|
6190
6190
|
}, {
|
|
6191
6191
|
action: S(() => [T("div", { class: E(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": f.value.length > 1 }]) }, [(b(!0), m(a, null, w(f.value, (n, u) => (b(), m("div", {
|
|
6192
6192
|
key: n.id,
|
|
6193
6193
|
class: "konnectio-hotel-room"
|
|
6194
|
-
}, [
|
|
6194
|
+
}, [R.value ? (b(), m("div", sn, [l(je, {
|
|
6195
6195
|
modelValue: n.id,
|
|
6196
6196
|
"onUpdate:modelValue": (e) => n.id = e,
|
|
6197
6197
|
label: r(s)("hotel.roomVariant"),
|
|
6198
6198
|
placeholder: r(s)("hotel.chooseARoomVariant"),
|
|
6199
6199
|
options: ee.value,
|
|
6200
6200
|
searchable: !1,
|
|
6201
|
-
onChanged: (e) =>
|
|
6201
|
+
onChanged: (e) => oe(u, e)
|
|
6202
6202
|
}, null, 8, [
|
|
6203
6203
|
"modelValue",
|
|
6204
6204
|
"onUpdate:modelValue",
|
|
@@ -6206,27 +6206,27 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6206
6206
|
"placeholder",
|
|
6207
6207
|
"options",
|
|
6208
6208
|
"onChanged"
|
|
6209
|
-
]), f.value.length > 1 ? (b(), m("div",
|
|
6209
|
+
]), f.value.length > 1 ? (b(), m("div", cn, [l(Ne, {
|
|
6210
6210
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6211
6211
|
icon: "trash-alt",
|
|
6212
6212
|
"icon-type": "fas",
|
|
6213
6213
|
onClickEvent: (e) => _(u),
|
|
6214
6214
|
secondary: ""
|
|
6215
|
-
}, null, 8, ["onClickEvent"])])) : d("", !0)])) : d("", !0), n.id ? (b(), m("div",
|
|
6215
|
+
}, null, 8, ["onClickEvent"])])) : d("", !0)])) : d("", !0), n.id ? (b(), m("div", ln, [(b(!0), m(a, null, w(e.room.rates, ({ id: u, maximumOccupants: f }) => (b(), m("div", {
|
|
6216
6216
|
key: u,
|
|
6217
6217
|
class: "konnectio-listing-action-selective-i"
|
|
6218
6218
|
}, [n.id === u ? (b(!0), m(a, { key: 0 }, w(n.config, (a, d) => (b(), m("div", {
|
|
6219
6219
|
key: d,
|
|
6220
6220
|
class: "konnectio-listing-action-selective"
|
|
6221
|
-
}, [T("ul",
|
|
6221
|
+
}, [T("ul", un, [l(tn, {
|
|
6222
6222
|
modelValue: a.id,
|
|
6223
6223
|
"onUpdate:modelValue": (e) => a.id = e,
|
|
6224
6224
|
icon: "male",
|
|
6225
6225
|
"icon-type": "fas",
|
|
6226
6226
|
label: r(s)("general.guests"),
|
|
6227
6227
|
description: f === 0 ? void 0 : `${r(s)("general.maximumGuests")}: ${f}`,
|
|
6228
|
-
options:
|
|
6229
|
-
readonly: !(
|
|
6228
|
+
options: P(u),
|
|
6229
|
+
readonly: !(P(u).length > 1)
|
|
6230
6230
|
}, null, 8, [
|
|
6231
6231
|
"modelValue",
|
|
6232
6232
|
"onUpdate:modelValue",
|
|
@@ -6234,13 +6234,13 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6234
6234
|
"description",
|
|
6235
6235
|
"options",
|
|
6236
6236
|
"readonly"
|
|
6237
|
-
])]),
|
|
6237
|
+
])]), j.value ? (b(), m("div", fn, [l(Ne, {
|
|
6238
6238
|
onClickEvent: i,
|
|
6239
6239
|
label: r(s)("hotel.selectRoomOnMap"),
|
|
6240
6240
|
secondary: "",
|
|
6241
6241
|
"full-width": "",
|
|
6242
6242
|
disabled: r(D)
|
|
6243
|
-
}, null, 8, ["label", "disabled"]), l(
|
|
6243
|
+
}, null, 8, ["label", "disabled"]), l(on, {
|
|
6244
6244
|
modelValue: t.value,
|
|
6245
6245
|
"onUpdate:modelValue": c[0] ||= (e) => t.value = e,
|
|
6246
6246
|
"room-list": e.room.roomList,
|
|
@@ -6252,26 +6252,26 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6252
6252
|
"room-list",
|
|
6253
6253
|
"config",
|
|
6254
6254
|
"onUpdate:config"
|
|
6255
|
-
])])) : (b(), m("ul",
|
|
6255
|
+
])])) : (b(), m("ul", dn, [l(Ae, {
|
|
6256
6256
|
modelValue: a.units,
|
|
6257
6257
|
"onUpdate:modelValue": (e) => a.units = e,
|
|
6258
|
-
description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${
|
|
6258
|
+
description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${N(n.id, a.id)}`,
|
|
6259
6259
|
icon: "house",
|
|
6260
6260
|
"icon-type": "fas",
|
|
6261
6261
|
"icon-placement": "label",
|
|
6262
6262
|
label: r(s)("booking.availability.units"),
|
|
6263
6263
|
minValue: 0,
|
|
6264
|
-
"max-value":
|
|
6264
|
+
"max-value": N(u, a.id) || Infinity
|
|
6265
6265
|
}, null, 8, [
|
|
6266
6266
|
"modelValue",
|
|
6267
6267
|
"onUpdate:modelValue",
|
|
6268
6268
|
"description",
|
|
6269
6269
|
"label",
|
|
6270
6270
|
"max-value"
|
|
6271
|
-
])]))]))), 128)) : d("", !0)]))), 128))])) : d("", !0)]))), 128)), r(re) &&
|
|
6271
|
+
])]))]))), 128)) : d("", !0)]))), 128))])) : d("", !0)]))), 128)), r(re) && R.value ? (b(), m("button", {
|
|
6272
6272
|
key: 0,
|
|
6273
6273
|
class: "konnectio-hotel-add-extra-room link",
|
|
6274
|
-
onClick:
|
|
6274
|
+
onClick: F(p, ["prevent"])
|
|
6275
6275
|
}, [T("span", null, h(r(s)("hotel.addExtraVariant")), 1)])) : d("", !0)], 2)]),
|
|
6276
6276
|
_: 1
|
|
6277
6277
|
}, 8, [
|
|
@@ -6285,10 +6285,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6285
6285
|
"includes-breakfast"
|
|
6286
6286
|
]));
|
|
6287
6287
|
}
|
|
6288
|
-
}), [["__scopeId", "data-v-c7b61560"]]),
|
|
6288
|
+
}), [["__scopeId", "data-v-c7b61560"]]), mn = { class: "konnectio-template-side-panel" }, hn = { class: "konnectio-template-side-panel-listings" }, gn = { class: "konnectio-template-room-config" }, _n = { class: "konnectio-template-room-units" }, vn = { class: "konnectio-template-room-unit-header" }, yn = { class: "konnectio-template-footer" }, bn = {
|
|
6289
6289
|
key: 0,
|
|
6290
6290
|
class: "konnectio-template-selection-preview"
|
|
6291
|
-
},
|
|
6291
|
+
}, xn = { class: "konnectio-template-selection-item-header" }, Sn = { class: "konnectio-template-selection-item-name" }, Cn = { class: "konnectio-template-selection-item-price" }, $ = { class: "konnectio-template-selection-item-units" }, wn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6292
6292
|
__name: "Template",
|
|
6293
6293
|
props: {
|
|
6294
6294
|
title: {},
|
|
@@ -6299,85 +6299,85 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6299
6299
|
callback: { type: Function }
|
|
6300
6300
|
},
|
|
6301
6301
|
setup(e) {
|
|
6302
|
-
let { t } = v(), i =
|
|
6302
|
+
let { t } = v(), i = le(), o = ge(), { location: c, adults: f, children: p } = C(se()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: ne, currentAdults: re, currentChildren: y } = C(o), { currency: x } = C(i), { clearRoomSelection: ie } = o, { addToCart: D } = ce(), { hasChildSelection: O, hasSharedAddonSelection: k } = i, A = e, M = I(!1), N = f.value || 1, P = p.value || 0, F = te({}), R = n(() => {
|
|
6303
6303
|
function e(e, t) {
|
|
6304
|
-
return
|
|
6304
|
+
return M.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6305
6305
|
}
|
|
6306
|
-
let t =
|
|
6306
|
+
let t = A.roomGroups?.slice().sort(e) || [];
|
|
6307
6307
|
return t.forEach((e) => {
|
|
6308
|
-
|
|
6308
|
+
F[e.id] || (F[e.id] = {
|
|
6309
6309
|
units: 0,
|
|
6310
6310
|
configs: [{
|
|
6311
|
-
adults:
|
|
6312
|
-
children:
|
|
6311
|
+
adults: N,
|
|
6312
|
+
children: P
|
|
6313
6313
|
}]
|
|
6314
6314
|
});
|
|
6315
6315
|
}), t;
|
|
6316
6316
|
});
|
|
6317
|
-
function
|
|
6318
|
-
return
|
|
6319
|
-
}
|
|
6320
|
-
function le(e) {
|
|
6321
|
-
let t = ae(e);
|
|
6322
|
-
if (!t) return P;
|
|
6323
|
-
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6324
|
-
return Math.max(n, P);
|
|
6317
|
+
function oe(e) {
|
|
6318
|
+
return R.value.find((t) => t.id === e);
|
|
6325
6319
|
}
|
|
6326
6320
|
function ue(e) {
|
|
6327
|
-
let t =
|
|
6328
|
-
|
|
6321
|
+
let t = oe(e);
|
|
6322
|
+
if (!t) return N;
|
|
6323
|
+
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6324
|
+
return Math.max(n, N);
|
|
6329
6325
|
}
|
|
6330
6326
|
function de(e) {
|
|
6331
|
-
let t =
|
|
6327
|
+
let t = oe(e);
|
|
6328
|
+
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(P, 1) : 0;
|
|
6329
|
+
}
|
|
6330
|
+
function fe(e) {
|
|
6331
|
+
let t = oe(e);
|
|
6332
6332
|
return t && t.availableRoomCount || 1;
|
|
6333
6333
|
}
|
|
6334
|
-
function
|
|
6335
|
-
let t =
|
|
6336
|
-
return t ? t.extraPrice +
|
|
6334
|
+
function me(e) {
|
|
6335
|
+
let t = oe(e);
|
|
6336
|
+
return t ? t.extraPrice + A.weekendFee : 0;
|
|
6337
6337
|
}
|
|
6338
|
-
|
|
6339
|
-
Object.keys(
|
|
6340
|
-
let t =
|
|
6338
|
+
ae(() => ({ ...F }), () => {
|
|
6339
|
+
Object.keys(F).forEach((e) => {
|
|
6340
|
+
let t = F[Number(e)], n = t.units, r = t.configs.length;
|
|
6341
6341
|
if (n > r) for (let e = r; e < n; e++) t.configs.push({
|
|
6342
|
-
adults:
|
|
6343
|
-
children:
|
|
6342
|
+
adults: N,
|
|
6343
|
+
children: P
|
|
6344
6344
|
});
|
|
6345
6345
|
else n < r && t.configs.splice(n);
|
|
6346
6346
|
});
|
|
6347
6347
|
}, { deep: !0 });
|
|
6348
|
-
let
|
|
6349
|
-
JSON.stringify(
|
|
6348
|
+
let he = n(() => {
|
|
6349
|
+
JSON.stringify(F);
|
|
6350
6350
|
let e = {};
|
|
6351
|
-
return
|
|
6352
|
-
let n =
|
|
6351
|
+
return R.value.forEach((t) => {
|
|
6352
|
+
let n = F[t.id];
|
|
6353
6353
|
if (!n) {
|
|
6354
6354
|
e[t.id] = [];
|
|
6355
6355
|
return;
|
|
6356
6356
|
}
|
|
6357
|
-
e[t.id] = n.configs.map((e) =>
|
|
6357
|
+
e[t.id] = n.configs.map((e) => pe(t, e.adults, e.children, N, P));
|
|
6358
6358
|
}), e;
|
|
6359
6359
|
});
|
|
6360
|
-
function
|
|
6361
|
-
return
|
|
6360
|
+
function z(e, t) {
|
|
6361
|
+
return he.value[e]?.[t] ?? 0;
|
|
6362
6362
|
}
|
|
6363
|
-
function
|
|
6363
|
+
function _e() {
|
|
6364
6364
|
let e = 0;
|
|
6365
|
-
return
|
|
6366
|
-
let n =
|
|
6365
|
+
return R.value.forEach((t) => {
|
|
6366
|
+
let n = F[t.id];
|
|
6367
6367
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6368
|
-
let n =
|
|
6369
|
-
e += n +
|
|
6368
|
+
let n = z(t.id, r);
|
|
6369
|
+
e += n + A.weekendFee;
|
|
6370
6370
|
}
|
|
6371
6371
|
}), e;
|
|
6372
6372
|
}
|
|
6373
|
-
function
|
|
6374
|
-
return Object.values(
|
|
6373
|
+
function B() {
|
|
6374
|
+
return Object.values(F).reduce((e, t) => e + t.units, 0);
|
|
6375
6375
|
}
|
|
6376
|
-
let
|
|
6377
|
-
let t =
|
|
6376
|
+
let ve = n(() => R.value.filter((e) => F[e.id]?.units > 0).map((e) => {
|
|
6377
|
+
let t = F[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6378
6378
|
adults: t.adults,
|
|
6379
6379
|
children: t.children,
|
|
6380
|
-
price:
|
|
6380
|
+
price: z(e.id, n) + A.weekendFee
|
|
6381
6381
|
}));
|
|
6382
6382
|
return {
|
|
6383
6383
|
id: e.id,
|
|
@@ -6386,27 +6386,27 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6386
6386
|
units: n
|
|
6387
6387
|
};
|
|
6388
6388
|
}));
|
|
6389
|
-
|
|
6390
|
-
|
|
6389
|
+
ae(ve, () => {
|
|
6390
|
+
j(() => window.dispatchEvent(new Event("resize")));
|
|
6391
6391
|
});
|
|
6392
6392
|
function be() {
|
|
6393
|
-
if (!Object.values(
|
|
6393
|
+
if (!Object.values(F).some((e) => e.units > 0)) return;
|
|
6394
6394
|
ie();
|
|
6395
6395
|
let e = [], t = 0, n = 0;
|
|
6396
|
-
if (
|
|
6397
|
-
let i =
|
|
6396
|
+
if (R.value.forEach((r) => {
|
|
6397
|
+
let i = F[r.id];
|
|
6398
6398
|
if (!i || i.units === 0) return;
|
|
6399
|
-
let a = i.configs.slice(0, i.units), o =
|
|
6399
|
+
let a = i.configs.slice(0, i.units), o = k(c.value) ? {} : null;
|
|
6400
6400
|
e.push({
|
|
6401
6401
|
roomGroupId: r.id,
|
|
6402
6402
|
unitConfigs: a.map((e) => ({
|
|
6403
6403
|
adults: e.adults,
|
|
6404
6404
|
children: e.children,
|
|
6405
|
-
addons: o ??
|
|
6405
|
+
addons: o ?? ye(r.addons)
|
|
6406
6406
|
}))
|
|
6407
6407
|
}), _.value ||= r.id;
|
|
6408
6408
|
for (let e = 0; e < i.units; e++) {
|
|
6409
|
-
let t =
|
|
6409
|
+
let t = z(r.id, e);
|
|
6410
6410
|
D({
|
|
6411
6411
|
id: r.id,
|
|
6412
6412
|
name: r.title,
|
|
@@ -6416,63 +6416,63 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6416
6416
|
a.forEach((e) => {
|
|
6417
6417
|
t += e.adults, n += e.children;
|
|
6418
6418
|
});
|
|
6419
|
-
}), ee.value = e, g.value =
|
|
6420
|
-
|
|
6419
|
+
}), ee.value = e, g.value = A.templateId, re.value = t, y.value = n, A.hideAddons === !1 && ne.value === !1) {
|
|
6420
|
+
A.callback(1);
|
|
6421
6421
|
return;
|
|
6422
6422
|
}
|
|
6423
|
-
|
|
6423
|
+
A.callback(2);
|
|
6424
6424
|
}
|
|
6425
|
-
return (n, i) => (b(), u(
|
|
6425
|
+
return (n, i) => (b(), u(Be, {
|
|
6426
6426
|
title: e.title,
|
|
6427
6427
|
subtitle: r(t)("booking.availability.selectATemplateRoom")
|
|
6428
6428
|
}, {
|
|
6429
|
-
footer: S(() => [T("div",
|
|
6429
|
+
footer: S(() => [T("div", yn, [ve.value.length > 0 ? (b(), m("div", bn, [(b(!0), m(a, null, w(ve.value, (e) => (b(), m("div", {
|
|
6430
6430
|
key: e.id,
|
|
6431
6431
|
class: "konnectio-template-selection-item"
|
|
6432
|
-
}, [T("div",
|
|
6432
|
+
}, [T("div", xn, [T("span", Sn, h(e.title), 1), T("span", Cn, h(r(Me)(e.totalPrice, r(x))), 1)]), T("div", $, [(b(!0), m(a, null, w(e.units, (e, n) => (b(), m("span", {
|
|
6433
6433
|
key: n,
|
|
6434
6434
|
class: "konnectio-template-selection-unit"
|
|
6435
6435
|
}, [
|
|
6436
6436
|
s(h(r(t)("booking.reservation.room")) + " " + h(n + 1) + ": " + h(e.adults) + " " + h(r(t)("availability.adults")) + " ", 1),
|
|
6437
6437
|
e.children > 0 ? (b(), m(a, { key: 0 }, [s(" , " + h(e.children) + " " + h(r(t)("availability.children")), 1)], 64)) : d("", !0),
|
|
6438
|
-
s(" · " + h(r(
|
|
6439
|
-
]))), 128))])]))), 128))])) : d("", !0), l(
|
|
6438
|
+
s(" · " + h(r(Me)(e.price, r(x))), 1)
|
|
6439
|
+
]))), 128))])]))), 128))])) : d("", !0), l(Ne, {
|
|
6440
6440
|
onClickEvent: be,
|
|
6441
|
-
label: `${
|
|
6442
|
-
disabled:
|
|
6441
|
+
label: `${B() > 1 ? r(t)("booking.availability.selectTheseRooms") : r(t)("booking.availability.selectThisRoom")} (${r(Me)(_e(), r(x))})`,
|
|
6442
|
+
disabled: B() === 0,
|
|
6443
6443
|
"full-width": ""
|
|
6444
6444
|
}, null, 8, ["label", "disabled"])])]),
|
|
6445
|
-
default: S(() => [T("div",
|
|
6445
|
+
default: S(() => [T("div", mn, [T("div", hn, [(b(!0), m(a, null, w(R.value, (e) => (b(), u(Xe, {
|
|
6446
6446
|
key: e.id,
|
|
6447
6447
|
type: "hotel",
|
|
6448
6448
|
"listing-id": e.id,
|
|
6449
6449
|
name: e.title,
|
|
6450
6450
|
description: e.description,
|
|
6451
6451
|
facilities: e.facilities,
|
|
6452
|
-
"prices-from":
|
|
6452
|
+
"prices-from": me(e.id),
|
|
6453
6453
|
gallery: e.images,
|
|
6454
6454
|
"includes-breakfast": !1,
|
|
6455
6455
|
"hide-info-button": !0
|
|
6456
6456
|
}, {
|
|
6457
|
-
action: S(() => [T("div",
|
|
6458
|
-
modelValue:
|
|
6459
|
-
"onUpdate:modelValue": (t) =>
|
|
6457
|
+
action: S(() => [T("div", gn, [T("div", _n, [l(Ae, {
|
|
6458
|
+
modelValue: F[e.id].units,
|
|
6459
|
+
"onUpdate:modelValue": (t) => F[e.id].units = t,
|
|
6460
6460
|
label: r(t)("booking.availability.units"),
|
|
6461
6461
|
icon: "house",
|
|
6462
6462
|
"icon-type": "fas",
|
|
6463
6463
|
"icon-placement": "label",
|
|
6464
6464
|
"min-value": 0,
|
|
6465
|
-
"max-value":
|
|
6465
|
+
"max-value": fe(e.id),
|
|
6466
6466
|
controls: !0
|
|
6467
6467
|
}, null, 8, [
|
|
6468
6468
|
"modelValue",
|
|
6469
6469
|
"onUpdate:modelValue",
|
|
6470
6470
|
"label",
|
|
6471
6471
|
"max-value"
|
|
6472
|
-
])]), (b(!0), m(a, null, w(
|
|
6472
|
+
])]), (b(!0), m(a, null, w(F[e.id].configs, (n, i) => (b(), m("div", {
|
|
6473
6473
|
key: i,
|
|
6474
6474
|
class: "konnectio-template-room-unit-config"
|
|
6475
|
-
}, [T("div",
|
|
6475
|
+
}, [T("div", vn, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(Me)(z(e.id, i), r(x))), 1)]), T("div", { class: E(["konnectio-template-room-guests", { "only-adult-guests": !r(O)(r(c)) }]) }, [l(Ae, {
|
|
6476
6476
|
modelValue: n.adults,
|
|
6477
6477
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6478
6478
|
label: r(t)("availability.adults"),
|
|
@@ -6481,7 +6481,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6481
6481
|
"icon-type": "fas",
|
|
6482
6482
|
"icon-placement": "label",
|
|
6483
6483
|
"min-value": 1,
|
|
6484
|
-
"max-value":
|
|
6484
|
+
"max-value": ue(e.id),
|
|
6485
6485
|
controls: !0
|
|
6486
6486
|
}, null, 8, [
|
|
6487
6487
|
"modelValue",
|
|
@@ -6489,7 +6489,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6489
6489
|
"label",
|
|
6490
6490
|
"description",
|
|
6491
6491
|
"max-value"
|
|
6492
|
-
]), r(
|
|
6492
|
+
]), r(O)(r(c)) ? (b(), u(Ae, {
|
|
6493
6493
|
key: 0,
|
|
6494
6494
|
modelValue: n.children,
|
|
6495
6495
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
@@ -6499,7 +6499,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6499
6499
|
"icon-type": "fas",
|
|
6500
6500
|
"icon-placement": "label",
|
|
6501
6501
|
"min-value": 0,
|
|
6502
|
-
"max-value":
|
|
6502
|
+
"max-value": de(e.id),
|
|
6503
6503
|
controls: !0
|
|
6504
6504
|
}, null, 8, [
|
|
6505
6505
|
"modelValue",
|
|
@@ -6520,7 +6520,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6520
6520
|
_: 1
|
|
6521
6521
|
}, 8, ["title", "subtitle"]));
|
|
6522
6522
|
}
|
|
6523
|
-
}), [["__scopeId", "data-v-9cb8e8f4"]]),
|
|
6523
|
+
}), [["__scopeId", "data-v-9cb8e8f4"]]), Tn = { class: "konnectio-template-select-package" }, En = /* @__PURE__ */ R({
|
|
6524
6524
|
__name: "Template",
|
|
6525
6525
|
props: {
|
|
6526
6526
|
id: {},
|
|
@@ -6533,31 +6533,31 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6533
6533
|
callback: { type: Function }
|
|
6534
6534
|
},
|
|
6535
6535
|
setup(e) {
|
|
6536
|
-
let { t } = v(), i = e, { isSearchOutdated: a } = C(
|
|
6536
|
+
let { t } = v(), i = e, { isSearchOutdated: a } = C(ge()), o = n(() => i.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + i.weekendFee), s = I(!1);
|
|
6537
6537
|
function c() {
|
|
6538
6538
|
s.value = !0;
|
|
6539
6539
|
}
|
|
6540
6540
|
function d(e) {
|
|
6541
6541
|
i.callback(e), s.value = !1;
|
|
6542
6542
|
}
|
|
6543
|
-
return (n, i) => (b(), u(
|
|
6543
|
+
return (n, i) => (b(), u(Xe, {
|
|
6544
6544
|
type: "template",
|
|
6545
6545
|
"listing-id": e.id,
|
|
6546
6546
|
name: e.name,
|
|
6547
6547
|
description: e.description,
|
|
6548
6548
|
gallery: e.images,
|
|
6549
|
-
layout: r(
|
|
6549
|
+
layout: r(we).Template,
|
|
6550
6550
|
"includes-breakfast": !1,
|
|
6551
6551
|
"hide-info-button": !1,
|
|
6552
6552
|
"prices-from": o.value
|
|
6553
6553
|
}, {
|
|
6554
|
-
action: S(() => [T("div",
|
|
6554
|
+
action: S(() => [T("div", Tn, [l(Ne, {
|
|
6555
6555
|
onClickEvent: c,
|
|
6556
6556
|
label: r(t)("booking.availability.selectPackage"),
|
|
6557
6557
|
"full-width": "",
|
|
6558
6558
|
disabled: r(a)
|
|
6559
6559
|
}, null, 8, ["label", "disabled"])])]),
|
|
6560
|
-
default: S(() => [l(
|
|
6560
|
+
default: S(() => [l(wn, {
|
|
6561
6561
|
modelValue: s.value,
|
|
6562
6562
|
"onUpdate:modelValue": i[0] ||= (e) => s.value = e,
|
|
6563
6563
|
title: e.name,
|
|
@@ -6584,7 +6584,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6584
6584
|
"prices-from"
|
|
6585
6585
|
]));
|
|
6586
6586
|
}
|
|
6587
|
-
}),
|
|
6587
|
+
}), Dn = { class: "konnectio-special-offer-availability" }, On = { class: "konnectio-special-offer-availability-button" }, kn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6588
6588
|
__name: "SpecialOffer",
|
|
6589
6589
|
props: {
|
|
6590
6590
|
id: {},
|
|
@@ -6597,7 +6597,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6597
6597
|
roomGroups: {}
|
|
6598
6598
|
},
|
|
6599
6599
|
setup(e) {
|
|
6600
|
-
let { t } = v(), { updateDates: i } =
|
|
6600
|
+
let { t } = v(), { updateDates: i } = se(), { display: a } = he(), o = e, s = I([]), c = n(() => Pe(o.fromDate, o.toDate) === 1);
|
|
6601
6601
|
function d() {
|
|
6602
6602
|
s.value.length > 0 ? i(s.value[0], s.value[1]) : a({
|
|
6603
6603
|
message: t("alert.error.selectDates"),
|
|
@@ -6606,20 +6606,20 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6606
6606
|
}
|
|
6607
6607
|
return g(() => {
|
|
6608
6608
|
c.value && (s.value = [new Date(o.fromDate), new Date(o.toDate)]);
|
|
6609
|
-
}), (n, i) => (b(), u(
|
|
6609
|
+
}), (n, i) => (b(), u(Xe, {
|
|
6610
6610
|
type: "template",
|
|
6611
6611
|
"listing-id": e.id,
|
|
6612
6612
|
name: e.name,
|
|
6613
6613
|
description: e.description,
|
|
6614
6614
|
gallery: e.images,
|
|
6615
|
-
layout: r(
|
|
6615
|
+
layout: r(we).Template,
|
|
6616
6616
|
"includes-breakfast": !1,
|
|
6617
6617
|
"hide-info-button": !1,
|
|
6618
6618
|
"to-date": e.toDate,
|
|
6619
6619
|
"from-date": e.fromDate,
|
|
6620
6620
|
"disable-deep-link": !0
|
|
6621
6621
|
}, {
|
|
6622
|
-
action: S(() => [T("div",
|
|
6622
|
+
action: S(() => [T("div", Dn, [l(Ue, {
|
|
6623
6623
|
modelValue: s.value,
|
|
6624
6624
|
"onUpdate:modelValue": i[0] ||= (e) => s.value = e,
|
|
6625
6625
|
label: r(t)("availability.checkInOut"),
|
|
@@ -6640,9 +6640,9 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6640
6640
|
"min-date",
|
|
6641
6641
|
"max-date",
|
|
6642
6642
|
"readonly"
|
|
6643
|
-
]), T("div",
|
|
6643
|
+
]), T("div", On, [l(Ne, {
|
|
6644
6644
|
label: r(t)("availability.buttonLabel"),
|
|
6645
|
-
onClick:
|
|
6645
|
+
onClick: F(d, ["prevent"])
|
|
6646
6646
|
}, null, 8, ["label"])])])]),
|
|
6647
6647
|
_: 1
|
|
6648
6648
|
}, 8, [
|
|
@@ -6655,7 +6655,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6655
6655
|
"from-date"
|
|
6656
6656
|
]));
|
|
6657
6657
|
}
|
|
6658
|
-
}), [["__scopeId", "data-v-8f8a4dff"]]),
|
|
6658
|
+
}), [["__scopeId", "data-v-8f8a4dff"]]), An = /* @__PURE__ */ R({
|
|
6659
6659
|
__name: "TimeField",
|
|
6660
6660
|
props: {
|
|
6661
6661
|
modelValue: {},
|
|
@@ -6677,10 +6677,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6677
6677
|
function i(e) {
|
|
6678
6678
|
n("update:modelValue", e);
|
|
6679
6679
|
}
|
|
6680
|
-
let a =
|
|
6681
|
-
return
|
|
6680
|
+
let a = I(r.modelValue);
|
|
6681
|
+
return ae(a, (e) => {
|
|
6682
6682
|
i(e);
|
|
6683
|
-
}), (t, n) => (b(), u(
|
|
6683
|
+
}), (t, n) => (b(), u(Ue, {
|
|
6684
6684
|
modelValue: a.value,
|
|
6685
6685
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
6686
6686
|
type: "time",
|
|
@@ -6709,10 +6709,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6709
6709
|
"max-time"
|
|
6710
6710
|
]));
|
|
6711
6711
|
}
|
|
6712
|
-
}),
|
|
6712
|
+
}), jn = { style: {
|
|
6713
6713
|
display: "flex",
|
|
6714
6714
|
"align-items": "baseline"
|
|
6715
|
-
} },
|
|
6715
|
+
} }, Mn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6716
6716
|
__name: "CountryField",
|
|
6717
6717
|
props: {
|
|
6718
6718
|
modelValue: {},
|
|
@@ -6751,7 +6751,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6751
6751
|
error: e.error
|
|
6752
6752
|
}, {
|
|
6753
6753
|
option: S(({ data: e }) => [T("i", { class: E(["konnectio-flag-icon", e.iso]) }, null, 2), T("span", null, h(e.name), 1)]),
|
|
6754
|
-
"selected-option": S(({ data: e }) => [T("div",
|
|
6754
|
+
"selected-option": S(({ data: e }) => [T("div", jn, [T("i", { class: E(["konnectio-flag-icon", e.iso]) }, null, 2), T("span", null, h(e.name), 1)])]),
|
|
6755
6755
|
_: 1
|
|
6756
6756
|
}, 8, [
|
|
6757
6757
|
"modelValue",
|
|
@@ -6762,7 +6762,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6762
6762
|
"error"
|
|
6763
6763
|
]));
|
|
6764
6764
|
}
|
|
6765
|
-
}), [["__scopeId", "data-v-f0651be7"]]),
|
|
6765
|
+
}), [["__scopeId", "data-v-f0651be7"]]), Nn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6766
6766
|
__name: "NameField",
|
|
6767
6767
|
props: {
|
|
6768
6768
|
modelValue: {},
|
|
@@ -6799,17 +6799,17 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6799
6799
|
},
|
|
6800
6800
|
emits: ["update:modelValue", "update:title"],
|
|
6801
6801
|
setup(e, { emit: t }) {
|
|
6802
|
-
let n = e, i = t, a = n.id ||
|
|
6802
|
+
let n = e, i = t, a = n.id || Se(), o = I(""), s = I(2);
|
|
6803
6803
|
function c() {
|
|
6804
6804
|
i("update:modelValue", o.value);
|
|
6805
6805
|
}
|
|
6806
|
-
|
|
6806
|
+
ae(s, (e) => {
|
|
6807
6807
|
i("update:title", e);
|
|
6808
6808
|
});
|
|
6809
6809
|
let { t: f } = v();
|
|
6810
6810
|
return g(() => {
|
|
6811
6811
|
n.modelValue && (o.value = n.modelValue), n.title && (s.value = n.title);
|
|
6812
|
-
}), (t, n) => (b(), u(
|
|
6812
|
+
}), (t, n) => (b(), u(Ce, {
|
|
6813
6813
|
label: e.label,
|
|
6814
6814
|
id: r(a),
|
|
6815
6815
|
required: e.required,
|
|
@@ -6822,7 +6822,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6822
6822
|
key: 0,
|
|
6823
6823
|
modelValue: s.value,
|
|
6824
6824
|
"onUpdate:modelValue": n[0] ||= (e) => s.value = e,
|
|
6825
|
-
id: r(
|
|
6825
|
+
id: r(Se)(),
|
|
6826
6826
|
icon: e.icon,
|
|
6827
6827
|
"icon-color": e.iconColor,
|
|
6828
6828
|
"icon-type": e.iconType,
|
|
@@ -6859,7 +6859,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6859
6859
|
"icon-type",
|
|
6860
6860
|
"options",
|
|
6861
6861
|
"readonly"
|
|
6862
|
-
])), l(
|
|
6862
|
+
])), l(ke, {
|
|
6863
6863
|
modelValue: o.value,
|
|
6864
6864
|
"onUpdate:modelValue": n[1] ||= (e) => o.value = e,
|
|
6865
6865
|
type: "text",
|
|
@@ -6895,80 +6895,80 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6895
6895
|
"error"
|
|
6896
6896
|
]));
|
|
6897
6897
|
}
|
|
6898
|
-
}), [["__scopeId", "data-v-5448733c"]]),
|
|
6898
|
+
}), [["__scopeId", "data-v-5448733c"]]), Pn = { class: "hotel-skeleton" }, Fn = { class: "hotel-skeleton-content" }, In = { class: "hotel-skeleton-sidebar" }, Ln = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6899
6899
|
__name: "HotelSkeleton",
|
|
6900
6900
|
setup(e) {
|
|
6901
|
-
return (e, t) => (b(), m("div",
|
|
6901
|
+
return (e, t) => (b(), m("div", Pn, [T("div", Fn, [l(We, { hotel: "" }), l(Ze)]), T("div", In, [l(Qe)])]));
|
|
6902
6902
|
}
|
|
6903
|
-
}), [["__scopeId", "data-v-2ff36444"]]),
|
|
6903
|
+
}), [["__scopeId", "data-v-2ff36444"]]), Rn = { id: "booking-availability-container" }, zn = { id: "booking-availability-controls" }, Bn = {
|
|
6904
6904
|
key: 0,
|
|
6905
6905
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6906
|
-
},
|
|
6906
|
+
}, Vn = ["innerHTML"], Hn = {
|
|
6907
6907
|
key: 1,
|
|
6908
6908
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6909
|
-
},
|
|
6909
|
+
}, Un = ["innerHTML"], Wn = {
|
|
6910
6910
|
key: 2,
|
|
6911
6911
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6912
|
-
},
|
|
6912
|
+
}, Gn = { key: 4 }, Kn = { key: 0 }, qn = {
|
|
6913
6913
|
key: 0,
|
|
6914
6914
|
id: "booking-availability-packages"
|
|
6915
|
-
},
|
|
6915
|
+
}, Jn = {
|
|
6916
6916
|
key: 0,
|
|
6917
6917
|
class: "konnectio-hotel-availability-title"
|
|
6918
|
-
},
|
|
6918
|
+
}, Yn = { id: "booking-availability-packages-wrapper" }, Xn = { key: 1 }, Zn = {
|
|
6919
6919
|
key: 0,
|
|
6920
6920
|
class: "konnectio-hotel-availability-title"
|
|
6921
|
-
},
|
|
6921
|
+
}, Qn = { id: "konnectio-listings" }, $n = {
|
|
6922
6922
|
key: 0,
|
|
6923
6923
|
class: "konnectio-hotel-availability-title"
|
|
6924
|
-
},
|
|
6924
|
+
}, er = { id: "konnectio-listings" }, tr = {
|
|
6925
6925
|
key: 0,
|
|
6926
6926
|
id: "booking-availability-packages"
|
|
6927
|
-
},
|
|
6927
|
+
}, nr = { class: "konnectio-hotel-availability-title" }, rr = { id: "booking-availability-packages-wrapper" }, ir = {
|
|
6928
6928
|
key: 3,
|
|
6929
6929
|
id: "booking-availability-no-listings",
|
|
6930
6930
|
class: "konnectio-panel"
|
|
6931
|
-
},
|
|
6931
|
+
}, ar = {
|
|
6932
6932
|
key: 1,
|
|
6933
6933
|
id: "reservation-availability-next-dates"
|
|
6934
|
-
},
|
|
6934
|
+
}, or = { class: "konnectio-panel konnectio-filter-notice" }, sr = ["innerHTML"], cr = { class: "konnectio-hotel-availability-title" }, lr = { class: "reservation-special-offers-grid" }, ur = ["title"], dr = { key: 0 }, fr = {
|
|
6935
6935
|
key: 2,
|
|
6936
6936
|
id: "booking-availability-no-listings",
|
|
6937
6937
|
class: "konnectio-panel"
|
|
6938
|
-
},
|
|
6938
|
+
}, pr = {
|
|
6939
6939
|
key: 5,
|
|
6940
6940
|
class: "konnectio-panel"
|
|
6941
|
-
},
|
|
6941
|
+
}, mr = {
|
|
6942
6942
|
key: 6,
|
|
6943
6943
|
class: "konnectio-listing-loading"
|
|
6944
|
-
},
|
|
6944
|
+
}, hr = { class: "konnectio-hotel-availability-warning" }, gr = { class: "konnectio-hotel-availability-warning" }, _r = { class: "konnectio-panel" }, vr = {
|
|
6945
6945
|
key: 0,
|
|
6946
6946
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6947
|
-
},
|
|
6947
|
+
}, yr = ["innerHTML"], br = {
|
|
6948
6948
|
key: 0,
|
|
6949
6949
|
id: "konnectio-hotel-addons"
|
|
6950
|
-
},
|
|
6950
|
+
}, xr = { key: 0 }, Sr = { class: "konnectio-event-addons-price" }, Cr = { key: 1 }, wr = {
|
|
6951
6951
|
key: 0,
|
|
6952
6952
|
class: "konnectio-table-addons-image"
|
|
6953
|
-
},
|
|
6953
|
+
}, Tr = ["innerHTML"], Er = { class: "konnectio-table-addons-option" }, Dr = {
|
|
6954
6954
|
key: 1,
|
|
6955
6955
|
id: "konnectio-hotel-addons"
|
|
6956
|
-
},
|
|
6956
|
+
}, Or = {
|
|
6957
6957
|
key: 0,
|
|
6958
6958
|
class: "konnectio-hotel-reservation-room-name"
|
|
6959
|
-
},
|
|
6959
|
+
}, kr = {
|
|
6960
6960
|
key: 0,
|
|
6961
6961
|
class: "konnectio-table-addons-image"
|
|
6962
|
-
},
|
|
6962
|
+
}, Ar = ["innerHTML"], jr = { class: "konnectio-table-addons-option" }, Mr = { class: "konnectio-panel" }, Nr = {
|
|
6963
6963
|
key: 0,
|
|
6964
6964
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6965
|
-
},
|
|
6965
|
+
}, Pr = ["innerHTML"], Fr = { key: 0 }, Ir = { key: 1 }, Lr = {
|
|
6966
6966
|
key: 2,
|
|
6967
6967
|
class: "konnectio-show-on-mobile"
|
|
6968
|
-
},
|
|
6968
|
+
}, Rr = { class: "konnectio-split-inputs" }, zr = {
|
|
6969
6969
|
key: 0,
|
|
6970
6970
|
class: "konnectio-hotel-member-card-mockup"
|
|
6971
|
-
},
|
|
6971
|
+
}, Br = ["src"], Vr = { class: "konnectio-hotel-member-card-details" }, Hr = { key: 0 }, Ur = { key: 0 }, Wr = /*@__PURE__*/ R({
|
|
6972
6972
|
name: "HotelLayout",
|
|
6973
6973
|
__name: "Hotel",
|
|
6974
6974
|
props: {
|
|
@@ -6990,28 +6990,28 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6990
6990
|
styling: {}
|
|
6991
6991
|
},
|
|
6992
6992
|
setup(e) {
|
|
6993
|
-
let t = _(() => import("./_-
|
|
6994
|
-
|
|
6995
|
-
let
|
|
6996
|
-
|
|
6997
|
-
function rn(e) {
|
|
6998
|
-
nn.setData(tn()), nn.validate(e);
|
|
6999
|
-
}
|
|
6993
|
+
let t = _(() => import("./_-DiYgOYcW.js").then((e) => e.n)), o = e, { t: c } = v(), { currentLocation: f, templateID: p, templateRoomSelections: g, templateRoomUnits: te, countries: re, areListingsLoading: ie, isPaymentLoading: D, isReservationFormFilled: O, travelingFor: k, arrivalTime: A, departureTime: j, name: M, nameTitle: N, email: P, phone: F, firmName: I, postal: R, city: oe, address: pe, country: B, remark: ye, allergies: xe, roomSelect: Se, roomDisplay: Ce, hasValidRoomSelection: we, availabilityData: V, selectionHasNoAddons: je, isAvailabilityDataAvailable: Pe, getSelectedPackageRooms: Be, selectedPackage: Ue, isSearchOutdated: We, isTemplateReservation: Ke, newsMails: U, adultsMismatch: qe, childrenMismatch: Xe, totalAdults: Ze, totalChildren: Qe, hasGuestDiscountId: tt, hasGuestDiscountCode: nt, guestDiscountId: rt, guestDiscountName: it, guestDiscountCode: at, hasMemberCards: ot, memberCardList: st, selectedMemberCard: ct, memberCardControlNumber: lt, memberCardNumber: ut, selectedMemberCardObject: dt, selectedMemberCardData: ft, discountCode: pt, discountPayload: mt } = C(ge()), { isHostedCheckoutActive: ht } = C(De()), { adults: gt, children: _t, location: W, arrivalDate: G, departureDate: vt, hasHotelLocations: yt } = C(se()), { isValidHotelId: bt, updateDates: xt } = se(), { currency: q, enableTracking: St, disableNamePrefix: Ct, disableTravelingFor: wt, disableTravelingForBleasure: Tt, disableCompanyField: Et, hasPaymentGateway: Dt, maxAdultAmount: J, maxChildAmount: Ot, defaultAdultAmount: kt, defaultChildAmount: At, disableNewsletterSignup: jt, hasActiveIdFilter: Mt, hotelSettings: Nt } = C(le()), { hasArrivalDepartureInputs: Pt, hasUserArrivalSelection: Ft, hasUserDepartureSelection: It, earliestArrivalTime: Lt, latestArrivalTime: Rt, earliestDepartureTime: zt, latestDepartureTime: Bt, hasSharedAddonSelection: Vt, setActiveIdFilter: Y, clearActiveIdFilter: X } = le(), { beginCheckout: Ut } = ce(), { display: Wt } = he(), { createReservation: Kt, fetchMetadata: qt, fetchAvailabilityData: Jt, filterAddons: Z, hasAvailableRoomAddons: Xt, checkGuestDiscount: Zt, setGuestDiscountCode: Qt, validateMemberCard: $t, onOverviewReset: en, validateDiscountCode: tn, reservationPayload: nn } = ge();
|
|
6994
|
+
Re.useHttpClient(Ve(ve()));
|
|
6995
|
+
let rn = Ie("post", "/hotel/create-reservation", nn());
|
|
6996
|
+
rn.setValidationTimeout(600);
|
|
7000
6997
|
function Q(e) {
|
|
7001
|
-
|
|
6998
|
+
rn.setData(nn()), rn.validate(e);
|
|
7002
6999
|
}
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7000
|
+
function an(e) {
|
|
7001
|
+
return rn.errors[e];
|
|
7002
|
+
}
|
|
7003
|
+
ae(M, () => Q("guest.name")), ae(P, () => Q("guest.email")), ae(F, () => Q("guest.phone")), ae(B, () => Q("guest.country")), ae(pe, () => Q("guest.address1")), ae(R, () => Q("guest.postal")), ae(oe, () => Q("guest.city"));
|
|
7004
|
+
let on = n(() => o.sortOrder === "desc");
|
|
7005
|
+
function sn(e) {
|
|
7006
7006
|
let t = [];
|
|
7007
|
-
return
|
|
7007
|
+
return Vt(f.value) ? (e?.forEach((e) => {
|
|
7008
7008
|
let n = t.find((t) => t.configIdx === e.configIdx);
|
|
7009
7009
|
n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
|
|
7010
7010
|
}), t) : e ?? [];
|
|
7011
7011
|
}
|
|
7012
|
-
let
|
|
7012
|
+
let cn = n(() => {
|
|
7013
7013
|
let e = [];
|
|
7014
|
-
return
|
|
7014
|
+
return Vt(f.value) ? te.value.forEach((t) => {
|
|
7015
7015
|
let n = e.find((e) => e.roomGroupId === t.roomGroupId);
|
|
7016
7016
|
n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
|
|
7017
7017
|
}) : te.value.forEach((t, n) => {
|
|
@@ -7021,7 +7021,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7021
7021
|
unitTotal: te.value.filter((e) => e.roomGroupId === t.roomGroupId).length
|
|
7022
7022
|
});
|
|
7023
7023
|
}), e;
|
|
7024
|
-
}),
|
|
7024
|
+
}), ln = n(() => [
|
|
7025
7025
|
{
|
|
7026
7026
|
id: "availability",
|
|
7027
7027
|
label: c("booking.availability.title"),
|
|
@@ -7046,7 +7046,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7046
7046
|
label: c("booking.confirmation.title"),
|
|
7047
7047
|
icon: "calendar-check"
|
|
7048
7048
|
}
|
|
7049
|
-
]),
|
|
7049
|
+
]), un = n(() => {
|
|
7050
7050
|
let e = [{
|
|
7051
7051
|
label: c("booking.reservation.business"),
|
|
7052
7052
|
value: "Business"
|
|
@@ -7054,111 +7054,114 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7054
7054
|
label: c("booking.reservation.pleasure"),
|
|
7055
7055
|
value: "Pleasure"
|
|
7056
7056
|
}];
|
|
7057
|
-
return
|
|
7057
|
+
return Tt.value || e.push({
|
|
7058
7058
|
label: c("booking.reservation.bleasure"),
|
|
7059
7059
|
value: "Bleasure"
|
|
7060
7060
|
}), e;
|
|
7061
|
-
}),
|
|
7061
|
+
}), dn = n(() => {
|
|
7062
7062
|
let e = V.value.roomGroups.slice();
|
|
7063
7063
|
function t(e, t) {
|
|
7064
|
-
return
|
|
7064
|
+
return on.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
7065
7065
|
}
|
|
7066
|
-
return o.sortBy === "price" && (e = e.sort(t)),
|
|
7066
|
+
return o.sortBy === "price" && (e = e.sort(t)), e.reduce((e, t) => {
|
|
7067
|
+
let n = t.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms";
|
|
7068
|
+
return (e[n] ??= []).push(t), e;
|
|
7069
|
+
}, {});
|
|
7067
7070
|
});
|
|
7068
|
-
function
|
|
7071
|
+
function fn(e) {
|
|
7069
7072
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7070
7073
|
}
|
|
7071
|
-
let
|
|
7074
|
+
let mn = n(() => {
|
|
7072
7075
|
let e = V.value.templates.slice();
|
|
7073
7076
|
return o.sortBy === "price" && e.sort((e, t) => {
|
|
7074
|
-
let n =
|
|
7075
|
-
return
|
|
7077
|
+
let n = fn(e), r = fn(t);
|
|
7078
|
+
return on.value ? r - n : n - r;
|
|
7076
7079
|
}), e;
|
|
7077
|
-
}),
|
|
7080
|
+
}), hn = n(() => {
|
|
7078
7081
|
let e = V.value.specialTemplates.slice();
|
|
7079
7082
|
return o.sortBy === "price" && e.sort((e, t) => {
|
|
7080
|
-
let n =
|
|
7081
|
-
return
|
|
7083
|
+
let n = fn(e), r = fn(t);
|
|
7084
|
+
return on.value ? r - n : n - r;
|
|
7082
7085
|
}), e;
|
|
7083
|
-
}),
|
|
7084
|
-
function
|
|
7086
|
+
}), gn = n(() => o.hideAddons === "yes" || Ke.value && o.hideAddons === "packages" || !Ke.value && o.hideAddons === "rooms");
|
|
7087
|
+
function _n(e) {
|
|
7085
7088
|
let t = $.discount;
|
|
7086
|
-
t ? (
|
|
7089
|
+
t ? (pt.value = t, tn()) : nt.value && !mt.value && (pt.value = at.value, tn()), e();
|
|
7087
7090
|
}
|
|
7088
|
-
function
|
|
7089
|
-
|
|
7091
|
+
function vn(e) {
|
|
7092
|
+
gn.value || je.value ? e(2) : e();
|
|
7090
7093
|
}
|
|
7091
|
-
async function
|
|
7092
|
-
let n = await
|
|
7093
|
-
n &&
|
|
7094
|
+
async function yn(e, t) {
|
|
7095
|
+
let n = await Kt(e, t);
|
|
7096
|
+
n && rn.setErrors(n);
|
|
7094
7097
|
}
|
|
7095
|
-
function
|
|
7096
|
-
if ((
|
|
7097
|
-
|
|
7098
|
+
function bn() {
|
|
7099
|
+
if ((W.value === void 0 || isNaN(W.value)) && yt.value) {
|
|
7100
|
+
Wt({
|
|
7098
7101
|
message: c("alert.error.selectHotelId"),
|
|
7099
7102
|
type: "error"
|
|
7100
7103
|
});
|
|
7101
7104
|
return;
|
|
7102
7105
|
}
|
|
7103
|
-
|
|
7106
|
+
Jt();
|
|
7104
7107
|
}
|
|
7105
|
-
function
|
|
7108
|
+
function xn() {
|
|
7106
7109
|
let e = x("history", { removeNullishValues: !0 });
|
|
7107
|
-
|
|
7110
|
+
X(), e.id = void 0, Jt();
|
|
7108
7111
|
}
|
|
7109
|
-
function
|
|
7110
|
-
|
|
7112
|
+
function Sn(e) {
|
|
7113
|
+
St.value && Ut(), nt.value && !mt.value && (pt.value = at.value, tn()), gn.value || je.value ? e(2) : e();
|
|
7111
7114
|
}
|
|
7112
|
-
function
|
|
7113
|
-
let e =
|
|
7114
|
-
o.forceArrivalTime && o.forceDepartureTime && e !== void 0 &&
|
|
7115
|
+
function Cn() {
|
|
7116
|
+
let e = W.value;
|
|
7117
|
+
o.forceArrivalTime && o.forceDepartureTime && e !== void 0 && Nt.value[e] && (Nt.value[e].disableArrivalUserSelection = !0, o.forceArrivalTime && (Nt.value[e].arrivalDefault = o.forceArrivalTime), o.forceDepartureTime && (Nt.value[e].departureDefault = o.forceDepartureTime));
|
|
7115
7118
|
}
|
|
7116
7119
|
let $ = x("history", { removeNullishValues: !0 });
|
|
7117
|
-
async function
|
|
7118
|
-
|
|
7120
|
+
async function wn() {
|
|
7121
|
+
Cn();
|
|
7119
7122
|
let e = parseInt($.a), t = parseInt($.c), n = parseInt($.hid), r = parseInt($.n), i = $.ci, a = $.co, s = $.id, l = parseInt($.gid), u = $.discount, d = !1;
|
|
7120
|
-
if (isNaN(e) || (e >
|
|
7123
|
+
if (isNaN(e) || (e > J.value ? gt.value = J.value : gt.value = e, gt.value === kt.value && ($.a = void 0)), isNaN(t) || (t > Ot.value ? _t.value = Ot.value : _t.value = t, _t.value === At.value && ($.c = void 0)), isNaN(r) || r > 0 && ($.n = void 0), isNaN(n) || (bt(n) ? (W.value = n, d = !0) : ($.hid = void 0, Wt({
|
|
7121
7124
|
message: c("alert.error.hotelIdNotFound"),
|
|
7122
7125
|
type: "error"
|
|
7123
7126
|
}))), i && a) {
|
|
7124
|
-
if (
|
|
7125
|
-
let e = new Date(
|
|
7126
|
-
e <= t ? (
|
|
7127
|
+
if (fe(i) && fe(a)) {
|
|
7128
|
+
let e = new Date(be(i).setHours(12, 0, 0, 0)), t = new Date(be(a).setHours(12, 0, 0, 0));
|
|
7129
|
+
e <= t ? (G.value = e, vt.value = t) : ($.ci = void 0, $.co = void 0, Wt({
|
|
7127
7130
|
message: c("alert.error.invalidDateRange"),
|
|
7128
7131
|
type: "error"
|
|
7129
7132
|
}));
|
|
7130
|
-
} else
|
|
7133
|
+
} else Wt({
|
|
7131
7134
|
message: c("alert.error.wrongDateFormat"),
|
|
7132
7135
|
type: "error"
|
|
7133
7136
|
});
|
|
7134
7137
|
}
|
|
7135
|
-
if (s &&
|
|
7136
|
-
await
|
|
7138
|
+
if (s && Y(s), l) {
|
|
7139
|
+
await Zt(l) || delete $.gid;
|
|
7137
7140
|
return;
|
|
7138
7141
|
}
|
|
7139
|
-
u &&
|
|
7142
|
+
u && Qt(u), o.disableDefaultLocation === "yes" && d === !1 ? (W.value = void 0, f.value = NaN) : Jt();
|
|
7140
7143
|
}
|
|
7141
|
-
return (n, o) => (b(), u(
|
|
7142
|
-
default: S(() => [(b(), u(i, { onResolve:
|
|
7144
|
+
return (n, o) => (b(), u(Te, { styling: e.styling }, {
|
|
7145
|
+
default: S(() => [(b(), u(i, { onResolve: wn }, {
|
|
7143
7146
|
default: S(() => [l(r(t), {
|
|
7144
7147
|
id: "konnectio-hotel-module",
|
|
7145
7148
|
"access-token": e.accessToken,
|
|
7146
|
-
callback: r(
|
|
7149
|
+
callback: r(qt)
|
|
7147
7150
|
}, {
|
|
7148
7151
|
default: S(() => [
|
|
7149
|
-
ne(l(
|
|
7150
|
-
ne(l(
|
|
7151
|
-
ne(l(
|
|
7152
|
+
ne(l(Gt, { onCallback: wn }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !r(tt)]]),
|
|
7153
|
+
ne(l(Yt, null, null, 512), [[ee, e.requireDiscountCode === "yes" && !r(nt)]]),
|
|
7154
|
+
ne(l(et, {
|
|
7152
7155
|
layout: e.headerLayout,
|
|
7153
|
-
steps:
|
|
7154
|
-
onReset: r(
|
|
7156
|
+
steps: ln.value,
|
|
7157
|
+
onReset: r(en)
|
|
7155
7158
|
}, {
|
|
7156
|
-
availability: S(({ next: t }) => [l(
|
|
7159
|
+
availability: S(({ next: t }) => [l(Ht, {
|
|
7157
7160
|
"show-remove-room": !0,
|
|
7158
7161
|
"availability-discount": ""
|
|
7159
7162
|
}, {
|
|
7160
|
-
form: S(() => [T("div",
|
|
7161
|
-
T("div",
|
|
7163
|
+
form: S(() => [T("div", Rn, [
|
|
7164
|
+
T("div", zn, [l(Ge, {
|
|
7162
7165
|
booking: !0,
|
|
7163
7166
|
"selected-location": Number(e.selectedLocation),
|
|
7164
7167
|
"disable-default-location": e.disableDefaultLocation === "yes",
|
|
@@ -7168,19 +7171,19 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7168
7171
|
"disable-default-location",
|
|
7169
7172
|
"hide-locations"
|
|
7170
7173
|
])]),
|
|
7171
|
-
r(
|
|
7172
|
-
r(
|
|
7173
|
-
r(
|
|
7174
|
+
r(tt) ? (b(), m("div", Bn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(it) ? r(it) : r(rt)}</b>` }) }, null, 8, Vn)])) : d("", !0),
|
|
7175
|
+
r(nt) ? (b(), m("div", Hn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(at)}</b>` }) }, null, 8, Un)])) : d("", !0),
|
|
7176
|
+
r(Mt) ? (b(), m("div", Wn, [T("span", null, [s(h(r(c)("general.filteredListingNotice")) + " ", 1), T("button", {
|
|
7174
7177
|
class: "link",
|
|
7175
|
-
onClick: o[0] ||= (e) =>
|
|
7178
|
+
onClick: o[0] ||= (e) => xn()
|
|
7176
7179
|
}, h(r(c)("general.filteredListingShowAll")), 1)])])) : d("", !0),
|
|
7177
7180
|
d("", !0),
|
|
7178
|
-
!r(ie) && r(
|
|
7179
|
-
r(V).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div",
|
|
7181
|
+
!r(ie) && r(Pe) ? (b(), m("div", Gn, [dn.value.camping && dn.value.camping.length > 0 && e.onlyShow !== "non-camping" || dn.value.rooms && dn.value.rooms.length > 0 || r(V).templates.length > 0 || r(V).specialTemplates.length > 0 && !r(Mt) ? (b(), m("div", Kn, [
|
|
7182
|
+
r(V).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div", qn, [e.onlyShow === "packages" ? d("", !0) : (b(), m("h2", Jn, [l(H, {
|
|
7180
7183
|
icon: "box",
|
|
7181
7184
|
type: "fal",
|
|
7182
7185
|
color: "header"
|
|
7183
|
-
}), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])), T("ul",
|
|
7186
|
+
}), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])), T("ul", Yn, [(b(!0), m(a, null, w(mn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), u(En, {
|
|
7184
7187
|
key: n,
|
|
7185
7188
|
id: n,
|
|
7186
7189
|
description: o,
|
|
@@ -7200,28 +7203,28 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7200
7203
|
"callback",
|
|
7201
7204
|
"hide-addons"
|
|
7202
7205
|
]))), 128))])])) : d("", !0),
|
|
7203
|
-
r(V).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div",
|
|
7206
|
+
r(V).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div", Xn, [dn.value.rooms && e.onlyShow !== "camping" ? (b(), m(a, { key: 0 }, [r(V).templates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("h2", Zn, [l(H, {
|
|
7204
7207
|
icon: "house",
|
|
7205
7208
|
type: "fal",
|
|
7206
7209
|
color: "header"
|
|
7207
|
-
}), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul",
|
|
7210
|
+
}), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul", Qn, [(b(!0), m(a, null, w(dn.value.rooms, (e, n) => (b(), u(pn, {
|
|
7208
7211
|
room: e,
|
|
7209
7212
|
key: n,
|
|
7210
7213
|
callback: t
|
|
7211
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0),
|
|
7214
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0), dn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), m(a, { key: 1 }, [r(V).templates.length > 0 && e.onlyShow !== "camping" ? (b(), m("h2", $n, [l(H, {
|
|
7212
7215
|
icon: "map-location-dot",
|
|
7213
7216
|
type: "fal",
|
|
7214
7217
|
color: "header"
|
|
7215
|
-
}), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul",
|
|
7218
|
+
}), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul", er, [(b(!0), m(a, null, w(dn.value.camping, (e, n) => (b(), u(pn, {
|
|
7216
7219
|
room: e,
|
|
7217
7220
|
key: n,
|
|
7218
7221
|
callback: t
|
|
7219
7222
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0)])) : d("", !0),
|
|
7220
|
-
r(
|
|
7223
|
+
r(Mt) ? d("", !0) : (b(), m(a, { key: 2 }, [r(V).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("div", tr, [T("h2", nr, [l(H, {
|
|
7221
7224
|
icon: "sparkles",
|
|
7222
7225
|
type: "fal",
|
|
7223
7226
|
color: "header"
|
|
7224
|
-
}), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul",
|
|
7227
|
+
}), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul", rr, [(b(!0), m(a, null, w(hn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), u(kn, {
|
|
7225
7228
|
key: e,
|
|
7226
7229
|
id: e,
|
|
7227
7230
|
description: i,
|
|
@@ -7241,17 +7244,17 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7241
7244
|
"weekendFee",
|
|
7242
7245
|
"room-groups"
|
|
7243
7246
|
]))), 128))])])) : d("", !0)], 64)),
|
|
7244
|
-
(r(V).templates.length === 0 && e.onlyShow !== "rooms" || r(V).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div",
|
|
7245
|
-
])) : r(V).nextAvailableDates.length > 0 ? (b(), m("div",
|
|
7246
|
-
T("div",
|
|
7247
|
-
T("h2",
|
|
7247
|
+
(r(V).templates.length === 0 && e.onlyShow !== "rooms" || r(V).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div", ir, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)])) : d("", !0)
|
|
7248
|
+
])) : r(V).nextAvailableDates.length > 0 ? (b(), m("div", ar, [
|
|
7249
|
+
T("div", or, [T("span", { innerHTML: r(c)("hotel.everyRoomIsBooked") }, null, 8, sr)]),
|
|
7250
|
+
T("h2", cr, [l(H, {
|
|
7248
7251
|
icon: "calendar-circle-exclamation",
|
|
7249
7252
|
type: "fal",
|
|
7250
7253
|
color: "header"
|
|
7251
7254
|
}), T("span", null, h(r(c)("booking.availability.nextAvailableDates")), 1)]),
|
|
7252
|
-
T("ul",
|
|
7253
|
-
T("h3", { title: `${r(
|
|
7254
|
-
T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li",
|
|
7255
|
+
T("ul", lr, [(b(!0), m(a, null, w(r(V).nextAvailableDates, (e, t) => (b(), m("li", { key: t }, [
|
|
7256
|
+
T("h3", { title: `${r(z)(e.fromDate, 0, !0)} - ${r(z)(e.toDate, 0, !0)}` }, [T("span", null, h(`${r(z)(e.fromDate, 0, !0)} - ${r(z)(e.toDate, 0, !0)}`), 1)], 8, ur),
|
|
7257
|
+
T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", dr, [l(H, {
|
|
7255
7258
|
icon: "house",
|
|
7256
7259
|
type: "fal",
|
|
7257
7260
|
color: "header"
|
|
@@ -7259,71 +7262,71 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7259
7262
|
icon: "money-bill",
|
|
7260
7263
|
type: "fal",
|
|
7261
7264
|
color: "header"
|
|
7262
|
-
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(
|
|
7263
|
-
l(
|
|
7265
|
+
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(Me)(e.priceStartFrom, r(q))), 1)])]),
|
|
7266
|
+
l(Ne, {
|
|
7264
7267
|
label: r(c)("booking.availability.selectDates"),
|
|
7265
7268
|
"full-width": "",
|
|
7266
|
-
onClickEvent: (t) => r(
|
|
7269
|
+
onClickEvent: (t) => r(xt)(r(be)(e.fromDate), r(be)(e.toDate))
|
|
7267
7270
|
}, null, 8, ["label", "onClickEvent"])
|
|
7268
7271
|
]))), 128))])
|
|
7269
|
-
])) : (b(), m("div",
|
|
7270
|
-
l(
|
|
7271
|
-
l(
|
|
7272
|
-
l(
|
|
7272
|
+
])) : (b(), m("div", fr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(r(f)) && !r(ie) ? (b(), m("div", pr, [T("span", null, h(r(c)("alert.info.selectHotelToStart")), 1)])) : (b(), m("div", mr, [
|
|
7273
|
+
l($e),
|
|
7274
|
+
l($e),
|
|
7275
|
+
l($e)
|
|
7273
7276
|
]))
|
|
7274
7277
|
])]),
|
|
7275
7278
|
navigation: S(() => [
|
|
7276
|
-
r(
|
|
7279
|
+
r(We) ? (b(), u(Ne, {
|
|
7277
7280
|
key: 0,
|
|
7278
7281
|
label: isNaN(r(f)) ? r(c)("availability.buttonLabel") : r(c)("general.searchAgain"),
|
|
7279
7282
|
"is-loading": r(ie),
|
|
7280
7283
|
"full-width": "",
|
|
7281
|
-
onClickEvent: o[2] ||= (e) =>
|
|
7282
|
-
}, null, 8, ["label", "is-loading"])) : (b(), u(
|
|
7284
|
+
onClickEvent: o[2] ||= (e) => bn()
|
|
7285
|
+
}, null, 8, ["label", "is-loading"])) : (b(), u(Ne, {
|
|
7283
7286
|
key: 1,
|
|
7284
|
-
label: r(je) ||
|
|
7285
|
-
disabled: !r(
|
|
7287
|
+
label: r(je) || gn.value ? r(c)("booking.availability.nextButton") : r(c)("general.chooseAddons"),
|
|
7288
|
+
disabled: !r(we),
|
|
7286
7289
|
"full-width": "",
|
|
7287
|
-
onClickEvent: (e) =>
|
|
7290
|
+
onClickEvent: (e) => Sn(t)
|
|
7288
7291
|
}, null, 8, [
|
|
7289
7292
|
"label",
|
|
7290
7293
|
"disabled",
|
|
7291
7294
|
"onClickEvent"
|
|
7292
7295
|
])),
|
|
7293
|
-
ne(T("span",
|
|
7296
|
+
ne(T("span", hr, [l(H, {
|
|
7294
7297
|
icon: "exclamation-triangle",
|
|
7295
7298
|
type: "fas"
|
|
7296
7299
|
}), T("span", null, h(r(c)("hotel.mismatchingAdults", {
|
|
7297
|
-
searchAdults: r(
|
|
7298
|
-
selectedAdults: r(
|
|
7299
|
-
})), 1)], 512), [[ee, r(
|
|
7300
|
-
ne(T("span",
|
|
7300
|
+
searchAdults: r(gt),
|
|
7301
|
+
selectedAdults: r(Ze)
|
|
7302
|
+
})), 1)], 512), [[ee, r(qe)]]),
|
|
7303
|
+
ne(T("span", gr, [l(H, {
|
|
7301
7304
|
icon: "exclamation-triangle",
|
|
7302
7305
|
type: "fas"
|
|
7303
7306
|
}), T("span", null, h(r(c)("hotel.mismatchingChildren", {
|
|
7304
|
-
searchChildren: r(
|
|
7305
|
-
selectedChildren: r(
|
|
7306
|
-
})), 1)], 512), [[ee, r(
|
|
7307
|
+
searchChildren: r(_t),
|
|
7308
|
+
selectedChildren: r(Qe)
|
|
7309
|
+
})), 1)], 512), [[ee, r(Xe)]])
|
|
7307
7310
|
]),
|
|
7308
7311
|
_: 2
|
|
7309
7312
|
}, 1024)]),
|
|
7310
|
-
addons: S(({ next: e, prev: t }) => [r(
|
|
7313
|
+
addons: S(({ next: e, prev: t }) => [r(Pe) ? (b(), u(Ht, {
|
|
7311
7314
|
key: 0,
|
|
7312
|
-
"prev-callback": () =>
|
|
7315
|
+
"prev-callback": () => vn(t)
|
|
7313
7316
|
}, {
|
|
7314
|
-
form: S(() => [T("form",
|
|
7317
|
+
form: S(() => [T("form", _r, [
|
|
7315
7318
|
T("h2", null, [T("span", null, h(r(c)("booking.reservation.addons")), 1)]),
|
|
7316
|
-
r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div",
|
|
7319
|
+
r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div", vr, [T("p", {
|
|
7317
7320
|
innerHTML: r(c)("hotel.addonTopNotice"),
|
|
7318
7321
|
class: "konnectio-wysiwyg"
|
|
7319
|
-
}, null, 8,
|
|
7320
|
-
T("div", null, [isNaN(r(p)) ? (b(), m("div",
|
|
7322
|
+
}, null, 8, yr)])) : d("", !0),
|
|
7323
|
+
T("div", null, [isNaN(r(p)) ? (b(), m("div", br, [(b(!0), m(a, null, w(r(Ce), (e) => (b(), m(a, { key: e.roomGroupID }, [r(Xt)(e) ? (b(), m("ul", xr, [(b(!0), m(a, null, w(e.variants, (t, n) => (b(), m("li", { key: t.ratePlanID }, [T("h4", null, [T("span", null, h(r(me)(e.title)), 1)]), (b(!0), m(a, null, w(sn(t.rooms), (i) => (b(), m("table", {
|
|
7321
7324
|
key: `${i.configIdx}-${i.roomIdx}`,
|
|
7322
7325
|
class: "konnectio-table with-lines without-header"
|
|
7323
7326
|
}, [T("thead", null, [T("tr", null, [
|
|
7324
|
-
T("th", null, [T("span", null, h(r(
|
|
7327
|
+
T("th", null, [T("span", null, h(r(me)(t.name)), 1)]),
|
|
7325
7328
|
d("", !0),
|
|
7326
|
-
T("th",
|
|
7329
|
+
T("th", Sr, [T("b", null, [
|
|
7327
7330
|
l(H, {
|
|
7328
7331
|
icon: "male",
|
|
7329
7332
|
type: "fas",
|
|
@@ -7336,115 +7339,115 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7336
7339
|
type: "fas",
|
|
7337
7340
|
color: "font"
|
|
7338
7341
|
})) : d("", !0),
|
|
7339
|
-
i.childrenCount > 0 ? (b(), m("span",
|
|
7342
|
+
i.childrenCount > 0 ? (b(), m("span", Cr, h(i.childrenCount), 1)) : d("", !0)
|
|
7340
7343
|
])])
|
|
7341
|
-
])]), T("tbody", null, [(b(!0), m(a, null, w(r(
|
|
7344
|
+
])]), T("tbody", null, [(b(!0), m(a, null, w(r(Z)(t.addons, i.childrenCount), ({ cardinality: t, quantityStrategy: o, maximumNumber: s, id: c, name: f, price: p, image: g, description: _ }) => (b(), m("tr", { key: c }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": g }]) }, [g ? (b(), m("div", wr, [l(r(K), {
|
|
7342
7345
|
src: g,
|
|
7343
7346
|
"zoom-scale": 1
|
|
7344
7347
|
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7345
|
-
T("b", null, h(r(
|
|
7346
|
-
T("span", null, h(r(
|
|
7348
|
+
T("b", null, h(r(me)(f)), 1),
|
|
7349
|
+
T("span", null, h(r(Me)(p, r(q))) + " " + h(r(ue)(o)), 1),
|
|
7347
7350
|
_ ? (b(), m("p", {
|
|
7348
7351
|
key: 0,
|
|
7349
|
-
innerHTML: r(
|
|
7350
|
-
}, null, 8,
|
|
7351
|
-
])], 2), T("td",
|
|
7352
|
+
innerHTML: r(_e)(_)
|
|
7353
|
+
}, null, 8, Tr)) : d("", !0)
|
|
7354
|
+
])], 2), T("td", Er, [r(Se)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx] ? (b(), m(a, { key: 0 }, [t === r(Oe).Mandatory ? (b(), u(Ae, {
|
|
7352
7355
|
key: 0,
|
|
7353
7356
|
"model-value": 1,
|
|
7354
7357
|
small: !0,
|
|
7355
7358
|
"min-value": 1,
|
|
7356
7359
|
"max-value": 1,
|
|
7357
7360
|
readonly: ""
|
|
7358
|
-
})) : (b(), u(
|
|
7361
|
+
})) : (b(), u(Ae, {
|
|
7359
7362
|
key: 1,
|
|
7360
|
-
modelValue: r(
|
|
7361
|
-
"onUpdate:modelValue": (t) => r(
|
|
7363
|
+
modelValue: r(Se)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][c],
|
|
7364
|
+
"onUpdate:modelValue": (t) => r(Se)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][c] = t,
|
|
7362
7365
|
small: !0,
|
|
7363
7366
|
"min-value": 0,
|
|
7364
|
-
"max-value": r(
|
|
7367
|
+
"max-value": r(de)(t, s)
|
|
7365
7368
|
}, null, 8, [
|
|
7366
7369
|
"modelValue",
|
|
7367
7370
|
"onUpdate:modelValue",
|
|
7368
7371
|
"max-value"
|
|
7369
|
-
]))], 64)) : d("", !0)])]))), 128))])]))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(te).length > 0 ? (b(), m("div",
|
|
7372
|
+
]))], 64)) : d("", !0)])]))), 128))])]))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(te).length > 0 ? (b(), m("div", Dr, [T("div", null, [T("h4", null, [T("span", null, h(r(Ue)?.name), 1)]), (b(!0), m(a, null, w(cn.value, (e) => (b(), m("table", {
|
|
7370
7373
|
key: `${e.roomGroupId}-${e.configIdx}`,
|
|
7371
7374
|
class: "konnectio-table with-lines without-header"
|
|
7372
7375
|
}, [T("thead", null, [T("tr", null, [
|
|
7373
|
-
T("th", null, [T("span", null, h(r(
|
|
7376
|
+
T("th", null, [T("span", null, h(r(me)(r(Be).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), m("span", Or, "(" + h(r(c)("booking.reservation.room")) + " " + h(e.unitNumber) + ")", 1)) : d("", !0)]),
|
|
7374
7377
|
d("", !0),
|
|
7375
7378
|
o[24] ||= T("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7376
|
-
])]), T("tbody", null, [(b(!0), m(a, null, w(r(
|
|
7379
|
+
])]), T("tbody", null, [(b(!0), m(a, null, w(r(Z)(r(Be).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: i, id: a, name: o, price: s, description: c, image: f }) => (b(), m("tr", { key: a }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": f }]) }, [f ? (b(), m("div", kr, [l(r(K), {
|
|
7377
7380
|
src: f,
|
|
7378
7381
|
"zoom-scale": 1
|
|
7379
7382
|
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7380
|
-
T("b", null, h(r(
|
|
7381
|
-
T("span", null, h(r(
|
|
7383
|
+
T("b", null, h(r(me)(o)), 1),
|
|
7384
|
+
T("span", null, h(r(Me)(s, r(q))) + " " + h(r(ue)(n)), 1),
|
|
7382
7385
|
c ? (b(), m("p", {
|
|
7383
7386
|
key: 0,
|
|
7384
|
-
innerHTML: r(
|
|
7385
|
-
}, null, 8,
|
|
7386
|
-
])], 2), T("td",
|
|
7387
|
+
innerHTML: r(_e)(c)
|
|
7388
|
+
}, null, 8, Ar)) : d("", !0)
|
|
7389
|
+
])], 2), T("td", jr, [t === r(Oe).Mandatory ? (b(), u(Ae, {
|
|
7387
7390
|
key: 0,
|
|
7388
7391
|
"model-value": 1,
|
|
7389
7392
|
small: !0,
|
|
7390
7393
|
"min-value": 1,
|
|
7391
7394
|
"max-value": 1,
|
|
7392
7395
|
readonly: ""
|
|
7393
|
-
})) : (b(), u(
|
|
7396
|
+
})) : (b(), u(Ae, {
|
|
7394
7397
|
key: 1,
|
|
7395
7398
|
modelValue: r(g)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
|
|
7396
7399
|
"onUpdate:modelValue": (t) => r(g)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
|
|
7397
7400
|
small: !0,
|
|
7398
7401
|
"min-value": 0,
|
|
7399
|
-
"max-value": r(
|
|
7402
|
+
"max-value": r(de)(t, i)
|
|
7400
7403
|
}, null, 8, [
|
|
7401
7404
|
"modelValue",
|
|
7402
7405
|
"onUpdate:modelValue",
|
|
7403
7406
|
"max-value"
|
|
7404
7407
|
]))])]))), 128))])]))), 128))])])) : d("", !0)])
|
|
7405
7408
|
])]),
|
|
7406
|
-
navigation: S(() => [l(
|
|
7409
|
+
navigation: S(() => [l(Ne, {
|
|
7407
7410
|
label: r(c)("general.startReservation"),
|
|
7408
7411
|
"full-width": "",
|
|
7409
|
-
onClickEvent: (t) =>
|
|
7412
|
+
onClickEvent: (t) => _n(e)
|
|
7410
7413
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7411
7414
|
_: 2
|
|
7412
7415
|
}, 1032, ["prev-callback"])) : d("", !0)]),
|
|
7413
|
-
reservation: S(({ next: t, prev: n, reset: i }) => [r(
|
|
7416
|
+
reservation: S(({ next: t, prev: n, reset: i }) => [r(Pe) ? (b(), u(Ht, {
|
|
7414
7417
|
key: 0,
|
|
7415
|
-
"prev-callback": () =>
|
|
7418
|
+
"prev-callback": () => vn(n),
|
|
7416
7419
|
"show-terms-notice": !0,
|
|
7417
7420
|
"show-gift-card": !0
|
|
7418
7421
|
}, {
|
|
7419
|
-
form: S(() => [T("form",
|
|
7422
|
+
form: S(() => [T("form", Mr, [
|
|
7420
7423
|
T("h2", null, [T("span", null, h(r(c)("booking.reservation.detailsTitle")), 1)]),
|
|
7421
|
-
r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div",
|
|
7424
|
+
r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div", Nr, [T("p", {
|
|
7422
7425
|
innerHTML: r(c)("hotel.reservationTopNotice"),
|
|
7423
7426
|
class: "konnectio-wysiwyg"
|
|
7424
|
-
}, null, 8,
|
|
7425
|
-
r(
|
|
7427
|
+
}, null, 8, Pr)])) : d("", !0),
|
|
7428
|
+
r(Pt)(r(f)) && r(Ft)(r(f)) && r(It)(r(f)) ? (b(), m("ul", {
|
|
7426
7429
|
key: 1,
|
|
7427
|
-
class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(
|
|
7428
|
-
}, [r(
|
|
7429
|
-
modelValue: r(
|
|
7430
|
-
"onUpdate:modelValue": o[3] ||= (e) => y(
|
|
7430
|
+
class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(Ft)(r(f)) && r(It)(r(f)) }])
|
|
7431
|
+
}, [r(Ft)(r(f)) ? (b(), m("li", Fr, [l(An, {
|
|
7432
|
+
modelValue: r(A),
|
|
7433
|
+
"onUpdate:modelValue": o[3] ||= (e) => y(A) ? A.value = e : null,
|
|
7431
7434
|
label: r(c)("booking.reservation.arrivalTime"),
|
|
7432
7435
|
icon: "hourglass-start",
|
|
7433
|
-
"min-time": r(
|
|
7434
|
-
"max-time": r(
|
|
7436
|
+
"min-time": r(Lt)(r(f)),
|
|
7437
|
+
"max-time": r(Rt)(r(f)),
|
|
7435
7438
|
required: ""
|
|
7436
7439
|
}, null, 8, [
|
|
7437
7440
|
"modelValue",
|
|
7438
7441
|
"label",
|
|
7439
7442
|
"min-time",
|
|
7440
7443
|
"max-time"
|
|
7441
|
-
])])) : d("", !0), r(
|
|
7442
|
-
modelValue: r(
|
|
7443
|
-
"onUpdate:modelValue": o[4] ||= (e) => y(
|
|
7444
|
+
])])) : d("", !0), r(It)(r(f)) ? (b(), m("li", Ir, [l(An, {
|
|
7445
|
+
modelValue: r(j),
|
|
7446
|
+
"onUpdate:modelValue": o[4] ||= (e) => y(j) ? j.value = e : null,
|
|
7444
7447
|
label: r(c)("booking.reservation.departureTime"),
|
|
7445
7448
|
icon: "hourglass-end",
|
|
7446
|
-
"min-time": r(
|
|
7447
|
-
"max-time": r(
|
|
7449
|
+
"min-time": r(zt)(r(f)),
|
|
7450
|
+
"max-time": r(Bt)(r(f)),
|
|
7448
7451
|
required: ""
|
|
7449
7452
|
}, null, 8, [
|
|
7450
7453
|
"modelValue",
|
|
@@ -7452,16 +7455,16 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7452
7455
|
"min-time",
|
|
7453
7456
|
"max-time"
|
|
7454
7457
|
])])) : d("", !0)], 2)) : d("", !0),
|
|
7455
|
-
l(
|
|
7456
|
-
modelValue: r(
|
|
7457
|
-
"onUpdate:modelValue": o[5] ||= (e) => y(
|
|
7458
|
-
title: r(
|
|
7459
|
-
"onUpdate:title": o[6] ||= (e) => y(
|
|
7460
|
-
"exclude-title": r(
|
|
7458
|
+
l(Nn, {
|
|
7459
|
+
modelValue: r(M),
|
|
7460
|
+
"onUpdate:modelValue": o[5] ||= (e) => y(M) ? M.value = e : null,
|
|
7461
|
+
title: r(N),
|
|
7462
|
+
"onUpdate:title": o[6] ||= (e) => y(N) ? N.value = e : null,
|
|
7463
|
+
"exclude-title": r(Ct),
|
|
7461
7464
|
label: r(c)("booking.reservation.name"),
|
|
7462
7465
|
icon: "user-alt",
|
|
7463
7466
|
placeholder: r(c)("booking.reservation.namePlaceholder"),
|
|
7464
|
-
error:
|
|
7467
|
+
error: an("guest.name"),
|
|
7465
7468
|
required: ""
|
|
7466
7469
|
}, null, 8, [
|
|
7467
7470
|
"modelValue",
|
|
@@ -7471,9 +7474,9 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7471
7474
|
"placeholder",
|
|
7472
7475
|
"error"
|
|
7473
7476
|
]),
|
|
7474
|
-
l(
|
|
7475
|
-
modelValue: r(
|
|
7476
|
-
"onUpdate:modelValue": o[7] ||= (e) => y(
|
|
7477
|
+
l(ke, {
|
|
7478
|
+
modelValue: r(P),
|
|
7479
|
+
"onUpdate:modelValue": o[7] ||= (e) => y(P) ? P.value = e : null,
|
|
7477
7480
|
type: "email",
|
|
7478
7481
|
name: "email",
|
|
7479
7482
|
autocomplete: "email",
|
|
@@ -7481,7 +7484,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7481
7484
|
label: r(c)("booking.reservation.email"),
|
|
7482
7485
|
icon: "at",
|
|
7483
7486
|
placeholder: r(c)("booking.reservation.emailPlaceholder"),
|
|
7484
|
-
error:
|
|
7487
|
+
error: an("guest.email"),
|
|
7485
7488
|
required: ""
|
|
7486
7489
|
}, null, 8, [
|
|
7487
7490
|
"modelValue",
|
|
@@ -7489,17 +7492,17 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7489
7492
|
"placeholder",
|
|
7490
7493
|
"error"
|
|
7491
7494
|
]),
|
|
7492
|
-
r(
|
|
7493
|
-
modelValue: r(
|
|
7494
|
-
"onUpdate:modelValue": o[8] ||= (e) => y(
|
|
7495
|
+
r(jt) ? d("", !0) : (b(), m("div", Lr, [l(Le, {
|
|
7496
|
+
modelValue: r(U),
|
|
7497
|
+
"onUpdate:modelValue": o[8] ||= (e) => y(U) ? U.value = e : null,
|
|
7495
7498
|
type: "checkbox",
|
|
7496
7499
|
name: "newsletter",
|
|
7497
7500
|
label: r(c)("booking.reservation.newsletterSignUp")
|
|
7498
7501
|
}, null, 8, ["modelValue", "label"])])),
|
|
7499
|
-
r(
|
|
7502
|
+
r(Et) ? d("", !0) : (b(), u(ke, {
|
|
7500
7503
|
key: 3,
|
|
7501
|
-
modelValue: r(
|
|
7502
|
-
"onUpdate:modelValue": o[9] ||= (e) => y(
|
|
7504
|
+
modelValue: r(I),
|
|
7505
|
+
"onUpdate:modelValue": o[9] ||= (e) => y(I) ? I.value = e : null,
|
|
7503
7506
|
type: "text",
|
|
7504
7507
|
name: "firm",
|
|
7505
7508
|
autocomplete: "firm",
|
|
@@ -7511,13 +7514,13 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7511
7514
|
"label",
|
|
7512
7515
|
"placeholder"
|
|
7513
7516
|
])),
|
|
7514
|
-
l(
|
|
7515
|
-
modelValue: r(
|
|
7516
|
-
"onUpdate:modelValue": o[10] ||= (e) => y(
|
|
7517
|
+
l(Fe, {
|
|
7518
|
+
modelValue: r(F),
|
|
7519
|
+
"onUpdate:modelValue": o[10] ||= (e) => y(F) ? F.value = e : null,
|
|
7517
7520
|
icon: "phone-office",
|
|
7518
7521
|
label: r(c)("booking.reservation.phone"),
|
|
7519
7522
|
placeholder: r(c)("booking.reservation.phonePlaceholder"),
|
|
7520
|
-
error:
|
|
7523
|
+
error: an("guest.phone"),
|
|
7521
7524
|
required: ""
|
|
7522
7525
|
}, null, 8, [
|
|
7523
7526
|
"modelValue",
|
|
@@ -7525,13 +7528,13 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7525
7528
|
"placeholder",
|
|
7526
7529
|
"error"
|
|
7527
7530
|
]),
|
|
7528
|
-
l(
|
|
7531
|
+
l(Mn, {
|
|
7529
7532
|
modelValue: r(B),
|
|
7530
7533
|
"onUpdate:modelValue": o[11] ||= (e) => y(B) ? B.value = e : null,
|
|
7531
7534
|
label: r(c)("booking.reservation.country"),
|
|
7532
7535
|
placeholder: r(c)("booking.reservation.countryPlaceholder"),
|
|
7533
7536
|
options: r(re),
|
|
7534
|
-
error:
|
|
7537
|
+
error: an("guest.country"),
|
|
7535
7538
|
required: ""
|
|
7536
7539
|
}, null, 8, [
|
|
7537
7540
|
"modelValue",
|
|
@@ -7540,16 +7543,16 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7540
7543
|
"options",
|
|
7541
7544
|
"error"
|
|
7542
7545
|
]),
|
|
7543
|
-
l(
|
|
7544
|
-
modelValue: r(
|
|
7545
|
-
"onUpdate:modelValue": o[12] ||= (e) => y(
|
|
7546
|
+
l(ke, {
|
|
7547
|
+
modelValue: r(pe),
|
|
7548
|
+
"onUpdate:modelValue": o[12] ||= (e) => y(pe) ? pe.value = e : null,
|
|
7546
7549
|
type: "textarea",
|
|
7547
7550
|
name: "address",
|
|
7548
7551
|
autocomplete: "street-address",
|
|
7549
7552
|
label: r(c)("booking.reservation.streetAddress"),
|
|
7550
7553
|
icon: "map-marked",
|
|
7551
7554
|
placeholder: r(c)("booking.reservation.streetAddressPlaceholder"),
|
|
7552
|
-
error:
|
|
7555
|
+
error: an("guest.address1"),
|
|
7553
7556
|
required: ""
|
|
7554
7557
|
}, null, 8, [
|
|
7555
7558
|
"modelValue",
|
|
@@ -7557,32 +7560,32 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7557
7560
|
"placeholder",
|
|
7558
7561
|
"error"
|
|
7559
7562
|
]),
|
|
7560
|
-
T("ul",
|
|
7561
|
-
modelValue: r(
|
|
7562
|
-
"onUpdate:modelValue": o[13] ||= (e) => y(
|
|
7563
|
+
T("ul", Rr, [T("li", null, [l(ke, {
|
|
7564
|
+
modelValue: r(R),
|
|
7565
|
+
"onUpdate:modelValue": o[13] ||= (e) => y(R) ? R.value = e : null,
|
|
7563
7566
|
type: "text",
|
|
7564
7567
|
name: "postal",
|
|
7565
7568
|
autocomplete: "postal-code",
|
|
7566
7569
|
label: r(c)("booking.reservation.postal"),
|
|
7567
7570
|
icon: "mailbox",
|
|
7568
7571
|
placeholder: r(c)("booking.reservation.postalPlaceholder"),
|
|
7569
|
-
error:
|
|
7572
|
+
error: an("guest.postal"),
|
|
7570
7573
|
required: ""
|
|
7571
7574
|
}, null, 8, [
|
|
7572
7575
|
"modelValue",
|
|
7573
7576
|
"label",
|
|
7574
7577
|
"placeholder",
|
|
7575
7578
|
"error"
|
|
7576
|
-
])]), T("li", null, [l(
|
|
7577
|
-
modelValue: r(
|
|
7578
|
-
"onUpdate:modelValue": o[14] ||= (e) => y(
|
|
7579
|
+
])]), T("li", null, [l(ke, {
|
|
7580
|
+
modelValue: r(oe),
|
|
7581
|
+
"onUpdate:modelValue": o[14] ||= (e) => y(oe) ? oe.value = e : null,
|
|
7579
7582
|
type: "text",
|
|
7580
7583
|
name: "city",
|
|
7581
7584
|
autocomplete: "address-level2",
|
|
7582
7585
|
label: r(c)("booking.reservation.city"),
|
|
7583
7586
|
icon: "city",
|
|
7584
7587
|
placeholder: r(c)("booking.reservation.cityPlaceholder"),
|
|
7585
|
-
error:
|
|
7588
|
+
error: an("guest.city"),
|
|
7586
7589
|
required: ""
|
|
7587
7590
|
}, null, 8, [
|
|
7588
7591
|
"modelValue",
|
|
@@ -7590,10 +7593,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7590
7593
|
"placeholder",
|
|
7591
7594
|
"error"
|
|
7592
7595
|
])])]),
|
|
7593
|
-
e.hideRemarks === "yes" ? d("", !0) : (b(), u(
|
|
7596
|
+
e.hideRemarks === "yes" ? d("", !0) : (b(), u(ke, {
|
|
7594
7597
|
key: 4,
|
|
7595
|
-
modelValue: r(
|
|
7596
|
-
"onUpdate:modelValue": o[15] ||= (e) => y(
|
|
7598
|
+
modelValue: r(ye),
|
|
7599
|
+
"onUpdate:modelValue": o[15] ||= (e) => y(ye) ? ye.value = e : null,
|
|
7597
7600
|
type: "textarea",
|
|
7598
7601
|
label: r(c)("booking.reservation.remark"),
|
|
7599
7602
|
icon: "info-circle",
|
|
@@ -7603,10 +7606,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7603
7606
|
"label",
|
|
7604
7607
|
"placeholder"
|
|
7605
7608
|
])),
|
|
7606
|
-
e.hideAllergies === "yes" ? d("", !0) : (b(), u(
|
|
7609
|
+
e.hideAllergies === "yes" ? d("", !0) : (b(), u(ke, {
|
|
7607
7610
|
key: 5,
|
|
7608
|
-
modelValue: r(
|
|
7609
|
-
"onUpdate:modelValue": o[16] ||= (e) => y(
|
|
7611
|
+
modelValue: r(xe),
|
|
7612
|
+
"onUpdate:modelValue": o[16] ||= (e) => y(xe) ? xe.value = e : null,
|
|
7610
7613
|
type: "textarea",
|
|
7611
7614
|
label: r(c)("booking.reservation.allergies"),
|
|
7612
7615
|
icon: "allergies",
|
|
@@ -7616,36 +7619,36 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7616
7619
|
"label",
|
|
7617
7620
|
"placeholder"
|
|
7618
7621
|
])),
|
|
7619
|
-
r(
|
|
7622
|
+
r(wt) ? d("", !0) : (b(), u(Je, {
|
|
7620
7623
|
key: 6,
|
|
7621
|
-
modelValue: r(
|
|
7622
|
-
"onUpdate:modelValue": o[17] ||= (e) => y(
|
|
7624
|
+
modelValue: r(k),
|
|
7625
|
+
"onUpdate:modelValue": o[17] ||= (e) => y(k) ? k.value = e : null,
|
|
7623
7626
|
label: r(c)("booking.reservation.purposeOfStay"),
|
|
7624
7627
|
name: "travelingFor",
|
|
7625
|
-
checkboxes:
|
|
7628
|
+
checkboxes: un.value
|
|
7626
7629
|
}, null, 8, [
|
|
7627
7630
|
"modelValue",
|
|
7628
7631
|
"label",
|
|
7629
7632
|
"checkboxes"
|
|
7630
7633
|
])),
|
|
7631
|
-
r(
|
|
7632
|
-
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(
|
|
7633
|
-
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(
|
|
7634
|
-
r(
|
|
7635
|
-
])])) : (b(), m(a, { key: 1 }, [l(
|
|
7636
|
-
modelValue: r(
|
|
7637
|
-
"onUpdate:modelValue": o[18] ||= (e) => y(
|
|
7634
|
+
r(ot) ? (b(), m(a, { key: 7 }, [T("h3", null, [T("span", null, h(r(c)("hotel.memberCards.title")), 1)]), r(dt) ? (b(), m("div", zr, [T("img", { src: r(ft)?.iconUrl }, null, 8, Br), T("ul", Vr, [
|
|
7635
|
+
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(ft)?.shortDescription })), 1)]),
|
|
7636
|
+
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(dt).cardNumber), 1)]),
|
|
7637
|
+
r(dt).controlNr ? (b(), m("li", Hr, [T("span", null, h(r(c)("hotel.memberCards.controlNumber")) + ": " + h(r(dt).controlNr), 1)])) : d("", !0)
|
|
7638
|
+
])])) : (b(), m(a, { key: 1 }, [l(Je, {
|
|
7639
|
+
modelValue: r(ct),
|
|
7640
|
+
"onUpdate:modelValue": o[18] ||= (e) => y(ct) ? ct.value = e : null,
|
|
7638
7641
|
label: r(c)("hotel.memberCards.selectCard"),
|
|
7639
7642
|
name: "memberCard",
|
|
7640
|
-
checkboxes: r(
|
|
7643
|
+
checkboxes: r(st)
|
|
7641
7644
|
}, null, 8, [
|
|
7642
7645
|
"modelValue",
|
|
7643
7646
|
"label",
|
|
7644
7647
|
"checkboxes"
|
|
7645
|
-
]), r(
|
|
7646
|
-
l(
|
|
7647
|
-
modelValue: r(
|
|
7648
|
-
"onUpdate:modelValue": o[19] ||= (e) => y(
|
|
7648
|
+
]), r(ct) ? (b(), m("form", Ur, [
|
|
7649
|
+
l(ke, {
|
|
7650
|
+
modelValue: r(ut),
|
|
7651
|
+
"onUpdate:modelValue": o[19] ||= (e) => y(ut) ? ut.value = e : null,
|
|
7649
7652
|
type: "number",
|
|
7650
7653
|
label: r(c)("hotel.memberCards.cardNumber"),
|
|
7651
7654
|
icon: "credit-card",
|
|
@@ -7656,10 +7659,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7656
7659
|
"label",
|
|
7657
7660
|
"placeholder"
|
|
7658
7661
|
]),
|
|
7659
|
-
r(
|
|
7662
|
+
r(ct) === r(Ee).FirmaCard ? (b(), u(ke, {
|
|
7660
7663
|
key: 0,
|
|
7661
|
-
modelValue: r(
|
|
7662
|
-
"onUpdate:modelValue": o[20] ||= (e) => y(
|
|
7664
|
+
modelValue: r(lt),
|
|
7665
|
+
"onUpdate:modelValue": o[20] ||= (e) => y(lt) ? lt.value = e : null,
|
|
7663
7666
|
type: "text",
|
|
7664
7667
|
label: r(c)("hotel.memberCards.cardControlNumber"),
|
|
7665
7668
|
icon: "id-card",
|
|
@@ -7670,10 +7673,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7670
7673
|
"label",
|
|
7671
7674
|
"placeholder"
|
|
7672
7675
|
])) : d("", !0),
|
|
7673
|
-
r(
|
|
7676
|
+
r(ct) === r(Ee).DaneAge ? (b(), u(ke, {
|
|
7674
7677
|
key: 1,
|
|
7675
|
-
modelValue: r(
|
|
7676
|
-
"onUpdate:modelValue": o[21] ||= (e) => y(
|
|
7678
|
+
modelValue: r(R),
|
|
7679
|
+
"onUpdate:modelValue": o[21] ||= (e) => y(R) ? R.value = e : null,
|
|
7677
7680
|
type: "text",
|
|
7678
7681
|
name: "postal",
|
|
7679
7682
|
autocomplete: "postal-code",
|
|
@@ -7686,19 +7689,19 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7686
7689
|
"label",
|
|
7687
7690
|
"placeholder"
|
|
7688
7691
|
])) : d("", !0),
|
|
7689
|
-
l(
|
|
7692
|
+
l(Ne, {
|
|
7690
7693
|
label: r(c)("hotel.memberCards.validateAndSelectCard"),
|
|
7691
7694
|
"full-width": "",
|
|
7692
|
-
onClickEvent: r(
|
|
7695
|
+
onClickEvent: r($t)
|
|
7693
7696
|
}, null, 8, ["label", "onClickEvent"])
|
|
7694
7697
|
])) : d("", !0)], 64))], 64)) : d("", !0)
|
|
7695
7698
|
])]),
|
|
7696
|
-
navigation: S(() => [T("div", null, [r(
|
|
7697
|
-
label: r(
|
|
7698
|
-
disabled: !r(
|
|
7699
|
-
"is-loading": r(D) || r(
|
|
7699
|
+
navigation: S(() => [T("div", null, [r(ht) ? (b(), u(ze, { key: 0 })) : d("", !0), l(Ne, {
|
|
7700
|
+
label: r(Dt) ? r(c)("booking.reservation.nextButton") : r(c)("general.confirmReservation"),
|
|
7701
|
+
disabled: !r(O),
|
|
7702
|
+
"is-loading": r(D) || r(ht),
|
|
7700
7703
|
"full-width": "",
|
|
7701
|
-
onClickEvent: (e) =>
|
|
7704
|
+
onClickEvent: (e) => yn(t, i)
|
|
7702
7705
|
}, null, 8, [
|
|
7703
7706
|
"label",
|
|
7704
7707
|
"disabled",
|
|
@@ -7707,27 +7710,27 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7707
7710
|
])])]),
|
|
7708
7711
|
_: 2
|
|
7709
7712
|
}, 1032, ["prev-callback"])) : d("", !0)]),
|
|
7710
|
-
payment: S(({ prev: e }) => [l(
|
|
7711
|
-
confirmation: S(() => [l(
|
|
7713
|
+
payment: S(({ prev: e }) => [l(He), d("", !0)]),
|
|
7714
|
+
confirmation: S(() => [l(Ye, { message: r(c)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
|
|
7712
7715
|
_: 1
|
|
7713
7716
|
}, 8, [
|
|
7714
7717
|
"layout",
|
|
7715
7718
|
"steps",
|
|
7716
7719
|
"onReset"
|
|
7717
|
-
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(
|
|
7720
|
+
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(tt)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && r(nt))]])
|
|
7718
7721
|
]),
|
|
7719
7722
|
_: 1
|
|
7720
7723
|
}, 8, ["access-token", "callback"])]),
|
|
7721
|
-
fallback: S(() => [l(
|
|
7724
|
+
fallback: S(() => [l(Ln)]),
|
|
7722
7725
|
_: 1
|
|
7723
7726
|
}))]),
|
|
7724
7727
|
_: 1
|
|
7725
7728
|
}, 8, ["styling"]));
|
|
7726
7729
|
}
|
|
7727
|
-
}),
|
|
7730
|
+
}), Gr = /*#__PURE__*/ B(Wr, [["__scopeId", "data-v-fb02bf03"]]);
|
|
7728
7731
|
//#endregion
|
|
7729
7732
|
//#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7730
|
-
function
|
|
7733
|
+
function Kr(e, t) {
|
|
7731
7734
|
if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
|
|
7732
7735
|
let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
|
|
7733
7736
|
if (!e.plugins.get(r)) {
|
|
@@ -7736,7 +7739,7 @@ function Gr(e, t) {
|
|
|
7736
7739
|
}
|
|
7737
7740
|
}
|
|
7738
7741
|
// @__NO_SIDE_EFFECTS__
|
|
7739
|
-
function
|
|
7742
|
+
function qr(e, t = {}) {
|
|
7740
7743
|
let n = !t.document, r = /* @__PURE__ */ new Map(), i = {
|
|
7741
7744
|
_entryCount: 1,
|
|
7742
7745
|
_h: 0,
|
|
@@ -7746,7 +7749,7 @@ function Kr(e, t = {}) {
|
|
|
7746
7749
|
entries: r,
|
|
7747
7750
|
hooks: void 0,
|
|
7748
7751
|
render: () => e(i),
|
|
7749
|
-
use: (e) =>
|
|
7752
|
+
use: (e) => Kr(i, e),
|
|
7750
7753
|
push(e, t) {
|
|
7751
7754
|
let a = t?._index ?? i._entryCount++, o = t ? { ...t } : {};
|
|
7752
7755
|
delete o.head, delete o.onRendered, delete o._index;
|
|
@@ -7770,25 +7773,25 @@ function Kr(e, t = {}) {
|
|
|
7770
7773
|
}
|
|
7771
7774
|
//#endregion
|
|
7772
7775
|
//#region node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs
|
|
7773
|
-
var
|
|
7776
|
+
var Jr = /* @__PURE__ */ new Set([
|
|
7774
7777
|
"link",
|
|
7775
7778
|
"style",
|
|
7776
7779
|
"script",
|
|
7777
7780
|
"noscript"
|
|
7778
|
-
]),
|
|
7781
|
+
]), Yr = /* @__PURE__ */ new Set([
|
|
7779
7782
|
"title",
|
|
7780
7783
|
"titleTemplate",
|
|
7781
7784
|
"script",
|
|
7782
7785
|
"style",
|
|
7783
7786
|
"noscript"
|
|
7784
|
-
]),
|
|
7787
|
+
]), Xr = /* @__PURE__ */ new Set([
|
|
7785
7788
|
"base",
|
|
7786
7789
|
"meta",
|
|
7787
7790
|
"link",
|
|
7788
7791
|
"style",
|
|
7789
7792
|
"script",
|
|
7790
7793
|
"noscript"
|
|
7791
|
-
]),
|
|
7794
|
+
]), Zr = /* @__PURE__ */ new Set([
|
|
7792
7795
|
"title",
|
|
7793
7796
|
"base",
|
|
7794
7797
|
"htmlAttrs",
|
|
@@ -7798,14 +7801,14 @@ var qr = /* @__PURE__ */ new Set([
|
|
|
7798
7801
|
"style",
|
|
7799
7802
|
"script",
|
|
7800
7803
|
"noscript"
|
|
7801
|
-
]),
|
|
7804
|
+
]), Qr = /* @__PURE__ */ new Set([
|
|
7802
7805
|
"base",
|
|
7803
7806
|
"title",
|
|
7804
7807
|
"titleTemplate",
|
|
7805
7808
|
"bodyAttrs",
|
|
7806
7809
|
"htmlAttrs",
|
|
7807
7810
|
"templateParams"
|
|
7808
|
-
]),
|
|
7811
|
+
]), $r = /* @__PURE__ */ new Set([
|
|
7809
7812
|
"key",
|
|
7810
7813
|
"tagPosition",
|
|
7811
7814
|
"tagPriority",
|
|
@@ -7813,11 +7816,11 @@ var qr = /* @__PURE__ */ new Set([
|
|
|
7813
7816
|
"innerHTML",
|
|
7814
7817
|
"textContent",
|
|
7815
7818
|
"processTemplateParams"
|
|
7816
|
-
]),
|
|
7819
|
+
]), ei = /* @__PURE__ */ new Set([
|
|
7817
7820
|
"templateParams",
|
|
7818
7821
|
"htmlAttrs",
|
|
7819
7822
|
"bodyAttrs"
|
|
7820
|
-
]),
|
|
7823
|
+
]), ti = /* @__PURE__ */ new Set([
|
|
7821
7824
|
"theme-color",
|
|
7822
7825
|
"google-site-verification",
|
|
7823
7826
|
"author",
|
|
@@ -7830,26 +7833,26 @@ var qr = /* @__PURE__ */ new Set([
|
|
|
7830
7833
|
"book:author",
|
|
7831
7834
|
"book:tag",
|
|
7832
7835
|
"twitter:image"
|
|
7833
|
-
]),
|
|
7836
|
+
]), ni = {
|
|
7834
7837
|
critical: -8,
|
|
7835
7838
|
high: -1,
|
|
7836
7839
|
low: 2
|
|
7837
|
-
},
|
|
7840
|
+
}, ri = (e) => typeof e == "number" ? Number.isFinite(e) : e;
|
|
7838
7841
|
// @__NO_SIDE_EFFECTS__
|
|
7839
|
-
function
|
|
7842
|
+
function ii(e) {
|
|
7840
7843
|
return e === "__proto__" || e === "constructor" || e === "prototype";
|
|
7841
7844
|
}
|
|
7842
7845
|
//#endregion
|
|
7843
7846
|
//#region node_modules/hookable/dist/index.mjs
|
|
7844
|
-
function
|
|
7847
|
+
function ai(e, t, n, r) {
|
|
7845
7848
|
for (let i = n; i < e.length; i += 1) try {
|
|
7846
7849
|
let n = r ? r.run(() => e[i](...t)) : e[i](...t);
|
|
7847
|
-
if (n && typeof n.then == "function") return Promise.resolve(n).then(() =>
|
|
7850
|
+
if (n && typeof n.then == "function") return Promise.resolve(n).then(() => ai(e, t, i + 1, r));
|
|
7848
7851
|
} catch (e) {
|
|
7849
7852
|
return Promise.reject(e);
|
|
7850
7853
|
}
|
|
7851
7854
|
}
|
|
7852
|
-
var
|
|
7855
|
+
var oi = class {
|
|
7853
7856
|
_hooks;
|
|
7854
7857
|
constructor() {
|
|
7855
7858
|
this._hooks = {};
|
|
@@ -7868,24 +7871,24 @@ var ai = class {
|
|
|
7868
7871
|
}
|
|
7869
7872
|
callHook(e, ...t) {
|
|
7870
7873
|
let n = this._hooks[e];
|
|
7871
|
-
if (!(!n || n.length === 0)) return
|
|
7874
|
+
if (!(!n || n.length === 0)) return ai(n, t, 0);
|
|
7872
7875
|
}
|
|
7873
7876
|
};
|
|
7874
7877
|
//#endregion
|
|
7875
7878
|
//#region node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
|
|
7876
|
-
function
|
|
7877
|
-
let t = new
|
|
7879
|
+
function si(e) {
|
|
7880
|
+
let t = new oi();
|
|
7878
7881
|
for (let n in e || {}) t.hook(n, e[n]);
|
|
7879
7882
|
return t;
|
|
7880
7883
|
}
|
|
7881
|
-
function
|
|
7884
|
+
function ci(e, t, n) {
|
|
7882
7885
|
if (e.hooks?._hooks?.[t]?.length) return e.hooks?.callHook(t, n);
|
|
7883
7886
|
}
|
|
7884
7887
|
//#endregion
|
|
7885
7888
|
//#region node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs
|
|
7886
|
-
function
|
|
7889
|
+
function li(e, t, n) {
|
|
7887
7890
|
let r = e.push, i = e;
|
|
7888
|
-
i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) =>
|
|
7891
|
+
i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => Kr(i, e), i.render = () => n(i);
|
|
7889
7892
|
function a() {
|
|
7890
7893
|
t.callHook("entries:updated", i), i._b || i.render();
|
|
7891
7894
|
}
|
|
@@ -7907,46 +7910,46 @@ function ci(e, t, n) {
|
|
|
7907
7910
|
}
|
|
7908
7911
|
//#endregion
|
|
7909
7912
|
//#region node_modules/unhead/dist/shared/unhead.-hZVKou0.mjs
|
|
7910
|
-
var
|
|
7913
|
+
var ui = /^(?:viewport|description|keywords|robots)$/, di = [
|
|
7911
7914
|
"name",
|
|
7912
7915
|
"property",
|
|
7913
7916
|
"http-equiv"
|
|
7914
7917
|
];
|
|
7915
|
-
function
|
|
7918
|
+
function fi(e) {
|
|
7916
7919
|
let t = e.indexOf(":");
|
|
7917
7920
|
if (t === -1) return !1;
|
|
7918
7921
|
let n = e.slice(t + 1);
|
|
7919
|
-
return
|
|
7922
|
+
return ti.has(n) || n.startsWith("og:image:") || n.startsWith("og:video:") || n.startsWith("og:audio:") || n.startsWith("twitter:image:");
|
|
7920
7923
|
}
|
|
7921
|
-
function
|
|
7924
|
+
function pi(e) {
|
|
7922
7925
|
let { props: t, tag: n, key: r } = e;
|
|
7923
|
-
if (
|
|
7926
|
+
if (Qr.has(n)) return n;
|
|
7924
7927
|
if (n === "link") {
|
|
7925
7928
|
if (t.rel === "canonical") return "canonical";
|
|
7926
7929
|
if (t.rel === "alternate" && t.hreflang) return `alternate:${t.hreflang}`;
|
|
7927
7930
|
}
|
|
7928
7931
|
if (t.charset) return "charset";
|
|
7929
|
-
if (n === "meta") for (let e of
|
|
7932
|
+
if (n === "meta") for (let e of di) {
|
|
7930
7933
|
let n = t[e];
|
|
7931
|
-
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !
|
|
7934
|
+
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !ui.test(n) && r ? `:key:${r}` : ""}`;
|
|
7932
7935
|
}
|
|
7933
|
-
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` :
|
|
7936
|
+
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` : Yr.has(n) && (e.textContent || e.innerHTML) ? `${n}:content:${e.textContent || e.innerHTML}` : void 0;
|
|
7934
7937
|
}
|
|
7935
|
-
function
|
|
7938
|
+
function mi(e) {
|
|
7936
7939
|
let t = e._h || e._d || e.textContent || e.innerHTML;
|
|
7937
7940
|
if (t) return t;
|
|
7938
7941
|
let n = Object.keys(e.props).sort(), r = `${e.tag}:`, i = "";
|
|
7939
7942
|
for (let t of n) r += `${i}${t}:${String(e.props[t])}`, i = ",";
|
|
7940
7943
|
return r;
|
|
7941
7944
|
}
|
|
7942
|
-
function
|
|
7945
|
+
function hi(e, t, n) {
|
|
7943
7946
|
if (n === "_resolver") return e;
|
|
7944
7947
|
typeof e == "function" && (!n || n !== "titleTemplate" && !n.startsWith("on")) && (e = e());
|
|
7945
7948
|
let r = t ? t(n, e) : e;
|
|
7946
7949
|
if (Array.isArray(r)) {
|
|
7947
7950
|
let e;
|
|
7948
7951
|
for (let n = 0; n < r.length; n++) {
|
|
7949
|
-
let i =
|
|
7952
|
+
let i = hi(r[n], t);
|
|
7950
7953
|
e ? e[n] = i : i !== r[n] && (e = r.slice(0, n), e[n] = i);
|
|
7951
7954
|
}
|
|
7952
7955
|
return e || r;
|
|
@@ -7954,7 +7957,7 @@ function mi(e, t, n) {
|
|
|
7954
7957
|
if (r?.constructor === Object) {
|
|
7955
7958
|
let e;
|
|
7956
7959
|
for (let n in r) {
|
|
7957
|
-
let i = /* @__PURE__ */
|
|
7960
|
+
let i = /* @__PURE__ */ ii(n), a = i ? void 0 : hi(r[n], t, n);
|
|
7958
7961
|
if (!e && (i || a !== r[n])) {
|
|
7959
7962
|
e = {};
|
|
7960
7963
|
for (let t in r) {
|
|
@@ -7968,8 +7971,8 @@ function mi(e, t, n) {
|
|
|
7968
7971
|
}
|
|
7969
7972
|
return r;
|
|
7970
7973
|
}
|
|
7971
|
-
var
|
|
7972
|
-
function
|
|
7974
|
+
var gi = /[\s"'<>/=\x00-\x1F\x7F]/;
|
|
7975
|
+
function _i(e, t) {
|
|
7973
7976
|
let n = e === "style", r = n ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set(), i = (e) => {
|
|
7974
7977
|
if (e) {
|
|
7975
7978
|
if (n) {
|
|
@@ -7986,18 +7989,18 @@ function gi(e, t) {
|
|
|
7986
7989
|
}
|
|
7987
7990
|
return r;
|
|
7988
7991
|
}
|
|
7989
|
-
function
|
|
7992
|
+
function vi(e, t) {
|
|
7990
7993
|
if (e.props = e.props || {}, !t) return e;
|
|
7991
7994
|
if (e.tag === "templateParams") return e.props = t, e;
|
|
7992
|
-
let n =
|
|
7995
|
+
let n = Xr.has(e.tag) || e.tag === "htmlAttrs" || e.tag === "bodyAttrs";
|
|
7993
7996
|
for (let r in t) {
|
|
7994
|
-
if (/* @__PURE__ */
|
|
7995
|
-
let i = r.startsWith("data-"), a = n &&
|
|
7996
|
-
if (a && (!o ||
|
|
7997
|
+
if (/* @__PURE__ */ ii(r)) continue;
|
|
7998
|
+
let i = r.startsWith("data-"), a = n && !$r.has(r), o = a && !i ? r.toLowerCase() : r;
|
|
7999
|
+
if (a && (!o || gi.test(o))) continue;
|
|
7997
8000
|
let s = t[r];
|
|
7998
8001
|
if (s === null) e.props[o] = null;
|
|
7999
|
-
else if (r === "class" || r === "style") e.props[r] =
|
|
8000
|
-
else if (
|
|
8002
|
+
else if (r === "class" || r === "style") e.props[r] = _i(r, s);
|
|
8003
|
+
else if ($r.has(r)) {
|
|
8001
8004
|
if ((r === "textContent" || r === "innerHTML") && typeof s == "object") {
|
|
8002
8005
|
let n = t.type || "application/json";
|
|
8003
8006
|
(n.endsWith("json") || n === "speculationrules" || n === "importmap") && (e.props.type = n, e[r] = JSON.stringify(s));
|
|
@@ -8009,19 +8012,19 @@ function _i(e, t) {
|
|
|
8009
8012
|
}
|
|
8010
8013
|
return e;
|
|
8011
8014
|
}
|
|
8012
|
-
function
|
|
8015
|
+
function yi(e, t) {
|
|
8013
8016
|
let n;
|
|
8014
8017
|
return t.length && (n = (e, n) => {
|
|
8015
8018
|
for (let r = 0; r < t.length; r++) n = t[r](e, n);
|
|
8016
8019
|
return n;
|
|
8017
|
-
}, e = n(void 0, e)),
|
|
8020
|
+
}, e = n(void 0, e)), hi(e, n);
|
|
8018
8021
|
}
|
|
8019
|
-
function
|
|
8020
|
-
let n =
|
|
8022
|
+
function bi(e, t) {
|
|
8023
|
+
let n = vi({
|
|
8021
8024
|
tag: e,
|
|
8022
8025
|
props: {}
|
|
8023
8026
|
}, typeof t == "object" && typeof t != "function" ? t : { [e === "script" || e === "noscript" || e === "style" ? "innerHTML" : "textContent"]: t });
|
|
8024
|
-
if (n.key &&
|
|
8027
|
+
if (n.key && Jr.has(n.tag) && (n.props["data-hid"] = n._h = n.key), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content)) {
|
|
8025
8028
|
let e = [];
|
|
8026
8029
|
for (let t of n.props.content) e.push({
|
|
8027
8030
|
...n,
|
|
@@ -8034,37 +8037,37 @@ function yi(e, t) {
|
|
|
8034
8037
|
}
|
|
8035
8038
|
return n;
|
|
8036
8039
|
}
|
|
8037
|
-
function
|
|
8040
|
+
function xi(e, t) {
|
|
8038
8041
|
if (Array.isArray(t)) for (let n of t) e.push(n);
|
|
8039
8042
|
else e.push(t);
|
|
8040
8043
|
}
|
|
8041
|
-
function
|
|
8044
|
+
function Si(e, t) {
|
|
8042
8045
|
if (!e) return [];
|
|
8043
|
-
typeof e == "function" && (e = e()), e =
|
|
8046
|
+
typeof e == "function" && (e = e()), e = yi(e, t);
|
|
8044
8047
|
let n = [];
|
|
8045
8048
|
for (let t in e) {
|
|
8046
8049
|
let r = e[t];
|
|
8047
8050
|
if (r !== void 0) {
|
|
8048
|
-
if (Array.isArray(r)) for (let e of r)
|
|
8049
|
-
else
|
|
8051
|
+
if (Array.isArray(r)) for (let e of r) xi(n, bi(t, e));
|
|
8052
|
+
else xi(n, bi(t, r));
|
|
8050
8053
|
}
|
|
8051
8054
|
}
|
|
8052
8055
|
return n;
|
|
8053
8056
|
}
|
|
8054
|
-
var
|
|
8055
|
-
function
|
|
8057
|
+
var Ci = /</g, wi = /<\/script/g, Ti = (e, t) => e._w === t._w ? e._p - t._p : e._w - t._w, Ei = () => 100;
|
|
8058
|
+
function Di(e) {
|
|
8056
8059
|
for (let t in e) return !1;
|
|
8057
8060
|
return !0;
|
|
8058
8061
|
}
|
|
8059
|
-
var
|
|
8060
|
-
function
|
|
8062
|
+
var Oi = /^tags:|:render/;
|
|
8063
|
+
function ki(e, t) {
|
|
8061
8064
|
let n = (t["entries:resolve"]?.length || 0) + (t["entries:normalize"]?.length || 0);
|
|
8062
8065
|
if (e._h !== n) {
|
|
8063
8066
|
e._h = n;
|
|
8064
8067
|
for (let t of e.entries.values()) delete t._tags;
|
|
8065
8068
|
}
|
|
8066
8069
|
}
|
|
8067
|
-
function
|
|
8070
|
+
function Ai(e) {
|
|
8068
8071
|
for (let t = 0; t < e.length; t++) {
|
|
8069
8072
|
let n = e[t], r = { ...n.props };
|
|
8070
8073
|
r.class instanceof Set && (r.class = new Set(r.class)), r.style instanceof Map && (r.style = new Map(r.style)), e[t] = {
|
|
@@ -8073,34 +8076,34 @@ function ki(e) {
|
|
|
8073
8076
|
};
|
|
8074
8077
|
}
|
|
8075
8078
|
}
|
|
8076
|
-
function
|
|
8079
|
+
function ji(e, t) {
|
|
8077
8080
|
let n = e.tags, r = 0;
|
|
8078
8081
|
for (let t of e.tagMap.values()) if (Array.isArray(t)) for (let e of t) n[r++] = e;
|
|
8079
8082
|
else n[r++] = t;
|
|
8080
|
-
n.length = r, t && n.sort(
|
|
8083
|
+
n.length = r, t && n.sort(Ti);
|
|
8081
8084
|
}
|
|
8082
|
-
function
|
|
8085
|
+
function Mi(e) {
|
|
8083
8086
|
let t = !1;
|
|
8084
|
-
for (let n of e.tags.sort(
|
|
8085
|
-
let r = n._d ||
|
|
8087
|
+
for (let n of e.tags.sort(Ti)) {
|
|
8088
|
+
let r = n._d || mi(n);
|
|
8086
8089
|
if (!r) continue;
|
|
8087
8090
|
let i = e.tagMap.get(r);
|
|
8088
8091
|
if (!i) {
|
|
8089
8092
|
e.tagMap.set(r, n);
|
|
8090
8093
|
continue;
|
|
8091
8094
|
}
|
|
8092
|
-
if ((n.tagDuplicateStrategy || (
|
|
8095
|
+
if ((n.tagDuplicateStrategy || (ei.has(n.tag) ? "merge" : null) || (n.key && n.key === i.key ? "merge" : null)) === "merge") {
|
|
8093
8096
|
let t = { ...i.props };
|
|
8094
8097
|
for (let e in n.props) t[e] = e === "style" ? new Map([...i.props.style || /* @__PURE__ */ new Map(), ...n.props[e]]) : e === "class" ? /* @__PURE__ */ new Set([...i.props.class || [], ...n.props[e]]) : n.props[e];
|
|
8095
8098
|
e.tagMap.set(r, {
|
|
8096
8099
|
...n,
|
|
8097
8100
|
props: t
|
|
8098
8101
|
});
|
|
8099
|
-
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" &&
|
|
8102
|
+
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" && fi(r) ? (e.tagMap.set(r, Object.assign([...Array.isArray(i) ? i : [i], n], n)), t = !0) : (n._w === i._w ? n._p > i._p : n._w < i._w) && e.tagMap.set(r, n);
|
|
8100
8103
|
}
|
|
8101
8104
|
return t;
|
|
8102
8105
|
}
|
|
8103
|
-
function
|
|
8106
|
+
function Ni(e, t) {
|
|
8104
8107
|
let n = e.tagMap.get("title"), r = e.tagMap.get("titleTemplate");
|
|
8105
8108
|
if (t._title = n?.textContent, !r) return;
|
|
8106
8109
|
let i = r.textContent;
|
|
@@ -8115,73 +8118,73 @@ function Mi(e, t) {
|
|
|
8115
8118
|
textContent: a
|
|
8116
8119
|
});
|
|
8117
8120
|
}
|
|
8118
|
-
function
|
|
8121
|
+
function Pi(e) {
|
|
8119
8122
|
let t = 0;
|
|
8120
8123
|
for (let n of e) {
|
|
8121
8124
|
let { innerHTML: r, tag: i, props: a } = n;
|
|
8122
|
-
if (!(!
|
|
8125
|
+
if (!(!Zr.has(i) || Di(a) && !ri(r) && !ri(n.textContent)) && !(i === "meta" && !ri(a.content) && !a["http-equiv"] && !a.charset)) {
|
|
8123
8126
|
if (i === "script" && (r || n.textContent)) {
|
|
8124
|
-
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(
|
|
8125
|
-
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent && (n.textContent = i(n.textContent)), n._d =
|
|
8127
|
+
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(Ci, "\\u003C") : typeof e == "string" ? e.replace(wi, "<\\/script") : e;
|
|
8128
|
+
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent && (n.textContent = i(n.textContent)), n._d = pi(n);
|
|
8126
8129
|
}
|
|
8127
8130
|
e[t++] = n;
|
|
8128
8131
|
}
|
|
8129
8132
|
}
|
|
8130
8133
|
return e.length = t, e;
|
|
8131
8134
|
}
|
|
8132
|
-
function
|
|
8133
|
-
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ??
|
|
8135
|
+
function Fi(e, t) {
|
|
8136
|
+
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ?? Ei, r = {
|
|
8134
8137
|
tagMap: /* @__PURE__ */ new Map(),
|
|
8135
8138
|
tags: []
|
|
8136
8139
|
}, i = e.hooks?._hooks || {};
|
|
8137
|
-
|
|
8140
|
+
ki(e, i);
|
|
8138
8141
|
for (let t of e.entries.values()) t._pending !== void 0 && (t.input = t._pending, delete t._pending, delete t._tags, delete t._precomputedTags);
|
|
8139
8142
|
let a;
|
|
8140
|
-
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length &&
|
|
8143
|
+
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length && ci(e, "entries:resolve", {
|
|
8141
8144
|
entries: a,
|
|
8142
8145
|
...r
|
|
8143
|
-
})),
|
|
8146
|
+
})), ki(e, i);
|
|
8144
8147
|
for (let t of a || e.entries.values()) {
|
|
8145
8148
|
let a = t._tags;
|
|
8146
8149
|
if (!a) {
|
|
8147
|
-
if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options ||
|
|
8150
|
+
if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options || Di(t.options))) a = t._precomputedTags;
|
|
8148
8151
|
else {
|
|
8149
|
-
if (a =
|
|
8152
|
+
if (a = Si(t.input, e.resolvedOptions.propResolvers || []), t.options && !Di(t.options)) for (let e of a) Object.assign(e, t.options);
|
|
8150
8153
|
if (i["entries:normalize"]?.length) {
|
|
8151
8154
|
let n = {
|
|
8152
8155
|
tags: a,
|
|
8153
8156
|
entry: t
|
|
8154
8157
|
};
|
|
8155
|
-
|
|
8158
|
+
ci(e, "entries:normalize", n), a = n.tags;
|
|
8156
8159
|
}
|
|
8157
8160
|
for (let e = 0; e < a.length; e++) {
|
|
8158
8161
|
let r = a[e];
|
|
8159
|
-
r._w = n(r), r._p = (t._i << 10) + e, r._d =
|
|
8162
|
+
r._w = n(r), r._p = (t._i << 10) + e, r._d = pi(r), r._d || (r._h = mi(r));
|
|
8160
8163
|
}
|
|
8161
8164
|
t._tags = a;
|
|
8162
8165
|
}
|
|
8163
8166
|
}
|
|
8164
8167
|
r.tags.push(...a);
|
|
8165
8168
|
}
|
|
8166
|
-
for (let e in i) if (i[e]?.length &&
|
|
8167
|
-
|
|
8169
|
+
for (let e in i) if (i[e]?.length && Oi.test(e)) {
|
|
8170
|
+
Ai(r.tags);
|
|
8168
8171
|
break;
|
|
8169
8172
|
}
|
|
8170
|
-
let o =
|
|
8171
|
-
return
|
|
8173
|
+
let o = Mi(r);
|
|
8174
|
+
return Ni(r, e), ji(r, o), ci(e, "tags:beforeResolve", r), ci(e, "tags:resolve", r), ci(e, "tags:afterResolve", r), Pi(r.tags);
|
|
8172
8175
|
}
|
|
8173
8176
|
//#endregion
|
|
8174
8177
|
//#region node_modules/unhead/dist/shared/unhead.Bjbp1C8D.mjs
|
|
8175
|
-
var
|
|
8178
|
+
var Ii = /\s+/;
|
|
8176
8179
|
// @__NO_SIDE_EFFECTS__
|
|
8177
|
-
function
|
|
8178
|
-
return (t) =>
|
|
8180
|
+
function Li(e = {}) {
|
|
8181
|
+
return (t) => Bi(t, e);
|
|
8179
8182
|
}
|
|
8180
|
-
function
|
|
8183
|
+
function Ri(e) {
|
|
8181
8184
|
for (let t of e.entries.values()) if (t._pending !== void 0) return !0;
|
|
8182
8185
|
return !1;
|
|
8183
8186
|
}
|
|
8184
|
-
function
|
|
8187
|
+
function zi(e, t) {
|
|
8185
8188
|
let n = {
|
|
8186
8189
|
_d: t,
|
|
8187
8190
|
_t: t.title,
|
|
@@ -8196,15 +8199,15 @@ function Ri(e, t) {
|
|
|
8196
8199
|
let r = e[t]?.class;
|
|
8197
8200
|
if (typeof r == "string") {
|
|
8198
8201
|
let e = n._e.get(t);
|
|
8199
|
-
for (let i of r.split(
|
|
8202
|
+
for (let i of r.split(Ii)) i && (n._p[`${t}:attr:class:${i}`] = () => e.classList.remove(i));
|
|
8200
8203
|
}
|
|
8201
8204
|
}
|
|
8202
8205
|
}
|
|
8203
8206
|
return n;
|
|
8204
8207
|
}
|
|
8205
|
-
function
|
|
8208
|
+
function Bi(e, t = {}) {
|
|
8206
8209
|
let n = t.document || e.resolvedOptions.document, r = e._dom;
|
|
8207
|
-
if (!n || e._du || r && r._d === n && !e.dirty && !
|
|
8210
|
+
if (!n || e._du || r && r._d === n && !e.dirty && !Ri(e)) return !1;
|
|
8208
8211
|
let i = n.defaultView;
|
|
8209
8212
|
e._du = !0;
|
|
8210
8213
|
let a = !1;
|
|
@@ -8265,7 +8268,7 @@ function zi(e, t = {}) {
|
|
|
8265
8268
|
shouldRender: !0,
|
|
8266
8269
|
tags: []
|
|
8267
8270
|
};
|
|
8268
|
-
if (
|
|
8271
|
+
if (ci(e, "dom:beforeRender", l), !l.shouldRender) return !1;
|
|
8269
8272
|
let u = r;
|
|
8270
8273
|
if (u?._d !== n) {
|
|
8271
8274
|
if (u) {
|
|
@@ -8275,35 +8278,35 @@ function zi(e, t = {}) {
|
|
|
8275
8278
|
}
|
|
8276
8279
|
u = void 0;
|
|
8277
8280
|
}
|
|
8278
|
-
u ? u._p = u._s : u =
|
|
8281
|
+
u ? u._p = u._s : u = zi(e, n), u._s = {};
|
|
8279
8282
|
let d = u, f = d._p, p = [], m = {};
|
|
8280
8283
|
e.dirty = !1;
|
|
8281
|
-
let h =
|
|
8284
|
+
let h = Fi(e, t.tagWeight ? { tagWeight: t.tagWeight } : void 0), g = [], _ = {};
|
|
8282
8285
|
for (let e of h) {
|
|
8283
8286
|
let t = _[e._d] || 0, r = (t ? `${e._d}:${t}` : e._d) || e._h, i = {
|
|
8284
8287
|
tag: e,
|
|
8285
8288
|
id: r,
|
|
8286
8289
|
shouldRender: !0
|
|
8287
8290
|
};
|
|
8288
|
-
if (e.tag === "meta" && e._d &&
|
|
8291
|
+
if (e.tag === "meta" && e._d && fi(e._d) && (_[e._d] = t + 1), g.push(i), e.tag === "title") {
|
|
8289
8292
|
n.title = e.textContent, o("title:", () => n.title = d._t);
|
|
8290
8293
|
continue;
|
|
8291
8294
|
}
|
|
8292
|
-
i.$el = d._e.get(r), i.$el ? c(i) :
|
|
8295
|
+
i.$el = d._e.get(r), i.$el ? c(i) : Xr.has(e.tag) && p.push(i);
|
|
8293
8296
|
}
|
|
8294
8297
|
if (p.length) {
|
|
8295
8298
|
let e = new Set(d._e.values());
|
|
8296
8299
|
for (let t of [...n.body.children, ...n.head.children]) {
|
|
8297
8300
|
let n = t.tagName.toLowerCase();
|
|
8298
|
-
if (!
|
|
8301
|
+
if (!Xr.has(n) || e.has(t)) continue;
|
|
8299
8302
|
let r = { innerHTML: t.innerHTML };
|
|
8300
8303
|
for (let e of t.getAttributeNames()) r[e] = t.getAttribute(e);
|
|
8301
|
-
let i =
|
|
8304
|
+
let i = vi({
|
|
8302
8305
|
tag: n,
|
|
8303
8306
|
props: {}
|
|
8304
8307
|
}, r);
|
|
8305
8308
|
i.key = t.getAttribute("data-hid") || void 0;
|
|
8306
|
-
let a =
|
|
8309
|
+
let a = pi(i) || mi(i), o = a, s = 1;
|
|
8307
8310
|
for (; d._e.has(o);) o = `${a}:${s++}`;
|
|
8308
8311
|
d._e.set(o, t);
|
|
8309
8312
|
}
|
|
@@ -8314,42 +8317,42 @@ function zi(e, t = {}) {
|
|
|
8314
8317
|
}
|
|
8315
8318
|
m.head && n.head.appendChild(m.head), m.bodyOpen && n.body.insertBefore(m.bodyOpen, n.body.firstChild), m.bodyClose && n.body.appendChild(m.bodyClose);
|
|
8316
8319
|
for (let e in f) f[e]();
|
|
8317
|
-
e._dom = d, a = !0,
|
|
8320
|
+
e._dom = d, a = !0, ci(e, "dom:rendered", { renders: g });
|
|
8318
8321
|
} catch (t) {
|
|
8319
8322
|
throw e.dirty = !0, t;
|
|
8320
8323
|
} finally {
|
|
8321
8324
|
e._du = !1;
|
|
8322
8325
|
}
|
|
8323
|
-
return a && (e.dirty ||
|
|
8326
|
+
return a && (e.dirty || Ri(e)) && Bi(e, t), a;
|
|
8324
8327
|
}
|
|
8325
8328
|
//#endregion
|
|
8326
8329
|
//#region node_modules/unhead/dist/shared/unhead.oZ7pkTV1.mjs
|
|
8327
|
-
var
|
|
8328
|
-
function
|
|
8330
|
+
var Vi = (e) => typeof e.tagPriority == "number" ? e.tagPriority : 100 + (ni[e.tagPriority] || 0);
|
|
8331
|
+
function Hi(e = {}) {
|
|
8329
8332
|
e.document = e.document || (typeof window < "u" ? document : void 0);
|
|
8330
|
-
let t = e.render || /* @__PURE__ */
|
|
8333
|
+
let t = e.render || /* @__PURE__ */ Li({ document: e.document }), n = li(/* @__PURE__ */ qr(t, {
|
|
8331
8334
|
document: e.document,
|
|
8332
8335
|
propResolvers: e.propResolvers,
|
|
8333
|
-
_tagWeight:
|
|
8336
|
+
_tagWeight: Vi,
|
|
8334
8337
|
init: []
|
|
8335
|
-
}),
|
|
8338
|
+
}), si(e.hooks), t);
|
|
8336
8339
|
return e.plugins?.forEach((e) => n.use(e)), e.init?.forEach((e) => e && n.push(e)), n;
|
|
8337
8340
|
}
|
|
8338
8341
|
//#endregion
|
|
8339
8342
|
//#region node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
|
|
8340
|
-
var
|
|
8343
|
+
var Ui = "usehead";
|
|
8341
8344
|
// @__NO_SIDE_EFFECTS__
|
|
8342
|
-
function
|
|
8345
|
+
function Wi(e) {
|
|
8343
8346
|
return { install(t) {
|
|
8344
|
-
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(
|
|
8347
|
+
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(Ui, e);
|
|
8345
8348
|
} }.install;
|
|
8346
8349
|
}
|
|
8347
8350
|
//#endregion
|
|
8348
8351
|
//#region node_modules/@unhead/vue/dist/client.mjs
|
|
8349
8352
|
// @__NO_SIDE_EFFECTS__
|
|
8350
|
-
function
|
|
8351
|
-
let t = /* @__PURE__ */
|
|
8352
|
-
return n =
|
|
8353
|
+
function Gi(e = {}) {
|
|
8354
|
+
let t = /* @__PURE__ */ Li(), n, r = 0;
|
|
8355
|
+
return n = Hi({
|
|
8353
8356
|
render: () => {
|
|
8354
8357
|
let e = ++r;
|
|
8355
8358
|
setTimeout(() => {
|
|
@@ -8357,12 +8360,12 @@ function Wi(e = {}) {
|
|
|
8357
8360
|
}, 0);
|
|
8358
8361
|
},
|
|
8359
8362
|
...e
|
|
8360
|
-
}), n.install = /* @__PURE__ */
|
|
8363
|
+
}), n.install = /* @__PURE__ */ Wi(n), n;
|
|
8361
8364
|
}
|
|
8362
8365
|
//#endregion
|
|
8363
8366
|
//#region src/entries/hotel.ts
|
|
8364
|
-
var
|
|
8365
|
-
e.use(
|
|
8367
|
+
var Ki = A(), qi = /* @__PURE__ */ Gi(), Ji = k("konnectio-hotel", Gr, (e) => {
|
|
8368
|
+
e.use(oe), e.use(qi), e.use(Ki), e.use(O), e.use(tt), e.use(Ke);
|
|
8366
8369
|
});
|
|
8367
8370
|
//#endregion
|
|
8368
|
-
export {
|
|
8371
|
+
export { Ji as default };
|