@konnectio/core 4.10.1 → 4.10.3
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-B1nCUlz0.js → ActionField-vPUDEd_I.js} +2 -2
- package/dist/ActionField-vPUDEd_I.js.br +0 -0
- package/dist/ActionField-vPUDEd_I.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-BKWVa_Kj.js → AvailabilitySkeleton-Cn6i4NgY.js} +3 -3
- package/dist/AvailabilitySkeleton-Cn6i4NgY.js.br +0 -0
- package/dist/AvailabilitySkeleton-Cn6i4NgY.js.gz +0 -0
- package/dist/{CheckoutWindow-BaRiF6IY.js → CheckoutWindow-C__uG9x9.js} +2 -2
- package/dist/CheckoutWindow-C__uG9x9.js.br +0 -0
- package/dist/CheckoutWindow-C__uG9x9.js.gz +0 -0
- package/dist/{ErrorMessage-XkHGRDpA.js → ErrorMessage-CvilUsni.js} +2 -2
- package/dist/ErrorMessage-CvilUsni.js.br +0 -0
- package/dist/ErrorMessage-CvilUsni.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CsvnSC2t.js → EventAvailabilityForm-Brj1z7yk.js} +3 -3
- package/dist/EventAvailabilityForm-Brj1z7yk.js.br +0 -0
- package/dist/EventAvailabilityForm-Brj1z7yk.js.gz +0 -0
- package/dist/{Field-CvT2_Plp.js → Field-CDHHXiD2.js} +2 -2
- package/dist/Field-CDHHXiD2.js.br +0 -0
- package/dist/Field-CDHHXiD2.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-DE-jn1Xx.js → HotelAvailabilityForm-CYfG0Dd8.js} +3 -3
- package/dist/HotelAvailabilityForm-CYfG0Dd8.js.br +0 -0
- package/dist/HotelAvailabilityForm-CYfG0Dd8.js.gz +0 -0
- package/dist/{SelectField-DAHiMxb3.js → SelectField-6C9R4BPL.js} +1569 -1566
- package/dist/SelectField-6C9R4BPL.js.br +0 -0
- package/dist/SelectField-6C9R4BPL.js.gz +0 -0
- package/dist/{TermsOfService-Dh8Lzefs.js → TermsOfService-CVFFzKIf.js} +3 -3
- package/dist/TermsOfService-CVFFzKIf.js.br +0 -0
- package/dist/TermsOfService-CVFFzKIf.js.gz +0 -0
- package/dist/{_-Boaxs6AH.js → _-Dme_Z1ir.js} +2 -2
- package/dist/_-Dme_Z1ir.js.br +0 -0
- package/dist/_-Dme_Z1ir.js.gz +3 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +5 -5
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/{dist-BweXkPML.js → dist--re0AIwx.js} +3 -3
- package/dist/dist--re0AIwx.js.br +0 -0
- package/dist/dist--re0AIwx.js.gz +0 -0
- package/dist/{dist-DUKktdIt.js → dist-nlgWn_R4.js} +5 -5
- package/dist/dist-nlgWn_R4.js.br +0 -0
- package/dist/dist-nlgWn_R4.js.gz +0 -0
- package/dist/event.js +9 -9
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +8 -8
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-CBkjruJ_.js → giftCard-BNgfew96.js} +2 -2
- package/dist/giftCard-BNgfew96.js.br +0 -0
- package/dist/giftCard-BNgfew96.js.gz +0 -0
- package/dist/hotel.js +431 -431
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-_behsDNX.js → i18n-BU9Enb5i.js} +3386 -3355
- package/dist/i18n-BU9Enb5i.js.br +0 -0
- package/dist/i18n-BU9Enb5i.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-BeIyuIIp.js → style-CQSrDTGm.js} +2 -2
- package/dist/style-CQSrDTGm.js.br +0 -0
- package/dist/style-CQSrDTGm.js.gz +0 -0
- package/dist-wix/availability.js +33 -33
- package/dist-wix/event.js +10 -10
- package/dist-wix/gift-card-validation.js +25 -25
- package/dist-wix/gift-card.js +26 -26
- package/dist-wix/hotel.js +12 -12
- package/package.json +2 -2
- package/dist/ActionField-B1nCUlz0.js.br +0 -0
- package/dist/ActionField-B1nCUlz0.js.gz +0 -0
- package/dist/AvailabilitySkeleton-BKWVa_Kj.js.br +0 -0
- package/dist/AvailabilitySkeleton-BKWVa_Kj.js.gz +0 -0
- package/dist/CheckoutWindow-BaRiF6IY.js.br +0 -0
- package/dist/CheckoutWindow-BaRiF6IY.js.gz +0 -0
- package/dist/ErrorMessage-XkHGRDpA.js.br +0 -0
- package/dist/ErrorMessage-XkHGRDpA.js.gz +0 -0
- package/dist/EventAvailabilityForm-CsvnSC2t.js.br +0 -0
- package/dist/EventAvailabilityForm-CsvnSC2t.js.gz +0 -0
- package/dist/Field-CvT2_Plp.js.br +0 -0
- package/dist/Field-CvT2_Plp.js.gz +0 -0
- package/dist/HotelAvailabilityForm-DE-jn1Xx.js.br +0 -0
- package/dist/HotelAvailabilityForm-DE-jn1Xx.js.gz +0 -0
- package/dist/SelectField-DAHiMxb3.js.br +0 -0
- package/dist/SelectField-DAHiMxb3.js.gz +0 -0
- package/dist/TermsOfService-Dh8Lzefs.js.br +0 -0
- package/dist/TermsOfService-Dh8Lzefs.js.gz +0 -0
- package/dist/_-Boaxs6AH.js.br +0 -0
- package/dist/_-Boaxs6AH.js.gz +0 -0
- package/dist/dist-BweXkPML.js.br +0 -0
- package/dist/dist-BweXkPML.js.gz +0 -0
- package/dist/dist-DUKktdIt.js.br +0 -0
- package/dist/dist-DUKktdIt.js.gz +0 -0
- package/dist/giftCard-CBkjruJ_.js.br +0 -0
- package/dist/giftCard-CBkjruJ_.js.gz +0 -0
- package/dist/i18n-_behsDNX.js.br +0 -0
- package/dist/i18n-_behsDNX.js.gz +0 -0
- package/dist/style-BeIyuIIp.js.br +0 -0
- package/dist/style-BeIyuIIp.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-B0aSnxlc.js";
|
|
2
|
-
import { A as n, At as r, D as i, E as a, F as o, I as s, K as c, L as l, M as u, N as d, Nt as f, O as p, P as m, Pt as h, Q as g, R as _, S as ee, St as te, _t as ne, a as v, at as re, bt as y, et as b, f as x, gt as S, h as C, i as ie, it as w, j as T, jt as E, lt as D, mt as
|
|
3
|
-
import { t as
|
|
4
|
-
import { C as oe, D as se, E as ce, G as le, H as ue, J as de, K as fe, L as pe, N as me, O as he, Q as
|
|
5
|
-
import { a as Fe, c as Ie, i as Le, l as Re, n as ze, o as Be, s as Ve, t as He } from "./CheckoutWindow-
|
|
6
|
-
import { n as Ue, t as We } from "./AvailabilitySkeleton-
|
|
7
|
-
import { t as Ge } from "./HotelAvailabilityForm-
|
|
8
|
-
import { t as Ke } from "./style-
|
|
9
|
-
import { t as U } from "./ActionField-
|
|
10
|
-
import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./dist-
|
|
11
|
-
import { t as nt } from "./TermsOfService-
|
|
2
|
+
import { A as n, At as r, D as i, E as a, F as o, I as s, K as c, L as l, M as u, N as d, Nt as f, O as p, P as m, Pt as h, Q as g, R as _, S as ee, St as te, _t as ne, a as v, at as re, bt as y, et as b, f as x, gt as S, h as C, i as ie, it as w, j as T, jt as E, lt as D, mt as ae, n as O, o as k, p as A, q as j, st as M, u as N, ut as P, w as F, wt as I, z as R } from "./i18n-BU9Enb5i.js";
|
|
3
|
+
import { t as z } from "./dist--re0AIwx.js";
|
|
4
|
+
import { C as oe, D as se, E as ce, G as le, H as ue, J as de, K as fe, L as pe, N as me, O as he, Q as ge, R as _e, S as B, T as ve, W as ye, X as be, Y as xe, Z as Se, _ as Ce, at as we, b as Te, ct as Ee, it as De, j as Oe, lt as ke, n as Ae, r as je, t as Me, tt as V, v as Ne, x as H, z as Pe } from "./SelectField-6C9R4BPL.js";
|
|
5
|
+
import { a as Fe, c as Ie, i as Le, l as Re, n as ze, o as Be, s as Ve, t as He } from "./CheckoutWindow-C__uG9x9.js";
|
|
6
|
+
import { n as Ue, t as We } from "./AvailabilitySkeleton-Cn6i4NgY.js";
|
|
7
|
+
import { t as Ge } from "./HotelAvailabilityForm-CYfG0Dd8.js";
|
|
8
|
+
import { t as Ke } from "./style-CQSrDTGm.js";
|
|
9
|
+
import { t as U } from "./ActionField-vPUDEd_I.js";
|
|
10
|
+
import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./dist-nlgWn_R4.js";
|
|
11
|
+
import { t as nt } from "./TermsOfService-CVFFzKIf.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
13
|
function rt(e, t) {
|
|
14
14
|
return t ? {
|
|
@@ -91,7 +91,7 @@ function mt(e, t) {
|
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
|
|
94
|
-
var ht =
|
|
94
|
+
var ht = R({
|
|
95
95
|
name: "InnerImageZoom",
|
|
96
96
|
props: {
|
|
97
97
|
moveType: {
|
|
@@ -240,7 +240,7 @@ function xt(e, t, n, r, i, o) {
|
|
|
240
240
|
}],
|
|
241
241
|
ref: "img",
|
|
242
242
|
style: { width: `${e.width}px` }
|
|
243
|
-
},
|
|
243
|
+
}, P({
|
|
244
244
|
touchstart: e.isZoomed ? () => {} : e.handleTouchStart,
|
|
245
245
|
click: e.handleClick,
|
|
246
246
|
mouseenter: e.isTouch ? () => {} : e.handleMouseEnter,
|
|
@@ -279,7 +279,7 @@ function xt(e, t, n, r, i, o) {
|
|
|
279
279
|
transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
|
|
280
280
|
},
|
|
281
281
|
src: e.zoomSrc || e.src
|
|
282
|
-
},
|
|
282
|
+
}, P({
|
|
283
283
|
load: e.handleLoad,
|
|
284
284
|
touchstart: e.handleDragStart,
|
|
285
285
|
touchend: e.handleDragEnd,
|
|
@@ -292,7 +292,7 @@ function xt(e, t, n, r, i, o) {
|
|
|
292
292
|
class: E(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
|
|
293
293
|
"aria-label": "Zoom Out",
|
|
294
294
|
style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
295
|
-
onClick: t[0] ||=
|
|
295
|
+
onClick: t[0] ||= F((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
296
296
|
}, null, 6)) : d("", !0)])])) : (b(), m(a, { key: 1 }, [T("img", c({
|
|
297
297
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
|
|
298
298
|
alt: "",
|
|
@@ -303,7 +303,7 @@ function xt(e, t, n, r, i, o) {
|
|
|
303
303
|
transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
|
|
304
304
|
},
|
|
305
305
|
src: e.zoomSrc || e.src
|
|
306
|
-
},
|
|
306
|
+
}, P({
|
|
307
307
|
load: e.handleLoad,
|
|
308
308
|
touchstart: e.handleDragStart,
|
|
309
309
|
touchend: e.handleDragEnd,
|
|
@@ -315,14 +315,14 @@ function xt(e, t, n, r, i, o) {
|
|
|
315
315
|
type: "button",
|
|
316
316
|
"aria-label": "Zoom Out",
|
|
317
317
|
style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
318
|
-
onClick: t[1] ||=
|
|
318
|
+
onClick: t[1] ||= F((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
319
319
|
}, null, 6)) : d("", !0)], 64))], 64)) : d("", !0),
|
|
320
320
|
!e.isZoomed && !e.hideHint ? (b(), m("span", bt)) : d("", !0)
|
|
321
321
|
], 16);
|
|
322
322
|
}
|
|
323
323
|
//#endregion
|
|
324
324
|
//#region node_modules/vue-inner-image-zoom/src/index.js
|
|
325
|
-
var K = /* @__PURE__ */
|
|
325
|
+
var K = /* @__PURE__ */ B(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]), q = { key: 0 }, St = { key: 1 }, Ct = { class: "konnectio-hotel-reservation-warning" }, wt = { class: "konnectio-hotel-reservation-warning" }, Tt = { class: "konnectio-hotel-reservation-warning" }, Et = { key: 2 }, Dt = { class: "konnectio-hotel-reservation-title" }, J = { class: "konnectio-hotel-reservation-information" }, Ot = { class: "konnectio-hotel-reservation-guests" }, kt = { key: 0 }, At = {
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "konnectio-hotel-reservation-room-name"
|
|
328
328
|
}, jt = ["onClick"], Mt = { key: 0 }, Nt = { key: 1 }, Pt = { class: "konnectio-hotel-reservation-title" }, Ft = {
|
|
@@ -334,7 +334,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
334
334
|
}, Y = {
|
|
335
335
|
key: 1,
|
|
336
336
|
class: "konnectio-accept-terms"
|
|
337
|
-
}, Ht = { class: "konnectio-hotel-reservation-tooltip" }, X = /*#__PURE__*/
|
|
337
|
+
}, Ht = { class: "konnectio-hotel-reservation-tooltip" }, X = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
338
338
|
__name: "HotelReservationForm",
|
|
339
339
|
props: {
|
|
340
340
|
forceArrivalTime: {},
|
|
@@ -362,24 +362,24 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
362
362
|
prevCallback: {}
|
|
363
363
|
},
|
|
364
364
|
setup(e) {
|
|
365
|
-
let { t } = v(), { disableNewsletterSignup: n, currency: i } = C(ce()), { hasArrivalDepartureInputs: s } = ce(), { arrivalTime: c, departureTime: f, roomDisplay: p, templateID: g, totalPrice: _, areListingsLoading: te, getSelectedPackageRooms: x, templateRoomUnits: E, selectedPackage: D, discountVouchers:
|
|
365
|
+
let { t } = v(), { disableNewsletterSignup: n, currency: i } = C(ce()), { hasArrivalDepartureInputs: s } = ce(), { arrivalTime: c, departureTime: f, roomDisplay: p, templateID: g, totalPrice: _, areListingsLoading: te, getSelectedPackageRooms: x, templateRoomUnits: E, selectedPackage: D, discountVouchers: ae, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: j, locationMismatch: N, newsMails: P, termsOfService: R, discountCode: z, hasTermOfService: se, acceptTerms: le, totalTemplateAddonPrice: ue, totalRooms: de, totalAdults: fe, totalChildren: me, weekendFee: _e, selectedMemberCardData: B, appliedDiscountCode: ve, guestDiscountCode: ye, isValidatingDiscountCode: be } = C(he()), { hasHotelLocations: Se } = C(oe()), { removeRoom: Ce, validateDiscountCode: we, getMandatoryRoomGroupAddons: Te, getTemplateRoomUnitPrice: Ee, resetDiscountVoucher: De, setGuestDiscountCode: Oe, clearGuestDiscountCode: ke, fetchAvailabilityData: Ae } = he(), { getHotelLocationName: je } = oe(), Me = I(!1);
|
|
366
366
|
function Ne(e) {
|
|
367
|
-
|
|
367
|
+
Oe(e), Ae();
|
|
368
368
|
}
|
|
369
369
|
function Fe() {
|
|
370
|
-
|
|
370
|
+
ke(), Ae();
|
|
371
371
|
}
|
|
372
372
|
function Ie(e) {
|
|
373
373
|
return e.reduce((e, { totalPrice: t }) => e + t, 0);
|
|
374
374
|
}
|
|
375
375
|
return (v, C) => {
|
|
376
|
-
let
|
|
376
|
+
let I = M("tooltip");
|
|
377
377
|
return b(), u(qe, {
|
|
378
|
-
"discount-code": r(
|
|
379
|
-
"onUpdate:discountCode": C[4] ||= (e) => y(
|
|
380
|
-
"validate-discount-code": r(
|
|
378
|
+
"discount-code": r(z),
|
|
379
|
+
"onUpdate:discountCode": C[4] ||= (e) => y(z) ? z.value = e : null,
|
|
380
|
+
"validate-discount-code": r(we),
|
|
381
381
|
"total-price": r(_),
|
|
382
|
-
"weekend-fee": r(
|
|
382
|
+
"weekend-fee": r(_e),
|
|
383
383
|
"show-gift-card": e.showGiftCard,
|
|
384
384
|
"availability-discount": e.availabilityDiscount,
|
|
385
385
|
"deal-flow": e.dealFlow,
|
|
@@ -387,10 +387,10 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
387
387
|
"is-sidebar-loading": r(te),
|
|
388
388
|
notice: r(t)("hotel.reservationNotice"),
|
|
389
389
|
"prev-callback": e.prevCallback,
|
|
390
|
-
"applied-discount-code": r(
|
|
391
|
-
"guest-discount-code": r(
|
|
392
|
-
"is-validating-discount-code": r(
|
|
393
|
-
"on-reset-discount-code": r(
|
|
390
|
+
"applied-discount-code": r(ve),
|
|
391
|
+
"guest-discount-code": r(ye),
|
|
392
|
+
"is-validating-discount-code": r(be),
|
|
393
|
+
"on-reset-discount-code": r(De),
|
|
394
394
|
"on-apply-availability-discount": Ne,
|
|
395
395
|
"on-clear-availability-discount": Fe
|
|
396
396
|
}, o({
|
|
@@ -406,16 +406,16 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
406
406
|
type: "fas",
|
|
407
407
|
color: "font"
|
|
408
408
|
}), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span", At, "(" + h(a.roomName) + ")", 1)) : d("", !0)]),
|
|
409
|
-
T("b", null, [T("span", null, h(r(
|
|
409
|
+
T("b", null, [T("span", null, h(r(V)(a.totalPrice, r(i))), 1), e.showRemoveRoom ? (b(), m("span", {
|
|
410
410
|
key: 0,
|
|
411
411
|
class: "konnectio-hotel-reservation-remove",
|
|
412
|
-
onClick:
|
|
412
|
+
onClick: F((e) => r(Ce)(n, s, a.configIdx), ["prevent"])
|
|
413
413
|
}, [l(H, {
|
|
414
414
|
icon: "times",
|
|
415
415
|
type: "fas",
|
|
416
416
|
"icon-color": "#ff0000"
|
|
417
417
|
})], 8, jt)) : d("", !0)])
|
|
418
|
-
]), Ie(a.roomAddons) > 0 ? (b(), m("li", Mt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(
|
|
418
|
+
]), Ie(a.roomAddons) > 0 ? (b(), m("li", Mt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(V)(Ie(a.roomAddons), r(i))), 1)])) : d("", !0)]))), 128))]))), 128))]))), 128)) : d("", !0), r(E).length > 0 && r(D) ? (b(), m("div", Nt, [T("h6", null, [T("span", null, h(r(pe)(r(D).name)), 1)]), T("div", null, [T("ul", null, [(b(!0), m(a, null, w(r(E), (e, n) => (b(), m("li", { key: n }, [
|
|
419
419
|
T("span", Pt, [T("span", null, h(r(pe)(r(x).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), r(E).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), m("span", Ft, "(" + h(r(t)("booking.reservation.room")) + " " + h(r(E).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : d("", !0)]),
|
|
420
420
|
T("span", It, [T("span", Lt, [T("span", null, [l(H, {
|
|
421
421
|
icon: "male",
|
|
@@ -426,13 +426,13 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
426
426
|
type: "fas",
|
|
427
427
|
color: "font"
|
|
428
428
|
}), T("span", null, h(e.children), 1)])) : d("", !0)])]),
|
|
429
|
-
T("b", null, [T("span", null, h(r(
|
|
430
|
-
(b(!0), m(a, null, w(r(
|
|
431
|
-
]))), 128)), r(ue) ? (b(), m("li", zt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(
|
|
429
|
+
T("b", null, [T("span", null, h(r(V)(r(Ee)(e.roomGroupId, e.adults, e.children) + r(_e), r(i))), 1)]),
|
|
430
|
+
(b(!0), m(a, null, w(r(Te)(e.roomGroupId), (e) => (b(), m(a, { key: e.addonID }, [T("span", null, "- " + h(e.name), 1), T("b", null, [T("span", null, h(r(V)(e.price, r(i))), 1)])], 64))), 128))
|
|
431
|
+
]))), 128)), r(ue) ? (b(), m("li", zt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(V)(r(ue), r(i))), 1)])) : d("", !0)])])])) : d("", !0)]),
|
|
432
432
|
actions: S(() => [T("ul", Bt, [
|
|
433
433
|
r(n) ? d("", !0) : (b(), m("div", Vt, [l(Le, {
|
|
434
|
-
modelValue: r(
|
|
435
|
-
"onUpdate:modelValue": C[0] ||= (e) => y(
|
|
434
|
+
modelValue: r(P),
|
|
435
|
+
"onUpdate:modelValue": C[0] ||= (e) => y(P) ? P.value = e : null,
|
|
436
436
|
type: "checkbox",
|
|
437
437
|
name: "newsletter",
|
|
438
438
|
label: r(t)("booking.reservation.newsletterSignUp")
|
|
@@ -450,28 +450,28 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
450
450
|
}, {
|
|
451
451
|
terms: S(() => [T("a", {
|
|
452
452
|
class: "konnectio-accept-terms-link",
|
|
453
|
-
onClick: C[1] ||=
|
|
454
|
-
}, [T("span", null, h(r(
|
|
453
|
+
onClick: C[1] ||= F((e) => Me.value = !0, ["prevent"])
|
|
454
|
+
}, [T("span", null, h(r(xe)(r(t)("general.termsAndConditions"))), 1)])]),
|
|
455
455
|
_: 1
|
|
456
456
|
})]),
|
|
457
457
|
_: 1
|
|
458
458
|
}, 8, ["modelValue"])])) : d("", !0),
|
|
459
459
|
re(v.$slots, "actions", {}, void 0, !0),
|
|
460
460
|
l(nt, {
|
|
461
|
-
modelValue:
|
|
462
|
-
"onUpdate:modelValue": C[3] ||= (e) =>
|
|
463
|
-
description: r(
|
|
461
|
+
modelValue: Me.value,
|
|
462
|
+
"onUpdate:modelValue": C[3] ||= (e) => Me.value = e,
|
|
463
|
+
description: r(R)
|
|
464
464
|
}, null, 8, ["modelValue", "description"])
|
|
465
465
|
])]),
|
|
466
466
|
navigation: S(() => [re(v.$slots, "navigation", {}, void 0, !0)]),
|
|
467
467
|
"mobile-under-price": S(() => [
|
|
468
468
|
T("span", null, h(r(t)("general.for")) + ": ", 1),
|
|
469
|
-
T("b", null, h(r(Pe)(r(
|
|
469
|
+
T("b", null, h(r(Pe)(r(O), r(k))) + " " + h(r(xe)(r(Pe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1),
|
|
470
470
|
ne((b(), m("span", Ht, [l(H, {
|
|
471
471
|
icon: "circle-info",
|
|
472
472
|
type: "fas"
|
|
473
|
-
})])), [[
|
|
474
|
-
content: `<span>(${r(
|
|
473
|
+
})])), [[I, {
|
|
474
|
+
content: `<span>(${r(ge)(r(O))} - ${r(ge)(r(k))})</span>`,
|
|
475
475
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
476
476
|
html: !0
|
|
477
477
|
}]])
|
|
@@ -482,25 +482,25 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
482
482
|
T("span", null, h(`${r(de)} ${r(de) === 1 ? r(t)("booking.reservation.room") : r(t)("booking.reservation.rooms")}`), 1)
|
|
483
483
|
]),
|
|
484
484
|
_: 2
|
|
485
|
-
}, [isNaN(r(
|
|
485
|
+
}, [isNaN(r(j)) ? void 0 : {
|
|
486
486
|
name: "reservation-summary",
|
|
487
487
|
fn: S(() => [
|
|
488
|
-
e.dealFlow && r(
|
|
489
|
-
r(
|
|
488
|
+
e.dealFlow && r(ve) ? (b(), m("li", q, [T("span", null, h(r(t)("dealCode.label")), 1), T("b", null, h(r(ve)), 1)])) : d("", !0),
|
|
489
|
+
r(Se) ? (b(), m("li", St, [T("span", null, h(r(t)("general.location")), 1), T("b", null, [T("span", null, h(r(je)(r(j))), 1), ne(T("span", Ct, [l(H, {
|
|
490
490
|
icon: "exclamation-triangle",
|
|
491
491
|
type: "fas"
|
|
492
|
-
})], 512), [[ee, r(
|
|
493
|
-
T("li", null, [T("span", null, h(r(t)("booking.reservation.arrival")), 1), T("b", null, [T("span", null, h(r(s)(r(
|
|
492
|
+
})], 512), [[ee, r(N)]])])])) : d("", !0),
|
|
493
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.arrival")), 1), T("b", null, [T("span", null, h(r(s)(r(j)) ? `${r(ge)(r(O))}, ${r(c)}` : r(ge)(r(O))), 1), ne(T("span", wt, [l(H, {
|
|
494
494
|
icon: "exclamation-triangle",
|
|
495
495
|
type: "fas"
|
|
496
|
-
})], 512), [[ee, r(
|
|
497
|
-
T("li", null, [T("span", null, h(r(t)("booking.reservation.departure")), 1), T("b", null, [T("span", null, h(r(s)(r(
|
|
496
|
+
})], 512), [[ee, r(A)]])])]),
|
|
497
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.departure")), 1), T("b", null, [T("span", null, h(r(s)(r(j)) ? `${r(ge)(r(k))}, ${r(f)}` : r(ge)(r(k))), 1), ne(T("span", Tt, [l(H, {
|
|
498
498
|
icon: "exclamation-triangle",
|
|
499
499
|
type: "fas"
|
|
500
|
-
})], 512), [[ee, r(
|
|
501
|
-
T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(Pe)(r(
|
|
502
|
-
r(
|
|
503
|
-
r(
|
|
500
|
+
})], 512), [[ee, r(A)]])])]),
|
|
501
|
+
T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(Pe)(r(O), r(k))) + " " + h(r(xe)(r(Pe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)]),
|
|
502
|
+
r(B) && r(B).providesDiscount ? (b(), m("li", Et, [T("span", null, h(r(B).shortDescription), 1), T("b", null, "-" + h(r(B).discountPercent) + "%", 1)])) : d("", !0),
|
|
503
|
+
r(ae) ? (b(!0), m(a, { key: 3 }, w(r(ae), (e) => (b(), m("li", { key: e.id }, [T("span", null, h(`${r(t)("general.discountCode")} (${e.value})`), 1), T("b", null, h(e.key), 1)]))), 128)) : d("", !0)
|
|
504
504
|
]),
|
|
505
505
|
key: "0"
|
|
506
506
|
}]), 1032, [
|
|
@@ -522,10 +522,10 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
522
522
|
]);
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
|
-
}), [["__scopeId", "data-v-4f766755"]]), Ut = { class: "konnectio-panel" }, Wt = { id: "konnectio-hotel-guest-discount-title" }, Gt = ["innerHTML"], Kt = /*#__PURE__*/
|
|
525
|
+
}), [["__scopeId", "data-v-4f766755"]]), Ut = { class: "konnectio-panel" }, Wt = { id: "konnectio-hotel-guest-discount-title" }, Gt = ["innerHTML"], Kt = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
526
526
|
__name: "GuestDiscountForm",
|
|
527
527
|
setup(e) {
|
|
528
|
-
let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o =
|
|
528
|
+
let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o = I();
|
|
529
529
|
async function s() {
|
|
530
530
|
if (!o.value) {
|
|
531
531
|
a({
|
|
@@ -545,7 +545,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
545
545
|
}
|
|
546
546
|
return (e, n) => (b(), m("form", {
|
|
547
547
|
id: "konnectio-hotel-guest-discount",
|
|
548
|
-
onSubmit: n[1] ||=
|
|
548
|
+
onSubmit: n[1] ||= F(() => {}, ["prevent"])
|
|
549
549
|
}, [T("div", Ut, [
|
|
550
550
|
T("h3", Wt, [T("span", null, h(r(t)("guestDiscount.title")), 1)]),
|
|
551
551
|
T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8, Gt),
|
|
@@ -567,10 +567,10 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
567
567
|
])
|
|
568
568
|
])], 32));
|
|
569
569
|
}
|
|
570
|
-
}), [["__scopeId", "data-v-de955b0c"]]), qt = { class: "konnectio-panel" }, Jt = { id: "konnectio-hotel-discount-code-title" }, Yt = ["innerHTML"], Z = /*#__PURE__*/
|
|
570
|
+
}), [["__scopeId", "data-v-de955b0c"]]), qt = { class: "konnectio-panel" }, Jt = { id: "konnectio-hotel-discount-code-title" }, Yt = ["innerHTML"], Z = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
571
571
|
__name: "DiscountCodeForm",
|
|
572
572
|
setup(e) {
|
|
573
|
-
let { t } = v(), i = x("history"), a = he(), { display: o } = me(), { location: s, hotelLocations: c } = C(oe()), { requireDealCode: f } = C(a), p = n(() => f.value ? "dealCode" : "discountCode"), g =
|
|
573
|
+
let { t } = v(), i = x("history"), a = he(), { display: o } = me(), { location: s, hotelLocations: c } = C(oe()), { requireDealCode: f } = C(a), p = n(() => f.value ? "dealCode" : "discountCode"), g = I(), _ = I(!1);
|
|
574
574
|
async function ee() {
|
|
575
575
|
if (!g.value) {
|
|
576
576
|
o({
|
|
@@ -588,11 +588,11 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
588
588
|
}
|
|
589
589
|
return (e, n) => (b(), m("form", {
|
|
590
590
|
id: "konnectio-hotel-discount-code",
|
|
591
|
-
onSubmit: n[2] ||=
|
|
591
|
+
onSubmit: n[2] ||= F(() => {}, ["prevent"])
|
|
592
592
|
}, [T("div", qt, [
|
|
593
593
|
T("h3", Jt, [T("span", null, h(r(t)(`${p.value}.title`)), 1)]),
|
|
594
594
|
T("p", { innerHTML: r(t)(`${p.value}.description`) }, null, 8, Yt),
|
|
595
|
-
r(c).length > 1 ? (b(), u(
|
|
595
|
+
r(c).length > 1 ? (b(), u(Me, {
|
|
596
596
|
key: 0,
|
|
597
597
|
modelValue: r(s),
|
|
598
598
|
"onUpdate:modelValue": n[0] ||= (e) => y(s) ? s.value = e : null,
|
|
@@ -631,7 +631,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
631
631
|
])
|
|
632
632
|
])], 32));
|
|
633
633
|
}
|
|
634
|
-
}), [["__scopeId", "data-v-63bc74db"]]), Xt = { class: "konnectio-room-config-option" }, Zt = { key: 0 }, Qt = { class: "konnectio-selected-room-config" }, $t = { class: "konnectio-selected-room-config-people" }, en = { key: 0 }, tn = { class: "konnectio-selected-room-config-price" }, nn = /*#__PURE__*/
|
|
634
|
+
}), [["__scopeId", "data-v-63bc74db"]]), Xt = { class: "konnectio-room-config-option" }, Zt = { key: 0 }, Qt = { class: "konnectio-selected-room-config" }, $t = { class: "konnectio-selected-room-config-people" }, en = { key: 0 }, tn = { class: "konnectio-selected-room-config-price" }, nn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
635
635
|
__name: "RoomConfigField",
|
|
636
636
|
props: {
|
|
637
637
|
modelValue: {},
|
|
@@ -656,7 +656,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
656
656
|
get: () => c.modelValue,
|
|
657
657
|
set: (e) => f(e)
|
|
658
658
|
});
|
|
659
|
-
return (t, n) => (b(), u(
|
|
659
|
+
return (t, n) => (b(), u(Me, {
|
|
660
660
|
modelValue: p.value,
|
|
661
661
|
"onUpdate:modelValue": n[0] ||= (e) => p.value = e,
|
|
662
662
|
label: e.label,
|
|
@@ -681,8 +681,8 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
681
681
|
type: "fas",
|
|
682
682
|
color: "font"
|
|
683
683
|
}), T("span", null, h(`${e.children}`), 1)])) : d("", !0)
|
|
684
|
-
]), T("span", null, h(`(${r(
|
|
685
|
-
"selected-option": S(({ data: e }) => [T("div", Qt, [T("div", $t, [T("div", null, [d("", !0), T("span", null, h(`${e.adults} ${e.adults === 1 ? r(i)("general.adult") : r(i)("general.adults")}`), 1)]), e.children > 0 ? (b(), m("div", en, [d("", !0), T("span", null, h(`& ${e.children} ${e.children === 1 ? r(i)("general.child") : r(i)("general.children")}`), 1)])) : d("", !0)]), T("div", tn, [n[1] ||= T("span", null, null, -1), s(" " + h(`(${r(
|
|
684
|
+
]), T("span", null, h(`(${r(V)(e.price, r(a))})`), 1)])]),
|
|
685
|
+
"selected-option": S(({ data: e }) => [T("div", Qt, [T("div", $t, [T("div", null, [d("", !0), T("span", null, h(`${e.adults} ${e.adults === 1 ? r(i)("general.adult") : r(i)("general.adults")}`), 1)]), e.children > 0 ? (b(), m("div", en, [d("", !0), T("span", null, h(`& ${e.children} ${e.children === 1 ? r(i)("general.child") : r(i)("general.children")}`), 1)])) : d("", !0)]), T("div", tn, [n[1] ||= T("span", null, null, -1), s(" " + h(`(${r(V)(e.price, r(a))})`), 1)])])]),
|
|
686
686
|
_: 1
|
|
687
687
|
}, 8, [
|
|
688
688
|
"modelValue",
|
|
@@ -960,7 +960,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
960
960
|
function D(e, t, n) {
|
|
961
961
|
this.x = n ? Math.round(e) : e, this.y = n ? Math.round(t) : t;
|
|
962
962
|
}
|
|
963
|
-
var
|
|
963
|
+
var ae = Math.trunc || function(e) {
|
|
964
964
|
return e > 0 ? Math.floor(e) : Math.ceil(e);
|
|
965
965
|
};
|
|
966
966
|
D.prototype = {
|
|
@@ -968,13 +968,13 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
968
968
|
return new D(this.x, this.y);
|
|
969
969
|
},
|
|
970
970
|
add: function(e) {
|
|
971
|
-
return this.clone()._add(
|
|
971
|
+
return this.clone()._add(O(e));
|
|
972
972
|
},
|
|
973
973
|
_add: function(e) {
|
|
974
974
|
return this.x += e.x, this.y += e.y, this;
|
|
975
975
|
},
|
|
976
976
|
subtract: function(e) {
|
|
977
|
-
return this.clone()._subtract(
|
|
977
|
+
return this.clone()._subtract(O(e));
|
|
978
978
|
},
|
|
979
979
|
_subtract: function(e) {
|
|
980
980
|
return this.x -= e.x, this.y -= e.y, this;
|
|
@@ -1019,45 +1019,45 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1019
1019
|
return this.clone()._trunc();
|
|
1020
1020
|
},
|
|
1021
1021
|
_trunc: function() {
|
|
1022
|
-
return this.x =
|
|
1022
|
+
return this.x = ae(this.x), this.y = ae(this.y), this;
|
|
1023
1023
|
},
|
|
1024
1024
|
distanceTo: function(e) {
|
|
1025
|
-
e =
|
|
1025
|
+
e = O(e);
|
|
1026
1026
|
var t = e.x - this.x, n = e.y - this.y;
|
|
1027
1027
|
return Math.sqrt(t * t + n * n);
|
|
1028
1028
|
},
|
|
1029
1029
|
equals: function(e) {
|
|
1030
|
-
return e =
|
|
1030
|
+
return e = O(e), e.x === this.x && e.y === this.y;
|
|
1031
1031
|
},
|
|
1032
1032
|
contains: function(e) {
|
|
1033
|
-
return e =
|
|
1033
|
+
return e = O(e), Math.abs(e.x) <= Math.abs(this.x) && Math.abs(e.y) <= Math.abs(this.y);
|
|
1034
1034
|
},
|
|
1035
1035
|
toString: function() {
|
|
1036
1036
|
return "Point(" + u(this.x) + ", " + u(this.y) + ")";
|
|
1037
1037
|
}
|
|
1038
1038
|
};
|
|
1039
|
-
function
|
|
1039
|
+
function O(e, t, n) {
|
|
1040
1040
|
return e instanceof D ? e : _(e) ? new D(e[0], e[1]) : e == null ? e : typeof e == "object" && "x" in e && "y" in e ? new D(e.x, e.y) : new D(e, t, n);
|
|
1041
1041
|
}
|
|
1042
|
-
function
|
|
1042
|
+
function k(e, t) {
|
|
1043
1043
|
if (e) for (var n = t ? [e, t] : e, r = 0, i = n.length; r < i; r++) this.extend(n[r]);
|
|
1044
1044
|
}
|
|
1045
|
-
|
|
1045
|
+
k.prototype = {
|
|
1046
1046
|
extend: function(e) {
|
|
1047
1047
|
var t, n;
|
|
1048
1048
|
if (!e) return this;
|
|
1049
|
-
if (e instanceof D || typeof e[0] == "number" || "x" in e) t = n =
|
|
1050
|
-
else if (e =
|
|
1049
|
+
if (e instanceof D || typeof e[0] == "number" || "x" in e) t = n = O(e);
|
|
1050
|
+
else if (e = A(e), t = e.min, n = e.max, !t || !n) return this;
|
|
1051
1051
|
return !this.min && !this.max ? (this.min = t.clone(), this.max = n.clone()) : (this.min.x = Math.min(t.x, this.min.x), this.max.x = Math.max(n.x, this.max.x), this.min.y = Math.min(t.y, this.min.y), this.max.y = Math.max(n.y, this.max.y)), this;
|
|
1052
1052
|
},
|
|
1053
1053
|
getCenter: function(e) {
|
|
1054
|
-
return
|
|
1054
|
+
return O((this.min.x + this.max.x) / 2, (this.min.y + this.max.y) / 2, e);
|
|
1055
1055
|
},
|
|
1056
1056
|
getBottomLeft: function() {
|
|
1057
|
-
return
|
|
1057
|
+
return O(this.min.x, this.max.y);
|
|
1058
1058
|
},
|
|
1059
1059
|
getTopRight: function() {
|
|
1060
|
-
return
|
|
1060
|
+
return O(this.max.x, this.min.y);
|
|
1061
1061
|
},
|
|
1062
1062
|
getTopLeft: function() {
|
|
1063
1063
|
return this.min;
|
|
@@ -1070,15 +1070,15 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1070
1070
|
},
|
|
1071
1071
|
contains: function(e) {
|
|
1072
1072
|
var t, n;
|
|
1073
|
-
return e = typeof e[0] == "number" || e instanceof D ?
|
|
1073
|
+
return e = typeof e[0] == "number" || e instanceof D ? O(e) : A(e), e instanceof k ? (t = e.min, n = e.max) : t = n = e, t.x >= this.min.x && n.x <= this.max.x && t.y >= this.min.y && n.y <= this.max.y;
|
|
1074
1074
|
},
|
|
1075
1075
|
intersects: function(e) {
|
|
1076
|
-
e =
|
|
1076
|
+
e = A(e);
|
|
1077
1077
|
var t = this.min, n = this.max, r = e.min, i = e.max, a = i.x >= t.x && r.x <= n.x, o = i.y >= t.y && r.y <= n.y;
|
|
1078
1078
|
return a && o;
|
|
1079
1079
|
},
|
|
1080
1080
|
overlaps: function(e) {
|
|
1081
|
-
e =
|
|
1081
|
+
e = A(e);
|
|
1082
1082
|
var t = this.min, n = this.max, r = e.min, i = e.max, a = i.x > t.x && r.x < n.x, o = i.y > t.y && r.y < n.y;
|
|
1083
1083
|
return a && o;
|
|
1084
1084
|
},
|
|
@@ -1087,33 +1087,33 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1087
1087
|
},
|
|
1088
1088
|
pad: function(e) {
|
|
1089
1089
|
var t = this.min, n = this.max, r = Math.abs(t.x - n.x) * e, i = Math.abs(t.y - n.y) * e;
|
|
1090
|
-
return
|
|
1090
|
+
return A(O(t.x - r, t.y - i), O(n.x + r, n.y + i));
|
|
1091
1091
|
},
|
|
1092
1092
|
equals: function(e) {
|
|
1093
|
-
return e ? (e =
|
|
1093
|
+
return e ? (e = A(e), this.min.equals(e.getTopLeft()) && this.max.equals(e.getBottomRight())) : !1;
|
|
1094
1094
|
}
|
|
1095
1095
|
};
|
|
1096
|
-
function
|
|
1097
|
-
return !e || e instanceof
|
|
1096
|
+
function A(e, t) {
|
|
1097
|
+
return !e || e instanceof k ? e : new k(e, t);
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function j(e, t) {
|
|
1100
1100
|
if (e) for (var n = t ? [e, t] : e, r = 0, i = n.length; r < i; r++) this.extend(n[r]);
|
|
1101
1101
|
}
|
|
1102
|
-
|
|
1102
|
+
j.prototype = {
|
|
1103
1103
|
extend: function(e) {
|
|
1104
1104
|
var t = this._southWest, n = this._northEast, r, i;
|
|
1105
|
-
if (e instanceof
|
|
1106
|
-
else if (e instanceof
|
|
1105
|
+
if (e instanceof N) r = e, i = e;
|
|
1106
|
+
else if (e instanceof j) {
|
|
1107
1107
|
if (r = e._southWest, i = e._northEast, !r || !i) return this;
|
|
1108
|
-
} else return e ? this.extend(
|
|
1109
|
-
return !t && !n ? (this._southWest = new
|
|
1108
|
+
} else return e ? this.extend(P(e) || M(e)) : this;
|
|
1109
|
+
return !t && !n ? (this._southWest = new N(r.lat, r.lng), this._northEast = new N(i.lat, i.lng)) : (t.lat = Math.min(r.lat, t.lat), t.lng = Math.min(r.lng, t.lng), n.lat = Math.max(i.lat, n.lat), n.lng = Math.max(i.lng, n.lng)), this;
|
|
1110
1110
|
},
|
|
1111
1111
|
pad: function(e) {
|
|
1112
1112
|
var t = this._southWest, n = this._northEast, r = Math.abs(t.lat - n.lat) * e, i = Math.abs(t.lng - n.lng) * e;
|
|
1113
|
-
return new
|
|
1113
|
+
return new j(new N(t.lat - r, t.lng - i), new N(n.lat + r, n.lng + i));
|
|
1114
1114
|
},
|
|
1115
1115
|
getCenter: function() {
|
|
1116
|
-
return new
|
|
1116
|
+
return new N((this._southWest.lat + this._northEast.lat) / 2, (this._southWest.lng + this._northEast.lng) / 2);
|
|
1117
1117
|
},
|
|
1118
1118
|
getSouthWest: function() {
|
|
1119
1119
|
return this._southWest;
|
|
@@ -1122,10 +1122,10 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1122
1122
|
return this._northEast;
|
|
1123
1123
|
},
|
|
1124
1124
|
getNorthWest: function() {
|
|
1125
|
-
return new
|
|
1125
|
+
return new N(this.getNorth(), this.getWest());
|
|
1126
1126
|
},
|
|
1127
1127
|
getSouthEast: function() {
|
|
1128
|
-
return new
|
|
1128
|
+
return new N(this.getSouth(), this.getEast());
|
|
1129
1129
|
},
|
|
1130
1130
|
getWest: function() {
|
|
1131
1131
|
return this._southWest.lng;
|
|
@@ -1140,17 +1140,17 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1140
1140
|
return this._northEast.lat;
|
|
1141
1141
|
},
|
|
1142
1142
|
contains: function(e) {
|
|
1143
|
-
e = typeof e[0] == "number" || e instanceof
|
|
1143
|
+
e = typeof e[0] == "number" || e instanceof N || "lat" in e ? P(e) : M(e);
|
|
1144
1144
|
var t = this._southWest, n = this._northEast, r, i;
|
|
1145
|
-
return e instanceof
|
|
1145
|
+
return e instanceof j ? (r = e.getSouthWest(), i = e.getNorthEast()) : r = i = e, r.lat >= t.lat && i.lat <= n.lat && r.lng >= t.lng && i.lng <= n.lng;
|
|
1146
1146
|
},
|
|
1147
1147
|
intersects: function(e) {
|
|
1148
|
-
e =
|
|
1148
|
+
e = M(e);
|
|
1149
1149
|
var t = this._southWest, n = this._northEast, r = e.getSouthWest(), i = e.getNorthEast(), a = i.lat >= t.lat && r.lat <= n.lat, o = i.lng >= t.lng && r.lng <= n.lng;
|
|
1150
1150
|
return a && o;
|
|
1151
1151
|
},
|
|
1152
1152
|
overlaps: function(e) {
|
|
1153
|
-
e =
|
|
1153
|
+
e = M(e);
|
|
1154
1154
|
var t = this._southWest, n = this._northEast, r = e.getSouthWest(), i = e.getNorthEast(), a = i.lat > t.lat && r.lat < n.lat, o = i.lng > t.lng && r.lng < n.lng;
|
|
1155
1155
|
return a && o;
|
|
1156
1156
|
},
|
|
@@ -1163,44 +1163,44 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1163
1163
|
].join(",");
|
|
1164
1164
|
},
|
|
1165
1165
|
equals: function(e, t) {
|
|
1166
|
-
return e ? (e =
|
|
1166
|
+
return e ? (e = M(e), this._southWest.equals(e.getSouthWest(), t) && this._northEast.equals(e.getNorthEast(), t)) : !1;
|
|
1167
1167
|
},
|
|
1168
1168
|
isValid: function() {
|
|
1169
1169
|
return !!(this._southWest && this._northEast);
|
|
1170
1170
|
}
|
|
1171
1171
|
};
|
|
1172
|
-
function
|
|
1173
|
-
return e instanceof
|
|
1172
|
+
function M(e, t) {
|
|
1173
|
+
return e instanceof j ? e : new j(e, t);
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function N(e, t, n) {
|
|
1176
1176
|
if (isNaN(e) || isNaN(t)) throw Error("Invalid LatLng object: (" + e + ", " + t + ")");
|
|
1177
1177
|
this.lat = +e, this.lng = +t, n !== void 0 && (this.alt = +n);
|
|
1178
1178
|
}
|
|
1179
|
-
|
|
1179
|
+
N.prototype = {
|
|
1180
1180
|
equals: function(e, t) {
|
|
1181
|
-
return e ? (e =
|
|
1181
|
+
return e ? (e = P(e), Math.max(Math.abs(this.lat - e.lat), Math.abs(this.lng - e.lng)) <= (t === void 0 ? 1e-9 : t)) : !1;
|
|
1182
1182
|
},
|
|
1183
1183
|
toString: function(e) {
|
|
1184
1184
|
return "LatLng(" + u(this.lat, e) + ", " + u(this.lng, e) + ")";
|
|
1185
1185
|
},
|
|
1186
1186
|
distanceTo: function(e) {
|
|
1187
|
-
return
|
|
1187
|
+
return I.distance(this, P(e));
|
|
1188
1188
|
},
|
|
1189
1189
|
wrap: function() {
|
|
1190
|
-
return
|
|
1190
|
+
return I.wrapLatLng(this);
|
|
1191
1191
|
},
|
|
1192
1192
|
toBounds: function(e) {
|
|
1193
1193
|
var t = 180 * e / 40075017, n = t / Math.cos(Math.PI / 180 * this.lat);
|
|
1194
|
-
return
|
|
1194
|
+
return M([this.lat - t, this.lng - n], [this.lat + t, this.lng + n]);
|
|
1195
1195
|
},
|
|
1196
1196
|
clone: function() {
|
|
1197
|
-
return new
|
|
1197
|
+
return new N(this.lat, this.lng, this.alt);
|
|
1198
1198
|
}
|
|
1199
1199
|
};
|
|
1200
|
-
function
|
|
1201
|
-
return e instanceof
|
|
1200
|
+
function P(e, t, n) {
|
|
1201
|
+
return e instanceof N ? e : _(e) && typeof e[0] != "object" ? e.length === 3 ? new N(e[0], e[1], e[2]) : e.length === 2 ? new N(e[0], e[1]) : null : e == null ? e : typeof e == "object" && "lat" in e ? new N(e.lat, "lng" in e ? e.lng : e.lon, e.alt) : t === void 0 ? null : new N(e, t, n);
|
|
1202
1202
|
}
|
|
1203
|
-
var
|
|
1203
|
+
var F = {
|
|
1204
1204
|
latLngToPoint: function(e, t) {
|
|
1205
1205
|
var n = this.projection.project(e), r = this.scale(t);
|
|
1206
1206
|
return this.transformation._transform(n, r);
|
|
@@ -1224,28 +1224,28 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1224
1224
|
getProjectedBounds: function(e) {
|
|
1225
1225
|
if (this.infinite) return null;
|
|
1226
1226
|
var t = this.projection.bounds, n = this.scale(e);
|
|
1227
|
-
return new
|
|
1227
|
+
return new k(this.transformation.transform(t.min, n), this.transformation.transform(t.max, n));
|
|
1228
1228
|
},
|
|
1229
1229
|
infinite: !1,
|
|
1230
1230
|
wrapLatLng: function(e) {
|
|
1231
1231
|
var t = this.wrapLng ? c(e.lng, this.wrapLng, !0) : e.lng, n = this.wrapLat ? c(e.lat, this.wrapLat, !0) : e.lat, r = e.alt;
|
|
1232
|
-
return new
|
|
1232
|
+
return new N(n, t, r);
|
|
1233
1233
|
},
|
|
1234
1234
|
wrapLatLngBounds: function(e) {
|
|
1235
1235
|
var t = e.getCenter(), n = this.wrapLatLng(t), r = t.lat - n.lat, i = t.lng - n.lng;
|
|
1236
1236
|
if (r === 0 && i === 0) return e;
|
|
1237
1237
|
var a = e.getSouthWest(), o = e.getNorthEast();
|
|
1238
|
-
return new
|
|
1238
|
+
return new j(new N(a.lat - r, a.lng - i), new N(o.lat - r, o.lng - i));
|
|
1239
1239
|
}
|
|
1240
|
-
},
|
|
1240
|
+
}, I = n({}, F, {
|
|
1241
1241
|
wrapLng: [-180, 180],
|
|
1242
1242
|
R: 6371e3,
|
|
1243
1243
|
distance: function(e, t) {
|
|
1244
1244
|
var n = Math.PI / 180, r = e.lat * n, i = t.lat * n, a = Math.sin((t.lat - e.lat) * n / 2), o = Math.sin((t.lng - e.lng) * n / 2), s = a * a + Math.cos(r) * Math.cos(i) * o * o, c = 2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s));
|
|
1245
1245
|
return this.R * c;
|
|
1246
1246
|
}
|
|
1247
|
-
}),
|
|
1248
|
-
R
|
|
1247
|
+
}), R = 6378137, z = {
|
|
1248
|
+
R,
|
|
1249
1249
|
MAX_LATITUDE: 85.0511287798,
|
|
1250
1250
|
project: function(e) {
|
|
1251
1251
|
var t = Math.PI / 180, n = this.MAX_LATITUDE, r = Math.max(Math.min(n, e.lat), -n), i = Math.sin(r * t);
|
|
@@ -1253,11 +1253,11 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1253
1253
|
},
|
|
1254
1254
|
unproject: function(e) {
|
|
1255
1255
|
var t = 180 / Math.PI;
|
|
1256
|
-
return new
|
|
1256
|
+
return new N((2 * Math.atan(Math.exp(e.y / this.R)) - Math.PI / 2) * t, e.x * t / this.R);
|
|
1257
1257
|
},
|
|
1258
1258
|
bounds: (function() {
|
|
1259
|
-
var e =
|
|
1260
|
-
return new
|
|
1259
|
+
var e = R * Math.PI;
|
|
1260
|
+
return new k([-e, -e], [e, e]);
|
|
1261
1261
|
})()
|
|
1262
1262
|
};
|
|
1263
1263
|
function oe(e, t, n, r) {
|
|
@@ -1281,11 +1281,11 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1281
1281
|
function se(e, t, n, r) {
|
|
1282
1282
|
return new oe(e, t, n, r);
|
|
1283
1283
|
}
|
|
1284
|
-
var ce = n({},
|
|
1284
|
+
var ce = n({}, I, {
|
|
1285
1285
|
code: "EPSG:3857",
|
|
1286
|
-
projection:
|
|
1286
|
+
projection: z,
|
|
1287
1287
|
transformation: function() {
|
|
1288
|
-
var e = .5 / (Math.PI *
|
|
1288
|
+
var e = .5 / (Math.PI * z.R);
|
|
1289
1289
|
return se(e, .5, -e, .5);
|
|
1290
1290
|
}()
|
|
1291
1291
|
}), le = n({}, ce, { code: "EPSG:900913" });
|
|
@@ -1300,7 +1300,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1300
1300
|
}
|
|
1301
1301
|
return n || "M0 0";
|
|
1302
1302
|
}
|
|
1303
|
-
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document),
|
|
1303
|
+
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = Ke("webkit"), _e = Ke("android"), B = Ke("android 2") || Ke("android 3"), ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ye = _e && Ke("Google") && ve < 537 && !("AudioNode" in window), be = !!window.opera, xe = !he && Ke("chrome"), Se = Ke("gecko") && !ge && !be && !pe, Ce = !xe && Ke("safari"), we = Ke("phantom"), Te = "OTransition" in fe, Ee = navigator.platform.indexOf("Win") === 0, De = pe && "transition" in fe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !B, ke = "MozPerspective" in fe, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, je = typeof orientation < "u" || Ke("mobile"), Me = je && ge, V = je && Oe, Ne = !window.PointerEvent && window.MSPointerEvent, H = !!(window.PointerEvent || Ne), Pe = "ontouchstart" in window || !!window.TouchEvent, Fe = !window.L_NO_TOUCH && (Pe || H), Ie = je && be, Le = je && Se, Re = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ze = function() {
|
|
1304
1304
|
var e = !1;
|
|
1305
1305
|
try {
|
|
1306
1306
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1331,24 +1331,24 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1331
1331
|
ie: pe,
|
|
1332
1332
|
ielt9: me,
|
|
1333
1333
|
edge: he,
|
|
1334
|
-
webkit:
|
|
1335
|
-
android:
|
|
1336
|
-
android23:
|
|
1337
|
-
androidStock:
|
|
1338
|
-
opera:
|
|
1339
|
-
chrome:
|
|
1340
|
-
gecko:
|
|
1341
|
-
safari:
|
|
1342
|
-
phantom:
|
|
1343
|
-
opera12:
|
|
1344
|
-
win:
|
|
1345
|
-
ie3d:
|
|
1346
|
-
webkit3d:
|
|
1347
|
-
gecko3d:
|
|
1348
|
-
any3d:
|
|
1349
|
-
mobile:
|
|
1350
|
-
mobileWebkit:
|
|
1351
|
-
mobileWebkit3d:
|
|
1334
|
+
webkit: ge,
|
|
1335
|
+
android: _e,
|
|
1336
|
+
android23: B,
|
|
1337
|
+
androidStock: ye,
|
|
1338
|
+
opera: be,
|
|
1339
|
+
chrome: xe,
|
|
1340
|
+
gecko: Se,
|
|
1341
|
+
safari: Ce,
|
|
1342
|
+
phantom: we,
|
|
1343
|
+
opera12: Te,
|
|
1344
|
+
win: Ee,
|
|
1345
|
+
ie3d: De,
|
|
1346
|
+
webkit3d: Oe,
|
|
1347
|
+
gecko3d: ke,
|
|
1348
|
+
any3d: Ae,
|
|
1349
|
+
mobile: je,
|
|
1350
|
+
mobileWebkit: Me,
|
|
1351
|
+
mobileWebkit3d: V,
|
|
1352
1352
|
msPointer: Ne,
|
|
1353
1353
|
pointer: H,
|
|
1354
1354
|
touch: Fe,
|
|
@@ -1758,10 +1758,10 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1758
1758
|
trackResize: !0
|
|
1759
1759
|
},
|
|
1760
1760
|
initialize: function(e, t) {
|
|
1761
|
-
t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(
|
|
1761
|
+
t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(P(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = mt && U.any3d && !U.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), Y(this._proxy, ht, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
|
|
1762
1762
|
},
|
|
1763
1763
|
setView: function(e, t, r) {
|
|
1764
|
-
return t = t === void 0 ? this._zoom : this._limitZoom(t), e = this._limitCenter(
|
|
1764
|
+
return t = t === void 0 ? this._zoom : this._limitZoom(t), e = this._limitCenter(P(e), t, this.options.maxBounds), r ||= {}, this._stop(), this._loaded && !r.reset && r !== !0 && (r.animate !== void 0 && (r.zoom = n({ animate: r.animate }, r.zoom), r.pan = n({
|
|
1765
1765
|
animate: r.animate,
|
|
1766
1766
|
duration: r.duration
|
|
1767
1767
|
}, r.pan)), this._zoom === t ? this._tryAnimatedPan(e, r.pan) : this._tryAnimatedZoom && this._tryAnimatedZoom(e, t, r.zoom)) ? (clearTimeout(this._sizeTimer), this) : (this._resetView(e, t, r.pan && r.pan.noMoveStart), this);
|
|
@@ -1780,8 +1780,8 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1780
1780
|
return this.setView(o, t, { zoom: n });
|
|
1781
1781
|
},
|
|
1782
1782
|
_getBoundsCenterZoom: function(e, t) {
|
|
1783
|
-
t ||= {}, e = e.getBounds ? e.getBounds() :
|
|
1784
|
-
var n =
|
|
1783
|
+
t ||= {}, e = e.getBounds ? e.getBounds() : M(e);
|
|
1784
|
+
var n = O(t.paddingTopLeft || t.padding || [0, 0]), r = O(t.paddingBottomRight || t.padding || [0, 0]), i = this.getBoundsZoom(e, !1, n.add(r));
|
|
1785
1785
|
if (i = typeof t.maxZoom == "number" ? Math.min(t.maxZoom, i) : i, i === Infinity) return {
|
|
1786
1786
|
center: e.getCenter(),
|
|
1787
1787
|
zoom: i
|
|
@@ -1793,7 +1793,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1793
1793
|
};
|
|
1794
1794
|
},
|
|
1795
1795
|
fitBounds: function(e, t) {
|
|
1796
|
-
if (e =
|
|
1796
|
+
if (e = M(e), !e.isValid()) throw Error("Bounds are not valid.");
|
|
1797
1797
|
var n = this._getBoundsCenterZoom(e, t);
|
|
1798
1798
|
return this.setView(n.center, n.zoom, t);
|
|
1799
1799
|
},
|
|
@@ -1804,7 +1804,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1804
1804
|
return this.setView(e, this._zoom, { pan: t });
|
|
1805
1805
|
},
|
|
1806
1806
|
panBy: function(e, t) {
|
|
1807
|
-
if (e =
|
|
1807
|
+
if (e = O(e).round(), t ||= {}, !e.x && !e.y) return this.fire("moveend");
|
|
1808
1808
|
if (t.animate !== !0 && !this.getSize().contains(e)) return this._resetView(this.unproject(this.project(this.getCenter()).add(e)), this.getZoom()), this;
|
|
1809
1809
|
if (this._panAnim || (this._panAnim = new rn(), this._panAnim.on({
|
|
1810
1810
|
step: this._onPanTransitionStep,
|
|
@@ -1820,7 +1820,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1820
1820
|
if (n ||= {}, n.animate === !1 || !U.any3d) return this.setView(e, t, n);
|
|
1821
1821
|
this._stop();
|
|
1822
1822
|
var r = this.project(this.getCenter()), i = this.project(e), a = this.getSize(), o = this._zoom;
|
|
1823
|
-
e =
|
|
1823
|
+
e = P(e), t = t === void 0 ? o : t;
|
|
1824
1824
|
var s = Math.max(a.x, a.y), c = s * this.getZoomScale(o, t), l = i.distanceTo(r) || 1, u = 1.42, d = u * u;
|
|
1825
1825
|
function f(e) {
|
|
1826
1826
|
var t = e ? -1 : 1, n = e ? c : s, r = (c * c - s * s + t * d * d * l * l) / (2 * n * d * l), i = Math.sqrt(r * r + 1) - r;
|
|
@@ -1857,7 +1857,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1857
1857
|
return this.flyTo(n.center, n.zoom, t);
|
|
1858
1858
|
},
|
|
1859
1859
|
setMaxBounds: function(e) {
|
|
1860
|
-
return e =
|
|
1860
|
+
return e = M(e), this.listens("moveend", this._panInsideMaxBounds) && this.off("moveend", this._panInsideMaxBounds), e.isValid() ? (this.options.maxBounds = e, this._loaded && this._panInsideMaxBounds(), this.on("moveend", this._panInsideMaxBounds)) : (this.options.maxBounds = null, this);
|
|
1861
1861
|
},
|
|
1862
1862
|
setMinZoom: function(e) {
|
|
1863
1863
|
var t = this.options.minZoom;
|
|
@@ -1869,12 +1869,12 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1869
1869
|
},
|
|
1870
1870
|
panInsideBounds: function(e, t) {
|
|
1871
1871
|
this._enforcingBounds = !0;
|
|
1872
|
-
var n = this.getCenter(), r = this._limitCenter(n, this._zoom,
|
|
1872
|
+
var n = this.getCenter(), r = this._limitCenter(n, this._zoom, M(e));
|
|
1873
1873
|
return n.equals(r) || this.panTo(r, t), this._enforcingBounds = !1, this;
|
|
1874
1874
|
},
|
|
1875
1875
|
panInside: function(e, t) {
|
|
1876
1876
|
t ||= {};
|
|
1877
|
-
var n =
|
|
1877
|
+
var n = O(t.paddingTopLeft || t.padding || [0, 0]), r = O(t.paddingBottomRight || t.padding || [0, 0]), i = this.project(this.getCenter()), a = this.project(e), o = this.getPixelBounds(), s = A([o.min.add(n), o.max.subtract(r)]), c = s.getSize();
|
|
1878
1878
|
if (!s.contains(a)) {
|
|
1879
1879
|
this._enforcingBounds = !0;
|
|
1880
1880
|
var l = a.subtract(s.getCenter()), u = s.extend(a).getSize().subtract(c);
|
|
@@ -1924,7 +1924,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1924
1924
|
},
|
|
1925
1925
|
_handleGeolocationResponse: function(e) {
|
|
1926
1926
|
if (this._container._leaflet_id) {
|
|
1927
|
-
var t = e.coords.latitude, n = e.coords.longitude, r = new
|
|
1927
|
+
var t = e.coords.latitude, n = e.coords.longitude, r = new N(t, n), i = r.toBounds(e.coords.accuracy * 2), a = this._locateOptions;
|
|
1928
1928
|
if (a.setView) {
|
|
1929
1929
|
var o = this.getBoundsZoom(i);
|
|
1930
1930
|
this.setView(r, a.maxZoom ? Math.min(o, a.maxZoom) : o);
|
|
@@ -1966,7 +1966,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1966
1966
|
},
|
|
1967
1967
|
getBounds: function() {
|
|
1968
1968
|
var e = this.getPixelBounds();
|
|
1969
|
-
return new
|
|
1969
|
+
return new j(this.unproject(e.getBottomLeft()), this.unproject(e.getTopRight()));
|
|
1970
1970
|
},
|
|
1971
1971
|
getMinZoom: function() {
|
|
1972
1972
|
return this.options.minZoom === void 0 ? this._layersMinZoom || 0 : this.options.minZoom;
|
|
@@ -1975,8 +1975,8 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1975
1975
|
return this.options.maxZoom === void 0 ? this._layersMaxZoom === void 0 ? Infinity : this._layersMaxZoom : this.options.maxZoom;
|
|
1976
1976
|
},
|
|
1977
1977
|
getBoundsZoom: function(e, t, n) {
|
|
1978
|
-
e =
|
|
1979
|
-
var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l =
|
|
1978
|
+
e = M(e), n = O(n || [0, 0]);
|
|
1979
|
+
var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l = A(this.project(s, r), this.project(o, r)).getSize(), u = U.any3d ? this.options.zoomSnap : 1, d = c.x / l.x, f = c.y / l.y, p = t ? Math.max(d, f) : Math.min(d, f);
|
|
1980
1980
|
return r = this.getScaleZoom(p, r), u && (r = Math.round(r / (u / 100)) * (u / 100), r = t ? Math.ceil(r / u) * u : Math.floor(r / u) * u), Math.max(i, Math.min(a, r));
|
|
1981
1981
|
},
|
|
1982
1982
|
getSize: function() {
|
|
@@ -1984,7 +1984,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
1984
1984
|
},
|
|
1985
1985
|
getPixelBounds: function(e, t) {
|
|
1986
1986
|
var n = this._getTopLeftPoint(e, t);
|
|
1987
|
-
return new
|
|
1987
|
+
return new k(n, n.add(this.getSize()));
|
|
1988
1988
|
},
|
|
1989
1989
|
getPixelOrigin: function() {
|
|
1990
1990
|
return this._checkIfLoaded(), this._pixelOrigin;
|
|
@@ -2012,39 +2012,39 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2012
2012
|
return isNaN(r) ? Infinity : r;
|
|
2013
2013
|
},
|
|
2014
2014
|
project: function(e, t) {
|
|
2015
|
-
return t = t === void 0 ? this._zoom : t, this.options.crs.latLngToPoint(
|
|
2015
|
+
return t = t === void 0 ? this._zoom : t, this.options.crs.latLngToPoint(P(e), t);
|
|
2016
2016
|
},
|
|
2017
2017
|
unproject: function(e, t) {
|
|
2018
|
-
return t = t === void 0 ? this._zoom : t, this.options.crs.pointToLatLng(
|
|
2018
|
+
return t = t === void 0 ? this._zoom : t, this.options.crs.pointToLatLng(O(e), t);
|
|
2019
2019
|
},
|
|
2020
2020
|
layerPointToLatLng: function(e) {
|
|
2021
|
-
var t =
|
|
2021
|
+
var t = O(e).add(this.getPixelOrigin());
|
|
2022
2022
|
return this.unproject(t);
|
|
2023
2023
|
},
|
|
2024
2024
|
latLngToLayerPoint: function(e) {
|
|
2025
|
-
return this.project(
|
|
2025
|
+
return this.project(P(e))._round()._subtract(this.getPixelOrigin());
|
|
2026
2026
|
},
|
|
2027
2027
|
wrapLatLng: function(e) {
|
|
2028
|
-
return this.options.crs.wrapLatLng(
|
|
2028
|
+
return this.options.crs.wrapLatLng(P(e));
|
|
2029
2029
|
},
|
|
2030
2030
|
wrapLatLngBounds: function(e) {
|
|
2031
|
-
return this.options.crs.wrapLatLngBounds(
|
|
2031
|
+
return this.options.crs.wrapLatLngBounds(M(e));
|
|
2032
2032
|
},
|
|
2033
2033
|
distance: function(e, t) {
|
|
2034
|
-
return this.options.crs.distance(
|
|
2034
|
+
return this.options.crs.distance(P(e), P(t));
|
|
2035
2035
|
},
|
|
2036
2036
|
containerPointToLayerPoint: function(e) {
|
|
2037
|
-
return
|
|
2037
|
+
return O(e).subtract(this._getMapPanePos());
|
|
2038
2038
|
},
|
|
2039
2039
|
layerPointToContainerPoint: function(e) {
|
|
2040
|
-
return
|
|
2040
|
+
return O(e).add(this._getMapPanePos());
|
|
2041
2041
|
},
|
|
2042
2042
|
containerPointToLatLng: function(e) {
|
|
2043
|
-
var t = this.containerPointToLayerPoint(
|
|
2043
|
+
var t = this.containerPointToLayerPoint(O(e));
|
|
2044
2044
|
return this.layerPointToLatLng(t);
|
|
2045
2045
|
},
|
|
2046
2046
|
latLngToContainerPoint: function(e) {
|
|
2047
|
-
return this.layerPointToContainerPoint(this.latLngToLayerPoint(
|
|
2047
|
+
return this.layerPointToContainerPoint(this.latLngToLayerPoint(P(e)));
|
|
2048
2048
|
},
|
|
2049
2049
|
mouseEventToContainerPoint: function(e) {
|
|
2050
2050
|
return Qt(e, this._container);
|
|
@@ -2201,7 +2201,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2201
2201
|
},
|
|
2202
2202
|
_latLngBoundsToNewLayerBounds: function(e, t, n) {
|
|
2203
2203
|
var r = this._getNewPixelOrigin(n, t);
|
|
2204
|
-
return
|
|
2204
|
+
return A([
|
|
2205
2205
|
this.project(e.getSouthWest(), t)._subtract(r),
|
|
2206
2206
|
this.project(e.getNorthWest(), t)._subtract(r),
|
|
2207
2207
|
this.project(e.getSouthEast(), t)._subtract(r),
|
|
@@ -2216,16 +2216,16 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2216
2216
|
},
|
|
2217
2217
|
_limitCenter: function(e, t, n) {
|
|
2218
2218
|
if (!n) return e;
|
|
2219
|
-
var r = this.project(e, t), i = this.getSize().divideBy(2), a = new
|
|
2219
|
+
var r = this.project(e, t), i = this.getSize().divideBy(2), a = new k(r.subtract(i), r.add(i)), o = this._getBoundsOffset(a, n, t);
|
|
2220
2220
|
return Math.abs(o.x) <= 1 && Math.abs(o.y) <= 1 ? e : this.unproject(r.add(o), t);
|
|
2221
2221
|
},
|
|
2222
2222
|
_limitOffset: function(e, t) {
|
|
2223
2223
|
if (!t) return e;
|
|
2224
|
-
var n = this.getPixelBounds(), r = new
|
|
2224
|
+
var n = this.getPixelBounds(), r = new k(n.min.add(e), n.max.add(e));
|
|
2225
2225
|
return e.add(this._getBoundsOffset(r, t));
|
|
2226
2226
|
},
|
|
2227
2227
|
_getBoundsOffset: function(e, t, n) {
|
|
2228
|
-
var r =
|
|
2228
|
+
var r = A(this.project(t.getNorthEast(), n), this.project(t.getSouthWest(), n)), i = r.min.subtract(e.min), a = r.max.subtract(e.max);
|
|
2229
2229
|
return new D(this._rebound(i.x, -a.x), this._rebound(i.y, -a.y));
|
|
2230
2230
|
},
|
|
2231
2231
|
_rebound: function(e, t) {
|
|
@@ -2674,24 +2674,24 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2674
2674
|
var n, r, i, a, o, s, c, l, u;
|
|
2675
2675
|
if (!e || e.length === 0) throw Error("latlngs not passed");
|
|
2676
2676
|
Fn(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
|
|
2677
|
-
var d =
|
|
2677
|
+
var d = P([0, 0]), f = M(e);
|
|
2678
2678
|
f.getNorthWest().distanceTo(f.getSouthWest()) * f.getNorthEast().distanceTo(f.getNorthWest()) < 1700 && (d = xn(e));
|
|
2679
2679
|
var p = e.length, m = [];
|
|
2680
2680
|
for (n = 0; n < p; n++) {
|
|
2681
|
-
var h =
|
|
2682
|
-
m.push(t.project(
|
|
2681
|
+
var h = P(e[n]);
|
|
2682
|
+
m.push(t.project(P([h.lat - d.lat, h.lng - d.lng])));
|
|
2683
2683
|
}
|
|
2684
2684
|
for (s = c = l = 0, n = 0, r = p - 1; n < p; r = n++) i = m[n], a = m[r], o = i.y * a.x - a.y * i.x, c += (i.x + a.x) * o, l += (i.y + a.y) * o, s += o * 3;
|
|
2685
2685
|
u = s === 0 ? m[0] : [c / s, l / s];
|
|
2686
|
-
var g = t.unproject(
|
|
2687
|
-
return
|
|
2686
|
+
var g = t.unproject(O(u));
|
|
2687
|
+
return P([g.lat + d.lat, g.lng + d.lng]);
|
|
2688
2688
|
}
|
|
2689
2689
|
function xn(e) {
|
|
2690
2690
|
for (var t = 0, n = 0, r = 0, i = 0; i < e.length; i++) {
|
|
2691
|
-
var a =
|
|
2691
|
+
var a = P(e[i]);
|
|
2692
2692
|
t += a.lat, n += a.lng, r++;
|
|
2693
2693
|
}
|
|
2694
|
-
return
|
|
2694
|
+
return P([t / r, n / r]);
|
|
2695
2695
|
}
|
|
2696
2696
|
var Sn = {
|
|
2697
2697
|
__proto__: null,
|
|
@@ -2761,12 +2761,12 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2761
2761
|
var n, r, i, a, o, s, c, l;
|
|
2762
2762
|
if (!e || e.length === 0) throw Error("latlngs not passed");
|
|
2763
2763
|
Fn(e) || (console.warn("latlngs are not flat! Only the first ring will be used"), e = e[0]);
|
|
2764
|
-
var u =
|
|
2764
|
+
var u = P([0, 0]), d = M(e);
|
|
2765
2765
|
d.getNorthWest().distanceTo(d.getSouthWest()) * d.getNorthEast().distanceTo(d.getNorthWest()) < 1700 && (u = xn(e));
|
|
2766
2766
|
var f = e.length, p = [];
|
|
2767
2767
|
for (n = 0; n < f; n++) {
|
|
2768
|
-
var m =
|
|
2769
|
-
p.push(t.project(
|
|
2768
|
+
var m = P(e[n]);
|
|
2769
|
+
p.push(t.project(P([m.lat - u.lat, m.lng - u.lng])));
|
|
2770
2770
|
}
|
|
2771
2771
|
for (n = 0, r = 0; n < f - 1; n++) r += p[n].distanceTo(p[n + 1]) / 2;
|
|
2772
2772
|
if (r === 0) l = p[0];
|
|
@@ -2774,8 +2774,8 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2774
2774
|
c = (a - r) / i, l = [s.x - c * (s.x - o.x), s.y - c * (s.y - o.y)];
|
|
2775
2775
|
break;
|
|
2776
2776
|
}
|
|
2777
|
-
var h = t.unproject(
|
|
2778
|
-
return
|
|
2777
|
+
var h = t.unproject(O(l));
|
|
2778
|
+
return P([h.lat + u.lat, h.lng + u.lng]);
|
|
2779
2779
|
}
|
|
2780
2780
|
var Rn = {
|
|
2781
2781
|
__proto__: null,
|
|
@@ -2794,38 +2794,38 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2794
2794
|
return new D(e.lng, e.lat);
|
|
2795
2795
|
},
|
|
2796
2796
|
unproject: function(e) {
|
|
2797
|
-
return new
|
|
2797
|
+
return new N(e.y, e.x);
|
|
2798
2798
|
},
|
|
2799
|
-
bounds: new
|
|
2799
|
+
bounds: new k([-180, -90], [180, 90])
|
|
2800
2800
|
}, Bn = {
|
|
2801
2801
|
R: 6378137,
|
|
2802
2802
|
R_MINOR: 6356752.314245179,
|
|
2803
|
-
bounds: new
|
|
2803
|
+
bounds: new k([-20037508.34279, -15496570.73972], [20037508.34279, 18764656.23138]),
|
|
2804
2804
|
project: function(e) {
|
|
2805
2805
|
var t = Math.PI / 180, n = this.R, r = e.lat * t, i = this.R_MINOR / n, a = Math.sqrt(1 - i * i), o = a * Math.sin(r), s = Math.tan(Math.PI / 4 - r / 2) / ((1 - o) / (1 + o)) ** (a / 2);
|
|
2806
2806
|
return r = -n * Math.log(Math.max(s, 1e-10)), new D(e.lng * t * n, r);
|
|
2807
2807
|
},
|
|
2808
2808
|
unproject: function(e) {
|
|
2809
2809
|
for (var t = 180 / Math.PI, n = this.R, r = this.R_MINOR / n, i = Math.sqrt(1 - r * r), a = Math.exp(-e.y / n), o = Math.PI / 2 - 2 * Math.atan(a), s = 0, c = .1, l; s < 15 && Math.abs(c) > 1e-7; s++) l = i * Math.sin(o), l = ((1 - l) / (1 + l)) ** (i / 2), c = Math.PI / 2 - 2 * Math.atan(a * l) - o, o += c;
|
|
2810
|
-
return new
|
|
2810
|
+
return new N(o * t, e.x * t / n);
|
|
2811
2811
|
}
|
|
2812
2812
|
}, Vn = {
|
|
2813
2813
|
__proto__: null,
|
|
2814
2814
|
LonLat: zn,
|
|
2815
2815
|
Mercator: Bn,
|
|
2816
|
-
SphericalMercator:
|
|
2817
|
-
}, Hn = n({},
|
|
2816
|
+
SphericalMercator: z
|
|
2817
|
+
}, Hn = n({}, I, {
|
|
2818
2818
|
code: "EPSG:3395",
|
|
2819
2819
|
projection: Bn,
|
|
2820
2820
|
transformation: function() {
|
|
2821
2821
|
var e = .5 / (Math.PI * Bn.R);
|
|
2822
2822
|
return se(e, .5, -e, .5);
|
|
2823
2823
|
}()
|
|
2824
|
-
}), Un = n({},
|
|
2824
|
+
}), Un = n({}, I, {
|
|
2825
2825
|
code: "EPSG:4326",
|
|
2826
2826
|
projection: zn,
|
|
2827
2827
|
transformation: se(1 / 180, 1, -1 / 180, .5)
|
|
2828
|
-
}), Wn = n({},
|
|
2828
|
+
}), Wn = n({}, F, {
|
|
2829
2829
|
projection: zn,
|
|
2830
2830
|
transformation: se(1, 0, -1, 0),
|
|
2831
2831
|
scale: function(e) {
|
|
@@ -2840,7 +2840,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2840
2840
|
},
|
|
2841
2841
|
infinite: !0
|
|
2842
2842
|
});
|
|
2843
|
-
|
|
2843
|
+
F.Earth = I, F.EPSG3395 = Hn, F.EPSG3857 = ce, F.EPSG900913 = le, F.EPSG4326 = Un, F.Simple = Wn;
|
|
2844
2844
|
var Gn = E.extend({
|
|
2845
2845
|
options: {
|
|
2846
2846
|
pane: "overlayPane",
|
|
@@ -2985,7 +2985,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
2985
2985
|
return this.invoke("bringToBack");
|
|
2986
2986
|
},
|
|
2987
2987
|
getBounds: function() {
|
|
2988
|
-
var e = new
|
|
2988
|
+
var e = new j();
|
|
2989
2989
|
for (var t in this._layers) {
|
|
2990
2990
|
var n = this._layers[t];
|
|
2991
2991
|
e.extend(n.getBounds ? n.getBounds() : n.getLatLng());
|
|
@@ -3021,7 +3021,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3021
3021
|
_setIconStyles: function(e, t) {
|
|
3022
3022
|
var n = this.options, r = n[t + "Size"];
|
|
3023
3023
|
typeof r == "number" && (r = [r, r]);
|
|
3024
|
-
var i =
|
|
3024
|
+
var i = O(r), a = O(t === "shadow" && n.shadowAnchor || n.iconAnchor || i && i.divideBy(2, !0));
|
|
3025
3025
|
e.className = "leaflet-marker-" + t + " " + (n.className || ""), a && (e.style.marginLeft = -a.x + "px", e.style.marginTop = -a.y + "px"), i && (e.style.width = i.x + "px", e.style.height = i.y + "px");
|
|
3026
3026
|
},
|
|
3027
3027
|
_createImg: function(e, t) {
|
|
@@ -3086,9 +3086,9 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3086
3086
|
return this._draggable && this._draggable._moved;
|
|
3087
3087
|
},
|
|
3088
3088
|
_adjustPan: function(e) {
|
|
3089
|
-
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ot(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c =
|
|
3089
|
+
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ot(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c = A(o.min._subtract(s).add(i), o.max._subtract(s).subtract(i));
|
|
3090
3090
|
if (!c.contains(a)) {
|
|
3091
|
-
var l =
|
|
3091
|
+
var l = O((Math.max(c.max.x, a.x) - c.max.x) / (o.max.x - c.max.x) - (Math.min(c.min.x, a.x) - c.min.x) / (o.min.x - c.min.x), (Math.max(c.max.y, a.y) - c.max.y) / (o.max.y - c.max.y) - (Math.min(c.min.y, a.y) - c.min.y) / (o.min.y - c.min.y)).multiplyBy(r);
|
|
3092
3092
|
n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), J(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest = x(this._adjustPan.bind(this, e));
|
|
3093
3093
|
}
|
|
3094
3094
|
},
|
|
@@ -3126,7 +3126,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3126
3126
|
autoPanSpeed: 10
|
|
3127
3127
|
},
|
|
3128
3128
|
initialize: function(e, t) {
|
|
3129
|
-
p(this, t), this._latlng =
|
|
3129
|
+
p(this, t), this._latlng = P(e);
|
|
3130
3130
|
},
|
|
3131
3131
|
onAdd: function(e) {
|
|
3132
3132
|
this._zoomAnimated = this._zoomAnimated && e.options.markerZoomAnimation, this._zoomAnimated && e.on("zoomanim", this._animateZoom, this), this._initIcon(), this.update();
|
|
@@ -3145,7 +3145,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3145
3145
|
},
|
|
3146
3146
|
setLatLng: function(e) {
|
|
3147
3147
|
var t = this._latlng;
|
|
3148
|
-
return this._latlng =
|
|
3148
|
+
return this._latlng = P(e), this.update(), this.fire("move", {
|
|
3149
3149
|
oldLatLng: t,
|
|
3150
3150
|
latlng: this._latlng
|
|
3151
3151
|
});
|
|
@@ -3219,7 +3219,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3219
3219
|
_panOnFocus: function() {
|
|
3220
3220
|
var e = this._map;
|
|
3221
3221
|
if (e) {
|
|
3222
|
-
var t = this.options.icon.options, n = t.iconSize ?
|
|
3222
|
+
var t = this.options.icon.options, n = t.iconSize ? O(t.iconSize) : O(0, 0), r = t.iconAnchor ? O(t.iconAnchor) : O(0, 0);
|
|
3223
3223
|
e.panInside(this._latlng, {
|
|
3224
3224
|
paddingTopLeft: r,
|
|
3225
3225
|
paddingBottomRight: n.subtract(r)
|
|
@@ -3289,11 +3289,11 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3289
3289
|
radius: 10
|
|
3290
3290
|
},
|
|
3291
3291
|
initialize: function(e, t) {
|
|
3292
|
-
p(this, t), this._latlng =
|
|
3292
|
+
p(this, t), this._latlng = P(e), this._radius = this.options.radius;
|
|
3293
3293
|
},
|
|
3294
3294
|
setLatLng: function(e) {
|
|
3295
3295
|
var t = this._latlng;
|
|
3296
|
-
return this._latlng =
|
|
3296
|
+
return this._latlng = P(e), this.redraw(), this.fire("move", {
|
|
3297
3297
|
oldLatLng: t,
|
|
3298
3298
|
latlng: this._latlng
|
|
3299
3299
|
});
|
|
@@ -3316,7 +3316,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3316
3316
|
},
|
|
3317
3317
|
_updateBounds: function() {
|
|
3318
3318
|
var e = this._radius, t = this._radiusY || e, n = this._clickTolerance(), r = [e + n, t + n];
|
|
3319
|
-
this._pxBounds = new
|
|
3319
|
+
this._pxBounds = new k(this._point.subtract(r), this._point.add(r));
|
|
3320
3320
|
},
|
|
3321
3321
|
_update: function() {
|
|
3322
3322
|
this._map && this._updatePath();
|
|
@@ -3336,7 +3336,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3336
3336
|
}
|
|
3337
3337
|
var ar = rr.extend({
|
|
3338
3338
|
initialize: function(e, t, r) {
|
|
3339
|
-
if (typeof t == "number" && (t = n({}, r, { radius: t })), p(this, t), this._latlng =
|
|
3339
|
+
if (typeof t == "number" && (t = n({}, r, { radius: t })), p(this, t), this._latlng = P(e), isNaN(this.options.radius)) throw Error("Circle radius cannot be NaN");
|
|
3340
3340
|
this._mRadius = this.options.radius;
|
|
3341
3341
|
},
|
|
3342
3342
|
setRadius: function(e) {
|
|
@@ -3347,13 +3347,13 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3347
3347
|
},
|
|
3348
3348
|
getBounds: function() {
|
|
3349
3349
|
var e = [this._radius, this._radiusY || this._radius];
|
|
3350
|
-
return new
|
|
3350
|
+
return new j(this._map.layerPointToLatLng(this._point.subtract(e)), this._map.layerPointToLatLng(this._point.add(e)));
|
|
3351
3351
|
},
|
|
3352
3352
|
setStyle: nr.prototype.setStyle,
|
|
3353
3353
|
_project: function() {
|
|
3354
3354
|
var e = this._latlng.lng, t = this._latlng.lat, n = this._map, r = n.options.crs;
|
|
3355
|
-
if (r.distance ===
|
|
3356
|
-
var i = Math.PI / 180, a = this._mRadius /
|
|
3355
|
+
if (r.distance === I.distance) {
|
|
3356
|
+
var i = Math.PI / 180, a = this._mRadius / I.R / i, o = n.project([t + a, e]), s = n.project([t - a, e]), c = o.add(s).divideBy(2), l = n.unproject(c).lat, u = Math.acos((Math.cos(a * i) - Math.sin(t * i) * Math.sin(l * i)) / (Math.cos(t * i) * Math.cos(l * i))) / i;
|
|
3357
3357
|
(isNaN(u) || u === 0) && (u = a / Math.cos(Math.PI / 180 * t)), this._point = c.subtract(n.getPixelOrigin()), this._radius = isNaN(u) ? 0 : c.x - n.project([l, e - u]).x, this._radiusY = c.y - o.y;
|
|
3358
3358
|
} else {
|
|
3359
3359
|
var d = r.unproject(r.project(this._latlng).subtract([this._mRadius, 0]));
|
|
@@ -3398,28 +3398,28 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3398
3398
|
return this._bounds;
|
|
3399
3399
|
},
|
|
3400
3400
|
addLatLng: function(e, t) {
|
|
3401
|
-
return t ||= this._defaultShape(), e =
|
|
3401
|
+
return t ||= this._defaultShape(), e = P(e), t.push(e), this._bounds.extend(e), this.redraw();
|
|
3402
3402
|
},
|
|
3403
3403
|
_setLatLngs: function(e) {
|
|
3404
|
-
this._bounds = new
|
|
3404
|
+
this._bounds = new j(), this._latlngs = this._convertLatLngs(e);
|
|
3405
3405
|
},
|
|
3406
3406
|
_defaultShape: function() {
|
|
3407
3407
|
return Fn(this._latlngs) ? this._latlngs : this._latlngs[0];
|
|
3408
3408
|
},
|
|
3409
3409
|
_convertLatLngs: function(e) {
|
|
3410
|
-
for (var t = [], n = Fn(e), r = 0, i = e.length; r < i; r++) n ? (t[r] =
|
|
3410
|
+
for (var t = [], n = Fn(e), r = 0, i = e.length; r < i; r++) n ? (t[r] = P(e[r]), this._bounds.extend(t[r])) : t[r] = this._convertLatLngs(e[r]);
|
|
3411
3411
|
return t;
|
|
3412
3412
|
},
|
|
3413
3413
|
_project: function() {
|
|
3414
|
-
var e = new
|
|
3414
|
+
var e = new k();
|
|
3415
3415
|
this._rings = [], this._projectLatlngs(this._latlngs, this._rings, e), this._bounds.isValid() && e.isValid() && (this._rawPxBounds = e, this._updateBounds());
|
|
3416
3416
|
},
|
|
3417
3417
|
_updateBounds: function() {
|
|
3418
3418
|
var e = this._clickTolerance(), t = new D(e, e);
|
|
3419
|
-
this._rawPxBounds && (this._pxBounds = new
|
|
3419
|
+
this._rawPxBounds && (this._pxBounds = new k([this._rawPxBounds.min.subtract(t), this._rawPxBounds.max.add(t)]));
|
|
3420
3420
|
},
|
|
3421
3421
|
_projectLatlngs: function(e, t, n) {
|
|
3422
|
-
var r = e[0] instanceof
|
|
3422
|
+
var r = e[0] instanceof N, i = e.length, a, o;
|
|
3423
3423
|
if (r) {
|
|
3424
3424
|
for (o = [], a = 0; a < i; a++) o[a] = this._map.latLngToLayerPoint(e[a]), n.extend(o[a]);
|
|
3425
3425
|
t.push(o);
|
|
@@ -3467,7 +3467,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3467
3467
|
},
|
|
3468
3468
|
_convertLatLngs: function(e) {
|
|
3469
3469
|
var t = sr.prototype._convertLatLngs.call(this, e), n = t.length;
|
|
3470
|
-
return n >= 2 && t[0] instanceof
|
|
3470
|
+
return n >= 2 && t[0] instanceof N && t[0].equals(t[n - 1]) && t.pop(), t;
|
|
3471
3471
|
},
|
|
3472
3472
|
_setLatLngs: function(e) {
|
|
3473
3473
|
sr.prototype._setLatLngs.call(this, e), Fn(this._latlngs) && (this._latlngs = [this._latlngs]);
|
|
@@ -3477,7 +3477,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3477
3477
|
},
|
|
3478
3478
|
_clipPoints: function() {
|
|
3479
3479
|
var e = this._renderer._bounds, t = this.options.weight, n = new D(t, t);
|
|
3480
|
-
if (e = new
|
|
3480
|
+
if (e = new k(e.min.subtract(n), e.max.add(n)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(e))) {
|
|
3481
3481
|
if (this.options.noClip) {
|
|
3482
3482
|
this._parts = this._rings;
|
|
3483
3483
|
return;
|
|
@@ -3560,14 +3560,14 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3560
3560
|
return e ? e(t, n) : new er(n, r && r.markersInheritOptions && r);
|
|
3561
3561
|
}
|
|
3562
3562
|
function mr(e) {
|
|
3563
|
-
return new
|
|
3563
|
+
return new N(e[1], e[0], e[2]);
|
|
3564
3564
|
}
|
|
3565
3565
|
function hr(e, t, n) {
|
|
3566
3566
|
for (var r = [], i = 0, a = e.length, o; i < a; i++) o = t ? hr(e[i], t - 1, n) : (n || mr)(e[i]), r.push(o);
|
|
3567
3567
|
return r;
|
|
3568
3568
|
}
|
|
3569
3569
|
function gr(e, t) {
|
|
3570
|
-
return e =
|
|
3570
|
+
return e = P(e), e.alt === void 0 ? [u(e.lng, t), u(e.lat, t)] : [
|
|
3571
3571
|
u(e.lng, t),
|
|
3572
3572
|
u(e.lat, t),
|
|
3573
3573
|
u(e.alt, t)
|
|
@@ -3651,7 +3651,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3651
3651
|
className: ""
|
|
3652
3652
|
},
|
|
3653
3653
|
initialize: function(e, t, n) {
|
|
3654
|
-
this._url = e, this._bounds =
|
|
3654
|
+
this._url = e, this._bounds = M(t), p(this, n);
|
|
3655
3655
|
},
|
|
3656
3656
|
onAdd: function() {
|
|
3657
3657
|
this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (K(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
|
|
@@ -3675,7 +3675,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3675
3675
|
return this._url = e, this._image && (this._image.src = e), this;
|
|
3676
3676
|
},
|
|
3677
3677
|
setBounds: function(e) {
|
|
3678
|
-
return this._bounds =
|
|
3678
|
+
return this._bounds = M(e), this._map && this._reset(), this;
|
|
3679
3679
|
},
|
|
3680
3680
|
getEvents: function() {
|
|
3681
3681
|
var e = {
|
|
@@ -3706,7 +3706,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3706
3706
|
Dt(this._image, n, t);
|
|
3707
3707
|
},
|
|
3708
3708
|
_reset: function() {
|
|
3709
|
-
var e = this._image, t = new
|
|
3709
|
+
var e = this._image, t = new k(this._map.latLngToLayerPoint(this._bounds.getNorthWest()), this._map.latLngToLayerPoint(this._bounds.getSouthEast())), n = t.getSize();
|
|
3710
3710
|
J(e, t.min), e.style.width = n.x + "px", e.style.height = n.y + "px";
|
|
3711
3711
|
},
|
|
3712
3712
|
_updateOpacity: function() {
|
|
@@ -3766,7 +3766,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3766
3766
|
content: ""
|
|
3767
3767
|
},
|
|
3768
3768
|
initialize: function(e, t) {
|
|
3769
|
-
e && (e instanceof
|
|
3769
|
+
e && (e instanceof N || _(e)) ? (this._latlng = P(e), p(this, t)) : (p(this, e), this._source = t), this.options.content && (this._content = this.options.content);
|
|
3770
3770
|
},
|
|
3771
3771
|
openOn: function(e) {
|
|
3772
3772
|
return e = arguments.length ? e : this._source._map, e.hasLayer(this) || e.addLayer(this), this;
|
|
@@ -3787,7 +3787,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3787
3787
|
return this._latlng;
|
|
3788
3788
|
},
|
|
3789
3789
|
setLatLng: function(e) {
|
|
3790
|
-
return this._latlng =
|
|
3790
|
+
return this._latlng = P(e), this._map && (this._updatePosition(), this._adjustPan()), this;
|
|
3791
3791
|
},
|
|
3792
3792
|
getContent: function() {
|
|
3793
3793
|
return this._content;
|
|
@@ -3851,7 +3851,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3851
3851
|
},
|
|
3852
3852
|
_updatePosition: function() {
|
|
3853
3853
|
if (this._map) {
|
|
3854
|
-
var e = this._map.latLngToLayerPoint(this._latlng), t =
|
|
3854
|
+
var e = this._map.latLngToLayerPoint(this._latlng), t = O(this.options.offset), n = this._getAnchor();
|
|
3855
3855
|
this._zoomAnimated ? J(this._container, e.add(n)) : t = t.add(e).add(n);
|
|
3856
3856
|
var r = this._containerBottom = -t.y, i = this._containerLeft = -Math.round(this._containerWidth / 2) + t.x;
|
|
3857
3857
|
this._container.style.bottom = r + "px", this._container.style.left = i + "px";
|
|
@@ -3927,12 +3927,12 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
3927
3927
|
}
|
|
3928
3928
|
var e = this._map, t = parseInt(_t(this._container, "marginBottom"), 10) || 0, n = this._container.offsetHeight + t, r = this._containerWidth, i = new D(this._containerLeft, -n - this._containerBottom);
|
|
3929
3929
|
i._add(Ot(this._container));
|
|
3930
|
-
var a = e.layerPointToContainerPoint(i), o =
|
|
3930
|
+
var a = e.layerPointToContainerPoint(i), o = O(this.options.autoPanPadding), s = O(this.options.autoPanPaddingTopLeft || o), c = O(this.options.autoPanPaddingBottomRight || o), l = e.getSize(), u = 0, d = 0;
|
|
3931
3931
|
a.x + r + c.x > l.x && (u = a.x + r - l.x + c.x), a.x - u - s.x < 0 && (u = a.x - s.x), a.y + n + c.y > l.y && (d = a.y + n - l.y + c.y), a.y - d - s.y < 0 && (d = a.y - s.y), (u || d) && (this.options.keepInView && (this._autopanning = !0), e.fire("autopanstart").panBy([u, d]));
|
|
3932
3932
|
}
|
|
3933
3933
|
},
|
|
3934
3934
|
_getAnchor: function() {
|
|
3935
|
-
return
|
|
3935
|
+
return O(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
|
|
3936
3936
|
}
|
|
3937
3937
|
}), jr = function(e, t) {
|
|
3938
3938
|
return new Ar(e, t);
|
|
@@ -4023,8 +4023,8 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4023
4023
|
_updateLayout: function() {},
|
|
4024
4024
|
_adjustPan: function() {},
|
|
4025
4025
|
_setPosition: function(e) {
|
|
4026
|
-
var t, n, r = this._map, i = this._container, a = r.latLngToContainerPoint(r.getCenter()), o = r.layerPointToContainerPoint(e), s = this.options.direction, c = i.offsetWidth, l = i.offsetHeight, u =
|
|
4027
|
-
s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(
|
|
4026
|
+
var t, n, r = this._map, i = this._container, a = r.latLngToContainerPoint(r.getCenter()), o = r.layerPointToContainerPoint(e), s = this.options.direction, c = i.offsetWidth, l = i.offsetHeight, u = O(this.options.offset), d = this._getAnchor();
|
|
4027
|
+
s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(O(t, n, !0)).add(u).add(d), q(i, "leaflet-tooltip-right"), q(i, "leaflet-tooltip-left"), q(i, "leaflet-tooltip-top"), q(i, "leaflet-tooltip-bottom"), K(i, "leaflet-tooltip-" + s), J(i, e);
|
|
4028
4028
|
},
|
|
4029
4029
|
_updatePosition: function() {
|
|
4030
4030
|
var e = this._map.latLngToLayerPoint(this._latlng);
|
|
@@ -4038,7 +4038,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4038
4038
|
this._setPosition(t);
|
|
4039
4039
|
},
|
|
4040
4040
|
_getAnchor: function() {
|
|
4041
|
-
return
|
|
4041
|
+
return O(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
|
|
4042
4042
|
}
|
|
4043
4043
|
}), Nr = function(e, t) {
|
|
4044
4044
|
return new Mr(e, t);
|
|
@@ -4125,7 +4125,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4125
4125
|
createIcon: function(e) {
|
|
4126
4126
|
var t = e && e.tagName === "DIV" ? e : document.createElement("div"), n = this.options;
|
|
4127
4127
|
if (n.html instanceof Element ? (vt(t), t.appendChild(n.html)) : t.innerHTML = n.html === !1 ? "" : n.html, n.bgPos) {
|
|
4128
|
-
var r =
|
|
4128
|
+
var r = O(n.bgPos);
|
|
4129
4129
|
t.style.backgroundPosition = -r.x + "px " + -r.y + "px";
|
|
4130
4130
|
}
|
|
4131
4131
|
return this._setIconStyles(t, "icon"), t;
|
|
@@ -4322,14 +4322,14 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4322
4322
|
},
|
|
4323
4323
|
_getTiledPixelBounds: function(e) {
|
|
4324
4324
|
var t = this._map, n = t._animatingZoom ? Math.max(t._animateToZoom, t.getZoom()) : t.getZoom(), r = t.getZoomScale(n, this._tileZoom), i = t.project(e, this._tileZoom).floor(), a = t.getSize().divideBy(r * 2);
|
|
4325
|
-
return new
|
|
4325
|
+
return new k(i.subtract(a), i.add(a));
|
|
4326
4326
|
},
|
|
4327
4327
|
_update: function(e) {
|
|
4328
4328
|
var t = this._map;
|
|
4329
4329
|
if (t) {
|
|
4330
4330
|
var n = this._clampZoom(t.getZoom());
|
|
4331
4331
|
if (e === void 0 && (e = t.getCenter()), this._tileZoom !== void 0) {
|
|
4332
|
-
var r = this._getTiledPixelBounds(e), i = this._pxBoundsToTileRange(r), a = i.getCenter(), o = [], s = this.options.keepBuffer, c = new
|
|
4332
|
+
var r = this._getTiledPixelBounds(e), i = this._pxBoundsToTileRange(r), a = i.getCenter(), o = [], s = this.options.keepBuffer, c = new k(i.getBottomLeft().subtract([s, -s]), i.getTopRight().add([s, -s]));
|
|
4333
4333
|
if (!(isFinite(i.min.x) && isFinite(i.min.y) && isFinite(i.max.x) && isFinite(i.max.y))) throw Error("Attempted to load an infinite number of tiles");
|
|
4334
4334
|
for (var l in this._tiles) {
|
|
4335
4335
|
var u = this._tiles[l].coords;
|
|
@@ -4365,7 +4365,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4365
4365
|
}
|
|
4366
4366
|
if (!this.options.bounds) return !0;
|
|
4367
4367
|
var r = this._tileCoordsToBounds(e);
|
|
4368
|
-
return
|
|
4368
|
+
return M(this.options.bounds).overlaps(r);
|
|
4369
4369
|
},
|
|
4370
4370
|
_keyToBounds: function(e) {
|
|
4371
4371
|
return this._tileCoordsToBounds(this._keyToTileCoords(e));
|
|
@@ -4375,7 +4375,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4375
4375
|
return [t.unproject(r, e.z), t.unproject(i, e.z)];
|
|
4376
4376
|
},
|
|
4377
4377
|
_tileCoordsToBounds: function(e) {
|
|
4378
|
-
var t = this._tileCoordsToNwSe(e), n = new
|
|
4378
|
+
var t = this._tileCoordsToNwSe(e), n = new j(t[0], t[1]);
|
|
4379
4379
|
return this.options.noWrap || (n = this._map.wrapLatLngBounds(n)), n;
|
|
4380
4380
|
},
|
|
4381
4381
|
_tileCoordsToKey: function(e) {
|
|
@@ -4429,7 +4429,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4429
4429
|
},
|
|
4430
4430
|
_pxBoundsToTileRange: function(e) {
|
|
4431
4431
|
var t = this.getTileSize();
|
|
4432
|
-
return new
|
|
4432
|
+
return new k(e.min.unscaleBy(t).floor(), e.max.unscaleBy(t).ceil().subtract([1, 1]));
|
|
4433
4433
|
},
|
|
4434
4434
|
_noTilesToLoad: function() {
|
|
4435
4435
|
for (var e in this._tiles) if (!this._tiles[e].loaded) return !1;
|
|
@@ -4544,7 +4544,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4544
4544
|
this.wmsParams[t] = this._crs.code, Rr.prototype.onAdd.call(this, e);
|
|
4545
4545
|
},
|
|
4546
4546
|
getTileUrl: function(e) {
|
|
4547
|
-
var t = this._tileCoordsToNwSe(e), n = this._crs, r =
|
|
4547
|
+
var t = this._tileCoordsToNwSe(e), n = this._crs, r = A(n.project(t[0]), n.project(t[1])), i = r.min, a = r.max, o = (this._wmsVersion >= 1.3 && this._crs === Un ? [
|
|
4548
4548
|
i.y,
|
|
4549
4549
|
i.x,
|
|
4550
4550
|
a.y,
|
|
@@ -4606,7 +4606,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4606
4606
|
},
|
|
4607
4607
|
_update: function() {
|
|
4608
4608
|
var e = this.options.padding, t = this._map.getSize(), n = this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();
|
|
4609
|
-
this._bounds = new
|
|
4609
|
+
this._bounds = new k(n, n.add(t.multiplyBy(1 + e * 2)).round()), this._center = this._map.getCenter(), this._zoom = this._map.getZoom();
|
|
4610
4610
|
}
|
|
4611
4611
|
}), Ur = Hr.extend({
|
|
4612
4612
|
options: { tolerance: 0 },
|
|
@@ -4682,7 +4682,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4682
4682
|
_extendRedrawBounds: function(e) {
|
|
4683
4683
|
if (e._pxBounds) {
|
|
4684
4684
|
var t = (e.options.weight || 0) + 1;
|
|
4685
|
-
this._redrawBounds = this._redrawBounds || new
|
|
4685
|
+
this._redrawBounds = this._redrawBounds || new k(), this._redrawBounds.extend(e._pxBounds.min.subtract([t, t])), this._redrawBounds.extend(e._pxBounds.max.add([t, t]));
|
|
4686
4686
|
}
|
|
4687
4687
|
},
|
|
4688
4688
|
_redraw: function() {
|
|
@@ -4898,7 +4898,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4898
4898
|
return this.setLatLngs(this._boundsToLatLngs(e));
|
|
4899
4899
|
},
|
|
4900
4900
|
_boundsToLatLngs: function(e) {
|
|
4901
|
-
return e =
|
|
4901
|
+
return e = M(e), [
|
|
4902
4902
|
e.getSouthWest(),
|
|
4903
4903
|
e.getNorthWest(),
|
|
4904
4904
|
e.getNorthEast(),
|
|
@@ -4943,7 +4943,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4943
4943
|
},
|
|
4944
4944
|
_onMouseMove: function(e) {
|
|
4945
4945
|
this._moved || (this._moved = !0, this._box = W("div", "leaflet-zoom-box", this._container), K(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(e);
|
|
4946
|
-
var t = new
|
|
4946
|
+
var t = new k(this._point, this._startPoint), n = t.getSize();
|
|
4947
4947
|
J(this._box, t.min), this._box.style.width = n.x + "px", this._box.style.height = n.y + "px";
|
|
4948
4948
|
},
|
|
4949
4949
|
_finish: function() {
|
|
@@ -4957,7 +4957,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
4957
4957
|
_onMouseUp: function(e) {
|
|
4958
4958
|
if ((e.which === 1 || e.button === 1) && (this._finish(), this._moved)) {
|
|
4959
4959
|
this._clearDeferredResetState(), this._resetStateTimeout = setTimeout(i(this._resetState, this), 0);
|
|
4960
|
-
var t = new
|
|
4960
|
+
var t = new j(this._map.containerPointToLatLng(this._startPoint), this._map.containerPointToLatLng(this._point));
|
|
4961
4961
|
this._map.fitBounds(t).fire("boxzoomend", { boxZoomBounds: t });
|
|
4962
4962
|
}
|
|
4963
4963
|
},
|
|
@@ -5011,8 +5011,8 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5011
5011
|
_onDragStart: function() {
|
|
5012
5012
|
var e = this._map;
|
|
5013
5013
|
if (e._stop(), this._map.options.maxBounds && this._map.options.maxBoundsViscosity) {
|
|
5014
|
-
var t =
|
|
5015
|
-
this._offsetLimit =
|
|
5014
|
+
var t = M(this._map.options.maxBounds);
|
|
5015
|
+
this._offsetLimit = A(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1), this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())), this._viscosity = Math.min(1, Math.max(0, this._map.options.maxBoundsViscosity));
|
|
5016
5016
|
} else this._offsetLimit = null;
|
|
5017
5017
|
e.fire("movestart").fire("dragstart"), e.options.inertia && (this._positions = [], this._times = []);
|
|
5018
5018
|
},
|
|
@@ -5142,7 +5142,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5142
5142
|
var t = e.keyCode, n = this._map, r;
|
|
5143
5143
|
if (t in this._panKeys) {
|
|
5144
5144
|
if (!n._panAnim || !n._panAnim._inProgress) {
|
|
5145
|
-
if (r = this._panKeys[t], e.shiftKey && (r =
|
|
5145
|
+
if (r = this._panKeys[t], e.shiftKey && (r = O(r).multiplyBy(3)), n.options.maxBounds && (r = n._limitOffset(O(r), n.options.maxBounds)), n.options.worldCopyJump) {
|
|
5146
5146
|
var i = n.wrapLatLng(n.unproject(n.project(n.getCenter()).add(r)));
|
|
5147
5147
|
n.panTo(i);
|
|
5148
5148
|
} else n.panBy(r);
|
|
@@ -5270,7 +5270,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
5270
5270
|
this._zooming = !1, S(this._animRequest), X(document, "touchmove", this._onTouchMove, this), X(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
5271
5271
|
}
|
|
5272
5272
|
});
|
|
5273
|
-
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Qr, Q.DoubleClickZoom = $r, Q.Drag = ei, Q.Keyboard = $, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds =
|
|
5273
|
+
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Qr, Q.DoubleClickZoom = $r, Q.Drag = ei, Q.Keyboard = $, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = k, e.Browser = U, e.CRS = F, e.Canvas = Ur, e.Circle = ar, e.CircleMarker = rr, e.Class = ie, e.Control = on, e.DivIcon = Pr, e.DivOverlay = kr, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = E, e.FeatureGroup = Jn, e.GeoJSON = dr, e.GridLayer = Ir, e.Handler = hn, e.Icon = Xn, e.ImageOverlay = Cr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Gn, e.LayerGroup = Kn, e.LineUtil = Rn, e.Map = Q, e.Marker = er, e.Mixin = gn, e.Path = nr, e.Point = D, e.PolyUtil = Sn, e.Polygon = lr, e.Polyline = sr, e.Popup = Ar, e.PosAnimation = rn, e.Projection = Vn, e.Rectangle = Xr, e.Renderer = Hr, e.SVG = Jr, e.SVGOverlay = Dr, e.TileLayer = Rr, e.Tooltip = Mr, e.Transformation = oe, e.Util = C, e.VideoOverlay = Tr, e.bind = i, e.bounds = A, e.canvas = Wr, e.circle = or, e.circleMarker = ir, e.control = sn, e.divIcon = Fr, e.extend = n, e.featureGroup = Yn, e.geoJSON = xr, e.geoJson = Sr, e.gridLayer = Lr, e.icon = Zn, e.imageOverlay = wr, e.latLng = P, e.latLngBounds = M, e.layerGroup = qn, e.map = an, e.marker = tr, e.point = O, e.polygon = ur, e.polyline = cr, e.popup = jr, e.rectangle = Zr, e.setOptions = p, e.stamp = o, e.svg = Yr, e.svgOverlay = Or, e.tileLayer = zr, e.tooltip = Nr, e.transformation = se, e.version = t, e.videoOverlay = Er;
|
|
5274
5274
|
var ai = window.L;
|
|
5275
5275
|
e.noConflict = function() {
|
|
5276
5276
|
return window.L = ai, this;
|
|
@@ -6017,7 +6017,7 @@ var K = /* @__PURE__ */ V(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]
|
|
|
6017
6017
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
6018
6018
|
});
|
|
6019
6019
|
})))();
|
|
6020
|
-
var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", an = /*#__PURE__*/
|
|
6020
|
+
var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", an = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6021
6021
|
__name: "Map",
|
|
6022
6022
|
props: {
|
|
6023
6023
|
modelValue: {},
|
|
@@ -6025,7 +6025,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6025
6025
|
},
|
|
6026
6026
|
emits: ["update:modelValue", "callback"],
|
|
6027
6027
|
setup(e, { emit: t }) {
|
|
6028
|
-
let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(he()), s = rn.default.Util.extend(rn.default.CRS.Simple, { transformation: new rn.default.Transformation(1, 0, 1, 0) }), c =
|
|
6028
|
+
let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(he()), s = rn.default.Util.extend(rn.default.CRS.Simple, { transformation: new rn.default.Transformation(1, 0, 1, 0) }), c = I(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = rn.default.icon({
|
|
6029
6029
|
iconUrl: Q,
|
|
6030
6030
|
iconSize: [32, 37],
|
|
6031
6031
|
iconAnchor: [16, 37]
|
|
@@ -6059,7 +6059,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6059
6059
|
});
|
|
6060
6060
|
});
|
|
6061
6061
|
}
|
|
6062
|
-
let { stop: m } =
|
|
6062
|
+
let { stop: m } = N(c, ([{ isIntersecting: e }]) => {
|
|
6063
6063
|
e && (m(), p());
|
|
6064
6064
|
}), h = n({
|
|
6065
6065
|
get: () => a.modelValue,
|
|
@@ -6085,7 +6085,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6085
6085
|
}), [["__scopeId", "data-v-c36a3ba7"]]), on = { style: {
|
|
6086
6086
|
height: "100%",
|
|
6087
6087
|
width: "100%"
|
|
6088
|
-
} }, sn = /* @__PURE__ */
|
|
6088
|
+
} }, sn = /* @__PURE__ */ R({
|
|
6089
6089
|
__name: "MapSelector",
|
|
6090
6090
|
props: {
|
|
6091
6091
|
roomList: {},
|
|
@@ -6094,7 +6094,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6094
6094
|
},
|
|
6095
6095
|
emits: ["update:config"],
|
|
6096
6096
|
setup(e, { emit: t }) {
|
|
6097
|
-
let { t: i } = v(), a =
|
|
6097
|
+
let { t: i } = v(), a = I(NaN), o = n(() => !isNaN(a.value)), s = e, c = t;
|
|
6098
6098
|
function d() {
|
|
6099
6099
|
o.value && (c("update:config", {
|
|
6100
6100
|
...s.config,
|
|
@@ -6124,7 +6124,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6124
6124
|
}, pn = {
|
|
6125
6125
|
key: 1,
|
|
6126
6126
|
class: "konnectio-listing-units-body"
|
|
6127
|
-
}, mn = /*#__PURE__*/
|
|
6127
|
+
}, mn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6128
6128
|
__name: "Hotel",
|
|
6129
6129
|
props: {
|
|
6130
6130
|
room: {},
|
|
@@ -6132,14 +6132,14 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6132
6132
|
callback: { type: Function }
|
|
6133
6133
|
},
|
|
6134
6134
|
setup(e) {
|
|
6135
|
-
let t =
|
|
6135
|
+
let t = I(!1);
|
|
6136
6136
|
function i() {
|
|
6137
6137
|
t.value = !0;
|
|
6138
6138
|
}
|
|
6139
6139
|
function o(e) {
|
|
6140
6140
|
c.callback(e), t.value = !1;
|
|
6141
6141
|
}
|
|
6142
|
-
let { t: s } = v(), c = e, f =
|
|
6142
|
+
let { t: s } = v(), c = e, f = I([]);
|
|
6143
6143
|
function p() {
|
|
6144
6144
|
let e = f.value.length;
|
|
6145
6145
|
le(e);
|
|
@@ -6150,18 +6150,18 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6150
6150
|
let ee = n(() => c.room.rates.map((e) => ({
|
|
6151
6151
|
label: e.name,
|
|
6152
6152
|
value: e.id
|
|
6153
|
-
}))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re, hasSharedAddonSelection: y } = C(ce()), { location: x } = C(oe()), { roomSelect: ie, isSearchOutdated: D } = C(he()), { addToCart:
|
|
6153
|
+
}))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re, hasSharedAddonSelection: y } = C(ce()), { location: x } = C(oe()), { roomSelect: ie, isSearchOutdated: D } = C(he()), { addToCart: O, removeFromCart: k } = se(), A = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), j = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), M = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), N = (e, t) => A(e, t) ? A(e, t)?.rooms : null, P = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6154
6154
|
value: e.index,
|
|
6155
6155
|
price: e.totalPrice,
|
|
6156
6156
|
adults: e.adultsCount,
|
|
6157
6157
|
children: e.childrenCount,
|
|
6158
6158
|
hasBreakfast: e.hasBreakfast
|
|
6159
|
-
})) || [],
|
|
6160
|
-
function
|
|
6159
|
+
})) || [], R = n(() => c.room.rates.length > 1);
|
|
6160
|
+
function z(e, t) {
|
|
6161
6161
|
f.value[e].config[0].id = c.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
|
|
6162
6162
|
}
|
|
6163
6163
|
function le(e = 0) {
|
|
6164
|
-
|
|
6164
|
+
R.value ? ne.value ? f.value[e] = {
|
|
6165
6165
|
id: c.room.bestRateMatch || void 0,
|
|
6166
6166
|
config: [{
|
|
6167
6167
|
id: c.room.bestRateMatch && !isNaN(c.room.bestRateMatch) ? c.room.rates.find((e) => e.id === c.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
@@ -6188,19 +6188,19 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6188
6188
|
le();
|
|
6189
6189
|
});
|
|
6190
6190
|
let ue = n(() => JSON.parse(JSON.stringify(f.value)));
|
|
6191
|
-
return
|
|
6191
|
+
return ae(ue, (e, t) => {
|
|
6192
6192
|
t.length > 0 && e.forEach((n, r) => {
|
|
6193
6193
|
t[r] && n.config.forEach((n, i) => {
|
|
6194
6194
|
let a = n.units, o = t[r].config[i].units;
|
|
6195
6195
|
if (a !== o) {
|
|
6196
6196
|
if (a > o) {
|
|
6197
6197
|
let t = f.value[r].config[i].addons;
|
|
6198
|
-
t.push(y.value(x.value) ? t[0] ??
|
|
6198
|
+
t.push(y.value(x.value) ? t[0] ?? ye(c.room.rates.find((t) => t.id === e[r].id)?.addons) : ye(c.room.rates.find((t) => t.id === e[r].id)?.addons)), O({
|
|
6199
6199
|
id: c.room.id,
|
|
6200
6200
|
name: c.room.title,
|
|
6201
6201
|
value: c.room.rates[r].rackRate
|
|
6202
6202
|
});
|
|
6203
|
-
} else f.value[r].config[i].addons.pop(),
|
|
6203
|
+
} else f.value[r].config[i].addons.pop(), k({
|
|
6204
6204
|
id: c.room.id,
|
|
6205
6205
|
name: c.room.title,
|
|
6206
6206
|
value: c.room.rates[r].rackRate
|
|
@@ -6208,7 +6208,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6208
6208
|
}
|
|
6209
6209
|
});
|
|
6210
6210
|
});
|
|
6211
|
-
}, { deep: !0 }),
|
|
6211
|
+
}, { deep: !0 }), ae(f, () => {
|
|
6212
6212
|
ie.value[c.room.id] = f.value;
|
|
6213
6213
|
}, { deep: !0 }), (n, c) => (b(), u(Xe, {
|
|
6214
6214
|
type: "hotel",
|
|
@@ -6219,19 +6219,19 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6219
6219
|
layout: e.layout,
|
|
6220
6220
|
facilities: e.room.facilities,
|
|
6221
6221
|
"prices-from": e.room.pricesFrom,
|
|
6222
|
-
"includes-breakfast":
|
|
6222
|
+
"includes-breakfast": M.value
|
|
6223
6223
|
}, {
|
|
6224
6224
|
action: S(() => [T("div", { class: E(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": f.value.length > 1 }]) }, [(b(!0), m(a, null, w(f.value, (n, u) => (b(), m("div", {
|
|
6225
6225
|
key: n.id,
|
|
6226
6226
|
class: "konnectio-hotel-room"
|
|
6227
|
-
}, [
|
|
6227
|
+
}, [R.value ? (b(), m("div", cn, [l(Me, {
|
|
6228
6228
|
modelValue: n.id,
|
|
6229
6229
|
"onUpdate:modelValue": (e) => n.id = e,
|
|
6230
6230
|
label: r(s)("hotel.roomVariant"),
|
|
6231
6231
|
placeholder: r(s)("hotel.chooseARoomVariant"),
|
|
6232
6232
|
options: ee.value,
|
|
6233
6233
|
searchable: !1,
|
|
6234
|
-
onChanged: (e) =>
|
|
6234
|
+
onChanged: (e) => z(u, e)
|
|
6235
6235
|
}, null, 8, [
|
|
6236
6236
|
"modelValue",
|
|
6237
6237
|
"onUpdate:modelValue",
|
|
@@ -6258,8 +6258,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6258
6258
|
"icon-type": "fas",
|
|
6259
6259
|
label: r(s)("general.guests"),
|
|
6260
6260
|
description: f === 0 ? void 0 : `${r(s)("general.maximumGuests")}: ${f}`,
|
|
6261
|
-
options:
|
|
6262
|
-
readonly: !(
|
|
6261
|
+
options: P(u),
|
|
6262
|
+
readonly: !(P(u).length > 1)
|
|
6263
6263
|
}, null, 8, [
|
|
6264
6264
|
"modelValue",
|
|
6265
6265
|
"onUpdate:modelValue",
|
|
@@ -6267,7 +6267,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6267
6267
|
"description",
|
|
6268
6268
|
"options",
|
|
6269
6269
|
"readonly"
|
|
6270
|
-
])]),
|
|
6270
|
+
])]), j.value ? (b(), m("div", pn, [l(Ne, {
|
|
6271
6271
|
onClickEvent: i,
|
|
6272
6272
|
label: r(s)("hotel.selectRoomOnMap"),
|
|
6273
6273
|
secondary: "",
|
|
@@ -6285,26 +6285,26 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6285
6285
|
"room-list",
|
|
6286
6286
|
"config",
|
|
6287
6287
|
"onUpdate:config"
|
|
6288
|
-
])])) : (b(), m("ul", fn, [l(
|
|
6288
|
+
])])) : (b(), m("ul", fn, [l(je, {
|
|
6289
6289
|
modelValue: a.units,
|
|
6290
6290
|
"onUpdate:modelValue": (e) => a.units = e,
|
|
6291
|
-
description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${
|
|
6291
|
+
description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${N(n.id, a.id)}`,
|
|
6292
6292
|
icon: "house",
|
|
6293
6293
|
"icon-type": "fas",
|
|
6294
6294
|
"icon-placement": "label",
|
|
6295
6295
|
label: r(s)("booking.availability.units"),
|
|
6296
6296
|
minValue: 0,
|
|
6297
|
-
"max-value":
|
|
6297
|
+
"max-value": N(u, a.id) || Infinity
|
|
6298
6298
|
}, null, 8, [
|
|
6299
6299
|
"modelValue",
|
|
6300
6300
|
"onUpdate:modelValue",
|
|
6301
6301
|
"description",
|
|
6302
6302
|
"label",
|
|
6303
6303
|
"max-value"
|
|
6304
|
-
])]))]))), 128)) : d("", !0)]))), 128))])) : d("", !0)]))), 128)), r(re) &&
|
|
6304
|
+
])]))]))), 128)) : d("", !0)]))), 128))])) : d("", !0)]))), 128)), r(re) && R.value ? (b(), m("button", {
|
|
6305
6305
|
key: 0,
|
|
6306
6306
|
class: "konnectio-hotel-add-extra-room link",
|
|
6307
|
-
onClick:
|
|
6307
|
+
onClick: F(p, ["prevent"])
|
|
6308
6308
|
}, [T("span", null, h(r(s)("hotel.addExtraVariant")), 1)])) : d("", !0)], 2)]),
|
|
6309
6309
|
_: 1
|
|
6310
6310
|
}, 8, [
|
|
@@ -6321,7 +6321,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6321
6321
|
}), [["__scopeId", "data-v-c7b61560"]]), hn = { class: "konnectio-template-side-panel" }, gn = { class: "konnectio-template-side-panel-listings" }, _n = { class: "konnectio-template-room-config" }, vn = { class: "konnectio-template-room-units" }, yn = { class: "konnectio-template-room-unit-header" }, bn = { class: "konnectio-template-footer" }, xn = {
|
|
6322
6322
|
key: 0,
|
|
6323
6323
|
class: "konnectio-template-selection-preview"
|
|
6324
|
-
}, Sn = { class: "konnectio-template-selection-item-header" }, Cn = { class: "konnectio-template-selection-item-name" }, wn = { class: "konnectio-template-selection-item-price" }, Tn = { class: "konnectio-template-selection-item-units" }, En = /*#__PURE__*/
|
|
6324
|
+
}, Sn = { class: "konnectio-template-selection-item-header" }, Cn = { class: "konnectio-template-selection-item-name" }, wn = { class: "konnectio-template-selection-item-price" }, Tn = { class: "konnectio-template-selection-item-units" }, En = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6325
6325
|
__name: "Template",
|
|
6326
6326
|
props: {
|
|
6327
6327
|
title: {},
|
|
@@ -6332,13 +6332,13 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6332
6332
|
callback: { type: Function }
|
|
6333
6333
|
},
|
|
6334
6334
|
setup(e) {
|
|
6335
|
-
let { t } = v(), i = ce(), o = he(), { location: c, adults: f, children: p } = C(oe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: ne, currentAdults: re, currentChildren: y } = C(o), { currency:
|
|
6335
|
+
let { t } = v(), i = ce(), o = he(), { location: c, adults: f, children: p } = C(oe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: ne, currentAdults: re, currentChildren: y, dealResolved: x } = C(o), { currency: ie } = C(i), { clearRoomSelection: D } = o, { addToCart: O } = se(), { hasChildSelection: k, hasSharedAddonSelection: A } = i, M = e, N = I(!1), P = f.value || 1, F = p.value || 0, R = te({}), z = n(() => {
|
|
6336
6336
|
function e(e, t) {
|
|
6337
6337
|
return N.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6338
6338
|
}
|
|
6339
|
-
let t =
|
|
6339
|
+
let t = M.roomGroups?.slice().sort(e) || [];
|
|
6340
6340
|
return t.forEach((e) => {
|
|
6341
|
-
|
|
6341
|
+
R[e.id] || (R[e.id] = {
|
|
6342
6342
|
units: 0,
|
|
6343
6343
|
configs: [{
|
|
6344
6344
|
adults: P,
|
|
@@ -6347,30 +6347,30 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6347
6347
|
});
|
|
6348
6348
|
}), t;
|
|
6349
6349
|
});
|
|
6350
|
-
function
|
|
6350
|
+
function le(e) {
|
|
6351
6351
|
return z.value.find((t) => t.id === e);
|
|
6352
6352
|
}
|
|
6353
|
-
function
|
|
6354
|
-
let t =
|
|
6353
|
+
function ue(e) {
|
|
6354
|
+
let t = le(e);
|
|
6355
6355
|
if (!t) return P;
|
|
6356
6356
|
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6357
6357
|
return Math.max(n, P);
|
|
6358
6358
|
}
|
|
6359
|
-
function ue(e) {
|
|
6360
|
-
let t = ae(e);
|
|
6361
|
-
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(F, 1) : 0;
|
|
6362
|
-
}
|
|
6363
6359
|
function de(e) {
|
|
6364
|
-
let t =
|
|
6365
|
-
return t
|
|
6360
|
+
let t = le(e);
|
|
6361
|
+
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(F, 1) : 0;
|
|
6366
6362
|
}
|
|
6367
6363
|
function pe(e) {
|
|
6368
|
-
let t =
|
|
6369
|
-
return t
|
|
6364
|
+
let t = le(e);
|
|
6365
|
+
return !t || x.value ? 1 : t.availableRoomCount || 1;
|
|
6366
|
+
}
|
|
6367
|
+
function me(e) {
|
|
6368
|
+
let t = le(e);
|
|
6369
|
+
return t ? t.extraPrice + M.weekendFee : 0;
|
|
6370
6370
|
}
|
|
6371
|
-
|
|
6372
|
-
Object.keys(
|
|
6373
|
-
let t =
|
|
6371
|
+
ae(() => ({ ...R }), () => {
|
|
6372
|
+
Object.keys(R).forEach((e) => {
|
|
6373
|
+
let t = R[Number(e)], n = t.units, r = t.configs.length;
|
|
6374
6374
|
if (n > r) for (let e = r; e < n; e++) t.configs.push({
|
|
6375
6375
|
adults: P,
|
|
6376
6376
|
children: F
|
|
@@ -6378,11 +6378,11 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6378
6378
|
else n < r && t.configs.splice(n);
|
|
6379
6379
|
});
|
|
6380
6380
|
}, { deep: !0 });
|
|
6381
|
-
let
|
|
6382
|
-
JSON.stringify(
|
|
6381
|
+
let ge = n(() => {
|
|
6382
|
+
JSON.stringify(R);
|
|
6383
6383
|
let e = {};
|
|
6384
6384
|
return z.value.forEach((t) => {
|
|
6385
|
-
let n =
|
|
6385
|
+
let n = R[t.id];
|
|
6386
6386
|
if (!n) {
|
|
6387
6387
|
e[t.id] = [];
|
|
6388
6388
|
return;
|
|
@@ -6390,27 +6390,27 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6390
6390
|
e[t.id] = n.configs.map((e) => fe(t, e.adults, e.children, P, F));
|
|
6391
6391
|
}), e;
|
|
6392
6392
|
});
|
|
6393
|
-
function
|
|
6394
|
-
return
|
|
6393
|
+
function _e(e, t) {
|
|
6394
|
+
return ge.value[e]?.[t] ?? 0;
|
|
6395
6395
|
}
|
|
6396
|
-
function
|
|
6396
|
+
function B() {
|
|
6397
6397
|
let e = 0;
|
|
6398
6398
|
return z.value.forEach((t) => {
|
|
6399
|
-
let n =
|
|
6399
|
+
let n = R[t.id];
|
|
6400
6400
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6401
|
-
let n =
|
|
6402
|
-
e += n +
|
|
6401
|
+
let n = _e(t.id, r);
|
|
6402
|
+
e += n + M.weekendFee;
|
|
6403
6403
|
}
|
|
6404
6404
|
}), e;
|
|
6405
6405
|
}
|
|
6406
|
-
function
|
|
6407
|
-
return Object.values(
|
|
6406
|
+
function ve() {
|
|
6407
|
+
return Object.values(R).reduce((e, t) => e + t.units, 0);
|
|
6408
6408
|
}
|
|
6409
|
-
let
|
|
6410
|
-
let t =
|
|
6409
|
+
let be = n(() => z.value.filter((e) => R[e.id]?.units > 0).map((e) => {
|
|
6410
|
+
let t = R[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6411
6411
|
adults: t.adults,
|
|
6412
6412
|
children: t.children,
|
|
6413
|
-
price:
|
|
6413
|
+
price: _e(e.id, n) + M.weekendFee
|
|
6414
6414
|
}));
|
|
6415
6415
|
return {
|
|
6416
6416
|
id: e.id,
|
|
@@ -6419,15 +6419,15 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6419
6419
|
units: n
|
|
6420
6420
|
};
|
|
6421
6421
|
}));
|
|
6422
|
-
|
|
6423
|
-
|
|
6422
|
+
ae(be, () => {
|
|
6423
|
+
j(() => window.dispatchEvent(new Event("resize")));
|
|
6424
6424
|
});
|
|
6425
|
-
function
|
|
6426
|
-
if (!Object.values(
|
|
6427
|
-
|
|
6425
|
+
function xe() {
|
|
6426
|
+
if (!Object.values(R).some((e) => e.units > 0)) return;
|
|
6427
|
+
D();
|
|
6428
6428
|
let e = [], t = 0, n = 0;
|
|
6429
6429
|
if (z.value.forEach((r) => {
|
|
6430
|
-
let i =
|
|
6430
|
+
let i = R[r.id];
|
|
6431
6431
|
if (!i || i.units === 0) return;
|
|
6432
6432
|
let a = i.configs.slice(0, i.units), o = A(c.value) ? {} : null;
|
|
6433
6433
|
e.push({
|
|
@@ -6435,12 +6435,12 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6435
6435
|
unitConfigs: a.map((e) => ({
|
|
6436
6436
|
adults: e.adults,
|
|
6437
6437
|
children: e.children,
|
|
6438
|
-
addons: o ??
|
|
6438
|
+
addons: o ?? ye(r.addons)
|
|
6439
6439
|
}))
|
|
6440
6440
|
}), _.value ||= r.id;
|
|
6441
6441
|
for (let e = 0; e < i.units; e++) {
|
|
6442
|
-
let t =
|
|
6443
|
-
|
|
6442
|
+
let t = _e(r.id, e);
|
|
6443
|
+
O({
|
|
6444
6444
|
id: r.id,
|
|
6445
6445
|
name: r.title,
|
|
6446
6446
|
value: t
|
|
@@ -6449,30 +6449,30 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6449
6449
|
a.forEach((e) => {
|
|
6450
6450
|
t += e.adults, n += e.children;
|
|
6451
6451
|
});
|
|
6452
|
-
}), ee.value = e, g.value =
|
|
6453
|
-
|
|
6452
|
+
}), ee.value = e, g.value = M.templateId, re.value = t, y.value = n, M.hideAddons === !1 && ne.value === !1) {
|
|
6453
|
+
M.callback(1);
|
|
6454
6454
|
return;
|
|
6455
6455
|
}
|
|
6456
|
-
|
|
6456
|
+
M.callback(2);
|
|
6457
6457
|
}
|
|
6458
6458
|
return (n, i) => (b(), u(Be, {
|
|
6459
6459
|
title: e.title,
|
|
6460
6460
|
subtitle: r(t)("booking.availability.selectATemplateRoom")
|
|
6461
6461
|
}, {
|
|
6462
|
-
footer: S(() => [T("div", bn, [
|
|
6462
|
+
footer: S(() => [T("div", bn, [be.value.length > 0 ? (b(), m("div", xn, [(b(!0), m(a, null, w(be.value, (e) => (b(), m("div", {
|
|
6463
6463
|
key: e.id,
|
|
6464
6464
|
class: "konnectio-template-selection-item"
|
|
6465
|
-
}, [T("div", Sn, [T("span", Cn, h(e.title), 1), T("span", wn, h(r(
|
|
6465
|
+
}, [T("div", Sn, [T("span", Cn, h(e.title), 1), T("span", wn, h(r(V)(e.totalPrice, r(ie))), 1)]), T("div", Tn, [(b(!0), m(a, null, w(e.units, (e, n) => (b(), m("span", {
|
|
6466
6466
|
key: n,
|
|
6467
6467
|
class: "konnectio-template-selection-unit"
|
|
6468
6468
|
}, [
|
|
6469
6469
|
s(h(r(t)("booking.reservation.room")) + " " + h(n + 1) + ": " + h(e.adults) + " " + h(r(t)("availability.adults")) + " ", 1),
|
|
6470
6470
|
e.children > 0 ? (b(), m(a, { key: 0 }, [s(" , " + h(e.children) + " " + h(r(t)("availability.children")), 1)], 64)) : d("", !0),
|
|
6471
|
-
s(" · " + h(r(
|
|
6471
|
+
s(" · " + h(r(V)(e.price, r(ie))), 1)
|
|
6472
6472
|
]))), 128))])]))), 128))])) : d("", !0), l(Ne, {
|
|
6473
|
-
onClickEvent:
|
|
6474
|
-
label: `${
|
|
6475
|
-
disabled:
|
|
6473
|
+
onClickEvent: xe,
|
|
6474
|
+
label: `${ve() > 1 ? r(t)("booking.availability.selectTheseRooms") : r(t)("booking.availability.selectThisRoom")} (${r(V)(B(), r(ie))})`,
|
|
6475
|
+
disabled: ve() === 0,
|
|
6476
6476
|
"full-width": ""
|
|
6477
6477
|
}, null, 8, ["label", "disabled"])])]),
|
|
6478
6478
|
default: S(() => [T("div", hn, [T("div", gn, [(b(!0), m(a, null, w(z.value, (e) => (b(), u(Xe, {
|
|
@@ -6482,30 +6482,30 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6482
6482
|
name: e.title,
|
|
6483
6483
|
description: e.description,
|
|
6484
6484
|
facilities: e.facilities,
|
|
6485
|
-
"prices-from":
|
|
6485
|
+
"prices-from": me(e.id),
|
|
6486
6486
|
gallery: e.images,
|
|
6487
6487
|
"includes-breakfast": !1,
|
|
6488
6488
|
"hide-info-button": !0
|
|
6489
6489
|
}, {
|
|
6490
|
-
action: S(() => [T("div", _n, [T("div", vn, [l(
|
|
6491
|
-
modelValue:
|
|
6492
|
-
"onUpdate:modelValue": (t) =>
|
|
6490
|
+
action: S(() => [T("div", _n, [T("div", vn, [l(je, {
|
|
6491
|
+
modelValue: R[e.id].units,
|
|
6492
|
+
"onUpdate:modelValue": (t) => R[e.id].units = t,
|
|
6493
6493
|
label: r(t)("booking.availability.units"),
|
|
6494
6494
|
icon: "house",
|
|
6495
6495
|
"icon-type": "fas",
|
|
6496
6496
|
"icon-placement": "label",
|
|
6497
6497
|
"min-value": 0,
|
|
6498
|
-
"max-value":
|
|
6498
|
+
"max-value": pe(e.id),
|
|
6499
6499
|
controls: !0
|
|
6500
6500
|
}, null, 8, [
|
|
6501
6501
|
"modelValue",
|
|
6502
6502
|
"onUpdate:modelValue",
|
|
6503
6503
|
"label",
|
|
6504
6504
|
"max-value"
|
|
6505
|
-
])]), (b(!0), m(a, null, w(
|
|
6505
|
+
])]), (b(!0), m(a, null, w(R[e.id].configs, (n, i) => (b(), m("div", {
|
|
6506
6506
|
key: i,
|
|
6507
6507
|
class: "konnectio-template-room-unit-config"
|
|
6508
|
-
}, [T("div", yn, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(
|
|
6508
|
+
}, [T("div", yn, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(V)(_e(e.id, i), r(ie))), 1)]), T("div", { class: E(["konnectio-template-room-guests", { "only-adult-guests": !r(k)(r(c)) }]) }, [l(je, {
|
|
6509
6509
|
modelValue: n.adults,
|
|
6510
6510
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6511
6511
|
label: r(t)("availability.adults"),
|
|
@@ -6514,7 +6514,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6514
6514
|
"icon-type": "fas",
|
|
6515
6515
|
"icon-placement": "label",
|
|
6516
6516
|
"min-value": 1,
|
|
6517
|
-
"max-value":
|
|
6517
|
+
"max-value": ue(e.id),
|
|
6518
6518
|
controls: !0
|
|
6519
6519
|
}, null, 8, [
|
|
6520
6520
|
"modelValue",
|
|
@@ -6522,7 +6522,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6522
6522
|
"label",
|
|
6523
6523
|
"description",
|
|
6524
6524
|
"max-value"
|
|
6525
|
-
]), r(k)(r(c)) ? (b(), u(
|
|
6525
|
+
]), r(k)(r(c)) ? (b(), u(je, {
|
|
6526
6526
|
key: 0,
|
|
6527
6527
|
modelValue: n.children,
|
|
6528
6528
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
@@ -6532,7 +6532,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6532
6532
|
"icon-type": "fas",
|
|
6533
6533
|
"icon-placement": "label",
|
|
6534
6534
|
"min-value": 0,
|
|
6535
|
-
"max-value":
|
|
6535
|
+
"max-value": de(e.id),
|
|
6536
6536
|
controls: !0
|
|
6537
6537
|
}, null, 8, [
|
|
6538
6538
|
"modelValue",
|
|
@@ -6553,7 +6553,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6553
6553
|
_: 1
|
|
6554
6554
|
}, 8, ["title", "subtitle"]));
|
|
6555
6555
|
}
|
|
6556
|
-
}), [["__scopeId", "data-v-
|
|
6556
|
+
}), [["__scopeId", "data-v-2496dc31"]]), Dn = { class: "konnectio-template-select-package" }, On = /* @__PURE__ */ R({
|
|
6557
6557
|
__name: "Template",
|
|
6558
6558
|
props: {
|
|
6559
6559
|
id: {},
|
|
@@ -6566,7 +6566,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6566
6566
|
callback: { type: Function }
|
|
6567
6567
|
},
|
|
6568
6568
|
setup(e) {
|
|
6569
|
-
let { t } = v(), i = e, { isSearchOutdated: a } = C(he()), o = n(() => i.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + i.weekendFee), s =
|
|
6569
|
+
let { t } = v(), i = e, { isSearchOutdated: a } = C(he()), o = n(() => i.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + i.weekendFee), s = I(!1);
|
|
6570
6570
|
function c() {
|
|
6571
6571
|
s.value = !0;
|
|
6572
6572
|
}
|
|
@@ -6579,7 +6579,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6579
6579
|
name: e.name,
|
|
6580
6580
|
description: e.description,
|
|
6581
6581
|
gallery: e.images,
|
|
6582
|
-
layout: r(
|
|
6582
|
+
layout: r(we).Template,
|
|
6583
6583
|
"includes-breakfast": !1,
|
|
6584
6584
|
"hide-info-button": !1,
|
|
6585
6585
|
"prices-from": o.value
|
|
@@ -6617,7 +6617,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6617
6617
|
"prices-from"
|
|
6618
6618
|
]));
|
|
6619
6619
|
}
|
|
6620
|
-
}), kn = { class: "konnectio-special-offer-availability" }, An = { class: "konnectio-special-offer-availability-button" }, jn = /*#__PURE__*/
|
|
6620
|
+
}), kn = { class: "konnectio-special-offer-availability" }, An = { class: "konnectio-special-offer-availability-button" }, jn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6621
6621
|
__name: "SpecialOffer",
|
|
6622
6622
|
props: {
|
|
6623
6623
|
id: {},
|
|
@@ -6630,7 +6630,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6630
6630
|
roomGroups: {}
|
|
6631
6631
|
},
|
|
6632
6632
|
setup(e) {
|
|
6633
|
-
let { t } = v(), { updateDates: i } = oe(), { display: a } = me(), o = e, s =
|
|
6633
|
+
let { t } = v(), { updateDates: i } = oe(), { display: a } = me(), o = e, s = I([]), c = n(() => Pe(o.fromDate, o.toDate) === 1);
|
|
6634
6634
|
function d() {
|
|
6635
6635
|
s.value.length > 0 ? i(s.value[0], s.value[1]) : a({
|
|
6636
6636
|
message: t("alert.error.selectDates"),
|
|
@@ -6645,7 +6645,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6645
6645
|
name: e.name,
|
|
6646
6646
|
description: e.description,
|
|
6647
6647
|
gallery: e.images,
|
|
6648
|
-
layout: r(
|
|
6648
|
+
layout: r(we).Template,
|
|
6649
6649
|
"includes-breakfast": !1,
|
|
6650
6650
|
"hide-info-button": !1,
|
|
6651
6651
|
"to-date": e.toDate,
|
|
@@ -6675,7 +6675,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6675
6675
|
"readonly"
|
|
6676
6676
|
]), T("div", An, [l(Ne, {
|
|
6677
6677
|
label: r(t)("availability.buttonLabel"),
|
|
6678
|
-
onClick:
|
|
6678
|
+
onClick: F(d, ["prevent"])
|
|
6679
6679
|
}, null, 8, ["label"])])])]),
|
|
6680
6680
|
_: 1
|
|
6681
6681
|
}, 8, [
|
|
@@ -6688,7 +6688,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6688
6688
|
"from-date"
|
|
6689
6689
|
]));
|
|
6690
6690
|
}
|
|
6691
|
-
}), [["__scopeId", "data-v-8f8a4dff"]]), Mn = /* @__PURE__ */
|
|
6691
|
+
}), [["__scopeId", "data-v-8f8a4dff"]]), Mn = /* @__PURE__ */ R({
|
|
6692
6692
|
__name: "TimeField",
|
|
6693
6693
|
props: {
|
|
6694
6694
|
modelValue: {},
|
|
@@ -6710,8 +6710,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6710
6710
|
function i(e) {
|
|
6711
6711
|
n("update:modelValue", e);
|
|
6712
6712
|
}
|
|
6713
|
-
let a =
|
|
6714
|
-
return
|
|
6713
|
+
let a = I(r.modelValue);
|
|
6714
|
+
return ae(a, (e) => {
|
|
6715
6715
|
i(e);
|
|
6716
6716
|
}), (t, n) => (b(), u(Ue, {
|
|
6717
6717
|
modelValue: a.value,
|
|
@@ -6745,7 +6745,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6745
6745
|
}), Nn = { style: {
|
|
6746
6746
|
display: "flex",
|
|
6747
6747
|
"align-items": "baseline"
|
|
6748
|
-
} }, Pn = /*#__PURE__*/
|
|
6748
|
+
} }, Pn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6749
6749
|
__name: "CountryField",
|
|
6750
6750
|
props: {
|
|
6751
6751
|
modelValue: {},
|
|
@@ -6772,7 +6772,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6772
6772
|
get: () => o.modelValue,
|
|
6773
6773
|
set: (e) => s(e)
|
|
6774
6774
|
});
|
|
6775
|
-
return (t, n) => (b(), u(
|
|
6775
|
+
return (t, n) => (b(), u(Me, {
|
|
6776
6776
|
modelValue: c.value,
|
|
6777
6777
|
"onUpdate:modelValue": n[0] ||= (e) => c.value = e,
|
|
6778
6778
|
label: e.label,
|
|
@@ -6795,7 +6795,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6795
6795
|
"error"
|
|
6796
6796
|
]));
|
|
6797
6797
|
}
|
|
6798
|
-
}), [["__scopeId", "data-v-f0651be7"]]), Fn = /*#__PURE__*/
|
|
6798
|
+
}), [["__scopeId", "data-v-f0651be7"]]), Fn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6799
6799
|
__name: "NameField",
|
|
6800
6800
|
props: {
|
|
6801
6801
|
modelValue: {},
|
|
@@ -6832,17 +6832,17 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6832
6832
|
},
|
|
6833
6833
|
emits: ["update:modelValue", "update:title"],
|
|
6834
6834
|
setup(e, { emit: t }) {
|
|
6835
|
-
let n = e, i = t, a = n.id ||
|
|
6835
|
+
let n = e, i = t, a = n.id || Se(), o = I(""), s = I(2);
|
|
6836
6836
|
function c() {
|
|
6837
6837
|
i("update:modelValue", o.value);
|
|
6838
6838
|
}
|
|
6839
|
-
|
|
6839
|
+
ae(s, (e) => {
|
|
6840
6840
|
i("update:title", e);
|
|
6841
6841
|
});
|
|
6842
6842
|
let { t: f } = v();
|
|
6843
6843
|
return g(() => {
|
|
6844
6844
|
n.modelValue && (o.value = n.modelValue), n.title && (s.value = n.title);
|
|
6845
|
-
}), (t, n) => (b(), u(
|
|
6845
|
+
}), (t, n) => (b(), u(Ce, {
|
|
6846
6846
|
label: e.label,
|
|
6847
6847
|
id: r(a),
|
|
6848
6848
|
required: e.required,
|
|
@@ -6851,11 +6851,11 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6851
6851
|
limit: e.limit,
|
|
6852
6852
|
error: e.error
|
|
6853
6853
|
}, {
|
|
6854
|
-
default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(
|
|
6854
|
+
default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(Me, {
|
|
6855
6855
|
key: 0,
|
|
6856
6856
|
modelValue: s.value,
|
|
6857
6857
|
"onUpdate:modelValue": n[0] ||= (e) => s.value = e,
|
|
6858
|
-
id: r(
|
|
6858
|
+
id: r(Se)(),
|
|
6859
6859
|
icon: e.icon,
|
|
6860
6860
|
"icon-color": e.iconColor,
|
|
6861
6861
|
"icon-type": e.iconType,
|
|
@@ -6892,7 +6892,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6892
6892
|
"icon-type",
|
|
6893
6893
|
"options",
|
|
6894
6894
|
"readonly"
|
|
6895
|
-
])), l(
|
|
6895
|
+
])), l(Ae, {
|
|
6896
6896
|
modelValue: o.value,
|
|
6897
6897
|
"onUpdate:modelValue": n[1] ||= (e) => o.value = e,
|
|
6898
6898
|
type: "text",
|
|
@@ -6928,7 +6928,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6928
6928
|
"error"
|
|
6929
6929
|
]));
|
|
6930
6930
|
}
|
|
6931
|
-
}), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, Ln = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, zn = /*#__PURE__*/
|
|
6931
|
+
}), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, Ln = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, zn = /*#__PURE__*/ B(/* @__PURE__ */ R({
|
|
6932
6932
|
__name: "HotelSkeleton",
|
|
6933
6933
|
setup(e) {
|
|
6934
6934
|
return (e, t) => (b(), m("div", In, [T("div", Ln, [l(We, { hotel: "" }), l(Ze)]), T("div", Rn, [l(Qe)])]));
|
|
@@ -7017,12 +7017,12 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7017
7017
|
}, qr = { class: "konnectio-split-inputs" }, Jr = {
|
|
7018
7018
|
key: 0,
|
|
7019
7019
|
class: "konnectio-hotel-member-card-mockup"
|
|
7020
|
-
}, Yr = ["src"], Xr = { class: "konnectio-hotel-member-card-details" }, Zr = { key: 0 }, Qr = { key: 0 }, $r = /*@__PURE__*/
|
|
7020
|
+
}, Yr = ["src"], Xr = { class: "konnectio-hotel-member-card-details" }, Zr = { key: 0 }, Qr = { key: 0 }, $r = /*@__PURE__*/ R({
|
|
7021
7021
|
name: "HotelLayout",
|
|
7022
7022
|
__name: "Hotel",
|
|
7023
7023
|
props: {
|
|
7024
7024
|
accessToken: {},
|
|
7025
|
-
headerLayout: { default:
|
|
7025
|
+
headerLayout: { default: De.Minimal },
|
|
7026
7026
|
onlyShow: { default: "everything" },
|
|
7027
7027
|
hideAddons: { default: "no" },
|
|
7028
7028
|
disableDefaultLocation: { default: "no" },
|
|
@@ -7040,10 +7040,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7040
7040
|
styling: {}
|
|
7041
7041
|
},
|
|
7042
7042
|
setup(e) {
|
|
7043
|
-
let t = _(() => import("./_-
|
|
7043
|
+
let t = _(() => import("./_-Dme_Z1ir.js").then((e) => e.n)), o = e, { t: c } = v(), f = he();
|
|
7044
7044
|
f.requireDealCode = o.requireDealCode === "yes";
|
|
7045
|
-
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: re, countries: ie, areListingsLoading: D, isPaymentLoading:
|
|
7046
|
-
Re.useHttpClient(Ve(
|
|
7045
|
+
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: re, countries: ie, areListingsLoading: D, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: fe, postal: B, city: ye, address: xe, country: Se, remark: Ce, allergies: we, roomSelect: De, roomDisplay: Me, hasValidRoomSelection: Pe, availabilityData: Be, selectionHasNoAddons: Ue, isAvailabilityDataAvailable: We, getSelectedPackageRooms: Ke, selectedPackage: U, isSearchOutdated: qe, isTemplateReservation: Xe, newsMails: Ze, adultsMismatch: Qe, childrenMismatch: tt, totalAdults: nt, totalChildren: rt, hasGuestDiscountId: it, hasGuestDiscountCode: at, guestDiscountId: ot, guestDiscountName: st, guestDiscountCode: ct, hasMemberCards: lt, memberCardList: ut, selectedMemberCard: dt, memberCardControlNumber: ft, memberCardNumber: pt, selectedMemberCardObject: mt, selectedMemberCardData: ht, discountCode: gt, appliedDiscountCode: _t, discountPayload: W, dealResolved: G, dealNoAvailability: vt } = C(f), { isHostedCheckoutActive: yt } = C(Oe()), { adults: bt, children: xt, location: q, arrivalDate: St, departureDate: Ct, hasHotelLocations: wt } = C(oe()), { isValidHotelId: Tt, updateDates: Et } = oe(), { currency: Dt, enableTracking: J, disableNamePrefix: Ot, disableTravelingFor: kt, disableTravelingForBleasure: At, disableCompanyField: jt, hasPaymentGateway: Mt, maxAdultAmount: Nt, maxChildAmount: Pt, defaultAdultAmount: Ft, defaultChildAmount: It, disableNewsletterSignup: Lt, requireEmailConfirmation: Rt, hasActiveIdFilter: zt, hotelSettings: Bt } = C(ce()), { hasArrivalDepartureInputs: Vt, hasUserArrivalSelection: Y, hasUserDepartureSelection: Ht, earliestArrivalTime: Ut, latestArrivalTime: Wt, earliestDepartureTime: Gt, latestDepartureTime: qt, hasSharedAddonSelection: Jt, setActiveIdFilter: Yt, clearActiveIdFilter: Xt } = ce(), { beginCheckout: Zt } = se(), { display: Qt } = me(), { createReservation: $t, fetchMetadata: en, fetchAvailabilityData: tn, filterAddons: nn, hasAvailableRoomAddons: rn, checkGuestDiscount: Q, setGuestDiscountCode: an, validateMemberCard: on, onOverviewReset: sn, resetDealFlow: cn, validateDiscountCode: ln, reservationPayload: un } = he();
|
|
7046
|
+
Re.useHttpClient(Ve(ve()));
|
|
7047
7047
|
let dn = Ie("post", "/hotel/create-reservation", un());
|
|
7048
7048
|
dn.setValidationTimeout(600);
|
|
7049
7049
|
function fn(e) {
|
|
@@ -7053,15 +7053,15 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7053
7053
|
return dn.errors[e];
|
|
7054
7054
|
}
|
|
7055
7055
|
let hn = n(() => {
|
|
7056
|
-
if (Rt.value &&
|
|
7056
|
+
if (Rt.value && R.value !== "" && R.value !== I.value) return c("booking.reservation.confirmEmailError");
|
|
7057
7057
|
});
|
|
7058
|
-
|
|
7058
|
+
ae(P, () => fn("guest.name")), ae(I, () => fn("guest.email")), ae(z, () => fn("guest.phone")), ae(Se, () => fn("guest.country")), ae(xe, () => fn("guest.address1")), ae(B, () => fn("guest.postal")), ae(ye, () => fn("guest.city"));
|
|
7059
7059
|
let gn = n(() => o.sortOrder === "desc"), _n = n(() => o.requireDiscountCode === "yes" && !at.value || o.requireDealCode === "yes" && !G.value);
|
|
7060
7060
|
function vn(e, t) {
|
|
7061
|
-
return nn(e, t ?? 0).filter((e) => e.cardinality ===
|
|
7061
|
+
return nn(e, t ?? 0).filter((e) => e.cardinality === ke.Mandatory);
|
|
7062
7062
|
}
|
|
7063
7063
|
function yn(e, t) {
|
|
7064
|
-
return nn(e, t ?? 0).filter((e) => e.cardinality !==
|
|
7064
|
+
return nn(e, t ?? 0).filter((e) => e.cardinality !== ke.Mandatory);
|
|
7065
7065
|
}
|
|
7066
7066
|
function bn(e) {
|
|
7067
7067
|
let t = [];
|
|
@@ -7190,7 +7190,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7190
7190
|
type: "error"
|
|
7191
7191
|
}))), i && a) {
|
|
7192
7192
|
if (de(i) && de(a)) {
|
|
7193
|
-
let e = new Date(
|
|
7193
|
+
let e = new Date(be(i).setHours(12, 0, 0, 0)), t = new Date(be(a).setHours(12, 0, 0, 0));
|
|
7194
7194
|
e <= t ? (St.value = e, Ct.value = t) : ($.ci = void 0, $.co = void 0, Qt({
|
|
7195
7195
|
message: c("alert.error.invalidDateRange"),
|
|
7196
7196
|
type: "error"
|
|
@@ -7206,7 +7206,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7206
7206
|
}
|
|
7207
7207
|
u && an(u), o.disableDefaultLocation === "yes" && d === !1 ? (q.value = void 0, p.value = NaN) : tn();
|
|
7208
7208
|
}
|
|
7209
|
-
return (n, o) => (b(), u(
|
|
7209
|
+
return (n, o) => (b(), u(Te, { styling: e.styling }, {
|
|
7210
7210
|
default: S(() => [(b(), u(i, { onResolve: ti }, {
|
|
7211
7211
|
default: S(() => [l(r(t), {
|
|
7212
7212
|
id: "konnectio-hotel-module",
|
|
@@ -7328,7 +7328,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7328
7328
|
color: "header"
|
|
7329
7329
|
}), T("span", null, h(r(c)("booking.availability.nextAvailableDates")), 1)]),
|
|
7330
7330
|
T("ul", fr, [(b(!0), m(a, null, w(r(Be).nextAvailableDates, (e, t) => (b(), m("li", { key: t }, [
|
|
7331
|
-
T("h3", { title: `${r(
|
|
7331
|
+
T("h3", { title: `${r(ge)(e.fromDate, 0, !0)} - ${r(ge)(e.toDate, 0, !0)}` }, [T("span", null, h(`${r(ge)(e.fromDate, 0, !0)} - ${r(ge)(e.toDate, 0, !0)}`), 1)], 8, pr),
|
|
7332
7332
|
T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", mr, [l(H, {
|
|
7333
7333
|
icon: "house",
|
|
7334
7334
|
type: "fal",
|
|
@@ -7337,11 +7337,11 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7337
7337
|
icon: "money-bill",
|
|
7338
7338
|
type: "fal",
|
|
7339
7339
|
color: "header"
|
|
7340
|
-
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(
|
|
7340
|
+
}), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(V)(e.priceStartFrom, r(Dt))), 1)])]),
|
|
7341
7341
|
l(Ne, {
|
|
7342
7342
|
label: r(c)("booking.availability.selectDates"),
|
|
7343
7343
|
"full-width": "",
|
|
7344
|
-
onClickEvent: (t) => r(Et)(r(
|
|
7344
|
+
onClickEvent: (t) => r(Et)(r(be)(e.fromDate), r(be)(e.toDate))
|
|
7345
7345
|
}, null, 8, ["label", "onClickEvent"])
|
|
7346
7346
|
]))), 128))])
|
|
7347
7347
|
])) : (b(), m("div", hr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(r(p)) && !r(D) ? (b(), m("div", gr, [T("span", null, h(r(c)("alert.info.selectHotelToStart")), 1)])) : (b(), m("div", _r, [
|
|
@@ -7396,15 +7396,15 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7396
7396
|
innerHTML: r(c)("hotel.addonTopNotice"),
|
|
7397
7397
|
class: "konnectio-wysiwyg"
|
|
7398
7398
|
}, null, 8, Sr)])) : d("", !0),
|
|
7399
|
-
T("div", null, [isNaN(r(g)) ? (b(), m("div", Cr, [(b(!0), m(a, null, w(r(
|
|
7399
|
+
T("div", null, [isNaN(r(g)) ? (b(), m("div", Cr, [(b(!0), m(a, null, w(r(Me), (e) => (b(), m(a, { key: e.roomGroupID }, [r(rn)(e) ? (b(), m("ul", wr, [(b(!0), m(a, null, w(e.variants, (t, n) => (b(), m("li", { key: t.ratePlanID }, [T("h4", null, [T("span", null, h(r(pe)(e.title)), 1)]), (b(!0), m(a, null, w(bn(t.rooms), (i) => (b(), m(a, { key: `${i.configIdx}-${i.roomIdx}` }, [vn(t.addons, i.childrenCount).length > 0 ? (b(), m("div", Tr, [T("h5", null, [l(H, {
|
|
7400
7400
|
icon: "check-circle",
|
|
7401
7401
|
type: "fas"
|
|
7402
7402
|
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(vn(t.addons, i.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
|
|
7403
7403
|
T("b", null, h(r(pe)(t)), 1),
|
|
7404
|
-
T("span", null, h(r(
|
|
7404
|
+
T("span", null, h(r(V)(n, r(Dt))) + " " + h(r(le)(i)), 1),
|
|
7405
7405
|
a ? (b(), m("p", {
|
|
7406
7406
|
key: 0,
|
|
7407
|
-
innerHTML: r(
|
|
7407
|
+
innerHTML: r(_e)(a)
|
|
7408
7408
|
}, null, 8, Er)) : d("", !0)
|
|
7409
7409
|
])]))), 128))])])) : d("", !0), yn(t.addons, i.childrenCount).length > 0 ? (b(), m("table", Dr, [T("thead", null, [T("tr", null, [
|
|
7410
7410
|
T("th", null, [T("span", null, h(r(pe)(t.name)), 1)]),
|
|
@@ -7429,15 +7429,15 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7429
7429
|
"zoom-scale": 1
|
|
7430
7430
|
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7431
7431
|
T("b", null, h(r(pe)(c)), 1),
|
|
7432
|
-
T("span", null, h(r(
|
|
7432
|
+
T("span", null, h(r(V)(f, r(Dt))) + " " + h(r(le)(a)), 1),
|
|
7433
7433
|
g ? (b(), m("p", {
|
|
7434
7434
|
key: 0,
|
|
7435
|
-
innerHTML: r(
|
|
7435
|
+
innerHTML: r(_e)(g)
|
|
7436
7436
|
}, null, 8, jr)) : d("", !0)
|
|
7437
|
-
])], 2), T("td", Mr, [r(
|
|
7437
|
+
])], 2), T("td", Mr, [r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx] ? (b(), u(je, {
|
|
7438
7438
|
key: 0,
|
|
7439
|
-
modelValue: r(
|
|
7440
|
-
"onUpdate:modelValue": (t) => r(
|
|
7439
|
+
modelValue: r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s],
|
|
7440
|
+
"onUpdate:modelValue": (t) => r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s] = t,
|
|
7441
7441
|
small: !0,
|
|
7442
7442
|
"min-value": 0,
|
|
7443
7443
|
"max-value": r(ue)(t, o)
|
|
@@ -7450,10 +7450,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7450
7450
|
type: "fas"
|
|
7451
7451
|
}), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(vn(r(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
|
|
7452
7452
|
T("b", null, h(r(pe)(t)), 1),
|
|
7453
|
-
T("span", null, h(r(
|
|
7453
|
+
T("span", null, h(r(V)(n, r(Dt))) + " " + h(r(le)(i)), 1),
|
|
7454
7454
|
a ? (b(), m("p", {
|
|
7455
7455
|
key: 0,
|
|
7456
|
-
innerHTML: r(
|
|
7456
|
+
innerHTML: r(_e)(a)
|
|
7457
7457
|
}, null, 8, Fr)) : d("", !0)
|
|
7458
7458
|
])]))), 128))])])) : d("", !0), yn(r(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("table", Ir, [T("thead", null, [T("tr", null, [
|
|
7459
7459
|
T("th", null, [T("span", null, h(r(pe)(r(Ke).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), m("span", Lr, "(" + h(r(c)("booking.reservation.room")) + " " + h(e.unitNumber) + ")", 1)) : d("", !0)]),
|
|
@@ -7464,12 +7464,12 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7464
7464
|
"zoom-scale": 1
|
|
7465
7465
|
}, null, 8, ["src"])])) : d("", !0), T("div", null, [
|
|
7466
7466
|
T("b", null, h(r(pe)(o)), 1),
|
|
7467
|
-
T("span", null, h(r(
|
|
7467
|
+
T("span", null, h(r(V)(s, r(Dt))) + " " + h(r(le)(n)), 1),
|
|
7468
7468
|
c ? (b(), m("p", {
|
|
7469
7469
|
key: 0,
|
|
7470
|
-
innerHTML: r(
|
|
7470
|
+
innerHTML: r(_e)(c)
|
|
7471
7471
|
}, null, 8, zr)) : d("", !0)
|
|
7472
|
-
])], 2), T("td", Br, [l(
|
|
7472
|
+
])], 2), T("td", Br, [l(je, {
|
|
7473
7473
|
modelValue: r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
|
|
7474
7474
|
"onUpdate:modelValue": (t) => r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
|
|
7475
7475
|
small: !0,
|
|
@@ -7505,8 +7505,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7505
7505
|
key: 1,
|
|
7506
7506
|
class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(Y)(r(p)) && r(Ht)(r(p)) }])
|
|
7507
7507
|
}, [r(Y)(r(p)) ? (b(), m("li", Wr, [l(Mn, {
|
|
7508
|
-
modelValue: r(
|
|
7509
|
-
"onUpdate:modelValue": o[3] ||= (e) => y(
|
|
7508
|
+
modelValue: r(M),
|
|
7509
|
+
"onUpdate:modelValue": o[3] ||= (e) => y(M) ? M.value = e : null,
|
|
7510
7510
|
label: r(c)("booking.reservation.arrivalTime"),
|
|
7511
7511
|
icon: "hourglass-start",
|
|
7512
7512
|
"min-time": r(Ut)(r(p)),
|
|
@@ -7518,8 +7518,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7518
7518
|
"min-time",
|
|
7519
7519
|
"max-time"
|
|
7520
7520
|
])])) : d("", !0), r(Ht)(r(p)) ? (b(), m("li", Gr, [l(Mn, {
|
|
7521
|
-
modelValue: r(
|
|
7522
|
-
"onUpdate:modelValue": o[4] ||= (e) => y(
|
|
7521
|
+
modelValue: r(N),
|
|
7522
|
+
"onUpdate:modelValue": o[4] ||= (e) => y(N) ? N.value = e : null,
|
|
7523
7523
|
label: r(c)("booking.reservation.departureTime"),
|
|
7524
7524
|
icon: "hourglass-end",
|
|
7525
7525
|
"min-time": r(Gt)(r(p)),
|
|
@@ -7532,10 +7532,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7532
7532
|
"max-time"
|
|
7533
7533
|
])])) : d("", !0)], 2)) : d("", !0),
|
|
7534
7534
|
l(Fn, {
|
|
7535
|
-
modelValue: r(
|
|
7536
|
-
"onUpdate:modelValue": o[5] ||= (e) => y(
|
|
7537
|
-
title: r(
|
|
7538
|
-
"onUpdate:title": o[6] ||= (e) => y(
|
|
7535
|
+
modelValue: r(P),
|
|
7536
|
+
"onUpdate:modelValue": o[5] ||= (e) => y(P) ? P.value = e : null,
|
|
7537
|
+
title: r(F),
|
|
7538
|
+
"onUpdate:title": o[6] ||= (e) => y(F) ? F.value = e : null,
|
|
7539
7539
|
"exclude-title": r(Ot),
|
|
7540
7540
|
label: r(c)("booking.reservation.name"),
|
|
7541
7541
|
icon: "user-alt",
|
|
@@ -7550,9 +7550,9 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7550
7550
|
"placeholder",
|
|
7551
7551
|
"error"
|
|
7552
7552
|
]),
|
|
7553
|
-
l(
|
|
7554
|
-
modelValue: r(
|
|
7555
|
-
"onUpdate:modelValue": o[7] ||= (e) => y(
|
|
7553
|
+
l(Ae, {
|
|
7554
|
+
modelValue: r(I),
|
|
7555
|
+
"onUpdate:modelValue": o[7] ||= (e) => y(I) ? I.value = e : null,
|
|
7556
7556
|
type: "email",
|
|
7557
7557
|
name: "email",
|
|
7558
7558
|
autocomplete: "email",
|
|
@@ -7568,10 +7568,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7568
7568
|
"placeholder",
|
|
7569
7569
|
"error"
|
|
7570
7570
|
]),
|
|
7571
|
-
r(Rt) ? (b(), u(
|
|
7571
|
+
r(Rt) ? (b(), u(Ae, {
|
|
7572
7572
|
key: 2,
|
|
7573
|
-
modelValue: r(
|
|
7574
|
-
"onUpdate:modelValue": o[8] ||= (e) => y(
|
|
7573
|
+
modelValue: r(R),
|
|
7574
|
+
"onUpdate:modelValue": o[8] ||= (e) => y(R) ? R.value = e : null,
|
|
7575
7575
|
type: "email",
|
|
7576
7576
|
name: "confirm-email",
|
|
7577
7577
|
autocomplete: "off",
|
|
@@ -7594,7 +7594,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7594
7594
|
name: "newsletter",
|
|
7595
7595
|
label: r(c)("booking.reservation.newsletterSignUp")
|
|
7596
7596
|
}, null, 8, ["modelValue", "label"])])),
|
|
7597
|
-
r(jt) ? d("", !0) : (b(), u(
|
|
7597
|
+
r(jt) ? d("", !0) : (b(), u(Ae, {
|
|
7598
7598
|
key: 4,
|
|
7599
7599
|
modelValue: r(fe),
|
|
7600
7600
|
"onUpdate:modelValue": o[10] ||= (e) => y(fe) ? fe.value = e : null,
|
|
@@ -7610,8 +7610,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7610
7610
|
"placeholder"
|
|
7611
7611
|
])),
|
|
7612
7612
|
l(Fe, {
|
|
7613
|
-
modelValue: r(
|
|
7614
|
-
"onUpdate:modelValue": o[11] ||= (e) => y(
|
|
7613
|
+
modelValue: r(z),
|
|
7614
|
+
"onUpdate:modelValue": o[11] ||= (e) => y(z) ? z.value = e : null,
|
|
7615
7615
|
icon: "phone-office",
|
|
7616
7616
|
label: r(c)("booking.reservation.phone"),
|
|
7617
7617
|
placeholder: r(c)("booking.reservation.phonePlaceholder"),
|
|
@@ -7624,8 +7624,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7624
7624
|
"error"
|
|
7625
7625
|
]),
|
|
7626
7626
|
l(Pn, {
|
|
7627
|
-
modelValue: r(
|
|
7628
|
-
"onUpdate:modelValue": o[12] ||= (e) => y(
|
|
7627
|
+
modelValue: r(Se),
|
|
7628
|
+
"onUpdate:modelValue": o[12] ||= (e) => y(Se) ? Se.value = e : null,
|
|
7629
7629
|
label: r(c)("booking.reservation.country"),
|
|
7630
7630
|
placeholder: r(c)("booking.reservation.countryPlaceholder"),
|
|
7631
7631
|
options: r(ie),
|
|
@@ -7638,9 +7638,9 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7638
7638
|
"options",
|
|
7639
7639
|
"error"
|
|
7640
7640
|
]),
|
|
7641
|
-
l(
|
|
7642
|
-
modelValue: r(
|
|
7643
|
-
"onUpdate:modelValue": o[13] ||= (e) => y(
|
|
7641
|
+
l(Ae, {
|
|
7642
|
+
modelValue: r(xe),
|
|
7643
|
+
"onUpdate:modelValue": o[13] ||= (e) => y(xe) ? xe.value = e : null,
|
|
7644
7644
|
type: "textarea",
|
|
7645
7645
|
name: "address",
|
|
7646
7646
|
autocomplete: "street-address",
|
|
@@ -7655,9 +7655,9 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7655
7655
|
"placeholder",
|
|
7656
7656
|
"error"
|
|
7657
7657
|
]),
|
|
7658
|
-
T("ul", qr, [T("li", null, [l(
|
|
7659
|
-
modelValue: r(
|
|
7660
|
-
"onUpdate:modelValue": o[14] ||= (e) => y(
|
|
7658
|
+
T("ul", qr, [T("li", null, [l(Ae, {
|
|
7659
|
+
modelValue: r(B),
|
|
7660
|
+
"onUpdate:modelValue": o[14] ||= (e) => y(B) ? B.value = e : null,
|
|
7661
7661
|
type: "text",
|
|
7662
7662
|
name: "postal",
|
|
7663
7663
|
autocomplete: "postal-code",
|
|
@@ -7671,9 +7671,9 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7671
7671
|
"label",
|
|
7672
7672
|
"placeholder",
|
|
7673
7673
|
"error"
|
|
7674
|
-
])]), T("li", null, [l(
|
|
7675
|
-
modelValue: r(
|
|
7676
|
-
"onUpdate:modelValue": o[15] ||= (e) => y(
|
|
7674
|
+
])]), T("li", null, [l(Ae, {
|
|
7675
|
+
modelValue: r(ye),
|
|
7676
|
+
"onUpdate:modelValue": o[15] ||= (e) => y(ye) ? ye.value = e : null,
|
|
7677
7677
|
type: "text",
|
|
7678
7678
|
name: "city",
|
|
7679
7679
|
autocomplete: "address-level2",
|
|
@@ -7688,10 +7688,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7688
7688
|
"placeholder",
|
|
7689
7689
|
"error"
|
|
7690
7690
|
])])]),
|
|
7691
|
-
e.hideRemarks === "yes" ? d("", !0) : (b(), u(
|
|
7691
|
+
e.hideRemarks === "yes" ? d("", !0) : (b(), u(Ae, {
|
|
7692
7692
|
key: 5,
|
|
7693
|
-
modelValue: r(
|
|
7694
|
-
"onUpdate:modelValue": o[16] ||= (e) => y(
|
|
7693
|
+
modelValue: r(Ce),
|
|
7694
|
+
"onUpdate:modelValue": o[16] ||= (e) => y(Ce) ? Ce.value = e : null,
|
|
7695
7695
|
type: "textarea",
|
|
7696
7696
|
label: r(c)("booking.reservation.remark"),
|
|
7697
7697
|
icon: "info-circle",
|
|
@@ -7701,10 +7701,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7701
7701
|
"label",
|
|
7702
7702
|
"placeholder"
|
|
7703
7703
|
])),
|
|
7704
|
-
e.hideAllergies === "yes" ? d("", !0) : (b(), u(
|
|
7704
|
+
e.hideAllergies === "yes" ? d("", !0) : (b(), u(Ae, {
|
|
7705
7705
|
key: 6,
|
|
7706
|
-
modelValue: r(
|
|
7707
|
-
"onUpdate:modelValue": o[17] ||= (e) => y(
|
|
7706
|
+
modelValue: r(we),
|
|
7707
|
+
"onUpdate:modelValue": o[17] ||= (e) => y(we) ? we.value = e : null,
|
|
7708
7708
|
type: "textarea",
|
|
7709
7709
|
label: r(c)("booking.reservation.allergies"),
|
|
7710
7710
|
icon: "allergies",
|
|
@@ -7716,8 +7716,8 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7716
7716
|
])),
|
|
7717
7717
|
r(kt) ? d("", !0) : (b(), u(Je, {
|
|
7718
7718
|
key: 7,
|
|
7719
|
-
modelValue: r(
|
|
7720
|
-
"onUpdate:modelValue": o[18] ||= (e) => y(
|
|
7719
|
+
modelValue: r(j),
|
|
7720
|
+
"onUpdate:modelValue": o[18] ||= (e) => y(j) ? j.value = e : null,
|
|
7721
7721
|
label: r(c)("booking.reservation.purposeOfStay"),
|
|
7722
7722
|
name: "travelingFor",
|
|
7723
7723
|
checkboxes: Cn.value
|
|
@@ -7741,7 +7741,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7741
7741
|
"label",
|
|
7742
7742
|
"checkboxes"
|
|
7743
7743
|
]), r(dt) ? (b(), m("form", Qr, [
|
|
7744
|
-
l(
|
|
7744
|
+
l(Ae, {
|
|
7745
7745
|
modelValue: r(pt),
|
|
7746
7746
|
"onUpdate:modelValue": o[20] ||= (e) => y(pt) ? pt.value = e : null,
|
|
7747
7747
|
type: "number",
|
|
@@ -7754,7 +7754,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7754
7754
|
"label",
|
|
7755
7755
|
"placeholder"
|
|
7756
7756
|
]),
|
|
7757
|
-
r(dt) === r(
|
|
7757
|
+
r(dt) === r(Ee).FirmaCard ? (b(), u(Ae, {
|
|
7758
7758
|
key: 0,
|
|
7759
7759
|
modelValue: r(ft),
|
|
7760
7760
|
"onUpdate:modelValue": o[21] ||= (e) => y(ft) ? ft.value = e : null,
|
|
@@ -7768,10 +7768,10 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7768
7768
|
"label",
|
|
7769
7769
|
"placeholder"
|
|
7770
7770
|
])) : d("", !0),
|
|
7771
|
-
r(dt) === r(
|
|
7771
|
+
r(dt) === r(Ee).DaneAge ? (b(), u(Ae, {
|
|
7772
7772
|
key: 1,
|
|
7773
|
-
modelValue: r(
|
|
7774
|
-
"onUpdate:modelValue": o[22] ||= (e) => y(
|
|
7773
|
+
modelValue: r(B),
|
|
7774
|
+
"onUpdate:modelValue": o[22] ||= (e) => y(B) ? B.value = e : null,
|
|
7775
7775
|
type: "text",
|
|
7776
7776
|
name: "postal",
|
|
7777
7777
|
autocomplete: "postal-code",
|
|
@@ -7792,9 +7792,9 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7792
7792
|
])) : d("", !0)], 64))], 64)) : d("", !0)
|
|
7793
7793
|
])]),
|
|
7794
7794
|
navigation: S(() => [T("div", null, [r(yt) ? (b(), u(ze, { key: 0 })) : d("", !0), l(Ne, {
|
|
7795
|
-
label: r(Mt) && r(
|
|
7796
|
-
disabled: !r(
|
|
7797
|
-
"is-loading": r(
|
|
7795
|
+
label: r(Mt) && r(A) > 0 ? r(c)("booking.reservation.nextButton") : r(c)("general.confirmReservation"),
|
|
7796
|
+
disabled: !r(k),
|
|
7797
|
+
"is-loading": r(O) || r(yt),
|
|
7798
7798
|
"full-width": "",
|
|
7799
7799
|
onClickEvent: (e) => In(t, i)
|
|
7800
7800
|
}, null, 8, [
|
|
@@ -7822,7 +7822,7 @@ var Q = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7822
7822
|
_: 1
|
|
7823
7823
|
}, 8, ["styling"]));
|
|
7824
7824
|
}
|
|
7825
|
-
}), ei = /*#__PURE__*/
|
|
7825
|
+
}), ei = /*#__PURE__*/ B($r, [["__scopeId", "data-v-d13aaa2e"]]);
|
|
7826
7826
|
//#endregion
|
|
7827
7827
|
//#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7828
7828
|
function $(e, t) {
|
|
@@ -8459,8 +8459,8 @@ function $i(e = {}) {
|
|
|
8459
8459
|
}
|
|
8460
8460
|
//#endregion
|
|
8461
8461
|
//#region src/entries/hotel.ts
|
|
8462
|
-
var ea =
|
|
8463
|
-
e.use(
|
|
8462
|
+
var ea = A(), ta = /* @__PURE__ */ $i(), na = k("konnectio-hotel", ei, (e) => {
|
|
8463
|
+
e.use(z), e.use(ta), e.use(ea), e.use(O), e.use(tt), e.use(Ke);
|
|
8464
8464
|
});
|
|
8465
8465
|
//#endregion
|
|
8466
8466
|
export { na as default };
|