@revolugo/elements 7.9.2 → 7.10.0-alpha.0

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 (55) hide show
  1. package/dist/css/{revolugo.bookingpaymentform.bZwObBX3.css → revolugo.bookingpaymentform.CekI3oIR.css} +1 -1
  2. package/dist/css/{revolugo.revolugoelements.Y9cCezcf.css → revolugo.revolugoelements.BubxAE8L.css} +1 -1
  3. package/dist/index.es.min.js +1 -1
  4. package/dist/index.es.min.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist/{revolugo.banktransferdetails.BdUMTo3R.min.js → revolugo.banktransferdetails.BkIF6A0p.min.js} +6 -6
  8. package/dist/{revolugo.bookingdetailssidebar.Dgo7b4fr.min.js → revolugo.bookingdetailssidebar.i_wTVX8C.min.js} +7 -7
  9. package/dist/{revolugo.bookingmanager.D3JRIVdf.min.js → revolugo.bookingmanager.Bk_Lavi-.min.js} +6 -6
  10. package/dist/{revolugo.bookingpaymentform.DXzM5rh2.min.js → revolugo.bookingpaymentform.DIGdozEo.min.js} +290 -284
  11. package/dist/{revolugo.cancellationpoliciesbadge.CWZRwHQL.min.js → revolugo.cancellationpoliciesbadge.DLUXQKU2.min.js} +5 -5
  12. package/dist/{revolugo.cancellationpolicieslist.Cik2kCyn.min.js → revolugo.cancellationpolicieslist.APN7WGnr.min.js} +5 -5
  13. package/dist/{revolugo.creditcardstripeform.Cc7ueXyH.min.js → revolugo.creditcardstripeform.DzsGX36k.min.js} +54 -54
  14. package/dist/{revolugo.creditcardstripeform.DAP69xpE.min.js → revolugo.creditcardstripeform.YRw_aIDR.min.js} +7 -7
  15. package/dist/{revolugo.creditcardstripeform.props.DrW0DvRA.min.js → revolugo.creditcardstripeform.props.C4lAZ1a1.min.js} +1 -1
  16. package/dist/{revolugo.currencypickerbtn.BUt58N1g.min.js → revolugo.currencypickerbtn.B2PAdR4Q.min.js} +7 -7
  17. package/dist/{revolugo.dist.knLVQ8Yo.min.js → revolugo.dist.DsQBepcw.min.js} +2 -2
  18. package/dist/{revolugo.fastbookingflow.C1IPL7Wz.min.js → revolugo.fastbookingflow.CCPF5Vnl.min.js} +6 -6
  19. package/dist/{revolugo.framework.D1BYTtsP.min.js → revolugo.framework.Dz_s509-.min.js} +2 -2
  20. package/dist/{revolugo.fullbookingflow.2Qh_Rn3r.min.js → revolugo.fullbookingflow.Dc1QRQL1.min.js} +6 -6
  21. package/dist/revolugo.hoteldescriptionview.BC8YcXKJ.min.js +24 -0
  22. package/dist/{revolugo.hotelofferlist.DF9DySYO.min.js → revolugo.hotelofferlist.CVibU8MW.min.js} +5 -5
  23. package/dist/{revolugo.hoteloffersearchmenu.lsaEIXAD.min.js → revolugo.hoteloffersearchmenu.Dkni4W77.min.js} +6 -6
  24. package/dist/revolugo.hoteloffersmap.Ck2r5Ica.min.js +24 -0
  25. package/dist/{revolugo.hoteloffersview.CwVTZrIy.min.js → revolugo.hoteloffersview.Dmki5lbN.min.js} +4 -4
  26. package/dist/revolugo.hotelroomofferlist.Dw9yjT84.min.js +24 -0
  27. package/dist/{revolugo.hotelroomoffersbookingflow.Bt3RB9tI.min.js → revolugo.hotelroomoffersbookingflow.CjG8r_8-.min.js} +6 -6
  28. package/dist/{revolugo.hotelroomoffersearchmenu.DwWvwHzo.min.js → revolugo.hotelroomoffersearchmenu.BuxlQgGs.min.js} +6 -6
  29. package/dist/revolugo.hotelroomoffersview.QA9qyQnm.min.js +24 -0
  30. package/dist/{revolugo.langpickerbtn.Bh53pTbv.min.js → revolugo.langpickerbtn.Qr4hWPeQ.min.js} +6 -6
  31. package/dist/{revolugo.leaflet-src.CUL1V3LK.min.js → revolugo.leaflet-src.CtLpIV-y.min.js} +10 -7
  32. package/dist/{revolugo.leaflet-src.esm.uQWGRTgE.min.js → revolugo.leaflet-src.esm.DzYPfo81.min.js} +9 -6
  33. package/dist/{revolugo.marker-icon-2x.Clwf4HLg.min.js → revolugo.marker-icon-2x.BBE8dvJp.min.js} +2 -2
  34. package/dist/{revolugo.marker-icon.Ca4jaSAM.min.js → revolugo.marker-icon.VORuIHX9.min.js} +2 -2
  35. package/dist/{revolugo.marker-shadow.D1Jwr2zu.min.js → revolugo.marker-shadow.BcaYGGj2.min.js} +2 -2
  36. package/dist/revolugo.min.js +51 -51
  37. package/dist/{revolugo.prebookform.D9H0CQOd.min.js → revolugo.prebookform.B5RysUav.min.js} +5 -5
  38. package/dist/{revolugo.preferencesmenu.Dt0J7vHr.min.js → revolugo.preferencesmenu.C0cSq8mI.min.js} +34 -34
  39. package/dist/{revolugo.revolugo-config.C_43Dlfo.min.js → revolugo.revolugo-config.BT1RvE2r.min.js} +1726 -1658
  40. package/dist/{revolugo.revolugoelements.ButiPTn4.min.js → revolugo.revolugoelements.BTtMoDku.min.js} +1236 -1222
  41. package/dist/{revolugo.rolldown-runtime.C0ojsOrv.min.js → revolugo.rolldown-runtime.C2H8viMH.min.js} +5 -5
  42. package/dist/{revolugo.roominglisteditor.QCEacJxN.min.js → revolugo.roominglisteditor.ShSj52Fm.min.js} +5 -5
  43. package/dist/{revolugo.storybooktoolbar.DsIqGjkU.min.js → revolugo.storybooktoolbar.fUxtyNzh.min.js} +29 -29
  44. package/dist/{revolugo.termsandconditions.Cg2Ue6hL.min.js → revolugo.termsandconditions.BqD8ggSj.min.js} +5 -5
  45. package/dist/{revolugo.theme.B3YqZDSM.min.js → revolugo.theme.3NDZTWZ6.min.js} +5529 -5363
  46. package/dist/{revolugo.ui.i3fAz-nr.min.js → revolugo.ui.Lh1JYkQ6.min.js} +2416 -2406
  47. package/dist/{revolugo.vtoolbar.C_LXGvYl.min.js → revolugo.vtoolbar.BBIomzYe.min.js} +19 -19
  48. package/dist/{revolugo.webcomponentwrapper.CAWD3XPR.min.js → revolugo.webcomponentwrapper.BSBc4gC3.min.js} +10 -10
  49. package/dist/{revolugo2.preferencesmenu.DzuFx1_P.min.js → revolugo2.preferencesmenu.BHrnhBEz.min.js} +5 -5
  50. package/package.json +5 -5
  51. package/dist/revolugo.bookingpaymentform.DL3Qt5Nd.min.js +0 -4
  52. package/dist/revolugo.hoteldescriptionview.DWFKLARx.min.js +0 -24
  53. package/dist/revolugo.hoteloffersmap.CAtFITJn.min.js +0 -24
  54. package/dist/revolugo.hotelroomofferlist.CfP-u11h.min.js +0 -24
  55. package/dist/revolugo.hotelroomoffersview.CTyiEFgB.min.js +0 -24
