@konnectio/core 4.11.3 → 4.11.5

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 (101) hide show
  1. package/dist/{ActionField-dg0RS8gf.js → ActionField-DBxduvRT.js} +1 -1
  2. package/dist/ActionField-DBxduvRT.js.br +0 -0
  3. package/dist/ActionField-DBxduvRT.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-uoeeP_5d.js → AvailabilitySkeleton-DoVzHCoF.js} +2 -2
  5. package/dist/AvailabilitySkeleton-DoVzHCoF.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-DoVzHCoF.js.gz +0 -0
  7. package/dist/{CheckoutWindow-DXRVoh-J.js → CheckoutWindow-CJq8smYV.js} +4 -4
  8. package/dist/CheckoutWindow-CJq8smYV.js.br +0 -0
  9. package/dist/CheckoutWindow-CJq8smYV.js.gz +0 -0
  10. package/dist/{ErrorMessage-OQ4r9QGR.js → ErrorMessage-voedvcXr.js} +1 -1
  11. package/dist/ErrorMessage-voedvcXr.js.br +0 -0
  12. package/dist/ErrorMessage-voedvcXr.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-B4pOCkcm.js → EventAvailabilityForm-BjLCcN_W.js} +2 -2
  14. package/dist/EventAvailabilityForm-BjLCcN_W.js.br +0 -0
  15. package/dist/EventAvailabilityForm-BjLCcN_W.js.gz +0 -0
  16. package/dist/{Field-DpRx5gtJ.js → Field-2Hbk9ahl.js} +1 -1
  17. package/dist/Field-2Hbk9ahl.js.br +0 -0
  18. package/dist/Field-2Hbk9ahl.js.gz +0 -0
  19. package/dist/{HotelAvailabilityForm-BSM-KcqG.js → HotelAvailabilityForm-v-z9AFWI.js} +2 -2
  20. package/dist/HotelAvailabilityForm-v-z9AFWI.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-v-z9AFWI.js.gz +0 -0
  22. package/dist/{SelectField-CEEffgaQ.js → SelectField-w9Labj2W.js} +2913 -2907
  23. package/dist/SelectField-w9Labj2W.js.br +0 -0
  24. package/dist/SelectField-w9Labj2W.js.gz +0 -0
  25. package/dist/{TermsOfService-C4YZ5zhE.js → TermsOfService-D8q2gi5I.js} +2 -2
  26. package/dist/TermsOfService-D8q2gi5I.js.br +0 -0
  27. package/dist/TermsOfService-D8q2gi5I.js.gz +4 -0
  28. package/dist/{_-DM-h5BQz.js → _-Cpgd04rM.js} +1 -1
  29. package/dist/_-Cpgd04rM.js.br +0 -0
  30. package/dist/_-Cpgd04rM.js.gz +0 -0
  31. package/dist/availability.js +7 -7
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +4 -4
  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/{dist-BQy2-bMP.js → dist-0CoL4k9r.js} +4 -4
  41. package/dist/dist-0CoL4k9r.js.br +0 -0
  42. package/dist/dist-0CoL4k9r.js.gz +0 -0
  43. package/dist/{dist-Q9kXoafy.js → dist-Drv0vus3.js} +2 -2
  44. package/dist/dist-Drv0vus3.js.br +0 -0
  45. package/dist/dist-Drv0vus3.js.gz +0 -0
  46. package/dist/event.js +10 -10
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +7 -7
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +182 -83
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/giftCard-6oDMPMDe.js +134 -0
  56. package/dist/giftCard-6oDMPMDe.js.br +0 -0
  57. package/dist/giftCard-6oDMPMDe.js.gz +0 -0
  58. package/dist/hotel.js +145 -145
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/polyfill.js +1 -1
  62. package/dist/polyfill.js.br +0 -0
  63. package/dist/polyfill.js.gz +0 -0
  64. package/dist/{style-xK2dve9W.js → style-BJBxZSi0.js} +1 -1
  65. package/dist/style-BJBxZSi0.js.br +0 -0
  66. package/dist/style-BJBxZSi0.js.gz +0 -0
  67. package/dist-wix/availability.js +2 -2
  68. package/dist-wix/event.js +2 -2
  69. package/dist-wix/gift-card-validation.js +23 -23
  70. package/dist-wix/gift-card.js +37 -37
  71. package/dist-wix/hotel.js +4 -4
  72. package/package.json +1 -1
  73. package/dist/ActionField-dg0RS8gf.js.br +0 -0
  74. package/dist/ActionField-dg0RS8gf.js.gz +0 -0
  75. package/dist/AvailabilitySkeleton-uoeeP_5d.js.br +0 -0
  76. package/dist/AvailabilitySkeleton-uoeeP_5d.js.gz +0 -0
  77. package/dist/CheckoutWindow-DXRVoh-J.js.br +0 -0
  78. package/dist/CheckoutWindow-DXRVoh-J.js.gz +0 -0
  79. package/dist/ErrorMessage-OQ4r9QGR.js.br +0 -0
  80. package/dist/ErrorMessage-OQ4r9QGR.js.gz +0 -0
  81. package/dist/EventAvailabilityForm-B4pOCkcm.js.br +0 -0
  82. package/dist/EventAvailabilityForm-B4pOCkcm.js.gz +0 -0
  83. package/dist/Field-DpRx5gtJ.js.br +0 -0
  84. package/dist/Field-DpRx5gtJ.js.gz +0 -0
  85. package/dist/HotelAvailabilityForm-BSM-KcqG.js.br +0 -0
  86. package/dist/HotelAvailabilityForm-BSM-KcqG.js.gz +0 -0
  87. package/dist/SelectField-CEEffgaQ.js.br +0 -0
  88. package/dist/SelectField-CEEffgaQ.js.gz +0 -0
  89. package/dist/TermsOfService-C4YZ5zhE.js.br +0 -0
  90. package/dist/TermsOfService-C4YZ5zhE.js.gz +0 -0
  91. package/dist/_-DM-h5BQz.js.br +0 -0
  92. package/dist/_-DM-h5BQz.js.gz +0 -0
  93. package/dist/dist-BQy2-bMP.js.br +0 -0
  94. package/dist/dist-BQy2-bMP.js.gz +0 -0
  95. package/dist/dist-Q9kXoafy.js.br +0 -0
  96. package/dist/dist-Q9kXoafy.js.gz +0 -0
  97. package/dist/giftCard-DO4ELDIx.js +0 -113
  98. package/dist/giftCard-DO4ELDIx.js.br +0 -0
  99. package/dist/giftCard-DO4ELDIx.js.gz +0 -0
  100. package/dist/style-xK2dve9W.js.br +0 -0
  101. package/dist/style-xK2dve9W.js.gz +0 -0
package/dist/hotel.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { r as e, t } from "./rolldown-runtime-QGRDbDUS.js";
2
2
  import { A as n, At as r, D as i, Dt as a, E as o, F as s, I as c, K as l, L as u, M as d, N as f, O as p, Ot as m, P as h, Q as g, R as _, S as ee, _t as v, a as y, at as te, ct as ne, et as b, f as re, ft as x, h as S, ht as ie, i as ae, j as C, jt as w, mt as T, n as E, nt as D, o as O, p as k, q as A, rt as j, st as M, u as N, w as P, xt as F, yt as I, z as R } from "./i18n-Dq3VKG7w.js";
3
- import { t as z } from "./dist-Q9kXoafy.js";
4
- import { t as oe } from "./style-xK2dve9W.js";
5
- import { a as se, c as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he } from "./dist-BQy2-bMP.js";
6
- import { a as ge, c as _e, i as ve, l as ye, n as be, o as xe, s as Se, t as Ce } from "./CheckoutWindow-DXRVoh-J.js";
7
- import { $ as we, B as Te, C as Ee, E as De, F as Oe, H as ke, I as Ae, J as je, K as Me, L as Ne, T as Pe, U as Fe, W as Ie, X as Le, Y as B, b as Re, g as ze, h as Be, j as Ve, k as He, n as Ue, nt as We, ot as Ge, q as Ke, r as qe, rt as Je, st as V, t as Ye, v as Xe, w as Ze, x as Qe, y as H } from "./SelectField-CEEffgaQ.js";
8
- import { t as $e } from "./HotelAvailabilityForm-BSM-KcqG.js";
9
- import { t as et } from "./TermsOfService-C4YZ5zhE.js";
10
- import { t as tt } from "./ActionField-dg0RS8gf.js";
11
- import { n as nt, t as rt } from "./AvailabilitySkeleton-uoeeP_5d.js";
3
+ import { t as z } from "./dist-Drv0vus3.js";
4
+ import { t as oe } from "./style-BJBxZSi0.js";
5
+ import { a as se, c as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he } from "./dist-0CoL4k9r.js";
6
+ import { a as ge, c as _e, i as ve, l as ye, n as be, o as xe, s as Se, t as Ce } from "./CheckoutWindow-CJq8smYV.js";
7
+ import { $ as B, B as we, C as Te, E as Ee, F as De, H as Oe, I as ke, J as Ae, K as je, L as Me, T as Ne, U as Pe, W as Fe, X as Ie, Y as Le, b as Re, ct as ze, g as Be, h as Ve, j as He, k as Ue, n as We, nt as Ge, q as Ke, r as qe, rt as Je, st as V, t as Ye, v as Xe, w as Ze, x as Qe, y as H } from "./SelectField-w9Labj2W.js";
8
+ import { t as $e } from "./HotelAvailabilityForm-v-z9AFWI.js";
9
+ import { t as et } from "./TermsOfService-D8q2gi5I.js";
10
+ import { t as tt } from "./ActionField-DBxduvRT.js";
11
+ import { n as nt, t as rt } from "./AvailabilitySkeleton-DoVzHCoF.js";
12
12
  // node_modules/inner-image-zoom/src/utils/images.js
