@konnectio/core 4.0.56-rc20 → 4.0.56-rc22

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 (44) hide show
  1. package/dist/{ActionField-8hkjdoF_.js → ActionField-ZJdtBRXa.js} +7 -7
  2. package/dist/ActionField-ZJdtBRXa.js.br +4 -0
  3. package/dist/AvailabilitySkeleton-tfEBupNq.js +234 -0
  4. package/dist/AvailabilitySkeleton-tfEBupNq.js.br +0 -0
  5. package/dist/{CheckoutWindow-bgpWiBAd.js → CheckoutWindow-orJD6dJy.js} +28 -28
  6. package/dist/CheckoutWindow-orJD6dJy.js.br +0 -0
  7. package/dist/DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js +7607 -0
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js.br +0 -0
  9. package/dist/ErrorMessage-mUpn7ZBU.js +36 -0
  10. package/dist/ErrorMessage-mUpn7ZBU.js.br +0 -0
  11. package/dist/EventAvailabilityForm-cAOEZVnn.js +366 -0
  12. package/dist/EventAvailabilityForm-cAOEZVnn.js.br +0 -0
  13. package/dist/{Field-FbUrCgmJ.js → Field-Kwm-GcDa.js} +7 -7
  14. package/dist/Field-Kwm-GcDa.js.br +0 -0
  15. package/dist/{ThankYou-tb7LP48E.js → ThankYou-EiAxaHd8.js} +2712 -2758
  16. package/dist/ThankYou-EiAxaHd8.js.br +0 -0
  17. package/dist/{_-5tXWGiwV.js → _-KavQ60qi.js} +5332 -5360
  18. package/dist/_-KavQ60qi.js.br +0 -0
  19. package/dist/availability.js +69 -157
  20. package/dist/availability.js.br +0 -0
  21. package/dist/event.js +323 -534
  22. package/dist/event.js.br +0 -0
  23. package/dist/gift-card-validation.js +28 -29
  24. package/dist/gift-card-validation.js.br +0 -0
  25. package/dist/gift-card.js +203 -199
  26. package/dist/gift-card.js.br +0 -0
  27. package/dist/hotel.js +1328 -1248
  28. package/dist/hotel.js.br +0 -0
  29. package/dist/polyfill.js +1 -1
  30. package/dist/polyfill.js.br +0 -0
  31. package/dist/style.css +1 -1
  32. package/dist/style.css.br +0 -0
  33. package/package.json +7 -6
  34. package/dist/ActionField-8hkjdoF_.js.br +0 -0
  35. package/dist/AvailabilitySkeleton-K35mnVjA.js +0 -215
  36. package/dist/AvailabilitySkeleton-K35mnVjA.js.br +0 -0
  37. package/dist/CheckoutWindow-bgpWiBAd.js.br +0 -0
  38. package/dist/DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js +0 -8026
  39. package/dist/DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js.br +0 -0
  40. package/dist/Field-FbUrCgmJ.js.br +0 -0
  41. package/dist/ThankYou-tb7LP48E.js.br +0 -0
  42. package/dist/_-5tXWGiwV.js.br +0 -0
  43. package/dist/event-36Kem6rb.js +0 -328
  44. package/dist/event-36Kem6rb.js.br +0 -0
@@ -1,4 +1,4 @@
1
- import { k as c, l as V, f as m, o as d, m as i, w as v, n as q, _ as g, p as t, q as k, T as B, t as I, C, I as F, v as A } from "./_-5tXWGiwV.js";
1
+ import { d as c, r as V, c as m, o as d, a as i, w as v, b as g, _ as q, u as t, e as k, T as B, f as I, C, I as F, g as A } from "./_-KavQ60qi.js";
2
2
  const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
3
3
  __name: "ActionField",
4
4
  props: {
@@ -24,8 +24,8 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
24
24
  isLoading: { type: Boolean, default: !1 }
25
25
  },
26
26
  emits: ["update:modelValue", "action"],
27
- setup(y, { emit: f }) {
28
- const s = f, u = y, o = u.id || V();
27
+ setup(y, { emit: b }) {
28
+ const s = b, u = y, o = u.id || V();
29
29
  function r(e) {
30
30
  s("update:modelValue", e);
31
31
  }
@@ -36,7 +36,7 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
36
36
  get: () => u.modelValue,
37
37
  set: (e) => r(e)
38
38
  });
