@konnectio/core 4.0.56-rc50 → 4.0.56-rc52

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 (63) hide show
  1. package/dist/{ActionField-BQQitCzR.js → ActionField-DIdYUr4q.js} +13 -13
  2. package/dist/ActionField-DIdYUr4q.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-TZiNrJ8t.js → AvailabilitySkeleton-ZjKDUWD5.js} +31 -31
  4. package/dist/AvailabilitySkeleton-ZjKDUWD5.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dv10C6pz.js} +4 -4
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dv10C6pz.js.br +0 -0
  7. package/dist/{CheckoutWindow-DBBmXrsX.js → CheckoutWindow-DXyFRc3f.js} +14 -14
  8. package/dist/CheckoutWindow-DXyFRc3f.js.br +0 -0
  9. package/dist/{ErrorMessage-Dw-TLplp.js → ErrorMessage-CzmACL-t.js} +4 -4
  10. package/dist/ErrorMessage-CzmACL-t.js.br +0 -0
  11. package/dist/EventAvailabilityForm-B6_lpxim.js +452 -0
  12. package/dist/EventAvailabilityForm-B6_lpxim.js.br +0 -0
  13. package/dist/{Field-B4x3qSfU.js → Field-CDhrfFEj.js} +12 -12
  14. package/dist/Field-CDhrfFEj.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BJlxJLmO.js} +1318 -1328
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BJlxJLmO.js.br +0 -0
  17. package/dist/{TermsOfService-DLchxC08.js → TermsOfService-CV3L_dLg.js} +10 -10
  18. package/dist/TermsOfService-CV3L_dLg.js.br +0 -0
  19. package/dist/_-DsHpGwqH.js +12 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-BdZjHOFy.js +68 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-BdZjHOFy.js.br +0 -0
  22. package/dist/_commonjsHelpers-04Qj4xBt.js +9530 -0
  23. package/dist/_commonjsHelpers-04Qj4xBt.js.br +0 -0
  24. package/dist/availability.js +41 -41
  25. package/dist/availability.js.br +0 -0
  26. package/dist/deep-link.js +2 -2
  27. package/dist/event.js +156 -151
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +23 -22
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +58 -57
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-9uCMmY6r.js → giftCard-C8PqkLNd.js} +5 -5
  34. package/dist/giftCard-C8PqkLNd.js.br +0 -0
  35. package/dist/hotel.js +278 -274
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-C4-Uj22v.js → masonry.plugin-BZn5-UMi.js} +166 -166
  38. package/dist/masonry.plugin-BZn5-UMi.js.br +0 -0
  39. package/dist/polyfill.js +727 -725
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/sentry-BSHzssDu.js +18 -0
  42. package/dist/style.css +1 -1
  43. package/dist/style.css.br +0 -0
  44. package/dist/tracing-wxeFiHIa.js +2287 -0
  45. package/dist/tracing-wxeFiHIa.js.br +0 -0
  46. package/package.json +1 -1
  47. package/dist/ActionField-BQQitCzR.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-TZiNrJ8t.js.br +0 -0
  49. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js.br +0 -0
  50. package/dist/CheckoutWindow-DBBmXrsX.js.br +0 -0
  51. package/dist/ErrorMessage-Dw-TLplp.js.br +0 -0
  52. package/dist/EventAvailabilityForm-DimufYUP.js +0 -437
  53. package/dist/EventAvailabilityForm-DimufYUP.js.br +0 -0
  54. package/dist/Field-B4x3qSfU.js.br +0 -0
  55. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js.br +0 -0
  56. package/dist/TermsOfService-DLchxC08.js.br +0 -0
  57. package/dist/_-C7wxqlYk.js +0 -12
  58. package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js +0 -68
  59. package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js.br +0 -0
  60. package/dist/giftCard-9uCMmY6r.js.br +0 -0
  61. package/dist/masonry.plugin-C4-Uj22v.js.br +0 -0
  62. package/dist/tracing-Dm-FNj-F.js +0 -11807
  63. package/dist/tracing-Dm-FNj-F.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,20 +1,20 @@
