@konnectio/core 4.2.6 → 4.2.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-C3UWUX9Y.js → ActionField-D6L2ohPg.js} +2 -2
- package/dist/ActionField-D6L2ohPg.js.br +0 -0
- package/dist/{AvailabilitySkeleton-D9inaLwa.js → AvailabilitySkeleton-ClzjkbSX.js} +5 -5
- package/dist/AvailabilitySkeleton-ClzjkbSX.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang--4XmSwhy.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-C4f2ZkJw.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-C4f2ZkJw.js.br +0 -0
- package/dist/{CheckoutWindow-CpKTfcY0.js → CheckoutWindow-wqPgpE4N.js} +2 -2
- package/dist/CheckoutWindow-wqPgpE4N.js.br +0 -0
- package/dist/{ErrorMessage-D2VA_Cqt.js → ErrorMessage-BZPF9alV.js} +2 -2
- package/dist/ErrorMessage-BZPF9alV.js.br +0 -0
- package/dist/{EventAvailabilityForm-Dv1l0ZiW.js → EventAvailabilityForm-DGcL3nhL.js} +3 -3
- package/dist/EventAvailabilityForm-DGcL3nhL.js.br +0 -0
- package/dist/{Field-DImJroRR.js → Field-PEeN96I2.js} +3 -3
- package/dist/Field-PEeN96I2.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-EYTt0u4J.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DGAYhZ5s.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CRibXGhn.js → SelectField.vue_vue_type_style_index_0_lang-BHQAQD6k.js} +1629 -1619
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BHQAQD6k.js.br +0 -0
- package/dist/{TermsOfService-BdnzuaIV.js → TermsOfService-DA97vzJt.js} +3 -3
- package/dist/_-Dnhk_RnY.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-BLljgKMs.js → _.vue_vue_type_style_index_0_lang-r8TeAZHm.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/event.js +7 -7
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-Cuws4EFv.js → giftCard-zUqUghFN.js} +2 -2
- package/dist/giftCard-zUqUghFN.js.br +0 -0
- package/dist/hotel.js +638 -620
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BZfBitRX.js → masonry.plugin-3DQG38sX.js} +7 -7
- package/dist/masonry.plugin-3DQG38sX.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-C3UWUX9Y.js.br +0 -0
- package/dist/AvailabilitySkeleton-D9inaLwa.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang--4XmSwhy.js.br +0 -0
- package/dist/CheckoutWindow-CpKTfcY0.js.br +0 -0
- package/dist/ErrorMessage-D2VA_Cqt.js.br +0 -0
- package/dist/EventAvailabilityForm-Dv1l0ZiW.js.br +0 -0
- package/dist/Field-DImJroRR.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CRibXGhn.js.br +0 -0
- package/dist/_-bS2mOZqg.js +0 -5
- package/dist/giftCard-Cuws4EFv.js.br +0 -0
- package/dist/masonry.plugin-BZfBitRX.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as Nt, h as A, b as T, e as k, i as
|
|
2
|
-
import { _ as Kt, f as Ee, b as _e, u as Ci, I as Mt, s as se, k as bi, l as to, q as pe, o as ae, r as so, a as fo, d as cn, F as Hr, H as bs, e as re, h as Li, B as Ls, J as is, x as Vr, T as be, K as Fr, p as ns, M as Gr, N as os, C as Ur, t as ss, v as $r } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { d as Nt, h as A, b as T, e as k, i as D, F as dt, v as St, J as je, K as Xn, a as lt, L as Jn, j as Pi, n as we, M as xr, u as Yt, s as jt, r as Gt, N as Mr, g as c, z as It, A as Sr, w as tt, t as I, E as ke, G as ze, f as B, q as Qn, C as Ar, c as Tt, x as ys, O as es, o as co, D as ln, S as Ir, P as Or, Q as zr, R as Er, k as Br, _ as Zr, l as Dr, m as Nr, p as Rr } from "./mitt-BJqPn_wb.js";
|
|
2
|
+
import { _ as Kt, f as Ee, b as _e, u as Ci, I as Mt, s as se, k as bi, l as to, q as pe, o as ae, r as so, a as fo, d as cn, F as Hr, H as bs, e as re, h as Li, B as Ls, J as is, x as Vr, T as be, K as Fr, p as ns, M as Gr, N as os, C as Ur, t as ss, v as $r } from "./SelectField.vue_vue_type_style_index_0_lang-BHQAQD6k.js";
|
|
3
3
|
import { G as Wr } from "./style-CzdIazhD.js";
|
|
4
|
-
import { R as qr, B as dn, L as jr, S as Yr, M as Kr, T as Xr, C as Jr, b as eo, V as Qr, a as ta } from "./masonry.plugin-
|
|
5
|
-
import { A as ea, H as ia } from "./AvailabilitySkeleton-
|
|
6
|
-
import { S as na } from "./TermsOfService-
|
|
7
|
-
import { a as ro, B as ks, C as oa, P as sa } from "./CheckoutWindow-
|
|
8
|
-
import { A as ra } from "./ActionField-
|
|
4
|
+
import { R as qr, B as dn, L as jr, S as Yr, M as Kr, T as Xr, C as Jr, b as eo, V as Qr, a as ta } from "./masonry.plugin-3DQG38sX.js";
|
|
5
|
+
import { A as ea, H as ia } from "./AvailabilitySkeleton-ClzjkbSX.js";
|
|
6
|
+
import { S as na } from "./TermsOfService-DA97vzJt.js";
|
|
7
|
+
import { a as ro, B as ks, C as oa, P as sa } from "./CheckoutWindow-wqPgpE4N.js";
|
|
8
|
+
import { A as ra } from "./ActionField-D6L2ohPg.js";
|
|
9
9
|
import { g as aa } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
10
|
-
import { _ as ws } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang
|
|
10
|
+
import { _ as ws } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-C4f2ZkJw.js";
|
|
11
11
|
function ao(a, u = {}, h) {
|
|
12
12
|
for (const p in a) {
|
|
13
13
|
const v = a[p], o = h ? `${h}:${p}` : p;
|
|
@@ -390,7 +390,7 @@ function Ma(a, u, h, p, v, o) {
|
|
|
390
390
|
})
|
|
391
391
|
}, [
|
|
392
392
|
a.validSources ? (T(), A("picture", La, [
|
|
393
|
-
(T(!0), A(dt, null, St(a.validSources, (r,
|
|
393
|
+
(T(!0), A(dt, null, St(a.validSources, (r, d) => (T(), A("source", je({ key: d }, { ref_for: !0 }, r), null, 16))), 128)),
|
|
394
394
|
k("img", je(a.imgAttributes, {
|
|
395
395
|
class: ["iiz__img", [a.imgAttributes.className || "", { "iiz__img--hidden": a.isZoomed, "iiz__img--abs": a.createSpacer }]],
|
|
396
396
|
style: {
|
|
@@ -443,7 +443,7 @@ function Ma(a, u, h, p, v, o) {
|
|
|
443
443
|
transition: `linear ${a.isFullscreen ? 0 : a.fadeDuration}ms opacity, linear ${a.isFullscreen ? 0 : a.fadeDuration}ms visibility`
|
|
444
444
|
}),
|
|
445
445
|
onClick: u[0] || (u[0] = Pi((...r) => a.handleClose && a.handleClose(...r), ["stop"]))
|
|
446
|
-
}, null, 6)) :
|
|
446
|
+
}, null, 6)) : D("", !0)
|
|
447
447
|
])
|
|
448
448
|
])) : (T(), A(dt, { key: 1 }, [
|
|
449
449
|
k("img", je({
|
|
@@ -472,10 +472,10 @@ function Ma(a, u, h, p, v, o) {
|
|
|
472
472
|
transition: `linear ${a.isFullscreen ? 0 : a.fadeDuration}ms opacity, linear ${a.isFullscreen ? 0 : a.fadeDuration}ms visibility`
|
|
473
473
|
}),
|
|
474
474
|
onClick: u[1] || (u[1] = Pi((...r) => a.handleClose && a.handleClose(...r), ["stop"]))
|
|
475
|
-
}, null, 6)) :
|
|
475
|
+
}, null, 6)) : D("", !0)
|
|
476
476
|
], 64))
|
|
477
|
-
], 64)) :
|
|
478
|
-
!a.isZoomed && !a.hideHint ? (T(), A("span", xa)) :
|
|
477
|
+
], 64)) : D("", !0),
|
|
478
|
+
!a.isZoomed && !a.hideHint ? (T(), A("span", xa)) : D("", !0)
|
|
479
479
|
], 16);
|
|
480
480
|
}
|
|
481
481
|
const Sa = /* @__PURE__ */ Kt(ba, [["render", Ma], ["__scopeId", "data-v-915d2827"]]), Aa = { key: 0 }, Ia = { class: "konnectio-hotel-reservation-warning" }, Oa = { class: "konnectio-hotel-reservation-warning" }, za = { class: "konnectio-hotel-reservation-warning" }, Ea = { class: "konnectio-hotel-reservation-title" }, Ba = { class: "konnectio-hotel-reservation-information" }, Za = { class: "konnectio-hotel-reservation-guests" }, Da = { key: 0 }, Na = {
|
|
@@ -506,7 +506,7 @@ const Ra = { key: 0 }, Ha = { key: 1 }, Va = { key: 0 }, Fa = { class: "konnecti
|
|
|
506
506
|
} = Ee(), {
|
|
507
507
|
arrivalTime: o,
|
|
508
508
|
departureTime: r,
|
|
509
|
-
roomDisplay:
|
|
509
|
+
roomDisplay: d,
|
|
510
510
|
templateID: f,
|
|
511
511
|
totalPrice: m,
|
|
512
512
|
areListingsLoading: y,
|
|
@@ -536,33 +536,33 @@ const Ra = { key: 0 }, Ha = { key: 1 }, Va = { key: 0 }, Fa = { class: "konnecti
|
|
|
536
536
|
return (R, K) => {
|
|
537
537
|
const wt = Mr("tooltip");
|
|
538
538
|
return T(), lt(qr, {
|
|
539
|
-
"discount-code":
|
|
539
|
+
"discount-code": c(st),
|
|
540
540
|
"onUpdate:discountCode": K[4] || (K[4] = (ot) => It(st) ? st.value = ot : null),
|
|
541
|
-
"validate-discount-code":
|
|
542
|
-
"total-price":
|
|
543
|
-
"weekend-fee":
|
|
541
|
+
"validate-discount-code": c(gt),
|
|
542
|
+
"total-price": c(m),
|
|
543
|
+
"weekend-fee": c(kt),
|
|
544
544
|
"show-gift-card": R.showGiftCard,
|
|
545
545
|
"show-terms-notice": R.showTermsNotice,
|
|
546
|
-
"is-sidebar-loading":
|
|
547
|
-
notice:
|
|
546
|
+
"is-sidebar-loading": c(y),
|
|
547
|
+
notice: c(u)("hotel.reservationNotice"),
|
|
548
548
|
"prev-callback": R.prevCallback
|
|
549
549
|
}, Sr({
|
|
550
550
|
form: tt(() => [
|
|
551
551
|
Qn(R.$slots, "form", {}, void 0, !0)
|
|
552
552
|
]),
|
|
553
553
|
"price-summary": tt(() => [
|
|
554
|
-
isNaN(
|
|
554
|
+
isNaN(c(f)) && c(d).length > 0 ? (T(!0), A(dt, { key: 0 }, St(c(d), ({
|
|
555
555
|
roomGroupID: ot,
|
|
556
556
|
title: pt,
|
|
557
557
|
variants: it
|
|
558
558
|
}) => (T(), A("div", { key: ot }, [
|
|
559
559
|
k("h6", null, [
|
|
560
|
-
k("span", null, I(
|
|
560
|
+
k("span", null, I(c(pe)(pt)), 1)
|
|
561
561
|
]),
|
|
562
562
|
(T(!0), A(dt, null, St(it, (X, Rt) => (T(), A("div", { key: Rt }, [
|
|
563
563
|
(T(!0), A(dt, null, St(X.rooms, (vt, le) => (T(), A("ul", { key: le }, [
|
|
564
564
|
k("li", null, [
|
|
565
|
-
k("span", Ea, I(
|
|
565
|
+
k("span", Ea, I(c(pe)(X.name)), 1),
|
|
566
566
|
k("span", Ba, [
|
|
567
567
|
k("span", Za, [
|
|
568
568
|
k("span", null, [
|
|
@@ -580,64 +580,64 @@ const Ra = { key: 0 }, Ha = { key: 1 }, Va = { key: 0 }, Fa = { class: "konnecti
|
|
|
580
580
|
color: "font"
|
|
581
581
|
}),
|
|
582
582
|
k("span", null, I(vt.childrenCount), 1)
|
|
583
|
-
])) :
|
|
583
|
+
])) : D("", !0)
|
|
584
584
|
]),
|
|
585
|
-
vt.roomName ? (T(), A("span", Na, "(" + I(vt.roomName) + ")", 1)) :
|
|
585
|
+
vt.roomName ? (T(), A("span", Na, "(" + I(vt.roomName) + ")", 1)) : D("", !0)
|
|
586
586
|
]),
|
|
587
587
|
k("b", null, [
|
|
588
|
-
k("span", null, I(
|
|
589
|
-
|
|
588
|
+
k("span", null, I(c(ae)(vt.totalPrice, c(p))), 1),
|
|
589
|
+
D("", !0)
|
|
590
590
|
])
|
|
591
591
|
]),
|
|
592
592
|
me(vt.roomAddons) > 0 ? (T(), A("li", Ra, [
|
|
593
|
-
k("span", null, I(
|
|
594
|
-
k("b", null, I(
|
|
595
|
-
])) :
|
|
593
|
+
k("span", null, I(c(u)("general.addons")), 1),
|
|
594
|
+
k("b", null, I(c(ae)(me(vt.roomAddons), c(p))), 1)
|
|
595
|
+
])) : D("", !0)
|
|
596
596
|
]))), 128))
|
|
597
597
|
]))), 128))
|
|
598
|
-
]))), 128)) :
|
|
599
|
-
|
|
598
|
+
]))), 128)) : D("", !0),
|
|
599
|
+
c(g) && c(w) ? (T(), A("div", Ha, [
|
|
600
600
|
k("h6", null, [
|
|
601
|
-
k("span", null, I(
|
|
601
|
+
k("span", null, I(c(pe)(c(w).name)), 1)
|
|
602
602
|
]),
|
|
603
603
|
k("div", null, [
|
|
604
604
|
k("ul", null, [
|
|
605
605
|
k("li", null, [
|
|
606
606
|
k("span", null, [
|
|
607
|
-
k("span", null, I(
|
|
607
|
+
k("span", null, I(c(pe)(c(g).title)), 1)
|
|
608
608
|
]),
|
|
609
609
|
k("b", null, [
|
|
610
|
-
k("span", null, I(
|
|
610
|
+
k("span", null, I(c(ae)(c(Y), c(p))), 1)
|
|
611
611
|
])
|
|
612
612
|
]),
|
|
613
|
-
|
|
614
|
-
k("span", null, I(
|
|
615
|
-
k("b", null, I(
|
|
616
|
-
])) :
|
|
613
|
+
c(Ot) ? (T(), A("li", Va, [
|
|
614
|
+
k("span", null, I(c(u)("general.addons")), 1),
|
|
615
|
+
k("b", null, I(c(ae)(c(Ot), c(p))), 1)
|
|
616
|
+
])) : D("", !0)
|
|
617
617
|
])
|
|
618
618
|
])
|
|
619
|
-
])) :
|
|
619
|
+
])) : D("", !0)
|
|
620
620
|
]),
|
|
621
621
|
actions: tt(() => [
|
|
622
622
|
k("ul", Fa, [
|
|
623
|
-
|
|
623
|
+
c(h) ? D("", !0) : (T(), A("div", Ga, [
|
|
624
624
|
B(ro, {
|
|
625
|
-
modelValue:
|
|
625
|
+
modelValue: c(W),
|
|
626
626
|
"onUpdate:modelValue": K[0] || (K[0] = (ot) => It(W) ? W.value = ot : null),
|
|
627
627
|
type: "checkbox",
|
|
628
628
|
name: "newsletter",
|
|
629
|
-
label:
|
|
629
|
+
label: c(u)("booking.reservation.newsletterSignUp")
|
|
630
630
|
}, null, 8, ["modelValue", "label"])
|
|
631
631
|
])),
|
|
632
|
-
|
|
632
|
+
c(xt) ? (T(), A("div", Ua, [
|
|
633
633
|
B(ro, {
|
|
634
|
-
modelValue:
|
|
634
|
+
modelValue: c(Lt),
|
|
635
635
|
"onUpdate:modelValue": K[2] || (K[2] = (ot) => It(Lt) ? Lt.value = ot : null),
|
|
636
636
|
type: "checkbox",
|
|
637
637
|
name: "terms"
|
|
638
638
|
}, {
|
|
639
639
|
default: tt(() => [
|
|
640
|
-
B(
|
|
640
|
+
B(c(Ar), {
|
|
641
641
|
keypath: "general.termsAndConditionsCheckbox",
|
|
642
642
|
tag: "span",
|
|
643
643
|
scope: "global"
|
|
@@ -647,7 +647,7 @@ const Ra = { key: 0 }, Ha = { key: 1 }, Va = { key: 0 }, Fa = { class: "konnecti
|
|
|
647
647
|
class: "konnectio-accept-terms-link",
|
|
648
648
|
onClick: K[1] || (K[1] = Pi((ot) => U.value = !0, ["prevent"]))
|
|
649
649
|
}, [
|
|
650
|
-
k("span", null, I(
|
|
650
|
+
k("span", null, I(c(to)(c(u)("general.termsAndConditions"))), 1)
|
|
651
651
|
])
|
|
652
652
|
]),
|
|
653
653
|
_: 1
|
|
@@ -655,12 +655,12 @@ const Ra = { key: 0 }, Ha = { key: 1 }, Va = { key: 0 }, Fa = { class: "konnecti
|
|
|
655
655
|
]),
|
|
656
656
|
_: 1
|
|
657
657
|
}, 8, ["modelValue"])
|
|
658
|
-
])) :
|
|
658
|
+
])) : D("", !0),
|
|
659
659
|
Qn(R.$slots, "actions", {}, void 0, !0),
|
|
660
660
|
B(na, {
|
|
661
661
|
modelValue: U.value,
|
|
662
662
|
"onUpdate:modelValue": K[3] || (K[3] = (ot) => U.value = ot),
|
|
663
|
-
description:
|
|
663
|
+
description: c(ut)
|
|
664
664
|
}, null, 8, ["modelValue", "description"])
|
|
665
665
|
])
|
|
666
666
|
]),
|
|
@@ -669,7 +669,7 @@ const Ra = { key: 0 }, Ha = { key: 1 }, Va = { key: 0 }, Fa = { class: "konnecti
|
|
|
669
669
|
]),
|
|
670
670
|
"mobile-under-price": tt(() => [
|
|
671
671
|
K[5] || (K[5] = k("span", null, "For ", -1)),
|
|
672
|
-
k("b", null, I(
|
|
672
|
+
k("b", null, I(c(bi)(c(S), c(x))) + " " + I(c(to)(c(bi)(c(S), c(x)) === 1 ? c(u)("booking.reservation.night") : c(u)("booking.reservation.nights"))), 1),
|
|
673
673
|
ke((T(), A("span", $a, [
|
|
674
674
|
B(Mt, {
|
|
675
675
|
icon: "circle-info",
|
|
@@ -677,74 +677,74 @@ const Ra = { key: 0 }, Ha = { key: 1 }, Va = { key: 0 }, Fa = { class: "konnecti
|
|
|
677
677
|
})
|
|
678
678
|
])), [
|
|
679
679
|
[wt, {
|
|
680
|
-
content: `<span>(${
|
|
680
|
+
content: `<span>(${c(se)(c(S))} - ${c(se)(c(x))})</span>`,
|
|
681
681
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
682
682
|
html: !0
|
|
683
683
|
}]
|
|
684
684
|
])
|
|
685
685
|
]),
|
|
686
686
|
"mobile-summary": tt(() => [
|
|
687
|
-
k("span", null, I(`${
|
|
688
|
-
k("span", null, I(`${
|
|
689
|
-
k("span", null, I(`${
|
|
687
|
+
k("span", null, I(`${c(at)} ${c(at) === 1 ? c(u)("general.adult") : c(u)("general.adults")}`), 1),
|
|
688
|
+
k("span", null, I(`${c(et)} ${c(et) === 1 ? c(u)("general.child") : c(u)("general.children")}`), 1),
|
|
689
|
+
k("span", null, I(`${c(V)} ${c(V) === 1 ? c(u)("booking.reservation.room") : c(u)("booking.reservation.rooms")}`), 1)
|
|
690
690
|
]),
|
|
691
691
|
_: 2
|
|
692
692
|
}, [
|
|
693
|
-
isNaN(
|
|
693
|
+
isNaN(c(Z)) ? void 0 : {
|
|
694
694
|
name: "reservation-summary",
|
|
695
695
|
fn: tt(() => [
|
|
696
|
-
|
|
697
|
-
k("span", null, I(
|
|
696
|
+
c(mt) ? (T(), A("li", Aa, [
|
|
697
|
+
k("span", null, I(c(u)("general.location")), 1),
|
|
698
698
|
k("b", null, [
|
|
699
|
-
k("span", null, I(
|
|
699
|
+
k("span", null, I(c(Bt)(c(Z))), 1),
|
|
700
700
|
ke(k("span", Ia, [
|
|
701
701
|
B(Mt, {
|
|
702
702
|
icon: "exclamation-triangle",
|
|
703
703
|
type: "fas"
|
|
704
704
|
})
|
|
705
705
|
], 512), [
|
|
706
|
-
[ze,
|
|
706
|
+
[ze, c(z)]
|
|
707
707
|
])
|
|
708
708
|
])
|
|
709
|
-
])) :
|
|
709
|
+
])) : D("", !0),
|
|
710
710
|
k("li", null, [
|
|
711
|
-
k("span", null, I(
|
|
711
|
+
k("span", null, I(c(u)("booking.reservation.arrival")), 1),
|
|
712
712
|
k("b", null, [
|
|
713
|
-
k("span", null, I(
|
|
713
|
+
k("span", null, I(c(v)(c(Z)) ? `${c(se)(c(S))}, ${c(o)}` : c(se)(c(S))), 1),
|
|
714
714
|
ke(k("span", Oa, [
|
|
715
715
|
B(Mt, {
|
|
716
716
|
icon: "exclamation-triangle",
|
|
717
717
|
type: "fas"
|
|
718
718
|
})
|
|
719
719
|
], 512), [
|
|
720
|
-
[ze,
|
|
720
|
+
[ze, c(H)]
|
|
721
721
|
])
|
|
722
722
|
])
|
|
723
723
|
]),
|
|
724
724
|
k("li", null, [
|
|
725
|
-
k("span", null, I(
|
|
725
|
+
k("span", null, I(c(u)("booking.reservation.departure")), 1),
|
|
726
726
|
k("b", null, [
|
|
727
|
-
k("span", null, I(
|
|
727
|
+
k("span", null, I(c(v)(c(Z)) ? `${c(se)(c(x))}, ${c(r)}` : c(se)(c(x))), 1),
|
|
728
728
|
ke(k("span", za, [
|
|
729
729
|
B(Mt, {
|
|
730
730
|
icon: "exclamation-triangle",
|
|
731
731
|
type: "fas"
|
|
732
732
|
})
|
|
733
733
|
], 512), [
|
|
734
|
-
[ze,
|
|
734
|
+
[ze, c(H)]
|
|
735
735
|
])
|
|
736
736
|
])
|
|
737
737
|
]),
|
|
738
738
|
k("li", null, [
|
|
739
|
-
k("span", null, I(
|
|
740
|
-
k("b", null, I(
|
|
739
|
+
k("span", null, I(c(u)("booking.reservation.nights")), 1),
|
|
740
|
+
k("b", null, I(c(bi)(c(S), c(x))) + " " + I(c(to)(c(bi)(c(S), c(x)) === 1 ? c(u)("booking.reservation.night") : c(u)("booking.reservation.nights"))), 1)
|
|
741
741
|
]),
|
|
742
|
-
|
|
742
|
+
c(P) ? (T(!0), A(dt, { key: 1 }, St(c(P), (ot) => (T(), A("li", {
|
|
743
743
|
key: ot.id
|
|
744
744
|
}, [
|
|
745
|
-
k("span", null, I(`${
|
|
745
|
+
k("span", null, I(`${c(u)("general.discountCode")} (${ot.value})`), 1),
|
|
746
746
|
k("b", null, I(ot.key), 1)
|
|
747
|
-
]))), 128)) :
|
|
747
|
+
]))), 128)) : D("", !0)
|
|
748
748
|
]),
|
|
749
749
|
key: "0"
|
|
750
750
|
}
|
|
@@ -772,21 +772,21 @@ const Ra = { key: 0 }, Ha = { key: 1 }, Va = { key: 0 }, Fa = { class: "konnecti
|
|
|
772
772
|
}
|
|
773
773
|
await p.checkGuestDiscount(o.value) && (h.gid = o.value.toString());
|
|
774
774
|
}
|
|
775
|
-
return (
|
|
775
|
+
return (d, f) => (T(), A("form", qa, [
|
|
776
776
|
k("div", ja, [
|
|
777
777
|
k("h3", Ya, [
|
|
778
|
-
k("span", null, I(
|
|
778
|
+
k("span", null, I(c(u)("guestDiscount.title")), 1)
|
|
779
779
|
]),
|
|
780
780
|
k("p", {
|
|
781
|
-
innerHTML:
|
|
781
|
+
innerHTML: c(u)("guestDiscount.description")
|
|
782
782
|
}, null, 8, Ka),
|
|
783
783
|
B(ra, {
|
|
784
784
|
modelValue: o.value,
|
|
785
785
|
"onUpdate:modelValue": f[0] || (f[0] = (m) => o.value = m),
|
|
786
|
-
label:
|
|
786
|
+
label: c(u)("guestDiscount.guestDiscountCode"),
|
|
787
787
|
placeholder: "XXXXXX",
|
|
788
788
|
inputType: "number",
|
|
789
|
-
"button-label":
|
|
789
|
+
"button-label": c(u)("guestDiscount.submitButton"),
|
|
790
790
|
icon: "user-tag",
|
|
791
791
|
"button-icon": "paper-plane-top",
|
|
792
792
|
secondary: "",
|
|
@@ -810,13 +810,13 @@ const Ra = { key: 0 }, Ha = { key: 1 }, Va = { key: 0 }, Fa = { class: "konnecti
|
|
|
810
810
|
function r(f) {
|
|
811
811
|
v("update:modelValue", f);
|
|
812
812
|
}
|
|
813
|
-
const
|
|
813
|
+
const d = Tt({
|
|
814
814
|
get: () => o.modelValue,
|
|
815
815
|
set: (f) => r(f)
|
|
816
816
|
});
|
|
817
817
|
return (f, m) => (T(), lt(cn, {
|
|
818
|
-
modelValue:
|
|
819
|
-
"onUpdate:modelValue": m[0] || (m[0] = (y) =>
|
|
818
|
+
modelValue: d.value,
|
|
819
|
+
"onUpdate:modelValue": m[0] || (m[0] = (y) => d.value = y),
|
|
820
820
|
label: f.label,
|
|
821
821
|
placeholder: "Select guest configuration",
|
|
822
822
|
labelKey: "label",
|
|
@@ -843,26 +843,26 @@ const Ra = { key: 0 }, Ha = { key: 1 }, Va = { key: 0 }, Fa = { class: "konnecti
|
|
|
843
843
|
color: "font"
|
|
844
844
|
}),
|
|
845
845
|
k("span", null, I(`${y.children}`), 1)
|
|
846
|
-
])) :
|
|
846
|
+
])) : D("", !0)
|
|
847
847
|
]),
|
|
848
|
-
k("span", null, I(`(${
|
|
848
|
+
k("span", null, I(`(${c(ae)(y.price, c(p))})`), 1)
|
|
849
849
|
])
|
|
850
850
|
]),
|
|
851
851
|
"selected-option": tt(({ data: y }) => [
|
|
852
852
|
k("div", el, [
|
|
853
853
|
k("div", il, [
|
|
854
854
|
k("div", null, [
|
|
855
|
-
|
|
856
|
-
k("span", null, I(`${y.adults} ${y.adults === 1 ?
|
|
855
|
+
D("", !0),
|
|
856
|
+
k("span", null, I(`${y.adults} ${y.adults === 1 ? c(h)("general.adult") : c(h)("general.adults")}`), 1)
|
|
857
857
|
]),
|
|
858
858
|
y.children > 0 ? (T(), A("div", nl, [
|
|
859
|
-
|
|
860
|
-
k("span", null, I(`& ${y.children} ${y.children === 1 ?
|
|
861
|
-
])) :
|
|
859
|
+
D("", !0),
|
|
860
|
+
k("span", null, I(`& ${y.children} ${y.children === 1 ? c(h)("general.child") : c(h)("general.children")}`), 1)
|
|
861
|
+
])) : D("", !0)
|
|
862
862
|
]),
|
|
863
863
|
k("div", ol, [
|
|
864
864
|
m[1] || (m[1] = k("span", null, null, -1)),
|
|
865
|
-
ys(" " + I(`(${
|
|
865
|
+
ys(" " + I(`(${c(ae)(y.price, c(p))})`), 1)
|
|
866
866
|
])
|
|
867
867
|
])
|
|
868
868
|
]),
|
|
@@ -907,9 +907,9 @@ function ll() {
|
|
|
907
907
|
return t.apply(e, n.length ? n.concat(i.call(arguments)) : arguments);
|
|
908
908
|
};
|
|
909
909
|
}
|
|
910
|
-
var
|
|
910
|
+
var d = 0;
|
|
911
911
|
function f(t) {
|
|
912
|
-
return "_leaflet_id" in t || (t._leaflet_id = ++
|
|
912
|
+
return "_leaflet_id" in t || (t._leaflet_id = ++d), t._leaflet_id;
|
|
913
913
|
}
|
|
914
914
|
function m(t, e, i) {
|
|
915
915
|
var n, s, l, _;
|
|
@@ -995,7 +995,7 @@ function ll() {
|
|
|
995
995
|
create: o,
|
|
996
996
|
bind: r,
|
|
997
997
|
get lastId() {
|
|
998
|
-
return
|
|
998
|
+
return d;
|
|
999
999
|
},
|
|
1000
1000
|
stamp: f,
|
|
1001
1001
|
throttle: m,
|
|
@@ -1772,7 +1772,7 @@ function ll() {
|
|
|
1772
1772
|
for (n = 0, l = t.length; n < l; n++) {
|
|
1773
1773
|
for (b = t[n], s = 0, _ = b.length; s < _; s++)
|
|
1774
1774
|
C = b[s], i += (s ? "L" : "M") + C.x + " " + C.y;
|
|
1775
|
-
i += e ?
|
|
1775
|
+
i += e ? N.svg ? "z" : "x" : "";
|
|
1776
1776
|
}
|
|
1777
1777
|
return i || "M0 0";
|
|
1778
1778
|
}
|
|
@@ -1806,7 +1806,7 @@ function ll() {
|
|
|
1806
1806
|
function Vt(t) {
|
|
1807
1807
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
|
1808
1808
|
}
|
|
1809
|
-
var
|
|
1809
|
+
var N = {
|
|
1810
1810
|
ie: Ze,
|
|
1811
1811
|
ielt9: pn,
|
|
1812
1812
|
edge: xi,
|
|
@@ -1842,7 +1842,7 @@ function ll() {
|
|
|
1842
1842
|
inlineSvg: wn,
|
|
1843
1843
|
mac: ee,
|
|
1844
1844
|
linux: ai
|
|
1845
|
-
}, Di =
|
|
1845
|
+
}, Di = N.msPointer ? "MSPointerDown" : "pointerdown", Ni = N.msPointer ? "MSPointerMove" : "pointermove", Ri = N.msPointer ? "MSPointerUp" : "pointerup", Hi = N.msPointer ? "MSPointerCancel" : "pointercancel", Ne = {
|
|
1846
1846
|
touchstart: Di,
|
|
1847
1847
|
touchmove: Ni,
|
|
1848
1848
|
touchend: Ri,
|
|
@@ -2002,10 +2002,10 @@ function ll() {
|
|
|
2002
2002
|
}
|
|
2003
2003
|
function Me(t, e, i) {
|
|
2004
2004
|
var n = e || new U(0, 0);
|
|
2005
|
-
t.style[xe] = (
|
|
2005
|
+
t.style[xe] = (N.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
|
|
2006
2006
|
}
|
|
2007
2007
|
function Pt(t, e) {
|
|
2008
|
-
t._leaflet_pos = e,
|
|
2008
|
+
t._leaflet_pos = e, N.any3d ? Me(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
|
|
2009
2009
|
}
|
|
2010
2010
|
function Se(t) {
|
|
2011
2011
|
return t._leaflet_pos || new U(0, 0);
|
|
@@ -2139,7 +2139,7 @@ function ll() {
|
|
|
2139
2139
|
var l = function(b) {
|
|
2140
2140
|
return i.call(n || t, b || window.event);
|
|
2141
2141
|
}, _ = l;
|
|
2142
|
-
!
|
|
2142
|
+
!N.touchNative && N.pointer && e.indexOf("touch") === 0 ? l = J(t, e, l) : N.touch && e === "dblclick" ? l = Cn(t, l) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(Bn[e] || e, l, N.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (l = function(b) {
|
|
2143
2143
|
b = b || window.event, Rn(t, b) && _(b);
|
|
2144
2144
|
}, t.addEventListener(Bn[e], l, !1)) : t.addEventListener(e, _, !1) : t.attachEvent("on" + e, l), t[ie] = t[ie] || {}, t[ie][s] = l;
|
|
2145
2145
|
}
|
|
@@ -2148,7 +2148,7 @@ function ll() {
|
|
|
2148
2148
|
var l = t[ie] && t[ie][s];
|
|
2149
2149
|
if (!l)
|
|
2150
2150
|
return this;
|
|
2151
|
-
!
|
|
2151
|
+
!N.touchNative && N.pointer && e.indexOf("touch") === 0 ? ht(t, e, l) : N.touch && e === "dblclick" ? Tn(t, l) : "removeEventListener" in t ? t.removeEventListener(Bn[e] || e, l, !1) : t.detachEvent("on" + e, l), t[ie][s] = null;
|
|
2152
2152
|
}
|
|
2153
2153
|
function Ae(t) {
|
|
2154
2154
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
|
@@ -2183,9 +2183,9 @@ function ll() {
|
|
|
2183
2183
|
(t.clientY - n.top) / i.y - e.clientTop
|
|
2184
2184
|
);
|
|
2185
2185
|
}
|
|
2186
|
-
var Es =
|
|
2186
|
+
var Es = N.linux && N.chrome ? window.devicePixelRatio : N.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
|
2187
2187
|
function yo(t) {
|
|
2188
|
-
return
|
|
2188
|
+
return N.edge ? t.wheelDeltaY / 2 : (
|
|
2189
2189
|
// Don't trust window-geometry-based delta
|
|
2190
2190
|
t.deltaY && t.deltaMode === 0 ? -t.deltaY / Es : (
|
|
2191
2191
|
// Pixels
|
|
@@ -2347,7 +2347,7 @@ function ll() {
|
|
|
2347
2347
|
trackResize: !0
|
|
2348
2348
|
},
|
|
2349
2349
|
initialize: function(t, e) {
|
|
2350
|
-
e = x(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = r(this._onResize, this), this._initEvents(), e.maxBounds && this.setMaxBounds(e.maxBounds), e.zoom !== void 0 && (this._zoom = this._limitZoom(e.zoom)), e.center && e.zoom !== void 0 && this.setView(X(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = ge &&
|
|
2350
|
+
e = x(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = r(this._onResize, this), this._initEvents(), e.maxBounds && this.setMaxBounds(e.maxBounds), e.zoom !== void 0 && (this._zoom = this._limitZoom(e.zoom)), e.center && e.zoom !== void 0 && this.setView(X(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = ge && N.any3d && !N.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), q(this._proxy, Vi, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
|
|
2351
2351
|
},
|
|
2352
2352
|
// @section Methods for modifying map state
|
|
2353
2353
|
// @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this
|
|
@@ -2370,12 +2370,12 @@ function ll() {
|
|
|
2370
2370
|
// @method zoomIn(delta?: Number, options?: Zoom options): this
|
|
2371
2371
|
// Increases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).
|
|
2372
2372
|
zoomIn: function(t, e) {
|
|
2373
|
-
return t = t || (
|
|
2373
|
+
return t = t || (N.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom + t, e);
|
|
2374
2374
|
},
|
|
2375
2375
|
// @method zoomOut(delta?: Number, options?: Zoom options): this
|
|
2376
2376
|
// Decreases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).
|
|
2377
2377
|
zoomOut: function(t, e) {
|
|
2378
|
-
return t = t || (
|
|
2378
|
+
return t = t || (N.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom - t, e);
|
|
2379
2379
|
},
|
|
2380
2380
|
// @method setZoomAround(latlng: LatLng, zoom: Number, options: Zoom options): this
|
|
2381
2381
|
// Zooms the map while keeping a specified geographical point on the map
|
|
@@ -2443,7 +2443,7 @@ function ll() {
|
|
|
2443
2443
|
// Sets the view of the map (geographical center and zoom) performing a smooth
|
|
2444
2444
|
// pan-zoom animation.
|
|
2445
2445
|
flyTo: function(t, e, i) {
|
|
2446
|
-
if (i = i || {}, i.animate === !1 || !
|
|
2446
|
+
if (i = i || {}, i.animate === !1 || !N.any3d)
|
|
2447
2447
|
return this.setView(t, e, i);
|
|
2448
2448
|
this._stop();
|
|
2449
2449
|
var n = this.project(this.getCenter()), s = this.project(t), l = this.getSize(), _ = this._zoom;
|
|
@@ -2691,7 +2691,7 @@ function ll() {
|
|
|
2691
2691
|
// the given bounds in its entirety.
|
|
2692
2692
|
getBoundsZoom: function(t, e, i) {
|
|
2693
2693
|
t = pt(t), i = R(i || [0, 0]);
|
|
2694
|
-
var n = this.getZoom() || 0, s = this.getMinZoom(), l = this.getMaxZoom(), _ = t.getNorthWest(), b = t.getSouthEast(), C = this.getSize().subtract(i), M = wt(this.project(b, n), this.project(_, n)).getSize(), O =
|
|
2694
|
+
var n = this.getZoom() || 0, s = this.getMinZoom(), l = this.getMaxZoom(), _ = t.getNorthWest(), b = t.getSouthEast(), C = this.getSize().subtract(i), M = wt(this.project(b, n), this.project(_, n)).getSize(), O = N.any3d ? this.options.zoomSnap : 1, G = C.x / M.x, Q = C.y / M.y, Dt = e ? Math.max(G, Q) : Math.min(G, Q);
|
|
2695
2695
|
return n = this.getScaleZoom(Dt, n), O && (n = Math.round(n / (O / 100)) * (O / 100), n = e ? Math.ceil(n / O) * O : Math.floor(n / O) * O), Math.max(s, Math.min(l, n));
|
|
2696
2696
|
},
|
|
2697
2697
|
// @method getSize(): Point
|
|
@@ -2864,7 +2864,7 @@ function ll() {
|
|
|
2864
2864
|
},
|
|
2865
2865
|
_initLayout: function() {
|
|
2866
2866
|
var t = this._container;
|
|
2867
|
-
this._fadeAnimated = this.options.fadeAnimation &&
|
|
2867
|
+
this._fadeAnimated = this.options.fadeAnimation && N.any3d, j(t, "leaflet-container" + (N.touch ? " leaflet-touch" : "") + (N.retina ? " leaflet-retina" : "") + (N.ielt9 ? " leaflet-oldie" : "") + (N.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
|
|
2868
2868
|
var e = ui(t, "position");
|
|
2869
2869
|
e !== "absolute" && e !== "relative" && e !== "fixed" && e !== "sticky" && (t.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
|
|
2870
2870
|
},
|
|
@@ -2913,7 +2913,7 @@ function ll() {
|
|
|
2913
2913
|
_initEvents: function(t) {
|
|
2914
2914
|
this._targets = {}, this._targets[f(this._container)] = this;
|
|
2915
2915
|
var e = t ? ct : q;
|
|
2916
|
-
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),
|
|
2916
|
+
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), N.any3d && this.options.transform3DLimit && (t ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
|
|
2917
2917
|
},
|
|
2918
2918
|
_onResize: function() {
|
|
2919
2919
|
Y(this._resizeRequest), this._resizeRequest = et(
|
|
@@ -3060,7 +3060,7 @@ function ll() {
|
|
|
3060
3060
|
return t + e > 0 ? Math.round(t - e) / 2 : Math.max(0, Math.ceil(t)) - Math.max(0, Math.floor(e));
|
|
3061
3061
|
},
|
|
3062
3062
|
_limitZoom: function(t) {
|
|
3063
|
-
var e = this.getMinZoom(), i = this.getMaxZoom(), n =
|
|
3063
|
+
var e = this.getMinZoom(), i = this.getMaxZoom(), n = N.any3d ? this.options.zoomSnap : 1;
|
|
3064
3064
|
return n && (t = Math.round(t / n) * n), Math.max(e, Math.min(i, t));
|
|
3065
3065
|
},
|
|
3066
3066
|
_onPanTransitionStep: function() {
|
|
@@ -3488,7 +3488,7 @@ function ll() {
|
|
|
3488
3488
|
position: "bottomright",
|
|
3489
3489
|
// @option prefix: String|false = 'Leaflet'
|
|
3490
3490
|
// The HTML text shown before the attributions. Pass `false` to disable.
|
|
3491
|
-
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (
|
|
3491
|
+
prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (N.inlineSvg ? Hs + " " : "") + "Leaflet</a>"
|
|
3492
3492
|
},
|
|
3493
3493
|
initialize: function(t) {
|
|
3494
3494
|
x(this, t), this._attributions = {};
|
|
@@ -3570,7 +3570,7 @@ function ll() {
|
|
|
3570
3570
|
ne.addTo = function(t, e) {
|
|
3571
3571
|
return t.addHandler(e, this), this;
|
|
3572
3572
|
};
|
|
3573
|
-
var Fs = { Events: gt }, wo =
|
|
3573
|
+
var Fs = { Events: gt }, wo = N.touch ? "touchstart mousedown" : "mousedown", ve = Bt.extend({
|
|
3574
3574
|
options: {
|
|
3575
3575
|
// @section
|
|
3576
3576
|
// @aka Draggable options
|
|
@@ -4156,7 +4156,7 @@ function ll() {
|
|
|
4156
4156
|
return e = e || document.createElement("img"), e.src = t, e;
|
|
4157
4157
|
},
|
|
4158
4158
|
_getIconUrl: function(t) {
|
|
4159
|
-
return
|
|
4159
|
+
return N.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
|
|
4160
4160
|
}
|
|
4161
4161
|
});
|
|
4162
4162
|
function tr(t) {
|
|
@@ -5782,7 +5782,7 @@ function ll() {
|
|
|
5782
5782
|
// `true` by default on mobile browsers, in order to avoid too many requests and keep smooth navigation.
|
|
5783
5783
|
// `false` otherwise in order to display new tiles _during_ panning, since it is easy to pan outside the
|
|
5784
5784
|
// [`keepBuffer`](#gridlayer-keepbuffer) option in desktop browsers.
|
|
5785
|
-
updateWhenIdle:
|
|
5785
|
+
updateWhenIdle: N.mobile,
|
|
5786
5786
|
// @option updateWhenZooming: Boolean = true
|
|
5787
5787
|
// By default, a smooth zoom animation (during a [touch zoom](#map-touchzoom) or a [`flyTo()`](#map-flyto)) will update grid layers every integer zoom level. Setting this option to `false` will update the grid layer only when the smooth animation ends.
|
|
5788
5788
|
updateWhenZooming: !0,
|
|
@@ -5914,7 +5914,7 @@ function ll() {
|
|
|
5914
5914
|
isFinite(i) && (this.options.zIndex = i + t(-1, 1), this._updateZIndex());
|
|
5915
5915
|
},
|
|
5916
5916
|
_updateOpacity: function() {
|
|
5917
|
-
if (this._map && !
|
|
5917
|
+
if (this._map && !N.ielt9) {
|
|
5918
5918
|
$t(this._container, this.options.opacity);
|
|
5919
5919
|
var t = +/* @__PURE__ */ new Date(), e = !1, i = !1;
|
|
5920
5920
|
for (var n in this._tiles) {
|
|
@@ -6016,7 +6016,7 @@ function ll() {
|
|
|
6016
6016
|
},
|
|
6017
6017
|
_setZoomTransform: function(t, e, i) {
|
|
6018
6018
|
var n = this._map.getZoomScale(i, t.zoom), s = t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e, i)).round();
|
|
6019
|
-
|
|
6019
|
+
N.any3d ? Me(t.el, s, n) : Pt(t.el, s);
|
|
6020
6020
|
},
|
|
6021
6021
|
_resetGrid: function() {
|
|
6022
6022
|
var t = this._map, e = t.options.crs, i = this._tileSize = this.getTileSize(), n = this._tileZoom, s = this._map.getPixelWorldBounds(this._tileZoom);
|
|
@@ -6118,7 +6118,7 @@ function ll() {
|
|
|
6118
6118
|
_initTile: function(t) {
|
|
6119
6119
|
j(t, "leaflet-tile");
|
|
6120
6120
|
var e = this.getTileSize();
|
|
6121
|
-
t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = g, t.onmousemove = g,
|
|
6121
|
+
t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = g, t.onmousemove = g, N.ielt9 && this.options.opacity < 1 && $t(t, this.options.opacity);
|
|
6122
6122
|
},
|
|
6123
6123
|
_addTile: function(t, e) {
|
|
6124
6124
|
var i = this._getTilePos(t), n = this._tileCoordsToKey(t), s = this.createTile(this._wrapCoords(t), r(this._tileReady, this, t));
|
|
@@ -6141,7 +6141,7 @@ function ll() {
|
|
|
6141
6141
|
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? ($t(i.el, 0), Y(this._fadeFrame), this._fadeFrame = et(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (j(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
|
|
6142
6142
|
tile: i.el,
|
|
6143
6143
|
coords: t
|
|
6144
|
-
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"),
|
|
6144
|
+
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), N.ielt9 || !this._map._fadeAnimated ? et(this._pruneTiles, this) : setTimeout(r(this._pruneTiles, this), 250)));
|
|
6145
6145
|
},
|
|
6146
6146
|
_getTilePos: function(t) {
|
|
6147
6147
|
return t.scaleBy(this.getTileSize()).subtract(this._level.origin);
|
|
@@ -6212,7 +6212,7 @@ function ll() {
|
|
|
6212
6212
|
referrerPolicy: !1
|
|
6213
6213
|
},
|
|
6214
6214
|
initialize: function(t, e) {
|
|
6215
|
-
this._url = t, e = x(this, e), e.detectRetina &&
|
|
6215
|
+
this._url = t, e = x(this, e), e.detectRetina && N.retina && e.maxZoom > 0 ? (e.tileSize = Math.floor(e.tileSize / 2), e.zoomReverse ? (e.zoomOffset--, e.minZoom = Math.min(e.maxZoom, e.minZoom + 1)) : (e.zoomOffset++, e.maxZoom = Math.max(e.minZoom, e.maxZoom - 1)), e.minZoom = Math.max(0, e.minZoom)) : e.zoomReverse ? e.minZoom = Math.min(e.maxZoom, e.minZoom) : e.maxZoom = Math.max(e.minZoom, e.maxZoom), typeof e.subdomains == "string" && (e.subdomains = e.subdomains.split("")), this.on("tileunload", this._onTileRemove);
|
|
6216
6216
|
},
|
|
6217
6217
|
// @method setUrl(url: String, noRedraw?: Boolean): this
|
|
6218
6218
|
// Updates the layer's URL template and redraws it (unless `noRedraw` is set to `true`).
|
|
@@ -6237,7 +6237,7 @@ function ll() {
|
|
|
6237
6237
|
// Classes extending `TileLayer` can override this function to provide custom tile URL naming schemes.
|
|
6238
6238
|
getTileUrl: function(t) {
|
|
6239
6239
|
var e = {
|
|
6240
|
-
r:
|
|
6240
|
+
r: N.retina ? "@2x" : "",
|
|
6241
6241
|
s: this._getSubdomain(t),
|
|
6242
6242
|
x: t.x,
|
|
6243
6243
|
y: t.y,
|
|
@@ -6250,7 +6250,7 @@ function ll() {
|
|
|
6250
6250
|
return z(this._url, v(e, this.options));
|
|
6251
6251
|
},
|
|
6252
6252
|
_tileOnLoad: function(t, e) {
|
|
6253
|
-
|
|
6253
|
+
N.ielt9 ? setTimeout(r(t, this, null, e), 0) : t(null, e);
|
|
6254
6254
|
},
|
|
6255
6255
|
_tileOnError: function(t, e, i) {
|
|
6256
6256
|
var n = this.options.errorTileUrl;
|
|
@@ -6333,7 +6333,7 @@ function ll() {
|
|
|
6333
6333
|
for (var n in e)
|
|
6334
6334
|
n in this.options || (i[n] = e[n]);
|
|
6335
6335
|
e = x(this, e);
|
|
6336
|
-
var s = e.detectRetina &&
|
|
6336
|
+
var s = e.detectRetina && N.retina ? 2 : 1, l = this.getTileSize();
|
|
6337
6337
|
i.width = l.x * s, i.height = l.y * s, this.wmsParams = i;
|
|
6338
6338
|
},
|
|
6339
6339
|
onAdd: function(t) {
|
|
@@ -6390,7 +6390,7 @@ function ll() {
|
|
|
6390
6390
|
},
|
|
6391
6391
|
_updateTransform: function(t, e) {
|
|
6392
6392
|
var i = this._map.getZoomScale(e, this._zoom), n = this._map.getSize().multiplyBy(0.5 + this.options.padding), s = this._map.project(this._center, e), l = n.multiplyBy(-i).add(s).subtract(this._map._getNewPixelOrigin(t, e));
|
|
6393
|
-
|
|
6393
|
+
N.any3d ? Me(this._container, l, i) : Pt(this._container, l);
|
|
6394
6394
|
},
|
|
6395
6395
|
_reset: function() {
|
|
6396
6396
|
this._update(), this._updateTransform(this._center, this._zoom);
|
|
@@ -6446,8 +6446,8 @@ function ll() {
|
|
|
6446
6446
|
_update: function() {
|
|
6447
6447
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
6448
6448
|
de.prototype._update.call(this);
|
|
6449
|
-
var t = this._bounds, e = this._container, i = t.getSize(), n =
|
|
6450
|
-
Pt(e, t.min), e.width = n * i.x, e.height = n * i.y, e.style.width = i.x + "px", e.style.height = i.y + "px",
|
|
6449
|
+
var t = this._bounds, e = this._container, i = t.getSize(), n = N.retina ? 2 : 1;
|
|
6450
|
+
Pt(e, t.min), e.width = n * i.x, e.height = n * i.y, e.style.width = i.x + "px", e.style.height = i.y + "px", N.retina && this._ctx.scale(2, 2), this._ctx.translate(-t.min.x, -t.min.y), this.fire("update");
|
|
6451
6451
|
}
|
|
6452
6452
|
},
|
|
6453
6453
|
_reset: function() {
|
|
@@ -6594,7 +6594,7 @@ function ll() {
|
|
|
6594
6594
|
}
|
|
6595
6595
|
});
|
|
6596
6596
|
function Fo(t) {
|
|
6597
|
-
return
|
|
6597
|
+
return N.canvas ? new Vo(t) : null;
|
|
6598
6598
|
}
|
|
6599
6599
|
var vi = function() {
|
|
6600
6600
|
try {
|
|
@@ -6642,7 +6642,7 @@ function ll() {
|
|
|
6642
6642
|
_bringToBack: function(t) {
|
|
6643
6643
|
Ve(t._container);
|
|
6644
6644
|
}
|
|
6645
|
-
}, on =
|
|
6645
|
+
}, on = N.vml ? vi : Ti, yi = de.extend({
|
|
6646
6646
|
_initContainer: function() {
|
|
6647
6647
|
this._container = on("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = on("g"), this._container.appendChild(this._rootGroup);
|
|
6648
6648
|
},
|
|
@@ -6692,9 +6692,9 @@ function ll() {
|
|
|
6692
6692
|
Ve(t._path);
|
|
6693
6693
|
}
|
|
6694
6694
|
});
|
|
6695
|
-
|
|
6695
|
+
N.vml && yi.include(_r);
|
|
6696
6696
|
function Go(t) {
|
|
6697
|
-
return
|
|
6697
|
+
return N.svg || N.vml ? new yi(t) : null;
|
|
6698
6698
|
}
|
|
6699
6699
|
nt.include({
|
|
6700
6700
|
// @namespace Map; @method getRenderer(layer: Path): Renderer
|
|
@@ -7075,7 +7075,7 @@ function ll() {
|
|
|
7075
7075
|
// @section Touch interaction options
|
|
7076
7076
|
// @option tapHold: Boolean
|
|
7077
7077
|
// Enables simulation of `contextmenu` event, default is `true` for mobile Safari.
|
|
7078
|
-
tapHold:
|
|
7078
|
+
tapHold: N.touchNative && N.safari && N.mobile,
|
|
7079
7079
|
// @option tapTolerance: Number = 15
|
|
7080
7080
|
// The max number of pixels a user can shift his finger during touch
|
|
7081
7081
|
// for it to be considered a valid tap.
|
|
@@ -7132,7 +7132,7 @@ function ll() {
|
|
|
7132
7132
|
// passed `'center'`, it will zoom to the center of the view regardless of
|
|
7133
7133
|
// where the touch events (fingers) were. Enabled for touch-capable web
|
|
7134
7134
|
// browsers.
|
|
7135
|
-
touchZoom:
|
|
7135
|
+
touchZoom: N.touch,
|
|
7136
7136
|
// @option bounceAtZoomLimits: Boolean = true
|
|
7137
7137
|
// Set it to false if you don't want the map to zoom beyond min/max zoom
|
|
7138
7138
|
// and then bounce back when pinch-zooming.
|
|
@@ -7177,7 +7177,7 @@ function ll() {
|
|
|
7177
7177
|
this._zooming = !1, Y(this._animRequest), ct(document, "touchmove", this._onTouchMove, this), ct(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));
|
|
7178
7178
|
}
|
|
7179
7179
|
});
|
|
7180
|
-
nt.addInitHook("addHandler", "touchZoom", Xo), nt.BoxZoom = $o, nt.DoubleClickZoom = Wo, nt.Drag = qo, nt.Keyboard = jo, nt.ScrollWheelZoom = Yo, nt.TapHold = Ko, nt.TouchZoom = Xo, h.Bounds = K, h.Browser =
|
|
7180
|
+
nt.addInitHook("addHandler", "touchZoom", Xo), nt.BoxZoom = $o, nt.DoubleClickZoom = Wo, nt.Drag = qo, nt.Keyboard = jo, nt.ScrollWheelZoom = Yo, nt.TapHold = Ko, nt.TouchZoom = Xo, h.Bounds = K, h.Browser = N, h.CRS = Rt, h.Canvas = Vo, h.Circle = Wn, h.CircleMarker = Yi, h.Class = mt, h.Control = Qt, h.DivIcon = No, h.DivOverlay = oe, h.DomEvent = Bs, h.DomUtil = zs, h.Draggable = ve, h.Evented = Bt, h.FeatureGroup = ue, h.GeoJSON = ce, h.GridLayer = gi, h.Handler = ne, h.Icon = Ge, h.ImageOverlay = tn, h.LatLng = it, h.LatLngBounds = ot, h.Layer = te, h.LayerGroup = Fe, h.LineUtil = js, h.Map = nt, h.Marker = ji, h.Mixin = Fs, h.Path = ye, h.Point = U, h.PolyUtil = Gs, h.Polygon = Ue, h.Polyline = he, h.Popup = en, h.PosAnimation = bo, h.Projection = Ys, h.Rectangle = Uo, h.Renderer = de, h.SVG = yi, h.SVGOverlay = Do, h.TileLayer = We, h.Tooltip = nn, h.Transformation = Ye, h.Util = kt, h.VideoOverlay = Zo, h.bind = r, h.bounds = wt, h.canvas = Fo, h.circle = nr, h.circleMarker = ir, h.control = pi, h.divIcon = dr, h.extend = v, h.featureGroup = Qs, h.geoJSON = Bo, h.geoJson = rr, h.gridLayer = fr, h.icon = tr, h.imageOverlay = ar, h.latLng = X, h.latLngBounds = pt, h.layerGroup = Js, h.map = Zs, h.marker = er, h.point = R, h.polygon = sr, h.polyline = or, h.popup = hr, h.rectangle = mr, h.setOptions = x, h.stamp = f, h.svg = Go, h.svgOverlay = ur, h.tileLayer = Ro, h.tooltip = cr, h.transformation = Pe, h.version = p, h.videoOverlay = lr;
|
|
7181
7181
|
var vr = window.L;
|
|
7182
7182
|
h.noConflict = function() {
|
|
7183
7183
|
return window.L = vr, this;
|
|
@@ -7251,9 +7251,9 @@ function cl() {
|
|
|
7251
7251
|
if (this.hasLayer(o))
|
|
7252
7252
|
return this;
|
|
7253
7253
|
this._unspiderfy && this._unspiderfy(), this._addLayer(o, this._maxZoom), this.fire("layeradd", { layer: o }), this._topClusterLevel._recalculateBounds(), this._refreshClustersIcons();
|
|
7254
|
-
var r = o,
|
|
7254
|
+
var r = o, d = this._zoom;
|
|
7255
7255
|
if (o.__parent)
|
|
7256
|
-
for (; r.__parent._zoom >=
|
|
7256
|
+
for (; r.__parent._zoom >= d; )
|
|
7257
7257
|
r = r.__parent;
|
|
7258
7258
|
return this._currentShownBounds.contains(r.getLatLng()) && (this.options.animateAddingMarkers ? this._animationAddLayer(o, r) : this._animationAddLayerNonAnimated(o, r)), this;
|
|
7259
7259
|
},
|
|
@@ -7264,7 +7264,7 @@ function cl() {
|
|
|
7264
7264
|
addLayers: function(o, r) {
|
|
7265
7265
|
if (!L.Util.isArray(o))
|
|
7266
7266
|
return this.addLayer(o);
|
|
7267
|
-
var
|
|
7267
|
+
var d = this._featureGroup, f = this._nonPointGroup, m = this.options.chunkedLoading, y = this.options.chunkInterval, g = this.options.chunkProgress, w = o.length, P = 0, S = !0, x;
|
|
7268
7268
|
if (this._map) {
|
|
7269
7269
|
var H = (/* @__PURE__ */ new Date()).getTime(), Z = L.bind(function() {
|
|
7270
7270
|
var W = (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -7284,7 +7284,7 @@ function cl() {
|
|
|
7284
7284
|
}
|
|
7285
7285
|
if (!this.hasLayer(x) && (this._addLayer(x, this._maxZoom), r || this.fire("layeradd", { layer: x }), x.__parent && x.__parent.getChildCount() === 2)) {
|
|
7286
7286
|
var st = x.__parent.getAllChildMarkers(), xt = st[0] === x ? st[1] : st[0];
|
|
7287
|
-
|
|
7287
|
+
d.removeLayer(xt);
|
|
7288
7288
|
}
|
|
7289
7289
|
}
|
|
7290
7290
|
g && g(P, w, (/* @__PURE__ */ new Date()).getTime() - H), P === w ? (this._topClusterLevel._recalculateBounds(), this._refreshClustersIcons(), this._topClusterLevel._recursivelyAddChildrenToMap(null, this._zoom, this._currentShownBounds)) : setTimeout(Z, this.options.chunkDelay);
|
|
@@ -7306,14 +7306,14 @@ function cl() {
|
|
|
7306
7306
|
},
|
|
7307
7307
|
//Takes an array of markers and removes them in bulk
|
|
7308
7308
|
removeLayers: function(o) {
|
|
7309
|
-
var r,
|
|
7309
|
+
var r, d, f = o.length, m = this._featureGroup, y = this._nonPointGroup, g = !0;
|
|
7310
7310
|
if (!this._map) {
|
|
7311
7311
|
for (r = 0; r < f; r++) {
|
|
7312
|
-
if (
|
|
7313
|
-
g && (o = o.slice(), g = !1), this._extractNonGroupLayers(
|
|
7312
|
+
if (d = o[r], d instanceof L.LayerGroup) {
|
|
7313
|
+
g && (o = o.slice(), g = !1), this._extractNonGroupLayers(d, o), f = o.length;
|
|
7314
7314
|
continue;
|
|
7315
7315
|
}
|
|
7316
|
-
this._arraySplice(this._needsClustering,
|
|
7316
|
+
this._arraySplice(this._needsClustering, d), y.removeLayer(d), this.hasLayer(d) && this._needsRemoving.push({ layer: d, latlng: d._latlng }), this.fire("layerremove", { layer: d });
|
|
7317
7317
|
}
|
|
7318
7318
|
return this;
|
|
7319
7319
|
}
|
|
@@ -7321,23 +7321,23 @@ function cl() {
|
|
|
7321
7321
|
this._unspiderfy();
|
|
7322
7322
|
var w = o.slice(), P = f;
|
|
7323
7323
|
for (r = 0; r < P; r++) {
|
|
7324
|
-
if (
|
|
7325
|
-
this._extractNonGroupLayers(
|
|
7324
|
+
if (d = w[r], d instanceof L.LayerGroup) {
|
|
7325
|
+
this._extractNonGroupLayers(d, w), P = w.length;
|
|
7326
7326
|
continue;
|
|
7327
7327
|
}
|
|
7328
|
-
this._unspiderfyLayer(
|
|
7328
|
+
this._unspiderfyLayer(d);
|
|
7329
7329
|
}
|
|
7330
7330
|
}
|
|
7331
7331
|
for (r = 0; r < f; r++) {
|
|
7332
|
-
if (
|
|
7333
|
-
g && (o = o.slice(), g = !1), this._extractNonGroupLayers(
|
|
7332
|
+
if (d = o[r], d instanceof L.LayerGroup) {
|
|
7333
|
+
g && (o = o.slice(), g = !1), this._extractNonGroupLayers(d, o), f = o.length;
|
|
7334
7334
|
continue;
|
|
7335
7335
|
}
|
|
7336
|
-
if (!
|
|
7337
|
-
y.removeLayer(
|
|
7336
|
+
if (!d.__parent) {
|
|
7337
|
+
y.removeLayer(d), this.fire("layerremove", { layer: d });
|
|
7338
7338
|
continue;
|
|
7339
7339
|
}
|
|
7340
|
-
this._removeLayer(
|
|
7340
|
+
this._removeLayer(d, !0, !0), this.fire("layerremove", { layer: d }), m.hasLayer(d) && (m.removeLayer(d), d.clusterShow && d.clusterShow());
|
|
7341
7341
|
}
|
|
7342
7342
|
return this._topClusterLevel._recalculateBounds(), this._refreshClustersIcons(), this._topClusterLevel._recursivelyAddChildrenToMap(null, this._zoom, this._currentShownBounds), this;
|
|
7343
7343
|
},
|
|
@@ -7357,14 +7357,14 @@ function cl() {
|
|
|
7357
7357
|
},
|
|
7358
7358
|
//Overrides LayerGroup.eachLayer
|
|
7359
7359
|
eachLayer: function(o, r) {
|
|
7360
|
-
var
|
|
7361
|
-
for (this._topClusterLevel && this._topClusterLevel.getAllChildMarkers(
|
|
7360
|
+
var d = this._needsClustering.slice(), f = this._needsRemoving, m, y, g;
|
|
7361
|
+
for (this._topClusterLevel && this._topClusterLevel.getAllChildMarkers(d), y = d.length - 1; y >= 0; y--) {
|
|
7362
7362
|
for (m = !0, g = f.length - 1; g >= 0; g--)
|
|
7363
|
-
if (f[g].layer ===
|
|
7363
|
+
if (f[g].layer === d[y]) {
|
|
7364
7364
|
m = !1;
|
|
7365
7365
|
break;
|
|
7366
7366
|
}
|
|
7367
|
-
m && o.call(r,
|
|
7367
|
+
m && o.call(r, d[y]);
|
|
7368
7368
|
}
|
|
7369
7369
|
this._nonPointGroup.eachLayer(o, r);
|
|
7370
7370
|
},
|
|
@@ -7378,44 +7378,44 @@ function cl() {
|
|
|
7378
7378
|
//Overrides LayerGroup.getLayer, WARNING: Really bad performance
|
|
7379
7379
|
getLayer: function(o) {
|
|
7380
7380
|
var r = null;
|
|
7381
|
-
return o = parseInt(o, 10), this.eachLayer(function(
|
|
7382
|
-
L.stamp(
|
|
7381
|
+
return o = parseInt(o, 10), this.eachLayer(function(d) {
|
|
7382
|
+
L.stamp(d) === o && (r = d);
|
|
7383
7383
|
}), r;
|
|
7384
7384
|
},
|
|
7385
7385
|
//Returns true if the given layer is in this MarkerClusterGroup
|
|
7386
7386
|
hasLayer: function(o) {
|
|
7387
7387
|
if (!o)
|
|
7388
7388
|
return !1;
|
|
7389
|
-
var r,
|
|
7390
|
-
for (r =
|
|
7391
|
-
if (
|
|
7389
|
+
var r, d = this._needsClustering;
|
|
7390
|
+
for (r = d.length - 1; r >= 0; r--)
|
|
7391
|
+
if (d[r] === o)
|
|
7392
7392
|
return !0;
|
|
7393
|
-
for (
|
|
7394
|
-
if (
|
|
7393
|
+
for (d = this._needsRemoving, r = d.length - 1; r >= 0; r--)
|
|
7394
|
+
if (d[r].layer === o)
|
|
7395
7395
|
return !1;
|
|
7396
7396
|
return !!(o.__parent && o.__parent._group === this) || this._nonPointGroup.hasLayer(o);
|
|
7397
7397
|
},
|
|
7398
7398
|
//Zoom down to show the given layer (spiderfying if necessary) then calls the callback
|
|
7399
7399
|
zoomToShowLayer: function(o, r) {
|
|
7400
|
-
var
|
|
7400
|
+
var d = this._map;
|
|
7401
7401
|
typeof r != "function" && (r = function() {
|
|
7402
7402
|
});
|
|
7403
7403
|
var f = function() {
|
|
7404
|
-
(
|
|
7404
|
+
(d.hasLayer(o) || d.hasLayer(o.__parent)) && !this._inZoomAnimation && (this._map.off("moveend", f, this), this.off("animationend", f, this), d.hasLayer(o) ? r() : o.__parent._icon && (this.once("spiderfied", r, this), o.__parent.spiderfy()));
|
|
7405
7405
|
};
|
|
7406
7406
|
o._icon && this._map.getBounds().contains(o.getLatLng()) ? r() : o.__parent._zoom < Math.round(this._map._zoom) ? (this._map.on("moveend", f, this), this._map.panTo(o.getLatLng())) : (this._map.on("moveend", f, this), this.on("animationend", f, this), o.__parent.zoomToBounds());
|
|
7407
7407
|
},
|
|
7408
7408
|
//Overrides FeatureGroup.onAdd
|
|
7409
7409
|
onAdd: function(o) {
|
|
7410
7410
|
this._map = o;
|
|
7411
|
-
var r,
|
|
7411
|
+
var r, d, f;
|
|
7412
7412
|
if (!isFinite(this._map.getMaxZoom()))
|
|
7413
7413
|
throw "Map has no maxZoom specified";
|
|
7414
|
-
for (this._featureGroup.addTo(o), this._nonPointGroup.addTo(o), this._gridClusters || this._generateInitialClusters(), this._maxLat = o.options.crs.projection.MAX_LATITUDE, r = 0,
|
|
7414
|
+
for (this._featureGroup.addTo(o), this._nonPointGroup.addTo(o), this._gridClusters || this._generateInitialClusters(), this._maxLat = o.options.crs.projection.MAX_LATITUDE, r = 0, d = this._needsRemoving.length; r < d; r++)
|
|
7415
7415
|
f = this._needsRemoving[r], f.newlatlng = f.layer._latlng, f.layer._latlng = f.latlng;
|
|
7416
|
-
for (r = 0,
|
|
7416
|
+
for (r = 0, d = this._needsRemoving.length; r < d; r++)
|
|
7417
7417
|
f = this._needsRemoving[r], this._removeLayer(f.layer, !0), f.layer._latlng = f.newlatlng;
|
|
7418
|
-
this._needsRemoving = [], this._zoom = Math.round(this._map._zoom), this._currentShownBounds = this._getExpandedVisibleBounds(), this._map.on("zoomend", this._zoomEnd, this), this._map.on("moveend", this._moveEnd, this), this._spiderfierOnAdd && this._spiderfierOnAdd(), this._bindEvents(),
|
|
7418
|
+
this._needsRemoving = [], this._zoom = Math.round(this._map._zoom), this._currentShownBounds = this._getExpandedVisibleBounds(), this._map.on("zoomend", this._zoomEnd, this), this._map.on("moveend", this._moveEnd, this), this._spiderfierOnAdd && this._spiderfierOnAdd(), this._bindEvents(), d = this._needsClustering, this._needsClustering = [], this.addLayers(d, !0);
|
|
7419
7419
|
},
|
|
7420
7420
|
//Overrides FeatureGroup.onRemove
|
|
7421
7421
|
onRemove: function(o) {
|
|
@@ -7428,9 +7428,9 @@ function cl() {
|
|
|
7428
7428
|
},
|
|
7429
7429
|
//Remove the given object from the given array
|
|
7430
7430
|
_arraySplice: function(o, r) {
|
|
7431
|
-
for (var
|
|
7432
|
-
if (o[
|
|
7433
|
-
return o.splice(
|
|
7431
|
+
for (var d = o.length - 1; d >= 0; d--)
|
|
7432
|
+
if (o[d] === r)
|
|
7433
|
+
return o.splice(d, 1), !0;
|
|
7434
7434
|
},
|
|
7435
7435
|
/**
|
|
7436
7436
|
* Removes a marker from all _gridUnclustered zoom levels, starting at the supplied zoom.
|
|
@@ -7439,7 +7439,7 @@ function cl() {
|
|
|
7439
7439
|
* @private
|
|
7440
7440
|
*/
|
|
7441
7441
|
_removeFromGridUnclustered: function(o, r) {
|
|
7442
|
-
for (var
|
|
7442
|
+
for (var d = this._map, f = this._gridUnclustered, m = Math.floor(this._map.getMinZoom()); r >= m && f[r].removeObject(o, d.project(o.getLatLng(), r)); r--)
|
|
7443
7443
|
;
|
|
7444
7444
|
},
|
|
7445
7445
|
_childMarkerDragStart: function(o) {
|
|
@@ -7451,8 +7451,8 @@ function cl() {
|
|
|
7451
7451
|
this._moveChild(o.target, o.oldLatLng, o.latlng), r && o.target.openPopup();
|
|
7452
7452
|
}
|
|
7453
7453
|
},
|
|
7454
|
-
_moveChild: function(o, r,
|
|
7455
|
-
o._latlng = r, this.removeLayer(o), o._latlng =
|
|
7454
|
+
_moveChild: function(o, r, d) {
|
|
7455
|
+
o._latlng = r, this.removeLayer(o), o._latlng = d, this.addLayer(o);
|
|
7456
7456
|
},
|
|
7457
7457
|
_childMarkerDragEnd: function(o) {
|
|
7458
7458
|
var r = o.target.__dragStart;
|
|
@@ -7460,12 +7460,12 @@ function cl() {
|
|
|
7460
7460
|
},
|
|
7461
7461
|
//Internal function for removing a marker from everything.
|
|
7462
7462
|
//dontUpdateMap: set to true if you will handle updating the map manually (for bulk functions)
|
|
7463
|
-
_removeLayer: function(o, r,
|
|
7463
|
+
_removeLayer: function(o, r, d) {
|
|
7464
7464
|
var f = this._gridClusters, m = this._gridUnclustered, y = this._featureGroup, g = this._map, w = Math.floor(this._map.getMinZoom());
|
|
7465
7465
|
r && this._removeFromGridUnclustered(o, this._maxZoom);
|
|
7466
7466
|
var P = o.__parent, S = P._markers, x;
|
|
7467
7467
|
for (this._arraySplice(S, o); P && (P._childCount--, P._boundsNeedUpdate = !0, !(P._zoom < w)); )
|
|
7468
|
-
r && P._childCount <= 1 ? (x = P._markers[0] === o ? P._markers[1] : P._markers[0], f[P._zoom].removeObject(P, g.project(P._cLatLng, P._zoom)), m[P._zoom].addObject(x, g.project(x.getLatLng(), P._zoom)), this._arraySplice(P.__parent._childClusters, P), P.__parent._markers.push(x), x.__parent = P.__parent, P._icon && (y.removeLayer(P),
|
|
7468
|
+
r && P._childCount <= 1 ? (x = P._markers[0] === o ? P._markers[1] : P._markers[0], f[P._zoom].removeObject(P, g.project(P._cLatLng, P._zoom)), m[P._zoom].addObject(x, g.project(x.getLatLng(), P._zoom)), this._arraySplice(P.__parent._childClusters, P), P.__parent._markers.push(x), x.__parent = P.__parent, P._icon && (y.removeLayer(P), d || y.addLayer(x))) : P._iconNeedsUpdate = !0, P = P.__parent;
|
|
7469
7469
|
delete o.__parent;
|
|
7470
7470
|
},
|
|
7471
7471
|
_isOrIsParent: function(o, r) {
|
|
@@ -7477,13 +7477,13 @@ function cl() {
|
|
|
7477
7477
|
return !1;
|
|
7478
7478
|
},
|
|
7479
7479
|
//Override L.Evented.fire
|
|
7480
|
-
fire: function(o, r,
|
|
7480
|
+
fire: function(o, r, d) {
|
|
7481
7481
|
if (r && r.layer instanceof L.MarkerCluster) {
|
|
7482
7482
|
if (r.originalEvent && this._isOrIsParent(r.layer._icon, r.originalEvent.relatedTarget))
|
|
7483
7483
|
return;
|
|
7484
7484
|
o = "cluster" + o;
|
|
7485
7485
|
}
|
|
7486
|
-
L.FeatureGroup.prototype.fire.call(this, o, r,
|
|
7486
|
+
L.FeatureGroup.prototype.fire.call(this, o, r, d);
|
|
7487
7487
|
},
|
|
7488
7488
|
//Override L.Evented.listens
|
|
7489
7489
|
listens: function(o, r) {
|
|
@@ -7491,19 +7491,19 @@ function cl() {
|
|
|
7491
7491
|
},
|
|
7492
7492
|
//Default functionality
|
|
7493
7493
|
_defaultIconCreateFunction: function(o) {
|
|
7494
|
-
var r = o.getChildCount(),
|
|
7495
|
-
return r < 10 ?
|
|
7494
|
+
var r = o.getChildCount(), d = " marker-cluster-";
|
|
7495
|
+
return r < 10 ? d += "small" : r < 100 ? d += "medium" : d += "large", new L.DivIcon({ html: "<div><span>" + r + "</span></div>", className: "marker-cluster" + d, iconSize: new L.Point(40, 40) });
|
|
7496
7496
|
},
|
|
7497
7497
|
_bindEvents: function() {
|
|
7498
|
-
var o = this._map, r = this.options.spiderfyOnMaxZoom,
|
|
7499
|
-
(r || f || m) && this.on("clusterclick clusterkeypress", this._zoomOrSpiderfy, this),
|
|
7498
|
+
var o = this._map, r = this.options.spiderfyOnMaxZoom, d = this.options.showCoverageOnHover, f = this.options.zoomToBoundsOnClick, m = this.options.spiderfyOnEveryZoom;
|
|
7499
|
+
(r || f || m) && this.on("clusterclick clusterkeypress", this._zoomOrSpiderfy, this), d && (this.on("clustermouseover", this._showCoverage, this), this.on("clustermouseout", this._hideCoverage, this), o.on("zoomend", this._hideCoverage, this));
|
|
7500
7500
|
},
|
|
7501
7501
|
_zoomOrSpiderfy: function(o) {
|
|
7502
|
-
var r = o.layer,
|
|
7502
|
+
var r = o.layer, d = r;
|
|
7503
7503
|
if (!(o.type === "clusterkeypress" && o.originalEvent && o.originalEvent.keyCode !== 13)) {
|
|
7504
|
-
for (;
|
|
7505
|
-
|
|
7506
|
-
|
|
7504
|
+
for (; d._childClusters.length === 1; )
|
|
7505
|
+
d = d._childClusters[0];
|
|
7506
|
+
d._zoom === this._maxZoom && d._childCount === r._childCount && this.options.spiderfyOnMaxZoom ? r.spiderfy() : this.options.zoomToBoundsOnClick && r.zoomToBounds(), this.options.spiderfyOnEveryZoom && r.spiderfy(), o.originalEvent && o.originalEvent.keyCode === 13 && this._map._container.focus();
|
|
7507
7507
|
}
|
|
7508
7508
|
},
|
|
7509
7509
|
_showCoverage: function(o) {
|
|
@@ -7514,8 +7514,8 @@ function cl() {
|
|
|
7514
7514
|
this._shownPolygon && (this._map.removeLayer(this._shownPolygon), this._shownPolygon = null);
|
|
7515
7515
|
},
|
|
7516
7516
|
_unbindEvents: function() {
|
|
7517
|
-
var o = this.options.spiderfyOnMaxZoom, r = this.options.showCoverageOnHover,
|
|
7518
|
-
(o ||
|
|
7517
|
+
var o = this.options.spiderfyOnMaxZoom, r = this.options.showCoverageOnHover, d = this.options.zoomToBoundsOnClick, f = this.options.spiderfyOnEveryZoom, m = this._map;
|
|
7518
|
+
(o || d || f) && this.off("clusterclick clusterkeypress", this._zoomOrSpiderfy, this), r && (this.off("clustermouseover", this._showCoverage, this), this.off("clustermouseout", this._hideCoverage, this), m.off("zoomend", this._hideCoverage, this));
|
|
7519
7519
|
},
|
|
7520
7520
|
_zoomEnd: function() {
|
|
7521
7521
|
this._map && (this._mergeSplitClusters(), this._zoom = Math.round(this._map._zoom), this._currentShownBounds = this._getExpandedVisibleBounds());
|
|
@@ -7527,9 +7527,9 @@ function cl() {
|
|
|
7527
7527
|
}
|
|
7528
7528
|
},
|
|
7529
7529
|
_generateInitialClusters: function() {
|
|
7530
|
-
var o = Math.ceil(this._map.getMaxZoom()), r = Math.floor(this._map.getMinZoom()),
|
|
7531
|
-
typeof
|
|
7532
|
-
return
|
|
7530
|
+
var o = Math.ceil(this._map.getMaxZoom()), r = Math.floor(this._map.getMinZoom()), d = this.options.maxClusterRadius, f = d;
|
|
7531
|
+
typeof d != "function" && (f = function() {
|
|
7532
|
+
return d;
|
|
7533
7533
|
}), this.options.disableClusteringAtZoom !== null && (o = this.options.disableClusteringAtZoom - 1), this._maxZoom = o, this._gridClusters = {}, this._gridUnclustered = {};
|
|
7534
7534
|
for (var m = o; m >= r; m--)
|
|
7535
7535
|
this._gridClusters[m] = new L.DistanceGrid(f(m)), this._gridUnclustered[m] = new L.DistanceGrid(f(m));
|
|
@@ -7537,10 +7537,10 @@ function cl() {
|
|
|
7537
7537
|
},
|
|
7538
7538
|
//Zoom: Zoom to start adding at (Pass this._maxZoom to start at the bottom)
|
|
7539
7539
|
_addLayer: function(o, r) {
|
|
7540
|
-
var
|
|
7540
|
+
var d = this._gridClusters, f = this._gridUnclustered, m = Math.floor(this._map.getMinZoom()), y, g;
|
|
7541
7541
|
for (this.options.singleMarkerMode && this._overrideMarkerIcon(o), o.on(this._childMarkerEventHandlers, this); r >= m; r--) {
|
|
7542
7542
|
y = this._map.project(o.getLatLng(), r);
|
|
7543
|
-
var w =
|
|
7543
|
+
var w = d[r].getNearObject(y);
|
|
7544
7544
|
if (w) {
|
|
7545
7545
|
w._addChild(o), o.__parent = w;
|
|
7546
7546
|
return;
|
|
@@ -7549,10 +7549,10 @@ function cl() {
|
|
|
7549
7549
|
var P = w.__parent;
|
|
7550
7550
|
P && this._removeLayer(w, !1);
|
|
7551
7551
|
var S = new this._markerCluster(this, r, w, o);
|
|
7552
|
-
|
|
7552
|
+
d[r].addObject(S, this._map.project(S._cLatLng, r)), w.__parent = S, o.__parent = S;
|
|
7553
7553
|
var x = S;
|
|
7554
7554
|
for (g = r - 1; g > P._zoom; g--)
|
|
7555
|
-
x = new this._markerCluster(this, g, x),
|
|
7555
|
+
x = new this._markerCluster(this, g, x), d[g].addObject(x, this._map.project(w.getLatLng(), g));
|
|
7556
7556
|
P._addChild(x), this._removeFromGridUnclustered(w, r);
|
|
7557
7557
|
return;
|
|
7558
7558
|
}
|
|
@@ -7612,8 +7612,8 @@ function cl() {
|
|
|
7612
7612
|
this._featureGroup.addLayer(o);
|
|
7613
7613
|
else if (r._childCount === 2) {
|
|
7614
7614
|
r._addToMap();
|
|
7615
|
-
var
|
|
7616
|
-
this._featureGroup.removeLayer(
|
|
7615
|
+
var d = r.getAllChildMarkers();
|
|
7616
|
+
this._featureGroup.removeLayer(d[0]), this._featureGroup.removeLayer(d[1]);
|
|
7617
7617
|
} else
|
|
7618
7618
|
r._updateIcon();
|
|
7619
7619
|
},
|
|
@@ -7625,9 +7625,9 @@ function cl() {
|
|
|
7625
7625
|
* @private
|
|
7626
7626
|
*/
|
|
7627
7627
|
_extractNonGroupLayers: function(o, r) {
|
|
7628
|
-
var
|
|
7629
|
-
for (r = r || []; f <
|
|
7630
|
-
if (m =
|
|
7628
|
+
var d = o.getLayers(), f = 0, m;
|
|
7629
|
+
for (r = r || []; f < d.length; f++) {
|
|
7630
|
+
if (m = d[f], m instanceof L.LayerGroup) {
|
|
7631
7631
|
this._extractNonGroupLayers(m, r);
|
|
7632
7632
|
continue;
|
|
7633
7633
|
}
|
|
@@ -7676,17 +7676,17 @@ function cl() {
|
|
|
7676
7676
|
this._map._mapPane.className += " leaflet-cluster-anim", this._inZoomAnimation++;
|
|
7677
7677
|
},
|
|
7678
7678
|
_animationZoomIn: function(o, r) {
|
|
7679
|
-
var
|
|
7680
|
-
this._ignoreMove = !0, this._topClusterLevel._recursively(
|
|
7679
|
+
var d = this._getExpandedVisibleBounds(), f = this._featureGroup, m = Math.floor(this._map.getMinZoom()), y;
|
|
7680
|
+
this._ignoreMove = !0, this._topClusterLevel._recursively(d, o, m, function(g) {
|
|
7681
7681
|
var w = g._latlng, P = g._markers, S;
|
|
7682
|
-
for (
|
|
7683
|
-
S = P[y],
|
|
7684
|
-
}), this._forceLayout(), this._topClusterLevel._recursivelyBecomeVisible(
|
|
7682
|
+
for (d.contains(w) || (w = null), g._isSingleParent() && o + 1 === r ? (f.removeLayer(g), g._recursivelyAddChildrenToMap(null, r, d)) : (g.clusterHide(), g._recursivelyAddChildrenToMap(w, r, d)), y = P.length - 1; y >= 0; y--)
|
|
7683
|
+
S = P[y], d.contains(S._latlng) || f.removeLayer(S);
|
|
7684
|
+
}), this._forceLayout(), this._topClusterLevel._recursivelyBecomeVisible(d, r), f.eachLayer(function(g) {
|
|
7685
7685
|
!(g instanceof L.MarkerCluster) && g._icon && g.clusterShow();
|
|
7686
|
-
}), this._topClusterLevel._recursively(
|
|
7686
|
+
}), this._topClusterLevel._recursively(d, o, r, function(g) {
|
|
7687
7687
|
g._recursivelyRestoreChildPositions(r);
|
|
7688
7688
|
}), this._ignoreMove = !1, this._enqueue(function() {
|
|
7689
|
-
this._topClusterLevel._recursively(
|
|
7689
|
+
this._topClusterLevel._recursively(d, o, m, function(g) {
|
|
7690
7690
|
f.removeLayer(g), g.clusterShow();
|
|
7691
7691
|
}), this._animationEnd();
|
|
7692
7692
|
});
|
|
@@ -7695,23 +7695,23 @@ function cl() {
|
|
|
7695
7695
|
this._animationZoomOutSingle(this._topClusterLevel, o - 1, r), this._topClusterLevel._recursivelyAddChildrenToMap(null, r, this._getExpandedVisibleBounds()), this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds, Math.floor(this._map.getMinZoom()), o, this._getExpandedVisibleBounds());
|
|
7696
7696
|
},
|
|
7697
7697
|
_animationAddLayer: function(o, r) {
|
|
7698
|
-
var
|
|
7698
|
+
var d = this, f = this._featureGroup;
|
|
7699
7699
|
f.addLayer(o), r !== o && (r._childCount > 2 ? (r._updateIcon(), this._forceLayout(), this._animationStart(), o._setPos(this._map.latLngToLayerPoint(r.getLatLng())), o.clusterHide(), this._enqueue(function() {
|
|
7700
|
-
f.removeLayer(o), o.clusterShow(),
|
|
7701
|
-
})) : (this._forceLayout(),
|
|
7700
|
+
f.removeLayer(o), o.clusterShow(), d._animationEnd();
|
|
7701
|
+
})) : (this._forceLayout(), d._animationStart(), d._animationZoomOutSingle(r, this._map.getMaxZoom(), this._zoom)));
|
|
7702
7702
|
}
|
|
7703
7703
|
},
|
|
7704
7704
|
// Private methods for animated versions.
|
|
7705
|
-
_animationZoomOutSingle: function(o, r,
|
|
7705
|
+
_animationZoomOutSingle: function(o, r, d) {
|
|
7706
7706
|
var f = this._getExpandedVisibleBounds(), m = Math.floor(this._map.getMinZoom());
|
|
7707
|
-
o._recursivelyAnimateChildrenInAndAddSelfToMap(f, m, r + 1,
|
|
7707
|
+
o._recursivelyAnimateChildrenInAndAddSelfToMap(f, m, r + 1, d);
|
|
7708
7708
|
var y = this;
|
|
7709
|
-
this._forceLayout(), o._recursivelyBecomeVisible(f,
|
|
7709
|
+
this._forceLayout(), o._recursivelyBecomeVisible(f, d), this._enqueue(function() {
|
|
7710
7710
|
if (o._childCount === 1) {
|
|
7711
7711
|
var g = o._markers[0];
|
|
7712
7712
|
this._ignoreMove = !0, g.setLatLng(g.getLatLng()), this._ignoreMove = !1, g.clusterShow && g.clusterShow();
|
|
7713
7713
|
} else
|
|
7714
|
-
o._recursively(f,
|
|
7714
|
+
o._recursively(f, d, m, function(w) {
|
|
7715
7715
|
w._recursivelyRemoveChildrenFromMap(f, m, r + 1);
|
|
7716
7716
|
});
|
|
7717
7717
|
y._animationEnd();
|
|
@@ -7730,18 +7730,18 @@ function cl() {
|
|
|
7730
7730
|
};
|
|
7731
7731
|
var v = L.MarkerCluster = L.Marker.extend({
|
|
7732
7732
|
options: L.Icon.prototype.options,
|
|
7733
|
-
initialize: function(o, r,
|
|
7733
|
+
initialize: function(o, r, d, f) {
|
|
7734
7734
|
L.Marker.prototype.initialize.call(
|
|
7735
7735
|
this,
|
|
7736
|
-
|
|
7736
|
+
d ? d._cLatLng || d.getLatLng() : new L.LatLng(0, 0),
|
|
7737
7737
|
{ icon: this, pane: o.options.clusterPane }
|
|
7738
|
-
), this._group = o, this._zoom = r, this._markers = [], this._childClusters = [], this._childCount = 0, this._iconNeedsUpdate = !0, this._boundsNeedUpdate = !0, this._bounds = new L.LatLngBounds(),
|
|
7738
|
+
), this._group = o, this._zoom = r, this._markers = [], this._childClusters = [], this._childCount = 0, this._iconNeedsUpdate = !0, this._boundsNeedUpdate = !0, this._bounds = new L.LatLngBounds(), d && this._addChild(d), f && this._addChild(f);
|
|
7739
7739
|
},
|
|
7740
7740
|
//Recursively retrieve all child markers of this cluster
|
|
7741
7741
|
getAllChildMarkers: function(o, r) {
|
|
7742
7742
|
o = o || [];
|
|
7743
|
-
for (var
|
|
7744
|
-
this._childClusters[
|
|
7743
|
+
for (var d = this._childClusters.length - 1; d >= 0; d--)
|
|
7744
|
+
this._childClusters[d].getAllChildMarkers(o, r);
|
|
7745
7745
|
for (var f = this._markers.length - 1; f >= 0; f--)
|
|
7746
7746
|
r && this._markers[f].__dragStart || o.push(this._markers[f]);
|
|
7747
7747
|
return o;
|
|
@@ -7752,7 +7752,7 @@ function cl() {
|
|
|
7752
7752
|
},
|
|
7753
7753
|
//Zoom to the minimum of showing all of the child markers, or the extents of this cluster
|
|
7754
7754
|
zoomToBounds: function(o) {
|
|
7755
|
-
for (var r = this._childClusters.slice(),
|
|
7755
|
+
for (var r = this._childClusters.slice(), d = this._group._map, f = d.getBoundsZoom(this._bounds), m = this._zoom + 1, y = d.getZoom(), g; r.length > 0 && f > m; ) {
|
|
7756
7756
|
m++;
|
|
7757
7757
|
var w = [];
|
|
7758
7758
|
for (g = 0; g < r.length; g++)
|
|
@@ -7797,24 +7797,24 @@ function cl() {
|
|
|
7797
7797
|
o._southWest && (o._southWest.lat = 1 / 0, o._southWest.lng = 1 / 0), o._northEast && (o._northEast.lat = -1 / 0, o._northEast.lng = -1 / 0);
|
|
7798
7798
|
},
|
|
7799
7799
|
_recalculateBounds: function() {
|
|
7800
|
-
var o = this._markers, r = this._childClusters,
|
|
7800
|
+
var o = this._markers, r = this._childClusters, d = 0, f = 0, m = this._childCount, y, g, w, P;
|
|
7801
7801
|
if (m !== 0) {
|
|
7802
7802
|
for (this._resetBounds(), y = 0; y < o.length; y++)
|
|
7803
|
-
w = o[y]._latlng, this._bounds.extend(w),
|
|
7803
|
+
w = o[y]._latlng, this._bounds.extend(w), d += w.lat, f += w.lng;
|
|
7804
7804
|
for (y = 0; y < r.length; y++)
|
|
7805
|
-
g = r[y], g._boundsNeedUpdate && g._recalculateBounds(), this._bounds.extend(g._bounds), w = g._wLatLng, P = g._childCount,
|
|
7806
|
-
this._latlng = this._wLatLng = new L.LatLng(
|
|
7805
|
+
g = r[y], g._boundsNeedUpdate && g._recalculateBounds(), this._bounds.extend(g._bounds), w = g._wLatLng, P = g._childCount, d += w.lat * P, f += w.lng * P;
|
|
7806
|
+
this._latlng = this._wLatLng = new L.LatLng(d / m, f / m), this._boundsNeedUpdate = !1;
|
|
7807
7807
|
}
|
|
7808
7808
|
},
|
|
7809
7809
|
//Set our markers position as given and add it to the map
|
|
7810
7810
|
_addToMap: function(o) {
|
|
7811
7811
|
o && (this._backupLatlng = this._latlng, this.setLatLng(o)), this._group._featureGroup.addLayer(this);
|
|
7812
7812
|
},
|
|
7813
|
-
_recursivelyAnimateChildrenIn: function(o, r,
|
|
7813
|
+
_recursivelyAnimateChildrenIn: function(o, r, d) {
|
|
7814
7814
|
this._recursively(
|
|
7815
7815
|
o,
|
|
7816
7816
|
this._group._map.getMinZoom(),
|
|
7817
|
-
|
|
7817
|
+
d - 1,
|
|
7818
7818
|
function(f) {
|
|
7819
7819
|
var m = f._markers, y, g;
|
|
7820
7820
|
for (y = m.length - 1; y >= 0; y--)
|
|
@@ -7827,31 +7827,31 @@ function cl() {
|
|
|
7827
7827
|
}
|
|
7828
7828
|
);
|
|
7829
7829
|
},
|
|
7830
|
-
_recursivelyAnimateChildrenInAndAddSelfToMap: function(o, r,
|
|
7830
|
+
_recursivelyAnimateChildrenInAndAddSelfToMap: function(o, r, d, f) {
|
|
7831
7831
|
this._recursively(
|
|
7832
7832
|
o,
|
|
7833
7833
|
f,
|
|
7834
7834
|
r,
|
|
7835
7835
|
function(m) {
|
|
7836
|
-
m._recursivelyAnimateChildrenIn(o, m._group._map.latLngToLayerPoint(m.getLatLng()).round(),
|
|
7836
|
+
m._recursivelyAnimateChildrenIn(o, m._group._map.latLngToLayerPoint(m.getLatLng()).round(), d), m._isSingleParent() && d - 1 === f ? (m.clusterShow(), m._recursivelyRemoveChildrenFromMap(o, r, d)) : m.clusterHide(), m._addToMap();
|
|
7837
7837
|
}
|
|
7838
7838
|
);
|
|
7839
7839
|
},
|
|
7840
7840
|
_recursivelyBecomeVisible: function(o, r) {
|
|
7841
|
-
this._recursively(o, this._group._map.getMinZoom(), r, null, function(
|
|
7842
|
-
|
|
7841
|
+
this._recursively(o, this._group._map.getMinZoom(), r, null, function(d) {
|
|
7842
|
+
d.clusterShow();
|
|
7843
7843
|
});
|
|
7844
7844
|
},
|
|
7845
|
-
_recursivelyAddChildrenToMap: function(o, r,
|
|
7845
|
+
_recursivelyAddChildrenToMap: function(o, r, d) {
|
|
7846
7846
|
this._recursively(
|
|
7847
|
-
|
|
7847
|
+
d,
|
|
7848
7848
|
this._group._map.getMinZoom() - 1,
|
|
7849
7849
|
r,
|
|
7850
7850
|
function(f) {
|
|
7851
7851
|
if (r !== f._zoom)
|
|
7852
7852
|
for (var m = f._markers.length - 1; m >= 0; m--) {
|
|
7853
7853
|
var y = f._markers[m];
|
|
7854
|
-
|
|
7854
|
+
d.contains(y._latlng) && (o && (y._backupLatlng = y.getLatLng(), y.setLatLng(o), y.clusterHide && y.clusterHide()), f._group._featureGroup.addLayer(y));
|
|
7855
7855
|
}
|
|
7856
7856
|
},
|
|
7857
7857
|
function(f) {
|
|
@@ -7861,8 +7861,8 @@ function cl() {
|
|
|
7861
7861
|
},
|
|
7862
7862
|
_recursivelyRestoreChildPositions: function(o) {
|
|
7863
7863
|
for (var r = this._markers.length - 1; r >= 0; r--) {
|
|
7864
|
-
var
|
|
7865
|
-
|
|
7864
|
+
var d = this._markers[r];
|
|
7865
|
+
d._backupLatlng && (d.setLatLng(d._backupLatlng), delete d._backupLatlng);
|
|
7866
7866
|
}
|
|
7867
7867
|
if (o - 1 === this._zoom)
|
|
7868
7868
|
for (var f = this._childClusters.length - 1; f >= 0; f--)
|
|
@@ -7875,12 +7875,12 @@ function cl() {
|
|
|
7875
7875
|
this._backupLatlng && (this.setLatLng(this._backupLatlng), delete this._backupLatlng);
|
|
7876
7876
|
},
|
|
7877
7877
|
//exceptBounds: If set, don't remove any markers/clusters in it
|
|
7878
|
-
_recursivelyRemoveChildrenFromMap: function(o, r,
|
|
7878
|
+
_recursivelyRemoveChildrenFromMap: function(o, r, d, f) {
|
|
7879
7879
|
var m, y;
|
|
7880
7880
|
this._recursively(
|
|
7881
7881
|
o,
|
|
7882
7882
|
r - 1,
|
|
7883
|
-
|
|
7883
|
+
d - 1,
|
|
7884
7884
|
function(g) {
|
|
7885
7885
|
for (y = g._markers.length - 1; y >= 0; y--)
|
|
7886
7886
|
m = g._markers[y], (!f || !f.contains(m._latlng)) && (g._group._featureGroup.removeLayer(m), m.clusterShow && m.clusterShow());
|
|
@@ -7897,11 +7897,11 @@ function cl() {
|
|
|
7897
7897
|
// zoomLevelToStop: zoom level to stop running functions (inclusive)
|
|
7898
7898
|
// runAtEveryLevel: function that takes an L.MarkerCluster as an argument that should be applied on every level
|
|
7899
7899
|
// runAtBottomLevel: function that takes an L.MarkerCluster as an argument that should be applied at only the bottom level
|
|
7900
|
-
_recursively: function(o, r,
|
|
7900
|
+
_recursively: function(o, r, d, f, m) {
|
|
7901
7901
|
var y = this._childClusters, g = this._zoom, w, P;
|
|
7902
|
-
if (r <= g && (f && f(this), m && g ===
|
|
7902
|
+
if (r <= g && (f && f(this), m && g === d && m(this)), g < r || g < d)
|
|
7903
7903
|
for (w = y.length - 1; w >= 0; w--)
|
|
7904
|
-
P = y[w], P._boundsNeedUpdate && P._recalculateBounds(), o.intersects(P._bounds) && P._recursively(o, r,
|
|
7904
|
+
P = y[w], P._boundsNeedUpdate && P._recalculateBounds(), o.intersects(P._bounds) && P._recursively(o, r, d, f, m);
|
|
7905
7905
|
},
|
|
7906
7906
|
//Returns true if we are the parent of only one cluster and that cluster is the same as us
|
|
7907
7907
|
_isSingleParent: function() {
|
|
@@ -7920,7 +7920,7 @@ function cl() {
|
|
|
7920
7920
|
this._cellSize = o, this._sqCellSize = o * o, this._grid = {}, this._objectPoint = {};
|
|
7921
7921
|
}, L.DistanceGrid.prototype = {
|
|
7922
7922
|
addObject: function(o, r) {
|
|
7923
|
-
var
|
|
7923
|
+
var d = this._getCoord(r.x), f = this._getCoord(r.y), m = this._grid, y = m[f] = m[f] || {}, g = y[d] = y[d] || [], w = L.Util.stamp(o);
|
|
7924
7924
|
this._objectPoint[w] = r, g.push(o);
|
|
7925
7925
|
},
|
|
7926
7926
|
updateObject: function(o, r) {
|
|
@@ -7928,23 +7928,23 @@ function cl() {
|
|
|
7928
7928
|
},
|
|
7929
7929
|
//Returns true if the object was found
|
|
7930
7930
|
removeObject: function(o, r) {
|
|
7931
|
-
var
|
|
7931
|
+
var d = this._getCoord(r.x), f = this._getCoord(r.y), m = this._grid, y = m[f] = m[f] || {}, g = y[d] = y[d] || [], w, P;
|
|
7932
7932
|
for (delete this._objectPoint[L.Util.stamp(o)], w = 0, P = g.length; w < P; w++)
|
|
7933
7933
|
if (g[w] === o)
|
|
7934
|
-
return g.splice(w, 1), P === 1 && delete y[
|
|
7934
|
+
return g.splice(w, 1), P === 1 && delete y[d], !0;
|
|
7935
7935
|
},
|
|
7936
7936
|
eachObject: function(o, r) {
|
|
7937
|
-
var
|
|
7938
|
-
for (
|
|
7939
|
-
g = S[
|
|
7937
|
+
var d, f, m, y, g, w, P, S = this._grid;
|
|
7938
|
+
for (d in S) {
|
|
7939
|
+
g = S[d];
|
|
7940
7940
|
for (f in g)
|
|
7941
7941
|
for (w = g[f], m = 0, y = w.length; m < y; m++)
|
|
7942
7942
|
P = o.call(r, w[m]), P && (m--, y--);
|
|
7943
7943
|
}
|
|
7944
7944
|
},
|
|
7945
7945
|
getNearObject: function(o) {
|
|
7946
|
-
var r = this._getCoord(o.x),
|
|
7947
|
-
for (f =
|
|
7946
|
+
var r = this._getCoord(o.x), d = this._getCoord(o.y), f, m, y, g, w, P, S, x, H = this._objectPoint, Z = this._sqCellSize, z = null;
|
|
7947
|
+
for (f = d - 1; f <= d + 1; f++)
|
|
7948
7948
|
if (g = this._grid[f], g) {
|
|
7949
7949
|
for (m = r - 1; m <= r + 1; m++)
|
|
7950
7950
|
if (w = g[m], w)
|
|
@@ -7958,8 +7958,8 @@ function cl() {
|
|
|
7958
7958
|
return isFinite(r) ? r : o;
|
|
7959
7959
|
},
|
|
7960
7960
|
_sqDist: function(o, r) {
|
|
7961
|
-
var
|
|
7962
|
-
return
|
|
7961
|
+
var d = r.x - o.x, f = r.y - o.y;
|
|
7962
|
+
return d * d + f * f;
|
|
7963
7963
|
}
|
|
7964
7964
|
}, function() {
|
|
7965
7965
|
L.QuickHull = {
|
|
@@ -7970,8 +7970,8 @@ function cl() {
|
|
|
7970
7970
|
* @returns {Number} an approximate distance measure
|
|
7971
7971
|
*/
|
|
7972
7972
|
getDistant: function(o, r) {
|
|
7973
|
-
var
|
|
7974
|
-
return f * (o.lat - r[0].lat) +
|
|
7973
|
+
var d = r[1].lat - r[0].lat, f = r[0].lng - r[1].lng;
|
|
7974
|
+
return f * (o.lat - r[0].lat) + d * (o.lng - r[0].lng);
|
|
7975
7975
|
},
|
|
7976
7976
|
/*
|
|
7977
7977
|
* @param {Array} baseLine a two-element array of latlng objects
|
|
@@ -7981,13 +7981,13 @@ function cl() {
|
|
|
7981
7981
|
* in consideration for the hull.
|
|
7982
7982
|
*/
|
|
7983
7983
|
findMostDistantPointFromBaseLine: function(o, r) {
|
|
7984
|
-
var
|
|
7984
|
+
var d = 0, f = null, m = [], y, g, w;
|
|
7985
7985
|
for (y = r.length - 1; y >= 0; y--) {
|
|
7986
7986
|
if (g = r[y], w = this.getDistant(g, o), w > 0)
|
|
7987
7987
|
m.push(g);
|
|
7988
7988
|
else
|
|
7989
7989
|
continue;
|
|
7990
|
-
w >
|
|
7990
|
+
w > d && (d = w, f = g);
|
|
7991
7991
|
}
|
|
7992
7992
|
return { maxPoint: f, newPoints: m };
|
|
7993
7993
|
},
|
|
@@ -7999,12 +7999,12 @@ function cl() {
|
|
|
7999
7999
|
* @returns {Array}
|
|
8000
8000
|
*/
|
|
8001
8001
|
buildConvexHull: function(o, r) {
|
|
8002
|
-
var
|
|
8003
|
-
return f.maxPoint ? (
|
|
8002
|
+
var d = [], f = this.findMostDistantPointFromBaseLine(o, r);
|
|
8003
|
+
return f.maxPoint ? (d = d.concat(
|
|
8004
8004
|
this.buildConvexHull([o[0], f.maxPoint], f.newPoints)
|
|
8005
|
-
),
|
|
8005
|
+
), d = d.concat(
|
|
8006
8006
|
this.buildConvexHull([f.maxPoint, o[1]], f.newPoints)
|
|
8007
|
-
),
|
|
8007
|
+
), d) : [o[0]];
|
|
8008
8008
|
},
|
|
8009
8009
|
/*
|
|
8010
8010
|
* Given an array of latlngs, compute a convex hull as an array
|
|
@@ -8014,12 +8014,12 @@ function cl() {
|
|
|
8014
8014
|
* @returns {Array}
|
|
8015
8015
|
*/
|
|
8016
8016
|
getConvexHull: function(o) {
|
|
8017
|
-
var r = !1,
|
|
8017
|
+
var r = !1, d = !1, f = !1, m = !1, y = null, g = null, w = null, P = null, S = null, x = null, H;
|
|
8018
8018
|
for (H = o.length - 1; H >= 0; H--) {
|
|
8019
8019
|
var Z = o[H];
|
|
8020
|
-
(r === !1 || Z.lat > r) && (y = Z, r = Z.lat), (
|
|
8020
|
+
(r === !1 || Z.lat > r) && (y = Z, r = Z.lat), (d === !1 || Z.lat < d) && (g = Z, d = Z.lat), (f === !1 || Z.lng > f) && (w = Z, f = Z.lng), (m === !1 || Z.lng < m) && (P = Z, m = Z.lng);
|
|
8021
8021
|
}
|
|
8022
|
-
|
|
8022
|
+
d !== r ? (x = g, S = y) : (x = P, S = w);
|
|
8023
8023
|
var z = [].concat(
|
|
8024
8024
|
this.buildConvexHull([x, S], o),
|
|
8025
8025
|
this.buildConvexHull([S, x], o)
|
|
@@ -8029,9 +8029,9 @@ function cl() {
|
|
|
8029
8029
|
};
|
|
8030
8030
|
}(), L.MarkerCluster.include({
|
|
8031
8031
|
getConvexHull: function() {
|
|
8032
|
-
var o = this.getAllChildMarkers(), r = [],
|
|
8032
|
+
var o = this.getAllChildMarkers(), r = [], d, f;
|
|
8033
8033
|
for (f = o.length - 1; f >= 0; f--)
|
|
8034
|
-
|
|
8034
|
+
d = o[f].getLatLng(), r.push(d);
|
|
8035
8035
|
return L.QuickHull.getConvexHull(r);
|
|
8036
8036
|
}
|
|
8037
8037
|
}), L.MarkerCluster.include({
|
|
@@ -8048,7 +8048,7 @@ function cl() {
|
|
|
8048
8048
|
// 0 -> always spiral; Infinity -> always circle
|
|
8049
8049
|
spiderfy: function() {
|
|
8050
8050
|
if (!(this._group._spiderfied === this || this._group._inZoomAnimation)) {
|
|
8051
|
-
var o = this.getAllChildMarkers(null, !0), r = this._group,
|
|
8051
|
+
var o = this.getAllChildMarkers(null, !0), r = this._group, d = r._map, f = d.latLngToLayerPoint(this._latlng), m;
|
|
8052
8052
|
this._group._unspiderfy(), this._group._spiderfied = this, this._group.options.spiderfyShapePositions ? m = this._group.options.spiderfyShapePositions(o.length, f) : o.length >= this._circleSpiralSwitchover ? m = this._generatePointsSpiral(o.length, f) : (f.y += 10, m = this._generatePointsCircle(o.length, f)), this._animationSpiderfy(o, m);
|
|
8053
8053
|
}
|
|
8054
8054
|
},
|
|
@@ -8056,21 +8056,21 @@ function cl() {
|
|
|
8056
8056
|
this._group._inZoomAnimation || (this._animationUnspiderfy(o), this._group._spiderfied = null);
|
|
8057
8057
|
},
|
|
8058
8058
|
_generatePointsCircle: function(o, r) {
|
|
8059
|
-
var
|
|
8059
|
+
var d = this._group.options.spiderfyDistanceMultiplier * this._circleFootSeparation * (2 + o), f = d / this._2PI, m = this._2PI / o, y = [], g, w;
|
|
8060
8060
|
for (f = Math.max(f, 35), y.length = o, g = 0; g < o; g++)
|
|
8061
8061
|
w = this._circleStartAngle + g * m, y[g] = new L.Point(r.x + f * Math.cos(w), r.y + f * Math.sin(w))._round();
|
|
8062
8062
|
return y;
|
|
8063
8063
|
},
|
|
8064
8064
|
_generatePointsSpiral: function(o, r) {
|
|
8065
|
-
var
|
|
8065
|
+
var d = this._group.options.spiderfyDistanceMultiplier, f = d * this._spiralLengthStart, m = d * this._spiralFootSeparation, y = d * this._spiralLengthFactor * this._2PI, g = 0, w = [], P;
|
|
8066
8066
|
for (w.length = o, P = o; P >= 0; P--)
|
|
8067
8067
|
P < o && (w[P] = new L.Point(r.x + f * Math.cos(g), r.y + f * Math.sin(g))._round()), g += m / f + P * 5e-4, f += y / g;
|
|
8068
8068
|
return w;
|
|
8069
8069
|
},
|
|
8070
8070
|
_noanimationUnspiderfy: function() {
|
|
8071
|
-
var o = this._group, r = o._map,
|
|
8071
|
+
var o = this._group, r = o._map, d = o._featureGroup, f = this.getAllChildMarkers(null, !0), m, y;
|
|
8072
8072
|
for (o._ignoreMove = !0, this.setOpacity(1), y = f.length - 1; y >= 0; y--)
|
|
8073
|
-
m = f[y],
|
|
8073
|
+
m = f[y], d.removeLayer(m), m._preSpiderfyLatlng && (m.setLatLng(m._preSpiderfyLatlng), delete m._preSpiderfyLatlng), m.setZIndexOffset && m.setZIndexOffset(0), m._spiderLeg && (r.removeLayer(m._spiderLeg), delete m._spiderLeg);
|
|
8074
8074
|
o.fire("unspiderfied", {
|
|
8075
8075
|
cluster: this,
|
|
8076
8076
|
markers: f
|
|
@@ -8078,10 +8078,10 @@ function cl() {
|
|
|
8078
8078
|
}
|
|
8079
8079
|
}), L.MarkerClusterNonAnimated = L.MarkerCluster.extend({
|
|
8080
8080
|
_animationSpiderfy: function(o, r) {
|
|
8081
|
-
var
|
|
8082
|
-
for (
|
|
8081
|
+
var d = this._group, f = d._map, m = d._featureGroup, y = this._group.options.spiderLegPolylineOptions, g, w, P, S;
|
|
8082
|
+
for (d._ignoreMove = !0, g = 0; g < o.length; g++)
|
|
8083
8083
|
S = f.layerPointToLatLng(r[g]), w = o[g], P = new L.Polyline([this._latlng, S], y), f.addLayer(P), w._spiderLeg = P, w._preSpiderfyLatlng = w._latlng, w.setLatLng(S), w.setZIndexOffset && w.setZIndexOffset(1e6), m.addLayer(w);
|
|
8084
|
-
this.setOpacity(0.3),
|
|
8084
|
+
this.setOpacity(0.3), d._ignoreMove = !1, d.fire("spiderfied", {
|
|
8085
8085
|
cluster: this,
|
|
8086
8086
|
markers: o
|
|
8087
8087
|
});
|
|
@@ -8091,29 +8091,29 @@ function cl() {
|
|
|
8091
8091
|
}
|
|
8092
8092
|
}), L.MarkerCluster.include({
|
|
8093
8093
|
_animationSpiderfy: function(o, r) {
|
|
8094
|
-
var
|
|
8094
|
+
var d = this, f = this._group, m = f._map, y = f._featureGroup, g = this._latlng, w = m.latLngToLayerPoint(g), P = L.Path.SVG, S = L.extend({}, this._group.options.spiderLegPolylineOptions), x = S.opacity, H, Z, z, W, ut, st;
|
|
8095
8095
|
for (x === void 0 && (x = L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity), P ? (S.opacity = 0, S.className = (S.className || "") + " leaflet-cluster-spider-leg") : S.opacity = x, f._ignoreMove = !0, H = 0; H < o.length; H++)
|
|
8096
8096
|
Z = o[H], st = m.layerPointToLatLng(r[H]), z = new L.Polyline([g, st], S), m.addLayer(z), Z._spiderLeg = z, P && (W = z._path, ut = W.getTotalLength() + 0.1, W.style.strokeDasharray = ut, W.style.strokeDashoffset = ut), Z.setZIndexOffset && Z.setZIndexOffset(1e6), Z.clusterHide && Z.clusterHide(), y.addLayer(Z), Z._setPos && Z._setPos(w);
|
|
8097
8097
|
for (f._forceLayout(), f._animationStart(), H = o.length - 1; H >= 0; H--)
|
|
8098
8098
|
st = m.layerPointToLatLng(r[H]), Z = o[H], Z._preSpiderfyLatlng = Z._latlng, Z.setLatLng(st), Z.clusterShow && Z.clusterShow(), P && (z = Z._spiderLeg, W = z._path, W.style.strokeDashoffset = 0, z.setStyle({ opacity: x }));
|
|
8099
8099
|
this.setOpacity(0.3), f._ignoreMove = !1, setTimeout(function() {
|
|
8100
8100
|
f._animationEnd(), f.fire("spiderfied", {
|
|
8101
|
-
cluster:
|
|
8101
|
+
cluster: d,
|
|
8102
8102
|
markers: o
|
|
8103
8103
|
});
|
|
8104
8104
|
}, 200);
|
|
8105
8105
|
},
|
|
8106
8106
|
_animationUnspiderfy: function(o) {
|
|
8107
|
-
var r = this,
|
|
8108
|
-
for (
|
|
8107
|
+
var r = this, d = this._group, f = d._map, m = d._featureGroup, y = o ? f._latLngToNewLayerPoint(this._latlng, o.zoom, o.center) : f.latLngToLayerPoint(this._latlng), g = this.getAllChildMarkers(null, !0), w = L.Path.SVG, P, S, x, H, Z, z;
|
|
8108
|
+
for (d._ignoreMove = !0, d._animationStart(), this.setOpacity(1), S = g.length - 1; S >= 0; S--)
|
|
8109
8109
|
P = g[S], P._preSpiderfyLatlng && (P.closePopup(), P.setLatLng(P._preSpiderfyLatlng), delete P._preSpiderfyLatlng, z = !0, P._setPos && (P._setPos(y), z = !1), P.clusterHide && (P.clusterHide(), z = !1), z && m.removeLayer(P), w && (x = P._spiderLeg, H = x._path, Z = H.getTotalLength() + 0.1, H.style.strokeDashoffset = Z, x.setStyle({ opacity: 0 })));
|
|
8110
|
-
|
|
8110
|
+
d._ignoreMove = !1, setTimeout(function() {
|
|
8111
8111
|
var W = 0;
|
|
8112
8112
|
for (S = g.length - 1; S >= 0; S--)
|
|
8113
8113
|
P = g[S], P._spiderLeg && W++;
|
|
8114
8114
|
for (S = g.length - 1; S >= 0; S--)
|
|
8115
8115
|
P = g[S], P._spiderLeg && (P.clusterShow && P.clusterShow(), P.setZIndexOffset && P.setZIndexOffset(0), W > 1 && m.removeLayer(P), f.removeLayer(P._spiderLeg), delete P._spiderLeg);
|
|
8116
|
-
|
|
8116
|
+
d._animationEnd(), d.fire("unspiderfied", {
|
|
8117
8117
|
cluster: r,
|
|
8118
8118
|
markers: g
|
|
8119
8119
|
});
|
|
@@ -8170,10 +8170,10 @@ function cl() {
|
|
|
8170
8170
|
* @private
|
|
8171
8171
|
*/
|
|
8172
8172
|
_flagParentsIconsNeedUpdate: function(o) {
|
|
8173
|
-
var r,
|
|
8173
|
+
var r, d;
|
|
8174
8174
|
for (r in o)
|
|
8175
|
-
for (
|
|
8176
|
-
|
|
8175
|
+
for (d = o[r].__parent; d; )
|
|
8176
|
+
d._iconNeedsUpdate = !0, d = d.__parent;
|
|
8177
8177
|
},
|
|
8178
8178
|
/**
|
|
8179
8179
|
* Re-draws the icon of the supplied markers.
|
|
@@ -8182,9 +8182,9 @@ function cl() {
|
|
|
8182
8182
|
* @private
|
|
8183
8183
|
*/
|
|
8184
8184
|
_refreshSingleMarkerModeMarkers: function(o) {
|
|
8185
|
-
var r,
|
|
8185
|
+
var r, d;
|
|
8186
8186
|
for (r in o)
|
|
8187
|
-
|
|
8187
|
+
d = o[r], this.hasLayer(d) && d.setIcon(this._overrideMarkerIcon(d));
|
|
8188
8188
|
}
|
|
8189
8189
|
}), L.Marker.include({
|
|
8190
8190
|
/**
|
|
@@ -8195,8 +8195,8 @@ function cl() {
|
|
|
8195
8195
|
* @returns {L.Marker}
|
|
8196
8196
|
*/
|
|
8197
8197
|
refreshIconOptions: function(o, r) {
|
|
8198
|
-
var
|
|
8199
|
-
return L.setOptions(
|
|
8198
|
+
var d = this.options.icon;
|
|
8199
|
+
return L.setOptions(d, o), this.setIcon(d), r && this.__parent && this.__parent._group.refreshClusters(this), this;
|
|
8200
8200
|
}
|
|
8201
8201
|
}), h.MarkerClusterGroup = p, h.MarkerCluster = v, Object.defineProperty(h, "__esModule", { value: !0 });
|
|
8202
8202
|
});
|
|
@@ -8213,13 +8213,13 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8213
8213
|
setup(a, { emit: u }) {
|
|
8214
8214
|
const { t: h } = Yt(), p = u, v = a, { hotelMapImage: o } = jt(_e()), r = fe.Util.extend(fe.CRS.Simple, {
|
|
8215
8215
|
transformation: new fe.Transformation(1, 0, 1, 0)
|
|
8216
|
-
}),
|
|
8216
|
+
}), d = Gt(), f = Tt(() => o.value?.url), m = Tt(() => o.value?.height), y = Tt(() => o.value?.width), g = fe.icon({
|
|
8217
8217
|
iconUrl: dl,
|
|
8218
8218
|
iconSize: [32, 37],
|
|
8219
8219
|
iconAnchor: [16, 37]
|
|
8220
8220
|
});
|
|
8221
8221
|
function w() {
|
|
8222
|
-
const z = fe.map(
|
|
8222
|
+
const z = fe.map(d.value, {
|
|
8223
8223
|
attributionControl: !1,
|
|
8224
8224
|
zoomControl: !0,
|
|
8225
8225
|
smoothWheelZoom: !0,
|
|
@@ -8250,7 +8250,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8250
8250
|
});
|
|
8251
8251
|
});
|
|
8252
8252
|
}
|
|
8253
|
-
const { stop: P } = Hr(
|
|
8253
|
+
const { stop: P } = Hr(d, ([{ isIntersecting: z }]) => {
|
|
8254
8254
|
z && (P(), w());
|
|
8255
8255
|
}), S = Tt({
|
|
8256
8256
|
get: () => v.modelValue,
|
|
@@ -8269,7 +8269,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8269
8269
|
}
|
|
8270
8270
|
return (z, W) => W[0] || (es(-1, !0), (W[0] = k("div", {
|
|
8271
8271
|
ref_key: "mapContainer",
|
|
8272
|
-
ref:
|
|
8272
|
+
ref: d,
|
|
8273
8273
|
class: "konnectio-leaflet-map"
|
|
8274
8274
|
}, null, 512)).cacheIndex = 0, es(1), W[0]);
|
|
8275
8275
|
}
|
|
@@ -8285,14 +8285,14 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8285
8285
|
function o() {
|
|
8286
8286
|
p.value && (v.config.units = 1, v.config.roomId = h.value, v.callback());
|
|
8287
8287
|
}
|
|
8288
|
-
return (r,
|
|
8289
|
-
title:
|
|
8288
|
+
return (r, d) => (T(), lt(ks, {
|
|
8289
|
+
title: c(u)("hotel.selectRoomOnMapTitle")
|
|
8290
8290
|
}, {
|
|
8291
8291
|
default: tt(() => [
|
|
8292
8292
|
k("div", _l, [
|
|
8293
8293
|
B(pl, {
|
|
8294
8294
|
modelValue: h.value,
|
|
8295
|
-
"onUpdate:modelValue":
|
|
8295
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => h.value = f),
|
|
8296
8296
|
rooms: r.roomList,
|
|
8297
8297
|
onCallback: o
|
|
8298
8298
|
}, null, 8, ["modelValue", "rooms"])
|
|
@@ -8329,7 +8329,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8329
8329
|
o.callback(V), u.value = !1;
|
|
8330
8330
|
}
|
|
8331
8331
|
const { t: v } = Yt(), o = a, r = Gt([]);
|
|
8332
|
-
function
|
|
8332
|
+
function d() {
|
|
8333
8333
|
const V = r.value.length;
|
|
8334
8334
|
Lt(V);
|
|
8335
8335
|
}
|
|
@@ -8420,8 +8420,8 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8420
8420
|
B(cn, {
|
|
8421
8421
|
modelValue: et.id,
|
|
8422
8422
|
"onUpdate:modelValue": (kt) => et.id = kt,
|
|
8423
|
-
label:
|
|
8424
|
-
placeholder:
|
|
8423
|
+
label: c(v)("hotel.roomVariant"),
|
|
8424
|
+
placeholder: c(v)("hotel.chooseARoomVariant"),
|
|
8425
8425
|
options: m.value,
|
|
8426
8426
|
searchable: !1,
|
|
8427
8427
|
onChanged: (kt) => xt(Y, kt)
|
|
@@ -8434,8 +8434,8 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8434
8434
|
onClickEvent: (kt) => f(Y),
|
|
8435
8435
|
secondary: ""
|
|
8436
8436
|
}, null, 8, ["onClickEvent"])
|
|
8437
|
-
])) :
|
|
8438
|
-
])) :
|
|
8437
|
+
])) : D("", !0)
|
|
8438
|
+
])) : D("", !0),
|
|
8439
8439
|
et.id ? (T(), A("div", yl, [
|
|
8440
8440
|
(T(!0), A(dt, null, St(V.room.rates, ({
|
|
8441
8441
|
id: kt,
|
|
@@ -8454,8 +8454,8 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8454
8454
|
"onUpdate:modelValue": (Bt) => zt.id = Bt,
|
|
8455
8455
|
icon: "male",
|
|
8456
8456
|
"icon-type": "fas",
|
|
8457
|
-
label:
|
|
8458
|
-
description: mt === 0 ? void 0 : `${
|
|
8457
|
+
label: c(v)("general.guests"),
|
|
8458
|
+
description: mt === 0 ? void 0 : `${c(v)("general.maximumGuests")}: ${mt}`,
|
|
8459
8459
|
options: ut(kt),
|
|
8460
8460
|
readonly: !(ut(kt).length > 1)
|
|
8461
8461
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
@@ -8463,7 +8463,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8463
8463
|
Z.value ? (T(), A("div", kl, [
|
|
8464
8464
|
B(re, {
|
|
8465
8465
|
onClickEvent: h,
|
|
8466
|
-
label:
|
|
8466
|
+
label: c(v)("hotel.selectRoomOnMap"),
|
|
8467
8467
|
secondary: "",
|
|
8468
8468
|
"full-width": ""
|
|
8469
8469
|
}, null, 8, ["label"]),
|
|
@@ -8478,26 +8478,26 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8478
8478
|
B(Li, {
|
|
8479
8479
|
modelValue: zt.units,
|
|
8480
8480
|
"onUpdate:modelValue": (Bt) => zt.units = Bt,
|
|
8481
|
-
description:
|
|
8481
|
+
description: c(y) ? void 0 : `${c(v)("booking.availability.availableUnits")}: ${W(et.id, zt.id)}`,
|
|
8482
8482
|
icon: "house",
|
|
8483
8483
|
"icon-type": "fas",
|
|
8484
8484
|
"icon-placement": "label",
|
|
8485
|
-
label:
|
|
8485
|
+
label: c(v)("booking.availability.units"),
|
|
8486
8486
|
minValue: 0,
|
|
8487
8487
|
"max-value": W(kt, zt.id) || 1 / 0
|
|
8488
8488
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
8489
8489
|
]))
|
|
8490
|
-
]))), 128)) :
|
|
8490
|
+
]))), 128)) : D("", !0)
|
|
8491
8491
|
]))), 128))
|
|
8492
|
-
])) :
|
|
8492
|
+
])) : D("", !0)
|
|
8493
8493
|
]))), 128)),
|
|
8494
|
-
|
|
8494
|
+
c(w) && st.value ? (T(), A("button", {
|
|
8495
8495
|
key: 0,
|
|
8496
8496
|
class: "konnectio-hotel-add-extra-room link",
|
|
8497
|
-
onClick: Pi(
|
|
8497
|
+
onClick: Pi(d, ["prevent"])
|
|
8498
8498
|
}, [
|
|
8499
|
-
k("span", null, I(
|
|
8500
|
-
])) :
|
|
8499
|
+
k("span", null, I(c(v)("hotel.addExtraVariant")), 1)
|
|
8500
|
+
])) : D("", !0)
|
|
8501
8501
|
], 2)
|
|
8502
8502
|
]),
|
|
8503
8503
|
_: 1
|
|
@@ -8513,22 +8513,22 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8513
8513
|
callback: { type: Function }
|
|
8514
8514
|
},
|
|
8515
8515
|
setup(a) {
|
|
8516
|
-
const { t: u } = Yt(), { templateID: h, roomGroupID: p, selectionHasNoAddons: v } = jt(_e()), { currency: o } = jt(Ee()), { clearRoomSelection: r } = _e(),
|
|
8516
|
+
const { t: u } = Yt(), { templateID: h, roomGroupID: p, selectionHasNoAddons: v } = jt(_e()), { currency: o } = jt(Ee()), { clearRoomSelection: r } = _e(), d = a, f = Gt(!0), m = Tt(() => {
|
|
8517
8517
|
function g(w, P) {
|
|
8518
8518
|
return f.value === !0 ? w.extraPrice > P.extraPrice ? -1 : 1 : w.extraPrice > P.extraPrice ? 1 : -1;
|
|
8519
8519
|
}
|
|
8520
|
-
return
|
|
8520
|
+
return d.roomGroups?.slice().sort(g);
|
|
8521
8521
|
});
|
|
8522
8522
|
function y(g) {
|
|
8523
|
-
if (h.value =
|
|
8524
|
-
|
|
8523
|
+
if (h.value = d.templateId, p.value = g, r(), d.hideAddons === !1 && v.value == !1) {
|
|
8524
|
+
d.callback(1);
|
|
8525
8525
|
return;
|
|
8526
8526
|
}
|
|
8527
|
-
|
|
8527
|
+
d.callback(2);
|
|
8528
8528
|
}
|
|
8529
8529
|
return (g, w) => (T(), lt(ks, {
|
|
8530
8530
|
title: g.title,
|
|
8531
|
-
subtitle:
|
|
8531
|
+
subtitle: c(u)("booking.availability.selectATemplateRoom")
|
|
8532
8532
|
}, {
|
|
8533
8533
|
default: tt(() => [
|
|
8534
8534
|
k("div", Pl, [
|
|
@@ -8555,7 +8555,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8555
8555
|
k("div", null, [
|
|
8556
8556
|
B(re, {
|
|
8557
8557
|
onClickEvent: (W) => y(P),
|
|
8558
|
-
label: `${
|
|
8558
|
+
label: `${c(u)("booking.availability.selectThisRoom")} (${c(ae)(z, c(o))})`,
|
|
8559
8559
|
"full-width": ""
|
|
8560
8560
|
}, null, 8, ["onClickEvent", "label"])
|
|
8561
8561
|
])
|
|
@@ -8582,22 +8582,22 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8582
8582
|
},
|
|
8583
8583
|
setup(a) {
|
|
8584
8584
|
const { t: u } = Yt(), h = a, p = Tt(() => h.roomGroups.reduce(
|
|
8585
|
-
(
|
|
8585
|
+
(d, f) => d < f.extraPrice ? d : f.extraPrice,
|
|
8586
8586
|
1 / 0
|
|
8587
8587
|
)), v = Gt(!1);
|
|
8588
8588
|
function o() {
|
|
8589
8589
|
v.value = !0;
|
|
8590
8590
|
}
|
|
8591
|
-
function r(
|
|
8592
|
-
h.callback(
|
|
8591
|
+
function r(d) {
|
|
8592
|
+
h.callback(d), v.value = !1;
|
|
8593
8593
|
}
|
|
8594
|
-
return (
|
|
8594
|
+
return (d, f) => (T(), lt(dn, {
|
|
8595
8595
|
type: "template",
|
|
8596
|
-
"listing-id":
|
|
8597
|
-
name:
|
|
8598
|
-
description:
|
|
8599
|
-
gallery:
|
|
8600
|
-
layout:
|
|
8596
|
+
"listing-id": d.id,
|
|
8597
|
+
name: d.name,
|
|
8598
|
+
description: d.description,
|
|
8599
|
+
gallery: d.images,
|
|
8600
|
+
layout: c(Ls).Template,
|
|
8601
8601
|
"includes-breakfast": !1,
|
|
8602
8602
|
"hide-info-button": !1,
|
|
8603
8603
|
"prices-from": p.value
|
|
@@ -8606,7 +8606,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8606
8606
|
k("div", Ml, [
|
|
8607
8607
|
B(re, {
|
|
8608
8608
|
onClickEvent: o,
|
|
8609
|
-
label:
|
|
8609
|
+
label: c(u)("booking.availability.selectPackage"),
|
|
8610
8610
|
"full-width": ""
|
|
8611
8611
|
}, null, 8, ["label"])
|
|
8612
8612
|
])
|
|
@@ -8615,10 +8615,10 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8615
8615
|
B(xl, {
|
|
8616
8616
|
modelValue: v.value,
|
|
8617
8617
|
"onUpdate:modelValue": f[0] || (f[0] = (m) => v.value = m),
|
|
8618
|
-
title:
|
|
8619
|
-
"template-id":
|
|
8620
|
-
"room-groups":
|
|
8621
|
-
"hide-addons":
|
|
8618
|
+
title: d.name,
|
|
8619
|
+
"template-id": d.id,
|
|
8620
|
+
"room-groups": d.roomGroups,
|
|
8621
|
+
"hide-addons": d.hideAddons,
|
|
8622
8622
|
callback: r
|
|
8623
8623
|
}, null, 8, ["modelValue", "title", "template-id", "room-groups", "hide-addons"])
|
|
8624
8624
|
]),
|
|
@@ -8639,7 +8639,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8639
8639
|
},
|
|
8640
8640
|
setup(a) {
|
|
8641
8641
|
const { t: u } = Yt(), { updateDates: h } = Ci(), { display: p } = fo(), v = a, o = Gt([]), r = Tt(() => bi(v.fromDate, v.toDate) === 1);
|
|
8642
|
-
function
|
|
8642
|
+
function d() {
|
|
8643
8643
|
o.value.length > 0 ? h(o.value[0], o.value[1]) : p({
|
|
8644
8644
|
message: u("alert.error.selectDates"),
|
|
8645
8645
|
type: "error"
|
|
@@ -8653,7 +8653,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8653
8653
|
name: f.name,
|
|
8654
8654
|
description: f.description,
|
|
8655
8655
|
gallery: f.images,
|
|
8656
|
-
layout:
|
|
8656
|
+
layout: c(Ls).Template,
|
|
8657
8657
|
"includes-breakfast": !1,
|
|
8658
8658
|
"hide-info-button": !1,
|
|
8659
8659
|
"to-date": f.toDate,
|
|
@@ -8665,8 +8665,8 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8665
8665
|
B(ws, {
|
|
8666
8666
|
modelValue: o.value,
|
|
8667
8667
|
"onUpdate:modelValue": m[0] || (m[0] = (y) => o.value = y),
|
|
8668
|
-
label:
|
|
8669
|
-
placeholder:
|
|
8668
|
+
label: c(u)("availability.checkInOut"),
|
|
8669
|
+
placeholder: c(u)("booking.availability.selectDates"),
|
|
8670
8670
|
"icon-type": "fas",
|
|
8671
8671
|
"icon-placement": "label",
|
|
8672
8672
|
"min-range": 1,
|
|
@@ -8678,8 +8678,8 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8678
8678
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
8679
8679
|
k("div", Il, [
|
|
8680
8680
|
B(re, {
|
|
8681
|
-
label:
|
|
8682
|
-
onClick: Pi(
|
|
8681
|
+
label: c(u)("availability.buttonLabel"),
|
|
8682
|
+
onClick: Pi(d, ["prevent"])
|
|
8683
8683
|
}, null, 8, ["label"])
|
|
8684
8684
|
])
|
|
8685
8685
|
])
|
|
@@ -8712,9 +8712,9 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8712
8712
|
const o = Gt(p.modelValue);
|
|
8713
8713
|
return ln(o, (r) => {
|
|
8714
8714
|
v(r);
|
|
8715
|
-
}), (r,
|
|
8715
|
+
}), (r, d) => (T(), lt(ws, {
|
|
8716
8716
|
modelValue: o.value,
|
|
8717
|
-
"onUpdate:modelValue":
|
|
8717
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => o.value = f),
|
|
8718
8718
|
type: "time",
|
|
8719
8719
|
label: r.label,
|
|
8720
8720
|
id: r.id,
|
|
@@ -8742,22 +8742,22 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8742
8742
|
emits: ["update:modelValue"],
|
|
8743
8743
|
setup(a, { emit: u }) {
|
|
8744
8744
|
const { t: h } = Yt(), p = u, v = a;
|
|
8745
|
-
function o(
|
|
8746
|
-
p("update:modelValue",
|
|
8745
|
+
function o(d) {
|
|
8746
|
+
p("update:modelValue", d);
|
|
8747
8747
|
}
|
|
8748
8748
|
const r = Tt({
|
|
8749
8749
|
get: () => v.modelValue,
|
|
8750
|
-
set: (
|
|
8750
|
+
set: (d) => o(d)
|
|
8751
8751
|
});
|
|
8752
|
-
return (
|
|
8752
|
+
return (d, f) => (T(), lt(cn, {
|
|
8753
8753
|
modelValue: r.value,
|
|
8754
8754
|
"onUpdate:modelValue": f[0] || (f[0] = (m) => r.value = m),
|
|
8755
|
-
label:
|
|
8756
|
-
placeholder:
|
|
8755
|
+
label: d.label,
|
|
8756
|
+
placeholder: c(h)("booking.reservation.countryPlaceholder"),
|
|
8757
8757
|
labelKey: "name",
|
|
8758
8758
|
valueKey: "id",
|
|
8759
|
-
options:
|
|
8760
|
-
required:
|
|
8759
|
+
options: d.options,
|
|
8760
|
+
required: d.required
|
|
8761
8761
|
}, {
|
|
8762
8762
|
option: tt(({ data: m }) => [
|
|
8763
8763
|
k("i", {
|
|
@@ -8798,7 +8798,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8798
8798
|
emits: ["update:modelValue", "update:title"],
|
|
8799
8799
|
setup(a, { emit: u }) {
|
|
8800
8800
|
const h = a, p = u, v = h.id || is(), o = Gt(""), r = Gt(2);
|
|
8801
|
-
function
|
|
8801
|
+
function d() {
|
|
8802
8802
|
p("update:modelValue", o.value);
|
|
8803
8803
|
}
|
|
8804
8804
|
ln(r, (m) => {
|
|
@@ -8809,7 +8809,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8809
8809
|
h.modelValue && (o.value = h.modelValue), h.title && (r.value = h.title);
|
|
8810
8810
|
}), (m, y) => (T(), lt(Vr, {
|
|
8811
8811
|
label: m.label,
|
|
8812
|
-
id:
|
|
8812
|
+
id: c(v),
|
|
8813
8813
|
required: m.required,
|
|
8814
8814
|
type: "konnectio-name-field",
|
|
8815
8815
|
readonly: m.readonly,
|
|
@@ -8822,33 +8822,33 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8822
8822
|
{ "no-title": m.excludeTitle }
|
|
8823
8823
|
])
|
|
8824
8824
|
}, [
|
|
8825
|
-
m.excludeTitle ?
|
|
8825
|
+
m.excludeTitle ? D("", !0) : (T(), lt(cn, {
|
|
8826
8826
|
key: 0,
|
|
8827
8827
|
modelValue: r.value,
|
|
8828
8828
|
"onUpdate:modelValue": y[0] || (y[0] = (g) => r.value = g),
|
|
8829
|
-
id:
|
|
8829
|
+
id: c(is)(),
|
|
8830
8830
|
icon: m.icon,
|
|
8831
8831
|
"icon-color": m.iconColor,
|
|
8832
8832
|
"icon-type": m.iconType,
|
|
8833
8833
|
options: [
|
|
8834
8834
|
{
|
|
8835
|
-
label:
|
|
8835
|
+
label: c(f)("booking.reservation.noNameTitle"),
|
|
8836
8836
|
value: 1
|
|
8837
8837
|
},
|
|
8838
8838
|
{
|
|
8839
|
-
label:
|
|
8839
|
+
label: c(f)("booking.reservation.nameTitleMr"),
|
|
8840
8840
|
value: 2
|
|
8841
8841
|
},
|
|
8842
8842
|
{
|
|
8843
|
-
label:
|
|
8843
|
+
label: c(f)("booking.reservation.nameTitleMs"),
|
|
8844
8844
|
value: 3
|
|
8845
8845
|
},
|
|
8846
8846
|
{
|
|
8847
|
-
label:
|
|
8847
|
+
label: c(f)("booking.reservation.nameTitleMrs"),
|
|
8848
8848
|
value: 4
|
|
8849
8849
|
},
|
|
8850
8850
|
{
|
|
8851
|
-
label:
|
|
8851
|
+
label: c(f)("booking.reservation.nameTitleDr"),
|
|
8852
8852
|
value: 5
|
|
8853
8853
|
}
|
|
8854
8854
|
],
|
|
@@ -8862,7 +8862,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8862
8862
|
type: "text",
|
|
8863
8863
|
name: "name",
|
|
8864
8864
|
autocomplete: "name",
|
|
8865
|
-
id:
|
|
8865
|
+
id: c(v),
|
|
8866
8866
|
icon: m.excludeTitle ? m.icon : void 0,
|
|
8867
8867
|
"icon-color": m.iconColor,
|
|
8868
8868
|
"icon-type": m.iconType,
|
|
@@ -8870,7 +8870,7 @@ const dl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8870
8870
|
required: m.required,
|
|
8871
8871
|
readonly: m.readonly,
|
|
8872
8872
|
limit: m.limit,
|
|
8873
|
-
onInput: y[2] || (y[2] = (g) =>
|
|
8873
|
+
onInput: y[2] || (y[2] = (g) => d())
|
|
8874
8874
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit"])
|
|
8875
8875
|
], 2)
|
|
8876
8876
|
]),
|
|
@@ -8930,21 +8930,27 @@ const Yl = { key: 3 }, Kl = { key: 0 }, Xl = {
|
|
|
8930
8930
|
key: 5,
|
|
8931
8931
|
class: "konnectio-listing-loading"
|
|
8932
8932
|
}, gu = { class: "konnectio-hotel-availability-warning" }, vu = { class: "konnectio-hotel-availability-warning" }, yu = { class: "konnectio-panel" }, bu = {
|
|
8933
|
+
key: 0,
|
|
8934
|
+
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
8935
|
+
}, Lu = ["innerHTML"], ku = {
|
|
8933
8936
|
key: 0,
|
|
8934
8937
|
id: "konnectio-hotel-addons"
|
|
8935
|
-
},
|
|
8936
|
-
const
|
|
8938
|
+
}, wu = { key: 0 };
|
|
8939
|
+
const Pu = { class: "konnectio-event-addons-price" }, Cu = { key: 1 }, Tu = {
|
|
8937
8940
|
key: 0,
|
|
8938
8941
|
class: "konnectio-table-addons-image"
|
|
8939
|
-
},
|
|
8942
|
+
}, xu = ["innerHTML"], Mu = { class: "konnectio-table-addons-option" }, Su = {
|
|
8940
8943
|
key: 1,
|
|
8941
8944
|
id: "konnectio-hotel-addons"
|
|
8942
|
-
},
|
|
8943
|
-
const
|
|
8944
|
-
key:
|
|
8945
|
+
}, Au = { class: "konnectio-table with-lines without-header" };
|
|
8946
|
+
const Iu = { class: "konnectio-table-addons-information" }, Ou = { class: "konnectio-table-addons-option" }, zu = { class: "konnectio-panel" }, Eu = {
|
|
8947
|
+
key: 0,
|
|
8948
|
+
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
8949
|
+
}, Bu = ["innerHTML"], Zu = { key: 0 }, Du = { key: 1 }, Nu = {
|
|
8950
|
+
key: 2,
|
|
8945
8951
|
class: "konnectio-show-on-mobile"
|
|
8946
|
-
},
|
|
8947
|
-
const
|
|
8952
|
+
}, Ru = { class: "konnectio-split-inputs" };
|
|
8953
|
+
const Hu = /* @__PURE__ */ Nt({
|
|
8948
8954
|
name: "HotelLayout",
|
|
8949
8955
|
__name: "Hotel",
|
|
8950
8956
|
props: {
|
|
@@ -8963,11 +8969,11 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
8963
8969
|
styling: {}
|
|
8964
8970
|
},
|
|
8965
8971
|
setup(a) {
|
|
8966
|
-
const u = Or(() => import("./_-
|
|
8972
|
+
const u = Or(() => import("./_-Dnhk_RnY.js")), h = a, { t: p } = Yt(), {
|
|
8967
8973
|
currentLocation: v,
|
|
8968
8974
|
templateID: o,
|
|
8969
8975
|
templateAddons: r,
|
|
8970
|
-
countries:
|
|
8976
|
+
countries: d,
|
|
8971
8977
|
areListingsLoading: f,
|
|
8972
8978
|
isPaymentLoading: m,
|
|
8973
8979
|
isReservationFormFilled: y,
|
|
@@ -9095,7 +9101,7 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9095
9101
|
function Vt(E) {
|
|
9096
9102
|
ai.value || kt.value ? E(2) : E(), Bi();
|
|
9097
9103
|
}
|
|
9098
|
-
async function
|
|
9104
|
+
async function N(E, F) {
|
|
9099
9105
|
await yn(E, F);
|
|
9100
9106
|
}
|
|
9101
9107
|
function Di() {
|
|
@@ -9151,19 +9157,19 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9151
9157
|
default: tt(() => [
|
|
9152
9158
|
(T(), lt(Ir, { onResolve: Ne }, {
|
|
9153
9159
|
default: tt(() => [
|
|
9154
|
-
B(
|
|
9160
|
+
B(c(u), {
|
|
9155
9161
|
id: "konnectio-hotel-module",
|
|
9156
9162
|
"access-token": E.accessToken,
|
|
9157
|
-
callback:
|
|
9163
|
+
callback: c(bn)
|
|
9158
9164
|
}, {
|
|
9159
9165
|
default: tt(() => [
|
|
9160
9166
|
ke(B(Ja, { onCallback: Ne }, null, 512), [
|
|
9161
|
-
[ze, E.requireGuestDiscountId === "yes" && !
|
|
9167
|
+
[ze, E.requireGuestDiscountId === "yes" && !c(it)]
|
|
9162
9168
|
]),
|
|
9163
9169
|
ke(B(Kr, {
|
|
9164
9170
|
layout: E.headerLayout,
|
|
9165
9171
|
steps: wn.value,
|
|
9166
|
-
onReset:
|
|
9172
|
+
onReset: c(Ei)
|
|
9167
9173
|
}, {
|
|
9168
9174
|
availability: tt(({ next: yt }) => [
|
|
9169
9175
|
B(oo, null, {
|
|
@@ -9177,34 +9183,34 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9177
9183
|
"hide-locations": E.hideLocations === "yes"
|
|
9178
9184
|
}, null, 8, ["selected-location", "disable-default-location", "hide-locations"])
|
|
9179
9185
|
]),
|
|
9180
|
-
|
|
9186
|
+
c(it) ? (T(), A("div", Wl, [
|
|
9181
9187
|
k("span", {
|
|
9182
|
-
innerHTML:
|
|
9188
|
+
innerHTML: c(p)("guestDiscount.displayMessage", { name: `<b>${c(Rt) ? c(Rt) : c(X)}</b>` })
|
|
9183
9189
|
}, null, 8, ql)
|
|
9184
|
-
])) :
|
|
9185
|
-
|
|
9190
|
+
])) : D("", !0),
|
|
9191
|
+
c(ei) ? (T(), A("div", jl, [
|
|
9186
9192
|
k("span", null, [
|
|
9187
|
-
ys(I(
|
|
9193
|
+
ys(I(c(p)("general.filteredListingNotice")) + " ", 1),
|
|
9188
9194
|
k("button", {
|
|
9189
9195
|
class: "link",
|
|
9190
9196
|
onClick: F[0] || (F[0] = (J) => Ni())
|
|
9191
|
-
}, I(
|
|
9197
|
+
}, I(c(p)("general.filteredListingShowAll")), 1)
|
|
9192
9198
|
])
|
|
9193
|
-
])) :
|
|
9194
|
-
|
|
9195
|
-
!
|
|
9196
|
-
ee.value.camping && ee.value.camping.length > 0 && E.onlyShow !== "non-camping" || ee.value.rooms && ee.value.rooms.length > 0 ||
|
|
9197
|
-
|
|
9199
|
+
])) : D("", !0),
|
|
9200
|
+
D("", !0),
|
|
9201
|
+
!c(f) && c(mt) ? (T(), A("div", Yl, [
|
|
9202
|
+
ee.value.camping && ee.value.camping.length > 0 && E.onlyShow !== "non-camping" || ee.value.rooms && ee.value.rooms.length > 0 || c(Y).templates.length > 0 || c(Y).specialTemplates.length > 0 ? (T(), A("div", Kl, [
|
|
9203
|
+
c(Y).templates.length > 0 && E.onlyShow !== "rooms" && E.onlyShow !== "camping" ? (T(), A("div", Xl, [
|
|
9198
9204
|
E.onlyShow !== "packages" ? (T(), A("h2", Jl, [
|
|
9199
9205
|
B(Mt, {
|
|
9200
9206
|
icon: "box",
|
|
9201
9207
|
type: "fal",
|
|
9202
9208
|
color: "header"
|
|
9203
9209
|
}),
|
|
9204
|
-
k("span", null, I(
|
|
9205
|
-
])) :
|
|
9210
|
+
k("span", null, I(c(p)("booking.availability.packagesTitle")), 1)
|
|
9211
|
+
])) : D("", !0),
|
|
9206
9212
|
k("ul", Ql, [
|
|
9207
|
-
(T(!0), A(dt, null, St(
|
|
9213
|
+
(T(!0), A(dt, null, St(c(Y).templates, ({
|
|
9208
9214
|
id: J,
|
|
9209
9215
|
name: ht,
|
|
9210
9216
|
templateRoomGroups: $,
|
|
@@ -9223,17 +9229,17 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9223
9229
|
"hide-addons": E.hideAddons === "yes" || E.hideAddons === "packages"
|
|
9224
9230
|
}, null, 8, ["id", "description", "name", "images", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
9225
9231
|
])
|
|
9226
|
-
])) :
|
|
9227
|
-
|
|
9232
|
+
])) : D("", !0),
|
|
9233
|
+
c(Y).roomGroups.length > 0 && E.onlyShow !== "packages" ? (T(), A("div", tu, [
|
|
9228
9234
|
ee.value.rooms && E.onlyShow !== "camping" ? (T(), A(dt, { key: 0 }, [
|
|
9229
|
-
|
|
9235
|
+
c(Y).templates.length > 0 && E.onlyShow !== "rooms" ? (T(), A("h2", eu, [
|
|
9230
9236
|
B(Mt, {
|
|
9231
9237
|
icon: "house",
|
|
9232
9238
|
type: "fal",
|
|
9233
9239
|
color: "header"
|
|
9234
9240
|
}),
|
|
9235
|
-
k("span", null, I(
|
|
9236
|
-
])) :
|
|
9241
|
+
k("span", null, I(c(p)("booking.availability.roomsTitle")), 1)
|
|
9242
|
+
])) : D("", !0),
|
|
9237
9243
|
k("ul", iu, [
|
|
9238
9244
|
(T(!0), A(dt, null, St(ee.value.rooms, (J, ht) => (T(), lt(cs, {
|
|
9239
9245
|
room: J,
|
|
@@ -9241,16 +9247,16 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9241
9247
|
callback: yt
|
|
9242
9248
|
}, null, 8, ["room", "callback"]))), 128))
|
|
9243
9249
|
])
|
|
9244
|
-
], 64)) :
|
|
9250
|
+
], 64)) : D("", !0),
|
|
9245
9251
|
ee.value.camping && E.onlyShow !== "rooms" && E.onlyShow !== "non-camping" ? (T(), A(dt, { key: 1 }, [
|
|
9246
|
-
|
|
9252
|
+
c(Y).templates.length > 0 && E.onlyShow !== "camping" ? (T(), A("h2", nu, [
|
|
9247
9253
|
B(Mt, {
|
|
9248
9254
|
icon: "house",
|
|
9249
9255
|
type: "fal",
|
|
9250
9256
|
color: "header"
|
|
9251
9257
|
}),
|
|
9252
|
-
k("span", null, I(
|
|
9253
|
-
])) :
|
|
9258
|
+
k("span", null, I(c(p)("booking.availability.campingTitle")), 1)
|
|
9259
|
+
])) : D("", !0),
|
|
9254
9260
|
k("ul", ou, [
|
|
9255
9261
|
(T(!0), A(dt, null, St(ee.value.camping, (J, ht) => (T(), lt(cs, {
|
|
9256
9262
|
room: J,
|
|
@@ -9258,20 +9264,20 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9258
9264
|
callback: yt
|
|
9259
9265
|
}, null, 8, ["room", "callback"]))), 128))
|
|
9260
9266
|
])
|
|
9261
|
-
], 64)) :
|
|
9262
|
-
])) :
|
|
9263
|
-
|
|
9264
|
-
|
|
9267
|
+
], 64)) : D("", !0)
|
|
9268
|
+
])) : D("", !0),
|
|
9269
|
+
c(ei) ? D("", !0) : (T(), A(dt, { key: 2 }, [
|
|
9270
|
+
c(Y).specialTemplates.length > 0 && E.onlyShow !== "rooms" ? (T(), A("div", su, [
|
|
9265
9271
|
k("h2", ru, [
|
|
9266
9272
|
B(Mt, {
|
|
9267
9273
|
icon: "sparkles",
|
|
9268
9274
|
type: "fal",
|
|
9269
9275
|
color: "header"
|
|
9270
9276
|
}),
|
|
9271
|
-
k("span", null, I(
|
|
9277
|
+
k("span", null, I(c(p)("hotel.specialOffers")), 1)
|
|
9272
9278
|
]),
|
|
9273
9279
|
k("ul", au, [
|
|
9274
|
-
(T(!0), A(dt, null, St(
|
|
9280
|
+
(T(!0), A(dt, null, St(c(Y).specialTemplates, ({
|
|
9275
9281
|
id: J,
|
|
9276
9282
|
name: ht,
|
|
9277
9283
|
templateRoomGroups: $,
|
|
@@ -9292,13 +9298,13 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9292
9298
|
"room-groups": $
|
|
9293
9299
|
}, null, 8, ["id", "description", "name", "images", "fromDate", "toDate", "weekendFee", "room-groups"]))), 128))
|
|
9294
9300
|
])
|
|
9295
|
-
])) :
|
|
9301
|
+
])) : D("", !0)
|
|
9296
9302
|
], 64)),
|
|
9297
|
-
(
|
|
9298
|
-
k("span", null, I(
|
|
9299
|
-
])) :
|
|
9300
|
-
])) :
|
|
9301
|
-
k("span", null, I(
|
|
9303
|
+
(c(Y).templates.length === 0 && E.onlyShow !== "rooms" || c(Y).roomGroups.length === 0 && E.onlyShow !== "packages") && (E.onlyShow === "rooms" || E.onlyShow === "packages") ? (T(), A("div", lu, [
|
|
9304
|
+
k("span", null, I(c(p)("booking.availability.nothingAvailable")), 1)
|
|
9305
|
+
])) : D("", !0)
|
|
9306
|
+
])) : c(Y).nextAvailableDates.length === 0 ? (T(), A("div", uu, [
|
|
9307
|
+
k("span", null, I(c(p)("booking.availability.nothingAvailable")), 1)
|
|
9302
9308
|
])) : (T(), A("div", hu, [
|
|
9303
9309
|
k("h2", cu, [
|
|
9304
9310
|
B(Mt, {
|
|
@@ -9306,23 +9312,23 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9306
9312
|
type: "fal",
|
|
9307
9313
|
color: "header"
|
|
9308
9314
|
}),
|
|
9309
|
-
k("span", null, I(
|
|
9315
|
+
k("span", null, I(c(p)("booking.availability.nextAvailableDates")), 1)
|
|
9310
9316
|
]),
|
|
9311
9317
|
k("ul", du, [
|
|
9312
|
-
(T(!0), A(dt, null, St(
|
|
9318
|
+
(T(!0), A(dt, null, St(c(Y).nextAvailableDates, (J, ht) => (T(), A("li", { key: ht }, [
|
|
9313
9319
|
k("h3", {
|
|
9314
|
-
title: `${
|
|
9320
|
+
title: `${c(se)(J.fromDate, 0, !0)} - ${c(se)(J.toDate, 0, !0)}`
|
|
9315
9321
|
}, [
|
|
9316
|
-
k("span", null, I(`${
|
|
9322
|
+
k("span", null, I(`${c(se)(J.fromDate, 0, !0)} - ${c(se)(J.toDate, 0, !0)}`), 1)
|
|
9317
9323
|
], 8, fu),
|
|
9318
9324
|
k("ul", null, [
|
|
9319
|
-
isNaN(J.roomCount) ?
|
|
9325
|
+
isNaN(J.roomCount) ? D("", !0) : (T(), A("li", pu, [
|
|
9320
9326
|
B(Mt, {
|
|
9321
9327
|
icon: "house",
|
|
9322
9328
|
type: "fal",
|
|
9323
9329
|
color: "header"
|
|
9324
9330
|
}),
|
|
9325
|
-
k("span", null, I(
|
|
9331
|
+
k("span", null, I(c(p)("booking.availability.units")) + ": " + I(J.roomCount), 1)
|
|
9326
9332
|
])),
|
|
9327
9333
|
k("li", null, [
|
|
9328
9334
|
B(Mt, {
|
|
@@ -9330,19 +9336,19 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9330
9336
|
type: "fal",
|
|
9331
9337
|
color: "header"
|
|
9332
9338
|
}),
|
|
9333
|
-
k("span", null, I(
|
|
9339
|
+
k("span", null, I(c(p)("booking.availability.pricesFrom")) + ": " + I(c(ae)(J.priceStartFrom, c(Be))), 1)
|
|
9334
9340
|
])
|
|
9335
9341
|
]),
|
|
9336
9342
|
B(re, {
|
|
9337
|
-
label:
|
|
9343
|
+
label: c(p)("booking.availability.selectDates"),
|
|
9338
9344
|
"full-width": "",
|
|
9339
|
-
onClickEvent: ($) =>
|
|
9345
|
+
onClickEvent: ($) => c(Ti)(new Date(J.fromDate), new Date(J.toDate))
|
|
9340
9346
|
}, null, 8, ["label", "onClickEvent"])
|
|
9341
9347
|
]))), 128))
|
|
9342
9348
|
])
|
|
9343
9349
|
]))
|
|
9344
|
-
])) : isNaN(
|
|
9345
|
-
k("span", null, I(
|
|
9350
|
+
])) : isNaN(c(v)) && !c(f) ? (T(), A("div", _u, [
|
|
9351
|
+
k("span", null, I(c(p)("alert.info.selectHotelToStart")), 1)
|
|
9346
9352
|
])) : (T(), A("div", mu, [
|
|
9347
9353
|
B(eo),
|
|
9348
9354
|
B(eo),
|
|
@@ -9351,16 +9357,16 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9351
9357
|
])
|
|
9352
9358
|
]),
|
|
9353
9359
|
navigation: tt(() => [
|
|
9354
|
-
|
|
9360
|
+
c(Bt) ? (T(), lt(re, {
|
|
9355
9361
|
key: 0,
|
|
9356
|
-
label: isNaN(
|
|
9357
|
-
"is-loading":
|
|
9362
|
+
label: isNaN(c(v)) ? c(p)("availability.buttonLabel") : c(p)("general.searchAgain"),
|
|
9363
|
+
"is-loading": c(f),
|
|
9358
9364
|
"full-width": "",
|
|
9359
9365
|
onClickEvent: F[2] || (F[2] = (J) => Di())
|
|
9360
9366
|
}, null, 8, ["label", "is-loading"])) : (T(), lt(re, {
|
|
9361
9367
|
key: 1,
|
|
9362
|
-
label:
|
|
9363
|
-
disabled: !
|
|
9368
|
+
label: c(kt) || ai.value ? c(p)("booking.availability.nextButton") : c(p)("general.chooseAddons"),
|
|
9369
|
+
disabled: !c(et),
|
|
9364
9370
|
"full-width": "",
|
|
9365
9371
|
onClickEvent: (J) => Ri(yt)
|
|
9366
9372
|
}, null, 8, ["label", "disabled", "onClickEvent"])),
|
|
@@ -9369,44 +9375,50 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9369
9375
|
icon: "exclamation-triangle",
|
|
9370
9376
|
type: "fas"
|
|
9371
9377
|
}),
|
|
9372
|
-
k("span", null, I(
|
|
9378
|
+
k("span", null, I(c(p)("hotel.mismatchingAdults", { searchAdults: c(vt), selectedAdults: c(ot) })), 1)
|
|
9373
9379
|
], 512), [
|
|
9374
|
-
[ze,
|
|
9380
|
+
[ze, c(K)]
|
|
9375
9381
|
]),
|
|
9376
9382
|
ke(k("span", vu, [
|
|
9377
9383
|
B(Mt, {
|
|
9378
9384
|
icon: "exclamation-triangle",
|
|
9379
9385
|
type: "fas"
|
|
9380
9386
|
}),
|
|
9381
|
-
k("span", null, I(
|
|
9387
|
+
k("span", null, I(c(p)("hotel.mismatchingChildren", { searchChildren: c(le), selectedChildren: c(pt) })), 1)
|
|
9382
9388
|
], 512), [
|
|
9383
|
-
[ze,
|
|
9389
|
+
[ze, c(wt)]
|
|
9384
9390
|
])
|
|
9385
9391
|
]),
|
|
9386
9392
|
_: 2
|
|
9387
9393
|
}, 1024)
|
|
9388
9394
|
]),
|
|
9389
9395
|
addons: tt(({ next: yt, prev: J }) => [
|
|
9390
|
-
|
|
9396
|
+
c(mt) ? (T(), lt(oo, {
|
|
9391
9397
|
key: 0,
|
|
9392
9398
|
"prev-callback": () => Vt(J)
|
|
9393
9399
|
}, {
|
|
9394
9400
|
form: tt(() => [
|
|
9395
9401
|
k("form", yu, [
|
|
9396
9402
|
k("h2", null, [
|
|
9397
|
-
k("span", null, I(
|
|
9403
|
+
k("span", null, I(c(p)("booking.reservation.addons")), 1)
|
|
9398
9404
|
]),
|
|
9405
|
+
c(p)("hotel.addonTopNotice") && c(p)("hotel.addonTopNotice") !== "<br>" ? (T(), A("div", bu, [
|
|
9406
|
+
k("p", {
|
|
9407
|
+
innerHTML: c(p)("hotel.addonTopNotice"),
|
|
9408
|
+
class: "konnectio-wysiwyg"
|
|
9409
|
+
}, null, 8, Lu)
|
|
9410
|
+
])) : D("", !0),
|
|
9399
9411
|
k("div", null, [
|
|
9400
|
-
isNaN(
|
|
9401
|
-
(T(!0), A(dt, null, St(
|
|
9412
|
+
isNaN(c(o)) ? (T(), A("div", ku, [
|
|
9413
|
+
(T(!0), A(dt, null, St(c(at), (ht) => (T(), A(dt, {
|
|
9402
9414
|
key: ht.roomGroupID
|
|
9403
9415
|
}, [
|
|
9404
|
-
|
|
9416
|
+
c(Ln)(ht) ? (T(), A("ul", wu, [
|
|
9405
9417
|
(T(!0), A(dt, null, St(ht.variants, ($, Zt) => (T(), A("li", {
|
|
9406
9418
|
key: $.ratePlanID
|
|
9407
9419
|
}, [
|
|
9408
9420
|
k("h4", null, [
|
|
9409
|
-
k("span", null, I(
|
|
9421
|
+
k("span", null, I(c(pe)(ht.title)), 1)
|
|
9410
9422
|
]),
|
|
9411
9423
|
(T(!0), A(dt, null, St($.rooms, (ft, Ut) => (T(), A("table", {
|
|
9412
9424
|
key: Ut,
|
|
@@ -9415,10 +9427,10 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9415
9427
|
k("thead", null, [
|
|
9416
9428
|
k("tr", null, [
|
|
9417
9429
|
k("th", null, [
|
|
9418
|
-
k("span", null, I(
|
|
9430
|
+
k("span", null, I(c(pe)($.name)), 1)
|
|
9419
9431
|
]),
|
|
9420
|
-
|
|
9421
|
-
k("th",
|
|
9432
|
+
D("", !0),
|
|
9433
|
+
k("th", Pu, [
|
|
9422
9434
|
k("b", null, [
|
|
9423
9435
|
B(Mt, {
|
|
9424
9436
|
icon: "male",
|
|
@@ -9431,14 +9443,14 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9431
9443
|
icon: "child",
|
|
9432
9444
|
type: "fas",
|
|
9433
9445
|
color: "font"
|
|
9434
|
-
})) :
|
|
9435
|
-
ft.childrenCount > 0 ? (T(), A("span",
|
|
9446
|
+
})) : D("", !0),
|
|
9447
|
+
ft.childrenCount > 0 ? (T(), A("span", Cu, I(ft.childrenCount), 1)) : D("", !0)
|
|
9436
9448
|
])
|
|
9437
9449
|
])
|
|
9438
9450
|
])
|
|
9439
9451
|
]),
|
|
9440
9452
|
k("tbody", null, [
|
|
9441
|
-
(T(!0), A(dt, null, St(
|
|
9453
|
+
(T(!0), A(dt, null, St(c(Zi)($.addons, ft.childrenCount), ({
|
|
9442
9454
|
cardinality: Ft,
|
|
9443
9455
|
quantityStrategy: Jt,
|
|
9444
9456
|
maximumNumber: Re,
|
|
@@ -9451,24 +9463,24 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9451
9463
|
k("td", {
|
|
9452
9464
|
class: we(["konnectio-table-addons-information", { "has-image": xe }])
|
|
9453
9465
|
}, [
|
|
9454
|
-
xe ? (T(), A("div",
|
|
9455
|
-
B(
|
|
9466
|
+
xe ? (T(), A("div", Tu, [
|
|
9467
|
+
B(c(Sa), {
|
|
9456
9468
|
src: xe,
|
|
9457
9469
|
"zoom-scale": 1
|
|
9458
9470
|
}, null, 8, ["src"])
|
|
9459
|
-
])) :
|
|
9471
|
+
])) : D("", !0),
|
|
9460
9472
|
k("div", null, [
|
|
9461
|
-
k("b", null, I(
|
|
9462
|
-
k("span", null, I(
|
|
9473
|
+
k("b", null, I(c(pe)(Cn)), 1),
|
|
9474
|
+
k("span", null, I(c(ae)(Tn, c(Be))) + " " + I(c(ns)(Jt)), 1),
|
|
9463
9475
|
ge ? (T(), A("p", {
|
|
9464
9476
|
key: 0,
|
|
9465
|
-
innerHTML:
|
|
9466
|
-
}, null, 8,
|
|
9477
|
+
innerHTML: c(Gr)(ge)
|
|
9478
|
+
}, null, 8, xu)) : D("", !0)
|
|
9467
9479
|
])
|
|
9468
9480
|
], 2),
|
|
9469
|
-
k("td",
|
|
9470
|
-
|
|
9471
|
-
Ft ===
|
|
9481
|
+
k("td", Mu, [
|
|
9482
|
+
c(V)[ht.roomGroupID][Zt].config[ft.configIdx].addons[ft.roomIdx] ? (T(), A(dt, { key: 0 }, [
|
|
9483
|
+
Ft === c(os).Mandatory ? (T(), lt(Li, {
|
|
9472
9484
|
key: 0,
|
|
9473
9485
|
"model-value": 1,
|
|
9474
9486
|
small: !0,
|
|
@@ -9477,37 +9489,37 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9477
9489
|
readonly: ""
|
|
9478
9490
|
})) : (T(), lt(Li, {
|
|
9479
9491
|
key: 1,
|
|
9480
|
-
modelValue:
|
|
9481
|
-
"onUpdate:modelValue": (Vi) =>
|
|
9492
|
+
modelValue: c(V)[ht.roomGroupID][Zt].config[ft.configIdx].addons[ft.roomIdx][li],
|
|
9493
|
+
"onUpdate:modelValue": (Vi) => c(V)[ht.roomGroupID][Zt].config[ft.configIdx].addons[ft.roomIdx][li] = Vi,
|
|
9482
9494
|
small: !0,
|
|
9483
9495
|
"min-value": 0,
|
|
9484
9496
|
"max-value": Re || 1 / 0
|
|
9485
9497
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"]))
|
|
9486
|
-
], 64)) :
|
|
9498
|
+
], 64)) : D("", !0)
|
|
9487
9499
|
])
|
|
9488
9500
|
]))), 128))
|
|
9489
9501
|
])
|
|
9490
9502
|
]))), 128))
|
|
9491
9503
|
]))), 128))
|
|
9492
|
-
])) :
|
|
9504
|
+
])) : D("", !0)
|
|
9493
9505
|
], 64))), 128))
|
|
9494
|
-
])) :
|
|
9506
|
+
])) : c(zt) ? (T(), A("div", Su, [
|
|
9495
9507
|
k("div", null, [
|
|
9496
9508
|
k("h4", null, [
|
|
9497
|
-
k("span", null, I(
|
|
9509
|
+
k("span", null, I(c(gt).name), 1)
|
|
9498
9510
|
]),
|
|
9499
|
-
k("table",
|
|
9511
|
+
k("table", Au, [
|
|
9500
9512
|
k("thead", null, [
|
|
9501
9513
|
k("tr", null, [
|
|
9502
9514
|
k("th", null, [
|
|
9503
|
-
k("span", null, I(
|
|
9515
|
+
k("span", null, I(c(pe)(c(zt).title)), 1)
|
|
9504
9516
|
]),
|
|
9505
|
-
|
|
9517
|
+
D("", !0),
|
|
9506
9518
|
F[20] || (F[20] = k("th", { class: "konnectio-event-addons-price" }, null, -1))
|
|
9507
9519
|
])
|
|
9508
9520
|
]),
|
|
9509
9521
|
k("tbody", null, [
|
|
9510
|
-
(T(!0), A(dt, null, St(
|
|
9522
|
+
(T(!0), A(dt, null, St(c(Zi)(c(zt).addons, c(U)), ({
|
|
9511
9523
|
cardinality: ht,
|
|
9512
9524
|
quantityStrategy: $,
|
|
9513
9525
|
maximumNumber: Zt,
|
|
@@ -9515,12 +9527,12 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9515
9527
|
name: Ut,
|
|
9516
9528
|
price: Ft
|
|
9517
9529
|
}) => (T(), A("tr", { key: ft }, [
|
|
9518
|
-
k("td",
|
|
9519
|
-
k("b", null, I(
|
|
9520
|
-
k("span", null, I(
|
|
9530
|
+
k("td", Iu, [
|
|
9531
|
+
k("b", null, I(c(pe)(Ut)), 1),
|
|
9532
|
+
k("span", null, I(c(ae)(Ft, c(Be))) + " " + I(c(ns)($)), 1)
|
|
9521
9533
|
]),
|
|
9522
|
-
k("td",
|
|
9523
|
-
ht ===
|
|
9534
|
+
k("td", Ou, [
|
|
9535
|
+
ht === c(os).Mandatory ? (T(), lt(Li, {
|
|
9524
9536
|
key: 0,
|
|
9525
9537
|
"model-value": 1,
|
|
9526
9538
|
small: !0,
|
|
@@ -9529,8 +9541,8 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9529
9541
|
readonly: ""
|
|
9530
9542
|
})) : (T(), lt(Li, {
|
|
9531
9543
|
key: 1,
|
|
9532
|
-
modelValue:
|
|
9533
|
-
"onUpdate:modelValue": (Jt) =>
|
|
9544
|
+
modelValue: c(r)[ft],
|
|
9545
|
+
"onUpdate:modelValue": (Jt) => c(r)[ft] = Jt,
|
|
9534
9546
|
small: !0,
|
|
9535
9547
|
"min-value": 0,
|
|
9536
9548
|
"max-value": Zt || 1 / 0
|
|
@@ -9540,179 +9552,185 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9540
9552
|
])
|
|
9541
9553
|
])
|
|
9542
9554
|
])
|
|
9543
|
-
])) :
|
|
9555
|
+
])) : D("", !0)
|
|
9544
9556
|
])
|
|
9545
9557
|
])
|
|
9546
9558
|
]),
|
|
9547
9559
|
navigation: tt(() => [
|
|
9548
9560
|
B(re, {
|
|
9549
|
-
label:
|
|
9561
|
+
label: c(p)("general.startReservation"),
|
|
9550
9562
|
"full-width": "",
|
|
9551
9563
|
onClickEvent: yt
|
|
9552
9564
|
}, null, 8, ["label", "onClickEvent"])
|
|
9553
9565
|
]),
|
|
9554
9566
|
_: 2
|
|
9555
|
-
}, 1032, ["prev-callback"])) :
|
|
9567
|
+
}, 1032, ["prev-callback"])) : D("", !0)
|
|
9556
9568
|
]),
|
|
9557
9569
|
reservation: tt(({ next: yt, prev: J, reset: ht }) => [
|
|
9558
|
-
|
|
9570
|
+
c(mt) ? (T(), lt(oo, {
|
|
9559
9571
|
key: 0,
|
|
9560
9572
|
"prev-callback": () => Vt(J),
|
|
9561
9573
|
"show-terms-notice": !0,
|
|
9562
9574
|
"show-gift-card": !0
|
|
9563
9575
|
}, {
|
|
9564
9576
|
form: tt(() => [
|
|
9565
|
-
k("form",
|
|
9577
|
+
k("form", zu, [
|
|
9566
9578
|
k("h2", null, [
|
|
9567
|
-
k("span", null, I(
|
|
9579
|
+
k("span", null, I(c(p)("booking.reservation.detailsTitle")), 1)
|
|
9568
9580
|
]),
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9581
|
+
c(p)("hotel.reservationTopNotice") && c(p)("hotel.reservationTopNotice") !== "<br>" ? (T(), A("div", Eu, [
|
|
9582
|
+
k("p", {
|
|
9583
|
+
innerHTML: c(p)("hotel.reservationTopNotice"),
|
|
9584
|
+
class: "konnectio-wysiwyg"
|
|
9585
|
+
}, null, 8, Bu)
|
|
9586
|
+
])) : D("", !0),
|
|
9587
|
+
c(Ii)(c(v)) && c(De)(c(v)) && c(ni)(c(v)) ? (T(), A("ul", {
|
|
9588
|
+
key: 1,
|
|
9589
|
+
class: we(["konnectio-reservation-timepicker", { "konnectio-split-inputs": c(De)(c(v)) && c(ni)(c(v)) }])
|
|
9572
9590
|
}, [
|
|
9573
|
-
|
|
9591
|
+
c(De)(c(v)) ? (T(), A("li", Zu, [
|
|
9574
9592
|
B(ds, {
|
|
9575
|
-
modelValue:
|
|
9593
|
+
modelValue: c(w),
|
|
9576
9594
|
"onUpdate:modelValue": F[3] || (F[3] = ($) => It(w) ? w.value = $ : null),
|
|
9577
|
-
label:
|
|
9595
|
+
label: c(p)("booking.reservation.arrivalTime"),
|
|
9578
9596
|
icon: "hourglass-start",
|
|
9579
|
-
"min-time":
|
|
9580
|
-
"max-time":
|
|
9597
|
+
"min-time": c(Oi)(c(v)),
|
|
9598
|
+
"max-time": c(oi)(c(v)),
|
|
9581
9599
|
required: ""
|
|
9582
9600
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
9583
|
-
])) :
|
|
9584
|
-
|
|
9601
|
+
])) : D("", !0),
|
|
9602
|
+
c(ni)(c(v)) ? (T(), A("li", Du, [
|
|
9585
9603
|
B(ds, {
|
|
9586
|
-
modelValue:
|
|
9604
|
+
modelValue: c(P),
|
|
9587
9605
|
"onUpdate:modelValue": F[4] || (F[4] = ($) => It(P) ? P.value = $ : null),
|
|
9588
|
-
label:
|
|
9606
|
+
label: c(p)("booking.reservation.departureTime"),
|
|
9589
9607
|
icon: "hourglass-end",
|
|
9590
|
-
"min-time":
|
|
9591
|
-
"max-time":
|
|
9608
|
+
"min-time": c(zi)(c(v)),
|
|
9609
|
+
"max-time": c(mn)(c(v)),
|
|
9592
9610
|
required: ""
|
|
9593
9611
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
9594
|
-
])) :
|
|
9595
|
-
], 2)) :
|
|
9612
|
+
])) : D("", !0)
|
|
9613
|
+
], 2)) : D("", !0),
|
|
9596
9614
|
B(Nl, {
|
|
9597
|
-
modelValue:
|
|
9615
|
+
modelValue: c(S),
|
|
9598
9616
|
"onUpdate:modelValue": F[5] || (F[5] = ($) => It(S) ? S.value = $ : null),
|
|
9599
|
-
title:
|
|
9617
|
+
title: c(x),
|
|
9600
9618
|
"onUpdate:title": F[6] || (F[6] = ($) => It(x) ? x.value = $ : null),
|
|
9601
|
-
"exclude-title":
|
|
9602
|
-
label:
|
|
9619
|
+
"exclude-title": c(Ze),
|
|
9620
|
+
label: c(p)("booking.reservation.name"),
|
|
9603
9621
|
icon: "user-alt",
|
|
9604
|
-
placeholder:
|
|
9622
|
+
placeholder: c(p)("booking.reservation.namePlaceholder"),
|
|
9605
9623
|
required: ""
|
|
9606
9624
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
9607
9625
|
B(be, {
|
|
9608
|
-
modelValue:
|
|
9626
|
+
modelValue: c(H),
|
|
9609
9627
|
"onUpdate:modelValue": F[7] || (F[7] = ($) => It(H) ? H.value = $ : null),
|
|
9610
9628
|
type: "email",
|
|
9611
9629
|
name: "email",
|
|
9612
9630
|
autocomplete: "email",
|
|
9613
9631
|
inputmode: "email",
|
|
9614
|
-
label:
|
|
9632
|
+
label: c(p)("booking.reservation.email"),
|
|
9615
9633
|
icon: "at",
|
|
9616
|
-
placeholder:
|
|
9634
|
+
placeholder: c(p)("booking.reservation.emailPlaceholder"),
|
|
9617
9635
|
required: ""
|
|
9618
9636
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9619
|
-
|
|
9637
|
+
c(Ai) ? D("", !0) : (T(), A("div", Nu, [
|
|
9620
9638
|
B(ro, {
|
|
9621
|
-
modelValue:
|
|
9639
|
+
modelValue: c(R),
|
|
9622
9640
|
"onUpdate:modelValue": F[8] || (F[8] = ($) => It(R) ? R.value = $ : null),
|
|
9623
9641
|
type: "checkbox",
|
|
9624
9642
|
name: "newsletter",
|
|
9625
|
-
label:
|
|
9643
|
+
label: c(p)("booking.reservation.newsletterSignUp")
|
|
9626
9644
|
}, null, 8, ["modelValue", "label"])
|
|
9627
9645
|
])),
|
|
9628
|
-
|
|
9629
|
-
key:
|
|
9630
|
-
modelValue:
|
|
9646
|
+
c(Je) ? D("", !0) : (T(), lt(be, {
|
|
9647
|
+
key: 3,
|
|
9648
|
+
modelValue: c(z),
|
|
9631
9649
|
"onUpdate:modelValue": F[9] || (F[9] = ($) => It(z) ? z.value = $ : null),
|
|
9632
9650
|
type: "text",
|
|
9633
9651
|
name: "firm",
|
|
9634
9652
|
autocomplete: "firm",
|
|
9635
|
-
label:
|
|
9653
|
+
label: c(p)("booking.reservation.companyName"),
|
|
9636
9654
|
icon: "id-card",
|
|
9637
|
-
placeholder:
|
|
9655
|
+
placeholder: c(p)("booking.reservation.companyNamePlaceholder")
|
|
9638
9656
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
9639
9657
|
B(sa, {
|
|
9640
|
-
modelValue:
|
|
9658
|
+
modelValue: c(Z),
|
|
9641
9659
|
"onUpdate:modelValue": F[10] || (F[10] = ($) => It(Z) ? Z.value = $ : null),
|
|
9642
9660
|
icon: "phone-office",
|
|
9643
|
-
label:
|
|
9644
|
-
placeholder:
|
|
9661
|
+
label: c(p)("booking.reservation.phone"),
|
|
9662
|
+
placeholder: c(p)("booking.reservation.phonePlaceholder"),
|
|
9645
9663
|
required: ""
|
|
9646
9664
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9647
9665
|
B(Zl, {
|
|
9648
|
-
modelValue:
|
|
9666
|
+
modelValue: c(xt),
|
|
9649
9667
|
"onUpdate:modelValue": F[11] || (F[11] = ($) => It(xt) ? xt.value = $ : null),
|
|
9650
|
-
label:
|
|
9651
|
-
placeholder:
|
|
9652
|
-
options: d
|
|
9668
|
+
label: c(p)("booking.reservation.country"),
|
|
9669
|
+
placeholder: c(p)("booking.reservation.countryPlaceholder"),
|
|
9670
|
+
options: c(d),
|
|
9653
9671
|
required: ""
|
|
9654
9672
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
9655
9673
|
B(be, {
|
|
9656
|
-
modelValue:
|
|
9674
|
+
modelValue: c(st),
|
|
9657
9675
|
"onUpdate:modelValue": F[12] || (F[12] = ($) => It(st) ? st.value = $ : null),
|
|
9658
9676
|
type: "textarea",
|
|
9659
9677
|
name: "address",
|
|
9660
9678
|
autocomplete: "street-address",
|
|
9661
|
-
label:
|
|
9679
|
+
label: c(p)("booking.reservation.streetAddress"),
|
|
9662
9680
|
icon: "map-marked",
|
|
9663
|
-
placeholder:
|
|
9681
|
+
placeholder: c(p)("booking.reservation.streetAddressPlaceholder"),
|
|
9664
9682
|
required: ""
|
|
9665
9683
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9666
|
-
k("ul",
|
|
9684
|
+
k("ul", Ru, [
|
|
9667
9685
|
k("li", null, [
|
|
9668
9686
|
B(be, {
|
|
9669
|
-
modelValue:
|
|
9687
|
+
modelValue: c(W),
|
|
9670
9688
|
"onUpdate:modelValue": F[13] || (F[13] = ($) => It(W) ? W.value = $ : null),
|
|
9671
9689
|
type: "text",
|
|
9672
9690
|
name: "postal",
|
|
9673
9691
|
autocomplete: "postal-code",
|
|
9674
|
-
label:
|
|
9692
|
+
label: c(p)("booking.reservation.postal"),
|
|
9675
9693
|
icon: "mailbox",
|
|
9676
|
-
placeholder:
|
|
9694
|
+
placeholder: c(p)("booking.reservation.postalPlaceholder"),
|
|
9677
9695
|
required: ""
|
|
9678
9696
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
9679
9697
|
]),
|
|
9680
9698
|
k("li", null, [
|
|
9681
9699
|
B(be, {
|
|
9682
|
-
modelValue:
|
|
9700
|
+
modelValue: c(ut),
|
|
9683
9701
|
"onUpdate:modelValue": F[14] || (F[14] = ($) => It(ut) ? ut.value = $ : null),
|
|
9684
9702
|
type: "text",
|
|
9685
9703
|
name: "city",
|
|
9686
9704
|
autocomplete: "address-level2",
|
|
9687
|
-
label:
|
|
9705
|
+
label: c(p)("booking.reservation.city"),
|
|
9688
9706
|
icon: "city",
|
|
9689
|
-
placeholder:
|
|
9707
|
+
placeholder: c(p)("booking.reservation.cityPlaceholder"),
|
|
9690
9708
|
required: ""
|
|
9691
9709
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
9692
9710
|
])
|
|
9693
9711
|
]),
|
|
9694
9712
|
B(be, {
|
|
9695
|
-
modelValue:
|
|
9713
|
+
modelValue: c(Lt),
|
|
9696
9714
|
"onUpdate:modelValue": F[15] || (F[15] = ($) => It(Lt) ? Lt.value = $ : null),
|
|
9697
9715
|
type: "textarea",
|
|
9698
|
-
label:
|
|
9716
|
+
label: c(p)("booking.reservation.remark"),
|
|
9699
9717
|
icon: "info-circle",
|
|
9700
|
-
placeholder:
|
|
9718
|
+
placeholder: c(p)("booking.reservation.remarkPlaceholder")
|
|
9701
9719
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9702
9720
|
E.hideAllergies !== "yes" ? (T(), lt(be, {
|
|
9703
|
-
key:
|
|
9704
|
-
modelValue:
|
|
9721
|
+
key: 4,
|
|
9722
|
+
modelValue: c(Ot),
|
|
9705
9723
|
"onUpdate:modelValue": F[16] || (F[16] = ($) => It(Ot) ? Ot.value = $ : null),
|
|
9706
9724
|
type: "textarea",
|
|
9707
|
-
label:
|
|
9725
|
+
label: c(p)("booking.reservation.allergies"),
|
|
9708
9726
|
icon: "allergies",
|
|
9709
|
-
placeholder:
|
|
9710
|
-
}, null, 8, ["modelValue", "label", "placeholder"])) :
|
|
9711
|
-
|
|
9712
|
-
key:
|
|
9713
|
-
modelValue:
|
|
9727
|
+
placeholder: c(p)("booking.reservation.allergiesPlaceholder")
|
|
9728
|
+
}, null, 8, ["modelValue", "label", "placeholder"])) : D("", !0),
|
|
9729
|
+
c(pn) ? D("", !0) : (T(), lt(Jr, {
|
|
9730
|
+
key: 5,
|
|
9731
|
+
modelValue: c(g),
|
|
9714
9732
|
"onUpdate:modelValue": F[17] || (F[17] = ($) => It(g) ? g.value = $ : null),
|
|
9715
|
-
label:
|
|
9733
|
+
label: c(p)("booking.reservation.purposeOfStay"),
|
|
9716
9734
|
name: "travelingFor",
|
|
9717
9735
|
checkboxes: Pn.value
|
|
9718
9736
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
@@ -9721,29 +9739,29 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9721
9739
|
navigation: tt(() => [
|
|
9722
9740
|
k("div", null, [
|
|
9723
9741
|
B(re, {
|
|
9724
|
-
label:
|
|
9725
|
-
disabled: !
|
|
9726
|
-
"is-loading":
|
|
9742
|
+
label: c(Mi) ? c(p)("booking.reservation.nextButton") : c(p)("general.confirmReservation"),
|
|
9743
|
+
disabled: !c(y),
|
|
9744
|
+
"is-loading": c(m),
|
|
9727
9745
|
"full-width": "",
|
|
9728
|
-
onClickEvent: ($) =>
|
|
9746
|
+
onClickEvent: ($) => N(yt, ht)
|
|
9729
9747
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
9730
9748
|
])
|
|
9731
9749
|
]),
|
|
9732
9750
|
_: 2
|
|
9733
|
-
}, 1032, ["prev-callback"])) :
|
|
9751
|
+
}, 1032, ["prev-callback"])) : D("", !0)
|
|
9734
9752
|
]),
|
|
9735
9753
|
payment: tt(({ prev: yt }) => [
|
|
9736
9754
|
B(oa),
|
|
9737
|
-
|
|
9755
|
+
D("", !0)
|
|
9738
9756
|
]),
|
|
9739
9757
|
confirmation: tt(() => [
|
|
9740
9758
|
B(Xr, {
|
|
9741
|
-
message:
|
|
9759
|
+
message: c(p)("booking.confirmation.thankYou")
|
|
9742
9760
|
}, null, 8, ["message"])
|
|
9743
9761
|
]),
|
|
9744
9762
|
_: 1
|
|
9745
9763
|
}, 8, ["layout", "steps", "onReset"]), [
|
|
9746
|
-
[ze, E.requireGuestDiscountId === "no" || E.requireGuestDiscountId === "yes" &&
|
|
9764
|
+
[ze, E.requireGuestDiscountId === "no" || E.requireGuestDiscountId === "yes" && c(it)]
|
|
9747
9765
|
])
|
|
9748
9766
|
]),
|
|
9749
9767
|
_: 1
|
|
@@ -9758,14 +9776,14 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9758
9776
|
_: 1
|
|
9759
9777
|
}, 8, ["styling"]));
|
|
9760
9778
|
}
|
|
9761
|
-
}), fs = /* @__PURE__ */ Kt(
|
|
9779
|
+
}), fs = /* @__PURE__ */ Kt(Hu, [["__scopeId", "data-v-0a2ec6fc"]]), Vu = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), an = /* @__PURE__ */ new Set([
|
|
9762
9780
|
"base",
|
|
9763
9781
|
"meta",
|
|
9764
9782
|
"link",
|
|
9765
9783
|
"style",
|
|
9766
9784
|
"script",
|
|
9767
9785
|
"noscript"
|
|
9768
|
-
]),
|
|
9786
|
+
]), Fu = /* @__PURE__ */ new Set([
|
|
9769
9787
|
"title",
|
|
9770
9788
|
"titleTemplate",
|
|
9771
9789
|
"templateParams",
|
|
@@ -9777,7 +9795,7 @@ const Zu = /* @__PURE__ */ Nt({
|
|
|
9777
9795
|
"style",
|
|
9778
9796
|
"script",
|
|
9779
9797
|
"noscript"
|
|
9780
|
-
]),
|
|
9798
|
+
]), Gu = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]), xs = /* @__PURE__ */ new Set(["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"]), Uu = typeof window < "u";
|
|
9781
9799
|
function un(a) {
|
|
9782
9800
|
let u = 9;
|
|
9783
9801
|
for (let h = 0; h < a.length; )
|
|
@@ -9794,7 +9812,7 @@ function lo(a) {
|
|
|
9794
9812
|
u += `${h}:${String(a.props[h])},`;
|
|
9795
9813
|
return un(u);
|
|
9796
9814
|
}
|
|
9797
|
-
function
|
|
9815
|
+
function $u(a, u) {
|
|
9798
9816
|
return a instanceof Promise ? a.then(u) : u(a);
|
|
9799
9817
|
}
|
|
9800
9818
|
function uo(a, u, h, p) {
|
|
@@ -9811,12 +9829,12 @@ function uo(a, u, h, p) {
|
|
|
9811
9829
|
props: v
|
|
9812
9830
|
};
|
|
9813
9831
|
for (const r of xs) {
|
|
9814
|
-
const
|
|
9815
|
-
|
|
9832
|
+
const d = o.props[r] !== void 0 ? o.props[r] : h[r];
|
|
9833
|
+
d !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") || Vu.has(o.tag)) && (o[r === "children" ? "innerHTML" : r] = d), delete o.props[r]);
|
|
9816
9834
|
}
|
|
9817
9835
|
return o.props.body && (o.tagPosition = "bodyClose", delete o.props.body), o.tag === "script" && typeof o.innerHTML == "object" && (o.innerHTML = JSON.stringify(o.innerHTML), o.props.type = o.props.type || "application/json"), Array.isArray(o.props.content) ? o.props.content.map((r) => ({ ...o, props: { ...o.props, content: r } })) : o;
|
|
9818
9836
|
}
|
|
9819
|
-
function
|
|
9837
|
+
function Wu(a, u) {
|
|
9820
9838
|
const h = a === "class" ? " " : ";";
|
|
9821
9839
|
return u && typeof u == "object" && !Array.isArray(u) && (u = Object.entries(u).filter(([, p]) => p).map(([p, v]) => a === "style" ? `${p}:${v}` : p)), String(Array.isArray(u) ? u.join(h) : u)?.split(h).filter((p) => !!p.trim()).join(h);
|
|
9822
9840
|
}
|
|
@@ -9824,14 +9842,14 @@ function Ms(a, u, h, p) {
|
|
|
9824
9842
|
for (let v = p; v < h.length; v += 1) {
|
|
9825
9843
|
const o = h[v];
|
|
9826
9844
|
if (o === "class" || o === "style") {
|
|
9827
|
-
a[o] =
|
|
9845
|
+
a[o] = Wu(o, a[o]);
|
|
9828
9846
|
continue;
|
|
9829
9847
|
}
|
|
9830
9848
|
if (a[o] instanceof Promise)
|
|
9831
9849
|
return a[o].then((r) => (a[o] = r, Ms(a, u, h, v)));
|
|
9832
9850
|
if (!u && !xs.has(o)) {
|
|
9833
|
-
const r = String(a[o]),
|
|
9834
|
-
r === "true" || r === "" ? a[o] =
|
|
9851
|
+
const r = String(a[o]), d = o.startsWith("data-");
|
|
9852
|
+
r === "true" || r === "" ? a[o] = d ? "true" : !0 : a[o] || (d && r === "false" ? a[o] = "false" : delete a[o]);
|
|
9835
9853
|
}
|
|
9836
9854
|
}
|
|
9837
9855
|
}
|
|
@@ -9839,7 +9857,7 @@ function Ss(a, u = !1) {
|
|
|
9839
9857
|
const h = Ms(a, u, Object.keys(a), 0);
|
|
9840
9858
|
return h instanceof Promise ? h.then(() => a) : a;
|
|
9841
9859
|
}
|
|
9842
|
-
const
|
|
9860
|
+
const qu = 10;
|
|
9843
9861
|
function As(a, u, h) {
|
|
9844
9862
|
for (let p = h; p < u.length; p += 1) {
|
|
9845
9863
|
const v = u[p];
|
|
@@ -9848,13 +9866,13 @@ function As(a, u, h) {
|
|
|
9848
9866
|
Array.isArray(v) ? a.push(...v) : a.push(v);
|
|
9849
9867
|
}
|
|
9850
9868
|
}
|
|
9851
|
-
function
|
|
9869
|
+
function ju(a) {
|
|
9852
9870
|
const u = [], h = a.resolvedInput;
|
|
9853
9871
|
for (const v in h) {
|
|
9854
9872
|
if (!Object.prototype.hasOwnProperty.call(h, v))
|
|
9855
9873
|
continue;
|
|
9856
9874
|
const o = h[v];
|
|
9857
|
-
if (!(o === void 0 || !
|
|
9875
|
+
if (!(o === void 0 || !Fu.has(v))) {
|
|
9858
9876
|
if (Array.isArray(o)) {
|
|
9859
9877
|
for (const r of o)
|
|
9860
9878
|
u.push(uo(v, r, a));
|
|
@@ -9866,7 +9884,7 @@ function Uu(a) {
|
|
|
9866
9884
|
if (u.length === 0)
|
|
9867
9885
|
return [];
|
|
9868
9886
|
const p = [];
|
|
9869
|
-
return
|
|
9887
|
+
return $u(As(p, u, 0), () => p.map((v, o) => (v._e = a._i, a.mode && (v._m = a.mode), v._p = (a._i << qu) + o, v)));
|
|
9870
9888
|
}
|
|
9871
9889
|
const ps = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress", "onloadstart"]), _s = {
|
|
9872
9890
|
// tags
|
|
@@ -9885,10 +9903,10 @@ function hn(a) {
|
|
|
9885
9903
|
let h = 100;
|
|
9886
9904
|
return a.tag === "meta" ? a.props["http-equiv"] === "content-security-policy" ? h = -30 : a.props.charset ? h = -20 : a.props.name === "viewport" && (h = -15) : a.tag === "link" && a.props.rel === "preconnect" ? h = 20 : a.tag in _s && (h = _s[a.tag]), u && u in ms ? h + ms[u] : h;
|
|
9887
9905
|
}
|
|
9888
|
-
const
|
|
9906
|
+
const Yu = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Ku = ["name", "property", "http-equiv"];
|
|
9889
9907
|
function Is(a) {
|
|
9890
9908
|
const { props: u, tag: h } = a;
|
|
9891
|
-
if (
|
|
9909
|
+
if (Gu.has(h))
|
|
9892
9910
|
return h;
|
|
9893
9911
|
if (h === "link" && u.rel === "canonical")
|
|
9894
9912
|
return "canonical";
|
|
@@ -9896,13 +9914,13 @@ function Is(a) {
|
|
|
9896
9914
|
return "charset";
|
|
9897
9915
|
if (u.id)
|
|
9898
9916
|
return `${h}:id:${u.id}`;
|
|
9899
|
-
for (const p of
|
|
9917
|
+
for (const p of Ku)
|
|
9900
9918
|
if (u[p] !== void 0)
|
|
9901
9919
|
return `${h}:${p}:${u[p]}`;
|
|
9902
9920
|
return !1;
|
|
9903
9921
|
}
|
|
9904
9922
|
const Le = "%separator";
|
|
9905
|
-
function
|
|
9923
|
+
function Xu(a, u, h = !1) {
|
|
9906
9924
|
let p;
|
|
9907
9925
|
if (u === "s" || u === "pageTitle")
|
|
9908
9926
|
p = a.pageTitle;
|
|
@@ -9914,7 +9932,7 @@ function qu(a, u, h = !1) {
|
|
|
9914
9932
|
if (p !== void 0)
|
|
9915
9933
|
return h ? (p || "").replace(/"/g, '\\"') : p || "";
|
|
9916
9934
|
}
|
|
9917
|
-
const
|
|
9935
|
+
const Ju = new RegExp(`${Le}(?:\\s*${Le})*`, "g");
|
|
9918
9936
|
function rn(a, u, h, p = !1) {
|
|
9919
9937
|
if (typeof a != "string" || !a.includes("%"))
|
|
9920
9938
|
return a;
|
|
@@ -9927,17 +9945,17 @@ function rn(a, u, h, p = !1) {
|
|
|
9927
9945
|
if (!o)
|
|
9928
9946
|
return a;
|
|
9929
9947
|
const r = a.includes(Le);
|
|
9930
|
-
return a = a.replace(/%\w+(?:\.\w+)?/g, (
|
|
9931
|
-
if (
|
|
9932
|
-
return
|
|
9933
|
-
const f =
|
|
9934
|
-
return f !== void 0 ? f :
|
|
9935
|
-
}).trim(), r && (a.endsWith(Le) && (a = a.slice(0, -Le.length)), a.startsWith(Le) && (a = a.slice(Le.length)), a = a.replace(
|
|
9948
|
+
return a = a.replace(/%\w+(?:\.\w+)?/g, (d) => {
|
|
9949
|
+
if (d === Le || !o.includes(d))
|
|
9950
|
+
return d;
|
|
9951
|
+
const f = Xu(u, d.slice(1), p);
|
|
9952
|
+
return f !== void 0 ? f : d;
|
|
9953
|
+
}).trim(), r && (a.endsWith(Le) && (a = a.slice(0, -Le.length)), a.startsWith(Le) && (a = a.slice(Le.length)), a = a.replace(Ju, h).trim()), a;
|
|
9936
9954
|
}
|
|
9937
9955
|
function gs(a, u) {
|
|
9938
9956
|
return a == null ? u || null : typeof a == "function" ? a(u) : a;
|
|
9939
9957
|
}
|
|
9940
|
-
async function
|
|
9958
|
+
async function Qu(a, u = {}) {
|
|
9941
9959
|
const h = u.document || a.resolvedOptions.document;
|
|
9942
9960
|
if (!h || !a.dirty)
|
|
9943
9961
|
return;
|
|
@@ -9976,13 +9994,13 @@ async function Yu(a, u = {}) {
|
|
|
9976
9994
|
}
|
|
9977
9995
|
}
|
|
9978
9996
|
r.pendingSideEffects = { ...r.sideEffects }, r.sideEffects = {};
|
|
9979
|
-
function
|
|
9997
|
+
function d(g, w, P) {
|
|
9980
9998
|
const S = `${g}:${w}`;
|
|
9981
9999
|
r.sideEffects[S] = P, delete r.pendingSideEffects[S];
|
|
9982
10000
|
}
|
|
9983
10001
|
function f({ id: g, $el: w, tag: P }) {
|
|
9984
10002
|
const S = P.tag.endsWith("Attrs");
|
|
9985
|
-
if (r.elMap[g] = w, S || (P.textContent && P.textContent !== w.textContent && (w.textContent = P.textContent), P.innerHTML && P.innerHTML !== w.innerHTML && (w.innerHTML = P.innerHTML),
|
|
10003
|
+
if (r.elMap[g] = w, S || (P.textContent && P.textContent !== w.textContent && (w.textContent = P.textContent), P.innerHTML && P.innerHTML !== w.innerHTML && (w.innerHTML = P.innerHTML), d(g, "el", () => {
|
|
9986
10004
|
r.elMap[g]?.remove(), delete r.elMap[g];
|
|
9987
10005
|
})), P._eventHandlers)
|
|
9988
10006
|
for (const x in P._eventHandlers)
|
|
@@ -9999,18 +10017,18 @@ async function Yu(a, u = {}) {
|
|
|
9999
10017
|
if (!H)
|
|
10000
10018
|
continue;
|
|
10001
10019
|
for (const z of H.split(" "))
|
|
10002
|
-
S &&
|
|
10020
|
+
S && d(g, `${Z}:${z}`, () => w.classList.remove(z)), !w.classList.contains(z) && w.classList.add(z);
|
|
10003
10021
|
} else if (x === "style") {
|
|
10004
10022
|
if (!H)
|
|
10005
10023
|
continue;
|
|
10006
10024
|
for (const z of H.split(";")) {
|
|
10007
10025
|
const W = z.indexOf(":"), ut = z.substring(0, W).trim(), st = z.substring(W + 1).trim();
|
|
10008
|
-
|
|
10026
|
+
d(g, `${Z}:${ut}`, () => {
|
|
10009
10027
|
w.style.removeProperty(ut);
|
|
10010
10028
|
}), w.style.setProperty(ut, st);
|
|
10011
10029
|
}
|
|
10012
10030
|
} else
|
|
10013
|
-
w.getAttribute(x) !== H && w.setAttribute(x, H === !0 ? "" : String(H)), S &&
|
|
10031
|
+
w.getAttribute(x) !== H && w.setAttribute(x, H === !0 ? "" : String(H)), S && d(g, Z, () => w.removeAttribute(x));
|
|
10014
10032
|
}
|
|
10015
10033
|
}
|
|
10016
10034
|
const m = [], y = {
|
|
@@ -10033,7 +10051,7 @@ async function Yu(a, u = {}) {
|
|
|
10033
10051
|
g.$el = h.createElement(g.tag.tag), f(g), y[w] = y[w] || h.createDocumentFragment(), y[w].appendChild(g.$el);
|
|
10034
10052
|
}
|
|
10035
10053
|
for (const g of o)
|
|
10036
|
-
await a.hooks.callHook("dom:renderTag", g, h,
|
|
10054
|
+
await a.hooks.callHook("dom:renderTag", g, h, d);
|
|
10037
10055
|
y.head && h.head.appendChild(y.head), y.bodyOpen && h.body.insertBefore(y.bodyOpen, h.body.firstChild), y.bodyClose && h.body.appendChild(y.bodyClose);
|
|
10038
10056
|
for (const g in r.pendingSideEffects)
|
|
10039
10057
|
r.pendingSideEffects[g]();
|
|
@@ -10042,27 +10060,27 @@ async function Yu(a, u = {}) {
|
|
|
10042
10060
|
a._domUpdatePromise = void 0, a.dirty = !1;
|
|
10043
10061
|
})), a._domUpdatePromise;
|
|
10044
10062
|
}
|
|
10045
|
-
function
|
|
10063
|
+
function th(a, u = {}) {
|
|
10046
10064
|
const h = u.delayFn || ((p) => setTimeout(p, 10));
|
|
10047
|
-
return a._domDebouncedUpdatePromise = a._domDebouncedUpdatePromise || new Promise((p) => h(() =>
|
|
10065
|
+
return a._domDebouncedUpdatePromise = a._domDebouncedUpdatePromise || new Promise((p) => h(() => Qu(a, u).then(() => {
|
|
10048
10066
|
delete a._domDebouncedUpdatePromise, p();
|
|
10049
10067
|
})));
|
|
10050
10068
|
}
|
|
10051
10069
|
// @__NO_SIDE_EFFECTS__
|
|
10052
|
-
function
|
|
10070
|
+
function eh(a) {
|
|
10053
10071
|
return (u) => {
|
|
10054
10072
|
const h = u.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
10055
10073
|
return h && u.push(JSON.parse(h)), {
|
|
10056
10074
|
mode: "client",
|
|
10057
10075
|
hooks: {
|
|
10058
10076
|
"entries:updated": (p) => {
|
|
10059
|
-
|
|
10077
|
+
th(p, a);
|
|
10060
10078
|
}
|
|
10061
10079
|
}
|
|
10062
10080
|
};
|
|
10063
10081
|
};
|
|
10064
10082
|
}
|
|
10065
|
-
const
|
|
10083
|
+
const ih = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"]), nh = {
|
|
10066
10084
|
hooks: {
|
|
10067
10085
|
"tag:normalise": ({ tag: a }) => {
|
|
10068
10086
|
a.props.hid && (a.key = a.props.hid, delete a.props.hid), a.props.vmid && (a.key = a.props.vmid, delete a.props.vmid), a.props.key && (a.key = a.props.key, delete a.props.key);
|
|
@@ -10076,8 +10094,8 @@ const Ju = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
10076
10094
|
for (const p of a.tags) {
|
|
10077
10095
|
const v = (p.key ? `${p.tag}:${p.key}` : p._d) || lo(p), o = u[v];
|
|
10078
10096
|
if (o) {
|
|
10079
|
-
let
|
|
10080
|
-
if (!
|
|
10097
|
+
let d = p?.tagDuplicateStrategy;
|
|
10098
|
+
if (!d && ih.has(p.tag) && (d = "merge"), d === "merge") {
|
|
10081
10099
|
const f = o.props;
|
|
10082
10100
|
f.style && p.props.style && (f.style[f.style.length - 1] !== ";" && (f.style += ";"), p.props.style = `${f.style} ${p.props.style}`), f.class && p.props.class ? p.props.class = `${f.class} ${p.props.class}` : f.class && (p.props.class = f.class), u[v].props = {
|
|
10083
10101
|
...f,
|
|
@@ -10104,11 +10122,11 @@ const Ju = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
10104
10122
|
a.tags = h, a.tags = a.tags.filter((p) => !(p.tag === "meta" && (p.props.name || p.props.property) && !p.props.content));
|
|
10105
10123
|
}
|
|
10106
10124
|
}
|
|
10107
|
-
},
|
|
10125
|
+
}, oh = /* @__PURE__ */ new Set(["script", "link", "bodyAttrs"]), sh = (a) => ({
|
|
10108
10126
|
hooks: {
|
|
10109
10127
|
"tags:resolve": (u) => {
|
|
10110
10128
|
for (const h of u.tags) {
|
|
10111
|
-
if (!
|
|
10129
|
+
if (!oh.has(h.tag))
|
|
10112
10130
|
continue;
|
|
10113
10131
|
const p = h.props;
|
|
10114
10132
|
for (const v in p) {
|
|
@@ -10131,13 +10149,13 @@ const Ju = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
10131
10149
|
}
|
|
10132
10150
|
}
|
|
10133
10151
|
}
|
|
10134
|
-
}),
|
|
10152
|
+
}), rh = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), ah = {
|
|
10135
10153
|
hooks: {
|
|
10136
10154
|
"tag:normalise": ({ tag: a }) => {
|
|
10137
|
-
a.key &&
|
|
10155
|
+
a.key && rh.has(a.tag) && (a.props["data-hid"] = a._h = un(a.key));
|
|
10138
10156
|
}
|
|
10139
10157
|
}
|
|
10140
|
-
},
|
|
10158
|
+
}, lh = {
|
|
10141
10159
|
mode: "server",
|
|
10142
10160
|
hooks: {
|
|
10143
10161
|
"tags:beforeResolve": (a) => {
|
|
@@ -10152,12 +10170,12 @@ const Ju = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
10152
10170
|
});
|
|
10153
10171
|
}
|
|
10154
10172
|
}
|
|
10155
|
-
},
|
|
10173
|
+
}, uh = {
|
|
10156
10174
|
hooks: {
|
|
10157
10175
|
"tags:resolve": (a) => {
|
|
10158
10176
|
for (const u of a.tags)
|
|
10159
10177
|
if (typeof u.tagPriority == "string")
|
|
10160
|
-
for (const { prefix: h, offset: p } of
|
|
10178
|
+
for (const { prefix: h, offset: p } of Yu) {
|
|
10161
10179
|
if (!u.tagPriority.startsWith(h))
|
|
10162
10180
|
continue;
|
|
10163
10181
|
const v = u.tagPriority.substring(h.length), o = a.tags.find((r) => r._d === v)?._p;
|
|
@@ -10172,11 +10190,11 @@ const Ju = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
10172
10190
|
});
|
|
10173
10191
|
}
|
|
10174
10192
|
}
|
|
10175
|
-
},
|
|
10193
|
+
}, hh = {
|
|
10176
10194
|
meta: "content",
|
|
10177
10195
|
link: "href",
|
|
10178
10196
|
htmlAttrs: "lang"
|
|
10179
|
-
},
|
|
10197
|
+
}, ch = ["innerHTML", "textContent"], dh = (a) => ({
|
|
10180
10198
|
hooks: {
|
|
10181
10199
|
"tags:resolve": (u) => {
|
|
10182
10200
|
const { tags: h } = u;
|
|
@@ -10193,11 +10211,11 @@ const Ju = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
10193
10211
|
for (const r of h) {
|
|
10194
10212
|
if (r.processTemplateParams === !1)
|
|
10195
10213
|
continue;
|
|
10196
|
-
const
|
|
10197
|
-
if (
|
|
10198
|
-
r.props[
|
|
10214
|
+
const d = hh[r.tag];
|
|
10215
|
+
if (d && typeof r.props[d] == "string")
|
|
10216
|
+
r.props[d] = rn(r.props[d], v, o);
|
|
10199
10217
|
else if (r.processTemplateParams || r.tag === "titleTemplate" || r.tag === "title")
|
|
10200
|
-
for (const f of
|
|
10218
|
+
for (const f of ch)
|
|
10201
10219
|
typeof r[f] == "string" && (r[f] = rn(r[f], v, o, r.tag === "script" && r.props.type.endsWith("json")));
|
|
10202
10220
|
}
|
|
10203
10221
|
a._templateParams = v, a._separator = o;
|
|
@@ -10211,7 +10229,7 @@ const Ju = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
10211
10229
|
h?.textContent && (h.textContent = rn(h.textContent, a._templateParams, a._separator));
|
|
10212
10230
|
}
|
|
10213
10231
|
}
|
|
10214
|
-
}),
|
|
10232
|
+
}), fh = {
|
|
10215
10233
|
hooks: {
|
|
10216
10234
|
"tags:resolve": (a) => {
|
|
10217
10235
|
const { tags: u } = a;
|
|
@@ -10235,7 +10253,7 @@ const Ju = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
10235
10253
|
p && a.tags.splice(a.tags.indexOf(p), 1);
|
|
10236
10254
|
}
|
|
10237
10255
|
}
|
|
10238
|
-
},
|
|
10256
|
+
}, ph = {
|
|
10239
10257
|
hooks: {
|
|
10240
10258
|
"tags:afterResolve": (a) => {
|
|
10241
10259
|
for (const u of a.tags)
|
|
@@ -10244,21 +10262,21 @@ const Ju = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
10244
10262
|
}
|
|
10245
10263
|
};
|
|
10246
10264
|
// @__NO_SIDE_EFFECTS__
|
|
10247
|
-
function
|
|
10248
|
-
const u =
|
|
10249
|
-
return u.use(/* @__PURE__ */
|
|
10265
|
+
function _h(a = {}) {
|
|
10266
|
+
const u = mh(a);
|
|
10267
|
+
return u.use(/* @__PURE__ */ eh()), u;
|
|
10250
10268
|
}
|
|
10251
10269
|
function vs(a, u) {
|
|
10252
10270
|
return !a || a === "server" && u || a === "client" && !u;
|
|
10253
10271
|
}
|
|
10254
|
-
function
|
|
10272
|
+
function mh(a = {}) {
|
|
10255
10273
|
const u = fa();
|
|
10256
|
-
u.addHooks(a.hooks || {}), a.document = a.document || (
|
|
10274
|
+
u.addHooks(a.hooks || {}), a.document = a.document || (Uu ? document : void 0);
|
|
10257
10275
|
const h = !a.document, p = () => {
|
|
10258
|
-
|
|
10276
|
+
d.dirty = !0, u.callHook("entries:updated", d);
|
|
10259
10277
|
};
|
|
10260
10278
|
let v = 0, o = [];
|
|
10261
|
-
const r = [],
|
|
10279
|
+
const r = [], d = {
|
|
10262
10280
|
plugins: r,
|
|
10263
10281
|
dirty: !1,
|
|
10264
10282
|
resolvedOptions: a,
|
|
@@ -10267,7 +10285,7 @@ function dh(a = {}) {
|
|
|
10267
10285
|
return o;
|
|
10268
10286
|
},
|
|
10269
10287
|
use(f) {
|
|
10270
|
-
const m = typeof f == "function" ? f(
|
|
10288
|
+
const m = typeof f == "function" ? f(d) : f;
|
|
10271
10289
|
(!m.key || !r.some((y) => y.key === m.key)) && (r.push(m), vs(m.mode, h) && u.addHooks(m.hooks || {}));
|
|
10272
10290
|
},
|
|
10273
10291
|
push(f, m) {
|
|
@@ -10295,8 +10313,8 @@ function dh(a = {}) {
|
|
|
10295
10313
|
for (const m of f.entries) {
|
|
10296
10314
|
const y = m.resolvedInput || m.input;
|
|
10297
10315
|
if (m.resolvedInput = await (m.transform ? m.transform(y) : y), m.resolvedInput)
|
|
10298
|
-
for (const g of await
|
|
10299
|
-
const w = { tag: g, entry: m, resolvedOptions:
|
|
10316
|
+
for (const g of await ju(m)) {
|
|
10317
|
+
const w = { tag: g, entry: m, resolvedOptions: d.resolvedOptions };
|
|
10300
10318
|
await u.callHook("tag:normalise", w), f.tags.push(w.tag);
|
|
10301
10319
|
}
|
|
10302
10320
|
}
|
|
@@ -10305,25 +10323,25 @@ function dh(a = {}) {
|
|
|
10305
10323
|
ssr: h
|
|
10306
10324
|
};
|
|
10307
10325
|
return [
|
|
10308
|
-
Qu,
|
|
10309
|
-
oh,
|
|
10310
|
-
eh,
|
|
10311
10326
|
nh,
|
|
10312
|
-
sh,
|
|
10313
10327
|
lh,
|
|
10328
|
+
sh,
|
|
10329
|
+
ah,
|
|
10314
10330
|
uh,
|
|
10315
|
-
|
|
10331
|
+
dh,
|
|
10332
|
+
fh,
|
|
10333
|
+
ph,
|
|
10316
10334
|
...a?.plugins || []
|
|
10317
|
-
].forEach((f) =>
|
|
10335
|
+
].forEach((f) => d.use(f)), d.hooks.callHook("init", d), d;
|
|
10318
10336
|
}
|
|
10319
|
-
const
|
|
10320
|
-
function
|
|
10321
|
-
return typeof a == "function" ? a() :
|
|
10337
|
+
const gh = Er[0] === "3";
|
|
10338
|
+
function vh(a) {
|
|
10339
|
+
return typeof a == "function" ? a() : c(a);
|
|
10322
10340
|
}
|
|
10323
10341
|
function ho(a) {
|
|
10324
10342
|
if (a instanceof Promise || a instanceof Date || a instanceof RegExp)
|
|
10325
10343
|
return a;
|
|
10326
|
-
const u =
|
|
10344
|
+
const u = vh(a);
|
|
10327
10345
|
if (!a || !u)
|
|
10328
10346
|
return u;
|
|
10329
10347
|
if (Array.isArray(u))
|
|
@@ -10333,7 +10351,7 @@ function ho(a) {
|
|
|
10333
10351
|
for (const p in u)
|
|
10334
10352
|
if (Object.prototype.hasOwnProperty.call(u, p)) {
|
|
10335
10353
|
if (p === "titleTemplate" || p[0] === "o" && p[1] === "n") {
|
|
10336
|
-
h[p] =
|
|
10354
|
+
h[p] = c(u[p]);
|
|
10337
10355
|
continue;
|
|
10338
10356
|
}
|
|
10339
10357
|
h[p] = ho(u[p]);
|
|
@@ -10342,28 +10360,28 @@ function ho(a) {
|
|
|
10342
10360
|
}
|
|
10343
10361
|
return u;
|
|
10344
10362
|
}
|
|
10345
|
-
const
|
|
10363
|
+
const yh = {
|
|
10346
10364
|
hooks: {
|
|
10347
10365
|
"entries:resolve": (a) => {
|
|
10348
10366
|
for (const u of a.entries)
|
|
10349
10367
|
u.resolvedInput = ho(u.input);
|
|
10350
10368
|
}
|
|
10351
10369
|
}
|
|
10352
|
-
},
|
|
10353
|
-
function
|
|
10370
|
+
}, bh = "usehead";
|
|
10371
|
+
function Lh(a) {
|
|
10354
10372
|
return {
|
|
10355
10373
|
install(h) {
|
|
10356
|
-
|
|
10374
|
+
gh && (h.config.globalProperties.$unhead = a, h.config.globalProperties.$head = a, h.provide(bh, a));
|
|
10357
10375
|
}
|
|
10358
10376
|
}.install;
|
|
10359
10377
|
}
|
|
10360
|
-
function
|
|
10378
|
+
function kh(a = {}) {
|
|
10361
10379
|
a.domDelayFn = a.domDelayFn || ((h) => zr(() => setTimeout(() => h(), 0)));
|
|
10362
|
-
const u = /* @__PURE__ */
|
|
10363
|
-
return u.use(
|
|
10380
|
+
const u = /* @__PURE__ */ _h(a);
|
|
10381
|
+
return u.use(yh), u.install = Lh(u), u;
|
|
10364
10382
|
}
|
|
10365
|
-
const
|
|
10366
|
-
class
|
|
10383
|
+
const wh = Br(), Ph = kh(), Ch = Zr, Th = Ch();
|
|
10384
|
+
class xh extends HTMLElement {
|
|
10367
10385
|
vueApp;
|
|
10368
10386
|
constructor() {
|
|
10369
10387
|
super();
|
|
@@ -10373,13 +10391,13 @@ class wh extends HTMLElement {
|
|
|
10373
10391
|
}
|
|
10374
10392
|
connectedCallback() {
|
|
10375
10393
|
const u = Dr(fs, this.attributes);
|
|
10376
|
-
this.vueApp = Nr(fs, u), this.vueApp.provide("emitter",
|
|
10394
|
+
this.vueApp = Nr(fs, u), this.vueApp.provide("emitter", Th), this.vueApp.use(Ph), this.vueApp.use(wh), this.vueApp.use(Qr), this.vueApp.use(Rr), this.vueApp.use(ta), this.vueApp.use(Wr), this.vueApp.use($r, { bootstrap: !0 });
|
|
10377
10395
|
const h = document.createElement("div");
|
|
10378
10396
|
this.vueApp.mount(h), this.appendChild(h.children[0]);
|
|
10379
10397
|
}
|
|
10380
10398
|
}
|
|
10381
|
-
window.customElements.define("konnectio-hotel",
|
|
10399
|
+
window.customElements.define("konnectio-hotel", xh);
|
|
10382
10400
|
export {
|
|
10383
|
-
|
|
10401
|
+
xh as default
|
|
10384
10402
|
};
|
|
10385
10403
|
//# sourceMappingURL=hotel.js.map
|