@revolugo/elements 7.11.1-alpha.37 → 7.11.1-alpha.39

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 (66) hide show
  1. package/dist/css/{revolugo.creditcardstripeform.CmxpInfL.css → revolugo.creditcardstripeform.uQtKM06z.css} +1 -1
  2. package/dist/css/{revolugo.revolugoelements.D3jgSljg.css → revolugo.revolugoelements.CRtgr3yo.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.DbyoiQZu.min.js +24 -0
  8. package/dist/revolugo.bookingdetailssidebar.CoN-m_k4.min.js +25 -0
  9. package/dist/revolugo.bookingmanager.Cp1JytyA.min.js +24 -0
  10. package/dist/{revolugo.bookingpaymentform._bTFmQ8a.min.js → revolugo.bookingpaymentform.DbRagbbS.min.js} +287 -455
  11. package/dist/revolugo.cancellationpoliciesbadge.CPuuxSE1.min.js +24 -0
  12. package/dist/revolugo.cancellationpolicieslist.CZ3gsmwm.min.js +24 -0
  13. package/dist/revolugo.creditcardstripeform.BbyJUMB6.min.js +25 -0
  14. package/dist/{revolugo.creditcardstripeform.SfG7Whv-.min.js → revolugo.creditcardstripeform.DQeNXbYc.min.js} +236 -292
  15. package/dist/revolugo.currencypickerbtn.BnwolKFO.min.js +25 -0
  16. package/dist/{revolugo.dist.CVgs0Klt.min.js → revolugo.dist.CG9L6IPJ.min.js} +4 -4
  17. package/dist/revolugo.fastbookingflow.BVln64K4.min.js +34 -0
  18. package/dist/{revolugo.framework.kCT0BaWQ.min.js → revolugo.framework.DCPRw6A_.min.js} +8 -8
  19. package/dist/revolugo.fullbookingflow.B__qPYRy.min.js +24 -0
  20. package/dist/revolugo.hoteldescriptionview.pN4gVR8m.min.js +24 -0
  21. package/dist/revolugo.hotelofferlist.hjUFIAbJ.min.js +24 -0
  22. package/dist/revolugo.hoteloffersearchmenu.DxFVoaas.min.js +24 -0
  23. package/dist/revolugo.hoteloffersmap.vjLh9Stc.min.js +24 -0
  24. package/dist/revolugo.hoteloffersview.Bk_ETnLD.min.js +18 -0
  25. package/dist/revolugo.hotelroomofferlist.czXVZy0r.min.js +24 -0
  26. package/dist/revolugo.hotelroomoffersbookingflow.CJ6Mwr3d.min.js +24 -0
  27. package/dist/revolugo.hotelroomoffersearchmenu.BJiz7qW9.min.js +24 -0
  28. package/dist/revolugo.hotelroomoffersview.Czf9XVX2.min.js +24 -0
  29. package/dist/revolugo.langpickerbtn.DaavBN72.min.js +25 -0
  30. package/dist/revolugo.min.js +57 -57
  31. package/dist/revolugo.prebookform.CnIa7yHE.min.js +24 -0
  32. package/dist/{revolugo.preferencesmenu.B3PCIqoi.min.js → revolugo.preferencesmenu.B3z64j6a.min.js} +55 -55
  33. package/dist/{revolugo.revolugo-config.zxjA6EzJ.min.js → revolugo.revolugo-config.Bl13psXS.min.js} +9 -9
  34. package/dist/{revolugo.revolugoelements.BVCBmTSc.min.js → revolugo.revolugoelements.DhHQ969a.min.js} +1894 -2006
  35. package/dist/revolugo.roominglisteditor.hUzq1ve2.min.js +24 -0
  36. package/dist/{revolugo.storybooktoolbar.DAr2N5bM.min.js → revolugo.storybooktoolbar.guIjvH6Q.min.js} +39 -39
  37. package/dist/revolugo.termsandconditions.BLXWvMHm.min.js +24 -0
  38. package/dist/{revolugo.theme.BV4b5qOt.min.js → revolugo.theme.C-6RdRfZ.min.js} +1035 -1034
  39. package/dist/{revolugo.ui.BFda5Noa.min.js → revolugo.ui.CaAjcrdQ.min.js} +202 -202
  40. package/dist/{revolugo.vtoolbar.BQS8Wh3g.min.js → revolugo.vtoolbar.DSse09S4.min.js} +5 -5
  41. package/dist/{revolugo.webcomponentwrapper.DNZQXQAh.min.js → revolugo.webcomponentwrapper.5KLwiCNU.min.js} +24 -24
  42. package/dist/revolugo2.preferencesmenu.pqya46FU.min.js +24 -0
  43. package/package.json +1 -1
  44. package/dist/revolugo.banktransferdetails.C4ceoT66.min.js +0 -24
  45. package/dist/revolugo.bookingdetailssidebar.DXl6exg1.min.js +0 -25
  46. package/dist/revolugo.bookingmanager.BDOvg9hX.min.js +0 -24
  47. package/dist/revolugo.cancellationpoliciesbadge.BAhYF4gt.min.js +0 -24
  48. package/dist/revolugo.cancellationpolicieslist.Bwzzd59U.min.js +0 -24
  49. package/dist/revolugo.creditcardstripeform.CArvFOt2.min.js +0 -25
  50. package/dist/revolugo.currencypickerbtn.DTl3YriD.min.js +0 -25
  51. package/dist/revolugo.fastbookingflow.Dy8HBMVQ.min.js +0 -34
  52. package/dist/revolugo.fullbookingflow.bVVlOMVn.min.js +0 -24
  53. package/dist/revolugo.hoteldescriptionview.CzIxW06i.min.js +0 -24
  54. package/dist/revolugo.hotelofferlist.B-b_qbAu.min.js +0 -24
  55. package/dist/revolugo.hoteloffersearchmenu.o8T9wb9F.min.js +0 -24
  56. package/dist/revolugo.hoteloffersmap.BgXE0Pss.min.js +0 -24
  57. package/dist/revolugo.hoteloffersview.khfMPpBl.min.js +0 -18
  58. package/dist/revolugo.hotelroomofferlist.DM96E5aa.min.js +0 -24
  59. package/dist/revolugo.hotelroomoffersbookingflow.BDKoTKAn.min.js +0 -24
  60. package/dist/revolugo.hotelroomoffersearchmenu.Coa-rA9q.min.js +0 -24
  61. package/dist/revolugo.hotelroomoffersview.B9gxqefn.min.js +0 -24
  62. package/dist/revolugo.langpickerbtn.BofbNGoF.min.js +0 -25
  63. package/dist/revolugo.prebookform.DmM6XsHc.min.js +0 -24
  64. package/dist/revolugo.roominglisteditor.2Od8ReiF.min.js +0 -24
  65. package/dist/revolugo.termsandconditions.DVjvWkXv.min.js +0 -24
  66. package/dist/revolugo2.preferencesmenu.BvSyoZLG.min.js +0 -24
@@ -1,9 +1,9 @@
1
- import { n as It } from "./revolugo.rolldown-runtime.C2H8viMH.min.js";
2
- import { $r as Rt, An as Ft, Br as vt, C as Dt, Cn as j, Ct as At, Dr as X, Kr as k, M as zt, Mn as ot, Nr as at, On as ft, Ot as _t, Pi as st, Pr as Ot, Qn as B, Si as yt, Sr as I, T as Ut, Ti as Et, Tr as e, Ur as u, br as y, 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, tr as rt, vi as r, vr as R, wi as l, wr as E, xi as Zt, xr as P, yr as s, yt as Jt, zn as Qt } from "./revolugo.theme.BV4b5qOt.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 b, Rt as J, Ut as ne, Wt as bt, 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 be, nt as ge, on as pe, ot as ke, pn as he, pt as fe, q as Q, rt as O, st as ye, tn as F, tt as Ce, un as xe, ut as Be, zt as Pe } from "./revolugo.ui.BFda5Noa.min.js";
4
- import { n as xt, t as we } from "./revolugo.creditcardstripeform.SfG7Whv-.min.js";
5
- import { t as Bt } from "./revolugo.vtoolbar.BQS8Wh3g.min.js";
6
- function St(t) {
1
+ import { n as Ft } from "./revolugo.rolldown-runtime.C2H8viMH.min.js";
2
+ import { $n as B, An as Dt, Ar as At, C as Rt, Ci as yt, Cn as j, Cr as I, Ct as zt, Ei as Ot, Er as e, Fi as st, Fr as _t, Gn as ft, Jr as Et, M as Vt, Mn as ot, Mr as Ht, On as Ct, Or as X, Ot as Nt, Pr as at, Si as Mt, Sr as P, T as Ut, Ti as l, Tr as V, Vr as bt, Wr as u, br as s, ei as $t, hr as Q, i as qt, ii as a, jt, kt as Gt, mi as ct, mr as xt, ni as dt, nr as rt, pi as h, pn as K, qr as p, r as Kt, ri as Yt, sn as Zt, ui as Jt, xr as f, yi as r, yr as F, yt as Wt, zn as Qt } from "./revolugo.theme.C-6RdRfZ.min.js";
3
+ import { $ as Y, Dt as Xt, Gt as mt, Ht as Z, It as te, Jt as ee, K as ae, Kt as oe, Lt as ie, Ot as ne, Q as v, Rt as J, Ut as se, Wt as vt, X as re, Y as le, Z as ue, at as lt, ct as ce, en as H, et as U, ft as de, gt as me, ht as be, it as ut, kt as ve, lt as ge, nt as ke, on as pe, ot as he, pn as ye, pt as fe, q as W, rt as _, st as Ce, tn as D, tt as xe, un as Be, ut as Pe, zt as Te } from "./revolugo.ui.CaAjcrdQ.min.js";
4
+ import { n as Bt, t as we } from "./revolugo.creditcardstripeform.DQeNXbYc.min.js";
5
+ import { t as Pt } from "./revolugo.vtoolbar.DSse09S4.min.js";
6
+ function It(t) {
7
7
  try {
8
8
  if (typeof document < "u") {
9
9
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
@@ -23,29 +23,29 @@ function St(t) {
23
23
  console.error("[revolugo-elements] ", m);
24
24
  }
25
25
  }
26
- var Te = {}, Le = { class: "d-flex justify-space-between" }, Se = { class: "text-right" };
27
- function Ie(t, m) {
26
+ var Se = {}, Le = { class: "d-flex justify-space-between" }, Ie = { class: "text-right" };
27
+ function Fe(t, m) {
28
28
  return u(), I("div", null, [
29
- e(M, {
29
+ e(U, {
30
30
  class: "mb-1",
31
31
  elevation: "0",
32
32
  variant: "outlined"
33
33
  }, {
34
- default: a(() => [e(O, { class: "pb-5" }, {
35
- default: a(() => [k(t.$slots, "hotel", {}, () => [
36
- e(b, {
34
+ default: a(() => [e(_, { class: "pb-5" }, {
35
+ default: a(() => [p(t.$slots, "hotel", {}, () => [
36
+ e(v, {
37
37
  class: "my-2",
38
38
  height: "20px",
39
39
  type: "heading",
40
40
  width: "320px"
41
41
  }),
42
- e(b, {
42
+ e(v, {
43
43
  class: "my-2",
44
44
  height: "15px",
45
45
  type: "text",
46
46
  width: "220px"
47
47
  }),
48
- e(b, {
48
+ e(v, {
49
49
  class: "my-2",
50
50
  height: "15px",
51
51
  type: "text",
@@ -56,14 +56,14 @@ function Ie(t, m) {
56
56
  })]),
57
57
  _: 3
58
58
  }),
59
- e(M, {
59
+ e(U, {
60
60
  class: "mb-1",
61
61
  elevation: "0",
62
62
  variant: "outlined"
63
63
  }, {
64
64
  default: a(() => [
65
65
  e(ut, { class: "pb-2" }, {
66
- default: a(() => [k(t.$slots, "booking-heading", {}, () => [e(b, {
66
+ default: a(() => [p(t.$slots, "booking-heading", {}, () => [e(v, {
67
67
  height: "20",
68
68
  tile: "",
69
69
  type: "heading",
@@ -72,10 +72,10 @@ function Ie(t, m) {
72
72
  _: 3
73
73
  }),
74
74
  e(Y),
75
- e(O, { class: "pb-2" }, {
75
+ e(_, { class: "pb-2" }, {
76
76
  default: a(() => [e(H, { class: "ma-0 w-100" }, {
77
- default: a(() => [e(F, { class: "py-0 pl-0" }, {
78
- default: a(() => [k(t.$slots, "check-in-title", {}, () => [e(b, {
77
+ default: a(() => [e(D, { class: "py-0 pl-0" }, {
78
+ default: a(() => [p(t.$slots, "check-in-title", {}, () => [e(v, {
79
79
  class: "my-1",
80
80
  height: "20px",
81
81
  tile: "",
@@ -83,8 +83,8 @@ function Ie(t, m) {
83
83
  width: "100%"
84
84
  })])]),
85
85
  _: 3
86
- }), e(F, { class: "ml-1 py-0" }, {
87
- default: a(() => [k(t.$slots, "check-out-title", {}, () => [e(b, {
86
+ }), e(D, { class: "ml-1 py-0" }, {
87
+ default: a(() => [p(t.$slots, "check-out-title", {}, () => [e(v, {
88
88
  class: "my-1",
89
89
  height: "20px",
90
90
  tile: "",
@@ -96,14 +96,14 @@ function Ie(t, m) {
96
96
  _: 3
97
97
  }), e(H, { class: "ma-0 w-100" }, {
98
98
  default: a(() => [
99
- e(F, { class: "pa-0" }, {
100
- default: a(() => [k(t.$slots, "check-in-date", {}, () => [e(b, {
99
+ e(D, { class: "pa-0" }, {
100
+ default: a(() => [p(t.$slots, "check-in-date", {}, () => [e(v, {
101
101
  class: "my-1",
102
102
  height: "20px",
103
103
  tile: "",
104
104
  type: "heading",
105
105
  width: "100%"
106
- })]), k(t.$slots, "check-in-time", {}, () => [e(b, {
106
+ })]), p(t.$slots, "check-in-time", {}, () => [e(v, {
107
107
  class: "my-1",
108
108
  height: "20px",
109
109
  tile: "",
@@ -116,14 +116,14 @@ function Ie(t, m) {
116
116
  class: "mx-2",
117
117
  vertical: ""
118
118
  }),
119
- e(F, { class: "pa-0" }, {
120
- default: a(() => [k(t.$slots, "check-out-date", {}, () => [e(b, {
119
+ e(D, { class: "pa-0" }, {
120
+ default: a(() => [p(t.$slots, "check-out-date", {}, () => [e(v, {
121
121
  class: "my-1",
122
122
  height: "20px",
123
123
  tile: "",
124
124
  type: "heading",
125
125
  width: "100%"
126
- })]), k(t.$slots, "check-out-time", {}, () => [e(b, {
126
+ })]), p(t.$slots, "check-out-time", {}, () => [e(v, {
127
127
  class: "my-1",
128
128
  height: "20px",
129
129
  tile: "",
@@ -137,8 +137,8 @@ function Ie(t, m) {
137
137
  })]),
138
138
  _: 3
139
139
  }),
140
- e(O, { class: "pb-0" }, {
141
- default: a(() => [k(t.$slots, "length-of-stay-title", {}, () => [e(b, {
140
+ e(_, { class: "pb-0" }, {
141
+ default: a(() => [p(t.$slots, "length-of-stay-title", {}, () => [e(v, {
142
142
  class: "my-1",
143
143
  height: "20px",
144
144
  tile: "",
@@ -147,8 +147,8 @@ function Ie(t, m) {
147
147
  })])]),
148
148
  _: 3
149
149
  }),
150
- e(O, { class: "pt-0 pb-2" }, {
151
- default: a(() => [k(t.$slots, "length-of-stay-count", {}, () => [e(b, {
150
+ e(_, { class: "pt-0 pb-2" }, {
151
+ default: a(() => [p(t.$slots, "length-of-stay-count", {}, () => [e(v, {
152
152
  class: "my-1",
153
153
  height: "20px",
154
154
  tile: "",
@@ -159,7 +159,7 @@ function Ie(t, m) {
159
159
  }),
160
160
  e(Y, { class: "mx-4" }),
161
161
  e(lt, { class: "pb-2" }, {
162
- default: a(() => [k(t.$slots, "room-selected-heading", {}, () => [e(b, {
162
+ default: a(() => [p(t.$slots, "room-selected-heading", {}, () => [e(v, {
163
163
  class: "my-1",
164
164
  height: "20px",
165
165
  tile: "",
@@ -168,14 +168,14 @@ function Ie(t, m) {
168
168
  })])]),
169
169
  _: 3
170
170
  }),
171
- e(O, { class: "pb-7" }, {
172
- default: a(() => [k(t.$slots, "room-selected-list", {}, () => [e(b, {
171
+ e(_, { class: "pb-7" }, {
172
+ default: a(() => [p(t.$slots, "room-selected-list", {}, () => [e(v, {
173
173
  class: "my-1",
174
174
  height: "20px",
175
175
  tile: "",
176
176
  type: "text",
177
177
  width: "100%"
178
- }), e(b, {
178
+ }), e(v, {
179
179
  class: "my-1",
180
180
  height: "20px",
181
181
  tile: "",
@@ -187,14 +187,14 @@ function Ie(t, m) {
187
187
  ]),
188
188
  _: 3
189
189
  }),
190
- e(M, {
190
+ e(U, {
191
191
  class: "mb-1",
192
192
  elevation: "0",
193
193
  variant: "outlined"
194
194
  }, {
195
195
  default: a(() => [
196
196
  e(ut, { class: "pb-2" }, {
197
- default: a(() => [k(t.$slots, "price-heading", {}, () => [e(b, {
197
+ default: a(() => [p(t.$slots, "price-heading", {}, () => [e(v, {
198
198
  height: "20",
199
199
  tile: "",
200
200
  type: "heading",
@@ -204,7 +204,7 @@ function Ie(t, m) {
204
204
  }),
205
205
  e(Y),
206
206
  e(lt, null, {
207
- default: a(() => [k(t.$slots, "price-info-base", {}, () => [e(b, {
207
+ default: a(() => [p(t.$slots, "price-info-base", {}, () => [e(v, {
208
208
  height: "20px",
209
209
  tile: "",
210
210
  type: "heading",
@@ -213,7 +213,7 @@ function Ie(t, m) {
213
213
  _: 3
214
214
  }),
215
215
  e(lt, { class: "py-0" }, {
216
- default: a(() => [k(t.$slots, "price-info-taxes", {}, () => [e(b, {
216
+ default: a(() => [p(t.$slots, "price-info-taxes", {}, () => [e(v, {
217
217
  class: "mb-4",
218
218
  height: "20px",
219
219
  tile: "",
@@ -222,18 +222,18 @@ function Ie(t, m) {
222
222
  })])]),
223
223
  _: 3
224
224
  }),
225
- e(O, { class: "bg-grey-lighten-3 py-3" }, {
226
- default: a(() => [s("div", Le, [k(t.$slots, "total", {}, () => [e(b, {
225
+ e(_, { class: "bg-grey-lighten-3 py-3" }, {
226
+ default: a(() => [s("div", Le, [p(t.$slots, "total", {}, () => [e(v, {
227
227
  height: "20",
228
228
  tile: "",
229
229
  type: "heading",
230
230
  width: "50px"
231
- })]), s("div", Se, [k(t.$slots, "total-count", {}, () => [e(b, {
231
+ })]), s("div", Ie, [p(t.$slots, "total-count", {}, () => [e(v, {
232
232
  height: "20",
233
233
  tile: "",
234
234
  type: "heading",
235
235
  width: "100px"
236
- })]), k(t.$slots, "taxes", {}, () => [e(b, {
236
+ })]), p(t.$slots, "taxes", {}, () => [e(v, {
237
237
  class: "mt-2",
238
238
  height: "20",
239
239
  tile: "",
@@ -245,13 +245,13 @@ function Ie(t, m) {
245
245
  ]),
246
246
  _: 3
247
247
  }),
248
- e(M, {
248
+ e(U, {
249
249
  elevation: "0",
250
250
  variant: "outlined"
251
251
  }, {
252
252
  default: a(() => [
253
253
  e(ut, { class: "pb-2" }, {
254
- default: a(() => [k(t.$slots, "cancellation-policies-heading", {}, () => [e(b, {
254
+ default: a(() => [p(t.$slots, "cancellation-policies-heading", {}, () => [e(v, {
255
255
  class: "my-1",
256
256
  height: "20px",
257
257
  tile: "",
@@ -261,8 +261,8 @@ function Ie(t, m) {
261
261
  _: 3
262
262
  }),
263
263
  e(Y),
264
- e(O, { class: "pb-5" }, {
265
- default: a(() => [k(t.$slots, "cancellation-policies-list", {}, () => [e(b, {
264
+ e(_, { class: "pb-5" }, {
265
+ default: a(() => [p(t.$slots, "cancellation-policies-list", {}, () => [e(v, {
266
266
  class: "my-1",
267
267
  height: "20px",
268
268
  tile: "",
@@ -276,19 +276,19 @@ function Ie(t, m) {
276
276
  })
277
277
  ]);
278
278
  }
279
- var Re = /* @__PURE__ */ bt(Te, [["render", Ie]]), Fe = { class: "text-h7 font-weight-bold text-grey-darken-4 ma-0 mr-2" }, De = { class: "text-h8 text-grey-darken-2" }, Ae = { class: "text-body-2 mb-1 text-black" }, ze = { class: "text-body-2 mb-1 text-black" }, _e = { 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
+ var De = /* @__PURE__ */ vt(Se, [["render", Fe]]), Ae = { class: "text-h7 font-weight-bold text-grey-darken-4 ma-0 mr-2" }, Re = { class: "text-h8 text-grey-darken-2" }, ze = { class: "text-body-2 mb-1 text-black" }, Oe = { class: "text-body-2 mb-1 text-black" }, _e = { class: "font-weight-bold text-body-2 mb-0 text-black" }, Ee = { class: "font-weight-bold text-body-2 mb-0 text-black" }, Ve = {
280
280
  key: 0,
281
281
  class: "text-body-2 text-grey-darken-1 mb-0"
282
- }, Ee = {
282
+ }, He = {
283
283
  key: 0,
284
284
  class: "text-body-2 text-grey-darken-1 mb-0"
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
+ }, Ne = { key: 1 }, Me = { class: "mb-1 text-black" }, Ue = { class: "font-weight-bold mb-0 text-black" }, $e = { class: "font-weight-bold mb-0 text-black" }, qe = { class: "d-flex flex-column ga-2" }, je = { class: "text-caption font-weight-bold text-orange my-0 rounded text-center" }, Ge = { class: "caption font-weight-bold text-black" }, Ke = { class: "float-right text-black" }, Ye = {
286
286
  key: 0,
287
287
  class: "pt-0 pb-4"
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
+ }, Ze = { class: "text-caption font-weight-bold text-black" }, Je = { class: "float-right text-black" }, We = { key: 1 }, Qe = { class: "font-weight-black text-h6 mb-0 text-black" }, Xe = {
289
289
  key: 0,
290
290
  class: "text-caption mb-0 text-black"
291
- }, Xe = { class: "text-caption mb-0" }, Pt = /* @__PURE__ */ X({
291
+ }, ta = { class: "text-caption mb-0" }, Tt = /* @__PURE__ */ X({
292
292
  __name: "BookingDetailsSidebarUI",
293
293
  props: {
294
294
  adultCount: {},
@@ -299,23 +299,23 @@ var Re = /* @__PURE__ */ bt(Te, [["render", Ie]]), Fe = { class: "text-h7 font-w
299
299
  },
300
300
  setup(t) {
301
301
  const { locale: m, t: o } = ot(), n = t;
302
- function d(f) {
303
- return f ? (0, K.default)(f).locale(m.value).format("ll") : null;
302
+ function d(y) {
303
+ return y ? (0, K.default)(y).locale(m.value).format("ll") : null;
304
304
  }
305
- function g(f) {
306
- const C = (0, K.default)(`1/1/1 ${f}`, "h:mm A");
307
- return f ? (0, K.default)(C).format("HH:mm") : null;
305
+ function g(y) {
306
+ const C = (0, K.default)(`1/1/1 ${y}`, "h:mm A");
307
+ return y ? (0, K.default)(C).format("HH:mm") : null;
308
308
  }
309
- const v = R(() => !n.checkInDate || !n.checkOutDate ? 0 : (0, K.default)(n.checkOutDate).diff((0, K.default)(n.checkInDate), "days")), i = R(() => n.hotelRoomOffer.hotelRooms.reduce((f, C) => f + C.count, 0) || 0), w = R(() => n.hotelRoomOffer.hotelRooms.some((f) => f.beds.some((C) => C.length > 1)));
310
- return (f, C) => (u(), y(Re, null, {
311
- hotel: a(() => [t.hotel ? (u(), I(W, { key: 0 }, [
309
+ const b = F(() => !n.checkInDate || !n.checkOutDate ? 0 : (0, K.default)(n.checkOutDate).diff((0, K.default)(n.checkInDate), "days")), i = F(() => n.hotelRoomOffer.hotelRooms.reduce((y, C) => y + C.count, 0) || 0), T = F(() => n.hotelRoomOffer.hotelRooms.some((y) => y.beds.some((C) => C.length > 1)));
310
+ return (y, C) => (u(), f(De, null, {
311
+ hotel: a(() => [t.hotel ? (u(), I(Q, { key: 0 }, [
312
312
  e(H, { "no-gutters": "" }, {
313
- default: a(() => [t.hotel.name ? (u(), y(F, { key: 0 }, {
314
- default: a(() => [s("span", Fe, l(t.hotel.name), 1), e(me, {
315
- attach: f.$parent?.$el,
313
+ default: a(() => [t.hotel.name ? (u(), f(D, { key: 0 }, {
314
+ default: a(() => [s("span", Ae, l(t.hotel.name), 1), e(be, {
315
+ attach: y.$parent?.$el,
316
316
  location: "bottom"
317
317
  }, {
318
- activator: a(({ props: S }) => [s("span", yt(Mt(S)), [e(ye, { count: t.hotel.rating }, null, 8, ["count"])], 16)]),
318
+ activator: a(({ props: L }) => [s("span", yt(At(L)), [e(Ce, { count: t.hotel.rating }, null, 8, ["count"])], 16)]),
319
319
  default: a(() => [s("span", null, l(r(o)("BookingDetailsSidebar.hotel.starRating")), 1)]),
320
320
  _: 1
321
321
  }, 8, ["attach"])]),
@@ -324,8 +324,8 @@ var Re = /* @__PURE__ */ bt(Te, [["render", Ie]]), Fe = { class: "text-h7 font-w
324
324
  _: 1
325
325
  }),
326
326
  e(H, { "no-gutters": "" }, {
327
- default: a(() => [e(F, null, {
328
- default: a(() => [s("small", De, l(r(o)("BookingDetailsSidebar.hotel.fullAddress", {
327
+ default: a(() => [e(D, null, {
328
+ default: a(() => [s("small", Re, l(r(o)("BookingDetailsSidebar.hotel.fullAddress", {
329
329
  address: t.hotel.address,
330
330
  postalCode: t.hotel.postalCode,
331
331
  city: t.hotel.city,
@@ -336,8 +336,8 @@ var Re = /* @__PURE__ */ bt(Te, [["render", Ie]]), Fe = { class: "text-h7 font-w
336
336
  _: 1
337
337
  }),
338
338
  e(H, { "no-gutters": "" }, {
339
- default: a(() => [e(F, null, {
340
- default: a(() => [e(ue, {
339
+ default: a(() => [e(D, null, {
340
+ default: a(() => [e(ce, {
341
341
  features: { ReviewRatingDetails: !1 },
342
342
  hotel: t.hotel,
343
343
  reverse: "",
@@ -349,33 +349,33 @@ var Re = /* @__PURE__ */ bt(Te, [["render", Ie]]), Fe = { class: "text-h7 font-w
349
349
  })
350
350
  ], 64)) : P("", !0)]),
351
351
  "booking-heading": a(() => [s("h5", null, l(r(o)("BookingDetailsSidebar.bookingHeading")), 1)]),
352
- "check-in-title": a(() => [s("p", Ae, l(r(o)("BookingDetailsSidebar.checkInTitle")), 1)]),
353
- "check-out-title": a(() => [s("p", ze, l(r(o)("BookingDetailsSidebar.checkOutTitle")), 1)]),
352
+ "check-in-title": a(() => [s("p", ze, l(r(o)("BookingDetailsSidebar.checkInTitle")), 1)]),
353
+ "check-out-title": a(() => [s("p", Oe, l(r(o)("BookingDetailsSidebar.checkOutTitle")), 1)]),
354
354
  "check-in-date": a(() => [s("p", _e, l(d(t.checkInDate)), 1)]),
355
- "check-out-date": a(() => [s("p", Oe, l(d(t.checkOutDate)), 1)]),
356
- "check-in-time": a(() => [t.hotel?.checkInTime ? (u(), I("p", Ue, l(r(o)("BookingDetailsSidebar.checkInTime", { value: g(t.hotel?.checkInTime) })), 1)) : P("", !0), C[0] || (C[0] = s("template", null, [s("span")], -1))]),
357
- "check-out-time": a(() => [t.hotel?.checkOutTime ? (u(), I("p", Ee, l(r(o)("BookingDetailsSidebar.checkOutTime", { value: g(t.hotel?.checkOutTime) })), 1)) : (u(), I("span", He))]),
358
- "length-of-stay-title": a(() => [s("p", Ve, l(r(o)("BookingDetailsSidebar.lengthOfStayTitle")), 1)]),
359
- "length-of-stay-count": a(() => [s("p", Ne, l(r(o)("BookingDetailsSidebar.nightCount", {
360
- n: v.value,
361
- value: v.value
355
+ "check-out-date": a(() => [s("p", Ee, l(d(t.checkOutDate)), 1)]),
356
+ "check-in-time": a(() => [t.hotel?.checkInTime ? (u(), I("p", Ve, l(r(o)("BookingDetailsSidebar.checkInTime", { value: g(t.hotel?.checkInTime) })), 1)) : P("", !0), C[0] || (C[0] = s("template", null, [s("span")], -1))]),
357
+ "check-out-time": a(() => [t.hotel?.checkOutTime ? (u(), I("p", He, l(r(o)("BookingDetailsSidebar.checkOutTime", { value: g(t.hotel?.checkOutTime) })), 1)) : (u(), I("span", Ne))]),
358
+ "length-of-stay-title": a(() => [s("p", Me, l(r(o)("BookingDetailsSidebar.lengthOfStayTitle")), 1)]),
359
+ "length-of-stay-count": a(() => [s("p", Ue, l(r(o)("BookingDetailsSidebar.nightCount", {
360
+ n: b.value,
361
+ value: b.value
362
362
  })), 1)]),
363
- "room-selected-heading": a(() => [s("p", Me, l(r(o)("BookingDetailsSidebar.roomSelectedHeading")), 1)]),
364
- "room-selected-list": a(() => [s("div", $e, [
365
- e(ce, { "hotel-rooms": t.hotelRoomOffer.hotelRooms.map((S) => ({
366
- ...S,
367
- id: S.id
363
+ "room-selected-heading": a(() => [s("p", $e, l(r(o)("BookingDetailsSidebar.roomSelectedHeading")), 1)]),
364
+ "room-selected-list": a(() => [s("div", qe, [
365
+ e(de, { "hotel-rooms": t.hotelRoomOffer.hotelRooms.map((L) => ({
366
+ ...L,
367
+ id: L.id
368
368
  })) }, null, 8, ["hotel-rooms"]),
369
- t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? (u(), y(fe, {
369
+ t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? (u(), f(fe, {
370
370
  key: 0,
371
371
  "breakfast-option": "INCLUDED",
372
372
  breakfastCount: t.hotelRoomOffer?.breakfastCount
373
373
  }, null, 8, ["breakfastCount"])) : P("", !0),
374
- t.hotelRoomOffer.stayTaxesInfo === r(Qt).NotIncluded ? (u(), y(se, {
374
+ t.hotelRoomOffer.stayTaxesInfo === r(Qt).NotIncluded ? (u(), f(re, {
375
375
  key: 1,
376
376
  "adult-count": t.hotelRoomOffer.taxes?.length ? t.adultCount : 0
377
377
  }, null, 8, ["adult-count"])) : P("", !0),
378
- w.value ? (u(), y(ee, {
378
+ T.value ? (u(), f(ae, {
379
379
  key: 2,
380
380
  density: "compact",
381
381
  icon: !1,
@@ -383,38 +383,38 @@ var Re = /* @__PURE__ */ bt(Te, [["render", Ie]]), Fe = { class: "text-h7 font-w
383
383
  type: "warning",
384
384
  variant: "tonal"
385
385
  }, {
386
- default: a(() => [s("p", qe, l(r(o)("BookingDetailsSidebar.bedTypeNote")), 1)]),
386
+ default: a(() => [s("p", je, l(r(o)("BookingDetailsSidebar.bedTypeNote")), 1)]),
387
387
  _: 1
388
388
  })) : P("", !0)
389
389
  ])]),
390
390
  "price-heading": a(() => [s("h5", null, l(r(o)("BookingDetailsSidebar.priceHeading")), 1)]),
391
- "price-info-base": a(() => [t.hotelRoomOffer ? (u(), I(W, { key: 0 }, [s("span", je, l(r(o)("BookingDetailsSidebar.roomCount", {
391
+ "price-info-base": a(() => [t.hotelRoomOffer ? (u(), I(Q, { key: 0 }, [s("span", Ge, l(r(o)("BookingDetailsSidebar.roomCount", {
392
392
  n: i.value,
393
393
  value: i.value
394
394
  })) + " x " + l(r(o)("BookingDetailsSidebar.nightCount", {
395
- n: v.value,
396
- value: v.value
397
- })), 1), s("span", Ge, [e(Z, {
395
+ n: b.value,
396
+ value: b.value
397
+ })), 1), s("span", Ke, [e(Z, {
398
398
  amount: t.hotelRoomOffer.price,
399
399
  currency: t.hotelRoomOffer.currency
400
400
  }, null, 8, ["amount", "currency"])])], 64)) : P("", !0)]),
401
- "price-info-taxes": a(() => [t.hotelRoomOffer && t.hotelRoomOffer.taxIncludedPrice !== t.hotelRoomOffer.price ? (u(), I("div", Ke, [s("span", Ye, l(r(o)("BookingDetailsSidebar.taxesAmount")), 1), s("span", Ze, [e(Z, {
401
+ "price-info-taxes": a(() => [t.hotelRoomOffer && t.hotelRoomOffer.taxIncludedPrice !== t.hotelRoomOffer.price ? (u(), I("div", Ye, [s("span", Ze, l(r(o)("BookingDetailsSidebar.taxesAmount")), 1), s("span", Je, [e(Z, {
402
402
  amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price,
403
403
  currency: t.hotelRoomOffer.currency
404
- }, null, 8, ["amount", "currency"])])])) : (u(), I("span", Je))]),
405
- total: a(() => [s("div", null, [s("p", Qe, l(r(o)("BookingDetailsSidebar.total")), 1), t.adultCount ? (u(), I("p", We, l(r(o)("BookingDetailsSidebar.guestsCount", {
404
+ }, null, 8, ["amount", "currency"])])])) : (u(), I("span", We))]),
405
+ total: a(() => [s("div", null, [s("p", Qe, l(r(o)("BookingDetailsSidebar.total")), 1), t.adultCount ? (u(), I("p", Xe, l(r(o)("BookingDetailsSidebar.guestsCount", {
406
406
  n: t.adultCount,
407
407
  value: t.adultCount
408
408
  })), 1)) : P("", !0)])]),
409
- "total-count": a(() => [t.hotelRoomOffer ? (u(), y(Z, {
409
+ "total-count": a(() => [t.hotelRoomOffer ? (u(), f(Z, {
410
410
  key: 0,
411
411
  amount: t.hotelRoomOffer.taxIncludedPrice,
412
412
  class: "font-weight-black text-h6 text-black",
413
413
  currency: t.hotelRoomOffer.currency
414
414
  }, null, 8, ["amount", "currency"])) : P("", !0)]),
415
- taxes: a(() => [s("p", Xe, l(r(o)("BookingDetailsSidebar.taxes")), 1)]),
415
+ taxes: a(() => [s("p", ta, l(r(o)("BookingDetailsSidebar.taxes")), 1)]),
416
416
  "cancellation-policies-heading": a(() => [s("h5", null, l(r(o)("BookingDetailsSidebar.bookingPoliciesHeading")), 1)]),
417
- "cancellation-policies-list": a(() => [t.hotel && t.hotelRoomOffer ? (u(), y(le, {
417
+ "cancellation-policies-list": a(() => [t.hotel && t.hotelRoomOffer ? (u(), f(ue, {
418
418
  key: 0,
419
419
  "cancellation-policies": t.hotelRoomOffer.cancellationPolicies,
420
420
  "check-in-date": t.checkInDate,
@@ -2299,8 +2299,8 @@ var Re = /* @__PURE__ */ bt(Te, [["render", Ie]]), Fe = { class: "text-h7 font-w
2299
2299
  }
2300
2300
  } }
2301
2301
  };
2302
- typeof gt == "function" && gt(Pt);
2303
- var ta = /* @__PURE__ */ bt(Pt, [["__scopeId", "data-v-0c3cd674"]]), ea = /* @__PURE__ */ X({
2302
+ typeof gt == "function" && gt(Tt);
2303
+ var ea = /* @__PURE__ */ vt(Tt, [["__scopeId", "data-v-0c3cd674"]]), aa = /* @__PURE__ */ X({
2304
2304
  __name: "BookingDetailsSidebar",
2305
2305
  props: {
2306
2306
  adultCount: {},
@@ -2309,8 +2309,8 @@ var ta = /* @__PURE__ */ bt(Pt, [["__scopeId", "data-v-0c3cd674"]]), ea = /* @__
2309
2309
  hotelRoomOffer: {}
2310
2310
  },
2311
2311
  setup(t) {
2312
- const m = t, { bookingApiClient: o } = ft(), n = h(null), d = R(() => $t(m.hotelRoomOffer, null));
2313
- return vt(() => {
2312
+ const m = t, { bookingApiClient: o } = Ct(), n = h(null), d = F(() => Gt(m.hotelRoomOffer, null));
2313
+ return bt(() => {
2314
2314
  try {
2315
2315
  d.value && o.value && o.value.hotels.retrieve({ id: d.value.hotelId }).then((g) => {
2316
2316
  n.value = g;
@@ -2318,7 +2318,7 @@ var ta = /* @__PURE__ */ bt(Pt, [["__scopeId", "data-v-0c3cd674"]]), ea = /* @__
2318
2318
  } catch (g) {
2319
2319
  console.error(g);
2320
2320
  }
2321
- }), (g, v) => (u(), y(ta, {
2321
+ }), (g, b) => (u(), f(ea, {
2322
2322
  "adult-count": t.adultCount,
2323
2323
  "check-in-date": t.checkInDate,
2324
2324
  "check-out-date": t.checkOutDate,
@@ -2332,35 +2332,35 @@ var ta = /* @__PURE__ */ bt(Pt, [["__scopeId", "data-v-0c3cd674"]]), ea = /* @__
2332
2332
  "hotel-room-offer"
2333
2333
  ]));
2334
2334
  }
2335
- }), aa = ea, oa = /* @__PURE__ */ (function(t) {
2335
+ }), oa = aa, ia = /* @__PURE__ */ (function(t) {
2336
2336
  return t.BookingDetails = "BookingDetails", t;
2337
- })({}), ia = { [oa.BookingDetails]: !0 };
2338
- function na(t) {
2337
+ })({}), na = { [ia.BookingDetails]: !0 };
2338
+ function sa(t) {
2339
2339
  const m = ct(t());
2340
2340
  let o = -1;
2341
2341
  function n() {
2342
2342
  clearInterval(o);
2343
2343
  }
2344
2344
  function d() {
2345
- n(), Ot(() => m.value = t());
2345
+ n(), _t(() => m.value = t());
2346
2346
  }
2347
- function g(v) {
2348
- const i = v ? getComputedStyle(v) : { transitionDuration: 0.2 }, w = parseFloat(i.transitionDuration) * 1e3 || 200;
2347
+ function g(b) {
2348
+ const i = b ? getComputedStyle(b) : { transitionDuration: 0.2 }, T = parseFloat(i.transitionDuration) * 1e3 || 200;
2349
2349
  if (n(), m.value <= 0) return;
2350
- const f = performance.now();
2350
+ const y = performance.now();
2351
2351
  o = window.setInterval(() => {
2352
- const C = performance.now() - f + w;
2352
+ const C = performance.now() - y + T;
2353
2353
  m.value = Math.max(t() - C, 0), m.value <= 0 && n();
2354
- }, w);
2354
+ }, T);
2355
2355
  }
2356
- return qt(n), {
2356
+ return Jt(n), {
2357
2357
  clear: n,
2358
2358
  time: m,
2359
2359
  start: g,
2360
2360
  reset: d
2361
2361
  };
2362
2362
  }
2363
- var sa = zt({
2363
+ var ra = Vt({
2364
2364
  multiLine: Boolean,
2365
2365
  text: String,
2366
2366
  timer: [Boolean, String],
@@ -2369,65 +2369,65 @@ var sa = zt({
2369
2369
  default: 5e3
2370
2370
  },
2371
2371
  vertical: Boolean,
2372
- ...Be({ location: "bottom" }),
2373
- ...Ce(),
2374
- ...Xt(),
2375
- ...ie(),
2372
+ ...Pe({ location: "bottom" }),
2373
+ ...xe(),
2374
+ ...te(),
2375
+ ...ne(),
2376
2376
  ...Kt(),
2377
- ...Jt(ae({ transition: "v-snackbar-transition" }), [
2377
+ ...Wt(oe({ transition: "v-snackbar-transition" }), [
2378
2378
  "persistent",
2379
2379
  "noClickAnimation",
2380
2380
  "scrim",
2381
2381
  "scrollStrategy"
2382
2382
  ])
2383
- }, "VSnackbar"), ra = Ut()({
2383
+ }, "VSnackbar"), la = Ut()({
2384
2384
  name: "VSnackbar",
2385
- props: sa(),
2385
+ props: ra(),
2386
2386
  emits: { "update:modelValue": (t) => !0 },
2387
2387
  setup(t, m) {
2388
2388
  let { slots: o } = m;
2389
- const n = Dt(t, "modelValue"), { positionClasses: d } = ge(t), { scopeId: g } = te(), { themeClasses: v } = Ht(t), { colorClasses: i, colorStyles: w, variantClasses: f } = ve(t), { roundedClasses: C } = oe(t), S = na(() => Number(t.timeout)), U = h(), x = h(), D = ct(!1), V = ct(0), _ = h(), $ = Vt(pe, void 0);
2390
- _t(() => !!$, () => {
2391
- const T = xe();
2392
- jt(() => {
2393
- _.value = T.mainStyles.value;
2389
+ const n = Rt(t, "modelValue"), { positionClasses: d } = ke(t), { scopeId: g } = ee(), { themeClasses: b } = qt(t), { colorClasses: i, colorStyles: T, variantClasses: y } = ve(t), { roundedClasses: C } = ie(t), L = sa(() => Number(t.timeout)), E = h(), x = h(), A = ct(!1), N = ct(0), O = h(), $ = Ht(pe, void 0);
2390
+ Nt(() => !!$, () => {
2391
+ const w = Be();
2392
+ Yt(() => {
2393
+ O.value = w.mainStyles.value;
2394
2394
  });
2395
- }), dt(n, p), dt(() => t.timeout, p), vt(() => {
2396
- n.value && p();
2395
+ }), dt(n, k), dt(() => t.timeout, k), bt(() => {
2396
+ n.value && k();
2397
2397
  });
2398
- let N = -1;
2399
- function p() {
2400
- S.reset(), window.clearTimeout(N);
2401
- const T = Number(t.timeout);
2402
- if (!n.value || T === -1) return;
2403
- const z = At(x.value);
2404
- S.start(z), N = window.setTimeout(() => {
2398
+ let M = -1;
2399
+ function k() {
2400
+ L.reset(), window.clearTimeout(M);
2401
+ const w = Number(t.timeout);
2402
+ if (!n.value || w === -1) return;
2403
+ const z = zt(x.value);
2404
+ L.start(z), M = window.setTimeout(() => {
2405
2405
  n.value = !1;
2406
- }, T);
2406
+ }, w);
2407
2407
  }
2408
2408
  function c() {
2409
- S.reset(), window.clearTimeout(N);
2409
+ L.reset(), window.clearTimeout(M);
2410
2410
  }
2411
2411
  function G() {
2412
- D.value = !0, c();
2412
+ A.value = !0, c();
2413
2413
  }
2414
- function A() {
2415
- D.value = !1, p();
2414
+ function R() {
2415
+ A.value = !1, k();
2416
2416
  }
2417
- function it(T) {
2418
- V.value = T.touches[0].clientY;
2417
+ function it(w) {
2418
+ N.value = w.touches[0].clientY;
2419
2419
  }
2420
- function tt(T) {
2421
- Math.abs(V.value - T.changedTouches[0].clientY) > 50 && (n.value = !1);
2420
+ function tt(w) {
2421
+ Math.abs(N.value - w.changedTouches[0].clientY) > 50 && (n.value = !1);
2422
2422
  }
2423
2423
  function q() {
2424
- D.value && A();
2424
+ A.value && R();
2425
2425
  }
2426
- const nt = R(() => t.location.split(" ").reduce((T, z) => (T[`v-snackbar--${z}`] = !0, T), {}));
2427
- return he(() => {
2428
- const T = mt.filterProps(t), z = !!(o.default || o.text || t.text);
2426
+ const nt = F(() => t.location.split(" ").reduce((w, z) => (w[`v-snackbar--${z}`] = !0, w), {}));
2427
+ return ye(() => {
2428
+ const w = mt.filterProps(t), z = !!(o.default || o.text || t.text);
2429
2429
  return e(mt, at({
2430
- ref: U,
2430
+ ref: E,
2431
2431
  class: [
2432
2432
  "v-snackbar",
2433
2433
  {
@@ -2440,22 +2440,22 @@ var sa = zt({
2440
2440
  d.value,
2441
2441
  t.class
2442
2442
  ],
2443
- style: [_.value, t.style]
2444
- }, T, {
2443
+ style: [O.value, t.style]
2444
+ }, w, {
2445
2445
  modelValue: n.value,
2446
- "onUpdate:modelValue": (L) => n.value = L,
2446
+ "onUpdate:modelValue": (S) => n.value = S,
2447
2447
  contentProps: at({
2448
2448
  class: [
2449
2449
  "v-snackbar__wrapper",
2450
- v.value,
2450
+ b.value,
2451
2451
  i.value,
2452
2452
  C.value,
2453
- f.value
2453
+ y.value
2454
2454
  ],
2455
- style: [w.value],
2455
+ style: [T.value],
2456
2456
  onPointerenter: G,
2457
- onPointerleave: A
2458
- }, T.contentProps),
2457
+ onPointerleave: R
2458
+ }, w.contentProps),
2459
2459
  persistent: !0,
2460
2460
  noClickAnimation: !0,
2461
2461
  scrim: !1,
@@ -2466,15 +2466,15 @@ var sa = zt({
2466
2466
  onAfterLeave: q
2467
2467
  }, g), {
2468
2468
  default: () => [
2469
- Wt(!1, "v-snackbar"),
2470
- t.timer && !D.value && e("div", {
2469
+ Xt(!1, "v-snackbar"),
2470
+ t.timer && !A.value && e("div", {
2471
2471
  key: "timer",
2472
2472
  class: "v-snackbar__timer"
2473
- }, [e(be, {
2473
+ }, [e(ge, {
2474
2474
  ref: x,
2475
2475
  color: typeof t.timer == "string" ? t.timer : "info",
2476
2476
  max: t.timeout,
2477
- "model-value": S.time.value
2477
+ "model-value": L.time.value
2478
2478
  }, null)]),
2479
2479
  z && e("div", {
2480
2480
  key: "content",
@@ -2482,7 +2482,7 @@ var sa = zt({
2482
2482
  role: "status",
2483
2483
  "aria-live": "polite"
2484
2484
  }, [o.text?.() ?? t.text, o.default?.()]),
2485
- o.actions && e(Pe, { defaults: { VBtn: {
2485
+ o.actions && e(Te, { defaults: { VBtn: {
2486
2486
  variant: "text",
2487
2487
  ripple: !1,
2488
2488
  slim: !0
@@ -2490,9 +2490,9 @@ var sa = zt({
2490
2490
  ],
2491
2491
  activator: o.activator
2492
2492
  });
2493
- }), de({}, U);
2493
+ }), me({}, E);
2494
2494
  }
2495
- }), 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({
2495
+ }), ua = { class: "d-flex flex-column ga-3" }, ca = ["href"], da = { class: "mr-1" }, ma = { class: "mr-1" }, ba = { class: "mx-2" }, va = { class: "mr-1" }, wt = /* @__PURE__ */ X({
2496
2496
  __name: "PaymentFormUI",
2497
2497
  props: {
2498
2498
  currency: {},
@@ -2511,23 +2511,23 @@ var sa = zt({
2511
2511
  "payment:success"
2512
2512
  ],
2513
2513
  setup(t, { expose: m, emit: o }) {
2514
- const n = o, { t: d } = ot(), g = t, v = h(!1), i = h(B.CreditCard), w = h(!1), f = h(!1), C = h(!1), S = h(null), U = Rt("CREDIT_CARD"), x = R(() => g.paymentMethods.find((p) => p.name === B.CreditCard && p.payload)), D = R(() => {
2515
- const p = g.paymentMethods.find((c) => c.name === B.Coupon && c.payload);
2516
- return !!(p && p.payload.amount === g.totalToPay);
2514
+ const n = o, { t: d } = ot(), g = t, b = h(!1), i = h(B.CreditCard), T = h(!1), y = h(!1), C = h(!1), L = h(null), E = $t("CREDIT_CARD"), x = F(() => g.paymentMethods.find((k) => k.name === B.CreditCard && k.payload)), A = F(() => {
2515
+ const k = g.paymentMethods.find((c) => c.name === B.Coupon && c.payload);
2516
+ return !!(k && k.payload.amount === g.totalToPay);
2517
2517
  });
2518
- function V(p) {
2519
- C.value = p && !D.value, n("payment:change", p), S.value = "";
2518
+ function N(k) {
2519
+ C.value = k && !A.value, n("payment:change", k), L.value = "";
2520
2520
  }
2521
- function _(p) {
2522
- n("payment:error"), S.value = p;
2521
+ function O(k) {
2522
+ n("payment:error"), L.value = k;
2523
2523
  }
2524
- function $(p) {
2525
- v.value = !0, n(j.PaymentSuccess, p);
2524
+ function $(k) {
2525
+ b.value = !0, n(j.PaymentSuccess, k);
2526
2526
  }
2527
- function N() {
2527
+ function M() {
2528
2528
  switch (i.value) {
2529
2529
  case B.CreditCard:
2530
- U.value?.pay();
2530
+ E.value?.pay();
2531
2531
  break;
2532
2532
  case B.Coupon:
2533
2533
  case B.DepositAccount:
@@ -2535,9 +2535,9 @@ var sa = zt({
2535
2535
  break;
2536
2536
  }
2537
2537
  }
2538
- return m({ pay: N }), (p, c) => {
2539
- const G = Gt("i18n-t");
2540
- return u(), I("div", la, [
2538
+ return m({ pay: M }), (k, c) => {
2539
+ const G = Et("i18n-t");
2540
+ return u(), I("div", ua, [
2541
2541
  e(we, {
2542
2542
  ref: "CREDIT_CARD",
2543
2543
  amount: x.value?.payload?.amount || 0,
@@ -2545,9 +2545,9 @@ var sa = zt({
2545
2545
  disabled: !x.value?.payload.amount || !x.value?.payload.token,
2546
2546
  loading: t.isLoading,
2547
2547
  stripeToken: x.value?.payload.token,
2548
- onChange: V,
2549
- onError: _,
2550
- "onPayment:success": c[0] || (c[0] = (A) => $(r(B).CreditCard))
2548
+ onChange: N,
2549
+ onError: O,
2550
+ "onPayment:success": c[0] || (c[0] = (R) => $(r(B).CreditCard))
2551
2551
  }, null, 8, [
2552
2552
  "amount",
2553
2553
  "currency",
@@ -2555,65 +2555,65 @@ var sa = zt({
2555
2555
  "loading",
2556
2556
  "stripeToken"
2557
2557
  ]),
2558
- k(p.$slots, "append"),
2559
- k(p.$slots, "terms", {}, () => [e(xt, {
2558
+ p(k.$slots, "append"),
2559
+ p(k.$slots, "terms", {}, () => [e(Bt, {
2560
2560
  ref: "testing",
2561
- modelValue: w.value,
2562
- "onUpdate:modelValue": c[2] || (c[2] = (A) => w.value = A),
2561
+ modelValue: T.value,
2562
+ "onUpdate:modelValue": c[2] || (c[2] = (R) => T.value = R),
2563
2563
  color: "primary",
2564
- error: f.value && !w.value
2564
+ error: y.value && !T.value
2565
2565
  }, {
2566
- label: a(() => [s("span", { onClick: c[1] || (c[1] = Ct(() => {
2566
+ label: a(() => [s("span", { onClick: c[1] || (c[1] = xt(() => {
2567
2567
  }, ["stop"])) }, [e(G, {
2568
2568
  keypath: "PaymentFormUI.termsAndConditions",
2569
2569
  tag: "span"
2570
2570
  }, {
2571
2571
  linkText: a(() => [s("b", null, [s("a", {
2572
- href: r(d)("PaymentFormUI.termsURL"),
2572
+ href: r(ft),
2573
2573
  target: "_blank"
2574
- }, l(r(d)("PaymentFormUI.termsAndConditionsLinkText")), 9, ua)])]),
2574
+ }, l(r(d)("PaymentFormUI.termsAndConditionsLinkText")), 9, ca)])]),
2575
2575
  _: 1
2576
2576
  })])]),
2577
2577
  _: 1
2578
2578
  }, 8, ["modelValue", "error"])]),
2579
- e(ke, { class: "mt-n6" }, {
2579
+ e(he, { class: "mt-n6" }, {
2580
2580
  default: a(() => [e(H, {
2581
2581
  align: "end",
2582
2582
  class: "flex-column flex-sm-row",
2583
2583
  "no-gutters": ""
2584
2584
  }, {
2585
- default: a(() => [e(F, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
2586
- default: a(() => [t.isPayLaterForced ? (u(), y(Q, {
2585
+ default: a(() => [e(D, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
2586
+ default: a(() => [t.isPayLaterForced ? (u(), f(W, {
2587
2587
  key: 0,
2588
2588
  class: "w-sm-auto w-100",
2589
2589
  color: "primary",
2590
2590
  "data-gtm-id": "payment-book-pay-later",
2591
- disabled: t.isLoading || !w.value,
2591
+ disabled: t.isLoading || !T.value,
2592
2592
  loading: t.isLoading,
2593
2593
  variant: "outlined",
2594
- onClick: c[3] || (c[3] = (A) => n("payment:later"))
2594
+ onClick: c[3] || (c[3] = (R) => n("payment:later"))
2595
2595
  }, {
2596
- default: a(() => [s("span", ca, l(r(d)("PaymentFormUI.completeBookingNow")), 1)]),
2596
+ default: a(() => [s("span", da, l(r(d)("PaymentFormUI.completeBookingNow")), 1)]),
2597
2597
  _: 1
2598
- }, 8, ["disabled", "loading"])) : t.isPayLaterAllowed ? (u(), I(W, { key: 1 }, [e(Q, {
2598
+ }, 8, ["disabled", "loading"])) : t.isPayLaterAllowed ? (u(), I(Q, { key: 1 }, [e(W, {
2599
2599
  class: "w-sm-auto w-100",
2600
2600
  color: "primary",
2601
2601
  "data-gtm-id": "payment-book-pay-later",
2602
- disabled: t.isLoading || !w.value,
2602
+ disabled: t.isLoading || !T.value,
2603
2603
  loading: t.isLoading,
2604
2604
  variant: "outlined",
2605
- onClick: c[4] || (c[4] = (A) => n("payment:later"))
2605
+ onClick: c[4] || (c[4] = (R) => n("payment:later"))
2606
2606
  }, {
2607
2607
  default: a(() => [
2608
2608
  e(J, {
2609
2609
  class: "ml-1",
2610
2610
  start: ""
2611
2611
  }, {
2612
- default: a(() => [...c[6] || (c[6] = [E(" fas fa-clock ", -1)])]),
2612
+ default: a(() => [...c[6] || (c[6] = [V(" fas fa-clock ", -1)])]),
2613
2613
  _: 1
2614
2614
  }),
2615
- s("span", da, l(r(d)("PaymentFormUI.completeBookingLater")), 1),
2616
- t.isPayLaterForced ? P("", !0) : (u(), y(r(Z), {
2615
+ s("span", ma, l(r(d)("PaymentFormUI.completeBookingLater")), 1),
2616
+ t.isPayLaterForced ? P("", !0) : (u(), f(r(Z), {
2617
2617
  key: 0,
2618
2618
  amount: t.totalToPay,
2619
2619
  class: "font-weight-bold",
@@ -2621,21 +2621,21 @@ var sa = zt({
2621
2621
  }, null, 8, ["amount", "currency"]))
2622
2622
  ]),
2623
2623
  _: 1
2624
- }, 8, ["disabled", "loading"]), s("span", ma, l(r(d)("PaymentFormUI.or")), 1)], 64)) : P("", !0), t.isPayLaterForced ? P("", !0) : (u(), y(Q, {
2624
+ }, 8, ["disabled", "loading"]), s("span", ba, l(r(d)("PaymentFormUI.or")), 1)], 64)) : P("", !0), t.isPayLaterForced ? P("", !0) : (u(), f(W, {
2625
2625
  key: 2,
2626
2626
  class: "w-sm-auto w-100",
2627
2627
  color: "primary",
2628
2628
  "data-gtm-id": "payment-book-now",
2629
- disabled: t.isLoading || !w.value || !C.value || t.isUpdatingPaymentMethods,
2629
+ disabled: t.isLoading || !T.value || !C.value || t.isUpdatingPaymentMethods,
2630
2630
  loading: t.isLoading,
2631
2631
  variant: "flat",
2632
- onClick: c[5] || (c[5] = (A) => n("payment:pay"))
2632
+ onClick: c[5] || (c[5] = (R) => n("payment:pay"))
2633
2633
  }, {
2634
2634
  default: a(() => [e(J, {
2635
2635
  class: "ml-1",
2636
2636
  start: ""
2637
2637
  }, {
2638
- default: a(() => [...c[7] || (c[7] = [E(" fas fa-lock ", -1)])]),
2638
+ default: a(() => [...c[7] || (c[7] = [V(" fas fa-lock ", -1)])]),
2639
2639
  _: 1
2640
2640
  }), s("span", va, l(r(d)("PaymentFormUI.completeBookingNow")), 1)]),
2641
2641
  _: 1
@@ -2649,7 +2649,7 @@ var sa = zt({
2649
2649
  ]);
2650
2650
  };
2651
2651
  }
2652
- }), pt = {
2652
+ }), kt = {
2653
2653
  "en-US": { PaymentFormUI: {
2654
2654
  completeBookingNow: {
2655
2655
  t: 0,
@@ -2695,14 +2695,6 @@ var sa = zt({
2695
2695
  i: [{ t: 3 }],
2696
2696
  s: "Click here to read it"
2697
2697
  }
2698
- },
2699
- termsURL: {
2700
- t: 0,
2701
- b: {
2702
- t: 2,
2703
- i: [{ t: 3 }],
2704
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
2705
- }
2706
2698
  }
2707
2699
  } },
2708
2700
  "fr-FR": { PaymentFormUI: {
@@ -2750,14 +2742,6 @@ var sa = zt({
2750
2742
  i: [{ t: 3 }],
2751
2743
  s: "Cliquez ici pour les consulter"
2752
2744
  }
2753
- },
2754
- termsURL: {
2755
- t: 0,
2756
- b: {
2757
- t: 2,
2758
- i: [{ t: 3 }],
2759
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo_fr.pdf"
2760
- }
2761
2745
  }
2762
2746
  } },
2763
2747
  "de-DE": { PaymentFormUI: {
@@ -2805,14 +2789,6 @@ var sa = zt({
2805
2789
  i: [{ t: 3 }],
2806
2790
  s: "Klicken Sie hier, um sie zu lesen"
2807
2791
  }
2808
- },
2809
- termsURL: {
2810
- t: 0,
2811
- b: {
2812
- t: 2,
2813
- i: [{ t: 3 }],
2814
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
2815
- }
2816
2792
  }
2817
2793
  } },
2818
2794
  "es-ES": { PaymentFormUI: {
@@ -2860,14 +2836,6 @@ var sa = zt({
2860
2836
  i: [{ t: 3 }],
2861
2837
  s: "Haga clic aquí para leerlos"
2862
2838
  }
2863
- },
2864
- termsURL: {
2865
- t: 0,
2866
- b: {
2867
- t: 2,
2868
- i: [{ t: 3 }],
2869
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
2870
- }
2871
2839
  }
2872
2840
  } },
2873
2841
  "it-IT": { PaymentFormUI: {
@@ -2915,14 +2883,6 @@ var sa = zt({
2915
2883
  i: [{ t: 3 }],
2916
2884
  s: "Clicca qui per leggerli"
2917
2885
  }
2918
- },
2919
- termsURL: {
2920
- t: 0,
2921
- b: {
2922
- t: 2,
2923
- i: [{ t: 3 }],
2924
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
2925
- }
2926
2886
  }
2927
2887
  } },
2928
2888
  "nl-NL": { PaymentFormUI: {
@@ -2970,14 +2930,6 @@ var sa = zt({
2970
2930
  i: [{ t: 3 }],
2971
2931
  s: "Klik hier om ze te lezen"
2972
2932
  }
2973
- },
2974
- termsURL: {
2975
- t: 0,
2976
- b: {
2977
- t: 2,
2978
- i: [{ t: 3 }],
2979
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
2980
- }
2981
2933
  }
2982
2934
  } },
2983
2935
  "pt-PT": { PaymentFormUI: {
@@ -3025,19 +2977,11 @@ var sa = zt({
3025
2977
  i: [{ t: 3 }],
3026
2978
  s: "Clique aqui para ler"
3027
2979
  }
3028
- },
3029
- termsURL: {
3030
- t: 0,
3031
- b: {
3032
- t: 2,
3033
- i: [{ t: 3 }],
3034
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
3035
- }
3036
2980
  }
3037
2981
  } }
3038
2982
  };
3039
- typeof pt == "function" && pt(wt);
3040
- var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" }, pa = ["href"], ka = { class: "mr-1" }, Tt = /* @__PURE__ */ X({
2983
+ typeof kt == "function" && kt(wt);
2984
+ var ga = wt, ka = { class: "d-flex justify-space-between w-100 items-center" }, pa = ["href"], ha = { class: "mr-1" }, St = /* @__PURE__ */ X({
3041
2985
  __name: "BookingPaymentForcedPayLater",
3042
2986
  props: { isLoading: {
3043
2987
  type: Boolean,
@@ -3046,38 +2990,38 @@ var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3046
2990
  emits: ["payment:later"],
3047
2991
  setup(t, { emit: m }) {
3048
2992
  const { t: o } = ot(), n = h(!1), d = m;
3049
- return (g, v) => (u(), I(W, null, [
3050
- e(M, {
2993
+ return (g, b) => (u(), I(Q, null, [
2994
+ e(U, {
3051
2995
  border: "",
3052
2996
  elevation: "0",
3053
2997
  style: { borderColor: "rgb(var(--v-theme-primary))" }
3054
2998
  }, {
3055
- default: a(() => [e(Bt, {
2999
+ default: a(() => [e(Pt, {
3056
3000
  class: "text-white",
3057
3001
  color: "primary",
3058
3002
  dense: "",
3059
3003
  elevation: "0"
3060
3004
  }, {
3061
- default: a(() => [s("div", ga, [s("h4", null, l(r(o)("BookingPaymentForcedPayLater.payLaterForced.title")), 1)])]),
3005
+ default: a(() => [s("div", ka, [s("h4", null, l(r(o)("BookingPaymentForcedPayLater.payLaterForced.title")), 1)])]),
3062
3006
  _: 1
3063
- }), e(O, null, {
3007
+ }), e(_, null, {
3064
3008
  default: a(() => [s("h4", null, l(r(o)("BookingPaymentForcedPayLater.payLaterForced.subtitle")), 1)]),
3065
3009
  _: 1
3066
3010
  })]),
3067
3011
  _: 1
3068
3012
  }),
3069
- e(xt, {
3013
+ e(Bt, {
3070
3014
  modelValue: n.value,
3071
- "onUpdate:modelValue": v[1] || (v[1] = (i) => n.value = i)
3015
+ "onUpdate:modelValue": b[1] || (b[1] = (i) => n.value = i)
3072
3016
  }, {
3073
- label: a(() => [e(r(Ft), {
3017
+ label: a(() => [e(r(Dt), {
3074
3018
  keypath: "BookingPaymentForcedPayLater.termsAndConditions",
3075
3019
  tag: "span",
3076
- onClick: v[0] || (v[0] = Ct(() => {
3020
+ onClick: b[0] || (b[0] = xt(() => {
3077
3021
  }, ["stop"]))
3078
3022
  }, {
3079
3023
  link: a(() => [s("b", null, [s("a", {
3080
- href: r(o)("BookingPaymentForcedPayLater.termsURL"),
3024
+ href: r(ft),
3081
3025
  target: "_blank"
3082
3026
  }, l(r(o)("BookingPaymentForcedPayLater.termsLinkText")), 9, pa)])]),
3083
3027
  _: 1
@@ -3089,16 +3033,16 @@ var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3089
3033
  class: "flex-column flex-sm-row",
3090
3034
  "no-gutters": ""
3091
3035
  }, {
3092
- default: a(() => [e(F, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
3093
- default: a(() => [e(Q, {
3036
+ default: a(() => [e(D, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
3037
+ default: a(() => [e(W, {
3094
3038
  class: "w-sm-auto w-100",
3095
3039
  color: "primary",
3096
3040
  disabled: t.isLoading || !n.value,
3097
3041
  loading: t.isLoading,
3098
3042
  variant: "outlined",
3099
- onClick: v[2] || (v[2] = (i) => d("payment:later"))
3043
+ onClick: b[2] || (b[2] = (i) => d("payment:later"))
3100
3044
  }, {
3101
- default: a(() => [s("span", ka, l(r(o)("BookingPaymentForcedPayLater.completeBookingLaterForced")), 1)]),
3045
+ default: a(() => [s("span", ha, l(r(o)("BookingPaymentForcedPayLater.completeBookingLaterForced")), 1)]),
3102
3046
  _: 1
3103
3047
  }, 8, ["disabled", "loading"])]),
3104
3048
  _: 1
@@ -3107,7 +3051,7 @@ var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3107
3051
  })
3108
3052
  ], 64));
3109
3053
  }
3110
- }), kt = {
3054
+ }), pt = {
3111
3055
  "en-US": { BookingPaymentForcedPayLater: {
3112
3056
  completeBookingLaterForced: {
3113
3057
  t: 0,
@@ -3155,14 +3099,6 @@ var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3155
3099
  i: [{ t: 3 }],
3156
3100
  s: "Click here to read it"
3157
3101
  }
3158
- },
3159
- termsURL: {
3160
- t: 0,
3161
- b: {
3162
- t: 2,
3163
- i: [{ t: 3 }],
3164
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
3165
- }
3166
3102
  }
3167
3103
  } },
3168
3104
  "fr-FR": { BookingPaymentForcedPayLater: {
@@ -3212,14 +3148,6 @@ var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3212
3148
  i: [{ t: 3 }],
3213
3149
  s: "Cliquez ici pour les consulter"
3214
3150
  }
3215
- },
3216
- termsURL: {
3217
- t: 0,
3218
- b: {
3219
- t: 2,
3220
- i: [{ t: 3 }],
3221
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo_fr.pdf"
3222
- }
3223
3151
  }
3224
3152
  } },
3225
3153
  "de-DE": { BookingPaymentForcedPayLater: {
@@ -3269,14 +3197,6 @@ var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3269
3197
  i: [{ t: 3 }],
3270
3198
  s: "Klicken Sie hier, um sie zu lesen"
3271
3199
  }
3272
- },
3273
- termsURL: {
3274
- t: 0,
3275
- b: {
3276
- t: 2,
3277
- i: [{ t: 3 }],
3278
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
3279
- }
3280
3200
  }
3281
3201
  } },
3282
3202
  "es-ES": { BookingPaymentForcedPayLater: {
@@ -3326,14 +3246,6 @@ var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3326
3246
  i: [{ t: 3 }],
3327
3247
  s: "Haga clic aquí para leerlos"
3328
3248
  }
3329
- },
3330
- termsURL: {
3331
- t: 0,
3332
- b: {
3333
- t: 2,
3334
- i: [{ t: 3 }],
3335
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
3336
- }
3337
3249
  }
3338
3250
  } },
3339
3251
  "it-IT": { BookingPaymentForcedPayLater: {
@@ -3383,14 +3295,6 @@ var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3383
3295
  i: [{ t: 3 }],
3384
3296
  s: "Clicca qui per leggerli"
3385
3297
  }
3386
- },
3387
- termsURL: {
3388
- t: 0,
3389
- b: {
3390
- t: 2,
3391
- i: [{ t: 3 }],
3392
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
3393
- }
3394
3298
  }
3395
3299
  } },
3396
3300
  "nl-NL": { BookingPaymentForcedPayLater: {
@@ -3440,14 +3344,6 @@ var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3440
3344
  i: [{ t: 3 }],
3441
3345
  s: "Klik hier om ze te lezen"
3442
3346
  }
3443
- },
3444
- termsURL: {
3445
- t: 0,
3446
- b: {
3447
- t: 2,
3448
- i: [{ t: 3 }],
3449
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
3450
- }
3451
3347
  }
3452
3348
  } },
3453
3349
  "pt-PT": { BookingPaymentForcedPayLater: {
@@ -3497,43 +3393,35 @@ var ba = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3497
3393
  i: [{ t: 3 }],
3498
3394
  s: "Clique aqui para ler"
3499
3395
  }
3500
- },
3501
- termsURL: {
3502
- t: 0,
3503
- b: {
3504
- t: 2,
3505
- i: [{ t: 3 }],
3506
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
3507
- }
3508
3396
  }
3509
3397
  } }
3510
3398
  };
3511
- typeof kt == "function" && kt(Tt);
3512
- var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-flex align-center px-2" }, Lt = /* @__PURE__ */ X({
3399
+ typeof pt == "function" && pt(St);
3400
+ var ya = St, fa = { class: "text-green" }, Ca = { key: 1 }, xa = { class: "d-flex align-center px-2" }, Lt = /* @__PURE__ */ X({
3513
3401
  __name: "BookingPaymentForm",
3514
3402
  props: {
3515
- features: { default: () => ia },
3403
+ features: { default: () => na },
3516
3404
  token: {}
3517
3405
  },
3518
3406
  emits: ["payment:success"],
3519
3407
  setup(t, { emit: m }) {
3520
- const o = t, n = m, { t: d } = ot(), { bookingApiClient: g } = ft(), { eventBus: v } = Nt(), i = h(null), w = h(""), f = h(null), C = h(null), S = h(null), U = h(!1), x = h(!1), D = h(!1), V = h(!1), _ = h(!1), $ = h(null), N = R(() => i.value?.payLater === rt.Forced), p = R(() => {
3408
+ const o = t, n = m, { t: d } = ot(), { bookingApiClient: g } = Ct(), { eventBus: b } = jt(), i = h(null), T = h(""), y = h(null), C = h(null), L = h(null), E = h(!1), x = h(!1), A = h(!1), N = h(!1), O = h(!1), $ = h(null), M = F(() => i.value?.payLater === rt.Forced), k = F(() => {
3521
3409
  if (i.value?.payLater)
3522
3410
  return [rt.Enabled, rt.Forced].includes(i.value.payLater);
3523
- }), c = R(() => Yt(i.value?.paymentMethods ?? [], "name")), G = R(() => c.value[B.CreditCard] && c.value[B.CreditCard].payload ? c.value[B.CreditCard].payload : null), A = R(() => i.value ? st(i.value) : null);
3411
+ }), c = F(() => Zt(i.value?.paymentMethods ?? [], "name")), G = F(() => c.value[B.CreditCard] && c.value[B.CreditCard].payload ? c.value[B.CreditCard].payload : null), R = F(() => i.value ? st(i.value) : null);
3524
3412
  async function it() {
3525
3413
  try {
3526
3414
  if (c.value[B.Coupon]?.payload?.amount === i.value?.taxIncludedPrice) {
3527
3415
  x.value = !0, await g.value.bookings.couponCharge({
3528
3416
  couponId: c.value[B.Coupon].payload.couponId,
3529
3417
  id: i.value.id
3530
- }), D.value = !0, n(j.PaymentSuccess, i.value), v.$emit(j.PaymentSuccess, st(i.value));
3418
+ }), A.value = !0, n(j.PaymentSuccess, i.value), b.$emit(j.PaymentSuccess, st(i.value));
3531
3419
  return;
3532
3420
  }
3533
3421
  if (!$.value) return;
3534
3422
  x.value = !0, $.value.pay();
3535
3423
  } catch {
3536
- _.value = !0;
3424
+ O.value = !0;
3537
3425
  }
3538
3426
  }
3539
3427
  async function tt() {
@@ -3542,15 +3430,15 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
3542
3430
  x.value = !1;
3543
3431
  return;
3544
3432
  }
3545
- await g.value.bookings.paylater({ id: i.value.id }), D.value = !0, n(j.PaymentSuccess, i.value), v.$emit(j.PaymentSuccess, st(i.value));
3433
+ await g.value.bookings.paylater({ id: i.value.id }), A.value = !0, n(j.PaymentSuccess, i.value), b.$emit(j.PaymentSuccess, st(i.value));
3546
3434
  } catch {
3547
- _.value = !0;
3435
+ O.value = !0;
3548
3436
  } finally {
3549
3437
  x.value = !1;
3550
3438
  }
3551
3439
  }
3552
3440
  function q(z) {
3553
- S.value = "", x.value = !z;
3441
+ L.value = "", x.value = !z;
3554
3442
  }
3555
3443
  async function nt() {
3556
3444
  try {
@@ -3558,137 +3446,137 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
3558
3446
  i.value = null;
3559
3447
  return;
3560
3448
  }
3561
- U.value = !0, q(!1), i.value = await g.value.bookings.retrievePublic({ token: o.token }), (!i.value.paymentMethods || !i.value.paymentMethods.length || i.value.paymentMethods.length > 1) && (i.value = await g.value.bookings.updatePaymentMethods({
3449
+ E.value = !0, q(!1), i.value = await g.value.bookings.retrievePublic({ token: o.token }), (!i.value.paymentMethods || !i.value.paymentMethods.length || i.value.paymentMethods.length > 1) && (i.value = await g.value.bookings.updatePaymentMethods({
3562
3450
  id: i.value.id,
3563
3451
  paymentMethodUpdatePayloadApi: { paymentMethods: [{ name: B.CreditCard }] }
3564
- })), q(!0), U.value = !1;
3452
+ })), q(!0), E.value = !1;
3565
3453
  } catch {
3566
3454
  i.value = null;
3567
3455
  } finally {
3568
- U.value = !1;
3456
+ E.value = !1;
3569
3457
  }
3570
3458
  }
3571
- async function T() {
3459
+ async function w() {
3572
3460
  try {
3573
- C.value = "", V.value = !0;
3461
+ C.value = "", N.value = !0;
3574
3462
  const z = [{ name: B.CreditCard }];
3575
- if (f.value && z.push({
3463
+ if (y.value && z.push({
3576
3464
  name: B.Coupon,
3577
- payload: { couponId: f.value }
3465
+ payload: { couponId: y.value }
3578
3466
  }), q(!1), i.value && (i.value = await g.value.bookings.updatePaymentMethods({
3579
3467
  id: i.value.id,
3580
3468
  paymentMethodUpdatePayloadApi: { paymentMethods: z }
3581
3469
  })), q(!0), !c.value[B.Coupon] || !c.value[B.Coupon].payload?.amount) {
3582
- if (!f) return;
3583
- w.value = d("BookingPaymentForm.paymentMethods.coupon.error");
3470
+ if (!y) return;
3471
+ T.value = d("BookingPaymentForm.paymentMethods.coupon.error");
3584
3472
  } else
3585
- w.value = "", C.value = d("BookingPaymentForm.paymentMethods.coupon.success", { price: Et({
3473
+ T.value = "", C.value = d("BookingPaymentForm.paymentMethods.coupon.success", { price: Ot({
3586
3474
  amount: c.value[B.Coupon].payload.amount,
3587
3475
  currency: i.value?.currency
3588
3476
  }) });
3589
3477
  } catch {
3590
3478
  i.value = null;
3591
3479
  } finally {
3592
- V.value = !1;
3480
+ N.value = !1;
3593
3481
  }
3594
3482
  }
3595
3483
  return dt(() => o.token, async () => {
3596
3484
  await nt();
3597
- }, { immediate: !0 }), vt(() => {
3598
- T();
3599
- }), (z, L) => D.value ? (u(), y(M, {
3485
+ }, { immediate: !0 }), bt(() => {
3486
+ w();
3487
+ }), (z, S) => A.value ? (u(), f(U, {
3600
3488
  key: 0,
3601
3489
  elevation: "0"
3602
3490
  }, {
3603
- default: a(() => [e(O, { class: "d-flex flex-column align-center justify-center py-6" }, {
3491
+ default: a(() => [e(_, { class: "d-flex flex-column align-center justify-center py-6" }, {
3604
3492
  default: a(() => [e(J, {
3605
3493
  class: "mb-4",
3606
3494
  color: "green",
3607
3495
  size: "x-large"
3608
3496
  }, {
3609
- default: a(() => [...L[4] || (L[4] = [E(" fas fa-check-circle ", -1)])]),
3497
+ default: a(() => [...S[4] || (S[4] = [V(" fas fa-check-circle ", -1)])]),
3610
3498
  _: 1
3611
3499
  }), s("h3", fa, l(r(d)("BookingPaymentForm.paymentSuccess.subtitle")), 1)]),
3612
3500
  _: 1
3613
3501
  })]),
3614
3502
  _: 1
3615
- })) : i.value && i.value.id ? (u(), I("div", ya, [e(ra, {
3616
- modelValue: _.value,
3617
- "onUpdate:modelValue": L[1] || (L[1] = (et) => _.value = et),
3503
+ })) : i.value && i.value.id ? (u(), I("div", Ca, [e(la, {
3504
+ modelValue: O.value,
3505
+ "onUpdate:modelValue": S[1] || (S[1] = (et) => O.value = et),
3618
3506
  color: "error",
3619
3507
  location: "top",
3620
3508
  timeout: "-1"
3621
3509
  }, {
3622
- actions: a(({ isActive: et }) => [e(Q, at({
3510
+ actions: a(({ isActive: et }) => [e(W, at({
3623
3511
  color: "pink",
3624
3512
  variant: "text"
3625
- }, et, { onClick: L[0] || (L[0] = (Ba) => _.value = !1) }), {
3513
+ }, et, { onClick: S[0] || (S[0] = (Pa) => O.value = !1) }), {
3626
3514
  default: a(() => [e(J, null, {
3627
- default: a(() => [...L[5] || (L[5] = [E("fas fa-times", -1)])]),
3515
+ default: a(() => [...S[5] || (S[5] = [V("fas fa-times", -1)])]),
3628
3516
  _: 1
3629
3517
  })]),
3630
3518
  _: 1
3631
3519
  }, 16)]),
3632
- default: a(() => [E(l(r(d)("BookingPaymentForm.error")) + " ", 1)]),
3520
+ default: a(() => [V(l(r(d)("BookingPaymentForm.error")) + " ", 1)]),
3633
3521
  _: 1
3634
3522
  }, 8, ["modelValue"]), e(H, { dense: "" }, {
3635
- default: a(() => [t.features.BookingDetails ? (u(), y(F, {
3523
+ default: a(() => [t.features.BookingDetails ? (u(), f(D, {
3636
3524
  key: 0,
3637
3525
  cols: "12",
3638
3526
  lg: "4",
3639
3527
  sm: "4",
3640
3528
  xl: "4"
3641
3529
  }, {
3642
- default: a(() => [A.value ? (u(), y(aa, yt(at({ key: 0 }, A.value)), null, 16)) : P("", !0)]),
3530
+ default: a(() => [R.value ? (u(), f(oa, yt(at({ key: 0 }, R.value)), null, 16)) : P("", !0)]),
3643
3531
  _: 1
3644
- })) : P("", !0), e(F, { class: Zt(t.features.BookingDetails ? "col-sm-8 col-12" : "w-100") }, {
3645
- default: a(() => [e(M, {
3532
+ })) : P("", !0), e(D, { class: Mt(t.features.BookingDetails ? "col-sm-8 col-12" : "w-100") }, {
3533
+ default: a(() => [e(U, {
3646
3534
  border: "",
3647
3535
  elevation: "0"
3648
3536
  }, {
3649
- default: a(() => [t.features.BookingDetails ? P("", !0) : (u(), y(Bt, {
3537
+ default: a(() => [t.features.BookingDetails ? P("", !0) : (u(), f(Pt, {
3650
3538
  key: 0,
3651
3539
  color: "primary",
3652
3540
  dark: "",
3653
3541
  dense: "",
3654
3542
  elevation: "0"
3655
3543
  }, {
3656
- default: a(() => [s("h4", null, [E(l(r(d)("BookingPaymentForm.pay")) + ": ", 1), e(Z, {
3544
+ default: a(() => [s("h4", null, [V(l(r(d)("BookingPaymentForm.pay")) + ": ", 1), e(Z, {
3657
3545
  amount: i.value.taxIncludedPrice,
3658
3546
  class: "font-weight-bold",
3659
3547
  currency: i.value.currency
3660
3548
  }, null, 8, ["amount", "currency"])])]),
3661
3549
  _: 1
3662
- })), e(O, null, {
3663
- default: a(() => [N.value ? (u(), y(ha, {
3550
+ })), e(_, null, {
3551
+ default: a(() => [M.value ? (u(), f(ya, {
3664
3552
  key: 0,
3665
3553
  "is-loading": x.value,
3666
3554
  "onPayment:later": tt
3667
- }, null, 8, ["is-loading"])) : (u(), I(W, { key: 1 }, [G.value ? (u(), y(H, { key: 0 }, {
3668
- default: a(() => [e(F, null, {
3669
- default: a(() => [e(ba, {
3555
+ }, null, 8, ["is-loading"])) : (u(), I(Q, { key: 1 }, [G.value ? (u(), f(H, { key: 0 }, {
3556
+ default: a(() => [e(D, null, {
3557
+ default: a(() => [e(ga, {
3670
3558
  ref_key: "paymentForm",
3671
3559
  ref: $,
3672
3560
  currency: i.value.currency,
3673
3561
  "is-loading": x.value,
3674
- "is-pay-later-allowed": p.value,
3675
- "is-pay-later-forced": N.value,
3676
- "is-updating-payment-methods": V.value,
3562
+ "is-pay-later-allowed": k.value,
3563
+ "is-pay-later-forced": M.value,
3564
+ "is-updating-payment-methods": N.value,
3677
3565
  "payment-methods": Object.values(c.value),
3678
3566
  "total-to-pay": i.value.taxIncludedPrice,
3679
- "onPayment:error": L[2] || (L[2] = (et) => x.value = !1),
3567
+ "onPayment:error": S[2] || (S[2] = (et) => x.value = !1),
3680
3568
  "onPayment:later": tt,
3681
3569
  "onPayment:pay": it,
3682
- "onPayment:success": L[3] || (L[3] = () => {
3683
- x.value = !1, D.value = !0, r(v).$emit(r(j).PaymentSuccess, i.value);
3570
+ "onPayment:success": S[3] || (S[3] = () => {
3571
+ x.value = !1, A.value = !0, r(b).$emit(r(j).PaymentSuccess, i.value);
3684
3572
  })
3685
3573
  }, {
3686
- append: a(() => [s("div", Ca, [e(J, {
3574
+ append: a(() => [s("div", xa, [e(J, {
3687
3575
  color: "grey",
3688
3576
  size: "small",
3689
3577
  start: ""
3690
3578
  }, {
3691
- default: a(() => [...L[6] || (L[6] = [E(" fas fa-info-circle ", -1)])]),
3579
+ default: a(() => [...S[6] || (S[6] = [V(" fas fa-info-circle ", -1)])]),
3692
3580
  _: 1
3693
3581
  }), s("small", null, l(r(d)("BookingPaymentForm.subtitle")), 1)])]),
3694
3582
  _: 1
@@ -3712,7 +3600,7 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
3712
3600
  _: 1
3713
3601
  }, 8, ["class"])]),
3714
3602
  _: 1
3715
- })])) : U.value ? (u(), y(M, {
3603
+ })])) : E.value ? (u(), f(U, {
3716
3604
  key: 2,
3717
3605
  class: "mx-auto",
3718
3606
  elevation: "0",
@@ -3724,7 +3612,7 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
3724
3612
  class: "align-center justify-center",
3725
3613
  opacity: "0.1"
3726
3614
  }, {
3727
- default: a(() => [e(re, {
3615
+ default: a(() => [e(le, {
3728
3616
  color: "primary",
3729
3617
  indeterminate: "",
3730
3618
  size: "64"
@@ -3732,12 +3620,12 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
3732
3620
  _: 1
3733
3621
  })]),
3734
3622
  _: 1
3735
- })) : (u(), y(ne, {
3623
+ })) : (u(), f(se, {
3736
3624
  key: 3,
3737
3625
  "min-height": "200px"
3738
3626
  }, {
3739
- title: a(() => [E(l(r(d)("BookingPaymentForm.bookingNotFound.title")), 1)]),
3740
- description: a(() => [E(l(r(d)("BookingPaymentForm.bookingNotFound.description")), 1)]),
3627
+ title: a(() => [V(l(r(d)("BookingPaymentForm.bookingNotFound.title")), 1)]),
3628
+ description: a(() => [V(l(r(d)("BookingPaymentForm.bookingNotFound.description")), 1)]),
3741
3629
  _: 1
3742
3630
  }));
3743
3631
  }
@@ -3928,14 +3816,6 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
3928
3816
  i: [{ t: 3 }],
3929
3817
  s: "Click here to read it"
3930
3818
  }
3931
- },
3932
- termsURL: {
3933
- t: 0,
3934
- b: {
3935
- t: 2,
3936
- i: [{ t: 3 }],
3937
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
3938
- }
3939
3819
  }
3940
3820
  } },
3941
3821
  "fr-FR": { BookingPaymentForm: {
@@ -4124,14 +4004,6 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
4124
4004
  i: [{ t: 3 }],
4125
4005
  s: "Cliquez ici pour les consulter"
4126
4006
  }
4127
- },
4128
- termsURL: {
4129
- t: 0,
4130
- b: {
4131
- t: 2,
4132
- i: [{ t: 3 }],
4133
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo_fr.pdf"
4134
- }
4135
4007
  }
4136
4008
  } },
4137
4009
  "de-DE": { BookingPaymentForm: {
@@ -4320,14 +4192,6 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
4320
4192
  i: [{ t: 3 }],
4321
4193
  s: "Klicken Sie hier, um sie zu lesen"
4322
4194
  }
4323
- },
4324
- termsURL: {
4325
- t: 0,
4326
- b: {
4327
- t: 2,
4328
- i: [{ t: 3 }],
4329
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
4330
- }
4331
4195
  }
4332
4196
  } },
4333
4197
  "es-ES": { BookingPaymentForm: {
@@ -4516,14 +4380,6 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
4516
4380
  i: [{ t: 3 }],
4517
4381
  s: "Haga clic aquí para leerlos"
4518
4382
  }
4519
- },
4520
- termsURL: {
4521
- t: 0,
4522
- b: {
4523
- t: 2,
4524
- i: [{ t: 3 }],
4525
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
4526
- }
4527
4383
  }
4528
4384
  } },
4529
4385
  "it-IT": { BookingPaymentForm: {
@@ -4712,14 +4568,6 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
4712
4568
  i: [{ t: 3 }],
4713
4569
  s: "Clicca qui per leggerli"
4714
4570
  }
4715
- },
4716
- termsURL: {
4717
- t: 0,
4718
- b: {
4719
- t: 2,
4720
- i: [{ t: 3 }],
4721
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
4722
- }
4723
4571
  }
4724
4572
  } },
4725
4573
  "nl-NL": { BookingPaymentForm: {
@@ -4908,14 +4756,6 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
4908
4756
  i: [{ t: 3 }],
4909
4757
  s: "Klik hier om ze te lezen"
4910
4758
  }
4911
- },
4912
- termsURL: {
4913
- t: 0,
4914
- b: {
4915
- t: 2,
4916
- i: [{ t: 3 }],
4917
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
4918
- }
4919
4759
  }
4920
4760
  } },
4921
4761
  "pt-PT": { BookingPaymentForm: {
@@ -5104,26 +4944,18 @@ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-fle
5104
4944
  i: [{ t: 3 }],
5105
4945
  s: "Clique aqui para ler"
5106
4946
  }
5107
- },
5108
- termsURL: {
5109
- t: 0,
5110
- b: {
5111
- t: 2,
5112
- i: [{ t: 3 }],
5113
- s: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"
5114
- }
5115
4947
  }
5116
4948
  } }
5117
- }, Ia = /* @__PURE__ */ It({ default: () => xa });
4949
+ }, Fa = /* @__PURE__ */ Ft({ default: () => Ba });
5118
4950
  typeof ht == "function" && ht(Lt);
5119
- var xa = /* @__PURE__ */ bt(Lt, [["__scopeId", "data-v-c67be99b"]]);
5120
- St("css/revolugo.bookingpaymentform.CekI3oIR.css");
4951
+ var Ba = /* @__PURE__ */ vt(Lt, [["__scopeId", "data-v-c67be99b"]]);
4952
+ It("css/revolugo.bookingpaymentform.CekI3oIR.css");
5121
4953
  export {
5122
- aa as a,
5123
- ia as i,
5124
- Ia as n,
5125
- ra as r,
5126
- xa as t
4954
+ oa as a,
4955
+ na as i,
4956
+ Fa as n,
4957
+ la as r,
4958
+ Ba as t
5127
4959
  };
5128
4960
 
5129
- //# sourceMappingURL=revolugo.bookingpaymentform._bTFmQ8a.min.js.map
4961
+ //# sourceMappingURL=revolugo.bookingpaymentform.DbRagbbS.min.js.map