1
- import { d as X, r as oe, o as c, b as D, w as T, v as Ne, g as a, t as y, u as o, y as ot, z as lt, f as g, a as f, A as F, F as M, e as _, D as Ge, x as N, i as Ce, c as G, p as ht, j as vt, h as Je, q as we, n as Pe, S as Zt, N as Qt, K as eo, O as to, k as oo } from "./tracing-Dm-FNj-F.js";
2
- import { h as ne, s as te, b as ke, z as me, D as de, A as z, R as qe, J as nt, U as re, B as ee, F as lo, _ as ue, k as He, V as yt, l as We, C as pe, j as gt, K as kt, m as Ke, r as at, T as se, I as no, W as ao, a as io, n as so, P as it, X as ro, Y as st, o as uo, p as co, q as po, H as mo, t as fo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js";
3
- import { R as ho, B as Ie, L as vo, S as yo, M as go, a as Fe, C as ko, T as bo, V as _o, G as Vo } from "./masonry.plugin-C4-Uj22v.js";
4
- import { A as To, H as $o } from "./AvailabilitySkeleton-TZiNrJ8t.js";
5
- import { S as Co } from "./TermsOfService-DLchxC08.js";
6
- import { a as Ae, B as wo, P as Po, C as Ao } from "./CheckoutWindow-DBBmXrsX.js";
7
- import { _ as bt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js";
1
+ import { d as X, r as oe, o as c, b as D, w as T, v as Ne, g as a, t as y, u as o, y as ot, z as lt, f as g, a as f, A as F, F as M, e as _, D as Ge, x as N, i as Ce, c as G, p as ht, j as vt, h as xe, q as we, n as Pe, S as Yt, N as Zt, K as eo, O as to, k as oo } from "./_commonjsHelpers-04Qj4xBt.js";
2
+ import { h as ne, s as te, b as ke, y as me, B as de, z, Q as qe, H as nt, R as re, A as ee, D as lo, _ as ue, k as He, U as yt, l as We, C as pe, j as gt, J as kt, m as Ke, r as at, T as se, I as no, V as ao, a as io, n as so, N as it, W as ro, X as st, o as uo, p as co, F as po, q as mo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BJlxJLmO.js";
3
+ import { R as fo, B as Ie, L as ho, S as vo, M as yo, a as Fe, C as go, T as ko, V as bo, G as _o } from "./masonry.plugin-BZn5-UMi.js";
4
+ import { A as Vo, H as To } from "./AvailabilitySkeleton-ZjKDUWD5.js";
5
+ import { S as $o } from "./TermsOfService-CV3L_dLg.js";
6
+ import { a as Ae, B as Co, P as wo, C as Po } from "./CheckoutWindow-DXyFRc3f.js";
7
+ import { _ as bt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dv10C6pz.js";
8
8
  import "./deep-link.js";
9
9
  (function() {
10
10
  try {
11
11
  var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
12
- l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "d02bed4d-aca1-4e42-a188-4129852e0b04", n._sentryDebugIdIdentifier = "sentry-dbid-d02bed4d-aca1-4e42-a188-4129852e0b04");
12
+ l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "78efaa4f-520d-40dc-aa8c-17b7fcbab2e3", n._sentryDebugIdIdentifier = "sentry-dbid-78efaa4f-520d-40dc-aa8c-17b7fcbab2e3");
13
13
  } catch {
14
14
  }
15
15
  })();
16
- const Do = { class: "konnectio-hotel-reservation-warning" }, Ho = { class: "konnectio-hotel-reservation-warning" };
17
- const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnectio-reservation-actions" }, Mo = /* @__PURE__ */ X({
16
+ const Ao = { class: "konnectio-hotel-reservation-warning" }, Do = { class: "konnectio-hotel-reservation-warning" };
17
+ const Ho = { key: 0 }, Io = { key: 1 }, So = { key: 0 }, Bo = { class: "konnectio-reservation-actions" }, Eo = /* @__PURE__ */ X({
18
18
  __name: "HotelReservationForm",
19
19
  props: {
20
20
  showGiftCard: { type: Boolean, default: !1 },
@@ -42,19 +42,19 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
42
42
  currentArrivalDate: C,
43
43
  currentDepartureDate: H,
44
44
  datesMismatch: O,
45
- newsMails: R,
46
- termsOfService: Y,
47
- discountCode: L,
48
- hasTermOfService: x,
49
- acceptTerms: Z,
45
+ newsMails: L,
46
+ termsOfService: Q,
47
+ discountCode: R,
48
+ hasTermOfService: J,
49
+ acceptTerms: Y,
50
50
  totalTemplateAddonPrice: be
51
51
  } = te(me()), { removeRoom: j, validateDiscountCode: he } = me(), ce = oe(!1);
52
52
  function fe(le) {
53
53
  return le.reduce((E, { totalPrice: ve }) => E + ve, 0);
54
54
  }
55
- return (le, q) => (c(), D(ho, {
56
- "discount-code": o(L),
57
- "onUpdate:discountCode": q[4] || (q[4] = (E) => N(L) ? L.value = E : null),
55
+ return (le, q) => (c(), D(fo, {
56
+ "discount-code": o(R),
57
+ "onUpdate:discountCode": q[4] || (q[4] = (E) => N(R) ? R.value = E : null),
58
58
  "validate-discount-code": o(he),
59
59
  "total-price": o(P),
60
60
  "show-gift-card": le.showGiftCard,
@@ -70,7 +70,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
70
70
  a("span", null, y(o(l)("booking.reservation.arrival")), 1),
71
71
  a("b", null, [
72
72
  a("span", null, y(o(e) ? o(de)(o(C)) : `${o(de)(o(C))}, ${o(t) ? o(s) : o(r)}`), 1),
73
- ot(a("span", Do, [
73
+ ot(a("span", Ao, [
74
74
  g(z, {
75
75
  icon: "exclamation-triangle",
76
76
  type: "fas"
@@ -84,7 +84,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
84
84
  a("span", null, y(o(l)("booking.reservation.departure")), 1),
85
85
  a("b", null, [
86
86
  a("span", null, y(o(e) ? o(de)(o(H)) : `${o(de)(o(H))}, ${o(i) ? o(m) : o(d)}`), 1),
87
- ot(a("span", Ho, [
87
+ ot(a("span", Do, [
88
88
  g(z, {
89
89
  icon: "exclamation-triangle",
90
90
  type: "fas"
@@ -142,14 +142,14 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
142
142
  _("", !0)
143
143
  ])
144
144
  ]),
145
- fe(ae.roomAddons) > 0 ? (c(), f("li", Io, [
145
+ fe(ae.roomAddons) > 0 ? (c(), f("li", Ho, [
146
146
  a("span", null, y(o(l)("general.addons")), 1),
147
147
  a("b", null, y(o(ee)(fe(ae.roomAddons), o(u))), 1)
148
148
  ])) : _("", !0)
149
149
  ]))), 128))
150
150
  ]))), 128))
151
151
  ]))), 128)) : _("", !0),
152
- o(S) && o(B) ? (c(), f("div", So, [
152
+ o(S) && o(B) ? (c(), f("div", Io, [
153
153
  a("h6", null, [
154
154
  a("span", null, y(o(re)(o(B).name)), 1)
155
155
  ]),
@@ -163,7 +163,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
163
163
  a("span", null, y(o(ee)(o(S).extraPrice, o(u))), 1)
164
164
  ])
165
165
  ]),
166
- o(be) ? (c(), f("li", Bo, [
166
+ o(be) ? (c(), f("li", So, [
167
167
  a("span", null, y(o(l)("general.addons")), 1),
168
168
  a("b", null, y(o(ee)(o(be), o(u))), 1)
169
169
  ])) : _("", !0)
@@ -172,19 +172,19 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
172
172
  ])) : _("", !0)
173
173
  ]),
174
174
  actions: T(() => [
175
- a("ul", Eo, [
175
+ a("ul", Bo, [
176
176
  o(p) ? _("", !0) : (c(), D(Ae, {
177
177
  key: 0,
178
- modelValue: o(R),
179
- "onUpdate:modelValue": q[0] || (q[0] = (E) => N(R) ? R.value = E : null),
178
+ modelValue: o(L),
179
+ "onUpdate:modelValue": q[0] || (q[0] = (E) => N(L) ? L.value = E : null),
180
180
  type: "checkbox",
181
181
  name: "newsletter",
182
182
  label: o(l)("booking.reservation.newsletterSignUp")
183
183
  }, null, 8, ["modelValue", "label"])),
184
- o(x) ? (c(), D(Ae, {
184
+ o(J) ? (c(), D(Ae, {
185
185
  key: 1,
186
- modelValue: o(Z),
187
- "onUpdate:modelValue": q[2] || (q[2] = (E) => N(Z) ? Z.value = E : null),
186
+ modelValue: o(Y),
187
+ "onUpdate:modelValue": q[2] || (q[2] = (E) => N(Y) ? Y.value = E : null),
188
188
  type: "checkbox",
189
189
  name: "terms"
190
190
  }, {
@@ -208,10 +208,10 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
208
208
  _: 1
209
209
  }, 8, ["modelValue"])) : _("", !0),
210
210
  Ne(le.$slots, "actions", {}, void 0, !0),
211
- g(Co, {
211
+ g($o, {
212
212
  modelValue: ce.value,
213
213
  "onUpdate:modelValue": q[3] || (q[3] = (E) => ce.value = E),
214
- description: o(Y)
214
+ description: o(Q)
215
215
  }, null, 8, ["modelValue", "description"])
216
216
  ])
217
217
  ]),
@@ -221,7 +221,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
221
221
  _: 3
222
222
  }, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
223
223
  }
224
- }), Oe = /* @__PURE__ */ ue(Mo, [["__scopeId", "data-v-f47e4ac5"]]), Uo = (n) => (ht("data-v-69fe83d8"), n = n(), vt(), n), Ro = { class: "konnectio-room-config-option" }, Lo = { key: 0 }, No = { class: "konnectio-selected-room-config" }, Fo = { class: "konnectio-selected-room-config-people" }, Oo = { key: 0 }, jo = { class: "konnectio-selected-room-config-price" }, Go = /* @__PURE__ */ Uo(() => /* @__PURE__ */ a("span", null, null, -1)), qo = /* @__PURE__ */ X({
224
+ }), Oe = /* @__PURE__ */ ue(Eo, [["__scopeId", "data-v-f47e4ac5"]]), Mo = (n) => (ht("data-v-69fe83d8"), n = n(), vt(), n), Uo = { class: "konnectio-room-config-option" }, Lo = { key: 0 }, Ro = { class: "konnectio-selected-room-config" }, No = { class: "konnectio-selected-room-config-people" }, Fo = { key: 0 }, Oo = { class: "konnectio-selected-room-config-price" }, jo = /* @__PURE__ */ Mo(() => /* @__PURE__ */ a("span", null, null, -1)), Go = /* @__PURE__ */ X({
225
225
  __name: "RoomConfigField",
226
226
  props: {
227
227
  modelValue: {},
@@ -254,7 +254,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
254
254
  searchable: !1
255
255
  }, {
256
256
  option: T(({ data: d }) => [
257
- a("span", Ro, [
257
+ a("span", Uo, [
258
258
  a("div", null, [
259
259
  g(z, {
260
260
  icon: "male",
@@ -275,19 +275,19 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
275
275
  ])
276
276
  ]),
277
277
  "selected-option": T(({ data: d }) => [
278
- a("div", No, [
279
- a("div", Fo, [
278
+ a("div", Ro, [
279
+ a("div", No, [
280
280
  a("div", null, [
281
281
  _("", !0),
282
282
  a("span", null, y(`${d.adults} ${d.adults === 1 ? o(e)("general.adult") : o(e)("general.adults")}`), 1)
283
283
  ]),
284
- d.children > 0 ? (c(), f("div", Oo, [
284
+ d.children > 0 ? (c(), f("div", Fo, [
285
285
  _("", !0),
286
286
  a("span", null, y(`& ${d.children} ${d.children === 1 ? o(e)("general.child") : o(e)("general.children")}`), 1)
287
287
  ])) : _("", !0)
288
288
  ]),
289
- a("div", jo, [
290
- Go,
289
+ a("div", Oo, [
290
+ jo,
291
291
  Ge(" " + y(`(${o(ee)(d.price, o(t))})`), 1)
292
292
  ])
293
293
  ])
@@ -295,8 +295,8 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
295
295
  _: 1
296
296
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
297
297
  }
298
- }), Wo = /* @__PURE__ */ ue(qo, [["__scopeId", "data-v-69fe83d8"]]), Ko = { class: "konnectio-availability-listing-selection" }, zo = { key: 1 }, xo = { class: "konnectio-listing-config-body" }, Jo = { class: "konnectio-listing-units-body" };
299
- const Yo = /* @__PURE__ */ X({
298
+ }), qo = /* @__PURE__ */ ue(Go, [["__scopeId", "data-v-69fe83d8"]]), Wo = { class: "konnectio-availability-listing-selection" }, Ko = { key: 1 }, zo = { class: "konnectio-listing-config-body" }, Jo = { class: "konnectio-listing-units-body" };
299
+ const xo = /* @__PURE__ */ X({
300
300
  __name: "Hotel",
301
301
  props: {
302
302
  room: {},
@@ -338,19 +338,19 @@ const Yo = /* @__PURE__ */ X({
338
338
  }]
339
339
  });
340
340
  }
341
- Je(() => {
341
+ xe(() => {
342
342
  S();
343
343
  });
344
344
  const B = G(() => JSON.parse(JSON.stringify(t.value)));
345
345
  return we(B, (k, C) => {
346
346
  C.length > 0 && k.forEach((H, O) => {
347
- H.config.forEach((R, Y) => {
348
- const L = R.units, x = C[O].config[Y].units;
349
- L !== x && (L > x ? (t.value[O].config[Y].addons.push({}), u({
347
+ H.config.forEach((L, Q) => {
348
+ const R = L.units, J = C[O].config[Q].units;
349
+ R !== J && (R > J ? (t.value[O].config[Q].addons.push({}), u({
350
350
  id: e.room.id,
351
351
  name: e.room.title,
352
352
  value: e.room.rates[O].rackRate
353
- })) : (t.value[O].config[Y].addons.pop(), r({
353
+ })) : (t.value[O].config[Q].addons.pop(), r({
354
354
  id: e.room.id,
355
355
  name: e.room.title,
356
356
  value: e.room.rates[O].rackRate
@@ -371,7 +371,7 @@ const Yo = /* @__PURE__ */ X({
371
371
  "includes-breakfast": h.value
372
372
  }, {
373
373
  action: T(() => [
374
- a("div", Ko, [
374
+ a("div", Wo, [
375
375
  (c(!0), f(M, null, F(t.value, (H, O) => (c(), f("div", {
376
376
  key: H.id,
377
377
  class: "freshbooking-hotel-room"
@@ -379,47 +379,47 @@ const Yo = /* @__PURE__ */ X({
379
379
  $.value ? (c(), D(He, {
380
380
  key: 0,
381
381
  modelValue: H.id,
382
- "onUpdate:modelValue": (R) => H.id = R,
382
+ "onUpdate:modelValue": (L) => H.id = L,
383
383
  label: o(l)("hotel.roomVariant"),
384
384
  placeholder: o(l)("hotel.chooseARoomVariant"),
385
385
  options: s.value,
386
386
  searchable: !1
387
387
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
388
- H.id ? (c(), f("div", zo, [
388
+ H.id ? (c(), f("div", Ko, [
389
389
  (c(!0), f(M, null, F(k.room.rates, ({
390
- id: R,
391
- maximumOccupants: Y
390
+ id: L,
391
+ maximumOccupants: Q
392
392
  }) => (c(), f("div", {
393
- key: R,
393
+ key: L,
394
394
  class: "konnectio-listing-action-selective-i"
395
395
  }, [
396
- H.id === R ? (c(!0), f(M, { key: 0 }, F(H.config, (L, x) => (c(), f("div", {
397
- key: x,
396
+ H.id === L ? (c(!0), f(M, { key: 0 }, F(H.config, (R, J) => (c(), f("div", {
397
+ key: J,
398
398
  class: "konnectio-listing-action-selective"
399
399
  }, [
400
- a("ul", xo, [
401
- g(Wo, {
402
- modelValue: L.id,
403
- "onUpdate:modelValue": (Z) => L.id = Z,
400
+ a("ul", zo, [
401
+ g(qo, {
402
+ modelValue: R.id,
403
+ "onUpdate:modelValue": (Y) => R.id = Y,
404
404
  icon: "male",
405
405
  "icon-type": "fas",
406
406
  label: o(l)("general.guests"),
407
- description: `${o(l)("general.maximumGuests")}: ${Y}`,
408
- options: P(R),
409
- readonly: !(P(R).length > 1)
407
+ description: `${o(l)("general.maximumGuests")}: ${Q}`,
408
+ options: P(L),
409
+ readonly: !(P(L).length > 1)
410
410
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
411
411
  ]),
412
412
  a("ul", Jo, [
413
413
  g(We, {
414
- modelValue: L.units,
415
- "onUpdate:modelValue": (Z) => L.units = Z,
416
- description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${V(H.id, L.id)}`,
414
+ modelValue: R.units,
415
+ "onUpdate:modelValue": (Y) => R.units = Y,
416
+ description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${V(H.id, R.id)}`,
417
417
  icon: "house",
418
418
  "icon-type": "fas",
419
419
  "icon-placement": "label",
420
420
  label: o(l)("booking.availability.units"),
421
421
  minValue: 0,
422
- "max-value": V(R, L.id) || 1 / 0
422
+ "max-value": V(L, R.id) || 1 / 0
423
423
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
424
424
  ]),
425
425
  _("", !0)
@@ -432,7 +432,7 @@ const Yo = /* @__PURE__ */ X({
432
432
  _: 1
433
433
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
434
434
  }
435
- }), Xo = /* @__PURE__ */ ue(Yo, [["__scopeId", "data-v-090cdca2"]]), Zo = { class: "konnectio-template-side-panel" }, Qo = { class: "konnectio-template-side-panel-listings" }, el = /* @__PURE__ */ X({
435
+ }), Qo = /* @__PURE__ */ ue(xo, [["__scopeId", "data-v-090cdca2"]]), Xo = { class: "konnectio-template-side-panel" }, Yo = { class: "konnectio-template-side-panel-listings" }, Zo = /* @__PURE__ */ X({
436
436
  __name: "Template",
437
437
  props: {
438
438
  title: {},
@@ -451,13 +451,13 @@ const Yo = /* @__PURE__ */ X({
451
451
  function d(h) {
452
452
  e.value = p.templateId, t.value = h, m(), p.hideAddons === "yes" || i.value ? p.callback(2) : p.callback(1);
453
453
  }
454
- return (h, V) => (c(), D(wo, {
454
+ return (h, V) => (c(), D(Co, {
455
455
  title: h.title,
456
456
  subtitle: o(l)("booking.availability.selectATemplateRoom")
457
457
  }, {
458
458
  default: T(() => [
459
- a("div", Zo, [
460
- a("div", Qo, [
459
+ a("div", Xo, [
460
+ a("div", Yo, [
461
461
  (c(!0), f(M, null, F(r.value, ({
462
462
  id: P,
463
463
  title: $,
@@ -492,7 +492,7 @@ const Yo = /* @__PURE__ */ X({
492
492
  _: 1
493
493
  }, 8, ["title", "subtitle"]));
494
494
  }
495
- }), _t = /* @__PURE__ */ ue(el, [["__scopeId", "data-v-35a96ba4"]]), tl = ["innerHTML"], ol = { class: "konnectio-template-select-package" }, ll = /* @__PURE__ */ X({
495
+ }), _t = /* @__PURE__ */ ue(Zo, [["__scopeId", "data-v-35a96ba4"]]), el = ["innerHTML"], tl = { class: "konnectio-template-select-package" }, ol = /* @__PURE__ */ X({
496
496
  __name: "Template",
497
497
  props: {
498
498
  id: {},
@@ -537,10 +537,10 @@ const Yo = /* @__PURE__ */ X({
537
537
  u.description ? (c(), f("p", {
538
538
  key: 0,
539
539
  innerHTML: o(gt)(u.description)
540
- }, null, 8, tl)) : _("", !0)
540
+ }, null, 8, el)) : _("", !0)
541
541
  ]),
542
542
  action: T(() => [
543
- a("div", ol, [
543
+ a("div", tl, [
544
544
  g(pe, {
545
545
  onClickEvent: m,
546
546
  label: o(l)("booking.availability.selectPackage"),
@@ -562,7 +562,7 @@ const Yo = /* @__PURE__ */ X({
562
562
  _: 1
563
563
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
564
564
  }
565
- }), nl = ["innerHTML"], al = { class: "konnectio-special-offer-availability" }, il = { class: "konnectio-special-offer-availability-button" }, sl = /* @__PURE__ */ X({
565
+ }), ll = ["innerHTML"], nl = { class: "konnectio-special-offer-availability" }, al = { class: "konnectio-special-offer-availability-button" }, il = /* @__PURE__ */ X({
566
566
  __name: "SpecialOffer",
567
567
  props: {
568
568
  id: {},
@@ -588,7 +588,7 @@ const Yo = /* @__PURE__ */ X({
588
588
  function r() {
589
589
  e(i.value[0], i.value[1]);
590
590
  }
591
- return Je(() => {
591
+ return xe(() => {
592
592
  s.value && (i.value = [new Date(t.fromDate), new Date(t.toDate)]);
593
593
  }), (d, h) => (c(), D(Ie, {
594
594
  "listing-id": d.id,
@@ -605,10 +605,10 @@ const Yo = /* @__PURE__ */ X({
605
605
  d.description ? (c(), f("p", {
606
606
  key: 0,
607
607
  innerHTML: o(gt)(d.description)
608
- }, null, 8, nl)) : _("", !0)
608
+ }, null, 8, ll)) : _("", !0)
609
609
  ]),
610
610
  action: T(() => [
611
- a("div", al, [
611
+ a("div", nl, [
612
612
  g(bt, {
613
613
  modelValue: i.value,
614
614
  "onUpdate:modelValue": h[0] || (h[0] = (V) => i.value = V),
@@ -623,7 +623,7 @@ const Yo = /* @__PURE__ */ X({
623
623
  readonly: s.value,
624
624
  range: ""
625
625
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
626
- a("div", il, [
626
+ a("div", al, [
627
627
  g(pe, {
628
628
  label: o(l)("availability.buttonLabel"),
629
629
  onClick: Ce(r, ["prevent"])
@@ -691,7 +691,7 @@ const Yo = /* @__PURE__ */ X({
691
691
  readonly: m.readonly
692
692
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
693
693
  }
694
- }), rl = { style: { display: "flex", "align-items": "baseline" } }, dl = /* @__PURE__ */ X({
694
+ }), sl = { style: { display: "flex", "align-items": "baseline" } }, rl = /* @__PURE__ */ X({
695
695
  __name: "CountryField",
696
696
  props: {
697
697
  modelValue: {},
@@ -728,7 +728,7 @@ const Yo = /* @__PURE__ */ X({
728
728
  a("span", null, y(r.name), 1)
729
729
  ]),
730
730
  "selected-option": T(({ data: r }) => [
731
- a("div", rl, [
731
+ a("div", sl, [
732
732
  a("i", {
733
733
  class: Pe(["konnectio-flag-icon", r.iso])
734
734
  }, null, 2),
@@ -738,7 +738,7 @@ const Yo = /* @__PURE__ */ X({
738
738
  _: 1
739
739
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
740
740
  }
741
- }), ul = /* @__PURE__ */ ue(dl, [["__scopeId", "data-v-1462612d"]]), cl = /* @__PURE__ */ X({
741
+ }), dl = /* @__PURE__ */ ue(rl, [["__scopeId", "data-v-1462612d"]]), ul = /* @__PURE__ */ X({
742
742
  __name: "NameField",
743
743
  props: {
744
744
  modelValue: {},
@@ -768,7 +768,7 @@ const Yo = /* @__PURE__ */ X({
768
768
  t("update:title", r);
769
769
  });
770
770
  const { t: u } = ne();
771
- return Je(() => {
771
+ return xe(() => {
772
772
  e.modelValue && (s.value = e.modelValue), e.title && (m.value = e.title);
773
773
  }), (r, d) => (c(), D(no, {
774
774
  label: r.label,
@@ -842,58 +842,58 @@ const Yo = /* @__PURE__ */ X({
842
842
  _: 1
843
843
  }, 8, ["label", "id", "required", "readonly", "limit"]));
844
844
  }
845
- }), pl = /* @__PURE__ */ ue(cl, [["__scopeId", "data-v-78b0b319"]]), ml = { class: "hotel-skeleton" }, fl = { class: "hotel-skeleton-content" }, hl = { class: "hotel-skeleton-sidebar" }, vl = /* @__PURE__ */ X({
845
+ }), cl = /* @__PURE__ */ ue(ul, [["__scopeId", "data-v-78b0b319"]]), pl = { class: "hotel-skeleton" }, ml = { class: "hotel-skeleton-content" }, fl = { class: "hotel-skeleton-sidebar" }, hl = /* @__PURE__ */ X({
846
846
  __name: "HotelSkeleton",
847
847
  setup(n) {
848
- return (l, e) => (c(), f("div", ml, [
848
+ return (l, e) => (c(), f("div", pl, [
849
+ a("div", ml, [
850
+ g(Vo, { hotel: "" }),
851
+ g(ho)
852
+ ]),
849
853
  a("div", fl, [
850
- g(To, { hotel: "" }),
851
854
  g(vo)
852
- ]),
853
- a("div", hl, [
854
- g(yo)
855
855
  ])
856
856
  ]));
857
857
  }
858
- }), yl = /* @__PURE__ */ ue(vl, [["__scopeId", "data-v-1bb21da4"]]), Ye = (n) => (ht("data-v-27fc0ab8"), n = n(), vt(), n), gl = { id: "booking-availability-container" }, kl = { id: "booking-availability-controls" };
859
- const bl = { key: 1 }, _l = { key: 0 }, Vl = {
858
+ }), vl = /* @__PURE__ */ ue(hl, [["__scopeId", "data-v-1bb21da4"]]), Qe = (n) => (ht("data-v-7c81f13f"), n = n(), vt(), n), yl = { id: "booking-availability-container" }, gl = { id: "booking-availability-controls" };
859
+ const kl = { key: 1 }, bl = { key: 0 }, _l = {
860
860
  key: 0,
861
861
  id: "booking-availability-packages"
862
- }, Tl = {
862
+ }, Vl = {
863
863
  key: 0,
864
864
  class: "konnectio-hotel-availability-title"
865
- }, $l = { id: "booking-availability-packages-wrapper" }, Cl = { key: 1 }, wl = {
865
+ }, Tl = { id: "booking-availability-packages-wrapper" }, $l = { key: 1 }, Cl = {
866
866
  key: 0,
867
867
  class: "konnectio-hotel-availability-title"
868
- }, Pl = { id: "konnectio-listings" }, Al = {
868
+ }, wl = { id: "konnectio-listings" }, Pl = {
869
869
  key: 2,
870
870
  id: "booking-availability-packages"
871
- }, Dl = {
871
+ }, Al = {
872
872
  key: 0,
873
873
  class: "konnectio-hotel-availability-title"
874
- }, Hl = { id: "booking-availability-packages-wrapper" }, Il = {
874
+ }, Dl = { id: "booking-availability-packages-wrapper" }, Hl = {
875
875
  key: 3,
876
876
  id: "booking-availability-no-listings",
877
877
  class: "konnectio-panel"
878
- }, Sl = {
878
+ }, Il = {
879
879
  key: 1,
880
880
  id: "booking-availability-no-listings"
881
- }, Bl = {
881
+ }, Sl = {
882
882
  key: 2,
883
883
  id: "reservation-availability-next-dates"
884
- }, El = { class: "konnectio-hotel-availability-title" }, Ml = { class: "reservation-special-offers-grid" }, Ul = ["title"];
885
- const Rl = {
884
+ }, Bl = { class: "konnectio-hotel-availability-title" }, El = { class: "reservation-special-offers-grid" }, Ml = ["title"];
885
+ const Ul = {
886
886
  key: 2,
887
887
  class: "konnectio-listing-loading"
888
- }, Ll = { class: "konnectio-panel" }, Nl = {
888
+ }, Ll = { class: "konnectio-panel" }, Rl = {
889
889
  key: 0,
890
890
  id: "konnectio-hotel-addons"
891
891
  };
892
- const Fl = { class: "konnectio-event-addons-price" }, Ol = { key: 1 }, jl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("br", null, null, -1)), Gl = { class: "konnectio-hotel-addons-option" }, ql = {
892
+ const Nl = { class: "konnectio-event-addons-price" }, Fl = { key: 1 }, Ol = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("br", null, null, -1)), jl = { class: "konnectio-hotel-addons-option" }, Gl = {
893
893
  key: 1,
894
894
  id: "konnectio-hotel-addons"
895
- }, Wl = { class: "konnectio-table with-lines" };
896
- const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), zl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("br", null, null, -1)), xl = { class: "konnectio-hotel-addons-option" }, Jl = ["onClick"], Yl = { class: "konnectio-panel" }, Xl = { key: 0 }, Zl = { key: 1 }, Ql = { class: "konnectio-split-inputs" }, en = ["onClick"], tn = /* @__PURE__ */ X({
895
+ }, ql = { class: "konnectio-table with-lines" };
896
+ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Kl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("br", null, null, -1)), zl = { class: "konnectio-hotel-addons-option" }, Jl = ["onClick"], xl = { class: "konnectio-panel" }, Ql = { key: 0 }, Xl = { key: 1 }, Yl = { class: "konnectio-split-inputs" }, Zl = ["onClick"], en = /* @__PURE__ */ X({
897
897
  name: "HotelLayout",
898
898
  __name: "Hotel",
899
899
  props: {
@@ -901,10 +901,11 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
901
901
  headerLayout: { default: ao.Minimal },
902
902
  onlyShow: { default: "everything" },
903
903
  hideAddons: { default: "no" },
904
+ selectedLocation: {},
904
905
  styling: {}
905
906
  },
906
907
  setup(n) {
907
- const l = Qt(() => import("./_-C7wxqlYk.js")), e = n, { t } = ne(), {
908
+ const l = Zt(() => import("./_-DsHpGwqH.js")), e = n, { t } = ne(), {
908
909
  templateID: i,
909
910
  templateAddons: s,
910
911
  countries: m,
@@ -922,11 +923,11 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
922
923
  postal: C,
923
924
  city: H,
924
925
  address: O,
925
- country: R,
926
- remark: Y,
927
- allergies: L,
928
- roomSelect: x,
929
- roomDisplay: Z,
926
+ country: L,
927
+ remark: Q,
928
+ allergies: R,
929
+ roomSelect: J,
930
+ roomDisplay: Y,
930
931
  hasValidRoomSelection: be,
931
932
  availabilityData: j,
932
933
  selectionHasNoAddons: he,
@@ -941,7 +942,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
941
942
  departureDate: _e
942
943
  } = te(Ke()), { isValidHotelId: Be, updateDates: ae } = Ke(), {
943
944
  currency: ye,
944
- arrivalEarliest: Ze,
945
+ arrivalEarliest: Ye,
945
946
  arrivalLatest: wt,
946
947
  departureEarliest: Pt,
947
948
  departureLatest: At,
@@ -954,11 +955,11 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
954
955
  disableTravelingForBleasure: Bt,
955
956
  disableCompanyField: Et,
956
957
  hasPaymentGateway: Mt,
957
- maxAdultAmount: Qe,
958
+ maxAdultAmount: Ze,
958
959
  maxChildAmount: et
959
960
  } = te(ke()), { beginCheckout: Ut } = yt(), { display: Ue } = io(), {
960
- resetTemplate: Rt,
961
- resetDiscountVoucher: Lt,
961
+ resetTemplate: Lt,
962
+ resetDiscountVoucher: Rt,
962
963
  createReservation: Nt,
963
964
  fetchMetadata: Ft,
964
965
  fetchAvailabilityData: Ot
@@ -984,32 +985,32 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
984
985
  }
985
986
  return b.sort(w);
986
987
  }), Wt = G(() => [[
987
- parseInt(Ze.value.split(":")[0]),
988
+ parseInt(Ye.value.split(":")[0]),
988
989
  parseInt(wt.value.split(":")[0])
989
990
  ]]), Kt = G(() => [[
990
991
  parseInt(Pt.value.split(":")[0]),
991
992
  parseInt(At.value.split(":")[0])
992
993
  ]]);
993
994
  function tt(b) {
994
- e.hideAddons === "yes" || he.value ? b(2) : b(), Lt();
995
+ e.hideAddons === "yes" || he.value ? b(2) : b(), Rt();
995
996
  }
996
997
  async function zt(b) {
997
998
  await Nt(b);
998
999
  }
999
- function xt(b) {
1000
+ function Jt(b) {
1000
1001
  Dt.value && Ut(), e.hideAddons === "yes" || he.value ? b(2) : b();
1001
1002
  }
1002
- function Jt() {
1003
+ function xt() {
1003
1004
  const b = ro("hash-params", {
1004
1005
  removeNullishValues: !0
1005
1006
  }), w = parseInt(b.adults), W = parseInt(b.children), A = parseInt(b.hId), v = b.checkin, K = b.checkout, U = b.roomGroupId;
1006
- if (isNaN(w) || (w > Qe.value ? q.value = Qe.value : q.value = w, b.adults = void 0), isNaN(W) || (W > et.value ? E.value = et.value : E.value = W, b.children = void 0), isNaN(A) || (Be(A) ? (ve.value = A, b.hId = void 0) : Ue({
1007
+ if (isNaN(w) || (w > Ze.value ? q.value = Ze.value : q.value = w, b.adults = void 0), isNaN(W) || (W > et.value ? E.value = et.value : E.value = W, b.children = void 0), isNaN(A) || (Be(A) ? (ve.value = A, b.hId = void 0) : Ue({
1007
1008
  message: "Hotel ID: not found",
1008
1009
  type: "error"
1009
1010
  })), v && K)
1010
1011
  if (st(v) && st(K)) {
1011
- const Q = new Date(v), J = new Date(K);
1012
- Q <= J ? (Se.value = Q, _e.value = J, b.checkin = void 0, b.checkout = void 0) : Ue({
1012
+ const Z = new Date(v), x = new Date(K);
1013
+ Z <= x ? (Se.value = Z, _e.value = x, b.checkin = void 0, b.checkout = void 0) : Ue({
1013
1014
  message: "Invalid date range",
1014
1015
  type: "error"
1015
1016
  });
@@ -1023,7 +1024,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1023
1024
  }
1024
1025
  return (b, w) => (c(), D(so, { styling: b.styling }, {
1025
1026
  default: T(() => [
1026
- (c(), D(Zt, { onResolve: Jt }, {
1027
+ (c(), D(Yt, { onResolve: xt }, {
1027
1028
  default: T(() => [
1028
1029
  g(o(l), {
1029
1030
  id: "konnectio-hotel-module",
@@ -1031,22 +1032,25 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1031
1032
  callback: o(Ft)
1032
1033
  }, {
1033
1034
  default: T(() => [
1034
- g(go, {
1035
+ g(yo, {
1035
1036
  layout: b.headerLayout,
1036
- onReset: o(Rt)
1037
+ onReset: o(Lt)
1037
1038
  }, {
1038
1039
  availability: T(({ next: W }) => [
1039
1040
  g(Oe, null, {
1040
1041
  form: T(() => [
1041
- a("div", gl, [
1042
- a("div", kl, [
1043
- g($o, { booking: !0 })
1042
+ a("div", yl, [
1043
+ a("div", gl, [
1044
+ g(To, {
1045
+ booking: !0,
1046
+ "selected-location": Number(b.selectedLocation)
1047
+ }, null, 8, ["selected-location"])
1044
1048
  ]),
1045
1049
  _("", !0),
1046
- !o(p) && o(ce) ? (c(), f("div", bl, [
1047
- o(j).roomGroups.length > 0 || o(j).templates.length > 0 || o(j).specialTemplates.length > 0 ? (c(), f("div", _l, [
1048
- o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Vl, [
1049
- b.onlyShow !== "packages" ? (c(), f("h2", Tl, [
1050
+ !o(p) && o(ce) ? (c(), f("div", kl, [
1051
+ o(j).roomGroups.length > 0 || o(j).templates.length > 0 || o(j).specialTemplates.length > 0 ? (c(), f("div", bl, [
1052
+ o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", _l, [
1053
+ b.onlyShow !== "packages" ? (c(), f("h2", Vl, [
1050
1054
  g(z, {
1051
1055
  icon: "box",
1052
1056
  type: "fal",
@@ -1054,29 +1058,29 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1054
1058
  }),
1055
1059
  a("span", null, y(o(t)("booking.availability.packagesTitle")), 1)
1056
1060
  ])) : _("", !0),
1057
- a("ul", $l, [
1061
+ a("ul", Tl, [
1058
1062
  (c(!0), f(M, null, F(o(j).templates, ({
1059
1063
  id: A,
1060
1064
  name: v,
1061
1065
  templateRoomGroups: K,
1062
1066
  image: U,
1063
1067
  description: I,
1064
- weekendFee: Q
1065
- }) => (c(), D(ll, {
1068
+ weekendFee: Z
1069
+ }) => (c(), D(ol, {
1066
1070
  key: A,
1067
1071
  id: A,
1068
1072
  description: I,
1069
1073
  name: v,
1070
1074
  image: U,
1071
- weekendFee: Q,
1075
+ weekendFee: Z,
1072
1076
  "room-groups": K,
1073
1077
  callback: W,
1074
1078
  "hide-addons": b.hideAddons
1075
1079
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
1076
1080
  ])
1077
1081
  ])) : _("", !0),
1078
- o(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), f("div", Cl, [
1079
- o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("h2", wl, [
1082
+ o(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), f("div", $l, [
1083
+ o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("h2", Cl, [
1080
1084
  g(z, {
1081
1085
  icon: "house",
1082
1086
  type: "fal",
@@ -1084,15 +1088,15 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1084
1088
  }),
1085
1089
  a("span", null, y(o(t)("booking.availability.roomsTitle")), 1)
1086
1090
  ])) : _("", !0),
1087
- a("ul", Pl, [
1088
- (c(!0), f(M, null, F(qt.value, (A, v) => (c(), D(Xo, {
1091
+ a("ul", wl, [
1092
+ (c(!0), f(M, null, F(qt.value, (A, v) => (c(), D(Qo, {
1089
1093
  room: A,
1090
1094
  key: v
1091
1095
  }, null, 8, ["room"]))), 128))
1092
1096
  ])
1093
1097
  ])) : _("", !0),
1094
- o(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Al, [
1095
- b.onlyShow !== "packages" ? (c(), f("h2", Dl, [
1098
+ o(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Pl, [
1099
+ b.onlyShow !== "packages" ? (c(), f("h2", Al, [
1096
1100
  g(z, {
1097
1101
  icon: "sparkles",
1098
1102
  type: "fal",
@@ -1100,37 +1104,37 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1100
1104
  }),
1101
1105
  a("span", null, y(o(t)("hotel.specialOffers")), 1)
1102
1106
  ])) : _("", !0),
1103
- a("ul", Hl, [
1107
+ a("ul", Dl, [
1104
1108
  (c(!0), f(M, null, F(o(j).specialTemplates, ({
1105
1109
  id: A,
1106
1110
  name: v,
1107
1111
  templateRoomGroups: K,
1108
1112
  image: U,
1109
1113
  description: I,
1110
- weekendFee: Q,
1111
- fromDate: J,
1112
- toDate: Re
1113
- }) => (c(), D(sl, {
1114
+ weekendFee: Z,
1115
+ fromDate: x,
1116
+ toDate: Le
1117
+ }) => (c(), D(il, {
1114
1118
  key: A,
1115
1119
  id: A,
1116
1120
  description: I,
1117
1121
  name: v,
1118
1122
  image: U,
1119
- fromDate: J,
1120
- toDate: Re,
1121
- weekendFee: Q,
1123
+ fromDate: x,
1124
+ toDate: Le,
1125
+ weekendFee: Z,
1122
1126
  "room-groups": K,
1123
1127
  callback: W
1124
1128
  }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
1125
1129
  ])
1126
1130
  ])) : _("", !0),
1127
- (o(j).templates.length === 0 && b.onlyShow !== "rooms" || o(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div", Il, [
1131
+ (o(j).templates.length === 0 && b.onlyShow !== "rooms" || o(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div", Hl, [
1128
1132
  a("span", null, y(o(t)("booking.availability.nothingAvailable")), 1)
1129
1133
  ])) : _("", !0)
1130
- ])) : o(j).nextAvailableDates.length === 0 ? (c(), f("div", Sl, [
1134
+ ])) : o(j).nextAvailableDates.length === 0 ? (c(), f("div", Il, [
1131
1135
  a("span", null, y(o(t)("booking.availability.nothingAvailable")), 1)
1132
- ])) : (c(), f("div", Bl, [
1133
- a("h2", El, [
1136
+ ])) : (c(), f("div", Sl, [
1137
+ a("h2", Bl, [
1134
1138
  g(z, {
1135
1139
  icon: "calendar-circle-exclamation",
1136
1140
  type: "fal",
@@ -1138,13 +1142,13 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1138
1142
  }),
1139
1143
  a("span", null, y(o(t)("booking.availability.nextAvailableDates")), 1)
1140
1144
  ]),
1141
- a("ul", Ml, [
1145
+ a("ul", El, [
1142
1146
  (c(!0), f(M, null, F(o(j).nextAvailableDates, (A, v) => (c(), f("li", { key: v }, [
1143
1147
  a("h3", {
1144
1148
  title: `${o(de)(A.fromDate)} - ${o(de)(A.toDate)}`
1145
1149
  }, [
1146
1150
  a("span", null, y(`${o(de)(A.fromDate)} - ${o(de)(A.toDate)}`), 1)
1147
- ], 8, Ul),
1151
+ ], 8, Ml),
1148
1152
  a("ul", null, [
1149
1153
  _("", !0),
1150
1154
  a("li", null, [
@@ -1164,7 +1168,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1164
1168
  ]))), 128))
1165
1169
  ])
1166
1170
  ]))
1167
- ])) : (c(), f("div", Rl, [
1171
+ ])) : (c(), f("div", Ul, [
1168
1172
  g(Fe),
1169
1173
  g(Fe),
1170
1174
  g(Fe)
@@ -1177,7 +1181,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1177
1181
  disabled: !o(be),
1178
1182
  "is-loading": !1,
1179
1183
  "full-width": "",
1180
- onClickEvent: (A) => xt(W)
1184
+ onClickEvent: (A) => Jt(W)
1181
1185
  }, null, 8, ["label", "disabled", "onClickEvent"])
1182
1186
  ]),
1183
1187
  _: 2
@@ -1191,8 +1195,8 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1191
1195
  a("span", null, y(o(t)("booking.reservation.addons")), 1)
1192
1196
  ]),
1193
1197
  a("div", null, [
1194
- isNaN(o(i)) ? (c(), f("div", Nl, [
1195
- (c(!0), f(M, null, F(o(Z), (v) => (c(), f("ul", {
1198
+ isNaN(o(i)) ? (c(), f("div", Rl, [
1199
+ (c(!0), f(M, null, F(o(Y), (v) => (c(), f("ul", {
1196
1200
  key: v.roomGroupID
1197
1201
  }, [
1198
1202
  (c(!0), f(M, null, F(v.variants, (K, U) => (c(), f("li", {
@@ -1201,8 +1205,8 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1201
1205
  a("h4", null, [
1202
1206
  a("span", null, y(o(re)(v.title)), 1)
1203
1207
  ]),
1204
- (c(!0), f(M, null, F(K.rooms, (I, Q) => (c(), f("table", {
1205
- key: Q,
1208
+ (c(!0), f(M, null, F(K.rooms, (I, Z) => (c(), f("table", {
1209
+ key: Z,
1206
1210
  class: "konnectio-table with-lines"
1207
1211
  }, [
1208
1212
  a("thead", null, [
@@ -1211,7 +1215,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1211
1215
  a("span", null, y(o(re)(K.name)), 1)
1212
1216
  ]),
1213
1217
  _("", !0),
1214
- a("th", Fl, [
1218
+ a("th", Nl, [
1215
1219
  a("b", null, [
1216
1220
  g(z, {
1217
1221
  icon: "male",
@@ -1225,37 +1229,37 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1225
1229
  type: "fas",
1226
1230
  color: "font"
1227
1231
  })) : _("", !0),
1228
- I.childrenCount > 0 ? (c(), f("span", Ol, y(I.childrenCount), 1)) : _("", !0)
1232
+ I.childrenCount > 0 ? (c(), f("span", Fl, y(I.childrenCount), 1)) : _("", !0)
1229
1233
  ])
1230
1234
  ])
1231
1235
  ])
1232
1236
  ]),
1233
1237
  a("tbody", null, [
1234
1238
  (c(!0), f(M, null, F(v.addons, ({
1235
- quantityStrategy: J,
1236
- maximumNumber: Re,
1239
+ quantityStrategy: x,
1240
+ maximumNumber: Le,
1237
1241
  id: ge,
1238
- name: Yt,
1242
+ name: Qt,
1239
1243
  price: Xt
1240
1244
  }) => (c(), f("tr", { key: ge }, [
1241
1245
  a("td", null, [
1242
- a("b", null, y(o(re)(Yt)), 1),
1243
- jl,
1244
- a("span", null, y(o(ee)(Xt, o(ye))) + " " + y(o(it)(J)), 1)
1246
+ a("b", null, y(o(re)(Qt)), 1),
1247
+ Ol,
1248
+ a("span", null, y(o(ee)(Xt, o(ye))) + " " + y(o(it)(x)), 1)
1245
1249
  ]),
1246
- a("td", Gl, [
1247
- o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx] ? (c(), f(M, { key: 0 }, [
1248
- J === 1 || J === 12 ? (c(), D(We, {
1250
+ a("td", jl, [
1251
+ o(J)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx] ? (c(), f(M, { key: 0 }, [
1252
+ x === 1 || x === 12 ? (c(), D(We, {
1249
1253
  key: 0,
1250
- modelValue: o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge],
1251
- "onUpdate:modelValue": (Le) => o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge] = Le,
1254
+ modelValue: o(J)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge],
1255
+ "onUpdate:modelValue": (Re) => o(J)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge] = Re,
1252
1256
  small: !0,
1253
1257
  "min-value": 0,
1254
- "max-value": Re || 1 / 0
1258
+ "max-value": Le || 1 / 0
1255
1259
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), D(Ae, {
1256
1260
  key: 1,
1257
- modelValue: o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge],
1258
- "onUpdate:modelValue": (Le) => o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge] = Le,
1261
+ modelValue: o(J)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge],
1262
+ "onUpdate:modelValue": (Re) => o(J)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ge] = Re,
1259
1263
  numeric: !0
1260
1264
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1261
1265
  ], 64)) : _("", !0)
@@ -1265,19 +1269,19 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1265
1269
  ]))), 128))
1266
1270
  ]))), 128))
1267
1271
  ]))), 128))
1268
- ])) : o(fe) ? (c(), f("div", ql, [
1272
+ ])) : o(fe) ? (c(), f("div", Gl, [
1269
1273
  a("div", null, [
1270
1274
  a("h4", null, [
1271
1275
  a("span", null, y(o(le).name), 1)
1272
1276
  ]),
1273
- a("table", Wl, [
1277
+ a("table", ql, [
1274
1278
  a("thead", null, [
1275
1279
  a("tr", null, [
1276
1280
  a("th", null, [
1277
1281
  a("span", null, y(o(re)(o(fe).title)), 1)
1278
1282
  ]),
1279
1283
  _("", !0),
1280
- Kl
1284
+ Wl
1281
1285
  ])
1282
1286
  ]),
1283
1287
  a("tbody", null, [
@@ -1286,25 +1290,25 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1286
1290
  maximumNumber: K,
1287
1291
  id: U,
1288
1292
  name: I,
1289
- price: Q
1293
+ price: Z
1290
1294
  }) => (c(), f("tr", { key: U }, [
1291
1295
  a("td", null, [
1292
1296
  a("b", null, y(o(re)(I)), 1),
1293
- zl,
1294
- a("span", null, y(o(ee)(Q, o(ye))) + " " + y(o(it)(v)), 1)
1297
+ Kl,
1298
+ a("span", null, y(o(ee)(Z, o(ye))) + " " + y(o(it)(v)), 1)
1295
1299
  ]),
1296
- a("td", xl, [
1300
+ a("td", zl, [
1297
1301
  v === 1 || v === 12 ? (c(), D(We, {
1298
1302
  key: 0,
1299
1303
  modelValue: o(s)[U],
1300
- "onUpdate:modelValue": (J) => o(s)[U] = J,
1304
+ "onUpdate:modelValue": (x) => o(s)[U] = x,
1301
1305
  small: !0,
1302
1306
  "min-value": 0,
1303
1307
  "max-value": K || 1 / 0
1304
1308
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), D(Ae, {
1305
1309
  key: 1,
1306
1310
  modelValue: o(s)[U],
1307
- "onUpdate:modelValue": (J) => o(s)[U] = J,
1311
+ "onUpdate:modelValue": (x) => o(s)[U] = x,
1308
1312
  numeric: !0
1309
1313
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1310
1314
  ])
@@ -1339,7 +1343,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1339
1343
  "show-gift-card": !0
1340
1344
  }, {
1341
1345
  form: T(() => [
1342
- a("form", Yl, [
1346
+ a("form", xl, [
1343
1347
  a("h2", null, [
1344
1348
  a("span", null, y(o(t)("booking.reservation.detailsTitle")), 1)
1345
1349
  ]),
@@ -1347,7 +1351,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1347
1351
  key: 0,
1348
1352
  class: Pe({ "konnectio-split-inputs": !o(Ee) && !o(Me) })
1349
1353
  }, [
1350
- o(Ee) ? _("", !0) : (c(), f("li", Xl, [
1354
+ o(Ee) ? _("", !0) : (c(), f("li", Ql, [
1351
1355
  g(rt, {
1352
1356
  modelValue: o(h),
1353
1357
  "onUpdate:modelValue": w[1] || (w[1] = (v) => N(h) ? h.value = v : null),
@@ -1357,7 +1361,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1357
1361
  required: ""
1358
1362
  }, null, 8, ["modelValue", "label", "hour-range"])
1359
1363
  ])),
1360
- o(Me) ? _("", !0) : (c(), f("li", Zl, [
1364
+ o(Me) ? _("", !0) : (c(), f("li", Xl, [
1361
1365
  g(rt, {
1362
1366
  modelValue: o(V),
1363
1367
  "onUpdate:modelValue": w[2] || (w[2] = (v) => N(V) ? V.value = v : null),
@@ -1368,7 +1372,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1368
1372
  }, null, 8, ["modelValue", "label", "hour-range"])
1369
1373
  ]))
1370
1374
  ], 2)) : _("", !0),
1371
- g(pl, {
1375
+ g(cl, {
1372
1376
  modelValue: o(P),
1373
1377
  "onUpdate:modelValue": w[3] || (w[3] = (v) => N(P) ? P.value = v : null),
1374
1378
  title: o($),
@@ -1401,7 +1405,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1401
1405
  icon: "id-card",
1402
1406
  placeholder: o(t)("booking.reservation.companyNamePlaceholder")
1403
1407
  }, null, 8, ["modelValue", "label", "placeholder"])),
1404
- g(Po, {
1408
+ g(wo, {
1405
1409
  modelValue: o(B),
1406
1410
  "onUpdate:modelValue": w[7] || (w[7] = (v) => N(B) ? B.value = v : null),
1407
1411
  icon: "phone-office",
@@ -1409,9 +1413,9 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1409
1413
  placeholder: o(t)("booking.reservation.phonePlaceholder"),
1410
1414
  required: ""
1411
1415
  }, null, 8, ["modelValue", "label", "placeholder"]),
1412
- g(ul, {
1413
- modelValue: o(R),
1414
- "onUpdate:modelValue": w[8] || (w[8] = (v) => N(R) ? R.value = v : null),
1416
+ g(dl, {
1417
+ modelValue: o(L),
1418
+ "onUpdate:modelValue": w[8] || (w[8] = (v) => N(L) ? L.value = v : null),
1415
1419
  label: o(t)("booking.reservation.country"),
1416
1420
  placeholder: o(t)("booking.reservation.countryPlaceholder"),
1417
1421
  options: o(m),
@@ -1428,7 +1432,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1428
1432
  placeholder: o(t)("booking.reservation.streetAddressPlaceholder"),
1429
1433
  required: ""
1430
1434
  }, null, 8, ["modelValue", "label", "placeholder"]),
1431
- a("ul", Ql, [
1435
+ a("ul", Yl, [
1432
1436
  a("li", null, [
1433
1437
  g(se, {
1434
1438
  modelValue: o(C),
@@ -1457,22 +1461,22 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1457
1461
  ])
1458
1462
  ]),
1459
1463
  g(se, {
1460
- modelValue: o(Y),
1461
- "onUpdate:modelValue": w[12] || (w[12] = (v) => N(Y) ? Y.value = v : null),
1464
+ modelValue: o(Q),
1465
+ "onUpdate:modelValue": w[12] || (w[12] = (v) => N(Q) ? Q.value = v : null),
1462
1466
  type: "textarea",
1463
1467
  label: `${o(t)("booking.reservation.remark")} (${o(t)("booking.reservation.optional")})`,
1464
1468
  icon: "info-circle",
1465
1469
  placeholder: o(t)("booking.reservation.remarkPlaceholder")
1466
1470
  }, null, 8, ["modelValue", "label", "placeholder"]),
1467
1471
  g(se, {
1468
- modelValue: o(L),
1469
- "onUpdate:modelValue": w[13] || (w[13] = (v) => N(L) ? L.value = v : null),
1472
+ modelValue: o(R),
1473
+ "onUpdate:modelValue": w[13] || (w[13] = (v) => N(R) ? R.value = v : null),
1470
1474
  type: "textarea",
1471
1475
  label: `${o(t)("booking.reservation.allergies")} (${o(t)("booking.reservation.optional")})`,
1472
1476
  icon: "allergies",
1473
1477
  placeholder: o(t)("booking.reservation.allergiesPlaceholder")
1474
1478
  }, null, 8, ["modelValue", "label", "placeholder"]),
1475
- o(St) ? _("", !0) : (c(), D(ko, {
1479
+ o(St) ? _("", !0) : (c(), D(go, {
1476
1480
  key: 2,
1477
1481
  modelValue: o(d),
1478
1482
  "onUpdate:modelValue": w[14] || (w[14] = (v) => N(d) ? d.value = v : null),
@@ -1496,17 +1500,17 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1496
1500
  onClick: Ce((v) => tt(A), ["prevent"])
1497
1501
  }, [
1498
1502
  a("span", null, y(o(t)("general.goAStepBack")), 1)
1499
- ], 8, en)
1503
+ ], 8, Zl)
1500
1504
  ])
1501
1505
  ]),
1502
1506
  _: 2
1503
1507
  }, 1024)) : _("", !0)
1504
1508
  ]),
1505
1509
  payment: T(() => [
1506
- g(Ao)
1510
+ g(Po)
1507
1511
  ]),
1508
1512
  confirmation: T(() => [
1509
- g(bo, {
1513
+ g(ko, {
1510
1514
  message: o(t)("booking.confirmation.thankYou")
1511
1515
  }, null, 8, ["message"])
1512
1516
  ]),
@@ -1517,7 +1521,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1517
1521
  }, 8, ["access-token", "callback"])
1518
1522
  ]),
1519
1523
  fallback: T(() => [
1520
- g(yl)
1524
+ g(vl)
1521
1525
  ]),
1522
1526
  _: 1
1523
1527
  }))
@@ -1525,7 +1529,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
1525
1529
  _: 1
1526
1530
  }, 8, ["styling"]));
1527
1531
  }
1528
- }), Ve = /* @__PURE__ */ ue(tn, [["__scopeId", "data-v-27fc0ab8"]]);
1532
+ }), Ve = /* @__PURE__ */ ue(en, [["__scopeId", "data-v-7c81f13f"]]);
1529
1533
  function ze(n, l = {}, e) {
1530
1534
  for (const t in n) {
1531
1535
  const i = n[t], s = e ? `${e}:${t}` : t;
@@ -1533,15 +1537,15 @@ function ze(n, l = {}, e) {
1533
1537
  }
1534
1538
  return l;
1535
1539
  }
1536
- const on = { run: (n) => n() }, ln = () => on, Vt = typeof console.createTask < "u" ? console.createTask : ln;
1537
- function nn(n, l) {
1540
+ const tn = { run: (n) => n() }, on = () => tn, Vt = typeof console.createTask < "u" ? console.createTask : on;
1541
+ function ln(n, l) {
1538
1542
  const e = l.shift(), t = Vt(e);
1539
1543
  return n.reduce(
1540
1544
  (i, s) => i.then(() => t.run(() => s(...l))),
1541
1545
  Promise.resolve()
1542
1546
  );
1543
1547
  }
1544
- function an(n, l) {
1548
+ function nn(n, l) {
1545
1549
  const e = l.shift(), t = Vt(e);
1546
1550
  return Promise.all(n.map((i) => t.run(() => i(...l))));
1547
1551
  }
@@ -1549,7 +1553,7 @@ function je(n, l) {
1549
1553
  for (const e of [...n])
1550
1554
  e(l);
1551
1555
  }
1552
- class sn {
1556
+ class an {
1553
1557
  constructor() {
1554
1558
  this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
1555
1559
  }
@@ -1618,10 +1622,10 @@ class sn {
1618
1622
  delete this._hooks[l];
1619
1623
  }
1620
1624
  callHook(l, ...e) {
1621
- return e.unshift(l), this.callHookWith(nn, l, ...e);
1625
+ return e.unshift(l), this.callHookWith(ln, l, ...e);
1622
1626
  }
1623
1627
  callHookParallel(l, ...e) {
1624
- return e.unshift(l), this.callHookWith(an, l, ...e);
1628
+ return e.unshift(l), this.callHookWith(nn, l, ...e);
1625
1629
  }
1626
1630
  callHookWith(l, e, ...t) {
1627
1631
  const i = this._before || this._after ? { name: e, args: t, context: {} } : void 0;
@@ -1651,20 +1655,20 @@ class sn {
1651
1655
  };
1652
1656
  }
1653
1657
  }
1654
- function rn() {
1655
- return new sn();
1658
+ function sn() {
1659
+ return new an();
1656
1660
  }
1657
- function dn(n) {
1661
+ function rn(n) {
1658
1662
  return Array.isArray(n) ? n : [n];
1659
1663
  }
1660
- const un = ["title", "titleTemplate", "script", "style", "noscript"], Te = [
1664
+ const dn = ["title", "titleTemplate", "script", "style", "noscript"], Te = [
1661
1665
  "base",
1662
1666
  "meta",
1663
1667
  "link",
1664
1668
  "style",
1665
1669
  "script",
1666
1670
  "noscript"
1667
- ], cn = [
1671
+ ], un = [
1668
1672
  "title",
1669
1673
  "titleTemplate",
1670
1674
  "templateParams",
@@ -1676,7 +1680,7 @@ const un = ["title", "titleTemplate", "script", "style", "noscript"], Te = [
1676
1680
  "style",
1677
1681
  "script",
1678
1682
  "noscript"
1679
- ], pn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Tt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], mn = typeof window < "u";
1683
+ ], cn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Tt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], pn = typeof window < "u";
1680
1684
  function Xe(n) {
1681
1685
  let l = 9;
1682
1686
  for (let e = 0; e < n.length; )
@@ -1688,7 +1692,7 @@ function dt(n) {
1688
1692
  }
1689
1693
  function $t(n, l) {
1690
1694
  const { props: e, tag: t } = n;
1691
- if (pn.includes(t))
1695
+ if (cn.includes(t))
1692
1696
  return t;
1693
1697
  if (t === "link" && e.rel === "canonical")
1694
1698
  return "canonical";
@@ -1706,7 +1710,7 @@ function $t(n, l) {
1706
1710
  function ut(n, l) {
1707
1711
  return n == null ? l || null : typeof n == "function" ? n(l) : n;
1708
1712
  }
1709
- async function fn(n, l, e) {
1713
+ async function mn(n, l, e) {
1710
1714
  const t = {
1711
1715
  tag: n,
1712
1716
  props: await Ct(
@@ -1718,17 +1722,17 @@ async function fn(n, l, e) {
1718
1722
  };
1719
1723
  return Tt.forEach((i) => {
1720
1724
  const s = typeof t.props[i] < "u" ? t.props[i] : e[i];
1721
- typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || un.includes(t.tag)) && (t[i === "children" ? "innerHTML" : i] = s), delete t.props[i]);
1725
+ typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || dn.includes(t.tag)) && (t[i === "children" ? "innerHTML" : i] = s), delete t.props[i]);
1722
1726
  }), t.props.body && (t.tagPosition = "bodyClose", delete t.props.body), t.tag === "script" && typeof t.innerHTML == "object" && (t.innerHTML = JSON.stringify(t.innerHTML), t.props.type = t.props.type || "application/json"), Array.isArray(t.props.content) ? t.props.content.map((i) => ({ ...t, props: { ...t.props, content: i } })) : t;
1723
1727
  }
1724
- function hn(n, l) {
1728
+ function fn(n, l) {
1725
1729
  const e = n === "class" ? " " : ";";
1726
1730
  return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, t]) => t).map(([t, i]) => n === "style" ? `${t}:${i}` : t)), (Array.isArray(l) ? l.join(e) : l)?.split(e).filter((t) => t.trim()).filter(Boolean).join(e);
1727
1731
  }
1728
1732
  async function Ct(n, l) {
1729
1733
  for (const e of Object.keys(n)) {
1730
1734
  if (["class", "style"].includes(e)) {
1731
- n[e] = hn(e, n[e]);
1735
+ n[e] = fn(e, n[e]);
1732
1736
  continue;
1733
1737
  }
1734
1738
  if (n[e] instanceof Promise && (n[e] = await n[e]), !l && !Tt.includes(e)) {
@@ -1738,13 +1742,13 @@ async function Ct(n, l) {
1738
1742
  }
1739
1743
  return n;
1740
1744
  }
1741
- const vn = 10;
1742
- async function yn(n) {
1745
+ const hn = 10;
1746
+ async function vn(n) {
1743
1747
  const l = [];
1744
- return Object.entries(n.resolvedInput).filter(([e, t]) => typeof t < "u" && cn.includes(e)).forEach(([e, t]) => {
1745
- const i = dn(t);
1746
- l.push(...i.map((s) => fn(e, s, n)).flat());
1747
- }), (await Promise.all(l)).flat().filter(Boolean).map((e, t) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i << vn) + t, e));
1748
+ return Object.entries(n.resolvedInput).filter(([e, t]) => typeof t < "u" && un.includes(e)).forEach(([e, t]) => {
1749
+ const i = rn(t);
1750
+ l.push(...i.map((s) => mn(e, s, n)).flat());
1751
+ }), (await Promise.all(l)).flat().filter(Boolean).map((e, t) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i << hn) + t, e));
1748
1752
  }
1749
1753
  const ct = {
1750
1754
  // tags
@@ -1761,7 +1765,7 @@ function De(n) {
1761
1765
  const e = n.tagPriority;
1762
1766
  return typeof e == "number" ? e : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in ct && (l = ct[n.tag]), typeof e == "string" && e in pt ? l + pt[e] : l);
1763
1767
  }
1764
- const gn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], mt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
1768
+ const yn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], mt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
1765
1769
  function $e(n, l, e) {
1766
1770
  if (typeof n != "string" || !n.includes("%"))
1767
1771
  return n;
@@ -1779,7 +1783,7 @@ function $e(n, l, e) {
1779
1783
  typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
1780
1784
  }), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = $e(n, { separator: e }, e)), n;
1781
1785
  }
1782
- async function kn(n, l = {}) {
1786
+ async function gn(n, l = {}) {
1783
1787
  const e = l.document || n.resolvedOptions.document;
1784
1788
  if (!e || !n.dirty)
1785
1789
  return;
@@ -1866,27 +1870,27 @@ async function kn(n, l = {}) {
1866
1870
  await n.hooks.callHook("dom:renderTag", d, e, m);
1867
1871
  r.head && e.head.appendChild(r.head), r.bodyOpen && e.body.insertBefore(r.bodyOpen, e.body.firstChild), r.bodyClose && e.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
1868
1872
  }
1869
- async function bn(n, l = {}) {
1873
+ async function kn(n, l = {}) {
1870
1874
  const e = l.delayFn || ((t) => setTimeout(t, 10));
1871
1875
  return n._domUpdatePromise = n._domUpdatePromise || new Promise((t) => e(async () => {
1872
- await kn(n, l), delete n._domUpdatePromise, t();
1876
+ await gn(n, l), delete n._domUpdatePromise, t();
1873
1877
  }));
1874
1878
  }
1875
1879
  // @__NO_SIDE_EFFECTS__
1876
- function _n(n) {
1880
+ function bn(n) {
1877
1881
  return (l) => {
1878
1882
  const e = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1879
1883
  return e && l.push(JSON.parse(e)), {
1880
1884
  mode: "client",
1881
1885
  hooks: {
1882
1886
  "entries:updated": function(t) {
1883
- bn(t, n);
1887
+ kn(t, n);
1884
1888
  }
1885
1889
  }
1886
1890
  };
1887
1891
  };
1888
1892
  }
1889
- const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
1893
+ const _n = ["templateParams", "htmlAttrs", "bodyAttrs"], Vn = {
1890
1894
  hooks: {
1891
1895
  "tag:normalise": function({ tag: n }) {
1892
1896
  ["hid", "vmid", "key"].forEach((t) => {
@@ -1901,7 +1905,7 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
1901
1905
  const i = (t.key ? `${t.tag}:${t.key}` : t._d) || t._p, s = l[i];
1902
1906
  if (s) {
1903
1907
  let p = t?.tagDuplicateStrategy;
1904
- if (!p && Vn.includes(t.tag) && (p = "merge"), p === "merge") {
1908
+ if (!p && _n.includes(t.tag) && (p = "merge"), p === "merge") {
1905
1909
  const u = s.props;
1906
1910
  ["class", "style"].forEach((r) => {
1907
1911
  u[r] && (t.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), t.props[r] = `${u[r]} ${t.props[r]}`) : t.props[r] = u[r]);
@@ -1930,7 +1934,7 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
1930
1934
  }), n.tags = e, n.tags = n.tags.filter((t) => !(t.tag === "meta" && (t.props.name || t.props.property) && !t.props.content));
1931
1935
  }
1932
1936
  }
1933
- }, $n = {
1937
+ }, Tn = {
1934
1938
  mode: "server",
1935
1939
  hooks: {
1936
1940
  "tags:resolve": function(n) {
@@ -1944,10 +1948,10 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
1944
1948
  });
1945
1949
  }
1946
1950
  }
1947
- }, Cn = ["script", "link", "bodyAttrs"], wn = (n) => ({
1951
+ }, $n = ["script", "link", "bodyAttrs"], Cn = (n) => ({
1948
1952
  hooks: {
1949
1953
  "tags:resolve": function(l) {
1950
- for (const e of l.tags.filter((t) => Cn.includes(t.tag)))
1954
+ for (const e of l.tags.filter((t) => $n.includes(t.tag)))
1951
1955
  Object.entries(e.props).forEach(([t, i]) => {
1952
1956
  t.startsWith("on") && typeof i == "function" && (n.ssr && mt.includes(t) ? e.props[t] = `this.dataset.${t}fired = true` : delete e.props[t], e._eventHandlers = e._eventHandlers || {}, e._eventHandlers[t] = i);
1953
1957
  }), n.ssr && e._eventHandlers && (e.props.src || e.props.href) && (e.key = e.key || Xe(e.props.src || e.props.href));
@@ -1959,17 +1963,17 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
1959
1963
  }
1960
1964
  }
1961
1965
  }
1962
- }), Pn = ["link", "style", "script", "noscript"], An = {
1966
+ }), wn = ["link", "style", "script", "noscript"], Pn = {
1963
1967
  hooks: {
1964
1968
  "tag:normalise": ({ tag: n }) => {
1965
- n.key && Pn.includes(n.tag) && (n.props["data-hid"] = n._h = Xe(n.key));
1969
+ n.key && wn.includes(n.tag) && (n.props["data-hid"] = n._h = Xe(n.key));
1966
1970
  }
1967
1971
  }
1968
- }, Dn = {
1972
+ }, An = {
1969
1973
  hooks: {
1970
1974
  "tags:resolve": (n) => {
1971
1975
  const l = (e) => n.tags.find((t) => t._d === e)?._p;
1972
- for (const { prefix: e, offset: t } of gn)
1976
+ for (const { prefix: e, offset: t } of yn)
1973
1977
  for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(e))) {
1974
1978
  const s = l(
1975
1979
  i.tagPriority.replace(e, "")
@@ -1979,17 +1983,17 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
1979
1983
  n.tags.sort((e, t) => e._p - t._p).sort((e, t) => De(e) - De(t));
1980
1984
  }
1981
1985
  }
1982
- }, Hn = {
1986
+ }, Dn = {
1983
1987
  meta: "content",
1984
1988
  link: "href",
1985
1989
  htmlAttrs: "lang"
1986
- }, In = (n) => ({
1990
+ }, Hn = (n) => ({
1987
1991
  hooks: {
1988
1992
  "tags:resolve": (l) => {
1989
1993
  const { tags: e } = l, t = e.find((p) => p.tag === "title")?.textContent, i = e.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? e[i].props : {}, m = s.separator || "|";
1990
1994
  delete s.separator, s.pageTitle = $e(s.pageTitle || t || "", s, m);
1991
1995
  for (const p of e.filter((u) => u.processTemplateParams !== !1)) {
1992
- const u = Hn[p.tag];
1996
+ const u = Dn[p.tag];
1993
1997
  u && typeof p.props[u] == "string" ? p.props[u] = $e(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
1994
1998
  typeof p[r] == "string" && (p[r] = $e(p[r], s, m));
1995
1999
  });
@@ -1997,7 +2001,7 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
1997
2001
  n._templateParams = s, n._separator = m, l.tags = e.filter((p) => p.tag !== "templateParams");
1998
2002
  }
1999
2003
  }
2000
- }), Sn = {
2004
+ }), In = {
2001
2005
  hooks: {
2002
2006
  "tags:resolve": (n) => {
2003
2007
  const { tags: l } = n;
@@ -2018,7 +2022,7 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
2018
2022
  e !== -1 && delete l[e], n.tags = l.filter(Boolean);
2019
2023
  }
2020
2024
  }
2021
- }, Bn = {
2025
+ }, Sn = {
2022
2026
  hooks: {
2023
2027
  "tags:afterResolve": function(n) {
2024
2028
  for (const l of n.tags)
@@ -2027,16 +2031,16 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
2027
2031
  }
2028
2032
  };
2029
2033
  // @__NO_SIDE_EFFECTS__
2030
- function En(n = {}) {
2031
- const l = Mn(n);
2032
- return l.use(/* @__PURE__ */ _n()), l;
2034
+ function Bn(n = {}) {
2035
+ const l = En(n);
2036
+ return l.use(/* @__PURE__ */ bn()), l;
2033
2037
  }
2034
2038
  function ft(n, l) {
2035
2039
  return !n || n === "server" && l || n === "client" && !l;
2036
2040
  }
2037
- function Mn(n = {}) {
2038
- const l = rn();
2039
- l.addHooks(n.hooks || {}), n.document = n.document || (mn ? document : void 0);
2041
+ function En(n = {}) {
2042
+ const l = sn();
2043
+ l.addHooks(n.hooks || {}), n.document = n.document || (pn ? document : void 0);
2040
2044
  const e = !n.document, t = () => {
2041
2045
  p.dirty = !0, l.callHook("entries:updated", p);
2042
2046
  };
@@ -2076,7 +2080,7 @@ function Mn(n = {}) {
2076
2080
  for (const r of u.entries) {
2077
2081
  const d = r.resolvedInput || r.input;
2078
2082
  if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
2079
- for (const h of await yn(r)) {
2083
+ for (const h of await vn(r)) {
2080
2084
  const V = { tag: h, entry: r, resolvedOptions: p.resolvedOptions };
2081
2085
  await l.callHook("tag:normalise", V), u.tags.push(V.tag);
2082
2086
  }
@@ -2086,51 +2090,51 @@ function Mn(n = {}) {
2086
2090
  ssr: e
2087
2091
  };
2088
2092
  return [
2093
+ Vn,
2089
2094
  Tn,
2090
- $n,
2091
- wn,
2095
+ Cn,
2096
+ Pn,
2092
2097
  An,
2093
- Dn,
2098
+ Hn,
2094
2099
  In,
2095
2100
  Sn,
2096
- Bn,
2097
2101
  ...n?.plugins || []
2098
2102
  ].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
2099
2103
  }
2100
- const Un = to.startsWith("3");
2101
- function Rn(n) {
2104
+ const Mn = to.startsWith("3");
2105
+ function Un(n) {
2102
2106
  return typeof n == "function" ? n() : o(n);
2103
2107
  }
2104
- function xe(n, l = "") {
2108
+ function Je(n, l = "") {
2105
2109
  if (n instanceof Promise)
2106
2110
  return n;
2107
- const e = Rn(n);
2108
- return !n || !e ? e : Array.isArray(e) ? e.map((t) => xe(t, l)) : typeof e == "object" ? Object.fromEntries(
2109
- Object.entries(e).map(([t, i]) => t === "titleTemplate" || t.startsWith("on") ? [t, o(i)] : [t, xe(i, t)])
2111
+ const e = Un(n);
2112
+ return !n || !e ? e : Array.isArray(e) ? e.map((t) => Je(t, l)) : typeof e == "object" ? Object.fromEntries(
2113
+ Object.entries(e).map(([t, i]) => t === "titleTemplate" || t.startsWith("on") ? [t, o(i)] : [t, Je(i, t)])
2110
2114
  ) : e;
2111
2115
  }
2112
2116
  const Ln = {
2113
2117
  hooks: {
2114
2118
  "entries:resolve": function(n) {
2115
2119
  for (const l of n.entries)
2116
- l.resolvedInput = xe(l.input);
2120
+ l.resolvedInput = Je(l.input);
2117
2121
  }
2118
2122
  }
2119
- }, Nn = "usehead";
2120
- function Fn(n) {
2123
+ }, Rn = "usehead";
2124
+ function Nn(n) {
2121
2125
  return {
2122
2126
  install(e) {
2123
- Un && (e.config.globalProperties.$unhead = n, e.config.globalProperties.$head = n, e.provide(Nn, n));
2127
+ Mn && (e.config.globalProperties.$unhead = n, e.config.globalProperties.$head = n, e.provide(Rn, n));
2124
2128
  }
2125
2129
  }.install;
2126
2130
  }
2127
- function On(n = {}) {
2131
+ function Fn(n = {}) {
2128
2132
  n.domDelayFn = n.domDelayFn || ((e) => eo(() => setTimeout(() => e(), 0)));
2129
- const l = /* @__PURE__ */ En(n);
2130
- return l.use(Ln), l.install = Fn(l), l;
2133
+ const l = /* @__PURE__ */ Bn(n);
2134
+ return l.use(Ln), l.install = Nn(l), l;
2131
2135
  }
2132
- const jn = uo(), Gn = On(), qn = fo();
2133
- class Wn extends HTMLElement {
2136
+ const On = uo(), jn = Fn(), Gn = mo();
2137
+ class qn extends HTMLElement {
2134
2138
  vueApp;
2135
2139
  constructor() {
2136
2140
  super();
@@ -2152,13 +2156,13 @@ class Wn extends HTMLElement {
2152
2156
  let r = this.attributes.getNamedItem(u)?.value;
2153
2157
  m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
2154
2158
  }
2155
- this.vueApp = oo(Ve, s), co(this.vueApp), this.vueApp.provide("emitter", qn), this.vueApp.use(Gn), this.vueApp.use(jn), this.vueApp.use(_o), this.vueApp.use(po), this.vueApp.use(Vo), this.vueApp.use(mo, { bootstrap: !0 });
2159
+ this.vueApp = oo(Ve, s), this.vueApp.provide("emitter", Gn), this.vueApp.use(jn), this.vueApp.use(On), this.vueApp.use(bo), this.vueApp.use(co), this.vueApp.use(_o), this.vueApp.use(po, { bootstrap: !0 });
2156
2160
  const p = document.createElement("div");
2157
2161
  this.vueApp.mount(p), this.appendChild(p.children[0]);
2158
2162
  }
2159
2163
  }
2160
- window.customElements.define("konnectio-hotel", Wn);
2164
+ window.customElements.define("konnectio-hotel", qn);
2161
2165
  export {
2162
- Wn as default
2166
+ qn as default
2163
2167
  };
2164
2168
  //# sourceMappingURL=hotel.js.map