@@ -1,7 +1,8 @@
1
- import { $r as St, An as It, Br as dt, C as Rt, Cn as j, Ct as Ft, Dr as X, Kr as k, M as Dt, Mn as et, Nr as rt, On as ht, Ot as At, Pi as vt, Pr as zt, Si as ft, Sr as S, T as Ot, Ti as Ut, Tr as e, Ur as c, Zn as it, br as w, er as P, fi as h, i as Et, jr as Vt, jt as Ht, kr as yt, kt as Nt, li as Mt, mr as W, ni as $t, pi as lt, pn as K, pr as Ct, qr as qt, r as jt, ri as a, sn as Gt, ti as ut, vi as r, vr as F, wi as u, wr as U, xi as Kt, xr as _, yr as s, yt as Yt, zn as Zt } from "./revolugo.theme.B3YqZDSM.min.js";
2
- import { $ as Y, At as Jt, Bt as Qt, Gt as mt, K as Wt, Kt as ct, Lt as Xt, Ot as te, Q as g, Rt as ee, Ut as Z, Wt as ae, X as oe, Y as ie, Yt as ne, Z as se, _t as re, at as nt, ct as le, dn as ue, et as N, ft as ce, gt as de, it as st, kt as me, lt as ve, mn as ge, nn as I, nt as be, ot as pe, pt as ke, q as J, qt as he, rt as z, sn as fe, st as ye, tn as E, tt as Ce, ut as Be, zt as Q } from "./revolugo.ui.i3fAz-nr.min.js";
3
- import { n as Bt, t as xe } from "./revolugo.creditcardstripeform.Cc7ueXyH.min.js";
4
- import { t as xt } from "./revolugo.vtoolbar.C_LXGvYl.min.js";
1
+ import { n as St } from "./revolugo.rolldown-runtime.C2H8viMH.min.js";
2
+ import { $n as st, $r as It, An as Rt, Br as vt, C as Ft, Cn as j, Ct as Dt, Dr as X, Kr as k, M as At, Mn as ot, Nr as at, On as ft, Ot as zt, Pi as rt, Pr as Ot, Si as yt, Sr as S, T as Ut, Ti as Et, Tr as e, Ur as c, br as y, er as P, fi as h, i as Ht, jr as Vt, jt as Nt, kr as Mt, kt as $t, li as qt, mr as W, ni as jt, pi as ct, pn as K, pr as Ct, qr as Gt, r as Kt, ri as a, sn as Yt, ti as dt, vi as r, vr as I, wi as u, wr as E, xi as Zt, xr as B, yr as s, yt as Jt, zn as Qt } from "./revolugo.theme.3NDZTWZ6.min.js";
3
+ import { $ as Y, Dt as Wt, Gt as mt, Ht as Z, It as Xt, Jt as te, K as ee, Kt as ae, Lt as oe, Ot as ie, Q as g, Rt as J, Ut as ne, Wt as gt, X as se, Y as re, Z as le, at as lt, ct as ue, en as H, et as M, ft as ce, gt as de, ht as me, it as ut, kt as ve, lt as ge, nt as be, on as pe, ot as ke, pn as he, pt as fe, q as Q, rt as O, st as ye, tn as R, tt as Ce, un as xe, ut as Pe, zt as Be } from "./revolugo.ui.Lh1JYkQ6.min.js";
4
+ import { n as xt, t as we } from "./revolugo.creditcardstripeform.DzsGX36k.min.js";
5
+ import { t as Pt } from "./revolugo.vtoolbar.BBIomzYe.min.js";
5
6
  function Lt(t) {
6
7
  try {
7
8
  if (typeof document < "u") {
@@ -22,15 +23,15 @@ function Lt(t) {
22
23
  console.error("[revolugo-elements] ", l);
23
24
  }
24
25
  }
25
- var Pe = {}, we = { class: "d-flex justify-space-between" }, Te = { class: "text-right" };
26
- function _e(t, l) {
26
+ var Te = {}, _e = { class: "d-flex justify-space-between" }, Le = { class: "text-right" };
27
+ function Se(t, l) {
27
28
  return c(), S("div", null, [
28
- e(N, {
29
+ e(M, {
29
30
  class: "mb-1",
30
31
  elevation: "0",
31
32
  variant: "outlined"
32
33
  }, {
33
- default: a(() => [e(z, { class: "pb-5" }, {
34
+ default: a(() => [e(O, { class: "pb-5" }, {
34
35
  default: a(() => [k(t.$slots, "hotel", {}, () => [
35
36
  e(g, {
36
37
  class: "my-2",
@@ -55,13 +56,13 @@ function _e(t, l) {
55
56
  })]),
56
57
  _: 3
57
58
  }),
58
- e(N, {
59
+ e(M, {
59
60
  class: "mb-1",
60
61
  elevation: "0",
61
62
  variant: "outlined"
62
63
  }, {
63
64
  default: a(() => [
64
- e(st, { class: "pb-2" }, {
65
+ e(ut, { class: "pb-2" }, {
65
66
  default: a(() => [k(t.$slots, "booking-heading", {}, () => [e(g, {
66
67
  height: "20",
67
68
  tile: "",
@@ -71,9 +72,9 @@ function _e(t, l) {
71
72
  _: 3
72
73
  }),
73
74
  e(Y),
74
- e(z, { class: "pb-2" }, {
75
- default: a(() => [e(E, { class: "ma-0 w-100" }, {
76
- default: a(() => [e(I, { class: "py-0 pl-0" }, {
75
+ e(O, { class: "pb-2" }, {
76
+ default: a(() => [e(H, { class: "ma-0 w-100" }, {
77
+ default: a(() => [e(R, { class: "py-0 pl-0" }, {
77
78
  default: a(() => [k(t.$slots, "check-in-title", {}, () => [e(g, {
78
79
  class: "my-1",
79
80
  height: "20px",
@@ -82,7 +83,7 @@ function _e(t, l) {
82
83
  width: "100%"
83
84
  })])]),
84
85
  _: 3
85
- }), e(I, { class: "ml-1 py-0" }, {
86
+ }), e(R, { class: "ml-1 py-0" }, {
86
87
  default: a(() => [k(t.$slots, "check-out-title", {}, () => [e(g, {
87
88
  class: "my-1",
88
89
  height: "20px",
@@ -93,9 +94,9 @@ function _e(t, l) {
93
94
  _: 3
94
95
  })]),
95
96
  _: 3
96
- }), e(E, { class: "ma-0 w-100" }, {
97
+ }), e(H, { class: "ma-0 w-100" }, {
97
98
  default: a(() => [
98
- e(I, { class: "pa-0" }, {
99
+ e(R, { class: "pa-0" }, {
99
100
  default: a(() => [k(t.$slots, "check-in-date", {}, () => [e(g, {
100
101
  class: "my-1",
101
102
  height: "20px",
@@ -115,7 +116,7 @@ function _e(t, l) {
115
116
  class: "mx-2",
116
117
  vertical: ""
117
118
  }),
118
- e(I, { class: "pa-0" }, {
119
+ e(R, { class: "pa-0" }, {
119
120
  default: a(() => [k(t.$slots, "check-out-date", {}, () => [e(g, {
120
121
  class: "my-1",
121
122
  height: "20px",
@@ -136,7 +137,7 @@ function _e(t, l) {
136
137
  })]),
137
138
  _: 3
138
139
  }),
139
- e(z, { class: "pb-0" }, {
140
+ e(O, { class: "pb-0" }, {
140
141
  default: a(() => [k(t.$slots, "length-of-stay-title", {}, () => [e(g, {
141
142
  class: "my-1",
142
143
  height: "20px",
@@ -146,7 +147,7 @@ function _e(t, l) {
146
147
  })])]),
147
148
  _: 3
148
149
  }),
149
- e(z, { class: "pt-0 pb-2" }, {
150
+ e(O, { class: "pt-0 pb-2" }, {
150
151
  default: a(() => [k(t.$slots, "length-of-stay-count", {}, () => [e(g, {
151
152
  class: "my-1",
152
153
  height: "20px",
@@ -157,7 +158,7 @@ function _e(t, l) {
157
158
  _: 3
158
159
  }),
159
160
  e(Y, { class: "mx-4" }),
160
- e(nt, { class: "pb-2" }, {
161
+ e(lt, { class: "pb-2" }, {
161
162
  default: a(() => [k(t.$slots, "room-selected-heading", {}, () => [e(g, {
162
163
  class: "my-1",
163
164
  height: "20px",
@@ -167,7 +168,7 @@ function _e(t, l) {
167
168
  })])]),
168
169
  _: 3
169
170
  }),
170
- e(z, { class: "pb-7" }, {
171
+ e(O, { class: "pb-7" }, {
171
172
  default: a(() => [k(t.$slots, "room-selected-list", {}, () => [e(g, {
172
173
  class: "my-1",
173
174
  height: "20px",
@@ -186,13 +187,13 @@ function _e(t, l) {
186
187
  ]),
187
188
  _: 3
188
189
  }),
189
- e(N, {
190
+ e(M, {
190
191
  class: "mb-1",
191
192
  elevation: "0",
192
193
  variant: "outlined"
193
194
  }, {
194
195
  default: a(() => [
195
- e(st, { class: "pb-2" }, {
196
+ e(ut, { class: "pb-2" }, {
196
197
  default: a(() => [k(t.$slots, "price-heading", {}, () => [e(g, {
197
198
  height: "20",
198
199
  tile: "",
@@ -202,7 +203,7 @@ function _e(t, l) {
202
203
  _: 3
203
204
  }),
204
205
  e(Y),
205
- e(nt, null, {
206
+ e(lt, null, {
206
207
  default: a(() => [k(t.$slots, "price-info-base", {}, () => [e(g, {
207
208
  height: "20px",
208
209
  tile: "",
@@ -211,7 +212,7 @@ function _e(t, l) {
211
212
  })])]),
212
213
  _: 3
213
214
  }),
214
- e(nt, { class: "py-0" }, {
215
+ e(lt, { class: "py-0" }, {
215
216
  default: a(() => [k(t.$slots, "price-info-taxes", {}, () => [e(g, {
216
217
  class: "mb-4",
217
218
  height: "20px",
@@ -221,13 +222,13 @@ function _e(t, l) {
221
222
  })])]),
222
223
  _: 3
223
224
  }),
224
- e(z, { class: "bg-grey-lighten-3 py-3" }, {
225
- default: a(() => [s("div", we, [k(t.$slots, "total", {}, () => [e(g, {
225
+ e(O, { class: "bg-grey-lighten-3 py-3" }, {
226
+ default: a(() => [s("div", _e, [k(t.$slots, "total", {}, () => [e(g, {
226
227
  height: "20",
227
228
  tile: "",
228
229
  type: "heading",
229
230
  width: "50px"
230
- })]), s("div", Te, [k(t.$slots, "total-count", {}, () => [e(g, {
231
+ })]), s("div", Le, [k(t.$slots, "total-count", {}, () => [e(g, {
231
232
  height: "20",
232
233
  tile: "",
233
234
  type: "heading",
@@ -244,12 +245,12 @@ function _e(t, l) {
244
245
  ]),
245
246
  _: 3
246
247
  }),
247
- e(N, {
248
+ e(M, {
248
249
  elevation: "0",
249
250
  variant: "outlined"
250
251
  }, {
251
252
  default: a(() => [
252
- e(st, { class: "pb-2" }, {
253
+ e(ut, { class: "pb-2" }, {
253
254
  default: a(() => [k(t.$slots, "cancellation-policies-heading", {}, () => [e(g, {
254
255
  class: "my-1",
255
256
  height: "20px",
@@ -260,7 +261,7 @@ function _e(t, l) {
260
261
  _: 3
261
262
  }),
262
263
  e(Y),
263
- e(z, { class: "pb-5" }, {
264
+ e(O, { class: "pb-5" }, {
264
265
  default: a(() => [k(t.$slots, "cancellation-policies-list", {}, () => [e(g, {
265
266
  class: "my-1",
266
267
  height: "20px",
@@ -275,19 +276,19 @@ function _e(t, l) {
275
276
  })
276
277
  ]);
277
278
  }
278
- var Le = /* @__PURE__ */ mt(Pe, [["render", _e]]), Se = { class: "text-h7 font-weight-bold text-grey-darken-4 ma-0 mr-2" }, Ie = { class: "text-h8 text-grey-darken-2" }, Re = { class: "text-body-2 mb-1 text-black" }, Fe = { class: "text-body-2 mb-1 text-black" }, De = { class: "font-weight-bold text-body-2 mb-0 text-black" }, Ae = { class: "font-weight-bold text-body-2 mb-0 text-black" }, ze = {
279
+ var Ie = /* @__PURE__ */ gt(Te, [["render", Se]]), Re = { class: "text-h7 font-weight-bold text-grey-darken-4 ma-0 mr-2" }, Fe = { class: "text-h8 text-grey-darken-2" }, De = { class: "text-body-2 mb-1 text-black" }, Ae = { class: "text-body-2 mb-1 text-black" }, ze = { class: "font-weight-bold text-body-2 mb-0 text-black" }, Oe = { class: "font-weight-bold text-body-2 mb-0 text-black" }, Ue = {
279
280
  key: 0,
280
281
  class: "text-body-2 text-grey-darken-1 mb-0"
281
- }, Oe = {
282
+ }, Ee = {
282
283
  key: 0,
283
284
  class: "text-body-2 text-grey-darken-1 mb-0"
284
- }, Ue = { key: 1 }, Ee = { class: "mb-1 text-black" }, Ve = { class: "font-weight-bold mb-0 text-black" }, He = { class: "font-weight-bold mb-0 text-black" }, Ne = { class: "d-flex flex-column ga-2" }, Me = { class: "text-caption font-weight-bold text-orange my-0 rounded text-center" }, $e = { class: "caption font-weight-bold text-black" }, qe = { class: "float-right text-black" }, je = {
285
+ }, He = { key: 1 }, Ve = { class: "mb-1 text-black" }, Ne = { class: "font-weight-bold mb-0 text-black" }, Me = { class: "font-weight-bold mb-0 text-black" }, $e = { class: "d-flex flex-column ga-2" }, qe = { class: "text-caption font-weight-bold text-orange my-0 rounded text-center" }, je = { class: "caption font-weight-bold text-black" }, Ge = { class: "float-right text-black" }, Ke = {
285
286
  key: 0,
286
287
  class: "pt-0 pb-4"
287
- }, Ge = { class: "text-caption font-weight-bold text-black" }, Ke = { class: "float-right text-black" }, Ye = { key: 1 }, Ze = { class: "font-weight-black text-h6 mb-0 text-black" }, Je = {
288
+ }, Ye = { class: "text-caption font-weight-bold text-black" }, Ze = { class: "float-right text-black" }, Je = { key: 1 }, Qe = { class: "font-weight-black text-h6 mb-0 text-black" }, We = {
288
289
  key: 0,
289
290
  class: "text-caption mb-0 text-black"
290
- }, Qe = { class: "text-caption mb-0" }, Pt = /* @__PURE__ */ X({
291
+ }, Xe = { class: "text-caption mb-0" }, Bt = /* @__PURE__ */ X({
291
292
  __name: "BookingDetailsSidebarUI",
292
293
  props: {
293
294
  adultCount: {},
@@ -297,34 +298,34 @@ var Le = /* @__PURE__ */ mt(Pe, [["render", _e]]), Se = { class: "text-h7 font-w
297
298
  hotelRoomOffer: {}
298
299
  },
299
300
  setup(t) {
300
- const { locale: l, t: o } = et(), n = t;
301
+ const { locale: l, t: o } = ot(), n = t;
301
302
  function m(f) {
302
303
  return f ? (0, K.default)(f).locale(l.value).format("ll") : null;
303
304
  }
304
305
  function b(f) {
305
- const B = (0, K.default)(`1/1/1 ${f}`, "h:mm A");
306
- return f ? (0, K.default)(B).format("HH:mm") : null;
306
+ const C = (0, K.default)(`1/1/1 ${f}`, "h:mm A");
307
+ return f ? (0, K.default)(C).format("HH:mm") : null;
307
308
  }
308
- const v = F(() => !n.checkInDate || !n.checkOutDate ? 0 : (0, K.default)(n.checkOutDate).diff((0, K.default)(n.checkInDate), "days")), i = F(() => n.hotelRoomOffer.hotelRooms.reduce((f, B) => f + B.count, 0) || 0), T = F(() => n.hotelRoomOffer.hotelRooms.some((f) => f.beds.some((B) => B.length > 1)));
309
- return (f, B) => (c(), w(Le, null, {
309
+ const v = I(() => !n.checkInDate || !n.checkOutDate ? 0 : (0, K.default)(n.checkOutDate).diff((0, K.default)(n.checkInDate), "days")), i = I(() => n.hotelRoomOffer.hotelRooms.reduce((f, C) => f + C.count, 0) || 0), w = I(() => n.hotelRoomOffer.hotelRooms.some((f) => f.beds.some((C) => C.length > 1)));
310
+ return (f, C) => (c(), y(Ie, null, {
310
311
  hotel: a(() => [t.hotel ? (c(), S(W, { key: 0 }, [
311
- e(E, { "no-gutters": "" }, {
312
- default: a(() => [t.hotel.name ? (c(), w(I, { key: 0 }, {
313
- default: a(() => [s("span", Se, u(t.hotel.name), 1), e(de, {
312
+ e(H, { "no-gutters": "" }, {
313
+ default: a(() => [t.hotel.name ? (c(), y(R, { key: 0 }, {
314
+ default: a(() => [s("span", Re, u(t.hotel.name), 1), e(me, {
314
315
  attach: f.$parent?.$el,
315
316
  location: "bottom"
316
317
  }, {
317
- activator: a(({ props: L }) => [s("span", ft(yt(L)), [e(ye, { count: t.hotel.rating }, null, 8, ["count"])], 16)]),
318
+ activator: a(({ props: L }) => [s("span", yt(Mt(L)), [e(ye, { count: t.hotel.rating }, null, 8, ["count"])], 16)]),
318
319
  default: a(() => [s("span", null, u(r(o)("BookingDetailsSidebar.hotel.starRating")), 1)]),
319
320
  _: 1
320
321
  }, 8, ["attach"])]),
321
322
  _: 1
322
- })) : _("", !0)]),
323
+ })) : B("", !0)]),
323
324
  _: 1
324
325
  }),
325
- e(E, { "no-gutters": "" }, {
326
- default: a(() => [e(I, null, {
327
- default: a(() => [s("small", Ie, u(r(o)("BookingDetailsSidebar.hotel.fullAddress", {
326
+ e(H, { "no-gutters": "" }, {
327
+ default: a(() => [e(R, null, {
328
+ default: a(() => [s("small", Fe, u(r(o)("BookingDetailsSidebar.hotel.fullAddress", {
328
329
  address: t.hotel.address,
329
330
  postalCode: t.hotel.postalCode,
330
331
  city: t.hotel.city,
@@ -334,9 +335,9 @@ var Le = /* @__PURE__ */ mt(Pe, [["render", _e]]), Se = { class: "text-h7 font-w
334
335
  })]),
335
336
  _: 1
336
337
  }),
337
- e(E, { "no-gutters": "" }, {
338
- default: a(() => [e(I, null, {
339
- default: a(() => [e(le, {
338
+ e(H, { "no-gutters": "" }, {
339
+ default: a(() => [e(R, null, {
340
+ default: a(() => [e(ue, {
340
341
  features: { ReviewRatingDetails: !1 },
341
342
  hotel: t.hotel,
342
343
  reverse: "",
@@ -346,35 +347,35 @@ var Le = /* @__PURE__ */ mt(Pe, [["render", _e]]), Se = { class: "text-h7 font-w
346
347
  })]),
347
348
  _: 1
348
349
  })
349
- ], 64)) : _("", !0)]),
350
+ ], 64)) : B("", !0)]),
350
351
  "booking-heading": a(() => [s("h5", null, u(r(o)("BookingDetailsSidebar.bookingHeading")), 1)]),
351
- "check-in-title": a(() => [s("p", Re, u(r(o)("BookingDetailsSidebar.checkInTitle")), 1)]),
352
- "check-out-title": a(() => [s("p", Fe, u(r(o)("BookingDetailsSidebar.checkOutTitle")), 1)]),
353
- "check-in-date": a(() => [s("p", De, u(m(t.checkInDate)), 1)]),
354
- "check-out-date": a(() => [s("p", Ae, u(m(t.checkOutDate)), 1)]),
355
- "check-in-time": a(() => [t.hotel?.checkInTime ? (c(), S("p", ze, u(r(o)("BookingDetailsSidebar.checkInTime", { value: b(t.hotel?.checkInTime) })), 1)) : _("", !0), B[0] || (B[0] = s("template", null, [s("span")], -1))]),
356
- "check-out-time": a(() => [t.hotel?.checkOutTime ? (c(), S("p", Oe, u(r(o)("BookingDetailsSidebar.checkOutTime", { value: b(t.hotel?.checkOutTime) })), 1)) : (c(), S("span", Ue))]),
357
- "length-of-stay-title": a(() => [s("p", Ee, u(r(o)("BookingDetailsSidebar.lengthOfStayTitle")), 1)]),
358
- "length-of-stay-count": a(() => [s("p", Ve, u(r(o)("BookingDetailsSidebar.nightCount", {
352
+ "check-in-title": a(() => [s("p", De, u(r(o)("BookingDetailsSidebar.checkInTitle")), 1)]),
353
+ "check-out-title": a(() => [s("p", Ae, u(r(o)("BookingDetailsSidebar.checkOutTitle")), 1)]),
354
+ "check-in-date": a(() => [s("p", ze, u(m(t.checkInDate)), 1)]),
355
+ "check-out-date": a(() => [s("p", Oe, u(m(t.checkOutDate)), 1)]),
356
+ "check-in-time": a(() => [t.hotel?.checkInTime ? (c(), S("p", Ue, u(r(o)("BookingDetailsSidebar.checkInTime", { value: b(t.hotel?.checkInTime) })), 1)) : B("", !0), C[0] || (C[0] = s("template", null, [s("span")], -1))]),
357
+ "check-out-time": a(() => [t.hotel?.checkOutTime ? (c(), S("p", Ee, u(r(o)("BookingDetailsSidebar.checkOutTime", { value: b(t.hotel?.checkOutTime) })), 1)) : (c(), S("span", He))]),
358
+ "length-of-stay-title": a(() => [s("p", Ve, u(r(o)("BookingDetailsSidebar.lengthOfStayTitle")), 1)]),
359
+ "length-of-stay-count": a(() => [s("p", Ne, u(r(o)("BookingDetailsSidebar.nightCount", {
359
360
  n: v.value,
360
361
  value: v.value
361
362
  })), 1)]),
362
- "room-selected-heading": a(() => [s("p", He, u(r(o)("BookingDetailsSidebar.roomSelectedHeading")), 1)]),
363
- "room-selected-list": a(() => [s("div", Ne, [
363
+ "room-selected-heading": a(() => [s("p", Me, u(r(o)("BookingDetailsSidebar.roomSelectedHeading")), 1)]),
364
+ "room-selected-list": a(() => [s("div", $e, [
364
365
  e(ce, { "hotel-rooms": t.hotelRoomOffer.hotelRooms.map((L) => ({
365
366
  ...L,
366
367
  id: L.id
367
368
  })) }, null, 8, ["hotel-rooms"]),
368
- t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? (c(), w(ke, {
369
+ t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? (c(), y(fe, {
369
370
  key: 0,
370
371
  "breakfast-option": "INCLUDED",
371
372
  breakfastCount: t.hotelRoomOffer?.breakfastCount
372
- }, null, 8, ["breakfastCount"])) : _("", !0),
373
- t.hotelRoomOffer.stayTaxesInfo === r(Zt).NotIncluded ? (c(), w(oe, {
373
+ }, null, 8, ["breakfastCount"])) : B("", !0),
374
+ t.hotelRoomOffer.stayTaxesInfo === r(Qt).NotIncluded ? (c(), y(se, {
374
375
  key: 1,
375
376
  "adult-count": t.hotelRoomOffer.taxes?.length ? t.adultCount : 0
376
- }, null, 8, ["adult-count"])) : _("", !0),
377
- T.value ? (c(), w(Wt, {
377
+ }, null, 8, ["adult-count"])) : B("", !0),
378
+ w.value ? (c(), y(ee, {
378
379
  key: 2,
379
380
  density: "compact",
380
381
  icon: !1,
@@ -382,38 +383,38 @@ var Le = /* @__PURE__ */ mt(Pe, [["render", _e]]), Se = { class: "text-h7 font-w
382
383
  type: "warning",
383
384
  variant: "tonal"
384
385
  }, {
385
- default: a(() => [s("p", Me, u(r(o)("BookingDetailsSidebar.bedTypeNote")), 1)]),
386
+ default: a(() => [s("p", qe, u(r(o)("BookingDetailsSidebar.bedTypeNote")), 1)]),
386
387
  _: 1
387
- })) : _("", !0)
388
+ })) : B("", !0)
388
389
  ])]),
389
390
  "price-heading": a(() => [s("h5", null, u(r(o)("BookingDetailsSidebar.priceHeading")), 1)]),
390
- "price-info-base": a(() => [t.hotelRoomOffer ? (c(), S(W, { key: 0 }, [s("span", $e, u(r(o)("BookingDetailsSidebar.roomCount", {
391
+ "price-info-base": a(() => [t.hotelRoomOffer ? (c(), S(W, { key: 0 }, [s("span", je, u(r(o)("BookingDetailsSidebar.roomCount", {
391
392
  n: i.value,
392
393
  value: i.value
393
394
  })) + " x " + u(r(o)("BookingDetailsSidebar.nightCount", {
394
395
  n: v.value,
395
396
  value: v.value
396
- })), 1), s("span", qe, [e(Z, {
397
+ })), 1), s("span", Ge, [e(Z, {
397
398
  amount: t.hotelRoomOffer.price,
398
399
  currency: t.hotelRoomOffer.currency
399
- }, null, 8, ["amount", "currency"])])], 64)) : _("", !0)]),
400
- "price-info-taxes": a(() => [t.hotelRoomOffer && t.hotelRoomOffer.taxIncludedPrice !== t.hotelRoomOffer.price ? (c(), S("div", je, [s("span", Ge, u(r(o)("BookingDetailsSidebar.taxesAmount")), 1), s("span", Ke, [e(Z, {
400
+ }, null, 8, ["amount", "currency"])])], 64)) : B("", !0)]),
401
+ "price-info-taxes": a(() => [t.hotelRoomOffer && t.hotelRoomOffer.taxIncludedPrice !== t.hotelRoomOffer.price ? (c(), S("div", Ke, [s("span", Ye, u(r(o)("BookingDetailsSidebar.taxesAmount")), 1), s("span", Ze, [e(Z, {
401
402
  amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price,
402
403
  currency: t.hotelRoomOffer.currency
403
- }, null, 8, ["amount", "currency"])])])) : (c(), S("span", Ye))]),
404
- total: a(() => [s("div", null, [s("p", Ze, u(r(o)("BookingDetailsSidebar.total")), 1), t.adultCount ? (c(), S("p", Je, u(r(o)("BookingDetailsSidebar.guestsCount", {
404
+ }, null, 8, ["amount", "currency"])])])) : (c(), S("span", Je))]),
405
+ total: a(() => [s("div", null, [s("p", Qe, u(r(o)("BookingDetailsSidebar.total")), 1), t.adultCount ? (c(), S("p", We, u(r(o)("BookingDetailsSidebar.guestsCount", {
405
406
  n: t.adultCount,
406
407
  value: t.adultCount
407
- })), 1)) : _("", !0)])]),
408
- "total-count": a(() => [t.hotelRoomOffer ? (c(), w(Z, {
408
+ })), 1)) : B("", !0)])]),
409
+ "total-count": a(() => [t.hotelRoomOffer ? (c(), y(Z, {
409
410
  key: 0,
410
411
  amount: t.hotelRoomOffer.taxIncludedPrice,
411
412
  class: "font-weight-black text-h6 text-black",
412
413
  currency: t.hotelRoomOffer.currency
413
- }, null, 8, ["amount", "currency"])) : _("", !0)]),
414
- taxes: a(() => [s("p", Qe, u(r(o)("BookingDetailsSidebar.taxes")), 1)]),
414
+ }, null, 8, ["amount", "currency"])) : B("", !0)]),
415
+ taxes: a(() => [s("p", Xe, u(r(o)("BookingDetailsSidebar.taxes")), 1)]),
415
416
  "cancellation-policies-heading": a(() => [s("h5", null, u(r(o)("BookingDetailsSidebar.bookingPoliciesHeading")), 1)]),
416
- "cancellation-policies-list": a(() => [t.hotel && t.hotelRoomOffer ? (c(), w(se, {
417
+ "cancellation-policies-list": a(() => [t.hotel && t.hotelRoomOffer ? (c(), y(le, {
417
418
  key: 0,
418
419
  "cancellation-policies": t.hotelRoomOffer.cancellationPolicies,
419
420
  "check-in-date": t.checkInDate,
@@ -423,12 +424,12 @@ var Le = /* @__PURE__ */ mt(Pe, [["render", _e]]), Se = { class: "text-h7 font-w
423
424
  "cancellation-policies",
424
425
  "check-in-date",
425
426
  "timezone"
426
- ])) : _("", !0)]),
427
+ ])) : B("", !0)]),
427
428
  _: 1
428
429
  }));
429
430
  }
430
431
  });
431
- function gt(t) {
432
+ function bt(t) {
432
433
  const l = t;
433
434
  l.__i18n = l.__i18n || [], l.__i18n.push({
434
435
  locale: "",
@@ -2305,8 +2306,8 @@ function gt(t) {
2305
2306
  }
2306
2307
  });
2307
2308
  }
2308
- typeof gt == "function" && gt(Pt);
2309
- var We = /* @__PURE__ */ mt(Pt, [["__scopeId", "data-v-0c3cd674"]]), Xe = /* @__PURE__ */ X({
2309
+ typeof bt == "function" && bt(Bt);
2310
+ var ta = /* @__PURE__ */ gt(Bt, [["__scopeId", "data-v-0c3cd674"]]), ea = /* @__PURE__ */ X({
2310
2311
  __name: "BookingDetailsSidebar",
2311
2312
  props: {
2312
2313
  adultCount: {},
@@ -2315,8 +2316,8 @@ var We = /* @__PURE__ */ mt(Pt, [["__scopeId", "data-v-0c3cd674"]]), Xe = /* @__
2315
2316
  hotelRoomOffer: {}
2316
2317
  },
2317
2318
  setup(t) {
2318
- const l = t, { bookingApiClient: o } = ht(), n = h(null), m = F(() => Nt(l.hotelRoomOffer, null));
2319
- return dt(() => {
2319
+ const l = t, { bookingApiClient: o } = ft(), n = h(null), m = I(() => $t(l.hotelRoomOffer, null));
2320
+ return vt(() => {
2320
2321
  try {
2321
2322
  m.value && o.value.hotels.retrieve({ id: m.value.hotelId }).then((b) => {
2322
2323
  n.value = b;
@@ -2324,7 +2325,7 @@ var We = /* @__PURE__ */ mt(Pt, [["__scopeId", "data-v-0c3cd674"]]), Xe = /* @__
2324
2325
  } catch (b) {
2325
2326
  console.error(b);
2326
2327
  }
2327
- }), (b, v) => (c(), w(We, {
2328
+ }), (b, v) => (c(), y(ta, {
2328
2329
  "adult-count": t.adultCount,
2329
2330
  "check-in-date": t.checkInDate,
2330
2331
  "check-out-date": t.checkOutDate,
@@ -2338,35 +2339,35 @@ var We = /* @__PURE__ */ mt(Pt, [["__scopeId", "data-v-0c3cd674"]]), Xe = /* @__
2338
2339
  "hotel-room-offer"
2339
2340
  ]));
2340
2341
  }
2341
- }), ta = Xe, ea = /* @__PURE__ */ (function(t) {
2342
+ }), aa = ea, oa = /* @__PURE__ */ (function(t) {
2342
2343
  return t.BookingDetails = "BookingDetails", t;
2343
- })({}), aa = { [ea.BookingDetails]: !0 };
2344
- function oa(t) {
2345
- const l = lt(t());
2344
+ })({}), ia = { [oa.BookingDetails]: !0 };
2345
+ function na(t) {
2346
+ const l = ct(t());
2346
2347
  let o = -1;
2347
2348
  function n() {
2348
2349
  clearInterval(o);
2349
2350
  }
2350
2351
  function m() {
2351
- n(), zt(() => l.value = t());
2352
+ n(), Ot(() => l.value = t());
2352
2353
  }
2353
2354
  function b(v) {
2354
- const i = v ? getComputedStyle(v) : { transitionDuration: 0.2 }, T = parseFloat(i.transitionDuration) * 1e3 || 200;
2355
+ const i = v ? getComputedStyle(v) : { transitionDuration: 0.2 }, w = parseFloat(i.transitionDuration) * 1e3 || 200;
2355
2356
  if (n(), l.value <= 0) return;
2356
2357
  const f = performance.now();
2357
2358
  o = window.setInterval(() => {
2358
- const B = performance.now() - f + T;
2359
- l.value = Math.max(t() - B, 0), l.value <= 0 && n();
2360
- }, T);
2359
+ const C = performance.now() - f + w;
2360
+ l.value = Math.max(t() - C, 0), l.value <= 0 && n();
2361
+ }, w);
2361
2362
  }
2362
- return Mt(n), {
2363
+ return qt(n), {
2363
2364
  clear: n,
2364
2365
  time: l,
2365
2366
  start: b,
2366
2367
  reset: m
2367
2368
  };
2368
2369
  }
2369
- var ia = Dt({
2370
+ var sa = At({
2370
2371
  multiLine: Boolean,
2371
2372
  text: String,
2372
2373
  timer: [Boolean, String],
@@ -2375,65 +2376,65 @@ var ia = Dt({
2375
2376
  default: 5e3
2376
2377
  },
2377
2378
  vertical: Boolean,
2378
- ...Be({ location: "bottom" }),
2379
+ ...Pe({ location: "bottom" }),
2379
2380
  ...Ce(),
2380
2381
  ...Xt(),
2381
- ...me(),
2382
- ...jt(),
2383
- ...Yt(he({ transition: "v-snackbar-transition" }), [
2382
+ ...ie(),
2383
+ ...Kt(),
2384
+ ...Jt(ae({ transition: "v-snackbar-transition" }), [
2384
2385
  "persistent",
2385
2386
  "noClickAnimation",
2386
2387
  "scrim",
2387
2388
  "scrollStrategy"
2388
2389
  ])
2389
- }, "VSnackbar"), na = Ot()({
2390
+ }, "VSnackbar"), ra = Ut()({
2390
2391
  name: "VSnackbar",
2391
- props: ia(),
2392
+ props: sa(),
2392
2393
  emits: { "update:modelValue": (t) => !0 },
2393
2394
  setup(t, l) {
2394
2395
  let { slots: o } = l;
2395
- const n = Rt(t, "modelValue"), { positionClasses: m } = be(t), { scopeId: b } = ne(), { themeClasses: v } = Et(t), { colorClasses: i, colorStyles: T, variantClasses: f } = Jt(t), { roundedClasses: B } = ee(t), L = oa(() => Number(t.timeout)), O = h(), x = h(), R = lt(!1), V = lt(0), D = h(), M = Vt(fe, void 0);
2396
- At(() => !!M, () => {
2397
- const y = ue();
2398
- $t(() => {
2399
- D.value = y.mainStyles.value;
2396
+ const n = Ft(t, "modelValue"), { positionClasses: m } = be(t), { scopeId: b } = te(), { themeClasses: v } = Ht(t), { colorClasses: i, colorStyles: w, variantClasses: f } = ve(t), { roundedClasses: C } = oe(t), L = na(() => Number(t.timeout)), U = h(), x = h(), F = ct(!1), V = ct(0), z = h(), $ = Vt(pe, void 0);
2397
+ zt(() => !!$, () => {
2398
+ const T = xe();
2399
+ jt(() => {
2400
+ z.value = T.mainStyles.value;
2400
2401
  });
2401
- }), ut(n, p), ut(() => t.timeout, p), dt(() => {
2402
+ }), dt(n, p), dt(() => t.timeout, p), vt(() => {
2402
2403
  n.value && p();
2403
2404
  });
2404
- let H = -1;
2405
+ let N = -1;
2405
2406
  function p() {
2406
- L.reset(), window.clearTimeout(H);
2407
- const y = Number(t.timeout);
2408
- if (!n.value || y === -1) return;
2409
- const C = Ft(x.value);
2410
- L.start(C), H = window.setTimeout(() => {
2407
+ L.reset(), window.clearTimeout(N);
2408
+ const T = Number(t.timeout);
2409
+ if (!n.value || T === -1) return;
2410
+ const A = Dt(x.value);
2411
+ L.start(A), N = window.setTimeout(() => {
2411
2412
  n.value = !1;
2412
- }, y);
2413
+ }, T);
2413
2414
  }
2414
2415
  function d() {
2415
- L.reset(), window.clearTimeout(H);
2416
+ L.reset(), window.clearTimeout(N);
2416
2417
  }
2417
2418
  function G() {
2418
- R.value = !0, d();
2419
+ F.value = !0, d();
2419
2420
  }
2420
- function A() {
2421
- R.value = !1, p();
2421
+ function D() {
2422
+ F.value = !1, p();
2422
2423
  }
2423
- function tt(y) {
2424
- V.value = y.touches[0].clientY;
2424
+ function it(T) {
2425
+ V.value = T.touches[0].clientY;
2425
2426
  }
2426
- function $(y) {
2427
- Math.abs(V.value - y.changedTouches[0].clientY) > 50 && (n.value = !1);
2427
+ function tt(T) {
2428
+ Math.abs(V.value - T.changedTouches[0].clientY) > 50 && (n.value = !1);
2428
2429
  }
2429
- function at() {
2430
- R.value && A();
2430
+ function q() {
2431
+ F.value && D();
2431
2432
  }
2432
- const ot = F(() => t.location.split(" ").reduce((y, C) => (y[`v-snackbar--${C}`] = !0, y), {}));
2433
- return ge(() => {
2434
- const y = ct.filterProps(t), C = !!(o.default || o.text || t.text);
2435
- return e(ct, rt({
2436
- ref: O,
2433
+ const nt = I(() => t.location.split(" ").reduce((T, A) => (T[`v-snackbar--${A}`] = !0, T), {}));
2434
+ return he(() => {
2435
+ const T = mt.filterProps(t), A = !!(o.default || o.text || t.text);
2436
+ return e(mt, at({
2437
+ ref: U,
2437
2438
  class: [
2438
2439
  "v-snackbar",
2439
2440
  {
@@ -2442,53 +2443,53 @@ var ia = Dt({
2442
2443
  "v-snackbar--timer": !!t.timer,
2443
2444
  "v-snackbar--vertical": t.vertical
2444
2445
  },
2445
- ot.value,
2446
+ nt.value,
2446
2447
  m.value,
2447
2448
  t.class
2448
2449
  ],
2449
- style: [D.value, t.style]
2450
- }, y, {
2450
+ style: [z.value, t.style]
2451
+ }, T, {
2451
2452
  modelValue: n.value,
2452
- "onUpdate:modelValue": (q) => n.value = q,
2453
- contentProps: rt({
2453
+ "onUpdate:modelValue": (_) => n.value = _,
2454
+ contentProps: at({
2454
2455
  class: [
2455
2456
  "v-snackbar__wrapper",
2456
2457
  v.value,
2457
2458
  i.value,
2458
- B.value,
2459
+ C.value,
2459
2460
  f.value
2460
2461
  ],
2461
- style: [T.value],
2462
+ style: [w.value],
2462
2463
  onPointerenter: G,
2463
- onPointerleave: A
2464
- }, y.contentProps),
2464
+ onPointerleave: D
2465
+ }, T.contentProps),
2465
2466
  persistent: !0,
2466
2467
  noClickAnimation: !0,
2467
2468
  scrim: !1,
2468
2469
  scrollStrategy: "none",
2469
2470
  _disableGlobalStack: !0,
2470
- onTouchstartPassive: tt,
2471
- onTouchend: $,
2472
- onAfterLeave: at
2471
+ onTouchstartPassive: it,
2472
+ onTouchend: tt,
2473
+ onAfterLeave: q
2473
2474
  }, b), {
2474
2475
  default: () => [
2475
- te(!1, "v-snackbar"),
2476
- t.timer && !R.value && e("div", {
2476
+ Wt(!1, "v-snackbar"),
2477
+ t.timer && !F.value && e("div", {
2477
2478
  key: "timer",
2478
2479
  class: "v-snackbar__timer"
2479
- }, [e(ve, {
2480
+ }, [e(ge, {
2480
2481
  ref: x,
2481
2482
  color: typeof t.timer == "string" ? t.timer : "info",
2482
2483
  max: t.timeout,
2483
2484
  "model-value": L.time.value
2484
2485
  }, null)]),
2485
- C && e("div", {
2486
+ A && e("div", {
2486
2487
  key: "content",
2487
2488
  class: "v-snackbar__content",
2488
2489
  role: "status",
2489
2490
  "aria-live": "polite"
2490
2491
  }, [o.text?.() ?? t.text, o.default?.()]),
2491
- o.actions && e(Qt, { defaults: { VBtn: {
2492
+ o.actions && e(Be, { defaults: { VBtn: {
2492
2493
  variant: "text",
2493
2494
  ripple: !1,
2494
2495
  slim: !0
@@ -2496,9 +2497,9 @@ var ia = Dt({
2496
2497
  ],
2497
2498
  activator: o.activator
2498
2499
  });
2499
- }), re({}, O);
2500
+ }), de({}, U);
2500
2501
  }
2501
- }), sa = { class: "d-flex flex-column ga-3" }, ra = ["href"], la = { class: "mr-1" }, ua = { class: "mr-1" }, ca = { class: "mx-2" }, da = { class: "mr-1" }, wt = /* @__PURE__ */ X({
2502
+ }), la = { class: "d-flex flex-column ga-3" }, ua = ["href"], ca = { class: "mr-1" }, da = { class: "mr-1" }, ma = { class: "mx-2" }, va = { class: "mr-1" }, wt = /* @__PURE__ */ X({
2502
2503
  __name: "PaymentFormUI",
2503
2504
  props: {
2504
2505
  currency: {},
@@ -2517,23 +2518,23 @@ var ia = Dt({
2517
2518
  "payment:success"
2518
2519
  ],
2519
2520
  setup(t, { expose: l, emit: o }) {
2520
- const n = o, { t: m } = et(), b = t, v = h(!1), i = h(P.CreditCard), T = h(!1), f = h(!1), B = h(!1), L = h(null), O = St("CREDIT_CARD"), x = F(() => b.paymentMethods.find((p) => p.name === P.CreditCard && p.payload)), R = F(() => {
2521
+ const n = o, { t: m } = ot(), b = t, v = h(!1), i = h(P.CreditCard), w = h(!1), f = h(!1), C = h(!1), L = h(null), U = It("CREDIT_CARD"), x = I(() => b.paymentMethods.find((p) => p.name === P.CreditCard && p.payload)), F = I(() => {
2521
2522
  const p = b.paymentMethods.find((d) => d.name === P.Coupon && d.payload);
2522
2523
  return !!(p && p.payload.amount === b.totalToPay);
2523
2524
  });
2524
2525
  function V(p) {
2525
- B.value = p && !R.value, n("payment:change", p), L.value = "";
2526
+ C.value = p && !F.value, n("payment:change", p), L.value = "";
2526
2527
  }
2527
- function D(p) {
2528
+ function z(p) {
2528
2529
  n("payment:error"), L.value = p;
2529
2530
  }
2530
- function M(p) {
2531
+ function $(p) {
2531
2532
  v.value = !0, n(j.PaymentSuccess, p);
2532
2533
  }
2533
- function H() {
2534
+ function N() {
2534
2535
  switch (i.value) {
2535
2536
  case P.CreditCard:
2536
- O.value?.pay();
2537
+ U.value?.pay();
2537
2538
  break;
2538
2539
  case P.Coupon:
2539
2540
  case P.DepositAccount:
@@ -2541,10 +2542,10 @@ var ia = Dt({
2541
2542
  break;
2542
2543
  }
2543
2544
  }
2544
- return l({ pay: H }), (p, d) => {
2545
- const G = qt("i18n-t");
2546
- return c(), S("div", sa, [
2547
- e(xe, {
2545
+ return l({ pay: N }), (p, d) => {
2546
+ const G = Gt("i18n-t");
2547
+ return c(), S("div", la, [
2548
+ e(we, {
2548
2549
  ref: "CREDIT_CARD",
2549
2550
  amount: x.value?.payload?.amount || 0,
2550
2551
  currency: t.currency,
@@ -2552,8 +2553,8 @@ var ia = Dt({
2552
2553
  loading: t.isLoading,
2553
2554
  stripeToken: x.value?.payload.token,
2554
2555
  onChange: V,
2555
- onError: D,
2556
- "onPayment:success": d[0] || (d[0] = (A) => M(r(P).CreditCard))
2556
+ onError: z,
2557
+ "onPayment:success": d[0] || (d[0] = (D) => $(r(P).CreditCard))
2557
2558
  }, null, 8, [
2558
2559
  "amount",
2559
2560
  "currency",
@@ -2562,12 +2563,12 @@ var ia = Dt({
2562
2563
  "stripeToken"
2563
2564
  ]),
2564
2565
  k(p.$slots, "append"),
2565
- k(p.$slots, "terms", {}, () => [e(Bt, {
2566
+ k(p.$slots, "terms", {}, () => [e(xt, {
2566
2567
  ref: "testing",
2567
- modelValue: T.value,
2568
- "onUpdate:modelValue": d[2] || (d[2] = (A) => T.value = A),
2568
+ modelValue: w.value,
2569
+ "onUpdate:modelValue": d[2] || (d[2] = (D) => w.value = D),
2569
2570
  color: "primary",
2570
- error: f.value && !T.value
2571
+ error: f.value && !w.value
2571
2572
  }, {
2572
2573
  label: a(() => [s("span", { onClick: d[1] || (d[1] = Ct(() => {
2573
2574
  }, ["stop"])) }, [e(G, {
@@ -2577,49 +2578,49 @@ var ia = Dt({
2577
2578
  linkText: a(() => [s("b", null, [s("a", {
2578
2579
  href: r(m)("PaymentFormUI.termsURL"),
2579
2580
  target: "_blank"
2580
- }, u(r(m)("PaymentFormUI.termsAndConditionsLinkText")), 9, ra)])]),
2581
+ }, u(r(m)("PaymentFormUI.termsAndConditionsLinkText")), 9, ua)])]),
2581
2582
  _: 1
2582
2583
  })])]),
2583
2584
  _: 1
2584
2585
  }, 8, ["modelValue", "error"])]),
2585
- e(pe, { class: "mt-n6" }, {
2586
- default: a(() => [e(E, {
2586
+ e(ke, { class: "mt-n6" }, {
2587
+ default: a(() => [e(H, {
2587
2588
  align: "end",
2588
2589
  class: "flex-column flex-sm-row",
2589
2590
  "no-gutters": ""
2590
2591
  }, {
2591
- default: a(() => [e(I, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
2592
- default: a(() => [t.isPayLaterForced ? (c(), w(J, {
2592
+ default: a(() => [e(R, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
2593
+ default: a(() => [t.isPayLaterForced ? (c(), y(Q, {
2593
2594
  key: 0,
2594
2595
  class: "w-sm-auto w-100",
2595
2596
  color: "primary",
2596
2597
  "data-gtm-id": "payment-book-pay-later",
2597
- disabled: t.isLoading || !T.value,
2598
+ disabled: t.isLoading || !w.value,
2598
2599
  loading: t.isLoading,
2599
2600
  variant: "outlined",
2600
- onClick: d[3] || (d[3] = (A) => n("payment:later"))
2601
+ onClick: d[3] || (d[3] = (D) => n("payment:later"))
2601
2602
  }, {
2602
- default: a(() => [s("span", la, u(r(m)("PaymentFormUI.completeBookingNow")), 1)]),
2603
+ default: a(() => [s("span", ca, u(r(m)("PaymentFormUI.completeBookingNow")), 1)]),
2603
2604
  _: 1
2604
- }, 8, ["disabled", "loading"])) : t.isPayLaterAllowed ? (c(), S(W, { key: 1 }, [e(J, {
2605
+ }, 8, ["disabled", "loading"])) : t.isPayLaterAllowed ? (c(), S(W, { key: 1 }, [e(Q, {
2605
2606
  class: "w-sm-auto w-100",
2606
2607
  color: "primary",
2607
2608
  "data-gtm-id": "payment-book-pay-later",
2608
- disabled: t.isLoading || !T.value,
2609
+ disabled: t.isLoading || !w.value,
2609
2610
  loading: t.isLoading,
2610
2611
  variant: "outlined",
2611
- onClick: d[4] || (d[4] = (A) => n("payment:later"))
2612
+ onClick: d[4] || (d[4] = (D) => n("payment:later"))
2612
2613
  }, {
2613
2614
  default: a(() => [
2614
- e(Q, {
2615
+ e(J, {
2615
2616
  class: "ml-1",
2616
2617
  start: ""
2617
2618
  }, {
2618
- default: a(() => [...d[6] || (d[6] = [U(" fas fa-clock ", -1)])]),
2619
+ default: a(() => [...d[6] || (d[6] = [E(" fas fa-clock ", -1)])]),
2619
2620
  _: 1
2620
2621
  }),
2621
- s("span", ua, u(r(m)("PaymentFormUI.completeBookingLater")), 1),
2622
- t.isPayLaterForced ? _("", !0) : (c(), w(r(Z), {
2622
+ s("span", da, u(r(m)("PaymentFormUI.completeBookingLater")), 1),
2623
+ t.isPayLaterForced ? B("", !0) : (c(), y(r(Z), {
2623
2624
  key: 0,
2624
2625
  amount: t.totalToPay,
2625
2626
  class: "font-weight-bold",
@@ -2627,23 +2628,23 @@ var ia = Dt({
2627
2628
  }, null, 8, ["amount", "currency"]))
2628
2629
  ]),
2629
2630
  _: 1
2630
- }, 8, ["disabled", "loading"]), s("span", ca, u(r(m)("PaymentFormUI.or")), 1)], 64)) : _("", !0), t.isPayLaterForced ? _("", !0) : (c(), w(J, {
2631
+ }, 8, ["disabled", "loading"]), s("span", ma, u(r(m)("PaymentFormUI.or")), 1)], 64)) : B("", !0), t.isPayLaterForced ? B("", !0) : (c(), y(Q, {
2631
2632
  key: 2,
2632
2633
  class: "w-sm-auto w-100",
2633
2634
  color: "primary",
2634
2635
  "data-gtm-id": "payment-book-now",
2635
- disabled: t.isLoading || !T.value || !B.value || t.isUpdatingPaymentMethods,
2636
+ disabled: t.isLoading || !w.value || !C.value || t.isUpdatingPaymentMethods,
2636
2637
  loading: t.isLoading,
2637
2638
  variant: "flat",
2638
- onClick: d[5] || (d[5] = (A) => n("payment:pay"))
2639
+ onClick: d[5] || (d[5] = (D) => n("payment:pay"))
2639
2640
  }, {
2640
- default: a(() => [e(Q, {
2641
+ default: a(() => [e(J, {
2641
2642
  class: "ml-1",
2642
2643
  start: ""
2643
2644
  }, {
2644
- default: a(() => [...d[7] || (d[7] = [U(" fas fa-lock ", -1)])]),
2645
+ default: a(() => [...d[7] || (d[7] = [E(" fas fa-lock ", -1)])]),
2645
2646
  _: 1
2646
- }), s("span", da, u(r(m)("PaymentFormUI.completeBookingNow")), 1)]),
2647
+ }), s("span", va, u(r(m)("PaymentFormUI.completeBookingNow")), 1)]),
2647
2648
  _: 1
2648
2649
  }, 8, ["disabled", "loading"]))]),
2649
2650
  _: 1
@@ -2656,7 +2657,7 @@ var ia = Dt({
2656
2657
  };
2657
2658
  }
2658
2659
  });
2659
- function bt(t) {
2660
+ function pt(t) {
2660
2661
  const l = t;
2661
2662
  l.__i18n = l.__i18n || [], l.__i18n.push({
2662
2663
  locale: "",
@@ -3049,8 +3050,8 @@ function bt(t) {
3049
3050
  }
3050
3051
  });
3051
3052
  }
3052
- typeof bt == "function" && bt(wt);
3053
- var ma = wt, va = { class: "d-flex justify-space-between w-100 items-center" }, ga = ["href"], ba = { class: "mr-1" }, Tt = /* @__PURE__ */ X({
3053
+ typeof pt == "function" && pt(wt);
3054
+ var ga = wt, ba = { class: "d-flex justify-space-between w-100 items-center" }, pa = ["href"], ka = { class: "mr-1" }, Tt = /* @__PURE__ */ X({
3054
3055
  __name: "BookingPaymentForcedPayLater",
3055
3056
  props: { isLoading: {
3056
3057
  type: Boolean,
@@ -3058,32 +3059,32 @@ var ma = wt, va = { class: "d-flex justify-space-between w-100 items-center" },
3058
3059
  } },
3059
3060
  emits: ["payment:later"],
3060
3061
  setup(t, { emit: l }) {
3061
- const { t: o } = et(), n = h(!1), m = l;
3062
+ const { t: o } = ot(), n = h(!1), m = l;
3062
3063
  return (b, v) => (c(), S(W, null, [
3063
- e(N, {
3064
+ e(M, {
3064
3065
  border: "",
3065
3066
  elevation: "0",
3066
3067
  style: { borderColor: "rgb(var(--v-theme-primary))" }
3067
3068
  }, {
3068
- default: a(() => [e(xt, {
3069
+ default: a(() => [e(Pt, {
3069
3070
  class: "text-white",
3070
3071
  color: "primary",
3071
3072
  dense: "",
3072
3073
  elevation: "0"
3073
3074
  }, {
3074
- default: a(() => [s("div", va, [s("h4", null, u(r(o)("BookingPaymentForcedPayLater.payLaterForced.title")), 1)])]),
3075
+ default: a(() => [s("div", ba, [s("h4", null, u(r(o)("BookingPaymentForcedPayLater.payLaterForced.title")), 1)])]),
3075
3076
  _: 1
3076
- }), e(z, null, {
3077
+ }), e(O, null, {
3077
3078
  default: a(() => [s("h4", null, u(r(o)("BookingPaymentForcedPayLater.payLaterForced.subtitle")), 1)]),
3078
3079
  _: 1
3079
3080
  })]),
3080
3081
  _: 1
3081
3082
  }),
3082
- e(Bt, {
3083
+ e(xt, {
3083
3084
  modelValue: n.value,
3084
3085
  "onUpdate:modelValue": v[1] || (v[1] = (i) => n.value = i)
3085
3086
  }, {
3086
- label: a(() => [e(r(It), {
3087
+ label: a(() => [e(r(Rt), {
3087
3088
  keypath: "BookingPaymentForcedPayLater.termsAndConditions",
3088
3089
  tag: "span",
3089
3090
  onClick: v[0] || (v[0] = Ct(() => {
@@ -3092,18 +3093,18 @@ var ma = wt, va = { class: "d-flex justify-space-between w-100 items-center" },
3092
3093
  link: a(() => [s("b", null, [s("a", {
3093
3094
  href: r(o)("BookingPaymentForcedPayLater.termsURL"),
3094
3095
  target: "_blank"
3095
- }, u(r(o)("BookingPaymentForcedPayLater.termsLinkText")), 9, ga)])]),
3096
+ }, u(r(o)("BookingPaymentForcedPayLater.termsLinkText")), 9, pa)])]),
3096
3097
  _: 1
3097
3098
  })]),
3098
3099
  _: 1
3099
3100
  }, 8, ["modelValue"]),
3100
- e(E, {
3101
+ e(H, {
3101
3102
  align: "end",
3102
3103
  class: "flex-column flex-sm-row",
3103
3104
  "no-gutters": ""
3104
3105
  }, {
3105
- default: a(() => [e(I, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
3106
- default: a(() => [e(J, {
3106
+ default: a(() => [e(R, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
3107
+ default: a(() => [e(Q, {
3107
3108
  class: "w-sm-auto w-100",
3108
3109
  color: "primary",
3109
3110
  disabled: t.isLoading || !n.value,
@@ -3111,7 +3112,7 @@ var ma = wt, va = { class: "d-flex justify-space-between w-100 items-center" },
3111
3112
  variant: "outlined",
3112
3113
  onClick: v[2] || (v[2] = (i) => m("payment:later"))
3113
3114
  }, {
3114
- default: a(() => [s("span", ba, u(r(o)("BookingPaymentForcedPayLater.completeBookingLaterForced")), 1)]),
3115
+ default: a(() => [s("span", ka, u(r(o)("BookingPaymentForcedPayLater.completeBookingLaterForced")), 1)]),
3115
3116
  _: 1
3116
3117
  }, 8, ["disabled", "loading"])]),
3117
3118
  _: 1
@@ -3121,7 +3122,7 @@ var ma = wt, va = { class: "d-flex justify-space-between w-100 items-center" },
3121
3122
  ], 64));
3122
3123
  }
3123
3124
  });
3124
- function pt(t) {
3125
+ function kt(t) {
3125
3126
  const l = t;
3126
3127
  l.__i18n = l.__i18n || [], l.__i18n.push({
3127
3128
  locale: "",
@@ -3528,29 +3529,32 @@ function pt(t) {
3528
3529
  }
3529
3530
  });
3530
3531
  }
3531
- typeof pt == "function" && pt(Tt);
3532
- var pa = Tt, ka = { class: "text-green" }, ha = { key: 1 }, fa = { class: "d-flex align-center px-2" }, _t = /* @__PURE__ */ X({
3532
+ typeof kt == "function" && kt(Tt);
3533
+ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-flex align-center px-2" }, _t = /* @__PURE__ */ X({
3533
3534
  __name: "BookingPaymentForm",
3534
3535
  props: {
3535
- features: { default: () => aa },
3536
+ features: { default: () => ia },
3536
3537
  token: {}
3537
3538
  },
3538
3539
  emits: ["payment:success"],
3539
3540
  setup(t, { emit: l }) {
3540
- const o = t, n = l, { t: m } = et(), { bookingApiClient: b } = ht(), { eventBus: v } = Ht(), i = h(null), T = h(""), f = h(null), B = h(null), L = h(null), O = h(!1), x = h(!1), R = h(!1), V = h(!1), D = h(!1), M = h(null), H = F(() => i.value?.payLater === it.Forced), p = F(() => i.value?.payLater && [it.Enabled, it.Forced].includes(i.value?.payLater)), d = F(() => Gt(i.value?.paymentMethods ?? [], "name")), G = F(() => d.value[P.CreditCard] && d.value[P.CreditCard].payload ? d.value[P.CreditCard].payload : null);
3541
- async function A() {
3541
+ const o = t, n = l, { t: m } = ot(), { bookingApiClient: b } = ft(), { eventBus: v } = Nt(), i = h(null), w = h(""), f = h(null), C = h(null), L = h(null), U = h(!1), x = h(!1), F = h(!1), V = h(!1), z = h(!1), $ = h(null), N = I(() => i.value?.payLater === st.Forced), p = I(() => {
3542
+ if (i.value?.payLater)
3543
+ return [st.Enabled, st.Forced].includes(i.value.payLater);
3544
+ }), d = I(() => Yt(i.value?.paymentMethods ?? [], "name")), G = I(() => d.value[P.CreditCard] && d.value[P.CreditCard].payload ? d.value[P.CreditCard].payload : null), D = I(() => i.value ? rt(i.value) : null);
3545
+ async function it() {
3542
3546
  try {
3543
3547
  if (d.value[P.Coupon]?.payload?.amount === i.value?.taxIncludedPrice) {
3544
3548
  x.value = !0, await b.value.bookings.couponCharge({
3545
3549
  couponId: d.value[P.Coupon].payload.couponId,
3546
3550
  id: i.value.id
3547
- }), R.value = !0, n(j.PaymentSuccess, i.value), v.$emit(j.PaymentSuccess, vt(i.value));
3551
+ }), F.value = !0, n(j.PaymentSuccess, i.value), v.$emit(j.PaymentSuccess, rt(i.value));
3548
3552
  return;
3549
3553
  }
3550
- if (!M.value) return;
3551
- x.value = !0, M.value.pay();
3554
+ if (!$.value) return;
3555
+ x.value = !0, $.value.pay();
3552
3556
  } catch {
3553
- D.value = !0;
3557
+ z.value = !0;
3554
3558
  }
3555
3559
  }
3556
3560
  async function tt() {
@@ -3559,47 +3563,47 @@ var pa = Tt, ka = { class: "text-green" }, ha = { key: 1 }, fa = { class: "d-fle
3559
3563
  x.value = !1;
3560
3564
  return;
3561
3565
  }
3562
- await b.value.bookings.paylater({ id: i.value.id }), R.value = !0, n(j.PaymentSuccess, i.value), v.$emit(j.PaymentSuccess, vt(i.value));
3566
+ await b.value.bookings.paylater({ id: i.value.id }), F.value = !0, n(j.PaymentSuccess, i.value), v.$emit(j.PaymentSuccess, rt(i.value));
3563
3567
  } catch {
3564
- D.value = !0;
3568
+ z.value = !0;
3565
3569
  } finally {
3566
3570
  x.value = !1;
3567
3571
  }
3568
3572
  }
3569
- function $(y) {
3570
- L.value = "", x.value = !y;
3573
+ function q(A) {
3574
+ L.value = "", x.value = !A;
3571
3575
  }
3572
- async function at() {
3576
+ async function nt() {
3573
3577
  try {
3574
3578
  if (!o.token) {
3575
3579
  i.value = null;
3576
3580
  return;
3577
3581
  }
3578
- O.value = !0, $(!1), i.value = await b.value.bookings.retrievePublic({ token: o.token }), (!i.value.paymentMethods || !i.value.paymentMethods.length || i.value.paymentMethods.length > 1) && (i.value = await b.value.bookings.updatePaymentMethods({
3582
+ U.value = !0, q(!1), i.value = await b.value.bookings.retrievePublic({ token: o.token }), (!i.value.paymentMethods || !i.value.paymentMethods.length || i.value.paymentMethods.length > 1) && (i.value = await b.value.bookings.updatePaymentMethods({
3579
3583
  id: i.value.id,
3580
3584
  paymentMethodUpdatePayloadApi: { paymentMethods: [{ name: P.CreditCard }] }
3581
- })), $(!0), O.value = !1;
3585
+ })), q(!0), U.value = !1;
3582
3586
  } catch {
3583
3587
  i.value = null;
3584
3588
  } finally {
3585
- O.value = !1;
3589
+ U.value = !1;
3586
3590
  }
3587
3591
  }
3588
- async function ot() {
3592
+ async function T() {
3589
3593
  try {
3590
- B.value = "", V.value = !0;
3591
- const y = [{ name: P.CreditCard }];
3592
- if (f.value && y.push({
3594
+ C.value = "", V.value = !0;
3595
+ const A = [{ name: P.CreditCard }];
3596
+ if (f.value && A.push({
3593
3597
  name: P.Coupon,
3594
3598
  payload: { couponId: f.value }
3595
- }), $(!1), i.value && (i.value = await b.value.bookings.updatePaymentMethods({
3599
+ }), q(!1), i.value && (i.value = await b.value.bookings.updatePaymentMethods({
3596
3600
  id: i.value.id,
3597
- paymentMethodUpdatePayloadApi: { paymentMethods: y }
3598
- })), $(!0), !d.value[P.Coupon] || !d.value[P.Coupon].payload?.amount) {
3601
+ paymentMethodUpdatePayloadApi: { paymentMethods: A }
3602
+ })), q(!0), !d.value[P.Coupon] || !d.value[P.Coupon].payload?.amount) {
3599
3603
  if (!f) return;
3600
- T.value = m("BookingPaymentForm.paymentMethods.coupon.error");
3604
+ w.value = m("BookingPaymentForm.paymentMethods.coupon.error");
3601
3605
  } else
3602
- T.value = "", B.value = m("BookingPaymentForm.paymentMethods.coupon.success", { price: Ut({
3606
+ w.value = "", C.value = m("BookingPaymentForm.paymentMethods.coupon.success", { price: Et({
3603
3607
  amount: d.value[P.Coupon].payload.amount,
3604
3608
  currency: i.value?.currency
3605
3609
  }) });
@@ -3609,103 +3613,103 @@ var pa = Tt, ka = { class: "text-green" }, ha = { key: 1 }, fa = { class: "d-fle
3609
3613
  V.value = !1;
3610
3614
  }
3611
3615
  }
3612
- return ut(() => o.token, async () => {
3613
- await at();
3614
- }, { immediate: !0 }), dt(() => {
3615
- ot();
3616
- }), (y, C) => R.value ? (c(), w(N, {
3616
+ return dt(() => o.token, async () => {
3617
+ await nt();
3618
+ }, { immediate: !0 }), vt(() => {
3619
+ T();
3620
+ }), (A, _) => F.value ? (c(), y(M, {
3617
3621
  key: 0,
3618
3622
  elevation: "0"
3619
3623
  }, {
3620
- default: a(() => [e(z, { class: "d-flex flex-column align-center justify-center py-6" }, {
3621
- default: a(() => [e(Q, {
3624
+ default: a(() => [e(O, { class: "d-flex flex-column align-center justify-center py-6" }, {
3625
+ default: a(() => [e(J, {
3622
3626
  class: "mb-4",
3623
3627
  color: "green",
3624
3628
  size: "x-large"
3625
3629
  }, {
3626
- default: a(() => [...C[4] || (C[4] = [U(" fas fa-check-circle ", -1)])]),
3630
+ default: a(() => [..._[4] || (_[4] = [E(" fas fa-check-circle ", -1)])]),
3627
3631
  _: 1
3628
- }), s("h3", ka, u(r(m)("BookingPaymentForm.paymentSuccess.subtitle")), 1)]),
3632
+ }), s("h3", fa, u(r(m)("BookingPaymentForm.paymentSuccess.subtitle")), 1)]),
3629
3633
  _: 1
3630
3634
  })]),
3631
3635
  _: 1
3632
- })) : i.value && i.value.id ? (c(), S("div", ha, [e(na, {
3633
- modelValue: D.value,
3634
- "onUpdate:modelValue": C[1] || (C[1] = (q) => D.value = q),
3636
+ })) : i.value && i.value.id ? (c(), S("div", ya, [e(ra, {
3637
+ modelValue: z.value,
3638
+ "onUpdate:modelValue": _[1] || (_[1] = (et) => z.value = et),
3635
3639
  color: "error",
3636
3640
  location: "top",
3637
3641
  timeout: "-1"
3638
3642
  }, {
3639
- actions: a(({ isActive: q }) => [e(J, rt({
3643
+ actions: a(({ isActive: et }) => [e(Q, at({
3640
3644
  color: "pink",
3641
3645
  variant: "text"
3642
- }, q, { onClick: C[0] || (C[0] = (ya) => D.value = !1) }), {
3643
- default: a(() => [e(Q, null, {
3644
- default: a(() => [...C[5] || (C[5] = [U("fas fa-times", -1)])]),
3646
+ }, et, { onClick: _[0] || (_[0] = (Pa) => z.value = !1) }), {
3647
+ default: a(() => [e(J, null, {
3648
+ default: a(() => [..._[5] || (_[5] = [E("fas fa-times", -1)])]),
3645
3649
  _: 1
3646
3650
  })]),
3647
3651
  _: 1
3648
3652
  }, 16)]),
3649
- default: a(() => [U(u(r(m)("BookingPaymentForm.error")) + " ", 1)]),
3653
+ default: a(() => [E(u(r(m)("BookingPaymentForm.error")) + " ", 1)]),
3650
3654
  _: 1
3651
- }, 8, ["modelValue"]), e(E, { dense: "" }, {
3652
- default: a(() => [t.features.BookingDetails ? (c(), w(I, {
3655
+ }, 8, ["modelValue"]), e(H, { dense: "" }, {
3656
+ default: a(() => [t.features.BookingDetails ? (c(), y(R, {
3653
3657
  key: 0,
3654
3658
  cols: "12",
3655
3659
  lg: "4",
3656
3660
  sm: "4",
3657
3661
  xl: "4"
3658
3662
  }, {
3659
- default: a(() => [e(ta, ft(yt(i.value)), null, 16)]),
3663
+ default: a(() => [D.value ? (c(), y(aa, yt(at({ key: 0 }, D.value)), null, 16)) : B("", !0)]),
3660
3664
  _: 1
3661
- })) : _("", !0), e(I, { class: Kt(t.features.BookingDetails ? "col-sm-8 col-12" : "w-100") }, {
3662
- default: a(() => [e(N, {
3665
+ })) : B("", !0), e(R, { class: Zt(t.features.BookingDetails ? "col-sm-8 col-12" : "w-100") }, {
3666
+ default: a(() => [e(M, {
3663
3667
  border: "",
3664
3668
  elevation: "0"
3665
3669
  }, {
3666
- default: a(() => [t.features.BookingDetails ? _("", !0) : (c(), w(xt, {
3670
+ default: a(() => [t.features.BookingDetails ? B("", !0) : (c(), y(Pt, {
3667
3671
  key: 0,
3668
3672
  color: "primary",
3669
3673
  dark: "",
3670
3674
  dense: "",
3671
3675
  elevation: "0"
3672
3676
  }, {
3673
- default: a(() => [s("h4", null, [U(u(r(m)("BookingPaymentForm.pay")) + ": ", 1), e(Z, {
3677
+ default: a(() => [s("h4", null, [E(u(r(m)("BookingPaymentForm.pay")) + ": ", 1), e(Z, {
3674
3678
  amount: i.value.taxIncludedPrice,
3675
3679
  class: "font-weight-bold",
3676
3680
  currency: i.value.currency
3677
3681
  }, null, 8, ["amount", "currency"])])]),
3678
3682
  _: 1
3679
- })), e(z, null, {
3680
- default: a(() => [H.value ? (c(), w(pa, {
3683
+ })), e(O, null, {
3684
+ default: a(() => [N.value ? (c(), y(ha, {
3681
3685
  key: 0,
3682
3686
  "is-loading": x.value,
3683
3687
  "onPayment:later": tt
3684
- }, null, 8, ["is-loading"])) : (c(), S(W, { key: 1 }, [G.value ? (c(), w(E, { key: 0 }, {
3685
- default: a(() => [e(I, null, {
3686
- default: a(() => [e(ma, {
3688
+ }, null, 8, ["is-loading"])) : (c(), S(W, { key: 1 }, [G.value ? (c(), y(H, { key: 0 }, {
3689
+ default: a(() => [e(R, null, {
3690
+ default: a(() => [e(ga, {
3687
3691
  ref_key: "paymentForm",
3688
- ref: M,
3692
+ ref: $,
3689
3693
  currency: i.value.currency,
3690
3694
  "is-loading": x.value,
3691
3695
  "is-pay-later-allowed": p.value,
3692
- "is-pay-later-forced": H.value,
3696
+ "is-pay-later-forced": N.value,
3693
3697
  "is-updating-payment-methods": V.value,
3694
3698
  "payment-methods": Object.values(d.value),
3695
3699
  "total-to-pay": i.value.taxIncludedPrice,
3696
- "onPayment:error": C[2] || (C[2] = (q) => x.value = !1),
3700
+ "onPayment:error": _[2] || (_[2] = (et) => x.value = !1),
3697
3701
  "onPayment:later": tt,
3698
- "onPayment:pay": A,
3699
- "onPayment:success": C[3] || (C[3] = () => {
3700
- x.value = !1, R.value = !0, r(v).$emit(r(j).PaymentSuccess, i.value);
3702
+ "onPayment:pay": it,
3703
+ "onPayment:success": _[3] || (_[3] = () => {
3704
+ x.value = !1, F.value = !0, r(v).$emit(r(j).PaymentSuccess, i.value);
3701
3705
  })
3702
3706
  }, {
3703
- append: a(() => [s("div", fa, [e(Q, {
3707
+ append: a(() => [s("div", Ca, [e(J, {
3704
3708
  color: "grey",
3705
3709
  size: "small",
3706
3710
  start: ""
3707
3711
  }, {
3708
- default: a(() => [...C[6] || (C[6] = [U(" fas fa-info-circle ", -1)])]),
3712
+ default: a(() => [..._[6] || (_[6] = [E(" fas fa-info-circle ", -1)])]),
3709
3713
  _: 1
3710
3714
  }), s("small", null, u(r(m)("BookingPaymentForm.subtitle")), 1)])]),
3711
3715
  _: 1
@@ -3721,7 +3725,7 @@ var pa = Tt, ka = { class: "text-green" }, ha = { key: 1 }, fa = { class: "d-fle
3721
3725
  _: 1
3722
3726
  })]),
3723
3727
  _: 1
3724
- })) : _("", !0)], 64))]),
3728
+ })) : B("", !0)], 64))]),
3725
3729
  _: 1
3726
3730
  })]),
3727
3731
  _: 1
@@ -3729,19 +3733,19 @@ var pa = Tt, ka = { class: "text-green" }, ha = { key: 1 }, fa = { class: "d-fle
3729
3733
  _: 1
3730
3734
  }, 8, ["class"])]),
3731
3735
  _: 1
3732
- })])) : O.value ? (c(), w(N, {
3736
+ })])) : U.value ? (c(), y(M, {
3733
3737
  key: 2,
3734
3738
  class: "mx-auto",
3735
3739
  elevation: "0",
3736
3740
  height: "350px",
3737
3741
  width: "100%"
3738
3742
  }, {
3739
- default: a(() => [e(ct, {
3743
+ default: a(() => [e(mt, {
3740
3744
  absolute: "",
3741
3745
  class: "align-center justify-center",
3742
3746
  opacity: "0.1"
3743
3747
  }, {
3744
- default: a(() => [e(ie, {
3748
+ default: a(() => [e(re, {
3745
3749
  color: "primary",
3746
3750
  indeterminate: "",
3747
3751
  size: "64"
@@ -3749,17 +3753,17 @@ var pa = Tt, ka = { class: "text-green" }, ha = { key: 1 }, fa = { class: "d-fle
3749
3753
  _: 1
3750
3754
  })]),
3751
3755
  _: 1
3752
- })) : (c(), w(ae, {
3756
+ })) : (c(), y(ne, {
3753
3757
  key: 3,
3754
3758
  "min-height": "200px"
3755
3759
  }, {
3756
- title: a(() => [U(u(r(m)("BookingPaymentForm.bookingNotFound.title")), 1)]),
3757
- description: a(() => [U(u(r(m)("BookingPaymentForm.bookingNotFound.description")), 1)]),
3760
+ title: a(() => [E(u(r(m)("BookingPaymentForm.bookingNotFound.title")), 1)]),
3761
+ description: a(() => [E(u(r(m)("BookingPaymentForm.bookingNotFound.description")), 1)]),
3758
3762
  _: 1
3759
3763
  }));
3760
3764
  }
3761
3765
  });
3762
- function kt(t) {
3766
+ function ht(t) {
3763
3767
  const l = t;
3764
3768
  l.__i18n = l.__i18n || [], l.__i18n.push({
3765
3769
  locale: "",
@@ -5139,14 +5143,16 @@ function kt(t) {
5139
5143
  }
5140
5144
  });
5141
5145
  }
5142
- typeof kt == "function" && kt(_t);
5143
- var wa = /* @__PURE__ */ mt(_t, [["__scopeId", "data-v-befb5ad8"]]);
5144
- Lt("css/revolugo.bookingpaymentform.bZwObBX3.css");
5146
+ var Sa = /* @__PURE__ */ St({ default: () => xa });
5147
+ typeof ht == "function" && ht(_t);
5148
+ var xa = /* @__PURE__ */ gt(_t, [["__scopeId", "data-v-c67be99b"]]);
5149
+ Lt("css/revolugo.bookingpaymentform.CekI3oIR.css");
5145
5150
  export {
5146
- ta as i,
5147
- na as n,
5148
- aa as r,
5149
- wa as t
5151
+ aa as a,
5152
+ ia as i,
5153
+ Sa as n,
5154
+ ra as r,
5155
+ xa as t
5150
5156
  };
5151
5157
 
5152
- //# sourceMappingURL=revolugo.bookingpaymentform.DXzM5rh2.min.js.map
5158
+ //# sourceMappingURL=revolugo.bookingpaymentform.DIGdozEo.min.js.map