@konnectio/core 4.7.6 → 4.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/{ActionField-KZjb9lT9.js → ActionField-D1UVyt3P.js} +1 -1
  2. package/dist/ActionField-D1UVyt3P.js.br +0 -0
  3. package/dist/ActionField-D1UVyt3P.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-CEdJogdt.js → AvailabilitySkeleton-CkZ3yXGl.js} +2 -2
  5. package/dist/AvailabilitySkeleton-CkZ3yXGl.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-CkZ3yXGl.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BI5hQY73.js → CheckoutWindow-roDCaJfD.js} +1 -1
  8. package/dist/CheckoutWindow-roDCaJfD.js.br +0 -0
  9. package/dist/CheckoutWindow-roDCaJfD.js.gz +0 -0
  10. package/dist/{ErrorMessage-BmIm1fd8.js → ErrorMessage-BjPE4vap.js} +1 -1
  11. package/dist/ErrorMessage-BjPE4vap.js.br +0 -0
  12. package/dist/ErrorMessage-BjPE4vap.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-BS4UkhDW.js → EventAvailabilityForm-BuYaRNzQ.js} +2 -2
  14. package/dist/EventAvailabilityForm-BuYaRNzQ.js.br +0 -0
  15. package/dist/EventAvailabilityForm-BuYaRNzQ.js.gz +0 -0
  16. package/dist/{Field-DWuQQgVC.js → Field-B1vjvlxb.js} +1 -1
  17. package/dist/Field-B1vjvlxb.js.br +0 -0
  18. package/dist/Field-B1vjvlxb.js.gz +0 -0
  19. package/dist/{HotelAvailabilityForm-CCI7Ub6M.js → HotelAvailabilityForm-9fTMo0JS.js} +2 -2
  20. package/dist/HotelAvailabilityForm-9fTMo0JS.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-9fTMo0JS.js.gz +0 -0
  22. package/dist/{SelectField-5RVfSG15.js → SelectField-BUMVCl9X.js} +1875 -1838
  23. package/dist/SelectField-BUMVCl9X.js.br +0 -0
  24. package/dist/SelectField-BUMVCl9X.js.gz +0 -0
  25. package/dist/{TermsOfService-DJbt6icJ.js → TermsOfService-B8UYMSX-.js} +2 -2
  26. package/dist/TermsOfService-B8UYMSX-.js.br +0 -0
  27. package/dist/TermsOfService-B8UYMSX-.js.gz +0 -0
  28. package/dist/{_-WoNM0Unh.js → _-BmsIYzkS.js} +1 -1
  29. package/dist/{_-WoNM0Unh.js.br → _-BmsIYzkS.js.br} +0 -0
  30. package/dist/_-BmsIYzkS.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-Bl3zpaAg.js → dist-DWRyg7R_.js} +26 -25
  41. package/dist/dist-DWRyg7R_.js.br +0 -0
  42. package/dist/dist-DWRyg7R_.js.gz +0 -0
  43. package/dist/{dist-BbbpdaI7.js → dist-X-WT7tyd.js} +2 -2
  44. package/dist/dist-X-WT7tyd.js.br +0 -0
  45. package/dist/dist-X-WT7tyd.js.gz +0 -0
  46. package/dist/event.js +8 -8
  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 +9 -9
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-D-RDtJQu.js → giftCard-C0ORtpZS.js} +1 -1
  56. package/dist/{giftCard-D-RDtJQu.js.br → giftCard-C0ORtpZS.js.br} +0 -0
  57. package/dist/giftCard-C0ORtpZS.js.gz +0 -0
  58. package/dist/hotel.js +128 -126
  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-M-qG6NpA.js → style-DRDBWvVm.js} +1 -1
  65. package/dist/style-DRDBWvVm.js.br +0 -0
  66. package/dist/style-DRDBWvVm.js.gz +0 -0
  67. package/dist-wix/availability.js +19 -19
  68. package/dist-wix/event.js +4 -4
  69. package/dist-wix/gift-card-validation.js +18 -18
  70. package/dist-wix/gift-card.js +20 -20
  71. package/dist-wix/hotel.js +4 -4
  72. package/package.json +1 -1
  73. package/dist/ActionField-KZjb9lT9.js.br +0 -0
  74. package/dist/ActionField-KZjb9lT9.js.gz +0 -0
  75. package/dist/AvailabilitySkeleton-CEdJogdt.js.br +0 -0
  76. package/dist/AvailabilitySkeleton-CEdJogdt.js.gz +0 -0
  77. package/dist/CheckoutWindow-BI5hQY73.js.br +0 -0
  78. package/dist/CheckoutWindow-BI5hQY73.js.gz +0 -0
  79. package/dist/ErrorMessage-BmIm1fd8.js.br +0 -0
  80. package/dist/ErrorMessage-BmIm1fd8.js.gz +0 -0
  81. package/dist/EventAvailabilityForm-BS4UkhDW.js.br +0 -0
  82. package/dist/EventAvailabilityForm-BS4UkhDW.js.gz +0 -0
  83. package/dist/Field-DWuQQgVC.js.br +0 -0
  84. package/dist/Field-DWuQQgVC.js.gz +0 -0
  85. package/dist/HotelAvailabilityForm-CCI7Ub6M.js.br +0 -0
  86. package/dist/HotelAvailabilityForm-CCI7Ub6M.js.gz +0 -0
  87. package/dist/SelectField-5RVfSG15.js.br +0 -0
  88. package/dist/SelectField-5RVfSG15.js.gz +0 -0
  89. package/dist/TermsOfService-DJbt6icJ.js.br +0 -0
  90. package/dist/TermsOfService-DJbt6icJ.js.gz +0 -0
  91. package/dist/_-WoNM0Unh.js.gz +0 -0
  92. package/dist/dist-BbbpdaI7.js.br +0 -0
  93. package/dist/dist-BbbpdaI7.js.gz +0 -0
  94. package/dist/dist-Bl3zpaAg.js.br +0 -0
  95. package/dist/dist-Bl3zpaAg.js.gz +0 -0
  96. package/dist/giftCard-D-RDtJQu.js.gz +0 -0
  97. package/dist/style-M-qG6NpA.js.br +0 -0
  98. package/dist/style-M-qG6NpA.js.gz +0 -0
