@konnectio/core 4.7.4 → 4.7.5

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 (111) hide show
  1. package/dist/{ActionField-B1aBJVRb.js → ActionField-BSR_1wKe.js} +42 -42
  2. package/dist/ActionField-BSR_1wKe.js.br +0 -0
  3. package/dist/ActionField-BSR_1wKe.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-B1hwKbSA.js → AvailabilitySkeleton-DahKJsT-.js} +1660 -1660
  5. package/dist/AvailabilitySkeleton-DahKJsT-.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-DahKJsT-.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BD2PXPt7.js → CheckoutWindow-DWwmz8yv.js} +152 -152
  8. package/dist/CheckoutWindow-DWwmz8yv.js.br +0 -0
  9. package/dist/CheckoutWindow-DWwmz8yv.js.gz +0 -0
  10. package/dist/{ErrorMessage-DiRVby8f.js → ErrorMessage-CiXnpywW.js} +13 -13
  11. package/dist/ErrorMessage-CiXnpywW.js.br +0 -0
  12. package/dist/ErrorMessage-CiXnpywW.js.gz +0 -0
  13. package/dist/EventAvailabilityForm-CkhgG14V.js +114 -0
  14. package/dist/EventAvailabilityForm-CkhgG14V.js.br +0 -0
  15. package/dist/EventAvailabilityForm-CkhgG14V.js.gz +0 -0
  16. package/dist/{Field-BYZdtara.js → Field-BX_mv8fo.js} +7 -7
  17. package/dist/Field-BX_mv8fo.js.br +0 -0
  18. package/dist/Field-BX_mv8fo.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-B0apZ6dV.js +323 -0
  20. package/dist/HotelAvailabilityForm-B0apZ6dV.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-B0apZ6dV.js.gz +0 -0
  22. package/dist/{SelectField-m_n1cMe0.js → SelectField-O_sbbnII.js} +2615 -2578
  23. package/dist/SelectField-O_sbbnII.js.br +0 -0
  24. package/dist/SelectField-O_sbbnII.js.gz +0 -0
  25. package/dist/TermsOfService-CRw50Ij5.js +17 -0
  26. package/dist/TermsOfService-CRw50Ij5.js.br +0 -0
  27. package/dist/TermsOfService-CRw50Ij5.js.gz +4 -0
  28. package/dist/_-CQSZKAkn.js +25 -0
  29. package/dist/_-CQSZKAkn.js.br +0 -0
  30. package/dist/_-CQSZKAkn.js.gz +5 -0
  31. package/dist/availability.js +39 -39
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +71 -71
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/deep-link.js +17 -17
  41. package/dist/deep-link.js.br +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/{dist-8cx1vxIY.js → dist-DG27dLYP.js} +17 -17
  44. package/dist/dist-DG27dLYP.js.br +0 -0
  45. package/dist/dist-DG27dLYP.js.gz +0 -0
  46. package/dist/event.js +390 -390
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +51 -51
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +168 -168
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-4w50jcS_.js → giftCard-vF4EBRX1.js} +17 -17
  56. package/dist/giftCard-vF4EBRX1.js.br +0 -0
  57. package/dist/giftCard-vF4EBRX1.js.gz +0 -0
  58. package/dist/hotel.js +1479 -1479
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/{mitt-DosBWi_E.js → i18n-DwFTw_rF.js} +1 -24
  62. package/dist/i18n-DwFTw_rF.js.br +0 -0
  63. package/dist/{mitt-DosBWi_E.js.gz → i18n-DwFTw_rF.js.gz} +0 -0
  64. package/dist/{masonry.plugin-DG-fnTtd.js → masonry.plugin-Cu4yg4ry.js} +34 -8
  65. package/dist/masonry.plugin-Cu4yg4ry.js.br +0 -0
  66. package/dist/masonry.plugin-Cu4yg4ry.js.gz +0 -0
  67. package/dist/polyfill.js +1 -1
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{style-BzTt5D-A.js → style-TnRMV-Vf.js} +389 -389
  71. package/dist/style-TnRMV-Vf.js.br +0 -0
  72. package/dist/style-TnRMV-Vf.js.gz +0 -0
  73. package/dist-wix/availability.js +22 -22
  74. package/dist-wix/event.js +5 -5
  75. package/dist-wix/gift-card-validation.js +11 -11
  76. package/dist-wix/gift-card.js +24 -24
  77. package/dist-wix/hotel.js +6 -6
  78. package/package.json +1 -2
  79. package/dist/ActionField-B1aBJVRb.js.br +0 -0
  80. package/dist/ActionField-B1aBJVRb.js.gz +0 -0
  81. package/dist/AvailabilitySkeleton-B1hwKbSA.js.br +0 -0
  82. package/dist/AvailabilitySkeleton-B1hwKbSA.js.gz +0 -0
  83. package/dist/CheckoutWindow-BD2PXPt7.js.br +0 -0
  84. package/dist/CheckoutWindow-BD2PXPt7.js.gz +0 -0
  85. package/dist/ErrorMessage-DiRVby8f.js.br +0 -0
  86. package/dist/ErrorMessage-DiRVby8f.js.gz +0 -0
  87. package/dist/EventAvailabilityForm-DW6_GZv3.js +0 -114
  88. package/dist/EventAvailabilityForm-DW6_GZv3.js.br +0 -0
  89. package/dist/EventAvailabilityForm-DW6_GZv3.js.gz +0 -0
  90. package/dist/Field-BYZdtara.js.br +0 -0
  91. package/dist/Field-BYZdtara.js.gz +0 -0
  92. package/dist/HotelAvailabilityForm-B7yHDXz3.js +0 -323
  93. package/dist/HotelAvailabilityForm-B7yHDXz3.js.br +0 -0
  94. package/dist/HotelAvailabilityForm-B7yHDXz3.js.gz +0 -0
  95. package/dist/SelectField-m_n1cMe0.js.br +0 -0
  96. package/dist/SelectField-m_n1cMe0.js.gz +0 -0
  97. package/dist/TermsOfService-CXblPhj1.js +0 -17
  98. package/dist/TermsOfService-CXblPhj1.js.br +0 -0
  99. package/dist/TermsOfService-CXblPhj1.js.gz +0 -0
  100. package/dist/_-CTagk-cE.js +0 -25
  101. package/dist/_-CTagk-cE.js.br +0 -0
  102. package/dist/_-CTagk-cE.js.gz +0 -3
  103. package/dist/dist-8cx1vxIY.js.br +0 -0
  104. package/dist/dist-8cx1vxIY.js.gz +0 -0
  105. package/dist/giftCard-4w50jcS_.js.br +0 -0
  106. package/dist/giftCard-4w50jcS_.js.gz +0 -0
  107. package/dist/masonry.plugin-DG-fnTtd.js.br +0 -0
  108. package/dist/masonry.plugin-DG-fnTtd.js.gz +0 -0
  109. package/dist/mitt-DosBWi_E.js.br +0 -0
  110. package/dist/style-BzTt5D-A.js.br +0 -0
  111. package/dist/style-BzTt5D-A.js.gz +0 -0
package/dist/event.js CHANGED
@@ -1,20 +1,20 @@
1
- import { $ as e, A as t, At as n, D as r, Dt as i, E as a, Et as o, M as s, O as c, P as l, S as u, T as d, Y as f, bt as p, c as m, dt as h, et as g, gt as _, j as v, k as y, o as b, q as x, r as S, s as C, st as w, t as T, u as E, x as D, y as O } from "./mitt-DosBWi_E.js";
2
- import { t as k } from "./dist-8cx1vxIY.js";
3
- import { B as ee, C as A, D as te, E as j, F as ne, G as M, H as N, J as P, K as F, L as I, M as L, Q as R, S as z, U as B, X as V, Y as H, b as U, ft as re, n as W, r as G, rt as ie, v as K, w as q, x as J, z as ae } from "./SelectField-m_n1cMe0.js";
4
- import { t as oe } from "./_-CTagk-cE.js";
5
- import { a as se, c as ce, d as le, f as ue, i as de, l as fe, n as pe, o as me, r as he, s as Y, u as ge } from "./AvailabilitySkeleton-B1hwKbSA.js";
6
- import { t as _e } from "./EventAvailabilityForm-DW6_GZv3.js";
7
- import { t as ve } from "./style-BzTt5D-A.js";
8
- import { a as ye, c as be, d as xe, l as Se, n as Ce, o as X, r as we, s as Z, t as Te, u as Ee } from "./masonry.plugin-DG-fnTtd.js";
9
- import { i as De, r as Oe, t as ke } from "./CheckoutWindow-BD2PXPt7.js";
1
+ import { $ as e, A as t, D as n, E as r, Et as i, J as a, K as o, N as s, O as c, Q as l, T as u, Tt as d, a as f, b as p, ht as m, j as h, k as g, kt as _, l as v, n as y, o as b, ot as x, s as S, ut as C, v as w, w as T, x as E, yt as D } from "./i18n-DwFTw_rF.js";
2
+ import { t as O } from "./dist-DG27dLYP.js";
3
+ import { $ as k, B as A, C as j, D as ee, E as M, I as N, K as P, N as F, R as I, S as L, U as te, V as R, W as ne, X as z, Y as B, Z as V, b as re, it as H, mt as ie, n as U, q as W, r as G, v as K, w as q, x as J } from "./SelectField-O_sbbnII.js";
4
+ import { t as ae } from "./_-CQSZKAkn.js";
5
+ import { a as oe, c as se, d as ce, f as le, i as ue, l as de, n as fe, o as pe, r as me, s as he, u as Y } from "./AvailabilitySkeleton-DahKJsT-.js";
6
+ import { t as ge } from "./EventAvailabilityForm-CkhgG14V.js";
7
+ import { t as _e } from "./style-TnRMV-Vf.js";
8
+ import { a as ve, c as ye, d as be, l as xe, n as Se, o as Ce, r as we, s as X, t as Z, u as Te } from "./masonry.plugin-Cu4yg4ry.js";
9
+ import { i as Ee, r as De, t as Oe } from "./CheckoutWindow-DWwmz8yv.js";
10
10
  //#region node_modules/date-fns/formatDistanceStrict.js