39
- function b() {
39
+ function f() {
40
40
  s("action");
41
41
  }
42
42
  return (e, a) => (d(), i(F, {
@@ -49,8 +49,8 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
49
49
  readonly: e.readonly
50
50
  }, {
51
51
  default: v(() => [
52
- q("div", L, [
53
- e.type === "dropdown" && e.data ? (d(), i(g, {
52
+ g("div", L, [
53
+ e.type === "dropdown" && e.data ? (d(), i(q, {
54
54
  key: 0,
55
55
  modelValue: n.value,
56
56
  "onUpdate:modelValue": a[0] || (a[0] = (l) => n.value = l),
@@ -85,7 +85,7 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
85
85
  "is-loading": e.isLoading,
86
86
  disabled: e.buttonDisabled,
87
87
  secondary: e.secondary,
88
- onClickEvent: a[3] || (a[3] = (l) => b())
88
+ onClickEvent: a[3] || (a[3] = (l) => f())
89
89
  }, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
90
90
  ])
91
91
  ]),
@@ -0,0 +1,4 @@
1
+ � ���7钢8��9���k�%��E� ƍ�����v>���J\x�o�����%P.� �����fs��ݫp,�ՙj]õ}�
2
+ ��m��Q,�"*��?.�L�P�"��Pr"j�Lb,+QJ}�S\Ȯ���\�{qӐ��2=�ߒe��W�u�����\%�tl�
3
+ 5� 0:UU��H���H�V�l�p�F��{�y��ۡR�N"lH.%�<�T[RCVS�OZ)�_F��F�nQ�"G�4T��K��7�|բ��J�&^�?AjQ��J�(�Wq��+�U��'��9>mQ�y���m��
4
+ �w��5�nk��^��~ ���a�#"&[u���jmZ���SU���V�@����B JQu��pfm oXPg\�>c���p�����/���PV���ޅese4!+�X��A��[,)W8�&6�q�������M&1<ހ�Lm�u�LM������ ��|��LK5�j��J��u��=�=�Z'�D&W����Ę
@@ -0,0 +1,234 @@
1
+ import { d as N, j as W, a6 as X, B as S, a7 as C, a8 as F, D as Y, k as Z, c as f, G as R, l as ee, o as i, h as r, b as V, u as e, f as n, H as w, _ as ae, i as y, F as H, a as _, T as E, e as I, C as O, n as L, m as le, a2 as te, g as T, E as M } from "./_-KavQ60qi.js";
2
+ import { _ as ie } from "./DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js";
3
+ import { F as g } from "./Field-Kwm-GcDa.js";
4
+ function ye(o) {
5
+ return { all: o = o || /* @__PURE__ */ new Map(), on: function(a, s) {
6
+ var l = o.get(a);
7
+ l ? l.push(s) : o.set(a, [s]);
8
+ }, off: function(a, s) {
9
+ var l = o.get(a);
10
+ l && (s ? l.splice(l.indexOf(s) >>> 0, 1) : o.set(a, []));
11
+ }, emit: function(a, s) {
12
+ var l = o.get(a);
13
+ l && l.slice().map(function(c) {
14
+ c(s);
15
+ }), (l = o.get("*")) && l.slice().map(function(c) {
16
+ c(a, s);
17
+ });
18
+ } };
19
+ }
20
+ const ne = {
21
+ key: 0,
22
+ class: "konnectio-availability-location"
23
+ }, oe = { id: "fresh-booking-availability-date-selection" }, se = {
24
+ key: 1,
25
+ id: "fresh-booking-availability-guest-selection"
26
+ }, ce = { id: "fresh-booking-availability-confirmation" }, ue = /* @__PURE__ */ N({
27
+ __name: "HotelAvailabilityForm",
28
+ props: {
29
+ booking: { type: Boolean, default: !1 },
30
+ link: {}
31
+ },
32
+ setup(o) {
33
+ const { t: a } = W(), s = X("emitter"), l = o, {
34
+ adults: c,
35
+ children: m,
36
+ arrivalDate: v,
37
+ departureDate: k,
38
+ location: A,
39
+ isExpired: j
40
+ } = S(C()), { reset: z } = C(), { fetchAvailabilityData: q } = F(), { areListingsLoading: U, hotelList: G, hasHotelList: D } = S(F()), {
41
+ firstSelectableDateOffset: $,
42
+ lastSelectableDateOffset: B,
43
+ disableChildSelection: p,
44
+ disableAdultSelection: b
45
+ } = S(Y()), h = Z([]), J = f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + ($.value - 1))));
46
+ f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + B.value))), f(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + $.value)));
47
+ const K = f(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + (B.value + 1)))), x = f(() => !(!b && c.value === 0)), P = f(() => typeof l.link != "string");
48
+ function Q() {
49
+ if (l.booking === !1)
50
+ if (P.value) {
51
+ const u = te();
52
+ l.link[u] ? window.location.replace(l.link[u]) : l.link.en ? window.location.replace(l.link.en) : console.log("Sprog understøttes ikke");
53
+ } else
54
+ window.location.replace(l.link);
55
+ else
56
+ x.value && q();
57
+ }
58
+ return R(v, (u) => {
59
+ const t = new Date(new Date(u).setDate(new Date(u).getDate() + 1));
60
+ new Date(k.value) < t && (k.value = t);
61
+ }), s.on("forcedDateChange", () => {
62
+ h.value = [v.value, k.value];
63
+ }), R(h, (u) => {
64
+ v.value = u[0], k.value = u[1];
65
+ }), ee(() => {
66
+ j.value && z(), h.value = [v.value, k.value];
67
+ }), (u, t) => (i(), r("form", {
68
+ id: "konnectio-availability-form",
69
+ class: L({ reservation: u.booking }),
70
+ type: "availability",
71
+ onSubmit: le(Q, ["prevent"])
72
+ }, [
73
+ V("ul", {
74
+ id: "konnectio-availability-form-content",
75
+ class: L([
76
+ { "is-booking-page": u.booking },
77
+ { "only-adult-guests": !e(b) && e(p) },
78
+ { "only-child-guests": !e(p) && e(b) },
79
+ { "no-guests": e(b) && e(p) },
80
+ { "all-guests": !e(b) && !e(p) },
81
+ { "has-location": e(D) }
82
+ ])
83
+ }, [
84
+ e(D) ? (i(), r("li", ne, [
85
+ n(ae, {
86
+ modelValue: e(A),
87
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => w(A) ? A.value = d : null),
88
+ label: e(a)("general.location"),
89
+ icon: "location-dot",
90
+ "icon-type": "fas",
91
+ "icon-placement": "label",
92
+ options: e(G),
93
+ searchable: !1
94
+ }, null, 8, ["modelValue", "label", "options"])
95
+ ])) : y("", !0),
96
+ V("li", oe, [
97
+ n(ie, {
98
+ modelValue: h.value,
99
+ "onUpdate:modelValue": t[1] || (t[1] = (d) => h.value = d),
100
+ label: e(a)("availability.checkInOut"),
101
+ "icon-type": "fas",
102
+ "icon-placement": "label",
103
+ "min-range": 1,
104
+ "min-date": J.value,
105
+ "max-date": K.value,
106
+ range: ""
107
+ }, null, 8, ["modelValue", "label", "min-date", "max-date"]),
108
+ y("", !0)
109
+ ]),
110
+ !e(b) || !e(p) ? (i(), r("li", se, [
111
+ e(b) ? y("", !0) : (i(), r(H, { key: 0 }, [
112
+ e(D) ? (i(), _(E, {
113
+ key: 0,
114
+ modelValue: e(c),
115
+ "onUpdate:modelValue": t[4] || (t[4] = (d) => w(c) ? c.value = d : null),
116
+ label: e(a)("availability.adults"),
117
+ description: e(a)("general.adultAgeRange"),
118
+ "icon-type": "fas",
119
+ "icon-placement": "label",
120
+ name: "adults",
121
+ icon: "male"
122
+ }, null, 8, ["modelValue", "label", "description"])) : (i(), _(I, {
123
+ key: 1,
124
+ modelValue: e(c),
125
+ "onUpdate:modelValue": t[5] || (t[5] = (d) => w(c) ? c.value = d : null),
126
+ label: e(a)("availability.adults"),
127
+ description: e(a)("general.adultAgeRange"),
128
+ "icon-type": "fas",
129
+ "icon-placement": "label",
130
+ name: "adults",
131
+ icon: "male"
132
+ }, null, 8, ["modelValue", "label", "description"]))
133
+ ], 64)),
134
+ e(p) ? y("", !0) : (i(), r(H, { key: 1 }, [
135
+ e(D) ? (i(), _(E, {
136
+ key: 0,
137
+ modelValue: e(m),
138
+ "onUpdate:modelValue": t[6] || (t[6] = (d) => w(m) ? m.value = d : null),
139
+ label: e(a)("availability.children"),
140
+ description: e(a)("general.childAgeRange"),
141
+ "icon-type": "fas",
142
+ "icon-placement": "label",
143
+ name: "children",
144
+ icon: "child"
145
+ }, null, 8, ["modelValue", "label", "description"])) : (i(), _(I, {
146
+ key: 1,
147
+ modelValue: e(m),
148
+ "onUpdate:modelValue": t[7] || (t[7] = (d) => w(m) ? m.value = d : null),
149
+ label: e(a)("availability.children"),
150
+ description: e(a)("general.childAgeRange"),
151
+ "icon-type": "fas",
152
+ "icon-placement": "label",
153
+ name: "children",
154
+ icon: "child"
155
+ }, null, 8, ["modelValue", "label", "description"]))
156
+ ], 64))
157
+ ])) : y("", !0),
158
+ V("li", ce, [
159
+ n(O, {
160
+ class: "konnectio-availability-submit-small",
161
+ type: "submit",
162
+ icon: "search",
163
+ "icon-type": "fas",
164
+ disabled: !x.value,
165
+ "is-loading": e(U)
166
+ }, null, 8, ["disabled", "is-loading"]),
167
+ n(O, {
168
+ class: "konnectio-availability-submit-large",
169
+ type: "submit",
170
+ label: e(a)("availability.buttonLabel"),
171
+ disabled: !x.value,
172
+ "is-loading": e(U)
173
+ }, null, 8, ["label", "disabled", "is-loading"])
174
+ ])
175
+ ], 2)
176
+ ], 34));
177
+ }
178
+ }), ke = /* @__PURE__ */ T(ue, [["__scopeId", "data-v-56c61864"]]), de = { class: "availability-skeleton" }, re = {
179
+ key: 0,
180
+ class: "availability-skeleton-navigation"
181
+ }, be = { class: "availability-skeleton-content" }, me = {
182
+ key: 1,
183
+ class: "availability-skeleton-event"
184
+ }, ve = /* @__PURE__ */ N({
185
+ __name: "AvailabilitySkeleton",
186
+ props: {
187
+ view: { default: "hotel" },
188
+ hotel: { type: Boolean, default: !1 }
189
+ },
190
+ setup(o) {
191
+ return (a, s) => (i(), r("div", de, [
192
+ a.view === "both" ? (i(), r("div", re, [
193
+ n(M, {
194
+ height: "28px",
195
+ width: "60px",
196
+ "border-radius": "20px"
197
+ }),
198
+ n(M, {
199
+ height: "28px",
200
+ width: "60px",
201
+ "border-radius": "20px"
202
+ })
203
+ ])) : y("", !0),
204
+ V("div", be, [
205
+ a.view !== "event" ? (i(), r("div", {
206
+ key: 0,
207
+ class: L([
208
+ "availability-skeleton-hotel",
209
+ { "within-hotel": a.hotel }
210
+ ])
211
+ }, [
212
+ n(g, { "with-icon": "" }),
213
+ n(g, { "with-icon": "" }),
214
+ n(g, { "with-icon": "" }),
215
+ n(g, {
216
+ "with-icon": "",
217
+ "no-label": ""
218
+ })
219
+ ], 2)) : (i(), r("div", me, [
220
+ n(g, { "with-icon": "" }),
221
+ n(g, {
222
+ "with-icon": "",
223
+ "no-label": ""
224
+ })
225
+ ]))
226
+ ])
227
+ ]));
228
+ }
229
+ }), he = /* @__PURE__ */ T(ve, [["__scopeId", "data-v-17762b9b"]]);
230
+ export {
231
+ he as A,
232
+ ke as H,
233
+ ye as m
234
+ };
@@ -1,5 +1,5 @@
1
- import { k as b, l as k, r as V, H as $, o as p, m as B, w as A, n as s, t as C, p as i, T as P, I, v, ai as T, A as h, aj as w, ak as N, x as g, P as u, y as S, B as _, $ as f, s as G, c as F, al as j, a5 as E, a6 as H } from "./_-5tXWGiwV.js";
2
- const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
1
+ import { d as b, r as k, k as V, l as $, o as p, a as B, w as I, b as s, f as C, u as i, T as P, I as T, g as v, ad as A, n as h, ae as w, af as N, h as g, t as u, i as S, j as _, K as f, B as G, D as F, ag as j, v as D, x as E } from "./_-KavQ60qi.js";
2
+ const K = { class: "fresh-booking-phone-input" }, O = /* @__PURE__ */ b({
3
3
  __name: "PhoneField",
4
4
  props: {
5
5
  modelValue: {},
@@ -14,25 +14,25 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
14
14
  inputStyle: {}
15
15
  },
16
16
  emits: ["update:modelValue"],
17
- setup(t, { emit: l }) {
18
- const a = l, n = t, c = n.id || k(), e = V("+45"), d = V("");
17
+ setup(a, { emit: l }) {
18
+ const t = l, n = a, c = n.id || k(), e = V("+45"), d = V("");
19
19
  function m() {
20
- a("update:modelValue", `${e.value} ${d.value}`);
20
+ t("update:modelValue", `${e.value} ${d.value}`);
21
21
  }
22
22
  return $(() => {
23
23
  if (n.modelValue) {
24
24
  const o = n.modelValue.split(" ");
25
25
  e.value = o[0], d.value = o[1];
26
26
  }
27
- }), (o, r) => (p(), B(I, {
27
+ }), (o, r) => (p(), B(T, {
28
28
  label: o.label,
29
29
  id: i(c),
30
30
  type: "phone",
31
31
  required: o.required,
32
32
  readonly: o.readonly
33
33
  }, {
34
- default: A(() => [
35
- s("div", O, [
34
+ default: I(() => [
35
+ s("div", K, [
36
36
  C(P, {
37
37
  modelValue: e.value,
38
38
  "onUpdate:modelValue": r[0] || (r[0] = (y) => e.value = y),
@@ -67,7 +67,7 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
67
67
  _: 1
68
68
  }, 8, ["label", "id", "required", "readonly"]));
69
69
  }
70
- }), x = /* @__PURE__ */ v(U, [["__scopeId", "data-v-5cd094ab"]]), z = ["required", "type", "name", "readonly", "disabled", "value", "checked"], D = ["data-test"], K = { key: 0 }, M = /* @__PURE__ */ b({
70
+ }), x = /* @__PURE__ */ v(O, [["__scopeId", "data-v-5cd094ab"]]), U = ["required", "type", "name", "readonly", "disabled", "value", "checked"], z = ["data-test"], H = { key: 0 }, M = /* @__PURE__ */ b({
71
71
  __name: "Checkbox",
72
72
  props: {
73
73
  modelValue: { type: [String, Boolean, Number] },
@@ -83,20 +83,20 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
83
83
  val: {}
84
84
  },
85
85
  emits: ["update:modelValue"],
86
- setup(t, { emit: l }) {
87
- const a = t, n = l;
86
+ setup(a, { emit: l }) {
87
+ const t = a, n = l;
88
88
  function c() {
89
- a.readonly !== !0 && n(
89
+ t.readonly !== !0 && n(
90
90
  "update:modelValue",
91
- a.type === "radio" ? a.val : a.numeric ? a.modelValue ? 0 : 1 : !a.modelValue
91
+ t.type === "radio" ? t.val : t.numeric ? t.modelValue ? 0 : 1 : !t.modelValue
92
92
  );
93
93
  }
94
- return (e, d) => (p(), B(I, {
94
+ return (e, d) => (p(), B(T, {
95
95
  required: e.required,
96
96
  type: e.type,
97
97
  readonly: e.readonly
98
98
  }, {
99
- default: A(() => [
99
+ default: I(() => [
100
100
  s("label", {
101
101
  class: h([
102
102
  "fresh-booking-click-box-container",
@@ -105,7 +105,7 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
105
105
  e.type === "radio" ? "radio" : "checkbox"
106
106
  ])
107
107
  }, [
108
- s("input", T(e.$attrs, {
108
+ s("input", A(e.$attrs, {
109
109
  required: !!e.required,
110
110
  type: e.type,
111
111
  name: e.name,
@@ -115,7 +115,7 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
115
115
  value: e.type === "radio" ? e.val : e.modelValue,
116
116
  checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue,
117
117
  onChange: d[0] || (d[0] = (m) => c())
118
- }), null, 16, z),
118
+ }), null, 16, U),
119
119
  s("div", {
120
120
  class: h([
121
121
  "fresh-booking-click-box",
@@ -125,13 +125,13 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
125
125
  style: w(e.inputStyle),
126
126
  "data-test": e.name,
127
127
  onKeyup: d[1] || (d[1] = N((m) => c(), ["enter"]))
128
- }, null, 46, D),
128
+ }, null, 46, z),
129
129
  e.label ? (p(), g("div", {
130
130
  key: 0,
131
131
  class: h(["fresh-booking-click-box-label", { "with-price": e.price }])
132
132
  }, [
133
133
  s("span", null, u(e.label), 1),
134
- e.price ? (p(), g("span", K, u(e.price), 1)) : S("", !0)
134
+ e.price ? (p(), g("span", H, u(e.price), 1)) : S("", !0)
135
135
  ], 2)) : S("", !0)
136
136
  ], 2)
137
137
  ]),
@@ -146,9 +146,9 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
146
146
  target: "_blank"
147
147
  }, J = /* @__PURE__ */ b({
148
148
  __name: "GoogleNotice",
149
- setup(t) {
149
+ setup(a) {
150
150
  const { t: l } = _();
151
- return (a, n) => (p(), g("span", null, [
151
+ return (t, n) => (p(), g("span", null, [
152
152
  f(u(i(l)("googleNotice")) + " ", 1),
153
153
  s("a", R, u(i(l)("googlePrivacyPolicy")), 1),
154
154
  f(" " + u(i(l)("googleAnd")) + " ", 1),
@@ -157,8 +157,8 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
157
157
  ]));
158
158
  }
159
159
  });
160
- function q(t) {
161
- const l = t;
160
+ function q(a) {
161
+ const l = a;
162
162
  l.__i18n = l.__i18n || [], l.__i18n.push({
163
163
  locale: "",
164
164
  resource: {
@@ -180,16 +180,16 @@ function q(t) {
180
180
  });
181
181
  }
182
182
  typeof q == "function" && q(J);
183
- const L = (t) => (E("data-v-340cb9ce"), t = t(), H(), t), Q = /* @__PURE__ */ L(() => /* @__PURE__ */ s("div", { id: "fresh-booking-payment-checkout" }, null, -1)), X = [
183
+ const L = (a) => (D("data-v-340cb9ce"), a = a(), E(), a), Q = /* @__PURE__ */ L(() => /* @__PURE__ */ s("div", { id: "fresh-booking-payment-checkout" }, null, -1)), X = [
184
184
  Q
185
185
  ], Y = /* @__PURE__ */ b({
186
186
  __name: "CheckoutWindow",
187
- setup(t) {
187
+ setup(a) {
188
188
  const { paymentGatewayId: l } = G(F());
189
189
  return $(() => {
190
- const a = document.createElement("script"), n = document.createElement("script");
191
- a.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(a), document.head.appendChild(n);
192
- }), (a, n) => (p(), g("div", null, [
190
+ const t = document.createElement("script"), n = document.createElement("script");
191
+ t.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(t), document.head.appendChild(n);
192
+ }), (t, n) => (p(), g("div", null, [
193
193
  s("div", {
194
194
  id: "fresh-booking-payment-checkout-wrapper",
195
195
  class: h({ reePay: i(l) === i(j).ReePay })