@konnectio/core 4.4.6 → 4.4.8
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-CTkoxDQN.js → ActionField-DjYUsVEl.js} +2 -2
- package/dist/ActionField-DjYUsVEl.js.br +0 -0
- package/dist/ActionField-DjYUsVEl.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-9tE71bwP.js → AvailabilitySkeleton-Ced6gdUY.js} +129 -119
- package/dist/AvailabilitySkeleton-Ced6gdUY.js.br +0 -0
- package/dist/AvailabilitySkeleton-Ced6gdUY.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DkOuXGlv.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js.gz +0 -0
- package/dist/{CheckoutWindow-CZtT7Q0C.js → CheckoutWindow-B-HulkOw.js} +2 -2
- package/dist/CheckoutWindow-B-HulkOw.js.br +0 -0
- package/dist/CheckoutWindow-B-HulkOw.js.gz +0 -0
- package/dist/{ErrorMessage-CBLJCpqT.js → ErrorMessage-C-LZif3u.js} +2 -2
- package/dist/ErrorMessage-C-LZif3u.js.br +0 -0
- package/dist/ErrorMessage-C-LZif3u.js.gz +0 -0
- package/dist/{EventAvailabilityForm-DIPCP_Yv.js → EventAvailabilityForm-CdaoawQu.js} +3 -3
- package/dist/EventAvailabilityForm-CdaoawQu.js.br +0 -0
- package/dist/EventAvailabilityForm-CdaoawQu.js.gz +0 -0
- package/dist/{Field-BJbrnxHa.js → Field-BxQDGBO6.js} +3 -3
- package/dist/Field-BxQDGBO6.js.br +0 -0
- package/dist/Field-BxQDGBO6.js.gz +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BszCxs6z.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js} +2 -2
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-B5BfIJpL.js → SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js} +2597 -2530
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js.gz +0 -0
- package/dist/{TermsOfService-DeKRSqTJ.js → TermsOfService-9-UO5S3G.js} +3 -3
- package/dist/TermsOfService-9-UO5S3G.js.br +0 -0
- package/dist/TermsOfService-9-UO5S3G.js.gz +0 -0
- package/dist/_-DgORUiWu.js +5 -0
- package/dist/_-DgORUiWu.js.br +0 -0
- package/dist/_-DgORUiWu.js.gz +0 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-XhGPysaB.js → _.vue_vue_type_style_index_0_lang-C8tlnRr1.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js.gz +0 -0
- package/dist/availability.js +6 -6
- 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/event.js +9 -9
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +8 -8
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-BBDcgCRl.js → giftCard-D-f02FPM.js} +2 -2
- package/dist/giftCard-D-f02FPM.js.br +0 -0
- package/dist/giftCard-D-f02FPM.js.gz +0 -0
- package/dist/hotel.js +520 -501
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-HkqP2Yvp.js → index-CBRMHLd-.js} +3 -3
- package/dist/index-CBRMHLd-.js.br +0 -0
- package/dist/index-CBRMHLd-.js.gz +0 -0
- package/dist/{masonry.plugin-DRttUkMQ.js → masonry.plugin-emIQEcmM.js} +5 -5
- package/dist/masonry.plugin-emIQEcmM.js.br +0 -0
- package/dist/{masonry.plugin-DRttUkMQ.js.gz → masonry.plugin-emIQEcmM.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-BG10LOd1.js → style-DLdT0Zxs.js} +2 -2
- package/dist/style-DLdT0Zxs.js.br +0 -0
- package/dist/style-DLdT0Zxs.js.gz +0 -0
- package/package.json +8 -8
- package/dist/ActionField-CTkoxDQN.js.br +0 -0
- package/dist/ActionField-CTkoxDQN.js.gz +0 -0
- package/dist/AvailabilitySkeleton-9tE71bwP.js.br +0 -0
- package/dist/AvailabilitySkeleton-9tE71bwP.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DkOuXGlv.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DkOuXGlv.js.gz +0 -0
- package/dist/CheckoutWindow-CZtT7Q0C.js.br +0 -0
- package/dist/CheckoutWindow-CZtT7Q0C.js.gz +0 -0
- package/dist/ErrorMessage-CBLJCpqT.js.br +0 -0
- package/dist/ErrorMessage-CBLJCpqT.js.gz +0 -0
- package/dist/EventAvailabilityForm-DIPCP_Yv.js.br +0 -0
- package/dist/EventAvailabilityForm-DIPCP_Yv.js.gz +0 -0
- package/dist/Field-BJbrnxHa.js.br +0 -0
- package/dist/Field-BJbrnxHa.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BszCxs6z.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BszCxs6z.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-B5BfIJpL.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-B5BfIJpL.js.gz +0 -0
- package/dist/TermsOfService-DeKRSqTJ.js.br +0 -0
- package/dist/TermsOfService-DeKRSqTJ.js.gz +0 -0
- package/dist/_-CrM8kpmR.js +0 -5
- package/dist/_-CrM8kpmR.js.br +0 -0
- package/dist/_-CrM8kpmR.js.gz +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-XhGPysaB.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-XhGPysaB.js.gz +0 -0
- package/dist/giftCard-BBDcgCRl.js.br +0 -0
- package/dist/giftCard-BBDcgCRl.js.gz +0 -0
- package/dist/index-HkqP2Yvp.js.br +0 -0
- package/dist/index-HkqP2Yvp.js.gz +0 -0
- package/dist/masonry.plugin-DRttUkMQ.js.br +0 -0
- package/dist/style-BG10LOd1.js.br +0 -0
- package/dist/style-BG10LOd1.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { d as Nt, h as A, a as M, e as y, i as Z, F as ut, v as xt, J as je, K as Yn, c as rt, L as Xn, j as Ye, n as
|
|
2
|
-
import { f as
|
|
3
|
-
import { G as
|
|
4
|
-
import { R as
|
|
5
|
-
import { _ as Jt, f as Be, b as he, u as ki, I as Ct, s as ue, n as yi, l as Qn, r as ve, p as oe, t as no, a as uo, c as ln, F as
|
|
6
|
-
import { A as
|
|
7
|
-
import { S as
|
|
8
|
-
import { a as oo, B as
|
|
9
|
-
import { A as
|
|
10
|
-
import { g as
|
|
11
|
-
import { _ as
|
|
12
|
-
function
|
|
1
|
+
import { d as Nt, h as A, a as M, e as y, i as Z, F as ut, v as xt, J as je, K as Yn, c as rt, L as Xn, j as Ye, n as ye, M as xr, u as Kt, s as Wt, N as Tr, g as l, z as bt, A as Mr, w as nt, t as z, E as Pe, G as Ee, f as D, q as Kn, C as Sr, r as Xt, b as vt, x as Ls, O as Jo, o as lo, D as rn, S as Ar, P as Ir, k as Or, _ as zr, l as Er, m as Br, p as Zr } from "./mitt-Cj---5fy.js";
|
|
2
|
+
import { f as Dr } from "./index-CBRMHLd-.js";
|
|
3
|
+
import { G as Nr } from "./style-DLdT0Zxs.js";
|
|
4
|
+
import { R as Rr, B as an, L as Hr, S as Vr, M as Fr, T as Gr, C as Qo, b as Jn, V as Ur, a as $r } from "./masonry.plugin-emIQEcmM.js";
|
|
5
|
+
import { _ as Jt, f as Be, b as he, u as ki, I as Ct, s as ue, n as yi, l as Qn, r as ve, p as oe, t as no, a as uo, c as ln, F as Wr, h as ho, d as ne, i as bi, B as ws, H as ts, x as qr, T as ie, J as jr, M as es, q as is, K as ns, N as os, C as Yr, v as ss } from "./SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js";
|
|
6
|
+
import { A as Xr, H as Kr } from "./AvailabilitySkeleton-Ced6gdUY.js";
|
|
7
|
+
import { S as Jr } from "./TermsOfService-9-UO5S3G.js";
|
|
8
|
+
import { a as oo, B as ks, C as Qr, P as ta } from "./CheckoutWindow-B-HulkOw.js";
|
|
9
|
+
import { A as ea } from "./ActionField-DjYUsVEl.js";
|
|
10
|
+
import { g as ia } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
11
|
+
import { _ as Ps } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js";
|
|
12
|
+
function rs(r, d) {
|
|
13
13
|
return d ? {
|
|
14
14
|
width: window.innerWidth,
|
|
15
15
|
height: window.innerHeight,
|
|
@@ -17,10 +17,10 @@ function ss(r, d) {
|
|
|
17
17
|
top: 0
|
|
18
18
|
} : r.getBoundingClientRect();
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function as(r, d) {
|
|
21
21
|
return r && window.matchMedia && window.matchMedia(`(max-width: ${d}px)`).matches;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function ls() {
|
|
24
24
|
return {
|
|
25
25
|
onLoadCallback: null,
|
|
26
26
|
bounds: {},
|
|
@@ -36,57 +36,57 @@ function to(r, d, c, p) {
|
|
|
36
36
|
y: d - p
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function na(r, d) {
|
|
40
40
|
return {
|
|
41
41
|
x: (d.width - r.width) / r.width,
|
|
42
42
|
y: (d.height - r.height) / r.height
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function oa(r, d) {
|
|
46
46
|
return {
|
|
47
47
|
width: r.naturalWidth * d,
|
|
48
48
|
height: r.naturalHeight * d
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Cs(r) {
|
|
52
52
|
return {
|
|
53
53
|
x: typeof r.pageX == "number" ? r.pageX : r.changedTouches[0].pageX,
|
|
54
54
|
y: typeof r.pageY == "number" ? r.pageY : r.changedTouches[0].pageY
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function sa(r, d, c) {
|
|
58
58
|
const p = (r.pageX - (window.pageXOffset + d.bounds.left)) * -d.ratios.x, k = (r.pageY - (window.pageYOffset + d.bounds.top)) * -d.ratios.y;
|
|
59
59
|
return {
|
|
60
60
|
pageX: p + (c ? (window.innerWidth - d.bounds.width) / 2 : 0),
|
|
61
61
|
pageY: k + (c ? (window.innerHeight - d.bounds.height) / 2 : 0)
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function ra(r, d) {
|
|
65
65
|
const c = Math.abs(r.pageX - d.eventPosition.x), p = Math.abs(r.pageY - d.eventPosition.y);
|
|
66
66
|
return c > 5 || p > 5;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
const c =
|
|
68
|
+
function aa(r, d) {
|
|
69
|
+
const c = xs(r, d);
|
|
70
70
|
return {
|
|
71
71
|
left: Math.max(Math.min(c.x, d.bounds.width), 0) * -d.ratios.x,
|
|
72
72
|
top: Math.max(Math.min(c.y, d.bounds.height), 0) * -d.ratios.y
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
const c =
|
|
75
|
+
function la(r, d) {
|
|
76
|
+
const c = xs(r, d);
|
|
77
77
|
return {
|
|
78
78
|
left: Math.max(Math.min(c.x, 0), (d.scaledDimensions.width - d.bounds.width) * -1),
|
|
79
79
|
top: Math.max(Math.min(c.y, 0), (d.scaledDimensions.height - d.bounds.height) * -1)
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
const c =
|
|
82
|
+
function xs(r, d) {
|
|
83
|
+
const c = Cs(r);
|
|
84
84
|
return {
|
|
85
85
|
x: c.x - d.offsets.x,
|
|
86
86
|
y: c.y - d.offsets.y
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
const
|
|
89
|
+
const ua = Nt({
|
|
90
90
|
name: "InnerImageZoom",
|
|
91
91
|
props: {
|
|
92
92
|
moveType: {
|
|
@@ -144,7 +144,7 @@ const la = Nt({
|
|
|
144
144
|
};
|
|
145
145
|
},
|
|
146
146
|
created() {
|
|
147
|
-
this.imgProps =
|
|
147
|
+
this.imgProps = ls(), as(this.fullscreenOnMobile, this.mobileBreakpoint) && (this.isActive = !1);
|
|
148
148
|
},
|
|
149
149
|
computed: {
|
|
150
150
|
validSources: function() {
|
|
@@ -159,7 +159,7 @@ const la = Nt({
|
|
|
159
159
|
this.isActive = !0, this.zoomType === "hover" && !this.isZoomed && this.handleClick(r);
|
|
160
160
|
},
|
|
161
161
|
handleTouchStart() {
|
|
162
|
-
this.isTouch = !0, this.isFullscreen =
|
|
162
|
+
this.isTouch = !0, this.isFullscreen = as(this.fullscreenOnMobile, this.mobileBreakpoint), this.currentMoveType = "drag";
|
|
163
163
|
},
|
|
164
164
|
handleClick(r) {
|
|
165
165
|
if (this.isZoomed) {
|
|
@@ -169,15 +169,15 @@ const la = Nt({
|
|
|
169
169
|
this.isTouch && (this.isActive = !0), this.imgProps.zoomImg ? (this.handleLoad({ target: this.imgProps.zoomImg }), this.zoomIn(r)) : this.imgProps.onLoadCallback = this.zoomIn.bind(this, r);
|
|
170
170
|
},
|
|
171
171
|
handleLoad(r) {
|
|
172
|
-
const d =
|
|
173
|
-
this.imgProps.zoomImg = r.target, this.imgProps.zoomImg.setAttribute("width", d.width), this.imgProps.zoomImg.setAttribute("height", d.height), this.imgProps.scaledDimensions = d, this.imgProps.bounds =
|
|
172
|
+
const d = oa(r.target, this.zoomScale);
|
|
173
|
+
this.imgProps.zoomImg = r.target, this.imgProps.zoomImg.setAttribute("width", d.width), this.imgProps.zoomImg.setAttribute("height", d.height), this.imgProps.scaledDimensions = d, this.imgProps.bounds = rs(this.$refs.img, !1), this.imgProps.ratios = na(this.imgProps.bounds, d), this.imgProps.onLoadCallback && (this.imgProps.onLoadCallback(), this.imgProps.onLoadCallback = null);
|
|
174
174
|
},
|
|
175
175
|
handleMouseMove(r) {
|
|
176
|
-
const d =
|
|
176
|
+
const d = aa(r, this.imgProps);
|
|
177
177
|
this.left = d.left, this.top = d.top;
|
|
178
178
|
},
|
|
179
179
|
handleDragStart(r) {
|
|
180
|
-
const d =
|
|
180
|
+
const d = Cs(r);
|
|
181
181
|
this.imgProps.offsets = to(
|
|
182
182
|
d.x,
|
|
183
183
|
d.y,
|
|
@@ -188,11 +188,11 @@ const la = Nt({
|
|
|
188
188
|
}), this.isTouch || (this.imgProps.eventPosition = d);
|
|
189
189
|
},
|
|
190
190
|
handleDragMove(r) {
|
|
191
|
-
const d =
|
|
191
|
+
const d = la(r, this.imgProps);
|
|
192
192
|
this.left = d.left, this.top = d.top;
|
|
193
193
|
},
|
|
194
194
|
handleDragEnd(r) {
|
|
195
|
-
this.imgProps.zoomImg.removeEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove), this.isTouch || (this.isDragging =
|
|
195
|
+
this.imgProps.zoomImg.removeEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove), this.isTouch || (this.isDragging = ra(r, this.imgProps));
|
|
196
196
|
},
|
|
197
197
|
handleMouseLeave(r) {
|
|
198
198
|
this.currentMoveType === "drag" && this.isZoomed ? this.handleDragEnd(r) : this.handleClose();
|
|
@@ -201,7 +201,7 @@ const la = Nt({
|
|
|
201
201
|
this.zoomOut(() => {
|
|
202
202
|
setTimeout(
|
|
203
203
|
() => {
|
|
204
|
-
(this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps =
|
|
204
|
+
(this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps = ls()), this.isTouch = !1, this.isFullscreen = !1, this.currentMoveType = this.moveType;
|
|
205
205
|
},
|
|
206
206
|
this.isFullscreen ? 0 : this.fadeDuration
|
|
207
207
|
);
|
|
@@ -216,8 +216,8 @@ const la = Nt({
|
|
|
216
216
|
), this.handleMouseMove(r);
|
|
217
217
|
},
|
|
218
218
|
initialDragMove(r) {
|
|
219
|
-
const d =
|
|
220
|
-
this.imgProps.bounds =
|
|
219
|
+
const d = sa(r, this.imgProps, this.isFullscreen);
|
|
220
|
+
this.imgProps.bounds = rs(this.$refs.img, this.isFullscreen), this.imgProps.offsets = to(0, 0, 0, 0), this.handleDragMove({
|
|
221
221
|
...d,
|
|
222
222
|
preventDefault: () => {
|
|
223
223
|
},
|
|
@@ -232,11 +232,11 @@ const la = Nt({
|
|
|
232
232
|
this.isZoomed = !1, this.afterZoomOut && this.afterZoomOut(), r && r();
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
}),
|
|
235
|
+
}), ha = { key: 0 }, ca = ["src", "width", "height"], da = ["src", "width", "height"], fa = { class: "iiz__zoom-portal" }, ma = ["src"], pa = ["src"], _a = {
|
|
236
236
|
key: 1,
|
|
237
237
|
class: "iiz__btn iiz__hint"
|
|
238
238
|
};
|
|
239
|
-
function
|
|
239
|
+
function ga(r, d, c, p, k, o) {
|
|
240
240
|
return M(), A("figure", je({
|
|
241
241
|
class: ["iiz", {
|
|
242
242
|
...r.className && { [r.className]: r.className },
|
|
@@ -262,7 +262,7 @@ function _a(r, d, c, p, k, o) {
|
|
|
262
262
|
paddingTop: r.createSpacer ? `${(r.height || 0) / (r.width || 0) * 100}%` : void 0
|
|
263
263
|
})
|
|
264
264
|
}, [
|
|
265
|
-
r.validSources ? (M(), A("picture",
|
|
265
|
+
r.validSources ? (M(), A("picture", ha, [
|
|
266
266
|
(M(!0), A(ut, null, xt(r.validSources, (a, h) => (M(), A("source", je({ key: h }, { ref_for: !0 }, a), null, 16))), 128)),
|
|
267
267
|
y("img", je(r.imgAttributes, {
|
|
268
268
|
class: ["iiz__img", [r.imgAttributes.className || "", { "iiz__img--hidden": r.isZoomed, "iiz__img--abs": r.createSpacer }]],
|
|
@@ -272,7 +272,7 @@ function _a(r, d, c, p, k, o) {
|
|
|
272
272
|
src: r.src,
|
|
273
273
|
width: r.width,
|
|
274
274
|
height: r.height
|
|
275
|
-
}), null, 16,
|
|
275
|
+
}), null, 16, ca)
|
|
276
276
|
])) : (M(), A("img", je({ key: 1 }, r.imgAttributes, {
|
|
277
277
|
class: ["iiz__img", [r.imgAttributes.className || "", { "iiz__img--hidden": r.isZoomed, "iiz__img--abs": r.createSpacer }]],
|
|
278
278
|
style: {
|
|
@@ -281,14 +281,14 @@ function _a(r, d, c, p, k, o) {
|
|
|
281
281
|
src: r.src,
|
|
282
282
|
width: r.width,
|
|
283
283
|
height: r.height
|
|
284
|
-
}), null, 16,
|
|
284
|
+
}), null, 16, da))
|
|
285
285
|
], 4),
|
|
286
286
|
r.isActive ? (M(), A(ut, { key: 0 }, [
|
|
287
|
-
r.isFullscreen ? (M(), rt(
|
|
287
|
+
r.isFullscreen ? (M(), rt(xr, {
|
|
288
288
|
key: 0,
|
|
289
289
|
to: "body"
|
|
290
290
|
}, [
|
|
291
|
-
y("div",
|
|
291
|
+
y("div", fa, [
|
|
292
292
|
y("img", je({
|
|
293
293
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": r.isZoomed }],
|
|
294
294
|
alt: "",
|
|
@@ -306,11 +306,11 @@ function _a(r, d, c, p, k, o) {
|
|
|
306
306
|
mousedown: r.handleDragStart,
|
|
307
307
|
mouseup: r.handleDragEnd,
|
|
308
308
|
click: r.handleClick
|
|
309
|
-
}, !0)), null, 16,
|
|
309
|
+
}, !0)), null, 16, ma),
|
|
310
310
|
!r.hideCloseButton && r.currentMoveType === "drag" ? (M(), A("button", {
|
|
311
311
|
key: 0,
|
|
312
312
|
type: "button",
|
|
313
|
-
class:
|
|
313
|
+
class: ye(["iiz__btn iiz__close", { "iiz__close--visible": r.isZoomed }]),
|
|
314
314
|
"aria-label": "Zoom Out",
|
|
315
315
|
style: Yn({
|
|
316
316
|
transition: `linear ${r.isFullscreen ? 0 : r.fadeDuration}ms opacity, linear ${r.isFullscreen ? 0 : r.fadeDuration}ms visibility`
|
|
@@ -335,10 +335,10 @@ function _a(r, d, c, p, k, o) {
|
|
|
335
335
|
touchend: r.handleDragEnd,
|
|
336
336
|
mousedown: r.handleDragStart,
|
|
337
337
|
mouseup: r.handleDragEnd
|
|
338
|
-
}, !0)), null, 16,
|
|
338
|
+
}, !0)), null, 16, pa),
|
|
339
339
|
!r.hideCloseButton && r.currentMoveType === "drag" ? (M(), A("button", {
|
|
340
340
|
key: 0,
|
|
341
|
-
class:
|
|
341
|
+
class: ye(["iiz__btn iiz__close", { "iiz__close--visible": r.isZoomed }]),
|
|
342
342
|
type: "button",
|
|
343
343
|
"aria-label": "Zoom Out",
|
|
344
344
|
style: Yn({
|
|
@@ -348,10 +348,10 @@ function _a(r, d, c, p, k, o) {
|
|
|
348
348
|
}, null, 6)) : Z("", !0)
|
|
349
349
|
], 64))
|
|
350
350
|
], 64)) : Z("", !0),
|
|
351
|
-
!r.isZoomed && !r.hideHint ? (M(), A("span",
|
|
351
|
+
!r.isZoomed && !r.hideHint ? (M(), A("span", _a)) : Z("", !0)
|
|
352
352
|
], 16);
|
|
353
353
|
}
|
|
354
|
-
const
|
|
354
|
+
const us = /* @__PURE__ */ Jt(ua, [["render", ga], ["__scopeId", "data-v-71b2d8af"]]), va = { key: 0 }, ya = { class: "konnectio-hotel-reservation-warning" }, ba = { class: "konnectio-hotel-reservation-warning" }, La = { class: "konnectio-hotel-reservation-warning" }, wa = { key: 1 }, ka = { class: "konnectio-hotel-reservation-title" }, Pa = { class: "konnectio-hotel-reservation-information" }, Ca = { class: "konnectio-hotel-reservation-guests" }, xa = { key: 0 }, Ta = {
|
|
355
355
|
key: 0,
|
|
356
356
|
class: "konnectio-hotel-reservation-room-name"
|
|
357
357
|
}, Ma = ["onClick"], Sa = { key: 0 }, Aa = { key: 1 }, Ia = { key: 0 }, Oa = { class: "konnectio-reservation-actions" }, za = {
|
|
@@ -374,7 +374,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
374
374
|
const { t: d } = Kt(), {
|
|
375
375
|
disableNewsletterSignup: c,
|
|
376
376
|
currency: p
|
|
377
|
-
} =
|
|
377
|
+
} = Wt(Be()), {
|
|
378
378
|
hasArrivalDepartureInputs: k
|
|
379
379
|
} = Be(), {
|
|
380
380
|
arrivalTime: o,
|
|
@@ -399,17 +399,17 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
399
399
|
totalTemplateAddonPrice: Mt,
|
|
400
400
|
totalRooms: Rt,
|
|
401
401
|
totalAdults: et,
|
|
402
|
-
totalChildren:
|
|
403
|
-
templateRoomTotalPrice:
|
|
402
|
+
totalChildren: Y,
|
|
403
|
+
templateRoomTotalPrice: q,
|
|
404
404
|
weekendFee: It,
|
|
405
405
|
selectedMemberCardData: at
|
|
406
|
-
} =
|
|
406
|
+
} = Wt(he()), { hasHotelLocations: Ht } = Wt(ki()), { removeRoom: ht, validateDiscountCode: Vt, getMandatoryRoomGroupAddons: F } = he(), { getHotelLocationName: Ce } = ki(), U = Xt(!1);
|
|
407
407
|
function ct(yt) {
|
|
408
|
-
return yt.reduce((
|
|
408
|
+
return yt.reduce((_t, { totalPrice: G }) => _t + G, 0);
|
|
409
409
|
}
|
|
410
410
|
return (yt, dt) => {
|
|
411
|
-
const
|
|
412
|
-
return M(), rt(
|
|
411
|
+
const _t = Tr("tooltip");
|
|
412
|
+
return M(), rt(Rr, {
|
|
413
413
|
"discount-code": l(lt),
|
|
414
414
|
"onUpdate:discountCode": dt[4] || (dt[4] = (G) => bt(lt) ? lt.value = G : null),
|
|
415
415
|
"validate-discount-code": l(Vt),
|
|
@@ -420,7 +420,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
420
420
|
"is-sidebar-loading": l(b),
|
|
421
421
|
notice: l(d)("hotel.reservationNotice"),
|
|
422
422
|
"prev-callback": r.prevCallback
|
|
423
|
-
},
|
|
423
|
+
}, Mr({
|
|
424
424
|
form: nt(() => [
|
|
425
425
|
Kn(yt.$slots, "form", {}, void 0, !0)
|
|
426
426
|
]),
|
|
@@ -491,7 +491,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
491
491
|
y("span", null, z(l(ve)(l(v).title)), 1)
|
|
492
492
|
]),
|
|
493
493
|
y("b", null, [
|
|
494
|
-
y("span", null, z(l(oe)(l(
|
|
494
|
+
y("span", null, z(l(oe)(l(q), l(p))), 1)
|
|
495
495
|
]),
|
|
496
496
|
l(F)(l(v).id) ? (M(!0), A(ut, { key: 0 }, xt(l(F)(l(v).id), (G) => (M(), A(ut, null, [
|
|
497
497
|
y("span", null, "- " + z(G.name), 1),
|
|
@@ -527,7 +527,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
527
527
|
name: "terms"
|
|
528
528
|
}, {
|
|
529
529
|
default: nt(() => [
|
|
530
|
-
D(l(
|
|
530
|
+
D(l(Sr), {
|
|
531
531
|
keypath: "general.termsAndConditionsCheckbox",
|
|
532
532
|
tag: "span",
|
|
533
533
|
scope: "global"
|
|
@@ -547,7 +547,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
547
547
|
}, 8, ["modelValue"])
|
|
548
548
|
])) : Z("", !0),
|
|
549
549
|
Kn(yt.$slots, "actions", {}, void 0, !0),
|
|
550
|
-
D(
|
|
550
|
+
D(Jr, {
|
|
551
551
|
modelValue: U.value,
|
|
552
552
|
"onUpdate:modelValue": dt[3] || (dt[3] = (G) => U.value = G),
|
|
553
553
|
description: l(ot)
|
|
@@ -560,13 +560,13 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
560
560
|
"mobile-under-price": nt(() => [
|
|
561
561
|
y("span", null, z(l(d)("general.for")) + ": ", 1),
|
|
562
562
|
y("b", null, z(l(yi)(l(T), l(C))) + " " + z(l(Qn)(l(yi)(l(T), l(C)) === 1 ? l(d)("booking.reservation.night") : l(d)("booking.reservation.nights"))), 1),
|
|
563
|
-
|
|
563
|
+
Pe((M(), A("span", Ba, [
|
|
564
564
|
D(Ct, {
|
|
565
565
|
icon: "circle-info",
|
|
566
566
|
type: "fas"
|
|
567
567
|
})
|
|
568
568
|
])), [
|
|
569
|
-
[
|
|
569
|
+
[_t, {
|
|
570
570
|
content: `<span>(${l(ue)(l(T))} - ${l(ue)(l(C))})</span>`,
|
|
571
571
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
572
572
|
html: !0
|
|
@@ -575,7 +575,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
575
575
|
]),
|
|
576
576
|
"mobile-summary": nt(() => [
|
|
577
577
|
y("span", null, z(`${l(et)} ${l(et) === 1 ? l(d)("general.adult") : l(d)("general.adults")}`), 1),
|
|
578
|
-
y("span", null, z(`${l(
|
|
578
|
+
y("span", null, z(`${l(Y)} ${l(Y) === 1 ? l(d)("general.child") : l(d)("general.children")}`), 1),
|
|
579
579
|
y("span", null, z(`${l(Rt)} ${l(Rt) === 1 ? l(d)("booking.reservation.room") : l(d)("booking.reservation.rooms")}`), 1)
|
|
580
580
|
]),
|
|
581
581
|
_: 2
|
|
@@ -587,7 +587,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
587
587
|
y("span", null, z(l(d)("general.location")), 1),
|
|
588
588
|
y("b", null, [
|
|
589
589
|
y("span", null, z(l(Ce)(l(O))), 1),
|
|
590
|
-
|
|
590
|
+
Pe(y("span", ya, [
|
|
591
591
|
D(Ct, {
|
|
592
592
|
icon: "exclamation-triangle",
|
|
593
593
|
type: "fas"
|
|
@@ -601,7 +601,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
601
601
|
y("span", null, z(l(d)("booking.reservation.arrival")), 1),
|
|
602
602
|
y("b", null, [
|
|
603
603
|
y("span", null, z(l(k)(l(O)) ? `${l(ue)(l(T))}, ${l(o)}` : l(ue)(l(T))), 1),
|
|
604
|
-
|
|
604
|
+
Pe(y("span", ba, [
|
|
605
605
|
D(Ct, {
|
|
606
606
|
icon: "exclamation-triangle",
|
|
607
607
|
type: "fas"
|
|
@@ -615,7 +615,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
615
615
|
y("span", null, z(l(d)("booking.reservation.departure")), 1),
|
|
616
616
|
y("b", null, [
|
|
617
617
|
y("span", null, z(l(k)(l(O)) ? `${l(ue)(l(C))}, ${l(a)}` : l(ue)(l(C))), 1),
|
|
618
|
-
|
|
618
|
+
Pe(y("span", La, [
|
|
619
619
|
D(Ct, {
|
|
620
620
|
icon: "exclamation-triangle",
|
|
621
621
|
type: "fas"
|
|
@@ -674,7 +674,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
674
674
|
y("p", {
|
|
675
675
|
innerHTML: l(d)("guestDiscount.description")
|
|
676
676
|
}, null, 8, Ha),
|
|
677
|
-
D(
|
|
677
|
+
D(ea, {
|
|
678
678
|
modelValue: o.value,
|
|
679
679
|
"onUpdate:modelValue": f[0] || (f[0] = (g) => o.value = g),
|
|
680
680
|
label: l(d)("guestDiscount.guestDiscountCode"),
|
|
@@ -700,7 +700,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
700
700
|
},
|
|
701
701
|
emits: ["update:modelValue"],
|
|
702
702
|
setup(r, { emit: d }) {
|
|
703
|
-
const { t: c } = Kt(), { currency: p } =
|
|
703
|
+
const { t: c } = Kt(), { currency: p } = Wt(Be()), k = d, o = r;
|
|
704
704
|
function a(f) {
|
|
705
705
|
k("update:modelValue", f);
|
|
706
706
|
}
|
|
@@ -756,7 +756,7 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
756
756
|
]),
|
|
757
757
|
y("div", ja, [
|
|
758
758
|
g[1] || (g[1] = y("span", null, null, -1)),
|
|
759
|
-
|
|
759
|
+
Ls(" " + z(`(${l(oe)(b.price, l(p))})`), 1)
|
|
760
760
|
])
|
|
761
761
|
])
|
|
762
762
|
]),
|
|
@@ -765,9 +765,9 @@ const ga = /* @__PURE__ */ Jt(la, [["render", _a], ["__scopeId", "data-v-71b2d8a
|
|
|
765
765
|
}
|
|
766
766
|
}), Xa = /* @__PURE__ */ Jt(Ya, [["__scopeId", "data-v-c4045bfc"]]);
|
|
767
767
|
var Li = { exports: {} };
|
|
768
|
-
var Ka = Li.exports,
|
|
768
|
+
var Ka = Li.exports, hs;
|
|
769
769
|
function Ja() {
|
|
770
|
-
return
|
|
770
|
+
return hs || (hs = 1, (function(r, d) {
|
|
771
771
|
(function(c, p) {
|
|
772
772
|
p(d);
|
|
773
773
|
})(Ka, (function(c) {
|
|
@@ -870,13 +870,13 @@ function Ja() {
|
|
|
870
870
|
var Rt = window.requestAnimationFrame || Lt("RequestAnimationFrame") || Mt, et = window.cancelAnimationFrame || Lt("CancelAnimationFrame") || Lt("CancelRequestAnimationFrame") || function(t) {
|
|
871
871
|
window.clearTimeout(t);
|
|
872
872
|
};
|
|
873
|
-
function
|
|
873
|
+
function Y(t, e, i) {
|
|
874
874
|
if (i && Rt === Mt)
|
|
875
875
|
t.call(e);
|
|
876
876
|
else
|
|
877
877
|
return Rt.call(window, a(t, e));
|
|
878
878
|
}
|
|
879
|
-
function
|
|
879
|
+
function q(t) {
|
|
880
880
|
t && et.call(window, t);
|
|
881
881
|
}
|
|
882
882
|
var It = {
|
|
@@ -902,8 +902,8 @@ function Ja() {
|
|
|
902
902
|
emptyImageUrl: lt,
|
|
903
903
|
requestFn: Rt,
|
|
904
904
|
cancelFn: et,
|
|
905
|
-
requestAnimFrame:
|
|
906
|
-
cancelAnimFrame:
|
|
905
|
+
requestAnimFrame: Y,
|
|
906
|
+
cancelAnimFrame: q
|
|
907
907
|
};
|
|
908
908
|
function at() {
|
|
909
909
|
}
|
|
@@ -1344,7 +1344,7 @@ function Ja() {
|
|
|
1344
1344
|
if (n = t._southWest, s = t._northEast, !n || !s)
|
|
1345
1345
|
return this;
|
|
1346
1346
|
} else
|
|
1347
|
-
return t ? this.extend(J(t) ||
|
|
1347
|
+
return t ? this.extend(J(t) || _t(t)) : this;
|
|
1348
1348
|
return !e && !i ? (this._southWest = new G(n.lat, n.lng), this._northEast = new G(s.lat, s.lng)) : (e.lat = Math.min(n.lat, e.lat), e.lng = Math.min(n.lng, e.lng), i.lat = Math.max(s.lat, i.lat), i.lng = Math.max(s.lng, i.lng)), this;
|
|
1349
1349
|
},
|
|
1350
1350
|
// @method pad(bufferRatio: Number): LatLngBounds
|
|
@@ -1412,21 +1412,21 @@ function Ja() {
|
|
|
1412
1412
|
// @method contains (latlng: LatLng): Boolean
|
|
1413
1413
|
// Returns `true` if the rectangle contains the given point.
|
|
1414
1414
|
contains: function(t) {
|
|
1415
|
-
typeof t[0] == "number" || t instanceof G || "lat" in t ? t = J(t) : t =
|
|
1415
|
+
typeof t[0] == "number" || t instanceof G || "lat" in t ? t = J(t) : t = _t(t);
|
|
1416
1416
|
var e = this._southWest, i = this._northEast, n, s;
|
|
1417
1417
|
return t instanceof dt ? (n = t.getSouthWest(), s = t.getNorthEast()) : n = s = t, n.lat >= e.lat && s.lat <= i.lat && n.lng >= e.lng && s.lng <= i.lng;
|
|
1418
1418
|
},
|
|
1419
1419
|
// @method intersects(otherBounds: LatLngBounds): Boolean
|
|
1420
1420
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.
|
|
1421
1421
|
intersects: function(t) {
|
|
1422
|
-
t =
|
|
1422
|
+
t = _t(t);
|
|
1423
1423
|
var e = this._southWest, i = this._northEast, n = t.getSouthWest(), s = t.getNorthEast(), u = s.lat >= e.lat && n.lat <= i.lat, m = s.lng >= e.lng && n.lng <= i.lng;
|
|
1424
1424
|
return u && m;
|
|
1425
1425
|
},
|
|
1426
1426
|
// @method overlaps(otherBounds: LatLngBounds): Boolean
|
|
1427
1427
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds overlap if their intersection is an area.
|
|
1428
1428
|
overlaps: function(t) {
|
|
1429
|
-
t =
|
|
1429
|
+
t = _t(t);
|
|
1430
1430
|
var e = this._southWest, i = this._northEast, n = t.getSouthWest(), s = t.getNorthEast(), u = s.lat > e.lat && n.lat < i.lat, m = s.lng > e.lng && n.lng < i.lng;
|
|
1431
1431
|
return u && m;
|
|
1432
1432
|
},
|
|
@@ -1438,7 +1438,7 @@ function Ja() {
|
|
|
1438
1438
|
// @method equals(otherBounds: LatLngBounds, maxMargin?: Number): Boolean
|
|
1439
1439
|
// Returns `true` if the rectangle is equivalent (within a small margin of error) to the given bounds. The margin of error can be overridden by setting `maxMargin` to a small number.
|
|
1440
1440
|
equals: function(t, e) {
|
|
1441
|
-
return t ? (t =
|
|
1441
|
+
return t ? (t = _t(t), this._southWest.equals(t.getSouthWest(), e) && this._northEast.equals(t.getNorthEast(), e)) : !1;
|
|
1442
1442
|
},
|
|
1443
1443
|
// @method isValid(): Boolean
|
|
1444
1444
|
// Returns `true` if the bounds are properly initialized.
|
|
@@ -1446,7 +1446,7 @@ function Ja() {
|
|
|
1446
1446
|
return !!(this._southWest && this._northEast);
|
|
1447
1447
|
}
|
|
1448
1448
|
};
|
|
1449
|
-
function
|
|
1449
|
+
function _t(t, e) {
|
|
1450
1450
|
return t instanceof dt ? t : new dt(t, e);
|
|
1451
1451
|
}
|
|
1452
1452
|
function G(t, e, i) {
|
|
@@ -1486,7 +1486,7 @@ function Ja() {
|
|
|
1486
1486
|
// Returns a new `LatLngBounds` object in which each boundary is `sizeInMeters/2` meters apart from the `LatLng`.
|
|
1487
1487
|
toBounds: function(t) {
|
|
1488
1488
|
var e = 180 * t / 40075017, i = e / Math.cos(Math.PI / 180 * this.lat);
|
|
1489
|
-
return
|
|
1489
|
+
return _t(
|
|
1490
1490
|
[this.lat - e, this.lng - i],
|
|
1491
1491
|
[this.lat + e, this.lng + i]
|
|
1492
1492
|
);
|
|
@@ -1644,14 +1644,14 @@ function Ja() {
|
|
|
1644
1644
|
function se(t, e, i, n) {
|
|
1645
1645
|
return new ce(t, e, i, n);
|
|
1646
1646
|
}
|
|
1647
|
-
var
|
|
1647
|
+
var be = k({}, Ut, {
|
|
1648
1648
|
code: "EPSG:3857",
|
|
1649
1649
|
projection: wt,
|
|
1650
1650
|
transformation: (function() {
|
|
1651
1651
|
var t = 0.5 / (Math.PI * wt.R);
|
|
1652
1652
|
return se(t, 0.5, -t, 0.5);
|
|
1653
1653
|
})()
|
|
1654
|
-
}), Pi = k({},
|
|
1654
|
+
}), Pi = k({}, be, {
|
|
1655
1655
|
code: "EPSG:900913"
|
|
1656
1656
|
});
|
|
1657
1657
|
function Ci(t) {
|
|
@@ -1666,7 +1666,7 @@ function Ja() {
|
|
|
1666
1666
|
}
|
|
1667
1667
|
return i || "M0 0";
|
|
1668
1668
|
}
|
|
1669
|
-
var
|
|
1669
|
+
var Le = document.documentElement.style, Qt = "ActiveXObject" in window, un = Qt && !document.addEventListener, xi = "msLaunchUri" in navigator && !("documentMode" in document), Xe = qt("webkit"), Ti = qt("android"), Mi = qt("android 2") || qt("android 3"), Ke = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), hn = Ti && qt("Google") && Ke < 537 && !("AudioNode" in window), Je = !!window.opera, Si = !xi && qt("chrome"), Ai = qt("gecko") && !Xe && !Je && !Qt, cn = !Si && qt("safari"), Ii = qt("phantom"), Qe = "OTransition" in Le, Oi = navigator.platform.indexOf("Win") === 0, zi = Qt && "transition" in Le, ti = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Mi, Ei = "MozPerspective" in Le, Bi = !window.L_DISABLE_3D && (zi || ti || Ei) && !Qe && !Ii, de = typeof orientation < "u" || qt("mobile"), dn = de && Xe, ei = de && ti, Ze = !window.PointerEvent && window.MSPointerEvent, Zi = !!(window.PointerEvent || Ze), Di = "ontouchstart" in window || !!window.TouchEvent, fn = !window.L_NO_TOUCH && (Di || Zi), mn = de && Je, pn = de && Ai, _n = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, gn = (function() {
|
|
1670
1670
|
var t = !1;
|
|
1671
1671
|
try {
|
|
1672
1672
|
var e = Object.defineProperty({}, "passive", {
|
|
@@ -1693,7 +1693,7 @@ function Ja() {
|
|
|
1693
1693
|
return !1;
|
|
1694
1694
|
}
|
|
1695
1695
|
})(), ni = navigator.platform.indexOf("Mac") === 0, Ni = navigator.platform.indexOf("Linux") === 0;
|
|
1696
|
-
function
|
|
1696
|
+
function qt(t) {
|
|
1697
1697
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
|
1698
1698
|
}
|
|
1699
1699
|
var V = {
|
|
@@ -1816,7 +1816,7 @@ function Ja() {
|
|
|
1816
1816
|
), N = Ve(
|
|
1817
1817
|
["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
|
|
1818
1818
|
), ft = N === "webkitTransition" || N === "OTransition" ? N + "End" : "transitionend";
|
|
1819
|
-
function
|
|
1819
|
+
function j(t) {
|
|
1820
1820
|
return typeof t == "string" ? document.getElementById(t) : t;
|
|
1821
1821
|
}
|
|
1822
1822
|
function Q(t, e) {
|
|
@@ -1847,22 +1847,22 @@ function Ja() {
|
|
|
1847
1847
|
var e = t.parentNode;
|
|
1848
1848
|
e && e.firstChild !== t && e.insertBefore(t, e.firstChild);
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1850
|
+
function $t(t, e) {
|
|
1851
1851
|
if (t.classList !== void 0)
|
|
1852
1852
|
return t.classList.contains(e);
|
|
1853
1853
|
var i = He(t);
|
|
1854
1854
|
return i.length > 0 && new RegExp("(^|\\s)" + e + "(\\s|$)").test(i);
|
|
1855
1855
|
}
|
|
1856
|
-
function
|
|
1856
|
+
function W(t, e) {
|
|
1857
1857
|
if (t.classList !== void 0)
|
|
1858
1858
|
for (var i = T(e), n = 0, s = i.length; n < s; n++)
|
|
1859
1859
|
t.classList.add(i[n]);
|
|
1860
|
-
else if (
|
|
1860
|
+
else if (!$t(t, e)) {
|
|
1861
1861
|
var u = He(t);
|
|
1862
1862
|
ai(t, (u ? u + " " : "") + e);
|
|
1863
1863
|
}
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1865
|
+
function pt(t, e) {
|
|
1866
1866
|
t.classList !== void 0 ? t.classList.remove(e) : ai(t, _((" " + He(t) + " ").replace(" " + e + " ", " ")));
|
|
1867
1867
|
}
|
|
1868
1868
|
function ai(t, e) {
|
|
@@ -1905,7 +1905,7 @@ function Ja() {
|
|
|
1905
1905
|
li = function() {
|
|
1906
1906
|
X(window, "selectstart", zt);
|
|
1907
1907
|
}, ui = function() {
|
|
1908
|
-
|
|
1908
|
+
gt(window, "selectstart", zt);
|
|
1909
1909
|
};
|
|
1910
1910
|
else {
|
|
1911
1911
|
var hi = Ve(
|
|
@@ -1924,7 +1924,7 @@ function Ja() {
|
|
|
1924
1924
|
X(window, "dragstart", zt);
|
|
1925
1925
|
}
|
|
1926
1926
|
function Sn() {
|
|
1927
|
-
|
|
1927
|
+
gt(window, "dragstart", zt);
|
|
1928
1928
|
}
|
|
1929
1929
|
var $i, An;
|
|
1930
1930
|
function In(t) {
|
|
@@ -1933,7 +1933,7 @@ function Ja() {
|
|
|
1933
1933
|
t.style && (Wi(), $i = t, An = t.style.outlineStyle, t.style.outlineStyle = "none", X(window, "keydown", Wi));
|
|
1934
1934
|
}
|
|
1935
1935
|
function Wi() {
|
|
1936
|
-
$i && ($i.style.outlineStyle = An, $i = void 0, An = void 0,
|
|
1936
|
+
$i && ($i.style.outlineStyle = An, $i = void 0, An = void 0, gt(window, "keydown", Wi));
|
|
1937
1937
|
}
|
|
1938
1938
|
function co(t) {
|
|
1939
1939
|
do
|
|
@@ -1949,21 +1949,21 @@ function Ja() {
|
|
|
1949
1949
|
boundingClientRect: e
|
|
1950
1950
|
};
|
|
1951
1951
|
}
|
|
1952
|
-
var
|
|
1952
|
+
var Os = {
|
|
1953
1953
|
__proto__: null,
|
|
1954
1954
|
TRANSFORM: K,
|
|
1955
1955
|
TRANSITION: N,
|
|
1956
1956
|
TRANSITION_END: ft,
|
|
1957
|
-
get:
|
|
1957
|
+
get: j,
|
|
1958
1958
|
getStyle: Q,
|
|
1959
1959
|
create: I,
|
|
1960
1960
|
remove: it,
|
|
1961
1961
|
empty: mt,
|
|
1962
1962
|
toFront: Ot,
|
|
1963
1963
|
toBack: Et,
|
|
1964
|
-
hasClass:
|
|
1965
|
-
addClass:
|
|
1966
|
-
removeClass:
|
|
1964
|
+
hasClass: $t,
|
|
1965
|
+
addClass: W,
|
|
1966
|
+
removeClass: pt,
|
|
1967
1967
|
setClass: ai,
|
|
1968
1968
|
getClass: He,
|
|
1969
1969
|
setOpacity: Bt,
|
|
@@ -1996,7 +1996,7 @@ function Ja() {
|
|
|
1996
1996
|
return this;
|
|
1997
1997
|
}
|
|
1998
1998
|
var re = "_leaflet_events";
|
|
1999
|
-
function
|
|
1999
|
+
function gt(t, e, i, n) {
|
|
2000
2000
|
if (arguments.length === 1)
|
|
2001
2001
|
fo(t), delete t[re];
|
|
2002
2002
|
else if (e && typeof e == "object")
|
|
@@ -2073,11 +2073,11 @@ function Ja() {
|
|
|
2073
2073
|
(t.clientY - n.top) / i.y - e.clientTop
|
|
2074
2074
|
);
|
|
2075
2075
|
}
|
|
2076
|
-
var
|
|
2076
|
+
var zs = V.linux && V.chrome ? window.devicePixelRatio : V.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
|
2077
2077
|
function _o(t) {
|
|
2078
2078
|
return V.edge ? t.wheelDeltaY / 2 : (
|
|
2079
2079
|
// Don't trust window-geometry-based delta
|
|
2080
|
-
t.deltaY && t.deltaMode === 0 ? -t.deltaY /
|
|
2080
|
+
t.deltaY && t.deltaMode === 0 ? -t.deltaY / zs : (
|
|
2081
2081
|
// Pixels
|
|
2082
2082
|
t.deltaY && t.deltaMode === 1 ? -t.deltaY * 20 : (
|
|
2083
2083
|
// Lines
|
|
@@ -2113,10 +2113,10 @@ function Ja() {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
return i !== t;
|
|
2115
2115
|
}
|
|
2116
|
-
var
|
|
2116
|
+
var Es = {
|
|
2117
2117
|
__proto__: null,
|
|
2118
2118
|
on: X,
|
|
2119
|
-
off:
|
|
2119
|
+
off: gt,
|
|
2120
2120
|
stopPropagation: Ie,
|
|
2121
2121
|
disableScrollPropagation: Zn,
|
|
2122
2122
|
disableClickPropagation: ci,
|
|
@@ -2127,7 +2127,7 @@ function Ja() {
|
|
|
2127
2127
|
getWheelDelta: _o,
|
|
2128
2128
|
isExternalTarget: Dn,
|
|
2129
2129
|
addListener: X,
|
|
2130
|
-
removeListener:
|
|
2130
|
+
removeListener: gt
|
|
2131
2131
|
}, go = Vt.extend({
|
|
2132
2132
|
// @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)
|
|
2133
2133
|
// Run an animation of a given element to a new position, optionally setting
|
|
@@ -2143,7 +2143,7 @@ function Ja() {
|
|
|
2143
2143
|
this._inProgress && (this._step(!0), this._complete());
|
|
2144
2144
|
},
|
|
2145
2145
|
_animate: function() {
|
|
2146
|
-
this._animId =
|
|
2146
|
+
this._animId = Y(this._animate, this), this._step();
|
|
2147
2147
|
},
|
|
2148
2148
|
_step: function(t) {
|
|
2149
2149
|
var e = +/* @__PURE__ */ new Date() - this._startTime, i = this._duration * 1e3;
|
|
@@ -2154,7 +2154,7 @@ function Ja() {
|
|
|
2154
2154
|
e && i._round(), kt(this._el, i), this.fire("step");
|
|
2155
2155
|
},
|
|
2156
2156
|
_complete: function() {
|
|
2157
|
-
|
|
2157
|
+
q(this._animId), this._inProgress = !1, this.fire("end");
|
|
2158
2158
|
},
|
|
2159
2159
|
_easeOut: function(t) {
|
|
2160
2160
|
return 1 - Math.pow(1 - t, this._easeOutPower);
|
|
@@ -2165,7 +2165,7 @@ function Ja() {
|
|
|
2165
2165
|
// @option crs: CRS = L.CRS.EPSG3857
|
|
2166
2166
|
// The [Coordinate Reference System](#crs) to use. Don't change this if you're not
|
|
2167
2167
|
// sure what it means.
|
|
2168
|
-
crs:
|
|
2168
|
+
crs: be,
|
|
2169
2169
|
// @option center: LatLng = undefined
|
|
2170
2170
|
// Initial geographic center of the map
|
|
2171
2171
|
center: void 0,
|
|
@@ -2278,7 +2278,7 @@ function Ja() {
|
|
|
2278
2278
|
return this.setView(w, e, { zoom: i });
|
|
2279
2279
|
},
|
|
2280
2280
|
_getBoundsCenterZoom: function(t, e) {
|
|
2281
|
-
e = e || {}, t = t.getBounds ? t.getBounds() :
|
|
2281
|
+
e = e || {}, t = t.getBounds ? t.getBounds() : _t(t);
|
|
2282
2282
|
var i = U(e.paddingTopLeft || e.padding || [0, 0]), n = U(e.paddingBottomRight || e.padding || [0, 0]), s = this.getBoundsZoom(t, !1, i.add(n));
|
|
2283
2283
|
if (s = typeof e.maxZoom == "number" ? Math.min(e.maxZoom, s) : s, s === 1 / 0)
|
|
2284
2284
|
return {
|
|
@@ -2295,7 +2295,7 @@ function Ja() {
|
|
|
2295
2295
|
// Sets a map view that contains the given geographical bounds with the
|
|
2296
2296
|
// maximum zoom level possible.
|
|
2297
2297
|
fitBounds: function(t, e) {
|
|
2298
|
-
if (t =
|
|
2298
|
+
if (t = _t(t), !t.isValid())
|
|
2299
2299
|
throw new Error("Bounds are not valid.");
|
|
2300
2300
|
var i = this._getBoundsCenterZoom(t, e);
|
|
2301
2301
|
return this.setView(i.center, i.zoom, e);
|
|
@@ -2322,7 +2322,7 @@ function Ja() {
|
|
|
2322
2322
|
step: this._onPanTransitionStep,
|
|
2323
2323
|
end: this._onPanTransitionEnd
|
|
2324
2324
|
}, this)), e.noMoveStart || this.fire("movestart"), e.animate !== !1) {
|
|
2325
|
-
|
|
2325
|
+
W(this._mapPane, "leaflet-pan-anim");
|
|
2326
2326
|
var i = this._getMapPanePos().subtract(t).round();
|
|
2327
2327
|
this._panAnim.run(this._mapPane, i, e.duration || 0.25, e.easeLinearity);
|
|
2328
2328
|
} else
|
|
@@ -2340,8 +2340,8 @@ function Ja() {
|
|
|
2340
2340
|
t = J(t), e = e === void 0 ? m : e;
|
|
2341
2341
|
var w = Math.max(u.x, u.y), x = w * this.getZoomScale(m, e), S = s.distanceTo(n) || 1, B = 1.42, $ = B * B;
|
|
2342
2342
|
function tt(Pt) {
|
|
2343
|
-
var sn = Pt ? -1 : 1,
|
|
2344
|
-
return
|
|
2343
|
+
var sn = Pt ? -1 : 1, wr = Pt ? x : w, kr = x * x - w * w + sn * $ * $ * S * S, Pr = 2 * wr * $ * S, jn = kr / Pr, Ko = Math.sqrt(jn * jn + 1) - jn, Cr = Ko < 1e-9 ? -18 : Math.log(Ko);
|
|
2344
|
+
return Cr;
|
|
2345
2345
|
}
|
|
2346
2346
|
function Dt(Pt) {
|
|
2347
2347
|
return (Math.exp(Pt) - Math.exp(-Pt)) / 2;
|
|
@@ -2356,17 +2356,17 @@ function Ja() {
|
|
|
2356
2356
|
function qe(Pt) {
|
|
2357
2357
|
return w * (At(Gt) / At(Gt + B * Pt));
|
|
2358
2358
|
}
|
|
2359
|
-
function
|
|
2359
|
+
function vr(Pt) {
|
|
2360
2360
|
return w * (At(Gt) * Yt(Gt + B * Pt) - Dt(Gt)) / $;
|
|
2361
2361
|
}
|
|
2362
|
-
function
|
|
2362
|
+
function yr(Pt) {
|
|
2363
2363
|
return 1 - Math.pow(1 - Pt, 1.5);
|
|
2364
2364
|
}
|
|
2365
|
-
var
|
|
2365
|
+
var br = Date.now(), Yo = (tt(1) - Gt) / B, Lr = i.duration ? 1e3 * i.duration : 1e3 * Yo * 0.8;
|
|
2366
2366
|
function Xo() {
|
|
2367
|
-
var Pt = (Date.now() -
|
|
2368
|
-
Pt <= 1 ? (this._flyToFrame =
|
|
2369
|
-
this.unproject(n.add(s.subtract(n).multiplyBy(
|
|
2367
|
+
var Pt = (Date.now() - br) / Lr, sn = yr(Pt) * Yo;
|
|
2368
|
+
Pt <= 1 ? (this._flyToFrame = Y(Xo, this), this._move(
|
|
2369
|
+
this.unproject(n.add(s.subtract(n).multiplyBy(vr(sn) / S)), m),
|
|
2370
2370
|
this.getScaleZoom(w / qe(sn), m),
|
|
2371
2371
|
{ flyTo: !0 }
|
|
2372
2372
|
)) : this._move(t, e)._moveEnd(!0);
|
|
@@ -2383,7 +2383,7 @@ function Ja() {
|
|
|
2383
2383
|
// @method setMaxBounds(bounds: LatLngBounds): this
|
|
2384
2384
|
// Restricts the map view to the given bounds (see the [maxBounds](#map-maxbounds) option).
|
|
2385
2385
|
setMaxBounds: function(t) {
|
|
2386
|
-
return t =
|
|
2386
|
+
return t = _t(t), this.listens("moveend", this._panInsideMaxBounds) && this.off("moveend", this._panInsideMaxBounds), t.isValid() ? (this.options.maxBounds = t, this._loaded && this._panInsideMaxBounds(), this.on("moveend", this._panInsideMaxBounds)) : (this.options.maxBounds = null, this);
|
|
2387
2387
|
},
|
|
2388
2388
|
// @method setMinZoom(zoom: Number): this
|
|
2389
2389
|
// Sets the lower limit for the available zoom levels (see the [minZoom](#map-minzoom) option).
|
|
@@ -2401,7 +2401,7 @@ function Ja() {
|
|
|
2401
2401
|
// Pans the map to the closest view that would lie inside the given bounds (if it's not already), controlling the animation using the options specific, if any.
|
|
2402
2402
|
panInsideBounds: function(t, e) {
|
|
2403
2403
|
this._enforcingBounds = !0;
|
|
2404
|
-
var i = this.getCenter(), n = this._limitCenter(i, this._zoom,
|
|
2404
|
+
var i = this.getCenter(), n = this._limitCenter(i, this._zoom, _t(t));
|
|
2405
2405
|
return i.equals(n) || this.panTo(n, e), this._enforcingBounds = !1, this;
|
|
2406
2406
|
},
|
|
2407
2407
|
// @method panInside(latlng: LatLng, options?: padding options): this
|
|
@@ -2530,7 +2530,7 @@ function Ja() {
|
|
|
2530
2530
|
} catch {
|
|
2531
2531
|
this._container._leaflet_id = void 0, this._containerId = void 0;
|
|
2532
2532
|
}
|
|
2533
|
-
this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), it(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest && (
|
|
2533
|
+
this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), it(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest && (q(this._resizeRequest), this._resizeRequest = null), this._clearHandlers(), this._loaded && this.fire("unload");
|
|
2534
2534
|
var t;
|
|
2535
2535
|
for (t in this._layers)
|
|
2536
2536
|
this._layers[t].remove();
|
|
@@ -2580,7 +2580,7 @@ function Ja() {
|
|
|
2580
2580
|
// instead returns the minimum zoom level on which the map view fits into
|
|
2581
2581
|
// the given bounds in its entirety.
|
|
2582
2582
|
getBoundsZoom: function(t, e, i) {
|
|
2583
|
-
t =
|
|
2583
|
+
t = _t(t), i = U(i || [0, 0]);
|
|
2584
2584
|
var n = this.getZoom() || 0, s = this.getMinZoom(), u = this.getMaxZoom(), m = t.getNorthWest(), w = t.getSouthEast(), x = this.getSize().subtract(i), S = yt(this.project(w, n), this.project(m, n)).getSize(), B = V.any3d ? this.options.zoomSnap : 1, $ = x.x / S.x, tt = x.y / S.y, Dt = e ? Math.max($, tt) : Math.min($, tt);
|
|
2585
2585
|
return n = this.getScaleZoom(Dt, n), B && (n = Math.round(n / (B / 100)) * (B / 100), n = e ? Math.ceil(n / B) * B : Math.floor(n / B) * B), Math.max(s, Math.min(u, n));
|
|
2586
2586
|
},
|
|
@@ -2692,7 +2692,7 @@ function Ja() {
|
|
|
2692
2692
|
// value is between -180 and +180 degrees, and the majority of the bounds
|
|
2693
2693
|
// overlaps the CRS's bounds.
|
|
2694
2694
|
wrapLatLngBounds: function(t) {
|
|
2695
|
-
return this.options.crs.wrapLatLngBounds(
|
|
2695
|
+
return this.options.crs.wrapLatLngBounds(_t(t));
|
|
2696
2696
|
},
|
|
2697
2697
|
// @method distance(latlng1: LatLng, latlng2: LatLng): Number
|
|
2698
2698
|
// Returns the distance between two geographical coordinates according to
|
|
@@ -2745,7 +2745,7 @@ function Ja() {
|
|
|
2745
2745
|
},
|
|
2746
2746
|
// map initialization methods
|
|
2747
2747
|
_initContainer: function(t) {
|
|
2748
|
-
var e = this._container =
|
|
2748
|
+
var e = this._container = j(t);
|
|
2749
2749
|
if (e) {
|
|
2750
2750
|
if (e._leaflet_id)
|
|
2751
2751
|
throw new Error("Map container is already initialized.");
|
|
@@ -2754,13 +2754,13 @@ function Ja() {
|
|
|
2754
2754
|
},
|
|
2755
2755
|
_initLayout: function() {
|
|
2756
2756
|
var t = this._container;
|
|
2757
|
-
this._fadeAnimated = this.options.fadeAnimation && V.any3d,
|
|
2757
|
+
this._fadeAnimated = this.options.fadeAnimation && V.any3d, W(t, "leaflet-container" + (V.touch ? " leaflet-touch" : "") + (V.retina ? " leaflet-retina" : "") + (V.ielt9 ? " leaflet-oldie" : "") + (V.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
|
|
2758
2758
|
var e = Q(t, "position");
|
|
2759
2759
|
e !== "absolute" && e !== "relative" && e !== "fixed" && e !== "sticky" && (t.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
|
|
2760
2760
|
},
|
|
2761
2761
|
_initPanes: function() {
|
|
2762
2762
|
var t = this._panes = {};
|
|
2763
|
-
this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), kt(this._mapPane, new F(0, 0)), this.createPane("tilePane"), this.createPane("overlayPane"), this.createPane("shadowPane"), this.createPane("markerPane"), this.createPane("tooltipPane"), this.createPane("popupPane"), this.options.markerZoomAnimation || (
|
|
2763
|
+
this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), kt(this._mapPane, new F(0, 0)), this.createPane("tilePane"), this.createPane("overlayPane"), this.createPane("shadowPane"), this.createPane("markerPane"), this.createPane("tooltipPane"), this.createPane("popupPane"), this.options.markerZoomAnimation || (W(t.markerPane, "leaflet-zoom-hide"), W(t.shadowPane, "leaflet-zoom-hide"));
|
|
2764
2764
|
},
|
|
2765
2765
|
// private methods that modify map state
|
|
2766
2766
|
// @section Map state change events
|
|
@@ -2783,7 +2783,7 @@ function Ja() {
|
|
|
2783
2783
|
return t && this.fire("zoomend"), this.fire("moveend");
|
|
2784
2784
|
},
|
|
2785
2785
|
_stop: function() {
|
|
2786
|
-
return
|
|
2786
|
+
return q(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;
|
|
2787
2787
|
},
|
|
2788
2788
|
_rawPanBy: function(t) {
|
|
2789
2789
|
kt(this._mapPane, this._getMapPanePos().subtract(t));
|
|
@@ -2802,11 +2802,11 @@ function Ja() {
|
|
|
2802
2802
|
// @section Interaction events
|
|
2803
2803
|
_initEvents: function(t) {
|
|
2804
2804
|
this._targets = {}, this._targets[f(this._container)] = this;
|
|
2805
|
-
var e = t ?
|
|
2805
|
+
var e = t ? gt : X;
|
|
2806
2806
|
e(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && e(window, "resize", this._onResize, this), V.any3d && this.options.transform3DLimit && (t ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
|
|
2807
2807
|
},
|
|
2808
2808
|
_onResize: function() {
|
|
2809
|
-
|
|
2809
|
+
q(this._resizeRequest), this._resizeRequest = Y(
|
|
2810
2810
|
function() {
|
|
2811
2811
|
this.invalidateSize({ debounceMoveend: !0 });
|
|
2812
2812
|
},
|
|
@@ -2957,7 +2957,7 @@ function Ja() {
|
|
|
2957
2957
|
this.fire("move");
|
|
2958
2958
|
},
|
|
2959
2959
|
_onPanTransitionEnd: function() {
|
|
2960
|
-
|
|
2960
|
+
pt(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");
|
|
2961
2961
|
},
|
|
2962
2962
|
_tryAnimatedPan: function(t, e) {
|
|
2963
2963
|
var i = this._getCenterOffset(t)._trunc();
|
|
@@ -2989,22 +2989,22 @@ function Ja() {
|
|
|
2989
2989
|
if (i = i || {}, !this._zoomAnimated || i.animate === !1 || this._nothingToAnimate() || Math.abs(e - this._zoom) > this.options.zoomAnimationThreshold)
|
|
2990
2990
|
return !1;
|
|
2991
2991
|
var n = this.getZoomScale(e), s = this._getCenterOffset(t)._divideBy(1 - 1 / n);
|
|
2992
|
-
return i.animate !== !0 && !this.getSize().contains(s) ? !1 : (
|
|
2992
|
+
return i.animate !== !0 && !this.getSize().contains(s) ? !1 : (Y(function() {
|
|
2993
2993
|
this._moveStart(!0, i.noMoveStart || !1)._animateZoom(t, e, !0);
|
|
2994
2994
|
}, this), !0);
|
|
2995
2995
|
},
|
|
2996
2996
|
_animateZoom: function(t, e, i, n) {
|
|
2997
|
-
this._mapPane && (i && (this._animatingZoom = !0, this._animateToCenter = t, this._animateToZoom = e,
|
|
2997
|
+
this._mapPane && (i && (this._animatingZoom = !0, this._animateToCenter = t, this._animateToZoom = e, W(this._mapPane, "leaflet-zoom-anim")), this.fire("zoomanim", {
|
|
2998
2998
|
center: t,
|
|
2999
2999
|
zoom: e,
|
|
3000
3000
|
noUpdate: n
|
|
3001
3001
|
}), this._tempFireZoomEvent || (this._tempFireZoomEvent = this._zoom !== this._animateToZoom), this._move(this._animateToCenter, this._animateToZoom, void 0, !0), setTimeout(a(this._onZoomTransitionEnd, this), 250));
|
|
3002
3002
|
},
|
|
3003
3003
|
_onZoomTransitionEnd: function() {
|
|
3004
|
-
this._animatingZoom && (this._mapPane &&
|
|
3004
|
+
this._animatingZoom && (this._mapPane && pt(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));
|
|
3005
3005
|
}
|
|
3006
3006
|
});
|
|
3007
|
-
function
|
|
3007
|
+
function Bs(t, e) {
|
|
3008
3008
|
return new st(t, e);
|
|
3009
3009
|
}
|
|
3010
3010
|
var te = at.extend({
|
|
@@ -3044,7 +3044,7 @@ function Ja() {
|
|
|
3044
3044
|
addTo: function(t) {
|
|
3045
3045
|
this.remove(), this._map = t;
|
|
3046
3046
|
var e = this._container = this.onAdd(t), i = this.getPosition(), n = t._controlCorners[i];
|
|
3047
|
-
return
|
|
3047
|
+
return W(e, "leaflet-control"), i.indexOf("bottom") !== -1 ? n.insertBefore(e, n.firstChild) : n.appendChild(e), this._map.on("unload", this.remove, this), this;
|
|
3048
3048
|
},
|
|
3049
3049
|
// @method remove: this
|
|
3050
3050
|
// Removes the control from the map it is currently active on.
|
|
@@ -3151,14 +3151,14 @@ function Ja() {
|
|
|
3151
3151
|
// @method expand(): this
|
|
3152
3152
|
// Expand the control container if collapsed.
|
|
3153
3153
|
expand: function() {
|
|
3154
|
-
|
|
3154
|
+
W(this._container, "leaflet-control-layers-expanded"), this._section.style.height = null;
|
|
3155
3155
|
var t = this._map.getSize().y - (this._container.offsetTop + 50);
|
|
3156
|
-
return t < this._section.clientHeight ? (
|
|
3156
|
+
return t < this._section.clientHeight ? (W(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = t + "px") : pt(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;
|
|
3157
3157
|
},
|
|
3158
3158
|
// @method collapse(): this
|
|
3159
3159
|
// Collapse the control container if expanded.
|
|
3160
3160
|
collapse: function() {
|
|
3161
|
-
return
|
|
3161
|
+
return pt(this._container, "leaflet-control-layers-expanded"), this;
|
|
3162
3162
|
},
|
|
3163
3163
|
_initLayout: function() {
|
|
3164
3164
|
var t = "leaflet-control-layers", e = this._container = I("div", t), i = this.options.collapsed;
|
|
@@ -3247,10 +3247,10 @@ function Ja() {
|
|
|
3247
3247
|
this._preventClick = !0, X(t, "click", zt), this.expand();
|
|
3248
3248
|
var e = this;
|
|
3249
3249
|
setTimeout(function() {
|
|
3250
|
-
|
|
3250
|
+
gt(t, "click", zt), e._preventClick = !1;
|
|
3251
3251
|
});
|
|
3252
3252
|
}
|
|
3253
|
-
}),
|
|
3253
|
+
}), Zs = function(t, e, i) {
|
|
3254
3254
|
return new vo(t, e, i);
|
|
3255
3255
|
}, Nn = te.extend({
|
|
3256
3256
|
// @section
|
|
@@ -3307,7 +3307,7 @@ function Ja() {
|
|
|
3307
3307
|
},
|
|
3308
3308
|
_updateDisabled: function() {
|
|
3309
3309
|
var t = this._map, e = "leaflet-disabled";
|
|
3310
|
-
|
|
3310
|
+
pt(this._zoomInButton, e), pt(this._zoomOutButton, e), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), (this._disabled || t._zoom === t.getMinZoom()) && (W(this._zoomOutButton, e), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || t._zoom === t.getMaxZoom()) && (W(this._zoomInButton, e), this._zoomInButton.setAttribute("aria-disabled", "true"));
|
|
3311
3311
|
}
|
|
3312
3312
|
});
|
|
3313
3313
|
st.mergeOptions({
|
|
@@ -3315,7 +3315,7 @@ function Ja() {
|
|
|
3315
3315
|
}), st.addInitHook(function() {
|
|
3316
3316
|
this.options.zoomControl && (this.zoomControl = new Nn(), this.addControl(this.zoomControl));
|
|
3317
3317
|
});
|
|
3318
|
-
var
|
|
3318
|
+
var Ds = function(t) {
|
|
3319
3319
|
return new Nn(t);
|
|
3320
3320
|
}, yo = te.extend({
|
|
3321
3321
|
// @section
|
|
@@ -3369,16 +3369,16 @@ function Ja() {
|
|
|
3369
3369
|
var e = Math.pow(10, (Math.floor(t) + "").length - 1), i = t / e;
|
|
3370
3370
|
return i = i >= 10 ? 10 : i >= 5 ? 5 : i >= 3 ? 3 : i >= 2 ? 2 : 1, e * i;
|
|
3371
3371
|
}
|
|
3372
|
-
}),
|
|
3372
|
+
}), Ns = function(t) {
|
|
3373
3373
|
return new yo(t);
|
|
3374
|
-
},
|
|
3374
|
+
}, Rs = '<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>', Rn = te.extend({
|
|
3375
3375
|
// @section
|
|
3376
3376
|
// @aka Control.Attribution options
|
|
3377
3377
|
options: {
|
|
3378
3378
|
position: "bottomright",
|
|
3379
3379
|
// @option prefix: String|false = 'Leaflet'
|
|
3380
3380
|
// The HTML text shown before the attributions. Pass `false` to disable.
|
|
3381
|
-
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (V.inlineSvg ?
|
|
3381
|
+
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (V.inlineSvg ? Rs + " " : "") + "Leaflet</a>"
|
|
3382
3382
|
},
|
|
3383
3383
|
initialize: function(t) {
|
|
3384
3384
|
C(this, t), this._attributions = {};
|
|
@@ -3427,10 +3427,10 @@ function Ja() {
|
|
|
3427
3427
|
}), st.addInitHook(function() {
|
|
3428
3428
|
this.options.attributionControl && new Rn().addTo(this);
|
|
3429
3429
|
});
|
|
3430
|
-
var
|
|
3430
|
+
var Hs = function(t) {
|
|
3431
3431
|
return new Rn(t);
|
|
3432
3432
|
};
|
|
3433
|
-
te.Layers = vo, te.Zoom = Nn, te.Scale = yo, te.Attribution = Rn, di.layers =
|
|
3433
|
+
te.Layers = vo, te.Zoom = Nn, te.Scale = yo, te.Attribution = Rn, di.layers = Zs, di.zoom = Ds, di.scale = Ns, di.attribution = Hs;
|
|
3434
3434
|
var ae = at.extend({
|
|
3435
3435
|
initialize: function(t) {
|
|
3436
3436
|
this._map = t;
|
|
@@ -3460,7 +3460,7 @@ function Ja() {
|
|
|
3460
3460
|
ae.addTo = function(t, e) {
|
|
3461
3461
|
return t.addHandler(e, this), this;
|
|
3462
3462
|
};
|
|
3463
|
-
var
|
|
3463
|
+
var Vs = { Events: ht }, bo = V.touch ? "touchstart mousedown" : "mousedown", we = Vt.extend({
|
|
3464
3464
|
options: {
|
|
3465
3465
|
// @section
|
|
3466
3466
|
// @aka Draggable options
|
|
@@ -3482,15 +3482,15 @@ function Ja() {
|
|
|
3482
3482
|
// @method disable()
|
|
3483
3483
|
// Disables the dragging ability
|
|
3484
3484
|
disable: function() {
|
|
3485
|
-
this._enabled && (
|
|
3485
|
+
this._enabled && (we._dragging === this && this.finishDrag(!0), gt(this._dragStartTarget, bo, this._onDown, this), this._enabled = !1, this._moved = !1);
|
|
3486
3486
|
},
|
|
3487
3487
|
_onDown: function(t) {
|
|
3488
|
-
if (this._enabled && (this._moved = !1,
|
|
3488
|
+
if (this._enabled && (this._moved = !1, !$t(this._element, "leaflet-zoom-anim"))) {
|
|
3489
3489
|
if (t.touches && t.touches.length !== 1) {
|
|
3490
|
-
|
|
3490
|
+
we._dragging === this && this.finishDrag();
|
|
3491
3491
|
return;
|
|
3492
3492
|
}
|
|
3493
|
-
if (!(
|
|
3493
|
+
if (!(we._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (we._dragging = this, this._preventOutline && In(this._element), Mn(), li(), !this._moving)) {
|
|
3494
3494
|
this.fire("down");
|
|
3495
3495
|
var e = t.touches ? t.touches[0] : t, i = co(this._element);
|
|
3496
3496
|
this._startPoint = new F(e.clientX, e.clientY), this._startPos = Ae(this._element), this._parentScale = On(i);
|
|
@@ -3506,7 +3506,7 @@ function Ja() {
|
|
|
3506
3506
|
return;
|
|
3507
3507
|
}
|
|
3508
3508
|
var e = t.touches && t.touches.length === 1 ? t.touches[0] : t, i = new F(e.clientX, e.clientY)._subtract(this._startPoint);
|
|
3509
|
-
!i.x && !i.y || Math.abs(i.x) + Math.abs(i.y) < this.options.clickTolerance || (i.x /= this._parentScale.x, i.y /= this._parentScale.y, zt(t), this._moved || (this.fire("dragstart"), this._moved = !0,
|
|
3509
|
+
!i.x && !i.y || Math.abs(i.x) + Math.abs(i.y) < this.options.clickTolerance || (i.x /= this._parentScale.x, i.y /= this._parentScale.y, zt(t), this._moved || (this.fire("dragstart"), this._moved = !0, W(document.body, "leaflet-dragging"), this._lastTarget = t.target || t.srcElement, window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance && (this._lastTarget = this._lastTarget.correspondingUseElement), W(this._lastTarget, "leaflet-drag-target")), this._newPos = this._startPos.add(i), this._moving = !0, this._lastEvent = t, this._updatePosition());
|
|
3510
3510
|
}
|
|
3511
3511
|
},
|
|
3512
3512
|
_updatePosition: function() {
|
|
@@ -3517,9 +3517,9 @@ function Ja() {
|
|
|
3517
3517
|
this._enabled && this.finishDrag();
|
|
3518
3518
|
},
|
|
3519
3519
|
finishDrag: function(t) {
|
|
3520
|
-
|
|
3520
|
+
pt(document.body, "leaflet-dragging"), this._lastTarget && (pt(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), gt(document, "mousemove touchmove", this._onMove, this), gt(document, "mouseup touchend touchcancel", this._onUp, this), Sn(), ui();
|
|
3521
3521
|
var e = this._moved && this._moving;
|
|
3522
|
-
this._moving = !1,
|
|
3522
|
+
this._moving = !1, we._dragging = !1, e && this.fire("dragend", {
|
|
3523
3523
|
noInertia: t,
|
|
3524
3524
|
distance: this._newPos.distanceTo(this._startPos)
|
|
3525
3525
|
});
|
|
@@ -3541,7 +3541,7 @@ function Ja() {
|
|
|
3541
3541
|
if (!t || t.length === 0)
|
|
3542
3542
|
throw new Error("latlngs not passed");
|
|
3543
3543
|
jt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
|
3544
|
-
var $ = J([0, 0]), tt =
|
|
3544
|
+
var $ = J([0, 0]), tt = _t(t), Dt = tt.getNorthWest().distanceTo(tt.getSouthWest()) * tt.getNorthEast().distanceTo(tt.getNorthWest());
|
|
3545
3545
|
Dt < 1700 && ($ = Hn(t));
|
|
3546
3546
|
var At = t.length, Yt = [];
|
|
3547
3547
|
for (i = 0; i < At; i++) {
|
|
@@ -3561,7 +3561,7 @@ function Ja() {
|
|
|
3561
3561
|
}
|
|
3562
3562
|
return J([e / n, i / n]);
|
|
3563
3563
|
}
|
|
3564
|
-
var
|
|
3564
|
+
var Fs = {
|
|
3565
3565
|
__proto__: null,
|
|
3566
3566
|
clipPolygon: Lo,
|
|
3567
3567
|
polygonCenter: wo,
|
|
@@ -3571,15 +3571,15 @@ function Ja() {
|
|
|
3571
3571
|
if (!e || !t.length)
|
|
3572
3572
|
return t.slice();
|
|
3573
3573
|
var i = e * e;
|
|
3574
|
-
return t =
|
|
3574
|
+
return t = $s(t, i), t = Us(t, i), t;
|
|
3575
3575
|
}
|
|
3576
3576
|
function Po(t, e, i) {
|
|
3577
3577
|
return Math.sqrt(fi(t, e, i, !0));
|
|
3578
3578
|
}
|
|
3579
|
-
function
|
|
3579
|
+
function Gs(t, e, i) {
|
|
3580
3580
|
return fi(t, e, i);
|
|
3581
3581
|
}
|
|
3582
|
-
function
|
|
3582
|
+
function Us(t, e) {
|
|
3583
3583
|
var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, s = new n(i);
|
|
3584
3584
|
s[0] = s[i - 1] = 1, Vn(t, s, e, 0, i - 1);
|
|
3585
3585
|
var u, m = [];
|
|
@@ -3593,9 +3593,9 @@ function Ja() {
|
|
|
3593
3593
|
x = fi(t[w], t[n], t[s], !0), x > u && (m = w, u = x);
|
|
3594
3594
|
u > i && (e[m] = 1, Vn(t, e, i, n, m), Vn(t, e, i, m, s));
|
|
3595
3595
|
}
|
|
3596
|
-
function
|
|
3596
|
+
function $s(t, e) {
|
|
3597
3597
|
for (var i = [t[0]], n = 1, s = 0, u = t.length; n < u; n++)
|
|
3598
|
-
|
|
3598
|
+
Ws(t[n], t[s]) > e && (i.push(t[n]), s = n);
|
|
3599
3599
|
return s < u - 1 && i.push(t[u - 1]), i;
|
|
3600
3600
|
}
|
|
3601
3601
|
var Co;
|
|
@@ -3617,7 +3617,7 @@ function Ja() {
|
|
|
3617
3617
|
var i = 0;
|
|
3618
3618
|
return t.x < e.min.x ? i |= 1 : t.x > e.max.x && (i |= 2), t.y < e.min.y ? i |= 4 : t.y > e.max.y && (i |= 8), i;
|
|
3619
3619
|
}
|
|
3620
|
-
function
|
|
3620
|
+
function Ws(t, e) {
|
|
3621
3621
|
var i = e.x - t.x, n = e.y - t.y;
|
|
3622
3622
|
return i * i + n * n;
|
|
3623
3623
|
}
|
|
@@ -3636,7 +3636,7 @@ function Ja() {
|
|
|
3636
3636
|
if (!t || t.length === 0)
|
|
3637
3637
|
throw new Error("latlngs not passed");
|
|
3638
3638
|
jt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
|
3639
|
-
var B = J([0, 0]), $ =
|
|
3639
|
+
var B = J([0, 0]), $ = _t(t), tt = $.getNorthWest().distanceTo($.getSouthWest()) * $.getNorthEast().distanceTo($.getNorthWest());
|
|
3640
3640
|
tt < 1700 && (B = Hn(t));
|
|
3641
3641
|
var Dt = t.length, At = [];
|
|
3642
3642
|
for (i = 0; i < Dt; i++) {
|
|
@@ -3659,11 +3659,11 @@ function Ja() {
|
|
|
3659
3659
|
var Gt = e.unproject(U(S));
|
|
3660
3660
|
return J([Gt.lat + B.lat, Gt.lng + B.lng]);
|
|
3661
3661
|
}
|
|
3662
|
-
var
|
|
3662
|
+
var qs = {
|
|
3663
3663
|
__proto__: null,
|
|
3664
3664
|
simplify: ko,
|
|
3665
3665
|
pointToSegmentDistance: Po,
|
|
3666
|
-
closestPointOnSegment:
|
|
3666
|
+
closestPointOnSegment: Gs,
|
|
3667
3667
|
clipSegment: xo,
|
|
3668
3668
|
_getEdgeIntersection: qi,
|
|
3669
3669
|
_getBitCode: ze,
|
|
@@ -3692,12 +3692,12 @@ function Ja() {
|
|
|
3692
3692
|
S = s * Math.sin(m), S = Math.pow((1 - S) / (1 + S), s / 2), x = Math.PI / 2 - 2 * Math.atan(u * S) - m, m += x;
|
|
3693
3693
|
return new G(m * e, t.x * e / i);
|
|
3694
3694
|
}
|
|
3695
|
-
},
|
|
3695
|
+
}, js = {
|
|
3696
3696
|
__proto__: null,
|
|
3697
3697
|
LonLat: Fn,
|
|
3698
3698
|
Mercator: Gn,
|
|
3699
3699
|
SphericalMercator: wt
|
|
3700
|
-
},
|
|
3700
|
+
}, Ys = k({}, Ut, {
|
|
3701
3701
|
code: "EPSG:3395",
|
|
3702
3702
|
projection: Gn,
|
|
3703
3703
|
transformation: (function() {
|
|
@@ -3708,7 +3708,7 @@ function Ja() {
|
|
|
3708
3708
|
code: "EPSG:4326",
|
|
3709
3709
|
projection: Fn,
|
|
3710
3710
|
transformation: se(1 / 180, 1, -1 / 180, 0.5)
|
|
3711
|
-
}),
|
|
3711
|
+
}), Xs = k({}, Ft, {
|
|
3712
3712
|
projection: Fn,
|
|
3713
3713
|
transformation: se(1, 0, -1, 0),
|
|
3714
3714
|
scale: function(t) {
|
|
@@ -3723,7 +3723,7 @@ function Ja() {
|
|
|
3723
3723
|
},
|
|
3724
3724
|
infinite: !0
|
|
3725
3725
|
});
|
|
3726
|
-
Ft.Earth = Ut, Ft.EPSG3395 =
|
|
3726
|
+
Ft.Earth = Ut, Ft.EPSG3395 = Ys, Ft.EPSG3857 = be, Ft.EPSG900913 = Pi, Ft.EPSG4326 = So, Ft.Simple = Xs;
|
|
3727
3727
|
var ee = Vt.extend({
|
|
3728
3728
|
// Classes extending `L.Layer` will inherit the following options:
|
|
3729
3729
|
options: {
|
|
@@ -3927,7 +3927,7 @@ function Ja() {
|
|
|
3927
3927
|
getLayerId: function(t) {
|
|
3928
3928
|
return f(t);
|
|
3929
3929
|
}
|
|
3930
|
-
}),
|
|
3930
|
+
}), Ks = function(t, e) {
|
|
3931
3931
|
return new Fe(t, e);
|
|
3932
3932
|
}, fe = Fe.extend({
|
|
3933
3933
|
addLayer: function(t) {
|
|
@@ -3961,7 +3961,7 @@ function Ja() {
|
|
|
3961
3961
|
}
|
|
3962
3962
|
return t;
|
|
3963
3963
|
}
|
|
3964
|
-
}),
|
|
3964
|
+
}), Js = function(t, e) {
|
|
3965
3965
|
return new fe(t, e);
|
|
3966
3966
|
}, Ge = at.extend({
|
|
3967
3967
|
/* @section
|
|
@@ -4049,7 +4049,7 @@ function Ja() {
|
|
|
4049
4049
|
return V.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
|
|
4050
4050
|
}
|
|
4051
4051
|
});
|
|
4052
|
-
function
|
|
4052
|
+
function Qs(t) {
|
|
4053
4053
|
return new Ge(t);
|
|
4054
4054
|
}
|
|
4055
4055
|
var mi = Ge.extend({
|
|
@@ -4086,12 +4086,12 @@ function Ja() {
|
|
|
4086
4086
|
},
|
|
4087
4087
|
addHooks: function() {
|
|
4088
4088
|
var t = this._marker._icon;
|
|
4089
|
-
this._draggable || (this._draggable = new
|
|
4089
|
+
this._draggable || (this._draggable = new we(t, t, !0)), this._draggable.on({
|
|
4090
4090
|
dragstart: this._onDragStart,
|
|
4091
4091
|
predrag: this._onPreDrag,
|
|
4092
4092
|
drag: this._onDrag,
|
|
4093
4093
|
dragend: this._onDragEnd
|
|
4094
|
-
}, this).enable(),
|
|
4094
|
+
}, this).enable(), W(t, "leaflet-marker-draggable");
|
|
4095
4095
|
},
|
|
4096
4096
|
removeHooks: function() {
|
|
4097
4097
|
this._draggable.off({
|
|
@@ -4099,7 +4099,7 @@ function Ja() {
|
|
|
4099
4099
|
predrag: this._onPreDrag,
|
|
4100
4100
|
drag: this._onDrag,
|
|
4101
4101
|
dragend: this._onDragEnd
|
|
4102
|
-
}, this).disable(), this._marker._icon &&
|
|
4102
|
+
}, this).disable(), this._marker._icon && pt(this._marker._icon, "leaflet-marker-draggable");
|
|
4103
4103
|
},
|
|
4104
4104
|
moved: function() {
|
|
4105
4105
|
return this._draggable && this._draggable._moved;
|
|
@@ -4114,21 +4114,21 @@ function Ja() {
|
|
|
4114
4114
|
(Math.max(x.max.x, u.x) - x.max.x) / (m.max.x - x.max.x) - (Math.min(x.min.x, u.x) - x.min.x) / (m.min.x - x.min.x),
|
|
4115
4115
|
(Math.max(x.max.y, u.y) - x.max.y) / (m.max.y - x.max.y) - (Math.min(x.min.y, u.y) - x.min.y) / (m.min.y - x.min.y)
|
|
4116
4116
|
).multiplyBy(n);
|
|
4117
|
-
i.panBy(S, { animate: !1 }), this._draggable._newPos._add(S), this._draggable._startPos._add(S), kt(e._icon, this._draggable._newPos), this._onDrag(t), this._panRequest =
|
|
4117
|
+
i.panBy(S, { animate: !1 }), this._draggable._newPos._add(S), this._draggable._startPos._add(S), kt(e._icon, this._draggable._newPos), this._onDrag(t), this._panRequest = Y(this._adjustPan.bind(this, t));
|
|
4118
4118
|
}
|
|
4119
4119
|
},
|
|
4120
4120
|
_onDragStart: function() {
|
|
4121
4121
|
this._oldLatLng = this._marker.getLatLng(), this._marker.closePopup && this._marker.closePopup(), this._marker.fire("movestart").fire("dragstart");
|
|
4122
4122
|
},
|
|
4123
4123
|
_onPreDrag: function(t) {
|
|
4124
|
-
this._marker.options.autoPan && (
|
|
4124
|
+
this._marker.options.autoPan && (q(this._panRequest), this._panRequest = Y(this._adjustPan.bind(this, t)));
|
|
4125
4125
|
},
|
|
4126
4126
|
_onDrag: function(t) {
|
|
4127
4127
|
var e = this._marker, i = e._shadow, n = Ae(e._icon), s = e._map.layerPointToLatLng(n);
|
|
4128
4128
|
i && kt(i, n), e._latlng = s, t.latlng = s, t.oldLatLng = this._oldLatLng, e.fire("move", t).fire("drag", t);
|
|
4129
4129
|
},
|
|
4130
4130
|
_onDragEnd: function(t) {
|
|
4131
|
-
|
|
4131
|
+
q(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", t);
|
|
4132
4132
|
}
|
|
4133
4133
|
}), ji = ee.extend({
|
|
4134
4134
|
// @section
|
|
@@ -4251,18 +4251,18 @@ function Ja() {
|
|
|
4251
4251
|
},
|
|
4252
4252
|
_initIcon: function() {
|
|
4253
4253
|
var t = this.options, e = "leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide"), i = t.icon.createIcon(this._icon), n = !1;
|
|
4254
|
-
i !== this._icon && (this._icon && this._removeIcon(), n = !0, t.title && (i.title = t.title), i.tagName === "IMG" && (i.alt = t.alt || "")),
|
|
4254
|
+
i !== this._icon && (this._icon && this._removeIcon(), n = !0, t.title && (i.title = t.title), i.tagName === "IMG" && (i.alt = t.alt || "")), W(i, e), t.keyboard && (i.tabIndex = "0", i.setAttribute("role", "button")), this._icon = i, t.riseOnHover && this.on({
|
|
4255
4255
|
mouseover: this._bringToFront,
|
|
4256
4256
|
mouseout: this._resetZIndex
|
|
4257
4257
|
}), this.options.autoPanOnFocus && X(i, "focus", this._panOnFocus, this);
|
|
4258
4258
|
var s = t.icon.createShadow(this._shadow), u = !1;
|
|
4259
|
-
s !== this._shadow && (this._removeShadow(), u = !0), s && (
|
|
4259
|
+
s !== this._shadow && (this._removeShadow(), u = !0), s && (W(s, e), s.alt = ""), this._shadow = s, t.opacity < 1 && this._updateOpacity(), n && this.getPane().appendChild(this._icon), this._initInteraction(), s && u && this.getPane(t.shadowPane).appendChild(this._shadow);
|
|
4260
4260
|
},
|
|
4261
4261
|
_removeIcon: function() {
|
|
4262
4262
|
this.options.riseOnHover && this.off({
|
|
4263
4263
|
mouseover: this._bringToFront,
|
|
4264
4264
|
mouseout: this._resetZIndex
|
|
4265
|
-
}), this.options.autoPanOnFocus &&
|
|
4265
|
+
}), this.options.autoPanOnFocus && gt(this._icon, "focus", this._panOnFocus, this), it(this._icon), this.removeInteractiveTarget(this._icon), this._icon = null;
|
|
4266
4266
|
},
|
|
4267
4267
|
_removeShadow: function() {
|
|
4268
4268
|
this._shadow && it(this._shadow), this._shadow = null;
|
|
@@ -4278,7 +4278,7 @@ function Ja() {
|
|
|
4278
4278
|
this._setPos(e);
|
|
4279
4279
|
},
|
|
4280
4280
|
_initInteraction: function() {
|
|
4281
|
-
if (this.options.interactive && (
|
|
4281
|
+
if (this.options.interactive && (W(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), Ao)) {
|
|
4282
4282
|
var t = this.options.draggable;
|
|
4283
4283
|
this.dragging && (t = this.dragging.enabled(), this.dragging.disable()), this.dragging = new Ao(this), t && this.dragging.enable();
|
|
4284
4284
|
}
|
|
@@ -4315,10 +4315,10 @@ function Ja() {
|
|
|
4315
4315
|
return this.options.icon.options.tooltipAnchor;
|
|
4316
4316
|
}
|
|
4317
4317
|
});
|
|
4318
|
-
function
|
|
4318
|
+
function tr(t, e) {
|
|
4319
4319
|
return new ji(t, e);
|
|
4320
4320
|
}
|
|
4321
|
-
var
|
|
4321
|
+
var ke = ee.extend({
|
|
4322
4322
|
// @section
|
|
4323
4323
|
// @aka Path options
|
|
4324
4324
|
options: {
|
|
@@ -4404,7 +4404,7 @@ function Ja() {
|
|
|
4404
4404
|
_clickTolerance: function() {
|
|
4405
4405
|
return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);
|
|
4406
4406
|
}
|
|
4407
|
-
}), Yi =
|
|
4407
|
+
}), Yi = ke.extend({
|
|
4408
4408
|
// @section
|
|
4409
4409
|
// @aka CircleMarker options
|
|
4410
4410
|
options: {
|
|
@@ -4439,7 +4439,7 @@ function Ja() {
|
|
|
4439
4439
|
},
|
|
4440
4440
|
setStyle: function(t) {
|
|
4441
4441
|
var e = t && t.radius || this._radius;
|
|
4442
|
-
return
|
|
4442
|
+
return ke.prototype.setStyle.call(this, t), this.setRadius(e), this;
|
|
4443
4443
|
},
|
|
4444
4444
|
_project: function() {
|
|
4445
4445
|
this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();
|
|
@@ -4462,7 +4462,7 @@ function Ja() {
|
|
|
4462
4462
|
return t.distanceTo(this._point) <= this._radius + this._clickTolerance();
|
|
4463
4463
|
}
|
|
4464
4464
|
});
|
|
4465
|
-
function
|
|
4465
|
+
function er(t, e) {
|
|
4466
4466
|
return new Yi(t, e);
|
|
4467
4467
|
}
|
|
4468
4468
|
var Un = Yi.extend({
|
|
@@ -4490,7 +4490,7 @@ function Ja() {
|
|
|
4490
4490
|
this._map.layerPointToLatLng(this._point.add(t))
|
|
4491
4491
|
);
|
|
4492
4492
|
},
|
|
4493
|
-
setStyle:
|
|
4493
|
+
setStyle: ke.prototype.setStyle,
|
|
4494
4494
|
_project: function() {
|
|
4495
4495
|
var t = this._latlng.lng, e = this._latlng.lat, i = this._map, n = i.options.crs;
|
|
4496
4496
|
if (n.distance === Ut.distance) {
|
|
@@ -4503,10 +4503,10 @@ function Ja() {
|
|
|
4503
4503
|
this._updateBounds();
|
|
4504
4504
|
}
|
|
4505
4505
|
});
|
|
4506
|
-
function
|
|
4506
|
+
function ir(t, e, i) {
|
|
4507
4507
|
return new Un(t, e, i);
|
|
4508
4508
|
}
|
|
4509
|
-
var me =
|
|
4509
|
+
var me = ke.extend({
|
|
4510
4510
|
// @section
|
|
4511
4511
|
// @aka Polyline options
|
|
4512
4512
|
options: {
|
|
@@ -4637,7 +4637,7 @@ function Ja() {
|
|
|
4637
4637
|
return !1;
|
|
4638
4638
|
}
|
|
4639
4639
|
});
|
|
4640
|
-
function
|
|
4640
|
+
function nr(t, e) {
|
|
4641
4641
|
return new me(t, e);
|
|
4642
4642
|
}
|
|
4643
4643
|
me._flat = To;
|
|
@@ -4690,7 +4690,7 @@ function Ja() {
|
|
|
4690
4690
|
return e || me.prototype._containsPoint.call(this, t, !0);
|
|
4691
4691
|
}
|
|
4692
4692
|
});
|
|
4693
|
-
function
|
|
4693
|
+
function or(t, e) {
|
|
4694
4694
|
return new Ue(t, e);
|
|
4695
4695
|
}
|
|
4696
4696
|
var pe = fe.extend({
|
|
@@ -4908,7 +4908,7 @@ function Ja() {
|
|
|
4908
4908
|
function Oo(t, e) {
|
|
4909
4909
|
return new pe(t, e);
|
|
4910
4910
|
}
|
|
4911
|
-
var
|
|
4911
|
+
var sr = Oo, tn = ee.extend({
|
|
4912
4912
|
// @section
|
|
4913
4913
|
// @aka ImageOverlay options
|
|
4914
4914
|
options: {
|
|
@@ -4937,10 +4937,10 @@ function Ja() {
|
|
|
4937
4937
|
className: ""
|
|
4938
4938
|
},
|
|
4939
4939
|
initialize: function(t, e, i) {
|
|
4940
|
-
this._url = t, this._bounds =
|
|
4940
|
+
this._url = t, this._bounds = _t(e), C(this, i);
|
|
4941
4941
|
},
|
|
4942
4942
|
onAdd: function() {
|
|
4943
|
-
this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (
|
|
4943
|
+
this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (W(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
|
|
4944
4944
|
},
|
|
4945
4945
|
onRemove: function() {
|
|
4946
4946
|
it(this._image), this.options.interactive && this.removeInteractiveTarget(this._image);
|
|
@@ -4971,7 +4971,7 @@ function Ja() {
|
|
|
4971
4971
|
// @method setBounds(bounds: LatLngBounds): this
|
|
4972
4972
|
// Update the bounds that this ImageOverlay covers
|
|
4973
4973
|
setBounds: function(t) {
|
|
4974
|
-
return this._bounds =
|
|
4974
|
+
return this._bounds = _t(t), this._map && this._reset(), this;
|
|
4975
4975
|
},
|
|
4976
4976
|
getEvents: function() {
|
|
4977
4977
|
var t = {
|
|
@@ -4998,7 +4998,7 @@ function Ja() {
|
|
|
4998
4998
|
},
|
|
4999
4999
|
_initImage: function() {
|
|
5000
5000
|
var t = this._url.tagName === "IMG", e = this._image = t ? this._url : I("img");
|
|
5001
|
-
if (
|
|
5001
|
+
if (W(e, "leaflet-image-layer"), this._zoomAnimated && W(e, "leaflet-zoom-animated"), this.options.className && W(e, this.options.className), e.onselectstart = v, e.onmousemove = v, e.onload = a(this.fire, this, "load"), e.onerror = a(this._overlayOnError, this, "error"), (this.options.crossOrigin || this.options.crossOrigin === "") && (e.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), this.options.zIndex && this._updateZIndex(), t) {
|
|
5002
5002
|
this._url = e.src;
|
|
5003
5003
|
return;
|
|
5004
5004
|
}
|
|
@@ -5031,7 +5031,7 @@ function Ja() {
|
|
|
5031
5031
|
getCenter: function() {
|
|
5032
5032
|
return this._bounds.getCenter();
|
|
5033
5033
|
}
|
|
5034
|
-
}),
|
|
5034
|
+
}), rr = function(t, e, i) {
|
|
5035
5035
|
return new tn(t, e, i);
|
|
5036
5036
|
}, zo = tn.extend({
|
|
5037
5037
|
// @section
|
|
@@ -5057,7 +5057,7 @@ function Ja() {
|
|
|
5057
5057
|
},
|
|
5058
5058
|
_initImage: function() {
|
|
5059
5059
|
var t = this._url.tagName === "VIDEO", e = this._image = t ? this._url : I("video");
|
|
5060
|
-
if (
|
|
5060
|
+
if (W(e, "leaflet-image-layer"), this._zoomAnimated && W(e, "leaflet-zoom-animated"), this.options.className && W(e, this.options.className), e.onselectstart = v, e.onmousemove = v, e.onloadeddata = a(this.fire, this, "load"), t) {
|
|
5061
5061
|
for (var i = e.getElementsByTagName("source"), n = [], s = 0; s < i.length; s++)
|
|
5062
5062
|
n.push(i[s].src);
|
|
5063
5063
|
this._url = i.length > 0 ? n : [e.src];
|
|
@@ -5073,19 +5073,19 @@ function Ja() {
|
|
|
5073
5073
|
// Returns the instance of [`HTMLVideoElement`](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)
|
|
5074
5074
|
// used by this overlay.
|
|
5075
5075
|
});
|
|
5076
|
-
function
|
|
5076
|
+
function ar(t, e, i) {
|
|
5077
5077
|
return new zo(t, e, i);
|
|
5078
5078
|
}
|
|
5079
5079
|
var Eo = tn.extend({
|
|
5080
5080
|
_initImage: function() {
|
|
5081
5081
|
var t = this._image = this._url;
|
|
5082
|
-
|
|
5082
|
+
W(t, "leaflet-image-layer"), this._zoomAnimated && W(t, "leaflet-zoom-animated"), this.options.className && W(t, this.options.className), t.onselectstart = v, t.onmousemove = v;
|
|
5083
5083
|
}
|
|
5084
5084
|
// @method getElement(): SVGElement
|
|
5085
5085
|
// Returns the instance of [`SVGElement`](https://developer.mozilla.org/docs/Web/API/SVGElement)
|
|
5086
5086
|
// used by this overlay.
|
|
5087
5087
|
});
|
|
5088
|
-
function
|
|
5088
|
+
function lr(t, e, i) {
|
|
5089
5089
|
return new Eo(t, e, i);
|
|
5090
5090
|
}
|
|
5091
5091
|
var le = ee.extend({
|
|
@@ -5133,10 +5133,10 @@ function Ja() {
|
|
|
5133
5133
|
return this._map ? this.close() : (arguments.length ? this._source = t : t = this._source, this._prepareOpen(), this.openOn(t._map)), this;
|
|
5134
5134
|
},
|
|
5135
5135
|
onAdd: function(t) {
|
|
5136
|
-
this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && Bt(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && Bt(this._container, 1), this.bringToFront(), this.options.interactive && (
|
|
5136
|
+
this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && Bt(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && Bt(this._container, 1), this.bringToFront(), this.options.interactive && (W(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
|
|
5137
5137
|
},
|
|
5138
5138
|
onRemove: function(t) {
|
|
5139
|
-
t._fadeAnimated ? (Bt(this._container, 0), this._removeTimeout = setTimeout(a(it, void 0, this._container), 200)) : it(this._container), this.options.interactive && (
|
|
5139
|
+
t._fadeAnimated ? (Bt(this._container, 0), this._removeTimeout = setTimeout(a(it, void 0, this._container), 200)) : it(this._container), this.options.interactive && (pt(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
|
|
5140
5140
|
},
|
|
5141
5141
|
// @namespace DivOverlay
|
|
5142
5142
|
// @method getLatLng: LatLng
|
|
@@ -5323,10 +5323,10 @@ function Ja() {
|
|
|
5323
5323
|
return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, le.prototype.openOn.call(this, t);
|
|
5324
5324
|
},
|
|
5325
5325
|
onAdd: function(t) {
|
|
5326
|
-
le.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof
|
|
5326
|
+
le.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof ke || this._source.on("preclick", Ie));
|
|
5327
5327
|
},
|
|
5328
5328
|
onRemove: function(t) {
|
|
5329
|
-
le.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof
|
|
5329
|
+
le.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof ke || this._source.off("preclick", Ie));
|
|
5330
5330
|
},
|
|
5331
5331
|
getEvents: function() {
|
|
5332
5332
|
var t = le.prototype.getEvents.call(this);
|
|
@@ -5350,7 +5350,7 @@ function Ja() {
|
|
|
5350
5350
|
var i = t.offsetWidth;
|
|
5351
5351
|
i = Math.min(i, this.options.maxWidth), i = Math.max(i, this.options.minWidth), e.width = i + 1 + "px", e.whiteSpace = "", e.height = "";
|
|
5352
5352
|
var n = t.offsetHeight, s = this.options.maxHeight, u = "leaflet-popup-scrolled";
|
|
5353
|
-
s && n > s ? (e.height = s + "px",
|
|
5353
|
+
s && n > s ? (e.height = s + "px", W(t, u)) : pt(t, u), this._containerWidth = this._container.offsetWidth;
|
|
5354
5354
|
},
|
|
5355
5355
|
_animateZoom: function(t) {
|
|
5356
5356
|
var e = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center), i = this._getAnchor();
|
|
@@ -5371,7 +5371,7 @@ function Ja() {
|
|
|
5371
5371
|
_getAnchor: function() {
|
|
5372
5372
|
return U(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
|
|
5373
5373
|
}
|
|
5374
|
-
}),
|
|
5374
|
+
}), ur = function(t, e) {
|
|
5375
5375
|
return new en(t, e);
|
|
5376
5376
|
};
|
|
5377
5377
|
st.mergeOptions({
|
|
@@ -5447,7 +5447,7 @@ function Ja() {
|
|
|
5447
5447
|
if (!(!this._popup || !this._map)) {
|
|
5448
5448
|
Oe(t);
|
|
5449
5449
|
var e = t.layer || t.target;
|
|
5450
|
-
if (this._popup._source === e && !(e instanceof
|
|
5450
|
+
if (this._popup._source === e && !(e instanceof ke)) {
|
|
5451
5451
|
this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(t.latlng);
|
|
5452
5452
|
return;
|
|
5453
5453
|
}
|
|
@@ -5507,7 +5507,7 @@ function Ja() {
|
|
|
5507
5507
|
},
|
|
5508
5508
|
_setPosition: function(t) {
|
|
5509
5509
|
var e, i, n = this._map, s = this._container, u = n.latLngToContainerPoint(n.getCenter()), m = n.layerPointToContainerPoint(t), w = this.options.direction, x = s.offsetWidth, S = s.offsetHeight, B = U(this.options.offset), $ = this._getAnchor();
|
|
5510
|
-
w === "top" ? (e = x / 2, i = S) : w === "bottom" ? (e = x / 2, i = 0) : w === "center" ? (e = x / 2, i = S / 2) : w === "right" ? (e = 0, i = S / 2) : w === "left" ? (e = x, i = S / 2) : m.x < u.x ? (w = "right", e = 0, i = S / 2) : (w = "left", e = x + (B.x + $.x) * 2, i = S / 2), t = t.subtract(U(e, i, !0)).add(B).add($),
|
|
5510
|
+
w === "top" ? (e = x / 2, i = S) : w === "bottom" ? (e = x / 2, i = 0) : w === "center" ? (e = x / 2, i = S / 2) : w === "right" ? (e = 0, i = S / 2) : w === "left" ? (e = x, i = S / 2) : m.x < u.x ? (w = "right", e = 0, i = S / 2) : (w = "left", e = x + (B.x + $.x) * 2, i = S / 2), t = t.subtract(U(e, i, !0)).add(B).add($), pt(s, "leaflet-tooltip-right"), pt(s, "leaflet-tooltip-left"), pt(s, "leaflet-tooltip-top"), pt(s, "leaflet-tooltip-bottom"), W(s, "leaflet-tooltip-" + w), kt(s, t);
|
|
5511
5511
|
},
|
|
5512
5512
|
_updatePosition: function() {
|
|
5513
5513
|
var t = this._map.latLngToLayerPoint(this._latlng);
|
|
@@ -5523,7 +5523,7 @@ function Ja() {
|
|
|
5523
5523
|
_getAnchor: function() {
|
|
5524
5524
|
return U(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
|
|
5525
5525
|
}
|
|
5526
|
-
}),
|
|
5526
|
+
}), hr = function(t, e) {
|
|
5527
5527
|
return new nn(t, e);
|
|
5528
5528
|
};
|
|
5529
5529
|
st.include({
|
|
@@ -5653,7 +5653,7 @@ function Ja() {
|
|
|
5653
5653
|
return null;
|
|
5654
5654
|
}
|
|
5655
5655
|
});
|
|
5656
|
-
function
|
|
5656
|
+
function cr(t) {
|
|
5657
5657
|
return new Bo(t);
|
|
5658
5658
|
}
|
|
5659
5659
|
Ge.Default = mi;
|
|
@@ -5814,7 +5814,7 @@ function Ja() {
|
|
|
5814
5814
|
Bt(s.el, u), u < 1 ? e = !0 : (s.active ? i = !0 : this._onOpaqueTile(s), s.active = !0);
|
|
5815
5815
|
}
|
|
5816
5816
|
}
|
|
5817
|
-
i && !this._noPrune && this._pruneTiles(), e && (
|
|
5817
|
+
i && !this._noPrune && this._pruneTiles(), e && (q(this._fadeFrame), this._fadeFrame = Y(this._updateOpacity, this));
|
|
5818
5818
|
}
|
|
5819
5819
|
},
|
|
5820
5820
|
_onOpaqueTile: v,
|
|
@@ -5975,7 +5975,7 @@ function Ja() {
|
|
|
5975
5975
|
if (!this.options.bounds)
|
|
5976
5976
|
return !0;
|
|
5977
5977
|
var n = this._tileCoordsToBounds(t);
|
|
5978
|
-
return
|
|
5978
|
+
return _t(this.options.bounds).overlaps(n);
|
|
5979
5979
|
},
|
|
5980
5980
|
_keyToBounds: function(t) {
|
|
5981
5981
|
return this._tileCoordsToBounds(this._keyToTileCoords(t));
|
|
@@ -6006,13 +6006,13 @@ function Ja() {
|
|
|
6006
6006
|
}));
|
|
6007
6007
|
},
|
|
6008
6008
|
_initTile: function(t) {
|
|
6009
|
-
|
|
6009
|
+
W(t, "leaflet-tile");
|
|
6010
6010
|
var e = this.getTileSize();
|
|
6011
6011
|
t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = v, t.onmousemove = v, V.ielt9 && this.options.opacity < 1 && Bt(t, this.options.opacity);
|
|
6012
6012
|
},
|
|
6013
6013
|
_addTile: function(t, e) {
|
|
6014
6014
|
var i = this._getTilePos(t), n = this._tileCoordsToKey(t), s = this.createTile(this._wrapCoords(t), a(this._tileReady, this, t));
|
|
6015
|
-
this._initTile(s), this.createTile.length < 2 &&
|
|
6015
|
+
this._initTile(s), this.createTile.length < 2 && Y(a(this._tileReady, this, t, null, s)), kt(s, i), this._tiles[n] = {
|
|
6016
6016
|
el: s,
|
|
6017
6017
|
coords: t,
|
|
6018
6018
|
current: !0
|
|
@@ -6028,10 +6028,10 @@ function Ja() {
|
|
|
6028
6028
|
coords: t
|
|
6029
6029
|
});
|
|
6030
6030
|
var n = this._tileCoordsToKey(t);
|
|
6031
|
-
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (Bt(i.el, 0),
|
|
6031
|
+
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (Bt(i.el, 0), q(this._fadeFrame), this._fadeFrame = Y(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (W(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
|
|
6032
6032
|
tile: i.el,
|
|
6033
6033
|
coords: t
|
|
6034
|
-
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), V.ielt9 || !this._map._fadeAnimated ?
|
|
6034
|
+
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), V.ielt9 || !this._map._fadeAnimated ? Y(this._pruneTiles, this) : setTimeout(a(this._pruneTiles, this), 250)));
|
|
6035
6035
|
},
|
|
6036
6036
|
_getTilePos: function(t) {
|
|
6037
6037
|
return t.scaleBy(this.getTileSize()).subtract(this._level.origin);
|
|
@@ -6057,7 +6057,7 @@ function Ja() {
|
|
|
6057
6057
|
return !0;
|
|
6058
6058
|
}
|
|
6059
6059
|
});
|
|
6060
|
-
function
|
|
6060
|
+
function dr(t) {
|
|
6061
6061
|
return new pi(t);
|
|
6062
6062
|
}
|
|
6063
6063
|
var We = pi.extend({
|
|
@@ -6241,10 +6241,10 @@ function Ja() {
|
|
|
6241
6241
|
return k(this.wmsParams, t), e || this.redraw(), this;
|
|
6242
6242
|
}
|
|
6243
6243
|
});
|
|
6244
|
-
function
|
|
6244
|
+
function fr(t, e) {
|
|
6245
6245
|
return new Do(t, e);
|
|
6246
6246
|
}
|
|
6247
|
-
We.WMS = Do, Zo.wms =
|
|
6247
|
+
We.WMS = Do, Zo.wms = fr;
|
|
6248
6248
|
var _e = ee.extend({
|
|
6249
6249
|
// @section
|
|
6250
6250
|
// @aka Renderer options
|
|
@@ -6258,7 +6258,7 @@ function Ja() {
|
|
|
6258
6258
|
C(this, t), f(this), this._layers = this._layers || {};
|
|
6259
6259
|
},
|
|
6260
6260
|
onAdd: function() {
|
|
6261
|
-
this._container || (this._initContainer(),
|
|
6261
|
+
this._container || (this._initContainer(), W(this._container, "leaflet-zoom-animated")), this.getPane().appendChild(this._container), this._update(), this.on("update", this._updatePaths, this);
|
|
6262
6262
|
},
|
|
6263
6263
|
onRemove: function() {
|
|
6264
6264
|
this.off("update", this._updatePaths, this), this._destroyContainer();
|
|
@@ -6322,7 +6322,7 @@ function Ja() {
|
|
|
6322
6322
|
X(t, "mousemove", this._onMouseMove, this), X(t, "click dblclick mousedown mouseup contextmenu", this._onClick, this), X(t, "mouseout", this._handleMouseOut, this), t._leaflet_disable_events = !0, this._ctx = t.getContext("2d");
|
|
6323
6323
|
},
|
|
6324
6324
|
_destroyContainer: function() {
|
|
6325
|
-
|
|
6325
|
+
q(this._redrawRequest), delete this._ctx, it(this._container), gt(this._container), delete this._container;
|
|
6326
6326
|
},
|
|
6327
6327
|
_updatePaths: function() {
|
|
6328
6328
|
if (!this._postponeUpdatePaths) {
|
|
@@ -6378,7 +6378,7 @@ function Ja() {
|
|
|
6378
6378
|
t.options._dashArray = t.options.dashArray;
|
|
6379
6379
|
},
|
|
6380
6380
|
_requestRedraw: function(t) {
|
|
6381
|
-
this._map && (this._extendRedrawBounds(t), this._redrawRequest = this._redrawRequest ||
|
|
6381
|
+
this._map && (this._extendRedrawBounds(t), this._redrawRequest = this._redrawRequest || Y(this._redraw, this));
|
|
6382
6382
|
},
|
|
6383
6383
|
_extendRedrawBounds: function(t) {
|
|
6384
6384
|
if (t._pxBounds) {
|
|
@@ -6446,13 +6446,13 @@ function Ja() {
|
|
|
6446
6446
|
},
|
|
6447
6447
|
_handleMouseOut: function(t) {
|
|
6448
6448
|
var e = this._hoveredLayer;
|
|
6449
|
-
e && (
|
|
6449
|
+
e && (pt(this._container, "leaflet-interactive"), this._fireEvent([e], t, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);
|
|
6450
6450
|
},
|
|
6451
6451
|
_handleMouseHover: function(t, e) {
|
|
6452
6452
|
if (!this._mouseHoverThrottled) {
|
|
6453
6453
|
for (var i, n, s = this._drawFirst; s; s = s.next)
|
|
6454
6454
|
i = s.layer, i.options.interactive && i._containsPoint(e) && (n = i);
|
|
6455
|
-
n !== this._hoveredLayer && (this._handleMouseOut(t), n && (
|
|
6455
|
+
n !== this._hoveredLayer && (this._handleMouseOut(t), n && (W(this._container, "leaflet-interactive"), this._fireEvent([n], t, "mouseover"), this._hoveredLayer = n)), this._fireEvent(this._hoveredLayer ? [this._hoveredLayer] : !1, t), this._mouseHoverThrottled = !0, setTimeout(a(function() {
|
|
6456
6456
|
this._mouseHoverThrottled = !1;
|
|
6457
6457
|
}, this), 32);
|
|
6458
6458
|
}
|
|
@@ -6496,7 +6496,7 @@ function Ja() {
|
|
|
6496
6496
|
return function(t) {
|
|
6497
6497
|
return document.createElement("<" + t + ' xmlns="urn:schemas-microsoft.com:vml" class="lvml">');
|
|
6498
6498
|
};
|
|
6499
|
-
})(),
|
|
6499
|
+
})(), mr = {
|
|
6500
6500
|
_initContainer: function() {
|
|
6501
6501
|
this._container = I("div", "leaflet-vml-container");
|
|
6502
6502
|
},
|
|
@@ -6505,7 +6505,7 @@ function Ja() {
|
|
|
6505
6505
|
},
|
|
6506
6506
|
_initPath: function(t) {
|
|
6507
6507
|
var e = t._container = _i("shape");
|
|
6508
|
-
|
|
6508
|
+
W(e, "leaflet-vml-shape " + (this.options.className || "")), e.coordsize = "1 1", t._path = _i("path"), e.appendChild(t._path), this._updateStyle(t), this._layers[f(t)] = t;
|
|
6509
6509
|
},
|
|
6510
6510
|
_addPath: function(t) {
|
|
6511
6511
|
var e = t._container;
|
|
@@ -6537,7 +6537,7 @@ function Ja() {
|
|
|
6537
6537
|
this._container = on("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = on("g"), this._container.appendChild(this._rootGroup);
|
|
6538
6538
|
},
|
|
6539
6539
|
_destroyContainer: function() {
|
|
6540
|
-
it(this._container),
|
|
6540
|
+
it(this._container), gt(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
|
|
6541
6541
|
},
|
|
6542
6542
|
_update: function() {
|
|
6543
6543
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
@@ -6549,7 +6549,7 @@ function Ja() {
|
|
|
6549
6549
|
// methods below are called by vector layers implementations
|
|
6550
6550
|
_initPath: function(t) {
|
|
6551
6551
|
var e = t._path = on("path");
|
|
6552
|
-
t.options.className &&
|
|
6552
|
+
t.options.className && W(e, t.options.className), t.options.interactive && W(e, "leaflet-interactive"), this._updateStyle(t), this._layers[f(t)] = t;
|
|
6553
6553
|
},
|
|
6554
6554
|
_addPath: function(t) {
|
|
6555
6555
|
this._rootGroup || this._initContainer(), this._rootGroup.appendChild(t._path), t.addInteractiveTarget(t._path);
|
|
@@ -6582,7 +6582,7 @@ function Ja() {
|
|
|
6582
6582
|
Et(t._path);
|
|
6583
6583
|
}
|
|
6584
6584
|
});
|
|
6585
|
-
V.vml && gi.include(
|
|
6585
|
+
V.vml && gi.include(mr);
|
|
6586
6586
|
function Ho(t) {
|
|
6587
6587
|
return V.svg || V.vml ? new gi(t) : null;
|
|
6588
6588
|
}
|
|
@@ -6615,7 +6615,7 @@ function Ja() {
|
|
|
6615
6615
|
return this.setLatLngs(this._boundsToLatLngs(t));
|
|
6616
6616
|
},
|
|
6617
6617
|
_boundsToLatLngs: function(t) {
|
|
6618
|
-
return t =
|
|
6618
|
+
return t = _t(t), [
|
|
6619
6619
|
t.getSouthWest(),
|
|
6620
6620
|
t.getNorthWest(),
|
|
6621
6621
|
t.getNorthEast(),
|
|
@@ -6623,7 +6623,7 @@ function Ja() {
|
|
|
6623
6623
|
];
|
|
6624
6624
|
}
|
|
6625
6625
|
});
|
|
6626
|
-
function
|
|
6626
|
+
function pr(t, e) {
|
|
6627
6627
|
return new Vo(t, e);
|
|
6628
6628
|
}
|
|
6629
6629
|
gi.create = on, gi.pointsToPath = Te, pe.geometryToLayer = Xi, pe.coordsToLatLng = $n, pe.coordsToLatLngs = Ki, pe.latLngToCoords = Wn, pe.latLngsToCoords = Ji, pe.getFeature = $e, pe.asFeature = Qi, st.mergeOptions({
|
|
@@ -6640,7 +6640,7 @@ function Ja() {
|
|
|
6640
6640
|
X(this._container, "mousedown", this._onMouseDown, this);
|
|
6641
6641
|
},
|
|
6642
6642
|
removeHooks: function() {
|
|
6643
|
-
|
|
6643
|
+
gt(this._container, "mousedown", this._onMouseDown, this);
|
|
6644
6644
|
},
|
|
6645
6645
|
moved: function() {
|
|
6646
6646
|
return this._moved;
|
|
@@ -6665,12 +6665,12 @@ function Ja() {
|
|
|
6665
6665
|
}, this);
|
|
6666
6666
|
},
|
|
6667
6667
|
_onMouseMove: function(t) {
|
|
6668
|
-
this._moved || (this._moved = !0, this._box = I("div", "leaflet-zoom-box", this._container),
|
|
6668
|
+
this._moved || (this._moved = !0, this._box = I("div", "leaflet-zoom-box", this._container), W(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(t);
|
|
6669
6669
|
var e = new ct(this._point, this._startPoint), i = e.getSize();
|
|
6670
6670
|
kt(this._box, e.min), this._box.style.width = i.x + "px", this._box.style.height = i.y + "px";
|
|
6671
6671
|
},
|
|
6672
6672
|
_finish: function() {
|
|
6673
|
-
this._moved && (it(this._box),
|
|
6673
|
+
this._moved && (it(this._box), pt(this._container, "leaflet-crosshair")), ui(), Sn(), gt(document, {
|
|
6674
6674
|
contextmenu: Oe,
|
|
6675
6675
|
mousemove: this._onMouseMove,
|
|
6676
6676
|
mouseup: this._onMouseUp,
|
|
@@ -6750,16 +6750,16 @@ function Ja() {
|
|
|
6750
6750
|
addHooks: function() {
|
|
6751
6751
|
if (!this._draggable) {
|
|
6752
6752
|
var t = this._map;
|
|
6753
|
-
this._draggable = new
|
|
6753
|
+
this._draggable = new we(t._mapPane, t._container), this._draggable.on({
|
|
6754
6754
|
dragstart: this._onDragStart,
|
|
6755
6755
|
drag: this._onDrag,
|
|
6756
6756
|
dragend: this._onDragEnd
|
|
6757
6757
|
}, this), this._draggable.on("predrag", this._onPreDragLimit, this), t.options.worldCopyJump && (this._draggable.on("predrag", this._onPreDragWrap, this), t.on("zoomend", this._onZoomEnd, this), t.whenReady(this._onZoomEnd, this));
|
|
6758
6758
|
}
|
|
6759
|
-
|
|
6759
|
+
W(this._map._container, "leaflet-grab leaflet-touch-drag"), this._draggable.enable(), this._positions = [], this._times = [];
|
|
6760
6760
|
},
|
|
6761
6761
|
removeHooks: function() {
|
|
6762
|
-
|
|
6762
|
+
pt(this._map._container, "leaflet-grab"), pt(this._map._container, "leaflet-touch-drag"), this._draggable.disable();
|
|
6763
6763
|
},
|
|
6764
6764
|
moved: function() {
|
|
6765
6765
|
return this._draggable && this._draggable._moved;
|
|
@@ -6770,7 +6770,7 @@ function Ja() {
|
|
|
6770
6770
|
_onDragStart: function() {
|
|
6771
6771
|
var t = this._map;
|
|
6772
6772
|
if (t._stop(), this._map.options.maxBounds && this._map.options.maxBoundsViscosity) {
|
|
6773
|
-
var e =
|
|
6773
|
+
var e = _t(this._map.options.maxBounds);
|
|
6774
6774
|
this._offsetLimit = yt(
|
|
6775
6775
|
this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),
|
|
6776
6776
|
this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())
|
|
@@ -6814,7 +6814,7 @@ function Ja() {
|
|
|
6814
6814
|
else {
|
|
6815
6815
|
this._prunePositions(+/* @__PURE__ */ new Date());
|
|
6816
6816
|
var s = this._lastPos.subtract(this._positions[0]), u = (this._lastTime - this._times[0]) / 1e3, m = i.easeLinearity, w = s.multiplyBy(m / u), x = w.distanceTo([0, 0]), S = Math.min(i.inertiaMaxSpeed, x), B = w.multiplyBy(S / x), $ = S / (i.inertiaDeceleration * m), tt = B.multiplyBy(-$ / 2).round();
|
|
6817
|
-
!tt.x && !tt.y ? e.fire("moveend") : (tt = e._limitOffset(tt, e.options.maxBounds),
|
|
6817
|
+
!tt.x && !tt.y ? e.fire("moveend") : (tt = e._limitOffset(tt, e.options.maxBounds), Y(function() {
|
|
6818
6818
|
e.panBy(tt, {
|
|
6819
6819
|
duration: $,
|
|
6820
6820
|
easeLinearity: m,
|
|
@@ -6858,7 +6858,7 @@ function Ja() {
|
|
|
6858
6858
|
}, this);
|
|
6859
6859
|
},
|
|
6860
6860
|
removeHooks: function() {
|
|
6861
|
-
this._removeHooks(),
|
|
6861
|
+
this._removeHooks(), gt(this._map._container, {
|
|
6862
6862
|
focus: this._onFocus,
|
|
6863
6863
|
blur: this._onBlur,
|
|
6864
6864
|
mousedown: this._onMouseDown
|
|
@@ -6901,7 +6901,7 @@ function Ja() {
|
|
|
6901
6901
|
X(document, "keydown", this._onKeyDown, this);
|
|
6902
6902
|
},
|
|
6903
6903
|
_removeHooks: function() {
|
|
6904
|
-
|
|
6904
|
+
gt(document, "keydown", this._onKeyDown, this);
|
|
6905
6905
|
},
|
|
6906
6906
|
_onKeyDown: function(t) {
|
|
6907
6907
|
if (!(t.altKey || t.ctrlKey || t.metaKey)) {
|
|
@@ -6944,7 +6944,7 @@ function Ja() {
|
|
|
6944
6944
|
X(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
|
|
6945
6945
|
},
|
|
6946
6946
|
removeHooks: function() {
|
|
6947
|
-
|
|
6947
|
+
gt(this._map._container, "wheel", this._onWheelScroll, this);
|
|
6948
6948
|
},
|
|
6949
6949
|
_onWheelScroll: function(t) {
|
|
6950
6950
|
var e = _o(t), i = this._map.options.wheelDebounceTime;
|
|
@@ -6960,7 +6960,7 @@ function Ja() {
|
|
|
6960
6960
|
}
|
|
6961
6961
|
});
|
|
6962
6962
|
st.addInitHook("addHandler", "scrollWheelZoom", Wo);
|
|
6963
|
-
var
|
|
6963
|
+
var _r = 600;
|
|
6964
6964
|
st.mergeOptions({
|
|
6965
6965
|
// @section Touch interaction options
|
|
6966
6966
|
// @option tapHold: Boolean
|
|
@@ -6976,21 +6976,21 @@ function Ja() {
|
|
|
6976
6976
|
X(this._map._container, "touchstart", this._onDown, this);
|
|
6977
6977
|
},
|
|
6978
6978
|
removeHooks: function() {
|
|
6979
|
-
|
|
6979
|
+
gt(this._map._container, "touchstart", this._onDown, this);
|
|
6980
6980
|
},
|
|
6981
6981
|
_onDown: function(t) {
|
|
6982
6982
|
if (clearTimeout(this._holdTimeout), t.touches.length === 1) {
|
|
6983
6983
|
var e = t.touches[0];
|
|
6984
6984
|
this._startPos = this._newPos = new F(e.clientX, e.clientY), this._holdTimeout = setTimeout(a(function() {
|
|
6985
6985
|
this._cancel(), this._isTapValid() && (X(document, "touchend", zt), X(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", e));
|
|
6986
|
-
}, this),
|
|
6986
|
+
}, this), _r), X(document, "touchend touchcancel contextmenu", this._cancel, this), X(document, "touchmove", this._onMove, this);
|
|
6987
6987
|
}
|
|
6988
6988
|
},
|
|
6989
6989
|
_cancelClickPrevent: function t() {
|
|
6990
|
-
|
|
6990
|
+
gt(document, "touchend", zt), gt(document, "touchend touchcancel", t);
|
|
6991
6991
|
},
|
|
6992
6992
|
_cancel: function() {
|
|
6993
|
-
clearTimeout(this._holdTimeout),
|
|
6993
|
+
clearTimeout(this._holdTimeout), gt(document, "touchend touchcancel contextmenu", this._cancel, this), gt(document, "touchmove", this._onMove, this);
|
|
6994
6994
|
},
|
|
6995
6995
|
_onMove: function(t) {
|
|
6996
6996
|
var e = t.touches[0];
|
|
@@ -7030,10 +7030,10 @@ function Ja() {
|
|
|
7030
7030
|
});
|
|
7031
7031
|
var jo = ae.extend({
|
|
7032
7032
|
addHooks: function() {
|
|
7033
|
-
|
|
7033
|
+
W(this._map._container, "leaflet-touch-zoom"), X(this._map._container, "touchstart", this._onTouchStart, this);
|
|
7034
7034
|
},
|
|
7035
7035
|
removeHooks: function() {
|
|
7036
|
-
|
|
7036
|
+
pt(this._map._container, "leaflet-touch-zoom"), gt(this._map._container, "touchstart", this._onTouchStart, this);
|
|
7037
7037
|
},
|
|
7038
7038
|
_onTouchStart: function(t) {
|
|
7039
7039
|
var e = this._map;
|
|
@@ -7054,9 +7054,9 @@ function Ja() {
|
|
|
7054
7054
|
return;
|
|
7055
7055
|
this._center = e.unproject(e.project(this._pinchStartLatLng, this._zoom).subtract(u), this._zoom);
|
|
7056
7056
|
}
|
|
7057
|
-
this._moved || (e._moveStart(!0, !1), this._moved = !0),
|
|
7057
|
+
this._moved || (e._moveStart(!0, !1), this._moved = !0), q(this._animRequest);
|
|
7058
7058
|
var m = a(e._move, e, this._center, this._zoom, { pinch: !0, round: !1 }, void 0);
|
|
7059
|
-
this._animRequest =
|
|
7059
|
+
this._animRequest = Y(m, this, !0), zt(t);
|
|
7060
7060
|
}
|
|
7061
7061
|
},
|
|
7062
7062
|
_onTouchEnd: function() {
|
|
@@ -7064,22 +7064,22 @@ function Ja() {
|
|
|
7064
7064
|
this._zooming = !1;
|
|
7065
7065
|
return;
|
|
7066
7066
|
}
|
|
7067
|
-
this._zooming = !1,
|
|
7067
|
+
this._zooming = !1, q(this._animRequest), gt(document, "touchmove", this._onTouchMove, this), gt(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));
|
|
7068
7068
|
}
|
|
7069
7069
|
});
|
|
7070
|
-
st.addInitHook("addHandler", "touchZoom", jo), st.BoxZoom = Fo, st.DoubleClickZoom = Go, st.Drag = Uo, st.Keyboard = $o, st.ScrollWheelZoom = Wo, st.TapHold = qo, st.TouchZoom = jo, c.Bounds = ct, c.Browser = V, c.CRS = Ft, c.Canvas = No, c.Circle = Un, c.CircleMarker = Yi, c.Class = at, c.Control = te, c.DivIcon = Bo, c.DivOverlay = le, c.DomEvent =
|
|
7071
|
-
var
|
|
7070
|
+
st.addInitHook("addHandler", "touchZoom", jo), st.BoxZoom = Fo, st.DoubleClickZoom = Go, st.Drag = Uo, st.Keyboard = $o, st.ScrollWheelZoom = Wo, st.TapHold = qo, st.TouchZoom = jo, c.Bounds = ct, c.Browser = V, c.CRS = Ft, c.Canvas = No, c.Circle = Un, c.CircleMarker = Yi, c.Class = at, c.Control = te, c.DivIcon = Bo, c.DivOverlay = le, c.DomEvent = Es, c.DomUtil = Os, c.Draggable = we, c.Evented = Vt, c.FeatureGroup = fe, c.GeoJSON = pe, c.GridLayer = pi, c.Handler = ae, c.Icon = Ge, c.ImageOverlay = tn, c.LatLng = G, c.LatLngBounds = dt, c.Layer = ee, c.LayerGroup = Fe, c.LineUtil = qs, c.Map = st, c.Marker = ji, c.Mixin = Vs, c.Path = ke, c.Point = F, c.PolyUtil = Fs, c.Polygon = Ue, c.Polyline = me, c.Popup = en, c.PosAnimation = go, c.Projection = js, c.Rectangle = Vo, c.Renderer = _e, c.SVG = gi, c.SVGOverlay = Eo, c.TileLayer = We, c.Tooltip = nn, c.Transformation = ce, c.Util = It, c.VideoOverlay = zo, c.bind = a, c.bounds = yt, c.canvas = Ro, c.circle = ir, c.circleMarker = er, c.control = di, c.divIcon = cr, c.extend = k, c.featureGroup = Js, c.geoJSON = Oo, c.geoJson = sr, c.gridLayer = dr, c.icon = Qs, c.imageOverlay = rr, c.latLng = J, c.latLngBounds = _t, c.layerGroup = Ks, c.map = Bs, c.marker = tr, c.point = U, c.polygon = or, c.polyline = nr, c.popup = ur, c.rectangle = pr, c.setOptions = C, c.stamp = f, c.svg = Ho, c.svgOverlay = lr, c.tileLayer = Zo, c.tooltip = hr, c.transformation = se, c.version = p, c.videoOverlay = ar;
|
|
7071
|
+
var gr = window.L;
|
|
7072
7072
|
c.noConflict = function() {
|
|
7073
|
-
return window.L =
|
|
7073
|
+
return window.L = gr, this;
|
|
7074
7074
|
}, window.L = c;
|
|
7075
7075
|
}));
|
|
7076
7076
|
})(Li, Li.exports)), Li.exports;
|
|
7077
7077
|
}
|
|
7078
7078
|
var Qa = Ja();
|
|
7079
|
-
const ge = /* @__PURE__ */
|
|
7080
|
-
var wi = { exports: {} }, tl = wi.exports,
|
|
7079
|
+
const ge = /* @__PURE__ */ ia(Qa);
|
|
7080
|
+
var wi = { exports: {} }, tl = wi.exports, cs;
|
|
7081
7081
|
function el() {
|
|
7082
|
-
return
|
|
7082
|
+
return cs || (cs = 1, (function(r, d) {
|
|
7083
7083
|
(function(c, p) {
|
|
7084
7084
|
p(d);
|
|
7085
7085
|
})(tl, function(c) {
|
|
@@ -8101,7 +8101,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8101
8101
|
},
|
|
8102
8102
|
emits: ["update:modelValue", "callback"],
|
|
8103
8103
|
setup(r, { emit: d }) {
|
|
8104
|
-
const { t: c } = Kt(), p = d, k = r, { hotelMapImage: o } =
|
|
8104
|
+
const { t: c } = Kt(), p = d, k = r, { hotelMapImage: o } = Wt(he()), a = ge.Util.extend(ge.CRS.Simple, {
|
|
8105
8105
|
transformation: new ge.Transformation(1, 0, 1, 0)
|
|
8106
8106
|
}), h = Xt(), f = vt(() => o.value?.url), g = vt(() => o.value?.height), b = vt(() => o.value?.width), v = ge.icon({
|
|
8107
8107
|
iconUrl: il,
|
|
@@ -8140,7 +8140,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8140
8140
|
});
|
|
8141
8141
|
});
|
|
8142
8142
|
}
|
|
8143
|
-
const { stop: _ } =
|
|
8143
|
+
const { stop: _ } = Wr(h, ([{ isIntersecting: E }]) => {
|
|
8144
8144
|
E && (_(), P());
|
|
8145
8145
|
}), T = vt({
|
|
8146
8146
|
get: () => k.modelValue,
|
|
@@ -8175,7 +8175,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8175
8175
|
function o() {
|
|
8176
8176
|
p.value && (k.config.units = 1, k.config.roomId = c.value, k.callback());
|
|
8177
8177
|
}
|
|
8178
|
-
return (a, h) => (M(), rt(
|
|
8178
|
+
return (a, h) => (M(), rt(ks, {
|
|
8179
8179
|
title: l(d)("hotel.selectRoomOnMapTitle")
|
|
8180
8180
|
}, {
|
|
8181
8181
|
default: nt(() => [
|
|
@@ -8229,21 +8229,21 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8229
8229
|
const g = vt(() => o.room.rates.map((et) => ({
|
|
8230
8230
|
label: et.name,
|
|
8231
8231
|
value: et.id
|
|
8232
|
-
}))), { hideAvailableRoomAmount: b, autoSelectRateId: v, enableMultipleConfigurations: P } =
|
|
8233
|
-
value:
|
|
8234
|
-
price:
|
|
8235
|
-
adults:
|
|
8236
|
-
children:
|
|
8237
|
-
hasBreakfast:
|
|
8232
|
+
}))), { hideAvailableRoomAmount: b, autoSelectRateId: v, enableMultipleConfigurations: P } = Wt(Be()), { roomSelect: _, isSearchOutdated: T } = Wt(he()), { addToCart: C, removeFromCart: R } = ho(), O = (et, Y) => o.room.rates.find((q) => q.id === et)?.occupantRates.find((q) => q.index === Y), E = vt(() => o.room.roomList.some((et) => et.mapImageX && et.mapImageY)), H = vt(() => o.room.rates.every((et) => et.isBreakfastIncluded === !0)), ot = (et, Y) => O(et, Y) ? O(et, Y)?.rooms : null, lt = (et) => o.room.rates.length > 0 ? o.room.rates.find((Y) => Y.id === et)?.occupantRates.map((Y) => ({
|
|
8233
|
+
value: Y.index,
|
|
8234
|
+
price: Y.totalPrice,
|
|
8235
|
+
adults: Y.adultsCount,
|
|
8236
|
+
children: Y.childrenCount,
|
|
8237
|
+
hasBreakfast: Y.hasBreakfast
|
|
8238
8238
|
})) || [] : [], Lt = vt(() => o.room.rates.length > 1);
|
|
8239
|
-
function Tt(et,
|
|
8240
|
-
a.value[et].config[0].id = o.room.rates.find((
|
|
8239
|
+
function Tt(et, Y) {
|
|
8240
|
+
a.value[et].config[0].id = o.room.rates.find((q) => q.id === Y.value)?.occupantRateIndex || NaN;
|
|
8241
8241
|
}
|
|
8242
8242
|
function Mt(et = 0) {
|
|
8243
8243
|
Lt.value ? v.value ? a.value[et] = {
|
|
8244
8244
|
id: o.room.bestRateMatch || void 0,
|
|
8245
8245
|
config: [{
|
|
8246
|
-
id: o.room.bestRateMatch && !isNaN(o.room.bestRateMatch) ? o.room.rates.find((
|
|
8246
|
+
id: o.room.bestRateMatch && !isNaN(o.room.bestRateMatch) ? o.room.rates.find((Y) => Y.id === o.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
8247
8247
|
units: 0,
|
|
8248
8248
|
addons: []
|
|
8249
8249
|
}]
|
|
@@ -8267,10 +8267,10 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8267
8267
|
Mt();
|
|
8268
8268
|
});
|
|
8269
8269
|
const Rt = vt(() => JSON.parse(JSON.stringify(a.value)));
|
|
8270
|
-
return rn(Rt, (et,
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
const ht = at.units, Vt =
|
|
8270
|
+
return rn(Rt, (et, Y) => {
|
|
8271
|
+
Y.length > 0 && et.forEach((q, It) => {
|
|
8272
|
+
Y[It] && q.config.forEach((at, Ht) => {
|
|
8273
|
+
const ht = at.units, Vt = Y[It].config[Ht].units;
|
|
8274
8274
|
ht !== Vt && (ht > Vt ? (a.value[It].config[Ht].addons.push({}), C({
|
|
8275
8275
|
id: o.room.id,
|
|
8276
8276
|
name: o.room.title,
|
|
@@ -8284,7 +8284,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8284
8284
|
});
|
|
8285
8285
|
}, { deep: !0 }), rn(a, () => {
|
|
8286
8286
|
_.value[o.room.id] = a.value;
|
|
8287
|
-
}, { deep: !0 }), (et,
|
|
8287
|
+
}, { deep: !0 }), (et, Y) => (M(), rt(an, {
|
|
8288
8288
|
type: "hotel",
|
|
8289
8289
|
"listing-id": r.room.id,
|
|
8290
8290
|
gallery: r.room.images,
|
|
@@ -8297,19 +8297,19 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8297
8297
|
}, {
|
|
8298
8298
|
action: nt(() => [
|
|
8299
8299
|
y("div", {
|
|
8300
|
-
class:
|
|
8300
|
+
class: ye([
|
|
8301
8301
|
"konnectio-availability-listing-selection",
|
|
8302
8302
|
{ "konnectio-multiple-configurations": a.value.length > 1 }
|
|
8303
8303
|
])
|
|
8304
8304
|
}, [
|
|
8305
|
-
(M(!0), A(ut, null, xt(a.value, (
|
|
8306
|
-
key:
|
|
8305
|
+
(M(!0), A(ut, null, xt(a.value, (q, It) => (M(), A("div", {
|
|
8306
|
+
key: q.id,
|
|
8307
8307
|
class: "konnectio-hotel-room"
|
|
8308
8308
|
}, [
|
|
8309
8309
|
Lt.value ? (M(), A("div", al, [
|
|
8310
8310
|
D(ln, {
|
|
8311
|
-
modelValue:
|
|
8312
|
-
"onUpdate:modelValue": (at) =>
|
|
8311
|
+
modelValue: q.id,
|
|
8312
|
+
"onUpdate:modelValue": (at) => q.id = at,
|
|
8313
8313
|
label: l(k)("hotel.roomVariant"),
|
|
8314
8314
|
placeholder: l(k)("hotel.chooseARoomVariant"),
|
|
8315
8315
|
options: g.value,
|
|
@@ -8326,7 +8326,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8326
8326
|
}, null, 8, ["onClickEvent"])
|
|
8327
8327
|
])) : Z("", !0)
|
|
8328
8328
|
])) : Z("", !0),
|
|
8329
|
-
|
|
8329
|
+
q.id ? (M(), A("div", ul, [
|
|
8330
8330
|
(M(!0), A(ut, null, xt(r.room.rates, ({
|
|
8331
8331
|
id: at,
|
|
8332
8332
|
maximumOccupants: Ht
|
|
@@ -8334,7 +8334,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8334
8334
|
key: at,
|
|
8335
8335
|
class: "konnectio-listing-action-selective-i"
|
|
8336
8336
|
}, [
|
|
8337
|
-
|
|
8337
|
+
q.id === at ? (M(!0), A(ut, { key: 0 }, xt(q.config, (ht, Vt) => (M(), A("div", {
|
|
8338
8338
|
key: Vt,
|
|
8339
8339
|
class: "konnectio-listing-action-selective"
|
|
8340
8340
|
}, [
|
|
@@ -8360,7 +8360,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8360
8360
|
}, null, 8, ["label", "disabled"]),
|
|
8361
8361
|
D(rl, {
|
|
8362
8362
|
modelValue: d.value,
|
|
8363
|
-
"onUpdate:modelValue":
|
|
8363
|
+
"onUpdate:modelValue": Y[0] || (Y[0] = (F) => d.value = F),
|
|
8364
8364
|
"room-list": r.room.roomList,
|
|
8365
8365
|
config: ht,
|
|
8366
8366
|
callback: p
|
|
@@ -8369,7 +8369,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8369
8369
|
D(bi, {
|
|
8370
8370
|
modelValue: ht.units,
|
|
8371
8371
|
"onUpdate:modelValue": (F) => ht.units = F,
|
|
8372
|
-
description: l(b) ? void 0 : `${l(k)("booking.availability.availableUnits")}: ${ot(
|
|
8372
|
+
description: l(b) ? void 0 : `${l(k)("booking.availability.availableUnits")}: ${ot(q.id, ht.id)}`,
|
|
8373
8373
|
icon: "house",
|
|
8374
8374
|
"icon-type": "fas",
|
|
8375
8375
|
"icon-placement": "label",
|
|
@@ -8394,7 +8394,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8394
8394
|
_: 1
|
|
8395
8395
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
8396
8396
|
}
|
|
8397
|
-
}),
|
|
8397
|
+
}), ds = /* @__PURE__ */ Jt(fl, [["__scopeId", "data-v-a4489b39"]]), ml = { class: "konnectio-template-side-panel" }, pl = { class: "konnectio-template-side-panel-listings" }, _l = /* @__PURE__ */ Nt({
|
|
8398
8398
|
__name: "Template",
|
|
8399
8399
|
props: {
|
|
8400
8400
|
title: {},
|
|
@@ -8405,7 +8405,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8405
8405
|
callback: { type: Function }
|
|
8406
8406
|
},
|
|
8407
8407
|
setup(r) {
|
|
8408
|
-
const { t: d } = Kt(), { templateID: c, roomGroupID: p, selectionHasNoAddons: k } =
|
|
8408
|
+
const { t: d } = Kt(), { templateID: c, roomGroupID: p, selectionHasNoAddons: k } = Wt(he()), { currency: o } = Wt(Be()), { clearRoomSelection: a } = he(), { addToCart: h } = ho(), f = r, g = Xt(!1), b = vt(() => {
|
|
8409
8409
|
function P(_, T) {
|
|
8410
8410
|
return g.value === !0 ? _.extraPrice > T.extraPrice ? -1 : 1 : _.extraPrice > T.extraPrice ? 1 : -1;
|
|
8411
8411
|
}
|
|
@@ -8424,7 +8424,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8424
8424
|
}
|
|
8425
8425
|
f.callback(2);
|
|
8426
8426
|
}
|
|
8427
|
-
return (P, _) => (M(), rt(
|
|
8427
|
+
return (P, _) => (M(), rt(ks, {
|
|
8428
8428
|
title: r.title,
|
|
8429
8429
|
subtitle: l(d)("booking.availability.selectATemplateRoom")
|
|
8430
8430
|
}, {
|
|
@@ -8479,7 +8479,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8479
8479
|
callback: { type: Function }
|
|
8480
8480
|
},
|
|
8481
8481
|
setup(r) {
|
|
8482
|
-
const { t: d } = Kt(), c = r, { isSearchOutdated: p } =
|
|
8482
|
+
const { t: d } = Kt(), c = r, { isSearchOutdated: p } = Wt(he()), k = vt(() => c.roomGroups.reduce(
|
|
8483
8483
|
(g, b) => g < b.extraPrice ? g : b.extraPrice,
|
|
8484
8484
|
1 / 0
|
|
8485
8485
|
) + c.weekendFee), o = Xt(!1);
|
|
@@ -8495,7 +8495,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8495
8495
|
name: r.name,
|
|
8496
8496
|
description: r.description,
|
|
8497
8497
|
gallery: r.images,
|
|
8498
|
-
layout: l(
|
|
8498
|
+
layout: l(ws).Template,
|
|
8499
8499
|
"includes-breakfast": !1,
|
|
8500
8500
|
"hide-info-button": !1,
|
|
8501
8501
|
"prices-from": k.value
|
|
@@ -8553,7 +8553,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8553
8553
|
name: r.name,
|
|
8554
8554
|
description: r.description,
|
|
8555
8555
|
gallery: r.images,
|
|
8556
|
-
layout: l(
|
|
8556
|
+
layout: l(ws).Template,
|
|
8557
8557
|
"includes-breakfast": !1,
|
|
8558
8558
|
"hide-info-button": !1,
|
|
8559
8559
|
"to-date": r.toDate,
|
|
@@ -8562,7 +8562,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8562
8562
|
}, {
|
|
8563
8563
|
action: nt(() => [
|
|
8564
8564
|
y("div", bl, [
|
|
8565
|
-
D(
|
|
8565
|
+
D(Ps, {
|
|
8566
8566
|
modelValue: o.value,
|
|
8567
8567
|
"onUpdate:modelValue": g[0] || (g[0] = (b) => o.value = b),
|
|
8568
8568
|
label: l(d)("availability.checkInOut"),
|
|
@@ -8587,7 +8587,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8587
8587
|
_: 1
|
|
8588
8588
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
8589
8589
|
}
|
|
8590
|
-
}), kl = /* @__PURE__ */ Jt(wl, [["__scopeId", "data-v-47edd09f"]]),
|
|
8590
|
+
}), kl = /* @__PURE__ */ Jt(wl, [["__scopeId", "data-v-47edd09f"]]), fs = /* @__PURE__ */ Nt({
|
|
8591
8591
|
__name: "TimeField",
|
|
8592
8592
|
props: {
|
|
8593
8593
|
modelValue: {},
|
|
@@ -8612,7 +8612,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8612
8612
|
const o = Xt(p.modelValue);
|
|
8613
8613
|
return rn(o, (a) => {
|
|
8614
8614
|
k(a);
|
|
8615
|
-
}), (a, h) => (M(), rt(
|
|
8615
|
+
}), (a, h) => (M(), rt(Ps, {
|
|
8616
8616
|
modelValue: o.value,
|
|
8617
8617
|
"onUpdate:modelValue": h[0] || (h[0] = (f) => o.value = f),
|
|
8618
8618
|
type: "time",
|
|
@@ -8661,14 +8661,14 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8661
8661
|
}, {
|
|
8662
8662
|
option: nt(({ data: g }) => [
|
|
8663
8663
|
y("i", {
|
|
8664
|
-
class:
|
|
8664
|
+
class: ye(["konnectio-flag-icon", g.iso])
|
|
8665
8665
|
}, null, 2),
|
|
8666
8666
|
y("span", null, z(g.name), 1)
|
|
8667
8667
|
]),
|
|
8668
8668
|
"selected-option": nt(({ data: g }) => [
|
|
8669
8669
|
y("div", Pl, [
|
|
8670
8670
|
y("i", {
|
|
8671
|
-
class:
|
|
8671
|
+
class: ye(["konnectio-flag-icon", g.iso])
|
|
8672
8672
|
}, null, 2),
|
|
8673
8673
|
y("span", null, z(g.name), 1)
|
|
8674
8674
|
])
|
|
@@ -8707,7 +8707,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8707
8707
|
const { t: f } = Kt();
|
|
8708
8708
|
return lo(() => {
|
|
8709
8709
|
c.modelValue && (o.value = c.modelValue), c.title && (a.value = c.title);
|
|
8710
|
-
}), (g, b) => (M(), rt(
|
|
8710
|
+
}), (g, b) => (M(), rt(qr, {
|
|
8711
8711
|
label: r.label,
|
|
8712
8712
|
id: l(k),
|
|
8713
8713
|
required: r.required,
|
|
@@ -8717,7 +8717,7 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8717
8717
|
}, {
|
|
8718
8718
|
default: nt(() => [
|
|
8719
8719
|
y("div", {
|
|
8720
|
-
class:
|
|
8720
|
+
class: ye([
|
|
8721
8721
|
"konnectio-name-input",
|
|
8722
8722
|
{ "no-title": r.excludeTitle }
|
|
8723
8723
|
])
|
|
@@ -8782,11 +8782,11 @@ const il = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8782
8782
|
setup(r) {
|
|
8783
8783
|
return (d, c) => (M(), A("div", Sl, [
|
|
8784
8784
|
y("div", Al, [
|
|
8785
|
-
D(
|
|
8786
|
-
D(
|
|
8785
|
+
D(Xr, { hotel: "" }),
|
|
8786
|
+
D(Hr)
|
|
8787
8787
|
]),
|
|
8788
8788
|
y("div", Il, [
|
|
8789
|
-
D(
|
|
8789
|
+
D(Vr)
|
|
8790
8790
|
])
|
|
8791
8791
|
]));
|
|
8792
8792
|
}
|
|
@@ -8843,22 +8843,25 @@ const _u = { class: "konnectio-event-addons-price" }, gu = { key: 1 }, vu = {
|
|
|
8843
8843
|
key: 1,
|
|
8844
8844
|
id: "konnectio-hotel-addons"
|
|
8845
8845
|
}, wu = { class: "konnectio-table with-lines without-header" };
|
|
8846
|
-
const ku = {
|
|
8846
|
+
const ku = {
|
|
8847
|
+
key: 0,
|
|
8848
|
+
class: "konnectio-table-addons-image"
|
|
8849
|
+
}, Pu = ["innerHTML"], Cu = { class: "konnectio-table-addons-option" }, xu = { class: "konnectio-panel" }, Tu = {
|
|
8847
8850
|
key: 0,
|
|
8848
8851
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
8849
|
-
},
|
|
8852
|
+
}, Mu = ["innerHTML"], Su = { key: 0 }, Au = { key: 1 }, Iu = {
|
|
8850
8853
|
key: 2,
|
|
8851
8854
|
class: "konnectio-show-on-mobile"
|
|
8852
|
-
},
|
|
8855
|
+
}, Ou = { class: "konnectio-split-inputs" }, zu = {
|
|
8853
8856
|
key: 0,
|
|
8854
8857
|
class: "konnectio-hotel-member-card-mockup"
|
|
8855
|
-
},
|
|
8856
|
-
const
|
|
8858
|
+
}, Eu = ["src"], Bu = { class: "konnectio-hotel-member-card-details" }, Zu = { key: 0 }, Du = { key: 0 };
|
|
8859
|
+
const Nu = /* @__PURE__ */ Nt({
|
|
8857
8860
|
name: "HotelLayout",
|
|
8858
8861
|
__name: "Hotel",
|
|
8859
8862
|
props: {
|
|
8860
8863
|
accessToken: {},
|
|
8861
|
-
headerLayout: { default:
|
|
8864
|
+
headerLayout: { default: jr.Minimal },
|
|
8862
8865
|
onlyShow: { default: "everything" },
|
|
8863
8866
|
hideAddons: { default: "no" },
|
|
8864
8867
|
disableDefaultLocation: { default: "no" },
|
|
@@ -8874,7 +8877,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
8874
8877
|
styling: {}
|
|
8875
8878
|
},
|
|
8876
8879
|
setup(r) {
|
|
8877
|
-
const d =
|
|
8880
|
+
const d = Ir(() => import("./_-DgORUiWu.js")), c = r, { t: p } = Kt(), {
|
|
8878
8881
|
currentLocation: k,
|
|
8879
8882
|
templateID: o,
|
|
8880
8883
|
templateAddons: a,
|
|
@@ -8898,8 +8901,8 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
8898
8901
|
allergies: Mt,
|
|
8899
8902
|
roomSelect: Rt,
|
|
8900
8903
|
roomDisplay: et,
|
|
8901
|
-
hasValidRoomSelection:
|
|
8902
|
-
availabilityData:
|
|
8904
|
+
hasValidRoomSelection: Y,
|
|
8905
|
+
availabilityData: q,
|
|
8903
8906
|
selectionHasNoAddons: It,
|
|
8904
8907
|
isAvailabilityDataAvailable: at,
|
|
8905
8908
|
getSelectedPackageRoom: Ht,
|
|
@@ -8911,7 +8914,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
8911
8914
|
adultsMismatch: ct,
|
|
8912
8915
|
childrenMismatch: yt,
|
|
8913
8916
|
totalAdults: dt,
|
|
8914
|
-
totalChildren:
|
|
8917
|
+
totalChildren: _t,
|
|
8915
8918
|
hasGuestDiscountId: G,
|
|
8916
8919
|
guestDiscountId: J,
|
|
8917
8920
|
guestDiscountName: Ft,
|
|
@@ -8920,17 +8923,17 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
8920
8923
|
selectedMemberCard: wt,
|
|
8921
8924
|
memberCardControlNumber: ce,
|
|
8922
8925
|
memberCardNumber: se,
|
|
8923
|
-
selectedMemberCardObject:
|
|
8926
|
+
selectedMemberCardObject: be,
|
|
8924
8927
|
selectedMemberCardData: Pi,
|
|
8925
8928
|
discountCode: Ci
|
|
8926
|
-
} =
|
|
8929
|
+
} = Wt(he()), {
|
|
8927
8930
|
adults: Te,
|
|
8928
|
-
children:
|
|
8931
|
+
children: Le,
|
|
8929
8932
|
location: Qt,
|
|
8930
8933
|
arrivalDate: un,
|
|
8931
8934
|
departureDate: xi,
|
|
8932
8935
|
hasHotelLocations: Xe
|
|
8933
|
-
} =
|
|
8936
|
+
} = Wt(ki()), { isValidHotelId: Ti, updateDates: Mi } = ki(), {
|
|
8934
8937
|
currency: Ke,
|
|
8935
8938
|
enableTracking: hn,
|
|
8936
8939
|
disableNamePrefix: Je,
|
|
@@ -8945,7 +8948,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
8945
8948
|
disableNewsletterSignup: Ei,
|
|
8946
8949
|
hasActiveIdFilter: Bi,
|
|
8947
8950
|
hotelSettings: de
|
|
8948
|
-
} =
|
|
8951
|
+
} = Wt(Be()), {
|
|
8949
8952
|
hasArrivalDepartureInputs: dn,
|
|
8950
8953
|
hasUserArrivalSelection: ei,
|
|
8951
8954
|
hasUserDepartureSelection: Ze,
|
|
@@ -8961,7 +8964,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
8961
8964
|
fetchMetadata: yn,
|
|
8962
8965
|
fetchAvailabilityData: ni,
|
|
8963
8966
|
filterAddons: Ni,
|
|
8964
|
-
hasAvailableRoomAddons:
|
|
8967
|
+
hasAvailableRoomAddons: qt,
|
|
8965
8968
|
checkGuestDiscount: V,
|
|
8966
8969
|
validateMemberCard: Ri,
|
|
8967
8970
|
onOverviewReset: Hi,
|
|
@@ -9007,26 +9010,26 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9007
9010
|
value: "Bleasure"
|
|
9008
9011
|
}), K;
|
|
9009
9012
|
}), Zt = vt(() => {
|
|
9010
|
-
let K =
|
|
9011
|
-
function N(ft,
|
|
9012
|
-
return Ne.value === !0 ? ft.pricesFrom >
|
|
9013
|
+
let K = q.value.roomGroups.slice();
|
|
9014
|
+
function N(ft, j) {
|
|
9015
|
+
return Ne.value === !0 ? ft.pricesFrom > j.pricesFrom ? -1 : 1 : ft.pricesFrom > j.pricesFrom ? 1 : -1;
|
|
9013
9016
|
}
|
|
9014
|
-
return c.sortBy === "price" && (K = K.sort(N)), Object.groupBy(K, (ft) => ft.roomList.some((
|
|
9017
|
+
return c.sortBy === "price" && (K = K.sort(N)), Object.groupBy(K, (ft) => ft.roomList.some((j) => j.mapImageX && j.mapImageY) ? "camping" : "rooms");
|
|
9015
9018
|
});
|
|
9016
9019
|
function Me(K) {
|
|
9017
9020
|
return (K.templateRoomGroups.length > 0 ? Math.min(...K.templateRoomGroups.map((ft) => ft.totalPrice)) : 0) + K.weekendFee;
|
|
9018
9021
|
}
|
|
9019
9022
|
const bn = vt(() => {
|
|
9020
|
-
const K =
|
|
9023
|
+
const K = q.value.templates.slice();
|
|
9021
9024
|
return c.sortBy === "price" && K.sort((N, ft) => {
|
|
9022
|
-
const
|
|
9023
|
-
return Ne.value ? Q -
|
|
9025
|
+
const j = Me(N), Q = Me(ft);
|
|
9026
|
+
return Ne.value ? Q - j : j - Q;
|
|
9024
9027
|
}), K;
|
|
9025
9028
|
}), Ln = vt(() => {
|
|
9026
|
-
const K =
|
|
9029
|
+
const K = q.value.specialTemplates.slice();
|
|
9027
9030
|
return c.sortBy === "price" && K.sort((N, ft) => {
|
|
9028
|
-
const
|
|
9029
|
-
return Ne.value ? Q -
|
|
9031
|
+
const j = Me(N), Q = Me(ft);
|
|
9032
|
+
return Ne.value ? Q - j : j - Q;
|
|
9030
9033
|
}), K;
|
|
9031
9034
|
}), si = vt(() => c.hideAddons === "yes" || Ce.value && c.hideAddons === "packages" || !Ce.value && c.hideAddons === "rooms");
|
|
9032
9035
|
function wn(K) {
|
|
@@ -9066,15 +9069,15 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9066
9069
|
});
|
|
9067
9070
|
async function Gi() {
|
|
9068
9071
|
xn();
|
|
9069
|
-
const K = parseInt(St.a), N = parseInt(St.c), ft = parseInt(St.hid),
|
|
9072
|
+
const K = parseInt(St.a), N = parseInt(St.c), ft = parseInt(St.hid), j = parseInt(St.n), Q = St.ci, I = St.co, it = St.id, mt = parseInt(St.gid);
|
|
9070
9073
|
let Ot = !1;
|
|
9071
|
-
if (isNaN(K) || (K > Qe.value ? Te.value = Qe.value : Te.value = K, Te.value === zi.value && (St.a = void 0)), isNaN(N) || (N > Oi.value ?
|
|
9074
|
+
if (isNaN(K) || (K > Qe.value ? Te.value = Qe.value : Te.value = K, Te.value === zi.value && (St.a = void 0)), isNaN(N) || (N > Oi.value ? Le.value = Oi.value : Le.value = N, Le.value === ti.value && (St.c = void 0)), isNaN(j) || j > 0 && (St.n = void 0), isNaN(ft) || (Ti(ft) ? (Qt.value = ft, Ot = !0) : (St.hid = void 0, De({
|
|
9072
9075
|
message: p("alert.error.hotelIdNotFound"),
|
|
9073
9076
|
type: "error"
|
|
9074
9077
|
}))), Q && I)
|
|
9075
|
-
if (
|
|
9076
|
-
const Et = new Date(new Date(Q).setHours(12, 0, 0, 0)),
|
|
9077
|
-
Et <=
|
|
9078
|
+
if (ss(Q) && ss(I)) {
|
|
9079
|
+
const Et = new Date(new Date(Q).setHours(12, 0, 0, 0)), $t = new Date(new Date(I).setHours(12, 0, 0, 0));
|
|
9080
|
+
Et <= $t ? (un.value = Et, xi.value = $t) : (St.ci = void 0, St.co = void 0, De({
|
|
9078
9081
|
message: p("alert.error.invalidDateRange"),
|
|
9079
9082
|
type: "error"
|
|
9080
9083
|
}));
|
|
@@ -9089,9 +9092,9 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9089
9092
|
}
|
|
9090
9093
|
c.disableDefaultLocation === "yes" && Ot === !1 ? (Qt.value = void 0, k.value = void 0) : ni();
|
|
9091
9094
|
}
|
|
9092
|
-
return (K, N) => (M(), rt(
|
|
9095
|
+
return (K, N) => (M(), rt(Yr, { styling: r.styling }, {
|
|
9093
9096
|
default: nt(() => [
|
|
9094
|
-
(M(), rt(
|
|
9097
|
+
(M(), rt(Ar, { onResolve: Gi }, {
|
|
9095
9098
|
default: nt(() => [
|
|
9096
9099
|
D(l(d), {
|
|
9097
9100
|
id: "konnectio-hotel-module",
|
|
@@ -9099,10 +9102,10 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9099
9102
|
callback: l(yn)
|
|
9100
9103
|
}, {
|
|
9101
9104
|
default: nt(() => [
|
|
9102
|
-
|
|
9105
|
+
Pe(D(Fa, { onCallback: Gi }, null, 512), [
|
|
9103
9106
|
[Ee, r.requireGuestDiscountId === "yes" && !l(G)]
|
|
9104
9107
|
]),
|
|
9105
|
-
|
|
9108
|
+
Pe(D(Fr, {
|
|
9106
9109
|
layout: r.headerLayout,
|
|
9107
9110
|
steps: oi.value,
|
|
9108
9111
|
onReset: l(Hi)
|
|
@@ -9112,7 +9115,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9112
9115
|
form: nt(() => [
|
|
9113
9116
|
y("div", El, [
|
|
9114
9117
|
y("div", Bl, [
|
|
9115
|
-
D(
|
|
9118
|
+
D(Kr, {
|
|
9116
9119
|
booking: !0,
|
|
9117
9120
|
"selected-location": Number(r.selectedLocation),
|
|
9118
9121
|
"disable-default-location": r.disableDefaultLocation === "yes",
|
|
@@ -9126,17 +9129,17 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9126
9129
|
])) : Z("", !0),
|
|
9127
9130
|
l(Bi) ? (M(), A("div", Nl, [
|
|
9128
9131
|
y("span", null, [
|
|
9129
|
-
|
|
9132
|
+
Ls(z(l(p)("general.filteredListingNotice")) + " ", 1),
|
|
9130
9133
|
y("button", {
|
|
9131
9134
|
class: "link",
|
|
9132
|
-
onClick: N[0] || (N[0] = (
|
|
9135
|
+
onClick: N[0] || (N[0] = (j) => Pn())
|
|
9133
9136
|
}, z(l(p)("general.filteredListingShowAll")), 1)
|
|
9134
9137
|
])
|
|
9135
9138
|
])) : Z("", !0),
|
|
9136
9139
|
Z("", !0),
|
|
9137
9140
|
!l(f) && l(at) ? (M(), A("div", Rl, [
|
|
9138
|
-
Zt.value.camping && Zt.value.camping.length > 0 && r.onlyShow !== "non-camping" || Zt.value.rooms && Zt.value.rooms.length > 0 || l(
|
|
9139
|
-
l(
|
|
9141
|
+
Zt.value.camping && Zt.value.camping.length > 0 && r.onlyShow !== "non-camping" || Zt.value.rooms && Zt.value.rooms.length > 0 || l(q).templates.length > 0 || l(q).specialTemplates.length > 0 ? (M(), A("div", Hl, [
|
|
9142
|
+
l(q).templates.length > 0 && r.onlyShow !== "rooms" && r.onlyShow !== "camping" ? (M(), A("div", Vl, [
|
|
9140
9143
|
r.onlyShow !== "packages" ? (M(), A("h2", Fl, [
|
|
9141
9144
|
D(Ct, {
|
|
9142
9145
|
icon: "box",
|
|
@@ -9147,15 +9150,15 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9147
9150
|
])) : Z("", !0),
|
|
9148
9151
|
y("ul", Gl, [
|
|
9149
9152
|
(M(!0), A(ut, null, xt(bn.value, ({
|
|
9150
|
-
id:
|
|
9153
|
+
id: j,
|
|
9151
9154
|
name: Q,
|
|
9152
9155
|
templateRoomGroups: I,
|
|
9153
9156
|
images: it,
|
|
9154
9157
|
description: mt,
|
|
9155
9158
|
weekendFee: Ot
|
|
9156
9159
|
}) => (M(), rt(yl, {
|
|
9157
|
-
key:
|
|
9158
|
-
id:
|
|
9160
|
+
key: j,
|
|
9161
|
+
id: j,
|
|
9159
9162
|
description: mt,
|
|
9160
9163
|
name: Q,
|
|
9161
9164
|
images: it,
|
|
@@ -9166,9 +9169,9 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9166
9169
|
}, null, 8, ["id", "description", "name", "images", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
9167
9170
|
])
|
|
9168
9171
|
])) : Z("", !0),
|
|
9169
|
-
l(
|
|
9172
|
+
l(q).roomGroups.length > 0 && r.onlyShow !== "packages" ? (M(), A("div", Ul, [
|
|
9170
9173
|
Zt.value.rooms && r.onlyShow !== "camping" ? (M(), A(ut, { key: 0 }, [
|
|
9171
|
-
l(
|
|
9174
|
+
l(q).templates.length > 0 && r.onlyShow !== "rooms" ? (M(), A("h2", $l, [
|
|
9172
9175
|
D(Ct, {
|
|
9173
9176
|
icon: "house",
|
|
9174
9177
|
type: "fal",
|
|
@@ -9177,15 +9180,15 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9177
9180
|
y("span", null, z(l(p)("booking.availability.roomsTitle")), 1)
|
|
9178
9181
|
])) : Z("", !0),
|
|
9179
9182
|
y("ul", Wl, [
|
|
9180
|
-
(M(!0), A(ut, null, xt(Zt.value.rooms, (
|
|
9181
|
-
room:
|
|
9183
|
+
(M(!0), A(ut, null, xt(Zt.value.rooms, (j, Q) => (M(), rt(ds, {
|
|
9184
|
+
room: j,
|
|
9182
9185
|
key: Q,
|
|
9183
9186
|
callback: ft
|
|
9184
9187
|
}, null, 8, ["room", "callback"]))), 128))
|
|
9185
9188
|
])
|
|
9186
9189
|
], 64)) : Z("", !0),
|
|
9187
9190
|
Zt.value.camping && r.onlyShow !== "rooms" && r.onlyShow !== "non-camping" ? (M(), A(ut, { key: 1 }, [
|
|
9188
|
-
l(
|
|
9191
|
+
l(q).templates.length > 0 && r.onlyShow !== "camping" ? (M(), A("h2", ql, [
|
|
9189
9192
|
D(Ct, {
|
|
9190
9193
|
icon: "map-location-dot",
|
|
9191
9194
|
type: "fal",
|
|
@@ -9194,8 +9197,8 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9194
9197
|
y("span", null, z(l(p)("booking.availability.campingTitle")), 1)
|
|
9195
9198
|
])) : Z("", !0),
|
|
9196
9199
|
y("ul", jl, [
|
|
9197
|
-
(M(!0), A(ut, null, xt(Zt.value.camping, (
|
|
9198
|
-
room:
|
|
9200
|
+
(M(!0), A(ut, null, xt(Zt.value.camping, (j, Q) => (M(), rt(ds, {
|
|
9201
|
+
room: j,
|
|
9199
9202
|
key: Q,
|
|
9200
9203
|
callback: ft
|
|
9201
9204
|
}, null, 8, ["room", "callback"]))), 128))
|
|
@@ -9203,7 +9206,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9203
9206
|
], 64)) : Z("", !0)
|
|
9204
9207
|
])) : Z("", !0),
|
|
9205
9208
|
l(Bi) ? Z("", !0) : (M(), A(ut, { key: 2 }, [
|
|
9206
|
-
l(
|
|
9209
|
+
l(q).specialTemplates.length > 0 && r.onlyShow !== "rooms" ? (M(), A("div", Yl, [
|
|
9207
9210
|
y("h2", Xl, [
|
|
9208
9211
|
D(Ct, {
|
|
9209
9212
|
icon: "sparkles",
|
|
@@ -9214,32 +9217,32 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9214
9217
|
]),
|
|
9215
9218
|
y("ul", Kl, [
|
|
9216
9219
|
(M(!0), A(ut, null, xt(Ln.value, ({
|
|
9217
|
-
id:
|
|
9220
|
+
id: j,
|
|
9218
9221
|
name: Q,
|
|
9219
9222
|
templateRoomGroups: I,
|
|
9220
9223
|
images: it,
|
|
9221
9224
|
description: mt,
|
|
9222
9225
|
weekendFee: Ot,
|
|
9223
9226
|
fromDate: Et,
|
|
9224
|
-
toDate:
|
|
9227
|
+
toDate: $t
|
|
9225
9228
|
}) => (M(), rt(kl, {
|
|
9226
|
-
key:
|
|
9227
|
-
id:
|
|
9229
|
+
key: j,
|
|
9230
|
+
id: j,
|
|
9228
9231
|
description: mt,
|
|
9229
9232
|
name: Q,
|
|
9230
9233
|
images: it,
|
|
9231
9234
|
fromDate: Et,
|
|
9232
|
-
toDate:
|
|
9235
|
+
toDate: $t,
|
|
9233
9236
|
weekendFee: Ot,
|
|
9234
9237
|
"room-groups": I
|
|
9235
9238
|
}, null, 8, ["id", "description", "name", "images", "fromDate", "toDate", "weekendFee", "room-groups"]))), 128))
|
|
9236
9239
|
])
|
|
9237
9240
|
])) : Z("", !0)
|
|
9238
9241
|
], 64)),
|
|
9239
|
-
(l(
|
|
9242
|
+
(l(q).templates.length === 0 && r.onlyShow !== "rooms" || l(q).roomGroups.length === 0 && r.onlyShow !== "packages") && (r.onlyShow === "rooms" || r.onlyShow === "packages") ? (M(), A("div", Jl, [
|
|
9240
9243
|
y("span", null, z(l(p)("booking.availability.nothingAvailable")), 1)
|
|
9241
9244
|
])) : Z("", !0)
|
|
9242
|
-
])) : l(
|
|
9245
|
+
])) : l(q).nextAvailableDates.length > 0 ? (M(), A("div", Ql, [
|
|
9243
9246
|
y("div", tu, [
|
|
9244
9247
|
y("span", {
|
|
9245
9248
|
innerHTML: l(p)("hotel.everyRoomIsBooked")
|
|
@@ -9254,20 +9257,20 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9254
9257
|
y("span", null, z(l(p)("booking.availability.nextAvailableDates")), 1)
|
|
9255
9258
|
]),
|
|
9256
9259
|
y("ul", nu, [
|
|
9257
|
-
(M(!0), A(ut, null, xt(l(
|
|
9260
|
+
(M(!0), A(ut, null, xt(l(q).nextAvailableDates, (j, Q) => (M(), A("li", { key: Q }, [
|
|
9258
9261
|
y("h3", {
|
|
9259
|
-
title: `${l(ue)(
|
|
9262
|
+
title: `${l(ue)(j.fromDate, 0, !0)} - ${l(ue)(j.toDate, 0, !0)}`
|
|
9260
9263
|
}, [
|
|
9261
|
-
y("span", null, z(`${l(ue)(
|
|
9264
|
+
y("span", null, z(`${l(ue)(j.fromDate, 0, !0)} - ${l(ue)(j.toDate, 0, !0)}`), 1)
|
|
9262
9265
|
], 8, ou),
|
|
9263
9266
|
y("ul", null, [
|
|
9264
|
-
isNaN(
|
|
9267
|
+
isNaN(j.roomCount) ? Z("", !0) : (M(), A("li", su, [
|
|
9265
9268
|
D(Ct, {
|
|
9266
9269
|
icon: "house",
|
|
9267
9270
|
type: "fal",
|
|
9268
9271
|
color: "header"
|
|
9269
9272
|
}),
|
|
9270
|
-
y("span", null, z(l(p)("booking.availability.units")) + ": " + z(
|
|
9273
|
+
y("span", null, z(l(p)("booking.availability.units")) + ": " + z(j.roomCount), 1)
|
|
9271
9274
|
])),
|
|
9272
9275
|
y("li", null, [
|
|
9273
9276
|
D(Ct, {
|
|
@@ -9275,13 +9278,13 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9275
9278
|
type: "fal",
|
|
9276
9279
|
color: "header"
|
|
9277
9280
|
}),
|
|
9278
|
-
y("span", null, z(l(p)("booking.availability.pricesFrom")) + ": " + z(l(oe)(
|
|
9281
|
+
y("span", null, z(l(p)("booking.availability.pricesFrom")) + ": " + z(l(oe)(j.priceStartFrom, l(Ke))), 1)
|
|
9279
9282
|
])
|
|
9280
9283
|
]),
|
|
9281
9284
|
D(ne, {
|
|
9282
9285
|
label: l(p)("booking.availability.selectDates"),
|
|
9283
9286
|
"full-width": "",
|
|
9284
|
-
onClickEvent: (I) => l(Mi)(new Date(
|
|
9287
|
+
onClickEvent: (I) => l(Mi)(new Date(j.fromDate), new Date(j.toDate))
|
|
9285
9288
|
}, null, 8, ["label", "onClickEvent"])
|
|
9286
9289
|
]))), 128))
|
|
9287
9290
|
])
|
|
@@ -9303,15 +9306,15 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9303
9306
|
label: isNaN(l(k)) ? l(p)("availability.buttonLabel") : l(p)("general.searchAgain"),
|
|
9304
9307
|
"is-loading": l(f),
|
|
9305
9308
|
"full-width": "",
|
|
9306
|
-
onClickEvent: N[2] || (N[2] = (
|
|
9309
|
+
onClickEvent: N[2] || (N[2] = (j) => Re())
|
|
9307
9310
|
}, null, 8, ["label", "is-loading"])) : (M(), rt(ne, {
|
|
9308
9311
|
key: 1,
|
|
9309
9312
|
label: l(It) || si.value ? l(p)("booking.availability.nextButton") : l(p)("general.chooseAddons"),
|
|
9310
|
-
disabled: !l(
|
|
9313
|
+
disabled: !l(Y),
|
|
9311
9314
|
"full-width": "",
|
|
9312
|
-
onClickEvent: (
|
|
9315
|
+
onClickEvent: (j) => Cn(ft)
|
|
9313
9316
|
}, null, 8, ["label", "disabled", "onClickEvent"])),
|
|
9314
|
-
|
|
9317
|
+
Pe(y("span", uu, [
|
|
9315
9318
|
D(Ct, {
|
|
9316
9319
|
icon: "exclamation-triangle",
|
|
9317
9320
|
type: "fas"
|
|
@@ -9320,12 +9323,12 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9320
9323
|
], 512), [
|
|
9321
9324
|
[Ee, l(ct)]
|
|
9322
9325
|
]),
|
|
9323
|
-
|
|
9326
|
+
Pe(y("span", hu, [
|
|
9324
9327
|
D(Ct, {
|
|
9325
9328
|
icon: "exclamation-triangle",
|
|
9326
9329
|
type: "fas"
|
|
9327
9330
|
}),
|
|
9328
|
-
y("span", null, z(l(p)("hotel.mismatchingChildren", { searchChildren: l(
|
|
9331
|
+
y("span", null, z(l(p)("hotel.mismatchingChildren", { searchChildren: l(Le), selectedChildren: l(_t) })), 1)
|
|
9329
9332
|
], 512), [
|
|
9330
9333
|
[Ee, l(yt)]
|
|
9331
9334
|
])
|
|
@@ -9333,10 +9336,10 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9333
9336
|
_: 2
|
|
9334
9337
|
}, 1024)
|
|
9335
9338
|
]),
|
|
9336
|
-
addons: nt(({ next: ft, prev:
|
|
9339
|
+
addons: nt(({ next: ft, prev: j }) => [
|
|
9337
9340
|
l(at) ? (M(), rt(eo, {
|
|
9338
9341
|
key: 0,
|
|
9339
|
-
"prev-callback": () => ri(
|
|
9342
|
+
"prev-callback": () => ri(j)
|
|
9340
9343
|
}, {
|
|
9341
9344
|
form: nt(() => [
|
|
9342
9345
|
y("form", cu, [
|
|
@@ -9354,7 +9357,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9354
9357
|
(M(!0), A(ut, null, xt(l(et), (Q) => (M(), A(ut, {
|
|
9355
9358
|
key: Q.roomGroupID
|
|
9356
9359
|
}, [
|
|
9357
|
-
l(
|
|
9360
|
+
l(qt)(Q) ? (M(), A("ul", pu, [
|
|
9358
9361
|
(M(!0), A(ut, null, xt(Q.variants, (I, it) => (M(), A("li", {
|
|
9359
9362
|
key: I.ratePlanID
|
|
9360
9363
|
}, [
|
|
@@ -9393,35 +9396,35 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9393
9396
|
y("tbody", null, [
|
|
9394
9397
|
(M(!0), A(ut, null, xt(l(Ni)(I.addons, mt.childrenCount), ({
|
|
9395
9398
|
cardinality: Et,
|
|
9396
|
-
quantityStrategy:
|
|
9397
|
-
maximumNumber:
|
|
9398
|
-
id:
|
|
9399
|
+
quantityStrategy: $t,
|
|
9400
|
+
maximumNumber: W,
|
|
9401
|
+
id: pt,
|
|
9399
9402
|
name: ai,
|
|
9400
9403
|
price: He,
|
|
9401
9404
|
image: Bt,
|
|
9402
9405
|
description: Ui
|
|
9403
|
-
}) => (M(), A("tr", { key:
|
|
9406
|
+
}) => (M(), A("tr", { key: pt }, [
|
|
9404
9407
|
y("td", {
|
|
9405
|
-
class:
|
|
9408
|
+
class: ye(["konnectio-table-addons-information", { "has-image": Bt }])
|
|
9406
9409
|
}, [
|
|
9407
9410
|
Bt ? (M(), A("div", vu, [
|
|
9408
|
-
D(l(
|
|
9411
|
+
D(l(us), {
|
|
9409
9412
|
src: Bt,
|
|
9410
9413
|
"zoom-scale": 1
|
|
9411
9414
|
}, null, 8, ["src"])
|
|
9412
9415
|
])) : Z("", !0),
|
|
9413
9416
|
y("div", null, [
|
|
9414
9417
|
y("b", null, z(l(ve)(ai)), 1),
|
|
9415
|
-
y("span", null, z(l(oe)(He, l(Ke))) + " " + z(l(is)(
|
|
9418
|
+
y("span", null, z(l(oe)(He, l(Ke))) + " " + z(l(is)($t)), 1),
|
|
9416
9419
|
Ui ? (M(), A("p", {
|
|
9417
9420
|
key: 0,
|
|
9418
|
-
innerHTML: l(
|
|
9421
|
+
innerHTML: l(ns)(Ui)
|
|
9419
9422
|
}, null, 8, yu)) : Z("", !0)
|
|
9420
9423
|
])
|
|
9421
9424
|
], 2),
|
|
9422
9425
|
y("td", bu, [
|
|
9423
9426
|
l(Rt)[Q.roomGroupID][it].config[mt.configIdx].addons[mt.roomIdx] ? (M(), A(ut, { key: 0 }, [
|
|
9424
|
-
Et === l(
|
|
9427
|
+
Et === l(os).Mandatory ? (M(), rt(bi, {
|
|
9425
9428
|
key: 0,
|
|
9426
9429
|
"model-value": 1,
|
|
9427
9430
|
small: !0,
|
|
@@ -9430,11 +9433,11 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9430
9433
|
readonly: ""
|
|
9431
9434
|
})) : (M(), rt(bi, {
|
|
9432
9435
|
key: 1,
|
|
9433
|
-
modelValue: l(Rt)[Q.roomGroupID][it].config[mt.configIdx].addons[mt.roomIdx][
|
|
9434
|
-
"onUpdate:modelValue": (Ve) => l(Rt)[Q.roomGroupID][it].config[mt.configIdx].addons[mt.roomIdx][
|
|
9436
|
+
modelValue: l(Rt)[Q.roomGroupID][it].config[mt.configIdx].addons[mt.roomIdx][pt],
|
|
9437
|
+
"onUpdate:modelValue": (Ve) => l(Rt)[Q.roomGroupID][it].config[mt.configIdx].addons[mt.roomIdx][pt] = Ve,
|
|
9435
9438
|
small: !0,
|
|
9436
9439
|
"min-value": 0,
|
|
9437
|
-
"max-value":
|
|
9440
|
+
"max-value": W || 1 / 0
|
|
9438
9441
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"]))
|
|
9439
9442
|
], 64)) : Z("", !0)
|
|
9440
9443
|
])
|
|
@@ -9466,14 +9469,30 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9466
9469
|
maximumNumber: it,
|
|
9467
9470
|
id: mt,
|
|
9468
9471
|
name: Ot,
|
|
9469
|
-
price: Et
|
|
9472
|
+
price: Et,
|
|
9473
|
+
description: $t,
|
|
9474
|
+
image: W
|
|
9470
9475
|
}) => (M(), A("tr", { key: mt }, [
|
|
9471
|
-
y("td",
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9476
|
+
y("td", {
|
|
9477
|
+
class: ye(["konnectio-table-addons-information", { "has-image": W }])
|
|
9478
|
+
}, [
|
|
9479
|
+
W ? (M(), A("div", ku, [
|
|
9480
|
+
D(l(us), {
|
|
9481
|
+
src: W,
|
|
9482
|
+
"zoom-scale": 1
|
|
9483
|
+
}, null, 8, ["src"])
|
|
9484
|
+
])) : Z("", !0),
|
|
9485
|
+
y("div", null, [
|
|
9486
|
+
y("b", null, z(l(ve)(Ot)), 1),
|
|
9487
|
+
y("span", null, z(l(oe)(Et, l(Ke))) + " " + z(l(is)(I)), 1),
|
|
9488
|
+
$t ? (M(), A("p", {
|
|
9489
|
+
key: 0,
|
|
9490
|
+
innerHTML: l(ns)($t)
|
|
9491
|
+
}, null, 8, Pu)) : Z("", !0)
|
|
9492
|
+
])
|
|
9493
|
+
], 2),
|
|
9494
|
+
y("td", Cu, [
|
|
9495
|
+
Q === l(os).Mandatory ? (M(), rt(bi, {
|
|
9477
9496
|
key: 0,
|
|
9478
9497
|
"model-value": 1,
|
|
9479
9498
|
small: !0,
|
|
@@ -9483,7 +9502,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9483
9502
|
})) : (M(), rt(bi, {
|
|
9484
9503
|
key: 1,
|
|
9485
9504
|
modelValue: l(a)[mt],
|
|
9486
|
-
"onUpdate:modelValue": (
|
|
9505
|
+
"onUpdate:modelValue": (pt) => l(a)[mt] = pt,
|
|
9487
9506
|
small: !0,
|
|
9488
9507
|
"min-value": 0,
|
|
9489
9508
|
"max-value": it || 1 / 0
|
|
@@ -9507,30 +9526,30 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9507
9526
|
_: 2
|
|
9508
9527
|
}, 1032, ["prev-callback"])) : Z("", !0)
|
|
9509
9528
|
]),
|
|
9510
|
-
reservation: nt(({ next: ft, prev:
|
|
9529
|
+
reservation: nt(({ next: ft, prev: j, reset: Q }) => [
|
|
9511
9530
|
l(at) ? (M(), rt(eo, {
|
|
9512
9531
|
key: 0,
|
|
9513
|
-
"prev-callback": () => ri(
|
|
9532
|
+
"prev-callback": () => ri(j),
|
|
9514
9533
|
"show-terms-notice": !0,
|
|
9515
9534
|
"show-gift-card": !0
|
|
9516
9535
|
}, {
|
|
9517
9536
|
form: nt(() => [
|
|
9518
|
-
y("form",
|
|
9537
|
+
y("form", xu, [
|
|
9519
9538
|
y("h2", null, [
|
|
9520
9539
|
y("span", null, z(l(p)("booking.reservation.detailsTitle")), 1)
|
|
9521
9540
|
]),
|
|
9522
|
-
l(p)("hotel.reservationTopNotice") && l(p)("hotel.reservationTopNotice") !== "<br>" ? (M(), A("div",
|
|
9541
|
+
l(p)("hotel.reservationTopNotice") && l(p)("hotel.reservationTopNotice") !== "<br>" ? (M(), A("div", Tu, [
|
|
9523
9542
|
y("p", {
|
|
9524
9543
|
innerHTML: l(p)("hotel.reservationTopNotice"),
|
|
9525
9544
|
class: "konnectio-wysiwyg"
|
|
9526
|
-
}, null, 8,
|
|
9545
|
+
}, null, 8, Mu)
|
|
9527
9546
|
])) : Z("", !0),
|
|
9528
9547
|
l(dn)(l(k)) && l(ei)(l(k)) && l(Ze)(l(k)) ? (M(), A("ul", {
|
|
9529
9548
|
key: 1,
|
|
9530
|
-
class:
|
|
9549
|
+
class: ye(["konnectio-reservation-timepicker", { "konnectio-split-inputs": l(ei)(l(k)) && l(Ze)(l(k)) }])
|
|
9531
9550
|
}, [
|
|
9532
|
-
l(ei)(l(k)) ? (M(), A("li",
|
|
9533
|
-
D(
|
|
9551
|
+
l(ei)(l(k)) ? (M(), A("li", Su, [
|
|
9552
|
+
D(fs, {
|
|
9534
9553
|
modelValue: l(P),
|
|
9535
9554
|
"onUpdate:modelValue": N[3] || (N[3] = (I) => bt(P) ? P.value = I : null),
|
|
9536
9555
|
label: l(p)("booking.reservation.arrivalTime"),
|
|
@@ -9540,8 +9559,8 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9540
9559
|
required: ""
|
|
9541
9560
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
9542
9561
|
])) : Z("", !0),
|
|
9543
|
-
l(Ze)(l(k)) ? (M(), A("li",
|
|
9544
|
-
D(
|
|
9562
|
+
l(Ze)(l(k)) ? (M(), A("li", Au, [
|
|
9563
|
+
D(fs, {
|
|
9545
9564
|
modelValue: l(_),
|
|
9546
9565
|
"onUpdate:modelValue": N[4] || (N[4] = (I) => bt(_) ? _.value = I : null),
|
|
9547
9566
|
label: l(p)("booking.reservation.departureTime"),
|
|
@@ -9575,7 +9594,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9575
9594
|
placeholder: l(p)("booking.reservation.emailPlaceholder"),
|
|
9576
9595
|
required: ""
|
|
9577
9596
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9578
|
-
l(Ei) ? Z("", !0) : (M(), A("div",
|
|
9597
|
+
l(Ei) ? Z("", !0) : (M(), A("div", Iu, [
|
|
9579
9598
|
D(oo, {
|
|
9580
9599
|
modelValue: l(U),
|
|
9581
9600
|
"onUpdate:modelValue": N[8] || (N[8] = (I) => bt(U) ? U.value = I : null),
|
|
@@ -9595,7 +9614,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9595
9614
|
icon: "id-card",
|
|
9596
9615
|
placeholder: l(p)("booking.reservation.companyNamePlaceholder")
|
|
9597
9616
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
9598
|
-
D(
|
|
9617
|
+
D(ta, {
|
|
9599
9618
|
modelValue: l(O),
|
|
9600
9619
|
"onUpdate:modelValue": N[10] || (N[10] = (I) => bt(O) ? O.value = I : null),
|
|
9601
9620
|
icon: "phone-office",
|
|
@@ -9622,7 +9641,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9622
9641
|
placeholder: l(p)("booking.reservation.streetAddressPlaceholder"),
|
|
9623
9642
|
required: ""
|
|
9624
9643
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9625
|
-
y("ul",
|
|
9644
|
+
y("ul", Ou, [
|
|
9626
9645
|
y("li", null, [
|
|
9627
9646
|
D(ie, {
|
|
9628
9647
|
modelValue: l(H),
|
|
@@ -9680,19 +9699,19 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9680
9699
|
y("h3", null, [
|
|
9681
9700
|
y("span", null, z(l(p)("hotel.memberCards.title")), 1)
|
|
9682
9701
|
]),
|
|
9683
|
-
l(
|
|
9702
|
+
l(be) ? (M(), A("div", zu, [
|
|
9684
9703
|
y("img", {
|
|
9685
9704
|
src: l(Pi)?.iconUrl
|
|
9686
|
-
}, null, 8,
|
|
9687
|
-
y("ul",
|
|
9705
|
+
}, null, 8, Eu),
|
|
9706
|
+
y("ul", Bu, [
|
|
9688
9707
|
y("li", null, [
|
|
9689
9708
|
y("span", null, z(l(p)("hotel.memberCards.selectedCard", { cardName: l(Pi)?.shortDescription })), 1)
|
|
9690
9709
|
]),
|
|
9691
9710
|
y("li", null, [
|
|
9692
|
-
y("span", null, z(l(p)("hotel.memberCards.cardNumber")) + ": " + z(l(
|
|
9711
|
+
y("span", null, z(l(p)("hotel.memberCards.cardNumber")) + ": " + z(l(be).cardNumber), 1)
|
|
9693
9712
|
]),
|
|
9694
|
-
l(
|
|
9695
|
-
y("span", null, z(l(p)("hotel.memberCards.controlNumber")) + ": " + z(l(
|
|
9713
|
+
l(be).controlNr ? (M(), A("li", Zu, [
|
|
9714
|
+
y("span", null, z(l(p)("hotel.memberCards.controlNumber")) + ": " + z(l(be).controlNr), 1)
|
|
9696
9715
|
])) : Z("", !0)
|
|
9697
9716
|
])
|
|
9698
9717
|
])) : (M(), A(ut, { key: 1 }, [
|
|
@@ -9703,7 +9722,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9703
9722
|
name: "memberCard",
|
|
9704
9723
|
checkboxes: l(xe)
|
|
9705
9724
|
}, null, 8, ["modelValue", "label", "checkboxes"]),
|
|
9706
|
-
l(wt) ? (M(), A("form",
|
|
9725
|
+
l(wt) ? (M(), A("form", Du, [
|
|
9707
9726
|
D(ie, {
|
|
9708
9727
|
modelValue: l(se),
|
|
9709
9728
|
"onUpdate:modelValue": N[19] || (N[19] = (I) => bt(se) ? se.value = I : null),
|
|
@@ -9760,11 +9779,11 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9760
9779
|
}, 1032, ["prev-callback"])) : Z("", !0)
|
|
9761
9780
|
]),
|
|
9762
9781
|
payment: nt(({ prev: ft }) => [
|
|
9763
|
-
D(
|
|
9782
|
+
D(Qr),
|
|
9764
9783
|
Z("", !0)
|
|
9765
9784
|
]),
|
|
9766
9785
|
confirmation: nt(() => [
|
|
9767
|
-
D(
|
|
9786
|
+
D(Gr, {
|
|
9768
9787
|
message: l(p)("booking.confirmation.thankYou")
|
|
9769
9788
|
}, null, 8, ["message"])
|
|
9770
9789
|
]),
|
|
@@ -9785,7 +9804,7 @@ const Du = /* @__PURE__ */ Nt({
|
|
|
9785
9804
|
_: 1
|
|
9786
9805
|
}, 8, ["styling"]));
|
|
9787
9806
|
}
|
|
9788
|
-
}),
|
|
9807
|
+
}), ms = /* @__PURE__ */ Jt(Nu, [["__scopeId", "data-v-bf3c81ab"]]);
|
|
9789
9808
|
function so(r, d = {}, c) {
|
|
9790
9809
|
for (const p in r) {
|
|
9791
9810
|
const k = r[p], o = c ? `${c}:${p}` : p;
|
|
@@ -9793,32 +9812,32 @@ function so(r, d = {}, c) {
|
|
|
9793
9812
|
}
|
|
9794
9813
|
return d;
|
|
9795
9814
|
}
|
|
9796
|
-
const
|
|
9815
|
+
const Ts = /* @__PURE__ */ (() => {
|
|
9797
9816
|
if (console.createTask) return console.createTask;
|
|
9798
9817
|
const r = { run: (d) => d() };
|
|
9799
9818
|
return () => r;
|
|
9800
9819
|
})();
|
|
9801
|
-
function
|
|
9820
|
+
function Ms(r, d, c, p) {
|
|
9802
9821
|
for (let k = c; k < r.length; k += 1) try {
|
|
9803
9822
|
const o = p ? p.run(() => r[k](...d)) : r[k](...d);
|
|
9804
|
-
if (o instanceof Promise) return o.then(() =>
|
|
9823
|
+
if (o instanceof Promise) return o.then(() => Ms(r, d, k + 1, p));
|
|
9805
9824
|
} catch (o) {
|
|
9806
9825
|
return Promise.reject(o);
|
|
9807
9826
|
}
|
|
9808
9827
|
}
|
|
9809
|
-
function Nu(r, d, c) {
|
|
9810
|
-
if (r.length > 0) return xs(r, d, 0, Cs(c));
|
|
9811
|
-
}
|
|
9812
9828
|
function Ru(r, d, c) {
|
|
9829
|
+
if (r.length > 0) return Ms(r, d, 0, Ts(c));
|
|
9830
|
+
}
|
|
9831
|
+
function Hu(r, d, c) {
|
|
9813
9832
|
if (r.length > 0) {
|
|
9814
|
-
const p =
|
|
9833
|
+
const p = Ts(c);
|
|
9815
9834
|
return Promise.all(r.map((k) => p.run(() => k(...d))));
|
|
9816
9835
|
}
|
|
9817
9836
|
}
|
|
9818
9837
|
function io(r, d) {
|
|
9819
9838
|
for (const c of [...r]) c(d);
|
|
9820
9839
|
}
|
|
9821
|
-
var
|
|
9840
|
+
var Vu = class {
|
|
9822
9841
|
_hooks;
|
|
9823
9842
|
_before;
|
|
9824
9843
|
_after;
|
|
@@ -9884,10 +9903,10 @@ var Hu = class {
|
|
|
9884
9903
|
this._hooks = {};
|
|
9885
9904
|
}
|
|
9886
9905
|
callHook(r, ...d) {
|
|
9887
|
-
return this.callHookWith(
|
|
9906
|
+
return this.callHookWith(Ru, r, d);
|
|
9888
9907
|
}
|
|
9889
9908
|
callHookParallel(r, ...d) {
|
|
9890
|
-
return this.callHookWith(
|
|
9909
|
+
return this.callHookWith(Hu, r, d);
|
|
9891
9910
|
}
|
|
9892
9911
|
callHookWith(r, d, c) {
|
|
9893
9912
|
const p = this._before || this._after ? {
|
|
@@ -9918,17 +9937,17 @@ var Hu = class {
|
|
|
9918
9937
|
};
|
|
9919
9938
|
}
|
|
9920
9939
|
};
|
|
9921
|
-
function
|
|
9922
|
-
return new
|
|
9940
|
+
function Fu() {
|
|
9941
|
+
return new Vu();
|
|
9923
9942
|
}
|
|
9924
|
-
const
|
|
9943
|
+
const Gu = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Uu = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), ps = /* @__PURE__ */ new Set([
|
|
9925
9944
|
"base",
|
|
9926
9945
|
"meta",
|
|
9927
9946
|
"link",
|
|
9928
9947
|
"style",
|
|
9929
9948
|
"script",
|
|
9930
9949
|
"noscript"
|
|
9931
|
-
]),
|
|
9950
|
+
]), $u = /* @__PURE__ */ new Set([
|
|
9932
9951
|
"title",
|
|
9933
9952
|
"base",
|
|
9934
9953
|
"htmlAttrs",
|
|
@@ -9938,7 +9957,7 @@ const Fu = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Gu
|
|
|
9938
9957
|
"style",
|
|
9939
9958
|
"script",
|
|
9940
9959
|
"noscript"
|
|
9941
|
-
]),
|
|
9960
|
+
]), Wu = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]), qu = /* @__PURE__ */ new Set(["key", "tagPosition", "tagPriority", "tagDuplicateStrategy", "innerHTML", "textContent", "processTemplateParams"]), ju = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"]), Yu = /* @__PURE__ */ new Set([
|
|
9942
9961
|
"theme-color",
|
|
9943
9962
|
"google-site-verification",
|
|
9944
9963
|
"og",
|
|
@@ -9947,28 +9966,28 @@ const Fu = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Gu
|
|
|
9947
9966
|
"profile",
|
|
9948
9967
|
"twitter",
|
|
9949
9968
|
"author"
|
|
9950
|
-
]),
|
|
9969
|
+
]), Xu = ["name", "property", "http-equiv"], Ku = /* @__PURE__ */ new Set([
|
|
9951
9970
|
"viewport",
|
|
9952
9971
|
"description",
|
|
9953
9972
|
"keywords",
|
|
9954
9973
|
"robots"
|
|
9955
9974
|
]);
|
|
9956
|
-
function
|
|
9975
|
+
function Ss(r) {
|
|
9957
9976
|
const d = r.split(":");
|
|
9958
|
-
return d.length ?
|
|
9977
|
+
return d.length ? Yu.has(d[1]) : !1;
|
|
9959
9978
|
}
|
|
9960
9979
|
function ro(r) {
|
|
9961
9980
|
const { props: d, tag: c } = r;
|
|
9962
|
-
if (
|
|
9981
|
+
if (Wu.has(c))
|
|
9963
9982
|
return c;
|
|
9964
9983
|
if (c === "link" && d.rel === "canonical")
|
|
9965
9984
|
return "canonical";
|
|
9966
9985
|
if (d.charset)
|
|
9967
9986
|
return "charset";
|
|
9968
9987
|
if (r.tag === "meta") {
|
|
9969
|
-
for (const p of
|
|
9988
|
+
for (const p of Xu)
|
|
9970
9989
|
if (d[p] !== void 0) {
|
|
9971
|
-
const k = d[p], o = k && typeof k == "string" && k.includes(":"), a = k &&
|
|
9990
|
+
const k = d[p], o = k && typeof k == "string" && k.includes(":"), a = k && Ku.has(k), f = !(o || a) && r.key ? `:key:${r.key}` : "";
|
|
9972
9991
|
return `${c}:${k}${f}`;
|
|
9973
9992
|
}
|
|
9974
9993
|
}
|
|
@@ -9976,13 +9995,13 @@ function ro(r) {
|
|
|
9976
9995
|
return `${c}:key:${r.key}`;
|
|
9977
9996
|
if (d.id)
|
|
9978
9997
|
return `${c}:id:${d.id}`;
|
|
9979
|
-
if (
|
|
9998
|
+
if (Uu.has(c)) {
|
|
9980
9999
|
const p = r.textContent || r.innerHTML;
|
|
9981
10000
|
if (p)
|
|
9982
10001
|
return `${c}:content:${p}`;
|
|
9983
10002
|
}
|
|
9984
10003
|
}
|
|
9985
|
-
function
|
|
10004
|
+
function _s(r) {
|
|
9986
10005
|
const d = r._h || r._d;
|
|
9987
10006
|
if (d)
|
|
9988
10007
|
return d;
|
|
@@ -10002,7 +10021,7 @@ function ao(r, d, c) {
|
|
|
10002
10021
|
}
|
|
10003
10022
|
return k;
|
|
10004
10023
|
}
|
|
10005
|
-
function
|
|
10024
|
+
function Ju(r, d) {
|
|
10006
10025
|
const c = r === "style" ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set();
|
|
10007
10026
|
function p(k) {
|
|
10008
10027
|
if (k == null || k === void 0)
|
|
@@ -10019,17 +10038,17 @@ function Ku(r, d) {
|
|
|
10019
10038
|
o && o !== "false" && (r === "style" ? c.set(String(k).trim(), String(o)) : p(k));
|
|
10020
10039
|
}), c;
|
|
10021
10040
|
}
|
|
10022
|
-
function
|
|
10041
|
+
function As(r, d) {
|
|
10023
10042
|
return r.props = r.props || {}, d ? r.tag === "templateParams" ? (r.props = d, r) : (Object.entries(d).forEach(([c, p]) => {
|
|
10024
10043
|
if (p === null) {
|
|
10025
10044
|
r.props[c] = null;
|
|
10026
10045
|
return;
|
|
10027
10046
|
}
|
|
10028
10047
|
if (c === "class" || c === "style") {
|
|
10029
|
-
r.props[c] =
|
|
10048
|
+
r.props[c] = Ju(c, p);
|
|
10030
10049
|
return;
|
|
10031
10050
|
}
|
|
10032
|
-
if (
|
|
10051
|
+
if (qu.has(c)) {
|
|
10033
10052
|
if (["textContent", "innerHTML"].includes(c) && typeof p == "object") {
|
|
10034
10053
|
let h = d.type;
|
|
10035
10054
|
if (d.type || (h = "application/json"), !h?.endsWith("json") && h !== "speculationrules")
|
|
@@ -10043,11 +10062,11 @@ function Ms(r, d) {
|
|
|
10043
10062
|
k === "true" || k === "" ? r.props[c] = o || a ? k : !0 : !p && o && k === "false" ? r.props[c] = "false" : p !== void 0 && (r.props[c] = p);
|
|
10044
10063
|
}), r) : r;
|
|
10045
10064
|
}
|
|
10046
|
-
function Ju(r, d) {
|
|
10047
|
-
const c = typeof d == "object" && typeof d != "function" ? d : { [r === "script" || r === "noscript" || r === "style" ? "innerHTML" : "textContent"]: d }, p = Ms({ tag: r, props: {} }, c);
|
|
10048
|
-
return p.key && Fu.has(p.tag) && (p.props["data-hid"] = p._h = p.key), p.tag === "script" && typeof p.innerHTML == "object" && (p.innerHTML = JSON.stringify(p.innerHTML), p.props.type = p.props.type || "application/json"), Array.isArray(p.props.content) ? p.props.content.map((k) => ({ ...p, props: { ...p.props, content: k } })) : p;
|
|
10049
|
-
}
|
|
10050
10065
|
function Qu(r, d) {
|
|
10066
|
+
const c = typeof d == "object" && typeof d != "function" ? d : { [r === "script" || r === "noscript" || r === "style" ? "innerHTML" : "textContent"]: d }, p = As({ tag: r, props: {} }, c);
|
|
10067
|
+
return p.key && Gu.has(p.tag) && (p.props["data-hid"] = p._h = p.key), p.tag === "script" && typeof p.innerHTML == "object" && (p.innerHTML = JSON.stringify(p.innerHTML), p.props.type = p.props.type || "application/json"), Array.isArray(p.props.content) ? p.props.content.map((k) => ({ ...p, props: { ...p.props, content: k } })) : p;
|
|
10068
|
+
}
|
|
10069
|
+
function th(r, d) {
|
|
10051
10070
|
if (!r)
|
|
10052
10071
|
return [];
|
|
10053
10072
|
typeof r == "function" && (r = r());
|
|
@@ -10061,17 +10080,17 @@ function Qu(r, d) {
|
|
|
10061
10080
|
return r = ao(r, c), Object.entries(r || {}).forEach(([k, o]) => {
|
|
10062
10081
|
if (o !== void 0)
|
|
10063
10082
|
for (const a of Array.isArray(o) ? o : [o])
|
|
10064
|
-
p.push(
|
|
10083
|
+
p.push(Qu(k, a));
|
|
10065
10084
|
}), p.flat();
|
|
10066
10085
|
}
|
|
10067
|
-
const
|
|
10086
|
+
const gs = (r, d) => r._w === d._w ? r._p - d._p : r._w - d._w, vs = {
|
|
10068
10087
|
base: -10,
|
|
10069
10088
|
title: 10
|
|
10070
|
-
},
|
|
10089
|
+
}, eh = {
|
|
10071
10090
|
critical: -8,
|
|
10072
10091
|
high: -1,
|
|
10073
10092
|
low: 2
|
|
10074
|
-
},
|
|
10093
|
+
}, ys = {
|
|
10075
10094
|
meta: {
|
|
10076
10095
|
"content-security-policy": -30,
|
|
10077
10096
|
charset: -20,
|
|
@@ -10095,36 +10114,36 @@ const ps = (r, d) => r._w === d._w ? r._p - d._p : r._w - d._w, _s = {
|
|
|
10095
10114
|
imported: 40,
|
|
10096
10115
|
sync: 60
|
|
10097
10116
|
}
|
|
10098
|
-
},
|
|
10099
|
-
function
|
|
10117
|
+
}, ih = /@import/, vi = (r) => r === "" || r === !0;
|
|
10118
|
+
function nh(r, d) {
|
|
10100
10119
|
if (typeof d.tagPriority == "number")
|
|
10101
10120
|
return d.tagPriority;
|
|
10102
10121
|
let c = 100;
|
|
10103
|
-
const p =
|
|
10122
|
+
const p = eh[d.tagPriority] || 0, k = r.resolvedOptions.disableCapoSorting ? {
|
|
10104
10123
|
link: {},
|
|
10105
10124
|
script: {},
|
|
10106
10125
|
style: {}
|
|
10107
|
-
} :
|
|
10108
|
-
if (d.tag in
|
|
10109
|
-
c =
|
|
10126
|
+
} : ys;
|
|
10127
|
+
if (d.tag in vs)
|
|
10128
|
+
c = vs[d.tag];
|
|
10110
10129
|
else if (d.tag === "meta") {
|
|
10111
10130
|
const o = d.props["http-equiv"] === "content-security-policy" ? "content-security-policy" : d.props.charset ? "charset" : d.props.name === "viewport" ? "viewport" : null;
|
|
10112
|
-
o && (c =
|
|
10131
|
+
o && (c = ys.meta[o]);
|
|
10113
10132
|
} else if (d.tag === "link" && d.props.rel)
|
|
10114
10133
|
c = k.link[d.props.rel];
|
|
10115
10134
|
else if (d.tag === "script") {
|
|
10116
10135
|
const o = String(d.props.type);
|
|
10117
10136
|
vi(d.props.async) ? c = k.script.async : d.props.src && !vi(d.props.defer) && !vi(d.props.async) && o !== "module" && !o.endsWith("json") || d.innerHTML && !o.endsWith("json") ? c = k.script.sync : (vi(d.props.defer) && d.props.src && !vi(d.props.async) || o === "module") && (c = k.script.defer);
|
|
10118
|
-
} else d.tag === "style" && (c = d.innerHTML &&
|
|
10137
|
+
} else d.tag === "style" && (c = d.innerHTML && ih.test(d.innerHTML) ? k.style.imported : k.style.sync);
|
|
10119
10138
|
return (c || 100) + p;
|
|
10120
10139
|
}
|
|
10121
|
-
function
|
|
10140
|
+
function bs(r, d) {
|
|
10122
10141
|
const c = typeof d == "function" ? d(r) : d, p = c.key || String(r.plugins.size + 1);
|
|
10123
10142
|
r.plugins.get(p) || (r.plugins.set(p, c), r.hooks.addHooks(c.hooks || {}));
|
|
10124
10143
|
}
|
|
10125
10144
|
// @__NO_SIDE_EFFECTS__
|
|
10126
|
-
function
|
|
10127
|
-
const d =
|
|
10145
|
+
function oh(r = {}) {
|
|
10146
|
+
const d = Fu();
|
|
10128
10147
|
d.addHooks(r.hooks || {});
|
|
10129
10148
|
const c = !r.document, p = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), a = {
|
|
10130
10149
|
_entryCount: 1,
|
|
@@ -10138,7 +10157,7 @@ function nh(r = {}) {
|
|
|
10138
10157
|
headEntries() {
|
|
10139
10158
|
return [...p.values()];
|
|
10140
10159
|
},
|
|
10141
|
-
use: (h) =>
|
|
10160
|
+
use: (h) => bs(a, h),
|
|
10142
10161
|
push(h, f) {
|
|
10143
10162
|
const g = { ...f || {} };
|
|
10144
10163
|
delete g.head;
|
|
@@ -10168,25 +10187,25 @@ function nh(r = {}) {
|
|
|
10168
10187
|
const _ = p.get(P);
|
|
10169
10188
|
if (_) {
|
|
10170
10189
|
const T = {
|
|
10171
|
-
tags:
|
|
10190
|
+
tags: th(_.input, r.propResolvers || []).map((C) => Object.assign(C, _.options)),
|
|
10172
10191
|
entry: _
|
|
10173
10192
|
};
|
|
10174
|
-
await d.callHook("entries:normalize", T), _._tags = T.tags.map((C, R) => (C._w =
|
|
10193
|
+
await d.callHook("entries:normalize", T), _._tags = T.tags.map((C, R) => (C._w = nh(a, C), C._p = (_._i << 10) + R, C._d = ro(C), C));
|
|
10175
10194
|
}
|
|
10176
10195
|
}
|
|
10177
10196
|
let f = !1;
|
|
10178
|
-
h.entries.flatMap((P) => (P._tags || []).map((_) => ({ ..._, props: { ..._.props } }))).sort(
|
|
10197
|
+
h.entries.flatMap((P) => (P._tags || []).map((_) => ({ ..._, props: { ..._.props } }))).sort(gs).reduce((P, _) => {
|
|
10179
10198
|
const T = String(_._d || _._p);
|
|
10180
10199
|
if (!P.has(T))
|
|
10181
10200
|
return P.set(T, _);
|
|
10182
10201
|
const C = P.get(T);
|
|
10183
|
-
if ((_?.tagDuplicateStrategy || (
|
|
10202
|
+
if ((_?.tagDuplicateStrategy || (ju.has(_.tag) ? "merge" : null) || (_.key && _.key === C.key ? "merge" : null)) === "merge") {
|
|
10184
10203
|
const O = { ...C.props };
|
|
10185
10204
|
Object.entries(_.props).forEach(([E, H]) => (
|
|
10186
10205
|
// @ts-expect-error untyped
|
|
10187
10206
|
O[E] = E === "style" ? new Map([...C.props.style || /* @__PURE__ */ new Map(), ...H]) : E === "class" ? /* @__PURE__ */ new Set([...C.props.class || /* @__PURE__ */ new Set(), ...H]) : H
|
|
10188
10207
|
)), P.set(T, { ..._, props: O });
|
|
10189
|
-
} else _._p >> 10 === C._p >> 10 && _.tag === "meta" &&
|
|
10208
|
+
} else _._p >> 10 === C._p >> 10 && _.tag === "meta" && Ss(T) ? (P.set(T, Object.assign([...Array.isArray(C) ? C : [C], _], _)), f = !0) : (_._w === C._w ? _._p > C._p : _?._w < C?._w) && P.set(T, _);
|
|
10190
10209
|
return P;
|
|
10191
10210
|
}, h.tagMap);
|
|
10192
10211
|
const g = h.tagMap.get("title"), b = h.tagMap.get("titleTemplate");
|
|
@@ -10197,11 +10216,11 @@ function nh(r = {}) {
|
|
|
10197
10216
|
typeof _ == "string" && !a.plugins.has("template-params") && (_ = _.replace("%s", g?.textContent || "")), g ? _ === null ? h.tagMap.delete("title") : h.tagMap.set("title", { ...g, textContent: _ }) : (b.tag = "title", b.textContent = _);
|
|
10198
10217
|
}
|
|
10199
10218
|
}
|
|
10200
|
-
h.tags = Array.from(h.tagMap.values()), f && (h.tags = h.tags.flat().sort(
|
|
10219
|
+
h.tags = Array.from(h.tagMap.values()), f && (h.tags = h.tags.flat().sort(gs)), await d.callHook("tags:beforeResolve", h), await d.callHook("tags:resolve", h), await d.callHook("tags:afterResolve", h);
|
|
10201
10220
|
const v = [];
|
|
10202
10221
|
for (const P of h.tags) {
|
|
10203
10222
|
const { innerHTML: _, tag: T, props: C } = P;
|
|
10204
|
-
if (
|
|
10223
|
+
if ($u.has(T) && !(Object.keys(C).length === 0 && !P.innerHTML && !P.textContent) && !(T === "meta" && !C.content && !C["http-equiv"] && !C.charset)) {
|
|
10205
10224
|
if (T === "script" && _) {
|
|
10206
10225
|
if (String(C.type).endsWith("json")) {
|
|
10207
10226
|
const R = typeof _ == "string" ? _ : JSON.stringify(_);
|
|
@@ -10220,9 +10239,9 @@ function nh(r = {}) {
|
|
|
10220
10239
|
a.dirty = !0, d.callHook("entries:updated", a);
|
|
10221
10240
|
}
|
|
10222
10241
|
};
|
|
10223
|
-
return (r?.plugins || []).forEach((h) =>
|
|
10242
|
+
return (r?.plugins || []).forEach((h) => bs(a, h)), a.hooks.callHook("init", a), r.init?.forEach((h) => h && a.push(h)), a;
|
|
10224
10243
|
}
|
|
10225
|
-
async function
|
|
10244
|
+
async function Is(r, d = {}) {
|
|
10226
10245
|
const c = d.document || r.resolvedOptions.document;
|
|
10227
10246
|
if (!c || !r.dirty)
|
|
10228
10247
|
return;
|
|
@@ -10235,10 +10254,10 @@ async function Ss(r, d = {}) {
|
|
|
10235
10254
|
T.map((C) => {
|
|
10236
10255
|
const R = o.get(C._d) || 0, O = {
|
|
10237
10256
|
tag: C,
|
|
10238
|
-
id: (R ? `${C._d}:${R}` : C._d) ||
|
|
10257
|
+
id: (R ? `${C._d}:${R}` : C._d) || _s(C),
|
|
10239
10258
|
shouldRender: !0
|
|
10240
10259
|
};
|
|
10241
|
-
return C._d &&
|
|
10260
|
+
return C._d && Ss(C._d) && o.set(C._d, R + 1), O;
|
|
10242
10261
|
})
|
|
10243
10262
|
);
|
|
10244
10263
|
});
|
|
@@ -10253,13 +10272,13 @@ async function Ss(r, d = {}) {
|
|
|
10253
10272
|
const T = c[_]?.children;
|
|
10254
10273
|
for (const C of T) {
|
|
10255
10274
|
const R = C.tagName.toLowerCase();
|
|
10256
|
-
if (!
|
|
10275
|
+
if (!ps.has(R))
|
|
10257
10276
|
continue;
|
|
10258
|
-
const O =
|
|
10277
|
+
const O = As({ tag: R, props: {} }, {
|
|
10259
10278
|
innerHTML: C.innerHTML,
|
|
10260
10279
|
...C.getAttributeNames().reduce((E, H) => (E[H] = C.getAttribute(H), E), {}) || {}
|
|
10261
10280
|
});
|
|
10262
|
-
if (O.key = C.getAttribute("data-hid") || void 0, O._d = ro(O) ||
|
|
10281
|
+
if (O.key = C.getAttribute("data-hid") || void 0, O._d = ro(O) || _s(O), h.elMap.has(O._d)) {
|
|
10263
10282
|
let E = 1, H = O._d;
|
|
10264
10283
|
for (; h.elMap.has(H); )
|
|
10265
10284
|
H = `${O._d}:${E++}`;
|
|
@@ -10324,7 +10343,7 @@ async function Ss(r, d = {}) {
|
|
|
10324
10343
|
c.title = T.textContent, f("title", "", () => c.title = h.title);
|
|
10325
10344
|
continue;
|
|
10326
10345
|
}
|
|
10327
|
-
_.$el = _.$el || h.elMap.get(R), _.$el ? g(_) :
|
|
10346
|
+
_.$el = _.$el || h.elMap.get(R), _.$el ? g(_) : ps.has(T.tag) && b.push(_);
|
|
10328
10347
|
}
|
|
10329
10348
|
}
|
|
10330
10349
|
for (const _ of b) {
|
|
@@ -10341,11 +10360,11 @@ async function Ss(r, d = {}) {
|
|
|
10341
10360
|
r._domUpdatePromise = void 0, r.dirty = !1;
|
|
10342
10361
|
})), r._domUpdatePromise;
|
|
10343
10362
|
}
|
|
10344
|
-
function
|
|
10345
|
-
const d = r.domOptions?.render ||
|
|
10363
|
+
function sh(r = {}) {
|
|
10364
|
+
const d = r.domOptions?.render || Is;
|
|
10346
10365
|
r.document = r.document || (typeof window < "u" ? document : void 0);
|
|
10347
10366
|
const c = r.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
10348
|
-
return /* @__PURE__ */
|
|
10367
|
+
return /* @__PURE__ */ oh({
|
|
10349
10368
|
...r,
|
|
10350
10369
|
plugins: [
|
|
10351
10370
|
...r.plugins || [],
|
|
@@ -10362,7 +10381,7 @@ function oh(r = {}) {
|
|
|
10362
10381
|
]
|
|
10363
10382
|
});
|
|
10364
10383
|
}
|
|
10365
|
-
function
|
|
10384
|
+
function rh(r, d) {
|
|
10366
10385
|
let c = 0;
|
|
10367
10386
|
return () => {
|
|
10368
10387
|
const p = ++c;
|
|
@@ -10371,27 +10390,27 @@ function sh(r, d) {
|
|
|
10371
10390
|
});
|
|
10372
10391
|
};
|
|
10373
10392
|
}
|
|
10374
|
-
const
|
|
10393
|
+
const ah = "usehead";
|
|
10375
10394
|
// @__NO_SIDE_EFFECTS__
|
|
10376
|
-
function
|
|
10395
|
+
function lh(r) {
|
|
10377
10396
|
return {
|
|
10378
10397
|
install(c) {
|
|
10379
|
-
c.config.globalProperties.$unhead = r, c.config.globalProperties.$head = r, c.provide(
|
|
10398
|
+
c.config.globalProperties.$unhead = r, c.config.globalProperties.$head = r, c.provide(ah, r);
|
|
10380
10399
|
}
|
|
10381
10400
|
}.install;
|
|
10382
10401
|
}
|
|
10383
10402
|
// @__NO_SIDE_EFFECTS__
|
|
10384
|
-
function
|
|
10385
|
-
const d =
|
|
10403
|
+
function uh(r = {}) {
|
|
10404
|
+
const d = sh({
|
|
10386
10405
|
domOptions: {
|
|
10387
|
-
render:
|
|
10406
|
+
render: rh(() => Is(d), (c) => setTimeout(c, 0))
|
|
10388
10407
|
},
|
|
10389
10408
|
...r
|
|
10390
10409
|
});
|
|
10391
|
-
return d.install = /* @__PURE__ */
|
|
10410
|
+
return d.install = /* @__PURE__ */ lh(d), d;
|
|
10392
10411
|
}
|
|
10393
|
-
const
|
|
10394
|
-
class
|
|
10412
|
+
const hh = Or(), ch = /* @__PURE__ */ uh(), dh = zr, fh = dh();
|
|
10413
|
+
class mh extends HTMLElement {
|
|
10395
10414
|
vueApp;
|
|
10396
10415
|
constructor() {
|
|
10397
10416
|
super();
|
|
@@ -10400,14 +10419,14 @@ class fh extends HTMLElement {
|
|
|
10400
10419
|
this.vueApp.unmount();
|
|
10401
10420
|
}
|
|
10402
10421
|
connectedCallback() {
|
|
10403
|
-
const d =
|
|
10404
|
-
this.vueApp =
|
|
10422
|
+
const d = Er(ms, this.attributes);
|
|
10423
|
+
this.vueApp = Br(ms, d), this.vueApp.provide("emitter", fh), this.vueApp.use(Dr), this.vueApp.use(ch), this.vueApp.use(hh), this.vueApp.use(Ur), this.vueApp.use(Zr), this.vueApp.use($r), this.vueApp.use(Nr);
|
|
10405
10424
|
const c = document.createElement("div");
|
|
10406
10425
|
this.vueApp.mount(c), this.appendChild(c.children[0]);
|
|
10407
10426
|
}
|
|
10408
10427
|
}
|
|
10409
|
-
window.customElements.define("konnectio-hotel",
|
|
10428
|
+
window.customElements.define("konnectio-hotel", mh);
|
|
10410
10429
|
export {
|
|
10411
|
-
|
|
10430
|
+
mh as default
|
|
10412
10431
|
};
|
|
10413
10432
|
//# sourceMappingURL=hotel.js.map
|