@konnectio/core 4.11.2 → 4.11.4

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.
Files changed (116) hide show
  1. package/dist/{ActionField-CrGPD8ma.js → ActionField-uvrQkuh0.js} +16 -17
  2. package/dist/ActionField-uvrQkuh0.js.br +0 -0
  3. package/dist/ActionField-uvrQkuh0.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-CKpPPNyV.js → AvailabilitySkeleton-BnOSMGJe.js} +2374 -2900
  5. package/dist/AvailabilitySkeleton-BnOSMGJe.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-BnOSMGJe.js.gz +0 -0
  7. package/dist/{CheckoutWindow-W80b2grC.js → CheckoutWindow-C81SaALY.js} +579 -655
  8. package/dist/CheckoutWindow-C81SaALY.js.br +0 -0
  9. package/dist/CheckoutWindow-C81SaALY.js.gz +0 -0
  10. package/dist/{ErrorMessage-fmvrjZrE.js → ErrorMessage-CoLcli9h.js} +12 -14
  11. package/dist/ErrorMessage-CoLcli9h.js.br +0 -0
  12. package/dist/{ErrorMessage-fmvrjZrE.js.gz → ErrorMessage-CoLcli9h.js.gz} +0 -0
  13. package/dist/{EventAvailabilityForm-BX0CUyYU.js → EventAvailabilityForm-q1YPg-bW.js} +29 -30
  14. package/dist/EventAvailabilityForm-q1YPg-bW.js.br +0 -0
  15. package/dist/EventAvailabilityForm-q1YPg-bW.js.gz +0 -0
  16. package/dist/{Field-DsFLUyHP.js → Field-DIFm-jDk.js} +6 -7
  17. package/dist/Field-DIFm-jDk.js.br +0 -0
  18. package/dist/Field-DIFm-jDk.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-B8RzSM0k.js +312 -0
  20. package/dist/HotelAvailabilityForm-B8RzSM0k.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-B8RzSM0k.js.gz +0 -0
  22. package/dist/{SelectField-__FvhjFN.js → SelectField-C9lJ8eBd.js} +3739 -3133
  23. package/dist/SelectField-C9lJ8eBd.js.br +0 -0
  24. package/dist/SelectField-C9lJ8eBd.js.gz +0 -0
  25. package/dist/{TermsOfService-XhYHiCia.js → TermsOfService-0719ZgMM.js} +5 -6
  26. package/dist/TermsOfService-0719ZgMM.js.br +0 -0
  27. package/dist/TermsOfService-0719ZgMM.js.gz +1 -0
  28. package/dist/_-0PVid2uc.js +24 -0
  29. package/dist/_-0PVid2uc.js.br +0 -0
  30. package/dist/_-0PVid2uc.js.gz +7 -0
  31. package/dist/availability.js +24 -25
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +57 -62
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/deep-link.js +15 -16
  41. package/dist/deep-link.js.br +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/{dist-ChCkH-cE.js → dist-B_Ox_TrT.js} +705 -756
  44. package/dist/dist-B_Ox_TrT.js.br +0 -0
  45. package/dist/dist-B_Ox_TrT.js.gz +0 -0
  46. package/dist/{dist-CqcX4eCU.js → dist-CFPG9IfN.js} +168 -139
  47. package/dist/dist-CFPG9IfN.js.br +0 -0
  48. package/dist/dist-CFPG9IfN.js.gz +0 -0
  49. package/dist/event.js +334 -344
  50. package/dist/event.js.br +0 -0
  51. package/dist/event.js.gz +0 -0
  52. package/dist/gift-card-validation.js +42 -43
  53. package/dist/gift-card-validation.js.br +0 -0
  54. package/dist/gift-card-validation.js.gz +0 -0
  55. package/dist/gift-card.js +261 -166
  56. package/dist/gift-card.js.br +0 -0
  57. package/dist/gift-card.js.gz +0 -0
  58. package/dist/giftCard-CAPeGeXI.js +134 -0
  59. package/dist/giftCard-CAPeGeXI.js.br +0 -0
  60. package/dist/giftCard-CAPeGeXI.js.gz +0 -0
  61. package/dist/hotel.js +983 -1145
  62. package/dist/hotel.js.br +0 -0
  63. package/dist/hotel.js.gz +0 -0
  64. package/dist/{i18n-BU9Enb5i.js → i18n-Dq3VKG7w.js} +4004 -3647
  65. package/dist/i18n-Dq3VKG7w.js.br +0 -0
  66. package/dist/i18n-Dq3VKG7w.js.gz +0 -0
  67. package/dist/polyfill.js +905 -818
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-QGRDbDUS.js} +2 -3
  71. package/dist/rolldown-runtime-QGRDbDUS.js.br +0 -0
  72. package/dist/rolldown-runtime-QGRDbDUS.js.gz +0 -0
  73. package/dist/style-B4cGytfi.js +1284 -0
  74. package/dist/style-B4cGytfi.js.br +0 -0
  75. package/dist/style-B4cGytfi.js.gz +0 -0
  76. package/dist-wix/availability.js +42 -34
  77. package/dist-wix/event.js +54 -46
  78. package/dist-wix/gift-card-validation.js +39 -31
  79. package/dist-wix/gift-card.js +43 -35
  80. package/dist-wix/hotel.js +54 -46
  81. package/package.json +32 -32
  82. package/dist/ActionField-CrGPD8ma.js.br +0 -0
  83. package/dist/ActionField-CrGPD8ma.js.gz +0 -0
  84. package/dist/AvailabilitySkeleton-CKpPPNyV.js.br +0 -0
  85. package/dist/AvailabilitySkeleton-CKpPPNyV.js.gz +0 -0
  86. package/dist/CheckoutWindow-W80b2grC.js.br +0 -0
  87. package/dist/CheckoutWindow-W80b2grC.js.gz +0 -0
  88. package/dist/ErrorMessage-fmvrjZrE.js.br +0 -0
  89. package/dist/EventAvailabilityForm-BX0CUyYU.js.br +0 -0
  90. package/dist/EventAvailabilityForm-BX0CUyYU.js.gz +0 -0
  91. package/dist/Field-DsFLUyHP.js.br +0 -0
  92. package/dist/Field-DsFLUyHP.js.gz +0 -0
  93. package/dist/HotelAvailabilityForm-_wN0A0VR.js +0 -322
  94. package/dist/HotelAvailabilityForm-_wN0A0VR.js.br +0 -0
  95. package/dist/HotelAvailabilityForm-_wN0A0VR.js.gz +0 -0
  96. package/dist/SelectField-__FvhjFN.js.br +0 -0
  97. package/dist/SelectField-__FvhjFN.js.gz +0 -0
  98. package/dist/TermsOfService-XhYHiCia.js.br +0 -0
  99. package/dist/TermsOfService-XhYHiCia.js.gz +0 -1
  100. package/dist/_-Bi3jyl9S.js +0 -25
  101. package/dist/_-Bi3jyl9S.js.br +0 -0
  102. package/dist/_-Bi3jyl9S.js.gz +0 -0
  103. package/dist/dist-ChCkH-cE.js.br +0 -0
  104. package/dist/dist-ChCkH-cE.js.gz +0 -0
  105. package/dist/dist-CqcX4eCU.js.br +0 -0
  106. package/dist/dist-CqcX4eCU.js.gz +0 -0
  107. package/dist/giftCard-BpWe7WsA.js +0 -114
  108. package/dist/giftCard-BpWe7WsA.js.br +0 -0
  109. package/dist/giftCard-BpWe7WsA.js.gz +0 -0
  110. package/dist/i18n-BU9Enb5i.js.br +0 -0
  111. package/dist/i18n-BU9Enb5i.js.gz +0 -0
  112. package/dist/rolldown-runtime-B0aSnxlc.js.br +0 -0
  113. package/dist/rolldown-runtime-B0aSnxlc.js.gz +0 -5
  114. package/dist/style-CcIo1t4N.js +0 -1711
  115. package/dist/style-CcIo1t4N.js.br +0 -0
  116. package/dist/style-CcIo1t4N.js.gz +0 -0