13
13
  function it(e, t) {
14
14
  return t ? {
@@ -355,14 +355,14 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
355
355
  prevCallback: {}
356
356
  },
357
357
  setup(e) {
358
- let { t } = y(), { disableNewsletterSignup: n, currency: r } = S(Ze()), { hasArrivalDepartureInputs: i } = Ze(), { arrivalTime: c, departureTime: l, roomDisplay: p, templateID: m, totalPrice: g, areListingsLoading: _, getSelectedPackageRooms: ne, templateRoomUnits: re, selectedPackage: x, discountVouchers: E, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: M, locationMismatch: N, newsMails: I, termsOfService: R, discountCode: z, hasTermOfService: oe, acceptTerms: ce, totalTemplateAddonPrice: le, totalRooms: ue, totalAdults: de, totalChildren: fe, weekendFee: pe, selectedMemberCardData: me, appliedDiscountCode: he, guestDiscountCode: ge, isValidatingDiscountCode: _e } = S(De()), { hasHotelLocations: ye } = S(Qe()), { removeRoom: be, validateDiscountCode: xe, getMandatoryRoomGroupAddons: Se, getTemplateRoomUnitPrice: Ce, resetDiscountVoucher: Te, setGuestDiscountCode: Ee, clearGuestDiscountCode: ke, fetchAvailabilityData: Ae } = De(), { getHotelLocationName: je } = Qe(), Me = F(!1);
359
- function Pe(e) {
360
- Ee(e), Ae();
358
+ let { t } = y(), { disableNewsletterSignup: n, currency: r } = S(Ze()), { hasArrivalDepartureInputs: i } = Ze(), { arrivalTime: c, departureTime: l, roomDisplay: p, templateID: m, totalPrice: g, areListingsLoading: _, getSelectedPackageRooms: ne, templateRoomUnits: re, selectedPackage: x, discountVouchers: E, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: M, locationMismatch: N, newsMails: I, termsOfService: R, discountCode: z, hasTermOfService: oe, acceptTerms: ce, totalTemplateAddonPrice: le, totalRooms: ue, totalAdults: de, totalChildren: fe, weekendFee: pe, selectedMemberCardData: me, appliedDiscountCode: he, guestDiscountCode: ge, isValidatingDiscountCode: _e } = S(Ee()), { hasHotelLocations: ye } = S(Qe()), { removeRoom: be, validateDiscountCode: xe, getMandatoryRoomGroupAddons: Se, getTemplateRoomUnitPrice: Ce, resetDiscountVoucher: we, setGuestDiscountCode: Te, clearGuestDiscountCode: Oe, fetchAvailabilityData: ke } = Ee(), { getHotelLocationName: Ae } = Qe(), je = F(!1);
359
+ function Ne(e) {
360
+ Te(e), ke();
361
361
  }
362
- function Fe() {
363
- ke(), Ae();
362
+ function Pe() {
363
+ Oe(), ke();
364
364
  }
365
- function Ie(e) {
365
+ function Fe(e) {
366
366
  return e.reduce((e, { totalPrice: t }) => e + t, 0);
367
367
  }
368
368
  return (y, S) => {
@@ -383,13 +383,13 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
383
383
  "applied-discount-code": a(he),
384
384
  "guest-discount-code": a(ge),
385
385
  "is-validating-discount-code": a(_e),
386
- "on-reset-discount-code": a(Te),
387
- "on-apply-availability-discount": Pe,
388
- "on-clear-availability-discount": Fe
386
+ "on-reset-discount-code": a(we),
387
+ "on-apply-availability-discount": Ne,
388
+ "on-clear-availability-discount": Pe
389
389
  }, s({
390
390
  form: T(() => [j(y.$slots, "form", {}, void 0, !0)]),
391
- "price-summary": T(() => [isNaN(a(m)) && a(p).length > 0 ? (b(!0), h(o, { key: 0 }, D(a(p), ({ roomGroupID: n, title: i, variants: s }) => (b(), h("div", { key: n }, [C("h6", null, [C("span", null, w(a(Oe)(i)), 1)]), (b(!0), h(o, null, D(s, (i, s) => (b(), h("div", { key: s }, [(b(!0), h(o, null, D(i.rooms, (o, c) => (b(), h("ul", { key: c }, [C("li", null, [
392
- C("span", Ot, w(a(Oe)(i.name)), 1),
391
+ "price-summary": T(() => [isNaN(a(m)) && a(p).length > 0 ? (b(!0), h(o, { key: 0 }, D(a(p), ({ roomGroupID: n, title: i, variants: s }) => (b(), h("div", { key: n }, [C("h6", null, [C("span", null, w(a(De)(i)), 1)]), (b(!0), h(o, null, D(s, (i, s) => (b(), h("div", { key: s }, [(b(!0), h(o, null, D(i.rooms, (o, c) => (b(), h("ul", { key: c }, [C("li", null, [
392
+ C("span", Ot, w(a(De)(i.name)), 1),
393
393
  C("span", q, [C("span", kt, [C("span", null, [u(H, {
394
394
  icon: "male",
395
395
  type: "fas",
@@ -399,7 +399,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
399
399
  type: "fas",
400
400
  color: "font"
401
401
  }), C("span", null, w(o.childrenCount), 1)])) : f("", !0)]), o.roomName ? (b(), h("span", jt, "(" + w(o.roomName) + ")", 1)) : f("", !0)]),
402
- C("b", null, [C("span", null, w(a(we)(o.totalPrice, a(r))), 1), e.showRemoveRoom ? (b(), h("span", {
402
+ C("b", null, [C("span", null, w(a(B)(o.totalPrice, a(r))), 1), e.showRemoveRoom ? (b(), h("span", {
403
403
  key: 0,
404
404
  class: "konnectio-hotel-reservation-remove",
405
405
  onClick: P((e) => a(be)(n, s, o.configIdx), ["prevent"])
@@ -408,8 +408,8 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
408
408
  type: "fas",
409
409
  "icon-color": "#ff0000"
410
410
  })], 8, Mt)) : f("", !0)])
411
- ]), Ie(o.roomAddons) > 0 ? (b(), h("li", Nt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(we)(Ie(o.roomAddons), a(r))), 1)])) : f("", !0)]))), 128))]))), 128))]))), 128)) : f("", !0), a(re).length > 0 && a(x) ? (b(), h("div", Pt, [C("h6", null, [C("span", null, w(a(Oe)(a(x).name)), 1)]), C("div", null, [C("ul", null, [(b(!0), h(o, null, D(a(re), (e, n) => (b(), h("li", { key: n }, [
412
- C("span", Ft, [C("span", null, w(a(Oe)(a(ne).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), a(re).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), h("span", It, "(" + w(a(t)("booking.reservation.room")) + " " + w(a(re).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : f("", !0)]),
411
+ ]), Fe(o.roomAddons) > 0 ? (b(), h("li", Nt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(B)(Fe(o.roomAddons), a(r))), 1)])) : f("", !0)]))), 128))]))), 128))]))), 128)) : f("", !0), a(re).length > 0 && a(x) ? (b(), h("div", Pt, [C("h6", null, [C("span", null, w(a(De)(a(x).name)), 1)]), C("div", null, [C("ul", null, [(b(!0), h(o, null, D(a(re), (e, n) => (b(), h("li", { key: n }, [
412
+ C("span", Ft, [C("span", null, w(a(De)(a(ne).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), a(re).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), h("span", It, "(" + w(a(t)("booking.reservation.room")) + " " + w(a(re).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : f("", !0)]),
413
413
  C("span", Lt, [C("span", Rt, [C("span", null, [u(H, {
414
414
  icon: "male",
415
415
  type: "fas",
@@ -419,9 +419,9 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
419
419
  type: "fas",
420
420
  color: "font"
421
421
  }), C("span", null, w(e.children), 1)])) : f("", !0)])]),
422
- C("b", null, [C("span", null, w(a(we)(a(Ce)(e.roomGroupId, e.adults, e.children) + a(pe), a(r))), 1)]),
423
- (b(!0), h(o, null, D(a(Se)(e.roomGroupId), (e) => (b(), h(o, { key: e.addonID }, [C("span", null, "- " + w(e.name), 1), C("b", null, [C("span", null, w(a(we)(e.price, a(r))), 1)])], 64))), 128))
424
- ]))), 128)), a(le) ? (b(), h("li", Bt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(we)(a(le), a(r))), 1)])) : f("", !0)])])])) : f("", !0)]),
422
+ C("b", null, [C("span", null, w(a(B)(a(Ce)(e.roomGroupId, e.adults, e.children) + a(pe), a(r))), 1)]),
423
+ (b(!0), h(o, null, D(a(Se)(e.roomGroupId), (e) => (b(), h(o, { key: e.addonID }, [C("span", null, "- " + w(e.name), 1), C("b", null, [C("span", null, w(a(B)(e.price, a(r))), 1)])], 64))), 128))
424
+ ]))), 128)), a(le) ? (b(), h("li", Bt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(B)(a(le), a(r))), 1)])) : f("", !0)])])])) : f("", !0)]),
425
425
  actions: T(() => [C("ul", Vt, [
426
426
  a(n) ? f("", !0) : (b(), h("div", Ht, [u(ve, {
427
427
  modelValue: a(I),
@@ -443,7 +443,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
443
443
  }, {
444
444
  terms: T(() => [C("a", {
445
445
  class: "konnectio-accept-terms-link",
446
- onClick: S[1] ||= P((e) => Me.value = !0, ["prevent"])
446
+ onClick: S[1] ||= P((e) => je.value = !0, ["prevent"])
447
447
  }, [C("span", null, w(a(Ke)(a(t)("general.termsAndConditions"))), 1)])]),
448
448
  _: 1
449
449
  })]),
@@ -451,20 +451,20 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
451
451
  }, 8, ["modelValue"])])) : f("", !0),
452
452
  j(y.$slots, "actions", {}, void 0, !0),
453
453
  u(et, {
454
- modelValue: Me.value,
455
- "onUpdate:modelValue": S[3] ||= (e) => Me.value = e,
454
+ modelValue: je.value,
455
+ "onUpdate:modelValue": S[3] ||= (e) => je.value = e,
456
456
  description: a(R)
457
457
  }, null, 8, ["modelValue", "description"])
458
458
  ])]),
