@konnectio/core 4.0.61 → 4.0.62

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-BXj6PfYZ.js → ActionField-8uyqR4s2.js} +4 -4
  2. package/dist/ActionField-8uyqR4s2.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BLnNIU9-.js → AvailabilitySkeleton-DR0TlG1c.js} +17 -17
  4. package/dist/AvailabilitySkeleton-DR0TlG1c.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CUMQhXcI.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js} +2695 -2695
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js.br +0 -0
  7. package/dist/{CheckoutWindow-DLuBkYGS.js → CheckoutWindow-b6nqgL-q.js} +5 -5
  8. package/dist/CheckoutWindow-b6nqgL-q.js.br +0 -0
  9. package/dist/{ErrorMessage-Cy1scjLu.js → ErrorMessage-CTB9P7th.js} +3 -3
  10. package/dist/ErrorMessage-CTB9P7th.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DPs8I6AR.js → EventAvailabilityForm-Dz_XUv-P.js} +12 -12
  12. package/dist/EventAvailabilityForm-Dz_XUv-P.js.br +0 -0
  13. package/dist/{Field-53ZoaiDU.js → Field-D74LzwJ5.js} +3 -3
  14. package/dist/Field-D74LzwJ5.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DigDTbcx.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js} +1299 -1293
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js.br +0 -0
  17. package/dist/TermsOfService-BWi7ax17.js +36 -0
  18. package/dist/TermsOfService-BWi7ax17.js.br +0 -0
  19. package/dist/{_-CBiS4A4B.js → _-D5EdBcrp.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CukAL2Kn.js → _.vue_vue_type_style_index_0_lang-DXnzUVHn.js} +9 -9
  21. package/dist/_.vue_vue_type_style_index_0_lang-DXnzUVHn.js.br +0 -0
  22. package/dist/_commonjsHelpers-DZ_3pocK.js +2590 -0
  23. package/dist/_commonjsHelpers-DZ_3pocK.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-CE-HFIuO.js → _sentry-release-injection-file-gnd2S326.js} +3 -3
  25. package/dist/_sentry-release-injection-file-gnd2S326.js.br +0 -0
  26. package/dist/availability.js +43 -43
  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 +460 -467
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +36 -36
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +104 -104
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-DxfwOj4W.js → giftCard-Dl1tPQsP.js} +13 -13
  37. package/dist/giftCard-Dl1tPQsP.js.br +0 -0
  38. package/dist/hotel.js +585 -597
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-DTj3FRoF.js → masonry.plugin-BNjra0SH.js} +3203 -3137
  41. package/dist/masonry.plugin-BNjra0SH.js.br +0 -0
  42. package/dist/{mitt-BI4s3zkK.js → mitt-B7XZkC8D.js} +2 -2
  43. package/dist/mitt-B7XZkC8D.js.br +0 -0
  44. package/dist/polyfill.js +14496 -16958
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{style-DoXJRC4t.js → style-lYuGbuqk.js} +2 -2
  47. package/dist/style-lYuGbuqk.js.br +0 -0
  48. package/dist/style.css +1 -1
  49. package/dist/style.css.br +0 -0
  50. package/package.json +12 -12
  51. package/dist/ActionField-BXj6PfYZ.js.br +0 -0
  52. package/dist/AvailabilitySkeleton-BLnNIU9-.js.br +0 -0
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CUMQhXcI.js.br +0 -0
  54. package/dist/CheckoutWindow-DLuBkYGS.js.br +0 -0
  55. package/dist/ErrorMessage-Cy1scjLu.js.br +0 -0
  56. package/dist/EventAvailabilityForm-DPs8I6AR.js.br +0 -0
  57. package/dist/Field-53ZoaiDU.js.br +0 -0
  58. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DigDTbcx.js.br +0 -0
  59. package/dist/TermsOfService-lYI4Wr0J.js +0 -36
  60. package/dist/TermsOfService-lYI4Wr0J.js.br +0 -0
  61. package/dist/_.vue_vue_type_style_index_0_lang-CukAL2Kn.js.br +0 -0
  62. package/dist/_commonjsHelpers-5UvwmKmn.js +0 -17
  63. package/dist/_sentry-release-injection-file-CE-HFIuO.js.br +0 -0
  64. package/dist/giftCard-DxfwOj4W.js.br +0 -0
  65. package/dist/masonry.plugin-DTj3FRoF.js.br +0 -0
  66. package/dist/mitt-BI4s3zkK.js.br +0 -0
  67. package/dist/style-DoXJRC4t.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,28 +1,28 @@
1
- import { d as Q, r as ne, a as u, b as P, w as $, l as qe, u as o, g as h, e as a, t as v, A as We, B as Ke, f as g, i as _, s as O, F as L, x as Ye, v as F, h as De, c as G, p as kt, j as _t, o as tt, z as He, n as Se, S as to, C as oo, D as no, E as lo, k as ao } from "./_sentry-release-injection-file-CE-HFIuO.js";
2
- import { u as le, s as Z, T as io, c as so, i as ro, m as co } from "./mitt-BI4s3zkK.js";
3
- import { d as Te, x as fe, u as Ve, I as x, s as ue, y as Ze, l as dt, z as de, h as oe, _ as pe, n as Ee, A as Vt, b as Qe, c as ce, e as Tt, B as $t, D as ct, T as re, p as uo, F as po, a as mo, C as fo, i as ut, j as ho, k as pt, m as vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DigDTbcx.js";
4
- import { G as yo } from "./style-DoXJRC4t.js";
5
- import { A as go, H as bo } from "./AvailabilitySkeleton-BLnNIU9-.js";
6
- import { R as ko, B as Me, L as _o, S as Vo, M as To, a as xe, C as $o, T as Co, V as wo } from "./masonry.plugin-DTj3FRoF.js";
7
- import { S as Po } from "./TermsOfService-lYI4Wr0J.js";
8
- import { C as Ie, B as Ao, P as Do, a as Ho } from "./CheckoutWindow-DLuBkYGS.js";
9
- import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CUMQhXcI.js";
1
+ import { d as Q, r as le, a as u, b as A, w as $, l as qe, u as o, g as h, e as a, t as v, A as We, B as Ke, f as g, i as _, s as O, F as R, x as Ye, v as F, h as De, c as G, p as kt, j as _t, o as tt, z as Se, n as He, S as eo, C as to, D as oo, E as lo, k as no } from "./_sentry-release-injection-file-gnd2S326.js";
2
+ import { u as ne, s as Z, T as ao, c as io, i as so, m as ro } from "./mitt-B7XZkC8D.js";
3
+ import { e as Te, y as fe, u as Ve, I as x, s as ue, z as Ze, l as dt, j as de, h as oe, _ as pe, o as Ee, A as Vt, b as Qe, d as ce, B as Tt, D as ct, T as re, q as co, F as uo, a as po, C as mo, i as ut, k as fo, m as pt, c as ho, n as vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js";
4
+ import { G as yo } from "./style-lYuGbuqk.js";
5
+ import { A as go, H as bo } from "./AvailabilitySkeleton-DR0TlG1c.js";
6
+ import { R as ko, B as Me, L as _o, S as Vo, M as To, a as xe, C as Co, T as $o, V as wo } from "./masonry.plugin-BNjra0SH.js";
7
+ import { S as Ao } from "./TermsOfService-BWi7ax17.js";
8
+ import { C as Ie, B as Po, P as Do, a as So } from "./CheckoutWindow-b6nqgL-q.js";
9
+ import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js";
10
10
  (function() {
11
11
  try {
12
- var l = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
13
- n && (l._sentryDebugIds = l._sentryDebugIds || {}, l._sentryDebugIds[n] = "f4a40c19-9fb2-497b-aa92-d05f91dad067", l._sentryDebugIdIdentifier = "sentry-dbid-f4a40c19-9fb2-497b-aa92-d05f91dad067");
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] = "b8878766-f370-4724-a550-42ec40f5f65f", n._sentryDebugIdIdentifier = "sentry-dbid-b8878766-f370-4724-a550-42ec40f5f65f");
14
14
  } catch {
15
15
  }
16
16
  })();
