@konnectio/core 4.0.70 → 4.0.71

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