package/dist/hotel.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { r as e, t } from "./rolldown-runtime-Dqa2HsxW.js";
2
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 ne, dt as b, g as re, ht as x, i as S, it as ie, j as C, k as ae, kt as w, l as T, n as E, o as oe, rt as D, s as O, tt as k, ut as A, v as j, w as M, x as N, yt as P } from "./i18n-DwFTw_rF.js";
3
- import { t as F } from "./dist-BbbpdaI7.js";
4
- import { $ as se, C as ce, D as le, E as ue, G as de, I as fe, K as pe, L as me, N as he, O as ge, Q as _e, R as ve, S as I, U as ye, V as be, W as xe, Y as R, _ as Se, b as Ce, mt as we, n as Te, nt as Ee, r as De, rt as Oe, t as z, ut as ke, v as Ae, x as B } from "./SelectField-5RVfSG15.js";
5
- import { n as je, t as Me } from "./AvailabilitySkeleton-CEdJogdt.js";
6
- import { t as Ne } from "./HotelAvailabilityForm-CCI7Ub6M.js";
7
- import { t as Pe } from "./style-M-qG6NpA.js";
8
- import { t as Fe } from "./ActionField-KZjb9lT9.js";
9
- import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./dist-Bl3zpaAg.js";
10
- import { a as Ge, i as Ke, r as qe, t as Je } from "./CheckoutWindow-BI5hQY73.js";
11
- import { t as V } from "./TermsOfService-DJbt6icJ.js";
3
+ import { t as F } from "./dist-X-WT7tyd.js";
4
+ import { $ as se, C as ce, D as le, E as ue, G as de, I as fe, K as pe, L as me, N as he, O as ge, Q as _e, R as ve, S as I, U as ye, V as be, W as xe, Y as R, _ as Se, b as Ce, mt as we, n as Te, nt as Ee, r as De, rt as Oe, t as z, ut as ke, v as Ae, x as B } from "./SelectField-BUMVCl9X.js";
5
+ import { n as je, t as Me } from "./AvailabilitySkeleton-CkZ3yXGl.js";
6
+ import { t as Ne } from "./HotelAvailabilityForm-9fTMo0JS.js";
7
+ import { t as Pe } from "./style-DRDBWvVm.js";
8
+ import { t as Fe } from "./ActionField-D1UVyt3P.js";
9
+ import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./dist-DWRyg7R_.js";
10
+ import { a as Ge, i as Ke, r as qe, t as Je } from "./CheckoutWindow-roDCaJfD.js";
11
+ import { t as V } from "./TermsOfService-B8UYMSX-.js";
12
12
  //#region node_modules/inner-image-zoom/src/utils/images.js
13
13
  function Ye(e, t) {
14
14
  return t ? {
@@ -2280,7 +2280,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
2280
2280
  _refocusOnMap: function(e) {
2281
2281
  this._map && e && e.screenX > 0 && e.screenY > 0 && this._map.getContainer().focus();
2282
2282
  }
2283
- }), $ = function(e) {
2283
+ }), sn = function(e) {
2284
2284
  return new on(e);
2285
2285
  };
2286
2286
  Q.include({
@@ -2303,7 +2303,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
2303
2303
  U(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
2304
2304
  }
2305
2305
  });
2306
- var sn = on.extend({
2306
+ var $ = on.extend({
2307
2307
  options: {
2308
2308
  collapsed: !0,
2309
2309
  position: "topright",
@@ -2428,7 +2428,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
2428
2428
  });
2429
2429
  }
2430
2430
  }), cn = function(e, t, n) {
2431
- return new sn(e, t, n);
2431
+ return new $(e, t, n);
2432
2432
  }, ln = on.extend({
2433
2433
  options: {
2434
2434
  position: "topleft",
@@ -2551,7 +2551,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
2551
2551
  });
2552
2552
  Q.mergeOptions({ attributionControl: !0 }), Q.addInitHook(function() {
2553
2553
  this.options.attributionControl && new pn().addTo(this);
2554
- }), on.Layers = sn, on.Zoom = ln, on.Scale = dn, on.Attribution = pn, $.layers = cn, $.zoom = un, $.scale = fn, $.attribution = function(e) {
2554
+ }), on.Layers = $, on.Zoom = ln, on.Scale = dn, on.Attribution = pn, sn.layers = cn, sn.zoom = un, sn.scale = fn, sn.attribution = function(e) {
2555
2555
  return new pn(e);
2556
2556
  };
2557
2557
  var mn = C.extend({
@@ -5233,7 +5233,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
5233
5233
  this._zooming = !1, S(this._animRequest), Y(document, "touchmove", this._onTouchMove, this), Y(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
5234
5234
  }
5235
5235
  });
5236
- 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 = O, e.Browser = V, e.CRS = P, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = C, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Ht, e.Draggable = _n, e.Evented = T, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = M, e.LatLngBounds = A, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = E, e.PolyUtil = xn, 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 = le, e.Util = ie, e.VideoOverlay = wr, e.bind = i, e.bounds = k, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = $, 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 = N, e.latLngBounds = j, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = D, 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 = ue, e.version = t, e.videoOverlay = Tr;
5236
+ 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 = O, e.Browser = V, e.CRS = P, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = C, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Ht, e.Draggable = _n, e.Evented = T, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = M, e.LatLngBounds = A, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = E, e.PolyUtil = xn, 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 = le, e.Util = ie, e.VideoOverlay = wr, e.bind = i, e.bounds = k, 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 = N, e.latLngBounds = j, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = D, 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 = ue, e.version = t, e.videoOverlay = Tr;
5237
5237
  var ai = window.L;
5238
5238
  e.noConflict = function() {
5239
5239
  return window.L = ai, this;
@@ -6267,7 +6267,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6267
6267
  "includes-breakfast"
6268
6268
  ]));
6269
6269
  }