package/dist/hotel.js CHANGED
@@ -1,15 +1,15 @@
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 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-ChCkH-cE.js";
4
- import { C as oe, D as se, E as ce, G as le, H as ue, J as de, K as fe, L as pe, N as me, O as he, Q as ge, R as _e, S as B, T as ve, W as ye, X as be, Y as xe, Z as Se, _ as Ce, at as we, b as Te, ct as Ee, it as De, j as Oe, lt as ke, n as Ae, r as je, t as Me, tt as Ne, v as Pe, x as V, z as Fe } from "./SelectField-__FvhjFN.js";
5
- import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, s as He, t as Ue } from "./CheckoutWindow-W80b2grC.js";
6
- import { n as We, t as Ge } from "./AvailabilitySkeleton-CKpPPNyV.js";
7
- import { t as Ke } from "./HotelAvailabilityForm-_wN0A0VR.js";
8
- import { t as qe } from "./style-CcIo1t4N.js";
9
- import { t as H } from "./ActionField-CrGPD8ma.js";
10
- import { a as Je, c as Ye, i as Xe, l as Ze, n as Qe, o as $e, r as et, s as tt, t as nt } from "./dist-CqcX4eCU.js";
11
- import { t as rt } from "./TermsOfService-XhYHiCia.js";
12
- //#region node_modules/inner-image-zoom/src/utils/images.js
1
+ import { r as e, t } from "./rolldown-runtime-QGRDbDUS.js";
2
+ import { A as n, At as r, D as i, Dt as a, E as o, F as s, I as c, K as l, L as u, M as d, N as f, O as p, Ot as m, P as h, Q as g, R as _, S as ee, _t as v, a as y, at as te, ct as ne, et as b, f as re, ft as x, h as S, ht as ie, i as ae, j as C, jt as w, mt as T, n as E, nt as D, o as O, p as k, q as A, rt as j, st as M, u as N, w as P, xt as F, yt as I, z as R } from "./i18n-Dq3VKG7w.js";
3
+ import { t as z } from "./dist-B_Ox_TrT.js";
4
+ import { t as oe } from "./style-B4cGytfi.js";
5
+ import { a as se, c as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he } from "./dist-CFPG9IfN.js";
6
+ import { a as ge, c as _e, i as ve, l as ye, n as be, o as xe, s as Se, t as Ce } from "./CheckoutWindow-C81SaALY.js";
7
+ import { $ as we, B as Te, C as Ee, E as De, F as Oe, H as ke, I as Ae, J as je, K as Me, L as Ne, T as Pe, U as Fe, W as Ie, X as Le, Y as B, b as Re, ct as ze, g as Be, h as Ve, j as He, k as Ue, n as We, nt as Ge, q as Ke, r as qe, rt as Je, st as V, t as Ye, v as Xe, w as Ze, x as Qe, y as H } from "./SelectField-C9lJ8eBd.js";
8
+ import { t as $e } from "./HotelAvailabilityForm-B8RzSM0k.js";
9
+ import { t as et } from "./TermsOfService-0719ZgMM.js";
10
+ import { t as tt } from "./ActionField-uvrQkuh0.js";
11
+ import { n as nt, t as rt } from "./AvailabilitySkeleton-BnOSMGJe.js";
12
+ // node_modules/inner-image-zoom/src/utils/images.js
13
13
  function it(e, t) {
14
14
  return t ? {
15
15
  width: window.innerWidth,
@@ -49,8 +49,7 @@ function lt(e, t) {
49
49
  height: e.naturalHeight * t
50
50
  };
51
51
  }
52
- //#endregion
53
- //#region node_modules/inner-image-zoom/src/utils/events.js
52
+ // node_modules/inner-image-zoom/src/utils/events.js
54
53
  function ut(e) {
55
54
  return {
56
55
  x: typeof e.pageX == "number" ? e.pageX : e.changedTouches[0].pageX,
@@ -89,8 +88,7 @@ function ht(e, t) {
89
88
  y: n.y - t.offsets.y
90
89
  };
91
90
  }
92
- //#endregion
93
- //#region node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
91
+ // node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
94
92
  var gt = R({
95
93
  name: "InnerImageZoom",
96
94
  props: {
@@ -167,11 +165,7 @@ var gt = R({
167
165
  this.isTouch = !0, this.isFullscreen = at(this.fullscreenOnMobile, this.mobileBreakpoint), this.currentMoveType = "drag";
168
166
  },
169
167
  handleClick(e) {
170
- if (this.isZoomed) {
171
- this.isTouch ? this.hideCloseButton && this.handleClose() : !this.isDragging && this.zoomOut();
172
- return;
173
- }
174
- this.isTouch && (this.isActive = !0), this.imgProps.zoomImg ? (this.handleLoad({ target: this.imgProps.zoomImg }), this.zoomIn(e)) : this.imgProps.onLoadCallback = this.zoomIn.bind(this, e);
168
+ this.isZoomed ? this.isTouch ? this.hideCloseButton && this.handleClose() : !this.isDragging && this.zoomOut() : (this.isTouch && (this.isActive = !0), this.imgProps.zoomImg ? (this.handleLoad({ target: this.imgProps.zoomImg }), this.zoomIn(e)) : this.imgProps.onLoadCallback = this.zoomIn.bind(this, e));
175
169
  },
176
170
  handleLoad(e) {
177
171
  let t = lt(e.target, this.zoomScale);
@@ -232,22 +226,22 @@ var gt = R({
232
226
  key: 1,
233
227
  class: "iiz__btn iiz__hint"
234
228
  };
235
- function St(e, t, n, r, i, o) {
236
- return b(), m("figure", c({
229
+ function St(e, t, n, i, a, s) {
230
+ return b(), h("figure", l({
237
231
  class: ["iiz", {
238
232
  ...e.className && { [e.className]: e.className },
239
233
  "iiz--drag": e.currentMoveType === "drag"
240
234
  }],
241
235
  ref: "img",
242
236
  style: { width: `${e.width}px` }
243
- }, P({
237
+ }, ne({
244
238
  touchstart: e.isZoomed ? () => {} : e.handleTouchStart,
245
239
  click: e.handleClick,
246
240
  mouseenter: e.isTouch ? () => {} : e.handleMouseEnter,
247
241
  mousemove: e.currentMoveType === "drag" || !e.isZoomed ? () => {} : e.handleMouseMove,
248
242
  mouseleave: e.isTouch ? () => {} : e.handleMouseLeave
249
243
  }, !0)), [
250
- T("div", { style: f({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (b(), m("picture", _t, [(b(!0), m(a, null, w(e.validSources, (e, t) => (b(), m("source", c({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), T("img", c(e.imgAttributes, {
244
+ C("div", { style: r({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (b(), h("picture", _t, [(b(!0), h(o, null, D(e.validSources, (e, t) => (b(), h("source", l({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), C("img", l(e.imgAttributes, {
251
245
  class: ["iiz__img", [e.imgAttributes.className || "", {
252
246
  "iiz__img--hidden": e.isZoomed,
253
247
  "iiz__img--abs": e.createSpacer
@@ -256,7 +250,7 @@ function St(e, t, n, r, i, o) {
256
250
  src: e.src,
257
251
  width: e.width,
258
252
  height: e.height
259
- }), null, 16, vt)])) : (b(), m("img", c({ key: 1 }, e.imgAttributes, {
253
+ }), null, 16, vt)])) : (b(), h("img", l({ key: 1 }, e.imgAttributes, {
260
254
  class: ["iiz__img", [e.imgAttributes.className || "", {
261
255
  "iiz__img--hidden": e.isZoomed,
262
256
  "iiz__img--abs": e.createSpacer
@@ -266,10 +260,10 @@ function St(e, t, n, r, i, o) {
266
260
  width: e.width,
267
261
  height: e.height
268
262
  }), null, 16, U))], 4),
269
- e.isActive ? (b(), m(a, { key: 0 }, [e.isFullscreen ? (b(), u(p, {
263
+ e.isActive ? (b(), h(o, { key: 0 }, [e.isFullscreen ? (b(), d(p, {
270
264
  key: 0,
271
265
  to: "body"
272
- }, [T("div", W, [T("img", c({
266
+ }, [C("div", W, [C("img", l({
273
267
  class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
274
268
  alt: "",
275
269
  draggable: !1,
@@ -279,21 +273,21 @@ function St(e, t, n, r, i, o) {
279
273
  transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
280
274
  },
281
275
  src: e.zoomSrc || e.src
282
- }, P({
276
+ }, ne({
283
277
  load: e.handleLoad,
284
278
  touchstart: e.handleDragStart,
285
279
  touchend: e.handleDragEnd,
286
280
  mousedown: e.handleDragStart,
287
281
  mouseup: e.handleDragEnd,
288
282
  click: e.handleClick
289
- }, !0)), null, 16, yt), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), m("button", {
283
+ }, !0)), null, 16, yt), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), h("button", {
290
284
  key: 0,
291
285
  type: "button",
292
- class: E(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
286
+ class: m(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
293
287
  "aria-label": "Zoom Out",
294
- style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
295
- onClick: t[0] ||= F((...t) => e.handleClose && e.handleClose(...t), ["stop"])
296
- }, null, 6)) : d("", !0)])])) : (b(), m(a, { key: 1 }, [T("img", c({
288
+ style: r({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
289
+ onClick: t[0] ||= P((...t) => e.handleClose && e.handleClose(...t), ["stop"])
290
+ }, null, 6)) : f("", !0)])])) : (b(), h(o, { key: 1 }, [C("img", l({
297
291
  class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
298
292
  alt: "",
299
293
  draggable: !1,
@@ -303,26 +297,25 @@ function St(e, t, n, r, i, o) {
303
297
  transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
304
298
  },
305
299
  src: e.zoomSrc || e.src
306
- }, P({
300
+ }, ne({
307
301
  load: e.handleLoad,
308
302
  touchstart: e.handleDragStart,
309
303
  touchend: e.handleDragEnd,
310
304
  mousedown: e.handleDragStart,
311
305
  mouseup: e.handleDragEnd
312
- }, !0)), null, 16, bt), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), m("button", {
306
+ }, !0)), null, 16, bt), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), h("button", {
313
307
  key: 0,
314
- class: E(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
308
+ class: m(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
315
309
  type: "button",
316
310
  "aria-label": "Zoom Out",
317
- style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
318
- onClick: t[1] ||= F((...t) => e.handleClose && e.handleClose(...t), ["stop"])
319
- }, null, 6)) : d("", !0)], 64))], 64)) : d("", !0),
320
- !e.isZoomed && !e.hideHint ? (b(), m("span", xt)) : d("", !0)
311
+ style: r({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
312
+ onClick: t[1] ||= P((...t) => e.handleClose && e.handleClose(...t), ["stop"])
313
+ }, null, 6)) : f("", !0)], 64))], 64)) : f("", !0),
314
+ !e.isZoomed && !e.hideHint ? (b(), h("span", xt)) : f("", !0)
321
315
  ], 16);
322
316
  }
323
- //#endregion
324
- //#region node_modules/vue-inner-image-zoom/src/index.js
325
- var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]), K = { key: 0 }, Ct = { key: 1 }, wt = { class: "konnectio-hotel-reservation-warning" }, Tt = { class: "konnectio-hotel-reservation-warning" }, Et = { class: "konnectio-hotel-reservation-warning" }, Dt = { key: 2 }, Ot = { class: "konnectio-hotel-reservation-title" }, q = { class: "konnectio-hotel-reservation-information" }, kt = { class: "konnectio-hotel-reservation-guests" }, At = { key: 0 }, jt = {
317
+ // node_modules/vue-inner-image-zoom/src/index.js
318
+ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]), K = { key: 0 }, Ct = { key: 1 }, wt = { class: "konnectio-hotel-reservation-warning" }, Tt = { class: "konnectio-hotel-reservation-warning" }, Et = { class: "konnectio-hotel-reservation-warning" }, Dt = { key: 2 }, Ot = { class: "konnectio-hotel-reservation-title" }, q = { class: "konnectio-hotel-reservation-information" }, kt = { class: "konnectio-hotel-reservation-guests" }, At = { key: 0 }, jt = {
326
319
  key: 0,
327
320
  class: "konnectio-hotel-reservation-room-name"
328
321
  }, Mt = ["onClick"], Nt = { key: 0 }, Pt = { key: 1 }, Ft = { class: "konnectio-hotel-reservation-title" }, It = {
@@ -334,7 +327,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
334
327
  }, J = {
335
328
  key: 1,
336
329
  class: "konnectio-accept-terms"
337
- }, Ut = { class: "konnectio-hotel-reservation-tooltip" }, Y = /*#__PURE__*/ B(/* @__PURE__ */ R({
330
+ }, Ut = { class: "konnectio-hotel-reservation-tooltip" }, Y = /*#__PURE__*/ Re(/* @__PURE__ */ R({
338
331
  __name: "HotelReservationForm",
339
332
  props: {
340
333
  forceArrivalTime: {},
@@ -362,145 +355,145 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
362
355
  prevCallback: {}
363
356
  },
364
357
  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: 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);
358
+ let { t } = y(), { disableNewsletterSignup: n, currency: r } = S(Ze()), { hasArrivalDepartureInputs: i } = Ze(), { arrivalTime: c, departureTime: l, roomDisplay: p, templateID: m, totalPrice: g, areListingsLoading: _, getSelectedPackageRooms: ne, templateRoomUnits: re, selectedPackage: x, discountVouchers: E, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: M, locationMismatch: N, newsMails: I, termsOfService: R, discountCode: z, hasTermOfService: oe, acceptTerms: ce, totalTemplateAddonPrice: le, totalRooms: ue, totalAdults: de, totalChildren: fe, weekendFee: pe, selectedMemberCardData: me, appliedDiscountCode: he, guestDiscountCode: ge, isValidatingDiscountCode: _e } = S(De()), { hasHotelLocations: ye } = S(Qe()), { removeRoom: be, validateDiscountCode: xe, getMandatoryRoomGroupAddons: Se, getTemplateRoomUnitPrice: Ce, resetDiscountVoucher: Te, setGuestDiscountCode: Ee, clearGuestDiscountCode: ke, fetchAvailabilityData: Ae } = De(), { getHotelLocationName: je } = Qe(), Me = F(!1);
366
359
  function Pe(e) {
367
- Oe(e), Ae();
360
+ Ee(e), Ae();
368
361
  }
369
- function Ie() {
362
+ function Fe() {
370
363
  ke(), Ae();
371
364
  }
372
- function Le(e) {
365
+ function Ie(e) {
373
366
  return e.reduce((e, { totalPrice: t }) => e + t, 0);
374
367
  }
375
- return (v, C) => {
376
- let I = M("tooltip");
377
- return b(), u(Je, {
378
- "discount-code": r(z),
379
- "onUpdate:discountCode": C[4] ||= (e) => y(z) ? z.value = e : null,
380
- "validate-discount-code": r(we),
381
- "total-price": r(_),
382
- "weekend-fee": r(_e),
368
+ return (y, S) => {
369
+ let F = te("tooltip");
370
+ return b(), d(se, {
371
+ "discount-code": a(z),
372
+ "onUpdate:discountCode": S[4] ||= (e) => v(z) ? z.value = e : null,
373
+ "validate-discount-code": a(xe),
374
+ "total-price": a(g),
375
+ "weekend-fee": a(pe),
383
376
  "show-gift-card": e.showGiftCard,
384
377
  "availability-discount": e.availabilityDiscount,
385
378
  "deal-flow": e.dealFlow,
386
379
  "show-terms-notice": e.showTermsNotice,
387
- "is-sidebar-loading": r(te),
388
- notice: r(t)("hotel.reservationNotice"),
380
+ "is-sidebar-loading": a(_),
381
+ notice: a(t)("hotel.reservationNotice"),
389
382
  "prev-callback": e.prevCallback,
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),
383
+ "applied-discount-code": a(he),
384
+ "guest-discount-code": a(ge),
385
+ "is-validating-discount-code": a(_e),
386
+ "on-reset-discount-code": a(Te),
394
387
  "on-apply-availability-discount": Pe,
395
- "on-clear-availability-discount": Ie
396
- }, o({
397
- form: S(() => [re(v.$slots, "form", {}, void 0, !0)]),
398
- "price-summary": S(() => [isNaN(r(g)) && r(p).length > 0 ? (b(!0), m(a, { key: 0 }, w(r(p), ({ roomGroupID: n, title: o, variants: s }) => (b(), m("div", { key: n }, [T("h6", null, [T("span", null, h(r(pe)(o)), 1)]), (b(!0), m(a, null, w(s, (o, s) => (b(), m("div", { key: s }, [(b(!0), m(a, null, w(o.rooms, (a, c) => (b(), m("ul", { key: c }, [T("li", null, [
399
- T("span", Ot, h(r(pe)(o.name)), 1),
400
- T("span", q, [T("span", kt, [T("span", null, [l(V, {
388
+ "on-clear-availability-discount": Fe
389
+ }, s({
390
+ form: T(() => [j(y.$slots, "form", {}, void 0, !0)]),
391
+ "price-summary": T(() => [isNaN(a(m)) && a(p).length > 0 ? (b(!0), h(o, { key: 0 }, D(a(p), ({ roomGroupID: n, title: i, variants: s }) => (b(), h("div", { key: n }, [C("h6", null, [C("span", null, w(a(Oe)(i)), 1)]), (b(!0), h(o, null, D(s, (i, s) => (b(), h("div", { key: s }, [(b(!0), h(o, null, D(i.rooms, (o, c) => (b(), h("ul", { key: c }, [C("li", null, [
392
+ C("span", Ot, w(a(Oe)(i.name)), 1),
393
+ C("span", q, [C("span", kt, [C("span", null, [u(H, {
401
394
  icon: "male",
402
395
  type: "fas",
403
396
  color: "font"
404
- }), T("span", null, h(a.adultsCount), 1)]), a.childrenCount > 0 ? (b(), m("span", At, [l(V, {
397
+ }), C("span", null, w(o.adultsCount), 1)]), o.childrenCount > 0 ? (b(), h("span", At, [u(H, {
405
398
  icon: "child",
406
399
  type: "fas",
407
400
  color: "font"
408
- }), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span", jt, "(" + h(a.roomName) + ")", 1)) : d("", !0)]),
409
- T("b", null, [T("span", null, h(r(Ne)(a.totalPrice, r(i))), 1), e.showRemoveRoom ? (b(), m("span", {
401
+ }), C("span", null, w(o.childrenCount), 1)])) : f("", !0)]), o.roomName ? (b(), h("span", jt, "(" + w(o.roomName) + ")", 1)) : f("", !0)]),
402
+ C("b", null, [C("span", null, w(a(we)(o.totalPrice, a(r))), 1), e.showRemoveRoom ? (b(), h("span", {
410
403
  key: 0,
411
404
  class: "konnectio-hotel-reservation-remove",
412
- onClick: F((e) => r(Ce)(n, s, a.configIdx), ["prevent"])
413
- }, [l(V, {
405
+ onClick: P((e) => a(be)(n, s, o.configIdx), ["prevent"])
406
+ }, [u(H, {
414
407
  icon: "times",
415
408
  type: "fas",
416
409
  "icon-color": "#ff0000"
417
- })], 8, Mt)) : d("", !0)])
418
- ]), Le(a.roomAddons) > 0 ? (b(), m("li", Nt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Ne)(Le(a.roomAddons), r(i))), 1)])) : d("", !0)]))), 128))]))), 128))]))), 128)) : d("", !0), r(E).length > 0 && r(D) ? (b(), m("div", Pt, [T("h6", null, [T("span", null, h(r(pe)(r(D).name)), 1)]), T("div", null, [T("ul", null, [(b(!0), m(a, null, w(r(E), (e, n) => (b(), m("li", { key: n }, [
419
- T("span", Ft, [T("span", null, h(r(pe)(r(x).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), r(E).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), m("span", It, "(" + h(r(t)("booking.reservation.room")) + " " + h(r(E).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : d("", !0)]),
420
- T("span", Lt, [T("span", Rt, [T("span", null, [l(V, {
410
+ })], 8, Mt)) : f("", !0)])
411
+ ]), Ie(o.roomAddons) > 0 ? (b(), h("li", Nt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(we)(Ie(o.roomAddons), a(r))), 1)])) : f("", !0)]))), 128))]))), 128))]))), 128)) : f("", !0), a(re).length > 0 && a(x) ? (b(), h("div", Pt, [C("h6", null, [C("span", null, w(a(Oe)(a(x).name)), 1)]), C("div", null, [C("ul", null, [(b(!0), h(o, null, D(a(re), (e, n) => (b(), h("li", { key: n }, [
412
+ C("span", Ft, [C("span", null, w(a(Oe)(a(ne).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), a(re).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), h("span", It, "(" + w(a(t)("booking.reservation.room")) + " " + w(a(re).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : f("", !0)]),
413
+ C("span", Lt, [C("span", Rt, [C("span", null, [u(H, {
421
414
  icon: "male",
422
415
  type: "fas",
423
416
  color: "font"
424
- }), T("span", null, h(e.adults), 1)]), e.children > 0 ? (b(), m("span", zt, [l(V, {
417
+ }), C("span", null, w(e.adults), 1)]), e.children > 0 ? (b(), h("span", zt, [u(H, {
425
418
  icon: "child",
426
419
  type: "fas",
427
420
  color: "font"
428
- }), T("span", null, h(e.children), 1)])) : d("", !0)])]),
429
- T("b", null, [T("span", null, h(r(Ne)(r(Ee)(e.roomGroupId, e.adults, e.children) + r(_e), r(i))), 1)]),
430
- (b(!0), m(a, null, w(r(Te)(e.roomGroupId), (e) => (b(), m(a, { key: e.addonID }, [T("span", null, "- " + h(e.name), 1), T("b", null, [T("span", null, h(r(Ne)(e.price, r(i))), 1)])], 64))), 128))
431
- ]))), 128)), r(ue) ? (b(), m("li", Bt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Ne)(r(ue), r(i))), 1)])) : d("", !0)])])])) : d("", !0)]),
432
- actions: S(() => [T("ul", Vt, [
433
- r(n) ? d("", !0) : (b(), m("div", Ht, [l(Re, {
434
- modelValue: r(P),
435
- "onUpdate:modelValue": C[0] ||= (e) => y(P) ? P.value = e : null,
421
+ }), C("span", null, w(e.children), 1)])) : f("", !0)])]),
422
+ C("b", null, [C("span", null, w(a(we)(a(Ce)(e.roomGroupId, e.adults, e.children) + a(pe), a(r))), 1)]),
423
+ (b(!0), h(o, null, D(a(Se)(e.roomGroupId), (e) => (b(), h(o, { key: e.addonID }, [C("span", null, "- " + w(e.name), 1), C("b", null, [C("span", null, w(a(we)(e.price, a(r))), 1)])], 64))), 128))
424
+ ]))), 128)), a(le) ? (b(), h("li", Bt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(we)(a(le), a(r))), 1)])) : f("", !0)])])])) : f("", !0)]),
425
+ actions: T(() => [C("ul", Vt, [
426
+ a(n) ? f("", !0) : (b(), h("div", Ht, [u(ve, {
427
+ modelValue: a(I),
428
+ "onUpdate:modelValue": S[0] ||= (e) => v(I) ? I.value = e : null,
436
429
  type: "checkbox",
437
430
  name: "newsletter",
438
- label: r(t)("booking.reservation.newsletterSignUp")
431
+ label: a(t)("booking.reservation.newsletterSignUp")
439
432
  }, null, 8, ["modelValue", "label"])])),
440
- r(se) ? (b(), m("div", J, [l(Re, {
441
- modelValue: r(le),
442
- "onUpdate:modelValue": C[2] ||= (e) => y(le) ? le.value = e : null,
433
+ a(oe) ? (b(), h("div", J, [u(ve, {
434
+ modelValue: a(ce),
435
+ "onUpdate:modelValue": S[2] ||= (e) => v(ce) ? ce.value = e : null,
443
436
  type: "checkbox",
444
437
  name: "terms"
445
438
  }, {
446
- default: S(() => [l(r(ie), {
439
+ default: T(() => [u(a(ae), {
447
440
  keypath: "general.termsAndConditionsCheckbox",
448
441
  tag: "span",
449
442
  scope: "global"
450
443
  }, {
451
- terms: S(() => [T("a", {
444
+ terms: T(() => [C("a", {
452
445
  class: "konnectio-accept-terms-link",
453
- onClick: C[1] ||= F((e) => Me.value = !0, ["prevent"])
454
- }, [T("span", null, h(r(xe)(r(t)("general.termsAndConditions"))), 1)])]),
446
+ onClick: S[1] ||= P((e) => Me.value = !0, ["prevent"])
447
+ }, [C("span", null, w(a(Ke)(a(t)("general.termsAndConditions"))), 1)])]),
455
448
  _: 1
456
449
  })]),
457
450
  _: 1
458
- }, 8, ["modelValue"])])) : d("", !0),
459
- re(v.$slots, "actions", {}, void 0, !0),
460
- l(rt, {
451
+ }, 8, ["modelValue"])])) : f("", !0),
452
+ j(y.$slots, "actions", {}, void 0, !0),
453
+ u(et, {
461
454
  modelValue: Me.value,
462
- "onUpdate:modelValue": C[3] ||= (e) => Me.value = e,
463
- description: r(R)
455
+ "onUpdate:modelValue": S[3] ||= (e) => Me.value = e,
456
+ description: a(R)
464
457
  }, null, 8, ["modelValue", "description"])
465
458
  ])]),
466
- navigation: S(() => [re(v.$slots, "navigation", {}, void 0, !0)]),
467
- "mobile-under-price": S(() => [
468
- T("span", null, h(r(t)("general.for")) + ": ", 1),
469
- T("b", null, h(r(Fe)(r(O), r(k))) + " " + h(r(xe)(r(Fe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1),
470
- ne((b(), m("span", Ut, [l(V, {
459
+ navigation: T(() => [j(y.$slots, "navigation", {}, void 0, !0)]),
460
+ "mobile-under-price": T(() => [
461
+ C("span", null, w(a(t)("general.for")) + ": ", 1),
462
+ C("b", null, w(a(Ne)(a(O), a(k))) + " " + w(a(Ke)(a(Ne)(a(O), a(k)) === 1 ? a(t)("booking.reservation.night") : a(t)("booking.reservation.nights"))), 1),
463
+ ie((b(), h("span", Ut, [u(H, {
471
464
  icon: "circle-info",
472
465
  type: "fas"
473
- })])), [[I, {
474
- content: `<span>(${r(ge)(r(O))} - ${r(ge)(r(k))})</span>`,
466
+ })])), [[F, {
467
+ content: `<span>(${a(Le)(a(O))} - ${a(Le)(a(k))})</span>`,
475
468
  classes: ["tooltip", "konnectio-tooltip"],
476
469
  html: !0
477
470
  }]])
478
471
  ]),
479
- "mobile-summary": S(() => [
480
- T("span", null, h(`${r(fe)} ${r(fe) === 1 ? r(t)("general.adult") : r(t)("general.adults")}`), 1),
481
- T("span", null, h(`${r(me)} ${r(me) === 1 ? r(t)("general.child") : r(t)("general.children")}`), 1),
482
- T("span", null, h(`${r(de)} ${r(de) === 1 ? r(t)("booking.reservation.room") : r(t)("booking.reservation.rooms")}`), 1)
472
+ "mobile-summary": T(() => [
473
+ C("span", null, w(`${a(de)} ${a(de) === 1 ? a(t)("general.adult") : a(t)("general.adults")}`), 1),
474
+ C("span", null, w(`${a(fe)} ${a(fe) === 1 ? a(t)("general.child") : a(t)("general.children")}`), 1),
475
+ C("span", null, w(`${a(ue)} ${a(ue) === 1 ? a(t)("booking.reservation.room") : a(t)("booking.reservation.rooms")}`), 1)
483
476
  ]),
484
477
  _: 2
485
- }, [isNaN(r(j)) ? void 0 : {
478
+ }, [isNaN(a(M)) ? void 0 : {
486
479
  name: "reservation-summary",
487
- fn: S(() => [
488
- e.dealFlow && r(ve) ? (b(), m("li", K, [T("span", null, h(r(t)("dealCode.label")), 1), T("b", null, h(r(ve)), 1)])) : d("", !0),
489
- r(Se) ? (b(), m("li", Ct, [T("span", null, h(r(t)("general.location")), 1), T("b", null, [T("span", null, h(r(je)(r(j))), 1), ne(T("span", wt, [l(V, {
480
+ fn: T(() => [
481
+ e.dealFlow && a(he) ? (b(), h("li", K, [C("span", null, w(a(t)("dealCode.label")), 1), C("b", null, w(a(he)), 1)])) : f("", !0),
482
+ a(ye) ? (b(), h("li", Ct, [C("span", null, w(a(t)("general.location")), 1), C("b", null, [C("span", null, w(a(je)(a(M))), 1), ie(C("span", wt, [u(H, {
490
483
  icon: "exclamation-triangle",
491
484
  type: "fas"
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", Tt, [l(V, {
485
+ })], 512), [[ee, a(N)]])])])) : f("", !0),
486
+ C("li", null, [C("span", null, w(a(t)("booking.reservation.arrival")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Le)(a(O))}, ${a(c)}` : a(Le)(a(O))), 1), ie(C("span", Tt, [u(H, {
494
487
  icon: "exclamation-triangle",
495
488
  type: "fas"
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", Et, [l(V, {
489
+ })], 512), [[ee, a(A)]])])]),
490
+ C("li", null, [C("span", null, w(a(t)("booking.reservation.departure")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Le)(a(k))}, ${a(l)}` : a(Le)(a(k))), 1), ie(C("span", Et, [u(H, {
498
491
  icon: "exclamation-triangle",
499
492
  type: "fas"
500
- })], 512), [[ee, r(A)]])])]),
501
- T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(Fe)(r(O), r(k))) + " " + h(r(xe)(r(Fe)(r(O), r(k)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)]),
502
- r(B) && r(B).providesDiscount ? (b(), m("li", Dt, [T("span", null, h(r(B).shortDescription), 1), T("b", null, "-" + h(r(B).discountPercent) + "%", 1)])) : d("", !0),
503
- 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)
493
+ })], 512), [[ee, a(A)]])])]),
494
+ C("li", null, [C("span", null, w(a(t)("booking.reservation.nights")), 1), C("b", null, w(a(Ne)(a(O), a(k))) + " " + w(a(Ke)(a(Ne)(a(O), a(k)) === 1 ? a(t)("booking.reservation.night") : a(t)("booking.reservation.nights"))), 1)]),
495
+ a(me) && a(me).providesDiscount ? (b(), h("li", Dt, [C("span", null, w(a(me).shortDescription), 1), C("b", null, "-" + w(a(me).discountPercent) + "%", 1)])) : f("", !0),
496
+ a(E) ? (b(!0), h(o, { key: 3 }, D(a(E), (e) => (b(), h("li", { key: e.id }, [C("span", null, w(`${a(t)("general.discountCode")} (${e.value})`), 1), C("b", null, w(e.key), 1)]))), 128)) : f("", !0)
504
497
  ]),
505
498
  key: "0"
506
499
  }]), 1032, [
@@ -522,40 +515,32 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
522
515
  ]);
523
516
  };
524
517
  }
525
- }), [["__scopeId", "data-v-4f766755"]]), Wt = { class: "konnectio-panel" }, Gt = { id: "konnectio-hotel-guest-discount-title" }, Kt = ["innerHTML"], qt = /*#__PURE__*/ B(/* @__PURE__ */ R({
518
+ }), [["__scopeId", "data-v-4f766755"]]), Wt = { class: "konnectio-panel" }, Gt = { id: "konnectio-hotel-guest-discount-title" }, Kt = ["innerHTML"], qt = /*#__PURE__*/ Re(/* @__PURE__ */ R({
526
519
  __name: "GuestDiscountForm",
527
520
  setup(e) {
528
- let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o = I();
521
+ let { t } = y(), n = re("history"), r = De(), { display: i } = He(), o = F();
529
522
  async function s() {
530
- if (!o.value) {
531
- a({
532
- message: t("alert.error.guestDiscountEmpty"),
533
- type: "error"
534
- });
535
- return;
536
- }
537
- if (isNaN(o.value)) {
538
- a({
539
- message: t("alert.error.guestDiscountNan"),
540
- type: "error"
541
- });
542
- return;
543
- }
544
- await i.checkGuestDiscount(o.value) && (n.gid = o.value.toString());
523
+ o.value ? isNaN(o.value) ? i({
524
+ message: t("alert.error.guestDiscountNan"),
525
+ type: "error"
526
+ }) : await r.checkGuestDiscount(o.value) && (n.gid = o.value.toString()) : i({
527
+ message: t("alert.error.guestDiscountEmpty"),
528
+ type: "error"
529
+ });
545
530
  }
546
- return (e, n) => (b(), m("form", {
531
+ return (e, n) => (b(), h("form", {
547
532
  id: "konnectio-hotel-guest-discount",
548
- onSubmit: n[1] ||= F(() => {}, ["prevent"])
549
- }, [T("div", Wt, [
550
- T("h3", Gt, [T("span", null, h(r(t)("guestDiscount.title")), 1)]),
551
- T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8, Kt),
552
- l(H, {
533
+ onSubmit: n[1] ||= P(() => {}, ["prevent"])
534
+ }, [C("div", Wt, [
535
+ C("h3", Gt, [C("span", null, w(a(t)("guestDiscount.title")), 1)]),
536
+ C("p", { innerHTML: a(t)("guestDiscount.description") }, null, 8, Kt),
537
+ u(tt, {
553
538
  modelValue: o.value,
554
539
  "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
555
- label: r(t)("guestDiscount.guestDiscountCode"),
540
+ label: a(t)("guestDiscount.guestDiscountCode"),
556
541
  placeholder: "XXXXXX",
557
542
  inputType: "number",
558
- "button-label": r(t)("guestDiscount.submitButton"),
543
+ "button-label": a(t)("guestDiscount.submitButton"),
559
544
  icon: "user-tag",
560
545
  "button-icon": "paper-plane-top",
561
546
  secondary: "",
@@ -567,62 +552,61 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
567
552
  ])
568
553
  ])], 32));
569
554
  }
570
- }), [["__scopeId", "data-v-de955b0c"]]), Jt = { class: "konnectio-panel" }, Yt = { id: "konnectio-hotel-discount-code-title" }, Xt = ["innerHTML"], X = /*#__PURE__*/ B(/* @__PURE__ */ R({
555
+ }), [["__scopeId", "data-v-de955b0c"]]), Jt = { class: "konnectio-panel" }, Yt = { id: "konnectio-hotel-discount-code-title" }, Xt = ["innerHTML"], X = /*#__PURE__*/ Re(/* @__PURE__ */ R({
571
556
  __name: "DiscountCodeForm",
572
557
  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 = I(), _ = I(!1);
574
- async function ee() {
575
- if (!g.value) {
576
- o({
577
- message: t("alert.error.discountCodeEmpty"),
578
- type: "error"
579
- });
580
- return;
581
- }
582
- i.discount = g.value.toString(), a.setGuestDiscountCode(g.value.toString()), _.value = !0;
583
- try {
584
- await a.fetchAvailabilityData();
585
- } finally {
586
- _.value = !1;
558
+ let { t } = y(), r = re("history"), i = De(), { display: o } = He(), { location: s, hotelLocations: c } = S(Qe()), { requireDealCode: l } = S(i), p = n(() => l.value ? "dealCode" : "discountCode"), m = F(), g = F(!1);
559
+ async function _() {
560
+ if (!m.value) o({
561
+ message: t("alert.error.discountCodeEmpty"),
562
+ type: "error"
563
+ });
564
+ else {
565
+ r.discount = m.value.toString(), i.setGuestDiscountCode(m.value.toString()), g.value = !0;
566
+ try {
567
+ await i.fetchAvailabilityData();
568
+ } finally {
569
+ g.value = !1;
570
+ }
587
571
  }
588
572
  }
589
- return (e, n) => (b(), m("form", {
573
+ return (e, n) => (b(), h("form", {
590
574
  id: "konnectio-hotel-discount-code",
591
- onSubmit: n[2] ||= F(() => {}, ["prevent"])
592
- }, [T("div", Jt, [
593
- T("h3", Yt, [T("span", null, h(r(t)(`${p.value}.title`)), 1)]),
594
- T("p", { innerHTML: r(t)(`${p.value}.description`) }, null, 8, Xt),
595
- r(c).length > 1 ? (b(), u(Me, {
575
+ onSubmit: n[2] ||= P(() => {}, ["prevent"])
576
+ }, [C("div", Jt, [
577
+ C("h3", Yt, [C("span", null, w(a(t)(`${p.value}.title`)), 1)]),
578
+ C("p", { innerHTML: a(t)(`${p.value}.description`) }, null, 8, Xt),
579
+ a(c).length > 1 ? (b(), d(Ye, {
596
580
  key: 0,
597
- modelValue: r(s),
598
- "onUpdate:modelValue": n[0] ||= (e) => y(s) ? s.value = e : null,
599
- label: r(t)("general.location"),
600
- placeholder: r(t)("general.locationPlaceholder"),
581
+ modelValue: a(s),
582
+ "onUpdate:modelValue": n[0] ||= (e) => v(s) ? s.value = e : null,
583
+ label: a(t)("general.location"),
584
+ placeholder: a(t)("general.locationPlaceholder"),
601
585
  icon: "location-dot",
602
586
  "icon-type": "fas",
603
587
  "icon-placement": "label",
604
588
  "label-key": "name",
605
589
  "value-key": "id",
606
- options: r(c),
590
+ options: a(c),
607
591
  searchable: !1
608
592
  }, null, 8, [
609
593
  "modelValue",
610
594
  "label",
611
595
  "placeholder",
612
596
  "options"
613
- ])) : d("", !0),
614
- l(H, {
615
- modelValue: g.value,
616
- "onUpdate:modelValue": n[1] ||= (e) => g.value = e,
617
- label: r(t)(`${p.value}.label`),
597
+ ])) : f("", !0),
598
+ u(tt, {
599
+ modelValue: m.value,
600
+ "onUpdate:modelValue": n[1] ||= (e) => m.value = e,
601
+ label: a(t)(`${p.value}.label`),
618
602
  placeholder: "XXXXXX",
619
603
  inputType: "text",
620
- "button-label": r(t)(`${p.value}.submitButton`),
604
+ "button-label": a(t)(`${p.value}.submitButton`),
621
605
  icon: "tags",
622
606
  "button-icon": "paper-plane-top",
623
607
  secondary: "",
624
- "is-loading": _.value,
625
- onAction: ee
608
+ "is-loading": g.value,
609
+ onAction: _
626
610
  }, null, 8, [
627
611
  "modelValue",
628
612
  "label",
@@ -631,7 +615,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
631
615
  ])
632
616
  ])], 32));
633
617
  }
634
- }), [["__scopeId", "data-v-63bc74db"]]), Zt = { class: "konnectio-room-config-option" }, Qt = { key: 0 }, $t = { class: "konnectio-selected-room-config" }, en = { class: "konnectio-selected-room-config-people" }, tn = { key: 0 }, nn = { class: "konnectio-selected-room-config-price" }, rn = /*#__PURE__*/ B(/* @__PURE__ */ R({
618
+ }), [["__scopeId", "data-v-63bc74db"]]), Zt = { class: "konnectio-room-config-option" }, Qt = { key: 0 }, $t = { class: "konnectio-selected-room-config" }, en = { class: "konnectio-selected-room-config-people" }, tn = { key: 0 }, nn = { class: "konnectio-selected-room-config-price" }, rn = /*#__PURE__*/ Re(/* @__PURE__ */ R({
635
619
  __name: "RoomConfigField",
636
620
  props: {
637
621
  modelValue: {},
@@ -648,15 +632,15 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
648
632
  },
649
633
  emits: ["update:modelValue"],
650
634
  setup(e, { emit: t }) {
651
- let { t: i } = v(), { currency: a } = C(ce()), o = t, c = e;
652
- function f(e) {
635
+ let { t: r } = y(), { currency: i } = S(Ze()), o = t, s = e;
636
+ function l(e) {
653
637
  o("update:modelValue", e);
654
638
  }
655
639
  let p = n({
656
- get: () => c.modelValue,
657
- set: (e) => f(e)
640
+ get: () => s.modelValue,
641
+ set: (e) => l(e)
658
642
  });
659
- return (t, n) => (b(), u(Me, {
643
+ return (t, n) => (b(), d(Ye, {
660
644
  modelValue: p.value,
661
645
  "onUpdate:modelValue": n[0] ||= (e) => p.value = e,
662
646
  label: e.label,
@@ -669,20 +653,20 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
669
653
  required: e.required,
670
654
  searchable: !1
671
655
  }, {
672
- option: S(({ data: e }) => [T("span", Zt, [T("div", null, [
673
- l(V, {
656
+ option: T(({ data: e }) => [C("span", Zt, [C("div", null, [
657
+ u(H, {
674
658
  icon: "male",
675
659
  type: "fas",
676
660
  color: "font"
677
661
  }),
678
- T("span", null, h(`${e.adults}`), 1),
679
- e.children > 0 ? (b(), m("span", Qt, [l(V, {
662
+ C("span", null, w(`${e.adults}`), 1),
663
+ e.children > 0 ? (b(), h("span", Qt, [u(H, {
680
664
  icon: "child",
681
665
  type: "fas",
682
666
  color: "font"
683
- }), T("span", null, h(`${e.children}`), 1)])) : d("", !0)
684
- ]), T("span", null, h(`(${r(Ne)(e.price, r(a))})`), 1)])]),
685
- "selected-option": S(({ data: e }) => [T("div", $t, [T("div", en, [T("div", null, [d("", !0), T("span", null, h(`${e.adults} ${e.adults === 1 ? r(i)("general.adult") : r(i)("general.adults")}`), 1)]), e.children > 0 ? (b(), m("div", tn, [d("", !0), T("span", null, h(`& ${e.children} ${e.children === 1 ? r(i)("general.child") : r(i)("general.children")}`), 1)])) : d("", !0)]), T("div", nn, [n[1] ||= T("span", null, null, -1), s(" " + h(`(${r(Ne)(e.price, r(a))})`), 1)])])]),
667
+ }), C("span", null, w(`${e.children}`), 1)])) : f("", !0)
668
+ ]), C("span", null, w(`(${a(we)(e.price, a(i))})`), 1)])]),
669
+ "selected-option": T(({ data: e }) => [C("div", $t, [C("div", en, [C("div", null, [f("", !0), C("span", null, w(`${e.adults} ${e.adults === 1 ? a(r)("general.adult") : a(r)("general.adults")}`), 1)]), e.children > 0 ? (b(), h("div", tn, [f("", !0), C("span", null, w(`& ${e.children} ${e.children === 1 ? a(r)("general.child") : a(r)("general.children")}`), 1)])) : f("", !0)]), C("div", nn, [n[1] ||= C("span", null, null, -1), c(" " + w(`(${a(we)(e.price, a(i))})`), 1)])])]),
686
670
  _: 1
687
671
  }, 8, [
688
672
  "modelValue",
@@ -692,14 +676,13 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
692
676
  "required"
693
677
  ]));
694
678
  }
695
- }), [["__scopeId", "data-v-f960b7b6"]]), an = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
679
+ }), [["__scopeId", "data-v-f960b7b6"]]), an = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t, n) => {
696
680
  (function(n, r) {
697
681
  typeof e == "object" && t !== void 0 ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (n = typeof globalThis < "u" ? globalThis : n || self, r(n.leaflet = {}));
698
- })(e, (function(e) {
682
+ })(n, (function(e) {
699
683
  var t = "1.9.4";
700
684
  function n(e) {
701
- var t, n, r, i;
702
- for (n = 1, r = arguments.length; n < r; n++) for (t in i = arguments[n], i) e[t] = i[t];
685
+ for (var t, n = 1, r = arguments.length, i; n < r; n++) for (t in i = arguments[n], i) e[t] = i[t];
703
686
  return e;
704
687
  }
705
688
  var r = Object.create || (function() {
@@ -770,26 +753,26 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
770
753
  for (var n = 0; n < e.length; n++) if (e[n] === t) return n;
771
754
  return -1;
772
755
  }
773
- var te = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
774
- function ne(e) {
756
+ var v = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
757
+ function y(e) {
775
758
  return window["webkit" + e] || window["moz" + e] || window["ms" + e];
776
759
  }
777
- var v = 0;
778
- function re(e) {
779
- var t = +/* @__PURE__ */ new Date(), n = Math.max(0, 16 - (t - v));
780
- return v = t + n, window.setTimeout(e, n);
760
+ var te = 0;
761
+ function ne(e) {
762
+ var t = +/* @__PURE__ */ new Date(), n = Math.max(0, 16 - (t - te));
763
+ return te = t + n, window.setTimeout(e, n);
781
764
  }
782
- var y = window.requestAnimationFrame || ne("RequestAnimationFrame") || re, b = window.cancelAnimationFrame || ne("CancelAnimationFrame") || ne("CancelRequestAnimationFrame") || function(e) {
765
+ var b = window.requestAnimationFrame || y("RequestAnimationFrame") || ne, re = window.cancelAnimationFrame || y("CancelAnimationFrame") || y("CancelRequestAnimationFrame") || function(e) {
783
766
  window.clearTimeout(e);
784
767
  };
785
768
  function x(e, t, n) {
786
- if (n && y === re) e.call(t);
787
- else return y.call(window, i(e, t));
769
+ if (n && b === ne) e.call(t);
770
+ else return b.call(window, i(e, t));
788
771
  }
789
772
  function S(e) {
790
- e && b.call(window, e);
773
+ e && re.call(window, e);
791
774
  }
792
- var C = {
775
+ var ie = {
793
776
  __proto__: null,
794
777
  extend: n,
795
778
  create: r,
@@ -809,42 +792,42 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
809
792
  template: g,
810
793
  isArray: _,
811
794
  indexOf: ee,
812
- emptyImageUrl: te,
813
- requestFn: y,
814
- cancelFn: b,
795
+ emptyImageUrl: v,
796
+ requestFn: b,
797
+ cancelFn: re,
815
798
  requestAnimFrame: x,
816
799
  cancelAnimFrame: S
817
800
  };
818
- function ie() {}
819
- ie.extend = function(e) {
801
+ function ae() {}
802
+ ae.extend = function(e) {
820
803
  var t = function() {
821
804
  p(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
822
805
  }, i = t.__super__ = this.prototype, a = r(i);
823
806
  for (var o in a.constructor = t, t.prototype = a, this) Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (t[o] = this[o]);
824
- return e.statics && n(t, e.statics), e.includes && (w(e.includes), n.apply(null, [a].concat(e.includes))), n(a, e), delete a.statics, delete a.includes, a.options && (a.options = i.options ? r(i.options) : {}, n(a.options, e.options)), a._initHooks = [], a.callInitHooks = function() {
807
+ return e.statics && n(t, e.statics), e.includes && (C(e.includes), n.apply(null, [a].concat(e.includes))), n(a, e), delete a.statics, delete a.includes, a.options && (a.options = i.options ? r(i.options) : {}, n(a.options, e.options)), a._initHooks = [], a.callInitHooks = function() {
825
808
  if (!this._initHooksCalled) {
826
809
  i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
827
810
  for (var e = 0, t = a._initHooks.length; e < t; e++) a._initHooks[e].call(this);
828
811
  }
829
812
  }, t;
830
- }, ie.include = function(e) {
813
+ }, ae.include = function(e) {
831
814
  var t = this.prototype.options;
832
815
  return n(this.prototype, e), e.options && (this.prototype.options = t, this.mergeOptions(e.options)), this;
833
- }, ie.mergeOptions = function(e) {
816
+ }, ae.mergeOptions = function(e) {
834
817
  return n(this.prototype.options, e), this;
835
- }, ie.addInitHook = function(e) {
818
+ }, ae.addInitHook = function(e) {
836
819
  var t = Array.prototype.slice.call(arguments, 1), n = typeof e == "function" ? e : function() {
837
820
  this[e].apply(this, t);
838
821
  };
839
822
  return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(n), this;
840
823
  };
841
- function w(e) {
842
- if (!(typeof L > "u" || !L || !L.Mixin)) {
824
+ function C(e) {
825
+ if (typeof L < "u" && L && L.Mixin) {
843
826
  e = _(e) ? e : [e];
844
827
  for (var t = 0; t < e.length; t++) e[t] === L.Mixin.Events && console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.", (/* @__PURE__ */ Error()).stack);
845
828
  }
846
829
  }
847
- var T = {
830
+ var w = {
848
831
  on: function(e, t, n) {
849
832
  if (typeof e == "object") for (var r in e) this._on(r, e[r], t);
850
833
  else {
@@ -863,11 +846,8 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
863
846
  return this;
864
847
  },
865
848
  _on: function(e, t, n, r) {
866
- if (typeof t != "function") {
867
- console.warn("wrong listener type: " + typeof t);
868
- return;
869
- }
870
- if (this._listens(e, t, n) === !1) {
849
+ if (typeof t != "function") console.warn("wrong listener type: " + typeof t);
850
+ else if (this._listens(e, t, n) === !1) {
871
851
  n === this && (n = void 0);
872
852
  var i = {
873
853
  fn: t,
@@ -882,16 +862,13 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
882
862
  if (arguments.length === 1) {
883
863
  if (this._firingCount) for (i = 0, a = r.length; i < a; i++) r[i].fn = l;
884
864
  delete this._events[e];
885
- return;
886
- }
887
- if (typeof t != "function") {
888
- console.warn("wrong listener type: " + typeof t);
889
- return;
890
- }
891
- var o = this._listens(e, t, n);
892
- if (o !== !1) {
893
- var s = r[o];
894
- this._firingCount && (s.fn = l, this._events[e] = r = r.slice()), r.splice(o, 1);
865
+ } else if (typeof t != "function") console.warn("wrong listener type: " + typeof t);
866
+ else {
867
+ var o = this._listens(e, t, n);
868
+ if (o !== !1) {
869
+ var s = r[o];
870
+ this._firingCount && (s.fn = l, this._events[e] = r = r.slice()), r.splice(o, 1);
871
+ }
895
872
  }
896
873
  }
897
874
  },
@@ -955,17 +932,17 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
955
932
  }, e), !0);
956
933
  }
957
934
  };
958
- T.addEventListener = T.on, T.removeEventListener = T.clearAllEventListeners = T.off, T.addOneTimeEventListener = T.once, T.fireEvent = T.fire, T.hasEventListeners = T.listens;
959
- var E = ie.extend(T);
960
- function D(e, t, n) {
935
+ w.addEventListener = w.on, w.removeEventListener = w.clearAllEventListeners = w.off, w.addOneTimeEventListener = w.once, w.fireEvent = w.fire, w.hasEventListeners = w.listens;
936
+ var T = ae.extend(w);
937
+ function E(e, t, n) {
961
938
  this.x = n ? Math.round(e) : e, this.y = n ? Math.round(t) : t;
962
939
  }
963
- var ae = Math.trunc || function(e) {
940
+ var D = Math.trunc || function(e) {
964
941
  return e > 0 ? Math.floor(e) : Math.ceil(e);
965
942
  };
966
- D.prototype = {
943
+ E.prototype = {
967
944
  clone: function() {
968
- return new D(this.x, this.y);
945
+ return new E(this.x, this.y);
969
946
  },
970
947
  add: function(e) {
971
948
  return this.clone()._add(O(e));
@@ -992,10 +969,10 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
992
969
  return this.x *= e, this.y *= e, this;
993
970
  },
994
971
  scaleBy: function(e) {
995
- return new D(this.x * e.x, this.y * e.y);
972
+ return new E(this.x * e.x, this.y * e.y);
996
973
  },
997
974
  unscaleBy: function(e) {
998
- return new D(this.x / e.x, this.y / e.y);
975
+ return new E(this.x / e.x, this.y / e.y);
999
976
  },
1000
977
  round: function() {
1001
978
  return this.clone()._round();
@@ -1019,7 +996,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1019
996
  return this.clone()._trunc();
1020
997
  },
1021
998
  _trunc: function() {
1022
- return this.x = ae(this.x), this.y = ae(this.y), this;
999
+ return this.x = D(this.x), this.y = D(this.y), this;
1023
1000
  },
1024
1001
  distanceTo: function(e) {
1025
1002
  e = O(e);
@@ -1037,7 +1014,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1037
1014
  }
1038
1015
  };
1039
1016
  function O(e, t, n) {
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);
1017
+ return e instanceof E ? e : _(e) ? new E(e[0], e[1]) : e == null ? e : typeof e == "object" && "x" in e && "y" in e ? new E(e.x, e.y) : new E(e, t, n);
1041
1018
  }
1042
1019
  function k(e, t) {
1043
1020
  if (e) for (var n = t ? [e, t] : e, r = 0, i = n.length; r < i; r++) this.extend(n[r]);
@@ -1046,7 +1023,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1046
1023
  extend: function(e) {
1047
1024
  var t, n;
1048
1025
  if (!e) return this;
1049
- if (e instanceof D || typeof e[0] == "number" || "x" in e) t = n = O(e);
1026
+ if (e instanceof E || typeof e[0] == "number" || "x" in e) t = n = O(e);
1050
1027
  else if (e = A(e), t = e.min, n = e.max, !t || !n) return this;
1051
1028
  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
1029
  },
@@ -1070,7 +1047,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1070
1047
  },
1071
1048
  contains: function(e) {
1072
1049
  var t, n;
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;
1050
+ return e = typeof e[0] == "number" || e instanceof E ? 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
1051
  },
1075
1052
  intersects: function(e) {
1076
1053
  e = A(e);
@@ -1249,7 +1226,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1249
1226
  MAX_LATITUDE: 85.0511287798,
1250
1227
  project: function(e) {
1251
1228
  var t = Math.PI / 180, n = this.MAX_LATITUDE, r = Math.max(Math.min(n, e.lat), -n), i = Math.sin(r * t);
1252
- return new D(this.R * e.lng * t, this.R * Math.log((1 + i) / (1 - i)) / 2);
1229
+ return new E(this.R * e.lng * t, this.R * Math.log((1 + i) / (1 - i)) / 2);
1253
1230
  },
1254
1231
  unproject: function(e) {
1255
1232
  var t = 180 / Math.PI;
@@ -1261,11 +1238,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1261
1238
  })()
1262
1239
  };
1263
1240
  function oe(e, t, n, r) {
1264
- if (_(e)) {
1265
- this._a = e[0], this._b = e[1], this._c = e[2], this._d = e[3];
1266
- return;
1267
- }
1268
- this._a = e, this._b = t, this._c = n, this._d = r;
1241
+ _(e) ? (this._a = e[0], this._b = e[1], this._c = e[2], this._d = e[3]) : (this._a = e, this._b = t, this._c = n, this._d = r);
1269
1242
  }
1270
1243
  oe.prototype = {
1271
1244
  transform: function(e, t) {
@@ -1275,7 +1248,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1275
1248
  return t ||= 1, e.x = t * (this._a * e.x + this._b), e.y = t * (this._c * e.y + this._d), e;
1276
1249
  },
1277
1250
  untransform: function(e, t) {
1278
- return t ||= 1, new D((e.x / t - this._b) / this._a, (e.y / t - this._d) / this._c);
1251
+ return t ||= 1, new E((e.x / t - this._b) / this._a, (e.y / t - this._d) / this._c);
1279
1252
  }
1280
1253
  };
1281
1254
  function se(e, t, n, r) {
@@ -1293,14 +1266,13 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1293
1266
  return document.createElementNS("http://www.w3.org/2000/svg", e);
1294
1267
  }
1295
1268
  function de(e, t) {
1296
- var n = "", r, i, a, o, s, c;
1297
- for (r = 0, a = e.length; r < a; r++) {
1269
+ for (var n = "", r = 0, i, a = e.length, o, s, c; r < a; r++) {
1298
1270
  for (s = e[r], i = 0, o = s.length; i < o; i++) c = s[i], n += (i ? "L" : "M") + c.x + " " + c.y;
1299
- n += t ? H.svg ? "z" : "x" : "";
1271
+ n += t ? V.svg ? "z" : "x" : "";
1300
1272
  }
1301
1273
  return n || "M0 0";
1302
1274
  }
1303
- var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = qe("webkit"), _e = qe("android"), B = qe("android 2") || qe("android 3"), ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ye = _e && qe("Google") && ve < 537 && !("AudioNode" in window), be = !!window.opera, xe = !he && qe("chrome"), Se = qe("gecko") && !ge && !be && !pe, Ce = !xe && qe("safari"), we = qe("phantom"), Te = "OTransition" in fe, Ee = navigator.platform.indexOf("Win") === 0, De = pe && "transition" in fe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !B, ke = "MozPerspective" in fe, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, je = typeof orientation < "u" || qe("mobile"), Me = je && ge, Ne = je && Oe, Pe = !window.PointerEvent && window.MSPointerEvent, V = !!(window.PointerEvent || Pe), Fe = "ontouchstart" in window || !!window.TouchEvent, Ie = !window.L_NO_TOUCH && (Fe || V), Le = je && be, Re = je && Se, ze = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Be = function() {
1275
+ var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = Je("webkit"), _e = Je("android"), ve = Je("android 2") || Je("android 3"), ye = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), be = _e && Je("Google") && ye < 537 && !("AudioNode" in window), xe = !!window.opera, Se = !he && Je("chrome"), Ce = Je("gecko") && !ge && !xe && !pe, we = !Se && Je("safari"), Te = Je("phantom"), Ee = "OTransition" in fe, De = navigator.platform.indexOf("Win") === 0, Oe = pe && "transition" in fe, ke = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ve, Ae = "MozPerspective" in fe, je = !window.L_DISABLE_3D && (Oe || ke || Ae) && !Ee && !Te, Me = typeof orientation < "u" || Je("mobile"), Ne = Me && ge, Pe = Me && ke, Fe = !window.PointerEvent && window.MSPointerEvent, Ie = !!(window.PointerEvent || Fe), Le = "ontouchstart" in window || !!window.TouchEvent, B = !window.L_NO_TOUCH && (Le || Ie), Re = Me && xe, ze = Me && Ce, Be = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Ve = function() {
1304
1276
  var e = !1;
1305
1277
  try {
1306
1278
  var t = Object.defineProperty({}, "passive", { get: function() {
@@ -1309,12 +1281,12 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1309
1281
  window.addEventListener("testPassiveEventSupport", l, t), window.removeEventListener("testPassiveEventSupport", l, t);
1310
1282
  } catch {}
1311
1283
  return e;
1312
- }(), Ve = function() {
1284
+ }(), He = function() {
1313
1285
  return !!document.createElement("canvas").getContext;
1314
- }(), He = !!(document.createElementNS && ue("svg").createSVGRect), Ue = !!He && (function() {
1286
+ }(), Ue = !!(document.createElementNS && ue("svg").createSVGRect), We = !!Ue && (function() {
1315
1287
  var e = document.createElement("div");
1316
1288
  return e.innerHTML = "<svg/>", (e.firstChild && e.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
1317
- })(), We = !He && function() {
1289
+ })(), Ge = !Ue && function() {
1318
1290
  try {
1319
1291
  var e = document.createElement("div");
1320
1292
  e.innerHTML = "<v:shape adj=\"1\"/>";
@@ -1323,51 +1295,51 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1323
1295
  } catch {
1324
1296
  return !1;
1325
1297
  }
1326
- }(), Ge = navigator.platform.indexOf("Mac") === 0, Ke = navigator.platform.indexOf("Linux") === 0;
1327
- function qe(e) {
1298
+ }(), Ke = navigator.platform.indexOf("Mac") === 0, qe = navigator.platform.indexOf("Linux") === 0;
1299
+ function Je(e) {
1328
1300
  return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
1329
1301
  }
1330
- var H = {
1302
+ var V = {
1331
1303
  ie: pe,
1332
1304
  ielt9: me,
1333
1305
  edge: he,
1334
1306
  webkit: ge,
1335
1307
  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: Ne,
1352
- msPointer: Pe,
1353
- pointer: V,
1354
- touch: Ie,
1355
- touchNative: Fe,
1356
- mobileOpera: Le,
1357
- mobileGecko: Re,
1358
- retina: ze,
1359
- passiveEvents: Be,
1360
- canvas: Ve,
1361
- svg: He,
1362
- vml: We,
1363
- inlineSvg: Ue,
1364
- mac: Ge,
1365
- linux: Ke
1366
- }, Je = H.msPointer ? "MSPointerDown" : "pointerdown", Ye = H.msPointer ? "MSPointerMove" : "pointermove", Xe = H.msPointer ? "MSPointerUp" : "pointerup", Ze = H.msPointer ? "MSPointerCancel" : "pointercancel", Qe = {
1367
- touchstart: Je,
1368
- touchmove: Ye,
1369
- touchend: Xe,
1370
- touchcancel: Ze
1308
+ android23: ve,
1309
+ androidStock: be,
1310
+ opera: xe,
1311
+ chrome: Se,
1312
+ gecko: Ce,
1313
+ safari: we,
1314
+ phantom: Te,
1315
+ opera12: Ee,
1316
+ win: De,
1317
+ ie3d: Oe,
1318
+ webkit3d: ke,
1319
+ gecko3d: Ae,
1320
+ any3d: je,
1321
+ mobile: Me,
1322
+ mobileWebkit: Ne,
1323
+ mobileWebkit3d: Pe,
1324
+ msPointer: Fe,
1325
+ pointer: Ie,
1326
+ touch: B,
1327
+ touchNative: Le,
1328
+ mobileOpera: Re,
1329
+ mobileGecko: ze,
1330
+ retina: Be,
1331
+ passiveEvents: Ve,
1332
+ canvas: He,
1333
+ svg: Ue,
1334
+ vml: Ge,
1335
+ inlineSvg: We,
1336
+ mac: Ke,
1337
+ linux: qe
1338
+ }, Ye = V.msPointer ? "MSPointerDown" : "pointerdown", Xe = V.msPointer ? "MSPointerMove" : "pointermove", Ze = V.msPointer ? "MSPointerUp" : "pointerup", Qe = V.msPointer ? "MSPointerCancel" : "pointercancel", H = {
1339
+ touchstart: Ye,
1340
+ touchmove: Xe,
1341
+ touchend: Ze,
1342
+ touchcancel: Qe
1371
1343
  }, $e = {
1372
1344
  touchstart: lt,
1373
1345
  touchmove: ct,
@@ -1375,14 +1347,10 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1375
1347
  touchcancel: ct
1376
1348
  }, et = {}, tt = !1;
1377
1349
  function nt(e, t, n) {
1378
- return t === "touchstart" && st(), $e[t] ? (n = $e[t].bind(this, n), e.addEventListener(Qe[t], n, !1), n) : (console.warn("wrong event specified:", t), l);
1350
+ return t === "touchstart" && st(), $e[t] ? (n = $e[t].bind(this, n), e.addEventListener(H[t], n, !1), n) : (console.warn("wrong event specified:", t), l);
1379
1351
  }
1380
1352
  function rt(e, t, n) {
1381
- if (!Qe[t]) {
1382
- console.warn("wrong event specified:", t);
1383
- return;
1384
- }
1385
- e.removeEventListener(Qe[t], n, !1);
1353
+ H[t] ? e.removeEventListener(H[t], n, !1) : console.warn("wrong event specified:", t);
1386
1354
  }
1387
1355
  function it(e) {
1388
1356
  et[e.pointerId] = e;
@@ -1394,7 +1362,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1394
1362
  delete et[e.pointerId];
1395
1363
  }
1396
1364
  function st() {
1397
- tt ||= (document.addEventListener(Je, it, !0), document.addEventListener(Ye, at, !0), document.addEventListener(Xe, ot, !0), document.addEventListener(Ze, ot, !0), !0);
1365
+ tt ||= (document.addEventListener(Ye, it, !0), document.addEventListener(Xe, at, !0), document.addEventListener(Ze, ot, !0), document.addEventListener(Qe, ot, !0), !0);
1398
1366
  }
1399
1367
  function ct(e, t) {
1400
1368
  if (t.pointerType !== (t.MSPOINTER_TYPE_MOUSE || "mouse")) {
@@ -1415,17 +1383,14 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1415
1383
  e.addEventListener("dblclick", t);
1416
1384
  var n = 0, r;
1417
1385
  function i(e) {
1418
- if (e.detail !== 1) {
1419
- r = e.detail;
1420
- return;
1421
- }
1422
- if (!(e.pointerType === "mouse" || e.sourceCapabilities && !e.sourceCapabilities.firesTouchEvents)) {
1386
+ if (e.detail !== 1) r = e.detail;
1387
+ else if (!(e.pointerType === "mouse" || e.sourceCapabilities && !e.sourceCapabilities.firesTouchEvents)) {
1423
1388
  var i = Qt(e);
1424
- if (!(i.some(function(e) {
1389
+ if (!i.some(function(e) {
1425
1390
  return e instanceof HTMLLabelElement && e.attributes.for;
1426
- }) && !i.some(function(e) {
1391
+ }) || i.some(function(e) {
1427
1392
  return e instanceof HTMLInputElement || e instanceof HTMLSelectElement;
1428
- }))) {
1393
+ })) {
1429
1394
  var a = Date.now();
1430
1395
  a - n <= dt ? (r++, r === 2 && t(ut(e))) : r = 1, n = a;
1431
1396
  }
@@ -1520,14 +1485,14 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1520
1485
  return !1;
1521
1486
  }
1522
1487
  function Ot(e, t, n) {
1523
- var r = t || new D(0, 0);
1524
- e.style[mt] = (H.ie3d ? "translate(" + r.x + "px," + r.y + "px)" : "translate3d(" + r.x + "px," + r.y + "px,0)") + (n ? " scale(" + n + ")" : "");
1488
+ var r = t || new E(0, 0);
1489
+ e.style[mt] = (V.ie3d ? "translate(" + r.x + "px," + r.y + "px)" : "translate3d(" + r.x + "px," + r.y + "px,0)") + (n ? " scale(" + n + ")" : "");
1525
1490
  }
1526
1491
  function q(e, t) {
1527
- e._leaflet_pos = t, H.any3d ? Ot(e, t) : (e.style.left = t.x + "px", e.style.top = t.y + "px");
1492
+ e._leaflet_pos = t, V.any3d ? Ot(e, t) : (e.style.left = t.x + "px", e.style.top = t.y + "px");
1528
1493
  }
1529
1494
  function kt(e) {
1530
- return e._leaflet_pos || new D(0, 0);
1495
+ return e._leaflet_pos || new E(0, 0);
1531
1496
  }
1532
1497
  var At, jt, Mt;
1533
1498
  if ("onselectstart" in document) At = function() {
@@ -1650,7 +1615,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1650
1615
  var a = function(t) {
1651
1616
  return n.call(r || e, t || window.event);
1652
1617
  }, s = a;
1653
- !H.touchNative && H.pointer && t.indexOf("touch") === 0 ? a = nt(e, t, a) : H.touch && t === "dblclick" ? a = ft(e, a) : "addEventListener" in e ? t === "touchstart" || t === "touchmove" || t === "wheel" || t === "mousewheel" ? e.addEventListener(Gt[t] || t, a, H.passiveEvents ? { passive: !1 } : !1) : t === "mouseenter" || t === "mouseleave" ? (a = function(t) {
1618
+ !V.touchNative && V.pointer && t.indexOf("touch") === 0 ? a = nt(e, t, a) : V.touch && t === "dblclick" ? a = ft(e, a) : "addEventListener" in e ? t === "touchstart" || t === "touchmove" || t === "wheel" || t === "mousewheel" ? e.addEventListener(Gt[t] || t, a, V.passiveEvents ? { passive: !1 } : !1) : t === "mouseenter" || t === "mouseleave" ? (a = function(t) {
1654
1619
  t ||= window.event, nn(e, t) && s(t);
1655
1620
  }, e.addEventListener(Gt[t], a, !1)) : e.addEventListener(t, s, !1) : e.attachEvent("on" + t, a), e[Ut] = e[Ut] || {}, e[Ut][i] = a;
1656
1621
  }
@@ -1658,7 +1623,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1658
1623
  i ||= t + o(n) + (r ? "_" + o(r) : "");
1659
1624
  var a = e[Ut] && e[Ut][i];
1660
1625
  if (!a) return this;
1661
- !H.touchNative && H.pointer && t.indexOf("touch") === 0 ? rt(e, t, a) : H.touch && t === "dblclick" ? pt(e, a) : "removeEventListener" in e ? e.removeEventListener(Gt[t] || t, a, !1) : e.detachEvent("on" + t, a), e[Ut][i] = null;
1626
+ !V.touchNative && V.pointer && t.indexOf("touch") === 0 ? rt(e, t, a) : V.touch && t === "dblclick" ? pt(e, a) : "removeEventListener" in e ? e.removeEventListener(Gt[t] || t, a, !1) : e.detachEvent("on" + t, a), e[Ut][i] = null;
1662
1627
  }
1663
1628
  function Jt(e) {
1664
1629
  return e.stopPropagation ? e.stopPropagation() : e.originalEvent ? e.originalEvent._stopped = !0 : e.cancelBubble = !0, this;
@@ -1681,13 +1646,13 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1681
1646
  return t;
1682
1647
  }
1683
1648
  function $t(e, t) {
1684
- if (!t) return new D(e.clientX, e.clientY);
1649
+ if (!t) return new E(e.clientX, e.clientY);
1685
1650
  var n = Vt(t), r = n.boundingClientRect;
1686
- return new D((e.clientX - r.left) / n.x - t.clientLeft, (e.clientY - r.top) / n.y - t.clientTop);
1651
+ return new E((e.clientX - r.left) / n.x - t.clientLeft, (e.clientY - r.top) / n.y - t.clientTop);
1687
1652
  }
1688
- var en = H.linux && H.chrome ? window.devicePixelRatio : H.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
1653
+ var en = V.linux && V.chrome ? window.devicePixelRatio : V.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
1689
1654
  function tn(e) {
1690
- return H.edge ? e.wheelDeltaY / 2 : e.deltaY && e.deltaMode === 0 ? -e.deltaY / en : e.deltaY && e.deltaMode === 1 ? -e.deltaY * 20 : e.deltaY && e.deltaMode === 2 ? -e.deltaY * 60 : e.deltaX || e.deltaZ ? 0 : e.wheelDelta ? (e.wheelDeltaY || e.wheelDelta) / 2 : e.detail && Math.abs(e.detail) < 32765 ? -e.detail * 20 : e.detail ? e.detail / -32765 * 60 : 0;
1655
+ return V.edge ? e.wheelDeltaY / 2 : e.deltaY && e.deltaMode === 0 ? -e.deltaY / en : e.deltaY && e.deltaMode === 1 ? -e.deltaY * 20 : e.deltaY && e.deltaMode === 2 ? -e.deltaY * 60 : e.deltaX || e.deltaZ ? 0 : e.wheelDelta ? (e.wheelDeltaY || e.wheelDelta) / 2 : e.detail && Math.abs(e.detail) < 32765 ? -e.detail * 20 : e.detail ? e.detail / -32765 * 60 : 0;
1691
1656
  }
1692
1657
  function nn(e, t) {
1693
1658
  var n = t.relatedTarget;
@@ -1714,7 +1679,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1714
1679
  isExternalTarget: nn,
1715
1680
  addListener: J,
1716
1681
  removeListener: Y
1717
- }, an = E.extend({
1682
+ }, an = T.extend({
1718
1683
  run: function(e, t, n, r) {
1719
1684
  this.stop(), this._el = e, this._inProgress = !0, this._duration = n || .25, this._easeOutPower = 1 / Math.max(r || .5, .2), this._startPos = kt(e), this._offset = t.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
1720
1685
  },
@@ -1738,7 +1703,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1738
1703
  _easeOut: function(e) {
1739
1704
  return 1 - (1 - e) ** this._easeOutPower;
1740
1705
  }
1741
- }), Z = E.extend({
1706
+ }), Z = T.extend({
1742
1707
  options: {
1743
1708
  crs: ce,
1744
1709
  center: void 0,
@@ -1758,7 +1723,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1758
1723
  trackResize: !0
1759
1724
  },
1760
1725
  initialize: function(e, t) {
1761
- t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(P(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = ht && H.any3d && !H.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), J(this._proxy, gt, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
1726
+ t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(P(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = ht && V.any3d && !V.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), J(this._proxy, gt, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
1762
1727
  },
1763
1728
  setView: function(e, t, r) {
1764
1729
  return t = t === void 0 ? this._zoom : this._limitZoom(t), e = this._limitCenter(P(e), t, this.options.maxBounds), r ||= {}, this._stop(), this._loaded && !r.reset && r !== !0 && (r.animate !== void 0 && (r.zoom = n({ animate: r.animate }, r.zoom), r.pan = n({
@@ -1770,13 +1735,13 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1770
1735
  return this._loaded ? this.setView(this.getCenter(), e, { zoom: t }) : (this._zoom = e, this);
1771
1736
  },
1772
1737
  zoomIn: function(e, t) {
1773
- return e ||= H.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom + e, t);
1738
+ return e ||= V.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom + e, t);
1774
1739
  },
1775
1740
  zoomOut: function(e, t) {
1776
- return e ||= H.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom - e, t);
1741
+ return e ||= V.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom - e, t);
1777
1742
  },
1778
1743
  setZoomAround: function(e, t, n) {
1779
- var r = this.getZoomScale(t), i = this.getSize().divideBy(2), a = (e instanceof D ? e : this.latLngToContainerPoint(e)).subtract(i).multiplyBy(1 - 1 / r), o = this.containerPointToLatLng(i.add(a));
1744
+ var r = this.getZoomScale(t), i = this.getSize().divideBy(2), a = (e instanceof E ? e : this.latLngToContainerPoint(e)).subtract(i).multiplyBy(1 - 1 / r), o = this.containerPointToLatLng(i.add(a));
1780
1745
  return this.setView(o, t, { zoom: n });
1781
1746
  },
1782
1747
  _getBoundsCenterZoom: function(e, t) {
@@ -1817,7 +1782,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1817
1782
  return this;
1818
1783
  },
1819
1784
  flyTo: function(e, t, n) {
1820
- if (n ||= {}, n.animate === !1 || !H.any3d) return this.setView(e, t, n);
1785
+ if (n ||= {}, n.animate === !1 || !V.any3d) return this.setView(e, t, n);
1821
1786
  this._stop();
1822
1787
  var r = this.project(this.getCenter()), i = this.project(e), a = this.getSize(), o = this._zoom;
1823
1788
  e = P(e), t = t === void 0 ? o : t;
@@ -1842,15 +1807,15 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1842
1807
  function ee(e) {
1843
1808
  return s * (m(g) * h(g + u * e) - p(g)) / d;
1844
1809
  }
1845
- function te(e) {
1810
+ function v(e) {
1846
1811
  return 1 - (1 - e) ** 1.5;
1847
1812
  }
1848
- var ne = Date.now(), v = (f(1) - g) / u, re = n.duration ? 1e3 * n.duration : 1e3 * v * .8;
1849
- function y() {
1850
- var n = (Date.now() - ne) / re, a = te(n) * v;
1851
- n <= 1 ? (this._flyToFrame = x(y, this), this._move(this.unproject(r.add(i.subtract(r).multiplyBy(ee(a) / l)), o), this.getScaleZoom(s / _(a), o), { flyTo: !0 })) : this._move(e, t)._moveEnd(!0);
1813
+ var y = Date.now(), te = (f(1) - g) / u, ne = n.duration ? 1e3 * n.duration : 1e3 * te * .8;
1814
+ function b() {
1815
+ var n = (Date.now() - y) / ne, a = v(n) * te;
1816
+ n <= 1 ? (this._flyToFrame = x(b, this), this._move(this.unproject(r.add(i.subtract(r).multiplyBy(ee(a) / l)), o), this.getScaleZoom(s / _(a), o), { flyTo: !0 })) : this._move(e, t)._moveEnd(!0);
1852
1817
  }
1853
- return this._moveStart(!0, n.noMoveStart), y.call(this), this;
1818
+ return this._moveStart(!0, n.noMoveStart), b.call(this), this;
1854
1819
  },
1855
1820
  flyToBounds: function(e, t) {
1856
1821
  var n = this._getBoundsCenterZoom(e, t);
@@ -1976,11 +1941,11 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
1976
1941
  },
1977
1942
  getBoundsZoom: function(e, t, n) {
1978
1943
  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 = H.any3d ? this.options.zoomSnap : 1, d = c.x / l.x, f = c.y / l.y, p = t ? Math.max(d, f) : Math.min(d, f);
1944
+ 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 = V.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
1945
  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
1946
  },
1982
1947
  getSize: function() {
1983
- return (!this._size || this._sizeChanged) && (this._size = new D(this._container.clientWidth || 0, this._container.clientHeight || 0), this._sizeChanged = !1), this._size.clone();
1948
+ return (!this._size || this._sizeChanged) && (this._size = new E(this._container.clientWidth || 0, this._container.clientHeight || 0), this._sizeChanged = !1), this._size.clone();
1984
1949
  },
1985
1950
  getPixelBounds: function(e, t) {
1986
1951
  var n = this._getTopLeftPoint(e, t);
@@ -2063,16 +2028,16 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2063
2028
  },
2064
2029
  _initLayout: function() {
2065
2030
  var e = this._container;
2066
- this._fadeAnimated = this.options.fadeAnimation && H.any3d, G(e, "leaflet-container" + (H.touch ? " leaflet-touch" : "") + (H.retina ? " leaflet-retina" : "") + (H.ielt9 ? " leaflet-oldie" : "") + (H.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
2031
+ this._fadeAnimated = this.options.fadeAnimation && V.any3d, G(e, "leaflet-container" + (V.touch ? " leaflet-touch" : "") + (V.retina ? " leaflet-retina" : "") + (V.ielt9 ? " leaflet-oldie" : "") + (V.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
2067
2032
  var t = vt(e, "position");
2068
2033
  t !== "absolute" && t !== "relative" && t !== "fixed" && t !== "sticky" && (e.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
2069
2034
  },
2070
2035
  _initPanes: function() {
2071
2036
  var e = this._panes = {};
2072
- this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), q(this._mapPane, new D(0, 0)), this.createPane("tilePane"), this.createPane("overlayPane"), this.createPane("shadowPane"), this.createPane("markerPane"), this.createPane("tooltipPane"), this.createPane("popupPane"), this.options.markerZoomAnimation || (G(e.markerPane, "leaflet-zoom-hide"), G(e.shadowPane, "leaflet-zoom-hide"));
2037
+ this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), q(this._mapPane, new E(0, 0)), this.createPane("tilePane"), this.createPane("overlayPane"), this.createPane("shadowPane"), this.createPane("markerPane"), this.createPane("tooltipPane"), this.createPane("popupPane"), this.options.markerZoomAnimation || (G(e.markerPane, "leaflet-zoom-hide"), G(e.shadowPane, "leaflet-zoom-hide"));
2073
2038
  },
2074
2039
  _resetView: function(e, t, n) {
2075
- q(this._mapPane, new D(0, 0));
2040
+ q(this._mapPane, new E(0, 0));
2076
2041
  var r = !this._loaded;
2077
2042
  this._loaded = !0, t = this._limitZoom(t), this.fire("viewprereset");
2078
2043
  var i = this._zoom !== t;
@@ -2107,7 +2072,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2107
2072
  _initEvents: function(e) {
2108
2073
  this._targets = {}, this._targets[o(this._container)] = this;
2109
2074
  var t = e ? Y : J;
2110
- t(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && t(window, "resize", this._onResize, this), H.any3d && this.options.transform3DLimit && (e ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
2075
+ t(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && t(window, "resize", this._onResize, this), V.any3d && this.options.transform3DLimit && (e ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
2111
2076
  },
2112
2077
  _onResize: function() {
2113
2078
  S(this._resizeRequest), this._resizeRequest = x(function() {
@@ -2182,7 +2147,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2182
2147
  return this._loaded ? e.call(t || this, { target: this }) : this.on("load", e, t), this;
2183
2148
  },
2184
2149
  _getMapPanePos: function() {
2185
- return kt(this._mapPane) || new D(0, 0);
2150
+ return kt(this._mapPane) || new E(0, 0);
2186
2151
  },
2187
2152
  _moved: function() {
2188
2153
  var e = this._getMapPanePos();
@@ -2226,13 +2191,13 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2226
2191
  },
2227
2192
  _getBoundsOffset: function(e, t, n) {
2228
2193
  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
- return new D(this._rebound(i.x, -a.x), this._rebound(i.y, -a.y));
2194
+ return new E(this._rebound(i.x, -a.x), this._rebound(i.y, -a.y));
2230
2195
  },
2231
2196
  _rebound: function(e, t) {
2232
2197
  return e + t > 0 ? Math.round(e - t) / 2 : Math.max(0, Math.ceil(e)) - Math.max(0, Math.floor(t));
2233
2198
  },
2234
2199
  _limitZoom: function(e) {
2235
- var t = this.getMinZoom(), n = this.getMaxZoom(), r = H.any3d ? this.options.zoomSnap : 1;
2200
+ var t = this.getMinZoom(), n = this.getMaxZoom(), r = V.any3d ? this.options.zoomSnap : 1;
2236
2201
  return r && (e = Math.round(e / r) * r), Math.max(t, Math.min(n, e));
2237
2202
  },
2238
2203
  _onPanTransitionStep: function() {
@@ -2287,7 +2252,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2287
2252
  function on(e, t) {
2288
2253
  return new Z(e, t);
2289
2254
  }
2290
- var sn = ie.extend({
2255
+ var sn = ae.extend({
2291
2256
  options: { position: "topright" },
2292
2257
  initialize: function(e) {
2293
2258
  p(this, e);
@@ -2308,7 +2273,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2308
2273
  return G(t, "leaflet-control"), n.indexOf("bottom") === -1 ? r.appendChild(t) : r.insertBefore(t, r.firstChild), this._map.on("unload", this.remove, this), this;
2309
2274
  },
2310
2275
  remove: function() {
2311
- return this._map ? (W(this._container), this.onRemove && this.onRemove(this._map), this._map.off("unload", this.remove, this), this._map = null, this) : this;
2276
+ return this._map &&= (W(this._container), this.onRemove && this.onRemove(this._map), this._map.off("unload", this.remove, this), null), this;
2312
2277
  },
2313
2278
  _refocusOnMap: function(e) {
2314
2279
  this._map && e && e.screenX > 0 && e.screenY > 0 && this._map.getContainer().focus();
@@ -2547,7 +2512,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2547
2512
  }, hn = sn.extend({
2548
2513
  options: {
2549
2514
  position: "bottomright",
2550
- prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (H.inlineSvg ? "<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"8\" viewBox=\"0 0 12 8\" class=\"leaflet-attribution-flag\"><path fill=\"#4C7BE1\" d=\"M0 0h12v4H0z\"/><path fill=\"#FFD500\" d=\"M0 4h12v3H0z\"/><path fill=\"#E0BC00\" d=\"M0 7h12v1H0z\"/></svg> " : "") + "Leaflet</a>"
2515
+ prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (V.inlineSvg ? "<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"8\" viewBox=\"0 0 12 8\" class=\"leaflet-attribution-flag\"><path fill=\"#4C7BE1\" d=\"M0 0h12v4H0z\"/><path fill=\"#FFD500\" d=\"M0 4h12v3H0z\"/><path fill=\"#E0BC00\" d=\"M0 7h12v1H0z\"/></svg> " : "") + "Leaflet</a>"
2551
2516
  },
2552
2517
  initialize: function(e) {
2553
2518
  p(this, e), this._attributions = {};
@@ -2568,7 +2533,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2568
2533
  return this.options.prefix = e, this._update(), this;
2569
2534
  },
2570
2535
  addAttribution: function(e) {
2571
- return e ? (this._attributions[e] || (this._attributions[e] = 0), this._attributions[e]++, this._update(), this) : this;
2536
+ return e && (this._attributions[e] || (this._attributions[e] = 0), this._attributions[e]++, this._update()), this;
2572
2537
  },
2573
2538
  removeAttribution: function(e) {
2574
2539
  return e && this._attributions[e] && (this._attributions[e]--, this._update()), this;
@@ -2587,15 +2552,15 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2587
2552
  }), sn.Layers = ln, sn.Zoom = dn, sn.Scale = pn, sn.Attribution = hn, cn.layers = un, cn.zoom = fn, cn.scale = mn, cn.attribution = function(e) {
2588
2553
  return new hn(e);
2589
2554
  };
2590
- var Q = ie.extend({
2555
+ var Q = ae.extend({
2591
2556
  initialize: function(e) {
2592
2557
  this._map = e;
2593
2558
  },
2594
2559
  enable: function() {
2595
- return this._enabled ? this : (this._enabled = !0, this.addHooks(), this);
2560
+ return this._enabled || (this._enabled = !0, this.addHooks()), this;
2596
2561
  },
2597
2562
  disable: function() {
2598
- return this._enabled ? (this._enabled = !1, this.removeHooks(), this) : this;
2563
+ return this._enabled && (this._enabled = !1, this.removeHooks()), this;
2599
2564
  },
2600
2565
  enabled: function() {
2601
2566
  return !!this._enabled;
@@ -2604,7 +2569,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2604
2569
  Q.addTo = function(e, t) {
2605
2570
  return e.addHandler(t, this), this;
2606
2571
  };
2607
- var gn = { Events: T }, _n = H.touch ? "touchstart mousedown" : "mousedown", vn = E.extend({
2572
+ var gn = { Events: w }, _n = V.touch ? "touchstart mousedown" : "mousedown", vn = T.extend({
2608
2573
  options: { clickTolerance: 3 },
2609
2574
  initialize: function(e, t, n, r) {
2610
2575
  p(this, r), this._element = e, this._dragStartTarget = t || e, this._preventOutline = n;
@@ -2617,14 +2582,11 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2617
2582
  },
2618
2583
  _onDown: function(e) {
2619
2584
  if (this._enabled && (this._moved = !1, !St(this._element, "leaflet-zoom-anim"))) {
2620
- if (e.touches && e.touches.length !== 1) {
2621
- vn._dragging === this && this.finishDrag();
2622
- return;
2623
- }
2624
- if (!(vn._dragging || e.shiftKey || e.which !== 1 && e.button !== 1 && !e.touches) && (vn._dragging = this, this._preventOutline && Rt(this._element), Pt(), At(), !this._moving)) {
2585
+ if (e.touches && e.touches.length !== 1) vn._dragging === this && this.finishDrag();
2586
+ else if (!(vn._dragging || e.shiftKey || e.which !== 1 && e.button !== 1 && !e.touches) && (vn._dragging = this, this._preventOutline && Rt(this._element), Pt(), At(), !this._moving)) {
2625
2587
  this.fire("down");
2626
2588
  var t = e.touches ? e.touches[0] : e, n = Bt(this._element);
2627
- this._startPoint = new D(t.clientX, t.clientY), this._startPos = kt(this._element), this._parentScale = Vt(n);
2589
+ this._startPoint = new E(t.clientX, t.clientY), this._startPos = kt(this._element), this._parentScale = Vt(n);
2628
2590
  var r = e.type === "mousedown";
2629
2591
  J(document, r ? "mousemove" : "touchmove", this._onMove, this), J(document, r ? "mouseup" : "touchend touchcancel", this._onUp, this);
2630
2592
  }
@@ -2632,12 +2594,11 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2632
2594
  },
2633
2595
  _onMove: function(e) {
2634
2596
  if (this._enabled) {
2635
- if (e.touches && e.touches.length > 1) {
2636
- this._moved = !0;
2637
- return;
2597
+ if (e.touches && e.touches.length > 1) this._moved = !0;
2598
+ else {
2599
+ var t = e.touches && e.touches.length === 1 ? e.touches[0] : e, n = new E(t.clientX, t.clientY)._subtract(this._startPoint);
2600
+ (n.x || n.y) && (Math.abs(n.x) + Math.abs(n.y) < this.options.clickTolerance || (n.x /= this._parentScale.x, n.y /= this._parentScale.y, X(e), this._moved || (this.fire("dragstart"), this._moved = !0, G(document.body, "leaflet-dragging"), this._lastTarget = e.target || e.srcElement, window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance && (this._lastTarget = this._lastTarget.correspondingUseElement), G(this._lastTarget, "leaflet-drag-target")), this._newPos = this._startPos.add(n), this._moving = !0, this._lastEvent = e, this._updatePosition()));
2638
2601
  }
2639
- var t = e.touches && e.touches.length === 1 ? e.touches[0] : e, n = new D(t.clientX, t.clientY)._subtract(this._startPoint);
2640
- !n.x && !n.y || Math.abs(n.x) + Math.abs(n.y) < this.options.clickTolerance || (n.x /= this._parentScale.x, n.y /= this._parentScale.y, X(e), this._moved || (this.fire("dragstart"), this._moved = !0, G(document.body, "leaflet-dragging"), this._lastTarget = e.target || e.srcElement, window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance && (this._lastTarget = this._lastTarget.correspondingUseElement), G(this._lastTarget, "leaflet-drag-target")), this._newPos = this._startPos.add(n), this._moving = !0, this._lastEvent = e, this._updatePosition());
2641
2602
  }
2642
2603
  },
2643
2604
  _updatePosition: function() {
@@ -2657,13 +2618,12 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2657
2618
  }
2658
2619
  });
2659
2620
  function yn(e, t, n) {
2660
- var r, i = [
2621
+ for (var r, i = [
2661
2622
  1,
2662
2623
  4,
2663
2624
  2,
2664
2625
  8
2665
- ], a, o, s, c, l, u, d, f;
2666
- for (a = 0, u = e.length; a < u; a++) e[a]._code = Mn(e[a], t);
2626
+ ], a = 0, o, s, c, l, u = e.length, d, f; a < u; a++) e[a]._code = Mn(e[a], t);
2667
2627
  for (s = 0; s < 4; s++) {
2668
2628
  for (d = i[s], r = [], a = 0, u = e.length, o = u - 1; a < u; o = a++) c = e[a], l = e[o], c._code & d ? l._code & d || (f = jn(l, c, d, t, n), f._code = Mn(f, t), r.push(f)) : (l._code & d && (f = jn(l, c, d, t, n), f._code = Mn(f, t), r.push(f)), r.push(c));
2669
2629
  e = r;
@@ -2718,8 +2678,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2718
2678
  return a;
2719
2679
  }
2720
2680
  function Dn(e, t, n, r, i) {
2721
- var a = 0, o, s, c;
2722
- for (s = r + 1; s <= i - 1; s++) c = Pn(e[s], e[r], e[i], !0), c > a && (o = s, a = c);
2681
+ for (var a = 0, o, s = r + 1, c; s <= i - 1; s++) c = Pn(e[s], e[r], e[i], !0), c > a && (o = s, a = c);
2723
2682
  a > n && (t[o] = 1, Dn(e, t, n, r, o), Dn(e, t, n, o, i));
2724
2683
  }
2725
2684
  function On(e, t) {
@@ -2737,7 +2696,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2737
2696
  }
2738
2697
  function jn(e, t, n, r, i) {
2739
2698
  var a = t.x - e.x, o = t.y - e.y, s = r.min, c = r.max, l, u;
2740
- return n & 8 ? (l = e.x + a * (c.y - e.y) / o, u = c.y) : n & 4 ? (l = e.x + a * (s.y - e.y) / o, u = s.y) : n & 2 ? (l = c.x, u = e.y + o * (c.x - e.x) / a) : n & 1 && (l = s.x, u = e.y + o * (s.x - e.x) / a), new D(l, u, i);
2699
+ return n & 8 ? (l = e.x + a * (c.y - e.y) / o, u = c.y) : n & 4 ? (l = e.x + a * (s.y - e.y) / o, u = s.y) : n & 2 ? (l = c.x, u = e.y + o * (c.x - e.x) / a) : n & 1 && (l = s.x, u = e.y + o * (s.x - e.x) / a), new E(l, u, i);
2741
2700
  }
2742
2701
  function Mn(e, t) {
2743
2702
  var n = 0;
@@ -2749,7 +2708,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2749
2708
  }
2750
2709
  function Pn(e, t, n, r) {
2751
2710
  var i = t.x, a = t.y, o = n.x - i, s = n.y - a, c = o * o + s * s, l;
2752
- return c > 0 && (l = ((e.x - i) * o + (e.y - a) * s) / c, l > 1 ? (i = n.x, a = n.y) : l > 0 && (i += o * l, a += s * l)), o = e.x - i, s = e.y - a, r ? o * o + s * s : new D(i, a);
2711
+ return c > 0 && (l = ((e.x - i) * o + (e.y - a) * s) / c, l > 1 ? (i = n.x, a = n.y) : l > 0 && (i += o * l, a += s * l)), o = e.x - i, s = e.y - a, r ? o * o + s * s : new E(i, a);
2753
2712
  }
2754
2713
  function Fn(e) {
2755
2714
  return !_(e[0]) || typeof e[0][0] != "object" && e[0][0] !== void 0;
@@ -2791,7 +2750,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2791
2750
  polylineCenter: Ln
2792
2751
  }, zn = {
2793
2752
  project: function(e) {
2794
- return new D(e.lng, e.lat);
2753
+ return new E(e.lng, e.lat);
2795
2754
  },
2796
2755
  unproject: function(e) {
2797
2756
  return new N(e.y, e.x);
@@ -2803,7 +2762,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2803
2762
  bounds: new k([-20037508.34279, -15496570.73972], [20037508.34279, 18764656.23138]),
2804
2763
  project: function(e) {
2805
2764
  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
- return r = -n * Math.log(Math.max(s, 1e-10)), new D(e.lng * t * n, r);
2765
+ return r = -n * Math.log(Math.max(s, 1e-10)), new E(e.lng * t * n, r);
2807
2766
  },
2808
2767
  unproject: function(e) {
2809
2768
  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;
@@ -2841,7 +2800,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2841
2800
  infinite: !0
2842
2801
  });
2843
2802
  F.Earth = I, F.EPSG3395 = Hn, F.EPSG3857 = ce, F.EPSG900913 = le, F.EPSG4326 = Un, F.Simple = Wn;
2844
- var Gn = E.extend({
2803
+ var Gn = T.extend({
2845
2804
  options: {
2846
2805
  pane: "overlayPane",
2847
2806
  attribution: null,
@@ -2885,11 +2844,11 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2885
2844
  addLayer: function(e) {
2886
2845
  if (!e._layerAdd) throw Error("The provided object is not a Layer.");
2887
2846
  var t = o(e);
2888
- return this._layers[t] ? this : (this._layers[t] = e, e._mapToAdd = this, e.beforeAdd && e.beforeAdd(this), this.whenReady(e._layerAdd, e), this);
2847
+ return this._layers[t] || (this._layers[t] = e, e._mapToAdd = this, e.beforeAdd && e.beforeAdd(this), this.whenReady(e._layerAdd, e)), this;
2889
2848
  },
2890
2849
  removeLayer: function(e) {
2891
2850
  var t = o(e);
2892
- return this._layers[t] ? (this._loaded && e.onRemove(this), delete this._layers[t], this._loaded && (this.fire("layerremove", { layer: e }), e.fire("remove")), e._map = e._mapToAdd = null, this) : this;
2851
+ return this._layers[t] && (this._loaded && e.onRemove(this), delete this._layers[t], this._loaded && (this.fire("layerremove", { layer: e }), e.fire("remove")), e._map = e._mapToAdd = null), this;
2893
2852
  },
2894
2853
  hasLayer: function(e) {
2895
2854
  return o(e) in this._layers;
@@ -2903,7 +2862,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2903
2862
  for (var t = 0, n = e.length; t < n; t++) this.addLayer(e[t]);
2904
2863
  },
2905
2864
  _addZoomLimit: function(e) {
2906
- (!isNaN(e.options.maxZoom) || !isNaN(e.options.minZoom)) && (this._zoomBoundLayers[o(e)] = e, this._updateZoomLevels());
2865
+ isNaN(e.options.maxZoom) && isNaN(e.options.minZoom) || (this._zoomBoundLayers[o(e)] = e, this._updateZoomLevels());
2907
2866
  },
2908
2867
  _removeZoomLimit: function(e) {
2909
2868
  var t = o(e);
@@ -2994,7 +2953,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
2994
2953
  }
2995
2954
  }), Yn = function(e, t) {
2996
2955
  return new Jn(e, t);
2997
- }, Xn = ie.extend({
2956
+ }, Xn = ae.extend({
2998
2957
  options: {
2999
2958
  popupAnchor: [0, 0],
3000
2959
  tooltipAnchor: [0, 0],
@@ -3028,7 +2987,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
3028
2987
  return t ||= document.createElement("img"), t.src = e, t;
3029
2988
  },
3030
2989
  _getIconUrl: function(e) {
3031
- return H.retina && this.options[e + "RetinaUrl"] || this.options[e + "Url"];
2990
+ return V.retina && this.options[e + "RetinaUrl"] || this.options[e + "Url"];
3032
2991
  }
3033
2992
  });
3034
2993
  function Zn(e) {
@@ -3415,7 +3374,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
3415
3374
  this._rings = [], this._projectLatlngs(this._latlngs, this._rings, e), this._bounds.isValid() && e.isValid() && (this._rawPxBounds = e, this._updateBounds());
3416
3375
  },
3417
3376
  _updateBounds: function() {
3418
- var e = this._clickTolerance(), t = new D(e, e);
3377
+ var e = this._clickTolerance(), t = new E(e, e);
3419
3378
  this._rawPxBounds && (this._pxBounds = new k([this._rawPxBounds.min.subtract(t), this._rawPxBounds.max.add(t)]));
3420
3379
  },
3421
3380
  _projectLatlngs: function(e, t, n) {
@@ -3427,13 +3386,9 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
3427
3386
  },
3428
3387
  _clipPoints: function() {
3429
3388
  var e = this._renderer._bounds;
3430
- if (this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(e))) {
3431
- if (this.options.noClip) {
3432
- this._parts = this._rings;
3433
- return;
3434
- }
3435
- var t = this._parts, n, r, i, a, o, s, c;
3436
- for (n = 0, i = 0, a = this._rings.length; n < a; n++) for (c = this._rings[n], r = 0, o = c.length; r < o - 1; r++) s = An(c[r], c[r + 1], e, r, !0), s && (t[i] = t[i] || [], t[i].push(s[0]), (s[1] !== c[r + 1] || r === o - 2) && (t[i].push(s[1]), i++));
3389
+ if (this._parts = [], this._pxBounds && this._pxBounds.intersects(e)) {
3390
+ if (this.options.noClip) this._parts = this._rings;
3391
+ else for (var t = this._parts, n = 0, r, i = 0, a = this._rings.length, o, s, c; n < a; n++) for (c = this._rings[n], r = 0, o = c.length; r < o - 1; r++) s = An(c[r], c[r + 1], e, r, !0), s && (t[i] = t[i] || [], t[i].push(s[0]), (s[1] !== c[r + 1] || r === o - 2) && (t[i].push(s[1]), i++));
3437
3392
  }
3438
3393
  },
3439
3394
  _simplifyPoints: function() {
@@ -3448,7 +3403,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
3448
3403
  _containsPoint: function(e, t) {
3449
3404
  var n, r, i, a, o, s, c = this._clickTolerance();
3450
3405
  if (!this._pxBounds || !this._pxBounds.contains(e)) return !1;
3451
- for (n = 0, a = this._parts.length; n < a; n++) for (s = this._parts[n], r = 0, o = s.length, i = o - 1; r < o; i = r++) if (!(!t && r === 0) && wn(e, s[i], s[r]) <= c) return !0;
3406
+ for (n = 0, a = this._parts.length; n < a; n++) for (s = this._parts[n], r = 0, o = s.length, i = o - 1; r < o; i = r++) if ((t || r !== 0) && wn(e, s[i], s[r]) <= c) return !0;
3452
3407
  return !1;
3453
3408
  }
3454
3409
  });
@@ -3476,13 +3431,10 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
3476
3431
  return Fn(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
3477
3432
  },
3478
3433
  _clipPoints: function() {
3479
- var e = this._renderer._bounds, t = this.options.weight, n = new D(t, t);
3480
- if (e = new k(e.min.subtract(n), e.max.add(n)), this._parts = [], !(!this._pxBounds || !this._pxBounds.intersects(e))) {
3481
- if (this.options.noClip) {
3482
- this._parts = this._rings;
3483
- return;
3484
- }
3485
- for (var r = 0, i = this._rings.length, a; r < i; r++) a = yn(this._rings[r], e, !0), a.length && this._parts.push(a);
3434
+ var e = this._renderer._bounds, t = this.options.weight, n = new E(t, t);
3435
+ if (e = new k(e.min.subtract(n), e.max.add(n)), this._parts = [], this._pxBounds && this._pxBounds.intersects(e)) {
3436
+ if (this.options.noClip) this._parts = this._rings;
3437
+ else for (var r = 0, i = this._rings.length, a; r < i; r++) a = yn(this._rings[r], e, !0), a.length && this._parts.push(a);
3486
3438
  }
3487
3439
  },
3488
3440
  _updatePath: function() {
@@ -3695,11 +3647,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
3695
3647
  },
3696
3648
  _initImage: function() {
3697
3649
  var e = this._url.tagName === "IMG", t = this._image = e ? this._url : U("img");
3698
- if (G(t, "leaflet-image-layer"), this._zoomAnimated && G(t, "leaflet-zoom-animated"), this.options.className && G(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onload = i(this.fire, this, "load"), t.onerror = i(this._overlayOnError, this, "error"), (this.options.crossOrigin || this.options.crossOrigin === "") && (t.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), this.options.zIndex && this._updateZIndex(), e) {
3699
- this._url = t.src;
3700
- return;
3701
- }
3702
- t.src = this._url, t.alt = this.options.alt;
3650
+ G(t, "leaflet-image-layer"), this._zoomAnimated && G(t, "leaflet-zoom-animated"), this.options.className && G(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onload = i(this.fire, this, "load"), t.onerror = i(this._overlayOnError, this, "error"), (this.options.crossOrigin || this.options.crossOrigin === "") && (t.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), this.options.zIndex && this._updateZIndex(), e ? this._url = t.src : (t.src = this._url, t.alt = this.options.alt);
3703
3651
  },
3704
3652
  _animateZoom: function(e) {
3705
3653
  var t = this._map.getZoomScale(e.zoom), n = this._map._latLngBoundsToNewLayerBounds(this._bounds, e.zoom, e.center).min;
@@ -3738,12 +3686,12 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
3738
3686
  if (G(t, "leaflet-image-layer"), this._zoomAnimated && G(t, "leaflet-zoom-animated"), this.options.className && G(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onloadeddata = i(this.fire, this, "load"), e) {
3739
3687
  for (var n = t.getElementsByTagName("source"), r = [], a = 0; a < n.length; a++) r.push(n[a].src);
3740
3688
  this._url = n.length > 0 ? r : [t.src];
3741
- return;
3742
- }
3743
- _(this._url) || (this._url = [this._url]), !this.options.keepAspectRatio && Object.prototype.hasOwnProperty.call(t.style, "objectFit") && (t.style.objectFit = "fill"), t.autoplay = !!this.options.autoplay, t.loop = !!this.options.loop, t.muted = !!this.options.muted, t.playsInline = !!this.options.playsInline;
3744
- for (var o = 0; o < this._url.length; o++) {
3745
- var s = U("source");
3746
- s.src = this._url[o], t.appendChild(s);
3689
+ } else {
3690
+ _(this._url) || (this._url = [this._url]), !this.options.keepAspectRatio && Object.prototype.hasOwnProperty.call(t.style, "objectFit") && (t.style.objectFit = "fill"), t.autoplay = !!this.options.autoplay, t.loop = !!this.options.loop, t.muted = !!this.options.muted, t.playsInline = !!this.options.playsInline;
3691
+ for (var o = 0; o < this._url.length; o++) {
3692
+ var s = U("source");
3693
+ s.src = this._url[o], t.appendChild(s);
3694
+ }
3747
3695
  }
3748
3696
  }
3749
3697
  });
@@ -3921,14 +3869,13 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
3921
3869
  },
3922
3870
  _adjustPan: function() {
3923
3871
  if (this.options.autoPan) {
3924
- if (this._map._panAnim && this._map._panAnim.stop(), this._autopanning) {
3925
- this._autopanning = !1;
3926
- return;
3872
+ if (this._map._panAnim && this._map._panAnim.stop(), this._autopanning) this._autopanning = !1;
3873
+ else {
3874
+ var e = this._map, t = parseInt(vt(this._container, "marginBottom"), 10) || 0, n = this._container.offsetHeight + t, r = this._containerWidth, i = new E(this._containerLeft, -n - this._containerBottom);
3875
+ i._add(kt(this._container));
3876
+ 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;
3877
+ 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]));
3927
3878
  }
3928
- var e = this._map, t = parseInt(vt(this._container, "marginBottom"), 10) || 0, n = this._container.offsetHeight + t, r = this._containerWidth, i = new D(this._containerLeft, -n - this._containerBottom);
3929
- i._add(kt(this._container));
3930
- 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
- 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
3879
  }
3933
3880
  },
3934
3881
  _getAnchor: function() {
@@ -3980,14 +3927,10 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
3980
3927
  return this._popup;
3981
3928
  },
3982
3929
  _openPopup: function(e) {
3983
- if (!(!this._popup || !this._map)) {
3930
+ if (this._popup && this._map) {
3984
3931
  Zt(e);
3985
3932
  var t = e.layer || e.target;
3986
- if (this._popup._source === t && !(t instanceof nr)) {
3987
- this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(e.latlng);
3988
- return;
3989
- }
3990
- this._popup._source = t, this.openPopup(e.latlng);
3933
+ this._popup._source === t && !(t instanceof nr) ? this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(e.latlng) : (this._popup._source = t, this.openPopup(e.latlng));
3991
3934
  }
3992
3935
  },
3993
3936
  _movePopup: function(e) {
@@ -4058,7 +4001,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4058
4001
  return this._tooltip &&= (this._initTooltipInteractions(!0), this.closeTooltip(), null), this;
4059
4002
  },
4060
4003
  _initTooltipInteractions: function(e) {
4061
- if (!(!e && this._tooltipHandlersAdded)) {
4004
+ if (e || !this._tooltipHandlersAdded) {
4062
4005
  var t = e ? "off" : "on", n = {
4063
4006
  remove: this.closeTooltip,
4064
4007
  move: this._moveTooltip
@@ -4098,16 +4041,14 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4098
4041
  t && t.setAttribute("aria-describedby", this._tooltip._container.id);
4099
4042
  },
4100
4043
  _openTooltip: function(e) {
4101
- if (!(!this._tooltip || !this._map)) {
4044
+ if (this._tooltip && this._map) {
4102
4045
  if (this._map.dragging && this._map.dragging.moving() && !this._openOnceFlag) {
4103
4046
  this._openOnceFlag = !0;
4104
4047
  var t = this;
4105
4048
  this._map.once("moveend", function() {
4106
4049
  t._openOnceFlag = !1, t._openTooltip(e);
4107
4050
  });
4108
- return;
4109
- }
4110
- this._tooltip._source = e.layer || e.target, this.openTooltip(this._tooltip.options.sticky ? e.latlng : void 0);
4051
+ } else this._tooltip._source = e.layer || e.target, this.openTooltip(this._tooltip.options.sticky ? e.latlng : void 0);
4111
4052
  }
4112
4053
  },
4113
4054
  _moveTooltip: function(e) {
@@ -4142,7 +4083,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4142
4083
  options: {
4143
4084
  tileSize: 256,
4144
4085
  opacity: 1,
4145
- updateWhenIdle: H.mobile,
4086
+ updateWhenIdle: V.mobile,
4146
4087
  updateWhenZooming: !0,
4147
4088
  updateInterval: 200,
4148
4089
  zIndex: 1,
@@ -4208,7 +4149,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4208
4149
  },
4209
4150
  getTileSize: function() {
4210
4151
  var e = this.options.tileSize;
4211
- return e instanceof D ? e : new D(e, e);
4152
+ return e instanceof E ? e : new E(e, e);
4212
4153
  },
4213
4154
  _updateZIndex: function() {
4214
4155
  this._container && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._container.style.zIndex = this.options.zIndex);
@@ -4218,12 +4159,12 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4218
4159
  isFinite(n) && (this.options.zIndex = n + e(-1, 1), this._updateZIndex());
4219
4160
  },
4220
4161
  _updateOpacity: function() {
4221
- if (this._map && !H.ielt9) {
4162
+ if (this._map && !V.ielt9) {
4222
4163
  Tt(this._container, this.options.opacity);
4223
4164
  var e = +/* @__PURE__ */ new Date(), t = !1, n = !1;
4224
4165
  for (var r in this._tiles) {
4225
4166
  var i = this._tiles[r];
4226
- if (!(!i.current || !i.loaded)) {
4167
+ if (i.current && i.loaded) {
4227
4168
  var a = Math.min(1, (e - i.loaded) / 200);
4228
4169
  Tt(i.el, a), a < 1 ? t = !0 : (i.active ? n = !0 : this._onOpaqueTile(i), i.active = !0);
4229
4170
  }
@@ -4249,16 +4190,15 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4249
4190
  _pruneTiles: function() {
4250
4191
  if (this._map) {
4251
4192
  var e, t, n = this._map.getZoom();
4252
- if (n > this.options.maxZoom || n < this.options.minZoom) {
4253
- this._removeAllTiles();
4254
- return;
4255
- }
4256
- for (e in this._tiles) t = this._tiles[e], t.retain = t.current;
4257
- for (e in this._tiles) if (t = this._tiles[e], t.current && !t.active) {
4258
- var r = t.coords;
4259
- this._retainParent(r.x, r.y, r.z, r.z - 5) || this._retainChildren(r.x, r.y, r.z, r.z + 2);
4193
+ if (n > this.options.maxZoom || n < this.options.minZoom) this._removeAllTiles();
4194
+ else {
4195
+ for (e in this._tiles) t = this._tiles[e], t.retain = t.current;
4196
+ for (e in this._tiles) if (t = this._tiles[e], t.current && !t.active) {
4197
+ var r = t.coords;
4198
+ this._retainParent(r.x, r.y, r.z, r.z - 5) || this._retainChildren(r.x, r.y, r.z, r.z + 2);
4199
+ }
4200
+ for (e in this._tiles) this._tiles[e].retain || this._removeTile(e);
4260
4201
  }
4261
- for (e in this._tiles) this._tiles[e].retain || this._removeTile(e);
4262
4202
  }
4263
4203
  },
4264
4204
  _removeTilesAtZoom: function(e) {
@@ -4272,21 +4212,17 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4272
4212
  this._removeAllTiles(), this._tileZoom = void 0;
4273
4213
  },
4274
4214
  _retainParent: function(e, t, n, r) {
4275
- var i = Math.floor(e / 2), a = Math.floor(t / 2), o = n - 1, s = new D(+i, +a);
4215
+ var i = Math.floor(e / 2), a = Math.floor(t / 2), o = n - 1, s = new E(+i, +a);
4276
4216
  s.z = +o;
4277
4217
  var c = this._tileCoordsToKey(s), l = this._tiles[c];
4278
4218
  return l && l.active ? (l.retain = !0, !0) : (l && l.loaded && (l.retain = !0), o > r && this._retainParent(i, a, o, r));
4279
4219
  },
4280
4220
  _retainChildren: function(e, t, n, r) {
4281
4221
  for (var i = 2 * e; i < 2 * e + 2; i++) for (var a = 2 * t; a < 2 * t + 2; a++) {
4282
- var o = new D(i, a);
4222
+ var o = new E(i, a);
4283
4223
  o.z = n + 1;
4284
4224
  var s = this._tileCoordsToKey(o), c = this._tiles[s];
4285
- if (c && c.active) {
4286
- c.retain = !0;
4287
- continue;
4288
- }
4289
- c && c.loaded && (c.retain = !0), n + 1 < r && this._retainChildren(i, a, n + 1, r);
4225
+ c && c.active ? c.retain = !0 : (c && c.loaded && (c.retain = !0), n + 1 < r && this._retainChildren(i, a, n + 1, r));
4290
4226
  }
4291
4227
  },
4292
4228
  _resetView: function(e) {
@@ -4311,14 +4247,14 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4311
4247
  },
4312
4248
  _setZoomTransform: function(e, t, n) {
4313
4249
  var r = this._map.getZoomScale(n, e.zoom), i = e.origin.multiplyBy(r).subtract(this._map._getNewPixelOrigin(t, n)).round();
4314
- H.any3d ? Ot(e.el, i, r) : q(e.el, i);
4250
+ V.any3d ? Ot(e.el, i, r) : q(e.el, i);
4315
4251
  },
4316
4252
  _resetGrid: function() {
4317
4253
  var e = this._map, t = e.options.crs, n = this._tileSize = this.getTileSize(), r = this._tileZoom, i = this._map.getPixelWorldBounds(this._tileZoom);
4318
4254
  i && (this._globalTileRange = this._pxBoundsToTileRange(i)), this._wrapX = t.wrapLng && !this.options.noWrap && [Math.floor(e.project([0, t.wrapLng[0]], r).x / n.x), Math.ceil(e.project([0, t.wrapLng[1]], r).x / n.y)], this._wrapY = t.wrapLat && !this.options.noWrap && [Math.floor(e.project([t.wrapLat[0], 0], r).y / n.x), Math.ceil(e.project([t.wrapLat[1], 0], r).y / n.y)];
4319
4255
  },
4320
4256
  _onMoveEnd: function() {
4321
- !this._map || this._map._animatingZoom || this._update();
4257
+ this._map && !this._map._animatingZoom && this._update();
4322
4258
  },
4323
4259
  _getTiledPixelBounds: function(e) {
4324
4260
  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);
@@ -4333,26 +4269,25 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4333
4269
  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
4270
  for (var l in this._tiles) {
4335
4271
  var u = this._tiles[l].coords;
4336
- (u.z !== this._tileZoom || !c.contains(new D(u.x, u.y))) && (this._tiles[l].current = !1);
4272
+ u.z === this._tileZoom && c.contains(new E(u.x, u.y)) || (this._tiles[l].current = !1);
4337
4273
  }
4338
- if (Math.abs(n - this._tileZoom) > 1) {
4339
- this._setView(e, n);
4340
- return;
4341
- }
4342
- for (var d = i.min.y; d <= i.max.y; d++) for (var f = i.min.x; f <= i.max.x; f++) {
4343
- var p = new D(f, d);
4344
- if (p.z = this._tileZoom, this._isValidTile(p)) {
4345
- var m = this._tiles[this._tileCoordsToKey(p)];
4346
- m ? m.current = !0 : o.push(p);
4274
+ if (Math.abs(n - this._tileZoom) > 1) this._setView(e, n);
4275
+ else {
4276
+ for (var d = i.min.y; d <= i.max.y; d++) for (var f = i.min.x; f <= i.max.x; f++) {
4277
+ var p = new E(f, d);
4278
+ if (p.z = this._tileZoom, this._isValidTile(p)) {
4279
+ var m = this._tiles[this._tileCoordsToKey(p)];
4280
+ m ? m.current = !0 : o.push(p);
4281
+ }
4282
+ }
4283
+ if (o.sort(function(e, t) {
4284
+ return e.distanceTo(a) - t.distanceTo(a);
4285
+ }), o.length !== 0) {
4286
+ this._loading || (this._loading = !0, this.fire("loading"));
4287
+ var h = document.createDocumentFragment();
4288
+ for (f = 0; f < o.length; f++) this._addTile(o[f], h);
4289
+ this._level.el.appendChild(h);
4347
4290
  }
4348
- }
4349
- if (o.sort(function(e, t) {
4350
- return e.distanceTo(a) - t.distanceTo(a);
4351
- }), o.length !== 0) {
4352
- this._loading || (this._loading = !0, this.fire("loading"));
4353
- var h = document.createDocumentFragment();
4354
- for (f = 0; f < o.length; f++) this._addTile(o[f], h);
4355
- this._level.el.appendChild(h);
4356
4291
  }
4357
4292
  }
4358
4293
  }
@@ -4382,7 +4317,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4382
4317
  return e.x + ":" + e.y + ":" + e.z;
4383
4318
  },
4384
4319
  _keyToTileCoords: function(e) {
4385
- var t = e.split(":"), n = new D(+t[0], +t[1]);
4320
+ var t = e.split(":"), n = new E(+t[0], +t[1]);
4386
4321
  return n.z = +t[2], n;
4387
4322
  },
4388
4323
  _removeTile: function(e) {
@@ -4395,7 +4330,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4395
4330
  _initTile: function(e) {
4396
4331
  G(e, "leaflet-tile");
4397
4332
  var t = this.getTileSize();
4398
- e.style.width = t.x + "px", e.style.height = t.y + "px", e.onselectstart = l, e.onmousemove = l, H.ielt9 && this.options.opacity < 1 && Tt(e, this.options.opacity);
4333
+ e.style.width = t.x + "px", e.style.height = t.y + "px", e.onselectstart = l, e.onmousemove = l, V.ielt9 && this.options.opacity < 1 && Tt(e, this.options.opacity);
4399
4334
  },
4400
4335
  _addTile: function(e, t) {
4401
4336
  var n = this._getTilePos(e), r = this._tileCoordsToKey(e), a = this.createTile(this._wrapCoords(e), i(this._tileReady, this, e));
@@ -4418,13 +4353,13 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4418
4353
  n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (Tt(n.el, 0), S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this)) : (n.active = !0, this._pruneTiles()), t || (G(n.el, "leaflet-tile-loaded"), this.fire("tileload", {
4419
4354
  tile: n.el,
4420
4355
  coords: e
4421
- })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), H.ielt9 || !this._map._fadeAnimated ? x(this._pruneTiles, this) : setTimeout(i(this._pruneTiles, this), 250)));
4356
+ })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), V.ielt9 || !this._map._fadeAnimated ? x(this._pruneTiles, this) : setTimeout(i(this._pruneTiles, this), 250)));
4422
4357
  },
4423
4358
  _getTilePos: function(e) {
4424
4359
  return e.scaleBy(this.getTileSize()).subtract(this._level.origin);
4425
4360
  },
4426
4361
  _wrapCoords: function(e) {
4427
- var t = new D(this._wrapX ? c(e.x, this._wrapX) : e.x, this._wrapY ? c(e.y, this._wrapY) : e.y);
4362
+ var t = new E(this._wrapX ? c(e.x, this._wrapX) : e.x, this._wrapY ? c(e.y, this._wrapY) : e.y);
4428
4363
  return t.z = e.z, t;
4429
4364
  },
4430
4365
  _pxBoundsToTileRange: function(e) {
@@ -4453,7 +4388,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4453
4388
  referrerPolicy: !1
4454
4389
  },
4455
4390
  initialize: function(e, t) {
4456
- this._url = e, t = p(this, t), t.detectRetina && H.retina && t.maxZoom > 0 ? (t.tileSize = Math.floor(t.tileSize / 2), t.zoomReverse ? (t.zoomOffset--, t.minZoom = Math.min(t.maxZoom, t.minZoom + 1)) : (t.zoomOffset++, t.maxZoom = Math.max(t.minZoom, t.maxZoom - 1)), t.minZoom = Math.max(0, t.minZoom)) : t.zoomReverse ? t.minZoom = Math.min(t.maxZoom, t.minZoom) : t.maxZoom = Math.max(t.minZoom, t.maxZoom), typeof t.subdomains == "string" && (t.subdomains = t.subdomains.split("")), this.on("tileunload", this._onTileRemove);
4391
+ this._url = e, t = p(this, t), t.detectRetina && V.retina && t.maxZoom > 0 ? (t.tileSize = Math.floor(t.tileSize / 2), t.zoomReverse ? (t.zoomOffset--, t.minZoom = Math.min(t.maxZoom, t.minZoom + 1)) : (t.zoomOffset++, t.maxZoom = Math.max(t.minZoom, t.maxZoom - 1)), t.minZoom = Math.max(0, t.minZoom)) : t.zoomReverse ? t.minZoom = Math.min(t.maxZoom, t.minZoom) : t.maxZoom = Math.max(t.minZoom, t.maxZoom), typeof t.subdomains == "string" && (t.subdomains = t.subdomains.split("")), this.on("tileunload", this._onTileRemove);
4457
4392
  },
4458
4393
  setUrl: function(e, t) {
4459
4394
  return this._url === e && t === void 0 && (t = !0), this._url = e, t || this.redraw(), this;
@@ -4464,7 +4399,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4464
4399
  },
4465
4400
  getTileUrl: function(e) {
4466
4401
  var t = {
4467
- r: H.retina ? "@2x" : "",
4402
+ r: V.retina ? "@2x" : "",
4468
4403
  s: this._getSubdomain(e),
4469
4404
  x: e.x,
4470
4405
  y: e.y,
@@ -4477,7 +4412,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4477
4412
  return g(this._url, n(t, this.options));
4478
4413
  },
4479
4414
  _tileOnLoad: function(e, t) {
4480
- H.ielt9 ? setTimeout(i(e, this, null, t), 0) : e(null, t);
4415
+ V.ielt9 ? setTimeout(i(e, this, null, t), 0) : e(null, t);
4481
4416
  },
4482
4417
  _tileOnError: function(e, t, n) {
4483
4418
  var r = this.options.errorTileUrl;
@@ -4497,7 +4432,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4497
4432
  _abortLoading: function() {
4498
4433
  var e, t;
4499
4434
  for (e in this._tiles) if (this._tiles[e].coords.z !== this._tileZoom && (t = this._tiles[e].el, t.onload = l, t.onerror = l, !t.complete)) {
4500
- t.src = te;
4435
+ t.src = v;
4501
4436
  var n = this._tiles[e].coords;
4502
4437
  W(t), delete this._tiles[e], this.fire("tileabort", {
4503
4438
  tile: t,
@@ -4507,10 +4442,10 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4507
4442
  },
4508
4443
  _removeTile: function(e) {
4509
4444
  var t = this._tiles[e];
4510
- if (t) return t.el.setAttribute("src", te), Ir.prototype._removeTile.call(this, e);
4445
+ if (t) return t.el.setAttribute("src", v), Ir.prototype._removeTile.call(this, e);
4511
4446
  },
4512
4447
  _tileReady: function(e, t, n) {
4513
- if (!(!this._map || n && n.getAttribute("src") === te)) return Ir.prototype._tileReady.call(this, e, t, n);
4448
+ if (!(!this._map || n && n.getAttribute("src") === v)) return Ir.prototype._tileReady.call(this, e, t, n);
4514
4449
  }
4515
4450
  });
4516
4451
  function zr(e, t) {
@@ -4535,7 +4470,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4535
4470
  var r = n({}, this.defaultWmsParams);
4536
4471
  for (var i in t) i in this.options || (r[i] = t[i]);
4537
4472
  t = p(this, t);
4538
- var a = t.detectRetina && H.retina ? 2 : 1, o = this.getTileSize();
4473
+ var a = t.detectRetina && V.retina ? 2 : 1, o = this.getTileSize();
4539
4474
  r.width = o.x * a, r.height = o.y * a, this.wmsParams = r;
4540
4475
  },
4541
4476
  onAdd: function(e) {
@@ -4593,7 +4528,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4593
4528
  },
4594
4529
  _updateTransform: function(e, t) {
4595
4530
  var n = this._map.getZoomScale(t, this._zoom), r = this._map.getSize().multiplyBy(.5 + this.options.padding), i = this._map.project(this._center, t), a = r.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(e, t));
4596
- H.any3d ? Ot(this._container, a, n) : q(this._container, a);
4531
+ V.any3d ? Ot(this._container, a, n) : q(this._container, a);
4597
4532
  },
4598
4533
  _reset: function() {
4599
4534
  for (var e in this._update(), this._updateTransform(this._center, this._zoom), this._layers) this._layers[e]._reset();
@@ -4637,8 +4572,8 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4637
4572
  _update: function() {
4638
4573
  if (!(this._map._animatingZoom && this._bounds)) {
4639
4574
  Hr.prototype._update.call(this);
4640
- var e = this._bounds, t = this._container, n = e.getSize(), r = H.retina ? 2 : 1;
4641
- q(t, e.min), t.width = r * n.x, t.height = r * n.y, t.style.width = n.x + "px", t.style.height = n.y + "px", H.retina && this._ctx.scale(2, 2), this._ctx.translate(-e.min.x, -e.min.y), this.fire("update");
4575
+ var e = this._bounds, t = this._container, n = e.getSize(), r = V.retina ? 2 : 1;
4576
+ q(t, e.min), t.width = r * n.x, t.height = r * n.y, t.style.width = n.x + "px", t.style.height = n.y + "px", V.retina && this._ctx.scale(2, 2), this._ctx.translate(-e.min.x, -e.min.y), this.fire("update");
4642
4577
  }
4643
4578
  },
4644
4579
  _reset: function() {
@@ -4668,8 +4603,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4668
4603
  },
4669
4604
  _updateDashArray: function(e) {
4670
4605
  if (typeof e.options.dashArray == "string") {
4671
- var t = e.options.dashArray.split(/[, ]+/), n = [], r, i;
4672
- for (i = 0; i < t.length; i++) {
4606
+ for (var t = e.options.dashArray.split(/[, ]+/), n = [], r, i = 0; i < t.length; i++) {
4673
4607
  if (r = Number(t[i]), isNaN(r)) return;
4674
4608
  n.push(r);
4675
4609
  }
@@ -4718,7 +4652,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4718
4652
  }
4719
4653
  },
4720
4654
  _updateCircle: function(e) {
4721
- if (!(!this._drawing || e._empty())) {
4655
+ if (this._drawing && !e._empty()) {
4722
4656
  var t = e._point, n = this._ctx, r = Math.max(Math.round(e._radius), 1), i = (Math.max(Math.round(e._radiusY), 1) || r) / r;
4723
4657
  i !== 1 && (n.save(), n.scale(1, i)), n.beginPath(), n.arc(t.x, t.y / i, r, 0, Math.PI * 2, !1), i !== 1 && n.restore(), this._fillStroke(n, e);
4724
4658
  }
@@ -4772,7 +4706,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4772
4706
  }
4773
4707
  });
4774
4708
  function Wr(e) {
4775
- return H.canvas ? new Ur(e) : null;
4709
+ return V.canvas ? new Ur(e) : null;
4776
4710
  }
4777
4711
  var Gr = (function() {
4778
4712
  try {
@@ -4819,7 +4753,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4819
4753
  _bringToBack: function(e) {
4820
4754
  xt(e._container);
4821
4755
  }
4822
- }, qr = H.vml ? Gr : ue, Jr = Hr.extend({
4756
+ }, qr = V.vml ? Gr : ue, Jr = Hr.extend({
4823
4757
  _initContainer: function() {
4824
4758
  this._container = qr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = qr("g"), this._container.appendChild(this._rootGroup);
4825
4759
  },
@@ -4830,7 +4764,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4830
4764
  if (!(this._map._animatingZoom && this._bounds)) {
4831
4765
  Hr.prototype._update.call(this);
4832
4766
  var e = this._bounds, t = e.getSize(), n = this._container;
4833
- (!this._svgSize || !this._svgSize.equals(t)) && (this._svgSize = t, n.setAttribute("width", t.x), n.setAttribute("height", t.y)), q(n, e.min), n.setAttribute("viewBox", [
4767
+ this._svgSize && this._svgSize.equals(t) || (this._svgSize = t, n.setAttribute("width", t.x), n.setAttribute("height", t.y)), q(n, e.min), n.setAttribute("viewBox", [
4834
4768
  e.min.x,
4835
4769
  e.min.y,
4836
4770
  t.x,
@@ -4872,9 +4806,9 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
4872
4806
  xt(e._path);
4873
4807
  }
4874
4808
  });
4875
- H.vml && Jr.include(Kr);
4809
+ V.vml && Jr.include(Kr);
4876
4810
  function Yr(e) {
4877
- return H.svg || H.vml ? new Jr(e) : null;
4811
+ return V.svg || V.vml ? new Jr(e) : null;
4878
4812
  }
4879
4813
  Z.include({
4880
4814
  getRenderer: function(e) {
@@ -5034,7 +4968,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5034
4968
  return e - (e - t) * this._viscosity;
5035
4969
  },
5036
4970
  _onPreDragLimit: function() {
5037
- if (!(!this._viscosity || !this._offsetLimit)) {
4971
+ if (this._viscosity && this._offsetLimit) {
5038
4972
  var e = this._draggable._newPos.subtract(this._draggable._startPos), t = this._offsetLimit;
5039
4973
  e.x < t.min.x && (e.x = this._viscousLimit(e.x, t.min.x)), e.y < t.min.y && (e.y = this._viscousLimit(e.y, t.min.y)), e.x > t.max.x && (e.x = this._viscousLimit(e.x, t.max.x)), e.y > t.max.y && (e.y = this._viscousLimit(e.y, t.max.y)), this._draggable._newPos = this._draggable._startPos.add(e);
5040
4974
  }
@@ -5120,15 +5054,13 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5120
5054
  this._focused = !1, this._map.fire("blur");
5121
5055
  },
5122
5056
  _setPanDelta: function(e) {
5123
- var t = this._panKeys = {}, n = this.keyCodes, r, i;
5124
- for (r = 0, i = n.left.length; r < i; r++) t[n.left[r]] = [-1 * e, 0];
5057
+ for (var t = this._panKeys = {}, n = this.keyCodes, r = 0, i = n.left.length; r < i; r++) t[n.left[r]] = [-1 * e, 0];
5125
5058
  for (r = 0, i = n.right.length; r < i; r++) t[n.right[r]] = [e, 0];
5126
5059
  for (r = 0, i = n.down.length; r < i; r++) t[n.down[r]] = [0, e];
5127
5060
  for (r = 0, i = n.up.length; r < i; r++) t[n.up[r]] = [0, -1 * e];
5128
5061
  },
5129
5062
  _setZoomDelta: function(e) {
5130
- var t = this._zoomKeys = {}, n = this.keyCodes, r, i;
5131
- for (r = 0, i = n.zoomIn.length; r < i; r++) t[n.zoomIn[r]] = e;
5063
+ for (var t = this._zoomKeys = {}, n = this.keyCodes, r = 0, i = n.zoomIn.length; r < i; r++) t[n.zoomIn[r]] = e;
5132
5064
  for (r = 0, i = n.zoomOut.length; r < i; r++) t[n.zoomOut[r]] = -e;
5133
5065
  },
5134
5066
  _addHooks: function() {
@@ -5182,7 +5114,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5182
5114
  Z.addInitHook("addHandler", "scrollWheelZoom", ni);
5183
5115
  var $ = 600;
5184
5116
  Z.mergeOptions({
5185
- tapHold: H.touchNative && H.safari && H.mobile,
5117
+ tapHold: V.touchNative && V.safari && V.mobile,
5186
5118
  tapTolerance: 15
5187
5119
  });
5188
5120
  var ri = Q.extend({
@@ -5195,7 +5127,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5195
5127
  _onDown: function(e) {
5196
5128
  if (clearTimeout(this._holdTimeout), e.touches.length === 1) {
5197
5129
  var t = e.touches[0];
5198
- this._startPos = this._newPos = new D(t.clientX, t.clientY), this._holdTimeout = setTimeout(i(function() {
5130
+ this._startPos = this._newPos = new E(t.clientX, t.clientY), this._holdTimeout = setTimeout(i(function() {
5199
5131
  this._cancel(), this._isTapValid() && (J(document, "touchend", X), J(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", t));
5200
5132
  }, this), $), J(document, "touchend touchcancel contextmenu", this._cancel, this), J(document, "touchmove", this._onMove, this);
5201
5133
  }
@@ -5208,7 +5140,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5208
5140
  },
5209
5141
  _onMove: function(e) {
5210
5142
  var t = e.touches[0];
5211
- this._newPos = new D(t.clientX, t.clientY);
5143
+ this._newPos = new E(t.clientX, t.clientY);
5212
5144
  },
5213
5145
  _isTapValid: function() {
5214
5146
  return this._newPos.distanceTo(this._startPos) <= this._map.options.tapTolerance;
@@ -5227,7 +5159,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5227
5159
  }
5228
5160
  });
5229
5161
  Z.addInitHook("addHandler", "tapHold", ri), Z.mergeOptions({
5230
- touchZoom: H.touch,
5162
+ touchZoom: V.touch,
5231
5163
  bounceAtZoomLimits: !0
5232
5164
  });
5233
5165
  var ii = Q.extend({
@@ -5245,7 +5177,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5245
5177
  }
5246
5178
  },
5247
5179
  _onTouchMove: function(e) {
5248
- if (!(!e.touches || e.touches.length !== 2 || !this._zooming)) {
5180
+ if (e.touches && e.touches.length === 2 && this._zooming) {
5249
5181
  var t = this._map, n = t.mouseEventToContainerPoint(e.touches[0]), r = t.mouseEventToContainerPoint(e.touches[1]), a = n.distanceTo(r) / this._startDist;
5250
5182
  if (this._zoom = t.getScaleZoom(a, this._startZoom), !t.options.bounceAtZoomLimits && (this._zoom < t.getMinZoom() && a < 1 || this._zoom > t.getMaxZoom() && a > 1) && (this._zoom = t._limitZoom(this._zoom)), t.options.touchZoom === "center") {
5251
5183
  if (this._center = this._startLatLng, a === 1) return;
@@ -5263,24 +5195,20 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5263
5195
  }
5264
5196
  },
5265
5197
  _onTouchEnd: function() {
5266
- if (!this._moved || !this._zooming) {
5267
- this._zooming = !1;
5268
- return;
5269
- }
5270
- this._zooming = !1, S(this._animRequest), Y(document, "touchmove", this._onTouchMove, this), Y(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
5198
+ !this._moved || !this._zooming ? this._zooming = !1 : (this._zooming = !1, S(this._animRequest), Y(document, "touchmove", this._onTouchMove, this), Y(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom)));
5271
5199
  }
5272
5200
  });
5273
- Z.addInitHook("addHandler", "touchZoom", ii), Z.BoxZoom = Qr, Z.DoubleClickZoom = $r, Z.Drag = ei, Z.Keyboard = ti, Z.ScrollWheelZoom = ni, Z.TapHold = ri, Z.TouchZoom = ii, e.Bounds = k, e.Browser = H, e.CRS = F, e.Canvas = Ur, e.Circle = ar, e.CircleMarker = rr, e.Class = ie, e.Control = sn, e.DivIcon = Pr, e.DivOverlay = kr, e.DomEvent = rn, e.DomUtil = Ht, e.Draggable = vn, e.Evented = E, e.FeatureGroup = Jn, e.GeoJSON = dr, e.GridLayer = Ir, e.Handler = Q, e.Icon = Xn, e.ImageOverlay = Cr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Gn, e.LayerGroup = Kn, e.LineUtil = Rn, e.Map = Z, e.Marker = er, e.Mixin = gn, e.Path = nr, e.Point = D, e.PolyUtil = Sn, e.Polygon = lr, e.Polyline = sr, e.Popup = Ar, e.PosAnimation = an, e.Projection = Vn, e.Rectangle = Xr, e.Renderer = Hr, e.SVG = Jr, e.SVGOverlay = Dr, e.TileLayer = Rr, e.Tooltip = Mr, e.Transformation = oe, e.Util = C, e.VideoOverlay = Tr, e.bind = i, e.bounds = A, e.canvas = Wr, e.circle = or, e.circleMarker = ir, e.control = cn, e.divIcon = Fr, e.extend = n, e.featureGroup = Yn, e.geoJSON = xr, e.geoJson = Sr, e.gridLayer = Lr, e.icon = Zn, e.imageOverlay = wr, e.latLng = P, e.latLngBounds = M, e.layerGroup = qn, e.map = on, e.marker = tr, e.point = O, e.polygon = ur, e.polyline = cr, e.popup = jr, e.rectangle = Zr, e.setOptions = p, e.stamp = o, e.svg = Yr, e.svgOverlay = Or, e.tileLayer = zr, e.tooltip = Nr, e.transformation = se, e.version = t, e.videoOverlay = Er;
5201
+ Z.addInitHook("addHandler", "touchZoom", ii), Z.BoxZoom = Qr, Z.DoubleClickZoom = $r, Z.Drag = ei, Z.Keyboard = ti, Z.ScrollWheelZoom = ni, Z.TapHold = ri, Z.TouchZoom = ii, e.Bounds = k, e.Browser = V, e.CRS = F, e.Canvas = Ur, e.Circle = ar, e.CircleMarker = rr, e.Class = ae, e.Control = sn, e.DivIcon = Pr, e.DivOverlay = kr, e.DomEvent = rn, e.DomUtil = Ht, e.Draggable = vn, e.Evented = T, e.FeatureGroup = Jn, e.GeoJSON = dr, e.GridLayer = Ir, e.Handler = Q, e.Icon = Xn, e.ImageOverlay = Cr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Gn, e.LayerGroup = Kn, e.LineUtil = Rn, e.Map = Z, e.Marker = er, e.Mixin = gn, e.Path = nr, e.Point = E, e.PolyUtil = Sn, e.Polygon = lr, e.Polyline = sr, e.Popup = Ar, e.PosAnimation = an, e.Projection = Vn, e.Rectangle = Xr, e.Renderer = Hr, e.SVG = Jr, e.SVGOverlay = Dr, e.TileLayer = Rr, e.Tooltip = Mr, e.Transformation = oe, e.Util = ie, e.VideoOverlay = Tr, e.bind = i, e.bounds = A, e.canvas = Wr, e.circle = or, e.circleMarker = ir, e.control = cn, e.divIcon = Fr, e.extend = n, e.featureGroup = Yn, e.geoJSON = xr, e.geoJson = Sr, e.gridLayer = Lr, e.icon = Zn, e.imageOverlay = wr, e.latLng = P, e.latLngBounds = M, e.layerGroup = qn, e.map = on, e.marker = tr, e.point = O, e.polygon = ur, e.polyline = cr, e.popup = jr, e.rectangle = Zr, e.setOptions = p, e.stamp = o, e.svg = Yr, e.svgOverlay = Or, e.tileLayer = zr, e.tooltip = Nr, e.transformation = se, e.version = t, e.videoOverlay = Er;
5274
5202
  var ai = window.L;
5275
5203
  e.noConflict = function() {
5276
5204
  return window.L = ai, this;
5277
5205
  }, window.L = e;
5278
5206
  }));
5279
5207
  })))(), 1);
5280
- (/* @__PURE__ */ t(((e, t) => {
5208
+ (/* @__PURE__ */ t(((e, t, n) => {
5281
5209
  (function(n, r) {
5282
5210
  typeof e == "object" && t !== void 0 ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (n ||= self, r((n.Leaflet = n.Leaflet || {}, n.Leaflet.markercluster = {})));
5283
- })(e, function(e) {
5211
+ })(n, function(e) {
5284
5212
  var t = L.MarkerClusterGroup = L.FeatureGroup.extend({
5285
5213
  options: {
5286
5214
  maxClusterRadius: 80,
@@ -5328,7 +5256,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5328
5256
  return this._currentShownBounds.contains(t.getLatLng()) && (this.options.animateAddingMarkers ? this._animationAddLayer(e, t) : this._animationAddLayerNonAnimated(e, t)), this;
5329
5257
  },
5330
5258
  removeLayer: function(e) {
5331
- return e instanceof L.LayerGroup ? this.removeLayers([e]) : e.getLatLng ? this._map ? e.__parent ? (this._unspiderfy && (this._unspiderfy(), this._unspiderfyLayer(e)), this._removeLayer(e, !0), this.fire("layerremove", { layer: e }), this._topClusterLevel._recalculateBounds(), this._refreshClustersIcons(), e.off(this._childMarkerEventHandlers, this), this._featureGroup.hasLayer(e) && (this._featureGroup.removeLayer(e), e.clusterShow && e.clusterShow()), this) : this : (!this._arraySplice(this._needsClustering, e) && this.hasLayer(e) && this._needsRemoving.push({
5259
+ return e instanceof L.LayerGroup ? this.removeLayers([e]) : e.getLatLng ? this._map ? (e.__parent && (this._unspiderfy && (this._unspiderfy(), this._unspiderfyLayer(e)), this._removeLayer(e, !0), this.fire("layerremove", { layer: e }), this._topClusterLevel._recalculateBounds(), this._refreshClustersIcons(), e.off(this._childMarkerEventHandlers, this), this._featureGroup.hasLayer(e) && (this._featureGroup.removeLayer(e), e.clusterShow && e.clusterShow())), this) : (!this._arraySplice(this._needsClustering, e) && this.hasLayer(e) && this._needsRemoving.push({
5332
5260
  layer: e,
5333
5261
  latlng: e._latlng
5334
5262
  }), this.fire("layerremove", { layer: e }), this) : (this._nonPointGroup.removeLayer(e), this.fire("layerremove", { layer: e }), this);
@@ -5339,73 +5267,33 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5339
5267
  if (this._map) {
5340
5268
  var d = (/* @__PURE__ */ new Date()).getTime(), f = L.bind(function() {
5341
5269
  var p = (/* @__PURE__ */ new Date()).getTime();
5342
- for (this._map && this._unspiderfy && this._unspiderfy(); c < s && !(i && c % 200 == 0 && (/* @__PURE__ */ new Date()).getTime() - p > a); c++) {
5343
- if (u = e[c], u instanceof L.LayerGroup) {
5344
- l &&= (e = e.slice(), !1), this._extractNonGroupLayers(u, e), s = e.length;
5345
- continue;
5346
- }
5347
- if (!u.getLatLng) {
5348
- r.addLayer(u), t || this.fire("layeradd", { layer: u });
5349
- continue;
5350
- }
5351
- if (!this.hasLayer(u) && (this._addLayer(u, this._maxZoom), t || this.fire("layeradd", { layer: u }), u.__parent && u.__parent.getChildCount() === 2)) {
5352
- var m = u.__parent.getAllChildMarkers(), h = m[0] === u ? m[1] : m[0];
5353
- n.removeLayer(h);
5354
- }
5270
+ for (this._map && this._unspiderfy && this._unspiderfy(); c < s && !(i && c % 200 == 0 && (/* @__PURE__ */ new Date()).getTime() - p > a); c++) if (u = e[c], u instanceof L.LayerGroup) l &&= (e = e.slice(), !1), this._extractNonGroupLayers(u, e), s = e.length;
5271
+ else if (!u.getLatLng) r.addLayer(u), t || this.fire("layeradd", { layer: u });
5272
+ else if (!this.hasLayer(u) && (this._addLayer(u, this._maxZoom), t || this.fire("layeradd", { layer: u }), u.__parent && u.__parent.getChildCount() === 2)) {
5273
+ var m = u.__parent.getAllChildMarkers(), h = m[0] === u ? m[1] : m[0];
5274
+ n.removeLayer(h);
5355
5275
  }
5356
5276
  o && o(c, s, (/* @__PURE__ */ new Date()).getTime() - d), c === s ? (this._topClusterLevel._recalculateBounds(), this._refreshClustersIcons(), this._topClusterLevel._recursivelyAddChildrenToMap(null, this._zoom, this._currentShownBounds)) : setTimeout(f, this.options.chunkDelay);
5357
5277
  }, this);
5358
5278
  f();
5359
- } else for (var p = this._needsClustering; c < s; c++) {
5360
- if (u = e[c], u instanceof L.LayerGroup) {
5361
- l &&= (e = e.slice(), !1), this._extractNonGroupLayers(u, e), s = e.length;
5362
- continue;
5363
- }
5364
- if (!u.getLatLng) {
5365
- r.addLayer(u);
5366
- continue;
5367
- }
5368
- this.hasLayer(u) || p.push(u);
5369
- }
5279
+ } else for (var p = this._needsClustering; c < s; c++) u = e[c], u instanceof L.LayerGroup ? (l &&= (e = e.slice(), !1), this._extractNonGroupLayers(u, e), s = e.length) : u.getLatLng ? this.hasLayer(u) || p.push(u) : r.addLayer(u);
5370
5280
  return this;
5371
5281
  },
5372
5282
  removeLayers: function(e) {
5373
5283
  var t, n, r = e.length, i = this._featureGroup, a = this._nonPointGroup, o = !0;
5374
5284
  if (!this._map) {
5375
- for (t = 0; t < r; t++) {
5376
- if (n = e[t], n instanceof L.LayerGroup) {
5377
- o &&= (e = e.slice(), !1), this._extractNonGroupLayers(n, e), r = e.length;
5378
- continue;
5379
- }
5380
- this._arraySplice(this._needsClustering, n), a.removeLayer(n), this.hasLayer(n) && this._needsRemoving.push({
5381
- layer: n,
5382
- latlng: n._latlng
5383
- }), this.fire("layerremove", { layer: n });
5384
- }
5285
+ for (t = 0; t < r; t++) n = e[t], n instanceof L.LayerGroup ? (o &&= (e = e.slice(), !1), this._extractNonGroupLayers(n, e), r = e.length) : (this._arraySplice(this._needsClustering, n), a.removeLayer(n), this.hasLayer(n) && this._needsRemoving.push({
5286
+ layer: n,
5287
+ latlng: n._latlng
5288
+ }), this.fire("layerremove", { layer: n }));
5385
5289
  return this;
5386
5290
  }
5387
5291
  if (this._unspiderfy) {
5388
5292
  this._unspiderfy();
5389
5293
  var s = e.slice(), c = r;
5390
- for (t = 0; t < c; t++) {
5391
- if (n = s[t], n instanceof L.LayerGroup) {
5392
- this._extractNonGroupLayers(n, s), c = s.length;
5393
- continue;
5394
- }
5395
- this._unspiderfyLayer(n);
5396
- }
5397
- }
5398
- for (t = 0; t < r; t++) {
5399
- if (n = e[t], n instanceof L.LayerGroup) {
5400
- o &&= (e = e.slice(), !1), this._extractNonGroupLayers(n, e), r = e.length;
5401
- continue;
5402
- }
5403
- if (!n.__parent) {
5404
- a.removeLayer(n), this.fire("layerremove", { layer: n });
5405
- continue;
5406
- }
5407
- this._removeLayer(n, !0, !0), this.fire("layerremove", { layer: n }), i.hasLayer(n) && (i.removeLayer(n), n.clusterShow && n.clusterShow());
5294
+ for (t = 0; t < c; t++) n = s[t], n instanceof L.LayerGroup ? (this._extractNonGroupLayers(n, s), c = s.length) : this._unspiderfyLayer(n);
5408
5295
  }
5296
+ for (t = 0; t < r; t++) n = e[t], n instanceof L.LayerGroup ? (o &&= (e = e.slice(), !1), this._extractNonGroupLayers(n, e), r = e.length) : n.__parent ? (this._removeLayer(n, !0, !0), this.fire("layerremove", { layer: n }), i.hasLayer(n) && (i.removeLayer(n), n.clusterShow && n.clusterShow())) : (a.removeLayer(n), this.fire("layerremove", { layer: n }));
5409
5297
  return this._topClusterLevel._recalculateBounds(), this._refreshClustersIcons(), this._topClusterLevel._recursivelyAddChildrenToMap(null, this._zoom, this._currentShownBounds), this;
5410
5298
  },
5411
5299
  clearLayers: function() {
@@ -5621,13 +5509,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5621
5509
  },
5622
5510
  _extractNonGroupLayers: function(e, t) {
5623
5511
  var n = e.getLayers(), r = 0, i;
5624
- for (t ||= []; r < n.length; r++) {
5625
- if (i = n[r], i instanceof L.LayerGroup) {
5626
- this._extractNonGroupLayers(i, t);
5627
- continue;
5628
- }
5629
- t.push(i);
5630
- }
5512
+ for (t ||= []; r < n.length; r++) i = n[r], i instanceof L.LayerGroup ? this._extractNonGroupLayers(i, t) : t.push(i);
5631
5513
  return t;
5632
5514
  },
5633
5515
  _overrideMarkerIcon: function(e) {
@@ -5768,11 +5650,9 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5768
5650
  },
5769
5651
  _recursivelyAnimateChildrenIn: function(e, t, n) {
5770
5652
  this._recursively(e, this._group._map.getMinZoom(), n - 1, function(e) {
5771
- var n = e._markers, r, i;
5772
- for (r = n.length - 1; r >= 0; r--) i = n[r], i._icon && (i._setPos(t), i.clusterHide());
5653
+ for (var n = e._markers, r = n.length - 1, i; r >= 0; r--) i = n[r], i._icon && (i._setPos(t), i.clusterHide());
5773
5654
  }, function(e) {
5774
- var n = e._childClusters, r, i;
5775
- for (r = n.length - 1; r >= 0; r--) i = n[r], i._icon && (i._setPos(t), i.clusterHide());
5655
+ for (var n = e._childClusters, r = n.length - 1, i; r >= 0; r--) i = n[r], i._icon && (i._setPos(t), i.clusterHide());
5776
5656
  });
5777
5657
  },
5778
5658
  _recursivelyAnimateChildrenInAndAddSelfToMap: function(e, t, n, r) {
@@ -5809,9 +5689,9 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5809
5689
  _recursivelyRemoveChildrenFromMap: function(e, t, n, r) {
5810
5690
  var i, a;
5811
5691
  this._recursively(e, t - 1, n - 1, function(e) {
5812
- for (a = e._markers.length - 1; a >= 0; a--) i = e._markers[a], (!r || !r.contains(i._latlng)) && (e._group._featureGroup.removeLayer(i), i.clusterShow && i.clusterShow());
5692
+ for (a = e._markers.length - 1; a >= 0; a--) i = e._markers[a], r && r.contains(i._latlng) || (e._group._featureGroup.removeLayer(i), i.clusterShow && i.clusterShow());
5813
5693
  }, function(e) {
5814
- for (a = e._childClusters.length - 1; a >= 0; a--) i = e._childClusters[a], (!r || !r.contains(i._latlng)) && (e._group._featureGroup.removeLayer(i), i.clusterShow && i.clusterShow());
5694
+ for (a = e._childClusters.length - 1; a >= 0; a--) i = e._childClusters[a], r && r.contains(i._latlng) || (e._group._featureGroup.removeLayer(i), i.clusterShow && i.clusterShow());
5815
5695
  });
5816
5696
  },
5817
5697
  _recursively: function(e, t, n, r, i) {
@@ -5870,8 +5750,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5870
5750
  return (t[0].lng - t[1].lng) * (e.lat - t[0].lat) + n * (e.lng - t[0].lng);
5871
5751
  },
5872
5752
  findMostDistantPointFromBaseLine: function(e, t) {
5873
- var n = 0, r = null, i = [], a, o, s;
5874
- for (a = t.length - 1; a >= 0; a--) {
5753
+ for (var n = 0, r = null, i = [], a = t.length - 1, o, s; a >= 0; a--) {
5875
5754
  if (o = t[a], s = this.getDistant(o, e), s > 0) i.push(o);
5876
5755
  else continue;
5877
5756
  s > n && (n = s, r = o);
@@ -5886,8 +5765,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5886
5765
  return r.maxPoint ? (n = n.concat(this.buildConvexHull([e[0], r.maxPoint], r.newPoints)), n = n.concat(this.buildConvexHull([r.maxPoint, e[1]], r.newPoints)), n) : [e[0]];
5887
5766
  },
5888
5767
  getConvexHull: function(e) {
5889
- var t = !1, n = !1, r = !1, i = !1, a = null, o = null, s = null, c = null, l = null, u = null, d;
5890
- for (d = e.length - 1; d >= 0; d--) {
5768
+ for (var t = !1, n = !1, r = !1, i = !1, a = null, o = null, s = null, c = null, l = null, u = null, d = e.length - 1; d >= 0; d--) {
5891
5769
  var f = e[d];
5892
5770
  (t === !1 || f.lat > t) && (a = f, t = f.lat), (n === !1 || f.lat < n) && (o = f, n = f.lat), (r === !1 || f.lng > r) && (s = f, r = f.lng), (i === !1 || f.lng < i) && (c = f, i = f.lng);
5893
5771
  }
@@ -5895,8 +5773,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
5895
5773
  }
5896
5774
  };
5897
5775
  })(), L.MarkerCluster.include({ getConvexHull: function() {
5898
- var e = this.getAllChildMarkers(), t = [], n, r;
5899
- for (r = e.length - 1; r >= 0; r--) n = e[r].getLatLng(), t.push(n);
5776
+ for (var e = this.getAllChildMarkers(), t = [], n, r = e.length - 1; r >= 0; r--) n = e[r].getLatLng(), t.push(n);
5900
5777
  return L.QuickHull.getConvexHull(t);
5901
5778
  } }), L.MarkerCluster.include({
5902
5779
  _2PI: Math.PI * 2,
@@ -6017,7 +5894,7 @@ var G = /* @__PURE__ */ B(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]]
6017
5894
  } }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
6018
5895
  });
6019
5896
  })))();
6020
- var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", on = /*#__PURE__*/ B(/* @__PURE__ */ R({
5897
+ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", on = /*#__PURE__*/ Re(/* @__PURE__ */ R({
6021
5898
  __name: "Map",
6022
5899
  props: {
6023
5900
  modelValue: {},
@@ -6025,7 +5902,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6025
5902
  },
6026
5903
  emits: ["update:modelValue", "callback"],
6027
5904
  setup(e, { emit: t }) {
6028
- let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(he()), s = an.default.Util.extend(an.default.CRS.Simple, { transformation: new an.default.Transformation(1, 0, 1, 0) }), c = I(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = an.default.icon({
5905
+ let { t: r } = y(), i = t, a = e, { hotelMapImage: o } = S(De()), s = an.default.Util.extend(an.default.CRS.Simple, { transformation: new an.default.Transformation(1, 0, 1, 0) }), c = F(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = an.default.icon({
6029
5906
  iconUrl: Z,
6030
5907
  iconSize: [32, 37],
6031
5908
  iconAnchor: [16, 37]
@@ -6076,11 +5953,11 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6076
5953
  function ee(e) {
6077
5954
  isNaN(e) ? console.log("Invalid room ID selected:", e) : (h.value = e, i("callback"));
6078
5955
  }
6079
- return (e, t) => t[0] || (D(-1, !0), (t[0] = T("div", {
5956
+ return (e, t) => t[0] || (M(-1, !0), (t[0] = C("div", {
6080
5957
  ref_key: "mapContainer",
6081
5958
  ref: c,
6082
5959
  class: "konnectio-leaflet-map"
6083
- }, null, 512)).cacheIndex = 0, D(1), t[0]);
5960
+ }, null, 512)).cacheIndex = 0, M(1), t[0]);
6084
5961
  }
6085
5962
  }), [["__scopeId", "data-v-c36a3ba7"]]), sn = { style: {
6086
5963
  height: "100%",
@@ -6094,20 +5971,20 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6094
5971
  },
6095
5972
  emits: ["update:config"],
6096
5973
  setup(e, { emit: t }) {
6097
- let { t: i } = v(), a = I(NaN), o = n(() => !isNaN(a.value)), s = e, c = t;
6098
- function d() {
5974
+ let { t: r } = y(), i = F(NaN), o = n(() => !isNaN(i.value)), s = e, c = t;
5975
+ function l() {
6099
5976
  o.value && (c("update:config", {
6100
5977
  ...s.config,
6101
5978
  units: 1,
6102
- roomId: a.value
5979
+ roomId: i.value
6103
5980
  }), s.callback());
6104
5981
  }
6105
- return (t, n) => (b(), u(Ve, { title: r(i)("hotel.selectRoomOnMapTitle") }, {
6106
- default: S(() => [T("div", sn, [l(on, {
6107
- modelValue: a.value,
6108
- "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
5982
+ return (t, n) => (b(), d(xe, { title: a(r)("hotel.selectRoomOnMapTitle") }, {
5983
+ default: T(() => [C("div", sn, [u(on, {
5984
+ modelValue: i.value,
5985
+ "onUpdate:modelValue": n[0] ||= (e) => i.value = e,
6109
5986
  rooms: e.roomList,
6110
- onCallback: d
5987
+ onCallback: l
6111
5988
  }, null, 8, ["modelValue", "rooms"])])]),
6112
5989
  _: 1
6113
5990
  }, 8, ["title"]));
@@ -6124,7 +6001,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6124
6001
  }, mn = {
6125
6002
  key: 1,
6126
6003
  class: "konnectio-listing-units-body"
6127
- }, hn = /*#__PURE__*/ B(/* @__PURE__ */ R({
6004
+ }, hn = /*#__PURE__*/ Re(/* @__PURE__ */ R({
6128
6005
  __name: "Hotel",
6129
6006
  props: {
6130
6007
  room: {},
@@ -6132,25 +6009,25 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6132
6009
  callback: { type: Function }
6133
6010
  },
6134
6011
  setup(e) {
6135
- let t = I(!1);
6136
- function i() {
6012
+ let t = F(!1);
6013
+ function r() {
6137
6014
  t.value = !0;
6138
6015
  }
6139
- function o(e) {
6016
+ function i(e) {
6140
6017
  c.callback(e), t.value = !1;
6141
6018
  }
6142
- let { t: s } = v(), c = e, f = I([]);
6019
+ let { t: s } = y(), c = e, l = F([]);
6143
6020
  function p() {
6144
- let e = f.value.length;
6145
- le(e);
6021
+ let e = l.value.length;
6022
+ oe(e);
6146
6023
  }
6147
6024
  function _(e) {
6148
- f.value.splice(e, 1);
6025
+ l.value.splice(e, 1);
6149
6026
  }
6150
6027
  let ee = n(() => c.room.rates.map((e) => ({
6151
6028
  label: e.name,
6152
6029
  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: 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) => ({
6030
+ }))), { hideAvailableRoomAmount: v, autoSelectRateId: te, enableMultipleConfigurations: ne, hasSharedAddonSelection: re } = S(Ze()), { location: ie } = S(Qe()), { roomSelect: ae, isSearchOutdated: E } = S(De()), { addToCart: O, removeFromCart: k } = Pe(), 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, I = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
6154
6031
  value: e.index,
6155
6032
  price: e.totalPrice,
6156
6033
  adults: e.adultsCount,
@@ -6158,24 +6035,24 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6158
6035
  hasBreakfast: e.hasBreakfast
6159
6036
  })) || [], R = n(() => c.room.rates.length > 1);
6160
6037
  function z(e, t) {
6161
- f.value[e].config[0].id = c.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
6038
+ l.value[e].config[0].id = c.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
6162
6039
  }
6163
- function le(e = 0) {
6164
- R.value ? ne.value ? f.value[e] = {
6040
+ function oe(e = 0) {
6041
+ R.value ? te.value ? l.value[e] = {
6165
6042
  id: c.room.bestRateMatch || void 0,
6166
6043
  config: [{
6167
6044
  id: c.room.bestRateMatch && !isNaN(c.room.bestRateMatch) ? c.room.rates.find((e) => e.id === c.room.bestRateMatch)?.occupantRateIndex : NaN,
6168
6045
  units: 0,
6169
6046
  addons: []
6170
6047
  }]
6171
- } : f.value[e] = {
6048
+ } : l.value[e] = {
6172
6049
  id: void 0,
6173
6050
  config: [{
6174
6051
  id: c.room.rates[0].occupantRateIndex || NaN,
6175
6052
  units: 0,
6176
6053
  addons: []
6177
6054
  }]
6178
- } : f.value[e] = {
6055
+ } : l.value[e] = {
6179
6056
  id: c.room.rates[0].id,
6180
6057
  config: [{
6181
6058
  id: c.room.rates[0].occupantRateIndex || NaN,
@@ -6185,22 +6062,22 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6185
6062
  };
6186
6063
  }
6187
6064
  g(() => {
6188
- le();
6065
+ oe();
6189
6066
  });
6190
- let ue = n(() => JSON.parse(JSON.stringify(f.value)));
6191
- return ae(ue, (e, t) => {
6067
+ let se = n(() => JSON.parse(JSON.stringify(l.value)));
6068
+ return x(se, (e, t) => {
6192
6069
  t.length > 0 && e.forEach((n, r) => {
6193
6070
  t[r] && n.config.forEach((n, i) => {
6194
6071
  let a = n.units, o = t[r].config[i].units;
6195
6072
  if (a !== o) {
6196
6073
  if (a > o) {
6197
- let t = f.value[r].config[i].addons;
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({
6074
+ let t = l.value[r].config[i].addons;
6075
+ t.push(re.value(ie.value) ? t[0] ?? ke(c.room.rates.find((t) => t.id === e[r].id)?.addons) : ke(c.room.rates.find((t) => t.id === e[r].id)?.addons)), O({
6199
6076
  id: c.room.id,
6200
6077
  name: c.room.title,
6201
6078
  value: c.room.rates[r].rackRate
6202
6079
  });
6203
- } else f.value[r].config[i].addons.pop(), k({
6080
+ } else l.value[r].config[i].addons.pop(), k({
6204
6081
  id: c.room.id,
6205
6082
  name: c.room.title,
6206
6083
  value: c.room.rates[r].rackRate
@@ -6208,9 +6085,9 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6208
6085
  }
6209
6086
  });
6210
6087
  });
6211
- }, { deep: !0 }), ae(f, () => {
6212
- ie.value[c.room.id] = f.value;
6213
- }, { deep: !0 }), (n, c) => (b(), u(Ze, {
6088
+ }, { deep: !0 }), x(l, () => {
6089
+ ae.value[c.room.id] = l.value;
6090
+ }, { deep: !0 }), (n, c) => (b(), d(ue, {
6214
6091
  type: "hotel",
6215
6092
  "listing-id": e.room.id,
6216
6093
  gallery: e.room.images,
@@ -6221,17 +6098,17 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6221
6098
  "prices-from": e.room.pricesFrom,
6222
6099
  "includes-breakfast": M.value
6223
6100
  }, {
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", {
6101
+ action: T(() => [C("div", { class: m(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": l.value.length > 1 }]) }, [(b(!0), h(o, null, D(l.value, (n, d) => (b(), h("div", {
6225
6102
  key: n.id,
6226
6103
  class: "konnectio-hotel-room"
6227
- }, [R.value ? (b(), m("div", ln, [l(Me, {
6104
+ }, [R.value ? (b(), h("div", ln, [u(Ye, {
6228
6105
  modelValue: n.id,
6229
6106
  "onUpdate:modelValue": (e) => n.id = e,
6230
- label: r(s)("hotel.roomVariant"),
6231
- placeholder: r(s)("hotel.chooseARoomVariant"),
6107
+ label: a(s)("hotel.roomVariant"),
6108
+ placeholder: a(s)("hotel.chooseARoomVariant"),
6232
6109
  options: ee.value,
6233
6110
  searchable: !1,
6234
- onChanged: (e) => z(u, e)
6111
+ onChanged: (e) => z(d, e)
6235
6112
  }, null, 8, [
6236
6113
  "modelValue",
6237
6114
  "onUpdate:modelValue",
@@ -6239,27 +6116,27 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6239
6116
  "placeholder",
6240
6117
  "options",
6241
6118
  "onChanged"
6242
- ]), f.value.length > 1 ? (b(), m("div", un, [l(Pe, {
6119
+ ]), l.value.length > 1 ? (b(), h("div", un, [u(Be, {
6243
6120
  style: { "--buttonBackground": "var(--dangerColor)" },
6244
6121
  icon: "trash-alt",
6245
6122
  "icon-type": "fas",
6246
- onClickEvent: (e) => _(u),
6123
+ onClickEvent: (e) => _(d),
6247
6124
  secondary: ""
6248
- }, null, 8, ["onClickEvent"])])) : d("", !0)])) : d("", !0), n.id ? (b(), m("div", dn, [(b(!0), m(a, null, w(e.room.rates, ({ id: u, maximumOccupants: f }) => (b(), m("div", {
6249
- key: u,
6125
+ }, null, 8, ["onClickEvent"])])) : f("", !0)])) : f("", !0), n.id ? (b(), h("div", dn, [(b(!0), h(o, null, D(e.room.rates, ({ id: l, maximumOccupants: d }) => (b(), h("div", {
6126
+ key: l,
6250
6127
  class: "konnectio-listing-action-selective-i"
6251
- }, [n.id === u ? (b(!0), m(a, { key: 0 }, w(n.config, (a, d) => (b(), m("div", {
6252
- key: d,
6128
+ }, [n.id === l ? (b(!0), h(o, { key: 0 }, D(n.config, (o, f) => (b(), h("div", {
6129
+ key: f,
6253
6130
  class: "konnectio-listing-action-selective"
6254
- }, [T("ul", fn, [l(rn, {
6255
- modelValue: a.id,
6256
- "onUpdate:modelValue": (e) => a.id = e,
6131
+ }, [C("ul", fn, [u(rn, {
6132
+ modelValue: o.id,
6133
+ "onUpdate:modelValue": (e) => o.id = e,
6257
6134
  icon: "male",
6258
6135
  "icon-type": "fas",
6259
- label: r(s)("general.guests"),
6260
- description: f === 0 ? void 0 : `${r(s)("general.maximumGuests")}: ${f}`,
6261
- options: P(u),
6262
- readonly: !(P(u).length > 1)
6136
+ label: a(s)("general.guests"),
6137
+ description: d === 0 ? void 0 : `${a(s)("general.maximumGuests")}: ${d}`,
6138
+ options: I(l),
6139
+ readonly: !(I(l).length > 1)
6263
6140
  }, null, 8, [
6264
6141
  "modelValue",
6265
6142
  "onUpdate:modelValue",
@@ -6267,45 +6144,45 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6267
6144
  "description",
6268
6145
  "options",
6269
6146
  "readonly"
6270
- ])]), j.value ? (b(), m("div", mn, [l(Pe, {
6271
- onClickEvent: i,
6272
- label: r(s)("hotel.selectRoomOnMap"),
6147
+ ])]), j.value ? (b(), h("div", mn, [u(Be, {
6148
+ onClickEvent: r,
6149
+ label: a(s)("hotel.selectRoomOnMap"),
6273
6150
  secondary: "",
6274
6151
  "full-width": "",
6275
- disabled: r(D)
6276
- }, null, 8, ["label", "disabled"]), l(cn, {
6152
+ disabled: a(E)
6153
+ }, null, 8, ["label", "disabled"]), u(cn, {
6277
6154
  modelValue: t.value,
6278
6155
  "onUpdate:modelValue": c[0] ||= (e) => t.value = e,
6279
6156
  "room-list": e.room.roomList,
6280
- config: a,
6281
- "onUpdate:config": (e) => Object.assign(a, e),
6282
- callback: o
6157
+ config: o,
6158
+ "onUpdate:config": (e) => Object.assign(o, e),
6159
+ callback: i
6283
6160
  }, null, 8, [
6284
6161
  "modelValue",
6285
6162
  "room-list",
6286
6163
  "config",
6287
6164
  "onUpdate:config"
6288
- ])])) : (b(), m("ul", pn, [l(je, {
6289
- modelValue: a.units,
6290
- "onUpdate:modelValue": (e) => a.units = e,
6291
- description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${N(n.id, a.id)}`,
6165
+ ])])) : (b(), h("ul", pn, [u(qe, {
6166
+ modelValue: o.units,
6167
+ "onUpdate:modelValue": (e) => o.units = e,
6168
+ description: a(v) ? void 0 : `${a(s)("booking.availability.availableUnits")}: ${N(n.id, o.id)}`,
6292
6169
  icon: "house",
6293
6170
  "icon-type": "fas",
6294
6171
  "icon-placement": "label",
6295
- label: r(s)("booking.availability.units"),
6172
+ label: a(s)("booking.availability.units"),
6296
6173
  minValue: 0,
6297
- "max-value": N(u, a.id) || Infinity
6174
+ "max-value": N(l, o.id) || Infinity
6298
6175
  }, null, 8, [
6299
6176
  "modelValue",
6300
6177
  "onUpdate:modelValue",
6301
6178
  "description",
6302
6179
  "label",
6303
6180
  "max-value"
6304
- ])]))]))), 128)) : d("", !0)]))), 128))])) : d("", !0)]))), 128)), r(re) && R.value ? (b(), m("button", {
6181
+ ])]))]))), 128)) : f("", !0)]))), 128))])) : f("", !0)]))), 128)), a(ne) && R.value ? (b(), h("button", {
6305
6182
  key: 0,
6306
6183
  class: "konnectio-hotel-add-extra-room link",
6307
- onClick: F(p, ["prevent"])
6308
- }, [T("span", null, h(r(s)("hotel.addExtraVariant")), 1)])) : d("", !0)], 2)]),
6184
+ onClick: P(p, ["prevent"])
6185
+ }, [C("span", null, w(a(s)("hotel.addExtraVariant")), 1)])) : f("", !0)], 2)]),
6309
6186
  _: 1
6310
6187
  }, 8, [
6311
6188
  "listing-id",
@@ -6321,7 +6198,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6321
6198
  }), [["__scopeId", "data-v-c7b61560"]]), Q = { class: "konnectio-template-side-panel" }, gn = { class: "konnectio-template-side-panel-listings" }, _n = { class: "konnectio-template-room-config" }, vn = { class: "konnectio-template-room-units" }, yn = { class: "konnectio-template-room-unit-header" }, bn = { class: "konnectio-template-footer" }, xn = {
6322
6199
  key: 0,
6323
6200
  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__*/ B(/* @__PURE__ */ R({
6201
+ }, 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__*/ Re(/* @__PURE__ */ R({
6325
6202
  __name: "Template",
6326
6203
  props: {
6327
6204
  title: {},
@@ -6332,85 +6209,81 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6332
6209
  callback: { type: Function }
6333
6210
  },
6334
6211
  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, 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(() => {
6212
+ let { t } = y(), r = Ze(), i = De(), { location: s, adults: l, children: p } = S(Qe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: v, currentAdults: te, currentChildren: ne, dealResolved: re } = S(i), { currency: ie } = S(r), { clearRoomSelection: ae } = i, { addToCart: E } = Pe(), { hasChildSelection: O, hasSharedAddonSelection: k } = r, j = e, M = F(!1), N = l.value || 1, P = p.value || 0, R = I({}), z = n(() => {
6336
6213
  function e(e, t) {
6337
- return N.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
6214
+ return M.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
6338
6215
  }
6339
- let t = M.roomGroups?.slice().sort(e) || [];
6216
+ let t = j.roomGroups?.slice().sort(e) || [];
6340
6217
  return t.forEach((e) => {
6341
6218
  R[e.id] || (R[e.id] = {
6342
6219
  units: 0,
6343
6220
  configs: [{
6344
- adults: P,
6345
- children: F
6221
+ adults: N,
6222
+ children: P
6346
6223
  }]
6347
6224
  });
6348
6225
  }), t;
6349
6226
  });
6350
- function le(e) {
6227
+ function oe(e) {
6351
6228
  return z.value.find((t) => t.id === e);
6352
6229
  }
6353
- function ue(e) {
6354
- let t = le(e);
6355
- if (!t) return P;
6230
+ function se(e) {
6231
+ let t = oe(e);
6232
+ if (!t) return N;
6356
6233
  let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
6357
- return Math.max(n, P);
6234
+ return Math.max(n, N);
6358
6235
  }
6359
- function de(e) {
6360
- let t = le(e);
6361
- return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(F, 1) : 0;
6236
+ function ce(e) {
6237
+ let t = oe(e);
6238
+ return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(P, 1) : 0;
6362
6239
  }
6363
- function pe(e) {
6364
- let t = le(e);
6365
- return !t || x.value ? 1 : t.availableRoomCount || 1;
6240
+ function le(e) {
6241
+ let t = oe(e);
6242
+ return !t || re.value ? 1 : t.availableRoomCount || 1;
6366
6243
  }
6367
- function me(e) {
6368
- let t = le(e);
6369
- return t ? t.extraPrice + M.weekendFee : 0;
6244
+ function de(e) {
6245
+ let t = oe(e);
6246
+ return t ? t.extraPrice + j.weekendFee : 0;
6370
6247
  }
6371
- ae(() => ({ ...R }), () => {
6248
+ x(() => ({ ...R }), () => {
6372
6249
  Object.keys(R).forEach((e) => {
6373
6250
  let t = R[Number(e)], n = t.units, r = t.configs.length;
6374
6251
  if (n > r) for (let e = r; e < n; e++) t.configs.push({
6375
- adults: P,
6376
- children: F
6252
+ adults: N,
6253
+ children: P
6377
6254
  });
6378
6255
  else n < r && t.configs.splice(n);
6379
6256
  });
6380
6257
  }, { deep: !0 });
6381
- let ge = n(() => {
6258
+ let fe = n(() => {
6382
6259
  JSON.stringify(R);
6383
6260
  let e = {};
6384
6261
  return z.value.forEach((t) => {
6385
6262
  let n = R[t.id];
6386
- if (!n) {
6387
- e[t.id] = [];
6388
- return;
6389
- }
6390
- e[t.id] = n.configs.map((e) => fe(t, e.adults, e.children, P, F));
6263
+ n ? e[t.id] = n.configs.map((e) => Ie(t, e.adults, e.children, N, P)) : e[t.id] = [];
6391
6264
  }), e;
6392
6265
  });
6393
- function _e(e, t) {
6394
- return ge.value[e]?.[t] ?? 0;
6266
+ function pe(e, t) {
6267
+ return fe.value[e]?.[t] ?? 0;
6395
6268
  }
6396
- function B() {
6269
+ function me() {
6397
6270
  let e = 0;
6398
6271
  return z.value.forEach((t) => {
6399
6272
  let n = R[t.id];
6400
- if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
6401
- let n = _e(t.id, r);
6402
- e += n + M.weekendFee;
6273
+ if (n && n.units !== 0) for (let r = 0; r < n.units; r++) {
6274
+ let n = pe(t.id, r);
6275
+ e += n + j.weekendFee;
6403
6276
  }
6404
6277
  }), e;
6405
6278
  }
6406
- function ve() {
6279
+ function he() {
6407
6280
  return Object.values(R).reduce((e, t) => e + t.units, 0);
6408
6281
  }
6409
- let be = n(() => z.value.filter((e) => R[e.id]?.units > 0).map((e) => {
6282
+ let ge = n(() => z.value.filter((e) => R[e.id]?.units > 0).map((e) => {
6410
6283
  let t = R[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
6411
6284
  adults: t.adults,
6412
6285
  children: t.children,
6413
- price: _e(e.id, n) + M.weekendFee
6286
+ price: pe(e.id, n) + j.weekendFee
6414
6287
  }));
6415
6288
  return {
6416
6289
  id: e.id,
@@ -6419,28 +6292,28 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6419
6292
  units: n
6420
6293
  };
6421
6294
  }));
6422
- ae(be, () => {
6423
- j(() => window.dispatchEvent(new Event("resize")));
6295
+ x(ge, () => {
6296
+ A(() => window.dispatchEvent(new Event("resize")));
6424
6297
  });
6425
- function xe() {
6298
+ function _e() {
6426
6299
  if (!Object.values(R).some((e) => e.units > 0)) return;
6427
- D();
6300
+ ae();
6428
6301
  let e = [], t = 0, n = 0;
6429
- if (z.value.forEach((r) => {
6302
+ z.value.forEach((r) => {
6430
6303
  let i = R[r.id];
6431
6304
  if (!i || i.units === 0) return;
6432
- let a = i.configs.slice(0, i.units), o = A(c.value) ? {} : null;
6305
+ let a = i.configs.slice(0, i.units), o = k(s.value) ? {} : null;
6433
6306
  e.push({
6434
6307
  roomGroupId: r.id,
6435
6308
  unitConfigs: a.map((e) => ({
6436
6309
  adults: e.adults,
6437
6310
  children: e.children,
6438
- addons: o ?? ye(r.addons)
6311
+ addons: o ?? ke(r.addons)
6439
6312
  }))
6440
6313
  }), _.value ||= r.id;
6441
6314
  for (let e = 0; e < i.units; e++) {
6442
- let t = _e(r.id, e);
6443
- O({
6315
+ let t = pe(r.id, e);
6316
+ E({
6444
6317
  id: r.id,
6445
6318
  name: r.title,
6446
6319
  value: t
@@ -6449,72 +6322,68 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6449
6322
  a.forEach((e) => {
6450
6323
  t += e.adults, n += e.children;
6451
6324
  });
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
- return;
6455
- }
6456
- M.callback(2);
6325
+ }), ee.value = e, g.value = j.templateId, te.value = t, ne.value = n, j.hideAddons === !1 && v.value === !1 ? j.callback(1) : j.callback(2);
6457
6326
  }
6458
- return (n, i) => (b(), u(Ve, {
6327
+ return (n, r) => (b(), d(xe, {
6459
6328
  title: e.title,
6460
- subtitle: r(t)("booking.availability.selectATemplateRoom")
6329
+ subtitle: a(t)("booking.availability.selectATemplateRoom")
6461
6330
  }, {
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", {
6331
+ footer: T(() => [C("div", bn, [ge.value.length > 0 ? (b(), h("div", xn, [(b(!0), h(o, null, D(ge.value, (e) => (b(), h("div", {
6463
6332
  key: e.id,
6464
6333
  class: "konnectio-template-selection-item"
6465
- }, [T("div", Sn, [T("span", Cn, h(e.title), 1), T("span", wn, h(r(Ne)(e.totalPrice, r(ie))), 1)]), T("div", Tn, [(b(!0), m(a, null, w(e.units, (e, n) => (b(), m("span", {
6334
+ }, [C("div", Sn, [C("span", Cn, w(e.title), 1), C("span", wn, w(a(we)(e.totalPrice, a(ie))), 1)]), C("div", Tn, [(b(!0), h(o, null, D(e.units, (e, n) => (b(), h("span", {
6466
6335
  key: n,
6467
6336
  class: "konnectio-template-selection-unit"
6468
6337
  }, [
6469
- s(h(r(t)("booking.reservation.room")) + " " + h(n + 1) + ": " + h(e.adults) + " " + h(r(t)("availability.adults")) + " ", 1),
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(Ne)(e.price, r(ie))), 1)
6472
- ]))), 128))])]))), 128))])) : d("", !0), l(Pe, {
6473
- onClickEvent: xe,
6474
- label: `${ve() > 1 ? r(t)("booking.availability.selectTheseRooms") : r(t)("booking.availability.selectThisRoom")} (${r(Ne)(B(), r(ie))})`,
6475
- disabled: ve() === 0,
6338
+ c(w(a(t)("booking.reservation.room")) + " " + w(n + 1) + ": " + w(e.adults) + " " + w(a(t)("availability.adults")) + " ", 1),
6339
+ e.children > 0 ? (b(), h(o, { key: 0 }, [c(" , " + w(e.children) + " " + w(a(t)("availability.children")), 1)], 64)) : f("", !0),
6340
+ c(" · " + w(a(we)(e.price, a(ie))), 1)
6341
+ ]))), 128))])]))), 128))])) : f("", !0), u(Be, {
6342
+ onClickEvent: _e,
6343
+ label: `${he() > 1 ? a(t)("booking.availability.selectTheseRooms") : a(t)("booking.availability.selectThisRoom")} (${a(we)(me(), a(ie))})`,
6344
+ disabled: he() === 0,
6476
6345
  "full-width": ""
6477
6346
  }, null, 8, ["label", "disabled"])])]),
6478
- default: S(() => [T("div", Q, [T("div", gn, [(b(!0), m(a, null, w(z.value, (e) => (b(), u(Ze, {
6347
+ default: T(() => [C("div", Q, [C("div", gn, [(b(!0), h(o, null, D(z.value, (e) => (b(), d(ue, {
6479
6348
  key: e.id,
6480
6349
  type: "hotel",
6481
6350
  "listing-id": e.id,
6482
6351
  name: e.title,
6483
6352
  description: e.description,
6484
6353
  facilities: e.facilities,
6485
- "prices-from": me(e.id),
6354
+ "prices-from": de(e.id),
6486
6355
  gallery: e.images,
6487
6356
  "includes-breakfast": !1,
6488
6357
  "hide-info-button": !0
6489
6358
  }, {
6490
- action: S(() => [T("div", _n, [T("div", vn, [l(je, {
6359
+ action: T(() => [C("div", _n, [C("div", vn, [u(qe, {
6491
6360
  modelValue: R[e.id].units,
6492
6361
  "onUpdate:modelValue": (t) => R[e.id].units = t,
6493
- label: r(t)("booking.availability.units"),
6362
+ label: a(t)("booking.availability.units"),
6494
6363
  icon: "house",
6495
6364
  "icon-type": "fas",
6496
6365
  "icon-placement": "label",
6497
6366
  "min-value": 0,
6498
- "max-value": pe(e.id),
6367
+ "max-value": le(e.id),
6499
6368
  controls: !0
6500
6369
  }, null, 8, [
6501
6370
  "modelValue",
6502
6371
  "onUpdate:modelValue",
6503
6372
  "label",
6504
6373
  "max-value"
6505
- ])]), (b(!0), m(a, null, w(R[e.id].configs, (n, i) => (b(), m("div", {
6506
- key: i,
6374
+ ])]), (b(!0), h(o, null, D(R[e.id].configs, (n, r) => (b(), h("div", {
6375
+ key: r,
6507
6376
  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(Ne)(_e(e.id, i), r(ie))), 1)]), T("div", { class: E(["konnectio-template-room-guests", { "only-adult-guests": !r(k)(r(c)) }]) }, [l(je, {
6377
+ }, [C("div", yn, [C("span", null, w(a(t)("booking.reservation.room")) + " " + w(r + 1), 1), C("span", null, w(a(we)(pe(e.id, r), a(ie))), 1)]), C("div", { class: m(["konnectio-template-room-guests", { "only-adult-guests": !a(O)(a(s)) }]) }, [u(qe, {
6509
6378
  modelValue: n.adults,
6510
6379
  "onUpdate:modelValue": (e) => n.adults = e,
6511
- label: r(t)("availability.adults"),
6512
- description: r(t)("general.adultAgeRange"),
6380
+ label: a(t)("availability.adults"),
6381
+ description: a(t)("general.adultAgeRange"),
6513
6382
  icon: "male",
6514
6383
  "icon-type": "fas",
6515
6384
  "icon-placement": "label",
6516
6385
  "min-value": 1,
6517
- "max-value": ue(e.id),
6386
+ "max-value": se(e.id),
6518
6387
  controls: !0
6519
6388
  }, null, 8, [
6520
6389
  "modelValue",
@@ -6522,17 +6391,17 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6522
6391
  "label",
6523
6392
  "description",
6524
6393
  "max-value"
6525
- ]), r(k)(r(c)) ? (b(), u(je, {
6394
+ ]), a(O)(a(s)) ? (b(), d(qe, {
6526
6395
  key: 0,
6527
6396
  modelValue: n.children,
6528
6397
  "onUpdate:modelValue": (e) => n.children = e,
6529
- label: r(t)("availability.children"),
6530
- description: r(t)("general.childAgeRange"),
6398
+ label: a(t)("availability.children"),
6399
+ description: a(t)("general.childAgeRange"),
6531
6400
  icon: "child",
6532
6401
  "icon-type": "fas",
6533
6402
  "icon-placement": "label",
6534
6403
  "min-value": 0,
6535
- "max-value": de(e.id),
6404
+ "max-value": ce(e.id),
6536
6405
  controls: !0
6537
6406
  }, null, 8, [
6538
6407
  "modelValue",
@@ -6540,7 +6409,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6540
6409
  "label",
6541
6410
  "description",
6542
6411
  "max-value"
6543
- ])) : d("", !0)], 2)]))), 128))])]),
6412
+ ])) : f("", !0)], 2)]))), 128))])]),
6544
6413
  _: 2
6545
6414
  }, 1032, [
6546
6415
  "listing-id",
@@ -6566,39 +6435,39 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6566
6435
  callback: { type: Function }
6567
6436
  },
6568
6437
  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 = I(!1);
6438
+ let { t } = y(), r = e, { isSearchOutdated: i } = S(De()), o = n(() => r.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + r.weekendFee), s = F(!1);
6570
6439
  function c() {
6571
6440
  s.value = !0;
6572
6441
  }
6573
- function d(e) {
6574
- i.callback(e), s.value = !1;
6442
+ function l(e) {
6443
+ r.callback(e), s.value = !1;
6575
6444
  }
6576
- return (n, i) => (b(), u(Ze, {
6445
+ return (n, r) => (b(), d(ue, {
6577
6446
  type: "template",
6578
6447
  "listing-id": e.id,
6579
6448
  name: e.name,
6580
6449
  description: e.description,
6581
6450
  gallery: e.images,
6582
- layout: r(we).Template,
6451
+ layout: a(Je).Template,
6583
6452
  "includes-breakfast": !1,
6584
6453
  "hide-info-button": !1,
6585
6454
  "prices-from": o.value
6586
6455
  }, {
6587
- action: S(() => [T("div", Dn, [l(Pe, {
6456
+ action: T(() => [C("div", Dn, [u(Be, {
6588
6457
  onClickEvent: c,
6589
- label: r(t)("booking.availability.selectPackage"),
6458
+ label: a(t)("booking.availability.selectPackage"),
6590
6459
  "full-width": "",
6591
- disabled: r(a)
6460
+ disabled: a(i)
6592
6461
  }, null, 8, ["label", "disabled"])])]),
6593
- default: S(() => [l(En, {
6462
+ default: T(() => [u(En, {
6594
6463
  modelValue: s.value,
6595
- "onUpdate:modelValue": i[0] ||= (e) => s.value = e,
6464
+ "onUpdate:modelValue": r[0] ||= (e) => s.value = e,
6596
6465
  title: e.name,
6597
6466
  "template-id": e.id,
6598
6467
  "room-groups": e.roomGroups,
6599
6468
  "hide-addons": e.hideAddons,
6600
6469
  "weekend-fee": e.weekendFee,
6601
- callback: d
6470
+ callback: l
6602
6471
  }, null, 8, [
6603
6472
  "modelValue",
6604
6473
  "title",
@@ -6617,7 +6486,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6617
6486
  "prices-from"
6618
6487
  ]));
6619
6488
  }
6620
- }), kn = { class: "konnectio-special-offer-availability" }, An = { class: "konnectio-special-offer-availability-button" }, jn = /*#__PURE__*/ B(/* @__PURE__ */ R({
6489
+ }), kn = { class: "konnectio-special-offer-availability" }, An = { class: "konnectio-special-offer-availability-button" }, jn = /*#__PURE__*/ Re(/* @__PURE__ */ R({
6621
6490
  __name: "SpecialOffer",
6622
6491
  props: {
6623
6492
  id: {},
@@ -6630,33 +6499,33 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6630
6499
  roomGroups: {}
6631
6500
  },
6632
6501
  setup(e) {
6633
- let { t } = v(), { updateDates: i } = oe(), { display: a } = me(), o = e, s = I([]), c = n(() => Fe(o.fromDate, o.toDate) === 1);
6634
- function d() {
6635
- s.value.length > 0 ? i(s.value[0], s.value[1]) : a({
6502
+ let { t } = y(), { updateDates: r } = Qe(), { display: i } = He(), o = e, s = F([]), c = n(() => Ne(o.fromDate, o.toDate) === 1);
6503
+ function l() {
6504
+ s.value.length > 0 ? r(s.value[0], s.value[1]) : i({
6636
6505
  message: t("alert.error.selectDates"),
6637
6506
  type: "error"
6638
6507
  });
6639
6508
  }
6640
6509
  return g(() => {
6641
6510
  c.value && (s.value = [new Date(o.fromDate), new Date(o.toDate)]);
6642
- }), (n, i) => (b(), u(Ze, {
6511
+ }), (n, r) => (b(), d(ue, {
6643
6512
  type: "template",
6644
6513
  "listing-id": e.id,
6645
6514
  name: e.name,
6646
6515
  description: e.description,
6647
6516
  gallery: e.images,
6648
- layout: r(we).Template,
6517
+ layout: a(Je).Template,
6649
6518
  "includes-breakfast": !1,
6650
6519
  "hide-info-button": !1,
6651
6520
  "to-date": e.toDate,
6652
6521
  "from-date": e.fromDate,
6653
6522
  "disable-deep-link": !0
6654
6523
  }, {
6655
- action: S(() => [T("div", kn, [l(We, {
6524
+ action: T(() => [C("div", kn, [u(nt, {
6656
6525
  modelValue: s.value,
6657
- "onUpdate:modelValue": i[0] ||= (e) => s.value = e,
6658
- label: r(t)("availability.checkInOut"),
6659
- placeholder: r(t)("booking.availability.selectDates"),
6526
+ "onUpdate:modelValue": r[0] ||= (e) => s.value = e,
6527
+ label: a(t)("availability.checkInOut"),
6528
+ placeholder: a(t)("booking.availability.selectDates"),
6660
6529
  "icon-type": "fas",
6661
6530
  "icon-placement": "label",
6662
6531
  "min-range": 1,
@@ -6673,9 +6542,9 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6673
6542
  "min-date",
6674
6543
  "max-date",
6675
6544
  "readonly"
6676
- ]), T("div", An, [l(Pe, {
6677
- label: r(t)("availability.buttonLabel"),
6678
- onClick: F(d, ["prevent"])
6545
+ ]), C("div", An, [u(Be, {
6546
+ label: a(t)("availability.buttonLabel"),
6547
+ onClick: P(l, ["prevent"])
6679
6548
  }, null, 8, ["label"])])])]),
6680
6549
  _: 1
6681
6550
  }, 8, [
@@ -6710,10 +6579,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6710
6579
  function i(e) {
6711
6580
  n("update:modelValue", e);
6712
6581
  }
6713
- let a = I(r.modelValue);
6714
- return ae(a, (e) => {
6582
+ let a = F(r.modelValue);
6583
+ return x(a, (e) => {
6715
6584
  i(e);
6716
- }), (t, n) => (b(), u(We, {
6585
+ }), (t, n) => (b(), d(nt, {
6717
6586
  modelValue: a.value,
6718
6587
  "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
6719
6588
  type: "time",
@@ -6745,7 +6614,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6745
6614
  }), Nn = { style: {
6746
6615
  display: "flex",
6747
6616
  "align-items": "baseline"
6748
- } }, Pn = /*#__PURE__*/ B(/* @__PURE__ */ R({
6617
+ } }, Pn = /*#__PURE__*/ Re(/* @__PURE__ */ R({
6749
6618
  __name: "CountryField",
6750
6619
  props: {
6751
6620
  modelValue: {},
@@ -6764,27 +6633,27 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6764
6633
  },
6765
6634
  emits: ["update:modelValue"],
6766
6635
  setup(e, { emit: t }) {
6767
- let { t: i } = v(), a = t, o = e;
6636
+ let { t: r } = y(), i = t, o = e;
6768
6637
  function s(e) {
6769
- a("update:modelValue", e);
6638
+ i("update:modelValue", e);
6770
6639
  }
6771
6640
  let c = n({
6772
6641
  get: () => o.modelValue,
6773
6642
  set: (e) => s(e)
6774
6643
  });
6775
- return (t, n) => (b(), u(Me, {
6644
+ return (t, n) => (b(), d(Ye, {
6776
6645
  modelValue: c.value,
6777
6646
  "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
6778
6647
  label: e.label,
6779
- placeholder: r(i)("booking.reservation.countryPlaceholder"),
6648
+ placeholder: a(r)("booking.reservation.countryPlaceholder"),
6780
6649
  labelKey: "name",
6781
6650
  valueKey: "id",
6782
6651
  options: e.options,
6783
6652
  required: e.required,
6784
6653
  error: e.error
6785
6654
  }, {
6786
- option: S(({ data: e }) => [T("i", { class: E(["konnectio-flag-icon", e.iso]) }, null, 2), T("span", null, h(e.name), 1)]),
6787
- "selected-option": S(({ data: e }) => [T("div", Nn, [T("i", { class: E(["konnectio-flag-icon", e.iso]) }, null, 2), T("span", null, h(e.name), 1)])]),
6655
+ option: T(({ data: e }) => [C("i", { class: m(["konnectio-flag-icon", e.iso]) }, null, 2), C("span", null, w(e.name), 1)]),
6656
+ "selected-option": T(({ data: e }) => [C("div", Nn, [C("i", { class: m(["konnectio-flag-icon", e.iso]) }, null, 2), C("span", null, w(e.name), 1)])]),
6788
6657
  _: 1
6789
6658
  }, 8, [
6790
6659
  "modelValue",
@@ -6795,7 +6664,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6795
6664
  "error"
6796
6665
  ]));
6797
6666
  }
6798
- }), [["__scopeId", "data-v-f0651be7"]]), Fn = /*#__PURE__*/ B(/* @__PURE__ */ R({
6667
+ }), [["__scopeId", "data-v-f0651be7"]]), Fn = /*#__PURE__*/ Re(/* @__PURE__ */ R({
6799
6668
  __name: "NameField",
6800
6669
  props: {
6801
6670
  modelValue: {},
@@ -6832,52 +6701,52 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6832
6701
  },
6833
6702
  emits: ["update:modelValue", "update:title"],
6834
6703
  setup(e, { emit: t }) {
6835
- let n = e, i = t, a = n.id || Se(), o = I(""), s = I(2);
6704
+ let n = e, r = t, i = n.id || B(), o = F(""), s = F(2);
6836
6705
  function c() {
6837
- i("update:modelValue", o.value);
6706
+ r("update:modelValue", o.value);
6838
6707
  }
6839
- ae(s, (e) => {
6840
- i("update:title", e);
6708
+ x(s, (e) => {
6709
+ r("update:title", e);
6841
6710
  });
6842
- let { t: f } = v();
6711
+ let { t: l } = y();
6843
6712
  return g(() => {
6844
6713
  n.modelValue && (o.value = n.modelValue), n.title && (s.value = n.title);
6845
- }), (t, n) => (b(), u(Ce, {
6714
+ }), (t, n) => (b(), d(Ve, {
6846
6715
  label: e.label,
6847
- id: r(a),
6716
+ id: a(i),
6848
6717
  required: e.required,
6849
6718
  type: "konnectio-name-field",
6850
6719
  readonly: e.readonly,
6851
6720
  limit: e.limit,
6852
6721
  error: e.error
6853
6722
  }, {
6854
- default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(Me, {
6723
+ default: T(() => [C("div", { class: m(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? f("", !0) : (b(), d(Ye, {
6855
6724
  key: 0,
6856
6725
  modelValue: s.value,
6857
6726
  "onUpdate:modelValue": n[0] ||= (e) => s.value = e,
6858
- id: r(Se)(),
6727
+ id: a(B)(),
6859
6728
  icon: e.icon,
6860
6729
  "icon-color": e.iconColor,
6861
6730
  "icon-type": e.iconType,
6862
6731
  options: [
6863
6732
  {
6864
- label: r(f)("booking.reservation.noNameTitle"),
6733
+ label: a(l)("booking.reservation.noNameTitle"),
6865
6734
  value: 1
6866
6735
  },
6867
6736
  {
6868
- label: r(f)("booking.reservation.nameTitleMr"),
6737
+ label: a(l)("booking.reservation.nameTitleMr"),
6869
6738
  value: 2
6870
6739
  },
6871
6740
  {
6872
- label: r(f)("booking.reservation.nameTitleMs"),
6741
+ label: a(l)("booking.reservation.nameTitleMs"),
6873
6742
  value: 3
6874
6743
  },
6875
6744
  {
6876
- label: r(f)("booking.reservation.nameTitleMrs"),
6745
+ label: a(l)("booking.reservation.nameTitleMrs"),
6877
6746
  value: 4
6878
6747
  },
6879
6748
  {
6880
- label: r(f)("booking.reservation.nameTitleDr"),
6749
+ label: a(l)("booking.reservation.nameTitleDr"),
6881
6750
  value: 5
6882
6751
  }
6883
6752
  ],
@@ -6892,13 +6761,13 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6892
6761
  "icon-type",
6893
6762
  "options",
6894
6763
  "readonly"
6895
- ])), l(Ae, {
6764
+ ])), u(We, {
6896
6765
  modelValue: o.value,
6897
6766
  "onUpdate:modelValue": n[1] ||= (e) => o.value = e,
6898
6767
  type: "text",
6899
6768
  name: "name",
6900
6769
  autocomplete: "name",
6901
- id: r(a),
6770
+ id: a(i),
6902
6771
  icon: e.excludeTitle ? e.icon : void 0,
6903
6772
  "icon-color": e.iconColor,
6904
6773
  "icon-type": e.iconType,
@@ -6928,10 +6797,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6928
6797
  "error"
6929
6798
  ]));
6930
6799
  }
6931
- }), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, Ln = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, zn = /*#__PURE__*/ B(/* @__PURE__ */ R({
6800
+ }), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, Ln = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, zn = /*#__PURE__*/ Re(/* @__PURE__ */ R({
6932
6801
  __name: "HotelSkeleton",
6933
6802
  setup(e) {
6934
- return (e, t) => (b(), m("div", In, [T("div", Ln, [l(Ge, { hotel: "" }), l(Qe)]), T("div", Rn, [l($e)])]));
6803
+ return (e, t) => (b(), h("div", In, [C("div", Ln, [u(rt, { hotel: "" }), u(de)]), C("div", Rn, [u(fe)])]));
6935
6804
  }
6936
6805
  }), [["__scopeId", "data-v-2ff36444"]]), Bn = { id: "booking-availability-container" }, Vn = { id: "booking-availability-controls" }, Hn = {
6937
6806
  key: 0,
@@ -7026,7 +6895,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7026
6895
  __name: "Hotel",
7027
6896
  props: {
7028
6897
  accessToken: {},
7029
- headerLayout: { default: De.Minimal },
6898
+ headerLayout: { default: Ge.Minimal },
7030
6899
  onlyShow: { default: "everything" },
7031
6900
  hideAddons: { default: "no" },
7032
6901
  disableDefaultLocation: { default: "no" },
@@ -7044,11 +6913,11 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7044
6913
  styling: {}
7045
6914
  },
7046
6915
  setup(e) {
7047
- let t = _(() => import("./_-Bi3jyl9S.js").then((e) => e.n)), o = e, { t: c } = v(), f = he();
7048
- f.requireDealCode = o.requireDealCode === "yes";
7049
- let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: re, countries: ie, areListingsLoading: D, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: fe, postal: B, city: ye, address: xe, country: Se, remark: Ce, allergies: we, roomSelect: De, roomDisplay: Me, hasValidRoomSelection: Fe, availabilityData: Ve, availabilityFetchFailed: We, selectionHasNoAddons: Ge, isAvailabilityDataAvailable: qe, getSelectedPackageRooms: H, selectedPackage: Je, isSearchOutdated: Ze, isTemplateReservation: Qe, newsMails: $e, adultsMismatch: nt, childrenMismatch: rt, totalAdults: it, totalChildren: at, hasGuestDiscountId: ot, hasGuestDiscountCode: st, guestDiscountId: ct, guestDiscountName: lt, guestDiscountCode: ut, hasMemberCards: dt, memberCardList: ft, selectedMemberCard: pt, memberCardControlNumber: mt, memberCardNumber: ht, selectedMemberCardObject: gt, selectedMemberCardData: _t, discountCode: vt, appliedDiscountCode: U, discountPayload: W, dealResolved: yt, dealNoAvailability: bt } = C(f), { isHostedCheckoutActive: xt } = C(Oe()), { adults: St, children: K, location: Ct, arrivalDate: wt, departureDate: Tt, hasHotelLocations: Et } = C(oe()), { isValidHotelId: Dt, updateDates: Ot } = oe(), { currency: q, enableTracking: kt, disableNamePrefix: At, disableTravelingFor: jt, disableTravelingForBleasure: Mt, disableCompanyField: Nt, hasPaymentGateway: Pt, maxAdultAmount: Ft, maxChildAmount: It, defaultAdultAmount: Lt, defaultChildAmount: Rt, disableNewsletterSignup: zt, requireEmailConfirmation: Bt, hasActiveIdFilter: Vt, hotelSettings: Ht } = C(ce()), { hasArrivalDepartureInputs: J, hasUserArrivalSelection: Ut, hasUserDepartureSelection: Wt, earliestArrivalTime: Gt, latestArrivalTime: Kt, earliestDepartureTime: Jt, latestDepartureTime: Yt, hasSharedAddonSelection: Xt, setActiveIdFilter: Zt, clearActiveIdFilter: Qt } = ce(), { beginCheckout: $t } = se(), { display: en } = me(), { createReservation: tn, fetchMetadata: nn, fetchAvailabilityData: rn, filterAddons: an, hasAvailableRoomAddons: Z, checkGuestDiscount: on, setGuestDiscountCode: sn, validateMemberCard: cn, onOverviewReset: ln, resetDealFlow: un, validateDiscountCode: dn, reservationPayload: fn } = he();
7050
- ze.useHttpClient(He(ve()));
7051
- let pn = Le("post", "/hotel/create-reservation", fn());
6916
+ let t = _(() => import("./_-0PVid2uc.js").then((e) => e.n)), r = e, { t: s } = y(), l = De();
6917
+ l.requireDealCode = r.requireDealCode === "yes";
6918
+ let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: ne, countries: ae, areListingsLoading: E, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: oe, postal: se, city: ue, address: de, country: fe, remark: he, allergies: xe, roomSelect: ke, roomDisplay: Ne, hasValidRoomSelection: Ie, availabilityData: B, availabilityFetchFailed: Re, selectionHasNoAddons: Ve, isAvailabilityDataAvailable: Ge, getSelectedPackageRooms: Ke, selectedPackage: Je, isSearchOutdated: Ye, isTemplateReservation: et, newsMails: tt, adultsMismatch: nt, childrenMismatch: rt, totalAdults: it, totalChildren: at, hasGuestDiscountId: ot, hasGuestDiscountCode: st, guestDiscountId: ct, guestDiscountName: lt, guestDiscountCode: ut, hasMemberCards: dt, memberCardList: ft, selectedMemberCard: pt, memberCardControlNumber: mt, memberCardNumber: ht, selectedMemberCardObject: gt, selectedMemberCardData: _t, discountCode: vt, appliedDiscountCode: U, discountPayload: W, dealResolved: yt, dealNoAvailability: bt } = S(l), { isHostedCheckoutActive: xt } = S(Ue()), { adults: St, children: K, location: Ct, arrivalDate: wt, departureDate: Tt, hasHotelLocations: Et } = S(Qe()), { isValidHotelId: Dt, updateDates: Ot } = Qe(), { currency: q, enableTracking: kt, disableNamePrefix: At, disableTravelingFor: jt, disableTravelingForBleasure: Mt, disableCompanyField: Nt, hasPaymentGateway: Pt, maxAdultAmount: Ft, maxChildAmount: It, defaultAdultAmount: Lt, defaultChildAmount: Rt, disableNewsletterSignup: zt, requireEmailConfirmation: Bt, hasActiveIdFilter: Vt, hotelSettings: Ht } = S(Ze()), { hasArrivalDepartureInputs: J, hasUserArrivalSelection: Ut, hasUserDepartureSelection: Wt, earliestArrivalTime: Gt, latestArrivalTime: Kt, earliestDepartureTime: Jt, latestDepartureTime: Yt, hasSharedAddonSelection: Xt, setActiveIdFilter: Zt, clearActiveIdFilter: Qt } = Ze(), { beginCheckout: $t } = Pe(), { display: en } = He(), { createReservation: tn, fetchMetadata: nn, fetchAvailabilityData: rn, filterAddons: an, hasAvailableRoomAddons: Z, checkGuestDiscount: on, setGuestDiscountCode: sn, validateMemberCard: cn, onOverviewReset: ln, resetDealFlow: un, validateDiscountCode: dn, reservationPayload: fn } = De();
6919
+ ye.useHttpClient(_e(Ee()));
6920
+ let pn = Se("post", "/hotel/create-reservation", fn());
7052
6921
  pn.setValidationTimeout(600);
7053
6922
  function mn(e) {
7054
6923
  pn.setData(fn()), pn.validate(e);
@@ -7057,15 +6926,15 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7057
6926
  return pn.errors[e];
7058
6927
  }
7059
6928
  let gn = n(() => {
7060
- if (Bt.value && R.value !== "" && R.value !== I.value) return c("booking.reservation.confirmEmailError");
6929
+ if (Bt.value && R.value !== "" && R.value !== I.value) return s("booking.reservation.confirmEmailError");
7061
6930
  });
7062
- ae(P, () => mn("guest.name")), ae(I, () => mn("guest.email")), ae(z, () => mn("guest.phone")), ae(Se, () => mn("guest.country")), ae(xe, () => mn("guest.address1")), ae(B, () => mn("guest.postal")), ae(ye, () => mn("guest.city"));
7063
- let _n = n(() => o.sortOrder === "desc"), vn = n(() => o.requireDiscountCode === "yes" && !st.value || o.requireDealCode === "yes" && !yt.value);
6931
+ x(P, () => mn("guest.name")), x(I, () => mn("guest.email")), x(z, () => mn("guest.phone")), x(fe, () => mn("guest.country")), x(de, () => mn("guest.address1")), x(se, () => mn("guest.postal")), x(ue, () => mn("guest.city"));
6932
+ let _n = n(() => r.sortOrder === "desc"), vn = n(() => r.requireDiscountCode === "yes" && !st.value || r.requireDealCode === "yes" && !yt.value);
7064
6933
  function yn(e, t) {
7065
- return an(e, t ?? 0).filter((e) => e.cardinality === ke.Mandatory);
6934
+ return an(e, t ?? 0).filter((e) => e.cardinality === ze.Mandatory);
7066
6935
  }
7067
6936
  function bn(e, t) {
7068
- return an(e, t ?? 0).filter((e) => e.cardinality !== ke.Mandatory);
6937
+ return an(e, t ?? 0).filter((e) => e.cardinality !== ze.Mandatory);
7069
6938
  }
7070
6939
  function xn(e) {
7071
6940
  let t = [];
@@ -7076,30 +6945,30 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7076
6945
  }
7077
6946
  let Sn = n(() => {
7078
6947
  let e = [];
7079
- return Xt(p.value) ? re.value.forEach((t) => {
6948
+ return Xt(p.value) ? ne.value.forEach((t) => {
7080
6949
  let n = e.find((e) => e.roomGroupId === t.roomGroupId);
7081
6950
  n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
7082
- }) : re.value.forEach((t, n) => {
6951
+ }) : ne.value.forEach((t, n) => {
7083
6952
  e.push({
7084
6953
  ...t,
7085
- unitNumber: re.value.slice(0, n + 1).filter((e) => e.roomGroupId === t.roomGroupId).length,
7086
- unitTotal: re.value.filter((e) => e.roomGroupId === t.roomGroupId).length
6954
+ unitNumber: ne.value.slice(0, n + 1).filter((e) => e.roomGroupId === t.roomGroupId).length,
6955
+ unitTotal: ne.value.filter((e) => e.roomGroupId === t.roomGroupId).length
7087
6956
  });
7088
6957
  }), e;
7089
6958
  }), Cn = n(() => [
7090
6959
  {
7091
6960
  id: "availability",
7092
- label: c("booking.availability.title"),
6961
+ label: s("booking.availability.title"),
7093
6962
  icon: "search"
7094
6963
  },
7095
6964
  {
7096
6965
  id: "addons",
7097
- label: c("general.addons"),
6966
+ label: s("general.addons"),
7098
6967
  icon: "shopping-cart"
7099
6968
  },
7100
6969
  {
7101
6970
  id: "reservation",
7102
- label: c("booking.reservation.title"),
6971
+ label: s("booking.reservation.title"),
7103
6972
  icon: "concierge-bell"
7104
6973
  },
7105
6974
  {
@@ -7108,27 +6977,27 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7108
6977
  },
7109
6978
  {
7110
6979
  id: "confirmation",
7111
- label: c("booking.confirmation.title"),
6980
+ label: s("booking.confirmation.title"),
7112
6981
  icon: "calendar-check"
7113
6982
  }
7114
6983
  ]), wn = n(() => {
7115
6984
  let e = [{
7116
- label: c("booking.reservation.business"),
6985
+ label: s("booking.reservation.business"),
7117
6986
  value: "Business"
7118
6987
  }, {
7119
- label: c("booking.reservation.pleasure"),
6988
+ label: s("booking.reservation.pleasure"),
7120
6989
  value: "Pleasure"
7121
6990
  }];
7122
6991
  return Mt.value || e.push({
7123
- label: c("booking.reservation.bleasure"),
6992
+ label: s("booking.reservation.bleasure"),
7124
6993
  value: "Bleasure"
7125
6994
  }), e;
7126
6995
  }), Tn = n(() => {
7127
- let e = Ve.value.roomGroups.slice();
6996
+ let e = B.value.roomGroups.slice();
7128
6997
  function t(e, t) {
7129
6998
  return _n.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
7130
6999
  }
7131
- return o.sortBy === "price" && (e = e.sort(t)), e.reduce((e, t) => {
7000
+ return r.sortBy === "price" && (e = e.sort(t)), e.reduce((e, t) => {
7132
7001
  let n = t.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms";
7133
7002
  return (e[n] ??= []).push(t), e;
7134
7003
  }, {});
@@ -7137,132 +7006,120 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7137
7006
  return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
7138
7007
  }
7139
7008
  let Dn = n(() => {
7140
- let e = Ve.value.templates.slice();
7141
- return o.sortBy === "price" && e.sort((e, t) => {
7009
+ let e = B.value.templates.slice();
7010
+ return r.sortBy === "price" && e.sort((e, t) => {
7142
7011
  let n = En(e), r = En(t);
7143
7012
  return _n.value ? r - n : n - r;
7144
7013
  }), e;
7145
7014
  }), kn = n(() => {
7146
- let e = Ve.value.specialTemplates.slice();
7147
- return o.sortBy === "price" && e.sort((e, t) => {
7015
+ let e = B.value.specialTemplates.slice();
7016
+ return r.sortBy === "price" && e.sort((e, t) => {
7148
7017
  let n = En(e), r = En(t);
7149
7018
  return _n.value ? r - n : n - r;
7150
7019
  }), e;
7151
- }), An = n(() => o.hideAddons === "yes" || Qe.value && o.hideAddons === "packages" || !Qe.value && o.hideAddons === "rooms");
7020
+ }), An = n(() => r.hideAddons === "yes" || et.value && r.hideAddons === "packages" || !et.value && r.hideAddons === "rooms");
7152
7021
  function Nn(e) {
7153
7022
  let t = $.discount;
7154
- if (o.requireDealCode === "yes") {
7155
- e();
7156
- return;
7157
- }
7158
- t && t !== U.value ? (vt.value = t, dn()) : st.value && !W.value && ut.value !== U.value && (vt.value = ut.value, dn()), e();
7023
+ r.requireDealCode === "yes" || (t && t !== U.value ? (vt.value = t, dn()) : st.value && !W.value && ut.value !== U.value && (vt.value = ut.value, dn())), e();
7159
7024
  }
7160
7025
  function In(e) {
7161
- An.value || Ge.value ? e(2) : e();
7026
+ An.value || Ve.value ? e(2) : e();
7162
7027
  }
7163
7028
  async function Ln(e, t) {
7164
7029
  let n = await tn(e, t);
7165
7030
  n && pn.setErrors(n);
7166
7031
  }
7167
7032
  function Rn() {
7168
- if ((Ct.value === void 0 || isNaN(Ct.value)) && Et.value) {
7169
- en({
7170
- message: c("alert.error.selectHotelId"),
7171
- type: "error"
7172
- });
7173
- return;
7174
- }
7175
- rn();
7033
+ (Ct.value === void 0 || isNaN(Ct.value)) && Et.value ? en({
7034
+ message: s("alert.error.selectHotelId"),
7035
+ type: "error"
7036
+ }) : rn();
7176
7037
  }
7177
7038
  function ei() {
7178
- let e = x("history", { removeNullishValues: !0 });
7039
+ let e = re("history", { removeNullishValues: !0 });
7179
7040
  Qt(), e.id = void 0, rn();
7180
7041
  }
7181
7042
  function ti(e) {
7182
- kt.value && $t(), o.requireDealCode !== "yes" && st.value && !W.value && ut.value !== U.value && (vt.value = ut.value, dn()), An.value || Ge.value ? e(2) : e();
7043
+ kt.value && $t(), r.requireDealCode !== "yes" && st.value && !W.value && ut.value !== U.value && (vt.value = ut.value, dn()), An.value || Ve.value ? e(2) : e();
7183
7044
  }
7184
7045
  function ni() {
7185
7046
  let e = Ct.value;
7186
- o.forceArrivalTime && o.forceDepartureTime && e !== void 0 && Ht.value[e] && (Ht.value[e].disableArrivalUserSelection = !0, o.forceArrivalTime && (Ht.value[e].arrivalDefault = o.forceArrivalTime), o.forceDepartureTime && (Ht.value[e].departureDefault = o.forceDepartureTime));
7047
+ r.forceArrivalTime && r.forceDepartureTime && e !== void 0 && Ht.value[e] && (Ht.value[e].disableArrivalUserSelection = !0, r.forceArrivalTime && (Ht.value[e].arrivalDefault = r.forceArrivalTime), r.forceDepartureTime && (Ht.value[e].departureDefault = r.forceDepartureTime));
7187
7048
  }
7188
- let $ = x("history", { removeNullishValues: !0 });
7049
+ let $ = re("history", { removeNullishValues: !0 });
7189
7050
  async function ri() {
7190
7051
  ni();
7191
- let e = parseInt($.a), t = parseInt($.c), n = parseInt($.hid), r = parseInt($.n), i = $.ci, a = $.co, s = $.id, l = parseInt($.gid), u = $.discount, d = !1;
7192
- if (isNaN(e) || (e > Ft.value ? St.value = Ft.value : St.value = e, St.value === Lt.value && ($.a = void 0)), isNaN(t) || (t > It.value ? K.value = It.value : K.value = t, K.value === Rt.value && ($.c = void 0)), isNaN(r) || r > 0 && ($.n = void 0), isNaN(n) || (Dt(n) ? (Ct.value = n, d = !0) : ($.hid = void 0, en({
7193
- message: c("alert.error.hotelIdNotFound"),
7052
+ let e = parseInt($.a), t = parseInt($.c), n = parseInt($.hid), i = parseInt($.n), a = $.ci, o = $.co, c = $.id, l = parseInt($.gid), u = $.discount, d = !1;
7053
+ if (isNaN(e) || (e > Ft.value ? St.value = Ft.value : St.value = e, St.value === Lt.value && ($.a = void 0)), isNaN(t) || (t > It.value ? K.value = It.value : K.value = t, K.value === Rt.value && ($.c = void 0)), isNaN(i) || i > 0 && ($.n = void 0), isNaN(n) || (Dt(n) ? (Ct.value = n, d = !0) : ($.hid = void 0, en({
7054
+ message: s("alert.error.hotelIdNotFound"),
7194
7055
  type: "error"
7195
- }))), i && a) {
7196
- if (de(i) && de(a)) {
7197
- let e = new Date(be(i).setHours(12, 0, 0, 0)), t = new Date(be(a).setHours(12, 0, 0, 0));
7056
+ }))), a && o) {
7057
+ if (Me(a) && Me(o)) {
7058
+ let e = new Date(je(a).setHours(12, 0, 0, 0)), t = new Date(je(o).setHours(12, 0, 0, 0));
7198
7059
  e <= t ? (wt.value = e, Tt.value = t) : ($.ci = void 0, $.co = void 0, en({
7199
- message: c("alert.error.invalidDateRange"),
7060
+ message: s("alert.error.invalidDateRange"),
7200
7061
  type: "error"
7201
7062
  }));
7202
7063
  } else en({
7203
- message: c("alert.error.wrongDateFormat"),
7064
+ message: s("alert.error.wrongDateFormat"),
7204
7065
  type: "error"
7205
7066
  });
7206
7067
  }
7207
- if (s && Zt(s), l) {
7208
- await on(l) || delete $.gid;
7209
- return;
7210
- }
7211
- u && sn(u), o.disableDefaultLocation === "yes" && d === !1 ? (Ct.value = void 0, p.value = NaN) : rn();
7068
+ c && Zt(c), l ? await on(l) || delete $.gid : (u && sn(u), r.disableDefaultLocation === "yes" && d === !1 ? (Ct.value = void 0, p.value = NaN) : rn());
7212
7069
  }
7213
- return (n, o) => (b(), u(Te, { styling: e.styling }, {
7214
- default: S(() => [(b(), u(i, { onResolve: ri }, {
7215
- default: S(() => [l(r(t), {
7070
+ return (n, r) => (b(), d(Xe, { styling: e.styling }, {
7071
+ default: T(() => [(b(), d(i, { onResolve: ri }, {
7072
+ default: T(() => [u(a(t), {
7216
7073
  id: "konnectio-hotel-module",
7217
7074
  "access-token": e.accessToken,
7218
- callback: r(nn)
7075
+ callback: a(nn)
7219
7076
  }, {
7220
- default: S(() => [
7221
- ne(l(qt, { onCallback: ri }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !r(ot)]]),
7222
- ne(l(X, null, null, 512), [[ee, vn.value]]),
7223
- ne(l(tt, {
7077
+ default: T(() => [
7078
+ ie(u(qt, { onCallback: ri }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !a(ot)]]),
7079
+ ie(u(X, null, null, 512), [[ee, vn.value]]),
7080
+ ie(u(me, {
7224
7081
  layout: e.headerLayout,
7225
7082
  steps: Cn.value,
7226
- onReset: r(ln)
7083
+ onReset: a(ln)
7227
7084
  }, {
7228
- availability: S(({ next: t }) => [l(Y, {
7085
+ availability: T(({ next: t }) => [u(Y, {
7229
7086
  "show-remove-room": !0,
7230
7087
  "availability-discount": "",
7231
7088
  "deal-flow": e.requireDealCode === "yes"
7232
7089
  }, {
7233
- form: S(() => [T("div", Bn, [
7234
- T("div", Vn, [l(Ke, {
7090
+ form: T(() => [C("div", Bn, [
7091
+ C("div", Vn, [u($e, {
7235
7092
  booking: !0,
7236
7093
  "selected-location": Number(e.selectedLocation),
7237
7094
  "disable-default-location": e.disableDefaultLocation === "yes",
7238
- "hide-locations": e.hideLocations === "yes" || r(yt)
7095
+ "hide-locations": e.hideLocations === "yes" || a(yt)
7239
7096
  }, null, 8, [
7240
7097
  "selected-location",
7241
7098
  "disable-default-location",
7242
7099
  "hide-locations"
7243
7100
  ])]),
7244
- r(bt) ? (b(), m("div", Hn, [
7245
- T("h3", null, h(r(c)("dealCode.noAvailabilityTitle")), 1),
7246
- T("p", null, h(r(c)("dealCode.noAvailabilityBody")), 1),
7247
- l(Pe, {
7248
- label: r(c)("dealCode.tryAnotherCode"),
7101
+ a(bt) ? (b(), h("div", Hn, [
7102
+ C("h3", null, w(a(s)("dealCode.noAvailabilityTitle")), 1),
7103
+ C("p", null, w(a(s)("dealCode.noAvailabilityBody")), 1),
7104
+ u(Be, {
7105
+ label: a(s)("dealCode.tryAnotherCode"),
7249
7106
  secondary: "",
7250
- onClickEvent: r(un)
7107
+ onClickEvent: a(un)
7251
7108
  }, null, 8, ["label", "onClickEvent"])
7252
- ])) : d("", !0),
7253
- r(ot) ? (b(), m("div", Un, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(lt) ? r(lt) : r(ct)}</b>` }) }, null, 8, Wn)])) : d("", !0),
7254
- r(st) && !r(yt) ? (b(), m("div", Gn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(ut)}</b>` }) }, null, 8, Kn)])) : d("", !0),
7255
- r(Vt) ? (b(), m("div", qn, [T("span", null, [s(h(r(c)("general.filteredListingNotice")) + " ", 1), T("button", {
7109
+ ])) : f("", !0),
7110
+ a(ot) ? (b(), h("div", Un, [C("span", { innerHTML: a(s)("guestDiscount.displayMessage", { name: `<b>${a(lt) ? a(lt) : a(ct)}</b>` }) }, null, 8, Wn)])) : f("", !0),
7111
+ a(st) && !a(yt) ? (b(), h("div", Gn, [C("span", { innerHTML: a(s)("guestDiscount.displayMessage", { name: `<b>${a(ut)}</b>` }) }, null, 8, Kn)])) : f("", !0),
7112
+ a(Vt) ? (b(), h("div", qn, [C("span", null, [c(w(a(s)("general.filteredListingNotice")) + " ", 1), C("button", {
7256
7113
  class: "link",
7257
- onClick: o[0] ||= (e) => ei()
7258
- }, h(r(c)("general.filteredListingShowAll")), 1)])])) : d("", !0),
7259
- d("", !0),
7260
- !r(D) && r(qe) ? (b(), m("div", Jn, [Tn.value.camping && Tn.value.camping.length > 0 && e.onlyShow !== "non-camping" || Tn.value.rooms && Tn.value.rooms.length > 0 || r(Ve).templates.length > 0 || r(Ve).specialTemplates.length > 0 && !r(Vt) ? (b(), m("div", Yn, [
7261
- r(Ve).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div", Xn, [e.onlyShow !== "packages" && !r(yt) ? (b(), m("h2", Zn, [l(V, {
7114
+ onClick: r[0] ||= (e) => ei()
7115
+ }, w(a(s)("general.filteredListingShowAll")), 1)])])) : f("", !0),
7116
+ f("", !0),
7117
+ !a(E) && a(Ge) ? (b(), h("div", Jn, [Tn.value.camping && Tn.value.camping.length > 0 && e.onlyShow !== "non-camping" || Tn.value.rooms && Tn.value.rooms.length > 0 || a(B).templates.length > 0 || a(B).specialTemplates.length > 0 && !a(Vt) ? (b(), h("div", Yn, [
7118
+ a(B).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), h("div", Xn, [e.onlyShow !== "packages" && !a(yt) ? (b(), h("h2", Zn, [u(H, {
7262
7119
  icon: "box",
7263
7120
  type: "fal",
7264
7121
  color: "header"
7265
- }), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])) : d("", !0), T("ul", Qn, [(b(!0), m(a, null, w(Dn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), u(On, {
7122
+ }), C("span", null, w(a(s)("booking.availability.packagesTitle")), 1)])) : f("", !0), C("ul", Qn, [(b(!0), h(o, null, D(Dn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), d(On, {
7266
7123
  key: n,
7267
7124
  id: n,
7268
7125
  description: o,
@@ -7281,29 +7138,29 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7281
7138
  "room-groups",
7282
7139
  "callback",
7283
7140
  "hide-addons"
7284
- ]))), 128))])])) : d("", !0),
7285
- r(Ve).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div", $n, [Tn.value.rooms && e.onlyShow !== "camping" ? (b(), m(a, { key: 0 }, [r(Ve).templates.length > 0 && e.onlyShow !== "rooms" && !r(yt) ? (b(), m("h2", er, [l(V, {
7141
+ ]))), 128))])])) : f("", !0),
7142
+ a(B).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), h("div", $n, [Tn.value.rooms && e.onlyShow !== "camping" ? (b(), h(o, { key: 0 }, [a(B).templates.length > 0 && e.onlyShow !== "rooms" && !a(yt) ? (b(), h("h2", er, [u(H, {
7286
7143
  icon: "house",
7287
7144
  type: "fal",
7288
7145
  color: "header"
7289
- }), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul", tr, [(b(!0), m(a, null, w(Tn.value.rooms, (e, n) => (b(), u(hn, {
7146
+ }), C("span", null, w(a(s)("booking.availability.roomsTitle")), 1)])) : f("", !0), C("ul", tr, [(b(!0), h(o, null, D(Tn.value.rooms, (e, n) => (b(), d(hn, {
7290
7147
  room: e,
7291
7148
  key: n,
7292
7149
  callback: t
7293
- }, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0), Tn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), m(a, { key: 1 }, [r(Ve).templates.length > 0 && e.onlyShow !== "camping" && !r(yt) ? (b(), m("h2", nr, [l(V, {
7150
+ }, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0), Tn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), h(o, { key: 1 }, [a(B).templates.length > 0 && e.onlyShow !== "camping" && !a(yt) ? (b(), h("h2", nr, [u(H, {
7294
7151
  icon: "map-location-dot",
7295
7152
  type: "fal",
7296
7153
  color: "header"
7297
- }), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul", rr, [(b(!0), m(a, null, w(Tn.value.camping, (e, n) => (b(), u(hn, {
7154
+ }), C("span", null, w(a(s)("booking.availability.campingTitle")), 1)])) : f("", !0), C("ul", rr, [(b(!0), h(o, null, D(Tn.value.camping, (e, n) => (b(), d(hn, {
7298
7155
  room: e,
7299
7156
  key: n,
7300
7157
  callback: t
7301
- }, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0)])) : d("", !0),
7302
- r(Vt) ? d("", !0) : (b(), m(a, { key: 2 }, [r(Ve).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("div", ir, [T("h2", ar, [l(V, {
7158
+ }, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0)])) : f("", !0),
7159
+ a(Vt) ? f("", !0) : (b(), h(o, { key: 2 }, [a(B).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), h("div", ir, [C("h2", ar, [u(H, {
7303
7160
  icon: "sparkles",
7304
7161
  type: "fal",
7305
7162
  color: "header"
7306
- }), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul", or, [(b(!0), m(a, null, w(kn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), u(jn, {
7163
+ }), C("span", null, w(a(s)("hotel.specialOffers")), 1)]), C("ul", or, [(b(!0), h(o, null, D(kn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), d(jn, {
7307
7164
  key: e,
7308
7165
  id: e,
7309
7166
  description: i,
@@ -7322,53 +7179,53 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7322
7179
  "toDate",
7323
7180
  "weekendFee",
7324
7181
  "room-groups"
7325
- ]))), 128))])])) : d("", !0)], 64)),
7326
- (r(Ve).templates.length === 0 && e.onlyShow !== "rooms" || r(Ve).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div", sr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)])) : d("", !0)
7327
- ])) : r(Ve).nextAvailableDates.length > 0 ? (b(), m("div", cr, [
7328
- T("div", lr, [T("span", { innerHTML: r(c)("hotel.everyRoomIsBooked") }, null, 8, ur)]),
7329
- T("h2", dr, [l(V, {
7182
+ ]))), 128))])])) : f("", !0)], 64)),
7183
+ (a(B).templates.length === 0 && e.onlyShow !== "rooms" || a(B).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), h("div", sr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)])) : f("", !0)
7184
+ ])) : a(B).nextAvailableDates.length > 0 ? (b(), h("div", cr, [
7185
+ C("div", lr, [C("span", { innerHTML: a(s)("hotel.everyRoomIsBooked") }, null, 8, ur)]),
7186
+ C("h2", dr, [u(H, {
7330
7187
  icon: "calendar-circle-exclamation",
7331
7188
  type: "fal",
7332
7189
  color: "header"
7333
- }), T("span", null, h(r(c)("booking.availability.nextAvailableDates")), 1)]),
7334
- T("ul", fr, [(b(!0), m(a, null, w(r(Ve).nextAvailableDates, (e, t) => (b(), m("li", { key: t }, [
7335
- T("h3", { title: `${r(ge)(e.fromDate, 0, !0)} - ${r(ge)(e.toDate, 0, !0)}` }, [T("span", null, h(`${r(ge)(e.fromDate, 0, !0)} - ${r(ge)(e.toDate, 0, !0)}`), 1)], 8, pr),
7336
- T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", mr, [l(V, {
7190
+ }), C("span", null, w(a(s)("booking.availability.nextAvailableDates")), 1)]),
7191
+ C("ul", fr, [(b(!0), h(o, null, D(a(B).nextAvailableDates, (e, t) => (b(), h("li", { key: t }, [
7192
+ C("h3", { title: `${a(Le)(e.fromDate, 0, !0)} - ${a(Le)(e.toDate, 0, !0)}` }, [C("span", null, w(`${a(Le)(e.fromDate, 0, !0)} - ${a(Le)(e.toDate, 0, !0)}`), 1)], 8, pr),
7193
+ C("ul", null, [isNaN(e.roomCount) ? f("", !0) : (b(), h("li", mr, [u(H, {
7337
7194
  icon: "house",
7338
7195
  type: "fal",
7339
7196
  color: "header"
7340
- }), T("span", null, h(r(c)("booking.availability.units")) + ": " + h(e.roomCount), 1)])), T("li", null, [l(V, {
7197
+ }), C("span", null, w(a(s)("booking.availability.units")) + ": " + w(e.roomCount), 1)])), C("li", null, [u(H, {
7341
7198
  icon: "money-bill",
7342
7199
  type: "fal",
7343
7200
  color: "header"
7344
- }), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(Ne)(e.priceStartFrom, r(q))), 1)])]),
7345
- l(Pe, {
7346
- label: r(c)("booking.availability.selectDates"),
7201
+ }), C("span", null, w(a(s)("booking.availability.pricesFrom")) + ": " + w(a(we)(e.priceStartFrom, a(q))), 1)])]),
7202
+ u(Be, {
7203
+ label: a(s)("booking.availability.selectDates"),
7347
7204
  "full-width": "",
7348
- onClickEvent: (t) => r(Ot)(r(be)(e.fromDate), r(be)(e.toDate))
7205
+ onClickEvent: (t) => a(Ot)(a(je)(e.fromDate), a(je)(e.toDate))
7349
7206
  }, null, 8, ["label", "onClickEvent"])
7350
7207
  ]))), 128))])
7351
- ])) : (b(), m("div", hr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) : r(We) && !r(D) ? (b(), m("div", gr, [T("span", null, h(r(c)("alert.error.couldntFetchListings")), 1), l(Pe, {
7352
- label: r(c)("general.searchAgain"),
7208
+ ])) : (b(), h("div", hr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)]))])) : a(Re) && !a(E) ? (b(), h("div", gr, [C("span", null, w(a(s)("alert.error.couldntFetchListings")), 1), u(Be, {
7209
+ label: a(s)("general.searchAgain"),
7353
7210
  "full-width": "",
7354
- onClickEvent: o[2] ||= (e) => Rn()
7355
- }, null, 8, ["label"])])) : isNaN(r(p)) && !r(D) ? (b(), m("div", _r, [T("span", null, h(r(c)("alert.info.selectHotelToStart")), 1)])) : (b(), m("div", vr, [
7356
- l(et),
7357
- l(et),
7358
- l(et)
7211
+ onClickEvent: r[2] ||= (e) => Rn()
7212
+ }, null, 8, ["label"])])) : isNaN(a(p)) && !a(E) ? (b(), h("div", _r, [C("span", null, w(a(s)("alert.info.selectHotelToStart")), 1)])) : (b(), h("div", vr, [
7213
+ u(pe),
7214
+ u(pe),
7215
+ u(pe)
7359
7216
  ]))
7360
7217
  ])]),
7361
- navigation: S(() => [
7362
- r(Ze) ? (b(), u(Pe, {
7218
+ navigation: T(() => [
7219
+ a(Ye) ? (b(), d(Be, {
7363
7220
  key: 0,
7364
- label: isNaN(r(p)) ? r(c)("availability.buttonLabel") : r(c)("general.searchAgain"),
7365
- "is-loading": r(D),
7221
+ label: isNaN(a(p)) ? a(s)("availability.buttonLabel") : a(s)("general.searchAgain"),
7222
+ "is-loading": a(E),
7366
7223
  "full-width": "",
7367
- onClickEvent: o[3] ||= (e) => Rn()
7368
- }, null, 8, ["label", "is-loading"])) : (b(), u(Pe, {
7224
+ onClickEvent: r[3] ||= (e) => Rn()
7225
+ }, null, 8, ["label", "is-loading"])) : (b(), d(Be, {
7369
7226
  key: 1,
7370
- label: r(Ge) || An.value ? r(c)("booking.availability.nextButton") : r(c)("general.chooseAddons"),
7371
- disabled: !r(Fe),
7227
+ label: a(Ve) || An.value ? a(s)("booking.availability.nextButton") : a(s)("general.chooseAddons"),
7228
+ disabled: !a(Ie),
7372
7229
  "full-width": "",
7373
7230
  onClickEvent: (e) => ti(t)
7374
7231
  }, null, 8, [
@@ -7376,178 +7233,178 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7376
7233
  "disabled",
7377
7234
  "onClickEvent"
7378
7235
  ])),
7379
- ne(T("span", yr, [l(V, {
7236
+ ie(C("span", yr, [u(H, {
7380
7237
  icon: "exclamation-triangle",
7381
7238
  type: "fas"
7382
- }), T("span", null, h(r(c)("hotel.mismatchingAdults", {
7383
- searchAdults: r(St),
7384
- selectedAdults: r(it)
7385
- })), 1)], 512), [[ee, r(nt)]]),
7386
- ne(T("span", br, [l(V, {
7239
+ }), C("span", null, w(a(s)("hotel.mismatchingAdults", {
7240
+ searchAdults: a(St),
7241
+ selectedAdults: a(it)
7242
+ })), 1)], 512), [[ee, a(nt)]]),
7243
+ ie(C("span", br, [u(H, {
7387
7244
  icon: "exclamation-triangle",
7388
7245
  type: "fas"
7389
- }), T("span", null, h(r(c)("hotel.mismatchingChildren", {
7390
- searchChildren: r(K),
7391
- selectedChildren: r(at)
7392
- })), 1)], 512), [[ee, r(rt)]])
7246
+ }), C("span", null, w(a(s)("hotel.mismatchingChildren", {
7247
+ searchChildren: a(K),
7248
+ selectedChildren: a(at)
7249
+ })), 1)], 512), [[ee, a(rt)]])
7393
7250
  ]),
7394
7251
  _: 2
7395
7252
  }, 1032, ["deal-flow"])]),
7396
- addons: S(({ next: t, prev: n }) => [r(qe) ? (b(), u(Y, {
7253
+ addons: T(({ next: t, prev: n }) => [a(Ge) ? (b(), d(Y, {
7397
7254
  key: 0,
7398
7255
  "prev-callback": () => In(n),
7399
7256
  "deal-flow": e.requireDealCode === "yes"
7400
7257
  }, {
7401
- form: S(() => [T("form", xr, [
7402
- T("h2", null, [T("span", null, h(r(c)("booking.reservation.addons")), 1)]),
7403
- r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div", Sr, [T("p", {
7404
- innerHTML: r(c)("hotel.addonTopNotice"),
7258
+ form: T(() => [C("form", xr, [
7259
+ C("h2", null, [C("span", null, w(a(s)("booking.reservation.addons")), 1)]),
7260
+ a(s)("hotel.addonTopNotice") && a(s)("hotel.addonTopNotice") !== "<br>" ? (b(), h("div", Sr, [C("p", {
7261
+ innerHTML: a(s)("hotel.addonTopNotice"),
7405
7262
  class: "konnectio-wysiwyg"
7406
- }, null, 8, Cr)])) : d("", !0),
7407
- T("div", null, [isNaN(r(g)) ? (b(), m("div", wr, [(b(!0), m(a, null, w(r(Me), (e) => (b(), m(a, { key: e.roomGroupID }, [r(Z)(e) ? (b(), m("ul", Tr, [(b(!0), m(a, null, w(e.variants, (t, n) => (b(), m("li", { key: t.ratePlanID }, [T("h4", null, [T("span", null, h(r(pe)(e.title)), 1)]), (b(!0), m(a, null, w(xn(t.rooms), (i) => (b(), m(a, { key: `${i.configIdx}-${i.roomIdx}` }, [yn(t.addons, i.childrenCount).length > 0 ? (b(), m("div", Er, [T("h5", null, [l(V, {
7263
+ }, null, 8, Cr)])) : f("", !0),
7264
+ C("div", null, [isNaN(a(g)) ? (b(), h("div", wr, [(b(!0), h(o, null, D(a(Ne), (e) => (b(), h(o, { key: e.roomGroupID }, [a(Z)(e) ? (b(), h("ul", Tr, [(b(!0), h(o, null, D(e.variants, (t, n) => (b(), h("li", { key: t.ratePlanID }, [C("h4", null, [C("span", null, w(a(Oe)(e.title)), 1)]), (b(!0), h(o, null, D(xn(t.rooms), (r) => (b(), h(o, { key: `${r.configIdx}-${r.roomIdx}` }, [yn(t.addons, r.childrenCount).length > 0 ? (b(), h("div", Er, [C("h5", null, [u(H, {
7408
7265
  icon: "check-circle",
7409
7266
  type: "fas"
7410
- }), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(yn(t.addons, i.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
7411
- T("b", null, h(r(pe)(t)), 1),
7412
- T("span", null, h(r(Ne)(n, r(q))) + " " + h(r(le)(i)), 1),
7413
- a ? (b(), m("p", {
7267
+ }), C("span", null, w(a(s)("general.includedInPrice")), 1)]), C("ul", null, [(b(!0), h(o, null, D(yn(t.addons, r.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: r, description: i }) => (b(), h("li", { key: e }, [C("div", null, [
7268
+ C("b", null, w(a(Oe)(t)), 1),
7269
+ C("span", null, w(a(we)(n, a(q))) + " " + w(a(Fe)(r)), 1),
7270
+ i ? (b(), h("p", {
7414
7271
  key: 0,
7415
- innerHTML: r(_e)(a)
7416
- }, null, 8, Dr)) : d("", !0)
7417
- ])]))), 128))])])) : d("", !0), bn(t.addons, i.childrenCount).length > 0 ? (b(), m("table", Or, [T("thead", null, [T("tr", null, [
7418
- T("th", null, [T("span", null, h(r(pe)(t.name)), 1)]),
7419
- d("", !0),
7420
- T("th", kr, [T("b", null, [
7421
- l(V, {
7272
+ innerHTML: a(Ae)(i)
7273
+ }, null, 8, Dr)) : f("", !0)
7274
+ ])]))), 128))])])) : f("", !0), bn(t.addons, r.childrenCount).length > 0 ? (b(), h("table", Or, [C("thead", null, [C("tr", null, [
7275
+ C("th", null, [C("span", null, w(a(Oe)(t.name)), 1)]),
7276
+ f("", !0),
7277
+ C("th", kr, [C("b", null, [
7278
+ u(H, {
7422
7279
  icon: "male",
7423
7280
  type: "fas",
7424
7281
  color: "font"
7425
7282
  }),
7426
- T("span", null, h(i.adultsCount), 1),
7427
- i.childrenCount > 0 ? (b(), u(V, {
7283
+ C("span", null, w(r.adultsCount), 1),
7284
+ r.childrenCount > 0 ? (b(), d(H, {
7428
7285
  key: 0,
7429
7286
  icon: "child",
7430
7287
  type: "fas",
7431
7288
  color: "font"
7432
- })) : d("", !0),
7433
- i.childrenCount > 0 ? (b(), m("span", Ar, h(i.childrenCount), 1)) : d("", !0)
7289
+ })) : f("", !0),
7290
+ r.childrenCount > 0 ? (b(), h("span", Ar, w(r.childrenCount), 1)) : f("", !0)
7434
7291
  ])])
7435
- ])]), T("tbody", null, [(b(!0), m(a, null, w(bn(t.addons, i.childrenCount), ({ cardinality: t, quantityStrategy: a, maximumNumber: o, id: s, name: c, price: f, image: p, description: g }) => (b(), m("tr", { key: s }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": p }]) }, [p ? (b(), m("div", jr, [l(r(G), {
7292
+ ])]), C("tbody", null, [(b(!0), h(o, null, D(bn(t.addons, r.childrenCount), ({ cardinality: t, quantityStrategy: i, maximumNumber: o, id: s, name: c, price: l, image: p, description: g }) => (b(), h("tr", { key: s }, [C("td", { class: m(["konnectio-table-addons-information", { "has-image": p }]) }, [p ? (b(), h("div", jr, [u(a(G), {
7436
7293
  src: p,
7437
7294
  "zoom-scale": 1
7438
- }, null, 8, ["src"])])) : d("", !0), T("div", null, [
7439
- T("b", null, h(r(pe)(c)), 1),
7440
- T("span", null, h(r(Ne)(f, r(q))) + " " + h(r(le)(a)), 1),
7441
- g ? (b(), m("p", {
7295
+ }, null, 8, ["src"])])) : f("", !0), C("div", null, [
7296
+ C("b", null, w(a(Oe)(c)), 1),
7297
+ C("span", null, w(a(we)(l, a(q))) + " " + w(a(Fe)(i)), 1),
7298
+ g ? (b(), h("p", {
7442
7299
  key: 0,
7443
- innerHTML: r(_e)(g)
7444
- }, null, 8, Mr)) : d("", !0)
7445
- ])], 2), T("td", Nr, [r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx] ? (b(), u(je, {
7300
+ innerHTML: a(Ae)(g)
7301
+ }, null, 8, Mr)) : f("", !0)
7302
+ ])], 2), C("td", Nr, [a(ke)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (b(), d(qe, {
7446
7303
  key: 0,
7447
- modelValue: r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s],
7448
- "onUpdate:modelValue": (t) => r(De)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][s] = t,
7304
+ modelValue: a(ke)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][s],
7305
+ "onUpdate:modelValue": (t) => a(ke)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][s] = t,
7449
7306
  small: !0,
7450
7307
  "min-value": 0,
7451
- "max-value": r(ue)(t, o)
7308
+ "max-value": a(Te)(t, o)
7452
7309
  }, null, 8, [
7453
7310
  "modelValue",
7454
7311
  "onUpdate:modelValue",
7455
7312
  "max-value"
7456
- ])) : d("", !0)])]))), 128))])])) : d("", !0)], 64))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(re).length > 0 ? (b(), m("div", Pr, [T("div", null, [T("h4", null, [T("span", null, h(r(Je)?.name), 1)]), (b(!0), m(a, null, w(Sn.value, (e) => (b(), m(a, { key: `${e.roomGroupId}-${e.configIdx}` }, [yn(r(H).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("div", Fr, [T("h5", null, [l(V, {
7313
+ ])) : f("", !0)])]))), 128))])])) : f("", !0)], 64))), 128))]))), 128))])) : f("", !0)], 64))), 128))])) : a(ne).length > 0 ? (b(), h("div", Pr, [C("div", null, [C("h4", null, [C("span", null, w(a(Je)?.name), 1)]), (b(!0), h(o, null, D(Sn.value, (e) => (b(), h(o, { key: `${e.roomGroupId}-${e.configIdx}` }, [yn(a(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), h("div", Fr, [C("h5", null, [u(H, {
7457
7314
  icon: "check-circle",
7458
7315
  type: "fas"
7459
- }), T("span", null, h(r(c)("general.includedInPrice")), 1)]), T("ul", null, [(b(!0), m(a, null, w(yn(r(H).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ id: e, name: t, price: n, quantityStrategy: i, description: a }) => (b(), m("li", { key: e }, [T("div", null, [
7460
- T("b", null, h(r(pe)(t)), 1),
7461
- T("span", null, h(r(Ne)(n, r(q))) + " " + h(r(le)(i)), 1),
7462
- a ? (b(), m("p", {
7316
+ }), C("span", null, w(a(s)("general.includedInPrice")), 1)]), C("ul", null, [(b(!0), h(o, null, D(yn(a(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ id: e, name: t, price: n, quantityStrategy: r, description: i }) => (b(), h("li", { key: e }, [C("div", null, [
7317
+ C("b", null, w(a(Oe)(t)), 1),
7318
+ C("span", null, w(a(we)(n, a(q))) + " " + w(a(Fe)(r)), 1),
7319
+ i ? (b(), h("p", {
7463
7320
  key: 0,
7464
- innerHTML: r(_e)(a)
7465
- }, null, 8, Ir)) : d("", !0)
7466
- ])]))), 128))])])) : d("", !0), bn(r(H).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), m("table", Lr, [T("thead", null, [T("tr", null, [
7467
- T("th", null, [T("span", null, h(r(pe)(r(H).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), m("span", Rr, "(" + h(r(c)("booking.reservation.room")) + " " + h(e.unitNumber) + ")", 1)) : d("", !0)]),
7468
- d("", !0),
7469
- o[26] ||= T("th", { class: "konnectio-event-addons-price" }, null, -1)
7470
- ])]), T("tbody", null, [(b(!0), m(a, null, w(bn(r(H).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: i, id: a, name: o, price: s, description: c, image: u }) => (b(), m("tr", { key: a }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": u }]) }, [u ? (b(), m("div", zr, [l(r(G), {
7471
- src: u,
7321
+ innerHTML: a(Ae)(i)
7322
+ }, null, 8, Ir)) : f("", !0)
7323
+ ])]))), 128))])])) : f("", !0), bn(a(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), h("table", Lr, [C("thead", null, [C("tr", null, [
7324
+ C("th", null, [C("span", null, w(a(Oe)(a(Ke).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), h("span", Rr, "(" + w(a(s)("booking.reservation.room")) + " " + w(e.unitNumber) + ")", 1)) : f("", !0)]),
7325
+ f("", !0),
7326
+ r[26] ||= C("th", { class: "konnectio-event-addons-price" }, null, -1)
7327
+ ])]), C("tbody", null, [(b(!0), h(o, null, D(bn(a(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: i, name: o, price: s, description: c, image: l }) => (b(), h("tr", { key: i }, [C("td", { class: m(["konnectio-table-addons-information", { "has-image": l }]) }, [l ? (b(), h("div", zr, [u(a(G), {
7328
+ src: l,
7472
7329
  "zoom-scale": 1
7473
- }, null, 8, ["src"])])) : d("", !0), T("div", null, [
7474
- T("b", null, h(r(pe)(o)), 1),
7475
- T("span", null, h(r(Ne)(s, r(q))) + " " + h(r(le)(n)), 1),
7476
- c ? (b(), m("p", {
7330
+ }, null, 8, ["src"])])) : f("", !0), C("div", null, [
7331
+ C("b", null, w(a(Oe)(o)), 1),
7332
+ C("span", null, w(a(we)(s, a(q))) + " " + w(a(Fe)(n)), 1),
7333
+ c ? (b(), h("p", {
7477
7334
  key: 0,
7478
- innerHTML: r(_e)(c)
7479
- }, null, 8, Br)) : d("", !0)
7480
- ])], 2), T("td", Vr, [l(je, {
7481
- modelValue: r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
7482
- "onUpdate:modelValue": (t) => r(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
7335
+ innerHTML: a(Ae)(c)
7336
+ }, null, 8, Br)) : f("", !0)
7337
+ ])], 2), C("td", Vr, [u(qe, {
7338
+ modelValue: a(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[i],
7339
+ "onUpdate:modelValue": (t) => a(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[i] = t,
7483
7340
  small: !0,
7484
7341
  "min-value": 0,
7485
- "max-value": r(ue)(t, i)
7342
+ "max-value": a(Te)(t, r)
7486
7343
  }, null, 8, [
7487
7344
  "modelValue",
7488
7345
  "onUpdate:modelValue",
7489
7346
  "max-value"
7490
- ])])]))), 128))])])) : d("", !0)], 64))), 128))])])) : d("", !0)])
7347
+ ])])]))), 128))])])) : f("", !0)], 64))), 128))])])) : f("", !0)])
7491
7348
  ])]),
7492
- navigation: S(() => [l(Pe, {
7493
- label: r(c)("general.startReservation"),
7349
+ navigation: T(() => [u(Be, {
7350
+ label: a(s)("general.startReservation"),
7494
7351
  "full-width": "",
7495
7352
  onClickEvent: (e) => Nn(t)
7496
7353
  }, null, 8, ["label", "onClickEvent"])]),
7497
7354
  _: 2
7498
- }, 1032, ["prev-callback", "deal-flow"])) : d("", !0)]),
7499
- reservation: S(({ next: t, prev: n, reset: i }) => [r(qe) ? (b(), u(Y, {
7355
+ }, 1032, ["prev-callback", "deal-flow"])) : f("", !0)]),
7356
+ reservation: T(({ next: t, prev: n, reset: i }) => [a(Ge) ? (b(), d(Y, {
7500
7357
  key: 0,
7501
7358
  "prev-callback": () => In(n),
7502
7359
  "show-terms-notice": !0,
7503
7360
  "show-gift-card": !0,
7504
7361
  "deal-flow": e.requireDealCode === "yes"
7505
7362
  }, {
7506
- form: S(() => [T("form", Hr, [
7507
- T("h2", null, [T("span", null, h(r(c)("booking.reservation.detailsTitle")), 1)]),
7508
- r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div", Ur, [T("p", {
7509
- innerHTML: r(c)("hotel.reservationTopNotice"),
7363
+ form: T(() => [C("form", Hr, [
7364
+ C("h2", null, [C("span", null, w(a(s)("booking.reservation.detailsTitle")), 1)]),
7365
+ a(s)("hotel.reservationTopNotice") && a(s)("hotel.reservationTopNotice") !== "<br>" ? (b(), h("div", Ur, [C("p", {
7366
+ innerHTML: a(s)("hotel.reservationTopNotice"),
7510
7367
  class: "konnectio-wysiwyg"
7511
- }, null, 8, Wr)])) : d("", !0),
7512
- r(J)(r(p)) && r(Ut)(r(p)) && r(Wt)(r(p)) ? (b(), m("ul", {
7368
+ }, null, 8, Wr)])) : f("", !0),
7369
+ a(J)(a(p)) && a(Ut)(a(p)) && a(Wt)(a(p)) ? (b(), h("ul", {
7513
7370
  key: 1,
7514
- class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(Ut)(r(p)) && r(Wt)(r(p)) }])
7515
- }, [r(Ut)(r(p)) ? (b(), m("li", Gr, [l(Mn, {
7516
- modelValue: r(M),
7517
- "onUpdate:modelValue": o[4] ||= (e) => y(M) ? M.value = e : null,
7518
- label: r(c)("booking.reservation.arrivalTime"),
7371
+ class: m(["konnectio-reservation-timepicker", { "konnectio-split-inputs": a(Ut)(a(p)) && a(Wt)(a(p)) }])
7372
+ }, [a(Ut)(a(p)) ? (b(), h("li", Gr, [u(Mn, {
7373
+ modelValue: a(M),
7374
+ "onUpdate:modelValue": r[4] ||= (e) => v(M) ? M.value = e : null,
7375
+ label: a(s)("booking.reservation.arrivalTime"),
7519
7376
  icon: "hourglass-start",
7520
- "min-time": r(Gt)(r(p)),
7521
- "max-time": r(Kt)(r(p)),
7377
+ "min-time": a(Gt)(a(p)),
7378
+ "max-time": a(Kt)(a(p)),
7522
7379
  required: ""
7523
7380
  }, null, 8, [
7524
7381
  "modelValue",
7525
7382
  "label",
7526
7383
  "min-time",
7527
7384
  "max-time"
7528
- ])])) : d("", !0), r(Wt)(r(p)) ? (b(), m("li", Kr, [l(Mn, {
7529
- modelValue: r(N),
7530
- "onUpdate:modelValue": o[5] ||= (e) => y(N) ? N.value = e : null,
7531
- label: r(c)("booking.reservation.departureTime"),
7385
+ ])])) : f("", !0), a(Wt)(a(p)) ? (b(), h("li", Kr, [u(Mn, {
7386
+ modelValue: a(N),
7387
+ "onUpdate:modelValue": r[5] ||= (e) => v(N) ? N.value = e : null,
7388
+ label: a(s)("booking.reservation.departureTime"),
7532
7389
  icon: "hourglass-end",
7533
- "min-time": r(Jt)(r(p)),
7534
- "max-time": r(Yt)(r(p)),
7390
+ "min-time": a(Jt)(a(p)),
7391
+ "max-time": a(Yt)(a(p)),
7535
7392
  required: ""
7536
7393
  }, null, 8, [
7537
7394
  "modelValue",
7538
7395
  "label",
7539
7396
  "min-time",
7540
7397
  "max-time"
7541
- ])])) : d("", !0)], 2)) : d("", !0),
7542
- l(Fn, {
7543
- modelValue: r(P),
7544
- "onUpdate:modelValue": o[6] ||= (e) => y(P) ? P.value = e : null,
7545
- title: r(F),
7546
- "onUpdate:title": o[7] ||= (e) => y(F) ? F.value = e : null,
7547
- "exclude-title": r(At),
7548
- label: r(c)("booking.reservation.name"),
7398
+ ])])) : f("", !0)], 2)) : f("", !0),
7399
+ u(Fn, {
7400
+ modelValue: a(P),
7401
+ "onUpdate:modelValue": r[6] ||= (e) => v(P) ? P.value = e : null,
7402
+ title: a(F),
7403
+ "onUpdate:title": r[7] ||= (e) => v(F) ? F.value = e : null,
7404
+ "exclude-title": a(At),
7405
+ label: a(s)("booking.reservation.name"),
7549
7406
  icon: "user-alt",
7550
- placeholder: r(c)("booking.reservation.namePlaceholder"),
7407
+ placeholder: a(s)("booking.reservation.namePlaceholder"),
7551
7408
  error: Q("guest.name"),
7552
7409
  required: ""
7553
7410
  }, null, 8, [
@@ -7558,16 +7415,16 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7558
7415
  "placeholder",
7559
7416
  "error"
7560
7417
  ]),
7561
- l(Ae, {
7562
- modelValue: r(I),
7563
- "onUpdate:modelValue": o[8] ||= (e) => y(I) ? I.value = e : null,
7418
+ u(We, {
7419
+ modelValue: a(I),
7420
+ "onUpdate:modelValue": r[8] ||= (e) => v(I) ? I.value = e : null,
7564
7421
  type: "email",
7565
7422
  name: "email",
7566
7423
  autocomplete: "email",
7567
7424
  inputmode: "email",
7568
- label: r(c)("booking.reservation.email"),
7425
+ label: a(s)("booking.reservation.email"),
7569
7426
  icon: "at",
7570
- placeholder: r(c)("booking.reservation.emailPlaceholder"),
7427
+ placeholder: a(s)("booking.reservation.emailPlaceholder"),
7571
7428
  error: Q("guest.email"),
7572
7429
  required: ""
7573
7430
  }, null, 8, [
@@ -7576,17 +7433,17 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7576
7433
  "placeholder",
7577
7434
  "error"
7578
7435
  ]),
7579
- r(Bt) ? (b(), u(Ae, {
7436
+ a(Bt) ? (b(), d(We, {
7580
7437
  key: 2,
7581
- modelValue: r(R),
7582
- "onUpdate:modelValue": o[9] ||= (e) => y(R) ? R.value = e : null,
7438
+ modelValue: a(R),
7439
+ "onUpdate:modelValue": r[9] ||= (e) => v(R) ? R.value = e : null,
7583
7440
  type: "email",
7584
7441
  name: "confirm-email",
7585
7442
  autocomplete: "off",
7586
7443
  inputmode: "email",
7587
- label: r(c)("booking.reservation.confirmEmail"),
7444
+ label: a(s)("booking.reservation.confirmEmail"),
7588
7445
  icon: "at",
7589
- placeholder: r(c)("booking.reservation.confirmEmailPlaceholder"),
7446
+ placeholder: a(s)("booking.reservation.confirmEmailPlaceholder"),
7590
7447
  error: gn.value,
7591
7448
  required: ""
7592
7449
  }, null, 8, [
@@ -7594,35 +7451,35 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7594
7451
  "label",
7595
7452
  "placeholder",
7596
7453
  "error"
7597
- ])) : d("", !0),
7598
- r(zt) ? d("", !0) : (b(), m("div", qr, [l(Re, {
7599
- modelValue: r($e),
7600
- "onUpdate:modelValue": o[10] ||= (e) => y($e) ? $e.value = e : null,
7454
+ ])) : f("", !0),
7455
+ a(zt) ? f("", !0) : (b(), h("div", qr, [u(ve, {
7456
+ modelValue: a(tt),
7457
+ "onUpdate:modelValue": r[10] ||= (e) => v(tt) ? tt.value = e : null,
7601
7458
  type: "checkbox",
7602
7459
  name: "newsletter",
7603
- label: r(c)("booking.reservation.newsletterSignUp")
7460
+ label: a(s)("booking.reservation.newsletterSignUp")
7604
7461
  }, null, 8, ["modelValue", "label"])])),
7605
- r(Nt) ? d("", !0) : (b(), u(Ae, {
7462
+ a(Nt) ? f("", !0) : (b(), d(We, {
7606
7463
  key: 4,
7607
- modelValue: r(fe),
7608
- "onUpdate:modelValue": o[11] ||= (e) => y(fe) ? fe.value = e : null,
7464
+ modelValue: a(oe),
7465
+ "onUpdate:modelValue": r[11] ||= (e) => v(oe) ? oe.value = e : null,
7609
7466
  type: "text",
7610
7467
  name: "firm",
7611
7468
  autocomplete: "firm",
7612
- label: r(c)("booking.reservation.companyName"),
7469
+ label: a(s)("booking.reservation.companyName"),
7613
7470
  icon: "id-card",
7614
- placeholder: r(c)("booking.reservation.companyNamePlaceholder")
7471
+ placeholder: a(s)("booking.reservation.companyNamePlaceholder")
7615
7472
  }, null, 8, [
7616
7473
  "modelValue",
7617
7474
  "label",
7618
7475
  "placeholder"
7619
7476
  ])),
7620
- l(Ie, {
7621
- modelValue: r(z),
7622
- "onUpdate:modelValue": o[12] ||= (e) => y(z) ? z.value = e : null,
7477
+ u(ge, {
7478
+ modelValue: a(z),
7479
+ "onUpdate:modelValue": r[12] ||= (e) => v(z) ? z.value = e : null,
7623
7480
  icon: "phone-office",
7624
- label: r(c)("booking.reservation.phone"),
7625
- placeholder: r(c)("booking.reservation.phonePlaceholder"),
7481
+ label: a(s)("booking.reservation.phone"),
7482
+ placeholder: a(s)("booking.reservation.phonePlaceholder"),
7626
7483
  error: Q("guest.phone"),
7627
7484
  required: ""
7628
7485
  }, null, 8, [
@@ -7631,12 +7488,12 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7631
7488
  "placeholder",
7632
7489
  "error"
7633
7490
  ]),
7634
- l(Pn, {
7635
- modelValue: r(Se),
7636
- "onUpdate:modelValue": o[13] ||= (e) => y(Se) ? Se.value = e : null,
7637
- label: r(c)("booking.reservation.country"),
7638
- placeholder: r(c)("booking.reservation.countryPlaceholder"),
7639
- options: r(ie),
7491
+ u(Pn, {
7492
+ modelValue: a(fe),
7493
+ "onUpdate:modelValue": r[13] ||= (e) => v(fe) ? fe.value = e : null,
7494
+ label: a(s)("booking.reservation.country"),
7495
+ placeholder: a(s)("booking.reservation.countryPlaceholder"),
7496
+ options: a(ae),
7640
7497
  error: Q("guest.country"),
7641
7498
  required: ""
7642
7499
  }, null, 8, [
@@ -7646,15 +7503,15 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7646
7503
  "options",
7647
7504
  "error"
7648
7505
  ]),
7649
- l(Ae, {
7650
- modelValue: r(xe),
7651
- "onUpdate:modelValue": o[14] ||= (e) => y(xe) ? xe.value = e : null,
7506
+ u(We, {
7507
+ modelValue: a(de),
7508
+ "onUpdate:modelValue": r[14] ||= (e) => v(de) ? de.value = e : null,
7652
7509
  type: "textarea",
7653
7510
  name: "address",
7654
7511
  autocomplete: "street-address",
7655
- label: r(c)("booking.reservation.streetAddress"),
7512
+ label: a(s)("booking.reservation.streetAddress"),
7656
7513
  icon: "map-marked",
7657
- placeholder: r(c)("booking.reservation.streetAddressPlaceholder"),
7514
+ placeholder: a(s)("booking.reservation.streetAddressPlaceholder"),
7658
7515
  error: Q("guest.address1"),
7659
7516
  required: ""
7660
7517
  }, null, 8, [
@@ -7663,15 +7520,15 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7663
7520
  "placeholder",
7664
7521
  "error"
7665
7522
  ]),
7666
- T("ul", Jr, [T("li", null, [l(Ae, {
7667
- modelValue: r(B),
7668
- "onUpdate:modelValue": o[15] ||= (e) => y(B) ? B.value = e : null,
7523
+ C("ul", Jr, [C("li", null, [u(We, {
7524
+ modelValue: a(se),
7525
+ "onUpdate:modelValue": r[15] ||= (e) => v(se) ? se.value = e : null,
7669
7526
  type: "text",
7670
7527
  name: "postal",
7671
7528
  autocomplete: "postal-code",
7672
- label: r(c)("booking.reservation.postal"),
7529
+ label: a(s)("booking.reservation.postal"),
7673
7530
  icon: "mailbox",
7674
- placeholder: r(c)("booking.reservation.postalPlaceholder"),
7531
+ placeholder: a(s)("booking.reservation.postalPlaceholder"),
7675
7532
  error: Q("guest.postal"),
7676
7533
  required: ""
7677
7534
  }, null, 8, [
@@ -7679,15 +7536,15 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7679
7536
  "label",
7680
7537
  "placeholder",
7681
7538
  "error"
7682
- ])]), T("li", null, [l(Ae, {
7683
- modelValue: r(ye),
7684
- "onUpdate:modelValue": o[16] ||= (e) => y(ye) ? ye.value = e : null,
7539
+ ])]), C("li", null, [u(We, {
7540
+ modelValue: a(ue),
7541
+ "onUpdate:modelValue": r[16] ||= (e) => v(ue) ? ue.value = e : null,
7685
7542
  type: "text",
7686
7543
  name: "city",
7687
7544
  autocomplete: "address-level2",
7688
- label: r(c)("booking.reservation.city"),
7545
+ label: a(s)("booking.reservation.city"),
7689
7546
  icon: "city",
7690
- placeholder: r(c)("booking.reservation.cityPlaceholder"),
7547
+ placeholder: a(s)("booking.reservation.cityPlaceholder"),
7691
7548
  error: Q("guest.city"),
7692
7549
  required: ""
7693
7550
  }, null, 8, [
@@ -7696,37 +7553,37 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7696
7553
  "placeholder",
7697
7554
  "error"
7698
7555
  ])])]),
7699
- e.hideRemarks === "yes" ? d("", !0) : (b(), u(Ae, {
7556
+ e.hideRemarks === "yes" ? f("", !0) : (b(), d(We, {
7700
7557
  key: 5,
7701
- modelValue: r(Ce),
7702
- "onUpdate:modelValue": o[17] ||= (e) => y(Ce) ? Ce.value = e : null,
7558
+ modelValue: a(he),
7559
+ "onUpdate:modelValue": r[17] ||= (e) => v(he) ? he.value = e : null,
7703
7560
  type: "textarea",
7704
- label: r(c)("booking.reservation.remark"),
7561
+ label: a(s)("booking.reservation.remark"),
7705
7562
  icon: "info-circle",
7706
- placeholder: r(c)("booking.reservation.remarkPlaceholder")
7563
+ placeholder: a(s)("booking.reservation.remarkPlaceholder")
7707
7564
  }, null, 8, [
7708
7565
  "modelValue",
7709
7566
  "label",
7710
7567
  "placeholder"
7711
7568
  ])),
7712
- e.hideAllergies === "yes" ? d("", !0) : (b(), u(Ae, {
7569
+ e.hideAllergies === "yes" ? f("", !0) : (b(), d(We, {
7713
7570
  key: 6,
7714
- modelValue: r(we),
7715
- "onUpdate:modelValue": o[18] ||= (e) => y(we) ? we.value = e : null,
7571
+ modelValue: a(xe),
7572
+ "onUpdate:modelValue": r[18] ||= (e) => v(xe) ? xe.value = e : null,
7716
7573
  type: "textarea",
7717
- label: r(c)("booking.reservation.allergies"),
7574
+ label: a(s)("booking.reservation.allergies"),
7718
7575
  icon: "allergies",
7719
- placeholder: r(c)("booking.reservation.allergiesPlaceholder")
7576
+ placeholder: a(s)("booking.reservation.allergiesPlaceholder")
7720
7577
  }, null, 8, [
7721
7578
  "modelValue",
7722
7579
  "label",
7723
7580
  "placeholder"
7724
7581
  ])),
7725
- r(jt) ? d("", !0) : (b(), u(Ye, {
7582
+ a(jt) ? f("", !0) : (b(), d(ce, {
7726
7583
  key: 7,
7727
- modelValue: r(j),
7728
- "onUpdate:modelValue": o[19] ||= (e) => y(j) ? j.value = e : null,
7729
- label: r(c)("booking.reservation.purposeOfStay"),
7584
+ modelValue: a(j),
7585
+ "onUpdate:modelValue": r[19] ||= (e) => v(j) ? j.value = e : null,
7586
+ label: a(s)("booking.reservation.purposeOfStay"),
7730
7587
  name: "travelingFor",
7731
7588
  checkboxes: wn.value
7732
7589
  }, null, 8, [
@@ -7734,75 +7591,75 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7734
7591
  "label",
7735
7592
  "checkboxes"
7736
7593
  ])),
7737
- r(dt) ? (b(), m(a, { key: 8 }, [T("h3", null, [T("span", null, h(r(c)("hotel.memberCards.title")), 1)]), r(gt) ? (b(), m("div", Yr, [T("img", { src: r(_t)?.iconUrl }, null, 8, Xr), T("ul", Zr, [
7738
- T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(_t)?.shortDescription })), 1)]),
7739
- T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(gt).cardNumber), 1)]),
7740
- r(gt).controlNr ? (b(), m("li", Qr, [T("span", null, h(r(c)("hotel.memberCards.controlNumber")) + ": " + h(r(gt).controlNr), 1)])) : d("", !0)
7741
- ])])) : (b(), m(a, { key: 1 }, [l(Ye, {
7742
- modelValue: r(pt),
7743
- "onUpdate:modelValue": o[20] ||= (e) => y(pt) ? pt.value = e : null,
7744
- label: r(c)("hotel.memberCards.selectCard"),
7594
+ a(dt) ? (b(), h(o, { key: 8 }, [C("h3", null, [C("span", null, w(a(s)("hotel.memberCards.title")), 1)]), a(gt) ? (b(), h("div", Yr, [C("img", { src: a(_t)?.iconUrl }, null, 8, Xr), C("ul", Zr, [
7595
+ C("li", null, [C("span", null, w(a(s)("hotel.memberCards.selectedCard", { cardName: a(_t)?.shortDescription })), 1)]),
7596
+ C("li", null, [C("span", null, w(a(s)("hotel.memberCards.cardNumber")) + ": " + w(a(gt).cardNumber), 1)]),
7597
+ a(gt).controlNr ? (b(), h("li", Qr, [C("span", null, w(a(s)("hotel.memberCards.controlNumber")) + ": " + w(a(gt).controlNr), 1)])) : f("", !0)
7598
+ ])])) : (b(), h(o, { key: 1 }, [u(ce, {
7599
+ modelValue: a(pt),
7600
+ "onUpdate:modelValue": r[20] ||= (e) => v(pt) ? pt.value = e : null,
7601
+ label: a(s)("hotel.memberCards.selectCard"),
7745
7602
  name: "memberCard",
7746
- checkboxes: r(ft)
7603
+ checkboxes: a(ft)
7747
7604
  }, null, 8, [
7748
7605
  "modelValue",
7749
7606
  "label",
7750
7607
  "checkboxes"
7751
- ]), r(pt) ? (b(), m("form", $r, [
7752
- l(Ae, {
7753
- modelValue: r(ht),
7754
- "onUpdate:modelValue": o[21] ||= (e) => y(ht) ? ht.value = e : null,
7608
+ ]), a(pt) ? (b(), h("form", $r, [
7609
+ u(We, {
7610
+ modelValue: a(ht),
7611
+ "onUpdate:modelValue": r[21] ||= (e) => v(ht) ? ht.value = e : null,
7755
7612
  type: "number",
7756
- label: r(c)("hotel.memberCards.cardNumber"),
7613
+ label: a(s)("hotel.memberCards.cardNumber"),
7757
7614
  icon: "credit-card",
7758
- placeholder: r(c)("hotel.memberCards.cardNumberPlaceholder"),
7615
+ placeholder: a(s)("hotel.memberCards.cardNumberPlaceholder"),
7759
7616
  required: ""
7760
7617
  }, null, 8, [
7761
7618
  "modelValue",
7762
7619
  "label",
7763
7620
  "placeholder"
7764
7621
  ]),
7765
- r(pt) === r(Ee).FirmaCard ? (b(), u(Ae, {
7622
+ a(pt) === a(V).FirmaCard ? (b(), d(We, {
7766
7623
  key: 0,
7767
- modelValue: r(mt),
7768
- "onUpdate:modelValue": o[22] ||= (e) => y(mt) ? mt.value = e : null,
7624
+ modelValue: a(mt),
7625
+ "onUpdate:modelValue": r[22] ||= (e) => v(mt) ? mt.value = e : null,
7769
7626
  type: "text",
7770
- label: r(c)("hotel.memberCards.cardControlNumber"),
7627
+ label: a(s)("hotel.memberCards.cardControlNumber"),
7771
7628
  icon: "id-card",
7772
- placeholder: r(c)("hotel.memberCards.cardControlNumberPlaceholder"),
7629
+ placeholder: a(s)("hotel.memberCards.cardControlNumberPlaceholder"),
7773
7630
  required: ""
7774
7631
  }, null, 8, [
7775
7632
  "modelValue",
7776
7633
  "label",
7777
7634
  "placeholder"
7778
- ])) : d("", !0),
7779
- r(pt) === r(Ee).DaneAge ? (b(), u(Ae, {
7635
+ ])) : f("", !0),
7636
+ a(pt) === a(V).DaneAge ? (b(), d(We, {
7780
7637
  key: 1,
7781
- modelValue: r(B),
7782
- "onUpdate:modelValue": o[23] ||= (e) => y(B) ? B.value = e : null,
7638
+ modelValue: a(se),
7639
+ "onUpdate:modelValue": r[23] ||= (e) => v(se) ? se.value = e : null,
7783
7640
  type: "text",
7784
7641
  name: "postal",
7785
7642
  autocomplete: "postal-code",
7786
- label: r(c)("booking.reservation.postal"),
7643
+ label: a(s)("booking.reservation.postal"),
7787
7644
  icon: "mailbox",
7788
- placeholder: r(c)("booking.reservation.postalPlaceholder"),
7645
+ placeholder: a(s)("booking.reservation.postalPlaceholder"),
7789
7646
  required: ""
7790
7647
  }, null, 8, [
7791
7648
  "modelValue",
7792
7649
  "label",
7793
7650
  "placeholder"
7794
- ])) : d("", !0),
7795
- l(Pe, {
7796
- label: r(c)("hotel.memberCards.validateAndSelectCard"),
7651
+ ])) : f("", !0),
7652
+ u(Be, {
7653
+ label: a(s)("hotel.memberCards.validateAndSelectCard"),
7797
7654
  "full-width": "",
7798
- onClickEvent: r(cn)
7655
+ onClickEvent: a(cn)
7799
7656
  }, null, 8, ["label", "onClickEvent"])
7800
- ])) : d("", !0)], 64))], 64)) : d("", !0)
7657
+ ])) : f("", !0)], 64))], 64)) : f("", !0)
7801
7658
  ])]),
7802
- navigation: S(() => [T("div", null, [r(xt) ? (b(), u(Be, { key: 0 })) : d("", !0), l(Pe, {
7803
- label: r(Pt) && r(A) > 0 ? r(c)("booking.reservation.nextButton") : r(c)("general.confirmReservation"),
7804
- disabled: !r(k),
7805
- "is-loading": r(O) || r(xt),
7659
+ navigation: T(() => [C("div", null, [a(xt) ? (b(), d(be, { key: 0 })) : f("", !0), u(Be, {
7660
+ label: a(Pt) && a(A) > 0 ? a(s)("booking.reservation.nextButton") : a(s)("general.confirmReservation"),
7661
+ disabled: !a(k),
7662
+ "is-loading": a(O) || a(xt),
7806
7663
  "full-width": "",
7807
7664
  onClickEvent: (e) => Ln(t, i)
7808
7665
  }, null, 8, [
@@ -7812,27 +7669,26 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7812
7669
  "onClickEvent"
7813
7670
  ])])]),
7814
7671
  _: 2
7815
- }, 1032, ["prev-callback", "deal-flow"])) : d("", !0)]),
7816
- payment: S(({ prev: e }) => [l(Ue), d("", !0)]),
7817
- confirmation: S(() => [l(Xe, { message: r(c)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
7672
+ }, 1032, ["prev-callback", "deal-flow"])) : f("", !0)]),
7673
+ payment: T(({ prev: e }) => [u(Ce), f("", !0)]),
7674
+ confirmation: T(() => [u(le, { message: a(s)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
7818
7675
  _: 1
7819
7676
  }, 8, [
7820
7677
  "layout",
7821
7678
  "steps",
7822
7679
  "onReset"
7823
- ]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(ot)) && !vn.value]])
7680
+ ]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && a(ot)) && !vn.value]])
7824
7681
  ]),
7825
7682
  _: 1
7826
7683
  }, 8, ["access-token", "callback"])]),
7827
- fallback: S(() => [l(zn)]),
7684
+ fallback: T(() => [u(zn)]),
7828
7685
  _: 1
7829
7686
  }))]),
7830
7687
  _: 1
7831
7688
  }, 8, ["styling"]));
7832
7689
  }
7833
- }), ti = /*#__PURE__*/ B(ei, [["__scopeId", "data-v-d9970787"]]);
7834
- //#endregion
7835
- //#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
7690
+ }), ti = /*#__PURE__*/ Re(ei, [["__scopeId", "data-v-d9970787"]]);
7691
+ // node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
7836
7692
  function ni(e, t) {
7837
7693
  if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
7838
7694
  let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
@@ -7874,8 +7730,7 @@ function $(e, t = {}) {
7874
7730
  };
7875
7731
  return t.init?.forEach((e) => e && i.push(e)), i;
7876
7732
  }
7877
- //#endregion
7878
- //#region node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs
7733
+ // node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs
7879
7734
  var ri = /* @__PURE__ */ new Set([
7880
7735
  "link",
7881
7736
  "style",
@@ -7945,8 +7800,7 @@ var ri = /* @__PURE__ */ new Set([
7945
7800
  function pi(e) {
7946
7801
  return e === "__proto__" || e === "constructor" || e === "prototype";
7947
7802
  }
7948
- //#endregion
7949
- //#region node_modules/hookable/dist/index.mjs
7803
+ // node_modules/hookable/dist/index.mjs
7950
7804
  function mi(e, t, n, r) {
7951
7805
  for (let i = n; i < e.length; i += 1) try {
7952
7806
  let n = r ? r.run(() => e[i](...t)) : e[i](...t);
@@ -7974,11 +7828,10 @@ var hi = class {
7974
7828
  }
7975
7829
  callHook(e, ...t) {
7976
7830
  let n = this._hooks[e];
7977
- if (!(!n || n.length === 0)) return mi(n, t, 0);
7831
+ if (n && n.length !== 0) return mi(n, t, 0);
7978
7832
  }
7979
7833
  };
7980
- //#endregion
7981
- //#region node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
7834
+ // node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
7982
7835
  function gi(e) {
7983
7836
  let t = new hi();
7984
7837
  for (let n in e || {}) t.hook(n, e[n]);
@@ -7987,8 +7840,7 @@ function gi(e) {
7987
7840
  function _i(e, t, n) {
7988
7841
  if (e.hooks?._hooks?.[t]?.length) return e.hooks?.callHook(t, n);
7989
7842
  }
7990
- //#endregion
7991
- //#region node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs
7843
+ // node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs
7992
7844
  function vi(e, t, n) {
7993
7845
  let r = e.push, i = e;
7994
7846
  i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => ni(i, e), i.render = () => n(i);
@@ -8011,8 +7863,7 @@ function vi(e, t, n) {
8011
7863
  };
8012
7864
  }, i;
8013
7865
  }
8014
- //#endregion
8015
- //#region node_modules/unhead/dist/shared/unhead.-hZVKou0.mjs
7866
+ // node_modules/unhead/dist/shared/unhead.DJuZwX9c.mjs
8016
7867
  var yi = /^(?:viewport|description|keywords|robots)$/, bi = [
8017
7868
  "name",
8018
7869
  "property",
@@ -8040,7 +7891,7 @@ function Si(e) {
8040
7891
  }
8041
7892
  function Ci(e) {
8042
7893
  let t = e._h || e._d || e.textContent || e.innerHTML;
8043
- if (t) return t;
7894
+ if (t) return String(t);
8044
7895
  let n = Object.keys(e.props).sort(), r = `${e.tag}:`, i = "";
8045
7896
  for (let t of n) r += `${i}${t}:${String(e.props[t])}`, i = ",";
8046
7897
  return r;
@@ -8191,11 +8042,8 @@ function Vi(e) {
8191
8042
  let r = n._d || Ci(n);
8192
8043
  if (!r) continue;
8193
8044
  let i = e.tagMap.get(r);
8194
- if (!i) {
8195
- e.tagMap.set(r, n);
8196
- continue;
8197
- }
8198
- if ((n.tagDuplicateStrategy || (li.has(n.tag) ? "merge" : null) || (n.key && n.key === i.key ? "merge" : null)) === "merge") {
8045
+ if (!i) e.tagMap.set(r, n);
8046
+ else if ((n.tagDuplicateStrategy || (li.has(n.tag) ? "merge" : null) || (n.key && n.key === i.key ? "merge" : null)) === "merge") {
8199
8047
  let t = { ...i.props };
8200
8048
  for (let e in n.props) t[e] = e === "style" ? new Map([...i.props.style || /* @__PURE__ */ new Map(), ...n.props[e]]) : e === "class" ? /* @__PURE__ */ new Set([...i.props.class || [], ...n.props[e]]) : n.props[e];
8201
8049
  e.tagMap.set(r, {
@@ -8225,7 +8073,7 @@ function Ui(e) {
8225
8073
  let t = 0;
8226
8074
  for (let n of e) {
8227
8075
  let { innerHTML: r, tag: i, props: a } = n;
8228
- if (!(!oi.has(i) || Ii(a) && !fi(r) && !fi(n.textContent)) && !(i === "meta" && !fi(a.content) && !a["http-equiv"] && !a.charset)) {
8076
+ if (oi.has(i) && (!Ii(a) || fi(r) || fi(n.textContent)) && (i !== "meta" || fi(a.content) || a["http-equiv"] || a.charset)) {
8229
8077
  if (i === "script" && (r || n.textContent)) {
8230
8078
  let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(Mi, "\\u003C") : typeof e == "string" ? e.replace(Ni, "<\\/script") : e;
8231
8079
  n = { ...n }, r && (n.innerHTML = i(r)), n.textContent && (n.textContent = i(n.textContent)), n._d = Si(n);
@@ -8276,8 +8124,7 @@ function Wi(e, t) {
8276
8124
  let o = Vi(r);
8277
8125
  return Hi(r, e), Bi(r, o), _i(e, "tags:beforeResolve", r), _i(e, "tags:resolve", r), _i(e, "tags:afterResolve", r), Ui(r.tags);
8278
8126
  }
8279
- //#endregion
8280
- //#region node_modules/unhead/dist/shared/unhead.Bjbp1C8D.mjs
8127
+ // node_modules/unhead/dist/shared/unhead.DD4N5B4k.mjs
8281
8128
  var Gi = /\s+/;
8282
8129
  // @__NO_SIDE_EFFECTS__
8283
8130
  function Ki(e = {}) {
@@ -8391,11 +8238,7 @@ function Yi(e, t = {}) {
8391
8238
  id: r,
8392
8239
  shouldRender: !0
8393
8240
  };
8394
- if (e.tag === "meta" && e._d && xi(e._d) && (_[e._d] = t + 1), g.push(i), e.tag === "title") {
8395
- n.title = e.textContent, o("title:", () => n.title = d._t);
8396
- continue;
8397
- }
8398
- i.$el = d._e.get(r), i.$el ? c(i) : ai.has(e.tag) && p.push(i);
8241
+ e.tag === "meta" && e._d && xi(e._d) && (_[e._d] = t + 1), g.push(i), e.tag === "title" ? (n.title = e.textContent, o("title:", () => n.title = d._t)) : (i.$el = d._e.get(r), i.$el ? c(i) : ai.has(e.tag) && p.push(i));
8399
8242
  }
8400
8243
  if (p.length) {
8401
8244
  let e = new Set(d._e.values());
@@ -8428,8 +8271,7 @@ function Yi(e, t = {}) {
8428
8271
  }
8429
8272
  return a && (e.dirty || qi(e)) && Yi(e, t), a;
8430
8273
  }
8431
- //#endregion
8432
- //#region node_modules/unhead/dist/shared/unhead.oZ7pkTV1.mjs
8274
+ // node_modules/unhead/dist/shared/unhead.CaeaMM5q.mjs
8433
8275
  var Xi = (e) => typeof e.tagPriority == "number" ? e.tagPriority : 100 + (di[e.tagPriority] || 0);
8434
8276
  function Zi(e = {}) {
8435
8277
  e.document = e.document || (typeof window < "u" ? document : void 0);
@@ -8441,8 +8283,7 @@ function Zi(e = {}) {
8441
8283
  }), gi(e.hooks), t);
8442
8284
  return e.plugins?.forEach((e) => n.use(e)), e.init?.forEach((e) => e && n.push(e)), n;
8443
8285
  }
8444
- //#endregion
8445
- //#region node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
8286
+ // node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
8446
8287
  var Qi = "usehead";
8447
8288
  // @__NO_SIDE_EFFECTS__
8448
8289
  function $i(e) {
@@ -8450,8 +8291,7 @@ function $i(e) {
8450
8291
  t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(Qi, e);
8451
8292
  } }.install;
8452
8293
  }
8453
- //#endregion
8454
- //#region node_modules/@unhead/vue/dist/client.mjs
8294
+ // node_modules/@unhead/vue/dist/client.mjs
8455
8295
  // @__NO_SIDE_EFFECTS__
8456
8296
  function ea(e = {}) {
8457
8297
  let t = /* @__PURE__ */ Ki(), n, r = 0;
@@ -8465,10 +8305,8 @@ function ea(e = {}) {
8465
8305
  ...e
8466
8306
  }), n.install = /* @__PURE__ */ $i(n), n;
8467
8307
  }
8468
- //#endregion
8469
- //#region src/entries/hotel.ts
8470
- var ta = A(), na = /* @__PURE__ */ ea(), ra = k("konnectio-hotel", ti, (e) => {
8471
- e.use(z), e.use(na), e.use(ta), e.use(O), e.use(nt), e.use(qe);
8308
+ // src/entries/hotel.ts
8309
+ var ta = k(), na = /* @__PURE__ */ ea(), ra = O("konnectio-hotel", ti, (e) => {
8310
+ e.use(z), e.use(na), e.use(ta), e.use(E), e.use(he), e.use(oe);
8472
8311
  });
8473
- //#endregion
8474
8312
  export { ra as default };