459
459
  navigation: T(() => [j(y.$slots, "navigation", {}, void 0, !0)]),
460
460
  "mobile-under-price": T(() => [
461
461
  C("span", null, w(a(t)("general.for")) + ": ", 1),
462
- C("b", null, w(a(Ne)(a(O), a(k))) + " " + w(a(Ke)(a(Ne)(a(O), a(k)) === 1 ? a(t)("booking.reservation.night") : a(t)("booking.reservation.nights"))), 1),
462
+ C("b", null, w(a(Me)(a(O), a(k))) + " " + w(a(Ke)(a(Me)(a(O), a(k)) === 1 ? a(t)("booking.reservation.night") : a(t)("booking.reservation.nights"))), 1),
463
463
  ie((b(), h("span", Ut, [u(H, {
464
464
  icon: "circle-info",
465
465
  type: "fas"
466
466
  })])), [[F, {
467
- content: `<span>(${a(Le)(a(O))} - ${a(Le)(a(k))})</span>`,
467
+ content: `<span>(${a(Ie)(a(O))} - ${a(Ie)(a(k))})</span>`,
468
468
  classes: ["tooltip", "konnectio-tooltip"],
469
469
  html: !0
470
470
  }]])
@@ -479,19 +479,19 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
479
479
  name: "reservation-summary",
480
480
  fn: T(() => [
481
481
  e.dealFlow && a(he) ? (b(), h("li", K, [C("span", null, w(a(t)("dealCode.label")), 1), C("b", null, w(a(he)), 1)])) : f("", !0),
482
- a(ye) ? (b(), h("li", Ct, [C("span", null, w(a(t)("general.location")), 1), C("b", null, [C("span", null, w(a(je)(a(M))), 1), ie(C("span", wt, [u(H, {
482
+ a(ye) ? (b(), h("li", Ct, [C("span", null, w(a(t)("general.location")), 1), C("b", null, [C("span", null, w(a(Ae)(a(M))), 1), ie(C("span", wt, [u(H, {
483
483
  icon: "exclamation-triangle",
484
484
  type: "fas"
485
485
  })], 512), [[ee, a(N)]])])])) : f("", !0),
486
- C("li", null, [C("span", null, w(a(t)("booking.reservation.arrival")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Le)(a(O))}, ${a(c)}` : a(Le)(a(O))), 1), ie(C("span", Tt, [u(H, {
486
+ C("li", null, [C("span", null, w(a(t)("booking.reservation.arrival")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Ie)(a(O))}, ${a(c)}` : a(Ie)(a(O))), 1), ie(C("span", Tt, [u(H, {
487
487
  icon: "exclamation-triangle",
488
488
  type: "fas"
489
489
  })], 512), [[ee, a(A)]])])]),
490
- C("li", null, [C("span", null, w(a(t)("booking.reservation.departure")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Le)(a(k))}, ${a(l)}` : a(Le)(a(k))), 1), ie(C("span", Et, [u(H, {
490
+ C("li", null, [C("span", null, w(a(t)("booking.reservation.departure")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Ie)(a(k))}, ${a(l)}` : a(Ie)(a(k))), 1), ie(C("span", Et, [u(H, {
491
491
  icon: "exclamation-triangle",
492
492
  type: "fas"
493
493
  })], 512), [[ee, a(A)]])])]),
494
- C("li", null, [C("span", null, w(a(t)("booking.reservation.nights")), 1), C("b", null, w(a(Ne)(a(O), a(k))) + " " + w(a(Ke)(a(Ne)(a(O), a(k)) === 1 ? a(t)("booking.reservation.night") : a(t)("booking.reservation.nights"))), 1)]),
494
+ C("li", null, [C("span", null, w(a(t)("booking.reservation.nights")), 1), C("b", null, w(a(Me)(a(O), a(k))) + " " + w(a(Ke)(a(Me)(a(O), a(k)) === 1 ? a(t)("booking.reservation.night") : a(t)("booking.reservation.nights"))), 1)]),
495
495
  a(me) && a(me).providesDiscount ? (b(), h("li", Dt, [C("span", null, w(a(me).shortDescription), 1), C("b", null, "-" + w(a(me).discountPercent) + "%", 1)])) : f("", !0),
496
496
  a(E) ? (b(!0), h(o, { key: 3 }, D(a(E), (e) => (b(), h("li", { key: e.id }, [C("span", null, w(`${a(t)("general.discountCode")} (${e.value})`), 1), C("b", null, w(e.key), 1)]))), 128)) : f("", !0)
497
497
  ]),
@@ -518,7 +518,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
518
518
  }), [["__scopeId", "data-v-4f766755"]]), Wt = { class: "konnectio-panel" }, Gt = { id: "konnectio-hotel-guest-discount-title" }, Kt = ["innerHTML"], qt = /*#__PURE__*/ Re(/* @__PURE__ */ R({
519
519
  __name: "GuestDiscountForm",
520
520
  setup(e) {
521
- let { t } = y(), n = re("history"), r = De(), { display: i } = Ve(), o = F();
521
+ let { t } = y(), n = re("history"), r = Ee(), { display: i } = He(), o = F();
522
522
  async function s() {
523
523
  o.value ? isNaN(o.value) ? i({
524
524
  message: t("alert.error.guestDiscountNan"),
@@ -555,7 +555,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
555
555
  }), [["__scopeId", "data-v-de955b0c"]]), Jt = { class: "konnectio-panel" }, Yt = { id: "konnectio-hotel-discount-code-title" }, Xt = ["innerHTML"], X = /*#__PURE__*/ Re(/* @__PURE__ */ R({
556
556
  __name: "DiscountCodeForm",
557
557
  setup(e) {
558
- let { t } = y(), r = re("history"), i = De(), { display: o } = Ve(), { location: s, hotelLocations: c } = S(Qe()), { requireDealCode: l } = S(i), p = n(() => l.value ? "dealCode" : "discountCode"), m = F(), g = F(!1);
558
+ let { t } = y(), r = re("history"), i = Ee(), { display: o } = He(), { location: s, hotelLocations: c } = S(Qe()), { requireDealCode: l } = S(i), p = n(() => l.value ? "dealCode" : "discountCode"), m = F(), g = F(!1);
559
559
  async function _() {
560
560
  if (!m.value) o({
561
561
  message: t("alert.error.discountCodeEmpty"),
@@ -665,8 +665,8 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
665
665
  type: "fas",
666
666
  color: "font"
667
667
  }), C("span", null, w(`${e.children}`), 1)])) : f("", !0)
668
- ]), C("span", null, w(`(${a(we)(e.price, a(i))})`), 1)])]),
669
- "selected-option": T(({ data: e }) => [C("div", $t, [C("div", en, [C("div", null, [f("", !0), C("span", null, w(`${e.adults} ${e.adults === 1 ? a(r)("general.adult") : a(r)("general.adults")}`), 1)]), e.children > 0 ? (b(), h("div", tn, [f("", !0), C("span", null, w(`& ${e.children} ${e.children === 1 ? a(r)("general.child") : a(r)("general.children")}`), 1)])) : f("", !0)]), C("div", nn, [n[1] ||= C("span", null, null, -1), c(" " + w(`(${a(we)(e.price, a(i))})`), 1)])])]),
668
+ ]), C("span", null, w(`(${a(B)(e.price, a(i))})`), 1)])]),
669
+ "selected-option": T(({ data: e }) => [C("div", $t, [C("div", en, [C("div", null, [f("", !0), C("span", null, w(`${e.adults} ${e.adults === 1 ? a(r)("general.adult") : a(r)("general.adults")}`), 1)]), e.children > 0 ? (b(), h("div", tn, [f("", !0), C("span", null, w(`& ${e.children} ${e.children === 1 ? a(r)("general.child") : a(r)("general.children")}`), 1)])) : f("", !0)]), C("div", nn, [n[1] ||= C("span", null, null, -1), c(" " + w(`(${a(B)(e.price, a(i))})`), 1)])])]),
670
670
  _: 1
671
671
  }, 8, [
672
672
  "modelValue",
@@ -1272,7 +1272,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
1272
1272
  }
1273
1273
  return n || "M0 0";
1274
1274
  }