17
- const So = { key: 0 }, Io = { class: "konnectio-hotel-reservation-warning" }, Bo = { class: "konnectio-hotel-reservation-warning" }, Eo = { class: "konnectio-hotel-reservation-warning" };
18
- const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnectio-reservation-actions" }, Uo = /* @__PURE__ */ Q({
17
+ const Ho = { key: 0 }, Io = { class: "konnectio-hotel-reservation-warning" }, Bo = { class: "konnectio-hotel-reservation-warning" }, Eo = { class: "konnectio-hotel-reservation-warning" };
18
+ const Mo = { key: 0 }, Ro = { key: 1 }, No = { key: 0 }, Uo = { class: "konnectio-reservation-actions" }, Lo = /* @__PURE__ */ Q({
19
19
  __name: "HotelReservationForm",
20
20
  props: {
21
21
  showGiftCard: { type: Boolean, default: !1 },
22
22
  showTermsNotice: { type: Boolean, default: !1 }
23
23
  },
24
- setup(l) {
25
- const { t: n } = le(), {
24
+ setup(n) {
25
+ const { t: l } = ne(), {
26
26
  hideArrivalDepartureInputs: t,
27
27
  disableArrivalUserSelection: e,
28
28
  disableDepartureUserSelection: i,
@@ -37,7 +37,7 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
37
37
  templateID: V,
38
38
  totalPrice: w,
39
39
  areListingsLoading: C,
40
- getSelectedPackageRoom: S,
40
+ getSelectedPackageRoom: H,
41
41
  selectedPackage: E,
42
42
  discountVouchers: B,
43
43
  currentArrivalDate: k,
@@ -46,33 +46,33 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
46
46
  currentLocation: J,
47
47
  locationMismatch: j,
48
48
  newsMails: q,
49
- termsOfService: U,
49
+ termsOfService: L,
50
50
  discountCode: X,
51
51
  hasTermOfService: ae,
52
- acceptTerms: R,
52
+ acceptTerms: N,
53
53
  totalTemplateAddonPrice: me
54
- } = Z(fe()), { hasHotelLocations: ve } = Z(Ve()), { removeRoom: $e, validateDiscountCode: Le } = fe(), { getHotelLocationName: Re } = Ve(), ye = ne(!1);
54
+ } = Z(fe()), { hasHotelLocations: ve } = Z(Ve()), { removeRoom: Ce, validateDiscountCode: Re } = fe(), { getHotelLocationName: Ne } = Ve(), ye = le(!1);
55
55
  function ge(ee) {
56
- return ee.reduce((N, { totalPrice: be }) => N + be, 0);
56
+ return ee.reduce((U, { totalPrice: be }) => U + be, 0);
57
57
  }
58
- return (ee, z) => (u(), P(ko, {
58
+ return (ee, z) => (u(), A(ko, {
59
59
  "discount-code": o(X),
60
- "onUpdate:discountCode": z[4] || (z[4] = (N) => F(X) ? X.value = N : null),
61
- "validate-discount-code": o(Le),
60
+ "onUpdate:discountCode": z[4] || (z[4] = (U) => F(X) ? X.value = U : null),
61
+ "validate-discount-code": o(Re),
62
62
  "total-price": o(w),
63
63
  "show-gift-card": ee.showGiftCard,
64
64
  "show-terms-notice": ee.showTermsNotice,
65
65
  "is-sidebar-loading": o(C),
66
- notice: o(n)("hotel.reservationNotice")
66
+ notice: o(l)("hotel.reservationNotice")
67
67
  }, {
68
68
  form: $(() => [
69
69
  qe(ee.$slots, "form", {}, void 0, !0)
70
70
  ]),
71
71
  "reservation-summary": $(() => [
72
- o(ve) ? (u(), h("li", So, [
73
- a("span", null, v(o(n)("general.location")), 1),
72
+ o(ve) ? (u(), h("li", Ho, [
73
+ a("span", null, v(o(l)("general.location")), 1),
74
74
  a("b", null, [
75
- a("span", null, v(o(Re)(o(J))), 1),
75
+ a("span", null, v(o(Ne)(o(J))), 1),
76
76
  We(a("span", Io, [
77
77
  g(x, {
78
78
  icon: "exclamation-triangle",
@@ -84,7 +84,7 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
84
84
  ])
85
85
  ])) : _("", !0),
86
86
  a("li", null, [
87
- a("span", null, v(o(n)("booking.reservation.arrival")), 1),
87
+ a("span", null, v(o(l)("booking.reservation.arrival")), 1),
88
88
  a("b", null, [
89
89
  a("span", null, v(o(t) ? o(ue)(o(k)) : `${o(ue)(o(k))}, ${o(e) ? o(s) : o(r)}`), 1),
90
90
  We(a("span", Bo, [
@@ -98,7 +98,7 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
98
98
  ])
99
99
  ]),
100
100
  a("li", null, [
101
- a("span", null, v(o(n)("booking.reservation.departure")), 1),
101
+ a("span", null, v(o(l)("booking.reservation.departure")), 1),
102
102
  a("b", null, [
103
103
  a("span", null, v(o(t) ? o(ue)(o(D)) : `${o(ue)(o(D))}, ${o(i) ? o(m) : o(d)}`), 1),
104
104
  We(a("span", Eo, [
@@ -112,38 +112,38 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
112
112
  ])
113
113
  ]),
114
114
  a("li", null, [
115
- a("span", null, v(o(n)("booking.reservation.nights")), 1),
116
- a("b", null, v(o(Ze)(o(k), o(D))) + " " + v(o(dt)(o(Ze)(o(k), o(D)) === 1 ? o(n)("booking.reservation.night") : o(n)("booking.reservation.nights"))), 1)
115
+ a("span", null, v(o(l)("booking.reservation.nights")), 1),
116
+ a("b", null, v(o(Ze)(o(k), o(D))) + " " + v(o(dt)(o(Ze)(o(k), o(D)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
117
117
  ]),
118
- o(B) ? (u(!0), h(L, { key: 1 }, O(o(B), (N) => (u(), h("li", {
119
- key: N.id
118
+ o(B) ? (u(!0), h(R, { key: 1 }, O(o(B), (U) => (u(), h("li", {
119
+ key: U.id
120
120
  }, [
121
- a("span", null, v(`${o(n)("general.discountCode")} (${N.value})`), 1),
122
- a("b", null, v(N.key), 1)
121
+ a("span", null, v(`${o(l)("general.discountCode")} (${U.value})`), 1),
122
+ a("b", null, v(U.key), 1)
123
123
  ]))), 128)) : _("", !0)
124
124
  ]),
125
125
  "price-summary": $(() => [
126
- isNaN(o(V)) && o(f).length > 0 ? (u(!0), h(L, { key: 0 }, O(o(f), ({
127
- roomGroupID: N,
126
+ isNaN(o(V)) && o(f).length > 0 ? (u(!0), h(R, { key: 0 }, O(o(f), ({
127
+ roomGroupID: U,
128
128
  title: be,
129
- variants: Ne
130
- }) => (u(), h("div", { key: N }, [
129
+ variants: Ue
130
+ }) => (u(), h("div", { key: U }, [
131
131
  a("h6", null, [
132
132
  a("span", null, v(be), 1)
133
133
  ]),
134
- (u(!0), h(L, null, O(Ne, (Ce, ke) => (u(), h("div", { key: ke }, [
135
- (u(!0), h(L, null, O(Ce.rooms, (ie, Ue) => (u(), h("ul", { key: Ue }, [
134
+ (u(!0), h(R, null, O(Ue, ($e, ke) => (u(), h("div", { key: ke }, [
135
+ (u(!0), h(R, null, O($e.rooms, (ie, Le) => (u(), h("ul", { key: Le }, [
136
136
  a("li", null, [
137
137
  a("span", null, [
138
138
  a("span", null, [
139
- Ye(v(o(de)(Ce.name)) + " ( ", 1),
139
+ Ye(v(o(de)($e.name)) + " ( ", 1),
140
140
  g(x, {
141
141
  icon: "male",
142
142
  type: "fas",
143
143
  color: "font"
144
144
  }),
145
145
  a("span", null, v(ie.adultsCount), 1),
146
- ie.childrenCount > 0 ? (u(), h(L, { key: 0 }, [
146
+ ie.childrenCount > 0 ? (u(), h(R, { key: 0 }, [
147
147
  g(x, {
148
148
  icon: "child",
149
149
  type: "fas",
@@ -160,13 +160,13 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
160
160
  ])
161
161
  ]),
162
162
  ge(ie.roomAddons) > 0 ? (u(), h("li", Mo, [
163
- a("span", null, v(o(n)("general.addons")), 1),
163
+ a("span", null, v(o(l)("general.addons")), 1),
164
164
  a("b", null, v(o(oe)(ge(ie.roomAddons), o(c))), 1)
165
165
  ])) : _("", !0)
166
166
  ]))), 128))
167
167
  ]))), 128))
168
168
  ]))), 128)) : _("", !0),
169
- o(S) && o(E) ? (u(), h("div", Lo, [
169
+ o(H) && o(E) ? (u(), h("div", Ro, [
170
170
  a("h6", null, [
171
171
  a("span", null, v(o(de)(o(E).name)), 1)
172
172
  ]),
@@ -174,14 +174,14 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
174
174
  a("ul", null, [
175
175
  a("li", null, [
176
176
  a("span", null, [
177
- a("span", null, v(o(de)(o(S).title)), 1)
177
+ a("span", null, v(o(de)(o(H).title)), 1)
178
178
  ]),
179
179
  a("b", null, [
180
- a("span", null, v(o(oe)(o(S).extraPrice, o(c))), 1)
180
+ a("span", null, v(o(oe)(o(H).extraPrice, o(c))), 1)
181
181
  ])
182
182
  ]),
183
- o(me) ? (u(), h("li", Ro, [
184
- a("span", null, v(o(n)("general.addons")), 1),
183
+ o(me) ? (u(), h("li", No, [
184
+ a("span", null, v(o(l)("general.addons")), 1),
185
185
  a("b", null, v(o(oe)(o(me), o(c))), 1)
186
186
  ])) : _("", !0)
187
187
  ])
@@ -189,24 +189,24 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
189
189
  ])) : _("", !0)
190
190
  ]),
191
191
  actions: $(() => [
192
- a("ul", No, [
193
- o(p) ? _("", !0) : (u(), P(Ie, {
192
+ a("ul", Uo, [
193
+ o(p) ? _("", !0) : (u(), A(Ie, {
194
194
  key: 0,
195
195
  modelValue: o(q),
196
- "onUpdate:modelValue": z[0] || (z[0] = (N) => F(q) ? q.value = N : null),
196
+ "onUpdate:modelValue": z[0] || (z[0] = (U) => F(q) ? q.value = U : null),
197
197
  type: "checkbox",
198
198
  name: "newsletter",
199
- label: o(n)("booking.reservation.newsletterSignUp")
199
+ label: o(l)("booking.reservation.newsletterSignUp")
200
200
  }, null, 8, ["modelValue", "label"])),
201
- o(ae) ? (u(), P(Ie, {
201
+ o(ae) ? (u(), A(Ie, {
202
202
  key: 1,
203
- modelValue: o(R),
204
- "onUpdate:modelValue": z[2] || (z[2] = (N) => F(R) ? R.value = N : null),
203
+ modelValue: o(N),
204
+ "onUpdate:modelValue": z[2] || (z[2] = (U) => F(N) ? N.value = U : null),
205
205
  type: "checkbox",
206
206
  name: "terms"
207
207
  }, {
208
208
  default: $(() => [
209
- g(o(io), {
209
+ g(o(ao), {
210
210
  keypath: "general.termsAndConditionsCheckbox",
211
211
  tag: "span",
212
212
  scope: "global"
@@ -214,9 +214,9 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
214
214
  terms: $(() => [
215
215
  a("a", {
216
216
  class: "konnectio-accept-terms-link",
217
- onClick: z[1] || (z[1] = De((N) => ye.value = !0, ["prevent"]))
217
+ onClick: z[1] || (z[1] = De((U) => ye.value = !0, ["prevent"]))
218
218
  }, [
219
- a("span", null, v(o(dt)(o(n)("general.termsAndConditions"))), 1)
219
+ a("span", null, v(o(dt)(o(l)("general.termsAndConditions"))), 1)
220
220
  ])
221
221
  ]),
222
222
  _: 1
@@ -225,10 +225,10 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
225
225
  _: 1
226
226
  }, 8, ["modelValue"])) : _("", !0),
227
227
  qe(ee.$slots, "actions", {}, void 0, !0),
228
- g(Po, {
228
+ g(Ao, {
229
229
  modelValue: ye.value,
230
- "onUpdate:modelValue": z[3] || (z[3] = (N) => ye.value = N),
231
- description: o(U)
230
+ "onUpdate:modelValue": z[3] || (z[3] = (U) => ye.value = U),
231
+ description: o(L)
232
232
  }, null, 8, ["modelValue", "description"])
233
233
  ])
234
234
  ]),
@@ -238,7 +238,7 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
238
238
  _: 3
239
239
  }, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
240
240
  }
241
- }), ze = /* @__PURE__ */ pe(Uo, [["__scopeId", "data-v-61664f48"]]), Fo = (l) => (kt("data-v-69fe83d8"), l = l(), _t(), l), Oo = { class: "konnectio-room-config-option" }, jo = { key: 0 }, Go = { class: "konnectio-selected-room-config" }, qo = { class: "konnectio-selected-room-config-people" }, Wo = { key: 0 }, Ko = { class: "konnectio-selected-room-config-price" }, xo = /* @__PURE__ */ Fo(() => /* @__PURE__ */ a("span", null, null, -1)), zo = /* @__PURE__ */ Q({
241
+ }), ze = /* @__PURE__ */ pe(Lo, [["__scopeId", "data-v-61664f48"]]), Fo = (n) => (kt("data-v-69fe83d8"), n = n(), _t(), n), Oo = { class: "konnectio-room-config-option" }, jo = { key: 0 }, Go = { class: "konnectio-selected-room-config" }, qo = { class: "konnectio-selected-room-config-people" }, Wo = { key: 0 }, Ko = { class: "konnectio-selected-room-config-price" }, xo = /* @__PURE__ */ Fo(() => /* @__PURE__ */ a("span", null, null, -1)), zo = /* @__PURE__ */ Q({
242
242
  __name: "RoomConfigField",
243
243
  props: {
244
244
  modelValue: {},
@@ -248,8 +248,8 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
248
248
  label: {}
249
249
  },
250
250
  emits: ["update:modelValue"],
251
- setup(l, { emit: n }) {
252
- const { t } = le(), { currency: e } = Z(Te()), i = n, s = l;
251
+ setup(n, { emit: l }) {
252
+ const { t } = ne(), { currency: e } = Z(Te()), i = l, s = n;
253
253
  function m(c) {
254
254
  i("update:modelValue", c);
255
255
  }
@@ -257,7 +257,7 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
257
257
  get: () => s.modelValue,
258
258
  set: (c) => m(c)
259
259
  });
260
- return (c, r) => (u(), P(Ee, {
260
+ return (c, r) => (u(), A(Ee, {
261
261
  modelValue: p.value,
262
262
  "onUpdate:modelValue": r[0] || (r[0] = (d) => p.value = d),
263
263
  label: c.label,
@@ -313,14 +313,14 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Ro = { key: 0 }, No = { class: "konnecti
313
313
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
314
314
  }
315
315
  }), Jo = /* @__PURE__ */ pe(zo, [["__scopeId", "data-v-69fe83d8"]]), Yo = { class: "konnectio-availability-listing-selection" }, Zo = { key: 1 }, Qo = { class: "konnectio-listing-config-body" }, Xo = { class: "konnectio-listing-units-body" };
316
- const en = /* @__PURE__ */ Q({
316
+ const el = /* @__PURE__ */ Q({
317
317
  __name: "Hotel",
318
318
  props: {
319
319
  room: {},
320
320
  layout: {}
321
321
  },
322
- setup(l) {
323
- const { t: n } = le(), t = l, e = ne([]);
322
+ setup(n) {
323
+ const { t: l } = ne(), t = n, e = le([]);
324
324
  function i(k) {
325
325
  e.value[k].config.push({
326
326
  id: NaN,
@@ -337,9 +337,9 @@ const en = /* @__PURE__ */ Q({
337
337
  adults: D.adultsCount,
338
338
  children: D.childrenCount,
339
339
  hasBreakfast: D.hasBreakfast
340
- })) || [] : [], S = G(() => t.room.rates.length > 1);
340
+ })) || [] : [], H = G(() => t.room.rates.length > 1);
341
341
  function E() {
342
- S.value ? p.value ? e.value.push({
342
+ H.value ? p.value ? e.value.push({
343
343
  id: t.room.bestRateMatch || void 0,
344
344
  config: [{
345
345
  id: t.room.rates[0].occupantRateIndex || NaN,
@@ -366,11 +366,11 @@ const en = /* @__PURE__ */ Q({
366
366
  E();
367
367
  });
368
368
  const B = G(() => JSON.parse(JSON.stringify(e.value)));
369
- return He(B, (k, D) => {
369
+ return Se(B, (k, D) => {
370
370
  D.length > 0 && k.forEach((I, J) => {
371
371
  I.config.forEach((j, q) => {
372
- const U = j.units, X = D[J].config[q].units;
373
- U !== X && (U > X ? (e.value[J].config[q].addons.push({}), r({
372
+ const L = j.units, X = D[J].config[q].units;
373
+ L !== X && (L > X ? (e.value[J].config[q].addons.push({}), r({
374
374
  id: t.room.id,
375
375
  name: t.room.title,
376
376
  value: t.room.rates[J].rackRate
@@ -381,9 +381,9 @@ const en = /* @__PURE__ */ Q({
381
381
  })));
382
382
  });
383
383
  });
384
- }, { deep: !0 }), He(e, () => {
384
+ }, { deep: !0 }), Se(e, () => {
385
385
  c.value[t.room.id] = e.value;
386
- }, { deep: !0 }), (k, D) => (u(), P(Me, {
386
+ }, { deep: !0 }), (k, D) => (u(), A(Me, {
387
387
  type: "hotel",
388
388
  "listing-id": k.room.id,
389
389
  gallery: k.room.images,
@@ -396,54 +396,54 @@ const en = /* @__PURE__ */ Q({
396
396
  }, {
397
397
  action: $(() => [
398
398
  a("div", Yo, [
399
- (u(!0), h(L, null, O(e.value, (I, J) => (u(), h("div", {
399
+ (u(!0), h(R, null, O(e.value, (I, J) => (u(), h("div", {
400
400
  key: I.id,
401
401
  class: "konnectio-hotel-room"
402
402
  }, [
403
- S.value ? (u(), P(Ee, {
403
+ H.value ? (u(), A(Ee, {
404
404
  key: 0,
405
405
  modelValue: I.id,
406
406
  "onUpdate:modelValue": (j) => I.id = j,
407
- label: o(n)("hotel.roomVariant"),
408
- placeholder: o(n)("hotel.chooseARoomVariant"),
407
+ label: o(l)("hotel.roomVariant"),
408
+ placeholder: o(l)("hotel.chooseARoomVariant"),
409
409
  options: s.value,
410
410
  searchable: !1
411
411
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
412
412
  I.id ? (u(), h("div", Zo, [
413
- (u(!0), h(L, null, O(k.room.rates, ({
413
+ (u(!0), h(R, null, O(k.room.rates, ({
414
414
  id: j,
415
415
  maximumOccupants: q
416
416
  }) => (u(), h("div", {
417
417
  key: j,
418
418
  class: "konnectio-listing-action-selective-i"
419
419
  }, [
420
- I.id === j ? (u(!0), h(L, { key: 0 }, O(I.config, (U, X) => (u(), h("div", {
420
+ I.id === j ? (u(!0), h(R, { key: 0 }, O(I.config, (L, X) => (u(), h("div", {
421
421
  key: X,
422
422
  class: "konnectio-listing-action-selective"
423
423
  }, [
424
424
  a("ul", Qo, [
425
425
  g(Jo, {
426
- modelValue: U.id,
427
- "onUpdate:modelValue": (ae) => U.id = ae,
426
+ modelValue: L.id,
427
+ "onUpdate:modelValue": (ae) => L.id = ae,
428
428
  icon: "male",
429
429
  "icon-type": "fas",
430
- label: o(n)("general.guests"),
431
- description: q === 0 ? void 0 : `${o(n)("general.maximumGuests")}: ${q}`,
430
+ label: o(l)("general.guests"),
431
+ description: q === 0 ? void 0 : `${o(l)("general.maximumGuests")}: ${q}`,
432
432
  options: C(j),
433
433
  readonly: !(C(j).length > 1)
434
434
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
435
435
  ]),
436
436
  a("ul", Xo, [
437
437
  g(Qe, {
438
- modelValue: U.units,
439
- "onUpdate:modelValue": (ae) => U.units = ae,
440
- description: o(m) ? void 0 : `${o(n)("booking.availability.availableUnits")}: ${w(I.id, U.id)}`,
438
+ modelValue: L.units,
439
+ "onUpdate:modelValue": (ae) => L.units = ae,
440
+ description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${w(I.id, L.id)}`,
441
441
  icon: "house",
442
442
  "icon-type": "fas",
443
443
  "icon-placement": "label",
444
- label: o(n)("booking.availability.units"),
444
+ label: o(l)("booking.availability.units"),
445
445
  minValue: 0,
446
- "max-value": w(j, U.id) || 1 / 0
446
+ "max-value": w(j, L.id) || 1 / 0
447
447
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
448
448
  ]),
449
449
  _("", !0)
@@ -456,7 +456,7 @@ const en = /* @__PURE__ */ Q({
456
456
  _: 1
457
457
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
458
458
  }
459
- }), tn = /* @__PURE__ */ pe(en, [["__scopeId", "data-v-ad7bdd2a"]]), on = { class: "konnectio-template-side-panel" }, nn = { class: "konnectio-template-side-panel-listings" }, ln = /* @__PURE__ */ Q({
459
+ }), tl = /* @__PURE__ */ pe(el, [["__scopeId", "data-v-ad7bdd2a"]]), ol = { class: "konnectio-template-side-panel" }, ll = { class: "konnectio-template-side-panel-listings" }, nl = /* @__PURE__ */ Q({
460
460
  __name: "Template",
461
461
  props: {
462
462
  title: {},
@@ -465,8 +465,8 @@ const en = /* @__PURE__ */ Q({
465
465
  hideAddons: {},
466
466
  callback: { type: Function }
467
467
  },
468
- setup(l) {
469
- const { t: n } = le(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = Z(fe()), { currency: s } = Z(Te()), { clearRoomSelection: m } = fe(), p = l, c = ne(!0), r = G(() => {
468
+ setup(n) {
469
+ const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = Z(fe()), { currency: s } = Z(Te()), { clearRoomSelection: m } = fe(), p = n, c = le(!0), r = G(() => {
470
470
  function f(V, w) {
471
471
  return c.value === !0 ? V.extraPrice > w.extraPrice ? -1 : 1 : V.extraPrice > w.extraPrice ? 1 : -1;
472
472
  }
@@ -475,25 +475,25 @@ const en = /* @__PURE__ */ Q({
475
475
  function d(f) {
476
476
  t.value = p.templateId, e.value = f, m(), p.hideAddons === "yes" || i.value ? p.callback(2) : p.callback(1);
477
477
  }
478
- return (f, V) => (u(), P(Ao, {
478
+ return (f, V) => (u(), A(Po, {
479
479
  title: f.title,
480
- subtitle: o(n)("booking.availability.selectATemplateRoom")
480
+ subtitle: o(l)("booking.availability.selectATemplateRoom")
481
481
  }, {
482
482
  default: $(() => [
483
- a("div", on, [
484
- a("div", nn, [
485
- (u(!0), h(L, null, O(r.value, ({
483
+ a("div", ol, [
484
+ a("div", ll, [
485
+ (u(!0), h(R, null, O(r.value, ({
486
486
  id: w,
487
487
  title: C,
488
- description: S,
488
+ description: H,
489
489
  images: E,
490
490
  facilities: B,
491
491
  extraPrice: k
492
- }) => (u(), P(Me, {
492
+ }) => (u(), A(Me, {
493
493
  key: w,
494
494
  "listing-id": w,
495
495
  name: C,
496
- description: S,
496
+ description: H,
497
497
  facilities: B,
498
498
  gallery: E,
499
499
  "includes-breakfast": !1,
@@ -503,7 +503,7 @@ const en = /* @__PURE__ */ Q({
503
503
  a("div", null, [
504
504
  g(ce, {
505
505
  onClickEvent: (D) => d(w),
506
- label: `${o(n)("booking.availability.selectThisRoom")} (${o(oe)(k, o(s))})`,
506
+ label: `${o(l)("booking.availability.selectThisRoom")} (${o(oe)(k, o(s))})`,
507
507
  "full-width": ""
508
508
  }, null, 8, ["onClickEvent", "label"])
509
509
  ])
@@ -516,7 +516,7 @@ const en = /* @__PURE__ */ Q({
516
516
  _: 1
517
517
  }, 8, ["title", "subtitle"]));
518
518
  }
519
- }), wt = /* @__PURE__ */ pe(ln, [["__scopeId", "data-v-35a96ba4"]]), an = ["innerHTML"], sn = { class: "konnectio-template-select-package" }, rn = /* @__PURE__ */ Q({
519
+ }), $t = /* @__PURE__ */ pe(nl, [["__scopeId", "data-v-35a96ba4"]]), al = { class: "konnectio-template-select-package" }, il = /* @__PURE__ */ Q({
520
520
  __name: "Template",
521
521
  props: {
522
522
  id: {},
@@ -528,8 +528,8 @@ const en = /* @__PURE__ */ Q({
528
528
  hideAddons: {},
529
529
  callback: { type: Function }
530
530
  },
531
- setup(l) {
532
- const { t: n } = le(), t = l, e = G(() => t.roomGroups.reduce(
531
+ setup(n) {
532
+ const { t: l } = ne(), t = n, e = G(() => t.roomGroups.reduce(
533
533
  (c, r) => c < r.extraPrice ? c : r.extraPrice,
534
534
  1 / 0
535
535
  )), i = G(() => {
@@ -540,41 +540,35 @@ const en = /* @__PURE__ */ Q({
540
540
  thumb: t.image.url,
541
541
  url: t.image.url
542
542
  }];
543
- }), s = ne(!1);
543
+ }), s = le(!1);
544
544
  function m() {
545
545
  s.value = !0;
546
546
  }
547
547
  function p(c) {
548
548
  t.callback(c), s.value = !1;
549
549
  }
550
- return (c, r) => (u(), P(Me, {
550
+ return (c, r) => (u(), A(Me, {
551
551
  type: "template",
552
552
  "listing-id": c.id,
553
553
  name: c.name,
554
554
  description: c.description,
555
555
  gallery: i.value,
556
- layout: o($t).Template,
556
+ layout: o(Tt).Template,
557
557
  "includes-breakfast": !1,
558
558
  "hide-info-button": !1,
559
559
  "prices-from": e.value
560
560
  }, {
561
- description: $(() => [
562
- c.description ? (u(), h("p", {
563
- key: 0,
564
- innerHTML: o(Tt)(c.description)
565
- }, null, 8, an)) : _("", !0)
566
- ]),
567
561
  action: $(() => [
568
- a("div", sn, [
562
+ a("div", al, [
569
563
  g(ce, {
570
564
  onClickEvent: m,
571
- label: o(n)("booking.availability.selectPackage"),
565
+ label: o(l)("booking.availability.selectPackage"),
572
566
  "full-width": ""
573
567
  }, null, 8, ["label"])
574
568
  ])
575
569
  ]),
576
570
  default: $(() => [
577
- g(wt, {
571
+ g($t, {
578
572
  modelValue: s.value,
579
573
  "onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
580
574
  title: c.name,
@@ -587,7 +581,7 @@ const en = /* @__PURE__ */ Q({
587
581
  _: 1
588
582
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
589
583
  }
590
- }), dn = ["innerHTML"], cn = { class: "konnectio-special-offer-availability" }, un = { class: "konnectio-special-offer-availability-button" }, pn = /* @__PURE__ */ Q({
584
+ }), sl = { class: "konnectio-special-offer-availability" }, rl = { class: "konnectio-special-offer-availability-button" }, dl = /* @__PURE__ */ Q({
591
585
  __name: "SpecialOffer",
592
586
  props: {
593
587
  id: {},
@@ -600,13 +594,13 @@ const en = /* @__PURE__ */ Q({
600
594
  roomGroups: {},
601
595
  callback: { type: Function }
602
596
  },
603
- setup(l) {
604
- const { t: n } = le(), { updateDates: t } = Ve(), e = l, i = ne([]), s = G(() => Ze(e.fromDate, e.toDate) === 1), m = G(() => [{
597
+ setup(n) {
598
+ const { t: l } = ne(), { updateDates: t } = Ve(), e = n, i = le([]), s = G(() => Ze(e.fromDate, e.toDate) === 1), m = G(() => [{
605
599
  large: e.image.url,
606
600
  medium: e.image.url,
607
601
  thumb: e.image.url,
608
602
  url: e.image.url
609
- }]), p = ne(!1);
603
+ }]), p = le(!1);
610
604
  function c(d) {
611
605
  e.callback(d), p.value = !1;
612
606
  }
@@ -615,31 +609,25 @@ const en = /* @__PURE__ */ Q({
615
609
  }
616
610
  return tt(() => {
617
611
  s.value && (i.value = [new Date(e.fromDate), new Date(e.toDate)]);
618
- }), (d, f) => (u(), P(Me, {
612
+ }), (d, f) => (u(), A(Me, {
619
613
  type: "template",
620
614
  "listing-id": d.id,
621
615
  name: d.name,
622
616
  description: d.description,
623
617
  gallery: m.value,
624
- layout: o($t).Template,
618
+ layout: o(Tt).Template,
625
619
  "includes-breakfast": !1,
626
620
  "hide-info-button": !1,
627
621
  "to-date": d.toDate,
628
622
  "from-date": d.fromDate
629
623
  }, {
630
- description: $(() => [
631
- d.description ? (u(), h("p", {
632
- key: 0,
633
- innerHTML: o(Tt)(d.description)
634
- }, null, 8, dn)) : _("", !0)
635
- ]),
636
624
  action: $(() => [
637
- a("div", cn, [
625
+ a("div", sl, [
638
626
  g(Ct, {
639
627
  modelValue: i.value,
640
628
  "onUpdate:modelValue": f[0] || (f[0] = (V) => i.value = V),
641
- label: o(n)("availability.checkInOut"),
642
- placeholder: o(n)("booking.availability.selectDates"),
629
+ label: o(l)("availability.checkInOut"),
630
+ placeholder: o(l)("booking.availability.selectDates"),
643
631
  "icon-type": "fas",
644
632
  "icon-placement": "label",
645
633
  "min-range": 1,
@@ -649,16 +637,16 @@ const en = /* @__PURE__ */ Q({
649
637
  readonly: s.value,
650
638
  range: ""
651
639
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
652
- a("div", un, [
640
+ a("div", rl, [
653
641
  g(ce, {
654
- label: o(n)("availability.buttonLabel"),
642
+ label: o(l)("availability.buttonLabel"),
655
643
  onClick: De(r, ["prevent"])
656
644
  }, null, 8, ["label"])
657
645
  ])
658
646
  ])
659
647
  ]),
660
648
  default: $(() => [
661
- g(wt, {
649
+ g($t, {
662
650
  modelValue: p.value,
663
651
  "onUpdate:modelValue": f[1] || (f[1] = (V) => p.value = V),
664
652
  title: d.name,
@@ -694,15 +682,15 @@ const en = /* @__PURE__ */ Q({
694
682
  inputStyle: {}
695
683
  },
696
684
  emits: ["update:modelValue"],
697
- setup(l, { emit: n }) {
698
- const t = n, e = l;
685
+ setup(n, { emit: l }) {
686
+ const t = l, e = n;
699
687
  function i(m) {
700
688
  t("update:modelValue", m);
701
689
  }
702
- const s = ne(e.modelValue);
703
- return He(s, (m) => {
690
+ const s = le(e.modelValue);
691
+ return Se(s, (m) => {
704
692
  i(m);
705
- }), (m, p) => (u(), P(Ct, {
693
+ }), (m, p) => (u(), A(Ct, {
706
694
  modelValue: s.value,
707
695
  "onUpdate:modelValue": p[0] || (p[0] = (c) => s.value = c),
708
696
  type: "time",
@@ -717,7 +705,7 @@ const en = /* @__PURE__ */ Q({
717
705
  readonly: m.readonly
718
706
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
719
707
  }
720
- }), mn = { style: { display: "flex", "align-items": "baseline" } }, fn = /* @__PURE__ */ Q({
708
+ }), cl = { style: { display: "flex", "align-items": "baseline" } }, ul = /* @__PURE__ */ Q({
721
709
  __name: "CountryField",
722
710
  props: {
723
711
  modelValue: {},
@@ -728,8 +716,8 @@ const en = /* @__PURE__ */ Q({
728
716
  placeholder: {}
729
717
  },
730
718
  emits: ["update:modelValue"],
731
- setup(l, { emit: n }) {
732
- const { t } = le(), e = n, i = l;
719
+ setup(n, { emit: l }) {
720
+ const { t } = ne(), e = l, i = n;
733
721
  function s(p) {
734
722
  e("update:modelValue", p);
735
723
  }
@@ -737,7 +725,7 @@ const en = /* @__PURE__ */ Q({
737
725
  get: () => i.modelValue,
738
726
  set: (p) => s(p)
739
727
  });
740
- return (p, c) => (u(), P(Ee, {
728
+ return (p, c) => (u(), A(Ee, {
741
729
  modelValue: m.value,
742
730
  "onUpdate:modelValue": c[0] || (c[0] = (r) => m.value = r),
743
731
  label: p.label,
@@ -749,14 +737,14 @@ const en = /* @__PURE__ */ Q({
749
737
  }, {
750
738
  option: $(({ data: r }) => [
751
739
  a("i", {
752
- class: Se(["konnectio-flag-icon", r.iso])
740
+ class: He(["konnectio-flag-icon", r.iso])
753
741
  }, null, 2),
754
742
  a("span", null, v(r.name), 1)
755
743
  ]),
756
744
  "selected-option": $(({ data: r }) => [
757
- a("div", mn, [
745
+ a("div", cl, [
758
746
  a("i", {
759
- class: Se(["konnectio-flag-icon", r.iso])
747
+ class: He(["konnectio-flag-icon", r.iso])
760
748
  }, null, 2),
761
749
  a("span", null, v(r.name), 1)
762
750
  ])
@@ -764,7 +752,7 @@ const en = /* @__PURE__ */ Q({
764
752
  _: 1
765
753
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
766
754
  }
767
- }), hn = /* @__PURE__ */ pe(fn, [["__scopeId", "data-v-1462612d"]]), vn = /* @__PURE__ */ Q({
755
+ }), pl = /* @__PURE__ */ pe(ul, [["__scopeId", "data-v-1462612d"]]), ml = /* @__PURE__ */ Q({
768
756
  __name: "NameField",
769
757
  props: {
770
758
  modelValue: {},
@@ -785,18 +773,18 @@ const en = /* @__PURE__ */ Q({
785
773
  excludeTitle: { type: Boolean, default: !1 }
786
774
  },
787
775
  emits: ["update:modelValue", "update:title"],
788
- setup(l, { emit: n }) {
789
- const t = l, e = n, i = t.id || ct(), s = ne(""), m = ne(2);
776
+ setup(n, { emit: l }) {
777
+ const t = n, e = l, i = t.id || ct(), s = le(""), m = le(2);
790
778
  function p() {
791
779
  e("update:modelValue", s.value);
792
780
  }
793
- He(m, (r) => {
781
+ Se(m, (r) => {
794
782
  e("update:title", r);
795
783
  });
796
- const { t: c } = le();
784
+ const { t: c } = ne();
797
785
  return tt(() => {
798
786
  t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
799
- }), (r, d) => (u(), P(uo, {
787
+ }), (r, d) => (u(), A(co, {
800
788
  label: r.label,
801
789
  id: o(i),
802
790
  required: r.required,
@@ -806,12 +794,12 @@ const en = /* @__PURE__ */ Q({
806
794
  }, {
807
795
  default: $(() => [
808
796
  a("div", {
809
- class: Se([
797
+ class: He([
810
798
  "fresh-booking-name-input",
811
799
  { "no-title": r.excludeTitle }
812
800
  ])
813
801
  }, [
814
- r.excludeTitle ? _("", !0) : (u(), P(Ee, {
802
+ r.excludeTitle ? _("", !0) : (u(), A(Ee, {
815
803
  key: 0,
816
804
  modelValue: m.value,
817
805
  "onUpdate:modelValue": d[0] || (d[0] = (f) => m.value = f),
@@ -868,67 +856,67 @@ const en = /* @__PURE__ */ Q({
868
856
  _: 1
869
857
  }, 8, ["label", "id", "required", "readonly", "limit"]));
870
858
  }
871
- }), yn = /* @__PURE__ */ pe(vn, [["__scopeId", "data-v-78b0b319"]]), gn = { class: "hotel-skeleton" }, bn = { class: "hotel-skeleton-content" }, kn = { class: "hotel-skeleton-sidebar" }, _n = /* @__PURE__ */ Q({
859
+ }), fl = /* @__PURE__ */ pe(ml, [["__scopeId", "data-v-78b0b319"]]), hl = { class: "hotel-skeleton" }, vl = { class: "hotel-skeleton-content" }, yl = { class: "hotel-skeleton-sidebar" }, gl = /* @__PURE__ */ Q({
872
860
  __name: "HotelSkeleton",
873
- setup(l) {
874
- return (n, t) => (u(), h("div", gn, [
875
- a("div", bn, [
861
+ setup(n) {
862
+ return (l, t) => (u(), h("div", hl, [
863
+ a("div", vl, [
876
864
  g(go, { hotel: "" }),
877
865
  g(_o)
878
866
  ]),
879
- a("div", kn, [
867
+ a("div", yl, [
880
868
  g(Vo)
881
869
  ])
882
870
  ]));
883
871
  }
884
- }), Vn = /* @__PURE__ */ pe(_n, [["__scopeId", "data-v-1bb21da4"]]), Tn = (l) => (kt("data-v-5d8036f6"), l = l(), _t(), l), $n = { id: "booking-availability-container" }, Cn = { id: "booking-availability-controls" };
885
- const wn = { key: 1 }, Pn = { key: 0 }, An = {
872
+ }), bl = /* @__PURE__ */ pe(gl, [["__scopeId", "data-v-1bb21da4"]]), kl = (n) => (kt("data-v-652c2f0e"), n = n(), _t(), n), _l = { id: "booking-availability-container" }, Vl = { id: "booking-availability-controls" };
873
+ const Tl = { key: 1 }, Cl = { key: 0 }, $l = {
886
874
  key: 0,
887
875
  id: "booking-availability-packages"
888
- }, Dn = {
876
+ }, wl = {
889
877
  key: 0,
890
878
  class: "konnectio-hotel-availability-title"
891
- }, Hn = { id: "booking-availability-packages-wrapper" }, Sn = { key: 1 }, In = {
879
+ }, Al = { id: "booking-availability-packages-wrapper" }, Pl = { key: 1 }, Dl = {
892
880
  key: 0,
893
881
  class: "konnectio-hotel-availability-title"
894
- }, Bn = { id: "konnectio-listings" }, En = {
882
+ }, Sl = { id: "konnectio-listings" }, Hl = {
895
883
  key: 2,
896
884
  id: "booking-availability-packages"
897
- }, Mn = { class: "konnectio-hotel-availability-title" }, Ln = { id: "booking-availability-packages-wrapper" }, Rn = {
885
+ }, Il = { class: "konnectio-hotel-availability-title" }, Bl = { id: "booking-availability-packages-wrapper" }, El = {
898
886
  key: 3,
899
887
  id: "booking-availability-no-listings",
900
888
  class: "konnectio-panel"
901
- }, Nn = {
889
+ }, Ml = {
902
890
  key: 1,
903
891
  id: "booking-availability-no-listings"
904
- }, Un = {
892
+ }, Rl = {
905
893
  key: 2,
906
894
  id: "reservation-availability-next-dates"
907
- }, Fn = { class: "konnectio-hotel-availability-title" }, On = { class: "reservation-special-offers-grid" }, jn = ["title"];
908
- const Gn = {
895
+ }, Nl = { class: "konnectio-hotel-availability-title" }, Ul = { class: "reservation-special-offers-grid" }, Ll = ["title"];
896
+ const Fl = {
909
897
  key: 2,
910
898
  class: "konnectio-listing-loading"
911
- }, qn = { class: "konnectio-panel" }, Wn = {
899
+ }, Ol = { class: "konnectio-panel" }, jl = {
912
900
  key: 0,
913
901
  id: "konnectio-hotel-addons"
914
902
  };
915
- const Kn = { class: "konnectio-event-addons-price" }, xn = { key: 1 }, zn = { class: "konnectio-hotel-addons-information" }, Jn = { class: "konnectio-hotel-addons-option" }, Yn = {
903
+ const Gl = { class: "konnectio-event-addons-price" }, ql = { key: 1 }, Wl = { class: "konnectio-table-addons-information" }, Kl = { class: "konnectio-table-addons-option" }, xl = {
916
904
  key: 1,
917
905
  id: "konnectio-hotel-addons"
918
- }, Zn = { class: "konnectio-table with-lines" };
919
- const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Xn = { class: "konnectio-hotel-addons-information" }, el = { class: "konnectio-hotel-addons-option" }, tl = ["onClick"], ol = { class: "konnectio-panel" }, nl = { key: 0 }, ll = { key: 1 }, al = { class: "konnectio-split-inputs" }, il = ["onClick"], sl = /* @__PURE__ */ Q({
906
+ }, zl = { class: "konnectio-table with-lines" };
907
+ const Jl = /* @__PURE__ */ kl(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Yl = { class: "konnectio-table-addons-information" }, Zl = { class: "konnectio-table-addons-option" }, Ql = ["onClick"], Xl = { class: "konnectio-panel" }, en = { key: 0 }, tn = { key: 1 }, on = { class: "konnectio-split-inputs" }, ln = ["onClick"], nn = /* @__PURE__ */ Q({
920
908
  name: "HotelLayout",
921
909
  __name: "Hotel",
922
910
  props: {
923
911
  accessToken: {},
924
- headerLayout: { default: po.Minimal },
912
+ headerLayout: { default: uo.Minimal },
925
913
  onlyShow: { default: "everything" },
926
914
  hideAddons: { default: "no" },
927
915
  selectedLocation: {},
928
916
  styling: {}
929
917
  },
930
- setup(l) {
931
- const n = oo(() => import("./_-CBiS4A4B.js")), t = l, { t: e } = le(), {
918
+ setup(n) {
919
+ const l = to(() => import("./_-D5EdBcrp.js")), t = n, { t: e } = ne(), {
932
920
  templateID: i,
933
921
  templateAddons: s,
934
922
  countries: m,
@@ -940,7 +928,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
940
928
  departureTime: V,
941
929
  name: w,
942
930
  nameTitle: C,
943
- email: S,
931
+ email: H,
944
932
  phone: E,
945
933
  firmName: B,
946
934
  postal: k,
@@ -949,47 +937,47 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
949
937
  country: J,
950
938
  remark: j,
951
939
  allergies: q,
952
- roomSelect: U,
940
+ roomSelect: L,
953
941
  roomDisplay: X,
954
942
  hasValidRoomSelection: ae,
955
- availabilityData: R,
943
+ availabilityData: N,
956
944
  selectionHasNoAddons: me,
957
945
  isAvailabilityDataAvailable: ve,
958
- getSelectedPackageRoom: $e,
959
- selectedPackage: Le,
960
- isSearchOutdated: Re,
946
+ getSelectedPackageRoom: Ce,
947
+ selectedPackage: Re,
948
+ isSearchOutdated: Ne,
961
949
  currentChildren: ye
962
950
  } = Z(fe()), {
963
951
  adults: ge,
964
952
  children: ee,
965
953
  location: z,
966
- arrivalDate: N,
954
+ arrivalDate: U,
967
955
  departureDate: be
968
- } = Z(Ve()), { isValidHotelId: Ne, updateDates: Ce } = Ve(), {
956
+ } = Z(Ve()), { isValidHotelId: Ue, updateDates: $e } = Ve(), {
969
957
  currency: ke,
970
958
  arrivalEarliest: ie,
971
- arrivalLatest: Ue,
972
- departureEarliest: nt,
959
+ arrivalLatest: Le,
960
+ departureEarliest: lt,
973
961
  departureLatest: St,
974
- enableTracking: It,
975
- hideArrivalDepartureInputs: Bt,
962
+ enableTracking: Ht,
963
+ hideArrivalDepartureInputs: It,
976
964
  disableArrivalUserSelection: Fe,
977
- disableNamePrefix: Et,
965
+ disableNamePrefix: Bt,
978
966
  disableDepartureUserSelection: Oe,
979
- disableTravelingFor: Mt,
980
- disableTravelingForBleasure: Lt,
967
+ disableTravelingFor: Et,
968
+ disableTravelingForBleasure: Mt,
981
969
  disableCompanyField: Rt,
982
970
  hasPaymentGateway: Nt,
983
- maxAdultAmount: lt,
971
+ maxAdultAmount: nt,
984
972
  maxChildAmount: at
985
- } = Z(Te()), { beginCheckout: Ut } = Vt(), { display: je } = mo(), {
986
- resetTemplate: Ft,
987
- resetDiscountVoucher: Ot,
988
- createReservation: jt,
989
- fetchMetadata: Gt,
973
+ } = Z(Te()), { beginCheckout: Ut } = Vt(), { display: je } = po(), {
974
+ resetTemplate: Lt,
975
+ resetDiscountVoucher: Ft,
976
+ createReservation: Ot,
977
+ fetchMetadata: jt,
990
978
  fetchAvailabilityData: it,
991
979
  filterAddons: st
992
- } = fe(), qt = ne(!0), Wt = [
980
+ } = fe(), Gt = le(!0), qt = [
993
981
  {
994
982
  id: "availability",
995
983
  label: e("booking.availability.title"),
@@ -1015,7 +1003,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1015
1003
  label: e("booking.confirmation.title"),
1016
1004
  icon: "calendar-check"
1017
1005
  }
1018
- ], Kt = G(() => {
1006
+ ], Wt = G(() => {
1019
1007
  const b = [
1020
1008
  {
1021
1009
  label: e("booking.reservation.business"),
@@ -1026,43 +1014,43 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1026
1014
  value: "Pleasure"
1027
1015
  }
1028
1016
  ];
1029
- return Lt.value || b.push({
1017
+ return Mt.value || b.push({
1030
1018
  label: e("booking.reservation.bleasure"),
1031
1019
  value: "Bleasure"
1032
1020
  }), b;
1033
- }), xt = G(() => {
1034
- const b = R.value.roomGroups.slice();
1035
- function T(W, A) {
1036
- return qt.value === !0 ? W.pricesFrom > A.pricesFrom ? -1 : 1 : W.pricesFrom > A.pricesFrom ? 1 : -1;
1021
+ }), Kt = G(() => {
1022
+ const b = N.value.roomGroups.slice();
1023
+ function T(W, P) {
1024
+ return Gt.value === !0 ? W.pricesFrom > P.pricesFrom ? -1 : 1 : W.pricesFrom > P.pricesFrom ? 1 : -1;
1037
1025
  }
1038
1026
  return b.sort(T);
1039
- }), zt = G(() => [[
1027
+ }), xt = G(() => [[
1040
1028
  parseInt(ie.value.split(":")[0]),
1041
- parseInt(Ue.value.split(":")[0])
1042
- ]]), Jt = G(() => [[
1043
- parseInt(nt.value.split(":")[0]),
1029
+ parseInt(Le.value.split(":")[0])
1030
+ ]]), zt = G(() => [[
1031
+ parseInt(lt.value.split(":")[0]),
1044
1032
  parseInt(St.value.split(":")[0])
1045
1033
  ]]);
1046
1034
  function rt(b) {
1047
- t.hideAddons === "yes" || me.value ? b(2) : b(), Ot();
1035
+ t.hideAddons === "yes" || me.value ? b(2) : b(), Ft();
1048
1036
  }
1049
- async function Yt(b) {
1050
- await jt(b);
1037
+ async function Jt(b) {
1038
+ await Ot(b);
1051
1039
  }
1052
- function Zt(b) {
1053
- It.value && Ut(), t.hideAddons === "yes" || me.value ? b(2) : b();
1040
+ function Yt(b) {
1041
+ Ht.value && Ut(), t.hideAddons === "yes" || me.value ? b(2) : b();
1054
1042
  }
1055
- function Qt() {
1056
- const b = ho("hash-params", {
1043
+ function Zt() {
1044
+ const b = fo("hash-params", {
1057
1045
  removeNullishValues: !0
1058
- }), T = parseInt(b.a), W = parseInt(b.c), A = parseInt(b.hid), y = parseInt(b.n), K = b.ci, M = b.co, H = b.id;
1059
- if (isNaN(T) || (T > lt.value ? ge.value = lt.value : ge.value = T, b.a = void 0), isNaN(W) || (W > at.value ? ee.value = at.value : ee.value = W, b.c = void 0), isNaN(y) || y > 0 && (b.n = void 0), isNaN(A) || (Ne(A) ? z.value = A : je({
1046
+ }), T = parseInt(b.a), W = parseInt(b.c), P = parseInt(b.hid), y = parseInt(b.n), K = b.ci, M = b.co, S = b.id;
1047
+ if (isNaN(T) || (T > nt.value ? ge.value = nt.value : ge.value = T, b.a = void 0), isNaN(W) || (W > at.value ? ee.value = at.value : ee.value = W, b.c = void 0), isNaN(y) || y > 0 && (b.n = void 0), isNaN(P) || (Ue(P) ? z.value = P : je({
1060
1048
  message: e("alert.error.hotelIdNotFound"),
1061
1049
  type: "error"
1062
1050
  })), K && M)
1063
1051
  if (pt(K) && pt(M)) {
1064
1052
  const Y = new Date(K), he = new Date(M);
1065
- Y <= he ? (N.value = Y, be.value = he, b.ci = void 0, b.co = void 0) : je({
1053
+ Y <= he ? (U.value = Y, be.value = he, b.ci = void 0, b.co = void 0) : je({
1066
1054
  message: e("alert.error.invalidDateRange"),
1067
1055
  type: "error"
1068
1056
  });
@@ -1072,38 +1060,38 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1072
1060
  type: "error"
1073
1061
  });
1074
1062
  let te = null;
1075
- H && (te = H), it(te);
1063
+ S && (te = S), it(te);
1076
1064
  }
1077
- return (b, T) => (u(), P(fo, { styling: b.styling }, {
1065
+ return (b, T) => (u(), A(mo, { styling: b.styling }, {
1078
1066
  default: $(() => [
1079
- (u(), P(to, { onResolve: Qt }, {
1067
+ (u(), A(eo, { onResolve: Zt }, {
1080
1068
  default: $(() => [
1081
- g(o(n), {
1069
+ g(o(l), {
1082
1070
  id: "konnectio-hotel-module",
1083
1071
  "access-token": b.accessToken,
1084
- callback: o(Gt)
1072
+ callback: o(jt)
1085
1073
  }, {
1086
1074
  default: $(() => [
1087
1075
  g(To, {
1088
1076
  layout: b.headerLayout,
1089
- steps: Wt,
1090
- onReset: o(Ft)
1077
+ steps: qt,
1078
+ onReset: o(Lt)
1091
1079
  }, {
1092
1080
  availability: $(({ next: W }) => [
1093
1081
  g(ze, null, {
1094
1082
  form: $(() => [
1095
- a("div", $n, [
1096
- a("div", Cn, [
1083
+ a("div", _l, [
1084
+ a("div", Vl, [
1097
1085
  g(bo, {
1098
1086
  booking: !0,
1099
1087
  "selected-location": Number(b.selectedLocation)
1100
1088
  }, null, 8, ["selected-location"])
1101
1089
  ]),
1102
1090
  _("", !0),
1103
- !o(p) && o(ve) ? (u(), h("div", wn, [
1104
- o(R).roomGroups.length > 0 || o(R).templates.length > 0 || o(R).specialTemplates.length > 0 ? (u(), h("div", Pn, [
1105
- o(R).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("div", An, [
1106
- b.onlyShow !== "packages" ? (u(), h("h2", Dn, [
1091
+ !o(p) && o(ve) ? (u(), h("div", Tl, [
1092
+ o(N).roomGroups.length > 0 || o(N).templates.length > 0 || o(N).specialTemplates.length > 0 ? (u(), h("div", Cl, [
1093
+ o(N).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("div", $l, [
1094
+ b.onlyShow !== "packages" ? (u(), h("h2", wl, [
1107
1095
  g(x, {
1108
1096
  icon: "box",
1109
1097
  type: "fal",
@@ -1111,18 +1099,18 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1111
1099
  }),
1112
1100
  a("span", null, v(o(e)("booking.availability.packagesTitle")), 1)
1113
1101
  ])) : _("", !0),
1114
- a("ul", Hn, [
1115
- (u(!0), h(L, null, O(o(R).templates, ({
1116
- id: A,
1102
+ a("ul", Al, [
1103
+ (u(!0), h(R, null, O(o(N).templates, ({
1104
+ id: P,
1117
1105
  name: y,
1118
1106
  templateRoomGroups: K,
1119
1107
  image: M,
1120
- description: H,
1108
+ description: S,
1121
1109
  weekendFee: te
1122
- }) => (u(), P(rn, {
1123
- key: A,
1124
- id: A,
1125
- description: H,
1110
+ }) => (u(), A(il, {
1111
+ key: P,
1112
+ id: P,
1113
+ description: S,
1126
1114
  name: y,
1127
1115
  image: M,
1128
1116
  weekendFee: te,
@@ -1132,8 +1120,8 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1132
1120
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
1133
1121
  ])
1134
1122
  ])) : _("", !0),
1135
- o(R).roomGroups.length > 0 && b.onlyShow !== "packages" ? (u(), h("div", Sn, [
1136
- o(R).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("h2", In, [
1123
+ o(N).roomGroups.length > 0 && b.onlyShow !== "packages" ? (u(), h("div", Pl, [
1124
+ o(N).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("h2", Dl, [
1137
1125
  g(x, {
1138
1126
  icon: "house",
1139
1127
  type: "fal",
@@ -1141,15 +1129,15 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1141
1129
  }),
1142
1130
  a("span", null, v(o(e)("booking.availability.roomsTitle")), 1)
1143
1131
  ])) : _("", !0),
1144
- a("ul", Bn, [
1145
- (u(!0), h(L, null, O(xt.value, (A, y) => (u(), P(tn, {
1146
- room: A,
1132
+ a("ul", Sl, [
1133
+ (u(!0), h(R, null, O(Kt.value, (P, y) => (u(), A(tl, {
1134
+ room: P,
1147
1135
  key: y
1148
1136
  }, null, 8, ["room"]))), 128))
1149
1137
  ])
1150
1138
  ])) : _("", !0),
1151
- o(R).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("div", En, [
1152
- a("h2", Mn, [
1139
+ o(N).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("div", Hl, [
1140
+ a("h2", Il, [
1153
1141
  g(x, {
1154
1142
  icon: "sparkles",
1155
1143
  type: "fal",
@@ -1157,20 +1145,20 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1157
1145
  }),
1158
1146
  a("span", null, v(o(e)("hotel.specialOffers")), 1)
1159
1147
  ]),
1160
- a("ul", Ln, [
1161
- (u(!0), h(L, null, O(o(R).specialTemplates, ({
1162
- id: A,
1148
+ a("ul", Bl, [
1149
+ (u(!0), h(R, null, O(o(N).specialTemplates, ({
1150
+ id: P,
1163
1151
  name: y,
1164
1152
  templateRoomGroups: K,
1165
1153
  image: M,
1166
- description: H,
1154
+ description: S,
1167
1155
  weekendFee: te,
1168
1156
  fromDate: Y,
1169
1157
  toDate: he
1170
- }) => (u(), P(pn, {
1171
- key: A,
1172
- id: A,
1173
- description: H,
1158
+ }) => (u(), A(dl, {
1159
+ key: P,
1160
+ id: P,
1161
+ description: S,
1174
1162
  name: y,
1175
1163
  image: M,
1176
1164
  fromDate: Y,
@@ -1181,13 +1169,13 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1181
1169
  }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
1182
1170
  ])
1183
1171
  ])) : _("", !0),
1184
- (o(R).templates.length === 0 && b.onlyShow !== "rooms" || o(R).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (u(), h("div", Rn, [
1172
+ (o(N).templates.length === 0 && b.onlyShow !== "rooms" || o(N).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (u(), h("div", El, [
1185
1173
  a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
1186
1174
  ])) : _("", !0)
1187
- ])) : o(R).nextAvailableDates.length === 0 ? (u(), h("div", Nn, [
1175
+ ])) : o(N).nextAvailableDates.length === 0 ? (u(), h("div", Ml, [
1188
1176
  a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
1189
- ])) : (u(), h("div", Un, [
1190
- a("h2", Fn, [
1177
+ ])) : (u(), h("div", Rl, [
1178
+ a("h2", Nl, [
1191
1179
  g(x, {
1192
1180
  icon: "calendar-circle-exclamation",
1193
1181
  type: "fal",
@@ -1195,13 +1183,13 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1195
1183
  }),
1196
1184
  a("span", null, v(o(e)("booking.availability.nextAvailableDates")), 1)
1197
1185
  ]),
1198
- a("ul", On, [
1199
- (u(!0), h(L, null, O(o(R).nextAvailableDates, (A, y) => (u(), h("li", { key: y }, [
1186
+ a("ul", Ul, [
1187
+ (u(!0), h(R, null, O(o(N).nextAvailableDates, (P, y) => (u(), h("li", { key: y }, [
1200
1188
  a("h3", {
1201
- title: `${o(ue)(A.fromDate)} - ${o(ue)(A.toDate)}`
1189
+ title: `${o(ue)(P.fromDate)} - ${o(ue)(P.toDate)}`
1202
1190
  }, [
1203
- a("span", null, v(`${o(ue)(A.fromDate)} - ${o(ue)(A.toDate)}`), 1)
1204
- ], 8, jn),
1191
+ a("span", null, v(`${o(ue)(P.fromDate)} - ${o(ue)(P.toDate)}`), 1)
1192
+ ], 8, Ll),
1205
1193
  a("ul", null, [
1206
1194
  _("", !0),
1207
1195
  a("li", null, [
@@ -1210,18 +1198,18 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1210
1198
  type: "fal",
1211
1199
  color: "header"
1212
1200
  }),
1213
- a("span", null, v(o(e)("booking.availability.pricesFrom")) + ": " + v(o(oe)(A.priceStartFrom, o(ke))), 1)
1201
+ a("span", null, v(o(e)("booking.availability.pricesFrom")) + ": " + v(o(oe)(P.priceStartFrom, o(ke))), 1)
1214
1202
  ])
1215
1203
  ]),
1216
1204
  g(ce, {
1217
1205
  label: o(e)("booking.availability.selectDates"),
1218
1206
  "full-width": "",
1219
- onClickEvent: (K) => o(Ce)(new Date(A.fromDate), new Date(A.toDate))
1207
+ onClickEvent: (K) => o($e)(new Date(P.fromDate), new Date(P.toDate))
1220
1208
  }, null, 8, ["label", "onClickEvent"])
1221
1209
  ]))), 128))
1222
1210
  ])
1223
1211
  ]))
1224
- ])) : (u(), h("div", Gn, [
1212
+ ])) : (u(), h("div", Fl, [
1225
1213
  g(xe),
1226
1214
  g(xe),
1227
1215
  g(xe)
@@ -1229,42 +1217,42 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1229
1217
  ])
1230
1218
  ]),
1231
1219
  navigation: $(() => [
1232
- o(Re) ? (u(), P(ce, {
1220
+ o(Ne) ? (u(), A(ce, {
1233
1221
  key: 0,
1234
1222
  label: o(e)("general.searchAgain"),
1235
1223
  "is-loading": o(p),
1236
1224
  "full-width": "",
1237
- onClickEvent: T[1] || (T[1] = (A) => o(it)())
1238
- }, null, 8, ["label", "is-loading"])) : (u(), P(ce, {
1225
+ onClickEvent: T[1] || (T[1] = (P) => o(it)())
1226
+ }, null, 8, ["label", "is-loading"])) : (u(), A(ce, {
1239
1227
  key: 1,
1240
1228
  label: o(me) || b.hideAddons === "yes" ? o(e)("booking.availability.nextButton") : o(e)("general.chooseAddons"),
1241
1229
  disabled: !o(ae),
1242
1230
  "full-width": "",
1243
- onClickEvent: (A) => Zt(W)
1231
+ onClickEvent: (P) => Yt(W)
1244
1232
  }, null, 8, ["label", "disabled", "onClickEvent"]))
1245
1233
  ]),
1246
1234
  _: 2
1247
1235
  }, 1024)
1248
1236
  ]),
1249
- addons: $(({ next: W, prev: A }) => [
1250
- o(ve) ? (u(), P(ze, { key: 0 }, {
1237
+ addons: $(({ next: W, prev: P }) => [
1238
+ o(ve) ? (u(), A(ze, { key: 0 }, {
1251
1239
  form: $(() => [
1252
- a("form", qn, [
1240
+ a("form", Ol, [
1253
1241
  a("h2", null, [
1254
1242
  a("span", null, v(o(e)("booking.reservation.addons")), 1)
1255
1243
  ]),
1256
1244
  a("div", null, [
1257
- isNaN(o(i)) ? (u(), h("div", Wn, [
1258
- (u(!0), h(L, null, O(o(X), (y) => (u(), h("ul", {
1245
+ isNaN(o(i)) ? (u(), h("div", jl, [
1246
+ (u(!0), h(R, null, O(o(X), (y) => (u(), h("ul", {
1259
1247
  key: y.roomGroupID
1260
1248
  }, [
1261
- (u(!0), h(L, null, O(y.variants, (K, M) => (u(), h("li", {
1249
+ (u(!0), h(R, null, O(y.variants, (K, M) => (u(), h("li", {
1262
1250
  key: K.ratePlanID
1263
1251
  }, [
1264
1252
  a("h4", null, [
1265
1253
  a("span", null, v(o(de)(y.title)), 1)
1266
1254
  ]),
1267
- (u(!0), h(L, null, O(K.rooms, (H, te) => (u(), h("table", {
1255
+ (u(!0), h(R, null, O(K.rooms, (S, te) => (u(), h("table", {
1268
1256
  key: te,
1269
1257
  class: "konnectio-table with-lines"
1270
1258
  }, [
@@ -1274,50 +1262,50 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1274
1262
  a("span", null, v(o(de)(K.name)), 1)
1275
1263
  ]),
1276
1264
  _("", !0),
1277
- a("th", Kn, [
1265
+ a("th", Gl, [
1278
1266
  a("b", null, [
1279
1267
  g(x, {
1280
1268
  icon: "male",
1281
1269
  type: "fas",
1282
1270
  color: "font"
1283
1271
  }),
1284
- a("span", null, v(H.adultsCount), 1),
1285
- H.childrenCount > 0 ? (u(), P(x, {
1272
+ a("span", null, v(S.adultsCount), 1),
1273
+ S.childrenCount > 0 ? (u(), A(x, {
1286
1274
  key: 0,
1287
1275
  icon: "child",
1288
1276
  type: "fas",
1289
1277
  color: "font"
1290
1278
  })) : _("", !0),
1291
- H.childrenCount > 0 ? (u(), h("span", xn, v(H.childrenCount), 1)) : _("", !0)
1279
+ S.childrenCount > 0 ? (u(), h("span", ql, v(S.childrenCount), 1)) : _("", !0)
1292
1280
  ])
1293
1281
  ])
1294
1282
  ])
1295
1283
  ]),
1296
1284
  a("tbody", null, [
1297
- (u(!0), h(L, null, O(o(st)(y.addons, H.childrenCount), ({
1285
+ (u(!0), h(R, null, O(o(st)(y.addons, S.childrenCount), ({
1298
1286
  quantityStrategy: Y,
1299
1287
  maximumNumber: he,
1300
1288
  id: _e,
1301
- name: Xt,
1302
- price: eo
1289
+ name: Qt,
1290
+ price: Xt
1303
1291
  }) => (u(), h("tr", { key: _e }, [
1304
- a("td", zn, [
1305
- a("b", null, v(o(de)(Xt)), 1),
1306
- a("span", null, v(o(oe)(eo, o(ke))) + " " + v(o(ut)(Y)), 1)
1292
+ a("td", Wl, [
1293
+ a("b", null, v(o(de)(Qt)), 1),
1294
+ a("span", null, v(o(oe)(Xt, o(ke))) + " " + v(o(ut)(Y)), 1)
1307
1295
  ]),
1308
- a("td", Jn, [
1309
- o(U)[y.roomGroupID][M].config[H.configIdx].addons[H.roomIdx] ? (u(), h(L, { key: 0 }, [
1310
- Y === 1 || Y === 12 ? (u(), P(Qe, {
1296
+ a("td", Kl, [
1297
+ o(L)[y.roomGroupID][M].config[S.configIdx].addons[S.roomIdx] ? (u(), h(R, { key: 0 }, [
1298
+ Y === 1 || Y === 12 ? (u(), A(Qe, {
1311
1299
  key: 0,
1312
- modelValue: o(U)[y.roomGroupID][M].config[H.configIdx].addons[H.roomIdx][_e],
1313
- "onUpdate:modelValue": (Ge) => o(U)[y.roomGroupID][M].config[H.configIdx].addons[H.roomIdx][_e] = Ge,
1300
+ modelValue: o(L)[y.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][_e],
1301
+ "onUpdate:modelValue": (Ge) => o(L)[y.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][_e] = Ge,
1314
1302
  small: !0,
1315
1303
  "min-value": 0,
1316
1304
  "max-value": he || 1 / 0
1317
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), P(Ie, {
1305
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), A(Ie, {
1318
1306
  key: 1,
1319
- modelValue: o(U)[y.roomGroupID][M].config[H.configIdx].addons[H.roomIdx][_e],
1320
- "onUpdate:modelValue": (Ge) => o(U)[y.roomGroupID][M].config[H.configIdx].addons[H.roomIdx][_e] = Ge,
1307
+ modelValue: o(L)[y.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][_e],
1308
+ "onUpdate:modelValue": (Ge) => o(L)[y.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][_e] = Ge,
1321
1309
  numeric: !0
1322
1310
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1323
1311
  ], 64)) : _("", !0)
@@ -1327,42 +1315,42 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1327
1315
  ]))), 128))
1328
1316
  ]))), 128))
1329
1317
  ]))), 128))
1330
- ])) : o($e) ? (u(), h("div", Yn, [
1318
+ ])) : o(Ce) ? (u(), h("div", xl, [
1331
1319
  a("div", null, [
1332
1320
  a("h4", null, [
1333
- a("span", null, v(o(Le).name), 1)
1321
+ a("span", null, v(o(Re).name), 1)
1334
1322
  ]),
1335
- a("table", Zn, [
1323
+ a("table", zl, [
1336
1324
  a("thead", null, [
1337
1325
  a("tr", null, [
1338
1326
  a("th", null, [
1339
- a("span", null, v(o(de)(o($e).title)), 1)
1327
+ a("span", null, v(o(de)(o(Ce).title)), 1)
1340
1328
  ]),
1341
1329
  _("", !0),
1342
- Qn
1330
+ Jl
1343
1331
  ])
1344
1332
  ]),
1345
1333
  a("tbody", null, [
1346
- (u(!0), h(L, null, O(o(st)(o($e).addons, o(ye)), ({
1334
+ (u(!0), h(R, null, O(o(st)(o(Ce).addons, o(ye)), ({
1347
1335
  quantityStrategy: y,
1348
1336
  maximumNumber: K,
1349
1337
  id: M,
1350
- name: H,
1338
+ name: S,
1351
1339
  price: te
1352
1340
  }) => (u(), h("tr", { key: M }, [
1353
- a("td", Xn, [
1354
- a("b", null, v(o(de)(H)), 1),
1341
+ a("td", Yl, [
1342
+ a("b", null, v(o(de)(S)), 1),
1355
1343
  a("span", null, v(o(oe)(te, o(ke))) + " " + v(o(ut)(y)), 1)
1356
1344
  ]),
1357
- a("td", el, [
1358
- y === 1 || y === 12 ? (u(), P(Qe, {
1345
+ a("td", Zl, [
1346
+ y === 1 || y === 12 ? (u(), A(Qe, {
1359
1347
  key: 0,
1360
1348
  modelValue: o(s)[M],
1361
1349
  "onUpdate:modelValue": (Y) => o(s)[M] = Y,
1362
1350
  small: !0,
1363
1351
  "min-value": 0,
1364
1352
  "max-value": K || 1 / 0
1365
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), P(Ie, {
1353
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), A(Ie, {
1366
1354
  key: 1,
1367
1355
  modelValue: o(s)[M],
1368
1356
  "onUpdate:modelValue": (Y) => o(s)[M] = Y,
@@ -1385,64 +1373,64 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1385
1373
  }, null, 8, ["label", "onClickEvent"]),
1386
1374
  a("button", {
1387
1375
  class: "konnectio-abort-reservation link",
1388
- onClick: De((y) => rt(A), ["prevent"])
1376
+ onClick: De((y) => rt(P), ["prevent"])
1389
1377
  }, [
1390
1378
  a("span", null, v(o(e)("general.goAStepBack")), 1)
1391
- ], 8, tl)
1379
+ ], 8, Ql)
1392
1380
  ]),
1393
1381
  _: 2
1394
1382
  }, 1024)) : _("", !0)
1395
1383
  ]),
1396
- reservation: $(({ next: W, prev: A }) => [
1397
- o(ve) ? (u(), P(ze, {
1384
+ reservation: $(({ next: W, prev: P }) => [
1385
+ o(ve) ? (u(), A(ze, {
1398
1386
  key: 0,
1399
1387
  "show-terms-notice": !0,
1400
1388
  "show-gift-card": !0
1401
1389
  }, {
1402
1390
  form: $(() => [
1403
- a("form", ol, [
1391
+ a("form", Xl, [
1404
1392
  a("h2", null, [
1405
1393
  a("span", null, v(o(e)("booking.reservation.detailsTitle")), 1)
1406
1394
  ]),
1407
- !o(Bt) && !(o(Fe) && o(Oe)) ? (u(), h("ul", {
1395
+ !o(It) && !(o(Fe) && o(Oe)) ? (u(), h("ul", {
1408
1396
  key: 0,
1409
- class: Se({ "konnectio-split-inputs": !o(Fe) && !o(Oe) })
1397
+ class: He({ "konnectio-split-inputs": !o(Fe) && !o(Oe) })
1410
1398
  }, [
1411
- o(Fe) ? _("", !0) : (u(), h("li", nl, [
1399
+ o(Fe) ? _("", !0) : (u(), h("li", en, [
1412
1400
  g(mt, {
1413
1401
  modelValue: o(f),
1414
1402
  "onUpdate:modelValue": T[2] || (T[2] = (y) => F(f) ? f.value = y : null),
1415
1403
  label: o(e)("booking.reservation.arrivalTime"),
1416
1404
  icon: "hourglass-start",
1417
- "hour-range": zt.value,
1405
+ "hour-range": xt.value,
1418
1406
  required: ""
1419
1407
  }, null, 8, ["modelValue", "label", "hour-range"])
1420
1408
  ])),
1421
- o(Oe) ? _("", !0) : (u(), h("li", ll, [
1409
+ o(Oe) ? _("", !0) : (u(), h("li", tn, [
1422
1410
  g(mt, {
1423
1411
  modelValue: o(V),
1424
1412
  "onUpdate:modelValue": T[3] || (T[3] = (y) => F(V) ? V.value = y : null),
1425
1413
  label: o(e)("booking.reservation.departureTime"),
1426
1414
  icon: "hourglass-end",
1427
- "hour-range": Jt.value,
1415
+ "hour-range": zt.value,
1428
1416
  required: ""
1429
1417
  }, null, 8, ["modelValue", "label", "hour-range"])
1430
1418
  ]))
1431
1419
  ], 2)) : _("", !0),
1432
- g(yn, {
1420
+ g(fl, {
1433
1421
  modelValue: o(w),
1434
1422
  "onUpdate:modelValue": T[4] || (T[4] = (y) => F(w) ? w.value = y : null),
1435
1423
  title: o(C),
1436
1424
  "onUpdate:title": T[5] || (T[5] = (y) => F(C) ? C.value = y : null),
1437
- "exclude-title": o(Et),
1425
+ "exclude-title": o(Bt),
1438
1426
  label: o(e)("booking.reservation.name"),
1439
1427
  icon: "user-alt",
1440
1428
  placeholder: o(e)("booking.reservation.namePlaceholder"),
1441
1429
  required: ""
1442
1430
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1443
1431
  g(re, {
1444
- modelValue: o(S),
1445
- "onUpdate:modelValue": T[6] || (T[6] = (y) => F(S) ? S.value = y : null),
1432
+ modelValue: o(H),
1433
+ "onUpdate:modelValue": T[6] || (T[6] = (y) => F(H) ? H.value = y : null),
1446
1434
  type: "email",
1447
1435
  name: "email",
1448
1436
  autocomplete: "email",
@@ -1451,7 +1439,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1451
1439
  placeholder: o(e)("booking.reservation.emailPlaceholder"),
1452
1440
  required: ""
1453
1441
  }, null, 8, ["modelValue", "label", "placeholder"]),
1454
- o(Rt) ? _("", !0) : (u(), P(re, {
1442
+ o(Rt) ? _("", !0) : (u(), A(re, {
1455
1443
  key: 1,
1456
1444
  modelValue: o(B),
1457
1445
  "onUpdate:modelValue": T[7] || (T[7] = (y) => F(B) ? B.value = y : null),
@@ -1470,7 +1458,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1470
1458
  placeholder: o(e)("booking.reservation.phonePlaceholder"),
1471
1459
  required: ""
1472
1460
  }, null, 8, ["modelValue", "label", "placeholder"]),
1473
- g(hn, {
1461
+ g(pl, {
1474
1462
  modelValue: o(J),
1475
1463
  "onUpdate:modelValue": T[9] || (T[9] = (y) => F(J) ? J.value = y : null),
1476
1464
  label: o(e)("booking.reservation.country"),
@@ -1489,7 +1477,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1489
1477
  placeholder: o(e)("booking.reservation.streetAddressPlaceholder"),
1490
1478
  required: ""
1491
1479
  }, null, 8, ["modelValue", "label", "placeholder"]),
1492
- a("ul", al, [
1480
+ a("ul", on, [
1493
1481
  a("li", null, [
1494
1482
  g(re, {
1495
1483
  modelValue: o(k),
@@ -1533,13 +1521,13 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1533
1521
  icon: "allergies",
1534
1522
  placeholder: o(e)("booking.reservation.allergiesPlaceholder")
1535
1523
  }, null, 8, ["modelValue", "label", "placeholder"]),
1536
- o(Mt) ? _("", !0) : (u(), P($o, {
1524
+ o(Et) ? _("", !0) : (u(), A(Co, {
1537
1525
  key: 2,
1538
1526
  modelValue: o(d),
1539
1527
  "onUpdate:modelValue": T[15] || (T[15] = (y) => F(d) ? d.value = y : null),
1540
1528
  label: `${o(e)("booking.reservation.purposeOfStay")} (${o(e)("booking.reservation.optional")})`,
1541
1529
  name: "travelingFor",
1542
- checkboxes: Kt.value
1530
+ checkboxes: Wt.value
1543
1531
  }, null, 8, ["modelValue", "label", "checkboxes"]))
1544
1532
  ])
1545
1533
  ]),
@@ -1550,24 +1538,24 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1550
1538
  disabled: !o(r),
1551
1539
  "is-loading": o(c),
1552
1540
  "full-width": "",
1553
- onClickEvent: (y) => Yt(W)
1541
+ onClickEvent: (y) => Jt(W)
1554
1542
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1555
1543
  a("button", {
1556
1544
  class: "konnectio-abort-reservation link",
1557
- onClick: De((y) => rt(A), ["prevent"])
1545
+ onClick: De((y) => rt(P), ["prevent"])
1558
1546
  }, [
1559
1547
  a("span", null, v(o(e)("general.goAStepBack")), 1)
1560
- ], 8, il)
1548
+ ], 8, ln)
1561
1549
  ])
1562
1550
  ]),
1563
1551
  _: 2
1564
1552
  }, 1024)) : _("", !0)
1565
1553
  ]),
1566
1554
  payment: $(() => [
1567
- g(Ho)
1555
+ g(So)
1568
1556
  ]),
1569
1557
  confirmation: $(() => [
1570
- g(Co, {
1558
+ g($o, {
1571
1559
  message: o(e)("booking.confirmation.thankYou")
1572
1560
  }, null, 8, ["message"])
1573
1561
  ]),
@@ -1578,7 +1566,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1578
1566
  }, 8, ["access-token", "callback"])
1579
1567
  ]),
1580
1568
  fallback: $(() => [
1581
- g(Vn)
1569
+ g(bl)
1582
1570
  ]),
1583
1571
  _: 1
1584
1572
  }))
@@ -1586,42 +1574,42 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1586
1574
  _: 1
1587
1575
  }, 8, ["styling"]));
1588
1576
  }
1589
- }), we = /* @__PURE__ */ pe(sl, [["__scopeId", "data-v-5d8036f6"]]);
1590
- function Xe(l, n = {}, t) {
1591
- for (const e in l) {
1592
- const i = l[e], s = t ? `${t}:${e}` : e;
1593
- typeof i == "object" && i !== null ? Xe(i, n, s) : typeof i == "function" && (n[s] = i);
1577
+ }), we = /* @__PURE__ */ pe(nn, [["__scopeId", "data-v-652c2f0e"]]);
1578
+ function Xe(n, l = {}, t) {
1579
+ for (const e in n) {
1580
+ const i = n[e], s = t ? `${t}:${e}` : e;
1581
+ typeof i == "object" && i !== null ? Xe(i, l, s) : typeof i == "function" && (l[s] = i);
1594
1582
  }
1595
- return n;
1583
+ return l;
1596
1584
  }
1597
- const rl = { run: (l) => l() }, dl = () => rl, Pt = typeof console.createTask < "u" ? console.createTask : dl;
1598
- function cl(l, n) {
1599
- const t = n.shift(), e = Pt(t);
1600
- return l.reduce(
1601
- (i, s) => i.then(() => e.run(() => s(...n))),
1585
+ const an = { run: (n) => n() }, sn = () => an, wt = typeof console.createTask < "u" ? console.createTask : sn;
1586
+ function rn(n, l) {
1587
+ const t = l.shift(), e = wt(t);
1588
+ return n.reduce(
1589
+ (i, s) => i.then(() => e.run(() => s(...l))),
1602
1590
  Promise.resolve()
1603
1591
  );
1604
1592
  }
1605
- function ul(l, n) {
1606
- const t = n.shift(), e = Pt(t);
1607
- return Promise.all(l.map((i) => e.run(() => i(...n))));
1593
+ function dn(n, l) {
1594
+ const t = l.shift(), e = wt(t);
1595
+ return Promise.all(n.map((i) => e.run(() => i(...l))));
1608
1596
  }
1609
- function Je(l, n) {
1610
- for (const t of [...l])
1611
- t(n);
1597
+ function Je(n, l) {
1598
+ for (const t of [...n])
1599
+ t(l);
1612
1600
  }
1613
- class pl {
1601
+ class cn {
1614
1602
  constructor() {
1615
1603
  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);
1616
1604
  }
1617
- hook(n, t, e = {}) {
1618
- if (!n || typeof t != "function")
1605
+ hook(l, t, e = {}) {
1606
+ if (!l || typeof t != "function")
1619
1607
  return () => {
1620
1608
  };
1621
- const i = n;
1609
+ const i = l;
1622
1610
  let s;
1623
- for (; this._deprecatedHooks[n]; )
1624
- s = this._deprecatedHooks[n], n = s.to;
1611
+ for (; this._deprecatedHooks[l]; )
1612
+ s = this._deprecatedHooks[l], l = s.to;
1625
1613
  if (s && !e.allowDeprecated) {
1626
1614
  let m = s.message;
1627
1615
  m || (m = `${i} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(m) || (console.warn(m), this._deprecatedMessages.add(m));
@@ -1629,39 +1617,39 @@ class pl {
1629
1617
  if (!t.name)
1630
1618
  try {
1631
1619
  Object.defineProperty(t, "name", {
1632
- get: () => "_" + n.replace(/\W+/g, "_") + "_hook_cb",
1620
+ get: () => "_" + l.replace(/\W+/g, "_") + "_hook_cb",
1633
1621
  configurable: !0
1634
1622
  });
1635
1623
  } catch {
1636
1624
  }
1637
- return this._hooks[n] = this._hooks[n] || [], this._hooks[n].push(t), () => {
1638
- t && (this.removeHook(n, t), t = void 0);
1625
+ return this._hooks[l] = this._hooks[l] || [], this._hooks[l].push(t), () => {
1626
+ t && (this.removeHook(l, t), t = void 0);
1639
1627
  };
1640
1628
  }
1641
- hookOnce(n, t) {
1629
+ hookOnce(l, t) {
1642
1630
  let e, i = (...s) => (typeof e == "function" && e(), e = void 0, i = void 0, t(...s));
1643
- return e = this.hook(n, i), e;
1631
+ return e = this.hook(l, i), e;
1644
1632
  }
1645
- removeHook(n, t) {
1646
- if (this._hooks[n]) {
1647
- const e = this._hooks[n].indexOf(t);
1648
- e !== -1 && this._hooks[n].splice(e, 1), this._hooks[n].length === 0 && delete this._hooks[n];
1633
+ removeHook(l, t) {
1634
+ if (this._hooks[l]) {
1635
+ const e = this._hooks[l].indexOf(t);
1636
+ e !== -1 && this._hooks[l].splice(e, 1), this._hooks[l].length === 0 && delete this._hooks[l];
1649
1637
  }
1650
1638
  }
1651
- deprecateHook(n, t) {
1652
- this._deprecatedHooks[n] = typeof t == "string" ? { to: t } : t;
1653
- const e = this._hooks[n] || [];
1654
- delete this._hooks[n];
1639
+ deprecateHook(l, t) {
1640
+ this._deprecatedHooks[l] = typeof t == "string" ? { to: t } : t;
1641
+ const e = this._hooks[l] || [];
1642
+ delete this._hooks[l];
1655
1643
  for (const i of e)
1656
- this.hook(n, i);
1644
+ this.hook(l, i);
1657
1645
  }
1658
- deprecateHooks(n) {
1659
- Object.assign(this._deprecatedHooks, n);
1660
- for (const t in n)
1661
- this.deprecateHook(t, n[t]);
1646
+ deprecateHooks(l) {
1647
+ Object.assign(this._deprecatedHooks, l);
1648
+ for (const t in l)
1649
+ this.deprecateHook(t, l[t]);
1662
1650
  }
1663
- addHooks(n) {
1664
- const t = Xe(n), e = Object.keys(t).map(
1651
+ addHooks(l) {
1652
+ const t = Xe(l), e = Object.keys(t).map(
1665
1653
  (i) => this.hook(i, t[i])
1666
1654
  );
1667
1655
  return () => {
@@ -1669,25 +1657,25 @@ class pl {
1669
1657
  i();
1670
1658
  };
1671
1659
  }
1672
- removeHooks(n) {
1673
- const t = Xe(n);
1660
+ removeHooks(l) {
1661
+ const t = Xe(l);
1674
1662
  for (const e in t)
1675
1663
  this.removeHook(e, t[e]);
1676
1664
  }
1677
1665
  removeAllHooks() {
1678
- for (const n in this._hooks)
1679
- delete this._hooks[n];
1666
+ for (const l in this._hooks)
1667
+ delete this._hooks[l];
1680
1668
  }
1681
- callHook(n, ...t) {
1682
- return t.unshift(n), this.callHookWith(cl, n, ...t);
1669
+ callHook(l, ...t) {
1670
+ return t.unshift(l), this.callHookWith(rn, l, ...t);
1683
1671
  }
1684
- callHookParallel(n, ...t) {
1685
- return t.unshift(n), this.callHookWith(ul, n, ...t);
1672
+ callHookParallel(l, ...t) {
1673
+ return t.unshift(l), this.callHookWith(dn, l, ...t);
1686
1674
  }
1687
- callHookWith(n, t, ...e) {
1675
+ callHookWith(l, t, ...e) {
1688
1676
  const i = this._before || this._after ? { name: t, args: e, context: {} } : void 0;
1689
1677
  this._before && Je(this._before, i);
1690
- const s = n(
1678
+ const s = l(
1691
1679
  t in this._hooks ? [...this._hooks[t]] : [],
1692
1680
  e
1693
1681
  );
@@ -1695,37 +1683,37 @@ class pl {
1695
1683
  this._after && i && Je(this._after, i);
1696
1684
  }) : (this._after && i && Je(this._after, i), s);
1697
1685
  }
1698
- beforeEach(n) {
1699
- return this._before = this._before || [], this._before.push(n), () => {
1686
+ beforeEach(l) {
1687
+ return this._before = this._before || [], this._before.push(l), () => {
1700
1688
  if (this._before !== void 0) {
1701
- const t = this._before.indexOf(n);
1689
+ const t = this._before.indexOf(l);
1702
1690
  t !== -1 && this._before.splice(t, 1);
1703
1691
  }
1704
1692
  };
1705
1693
  }
1706
- afterEach(n) {
1707
- return this._after = this._after || [], this._after.push(n), () => {
1694
+ afterEach(l) {
1695
+ return this._after = this._after || [], this._after.push(l), () => {
1708
1696
  if (this._after !== void 0) {
1709
- const t = this._after.indexOf(n);
1697
+ const t = this._after.indexOf(l);
1710
1698
  t !== -1 && this._after.splice(t, 1);
1711
1699
  }
1712
1700
  };
1713
1701
  }
1714
1702
  }
1715
- function ml() {
1716
- return new pl();
1703
+ function un() {
1704
+ return new cn();
1717
1705
  }
1718
- function fl(l) {
1719
- return Array.isArray(l) ? l : [l];
1706
+ function pn(n) {
1707
+ return Array.isArray(n) ? n : [n];
1720
1708
  }
1721
- const hl = ["title", "titleTemplate", "script", "style", "noscript"], Pe = [
1709
+ const mn = ["title", "titleTemplate", "script", "style", "noscript"], Ae = [
1722
1710
  "base",
1723
1711
  "meta",
1724
1712
  "link",
1725
1713
  "style",
1726
1714
  "script",
1727
1715
  "noscript"
1728
- ], vl = [
1716
+ ], fn = [
1729
1717
  "title",
1730
1718
  "titleTemplate",
1731
1719
  "templateParams",
@@ -1737,19 +1725,19 @@ const hl = ["title", "titleTemplate", "script", "style", "noscript"], Pe = [
1737
1725
  "style",
1738
1726
  "script",
1739
1727
  "noscript"
1740
- ], yl = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], At = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], gl = typeof window < "u";
1741
- function ot(l) {
1742
- let n = 9;
1743
- for (let t = 0; t < l.length; )
1744
- n = Math.imul(n ^ l.charCodeAt(t++), 9 ** 9);
1745
- return ((n ^ n >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
1728
+ ], hn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], At = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], vn = typeof window < "u";
1729
+ function ot(n) {
1730
+ let l = 9;
1731
+ for (let t = 0; t < n.length; )
1732
+ l = Math.imul(l ^ n.charCodeAt(t++), 9 ** 9);
1733
+ return ((l ^ l >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
1746
1734
  }
1747
- function ft(l) {
1748
- return l._h || ot(l._d ? l._d : `${l.tag}:${l.textContent || l.innerHTML || ""}:${Object.entries(l.props).map(([n, t]) => `${n}:${String(t)}`).join(",")}`);
1735
+ function ft(n) {
1736
+ return n._h || ot(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, t]) => `${l}:${String(t)}`).join(",")}`);
1749
1737
  }
1750
- function Dt(l, n) {
1751
- const { props: t, tag: e } = l;
1752
- if (yl.includes(e))
1738
+ function Pt(n, l) {
1739
+ const { props: t, tag: e } = n;
1740
+ if (hn.includes(e))
1753
1741
  return e;
1754
1742
  if (e === "link" && t.rel === "canonical")
1755
1743
  return "canonical";
@@ -1760,52 +1748,52 @@ function Dt(l, n) {
1760
1748
  for (const s of i)
1761
1749
  if (typeof t[s] < "u") {
1762
1750
  const m = String(t[s]);
1763
- return n && !n(m) ? !1 : `${e}:${s}:${m}`;
1751
+ return l && !l(m) ? !1 : `${e}:${s}:${m}`;
1764
1752
  }
1765
1753
  return !1;
1766
1754
  }
1767
- function ht(l, n) {
1768
- return l == null ? n || null : typeof l == "function" ? l(n) : l;
1755
+ function ht(n, l) {
1756
+ return n == null ? l || null : typeof n == "function" ? n(l) : n;
1769
1757
  }
1770
- async function bl(l, n, t) {
1758
+ async function yn(n, l, t) {
1771
1759
  const e = {
1772
- tag: l,
1773
- props: await Ht(
1760
+ tag: n,
1761
+ props: await Dt(
1774
1762
  // explicitly check for an object
1775
1763
  // @ts-expect-error untyped
1776
- typeof n == "object" && typeof n != "function" && !(n instanceof Promise) ? { ...n } : { [["script", "noscript", "style"].includes(l) ? "innerHTML" : "textContent"]: n },
1777
- ["templateParams", "titleTemplate"].includes(l)
1764
+ typeof l == "object" && typeof l != "function" && !(l instanceof Promise) ? { ...l } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: l },
1765
+ ["templateParams", "titleTemplate"].includes(n)
1778
1766
  )
1779
1767
  };
1780
1768
  return At.forEach((i) => {
1781
1769
  const s = typeof e.props[i] < "u" ? e.props[i] : t[i];
1782
- typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || hl.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
1770
+ typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || mn.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
1783
1771
  }), e.props.body && (e.tagPosition = "bodyClose", delete e.props.body), e.tag === "script" && typeof e.innerHTML == "object" && (e.innerHTML = JSON.stringify(e.innerHTML), e.props.type = e.props.type || "application/json"), Array.isArray(e.props.content) ? e.props.content.map((i) => ({ ...e, props: { ...e.props, content: i } })) : e;
1784
1772
  }
1785
- function kl(l, n) {
1786
- const t = l === "class" ? " " : ";";
1787
- return typeof n == "object" && !Array.isArray(n) && (n = Object.entries(n).filter(([, e]) => e).map(([e, i]) => l === "style" ? `${e}:${i}` : e)), String(Array.isArray(n) ? n.join(t) : n)?.split(t).filter((e) => e.trim()).filter(Boolean).join(t);
1773
+ function gn(n, l) {
1774
+ const t = n === "class" ? " " : ";";
1775
+ return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, e]) => e).map(([e, i]) => n === "style" ? `${e}:${i}` : e)), String(Array.isArray(l) ? l.join(t) : l)?.split(t).filter((e) => e.trim()).filter(Boolean).join(t);
1788
1776
  }
1789
- async function Ht(l, n) {
1790
- for (const t of Object.keys(l)) {
1777
+ async function Dt(n, l) {
1778
+ for (const t of Object.keys(n)) {
1791
1779
  if (["class", "style"].includes(t)) {
1792
- l[t] = kl(t, l[t]);
1780
+ n[t] = gn(t, n[t]);
1793
1781
  continue;
1794
1782
  }
1795
- if (l[t] instanceof Promise && (l[t] = await l[t]), !n && !At.includes(t)) {
1796
- const e = String(l[t]), i = t.startsWith("data-");
1797
- e === "true" || e === "" ? l[t] = i ? "true" : !0 : l[t] || (i && e === "false" ? l[t] = "false" : delete l[t]);
1783
+ if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !At.includes(t)) {
1784
+ const e = String(n[t]), i = t.startsWith("data-");
1785
+ e === "true" || e === "" ? n[t] = i ? "true" : !0 : n[t] || (i && e === "false" ? n[t] = "false" : delete n[t]);
1798
1786
  }
1799
1787
  }
1800
- return l;
1788
+ return n;
1801
1789
  }
1802
- const _l = 10;
1803
- async function Vl(l) {
1804
- const n = [];
1805
- return Object.entries(l.resolvedInput).filter(([t, e]) => typeof e < "u" && vl.includes(t)).forEach(([t, e]) => {
1806
- const i = fl(e);
1807
- n.push(...i.map((s) => bl(t, s, l)).flat());
1808
- }), (await Promise.all(n)).flat().filter(Boolean).map((t, e) => (t._e = l._i, l.mode && (t._m = l.mode), t._p = (l._i << _l) + e, t));
1790
+ const bn = 10;
1791
+ async function kn(n) {
1792
+ const l = [];
1793
+ return Object.entries(n.resolvedInput).filter(([t, e]) => typeof e < "u" && fn.includes(t)).forEach(([t, e]) => {
1794
+ const i = pn(e);
1795
+ l.push(...i.map((s) => yn(t, s, n)).flat());
1796
+ }), (await Promise.all(l)).flat().filter(Boolean).map((t, e) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << bn) + e, t));
1809
1797
  }
1810
1798
  const vt = {
1811
1799
  // tags
@@ -1817,59 +1805,59 @@ const vt = {
1817
1805
  high: -10,
1818
1806
  low: 20
1819
1807
  };
1820
- function Be(l) {
1821
- let n = 100;
1822
- const t = l.tagPriority;
1823
- return typeof t == "number" ? t : (l.tag === "meta" ? (l.props["http-equiv"] === "content-security-policy" && (n = -30), l.props.charset && (n = -20), l.props.name === "viewport" && (n = -15)) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in vt && (n = vt[l.tag]), typeof t == "string" && t in yt ? n + yt[t] : n);
1808
+ function Be(n) {
1809
+ let l = 100;
1810
+ const t = n.tagPriority;
1811
+ 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 vt && (l = vt[n.tag]), typeof t == "string" && t in yt ? l + yt[t] : l);
1824
1812
  }
1825
- const Tl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], gt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], se = "%separator";
1826
- function Ae(l, n, t) {
1827
- if (typeof l != "string" || !l.includes("%"))
1828
- return l;
1813
+ const _n = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], gt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], se = "%separator";
1814
+ function Pe(n, l, t) {
1815
+ if (typeof n != "string" || !n.includes("%"))
1816
+ return n;
1829
1817
  function e(m) {
1830
1818
  let p;
1831
- return ["s", "pageTitle"].includes(m) ? p = n.pageTitle : m.includes(".") ? p = m.split(".").reduce((c, r) => c && c[r] || void 0, n) : p = n[m], typeof p < "u" ? (p || "").replace(/"/g, '\\"') : !1;
1819
+ return ["s", "pageTitle"].includes(m) ? p = l.pageTitle : m.includes(".") ? p = m.split(".").reduce((c, r) => c && c[r] || void 0, l) : p = l[m], typeof p < "u" ? (p || "").replace(/"/g, '\\"') : !1;
1832
1820
  }
1833
- let i = l;
1821
+ let i = n;
1834
1822
  try {
1835
- i = decodeURI(l);
1823
+ i = decodeURI(n);
1836
1824
  } catch {
1837
1825
  }
1838
1826
  return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
1839
1827
  const p = e(m.slice(1));
1840
- typeof p == "string" && (l = l.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (c, r) => `${p}${r}`).trim());
1841
- }), l.includes(se) && (l.endsWith(se) && (l = l.slice(0, -se.length).trim()), l.startsWith(se) && (l = l.slice(se.length).trim()), l = l.replace(new RegExp(`\\${se}\\s*\\${se}`, "g"), se), l = Ae(l, { separator: t }, t)), l;
1828
+ typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (c, r) => `${p}${r}`).trim());
1829
+ }), n.includes(se) && (n.endsWith(se) && (n = n.slice(0, -se.length).trim()), n.startsWith(se) && (n = n.slice(se.length).trim()), n = n.replace(new RegExp(`\\${se}\\s*\\${se}`, "g"), se), n = Pe(n, { separator: t }, t)), n;
1842
1830
  }
1843
- async function $l(l, n = {}) {
1844
- const t = n.document || l.resolvedOptions.document;
1845
- if (!t || !l.dirty)
1831
+ async function Vn(n, l = {}) {
1832
+ const t = l.document || n.resolvedOptions.document;
1833
+ if (!t || !n.dirty)
1846
1834
  return;
1847
1835
  const e = { shouldRender: !0, tags: [] };
1848
- if (await l.hooks.callHook("dom:beforeRender", e), !e.shouldRender)
1836
+ if (await n.hooks.callHook("dom:beforeRender", e), !e.shouldRender)
1849
1837
  return;
1850
- const i = (await l.resolveTags()).map((d) => ({
1838
+ const i = (await n.resolveTags()).map((d) => ({
1851
1839
  tag: d,
1852
- id: Pe.includes(d.tag) ? ft(d) : d.tag,
1840
+ id: Ae.includes(d.tag) ? ft(d) : d.tag,
1853
1841
  shouldRender: !0
1854
1842
  }));
1855
- let s = l._dom;
1843
+ let s = n._dom;
1856
1844
  if (!s) {
1857
1845
  s = {
1858
1846
  elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
1859
1847
  };
1860
1848
  for (const d of ["body", "head"]) {
1861
1849
  const f = t[d]?.children, V = [];
1862
- for (const w of [...f].filter((C) => Pe.includes(C.tagName.toLowerCase()))) {
1850
+ for (const w of [...f].filter((C) => Ae.includes(C.tagName.toLowerCase()))) {
1863
1851
  const C = {
1864
1852
  tag: w.tagName.toLowerCase(),
1865
- props: await Ht(
1853
+ props: await Dt(
1866
1854
  w.getAttributeNames().reduce((B, k) => ({ ...B, [k]: w.getAttribute(k) }), {})
1867
1855
  ),
1868
1856
  innerHTML: w.innerHTML
1869
1857
  };
1870
- let S = 1, E = Dt(C);
1858
+ let H = 1, E = Pt(C);
1871
1859
  for (; E && V.find((B) => B._d === E); )
1872
- E = `${E}:${S++}`;
1860
+ E = `${E}:${H++}`;
1873
1861
  C._d = E || void 0, V.push(C), s.elMap[w.getAttribute("data-hid") || ft(C)] = w;
1874
1862
  }
1875
1863
  }
@@ -1886,22 +1874,22 @@ async function $l(l, n = {}) {
1886
1874
  }), m(d, "el", () => {
1887
1875
  s.elMap[d]?.remove(), delete s.elMap[d];
1888
1876
  }));
1889
- for (const [C, S] of Object.entries(V._eventHandlers || {}))
1890
- f.getAttribute(`data-${C}`) !== "" && ((V.tag === "bodyAttrs" ? t.defaultView : f).addEventListener(C.replace("on", ""), S.bind(f)), f.setAttribute(`data-${C}`, ""));
1891
- Object.entries(V.props).forEach(([C, S]) => {
1877
+ for (const [C, H] of Object.entries(V._eventHandlers || {}))
1878
+ f.getAttribute(`data-${C}`) !== "" && ((V.tag === "bodyAttrs" ? t.defaultView : f).addEventListener(C.replace("on", ""), H.bind(f)), f.setAttribute(`data-${C}`, ""));
1879
+ Object.entries(V.props).forEach(([C, H]) => {
1892
1880
  const E = `attr:${C}`;
1893
1881
  if (C === "class")
1894
- for (const B of (S || "").split(" ").filter(Boolean))
1882
+ for (const B of (H || "").split(" ").filter(Boolean))
1895
1883
  w && m(d, `${E}:${B}`, () => f.classList.remove(B)), !f.classList.contains(B) && f.classList.add(B);
1896
1884
  else if (C === "style")
1897
- for (const B of (S || "").split(";").filter(Boolean)) {
1885
+ for (const B of (H || "").split(";").filter(Boolean)) {
1898
1886
  const [k, ...D] = B.split(":").map((I) => I.trim());
1899
1887
  m(d, `${E}:${k}`, () => {
1900
1888
  f.style.removeProperty(k);
1901
1889
  }), f.style.setProperty(k, D.join(":"));
1902
1890
  }
1903
1891
  else
1904
- f.getAttribute(C) !== S && f.setAttribute(C, S === !0 ? "" : String(S)), w && m(d, E, () => f.removeAttribute(C));
1892
+ f.getAttribute(C) !== H && f.setAttribute(C, H === !0 ? "" : String(H)), w && m(d, E, () => f.removeAttribute(C));
1905
1893
  });
1906
1894
  }
1907
1895
  const c = [], r = {
@@ -1916,7 +1904,7 @@ async function $l(l, n = {}) {
1916
1904
  t.title = f.textContent;
1917
1905
  continue;
1918
1906
  }
1919
- d.$el = d.$el || s.elMap[w], d.$el ? p(d) : Pe.includes(f.tag) && c.push(d);
1907
+ d.$el = d.$el || s.elMap[w], d.$el ? p(d) : Ae.includes(f.tag) && c.push(d);
1920
1908
  }
1921
1909
  }
1922
1910
  for (const d of c) {
@@ -1924,49 +1912,49 @@ async function $l(l, n = {}) {
1924
1912
  d.$el = t.createElement(d.tag.tag), p(d), r[f] = r[f] || t.createDocumentFragment(), r[f].appendChild(d.$el);
1925
1913
  }
1926
1914
  for (const d of i)
1927
- await l.hooks.callHook("dom:renderTag", d, t, m);
1928
- r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), l._dom = s, l.dirty = !1, await l.hooks.callHook("dom:rendered", { renders: i });
1915
+ await n.hooks.callHook("dom:renderTag", d, t, m);
1916
+ r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
1929
1917
  }
1930
- async function Cl(l, n = {}) {
1931
- const t = n.delayFn || ((e) => setTimeout(e, 10));
1932
- return l._domUpdatePromise = l._domUpdatePromise || new Promise((e) => t(async () => {
1933
- await $l(l, n), delete l._domUpdatePromise, e();
1918
+ async function Tn(n, l = {}) {
1919
+ const t = l.delayFn || ((e) => setTimeout(e, 10));
1920
+ return n._domUpdatePromise = n._domUpdatePromise || new Promise((e) => t(async () => {
1921
+ await Vn(n, l), delete n._domUpdatePromise, e();
1934
1922
  }));
1935
1923
  }
1936
1924
  // @__NO_SIDE_EFFECTS__
1937
- function wl(l) {
1938
- return (n) => {
1939
- const t = n.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1940
- return t && n.push(JSON.parse(t)), {
1925
+ function Cn(n) {
1926
+ return (l) => {
1927
+ const t = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1928
+ return t && l.push(JSON.parse(t)), {
1941
1929
  mode: "client",
1942
1930
  hooks: {
1943
1931
  "entries:updated": function(e) {
1944
- Cl(e, l);
1932
+ Tn(e, n);
1945
1933
  }
1946
1934
  }
1947
1935
  };
1948
1936
  };
1949
1937
  }
1950
- const Pl = ["templateParams", "htmlAttrs", "bodyAttrs"], Al = {
1938
+ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
1951
1939
  hooks: {
1952
- "tag:normalise": function({ tag: l }) {
1940
+ "tag:normalise": function({ tag: n }) {
1953
1941
  ["hid", "vmid", "key"].forEach((e) => {
1954
- l.props[e] && (l.key = l.props[e], delete l.props[e]);
1942
+ n.props[e] && (n.key = n.props[e], delete n.props[e]);
1955
1943
  });
1956
- const t = Dt(l) || (l.key ? `${l.tag}:${l.key}` : !1);
1957
- t && (l._d = t);
1944
+ const t = Pt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
1945
+ t && (n._d = t);
1958
1946
  },
1959
- "tags:resolve": function(l) {
1960
- const n = {};
1961
- l.tags.forEach((e) => {
1962
- const i = (e.key ? `${e.tag}:${e.key}` : e._d) || e._p, s = n[i];
1947
+ "tags:resolve": function(n) {
1948
+ const l = {};
1949
+ n.tags.forEach((e) => {
1950
+ const i = (e.key ? `${e.tag}:${e.key}` : e._d) || e._p, s = l[i];
1963
1951
  if (s) {
1964
1952
  let p = e?.tagDuplicateStrategy;
1965
- if (!p && Pl.includes(e.tag) && (p = "merge"), p === "merge") {
1953
+ if (!p && $n.includes(e.tag) && (p = "merge"), p === "merge") {
1966
1954
  const c = s.props;
1967
1955
  ["class", "style"].forEach((r) => {
1968
1956
  c[r] && (e.props[r] ? (r === "style" && !c[r].endsWith(";") && (c[r] += ";"), e.props[r] = `${c[r]} ${e.props[r]}`) : e.props[r] = c[r]);
1969
- }), n[i].props = {
1957
+ }), l[i].props = {
1970
1958
  ...c,
1971
1959
  ...e.props
1972
1960
  };
@@ -1978,141 +1966,141 @@ const Pl = ["templateParams", "htmlAttrs", "bodyAttrs"], Al = {
1978
1966
  return;
1979
1967
  }
1980
1968
  const m = Object.keys(e.props).length + (e.innerHTML ? 1 : 0) + (e.textContent ? 1 : 0);
1981
- if (Pe.includes(e.tag) && m === 0) {
1982
- delete n[i];
1969
+ if (Ae.includes(e.tag) && m === 0) {
1970
+ delete l[i];
1983
1971
  return;
1984
1972
  }
1985
- n[i] = e;
1973
+ l[i] = e;
1986
1974
  });
1987
1975
  const t = [];
1988
- Object.values(n).forEach((e) => {
1976
+ Object.values(l).forEach((e) => {
1989
1977
  const i = e._duped;
1990
1978
  delete e._duped, t.push(e), i && t.push(...i);
1991
- }), l.tags = t, l.tags = l.tags.filter((e) => !(e.tag === "meta" && (e.props.name || e.props.property) && !e.props.content));
1979
+ }), n.tags = t, n.tags = n.tags.filter((e) => !(e.tag === "meta" && (e.props.name || e.props.property) && !e.props.content));
1992
1980
  }
1993
1981
  }
1994
- }, Dl = {
1982
+ }, An = {
1995
1983
  mode: "server",
1996
1984
  hooks: {
1997
- "tags:resolve": function(l) {
1998
- const n = {};
1999
- l.tags.filter((t) => ["titleTemplate", "templateParams", "title"].includes(t.tag) && t._m === "server").forEach((t) => {
2000
- n[t.tag] = t.tag.startsWith("title") ? t.textContent : t.props;
2001
- }), Object.keys(n).length && l.tags.push({
1985
+ "tags:resolve": function(n) {
1986
+ const l = {};
1987
+ n.tags.filter((t) => ["titleTemplate", "templateParams", "title"].includes(t.tag) && t._m === "server").forEach((t) => {
1988
+ l[t.tag] = t.tag.startsWith("title") ? t.textContent : t.props;
1989
+ }), Object.keys(l).length && n.tags.push({
2002
1990
  tag: "script",
2003
- innerHTML: JSON.stringify(n),
1991
+ innerHTML: JSON.stringify(l),
2004
1992
  props: { id: "unhead:payload", type: "application/json" }
2005
1993
  });
2006
1994
  }
2007
1995
  }
2008
- }, Hl = ["script", "link", "bodyAttrs"], Sl = (l) => ({
1996
+ }, Pn = ["script", "link", "bodyAttrs"], Dn = (n) => ({
2009
1997
  hooks: {
2010
- "tags:resolve": function(n) {
2011
- for (const t of n.tags.filter((e) => Hl.includes(e.tag)))
1998
+ "tags:resolve": function(l) {
1999
+ for (const t of l.tags.filter((e) => Pn.includes(e.tag)))
2012
2000
  Object.entries(t.props).forEach(([e, i]) => {
2013
- e.startsWith("on") && typeof i == "function" && (l.ssr && gt.includes(e) ? t.props[e] = `this.dataset.${e}fired = true` : delete t.props[e], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[e] = i);
2014
- }), l.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || ot(t.props.src || t.props.href));
2001
+ e.startsWith("on") && typeof i == "function" && (n.ssr && gt.includes(e) ? t.props[e] = `this.dataset.${e}fired = true` : delete t.props[e], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[e] = i);
2002
+ }), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || ot(t.props.src || t.props.href));
2015
2003
  },
2016
- "dom:renderTag": function({ $el: n, tag: t }) {
2017
- for (const e of Object.keys(n?.dataset || {}).filter((i) => gt.some((s) => `${s}fired` === i))) {
2004
+ "dom:renderTag": function({ $el: l, tag: t }) {
2005
+ for (const e of Object.keys(l?.dataset || {}).filter((i) => gt.some((s) => `${s}fired` === i))) {
2018
2006
  const i = e.replace("fired", "");
2019
- t._eventHandlers?.[i]?.call(n, new Event(i.replace("on", "")));
2007
+ t._eventHandlers?.[i]?.call(l, new Event(i.replace("on", "")));
2020
2008
  }
2021
2009
  }
2022
2010
  }
2023
- }), Il = ["link", "style", "script", "noscript"], Bl = {
2011
+ }), Sn = ["link", "style", "script", "noscript"], Hn = {
2024
2012
  hooks: {
2025
- "tag:normalise": ({ tag: l }) => {
2026
- l.key && Il.includes(l.tag) && (l.props["data-hid"] = l._h = ot(l.key));
2013
+ "tag:normalise": ({ tag: n }) => {
2014
+ n.key && Sn.includes(n.tag) && (n.props["data-hid"] = n._h = ot(n.key));
2027
2015
  }
2028
2016
  }
2029
- }, El = {
2017
+ }, In = {
2030
2018
  hooks: {
2031
- "tags:resolve": (l) => {
2032
- const n = (t) => l.tags.find((e) => e._d === t)?._p;
2033
- for (const { prefix: t, offset: e } of Tl)
2034
- for (const i of l.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
2035
- const s = n(
2019
+ "tags:resolve": (n) => {
2020
+ const l = (t) => n.tags.find((e) => e._d === t)?._p;
2021
+ for (const { prefix: t, offset: e } of _n)
2022
+ for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
2023
+ const s = l(
2036
2024
  i.tagPriority.replace(t, "")
2037
2025
  );
2038
2026
  typeof s < "u" && (i._p = s + e);
2039
2027
  }
2040
- l.tags.sort((t, e) => t._p - e._p).sort((t, e) => Be(t) - Be(e));
2028
+ n.tags.sort((t, e) => t._p - e._p).sort((t, e) => Be(t) - Be(e));
2041
2029
  }
2042
2030
  }
2043
- }, Ml = {
2031
+ }, Bn = {
2044
2032
  meta: "content",
2045
2033
  link: "href",
2046
2034
  htmlAttrs: "lang"
2047
- }, Ll = (l) => ({
2035
+ }, En = (n) => ({
2048
2036
  hooks: {
2049
- "tags:resolve": (n) => {
2050
- const { tags: t } = n, e = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
2051
- delete s.separator, s.pageTitle = Ae(s.pageTitle || e || "", s, m);
2037
+ "tags:resolve": (l) => {
2038
+ const { tags: t } = l, e = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
2039
+ delete s.separator, s.pageTitle = Pe(s.pageTitle || e || "", s, m);
2052
2040
  for (const p of t.filter((c) => c.processTemplateParams !== !1)) {
2053
- const c = Ml[p.tag];
2054
- c && typeof p.props[c] == "string" ? p.props[c] = Ae(p.props[c], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2055
- typeof p[r] == "string" && (p[r] = Ae(p[r], s, m));
2041
+ const c = Bn[p.tag];
2042
+ c && typeof p.props[c] == "string" ? p.props[c] = Pe(p.props[c], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2043
+ typeof p[r] == "string" && (p[r] = Pe(p[r], s, m));
2056
2044
  });
2057
2045
  }
2058
- l._templateParams = s, l._separator = m, n.tags = t.filter((p) => p.tag !== "templateParams");
2046
+ n._templateParams = s, n._separator = m, l.tags = t.filter((p) => p.tag !== "templateParams");
2059
2047
  }
2060
2048
  }
2061
- }), Rl = {
2049
+ }), Mn = {
2062
2050
  hooks: {
2063
- "tags:resolve": (l) => {
2064
- const { tags: n } = l;
2065
- let t = n.findIndex((i) => i.tag === "titleTemplate");
2066
- const e = n.findIndex((i) => i.tag === "title");
2051
+ "tags:resolve": (n) => {
2052
+ const { tags: l } = n;
2053
+ let t = l.findIndex((i) => i.tag === "titleTemplate");
2054
+ const e = l.findIndex((i) => i.tag === "title");
2067
2055
  if (e !== -1 && t !== -1) {
2068
2056
  const i = ht(
2069
- n[t].textContent,
2070
- n[e].textContent
2057
+ l[t].textContent,
2058
+ l[e].textContent
2071
2059
  );
2072
- i !== null ? n[e].textContent = i || n[e].textContent : delete n[e];
2060
+ i !== null ? l[e].textContent = i || l[e].textContent : delete l[e];
2073
2061
  } else if (t !== -1) {
2074
2062
  const i = ht(
2075
- n[t].textContent
2063
+ l[t].textContent
2076
2064
  );
2077
- i !== null && (n[t].textContent = i, n[t].tag = "title", t = -1);
2065
+ i !== null && (l[t].textContent = i, l[t].tag = "title", t = -1);
2078
2066
  }
2079
- t !== -1 && delete n[t], l.tags = n.filter(Boolean);
2067
+ t !== -1 && delete l[t], n.tags = l.filter(Boolean);
2080
2068
  }
2081
2069
  }
2082
- }, Nl = {
2070
+ }, Rn = {
2083
2071
  hooks: {
2084
- "tags:afterResolve": function(l) {
2085
- for (const n of l.tags)
2086
- typeof n.innerHTML == "string" && (n.innerHTML && ["application/ld+json", "application/json"].includes(n.props.type) ? n.innerHTML = n.innerHTML.replace(/</g, "\\u003C") : n.innerHTML = n.innerHTML.replace(new RegExp(`</${n.tag}`, "g"), `<\\/${n.tag}`));
2072
+ "tags:afterResolve": function(n) {
2073
+ for (const l of n.tags)
2074
+ typeof l.innerHTML == "string" && (l.innerHTML && ["application/ld+json", "application/json"].includes(l.props.type) ? l.innerHTML = l.innerHTML.replace(/</g, "\\u003C") : l.innerHTML = l.innerHTML.replace(new RegExp(`</${l.tag}`, "g"), `<\\/${l.tag}`));
2087
2075
  }
2088
2076
  }
2089
2077
  };
2090
2078
  // @__NO_SIDE_EFFECTS__
2091
- function Ul(l = {}) {
2092
- const n = Fl(l);
2093
- return n.use(/* @__PURE__ */ wl()), n;
2079
+ function Nn(n = {}) {
2080
+ const l = Un(n);
2081
+ return l.use(/* @__PURE__ */ Cn()), l;
2094
2082
  }
2095
- function bt(l, n) {
2096
- return !l || l === "server" && n || l === "client" && !n;
2083
+ function bt(n, l) {
2084
+ return !n || n === "server" && l || n === "client" && !l;
2097
2085
  }
2098
- function Fl(l = {}) {
2099
- const n = ml();
2100
- n.addHooks(l.hooks || {}), l.document = l.document || (gl ? document : void 0);
2101
- const t = !l.document, e = () => {
2102
- p.dirty = !0, n.callHook("entries:updated", p);
2086
+ function Un(n = {}) {
2087
+ const l = un();
2088
+ l.addHooks(n.hooks || {}), n.document = n.document || (vn ? document : void 0);
2089
+ const t = !n.document, e = () => {
2090
+ p.dirty = !0, l.callHook("entries:updated", p);
2103
2091
  };
2104
2092
  let i = 0, s = [];
2105
2093
  const m = [], p = {
2106
2094
  plugins: m,
2107
2095
  dirty: !1,
2108
- resolvedOptions: l,
2109
- hooks: n,
2096
+ resolvedOptions: n,
2097
+ hooks: l,
2110
2098
  headEntries() {
2111
2099
  return s;
2112
2100
  },
2113
2101
  use(c) {
2114
2102
  const r = typeof c == "function" ? c(p) : c;
2115
- (!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), bt(r.mode, t) && n.addHooks(r.hooks || {}));
2103
+ (!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), bt(r.mode, t) && l.addHooks(r.hooks || {}));
2116
2104
  },
2117
2105
  push(c, r) {
2118
2106
  delete r?.head;
@@ -2123,7 +2111,7 @@ function Fl(l = {}) {
2123
2111
  };
2124
2112
  return bt(d.mode, t) && (s.push(d), e()), {
2125
2113
  dispose() {
2126
- s = s.filter((f) => f._i !== d._i), n.callHook("entries:updated", p), e();
2114
+ s = s.filter((f) => f._i !== d._i), l.callHook("entries:updated", p), e();
2127
2115
  },
2128
2116
  // a patch is the same as creating a new entry, just a nice DX
2129
2117
  patch(f) {
@@ -2133,65 +2121,65 @@ function Fl(l = {}) {
2133
2121
  },
2134
2122
  async resolveTags() {
2135
2123
  const c = { tags: [], entries: [...s] };
2136
- await n.callHook("entries:resolve", c);
2124
+ await l.callHook("entries:resolve", c);
2137
2125
  for (const r of c.entries) {
2138
2126
  const d = r.resolvedInput || r.input;
2139
2127
  if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
2140
- for (const f of await Vl(r)) {
2128
+ for (const f of await kn(r)) {
2141
2129
  const V = { tag: f, entry: r, resolvedOptions: p.resolvedOptions };
2142
- await n.callHook("tag:normalise", V), c.tags.push(V.tag);
2130
+ await l.callHook("tag:normalise", V), c.tags.push(V.tag);
2143
2131
  }
2144
2132
  }
2145
- return await n.callHook("tags:beforeResolve", c), await n.callHook("tags:resolve", c), await n.callHook("tags:afterResolve", c), c.tags;
2133
+ return await l.callHook("tags:beforeResolve", c), await l.callHook("tags:resolve", c), await l.callHook("tags:afterResolve", c), c.tags;
2146
2134
  },
2147
2135
  ssr: t
2148
2136
  };
2149
2137
  return [
2150
- Al,
2151
- Dl,
2152
- Sl,
2153
- Bl,
2154
- El,
2155
- Ll,
2156
- Rl,
2157
- Nl,
2158
- ...l?.plugins || []
2138
+ wn,
2139
+ An,
2140
+ Dn,
2141
+ Hn,
2142
+ In,
2143
+ En,
2144
+ Mn,
2145
+ Rn,
2146
+ ...n?.plugins || []
2159
2147
  ].forEach((c) => p.use(c)), p.hooks.callHook("init", p), p;
2160
2148
  }
2161
- const Ol = lo.startsWith("3");
2162
- function jl(l) {
2163
- return typeof l == "function" ? l() : o(l);
2149
+ const Ln = lo.startsWith("3");
2150
+ function Fn(n) {
2151
+ return typeof n == "function" ? n() : o(n);
2164
2152
  }
2165
- function et(l, n = "") {
2166
- if (l instanceof Promise)
2167
- return l;
2168
- const t = jl(l);
2169
- return !l || !t ? t : Array.isArray(t) ? t.map((e) => et(e, n)) : typeof t == "object" ? Object.fromEntries(
2153
+ function et(n, l = "") {
2154
+ if (n instanceof Promise)
2155
+ return n;
2156
+ const t = Fn(n);
2157
+ return !n || !t ? t : Array.isArray(t) ? t.map((e) => et(e, l)) : typeof t == "object" ? Object.fromEntries(
2170
2158
  Object.entries(t).map(([e, i]) => e === "titleTemplate" || e.startsWith("on") ? [e, o(i)] : [e, et(i, e)])
2171
2159
  ) : t;
2172
2160
  }
2173
- const Gl = {
2161
+ const On = {
2174
2162
  hooks: {
2175
- "entries:resolve": function(l) {
2176
- for (const n of l.entries)
2177
- n.resolvedInput = et(n.input);
2163
+ "entries:resolve": function(n) {
2164
+ for (const l of n.entries)
2165
+ l.resolvedInput = et(l.input);
2178
2166
  }
2179
2167
  }
2180
- }, ql = "usehead";
2181
- function Wl(l) {
2168
+ }, jn = "usehead";
2169
+ function Gn(n) {
2182
2170
  return {
2183
2171
  install(t) {
2184
- Ol && (t.config.globalProperties.$unhead = l, t.config.globalProperties.$head = l, t.provide(ql, l));
2172
+ Ln && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(jn, n));
2185
2173
  }
2186
2174
  }.install;
2187
2175
  }
2188
- function Kl(l = {}) {
2189
- l.domDelayFn = l.domDelayFn || ((t) => no(() => setTimeout(() => t(), 0)));
2190
- const n = /* @__PURE__ */ Ul(l);
2191
- return n.use(Gl), n.install = Wl(n), n;
2176
+ function qn(n = {}) {
2177
+ n.domDelayFn = n.domDelayFn || ((t) => oo(() => setTimeout(() => t(), 0)));
2178
+ const l = /* @__PURE__ */ Nn(n);
2179
+ return l.use(On), l.install = Gn(l), l;
2192
2180
  }
2193
- const xl = so(), zl = Kl(), Jl = co();
2194
- class Yl extends HTMLElement {
2181
+ const Wn = io(), Kn = qn(), xn = ro();
2182
+ class zn extends HTMLElement {
2195
2183
  vueApp;
2196
2184
  constructor() {
2197
2185
  super();
@@ -2200,8 +2188,8 @@ class Yl extends HTMLElement {
2200
2188
  this.vueApp.unmount();
2201
2189
  }
2202
2190
  connectedCallback() {
2203
- const n = typeof we == "function" ? we.options : we;
2204
- let t = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
2191
+ const l = typeof we == "function" ? we.options : we;
2192
+ let t = Array.isArray(l.props) ? l.props : Object.keys(l.props || {});
2205
2193
  const e = (c) => c.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (r, d) => (d ? "-" : "") + r.toLowerCase()), i = (c) => c.replace(/-./g, (r) => r[1].toUpperCase()), s = {};
2206
2194
  t = t.map(e);
2207
2195
  const m = {};
@@ -2213,13 +2201,13 @@ class Yl extends HTMLElement {
2213
2201
  let r = this.attributes.getNamedItem(c)?.value;
2214
2202
  m.hasOwnProperty(c) && (r = m[c]), s[c] = r;
2215
2203
  }
2216
- this.vueApp = ao(we, s), this.vueApp.provide("emitter", Jl), this.vueApp.use(zl), this.vueApp.use(xl), this.vueApp.use(wo), this.vueApp.use(ro), this.vueApp.use(yo), this.vueApp.use(vo, { bootstrap: !0 });
2204
+ this.vueApp = no(we, s), ho(this.vueApp), this.vueApp.provide("emitter", xn), this.vueApp.use(Kn), this.vueApp.use(Wn), this.vueApp.use(wo), this.vueApp.use(so), this.vueApp.use(yo), this.vueApp.use(vo, { bootstrap: !0 });
2217
2205
  const p = document.createElement("div");
2218
2206
  this.vueApp.mount(p), this.appendChild(p.children[0]);
2219
2207
  }
2220
2208
  }
2221
- window.customElements.define("konnectio-hotel", Yl);
2209
+ window.customElements.define("konnectio-hotel", zn);
2222
2210
  export {
2223
- Yl as default
2211
+ zn as default
2224
2212
  };
2225
2213
  //# sourceMappingURL=hotel.js.map