@konnectio/core 4.0.75 → 4.0.76

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