@konnectio/core 4.0.71 → 4.0.73

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 (70) hide show
  1. package/dist/{ActionField-BOjNNOwm.js → ActionField-B0Q8mtx4.js} +3 -3
  2. package/dist/ActionField-B0Q8mtx4.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BBZ1jYsL.js → AvailabilitySkeleton-TBnj1i7P.js} +8 -8
  4. package/dist/AvailabilitySkeleton-TBnj1i7P.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CHMKGo1f.js} +700 -707
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CHMKGo1f.js.br +0 -0
  7. package/dist/{CheckoutWindow-Be87geqA.js → CheckoutWindow-B9f5zjsR.js} +4 -4
  8. package/dist/CheckoutWindow-B9f5zjsR.js.br +0 -0
  9. package/dist/{ErrorMessage-PrTNCV3L.js → ErrorMessage-CJVhwzgd.js} +3 -3
  10. package/dist/ErrorMessage-CJVhwzgd.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-B_kQ68K4.js → EventAvailabilityForm-gx7rIOkz.js} +33 -32
  12. package/dist/EventAvailabilityForm-gx7rIOkz.js.br +0 -0
  13. package/dist/{Field-Cly4g5NO.js → Field-alis_4SB.js} +3 -3
  14. package/dist/Field-alis_4SB.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnQ4jzKF.js} +4602 -4576
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnQ4jzKF.js.br +0 -0
  17. package/dist/{TermsOfService-B4VF2Mqd.js → TermsOfService-Clv1-wBR.js} +5 -5
  18. package/dist/TermsOfService-Clv1-wBR.js.br +0 -0
  19. package/dist/{_-D9xfNmwK.js → _-DCgp8uOr.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CEE8x56y.js → _.vue_vue_type_style_index_0_lang-B0Oz4Jrm.js} +3 -3
  21. package/dist/_.vue_vue_type_style_index_0_lang-B0Oz4Jrm.js.br +0 -0
  22. package/dist/{_commonjsHelpers-CjBehFnu.js → _commonjsHelpers-qzLmMf0u.js} +2 -2
  23. package/dist/_commonjsHelpers-qzLmMf0u.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-DsYwID46.js → _sentry-release-injection-file-CDmq8APH.js} +2137 -2122
  25. package/dist/_sentry-release-injection-file-CDmq8APH.js.br +0 -0
  26. package/dist/availability.js +8 -8
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +2 -2
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +162 -167
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +10 -10
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +11 -11
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-DL8SvzFu.js → giftCard-Cu6jvt4a.js} +4 -4
  37. package/dist/giftCard-Cu6jvt4a.js.br +0 -0
  38. package/dist/hotel.js +625 -622
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-DyMWv_cS.js → masonry.plugin-B8f9K_-M.js} +4037 -3823
  41. package/dist/masonry.plugin-B8f9K_-M.js.br +0 -0
  42. package/dist/{mitt-CxLBLOxI.js → mitt-C3HhhwJL.js} +2 -2
  43. package/dist/mitt-C3HhhwJL.js.br +0 -0
  44. package/dist/polyfill.js +4675 -4611
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{sentry-9IPMO-VI.js → sentry-D5Z9Niph.js} +3 -3
  47. package/dist/{style-bf_adpj0.js → style-DVq0262Q.js} +2 -2
  48. package/dist/style-DVq0262Q.js.br +0 -0
  49. package/dist/style.css +1 -1
  50. package/dist/style.css.br +0 -0
  51. package/dist/{tracing-1TgukAt0.js → tracing-BVguX61l.js} +185 -189
  52. package/dist/tracing-BVguX61l.js.br +0 -0
  53. package/package.json +10 -9
  54. package/dist/ActionField-BOjNNOwm.js.br +0 -0
  55. package/dist/AvailabilitySkeleton-BBZ1jYsL.js.br +0 -0
  56. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js.br +0 -0
  57. package/dist/CheckoutWindow-Be87geqA.js.br +0 -0
  58. package/dist/ErrorMessage-PrTNCV3L.js.br +0 -0
  59. package/dist/EventAvailabilityForm-B_kQ68K4.js.br +0 -0
  60. package/dist/Field-Cly4g5NO.js.br +0 -0
  61. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js.br +0 -0
  62. package/dist/TermsOfService-B4VF2Mqd.js.br +0 -0
  63. package/dist/_.vue_vue_type_style_index_0_lang-CEE8x56y.js.br +0 -0
  64. package/dist/_commonjsHelpers-CjBehFnu.js.br +0 -0
  65. package/dist/_sentry-release-injection-file-DsYwID46.js.br +0 -0
  66. package/dist/giftCard-DL8SvzFu.js.br +0 -0
  67. package/dist/masonry.plugin-DyMWv_cS.js.br +0 -0
  68. package/dist/mitt-CxLBLOxI.js.br +0 -0
  69. package/dist/style-bf_adpj0.js.br +0 -0
  70. package/dist/tracing-1TgukAt0.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,16 +1,16 @@
1
- import { d as ee, r as ae, C as no, a as u, b as P, q as ao, u as e, w as T, g as v, e as a, t as f, A as He, B as ze, f as y, i as _, s as G, F, l as Ye, x as tt, v as q, h as Pt, p as at, j as it, c as x, o as st, z as Ee, n as Be, S as io, D as so, E as ro, G as uo, k as co } from "./_sentry-release-injection-file-DsYwID46.js";
2
- import { u as ie, s as Z, T as po, c as mo, l as fo, i as ho, m as vo } from "./mitt-CxLBLOxI.js";
3
- import { d as Ce, x as ye, u as we, I as W, s as le, y as Te, l as Qe, i as pe, g as ne, _ as fe, n as Re, z as At, b as ot, c as me, B as Dt, A as vt, T as ce, p as yo, D as bo, a as go, C as ko, h as yt, j as _o, k as bt, m as Vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js";
4
- import { G as $o } from "./style-bf_adpj0.js";
5
- import { A as To, H as wo } from "./AvailabilitySkeleton-BBZ1jYsL.js";
6
- import { R as Co, B as Le, L as Po, S as Ao, M as Do, a as Xe, C as Ho, T as So, V as Io } from "./masonry.plugin-DyMWv_cS.js";
7
- import { S as Eo } from "./TermsOfService-B4VF2Mqd.js";
8
- import { C as Ne, B as Bo, P as No, a as Mo } from "./CheckoutWindow-Be87geqA.js";
9
- import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js";
1
+ import { d as ee, r as ae, C as ao, a as d, b as P, q as io, u as e, w as T, g as v, e as a, t as h, A as Se, B as ze, f as y, i as _, s as G, F, l as Ye, x as tt, v as q, h as Pt, p as at, j as it, c as x, o as st, z as Ee, n as Be, S as so, D as ro, E as co, G as uo, k as po } from "./_sentry-release-injection-file-CDmq8APH.js";
2
+ import { u as ie, s as Z, T as mo, c as fo, l as ho, i as vo, m as yo } from "./mitt-C3HhhwJL.js";
3
+ import { d as Ce, x as ye, u as we, I as W, s as le, y as Te, l as Qe, i as pe, g as ne, _ as fe, n as Re, z as At, b as ot, c as me, B as Dt, a as St, A as vt, T as ue, p as go, D as bo, C as ko, h as yt, j as _o, k as gt, m as Vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnQ4jzKF.js";
4
+ import { G as $o } from "./style-DVq0262Q.js";
5
+ import { R as To, B as Le, L as wo, S as Co, M as Po, b as Xe, C as Ao, T as Do, V as So, a as Ho } from "./masonry.plugin-B8f9K_-M.js";
6
+ import { A as Io, H as Eo } from "./AvailabilitySkeleton-TBnj1i7P.js";
7
+ import { S as Bo } from "./TermsOfService-Clv1-wBR.js";
8
+ import { C as Ne, B as No, P as Mo, a as Ro } from "./CheckoutWindow-B9f5zjsR.js";
9
+ import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CHMKGo1f.js";
10
10
  (function() {
11
11
  try {
12
12
  var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
13
- l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "8b2509ce-49a8-4f96-b7be-967eb9aa5b43", n._sentryDebugIdIdentifier = "sentry-dbid-8b2509ce-49a8-4f96-b7be-967eb9aa5b43");
13
+ l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "72d05faa-25fe-412f-a228-27f00781e2c7", n._sentryDebugIdIdentifier = "sentry-dbid-72d05faa-25fe-412f-a228-27f00781e2c7");
14
14
  } catch {
15
15
  }
16
16
  })();
@@ -22,8 +22,8 @@ import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scope
22
22
  { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
23
23
  );
24
24
  }