11
- function Ae(e, t, n) {
12
- let r = ce(), i = n?.locale ?? r.locale ?? he, a = se(e, t);
11
+ function ke(e, t, n) {
12
+ let r = se(), i = n?.locale ?? r.locale ?? me, a = oe(e, t);
13
13
  if (isNaN(a)) throw RangeError("Invalid time value");
14
14
  let o = Object.assign({}, n, {
15
15
  addSuffix: n?.addSuffix,
16
16
  comparison: a
17
- }), [s, c] = me(n?.in, ...a > 0 ? [t, e] : [e, t]), l = de(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / fe, f = (u - (Y(c) - Y(s))) / fe, p = n?.unit, m;
17
+ }), [s, c] = pe(n?.in, ...a > 0 ? [t, e] : [e, t]), l = ue(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / de, f = (u - (he(c) - he(s))) / de, p = n?.unit, m;
18
18
  if (m = p || (d < 1 ? "second" : d < 60 ? "minute" : d < 1440 ? "hour" : f < 43200 ? "day" : f < 525600 ? "month" : "year"), m === "second") {
19
19
  let e = l(u / 1e3);
20
20
  return i.formatDistance("xSeconds", e, o);
@@ -25,19 +25,19 @@ function Ae(e, t, n) {
25
25
  let e = l(d / 60);
26
26
  return i.formatDistance("xHours", e, o);
27
27
  } else if (m === "day") {
28
- let e = l(f / ge);
28
+ let e = l(f / Y);
29
29
  return i.formatDistance("xDays", e, o);
30
30
  } else if (m === "month") {
31
- let e = l(f / le);
31
+ let e = l(f / ce);
32
32
  return e === 12 && p !== "month" ? i.formatDistance("xYears", 1, o) : i.formatDistance("xMonths", e, o);
33
33
  } else {
34
- let e = l(f / ue);
34
+ let e = l(f / le);
35
35
  return i.formatDistance("xYears", e, o);
36
36
  }
37
37
  }
38
38
  //#endregion
39
39
  //#region src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
40
- var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/ z(/* @__PURE__ */ l({
40
+ var Ae = { class: "konnectio-event-listing-action-button" }, je = /*#__PURE__*/ L(/* @__PURE__ */ s({
41
41
  __name: "_",
42
42
  props: {
43
43
  name: {},
@@ -67,69 +67,69 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
67
67
  },
68
68
  callback: {}
69
69
  },
70
- setup(e) {
71
- let { t } = b(), n = e, { display: l } = L(), { hideEventGuestAmount: u } = E(j()), { maxNumberOfPeople: m, numberOfPeople: _, eventId: v, currentEventDate: y, tableGroupId: x } = E(q()), { getTemplateAvailability: S, getEventAvailability: C, isEventListingLoading: w } = q(), { addToCart: T } = te(), D = d(() => n.maxGuests || n.maxOnlineReservationLimit || m.value || Infinity), O = p(0), k = d(() => w(n.listingId)), ee = () => {
72
- if (!n.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
73
- l({
70
+ setup(t) {
71
+ let { t: o } = f(), s = t, { display: c } = F(), { hideEventGuestAmount: l } = v(M()), { maxNumberOfPeople: p, numberOfPeople: m, eventId: g, currentEventDate: _, tableGroupId: y } = v(q()), { getTemplateAvailability: b, getEventAvailability: x, isEventListingLoading: S } = q(), { addToCart: w } = ee(), E = T(() => s.maxGuests || s.maxOnlineReservationLimit || p.value || Infinity), O = D(0), A = T(() => S(s.listingId)), j = () => {
72
+ if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
73
+ c({
74
74
  type: "error",
75
- message: t("alert.error.selectPeople")
75
+ message: o("alert.error.selectPeople")
76
76
  });
77
77
  return;
78
78
  }
79
- n.trackingEnabled && T({
80
- id: n.listingId,
81
- name: n.name,
82
- value: n.fromPrice || 0
83
- }), v.value = n.listingId, _.value = n.useNumberOfProductsForPersons ? NaN : O.value, S(n.callback);
84
- }, A = () => {
85
- if (!n.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
86
- l({
79
+ s.trackingEnabled && w({
80
+ id: s.listingId,
81
+ name: s.name,
82
+ value: s.fromPrice || 0
83
+ }), g.value = s.listingId, m.value = s.useNumberOfProductsForPersons ? NaN : O.value, b(s.callback);
84
+ }, N = () => {
85
+ if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
86
+ c({
87
87
  type: "error",
88
- message: t("alert.error.selectPeople")
88
+ message: o("alert.error.selectPeople")
89
89
  });
90
90
  return;
91
91
  }
92
- n.trackingEnabled && T({
93
- id: n.listingId,
94
- name: n.name,
95
- value: n.fromPrice || 0
96
- }), v.value = n.listingId, x.value = n.tableGroupId, _.value = n.useNumberOfProductsForPersons ? NaN : O.value, C(n.callback);
92
+ s.trackingEnabled && w({
93
+ id: s.listingId,
94
+ name: s.name,
95
+ value: s.fromPrice || 0
96
+ }), g.value = s.listingId, y.value = s.tableGroupId, m.value = s.useNumberOfProductsForPersons ? NaN : O.value, x(s.callback);
97
97
  };
98
- return (n, l) => (f(), r(Ee, {
98
+ return (s, c) => (a(), r(Te, {
99
99
  type: "event",
100
- "listing-id": e.listingId,
101
- gallery: e.gallery,
102
- name: e.name,
103
- description: e.description,
104
- "prices-from": e.fromPrice,
105
- "to-date": e.toDate,
106
- layout: o(R).Event,
107
- "disable-deep-link": e.disableDeepLink
100
+ "listing-id": t.listingId,
101
+ gallery: t.gallery,
102
+ name: t.name,
103
+ description: t.description,
104
+ "prices-from": t.fromPrice,
105
+ "to-date": t.toDate,
106
+ layout: d(k).Event,
107
+ "disable-deep-link": t.disableDeepLink
108
108
  }, {
109
- description: h(() => [g(n.$slots, "description", { maxNumberOfPeople: o(m) }, void 0, !0)]),
110
- action: h(() => [g(n.$slots, "action", {}, () => [a("div", { class: i(["konnectio-event-listing-action", { "no-selectable-people": e.useNumberOfProductsForPersons }]) }, [e.useNumberOfProductsForPersons ? c("", !0) : (f(), r(G, {
109
+ description: C(() => [e(s.$slots, "description", { maxNumberOfPeople: d(p) }, void 0, !0)]),
110
+ action: C(() => [e(s.$slots, "action", {}, () => [u("div", { class: i(["konnectio-event-listing-action", { "no-selectable-people": t.useNumberOfProductsForPersons }]) }, [t.useNumberOfProductsForPersons ? n("", !0) : (a(), r(G, {
111
111
  key: 0,
112
112
  modelValue: O.value,
113
- "onUpdate:modelValue": l[0] ||= (e) => O.value = e,
114
- label: o(t)("event.numberOfGuests"),
113
+ "onUpdate:modelValue": c[0] ||= (e) => O.value = e,
114
+ label: d(o)("event.numberOfGuests"),
115
115
  icon: "users",
116
116
  "icon-type": "fas",
117
117
  "icon-placement": "label",
118
- description: D.value <= 20 && !o(u) ? `${o(t)("general.availableFor")}: 1 - ${D.value} ${o(B)(o(t)("general.guests"))}` : void 0,
118
+ description: E.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${E.value} ${d(ne)(d(o)("general.guests"))}` : void 0,
119
119
  "min-value": 0,
120
- "max-value": D.value
120
+ "max-value": E.value
121
121
  }, null, 8, [
122
122
  "modelValue",
123
123
  "label",
124
124
  "description",
125
125
  "max-value"
126
- ])), a("div", je, [s(K, {
127
- label: e.soldOut ? o(t)("event.soldOut") : o(t)("event.bookNowButton"),
128
- disabled: e.soldOut,
129
- "is-loading": k.value,
126
+ ])), u("div", Ae, [h(K, {
127
+ label: t.soldOut ? d(o)("event.soldOut") : d(o)("event.bookNowButton"),
128
+ disabled: t.soldOut,
129
+ "is-loading": A.value,
130
130
  "full-width": "",
131
- "sub-label": o(M)(o(y)),
132
- onClickEvent: l[1] ||= (t) => e.type === "event" ? A() : ee()
131
+ "sub-label": d(P)(d(_)),
132
+ onClickEvent: c[1] ||= (e) => t.type === "event" ? N() : j()
133
133
  }, null, 8, [
134
134
  "label",
135
135
  "disabled",
@@ -148,13 +148,13 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
148
148
  "disable-deep-link"
149
149
  ]));
150
150
  }
151
- }), [["__scopeId", "data-v-bfd98c31"]]), Ne = { class: "konnectio-event-listing-information-new" }, Pe = {
151
+ }), [["__scopeId", "data-v-bfd98c31"]]), Me = { class: "konnectio-event-listing-information-new" }, Ne = {
152
152
  key: 1,
153
153
  class: "konnectio-pill-button"
154
- }, Fe = {
154
+ }, Pe = {
155
155
  key: 2,
156
156
  class: "konnectio-pill-button"
157
- }, Ie = { key: 0 }, Le = { key: 1 }, Q = /*#__PURE__*/ z(/* @__PURE__ */ l({
157
+ }, Fe = { key: 0 }, Ie = { key: 1 }, Q = /*#__PURE__*/ L(/* @__PURE__ */ s({
158
158
  __name: "Event",
159
159
  props: {
160
160
  name: {},
@@ -176,42 +176,42 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
176
176
  trackingEnabled: { type: Boolean },
177
177
  callback: {}
178
178
  },
179
- setup(e) {
180
- let t = e, { t: i } = b(), { hideEventLength: l, hideEventEndTime: u } = E(j()), p = d(() => {
181
- if (!t.length) return;
182
- let e = t.length.split(":");
183
- return Ae(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
179
+ setup(t) {
180
+ let i = t, { t: o } = f(), { hideEventLength: s, hideEventEndTime: l } = v(M()), p = T(() => {
181
+ if (!i.length) return;
182
+ let e = i.length.split(":");
183
+ return ke(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
184
184
  });
185
- return (t, d) => (f(), r(Me, {
186
- "listing-id": e.listingId,
187
- name: e.name,
188
- description: e.description,
189
- gallery: e.gallery,
190
- "prices-from": e.fromPrice,
191
- "table-group-id": e.tableGroupId,
192
- "max-guests": e.maxOnlineReservationLimit,
193
- "use-number-of-products-for-persons": e.useNumberOfProductsForPersons,
194
- "to-date": e.toDate,
195
- "sold-out": e.soldOut,
185
+ return (i, f) => (a(), r(je, {
186
+ "listing-id": t.listingId,
187
+ name: t.name,
188
+ description: t.description,
189
+ gallery: t.gallery,
190
+ "prices-from": t.fromPrice,
191
+ "table-group-id": t.tableGroupId,
192
+ "max-guests": t.maxOnlineReservationLimit,
193
+ "use-number-of-products-for-persons": t.useNumberOfProductsForPersons,
194
+ "to-date": t.toDate,
195
+ "sold-out": t.soldOut,
196
196
  type: "event",
197
- "tracking-enabled": e.trackingEnabled,
198
- callback: e.callback
197
+ "tracking-enabled": t.trackingEnabled,
198
+ callback: t.callback
199
199
  }, {
200
- description: h(() => [e.description ? (f(), r(xe, {
200
+ description: C(() => [t.description ? (a(), r(be, {
201
201
  key: 0,
202
- text: e.description
203
- }, null, 8, ["text"])) : c("", !0), a("ul", Ne, [
204
- c("", !0),
205
- !o(l) && p.value ? (f(), y("li", Pe, [a("div", null, [s(J, {
202
+ text: t.description
203
+ }, null, 8, ["text"])) : n("", !0), u("ul", Me, [
204
+ n("", !0),
205
+ !d(s) && p.value ? (a(), c("li", Ne, [u("div", null, [h(J, {
206
206
  icon: "calendar-clock",
207
207
  color: "header"
208
- }), a("span", null, n(o(i)("event.lengthOfEvent")), 1)]), a("span", null, n(p.value), 1)])) : c("", !0),
209
- e.timeFrom ? (f(), y("li", Fe, [a("div", null, [s(J, {
208
+ }), u("span", null, _(d(o)("event.lengthOfEvent")), 1)]), u("span", null, _(p.value), 1)])) : n("", !0),
209
+ t.timeFrom ? (a(), c("li", Pe, [u("div", null, [h(J, {
210
210
  icon: "calendar-clock",
211
211
  color: "header"
212
- }), a("span", null, n(o(i)("event.startAndEndTime")), 1)]), o(u) ? (f(), y("span", Le, n(o(H)(e.timeFrom)), 1)) : (f(), y("span", Ie, n(o(V)(e.timeFrom, e.timeTo)), 1))])) : c("", !0)
212
+ }), u("span", null, _(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", Ie, _(d(z)(t.timeFrom)), 1)) : (a(), c("span", Fe, _(d(V)(t.timeFrom, t.timeTo)), 1))])) : n("", !0)
213
213
  ])]),
214
- action: h(() => [g(t.$slots, "action", {}, void 0, !0)]),
214
+ action: C(() => [e(i.$slots, "action", {}, void 0, !0)]),
215
215
  _: 3
216
216
  }, 8, [
217
217
  "listing-id",
@@ -228,10 +228,10 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
228
228
  "callback"
229
229
  ]));
230
230
  }
231
- }), [["__scopeId", "data-v-2ecac268"]]), Re = {
231
+ }), [["__scopeId", "data-v-2ecac268"]]), Le = {
232
232
  key: 0,
233
233
  class: "konnectio-event-grouped-listings-container"
234
- }, $ = { class: "konnectio-event-grouped-listings" }, ze = /*#__PURE__*/ z(/* @__PURE__ */ l({
234
+ }, Re = { class: "konnectio-event-grouped-listings" }, ze = /*#__PURE__*/ L(/* @__PURE__ */ s({
235
235
  __name: "Event",
236
236
  props: {
237
237
  name: {},
@@ -239,24 +239,24 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
239
239
  trackingEnabled: { type: Boolean },
240
240
  callback: { type: Function }
241
241
  },
242
- setup(t) {
243
- return (n, i) => t.events && t.events.length > 1 ? (f(), y("div", Re, [c("", !0), a("ul", $, [(f(!0), y(D, null, e(t.events, ({ id: e, days: n, name: i, timeFrom: a, timeTo: o, tableGroupId: s, description: c, soldOut: l, length: u, images: d, maxOnlineReservationLimit: p, maxPaxPerReservation: m, useNumberOfProductsForPersons: h, maxTicketsLimit: g }) => (f(), r(Q, {
244
- key: e,
242
+ setup(e) {
243
+ return (t, i) => e.events && e.events.length > 1 ? (a(), c("div", Le, [n("", !0), u("ul", Re, [(a(!0), c(p, null, l(e.events, ({ id: t, days: n, name: i, timeFrom: o, timeTo: s, tableGroupId: c, description: l, soldOut: u, length: d, images: f, maxOnlineReservationLimit: p, maxPaxPerReservation: m, useNumberOfProductsForPersons: h, maxTicketsLimit: g }) => (a(), r(Q, {
244
+ key: t,
245
245
  type: "event",
246
- "listing-id": e,
247
- "table-group-id": s,
248
- description: c,
246
+ "listing-id": t,
247
+ "table-group-id": c,
248
+ description: l,
249
249
  name: i,
250
- length: u,
251
- gallery: d,
250
+ length: d,
251
+ gallery: f,
252
252
  days: n,
253
253
  "max-online-reservation-limit": m || p || g || void 0,
254
- "time-from": a,
255
- "time-to": o,
256
- "sold-out": l,
254
+ "time-from": o,
255
+ "time-to": s,
256
+ "sold-out": u,
257
257
  "use-number-of-products-for-persons": h,
258
- "tracking-enabled": t.trackingEnabled,
259
- callback: t.callback
258
+ "tracking-enabled": e.trackingEnabled,
259
+ callback: e.callback
260
260
  }, null, 8, [
261
261
  "listing-id",
262
262
  "table-group-id",
@@ -272,25 +272,25 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
272
272
  "use-number-of-products-for-persons",
273
273
  "tracking-enabled",
274
274
  "callback"
275
- ]))), 128))])])) : t.events ? (f(), r(Q, {
276
- key: t.events[0].id,
275
+ ]))), 128))])])) : e.events ? (a(), r(Q, {
276
+ key: e.events[0].id,
277
277
  type: "event",
278
- "listing-id": t.events[0].id,
279
- "table-group-id": t.events[0].tableGroupId,
280
- description: t.events[0].description,
281
- name: t.events[0].name,
282
- length: t.events[0].length,
283
- gallery: t.events[0].images,
284
- days: t.events[0].days,
285
- "from-date": t.events[0].fromDate,
286
- "to-date": t.events[0].toDate,
287
- "max-online-reservation-limit": t.events[0].maxPaxPerReservation || t.events[0].maxOnlineReservationLimit || t.events[0].maxTicketsLimit || void 0,
288
- "time-from": t.events[0].timeFrom,
289
- "time-to": t.events[0].timeTo,
290
- "sold-out": t.events[0].soldOut,
291
- "use-number-of-products-for-persons": t.events[0].useNumberOfProductsForPersons,
292
- "tracking-enabled": t.trackingEnabled,
293
- callback: t.callback
278
+ "listing-id": e.events[0].id,
279
+ "table-group-id": e.events[0].tableGroupId,
280
+ description: e.events[0].description,
281
+ name: e.events[0].name,
282
+ length: e.events[0].length,
283
+ gallery: e.events[0].images,
284
+ days: e.events[0].days,
285
+ "from-date": e.events[0].fromDate,
286
+ "to-date": e.events[0].toDate,
287
+ "max-online-reservation-limit": e.events[0].maxPaxPerReservation || e.events[0].maxOnlineReservationLimit || e.events[0].maxTicketsLimit || void 0,
288
+ "time-from": e.events[0].timeFrom,
289
+ "time-to": e.events[0].timeTo,
290
+ "sold-out": e.events[0].soldOut,
291
+ "use-number-of-products-for-persons": e.events[0].useNumberOfProductsForPersons,
292
+ "tracking-enabled": e.trackingEnabled,
293
+ callback: e.callback
294
294
  }, null, 8, [
295
295
  "listing-id",
296
296
  "table-group-id",
@@ -308,9 +308,9 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
308
308
  "use-number-of-products-for-persons",
309
309
  "tracking-enabled",
310
310
  "callback"
311
- ])) : c("", !0);
311
+ ])) : n("", !0);
312
312
  }
313
- }), [["__scopeId", "data-v-20b8c0bd"]]), Be = { class: "konnectio-special-offer-availability" }, Ve = { class: "konnectio-special-offer-availability-button" }, He = { class: "konnectio-warning-notice" }, Ue = { key: 0 }, We = { key: 1 }, Ge = /*#__PURE__*/ z(/* @__PURE__ */ l({
313
+ }), [["__scopeId", "data-v-20b8c0bd"]]), $ = { class: "konnectio-special-offer-availability" }, Be = { class: "konnectio-special-offer-availability-button" }, Ve = { class: "konnectio-warning-notice" }, He = { key: 0 }, Ue = { key: 1 }, We = /*#__PURE__*/ L(/* @__PURE__ */ s({
314
314
  __name: "NextEvent",
315
315
  props: {
316
316
  name: {},
@@ -332,14 +332,14 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
332
332
  callback: { type: Function }
333
333
  },
334
334
  setup(e) {
335
- let { t } = b(), { updateEventDate: i } = A(), { display: c } = L(), l = p(), u = e;
335
+ let { t: n } = f(), { updateEventDate: i } = j(), { display: s } = F(), l = D(), p = e;
336
336
  function m() {
337
- l.value ? i(l.value) : c({
338
- message: t("alert.error.selectDate"),
337
+ l.value ? i(l.value) : s({
338
+ message: n("alert.error.selectDate"),
339
339
  type: "error"
340
340
  });
341
341
  }
342
- let g = d(() => I(u.fromDate, u.toDate) <= 1), _ = d(() => [
342
+ let g = T(() => I(p.fromDate, p.toDate) <= 1), v = T(() => [
343
343
  0,
344
344
  1,
345
345
  2,
@@ -347,10 +347,10 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
347
347
  4,
348
348
  5,
349
349
  6
350
- ].filter((e) => !ae(u.days).includes(e)));
351
- return x(() => {
352
- g.value && (l.value = new Date(u.fromDate));
353
- }), (i, c) => (f(), r(Q, {
350
+ ].filter((e) => !A(p.days).includes(e)));
351
+ return o(() => {
352
+ g.value && (l.value = new Date(p.fromDate));
353
+ }), (i, o) => (a(), r(Q, {
354
354
  name: e.name,
355
355
  description: e.description,
356
356
  "from-date": e.fromDate,
@@ -370,18 +370,18 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
370
370
  callback: e.callback,
371
371
  "disable-deep-link": !0
372
372
  }, {
373
- action: h(() => [a("div", null, [a("div", Be, [s(pe, {
373
+ action: C(() => [u("div", null, [u("div", $, [h(fe, {
374
374
  modelValue: l.value,
375
- "onUpdate:modelValue": c[0] ||= (e) => l.value = e,
376
- label: `${o(t)("event.selectDate")}*`,
377
- placeholder: o(t)("event.selectDate"),
375
+ "onUpdate:modelValue": o[0] ||= (e) => l.value = e,
376
+ label: `${d(n)("event.selectDate")}*`,
377
+ placeholder: d(n)("event.selectDate"),
378
378
  "icon-type": "fas",
379
379
  "icon-placement": "label",
380
380
  readonly: g.value,
381
381
  "start-date": e.fromDate === "0001-01-01T00:00:00Z" ? new Date(e.toDate) : new Date(e.fromDate),
382
382
  "min-date": e.fromDate === "0001-01-01T00:00:00Z" ? new Date(e.toDate) : new Date(e.fromDate),
383
383
  "max-date": new Date(e.toDate),
384
- "disabled-week-days": _.value
384
+ "disabled-week-days": v.value
385
385
  }, null, 8, [
386
386
  "modelValue",
387
387
  "label",
@@ -391,10 +391,10 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
391
391
  "min-date",
392
392
  "max-date",
393
393
  "disabled-week-days"
394
- ]), a("div", Ve, [s(K, {
395
- label: o(t)("availability.buttonLabel"),
396
- onClick: O(m, ["prevent"])
397
- }, null, 8, ["label"])])]), a("div", He, [g.value ? (f(), y("span", Ue, [v("*" + n(o(t)("event.canBeBooked")) + " ", 1), a("u", null, n(o(M)(e.fromDate)), 1)])) : (f(), y("span", We, [v("*" + n(o(t)("event.canBeBooked")) + " ", 1), a("u", null, n(o(F)(e.days)), 1)]))])])]),
394
+ ]), u("div", Be, [h(K, {
395
+ label: d(n)("availability.buttonLabel"),
396
+ onClick: w(m, ["prevent"])
397
+ }, null, 8, ["label"])])]), u("div", Ve, [g.value ? (a(), c("span", He, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(P)(e.fromDate)), 1)])) : (a(), c("span", Ue, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(W)(e.days)), 1)]))])])]),
398
398
  _: 1
399
399
  }, 8, [
400
400
  "name",
@@ -416,10 +416,10 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
416
416
  "callback"
417
417
  ]));
418
418
  }
419
- }), [["__scopeId", "data-v-91ea584c"]]), Ke = {
419
+ }), [["__scopeId", "data-v-91ea584c"]]), Ge = {
420
420
  key: 0,
421
421
  class: "konnectio-event-grouped-listings-container"
422
- }, qe = { class: "konnectio-event-grouped-listings" }, Je = /*#__PURE__*/ z(/* @__PURE__ */ l({
422
+ }, Ke = { class: "konnectio-event-grouped-listings" }, qe = /*#__PURE__*/ L(/* @__PURE__ */ s({
423
423
  __name: "NextEvent",
424
424
  props: {
425
425
  name: {},
@@ -427,26 +427,26 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
427
427
  trackingEnabled: { type: Boolean },
428
428
  callback: { type: Function }
429
429
  },
430
- setup(t) {
431
- return (n, i) => t.events && t.events.length > 1 ? (f(), y("div", Ke, [c("", !0), a("ul", qe, [(f(!0), y(D, null, e(t.events, ({ id: e, days: n, name: i, timeFrom: a, timeTo: o, fromDate: s, toDate: c, tableGroupId: l, description: u, soldOut: d, length: p, images: m, maxOnlineReservationLimit: h, maxPaxPerReservation: g, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (f(), r(Ge, {
432
- key: e,
430
+ setup(e) {
431
+ return (t, i) => e.events && e.events.length > 1 ? (a(), c("div", Ge, [n("", !0), u("ul", Ke, [(a(!0), c(p, null, l(e.events, ({ id: t, days: n, name: i, timeFrom: o, timeTo: s, fromDate: c, toDate: l, tableGroupId: u, description: d, soldOut: f, length: p, images: m, maxOnlineReservationLimit: h, maxPaxPerReservation: g, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (a(), r(We, {
432
+ key: t,
433
433
  type: "event",
434
- "listing-id": e,
435
- "table-group-id": l,
436
- description: u,
434
+ "listing-id": t,
435
+ "table-group-id": u,
436
+ description: d,
437
437
  name: i,
438
438
  length: p,
439
439
  gallery: m,
440
440
  days: n,
441
- "from-date": s,
442
- "to-date": c,
441
+ "from-date": c,
442
+ "to-date": l,
443
443
  "max-online-reservation-limit": g || h || v || void 0,
444
- "time-from": a,
445
- "time-to": o,
446
- "sold-out": d,
444
+ "time-from": o,
445
+ "time-to": s,
446
+ "sold-out": f,
447
447
  "use-number-of-products-for-persons": _,
448
- "tracking-enabled": t.trackingEnabled,
449
- callback: t.callback
448
+ "tracking-enabled": e.trackingEnabled,
449
+ callback: e.callback
450
450
  }, null, 8, [
451
451
  "listing-id",
452
452
  "table-group-id",
@@ -464,25 +464,25 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
464
464
  "use-number-of-products-for-persons",
465
465
  "tracking-enabled",
466
466
  "callback"
467
- ]))), 128))])])) : t.events ? (f(), r(Ge, {
468
- key: t.events[0].id,
467
+ ]))), 128))])])) : e.events ? (a(), r(We, {
468
+ key: e.events[0].id,
469
469
  type: "event",
470
- "listing-id": t.events[0].id,
471
- "table-group-id": t.events[0].tableGroupId,
472
- description: t.events[0].description,
473
- name: t.events[0].name,
474
- length: t.events[0].length,
475
- gallery: t.events[0].images,
476
- days: t.events[0].days,
477
- "from-date": t.events[0].fromDate,
478
- "to-date": t.events[0].toDate,
479
- "max-online-reservation-limit": t.events[0].maxPaxPerReservation || t.events[0].maxOnlineReservationLimit || t.events[0].maxTicketsLimit || void 0,
480
- "time-from": t.events[0].timeFrom,
481
- "time-to": t.events[0].timeTo,
482
- "sold-out": t.events[0].soldOut,
483
- "use-number-of-products-for-persons": t.events[0].useNumberOfProductsForPersons,
484
- "tracking-enabled": t.trackingEnabled,
485
- callback: t.callback
470
+ "listing-id": e.events[0].id,
471
+ "table-group-id": e.events[0].tableGroupId,
472
+ description: e.events[0].description,
473
+ name: e.events[0].name,
474
+ length: e.events[0].length,
475
+ gallery: e.events[0].images,
476
+ days: e.events[0].days,
477
+ "from-date": e.events[0].fromDate,
478
+ "to-date": e.events[0].toDate,
479
+ "max-online-reservation-limit": e.events[0].maxPaxPerReservation || e.events[0].maxOnlineReservationLimit || e.events[0].maxTicketsLimit || void 0,
480
+ "time-from": e.events[0].timeFrom,
481
+ "time-to": e.events[0].timeTo,
482
+ "sold-out": e.events[0].soldOut,
483
+ "use-number-of-products-for-persons": e.events[0].useNumberOfProductsForPersons,
484
+ "tracking-enabled": e.trackingEnabled,
485
+ callback: e.callback
486
486
  }, null, 8, [
487
487
  "listing-id",
488
488
  "table-group-id",
@@ -500,9 +500,9 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
500
500
  "use-number-of-products-for-persons",
501
501
  "tracking-enabled",
502
502
  "callback"
503
- ])) : c("", !0);
503
+ ])) : n("", !0);
504
504
  }
505
- }), [["__scopeId", "data-v-dc867986"]]), Ye = ["innerHTML"], Xe = /*#__PURE__*/ z(/* @__PURE__ */ l({
505
+ }), [["__scopeId", "data-v-dc867986"]]), Je = ["innerHTML"], Ye = /*#__PURE__*/ L(/* @__PURE__ */ s({
506
506
  __name: "FallbackEvent",
507
507
  props: {
508
508
  name: {},
@@ -515,8 +515,8 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
515
515
  callback: { type: Function }
516
516
  },
517
517
  setup(e) {
518
- let { t } = b();
519
- return (n, i) => (f(), r(Q, {
518
+ let { t } = f();
519
+ return (n, i) => (a(), r(Q, {
520
520
  name: e.name,
521
521
  description: e.description,
522
522
  "from-date": e.fromDate,
@@ -527,10 +527,10 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
527
527
  callback: e.callback,
528
528
  "disable-deep-link": !0
529
529
  }, {
530
- action: h(() => [a("div", {
530
+ action: C(() => [u("div", {
531
531
  class: "konnectio-filter-notice konnectio-top-message",
532
- innerHTML: o(t)("event.notAvailable", { name: `<b>${e.name}</b>` })
533
- }, null, 8, Ye)]),
532
+ innerHTML: d(t)("event.notAvailable", { name: `<b>${e.name}</b>` })
533
+ }, null, 8, Je)]),
534
534
  _: 1
535
535
  }, 8, [
536
536
  "name",
@@ -543,7 +543,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
543
543
  "callback"
544
544
  ]));
545
545
  }
546
- }), [["__scopeId", "data-v-af0f6d2a"]]), Ze = /* @__PURE__ */ l({
546
+ }), [["__scopeId", "data-v-af0f6d2a"]]), Xe = /* @__PURE__ */ s({
547
547
  __name: "Template",
548
548
  props: {
549
549
  name: {},
@@ -560,7 +560,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
560
560
  callback: {}
561
561
  },
562
562
  setup(e) {
563
- return (t, n) => (f(), r(Me, {
563
+ return (t, n) => (a(), r(je, {
564
564
  "listing-id": e.listingId,
565
565
  gallery: e.images,
566
566
  name: e.name,
@@ -581,13 +581,13 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
581
581
  "callback"
582
582
  ]));
583
583
  }
584
- }), Qe = {
584
+ }), Ze = {
585
585
  key: 0,
586
586
  class: "konnectio-panel konnectio-reservation-notice-mobile"
587
- }, $e = ["innerHTML"], et = { key: 0 }, tt = { key: 1 }, nt = { key: 2 }, rt = { key: 0 }, it = { key: 4 }, at = { key: 5 }, ot = { key: 6 }, st = { key: 0 }, ct = { key: 0 }, lt = { key: 1 }, ut = {
587
+ }, Qe = ["innerHTML"], $e = { key: 0 }, et = { key: 1 }, tt = { key: 2 }, nt = { key: 0 }, rt = { key: 4 }, it = { key: 5 }, at = { key: 6 }, ot = { key: 0 }, st = { key: 0 }, ct = { key: 1 }, lt = {
588
588
  key: 0,
589
589
  class: "konnectio-capitalize"
590
- }, dt = /*#__PURE__*/ z(/* @__PURE__ */ l({
590
+ }, ut = /*#__PURE__*/ L(/* @__PURE__ */ s({
591
591
  __name: "EventReservationForm",
592
592
  props: {
593
593
  showGiftCard: {
@@ -600,48 +600,48 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
600
600
  },
601
601
  prevCallback: {}
602
602
  },
603
- setup(i) {
604
- let { t: s } = b(), l = w(), { areListingsAvailable: u, arrivalTime: d, numberOfPeople: p, numberOfRooms: m, numberOfTotalDays: v, isTemplateEvent: x, currentEventDate: S, length: C, fromDate: T, tableBasePrice: O, getTemplateData: k, basePrice: ee, totalPrice: A, weekendFee: te, roomUpgrade: ne, discountCode: N, totalSelectedProducts: F, discountValue: I, appliedDiscountCode: L } = E(q()), { totalAddonPrice: R, validateDiscountCode: z } = q(), { currency: B, hideEventLength: V } = E(j()), U = s("event.reservationNotice");
605
- return (b, w) => (f(), r(X, {
606
- "discount-code": o(N),
607
- "onUpdate:discountCode": w[0] ||= (e) => _(N) ? N.value = e : null,
608
- "validate-discount-code": o(z),
609
- "show-gift-card": i.showGiftCard,
610
- "show-terms-notice": i.showTermsNotice,
611
- "is-sidebar-loading": !o(u),
612
- "base-price": o(ee),
613
- "total-price": o(A),
614
- "weekend-fee": o(te),
615
- "room-upgrade": o(ne),
616
- notice: o(U),
617
- "prev-callback": i.prevCallback
618
- }, t({
619
- form: h(() => [g(b.$slots, "form", {}, void 0, !0), o(U) ? (f(), y("div", Qe, [a("p", {
620
- innerHTML: o(U),
603
+ setup(t) {
604
+ let { t: i } = f(), o = x(), { areListingsAvailable: s, arrivalTime: h, numberOfPeople: y, numberOfRooms: b, numberOfTotalDays: S, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: ee, roomUpgrade: N, discountCode: F, totalSelectedProducts: I, discountValue: L, appliedDiscountCode: te } = v(q()), { totalAddonPrice: R, validateDiscountCode: ne } = q(), { currency: V, hideEventLength: re } = v(M()), H = i("event.reservationNotice");
605
+ return (f, v) => (a(), r(Ce, {
606
+ "discount-code": d(F),
607
+ "onUpdate:discountCode": v[0] ||= (e) => m(F) ? F.value = e : null,
608
+ "validate-discount-code": d(ne),
609
+ "show-gift-card": t.showGiftCard,
610
+ "show-terms-notice": t.showTermsNotice,
611
+ "is-sidebar-loading": !d(s),
612
+ "base-price": d(A),
613
+ "total-price": d(j),
614
+ "weekend-fee": d(ee),
615
+ "room-upgrade": d(N),
616
+ notice: d(H),
617
+ "prev-callback": t.prevCallback
618
+ }, g({
619
+ form: C(() => [e(f.$slots, "form", {}, void 0, !0), d(H) ? (a(), c("div", Ze, [u("p", {
620
+ innerHTML: d(H),
621
621
  class: "konnectio-wysiwyg"
622
- }, null, 8, $e)])) : c("", !0)]),
623
- "reservation-summary": h(() => [
624
- o(x) ? c("", !0) : (f(), y("li", et, [a("span", null, n(o(s)("general.date")), 1), a("b", null, n(o(M)(o(S))), 1)])),
625
- o(p) > 0 ? (f(), y("li", tt, [a("span", null, n(o(s)("event.numberOfGuests")), 1), a("b", null, n(o(p)), 1)])) : c("", !0),
626
- !o(x) && o(F) > 0 ? (f(), y("li", nt, [a("span", null, n(o(s)("event.numberOfProducts")), 1), a("b", null, n(o(F)), 1)])) : c("", !0),
627
- o(x) ? (f(), y(D, { key: 3 }, [
628
- a("li", null, [a("span", null, n(o(s)("booking.reservation.arrival")), 1), a("b", null, n(o(M)(o(T))), 1)]),
629
- a("li", null, [a("span", null, n(o(s)("booking.reservation.departure")), 1), a("b", null, n(o(M)(o(T), o(v))), 1)]),
630
- a("li", null, [a("span", null, n(o(s)("event.numberOfRooms")), 1), a("b", null, n(o(m)), 1)]),
631
- o(v) > 0 ? (f(), y("li", rt, [a("span", null, n(o(s)("event.numberOfDays")), 1), a("b", null, n(o(v)), 1)])) : c("", !0)
632
- ], 64)) : c("", !0),
633
- !o(x) && o(d) ? (f(), y("li", it, [a("span", null, n(o(s)("event.startOfEvent")), 1), a("b", null, n(o(H)(o(d))), 1)])) : c("", !0),
634
- !o(x) && o(C) && !o(V) ? (f(), y("li", at, [a("span", null, n(o(s)("event.lengthOfEvent")), 1), a("b", null, n(o(H)(o(C))), 1)])) : c("", !0),
635
- o(I) ? (f(), y("li", ot, [a("span", null, n(o(s)("general.discountCode")), 1), a("b", null, n(o(L)), 1)])) : c("", !0)
622
+ }, null, 8, Qe)])) : n("", !0)]),
623
+ "reservation-summary": C(() => [
624
+ d(w) ? n("", !0) : (a(), c("li", $e, [u("span", null, _(d(i)("general.date")), 1), u("b", null, _(d(P)(d(T))), 1)])),
625
+ d(y) > 0 ? (a(), c("li", et, [u("span", null, _(d(i)("event.numberOfGuests")), 1), u("b", null, _(d(y)), 1)])) : n("", !0),
626
+ !d(w) && d(I) > 0 ? (a(), c("li", tt, [u("span", null, _(d(i)("event.numberOfProducts")), 1), u("b", null, _(d(I)), 1)])) : n("", !0),
627
+ d(w) ? (a(), c(p, { key: 3 }, [
628
+ u("li", null, [u("span", null, _(d(i)("booking.reservation.arrival")), 1), u("b", null, _(d(P)(d(D))), 1)]),
629
+ u("li", null, [u("span", null, _(d(i)("booking.reservation.departure")), 1), u("b", null, _(d(P)(d(D), d(S))), 1)]),
630
+ u("li", null, [u("span", null, _(d(i)("event.numberOfRooms")), 1), u("b", null, _(d(b)), 1)]),
631
+ d(S) > 0 ? (a(), c("li", nt, [u("span", null, _(d(i)("event.numberOfDays")), 1), u("b", null, _(d(S)), 1)])) : n("", !0)
632
+ ], 64)) : n("", !0),
633
+ !d(w) && d(h) ? (a(), c("li", rt, [u("span", null, _(d(i)("event.startOfEvent")), 1), u("b", null, _(d(z)(d(h))), 1)])) : n("", !0),
634
+ !d(w) && d(E) && !d(re) ? (a(), c("li", it, [u("span", null, _(d(i)("event.lengthOfEvent")), 1), u("b", null, _(d(z)(d(E))), 1)])) : n("", !0),
635
+ d(L) ? (a(), c("li", at, [u("span", null, _(d(i)("general.discountCode")), 1), u("b", null, _(d(te)), 1)])) : n("", !0)
636
636
  ]),
637
- "price-summary": h(() => [!o(x) && o(O) > 0 ? (f(), y("li", st, [a("span", null, n(o(s)("booking.availability.basePrice")), 1), a("b", null, n(o(P)(o(O), o(B))), 1)])) : c("", !0), o(k) ? (f(!0), y(D, { key: 1 }, e(o(k), ({ roomGroupId: e }, t) => (f(), y(D, null, [o(R)(e, t) > 0 ? (f(), y("li", { key: e }, [a("span", null, n(o(s)("booking.reservation.addons")) + " - " + n(o(s)("booking.reservation.room")) + " #" + n(t + 1), 1), a("b", null, n(o(P)(o(R)(e, t), o(B))), 1)])) : c("", !0)], 64))), 256)) : c("", !0)]),
638
- navigation: h(() => [g(b.$slots, "navigation", {}, void 0, !0)]),
639
- "mobile-under-price": h(() => [o(x) && o(v) > 0 ? (f(), y("div", ct, [a("span", null, n(o(M)(o(T))) + " - " + n(o(M)(o(T), o(v))), 1)])) : (f(), y("div", lt, [a("span", null, n(o(M)(o(S))), 1)]))]),
640
- "mobile-summary": h(() => [!o(x) && o(F) > 0 ? (f(), y("span", ut, n(o(s)("event.numberOfProducts")) + ": " + n(o(F)), 1)) : c("", !0)]),
637
+ "price-summary": C(() => [!d(w) && d(O) > 0 ? (a(), c("li", ot, [u("span", null, _(d(i)("booking.availability.basePrice")), 1), u("b", null, _(d(B)(d(O), d(V))), 1)])) : n("", !0), d(k) ? (a(!0), c(p, { key: 1 }, l(d(k), ({ roomGroupId: e }, t) => (a(), c(p, null, [d(R)(e, t) > 0 ? (a(), c("li", { key: e }, [u("span", null, _(d(i)("booking.reservation.addons")) + " - " + _(d(i)("booking.reservation.room")) + " #" + _(t + 1), 1), u("b", null, _(d(B)(d(R)(e, t), d(V))), 1)])) : n("", !0)], 64))), 256)) : n("", !0)]),
638
+ navigation: C(() => [e(f.$slots, "navigation", {}, void 0, !0)]),
639
+ "mobile-under-price": C(() => [d(w) && d(S) > 0 ? (a(), c("div", st, [u("span", null, _(d(P)(d(D))) + " - " + _(d(P)(d(D), d(S))), 1)])) : (a(), c("div", ct, [u("span", null, _(d(P)(d(T))), 1)]))]),
640
+ "mobile-summary": C(() => [!d(w) && d(I) > 0 ? (a(), c("span", lt, _(d(i)("event.numberOfProducts")) + ": " + _(d(I)), 1)) : n("", !0)]),
641
641
  _: 2
642
- }, [o(l).sidebar ? {
642
+ }, [d(o).sidebar ? {
643
643
  name: "sidebar",
644
- fn: h(() => [g(b.$slots, "sidebar", {}, void 0, !0)]),
644
+ fn: C(() => [e(f.$slots, "sidebar", {}, void 0, !0)]),
645
645
  key: "0"
646
646
  } : void 0]), 1032, [
647
647
  "discount-code",
@@ -657,27 +657,27 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
657
657
  "prev-callback"
658
658
  ]));
659
659
  }
660
- }), [["__scopeId", "data-v-c1e1c642"]]), ft = { class: "event-skeleton" }, pt = { class: "event-skeleton-content" }, mt = { class: "event-skeleton-sidebar" }, ht = /*#__PURE__*/ z(/* @__PURE__ */ l({
660
+ }), [["__scopeId", "data-v-c1e1c642"]]), dt = { class: "event-skeleton" }, ft = { class: "event-skeleton-content" }, pt = { class: "event-skeleton-sidebar" }, mt = /*#__PURE__*/ L(/* @__PURE__ */ s({
661
661
  __name: "EventSkeleton",
662
662
  setup(e) {
663
- return (e, t) => (f(), y("div", ft, [a("div", pt, [s(we)]), a("div", mt, [c("", !0), s(Z)])]));
663
+ return (e, t) => (a(), c("div", dt, [u("div", ft, [h(we)]), u("div", pt, [n("", !0), h(X)])]));
664
664
  }
665
- }), [["__scopeId", "data-v-af0e7efb"]]), gt = {
665
+ }), [["__scopeId", "data-v-af0e7efb"]]), ht = {
666
666
  key: 0,
667
667
  id: "konnectio-event-listings-wrapper"
668
- }, _t = {
668
+ }, gt = {
669
669
  key: 0,
670
670
  class: "konnectio-event-listings"
671
- }, vt = {
671
+ }, _t = {
672
672
  key: 1,
673
673
  class: "konnectio-hotel-availability-title"
674
- }, yt = { class: "konnectio-event-listings" }, bt = { class: "konnectio-hotel-availability-title" }, xt = { class: "konnectio-event-listings" }, St = ["innerHTML"], Ct = { class: "konnectio-panel" }, wt = {
674
+ }, vt = { class: "konnectio-event-listings" }, yt = { class: "konnectio-hotel-availability-title" }, bt = { class: "konnectio-event-listings" }, xt = ["innerHTML"], St = { class: "konnectio-panel" }, Ct = {
675
675
  key: 0,
676
676
  id: "konnectio-event-addons"
677
- }, Tt = { class: "konnectio-table with-lines" }, Et = { class: "konnectio-event-addons-price" }, Dt = { class: "konnectio-event-addons-input" }, Ot = { class: "konnectio-event-addons-price" }, kt = { class: "konnectio-event-addons-price" }, At = {
677
+ }, wt = { class: "konnectio-table with-lines" }, Tt = { class: "konnectio-event-addons-price" }, Et = { class: "konnectio-event-addons-input" }, Dt = { class: "konnectio-event-addons-price" }, Ot = { class: "konnectio-event-addons-price" }, kt = {
678
678
  key: 1,
679
679
  class: "konnectio-table with-lines without-header"
680
- }, jt = { class: "konnectio-table-addons-information" }, Mt = { key: 0 }, Nt = { class: "konnectio-table-addons-option" }, Pt = { class: "konnectio-panel" }, Ft = /*#__PURE__*/ z(/* @__PURE__ */ l({
680
+ }, At = { class: "konnectio-table-addons-information" }, jt = { key: 0 }, Mt = { class: "konnectio-table-addons-option" }, Nt = { class: "konnectio-panel" }, Pt = /*#__PURE__*/ L(/* @__PURE__ */ s({
681
681
  name: "EventLayout",
682
682
  __name: "Event",
683
683
  props: {
@@ -694,22 +694,22 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
694
694
  excludeEventIds: { default: "" },
695
695
  styling: {}
696
696
  },
697
- setup(t) {
698
- let i = t, { t: l } = b(), p = q(), { addons: m, products: g, numberOfDays: x, flagOnTable: S, numberOfHighChairs: C, name: w, phone: T, email: O, remark: k, allergies: M, arrivalTime: F, hasEvents: I, hasTemplates: R, getTemplates: z, getEventData: B, getTemplateData: V, getEventTableData: ae, hasProducts: se, eventRateType: ce, areListingsAvailable: le, isAvailabilityDataAvailable: ue, hasListingData: de, isPaymentLoading: fe, isReservationFormFilled: pe, requiresArrivalTime: me, hasSelectedRequiredProducts: he, getUnavailableEvents: Y, hasFallbackEvents: ge, getFallbackEvents: ve, excludeEventIds: xe } = E(p), Ce = d(() => p.getSortedEvents(i.sortOrder)), { currency: X, enableTracking: Z } = E(j()), { setActiveIdFilter: Te } = j(), { eventDate: Ee, eventLocation: Ae } = E(A()), { isValidRestaurantId: je } = A(), { initialize: Me, fetchListings: Ne, createBooking: Pe, localAddonPrice: Fe, totalAddonPrice: Ie, reset: Le, goBack: Q } = q(), { beginEventCheckout: Re } = te(), { display: $ } = L(), Be = d(() => [
697
+ setup(e) {
698
+ let i = e, { t: o } = f(), s = q(), { addons: g, products: y, numberOfDays: b, flagOnTable: x, numberOfHighChairs: S, name: w, phone: D, email: O, remark: k, allergies: A, arrivalTime: P, hasEvents: I, hasTemplates: L, getTemplates: ne, getEventData: V, getTemplateData: W, getEventTableData: oe, hasProducts: se, eventRateType: ce, areListingsAvailable: le, isAvailabilityDataAvailable: ue, hasListingData: de, isPaymentLoading: fe, isReservationFormFilled: pe, requiresArrivalTime: me, hasSelectedRequiredProducts: he, getUnavailableEvents: Y, hasFallbackEvents: _e, getFallbackEvents: be, excludeEventIds: Se } = v(s), Ce = T(() => s.getSortedEvents(i.sortOrder)), { currency: X, enableTracking: Z } = v(M()), { setActiveIdFilter: Te } = M(), { eventDate: ke, eventLocation: Ae } = v(j()), { isValidRestaurantId: je } = j(), { initialize: Me, fetchListings: Ne, createBooking: Pe, localAddonPrice: Fe, totalAddonPrice: Ie, reset: Q, goBack: Le } = q(), { beginEventCheckout: Re } = ee(), { display: $ } = F(), Be = T(() => [
699
699
  {
700
700
  id: "availability",
701
- label: l("booking.availability.title"),
701
+ label: o("booking.availability.title"),
702
702
  icon: "search"
703
703
  },
704
704
  {
705
705
  id: "addons",
706
- label: l("general.addons"),
706
+ label: o("general.addons"),
707
707
  icon: "shopping-cart",
708
708
  hidden: !1
709
709
  },
710
710
  {
711
711
  id: "reservation",
712
- label: l("booking.reservation.title"),
712
+ label: o("booking.reservation.title"),
713
713
  icon: "concierge-bell"
714
714
  },
715
715
  {
@@ -718,68 +718,68 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
718
718
  },
719
719
  {
720
720
  id: "confirmation",
721
- label: l("booking.confirmation.title"),
721
+ label: o("booking.confirmation.title"),
722
722
  icon: "calendar-check"
723
723
  }
724
- ]), Ve = d(() => {
724
+ ]), Ve = T(() => {
725
725
  let e = [];
726
- return ae.value && ae.value.forEach((t) => {
726
+ return oe.value && oe.value.forEach((t) => {
727
727
  e.find((e) => e.value === t.time) || e.push({
728
- label: H(t.time),
728
+ label: z(t.time),
729
729
  value: t.time
730
730
  });
731
731
  }), e;
732
732
  });
733
733
  function He() {
734
- Le(i.resetDate === "yes");
734
+ Q(i.resetDate === "yes");
735
735
  }
736
736
  function Ue(e) {
737
737
  Z.value && Re(), Pe(e);
738
738
  }
739
739
  function We() {
740
- let e = re("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
741
- if (n) if (N(n)) {
740
+ let e = ie("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
741
+ if (n) if (te(n)) {
742
742
  let t = new Date(n);
743
- t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? Ee.value = t : ($({
744
- message: l("alert.error.invalidDateRange"),
743
+ t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? ke.value = t : ($({
744
+ message: o("alert.error.invalidDateRange"),
745
745
  type: "error"
746
746
  }), e.d = void 0);
747
747
  } else $({
748
- message: l("alert.error.wrongDateFormat"),
748
+ message: o("alert.error.wrongDateFormat"),
749
749
  type: "error"
750
750
  });
751
751
  isNaN(t) || (je(t) ? Ae.value = t : (e.rid = void 0, $({
752
- message: l("alert.error.hotelIdNotFound"),
752
+ message: o("alert.error.hotelIdNotFound"),
753
753
  type: "error"
754
- }))), isNaN(r) || Te(r), i.excludeEventIds && (xe.value = i.excludeEventIds), Ne();
754
+ }))), isNaN(r) || Te(r), i.excludeEventIds && (Se.value = i.excludeEventIds), Ne();
755
755
  }
756
- return (i, d) => (f(), r(U, { styling: t.styling }, {
757
- default: h(() => [(f(), r(u, { onResolve: We }, {
758
- default: h(() => [s(oe, {
756
+ return (i, s) => (a(), r(re, { styling: e.styling }, {
757
+ default: C(() => [(a(), r(E, { onResolve: We }, {
758
+ default: C(() => [h(ae, {
759
759
  id: "konnectio-event-module",
760
- "access-token": t.accessToken,
761
- callback: o(Me)
760
+ "access-token": e.accessToken,
761
+ callback: d(Me)
762
762
  }, {
763
- default: h(() => [s(be, {
763
+ default: C(() => [h(ye, {
764
764
  steps: Be.value,
765
765
  onReset: He
766
766
  }, {
767
- availability: h(({ next: i }) => [s(dt, null, {
768
- sidebar: h(() => [s(_e, {
767
+ availability: C(({ next: t }) => [h(ut, null, {
768
+ sidebar: C(() => [h(ge, {
769
769
  redirection: !1,
770
- "selected-location": Number(t.selectedLocation),
771
- "hide-locations": t.hideLocations === "yes"
770
+ "selected-location": Number(e.selectedLocation),
771
+ "hide-locations": e.hideLocations === "yes"
772
772
  }, null, 8, ["selected-location", "hide-locations"])]),
773
- form: h(() => [o(de) && o(le) ? (f(), y("div", gt, [
774
- o(ge) ? (f(), y("ul", _t, [(f(!0), y(D, null, e(o(ve), ({ id: e, name: t, description: n, images: a }) => (f(), r(Xe, {
773
+ form: C(() => [d(de) && d(le) ? (a(), c("div", ht, [
774
+ d(_e) ? (a(), c("ul", gt, [(a(!0), c(p, null, l(d(be), ({ id: e, name: n, description: i, images: o }) => (a(), r(Ye, {
775
775
  key: e,
776
776
  type: "event",
777
777
  "listing-id": e,
778
- description: n,
779
- name: t,
780
- gallery: a,
781
- "tracking-enabled": o(Z),
782
- callback: i
778
+ description: i,
779
+ name: n,
780
+ gallery: o,
781
+ "tracking-enabled": d(Z),
782
+ callback: t
783
783
  }, null, 8, [
784
784
  "listing-id",
785
785
  "description",
@@ -787,34 +787,34 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
787
787
  "gallery",
788
788
  "tracking-enabled",
789
789
  "callback"
790
- ]))), 128))])) : c("", !0),
791
- Ce.value.length > 0 && o(Y).length > 0 ? (f(), y("h2", vt, [s(J, {
790
+ ]))), 128))])) : n("", !0),
791
+ Ce.value.length > 0 && d(Y).length > 0 ? (a(), c("h2", _t, [h(J, {
792
792
  icon: "calendar-clock",
793
793
  type: "fal",
794
794
  color: "header"
795
- }), a("span", null, n(o(l)("event.availableNow")), 1)])) : c("", !0),
796
- a("ul", yt, [o(I) && t.onlyShow !== "templates" ? (f(!0), y(D, { key: 0 }, e(Ce.value, (e) => (f(), r(ze, {
795
+ }), u("span", null, _(d(o)("event.availableNow")), 1)])) : n("", !0),
796
+ u("ul", vt, [d(I) && e.onlyShow !== "templates" ? (a(!0), c(p, { key: 0 }, l(Ce.value, (e) => (a(), r(ze, {
797
797
  name: e.name,
798
798
  events: e.events,
799
- "tracking-enabled": o(Z),
800
- callback: i
799
+ "tracking-enabled": d(Z),
800
+ callback: t
801
801
  }, null, 8, [
802
802
  "name",
803
803
  "events",
804
804
  "tracking-enabled",
805
805
  "callback"
806
- ]))), 256)) : c("", !0), o(R) && t.onlyShow !== "events" ? (f(!0), y(D, { key: 1 }, e(o(z), ({ id: e, name: t, fromDate: n, toDate: a, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (f(), r(Ze, {
806
+ ]))), 256)) : n("", !0), d(L) && e.onlyShow !== "events" ? (a(!0), c(p, { key: 1 }, l(d(ne), ({ id: e, name: n, fromDate: i, toDate: o, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (a(), r(Xe, {
807
807
  key: e,
808
808
  "listing-id": e,
809
- name: t,
809
+ name: n,
810
810
  images: u,
811
811
  description: l,
812
- "from-date": n,
813
- "to-date": a,
812
+ "from-date": i,
813
+ "to-date": o,
814
814
  "minimum-person-count": s,
815
815
  fromPrice: c,
816
- "tracking-enabled": o(Z),
817
- callback: i
816
+ "tracking-enabled": d(Z),
817
+ callback: t
818
818
  }, null, 8, [
819
819
  "listing-id",
820
820
  "name",
@@ -826,152 +826,152 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
826
826
  "fromPrice",
827
827
  "tracking-enabled",
828
828
  "callback"
829
- ]))), 128)) : c("", !0)]),
830
- o(Y).length > 0 && t.onlyShow !== "templates" ? (f(), y(D, { key: 2 }, [a("h2", bt, [s(J, {
829
+ ]))), 128)) : n("", !0)]),
830
+ d(Y).length > 0 && e.onlyShow !== "templates" ? (a(), c(p, { key: 2 }, [u("h2", yt, [h(J, {
831
831
  icon: "calendar-circle-exclamation",
832
832
  type: "fal",
833
833
  color: "header"
834
- }), a("span", null, n(o(l)("event.availableLater")), 1)]), a("ul", xt, [(f(!0), y(D, null, e(o(Y), (e) => (f(), r(Je, {
834
+ }), u("span", null, _(d(o)("event.availableLater")), 1)]), u("ul", bt, [(a(!0), c(p, null, l(d(Y), (e) => (a(), r(qe, {
835
835
  name: e.name,
836
836
  events: e.events,
837
- "tracking-enabled": o(Z),
838
- callback: i
837
+ "tracking-enabled": d(Z),
838
+ callback: t
839
839
  }, null, 8, [
840
840
  "name",
841
841
  "events",
842
842
  "tracking-enabled",
843
843
  "callback"
844
- ]))), 256))])], 64)) : c("", !0),
845
- (!o(I) && !o(R) || !o(I) && t.onlyShow === "events" || !o(R) && t.onlyShow === "templates") && !o(ge) ? (f(), y("div", {
844
+ ]))), 256))])], 64)) : n("", !0),
845
+ (!d(I) && !d(L) || !d(I) && e.onlyShow === "events" || !d(L) && e.onlyShow === "templates") && !d(_e) ? (a(), c("div", {
846
846
  key: 3,
847
847
  class: "konnectio-panel",
848
- innerHTML: o(l)("event.nothingAvailable")
849
- }, null, 8, St)) : c("", !0)
850
- ])) : (f(), r(we, { key: 1 }))]),
848
+ innerHTML: d(o)("event.nothingAvailable")
849
+ }, null, 8, xt)) : n("", !0)
850
+ ])) : (a(), r(we, { key: 1 }))]),
851
851
  _: 2
852
852
  }, 1024)]),
853
- addons: h(({ next: t, prev: i }) => [o(ue) ? (f(), r(dt, {
853
+ addons: C(({ next: e, prev: i }) => [d(ue) ? (a(), r(ut, {
854
854
  key: 0,
855
- "prev-callback": () => o(Q)(i)
855
+ "prev-callback": () => d(Le)(i)
856
856
  }, {
857
- form: h(() => [a("form", Ct, [
858
- a("h2", null, [a("span", null, n(o(l)("event.selectProducts")), 1)]),
859
- o(V) && o(V).length > 0 ? (f(), y("ul", wt, [(f(!0), y(D, null, e(o(V), ({ roomGroupId: t, addons: i, adultPerRoom: c }, u) => (f(), y("li", { key: t }, [a("h5", null, [
860
- a("span", null, n(o(l)("booking.reservation.room")) + " #" + n(u + 1), 1),
861
- d[9] ||= v(" (", -1),
862
- s(J, {
857
+ form: C(() => [u("form", St, [
858
+ u("h2", null, [u("span", null, _(d(o)("event.selectProducts")), 1)]),
859
+ d(W) && d(W).length > 0 ? (a(), c("ul", Ct, [(a(!0), c(p, null, l(d(W), ({ roomGroupId: e, addons: n, adultPerRoom: i }, f) => (a(), c("li", { key: e }, [u("h5", null, [
860
+ u("span", null, _(d(o)("booking.reservation.room")) + " #" + _(f + 1), 1),
861
+ s[9] ||= t(" (", -1),
862
+ h(J, {
863
863
  icon: "male",
864
864
  type: "fas",
865
865
  color: "header"
866
866
  }),
867
- v(" " + n(c) + ") ", 1)
868
- ]), a("table", Tt, [
869
- a("thead", null, [a("tr", null, [
870
- a("th", null, [a("span", null, n(o(l)("booking.reservation.addons")), 1)]),
871
- d[10] ||= a("th", { class: "konnectio-event-addons-input" }, null, -1),
872
- a("th", Et, [a("span", null, n(o(l)("booking.availability.price")), 1)])
867
+ t(" " + _(i) + ") ", 1)
868
+ ]), u("table", wt, [
869
+ u("thead", null, [u("tr", null, [
870
+ u("th", null, [u("span", null, _(d(o)("booking.reservation.addons")), 1)]),
871
+ s[10] ||= u("th", { class: "konnectio-event-addons-input" }, null, -1),
872
+ u("th", Tt, [u("span", null, _(d(o)("booking.availability.price")), 1)])
873
873
  ])]),
874
- a("tbody", null, [(f(!0), y(D, null, e(i, ({ id: e, cardinality: i, name: s, price: c, quantityStrategy: l }) => (f(), y("tr", { key: e }, [
875
- a("td", null, [
876
- a("b", null, n(s), 1),
877
- d[11] ||= a("br", null, null, -1),
878
- a("span", null, n(o(P)(c, o(X))) + " " + n(o(ee)(l)), 1)
874
+ u("tbody", null, [(a(!0), c(p, null, l(n, ({ id: t, cardinality: n, name: i, price: o, quantityStrategy: l }) => (a(), c("tr", { key: t }, [
875
+ u("td", null, [
876
+ u("b", null, _(i), 1),
877
+ s[11] ||= u("br", null, null, -1),
878
+ u("span", null, _(d(B)(o, d(X))) + " " + _(d(R)(l)), 1)
879
879
  ]),
880
- a("td", Dt, [i === 3 ? (f(), r(G, {
880
+ u("td", Et, [n === 3 ? (a(), r(G, {
881
881
  key: 0,
882
- modelValue: o(m)[`${t}.${e}.${u}`],
883
- "onUpdate:modelValue": (n) => o(m)[`${t}.${e}.${u}`] = n,
882
+ modelValue: d(g)[`${e}.${t}.${f}`],
883
+ "onUpdate:modelValue": (n) => d(g)[`${e}.${t}.${f}`] = n,
884
884
  small: !0,
885
885
  "min-value": 0
886
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (f(), r(Oe, {
886
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), r(De, {
887
887
  key: 1,
888
- modelValue: o(m)[`${t}.${e}.${u}`],
889
- "onUpdate:modelValue": (n) => o(m)[`${t}.${e}.${u}`] = n,
888
+ modelValue: d(g)[`${e}.${t}.${f}`],
889
+ "onUpdate:modelValue": (n) => d(g)[`${e}.${t}.${f}`] = n,
890
890
  numeric: !0
891
891
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))]),
892
- a("td", Ot, [a("span", null, n(o(P)(o(Fe)(e, t, u), o(X))), 1)])
892
+ u("td", Dt, [u("span", null, _(d(B)(d(Fe)(t, e, f), d(X))), 1)])
893
893
  ]))), 128))]),
894
- a("tfoot", null, [a("tr", null, [
895
- d[12] ||= a("td", null, null, -1),
896
- d[13] ||= a("td", null, null, -1),
897
- a("td", kt, [a("u", null, [a("span", null, n(o(P)(o(Ie)(t, u), o(X))), 1)])])
894
+ u("tfoot", null, [u("tr", null, [
895
+ s[12] ||= u("td", null, null, -1),
896
+ s[13] ||= u("td", null, null, -1),
897
+ u("td", Ot, [u("u", null, [u("span", null, _(d(B)(d(Ie)(e, f), d(X))), 1)])])
898
898
  ])])
899
- ])]))), 128))])) : c("", !0),
900
- o(se) ? (f(), y("table", At, [a("tbody", null, [(f(!0), y(D, null, e(o(B).products, ({ id: e, name: t, price: r, description: i }) => (f(), y("tr", { key: e }, [a("td", jt, [
901
- a("b", null, [a("span", null, n(o(ne)(t)), 1)]),
902
- i && i !== t ? (f(), y("span", Mt, n(o(ne)(i)), 1)) : c("", !0),
903
- a("u", null, n(o(P)(r, o(X))), 1)
904
- ]), a("td", Nt, [s(G, {
905
- modelValue: o(g)[e],
906
- "onUpdate:modelValue": (t) => o(g)[e] = t,
899
+ ])]))), 128))])) : n("", !0),
900
+ d(se) ? (a(), c("table", kt, [u("tbody", null, [(a(!0), c(p, null, l(d(V).products, ({ id: e, name: t, price: r, description: i }) => (a(), c("tr", { key: e }, [u("td", At, [
901
+ u("b", null, [u("span", null, _(d(N)(t)), 1)]),
902
+ i && i !== t ? (a(), c("span", jt, _(d(N)(i)), 1)) : n("", !0),
903
+ u("u", null, _(d(B)(r, d(X))), 1)
904
+ ]), u("td", Mt, [h(G, {
905
+ modelValue: d(y)[e],
906
+ "onUpdate:modelValue": (t) => d(y)[e] = t,
907
907
  small: !0,
908
908
  "min-value": 0
909
- }, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : c("", !0)
909
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : n("", !0)
910
910
  ])]),
911
- navigation: h(() => [s(K, {
912
- label: o(l)("event.startReservation"),
913
- disabled: !o(he),
911
+ navigation: C(() => [h(K, {
912
+ label: d(o)("event.startReservation"),
913
+ disabled: !d(he),
914
914
  "full-width": "",
915
- onClickEvent: t
915
+ onClickEvent: e
916
916
  }, null, 8, [
917
917
  "label",
918
918
  "disabled",
919
919
  "onClickEvent"
920
920
  ])]),
921
921
  _: 2
922
- }, 1032, ["prev-callback"])) : c("", !0)]),
923
- reservation: h(({ next: e, prev: i }) => [s(dt, {
922
+ }, 1032, ["prev-callback"])) : n("", !0)]),
923
+ reservation: C(({ next: t, prev: i }) => [h(ut, {
924
924
  "show-terms-notice": !0,
925
925
  "show-gift-card": !0,
926
- "prev-callback": () => o(Q)(i)
926
+ "prev-callback": () => d(Le)(i)
927
927
  }, {
928
- form: h(() => [a("form", Pt, [
929
- a("h2", null, [a("span", null, n(o(l)("booking.reservation.detailsTitle")), 1)]),
930
- s(W, {
931
- modelValue: o(w),
932
- "onUpdate:modelValue": d[0] ||= (e) => _(w) ? w.value = e : null,
928
+ form: C(() => [u("form", Nt, [
929
+ u("h2", null, [u("span", null, _(d(o)("booking.reservation.detailsTitle")), 1)]),
930
+ h(U, {
931
+ modelValue: d(w),
932
+ "onUpdate:modelValue": s[0] ||= (e) => m(w) ? w.value = e : null,
933
933
  type: "text",
934
- label: o(l)("booking.reservation.name"),
934
+ label: d(o)("booking.reservation.name"),
935
935
  icon: "user-alt",
936
- placeholder: o(l)("booking.reservation.namePlaceholder"),
936
+ placeholder: d(o)("booking.reservation.namePlaceholder"),
937
937
  required: ""
938
938
  }, null, 8, [
939
939
  "modelValue",
940
940
  "label",
941
941
  "placeholder"
942
942
  ]),
943
- s(W, {
944
- modelValue: o(O),
945
- "onUpdate:modelValue": d[1] ||= (e) => _(O) ? O.value = e : null,
946
- label: o(l)("booking.reservation.email"),
943
+ h(U, {
944
+ modelValue: d(O),
945
+ "onUpdate:modelValue": s[1] ||= (e) => m(O) ? O.value = e : null,
946
+ label: d(o)("booking.reservation.email"),
947
947
  type: "email",
948
948
  name: "email",
949
949
  autocomplete: "email",
950
950
  icon: "at",
951
- placeholder: o(l)("booking.reservation.emailPlaceholder"),
951
+ placeholder: d(o)("booking.reservation.emailPlaceholder"),
952
952
  required: ""
953
953
  }, null, 8, [
954
954
  "modelValue",
955
955
  "label",
956
956
  "placeholder"
957
957
  ]),
958
- s(De, {
959
- modelValue: o(T),
960
- "onUpdate:modelValue": d[2] ||= (e) => _(T) ? T.value = e : null,
961
- label: o(l)("booking.reservation.phone"),
958
+ h(Ee, {
959
+ modelValue: d(D),
960
+ "onUpdate:modelValue": s[2] ||= (e) => m(D) ? D.value = e : null,
961
+ label: d(o)("booking.reservation.phone"),
962
962
  icon: "phone-office",
963
- placeholder: o(l)("booking.reservation.phonePlaceholder"),
963
+ placeholder: d(o)("booking.reservation.phonePlaceholder"),
964
964
  required: ""
965
965
  }, null, 8, [
966
966
  "modelValue",
967
967
  "label",
968
968
  "placeholder"
969
969
  ]),
970
- o(me) ? (f(), r(Se, {
970
+ d(me) ? (a(), r(xe, {
971
971
  key: 0,
972
- modelValue: o(F),
973
- "onUpdate:modelValue": d[3] ||= (e) => _(F) ? F.value = e : null,
974
- label: o(l)("event.selectArrivalTime"),
972
+ modelValue: d(P),
973
+ "onUpdate:modelValue": s[3] ||= (e) => m(P) ? P.value = e : null,
974
+ label: d(o)("event.selectArrivalTime"),
975
975
  name: "eventTimeTable",
976
976
  checkboxes: Ve.value,
977
977
  required: ""
@@ -979,62 +979,62 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
979
979
  "modelValue",
980
980
  "label",
981
981
  "checkboxes"
982
- ])) : c("", !0),
983
- o(ce) === o(ie).FullDayEvent ? (f(), r(G, {
982
+ ])) : n("", !0),
983
+ d(ce) === d(H).FullDayEvent ? (a(), r(G, {
984
984
  key: 1,
985
- modelValue: o(x),
986
- "onUpdate:modelValue": d[4] ||= (e) => _(x) ? x.value = e : null,
987
- label: o(l)("event.numberOfDays"),
985
+ modelValue: d(b),
986
+ "onUpdate:modelValue": s[4] ||= (e) => m(b) ? b.value = e : null,
987
+ label: d(o)("event.numberOfDays"),
988
988
  "min-value": 1,
989
989
  required: ""
990
- }, null, 8, ["modelValue", "label"])) : c("", !0),
991
- t.showHighChairs === "yes" ? (f(), r(G, {
990
+ }, null, 8, ["modelValue", "label"])) : n("", !0),
991
+ e.showHighChairs === "yes" ? (a(), r(G, {
992
992
  key: 2,
993
- modelValue: o(C),
994
- "onUpdate:modelValue": d[5] ||= (e) => _(C) ? C.value = e : null,
995
- label: o(l)("event.numberOfHighChairs"),
993
+ modelValue: d(S),
994
+ "onUpdate:modelValue": s[5] ||= (e) => m(S) ? S.value = e : null,
995
+ label: d(o)("event.numberOfHighChairs"),
996
996
  icon: "baby",
997
997
  "no-optional-label": !1
998
- }, null, 8, ["modelValue", "label"])) : c("", !0),
999
- t.showFlagOnTable === "yes" ? (f(), r(Oe, {
998
+ }, null, 8, ["modelValue", "label"])) : n("", !0),
999
+ e.showFlagOnTable === "yes" ? (a(), r(De, {
1000
1000
  key: 3,
1001
- modelValue: o(S),
1002
- "onUpdate:modelValue": d[6] ||= (e) => _(S) ? S.value = e : null,
1003
- label: o(l)("event.flagOnTable")
1004
- }, null, 8, ["modelValue", "label"])) : c("", !0),
1005
- t.hideRemarks === "yes" ? c("", !0) : (f(), r(W, {
1001
+ modelValue: d(x),
1002
+ "onUpdate:modelValue": s[6] ||= (e) => m(x) ? x.value = e : null,
1003
+ label: d(o)("event.flagOnTable")
1004
+ }, null, 8, ["modelValue", "label"])) : n("", !0),
1005
+ e.hideRemarks === "yes" ? n("", !0) : (a(), r(U, {
1006
1006
  key: 4,
1007
- modelValue: o(k),
1008
- "onUpdate:modelValue": d[7] ||= (e) => _(k) ? k.value = e : null,
1007
+ modelValue: d(k),
1008
+ "onUpdate:modelValue": s[7] ||= (e) => m(k) ? k.value = e : null,
1009
1009
  type: "textarea",
1010
- label: o(l)("booking.reservation.remark"),
1010
+ label: d(o)("booking.reservation.remark"),
1011
1011
  icon: "info-circle",
1012
- placeholder: o(l)("booking.reservation.remarkPlaceholder")
1012
+ placeholder: d(o)("booking.reservation.remarkPlaceholder")
1013
1013
  }, null, 8, [
1014
1014
  "modelValue",
1015
1015
  "label",
1016
1016
  "placeholder"
1017
1017
  ])),
1018
- t.hideAllergies !== "yes" && o(B)?.showAllergyFoodFieldOnline ? (f(), r(W, {
1018
+ e.hideAllergies !== "yes" && d(V)?.showAllergyFoodFieldOnline ? (a(), r(U, {
1019
1019
  key: 5,
1020
- modelValue: o(M),
1021
- "onUpdate:modelValue": d[8] ||= (e) => _(M) ? M.value = e : null,
1020
+ modelValue: d(A),
1021
+ "onUpdate:modelValue": s[8] ||= (e) => m(A) ? A.value = e : null,
1022
1022
  type: "textarea",
1023
- label: o(l)("booking.reservation.allergies"),
1023
+ label: d(o)("booking.reservation.allergies"),
1024
1024
  icon: "allergies",
1025
- placeholder: o(l)("booking.reservation.allergiesPlaceholder")
1025
+ placeholder: d(o)("booking.reservation.allergiesPlaceholder")
1026
1026
  }, null, 8, [
1027
1027
  "modelValue",
1028
1028
  "label",
1029
1029
  "placeholder"
1030
- ])) : c("", !0)
1030
+ ])) : n("", !0)
1031
1031
  ])]),
1032
- navigation: h(() => [s(K, {
1033
- label: o(l)("general.confirmReservation"),
1034
- "is-loading": o(fe),
1035
- disabled: !o(pe),
1032
+ navigation: C(() => [h(K, {
1033
+ label: d(o)("general.confirmReservation"),
1034
+ "is-loading": d(fe),
1035
+ disabled: !d(pe),
1036
1036
  "full-width": "",
1037
- onClickEvent: (t) => Ue(e)
1037
+ onClickEvent: (e) => Ue(t)
1038
1038
  }, null, 8, [
1039
1039
  "label",
1040
1040
  "is-loading",
@@ -1043,20 +1043,20 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
1043
1043
  ])]),
1044
1044
  _: 2
1045
1045
  }, 1032, ["prev-callback"])]),
1046
- payment: h(() => [s(ke)]),
1047
- confirmation: h(() => [s(ye, { message: o(l)("event.confirmationMessage") }, null, 8, ["message"])]),
1046
+ payment: C(() => [h(Oe)]),
1047
+ confirmation: C(() => [h(ve, { message: d(o)("event.confirmationMessage") }, null, 8, ["message"])]),
1048
1048
  _: 1
1049
1049
  }, 8, ["steps"])]),
1050
1050
  _: 1
1051
1051
  }, 8, ["access-token", "callback"])]),
1052
- fallback: h(() => [s(ht)]),
1052
+ fallback: C(() => [h(mt)]),
1053
1053
  _: 1
1054
1054
  }))]),
1055
1055
  _: 1
1056
1056
  }, 8, ["styling"]));
1057
1057
  }
1058
- }), [["__scopeId", "data-v-75f83557"]]), It = m(), Lt = T(), Rt = C("konnectio-event", Ft, (e) => {
1059
- e.provide("emitter", Lt), e.use(k), e.use(S), e.use(It), e.use(Te), e.use(ve), e.use(Ce);
1058
+ }), [["__scopeId", "data-v-75f83557"]]), Ft = S(), It = b("konnectio-event", Pt, (e) => {
1059
+ e.use(O), e.use(y), e.use(Ft), e.use(Z), e.use(_e), e.use(Se);
1060
1060
  });
1061
1061
  //#endregion
1062
- export { Rt as default };
1062
+ export { It as default };