1275
- var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = Je("webkit"), _e = Je("android"), ve = Je("android 2") || Je("android 3"), ye = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), be = _e && Je("Google") && ye < 537 && !("AudioNode" in window), xe = !!window.opera, Se = !he && Je("chrome"), Ce = Je("gecko") && !ge && !xe && !pe, we = !Se && Je("safari"), Te = Je("phantom"), Ee = "OTransition" in fe, De = navigator.platform.indexOf("Win") === 0, Oe = pe && "transition" in fe, ke = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ve, Ae = "MozPerspective" in fe, je = !window.L_DISABLE_3D && (Oe || ke || Ae) && !Ee && !Te, Me = typeof orientation < "u" || Je("mobile"), Ne = Me && ge, Pe = Me && ke, Fe = !window.PointerEvent && window.MSPointerEvent, Ie = !!(window.PointerEvent || Fe), Le = "ontouchstart" in window || !!window.TouchEvent, B = !window.L_NO_TOUCH && (Le || Ie), Re = Me && xe, ze = Me && Ce, Be = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Ve = function() {
1275
+ var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = Je("webkit"), _e = Je("android"), ve = Je("android 2") || Je("android 3"), ye = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), be = _e && Je("Google") && ye < 537 && !("AudioNode" in window), xe = !!window.opera, Se = !he && Je("chrome"), Ce = Je("gecko") && !ge && !xe && !pe, B = !Se && Je("safari"), we = Je("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() && !ve, ke = "MozPerspective" in fe, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, je = typeof orientation < "u" || Je("mobile"), Me = je && ge, Ne = je && Oe, Pe = !window.PointerEvent && window.MSPointerEvent, Fe = !!(window.PointerEvent || Pe), Ie = "ontouchstart" in window || !!window.TouchEvent, Le = !window.L_NO_TOUCH && (Ie || Fe), Re = je && xe, ze = je && Ce, Be = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Ve = function() {
1276
1276
  var e = !1;
1277
1277
  try {
1278
1278
  var t = Object.defineProperty({}, "passive", { get: function() {
@@ -1310,21 +1310,21 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
1310
1310
  opera: xe,
1311
1311
  chrome: Se,
1312
1312
  gecko: Ce,
1313
- safari: we,
1314
- phantom: Te,
1315
- opera12: Ee,
1316
- win: De,
1317
- ie3d: Oe,
1318
- webkit3d: ke,
1319
- gecko3d: Ae,
1320
- any3d: je,
1321
- mobile: Me,
1322
- mobileWebkit: Ne,
1323
- mobileWebkit3d: Pe,
1324
- msPointer: Fe,
1325
- pointer: Ie,
1326
- touch: B,
1327
- touchNative: Le,
1313
+ safari: B,
1314
+ phantom: we,
1315
+ opera12: Te,
1316
+ win: Ee,
1317
+ ie3d: De,
1318
+ webkit3d: Oe,
1319
+ gecko3d: ke,
1320
+ any3d: Ae,
1321
+ mobile: je,
1322
+ mobileWebkit: Me,
1323
+ mobileWebkit3d: Ne,
1324
+ msPointer: Pe,
1325
+ pointer: Fe,
1326
+ touch: Le,
1327
+ touchNative: Ie,
1328
1328
  mobileOpera: Re,
1329
1329
  mobileGecko: ze,
1330
1330
  retina: Be,
@@ -5902,7 +5902,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
5902
5902
  },
5903
5903
  emits: ["update:modelValue", "callback"],
5904
5904
  setup(e, { emit: t }) {
5905
- let { t: r } = y(), i = t, a = e, { hotelMapImage: o } = S(De()), s = an.default.Util.extend(an.default.CRS.Simple, { transformation: new an.default.Transformation(1, 0, 1, 0) }), c = F(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = an.default.icon({
5905
+ let { t: r } = y(), i = t, a = e, { hotelMapImage: o } = S(Ee()), s = an.default.Util.extend(an.default.CRS.Simple, { transformation: new an.default.Transformation(1, 0, 1, 0) }), c = F(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = an.default.icon({
5906
5906
  iconUrl: Z,
5907
5907
  iconSize: [32, 37],
5908
5908
  iconAnchor: [16, 37]
@@ -6027,7 +6027,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6027
6027
  let ee = n(() => c.room.rates.map((e) => ({
6028
6028
  label: e.name,
6029
6029
  value: e.id
6030
- }))), { hideAvailableRoomAmount: v, autoSelectRateId: te, enableMultipleConfigurations: ne, hasSharedAddonSelection: re } = S(Ze()), { location: ie } = S(Qe()), { roomSelect: ae, isSearchOutdated: E } = S(De()), { addToCart: O, removeFromCart: k } = Pe(), A = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), j = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), M = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), N = (e, t) => A(e, t) ? A(e, t)?.rooms : null, I = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
6030
+ }))), { hideAvailableRoomAmount: v, autoSelectRateId: te, enableMultipleConfigurations: ne, hasSharedAddonSelection: re } = S(Ze()), { location: ie } = S(Qe()), { roomSelect: ae, isSearchOutdated: E } = S(Ee()), { addToCart: O, removeFromCart: k } = Ne(), A = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), j = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), M = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), N = (e, t) => A(e, t) ? A(e, t)?.rooms : null, I = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
6031
6031
  value: e.index,
6032
6032
  price: e.totalPrice,
6033
6033
  adults: e.adultsCount,
@@ -6072,7 +6072,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6072
6072
  if (a !== o) {
6073
6073
  if (a > o) {
6074
6074
  let t = l.value[r].config[i].addons;
6075
- t.push(re.value(ie.value) ? t[0] ?? ke(c.room.rates.find((t) => t.id === e[r].id)?.addons) : ke(c.room.rates.find((t) => t.id === e[r].id)?.addons)), O({
6075
+ t.push(re.value(ie.value) ? t[0] ?? Oe(c.room.rates.find((t) => t.id === e[r].id)?.addons) : Oe(c.room.rates.find((t) => t.id === e[r].id)?.addons)), O({
6076
6076
  id: c.room.id,
6077
6077
  name: c.room.title,
6078
6078
  value: c.room.rates[r].rackRate
@@ -6116,7 +6116,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6116
6116
  "placeholder",
6117
6117
  "options",
6118
6118
  "onChanged"
6119
- ]), l.value.length > 1 ? (b(), h("div", un, [u(ze, {
6119
+ ]), l.value.length > 1 ? (b(), h("div", un, [u(Be, {
6120
6120
  style: { "--buttonBackground": "var(--dangerColor)" },
6121
6121
  icon: "trash-alt",
6122
6122
  "icon-type": "fas",
@@ -6144,7 +6144,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6144
6144
  "description",
6145
6145
  "options",
6146
6146
  "readonly"
6147
- ])]), j.value ? (b(), h("div", mn, [u(ze, {
6147
+ ])]), j.value ? (b(), h("div", mn, [u(Be, {
6148
6148
  onClickEvent: r,
6149
6149
  label: a(s)("hotel.selectRoomOnMap"),
6150
6150
  secondary: "",
@@ -6209,7 +6209,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6209
6209
  callback: { type: Function }
6210
6210
  },
6211
6211
  setup(e) {
6212
- let { t } = y(), r = Ze(), i = De(), { location: s, adults: l, children: p } = S(Qe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: v, currentAdults: te, currentChildren: ne, dealResolved: re } = S(i), { currency: ie } = S(r), { clearRoomSelection: ae } = i, { addToCart: E } = Pe(), { hasChildSelection: O, hasSharedAddonSelection: k } = r, j = e, M = F(!1), N = l.value || 1, P = p.value || 0, R = I({}), z = n(() => {
6212
+ let { t } = y(), r = Ze(), i = Ee(), { location: s, adults: l, children: p } = S(Qe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: v, currentAdults: te, currentChildren: ne, dealResolved: re } = S(i), { currency: ie } = S(r), { clearRoomSelection: ae } = i, { addToCart: E } = Ne(), { hasChildSelection: O, hasSharedAddonSelection: k } = r, j = e, M = F(!1), N = l.value || 1, P = p.value || 0, R = I({}), z = n(() => {
6213
6213
  function e(e, t) {
6214
6214
  return M.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
6215
6215
  }
@@ -6260,7 +6260,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6260
6260
  let e = {};
6261
6261
  return z.value.forEach((t) => {
6262
6262
  let n = R[t.id];
6263
- n ? e[t.id] = n.configs.map((e) => Ie(t, e.adults, e.children, N, P)) : e[t.id] = [];
6263
+ n ? e[t.id] = n.configs.map((e) => Fe(t, e.adults, e.children, N, P)) : e[t.id] = [];
6264
6264
  }), e;
6265
6265
  });
6266
6266
  function pe(e, t) {
@@ -6308,7 +6308,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6308
6308
  unitConfigs: a.map((e) => ({
6309
6309
  adults: e.adults,
6310
6310
  children: e.children,
6311
- addons: o ?? ke(r.addons)
6311
+ addons: o ?? Oe(r.addons)
6312
6312
  }))
6313
6313
  }), _.value ||= r.id;
6314
6314
  for (let e = 0; e < i.units; e++) {
@@ -6331,16 +6331,16 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6331
6331
  footer: T(() => [C("div", bn, [ge.value.length > 0 ? (b(), h("div", xn, [(b(!0), h(o, null, D(ge.value, (e) => (b(), h("div", {
6332
6332
  key: e.id,
6333
6333
  class: "konnectio-template-selection-item"
6334
- }, [C("div", Sn, [C("span", Cn, w(e.title), 1), C("span", wn, w(a(we)(e.totalPrice, a(ie))), 1)]), C("div", Tn, [(b(!0), h(o, null, D(e.units, (e, n) => (b(), h("span", {
6334
+ }, [C("div", Sn, [C("span", Cn, w(e.title), 1), C("span", wn, w(a(B)(e.totalPrice, a(ie))), 1)]), C("div", Tn, [(b(!0), h(o, null, D(e.units, (e, n) => (b(), h("span", {
6335
6335
  key: n,
6336
6336
  class: "konnectio-template-selection-unit"
6337
6337
  }, [
6338
6338
  c(w(a(t)("booking.reservation.room")) + " " + w(n + 1) + ": " + w(e.adults) + " " + w(a(t)("availability.adults")) + " ", 1),
6339
6339
  e.children > 0 ? (b(), h(o, { key: 0 }, [c(" , " + w(e.children) + " " + w(a(t)("availability.children")), 1)], 64)) : f("", !0),
6340
- c(" · " + w(a(we)(e.price, a(ie))), 1)
6341
- ]))), 128))])]))), 128))])) : f("", !0), u(ze, {
6340
+ c(" · " + w(a(B)(e.price, a(ie))), 1)
6341
+ ]))), 128))])]))), 128))])) : f("", !0), u(Be, {
6342
6342
  onClickEvent: _e,
6343
- label: `${he() > 1 ? a(t)("booking.availability.selectTheseRooms") : a(t)("booking.availability.selectThisRoom")} (${a(we)(me(), a(ie))})`,
6343
+ label: `${he() > 1 ? a(t)("booking.availability.selectTheseRooms") : a(t)("booking.availability.selectThisRoom")} (${a(B)(me(), a(ie))})`,
6344
6344
  disabled: he() === 0,
6345
6345
  "full-width": ""
6346
6346
  }, null, 8, ["label", "disabled"])])]),
@@ -6374,7 +6374,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6374
6374
  ])]), (b(!0), h(o, null, D(R[e.id].configs, (n, r) => (b(), h("div", {
6375
6375
  key: r,
6376
6376
  class: "konnectio-template-room-unit-config"
6377
- }, [C("div", yn, [C("span", null, w(a(t)("booking.reservation.room")) + " " + w(r + 1), 1), C("span", null, w(a(we)(pe(e.id, r), a(ie))), 1)]), C("div", { class: m(["konnectio-template-room-guests", { "only-adult-guests": !a(O)(a(s)) }]) }, [u(qe, {
6377
+ }, [C("div", yn, [C("span", null, w(a(t)("booking.reservation.room")) + " " + w(r + 1), 1), C("span", null, w(a(B)(pe(e.id, r), a(ie))), 1)]), C("div", { class: m(["konnectio-template-room-guests", { "only-adult-guests": !a(O)(a(s)) }]) }, [u(qe, {
6378
6378
  modelValue: n.adults,
6379
6379
  "onUpdate:modelValue": (e) => n.adults = e,
6380
6380
  label: a(t)("availability.adults"),
@@ -6435,7 +6435,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6435
6435
  callback: { type: Function }
6436
6436
  },
6437
6437
  setup(e) {
6438
- let { t } = y(), r = e, { isSearchOutdated: i } = S(De()), o = n(() => r.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + r.weekendFee), s = F(!1);
6438
+ let { t } = y(), r = e, { isSearchOutdated: i } = S(Ee()), o = n(() => r.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + r.weekendFee), s = F(!1);
6439
6439
  function c() {
6440
6440
  s.value = !0;
6441
6441
  }
@@ -6453,7 +6453,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6453
6453
  "hide-info-button": !1,
6454
6454
  "prices-from": o.value
6455
6455
  }, {
6456
- action: T(() => [C("div", Dn, [u(ze, {
6456
+ action: T(() => [C("div", Dn, [u(Be, {
6457
6457
  onClickEvent: c,
6458
6458
  label: a(t)("booking.availability.selectPackage"),
6459
6459
  "full-width": "",
@@ -6499,7 +6499,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6499
6499
  roomGroups: {}
6500
6500
  },
6501
6501
  setup(e) {
6502
- let { t } = y(), { updateDates: r } = Qe(), { display: i } = Ve(), o = e, s = F([]), c = n(() => Ne(o.fromDate, o.toDate) === 1);
6502
+ let { t } = y(), { updateDates: r } = Qe(), { display: i } = He(), o = e, s = F([]), c = n(() => Me(o.fromDate, o.toDate) === 1);
6503
6503
  function l() {
6504
6504
  s.value.length > 0 ? r(s.value[0], s.value[1]) : i({
6505
6505
  message: t("alert.error.selectDates"),
@@ -6542,7 +6542,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6542
6542
  "min-date",
6543
6543
  "max-date",
6544
6544
  "readonly"
6545
- ]), C("div", An, [u(ze, {
6545
+ ]), C("div", An, [u(Be, {
6546
6546
  label: a(t)("availability.buttonLabel"),
6547
6547
  onClick: P(l, ["prevent"])
6548
6548
  }, null, 8, ["label"])])])]),
@@ -6701,7 +6701,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6701
6701
  },
6702
6702
  emits: ["update:modelValue", "update:title"],
6703
6703
  setup(e, { emit: t }) {
6704
- let n = e, r = t, i = n.id || B(), o = F(""), s = F(2);
6704
+ let n = e, r = t, i = n.id || Le(), o = F(""), s = F(2);
6705
6705
  function c() {
6706
6706
  r("update:modelValue", o.value);
6707
6707
  }
@@ -6711,7 +6711,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6711
6711
  let { t: l } = y();
6712
6712
  return g(() => {
6713
6713
  n.modelValue && (o.value = n.modelValue), n.title && (s.value = n.title);
6714
- }), (t, n) => (b(), d(Be, {
6714
+ }), (t, n) => (b(), d(Ve, {
6715
6715
  label: e.label,
6716
6716
  id: a(i),
6717
6717
  required: e.required,
@@ -6724,7 +6724,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6724
6724
  key: 0,
6725
6725
  modelValue: s.value,
6726
6726
  "onUpdate:modelValue": n[0] ||= (e) => s.value = e,
6727
- id: a(B)(),
6727
+ id: a(Le)(),
6728
6728
  icon: e.icon,
6729
6729
  "icon-color": e.iconColor,
6730
6730
  "icon-type": e.iconType,
@@ -6761,7 +6761,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6761
6761
  "icon-type",
6762
6762
  "options",
6763
6763
  "readonly"
6764
- ])), u(Ue, {
6764
+ ])), u(We, {
6765
6765
  modelValue: o.value,
6766
6766
  "onUpdate:modelValue": n[1] ||= (e) => o.value = e,
6767
6767
  type: "text",
@@ -6895,7 +6895,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6895
6895
  __name: "Hotel",
6896
6896
  props: {
6897
6897
  accessToken: {},
6898
- headerLayout: { default: We.Minimal },
6898
+ headerLayout: { default: Ge.Minimal },
6899
6899
  onlyShow: { default: "everything" },
6900
6900
  hideAddons: { default: "no" },
6901
6901
  disableDefaultLocation: { default: "no" },
@@ -6913,10 +6913,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6913
6913
  styling: {}
6914
6914
  },
6915
6915
  setup(e) {
6916
- let t = _(() => import("./_-DM-h5BQz.js").then((e) => e.n)), r = e, { t: s } = y(), l = De();
6917
- l.requireDealCode = r.requireDealCode === "yes";
6918
- let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: ne, countries: ae, areListingsLoading: E, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: oe, postal: se, city: ue, address: de, country: fe, remark: he, allergies: xe, roomSelect: ke, roomDisplay: Ne, hasValidRoomSelection: Ie, availabilityData: B, availabilityFetchFailed: Re, selectionHasNoAddons: Be, isAvailabilityDataAvailable: We, getSelectedPackageRooms: Ke, selectedPackage: Je, isSearchOutdated: Ye, isTemplateReservation: et, newsMails: tt, adultsMismatch: nt, childrenMismatch: rt, totalAdults: it, totalChildren: at, hasGuestDiscountId: ot, hasGuestDiscountCode: st, guestDiscountId: ct, guestDiscountName: lt, guestDiscountCode: ut, hasMemberCards: dt, memberCardList: ft, selectedMemberCard: pt, memberCardControlNumber: mt, memberCardNumber: ht, selectedMemberCardObject: gt, selectedMemberCardData: _t, discountCode: vt, appliedDiscountCode: U, discountPayload: W, dealResolved: yt, dealNoAvailability: bt } = S(l), { isHostedCheckoutActive: xt } = S(He()), { adults: St, children: K, location: Ct, arrivalDate: wt, departureDate: Tt, hasHotelLocations: Et } = S(Qe()), { isValidHotelId: Dt, updateDates: Ot } = Qe(), { currency: q, enableTracking: kt, disableNamePrefix: At, disableTravelingFor: jt, disableTravelingForBleasure: Mt, disableCompanyField: Nt, hasPaymentGateway: Pt, maxAdultAmount: Ft, maxChildAmount: It, defaultAdultAmount: Lt, defaultChildAmount: Rt, disableNewsletterSignup: zt, requireEmailConfirmation: Bt, hasActiveIdFilter: Vt, hotelSettings: Ht } = S(Ze()), { hasArrivalDepartureInputs: J, hasUserArrivalSelection: Ut, hasUserDepartureSelection: Wt, earliestArrivalTime: Gt, latestArrivalTime: Kt, earliestDepartureTime: Jt, latestDepartureTime: Yt, hasSharedAddonSelection: Xt, setActiveIdFilter: Zt, clearActiveIdFilter: Qt } = Ze(), { beginCheckout: $t } = Pe(), { display: en } = Ve(), { createReservation: tn, fetchMetadata: nn, fetchAvailabilityData: rn, filterAddons: an, hasAvailableRoomAddons: Z, checkGuestDiscount: on, setGuestDiscountCode: sn, validateMemberCard: cn, onOverviewReset: ln, resetDealFlow: un, validateDiscountCode: dn, reservationPayload: fn } = De();
6919
- ye.useHttpClient(_e(Ee()));
6916
+ let t = _(() => import("./_-Cpgd04rM.js").then((e) => e.n)), r = e, { t: s } = y(), l = Ee();
6917
+ l.requireDealCode = r.requireDealCode === "yes", r.requireDealCode === "yes" && Qe().resetSearchDates();
6918
+ let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: ne, countries: ae, areListingsLoading: E, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: oe, postal: se, city: ue, address: de, country: fe, remark: he, allergies: xe, roomSelect: Oe, roomDisplay: Me, hasValidRoomSelection: Fe, availabilityData: Le, availabilityFetchFailed: Re, selectionHasNoAddons: Ve, isAvailabilityDataAvailable: Ge, getSelectedPackageRooms: Ke, selectedPackage: Je, isSearchOutdated: Ye, isTemplateReservation: et, newsMails: tt, adultsMismatch: nt, childrenMismatch: rt, totalAdults: it, totalChildren: at, hasGuestDiscountId: ot, hasGuestDiscountCode: st, guestDiscountId: ct, guestDiscountName: lt, guestDiscountCode: ut, hasMemberCards: dt, memberCardList: ft, selectedMemberCard: pt, memberCardControlNumber: mt, memberCardNumber: ht, selectedMemberCardObject: gt, selectedMemberCardData: _t, discountCode: vt, appliedDiscountCode: U, discountPayload: W, dealResolved: yt, dealNoAvailability: bt } = S(l), { isHostedCheckoutActive: xt } = S(Ue()), { adults: St, children: K, location: Ct, arrivalDate: wt, departureDate: Tt, hasHotelLocations: Et } = S(Qe()), { isValidHotelId: Dt, updateDates: Ot } = Qe(), { currency: q, enableTracking: kt, disableNamePrefix: At, disableTravelingFor: jt, disableTravelingForBleasure: Mt, disableCompanyField: Nt, hasPaymentGateway: Pt, maxAdultAmount: Ft, maxChildAmount: It, defaultAdultAmount: Lt, defaultChildAmount: Rt, disableNewsletterSignup: zt, requireEmailConfirmation: Bt, hasActiveIdFilter: Vt, hotelSettings: Ht } = S(Ze()), { hasArrivalDepartureInputs: J, hasUserArrivalSelection: Ut, hasUserDepartureSelection: Wt, earliestArrivalTime: Gt, latestArrivalTime: Kt, earliestDepartureTime: Jt, latestDepartureTime: Yt, hasSharedAddonSelection: Xt, setActiveIdFilter: Zt, clearActiveIdFilter: Qt } = Ze(), { beginCheckout: $t } = Ne(), { display: en } = He(), { createReservation: tn, fetchMetadata: nn, fetchAvailabilityData: rn, filterAddons: an, hasAvailableRoomAddons: Z, checkGuestDiscount: on, setGuestDiscountCode: sn, validateMemberCard: cn, onOverviewReset: ln, resetDealFlow: un, validateDiscountCode: dn, reservationPayload: fn } = Ee();
6919
+ ye.useHttpClient(_e(Te()));
6920
6920
  let pn = Se("post", "/hotel/create-reservation", fn());
6921
6921
  pn.setValidationTimeout(600);
6922
6922
  function mn(e) {
@@ -6931,10 +6931,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6931
6931
  x(P, () => mn("guest.name")), x(I, () => mn("guest.email")), x(z, () => mn("guest.phone")), x(fe, () => mn("guest.country")), x(de, () => mn("guest.address1")), x(se, () => mn("guest.postal")), x(ue, () => mn("guest.city"));
6932
6932
  let _n = n(() => r.sortOrder === "desc"), vn = n(() => r.requireDiscountCode === "yes" && !st.value || r.requireDealCode === "yes" && !yt.value);
6933
6933
  function yn(e, t) {
6934
- return an(e, t ?? 0).filter((e) => e.cardinality === V.Mandatory);
6934
+ return an(e, t ?? 0).filter((e) => e.cardinality === ze.Mandatory);
6935
6935
  }
6936
6936
  function bn(e, t) {
6937
- return an(e, t ?? 0).filter((e) => e.cardinality !== V.Mandatory);
6937
+ return an(e, t ?? 0).filter((e) => e.cardinality !== ze.Mandatory);
6938
6938
  }
6939
6939
  function xn(e) {
6940
6940
  let t = [];
@@ -6993,7 +6993,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
6993
6993
  value: "Bleasure"
6994
6994
  }), e;
6995
6995
  }), Tn = n(() => {
6996
- let e = B.value.roomGroups.slice();
6996
+ let e = Le.value.roomGroups.slice();
6997
6997
  function t(e, t) {
6998
6998
  return _n.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
6999
6999
  }
@@ -7006,13 +7006,13 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7006
7006
  return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
7007
7007
  }
7008
7008
  let Dn = n(() => {
7009
- let e = B.value.templates.slice();
7009
+ let e = Le.value.templates.slice();
7010
7010
  return r.sortBy === "price" && e.sort((e, t) => {
7011
7011
  let n = En(e), r = En(t);
7012
7012
  return _n.value ? r - n : n - r;
7013
7013
  }), e;
7014
7014
  }), kn = n(() => {
7015
- let e = B.value.specialTemplates.slice();
7015
+ let e = Le.value.specialTemplates.slice();
7016
7016
  return r.sortBy === "price" && e.sort((e, t) => {
7017
7017
  let n = En(e), r = En(t);
7018
7018
  return _n.value ? r - n : n - r;
@@ -7023,7 +7023,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7023
7023
  r.requireDealCode === "yes" || (t && t !== U.value ? (vt.value = t, dn()) : st.value && !W.value && ut.value !== U.value && (vt.value = ut.value, dn())), e();
7024
7024
  }
7025
7025
  function In(e) {
7026
- An.value || Be.value ? e(2) : e();
7026
+ An.value || Ve.value ? e(2) : e();
7027
7027
  }
7028
7028
  async function Ln(e, t) {
7029
7029
  let n = await tn(e, t);
@@ -7040,7 +7040,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7040
7040
  Qt(), e.id = void 0, rn();
7041
7041
  }
7042
7042
  function ti(e) {
7043
- kt.value && $t(), r.requireDealCode !== "yes" && st.value && !W.value && ut.value !== U.value && (vt.value = ut.value, dn()), An.value || Be.value ? e(2) : e();
7043
+ kt.value && $t(), r.requireDealCode !== "yes" && st.value && !W.value && ut.value !== U.value && (vt.value = ut.value, dn()), An.value || Ve.value ? e(2) : e();
7044
7044
  }
7045
7045
  function ni() {
7046
7046
  let e = Ct.value;
@@ -7054,8 +7054,8 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7054
7054
  message: s("alert.error.hotelIdNotFound"),
7055
7055
  type: "error"
7056
7056
  }))), a && o) {
7057
- if (Me(a) && Me(o)) {
7058
- let e = new Date(je(a).setHours(12, 0, 0, 0)), t = new Date(je(o).setHours(12, 0, 0, 0));
7057
+ if (je(a) && je(o)) {
7058
+ let e = new Date(Ae(a).setHours(12, 0, 0, 0)), t = new Date(Ae(o).setHours(12, 0, 0, 0));
7059
7059
  e <= t ? (wt.value = e, Tt.value = t) : ($.ci = void 0, $.co = void 0, en({
7060
7060
  message: s("alert.error.invalidDateRange"),
7061
7061
  type: "error"
@@ -7101,7 +7101,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7101
7101
  a(bt) ? (b(), h("div", Hn, [
7102
7102
  C("h3", null, w(a(s)("dealCode.noAvailabilityTitle")), 1),
7103
7103
  C("p", null, w(a(s)("dealCode.noAvailabilityBody")), 1),
7104
- u(ze, {
7104
+ u(Be, {
7105
7105
  label: a(s)("dealCode.tryAnotherCode"),
7106
7106
  secondary: "",
7107
7107
  onClickEvent: a(un)
@@ -7114,8 +7114,8 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7114
7114
  onClick: r[0] ||= (e) => ei()
7115
7115
  }, w(a(s)("general.filteredListingShowAll")), 1)])])) : f("", !0),
7116
7116
  f("", !0),
7117
- !a(E) && a(We) ? (b(), h("div", Jn, [Tn.value.camping && Tn.value.camping.length > 0 && e.onlyShow !== "non-camping" || Tn.value.rooms && Tn.value.rooms.length > 0 || a(B).templates.length > 0 || a(B).specialTemplates.length > 0 && !a(Vt) ? (b(), h("div", Yn, [
7118
- a(B).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), h("div", Xn, [e.onlyShow !== "packages" && !a(yt) ? (b(), h("h2", Zn, [u(H, {
7117
+ !a(E) && a(Ge) ? (b(), h("div", Jn, [Tn.value.camping && Tn.value.camping.length > 0 && e.onlyShow !== "non-camping" || Tn.value.rooms && Tn.value.rooms.length > 0 || a(Le).templates.length > 0 || a(Le).specialTemplates.length > 0 && !a(Vt) ? (b(), h("div", Yn, [
7118
+ a(Le).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), h("div", Xn, [e.onlyShow !== "packages" && !a(yt) ? (b(), h("h2", Zn, [u(H, {
7119
7119
  icon: "box",
7120
7120
  type: "fal",
7121
7121
  color: "header"
@@ -7139,7 +7139,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7139
7139
  "callback",
7140
7140
  "hide-addons"
7141
7141
  ]))), 128))])])) : f("", !0),
7142
- a(B).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), h("div", $n, [Tn.value.rooms && e.onlyShow !== "camping" ? (b(), h(o, { key: 0 }, [a(B).templates.length > 0 && e.onlyShow !== "rooms" && !a(yt) ? (b(), h("h2", er, [u(H, {
7142
+ a(Le).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), h("div", $n, [Tn.value.rooms && e.onlyShow !== "camping" ? (b(), h(o, { key: 0 }, [a(Le).templates.length > 0 && e.onlyShow !== "rooms" && !a(yt) ? (b(), h("h2", er, [u(H, {
7143
7143
  icon: "house",
7144
7144
  type: "fal",
7145
7145
  color: "header"
@@ -7147,7 +7147,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7147
7147
  room: e,
7148
7148
  key: n,
7149
7149
  callback: t
7150
- }, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0), Tn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), h(o, { key: 1 }, [a(B).templates.length > 0 && e.onlyShow !== "camping" && !a(yt) ? (b(), h("h2", nr, [u(H, {
7150
+ }, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0), Tn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), h(o, { key: 1 }, [a(Le).templates.length > 0 && e.onlyShow !== "camping" && !a(yt) ? (b(), h("h2", nr, [u(H, {
7151
7151
  icon: "map-location-dot",
7152
7152
  type: "fal",
7153
7153
  color: "header"
@@ -7156,7 +7156,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7156
7156
  key: n,
7157
7157
  callback: t
7158
7158
  }, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0)])) : f("", !0),
7159
- a(Vt) ? f("", !0) : (b(), h(o, { key: 2 }, [a(B).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), h("div", ir, [C("h2", ar, [u(H, {
7159
+ a(Vt) ? f("", !0) : (b(), h(o, { key: 2 }, [a(Le).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), h("div", ir, [C("h2", ar, [u(H, {
7160
7160
  icon: "sparkles",
7161
7161
  type: "fal",
7162
7162
  color: "header"
@@ -7180,16 +7180,16 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7180
7180
  "weekendFee",
7181
7181
  "room-groups"
7182
7182
  ]))), 128))])])) : f("", !0)], 64)),
7183
- (a(B).templates.length === 0 && e.onlyShow !== "rooms" || a(B).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), h("div", sr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)])) : f("", !0)
7184
- ])) : a(B).nextAvailableDates.length > 0 ? (b(), h("div", cr, [
7183
+ (a(Le).templates.length === 0 && e.onlyShow !== "rooms" || a(Le).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), h("div", sr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)])) : f("", !0)
7184
+ ])) : a(Le).nextAvailableDates.length > 0 ? (b(), h("div", cr, [
7185
7185
  C("div", lr, [C("span", { innerHTML: a(s)("hotel.everyRoomIsBooked") }, null, 8, ur)]),
7186
7186
  C("h2", dr, [u(H, {
7187
7187
  icon: "calendar-circle-exclamation",
7188
7188
  type: "fal",
7189
7189
  color: "header"
7190
7190
  }), C("span", null, w(a(s)("booking.availability.nextAvailableDates")), 1)]),
7191
- C("ul", fr, [(b(!0), h(o, null, D(a(B).nextAvailableDates, (e, t) => (b(), h("li", { key: t }, [
7192
- C("h3", { title: `${a(Le)(e.fromDate, 0, !0)} - ${a(Le)(e.toDate, 0, !0)}` }, [C("span", null, w(`${a(Le)(e.fromDate, 0, !0)} - ${a(Le)(e.toDate, 0, !0)}`), 1)], 8, pr),
7191
+ C("ul", fr, [(b(!0), h(o, null, D(a(Le).nextAvailableDates, (e, t) => (b(), h("li", { key: t }, [
7192
+ C("h3", { title: `${a(Ie)(e.fromDate, 0, !0)} - ${a(Ie)(e.toDate, 0, !0)}` }, [C("span", null, w(`${a(Ie)(e.fromDate, 0, !0)} - ${a(Ie)(e.toDate, 0, !0)}`), 1)], 8, pr),
7193
7193
  C("ul", null, [isNaN(e.roomCount) ? f("", !0) : (b(), h("li", mr, [u(H, {
7194
7194
  icon: "house",
7195
7195
  type: "fal",
@@ -7198,14 +7198,14 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7198
7198
  icon: "money-bill",
7199
7199
  type: "fal",
7200
7200
  color: "header"
7201
- }), C("span", null, w(a(s)("booking.availability.pricesFrom")) + ": " + w(a(we)(e.priceStartFrom, a(q))), 1)])]),
7202
- u(ze, {
7201
+ }), C("span", null, w(a(s)("booking.availability.pricesFrom")) + ": " + w(a(B)(e.priceStartFrom, a(q))), 1)])]),
7202
+ u(Be, {
7203
7203
  label: a(s)("booking.availability.selectDates"),
7204
7204
  "full-width": "",
7205
- onClickEvent: (t) => a(Ot)(a(je)(e.fromDate), a(je)(e.toDate))
7205
+ onClickEvent: (t) => a(Ot)(a(Ae)(e.fromDate), a(Ae)(e.toDate))
7206
7206
  }, null, 8, ["label", "onClickEvent"])
7207
7207
  ]))), 128))])
7208
- ])) : (b(), h("div", hr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)]))])) : a(Re) && !a(E) ? (b(), h("div", gr, [C("span", null, w(a(s)("alert.error.couldntFetchListings")), 1), u(ze, {
7208
+ ])) : (b(), h("div", hr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)]))])) : a(Re) && !a(E) ? (b(), h("div", gr, [C("span", null, w(a(s)("alert.error.couldntFetchListings")), 1), u(Be, {
7209
7209
  label: a(s)("general.searchAgain"),
7210
7210
  "full-width": "",
7211
7211
  onClickEvent: r[2] ||= (e) => Rn()
@@ -7216,16 +7216,16 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7216
7216
  ]))
7217
7217
  ])]),
7218
7218
  navigation: T(() => [
7219
- a(Ye) ? (b(), d(ze, {
7219
+ a(Ye) ? (b(), d(Be, {
7220
7220
  key: 0,
7221
7221
  label: isNaN(a(p)) ? a(s)("availability.buttonLabel") : a(s)("general.searchAgain"),
7222
7222
  "is-loading": a(E),
7223
7223
  "full-width": "",
7224
7224
  onClickEvent: r[3] ||= (e) => Rn()
7225
- }, null, 8, ["label", "is-loading"])) : (b(), d(ze, {
7225
+ }, null, 8, ["label", "is-loading"])) : (b(), d(Be, {
7226
7226
  key: 1,
7227
- label: a(Be) || An.value ? a(s)("booking.availability.nextButton") : a(s)("general.chooseAddons"),
7228
- disabled: !a(Ie),
7227
+ label: a(Ve) || An.value ? a(s)("booking.availability.nextButton") : a(s)("general.chooseAddons"),
7228
+ disabled: !a(Fe),
7229
7229
  "full-width": "",
7230
7230
  onClickEvent: (e) => ti(t)
7231
7231
  }, null, 8, [
@@ -7250,7 +7250,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7250
7250
  ]),
7251
7251
  _: 2
7252
7252
  }, 1032, ["deal-flow"])]),
7253
- addons: T(({ next: t, prev: n }) => [a(We) ? (b(), d(Y, {
7253
+ addons: T(({ next: t, prev: n }) => [a(Ge) ? (b(), d(Y, {
7254
7254
  key: 0,
7255
7255
  "prev-callback": () => In(n),
7256
7256
  "deal-flow": e.requireDealCode === "yes"
@@ -7261,18 +7261,18 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7261
7261
  innerHTML: a(s)("hotel.addonTopNotice"),
7262
7262
  class: "konnectio-wysiwyg"
7263
7263
  }, null, 8, Cr)])) : f("", !0),
7264
- C("div", null, [isNaN(a(g)) ? (b(), h("div", wr, [(b(!0), h(o, null, D(a(Ne), (e) => (b(), h(o, { key: e.roomGroupID }, [a(Z)(e) ? (b(), h("ul", Tr, [(b(!0), h(o, null, D(e.variants, (t, n) => (b(), h("li", { key: t.ratePlanID }, [C("h4", null, [C("span", null, w(a(Oe)(e.title)), 1)]), (b(!0), h(o, null, D(xn(t.rooms), (r) => (b(), h(o, { key: `${r.configIdx}-${r.roomIdx}` }, [yn(t.addons, r.childrenCount).length > 0 ? (b(), h("div", Er, [C("h5", null, [u(H, {
7264
+ C("div", null, [isNaN(a(g)) ? (b(), h("div", wr, [(b(!0), h(o, null, D(a(Me), (e) => (b(), h(o, { key: e.roomGroupID }, [a(Z)(e) ? (b(), h("ul", Tr, [(b(!0), h(o, null, D(e.variants, (t, n) => (b(), h("li", { key: t.ratePlanID }, [C("h4", null, [C("span", null, w(a(De)(e.title)), 1)]), (b(!0), h(o, null, D(xn(t.rooms), (r) => (b(), h(o, { key: `${r.configIdx}-${r.roomIdx}` }, [yn(t.addons, r.childrenCount).length > 0 ? (b(), h("div", Er, [C("h5", null, [u(H, {
7265
7265
  icon: "check-circle",
7266
7266
  type: "fas"
7267
7267
  }), C("span", null, w(a(s)("general.includedInPrice")), 1)]), C("ul", null, [(b(!0), h(o, null, D(yn(t.addons, r.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: r, description: i }) => (b(), h("li", { key: e }, [C("div", null, [
7268
- C("b", null, w(a(Oe)(t)), 1),
7269
- C("span", null, w(a(we)(n, a(q))) + " " + w(a(Fe)(r)), 1),
7268
+ C("b", null, w(a(De)(t)), 1),
7269
+ C("span", null, w(a(B)(n, a(q))) + " " + w(a(Pe)(r)), 1),
7270
7270
  i ? (b(), h("p", {
7271
7271
  key: 0,
7272
- innerHTML: a(Ae)(i)
7272
+ innerHTML: a(ke)(i)
7273
7273
  }, null, 8, Dr)) : f("", !0)
7274
7274
  ])]))), 128))])])) : f("", !0), bn(t.addons, r.childrenCount).length > 0 ? (b(), h("table", Or, [C("thead", null, [C("tr", null, [
7275
- C("th", null, [C("span", null, w(a(Oe)(t.name)), 1)]),
7275
+ C("th", null, [C("span", null, w(a(De)(t.name)), 1)]),
7276
7276
  f("", !0),
7277
7277
  C("th", kr, [C("b", null, [
7278
7278
  u(H, {
@@ -7293,19 +7293,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7293
7293
  src: p,
7294
7294
  "zoom-scale": 1
7295
7295
  }, null, 8, ["src"])])) : f("", !0), C("div", null, [
7296
- C("b", null, w(a(Oe)(c)), 1),
7297
- C("span", null, w(a(we)(l, a(q))) + " " + w(a(Fe)(i)), 1),
7296
+ C("b", null, w(a(De)(c)), 1),
7297
+ C("span", null, w(a(B)(l, a(q))) + " " + w(a(Pe)(i)), 1),
7298
7298
  g ? (b(), h("p", {
7299
7299
  key: 0,
7300
- innerHTML: a(Ae)(g)
7300
+ innerHTML: a(ke)(g)
7301
7301
  }, null, 8, Mr)) : f("", !0)
7302
- ])], 2), C("td", Nr, [a(ke)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (b(), d(qe, {
7302
+ ])], 2), C("td", Nr, [a(Oe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (b(), d(qe, {
7303
7303
  key: 0,
7304
- modelValue: a(ke)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][s],
7305
- "onUpdate:modelValue": (t) => a(ke)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][s] = t,
7304
+ modelValue: a(Oe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][s],
7305
+ "onUpdate:modelValue": (t) => a(Oe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][s] = t,
7306
7306
  small: !0,
7307
7307
  "min-value": 0,
7308
- "max-value": a(Te)(t, o)
7308
+ "max-value": a(we)(t, o)
7309
7309
  }, null, 8, [
7310
7310
  "modelValue",
7311
7311
  "onUpdate:modelValue",
@@ -7314,46 +7314,46 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7314
7314
  icon: "check-circle",
7315
7315
  type: "fas"
7316
7316
  }), C("span", null, w(a(s)("general.includedInPrice")), 1)]), C("ul", null, [(b(!0), h(o, null, D(yn(a(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ id: e, name: t, price: n, quantityStrategy: r, description: i }) => (b(), h("li", { key: e }, [C("div", null, [
7317
- C("b", null, w(a(Oe)(t)), 1),
7318
- C("span", null, w(a(we)(n, a(q))) + " " + w(a(Fe)(r)), 1),
7317
+ C("b", null, w(a(De)(t)), 1),
7318
+ C("span", null, w(a(B)(n, a(q))) + " " + w(a(Pe)(r)), 1),
7319
7319
  i ? (b(), h("p", {
7320
7320
  key: 0,
7321
- innerHTML: a(Ae)(i)
7321
+ innerHTML: a(ke)(i)
7322
7322
  }, null, 8, Ir)) : f("", !0)
7323
7323
  ])]))), 128))])])) : f("", !0), bn(a(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), h("table", Lr, [C("thead", null, [C("tr", null, [
7324
- C("th", null, [C("span", null, w(a(Oe)(a(Ke).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), h("span", Rr, "(" + w(a(s)("booking.reservation.room")) + " " + w(e.unitNumber) + ")", 1)) : f("", !0)]),
7324
+ C("th", null, [C("span", null, w(a(De)(a(Ke).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), h("span", Rr, "(" + w(a(s)("booking.reservation.room")) + " " + w(e.unitNumber) + ")", 1)) : f("", !0)]),
7325
7325
  f("", !0),
7326
7326
  r[26] ||= C("th", { class: "konnectio-event-addons-price" }, null, -1)
7327
7327
  ])]), C("tbody", null, [(b(!0), h(o, null, D(bn(a(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: i, name: o, price: s, description: c, image: l }) => (b(), h("tr", { key: i }, [C("td", { class: m(["konnectio-table-addons-information", { "has-image": l }]) }, [l ? (b(), h("div", zr, [u(a(G), {
7328
7328
  src: l,
7329
7329
  "zoom-scale": 1
7330
7330
  }, null, 8, ["src"])])) : f("", !0), C("div", null, [
7331
- C("b", null, w(a(Oe)(o)), 1),
7332
- C("span", null, w(a(we)(s, a(q))) + " " + w(a(Fe)(n)), 1),
7331
+ C("b", null, w(a(De)(o)), 1),
7332
+ C("span", null, w(a(B)(s, a(q))) + " " + w(a(Pe)(n)), 1),
7333
7333
  c ? (b(), h("p", {
7334
7334
  key: 0,
7335
- innerHTML: a(Ae)(c)
7335
+ innerHTML: a(ke)(c)
7336
7336
  }, null, 8, Br)) : f("", !0)
7337
7337
  ])], 2), C("td", Vr, [u(qe, {
7338
7338
  modelValue: a(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[i],
7339
7339
  "onUpdate:modelValue": (t) => a(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[i] = t,
7340
7340
  small: !0,
7341
7341
  "min-value": 0,
7342
- "max-value": a(Te)(t, r)
7342
+ "max-value": a(we)(t, r)
7343
7343
  }, null, 8, [
7344
7344
  "modelValue",
7345
7345
  "onUpdate:modelValue",
7346
7346
  "max-value"
7347
7347
  ])])]))), 128))])])) : f("", !0)], 64))), 128))])])) : f("", !0)])
7348
7348
  ])]),
7349
- navigation: T(() => [u(ze, {
7349
+ navigation: T(() => [u(Be, {
7350
7350
  label: a(s)("general.startReservation"),
7351
7351
  "full-width": "",
7352
7352
  onClickEvent: (e) => Nn(t)
7353
7353
  }, null, 8, ["label", "onClickEvent"])]),
7354
7354
  _: 2
7355
7355
  }, 1032, ["prev-callback", "deal-flow"])) : f("", !0)]),
7356
- reservation: T(({ next: t, prev: n, reset: i }) => [a(We) ? (b(), d(Y, {
7356
+ reservation: T(({ next: t, prev: n, reset: i }) => [a(Ge) ? (b(), d(Y, {
7357
7357
  key: 0,
7358
7358
  "prev-callback": () => In(n),
7359
7359
  "show-terms-notice": !0,
@@ -7415,7 +7415,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7415
7415
  "placeholder",
7416
7416
  "error"
7417
7417
  ]),
7418
- u(Ue, {
7418
+ u(We, {
7419
7419
  modelValue: a(I),
7420
7420
  "onUpdate:modelValue": r[8] ||= (e) => v(I) ? I.value = e : null,
7421
7421
  type: "email",
@@ -7433,7 +7433,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7433
7433
  "placeholder",
7434
7434
  "error"
7435
7435
  ]),
7436
- a(Bt) ? (b(), d(Ue, {
7436
+ a(Bt) ? (b(), d(We, {
7437
7437
  key: 2,
7438
7438
  modelValue: a(R),
7439
7439
  "onUpdate:modelValue": r[9] ||= (e) => v(R) ? R.value = e : null,
@@ -7459,7 +7459,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7459
7459
  name: "newsletter",
7460
7460
  label: a(s)("booking.reservation.newsletterSignUp")
7461
7461
  }, null, 8, ["modelValue", "label"])])),
7462
- a(Nt) ? f("", !0) : (b(), d(Ue, {
7462
+ a(Nt) ? f("", !0) : (b(), d(We, {
7463
7463
  key: 4,
7464
7464
  modelValue: a(oe),
7465
7465
  "onUpdate:modelValue": r[11] ||= (e) => v(oe) ? oe.value = e : null,
@@ -7503,7 +7503,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7503
7503
  "options",
7504
7504
  "error"
7505
7505
  ]),
7506
- u(Ue, {
7506
+ u(We, {
7507
7507
  modelValue: a(de),
7508
7508
  "onUpdate:modelValue": r[14] ||= (e) => v(de) ? de.value = e : null,
7509
7509
  type: "textarea",
@@ -7520,7 +7520,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7520
7520
  "placeholder",
7521
7521
  "error"
7522
7522
  ]),
7523
- C("ul", Jr, [C("li", null, [u(Ue, {
7523
+ C("ul", Jr, [C("li", null, [u(We, {
7524
7524
  modelValue: a(se),
7525
7525
  "onUpdate:modelValue": r[15] ||= (e) => v(se) ? se.value = e : null,
7526
7526
  type: "text",
@@ -7536,7 +7536,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7536
7536
  "label",
7537
7537
  "placeholder",
7538
7538
  "error"
7539
- ])]), C("li", null, [u(Ue, {
7539
+ ])]), C("li", null, [u(We, {
7540
7540
  modelValue: a(ue),
7541
7541
  "onUpdate:modelValue": r[16] ||= (e) => v(ue) ? ue.value = e : null,
7542
7542
  type: "text",
@@ -7553,7 +7553,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7553
7553
  "placeholder",
7554
7554
  "error"
7555
7555
  ])])]),
7556
- e.hideRemarks === "yes" ? f("", !0) : (b(), d(Ue, {
7556
+ e.hideRemarks === "yes" ? f("", !0) : (b(), d(We, {
7557
7557
  key: 5,
7558
7558
  modelValue: a(he),
7559
7559
  "onUpdate:modelValue": r[17] ||= (e) => v(he) ? he.value = e : null,
@@ -7566,7 +7566,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7566
7566
  "label",
7567
7567
  "placeholder"
7568
7568
  ])),
7569
- e.hideAllergies === "yes" ? f("", !0) : (b(), d(Ue, {
7569
+ e.hideAllergies === "yes" ? f("", !0) : (b(), d(We, {
7570
7570
  key: 6,
7571
7571
  modelValue: a(xe),
7572
7572
  "onUpdate:modelValue": r[18] ||= (e) => v(xe) ? xe.value = e : null,
@@ -7606,7 +7606,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7606
7606
  "label",
7607
7607
  "checkboxes"
7608
7608
  ]), a(pt) ? (b(), h("form", $r, [
7609
- u(Ue, {
7609
+ u(We, {
7610
7610
  modelValue: a(ht),
7611
7611
  "onUpdate:modelValue": r[21] ||= (e) => v(ht) ? ht.value = e : null,
7612
7612
  type: "number",
@@ -7619,7 +7619,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7619
7619
  "label",
7620
7620
  "placeholder"
7621
7621
  ]),
7622
- a(pt) === a(Ge).FirmaCard ? (b(), d(Ue, {
7622
+ a(pt) === a(V).FirmaCard ? (b(), d(We, {
7623
7623
  key: 0,
7624
7624
  modelValue: a(mt),
7625
7625
  "onUpdate:modelValue": r[22] ||= (e) => v(mt) ? mt.value = e : null,
@@ -7633,7 +7633,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7633
7633
  "label",
7634
7634
  "placeholder"
7635
7635
  ])) : f("", !0),
7636
- a(pt) === a(Ge).DaneAge ? (b(), d(Ue, {
7636
+ a(pt) === a(V).DaneAge ? (b(), d(We, {
7637
7637
  key: 1,
7638
7638
  modelValue: a(se),
7639
7639
  "onUpdate:modelValue": r[23] ||= (e) => v(se) ? se.value = e : null,
@@ -7649,14 +7649,14 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7649
7649
  "label",
7650
7650
  "placeholder"
7651
7651
  ])) : f("", !0),
7652
- u(ze, {
7652
+ u(Be, {
7653
7653
  label: a(s)("hotel.memberCards.validateAndSelectCard"),
7654
7654
  "full-width": "",
7655
7655
  onClickEvent: a(cn)
7656
7656
  }, null, 8, ["label", "onClickEvent"])
7657
7657
  ])) : f("", !0)], 64))], 64)) : f("", !0)
7658
7658
  ])]),
7659
- navigation: T(() => [C("div", null, [a(xt) ? (b(), d(be, { key: 0 })) : f("", !0), u(ze, {
7659
+ navigation: T(() => [C("div", null, [a(xt) ? (b(), d(be, { key: 0 })) : f("", !0), u(Be, {
7660
7660
  label: a(Pt) && a(A) > 0 ? a(s)("booking.reservation.nextButton") : a(s)("general.confirmReservation"),
7661
7661
  disabled: !a(k),
7662
7662
  "is-loading": a(O) || a(xt),
@@ -7687,7 +7687,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
7687
7687
  _: 1
7688
7688
  }, 8, ["styling"]));
7689
7689
  }
7690
- }), ti = /*#__PURE__*/ Re(ei, [["__scopeId", "data-v-d9970787"]]);
7690
+ }), ti = /*#__PURE__*/ Re(ei, [["__scopeId", "data-v-ae7c5e75"]]);
7691
7691
  // node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
7692
7692
  function ni(e, t) {
7693
7693
  if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;