6270
- }), [["__scopeId", "data-v-9389e689"]]), Q = { class: "konnectio-template-side-panel" }, an = { class: "konnectio-template-side-panel-listings" }, on = { class: "konnectio-template-room-config" }, $ = { class: "konnectio-template-room-units" }, sn = { class: "konnectio-template-room-unit-header" }, cn = { class: "konnectio-template-footer" }, ln = {
6270
+ }), [["__scopeId", "data-v-9389e689"]]), Q = { class: "konnectio-template-side-panel" }, an = { class: "konnectio-template-side-panel-listings" }, on = { class: "konnectio-template-room-config" }, sn = { class: "konnectio-template-room-units" }, $ = { class: "konnectio-template-room-unit-header" }, cn = { class: "konnectio-template-footer" }, ln = {
6271
6271
  key: 0,
6272
6272
  class: "konnectio-template-selection-preview"
6273
6273
  }, un = { class: "konnectio-template-selection-item-header" }, dn = { class: "konnectio-template-selection-item-name" }, fn = { class: "konnectio-template-selection-item-price" }, pn = { class: "konnectio-template-selection-item-units" }, mn = /*#__PURE__*/ I(/* @__PURE__ */ d({
@@ -6440,7 +6440,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6440
6440
  "includes-breakfast": !1,
6441
6441
  "hide-info-button": !0
6442
6442
  }, {
6443
- action: A(() => [g("div", on, [g("div", $, [C(De, {
6443
+ action: A(() => [g("div", on, [g("div", sn, [C(De, {
6444
6444
  modelValue: k[e.id].units,
6445
6445
  "onUpdate:modelValue": (t) => k[e.id].units = t,
6446
6446
  label: _(t)("booking.availability.units"),
@@ -6458,7 +6458,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6458
6458
  ])]), (c(!0), f(y, null, m(k[e.id].configs, (n, r) => (c(), f("div", {
6459
6459
  key: r,
6460
6460
  class: "konnectio-template-room-unit-config"
6461
- }, [g("div", sn, [g("span", null, w(_(t)("booking.reservation.room")) + " " + w(r + 1), 1), g("span", null, w(_(R)(me(e.id, r), _(x))), 1)]), g("div", { class: s(["konnectio-template-room-guests", { "only-adult-guests": !_(ae)(_(l)) }]) }, [C(De, {
6461
+ }, [g("div", $, [g("span", null, w(_(t)("booking.reservation.room")) + " " + w(r + 1), 1), g("span", null, w(_(R)(me(e.id, r), _(x))), 1)]), g("div", { class: s(["konnectio-template-room-guests", { "only-adult-guests": !_(ae)(_(l)) }]) }, [C(De, {
6462
6462
  modelValue: n.adults,
6463
6463
  "onUpdate:modelValue": (e) => n.adults = e,
6464
6464
  label: _(t)("availability.adults"),
@@ -6970,7 +6970,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6970
6970
  styling: {}
6971
6971
  },
6972
6972
  setup(e) {
6973
- let t = u(() => import("./_-WoNM0Unh.js").then((e) => e.n)), n = e, { t: i } = v(), { currentLocation: l, templateID: d, templateRoomSelections: p, templateRoomUnits: h, countries: ee, areListingsLoading: te, isPaymentLoading: ne, isReservationFormFilled: S, travelingFor: ie, arrivalTime: ae, departureTime: E, name: oe, nameTitle: D, email: O, phone: k, firmName: j, postal: P, city: F, address: se, country: de, remark: _e, allergies: ve, roomSelect: I, roomDisplay: xe, hasValidRoomSelection: Se, availabilityData: z, selectionHasNoAddons: ke, isAvailabilityDataAvailable: je, getSelectedPackageRooms: Me, selectedPackage: Pe, isSearchOutdated: Fe, isTemplateReservation: Ie, newsMails: ze, adultsMismatch: Be, childrenMismatch: Ve, totalAdults: We, totalChildren: Ge, hasGuestDiscountId: V, hasGuestDiscountCode: Ye, guestDiscountId: Xe, guestDiscountName: Ze, guestDiscountCode: Qe, hasMemberCards: $e, memberCardList: et, selectedMemberCard: tt, memberCardControlNumber: nt, memberCardNumber: rt, selectedMemberCardObject: it, selectedMemberCardData: at, discountCode: ot, discountPayload: st } = T(ge()), { adults: ct, children: lt, location: ut, arrivalDate: dt, departureDate: ft, hasHotelLocations: pt } = T(ce()), { isValidHotelId: mt, updateDates: ht } = ce(), { currency: _t, enableTracking: vt, disableNamePrefix: yt, disableTravelingFor: H, disableTravelingForBleasure: U, disableCompanyField: bt, hasPaymentGateway: xt, maxAdultAmount: St, maxChildAmount: Ct, defaultAdultAmount: W, defaultChildAmount: G, disableNewsletterSignup: wt, hasActiveIdFilter: Tt, hotelSettings: K } = T(ue()), { hasArrivalDepartureInputs: Et, hasUserArrivalSelection: Dt, hasUserDepartureSelection: Ot, earliestArrivalTime: q, latestArrivalTime: kt, earliestDepartureTime: At, latestDepartureTime: jt, setActiveIdFilter: Mt, clearActiveIdFilter: Nt } = ue(), { beginCheckout: Ft } = le(), { display: It } = he(), { createReservation: Lt, fetchMetadata: zt, fetchAvailabilityData: Bt, filterAddons: Vt, hasAvailableRoomAddons: J, checkGuestDiscount: Ut, setGuestDiscountCode: Y, validateMemberCard: Wt, onOverviewReset: Gt, validateDiscountCode: Kt } = ge(), qt = M(() => n.sortOrder === "desc"), X = M(() => [
6973
+ let t = u(() => import("./_-BmsIYzkS.js").then((e) => e.n)), n = e, { t: i } = v(), { currentLocation: l, templateID: d, templateRoomSelections: p, templateRoomUnits: h, countries: ee, areListingsLoading: te, isPaymentLoading: ne, isReservationFormFilled: S, travelingFor: ie, arrivalTime: ae, departureTime: E, name: oe, nameTitle: D, email: O, phone: k, firmName: j, postal: P, city: F, address: se, country: de, remark: _e, allergies: ve, roomSelect: I, roomDisplay: xe, hasValidRoomSelection: Se, availabilityData: z, selectionHasNoAddons: ke, isAvailabilityDataAvailable: je, getSelectedPackageRooms: Me, selectedPackage: Pe, isSearchOutdated: Fe, isTemplateReservation: Ie, isReturningFromReepay: ze, newsMails: Be, adultsMismatch: Ve, childrenMismatch: We, totalAdults: Ge, totalChildren: V, hasGuestDiscountId: Ye, hasGuestDiscountCode: Xe, guestDiscountId: Ze, guestDiscountName: Qe, guestDiscountCode: $e, hasMemberCards: et, memberCardList: tt, selectedMemberCard: nt, memberCardControlNumber: rt, memberCardNumber: it, selectedMemberCardObject: at, selectedMemberCardData: ot, discountCode: st, discountPayload: ct } = T(ge()), { adults: lt, children: ut, location: dt, arrivalDate: ft, departureDate: pt, hasHotelLocations: mt } = T(ce()), { isValidHotelId: ht, updateDates: _t } = ce(), { currency: vt, enableTracking: yt, disableNamePrefix: H, disableTravelingFor: U, disableTravelingForBleasure: bt, disableCompanyField: xt, hasPaymentGateway: St, maxAdultAmount: Ct, maxChildAmount: W, defaultAdultAmount: G, defaultChildAmount: wt, disableNewsletterSignup: Tt, hasActiveIdFilter: K, hotelSettings: Et } = T(ue()), { hasArrivalDepartureInputs: Dt, hasUserArrivalSelection: Ot, hasUserDepartureSelection: q, earliestArrivalTime: kt, latestArrivalTime: At, earliestDepartureTime: jt, latestDepartureTime: Mt, setActiveIdFilter: Nt, clearActiveIdFilter: Ft } = ue(), { beginCheckout: It } = le(), { display: Lt } = he(), { createReservation: zt, fetchMetadata: Bt, fetchAvailabilityData: Vt, filterAddons: J, hasAvailableRoomAddons: Ut, checkGuestDiscount: Y, setGuestDiscountCode: Wt, validateMemberCard: Gt, onOverviewReset: Kt, validateDiscountCode: qt } = ge(), X = M(() => n.sortOrder === "desc"), Jt = M(() => [
6974
6974
  {
6975
6975
  id: "availability",
6976
6976
  label: i("booking.availability.title"),
@@ -6995,7 +6995,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
6995
6995
  label: i("booking.confirmation.title"),
6996
6996
  icon: "calendar-check"
6997
6997
  }
6998
- ]), Jt = M(() => {
6998
+ ]), Yt = M(() => {
6999
6999
  let e = [{
7000
7000
  label: i("booking.reservation.business"),
7001
7001
  value: "Business"
@@ -7003,101 +7003,102 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7003
7003
  label: i("booking.reservation.pleasure"),
7004
7004
  value: "Pleasure"
7005
7005
  }];
7006
- return U.value || e.push({
7006
+ return bt.value || e.push({
7007
7007
  label: i("booking.reservation.bleasure"),
7008
7008
  value: "Bleasure"
7009
7009
  }), e;
7010
- }), Yt = M(() => {
7010
+ }), Z = M(() => {
7011
7011
  let e = z.value.roomGroups.slice();
7012
7012
  function t(e, t) {
7013
- return qt.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
7013
+ return X.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
7014
7014
  }
7015
7015
  return n.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
7016
7016
  });
7017
- function Z(e) {
7017
+ function Xt(e) {
7018
7018
  return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
7019
7019
  }
7020
- let Xt = M(() => {
7020
+ let Zt = M(() => {
7021
7021
  let e = z.value.templates.slice();
7022
7022
  return n.sortBy === "price" && e.sort((e, t) => {
7023
- let n = Z(e), r = Z(t);
7024
- return qt.value ? r - n : n - r;
7023
+ let n = Xt(e), r = Xt(t);
7024
+ return X.value ? r - n : n - r;
7025
7025
  }), e;
7026
- }), Zt = M(() => {
7026
+ }), Qt = M(() => {
7027
7027
  let e = z.value.specialTemplates.slice();
7028
7028
  return n.sortBy === "price" && e.sort((e, t) => {
7029
- let n = Z(e), r = Z(t);
7030
- return qt.value ? r - n : n - r;
7029
+ let n = Xt(e), r = Xt(t);
7030
+ return X.value ? r - n : n - r;
7031
7031
  }), e;
7032
- }), Qt = M(() => n.hideAddons === "yes" || Ie.value && n.hideAddons === "packages" || !Ie.value && n.hideAddons === "rooms");
7033
- function $t(e) {
7032
+ }), $t = M(() => n.hideAddons === "yes" || Ie.value && n.hideAddons === "packages" || !Ie.value && n.hideAddons === "rooms");
7033
+ function en(e) {
7034
7034
  let t = $.discount;
7035
- t ? (ot.value = t, Kt()) : Ye.value && !st.value && (ot.value = Qe.value, Kt()), e();
7035
+ t ? (st.value = t, qt()) : Xe.value && !ct.value && (st.value = $e.value, qt()), e();
7036
7036
  }
7037
- function en(e) {
7038
- Qt.value || ke.value ? e(2) : e();
7037
+ function tn(e) {
7038
+ $t.value || ke.value ? e(2) : e();
7039
7039
  }
7040
- async function tn(e, t) {
7041
- await Lt(e, t);
7040
+ async function nn(e, t) {
7041
+ await zt(e, t);
7042
7042
  }
7043
- function nn() {
7044
- if ((ut.value === void 0 || isNaN(ut.value)) && pt.value) {
7045
- It({
7043
+ function Q() {
7044
+ if ((dt.value === void 0 || isNaN(dt.value)) && mt.value) {
7045
+ Lt({
7046
7046
  message: i("alert.error.selectHotelId"),
7047
7047
  type: "error"
7048
7048
  });
7049
7049
  return;
7050
7050
  }
7051
- Bt();
7051
+ Vt();
7052
7052
  }
7053
- function Q() {
7053
+ function an() {
7054
7054
  let e = we("history", { removeNullishValues: !0 });
7055
- Nt(), e.id = void 0, Bt();
7055
+ Ft(), e.id = void 0, Vt();
7056
7056
  }
7057
- function an(e) {
7058
- vt.value && Ft(), Ye.value && !st.value && (ot.value = Qe.value, Kt()), Qt.value || ke.value ? e(2) : e();
7057
+ function on(e) {
7058
+ yt.value && It(), Xe.value && !ct.value && (st.value = $e.value, qt()), $t.value || ke.value ? e(2) : e();
7059
7059
  }
7060
- function on() {
7061
- let e = ut.value;
7062
- n.forceArrivalTime && n.forceDepartureTime && e !== void 0 && K.value[e] && (K.value[e].disableArrivalUserSelection = !0, n.forceArrivalTime && (K.value[e].arrivalDefault = n.forceArrivalTime), n.forceDepartureTime && (K.value[e].departureDefault = n.forceDepartureTime));
7060
+ function sn() {
7061
+ let e = dt.value;
7062
+ n.forceArrivalTime && n.forceDepartureTime && e !== void 0 && Et.value[e] && (Et.value[e].disableArrivalUserSelection = !0, n.forceArrivalTime && (Et.value[e].arrivalDefault = n.forceArrivalTime), n.forceDepartureTime && (Et.value[e].departureDefault = n.forceDepartureTime));
7063
7063
  }
7064
7064
  let $ = we("history", { removeNullishValues: !0 });
7065
- async function sn() {
7066
- on();
7065
+ async function cn() {
7066
+ sn();
7067
7067
  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;
7068
- if (isNaN(e) || (e > St.value ? ct.value = St.value : ct.value = e, ct.value === W.value && ($.a = void 0)), isNaN(t) || (t > Ct.value ? lt.value = Ct.value : lt.value = t, lt.value === G.value && ($.c = void 0)), isNaN(a) || a > 0 && ($.n = void 0), isNaN(r) || (mt(r) ? (ut.value = r, f = !0) : ($.hid = void 0, It({
7068
+ if (isNaN(e) || (e > Ct.value ? lt.value = Ct.value : lt.value = e, lt.value === G.value && ($.a = void 0)), isNaN(t) || (t > W.value ? ut.value = W.value : ut.value = t, ut.value === wt.value && ($.c = void 0)), isNaN(a) || a > 0 && ($.n = void 0), isNaN(r) || (ht(r) ? (dt.value = r, f = !0) : ($.hid = void 0, Lt({
7069
7069
  message: i("alert.error.hotelIdNotFound"),
7070
7070
  type: "error"
7071
7071
  }))), o && s) if (ye(o) && ye(s)) {
7072
7072
  let e = new Date(new Date(o).setHours(12, 0, 0, 0)), t = new Date(new Date(s).setHours(12, 0, 0, 0));
7073
- e <= t ? (dt.value = e, ft.value = t) : ($.ci = void 0, $.co = void 0, It({
7073
+ e <= t ? (ft.value = e, pt.value = t) : ($.ci = void 0, $.co = void 0, Lt({
7074
7074
  message: i("alert.error.invalidDateRange"),
7075
7075
  type: "error"
7076
7076
  }));
7077
- } else It({
7077
+ } else Lt({
7078
7078
  message: i("alert.error.wrongDateFormat"),
7079
7079
  type: "error"
7080
7080
  });
7081
- if (c && Mt(c), u) {
7082
- await Ut(u) || delete $.gid;
7081
+ if (c && Nt(c), u) {
7082
+ await Y(u) || delete $.gid;
7083
7083
  return;
7084
7084
  }
7085
- d && Y(d), n.disableDefaultLocation === "yes" && f === !1 ? (ut.value = void 0, l.value = NaN) : Bt();
7085
+ d && Wt(d), n.disableDefaultLocation === "yes" && f === !1 ? (dt.value = void 0, l.value = NaN) : Vt();
7086
7086
  }
7087
7087
  return (n, u) => (c(), o(Ce, { styling: e.styling }, {
7088
- default: A(() => [(c(), o(N, { onResolve: sn }, {
7088
+ default: A(() => [(c(), o(N, { onResolve: cn }, {
7089
7089
  default: A(() => [C(_(t), {
7090
7090
  id: "konnectio-hotel-module",
7091
7091
  "access-token": e.accessToken,
7092
- callback: _(zt)
7092
+ callback: _(Bt)
7093
7093
  }, {
7094
7094
  default: A(() => [
7095
- b(C(Rt, { onCallback: sn }, null, 512), [[re, e.requireGuestDiscountId === "yes" && !_(V)]]),
7096
- b(C(Ht, null, null, 512), [[re, e.requireDiscountCode === "yes" && !_(Ye)]]),
7095
+ b(C(Rt, { onCallback: cn }, null, 512), [[re, e.requireGuestDiscountId === "yes" && !_(Ye)]]),
7096
+ b(C(Ht, null, null, 512), [[re, e.requireDiscountCode === "yes" && !_(Xe)]]),
7097
7097
  b(C(Ue, {
7098
7098
  layout: e.headerLayout,
7099
- steps: X.value,
7100
- onReset: _(Gt)
7099
+ steps: Jt.value,
7100
+ "initial-step-id": _(ze) ? "confirmation" : void 0,
7101
+ onReset: _(Kt)
7101
7102
  }, {
7102
7103
  availability: A(({ next: t }) => [C(Pt, {
7103
7104
  "show-remove-room": !0,
@@ -7114,19 +7115,19 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7114
7115
  "disable-default-location",
7115
7116
  "hide-locations"
7116
7117
  ])]),
7117
- _(V) ? (c(), f("div", An, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Ze) ? _(Ze) : _(Xe)}</b>` }) }, null, 8, jn)])) : a("", !0),
7118
- _(Ye) ? (c(), f("div", Mn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Qe)}</b>` }) }, null, 8, Nn)])) : a("", !0),
7119
- _(Tt) ? (c(), f("div", Pn, [g("span", null, [r(w(_(i)("general.filteredListingNotice")) + " ", 1), g("button", {
7118
+ _(Ye) ? (c(), f("div", An, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Qe) ? _(Qe) : _(Ze)}</b>` }) }, null, 8, jn)])) : a("", !0),
7119
+ _(Xe) ? (c(), f("div", Mn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_($e)}</b>` }) }, null, 8, Nn)])) : a("", !0),
7120
+ _(K) ? (c(), f("div", Pn, [g("span", null, [r(w(_(i)("general.filteredListingNotice")) + " ", 1), g("button", {
7120
7121
  class: "link",
7121
- onClick: u[0] ||= (e) => Q()
7122
+ onClick: u[0] ||= (e) => an()
7122
7123
  }, w(_(i)("general.filteredListingShowAll")), 1)])])) : a("", !0),
7123
7124
  a("", !0),
7124
- !_(te) && _(je) ? (c(), f("div", Fn, [Yt.value.camping && Yt.value.camping.length > 0 && e.onlyShow !== "non-camping" || Yt.value.rooms && Yt.value.rooms.length > 0 || _(z).templates.length > 0 || _(z).specialTemplates.length > 0 && !_(Tt) ? (c(), f("div", In, [
7125
+ !_(te) && _(je) ? (c(), f("div", Fn, [Z.value.camping && Z.value.camping.length > 0 && e.onlyShow !== "non-camping" || Z.value.rooms && Z.value.rooms.length > 0 || _(z).templates.length > 0 || _(z).specialTemplates.length > 0 && !_(K) ? (c(), f("div", In, [
7125
7126
  _(z).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (c(), f("div", Ln, [e.onlyShow === "packages" ? a("", !0) : (c(), f("h2", Rn, [C(B, {
7126
7127
  icon: "box",
7127
7128
  type: "fal",
7128
7129
  color: "header"
7129
- }), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul", zn, [(c(!0), f(y, null, m(Xt.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: l }) => (c(), o(gn, {
7130
+ }), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul", zn, [(c(!0), f(y, null, m(Zt.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: l }) => (c(), o(gn, {
7130
7131
  key: n,
7131
7132
  id: n,
7132
7133
  description: s,
@@ -7146,28 +7147,28 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7146
7147
  "callback",
7147
7148
  "hide-addons"
7148
7149
  ]))), 128))])])) : a("", !0),
7149
- _(z).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div", Bn, [Yt.value.rooms && e.onlyShow !== "camping" ? (c(), f(y, { key: 0 }, [_(z).templates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("h2", Vn, [C(B, {
7150
+ _(z).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div", Bn, [Z.value.rooms && e.onlyShow !== "camping" ? (c(), f(y, { key: 0 }, [_(z).templates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("h2", Vn, [C(B, {
7150
7151
  icon: "house",
7151
7152
  type: "fal",
7152
7153
  color: "header"
7153
- }), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul", Hn, [(c(!0), f(y, null, m(Yt.value.rooms, (e, n) => (c(), o(rn, {
7154
+ }), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul", Hn, [(c(!0), f(y, null, m(Z.value.rooms, (e, n) => (c(), o(rn, {
7154
7155
  room: e,
7155
7156
  key: n,
7156
7157
  callback: t
7157
- }, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0), Yt.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (c(), f(y, { key: 1 }, [_(z).templates.length > 0 && e.onlyShow !== "camping" ? (c(), f("h2", Un, [C(B, {
7158
+ }, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0), Z.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (c(), f(y, { key: 1 }, [_(z).templates.length > 0 && e.onlyShow !== "camping" ? (c(), f("h2", Un, [C(B, {
7158
7159
  icon: "map-location-dot",
7159
7160
  type: "fal",
7160
7161
  color: "header"
7161
- }), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul", Wn, [(c(!0), f(y, null, m(Yt.value.camping, (e, n) => (c(), o(rn, {
7162
+ }), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul", Wn, [(c(!0), f(y, null, m(Z.value.camping, (e, n) => (c(), o(rn, {
7162
7163
  room: e,
7163
7164
  key: n,
7164
7165
  callback: t
7165
7166
  }, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0)])) : a("", !0),
7166
- _(Tt) ? a("", !0) : (c(), f(y, { key: 2 }, [_(z).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("div", Gn, [g("h2", Kn, [C(B, {
7167
+ _(K) ? a("", !0) : (c(), f(y, { key: 2 }, [_(z).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("div", Gn, [g("h2", Kn, [C(B, {
7167
7168
  icon: "sparkles",
7168
7169
  type: "fal",
7169
7170
  color: "header"
7170
- }), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul", qn, [(c(!0), f(y, null, m(Zt.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: l }) => (c(), o(yn, {
7171
+ }), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul", qn, [(c(!0), f(y, null, m(Qt.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: l }) => (c(), o(yn, {
7171
7172
  key: e,
7172
7173
  id: e,
7173
7174
  description: i,
@@ -7205,11 +7206,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7205
7206
  icon: "money-bill",
7206
7207
  type: "fal",
7207
7208
  color: "header"
7208
- }), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(R)(e.priceStartFrom, _(_t))), 1)])]),
7209
+ }), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(R)(e.priceStartFrom, _(vt))), 1)])]),
7209
7210
  C(Ae, {
7210
7211
  label: _(i)("booking.availability.selectDates"),
7211
7212
  "full-width": "",
7212
- onClickEvent: (t) => _(ht)(new Date(e.fromDate), new Date(e.toDate))
7213
+ onClickEvent: (t) => _(_t)(new Date(e.fromDate), new Date(e.toDate))
7213
7214
  }, null, 8, ["label", "onClickEvent"])
7214
7215
  ]))), 128))])
7215
7216
  ])) : (c(), f("div", nr, [g("span", null, w(_(i)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(_(l)) && !_(te) ? (c(), f("div", rr, [g("span", null, w(_(i)("alert.info.selectHotelToStart")), 1)])) : (c(), f("div", ir, [
@@ -7224,13 +7225,13 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7224
7225
  label: isNaN(_(l)) ? _(i)("availability.buttonLabel") : _(i)("general.searchAgain"),
7225
7226
  "is-loading": _(te),
7226
7227
  "full-width": "",
7227
- onClickEvent: u[2] ||= (e) => nn()
7228
+ onClickEvent: u[2] ||= (e) => Q()
7228
7229
  }, null, 8, ["label", "is-loading"])) : (c(), o(Ae, {
7229
7230
  key: 1,
7230
- label: _(ke) || Qt.value ? _(i)("booking.availability.nextButton") : _(i)("general.chooseAddons"),
7231
+ label: _(ke) || $t.value ? _(i)("booking.availability.nextButton") : _(i)("general.chooseAddons"),
7231
7232
  disabled: !_(Se),
7232
7233
  "full-width": "",
7233
- onClickEvent: (e) => an(t)
7234
+ onClickEvent: (e) => on(t)
7234
7235
  }, null, 8, [
7235
7236
  "label",
7236
7237
  "disabled",
@@ -7240,22 +7241,22 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7240
7241
  icon: "exclamation-triangle",
7241
7242
  type: "fas"
7242
7243
  }), g("span", null, w(_(i)("hotel.mismatchingAdults", {
7243
- searchAdults: _(ct),
7244
- selectedAdults: _(We)
7245
- })), 1)], 512), [[re, _(Be)]]),
7244
+ searchAdults: _(lt),
7245
+ selectedAdults: _(Ge)
7246
+ })), 1)], 512), [[re, _(Ve)]]),
7246
7247
  b(g("span", or, [C(B, {
7247
7248
  icon: "exclamation-triangle",
7248
7249
  type: "fas"
7249
7250
  }), g("span", null, w(_(i)("hotel.mismatchingChildren", {
7250
- searchChildren: _(lt),
7251
- selectedChildren: _(Ge)
7252
- })), 1)], 512), [[re, _(Ve)]])
7251
+ searchChildren: _(ut),
7252
+ selectedChildren: _(V)
7253
+ })), 1)], 512), [[re, _(We)]])
7253
7254
  ]),
7254
7255
  _: 2
7255
7256
  }, 1024)]),
7256
7257
  addons: A(({ next: e, prev: t }) => [_(je) ? (c(), o(Pt, {
7257
7258
  key: 0,
7258
- "prev-callback": () => en(t)
7259
+ "prev-callback": () => tn(t)
7259
7260
  }, {
7260
7261
  form: A(() => [g("form", sr, [
7261
7262
  g("h2", null, [g("span", null, w(_(i)("booking.reservation.addons")), 1)]),
@@ -7263,7 +7264,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7263
7264
  innerHTML: _(i)("hotel.addonTopNotice"),
7264
7265
  class: "konnectio-wysiwyg"
7265
7266
  }, null, 8, lr)])) : a("", !0),
7266
- g("div", null, [isNaN(_(d)) ? (c(), f("div", ur, [(c(!0), f(y, null, m(_(xe), (e) => (c(), f(y, { key: e.roomGroupID }, [_(J)(e) ? (c(), f("ul", dr, [(c(!0), f(y, null, m(e.variants, (t, n) => (c(), f("li", { key: t.ratePlanID }, [g("h4", null, [g("span", null, w(_(fe)(e.title)), 1)]), (c(!0), f(y, null, m(t.rooms, (r, i) => (c(), f("table", {
7267
+ g("div", null, [isNaN(_(d)) ? (c(), f("div", ur, [(c(!0), f(y, null, m(_(xe), (e) => (c(), f(y, { key: e.roomGroupID }, [_(Ut)(e) ? (c(), f("ul", dr, [(c(!0), f(y, null, m(e.variants, (t, n) => (c(), f("li", { key: t.ratePlanID }, [g("h4", null, [g("span", null, w(_(fe)(e.title)), 1)]), (c(!0), f(y, null, m(t.rooms, (r, i) => (c(), f("table", {
7267
7268
  key: i,
7268
7269
  class: "konnectio-table with-lines without-header"
7269
7270
  }, [g("thead", null, [g("tr", null, [
@@ -7284,12 +7285,12 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7284
7285
  })) : a("", !0),
7285
7286
  r.childrenCount > 0 ? (c(), f("span", pr, w(r.childrenCount), 1)) : a("", !0)
7286
7287
  ])])
7287
- ])]), g("tbody", null, [(c(!0), f(y, null, m(_(Vt)(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", mr, [C(_(gt), {
7288
+ ])]), g("tbody", null, [(c(!0), f(y, null, m(_(J)(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", mr, [C(_(gt), {
7288
7289
  src: m,
7289
7290
  "zoom-scale": 1
7290
7291
  }, null, 8, ["src"])])) : a("", !0), g("div", null, [
7291
7292
  g("b", null, w(_(fe)(d)), 1),
7292
- g("span", null, w(_(R)(p, _(_t))) + " " + w(_(be)(i)), 1),
7293
+ g("span", null, w(_(R)(p, _(vt))) + " " + w(_(be)(i)), 1),
7293
7294
  h ? (c(), f("p", {
7294
7295
  key: 0,
7295
7296
  innerHTML: _(me)(h)
@@ -7319,12 +7320,12 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7319
7320
  g("th", null, [g("span", null, w(_(fe)(_(Me).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), _(h).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (c(), f("span", vr, "(" + w(_(i)("booking.reservation.room")) + " " + w(_(h).slice(0, t + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : a("", !0)]),
7320
7321
  a("", !0),
7321
7322
  u[24] ||= g("th", { class: "konnectio-event-addons-price" }, null, -1)
7322
- ])]), g("tbody", null, [(c(!0), f(y, null, m(_(Vt)(_(Me).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", yr, [C(_(gt), {
7323
+ ])]), g("tbody", null, [(c(!0), f(y, null, m(_(J)(_(Me).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", yr, [C(_(gt), {
7323
7324
  src: m,
7324
7325
  "zoom-scale": 1
7325
7326
  }, null, 8, ["src"])])) : a("", !0), g("div", null, [
7326
7327
  g("b", null, w(_(fe)(l)), 1),
7327
- g("span", null, w(_(R)(u, _(_t))) + " " + w(_(be)(n)), 1),
7328
+ g("span", null, w(_(R)(u, _(vt))) + " " + w(_(be)(n)), 1),
7328
7329
  d ? (c(), f("p", {
7329
7330
  key: 0,
7330
7331
  innerHTML: _(me)(d)
@@ -7352,13 +7353,13 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7352
7353
  navigation: A(() => [C(Ae, {
7353
7354
  label: _(i)("general.startReservation"),
7354
7355
  "full-width": "",
7355
- onClickEvent: (t) => $t(e)
7356
+ onClickEvent: (t) => en(e)
7356
7357
  }, null, 8, ["label", "onClickEvent"])]),
7357
7358
  _: 2
7358
7359
  }, 1032, ["prev-callback"])) : a("", !0)]),
7359
7360
  reservation: A(({ next: t, prev: n, reset: r }) => [_(je) ? (c(), o(Pt, {
7360
7361
  key: 0,
7361
- "prev-callback": () => en(n),
7362
+ "prev-callback": () => tn(n),
7362
7363
  "show-terms-notice": !0,
7363
7364
  "show-gift-card": !0
7364
7365
  }, {
@@ -7368,29 +7369,29 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7368
7369
  innerHTML: _(i)("hotel.reservationTopNotice"),
7369
7370
  class: "konnectio-wysiwyg"
7370
7371
  }, null, 8, wr)])) : a("", !0),
7371
- _(Et)(_(l)) && _(Dt)(_(l)) && _(Ot)(_(l)) ? (c(), f("ul", {
7372
+ _(Dt)(_(l)) && _(Ot)(_(l)) && _(q)(_(l)) ? (c(), f("ul", {
7372
7373
  key: 1,
7373
- class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(Dt)(_(l)) && _(Ot)(_(l)) }])
7374
- }, [_(Dt)(_(l)) ? (c(), f("li", Tr, [C(bn, {
7374
+ class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(Ot)(_(l)) && _(q)(_(l)) }])
7375
+ }, [_(Ot)(_(l)) ? (c(), f("li", Tr, [C(bn, {
7375
7376
  modelValue: _(ae),
7376
7377
  "onUpdate:modelValue": u[3] ||= (e) => x(ae) ? ae.value = e : null,
7377
7378
  label: _(i)("booking.reservation.arrivalTime"),
7378
7379
  icon: "hourglass-start",
7379
- "min-time": _(q)(_(l)),
7380
- "max-time": _(kt)(_(l)),
7380
+ "min-time": _(kt)(_(l)),
7381
+ "max-time": _(At)(_(l)),
7381
7382
  required: ""
7382
7383
  }, null, 8, [
7383
7384
  "modelValue",
7384
7385
  "label",
7385
7386
  "min-time",
7386
7387
  "max-time"
7387
- ])])) : a("", !0), _(Ot)(_(l)) ? (c(), f("li", Er, [C(bn, {
7388
+ ])])) : a("", !0), _(q)(_(l)) ? (c(), f("li", Er, [C(bn, {
7388
7389
  modelValue: _(E),
7389
7390
  "onUpdate:modelValue": u[4] ||= (e) => x(E) ? E.value = e : null,
7390
7391
  label: _(i)("booking.reservation.departureTime"),
7391
7392
  icon: "hourglass-end",
7392
- "min-time": _(At)(_(l)),
7393
- "max-time": _(jt)(_(l)),
7393
+ "min-time": _(jt)(_(l)),
7394
+ "max-time": _(Mt)(_(l)),
7394
7395
  required: ""
7395
7396
  }, null, 8, [
7396
7397
  "modelValue",
@@ -7403,7 +7404,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7403
7404
  "onUpdate:modelValue": u[5] ||= (e) => x(oe) ? oe.value = e : null,
7404
7405
  title: _(D),
7405
7406
  "onUpdate:title": u[6] ||= (e) => x(D) ? D.value = e : null,
7406
- "exclude-title": _(yt),
7407
+ "exclude-title": _(H),
7407
7408
  label: _(i)("booking.reservation.name"),
7408
7409
  icon: "user-alt",
7409
7410
  placeholder: _(i)("booking.reservation.namePlaceholder"),
@@ -7431,14 +7432,14 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7431
7432
  "label",
7432
7433
  "placeholder"
7433
7434
  ]),
7434
- _(wt) ? a("", !0) : (c(), f("div", Dr, [C(qe, {
7435
- modelValue: _(ze),
7436
- "onUpdate:modelValue": u[8] ||= (e) => x(ze) ? ze.value = e : null,
7435
+ _(Tt) ? a("", !0) : (c(), f("div", Dr, [C(qe, {
7436
+ modelValue: _(Be),
7437
+ "onUpdate:modelValue": u[8] ||= (e) => x(Be) ? Be.value = e : null,
7437
7438
  type: "checkbox",
7438
7439
  name: "newsletter",
7439
7440
  label: _(i)("booking.reservation.newsletterSignUp")
7440
7441
  }, null, 8, ["modelValue", "label"])])),
7441
- _(bt) ? a("", !0) : (c(), o(Te, {
7442
+ _(xt) ? a("", !0) : (c(), o(Te, {
7442
7443
  key: 3,
7443
7444
  modelValue: _(j),
7444
7445
  "onUpdate:modelValue": u[9] ||= (e) => x(j) ? j.value = e : null,
@@ -7548,36 +7549,36 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7548
7549
  "label",
7549
7550
  "placeholder"
7550
7551
  ])),
7551
- _(H) ? a("", !0) : (c(), o(Le, {
7552
+ _(U) ? a("", !0) : (c(), o(Le, {
7552
7553
  key: 6,
7553
7554
  modelValue: _(ie),
7554
7555
  "onUpdate:modelValue": u[17] ||= (e) => x(ie) ? ie.value = e : null,
7555
7556
  label: _(i)("booking.reservation.purposeOfStay"),
7556
7557
  name: "travelingFor",
7557
- checkboxes: Jt.value
7558
+ checkboxes: Yt.value
7558
7559
  }, null, 8, [
7559
7560
  "modelValue",
7560
7561
  "label",
7561
7562
  "checkboxes"
7562
7563
  ])),
7563
- _($e) ? (c(), f(y, { key: 7 }, [g("h3", null, [g("span", null, w(_(i)("hotel.memberCards.title")), 1)]), _(it) ? (c(), f("div", kr, [g("img", { src: _(at)?.iconUrl }, null, 8, Ar), g("ul", jr, [
7564
- g("li", null, [g("span", null, w(_(i)("hotel.memberCards.selectedCard", { cardName: _(at)?.shortDescription })), 1)]),
7565
- g("li", null, [g("span", null, w(_(i)("hotel.memberCards.cardNumber")) + ": " + w(_(it).cardNumber), 1)]),
7566
- _(it).controlNr ? (c(), f("li", Mr, [g("span", null, w(_(i)("hotel.memberCards.controlNumber")) + ": " + w(_(it).controlNr), 1)])) : a("", !0)
7564
+ _(et) ? (c(), f(y, { key: 7 }, [g("h3", null, [g("span", null, w(_(i)("hotel.memberCards.title")), 1)]), _(at) ? (c(), f("div", kr, [g("img", { src: _(ot)?.iconUrl }, null, 8, Ar), g("ul", jr, [
7565
+ g("li", null, [g("span", null, w(_(i)("hotel.memberCards.selectedCard", { cardName: _(ot)?.shortDescription })), 1)]),
7566
+ g("li", null, [g("span", null, w(_(i)("hotel.memberCards.cardNumber")) + ": " + w(_(at).cardNumber), 1)]),
7567
+ _(at).controlNr ? (c(), f("li", Mr, [g("span", null, w(_(i)("hotel.memberCards.controlNumber")) + ": " + w(_(at).controlNr), 1)])) : a("", !0)
7567
7568
  ])])) : (c(), f(y, { key: 1 }, [C(Le, {
7568
- modelValue: _(tt),
7569
- "onUpdate:modelValue": u[18] ||= (e) => x(tt) ? tt.value = e : null,
7569
+ modelValue: _(nt),
7570
+ "onUpdate:modelValue": u[18] ||= (e) => x(nt) ? nt.value = e : null,
7570
7571
  label: _(i)("hotel.memberCards.selectCard"),
7571
7572
  name: "memberCard",
7572
- checkboxes: _(et)
7573
+ checkboxes: _(tt)
7573
7574
  }, null, 8, [
7574
7575
  "modelValue",
7575
7576
  "label",
7576
7577
  "checkboxes"
7577
- ]), _(tt) ? (c(), f("form", Nr, [
7578
+ ]), _(nt) ? (c(), f("form", Nr, [
7578
7579
  C(Te, {
7579
- modelValue: _(rt),
7580
- "onUpdate:modelValue": u[19] ||= (e) => x(rt) ? rt.value = e : null,
7580
+ modelValue: _(it),
7581
+ "onUpdate:modelValue": u[19] ||= (e) => x(it) ? it.value = e : null,
7581
7582
  type: "number",
7582
7583
  label: _(i)("hotel.memberCards.cardNumber"),
7583
7584
  icon: "credit-card",
@@ -7588,10 +7589,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7588
7589
  "label",
7589
7590
  "placeholder"
7590
7591
  ]),
7591
- _(tt) === _(Ee).FirmaCard ? (c(), o(Te, {
7592
+ _(nt) === _(Ee).FirmaCard ? (c(), o(Te, {
7592
7593
  key: 0,
7593
- modelValue: _(nt),
7594
- "onUpdate:modelValue": u[20] ||= (e) => x(nt) ? nt.value = e : null,
7594
+ modelValue: _(rt),
7595
+ "onUpdate:modelValue": u[20] ||= (e) => x(rt) ? rt.value = e : null,
7595
7596
  type: "text",
7596
7597
  label: _(i)("hotel.memberCards.cardControlNumber"),
7597
7598
  icon: "id-card",
@@ -7602,7 +7603,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7602
7603
  "label",
7603
7604
  "placeholder"
7604
7605
  ])) : a("", !0),
7605
- _(tt) === _(Ee).DaneAge ? (c(), o(Te, {
7606
+ _(nt) === _(Ee).DaneAge ? (c(), o(Te, {
7606
7607
  key: 1,
7607
7608
  modelValue: _(P),
7608
7609
  "onUpdate:modelValue": u[21] ||= (e) => x(P) ? P.value = e : null,
@@ -7621,16 +7622,16 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7621
7622
  C(Ae, {
7622
7623
  label: _(i)("hotel.memberCards.validateAndSelectCard"),
7623
7624
  "full-width": "",
7624
- onClickEvent: _(Wt)
7625
+ onClickEvent: _(Gt)
7625
7626
  }, null, 8, ["label", "onClickEvent"])
7626
7627
  ])) : a("", !0)], 64))], 64)) : a("", !0)
7627
7628
  ])]),
7628
7629
  navigation: A(() => [g("div", null, [C(Ae, {
7629
- label: _(xt) ? _(i)("booking.reservation.nextButton") : _(i)("general.confirmReservation"),
7630
+ label: _(St) ? _(i)("booking.reservation.nextButton") : _(i)("general.confirmReservation"),
7630
7631
  disabled: !_(S),
7631
7632
  "is-loading": _(ne),
7632
7633
  "full-width": "",
7633
- onClickEvent: (e) => tn(t, r)
7634
+ onClickEvent: (e) => nn(t, r)
7634
7635
  }, null, 8, [
7635
7636
  "label",
7636
7637
  "disabled",
@@ -7645,8 +7646,9 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7645
7646
  }, 8, [
7646
7647
  "layout",
7647
7648
  "steps",
7649
+ "initial-step-id",
7648
7650
  "onReset"
7649
- ]), [[re, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && _(V)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && _(Ye))]])
7651
+ ]), [[re, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && _(Ye)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && _(Xe))]])
7650
7652
  ]),
7651
7653
  _: 1
7652
7654
  }, 8, ["access-token", "callback"])]),
@@ -7656,7 +7658,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
7656
7658
  _: 1
7657
7659
  }, 8, ["styling"]));
7658
7660
  }
7659
- }), [["__scopeId", "data-v-4d1bb88b"]]);
7661
+ }), [["__scopeId", "data-v-d6be3f1d"]]);
7660
7662
  //#endregion
7661
7663
  //#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
7662
7664
  function Fr(e, t) {