@konnectio/core 4.8.2 → 4.8.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 (110) hide show
  1. package/dist/{ActionField-CfLvNrPb.js → ActionField-DNhrzibV.js} +42 -42
  2. package/dist/ActionField-DNhrzibV.js.br +0 -0
  3. package/dist/ActionField-DNhrzibV.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-BoJGAUPX.js → AvailabilitySkeleton-DyHPcQ3l.js} +1863 -1863
  5. package/dist/AvailabilitySkeleton-DyHPcQ3l.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-DyHPcQ3l.js.gz +0 -0
  7. package/dist/{CheckoutWindow-Dn8xIbYm.js → CheckoutWindow-C7AVcaIo.js} +446 -446
  8. package/dist/CheckoutWindow-C7AVcaIo.js.br +0 -0
  9. package/dist/CheckoutWindow-C7AVcaIo.js.gz +0 -0
  10. package/dist/{ErrorMessage-DqXfbN8R.js → ErrorMessage-i6VD5R-W.js} +12 -12
  11. package/dist/ErrorMessage-i6VD5R-W.js.br +0 -0
  12. package/dist/ErrorMessage-i6VD5R-W.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-Ddf2a-lw.js → EventAvailabilityForm-B5degNGN.js} +28 -28
  14. package/dist/EventAvailabilityForm-B5degNGN.js.br +0 -0
  15. package/dist/EventAvailabilityForm-B5degNGN.js.gz +0 -0
  16. package/dist/{Field-BH2Qhlxc.js → Field-CysA6ZKB.js} +14 -14
  17. package/dist/Field-CysA6ZKB.js.br +0 -0
  18. package/dist/Field-CysA6ZKB.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-BGzRuNRM.js +320 -0
  20. package/dist/HotelAvailabilityForm-BGzRuNRM.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-BGzRuNRM.js.gz +0 -0
  22. package/dist/{SelectField-BKzqm24F.js → SelectField-BUeYRCxc.js} +2947 -3417
  23. package/dist/SelectField-BUeYRCxc.js.br +0 -0
  24. package/dist/SelectField-BUeYRCxc.js.gz +0 -0
  25. package/dist/TermsOfService-DgMhoS_V.js +17 -0
  26. package/dist/TermsOfService-DgMhoS_V.js.br +0 -0
  27. package/dist/TermsOfService-DgMhoS_V.js.gz +0 -0
  28. package/dist/_-DFyJPf6E.js +25 -0
  29. package/dist/_-DFyJPf6E.js.br +0 -0
  30. package/dist/_-DFyJPf6E.js.gz +0 -0
  31. package/dist/availability.js +40 -40
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +58 -58
  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 +12 -12
  41. package/dist/deep-link.js.br +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/{dist-BWfnLuHD.js → dist-CS5pBdeg.js} +22 -22
  44. package/dist/dist-CS5pBdeg.js.br +0 -0
  45. package/dist/dist-CS5pBdeg.js.gz +0 -0
  46. package/dist/{dist-DJ5mNPQY.js → dist-D4fD_33g.js} +8 -7
  47. package/dist/dist-D4fD_33g.js.br +0 -0
  48. package/dist/dist-D4fD_33g.js.gz +0 -0
  49. package/dist/event.js +371 -371
  50. package/dist/event.js.br +0 -0
  51. package/dist/event.js.gz +0 -0
  52. package/dist/gift-card-validation.js +49 -49
  53. package/dist/gift-card-validation.js.br +7 -9
  54. package/dist/gift-card-validation.js.gz +0 -0
  55. package/dist/gift-card.js +161 -161
  56. package/dist/gift-card.js.br +0 -0
  57. package/dist/gift-card.js.gz +0 -0
  58. package/dist/{giftCard-DJpZJhni.js → giftCard-ChLbvI2n.js} +15 -15
  59. package/dist/giftCard-ChLbvI2n.js.br +0 -0
  60. package/dist/giftCard-ChLbvI2n.js.gz +0 -0
  61. package/dist/hotel.js +776 -776
  62. package/dist/hotel.js.br +0 -0
  63. package/dist/hotel.js.gz +0 -0
  64. package/dist/{i18n-BF6zkld-.js → i18n-_behsDNX.js} +1030 -530
  65. package/dist/i18n-_behsDNX.js.br +0 -0
  66. package/dist/{i18n-BF6zkld-.js.gz → i18n-_behsDNX.js.gz} +0 -0
  67. package/dist/polyfill.js +1 -1
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{style-B5I-GkXw.js → style-DWSfukOm.js} +372 -372
  71. package/dist/style-DWSfukOm.js.br +0 -0
  72. package/dist/style-DWSfukOm.js.gz +0 -0
  73. package/dist-wix/availability.js +30 -30
  74. package/dist-wix/event.js +7 -7
  75. package/dist-wix/gift-card-validation.js +22 -22
  76. package/dist-wix/gift-card.js +26 -26
  77. package/dist-wix/hotel.js +7 -7
  78. package/package.json +5 -4
  79. package/dist/ActionField-CfLvNrPb.js.br +0 -0
  80. package/dist/ActionField-CfLvNrPb.js.gz +0 -0
  81. package/dist/AvailabilitySkeleton-BoJGAUPX.js.br +0 -0
  82. package/dist/AvailabilitySkeleton-BoJGAUPX.js.gz +0 -0
  83. package/dist/CheckoutWindow-Dn8xIbYm.js.br +0 -0
  84. package/dist/CheckoutWindow-Dn8xIbYm.js.gz +0 -0
  85. package/dist/ErrorMessage-DqXfbN8R.js.br +0 -0
  86. package/dist/ErrorMessage-DqXfbN8R.js.gz +0 -0
  87. package/dist/EventAvailabilityForm-Ddf2a-lw.js.br +0 -0
  88. package/dist/EventAvailabilityForm-Ddf2a-lw.js.gz +0 -0
  89. package/dist/Field-BH2Qhlxc.js.br +0 -0
  90. package/dist/Field-BH2Qhlxc.js.gz +0 -0
  91. package/dist/HotelAvailabilityForm-D-wyToq1.js +0 -320
  92. package/dist/HotelAvailabilityForm-D-wyToq1.js.br +0 -0
  93. package/dist/HotelAvailabilityForm-D-wyToq1.js.gz +0 -0
  94. package/dist/SelectField-BKzqm24F.js.br +0 -0
  95. package/dist/SelectField-BKzqm24F.js.gz +0 -0
  96. package/dist/TermsOfService-CTLOb_GQ.js +0 -17
  97. package/dist/TermsOfService-CTLOb_GQ.js.br +0 -0
  98. package/dist/TermsOfService-CTLOb_GQ.js.gz +0 -0
  99. package/dist/_-B7FvZ5gF.js +0 -25
  100. package/dist/_-B7FvZ5gF.js.br +0 -0
  101. package/dist/_-B7FvZ5gF.js.gz +0 -0
  102. package/dist/dist-BWfnLuHD.js.br +0 -0
  103. package/dist/dist-BWfnLuHD.js.gz +0 -0
  104. package/dist/dist-DJ5mNPQY.js.br +0 -0
  105. package/dist/dist-DJ5mNPQY.js.gz +0 -0
  106. package/dist/giftCard-DJpZJhni.js.br +0 -0
  107. package/dist/giftCard-DJpZJhni.js.gz +0 -0
  108. package/dist/i18n-BF6zkld-.js.br +0 -0
  109. package/dist/style-B5I-GkXw.js.br +0 -0
  110. package/dist/style-B5I-GkXw.js.gz +0 -0
package/dist/hotel.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { r as e, t } from "./rolldown-runtime-B0aSnxlc.js";
2
- import { $ as n, A as r, B as i, D as a, E as o, Et as s, J as c, K as l, M as u, N as d, O as f, Ot as p, Q as m, S as h, T as g, Tt as _, V as ee, _t as te, a as v, b as y, ct as b, dt as x, g as ne, ht as S, i as C, it as re, j as w, k as ie, kt as T, l as E, n as D, o as O, rt as k, s as A, tt as j, ut as M, v as N, w as P, x as F, yt as I } from "./i18n-BF6zkld-.js";
3
- import { t as R } from "./dist-BWfnLuHD.js";
4
- import { C as ae, D as oe, E as se, G as z, H as ce, J as le, K as ue, L as de, N as fe, O as pe, R as me, S as B, T as he, W as ge, X as _e, Y as ve, Z as ye, _ as be, b as xe, ct as Se, et as Ce, ht as we, it as Te, j as Ee, n as De, pt as Oe, r as ke, rt as V, st as Ae, t as je, v as Me, x as H, z as Ne } from "./SelectField-BKzqm24F.js";
5
- import { a as Pe, c as Fe, i as Ie, l as Le, n as Re, o as ze, s as Be, t as Ve } from "./CheckoutWindow-Dn8xIbYm.js";
6
- import { n as He, t as Ue } from "./AvailabilitySkeleton-BoJGAUPX.js";
7
- import { t as We } from "./HotelAvailabilityForm-D-wyToq1.js";
8
- import { t as Ge } from "./style-B5I-GkXw.js";
9
- import { t as Ke } from "./ActionField-CfLvNrPb.js";
10
- import { a as U, c as qe, i as Je, l as Ye, n as Xe, o as Ze, r as Qe, s as $e, t as et } from "./dist-DJ5mNPQY.js";
11
- import { t as tt } from "./TermsOfService-CTLOb_GQ.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 O, n as k, o as A, p as j, q as M, st as N, u as P, ut as F, w as I, wt as R, z } from "./i18n-_behsDNX.js";
3
+ import { t as ae } from "./dist-CS5pBdeg.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, R as ge, S as B, T as _e, W as ve, X as ye, Y as be, Z as xe, _ as Se, b as Ce, ct as we, et as Te, it as Ee, j as De, n as Oe, r as ke, rt as V, st as Ae, t as je, v as Me, x as H, z as Ne } from "./SelectField-BUeYRCxc.js";
5
+ import { a as Pe, c as Fe, i as Ie, l as Le, n as Re, o as ze, s as Be, t as Ve } from "./CheckoutWindow-C7AVcaIo.js";
6
+ import { n as He, t as Ue } from "./AvailabilitySkeleton-DyHPcQ3l.js";
7
+ import { t as We } from "./HotelAvailabilityForm-BGzRuNRM.js";
8
+ import { t as Ge } from "./style-DWSfukOm.js";
9
+ import { t as Ke } from "./ActionField-DNhrzibV.js";
10
+ import { a as U, c as qe, i as Je, l as Ye, n as Xe, o as Ze, r as Qe, s as $e, t as et } from "./dist-D4fD_33g.js";
11
+ import { t as tt } from "./TermsOfService-DgMhoS_V.js";
12
12
  //#region node_modules/inner-image-zoom/src/utils/images.js