25
- const Ro = (n) => (at("data-v-8b2d66e3"), n = n(), it(), n), Lo = { key: 0 }, Uo = { class: "konnectio-hotel-reservation-warning" }, Fo = { class: "konnectio-hotel-reservation-warning" }, Oo = { class: "konnectio-hotel-reservation-warning" };
26
- const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnectio-reservation-actions" }, xo = /* @__PURE__ */ Ro(() => /* @__PURE__ */ a("span", null, "For ", -1)), Ko = /* @__PURE__ */ ee({
25
+ const Lo = (n) => (at("data-v-d005e08c"), n = n(), it(), n), Uo = { key: 0 }, Fo = { class: "konnectio-hotel-reservation-warning" }, Oo = { class: "konnectio-hotel-reservation-warning" }, jo = { class: "konnectio-hotel-reservation-warning" };
26
+ const qo = { key: 0 }, Go = { key: 1 }, Wo = { key: 0 }, xo = { class: "konnectio-reservation-actions" }, Ko = /* @__PURE__ */ Lo(() => /* @__PURE__ */ a("span", null, "For ", -1)), Jo = { class: "konnectio-hotel-reservation-tooltip" }, zo = /* @__PURE__ */ ee({
27
27
  __name: "HotelReservationForm",
28
28
  props: {
29
29
  showGiftCard: { type: Boolean, default: !1 },
@@ -36,16 +36,16 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
36
36
  disableArrivalUserSelection: o,
37
37
  disableDepartureUserSelection: i,
38
38
  arrivalDefault: s,
39
- departureDefault: m,
40
- disableNewsletterSignup: p,
39
+ departureDefault: p,
40
+ disableNewsletterSignup: m,
41
41
  currency: c
42
42
  } = Z(Ce()), {
43
43
  arrivalTime: r,
44
- departureTime: d,
45
- roomDisplay: h,
46
- templateID: $,
47
- totalPrice: C,
48
- areListingsLoading: w,
44
+ departureTime: u,
45
+ roomDisplay: f,
46
+ templateID: V,
47
+ totalPrice: w,
48
+ areListingsLoading: C,
49
49
  getSelectedPackageRoom: I,
50
50
  selectedPackage: M,
51
51
  discountVouchers: N,
@@ -61,97 +61,97 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
61
61
  acceptTerms: te,
62
62
  totalTemplateAddonPrice: j,
63
63
  totalRooms: he,
64
- totalAdults: be,
65
- totalChildren: ge
64
+ totalAdults: ge,
65
+ totalChildren: be
66
66
  } = Z(ye()), { hasHotelLocations: Ue } = Z(we()), { removeRoom: dt, validateDiscountCode: Fe } = ye(), { getHotelLocationName: Pe } = we(), ve = ae(!1);
67
67
  function ke(X) {
68
68
  return X.reduce((Ve, { totalPrice: O }) => Ve + O, 0);
69
69
  }
70
70
  return (X, z) => {
71
- const Ve = no("tooltip");
72
- return u(), P(Co, {
71
+ const Ve = ao("tooltip");
72
+ return d(), P(To, {
73
73
  "discount-code": e(L),
74
74
  "onUpdate:discountCode": z[4] || (z[4] = (O) => q(L) ? L.value = O : null),
75
75
  "validate-discount-code": e(Fe),
76
- "total-price": e(C),
76
+ "total-price": e(w),
77
77
  "show-gift-card": X.showGiftCard,
78
78
  "show-terms-notice": X.showTermsNotice,
79
- "is-sidebar-loading": e(w),
79
+ "is-sidebar-loading": e(C),
80
80
  notice: e(l)("hotel.reservationNotice"),
81
81
  "prev-callback": X.prevCallback
82
- }, ao({
82
+ }, io({
83
83
  form: T(() => [
84
84
  Ye(X.$slots, "form", {}, void 0, !0)
85
85
  ]),
86
86
  "price-summary": T(() => [
87
- isNaN(e($)) && e(h).length > 0 ? (u(!0), v(F, { key: 0 }, G(e(h), ({
87
+ isNaN(e(V)) && e(f).length > 0 ? (d(!0), v(F, { key: 0 }, G(e(f), ({
88
88
  roomGroupID: O,
89
89
  title: Oe,
90
90
  variants: $e
91
- }) => (u(), v("div", { key: O }, [
91
+ }) => (d(), v("div", { key: O }, [
92
92
  a("h6", null, [
93
- a("span", null, f(Oe), 1)
93
+ a("span", null, h(Oe), 1)
94
94
  ]),
95
- (u(!0), v(F, null, G($e, (Ae, je) => (u(), v("div", { key: je }, [
96
- (u(!0), v(F, null, G(Ae.rooms, (re, qe) => (u(), v("ul", { key: qe }, [
95
+ (d(!0), v(F, null, G($e, (Ae, je) => (d(), v("div", { key: je }, [
96
+ (d(!0), v(F, null, G(Ae.rooms, (re, qe) => (d(), v("ul", { key: qe }, [
97
97
  a("li", null, [
98
98
  a("span", null, [
99
99
  a("span", null, [
100
- tt(f(e(pe)(Ae.name)) + " ( ", 1),
100
+ tt(h(e(pe)(Ae.name)) + " ( ", 1),
101
101
  y(W, {
102
102
  icon: "male",
103
103
  type: "fas",
104
104
  color: "font"
105
105
  }),
106
- a("span", null, f(re.adultsCount), 1),
107
- re.childrenCount > 0 ? (u(), v(F, { key: 0 }, [
106
+ a("span", null, h(re.adultsCount), 1),
107
+ re.childrenCount > 0 ? (d(), v(F, { key: 0 }, [
108
108
  y(W, {
109
109
  icon: "child",
110
110
  type: "fas",
111
111
  color: "font"
112
112
  }),
113
- a("span", null, f(re.childrenCount), 1)
113
+ a("span", null, h(re.childrenCount), 1)
114
114
  ], 64)) : _("", !0),
115
115
  tt(") ")
116
116
  ])
117
117
  ]),
118
118
  a("b", null, [
119
- a("span", null, f(e(ne)(re.totalPrice, e(c))), 1),
119
+ a("span", null, h(e(ne)(re.totalPrice, e(c))), 1),
120
120
  _("", !0)
121
121
  ])
122
122
  ]),
123
- ke(re.roomAddons) > 0 ? (u(), v("li", jo, [
124
- a("span", null, f(e(l)("general.addons")), 1),
125
- a("b", null, f(e(ne)(ke(re.roomAddons), e(c))), 1)
123
+ ke(re.roomAddons) > 0 ? (d(), v("li", qo, [
124
+ a("span", null, h(e(l)("general.addons")), 1),
125
+ a("b", null, h(e(ne)(ke(re.roomAddons), e(c))), 1)
126
126
  ])) : _("", !0)
127
127
  ]))), 128))
128
128
  ]))), 128))
129
129
  ]))), 128)) : _("", !0),
130
- e(I) && e(M) ? (u(), v("div", qo, [
130
+ e(I) && e(M) ? (d(), v("div", Go, [
131
131
  a("h6", null, [
132
- a("span", null, f(e(pe)(e(M).name)), 1)
132
+ a("span", null, h(e(pe)(e(M).name)), 1)
133
133
  ]),
134
134
  a("div", null, [
135
135
  a("ul", null, [
136
136
  a("li", null, [
137
137
  a("span", null, [
138
- a("span", null, f(e(pe)(e(I).title)), 1)
138
+ a("span", null, h(e(pe)(e(I).title)), 1)
139
139
  ]),
140
140
  a("b", null, [
141
- a("span", null, f(e(ne)(e(I).extraPrice, e(c))), 1)
141
+ a("span", null, h(e(ne)(e(I).extraPrice, e(c))), 1)
142
142
  ])
143
143
  ]),
144
- e(j) ? (u(), v("li", Go, [
145
- a("span", null, f(e(l)("general.addons")), 1),
146
- a("b", null, f(e(ne)(e(j), e(c))), 1)
144
+ e(j) ? (d(), v("li", Wo, [
145
+ a("span", null, h(e(l)("general.addons")), 1),
146
+ a("b", null, h(e(ne)(e(j), e(c))), 1)
147
147
  ])) : _("", !0)
148
148
  ])
149
149
  ])
150
150
  ])) : _("", !0)
151
151
  ]),
152
152
  actions: T(() => [
153
- a("ul", Wo, [
154
- e(p) ? _("", !0) : (u(), P(Ne, {
153
+ a("ul", xo, [
154
+ e(m) ? _("", !0) : (d(), P(Ne, {
155
155
  key: 0,
156
156
  modelValue: e(R),
157
157
  "onUpdate:modelValue": z[0] || (z[0] = (O) => q(R) ? R.value = O : null),
@@ -159,7 +159,7 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
159
159
  name: "newsletter",
160
160
  label: e(l)("booking.reservation.newsletterSignUp")
161
161
  }, null, 8, ["modelValue", "label"])),
162
- e(se) ? (u(), P(Ne, {
162
+ e(se) ? (d(), P(Ne, {
163
163
  key: 1,
164
164
  modelValue: e(te),
165
165
  "onUpdate:modelValue": z[2] || (z[2] = (O) => q(te) ? te.value = O : null),
@@ -167,7 +167,7 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
167
167
  name: "terms"
168
168
  }, {
169
169
  default: T(() => [
170
- y(e(po), {
170
+ y(e(mo), {
171
171
  keypath: "general.termsAndConditionsCheckbox",
172
172
  tag: "span",
173
173
  scope: "global"
@@ -177,7 +177,7 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
177
177
  class: "konnectio-accept-terms-link",
178
178
  onClick: z[1] || (z[1] = Pt((O) => ve.value = !0, ["prevent"]))
179
179
  }, [
180
- a("span", null, f(e(Qe)(e(l)("general.termsAndConditions"))), 1)
180
+ a("span", null, h(e(Qe)(e(l)("general.termsAndConditions"))), 1)
181
181
  ])
182
182
  ]),
183
183
  _: 1
@@ -186,7 +186,7 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
186
186
  _: 1
187
187
  }, 8, ["modelValue"])) : _("", !0),
188
188
  Ye(X.$slots, "actions", {}, void 0, !0),
189
- y(Eo, {
189
+ y(Bo, {
190
190
  modelValue: ve.value,
191
191
  "onUpdate:modelValue": z[3] || (z[3] = (O) => ve.value = O),
192
192
  description: e(Y)
@@ -197,9 +197,9 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
197
197
  Ye(X.$slots, "navigation", {}, void 0, !0)
198
198
  ]),
199
199
  "mobile-under-price": T(() => [
200
- xo,
201
- a("b", null, f(e(Te)(e(E), e(k))) + " " + f(e(Qe)(e(Te)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1),
202
- He((u(), v("span", null, [
200
+ Ko,
201
+ a("b", null, h(e(Te)(e(E), e(k))) + " " + h(e(Qe)(e(Te)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1),
202
+ Se((d(), v("span", Jo, [
203
203
  y(W, {
204
204
  icon: "circle-info",
205
205
  type: "fas"
@@ -213,20 +213,20 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
213
213
  ])
214
214
  ]),
215
215
  "mobile-summary": T(() => [
216
- a("span", null, f(`${e(be)} ${e(be) === 1 ? e(l)("general.adult") : e(l)("general.adults")}`), 1),
217
- a("span", null, f(`${e(ge)} ${e(ge) === 1 ? e(l)("general.child") : e(l)("general.children")}`), 1),
218
- a("span", null, f(`${e(he)} ${e(he) === 1 ? e(l)("booking.reservation.room") : e(l)("booking.reservation.rooms")}`), 1)
216
+ a("span", null, h(`${e(ge)} ${e(ge) === 1 ? e(l)("general.adult") : e(l)("general.adults")}`), 1),
217
+ a("span", null, h(`${e(be)} ${e(be) === 1 ? e(l)("general.child") : e(l)("general.children")}`), 1),
218
+ a("span", null, h(`${e(he)} ${e(he) === 1 ? e(l)("booking.reservation.room") : e(l)("booking.reservation.rooms")}`), 1)
219
219
  ]),
220
220
  _: 2
221
221
  }, [
222
222
  isNaN(e(B)) ? void 0 : {
223
223
  name: "reservation-summary",
224
224
  fn: T(() => [
225
- e(Ue) ? (u(), v("li", Lo, [
226
- a("span", null, f(e(l)("general.location")), 1),
225
+ e(Ue) ? (d(), v("li", Uo, [
226
+ a("span", null, h(e(l)("general.location")), 1),
227
227
  a("b", null, [
228
- a("span", null, f(e(Pe)(e(B))), 1),
229
- He(a("span", Uo, [
228
+ a("span", null, h(e(Pe)(e(B))), 1),
229
+ Se(a("span", Fo, [
230
230
  y(W, {
231
231
  icon: "exclamation-triangle",
232
232
  type: "fas"
@@ -237,10 +237,10 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
237
237
  ])
238
238
  ])) : _("", !0),
239
239
  a("li", null, [
240
- a("span", null, f(e(l)("booking.reservation.arrival")), 1),
240
+ a("span", null, h(e(l)("booking.reservation.arrival")), 1),
241
241
  a("b", null, [
242
- a("span", null, f(e(t) ? e(le)(e(E)) : `${e(le)(e(E))}, ${e(o) ? e(s) : e(r)}`), 1),
243
- He(a("span", Fo, [
242
+ a("span", null, h(e(t) ? e(le)(e(E)) : `${e(le)(e(E))}, ${e(o) ? e(s) : e(r)}`), 1),
243
+ Se(a("span", Oo, [
244
244
  y(W, {
245
245
  icon: "exclamation-triangle",
246
246
  type: "fas"
@@ -251,10 +251,10 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
251
251
  ])
252
252
  ]),
253
253
  a("li", null, [
254
- a("span", null, f(e(l)("booking.reservation.departure")), 1),
254
+ a("span", null, h(e(l)("booking.reservation.departure")), 1),
255
255
  a("b", null, [
256
- a("span", null, f(e(t) ? e(le)(e(k)) : `${e(le)(e(k))}, ${e(i) ? e(m) : e(d)}`), 1),
257
- He(a("span", Oo, [
256
+ a("span", null, h(e(t) ? e(le)(e(k)) : `${e(le)(e(k))}, ${e(i) ? e(p) : e(u)}`), 1),
257
+ Se(a("span", jo, [
258
258
  y(W, {
259
259
  icon: "exclamation-triangle",
260
260
  type: "fas"
@@ -265,14 +265,14 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
265
265
  ])
266
266
  ]),
267
267
  a("li", null, [
268
- a("span", null, f(e(l)("booking.reservation.nights")), 1),
269
- a("b", null, f(e(Te)(e(E), e(k))) + " " + f(e(Qe)(e(Te)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1)
268
+ a("span", null, h(e(l)("booking.reservation.nights")), 1),
269
+ a("b", null, h(e(Te)(e(E), e(k))) + " " + h(e(Qe)(e(Te)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1)
270
270
  ]),
271
- e(N) ? (u(!0), v(F, { key: 1 }, G(e(N), (O) => (u(), v("li", {
271
+ e(N) ? (d(!0), v(F, { key: 1 }, G(e(N), (O) => (d(), v("li", {
272
272
  key: O.id
273
273
  }, [
274
- a("span", null, f(`${e(l)("general.discountCode")} (${O.value})`), 1),
275
- a("b", null, f(O.key), 1)
274
+ a("span", null, h(`${e(l)("general.discountCode")} (${O.value})`), 1),
275
+ a("b", null, h(O.key), 1)
276
276
  ]))), 128)) : _("", !0)
277
277
  ]),
278
278
  key: "0"
@@ -280,7 +280,7 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
280
280
  ]), 1032, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
281
281
  };
282
282
  }
283
- }), Ze = /* @__PURE__ */ fe(Ko, [["__scopeId", "data-v-8b2d66e3"]]), Jo = (n) => (at("data-v-69fe83d8"), n = n(), it(), n), zo = { class: "konnectio-room-config-option" }, Yo = { key: 0 }, Qo = { class: "konnectio-selected-room-config" }, Xo = { class: "konnectio-selected-room-config-people" }, Zo = { key: 0 }, el = { class: "konnectio-selected-room-config-price" }, tl = /* @__PURE__ */ Jo(() => /* @__PURE__ */ a("span", null, null, -1)), ol = /* @__PURE__ */ ee({
283
+ }), Ze = /* @__PURE__ */ fe(zo, [["__scopeId", "data-v-d005e08c"]]), Yo = (n) => (at("data-v-69fe83d8"), n = n(), it(), n), Qo = { class: "konnectio-room-config-option" }, Xo = { key: 0 }, Zo = { class: "konnectio-selected-room-config" }, el = { class: "konnectio-selected-room-config-people" }, tl = { key: 0 }, ol = { class: "konnectio-selected-room-config-price" }, ll = /* @__PURE__ */ Yo(() => /* @__PURE__ */ a("span", null, null, -1)), nl = /* @__PURE__ */ ee({
284
284
  __name: "RoomConfigField",
285
285
  props: {
286
286
  modelValue: {},
@@ -292,16 +292,16 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
292
292
  emits: ["update:modelValue"],
293
293
  setup(n, { emit: l }) {
294
294
  const { t } = ie(), { currency: o } = Z(Ce()), i = l, s = n;
295
- function m(c) {
295
+ function p(c) {
296
296
  i("update:modelValue", c);
297
297
  }
298
- const p = x({
298
+ const m = x({
299
299
  get: () => s.modelValue,
300
- set: (c) => m(c)
300
+ set: (c) => p(c)
301
301
  });
302
- return (c, r) => (u(), P(Re, {
303
- modelValue: p.value,
304
- "onUpdate:modelValue": r[0] || (r[0] = (d) => p.value = d),
302
+ return (c, r) => (d(), P(Re, {
303
+ modelValue: m.value,
304
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => m.value = u),
305
305
  label: c.label,
306
306
  placeholder: "Select guest configuration",
307
307
  labelKey: "label",
@@ -312,50 +312,50 @@ const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnecti
312
312
  required: c.required,
313
313
  searchable: !1
314
314
  }, {
315
- option: T(({ data: d }) => [
316
- a("span", zo, [
315
+ option: T(({ data: u }) => [
316
+ a("span", Qo, [
317
317
  a("div", null, [
318
318
  y(W, {
319
319
  icon: "male",
320
320
  type: "fas",
321
321
  color: "font"
322
322
  }),
323
- a("span", null, f(`${d.adults}`), 1),
324
- d.children > 0 ? (u(), v("span", Yo, [
323
+ a("span", null, h(`${u.adults}`), 1),
324
+ u.children > 0 ? (d(), v("span", Xo, [
325
325
  y(W, {
326
326
  icon: "child",
327
327
  type: "fas",
328
328
  color: "font"
329
329
  }),
330
- a("span", null, f(`${d.children}`), 1)
330
+ a("span", null, h(`${u.children}`), 1)
331
331
  ])) : _("", !0)
332
332
  ]),
333
- a("span", null, f(`(${e(ne)(d.price, e(o))})`), 1)
333
+ a("span", null, h(`(${e(ne)(u.price, e(o))})`), 1)
334
334
  ])
335
335
  ]),
336
- "selected-option": T(({ data: d }) => [
337
- a("div", Qo, [
338
- a("div", Xo, [
336
+ "selected-option": T(({ data: u }) => [
337
+ a("div", Zo, [
338
+ a("div", el, [
339
339
  a("div", null, [
340
340
  _("", !0),
341
- a("span", null, f(`${d.adults} ${d.adults === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1)
341
+ a("span", null, h(`${u.adults} ${u.adults === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1)
342
342
  ]),
343
- d.children > 0 ? (u(), v("div", Zo, [
343
+ u.children > 0 ? (d(), v("div", tl, [
344
344
  _("", !0),
345
- a("span", null, f(`& ${d.children} ${d.children === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1)
345
+ a("span", null, h(`& ${u.children} ${u.children === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1)
346
346
  ])) : _("", !0)
347
347
  ]),
348
- a("div", el, [
349
- tl,
350
- tt(" " + f(`(${e(ne)(d.price, e(o))})`), 1)
348
+ a("div", ol, [
349
+ ll,
350
+ tt(" " + h(`(${e(ne)(u.price, e(o))})`), 1)
351
351
  ])
352
352
  ])
353
353
  ]),
354
354
  _: 1
355
355
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
356
356
  }
357
- }), ll = /* @__PURE__ */ fe(ol, [["__scopeId", "data-v-69fe83d8"]]), nl = { class: "konnectio-availability-listing-selection" }, al = { key: 1 }, il = { class: "konnectio-listing-config-body" }, sl = { class: "konnectio-listing-units-body" };
358
- const rl = /* @__PURE__ */ ee({
357
+ }), al = /* @__PURE__ */ fe(nl, [["__scopeId", "data-v-69fe83d8"]]), il = { class: "konnectio-availability-listing-selection" }, sl = { key: 1 }, rl = { class: "konnectio-listing-config-body" }, dl = { class: "konnectio-listing-units-body" };
358
+ const cl = /* @__PURE__ */ ee({
359
359
  __name: "Hotel",
360
360
  props: {
361
361
  room: {},
@@ -373,7 +373,7 @@ const rl = /* @__PURE__ */ ee({
373
373
  const s = x(() => t.room.rates.map((k) => ({
374
374
  label: k.name,
375
375
  value: k.id
376
- }))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = Z(Ce()), { roomSelect: c } = Z(ye()), { addToCart: r, removeFromCart: d } = At(), h = (k, D) => t.room.rates.find((B) => B.id === k)?.occupantRates.find((B) => B.index === D), $ = x(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), C = (k, D) => h(k, D) ? h(k, D)?.rooms : null, w = (k) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
376
+ }))), { hideAvailableRoomAmount: p, autoSelectRateId: m } = Z(Ce()), { roomSelect: c } = Z(ye()), { addToCart: r, removeFromCart: u } = At(), f = (k, D) => t.room.rates.find((B) => B.id === k)?.occupantRates.find((B) => B.index === D), V = x(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), w = (k, D) => f(k, D) ? f(k, D)?.rooms : null, C = (k) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
377
377
  value: D.index,
378
378
  price: D.totalPrice,
379
379
  adults: D.adultsCount,
@@ -384,7 +384,7 @@ const rl = /* @__PURE__ */ ee({
384
384
  o.value[k].config[0].id = t.room.rates.find((B) => B.id === D.value)?.occupantRateIndex || NaN;
385
385
  }
386
386
  function N() {
387
- I.value ? p.value ? o.value.push({
387
+ I.value ? m.value ? o.value.push({
388
388
  id: t.room.bestRateMatch || void 0,
389
389
  config: [{
390
390
  id: t.room.bestRateMatch && !isNaN(t.room.bestRateMatch) ? t.room.rates.find((k) => k.id === t.room.bestRateMatch)?.occupantRateIndex : NaN,
@@ -419,7 +419,7 @@ const rl = /* @__PURE__ */ ee({
419
419
  id: t.room.id,
420
420
  name: t.room.title,
421
421
  value: t.room.rates[J].rackRate
422
- })) : (o.value[J].config[Y].addons.pop(), d({
422
+ })) : (o.value[J].config[Y].addons.pop(), u({
423
423
  id: t.room.id,
424
424
  name: t.room.title,
425
425
  value: t.room.rates[J].rackRate
@@ -428,7 +428,7 @@ const rl = /* @__PURE__ */ ee({
428
428
  });
429
429
  }, { deep: !0 }), Ee(o, () => {
430
430
  c.value[t.room.id] = o.value;
431
- }, { deep: !0 }), (k, D) => (u(), P(Le, {
431
+ }, { deep: !0 }), (k, D) => (d(), P(Le, {
432
432
  type: "hotel",
433
433
  "listing-id": k.room.id,
434
434
  gallery: k.room.images,
@@ -437,15 +437,15 @@ const rl = /* @__PURE__ */ ee({
437
437
  layout: k.layout,
438
438
  facilities: k.room.facilities,
439
439
  "prices-from": k.room.pricesFrom,
440
- "includes-breakfast": $.value
440
+ "includes-breakfast": V.value
441
441
  }, {
442
442
  action: T(() => [
443
- a("div", nl, [
444
- (u(!0), v(F, null, G(o.value, (B, J) => (u(), v("div", {
443
+ a("div", il, [
444
+ (d(!0), v(F, null, G(o.value, (B, J) => (d(), v("div", {
445
445
  key: B.id,
446
446
  class: "konnectio-hotel-room"
447
447
  }, [
448
- I.value ? (u(), P(Re, {
448
+ I.value ? (d(), P(Re, {
449
449
  key: 0,
450
450
  modelValue: B.id,
451
451
  "onUpdate:modelValue": (R) => B.id = R,
@@ -455,41 +455,41 @@ const rl = /* @__PURE__ */ ee({
455
455
  searchable: !1,
456
456
  onChanged: (R) => M(J, R)
457
457
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : _("", !0),
458
- B.id ? (u(), v("div", al, [
459
- (u(!0), v(F, null, G(k.room.rates, ({
458
+ B.id ? (d(), v("div", sl, [
459
+ (d(!0), v(F, null, G(k.room.rates, ({
460
460
  id: R,
461
461
  maximumOccupants: Y
462
- }) => (u(), v("div", {
462
+ }) => (d(), v("div", {
463
463
  key: R,
464
464
  class: "konnectio-listing-action-selective-i"
465
465
  }, [
466
- B.id === R ? (u(!0), v(F, { key: 0 }, G(B.config, (L, se) => (u(), v("div", {
466
+ B.id === R ? (d(!0), v(F, { key: 0 }, G(B.config, (L, se) => (d(), v("div", {
467
467
  key: se,
468
468
  class: "konnectio-listing-action-selective"
469
469
  }, [
470
- a("ul", il, [
471
- y(ll, {
470
+ a("ul", rl, [
471
+ y(al, {
472
472
  modelValue: L.id,
473
473
  "onUpdate:modelValue": (te) => L.id = te,
474
474
  icon: "male",
475
475
  "icon-type": "fas",
476
476
  label: e(l)("general.guests"),
477
477
  description: Y === 0 ? void 0 : `${e(l)("general.maximumGuests")}: ${Y}`,
478
- options: w(R),
479
- readonly: !(w(R).length > 1)
478
+ options: C(R),
479
+ readonly: !(C(R).length > 1)
480
480
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
481
481
  ]),
482
- a("ul", sl, [
482
+ a("ul", dl, [
483
483
  y(ot, {
484
484
  modelValue: L.units,
485
485
  "onUpdate:modelValue": (te) => L.units = te,
486
- description: e(m) ? void 0 : `${e(l)("booking.availability.availableUnits")}: ${C(B.id, L.id)}`,
486
+ description: e(p) ? void 0 : `${e(l)("booking.availability.availableUnits")}: ${w(B.id, L.id)}`,
487
487
  icon: "house",
488
488
  "icon-type": "fas",
489
489
  "icon-placement": "label",
490
490
  label: e(l)("booking.availability.units"),
491
491
  minValue: 0,
492
- "max-value": C(R, L.id) || 1 / 0
492
+ "max-value": w(R, L.id) || 1 / 0
493
493
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
494
494
  ]),
495
495
  _("", !0)
@@ -502,7 +502,7 @@ const rl = /* @__PURE__ */ ee({
502
502
  _: 1
503
503
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
504
504
  }
505
- }), dl = /* @__PURE__ */ fe(rl, [["__scopeId", "data-v-102e8e63"]]), ul = { class: "konnectio-template-side-panel" }, cl = { class: "konnectio-template-side-panel-listings" }, pl = /* @__PURE__ */ ee({
505
+ }), ul = /* @__PURE__ */ fe(cl, [["__scopeId", "data-v-102e8e63"]]), pl = { class: "konnectio-template-side-panel" }, ml = { class: "konnectio-template-side-panel-listings" }, fl = /* @__PURE__ */ ee({
506
506
  __name: "Template",
507
507
  props: {
508
508
  title: {},
@@ -512,33 +512,33 @@ const rl = /* @__PURE__ */ ee({
512
512
  callback: { type: Function }
513
513
  },
514
514
  setup(n) {
515
- const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ye()), { currency: s } = Z(Ce()), { clearRoomSelection: m } = ye(), p = n, c = ae(!0), r = x(() => {
516
- function h($, C) {
517
- return c.value === !0 ? $.extraPrice > C.extraPrice ? -1 : 1 : $.extraPrice > C.extraPrice ? 1 : -1;
515
+ const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ye()), { currency: s } = Z(Ce()), { clearRoomSelection: p } = ye(), m = n, c = ae(!0), r = x(() => {
516
+ function f(V, w) {
517
+ return c.value === !0 ? V.extraPrice > w.extraPrice ? -1 : 1 : V.extraPrice > w.extraPrice ? 1 : -1;
518
518
  }
519
- return p.roomGroups?.slice().sort(h);
519
+ return m.roomGroups?.slice().sort(f);
520
520
  });
521
- function d(h) {
522
- t.value = p.templateId, o.value = h, m(), p.hideAddons === !0 || i.value ? p.callback(2) : p.callback(1);
521
+ function u(f) {
522
+ t.value = m.templateId, o.value = f, p(), m.hideAddons === !0 || i.value ? m.callback(2) : m.callback(1);
523
523
  }
524
- return (h, $) => (u(), P(Bo, {
525
- title: h.title,
524
+ return (f, V) => (d(), P(No, {
525
+ title: f.title,
526
526
  subtitle: e(l)("booking.availability.selectATemplateRoom")
527
527
  }, {
528
528
  default: T(() => [
529
- a("div", ul, [
530
- a("div", cl, [
531
- (u(!0), v(F, null, G(r.value, ({
532
- id: C,
533
- title: w,
529
+ a("div", pl, [
530
+ a("div", ml, [
531
+ (d(!0), v(F, null, G(r.value, ({
532
+ id: w,
533
+ title: C,
534
534
  description: I,
535
535
  images: M,
536
536
  facilities: N,
537
537
  extraPrice: E
538
- }) => (u(), P(Le, {
539
- key: C,
540
- "listing-id": C,
541
- name: w,
538
+ }) => (d(), P(Le, {
539
+ key: w,
540
+ "listing-id": w,
541
+ name: C,
542
542
  description: I,
543
543
  facilities: N,
544
544
  gallery: M,
@@ -548,7 +548,7 @@ const rl = /* @__PURE__ */ ee({
548
548
  action: T(() => [
549
549
  a("div", null, [
550
550
  y(me, {
551
- onClickEvent: (k) => d(C),
551
+ onClickEvent: (k) => u(w),
552
552
  label: `${e(l)("booking.availability.selectThisRoom")} (${e(ne)(E, e(s))})`,
553
553
  "full-width": ""
554
554
  }, null, 8, ["onClickEvent", "label"])
@@ -562,7 +562,7 @@ const rl = /* @__PURE__ */ ee({
562
562
  _: 1
563
563
  }, 8, ["title", "subtitle"]));
564
564
  }
565
- }), St = /* @__PURE__ */ fe(pl, [["__scopeId", "data-v-7424de30"]]), ml = { class: "konnectio-template-select-package" }, fl = /* @__PURE__ */ ee({
565
+ }), It = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-7424de30"]]), hl = { class: "konnectio-template-select-package" }, vl = /* @__PURE__ */ ee({
566
566
  __name: "Template",
567
567
  props: {
568
568
  id: {},
@@ -587,13 +587,13 @@ const rl = /* @__PURE__ */ ee({
587
587
  url: t.image.url
588
588
  }];
589
589
  }), s = ae(!1);
590
- function m() {
590
+ function p() {
591
591
  s.value = !0;
592
592
  }
593
- function p(c) {
593
+ function m(c) {
594
594
  t.callback(c), s.value = !1;
595
595
  }
596
- return (c, r) => (u(), P(Le, {
596
+ return (c, r) => (d(), P(Le, {
597
597
  type: "template",
598
598
  "listing-id": c.id,
599
599
  name: c.name,
@@ -605,29 +605,29 @@ const rl = /* @__PURE__ */ ee({
605
605
  "prices-from": o.value
606
606
  }, {
607
607
  action: T(() => [
608
- a("div", ml, [
608
+ a("div", hl, [
609
609
  y(me, {
610
- onClickEvent: m,
610
+ onClickEvent: p,
611
611
  label: e(l)("booking.availability.selectPackage"),
612
612
  "full-width": ""
613
613
  }, null, 8, ["label"])
614
614
  ])
615
615
  ]),
616
616
  default: T(() => [
617
- y(St, {
617
+ y(It, {
618
618
  modelValue: s.value,
619
- "onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
619
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => s.value = u),
620
620
  title: c.name,
621
621
  "template-id": c.id,
622
622
  "room-groups": c.roomGroups,
623
623
  "hide-addons": c.hideAddons,
624
- callback: p
624
+ callback: m
625
625
  }, null, 8, ["modelValue", "title", "template-id", "room-groups", "hide-addons"])
626
626
  ]),
627
627
  _: 1
628
628
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
629
629
  }
630
- }), hl = { class: "konnectio-special-offer-availability" }, vl = { class: "konnectio-special-offer-availability-button" }, yl = /* @__PURE__ */ ee({
630
+ }), yl = { class: "konnectio-special-offer-availability" }, gl = { class: "konnectio-special-offer-availability-button" }, bl = /* @__PURE__ */ ee({
631
631
  __name: "SpecialOffer",
632
632
  props: {
633
633
  id: {},
@@ -641,70 +641,73 @@ const rl = /* @__PURE__ */ ee({
641
641
  callback: { type: Function }
642
642
  },
643
643
  setup(n) {
644
- const { t: l } = ie(), { updateDates: t } = we(), o = n, i = ae([]), s = x(() => Te(o.fromDate, o.toDate) === 1), m = x(() => [{
645
- large: o.image.url,
646
- medium: o.image.url,
647
- thumb: o.image.url,
648
- url: o.image.url
649
- }]), p = ae(!1);
650
- function c(d) {
651
- o.callback(d), p.value = !1;
644
+ const { t: l } = ie(), { updateDates: t } = we(), { display: o } = St(), i = n, s = ae([]), p = x(() => Te(i.fromDate, i.toDate) === 1), m = x(() => [{
645
+ large: i.image.url,
646
+ medium: i.image.url,
647
+ thumb: i.image.url,
648
+ url: i.image.url
649
+ }]), c = ae(!1);
650
+ function r(f) {
651
+ i.callback(f), c.value = !1;
652
652
  }
653
- function r() {
654
- t(i.value[0], i.value[1]);
653
+ function u() {
654
+ s.value.length > 0 ? t(s.value[0], s.value[1]) : o({
655
+ message: l("alert.error.selectDates"),
656
+ type: "error"
657
+ });
655
658
  }
656
659
  return st(() => {
657
- s.value && (i.value = [new Date(o.fromDate), new Date(o.toDate)]);
658
- }), (d, h) => (u(), P(Le, {
660
+ p.value && (s.value = [new Date(i.fromDate), new Date(i.toDate)]);
661
+ }), (f, V) => (d(), P(Le, {
659
662
  type: "template",
660
- "listing-id": d.id,
661
- name: d.name,
662
- description: d.description,
663
+ "listing-id": f.id,
664
+ name: f.name,
665
+ description: f.description,
663
666
  gallery: m.value,
664
667
  layout: e(Dt).Template,
665
668
  "includes-breakfast": !1,
666
669
  "hide-info-button": !1,
667
- "to-date": d.toDate,
668
- "from-date": d.fromDate
670
+ "to-date": f.toDate,
671
+ "from-date": f.fromDate
669
672
  }, {
670
673
  action: T(() => [
671
- a("div", hl, [
674
+ a("div", yl, [
672
675
  y(Ht, {
673
- modelValue: i.value,
674
- "onUpdate:modelValue": h[0] || (h[0] = ($) => i.value = $),
676
+ modelValue: s.value,
677
+ "onUpdate:modelValue": V[0] || (V[0] = (w) => s.value = w),
675
678
  label: e(l)("availability.checkInOut"),
676
679
  placeholder: e(l)("booking.availability.selectDates"),
677
680
  "icon-type": "fas",
678
681
  "icon-placement": "label",
679
682
  "min-range": 1,
680
- "start-date": new Date(d.fromDate),
681
- "min-date": new Date(d.fromDate),
682
- "max-date": new Date(d.toDate),
683
- readonly: s.value,
683
+ "start-date": new Date(f.fromDate),
684
+ "min-date": new Date(f.fromDate),
685
+ "max-date": new Date(f.toDate),
686
+ readonly: p.value,
684
687
  range: ""
685
688
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
686
- a("div", vl, [
689
+ a("div", gl, [
687
690
  y(me, {
688
691
  label: e(l)("availability.buttonLabel"),
689
- onClick: Pt(r, ["prevent"])
692
+ onClick: Pt(u, ["prevent"])
690
693
  }, null, 8, ["label"])
691
694
  ])
692
695
  ])
693
696
  ]),
694
697
  default: T(() => [
695
- y(St, {
696
- modelValue: p.value,
697
- "onUpdate:modelValue": h[1] || (h[1] = ($) => p.value = $),
698
- title: d.name,
699
- "template-id": d.id,
700
- roomGroups: d.roomGroups,
701
- callback: c
698
+ y(It, {
699
+ modelValue: c.value,
700
+ "onUpdate:modelValue": V[1] || (V[1] = (w) => c.value = w),
701
+ title: f.name,
702
+ "template-id": f.id,
703
+ roomGroups: f.roomGroups,
704
+ callback: r
702
705
  }, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
703
706
  ]),
704
707
  _: 1
705
708
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
706
709
  }
707
- }), gt = /* @__PURE__ */ ee({
710
+ }), bt = /* @__PURE__ */ ee({
708
711
  __name: "TimeField",
709
712
  props: {
710
713
  modelValue: {},
@@ -723,30 +726,30 @@ const rl = /* @__PURE__ */ ee({
723
726
  emits: ["update:modelValue"],
724
727
  setup(n, { emit: l }) {
725
728
  const t = l, o = n;
726
- function i(m) {
727
- t("update:modelValue", m);
729
+ function i(p) {
730
+ t("update:modelValue", p);
728
731
  }
729
732
  const s = ae(o.modelValue);
730
- return Ee(s, (m) => {
731
- i(m);
732
- }), (m, p) => (u(), P(Ht, {
733
+ return Ee(s, (p) => {
734
+ i(p);
735
+ }), (p, m) => (d(), P(Ht, {
733
736
  modelValue: s.value,
734
- "onUpdate:modelValue": p[0] || (p[0] = (c) => s.value = c),
737
+ "onUpdate:modelValue": m[0] || (m[0] = (c) => s.value = c),
735
738
  type: "time",
736
- label: m.label,
737
- id: m.id,
738
- name: m.name,
739
- icon: m.icon,
740
- "icon-type": m.iconType,
741
- "icon-color": m.iconColor,
739
+ label: p.label,
740
+ id: p.id,
741
+ name: p.name,
742
+ icon: p.icon,
743
+ "icon-type": p.iconType,
744
+ "icon-color": p.iconColor,
742
745
  "auto-apply": !0,
743
- required: m.required,
744
- readonly: m.readonly,
745
- "min-time": m.minTime,
746
- "max-time": m.maxTime
746
+ required: p.required,
747
+ readonly: p.readonly,
748
+ "min-time": p.minTime,
749
+ "max-time": p.maxTime
747
750
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly", "min-time", "max-time"]));
748
751
  }
749
- }), bl = { style: { display: "flex", "align-items": "baseline" } }, gl = /* @__PURE__ */ ee({
752
+ }), kl = { style: { display: "flex", "align-items": "baseline" } }, _l = /* @__PURE__ */ ee({
750
753
  __name: "CountryField",
751
754
  props: {
752
755
  modelValue: {},
@@ -759,41 +762,41 @@ const rl = /* @__PURE__ */ ee({
759
762
  emits: ["update:modelValue"],
760
763
  setup(n, { emit: l }) {
761
764
  const { t } = ie(), o = l, i = n;
762
- function s(p) {
763
- o("update:modelValue", p);
765
+ function s(m) {
766
+ o("update:modelValue", m);
764
767
  }
765
- const m = x({
768
+ const p = x({
766
769
  get: () => i.modelValue,
767
- set: (p) => s(p)
770
+ set: (m) => s(m)
768
771
  });
769
- return (p, c) => (u(), P(Re, {
770
- modelValue: m.value,
771
- "onUpdate:modelValue": c[0] || (c[0] = (r) => m.value = r),
772
- label: p.label,
772
+ return (m, c) => (d(), P(Re, {
773
+ modelValue: p.value,
774
+ "onUpdate:modelValue": c[0] || (c[0] = (r) => p.value = r),
775
+ label: m.label,
773
776
  placeholder: e(t)("booking.reservation.countryPlaceholder"),
774
777
  labelKey: "name",
775
778
  valueKey: "id",
776
- options: p.options,
777
- required: p.required
779
+ options: m.options,
780
+ required: m.required
778
781
  }, {
779
782
  option: T(({ data: r }) => [
780
783
  a("i", {
781
784
  class: Be(["konnectio-flag-icon", r.iso])
782
785
  }, null, 2),
783
- a("span", null, f(r.name), 1)
786
+ a("span", null, h(r.name), 1)
784
787
  ]),
785
788
  "selected-option": T(({ data: r }) => [
786
- a("div", bl, [
789
+ a("div", kl, [
787
790
  a("i", {
788
791
  class: Be(["konnectio-flag-icon", r.iso])
789
792
  }, null, 2),
790
- a("span", null, f(r.name), 1)
793
+ a("span", null, h(r.name), 1)
791
794
  ])
792
795
  ]),
793
796
  _: 1
794
797
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
795
798
  }
796
- }), kl = /* @__PURE__ */ fe(gl, [["__scopeId", "data-v-1462612d"]]), _l = /* @__PURE__ */ ee({
799
+ }), Vl = /* @__PURE__ */ fe(_l, [["__scopeId", "data-v-1462612d"]]), $l = /* @__PURE__ */ ee({
797
800
  __name: "NameField",
798
801
  props: {
799
802
  modelValue: {},
@@ -815,35 +818,35 @@ const rl = /* @__PURE__ */ ee({
815
818
  },
816
819
  emits: ["update:modelValue", "update:title"],
817
820
  setup(n, { emit: l }) {
818
- const t = n, o = l, i = t.id || vt(), s = ae(""), m = ae(2);
819
- function p() {
821
+ const t = n, o = l, i = t.id || vt(), s = ae(""), p = ae(2);
822
+ function m() {
820
823
  o("update:modelValue", s.value);
821
824
  }
822
- Ee(m, (r) => {
825
+ Ee(p, (r) => {
823
826
  o("update:title", r);
824
827
  });
825
828
  const { t: c } = ie();
826
829
  return st(() => {
827
- t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
828
- }), (r, d) => (u(), P(yo, {
830
+ t.modelValue && (s.value = t.modelValue), t.title && (p.value = t.title);
831
+ }), (r, u) => (d(), P(go, {
829
832
  label: r.label,
830
833
  id: e(i),
831
834
  required: r.required,
832
- type: "fresh-booking-name-field",
835
+ type: "konnectio-name-field",
833
836
  readonly: r.readonly,
834
837
  limit: r.limit
835
838
  }, {
836
839
  default: T(() => [
837
840
  a("div", {
838
841
  class: Be([
839
- "fresh-booking-name-input",
842
+ "konnectio-name-input",
840
843
  { "no-title": r.excludeTitle }
841
844
  ])
842
845
  }, [
843
- r.excludeTitle ? _("", !0) : (u(), P(Re, {
846
+ r.excludeTitle ? _("", !0) : (d(), P(Re, {
844
847
  key: 0,
845
- modelValue: m.value,
846
- "onUpdate:modelValue": d[0] || (d[0] = (h) => m.value = h),
848
+ modelValue: p.value,
849
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => p.value = f),
847
850
  id: e(vt)(),
848
851
  icon: r.icon,
849
852
  "icon-color": r.iconColor,
@@ -875,9 +878,9 @@ const rl = /* @__PURE__ */ ee({
875
878
  "input-style": r.inputStyle,
876
879
  searchable: !1
877
880
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
878
- y(ce, {
881
+ y(ue, {
879
882
  modelValue: s.value,
880
- "onUpdate:modelValue": d[1] || (d[1] = (h) => s.value = h),
883
+ "onUpdate:modelValue": u[1] || (u[1] = (f) => s.value = f),
881
884
  type: "text",
882
885
  name: "name",
883
886
  autocomplete: "name",
@@ -889,7 +892,7 @@ const rl = /* @__PURE__ */ ee({
889
892
  required: r.required,
890
893
  readonly: r.readonly,
891
894
  limit: r.limit,
892
- onInput: d[2] || (d[2] = (h) => p()),
895
+ onInput: u[2] || (u[2] = (f) => m()),
893
896
  "input-style": r.inputStyle
894
897
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
895
898
  ], 2)
@@ -897,58 +900,58 @@ const rl = /* @__PURE__ */ ee({
897
900
  _: 1
898
901
  }, 8, ["label", "id", "required", "readonly", "limit"]));
899
902
  }
900
- }), Vl = /* @__PURE__ */ fe(_l, [["__scopeId", "data-v-78b0b319"]]), $l = { class: "hotel-skeleton" }, Tl = { class: "hotel-skeleton-content" }, wl = { class: "hotel-skeleton-sidebar" }, Cl = /* @__PURE__ */ ee({
903
+ }), Tl = /* @__PURE__ */ fe($l, [["__scopeId", "data-v-7c44829d"]]), wl = { class: "hotel-skeleton" }, Cl = { class: "hotel-skeleton-content" }, Pl = { class: "hotel-skeleton-sidebar" }, Al = /* @__PURE__ */ ee({
901
904
  __name: "HotelSkeleton",
902
905
  setup(n) {
903
- return (l, t) => (u(), v("div", $l, [
904
- a("div", Tl, [
905
- y(To, { hotel: "" }),
906
- y(Po)
906
+ return (l, t) => (d(), v("div", wl, [
907
+ a("div", Cl, [
908
+ y(Io, { hotel: "" }),
909
+ y(wo)
907
910
  ]),
908
- a("div", wl, [
909
- y(Ao)
911
+ a("div", Pl, [
912
+ y(Co)
910
913
  ])
911
914
  ]));
912
915
  }
913
- }), Pl = /* @__PURE__ */ fe(Cl, [["__scopeId", "data-v-1bb21da4"]]), Al = (n) => (at("data-v-e0188aee"), n = n(), it(), n), Dl = { id: "booking-availability-container" }, Hl = { id: "booking-availability-controls" };
914
- const Sl = { key: 1 }, Il = { key: 0 }, El = {
916
+ }), Dl = /* @__PURE__ */ fe(Al, [["__scopeId", "data-v-1bb21da4"]]), Sl = (n) => (at("data-v-b6142cc2"), n = n(), it(), n), Hl = { id: "booking-availability-container" }, Il = { id: "booking-availability-controls" };
917
+ const El = { key: 1 }, Bl = { key: 0 }, Nl = {
915
918
  key: 0,
916
919
  id: "booking-availability-packages"
917
- }, Bl = {
920
+ }, Ml = {
918
921
  key: 0,
919
922
  class: "konnectio-hotel-availability-title"
920
- }, Nl = { id: "booking-availability-packages-wrapper" }, Ml = { key: 1 }, Rl = {
923
+ }, Rl = { id: "booking-availability-packages-wrapper" }, Ll = { key: 1 }, Ul = {
921
924
  key: 0,
922
925
  class: "konnectio-hotel-availability-title"
923
- }, Ll = { id: "konnectio-listings" }, Ul = {
926
+ }, Fl = { id: "konnectio-listings" }, Ol = {
924
927
  key: 2,
925
928
  id: "booking-availability-packages"
926
- }, Fl = { class: "konnectio-hotel-availability-title" }, Ol = { id: "booking-availability-packages-wrapper" }, jl = {
929
+ }, jl = { class: "konnectio-hotel-availability-title" }, ql = { id: "booking-availability-packages-wrapper" }, Gl = {
927
930
  key: 3,
928
931
  id: "booking-availability-no-listings",
929
932
  class: "konnectio-panel"
930
- }, ql = {
933
+ }, Wl = {
931
934
  key: 1,
932
935
  id: "booking-availability-no-listings"
933
- }, Gl = {
936
+ }, xl = {
934
937
  key: 2,
935
938
  id: "reservation-availability-next-dates"
936
- }, Wl = { class: "konnectio-hotel-availability-title" }, xl = { class: "reservation-special-offers-grid" }, Kl = ["title"];
937
- const Jl = {
939
+ }, Kl = { class: "konnectio-hotel-availability-title" }, Jl = { class: "reservation-special-offers-grid" }, zl = ["title"];
940
+ const Yl = {
938
941
  key: 2,
939
942
  class: "konnectio-panel"
940
- }, zl = {
943
+ }, Ql = {
941
944
  key: 3,
942
945
  class: "konnectio-listing-loading"
943
- }, Yl = { class: "konnectio-panel" }, Ql = {
946
+ }, Xl = { class: "konnectio-panel" }, Zl = {
944
947
  key: 0,
945
948
  id: "konnectio-hotel-addons"
946
949
  };
947
- const Xl = { class: "konnectio-event-addons-price" }, Zl = { key: 1 }, en = { class: "konnectio-table-addons-information" }, tn = { class: "konnectio-table-addons-option" }, on = {
950
+ const en = { class: "konnectio-event-addons-price" }, tn = { key: 1 }, on = { class: "konnectio-table-addons-information" }, ln = { class: "konnectio-table-addons-option" }, nn = {
948
951
  key: 1,
949
952
  id: "konnectio-hotel-addons"
950
- }, ln = { class: "konnectio-table with-lines" };
951
- const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), an = { class: "konnectio-table-addons-information" }, sn = { class: "konnectio-table-addons-option" }, rn = { class: "konnectio-panel" }, dn = { key: 0 }, un = { key: 1 }, cn = { class: "konnectio-split-inputs" }, pn = /* @__PURE__ */ ee({
953
+ }, an = { class: "konnectio-table with-lines" };
954
+ const sn = /* @__PURE__ */ Sl(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), rn = { class: "konnectio-table-addons-information" }, dn = { class: "konnectio-table-addons-option" }, cn = { class: "konnectio-panel" }, un = { key: 0 }, pn = { key: 1 }, mn = { class: "konnectio-split-inputs" }, fn = /* @__PURE__ */ ee({
952
955
  name: "HotelLayout",
953
956
  __name: "Hotel",
954
957
  props: {
@@ -961,18 +964,18 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
961
964
  styling: {}
962
965
  },
963
966
  setup(n) {
964
- const l = so(() => import("./_-D9xfNmwK.js")), t = n, { t: o } = ie(), {
967
+ const l = ro(() => import("./_-DCgp8uOr.js")), t = n, { t: o } = ie(), {
965
968
  currentLocation: i,
966
969
  templateID: s,
967
- templateAddons: m,
968
- countries: p,
970
+ templateAddons: p,
971
+ countries: m,
969
972
  areListingsLoading: c,
970
973
  isPaymentLoading: r,
971
- isReservationFormFilled: d,
972
- travelingFor: h,
973
- arrivalTime: $,
974
- departureTime: C,
975
- name: w,
974
+ isReservationFormFilled: u,
975
+ travelingFor: f,
976
+ arrivalTime: V,
977
+ departureTime: w,
978
+ name: C,
976
979
  nameTitle: I,
977
980
  email: M,
978
981
  phone: N,
@@ -988,8 +991,8 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
988
991
  hasValidRoomSelection: te,
989
992
  availabilityData: j,
990
993
  selectionHasNoAddons: he,
991
- isAvailabilityDataAvailable: be,
992
- getSelectedPackageRoom: ge,
994
+ isAvailabilityDataAvailable: ge,
995
+ getSelectedPackageRoom: be,
993
996
  selectedPackage: Ue,
994
997
  isSearchOutdated: dt,
995
998
  currentChildren: Fe,
@@ -1006,27 +1009,27 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1006
1009
  arrivalLatest: je,
1007
1010
  departureEarliest: re,
1008
1011
  departureLatest: qe,
1009
- enableTracking: ut,
1010
- hideArrivalDepartureInputs: Mt,
1012
+ enableTracking: ct,
1013
+ hideArrivalDepartureInputs: Rt,
1011
1014
  disableArrivalUserSelection: Ge,
1012
- disableNamePrefix: Rt,
1015
+ disableNamePrefix: Lt,
1013
1016
  disableDepartureUserSelection: We,
1014
- disableTravelingFor: Lt,
1015
- disableTravelingForBleasure: Ut,
1016
- disableCompanyField: Ft,
1017
- hasPaymentGateway: Ot,
1018
- maxAdultAmount: ct,
1017
+ disableTravelingFor: Ut,
1018
+ disableTravelingForBleasure: Ft,
1019
+ disableCompanyField: Ot,
1020
+ hasPaymentGateway: jt,
1021
+ maxAdultAmount: ut,
1019
1022
  maxChildAmount: pt,
1020
- defaultAdultAmount: jt,
1021
- defaultChildAmount: qt
1022
- } = Z(Ce()), { beginCheckout: Gt } = At(), { display: xe } = go(), {
1023
- resetTemplate: Wt,
1024
- resetDiscountVoucher: xt,
1025
- createReservation: Kt,
1026
- fetchMetadata: Jt,
1023
+ defaultAdultAmount: qt,
1024
+ defaultChildAmount: Gt
1025
+ } = Z(Ce()), { beginCheckout: Wt } = At(), { display: xe } = St(), {
1026
+ resetTemplate: xt,
1027
+ resetDiscountVoucher: Kt,
1028
+ createReservation: Jt,
1029
+ fetchMetadata: zt,
1027
1030
  fetchAvailabilityData: mt,
1028
1031
  filterAddons: ft
1029
- } = ye(), zt = ae(!0), Yt = x(() => [
1032
+ } = ye(), Yt = ae(!0), Qt = x(() => [
1030
1033
  {
1031
1034
  id: "availability",
1032
1035
  label: o("booking.availability.title"),
@@ -1040,7 +1043,7 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1040
1043
  },
1041
1044
  {
1042
1045
  id: "reservation",
1043
- label: o("booking.reservation.detailsTitle"),
1046
+ label: o("booking.reservation.title"),
1044
1047
  icon: "concierge-bell"
1045
1048
  },
1046
1049
  {
@@ -1052,8 +1055,8 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1052
1055
  label: o("booking.confirmation.title"),
1053
1056
  icon: "calendar-check"
1054
1057
  }
1055
- ]), Qt = x(() => {
1056
- const b = [
1058
+ ]), Xt = x(() => {
1059
+ const g = [
1057
1060
  {
1058
1061
  label: o("booking.reservation.business"),
1059
1062
  value: "Business"
@@ -1063,38 +1066,38 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1063
1066
  value: "Pleasure"
1064
1067
  }
1065
1068
  ];
1066
- return Ut.value || b.push({
1069
+ return Ft.value || g.push({
1067
1070
  label: o("booking.reservation.bleasure"),
1068
1071
  value: "Bleasure"
1069
- }), b;
1070
- }), Xt = x(() => {
1071
- const b = j.value.roomGroups.slice();
1072
- function V(K, A) {
1073
- return zt.value === !0 ? K.pricesFrom > A.pricesFrom ? -1 : 1 : K.pricesFrom > A.pricesFrom ? 1 : -1;
1072
+ }), g;
1073
+ }), Zt = x(() => {
1074
+ const g = j.value.roomGroups.slice();
1075
+ function $(K, A) {
1076
+ return Yt.value === !0 ? K.pricesFrom > A.pricesFrom ? -1 : 1 : K.pricesFrom > A.pricesFrom ? 1 : -1;
1074
1077
  }
1075
- return b.sort(V);
1078
+ return g.sort($);
1076
1079
  }), Ke = x(() => t.hideAddons === "yes" || Pe.value && t.hideAddons === "packages" || !Pe.value && t.hideAddons === "rooms");
1077
- function ht(b) {
1078
- Ke.value || he.value ? b(2) : b(), xt();
1080
+ function ht(g) {
1081
+ Ke.value || he.value ? g(2) : g(), Kt();
1079
1082
  }
1080
- async function Zt(b, V) {
1081
- await Kt(b, V);
1083
+ async function eo(g, $) {
1084
+ await Jt(g, $);
1082
1085
  }
1083
- function eo(b) {
1084
- ut.value && Gt(), Ke.value || he.value ? b(2) : b();
1086
+ function to(g) {
1087
+ ct.value && Wt(), Ke.value || he.value ? g(2) : g();
1085
1088
  }
1086
- function to() {
1087
- const b = _o("history", {
1089
+ function oo() {
1090
+ const g = _o("history", {
1088
1091
  removeNullishValues: !0
1089
- }), V = parseInt(b.a), K = parseInt(b.c), A = parseInt(b.hid), H = parseInt(b.n), g = b.ci, U = b.co, S = b.id;
1092
+ }), $ = parseInt(g.a), K = parseInt(g.c), A = parseInt(g.hid), S = parseInt(g.n), b = g.ci, U = g.co, H = g.id;
1090
1093
  let oe = !1;
1091
- if (isNaN(V) || (V > ct.value ? ve.value = ct.value : ve.value = V, ve.value === jt.value && (b.a = void 0)), isNaN(K) || (K > pt.value ? ke.value = pt.value : ke.value = K, ke.value === qt.value && (b.c = void 0)), isNaN(H) || H > 0 && (b.n = void 0), isNaN(A) || (O(A) ? (X.value = A, oe = !0) : xe({
1094
+ if (isNaN($) || ($ > ut.value ? ve.value = ut.value : ve.value = $, ve.value === qt.value && (g.a = void 0)), isNaN(K) || (K > pt.value ? ke.value = pt.value : ke.value = K, ke.value === Gt.value && (g.c = void 0)), isNaN(S) || S > 0 && (g.n = void 0), isNaN(A) || (O(A) ? (X.value = A, oe = !0) : xe({
1092
1095
  message: o("alert.error.hotelIdNotFound"),
1093
1096
  type: "error"
1094
- })), g && U)
1095
- if (bt(g) && bt(U)) {
1096
- const _e = new Date(g), de = new Date(U);
1097
- _e <= de ? (z.value = _e, Ve.value = de) : (b.ci = void 0, b.co = void 0, xe({
1097
+ })), b && U)
1098
+ if (gt(b) && gt(U)) {
1099
+ const _e = new Date(b), de = new Date(U);
1100
+ _e <= de ? (z.value = _e, Ve.value = de) : (g.ci = void 0, g.co = void 0, xe({
1098
1101
  message: o("alert.error.invalidDateRange"),
1099
1102
  type: "error"
1100
1103
  }));
@@ -1104,137 +1107,137 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1104
1107
  type: "error"
1105
1108
  });
1106
1109
  let Q = null;
1107
- S && (Q = S), t.disableDefaultLocation === "yes" && oe === !1 ? (X.value = void 0, i.value = void 0) : mt(Q);
1110
+ H && (Q = H), t.disableDefaultLocation === "yes" && oe === !1 ? (X.value = void 0, i.value = void 0) : mt(Q);
1108
1111
  }
1109
- return (b, V) => (u(), P(ko, { styling: b.styling }, {
1112
+ return (g, $) => (d(), P(ko, { styling: g.styling }, {
1110
1113
  default: T(() => [
1111
- (u(), P(io, { onResolve: to }, {
1114
+ (d(), P(so, { onResolve: oo }, {
1112
1115
  default: T(() => [
1113
1116
  y(e(l), {
1114
1117
  id: "konnectio-hotel-module",
1115
- "access-token": b.accessToken,
1116
- callback: e(Jt)
1118
+ "access-token": g.accessToken,
1119
+ callback: e(zt)
1117
1120
  }, {
1118
1121
  default: T(() => [
1119
- y(Do, {
1120
- layout: b.headerLayout,
1121
- steps: Yt.value,
1122
- onReset: e(Wt)
1122
+ y(Po, {
1123
+ layout: g.headerLayout,
1124
+ steps: Qt.value,
1125
+ onReset: e(xt)
1123
1126
  }, {
1124
1127
  availability: T(({ next: K }) => [
1125
1128
  y(Ze, null, {
1126
1129
  form: T(() => [
1127
- a("div", Dl, [
1128
- a("div", Hl, [
1129
- y(wo, {
1130
+ a("div", Hl, [
1131
+ a("div", Il, [
1132
+ y(Eo, {
1130
1133
  booking: !0,
1131
- "selected-location": Number(b.selectedLocation),
1132
- "disable-default-location": b.disableDefaultLocation === "yes"
1134
+ "selected-location": Number(g.selectedLocation),
1135
+ "disable-default-location": g.disableDefaultLocation === "yes"
1133
1136
  }, null, 8, ["selected-location", "disable-default-location"])
1134
1137
  ]),
1135
1138
  _("", !0),
1136
- !e(c) && e(be) ? (u(), v("div", Sl, [
1137
- e(j).roomGroups.length > 0 || e(j).templates.length > 0 || e(j).specialTemplates.length > 0 ? (u(), v("div", Il, [
1138
- e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), v("div", El, [
1139
- b.onlyShow !== "packages" ? (u(), v("h2", Bl, [
1139
+ !e(c) && e(ge) ? (d(), v("div", El, [
1140
+ e(j).roomGroups.length > 0 || e(j).templates.length > 0 || e(j).specialTemplates.length > 0 ? (d(), v("div", Bl, [
1141
+ e(j).templates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("div", Nl, [
1142
+ g.onlyShow !== "packages" ? (d(), v("h2", Ml, [
1140
1143
  y(W, {
1141
1144
  icon: "box",
1142
1145
  type: "fal",
1143
1146
  color: "header"
1144
1147
  }),
1145
- a("span", null, f(e(o)("booking.availability.packagesTitle")), 1)
1148
+ a("span", null, h(e(o)("booking.availability.packagesTitle")), 1)
1146
1149
  ])) : _("", !0),
1147
- a("ul", Nl, [
1148
- (u(!0), v(F, null, G(e(j).templates, ({
1150
+ a("ul", Rl, [
1151
+ (d(!0), v(F, null, G(e(j).templates, ({
1149
1152
  id: A,
1150
- name: H,
1151
- templateRoomGroups: g,
1153
+ name: S,
1154
+ templateRoomGroups: b,
1152
1155
  image: U,
1153
- description: S,
1156
+ description: H,
1154
1157
  weekendFee: oe
1155
- }) => (u(), P(fl, {
1158
+ }) => (d(), P(vl, {
1156
1159
  key: A,
1157
1160
  id: A,
1158
- description: S,
1159
- name: H,
1161
+ description: H,
1162
+ name: S,
1160
1163
  image: U,
1161
1164
  weekendFee: oe,
1162
- "room-groups": g,
1165
+ "room-groups": b,
1163
1166
  callback: K,
1164
- "hide-addons": b.hideAddons === "yes" || b.hideAddons === "packages"
1167
+ "hide-addons": g.hideAddons === "yes" || g.hideAddons === "packages"
1165
1168
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
1166
1169
  ])
1167
1170
  ])) : _("", !0),
1168
- e(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (u(), v("div", Ml, [
1169
- e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), v("h2", Rl, [
1171
+ e(j).roomGroups.length > 0 && g.onlyShow !== "packages" ? (d(), v("div", Ll, [
1172
+ e(j).templates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("h2", Ul, [
1170
1173
  y(W, {
1171
1174
  icon: "house",
1172
1175
  type: "fal",
1173
1176
  color: "header"
1174
1177
  }),
1175
- a("span", null, f(e(o)("booking.availability.roomsTitle")), 1)
1178
+ a("span", null, h(e(o)("booking.availability.roomsTitle")), 1)
1176
1179
  ])) : _("", !0),
1177
- a("ul", Ll, [
1178
- (u(!0), v(F, null, G(Xt.value, (A, H) => (u(), P(dl, {
1180
+ a("ul", Fl, [
1181
+ (d(!0), v(F, null, G(Zt.value, (A, S) => (d(), P(ul, {
1179
1182
  room: A,
1180
- key: H
1183
+ key: S
1181
1184
  }, null, 8, ["room"]))), 128))
1182
1185
  ])
1183
1186
  ])) : _("", !0),
1184
- e(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (u(), v("div", Ul, [
1185
- a("h2", Fl, [
1187
+ e(j).specialTemplates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("div", Ol, [
1188
+ a("h2", jl, [
1186
1189
  y(W, {
1187
1190
  icon: "sparkles",
1188
1191
  type: "fal",
1189
1192
  color: "header"
1190
1193
  }),
1191
- a("span", null, f(e(o)("hotel.specialOffers")), 1)
1194
+ a("span", null, h(e(o)("hotel.specialOffers")), 1)
1192
1195
  ]),
1193
- a("ul", Ol, [
1194
- (u(!0), v(F, null, G(e(j).specialTemplates, ({
1196
+ a("ul", ql, [
1197
+ (d(!0), v(F, null, G(e(j).specialTemplates, ({
1195
1198
  id: A,
1196
- name: H,
1197
- templateRoomGroups: g,
1199
+ name: S,
1200
+ templateRoomGroups: b,
1198
1201
  image: U,
1199
- description: S,
1202
+ description: H,
1200
1203
  weekendFee: oe,
1201
1204
  fromDate: Q,
1202
1205
  toDate: _e
1203
- }) => (u(), P(yl, {
1206
+ }) => (d(), P(bl, {
1204
1207
  key: A,
1205
1208
  id: A,
1206
- description: S,
1207
- name: H,
1209
+ description: H,
1210
+ name: S,
1208
1211
  image: U,
1209
1212
  fromDate: Q,
1210
1213
  toDate: _e,
1211
1214
  weekendFee: oe,
1212
- "room-groups": g,
1215
+ "room-groups": b,
1213
1216
  callback: K
1214
1217
  }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
1215
1218
  ])
1216
1219
  ])) : _("", !0),
1217
- (e(j).templates.length === 0 && b.onlyShow !== "rooms" || e(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (u(), v("div", jl, [
1218
- a("span", null, f(e(o)("booking.availability.nothingAvailable")), 1)
1220
+ (e(j).templates.length === 0 && g.onlyShow !== "rooms" || e(j).roomGroups.length === 0 && g.onlyShow !== "packages") && (g.onlyShow === "rooms" || g.onlyShow === "packages") ? (d(), v("div", Gl, [
1221
+ a("span", null, h(e(o)("booking.availability.nothingAvailable")), 1)
1219
1222
  ])) : _("", !0)
1220
- ])) : e(j).nextAvailableDates.length === 0 ? (u(), v("div", ql, [
1221
- a("span", null, f(e(o)("booking.availability.nothingAvailable")), 1)
1222
- ])) : (u(), v("div", Gl, [
1223
- a("h2", Wl, [
1223
+ ])) : e(j).nextAvailableDates.length === 0 ? (d(), v("div", Wl, [
1224
+ a("span", null, h(e(o)("booking.availability.nothingAvailable")), 1)
1225
+ ])) : (d(), v("div", xl, [
1226
+ a("h2", Kl, [
1224
1227
  y(W, {
1225
1228
  icon: "calendar-circle-exclamation",
1226
1229
  type: "fal",
1227
1230
  color: "header"
1228
1231
  }),
1229
- a("span", null, f(e(o)("booking.availability.nextAvailableDates")), 1)
1232
+ a("span", null, h(e(o)("booking.availability.nextAvailableDates")), 1)
1230
1233
  ]),
1231
- a("ul", xl, [
1232
- (u(!0), v(F, null, G(e(j).nextAvailableDates, (A, H) => (u(), v("li", { key: H }, [
1234
+ a("ul", Jl, [
1235
+ (d(!0), v(F, null, G(e(j).nextAvailableDates, (A, S) => (d(), v("li", { key: S }, [
1233
1236
  a("h3", {
1234
1237
  title: `${e(le)(A.fromDate)} - ${e(le)(A.toDate)}`
1235
1238
  }, [
1236
- a("span", null, f(`${e(le)(A.fromDate)} - ${e(le)(A.toDate)}`), 1)
1237
- ], 8, Kl),
1239
+ a("span", null, h(`${e(le)(A.fromDate)} - ${e(le)(A.toDate)}`), 1)
1240
+ ], 8, zl),
1238
1241
  a("ul", null, [
1239
1242
  _("", !0),
1240
1243
  a("li", null, [
@@ -1243,20 +1246,20 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1243
1246
  type: "fal",
1244
1247
  color: "header"
1245
1248
  }),
1246
- a("span", null, f(e(o)("booking.availability.pricesFrom")) + ": " + f(e(ne)(A.priceStartFrom, e($e))), 1)
1249
+ a("span", null, h(e(o)("booking.availability.pricesFrom")) + ": " + h(e(ne)(A.priceStartFrom, e($e))), 1)
1247
1250
  ])
1248
1251
  ]),
1249
1252
  y(me, {
1250
1253
  label: e(o)("booking.availability.selectDates"),
1251
1254
  "full-width": "",
1252
- onClickEvent: (g) => e(Oe)(new Date(A.fromDate), new Date(A.toDate))
1255
+ onClickEvent: (b) => e(Oe)(new Date(A.fromDate), new Date(A.toDate))
1253
1256
  }, null, 8, ["label", "onClickEvent"])
1254
1257
  ]))), 128))
1255
1258
  ])
1256
1259
  ]))
1257
- ])) : isNaN(e(i)) && !e(c) ? (u(), v("div", Jl, [
1258
- a("span", null, f(e(o)("alert.info.selectHotelToStart")), 1)
1259
- ])) : (u(), v("div", zl, [
1260
+ ])) : isNaN(e(i)) && !e(c) ? (d(), v("div", Yl, [
1261
+ a("span", null, h(e(o)("alert.info.selectHotelToStart")), 1)
1262
+ ])) : (d(), v("div", Ql, [
1260
1263
  y(Xe),
1261
1264
  y(Xe),
1262
1265
  y(Xe)
@@ -1264,98 +1267,98 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1264
1267
  ])
1265
1268
  ]),
1266
1269
  navigation: T(() => [
1267
- e(dt) ? (u(), P(me, {
1270
+ e(dt) ? (d(), P(me, {
1268
1271
  key: 0,
1269
1272
  label: isNaN(e(i)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
1270
1273
  "is-loading": e(c),
1271
1274
  "full-width": "",
1272
- onClickEvent: V[1] || (V[1] = (A) => e(mt)())
1273
- }, null, 8, ["label", "is-loading"])) : (u(), P(me, {
1275
+ onClickEvent: $[1] || ($[1] = (A) => e(mt)())
1276
+ }, null, 8, ["label", "is-loading"])) : (d(), P(me, {
1274
1277
  key: 1,
1275
1278
  label: e(he) || Ke.value ? e(o)("booking.availability.nextButton") : e(o)("general.chooseAddons"),
1276
1279
  disabled: !e(te),
1277
1280
  "full-width": "",
1278
- onClickEvent: (A) => eo(K)
1281
+ onClickEvent: (A) => to(K)
1279
1282
  }, null, 8, ["label", "disabled", "onClickEvent"]))
1280
1283
  ]),
1281
1284
  _: 2
1282
1285
  }, 1024)
1283
1286
  ]),
1284
1287
  addons: T(({ next: K, prev: A }) => [
1285
- e(be) ? (u(), P(Ze, {
1288
+ e(ge) ? (d(), P(Ze, {
1286
1289
  key: 0,
1287
1290
  "prev-callback": () => ht(A)
1288
1291
  }, {
1289
1292
  form: T(() => [
1290
- a("form", Yl, [
1293
+ a("form", Xl, [
1291
1294
  a("h2", null, [
1292
- a("span", null, f(e(o)("booking.reservation.addons")), 1)
1295
+ a("span", null, h(e(o)("booking.reservation.addons")), 1)
1293
1296
  ]),
1294
1297
  a("div", null, [
1295
- isNaN(e(s)) ? (u(), v("div", Ql, [
1296
- (u(!0), v(F, null, G(e(se), (H) => (u(), v("ul", {
1297
- key: H.roomGroupID
1298
+ isNaN(e(s)) ? (d(), v("div", Zl, [
1299
+ (d(!0), v(F, null, G(e(se), (S) => (d(), v("ul", {
1300
+ key: S.roomGroupID
1298
1301
  }, [
1299
- (u(!0), v(F, null, G(H.variants, (g, U) => (u(), v("li", {
1300
- key: g.ratePlanID
1302
+ (d(!0), v(F, null, G(S.variants, (b, U) => (d(), v("li", {
1303
+ key: b.ratePlanID
1301
1304
  }, [
1302
1305
  a("h4", null, [
1303
- a("span", null, f(e(pe)(H.title)), 1)
1306
+ a("span", null, h(e(pe)(S.title)), 1)
1304
1307
  ]),
1305
- (u(!0), v(F, null, G(g.rooms, (S, oe) => (u(), v("table", {
1308
+ (d(!0), v(F, null, G(b.rooms, (H, oe) => (d(), v("table", {
1306
1309
  key: oe,
1307
1310
  class: "konnectio-table with-lines"
1308
1311
  }, [
1309
1312
  a("thead", null, [
1310
1313
  a("tr", null, [
1311
1314
  a("th", null, [
1312
- a("span", null, f(e(pe)(g.name)), 1)
1315
+ a("span", null, h(e(pe)(b.name)), 1)
1313
1316
  ]),
1314
1317
  _("", !0),
1315
- a("th", Xl, [
1318
+ a("th", en, [
1316
1319
  a("b", null, [
1317
1320
  y(W, {
1318
1321
  icon: "male",
1319
1322
  type: "fas",
1320
1323
  color: "font"
1321
1324
  }),
1322
- a("span", null, f(S.adultsCount), 1),
1323
- S.childrenCount > 0 ? (u(), P(W, {
1325
+ a("span", null, h(H.adultsCount), 1),
1326
+ H.childrenCount > 0 ? (d(), P(W, {
1324
1327
  key: 0,
1325
1328
  icon: "child",
1326
1329
  type: "fas",
1327
1330
  color: "font"
1328
1331
  })) : _("", !0),
1329
- S.childrenCount > 0 ? (u(), v("span", Zl, f(S.childrenCount), 1)) : _("", !0)
1332
+ H.childrenCount > 0 ? (d(), v("span", tn, h(H.childrenCount), 1)) : _("", !0)
1330
1333
  ])
1331
1334
  ])
1332
1335
  ])
1333
1336
  ]),
1334
1337
  a("tbody", null, [
1335
- (u(!0), v(F, null, G(e(ft)(g.addons, S.childrenCount), ({
1338
+ (d(!0), v(F, null, G(e(ft)(b.addons, H.childrenCount), ({
1336
1339
  quantityStrategy: Q,
1337
1340
  maximumNumber: _e,
1338
1341
  id: de,
1339
- name: oo,
1340
- price: lo
1341
- }) => (u(), v("tr", { key: de }, [
1342
- a("td", en, [
1343
- a("b", null, f(e(pe)(oo)), 1),
1344
- a("span", null, f(e(ne)(lo, e($e))) + " " + f(e(yt)(Q)), 1)
1342
+ name: lo,
1343
+ price: no
1344
+ }) => (d(), v("tr", { key: de }, [
1345
+ a("td", on, [
1346
+ a("b", null, h(e(pe)(lo)), 1),
1347
+ a("span", null, h(e(ne)(no, e($e))) + " " + h(e(yt)(Q)), 1)
1345
1348
  ]),
1346
- a("td", tn, [
1347
- e(L)[H.roomGroupID][U].config[S.configIdx].addons[S.roomIdx] ? (u(), v(F, { key: 0 }, [
1348
- Q === 1 || Q === 12 ? (u(), P(ot, {
1349
+ a("td", ln, [
1350
+ e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx] ? (d(), v(F, { key: 0 }, [
1351
+ Q === 1 || Q === 12 ? (d(), P(ot, {
1349
1352
  key: 0,
1350
- modelValue: e(L)[H.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][de],
1351
- "onUpdate:modelValue": (Je) => e(L)[H.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][de] = Je,
1353
+ modelValue: e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx][de],
1354
+ "onUpdate:modelValue": (Je) => e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx][de] = Je,
1352
1355
  small: !0,
1353
1356
  "min-value": 0,
1354
1357
  "max-value": _e || 1 / 0
1355
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), P(Ne, {
1358
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), P(Ne, {
1356
1359
  key: 1,
1357
- modelValue: e(L)[H.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][de],
1358
- "onUpdate:modelValue": (Je) => e(L)[H.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][de] = Je,
1360
+ modelValue: e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx][de],
1361
+ "onUpdate:modelValue": (Je) => e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx][de] = Je,
1359
1362
  numeric: !0
1360
1363
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1361
1364
  ], 64)) : _("", !0)
@@ -1365,45 +1368,45 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1365
1368
  ]))), 128))
1366
1369
  ]))), 128))
1367
1370
  ]))), 128))
1368
- ])) : e(ge) ? (u(), v("div", on, [
1371
+ ])) : e(be) ? (d(), v("div", nn, [
1369
1372
  a("div", null, [
1370
1373
  a("h4", null, [
1371
- a("span", null, f(e(Ue).name), 1)
1374
+ a("span", null, h(e(Ue).name), 1)
1372
1375
  ]),
1373
- a("table", ln, [
1376
+ a("table", an, [
1374
1377
  a("thead", null, [
1375
1378
  a("tr", null, [
1376
1379
  a("th", null, [
1377
- a("span", null, f(e(pe)(e(ge).title)), 1)
1380
+ a("span", null, h(e(pe)(e(be).title)), 1)
1378
1381
  ]),
1379
1382
  _("", !0),
1380
- nn
1383
+ sn
1381
1384
  ])
1382
1385
  ]),
1383
1386
  a("tbody", null, [
1384
- (u(!0), v(F, null, G(e(ft)(e(ge).addons, e(Fe)), ({
1385
- quantityStrategy: H,
1386
- maximumNumber: g,
1387
+ (d(!0), v(F, null, G(e(ft)(e(be).addons, e(Fe)), ({
1388
+ quantityStrategy: S,
1389
+ maximumNumber: b,
1387
1390
  id: U,
1388
- name: S,
1391
+ name: H,
1389
1392
  price: oe
1390
- }) => (u(), v("tr", { key: U }, [
1391
- a("td", an, [
1392
- a("b", null, f(e(pe)(S)), 1),
1393
- a("span", null, f(e(ne)(oe, e($e))) + " " + f(e(yt)(H)), 1)
1393
+ }) => (d(), v("tr", { key: U }, [
1394
+ a("td", rn, [
1395
+ a("b", null, h(e(pe)(H)), 1),
1396
+ a("span", null, h(e(ne)(oe, e($e))) + " " + h(e(yt)(S)), 1)
1394
1397
  ]),
1395
- a("td", sn, [
1396
- H === 1 || H === 12 ? (u(), P(ot, {
1398
+ a("td", dn, [
1399
+ S === 1 || S === 12 ? (d(), P(ot, {
1397
1400
  key: 0,
1398
- modelValue: e(m)[U],
1399
- "onUpdate:modelValue": (Q) => e(m)[U] = Q,
1401
+ modelValue: e(p)[U],
1402
+ "onUpdate:modelValue": (Q) => e(p)[U] = Q,
1400
1403
  small: !0,
1401
1404
  "min-value": 0,
1402
- "max-value": g || 1 / 0
1403
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), P(Ne, {
1405
+ "max-value": b || 1 / 0
1406
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), P(Ne, {
1404
1407
  key: 1,
1405
- modelValue: e(m)[U],
1406
- "onUpdate:modelValue": (Q) => e(m)[U] = Q,
1408
+ modelValue: e(p)[U],
1409
+ "onUpdate:modelValue": (Q) => e(p)[U] = Q,
1407
1410
  numeric: !0
1408
1411
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1409
1412
  ])
@@ -1425,26 +1428,26 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1425
1428
  _: 2
1426
1429
  }, 1032, ["prev-callback"])) : _("", !0)
1427
1430
  ]),
1428
- reservation: T(({ next: K, prev: A, reset: H }) => [
1429
- e(be) ? (u(), P(Ze, {
1431
+ reservation: T(({ next: K, prev: A, reset: S }) => [
1432
+ e(ge) ? (d(), P(Ze, {
1430
1433
  key: 0,
1431
1434
  "prev-callback": () => ht(A),
1432
1435
  "show-terms-notice": !0,
1433
1436
  "show-gift-card": !0
1434
1437
  }, {
1435
1438
  form: T(() => [
1436
- a("form", rn, [
1439
+ a("form", cn, [
1437
1440
  a("h2", null, [
1438
- a("span", null, f(e(o)("booking.reservation.detailsTitle")), 1)
1441
+ a("span", null, h(e(o)("booking.reservation.detailsTitle")), 1)
1439
1442
  ]),
1440
- !e(Mt) && !(e(Ge) && e(We)) ? (u(), v("ul", {
1443
+ !e(Rt) && !(e(Ge) && e(We)) ? (d(), v("ul", {
1441
1444
  key: 0,
1442
1445
  class: Be(["konnectio-reservation-timepicker", { "konnectio-split-inputs": !e(Ge) && !e(We) }])
1443
1446
  }, [
1444
- e(Ge) ? _("", !0) : (u(), v("li", dn, [
1445
- y(gt, {
1446
- modelValue: e($),
1447
- "onUpdate:modelValue": V[2] || (V[2] = (g) => q($) ? $.value = g : null),
1447
+ e(Ge) ? _("", !0) : (d(), v("li", un, [
1448
+ y(bt, {
1449
+ modelValue: e(V),
1450
+ "onUpdate:modelValue": $[2] || ($[2] = (b) => q(V) ? V.value = b : null),
1448
1451
  label: e(o)("booking.reservation.arrivalTime"),
1449
1452
  icon: "hourglass-start",
1450
1453
  "min-time": e(Ae),
@@ -1452,10 +1455,10 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1452
1455
  required: ""
1453
1456
  }, null, 8, ["modelValue", "label", "min-time", "max-time"])
1454
1457
  ])),
1455
- e(We) ? _("", !0) : (u(), v("li", un, [
1456
- y(gt, {
1457
- modelValue: e(C),
1458
- "onUpdate:modelValue": V[3] || (V[3] = (g) => q(C) ? C.value = g : null),
1458
+ e(We) ? _("", !0) : (d(), v("li", pn, [
1459
+ y(bt, {
1460
+ modelValue: e(w),
1461
+ "onUpdate:modelValue": $[3] || ($[3] = (b) => q(w) ? w.value = b : null),
1459
1462
  label: e(o)("booking.reservation.departureTime"),
1460
1463
  icon: "hourglass-end",
1461
1464
  "min-time": e(re),
@@ -1464,20 +1467,20 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1464
1467
  }, null, 8, ["modelValue", "label", "min-time", "max-time"])
1465
1468
  ]))
1466
1469
  ], 2)) : _("", !0),
1467
- y(Vl, {
1468
- modelValue: e(w),
1469
- "onUpdate:modelValue": V[4] || (V[4] = (g) => q(w) ? w.value = g : null),
1470
+ y(Tl, {
1471
+ modelValue: e(C),
1472
+ "onUpdate:modelValue": $[4] || ($[4] = (b) => q(C) ? C.value = b : null),
1470
1473
  title: e(I),
1471
- "onUpdate:title": V[5] || (V[5] = (g) => q(I) ? I.value = g : null),
1472
- "exclude-title": e(Rt),
1474
+ "onUpdate:title": $[5] || ($[5] = (b) => q(I) ? I.value = b : null),
1475
+ "exclude-title": e(Lt),
1473
1476
  label: e(o)("booking.reservation.name"),
1474
1477
  icon: "user-alt",
1475
1478
  placeholder: e(o)("booking.reservation.namePlaceholder"),
1476
1479
  required: ""
1477
1480
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1478
- y(ce, {
1481
+ y(ue, {
1479
1482
  modelValue: e(M),
1480
- "onUpdate:modelValue": V[6] || (V[6] = (g) => q(M) ? M.value = g : null),
1483
+ "onUpdate:modelValue": $[6] || ($[6] = (b) => q(M) ? M.value = b : null),
1481
1484
  type: "email",
1482
1485
  name: "email",
1483
1486
  autocomplete: "email",
@@ -1486,10 +1489,10 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1486
1489
  placeholder: e(o)("booking.reservation.emailPlaceholder"),
1487
1490
  required: ""
1488
1491
  }, null, 8, ["modelValue", "label", "placeholder"]),
1489
- e(Ft) ? _("", !0) : (u(), P(ce, {
1492
+ e(Ot) ? _("", !0) : (d(), P(ue, {
1490
1493
  key: 1,
1491
1494
  modelValue: e(E),
1492
- "onUpdate:modelValue": V[7] || (V[7] = (g) => q(E) ? E.value = g : null),
1495
+ "onUpdate:modelValue": $[7] || ($[7] = (b) => q(E) ? E.value = b : null),
1493
1496
  type: "text",
1494
1497
  name: "firm",
1495
1498
  autocomplete: "firm",
@@ -1497,25 +1500,25 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1497
1500
  icon: "id-card",
1498
1501
  placeholder: e(o)("booking.reservation.companyNamePlaceholder")
1499
1502
  }, null, 8, ["modelValue", "label", "placeholder"])),
1500
- y(No, {
1503
+ y(Mo, {
1501
1504
  modelValue: e(N),
1502
- "onUpdate:modelValue": V[8] || (V[8] = (g) => q(N) ? N.value = g : null),
1505
+ "onUpdate:modelValue": $[8] || ($[8] = (b) => q(N) ? N.value = b : null),
1503
1506
  icon: "phone-office",
1504
1507
  label: e(o)("booking.reservation.phone"),
1505
1508
  placeholder: e(o)("booking.reservation.phonePlaceholder"),
1506
1509
  required: ""
1507
1510
  }, null, 8, ["modelValue", "label", "placeholder"]),
1508
- y(kl, {
1511
+ y(Vl, {
1509
1512
  modelValue: e(J),
1510
- "onUpdate:modelValue": V[9] || (V[9] = (g) => q(J) ? J.value = g : null),
1513
+ "onUpdate:modelValue": $[9] || ($[9] = (b) => q(J) ? J.value = b : null),
1511
1514
  label: e(o)("booking.reservation.country"),
1512
1515
  placeholder: e(o)("booking.reservation.countryPlaceholder"),
1513
- options: e(p),
1516
+ options: e(m),
1514
1517
  required: ""
1515
1518
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1516
- y(ce, {
1519
+ y(ue, {
1517
1520
  modelValue: e(B),
1518
- "onUpdate:modelValue": V[10] || (V[10] = (g) => q(B) ? B.value = g : null),
1521
+ "onUpdate:modelValue": $[10] || ($[10] = (b) => q(B) ? B.value = b : null),
1519
1522
  type: "textarea",
1520
1523
  name: "address",
1521
1524
  autocomplete: "street-address",
@@ -1524,11 +1527,11 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1524
1527
  placeholder: e(o)("booking.reservation.streetAddressPlaceholder"),
1525
1528
  required: ""
1526
1529
  }, null, 8, ["modelValue", "label", "placeholder"]),
1527
- a("ul", cn, [
1530
+ a("ul", mn, [
1528
1531
  a("li", null, [
1529
- y(ce, {
1532
+ y(ue, {
1530
1533
  modelValue: e(k),
1531
- "onUpdate:modelValue": V[11] || (V[11] = (g) => q(k) ? k.value = g : null),
1534
+ "onUpdate:modelValue": $[11] || ($[11] = (b) => q(k) ? k.value = b : null),
1532
1535
  type: "text",
1533
1536
  name: "postal",
1534
1537
  autocomplete: "postal-code",
@@ -1539,9 +1542,9 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1539
1542
  }, null, 8, ["modelValue", "label", "placeholder"])
1540
1543
  ]),
1541
1544
  a("li", null, [
1542
- y(ce, {
1545
+ y(ue, {
1543
1546
  modelValue: e(D),
1544
- "onUpdate:modelValue": V[12] || (V[12] = (g) => q(D) ? D.value = g : null),
1547
+ "onUpdate:modelValue": $[12] || ($[12] = (b) => q(D) ? D.value = b : null),
1545
1548
  type: "text",
1546
1549
  name: "city",
1547
1550
  autocomplete: "address-level2",
@@ -1552,40 +1555,40 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1552
1555
  }, null, 8, ["modelValue", "label", "placeholder"])
1553
1556
  ])
1554
1557
  ]),
1555
- y(ce, {
1558
+ y(ue, {
1556
1559
  modelValue: e(R),
1557
- "onUpdate:modelValue": V[13] || (V[13] = (g) => q(R) ? R.value = g : null),
1560
+ "onUpdate:modelValue": $[13] || ($[13] = (b) => q(R) ? R.value = b : null),
1558
1561
  type: "textarea",
1559
1562
  label: `${e(o)("booking.reservation.remark")} (${e(o)("booking.reservation.optional")})`,
1560
1563
  icon: "info-circle",
1561
1564
  placeholder: e(o)("booking.reservation.remarkPlaceholder")
1562
1565
  }, null, 8, ["modelValue", "label", "placeholder"]),
1563
- y(ce, {
1566
+ y(ue, {
1564
1567
  modelValue: e(Y),
1565
- "onUpdate:modelValue": V[14] || (V[14] = (g) => q(Y) ? Y.value = g : null),
1568
+ "onUpdate:modelValue": $[14] || ($[14] = (b) => q(Y) ? Y.value = b : null),
1566
1569
  type: "textarea",
1567
1570
  label: `${e(o)("booking.reservation.allergies")} (${e(o)("booking.reservation.optional")})`,
1568
1571
  icon: "allergies",
1569
1572
  placeholder: e(o)("booking.reservation.allergiesPlaceholder")
1570
1573
  }, null, 8, ["modelValue", "label", "placeholder"]),
1571
- e(Lt) ? _("", !0) : (u(), P(Ho, {
1574
+ e(Ut) ? _("", !0) : (d(), P(Ao, {
1572
1575
  key: 2,
1573
- modelValue: e(h),
1574
- "onUpdate:modelValue": V[15] || (V[15] = (g) => q(h) ? h.value = g : null),
1576
+ modelValue: e(f),
1577
+ "onUpdate:modelValue": $[15] || ($[15] = (b) => q(f) ? f.value = b : null),
1575
1578
  label: `${e(o)("booking.reservation.purposeOfStay")} (${e(o)("booking.reservation.optional")})`,
1576
1579
  name: "travelingFor",
1577
- checkboxes: Qt.value
1580
+ checkboxes: Xt.value
1578
1581
  }, null, 8, ["modelValue", "label", "checkboxes"]))
1579
1582
  ])
1580
1583
  ]),
1581
1584
  navigation: T(() => [
1582
1585
  a("div", null, [
1583
1586
  y(me, {
1584
- label: e(Ot) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
1585
- disabled: !e(d),
1587
+ label: e(jt) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
1588
+ disabled: !e(u),
1586
1589
  "is-loading": e(r),
1587
1590
  "full-width": "",
1588
- onClickEvent: (g) => Zt(K, H)
1591
+ onClickEvent: (b) => eo(K, S)
1589
1592
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
1590
1593
  ])
1591
1594
  ]),
@@ -1593,10 +1596,10 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1593
1596
  }, 1032, ["prev-callback"])) : _("", !0)
1594
1597
  ]),
1595
1598
  payment: T(() => [
1596
- y(Mo)
1599
+ y(Ro)
1597
1600
  ]),
1598
1601
  confirmation: T(() => [
1599
- y(So, {
1602
+ y(Do, {
1600
1603
  message: e(o)("booking.confirmation.thankYou")
1601
1604
  }, null, 8, ["message"])
1602
1605
  ]),
@@ -1607,7 +1610,7 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1607
1610
  }, 8, ["access-token", "callback"])
1608
1611
  ]),
1609
1612
  fallback: T(() => [
1610
- y(Pl)
1613
+ y(Dl)
1611
1614
  ]),
1612
1615
  _: 1
1613
1616
  }))
@@ -1615,7 +1618,7 @@ const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-
1615
1618
  _: 1
1616
1619
  }, 8, ["styling"]));
1617
1620
  }
1618
- }), kt = /* @__PURE__ */ fe(pn, [["__scopeId", "data-v-e0188aee"]]);
1621
+ }), kt = /* @__PURE__ */ fe(fn, [["__scopeId", "data-v-b6142cc2"]]);
1619
1622
  function lt(n, l = {}, t) {
1620
1623
  for (const o in n) {
1621
1624
  const i = n[o], s = t ? `${t}:${o}` : o;
@@ -1623,23 +1626,23 @@ function lt(n, l = {}, t) {
1623
1626
  }
1624
1627
  return l;
1625
1628
  }
1626
- const mn = { run: (n) => n() }, fn = () => mn, It = typeof console.createTask < "u" ? console.createTask : fn;
1627
- function hn(n, l) {
1628
- const t = l.shift(), o = It(t);
1629
+ const hn = { run: (n) => n() }, vn = () => hn, Et = typeof console.createTask < "u" ? console.createTask : vn;
1630
+ function yn(n, l) {
1631
+ const t = l.shift(), o = Et(t);
1629
1632
  return n.reduce(
1630
1633
  (i, s) => i.then(() => o.run(() => s(...l))),
1631
1634
  Promise.resolve()
1632
1635
  );
1633
1636
  }
1634
- function vn(n, l) {
1635
- const t = l.shift(), o = It(t);
1637
+ function gn(n, l) {
1638
+ const t = l.shift(), o = Et(t);
1636
1639
  return Promise.all(n.map((i) => o.run(() => i(...l))));
1637
1640
  }
1638
1641
  function et(n, l) {
1639
1642
  for (const t of [...n])
1640
1643
  t(l);
1641
1644
  }
1642
- class yn {
1645
+ class bn {
1643
1646
  constructor() {
1644
1647
  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);
1645
1648
  }
@@ -1652,8 +1655,8 @@ class yn {
1652
1655
  for (; this._deprecatedHooks[l]; )
1653
1656
  s = this._deprecatedHooks[l], l = s.to;
1654
1657
  if (s && !o.allowDeprecated) {
1655
- let m = s.message;
1656
- m || (m = `${i} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(m) || (console.warn(m), this._deprecatedMessages.add(m));
1658
+ let p = s.message;
1659
+ p || (p = `${i} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(p) || (console.warn(p), this._deprecatedMessages.add(p));
1657
1660
  }
1658
1661
  if (!t.name)
1659
1662
  try {
@@ -1708,10 +1711,10 @@ class yn {
1708
1711
  delete this._hooks[l];
1709
1712
  }
1710
1713
  callHook(l, ...t) {
1711
- return t.unshift(l), this.callHookWith(hn, l, ...t);
1714
+ return t.unshift(l), this.callHookWith(yn, l, ...t);
1712
1715
  }
1713
1716
  callHookParallel(l, ...t) {
1714
- return t.unshift(l), this.callHookWith(vn, l, ...t);
1717
+ return t.unshift(l), this.callHookWith(gn, l, ...t);
1715
1718
  }
1716
1719
  callHookWith(l, t, ...o) {
1717
1720
  const i = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
@@ -1741,20 +1744,20 @@ class yn {
1741
1744
  };
1742
1745
  }
1743
1746
  }
1744
- function bn() {
1745
- return new yn();
1747
+ function kn() {
1748
+ return new bn();
1746
1749
  }
1747
- function gn(n) {
1750
+ function _n(n) {
1748
1751
  return Array.isArray(n) ? n : [n];
1749
1752
  }
1750
- const kn = ["title", "titleTemplate", "script", "style", "noscript"], Se = [
1753
+ const Vn = ["title", "titleTemplate", "script", "style", "noscript"], He = [
1751
1754
  "base",
1752
1755
  "meta",
1753
1756
  "link",
1754
1757
  "style",
1755
1758
  "script",
1756
1759
  "noscript"
1757
- ], _n = [
1760
+ ], $n = [
1758
1761
  "title",
1759
1762
  "titleTemplate",
1760
1763
  "templateParams",
@@ -1766,7 +1769,7 @@ const kn = ["title", "titleTemplate", "script", "style", "noscript"], Se = [
1766
1769
  "style",
1767
1770
  "script",
1768
1771
  "noscript"
1769
- ], Vn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Et = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], $n = typeof window < "u";
1772
+ ], Tn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Bt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], wn = typeof window < "u";
1770
1773
  function rt(n) {
1771
1774
  let l = 9;
1772
1775
  for (let t = 0; t < n.length; )
@@ -1776,9 +1779,9 @@ function rt(n) {
1776
1779
  function _t(n) {
1777
1780
  return n._h || rt(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, t]) => `${l}:${String(t)}`).join(",")}`);
1778
1781
  }
1779
- function Bt(n, l) {
1782
+ function Nt(n, l) {
1780
1783
  const { props: t, tag: o } = n;
1781
- if (Vn.includes(o))
1784
+ if (Tn.includes(o))
1782
1785
  return o;
1783
1786
  if (o === "link" && t.rel === "canonical")
1784
1787
  return "canonical";
@@ -1788,53 +1791,53 @@ function Bt(n, l) {
1788
1791
  o === "meta" && i.push("name", "property", "http-equiv");
1789
1792
  for (const s of i)
1790
1793
  if (typeof t[s] < "u") {
1791
- const m = String(t[s]);
1792
- return l && !l(m) ? !1 : `${o}:${s}:${m}`;
1794
+ const p = String(t[s]);
1795
+ return l && !l(p) ? !1 : `${o}:${s}:${p}`;
1793
1796
  }
1794
1797
  return !1;
1795
1798
  }
1796
1799
  function Vt(n, l) {
1797
1800
  return n == null ? l || null : typeof n == "function" ? n(l) : n;
1798
1801
  }
1799
- async function Tn(n, l, t) {
1802
+ async function Cn(n, l, t) {
1800
1803
  const o = {
1801
1804
  tag: n,
1802
- props: await Nt(
1805
+ props: await Mt(
1803
1806
  // explicitly check for an object
1804
1807
  // @ts-expect-error untyped
1805
1808
  typeof l == "object" && typeof l != "function" && !(l instanceof Promise) ? { ...l } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: l },
1806
1809
  ["templateParams", "titleTemplate"].includes(n)
1807
1810
  )
1808
1811
  };
1809
- return Et.forEach((i) => {
1812
+ return Bt.forEach((i) => {
1810
1813
  const s = typeof o.props[i] < "u" ? o.props[i] : t[i];
1811
- typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || kn.includes(o.tag)) && (o[i === "children" ? "innerHTML" : i] = s), delete o.props[i]);
1814
+ typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || Vn.includes(o.tag)) && (o[i === "children" ? "innerHTML" : i] = s), delete o.props[i]);
1812
1815
  }), o.props.body && (o.tagPosition = "bodyClose", delete o.props.body), o.tag === "script" && typeof o.innerHTML == "object" && (o.innerHTML = JSON.stringify(o.innerHTML), o.props.type = o.props.type || "application/json"), Array.isArray(o.props.content) ? o.props.content.map((i) => ({ ...o, props: { ...o.props, content: i } })) : o;
1813
1816
  }
1814
- function wn(n, l) {
1817
+ function Pn(n, l) {
1815
1818
  const t = n === "class" ? " " : ";";
1816
1819
  return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, o]) => o).map(([o, i]) => n === "style" ? `${o}:${i}` : o)), String(Array.isArray(l) ? l.join(t) : l)?.split(t).filter((o) => o.trim()).filter(Boolean).join(t);
1817
1820
  }
1818
- async function Nt(n, l) {
1821
+ async function Mt(n, l) {
1819
1822
  for (const t of Object.keys(n)) {
1820
1823
  if (["class", "style"].includes(t)) {
1821
- n[t] = wn(t, n[t]);
1824
+ n[t] = Pn(t, n[t]);
1822
1825
  continue;
1823
1826
  }
1824
- if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !Et.includes(t)) {
1827
+ if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !Bt.includes(t)) {
1825
1828
  const o = String(n[t]), i = t.startsWith("data-");
1826
1829
  o === "true" || o === "" ? n[t] = i ? "true" : !0 : n[t] || (i && o === "false" ? n[t] = "false" : delete n[t]);
1827
1830
  }
1828
1831
  }
1829
1832
  return n;
1830
1833
  }
1831
- const Cn = 10;
1832
- async function Pn(n) {
1834
+ const An = 10;
1835
+ async function Dn(n) {
1833
1836
  const l = [];
1834
- return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && _n.includes(t)).forEach(([t, o]) => {
1835
- const i = gn(o);
1836
- l.push(...i.map((s) => Tn(t, s, n)).flat());
1837
- }), (await Promise.all(l)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << Cn) + o, t));
1837
+ return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && $n.includes(t)).forEach(([t, o]) => {
1838
+ const i = _n(o);
1839
+ l.push(...i.map((s) => Cn(t, s, n)).flat());
1840
+ }), (await Promise.all(l)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << An) + o, t));
1838
1841
  }
1839
1842
  const $t = {
1840
1843
  // tags
@@ -1851,34 +1854,34 @@ function Me(n) {
1851
1854
  const t = n.tagPriority;
1852
1855
  return typeof t == "number" ? t : (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 $t && (l = $t[n.tag]), typeof t == "string" && t in Tt ? l + Tt[t] : l);
1853
1856
  }
1854
- const An = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ue = "%separator";
1857
+ const Sn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ce = "%separator";
1855
1858
  function Ie(n, l, t) {
1856
1859
  if (typeof n != "string" || !n.includes("%"))
1857
1860
  return n;
1858
- function o(m) {
1859
- let p;
1860
- return ["s", "pageTitle"].includes(m) ? p = l.pageTitle : m.includes(".") ? p = m.split(".").reduce((c, r) => c && c[r] || void 0, l) : p = l[m], typeof p < "u" ? (p || "").replace(/"/g, '\\"') : !1;
1861
+ function o(p) {
1862
+ let m;
1863
+ return ["s", "pageTitle"].includes(p) ? m = l.pageTitle : p.includes(".") ? m = p.split(".").reduce((c, r) => c && c[r] || void 0, l) : m = l[p], typeof m < "u" ? (m || "").replace(/"/g, '\\"') : !1;
1861
1864
  }
1862
1865
  let i = n;
1863
1866
  try {
1864
1867
  i = decodeURI(n);
1865
1868
  } catch {
1866
1869
  }
1867
- return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
1868
- const p = o(m.slice(1));
1869
- typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (c, r) => `${p}${r}`).trim());
1870
- }), n.includes(ue) && (n.endsWith(ue) && (n = n.slice(0, -ue.length).trim()), n.startsWith(ue) && (n = n.slice(ue.length).trim()), n = n.replace(new RegExp(`\\${ue}\\s*\\${ue}`, "g"), ue), n = Ie(n, { separator: t }, t)), n;
1870
+ return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
1871
+ const m = o(p.slice(1));
1872
+ typeof m == "string" && (n = n.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (c, r) => `${m}${r}`).trim());
1873
+ }), n.includes(ce) && (n.endsWith(ce) && (n = n.slice(0, -ce.length).trim()), n.startsWith(ce) && (n = n.slice(ce.length).trim()), n = n.replace(new RegExp(`\\${ce}\\s*\\${ce}`, "g"), ce), n = Ie(n, { separator: t }, t)), n;
1871
1874
  }
1872
- async function Dn(n, l = {}) {
1875
+ async function Hn(n, l = {}) {
1873
1876
  const t = l.document || n.resolvedOptions.document;
1874
1877
  if (!t || !n.dirty)
1875
1878
  return;
1876
1879
  const o = { shouldRender: !0, tags: [] };
1877
1880
  if (await n.hooks.callHook("dom:beforeRender", o), !o.shouldRender)
1878
1881
  return;
1879
- const i = (await n.resolveTags()).map((d) => ({
1880
- tag: d,
1881
- id: Se.includes(d.tag) ? _t(d) : d.tag,
1882
+ const i = (await n.resolveTags()).map((u) => ({
1883
+ tag: u,
1884
+ id: He.includes(u.tag) ? _t(u) : u.tag,
1882
1885
  shouldRender: !0
1883
1886
  }));
1884
1887
  let s = n._dom;
@@ -1886,51 +1889,51 @@ async function Dn(n, l = {}) {
1886
1889
  s = {
1887
1890
  elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
1888
1891
  };
1889
- for (const d of ["body", "head"]) {
1890
- const h = t[d]?.children, $ = [];
1891
- for (const C of [...h].filter((w) => Se.includes(w.tagName.toLowerCase()))) {
1892
- const w = {
1893
- tag: C.tagName.toLowerCase(),
1894
- props: await Nt(
1895
- C.getAttributeNames().reduce((N, E) => ({ ...N, [E]: C.getAttribute(E) }), {})
1892
+ for (const u of ["body", "head"]) {
1893
+ const f = t[u]?.children, V = [];
1894
+ for (const w of [...f].filter((C) => He.includes(C.tagName.toLowerCase()))) {
1895
+ const C = {
1896
+ tag: w.tagName.toLowerCase(),
1897
+ props: await Mt(
1898
+ w.getAttributeNames().reduce((N, E) => ({ ...N, [E]: w.getAttribute(E) }), {})
1896
1899
  ),
1897
- innerHTML: C.innerHTML
1900
+ innerHTML: w.innerHTML
1898
1901
  };
1899
- let I = 1, M = Bt(w);
1900
- for (; M && $.find((N) => N._d === M); )
1902
+ let I = 1, M = Nt(C);
1903
+ for (; M && V.find((N) => N._d === M); )
1901
1904
  M = `${M}:${I++}`;
1902
- w._d = M || void 0, $.push(w), s.elMap[C.getAttribute("data-hid") || _t(w)] = C;
1905
+ C._d = M || void 0, V.push(C), s.elMap[w.getAttribute("data-hid") || _t(C)] = w;
1903
1906
  }
1904
1907
  }
1905
1908
  }
1906
1909
  s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
1907
- function m(d, h, $) {
1908
- const C = `${d}:${h}`;
1909
- s.sideEffects[C] = $, delete s.pendingSideEffects[C];
1910
+ function p(u, f, V) {
1911
+ const w = `${u}:${f}`;
1912
+ s.sideEffects[w] = V, delete s.pendingSideEffects[w];
1910
1913
  }
1911
- function p({ id: d, $el: h, tag: $ }) {
1912
- const C = $.tag.endsWith("Attrs");
1913
- s.elMap[d] = h, C || (["textContent", "innerHTML"].forEach((w) => {
1914
- $[w] && $[w] !== h[w] && (h[w] = $[w]);
1915
- }), m(d, "el", () => {
1916
- s.elMap[d]?.remove(), delete s.elMap[d];
1914
+ function m({ id: u, $el: f, tag: V }) {
1915
+ const w = V.tag.endsWith("Attrs");
1916
+ s.elMap[u] = f, w || (["textContent", "innerHTML"].forEach((C) => {
1917
+ V[C] && V[C] !== f[C] && (f[C] = V[C]);
1918
+ }), p(u, "el", () => {
1919
+ s.elMap[u]?.remove(), delete s.elMap[u];
1917
1920
  }));
1918
- for (const [w, I] of Object.entries($._eventHandlers || {}))
1919
- h.getAttribute(`data-${w}`) !== "" && (($.tag === "bodyAttrs" ? t.defaultView : h).addEventListener(w.replace("on", ""), I.bind(h)), h.setAttribute(`data-${w}`, ""));
1920
- Object.entries($.props).forEach(([w, I]) => {
1921
- const M = `attr:${w}`;
1922
- if (w === "class")
1921
+ for (const [C, I] of Object.entries(V._eventHandlers || {}))
1922
+ f.getAttribute(`data-${C}`) !== "" && ((V.tag === "bodyAttrs" ? t.defaultView : f).addEventListener(C.replace("on", ""), I.bind(f)), f.setAttribute(`data-${C}`, ""));
1923
+ Object.entries(V.props).forEach(([C, I]) => {
1924
+ const M = `attr:${C}`;
1925
+ if (C === "class")
1923
1926
  for (const N of (I || "").split(" ").filter(Boolean))
1924
- C && m(d, `${M}:${N}`, () => h.classList.remove(N)), !h.classList.contains(N) && h.classList.add(N);
1925
- else if (w === "style")
1927
+ w && p(u, `${M}:${N}`, () => f.classList.remove(N)), !f.classList.contains(N) && f.classList.add(N);
1928
+ else if (C === "style")
1926
1929
  for (const N of (I || "").split(";").filter(Boolean)) {
1927
1930
  const [E, ...k] = N.split(":").map((D) => D.trim());
1928
- m(d, `${M}:${E}`, () => {
1929
- h.style.removeProperty(E);
1930
- }), h.style.setProperty(E, k.join(":"));
1931
+ p(u, `${M}:${E}`, () => {
1932
+ f.style.removeProperty(E);
1933
+ }), f.style.setProperty(E, k.join(":"));
1931
1934
  }
1932
1935
  else
1933
- h.getAttribute(w) !== I && h.setAttribute(w, I === !0 ? "" : String(I)), C && m(d, M, () => h.removeAttribute(w));
1936
+ f.getAttribute(C) !== I && f.setAttribute(C, I === !0 ? "" : String(I)), w && p(u, M, () => f.removeAttribute(C));
1934
1937
  });
1935
1938
  }
1936
1939
  const c = [], r = {
@@ -1938,51 +1941,51 @@ async function Dn(n, l = {}) {
1938
1941
  bodyOpen: void 0,
1939
1942
  head: void 0
1940
1943
  };
1941
- for (const d of i) {
1942
- const { tag: h, shouldRender: $, id: C } = d;
1943
- if ($) {
1944
- if (h.tag === "title") {
1945
- t.title = h.textContent;
1944
+ for (const u of i) {
1945
+ const { tag: f, shouldRender: V, id: w } = u;
1946
+ if (V) {
1947
+ if (f.tag === "title") {
1948
+ t.title = f.textContent;
1946
1949
  continue;
1947
1950
  }
1948
- d.$el = d.$el || s.elMap[C], d.$el ? p(d) : Se.includes(h.tag) && c.push(d);
1951
+ u.$el = u.$el || s.elMap[w], u.$el ? m(u) : He.includes(f.tag) && c.push(u);
1949
1952
  }
1950
1953
  }
1951
- for (const d of c) {
1952
- const h = d.tag.tagPosition || "head";
1953
- d.$el = t.createElement(d.tag.tag), p(d), r[h] = r[h] || t.createDocumentFragment(), r[h].appendChild(d.$el);
1954
+ for (const u of c) {
1955
+ const f = u.tag.tagPosition || "head";
1956
+ u.$el = t.createElement(u.tag.tag), m(u), r[f] = r[f] || t.createDocumentFragment(), r[f].appendChild(u.$el);
1954
1957
  }
1955
- for (const d of i)
1956
- await n.hooks.callHook("dom:renderTag", d, t, m);
1957
- r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.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 });
1958
+ for (const u of i)
1959
+ await n.hooks.callHook("dom:renderTag", u, t, p);
1960
+ r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((u) => u()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
1958
1961
  }
1959
- async function Hn(n, l = {}) {
1962
+ async function In(n, l = {}) {
1960
1963
  const t = l.delayFn || ((o) => setTimeout(o, 10));
1961
1964
  return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => t(async () => {
1962
- await Dn(n, l), delete n._domUpdatePromise, o();
1965
+ await Hn(n, l), delete n._domUpdatePromise, o();
1963
1966
  }));
1964
1967
  }
1965
1968
  // @__NO_SIDE_EFFECTS__
1966
- function Sn(n) {
1969
+ function En(n) {
1967
1970
  return (l) => {
1968
1971
  const t = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1969
1972
  return t && l.push(JSON.parse(t)), {
1970
1973
  mode: "client",
1971
1974
  hooks: {
1972
1975
  "entries:updated": function(o) {
1973
- Hn(o, n);
1976
+ In(o, n);
1974
1977
  }
1975
1978
  }
1976
1979
  };
1977
1980
  };
1978
1981
  }
1979
- const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
1982
+ const Bn = ["templateParams", "htmlAttrs", "bodyAttrs"], Nn = {
1980
1983
  hooks: {
1981
1984
  "tag:normalise": function({ tag: n }) {
1982
1985
  ["hid", "vmid", "key"].forEach((o) => {
1983
1986
  n.props[o] && (n.key = n.props[o], delete n.props[o]);
1984
1987
  });
1985
- const t = Bt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
1988
+ const t = Nt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
1986
1989
  t && (n._d = t);
1987
1990
  },
1988
1991
  "tags:resolve": function(n) {
@@ -1990,8 +1993,8 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
1990
1993
  n.tags.forEach((o) => {
1991
1994
  const i = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, s = l[i];
1992
1995
  if (s) {
1993
- let p = o?.tagDuplicateStrategy;
1994
- if (!p && In.includes(o.tag) && (p = "merge"), p === "merge") {
1996
+ let m = o?.tagDuplicateStrategy;
1997
+ if (!m && Bn.includes(o.tag) && (m = "merge"), m === "merge") {
1995
1998
  const c = s.props;
1996
1999
  ["class", "style"].forEach((r) => {
1997
2000
  c[r] && (o.props[r] ? (r === "style" && !c[r].endsWith(";") && (c[r] += ";"), o.props[r] = `${c[r]} ${o.props[r]}`) : o.props[r] = c[r]);
@@ -2006,8 +2009,8 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
2006
2009
  } else if (Me(o) > Me(s))
2007
2010
  return;
2008
2011
  }
2009
- const m = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
2010
- if (Se.includes(o.tag) && m === 0) {
2012
+ const p = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
2013
+ if (He.includes(o.tag) && p === 0) {
2011
2014
  delete l[i];
2012
2015
  return;
2013
2016
  }
@@ -2020,7 +2023,7 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
2020
2023
  }), n.tags = t, n.tags = n.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
2021
2024
  }
2022
2025
  }
2023
- }, Bn = {
2026
+ }, Mn = {
2024
2027
  mode: "server",
2025
2028
  hooks: {
2026
2029
  "tags:resolve": function(n) {
@@ -2034,10 +2037,10 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
2034
2037
  });
2035
2038
  }
2036
2039
  }
2037
- }, Nn = ["script", "link", "bodyAttrs"], Mn = (n) => ({
2040
+ }, Rn = ["script", "link", "bodyAttrs"], Ln = (n) => ({
2038
2041
  hooks: {
2039
2042
  "tags:resolve": function(l) {
2040
- for (const t of l.tags.filter((o) => Nn.includes(o.tag)))
2043
+ for (const t of l.tags.filter((o) => Rn.includes(o.tag)))
2041
2044
  Object.entries(t.props).forEach(([o, i]) => {
2042
2045
  o.startsWith("on") && typeof i == "function" && (n.ssr && wt.includes(o) ? t.props[o] = `this.dataset.${o}fired = true` : delete t.props[o], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[o] = i);
2043
2046
  }), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || rt(t.props.src || t.props.href));
@@ -2049,17 +2052,17 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
2049
2052
  }
2050
2053
  }
2051
2054
  }
2052
- }), Rn = ["link", "style", "script", "noscript"], Ln = {
2055
+ }), Un = ["link", "style", "script", "noscript"], Fn = {
2053
2056
  hooks: {
2054
2057
  "tag:normalise": ({ tag: n }) => {
2055
- n.key && Rn.includes(n.tag) && (n.props["data-hid"] = n._h = rt(n.key));
2058
+ n.key && Un.includes(n.tag) && (n.props["data-hid"] = n._h = rt(n.key));
2056
2059
  }
2057
2060
  }
2058
- }, Un = {
2061
+ }, On = {
2059
2062
  hooks: {
2060
2063
  "tags:resolve": (n) => {
2061
2064
  const l = (t) => n.tags.find((o) => o._d === t)?._p;
2062
- for (const { prefix: t, offset: o } of An)
2065
+ for (const { prefix: t, offset: o } of Sn)
2063
2066
  for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
2064
2067
  const s = l(
2065
2068
  i.tagPriority.replace(t, "")
@@ -2069,25 +2072,25 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
2069
2072
  n.tags.sort((t, o) => t._p - o._p).sort((t, o) => Me(t) - Me(o));
2070
2073
  }
2071
2074
  }
2072
- }, Fn = {
2075
+ }, jn = {
2073
2076
  meta: "content",
2074
2077
  link: "href",
2075
2078
  htmlAttrs: "lang"
2076
- }, On = (n) => ({
2079
+ }, qn = (n) => ({
2077
2080
  hooks: {
2078
2081
  "tags:resolve": (l) => {
2079
- const { tags: t } = l, o = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
2080
- delete s.separator, s.pageTitle = Ie(s.pageTitle || o || "", s, m);
2081
- for (const p of t.filter((c) => c.processTemplateParams !== !1)) {
2082
- const c = Fn[p.tag];
2083
- c && typeof p.props[c] == "string" ? p.props[c] = Ie(p.props[c], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2084
- typeof p[r] == "string" && (p[r] = Ie(p[r], s, m));
2082
+ const { tags: t } = l, o = t.find((m) => m.tag === "title")?.textContent, i = t.findIndex((m) => m.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, p = s.separator || "|";
2083
+ delete s.separator, s.pageTitle = Ie(s.pageTitle || o || "", s, p);
2084
+ for (const m of t.filter((c) => c.processTemplateParams !== !1)) {
2085
+ const c = jn[m.tag];
2086
+ c && typeof m.props[c] == "string" ? m.props[c] = Ie(m.props[c], s, p) : (m.processTemplateParams === !0 || ["titleTemplate", "title"].includes(m.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2087
+ typeof m[r] == "string" && (m[r] = Ie(m[r], s, p));
2085
2088
  });
2086
2089
  }
2087
- n._templateParams = s, n._separator = m, l.tags = t.filter((p) => p.tag !== "templateParams");
2090
+ n._templateParams = s, n._separator = p, l.tags = t.filter((m) => m.tag !== "templateParams");
2088
2091
  }
2089
2092
  }
2090
- }), jn = {
2093
+ }), Gn = {
2091
2094
  hooks: {
2092
2095
  "tags:resolve": (n) => {
2093
2096
  const { tags: l } = n;
@@ -2108,7 +2111,7 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
2108
2111
  t !== -1 && delete l[t], n.tags = l.filter(Boolean);
2109
2112
  }
2110
2113
  }
2111
- }, qn = {
2114
+ }, Wn = {
2112
2115
  hooks: {
2113
2116
  "tags:afterResolve": function(n) {
2114
2117
  for (const l of n.tags)
@@ -2117,22 +2120,22 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
2117
2120
  }
2118
2121
  };
2119
2122
  // @__NO_SIDE_EFFECTS__
2120
- function Gn(n = {}) {
2121
- const l = Wn(n);
2122
- return l.use(/* @__PURE__ */ Sn()), l;
2123
+ function xn(n = {}) {
2124
+ const l = Kn(n);
2125
+ return l.use(/* @__PURE__ */ En()), l;
2123
2126
  }
2124
2127
  function Ct(n, l) {
2125
2128
  return !n || n === "server" && l || n === "client" && !l;
2126
2129
  }
2127
- function Wn(n = {}) {
2128
- const l = bn();
2129
- l.addHooks(n.hooks || {}), n.document = n.document || ($n ? document : void 0);
2130
+ function Kn(n = {}) {
2131
+ const l = kn();
2132
+ l.addHooks(n.hooks || {}), n.document = n.document || (wn ? document : void 0);
2130
2133
  const t = !n.document, o = () => {
2131
- p.dirty = !0, l.callHook("entries:updated", p);
2134
+ m.dirty = !0, l.callHook("entries:updated", m);
2132
2135
  };
2133
2136
  let i = 0, s = [];
2134
- const m = [], p = {
2135
- plugins: m,
2137
+ const p = [], m = {
2138
+ plugins: p,
2136
2139
  dirty: !1,
2137
2140
  resolvedOptions: n,
2138
2141
  hooks: l,
@@ -2140,23 +2143,23 @@ function Wn(n = {}) {
2140
2143
  return s;
2141
2144
  },
2142
2145
  use(c) {
2143
- const r = typeof c == "function" ? c(p) : c;
2144
- (!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), Ct(r.mode, t) && l.addHooks(r.hooks || {}));
2146
+ const r = typeof c == "function" ? c(m) : c;
2147
+ (!r.key || !p.some((u) => u.key === r.key)) && (p.push(r), Ct(r.mode, t) && l.addHooks(r.hooks || {}));
2145
2148
  },
2146
2149
  push(c, r) {
2147
2150
  delete r?.head;
2148
- const d = {
2151
+ const u = {
2149
2152
  _i: i++,
2150
2153
  input: c,
2151
2154
  ...r
2152
2155
  };
2153
- return Ct(d.mode, t) && (s.push(d), o()), {
2156
+ return Ct(u.mode, t) && (s.push(u), o()), {
2154
2157
  dispose() {
2155
- s = s.filter((h) => h._i !== d._i), l.callHook("entries:updated", p), o();
2158
+ s = s.filter((f) => f._i !== u._i), l.callHook("entries:updated", m), o();
2156
2159
  },
2157
2160
  // a patch is the same as creating a new entry, just a nice DX
2158
- patch(h) {
2159
- s = s.map(($) => ($._i === d._i && ($.input = d.input = h), $)), o();
2161
+ patch(f) {
2162
+ s = s.map((V) => (V._i === u._i && (V.input = u.input = f), V)), o();
2160
2163
  }
2161
2164
  };
2162
2165
  },
@@ -2164,11 +2167,11 @@ function Wn(n = {}) {
2164
2167
  const c = { tags: [], entries: [...s] };
2165
2168
  await l.callHook("entries:resolve", c);
2166
2169
  for (const r of c.entries) {
2167
- const d = r.resolvedInput || r.input;
2168
- if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
2169
- for (const h of await Pn(r)) {
2170
- const $ = { tag: h, entry: r, resolvedOptions: p.resolvedOptions };
2171
- await l.callHook("tag:normalise", $), c.tags.push($.tag);
2170
+ const u = r.resolvedInput || r.input;
2171
+ if (r.resolvedInput = await (r.transform ? r.transform(u) : u), r.resolvedInput)
2172
+ for (const f of await Dn(r)) {
2173
+ const V = { tag: f, entry: r, resolvedOptions: m.resolvedOptions };
2174
+ await l.callHook("tag:normalise", V), c.tags.push(V.tag);
2172
2175
  }
2173
2176
  }
2174
2177
  return await l.callHook("tags:beforeResolve", c), await l.callHook("tags:resolve", c), await l.callHook("tags:afterResolve", c), c.tags;
@@ -2176,51 +2179,51 @@ function Wn(n = {}) {
2176
2179
  ssr: t
2177
2180
  };
2178
2181
  return [
2179
- En,
2180
- Bn,
2182
+ Nn,
2181
2183
  Mn,
2182
2184
  Ln,
2183
- Un,
2185
+ Fn,
2184
2186
  On,
2185
- jn,
2186
2187
  qn,
2188
+ Gn,
2189
+ Wn,
2187
2190
  ...n?.plugins || []
2188
- ].forEach((c) => p.use(c)), p.hooks.callHook("init", p), p;
2191
+ ].forEach((c) => m.use(c)), m.hooks.callHook("init", m), m;
2189
2192
  }
2190
- const xn = uo.startsWith("3");
2191
- function Kn(n) {
2193
+ const Jn = uo.startsWith("3");
2194
+ function zn(n) {
2192
2195
  return typeof n == "function" ? n() : e(n);
2193
2196
  }
2194
2197
  function nt(n, l = "") {
2195
2198
  if (n instanceof Promise)
2196
2199
  return n;
2197
- const t = Kn(n);
2200
+ const t = zn(n);
2198
2201
  return !n || !t ? t : Array.isArray(t) ? t.map((o) => nt(o, l)) : typeof t == "object" ? Object.fromEntries(
2199
2202
  Object.entries(t).map(([o, i]) => o === "titleTemplate" || o.startsWith("on") ? [o, e(i)] : [o, nt(i, o)])
2200
2203
  ) : t;
2201
2204
  }
2202
- const Jn = {
2205
+ const Yn = {
2203
2206
  hooks: {
2204
2207
  "entries:resolve": function(n) {
2205
2208
  for (const l of n.entries)
2206
2209
  l.resolvedInput = nt(l.input);
2207
2210
  }
2208
2211
  }
2209
- }, zn = "usehead";
2210
- function Yn(n) {
2212
+ }, Qn = "usehead";
2213
+ function Xn(n) {
2211
2214
  return {
2212
2215
  install(t) {
2213
- xn && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(zn, n));
2216
+ Jn && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(Qn, n));
2214
2217
  }
2215
2218
  }.install;
2216
2219
  }
2217
- function Qn(n = {}) {
2218
- n.domDelayFn = n.domDelayFn || ((t) => ro(() => setTimeout(() => t(), 0)));
2219
- const l = /* @__PURE__ */ Gn(n);
2220
- return l.use(Jn), l.install = Yn(l), l;
2220
+ function Zn(n = {}) {
2221
+ n.domDelayFn = n.domDelayFn || ((t) => co(() => setTimeout(() => t(), 0)));
2222
+ const l = /* @__PURE__ */ xn(n);
2223
+ return l.use(Yn), l.install = Xn(l), l;
2221
2224
  }
2222
- const Xn = mo(), Zn = Qn(), ea = vo();
2223
- class ta extends HTMLElement {
2225
+ const ea = fo(), ta = Zn(), oa = yo();
2226
+ class la extends HTMLElement {
2224
2227
  vueApp;
2225
2228
  constructor() {
2226
2229
  super();
@@ -2229,14 +2232,14 @@ class ta extends HTMLElement {
2229
2232
  this.vueApp.unmount();
2230
2233
  }
2231
2234
  connectedCallback() {
2232
- const l = fo(kt, this.attributes);
2233
- this.vueApp = co(kt, l), this.vueApp.provide("emitter", ea), this.vueApp.use(Zn), this.vueApp.use(Xn), this.vueApp.use(Io), this.vueApp.use(ho), this.vueApp.use($o), this.vueApp.use(Vo, { bootstrap: !0 });
2235
+ const l = ho(kt, this.attributes);
2236
+ this.vueApp = po(kt, l), this.vueApp.provide("emitter", oa), this.vueApp.use(ta), this.vueApp.use(ea), this.vueApp.use(So), this.vueApp.use(vo), this.vueApp.use(Ho), this.vueApp.use($o), this.vueApp.use(Vo, { bootstrap: !0 });
2234
2237
  const t = document.createElement("div");
2235
2238
  this.vueApp.mount(t), this.appendChild(t.children[0]);
2236
2239
  }
2237
2240
  }
2238
- window.customElements.define("konnectio-hotel", ta);
2241
+ window.customElements.define("konnectio-hotel", la);
2239
2242
  export {
2240
- ta as default
2243
+ la as default
2241
2244
  };
2242
2245
  //# sourceMappingURL=hotel.js.map