@konnectio/core 4.10.3 → 4.11.1
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-vPUDEd_I.js → ActionField-CD7A8umF.js} +1 -1
- package/dist/ActionField-CD7A8umF.js.br +0 -0
- package/dist/ActionField-CD7A8umF.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-Cn6i4NgY.js → AvailabilitySkeleton-D_EldM2s.js} +1818 -1720
- package/dist/AvailabilitySkeleton-D_EldM2s.js.br +0 -0
- package/dist/AvailabilitySkeleton-D_EldM2s.js.gz +0 -0
- package/dist/{CheckoutWindow-C__uG9x9.js → CheckoutWindow-BYvzbPyY.js} +1 -1
- package/dist/CheckoutWindow-BYvzbPyY.js.br +0 -0
- package/dist/CheckoutWindow-BYvzbPyY.js.gz +0 -0
- package/dist/{ErrorMessage-CvilUsni.js → ErrorMessage-GCkS8yEW.js} +1 -1
- package/dist/ErrorMessage-GCkS8yEW.js.br +0 -0
- package/dist/ErrorMessage-GCkS8yEW.js.gz +0 -0
- package/dist/{EventAvailabilityForm-Brj1z7yk.js → EventAvailabilityForm-f-BUsWJ-.js} +2 -2
- package/dist/EventAvailabilityForm-f-BUsWJ-.js.br +0 -0
- package/dist/EventAvailabilityForm-f-BUsWJ-.js.gz +0 -0
- package/dist/{Field-CDHHXiD2.js → Field-TMCJPa0F.js} +1 -1
- package/dist/Field-TMCJPa0F.js.br +0 -0
- package/dist/Field-TMCJPa0F.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-CYfG0Dd8.js → HotelAvailabilityForm-BjaKmdM9.js} +2 -2
- package/dist/HotelAvailabilityForm-BjaKmdM9.js.br +0 -0
- package/dist/HotelAvailabilityForm-BjaKmdM9.js.gz +0 -0
- package/dist/{SelectField-6C9R4BPL.js → SelectField-DSkOZgE4.js} +1665 -1642
- package/dist/SelectField-DSkOZgE4.js.br +0 -0
- package/dist/SelectField-DSkOZgE4.js.gz +0 -0
- package/dist/{TermsOfService-CVFFzKIf.js → TermsOfService-D9W3pXOi.js} +2 -2
- package/dist/TermsOfService-D9W3pXOi.js.br +0 -0
- package/dist/TermsOfService-D9W3pXOi.js.gz +0 -0
- package/dist/{_-Dme_Z1ir.js → _-DY1GJjiW.js} +1 -1
- package/dist/_-DY1GJjiW.js.br +0 -0
- package/dist/_-DY1GJjiW.js.gz +0 -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 +4 -4
- 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-nlgWn_R4.js → dist-Vu9z8BNS.js} +4 -4
- package/dist/dist-Vu9z8BNS.js.br +0 -0
- package/dist/dist-Vu9z8BNS.js.gz +0 -0
- package/dist/{dist--re0AIwx.js → dist-YUX9nmGu.js} +2 -2
- package/dist/dist-YUX9nmGu.js.br +0 -0
- package/dist/dist-YUX9nmGu.js.gz +0 -0
- package/dist/event.js +135 -128
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +7 -7
- 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-BNgfew96.js → giftCard-DwGwHq7_.js} +1 -1
- package/dist/giftCard-DwGwHq7_.js.br +0 -0
- package/dist/giftCard-DwGwHq7_.js.gz +0 -0
- package/dist/hotel.js +947 -939
- 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-CQSrDTGm.js → style-E-j_0DIE.js} +1 -1
- package/dist/style-E-j_0DIE.js.br +0 -0
- package/dist/style-E-j_0DIE.js.gz +0 -0
- package/dist-wix/availability.js +26 -26
- package/dist-wix/event.js +5 -5
- package/dist-wix/gift-card-validation.js +29 -29
- package/dist-wix/gift-card.js +17 -17
- package/dist-wix/hotel.js +5 -5
- package/package.json +1 -1
- package/dist/ActionField-vPUDEd_I.js.br +0 -0
- package/dist/ActionField-vPUDEd_I.js.gz +0 -0
- package/dist/AvailabilitySkeleton-Cn6i4NgY.js.br +0 -0
- package/dist/AvailabilitySkeleton-Cn6i4NgY.js.gz +0 -0
- package/dist/CheckoutWindow-C__uG9x9.js.br +0 -0
- package/dist/CheckoutWindow-C__uG9x9.js.gz +0 -0
- package/dist/ErrorMessage-CvilUsni.js.br +0 -0
- package/dist/ErrorMessage-CvilUsni.js.gz +0 -0
- package/dist/EventAvailabilityForm-Brj1z7yk.js.br +0 -0
- package/dist/EventAvailabilityForm-Brj1z7yk.js.gz +0 -0
- package/dist/Field-CDHHXiD2.js.br +0 -0
- package/dist/Field-CDHHXiD2.js.gz +0 -0
- package/dist/HotelAvailabilityForm-CYfG0Dd8.js.br +0 -0
- package/dist/HotelAvailabilityForm-CYfG0Dd8.js.gz +0 -0
- package/dist/SelectField-6C9R4BPL.js.br +0 -0
- package/dist/SelectField-6C9R4BPL.js.gz +0 -0
- package/dist/TermsOfService-CVFFzKIf.js.br +0 -0
- package/dist/TermsOfService-CVFFzKIf.js.gz +0 -0
- package/dist/_-Dme_Z1ir.js.br +0 -0
- package/dist/_-Dme_Z1ir.js.gz +0 -3
- package/dist/dist--re0AIwx.js.br +0 -0
- package/dist/dist--re0AIwx.js.gz +0 -0
- package/dist/dist-nlgWn_R4.js.br +0 -0
- package/dist/dist-nlgWn_R4.js.gz +0 -0
- package/dist/giftCard-BNgfew96.js.br +0 -0
- package/dist/giftCard-BNgfew96.js.gz +0 -0
- package/dist/style-CQSrDTGm.js.br +0 -0
- package/dist/style-CQSrDTGm.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
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-BU9Enb5i.js";
|
|
3
|
-
import { t as z } from "./dist
|
|
4
|
-
import { C as oe, D as se, E as ce, G as le, H as ue, J as de, K as fe, L as pe, N as me, O as he, Q as ge, 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 De, j as Oe, lt as ke, n as Ae, r as je, t as Me, tt 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
|
|
3
|
+
import { t as z } from "./dist-YUX9nmGu.js";
|
|
4
|
+
import { C as oe, D as se, E as ce, G as le, H as ue, J as de, K as fe, L as pe, N as me, O as he, Q as ge, 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 De, j as Oe, lt as ke, n as Ae, r as je, t as Me, tt as Ne, v as Pe, x as V, z as Fe } from "./SelectField-DSkOZgE4.js";
|
|
5
|
+
import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, s as He, t as Ue } from "./CheckoutWindow-BYvzbPyY.js";
|
|
6
|
+
import { n as We, t as Ge } from "./AvailabilitySkeleton-D_EldM2s.js";
|
|
7
|
+
import { t as Ke } from "./HotelAvailabilityForm-BjaKmdM9.js";
|
|
8
|
+
import { t as qe } from "./style-E-j_0DIE.js";
|
|
9
|
+
import { t as H } from "./ActionField-CD7A8umF.js";
|
|
10
|
+
import { a as Je, c as Ye, i as Xe, l as Ze, n as Qe, o as $e, r as et, s as tt, t as nt } from "./dist-Vu9z8BNS.js";
|
|
11
|
+
import { t as rt } from "./TermsOfService-D9W3pXOi.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
|
-
function
|
|
13
|
+
function it(e, t) {
|
|
14
14
|
return t ? {
|
|
15
15
|
width: window.innerWidth,
|
|
16
16
|
height: window.innerHeight,
|
|
@@ -18,10 +18,10 @@ function rt(e, t) {
|
|
|
18
18
|
top: 0
|
|
19
19
|
} : e.getBoundingClientRect();
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function at(e, t) {
|
|
22
22
|
return e && window.matchMedia && window.matchMedia(`(max-width: ${t}px)`).matches;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function ot() {
|
|
25
25
|
return {
|
|
26
26
|
onLoadCallback: null,
|
|
27
27
|
bounds: {},
|
|
@@ -31,19 +31,19 @@ function at() {
|
|
|
31
31
|
scaledDimensions: {}
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function st(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 ct(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 lt(e, t) {
|
|
47
47
|
return {
|
|
48
48
|
width: e.naturalWidth * t,
|
|
49
49
|
height: e.naturalHeight * t
|
|
@@ -51,39 +51,39 @@ function ct(e, t) {
|
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region node_modules/inner-image-zoom/src/utils/events.js
|
|
54
|
-
function
|
|
54
|
+
function ut(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 dt(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 ft(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 pt(e, t) {
|
|
72
|
+
let n = ht(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 mt(e, t) {
|
|
79
|
+
let n = ht(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 ht(e, t) {
|
|
86
|
+
let n = ut(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 mt(e, t) {
|
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
|
|
94
|
-
var
|
|
94
|
+
var gt = R({
|
|
95
95
|
name: "InnerImageZoom",
|
|
96
96
|
props: {
|
|
97
97
|
moveType: {
|
|
@@ -149,7 +149,7 @@ var ht = R({
|
|
|
149
149
|
};
|
|
150
150
|
},
|
|
151
151
|
created() {
|
|
152
|
-
this.imgProps =
|
|
152
|
+
this.imgProps = ot(), at(this.fullscreenOnMobile, this.mobileBreakpoint) && (this.isActive = !1);
|
|
153
153
|
},
|
|
154
154
|
computed: {
|
|
155
155
|
validSources: function() {
|
|
@@ -164,7 +164,7 @@ var ht = R({
|
|
|
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 = at(this.fullscreenOnMobile, this.mobileBreakpoint), this.currentMoveType = "drag";
|
|
168
168
|
},
|
|
169
169
|
handleClick(e) {
|
|
170
170
|
if (this.isZoomed) {
|
|
@@ -174,23 +174,23 @@ var ht = R({
|
|
|
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 = lt(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 = it(this.$refs.img, !1), this.imgProps.ratios = ct(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 = pt(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 = ut(e);
|
|
186
|
+
this.imgProps.offsets = st(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 = mt(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 = ft(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 ht = R({
|
|
|
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 = ot()), 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 = st(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 = dt(e, this.imgProps, this.isFullscreen);
|
|
210
|
+
this.imgProps.bounds = it(this.$refs.img, this.isFullscreen), this.imgProps.offsets = st(0, 0, 0, 0), this.handleDragMove({
|
|
211
211
|
...t,
|
|
212
212
|
preventDefault: () => {},
|
|
213
213
|
stopPropagation: () => {}
|
|
@@ -220,19 +220,19 @@ var ht = R({
|
|
|
220
220
|
this.isZoomed = !1, this.afterZoomOut && this.afterZoomOut(), e && e();
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
}),
|
|
223
|
+
}), _t = { key: 0 }, vt = [
|
|
224
224
|
"src",
|
|
225
225
|
"width",
|
|
226
226
|
"height"
|
|
227
|
-
],
|
|
227
|
+
], U = [
|
|
228
228
|
"src",
|
|
229
229
|
"width",
|
|
230
230
|
"height"
|
|
231
|
-
],
|
|
231
|
+
], W = { class: "iiz__zoom-portal" }, yt = ["src"], bt = ["src"], xt = {
|
|
232
232
|
key: 1,
|
|
233
233
|
class: "iiz__btn iiz__hint"
|
|
234
234
|
};
|
|
235
|
-
function
|
|
235
|
+
function St(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 },
|
|
@@ -247,7 +247,7 @@ function xt(e, t, n, r, i, o) {
|
|
|
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", _t, [(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 xt(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, vt)])) : (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 xt(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, U))], 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", W, [T("img", c({
|
|
273
273
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
|
|
274
274
|
alt: "",
|
|
275
275
|
draggable: !1,
|
|
@@ -286,7 +286,7 @@ function xt(e, t, n, r, i, o) {
|
|
|
286
286
|
mousedown: e.handleDragStart,
|
|
287
287
|
mouseup: e.handleDragEnd,
|
|
288
288
|
click: e.handleClick
|
|
289
|
-
}, !0)), null, 16,
|
|
289
|
+
}, !0)), null, 16, yt), !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 }]),
|
|
@@ -309,7 +309,7 @@ function xt(e, t, n, r, i, o) {
|
|
|
309
309
|
touchend: e.handleDragEnd,
|
|
310
310
|
mousedown: e.handleDragStart,
|
|
311
311
|
mouseup: e.handleDragEnd
|
|
312
|
-
}, !0)), null, 16,
|
|
312
|
+
}, !0)), null, 16, bt), !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",
|
|
@@ -317,24 +317,24 @@ function xt(e, t, n, r, i, o) {
|
|
|
317
317
|
style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
318
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", xt)) : 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 G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]), K = { key: 0 }, Ct = { key: 1 }, wt = { class: "konnectio-hotel-reservation-warning" }, Tt = { class: "konnectio-hotel-reservation-warning" }, Et = { class: "konnectio-hotel-reservation-warning" }, Dt = { key: 2 }, Ot = { class: "konnectio-hotel-reservation-title" }, q = { class: "konnectio-hotel-reservation-information" }, kt = { class: "konnectio-hotel-reservation-guests" }, At = { key: 0 }, jt = {
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "konnectio-hotel-reservation-room-name"
|
|
328
|
-
},
|
|
328
|
+
}, Mt = ["onClick"], Nt = { key: 0 }, Pt = { key: 1 }, Ft = { class: "konnectio-hotel-reservation-title" }, It = {
|
|
329
329
|
key: 0,
|
|
330
330
|
class: "konnectio-hotel-reservation-room-name"
|
|
331
|
-
},
|
|
331
|
+
}, Lt = { class: "konnectio-hotel-reservation-information" }, Rt = { class: "konnectio-hotel-reservation-guests" }, zt = { key: 0 }, Bt = { key: 0 }, Vt = { class: "konnectio-reservation-actions" }, Ht = {
|
|
332
332
|
key: 0,
|
|
333
333
|
class: "konnectio-newsletter-signup"
|
|
334
|
-
},
|
|
334
|
+
}, J = {
|
|
335
335
|
key: 1,
|
|
336
336
|
class: "konnectio-accept-terms"
|
|
337
|
-
},
|
|
337
|
+
}, Ut = { class: "konnectio-hotel-reservation-tooltip" }, Y = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
338
338
|
__name: "HotelReservationForm",
|
|
339
339
|
props: {
|
|
340
340
|
forceArrivalTime: {},
|
|
@@ -363,18 +363,18 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
363
363
|
},
|
|
364
364
|
setup(e) {
|
|
365
365
|
let { t } = v(), { disableNewsletterSignup: n, currency: i } = C(ce()), { hasArrivalDepartureInputs: s } = ce(), { 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: z, hasTermOfService: se, acceptTerms: le, totalTemplateAddonPrice: ue, totalRooms: de, totalAdults: fe, totalChildren: me, weekendFee: _e, selectedMemberCardData: B, appliedDiscountCode: ve, guestDiscountCode: ye, isValidatingDiscountCode: be } = C(he()), { hasHotelLocations: Se } = C(oe()), { removeRoom: Ce, validateDiscountCode: we, getMandatoryRoomGroupAddons: Te, getTemplateRoomUnitPrice: Ee, resetDiscountVoucher: De, setGuestDiscountCode: Oe, clearGuestDiscountCode: ke, fetchAvailabilityData: Ae } = he(), { getHotelLocationName: je } = oe(), Me = I(!1);
|
|
366
|
-
function
|
|
366
|
+
function Pe(e) {
|
|
367
367
|
Oe(e), Ae();
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Ie() {
|
|
370
370
|
ke(), Ae();
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Le(e) {
|
|
373
373
|
return e.reduce((e, { totalPrice: t }) => e + t, 0);
|
|
374
374
|
}
|
|
375
375
|
return (v, C) => {
|
|
376
376
|
let I = M("tooltip");
|
|
377
|
-
return b(), u(
|
|
377
|
+
return b(), u(Je, {
|
|
378
378
|
"discount-code": r(z),
|
|
379
379
|
"onUpdate:discountCode": C[4] ||= (e) => y(z) ? z.value = e : null,
|
|
380
380
|
"validate-discount-code": r(we),
|
|
@@ -391,53 +391,53 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
391
391
|
"guest-discount-code": r(ye),
|
|
392
392
|
"is-validating-discount-code": r(be),
|
|
393
393
|
"on-reset-discount-code": r(De),
|
|
394
|
-
"on-apply-availability-discount":
|
|
395
|
-
"on-clear-availability-discount":
|
|
394
|
+
"on-apply-availability-discount": Pe,
|
|
395
|
+
"on-clear-availability-discount": Ie
|
|
396
396
|
}, o({
|
|
397
397
|
form: S(() => [re(v.$slots, "form", {}, void 0, !0)]),
|
|
398
398
|
"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(pe)(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, [
|
|
399
|
-
T("span",
|
|
400
|
-
T("span",
|
|
399
|
+
T("span", Ot, h(r(pe)(o.name)), 1),
|
|
400
|
+
T("span", q, [T("span", kt, [T("span", null, [l(V, {
|
|
401
401
|
icon: "male",
|
|
402
402
|
type: "fas",
|
|
403
403
|
color: "font"
|
|
404
|
-
}), T("span", null, h(a.adultsCount), 1)]), a.childrenCount > 0 ? (b(), m("span",
|
|
404
|
+
}), T("span", null, h(a.adultsCount), 1)]), a.childrenCount > 0 ? (b(), m("span", At, [l(V, {
|
|
405
405
|
icon: "child",
|
|
406
406
|
type: "fas",
|
|
407
407
|
color: "font"
|
|
408
|
-
}), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span",
|
|
409
|
-
T("b", null, [T("span", null, h(r(
|
|
408
|
+
}), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span", jt, "(" + h(a.roomName) + ")", 1)) : d("", !0)]),
|
|
409
|
+
T("b", null, [T("span", null, h(r(Ne)(a.totalPrice, r(i))), 1), e.showRemoveRoom ? (b(), m("span", {
|
|
410
410
|
key: 0,
|
|
411
411
|
class: "konnectio-hotel-reservation-remove",
|
|
412
412
|
onClick: F((e) => r(Ce)(n, s, a.configIdx), ["prevent"])
|
|
413
|
-
}, [l(
|
|
413
|
+
}, [l(V, {
|
|
414
414
|
icon: "times",
|
|
415
415
|
type: "fas",
|
|
416
416
|
"icon-color": "#ff0000"
|
|
417
|
-
})], 8,
|
|
418
|
-
]),
|
|
419
|
-
T("span",
|
|
420
|
-
T("span",
|
|
417
|
+
})], 8, Mt)) : d("", !0)])
|
|
418
|
+
]), Le(a.roomAddons) > 0 ? (b(), m("li", Nt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Ne)(Le(a.roomAddons), r(i))), 1)])) : d("", !0)]))), 128))]))), 128))]))), 128)) : d("", !0), r(E).length > 0 && r(D) ? (b(), m("div", Pt, [T("h6", null, [T("span", null, h(r(pe)(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 }, [
|
|
419
|
+
T("span", Ft, [T("span", null, h(r(pe)(r(x).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), r(E).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), m("span", It, "(" + h(r(t)("booking.reservation.room")) + " " + h(r(E).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : d("", !0)]),
|
|
420
|
+
T("span", Lt, [T("span", Rt, [T("span", null, [l(V, {
|
|
421
421
|
icon: "male",
|
|
422
422
|
type: "fas",
|
|
423
423
|
color: "font"
|
|
424
|
-
}), T("span", null, h(e.adults), 1)]), e.children > 0 ? (b(), m("span",
|
|
424
|
+
}), T("span", null, h(e.adults), 1)]), e.children > 0 ? (b(), m("span", zt, [l(V, {
|
|
425
425
|
icon: "child",
|
|
426
426
|
type: "fas",
|
|
427
427
|
color: "font"
|
|
428
428
|
}), T("span", null, h(e.children), 1)])) : d("", !0)])]),
|
|
429
|
-
T("b", null, [T("span", null, h(r(
|
|
430
|
-
(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(
|
|
431
|
-
]))), 128)), r(ue) ? (b(), m("li",
|
|
432
|
-
actions: S(() => [T("ul",
|
|
433
|
-
r(n) ? d("", !0) : (b(), m("div",
|
|
429
|
+
T("b", null, [T("span", null, h(r(Ne)(r(Ee)(e.roomGroupId, e.adults, e.children) + r(_e), r(i))), 1)]),
|
|
430
|
+
(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(Ne)(e.price, r(i))), 1)])], 64))), 128))
|
|
431
|
+
]))), 128)), r(ue) ? (b(), m("li", Bt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Ne)(r(ue), r(i))), 1)])) : d("", !0)])])])) : d("", !0)]),
|
|
432
|
+
actions: S(() => [T("ul", Vt, [
|
|
433
|
+
r(n) ? d("", !0) : (b(), m("div", Ht, [l(Re, {
|
|
434
434
|
modelValue: r(P),
|
|
435
435
|
"onUpdate:modelValue": C[0] ||= (e) => y(P) ? P.value = e : null,
|
|
436
436
|
type: "checkbox",
|
|
437
437
|
name: "newsletter",
|
|
438
438
|
label: r(t)("booking.reservation.newsletterSignUp")
|
|
439
439
|
}, null, 8, ["modelValue", "label"])])),
|
|
440
|
-
r(se) ? (b(), m("div",
|
|
440
|
+
r(se) ? (b(), m("div", J, [l(Re, {
|
|
441
441
|
modelValue: r(le),
|
|
442
442
|
"onUpdate:modelValue": C[2] ||= (e) => y(le) ? le.value = e : null,
|
|
443
443
|
type: "checkbox",
|
|
@@ -457,7 +457,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
457
457
|
_: 1
|
|
458
458
|
}, 8, ["modelValue"])])) : d("", !0),
|
|
459
459
|
re(v.$slots, "actions", {}, void 0, !0),
|
|
460
|
-
l(
|
|
460
|
+
l(rt, {
|
|
461
461
|
modelValue: Me.value,
|
|
462
462
|
"onUpdate:modelValue": C[3] ||= (e) => Me.value = e,
|
|
463
463
|
description: r(R)
|
|
@@ -466,8 +466,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
466
466
|
navigation: S(() => [re(v.$slots, "navigation", {}, void 0, !0)]),
|
|
467
467
|
"mobile-under-price": S(() => [
|
|
468
468
|
T("span", null, h(r(t)("general.for")) + ": ", 1),
|
|
469
|
-
T("b", null, h(r(
|
|
470
|
-
ne((b(), m("span",
|
|
469
|
+
T("b", null, h(r(Fe)(r(O), r(k))) + " " + h(r(xe)(r(Fe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1),
|
|
470
|
+
ne((b(), m("span", Ut, [l(V, {
|
|
471
471
|
icon: "circle-info",
|
|
472
472
|
type: "fas"
|
|
473
473
|
})])), [[I, {
|
|
@@ -485,21 +485,21 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
485
485
|
}, [isNaN(r(j)) ? void 0 : {
|
|
486
486
|
name: "reservation-summary",
|
|
487
487
|
fn: S(() => [
|
|
488
|
-
e.dealFlow && r(ve) ? (b(), m("li",
|
|
489
|
-
r(Se) ? (b(), m("li",
|
|
488
|
+
e.dealFlow && r(ve) ? (b(), m("li", K, [T("span", null, h(r(t)("dealCode.label")), 1), T("b", null, h(r(ve)), 1)])) : d("", !0),
|
|
489
|
+
r(Se) ? (b(), m("li", Ct, [T("span", null, h(r(t)("general.location")), 1), T("b", null, [T("span", null, h(r(je)(r(j))), 1), ne(T("span", wt, [l(V, {
|
|
490
490
|
icon: "exclamation-triangle",
|
|
491
491
|
type: "fas"
|
|
492
492
|
})], 512), [[ee, r(N)]])])])) : d("", !0),
|
|
493
|
-
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(ge)(r(O))}, ${r(c)}` : r(ge)(r(O))), 1), ne(T("span",
|
|
493
|
+
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(ge)(r(O))}, ${r(c)}` : r(ge)(r(O))), 1), ne(T("span", Tt, [l(V, {
|
|
494
494
|
icon: "exclamation-triangle",
|
|
495
495
|
type: "fas"
|
|
496
496
|
})], 512), [[ee, r(A)]])])]),
|
|
497
|
-
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(ge)(r(k))}, ${r(f)}` : r(ge)(r(k))), 1), ne(T("span",
|
|
497
|
+
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(ge)(r(k))}, ${r(f)}` : r(ge)(r(k))), 1), ne(T("span", Et, [l(V, {
|
|
498
498
|
icon: "exclamation-triangle",
|
|
499
499
|
type: "fas"
|
|
500
500
|
})], 512), [[ee, r(A)]])])]),
|
|
501
|
-
T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(
|
|
502
|
-
r(B) && r(B).providesDiscount ? (b(), m("li",
|
|
501
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(Fe)(r(O), r(k))) + " " + h(r(xe)(r(Fe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)]),
|
|
502
|
+
r(B) && r(B).providesDiscount ? (b(), m("li", Dt, [T("span", null, h(r(B).shortDescription), 1), T("b", null, "-" + h(r(B).discountPercent) + "%", 1)])) : d("", !0),
|
|
503
503
|
r(ae) ? (b(!0), m(a, { key: 3 }, 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)
|
|
504
504
|
]),
|
|
505
505
|
key: "0"
|
|
@@ -522,7 +522,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
522
522
|
]);
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
|
-
}), [["__scopeId", "data-v-4f766755"]]),
|
|
525
|
+
}), [["__scopeId", "data-v-4f766755"]]), Wt = { class: "konnectio-panel" }, Gt = { id: "konnectio-hotel-guest-discount-title" }, Kt = ["innerHTML"], qt = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
526
526
|
__name: "GuestDiscountForm",
|
|
527
527
|
setup(e) {
|
|
528
528
|
let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o = I();
|
|
@@ -546,10 +546,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
546
546
|
return (e, n) => (b(), m("form", {
|
|
547
547
|
id: "konnectio-hotel-guest-discount",
|
|
548
548
|
onSubmit: n[1] ||= F(() => {}, ["prevent"])
|
|
549
|
-
}, [T("div",
|
|
550
|
-
T("h3",
|
|
551
|
-
T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8,
|
|
552
|
-
l(
|
|
549
|
+
}, [T("div", Wt, [
|
|
550
|
+
T("h3", Gt, [T("span", null, h(r(t)("guestDiscount.title")), 1)]),
|
|
551
|
+
T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8, Kt),
|
|
552
|
+
l(H, {
|
|
553
553
|
modelValue: o.value,
|
|
554
554
|
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
555
555
|
label: r(t)("guestDiscount.guestDiscountCode"),
|
|
@@ -567,7 +567,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
567
567
|
])
|
|
568
568
|
])], 32));
|
|
569
569
|
}
|
|
570
|
-
}), [["__scopeId", "data-v-de955b0c"]]),
|
|
570
|
+
}), [["__scopeId", "data-v-de955b0c"]]), Jt = { class: "konnectio-panel" }, Yt = { id: "konnectio-hotel-discount-code-title" }, Xt = ["innerHTML"], X = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
571
571
|
__name: "DiscountCodeForm",
|
|
572
572
|
setup(e) {
|
|
573
573
|
let { t } = v(), i = x("history"), a = he(), { display: o } = me(), { location: s, hotelLocations: c } = C(oe()), { requireDealCode: f } = C(a), p = n(() => f.value ? "dealCode" : "discountCode"), g = I(), _ = I(!1);
|
|
@@ -589,9 +589,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
589
589
|
return (e, n) => (b(), m("form", {
|
|
590
590
|
id: "konnectio-hotel-discount-code",
|
|
591
591
|
onSubmit: n[2] ||= F(() => {}, ["prevent"])
|
|
592
|
-
}, [T("div",
|
|
593
|
-
T("h3",
|
|
594
|
-
T("p", { innerHTML: r(t)(`${p.value}.description`) }, null, 8,
|
|
592
|
+
}, [T("div", Jt, [
|
|
593
|
+
T("h3", Yt, [T("span", null, h(r(t)(`${p.value}.title`)), 1)]),
|
|
594
|
+
T("p", { innerHTML: r(t)(`${p.value}.description`) }, null, 8, Xt),
|
|
595
595
|
r(c).length > 1 ? (b(), u(Me, {
|
|
596
596
|
key: 0,
|
|
597
597
|
modelValue: r(s),
|
|
@@ -611,7 +611,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
611
611
|
"placeholder",
|
|
612
612
|
"options"
|
|
613
613
|
])) : d("", !0),
|
|
614
|
-
l(
|
|
614
|
+
l(H, {
|
|
615
615
|
modelValue: g.value,
|
|
616
616
|
"onUpdate:modelValue": n[1] ||= (e) => g.value = e,
|
|
617
617
|
label: r(t)(`${p.value}.label`),
|
|
@@ -631,7 +631,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
631
631
|
])
|
|
632
632
|
])], 32));
|
|
633
633
|
}
|
|
634
|
-
}), [["__scopeId", "data-v-63bc74db"]]),
|
|
634
|
+
}), [["__scopeId", "data-v-63bc74db"]]), Zt = { class: "konnectio-room-config-option" }, Qt = { key: 0 }, $t = { class: "konnectio-selected-room-config" }, en = { class: "konnectio-selected-room-config-people" }, tn = { key: 0 }, nn = { class: "konnectio-selected-room-config-price" }, rn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
635
635
|
__name: "RoomConfigField",
|
|
636
636
|
props: {
|
|
637
637
|
modelValue: {},
|
|
@@ -669,20 +669,20 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
669
669
|
required: e.required,
|
|
670
670
|
searchable: !1
|
|
671
671
|
}, {
|
|
672
|
-
option: S(({ data: e }) => [T("span",
|
|
673
|
-
l(
|
|
672
|
+
option: S(({ data: e }) => [T("span", Zt, [T("div", null, [
|
|
673
|
+
l(V, {
|
|
674
674
|
icon: "male",
|
|
675
675
|
type: "fas",
|
|
676
676
|
color: "font"
|
|
677
677
|
}),
|
|
678
678
|
T("span", null, h(`${e.adults}`), 1),
|
|
679
|
-
e.children > 0 ? (b(), m("span",
|
|
679
|
+
e.children > 0 ? (b(), m("span", Qt, [l(V, {
|
|
680
680
|
icon: "child",
|
|
681
681
|
type: "fas",
|
|
682
682
|
color: "font"
|
|
683
683
|
}), T("span", null, h(`${e.children}`), 1)])) : d("", !0)
|
|
684
|
-
]), T("span", null, h(`(${r(
|
|
685
|
-
"selected-option": S(({ data: e }) => [T("div",
|
|
684
|
+
]), T("span", null, h(`(${r(Ne)(e.price, r(a))})`), 1)])]),
|
|
685
|
+
"selected-option": S(({ data: e }) => [T("div", $t, [T("div", en, [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", tn, [d("", !0), T("span", null, h(`& ${e.children} ${e.children === 1 ? r(i)("general.child") : r(i)("general.children")}`), 1)])) : d("", !0)]), T("div", nn, [n[1] ||= T("span", null, null, -1), s(" " + h(`(${r(Ne)(e.price, r(a))})`), 1)])])]),
|
|
686
686
|
_: 1
|
|
687
687
|
}, 8, [
|
|
688
688
|
"modelValue",
|
|
@@ -692,7 +692,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
692
692
|
"required"
|
|
693
693
|
]));
|
|
694
694
|
}
|
|
695
|
-
}), [["__scopeId", "data-v-f960b7b6"]]),
|
|
695
|
+
}), [["__scopeId", "data-v-f960b7b6"]]), an = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
696
696
|
(function(n, r) {
|
|
697
697
|
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 = {}));
|
|
698
698
|
})(e, (function(e) {
|
|
@@ -1296,11 +1296,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1296
1296
|
var n = "", r, i, a, o, s, c;
|
|
1297
1297
|
for (r = 0, a = e.length; r < a; r++) {
|
|
1298
1298
|
for (s = e[r], i = 0, o = s.length; i < o; i++) c = s[i], n += (i ? "L" : "M") + c.x + " " + c.y;
|
|
1299
|
-
n += t ?
|
|
1299
|
+
n += t ? H.svg ? "z" : "x" : "";
|
|
1300
1300
|
}
|
|
1301
1301
|
return n || "M0 0";
|
|
1302
1302
|
}
|
|
1303
|
-
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge =
|
|
1303
|
+
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = qe("webkit"), _e = qe("android"), B = qe("android 2") || qe("android 3"), ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ye = _e && qe("Google") && ve < 537 && !("AudioNode" in window), be = !!window.opera, xe = !he && qe("chrome"), Se = qe("gecko") && !ge && !be && !pe, Ce = !xe && qe("safari"), we = qe("phantom"), Te = "OTransition" in fe, Ee = navigator.platform.indexOf("Win") === 0, De = pe && "transition" in fe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !B, ke = "MozPerspective" in fe, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, je = typeof orientation < "u" || qe("mobile"), Me = je && ge, Ne = je && Oe, Pe = !window.PointerEvent && window.MSPointerEvent, V = !!(window.PointerEvent || Pe), Fe = "ontouchstart" in window || !!window.TouchEvent, Ie = !window.L_NO_TOUCH && (Fe || V), Le = je && be, Re = je && Se, ze = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Be = function() {
|
|
1304
1304
|
var e = !1;
|
|
1305
1305
|
try {
|
|
1306
1306
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1309,12 +1309,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1309
1309
|
window.addEventListener("testPassiveEventSupport", l, t), window.removeEventListener("testPassiveEventSupport", l, t);
|
|
1310
1310
|
} catch {}
|
|
1311
1311
|
return e;
|
|
1312
|
-
}(),
|
|
1312
|
+
}(), Ve = function() {
|
|
1313
1313
|
return !!document.createElement("canvas").getContext;
|
|
1314
|
-
}(),
|
|
1314
|
+
}(), He = !!(document.createElementNS && ue("svg").createSVGRect), Ue = !!He && (function() {
|
|
1315
1315
|
var e = document.createElement("div");
|
|
1316
1316
|
return e.innerHTML = "<svg/>", (e.firstChild && e.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1317
|
-
})(),
|
|
1317
|
+
})(), We = !He && function() {
|
|
1318
1318
|
try {
|
|
1319
1319
|
var e = document.createElement("div");
|
|
1320
1320
|
e.innerHTML = "<v:shape adj=\"1\"/>";
|
|
@@ -1323,11 +1323,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1323
1323
|
} catch {
|
|
1324
1324
|
return !1;
|
|
1325
1325
|
}
|
|
1326
|
-
}(),
|
|
1327
|
-
function
|
|
1326
|
+
}(), Ge = navigator.platform.indexOf("Mac") === 0, Ke = navigator.platform.indexOf("Linux") === 0;
|
|
1327
|
+
function qe(e) {
|
|
1328
1328
|
return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
|
|
1329
1329
|
}
|
|
1330
|
-
var
|
|
1330
|
+
var H = {
|
|
1331
1331
|
ie: pe,
|
|
1332
1332
|
ielt9: me,
|
|
1333
1333
|
edge: he,
|
|
@@ -1348,70 +1348,70 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1348
1348
|
any3d: Ae,
|
|
1349
1349
|
mobile: je,
|
|
1350
1350
|
mobileWebkit: Me,
|
|
1351
|
-
mobileWebkit3d:
|
|
1352
|
-
msPointer:
|
|
1353
|
-
pointer:
|
|
1354
|
-
touch:
|
|
1355
|
-
touchNative:
|
|
1356
|
-
mobileOpera:
|
|
1357
|
-
mobileGecko:
|
|
1358
|
-
retina:
|
|
1359
|
-
passiveEvents:
|
|
1360
|
-
canvas:
|
|
1361
|
-
svg:
|
|
1362
|
-
vml:
|
|
1363
|
-
inlineSvg:
|
|
1364
|
-
mac:
|
|
1365
|
-
linux:
|
|
1366
|
-
},
|
|
1367
|
-
touchstart:
|
|
1368
|
-
touchmove:
|
|
1369
|
-
touchend:
|
|
1370
|
-
touchcancel:
|
|
1371
|
-
},
|
|
1372
|
-
touchstart:
|
|
1373
|
-
touchmove:
|
|
1374
|
-
touchend:
|
|
1375
|
-
touchcancel:
|
|
1376
|
-
},
|
|
1377
|
-
function tt(e, t, n) {
|
|
1378
|
-
return t === "touchstart" && ot(), Qe[t] ? (n = Qe[t].bind(this, n), e.addEventListener(Ze[t], n, !1), n) : (console.warn("wrong event specified:", t), l);
|
|
1379
|
-
}
|
|
1351
|
+
mobileWebkit3d: Ne,
|
|
1352
|
+
msPointer: Pe,
|
|
1353
|
+
pointer: V,
|
|
1354
|
+
touch: Ie,
|
|
1355
|
+
touchNative: Fe,
|
|
1356
|
+
mobileOpera: Le,
|
|
1357
|
+
mobileGecko: Re,
|
|
1358
|
+
retina: ze,
|
|
1359
|
+
passiveEvents: Be,
|
|
1360
|
+
canvas: Ve,
|
|
1361
|
+
svg: He,
|
|
1362
|
+
vml: We,
|
|
1363
|
+
inlineSvg: Ue,
|
|
1364
|
+
mac: Ge,
|
|
1365
|
+
linux: Ke
|
|
1366
|
+
}, Je = H.msPointer ? "MSPointerDown" : "pointerdown", Ye = H.msPointer ? "MSPointerMove" : "pointermove", Xe = H.msPointer ? "MSPointerUp" : "pointerup", Ze = H.msPointer ? "MSPointerCancel" : "pointercancel", Qe = {
|
|
1367
|
+
touchstart: Je,
|
|
1368
|
+
touchmove: Ye,
|
|
1369
|
+
touchend: Xe,
|
|
1370
|
+
touchcancel: Ze
|
|
1371
|
+
}, $e = {
|
|
1372
|
+
touchstart: lt,
|
|
1373
|
+
touchmove: ct,
|
|
1374
|
+
touchend: ct,
|
|
1375
|
+
touchcancel: ct
|
|
1376
|
+
}, et = {}, tt = !1;
|
|
1380
1377
|
function nt(e, t, n) {
|
|
1381
|
-
|
|
1378
|
+
return t === "touchstart" && st(), $e[t] ? (n = $e[t].bind(this, n), e.addEventListener(Qe[t], n, !1), n) : (console.warn("wrong event specified:", t), l);
|
|
1379
|
+
}
|
|
1380
|
+
function rt(e, t, n) {
|
|
1381
|
+
if (!Qe[t]) {
|
|
1382
1382
|
console.warn("wrong event specified:", t);
|
|
1383
1383
|
return;
|
|
1384
1384
|
}
|
|
1385
|
-
e.removeEventListener(
|
|
1386
|
-
}
|
|
1387
|
-
function rt(e) {
|
|
1388
|
-
$e[e.pointerId] = e;
|
|
1385
|
+
e.removeEventListener(Qe[t], n, !1);
|
|
1389
1386
|
}
|
|
1390
1387
|
function it(e) {
|
|
1391
|
-
|
|
1388
|
+
et[e.pointerId] = e;
|
|
1392
1389
|
}
|
|
1393
1390
|
function at(e) {
|
|
1394
|
-
|
|
1391
|
+
et[e.pointerId] && (et[e.pointerId] = e);
|
|
1395
1392
|
}
|
|
1396
|
-
function ot() {
|
|
1397
|
-
et
|
|
1393
|
+
function ot(e) {
|
|
1394
|
+
delete et[e.pointerId];
|
|
1398
1395
|
}
|
|
1399
|
-
function st(
|
|
1396
|
+
function st() {
|
|
1397
|
+
tt ||= (document.addEventListener(Je, it, !0), document.addEventListener(Ye, at, !0), document.addEventListener(Xe, ot, !0), document.addEventListener(Ze, ot, !0), !0);
|
|
1398
|
+
}
|
|
1399
|
+
function ct(e, t) {
|
|
1400
1400
|
if (t.pointerType !== (t.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
|
1401
|
-
for (var n in t.touches = [],
|
|
1401
|
+
for (var n in t.touches = [], et) t.touches.push(et[n]);
|
|
1402
1402
|
t.changedTouches = [t], e(t);
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1406
|
-
t.MSPOINTER_TYPE_TOUCH && t.pointerType === t.MSPOINTER_TYPE_TOUCH &&
|
|
1405
|
+
function lt(e, t) {
|
|
1406
|
+
t.MSPOINTER_TYPE_TOUCH && t.pointerType === t.MSPOINTER_TYPE_TOUCH && X(t), ct(e, t);
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1408
|
+
function ut(e) {
|
|
1409
1409
|
var t = {}, n, r;
|
|
1410
1410
|
for (r in e) n = e[r], t[r] = n && n.bind ? n.bind(e) : n;
|
|
1411
1411
|
return e = t, t.type = "dblclick", t.detail = 2, t.isTrusted = !1, t._simulated = !0, t;
|
|
1412
1412
|
}
|
|
1413
|
-
var
|
|
1414
|
-
function
|
|
1413
|
+
var dt = 200;
|
|
1414
|
+
function ft(e, t) {
|
|
1415
1415
|
e.addEventListener("dblclick", t);
|
|
1416
1416
|
var n = 0, r;
|
|
1417
1417
|
function i(e) {
|
|
@@ -1420,14 +1420,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1420
1420
|
return;
|
|
1421
1421
|
}
|
|
1422
1422
|
if (!(e.pointerType === "mouse" || e.sourceCapabilities && !e.sourceCapabilities.firesTouchEvents)) {
|
|
1423
|
-
var i =
|
|
1423
|
+
var i = Qt(e);
|
|
1424
1424
|
if (!(i.some(function(e) {
|
|
1425
1425
|
return e instanceof HTMLLabelElement && e.attributes.for;
|
|
1426
1426
|
}) && !i.some(function(e) {
|
|
1427
1427
|
return e instanceof HTMLInputElement || e instanceof HTMLSelectElement;
|
|
1428
1428
|
}))) {
|
|
1429
1429
|
var a = Date.now();
|
|
1430
|
-
a - n <=
|
|
1430
|
+
a - n <= dt ? (r++, r === 2 && t(ut(e))) : r = 1, n = a;
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
1433
|
}
|
|
@@ -1436,26 +1436,26 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1436
1436
|
simDblclick: i
|
|
1437
1437
|
};
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1439
|
+
function pt(e, t) {
|
|
1440
1440
|
e.removeEventListener("dblclick", t.dblclick), e.removeEventListener("click", t.simDblclick);
|
|
1441
1441
|
}
|
|
1442
|
-
var
|
|
1442
|
+
var mt = Dt([
|
|
1443
1443
|
"transform",
|
|
1444
1444
|
"webkitTransform",
|
|
1445
1445
|
"OTransform",
|
|
1446
1446
|
"MozTransform",
|
|
1447
1447
|
"msTransform"
|
|
1448
|
-
]),
|
|
1448
|
+
]), ht = Dt([
|
|
1449
1449
|
"webkitTransition",
|
|
1450
1450
|
"transition",
|
|
1451
1451
|
"OTransition",
|
|
1452
1452
|
"MozTransition",
|
|
1453
1453
|
"msTransition"
|
|
1454
|
-
]),
|
|
1455
|
-
function
|
|
1454
|
+
]), gt = ht === "webkitTransition" || ht === "OTransition" ? ht + "End" : "transitionend";
|
|
1455
|
+
function _t(e) {
|
|
1456
1456
|
return typeof e == "string" ? document.getElementById(e) : e;
|
|
1457
1457
|
}
|
|
1458
|
-
function
|
|
1458
|
+
function vt(e, t) {
|
|
1459
1459
|
var n = e.style[t] || e.currentStyle && e.currentStyle[t];
|
|
1460
1460
|
if ((!n || n === "auto") && document.defaultView) {
|
|
1461
1461
|
var r = document.defaultView.getComputedStyle(e, null);
|
|
@@ -1463,50 +1463,50 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1463
1463
|
}
|
|
1464
1464
|
return n === "auto" ? null : n;
|
|
1465
1465
|
}
|
|
1466
|
-
function
|
|
1466
|
+
function U(e, t, n) {
|
|
1467
1467
|
var r = document.createElement(e);
|
|
1468
1468
|
return r.className = t || "", n && n.appendChild(r), r;
|
|
1469
1469
|
}
|
|
1470
|
-
function
|
|
1470
|
+
function W(e) {
|
|
1471
1471
|
var t = e.parentNode;
|
|
1472
1472
|
t && t.removeChild(e);
|
|
1473
1473
|
}
|
|
1474
|
-
function
|
|
1474
|
+
function yt(e) {
|
|
1475
1475
|
for (; e.firstChild;) e.removeChild(e.firstChild);
|
|
1476
1476
|
}
|
|
1477
|
-
function
|
|
1477
|
+
function bt(e) {
|
|
1478
1478
|
var t = e.parentNode;
|
|
1479
1479
|
t && t.lastChild !== e && t.appendChild(e);
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1481
|
+
function xt(e) {
|
|
1482
1482
|
var t = e.parentNode;
|
|
1483
1483
|
t && t.firstChild !== e && t.insertBefore(e, t.firstChild);
|
|
1484
1484
|
}
|
|
1485
|
-
function
|
|
1485
|
+
function St(e, t) {
|
|
1486
1486
|
if (e.classList !== void 0) return e.classList.contains(t);
|
|
1487
|
-
var n =
|
|
1487
|
+
var n = wt(e);
|
|
1488
1488
|
return n.length > 0 && RegExp("(^|\\s)" + t + "(\\s|$)").test(n);
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function G(e, t) {
|
|
1491
1491
|
if (e.classList !== void 0) for (var n = f(t), r = 0, i = n.length; r < i; r++) e.classList.add(n[r]);
|
|
1492
|
-
else if (!
|
|
1493
|
-
var a =
|
|
1494
|
-
|
|
1492
|
+
else if (!St(e, t)) {
|
|
1493
|
+
var a = wt(e);
|
|
1494
|
+
Ct(e, (a ? a + " " : "") + t);
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
|
-
function
|
|
1498
|
-
e.classList === void 0 ?
|
|
1497
|
+
function K(e, t) {
|
|
1498
|
+
e.classList === void 0 ? Ct(e, d((" " + wt(e) + " ").replace(" " + t + " ", " "))) : e.classList.remove(t);
|
|
1499
1499
|
}
|
|
1500
|
-
function
|
|
1500
|
+
function Ct(e, t) {
|
|
1501
1501
|
e.className.baseVal === void 0 ? e.className = t : e.className.baseVal = t;
|
|
1502
1502
|
}
|
|
1503
|
-
function
|
|
1503
|
+
function wt(e) {
|
|
1504
1504
|
return e.correspondingElement && (e = e.correspondingElement), e.className.baseVal === void 0 ? e.className : e.className.baseVal;
|
|
1505
1505
|
}
|
|
1506
|
-
function wt(e, t) {
|
|
1507
|
-
"opacity" in e.style ? e.style.opacity = t : "filter" in e.style && Tt(e, t);
|
|
1508
|
-
}
|
|
1509
1506
|
function Tt(e, t) {
|
|
1507
|
+
"opacity" in e.style ? e.style.opacity = t : "filter" in e.style && Et(e, t);
|
|
1508
|
+
}
|
|
1509
|
+
function Et(e, t) {
|
|
1510
1510
|
var n = !1, r = "DXImageTransform.Microsoft.Alpha";
|
|
1511
1511
|
try {
|
|
1512
1512
|
n = e.filters.item(r);
|
|
@@ -1515,64 +1515,64 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1515
1515
|
}
|
|
1516
1516
|
t = Math.round(t * 100), n ? (n.Enabled = t !== 100, n.Opacity = t) : e.style.filter += " progid:" + r + "(opacity=" + t + ")";
|
|
1517
1517
|
}
|
|
1518
|
-
function
|
|
1518
|
+
function Dt(e) {
|
|
1519
1519
|
for (var t = document.documentElement.style, n = 0; n < e.length; n++) if (e[n] in t) return e[n];
|
|
1520
1520
|
return !1;
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1522
|
+
function Ot(e, t, n) {
|
|
1523
1523
|
var r = t || new D(0, 0);
|
|
1524
|
-
e.style[
|
|
1524
|
+
e.style[mt] = (H.ie3d ? "translate(" + r.x + "px," + r.y + "px)" : "translate3d(" + r.x + "px," + r.y + "px,0)") + (n ? " scale(" + n + ")" : "");
|
|
1525
1525
|
}
|
|
1526
|
-
function
|
|
1527
|
-
e._leaflet_pos = t,
|
|
1526
|
+
function q(e, t) {
|
|
1527
|
+
e._leaflet_pos = t, H.any3d ? Ot(e, t) : (e.style.left = t.x + "px", e.style.top = t.y + "px");
|
|
1528
1528
|
}
|
|
1529
|
-
function
|
|
1529
|
+
function kt(e) {
|
|
1530
1530
|
return e._leaflet_pos || new D(0, 0);
|
|
1531
1531
|
}
|
|
1532
|
-
var
|
|
1533
|
-
if ("onselectstart" in document)
|
|
1534
|
-
|
|
1535
|
-
},
|
|
1536
|
-
|
|
1532
|
+
var At, jt, Mt;
|
|
1533
|
+
if ("onselectstart" in document) At = function() {
|
|
1534
|
+
J(window, "selectstart", X);
|
|
1535
|
+
}, jt = function() {
|
|
1536
|
+
Y(window, "selectstart", X);
|
|
1537
1537
|
};
|
|
1538
1538
|
else {
|
|
1539
|
-
var
|
|
1539
|
+
var Nt = Dt([
|
|
1540
1540
|
"userSelect",
|
|
1541
1541
|
"WebkitUserSelect",
|
|
1542
1542
|
"OUserSelect",
|
|
1543
1543
|
"MozUserSelect",
|
|
1544
1544
|
"msUserSelect"
|
|
1545
1545
|
]);
|
|
1546
|
-
|
|
1547
|
-
if (
|
|
1546
|
+
At = function() {
|
|
1547
|
+
if (Nt) {
|
|
1548
1548
|
var e = document.documentElement.style;
|
|
1549
|
-
|
|
1549
|
+
Mt = e[Nt], e[Nt] = "none";
|
|
1550
1550
|
}
|
|
1551
|
-
},
|
|
1552
|
-
|
|
1551
|
+
}, jt = function() {
|
|
1552
|
+
Nt && (document.documentElement.style[Nt] = Mt, Mt = void 0);
|
|
1553
1553
|
};
|
|
1554
1554
|
}
|
|
1555
|
-
function Nt() {
|
|
1556
|
-
Y(window, "dragstart", Z);
|
|
1557
|
-
}
|
|
1558
1555
|
function Pt() {
|
|
1559
|
-
|
|
1556
|
+
J(window, "dragstart", X);
|
|
1557
|
+
}
|
|
1558
|
+
function Ft() {
|
|
1559
|
+
Y(window, "dragstart", X);
|
|
1560
1560
|
}
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1561
|
+
var It, Lt;
|
|
1562
|
+
function Rt(e) {
|
|
1563
1563
|
for (; e.tabIndex === -1;) e = e.parentNode;
|
|
1564
|
-
e.style && (
|
|
1564
|
+
e.style && (zt(), It = e, Lt = e.style.outlineStyle, e.style.outlineStyle = "none", J(window, "keydown", zt));
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1567
|
-
|
|
1566
|
+
function zt() {
|
|
1567
|
+
It && (It.style.outlineStyle = Lt, It = void 0, Lt = void 0, Y(window, "keydown", zt));
|
|
1568
1568
|
}
|
|
1569
|
-
function
|
|
1569
|
+
function Bt(e) {
|
|
1570
1570
|
do
|
|
1571
1571
|
e = e.parentNode;
|
|
1572
1572
|
while ((!e.offsetWidth || !e.offsetHeight) && e !== document.body);
|
|
1573
1573
|
return e;
|
|
1574
1574
|
}
|
|
1575
|
-
function
|
|
1575
|
+
function Vt(e) {
|
|
1576
1576
|
var t = e.getBoundingClientRect();
|
|
1577
1577
|
return {
|
|
1578
1578
|
x: t.width / e.offsetWidth || 1,
|
|
@@ -1580,116 +1580,116 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1580
1580
|
boundingClientRect: t
|
|
1581
1581
|
};
|
|
1582
1582
|
}
|
|
1583
|
-
var
|
|
1583
|
+
var Ht = {
|
|
1584
1584
|
__proto__: null,
|
|
1585
|
-
TRANSFORM:
|
|
1586
|
-
TRANSITION:
|
|
1587
|
-
TRANSITION_END:
|
|
1588
|
-
get:
|
|
1589
|
-
getStyle:
|
|
1590
|
-
create:
|
|
1591
|
-
remove:
|
|
1592
|
-
empty:
|
|
1593
|
-
toFront:
|
|
1594
|
-
toBack:
|
|
1595
|
-
hasClass:
|
|
1596
|
-
addClass:
|
|
1597
|
-
removeClass:
|
|
1598
|
-
setClass:
|
|
1599
|
-
getClass:
|
|
1600
|
-
setOpacity:
|
|
1601
|
-
testProp:
|
|
1602
|
-
setTransform:
|
|
1603
|
-
setPosition:
|
|
1604
|
-
getPosition:
|
|
1585
|
+
TRANSFORM: mt,
|
|
1586
|
+
TRANSITION: ht,
|
|
1587
|
+
TRANSITION_END: gt,
|
|
1588
|
+
get: _t,
|
|
1589
|
+
getStyle: vt,
|
|
1590
|
+
create: U,
|
|
1591
|
+
remove: W,
|
|
1592
|
+
empty: yt,
|
|
1593
|
+
toFront: bt,
|
|
1594
|
+
toBack: xt,
|
|
1595
|
+
hasClass: St,
|
|
1596
|
+
addClass: G,
|
|
1597
|
+
removeClass: K,
|
|
1598
|
+
setClass: Ct,
|
|
1599
|
+
getClass: wt,
|
|
1600
|
+
setOpacity: Tt,
|
|
1601
|
+
testProp: Dt,
|
|
1602
|
+
setTransform: Ot,
|
|
1603
|
+
setPosition: q,
|
|
1604
|
+
getPosition: kt,
|
|
1605
1605
|
get disableTextSelection() {
|
|
1606
|
-
return kt;
|
|
1607
|
-
},
|
|
1608
|
-
get enableTextSelection() {
|
|
1609
1606
|
return At;
|
|
1610
1607
|
},
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1608
|
+
get enableTextSelection() {
|
|
1609
|
+
return jt;
|
|
1610
|
+
},
|
|
1611
|
+
disableImageDrag: Pt,
|
|
1612
|
+
enableImageDrag: Ft,
|
|
1613
|
+
preventOutline: Rt,
|
|
1614
|
+
restoreOutline: zt,
|
|
1615
|
+
getSizedParentNode: Bt,
|
|
1616
|
+
getScale: Vt
|
|
1617
1617
|
};
|
|
1618
|
-
function
|
|
1619
|
-
if (t && typeof t == "object") for (var i in t)
|
|
1618
|
+
function J(e, t, n, r) {
|
|
1619
|
+
if (t && typeof t == "object") for (var i in t) Kt(e, i, t[i], n);
|
|
1620
1620
|
else {
|
|
1621
1621
|
t = f(t);
|
|
1622
|
-
for (var a = 0, o = t.length; a < o; a++)
|
|
1622
|
+
for (var a = 0, o = t.length; a < o; a++) Kt(e, t[a], n, r);
|
|
1623
1623
|
}
|
|
1624
1624
|
return this;
|
|
1625
1625
|
}
|
|
1626
|
-
var
|
|
1627
|
-
function
|
|
1628
|
-
if (arguments.length === 1)
|
|
1629
|
-
else if (t && typeof t == "object") for (var i in t)
|
|
1630
|
-
else if (t = f(t), arguments.length === 2)
|
|
1626
|
+
var Ut = "_leaflet_events";
|
|
1627
|
+
function Y(e, t, n, r) {
|
|
1628
|
+
if (arguments.length === 1) Wt(e), delete e[Ut];
|
|
1629
|
+
else if (t && typeof t == "object") for (var i in t) qt(e, i, t[i], n);
|
|
1630
|
+
else if (t = f(t), arguments.length === 2) Wt(e, function(e) {
|
|
1631
1631
|
return ee(t, e) !== -1;
|
|
1632
1632
|
});
|
|
1633
|
-
else for (var a = 0, o = t.length; a < o; a++)
|
|
1633
|
+
else for (var a = 0, o = t.length; a < o; a++) qt(e, t[a], n, r);
|
|
1634
1634
|
return this;
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1637
|
-
for (var n in e[
|
|
1636
|
+
function Wt(e, t) {
|
|
1637
|
+
for (var n in e[Ut]) {
|
|
1638
1638
|
var r = n.split(/\d/)[0];
|
|
1639
|
-
(!t || t(r)) &&
|
|
1639
|
+
(!t || t(r)) && qt(e, r, null, null, n);
|
|
1640
1640
|
}
|
|
1641
1641
|
}
|
|
1642
|
-
var
|
|
1642
|
+
var Gt = {
|
|
1643
1643
|
mouseenter: "mouseover",
|
|
1644
1644
|
mouseleave: "mouseout",
|
|
1645
1645
|
wheel: !("onwheel" in window) && "mousewheel"
|
|
1646
1646
|
};
|
|
1647
|
-
function
|
|
1647
|
+
function Kt(e, t, n, r) {
|
|
1648
1648
|
var i = t + o(n) + (r ? "_" + o(r) : "");
|
|
1649
|
-
if (e[
|
|
1649
|
+
if (e[Ut] && e[Ut][i]) return this;
|
|
1650
1650
|
var a = function(t) {
|
|
1651
1651
|
return n.call(r || e, t || window.event);
|
|
1652
1652
|
}, s = a;
|
|
1653
|
-
!
|
|
1654
|
-
t ||= window.event,
|
|
1655
|
-
}, e.addEventListener(
|
|
1653
|
+
!H.touchNative && H.pointer && t.indexOf("touch") === 0 ? a = nt(e, t, a) : H.touch && t === "dblclick" ? a = ft(e, a) : "addEventListener" in e ? t === "touchstart" || t === "touchmove" || t === "wheel" || t === "mousewheel" ? e.addEventListener(Gt[t] || t, a, H.passiveEvents ? { passive: !1 } : !1) : t === "mouseenter" || t === "mouseleave" ? (a = function(t) {
|
|
1654
|
+
t ||= window.event, nn(e, t) && s(t);
|
|
1655
|
+
}, e.addEventListener(Gt[t], a, !1)) : e.addEventListener(t, s, !1) : e.attachEvent("on" + t, a), e[Ut] = e[Ut] || {}, e[Ut][i] = a;
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1657
|
+
function qt(e, t, n, r, i) {
|
|
1658
1658
|
i ||= t + o(n) + (r ? "_" + o(r) : "");
|
|
1659
|
-
var a = e[
|
|
1659
|
+
var a = e[Ut] && e[Ut][i];
|
|
1660
1660
|
if (!a) return this;
|
|
1661
|
-
!
|
|
1662
|
-
}
|
|
1663
|
-
function qt(e) {
|
|
1664
|
-
return e.stopPropagation ? e.stopPropagation() : e.originalEvent ? e.originalEvent._stopped = !0 : e.cancelBubble = !0, this;
|
|
1661
|
+
!H.touchNative && H.pointer && t.indexOf("touch") === 0 ? rt(e, t, a) : H.touch && t === "dblclick" ? pt(e, a) : "removeEventListener" in e ? e.removeEventListener(Gt[t] || t, a, !1) : e.detachEvent("on" + t, a), e[Ut][i] = null;
|
|
1665
1662
|
}
|
|
1666
1663
|
function Jt(e) {
|
|
1667
|
-
return
|
|
1664
|
+
return e.stopPropagation ? e.stopPropagation() : e.originalEvent ? e.originalEvent._stopped = !0 : e.cancelBubble = !0, this;
|
|
1668
1665
|
}
|
|
1669
1666
|
function Yt(e) {
|
|
1670
|
-
return
|
|
1671
|
-
}
|
|
1672
|
-
function Z(e) {
|
|
1673
|
-
return e.preventDefault ? e.preventDefault() : e.returnValue = !1, this;
|
|
1667
|
+
return Kt(e, "wheel", Jt), this;
|
|
1674
1668
|
}
|
|
1675
1669
|
function Xt(e) {
|
|
1676
|
-
return
|
|
1670
|
+
return J(e, "mousedown touchstart dblclick contextmenu", Jt), e._leaflet_disable_click = !0, this;
|
|
1671
|
+
}
|
|
1672
|
+
function X(e) {
|
|
1673
|
+
return e.preventDefault ? e.preventDefault() : e.returnValue = !1, this;
|
|
1677
1674
|
}
|
|
1678
1675
|
function Zt(e) {
|
|
1676
|
+
return X(e), Jt(e), this;
|
|
1677
|
+
}
|
|
1678
|
+
function Qt(e) {
|
|
1679
1679
|
if (e.composedPath) return e.composedPath();
|
|
1680
1680
|
for (var t = [], n = e.target; n;) t.push(n), n = n.parentNode;
|
|
1681
1681
|
return t;
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function $t(e, t) {
|
|
1684
1684
|
if (!t) return new D(e.clientX, e.clientY);
|
|
1685
|
-
var n =
|
|
1685
|
+
var n = Vt(t), r = n.boundingClientRect;
|
|
1686
1686
|
return new D((e.clientX - r.left) / n.x - t.clientLeft, (e.clientY - r.top) / n.y - t.clientTop);
|
|
1687
1687
|
}
|
|
1688
|
-
var
|
|
1689
|
-
function
|
|
1690
|
-
return
|
|
1688
|
+
var en = H.linux && H.chrome ? window.devicePixelRatio : H.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
|
1689
|
+
function tn(e) {
|
|
1690
|
+
return H.edge ? e.wheelDeltaY / 2 : e.deltaY && e.deltaMode === 0 ? -e.deltaY / en : e.deltaY && e.deltaMode === 1 ? -e.deltaY * 20 : e.deltaY && e.deltaMode === 2 ? -e.deltaY * 60 : e.deltaX || e.deltaZ ? 0 : e.wheelDelta ? (e.wheelDeltaY || e.wheelDelta) / 2 : e.detail && Math.abs(e.detail) < 32765 ? -e.detail * 20 : e.detail ? e.detail / -32765 * 60 : 0;
|
|
1691
1691
|
}
|
|
1692
|
-
function
|
|
1692
|
+
function nn(e, t) {
|
|
1693
1693
|
var n = t.relatedTarget;
|
|
1694
1694
|
if (!n) return !0;
|
|
1695
1695
|
try {
|
|
@@ -1699,24 +1699,24 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1699
1699
|
}
|
|
1700
1700
|
return n !== e;
|
|
1701
1701
|
}
|
|
1702
|
-
var
|
|
1702
|
+
var rn = {
|
|
1703
1703
|
__proto__: null,
|
|
1704
|
-
on:
|
|
1705
|
-
off:
|
|
1706
|
-
stopPropagation:
|
|
1707
|
-
disableScrollPropagation:
|
|
1708
|
-
disableClickPropagation:
|
|
1709
|
-
preventDefault:
|
|
1710
|
-
stop:
|
|
1711
|
-
getPropagationPath:
|
|
1712
|
-
getMousePosition:
|
|
1713
|
-
getWheelDelta:
|
|
1714
|
-
isExternalTarget:
|
|
1715
|
-
addListener:
|
|
1716
|
-
removeListener:
|
|
1717
|
-
},
|
|
1704
|
+
on: J,
|
|
1705
|
+
off: Y,
|
|
1706
|
+
stopPropagation: Jt,
|
|
1707
|
+
disableScrollPropagation: Yt,
|
|
1708
|
+
disableClickPropagation: Xt,
|
|
1709
|
+
preventDefault: X,
|
|
1710
|
+
stop: Zt,
|
|
1711
|
+
getPropagationPath: Qt,
|
|
1712
|
+
getMousePosition: $t,
|
|
1713
|
+
getWheelDelta: tn,
|
|
1714
|
+
isExternalTarget: nn,
|
|
1715
|
+
addListener: J,
|
|
1716
|
+
removeListener: Y
|
|
1717
|
+
}, an = E.extend({
|
|
1718
1718
|
run: function(e, t, n, r) {
|
|
1719
|
-
this.stop(), this._el = e, this._inProgress = !0, this._duration = n || .25, this._easeOutPower = 1 / Math.max(r || .5, .2), this._startPos =
|
|
1719
|
+
this.stop(), this._el = e, this._inProgress = !0, this._duration = n || .25, this._easeOutPower = 1 / Math.max(r || .5, .2), this._startPos = kt(e), this._offset = t.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
|
|
1720
1720
|
},
|
|
1721
1721
|
stop: function() {
|
|
1722
1722
|
this._inProgress && (this._step(!0), this._complete());
|
|
@@ -1730,7 +1730,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1730
1730
|
},
|
|
1731
1731
|
_runFrame: function(e, t) {
|
|
1732
1732
|
var n = this._startPos.add(this._offset.multiplyBy(e));
|
|
1733
|
-
t && n._round(),
|
|
1733
|
+
t && n._round(), q(this._el, n), this.fire("step");
|
|
1734
1734
|
},
|
|
1735
1735
|
_complete: function() {
|
|
1736
1736
|
S(this._animId), this._inProgress = !1, this.fire("end");
|
|
@@ -1738,7 +1738,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1738
1738
|
_easeOut: function(e) {
|
|
1739
1739
|
return 1 - (1 - e) ** this._easeOutPower;
|
|
1740
1740
|
}
|
|
1741
|
-
}),
|
|
1741
|
+
}), Z = E.extend({
|
|
1742
1742
|
options: {
|
|
1743
1743
|
crs: ce,
|
|
1744
1744
|
center: void 0,
|
|
@@ -1758,7 +1758,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1758
1758
|
trackResize: !0
|
|
1759
1759
|
},
|
|
1760
1760
|
initialize: function(e, t) {
|
|
1761
|
-
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 =
|
|
1761
|
+
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 = ht && H.any3d && !H.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), J(this._proxy, gt, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
|
|
1762
1762
|
},
|
|
1763
1763
|
setView: function(e, t, r) {
|
|
1764
1764
|
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({
|
|
@@ -1770,10 +1770,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1770
1770
|
return this._loaded ? this.setView(this.getCenter(), e, { zoom: t }) : (this._zoom = e, this);
|
|
1771
1771
|
},
|
|
1772
1772
|
zoomIn: function(e, t) {
|
|
1773
|
-
return e ||=
|
|
1773
|
+
return e ||= H.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom + e, t);
|
|
1774
1774
|
},
|
|
1775
1775
|
zoomOut: function(e, t) {
|
|
1776
|
-
return e ||=
|
|
1776
|
+
return e ||= H.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom - e, t);
|
|
1777
1777
|
},
|
|
1778
1778
|
setZoomAround: function(e, t, n) {
|
|
1779
1779
|
var r = this.getZoomScale(t), i = this.getSize().divideBy(2), a = (e instanceof D ? e : this.latLngToContainerPoint(e)).subtract(i).multiplyBy(1 - 1 / r), o = this.containerPointToLatLng(i.add(a));
|
|
@@ -1806,18 +1806,18 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1806
1806
|
panBy: function(e, t) {
|
|
1807
1807
|
if (e = O(e).round(), t ||= {}, !e.x && !e.y) return this.fire("moveend");
|
|
1808
1808
|
if (t.animate !== !0 && !this.getSize().contains(e)) return this._resetView(this.unproject(this.project(this.getCenter()).add(e)), this.getZoom()), this;
|
|
1809
|
-
if (this._panAnim || (this._panAnim = new
|
|
1809
|
+
if (this._panAnim || (this._panAnim = new an(), this._panAnim.on({
|
|
1810
1810
|
step: this._onPanTransitionStep,
|
|
1811
1811
|
end: this._onPanTransitionEnd
|
|
1812
1812
|
}, this)), t.noMoveStart || this.fire("movestart"), t.animate !== !1) {
|
|
1813
|
-
|
|
1813
|
+
G(this._mapPane, "leaflet-pan-anim");
|
|
1814
1814
|
var n = this._getMapPanePos().subtract(e).round();
|
|
1815
1815
|
this._panAnim.run(this._mapPane, n, t.duration || .25, t.easeLinearity);
|
|
1816
1816
|
} else this._rawPanBy(e), this.fire("move").fire("moveend");
|
|
1817
1817
|
return this;
|
|
1818
1818
|
},
|
|
1819
1819
|
flyTo: function(e, t, n) {
|
|
1820
|
-
if (n ||= {}, n.animate === !1 || !
|
|
1820
|
+
if (n ||= {}, n.animate === !1 || !H.any3d) return this.setView(e, t, n);
|
|
1821
1821
|
this._stop();
|
|
1822
1822
|
var r = this.project(this.getCenter()), i = this.project(e), a = this.getSize(), o = this._zoom;
|
|
1823
1823
|
e = P(e), t = t === void 0 ? o : t;
|
|
@@ -1950,12 +1950,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1950
1950
|
} catch {
|
|
1951
1951
|
this._container._leaflet_id = void 0, this._containerId = void 0;
|
|
1952
1952
|
}
|
|
1953
|
-
for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(),
|
|
1954
|
-
for (e in this._panes)
|
|
1953
|
+
for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), W(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest &&= (S(this._resizeRequest), null), this._clearHandlers(), this._loaded && this.fire("unload"), this._layers) this._layers[e].remove();
|
|
1954
|
+
for (e in this._panes) W(this._panes[e]);
|
|
1955
1955
|
return this._layers = [], this._panes = [], delete this._mapPane, delete this._renderer, this;
|
|
1956
1956
|
},
|
|
1957
1957
|
createPane: function(e, t) {
|
|
1958
|
-
var n =
|
|
1958
|
+
var n = U("div", "leaflet-pane" + (e ? " leaflet-" + e.replace("Pane", "") + "-pane" : ""), t || this._mapPane);
|
|
1959
1959
|
return e && (this._panes[e] = n), n;
|
|
1960
1960
|
},
|
|
1961
1961
|
getCenter: function() {
|
|
@@ -1976,7 +1976,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1976
1976
|
},
|
|
1977
1977
|
getBoundsZoom: function(e, t, n) {
|
|
1978
1978
|
e = M(e), n = O(n || [0, 0]);
|
|
1979
|
-
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 =
|
|
1979
|
+
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 = H.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);
|
|
1980
1980
|
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));
|
|
1981
1981
|
},
|
|
1982
1982
|
getSize: function() {
|
|
@@ -2047,7 +2047,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2047
2047
|
return this.layerPointToContainerPoint(this.latLngToLayerPoint(P(e)));
|
|
2048
2048
|
},
|
|
2049
2049
|
mouseEventToContainerPoint: function(e) {
|
|
2050
|
-
return
|
|
2050
|
+
return $t(e, this._container);
|
|
2051
2051
|
},
|
|
2052
2052
|
mouseEventToLayerPoint: function(e) {
|
|
2053
2053
|
return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e));
|
|
@@ -2056,23 +2056,23 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2056
2056
|
return this.layerPointToLatLng(this.mouseEventToLayerPoint(e));
|
|
2057
2057
|
},
|
|
2058
2058
|
_initContainer: function(e) {
|
|
2059
|
-
var t = this._container =
|
|
2059
|
+
var t = this._container = _t(e);
|
|
2060
2060
|
if (!t) throw Error("Map container not found.");
|
|
2061
2061
|
if (t._leaflet_id) throw Error("Map container is already initialized.");
|
|
2062
|
-
|
|
2062
|
+
J(t, "scroll", this._onScroll, this), this._containerId = o(t);
|
|
2063
2063
|
},
|
|
2064
2064
|
_initLayout: function() {
|
|
2065
2065
|
var e = this._container;
|
|
2066
|
-
this._fadeAnimated = this.options.fadeAnimation &&
|
|
2067
|
-
var t =
|
|
2066
|
+
this._fadeAnimated = this.options.fadeAnimation && H.any3d, G(e, "leaflet-container" + (H.touch ? " leaflet-touch" : "") + (H.retina ? " leaflet-retina" : "") + (H.ielt9 ? " leaflet-oldie" : "") + (H.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
|
|
2067
|
+
var t = vt(e, "position");
|
|
2068
2068
|
t !== "absolute" && t !== "relative" && t !== "fixed" && t !== "sticky" && (e.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
|
|
2069
2069
|
},
|
|
2070
2070
|
_initPanes: function() {
|
|
2071
2071
|
var e = this._panes = {};
|
|
2072
|
-
this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container),
|
|
2072
|
+
this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), q(this._mapPane, new D(0, 0)), this.createPane("tilePane"), this.createPane("overlayPane"), this.createPane("shadowPane"), this.createPane("markerPane"), this.createPane("tooltipPane"), this.createPane("popupPane"), this.options.markerZoomAnimation || (G(e.markerPane, "leaflet-zoom-hide"), G(e.shadowPane, "leaflet-zoom-hide"));
|
|
2073
2073
|
},
|
|
2074
2074
|
_resetView: function(e, t, n) {
|
|
2075
|
-
|
|
2075
|
+
q(this._mapPane, new D(0, 0));
|
|
2076
2076
|
var r = !this._loaded;
|
|
2077
2077
|
this._loaded = !0, t = this._limitZoom(t), this.fire("viewprereset");
|
|
2078
2078
|
var i = this._zoom !== t;
|
|
@@ -2093,7 +2093,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2093
2093
|
return S(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;
|
|
2094
2094
|
},
|
|
2095
2095
|
_rawPanBy: function(e) {
|
|
2096
|
-
|
|
2096
|
+
q(this._mapPane, this._getMapPanePos().subtract(e));
|
|
2097
2097
|
},
|
|
2098
2098
|
_getZoomSpan: function() {
|
|
2099
2099
|
return this.getMaxZoom() - this.getMinZoom();
|
|
@@ -2106,8 +2106,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2106
2106
|
},
|
|
2107
2107
|
_initEvents: function(e) {
|
|
2108
2108
|
this._targets = {}, this._targets[o(this._container)] = this;
|
|
2109
|
-
var t = e ?
|
|
2110
|
-
t(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && t(window, "resize", this._onResize, this),
|
|
2109
|
+
var t = e ? Y : J;
|
|
2110
|
+
t(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && t(window, "resize", this._onResize, this), H.any3d && this.options.transform3DLimit && (e ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
|
|
2111
2111
|
},
|
|
2112
2112
|
_onResize: function() {
|
|
2113
2113
|
S(this._resizeRequest), this._resizeRequest = x(function() {
|
|
@@ -2127,7 +2127,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2127
2127
|
s = !0;
|
|
2128
2128
|
break;
|
|
2129
2129
|
}
|
|
2130
|
-
if (r && r.listens(t, !0) && (i && !
|
|
2130
|
+
if (r && r.listens(t, !0) && (i && !nn(a, e) || (n.push(r), i)) || a === this._container) break;
|
|
2131
2131
|
a = a.parentNode;
|
|
2132
2132
|
}
|
|
2133
2133
|
return !n.length && !s && !i && this.listens(t, !0) && (n = [this]), n;
|
|
@@ -2142,7 +2142,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2142
2142
|
var t = e.target || e.srcElement;
|
|
2143
2143
|
if (!(!this._loaded || t._leaflet_disable_events || e.type === "click" && this._isClickDisabled(t))) {
|
|
2144
2144
|
var n = e.type;
|
|
2145
|
-
n === "mousedown" &&
|
|
2145
|
+
n === "mousedown" && Rt(t), this._fireDOMEvent(e, n);
|
|
2146
2146
|
}
|
|
2147
2147
|
},
|
|
2148
2148
|
_mouseEvents: [
|
|
@@ -2163,7 +2163,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2163
2163
|
a = o.concat(a);
|
|
2164
2164
|
}
|
|
2165
2165
|
if (a.length) {
|
|
2166
|
-
t === "contextmenu" &&
|
|
2166
|
+
t === "contextmenu" && X(e);
|
|
2167
2167
|
var c = a[0], l = { originalEvent: e };
|
|
2168
2168
|
if (e.type !== "keypress" && e.type !== "keydown" && e.type !== "keyup") {
|
|
2169
2169
|
var u = c.getLatLng && (!c._radius || c._radius <= 10);
|
|
@@ -2182,7 +2182,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2182
2182
|
return this._loaded ? e.call(t || this, { target: this }) : this.on("load", e, t), this;
|
|
2183
2183
|
},
|
|
2184
2184
|
_getMapPanePos: function() {
|
|
2185
|
-
return
|
|
2185
|
+
return kt(this._mapPane) || new D(0, 0);
|
|
2186
2186
|
},
|
|
2187
2187
|
_moved: function() {
|
|
2188
2188
|
var e = this._getMapPanePos();
|
|
@@ -2232,32 +2232,32 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2232
2232
|
return e + t > 0 ? Math.round(e - t) / 2 : Math.max(0, Math.ceil(e)) - Math.max(0, Math.floor(t));
|
|
2233
2233
|
},
|
|
2234
2234
|
_limitZoom: function(e) {
|
|
2235
|
-
var t = this.getMinZoom(), n = this.getMaxZoom(), r =
|
|
2235
|
+
var t = this.getMinZoom(), n = this.getMaxZoom(), r = H.any3d ? this.options.zoomSnap : 1;
|
|
2236
2236
|
return r && (e = Math.round(e / r) * r), Math.max(t, Math.min(n, e));
|
|
2237
2237
|
},
|
|
2238
2238
|
_onPanTransitionStep: function() {
|
|
2239
2239
|
this.fire("move");
|
|
2240
2240
|
},
|
|
2241
2241
|
_onPanTransitionEnd: function() {
|
|
2242
|
-
|
|
2242
|
+
K(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");
|
|
2243
2243
|
},
|
|
2244
2244
|
_tryAnimatedPan: function(e, t) {
|
|
2245
2245
|
var n = this._getCenterOffset(e)._trunc();
|
|
2246
2246
|
return (t && t.animate) !== !0 && !this.getSize().contains(n) ? !1 : (this.panBy(n, t), !0);
|
|
2247
2247
|
},
|
|
2248
2248
|
_createAnimProxy: function() {
|
|
2249
|
-
var e = this._proxy =
|
|
2249
|
+
var e = this._proxy = U("div", "leaflet-proxy leaflet-zoom-animated");
|
|
2250
2250
|
this._panes.mapPane.appendChild(e), this.on("zoomanim", function(e) {
|
|
2251
|
-
var t =
|
|
2252
|
-
|
|
2251
|
+
var t = mt, n = this._proxy.style[t];
|
|
2252
|
+
Ot(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[t] && this._animatingZoom && this._onZoomTransitionEnd();
|
|
2253
2253
|
}, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
|
|
2254
2254
|
},
|
|
2255
2255
|
_destroyAnimProxy: function() {
|
|
2256
|
-
|
|
2256
|
+
W(this._proxy), this.off("load moveend", this._animMoveEnd, this), delete this._proxy;
|
|
2257
2257
|
},
|
|
2258
2258
|
_animMoveEnd: function() {
|
|
2259
2259
|
var e = this.getCenter(), t = this.getZoom();
|
|
2260
|
-
|
|
2260
|
+
Ot(this._proxy, this.project(e, t), this.getZoomScale(t, 1));
|
|
2261
2261
|
},
|
|
2262
2262
|
_catchTransitionEnd: function(e) {
|
|
2263
2263
|
this._animatingZoom && e.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
|
|
@@ -2274,20 +2274,20 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2274
2274
|
}, this), !0);
|
|
2275
2275
|
},
|
|
2276
2276
|
_animateZoom: function(e, t, n, r) {
|
|
2277
|
-
this._mapPane && (n && (this._animatingZoom = !0, this._animateToCenter = e, this._animateToZoom = t,
|
|
2277
|
+
this._mapPane && (n && (this._animatingZoom = !0, this._animateToCenter = e, this._animateToZoom = t, G(this._mapPane, "leaflet-zoom-anim")), this.fire("zoomanim", {
|
|
2278
2278
|
center: e,
|
|
2279
2279
|
zoom: t,
|
|
2280
2280
|
noUpdate: r
|
|
2281
2281
|
}), this._tempFireZoomEvent ||= this._zoom !== this._animateToZoom, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), setTimeout(i(this._onZoomTransitionEnd, this), 250));
|
|
2282
2282
|
},
|
|
2283
2283
|
_onZoomTransitionEnd: function() {
|
|
2284
|
-
this._animatingZoom && (this._mapPane &&
|
|
2284
|
+
this._animatingZoom && (this._mapPane && K(this._mapPane, "leaflet-zoom-anim"), this._animatingZoom = !1, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), this._tempFireZoomEvent && this.fire("zoom"), delete this._tempFireZoomEvent, this.fire("move"), this._moveEnd(!0));
|
|
2285
2285
|
}
|
|
2286
2286
|
});
|
|
2287
|
-
function
|
|
2288
|
-
return new
|
|
2287
|
+
function on(e, t) {
|
|
2288
|
+
return new Z(e, t);
|
|
2289
2289
|
}
|
|
2290
|
-
var
|
|
2290
|
+
var sn = ie.extend({
|
|
2291
2291
|
options: { position: "topright" },
|
|
2292
2292
|
initialize: function(e) {
|
|
2293
2293
|
p(this, e);
|
|
@@ -2305,18 +2305,18 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2305
2305
|
addTo: function(e) {
|
|
2306
2306
|
this.remove(), this._map = e;
|
|
2307
2307
|
var t = this._container = this.onAdd(e), n = this.getPosition(), r = e._controlCorners[n];
|
|
2308
|
-
return
|
|
2308
|
+
return G(t, "leaflet-control"), n.indexOf("bottom") === -1 ? r.appendChild(t) : r.insertBefore(t, r.firstChild), this._map.on("unload", this.remove, this), this;
|
|
2309
2309
|
},
|
|
2310
2310
|
remove: function() {
|
|
2311
|
-
return this._map ? (
|
|
2311
|
+
return this._map ? (W(this._container), this.onRemove && this.onRemove(this._map), this._map.off("unload", this.remove, this), this._map = null, this) : this;
|
|
2312
2312
|
},
|
|
2313
2313
|
_refocusOnMap: function(e) {
|
|
2314
2314
|
this._map && e && e.screenX > 0 && e.screenY > 0 && this._map.getContainer().focus();
|
|
2315
2315
|
}
|
|
2316
|
-
}),
|
|
2317
|
-
return new
|
|
2316
|
+
}), cn = function(e) {
|
|
2317
|
+
return new sn(e);
|
|
2318
2318
|
};
|
|
2319
|
-
|
|
2319
|
+
Z.include({
|
|
2320
2320
|
addControl: function(e) {
|
|
2321
2321
|
return e.addTo(this), this;
|
|
2322
2322
|
},
|
|
@@ -2324,19 +2324,19 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2324
2324
|
return e.remove(), this;
|
|
2325
2325
|
},
|
|
2326
2326
|
_initControlPos: function() {
|
|
2327
|
-
var e = this._controlCorners = {}, t = "leaflet-", n = this._controlContainer =
|
|
2327
|
+
var e = this._controlCorners = {}, t = "leaflet-", n = this._controlContainer = U("div", t + "control-container", this._container);
|
|
2328
2328
|
function r(r, i) {
|
|
2329
2329
|
var a = t + r + " " + t + i;
|
|
2330
|
-
e[r + i] =
|
|
2330
|
+
e[r + i] = U("div", a, n);
|
|
2331
2331
|
}
|
|
2332
2332
|
r("top", "left"), r("top", "right"), r("bottom", "left"), r("bottom", "right");
|
|
2333
2333
|
},
|
|
2334
2334
|
_clearControlPos: function() {
|
|
2335
|
-
for (var e in this._controlCorners)
|
|
2336
|
-
|
|
2335
|
+
for (var e in this._controlCorners) W(this._controlCorners[e]);
|
|
2336
|
+
W(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
|
|
2337
2337
|
}
|
|
2338
2338
|
});
|
|
2339
|
-
var
|
|
2339
|
+
var ln = sn.extend({
|
|
2340
2340
|
options: {
|
|
2341
2341
|
collapsed: !0,
|
|
2342
2342
|
position: "topright",
|
|
@@ -2357,7 +2357,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2357
2357
|
return this._container;
|
|
2358
2358
|
},
|
|
2359
2359
|
addTo: function(e) {
|
|
2360
|
-
return
|
|
2360
|
+
return sn.prototype.addTo.call(this, e), this._expandIfNotCollapsed();
|
|
2361
2361
|
},
|
|
2362
2362
|
onRemove: function() {
|
|
2363
2363
|
this._map.off("zoomend", this._checkDisabledLayers, this);
|
|
@@ -2375,30 +2375,30 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2375
2375
|
return t && this._layers.splice(this._layers.indexOf(t), 1), this._map ? this._update() : this;
|
|
2376
2376
|
},
|
|
2377
2377
|
expand: function() {
|
|
2378
|
-
|
|
2378
|
+
G(this._container, "leaflet-control-layers-expanded"), this._section.style.height = null;
|
|
2379
2379
|
var e = this._map.getSize().y - (this._container.offsetTop + 50);
|
|
2380
|
-
return e < this._section.clientHeight ? (
|
|
2380
|
+
return e < this._section.clientHeight ? (G(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = e + "px") : K(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;
|
|
2381
2381
|
},
|
|
2382
2382
|
collapse: function() {
|
|
2383
|
-
return
|
|
2383
|
+
return K(this._container, "leaflet-control-layers-expanded"), this;
|
|
2384
2384
|
},
|
|
2385
2385
|
_initLayout: function() {
|
|
2386
|
-
var e = "leaflet-control-layers", t = this._container =
|
|
2387
|
-
t.setAttribute("aria-haspopup", !0),
|
|
2388
|
-
var r = this._section =
|
|
2389
|
-
n && (this._map.on("click", this.collapse, this),
|
|
2386
|
+
var e = "leaflet-control-layers", t = this._container = U("div", e), n = this.options.collapsed;
|
|
2387
|
+
t.setAttribute("aria-haspopup", !0), Xt(t), Yt(t);
|
|
2388
|
+
var r = this._section = U("section", e + "-list");
|
|
2389
|
+
n && (this._map.on("click", this.collapse, this), J(t, {
|
|
2390
2390
|
mouseenter: this._expandSafely,
|
|
2391
2391
|
mouseleave: this.collapse
|
|
2392
2392
|
}, this));
|
|
2393
|
-
var i = this._layersLink =
|
|
2394
|
-
i.href = "#", i.title = "Layers", i.setAttribute("role", "button"),
|
|
2393
|
+
var i = this._layersLink = U("a", e + "-toggle", t);
|
|
2394
|
+
i.href = "#", i.title = "Layers", i.setAttribute("role", "button"), J(i, {
|
|
2395
2395
|
keydown: function(e) {
|
|
2396
2396
|
e.keyCode === 13 && this._expandSafely();
|
|
2397
2397
|
},
|
|
2398
2398
|
click: function(e) {
|
|
2399
|
-
|
|
2399
|
+
X(e), this._expandSafely();
|
|
2400
2400
|
}
|
|
2401
|
-
}, this), n || this.expand(), this._baseLayersList =
|
|
2401
|
+
}, this), n || this.expand(), this._baseLayersList = U("div", e + "-base", r), this._separator = U("div", e + "-separator", r), this._overlaysList = U("div", e + "-overlays", r), t.appendChild(r);
|
|
2402
2402
|
},
|
|
2403
2403
|
_getLayer: function(e) {
|
|
2404
2404
|
for (var t = 0; t < this._layers.length; t++) if (this._layers[t] && o(this._layers[t].layer) === e) return this._layers[t];
|
|
@@ -2414,7 +2414,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2414
2414
|
},
|
|
2415
2415
|
_update: function() {
|
|
2416
2416
|
if (!this._container) return this;
|
|
2417
|
-
|
|
2417
|
+
yt(this._baseLayersList), yt(this._overlaysList), this._layerControlInputs = [];
|
|
2418
2418
|
var e, t, n, r, i = 0;
|
|
2419
2419
|
for (n = 0; n < this._layers.length; n++) r = this._layers[n], this._addItem(r), t ||= r.overlay, e ||= !r.overlay, i += +!r.overlay;
|
|
2420
2420
|
return this.options.hideSingleBase && (e &&= i > 1, this._baseLayersList.style.display = e ? "" : "none"), this._separator.style.display = t && e ? "" : "none", this;
|
|
@@ -2430,7 +2430,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2430
2430
|
},
|
|
2431
2431
|
_addItem: function(e) {
|
|
2432
2432
|
var t = document.createElement("label"), n = this._map.hasLayer(e.layer), r;
|
|
2433
|
-
e.overlay ? (r = document.createElement("input"), r.type = "checkbox", r.className = "leaflet-control-layers-selector", r.defaultChecked = n) : r = this._createRadioElement("leaflet-base-layers_" + o(this), n), this._layerControlInputs.push(r), r.layerId = o(e.layer),
|
|
2433
|
+
e.overlay ? (r = document.createElement("input"), r.type = "checkbox", r.className = "leaflet-control-layers-selector", r.defaultChecked = n) : r = this._createRadioElement("leaflet-base-layers_" + o(this), n), this._layerControlInputs.push(r), r.layerId = o(e.layer), J(r, "click", this._onInputClick, this);
|
|
2434
2434
|
var i = document.createElement("span");
|
|
2435
2435
|
i.innerHTML = " " + e.name;
|
|
2436
2436
|
var a = document.createElement("span");
|
|
@@ -2454,15 +2454,15 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2454
2454
|
},
|
|
2455
2455
|
_expandSafely: function() {
|
|
2456
2456
|
var e = this._section;
|
|
2457
|
-
this._preventClick = !0,
|
|
2457
|
+
this._preventClick = !0, J(e, "click", X), this.expand();
|
|
2458
2458
|
var t = this;
|
|
2459
2459
|
setTimeout(function() {
|
|
2460
|
-
|
|
2460
|
+
Y(e, "click", X), t._preventClick = !1;
|
|
2461
2461
|
});
|
|
2462
2462
|
}
|
|
2463
|
-
}),
|
|
2464
|
-
return new
|
|
2465
|
-
},
|
|
2463
|
+
}), un = function(e, t, n) {
|
|
2464
|
+
return new ln(e, t, n);
|
|
2465
|
+
}, dn = sn.extend({
|
|
2466
2466
|
options: {
|
|
2467
2467
|
position: "topleft",
|
|
2468
2468
|
zoomInText: "<span aria-hidden=\"true\">+</span>",
|
|
@@ -2471,7 +2471,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2471
2471
|
zoomOutTitle: "Zoom out"
|
|
2472
2472
|
},
|
|
2473
2473
|
onAdd: function(e) {
|
|
2474
|
-
var t = "leaflet-control-zoom", n =
|
|
2474
|
+
var t = "leaflet-control-zoom", n = U("div", t + " leaflet-bar"), r = this.options;
|
|
2475
2475
|
return this._zoomInButton = this._createButton(r.zoomInText, r.zoomInTitle, t + "-in", n, this._zoomIn), this._zoomOutButton = this._createButton(r.zoomOutText, r.zoomOutTitle, t + "-out", n, this._zoomOut), this._updateDisabled(), e.on("zoomend zoomlevelschange", this._updateDisabled, this), n;
|
|
2476
2476
|
},
|
|
2477
2477
|
onRemove: function(e) {
|
|
@@ -2490,20 +2490,20 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2490
2490
|
!this._disabled && this._map._zoom > this._map.getMinZoom() && this._map.zoomOut(this._map.options.zoomDelta * (e.shiftKey ? 3 : 1));
|
|
2491
2491
|
},
|
|
2492
2492
|
_createButton: function(e, t, n, r, i) {
|
|
2493
|
-
var a =
|
|
2494
|
-
return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t),
|
|
2493
|
+
var a = U("a", n, r);
|
|
2494
|
+
return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t), Xt(a), J(a, "click", Zt), J(a, "click", i, this), J(a, "click", this._refocusOnMap, this), a;
|
|
2495
2495
|
},
|
|
2496
2496
|
_updateDisabled: function() {
|
|
2497
2497
|
var e = this._map, t = "leaflet-disabled";
|
|
2498
|
-
|
|
2498
|
+
K(this._zoomInButton, t), K(this._zoomOutButton, t), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), (this._disabled || e._zoom === e.getMinZoom()) && (G(this._zoomOutButton, t), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || e._zoom === e.getMaxZoom()) && (G(this._zoomInButton, t), this._zoomInButton.setAttribute("aria-disabled", "true"));
|
|
2499
2499
|
}
|
|
2500
2500
|
});
|
|
2501
|
-
|
|
2502
|
-
this.options.zoomControl && (this.zoomControl = new
|
|
2501
|
+
Z.mergeOptions({ zoomControl: !0 }), Z.addInitHook(function() {
|
|
2502
|
+
this.options.zoomControl && (this.zoomControl = new dn(), this.addControl(this.zoomControl));
|
|
2503
2503
|
});
|
|
2504
|
-
var
|
|
2505
|
-
return new
|
|
2506
|
-
},
|
|
2504
|
+
var fn = function(e) {
|
|
2505
|
+
return new dn(e);
|
|
2506
|
+
}, pn = sn.extend({
|
|
2507
2507
|
options: {
|
|
2508
2508
|
position: "bottomleft",
|
|
2509
2509
|
maxWidth: 100,
|
|
@@ -2511,14 +2511,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2511
2511
|
imperial: !0
|
|
2512
2512
|
},
|
|
2513
2513
|
onAdd: function(e) {
|
|
2514
|
-
var t = "leaflet-control-scale", n =
|
|
2514
|
+
var t = "leaflet-control-scale", n = U("div", t), r = this.options;
|
|
2515
2515
|
return this._addScales(r, t + "-line", n), e.on(r.updateWhenIdle ? "moveend" : "move", this._update, this), e.whenReady(this._update, this), n;
|
|
2516
2516
|
},
|
|
2517
2517
|
onRemove: function(e) {
|
|
2518
2518
|
e.off(this.options.updateWhenIdle ? "moveend" : "move", this._update, this);
|
|
2519
2519
|
},
|
|
2520
2520
|
_addScales: function(e, t, n) {
|
|
2521
|
-
e.metric && (this._mScale =
|
|
2521
|
+
e.metric && (this._mScale = U("div", t, n)), e.imperial && (this._iScale = U("div", t, n));
|
|
2522
2522
|
},
|
|
2523
2523
|
_update: function() {
|
|
2524
2524
|
var e = this._map, t = e.getSize().y / 2, n = e.distance(e.containerPointToLatLng([0, t]), e.containerPointToLatLng([this.options.maxWidth, t]));
|
|
@@ -2542,18 +2542,18 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2542
2542
|
var t = 10 ** ((Math.floor(e) + "").length - 1), n = e / t;
|
|
2543
2543
|
return n = n >= 10 ? 10 : n >= 5 ? 5 : n >= 3 ? 3 : n >= 2 ? 2 : 1, t * n;
|
|
2544
2544
|
}
|
|
2545
|
-
}),
|
|
2546
|
-
return new
|
|
2547
|
-
},
|
|
2545
|
+
}), mn = function(e) {
|
|
2546
|
+
return new pn(e);
|
|
2547
|
+
}, hn = sn.extend({
|
|
2548
2548
|
options: {
|
|
2549
2549
|
position: "bottomright",
|
|
2550
|
-
prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (
|
|
2550
|
+
prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (H.inlineSvg ? "<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"8\" viewBox=\"0 0 12 8\" class=\"leaflet-attribution-flag\"><path fill=\"#4C7BE1\" d=\"M0 0h12v4H0z\"/><path fill=\"#FFD500\" d=\"M0 4h12v3H0z\"/><path fill=\"#E0BC00\" d=\"M0 7h12v1H0z\"/></svg> " : "") + "Leaflet</a>"
|
|
2551
2551
|
},
|
|
2552
2552
|
initialize: function(e) {
|
|
2553
2553
|
p(this, e), this._attributions = {};
|
|
2554
2554
|
},
|
|
2555
2555
|
onAdd: function(e) {
|
|
2556
|
-
for (var t in e.attributionControl = this, this._container =
|
|
2556
|
+
for (var t in e.attributionControl = this, this._container = U("div", "leaflet-control-attribution"), Xt(this._container), e._layers) e._layers[t].getAttribution && this.addAttribution(e._layers[t].getAttribution());
|
|
2557
2557
|
return this._update(), e.on("layeradd", this._addAttribution, this), this._container;
|
|
2558
2558
|
},
|
|
2559
2559
|
onRemove: function(e) {
|
|
@@ -2582,12 +2582,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2582
2582
|
}
|
|
2583
2583
|
}
|
|
2584
2584
|
});
|
|
2585
|
-
|
|
2586
|
-
this.options.attributionControl && new
|
|
2587
|
-
}),
|
|
2588
|
-
return new
|
|
2585
|
+
Z.mergeOptions({ attributionControl: !0 }), Z.addInitHook(function() {
|
|
2586
|
+
this.options.attributionControl && new hn().addTo(this);
|
|
2587
|
+
}), sn.Layers = ln, sn.Zoom = dn, sn.Scale = pn, sn.Attribution = hn, cn.layers = un, cn.zoom = fn, cn.scale = mn, cn.attribution = function(e) {
|
|
2588
|
+
return new hn(e);
|
|
2589
2589
|
};
|
|
2590
|
-
var
|
|
2590
|
+
var Q = ie.extend({
|
|
2591
2591
|
initialize: function(e) {
|
|
2592
2592
|
this._map = e;
|
|
2593
2593
|
},
|
|
@@ -2601,32 +2601,32 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2601
2601
|
return !!this._enabled;
|
|
2602
2602
|
}
|
|
2603
2603
|
});
|
|
2604
|
-
|
|
2604
|
+
Q.addTo = function(e, t) {
|
|
2605
2605
|
return e.addHandler(t, this), this;
|
|
2606
2606
|
};
|
|
2607
|
-
var gn = { Events: T }, _n =
|
|
2607
|
+
var gn = { Events: T }, _n = H.touch ? "touchstart mousedown" : "mousedown", vn = E.extend({
|
|
2608
2608
|
options: { clickTolerance: 3 },
|
|
2609
2609
|
initialize: function(e, t, n, r) {
|
|
2610
2610
|
p(this, r), this._element = e, this._dragStartTarget = t || e, this._preventOutline = n;
|
|
2611
2611
|
},
|
|
2612
2612
|
enable: function() {
|
|
2613
|
-
this._enabled ||= (
|
|
2613
|
+
this._enabled ||= (J(this._dragStartTarget, _n, this._onDown, this), !0);
|
|
2614
2614
|
},
|
|
2615
2615
|
disable: function() {
|
|
2616
|
-
this._enabled && (vn._dragging === this && this.finishDrag(!0),
|
|
2616
|
+
this._enabled && (vn._dragging === this && this.finishDrag(!0), Y(this._dragStartTarget, _n, this._onDown, this), this._enabled = !1, this._moved = !1);
|
|
2617
2617
|
},
|
|
2618
2618
|
_onDown: function(e) {
|
|
2619
|
-
if (this._enabled && (this._moved = !1, !
|
|
2619
|
+
if (this._enabled && (this._moved = !1, !St(this._element, "leaflet-zoom-anim"))) {
|
|
2620
2620
|
if (e.touches && e.touches.length !== 1) {
|
|
2621
2621
|
vn._dragging === this && this.finishDrag();
|
|
2622
2622
|
return;
|
|
2623
2623
|
}
|
|
2624
|
-
if (!(vn._dragging || e.shiftKey || e.which !== 1 && e.button !== 1 && !e.touches) && (vn._dragging = this, this._preventOutline &&
|
|
2624
|
+
if (!(vn._dragging || e.shiftKey || e.which !== 1 && e.button !== 1 && !e.touches) && (vn._dragging = this, this._preventOutline && Rt(this._element), Pt(), At(), !this._moving)) {
|
|
2625
2625
|
this.fire("down");
|
|
2626
|
-
var t = e.touches ? e.touches[0] : e, n =
|
|
2627
|
-
this._startPoint = new D(t.clientX, t.clientY), this._startPos =
|
|
2626
|
+
var t = e.touches ? e.touches[0] : e, n = Bt(this._element);
|
|
2627
|
+
this._startPoint = new D(t.clientX, t.clientY), this._startPos = kt(this._element), this._parentScale = Vt(n);
|
|
2628
2628
|
var r = e.type === "mousedown";
|
|
2629
|
-
|
|
2629
|
+
J(document, r ? "mousemove" : "touchmove", this._onMove, this), J(document, r ? "mouseup" : "touchend touchcancel", this._onUp, this);
|
|
2630
2630
|
}
|
|
2631
2631
|
}
|
|
2632
2632
|
},
|
|
@@ -2637,18 +2637,18 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2637
2637
|
return;
|
|
2638
2638
|
}
|
|
2639
2639
|
var t = e.touches && e.touches.length === 1 ? e.touches[0] : e, n = new D(t.clientX, t.clientY)._subtract(this._startPoint);
|
|
2640
|
-
!n.x && !n.y || Math.abs(n.x) + Math.abs(n.y) < this.options.clickTolerance || (n.x /= this._parentScale.x, n.y /= this._parentScale.y,
|
|
2640
|
+
!n.x && !n.y || Math.abs(n.x) + Math.abs(n.y) < this.options.clickTolerance || (n.x /= this._parentScale.x, n.y /= this._parentScale.y, X(e), this._moved || (this.fire("dragstart"), this._moved = !0, G(document.body, "leaflet-dragging"), this._lastTarget = e.target || e.srcElement, window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance && (this._lastTarget = this._lastTarget.correspondingUseElement), G(this._lastTarget, "leaflet-drag-target")), this._newPos = this._startPos.add(n), this._moving = !0, this._lastEvent = e, this._updatePosition());
|
|
2641
2641
|
}
|
|
2642
2642
|
},
|
|
2643
2643
|
_updatePosition: function() {
|
|
2644
2644
|
var e = { originalEvent: this._lastEvent };
|
|
2645
|
-
this.fire("predrag", e),
|
|
2645
|
+
this.fire("predrag", e), q(this._element, this._newPos), this.fire("drag", e);
|
|
2646
2646
|
},
|
|
2647
2647
|
_onUp: function() {
|
|
2648
2648
|
this._enabled && this.finishDrag();
|
|
2649
2649
|
},
|
|
2650
2650
|
finishDrag: function(e) {
|
|
2651
|
-
|
|
2651
|
+
K(document.body, "leaflet-dragging"), this._lastTarget &&= (K(this._lastTarget, "leaflet-drag-target"), null), Y(document, "mousemove touchmove", this._onMove, this), Y(document, "mouseup touchend touchcancel", this._onUp, this), Ft(), jt();
|
|
2652
2652
|
var t = this._moved && this._moving;
|
|
2653
2653
|
this._moving = !1, vn._dragging = !1, t && this.fire("dragend", {
|
|
2654
2654
|
noInertia: e,
|
|
@@ -2881,7 +2881,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
2883
|
});
|
|
2884
|
-
|
|
2884
|
+
Z.include({
|
|
2885
2885
|
addLayer: function(e) {
|
|
2886
2886
|
if (!e._layerAdd) throw Error("The provided object is not a Layer.");
|
|
2887
2887
|
var t = o(e);
|
|
@@ -3028,7 +3028,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3028
3028
|
return t ||= document.createElement("img"), t.src = e, t;
|
|
3029
3029
|
},
|
|
3030
3030
|
_getIconUrl: function(e) {
|
|
3031
|
-
return
|
|
3031
|
+
return H.retina && this.options[e + "RetinaUrl"] || this.options[e + "Url"];
|
|
3032
3032
|
}
|
|
3033
3033
|
});
|
|
3034
3034
|
function Zn(e) {
|
|
@@ -3056,12 +3056,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3056
3056
|
return e = t(e, /^url\((['"])?(.+)\1\)$/, 2), e && t(e, /^(.*)marker-icon\.png$/, 1);
|
|
3057
3057
|
},
|
|
3058
3058
|
_detectIconPath: function() {
|
|
3059
|
-
var e =
|
|
3059
|
+
var e = U("div", "leaflet-default-icon-path", document.body), t = vt(e, "background-image") || vt(e, "backgroundImage");
|
|
3060
3060
|
if (document.body.removeChild(e), t = this._stripUrl(t), t) return t;
|
|
3061
3061
|
var n = document.querySelector("link[href$=\"leaflet.css\"]");
|
|
3062
3062
|
return n ? n.href.substring(0, n.href.length - 11 - 1) : "";
|
|
3063
3063
|
}
|
|
3064
|
-
}), $n =
|
|
3064
|
+
}), $n = Q.extend({
|
|
3065
3065
|
initialize: function(e) {
|
|
3066
3066
|
this._marker = e;
|
|
3067
3067
|
},
|
|
@@ -3072,7 +3072,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3072
3072
|
predrag: this._onPreDrag,
|
|
3073
3073
|
drag: this._onDrag,
|
|
3074
3074
|
dragend: this._onDragEnd
|
|
3075
|
-
}, this).enable(),
|
|
3075
|
+
}, this).enable(), G(e, "leaflet-marker-draggable");
|
|
3076
3076
|
},
|
|
3077
3077
|
removeHooks: function() {
|
|
3078
3078
|
this._draggable.off({
|
|
@@ -3080,16 +3080,16 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3080
3080
|
predrag: this._onPreDrag,
|
|
3081
3081
|
drag: this._onDrag,
|
|
3082
3082
|
dragend: this._onDragEnd
|
|
3083
|
-
}, this).disable(), this._marker._icon &&
|
|
3083
|
+
}, this).disable(), this._marker._icon && K(this._marker._icon, "leaflet-marker-draggable");
|
|
3084
3084
|
},
|
|
3085
3085
|
moved: function() {
|
|
3086
3086
|
return this._draggable && this._draggable._moved;
|
|
3087
3087
|
},
|
|
3088
3088
|
_adjustPan: function(e) {
|
|
3089
|
-
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a =
|
|
3089
|
+
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = kt(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c = A(o.min._subtract(s).add(i), o.max._subtract(s).subtract(i));
|
|
3090
3090
|
if (!c.contains(a)) {
|
|
3091
3091
|
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);
|
|
3092
|
-
n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l),
|
|
3092
|
+
n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), q(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest = x(this._adjustPan.bind(this, e));
|
|
3093
3093
|
}
|
|
3094
3094
|
},
|
|
3095
3095
|
_onDragStart: function() {
|
|
@@ -3099,8 +3099,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3099
3099
|
this._marker.options.autoPan && (S(this._panRequest), this._panRequest = x(this._adjustPan.bind(this, e)));
|
|
3100
3100
|
},
|
|
3101
3101
|
_onDrag: function(e) {
|
|
3102
|
-
var t = this._marker, n = t._shadow, r =
|
|
3103
|
-
n &&
|
|
3102
|
+
var t = this._marker, n = t._shadow, r = kt(t._icon), i = t._map.layerPointToLatLng(r);
|
|
3103
|
+
n && q(n, r), t._latlng = i, e.latlng = i, e.oldLatLng = this._oldLatLng, t.fire("move", e).fire("drag", e);
|
|
3104
3104
|
},
|
|
3105
3105
|
_onDragEnd: function(e) {
|
|
3106
3106
|
S(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", e);
|
|
@@ -3171,24 +3171,24 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3171
3171
|
},
|
|
3172
3172
|
_initIcon: function() {
|
|
3173
3173
|
var e = this.options, t = "leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide"), n = e.icon.createIcon(this._icon), r = !1;
|
|
3174
|
-
n !== this._icon && (this._icon && this._removeIcon(), r = !0, e.title && (n.title = e.title), n.tagName === "IMG" && (n.alt = e.alt || "")),
|
|
3174
|
+
n !== this._icon && (this._icon && this._removeIcon(), r = !0, e.title && (n.title = e.title), n.tagName === "IMG" && (n.alt = e.alt || "")), G(n, t), e.keyboard && (n.tabIndex = "0", n.setAttribute("role", "button")), this._icon = n, e.riseOnHover && this.on({
|
|
3175
3175
|
mouseover: this._bringToFront,
|
|
3176
3176
|
mouseout: this._resetZIndex
|
|
3177
|
-
}), this.options.autoPanOnFocus &&
|
|
3177
|
+
}), this.options.autoPanOnFocus && J(n, "focus", this._panOnFocus, this);
|
|
3178
3178
|
var i = e.icon.createShadow(this._shadow), a = !1;
|
|
3179
|
-
i !== this._shadow && (this._removeShadow(), a = !0), i && (
|
|
3179
|
+
i !== this._shadow && (this._removeShadow(), a = !0), i && (G(i, t), i.alt = ""), this._shadow = i, e.opacity < 1 && this._updateOpacity(), r && this.getPane().appendChild(this._icon), this._initInteraction(), i && a && this.getPane(e.shadowPane).appendChild(this._shadow);
|
|
3180
3180
|
},
|
|
3181
3181
|
_removeIcon: function() {
|
|
3182
3182
|
this.options.riseOnHover && this.off({
|
|
3183
3183
|
mouseover: this._bringToFront,
|
|
3184
3184
|
mouseout: this._resetZIndex
|
|
3185
|
-
}), this.options.autoPanOnFocus &&
|
|
3185
|
+
}), this.options.autoPanOnFocus && Y(this._icon, "focus", this._panOnFocus, this), W(this._icon), this.removeInteractiveTarget(this._icon), this._icon = null;
|
|
3186
3186
|
},
|
|
3187
3187
|
_removeShadow: function() {
|
|
3188
|
-
this._shadow &&
|
|
3188
|
+
this._shadow && W(this._shadow), this._shadow = null;
|
|
3189
3189
|
},
|
|
3190
3190
|
_setPos: function(e) {
|
|
3191
|
-
this._icon &&
|
|
3191
|
+
this._icon && q(this._icon, e), this._shadow && q(this._shadow, e), this._zIndex = e.y + this.options.zIndexOffset, this._resetZIndex();
|
|
3192
3192
|
},
|
|
3193
3193
|
_updateZIndex: function(e) {
|
|
3194
3194
|
this._icon && (this._icon.style.zIndex = this._zIndex + e);
|
|
@@ -3198,7 +3198,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3198
3198
|
this._setPos(t);
|
|
3199
3199
|
},
|
|
3200
3200
|
_initInteraction: function() {
|
|
3201
|
-
if (this.options.interactive && (
|
|
3201
|
+
if (this.options.interactive && (G(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), $n)) {
|
|
3202
3202
|
var e = this.options.draggable;
|
|
3203
3203
|
this.dragging && (e = this.dragging.enabled(), this.dragging.disable()), this.dragging = new $n(this), e && this.dragging.enable();
|
|
3204
3204
|
}
|
|
@@ -3208,7 +3208,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3208
3208
|
},
|
|
3209
3209
|
_updateOpacity: function() {
|
|
3210
3210
|
var e = this.options.opacity;
|
|
3211
|
-
this._icon &&
|
|
3211
|
+
this._icon && Tt(this._icon, e), this._shadow && Tt(this._shadow, e);
|
|
3212
3212
|
},
|
|
3213
3213
|
_bringToFront: function() {
|
|
3214
3214
|
this._updateZIndex(this.options.riseOffset);
|
|
@@ -3654,10 +3654,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3654
3654
|
this._url = e, this._bounds = M(t), p(this, n);
|
|
3655
3655
|
},
|
|
3656
3656
|
onAdd: function() {
|
|
3657
|
-
this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (
|
|
3657
|
+
this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (G(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
|
|
3658
3658
|
},
|
|
3659
3659
|
onRemove: function() {
|
|
3660
|
-
|
|
3660
|
+
W(this._image), this.options.interactive && this.removeInteractiveTarget(this._image);
|
|
3661
3661
|
},
|
|
3662
3662
|
setOpacity: function(e) {
|
|
3663
3663
|
return this.options.opacity = e, this._image && this._updateOpacity(), this;
|
|
@@ -3666,10 +3666,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3666
3666
|
return e.opacity && this.setOpacity(e.opacity), this;
|
|
3667
3667
|
},
|
|
3668
3668
|
bringToFront: function() {
|
|
3669
|
-
return this._map &&
|
|
3669
|
+
return this._map && bt(this._image), this;
|
|
3670
3670
|
},
|
|
3671
3671
|
bringToBack: function() {
|
|
3672
|
-
return this._map &&
|
|
3672
|
+
return this._map && xt(this._image), this;
|
|
3673
3673
|
},
|
|
3674
3674
|
setUrl: function(e) {
|
|
3675
3675
|
return this._url = e, this._image && (this._image.src = e), this;
|
|
@@ -3694,8 +3694,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3694
3694
|
return this._image;
|
|
3695
3695
|
},
|
|
3696
3696
|
_initImage: function() {
|
|
3697
|
-
var e = this._url.tagName === "IMG", t = this._image = e ? this._url :
|
|
3698
|
-
if (
|
|
3697
|
+
var e = this._url.tagName === "IMG", t = this._image = e ? this._url : U("img");
|
|
3698
|
+
if (G(t, "leaflet-image-layer"), this._zoomAnimated && G(t, "leaflet-zoom-animated"), this.options.className && G(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onload = i(this.fire, this, "load"), t.onerror = i(this._overlayOnError, this, "error"), (this.options.crossOrigin || this.options.crossOrigin === "") && (t.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), this.options.zIndex && this._updateZIndex(), e) {
|
|
3699
3699
|
this._url = t.src;
|
|
3700
3700
|
return;
|
|
3701
3701
|
}
|
|
@@ -3703,14 +3703,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3703
3703
|
},
|
|
3704
3704
|
_animateZoom: function(e) {
|
|
3705
3705
|
var t = this._map.getZoomScale(e.zoom), n = this._map._latLngBoundsToNewLayerBounds(this._bounds, e.zoom, e.center).min;
|
|
3706
|
-
|
|
3706
|
+
Ot(this._image, n, t);
|
|
3707
3707
|
},
|
|
3708
3708
|
_reset: function() {
|
|
3709
3709
|
var e = this._image, t = new k(this._map.latLngToLayerPoint(this._bounds.getNorthWest()), this._map.latLngToLayerPoint(this._bounds.getSouthEast())), n = t.getSize();
|
|
3710
|
-
|
|
3710
|
+
q(e, t.min), e.style.width = n.x + "px", e.style.height = n.y + "px";
|
|
3711
3711
|
},
|
|
3712
3712
|
_updateOpacity: function() {
|
|
3713
|
-
|
|
3713
|
+
Tt(this._image, this.options.opacity);
|
|
3714
3714
|
},
|
|
3715
3715
|
_updateZIndex: function() {
|
|
3716
3716
|
this._image && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._image.style.zIndex = this.options.zIndex);
|
|
@@ -3734,15 +3734,15 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3734
3734
|
playsInline: !0
|
|
3735
3735
|
},
|
|
3736
3736
|
_initImage: function() {
|
|
3737
|
-
var e = this._url.tagName === "VIDEO", t = this._image = e ? this._url :
|
|
3738
|
-
if (
|
|
3737
|
+
var e = this._url.tagName === "VIDEO", t = this._image = e ? this._url : U("video");
|
|
3738
|
+
if (G(t, "leaflet-image-layer"), this._zoomAnimated && G(t, "leaflet-zoom-animated"), this.options.className && G(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onloadeddata = i(this.fire, this, "load"), e) {
|
|
3739
3739
|
for (var n = t.getElementsByTagName("source"), r = [], a = 0; a < n.length; a++) r.push(n[a].src);
|
|
3740
3740
|
this._url = n.length > 0 ? r : [t.src];
|
|
3741
3741
|
return;
|
|
3742
3742
|
}
|
|
3743
3743
|
_(this._url) || (this._url = [this._url]), !this.options.keepAspectRatio && Object.prototype.hasOwnProperty.call(t.style, "objectFit") && (t.style.objectFit = "fill"), t.autoplay = !!this.options.autoplay, t.loop = !!this.options.loop, t.muted = !!this.options.muted, t.playsInline = !!this.options.playsInline;
|
|
3744
3744
|
for (var o = 0; o < this._url.length; o++) {
|
|
3745
|
-
var s =
|
|
3745
|
+
var s = U("source");
|
|
3746
3746
|
s.src = this._url[o], t.appendChild(s);
|
|
3747
3747
|
}
|
|
3748
3748
|
}
|
|
@@ -3752,7 +3752,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3752
3752
|
}
|
|
3753
3753
|
var Dr = Cr.extend({ _initImage: function() {
|
|
3754
3754
|
var e = this._image = this._url;
|
|
3755
|
-
|
|
3755
|
+
G(e, "leaflet-image-layer"), this._zoomAnimated && G(e, "leaflet-zoom-animated"), this.options.className && G(e, this.options.className), e.onselectstart = l, e.onmousemove = l;
|
|
3756
3756
|
} });
|
|
3757
3757
|
function Or(e, t, n) {
|
|
3758
3758
|
return new Dr(e, t, n);
|
|
@@ -3778,10 +3778,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3778
3778
|
return this._map ? this.close() : (arguments.length ? this._source = e : e = this._source, this._prepareOpen(), this.openOn(e._map)), this;
|
|
3779
3779
|
},
|
|
3780
3780
|
onAdd: function(e) {
|
|
3781
|
-
this._zoomAnimated = e._zoomAnimated, this._container || this._initLayout(), e._fadeAnimated &&
|
|
3781
|
+
this._zoomAnimated = e._zoomAnimated, this._container || this._initLayout(), e._fadeAnimated && Tt(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), e._fadeAnimated && Tt(this._container, 1), this.bringToFront(), this.options.interactive && (G(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
|
|
3782
3782
|
},
|
|
3783
3783
|
onRemove: function(e) {
|
|
3784
|
-
e._fadeAnimated ? (
|
|
3784
|
+
e._fadeAnimated ? (Tt(this._container, 0), this._removeTimeout = setTimeout(i(W, void 0, this._container), 200)) : W(this._container), this.options.interactive && (K(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
|
|
3785
3785
|
},
|
|
3786
3786
|
getLatLng: function() {
|
|
3787
3787
|
return this._latlng;
|
|
@@ -3812,10 +3812,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3812
3812
|
return !!this._map && this._map.hasLayer(this);
|
|
3813
3813
|
},
|
|
3814
3814
|
bringToFront: function() {
|
|
3815
|
-
return this._map &&
|
|
3815
|
+
return this._map && bt(this._container), this;
|
|
3816
3816
|
},
|
|
3817
3817
|
bringToBack: function() {
|
|
3818
|
-
return this._map &&
|
|
3818
|
+
return this._map && xt(this._container), this;
|
|
3819
3819
|
},
|
|
3820
3820
|
_prepareOpen: function(e) {
|
|
3821
3821
|
var t = this._source;
|
|
@@ -3852,7 +3852,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3852
3852
|
_updatePosition: function() {
|
|
3853
3853
|
if (this._map) {
|
|
3854
3854
|
var e = this._map.latLngToLayerPoint(this._latlng), t = O(this.options.offset), n = this._getAnchor();
|
|
3855
|
-
this._zoomAnimated ?
|
|
3855
|
+
this._zoomAnimated ? q(this._container, e.add(n)) : t = t.add(e).add(n);
|
|
3856
3856
|
var r = this._containerBottom = -t.y, i = this._containerLeft = -Math.round(this._containerWidth / 2) + t.x;
|
|
3857
3857
|
this._container.style.bottom = r + "px", this._container.style.left = i + "px";
|
|
3858
3858
|
}
|
|
@@ -3861,7 +3861,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3861
3861
|
return [0, 0];
|
|
3862
3862
|
}
|
|
3863
3863
|
});
|
|
3864
|
-
|
|
3864
|
+
Z.include({ _initOverlay: function(e, t, n, r) {
|
|
3865
3865
|
var i = t;
|
|
3866
3866
|
return i instanceof e || (i = new e(r).setContent(t)), n && i.setLatLng(n), i;
|
|
3867
3867
|
} }), Gn.include({ _initOverlay: function(e, t, n, r) {
|
|
@@ -3889,21 +3889,21 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3889
3889
|
return e = arguments.length ? e : this._source._map, !e.hasLayer(this) && e._popup && e._popup.options.autoClose && e.removeLayer(e._popup), e._popup = this, kr.prototype.openOn.call(this, e);
|
|
3890
3890
|
},
|
|
3891
3891
|
onAdd: function(e) {
|
|
3892
|
-
kr.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof nr || this._source.on("preclick",
|
|
3892
|
+
kr.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof nr || this._source.on("preclick", Jt));
|
|
3893
3893
|
},
|
|
3894
3894
|
onRemove: function(e) {
|
|
3895
|
-
kr.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof nr || this._source.off("preclick",
|
|
3895
|
+
kr.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof nr || this._source.off("preclick", Jt));
|
|
3896
3896
|
},
|
|
3897
3897
|
getEvents: function() {
|
|
3898
3898
|
var e = kr.prototype.getEvents.call(this);
|
|
3899
3899
|
return (this.options.closeOnClick === void 0 ? this._map.options.closePopupOnClick : this.options.closeOnClick) && (e.preclick = this.close), this.options.keepInView && (e.moveend = this._adjustPan), e;
|
|
3900
3900
|
},
|
|
3901
3901
|
_initLayout: function() {
|
|
3902
|
-
var e = "leaflet-popup", t = this._container =
|
|
3903
|
-
if (this._contentNode =
|
|
3904
|
-
var r = this._closeButton =
|
|
3905
|
-
r.setAttribute("role", "button"), r.setAttribute("aria-label", "Close popup"), r.href = "#close", r.innerHTML = "<span aria-hidden=\"true\">×</span>",
|
|
3906
|
-
|
|
3902
|
+
var e = "leaflet-popup", t = this._container = U("div", e + " " + (this.options.className || "") + " leaflet-zoom-animated"), n = this._wrapper = U("div", e + "-content-wrapper", t);
|
|
3903
|
+
if (this._contentNode = U("div", e + "-content", n), Xt(t), Yt(this._contentNode), J(t, "contextmenu", Jt), this._tipContainer = U("div", e + "-tip-container", t), this._tip = U("div", e + "-tip", this._tipContainer), this.options.closeButton) {
|
|
3904
|
+
var r = this._closeButton = U("a", e + "-close-button", t);
|
|
3905
|
+
r.setAttribute("role", "button"), r.setAttribute("aria-label", "Close popup"), r.href = "#close", r.innerHTML = "<span aria-hidden=\"true\">×</span>", J(r, "click", function(e) {
|
|
3906
|
+
X(e), this.close();
|
|
3907
3907
|
}, this);
|
|
3908
3908
|
}
|
|
3909
3909
|
},
|
|
@@ -3913,11 +3913,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3913
3913
|
var n = e.offsetWidth;
|
|
3914
3914
|
n = Math.min(n, this.options.maxWidth), n = Math.max(n, this.options.minWidth), t.width = n + 1 + "px", t.whiteSpace = "", t.height = "";
|
|
3915
3915
|
var r = e.offsetHeight, i = this.options.maxHeight, a = "leaflet-popup-scrolled";
|
|
3916
|
-
i && r > i ? (t.height = i + "px",
|
|
3916
|
+
i && r > i ? (t.height = i + "px", G(e, a)) : K(e, a), this._containerWidth = this._container.offsetWidth;
|
|
3917
3917
|
},
|
|
3918
3918
|
_animateZoom: function(e) {
|
|
3919
3919
|
var t = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center), n = this._getAnchor();
|
|
3920
|
-
|
|
3920
|
+
q(this._container, t.add(n));
|
|
3921
3921
|
},
|
|
3922
3922
|
_adjustPan: function() {
|
|
3923
3923
|
if (this.options.autoPan) {
|
|
@@ -3925,8 +3925,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3925
3925
|
this._autopanning = !1;
|
|
3926
3926
|
return;
|
|
3927
3927
|
}
|
|
3928
|
-
var e = this._map, t = parseInt(
|
|
3929
|
-
i._add(
|
|
3928
|
+
var e = this._map, t = parseInt(vt(this._container, "marginBottom"), 10) || 0, n = this._container.offsetHeight + t, r = this._containerWidth, i = new D(this._containerLeft, -n - this._containerBottom);
|
|
3929
|
+
i._add(kt(this._container));
|
|
3930
3930
|
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;
|
|
3931
3931
|
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]));
|
|
3932
3932
|
}
|
|
@@ -3937,7 +3937,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3937
3937
|
}), jr = function(e, t) {
|
|
3938
3938
|
return new Ar(e, t);
|
|
3939
3939
|
};
|
|
3940
|
-
|
|
3940
|
+
Z.mergeOptions({ closePopupOnClick: !0 }), Z.include({
|
|
3941
3941
|
openPopup: function(e, t, n) {
|
|
3942
3942
|
return this._initOverlay(Ar, e, t, n).openOn(this), this;
|
|
3943
3943
|
},
|
|
@@ -3981,7 +3981,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3981
3981
|
},
|
|
3982
3982
|
_openPopup: function(e) {
|
|
3983
3983
|
if (!(!this._popup || !this._map)) {
|
|
3984
|
-
|
|
3984
|
+
Zt(e);
|
|
3985
3985
|
var t = e.layer || e.target;
|
|
3986
3986
|
if (this._popup._source === t && !(t instanceof nr)) {
|
|
3987
3987
|
this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(e.latlng);
|
|
@@ -4018,20 +4018,20 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4018
4018
|
},
|
|
4019
4019
|
_initLayout: function() {
|
|
4020
4020
|
var e = "leaflet-tooltip " + (this.options.className || "") + " leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide");
|
|
4021
|
-
this._contentNode = this._container =
|
|
4021
|
+
this._contentNode = this._container = U("div", e), this._container.setAttribute("role", "tooltip"), this._container.setAttribute("id", "leaflet-tooltip-" + o(this));
|
|
4022
4022
|
},
|
|
4023
4023
|
_updateLayout: function() {},
|
|
4024
4024
|
_adjustPan: function() {},
|
|
4025
4025
|
_setPosition: function(e) {
|
|
4026
4026
|
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();
|
|
4027
|
-
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),
|
|
4027
|
+
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), K(i, "leaflet-tooltip-right"), K(i, "leaflet-tooltip-left"), K(i, "leaflet-tooltip-top"), K(i, "leaflet-tooltip-bottom"), G(i, "leaflet-tooltip-" + s), q(i, e);
|
|
4028
4028
|
},
|
|
4029
4029
|
_updatePosition: function() {
|
|
4030
4030
|
var e = this._map.latLngToLayerPoint(this._latlng);
|
|
4031
4031
|
this._setPosition(e);
|
|
4032
4032
|
},
|
|
4033
4033
|
setOpacity: function(e) {
|
|
4034
|
-
this.options.opacity = e, this._container &&
|
|
4034
|
+
this.options.opacity = e, this._container && Tt(this._container, e);
|
|
4035
4035
|
},
|
|
4036
4036
|
_animateZoom: function(e) {
|
|
4037
4037
|
var t = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center);
|
|
@@ -4043,7 +4043,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4043
4043
|
}), Nr = function(e, t) {
|
|
4044
4044
|
return new Mr(e, t);
|
|
4045
4045
|
};
|
|
4046
|
-
|
|
4046
|
+
Z.include({
|
|
4047
4047
|
openTooltip: function(e, t, n) {
|
|
4048
4048
|
return this._initOverlay(Mr, e, t, n).openOn(this), this;
|
|
4049
4049
|
},
|
|
@@ -4089,9 +4089,9 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4089
4089
|
},
|
|
4090
4090
|
_addFocusListenersOnLayer: function(e) {
|
|
4091
4091
|
var t = typeof e.getElement == "function" && e.getElement();
|
|
4092
|
-
t && (
|
|
4092
|
+
t && (J(t, "focus", function() {
|
|
4093
4093
|
this._tooltip._source = e, this.openTooltip();
|
|
4094
|
-
}, this),
|
|
4094
|
+
}, this), J(t, "blur", this.closeTooltip, this));
|
|
4095
4095
|
},
|
|
4096
4096
|
_setAriaDescribedByOnLayer: function(e) {
|
|
4097
4097
|
var t = typeof e.getElement == "function" && e.getElement();
|
|
@@ -4124,7 +4124,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4124
4124
|
},
|
|
4125
4125
|
createIcon: function(e) {
|
|
4126
4126
|
var t = e && e.tagName === "DIV" ? e : document.createElement("div"), n = this.options;
|
|
4127
|
-
if (n.html instanceof Element ? (
|
|
4127
|
+
if (n.html instanceof Element ? (yt(t), t.appendChild(n.html)) : t.innerHTML = n.html === !1 ? "" : n.html, n.bgPos) {
|
|
4128
4128
|
var r = O(n.bgPos);
|
|
4129
4129
|
t.style.backgroundPosition = -r.x + "px " + -r.y + "px";
|
|
4130
4130
|
}
|
|
@@ -4142,7 +4142,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4142
4142
|
options: {
|
|
4143
4143
|
tileSize: 256,
|
|
4144
4144
|
opacity: 1,
|
|
4145
|
-
updateWhenIdle:
|
|
4145
|
+
updateWhenIdle: H.mobile,
|
|
4146
4146
|
updateWhenZooming: !0,
|
|
4147
4147
|
updateInterval: 200,
|
|
4148
4148
|
zIndex: 1,
|
|
@@ -4166,13 +4166,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4166
4166
|
e._addZoomLimit(this);
|
|
4167
4167
|
},
|
|
4168
4168
|
onRemove: function(e) {
|
|
4169
|
-
this._removeAllTiles(),
|
|
4169
|
+
this._removeAllTiles(), W(this._container), e._removeZoomLimit(this), this._container = null, this._tileZoom = void 0;
|
|
4170
4170
|
},
|
|
4171
4171
|
bringToFront: function() {
|
|
4172
|
-
return this._map && (
|
|
4172
|
+
return this._map && (bt(this._container), this._setAutoZIndex(Math.max)), this;
|
|
4173
4173
|
},
|
|
4174
4174
|
bringToBack: function() {
|
|
4175
|
-
return this._map && (
|
|
4175
|
+
return this._map && (xt(this._container), this._setAutoZIndex(Math.min)), this;
|
|
4176
4176
|
},
|
|
4177
4177
|
getContainer: function() {
|
|
4178
4178
|
return this._container;
|
|
@@ -4218,14 +4218,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4218
4218
|
isFinite(n) && (this.options.zIndex = n + e(-1, 1), this._updateZIndex());
|
|
4219
4219
|
},
|
|
4220
4220
|
_updateOpacity: function() {
|
|
4221
|
-
if (this._map && !
|
|
4222
|
-
|
|
4221
|
+
if (this._map && !H.ielt9) {
|
|
4222
|
+
Tt(this._container, this.options.opacity);
|
|
4223
4223
|
var e = +/* @__PURE__ */ new Date(), t = !1, n = !1;
|
|
4224
4224
|
for (var r in this._tiles) {
|
|
4225
4225
|
var i = this._tiles[r];
|
|
4226
4226
|
if (!(!i.current || !i.loaded)) {
|
|
4227
4227
|
var a = Math.min(1, (e - i.loaded) / 200);
|
|
4228
|
-
|
|
4228
|
+
Tt(i.el, a), a < 1 ? t = !0 : (i.active ? n = !0 : this._onOpaqueTile(i), i.active = !0);
|
|
4229
4229
|
}
|
|
4230
4230
|
}
|
|
4231
4231
|
n && !this._noPrune && this._pruneTiles(), t && (S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this));
|
|
@@ -4233,14 +4233,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4233
4233
|
},
|
|
4234
4234
|
_onOpaqueTile: l,
|
|
4235
4235
|
_initContainer: function() {
|
|
4236
|
-
this._container || (this._container =
|
|
4236
|
+
this._container || (this._container = U("div", "leaflet-layer " + (this.options.className || "")), this._updateZIndex(), this.options.opacity < 1 && this._updateOpacity(), this.getPane().appendChild(this._container));
|
|
4237
4237
|
},
|
|
4238
4238
|
_updateLevels: function() {
|
|
4239
4239
|
var e = this._tileZoom, t = this.options.maxZoom;
|
|
4240
4240
|
if (e !== void 0) {
|
|
4241
|
-
for (var n in this._levels) n = Number(n), this._levels[n].el.children.length || n === e ? (this._levels[n].el.style.zIndex = t - Math.abs(e - n), this._onUpdateLevel(n)) : (
|
|
4241
|
+
for (var n in this._levels) n = Number(n), this._levels[n].el.children.length || n === e ? (this._levels[n].el.style.zIndex = t - Math.abs(e - n), this._onUpdateLevel(n)) : (W(this._levels[n].el), this._removeTilesAtZoom(n), this._onRemoveLevel(n), delete this._levels[n]);
|
|
4242
4242
|
var r = this._levels[e], i = this._map;
|
|
4243
|
-
return r || (r = this._levels[e] = {}, r.el =
|
|
4243
|
+
return r || (r = this._levels[e] = {}, r.el = U("div", "leaflet-tile-container leaflet-zoom-animated", this._container), r.el.style.zIndex = t, r.origin = i.project(i.unproject(i.getPixelOrigin()), e).round(), r.zoom = e, this._setZoomTransform(r, i.getCenter(), i.getZoom()), r.el.offsetWidth, this._onCreateLevel(r)), this._level = r, r;
|
|
4244
4244
|
}
|
|
4245
4245
|
},
|
|
4246
4246
|
_onUpdateLevel: l,
|
|
@@ -4268,7 +4268,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4268
4268
|
for (var e in this._tiles) this._removeTile(e);
|
|
4269
4269
|
},
|
|
4270
4270
|
_invalidateAll: function() {
|
|
4271
|
-
for (var e in this._levels)
|
|
4271
|
+
for (var e in this._levels) W(this._levels[e].el), this._onRemoveLevel(Number(e)), delete this._levels[e];
|
|
4272
4272
|
this._removeAllTiles(), this._tileZoom = void 0;
|
|
4273
4273
|
},
|
|
4274
4274
|
_retainParent: function(e, t, n, r) {
|
|
@@ -4311,7 +4311,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4311
4311
|
},
|
|
4312
4312
|
_setZoomTransform: function(e, t, n) {
|
|
4313
4313
|
var r = this._map.getZoomScale(n, e.zoom), i = e.origin.multiplyBy(r).subtract(this._map._getNewPixelOrigin(t, n)).round();
|
|
4314
|
-
|
|
4314
|
+
H.any3d ? Ot(e.el, i, r) : q(e.el, i);
|
|
4315
4315
|
},
|
|
4316
4316
|
_resetGrid: function() {
|
|
4317
4317
|
var e = this._map, t = e.options.crs, n = this._tileSize = this.getTileSize(), r = this._tileZoom, i = this._map.getPixelWorldBounds(this._tileZoom);
|
|
@@ -4387,19 +4387,19 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4387
4387
|
},
|
|
4388
4388
|
_removeTile: function(e) {
|
|
4389
4389
|
var t = this._tiles[e];
|
|
4390
|
-
t && (
|
|
4390
|
+
t && (W(t.el), delete this._tiles[e], this.fire("tileunload", {
|
|
4391
4391
|
tile: t.el,
|
|
4392
4392
|
coords: this._keyToTileCoords(e)
|
|
4393
4393
|
}));
|
|
4394
4394
|
},
|
|
4395
4395
|
_initTile: function(e) {
|
|
4396
|
-
|
|
4396
|
+
G(e, "leaflet-tile");
|
|
4397
4397
|
var t = this.getTileSize();
|
|
4398
|
-
e.style.width = t.x + "px", e.style.height = t.y + "px", e.onselectstart = l, e.onmousemove = l,
|
|
4398
|
+
e.style.width = t.x + "px", e.style.height = t.y + "px", e.onselectstart = l, e.onmousemove = l, H.ielt9 && this.options.opacity < 1 && Tt(e, this.options.opacity);
|
|
4399
4399
|
},
|
|
4400
4400
|
_addTile: function(e, t) {
|
|
4401
4401
|
var n = this._getTilePos(e), r = this._tileCoordsToKey(e), a = this.createTile(this._wrapCoords(e), i(this._tileReady, this, e));
|
|
4402
|
-
this._initTile(a), this.createTile.length < 2 && x(i(this._tileReady, this, e, null, a)),
|
|
4402
|
+
this._initTile(a), this.createTile.length < 2 && x(i(this._tileReady, this, e, null, a)), q(a, n), this._tiles[r] = {
|
|
4403
4403
|
el: a,
|
|
4404
4404
|
coords: e,
|
|
4405
4405
|
current: !0
|
|
@@ -4415,10 +4415,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4415
4415
|
coords: e
|
|
4416
4416
|
});
|
|
4417
4417
|
var r = this._tileCoordsToKey(e);
|
|
4418
|
-
n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (
|
|
4418
|
+
n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (Tt(n.el, 0), S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this)) : (n.active = !0, this._pruneTiles()), t || (G(n.el, "leaflet-tile-loaded"), this.fire("tileload", {
|
|
4419
4419
|
tile: n.el,
|
|
4420
4420
|
coords: e
|
|
4421
|
-
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"),
|
|
4421
|
+
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), H.ielt9 || !this._map._fadeAnimated ? x(this._pruneTiles, this) : setTimeout(i(this._pruneTiles, this), 250)));
|
|
4422
4422
|
},
|
|
4423
4423
|
_getTilePos: function(e) {
|
|
4424
4424
|
return e.scaleBy(this.getTileSize()).subtract(this._level.origin);
|
|
@@ -4453,18 +4453,18 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4453
4453
|
referrerPolicy: !1
|
|
4454
4454
|
},
|
|
4455
4455
|
initialize: function(e, t) {
|
|
4456
|
-
this._url = e, t = p(this, t), t.detectRetina &&
|
|
4456
|
+
this._url = e, t = p(this, t), t.detectRetina && H.retina && t.maxZoom > 0 ? (t.tileSize = Math.floor(t.tileSize / 2), t.zoomReverse ? (t.zoomOffset--, t.minZoom = Math.min(t.maxZoom, t.minZoom + 1)) : (t.zoomOffset++, t.maxZoom = Math.max(t.minZoom, t.maxZoom - 1)), t.minZoom = Math.max(0, t.minZoom)) : t.zoomReverse ? t.minZoom = Math.min(t.maxZoom, t.minZoom) : t.maxZoom = Math.max(t.minZoom, t.maxZoom), typeof t.subdomains == "string" && (t.subdomains = t.subdomains.split("")), this.on("tileunload", this._onTileRemove);
|
|
4457
4457
|
},
|
|
4458
4458
|
setUrl: function(e, t) {
|
|
4459
4459
|
return this._url === e && t === void 0 && (t = !0), this._url = e, t || this.redraw(), this;
|
|
4460
4460
|
},
|
|
4461
4461
|
createTile: function(e, t) {
|
|
4462
4462
|
var n = document.createElement("img");
|
|
4463
|
-
return
|
|
4463
|
+
return J(n, "load", i(this._tileOnLoad, this, t, n)), J(n, "error", i(this._tileOnError, this, t, n)), (this.options.crossOrigin || this.options.crossOrigin === "") && (n.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), typeof this.options.referrerPolicy == "string" && (n.referrerPolicy = this.options.referrerPolicy), n.alt = "", n.src = this.getTileUrl(e), n;
|
|
4464
4464
|
},
|
|
4465
4465
|
getTileUrl: function(e) {
|
|
4466
4466
|
var t = {
|
|
4467
|
-
r:
|
|
4467
|
+
r: H.retina ? "@2x" : "",
|
|
4468
4468
|
s: this._getSubdomain(e),
|
|
4469
4469
|
x: e.x,
|
|
4470
4470
|
y: e.y,
|
|
@@ -4477,7 +4477,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4477
4477
|
return g(this._url, n(t, this.options));
|
|
4478
4478
|
},
|
|
4479
4479
|
_tileOnLoad: function(e, t) {
|
|
4480
|
-
|
|
4480
|
+
H.ielt9 ? setTimeout(i(e, this, null, t), 0) : e(null, t);
|
|
4481
4481
|
},
|
|
4482
4482
|
_tileOnError: function(e, t, n) {
|
|
4483
4483
|
var r = this.options.errorTileUrl;
|
|
@@ -4499,7 +4499,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4499
4499
|
for (e in this._tiles) if (this._tiles[e].coords.z !== this._tileZoom && (t = this._tiles[e].el, t.onload = l, t.onerror = l, !t.complete)) {
|
|
4500
4500
|
t.src = te;
|
|
4501
4501
|
var n = this._tiles[e].coords;
|
|
4502
|
-
|
|
4502
|
+
W(t), delete this._tiles[e], this.fire("tileabort", {
|
|
4503
4503
|
tile: t,
|
|
4504
4504
|
coords: n
|
|
4505
4505
|
});
|
|
@@ -4535,7 +4535,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4535
4535
|
var r = n({}, this.defaultWmsParams);
|
|
4536
4536
|
for (var i in t) i in this.options || (r[i] = t[i]);
|
|
4537
4537
|
t = p(this, t);
|
|
4538
|
-
var a = t.detectRetina &&
|
|
4538
|
+
var a = t.detectRetina && H.retina ? 2 : 1, o = this.getTileSize();
|
|
4539
4539
|
r.width = o.x * a, r.height = o.y * a, this.wmsParams = r;
|
|
4540
4540
|
},
|
|
4541
4541
|
onAdd: function(e) {
|
|
@@ -4571,7 +4571,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4571
4571
|
p(this, e), o(this), this._layers = this._layers || {};
|
|
4572
4572
|
},
|
|
4573
4573
|
onAdd: function() {
|
|
4574
|
-
this._container || (this._initContainer(),
|
|
4574
|
+
this._container || (this._initContainer(), G(this._container, "leaflet-zoom-animated")), this.getPane().appendChild(this._container), this._update(), this.on("update", this._updatePaths, this);
|
|
4575
4575
|
},
|
|
4576
4576
|
onRemove: function() {
|
|
4577
4577
|
this.off("update", this._updatePaths, this), this._destroyContainer();
|
|
@@ -4593,7 +4593,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4593
4593
|
},
|
|
4594
4594
|
_updateTransform: function(e, t) {
|
|
4595
4595
|
var n = this._map.getZoomScale(t, this._zoom), r = this._map.getSize().multiplyBy(.5 + this.options.padding), i = this._map.project(this._center, t), a = r.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(e, t));
|
|
4596
|
-
|
|
4596
|
+
H.any3d ? Ot(this._container, a, n) : q(this._container, a);
|
|
4597
4597
|
},
|
|
4598
4598
|
_reset: function() {
|
|
4599
4599
|
for (var e in this._update(), this._updateTransform(this._center, this._zoom), this._layers) this._layers[e]._reset();
|
|
@@ -4622,10 +4622,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4622
4622
|
},
|
|
4623
4623
|
_initContainer: function() {
|
|
4624
4624
|
var e = this._container = document.createElement("canvas");
|
|
4625
|
-
|
|
4625
|
+
J(e, "mousemove", this._onMouseMove, this), J(e, "click dblclick mousedown mouseup contextmenu", this._onClick, this), J(e, "mouseout", this._handleMouseOut, this), e._leaflet_disable_events = !0, this._ctx = e.getContext("2d");
|
|
4626
4626
|
},
|
|
4627
4627
|
_destroyContainer: function() {
|
|
4628
|
-
S(this._redrawRequest), delete this._ctx,
|
|
4628
|
+
S(this._redrawRequest), delete this._ctx, W(this._container), Y(this._container), delete this._container;
|
|
4629
4629
|
},
|
|
4630
4630
|
_updatePaths: function() {
|
|
4631
4631
|
if (!this._postponeUpdatePaths) {
|
|
@@ -4637,8 +4637,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4637
4637
|
_update: function() {
|
|
4638
4638
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
4639
4639
|
Hr.prototype._update.call(this);
|
|
4640
|
-
var e = this._bounds, t = this._container, n = e.getSize(), r =
|
|
4641
|
-
|
|
4640
|
+
var e = this._bounds, t = this._container, n = e.getSize(), r = H.retina ? 2 : 1;
|
|
4641
|
+
q(t, e.min), t.width = r * n.x, t.height = r * n.y, t.style.width = n.x + "px", t.style.height = n.y + "px", H.retina && this._ctx.scale(2, 2), this._ctx.translate(-e.min.x, -e.min.y), this.fire("update");
|
|
4642
4642
|
}
|
|
4643
4643
|
},
|
|
4644
4644
|
_reset: function() {
|
|
@@ -4739,12 +4739,12 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4739
4739
|
},
|
|
4740
4740
|
_handleMouseOut: function(e) {
|
|
4741
4741
|
var t = this._hoveredLayer;
|
|
4742
|
-
t && (
|
|
4742
|
+
t && (K(this._container, "leaflet-interactive"), this._fireEvent([t], e, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);
|
|
4743
4743
|
},
|
|
4744
4744
|
_handleMouseHover: function(e, t) {
|
|
4745
4745
|
if (!this._mouseHoverThrottled) {
|
|
4746
4746
|
for (var n, r, a = this._drawFirst; a; a = a.next) n = a.layer, n.options.interactive && n._containsPoint(t) && (r = n);
|
|
4747
|
-
r !== this._hoveredLayer && (this._handleMouseOut(e), r && (
|
|
4747
|
+
r !== this._hoveredLayer && (this._handleMouseOut(e), r && (G(this._container, "leaflet-interactive"), this._fireEvent([r], e, "mouseover"), this._hoveredLayer = r)), this._fireEvent(this._hoveredLayer ? [this._hoveredLayer] : !1, e), this._mouseHoverThrottled = !0, setTimeout(i(function() {
|
|
4748
4748
|
this._mouseHoverThrottled = !1;
|
|
4749
4749
|
}, this), 32);
|
|
4750
4750
|
}
|
|
@@ -4772,7 +4772,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4772
4772
|
}
|
|
4773
4773
|
});
|
|
4774
4774
|
function Wr(e) {
|
|
4775
|
-
return
|
|
4775
|
+
return H.canvas ? new Ur(e) : null;
|
|
4776
4776
|
}
|
|
4777
4777
|
var Gr = (function() {
|
|
4778
4778
|
try {
|
|
@@ -4785,14 +4785,14 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4785
4785
|
};
|
|
4786
4786
|
})(), Kr = {
|
|
4787
4787
|
_initContainer: function() {
|
|
4788
|
-
this._container =
|
|
4788
|
+
this._container = U("div", "leaflet-vml-container");
|
|
4789
4789
|
},
|
|
4790
4790
|
_update: function() {
|
|
4791
4791
|
this._map._animatingZoom || (Hr.prototype._update.call(this), this.fire("update"));
|
|
4792
4792
|
},
|
|
4793
4793
|
_initPath: function(e) {
|
|
4794
4794
|
var t = e._container = Gr("shape");
|
|
4795
|
-
|
|
4795
|
+
G(t, "leaflet-vml-shape " + (this.options.className || "")), t.coordsize = "1 1", e._path = Gr("path"), t.appendChild(e._path), this._updateStyle(e), this._layers[o(e)] = e;
|
|
4796
4796
|
},
|
|
4797
4797
|
_addPath: function(e) {
|
|
4798
4798
|
var t = e._container;
|
|
@@ -4800,7 +4800,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4800
4800
|
},
|
|
4801
4801
|
_removePath: function(e) {
|
|
4802
4802
|
var t = e._container;
|
|
4803
|
-
|
|
4803
|
+
W(t), e.removeInteractiveTarget(t), delete this._layers[o(e)];
|
|
4804
4804
|
},
|
|
4805
4805
|
_updateStyle: function(e) {
|
|
4806
4806
|
var t = e._stroke, n = e._fill, r = e.options, i = e._container;
|
|
@@ -4814,23 +4814,23 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4814
4814
|
e._path.v = t;
|
|
4815
4815
|
},
|
|
4816
4816
|
_bringToFront: function(e) {
|
|
4817
|
-
|
|
4817
|
+
bt(e._container);
|
|
4818
4818
|
},
|
|
4819
4819
|
_bringToBack: function(e) {
|
|
4820
|
-
|
|
4820
|
+
xt(e._container);
|
|
4821
4821
|
}
|
|
4822
|
-
}, qr =
|
|
4822
|
+
}, qr = H.vml ? Gr : ue, Jr = Hr.extend({
|
|
4823
4823
|
_initContainer: function() {
|
|
4824
4824
|
this._container = qr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = qr("g"), this._container.appendChild(this._rootGroup);
|
|
4825
4825
|
},
|
|
4826
4826
|
_destroyContainer: function() {
|
|
4827
|
-
|
|
4827
|
+
W(this._container), Y(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
|
|
4828
4828
|
},
|
|
4829
4829
|
_update: function() {
|
|
4830
4830
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
4831
4831
|
Hr.prototype._update.call(this);
|
|
4832
4832
|
var e = this._bounds, t = e.getSize(), n = this._container;
|
|
4833
|
-
(!this._svgSize || !this._svgSize.equals(t)) && (this._svgSize = t, n.setAttribute("width", t.x), n.setAttribute("height", t.y)),
|
|
4833
|
+
(!this._svgSize || !this._svgSize.equals(t)) && (this._svgSize = t, n.setAttribute("width", t.x), n.setAttribute("height", t.y)), q(n, e.min), n.setAttribute("viewBox", [
|
|
4834
4834
|
e.min.x,
|
|
4835
4835
|
e.min.y,
|
|
4836
4836
|
t.x,
|
|
@@ -4840,13 +4840,13 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4840
4840
|
},
|
|
4841
4841
|
_initPath: function(e) {
|
|
4842
4842
|
var t = e._path = qr("path");
|
|
4843
|
-
e.options.className &&
|
|
4843
|
+
e.options.className && G(t, e.options.className), e.options.interactive && G(t, "leaflet-interactive"), this._updateStyle(e), this._layers[o(e)] = e;
|
|
4844
4844
|
},
|
|
4845
4845
|
_addPath: function(e) {
|
|
4846
4846
|
this._rootGroup || this._initContainer(), this._rootGroup.appendChild(e._path), e.addInteractiveTarget(e._path);
|
|
4847
4847
|
},
|
|
4848
4848
|
_removePath: function(e) {
|
|
4849
|
-
|
|
4849
|
+
W(e._path), e.removeInteractiveTarget(e._path), delete this._layers[o(e)];
|
|
4850
4850
|
},
|
|
4851
4851
|
_updatePath: function(e) {
|
|
4852
4852
|
e._project(), e._update();
|
|
@@ -4866,17 +4866,17 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4866
4866
|
e._path.setAttribute("d", t);
|
|
4867
4867
|
},
|
|
4868
4868
|
_bringToFront: function(e) {
|
|
4869
|
-
|
|
4869
|
+
bt(e._path);
|
|
4870
4870
|
},
|
|
4871
4871
|
_bringToBack: function(e) {
|
|
4872
|
-
|
|
4872
|
+
xt(e._path);
|
|
4873
4873
|
}
|
|
4874
4874
|
});
|
|
4875
|
-
|
|
4875
|
+
H.vml && Jr.include(Kr);
|
|
4876
4876
|
function Yr(e) {
|
|
4877
|
-
return
|
|
4877
|
+
return H.svg || H.vml ? new Jr(e) : null;
|
|
4878
4878
|
}
|
|
4879
|
-
|
|
4879
|
+
Z.include({
|
|
4880
4880
|
getRenderer: function(e) {
|
|
4881
4881
|
var t = e.options.renderer || this._getPaneRenderer(e.options.pane) || this.options.renderer || this._renderer;
|
|
4882
4882
|
return t ||= this._renderer = this._createRenderer(), this.hasLayer(t) || this.addLayer(t), t;
|
|
@@ -4909,22 +4909,22 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4909
4909
|
function Zr(e, t) {
|
|
4910
4910
|
return new Xr(e, t);
|
|
4911
4911
|
}
|
|
4912
|
-
Jr.create = qr, Jr.pointsToPath = de, dr.geometryToLayer = fr, dr.coordsToLatLng = mr, dr.coordsToLatLngs = hr, dr.latLngToCoords = gr, dr.latLngsToCoords = _r, dr.getFeature = vr, dr.asFeature = yr,
|
|
4913
|
-
var Qr =
|
|
4912
|
+
Jr.create = qr, Jr.pointsToPath = de, dr.geometryToLayer = fr, dr.coordsToLatLng = mr, dr.coordsToLatLngs = hr, dr.latLngToCoords = gr, dr.latLngsToCoords = _r, dr.getFeature = vr, dr.asFeature = yr, Z.mergeOptions({ boxZoom: !0 });
|
|
4913
|
+
var Qr = Q.extend({
|
|
4914
4914
|
initialize: function(e) {
|
|
4915
4915
|
this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
|
|
4916
4916
|
},
|
|
4917
4917
|
addHooks: function() {
|
|
4918
|
-
|
|
4918
|
+
J(this._container, "mousedown", this._onMouseDown, this);
|
|
4919
4919
|
},
|
|
4920
4920
|
removeHooks: function() {
|
|
4921
|
-
|
|
4921
|
+
Y(this._container, "mousedown", this._onMouseDown, this);
|
|
4922
4922
|
},
|
|
4923
4923
|
moved: function() {
|
|
4924
4924
|
return this._moved;
|
|
4925
4925
|
},
|
|
4926
4926
|
_destroy: function() {
|
|
4927
|
-
|
|
4927
|
+
W(this._pane), delete this._pane;
|
|
4928
4928
|
},
|
|
4929
4929
|
_resetState: function() {
|
|
4930
4930
|
this._resetStateTimeout = 0, this._moved = !1;
|
|
@@ -4934,21 +4934,21 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4934
4934
|
},
|
|
4935
4935
|
_onMouseDown: function(e) {
|
|
4936
4936
|
if (!e.shiftKey || e.which !== 1 && e.button !== 1) return !1;
|
|
4937
|
-
this._clearDeferredResetState(), this._resetState(),
|
|
4938
|
-
contextmenu:
|
|
4937
|
+
this._clearDeferredResetState(), this._resetState(), At(), Pt(), this._startPoint = this._map.mouseEventToContainerPoint(e), J(document, {
|
|
4938
|
+
contextmenu: Zt,
|
|
4939
4939
|
mousemove: this._onMouseMove,
|
|
4940
4940
|
mouseup: this._onMouseUp,
|
|
4941
4941
|
keydown: this._onKeyDown
|
|
4942
4942
|
}, this);
|
|
4943
4943
|
},
|
|
4944
4944
|
_onMouseMove: function(e) {
|
|
4945
|
-
this._moved || (this._moved = !0, this._box =
|
|
4945
|
+
this._moved || (this._moved = !0, this._box = U("div", "leaflet-zoom-box", this._container), G(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(e);
|
|
4946
4946
|
var t = new k(this._point, this._startPoint), n = t.getSize();
|
|
4947
|
-
|
|
4947
|
+
q(this._box, t.min), this._box.style.width = n.x + "px", this._box.style.height = n.y + "px";
|
|
4948
4948
|
},
|
|
4949
4949
|
_finish: function() {
|
|
4950
|
-
this._moved && (
|
|
4951
|
-
contextmenu:
|
|
4950
|
+
this._moved && (W(this._box), K(this._container, "leaflet-crosshair")), jt(), Ft(), Y(document, {
|
|
4951
|
+
contextmenu: Zt,
|
|
4952
4952
|
mousemove: this._onMouseMove,
|
|
4953
4953
|
mouseup: this._onMouseUp,
|
|
4954
4954
|
keydown: this._onKeyDown
|
|
@@ -4965,8 +4965,8 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4965
4965
|
e.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
|
|
4966
4966
|
}
|
|
4967
4967
|
});
|
|
4968
|
-
|
|
4969
|
-
var $r =
|
|
4968
|
+
Z.addInitHook("addHandler", "boxZoom", Qr), Z.mergeOptions({ doubleClickZoom: !0 });
|
|
4969
|
+
var $r = Q.extend({
|
|
4970
4970
|
addHooks: function() {
|
|
4971
4971
|
this._map.on("dblclick", this._onDoubleClick, this);
|
|
4972
4972
|
},
|
|
@@ -4978,7 +4978,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4978
4978
|
t.options.doubleClickZoom === "center" ? t.setZoom(i) : t.setZoomAround(e.containerPoint, i);
|
|
4979
4979
|
}
|
|
4980
4980
|
});
|
|
4981
|
-
|
|
4981
|
+
Z.addInitHook("addHandler", "doubleClickZoom", $r), Z.mergeOptions({
|
|
4982
4982
|
dragging: !0,
|
|
4983
4983
|
inertia: !0,
|
|
4984
4984
|
inertiaDeceleration: 3400,
|
|
@@ -4987,7 +4987,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4987
4987
|
worldCopyJump: !1,
|
|
4988
4988
|
maxBoundsViscosity: 0
|
|
4989
4989
|
});
|
|
4990
|
-
var ei =
|
|
4990
|
+
var ei = Q.extend({
|
|
4991
4991
|
addHooks: function() {
|
|
4992
4992
|
if (!this._draggable) {
|
|
4993
4993
|
var e = this._map;
|
|
@@ -4997,10 +4997,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4997
4997
|
dragend: this._onDragEnd
|
|
4998
4998
|
}, this), this._draggable.on("predrag", this._onPreDragLimit, this), e.options.worldCopyJump && (this._draggable.on("predrag", this._onPreDragWrap, this), e.on("zoomend", this._onZoomEnd, this), e.whenReady(this._onZoomEnd, this));
|
|
4999
4999
|
}
|
|
5000
|
-
|
|
5000
|
+
G(this._map._container, "leaflet-grab leaflet-touch-drag"), this._draggable.enable(), this._positions = [], this._times = [];
|
|
5001
5001
|
},
|
|
5002
5002
|
removeHooks: function() {
|
|
5003
|
-
|
|
5003
|
+
K(this._map._container, "leaflet-grab"), K(this._map._container, "leaflet-touch-drag"), this._draggable.disable();
|
|
5004
5004
|
},
|
|
5005
5005
|
moved: function() {
|
|
5006
5006
|
return this._draggable && this._draggable._moved;
|
|
@@ -5060,11 +5060,11 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5060
5060
|
}
|
|
5061
5061
|
}
|
|
5062
5062
|
});
|
|
5063
|
-
|
|
5063
|
+
Z.addInitHook("addHandler", "dragging", ei), Z.mergeOptions({
|
|
5064
5064
|
keyboard: !0,
|
|
5065
5065
|
keyboardPanDelta: 80
|
|
5066
5066
|
});
|
|
5067
|
-
var
|
|
5067
|
+
var ti = Q.extend({
|
|
5068
5068
|
keyCodes: {
|
|
5069
5069
|
left: [37],
|
|
5070
5070
|
right: [39],
|
|
@@ -5088,7 +5088,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5088
5088
|
},
|
|
5089
5089
|
addHooks: function() {
|
|
5090
5090
|
var e = this._map._container;
|
|
5091
|
-
e.tabIndex <= 0 && (e.tabIndex = "0"),
|
|
5091
|
+
e.tabIndex <= 0 && (e.tabIndex = "0"), J(e, {
|
|
5092
5092
|
focus: this._onFocus,
|
|
5093
5093
|
blur: this._onBlur,
|
|
5094
5094
|
mousedown: this._onMouseDown
|
|
@@ -5098,7 +5098,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5098
5098
|
}, this);
|
|
5099
5099
|
},
|
|
5100
5100
|
removeHooks: function() {
|
|
5101
|
-
this._removeHooks(),
|
|
5101
|
+
this._removeHooks(), Y(this._map._container, {
|
|
5102
5102
|
focus: this._onFocus,
|
|
5103
5103
|
blur: this._onBlur,
|
|
5104
5104
|
mousedown: this._onMouseDown
|
|
@@ -5132,10 +5132,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5132
5132
|
for (r = 0, i = n.zoomOut.length; r < i; r++) t[n.zoomOut[r]] = -e;
|
|
5133
5133
|
},
|
|
5134
5134
|
_addHooks: function() {
|
|
5135
|
-
|
|
5135
|
+
J(document, "keydown", this._onKeyDown, this);
|
|
5136
5136
|
},
|
|
5137
5137
|
_removeHooks: function() {
|
|
5138
|
-
|
|
5138
|
+
Y(document, "keydown", this._onKeyDown, this);
|
|
5139
5139
|
},
|
|
5140
5140
|
_onKeyDown: function(e) {
|
|
5141
5141
|
if (!(e.altKey || e.ctrlKey || e.metaKey)) {
|
|
@@ -5150,27 +5150,27 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5150
5150
|
} else if (t in this._zoomKeys) n.setZoom(n.getZoom() + (e.shiftKey ? 3 : 1) * this._zoomKeys[t]);
|
|
5151
5151
|
else if (t === 27 && n._popup && n._popup.options.closeOnEscapeKey) n.closePopup();
|
|
5152
5152
|
else return;
|
|
5153
|
-
|
|
5153
|
+
Zt(e);
|
|
5154
5154
|
}
|
|
5155
5155
|
}
|
|
5156
5156
|
});
|
|
5157
|
-
|
|
5157
|
+
Z.addInitHook("addHandler", "keyboard", ti), Z.mergeOptions({
|
|
5158
5158
|
scrollWheelZoom: !0,
|
|
5159
5159
|
wheelDebounceTime: 40,
|
|
5160
5160
|
wheelPxPerZoomLevel: 60
|
|
5161
5161
|
});
|
|
5162
|
-
var
|
|
5162
|
+
var ni = Q.extend({
|
|
5163
5163
|
addHooks: function() {
|
|
5164
|
-
|
|
5164
|
+
J(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
|
|
5165
5165
|
},
|
|
5166
5166
|
removeHooks: function() {
|
|
5167
|
-
|
|
5167
|
+
Y(this._map._container, "wheel", this._onWheelScroll, this);
|
|
5168
5168
|
},
|
|
5169
5169
|
_onWheelScroll: function(e) {
|
|
5170
|
-
var t =
|
|
5170
|
+
var t = tn(e), n = this._map.options.wheelDebounceTime;
|
|
5171
5171
|
this._delta += t, this._lastMousePos = this._map.mouseEventToContainerPoint(e), this._startTime ||= +/* @__PURE__ */ new Date();
|
|
5172
5172
|
var r = Math.max(n - (+/* @__PURE__ */ new Date() - this._startTime), 0);
|
|
5173
|
-
clearTimeout(this._timer), this._timer = setTimeout(i(this._performZoom, this), r),
|
|
5173
|
+
clearTimeout(this._timer), this._timer = setTimeout(i(this._performZoom, this), r), Zt(e);
|
|
5174
5174
|
},
|
|
5175
5175
|
_performZoom: function() {
|
|
5176
5176
|
var e = this._map, t = e.getZoom(), n = this._map.options.zoomSnap || 0;
|
|
@@ -5179,32 +5179,32 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5179
5179
|
this._delta = 0, this._startTime = null, o && (e.options.scrollWheelZoom === "center" ? e.setZoom(t + o) : e.setZoomAround(this._lastMousePos, t + o));
|
|
5180
5180
|
}
|
|
5181
5181
|
});
|
|
5182
|
-
|
|
5183
|
-
var
|
|
5184
|
-
|
|
5185
|
-
tapHold:
|
|
5182
|
+
Z.addInitHook("addHandler", "scrollWheelZoom", ni);
|
|
5183
|
+
var $ = 600;
|
|
5184
|
+
Z.mergeOptions({
|
|
5185
|
+
tapHold: H.touchNative && H.safari && H.mobile,
|
|
5186
5186
|
tapTolerance: 15
|
|
5187
5187
|
});
|
|
5188
|
-
var ri =
|
|
5188
|
+
var ri = Q.extend({
|
|
5189
5189
|
addHooks: function() {
|
|
5190
|
-
|
|
5190
|
+
J(this._map._container, "touchstart", this._onDown, this);
|
|
5191
5191
|
},
|
|
5192
5192
|
removeHooks: function() {
|
|
5193
|
-
|
|
5193
|
+
Y(this._map._container, "touchstart", this._onDown, this);
|
|
5194
5194
|
},
|
|
5195
5195
|
_onDown: function(e) {
|
|
5196
5196
|
if (clearTimeout(this._holdTimeout), e.touches.length === 1) {
|
|
5197
5197
|
var t = e.touches[0];
|
|
5198
5198
|
this._startPos = this._newPos = new D(t.clientX, t.clientY), this._holdTimeout = setTimeout(i(function() {
|
|
5199
|
-
this._cancel(), this._isTapValid() && (
|
|
5200
|
-
}, this),
|
|
5199
|
+
this._cancel(), this._isTapValid() && (J(document, "touchend", X), J(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", t));
|
|
5200
|
+
}, this), $), J(document, "touchend touchcancel contextmenu", this._cancel, this), J(document, "touchmove", this._onMove, this);
|
|
5201
5201
|
}
|
|
5202
5202
|
},
|
|
5203
5203
|
_cancelClickPrevent: function e() {
|
|
5204
|
-
|
|
5204
|
+
Y(document, "touchend", X), Y(document, "touchend touchcancel", e);
|
|
5205
5205
|
},
|
|
5206
5206
|
_cancel: function() {
|
|
5207
|
-
clearTimeout(this._holdTimeout),
|
|
5207
|
+
clearTimeout(this._holdTimeout), Y(document, "touchend touchcancel contextmenu", this._cancel, this), Y(document, "touchmove", this._onMove, this);
|
|
5208
5208
|
},
|
|
5209
5209
|
_onMove: function(e) {
|
|
5210
5210
|
var t = e.touches[0];
|
|
@@ -5226,22 +5226,22 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5226
5226
|
n._simulated = !0, t.target.dispatchEvent(n);
|
|
5227
5227
|
}
|
|
5228
5228
|
});
|
|
5229
|
-
|
|
5230
|
-
touchZoom:
|
|
5229
|
+
Z.addInitHook("addHandler", "tapHold", ri), Z.mergeOptions({
|
|
5230
|
+
touchZoom: H.touch,
|
|
5231
5231
|
bounceAtZoomLimits: !0
|
|
5232
5232
|
});
|
|
5233
|
-
var ii =
|
|
5233
|
+
var ii = Q.extend({
|
|
5234
5234
|
addHooks: function() {
|
|
5235
|
-
|
|
5235
|
+
G(this._map._container, "leaflet-touch-zoom"), J(this._map._container, "touchstart", this._onTouchStart, this);
|
|
5236
5236
|
},
|
|
5237
5237
|
removeHooks: function() {
|
|
5238
|
-
|
|
5238
|
+
K(this._map._container, "leaflet-touch-zoom"), Y(this._map._container, "touchstart", this._onTouchStart, this);
|
|
5239
5239
|
},
|
|
5240
5240
|
_onTouchStart: function(e) {
|
|
5241
5241
|
var t = this._map;
|
|
5242
5242
|
if (!(!e.touches || e.touches.length !== 2 || t._animatingZoom || this._zooming)) {
|
|
5243
5243
|
var n = t.mouseEventToContainerPoint(e.touches[0]), r = t.mouseEventToContainerPoint(e.touches[1]);
|
|
5244
|
-
this._centerPoint = t.getSize()._divideBy(2), this._startLatLng = t.containerPointToLatLng(this._centerPoint), t.options.touchZoom !== "center" && (this._pinchStartLatLng = t.containerPointToLatLng(n.add(r)._divideBy(2))), this._startDist = n.distanceTo(r), this._startZoom = t.getZoom(), this._moved = !1, this._zooming = !0, t._stop(),
|
|
5244
|
+
this._centerPoint = t.getSize()._divideBy(2), this._startLatLng = t.containerPointToLatLng(this._centerPoint), t.options.touchZoom !== "center" && (this._pinchStartLatLng = t.containerPointToLatLng(n.add(r)._divideBy(2))), this._startDist = n.distanceTo(r), this._startZoom = t.getZoom(), this._moved = !1, this._zooming = !0, t._stop(), J(document, "touchmove", this._onTouchMove, this), J(document, "touchend touchcancel", this._onTouchEnd, this), X(e);
|
|
5245
5245
|
}
|
|
5246
5246
|
},
|
|
5247
5247
|
_onTouchMove: function(e) {
|
|
@@ -5259,7 +5259,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5259
5259
|
pinch: !0,
|
|
5260
5260
|
round: !1
|
|
5261
5261
|
}, void 0);
|
|
5262
|
-
this._animRequest = x(s, this, !0),
|
|
5262
|
+
this._animRequest = x(s, this, !0), X(e);
|
|
5263
5263
|
}
|
|
5264
5264
|
},
|
|
5265
5265
|
_onTouchEnd: function() {
|
|
@@ -5267,10 +5267,10 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5267
5267
|
this._zooming = !1;
|
|
5268
5268
|
return;
|
|
5269
5269
|
}
|
|
5270
|
-
this._zooming = !1, S(this._animRequest),
|
|
5270
|
+
this._zooming = !1, S(this._animRequest), Y(document, "touchmove", this._onTouchMove, this), Y(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));
|
|
5271
5271
|
}
|
|
5272
5272
|
});
|
|
5273
|
-
|
|
5273
|
+
Z.addInitHook("addHandler", "touchZoom", ii), Z.BoxZoom = Qr, Z.DoubleClickZoom = $r, Z.Drag = ei, Z.Keyboard = ti, Z.ScrollWheelZoom = ni, Z.TapHold = ri, Z.TouchZoom = ii, e.Bounds = k, e.Browser = H, e.CRS = F, e.Canvas = Ur, e.Circle = ar, e.CircleMarker = rr, e.Class = ie, e.Control = sn, e.DivIcon = Pr, e.DivOverlay = kr, e.DomEvent = rn, e.DomUtil = Ht, e.Draggable = vn, e.Evented = E, e.FeatureGroup = Jn, e.GeoJSON = dr, e.GridLayer = Ir, e.Handler = Q, e.Icon = Xn, e.ImageOverlay = Cr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Gn, e.LayerGroup = Kn, e.LineUtil = Rn, e.Map = Z, e.Marker = er, e.Mixin = gn, e.Path = nr, e.Point = D, e.PolyUtil = Sn, e.Polygon = lr, e.Polyline = sr, e.Popup = Ar, e.PosAnimation = an, e.Projection = Vn, e.Rectangle = Xr, e.Renderer = Hr, e.SVG = Jr, e.SVGOverlay = Dr, e.TileLayer = Rr, e.Tooltip = Mr, e.Transformation = oe, e.Util = C, e.VideoOverlay = Tr, e.bind = i, e.bounds = A, e.canvas = Wr, e.circle = or, e.circleMarker = ir, e.control = cn, e.divIcon = Fr, e.extend = n, e.featureGroup = Yn, e.geoJSON = xr, e.geoJson = Sr, e.gridLayer = Lr, e.icon = Zn, e.imageOverlay = wr, e.latLng = P, e.latLngBounds = M, e.layerGroup = qn, e.map = on, e.marker = tr, e.point = O, e.polygon = ur, e.polyline = cr, e.popup = jr, e.rectangle = Zr, e.setOptions = p, e.stamp = o, e.svg = Yr, e.svgOverlay = Or, e.tileLayer = zr, e.tooltip = Nr, e.transformation = se, e.version = t, e.videoOverlay = Er;
|
|
5274
5274
|
var ai = window.L;
|
|
5275
5275
|
e.noConflict = function() {
|
|
5276
5276
|
return window.L = ai, this;
|
|
@@ -6017,7 +6017,7 @@ var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
6017
6017
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
6018
6018
|
});
|
|
6019
6019
|
})))();
|
|
6020
|
-
var
|
|
6020
|
+
var Z = "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=", on = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6021
6021
|
__name: "Map",
|
|
6022
6022
|
props: {
|
|
6023
6023
|
modelValue: {},
|
|
@@ -6025,13 +6025,13 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6025
6025
|
},
|
|
6026
6026
|
emits: ["update:modelValue", "callback"],
|
|
6027
6027
|
setup(e, { emit: t }) {
|
|
6028
|
-
let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(he()), s =
|
|
6029
|
-
iconUrl:
|
|
6028
|
+
let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(he()), s = an.default.Util.extend(an.default.CRS.Simple, { transformation: new an.default.Transformation(1, 0, 1, 0) }), c = I(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = an.default.icon({
|
|
6029
|
+
iconUrl: Z,
|
|
6030
6030
|
iconSize: [32, 37],
|
|
6031
6031
|
iconAnchor: [16, 37]
|
|
6032
6032
|
});
|
|
6033
6033
|
function p() {
|
|
6034
|
-
let e =
|
|
6034
|
+
let e = an.default.map(c.value, {
|
|
6035
6035
|
attributionControl: !1,
|
|
6036
6036
|
zoomControl: !0,
|
|
6037
6037
|
smoothWheelZoom: !0,
|
|
@@ -6042,10 +6042,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6042
6042
|
maxZoom: 1,
|
|
6043
6043
|
crs: s
|
|
6044
6044
|
}), t = [[0, 0], [u.value, d.value]];
|
|
6045
|
-
|
|
6046
|
-
let n =
|
|
6045
|
+
an.default.imageOverlay(l.value, t).addTo(e);
|
|
6046
|
+
let n = an.default.markerClusterGroup({ showCoverageOnHover: !1 }), i = new an.default.LatLngBounds(g.value.map(({ y: e, x: t }) => [e, t]));
|
|
6047
6047
|
g.value.forEach(({ y: e, x: t, name: i, id: a }) => {
|
|
6048
|
-
n.addLayer(
|
|
6048
|
+
n.addLayer(an.default.marker([e, t], {
|
|
6049
6049
|
icon: f,
|
|
6050
6050
|
title: i,
|
|
6051
6051
|
alt: i,
|
|
@@ -6082,10 +6082,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6082
6082
|
class: "konnectio-leaflet-map"
|
|
6083
6083
|
}, null, 512)).cacheIndex = 0, D(1), t[0]);
|
|
6084
6084
|
}
|
|
6085
|
-
}), [["__scopeId", "data-v-c36a3ba7"]]),
|
|
6085
|
+
}), [["__scopeId", "data-v-c36a3ba7"]]), sn = { style: {
|
|
6086
6086
|
height: "100%",
|
|
6087
6087
|
width: "100%"
|
|
6088
|
-
} },
|
|
6088
|
+
} }, cn = /* @__PURE__ */ R({
|
|
6089
6089
|
__name: "MapSelector",
|
|
6090
6090
|
props: {
|
|
6091
6091
|
roomList: {},
|
|
@@ -6102,8 +6102,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6102
6102
|
roomId: a.value
|
|
6103
6103
|
}), s.callback());
|
|
6104
6104
|
}
|
|
6105
|
-
return (t, n) => (b(), u(
|
|
6106
|
-
default: S(() => [T("div",
|
|
6105
|
+
return (t, n) => (b(), u(Ve, { title: r(i)("hotel.selectRoomOnMapTitle") }, {
|
|
6106
|
+
default: S(() => [T("div", sn, [l(on, {
|
|
6107
6107
|
modelValue: a.value,
|
|
6108
6108
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
6109
6109
|
rooms: e.roomList,
|
|
@@ -6112,19 +6112,19 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6112
6112
|
_: 1
|
|
6113
6113
|
}, 8, ["title"]));
|
|
6114
6114
|
}
|
|
6115
|
-
}),
|
|
6115
|
+
}), ln = {
|
|
6116
6116
|
key: 0,
|
|
6117
6117
|
class: "konnectio-hotel-select-rate"
|
|
6118
|
-
},
|
|
6118
|
+
}, un = {
|
|
6119
6119
|
key: 0,
|
|
6120
6120
|
class: "konnectio-hotel-select-rate-removal"
|
|
6121
|
-
},
|
|
6121
|
+
}, dn = { key: 1 }, fn = { class: "konnectio-listing-config-body" }, pn = {
|
|
6122
6122
|
key: 0,
|
|
6123
6123
|
class: "konnectio-listing-units-body"
|
|
6124
|
-
},
|
|
6124
|
+
}, mn = {
|
|
6125
6125
|
key: 1,
|
|
6126
6126
|
class: "konnectio-listing-units-body"
|
|
6127
|
-
},
|
|
6127
|
+
}, hn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6128
6128
|
__name: "Hotel",
|
|
6129
6129
|
props: {
|
|
6130
6130
|
room: {},
|
|
@@ -6210,7 +6210,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6210
6210
|
});
|
|
6211
6211
|
}, { deep: !0 }), ae(f, () => {
|
|
6212
6212
|
ie.value[c.room.id] = f.value;
|
|
6213
|
-
}, { deep: !0 }), (n, c) => (b(), u(
|
|
6213
|
+
}, { deep: !0 }), (n, c) => (b(), u(Ze, {
|
|
6214
6214
|
type: "hotel",
|
|
6215
6215
|
"listing-id": e.room.id,
|
|
6216
6216
|
gallery: e.room.images,
|
|
@@ -6224,7 +6224,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6224
6224
|
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", {
|
|
6225
6225
|
key: n.id,
|
|
6226
6226
|
class: "konnectio-hotel-room"
|
|
6227
|
-
}, [R.value ? (b(), m("div",
|
|
6227
|
+
}, [R.value ? (b(), m("div", ln, [l(Me, {
|
|
6228
6228
|
modelValue: n.id,
|
|
6229
6229
|
"onUpdate:modelValue": (e) => n.id = e,
|
|
6230
6230
|
label: r(s)("hotel.roomVariant"),
|
|
@@ -6239,19 +6239,19 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6239
6239
|
"placeholder",
|
|
6240
6240
|
"options",
|
|
6241
6241
|
"onChanged"
|
|
6242
|
-
]), f.value.length > 1 ? (b(), m("div",
|
|
6242
|
+
]), f.value.length > 1 ? (b(), m("div", un, [l(Pe, {
|
|
6243
6243
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6244
6244
|
icon: "trash-alt",
|
|
6245
6245
|
"icon-type": "fas",
|
|
6246
6246
|
onClickEvent: (e) => _(u),
|
|
6247
6247
|
secondary: ""
|
|
6248
|
-
}, null, 8, ["onClickEvent"])])) : d("", !0)])) : d("", !0), n.id ? (b(), m("div",
|
|
6248
|
+
}, null, 8, ["onClickEvent"])])) : d("", !0)])) : d("", !0), n.id ? (b(), m("div", dn, [(b(!0), m(a, null, w(e.room.rates, ({ id: u, maximumOccupants: f }) => (b(), m("div", {
|
|
6249
6249
|
key: u,
|
|
6250
6250
|
class: "konnectio-listing-action-selective-i"
|
|
6251
6251
|
}, [n.id === u ? (b(!0), m(a, { key: 0 }, w(n.config, (a, d) => (b(), m("div", {
|
|
6252
6252
|
key: d,
|
|
6253
6253
|
class: "konnectio-listing-action-selective"
|
|
6254
|
-
}, [T("ul",
|
|
6254
|
+
}, [T("ul", fn, [l(rn, {
|
|
6255
6255
|
modelValue: a.id,
|
|
6256
6256
|
"onUpdate:modelValue": (e) => a.id = e,
|
|
6257
6257
|
icon: "male",
|
|
@@ -6267,13 +6267,13 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6267
6267
|
"description",
|
|
6268
6268
|
"options",
|
|
6269
6269
|
"readonly"
|
|
6270
|
-
])]), j.value ? (b(), m("div",
|
|
6270
|
+
])]), j.value ? (b(), m("div", mn, [l(Pe, {
|
|
6271
6271
|
onClickEvent: i,
|
|
6272
6272
|
label: r(s)("hotel.selectRoomOnMap"),
|
|
6273
6273
|
secondary: "",
|
|
6274
6274
|
"full-width": "",
|
|
6275
6275
|
disabled: r(D)
|
|
6276
|
-
}, null, 8, ["label", "disabled"]), l(
|
|
6276
|
+
}, null, 8, ["label", "disabled"]), l(cn, {
|
|
6277
6277
|
modelValue: t.value,
|
|
6278
6278
|
"onUpdate:modelValue": c[0] ||= (e) => t.value = e,
|
|
6279
6279
|
"room-list": e.room.roomList,
|
|
@@ -6285,7 +6285,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6285
6285
|
"room-list",
|
|
6286
6286
|
"config",
|
|
6287
6287
|
"onUpdate:config"
|
|
6288
|
-
])])) : (b(), m("ul",
|
|
6288
|
+
])])) : (b(), m("ul", pn, [l(je, {
|
|
6289
6289
|
modelValue: a.units,
|
|
6290
6290
|
"onUpdate:modelValue": (e) => a.units = e,
|
|
6291
6291
|
description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${N(n.id, a.id)}`,
|
|
@@ -6318,7 +6318,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6318
6318
|
"includes-breakfast"
|
|
6319
6319
|
]));
|
|
6320
6320
|
}
|
|
6321
|
-
}), [["__scopeId", "data-v-c7b61560"]]),
|
|
6321
|
+
}), [["__scopeId", "data-v-c7b61560"]]), Q = { class: "konnectio-template-side-panel" }, gn = { class: "konnectio-template-side-panel-listings" }, _n = { class: "konnectio-template-room-config" }, vn = { class: "konnectio-template-room-units" }, yn = { class: "konnectio-template-room-unit-header" }, bn = { class: "konnectio-template-footer" }, xn = {
|
|
6322
6322
|
key: 0,
|
|
6323
6323
|
class: "konnectio-template-selection-preview"
|
|
6324
6324
|
}, Sn = { class: "konnectio-template-selection-item-header" }, Cn = { class: "konnectio-template-selection-item-name" }, wn = { class: "konnectio-template-selection-item-price" }, Tn = { class: "konnectio-template-selection-item-units" }, En = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
@@ -6455,27 +6455,27 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6455
6455
|
}
|
|
6456
6456
|
M.callback(2);
|
|
6457
6457
|
}
|
|
6458
|
-
return (n, i) => (b(), u(
|
|
6458
|
+
return (n, i) => (b(), u(Ve, {
|
|
6459
6459
|
title: e.title,
|
|
6460
6460
|
subtitle: r(t)("booking.availability.selectATemplateRoom")
|
|
6461
6461
|
}, {
|
|
6462
6462
|
footer: S(() => [T("div", bn, [be.value.length > 0 ? (b(), m("div", xn, [(b(!0), m(a, null, w(be.value, (e) => (b(), m("div", {
|
|
6463
6463
|
key: e.id,
|
|
6464
6464
|
class: "konnectio-template-selection-item"
|
|
6465
|
-
}, [T("div", Sn, [T("span", Cn, h(e.title), 1), T("span", wn, h(r(
|
|
6465
|
+
}, [T("div", Sn, [T("span", Cn, h(e.title), 1), T("span", wn, h(r(Ne)(e.totalPrice, r(ie))), 1)]), T("div", Tn, [(b(!0), m(a, null, w(e.units, (e, n) => (b(), m("span", {
|
|
6466
6466
|
key: n,
|
|
6467
6467
|
class: "konnectio-template-selection-unit"
|
|
6468
6468
|
}, [
|
|
6469
6469
|
s(h(r(t)("booking.reservation.room")) + " " + h(n + 1) + ": " + h(e.adults) + " " + h(r(t)("availability.adults")) + " ", 1),
|
|
6470
6470
|
e.children > 0 ? (b(), m(a, { key: 0 }, [s(" , " + h(e.children) + " " + h(r(t)("availability.children")), 1)], 64)) : d("", !0),
|
|
6471
|
-
s(" · " + h(r(
|
|
6472
|
-
]))), 128))])]))), 128))])) : d("", !0), l(
|
|
6471
|
+
s(" · " + h(r(Ne)(e.price, r(ie))), 1)
|
|
6472
|
+
]))), 128))])]))), 128))])) : d("", !0), l(Pe, {
|
|
6473
6473
|
onClickEvent: xe,
|
|
6474
|
-
label: `${ve() > 1 ? r(t)("booking.availability.selectTheseRooms") : r(t)("booking.availability.selectThisRoom")} (${r(
|
|
6474
|
+
label: `${ve() > 1 ? r(t)("booking.availability.selectTheseRooms") : r(t)("booking.availability.selectThisRoom")} (${r(Ne)(B(), r(ie))})`,
|
|
6475
6475
|
disabled: ve() === 0,
|
|
6476
6476
|
"full-width": ""
|
|
6477
6477
|
}, null, 8, ["label", "disabled"])])]),
|
|
6478
|
-
default: S(() => [T("div",
|
|
6478
|
+
default: S(() => [T("div", Q, [T("div", gn, [(b(!0), m(a, null, w(z.value, (e) => (b(), u(Ze, {
|
|
6479
6479
|
key: e.id,
|
|
6480
6480
|
type: "hotel",
|
|
6481
6481
|
"listing-id": e.id,
|
|
@@ -6505,7 +6505,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6505
6505
|
])]), (b(!0), m(a, null, w(R[e.id].configs, (n, i) => (b(), m("div", {
|
|
6506
6506
|
key: i,
|
|
6507
6507
|
class: "konnectio-template-room-unit-config"
|
|
6508
|
-
}, [T("div", yn, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(
|
|
6508
|
+
}, [T("div", yn, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(Ne)(_e(e.id, i), r(ie))), 1)]), T("div", { class: E(["konnectio-template-room-guests", { "only-adult-guests": !r(k)(r(c)) }]) }, [l(je, {
|
|
6509
6509
|
modelValue: n.adults,
|
|
6510
6510
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6511
6511
|
label: r(t)("availability.adults"),
|
|
@@ -6573,7 +6573,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6573
6573
|
function d(e) {
|
|
6574
6574
|
i.callback(e), s.value = !1;
|
|
6575
6575
|
}
|
|
6576
|
-
return (n, i) => (b(), u(
|
|
6576
|
+
return (n, i) => (b(), u(Ze, {
|
|
6577
6577
|
type: "template",
|
|
6578
6578
|
"listing-id": e.id,
|
|
6579
6579
|
name: e.name,
|
|
@@ -6584,7 +6584,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6584
6584
|
"hide-info-button": !1,
|
|
6585
6585
|
"prices-from": o.value
|
|
6586
6586
|
}, {
|
|
6587
|
-
action: S(() => [T("div", Dn, [l(
|
|
6587
|
+
action: S(() => [T("div", Dn, [l(Pe, {
|
|
6588
6588
|
onClickEvent: c,
|
|
6589
6589
|
label: r(t)("booking.availability.selectPackage"),
|
|
6590
6590
|
"full-width": "",
|
|
@@ -6630,7 +6630,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6630
6630
|
roomGroups: {}
|
|
6631
6631
|
},
|
|
6632
6632
|
setup(e) {
|
|
6633
|
-
let { t } = v(), { updateDates: i } = oe(), { display: a } = me(), o = e, s = I([]), c = n(() =>
|
|
6633
|
+
let { t } = v(), { updateDates: i } = oe(), { display: a } = me(), o = e, s = I([]), c = n(() => Fe(o.fromDate, o.toDate) === 1);
|
|
6634
6634
|
function d() {
|
|
6635
6635
|
s.value.length > 0 ? i(s.value[0], s.value[1]) : a({
|
|
6636
6636
|
message: t("alert.error.selectDates"),
|
|
@@ -6639,7 +6639,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6639
6639
|
}
|
|
6640
6640
|
return g(() => {
|
|
6641
6641
|
c.value && (s.value = [new Date(o.fromDate), new Date(o.toDate)]);
|
|
6642
|
-
}), (n, i) => (b(), u(
|
|
6642
|
+
}), (n, i) => (b(), u(Ze, {
|
|
6643
6643
|
type: "template",
|
|
6644
6644
|
"listing-id": e.id,
|
|
6645
6645
|
name: e.name,
|
|
@@ -6652,7 +6652,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6652
6652
|
"from-date": e.fromDate,
|
|
6653
6653
|
"disable-deep-link": !0
|
|
6654
6654
|
}, {
|
|
6655
|
-
action: S(() => [T("div", kn, [l(
|
|
6655
|
+
action: S(() => [T("div", kn, [l(We, {
|
|
6656
6656
|
modelValue: s.value,
|
|
6657
6657
|
"onUpdate:modelValue": i[0] ||= (e) => s.value = e,
|
|
6658
6658
|
label: r(t)("availability.checkInOut"),
|
|
@@ -6673,7 +6673,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6673
6673
|
"min-date",
|
|
6674
6674
|
"max-date",
|
|
6675
6675
|
"readonly"
|
|
6676
|
-
]), T("div", An, [l(
|
|
6676
|
+
]), T("div", An, [l(Pe, {
|
|
6677
6677
|
label: r(t)("availability.buttonLabel"),
|
|
6678
6678
|
onClick: F(d, ["prevent"])
|
|
6679
6679
|
}, null, 8, ["label"])])])]),
|
|
@@ -6713,7 +6713,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6713
6713
|
let a = I(r.modelValue);
|
|
6714
6714
|
return ae(a, (e) => {
|
|
6715
6715
|
i(e);
|
|
6716
|
-
}), (t, n) => (b(), u(
|
|
6716
|
+
}), (t, n) => (b(), u(We, {
|
|
6717
6717
|
modelValue: a.value,
|
|
6718
6718
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
6719
6719
|
type: "time",
|
|
@@ -6931,7 +6931,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6931
6931
|
}), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, Ln = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, zn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6932
6932
|
__name: "HotelSkeleton",
|
|
6933
6933
|
setup(e) {
|
|
6934
|
-
return (e, t) => (b(), m("div", In, [T("div", Ln, [l(
|
|
6934
|
+
return (e, t) => (b(), m("div", In, [T("div", Ln, [l(Ge, { hotel: "" }), l(Qe)]), T("div", Rn, [l($e)])]));
|
|
6935
6935
|
}
|
|
6936
6936
|
}), [["__scopeId", "data-v-2ff36444"]]), Bn = { id: "booking-availability-container" }, Vn = { id: "booking-availability-controls" }, Hn = {
|
|
6937
6937
|
key: 0,
|
|
@@ -6974,50 +6974,54 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6974
6974
|
class: "konnectio-panel"
|
|
6975
6975
|
}, gr = {
|
|
6976
6976
|
key: 6,
|
|
6977
|
+
id: "booking-availability-fetch-failed",
|
|
6977
6978
|
class: "konnectio-panel"
|
|
6978
6979
|
}, _r = {
|
|
6979
6980
|
key: 7,
|
|
6981
|
+
class: "konnectio-panel"
|
|
6982
|
+
}, vr = {
|
|
6983
|
+
key: 8,
|
|
6980
6984
|
class: "konnectio-listing-loading"
|
|
6981
|
-
},
|
|
6985
|
+
}, yr = { class: "konnectio-hotel-availability-warning" }, br = { class: "konnectio-hotel-availability-warning" }, xr = { class: "konnectio-panel" }, Sr = {
|
|
6982
6986
|
key: 0,
|
|
6983
6987
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6984
|
-
},
|
|
6988
|
+
}, Cr = ["innerHTML"], wr = {
|
|
6985
6989
|
key: 0,
|
|
6986
6990
|
id: "konnectio-hotel-addons"
|
|
6987
|
-
},
|
|
6991
|
+
}, Tr = { key: 0 }, Er = {
|
|
6988
6992
|
key: 0,
|
|
6989
6993
|
class: "konnectio-addons-included"
|
|
6990
|
-
},
|
|
6994
|
+
}, Dr = ["innerHTML"], Or = {
|
|
6991
6995
|
key: 1,
|
|
6992
6996
|
class: "konnectio-table with-lines without-header"
|
|
6993
|
-
},
|
|
6997
|
+
}, kr = { class: "konnectio-event-addons-price" }, Ar = { key: 1 }, jr = {
|
|
6994
6998
|
key: 0,
|
|
6995
6999
|
class: "konnectio-table-addons-image"
|
|
6996
|
-
},
|
|
7000
|
+
}, Mr = ["innerHTML"], Nr = { class: "konnectio-table-addons-option" }, Pr = {
|
|
6997
7001
|
key: 1,
|
|
6998
7002
|
id: "konnectio-hotel-addons"
|
|
6999
|
-
},
|
|
7003
|
+
}, Fr = {
|
|
7000
7004
|
key: 0,
|
|
7001
7005
|
class: "konnectio-addons-included"
|
|
7002
|
-
},
|
|
7006
|
+
}, Ir = ["innerHTML"], Lr = {
|
|
7003
7007
|
key: 1,
|
|
7004
7008
|
class: "konnectio-table with-lines without-header"
|
|
7005
|
-
},
|
|
7009
|
+
}, Rr = {
|
|
7006
7010
|
key: 0,
|
|
7007
7011
|
class: "konnectio-hotel-reservation-room-name"
|
|
7008
|
-
},
|
|
7012
|
+
}, zr = {
|
|
7009
7013
|
key: 0,
|
|
7010
7014
|
class: "konnectio-table-addons-image"
|
|
7011
|
-
},
|
|
7015
|
+
}, Br = ["innerHTML"], Vr = { class: "konnectio-table-addons-option" }, Hr = { class: "konnectio-panel" }, Ur = {
|
|
7012
7016
|
key: 0,
|
|
7013
7017
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
7014
|
-
},
|
|
7018
|
+
}, Wr = ["innerHTML"], Gr = { key: 0 }, Kr = { key: 1 }, qr = {
|
|
7015
7019
|
key: 3,
|
|
7016
7020
|
class: "konnectio-show-on-mobile"
|
|
7017
|
-
},
|
|
7021
|
+
}, Jr = { class: "konnectio-split-inputs" }, Yr = {
|
|
7018
7022
|
key: 0,
|
|
7019
7023
|
class: "konnectio-hotel-member-card-mockup"
|
|
7020
|
-
},
|
|
7024
|
+
}, Xr = ["src"], Zr = { class: "konnectio-hotel-member-card-details" }, Qr = { key: 0 }, $r = { key: 0 }, ei = /*@__PURE__*/ R({
|
|
7021
7025
|
name: "HotelLayout",
|
|
7022
7026
|
__name: "Hotel",
|
|
7023
7027
|
props: {
|
|
@@ -7040,39 +7044,39 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7040
7044
|
styling: {}
|
|
7041
7045
|
},
|
|
7042
7046
|
setup(e) {
|
|
7043
|
-
let t = _(() => import("./_-
|
|
7047
|
+
let t = _(() => import("./_-DY1GJjiW.js").then((e) => e.n)), o = e, { t: c } = v(), f = he();
|
|
7044
7048
|
f.requireDealCode = o.requireDealCode === "yes";
|
|
7045
|
-
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: re, countries: ie, areListingsLoading: D, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: fe, postal: B, city: ye, address: xe, country: Se, remark: Ce, allergies: we, roomSelect: De, roomDisplay: Me, hasValidRoomSelection:
|
|
7046
|
-
|
|
7047
|
-
let
|
|
7048
|
-
|
|
7049
|
-
function
|
|
7050
|
-
|
|
7051
|
-
}
|
|
7052
|
-
function
|
|
7053
|
-
return
|
|
7054
|
-
}
|
|
7055
|
-
let
|
|
7056
|
-
if (
|
|
7049
|
+
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: re, countries: ie, areListingsLoading: D, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: fe, postal: B, city: ye, address: xe, country: Se, remark: Ce, allergies: we, roomSelect: De, roomDisplay: Me, hasValidRoomSelection: Fe, availabilityData: Ve, availabilityFetchFailed: We, selectionHasNoAddons: Ge, isAvailabilityDataAvailable: qe, getSelectedPackageRooms: H, selectedPackage: Je, isSearchOutdated: Ze, isTemplateReservation: Qe, newsMails: $e, adultsMismatch: nt, childrenMismatch: rt, totalAdults: it, totalChildren: at, hasGuestDiscountId: ot, hasGuestDiscountCode: st, guestDiscountId: ct, guestDiscountName: lt, guestDiscountCode: ut, hasMemberCards: dt, memberCardList: ft, selectedMemberCard: pt, memberCardControlNumber: mt, memberCardNumber: ht, selectedMemberCardObject: gt, selectedMemberCardData: _t, discountCode: vt, appliedDiscountCode: U, discountPayload: W, dealResolved: yt, dealNoAvailability: bt } = C(f), { isHostedCheckoutActive: xt } = C(Oe()), { adults: St, children: K, location: Ct, arrivalDate: wt, departureDate: Tt, hasHotelLocations: Et } = C(oe()), { isValidHotelId: Dt, updateDates: Ot } = oe(), { currency: q, enableTracking: kt, disableNamePrefix: At, disableTravelingFor: jt, disableTravelingForBleasure: Mt, disableCompanyField: Nt, hasPaymentGateway: Pt, maxAdultAmount: Ft, maxChildAmount: It, defaultAdultAmount: Lt, defaultChildAmount: Rt, disableNewsletterSignup: zt, requireEmailConfirmation: Bt, hasActiveIdFilter: Vt, hotelSettings: Ht } = C(ce()), { hasArrivalDepartureInputs: J, hasUserArrivalSelection: Ut, hasUserDepartureSelection: Wt, earliestArrivalTime: Gt, latestArrivalTime: Kt, earliestDepartureTime: Jt, latestDepartureTime: Yt, hasSharedAddonSelection: Xt, setActiveIdFilter: Zt, clearActiveIdFilter: Qt } = ce(), { beginCheckout: $t } = se(), { display: en } = me(), { createReservation: tn, fetchMetadata: nn, fetchAvailabilityData: rn, filterAddons: an, hasAvailableRoomAddons: Z, checkGuestDiscount: on, setGuestDiscountCode: sn, validateMemberCard: cn, onOverviewReset: ln, resetDealFlow: un, validateDiscountCode: dn, reservationPayload: fn } = he();
|
|
7050
|
+
ze.useHttpClient(He(ve()));
|
|
7051
|
+
let pn = Le("post", "/hotel/create-reservation", fn());
|
|
7052
|
+
pn.setValidationTimeout(600);
|
|
7053
|
+
function mn(e) {
|
|
7054
|
+
pn.setData(fn()), pn.validate(e);
|
|
7055
|
+
}
|
|
7056
|
+
function Q(e) {
|
|
7057
|
+
return pn.errors[e];
|
|
7058
|
+
}
|
|
7059
|
+
let gn = n(() => {
|
|
7060
|
+
if (Bt.value && R.value !== "" && R.value !== I.value) return c("booking.reservation.confirmEmailError");
|
|
7057
7061
|
});
|
|
7058
|
-
ae(P, () =>
|
|
7059
|
-
let
|
|
7060
|
-
function vn(e, t) {
|
|
7061
|
-
return nn(e, t ?? 0).filter((e) => e.cardinality === ke.Mandatory);
|
|
7062
|
-
}
|
|
7062
|
+
ae(P, () => mn("guest.name")), ae(I, () => mn("guest.email")), ae(z, () => mn("guest.phone")), ae(Se, () => mn("guest.country")), ae(xe, () => mn("guest.address1")), ae(B, () => mn("guest.postal")), ae(ye, () => mn("guest.city"));
|
|
7063
|
+
let _n = n(() => o.sortOrder === "desc"), vn = n(() => o.requireDiscountCode === "yes" && !st.value || o.requireDealCode === "yes" && !yt.value);
|
|
7063
7064
|
function yn(e, t) {
|
|
7064
|
-
return
|
|
7065
|
+
return an(e, t ?? 0).filter((e) => e.cardinality === ke.Mandatory);
|
|
7065
7066
|
}
|
|
7066
|
-
function bn(e) {
|
|
7067
|
+
function bn(e, t) {
|
|
7068
|
+
return an(e, t ?? 0).filter((e) => e.cardinality !== ke.Mandatory);
|
|
7069
|
+
}
|
|
7070
|
+
function xn(e) {
|
|
7067
7071
|
let t = [];
|
|
7068
|
-
return
|
|
7072
|
+
return Xt(p.value) ? (e?.forEach((e) => {
|
|
7069
7073
|
let n = t.find((t) => t.configIdx === e.configIdx);
|
|
7070
7074
|
n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
|
|
7071
7075
|
}), t) : e ?? [];
|
|
7072
7076
|
}
|
|
7073
|
-
let
|
|
7077
|
+
let Sn = n(() => {
|
|
7074
7078
|
let e = [];
|
|
7075
|
-
return
|
|
7079
|
+
return Xt(p.value) ? re.value.forEach((t) => {
|
|
7076
7080
|
let n = e.find((e) => e.roomGroupId === t.roomGroupId);
|
|
7077
7081
|
n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
|
|
7078
7082
|
}) : re.value.forEach((t, n) => {
|
|
@@ -7082,7 +7086,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7082
7086
|
unitTotal: re.value.filter((e) => e.roomGroupId === t.roomGroupId).length
|
|
7083
7087
|
});
|
|
7084
7088
|
}), e;
|
|
7085
|
-
}),
|
|
7089
|
+
}), Cn = n(() => [
|
|
7086
7090
|
{
|
|
7087
7091
|
id: "availability",
|
|
7088
7092
|
label: c("booking.availability.title"),
|
|
@@ -7107,7 +7111,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7107
7111
|
label: c("booking.confirmation.title"),
|
|
7108
7112
|
icon: "calendar-check"
|
|
7109
7113
|
}
|
|
7110
|
-
]),
|
|
7114
|
+
]), wn = n(() => {
|
|
7111
7115
|
let e = [{
|
|
7112
7116
|
label: c("booking.reservation.business"),
|
|
7113
7117
|
value: "Business"
|
|
@@ -7115,150 +7119,150 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7115
7119
|
label: c("booking.reservation.pleasure"),
|
|
7116
7120
|
value: "Pleasure"
|
|
7117
7121
|
}];
|
|
7118
|
-
return
|
|
7122
|
+
return Mt.value || e.push({
|
|
7119
7123
|
label: c("booking.reservation.bleasure"),
|
|
7120
7124
|
value: "Bleasure"
|
|
7121
7125
|
}), e;
|
|
7122
|
-
}),
|
|
7123
|
-
let e =
|
|
7126
|
+
}), Tn = n(() => {
|
|
7127
|
+
let e = Ve.value.roomGroups.slice();
|
|
7124
7128
|
function t(e, t) {
|
|
7125
|
-
return
|
|
7129
|
+
return _n.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
7126
7130
|
}
|
|
7127
7131
|
return o.sortBy === "price" && (e = e.sort(t)), e.reduce((e, t) => {
|
|
7128
7132
|
let n = t.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms";
|
|
7129
7133
|
return (e[n] ??= []).push(t), e;
|
|
7130
7134
|
}, {});
|
|
7131
7135
|
});
|
|
7132
|
-
function
|
|
7136
|
+
function En(e) {
|
|
7133
7137
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7134
7138
|
}
|
|
7135
|
-
let
|
|
7136
|
-
let e =
|
|
7139
|
+
let Dn = n(() => {
|
|
7140
|
+
let e = Ve.value.templates.slice();
|
|
7137
7141
|
return o.sortBy === "price" && e.sort((e, t) => {
|
|
7138
|
-
let n =
|
|
7139
|
-
return
|
|
7142
|
+
let n = En(e), r = En(t);
|
|
7143
|
+
return _n.value ? r - n : n - r;
|
|
7140
7144
|
}), e;
|
|
7141
|
-
}),
|
|
7142
|
-
let e =
|
|
7145
|
+
}), kn = n(() => {
|
|
7146
|
+
let e = Ve.value.specialTemplates.slice();
|
|
7143
7147
|
return o.sortBy === "price" && e.sort((e, t) => {
|
|
7144
|
-
let n =
|
|
7145
|
-
return
|
|
7148
|
+
let n = En(e), r = En(t);
|
|
7149
|
+
return _n.value ? r - n : n - r;
|
|
7146
7150
|
}), e;
|
|
7147
|
-
}),
|
|
7148
|
-
function
|
|
7151
|
+
}), An = n(() => o.hideAddons === "yes" || Qe.value && o.hideAddons === "packages" || !Qe.value && o.hideAddons === "rooms");
|
|
7152
|
+
function Nn(e) {
|
|
7149
7153
|
let t = $.discount;
|
|
7150
7154
|
if (o.requireDealCode === "yes") {
|
|
7151
7155
|
e();
|
|
7152
7156
|
return;
|
|
7153
7157
|
}
|
|
7154
|
-
t && t !==
|
|
7158
|
+
t && t !== U.value ? (vt.value = t, dn()) : st.value && !W.value && ut.value !== U.value && (vt.value = ut.value, dn()), e();
|
|
7155
7159
|
}
|
|
7156
|
-
function
|
|
7157
|
-
|
|
7160
|
+
function In(e) {
|
|
7161
|
+
An.value || Ge.value ? e(2) : e();
|
|
7158
7162
|
}
|
|
7159
|
-
async function
|
|
7160
|
-
let n = await
|
|
7161
|
-
n &&
|
|
7163
|
+
async function Ln(e, t) {
|
|
7164
|
+
let n = await tn(e, t);
|
|
7165
|
+
n && pn.setErrors(n);
|
|
7162
7166
|
}
|
|
7163
|
-
function
|
|
7164
|
-
if ((
|
|
7165
|
-
|
|
7167
|
+
function Rn() {
|
|
7168
|
+
if ((Ct.value === void 0 || isNaN(Ct.value)) && Et.value) {
|
|
7169
|
+
en({
|
|
7166
7170
|
message: c("alert.error.selectHotelId"),
|
|
7167
7171
|
type: "error"
|
|
7168
7172
|
});
|
|
7169
7173
|
return;
|
|
7170
7174
|
}
|
|
7171
|
-
|
|
7175
|
+
rn();
|
|
7172
7176
|
}
|
|
7173
|
-
function
|
|
7177
|
+
function ei() {
|
|
7174
7178
|
let e = x("history", { removeNullishValues: !0 });
|
|
7175
|
-
|
|
7179
|
+
Qt(), e.id = void 0, rn();
|
|
7176
7180
|
}
|
|
7177
|
-
function
|
|
7178
|
-
|
|
7181
|
+
function ti(e) {
|
|
7182
|
+
kt.value && $t(), o.requireDealCode !== "yes" && st.value && !W.value && ut.value !== U.value && (vt.value = ut.value, dn()), An.value || Ge.value ? e(2) : e();
|
|
7179
7183
|
}
|
|
7180
|
-
function
|
|
7181
|
-
let e =
|
|
7182
|
-
o.forceArrivalTime && o.forceDepartureTime && e !== void 0 &&
|
|
7184
|
+
function ni() {
|
|
7185
|
+
let e = Ct.value;
|
|
7186
|
+
o.forceArrivalTime && o.forceDepartureTime && e !== void 0 && Ht.value[e] && (Ht.value[e].disableArrivalUserSelection = !0, o.forceArrivalTime && (Ht.value[e].arrivalDefault = o.forceArrivalTime), o.forceDepartureTime && (Ht.value[e].departureDefault = o.forceDepartureTime));
|
|
7183
7187
|
}
|
|
7184
7188
|
let $ = x("history", { removeNullishValues: !0 });
|
|
7185
|
-
async function
|
|
7186
|
-
|
|
7189
|
+
async function ri() {
|
|
7190
|
+
ni();
|
|
7187
7191
|
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;
|
|
7188
|
-
if (isNaN(e) || (e >
|
|
7192
|
+
if (isNaN(e) || (e > Ft.value ? St.value = Ft.value : St.value = e, St.value === Lt.value && ($.a = void 0)), isNaN(t) || (t > It.value ? K.value = It.value : K.value = t, K.value === Rt.value && ($.c = void 0)), isNaN(r) || r > 0 && ($.n = void 0), isNaN(n) || (Dt(n) ? (Ct.value = n, d = !0) : ($.hid = void 0, en({
|
|
7189
7193
|
message: c("alert.error.hotelIdNotFound"),
|
|
7190
7194
|
type: "error"
|
|
7191
7195
|
}))), i && a) {
|
|
7192
7196
|
if (de(i) && de(a)) {
|
|
7193
7197
|
let e = new Date(be(i).setHours(12, 0, 0, 0)), t = new Date(be(a).setHours(12, 0, 0, 0));
|
|
7194
|
-
e <= t ? (
|
|
7198
|
+
e <= t ? (wt.value = e, Tt.value = t) : ($.ci = void 0, $.co = void 0, en({
|
|
7195
7199
|
message: c("alert.error.invalidDateRange"),
|
|
7196
7200
|
type: "error"
|
|
7197
7201
|
}));
|
|
7198
|
-
} else
|
|
7202
|
+
} else en({
|
|
7199
7203
|
message: c("alert.error.wrongDateFormat"),
|
|
7200
7204
|
type: "error"
|
|
7201
7205
|
});
|
|
7202
7206
|
}
|
|
7203
|
-
if (s &&
|
|
7204
|
-
await
|
|
7207
|
+
if (s && Zt(s), l) {
|
|
7208
|
+
await on(l) || delete $.gid;
|
|
7205
7209
|
return;
|
|
7206
7210
|
}
|
|
7207
|
-
u &&
|
|
7211
|
+
u && sn(u), o.disableDefaultLocation === "yes" && d === !1 ? (Ct.value = void 0, p.value = NaN) : rn();
|
|
7208
7212
|
}
|
|
7209
7213
|
return (n, o) => (b(), u(Te, { styling: e.styling }, {
|
|
7210
|
-
default: S(() => [(b(), u(i, { onResolve:
|
|
7214
|
+
default: S(() => [(b(), u(i, { onResolve: ri }, {
|
|
7211
7215
|
default: S(() => [l(r(t), {
|
|
7212
7216
|
id: "konnectio-hotel-module",
|
|
7213
7217
|
"access-token": e.accessToken,
|
|
7214
|
-
callback: r(
|
|
7218
|
+
callback: r(nn)
|
|
7215
7219
|
}, {
|
|
7216
7220
|
default: S(() => [
|
|
7217
|
-
ne(l(
|
|
7218
|
-
ne(l(
|
|
7219
|
-
ne(l(
|
|
7221
|
+
ne(l(qt, { onCallback: ri }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !r(ot)]]),
|
|
7222
|
+
ne(l(X, null, null, 512), [[ee, vn.value]]),
|
|
7223
|
+
ne(l(tt, {
|
|
7220
7224
|
layout: e.headerLayout,
|
|
7221
|
-
steps:
|
|
7222
|
-
onReset: r(
|
|
7225
|
+
steps: Cn.value,
|
|
7226
|
+
onReset: r(ln)
|
|
7223
7227
|
}, {
|
|
7224
|
-
availability: S(({ next: t }) => [l(
|
|
7228
|
+
availability: S(({ next: t }) => [l(Y, {
|
|
7225
7229
|
"show-remove-room": !0,
|
|
7226
7230
|
"availability-discount": "",
|
|
7227
7231
|
"deal-flow": e.requireDealCode === "yes"
|
|
7228
7232
|
}, {
|
|
7229
7233
|
form: S(() => [T("div", Bn, [
|
|
7230
|
-
T("div", Vn, [l(
|
|
7234
|
+
T("div", Vn, [l(Ke, {
|
|
7231
7235
|
booking: !0,
|
|
7232
7236
|
"selected-location": Number(e.selectedLocation),
|
|
7233
7237
|
"disable-default-location": e.disableDefaultLocation === "yes",
|
|
7234
|
-
"hide-locations": e.hideLocations === "yes" || r(
|
|
7238
|
+
"hide-locations": e.hideLocations === "yes" || r(yt)
|
|
7235
7239
|
}, null, 8, [
|
|
7236
7240
|
"selected-location",
|
|
7237
7241
|
"disable-default-location",
|
|
7238
7242
|
"hide-locations"
|
|
7239
7243
|
])]),
|
|
7240
|
-
r(
|
|
7244
|
+
r(bt) ? (b(), m("div", Hn, [
|
|
7241
7245
|
T("h3", null, h(r(c)("dealCode.noAvailabilityTitle")), 1),
|
|
7242
7246
|
T("p", null, h(r(c)("dealCode.noAvailabilityBody")), 1),
|
|
7243
|
-
l(
|
|
7247
|
+
l(Pe, {
|
|
7244
7248
|
label: r(c)("dealCode.tryAnotherCode"),
|
|
7245
7249
|
secondary: "",
|
|
7246
|
-
onClickEvent: r(
|
|
7250
|
+
onClickEvent: r(un)
|
|
7247
7251
|
}, null, 8, ["label", "onClickEvent"])
|
|
7248
7252
|
])) : d("", !0),
|
|
7249
|
-
r(
|
|
7250
|
-
r(
|
|
7251
|
-
r(
|
|
7253
|
+
r(ot) ? (b(), m("div", Un, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(lt) ? r(lt) : r(ct)}</b>` }) }, null, 8, Wn)])) : d("", !0),
|
|
7254
|
+
r(st) && !r(yt) ? (b(), m("div", Gn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(ut)}</b>` }) }, null, 8, Kn)])) : d("", !0),
|
|
7255
|
+
r(Vt) ? (b(), m("div", qn, [T("span", null, [s(h(r(c)("general.filteredListingNotice")) + " ", 1), T("button", {
|
|
7252
7256
|
class: "link",
|
|
7253
|
-
onClick: o[0] ||= (e) =>
|
|
7257
|
+
onClick: o[0] ||= (e) => ei()
|
|
7254
7258
|
}, h(r(c)("general.filteredListingShowAll")), 1)])])) : d("", !0),
|
|
7255
7259
|
d("", !0),
|
|
7256
|
-
!r(D) && r(
|
|
7257
|
-
r(
|
|
7260
|
+
!r(D) && r(qe) ? (b(), m("div", Jn, [Tn.value.camping && Tn.value.camping.length > 0 && e.onlyShow !== "non-camping" || Tn.value.rooms && Tn.value.rooms.length > 0 || r(Ve).templates.length > 0 || r(Ve).specialTemplates.length > 0 && !r(Vt) ? (b(), m("div", Yn, [
|
|
7261
|
+
r(Ve).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div", Xn, [e.onlyShow !== "packages" && !r(yt) ? (b(), m("h2", Zn, [l(V, {
|
|
7258
7262
|
icon: "box",
|
|
7259
7263
|
type: "fal",
|
|
7260
7264
|
color: "header"
|
|
7261
|
-
}), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])) : d("", !0), T("ul", Qn, [(b(!0), m(a, null, w(
|
|
7265
|
+
}), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])) : d("", !0), T("ul", Qn, [(b(!0), m(a, null, w(Dn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), u(On, {
|
|
7262
7266
|
key: n,
|
|
7263
7267
|
id: n,
|
|
7264
7268
|
description: o,
|
|
@@ -7278,28 +7282,28 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7278
7282
|
"callback",
|
|
7279
7283
|
"hide-addons"
|
|
7280
7284
|
]))), 128))])])) : d("", !0),
|
|
7281
|
-
r(
|
|
7285
|
+
r(Ve).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div", $n, [Tn.value.rooms && e.onlyShow !== "camping" ? (b(), m(a, { key: 0 }, [r(Ve).templates.length > 0 && e.onlyShow !== "rooms" && !r(yt) ? (b(), m("h2", er, [l(V, {
|
|
7282
7286
|
icon: "house",
|
|
7283
7287
|
type: "fal",
|
|
7284
7288
|
color: "header"
|
|
7285
|
-
}), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul", tr, [(b(!0), m(a, null, w(
|
|
7289
|
+
}), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul", tr, [(b(!0), m(a, null, w(Tn.value.rooms, (e, n) => (b(), u(hn, {
|
|
7286
7290
|
room: e,
|
|
7287
7291
|
key: n,
|
|
7288
7292
|
callback: t
|
|
7289
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0),
|
|
7293
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0), Tn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), m(a, { key: 1 }, [r(Ve).templates.length > 0 && e.onlyShow !== "camping" && !r(yt) ? (b(), m("h2", nr, [l(V, {
|
|
7290
7294
|
icon: "map-location-dot",
|
|
7291
7295
|
type: "fal",
|
|
7292
7296
|
color: "header"
|
|
7293
|
-
}), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul", rr, [(b(!0), m(a, null, w(
|
|
7297
|
+
}), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul", rr, [(b(!0), m(a, null, w(Tn.value.camping, (e, n) => (b(), u(hn, {
|
|
7294
7298
|
room: e,
|
|
7295
7299
|
key: n,
|
|
7296
7300
|
callback: t
|
|
7297
7301
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0)])) : d("", !0),
|
|
7298
|
-
r(
|
|
7302
|
+
r(Vt) ? d("", !0) : (b(), m(a, { key: 2 }, [r(Ve).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("div", ir, [T("h2", ar, [l(V, {
|
|
7299
7303
|
icon: "sparkles",
|
|
7300
7304
|
type: "fal",
|
|
7301
7305
|
color: "header"
|
|
7302
|
-
}), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul", or, [(b(!0), m(a, null, w(
|
|
7306
|
+
}), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul", or, [(b(!0), m(a, null, w(kn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), u(jn, {
|
|
7303
7307
|
key: e,
|
|
7304
7308
|
id: e,
|
|
7305
7309
|
description: i,
|
|
@@ -7319,122 +7323,126 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7319
7323
|
"weekendFee",
|
|
7320
7324
|
"room-groups"
|
|
7321
7325
|
]))), 128))])])) : d("", !0)], 64)),
|
|
7322
|
-
(r(
|
|
7323
|
-
])) : r(
|
|
7326
|
+
(r(Ve).templates.length === 0 && e.onlyShow !== "rooms" || r(Ve).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div", sr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)])) : d("", !0)
|
|
7327
|
+
])) : r(Ve).nextAvailableDates.length > 0 ? (b(), m("div", cr, [
|
|
7324
7328
|
T("div", lr, [T("span", { innerHTML: r(c)("hotel.everyRoomIsBooked") }, null, 8, ur)]),
|
|
7325
|
-
T("h2", dr, [l(
|
|
7329
|
+
T("h2", dr, [l(V, {
|
|
7326
7330
|
icon: "calendar-circle-exclamation",
|
|
7327
7331
|
type: "fal",
|
|
7328
7332
|
color: "header"
|
|
7329
7333
|
}), T("span", null, h(r(c)("booking.availability.nextAvailableDates")), 1)]),
|
|
7330
|
-
T("ul", fr, [(b(!0), m(a, null, w(r(
|
|
7334
|
+
T("ul", fr, [(b(!0), m(a, null, w(r(Ve).nextAvailableDates, (e, t) => (b(), m("li", { key: t }, [
|
|
7331
7335
|
T("h3", { title: `${r(ge)(e.fromDate, 0, !0)} - ${r(ge)(e.toDate, 0, !0)}` }, [T("span", null, h(`${r(ge)(e.fromDate, 0, !0)} - ${r(ge)(e.toDate, 0, !0)}`), 1)], 8, pr),
|
|
7332
|
-
T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", mr, [l(
|
|
7336
|
+
T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", mr, [l(V, {
|
|
7333
7337
|
icon: "house",
|
|
7334
7338
|
type: "fal",
|
|
7335
7339
|
color: "header"
|
|
7336
|
-
}), T("span", null, h(r(c)("booking.availability.units")) + ": " + h(e.roomCount), 1)])), T("li", null, [l(
|
|
7340
|
+
}), T("span", null, h(r(c)("booking.availability.units")) + ": " + h(e.roomCount), 1)])), T("li", null, [l(V, {
|
|
7337
7341
|
icon: "money-bill",
|
|
7338
7342
|
type: "fal",
|
|
7339
7343
|
color: "header"
|
|
7340
|
-
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(
|
|
7341
|
-
l(
|
|
7344
|
+
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(Ne)(e.priceStartFrom, r(q))), 1)])]),
|
|
7345
|
+
l(Pe, {
|
|
7342
7346
|
label: r(c)("booking.availability.selectDates"),
|
|
7343
7347
|
"full-width": "",
|
|
7344
|
-
onClickEvent: (t) => r(
|
|
7348
|
+
onClickEvent: (t) => r(Ot)(r(be)(e.fromDate), r(be)(e.toDate))
|
|
7345
7349
|
}, null, 8, ["label", "onClickEvent"])
|
|
7346
7350
|
]))), 128))])
|
|
7347
|
-
])) : (b(), m("div", hr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) :
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
+
])) : (b(), m("div", hr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) : r(We) && !r(D) ? (b(), m("div", gr, [T("span", null, h(r(c)("alert.error.couldntFetchListings")), 1), l(Pe, {
|
|
7352
|
+
label: r(c)("general.searchAgain"),
|
|
7353
|
+
"full-width": "",
|
|
7354
|
+
onClickEvent: o[2] ||= (e) => Rn()
|
|
7355
|
+
}, null, 8, ["label"])])) : isNaN(r(p)) && !r(D) ? (b(), m("div", _r, [T("span", null, h(r(c)("alert.info.selectHotelToStart")), 1)])) : (b(), m("div", vr, [
|
|
7356
|
+
l(et),
|
|
7357
|
+
l(et),
|
|
7358
|
+
l(et)
|
|
7351
7359
|
]))
|
|
7352
7360
|
])]),
|
|
7353
7361
|
navigation: S(() => [
|
|
7354
|
-
r(
|
|
7362
|
+
r(Ze) ? (b(), u(Pe, {
|
|
7355
7363
|
key: 0,
|
|
7356
7364
|
label: isNaN(r(p)) ? r(c)("availability.buttonLabel") : r(c)("general.searchAgain"),
|
|
7357
7365
|
"is-loading": r(D),
|
|
7358
7366
|
"full-width": "",
|
|
7359
|
-
onClickEvent: o[
|
|
7360
|
-
}, null, 8, ["label", "is-loading"])) : (b(), u(
|
|
7367
|
+
onClickEvent: o[3] ||= (e) => Rn()
|
|
7368
|
+
}, null, 8, ["label", "is-loading"])) : (b(), u(Pe, {
|
|
7361
7369
|
key: 1,
|
|
7362
|
-
label: r(
|
|
7363
|
-
disabled: !r(
|
|
7370
|
+
label: r(Ge) || An.value ? r(c)("booking.availability.nextButton") : r(c)("general.chooseAddons"),
|
|
7371
|
+
disabled: !r(Fe),
|
|
7364
7372
|
"full-width": "",
|
|
7365
|
-
onClickEvent: (e) =>
|
|
7373
|
+
onClickEvent: (e) => ti(t)
|
|
7366
7374
|
}, null, 8, [
|
|
7367
7375
|
"label",
|
|
7368
7376
|
"disabled",
|
|
7369
7377
|
"onClickEvent"
|
|
7370
7378
|
])),
|
|
7371
|
-
ne(T("span",
|
|
7379
|
+
ne(T("span", yr, [l(V, {
|
|
7372
7380
|
icon: "exclamation-triangle",
|
|
7373
7381
|
type: "fas"
|
|
7374
7382
|
}), T("span", null, h(r(c)("hotel.mismatchingAdults", {
|
|
7375
|
-
searchAdults: r(
|
|
7376
|
-
selectedAdults: r(
|
|
7377
|
-
})), 1)], 512), [[ee, r(
|
|
7378
|
-
ne(T("span",
|
|
7383
|
+
searchAdults: r(St),
|
|
7384
|
+
selectedAdults: r(it)
|
|
7385
|
+
})), 1)], 512), [[ee, r(nt)]]),
|
|
7386
|
+
ne(T("span", br, [l(V, {
|
|
7379
7387
|
icon: "exclamation-triangle",
|
|
7380
7388
|
type: "fas"
|
|
7381
7389
|
}), T("span", null, h(r(c)("hotel.mismatchingChildren", {
|
|
7382
|
-
searchChildren: r(
|
|
7383
|
-
selectedChildren: r(
|
|
7384
|
-
})), 1)], 512), [[ee, r(
|
|
7390
|
+
searchChildren: r(K),
|
|
7391
|
+
selectedChildren: r(at)
|
|
7392
|
+
})), 1)], 512), [[ee, r(rt)]])
|
|
7385
7393
|
]),
|
|
7386
7394
|
_: 2
|
|
7387
7395
|
}, 1032, ["deal-flow"])]),
|
|
7388
|
-
addons: S(({ next: t, prev: n }) => [r(
|
|
7396
|
+
addons: S(({ next: t, prev: n }) => [r(qe) ? (b(), u(Y, {
|
|
7389
7397
|
key: 0,
|
|
7390
|
-
"prev-callback": () =>
|
|
7398
|
+
"prev-callback": () => In(n),
|
|
7391
7399
|
"deal-flow": e.requireDealCode === "yes"
|
|
7392
7400
|
}, {
|
|
7393
|
-
form: S(() => [T("form",
|
|
7401
|
+
form: S(() => [T("form", xr, [
|
|
7394
7402
|
T("h2", null, [T("span", null, h(r(c)("booking.reservation.addons")), 1)]),
|
|
7395
|
-
r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div",
|
|
7403
|
+
r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div", Sr, [T("p", {
|
|
7396
7404
|
innerHTML: r(c)("hotel.addonTopNotice"),
|
|
7397
7405
|
class: "konnectio-wysiwyg"
|
|
7398
|
-
}, null, 8,
|
|
7399
|
-
T("div", null, [isNaN(r(g)) ? (b(), m("div",
|
|
7406
|
+
}, null, 8, Cr)])) : d("", !0),
|
|
7407
|
+
T("div", null, [isNaN(r(g)) ? (b(), m("div", wr, [(b(!0), m(a, null, w(r(Me), (e) => (b(), m(a, { key: e.roomGroupID }, [r(Z)(e) ? (b(), m("ul", Tr, [(b(!0), m(a, null, w(e.variants, (t, n) => (b(), m("li", { key: t.ratePlanID }, [T("h4", null, [T("span", null, h(r(pe)(e.title)), 1)]), (b(!0), m(a, null, w(xn(t.rooms), (i) => (b(), m(a, { key: `${i.configIdx}-${i.roomIdx}` }, [yn(t.addons, i.childrenCount).length > 0 ? (b(), m("div", Er, [T("h5", null, [l(V, {
|
|
7400
7408
|
icon: "check-circle",
|
|
7401
7409
|
type: "fas"
|
|
7402
|
-
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(
|
|
7410
|
+
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(yn(t.addons, i.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
|
|
7403
7411
|
T("b", null, h(r(pe)(t)), 1),
|
|
7404
|
-
T("span", null, h(r(
|
|
7412
|
+
T("span", null, h(r(Ne)(n, r(q))) + " " + h(r(le)(i)), 1),
|
|
7405
7413
|
a ? (b(), m("p", {
|
|
7406
7414
|
key: 0,
|
|
7407
7415
|
innerHTML: r(_e)(a)
|
|
7408
|
-
}, null, 8,
|
|
7409
|
-
])]))), 128))])])) : d("", !0),
|
|
7416
|
+
}, null, 8, Dr)) : d("", !0)
|
|
7417
|
+
])]))), 128))])])) : d("", !0), bn(t.addons, i.childrenCount).length > 0 ? (b(), m("table", Or, [T("thead", null, [T("tr", null, [
|
|
7410
7418
|
T("th", null, [T("span", null, h(r(pe)(t.name)), 1)]),
|
|
7411
7419
|
d("", !0),
|
|
7412
|
-
T("th",
|
|
7413
|
-
l(
|
|
7420
|
+
T("th", kr, [T("b", null, [
|
|
7421
|
+
l(V, {
|
|
7414
7422
|
icon: "male",
|
|
7415
7423
|
type: "fas",
|
|
7416
7424
|
color: "font"
|
|
7417
7425
|
}),
|
|
7418
7426
|
T("span", null, h(i.adultsCount), 1),
|
|
7419
|
-
i.childrenCount > 0 ? (b(), u(
|
|
7427
|
+
i.childrenCount > 0 ? (b(), u(V, {
|
|
7420
7428
|
key: 0,
|
|
7421
7429
|
icon: "child",
|
|
7422
7430
|
type: "fas",
|
|
7423
7431
|
color: "font"
|
|
7424
7432
|
})) : d("", !0),
|
|
7425
|
-
i.childrenCount > 0 ? (b(), m("span",
|
|
7433
|
+
i.childrenCount > 0 ? (b(), m("span", Ar, h(i.childrenCount), 1)) : d("", !0)
|
|
7426
7434
|
])])
|
|
7427
|
-
])]), T("tbody", null, [(b(!0), m(a, null, w(
|
|
7435
|
+
])]), T("tbody", null, [(b(!0), m(a, null, w(bn(t.addons, i.childrenCount), ({ cardinality: t, quantityStrategy: a, maximumNumber: o, id: s, name: c, price: f, image: p, description: g }) => (b(), m("tr", { key: s }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": p }]) }, [p ? (b(), m("div", jr, [l(r(G), {
|
|
7428
7436
|
src: p,
|
|
7429
7437
|
"zoom-scale": 1
|
|
7430
7438
|
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7431
7439
|
T("b", null, h(r(pe)(c)), 1),
|
|
7432
|
-
T("span", null, h(r(
|
|
7440
|
+
T("span", null, h(r(Ne)(f, r(q))) + " " + h(r(le)(a)), 1),
|
|
7433
7441
|
g ? (b(), m("p", {
|
|
7434
7442
|
key: 0,
|
|
7435
7443
|
innerHTML: r(_e)(g)
|
|
7436
|
-
}, null, 8,
|
|
7437
|
-
])], 2), T("td",
|
|
7444
|
+
}, null, 8, Mr)) : d("", !0)
|
|
7445
|
+
])], 2), T("td", Nr, [r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx] ? (b(), u(je, {
|
|
7438
7446
|
key: 0,
|
|
7439
7447
|
modelValue: r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s],
|
|
7440
7448
|
"onUpdate:modelValue": (t) => r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s] = t,
|
|
@@ -7445,31 +7453,31 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7445
7453
|
"modelValue",
|
|
7446
7454
|
"onUpdate:modelValue",
|
|
7447
7455
|
"max-value"
|
|
7448
|
-
])) : d("", !0)])]))), 128))])])) : d("", !0)], 64))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(re).length > 0 ? (b(), m("div",
|
|
7456
|
+
])) : d("", !0)])]))), 128))])])) : d("", !0)], 64))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(re).length > 0 ? (b(), m("div", Pr, [T("div", null, [T("h4", null, [T("span", null, h(r(Je)?.name), 1)]), (b(!0), m(a, null, w(Sn.value, (e) => (b(), m(a, { key: `${e.roomGroupId}-${e.configIdx}` }, [yn(r(H).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("div", Fr, [T("h5", null, [l(V, {
|
|
7449
7457
|
icon: "check-circle",
|
|
7450
7458
|
type: "fas"
|
|
7451
|
-
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(
|
|
7459
|
+
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(yn(r(H).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
|
|
7452
7460
|
T("b", null, h(r(pe)(t)), 1),
|
|
7453
|
-
T("span", null, h(r(
|
|
7461
|
+
T("span", null, h(r(Ne)(n, r(q))) + " " + h(r(le)(i)), 1),
|
|
7454
7462
|
a ? (b(), m("p", {
|
|
7455
7463
|
key: 0,
|
|
7456
7464
|
innerHTML: r(_e)(a)
|
|
7457
|
-
}, null, 8,
|
|
7458
|
-
])]))), 128))])])) : d("", !0),
|
|
7459
|
-
T("th", null, [T("span", null, h(r(pe)(r(
|
|
7465
|
+
}, null, 8, Ir)) : d("", !0)
|
|
7466
|
+
])]))), 128))])])) : d("", !0), bn(r(H).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("table", Lr, [T("thead", null, [T("tr", null, [
|
|
7467
|
+
T("th", null, [T("span", null, h(r(pe)(r(H).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), m("span", Rr, "(" + h(r(c)("booking.reservation.room")) + " " + h(e.unitNumber) + ")", 1)) : d("", !0)]),
|
|
7460
7468
|
d("", !0),
|
|
7461
|
-
o[
|
|
7462
|
-
])]), T("tbody", null, [(b(!0), m(a, null, w(
|
|
7469
|
+
o[26] ||= T("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7470
|
+
])]), T("tbody", null, [(b(!0), m(a, null, w(bn(r(H).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: i, id: a, name: o, price: s, description: c, image: u }) => (b(), m("tr", { key: a }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": u }]) }, [u ? (b(), m("div", zr, [l(r(G), {
|
|
7463
7471
|
src: u,
|
|
7464
7472
|
"zoom-scale": 1
|
|
7465
7473
|
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7466
7474
|
T("b", null, h(r(pe)(o)), 1),
|
|
7467
|
-
T("span", null, h(r(
|
|
7475
|
+
T("span", null, h(r(Ne)(s, r(q))) + " " + h(r(le)(n)), 1),
|
|
7468
7476
|
c ? (b(), m("p", {
|
|
7469
7477
|
key: 0,
|
|
7470
7478
|
innerHTML: r(_e)(c)
|
|
7471
|
-
}, null, 8,
|
|
7472
|
-
])], 2), T("td",
|
|
7479
|
+
}, null, 8, Br)) : d("", !0)
|
|
7480
|
+
])], 2), T("td", Vr, [l(je, {
|
|
7473
7481
|
modelValue: r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
|
|
7474
7482
|
"onUpdate:modelValue": (t) => r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
|
|
7475
7483
|
small: !0,
|
|
@@ -7481,49 +7489,49 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7481
7489
|
"max-value"
|
|
7482
7490
|
])])]))), 128))])])) : d("", !0)], 64))), 128))])])) : d("", !0)])
|
|
7483
7491
|
])]),
|
|
7484
|
-
navigation: S(() => [l(
|
|
7492
|
+
navigation: S(() => [l(Pe, {
|
|
7485
7493
|
label: r(c)("general.startReservation"),
|
|
7486
7494
|
"full-width": "",
|
|
7487
|
-
onClickEvent: (e) =>
|
|
7495
|
+
onClickEvent: (e) => Nn(t)
|
|
7488
7496
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7489
7497
|
_: 2
|
|
7490
7498
|
}, 1032, ["prev-callback", "deal-flow"])) : d("", !0)]),
|
|
7491
|
-
reservation: S(({ next: t, prev: n, reset: i }) => [r(
|
|
7499
|
+
reservation: S(({ next: t, prev: n, reset: i }) => [r(qe) ? (b(), u(Y, {
|
|
7492
7500
|
key: 0,
|
|
7493
|
-
"prev-callback": () =>
|
|
7501
|
+
"prev-callback": () => In(n),
|
|
7494
7502
|
"show-terms-notice": !0,
|
|
7495
7503
|
"show-gift-card": !0,
|
|
7496
7504
|
"deal-flow": e.requireDealCode === "yes"
|
|
7497
7505
|
}, {
|
|
7498
|
-
form: S(() => [T("form",
|
|
7506
|
+
form: S(() => [T("form", Hr, [
|
|
7499
7507
|
T("h2", null, [T("span", null, h(r(c)("booking.reservation.detailsTitle")), 1)]),
|
|
7500
|
-
r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div",
|
|
7508
|
+
r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div", Ur, [T("p", {
|
|
7501
7509
|
innerHTML: r(c)("hotel.reservationTopNotice"),
|
|
7502
7510
|
class: "konnectio-wysiwyg"
|
|
7503
|
-
}, null, 8,
|
|
7504
|
-
r(
|
|
7511
|
+
}, null, 8, Wr)])) : d("", !0),
|
|
7512
|
+
r(J)(r(p)) && r(Ut)(r(p)) && r(Wt)(r(p)) ? (b(), m("ul", {
|
|
7505
7513
|
key: 1,
|
|
7506
|
-
class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(
|
|
7507
|
-
}, [r(
|
|
7514
|
+
class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(Ut)(r(p)) && r(Wt)(r(p)) }])
|
|
7515
|
+
}, [r(Ut)(r(p)) ? (b(), m("li", Gr, [l(Mn, {
|
|
7508
7516
|
modelValue: r(M),
|
|
7509
|
-
"onUpdate:modelValue": o[
|
|
7517
|
+
"onUpdate:modelValue": o[4] ||= (e) => y(M) ? M.value = e : null,
|
|
7510
7518
|
label: r(c)("booking.reservation.arrivalTime"),
|
|
7511
7519
|
icon: "hourglass-start",
|
|
7512
|
-
"min-time": r(
|
|
7513
|
-
"max-time": r(
|
|
7520
|
+
"min-time": r(Gt)(r(p)),
|
|
7521
|
+
"max-time": r(Kt)(r(p)),
|
|
7514
7522
|
required: ""
|
|
7515
7523
|
}, null, 8, [
|
|
7516
7524
|
"modelValue",
|
|
7517
7525
|
"label",
|
|
7518
7526
|
"min-time",
|
|
7519
7527
|
"max-time"
|
|
7520
|
-
])])) : d("", !0), r(
|
|
7528
|
+
])])) : d("", !0), r(Wt)(r(p)) ? (b(), m("li", Kr, [l(Mn, {
|
|
7521
7529
|
modelValue: r(N),
|
|
7522
|
-
"onUpdate:modelValue": o[
|
|
7530
|
+
"onUpdate:modelValue": o[5] ||= (e) => y(N) ? N.value = e : null,
|
|
7523
7531
|
label: r(c)("booking.reservation.departureTime"),
|
|
7524
7532
|
icon: "hourglass-end",
|
|
7525
|
-
"min-time": r(
|
|
7526
|
-
"max-time": r(
|
|
7533
|
+
"min-time": r(Jt)(r(p)),
|
|
7534
|
+
"max-time": r(Yt)(r(p)),
|
|
7527
7535
|
required: ""
|
|
7528
7536
|
}, null, 8, [
|
|
7529
7537
|
"modelValue",
|
|
@@ -7533,14 +7541,14 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7533
7541
|
])])) : d("", !0)], 2)) : d("", !0),
|
|
7534
7542
|
l(Fn, {
|
|
7535
7543
|
modelValue: r(P),
|
|
7536
|
-
"onUpdate:modelValue": o[
|
|
7544
|
+
"onUpdate:modelValue": o[6] ||= (e) => y(P) ? P.value = e : null,
|
|
7537
7545
|
title: r(F),
|
|
7538
|
-
"onUpdate:title": o[
|
|
7539
|
-
"exclude-title": r(
|
|
7546
|
+
"onUpdate:title": o[7] ||= (e) => y(F) ? F.value = e : null,
|
|
7547
|
+
"exclude-title": r(At),
|
|
7540
7548
|
label: r(c)("booking.reservation.name"),
|
|
7541
7549
|
icon: "user-alt",
|
|
7542
7550
|
placeholder: r(c)("booking.reservation.namePlaceholder"),
|
|
7543
|
-
error:
|
|
7551
|
+
error: Q("guest.name"),
|
|
7544
7552
|
required: ""
|
|
7545
7553
|
}, null, 8, [
|
|
7546
7554
|
"modelValue",
|
|
@@ -7552,7 +7560,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7552
7560
|
]),
|
|
7553
7561
|
l(Ae, {
|
|
7554
7562
|
modelValue: r(I),
|
|
7555
|
-
"onUpdate:modelValue": o[
|
|
7563
|
+
"onUpdate:modelValue": o[8] ||= (e) => y(I) ? I.value = e : null,
|
|
7556
7564
|
type: "email",
|
|
7557
7565
|
name: "email",
|
|
7558
7566
|
autocomplete: "email",
|
|
@@ -7560,7 +7568,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7560
7568
|
label: r(c)("booking.reservation.email"),
|
|
7561
7569
|
icon: "at",
|
|
7562
7570
|
placeholder: r(c)("booking.reservation.emailPlaceholder"),
|
|
7563
|
-
error:
|
|
7571
|
+
error: Q("guest.email"),
|
|
7564
7572
|
required: ""
|
|
7565
7573
|
}, null, 8, [
|
|
7566
7574
|
"modelValue",
|
|
@@ -7568,10 +7576,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7568
7576
|
"placeholder",
|
|
7569
7577
|
"error"
|
|
7570
7578
|
]),
|
|
7571
|
-
r(
|
|
7579
|
+
r(Bt) ? (b(), u(Ae, {
|
|
7572
7580
|
key: 2,
|
|
7573
7581
|
modelValue: r(R),
|
|
7574
|
-
"onUpdate:modelValue": o[
|
|
7582
|
+
"onUpdate:modelValue": o[9] ||= (e) => y(R) ? R.value = e : null,
|
|
7575
7583
|
type: "email",
|
|
7576
7584
|
name: "confirm-email",
|
|
7577
7585
|
autocomplete: "off",
|
|
@@ -7579,7 +7587,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7579
7587
|
label: r(c)("booking.reservation.confirmEmail"),
|
|
7580
7588
|
icon: "at",
|
|
7581
7589
|
placeholder: r(c)("booking.reservation.confirmEmailPlaceholder"),
|
|
7582
|
-
error:
|
|
7590
|
+
error: gn.value,
|
|
7583
7591
|
required: ""
|
|
7584
7592
|
}, null, 8, [
|
|
7585
7593
|
"modelValue",
|
|
@@ -7587,17 +7595,17 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7587
7595
|
"placeholder",
|
|
7588
7596
|
"error"
|
|
7589
7597
|
])) : d("", !0),
|
|
7590
|
-
r(
|
|
7591
|
-
modelValue: r(
|
|
7592
|
-
"onUpdate:modelValue": o[
|
|
7598
|
+
r(zt) ? d("", !0) : (b(), m("div", qr, [l(Re, {
|
|
7599
|
+
modelValue: r($e),
|
|
7600
|
+
"onUpdate:modelValue": o[10] ||= (e) => y($e) ? $e.value = e : null,
|
|
7593
7601
|
type: "checkbox",
|
|
7594
7602
|
name: "newsletter",
|
|
7595
7603
|
label: r(c)("booking.reservation.newsletterSignUp")
|
|
7596
7604
|
}, null, 8, ["modelValue", "label"])])),
|
|
7597
|
-
r(
|
|
7605
|
+
r(Nt) ? d("", !0) : (b(), u(Ae, {
|
|
7598
7606
|
key: 4,
|
|
7599
7607
|
modelValue: r(fe),
|
|
7600
|
-
"onUpdate:modelValue": o[
|
|
7608
|
+
"onUpdate:modelValue": o[11] ||= (e) => y(fe) ? fe.value = e : null,
|
|
7601
7609
|
type: "text",
|
|
7602
7610
|
name: "firm",
|
|
7603
7611
|
autocomplete: "firm",
|
|
@@ -7609,13 +7617,13 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7609
7617
|
"label",
|
|
7610
7618
|
"placeholder"
|
|
7611
7619
|
])),
|
|
7612
|
-
l(
|
|
7620
|
+
l(Ie, {
|
|
7613
7621
|
modelValue: r(z),
|
|
7614
|
-
"onUpdate:modelValue": o[
|
|
7622
|
+
"onUpdate:modelValue": o[12] ||= (e) => y(z) ? z.value = e : null,
|
|
7615
7623
|
icon: "phone-office",
|
|
7616
7624
|
label: r(c)("booking.reservation.phone"),
|
|
7617
7625
|
placeholder: r(c)("booking.reservation.phonePlaceholder"),
|
|
7618
|
-
error:
|
|
7626
|
+
error: Q("guest.phone"),
|
|
7619
7627
|
required: ""
|
|
7620
7628
|
}, null, 8, [
|
|
7621
7629
|
"modelValue",
|
|
@@ -7625,11 +7633,11 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7625
7633
|
]),
|
|
7626
7634
|
l(Pn, {
|
|
7627
7635
|
modelValue: r(Se),
|
|
7628
|
-
"onUpdate:modelValue": o[
|
|
7636
|
+
"onUpdate:modelValue": o[13] ||= (e) => y(Se) ? Se.value = e : null,
|
|
7629
7637
|
label: r(c)("booking.reservation.country"),
|
|
7630
7638
|
placeholder: r(c)("booking.reservation.countryPlaceholder"),
|
|
7631
7639
|
options: r(ie),
|
|
7632
|
-
error:
|
|
7640
|
+
error: Q("guest.country"),
|
|
7633
7641
|
required: ""
|
|
7634
7642
|
}, null, 8, [
|
|
7635
7643
|
"modelValue",
|
|
@@ -7640,14 +7648,14 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7640
7648
|
]),
|
|
7641
7649
|
l(Ae, {
|
|
7642
7650
|
modelValue: r(xe),
|
|
7643
|
-
"onUpdate:modelValue": o[
|
|
7651
|
+
"onUpdate:modelValue": o[14] ||= (e) => y(xe) ? xe.value = e : null,
|
|
7644
7652
|
type: "textarea",
|
|
7645
7653
|
name: "address",
|
|
7646
7654
|
autocomplete: "street-address",
|
|
7647
7655
|
label: r(c)("booking.reservation.streetAddress"),
|
|
7648
7656
|
icon: "map-marked",
|
|
7649
7657
|
placeholder: r(c)("booking.reservation.streetAddressPlaceholder"),
|
|
7650
|
-
error:
|
|
7658
|
+
error: Q("guest.address1"),
|
|
7651
7659
|
required: ""
|
|
7652
7660
|
}, null, 8, [
|
|
7653
7661
|
"modelValue",
|
|
@@ -7655,16 +7663,16 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7655
7663
|
"placeholder",
|
|
7656
7664
|
"error"
|
|
7657
7665
|
]),
|
|
7658
|
-
T("ul",
|
|
7666
|
+
T("ul", Jr, [T("li", null, [l(Ae, {
|
|
7659
7667
|
modelValue: r(B),
|
|
7660
|
-
"onUpdate:modelValue": o[
|
|
7668
|
+
"onUpdate:modelValue": o[15] ||= (e) => y(B) ? B.value = e : null,
|
|
7661
7669
|
type: "text",
|
|
7662
7670
|
name: "postal",
|
|
7663
7671
|
autocomplete: "postal-code",
|
|
7664
7672
|
label: r(c)("booking.reservation.postal"),
|
|
7665
7673
|
icon: "mailbox",
|
|
7666
7674
|
placeholder: r(c)("booking.reservation.postalPlaceholder"),
|
|
7667
|
-
error:
|
|
7675
|
+
error: Q("guest.postal"),
|
|
7668
7676
|
required: ""
|
|
7669
7677
|
}, null, 8, [
|
|
7670
7678
|
"modelValue",
|
|
@@ -7673,14 +7681,14 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7673
7681
|
"error"
|
|
7674
7682
|
])]), T("li", null, [l(Ae, {
|
|
7675
7683
|
modelValue: r(ye),
|
|
7676
|
-
"onUpdate:modelValue": o[
|
|
7684
|
+
"onUpdate:modelValue": o[16] ||= (e) => y(ye) ? ye.value = e : null,
|
|
7677
7685
|
type: "text",
|
|
7678
7686
|
name: "city",
|
|
7679
7687
|
autocomplete: "address-level2",
|
|
7680
7688
|
label: r(c)("booking.reservation.city"),
|
|
7681
7689
|
icon: "city",
|
|
7682
7690
|
placeholder: r(c)("booking.reservation.cityPlaceholder"),
|
|
7683
|
-
error:
|
|
7691
|
+
error: Q("guest.city"),
|
|
7684
7692
|
required: ""
|
|
7685
7693
|
}, null, 8, [
|
|
7686
7694
|
"modelValue",
|
|
@@ -7691,7 +7699,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7691
7699
|
e.hideRemarks === "yes" ? d("", !0) : (b(), u(Ae, {
|
|
7692
7700
|
key: 5,
|
|
7693
7701
|
modelValue: r(Ce),
|
|
7694
|
-
"onUpdate:modelValue": o[
|
|
7702
|
+
"onUpdate:modelValue": o[17] ||= (e) => y(Ce) ? Ce.value = e : null,
|
|
7695
7703
|
type: "textarea",
|
|
7696
7704
|
label: r(c)("booking.reservation.remark"),
|
|
7697
7705
|
icon: "info-circle",
|
|
@@ -7704,7 +7712,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7704
7712
|
e.hideAllergies === "yes" ? d("", !0) : (b(), u(Ae, {
|
|
7705
7713
|
key: 6,
|
|
7706
7714
|
modelValue: r(we),
|
|
7707
|
-
"onUpdate:modelValue": o[
|
|
7715
|
+
"onUpdate:modelValue": o[18] ||= (e) => y(we) ? we.value = e : null,
|
|
7708
7716
|
type: "textarea",
|
|
7709
7717
|
label: r(c)("booking.reservation.allergies"),
|
|
7710
7718
|
icon: "allergies",
|
|
@@ -7714,36 +7722,36 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7714
7722
|
"label",
|
|
7715
7723
|
"placeholder"
|
|
7716
7724
|
])),
|
|
7717
|
-
r(
|
|
7725
|
+
r(jt) ? d("", !0) : (b(), u(Ye, {
|
|
7718
7726
|
key: 7,
|
|
7719
7727
|
modelValue: r(j),
|
|
7720
|
-
"onUpdate:modelValue": o[
|
|
7728
|
+
"onUpdate:modelValue": o[19] ||= (e) => y(j) ? j.value = e : null,
|
|
7721
7729
|
label: r(c)("booking.reservation.purposeOfStay"),
|
|
7722
7730
|
name: "travelingFor",
|
|
7723
|
-
checkboxes:
|
|
7731
|
+
checkboxes: wn.value
|
|
7724
7732
|
}, null, 8, [
|
|
7725
7733
|
"modelValue",
|
|
7726
7734
|
"label",
|
|
7727
7735
|
"checkboxes"
|
|
7728
7736
|
])),
|
|
7729
|
-
r(
|
|
7730
|
-
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(
|
|
7731
|
-
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(
|
|
7732
|
-
r(
|
|
7733
|
-
])])) : (b(), m(a, { key: 1 }, [l(
|
|
7734
|
-
modelValue: r(
|
|
7735
|
-
"onUpdate:modelValue": o[
|
|
7737
|
+
r(dt) ? (b(), m(a, { key: 8 }, [T("h3", null, [T("span", null, h(r(c)("hotel.memberCards.title")), 1)]), r(gt) ? (b(), m("div", Yr, [T("img", { src: r(_t)?.iconUrl }, null, 8, Xr), T("ul", Zr, [
|
|
7738
|
+
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(_t)?.shortDescription })), 1)]),
|
|
7739
|
+
T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(gt).cardNumber), 1)]),
|
|
7740
|
+
r(gt).controlNr ? (b(), m("li", Qr, [T("span", null, h(r(c)("hotel.memberCards.controlNumber")) + ": " + h(r(gt).controlNr), 1)])) : d("", !0)
|
|
7741
|
+
])])) : (b(), m(a, { key: 1 }, [l(Ye, {
|
|
7742
|
+
modelValue: r(pt),
|
|
7743
|
+
"onUpdate:modelValue": o[20] ||= (e) => y(pt) ? pt.value = e : null,
|
|
7736
7744
|
label: r(c)("hotel.memberCards.selectCard"),
|
|
7737
7745
|
name: "memberCard",
|
|
7738
|
-
checkboxes: r(
|
|
7746
|
+
checkboxes: r(ft)
|
|
7739
7747
|
}, null, 8, [
|
|
7740
7748
|
"modelValue",
|
|
7741
7749
|
"label",
|
|
7742
7750
|
"checkboxes"
|
|
7743
|
-
]), r(
|
|
7751
|
+
]), r(pt) ? (b(), m("form", $r, [
|
|
7744
7752
|
l(Ae, {
|
|
7745
|
-
modelValue: r(
|
|
7746
|
-
"onUpdate:modelValue": o[
|
|
7753
|
+
modelValue: r(ht),
|
|
7754
|
+
"onUpdate:modelValue": o[21] ||= (e) => y(ht) ? ht.value = e : null,
|
|
7747
7755
|
type: "number",
|
|
7748
7756
|
label: r(c)("hotel.memberCards.cardNumber"),
|
|
7749
7757
|
icon: "credit-card",
|
|
@@ -7754,10 +7762,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7754
7762
|
"label",
|
|
7755
7763
|
"placeholder"
|
|
7756
7764
|
]),
|
|
7757
|
-
r(
|
|
7765
|
+
r(pt) === r(Ee).FirmaCard ? (b(), u(Ae, {
|
|
7758
7766
|
key: 0,
|
|
7759
|
-
modelValue: r(
|
|
7760
|
-
"onUpdate:modelValue": o[
|
|
7767
|
+
modelValue: r(mt),
|
|
7768
|
+
"onUpdate:modelValue": o[22] ||= (e) => y(mt) ? mt.value = e : null,
|
|
7761
7769
|
type: "text",
|
|
7762
7770
|
label: r(c)("hotel.memberCards.cardControlNumber"),
|
|
7763
7771
|
icon: "id-card",
|
|
@@ -7768,10 +7776,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7768
7776
|
"label",
|
|
7769
7777
|
"placeholder"
|
|
7770
7778
|
])) : d("", !0),
|
|
7771
|
-
r(
|
|
7779
|
+
r(pt) === r(Ee).DaneAge ? (b(), u(Ae, {
|
|
7772
7780
|
key: 1,
|
|
7773
7781
|
modelValue: r(B),
|
|
7774
|
-
"onUpdate:modelValue": o[
|
|
7782
|
+
"onUpdate:modelValue": o[23] ||= (e) => y(B) ? B.value = e : null,
|
|
7775
7783
|
type: "text",
|
|
7776
7784
|
name: "postal",
|
|
7777
7785
|
autocomplete: "postal-code",
|
|
@@ -7784,19 +7792,19 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7784
7792
|
"label",
|
|
7785
7793
|
"placeholder"
|
|
7786
7794
|
])) : d("", !0),
|
|
7787
|
-
l(
|
|
7795
|
+
l(Pe, {
|
|
7788
7796
|
label: r(c)("hotel.memberCards.validateAndSelectCard"),
|
|
7789
7797
|
"full-width": "",
|
|
7790
|
-
onClickEvent: r(
|
|
7798
|
+
onClickEvent: r(cn)
|
|
7791
7799
|
}, null, 8, ["label", "onClickEvent"])
|
|
7792
7800
|
])) : d("", !0)], 64))], 64)) : d("", !0)
|
|
7793
7801
|
])]),
|
|
7794
|
-
navigation: S(() => [T("div", null, [r(
|
|
7795
|
-
label: r(
|
|
7802
|
+
navigation: S(() => [T("div", null, [r(xt) ? (b(), u(Be, { key: 0 })) : d("", !0), l(Pe, {
|
|
7803
|
+
label: r(Pt) && r(A) > 0 ? r(c)("booking.reservation.nextButton") : r(c)("general.confirmReservation"),
|
|
7796
7804
|
disabled: !r(k),
|
|
7797
|
-
"is-loading": r(O) || r(
|
|
7805
|
+
"is-loading": r(O) || r(xt),
|
|
7798
7806
|
"full-width": "",
|
|
7799
|
-
onClickEvent: (e) =>
|
|
7807
|
+
onClickEvent: (e) => Ln(t, i)
|
|
7800
7808
|
}, null, 8, [
|
|
7801
7809
|
"label",
|
|
7802
7810
|
"disabled",
|
|
@@ -7805,14 +7813,14 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7805
7813
|
])])]),
|
|
7806
7814
|
_: 2
|
|
7807
7815
|
}, 1032, ["prev-callback", "deal-flow"])) : d("", !0)]),
|
|
7808
|
-
payment: S(({ prev: e }) => [l(
|
|
7809
|
-
confirmation: S(() => [l(
|
|
7816
|
+
payment: S(({ prev: e }) => [l(Ue), d("", !0)]),
|
|
7817
|
+
confirmation: S(() => [l(Xe, { message: r(c)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
|
|
7810
7818
|
_: 1
|
|
7811
7819
|
}, 8, [
|
|
7812
7820
|
"layout",
|
|
7813
7821
|
"steps",
|
|
7814
7822
|
"onReset"
|
|
7815
|
-
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(
|
|
7823
|
+
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(ot)) && !vn.value]])
|
|
7816
7824
|
]),
|
|
7817
7825
|
_: 1
|
|
7818
7826
|
}, 8, ["access-token", "callback"])]),
|
|
@@ -7822,10 +7830,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7822
7830
|
_: 1
|
|
7823
7831
|
}, 8, ["styling"]));
|
|
7824
7832
|
}
|
|
7825
|
-
}),
|
|
7833
|
+
}), ti = /*#__PURE__*/ B(ei, [["__scopeId", "data-v-d9970787"]]);
|
|
7826
7834
|
//#endregion
|
|
7827
7835
|
//#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7828
|
-
function
|
|
7836
|
+
function ni(e, t) {
|
|
7829
7837
|
if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
|
|
7830
7838
|
let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
|
|
7831
7839
|
if (!e.plugins.get(r)) {
|
|
@@ -7834,7 +7842,7 @@ function $(e, t) {
|
|
|
7834
7842
|
}
|
|
7835
7843
|
}
|
|
7836
7844
|
// @__NO_SIDE_EFFECTS__
|
|
7837
|
-
function
|
|
7845
|
+
function $(e, t = {}) {
|
|
7838
7846
|
let n = !t.document, r = /* @__PURE__ */ new Map(), i = {
|
|
7839
7847
|
_entryCount: 1,
|
|
7840
7848
|
_h: 0,
|
|
@@ -7844,7 +7852,7 @@ function ti(e, t = {}) {
|
|
|
7844
7852
|
entries: r,
|
|
7845
7853
|
hooks: void 0,
|
|
7846
7854
|
render: () => e(i),
|
|
7847
|
-
use: (e) =>
|
|
7855
|
+
use: (e) => ni(i, e),
|
|
7848
7856
|
push(e, t) {
|
|
7849
7857
|
let a = t?._index ?? i._entryCount++, o = t ? { ...t } : {};
|
|
7850
7858
|
delete o.head, delete o.onRendered, delete o._index;
|
|
@@ -7868,25 +7876,25 @@ function ti(e, t = {}) {
|
|
|
7868
7876
|
}
|
|
7869
7877
|
//#endregion
|
|
7870
7878
|
//#region node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs
|
|
7871
|
-
var
|
|
7879
|
+
var ri = /* @__PURE__ */ new Set([
|
|
7872
7880
|
"link",
|
|
7873
7881
|
"style",
|
|
7874
7882
|
"script",
|
|
7875
7883
|
"noscript"
|
|
7876
|
-
]),
|
|
7884
|
+
]), ii = /* @__PURE__ */ new Set([
|
|
7877
7885
|
"title",
|
|
7878
7886
|
"titleTemplate",
|
|
7879
7887
|
"script",
|
|
7880
7888
|
"style",
|
|
7881
7889
|
"noscript"
|
|
7882
|
-
]),
|
|
7890
|
+
]), ai = /* @__PURE__ */ new Set([
|
|
7883
7891
|
"base",
|
|
7884
7892
|
"meta",
|
|
7885
7893
|
"link",
|
|
7886
7894
|
"style",
|
|
7887
7895
|
"script",
|
|
7888
7896
|
"noscript"
|
|
7889
|
-
]),
|
|
7897
|
+
]), oi = /* @__PURE__ */ new Set([
|
|
7890
7898
|
"title",
|
|
7891
7899
|
"base",
|
|
7892
7900
|
"htmlAttrs",
|
|
@@ -7896,14 +7904,14 @@ var ni = /* @__PURE__ */ new Set([
|
|
|
7896
7904
|
"style",
|
|
7897
7905
|
"script",
|
|
7898
7906
|
"noscript"
|
|
7899
|
-
]),
|
|
7907
|
+
]), si = /* @__PURE__ */ new Set([
|
|
7900
7908
|
"base",
|
|
7901
7909
|
"title",
|
|
7902
7910
|
"titleTemplate",
|
|
7903
7911
|
"bodyAttrs",
|
|
7904
7912
|
"htmlAttrs",
|
|
7905
7913
|
"templateParams"
|
|
7906
|
-
]),
|
|
7914
|
+
]), ci = /* @__PURE__ */ new Set([
|
|
7907
7915
|
"key",
|
|
7908
7916
|
"tagPosition",
|
|
7909
7917
|
"tagPriority",
|
|
@@ -7911,11 +7919,11 @@ var ni = /* @__PURE__ */ new Set([
|
|
|
7911
7919
|
"innerHTML",
|
|
7912
7920
|
"textContent",
|
|
7913
7921
|
"processTemplateParams"
|
|
7914
|
-
]),
|
|
7922
|
+
]), li = /* @__PURE__ */ new Set([
|
|
7915
7923
|
"templateParams",
|
|
7916
7924
|
"htmlAttrs",
|
|
7917
7925
|
"bodyAttrs"
|
|
7918
|
-
]),
|
|
7926
|
+
]), ui = /* @__PURE__ */ new Set([
|
|
7919
7927
|
"theme-color",
|
|
7920
7928
|
"google-site-verification",
|
|
7921
7929
|
"author",
|
|
@@ -7928,26 +7936,26 @@ var ni = /* @__PURE__ */ new Set([
|
|
|
7928
7936
|
"book:author",
|
|
7929
7937
|
"book:tag",
|
|
7930
7938
|
"twitter:image"
|
|
7931
|
-
]),
|
|
7939
|
+
]), di = {
|
|
7932
7940
|
critical: -8,
|
|
7933
7941
|
high: -1,
|
|
7934
7942
|
low: 2
|
|
7935
|
-
},
|
|
7943
|
+
}, fi = (e) => typeof e == "number" ? Number.isFinite(e) : e;
|
|
7936
7944
|
// @__NO_SIDE_EFFECTS__
|
|
7937
|
-
function
|
|
7945
|
+
function pi(e) {
|
|
7938
7946
|
return e === "__proto__" || e === "constructor" || e === "prototype";
|
|
7939
7947
|
}
|
|
7940
7948
|
//#endregion
|
|
7941
7949
|
//#region node_modules/hookable/dist/index.mjs
|
|
7942
|
-
function
|
|
7950
|
+
function mi(e, t, n, r) {
|
|
7943
7951
|
for (let i = n; i < e.length; i += 1) try {
|
|
7944
7952
|
let n = r ? r.run(() => e[i](...t)) : e[i](...t);
|
|
7945
|
-
if (n && typeof n.then == "function") return Promise.resolve(n).then(() =>
|
|
7953
|
+
if (n && typeof n.then == "function") return Promise.resolve(n).then(() => mi(e, t, i + 1, r));
|
|
7946
7954
|
} catch (e) {
|
|
7947
7955
|
return Promise.reject(e);
|
|
7948
7956
|
}
|
|
7949
7957
|
}
|
|
7950
|
-
var
|
|
7958
|
+
var hi = class {
|
|
7951
7959
|
_hooks;
|
|
7952
7960
|
constructor() {
|
|
7953
7961
|
this._hooks = {};
|
|
@@ -7966,24 +7974,24 @@ var mi = class {
|
|
|
7966
7974
|
}
|
|
7967
7975
|
callHook(e, ...t) {
|
|
7968
7976
|
let n = this._hooks[e];
|
|
7969
|
-
if (!(!n || n.length === 0)) return
|
|
7977
|
+
if (!(!n || n.length === 0)) return mi(n, t, 0);
|
|
7970
7978
|
}
|
|
7971
7979
|
};
|
|
7972
7980
|
//#endregion
|
|
7973
7981
|
//#region node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
|
|
7974
|
-
function
|
|
7975
|
-
let t = new
|
|
7982
|
+
function gi(e) {
|
|
7983
|
+
let t = new hi();
|
|
7976
7984
|
for (let n in e || {}) t.hook(n, e[n]);
|
|
7977
7985
|
return t;
|
|
7978
7986
|
}
|
|
7979
|
-
function
|
|
7987
|
+
function _i(e, t, n) {
|
|
7980
7988
|
if (e.hooks?._hooks?.[t]?.length) return e.hooks?.callHook(t, n);
|
|
7981
7989
|
}
|
|
7982
7990
|
//#endregion
|
|
7983
7991
|
//#region node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs
|
|
7984
|
-
function
|
|
7992
|
+
function vi(e, t, n) {
|
|
7985
7993
|
let r = e.push, i = e;
|
|
7986
|
-
i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) =>
|
|
7994
|
+
i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => ni(i, e), i.render = () => n(i);
|
|
7987
7995
|
function a() {
|
|
7988
7996
|
t.callHook("entries:updated", i), i._b || i.render();
|
|
7989
7997
|
}
|
|
@@ -8005,46 +8013,46 @@ function _i(e, t, n) {
|
|
|
8005
8013
|
}
|
|
8006
8014
|
//#endregion
|
|
8007
8015
|
//#region node_modules/unhead/dist/shared/unhead.-hZVKou0.mjs
|
|
8008
|
-
var
|
|
8016
|
+
var yi = /^(?:viewport|description|keywords|robots)$/, bi = [
|
|
8009
8017
|
"name",
|
|
8010
8018
|
"property",
|
|
8011
8019
|
"http-equiv"
|
|
8012
8020
|
];
|
|
8013
|
-
function
|
|
8021
|
+
function xi(e) {
|
|
8014
8022
|
let t = e.indexOf(":");
|
|
8015
8023
|
if (t === -1) return !1;
|
|
8016
8024
|
let n = e.slice(t + 1);
|
|
8017
|
-
return
|
|
8025
|
+
return ui.has(n) || n.startsWith("og:image:") || n.startsWith("og:video:") || n.startsWith("og:audio:") || n.startsWith("twitter:image:");
|
|
8018
8026
|
}
|
|
8019
|
-
function
|
|
8027
|
+
function Si(e) {
|
|
8020
8028
|
let { props: t, tag: n, key: r } = e;
|
|
8021
|
-
if (
|
|
8029
|
+
if (si.has(n)) return n;
|
|
8022
8030
|
if (n === "link") {
|
|
8023
8031
|
if (t.rel === "canonical") return "canonical";
|
|
8024
8032
|
if (t.rel === "alternate" && t.hreflang) return `alternate:${t.hreflang}`;
|
|
8025
8033
|
}
|
|
8026
8034
|
if (t.charset) return "charset";
|
|
8027
|
-
if (n === "meta") for (let e of
|
|
8035
|
+
if (n === "meta") for (let e of bi) {
|
|
8028
8036
|
let n = t[e];
|
|
8029
|
-
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !
|
|
8037
|
+
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !yi.test(n) && r ? `:key:${r}` : ""}`;
|
|
8030
8038
|
}
|
|
8031
|
-
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` :
|
|
8039
|
+
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` : ii.has(n) && (e.textContent || e.innerHTML) ? `${n}:content:${e.textContent || e.innerHTML}` : void 0;
|
|
8032
8040
|
}
|
|
8033
|
-
function
|
|
8041
|
+
function Ci(e) {
|
|
8034
8042
|
let t = e._h || e._d || e.textContent || e.innerHTML;
|
|
8035
8043
|
if (t) return t;
|
|
8036
8044
|
let n = Object.keys(e.props).sort(), r = `${e.tag}:`, i = "";
|
|
8037
8045
|
for (let t of n) r += `${i}${t}:${String(e.props[t])}`, i = ",";
|
|
8038
8046
|
return r;
|
|
8039
8047
|
}
|
|
8040
|
-
function
|
|
8048
|
+
function wi(e, t, n) {
|
|
8041
8049
|
if (n === "_resolver") return e;
|
|
8042
8050
|
typeof e == "function" && (!n || n !== "titleTemplate" && !n.startsWith("on")) && (e = e());
|
|
8043
8051
|
let r = t ? t(n, e) : e;
|
|
8044
8052
|
if (Array.isArray(r)) {
|
|
8045
8053
|
let e;
|
|
8046
8054
|
for (let n = 0; n < r.length; n++) {
|
|
8047
|
-
let i =
|
|
8055
|
+
let i = wi(r[n], t);
|
|
8048
8056
|
e ? e[n] = i : i !== r[n] && (e = r.slice(0, n), e[n] = i);
|
|
8049
8057
|
}
|
|
8050
8058
|
return e || r;
|
|
@@ -8052,7 +8060,7 @@ function Ci(e, t, n) {
|
|
|
8052
8060
|
if (r?.constructor === Object) {
|
|
8053
8061
|
let e;
|
|
8054
8062
|
for (let n in r) {
|
|
8055
|
-
let i = /* @__PURE__ */
|
|
8063
|
+
let i = /* @__PURE__ */ pi(n), a = i ? void 0 : wi(r[n], t, n);
|
|
8056
8064
|
if (!e && (i || a !== r[n])) {
|
|
8057
8065
|
e = {};
|
|
8058
8066
|
for (let t in r) {
|
|
@@ -8066,8 +8074,8 @@ function Ci(e, t, n) {
|
|
|
8066
8074
|
}
|
|
8067
8075
|
return r;
|
|
8068
8076
|
}
|
|
8069
|
-
var
|
|
8070
|
-
function
|
|
8077
|
+
var Ti = /[\s"'<>/=\x00-\x1F\x7F]/;
|
|
8078
|
+
function Ei(e, t) {
|
|
8071
8079
|
let n = e === "style", r = n ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set(), i = (e) => {
|
|
8072
8080
|
if (e) {
|
|
8073
8081
|
if (n) {
|
|
@@ -8084,18 +8092,18 @@ function Ti(e, t) {
|
|
|
8084
8092
|
}
|
|
8085
8093
|
return r;
|
|
8086
8094
|
}
|
|
8087
|
-
function
|
|
8095
|
+
function Di(e, t) {
|
|
8088
8096
|
if (e.props = e.props || {}, !t) return e;
|
|
8089
8097
|
if (e.tag === "templateParams") return e.props = t, e;
|
|
8090
|
-
let n =
|
|
8098
|
+
let n = ai.has(e.tag) || e.tag === "htmlAttrs" || e.tag === "bodyAttrs";
|
|
8091
8099
|
for (let r in t) {
|
|
8092
|
-
if (/* @__PURE__ */
|
|
8093
|
-
let i = r.startsWith("data-"), a = n && !
|
|
8094
|
-
if (a && (!o ||
|
|
8100
|
+
if (/* @__PURE__ */ pi(r)) continue;
|
|
8101
|
+
let i = r.startsWith("data-"), a = n && !ci.has(r), o = a && !i ? r.toLowerCase() : r;
|
|
8102
|
+
if (a && (!o || Ti.test(o))) continue;
|
|
8095
8103
|
let s = t[r];
|
|
8096
8104
|
if (s === null) e.props[o] = null;
|
|
8097
|
-
else if (r === "class" || r === "style") e.props[r] =
|
|
8098
|
-
else if (
|
|
8105
|
+
else if (r === "class" || r === "style") e.props[r] = Ei(r, s);
|
|
8106
|
+
else if (ci.has(r)) {
|
|
8099
8107
|
if ((r === "textContent" || r === "innerHTML") && typeof s == "object") {
|
|
8100
8108
|
let n = t.type || "application/json";
|
|
8101
8109
|
(n.endsWith("json") || n === "speculationrules" || n === "importmap") && (e.props.type = n, e[r] = JSON.stringify(s));
|
|
@@ -8107,19 +8115,19 @@ function Ei(e, t) {
|
|
|
8107
8115
|
}
|
|
8108
8116
|
return e;
|
|
8109
8117
|
}
|
|
8110
|
-
function
|
|
8118
|
+
function Oi(e, t) {
|
|
8111
8119
|
let n;
|
|
8112
8120
|
return t.length && (n = (e, n) => {
|
|
8113
8121
|
for (let r = 0; r < t.length; r++) n = t[r](e, n);
|
|
8114
8122
|
return n;
|
|
8115
|
-
}, e = n(void 0, e)),
|
|
8123
|
+
}, e = n(void 0, e)), wi(e, n);
|
|
8116
8124
|
}
|
|
8117
|
-
function
|
|
8118
|
-
let n =
|
|
8125
|
+
function ki(e, t) {
|
|
8126
|
+
let n = Di({
|
|
8119
8127
|
tag: e,
|
|
8120
8128
|
props: {}
|
|
8121
8129
|
}, typeof t == "object" && typeof t != "function" ? t : { [e === "script" || e === "noscript" || e === "style" ? "innerHTML" : "textContent"]: t });
|
|
8122
|
-
if (n.key &&
|
|
8130
|
+
if (n.key && ri.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)) {
|
|
8123
8131
|
let e = [];
|
|
8124
8132
|
for (let t of n.props.content) e.push({
|
|
8125
8133
|
...n,
|
|
@@ -8132,37 +8140,37 @@ function Oi(e, t) {
|
|
|
8132
8140
|
}
|
|
8133
8141
|
return n;
|
|
8134
8142
|
}
|
|
8135
|
-
function
|
|
8143
|
+
function Ai(e, t) {
|
|
8136
8144
|
if (Array.isArray(t)) for (let n of t) e.push(n);
|
|
8137
8145
|
else e.push(t);
|
|
8138
8146
|
}
|
|
8139
|
-
function
|
|
8147
|
+
function ji(e, t) {
|
|
8140
8148
|
if (!e) return [];
|
|
8141
|
-
typeof e == "function" && (e = e()), e =
|
|
8149
|
+
typeof e == "function" && (e = e()), e = Oi(e, t);
|
|
8142
8150
|
let n = [];
|
|
8143
8151
|
for (let t in e) {
|
|
8144
8152
|
let r = e[t];
|
|
8145
8153
|
if (r !== void 0) {
|
|
8146
|
-
if (Array.isArray(r)) for (let e of r)
|
|
8147
|
-
else
|
|
8154
|
+
if (Array.isArray(r)) for (let e of r) Ai(n, ki(t, e));
|
|
8155
|
+
else Ai(n, ki(t, r));
|
|
8148
8156
|
}
|
|
8149
8157
|
}
|
|
8150
8158
|
return n;
|
|
8151
8159
|
}
|
|
8152
|
-
var
|
|
8153
|
-
function
|
|
8160
|
+
var Mi = /</g, Ni = /<\/script/g, Pi = (e, t) => e._w === t._w ? e._p - t._p : e._w - t._w, Fi = () => 100;
|
|
8161
|
+
function Ii(e) {
|
|
8154
8162
|
for (let t in e) return !1;
|
|
8155
8163
|
return !0;
|
|
8156
8164
|
}
|
|
8157
|
-
var
|
|
8158
|
-
function
|
|
8165
|
+
var Li = /^tags:|:render/;
|
|
8166
|
+
function Ri(e, t) {
|
|
8159
8167
|
let n = (t["entries:resolve"]?.length || 0) + (t["entries:normalize"]?.length || 0);
|
|
8160
8168
|
if (e._h !== n) {
|
|
8161
8169
|
e._h = n;
|
|
8162
8170
|
for (let t of e.entries.values()) delete t._tags;
|
|
8163
8171
|
}
|
|
8164
8172
|
}
|
|
8165
|
-
function
|
|
8173
|
+
function zi(e) {
|
|
8166
8174
|
for (let t = 0; t < e.length; t++) {
|
|
8167
8175
|
let n = e[t], r = { ...n.props };
|
|
8168
8176
|
r.class instanceof Set && (r.class = new Set(r.class)), r.style instanceof Map && (r.style = new Map(r.style)), e[t] = {
|
|
@@ -8171,34 +8179,34 @@ function Ri(e) {
|
|
|
8171
8179
|
};
|
|
8172
8180
|
}
|
|
8173
8181
|
}
|
|
8174
|
-
function
|
|
8182
|
+
function Bi(e, t) {
|
|
8175
8183
|
let n = e.tags, r = 0;
|
|
8176
8184
|
for (let t of e.tagMap.values()) if (Array.isArray(t)) for (let e of t) n[r++] = e;
|
|
8177
8185
|
else n[r++] = t;
|
|
8178
|
-
n.length = r, t && n.sort(
|
|
8186
|
+
n.length = r, t && n.sort(Pi);
|
|
8179
8187
|
}
|
|
8180
|
-
function
|
|
8188
|
+
function Vi(e) {
|
|
8181
8189
|
let t = !1;
|
|
8182
|
-
for (let n of e.tags.sort(
|
|
8183
|
-
let r = n._d ||
|
|
8190
|
+
for (let n of e.tags.sort(Pi)) {
|
|
8191
|
+
let r = n._d || Ci(n);
|
|
8184
8192
|
if (!r) continue;
|
|
8185
8193
|
let i = e.tagMap.get(r);
|
|
8186
8194
|
if (!i) {
|
|
8187
8195
|
e.tagMap.set(r, n);
|
|
8188
8196
|
continue;
|
|
8189
8197
|
}
|
|
8190
|
-
if ((n.tagDuplicateStrategy || (
|
|
8198
|
+
if ((n.tagDuplicateStrategy || (li.has(n.tag) ? "merge" : null) || (n.key && n.key === i.key ? "merge" : null)) === "merge") {
|
|
8191
8199
|
let t = { ...i.props };
|
|
8192
8200
|
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];
|
|
8193
8201
|
e.tagMap.set(r, {
|
|
8194
8202
|
...n,
|
|
8195
8203
|
props: t
|
|
8196
8204
|
});
|
|
8197
|
-
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" &&
|
|
8205
|
+
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" && xi(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);
|
|
8198
8206
|
}
|
|
8199
8207
|
return t;
|
|
8200
8208
|
}
|
|
8201
|
-
function
|
|
8209
|
+
function Hi(e, t) {
|
|
8202
8210
|
let n = e.tagMap.get("title"), r = e.tagMap.get("titleTemplate");
|
|
8203
8211
|
if (t._title = n?.textContent, !r) return;
|
|
8204
8212
|
let i = r.textContent;
|
|
@@ -8213,73 +8221,73 @@ function Vi(e, t) {
|
|
|
8213
8221
|
textContent: a
|
|
8214
8222
|
});
|
|
8215
8223
|
}
|
|
8216
|
-
function
|
|
8224
|
+
function Ui(e) {
|
|
8217
8225
|
let t = 0;
|
|
8218
8226
|
for (let n of e) {
|
|
8219
8227
|
let { innerHTML: r, tag: i, props: a } = n;
|
|
8220
|
-
if (!(!
|
|
8228
|
+
if (!(!oi.has(i) || Ii(a) && !fi(r) && !fi(n.textContent)) && !(i === "meta" && !fi(a.content) && !a["http-equiv"] && !a.charset)) {
|
|
8221
8229
|
if (i === "script" && (r || n.textContent)) {
|
|
8222
|
-
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(
|
|
8223
|
-
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent && (n.textContent = i(n.textContent)), n._d =
|
|
8230
|
+
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(Mi, "\\u003C") : typeof e == "string" ? e.replace(Ni, "<\\/script") : e;
|
|
8231
|
+
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent && (n.textContent = i(n.textContent)), n._d = Si(n);
|
|
8224
8232
|
}
|
|
8225
8233
|
e[t++] = n;
|
|
8226
8234
|
}
|
|
8227
8235
|
}
|
|
8228
8236
|
return e.length = t, e;
|
|
8229
8237
|
}
|
|
8230
|
-
function
|
|
8231
|
-
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ??
|
|
8238
|
+
function Wi(e, t) {
|
|
8239
|
+
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ?? Fi, r = {
|
|
8232
8240
|
tagMap: /* @__PURE__ */ new Map(),
|
|
8233
8241
|
tags: []
|
|
8234
8242
|
}, i = e.hooks?._hooks || {};
|
|
8235
|
-
|
|
8243
|
+
Ri(e, i);
|
|
8236
8244
|
for (let t of e.entries.values()) t._pending !== void 0 && (t.input = t._pending, delete t._pending, delete t._tags, delete t._precomputedTags);
|
|
8237
8245
|
let a;
|
|
8238
|
-
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length &&
|
|
8246
|
+
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length && _i(e, "entries:resolve", {
|
|
8239
8247
|
entries: a,
|
|
8240
8248
|
...r
|
|
8241
|
-
})),
|
|
8249
|
+
})), Ri(e, i);
|
|
8242
8250
|
for (let t of a || e.entries.values()) {
|
|
8243
8251
|
let a = t._tags;
|
|
8244
8252
|
if (!a) {
|
|
8245
|
-
if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options ||
|
|
8253
|
+
if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options || Ii(t.options))) a = t._precomputedTags;
|
|
8246
8254
|
else {
|
|
8247
|
-
if (a =
|
|
8255
|
+
if (a = ji(t.input, e.resolvedOptions.propResolvers || []), t.options && !Ii(t.options)) for (let e of a) Object.assign(e, t.options);
|
|
8248
8256
|
if (i["entries:normalize"]?.length) {
|
|
8249
8257
|
let n = {
|
|
8250
8258
|
tags: a,
|
|
8251
8259
|
entry: t
|
|
8252
8260
|
};
|
|
8253
|
-
|
|
8261
|
+
_i(e, "entries:normalize", n), a = n.tags;
|
|
8254
8262
|
}
|
|
8255
8263
|
for (let e = 0; e < a.length; e++) {
|
|
8256
8264
|
let r = a[e];
|
|
8257
|
-
r._w = n(r), r._p = (t._i << 10) + e, r._d =
|
|
8265
|
+
r._w = n(r), r._p = (t._i << 10) + e, r._d = Si(r), r._d || (r._h = Ci(r));
|
|
8258
8266
|
}
|
|
8259
8267
|
t._tags = a;
|
|
8260
8268
|
}
|
|
8261
8269
|
}
|
|
8262
8270
|
r.tags.push(...a);
|
|
8263
8271
|
}
|
|
8264
|
-
for (let e in i) if (i[e]?.length &&
|
|
8265
|
-
|
|
8272
|
+
for (let e in i) if (i[e]?.length && Li.test(e)) {
|
|
8273
|
+
zi(r.tags);
|
|
8266
8274
|
break;
|
|
8267
8275
|
}
|
|
8268
|
-
let o =
|
|
8269
|
-
return
|
|
8276
|
+
let o = Vi(r);
|
|
8277
|
+
return Hi(r, e), Bi(r, o), _i(e, "tags:beforeResolve", r), _i(e, "tags:resolve", r), _i(e, "tags:afterResolve", r), Ui(r.tags);
|
|
8270
8278
|
}
|
|
8271
8279
|
//#endregion
|
|
8272
8280
|
//#region node_modules/unhead/dist/shared/unhead.Bjbp1C8D.mjs
|
|
8273
|
-
var
|
|
8281
|
+
var Gi = /\s+/;
|
|
8274
8282
|
// @__NO_SIDE_EFFECTS__
|
|
8275
|
-
function
|
|
8276
|
-
return (t) =>
|
|
8283
|
+
function Ki(e = {}) {
|
|
8284
|
+
return (t) => Yi(t, e);
|
|
8277
8285
|
}
|
|
8278
|
-
function
|
|
8286
|
+
function qi(e) {
|
|
8279
8287
|
for (let t of e.entries.values()) if (t._pending !== void 0) return !0;
|
|
8280
8288
|
return !1;
|
|
8281
8289
|
}
|
|
8282
|
-
function
|
|
8290
|
+
function Ji(e, t) {
|
|
8283
8291
|
let n = {
|
|
8284
8292
|
_d: t,
|
|
8285
8293
|
_t: t.title,
|
|
@@ -8294,15 +8302,15 @@ function qi(e, t) {
|
|
|
8294
8302
|
let r = e[t]?.class;
|
|
8295
8303
|
if (typeof r == "string") {
|
|
8296
8304
|
let e = n._e.get(t);
|
|
8297
|
-
for (let i of r.split(
|
|
8305
|
+
for (let i of r.split(Gi)) i && (n._p[`${t}:attr:class:${i}`] = () => e.classList.remove(i));
|
|
8298
8306
|
}
|
|
8299
8307
|
}
|
|
8300
8308
|
}
|
|
8301
8309
|
return n;
|
|
8302
8310
|
}
|
|
8303
|
-
function
|
|
8311
|
+
function Yi(e, t = {}) {
|
|
8304
8312
|
let n = t.document || e.resolvedOptions.document, r = e._dom;
|
|
8305
|
-
if (!n || e._du || r && r._d === n && !e.dirty && !
|
|
8313
|
+
if (!n || e._du || r && r._d === n && !e.dirty && !qi(e)) return !1;
|
|
8306
8314
|
let i = n.defaultView;
|
|
8307
8315
|
e._du = !0;
|
|
8308
8316
|
let a = !1;
|
|
@@ -8363,7 +8371,7 @@ function Ji(e, t = {}) {
|
|
|
8363
8371
|
shouldRender: !0,
|
|
8364
8372
|
tags: []
|
|
8365
8373
|
};
|
|
8366
|
-
if (
|
|
8374
|
+
if (_i(e, "dom:beforeRender", l), !l.shouldRender) return !1;
|
|
8367
8375
|
let u = r;
|
|
8368
8376
|
if (u?._d !== n) {
|
|
8369
8377
|
if (u) {
|
|
@@ -8373,35 +8381,35 @@ function Ji(e, t = {}) {
|
|
|
8373
8381
|
}
|
|
8374
8382
|
u = void 0;
|
|
8375
8383
|
}
|
|
8376
|
-
u ? u._p = u._s : u =
|
|
8384
|
+
u ? u._p = u._s : u = Ji(e, n), u._s = {};
|
|
8377
8385
|
let d = u, f = d._p, p = [], m = {};
|
|
8378
8386
|
e.dirty = !1;
|
|
8379
|
-
let h =
|
|
8387
|
+
let h = Wi(e, t.tagWeight ? { tagWeight: t.tagWeight } : void 0), g = [], _ = {};
|
|
8380
8388
|
for (let e of h) {
|
|
8381
8389
|
let t = _[e._d] || 0, r = (t ? `${e._d}:${t}` : e._d) || e._h, i = {
|
|
8382
8390
|
tag: e,
|
|
8383
8391
|
id: r,
|
|
8384
8392
|
shouldRender: !0
|
|
8385
8393
|
};
|
|
8386
|
-
if (e.tag === "meta" && e._d &&
|
|
8394
|
+
if (e.tag === "meta" && e._d && xi(e._d) && (_[e._d] = t + 1), g.push(i), e.tag === "title") {
|
|
8387
8395
|
n.title = e.textContent, o("title:", () => n.title = d._t);
|
|
8388
8396
|
continue;
|
|
8389
8397
|
}
|
|
8390
|
-
i.$el = d._e.get(r), i.$el ? c(i) :
|
|
8398
|
+
i.$el = d._e.get(r), i.$el ? c(i) : ai.has(e.tag) && p.push(i);
|
|
8391
8399
|
}
|
|
8392
8400
|
if (p.length) {
|
|
8393
8401
|
let e = new Set(d._e.values());
|
|
8394
8402
|
for (let t of [...n.body.children, ...n.head.children]) {
|
|
8395
8403
|
let n = t.tagName.toLowerCase();
|
|
8396
|
-
if (!
|
|
8404
|
+
if (!ai.has(n) || e.has(t)) continue;
|
|
8397
8405
|
let r = { innerHTML: t.innerHTML };
|
|
8398
8406
|
for (let e of t.getAttributeNames()) r[e] = t.getAttribute(e);
|
|
8399
|
-
let i =
|
|
8407
|
+
let i = Di({
|
|
8400
8408
|
tag: n,
|
|
8401
8409
|
props: {}
|
|
8402
8410
|
}, r);
|
|
8403
8411
|
i.key = t.getAttribute("data-hid") || void 0;
|
|
8404
|
-
let a =
|
|
8412
|
+
let a = Si(i) || Ci(i), o = a, s = 1;
|
|
8405
8413
|
for (; d._e.has(o);) o = `${a}:${s++}`;
|
|
8406
8414
|
d._e.set(o, t);
|
|
8407
8415
|
}
|
|
@@ -8412,42 +8420,42 @@ function Ji(e, t = {}) {
|
|
|
8412
8420
|
}
|
|
8413
8421
|
m.head && n.head.appendChild(m.head), m.bodyOpen && n.body.insertBefore(m.bodyOpen, n.body.firstChild), m.bodyClose && n.body.appendChild(m.bodyClose);
|
|
8414
8422
|
for (let e in f) f[e]();
|
|
8415
|
-
e._dom = d, a = !0,
|
|
8423
|
+
e._dom = d, a = !0, _i(e, "dom:rendered", { renders: g });
|
|
8416
8424
|
} catch (t) {
|
|
8417
8425
|
throw e.dirty = !0, t;
|
|
8418
8426
|
} finally {
|
|
8419
8427
|
e._du = !1;
|
|
8420
8428
|
}
|
|
8421
|
-
return a && (e.dirty ||
|
|
8429
|
+
return a && (e.dirty || qi(e)) && Yi(e, t), a;
|
|
8422
8430
|
}
|
|
8423
8431
|
//#endregion
|
|
8424
8432
|
//#region node_modules/unhead/dist/shared/unhead.oZ7pkTV1.mjs
|
|
8425
|
-
var
|
|
8426
|
-
function
|
|
8433
|
+
var Xi = (e) => typeof e.tagPriority == "number" ? e.tagPriority : 100 + (di[e.tagPriority] || 0);
|
|
8434
|
+
function Zi(e = {}) {
|
|
8427
8435
|
e.document = e.document || (typeof window < "u" ? document : void 0);
|
|
8428
|
-
let t = e.render || /* @__PURE__ */
|
|
8436
|
+
let t = e.render || /* @__PURE__ */ Ki({ document: e.document }), n = vi(/* @__PURE__ */ $(t, {
|
|
8429
8437
|
document: e.document,
|
|
8430
8438
|
propResolvers: e.propResolvers,
|
|
8431
|
-
_tagWeight:
|
|
8439
|
+
_tagWeight: Xi,
|
|
8432
8440
|
init: []
|
|
8433
|
-
}),
|
|
8441
|
+
}), gi(e.hooks), t);
|
|
8434
8442
|
return e.plugins?.forEach((e) => n.use(e)), e.init?.forEach((e) => e && n.push(e)), n;
|
|
8435
8443
|
}
|
|
8436
8444
|
//#endregion
|
|
8437
8445
|
//#region node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
|
|
8438
|
-
var
|
|
8446
|
+
var Qi = "usehead";
|
|
8439
8447
|
// @__NO_SIDE_EFFECTS__
|
|
8440
|
-
function
|
|
8448
|
+
function $i(e) {
|
|
8441
8449
|
return { install(t) {
|
|
8442
|
-
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(
|
|
8450
|
+
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(Qi, e);
|
|
8443
8451
|
} }.install;
|
|
8444
8452
|
}
|
|
8445
8453
|
//#endregion
|
|
8446
8454
|
//#region node_modules/@unhead/vue/dist/client.mjs
|
|
8447
8455
|
// @__NO_SIDE_EFFECTS__
|
|
8448
|
-
function
|
|
8449
|
-
let t = /* @__PURE__ */
|
|
8450
|
-
return n =
|
|
8456
|
+
function ea(e = {}) {
|
|
8457
|
+
let t = /* @__PURE__ */ Ki(), n, r = 0;
|
|
8458
|
+
return n = Zi({
|
|
8451
8459
|
render: () => {
|
|
8452
8460
|
let e = ++r;
|
|
8453
8461
|
setTimeout(() => {
|
|
@@ -8455,12 +8463,12 @@ function $i(e = {}) {
|
|
|
8455
8463
|
}, 0);
|
|
8456
8464
|
},
|
|
8457
8465
|
...e
|
|
8458
|
-
}), n.install = /* @__PURE__ */
|
|
8466
|
+
}), n.install = /* @__PURE__ */ $i(n), n;
|
|
8459
8467
|
}
|
|
8460
8468
|
//#endregion
|
|
8461
8469
|
//#region src/entries/hotel.ts
|
|
8462
|
-
var
|
|
8463
|
-
e.use(z), e.use(
|
|
8470
|
+
var ta = A(), na = /* @__PURE__ */ ea(), ra = k("konnectio-hotel", ti, (e) => {
|
|
8471
|
+
e.use(z), e.use(na), e.use(ta), e.use(O), e.use(nt), e.use(qe);
|
|
8464
8472
|
});
|
|
8465
8473
|
//#endregion
|
|
8466
|
-
export {
|
|
8474
|
+
export { ra as default };
|