13
13
  function nt(e, t) {
14
14
  return t ? {
@@ -91,7 +91,7 @@ function pt(e, t) {
91
91
  }
92
92
  //#endregion
93
93
  //#region node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
94
- var mt = d({
94
+ var mt = z({
95
95
  name: "InnerImageZoom",
96
96
  props: {
97
97
  moveType: {
@@ -232,22 +232,22 @@ var mt = d({
232
232
  key: 1,
233
233
  class: "iiz__btn iiz__hint"
234
234
  };
235
- function bt(e, t, n, r, l, u) {
236
- return c(), f("figure", i({
235
+ function bt(e, t, n, r, i, o) {
236
+ return b(), m("figure", c({
237
237
  class: ["iiz", {
238
238
  ...e.className && { [e.className]: e.className },
239
239
  "iiz--drag": e.currentMoveType === "drag"
240
240
  }],
241
241
  ref: "img",
242
242
  style: { width: `${e.width}px` }
243
- }, re({
243
+ }, F({
244
244
  touchstart: e.isZoomed ? () => {} : e.handleTouchStart,
245
245
  click: e.handleClick,
246
246
  mouseenter: e.isTouch ? () => {} : e.handleMouseEnter,
247
247
  mousemove: e.currentMoveType === "drag" || !e.isZoomed ? () => {} : e.handleMouseMove,
248
248
  mouseleave: e.isTouch ? () => {} : e.handleMouseLeave
249
249
  }, !0)), [
250
- g("div", { style: p({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (c(), f("picture", ht, [(c(!0), f(y, null, m(e.validSources, (e, t) => (c(), f("source", i({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), g("img", i(e.imgAttributes, {
250
+ T("div", { style: f({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (b(), m("picture", ht, [(b(!0), m(a, null, w(e.validSources, (e, t) => (b(), m("source", c({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), T("img", c(e.imgAttributes, {
251
251
  class: ["iiz__img", [e.imgAttributes.className || "", {
252
252
  "iiz__img--hidden": e.isZoomed,
253
253
  "iiz__img--abs": e.createSpacer
@@ -256,7 +256,7 @@ function bt(e, t, n, r, l, u) {
256
256
  src: e.src,
257
257
  width: e.width,
258
258
  height: e.height
259
- }), null, 16, gt)])) : (c(), f("img", i({ key: 1 }, e.imgAttributes, {
259
+ }), null, 16, gt)])) : (b(), m("img", c({ key: 1 }, e.imgAttributes, {
260
260
  class: ["iiz__img", [e.imgAttributes.className || "", {
261
261
  "iiz__img--hidden": e.isZoomed,
262
262
  "iiz__img--abs": e.createSpacer
@@ -266,10 +266,10 @@ function bt(e, t, n, r, l, u) {
266
266
  width: e.width,
267
267
  height: e.height
268
268
  }), null, 16, _t))], 4),
269
- e.isActive ? (c(), f(y, { key: 0 }, [e.isFullscreen ? (c(), o(h, {
269
+ e.isActive ? (b(), m(a, { key: 0 }, [e.isFullscreen ? (b(), u(p, {
270
270
  key: 0,
271
271
  to: "body"
272
- }, [g("div", W, [g("img", i({
272
+ }, [T("div", W, [T("img", c({
273
273
  class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
274
274
  alt: "",
275
275
  draggable: !1,
@@ -279,21 +279,21 @@ function bt(e, t, n, r, l, u) {
279
279
  transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
280
280
  },
281
281
  src: e.zoomSrc || e.src
282
- }, re({
282
+ }, F({
283
283
  load: e.handleLoad,
284
284
  touchstart: e.handleDragStart,
285
285
  touchend: e.handleDragEnd,
286
286
  mousedown: e.handleDragStart,
287
287
  mouseup: e.handleDragEnd,
288
288
  click: e.handleClick
289
- }, !0)), null, 16, G), !e.hideCloseButton && e.currentMoveType === "drag" ? (c(), f("button", {
289
+ }, !0)), null, 16, G), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), m("button", {
290
290
  key: 0,
291
291
  type: "button",
292
- class: s(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
292
+ class: E(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
293
293
  "aria-label": "Zoom Out",
294
- style: p({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
295
- onClick: t[0] ||= N((...t) => e.handleClose && e.handleClose(...t), ["stop"])
296
- }, null, 6)) : a("", !0)])])) : (c(), f(y, { key: 1 }, [g("img", i({
294
+ style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
295
+ onClick: t[0] ||= I((...t) => e.handleClose && e.handleClose(...t), ["stop"])
296
+ }, null, 6)) : d("", !0)])])) : (b(), m(a, { key: 1 }, [T("img", c({
297
297
  class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
298
298
  alt: "",
299
299
  draggable: !1,
@@ -303,21 +303,21 @@ function bt(e, t, n, r, l, u) {
303
303
  transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
304
304
  },
305
305
  src: e.zoomSrc || e.src
306
- }, re({
306
+ }, F({
307
307
  load: e.handleLoad,
308
308
  touchstart: e.handleDragStart,
309
309
  touchend: e.handleDragEnd,
310
310
  mousedown: e.handleDragStart,
311
311
  mouseup: e.handleDragEnd
312
- }, !0)), null, 16, vt), !e.hideCloseButton && e.currentMoveType === "drag" ? (c(), f("button", {
312
+ }, !0)), null, 16, vt), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), m("button", {
313
313
  key: 0,
314
- class: s(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
314
+ class: E(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
315
315
  type: "button",
316
316
  "aria-label": "Zoom Out",
317
- style: p({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
318
- onClick: t[1] ||= N((...t) => e.handleClose && e.handleClose(...t), ["stop"])
319
- }, null, 6)) : a("", !0)], 64))], 64)) : a("", !0),
320
- !e.isZoomed && !e.hideHint ? (c(), f("span", yt)) : a("", !0)
317
+ style: f({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
318
+ onClick: t[1] ||= I((...t) => e.handleClose && e.handleClose(...t), ["stop"])
319
+ }, null, 6)) : d("", !0)], 64))], 64)) : d("", !0),
320
+ !e.isZoomed && !e.hideHint ? (b(), m("span", yt)) : d("", !0)
321
321
  ], 16);
322
322
  }
323
323
  //#endregion
@@ -334,7 +334,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
334
334
  }, Bt = {
335
335
  key: 1,
336
336
  class: "konnectio-accept-terms"
337
- }, Vt = { class: "konnectio-hotel-reservation-tooltip" }, Y = /*#__PURE__*/ B(/* @__PURE__ */ d({
337
+ }, Vt = { class: "konnectio-hotel-reservation-tooltip" }, Y = /*#__PURE__*/ B(/* @__PURE__ */ z({
338
338
  __name: "HotelReservationForm",
339
339
  props: {
340
340
  forceArrivalTime: {},
@@ -358,7 +358,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
358
358
  prevCallback: {}
359
359
  },
360
360
  setup(e) {
361
- let { t } = v(), { disableNewsletterSignup: r, currency: i } = E(se()), { hasArrivalDepartureInputs: s } = se(), { arrivalTime: l, departureTime: u, roomDisplay: d, templateID: p, totalPrice: h, areListingsLoading: ee, getSelectedPackageRooms: te, templateRoomUnits: b, selectedPackage: re, discountVouchers: D, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: P, locationMismatch: F, newsMails: R, termsOfService: oe, discountCode: z, hasTermOfService: ce, acceptTerms: le, totalTemplateAddonPrice: ue, totalRooms: fe, totalAdults: me, totalChildren: B, weekendFee: he, selectedMemberCardData: ge, appliedDiscountCode: _e, guestDiscountCode: be, isValidatingDiscountCode: xe } = E(pe()), { hasHotelLocations: Se } = E(ae()), { removeRoom: we, validateDiscountCode: Te, getMandatoryRoomGroupAddons: Ee, getTemplateRoomUnitPrice: De, resetDiscountVoucher: Oe, setGuestDiscountCode: ke, clearGuestDiscountCode: V, fetchAvailabilityData: Ae } = pe(), { getHotelLocationName: je } = ae(), Me = I(!1);
361
+ 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: O, currentArrivalDate: k, currentDepartureDate: A, datesMismatch: j, currentLocation: M, locationMismatch: P, newsMails: F, termsOfService: z, discountCode: ae, hasTermOfService: se, acceptTerms: le, totalTemplateAddonPrice: ue, totalRooms: de, totalAdults: fe, totalChildren: me, weekendFee: ge, selectedMemberCardData: B, appliedDiscountCode: _e, guestDiscountCode: ve, isValidatingDiscountCode: ye } = C(he()), { hasHotelLocations: Se } = C(oe()), { removeRoom: Ce, validateDiscountCode: we, getMandatoryRoomGroupAddons: Ee, getTemplateRoomUnitPrice: De, resetDiscountVoucher: Oe, setGuestDiscountCode: ke, clearGuestDiscountCode: V, fetchAvailabilityData: Ae } = he(), { getHotelLocationName: je } = oe(), Me = R(!1);
362
362
  function Pe(e) {
363
363
  ke(e), Ae();
364
364
  }
@@ -368,133 +368,133 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
368
368
  function Le(e) {
369
369
  return e.reduce((e, { totalPrice: t }) => e + t, 0);
370
370
  }
371
- return (v, E) => {
372
- let I = j("tooltip");
373
- return c(), o(U, {
374
- "discount-code": _(z),
375
- "onUpdate:discountCode": E[4] ||= (e) => S(z) ? z.value = e : null,
376
- "validate-discount-code": _(Te),
377
- "total-price": _(h),
378
- "weekend-fee": _(he),
371
+ return (v, C) => {
372
+ let R = N("tooltip");
373
+ return b(), u(U, {
374
+ "discount-code": r(ae),
375
+ "onUpdate:discountCode": C[4] ||= (e) => y(ae) ? ae.value = e : null,
376
+ "validate-discount-code": r(we),
377
+ "total-price": r(_),
378
+ "weekend-fee": r(ge),
379
379
  "show-gift-card": e.showGiftCard,
380
380
  "availability-discount": e.availabilityDiscount,
381
381
  "show-terms-notice": e.showTermsNotice,
382
- "is-sidebar-loading": _(ee),
383
- notice: _(t)("hotel.reservationNotice"),
382
+ "is-sidebar-loading": r(te),
383
+ notice: r(t)("hotel.reservationNotice"),
384
384
  "prev-callback": e.prevCallback,
385
- "applied-discount-code": _(_e),
386
- "guest-discount-code": _(be),
387
- "is-validating-discount-code": _(xe),
388
- "on-reset-discount-code": _(Oe),
385
+ "applied-discount-code": r(_e),
386
+ "guest-discount-code": r(ve),
387
+ "is-validating-discount-code": r(ye),
388
+ "on-reset-discount-code": r(Oe),
389
389
  "on-apply-availability-discount": Pe,
390
390
  "on-clear-availability-discount": Fe
391
- }, ie({
392
- form: M(() => [n(v.$slots, "form", {}, void 0, !0)]),
393
- "price-summary": M(() => [isNaN(_(p)) && _(d).length > 0 ? (c(!0), f(y, { key: 0 }, m(_(d), ({ roomGroupID: n, title: r, variants: o }) => (c(), f("div", { key: n }, [g("h6", null, [g("span", null, T(_(de)(r)), 1)]), (c(!0), f(y, null, m(o, (r, o) => (c(), f("div", { key: o }, [(c(!0), f(y, null, m(r.rooms, (s, l) => (c(), f("ul", { key: l }, [g("li", null, [
394
- g("span", Tt, T(_(de)(r.name)), 1),
395
- g("span", Et, [g("span", Dt, [g("span", null, [w(H, {
391
+ }, o({
392
+ form: S(() => [re(v.$slots, "form", {}, void 0, !0)]),
393
+ "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, [
394
+ T("span", Tt, h(r(pe)(o.name)), 1),
395
+ T("span", Et, [T("span", Dt, [T("span", null, [l(H, {
396
396
  icon: "male",
397
397
  type: "fas",
398
398
  color: "font"
399
- }), g("span", null, T(s.adultsCount), 1)]), s.childrenCount > 0 ? (c(), f("span", J, [w(H, {
399
+ }), T("span", null, h(a.adultsCount), 1)]), a.childrenCount > 0 ? (b(), m("span", J, [l(H, {
400
400
  icon: "child",
401
401
  type: "fas",
402
402
  color: "font"
403
- }), g("span", null, T(s.childrenCount), 1)])) : a("", !0)]), s.roomName ? (c(), f("span", Ot, "(" + T(s.roomName) + ")", 1)) : a("", !0)]),
404
- g("b", null, [g("span", null, T(_(Ce)(s.totalPrice, _(i))), 1), e.showRemoveRoom ? (c(), f("span", {
403
+ }), T("span", null, h(a.childrenCount), 1)])) : d("", !0)]), a.roomName ? (b(), m("span", Ot, "(" + h(a.roomName) + ")", 1)) : d("", !0)]),
404
+ T("b", null, [T("span", null, h(r(Te)(a.totalPrice, r(i))), 1), e.showRemoveRoom ? (b(), m("span", {
405
405
  key: 0,
406
406
  class: "konnectio-hotel-reservation-remove",
407
- onClick: N((e) => _(we)(n, o, s.configIdx), ["prevent"])
408
- }, [w(H, {
407
+ onClick: I((e) => r(Ce)(n, s, a.configIdx), ["prevent"])
408
+ }, [l(H, {
409
409
  icon: "times",
410
410
  type: "fas",
411
411
  "icon-color": "#ff0000"
412
- })], 8, kt)) : a("", !0)])
413
- ]), Le(s.roomAddons) > 0 ? (c(), f("li", At, [g("span", null, T(_(t)("general.addons")), 1), g("b", null, T(_(Ce)(Le(s.roomAddons), _(i))), 1)])) : a("", !0)]))), 128))]))), 128))]))), 128)) : a("", !0), _(b).length > 0 && _(re) ? (c(), f("div", jt, [g("h6", null, [g("span", null, T(_(de)(_(re).name)), 1)]), g("div", null, [g("ul", null, [(c(!0), f(y, null, m(_(b), (e, n) => (c(), f("li", { key: n }, [
414
- g("span", Mt, [g("span", null, T(_(de)(_(te).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), _(b).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (c(), f("span", Nt, "(" + T(_(t)("booking.reservation.room")) + " " + T(_(b).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : a("", !0)]),
415
- g("span", Pt, [g("span", Ft, [g("span", null, [w(H, {
412
+ })], 8, kt)) : d("", !0)])
413
+ ]), Le(a.roomAddons) > 0 ? (b(), m("li", At, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Te)(Le(a.roomAddons), r(i))), 1)])) : d("", !0)]))), 128))]))), 128))]))), 128)) : d("", !0), r(E).length > 0 && r(D) ? (b(), m("div", jt, [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 }, [
414
+ T("span", Mt, [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", Nt, "(" + h(r(t)("booking.reservation.room")) + " " + h(r(E).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : d("", !0)]),
415
+ T("span", Pt, [T("span", Ft, [T("span", null, [l(H, {
416
416
  icon: "male",
417
417
  type: "fas",
418
418
  color: "font"
419
- }), g("span", null, T(e.adults), 1)]), e.children > 0 ? (c(), f("span", It, [w(H, {
419
+ }), T("span", null, h(e.adults), 1)]), e.children > 0 ? (b(), m("span", It, [l(H, {
420
420
  icon: "child",
421
421
  type: "fas",
422
422
  color: "font"
423
- }), g("span", null, T(e.children), 1)])) : a("", !0)])]),
424
- g("b", null, [g("span", null, T(_(Ce)(_(De)(e.roomGroupId, e.adults, e.children) + _(he), _(i))), 1)]),
425
- (c(!0), f(y, null, m(_(Ee)(e.roomGroupId), (e) => (c(), f(y, { key: e.addonID }, [g("span", null, "- " + T(e.name), 1), g("b", null, [g("span", null, T(_(Ce)(e.price, _(i))), 1)])], 64))), 128))
426
- ]))), 128)), _(ue) ? (c(), f("li", Lt, [g("span", null, T(_(t)("general.addons")), 1), g("b", null, T(_(Ce)(_(ue), _(i))), 1)])) : a("", !0)])])])) : a("", !0)]),
427
- actions: M(() => [g("ul", Rt, [
428
- _(r) ? a("", !0) : (c(), f("div", zt, [w(Ie, {
429
- modelValue: _(R),
430
- "onUpdate:modelValue": E[0] ||= (e) => S(R) ? R.value = e : null,
423
+ }), T("span", null, h(e.children), 1)])) : d("", !0)])]),
424
+ T("b", null, [T("span", null, h(r(Te)(r(De)(e.roomGroupId, e.adults, e.children) + r(ge), r(i))), 1)]),
425
+ (b(!0), m(a, null, w(r(Ee)(e.roomGroupId), (e) => (b(), m(a, { key: e.addonID }, [T("span", null, "- " + h(e.name), 1), T("b", null, [T("span", null, h(r(Te)(e.price, r(i))), 1)])], 64))), 128))
426
+ ]))), 128)), r(ue) ? (b(), m("li", Lt, [T("span", null, h(r(t)("general.addons")), 1), T("b", null, h(r(Te)(r(ue), r(i))), 1)])) : d("", !0)])])])) : d("", !0)]),
427
+ actions: S(() => [T("ul", Rt, [
428
+ r(n) ? d("", !0) : (b(), m("div", zt, [l(Ie, {
429
+ modelValue: r(F),
430
+ "onUpdate:modelValue": C[0] ||= (e) => y(F) ? F.value = e : null,
431
431
  type: "checkbox",
432
432
  name: "newsletter",
433
- label: _(t)("booking.reservation.newsletterSignUp")
433
+ label: r(t)("booking.reservation.newsletterSignUp")
434
434
  }, null, 8, ["modelValue", "label"])])),
435
- _(ce) ? (c(), f("div", Bt, [w(Ie, {
436
- modelValue: _(le),
437
- "onUpdate:modelValue": E[2] ||= (e) => S(le) ? le.value = e : null,
435
+ r(se) ? (b(), m("div", Bt, [l(Ie, {
436
+ modelValue: r(le),
437
+ "onUpdate:modelValue": C[2] ||= (e) => y(le) ? le.value = e : null,
438
438
  type: "checkbox",
439
439
  name: "terms"
440
440
  }, {
441
- default: M(() => [w(_(C), {
441
+ default: S(() => [l(r(ie), {
442
442
  keypath: "general.termsAndConditionsCheckbox",
443
443
  tag: "span",
444
444
  scope: "global"
445
445
  }, {
446
- terms: M(() => [g("a", {
446
+ terms: S(() => [T("a", {
447
447
  class: "konnectio-accept-terms-link",
448
- onClick: E[1] ||= N((e) => Me.value = !0, ["prevent"])
449
- }, [g("span", null, T(_(ve)(_(t)("general.termsAndConditions"))), 1)])]),
448
+ onClick: C[1] ||= I((e) => Me.value = !0, ["prevent"])
449
+ }, [T("span", null, h(r(be)(r(t)("general.termsAndConditions"))), 1)])]),
450
450
  _: 1
451
451
  })]),
452
452
  _: 1
453
- }, 8, ["modelValue"])])) : a("", !0),
454
- n(v.$slots, "actions", {}, void 0, !0),
455
- w(tt, {
453
+ }, 8, ["modelValue"])])) : d("", !0),
454
+ re(v.$slots, "actions", {}, void 0, !0),
455
+ l(tt, {
456
456
  modelValue: Me.value,
457
- "onUpdate:modelValue": E[3] ||= (e) => Me.value = e,
458
- description: _(oe)
457
+ "onUpdate:modelValue": C[3] ||= (e) => Me.value = e,
458
+ description: r(z)
459
459
  }, null, 8, ["modelValue", "description"])
460
460
  ])]),
461
- navigation: M(() => [n(v.$slots, "navigation", {}, void 0, !0)]),
462
- "mobile-under-price": M(() => [
463
- g("span", null, T(_(t)("general.for")) + ": ", 1),
464
- g("b", null, T(_(Ne)(_(O), _(k))) + " " + T(_(ve)(_(Ne)(_(O), _(k)) === 1 ? _(t)("booking.reservation.night") : _(t)("booking.reservation.nights"))), 1),
465
- x((c(), f("span", Vt, [w(H, {
461
+ navigation: S(() => [re(v.$slots, "navigation", {}, void 0, !0)]),
462
+ "mobile-under-price": S(() => [
463
+ T("span", null, h(r(t)("general.for")) + ": ", 1),
464
+ T("b", null, h(r(Ne)(r(k), r(A))) + " " + h(r(be)(r(Ne)(r(k), r(A)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1),
465
+ ne((b(), m("span", Vt, [l(H, {
466
466
  icon: "circle-info",
467
467
  type: "fas"
468
- })])), [[I, {
469
- content: `<span>(${_(ye)(_(O))} - ${_(ye)(_(k))})</span>`,
468
+ })])), [[R, {
469
+ content: `<span>(${r(xe)(r(k))} - ${r(xe)(r(A))})</span>`,
470
470
  classes: ["tooltip", "konnectio-tooltip"],
471
471
  html: !0
472
472
  }]])
473
473
  ]),
474
- "mobile-summary": M(() => [
475
- g("span", null, T(`${_(me)} ${_(me) === 1 ? _(t)("general.adult") : _(t)("general.adults")}`), 1),
476
- g("span", null, T(`${_(B)} ${_(B) === 1 ? _(t)("general.child") : _(t)("general.children")}`), 1),
477
- g("span", null, T(`${_(fe)} ${_(fe) === 1 ? _(t)("booking.reservation.room") : _(t)("booking.reservation.rooms")}`), 1)
474
+ "mobile-summary": S(() => [
475
+ T("span", null, h(`${r(fe)} ${r(fe) === 1 ? r(t)("general.adult") : r(t)("general.adults")}`), 1),
476
+ T("span", null, h(`${r(me)} ${r(me) === 1 ? r(t)("general.child") : r(t)("general.children")}`), 1),
477
+ T("span", null, h(`${r(de)} ${r(de) === 1 ? r(t)("booking.reservation.room") : r(t)("booking.reservation.rooms")}`), 1)
478
478
  ]),
479
479
  _: 2
480
- }, [isNaN(_(P)) ? void 0 : {
480
+ }, [isNaN(r(M)) ? void 0 : {
481
481
  name: "reservation-summary",
482
- fn: M(() => [
483
- _(Se) ? (c(), f("li", K, [g("span", null, T(_(t)("general.location")), 1), g("b", null, [g("span", null, T(_(je)(_(P))), 1), x(g("span", q, [w(H, {
482
+ fn: S(() => [
483
+ r(Se) ? (b(), m("li", K, [T("span", null, h(r(t)("general.location")), 1), T("b", null, [T("span", null, h(r(je)(r(M))), 1), ne(T("span", q, [l(H, {
484
484
  icon: "exclamation-triangle",
485
485
  type: "fas"
486
- })], 512), [[ne, _(F)]])])])) : a("", !0),
487
- g("li", null, [g("span", null, T(_(t)("booking.reservation.arrival")), 1), g("b", null, [g("span", null, T(_(s)(_(P)) ? `${_(ye)(_(O))}, ${_(l)}` : _(ye)(_(O))), 1), x(g("span", St, [w(H, {
486
+ })], 512), [[ee, r(P)]])])])) : d("", !0),
487
+ T("li", null, [T("span", null, h(r(t)("booking.reservation.arrival")), 1), T("b", null, [T("span", null, h(r(s)(r(M)) ? `${r(xe)(r(k))}, ${r(c)}` : r(xe)(r(k))), 1), ne(T("span", St, [l(H, {
488
488
  icon: "exclamation-triangle",
489
489
  type: "fas"
490
- })], 512), [[ne, _(A)]])])]),
491
- g("li", null, [g("span", null, T(_(t)("booking.reservation.departure")), 1), g("b", null, [g("span", null, T(_(s)(_(P)) ? `${_(ye)(_(k))}, ${_(u)}` : _(ye)(_(k))), 1), x(g("span", Ct, [w(H, {
490
+ })], 512), [[ee, r(j)]])])]),
491
+ T("li", null, [T("span", null, h(r(t)("booking.reservation.departure")), 1), T("b", null, [T("span", null, h(r(s)(r(M)) ? `${r(xe)(r(A))}, ${r(f)}` : r(xe)(r(A))), 1), ne(T("span", Ct, [l(H, {
492
492
  icon: "exclamation-triangle",
493
493
  type: "fas"
494
- })], 512), [[ne, _(A)]])])]),
495
- g("li", null, [g("span", null, T(_(t)("booking.reservation.nights")), 1), g("b", null, T(_(Ne)(_(O), _(k))) + " " + T(_(ve)(_(Ne)(_(O), _(k)) === 1 ? _(t)("booking.reservation.night") : _(t)("booking.reservation.nights"))), 1)]),
496
- _(ge) && _(ge).providesDiscount ? (c(), f("li", wt, [g("span", null, T(_(ge).shortDescription), 1), g("b", null, "-" + T(_(ge).discountPercent) + "%", 1)])) : a("", !0),
497
- _(D) ? (c(!0), f(y, { key: 2 }, m(_(D), (e) => (c(), f("li", { key: e.id }, [g("span", null, T(`${_(t)("general.discountCode")} (${e.value})`), 1), g("b", null, T(e.key), 1)]))), 128)) : a("", !0)
494
+ })], 512), [[ee, r(j)]])])]),
495
+ T("li", null, [T("span", null, h(r(t)("booking.reservation.nights")), 1), T("b", null, h(r(Ne)(r(k), r(A))) + " " + h(r(be)(r(Ne)(r(k), r(A)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)]),
496
+ r(B) && r(B).providesDiscount ? (b(), m("li", wt, [T("span", null, h(r(B).shortDescription), 1), T("b", null, "-" + h(r(B).discountPercent) + "%", 1)])) : d("", !0),
497
+ r(O) ? (b(!0), m(a, { key: 2 }, w(r(O), (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)
498
498
  ]),
499
499
  key: "0"
500
500
  }]), 1032, [
@@ -515,44 +515,44 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
515
515
  ]);
516
516
  };
517
517
  }
518
- }), [["__scopeId", "data-v-95f86ccc"]]), Ht = { class: "konnectio-panel" }, X = { id: "konnectio-hotel-guest-discount-title" }, Ut = ["innerHTML"], Wt = /*#__PURE__*/ B(/* @__PURE__ */ d({
518
+ }), [["__scopeId", "data-v-95f86ccc"]]), Ht = { class: "konnectio-panel" }, X = { id: "konnectio-hotel-guest-discount-title" }, Ut = ["innerHTML"], Wt = /*#__PURE__*/ B(/* @__PURE__ */ z({
519
519
  __name: "GuestDiscountForm",
520
520
  setup(e) {
521
- let { t } = v(), n = we("history"), r = pe(), { display: i } = fe(), a = I();
522
- async function o() {
523
- if (!a.value) {
524
- i({
521
+ let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o = R();
522
+ async function s() {
523
+ if (!o.value) {
524
+ a({
525
525
  message: t("alert.error.guestDiscountEmpty"),
526
526
  type: "error"
527
527
  });
528
528
  return;
529
529
  }
530
- if (isNaN(a.value)) {
531
- i({
530
+ if (isNaN(o.value)) {
531
+ a({
532
532
  message: t("alert.error.guestDiscountNan"),
533
533
  type: "error"
534
534
  });
535
535
  return;
536
536
  }
537
- await r.checkGuestDiscount(a.value) && (n.gid = a.value.toString());
537
+ await i.checkGuestDiscount(o.value) && (n.gid = o.value.toString());
538
538
  }
539
- return (e, n) => (c(), f("form", {
539
+ return (e, n) => (b(), m("form", {
540
540
  id: "konnectio-hotel-guest-discount",
541
- onSubmit: n[1] ||= N(() => {}, ["prevent"])
542
- }, [g("div", Ht, [
543
- g("h3", X, [g("span", null, T(_(t)("guestDiscount.title")), 1)]),
544
- g("p", { innerHTML: _(t)("guestDiscount.description") }, null, 8, Ut),
545
- w(Ke, {
546
- modelValue: a.value,
547
- "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
548
- label: _(t)("guestDiscount.guestDiscountCode"),
541
+ onSubmit: n[1] ||= I(() => {}, ["prevent"])
542
+ }, [T("div", Ht, [
543
+ T("h3", X, [T("span", null, h(r(t)("guestDiscount.title")), 1)]),
544
+ T("p", { innerHTML: r(t)("guestDiscount.description") }, null, 8, Ut),
545
+ l(Ke, {
546
+ modelValue: o.value,
547
+ "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
548
+ label: r(t)("guestDiscount.guestDiscountCode"),
549
549
  placeholder: "XXXXXX",
550
550
  inputType: "number",
551
- "button-label": _(t)("guestDiscount.submitButton"),
551
+ "button-label": r(t)("guestDiscount.submitButton"),
552
552
  icon: "user-tag",
553
553
  "button-icon": "paper-plane-top",
554
554
  secondary: "",
555
- onAction: o
555
+ onAction: s
556
556
  }, null, 8, [
557
557
  "modelValue",
558
558
  "label",
@@ -560,37 +560,37 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
560
560
  ])
561
561
  ])], 32));
562
562
  }
563
- }), [["__scopeId", "data-v-de955b0c"]]), Gt = { class: "konnectio-panel" }, Kt = { id: "konnectio-hotel-discount-code-title" }, qt = ["innerHTML"], Jt = /*#__PURE__*/ B(/* @__PURE__ */ d({
563
+ }), [["__scopeId", "data-v-de955b0c"]]), Gt = { class: "konnectio-panel" }, Kt = { id: "konnectio-hotel-discount-code-title" }, qt = ["innerHTML"], Jt = /*#__PURE__*/ B(/* @__PURE__ */ z({
564
564
  __name: "DiscountCodeForm",
565
565
  setup(e) {
566
- let { t } = v(), n = we("history"), r = pe(), { display: i } = fe(), a = I();
567
- async function o() {
568
- if (!a.value) {
569
- i({
566
+ let { t } = v(), n = x("history"), i = he(), { display: a } = me(), o = R();
567
+ async function s() {
568
+ if (!o.value) {
569
+ a({
570
570
  message: t("alert.error.discountCodeEmpty"),
571
571
  type: "error"
572
572
  });
573
573
  return;
574
574
  }
575
- n.discount = a.value.toString(), r.setGuestDiscountCode(a.value.toString());
575
+ n.discount = o.value.toString(), i.setGuestDiscountCode(o.value.toString());
576
576
  }
577
- return (e, n) => (c(), f("form", {
577
+ return (e, n) => (b(), m("form", {
578
578
  id: "konnectio-hotel-discount-code",
579
- onSubmit: n[1] ||= N(() => {}, ["prevent"])
580
- }, [g("div", Gt, [
581
- g("h3", Kt, [g("span", null, T(_(t)("discountCode.title")), 1)]),
582
- g("p", { innerHTML: _(t)("discountCode.description") }, null, 8, qt),
583
- w(Ke, {
584
- modelValue: a.value,
585
- "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
586
- label: _(t)("discountCode.label"),
579
+ onSubmit: n[1] ||= I(() => {}, ["prevent"])
580
+ }, [T("div", Gt, [
581
+ T("h3", Kt, [T("span", null, h(r(t)("discountCode.title")), 1)]),
582
+ T("p", { innerHTML: r(t)("discountCode.description") }, null, 8, qt),
583
+ l(Ke, {
584
+ modelValue: o.value,
585
+ "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
586
+ label: r(t)("discountCode.label"),
587
587
  placeholder: "XXXXXX",
588
588
  inputType: "text",
589
- "button-label": _(t)("discountCode.submitButton"),
589
+ "button-label": r(t)("discountCode.submitButton"),
590
590
  icon: "tags",
591
591
  "button-icon": "paper-plane-top",
592
592
  secondary: "",
593
- onAction: o
593
+ onAction: s
594
594
  }, null, 8, [
595
595
  "modelValue",
596
596
  "label",
@@ -598,7 +598,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
598
598
  ])
599
599
  ])], 32));
600
600
  }
601
- }), [["__scopeId", "data-v-4a009012"]]), Yt = { class: "konnectio-room-config-option" }, Z = { key: 0 }, Xt = { class: "konnectio-selected-room-config" }, Zt = { class: "konnectio-selected-room-config-people" }, Qt = { key: 0 }, $t = { class: "konnectio-selected-room-config-price" }, en = /*#__PURE__*/ B(/* @__PURE__ */ d({
601
+ }), [["__scopeId", "data-v-4a009012"]]), Yt = { class: "konnectio-room-config-option" }, Z = { key: 0 }, Xt = { class: "konnectio-selected-room-config" }, Zt = { class: "konnectio-selected-room-config-people" }, Qt = { key: 0 }, $t = { class: "konnectio-selected-room-config-price" }, en = /*#__PURE__*/ B(/* @__PURE__ */ z({
602
602
  __name: "RoomConfigField",
603
603
  props: {
604
604
  modelValue: {},
@@ -615,17 +615,17 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
615
615
  },
616
616
  emits: ["update:modelValue"],
617
617
  setup(e, { emit: t }) {
618
- let { t: n } = v(), { currency: i } = E(se()), s = t, l = e;
619
- function u(e) {
620
- s("update:modelValue", e);
618
+ let { t: i } = v(), { currency: a } = C(ce()), o = t, c = e;
619
+ function f(e) {
620
+ o("update:modelValue", e);
621
621
  }
622
- let d = P({
623
- get: () => l.modelValue,
624
- set: (e) => u(e)
622
+ let p = n({
623
+ get: () => c.modelValue,
624
+ set: (e) => f(e)
625
625
  });
626
- return (t, s) => (c(), o(je, {
627
- modelValue: d.value,
628
- "onUpdate:modelValue": s[0] ||= (e) => d.value = e,
626
+ return (t, n) => (b(), u(je, {
627
+ modelValue: p.value,
628
+ "onUpdate:modelValue": n[0] ||= (e) => p.value = e,
629
629
  label: e.label,
630
630
  placeholder: "Select guest configuration",
631
631
  labelKey: "label",
@@ -636,20 +636,20 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
636
636
  required: e.required,
637
637
  searchable: !1
638
638
  }, {
639
- option: M(({ data: e }) => [g("span", Yt, [g("div", null, [
640
- w(H, {
639
+ option: S(({ data: e }) => [T("span", Yt, [T("div", null, [
640
+ l(H, {
641
641
  icon: "male",
642
642
  type: "fas",
643
643
  color: "font"
644
644
  }),
645
- g("span", null, T(`${e.adults}`), 1),
646
- e.children > 0 ? (c(), f("span", Z, [w(H, {
645
+ T("span", null, h(`${e.adults}`), 1),
646
+ e.children > 0 ? (b(), m("span", Z, [l(H, {
647
647
  icon: "child",
648
648
  type: "fas",
649
649
  color: "font"
650
- }), g("span", null, T(`${e.children}`), 1)])) : a("", !0)
651
- ]), g("span", null, T(`(${_(Ce)(e.price, _(i))})`), 1)])]),
652
- "selected-option": M(({ data: e }) => [g("div", Xt, [g("div", Zt, [g("div", null, [a("", !0), g("span", null, T(`${e.adults} ${e.adults === 1 ? _(n)("general.adult") : _(n)("general.adults")}`), 1)]), e.children > 0 ? (c(), f("div", Qt, [a("", !0), g("span", null, T(`& ${e.children} ${e.children === 1 ? _(n)("general.child") : _(n)("general.children")}`), 1)])) : a("", !0)]), g("div", $t, [s[1] ||= g("span", null, null, -1), r(" " + T(`(${_(Ce)(e.price, _(i))})`), 1)])])]),
650
+ }), T("span", null, h(`${e.children}`), 1)])) : d("", !0)
651
+ ]), T("span", null, h(`(${r(Te)(e.price, r(a))})`), 1)])]),
652
+ "selected-option": S(({ data: e }) => [T("div", Xt, [T("div", Zt, [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", Qt, [d("", !0), T("span", null, h(`& ${e.children} ${e.children === 1 ? r(i)("general.child") : r(i)("general.children")}`), 1)])) : d("", !0)]), T("div", $t, [n[1] ||= T("span", null, null, -1), s(" " + h(`(${r(Te)(e.price, r(a))})`), 1)])])]),
653
653
  _: 1
654
654
  }, 8, [
655
655
  "modelValue",
@@ -738,25 +738,25 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
738
738
  return -1;
739
739
  }
740
740
  var te = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
741
- function v(e) {
741
+ function ne(e) {
742
742
  return window["webkit" + e] || window["moz" + e] || window["ms" + e];
743
743
  }
744
- var y = 0;
745
- function b(e) {
746
- var t = +/* @__PURE__ */ new Date(), n = Math.max(0, 16 - (t - y));
747
- return y = t + n, window.setTimeout(e, n);
744
+ var v = 0;
745
+ function re(e) {
746
+ var t = +/* @__PURE__ */ new Date(), n = Math.max(0, 16 - (t - v));
747
+ return v = t + n, window.setTimeout(e, n);
748
748
  }
749
- var x = window.requestAnimationFrame || v("RequestAnimationFrame") || b, ne = window.cancelAnimationFrame || v("CancelAnimationFrame") || v("CancelRequestAnimationFrame") || function(e) {
749
+ var y = window.requestAnimationFrame || ne("RequestAnimationFrame") || re, b = window.cancelAnimationFrame || ne("CancelAnimationFrame") || ne("CancelRequestAnimationFrame") || function(e) {
750
750
  window.clearTimeout(e);
751
751
  };
752
- function S(e, t, n) {
753
- if (n && x === b) e.call(t);
754
- else return x.call(window, i(e, t));
752
+ function x(e, t, n) {
753
+ if (n && y === re) e.call(t);
754
+ else return y.call(window, i(e, t));
755
755
  }
756
- function C(e) {
757
- e && ne.call(window, e);
756
+ function S(e) {
757
+ e && b.call(window, e);
758
758
  }
759
- var re = {
759
+ var C = {
760
760
  __proto__: null,
761
761
  extend: n,
762
762
  create: r,
@@ -777,35 +777,35 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
777
777
  isArray: _,
778
778
  indexOf: ee,
779
779
  emptyImageUrl: te,
780
- requestFn: x,
781
- cancelFn: ne,
782
- requestAnimFrame: S,
783
- cancelAnimFrame: C
780
+ requestFn: y,
781
+ cancelFn: b,
782
+ requestAnimFrame: x,
783
+ cancelAnimFrame: S
784
784
  };
785
- function w() {}
786
- w.extend = function(e) {
785
+ function ie() {}
786
+ ie.extend = function(e) {
787
787
  var t = function() {
788
788
  p(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
789
789
  }, i = t.__super__ = this.prototype, a = r(i);
790
790
  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]);
791
- return e.statics && n(t, e.statics), e.includes && (ie(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() {
791
+ 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() {
792
792
  if (!this._initHooksCalled) {
793
793
  i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
794
794
  for (var e = 0, t = a._initHooks.length; e < t; e++) a._initHooks[e].call(this);
795
795
  }
796
796
  }, t;
797
- }, w.include = function(e) {
797
+ }, ie.include = function(e) {
798
798
  var t = this.prototype.options;
799
799
  return n(this.prototype, e), e.options && (this.prototype.options = t, this.mergeOptions(e.options)), this;
800
- }, w.mergeOptions = function(e) {
800
+ }, ie.mergeOptions = function(e) {
801
801
  return n(this.prototype.options, e), this;
802
- }, w.addInitHook = function(e) {
802
+ }, ie.addInitHook = function(e) {
803
803
  var t = Array.prototype.slice.call(arguments, 1), n = typeof e == "function" ? e : function() {
804
804
  this[e].apply(this, t);
805
805
  };
806
806
  return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(n), this;
807
807
  };
808
- function ie(e) {
808
+ function w(e) {
809
809
  if (!(typeof L > "u" || !L || !L.Mixin)) {
810
810
  e = _(e) ? e : [e];
811
811
  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);
@@ -923,7 +923,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
923
923
  }
924
924
  };
925
925
  T.addEventListener = T.on, T.removeEventListener = T.clearAllEventListeners = T.off, T.addOneTimeEventListener = T.once, T.fireEvent = T.fire, T.hasEventListeners = T.listens;
926
- var E = w.extend(T);
926
+ var E = ie.extend(T);
927
927
  function D(e, t, n) {
928
928
  this.x = n ? Math.round(e) : e, this.y = n ? Math.round(t) : t;
929
929
  }
@@ -1211,8 +1211,8 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
1211
1211
  var n = Math.PI / 180, r = e.lat * n, i = t.lat * n, a = Math.sin((t.lat - e.lat) * n / 2), o = Math.sin((t.lng - e.lng) * n / 2), s = a * a + Math.cos(r) * Math.cos(i) * o * o, c = 2 * Math.atan2(Math.sqrt(s), Math.sqrt(1 - s));
1212
1212
  return this.R * c;
1213
1213
  }
1214
- }), ae = 6378137, oe = {
1215
- R: ae,
1214
+ }), z = 6378137, ae = {
1215
+ R: z,
1216
1216
  MAX_LATITUDE: 85.0511287798,
1217
1217
  project: function(e) {
1218
1218
  var t = Math.PI / 180, n = this.MAX_LATITUDE, r = Math.max(Math.min(n, e.lat), -n), i = Math.sin(r * t);
@@ -1223,18 +1223,18 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
1223
1223
  return new P((2 * Math.atan(Math.exp(e.y / this.R)) - Math.PI / 2) * t, e.x * t / this.R);
1224
1224
  },
1225
1225
  bounds: (function() {
1226
- var e = ae * Math.PI;
1226
+ var e = z * Math.PI;
1227
1227
  return new A([-e, -e], [e, e]);
1228
1228
  })()
1229
1229
  };
1230
- function se(e, t, n, r) {
1230
+ function oe(e, t, n, r) {
1231
1231
  if (_(e)) {
1232
1232
  this._a = e[0], this._b = e[1], this._c = e[2], this._d = e[3];
1233
1233
  return;
1234
1234
  }
1235
1235
  this._a = e, this._b = t, this._c = n, this._d = r;
1236
1236
  }
1237
- se.prototype = {
1237
+ oe.prototype = {
1238
1238
  transform: function(e, t) {
1239
1239
  return this._transform(e.clone(), t);
1240
1240
  },
@@ -1245,15 +1245,15 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
1245
1245
  return t ||= 1, new D((e.x / t - this._b) / this._a, (e.y / t - this._d) / this._c);
1246
1246
  }
1247
1247
  };
1248
- function z(e, t, n, r) {
1249
- return new se(e, t, n, r);
1248
+ function se(e, t, n, r) {
1249
+ return new oe(e, t, n, r);
1250
1250
  }
1251
1251
  var ce = n({}, R, {
1252
1252
  code: "EPSG:3857",
1253
- projection: oe,
1253
+ projection: ae,
1254
1254
  transformation: function() {
1255
- var e = .5 / (Math.PI * oe.R);
1256
- return z(e, .5, -e, .5);
1255
+ var e = .5 / (Math.PI * ae.R);
1256
+ return se(e, .5, -e, .5);
1257
1257
  }()
1258
1258
  }), le = n({}, ce, { code: "EPSG:900913" });
1259
1259
  function ue(e) {
@@ -1267,7 +1267,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
1267
1267
  }
1268
1268
  return n || "M0 0";
1269
1269
  }
1270
- var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, B = "msLaunchUri" in navigator && !("documentMode" in document), he = Ke("webkit"), ge = Ke("android"), _e = Ke("android 2") || Ke("android 3"), ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ye = ge && Ke("Google") && ve < 537 && !("AudioNode" in window), be = !!window.opera, xe = !B && Ke("chrome"), Se = Ke("gecko") && !he && !be && !pe, Ce = !xe && Ke("safari"), we = Ke("phantom"), Te = "OTransition" in fe, Ee = navigator.platform.indexOf("Win") === 0, De = pe && "transition" in fe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !_e, ke = "MozPerspective" in fe, V = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, Ae = typeof orientation < "u" || Ke("mobile"), je = Ae && he, Me = Ae && Oe, H = !window.PointerEvent && window.MSPointerEvent, Ne = !!(window.PointerEvent || H), Pe = "ontouchstart" in window || !!window.TouchEvent, Fe = !window.L_NO_TOUCH && (Pe || Ne), Ie = Ae && be, Le = Ae && Se, Re = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ze = function() {
1270
+ var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = Ke("webkit"), B = Ke("android"), _e = Ke("android 2") || Ke("android 3"), ve = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), ye = B && Ke("Google") && ve < 537 && !("AudioNode" in window), be = !!window.opera, xe = !he && Ke("chrome"), Se = Ke("gecko") && !ge && !be && !pe, Ce = !xe && Ke("safari"), we = Ke("phantom"), Te = "OTransition" in fe, Ee = navigator.platform.indexOf("Win") === 0, De = pe && "transition" in fe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !_e, ke = "MozPerspective" in fe, V = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, Ae = typeof orientation < "u" || Ke("mobile"), je = Ae && ge, Me = Ae && Oe, H = !window.PointerEvent && window.MSPointerEvent, Ne = !!(window.PointerEvent || H), Pe = "ontouchstart" in window || !!window.TouchEvent, Fe = !window.L_NO_TOUCH && (Pe || Ne), Ie = Ae && be, Le = Ae && Se, Re = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, ze = function() {
1271
1271
  var e = !1;
1272
1272
  try {
1273
1273
  var t = Object.defineProperty({}, "passive", { get: function() {
@@ -1297,9 +1297,9 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
1297
1297
  var U = {
1298
1298
  ie: pe,
1299
1299
  ielt9: me,
1300
- edge: B,
1301
- webkit: he,
1302
- android: ge,
1300
+ edge: he,
1301
+ webkit: ge,
1302
+ android: B,
1303
1303
  android23: _e,
1304
1304
  androidStock: ye,
1305
1305
  opera: be,
@@ -1689,7 +1689,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
1689
1689
  this._inProgress && (this._step(!0), this._complete());
1690
1690
  },
1691
1691
  _animate: function() {
1692
- this._animId = S(this._animate, this), this._step();
1692
+ this._animId = x(this._animate, this), this._step();
1693
1693
  },
1694
1694
  _step: function(e) {
1695
1695
  var t = +/* @__PURE__ */ new Date() - this._startTime, n = this._duration * 1e3;
@@ -1700,7 +1700,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
1700
1700
  t && n._round(), J(this._el, n), this.fire("step");
1701
1701
  },
1702
1702
  _complete: function() {
1703
- C(this._animId), this._inProgress = !1, this.fire("end");
1703
+ S(this._animId), this._inProgress = !1, this.fire("end");
1704
1704
  },
1705
1705
  _easeOut: function(e) {
1706
1706
  return 1 - (1 - e) ** this._easeOutPower;
@@ -1812,12 +1812,12 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
1812
1812
  function te(e) {
1813
1813
  return 1 - (1 - e) ** 1.5;
1814
1814
  }
1815
- var v = Date.now(), y = (f(1) - g) / u, b = n.duration ? 1e3 * n.duration : 1e3 * y * .8;
1816
- function x() {
1817
- var n = (Date.now() - v) / b, a = te(n) * y;
1818
- n <= 1 ? (this._flyToFrame = S(x, 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);
1815
+ var ne = Date.now(), v = (f(1) - g) / u, re = n.duration ? 1e3 * n.duration : 1e3 * v * .8;
1816
+ function y() {
1817
+ var n = (Date.now() - ne) / re, a = te(n) * v;
1818
+ 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);
1819
1819
  }
1820
- return this._moveStart(!0, n.noMoveStart), x.call(this), this;
1820
+ return this._moveStart(!0, n.noMoveStart), y.call(this), this;
1821
1821
  },
1822
1822
  flyToBounds: function(e, t) {
1823
1823
  var n = this._getBoundsCenterZoom(e, t);
@@ -1917,7 +1917,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
1917
1917
  } catch {
1918
1918
  this._container._leaflet_id = void 0, this._containerId = void 0;
1919
1919
  }
1920
- for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), G(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest &&= (C(this._resizeRequest), null), this._clearHandlers(), this._loaded && this.fire("unload"), this._layers) this._layers[e].remove();
1920
+ for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), G(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest &&= (S(this._resizeRequest), null), this._clearHandlers(), this._loaded && this.fire("unload"), this._layers) this._layers[e].remove();
1921
1921
  for (e in this._panes) G(this._panes[e]);
1922
1922
  return this._layers = [], this._panes = [], delete this._mapPane, delete this._renderer, this;
1923
1923
  },
@@ -2057,7 +2057,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
2057
2057
  return e && this.fire("zoomend"), this.fire("moveend");
2058
2058
  },
2059
2059
  _stop: function() {
2060
- return C(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;
2060
+ return S(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;
2061
2061
  },
2062
2062
  _rawPanBy: function(e) {
2063
2063
  J(this._mapPane, this._getMapPanePos().subtract(e));
@@ -2077,7 +2077,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
2077
2077
  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), U.any3d && this.options.transform3DLimit && (e ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
2078
2078
  },
2079
2079
  _onResize: function() {
2080
- C(this._resizeRequest), this._resizeRequest = S(function() {
2080
+ S(this._resizeRequest), this._resizeRequest = x(function() {
2081
2081
  this.invalidateSize({ debounceMoveend: !0 });
2082
2082
  }, this);
2083
2083
  },
@@ -2236,7 +2236,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
2236
2236
  if (this._animatingZoom) return !0;
2237
2237
  if (n ||= {}, !this._zoomAnimated || n.animate === !1 || this._nothingToAnimate() || Math.abs(t - this._zoom) > this.options.zoomAnimationThreshold) return !1;
2238
2238
  var r = this.getZoomScale(t), i = this._getCenterOffset(e)._divideBy(1 - 1 / r);
2239
- return n.animate !== !0 && !this.getSize().contains(i) ? !1 : (S(function() {
2239
+ return n.animate !== !0 && !this.getSize().contains(i) ? !1 : (x(function() {
2240
2240
  this._moveStart(!0, n.noMoveStart || !1)._animateZoom(e, t, !0);
2241
2241
  }, this), !0);
2242
2242
  },
@@ -2254,7 +2254,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
2254
2254
  function an(e, t) {
2255
2255
  return new Q(e, t);
2256
2256
  }
2257
- var on = w.extend({
2257
+ var on = ie.extend({
2258
2258
  options: { position: "topright" },
2259
2259
  initialize: function(e) {
2260
2260
  p(this, e);
@@ -2554,7 +2554,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
2554
2554
  }), on.Layers = cn, on.Zoom = un, on.Scale = fn, on.Attribution = mn, sn.layers = ln, sn.zoom = dn, sn.scale = pn, sn.attribution = function(e) {
2555
2555
  return new mn(e);
2556
2556
  };
2557
- var hn = w.extend({
2557
+ var hn = ie.extend({
2558
2558
  initialize: function(e) {
2559
2559
  this._map = e;
2560
2560
  },
@@ -2780,21 +2780,21 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
2780
2780
  __proto__: null,
2781
2781
  LonLat: Rn,
2782
2782
  Mercator: zn,
2783
- SphericalMercator: oe
2783
+ SphericalMercator: ae
2784
2784
  }, Vn = n({}, R, {
2785
2785
  code: "EPSG:3395",
2786
2786
  projection: zn,
2787
2787
  transformation: function() {
2788
2788
  var e = .5 / (Math.PI * zn.R);
2789
- return z(e, .5, -e, .5);
2789
+ return se(e, .5, -e, .5);
2790
2790
  }()
2791
2791
  }), Hn = n({}, R, {
2792
2792
  code: "EPSG:4326",
2793
2793
  projection: Rn,
2794
- transformation: z(1 / 180, 1, -1 / 180, .5)
2794
+ transformation: se(1 / 180, 1, -1 / 180, .5)
2795
2795
  }), Un = n({}, I, {
2796
2796
  projection: Rn,
2797
- transformation: z(1, 0, -1, 0),
2797
+ transformation: se(1, 0, -1, 0),
2798
2798
  scale: function(e) {
2799
2799
  return 2 ** e;
2800
2800
  },
@@ -2961,7 +2961,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
2961
2961
  }
2962
2962
  }), Jn = function(e, t) {
2963
2963
  return new qn(e, t);
2964
- }, Yn = w.extend({
2964
+ }, Yn = ie.extend({
2965
2965
  options: {
2966
2966
  popupAnchor: [0, 0],
2967
2967
  tooltipAnchor: [0, 0],
@@ -3056,21 +3056,21 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
3056
3056
  var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ot(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c = j(o.min._subtract(s).add(i), o.max._subtract(s).subtract(i));
3057
3057
  if (!c.contains(a)) {
3058
3058
  var l = k((Math.max(c.max.x, a.x) - c.max.x) / (o.max.x - c.max.x) - (Math.min(c.min.x, a.x) - c.min.x) / (o.min.x - c.min.x), (Math.max(c.max.y, a.y) - c.max.y) / (o.max.y - c.max.y) - (Math.min(c.min.y, a.y) - c.min.y) / (o.min.y - c.min.y)).multiplyBy(r);
3059
- n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), J(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest = S(this._adjustPan.bind(this, e));
3059
+ n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), J(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest = x(this._adjustPan.bind(this, e));
3060
3060
  }
3061
3061
  },
3062
3062
  _onDragStart: function() {
3063
3063
  this._oldLatLng = this._marker.getLatLng(), this._marker.closePopup && this._marker.closePopup(), this._marker.fire("movestart").fire("dragstart");
3064
3064
  },
3065
3065
  _onPreDrag: function(e) {
3066
- this._marker.options.autoPan && (C(this._panRequest), this._panRequest = S(this._adjustPan.bind(this, e)));
3066
+ this._marker.options.autoPan && (S(this._panRequest), this._panRequest = x(this._adjustPan.bind(this, e)));
3067
3067
  },
3068
3068
  _onDrag: function(e) {
3069
3069
  var t = this._marker, n = t._shadow, r = Ot(t._icon), i = t._map.layerPointToLatLng(r);
3070
3070
  n && J(n, r), t._latlng = i, e.latlng = i, e.oldLatLng = this._oldLatLng, t.fire("move", e).fire("drag", e);
3071
3071
  },
3072
3072
  _onDragEnd: function(e) {
3073
- C(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", e);
3073
+ S(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", e);
3074
3074
  }
3075
3075
  }), $n = Wn.extend({
3076
3076
  options: {
@@ -4195,7 +4195,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
4195
4195
  wt(i.el, a), a < 1 ? t = !0 : (i.active ? n = !0 : this._onOpaqueTile(i), i.active = !0);
4196
4196
  }
4197
4197
  }
4198
- n && !this._noPrune && this._pruneTiles(), t && (C(this._fadeFrame), this._fadeFrame = S(this._updateOpacity, this));
4198
+ n && !this._noPrune && this._pruneTiles(), t && (S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this));
4199
4199
  }
4200
4200
  },
4201
4201
  _onOpaqueTile: l,
@@ -4366,7 +4366,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
4366
4366
  },
4367
4367
  _addTile: function(e, t) {
4368
4368
  var n = this._getTilePos(e), r = this._tileCoordsToKey(e), a = this.createTile(this._wrapCoords(e), i(this._tileReady, this, e));
4369
- this._initTile(a), this.createTile.length < 2 && S(i(this._tileReady, this, e, null, a)), J(a, n), this._tiles[r] = {
4369
+ this._initTile(a), this.createTile.length < 2 && x(i(this._tileReady, this, e, null, a)), J(a, n), this._tiles[r] = {
4370
4370
  el: a,
4371
4371
  coords: e,
4372
4372
  current: !0
@@ -4382,10 +4382,10 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
4382
4382
  coords: e
4383
4383
  });
4384
4384
  var r = this._tileCoordsToKey(e);
4385
- n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (wt(n.el, 0), C(this._fadeFrame), this._fadeFrame = S(this._updateOpacity, this)) : (n.active = !0, this._pruneTiles()), t || (K(n.el, "leaflet-tile-loaded"), this.fire("tileload", {
4385
+ n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (wt(n.el, 0), S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this)) : (n.active = !0, this._pruneTiles()), t || (K(n.el, "leaflet-tile-loaded"), this.fire("tileload", {
4386
4386
  tile: n.el,
4387
4387
  coords: e
4388
- })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), U.ielt9 || !this._map._fadeAnimated ? S(this._pruneTiles, this) : setTimeout(i(this._pruneTiles, this), 250)));
4388
+ })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), U.ielt9 || !this._map._fadeAnimated ? x(this._pruneTiles, this) : setTimeout(i(this._pruneTiles, this), 250)));
4389
4389
  },
4390
4390
  _getTilePos: function(e) {
4391
4391
  return e.scaleBy(this.getTileSize()).subtract(this._level.origin);
@@ -4592,7 +4592,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
4592
4592
  Y(e, "mousemove", this._onMouseMove, this), Y(e, "click dblclick mousedown mouseup contextmenu", this._onClick, this), Y(e, "mouseout", this._handleMouseOut, this), e._leaflet_disable_events = !0, this._ctx = e.getContext("2d");
4593
4593
  },
4594
4594
  _destroyContainer: function() {
4595
- C(this._redrawRequest), delete this._ctx, G(this._container), X(this._container), delete this._container;
4595
+ S(this._redrawRequest), delete this._ctx, G(this._container), X(this._container), delete this._container;
4596
4596
  },
4597
4597
  _updatePaths: function() {
4598
4598
  if (!this._postponeUpdatePaths) {
@@ -4644,7 +4644,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
4644
4644
  } else e.options._dashArray = e.options.dashArray;
4645
4645
  },
4646
4646
  _requestRedraw: function(e) {
4647
- this._map && (this._extendRedrawBounds(e), this._redrawRequest = this._redrawRequest || S(this._redraw, this));
4647
+ this._map && (this._extendRedrawBounds(e), this._redrawRequest = this._redrawRequest || x(this._redraw, this));
4648
4648
  },
4649
4649
  _extendRedrawBounds: function(e) {
4650
4650
  if (e._pxBounds) {
@@ -5016,7 +5016,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
5016
5016
  else {
5017
5017
  this._prunePositions(+/* @__PURE__ */ new Date());
5018
5018
  var i = this._lastPos.subtract(this._positions[0]), a = (this._lastTime - this._times[0]) / 1e3, o = n.easeLinearity, s = i.multiplyBy(o / a), c = s.distanceTo([0, 0]), l = Math.min(n.inertiaMaxSpeed, c), u = s.multiplyBy(l / c), d = l / (n.inertiaDeceleration * o), f = u.multiplyBy(-d / 2).round();
5019
- !f.x && !f.y ? t.fire("moveend") : (f = t._limitOffset(f, t.options.maxBounds), S(function() {
5019
+ !f.x && !f.y ? t.fire("moveend") : (f = t._limitOffset(f, t.options.maxBounds), x(function() {
5020
5020
  t.panBy(f, {
5021
5021
  duration: d,
5022
5022
  easeLinearity: o,
@@ -5221,12 +5221,12 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
5221
5221
  if (a === 1 && o.x === 0 && o.y === 0) return;
5222
5222
  this._center = t.unproject(t.project(this._pinchStartLatLng, this._zoom).subtract(o), this._zoom);
5223
5223
  }
5224
- this._moved ||= (t._moveStart(!0, !1), !0), C(this._animRequest);
5224
+ this._moved ||= (t._moveStart(!0, !1), !0), S(this._animRequest);
5225
5225
  var s = i(t._move, t, this._center, this._zoom, {
5226
5226
  pinch: !0,
5227
5227
  round: !1
5228
5228
  }, void 0);
5229
- this._animRequest = S(s, this, !0), Z(e);
5229
+ this._animRequest = x(s, this, !0), Z(e);
5230
5230
  }
5231
5231
  },
5232
5232
  _onTouchEnd: function() {
@@ -5234,10 +5234,10 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
5234
5234
  this._zooming = !1;
5235
5235
  return;
5236
5236
  }
5237
- this._zooming = !1, C(this._animRequest), X(document, "touchmove", this._onTouchMove, this), X(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
5237
+ this._zooming = !1, S(this._animRequest), X(document, "touchmove", this._onTouchMove, this), X(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
5238
5238
  }
5239
5239
  });
5240
- Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = A, e.Browser = U, e.CRS = I, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = w, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = E, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = hn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = P, e.LatLngBounds = M, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = gn, e.Path = tr, e.Point = D, e.PolyUtil = Sn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = se, e.Util = re, e.VideoOverlay = wr, e.bind = i, e.bounds = j, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = sn, e.divIcon = Pr, e.extend = n, e.featureGroup = Jn, e.geoJSON = br, e.geoJson = xr, e.gridLayer = Ir, e.icon = Xn, e.imageOverlay = Cr, e.latLng = F, e.latLngBounds = N, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = k, e.polygon = lr, e.polyline = sr, e.popup = Ar, e.rectangle = Xr, e.setOptions = p, e.stamp = o, e.svg = Jr, e.svgOverlay = Dr, e.tileLayer = Rr, e.tooltip = Mr, e.transformation = z, e.version = t, e.videoOverlay = Tr;
5240
+ Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = A, e.Browser = U, e.CRS = I, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = ie, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = E, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = hn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = P, e.LatLngBounds = M, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = gn, e.Path = tr, e.Point = D, e.PolyUtil = Sn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = oe, e.Util = C, e.VideoOverlay = wr, e.bind = i, e.bounds = j, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = sn, e.divIcon = Pr, e.extend = n, e.featureGroup = Jn, e.geoJSON = br, e.geoJson = xr, e.gridLayer = Ir, e.icon = Xn, e.imageOverlay = Cr, e.latLng = F, e.latLngBounds = N, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = k, e.polygon = lr, e.polyline = sr, e.popup = Ar, e.rectangle = Xr, e.setOptions = p, e.stamp = o, e.svg = Jr, e.svgOverlay = Dr, e.tileLayer = Rr, e.tooltip = Mr, e.transformation = se, e.version = t, e.videoOverlay = Tr;
5241
5241
  var ai = window.L;
5242
5242
  e.noConflict = function() {
5243
5243
  return window.L = ai, this;
@@ -5984,7 +5984,7 @@ var xt = /* @__PURE__ */ B(mt, [["render", bt], ["__scopeId", "data-v-71b2d8af"]
5984
5984
  } }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
5985
5985
  });
5986
5986
  })))();
5987
- var nn = "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=", rn = /*#__PURE__*/ B(/* @__PURE__ */ d({
5987
+ var nn = "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=", rn = /*#__PURE__*/ B(/* @__PURE__ */ z({
5988
5988
  __name: "Map",
5989
5989
  props: {
5990
5990
  modelValue: {},
@@ -5992,67 +5992,67 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
5992
5992
  },
5993
5993
  emits: ["update:modelValue", "callback"],
5994
5994
  setup(e, { emit: t }) {
5995
- let { t: n } = v(), r = t, i = e, { hotelMapImage: a } = E(pe()), o = tn.default.Util.extend(tn.default.CRS.Simple, { transformation: new tn.default.Transformation(1, 0, 1, 0) }), s = I(), c = P(() => a.value?.url), l = P(() => a.value?.height), u = P(() => a.value?.width), d = tn.default.icon({
5995
+ let { t: r } = v(), i = t, a = e, { hotelMapImage: o } = C(he()), s = tn.default.Util.extend(tn.default.CRS.Simple, { transformation: new tn.default.Transformation(1, 0, 1, 0) }), c = R(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = tn.default.icon({
5996
5996
  iconUrl: nn,
5997
5997
  iconSize: [32, 37],
5998
5998
  iconAnchor: [16, 37]
5999
5999
  });
6000
- function f() {
6001
- let e = tn.default.map(s.value, {
6000
+ function p() {
6001
+ let e = tn.default.map(c.value, {
6002
6002
  attributionControl: !1,
6003
6003
  zoomControl: !0,
6004
6004
  smoothWheelZoom: !0,
6005
- maxBounds: [[l.value, u.value], [0, 0]],
6006
- center: [-l.value / 2, 0],
6005
+ maxBounds: [[u.value, d.value], [0, 0]],
6006
+ center: [-u.value / 2, 0],
6007
6007
  zoom: 0,
6008
6008
  minZoom: -2,
6009
6009
  maxZoom: 1,
6010
- crs: o
6011
- }), t = [[0, 0], [l.value, u.value]];
6012
- tn.default.imageOverlay(c.value, t).addTo(e);
6013
- let r = tn.default.markerClusterGroup({ showCoverageOnHover: !1 }), i = new tn.default.LatLngBounds(h.value.map(({ y: e, x: t }) => [e, t]));
6014
- h.value.forEach(({ y: e, x: t, name: i, id: a }) => {
6015
- r.addLayer(tn.default.marker([e, t], {
6016
- icon: d,
6010
+ crs: s
6011
+ }), t = [[0, 0], [u.value, d.value]];
6012
+ tn.default.imageOverlay(l.value, t).addTo(e);
6013
+ let n = tn.default.markerClusterGroup({ showCoverageOnHover: !1 }), i = new tn.default.LatLngBounds(g.value.map(({ y: e, x: t }) => [e, t]));
6014
+ g.value.forEach(({ y: e, x: t, name: i, id: a }) => {
6015
+ n.addLayer(tn.default.marker([e, t], {
6016
+ icon: f,
6017
6017
  title: i,
6018
6018
  alt: i,
6019
6019
  riseOnHover: !0,
6020
6020
  autoPanOnFocus: !0
6021
- }).bindPopup(`<h3 class="konnectio-leaflet-map-popup-title"><span>${i}</span></h3><button class="konnectio-leaflet-map-popup-button" data-id="${a}">${n("hotel.selectRoomOnMap")}</button>`));
6022
- }), e.addLayer(r), e.invalidateSize(), e.fitBounds(i), e.on("popupopen", (e) => {
6021
+ }).bindPopup(`<h3 class="konnectio-leaflet-map-popup-title"><span>${i}</span></h3><button class="konnectio-leaflet-map-popup-button" data-id="${a}">${r("hotel.selectRoomOnMap")}</button>`));
6022
+ }), e.addLayer(n), e.invalidateSize(), e.fitBounds(i), e.on("popupopen", (e) => {
6023
6023
  let t = e.popup._contentNode.querySelector(".konnectio-leaflet-map-popup-button");
6024
6024
  t?.addEventListener("click", () => {
6025
6025
  ee(parseInt(t.getAttribute("data-id") || ""));
6026
6026
  });
6027
6027
  });
6028
6028
  }
6029
- let { stop: p } = Oe(s, ([{ isIntersecting: e }]) => {
6030
- e && (p(), f());
6031
- }), m = P({
6032
- get: () => i.modelValue,
6029
+ let { stop: m } = P(c, ([{ isIntersecting: e }]) => {
6030
+ e && (m(), p());
6031
+ }), h = n({
6032
+ get: () => a.modelValue,
6033
6033
  set: (e) => _(e)
6034
- }), h = P(() => i.rooms.map((e) => ({
6034
+ }), g = n(() => a.rooms.map((e) => ({
6035
6035
  id: e.id,
6036
6036
  name: e.name,
6037
6037
  x: e.mapImageX,
6038
6038
  y: e.mapImageY
6039
6039
  })));
6040
6040
  function _(e) {
6041
- r("update:modelValue", e);
6041
+ i("update:modelValue", e);
6042
6042
  }
6043
6043
  function ee(e) {
6044
- isNaN(e) ? console.log("Invalid room ID selected:", e) : (m.value = e, r("callback"));
6044
+ isNaN(e) ? console.log("Invalid room ID selected:", e) : (h.value = e, i("callback"));
6045
6045
  }
6046
- return (e, t) => t[0] || (k(-1, !0), (t[0] = g("div", {
6046
+ return (e, t) => t[0] || (D(-1, !0), (t[0] = T("div", {
6047
6047
  ref_key: "mapContainer",
6048
- ref: s,
6048
+ ref: c,
6049
6049
  class: "konnectio-leaflet-map"
6050
- }, null, 512)).cacheIndex = 0, k(1), t[0]);
6050
+ }, null, 512)).cacheIndex = 0, D(1), t[0]);
6051
6051
  }
6052
6052
  }), [["__scopeId", "data-v-c36a3ba7"]]), Q = { style: {
6053
6053
  height: "100%",
6054
6054
  width: "100%"
6055
- } }, an = /* @__PURE__ */ d({
6055
+ } }, an = /* @__PURE__ */ z({
6056
6056
  __name: "MapSelector",
6057
6057
  props: {
6058
6058
  roomList: {},
@@ -6061,20 +6061,20 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6061
6061
  },
6062
6062
  emits: ["update:config"],
6063
6063
  setup(e, { emit: t }) {
6064
- let { t: n } = v(), r = I(NaN), i = P(() => !isNaN(r.value)), a = e, s = t;
6065
- function l() {
6066
- i.value && (s("update:config", {
6067
- ...a.config,
6064
+ let { t: i } = v(), a = R(NaN), o = n(() => !isNaN(a.value)), s = e, c = t;
6065
+ function d() {
6066
+ o.value && (c("update:config", {
6067
+ ...s.config,
6068
6068
  units: 1,
6069
- roomId: r.value
6070
- }), a.callback());
6069
+ roomId: a.value
6070
+ }), s.callback());
6071
6071
  }
6072
- return (t, i) => (c(), o(ze, { title: _(n)("hotel.selectRoomOnMapTitle") }, {
6073
- default: M(() => [g("div", Q, [w(rn, {
6074
- modelValue: r.value,
6075
- "onUpdate:modelValue": i[0] ||= (e) => r.value = e,
6072
+ return (t, n) => (b(), u(ze, { title: r(i)("hotel.selectRoomOnMapTitle") }, {
6073
+ default: S(() => [T("div", Q, [l(rn, {
6074
+ modelValue: a.value,
6075
+ "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
6076
6076
  rooms: e.roomList,
6077
- onCallback: l
6077
+ onCallback: d
6078
6078
  }, null, 8, ["modelValue", "rooms"])])]),
6079
6079
  _: 1
6080
6080
  }, 8, ["title"]));
@@ -6091,7 +6091,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6091
6091
  }, dn = {
6092
6092
  key: 1,
6093
6093
  class: "konnectio-listing-units-body"
6094
- }, fn = /*#__PURE__*/ B(/* @__PURE__ */ d({
6094
+ }, fn = /*#__PURE__*/ B(/* @__PURE__ */ z({
6095
6095
  __name: "Hotel",
6096
6096
  props: {
6097
6097
  room: {},
@@ -6099,85 +6099,85 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6099
6099
  callback: { type: Function }
6100
6100
  },
6101
6101
  setup(e) {
6102
- let t = I(!1);
6103
- function n() {
6102
+ let t = R(!1);
6103
+ function i() {
6104
6104
  t.value = !0;
6105
6105
  }
6106
- function r(e) {
6107
- u.callback(e), t.value = !1;
6106
+ function o(e) {
6107
+ c.callback(e), t.value = !1;
6108
6108
  }
6109
- let { t: i } = v(), u = e, d = I([]);
6109
+ let { t: s } = v(), c = e, f = R([]);
6110
6110
  function p() {
6111
- let e = d.value.length;
6111
+ let e = f.value.length;
6112
6112
  le(e);
6113
6113
  }
6114
- function h(e) {
6115
- d.value.splice(e, 1);
6114
+ function _(e) {
6115
+ f.value.splice(e, 1);
6116
6116
  }
6117
- let ee = P(() => u.room.rates.map((e) => ({
6117
+ let ee = n(() => c.room.rates.map((e) => ({
6118
6118
  label: e.name,
6119
6119
  value: e.id
6120
- }))), { hideAvailableRoomAmount: te, autoSelectRateId: x, enableMultipleConfigurations: ne, hasSharedAddonSelection: S } = E(se()), { location: C } = E(ae()), { roomSelect: re, isSearchOutdated: ie } = E(pe()), { addToCart: D, removeFromCart: O } = oe(), k = (e, t) => u.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), A = P(() => u.room.roomList.some((e) => e.mapImageX && e.mapImageY)), j = P(() => u.room.rates.every((e) => e.isBreakfastIncluded === !0)), F = (e, t) => k(e, t) ? k(e, t)?.rooms : null, R = (e) => u.room.rates.length > 0 && u.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
6120
+ }))), { hideAvailableRoomAmount: te, autoSelectRateId: ne, enableMultipleConfigurations: re, hasSharedAddonSelection: y } = C(ce()), { location: x } = C(oe()), { roomSelect: ie, isSearchOutdated: D } = C(he()), { addToCart: k, removeFromCart: A } = se(), j = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), M = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), N = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), P = (e, t) => j(e, t) ? j(e, t)?.rooms : null, F = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
6121
6121
  value: e.index,
6122
6122
  price: e.totalPrice,
6123
6123
  adults: e.adultsCount,
6124
6124
  children: e.childrenCount,
6125
6125
  hasBreakfast: e.hasBreakfast
6126
- })) || [], z = P(() => u.room.rates.length > 1);
6127
- function ce(e, t) {
6128
- d.value[e].config[0].id = u.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
6126
+ })) || [], z = n(() => c.room.rates.length > 1);
6127
+ function ae(e, t) {
6128
+ f.value[e].config[0].id = c.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
6129
6129
  }
6130
6130
  function le(e = 0) {
6131
- z.value ? x.value ? d.value[e] = {
6132
- id: u.room.bestRateMatch || void 0,
6131
+ z.value ? ne.value ? f.value[e] = {
6132
+ id: c.room.bestRateMatch || void 0,
6133
6133
  config: [{
6134
- id: u.room.bestRateMatch && !isNaN(u.room.bestRateMatch) ? u.room.rates.find((e) => e.id === u.room.bestRateMatch)?.occupantRateIndex : NaN,
6134
+ id: c.room.bestRateMatch && !isNaN(c.room.bestRateMatch) ? c.room.rates.find((e) => e.id === c.room.bestRateMatch)?.occupantRateIndex : NaN,
6135
6135
  units: 0,
6136
6136
  addons: []
6137
6137
  }]
6138
- } : d.value[e] = {
6138
+ } : f.value[e] = {
6139
6139
  id: void 0,
6140
6140
  config: [{
6141
- id: u.room.rates[0].occupantRateIndex || NaN,
6141
+ id: c.room.rates[0].occupantRateIndex || NaN,
6142
6142
  units: 0,
6143
6143
  addons: []
6144
6144
  }]
6145
- } : d.value[e] = {
6146
- id: u.room.rates[0].id,
6145
+ } : f.value[e] = {
6146
+ id: c.room.rates[0].id,
6147
6147
  config: [{
6148
- id: u.room.rates[0].occupantRateIndex || NaN,
6148
+ id: c.room.rates[0].occupantRateIndex || NaN,
6149
6149
  units: 0,
6150
6150
  addons: []
6151
6151
  }]
6152
6152
  };
6153
6153
  }
6154
- l(() => {
6154
+ g(() => {
6155
6155
  le();
6156
6156
  });
6157
- let ue = P(() => JSON.parse(JSON.stringify(d.value)));
6158
- return b(ue, (e, t) => {
6157
+ let ue = n(() => JSON.parse(JSON.stringify(f.value)));
6158
+ return O(ue, (e, t) => {
6159
6159
  t.length > 0 && e.forEach((n, r) => {
6160
6160
  t[r] && n.config.forEach((n, i) => {
6161
6161
  let a = n.units, o = t[r].config[i].units;
6162
6162
  if (a !== o) {
6163
6163
  if (a > o) {
6164
- let t = d.value[r].config[i].addons;
6165
- t.push(S.value(C.value) ? t[0] ?? ge(u.room.rates.find((t) => t.id === e[r].id)?.addons) : ge(u.room.rates.find((t) => t.id === e[r].id)?.addons)), D({
6166
- id: u.room.id,
6167
- name: u.room.title,
6168
- value: u.room.rates[r].rackRate
6164
+ let t = f.value[r].config[i].addons;
6165
+ t.push(y.value(x.value) ? t[0] ?? ve(c.room.rates.find((t) => t.id === e[r].id)?.addons) : ve(c.room.rates.find((t) => t.id === e[r].id)?.addons)), k({
6166
+ id: c.room.id,
6167
+ name: c.room.title,
6168
+ value: c.room.rates[r].rackRate
6169
6169
  });
6170
- } else d.value[r].config[i].addons.pop(), O({
6171
- id: u.room.id,
6172
- name: u.room.title,
6173
- value: u.room.rates[r].rackRate
6170
+ } else f.value[r].config[i].addons.pop(), A({
6171
+ id: c.room.id,
6172
+ name: c.room.title,
6173
+ value: c.room.rates[r].rackRate
6174
6174
  });
6175
6175
  }
6176
6176
  });
6177
6177
  });
6178
- }, { deep: !0 }), b(d, () => {
6179
- re.value[u.room.id] = d.value;
6180
- }, { deep: !0 }), (l, u) => (c(), o(Ye, {
6178
+ }, { deep: !0 }), O(f, () => {
6179
+ ie.value[c.room.id] = f.value;
6180
+ }, { deep: !0 }), (n, c) => (b(), u(Ye, {
6181
6181
  type: "hotel",
6182
6182
  "listing-id": e.room.id,
6183
6183
  gallery: e.room.images,
@@ -6186,19 +6186,19 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6186
6186
  layout: e.layout,
6187
6187
  facilities: e.room.facilities,
6188
6188
  "prices-from": e.room.pricesFrom,
6189
- "includes-breakfast": j.value
6189
+ "includes-breakfast": N.value
6190
6190
  }, {
6191
- action: M(() => [g("div", { class: s(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": d.value.length > 1 }]) }, [(c(!0), f(y, null, m(d.value, (o, s) => (c(), f("div", {
6192
- key: o.id,
6191
+ 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", {
6192
+ key: n.id,
6193
6193
  class: "konnectio-hotel-room"
6194
- }, [z.value ? (c(), f("div", on, [w(je, {
6195
- modelValue: o.id,
6196
- "onUpdate:modelValue": (e) => o.id = e,
6197
- label: _(i)("hotel.roomVariant"),
6198
- placeholder: _(i)("hotel.chooseARoomVariant"),
6194
+ }, [z.value ? (b(), m("div", on, [l(je, {
6195
+ modelValue: n.id,
6196
+ "onUpdate:modelValue": (e) => n.id = e,
6197
+ label: r(s)("hotel.roomVariant"),
6198
+ placeholder: r(s)("hotel.chooseARoomVariant"),
6199
6199
  options: ee.value,
6200
6200
  searchable: !1,
6201
- onChanged: (e) => ce(s, e)
6201
+ onChanged: (e) => ae(u, e)
6202
6202
  }, null, 8, [
6203
6203
  "modelValue",
6204
6204
  "onUpdate:modelValue",
@@ -6206,27 +6206,27 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6206
6206
  "placeholder",
6207
6207
  "options",
6208
6208
  "onChanged"
6209
- ]), d.value.length > 1 ? (c(), f("div", sn, [w(Me, {
6209
+ ]), f.value.length > 1 ? (b(), m("div", sn, [l(Me, {
6210
6210
  style: { "--buttonBackground": "var(--dangerColor)" },
6211
6211
  icon: "trash-alt",
6212
6212
  "icon-type": "fas",
6213
- onClickEvent: (e) => h(s),
6213
+ onClickEvent: (e) => _(u),
6214
6214
  secondary: ""
6215
- }, null, 8, ["onClickEvent"])])) : a("", !0)])) : a("", !0), o.id ? (c(), f("div", cn, [(c(!0), f(y, null, m(e.room.rates, ({ id: s, maximumOccupants: l }) => (c(), f("div", {
6216
- key: s,
6215
+ }, null, 8, ["onClickEvent"])])) : d("", !0)])) : d("", !0), n.id ? (b(), m("div", cn, [(b(!0), m(a, null, w(e.room.rates, ({ id: u, maximumOccupants: f }) => (b(), m("div", {
6216
+ key: u,
6217
6217
  class: "konnectio-listing-action-selective-i"
6218
- }, [o.id === s ? (c(!0), f(y, { key: 0 }, m(o.config, (a, d) => (c(), f("div", {
6218
+ }, [n.id === u ? (b(!0), m(a, { key: 0 }, w(n.config, (a, d) => (b(), m("div", {
6219
6219
  key: d,
6220
6220
  class: "konnectio-listing-action-selective"
6221
- }, [g("ul", ln, [w(en, {
6221
+ }, [T("ul", ln, [l(en, {
6222
6222
  modelValue: a.id,
6223
6223
  "onUpdate:modelValue": (e) => a.id = e,
6224
6224
  icon: "male",
6225
6225
  "icon-type": "fas",
6226
- label: _(i)("general.guests"),
6227
- description: l === 0 ? void 0 : `${_(i)("general.maximumGuests")}: ${l}`,
6228
- options: R(s),
6229
- readonly: !(R(s).length > 1)
6226
+ label: r(s)("general.guests"),
6227
+ description: f === 0 ? void 0 : `${r(s)("general.maximumGuests")}: ${f}`,
6228
+ options: F(u),
6229
+ readonly: !(F(u).length > 1)
6230
6230
  }, null, 8, [
6231
6231
  "modelValue",
6232
6232
  "onUpdate:modelValue",
@@ -6234,45 +6234,45 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6234
6234
  "description",
6235
6235
  "options",
6236
6236
  "readonly"
6237
- ])]), A.value ? (c(), f("div", dn, [w(Me, {
6238
- onClickEvent: n,
6239
- label: _(i)("hotel.selectRoomOnMap"),
6237
+ ])]), M.value ? (b(), m("div", dn, [l(Me, {
6238
+ onClickEvent: i,
6239
+ label: r(s)("hotel.selectRoomOnMap"),
6240
6240
  secondary: "",
6241
6241
  "full-width": "",
6242
- disabled: _(ie)
6243
- }, null, 8, ["label", "disabled"]), w(an, {
6242
+ disabled: r(D)
6243
+ }, null, 8, ["label", "disabled"]), l(an, {
6244
6244
  modelValue: t.value,
6245
- "onUpdate:modelValue": u[0] ||= (e) => t.value = e,
6245
+ "onUpdate:modelValue": c[0] ||= (e) => t.value = e,
6246
6246
  "room-list": e.room.roomList,
6247
6247
  config: a,
6248
6248
  "onUpdate:config": (e) => Object.assign(a, e),
6249
- callback: r
6249
+ callback: o
6250
6250
  }, null, 8, [
6251
6251
  "modelValue",
6252
6252
  "room-list",
6253
6253
  "config",
6254
6254
  "onUpdate:config"
6255
- ])])) : (c(), f("ul", un, [w(ke, {
6255
+ ])])) : (b(), m("ul", un, [l(ke, {
6256
6256
  modelValue: a.units,
6257
6257
  "onUpdate:modelValue": (e) => a.units = e,
6258
- description: _(te) ? void 0 : `${_(i)("booking.availability.availableUnits")}: ${F(o.id, a.id)}`,
6258
+ description: r(te) ? void 0 : `${r(s)("booking.availability.availableUnits")}: ${P(n.id, a.id)}`,
6259
6259
  icon: "house",
6260
6260
  "icon-type": "fas",
6261
6261
  "icon-placement": "label",
6262
- label: _(i)("booking.availability.units"),
6262
+ label: r(s)("booking.availability.units"),
6263
6263
  minValue: 0,
6264
- "max-value": F(s, a.id) || Infinity
6264
+ "max-value": P(u, a.id) || Infinity
6265
6265
  }, null, 8, [
6266
6266
  "modelValue",
6267
6267
  "onUpdate:modelValue",
6268
6268
  "description",
6269
6269
  "label",
6270
6270
  "max-value"
6271
- ])]))]))), 128)) : a("", !0)]))), 128))])) : a("", !0)]))), 128)), _(ne) && z.value ? (c(), f("button", {
6271
+ ])]))]))), 128)) : d("", !0)]))), 128))])) : d("", !0)]))), 128)), r(re) && z.value ? (b(), m("button", {
6272
6272
  key: 0,
6273
6273
  class: "konnectio-hotel-add-extra-room link",
6274
- onClick: N(p, ["prevent"])
6275
- }, [g("span", null, T(_(i)("hotel.addExtraVariant")), 1)])) : a("", !0)], 2)]),
6274
+ onClick: I(p, ["prevent"])
6275
+ }, [T("span", null, h(r(s)("hotel.addExtraVariant")), 1)])) : d("", !0)], 2)]),
6276
6276
  _: 1
6277
6277
  }, 8, [
6278
6278
  "listing-id",
@@ -6288,7 +6288,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6288
6288
  }), [["__scopeId", "data-v-c7b61560"]]), pn = { class: "konnectio-template-side-panel" }, mn = { class: "konnectio-template-side-panel-listings" }, hn = { class: "konnectio-template-room-config" }, gn = { class: "konnectio-template-room-units" }, _n = { class: "konnectio-template-room-unit-header" }, vn = { class: "konnectio-template-footer" }, yn = {
6289
6289
  key: 0,
6290
6290
  class: "konnectio-template-selection-preview"
6291
- }, bn = { class: "konnectio-template-selection-item-header" }, xn = { class: "konnectio-template-selection-item-name" }, Sn = { class: "konnectio-template-selection-item-price" }, $ = { class: "konnectio-template-selection-item-units" }, Cn = /*#__PURE__*/ B(/* @__PURE__ */ d({
6291
+ }, bn = { class: "konnectio-template-selection-item-header" }, xn = { class: "konnectio-template-selection-item-name" }, Sn = { class: "konnectio-template-selection-item-price" }, $ = { class: "konnectio-template-selection-item-units" }, Cn = /*#__PURE__*/ B(/* @__PURE__ */ z({
6292
6292
  __name: "Template",
6293
6293
  props: {
6294
6294
  title: {},
@@ -6299,85 +6299,85 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6299
6299
  callback: { type: Function }
6300
6300
  },
6301
6301
  setup(e) {
6302
- let { t } = v(), n = se(), i = pe(), { location: l, adults: u, children: d } = E(ae()), { templateID: p, roomGroupID: h, templateRoomSelections: x, selectionHasNoAddons: ne, currentAdults: S, currentChildren: C } = E(i), { currency: re } = E(n), { clearRoomSelection: ie } = i, { addToCart: D } = oe(), { hasChildSelection: O, hasSharedAddonSelection: k } = n, A = e, j = I(!1), N = u.value || 1, F = d.value || 0, R = te({}), z = P(() => {
6302
+ let { t } = v(), i = ce(), o = he(), { location: c, adults: f, children: p } = C(oe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: ne, currentAdults: re, currentChildren: y } = C(o), { currency: x } = C(i), { clearRoomSelection: ie } = o, { addToCart: D } = se(), { hasChildSelection: k, hasSharedAddonSelection: A } = i, j = e, N = R(!1), P = f.value || 1, F = p.value || 0, I = te({}), z = n(() => {
6303
6303
  function e(e, t) {
6304
- return j.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
6304
+ return N.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
6305
6305
  }
6306
- let t = A.roomGroups?.slice().sort(e) || [];
6306
+ let t = j.roomGroups?.slice().sort(e) || [];
6307
6307
  return t.forEach((e) => {
6308
- R[e.id] || (R[e.id] = {
6308
+ I[e.id] || (I[e.id] = {
6309
6309
  units: 0,
6310
6310
  configs: [{
6311
- adults: N,
6311
+ adults: P,
6312
6312
  children: F
6313
6313
  }]
6314
6314
  });
6315
6315
  }), t;
6316
6316
  });
6317
- function ce(e) {
6317
+ function ae(e) {
6318
6318
  return z.value.find((t) => t.id === e);
6319
6319
  }
6320
6320
  function le(e) {
6321
- let t = ce(e);
6322
- if (!t) return N;
6321
+ let t = ae(e);
6322
+ if (!t) return P;
6323
6323
  let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
6324
- return Math.max(n, N);
6324
+ return Math.max(n, P);
6325
6325
  }
6326
- function de(e) {
6327
- let t = ce(e);
6326
+ function ue(e) {
6327
+ let t = ae(e);
6328
6328
  return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(F, 1) : 0;
6329
6329
  }
6330
- function fe(e) {
6331
- let t = ce(e);
6330
+ function de(e) {
6331
+ let t = ae(e);
6332
6332
  return t && t.availableRoomCount || 1;
6333
6333
  }
6334
- function me(e) {
6335
- let t = ce(e);
6336
- return t ? t.extraPrice + A.weekendFee : 0;
6334
+ function pe(e) {
6335
+ let t = ae(e);
6336
+ return t ? t.extraPrice + j.weekendFee : 0;
6337
6337
  }
6338
- b(() => ({ ...R }), () => {
6339
- Object.keys(R).forEach((e) => {
6340
- let t = R[Number(e)], n = t.units, r = t.configs.length;
6338
+ O(() => ({ ...I }), () => {
6339
+ Object.keys(I).forEach((e) => {
6340
+ let t = I[Number(e)], n = t.units, r = t.configs.length;
6341
6341
  if (n > r) for (let e = r; e < n; e++) t.configs.push({
6342
- adults: N,
6342
+ adults: P,
6343
6343
  children: F
6344
6344
  });
6345
6345
  else n < r && t.configs.splice(n);
6346
6346
  });
6347
6347
  }, { deep: !0 });
6348
- let B = P(() => {
6349
- JSON.stringify(R);
6348
+ let me = n(() => {
6349
+ JSON.stringify(I);
6350
6350
  let e = {};
6351
6351
  return z.value.forEach((t) => {
6352
- let n = R[t.id];
6352
+ let n = I[t.id];
6353
6353
  if (!n) {
6354
6354
  e[t.id] = [];
6355
6355
  return;
6356
6356
  }
6357
- e[t.id] = n.configs.map((e) => ue(t, e.adults, e.children, N, F));
6357
+ e[t.id] = n.configs.map((e) => fe(t, e.adults, e.children, P, F));
6358
6358
  }), e;
6359
6359
  });
6360
- function he(e, t) {
6361
- return B.value[e]?.[t] ?? 0;
6360
+ function ge(e, t) {
6361
+ return me.value[e]?.[t] ?? 0;
6362
6362
  }
6363
- function _e() {
6363
+ function B() {
6364
6364
  let e = 0;
6365
6365
  return z.value.forEach((t) => {
6366
- let n = R[t.id];
6366
+ let n = I[t.id];
6367
6367
  if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
6368
- let n = he(t.id, r);
6369
- e += n + A.weekendFee;
6368
+ let n = ge(t.id, r);
6369
+ e += n + j.weekendFee;
6370
6370
  }
6371
6371
  }), e;
6372
6372
  }
6373
- function ve() {
6374
- return Object.values(R).reduce((e, t) => e + t.units, 0);
6373
+ function _e() {
6374
+ return Object.values(I).reduce((e, t) => e + t.units, 0);
6375
6375
  }
6376
- let ye = P(() => z.value.filter((e) => R[e.id]?.units > 0).map((e) => {
6377
- let t = R[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
6376
+ let ye = n(() => z.value.filter((e) => I[e.id]?.units > 0).map((e) => {
6377
+ let t = I[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
6378
6378
  adults: t.adults,
6379
6379
  children: t.children,
6380
- price: he(e.id, n) + A.weekendFee
6380
+ price: ge(e.id, n) + j.weekendFee
6381
6381
  }));
6382
6382
  return {
6383
6383
  id: e.id,
@@ -6386,27 +6386,27 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6386
6386
  units: n
6387
6387
  };
6388
6388
  }));
6389
- b(ye, () => {
6390
- ee(() => window.dispatchEvent(new Event("resize")));
6389
+ O(ye, () => {
6390
+ M(() => window.dispatchEvent(new Event("resize")));
6391
6391
  });
6392
6392
  function be() {
6393
- if (!Object.values(R).some((e) => e.units > 0)) return;
6393
+ if (!Object.values(I).some((e) => e.units > 0)) return;
6394
6394
  ie();
6395
6395
  let e = [], t = 0, n = 0;
6396
6396
  if (z.value.forEach((r) => {
6397
- let i = R[r.id];
6397
+ let i = I[r.id];
6398
6398
  if (!i || i.units === 0) return;
6399
- let a = i.configs.slice(0, i.units), o = k(l.value) ? {} : null;
6399
+ let a = i.configs.slice(0, i.units), o = A(c.value) ? {} : null;
6400
6400
  e.push({
6401
6401
  roomGroupId: r.id,
6402
6402
  unitConfigs: a.map((e) => ({
6403
6403
  adults: e.adults,
6404
6404
  children: e.children,
6405
- addons: o ?? ge(r.addons)
6405
+ addons: o ?? ve(r.addons)
6406
6406
  }))
6407
- }), h.value ||= r.id;
6407
+ }), _.value ||= r.id;
6408
6408
  for (let e = 0; e < i.units; e++) {
6409
- let t = he(r.id, e);
6409
+ let t = ge(r.id, e);
6410
6410
  D({
6411
6411
  id: r.id,
6412
6412
  name: r.title,
@@ -6416,67 +6416,67 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6416
6416
  a.forEach((e) => {
6417
6417
  t += e.adults, n += e.children;
6418
6418
  });
6419
- }), x.value = e, p.value = A.templateId, S.value = t, C.value = n, A.hideAddons === !1 && ne.value === !1) {
6420
- A.callback(1);
6419
+ }), ee.value = e, g.value = j.templateId, re.value = t, y.value = n, j.hideAddons === !1 && ne.value === !1) {
6420
+ j.callback(1);
6421
6421
  return;
6422
6422
  }
6423
- A.callback(2);
6423
+ j.callback(2);
6424
6424
  }
6425
- return (n, i) => (c(), o(ze, {
6425
+ return (n, i) => (b(), u(ze, {
6426
6426
  title: e.title,
6427
- subtitle: _(t)("booking.availability.selectATemplateRoom")
6427
+ subtitle: r(t)("booking.availability.selectATemplateRoom")
6428
6428
  }, {
6429
- footer: M(() => [g("div", vn, [ye.value.length > 0 ? (c(), f("div", yn, [(c(!0), f(y, null, m(ye.value, (e) => (c(), f("div", {
6429
+ footer: S(() => [T("div", vn, [ye.value.length > 0 ? (b(), m("div", yn, [(b(!0), m(a, null, w(ye.value, (e) => (b(), m("div", {
6430
6430
  key: e.id,
6431
6431
  class: "konnectio-template-selection-item"
6432
- }, [g("div", bn, [g("span", xn, T(e.title), 1), g("span", Sn, T(_(Ce)(e.totalPrice, _(re))), 1)]), g("div", $, [(c(!0), f(y, null, m(e.units, (e, n) => (c(), f("span", {
6432
+ }, [T("div", bn, [T("span", xn, h(e.title), 1), T("span", Sn, h(r(Te)(e.totalPrice, r(x))), 1)]), T("div", $, [(b(!0), m(a, null, w(e.units, (e, n) => (b(), m("span", {
6433
6433
  key: n,
6434
6434
  class: "konnectio-template-selection-unit"
6435
6435
  }, [
6436
- r(T(_(t)("booking.reservation.room")) + " " + T(n + 1) + ": " + T(e.adults) + " " + T(_(t)("availability.adults")) + " ", 1),
6437
- e.children > 0 ? (c(), f(y, { key: 0 }, [r(" , " + T(e.children) + " " + T(_(t)("availability.children")), 1)], 64)) : a("", !0),
6438
- r(" · " + T(_(Ce)(e.price, _(re))), 1)
6439
- ]))), 128))])]))), 128))])) : a("", !0), w(Me, {
6436
+ s(h(r(t)("booking.reservation.room")) + " " + h(n + 1) + ": " + h(e.adults) + " " + h(r(t)("availability.adults")) + " ", 1),
6437
+ e.children > 0 ? (b(), m(a, { key: 0 }, [s(" , " + h(e.children) + " " + h(r(t)("availability.children")), 1)], 64)) : d("", !0),
6438
+ s(" · " + h(r(Te)(e.price, r(x))), 1)
6439
+ ]))), 128))])]))), 128))])) : d("", !0), l(Me, {
6440
6440
  onClickEvent: be,
6441
- label: `${ve() > 1 ? _(t)("booking.availability.selectTheseRooms") : _(t)("booking.availability.selectThisRoom")} (${_(Ce)(_e(), _(re))})`,
6442
- disabled: ve() === 0,
6441
+ label: `${_e() > 1 ? r(t)("booking.availability.selectTheseRooms") : r(t)("booking.availability.selectThisRoom")} (${r(Te)(B(), r(x))})`,
6442
+ disabled: _e() === 0,
6443
6443
  "full-width": ""
6444
6444
  }, null, 8, ["label", "disabled"])])]),
6445
- default: M(() => [g("div", pn, [g("div", mn, [(c(!0), f(y, null, m(z.value, (e) => (c(), o(Ye, {
6445
+ default: S(() => [T("div", pn, [T("div", mn, [(b(!0), m(a, null, w(z.value, (e) => (b(), u(Ye, {
6446
6446
  key: e.id,
6447
6447
  type: "hotel",
6448
6448
  "listing-id": e.id,
6449
6449
  name: e.title,
6450
6450
  description: e.description,
6451
6451
  facilities: e.facilities,
6452
- "prices-from": me(e.id),
6452
+ "prices-from": pe(e.id),
6453
6453
  gallery: e.images,
6454
6454
  "includes-breakfast": !1,
6455
6455
  "hide-info-button": !0
6456
6456
  }, {
6457
- action: M(() => [g("div", hn, [g("div", gn, [w(ke, {
6458
- modelValue: R[e.id].units,
6459
- "onUpdate:modelValue": (t) => R[e.id].units = t,
6460
- label: _(t)("booking.availability.units"),
6457
+ action: S(() => [T("div", hn, [T("div", gn, [l(ke, {
6458
+ modelValue: I[e.id].units,
6459
+ "onUpdate:modelValue": (t) => I[e.id].units = t,
6460
+ label: r(t)("booking.availability.units"),
6461
6461
  icon: "house",
6462
6462
  "icon-type": "fas",
6463
6463
  "icon-placement": "label",
6464
6464
  "min-value": 0,
6465
- "max-value": fe(e.id),
6465
+ "max-value": de(e.id),
6466
6466
  controls: !0
6467
6467
  }, null, 8, [
6468
6468
  "modelValue",
6469
6469
  "onUpdate:modelValue",
6470
6470
  "label",
6471
6471
  "max-value"
6472
- ])]), (c(!0), f(y, null, m(R[e.id].configs, (n, r) => (c(), f("div", {
6473
- key: r,
6472
+ ])]), (b(!0), m(a, null, w(I[e.id].configs, (n, i) => (b(), m("div", {
6473
+ key: i,
6474
6474
  class: "konnectio-template-room-unit-config"
6475
- }, [g("div", _n, [g("span", null, T(_(t)("booking.reservation.room")) + " " + T(r + 1), 1), g("span", null, T(_(Ce)(he(e.id, r), _(re))), 1)]), g("div", { class: s(["konnectio-template-room-guests", { "only-adult-guests": !_(O)(_(l)) }]) }, [w(ke, {
6475
+ }, [T("div", _n, [T("span", null, h(r(t)("booking.reservation.room")) + " " + h(i + 1), 1), T("span", null, h(r(Te)(ge(e.id, i), r(x))), 1)]), T("div", { class: E(["konnectio-template-room-guests", { "only-adult-guests": !r(k)(r(c)) }]) }, [l(ke, {
6476
6476
  modelValue: n.adults,
6477
6477
  "onUpdate:modelValue": (e) => n.adults = e,
6478
- label: _(t)("availability.adults"),
6479
- description: _(t)("general.adultAgeRange"),
6478
+ label: r(t)("availability.adults"),
6479
+ description: r(t)("general.adultAgeRange"),
6480
6480
  icon: "male",
6481
6481
  "icon-type": "fas",
6482
6482
  "icon-placement": "label",
@@ -6489,17 +6489,17 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6489
6489
  "label",
6490
6490
  "description",
6491
6491
  "max-value"
6492
- ]), _(O)(_(l)) ? (c(), o(ke, {
6492
+ ]), r(k)(r(c)) ? (b(), u(ke, {
6493
6493
  key: 0,
6494
6494
  modelValue: n.children,
6495
6495
  "onUpdate:modelValue": (e) => n.children = e,
6496
- label: _(t)("availability.children"),
6497
- description: _(t)("general.childAgeRange"),
6496
+ label: r(t)("availability.children"),
6497
+ description: r(t)("general.childAgeRange"),
6498
6498
  icon: "child",
6499
6499
  "icon-type": "fas",
6500
6500
  "icon-placement": "label",
6501
6501
  "min-value": 0,
6502
- "max-value": de(e.id),
6502
+ "max-value": ue(e.id),
6503
6503
  controls: !0
6504
6504
  }, null, 8, [
6505
6505
  "modelValue",
@@ -6507,7 +6507,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6507
6507
  "label",
6508
6508
  "description",
6509
6509
  "max-value"
6510
- ])) : a("", !0)], 2)]))), 128))])]),
6510
+ ])) : d("", !0)], 2)]))), 128))])]),
6511
6511
  _: 2
6512
6512
  }, 1032, [
6513
6513
  "listing-id",
@@ -6520,7 +6520,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6520
6520
  _: 1
6521
6521
  }, 8, ["title", "subtitle"]));
6522
6522
  }
6523
- }), [["__scopeId", "data-v-9cb8e8f4"]]), wn = { class: "konnectio-template-select-package" }, Tn = /* @__PURE__ */ d({
6523
+ }), [["__scopeId", "data-v-9cb8e8f4"]]), wn = { class: "konnectio-template-select-package" }, Tn = /* @__PURE__ */ z({
6524
6524
  __name: "Template",
6525
6525
  props: {
6526
6526
  id: {},
@@ -6533,39 +6533,39 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6533
6533
  callback: { type: Function }
6534
6534
  },
6535
6535
  setup(e) {
6536
- let { t } = v(), n = e, { isSearchOutdated: r } = E(pe()), i = P(() => n.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + n.weekendFee), a = I(!1);
6537
- function s() {
6538
- a.value = !0;
6536
+ 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 = R(!1);
6537
+ function c() {
6538
+ s.value = !0;
6539
6539
  }
6540
- function l(e) {
6541
- n.callback(e), a.value = !1;
6540
+ function d(e) {
6541
+ i.callback(e), s.value = !1;
6542
6542
  }
6543
- return (n, u) => (c(), o(Ye, {
6543
+ return (n, i) => (b(), u(Ye, {
6544
6544
  type: "template",
6545
6545
  "listing-id": e.id,
6546
6546
  name: e.name,
6547
6547
  description: e.description,
6548
6548
  gallery: e.images,
6549
- layout: _(Te).Template,
6549
+ layout: r(Ee).Template,
6550
6550
  "includes-breakfast": !1,
6551
6551
  "hide-info-button": !1,
6552
- "prices-from": i.value
6552
+ "prices-from": o.value
6553
6553
  }, {
6554
- action: M(() => [g("div", wn, [w(Me, {
6555
- onClickEvent: s,
6556
- label: _(t)("booking.availability.selectPackage"),
6554
+ action: S(() => [T("div", wn, [l(Me, {
6555
+ onClickEvent: c,
6556
+ label: r(t)("booking.availability.selectPackage"),
6557
6557
  "full-width": "",
6558
- disabled: _(r)
6558
+ disabled: r(a)
6559
6559
  }, null, 8, ["label", "disabled"])])]),
6560
- default: M(() => [w(Cn, {
6561
- modelValue: a.value,
6562
- "onUpdate:modelValue": u[0] ||= (e) => a.value = e,
6560
+ default: S(() => [l(Cn, {
6561
+ modelValue: s.value,
6562
+ "onUpdate:modelValue": i[0] ||= (e) => s.value = e,
6563
6563
  title: e.name,
6564
6564
  "template-id": e.id,
6565
6565
  "room-groups": e.roomGroups,
6566
6566
  "hide-addons": e.hideAddons,
6567
6567
  "weekend-fee": e.weekendFee,
6568
- callback: l
6568
+ callback: d
6569
6569
  }, null, 8, [
6570
6570
  "modelValue",
6571
6571
  "title",
@@ -6584,7 +6584,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6584
6584
  "prices-from"
6585
6585
  ]));
6586
6586
  }
6587
- }), En = { class: "konnectio-special-offer-availability" }, Dn = { class: "konnectio-special-offer-availability-button" }, On = /*#__PURE__*/ B(/* @__PURE__ */ d({
6587
+ }), En = { class: "konnectio-special-offer-availability" }, Dn = { class: "konnectio-special-offer-availability-button" }, On = /*#__PURE__*/ B(/* @__PURE__ */ z({
6588
6588
  __name: "SpecialOffer",
6589
6589
  props: {
6590
6590
  id: {},
@@ -6597,40 +6597,40 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6597
6597
  roomGroups: {}
6598
6598
  },
6599
6599
  setup(e) {
6600
- let { t } = v(), { updateDates: n } = ae(), { display: r } = fe(), i = e, a = I([]), s = P(() => Ne(i.fromDate, i.toDate) === 1);
6601
- function u() {
6602
- a.value.length > 0 ? n(a.value[0], a.value[1]) : r({
6600
+ let { t } = v(), { updateDates: i } = oe(), { display: a } = me(), o = e, s = R([]), c = n(() => Ne(o.fromDate, o.toDate) === 1);
6601
+ function d() {
6602
+ s.value.length > 0 ? i(s.value[0], s.value[1]) : a({
6603
6603
  message: t("alert.error.selectDates"),
6604
6604
  type: "error"
6605
6605
  });
6606
6606
  }
6607
- return l(() => {
6608
- s.value && (a.value = [new Date(i.fromDate), new Date(i.toDate)]);
6609
- }), (n, r) => (c(), o(Ye, {
6607
+ return g(() => {
6608
+ c.value && (s.value = [new Date(o.fromDate), new Date(o.toDate)]);
6609
+ }), (n, i) => (b(), u(Ye, {
6610
6610
  type: "template",
6611
6611
  "listing-id": e.id,
6612
6612
  name: e.name,
6613
6613
  description: e.description,
6614
6614
  gallery: e.images,
6615
- layout: _(Te).Template,
6615
+ layout: r(Ee).Template,
6616
6616
  "includes-breakfast": !1,
6617
6617
  "hide-info-button": !1,
6618
6618
  "to-date": e.toDate,
6619
6619
  "from-date": e.fromDate,
6620
6620
  "disable-deep-link": !0
6621
6621
  }, {
6622
- action: M(() => [g("div", En, [w(He, {
6623
- modelValue: a.value,
6624
- "onUpdate:modelValue": r[0] ||= (e) => a.value = e,
6625
- label: _(t)("availability.checkInOut"),
6626
- placeholder: _(t)("booking.availability.selectDates"),
6622
+ action: S(() => [T("div", En, [l(He, {
6623
+ modelValue: s.value,
6624
+ "onUpdate:modelValue": i[0] ||= (e) => s.value = e,
6625
+ label: r(t)("availability.checkInOut"),
6626
+ placeholder: r(t)("booking.availability.selectDates"),
6627
6627
  "icon-type": "fas",
6628
6628
  "icon-placement": "label",
6629
6629
  "min-range": 1,
6630
6630
  "start-date": e.fromDate === "0001-01-01T00:00:00Z" ? /* @__PURE__ */ new Date() : new Date(e.fromDate),
6631
6631
  "min-date": e.fromDate === "0001-01-01T00:00:00Z" ? /* @__PURE__ */ new Date() : new Date(e.fromDate),
6632
6632
  "max-date": new Date(e.toDate),
6633
- readonly: s.value,
6633
+ readonly: c.value,
6634
6634
  range: ""
6635
6635
  }, null, 8, [
6636
6636
  "modelValue",
@@ -6640,9 +6640,9 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6640
6640
  "min-date",
6641
6641
  "max-date",
6642
6642
  "readonly"
6643
- ]), g("div", Dn, [w(Me, {
6644
- label: _(t)("availability.buttonLabel"),
6645
- onClick: N(u, ["prevent"])
6643
+ ]), T("div", Dn, [l(Me, {
6644
+ label: r(t)("availability.buttonLabel"),
6645
+ onClick: I(d, ["prevent"])
6646
6646
  }, null, 8, ["label"])])])]),
6647
6647
  _: 1
6648
6648
  }, 8, [
@@ -6655,7 +6655,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6655
6655
  "from-date"
6656
6656
  ]));
6657
6657
  }
6658
- }), [["__scopeId", "data-v-8f8a4dff"]]), kn = /* @__PURE__ */ d({
6658
+ }), [["__scopeId", "data-v-8f8a4dff"]]), kn = /* @__PURE__ */ z({
6659
6659
  __name: "TimeField",
6660
6660
  props: {
6661
6661
  modelValue: {},
@@ -6677,10 +6677,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6677
6677
  function i(e) {
6678
6678
  n("update:modelValue", e);
6679
6679
  }
6680
- let a = I(r.modelValue);
6681
- return b(a, (e) => {
6680
+ let a = R(r.modelValue);
6681
+ return O(a, (e) => {
6682
6682
  i(e);
6683
- }), (t, n) => (c(), o(He, {
6683
+ }), (t, n) => (b(), u(He, {
6684
6684
  modelValue: a.value,
6685
6685
  "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
6686
6686
  type: "time",
@@ -6712,7 +6712,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6712
6712
  }), An = { style: {
6713
6713
  display: "flex",
6714
6714
  "align-items": "baseline"
6715
- } }, jn = /*#__PURE__*/ B(/* @__PURE__ */ d({
6715
+ } }, jn = /*#__PURE__*/ B(/* @__PURE__ */ z({
6716
6716
  __name: "CountryField",
6717
6717
  props: {
6718
6718
  modelValue: {},
@@ -6731,27 +6731,27 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6731
6731
  },
6732
6732
  emits: ["update:modelValue"],
6733
6733
  setup(e, { emit: t }) {
6734
- let { t: n } = v(), r = t, i = e;
6735
- function a(e) {
6736
- r("update:modelValue", e);
6734
+ let { t: i } = v(), a = t, o = e;
6735
+ function s(e) {
6736
+ a("update:modelValue", e);
6737
6737
  }
6738
- let l = P({
6739
- get: () => i.modelValue,
6740
- set: (e) => a(e)
6738
+ let c = n({
6739
+ get: () => o.modelValue,
6740
+ set: (e) => s(e)
6741
6741
  });
6742
- return (t, r) => (c(), o(je, {
6743
- modelValue: l.value,
6744
- "onUpdate:modelValue": r[0] ||= (e) => l.value = e,
6742
+ return (t, n) => (b(), u(je, {
6743
+ modelValue: c.value,
6744
+ "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
6745
6745
  label: e.label,
6746
- placeholder: _(n)("booking.reservation.countryPlaceholder"),
6746
+ placeholder: r(i)("booking.reservation.countryPlaceholder"),
6747
6747
  labelKey: "name",
6748
6748
  valueKey: "id",
6749
6749
  options: e.options,
6750
6750
  required: e.required,
6751
6751
  error: e.error
6752
6752
  }, {
6753
- option: M(({ data: e }) => [g("i", { class: s(["konnectio-flag-icon", e.iso]) }, null, 2), g("span", null, T(e.name), 1)]),
6754
- "selected-option": M(({ data: e }) => [g("div", An, [g("i", { class: s(["konnectio-flag-icon", e.iso]) }, null, 2), g("span", null, T(e.name), 1)])]),
6753
+ option: S(({ data: e }) => [T("i", { class: E(["konnectio-flag-icon", e.iso]) }, null, 2), T("span", null, h(e.name), 1)]),
6754
+ "selected-option": S(({ data: e }) => [T("div", An, [T("i", { class: E(["konnectio-flag-icon", e.iso]) }, null, 2), T("span", null, h(e.name), 1)])]),
6755
6755
  _: 1
6756
6756
  }, 8, [
6757
6757
  "modelValue",
@@ -6762,7 +6762,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6762
6762
  "error"
6763
6763
  ]));
6764
6764
  }
6765
- }), [["__scopeId", "data-v-f0651be7"]]), Mn = /*#__PURE__*/ B(/* @__PURE__ */ d({
6765
+ }), [["__scopeId", "data-v-f0651be7"]]), Mn = /*#__PURE__*/ B(/* @__PURE__ */ z({
6766
6766
  __name: "NameField",
6767
6767
  props: {
6768
6768
  modelValue: {},
@@ -6799,52 +6799,52 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6799
6799
  },
6800
6800
  emits: ["update:modelValue", "update:title"],
6801
6801
  setup(e, { emit: t }) {
6802
- let n = e, r = t, i = n.id || _e(), u = I(""), d = I(2);
6803
- function f() {
6804
- r("update:modelValue", u.value);
6802
+ let n = e, i = t, a = n.id || ye(), o = R(""), s = R(2);
6803
+ function c() {
6804
+ i("update:modelValue", o.value);
6805
6805
  }
6806
- b(d, (e) => {
6807
- r("update:title", e);
6806
+ O(s, (e) => {
6807
+ i("update:title", e);
6808
6808
  });
6809
- let { t: p } = v();
6810
- return l(() => {
6811
- n.modelValue && (u.value = n.modelValue), n.title && (d.value = n.title);
6812
- }), (t, n) => (c(), o(be, {
6809
+ let { t: f } = v();
6810
+ return g(() => {
6811
+ n.modelValue && (o.value = n.modelValue), n.title && (s.value = n.title);
6812
+ }), (t, n) => (b(), u(Se, {
6813
6813
  label: e.label,
6814
- id: _(i),
6814
+ id: r(a),
6815
6815
  required: e.required,
6816
6816
  type: "konnectio-name-field",
6817
6817
  readonly: e.readonly,
6818
6818
  limit: e.limit,
6819
6819
  error: e.error
6820
6820
  }, {
6821
- default: M(() => [g("div", { class: s(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? a("", !0) : (c(), o(je, {
6821
+ default: S(() => [T("div", { class: E(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? d("", !0) : (b(), u(je, {
6822
6822
  key: 0,
6823
- modelValue: d.value,
6824
- "onUpdate:modelValue": n[0] ||= (e) => d.value = e,
6825
- id: _(_e)(),
6823
+ modelValue: s.value,
6824
+ "onUpdate:modelValue": n[0] ||= (e) => s.value = e,
6825
+ id: r(ye)(),
6826
6826
  icon: e.icon,
6827
6827
  "icon-color": e.iconColor,
6828
6828
  "icon-type": e.iconType,
6829
6829
  options: [
6830
6830
  {
6831
- label: _(p)("booking.reservation.noNameTitle"),
6831
+ label: r(f)("booking.reservation.noNameTitle"),
6832
6832
  value: 1
6833
6833
  },
6834
6834
  {
6835
- label: _(p)("booking.reservation.nameTitleMr"),
6835
+ label: r(f)("booking.reservation.nameTitleMr"),
6836
6836
  value: 2
6837
6837
  },
6838
6838
  {
6839
- label: _(p)("booking.reservation.nameTitleMs"),
6839
+ label: r(f)("booking.reservation.nameTitleMs"),
6840
6840
  value: 3
6841
6841
  },
6842
6842
  {
6843
- label: _(p)("booking.reservation.nameTitleMrs"),
6843
+ label: r(f)("booking.reservation.nameTitleMrs"),
6844
6844
  value: 4
6845
6845
  },
6846
6846
  {
6847
- label: _(p)("booking.reservation.nameTitleDr"),
6847
+ label: r(f)("booking.reservation.nameTitleDr"),
6848
6848
  value: 5
6849
6849
  }
6850
6850
  ],
@@ -6859,13 +6859,13 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6859
6859
  "icon-type",
6860
6860
  "options",
6861
6861
  "readonly"
6862
- ])), w(De, {
6863
- modelValue: u.value,
6864
- "onUpdate:modelValue": n[1] ||= (e) => u.value = e,
6862
+ ])), l(Oe, {
6863
+ modelValue: o.value,
6864
+ "onUpdate:modelValue": n[1] ||= (e) => o.value = e,
6865
6865
  type: "text",
6866
6866
  name: "name",
6867
6867
  autocomplete: "name",
6868
- id: _(i),
6868
+ id: r(a),
6869
6869
  icon: e.excludeTitle ? e.icon : void 0,
6870
6870
  "icon-color": e.iconColor,
6871
6871
  "icon-type": e.iconType,
@@ -6873,7 +6873,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6873
6873
  required: e.required,
6874
6874
  readonly: e.readonly,
6875
6875
  limit: e.limit,
6876
- onInput: n[2] ||= (e) => f()
6876
+ onInput: n[2] ||= (e) => c()
6877
6877
  }, null, 8, [
6878
6878
  "modelValue",
6879
6879
  "id",
@@ -6895,10 +6895,10 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6895
6895
  "error"
6896
6896
  ]));
6897
6897
  }
6898
- }), [["__scopeId", "data-v-5448733c"]]), Nn = { class: "hotel-skeleton" }, Pn = { class: "hotel-skeleton-content" }, Fn = { class: "hotel-skeleton-sidebar" }, In = /*#__PURE__*/ B(/* @__PURE__ */ d({
6898
+ }), [["__scopeId", "data-v-5448733c"]]), Nn = { class: "hotel-skeleton" }, Pn = { class: "hotel-skeleton-content" }, Fn = { class: "hotel-skeleton-sidebar" }, In = /*#__PURE__*/ B(/* @__PURE__ */ z({
6899
6899
  __name: "HotelSkeleton",
6900
6900
  setup(e) {
6901
- return (e, t) => (c(), f("div", Nn, [g("div", Pn, [w(Ue, { hotel: "" }), w(Xe)]), g("div", Fn, [w(Ze)])]));
6901
+ return (e, t) => (b(), m("div", Nn, [T("div", Pn, [l(Ue, { hotel: "" }), l(Xe)]), T("div", Fn, [l(Ze)])]));
6902
6902
  }
6903
6903
  }), [["__scopeId", "data-v-2ff36444"]]), Ln = { id: "booking-availability-container" }, Rn = { id: "booking-availability-controls" }, zn = {
6904
6904
  key: 0,
@@ -6968,7 +6968,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6968
6968
  }, Lr = { class: "konnectio-split-inputs" }, Rr = {
6969
6969
  key: 0,
6970
6970
  class: "konnectio-hotel-member-card-mockup"
6971
- }, zr = ["src"], Br = { class: "konnectio-hotel-member-card-details" }, Vr = { key: 0 }, Hr = { key: 0 }, Ur = /*@__PURE__*/ d({
6971
+ }, zr = ["src"], Br = { class: "konnectio-hotel-member-card-details" }, Vr = { key: 0 }, Hr = { key: 0 }, Ur = /*@__PURE__*/ z({
6972
6972
  name: "HotelLayout",
6973
6973
  __name: "Hotel",
6974
6974
  props: {
@@ -6990,8 +6990,8 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6990
6990
  styling: {}
6991
6991
  },
6992
6992
  setup(e) {
6993
- let t = u(() => import("./_-B7FvZ5gF.js").then((e) => e.n)), n = e, { t: i } = v(), { currentLocation: l, templateID: d, templateRoomSelections: p, templateRoomUnits: h, countries: ee, areListingsLoading: te, isPaymentLoading: C, isReservationFormFilled: re, travelingFor: ie, arrivalTime: D, departureTime: O, name: k, nameTitle: A, email: j, phone: N, firmName: I, postal: R, city: ue, address: B, country: ge, remark: _e, allergies: ve, roomSelect: be, roomDisplay: Te, hasValidRoomSelection: Oe, availabilityData: V, selectionHasNoAddons: je, isAvailabilityDataAvailable: Ne, getSelectedPackageRooms: ze, selectedPackage: He, isSearchOutdated: Ue, isTemplateReservation: Ge, newsMails: Ke, adultsMismatch: U, childrenMismatch: Ye, totalAdults: Xe, totalChildren: Ze, hasGuestDiscountId: et, hasGuestDiscountCode: tt, guestDiscountId: nt, guestDiscountName: rt, guestDiscountCode: it, hasMemberCards: at, memberCardList: ot, selectedMemberCard: st, memberCardControlNumber: ct, memberCardNumber: lt, selectedMemberCardObject: ut, selectedMemberCardData: dt, discountCode: ft, discountPayload: pt } = E(pe()), { isHostedCheckoutActive: mt } = E(Ee()), { adults: ht, children: gt, location: _t, arrivalDate: W, departureDate: G, hasHotelLocations: vt } = E(ae()), { isValidHotelId: yt, updateDates: bt } = ae(), { currency: K, enableTracking: q, disableNamePrefix: St, disableTravelingFor: Ct, disableTravelingForBleasure: wt, disableCompanyField: Tt, hasPaymentGateway: Et, maxAdultAmount: Dt, maxChildAmount: J, defaultAdultAmount: Ot, defaultChildAmount: kt, disableNewsletterSignup: At, hasActiveIdFilter: jt, hotelSettings: Mt } = E(se()), { hasArrivalDepartureInputs: Nt, hasUserArrivalSelection: Pt, hasUserDepartureSelection: Ft, earliestArrivalTime: It, latestArrivalTime: Lt, earliestDepartureTime: Rt, latestDepartureTime: zt, hasSharedAddonSelection: Bt, setActiveIdFilter: Vt, clearActiveIdFilter: Ht } = se(), { beginCheckout: X } = oe(), { display: Ut } = fe(), { createReservation: Gt, fetchMetadata: Kt, fetchAvailabilityData: qt, filterAddons: Yt, hasAvailableRoomAddons: Z, checkGuestDiscount: Xt, setGuestDiscountCode: Zt, validateMemberCard: Qt, onOverviewReset: $t, validateDiscountCode: en, reservationPayload: tn } = pe();
6994
- Le.useHttpClient(Be(he()));
6993
+ let t = _(() => import("./_-DFyJPf6E.js").then((e) => e.n)), o = e, { t: c } = v(), { currentLocation: f, templateID: p, templateRoomSelections: g, templateRoomUnits: te, countries: re, areListingsLoading: ie, isPaymentLoading: D, isReservationFormFilled: k, travelingFor: A, arrivalTime: j, departureTime: M, name: N, nameTitle: P, email: F, phone: I, firmName: R, postal: z, city: ae, address: fe, country: B, remark: ve, allergies: ye, roomSelect: be, roomDisplay: Se, hasValidRoomSelection: Ee, availabilityData: V, selectionHasNoAddons: je, isAvailabilityDataAvailable: Ne, getSelectedPackageRooms: ze, selectedPackage: He, isSearchOutdated: Ue, isTemplateReservation: Ge, newsMails: Ke, adultsMismatch: U, childrenMismatch: Ye, totalAdults: Xe, totalChildren: Ze, hasGuestDiscountId: et, hasGuestDiscountCode: tt, guestDiscountId: nt, guestDiscountName: rt, guestDiscountCode: it, hasMemberCards: at, memberCardList: ot, selectedMemberCard: st, memberCardControlNumber: ct, memberCardNumber: lt, selectedMemberCardObject: ut, selectedMemberCardData: dt, discountCode: ft, discountPayload: pt } = C(he()), { isHostedCheckoutActive: mt } = C(De()), { adults: ht, children: gt, location: _t, arrivalDate: W, departureDate: G, hasHotelLocations: vt } = C(oe()), { isValidHotelId: yt, updateDates: bt } = oe(), { currency: K, enableTracking: q, disableNamePrefix: St, disableTravelingFor: Ct, disableTravelingForBleasure: wt, disableCompanyField: Tt, hasPaymentGateway: Et, maxAdultAmount: Dt, maxChildAmount: J, defaultAdultAmount: Ot, defaultChildAmount: kt, disableNewsletterSignup: At, hasActiveIdFilter: jt, hotelSettings: Mt } = C(ce()), { hasArrivalDepartureInputs: Nt, hasUserArrivalSelection: Pt, hasUserDepartureSelection: Ft, earliestArrivalTime: It, latestArrivalTime: Lt, earliestDepartureTime: Rt, latestDepartureTime: zt, hasSharedAddonSelection: Bt, setActiveIdFilter: Vt, clearActiveIdFilter: Ht } = ce(), { beginCheckout: X } = se(), { display: Ut } = me(), { createReservation: Gt, fetchMetadata: Kt, fetchAvailabilityData: qt, filterAddons: Yt, hasAvailableRoomAddons: Z, checkGuestDiscount: Xt, setGuestDiscountCode: Zt, validateMemberCard: Qt, onOverviewReset: $t, validateDiscountCode: en, reservationPayload: tn } = he();
6994
+ Le.useHttpClient(Be(_e()));
6995
6995
  let nn = Fe("post", "/hotel/create-reservation", tn());
6996
6996
  nn.setValidationTimeout(600);
6997
6997
  function rn(e) {
@@ -7000,41 +7000,41 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7000
7000
  function Q(e) {
7001
7001
  return nn.errors[e];
7002
7002
  }
7003
- b(k, () => rn("guest.name")), b(j, () => rn("guest.email")), b(N, () => rn("guest.phone")), b(ge, () => rn("guest.country")), b(B, () => rn("guest.address1")), b(R, () => rn("guest.postal")), b(ue, () => rn("guest.city"));
7004
- let an = P(() => n.sortOrder === "desc");
7003
+ O(N, () => rn("guest.name")), O(F, () => rn("guest.email")), O(I, () => rn("guest.phone")), O(B, () => rn("guest.country")), O(fe, () => rn("guest.address1")), O(z, () => rn("guest.postal")), O(ae, () => rn("guest.city"));
7004
+ let an = n(() => o.sortOrder === "desc");
7005
7005
  function on(e) {
7006
7006
  let t = [];
7007
- return Bt(l.value) ? (e?.forEach((e) => {
7007
+ return Bt(f.value) ? (e?.forEach((e) => {
7008
7008
  let n = t.find((t) => t.configIdx === e.configIdx);
7009
7009
  n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
7010
7010
  }), t) : e ?? [];
7011
7011
  }
7012
- let sn = P(() => {
7012
+ let sn = n(() => {
7013
7013
  let e = [];
7014
- return Bt(l.value) ? h.value.forEach((t) => {
7014
+ return Bt(f.value) ? te.value.forEach((t) => {
7015
7015
  let n = e.find((e) => e.roomGroupId === t.roomGroupId);
7016
7016
  n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
7017
- }) : h.value.forEach((t, n) => {
7017
+ }) : te.value.forEach((t, n) => {
7018
7018
  e.push({
7019
7019
  ...t,
7020
- unitNumber: h.value.slice(0, n + 1).filter((e) => e.roomGroupId === t.roomGroupId).length,
7021
- unitTotal: h.value.filter((e) => e.roomGroupId === t.roomGroupId).length
7020
+ unitNumber: te.value.slice(0, n + 1).filter((e) => e.roomGroupId === t.roomGroupId).length,
7021
+ unitTotal: te.value.filter((e) => e.roomGroupId === t.roomGroupId).length
7022
7022
  });
7023
7023
  }), e;
7024
- }), cn = P(() => [
7024
+ }), cn = n(() => [
7025
7025
  {
7026
7026
  id: "availability",
7027
- label: i("booking.availability.title"),
7027
+ label: c("booking.availability.title"),
7028
7028
  icon: "search"
7029
7029
  },
7030
7030
  {
7031
7031
  id: "addons",
7032
- label: i("general.addons"),
7032
+ label: c("general.addons"),
7033
7033
  icon: "shopping-cart"
7034
7034
  },
7035
7035
  {
7036
7036
  id: "reservation",
7037
- label: i("booking.reservation.title"),
7037
+ label: c("booking.reservation.title"),
7038
7038
  icon: "concierge-bell"
7039
7039
  },
7040
7040
  {
@@ -7043,44 +7043,44 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7043
7043
  },
7044
7044
  {
7045
7045
  id: "confirmation",
7046
- label: i("booking.confirmation.title"),
7046
+ label: c("booking.confirmation.title"),
7047
7047
  icon: "calendar-check"
7048
7048
  }
7049
- ]), ln = P(() => {
7049
+ ]), ln = n(() => {
7050
7050
  let e = [{
7051
- label: i("booking.reservation.business"),
7051
+ label: c("booking.reservation.business"),
7052
7052
  value: "Business"
7053
7053
  }, {
7054
- label: i("booking.reservation.pleasure"),
7054
+ label: c("booking.reservation.pleasure"),
7055
7055
  value: "Pleasure"
7056
7056
  }];
7057
7057
  return wt.value || e.push({
7058
- label: i("booking.reservation.bleasure"),
7058
+ label: c("booking.reservation.bleasure"),
7059
7059
  value: "Bleasure"
7060
7060
  }), e;
7061
- }), un = P(() => {
7061
+ }), un = n(() => {
7062
7062
  let e = V.value.roomGroups.slice();
7063
7063
  function t(e, t) {
7064
7064
  return an.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
7065
7065
  }
7066
- return n.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
7066
+ return o.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
7067
7067
  });
7068
7068
  function dn(e) {
7069
7069
  return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
7070
7070
  }
7071
- let pn = P(() => {
7071
+ let pn = n(() => {
7072
7072
  let e = V.value.templates.slice();
7073
- return n.sortBy === "price" && e.sort((e, t) => {
7073
+ return o.sortBy === "price" && e.sort((e, t) => {
7074
7074
  let n = dn(e), r = dn(t);
7075
7075
  return an.value ? r - n : n - r;
7076
7076
  }), e;
7077
- }), mn = P(() => {
7077
+ }), mn = n(() => {
7078
7078
  let e = V.value.specialTemplates.slice();
7079
- return n.sortBy === "price" && e.sort((e, t) => {
7079
+ return o.sortBy === "price" && e.sort((e, t) => {
7080
7080
  let n = dn(e), r = dn(t);
7081
7081
  return an.value ? r - n : n - r;
7082
7082
  }), e;
7083
- }), hn = P(() => n.hideAddons === "yes" || Ge.value && n.hideAddons === "packages" || !Ge.value && n.hideAddons === "rooms");
7083
+ }), hn = n(() => o.hideAddons === "yes" || Ge.value && o.hideAddons === "packages" || !Ge.value && o.hideAddons === "rooms");
7084
7084
  function gn(e) {
7085
7085
  let t = $.discount;
7086
7086
  t ? (ft.value = t, en()) : tt.value && !pt.value && (ft.value = it.value, en()), e();
@@ -7095,7 +7095,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7095
7095
  function yn() {
7096
7096
  if ((_t.value === void 0 || isNaN(_t.value)) && vt.value) {
7097
7097
  Ut({
7098
- message: i("alert.error.selectHotelId"),
7098
+ message: c("alert.error.selectHotelId"),
7099
7099
  type: "error"
7100
7100
  });
7101
7101
  return;
@@ -7103,7 +7103,7 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7103
7103
  qt();
7104
7104
  }
7105
7105
  function bn() {
7106
- let e = we("history", { removeNullishValues: !0 });
7106
+ let e = x("history", { removeNullishValues: !0 });
7107
7107
  Ht(), e.id = void 0, qt();
7108
7108
  }
7109
7109
  function xn(e) {
@@ -7111,54 +7111,54 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7111
7111
  }
7112
7112
  function Sn() {
7113
7113
  let e = _t.value;
7114
- n.forceArrivalTime && n.forceDepartureTime && e !== void 0 && Mt.value[e] && (Mt.value[e].disableArrivalUserSelection = !0, n.forceArrivalTime && (Mt.value[e].arrivalDefault = n.forceArrivalTime), n.forceDepartureTime && (Mt.value[e].departureDefault = n.forceDepartureTime));
7114
+ o.forceArrivalTime && o.forceDepartureTime && e !== void 0 && Mt.value[e] && (Mt.value[e].disableArrivalUserSelection = !0, o.forceArrivalTime && (Mt.value[e].arrivalDefault = o.forceArrivalTime), o.forceDepartureTime && (Mt.value[e].departureDefault = o.forceDepartureTime));
7115
7115
  }
7116
- let $ = we("history", { removeNullishValues: !0 });
7116
+ let $ = x("history", { removeNullishValues: !0 });
7117
7117
  async function Cn() {
7118
7118
  Sn();
7119
- let e = parseInt($.a), t = parseInt($.c), r = parseInt($.hid), a = parseInt($.n), o = $.ci, s = $.co, c = $.id, u = parseInt($.gid), d = $.discount, f = !1;
7120
- if (isNaN(e) || (e > Dt.value ? ht.value = Dt.value : ht.value = e, ht.value === Ot.value && ($.a = void 0)), isNaN(t) || (t > J.value ? gt.value = J.value : gt.value = t, gt.value === kt.value && ($.c = void 0)), isNaN(a) || a > 0 && ($.n = void 0), isNaN(r) || (yt(r) ? (_t.value = r, f = !0) : ($.hid = void 0, Ut({
7121
- message: i("alert.error.hotelIdNotFound"),
7119
+ 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;
7120
+ if (isNaN(e) || (e > Dt.value ? ht.value = Dt.value : ht.value = e, ht.value === Ot.value && ($.a = void 0)), isNaN(t) || (t > J.value ? gt.value = J.value : gt.value = t, gt.value === kt.value && ($.c = void 0)), isNaN(r) || r > 0 && ($.n = void 0), isNaN(n) || (yt(n) ? (_t.value = n, d = !0) : ($.hid = void 0, Ut({
7121
+ message: c("alert.error.hotelIdNotFound"),
7122
7122
  type: "error"
7123
- }))), o && s) {
7124
- if (le(o) && le(s)) {
7125
- let e = new Date(new Date(o).setHours(12, 0, 0, 0)), t = new Date(new Date(s).setHours(12, 0, 0, 0));
7123
+ }))), i && a) {
7124
+ if (de(i) && de(a)) {
7125
+ let e = new Date(new Date(i).setHours(12, 0, 0, 0)), t = new Date(new Date(a).setHours(12, 0, 0, 0));
7126
7126
  e <= t ? (W.value = e, G.value = t) : ($.ci = void 0, $.co = void 0, Ut({
7127
- message: i("alert.error.invalidDateRange"),
7127
+ message: c("alert.error.invalidDateRange"),
7128
7128
  type: "error"
7129
7129
  }));
7130
7130
  } else Ut({
7131
- message: i("alert.error.wrongDateFormat"),
7131
+ message: c("alert.error.wrongDateFormat"),
7132
7132
  type: "error"
7133
7133
  });
7134
7134
  }
7135
- if (c && Vt(c), u) {
7136
- await Xt(u) || delete $.gid;
7135
+ if (s && Vt(s), l) {
7136
+ await Xt(l) || delete $.gid;
7137
7137
  return;
7138
7138
  }
7139
- d && Zt(d), n.disableDefaultLocation === "yes" && f === !1 ? (_t.value = void 0, l.value = NaN) : qt();
7139
+ u && Zt(u), o.disableDefaultLocation === "yes" && d === !1 ? (_t.value = void 0, f.value = NaN) : qt();
7140
7140
  }
7141
- return (n, u) => (c(), o(xe, { styling: e.styling }, {
7142
- default: M(() => [(c(), o(F, { onResolve: Cn }, {
7143
- default: M(() => [w(_(t), {
7141
+ return (n, o) => (b(), u(Ce, { styling: e.styling }, {
7142
+ default: S(() => [(b(), u(i, { onResolve: Cn }, {
7143
+ default: S(() => [l(r(t), {
7144
7144
  id: "konnectio-hotel-module",
7145
7145
  "access-token": e.accessToken,
7146
- callback: _(Kt)
7146
+ callback: r(Kt)
7147
7147
  }, {
7148
- default: M(() => [
7149
- x(w(Wt, { onCallback: Cn }, null, 512), [[ne, e.requireGuestDiscountId === "yes" && !_(et)]]),
7150
- x(w(Jt, null, null, 512), [[ne, e.requireDiscountCode === "yes" && !_(tt)]]),
7151
- x(w($e, {
7148
+ default: S(() => [
7149
+ ne(l(Wt, { onCallback: Cn }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !r(et)]]),
7150
+ ne(l(Jt, null, null, 512), [[ee, e.requireDiscountCode === "yes" && !r(tt)]]),
7151
+ ne(l($e, {
7152
7152
  layout: e.headerLayout,
7153
7153
  steps: cn.value,
7154
- onReset: _($t)
7154
+ onReset: r($t)
7155
7155
  }, {
7156
- availability: M(({ next: t }) => [w(Y, {
7156
+ availability: S(({ next: t }) => [l(Y, {
7157
7157
  "show-remove-room": !0,
7158
7158
  "availability-discount": ""
7159
7159
  }, {
7160
- form: M(() => [g("div", Ln, [
7161
- g("div", Rn, [w(We, {
7160
+ form: S(() => [T("div", Ln, [
7161
+ T("div", Rn, [l(We, {
7162
7162
  booking: !0,
7163
7163
  "selected-location": Number(e.selectedLocation),
7164
7164
  "disable-default-location": e.disableDefaultLocation === "yes",
@@ -7168,25 +7168,25 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7168
7168
  "disable-default-location",
7169
7169
  "hide-locations"
7170
7170
  ])]),
7171
- _(et) ? (c(), f("div", zn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(rt) ? _(rt) : _(nt)}</b>` }) }, null, 8, Bn)])) : a("", !0),
7172
- _(tt) ? (c(), f("div", Vn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(it)}</b>` }) }, null, 8, Hn)])) : a("", !0),
7173
- _(jt) ? (c(), f("div", Un, [g("span", null, [r(T(_(i)("general.filteredListingNotice")) + " ", 1), g("button", {
7171
+ r(et) ? (b(), m("div", zn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(rt) ? r(rt) : r(nt)}</b>` }) }, null, 8, Bn)])) : d("", !0),
7172
+ r(tt) ? (b(), m("div", Vn, [T("span", { innerHTML: r(c)("guestDiscount.displayMessage", { name: `<b>${r(it)}</b>` }) }, null, 8, Hn)])) : d("", !0),
7173
+ r(jt) ? (b(), m("div", Un, [T("span", null, [s(h(r(c)("general.filteredListingNotice")) + " ", 1), T("button", {
7174
7174
  class: "link",
7175
- onClick: u[0] ||= (e) => bn()
7176
- }, T(_(i)("general.filteredListingShowAll")), 1)])])) : a("", !0),
7177
- a("", !0),
7178
- !_(te) && _(Ne) ? (c(), f("div", Wn, [un.value.camping && un.value.camping.length > 0 && e.onlyShow !== "non-camping" || un.value.rooms && un.value.rooms.length > 0 || _(V).templates.length > 0 || _(V).specialTemplates.length > 0 && !_(jt) ? (c(), f("div", Gn, [
7179
- _(V).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (c(), f("div", Kn, [e.onlyShow === "packages" ? a("", !0) : (c(), f("h2", qn, [w(H, {
7175
+ onClick: o[0] ||= (e) => bn()
7176
+ }, h(r(c)("general.filteredListingShowAll")), 1)])])) : d("", !0),
7177
+ d("", !0),
7178
+ !r(ie) && r(Ne) ? (b(), m("div", Wn, [un.value.camping && un.value.camping.length > 0 && e.onlyShow !== "non-camping" || un.value.rooms && un.value.rooms.length > 0 || r(V).templates.length > 0 || r(V).specialTemplates.length > 0 && !r(jt) ? (b(), m("div", Gn, [
7179
+ r(V).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), m("div", Kn, [e.onlyShow === "packages" ? d("", !0) : (b(), m("h2", qn, [l(H, {
7180
7180
  icon: "box",
7181
7181
  type: "fal",
7182
7182
  color: "header"
7183
- }), g("span", null, T(_(i)("booking.availability.packagesTitle")), 1)])), g("ul", Jn, [(c(!0), f(y, null, m(pn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: l }) => (c(), o(Tn, {
7183
+ }), T("span", null, h(r(c)("booking.availability.packagesTitle")), 1)])), T("ul", Jn, [(b(!0), m(a, null, w(pn.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), u(Tn, {
7184
7184
  key: n,
7185
7185
  id: n,
7186
- description: s,
7186
+ description: o,
7187
7187
  name: r,
7188
7188
  images: a,
7189
- weekendFee: l,
7189
+ weekendFee: s,
7190
7190
  "room-groups": i,
7191
7191
  callback: t,
7192
7192
  "hide-addons": e.hideAddons === "yes" || e.hideAddons === "packages"
@@ -7199,36 +7199,36 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7199
7199
  "room-groups",
7200
7200
  "callback",
7201
7201
  "hide-addons"
7202
- ]))), 128))])])) : a("", !0),
7203
- _(V).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div", Yn, [un.value.rooms && e.onlyShow !== "camping" ? (c(), f(y, { key: 0 }, [_(V).templates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("h2", Xn, [w(H, {
7202
+ ]))), 128))])])) : d("", !0),
7203
+ r(V).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), m("div", Yn, [un.value.rooms && e.onlyShow !== "camping" ? (b(), m(a, { key: 0 }, [r(V).templates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("h2", Xn, [l(H, {
7204
7204
  icon: "house",
7205
7205
  type: "fal",
7206
7206
  color: "header"
7207
- }), g("span", null, T(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul", Zn, [(c(!0), f(y, null, m(un.value.rooms, (e, n) => (c(), o(fn, {
7207
+ }), T("span", null, h(r(c)("booking.availability.roomsTitle")), 1)])) : d("", !0), T("ul", Zn, [(b(!0), m(a, null, w(un.value.rooms, (e, n) => (b(), u(fn, {
7208
7208
  room: e,
7209
7209
  key: n,
7210
7210
  callback: t
7211
- }, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0), un.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (c(), f(y, { key: 1 }, [_(V).templates.length > 0 && e.onlyShow !== "camping" ? (c(), f("h2", Qn, [w(H, {
7211
+ }, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0), un.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), m(a, { key: 1 }, [r(V).templates.length > 0 && e.onlyShow !== "camping" ? (b(), m("h2", Qn, [l(H, {
7212
7212
  icon: "map-location-dot",
7213
7213
  type: "fal",
7214
7214
  color: "header"
7215
- }), g("span", null, T(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul", $n, [(c(!0), f(y, null, m(un.value.camping, (e, n) => (c(), o(fn, {
7215
+ }), T("span", null, h(r(c)("booking.availability.campingTitle")), 1)])) : d("", !0), T("ul", $n, [(b(!0), m(a, null, w(un.value.camping, (e, n) => (b(), u(fn, {
7216
7216
  room: e,
7217
7217
  key: n,
7218
7218
  callback: t
7219
- }, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0)])) : a("", !0),
7220
- _(jt) ? a("", !0) : (c(), f(y, { key: 2 }, [_(V).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("div", er, [g("h2", tr, [w(H, {
7219
+ }, null, 8, ["room", "callback"]))), 128))])], 64)) : d("", !0)])) : d("", !0),
7220
+ r(jt) ? d("", !0) : (b(), m(a, { key: 2 }, [r(V).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), m("div", er, [T("h2", tr, [l(H, {
7221
7221
  icon: "sparkles",
7222
7222
  type: "fal",
7223
7223
  color: "header"
7224
- }), g("span", null, T(_(i)("hotel.specialOffers")), 1)]), g("ul", nr, [(c(!0), f(y, null, m(mn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: l }) => (c(), o(On, {
7224
+ }), T("span", null, h(r(c)("hotel.specialOffers")), 1)]), T("ul", nr, [(b(!0), m(a, null, w(mn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), u(On, {
7225
7225
  key: e,
7226
7226
  id: e,
7227
7227
  description: i,
7228
7228
  name: t,
7229
7229
  images: r,
7230
- fromDate: s,
7231
- toDate: l,
7230
+ fromDate: o,
7231
+ toDate: s,
7232
7232
  weekendFee: a,
7233
7233
  "room-groups": n
7234
7234
  }, null, 8, [
@@ -7240,49 +7240,49 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7240
7240
  "toDate",
7241
7241
  "weekendFee",
7242
7242
  "room-groups"
7243
- ]))), 128))])])) : a("", !0)], 64)),
7244
- (_(V).templates.length === 0 && e.onlyShow !== "rooms" || _(V).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (c(), f("div", rr, [g("span", null, T(_(i)("booking.availability.nothingAvailable")), 1)])) : a("", !0)
7245
- ])) : _(V).nextAvailableDates.length > 0 ? (c(), f("div", ir, [
7246
- g("div", ar, [g("span", { innerHTML: _(i)("hotel.everyRoomIsBooked") }, null, 8, or)]),
7247
- g("h2", sr, [w(H, {
7243
+ ]))), 128))])])) : d("", !0)], 64)),
7244
+ (r(V).templates.length === 0 && e.onlyShow !== "rooms" || r(V).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), m("div", rr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)])) : d("", !0)
7245
+ ])) : r(V).nextAvailableDates.length > 0 ? (b(), m("div", ir, [
7246
+ T("div", ar, [T("span", { innerHTML: r(c)("hotel.everyRoomIsBooked") }, null, 8, or)]),
7247
+ T("h2", sr, [l(H, {
7248
7248
  icon: "calendar-circle-exclamation",
7249
7249
  type: "fal",
7250
7250
  color: "header"
7251
- }), g("span", null, T(_(i)("booking.availability.nextAvailableDates")), 1)]),
7252
- g("ul", cr, [(c(!0), f(y, null, m(_(V).nextAvailableDates, (e, t) => (c(), f("li", { key: t }, [
7253
- g("h3", { title: `${_(ye)(e.fromDate, 0, !0)} - ${_(ye)(e.toDate, 0, !0)}` }, [g("span", null, T(`${_(ye)(e.fromDate, 0, !0)} - ${_(ye)(e.toDate, 0, !0)}`), 1)], 8, lr),
7254
- g("ul", null, [isNaN(e.roomCount) ? a("", !0) : (c(), f("li", ur, [w(H, {
7251
+ }), T("span", null, h(r(c)("booking.availability.nextAvailableDates")), 1)]),
7252
+ T("ul", cr, [(b(!0), m(a, null, w(r(V).nextAvailableDates, (e, t) => (b(), m("li", { key: t }, [
7253
+ T("h3", { title: `${r(xe)(e.fromDate, 0, !0)} - ${r(xe)(e.toDate, 0, !0)}` }, [T("span", null, h(`${r(xe)(e.fromDate, 0, !0)} - ${r(xe)(e.toDate, 0, !0)}`), 1)], 8, lr),
7254
+ T("ul", null, [isNaN(e.roomCount) ? d("", !0) : (b(), m("li", ur, [l(H, {
7255
7255
  icon: "house",
7256
7256
  type: "fal",
7257
7257
  color: "header"
7258
- }), g("span", null, T(_(i)("booking.availability.units")) + ": " + T(e.roomCount), 1)])), g("li", null, [w(H, {
7258
+ }), T("span", null, h(r(c)("booking.availability.units")) + ": " + h(e.roomCount), 1)])), T("li", null, [l(H, {
7259
7259
  icon: "money-bill",
7260
7260
  type: "fal",
7261
7261
  color: "header"
7262
- }), g("span", null, T(_(i)("booking.availability.pricesFrom")) + ": " + T(_(Ce)(e.priceStartFrom, _(K))), 1)])]),
7263
- w(Me, {
7264
- label: _(i)("booking.availability.selectDates"),
7262
+ }), T("span", null, h(r(c)("booking.availability.pricesFrom")) + ": " + h(r(Te)(e.priceStartFrom, r(K))), 1)])]),
7263
+ l(Me, {
7264
+ label: r(c)("booking.availability.selectDates"),
7265
7265
  "full-width": "",
7266
- onClickEvent: (t) => _(bt)(new Date(e.fromDate), new Date(e.toDate))
7266
+ onClickEvent: (t) => r(bt)(new Date(e.fromDate), new Date(e.toDate))
7267
7267
  }, null, 8, ["label", "onClickEvent"])
7268
7268
  ]))), 128))])
7269
- ])) : (c(), f("div", dr, [g("span", null, T(_(i)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(_(l)) && !_(te) ? (c(), f("div", fr, [g("span", null, T(_(i)("alert.info.selectHotelToStart")), 1)])) : (c(), f("div", pr, [
7270
- w(Qe),
7271
- w(Qe),
7272
- w(Qe)
7269
+ ])) : (b(), m("div", dr, [T("span", null, h(r(c)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(r(f)) && !r(ie) ? (b(), m("div", fr, [T("span", null, h(r(c)("alert.info.selectHotelToStart")), 1)])) : (b(), m("div", pr, [
7270
+ l(Qe),
7271
+ l(Qe),
7272
+ l(Qe)
7273
7273
  ]))
7274
7274
  ])]),
7275
- navigation: M(() => [
7276
- _(Ue) ? (c(), o(Me, {
7275
+ navigation: S(() => [
7276
+ r(Ue) ? (b(), u(Me, {
7277
7277
  key: 0,
7278
- label: isNaN(_(l)) ? _(i)("availability.buttonLabel") : _(i)("general.searchAgain"),
7279
- "is-loading": _(te),
7278
+ label: isNaN(r(f)) ? r(c)("availability.buttonLabel") : r(c)("general.searchAgain"),
7279
+ "is-loading": r(ie),
7280
7280
  "full-width": "",
7281
- onClickEvent: u[2] ||= (e) => yn()
7282
- }, null, 8, ["label", "is-loading"])) : (c(), o(Me, {
7281
+ onClickEvent: o[2] ||= (e) => yn()
7282
+ }, null, 8, ["label", "is-loading"])) : (b(), u(Me, {
7283
7283
  key: 1,
7284
- label: _(je) || hn.value ? _(i)("booking.availability.nextButton") : _(i)("general.chooseAddons"),
7285
- disabled: !_(Oe),
7284
+ label: r(je) || hn.value ? r(c)("booking.availability.nextButton") : r(c)("general.chooseAddons"),
7285
+ disabled: !r(Ee),
7286
7286
  "full-width": "",
7287
7287
  onClickEvent: (e) => xn(t)
7288
7288
  }, null, 8, [
@@ -7290,177 +7290,177 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7290
7290
  "disabled",
7291
7291
  "onClickEvent"
7292
7292
  ])),
7293
- x(g("span", mr, [w(H, {
7293
+ ne(T("span", mr, [l(H, {
7294
7294
  icon: "exclamation-triangle",
7295
7295
  type: "fas"
7296
- }), g("span", null, T(_(i)("hotel.mismatchingAdults", {
7297
- searchAdults: _(ht),
7298
- selectedAdults: _(Xe)
7299
- })), 1)], 512), [[ne, _(U)]]),
7300
- x(g("span", hr, [w(H, {
7296
+ }), T("span", null, h(r(c)("hotel.mismatchingAdults", {
7297
+ searchAdults: r(ht),
7298
+ selectedAdults: r(Xe)
7299
+ })), 1)], 512), [[ee, r(U)]]),
7300
+ ne(T("span", hr, [l(H, {
7301
7301
  icon: "exclamation-triangle",
7302
7302
  type: "fas"
7303
- }), g("span", null, T(_(i)("hotel.mismatchingChildren", {
7304
- searchChildren: _(gt),
7305
- selectedChildren: _(Ze)
7306
- })), 1)], 512), [[ne, _(Ye)]])
7303
+ }), T("span", null, h(r(c)("hotel.mismatchingChildren", {
7304
+ searchChildren: r(gt),
7305
+ selectedChildren: r(Ze)
7306
+ })), 1)], 512), [[ee, r(Ye)]])
7307
7307
  ]),
7308
7308
  _: 2
7309
7309
  }, 1024)]),
7310
- addons: M(({ next: e, prev: t }) => [_(Ne) ? (c(), o(Y, {
7310
+ addons: S(({ next: e, prev: t }) => [r(Ne) ? (b(), u(Y, {
7311
7311
  key: 0,
7312
7312
  "prev-callback": () => _n(t)
7313
7313
  }, {
7314
- form: M(() => [g("form", gr, [
7315
- g("h2", null, [g("span", null, T(_(i)("booking.reservation.addons")), 1)]),
7316
- _(i)("hotel.addonTopNotice") && _(i)("hotel.addonTopNotice") !== "<br>" ? (c(), f("div", _r, [g("p", {
7317
- innerHTML: _(i)("hotel.addonTopNotice"),
7314
+ form: S(() => [T("form", gr, [
7315
+ T("h2", null, [T("span", null, h(r(c)("booking.reservation.addons")), 1)]),
7316
+ r(c)("hotel.addonTopNotice") && r(c)("hotel.addonTopNotice") !== "<br>" ? (b(), m("div", _r, [T("p", {
7317
+ innerHTML: r(c)("hotel.addonTopNotice"),
7318
7318
  class: "konnectio-wysiwyg"
7319
- }, null, 8, vr)])) : a("", !0),
7320
- g("div", null, [isNaN(_(d)) ? (c(), f("div", yr, [(c(!0), f(y, null, m(_(Te), (e) => (c(), f(y, { key: e.roomGroupID }, [_(Z)(e) ? (c(), f("ul", br, [(c(!0), f(y, null, m(e.variants, (t, n) => (c(), f("li", { key: t.ratePlanID }, [g("h4", null, [g("span", null, T(_(de)(e.title)), 1)]), (c(!0), f(y, null, m(on(t.rooms), (r) => (c(), f("table", {
7321
- key: `${r.configIdx}-${r.roomIdx}`,
7319
+ }, null, 8, vr)])) : d("", !0),
7320
+ T("div", null, [isNaN(r(p)) ? (b(), m("div", yr, [(b(!0), m(a, null, w(r(Se), (e) => (b(), m(a, { key: e.roomGroupID }, [r(Z)(e) ? (b(), m("ul", br, [(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(on(t.rooms), (i) => (b(), m("table", {
7321
+ key: `${i.configIdx}-${i.roomIdx}`,
7322
7322
  class: "konnectio-table with-lines without-header"
7323
- }, [g("thead", null, [g("tr", null, [
7324
- g("th", null, [g("span", null, T(_(de)(t.name)), 1)]),
7325
- a("", !0),
7326
- g("th", xr, [g("b", null, [
7327
- w(H, {
7323
+ }, [T("thead", null, [T("tr", null, [
7324
+ T("th", null, [T("span", null, h(r(pe)(t.name)), 1)]),
7325
+ d("", !0),
7326
+ T("th", xr, [T("b", null, [
7327
+ l(H, {
7328
7328
  icon: "male",
7329
7329
  type: "fas",
7330
7330
  color: "font"
7331
7331
  }),
7332
- g("span", null, T(r.adultsCount), 1),
7333
- r.childrenCount > 0 ? (c(), o(H, {
7332
+ T("span", null, h(i.adultsCount), 1),
7333
+ i.childrenCount > 0 ? (b(), u(H, {
7334
7334
  key: 0,
7335
7335
  icon: "child",
7336
7336
  type: "fas",
7337
7337
  color: "font"
7338
- })) : a("", !0),
7339
- r.childrenCount > 0 ? (c(), f("span", Sr, T(r.childrenCount), 1)) : a("", !0)
7338
+ })) : d("", !0),
7339
+ i.childrenCount > 0 ? (b(), m("span", Sr, h(i.childrenCount), 1)) : d("", !0)
7340
7340
  ])])
7341
- ])]), g("tbody", null, [(c(!0), f(y, null, m(_(Yt)(t.addons, r.childrenCount), ({ cardinality: t, quantityStrategy: i, maximumNumber: l, id: u, name: d, price: p, image: m, description: h }) => (c(), f("tr", { key: u }, [g("td", { class: s(["konnectio-table-addons-information", { "has-image": m }]) }, [m ? (c(), f("div", Cr, [w(_(xt), {
7342
- src: m,
7341
+ ])]), T("tbody", null, [(b(!0), m(a, null, w(r(Yt)(t.addons, i.childrenCount), ({ cardinality: t, quantityStrategy: o, maximumNumber: s, id: c, name: f, price: p, image: g, description: _ }) => (b(), m("tr", { key: c }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": g }]) }, [g ? (b(), m("div", Cr, [l(r(xt), {
7342
+ src: g,
7343
7343
  "zoom-scale": 1
7344
- }, null, 8, ["src"])])) : a("", !0), g("div", null, [
7345
- g("b", null, T(_(de)(d)), 1),
7346
- g("span", null, T(_(Ce)(p, _(K))) + " " + T(_(z)(i)), 1),
7347
- h ? (c(), f("p", {
7344
+ }, null, 8, ["src"])])) : d("", !0), T("div", null, [
7345
+ T("b", null, h(r(pe)(f)), 1),
7346
+ T("span", null, h(r(Te)(p, r(K))) + " " + h(r(le)(o)), 1),
7347
+ _ ? (b(), m("p", {
7348
7348
  key: 0,
7349
- innerHTML: _(me)(h)
7350
- }, null, 8, wr)) : a("", !0)
7351
- ])], 2), g("td", Tr, [_(be)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (c(), f(y, { key: 0 }, [t === _(Se).Mandatory ? (c(), o(ke, {
7349
+ innerHTML: r(ge)(_)
7350
+ }, null, 8, wr)) : d("", !0)
7351
+ ])], 2), T("td", Tr, [r(be)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx] ? (b(), m(a, { key: 0 }, [t === r(we).Mandatory ? (b(), u(ke, {
7352
7352
  key: 0,
7353
7353
  "model-value": 1,
7354
7354
  small: !0,
7355
7355
  "min-value": 1,
7356
7356
  "max-value": 1,
7357
7357
  readonly: ""
7358
- })) : (c(), o(ke, {
7358
+ })) : (b(), u(ke, {
7359
7359
  key: 1,
7360
- modelValue: _(be)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u],
7361
- "onUpdate:modelValue": (t) => _(be)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u] = t,
7360
+ modelValue: r(be)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][c],
7361
+ "onUpdate:modelValue": (t) => r(be)[e.roomGroupID][n].config[i.configIdx].addons[i.roomIdx][c] = t,
7362
7362
  small: !0,
7363
7363
  "min-value": 0,
7364
- "max-value": _(ce)(t, l)
7364
+ "max-value": r(ue)(t, s)
7365
7365
  }, null, 8, [
7366
7366
  "modelValue",
7367
7367
  "onUpdate:modelValue",
7368
7368
  "max-value"
7369
- ]))], 64)) : a("", !0)])]))), 128))])]))), 128))]))), 128))])) : a("", !0)], 64))), 128))])) : _(h).length > 0 ? (c(), f("div", Er, [g("div", null, [g("h4", null, [g("span", null, T(_(He)?.name), 1)]), (c(!0), f(y, null, m(sn.value, (e) => (c(), f("table", {
7369
+ ]))], 64)) : d("", !0)])]))), 128))])]))), 128))]))), 128))])) : d("", !0)], 64))), 128))])) : r(te).length > 0 ? (b(), m("div", Er, [T("div", null, [T("h4", null, [T("span", null, h(r(He)?.name), 1)]), (b(!0), m(a, null, w(sn.value, (e) => (b(), m("table", {
7370
7370
  key: `${e.roomGroupId}-${e.configIdx}`,
7371
7371
  class: "konnectio-table with-lines without-header"
7372
- }, [g("thead", null, [g("tr", null, [
7373
- g("th", null, [g("span", null, T(_(de)(_(ze).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (c(), f("span", Dr, "(" + T(_(i)("booking.reservation.room")) + " " + T(e.unitNumber) + ")", 1)) : a("", !0)]),
7374
- a("", !0),
7375
- u[24] ||= g("th", { class: "konnectio-event-addons-price" }, null, -1)
7376
- ])]), g("tbody", null, [(c(!0), f(y, null, m(_(Yt)(_(ze).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: i, name: l, price: u, description: d, image: m }) => (c(), f("tr", { key: i }, [g("td", { class: s(["konnectio-table-addons-information", { "has-image": m }]) }, [m ? (c(), f("div", Or, [w(_(xt), {
7377
- src: m,
7372
+ }, [T("thead", null, [T("tr", null, [
7373
+ T("th", null, [T("span", null, h(r(pe)(r(ze).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), m("span", Dr, "(" + h(r(c)("booking.reservation.room")) + " " + h(e.unitNumber) + ")", 1)) : d("", !0)]),
7374
+ d("", !0),
7375
+ o[24] ||= T("th", { class: "konnectio-event-addons-price" }, null, -1)
7376
+ ])]), T("tbody", null, [(b(!0), m(a, null, w(r(Yt)(r(ze).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: i, id: a, name: o, price: s, description: c, image: f }) => (b(), m("tr", { key: a }, [T("td", { class: E(["konnectio-table-addons-information", { "has-image": f }]) }, [f ? (b(), m("div", Or, [l(r(xt), {
7377
+ src: f,
7378
7378
  "zoom-scale": 1
7379
- }, null, 8, ["src"])])) : a("", !0), g("div", null, [
7380
- g("b", null, T(_(de)(l)), 1),
7381
- g("span", null, T(_(Ce)(u, _(K))) + " " + T(_(z)(n)), 1),
7382
- d ? (c(), f("p", {
7379
+ }, null, 8, ["src"])])) : d("", !0), T("div", null, [
7380
+ T("b", null, h(r(pe)(o)), 1),
7381
+ T("span", null, h(r(Te)(s, r(K))) + " " + h(r(le)(n)), 1),
7382
+ c ? (b(), m("p", {
7383
7383
  key: 0,
7384
- innerHTML: _(me)(d)
7385
- }, null, 8, kr)) : a("", !0)
7386
- ])], 2), g("td", Ar, [t === _(Se).Mandatory ? (c(), o(ke, {
7384
+ innerHTML: r(ge)(c)
7385
+ }, null, 8, kr)) : d("", !0)
7386
+ ])], 2), T("td", Ar, [t === r(we).Mandatory ? (b(), u(ke, {
7387
7387
  key: 0,
7388
7388
  "model-value": 1,
7389
7389
  small: !0,
7390
7390
  "min-value": 1,
7391
7391
  "max-value": 1,
7392
7392
  readonly: ""
7393
- })) : (c(), o(ke, {
7393
+ })) : (b(), u(ke, {
7394
7394
  key: 1,
7395
- modelValue: _(p)[e.selectionIdx].unitConfigs[e.configIdx].addons[i],
7396
- "onUpdate:modelValue": (t) => _(p)[e.selectionIdx].unitConfigs[e.configIdx].addons[i] = t,
7395
+ modelValue: r(g)[e.selectionIdx].unitConfigs[e.configIdx].addons[a],
7396
+ "onUpdate:modelValue": (t) => r(g)[e.selectionIdx].unitConfigs[e.configIdx].addons[a] = t,
7397
7397
  small: !0,
7398
7398
  "min-value": 0,
7399
- "max-value": _(ce)(t, r)
7399
+ "max-value": r(ue)(t, i)
7400
7400
  }, null, 8, [
7401
7401
  "modelValue",
7402
7402
  "onUpdate:modelValue",
7403
7403
  "max-value"
7404
- ]))])]))), 128))])]))), 128))])])) : a("", !0)])
7404
+ ]))])]))), 128))])]))), 128))])])) : d("", !0)])
7405
7405
  ])]),
7406
- navigation: M(() => [w(Me, {
7407
- label: _(i)("general.startReservation"),
7406
+ navigation: S(() => [l(Me, {
7407
+ label: r(c)("general.startReservation"),
7408
7408
  "full-width": "",
7409
7409
  onClickEvent: (t) => gn(e)
7410
7410
  }, null, 8, ["label", "onClickEvent"])]),
7411
7411
  _: 2
7412
- }, 1032, ["prev-callback"])) : a("", !0)]),
7413
- reservation: M(({ next: t, prev: n, reset: r }) => [_(Ne) ? (c(), o(Y, {
7412
+ }, 1032, ["prev-callback"])) : d("", !0)]),
7413
+ reservation: S(({ next: t, prev: n, reset: i }) => [r(Ne) ? (b(), u(Y, {
7414
7414
  key: 0,
7415
7415
  "prev-callback": () => _n(n),
7416
7416
  "show-terms-notice": !0,
7417
7417
  "show-gift-card": !0
7418
7418
  }, {
7419
- form: M(() => [g("form", jr, [
7420
- g("h2", null, [g("span", null, T(_(i)("booking.reservation.detailsTitle")), 1)]),
7421
- _(i)("hotel.reservationTopNotice") && _(i)("hotel.reservationTopNotice") !== "<br>" ? (c(), f("div", Mr, [g("p", {
7422
- innerHTML: _(i)("hotel.reservationTopNotice"),
7419
+ form: S(() => [T("form", jr, [
7420
+ T("h2", null, [T("span", null, h(r(c)("booking.reservation.detailsTitle")), 1)]),
7421
+ r(c)("hotel.reservationTopNotice") && r(c)("hotel.reservationTopNotice") !== "<br>" ? (b(), m("div", Mr, [T("p", {
7422
+ innerHTML: r(c)("hotel.reservationTopNotice"),
7423
7423
  class: "konnectio-wysiwyg"
7424
- }, null, 8, Nr)])) : a("", !0),
7425
- _(Nt)(_(l)) && _(Pt)(_(l)) && _(Ft)(_(l)) ? (c(), f("ul", {
7424
+ }, null, 8, Nr)])) : d("", !0),
7425
+ r(Nt)(r(f)) && r(Pt)(r(f)) && r(Ft)(r(f)) ? (b(), m("ul", {
7426
7426
  key: 1,
7427
- class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(Pt)(_(l)) && _(Ft)(_(l)) }])
7428
- }, [_(Pt)(_(l)) ? (c(), f("li", Pr, [w(kn, {
7429
- modelValue: _(D),
7430
- "onUpdate:modelValue": u[3] ||= (e) => S(D) ? D.value = e : null,
7431
- label: _(i)("booking.reservation.arrivalTime"),
7427
+ class: E(["konnectio-reservation-timepicker", { "konnectio-split-inputs": r(Pt)(r(f)) && r(Ft)(r(f)) }])
7428
+ }, [r(Pt)(r(f)) ? (b(), m("li", Pr, [l(kn, {
7429
+ modelValue: r(j),
7430
+ "onUpdate:modelValue": o[3] ||= (e) => y(j) ? j.value = e : null,
7431
+ label: r(c)("booking.reservation.arrivalTime"),
7432
7432
  icon: "hourglass-start",
7433
- "min-time": _(It)(_(l)),
7434
- "max-time": _(Lt)(_(l)),
7433
+ "min-time": r(It)(r(f)),
7434
+ "max-time": r(Lt)(r(f)),
7435
7435
  required: ""
7436
7436
  }, null, 8, [
7437
7437
  "modelValue",
7438
7438
  "label",
7439
7439
  "min-time",
7440
7440
  "max-time"
7441
- ])])) : a("", !0), _(Ft)(_(l)) ? (c(), f("li", Fr, [w(kn, {
7442
- modelValue: _(O),
7443
- "onUpdate:modelValue": u[4] ||= (e) => S(O) ? O.value = e : null,
7444
- label: _(i)("booking.reservation.departureTime"),
7441
+ ])])) : d("", !0), r(Ft)(r(f)) ? (b(), m("li", Fr, [l(kn, {
7442
+ modelValue: r(M),
7443
+ "onUpdate:modelValue": o[4] ||= (e) => y(M) ? M.value = e : null,
7444
+ label: r(c)("booking.reservation.departureTime"),
7445
7445
  icon: "hourglass-end",
7446
- "min-time": _(Rt)(_(l)),
7447
- "max-time": _(zt)(_(l)),
7446
+ "min-time": r(Rt)(r(f)),
7447
+ "max-time": r(zt)(r(f)),
7448
7448
  required: ""
7449
7449
  }, null, 8, [
7450
7450
  "modelValue",
7451
7451
  "label",
7452
7452
  "min-time",
7453
7453
  "max-time"
7454
- ])])) : a("", !0)], 2)) : a("", !0),
7455
- w(Mn, {
7456
- modelValue: _(k),
7457
- "onUpdate:modelValue": u[5] ||= (e) => S(k) ? k.value = e : null,
7458
- title: _(A),
7459
- "onUpdate:title": u[6] ||= (e) => S(A) ? A.value = e : null,
7460
- "exclude-title": _(St),
7461
- label: _(i)("booking.reservation.name"),
7454
+ ])])) : d("", !0)], 2)) : d("", !0),
7455
+ l(Mn, {
7456
+ modelValue: r(N),
7457
+ "onUpdate:modelValue": o[5] ||= (e) => y(N) ? N.value = e : null,
7458
+ title: r(P),
7459
+ "onUpdate:title": o[6] ||= (e) => y(P) ? P.value = e : null,
7460
+ "exclude-title": r(St),
7461
+ label: r(c)("booking.reservation.name"),
7462
7462
  icon: "user-alt",
7463
- placeholder: _(i)("booking.reservation.namePlaceholder"),
7463
+ placeholder: r(c)("booking.reservation.namePlaceholder"),
7464
7464
  error: Q("guest.name"),
7465
7465
  required: ""
7466
7466
  }, null, 8, [
@@ -7471,16 +7471,16 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7471
7471
  "placeholder",
7472
7472
  "error"
7473
7473
  ]),
7474
- w(De, {
7475
- modelValue: _(j),
7476
- "onUpdate:modelValue": u[7] ||= (e) => S(j) ? j.value = e : null,
7474
+ l(Oe, {
7475
+ modelValue: r(F),
7476
+ "onUpdate:modelValue": o[7] ||= (e) => y(F) ? F.value = e : null,
7477
7477
  type: "email",
7478
7478
  name: "email",
7479
7479
  autocomplete: "email",
7480
7480
  inputmode: "email",
7481
- label: _(i)("booking.reservation.email"),
7481
+ label: r(c)("booking.reservation.email"),
7482
7482
  icon: "at",
7483
- placeholder: _(i)("booking.reservation.emailPlaceholder"),
7483
+ placeholder: r(c)("booking.reservation.emailPlaceholder"),
7484
7484
  error: Q("guest.email"),
7485
7485
  required: ""
7486
7486
  }, null, 8, [
@@ -7489,34 +7489,34 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7489
7489
  "placeholder",
7490
7490
  "error"
7491
7491
  ]),
7492
- _(At) ? a("", !0) : (c(), f("div", Ir, [w(Ie, {
7493
- modelValue: _(Ke),
7494
- "onUpdate:modelValue": u[8] ||= (e) => S(Ke) ? Ke.value = e : null,
7492
+ r(At) ? d("", !0) : (b(), m("div", Ir, [l(Ie, {
7493
+ modelValue: r(Ke),
7494
+ "onUpdate:modelValue": o[8] ||= (e) => y(Ke) ? Ke.value = e : null,
7495
7495
  type: "checkbox",
7496
7496
  name: "newsletter",
7497
- label: _(i)("booking.reservation.newsletterSignUp")
7497
+ label: r(c)("booking.reservation.newsletterSignUp")
7498
7498
  }, null, 8, ["modelValue", "label"])])),
7499
- _(Tt) ? a("", !0) : (c(), o(De, {
7499
+ r(Tt) ? d("", !0) : (b(), u(Oe, {
7500
7500
  key: 3,
7501
- modelValue: _(I),
7502
- "onUpdate:modelValue": u[9] ||= (e) => S(I) ? I.value = e : null,
7501
+ modelValue: r(R),
7502
+ "onUpdate:modelValue": o[9] ||= (e) => y(R) ? R.value = e : null,
7503
7503
  type: "text",
7504
7504
  name: "firm",
7505
7505
  autocomplete: "firm",
7506
- label: _(i)("booking.reservation.companyName"),
7506
+ label: r(c)("booking.reservation.companyName"),
7507
7507
  icon: "id-card",
7508
- placeholder: _(i)("booking.reservation.companyNamePlaceholder")
7508
+ placeholder: r(c)("booking.reservation.companyNamePlaceholder")
7509
7509
  }, null, 8, [
7510
7510
  "modelValue",
7511
7511
  "label",
7512
7512
  "placeholder"
7513
7513
  ])),
7514
- w(Pe, {
7515
- modelValue: _(N),
7516
- "onUpdate:modelValue": u[10] ||= (e) => S(N) ? N.value = e : null,
7514
+ l(Pe, {
7515
+ modelValue: r(I),
7516
+ "onUpdate:modelValue": o[10] ||= (e) => y(I) ? I.value = e : null,
7517
7517
  icon: "phone-office",
7518
- label: _(i)("booking.reservation.phone"),
7519
- placeholder: _(i)("booking.reservation.phonePlaceholder"),
7518
+ label: r(c)("booking.reservation.phone"),
7519
+ placeholder: r(c)("booking.reservation.phonePlaceholder"),
7520
7520
  error: Q("guest.phone"),
7521
7521
  required: ""
7522
7522
  }, null, 8, [
@@ -7525,12 +7525,12 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7525
7525
  "placeholder",
7526
7526
  "error"
7527
7527
  ]),
7528
- w(jn, {
7529
- modelValue: _(ge),
7530
- "onUpdate:modelValue": u[11] ||= (e) => S(ge) ? ge.value = e : null,
7531
- label: _(i)("booking.reservation.country"),
7532
- placeholder: _(i)("booking.reservation.countryPlaceholder"),
7533
- options: _(ee),
7528
+ l(jn, {
7529
+ modelValue: r(B),
7530
+ "onUpdate:modelValue": o[11] ||= (e) => y(B) ? B.value = e : null,
7531
+ label: r(c)("booking.reservation.country"),
7532
+ placeholder: r(c)("booking.reservation.countryPlaceholder"),
7533
+ options: r(re),
7534
7534
  error: Q("guest.country"),
7535
7535
  required: ""
7536
7536
  }, null, 8, [
@@ -7540,15 +7540,15 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7540
7540
  "options",
7541
7541
  "error"
7542
7542
  ]),
7543
- w(De, {
7544
- modelValue: _(B),
7545
- "onUpdate:modelValue": u[12] ||= (e) => S(B) ? B.value = e : null,
7543
+ l(Oe, {
7544
+ modelValue: r(fe),
7545
+ "onUpdate:modelValue": o[12] ||= (e) => y(fe) ? fe.value = e : null,
7546
7546
  type: "textarea",
7547
7547
  name: "address",
7548
7548
  autocomplete: "street-address",
7549
- label: _(i)("booking.reservation.streetAddress"),
7549
+ label: r(c)("booking.reservation.streetAddress"),
7550
7550
  icon: "map-marked",
7551
- placeholder: _(i)("booking.reservation.streetAddressPlaceholder"),
7551
+ placeholder: r(c)("booking.reservation.streetAddressPlaceholder"),
7552
7552
  error: Q("guest.address1"),
7553
7553
  required: ""
7554
7554
  }, null, 8, [
@@ -7557,15 +7557,15 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7557
7557
  "placeholder",
7558
7558
  "error"
7559
7559
  ]),
7560
- g("ul", Lr, [g("li", null, [w(De, {
7561
- modelValue: _(R),
7562
- "onUpdate:modelValue": u[13] ||= (e) => S(R) ? R.value = e : null,
7560
+ T("ul", Lr, [T("li", null, [l(Oe, {
7561
+ modelValue: r(z),
7562
+ "onUpdate:modelValue": o[13] ||= (e) => y(z) ? z.value = e : null,
7563
7563
  type: "text",
7564
7564
  name: "postal",
7565
7565
  autocomplete: "postal-code",
7566
- label: _(i)("booking.reservation.postal"),
7566
+ label: r(c)("booking.reservation.postal"),
7567
7567
  icon: "mailbox",
7568
- placeholder: _(i)("booking.reservation.postalPlaceholder"),
7568
+ placeholder: r(c)("booking.reservation.postalPlaceholder"),
7569
7569
  error: Q("guest.postal"),
7570
7570
  required: ""
7571
7571
  }, null, 8, [
@@ -7573,15 +7573,15 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7573
7573
  "label",
7574
7574
  "placeholder",
7575
7575
  "error"
7576
- ])]), g("li", null, [w(De, {
7577
- modelValue: _(ue),
7578
- "onUpdate:modelValue": u[14] ||= (e) => S(ue) ? ue.value = e : null,
7576
+ ])]), T("li", null, [l(Oe, {
7577
+ modelValue: r(ae),
7578
+ "onUpdate:modelValue": o[14] ||= (e) => y(ae) ? ae.value = e : null,
7579
7579
  type: "text",
7580
7580
  name: "city",
7581
7581
  autocomplete: "address-level2",
7582
- label: _(i)("booking.reservation.city"),
7582
+ label: r(c)("booking.reservation.city"),
7583
7583
  icon: "city",
7584
- placeholder: _(i)("booking.reservation.cityPlaceholder"),
7584
+ placeholder: r(c)("booking.reservation.cityPlaceholder"),
7585
7585
  error: Q("guest.city"),
7586
7586
  required: ""
7587
7587
  }, null, 8, [
@@ -7590,37 +7590,37 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7590
7590
  "placeholder",
7591
7591
  "error"
7592
7592
  ])])]),
7593
- e.hideRemarks === "yes" ? a("", !0) : (c(), o(De, {
7593
+ e.hideRemarks === "yes" ? d("", !0) : (b(), u(Oe, {
7594
7594
  key: 4,
7595
- modelValue: _(_e),
7596
- "onUpdate:modelValue": u[15] ||= (e) => S(_e) ? _e.value = e : null,
7595
+ modelValue: r(ve),
7596
+ "onUpdate:modelValue": o[15] ||= (e) => y(ve) ? ve.value = e : null,
7597
7597
  type: "textarea",
7598
- label: _(i)("booking.reservation.remark"),
7598
+ label: r(c)("booking.reservation.remark"),
7599
7599
  icon: "info-circle",
7600
- placeholder: _(i)("booking.reservation.remarkPlaceholder")
7600
+ placeholder: r(c)("booking.reservation.remarkPlaceholder")
7601
7601
  }, null, 8, [
7602
7602
  "modelValue",
7603
7603
  "label",
7604
7604
  "placeholder"
7605
7605
  ])),
7606
- e.hideAllergies === "yes" ? a("", !0) : (c(), o(De, {
7606
+ e.hideAllergies === "yes" ? d("", !0) : (b(), u(Oe, {
7607
7607
  key: 5,
7608
- modelValue: _(ve),
7609
- "onUpdate:modelValue": u[16] ||= (e) => S(ve) ? ve.value = e : null,
7608
+ modelValue: r(ye),
7609
+ "onUpdate:modelValue": o[16] ||= (e) => y(ye) ? ye.value = e : null,
7610
7610
  type: "textarea",
7611
- label: _(i)("booking.reservation.allergies"),
7611
+ label: r(c)("booking.reservation.allergies"),
7612
7612
  icon: "allergies",
7613
- placeholder: _(i)("booking.reservation.allergiesPlaceholder")
7613
+ placeholder: r(c)("booking.reservation.allergiesPlaceholder")
7614
7614
  }, null, 8, [
7615
7615
  "modelValue",
7616
7616
  "label",
7617
7617
  "placeholder"
7618
7618
  ])),
7619
- _(Ct) ? a("", !0) : (c(), o(qe, {
7619
+ r(Ct) ? d("", !0) : (b(), u(qe, {
7620
7620
  key: 6,
7621
- modelValue: _(ie),
7622
- "onUpdate:modelValue": u[17] ||= (e) => S(ie) ? ie.value = e : null,
7623
- label: _(i)("booking.reservation.purposeOfStay"),
7621
+ modelValue: r(A),
7622
+ "onUpdate:modelValue": o[17] ||= (e) => y(A) ? A.value = e : null,
7623
+ label: r(c)("booking.reservation.purposeOfStay"),
7624
7624
  name: "travelingFor",
7625
7625
  checkboxes: ln.value
7626
7626
  }, null, 8, [
@@ -7628,77 +7628,77 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7628
7628
  "label",
7629
7629
  "checkboxes"
7630
7630
  ])),
7631
- _(at) ? (c(), f(y, { key: 7 }, [g("h3", null, [g("span", null, T(_(i)("hotel.memberCards.title")), 1)]), _(ut) ? (c(), f("div", Rr, [g("img", { src: _(dt)?.iconUrl }, null, 8, zr), g("ul", Br, [
7632
- g("li", null, [g("span", null, T(_(i)("hotel.memberCards.selectedCard", { cardName: _(dt)?.shortDescription })), 1)]),
7633
- g("li", null, [g("span", null, T(_(i)("hotel.memberCards.cardNumber")) + ": " + T(_(ut).cardNumber), 1)]),
7634
- _(ut).controlNr ? (c(), f("li", Vr, [g("span", null, T(_(i)("hotel.memberCards.controlNumber")) + ": " + T(_(ut).controlNr), 1)])) : a("", !0)
7635
- ])])) : (c(), f(y, { key: 1 }, [w(qe, {
7636
- modelValue: _(st),
7637
- "onUpdate:modelValue": u[18] ||= (e) => S(st) ? st.value = e : null,
7638
- label: _(i)("hotel.memberCards.selectCard"),
7631
+ r(at) ? (b(), m(a, { key: 7 }, [T("h3", null, [T("span", null, h(r(c)("hotel.memberCards.title")), 1)]), r(ut) ? (b(), m("div", Rr, [T("img", { src: r(dt)?.iconUrl }, null, 8, zr), T("ul", Br, [
7632
+ T("li", null, [T("span", null, h(r(c)("hotel.memberCards.selectedCard", { cardName: r(dt)?.shortDescription })), 1)]),
7633
+ T("li", null, [T("span", null, h(r(c)("hotel.memberCards.cardNumber")) + ": " + h(r(ut).cardNumber), 1)]),
7634
+ r(ut).controlNr ? (b(), m("li", Vr, [T("span", null, h(r(c)("hotel.memberCards.controlNumber")) + ": " + h(r(ut).controlNr), 1)])) : d("", !0)
7635
+ ])])) : (b(), m(a, { key: 1 }, [l(qe, {
7636
+ modelValue: r(st),
7637
+ "onUpdate:modelValue": o[18] ||= (e) => y(st) ? st.value = e : null,
7638
+ label: r(c)("hotel.memberCards.selectCard"),
7639
7639
  name: "memberCard",
7640
- checkboxes: _(ot)
7640
+ checkboxes: r(ot)
7641
7641
  }, null, 8, [
7642
7642
  "modelValue",
7643
7643
  "label",
7644
7644
  "checkboxes"
7645
- ]), _(st) ? (c(), f("form", Hr, [
7646
- w(De, {
7647
- modelValue: _(lt),
7648
- "onUpdate:modelValue": u[19] ||= (e) => S(lt) ? lt.value = e : null,
7645
+ ]), r(st) ? (b(), m("form", Hr, [
7646
+ l(Oe, {
7647
+ modelValue: r(lt),
7648
+ "onUpdate:modelValue": o[19] ||= (e) => y(lt) ? lt.value = e : null,
7649
7649
  type: "number",
7650
- label: _(i)("hotel.memberCards.cardNumber"),
7650
+ label: r(c)("hotel.memberCards.cardNumber"),
7651
7651
  icon: "credit-card",
7652
- placeholder: _(i)("hotel.memberCards.cardNumberPlaceholder"),
7652
+ placeholder: r(c)("hotel.memberCards.cardNumberPlaceholder"),
7653
7653
  required: ""
7654
7654
  }, null, 8, [
7655
7655
  "modelValue",
7656
7656
  "label",
7657
7657
  "placeholder"
7658
7658
  ]),
7659
- _(st) === _(Ae).FirmaCard ? (c(), o(De, {
7659
+ r(st) === r(Ae).FirmaCard ? (b(), u(Oe, {
7660
7660
  key: 0,
7661
- modelValue: _(ct),
7662
- "onUpdate:modelValue": u[20] ||= (e) => S(ct) ? ct.value = e : null,
7661
+ modelValue: r(ct),
7662
+ "onUpdate:modelValue": o[20] ||= (e) => y(ct) ? ct.value = e : null,
7663
7663
  type: "text",
7664
- label: _(i)("hotel.memberCards.cardControlNumber"),
7664
+ label: r(c)("hotel.memberCards.cardControlNumber"),
7665
7665
  icon: "id-card",
7666
- placeholder: _(i)("hotel.memberCards.cardControlNumberPlaceholder"),
7666
+ placeholder: r(c)("hotel.memberCards.cardControlNumberPlaceholder"),
7667
7667
  required: ""
7668
7668
  }, null, 8, [
7669
7669
  "modelValue",
7670
7670
  "label",
7671
7671
  "placeholder"
7672
- ])) : a("", !0),
7673
- _(st) === _(Ae).DaneAge ? (c(), o(De, {
7672
+ ])) : d("", !0),
7673
+ r(st) === r(Ae).DaneAge ? (b(), u(Oe, {
7674
7674
  key: 1,
7675
- modelValue: _(R),
7676
- "onUpdate:modelValue": u[21] ||= (e) => S(R) ? R.value = e : null,
7675
+ modelValue: r(z),
7676
+ "onUpdate:modelValue": o[21] ||= (e) => y(z) ? z.value = e : null,
7677
7677
  type: "text",
7678
7678
  name: "postal",
7679
7679
  autocomplete: "postal-code",
7680
- label: _(i)("booking.reservation.postal"),
7680
+ label: r(c)("booking.reservation.postal"),
7681
7681
  icon: "mailbox",
7682
- placeholder: _(i)("booking.reservation.postalPlaceholder"),
7682
+ placeholder: r(c)("booking.reservation.postalPlaceholder"),
7683
7683
  required: ""
7684
7684
  }, null, 8, [
7685
7685
  "modelValue",
7686
7686
  "label",
7687
7687
  "placeholder"
7688
- ])) : a("", !0),
7689
- w(Me, {
7690
- label: _(i)("hotel.memberCards.validateAndSelectCard"),
7688
+ ])) : d("", !0),
7689
+ l(Me, {
7690
+ label: r(c)("hotel.memberCards.validateAndSelectCard"),
7691
7691
  "full-width": "",
7692
- onClickEvent: _(Qt)
7692
+ onClickEvent: r(Qt)
7693
7693
  }, null, 8, ["label", "onClickEvent"])
7694
- ])) : a("", !0)], 64))], 64)) : a("", !0)
7694
+ ])) : d("", !0)], 64))], 64)) : d("", !0)
7695
7695
  ])]),
7696
- navigation: M(() => [g("div", null, [_(mt) ? (c(), o(Re, { key: 0 })) : a("", !0), w(Me, {
7697
- label: _(Et) ? _(i)("booking.reservation.nextButton") : _(i)("general.confirmReservation"),
7698
- disabled: !_(re),
7699
- "is-loading": _(C) || _(mt),
7696
+ navigation: S(() => [T("div", null, [r(mt) ? (b(), u(Re, { key: 0 })) : d("", !0), l(Me, {
7697
+ label: r(Et) ? r(c)("booking.reservation.nextButton") : r(c)("general.confirmReservation"),
7698
+ disabled: !r(k),
7699
+ "is-loading": r(D) || r(mt),
7700
7700
  "full-width": "",
7701
- onClickEvent: (e) => vn(t, r)
7701
+ onClickEvent: (e) => vn(t, i)
7702
7702
  }, null, 8, [
7703
7703
  "label",
7704
7704
  "disabled",
@@ -7706,19 +7706,19 @@ var nn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7706
7706
  "onClickEvent"
7707
7707
  ])])]),
7708
7708
  _: 2
7709
- }, 1032, ["prev-callback"])) : a("", !0)]),
7710
- payment: M(({ prev: e }) => [w(Ve), a("", !0)]),
7711
- confirmation: M(() => [w(Je, { message: _(i)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
7709
+ }, 1032, ["prev-callback"])) : d("", !0)]),
7710
+ payment: S(({ prev: e }) => [l(Ve), d("", !0)]),
7711
+ confirmation: S(() => [l(Je, { message: r(c)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
7712
7712
  _: 1
7713
7713
  }, 8, [
7714
7714
  "layout",
7715
7715
  "steps",
7716
7716
  "onReset"
7717
- ]), [[ne, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && _(et)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && _(tt))]])
7717
+ ]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && r(et)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && r(tt))]])
7718
7718
  ]),
7719
7719
  _: 1
7720
7720
  }, 8, ["access-token", "callback"])]),
7721
- fallback: M(() => [w(In)]),
7721
+ fallback: S(() => [l(In)]),
7722
7722
  _: 1
7723
7723
  }))]),
7724
7724
  _: 1
@@ -8361,8 +8361,8 @@ function Wi(e = {}) {
8361
8361
  }
8362
8362
  //#endregion
8363
8363
  //#region src/entries/hotel.ts
8364
- var Gi = A(), Ki = /* @__PURE__ */ Wi(), qi = O("konnectio-hotel", Wr, (e) => {
8365
- e.use(R), e.use(Ki), e.use(Gi), e.use(D), e.use(et), e.use(Ge);
8364
+ var Gi = j(), Ki = /* @__PURE__ */ Wi(), qi = A("konnectio-hotel", Wr, (e) => {
8365
+ e.use(ae), e.use(Ki), e.use(Gi), e.use(k), e.use(et), e.use(Ge);
8366
8366
  });
8367
8367
  //#endregion
8368
8368
  export { qi as default };