@revolugo/elements 6.12.0-rc.2 → 6.12.0-rc.4

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 (40) hide show
  1. package/dist/css/revolugo.cancellationpoliciesbadge.C-9rYAuk.css +1 -0
  2. package/dist/css/revolugo.index.BTETuR61.css +5 -0
  3. package/dist/css/revolugo.webcomponentwrapper.CkLRWOU5.css +5 -0
  4. package/dist/{revolugo.banktransferdetails.CKPjpHrm.min.js → revolugo.banktransferdetails.BfoEK3VX.min.js} +6 -6
  5. package/dist/{revolugo.bookingdetailssidebar.MopVaFCA.min.js → revolugo.bookingdetailssidebar.8rE4DiGJ.min.js} +6 -6
  6. package/dist/{revolugo.bookingmanager.DWP1OhGL.min.js → revolugo.bookingmanager.CtYg2qU1.min.js} +6 -6
  7. package/dist/{revolugo.cancellationpoliciesbadge.Co-hfY3H.min.js → revolugo.cancellationpoliciesbadge.Dqcu7JUq.min.js} +6 -6
  8. package/dist/{revolugo.cancellationpoliciesbadge.props.CRqcen_y.min.js → revolugo.cancellationpoliciesbadge.props.BYqQoH-U.min.js} +667 -652
  9. package/dist/{revolugo.cancellationpolicieslist.BfUw1oJM.min.js → revolugo.cancellationpolicieslist.DxOHhmoW.min.js} +6 -6
  10. package/dist/{revolugo.creditcardstripeform.CMc2tnVM.min.js → revolugo.creditcardstripeform.7Ug1nazN.min.js} +4 -4
  11. package/dist/{revolugo.creditcardstripeform.CHOu0ndR.min.js → revolugo.creditcardstripeform.L5cFppsy.min.js} +4 -4
  12. package/dist/{revolugo.currencypickerbtn.BFZHSb01.min.js → revolugo.currencypickerbtn.Ds6x7kpd.min.js} +6 -6
  13. package/dist/{revolugo.dialog-attach.T2WtdgM0.min.js → revolugo.dialog-attach.iJL8-kEX.min.js} +2 -2
  14. package/dist/{revolugo.fastbookingflow.DZiNVrRo.min.js → revolugo.fastbookingflow.9AoJhKfQ.min.js} +6 -6
  15. package/dist/{revolugo.fullbookingflow.BEixaOac.min.js → revolugo.fullbookingflow.D4xmG7xF.min.js} +6 -6
  16. package/dist/{revolugo.hoteldescriptionview.DKgzGj6d.min.js → revolugo.hoteldescriptionview.C7-Qs6Dm.min.js} +6 -6
  17. package/dist/{revolugo.hotelofferlist._eq333tj.min.js → revolugo.hotelofferlist.DXZc1dv1.min.js} +6 -6
  18. package/dist/{revolugo.hoteloffersearchmenu.BB9ImBlT.min.js → revolugo.hoteloffersearchmenu.JY5arkyN.min.js} +7 -7
  19. package/dist/{revolugo.hoteloffersmap.BCiaBT41.min.js → revolugo.hoteloffersmap.Dl5EuASd.min.js} +6 -6
  20. package/dist/{revolugo.hoteloffersview.rjf_p-6V.min.js → revolugo.hoteloffersview.DuvFFy0u.min.js} +6 -6
  21. package/dist/{revolugo.hotelroomofferlist.CXFPl0et.min.js → revolugo.hotelroomofferlist.zldcx5T1.min.js} +6 -6
  22. package/dist/{revolugo.hotelroomoffersbookingflow.CMOhWpD9.min.js → revolugo.hotelroomoffersbookingflow.BRTDl0AM.min.js} +6 -6
  23. package/dist/{revolugo.hotelroomoffersearchmenu.C7gYFBu_.min.js → revolugo.hotelroomoffersearchmenu.u7HL0w1o.min.js} +6 -6
  24. package/dist/{revolugo.hotelroomoffersview.CnJPFIbZ.min.js → revolugo.hotelroomoffersview.Bb0JZqBx.min.js} +6 -6
  25. package/dist/{revolugo.index.DQsXlD_l.min.js → revolugo.index.DI1kQKg2.min.js} +2 -2
  26. package/dist/{revolugo.index.wc.D8rv2_QN.min.js → revolugo.index.wc.Dz25-_q2.min.js} +5577 -5550
  27. package/dist/{revolugo.langpickerbtn.Bi0LsGL8.min.js → revolugo.langpickerbtn.BFvW5spl.min.js} +6 -6
  28. package/dist/revolugo.min.js +1 -1
  29. package/dist/{revolugo.prebookform.D3SkB_2Z.min.js → revolugo.prebookform.E82eJDDj.min.js} +6 -6
  30. package/dist/{revolugo.preferencesmenu.Ca3C7ibd.min.js → revolugo.preferencesmenu.ChP0YYHr.min.js} +4 -4
  31. package/dist/{revolugo.preferencesmenu.EIi1GAxV.min.js → revolugo.preferencesmenu.F1OnuILQ.min.js} +5 -5
  32. package/dist/{revolugo.roominglisteditor.BhCgoKjS.min.js → revolugo.roominglisteditor.BbRP9_gA.min.js} +6 -6
  33. package/dist/{revolugo.storybooktoolbar.C_jKLlF6.min.js → revolugo.storybooktoolbar.C8r7ANwa.min.js} +5 -5
  34. package/dist/{revolugo.termsandconditions.B7qxX8-0.min.js → revolugo.termsandconditions.D34Mw5T6.min.js} +6 -6
  35. package/dist/{revolugo.vtoolbar.UJvn3o91.min.js → revolugo.vtoolbar.DIROY7IT.min.js} +3 -3
  36. package/dist/{revolugo.webcomponentwrapper.C9_5uPMx.min.js → revolugo.webcomponentwrapper.fhX0TDcZ.min.js} +6 -6
  37. package/package.json +3 -3
  38. package/dist/css/revolugo.cancellationpoliciesbadge.DsQESj6S.css +0 -1
  39. package/dist/css/revolugo.index.Cg8oJfEY.css +0 -5
  40. package/dist/css/revolugo.webcomponentwrapper.Dh_YKhoM.css +0 -5
@@ -1,9 +1,9 @@
1
- import { o as ic, p as oc, q as Hg, r as Ss, s as Ht, t as dr, v as Vg, w as Qs, x as nc, y as sc, z as Kg, A as an, C as Yg, D as qg, E as ac, F as Ji, G as ii, H as mi, V as St, k as Et, I as Rs, J as di, d as J, e as U, b as Ut, j as pt, _ as Wt, K as mo, L as Tt, M as La, N as et, a as hr, O as hn, P as fn, Q as fr, R as wi, S as Ds, T as Wg, U as rc, X as lc, Y as Ac, Z as uc, $ as Li, a0 as cc, a1 as Xi, a2 as gr, a3 as mr, a4 as Os, a5 as pr, a6 as _i, a7 as Ls, a8 as vr, a9 as br, aa as dc, g as fe, ab as Gg, ac as Ts, ad as hs, ae as Zg, af as hc, ag as jg, ah as fc, i as Jg, ai as gc, aj as Xg, ak as _g, al as $g, am as tm, an as mc, ao as em, ap as im, aq as om, ar as nm, as as sm, at as am, au as rm, av as lm, aw as Ga, ax as Am, ay as um, az as cm, aA as hA, aB as fA, aC as dm, aD as hm, aE as fm, aF as gm, aG as mm, aH as pm, aI as vm, B as Si, aJ as bm, aK as ze, aL as Cm, aM as pc, aN as ym, l as vc, h as bc, f as Cc, aO as yc, aP as gA, aQ as Ec, aR as uo, aS as Za, u as vo, aT as Em, aU as Im, aV as fs, aW as Cr, aX as km, aY as Bm, aZ as Ic, a_ as ja, a$ as wm, b0 as rn, c as Ja, b1 as Pm, b2 as kc, b3 as Bc, b4 as mA, b5 as Sm, b6 as pA, b7 as Qm, b8 as Rm, b9 as Dm, ba as Om, m as Lm } from "./revolugo.webcomponentwrapper.C9_5uPMx.min.js";
2
- import { B as wc, C as gs, v as te, E as kt, d as ft, b as z, D as Fs, G as Pc, H as Wi, I as xt, J as Ft, K as we, L as gn, i as q, s as Le, M as Sc, e as gt, x as ne, N as Tm, P as fi, Q as mn, R as Fm, S as le, T as ve, a as l, m as lt, U as pn, h as Vt, c as M, w as c, z as D, p as K, y as F, u as v, f as G, o as E, j as Y, F as At, V as Kt, W as it, n as bo, g as Co, X as vn, Y as oe, Z as zs, _ as xs, $ as ge, a0 as gi, a1 as bn, a2 as ke, a3 as Ye, a4 as yr, a5 as _t, a6 as Qc, a7 as Qo, r as $t, a8 as We, a9 as Rc, aa as zm, ab as Ms, ac as Ri, ad as xm, ae as Cn, af as $n, ag as Mm, ah as Dc, ai as Nm, aj as Um, ak as Hm, al as vA, am as Vm, an as Km, ao as $i, ap as Ym, aq as qm, ar as Wm, as as Gm, at as ji, au as Ns, av as Us, aw as Zm, ax as Er, ay as jm, az as Jm, aA as Xm, aB as _m, aC as $m, aD as tp, aE as yn, aF as ep, aG as ue, k as yo, aH as Ta, aI as Ti, t as Di, aJ as bA, aK as Yn, aL as CA, aM as qn, aN as ip, q as op, aO as Oc, aP as np, aQ as sp, aR as Fi, aS as zi, aT as ap, aU as rp, aV as Hs, aW as lp, aX as Lc, aY as Ap } from "./revolugo.index.wc.D8rv2_QN.min.js";
3
- import { u as Ze, p as up, C as cp, V as Tc } from "./revolugo.creditcardstripeform.CHOu0ndR.min.js";
4
- import { V as Vs } from "./revolugo.vtoolbar.UJvn3o91.min.js";
5
- import { s as ln, a as dp, g as hp, w as fp } from "./revolugo.index.DQsXlD_l.min.js";
6
- import { P as Xa, a as _a, b as gp } from "./revolugo.preferencesmenu.EIi1GAxV.min.js";
1
+ import { o as ic, p as oc, q as Hg, r as Ss, s as Ht, t as dr, v as Vg, w as Qs, x as nc, y as sc, z as Kg, A as an, C as Yg, D as qg, E as ac, F as Ji, G as ii, H as mi, V as St, k as Et, I as Rs, J as di, d as J, e as U, b as Ut, j as pt, _ as Wt, K as mo, L as Tt, M as La, N as et, a as hr, O as hn, P as fn, Q as fr, R as wi, S as Ds, T as Wg, U as rc, X as lc, Y as Ac, Z as uc, $ as Li, a0 as cc, a1 as Xi, a2 as gr, a3 as mr, a4 as Os, a5 as pr, a6 as _i, a7 as Ls, a8 as vr, a9 as br, aa as dc, g as fe, ab as Gg, ac as Ts, ad as hs, ae as Zg, af as hc, ag as jg, ah as fc, i as Jg, ai as gc, aj as Xg, ak as _g, al as $g, am as tm, an as mc, ao as em, ap as im, aq as om, ar as nm, as as sm, at as am, au as rm, av as lm, aw as Ga, ax as Am, ay as um, az as cm, aA as hA, aB as fA, aC as dm, aD as hm, aE as fm, aF as gm, aG as mm, aH as pm, aI as vm, B as Si, aJ as bm, aK as ze, aL as Cm, aM as pc, aN as ym, l as vc, h as bc, f as Cc, aO as yc, aP as gA, aQ as Ec, aR as uo, aS as Za, u as vo, aT as Em, aU as Im, aV as fs, aW as Cr, aX as km, aY as Bm, aZ as Ic, a_ as ja, a$ as wm, b0 as rn, c as Ja, b1 as Pm, b2 as kc, b3 as Bc, b4 as mA, b5 as Sm, b6 as pA, b7 as Qm, b8 as Rm, b9 as Dm, ba as Om, m as Lm } from "./revolugo.webcomponentwrapper.fhX0TDcZ.min.js";
2
+ import { B as wc, C as gs, v as te, E as kt, d as ft, b as z, D as Fs, G as Pc, H as Wi, I as xt, J as Ft, K as we, L as gn, i as q, s as Le, M as Sc, e as gt, x as ne, N as Tm, P as fi, Q as mn, R as Fm, S as le, T as ve, a as l, m as lt, U as pn, h as Vt, c as M, w as c, z as D, p as K, y as F, u as v, f as G, o as E, j as Y, F as At, V as Kt, W as it, n as bo, g as Co, X as vn, Y as oe, Z as zs, _ as xs, $ as ge, a0 as gi, a1 as bn, a2 as ke, a3 as Ye, a4 as yr, a5 as _t, a6 as Qc, a7 as Qo, r as $t, a8 as We, a9 as Rc, aa as zm, ab as Ms, ac as Ri, ad as xm, ae as Cn, af as $n, ag as Mm, ah as Dc, ai as Nm, aj as Um, ak as Hm, al as vA, am as Vm, an as Km, ao as $i, ap as Ym, aq as qm, ar as Wm, as as Gm, at as ji, au as Ns, av as Us, aw as Zm, ax as Er, ay as jm, az as Jm, aA as Xm, aB as _m, aC as $m, aD as tp, aE as yn, aF as ep, aG as ue, k as yo, aH as Ta, aI as Ti, t as Di, aJ as bA, aK as Yn, aL as CA, aM as qn, aN as ip, q as op, aO as Oc, aP as np, aQ as sp, aR as Fi, aS as zi, aT as ap, aU as rp, aV as Hs, aW as lp, aX as Lc, aY as Ap } from "./revolugo.index.wc.Dz25-_q2.min.js";
3
+ import { u as Ze, p as up, C as cp, V as Tc } from "./revolugo.creditcardstripeform.L5cFppsy.min.js";
4
+ import { V as Vs } from "./revolugo.vtoolbar.DIROY7IT.min.js";
5
+ import { s as ln, a as dp, g as hp, w as fp } from "./revolugo.index.DI1kQKg2.min.js";
6
+ import { P as Xa, a as _a, b as gp } from "./revolugo.preferencesmenu.F1OnuILQ.min.js";
7
7
  /* empty css */
8
8
  function Ug(t) {
9
9
  try {
@@ -316,15 +316,15 @@ function Cp(t) {
316
316
  s(), le(() => i.value = t());
317
317
  }
318
318
  function u(d) {
319
- const f = d ? getComputedStyle(d) : {
319
+ const g = d ? getComputedStyle(d) : {
320
320
  transitionDuration: 0.2
321
- }, g = parseFloat(f.transitionDuration) * 1e3 || 200;
321
+ }, f = parseFloat(g.transitionDuration) * 1e3 || 200;
322
322
  if (s(), i.value <= 0) return;
323
323
  const b = performance.now();
324
324
  n = window.setInterval(() => {
325
- const y = performance.now() - b + g;
325
+ const y = performance.now() - b + f;
326
326
  i.value = Math.max(t() - y, 0), i.value <= 0 && s();
327
- }, g);
327
+ }, f);
328
328
  }
329
329
  return Fm(s), {
330
330
  clear: s,
@@ -369,8 +369,8 @@ const yp = Ft({
369
369
  } = oc(), {
370
370
  themeClasses: d
371
371
  } = gn(t), {
372
- colorClasses: f,
373
- colorStyles: g,
372
+ colorClasses: g,
373
+ colorStyles: f,
374
374
  variantClasses: b
375
375
  } = Hg(t), {
376
376
  roundedClasses: y
@@ -427,8 +427,8 @@ const yp = Ft({
427
427
  modelValue: s.value,
428
428
  "onUpdate:modelValue": (ut) => s.value = ut,
429
429
  contentProps: lt({
430
- class: ["v-snackbar__wrapper", d.value, f.value, y.value, b.value],
431
- style: [g.value],
430
+ class: ["v-snackbar__wrapper", d.value, g.value, y.value, b.value],
431
+ style: [f.value],
432
432
  onPointerenter: S,
433
433
  onPointerleave: W
434
434
  }, _.contentProps),
@@ -486,14 +486,14 @@ const yp = Ft({
486
486
  const { t: i } = Vt(), n = t, s = Ze({
487
487
  prop: z(() => n.loading)
488
488
  }), r = q(!1), u = q(null), { $breakpointService: d } = mi(u);
489
- async function f(g) {
489
+ async function g(f) {
490
490
  try {
491
- await navigator.clipboard.writeText(g.replace(/<br>/giu, ",")), r.value = !0;
491
+ await navigator.clipboard.writeText(f.replace(/<br>/giu, ",")), r.value = !0;
492
492
  } catch {
493
493
  console.log("error");
494
494
  }
495
495
  }
496
- return (g, b) => (E(), M(St, {
496
+ return (f, b) => (E(), M(St, {
497
497
  ref_key: "root",
498
498
  ref: u
499
499
  }, {
@@ -571,7 +571,7 @@ const yp = Ft({
571
571
  class: "mt-1",
572
572
  elevation: 0,
573
573
  width: v(d).xs ? "100%" : "auto",
574
- onClick: b[0] || (b[0] = (y) => f(EA))
574
+ onClick: b[0] || (b[0] = (y) => g(EA))
575
575
  }, {
576
576
  default: c(() => [
577
577
  K(F(EA))
@@ -598,7 +598,7 @@ const yp = Ft({
598
598
  class: "mt-1",
599
599
  elevation: "0",
600
600
  width: v(d).xs ? "100%" : "auto",
601
- onClick: b[1] || (b[1] = (y) => f(IA))
601
+ onClick: b[1] || (b[1] = (y) => g(IA))
602
602
  }, {
603
603
  default: c(() => [
604
604
  K(F(IA))
@@ -631,7 +631,7 @@ const yp = Ft({
631
631
  elevation: "0",
632
632
  height: "auto",
633
633
  width: v(d).xs ? "100%" : "auto",
634
- onClick: b[2] || (b[2] = (y) => f(kA)),
634
+ onClick: b[2] || (b[2] = (y) => g(kA)),
635
635
  innerHTML: kA
636
636
  }, null, 8, ["width"])
637
637
  ]),
@@ -1180,9 +1180,9 @@ const Rp = /* @__PURE__ */ Wt(wp, [["render", Qp]]), Dp = { class: "text-h7 font
1180
1180
  const y = te(`1/1/1 ${b}`, "h:mm A");
1181
1181
  return b ? te(y).format("HH:mm") : null;
1182
1182
  }
1183
- const d = z(() => !s.checkInDate || !s.checkOutDate ? 0 : te(s.checkOutDate).diff(te(s.checkInDate), "days")), f = z(
1183
+ const d = z(() => !s.checkInDate || !s.checkOutDate ? 0 : te(s.checkOutDate).diff(te(s.checkInDate), "days")), g = z(
1184
1184
  () => s.hotelRoomOffer.hotelRooms.reduce((b, y) => b + y.count, 0) || 0
1185
- ), g = z(
1185
+ ), f = z(
1186
1186
  () => s.hotelRoomOffer.hotelRooms.some(
1187
1187
  (b) => b.beds.some((y) => y.length > 1)
1188
1188
  )
@@ -1306,7 +1306,7 @@ const Rp = /* @__PURE__ */ Wt(wp, [["render", Qp]]), Dp = { class: "text-h7 font
1306
1306
  "breakfast-option": "INCLUDED",
1307
1307
  class: "mb-3"
1308
1308
  }, null, 8, ["breakfastCount"])) : G("", !0),
1309
- g.value ? (E(), M(fr, {
1309
+ f.value ? (E(), M(fr, {
1310
1310
  key: 1,
1311
1311
  icon: !1,
1312
1312
  density: "compact",
@@ -1327,8 +1327,8 @@ const Rp = /* @__PURE__ */ Wt(wp, [["render", Qp]]), Dp = { class: "text-h7 font
1327
1327
  "price-info-base": c(() => [
1328
1328
  t.hotelRoomOffer ? (E(), Y(At, { key: 0 }, [
1329
1329
  D("span", Yp, F(v(n)("BookingDetailsSidebar.roomCount", {
1330
- n: f.value,
1331
- value: f.value
1330
+ n: g.value,
1331
+ value: g.value
1332
1332
  })) + " x " + F(v(n)("BookingDetailsSidebar.nightCount", {
1333
1333
  n: d.value,
1334
1334
  value: d.value
@@ -1622,7 +1622,7 @@ const $p = /* @__PURE__ */ Wt(Hc, [["__scopeId", "data-v-5bfddced"]]), Vc = /* @
1622
1622
  function u() {
1623
1623
  n("click:hotel-offer-item");
1624
1624
  }
1625
- return (d, f) => (E(), M(St, {
1625
+ return (d, g) => (E(), M(St, {
1626
1626
  class: "hotel-offer-item pa-2",
1627
1627
  elevation: "0",
1628
1628
  tile: "",
@@ -2640,13 +2640,13 @@ const An = Symbol.for("vuetify:v-expansion-panel"), Yc = Ft({
2640
2640
  backgroundColorStyles: u
2641
2641
  } = Xi(t, "color"), {
2642
2642
  dimensionStyles: d
2643
- } = gr(t), f = z(() => ({
2643
+ } = gr(t), g = z(() => ({
2644
2644
  collapseIcon: t.collapseIcon,
2645
2645
  disabled: s.disabled.value,
2646
2646
  expanded: s.isSelected.value,
2647
2647
  expandIcon: t.expandIcon,
2648
2648
  readonly: t.readonly
2649
- })), g = z(() => s.isSelected.value ? t.collapseIcon : t.expandIcon);
2649
+ })), f = z(() => s.isSelected.value ? t.collapseIcon : t.expandIcon);
2650
2650
  return Ht(() => ge(l("button", {
2651
2651
  class: ["v-expansion-panel-title", {
2652
2652
  "v-expansion-panel-title--active": s.isSelected.value,
@@ -2661,16 +2661,16 @@ const An = Symbol.for("vuetify:v-expansion-panel"), Yc = Ft({
2661
2661
  onClick: t.readonly ? void 0 : s.toggle
2662
2662
  }, [l("span", {
2663
2663
  class: "v-expansion-panel-title__overlay"
2664
- }, null), n.default?.(f.value), !t.hideActions && l(ii, {
2664
+ }, null), n.default?.(g.value), !t.hideActions && l(ii, {
2665
2665
  defaults: {
2666
2666
  VIcon: {
2667
- icon: g.value
2667
+ icon: f.value
2668
2668
  }
2669
2669
  }
2670
2670
  }, {
2671
2671
  default: () => [l("span", {
2672
2672
  class: "v-expansion-panel-title__icon"
2673
- }, [n.actions?.(f.value) ?? l(Et, null, null)])]
2673
+ }, [n.actions?.(g.value) ?? l(Et, null, null)])]
2674
2674
  })]), [[bn("ripple"), t.ripple]])), {};
2675
2675
  }
2676
2676
  }), Wc = Ft({
@@ -2699,8 +2699,8 @@ const An = Symbol.for("vuetify:v-expansion-panel"), Yc = Ft({
2699
2699
  } = Xi(t, "bgColor"), {
2700
2700
  elevationClasses: d
2701
2701
  } = pr(t), {
2702
- roundedClasses: f
2703
- } = Ss(t), g = z(() => s?.disabled.value || t.disabled), b = z(() => s.group.items.value.reduce((O, k, R) => (s.group.selected.value.includes(k.id) && O.push(R), O), [])), y = z(() => {
2702
+ roundedClasses: g
2703
+ } = Ss(t), f = z(() => s?.disabled.value || t.disabled), b = z(() => s.group.items.value.reduce((O, k, R) => (s.group.selected.value.includes(k.id) && O.push(R), O), [])), y = z(() => {
2704
2704
  const O = s.group.items.value.findIndex((k) => k.id === s.id);
2705
2705
  return !s.isSelected.value && b.value.some((k) => k - O === 1);
2706
2706
  }), C = z(() => {
@@ -2714,8 +2714,8 @@ const An = Symbol.for("vuetify:v-expansion-panel"), Yc = Ft({
2714
2714
  "v-expansion-panel--active": s.isSelected.value,
2715
2715
  "v-expansion-panel--before-active": y.value,
2716
2716
  "v-expansion-panel--after-active": C.value,
2717
- "v-expansion-panel--disabled": g.value
2718
- }, f.value, r.value, t.class],
2717
+ "v-expansion-panel--disabled": f.value
2718
+ }, g.value, r.value, t.class],
2719
2719
  style: [u.value, t.style]
2720
2720
  }, {
2721
2721
  default: () => [l("div", {
@@ -2826,20 +2826,20 @@ function Sv(t, i, n, s, r, u) {
2826
2826
  flat: ""
2827
2827
  }, {
2828
2828
  default: c(() => [
2829
- (E(!0), Y(At, null, Kt(t.mappedHotelRoomingLists, (f, g) => (E(), M(Gc, {
2830
- key: f.id
2829
+ (E(!0), Y(At, null, Kt(t.mappedHotelRoomingLists, (g, f) => (E(), M(Gc, {
2830
+ key: g.id
2831
2831
  }, {
2832
2832
  default: c(() => [
2833
2833
  l(vs, null, {
2834
2834
  default: c(() => [
2835
2835
  D("div", null, [
2836
- f.hotelRoom?.description ? (E(), Y("div", Bv, F(f.hotelRoom?.description), 1)) : G("", !0),
2836
+ g.hotelRoom?.description ? (E(), Y("div", Bv, F(g.hotelRoom?.description), 1)) : G("", !0),
2837
2837
  D("div", null, [
2838
- K(F(f.hotelRoom?.bedsPretty) + " ", 1),
2838
+ K(F(g.hotelRoom?.bedsPretty) + " ", 1),
2839
2839
  D("span", {
2840
2840
  class: "ml-2 text-caption text--secondary",
2841
2841
  innerHTML: t.t("RoomingListEditor.occupancy", {
2842
- occupancy: f.hotelRoom?.occupancy
2842
+ occupancy: g.hotelRoom?.occupancy
2843
2843
  })
2844
2844
  }, null, 8, wv)
2845
2845
  ])
@@ -2849,7 +2849,7 @@ function Sv(t, i, n, s, r, u) {
2849
2849
  }, 1024),
2850
2850
  l(ps, null, {
2851
2851
  default: c(() => [
2852
- (E(!0), Y(At, null, Kt(f.hotelRoomingListGuests, (b, y) => (E(), Y("div", { key: y }, [
2852
+ (E(!0), Y(At, null, Kt(g.hotelRoomingListGuests, (b, y) => (E(), Y("div", { key: y }, [
2853
2853
  D("span", Pv, F(t.t("RoomingListEditor.guestCount", {
2854
2854
  guestCount: y + 1
2855
2855
  })), 1),
@@ -2861,7 +2861,7 @@ function Sv(t, i, n, s, r, u) {
2861
2861
  "prepend-inner-icon": "fas fa-user",
2862
2862
  "model-value": b.fullname,
2863
2863
  "onUpdate:modelValue": (C) => t.updateRoomingListDebounced({
2864
- roomingListId: f.id,
2864
+ roomingListId: g.id,
2865
2865
  guestId: b.id,
2866
2866
  fullName: C,
2867
2867
  index: y
@@ -2871,7 +2871,7 @@ function Sv(t, i, n, s, r, u) {
2871
2871
  ]),
2872
2872
  _: 2
2873
2873
  }, 1024),
2874
- g != t.mappedHotelRoomingLists.length - 1 ? (E(), M(Tt, { key: 0 })) : G("", !0)
2874
+ f != t.mappedHotelRoomingLists.length - 1 ? (E(), M(Tt, { key: 0 })) : G("", !0)
2875
2875
  ]),
2876
2876
  _: 2
2877
2877
  }, 1024))), 128))
@@ -2880,7 +2880,7 @@ function Sv(t, i, n, s, r, u) {
2880
2880
  }),
2881
2881
  l(Eo, {
2882
2882
  modelValue: t.showSnackbar,
2883
- "onUpdate:modelValue": i[0] || (i[0] = (f) => t.showSnackbar = f),
2883
+ "onUpdate:modelValue": i[0] || (i[0] = (g) => t.showSnackbar = g),
2884
2884
  color: t.snackbarColor,
2885
2885
  class: "elevation-24",
2886
2886
  location: "right top"
@@ -3053,8 +3053,8 @@ function Hv(t, i) {
3053
3053
  }, u = i.instance?.$.uid;
3054
3054
  if (!s || !u) return;
3055
3055
  const d = Uv(i.value);
3056
- s._touchHandlers = s._touchHandlers ?? /* @__PURE__ */ Object.create(null), s._touchHandlers[u] = d, Rc(d).forEach((f) => {
3057
- s.addEventListener(f, d[f], r);
3056
+ s._touchHandlers = s._touchHandlers ?? /* @__PURE__ */ Object.create(null), s._touchHandlers[u] = d, Rc(d).forEach((g) => {
3057
+ s.addEventListener(g, d[g], r);
3058
3058
  });
3059
3059
  }
3060
3060
  function Vv(t, i) {
@@ -3124,8 +3124,8 @@ const Jc = {
3124
3124
  isRtl: r
3125
3125
  } = zm(), {
3126
3126
  t: u
3127
- } = Ms(), d = br(t, _c), f = q(), g = z(() => r.value ? !t.reverse : t.reverse), b = Le(!1), y = z(() => {
3128
- const T = t.direction === "vertical" ? "y" : "x", W = (g.value ? !b.value : b.value) ? "-reverse" : "";
3127
+ } = Ms(), d = br(t, _c), g = q(), f = z(() => r.value ? !t.reverse : t.reverse), b = Le(!1), y = z(() => {
3128
+ const T = t.direction === "vertical" ? "y" : "x", W = (f.value ? !b.value : b.value) ? "-reverse" : "";
3129
3129
  return `v-window-${T}${W}-transition`;
3130
3130
  }), C = Le(0), O = q(void 0), k = z(() => d.items.value.findIndex((T) => d.selected.value.includes(T.id)));
3131
3131
  gt(k, (T, S) => {
@@ -3136,7 +3136,7 @@ const Jc = {
3136
3136
  isReversed: b,
3137
3137
  transitionCount: C,
3138
3138
  transitionHeight: O,
3139
- rootRef: f
3139
+ rootRef: g
3140
3140
  });
3141
3141
  const R = z(() => t.continuous || k.value !== 0), I = z(() => t.continuous || k.value !== d.items.value.length - 1);
3142
3142
  function w() {
@@ -3148,7 +3148,7 @@ const Jc = {
3148
3148
  const H = z(() => {
3149
3149
  const T = [], S = {
3150
3150
  icon: r.value ? t.nextIcon : t.prevIcon,
3151
- class: `v-window__${g.value ? "right" : "left"}`,
3151
+ class: `v-window__${f.value ? "right" : "left"}`,
3152
3152
  onClick: d.prev,
3153
3153
  "aria-label": u("$vuetify.carousel.prev")
3154
3154
  };
@@ -3157,7 +3157,7 @@ const Jc = {
3157
3157
  }) : l(pt, S, null) : l("div", null, null));
3158
3158
  const W = {
3159
3159
  icon: r.value ? t.prevIcon : t.nextIcon,
3160
- class: `v-window__${g.value ? "left" : "right"}`,
3160
+ class: `v-window__${f.value ? "left" : "right"}`,
3161
3161
  onClick: d.next,
3162
3162
  "aria-label": u("$vuetify.carousel.next")
3163
3163
  };
@@ -3167,10 +3167,10 @@ const Jc = {
3167
3167
  }), B = z(() => t.touch === !1 ? t.touch : {
3168
3168
  ...{
3169
3169
  left: () => {
3170
- g.value ? w() : P();
3170
+ f.value ? w() : P();
3171
3171
  },
3172
3172
  right: () => {
3173
- g.value ? P() : w();
3173
+ f.value ? P() : w();
3174
3174
  },
3175
3175
  start: (S) => {
3176
3176
  let {
@@ -3182,7 +3182,7 @@ const Jc = {
3182
3182
  ...t.touch === !0 ? {} : t.touch
3183
3183
  });
3184
3184
  return Ht(() => ge(l(t.tag, {
3185
- ref: f,
3185
+ ref: g,
3186
3186
  class: ["v-window", {
3187
3187
  "v-window--show-arrows-on-hover": t.showArrows === "hover"
3188
3188
  }, s.value, t.class],
@@ -3243,14 +3243,14 @@ const Jc = {
3243
3243
  t: r
3244
3244
  } = Ms(), u = q();
3245
3245
  let d = -1;
3246
- gt(s, g), gt(() => t.interval, g), gt(() => t.cycle, (b) => {
3247
- b ? g() : window.clearTimeout(d);
3248
- }), ne(f);
3249
- function f() {
3246
+ gt(s, f), gt(() => t.interval, f), gt(() => t.cycle, (b) => {
3247
+ b ? f() : window.clearTimeout(d);
3248
+ }), ne(g);
3249
+ function g() {
3250
3250
  !t.cycle || !u.value || (d = window.setTimeout(u.value.group.next, Number(t.interval) > 0 ? Number(t.interval) : 6e3));
3251
3251
  }
3252
- function g() {
3253
- window.clearTimeout(d), window.requestAnimationFrame(f);
3252
+ function f() {
3253
+ window.clearTimeout(d), window.requestAnimationFrame(g);
3254
3254
  }
3255
3255
  return Ht(() => {
3256
3256
  const b = Io.filterProps(t);
@@ -3341,30 +3341,30 @@ const Jc = {
3341
3341
  isBooted: u
3342
3342
  } = Gg();
3343
3343
  if (!s || !r) throw new Error("[Vuetify] VWindowItem must be used inside VWindow");
3344
- const d = Le(!1), f = z(() => u.value && (s.isReversed.value ? t.reverseTransition !== !1 : t.transition !== !1));
3345
- function g() {
3344
+ const d = Le(!1), g = z(() => u.value && (s.isReversed.value ? t.reverseTransition !== !1 : t.transition !== !1));
3345
+ function f() {
3346
3346
  !d.value || !s || (d.value = !1, s.transitionCount.value > 0 && (s.transitionCount.value -= 1, s.transitionCount.value === 0 && (s.transitionHeight.value = void 0)));
3347
3347
  }
3348
3348
  function b() {
3349
3349
  d.value || !s || (d.value = !0, s.transitionCount.value === 0 && (s.transitionHeight.value = Ri(s.rootRef.value?.clientHeight)), s.transitionCount.value += 1);
3350
3350
  }
3351
3351
  function y() {
3352
- g();
3352
+ f();
3353
3353
  }
3354
3354
  function C(R) {
3355
3355
  d.value && le(() => {
3356
- !f.value || !d.value || !s || (s.transitionHeight.value = Ri(R.clientHeight));
3356
+ !g.value || !d.value || !s || (s.transitionHeight.value = Ri(R.clientHeight));
3357
3357
  });
3358
3358
  }
3359
3359
  const O = z(() => {
3360
3360
  const R = s.isReversed.value ? t.reverseTransition : t.transition;
3361
- return f.value ? {
3361
+ return g.value ? {
3362
3362
  name: typeof R != "string" ? s.transition.value : R,
3363
3363
  onBeforeEnter: b,
3364
- onAfterEnter: g,
3364
+ onAfterEnter: f,
3365
3365
  onEnterCancelled: y,
3366
3366
  onBeforeLeave: b,
3367
- onAfterLeave: g,
3367
+ onAfterLeave: f,
3368
3368
  onLeaveCancelled: y,
3369
3369
  onEnter: C
3370
3370
  } : !1;
@@ -3430,9 +3430,9 @@ const Jc = {
3430
3430
  } = Xi(_t(t, "color")), {
3431
3431
  borderClasses: d
3432
3432
  } = hc(t), {
3433
- dimensionStyles: f
3433
+ dimensionStyles: g
3434
3434
  } = gr(t), {
3435
- elevationClasses: g
3435
+ elevationClasses: f
3436
3436
  } = pr(t), {
3437
3437
  locationStyles: b
3438
3438
  } = jg(t), {
@@ -3441,8 +3441,8 @@ const Jc = {
3441
3441
  roundedClasses: C
3442
3442
  } = Ss(t);
3443
3443
  return Ht(() => l(t.tag, {
3444
- class: ["v-sheet", s.value, r.value, d.value, g.value, y.value, C.value, t.class],
3445
- style: [u.value, f.value, b.value, t.style]
3444
+ class: ["v-sheet", s.value, r.value, d.value, f.value, y.value, C.value, t.class],
3445
+ style: [u.value, g.value, b.value, t.style]
3446
3446
  }, n)), {};
3447
3447
  }
3448
3448
  }), $c = Ft({
@@ -3486,10 +3486,10 @@ const Jc = {
3486
3486
  emit: n
3487
3487
  } = i;
3488
3488
  const s = z(() => Array.isArray(t.disabled) ? t.disabled.includes("text") : !!t.disabled), r = z(() => Array.isArray(t.disabled) ? t.disabled.includes("mode") : !!t.disabled), u = z(() => Array.isArray(t.disabled) ? t.disabled.includes("prev") : !!t.disabled), d = z(() => Array.isArray(t.disabled) ? t.disabled.includes("next") : !!t.disabled);
3489
- function f() {
3489
+ function g() {
3490
3490
  n("click:prev");
3491
3491
  }
3492
- function g() {
3492
+ function f() {
3493
3493
  n("click:next");
3494
3494
  }
3495
3495
  function b() {
@@ -3523,13 +3523,13 @@ const Jc = {
3523
3523
  disabled: u.value,
3524
3524
  icon: t.prevIcon,
3525
3525
  variant: "text",
3526
- onClick: f
3526
+ onClick: g
3527
3527
  }, null), l(pt, {
3528
3528
  "data-testid": "next-month",
3529
3529
  disabled: d.value,
3530
3530
  icon: t.nextIcon,
3531
3531
  variant: "text",
3532
- onClick: g
3532
+ onClick: f
3533
3533
  }, null)])])), {};
3534
3534
  }
3535
3535
  }), Gv = Ft({
@@ -3557,11 +3557,11 @@ const Jc = {
3557
3557
  function d() {
3558
3558
  n("click");
3559
3559
  }
3560
- function f() {
3560
+ function g() {
3561
3561
  n("click:append");
3562
3562
  }
3563
3563
  return Ht(() => {
3564
- const g = !!(s.default || t.header), b = !!(s.append || t.appendIcon);
3564
+ const f = !!(s.default || t.header), b = !!(s.append || t.appendIcon);
3565
3565
  return l("div", {
3566
3566
  class: ["v-date-picker-header", {
3567
3567
  "v-date-picker-header--clickable": !!t.onClick
@@ -3571,7 +3571,7 @@ const Jc = {
3571
3571
  }, [s.prepend && l("div", {
3572
3572
  key: "prepend",
3573
3573
  class: "v-date-picker-header__prepend"
3574
- }, [s.prepend()]), g && l(Ts, {
3574
+ }, [s.prepend()]), f && l(Ts, {
3575
3575
  key: "content",
3576
3576
  name: t.transition
3577
3577
  }, {
@@ -3596,7 +3596,7 @@ const Jc = {
3596
3596
  key: "append-btn",
3597
3597
  icon: t.appendIcon,
3598
3598
  variant: "text",
3599
- onClick: f
3599
+ onClick: g
3600
3600
  }, null)])]);
3601
3601
  }), {};
3602
3602
  }
@@ -3630,10 +3630,10 @@ function jv(t) {
3630
3630
  }, (R) => i.getYear(R)), u = we(t, "month", void 0, (R) => {
3631
3631
  const I = R != null ? Number(R) : i.getMonth(s.value), w = i.setYear(i.startOfMonth(i.date()), i.getYear(r.value));
3632
3632
  return i.setMonth(w, I);
3633
- }, (R) => i.getMonth(R)), d = z(() => t.firstDayOfWeek ?? t.weekdays[0]), f = z(() => {
3633
+ }, (R) => i.getMonth(R)), d = z(() => t.firstDayOfWeek ?? t.weekdays[0]), g = z(() => {
3634
3634
  const R = Number(t.firstDayOfWeek ?? 0);
3635
3635
  return t.weekdays.map((I) => (I + R) % 7);
3636
- }), g = z(() => {
3636
+ }), f = z(() => {
3637
3637
  const R = i.getWeekArray(u.value, d.value), I = R.flat(), w = 42;
3638
3638
  if (t.weeksInMonth === "static" && I.length < w) {
3639
3639
  const P = I[I.length - 1];
@@ -3644,7 +3644,7 @@ function jv(t) {
3644
3644
  return R;
3645
3645
  });
3646
3646
  function b(R, I) {
3647
- return R.filter((w) => f.value.includes(i.toJsDate(w).getDay())).map((w, P) => {
3647
+ return R.filter((w) => g.value.includes(i.toJsDate(w).getDay())).map((w, P) => {
3648
3648
  const H = i.toISO(w), B = !i.isSameMonth(w, u.value), T = i.isSameDay(w, i.startOfMonth(u.value)), S = i.isSameDay(w, i.endOfMonth(u.value)), W = i.isSameDay(w, u.value);
3649
3649
  return {
3650
3650
  date: w,
@@ -3673,9 +3673,9 @@ function jv(t) {
3673
3673
  const w = i.date();
3674
3674
  return b(I, w);
3675
3675
  }), C = z(() => {
3676
- const R = g.value.flat(), I = i.date();
3676
+ const R = f.value.flat(), I = i.date();
3677
3677
  return b(R, I);
3678
- }), O = z(() => g.value.map((R) => R.length ? Mm(i, R[0]) : null));
3678
+ }), O = z(() => f.value.map((R) => R.length ? Mm(i, R[0]) : null));
3679
3679
  function k(R) {
3680
3680
  if (t.disabled) return !0;
3681
3681
  const I = i.date(R);
@@ -3687,8 +3687,8 @@ function jv(t) {
3687
3687
  daysInWeek: y,
3688
3688
  genDays: b,
3689
3689
  model: n,
3690
- weeksInMonth: g,
3691
- weekDays: f,
3690
+ weeksInMonth: f,
3691
+ weekDays: g,
3692
3692
  weekNumbers: O
3693
3693
  };
3694
3694
  }
@@ -3722,37 +3722,37 @@ const td = Ft({
3722
3722
  const r = q(), {
3723
3723
  daysInMonth: u,
3724
3724
  model: d,
3725
- weekNumbers: f
3726
- } = jv(t), g = Cn(), b = Le(), y = Le(), C = Le(!1), O = z(() => C.value ? t.reverseTransition : t.transition);
3725
+ weekNumbers: g
3726
+ } = jv(t), f = Cn(), b = Le(), y = Le(), C = Le(!1), O = z(() => C.value ? t.reverseTransition : t.transition);
3727
3727
  t.multiple === "range" && d.value.length > 0 && (b.value = d.value[0], d.value.length > 1 && (y.value = d.value[d.value.length - 1]));
3728
3728
  const k = z(() => {
3729
3729
  const P = ["number", "string"].includes(typeof t.multiple) ? Number(t.multiple) : 1 / 0;
3730
3730
  return d.value.length >= P;
3731
3731
  });
3732
3732
  gt(u, (P, H) => {
3733
- H && (C.value = g.isBefore(P[0].date, H[0].date));
3733
+ H && (C.value = f.isBefore(P[0].date, H[0].date));
3734
3734
  });
3735
3735
  function R(P) {
3736
- const H = g.startOfDay(P);
3736
+ const H = f.startOfDay(P);
3737
3737
  if (d.value.length === 0 ? b.value = void 0 : d.value.length === 1 && (b.value = d.value[0], y.value = void 0), !b.value)
3738
3738
  b.value = H, d.value = [b.value];
3739
3739
  else if (y.value)
3740
3740
  b.value = P, y.value = void 0, d.value = [b.value];
3741
3741
  else {
3742
- if (g.isSameDay(H, b.value)) {
3742
+ if (f.isSameDay(H, b.value)) {
3743
3743
  b.value = void 0, d.value = [];
3744
3744
  return;
3745
- } else g.isBefore(H, b.value) ? (y.value = g.endOfDay(b.value), b.value = H) : y.value = g.endOfDay(H);
3746
- const B = g.getDiff(y.value, b.value, "days"), T = [b.value];
3745
+ } else f.isBefore(H, b.value) ? (y.value = f.endOfDay(b.value), b.value = H) : y.value = f.endOfDay(H);
3746
+ const B = f.getDiff(y.value, b.value, "days"), T = [b.value];
3747
3747
  for (let S = 1; S < B; S++) {
3748
- const W = g.addDays(b.value, S);
3748
+ const W = f.addDays(b.value, S);
3749
3749
  T.push(W);
3750
3750
  }
3751
3751
  T.push(y.value), d.value = T;
3752
3752
  }
3753
3753
  }
3754
3754
  function I(P) {
3755
- const H = d.value.findIndex((B) => g.isSameDay(B, P));
3755
+ const H = d.value.findIndex((B) => f.isSameDay(B, P));
3756
3756
  if (H === -1)
3757
3757
  d.value = [...d.value, P];
3758
3758
  else {
@@ -3771,7 +3771,7 @@ const td = Ft({
3771
3771
  }, [!t.hideWeekdays && l("div", {
3772
3772
  key: "hide-week-days",
3773
3773
  class: "v-date-picker-month__day"
3774
- }, [K(" ")]), f.value.map((P) => l("div", {
3774
+ }, [K(" ")]), g.value.map((P) => l("div", {
3775
3775
  class: ["v-date-picker-month__day", "v-date-picker-month__day--adjacent"]
3776
3776
  }, [P]))]), l(Ts, {
3777
3777
  name: O.value
@@ -3780,7 +3780,7 @@ const td = Ft({
3780
3780
  ref: r,
3781
3781
  key: u.value[0].date?.toString(),
3782
3782
  class: "v-date-picker-month__days"
3783
- }, [!t.hideWeekdays && g.getWeekdays(t.firstDayOfWeek).map((P) => l("div", {
3783
+ }, [!t.hideWeekdays && f.getWeekdays(t.firstDayOfWeek).map((P) => l("div", {
3784
3784
  class: ["v-date-picker-month__day", "v-date-picker-month__weekday"]
3785
3785
  }, [P])), u.value.map((P, H) => {
3786
3786
  const B = {
@@ -3837,13 +3837,13 @@ const td = Ft({
3837
3837
  slots: s
3838
3838
  } = i;
3839
3839
  const r = Cn(), u = we(t, "modelValue"), d = z(() => {
3840
- let f = r.startOfYear(r.date());
3841
- return t.year && (f = r.setYear(f, t.year)), Dc(12).map((g) => {
3842
- const b = r.format(f, "monthShort"), y = !!(t.min && r.isAfter(r.startOfMonth(r.date(t.min)), f) || t.max && r.isAfter(f, r.startOfMonth(r.date(t.max))));
3843
- return f = r.getNextMonth(f), {
3840
+ let g = r.startOfYear(r.date());
3841
+ return t.year && (g = r.setYear(g, t.year)), Dc(12).map((f) => {
3842
+ const b = r.format(g, "monthShort"), y = !!(t.min && r.isAfter(r.startOfMonth(r.date(t.min)), g) || t.max && r.isAfter(g, r.startOfMonth(r.date(t.max))));
3843
+ return g = r.getNextMonth(g), {
3844
3844
  isDisabled: y,
3845
3845
  text: b,
3846
- value: g
3846
+ value: f
3847
3847
  };
3848
3848
  });
3849
3849
  });
@@ -3856,15 +3856,15 @@ const td = Ft({
3856
3856
  }
3857
3857
  }, [l("div", {
3858
3858
  class: "v-date-picker-months__content"
3859
- }, [d.value.map((f, g) => {
3859
+ }, [d.value.map((g, f) => {
3860
3860
  const b = {
3861
- active: u.value === g,
3862
- color: u.value === g ? t.color : void 0,
3863
- disabled: f.isDisabled,
3861
+ active: u.value === f,
3862
+ color: u.value === f ? t.color : void 0,
3863
+ disabled: g.isDisabled,
3864
3864
  rounded: !0,
3865
- text: f.text,
3866
- variant: u.value === f.value ? "flat" : "text",
3867
- onClick: () => y(g)
3865
+ text: g.text,
3866
+ variant: u.value === g.value ? "flat" : "text",
3867
+ onClick: () => y(f)
3868
3868
  };
3869
3869
  function y(C) {
3870
3870
  if (u.value === C) {
@@ -3874,8 +3874,8 @@ const td = Ft({
3874
3874
  u.value = C;
3875
3875
  }
3876
3876
  return s.month?.({
3877
- month: f,
3878
- i: g,
3877
+ month: g,
3878
+ i: f,
3879
3879
  props: b
3880
3880
  }) ?? l(pt, lt({
3881
3881
  key: "month"
@@ -3900,8 +3900,8 @@ const td = Ft({
3900
3900
  slots: s
3901
3901
  } = i;
3902
3902
  const r = Cn(), u = we(t, "modelValue"), d = z(() => {
3903
- const g = r.getYear(r.date());
3904
- let b = g - 100, y = g + 52;
3903
+ const f = r.getYear(r.date());
3904
+ let b = f - 100, y = f + 52;
3905
3905
  t.min && (b = r.getYear(r.date(t.min))), t.max && (y = r.getYear(r.date(t.max)));
3906
3906
  let C = r.startOfYear(r.date());
3907
3907
  return C = r.setYear(C, b), Dc(y - b + 1, b).map((O) => {
@@ -3915,9 +3915,9 @@ const td = Ft({
3915
3915
  pn(() => {
3916
3916
  u.value = u.value ?? r.getYear(r.date());
3917
3917
  });
3918
- const f = Nm();
3918
+ const g = Nm();
3919
3919
  return ne(async () => {
3920
- await le(), f.el?.scrollIntoView({
3920
+ await le(), g.el?.scrollIntoView({
3921
3921
  block: "center"
3922
3922
  });
3923
3923
  }), Ht(() => l("div", {
@@ -3927,24 +3927,24 @@ const td = Ft({
3927
3927
  }
3928
3928
  }, [l("div", {
3929
3929
  class: "v-date-picker-years__content"
3930
- }, [d.value.map((g, b) => {
3930
+ }, [d.value.map((f, b) => {
3931
3931
  const y = {
3932
- ref: u.value === g.value ? f : void 0,
3933
- active: u.value === g.value,
3934
- color: u.value === g.value ? t.color : void 0,
3932
+ ref: u.value === f.value ? g : void 0,
3933
+ active: u.value === f.value,
3934
+ color: u.value === f.value ? t.color : void 0,
3935
3935
  rounded: !0,
3936
- text: g.text,
3937
- variant: u.value === g.value ? "flat" : "text",
3936
+ text: f.text,
3937
+ variant: u.value === f.value ? "flat" : "text",
3938
3938
  onClick: () => {
3939
- if (u.value === g.value) {
3939
+ if (u.value === f.value) {
3940
3940
  n("update:modelValue", u.value);
3941
3941
  return;
3942
3942
  }
3943
- u.value = g.value;
3943
+ u.value = f.value;
3944
3944
  }
3945
3945
  };
3946
3946
  return s.year?.({
3947
- year: g,
3947
+ year: f,
3948
3948
  i: b,
3949
3949
  props: y
3950
3950
  }) ?? l(pt, lt({
@@ -4059,7 +4059,7 @@ const td = Ft({
4059
4059
  } = i;
4060
4060
  const r = Cn(), {
4061
4061
  t: u
4062
- } = Ms(), d = we(t, "modelValue", void 0, (V) => $n(V), (V) => t.multiple ? V : V[0]), f = we(t, "viewMode"), g = z(() => {
4062
+ } = Ms(), d = we(t, "modelValue", void 0, (V) => $n(V), (V) => t.multiple ? V : V[0]), g = we(t, "viewMode"), f = z(() => {
4063
4063
  const V = r.date(t.min);
4064
4064
  return t.min && r.isValid(V) ? V : null;
4065
4065
  }), b = z(() => {
@@ -4068,20 +4068,20 @@ const td = Ft({
4068
4068
  }), y = z(() => {
4069
4069
  const V = r.date();
4070
4070
  let X = V;
4071
- return d.value?.[0] ? X = r.date(d.value[0]) : g.value && r.isBefore(V, g.value) ? X = g.value : b.value && r.isAfter(V, b.value) && (X = b.value), X && r.isValid(X) ? X : V;
4071
+ return d.value?.[0] ? X = r.date(d.value[0]) : f.value && r.isBefore(V, f.value) ? X = f.value : b.value && r.isAfter(V, b.value) && (X = b.value), X && r.isValid(X) ? X : V;
4072
4072
  }), C = q(Number(t.month ?? r.getMonth(r.startOfMonth(y.value)))), O = q(Number(t.year ?? r.getYear(r.startOfYear(r.setMonth(y.value, C.value))))), k = Le(!1), R = z(() => t.multiple && d.value.length > 1 ? u("$vuetify.datePicker.itemsSelected", d.value.length) : d.value[0] && r.isValid(d.value[0]) ? r.format(r.date(d.value[0]), "normalDateWithWeekday") : u(t.header)), I = z(() => {
4073
4073
  let V = r.date();
4074
4074
  return V = r.setDate(V, 1), V = r.setMonth(V, C.value), V = r.setYear(V, O.value), r.format(V, "monthAndYear");
4075
4075
  }), w = z(() => `date-picker-header${k.value ? "-reverse" : ""}-transition`), P = z(() => {
4076
4076
  if (t.disabled) return !0;
4077
4077
  const V = [];
4078
- if (f.value !== "month")
4078
+ if (g.value !== "month")
4079
4079
  V.push("prev", "next");
4080
4080
  else {
4081
4081
  let X = r.date();
4082
- if (X = r.startOfMonth(X), X = r.setMonth(X, C.value), X = r.setYear(X, O.value), g.value) {
4082
+ if (X = r.startOfMonth(X), X = r.setMonth(X, C.value), X = r.setYear(X, O.value), f.value) {
4083
4083
  const _ = r.addDays(r.startOfMonth(X), -1);
4084
- r.isAfter(g.value, _) && V.push("prev");
4084
+ r.isAfter(f.value, _) && V.push("prev");
4085
4085
  }
4086
4086
  if (b.value) {
4087
4087
  const _ = r.addDays(r.endOfMonth(X), 1);
@@ -4097,19 +4097,19 @@ const td = Ft({
4097
4097
  C.value > 0 ? C.value-- : (O.value--, C.value = 11, tt(O.value)), at(C.value);
4098
4098
  }
4099
4099
  function T() {
4100
- f.value = "month";
4100
+ g.value = "month";
4101
4101
  }
4102
4102
  function S() {
4103
- f.value = f.value === "months" ? "month" : "months";
4103
+ g.value = g.value === "months" ? "month" : "months";
4104
4104
  }
4105
4105
  function W() {
4106
- f.value = f.value === "year" ? "month" : "year";
4106
+ g.value = g.value === "year" ? "month" : "year";
4107
4107
  }
4108
4108
  function at(V) {
4109
- f.value === "months" && S(), n("update:month", V);
4109
+ g.value === "months" && S(), n("update:month", V);
4110
4110
  }
4111
4111
  function tt(V) {
4112
- f.value === "year" && W(), n("update:year", V);
4112
+ g.value === "year" && W(), n("update:year", V);
4113
4113
  }
4114
4114
  return gt(d, (V, X) => {
4115
4115
  const _ = $n(X), ot = $n(V);
@@ -4122,7 +4122,7 @@ const td = Ft({
4122
4122
  transition: w.value
4123
4123
  };
4124
4124
  return l(LA, lt(V, {
4125
- class: ["v-date-picker", `v-date-picker--${f.value}`, {
4125
+ class: ["v-date-picker", `v-date-picker--${g.value}`, {
4126
4126
  "v-date-picker--show-week": t.showWeek
4127
4127
  }, t.class],
4128
4128
  style: t.style
@@ -4141,7 +4141,7 @@ const td = Ft({
4141
4141
  }) : l(QA, lt({
4142
4142
  key: "header"
4143
4143
  }, _, Dt, {
4144
- onClick: f.value !== "month" ? T : void 0
4144
+ onClick: g.value !== "month" ? T : void 0
4145
4145
  }), {
4146
4146
  ...s,
4147
4147
  default: void 0
@@ -4156,20 +4156,20 @@ const td = Ft({
4156
4156
  }), null), l(Xg, {
4157
4157
  hideOnLeave: !0
4158
4158
  }, {
4159
- default: () => [f.value === "months" ? l(DA, lt({
4159
+ default: () => [g.value === "months" ? l(DA, lt({
4160
4160
  key: "date-picker-months"
4161
4161
  }, ut, {
4162
4162
  modelValue: C.value,
4163
4163
  "onUpdate:modelValue": [(yt) => C.value = yt, at],
4164
- min: g.value,
4164
+ min: f.value,
4165
4165
  max: b.value,
4166
4166
  year: O.value
4167
- }), null) : f.value === "year" ? l(OA, lt({
4167
+ }), null) : g.value === "year" ? l(OA, lt({
4168
4168
  key: "date-picker-years"
4169
4169
  }, Ct, {
4170
4170
  modelValue: O.value,
4171
4171
  "onUpdate:modelValue": [(yt) => O.value = yt, tt],
4172
- min: g.value,
4172
+ min: f.value,
4173
4173
  max: b.value
4174
4174
  }), null) : l(RA, lt({
4175
4175
  key: "date-picker-month"
@@ -4180,7 +4180,7 @@ const td = Ft({
4180
4180
  "onUpdate:month": [(yt) => C.value = yt, at],
4181
4181
  year: O.value,
4182
4182
  "onUpdate:year": [(yt) => O.value = yt, tt],
4183
- min: g.value,
4183
+ min: f.value,
4184
4184
  max: b.value
4185
4185
  }), null)]
4186
4186
  })]),
@@ -4217,9 +4217,9 @@ const td = Ft({
4217
4217
  backgroundColorClasses: u,
4218
4218
  backgroundColorStyles: d
4219
4219
  } = Xi(_t(t, "color")), {
4220
- borderClasses: f
4220
+ borderClasses: g
4221
4221
  } = hc(t), {
4222
- elevationClasses: g
4222
+ elevationClasses: f
4223
4223
  } = pr(t), {
4224
4224
  roundedClasses: b
4225
4225
  } = Ss(t), y = Le(32), {
@@ -4242,7 +4242,7 @@ const td = Ft({
4242
4242
  });
4243
4243
  }), Ht(() => l(t.tag, {
4244
4244
  ref: C,
4245
- class: ["v-footer", r.value, u.value, f.value, g.value, b.value, t.class],
4245
+ class: ["v-footer", r.value, u.value, g.value, f.value, b.value, t.class],
4246
4246
  style: [d.value, t.app ? s.value : {
4247
4247
  height: Ri(t.height)
4248
4248
  }, t.style]
@@ -4354,9 +4354,9 @@ const td = Ft({
4354
4354
  n("click:next");
4355
4355
  }
4356
4356
  return Ht(() => {
4357
- const f = {
4357
+ const g = {
4358
4358
  onClick: u
4359
- }, g = {
4359
+ }, f = {
4360
4360
  onClick: d
4361
4361
  };
4362
4362
  return l("div", {
@@ -4371,8 +4371,8 @@ const td = Ft({
4371
4371
  }
4372
4372
  }, {
4373
4373
  default: () => [s.prev?.({
4374
- props: f
4375
- }) ?? l(pt, f, null)]
4374
+ props: g
4375
+ }) ?? l(pt, g, null)]
4376
4376
  }), l(ii, {
4377
4377
  defaults: {
4378
4378
  VBtn: {
@@ -4384,8 +4384,8 @@ const td = Ft({
4384
4384
  }
4385
4385
  }, {
4386
4386
  default: () => [s.next?.({
4387
- props: g
4388
- }) ?? l(pt, g, null)]
4387
+ props: f
4388
+ }) ?? l(pt, f, null)]
4389
4389
  })]);
4390
4390
  }), {};
4391
4391
  }
@@ -4433,9 +4433,9 @@ const td = Ft({
4433
4433
  let {
4434
4434
  slots: n
4435
4435
  } = i;
4436
- const s = Os(t, wr, !0), r = z(() => s?.value.value ?? t.value), u = z(() => t.rules.every((O) => O() === !0)), d = z(() => !t.disabled && t.editable), f = z(() => !t.disabled && t.editable), g = z(() => t.error || !u.value), b = z(() => t.complete || t.rules.length > 0 && u.value), y = z(() => g.value ? t.errorIcon : b.value ? t.completeIcon : s.isSelected.value && t.editable ? t.editIcon : t.icon), C = z(() => ({
4437
- canEdit: f.value,
4438
- hasError: g.value,
4436
+ const s = Os(t, wr, !0), r = z(() => s?.value.value ?? t.value), u = z(() => t.rules.every((O) => O() === !0)), d = z(() => !t.disabled && t.editable), g = z(() => !t.disabled && t.editable), f = z(() => t.error || !u.value), b = z(() => t.complete || t.rules.length > 0 && u.value), y = z(() => f.value ? t.errorIcon : b.value ? t.completeIcon : s.isSelected.value && t.editable ? t.editIcon : t.icon), C = z(() => ({
4437
+ canEdit: g.value,
4438
+ hasError: f.value,
4439
4439
  hasCompleted: b.value,
4440
4440
  title: t.title,
4441
4441
  subtitle: t.subtitle,
@@ -4443,7 +4443,7 @@ const td = Ft({
4443
4443
  value: t.value
4444
4444
  }));
4445
4445
  return Ht(() => {
4446
- const O = (!s || s.isSelected.value || b.value || f.value) && !g.value && !t.disabled, k = !!(t.title != null || n.title), R = !!(t.subtitle != null || n.subtitle);
4446
+ const O = (!s || s.isSelected.value || b.value || g.value) && !f.value && !t.disabled, k = !!(t.title != null || n.title), R = !!(t.subtitle != null || n.subtitle);
4447
4447
  function I() {
4448
4448
  s?.toggle();
4449
4449
  }
@@ -4451,7 +4451,7 @@ const td = Ft({
4451
4451
  class: ["v-stepper-item", {
4452
4452
  "v-stepper-item--complete": b.value,
4453
4453
  "v-stepper-item--disabled": t.disabled,
4454
- "v-stepper-item--error": g.value
4454
+ "v-stepper-item--error": f.value
4455
4455
  }, s?.selectedClass.value],
4456
4456
  disabled: !t.editable,
4457
4457
  type: "button",
@@ -4502,7 +4502,7 @@ const td = Ft({
4502
4502
  _as: "VStepperWindow"
4503
4503
  }, d, {
4504
4504
  modelValue: u.value,
4505
- "onUpdate:modelValue": (f) => u.value = f,
4505
+ "onUpdate:modelValue": (g) => u.value = g,
4506
4506
  class: ["v-stepper-window", t.class],
4507
4507
  style: t.style,
4508
4508
  mandatory: !1,
@@ -4576,8 +4576,8 @@ const td = Ft({
4576
4576
  prev: u,
4577
4577
  selected: d
4578
4578
  } = br(t, wr), {
4579
- displayClasses: f,
4580
- mobile: g
4579
+ displayClasses: g,
4580
+ mobile: f
4581
4581
  } = Um(t), {
4582
4582
  completeIcon: b,
4583
4583
  editIcon: y,
@@ -4617,8 +4617,8 @@ const td = Ft({
4617
4617
  "v-stepper--alt-labels": t.altLabels,
4618
4618
  "v-stepper--flat": t.flat,
4619
4619
  "v-stepper--non-linear": t.nonLinear,
4620
- "v-stepper--mobile": g.value
4621
- }, f.value, t.class],
4620
+ "v-stepper--mobile": f.value
4621
+ }, g.value, t.class],
4622
4622
  style: t.style
4623
4623
  }), {
4624
4624
  default: () => [T && l(sd, {
@@ -4684,15 +4684,15 @@ const td = Ft({
4684
4684
  const {
4685
4685
  textColorClasses: r,
4686
4686
  textColorStyles: u
4687
- } = nm(t, "sliderColor"), d = q(), f = q(), g = z(() => t.direction === "horizontal"), b = z(() => d.value?.group?.isSelected.value ?? !1);
4687
+ } = nm(t, "sliderColor"), d = q(), g = q(), f = z(() => t.direction === "horizontal"), b = z(() => d.value?.group?.isSelected.value ?? !1);
4688
4688
  function y(C) {
4689
4689
  let {
4690
4690
  value: O
4691
4691
  } = C;
4692
4692
  if (O) {
4693
- const k = d.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), R = f.value;
4693
+ const k = d.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), R = g.value;
4694
4694
  if (!k || !R) return;
4695
- const I = getComputedStyle(k).color, w = k.getBoundingClientRect(), P = R.getBoundingClientRect(), H = g.value ? "x" : "y", B = g.value ? "X" : "Y", T = g.value ? "right" : "bottom", S = g.value ? "width" : "height", W = w[H], at = P[H], tt = W > at ? w[T] - P[T] : w[H] - P[H], V = Math.sign(tt) > 0 ? g.value ? "right" : "bottom" : Math.sign(tt) < 0 ? g.value ? "left" : "top" : "center", _ = (Math.abs(tt) + (Math.sign(tt) < 0 ? w[S] : P[S])) / Math.max(w[S], P[S]) || 0, ot = w[S] / P[S] || 0, ut = 1.5;
4695
+ const I = getComputedStyle(k).color, w = k.getBoundingClientRect(), P = R.getBoundingClientRect(), H = f.value ? "x" : "y", B = f.value ? "X" : "Y", T = f.value ? "right" : "bottom", S = f.value ? "width" : "height", W = w[H], at = P[H], tt = W > at ? w[T] - P[T] : w[H] - P[H], V = Math.sign(tt) > 0 ? f.value ? "right" : "bottom" : Math.sign(tt) < 0 ? f.value ? "left" : "top" : "center", _ = (Math.abs(tt) + (Math.sign(tt) < 0 ? w[S] : P[S])) / Math.max(w[S], P[S]) || 0, ot = w[S] / P[S] || 0, ut = 1.5;
4696
4696
  am(R, {
4697
4697
  backgroundColor: [I, "currentcolor"],
4698
4698
  transform: [`translate${B}(${tt}px) scale${B}(${ot})`, `translate${B}(${tt / ut}px) scale${B}(${(_ - 1) / ut + 1})`, "none"],
@@ -4721,7 +4721,7 @@ const td = Ft({
4721
4721
  }), {
4722
4722
  ...n,
4723
4723
  default: () => l(At, null, [n.default?.() ?? t.text, !t.hideSlider && l("div", {
4724
- ref: f,
4724
+ ref: g,
4725
4725
  class: ["v-tab__slider", r.value],
4726
4726
  style: u.value
4727
4727
  }, null)])
@@ -4754,7 +4754,7 @@ const td = Ft({
4754
4754
  _as: "VTabsWindow"
4755
4755
  }, d, {
4756
4756
  modelValue: u.value,
4757
- "onUpdate:modelValue": (f) => u.value = f,
4757
+ "onUpdate:modelValue": (g) => u.value = g,
4758
4758
  class: ["v-tabs-window", t.class],
4759
4759
  style: t.style,
4760
4760
  mandatory: !1,
@@ -4828,8 +4828,8 @@ const mb = Ft({
4828
4828
  const r = we(t, "modelValue"), u = z(() => gb(t.items)), {
4829
4829
  densityClasses: d
4830
4830
  } = lm(t), {
4831
- backgroundColorClasses: f,
4832
- backgroundColorStyles: g
4831
+ backgroundColorClasses: g,
4832
+ backgroundColorStyles: f
4833
4833
  } = Xi(_t(t, "bgColor")), {
4834
4834
  scopeId: b
4835
4835
  } = oc();
@@ -4851,10 +4851,10 @@ const mb = Ft({
4851
4851
  "v-tabs--fixed-tabs": t.fixedTabs,
4852
4852
  "v-tabs--grow": t.grow,
4853
4853
  "v-tabs--stacked": t.stacked
4854
- }, d.value, f.value, t.class],
4854
+ }, d.value, g.value, t.class],
4855
4855
  style: [{
4856
4856
  "--v-tabs-height": Ri(t.height)
4857
- }, g.value, t.style],
4857
+ }, f.value, t.style],
4858
4858
  role: "tablist",
4859
4859
  symbol: Pr
4860
4860
  }, b, n), {
@@ -4929,8 +4929,8 @@ const mb = Ft({
4929
4929
  } = i;
4930
4930
  const u = we(t, "modelValue"), {
4931
4931
  isFocused: d,
4932
- focus: f,
4933
- blur: g
4932
+ focus: g,
4933
+ blur: f
4934
4934
  } = cm(t), b = z(() => typeof t.counterValue == "function" ? t.counterValue(u.value) : (u.value || "").toString().length), y = z(() => {
4935
4935
  if (n.maxlength) return n.maxlength;
4936
4936
  if (!(!t.counter || typeof t.counter != "number" && typeof t.counter != "string"))
@@ -4941,7 +4941,7 @@ const mb = Ft({
4941
4941
  }
4942
4942
  const O = q(), k = q(), R = Le(""), I = q(), w = z(() => t.persistentPlaceholder || d.value || t.active);
4943
4943
  function P() {
4944
- I.value !== document.activeElement && I.value?.focus(), d.value || f();
4944
+ I.value !== document.activeElement && I.value?.focus(), d.value || g();
4945
4945
  }
4946
4946
  function H(_) {
4947
4947
  P(), s("click:control", _);
@@ -5053,7 +5053,7 @@ const mb = Ft({
5053
5053
  rows: t.rows,
5054
5054
  name: t.name,
5055
5055
  onFocus: P,
5056
- onBlur: g
5056
+ onBlur: f
5057
5057
  }, wt, Ct), null), [[bn("intersect"), {
5058
5058
  handler: C
5059
5059
  }, null, {
@@ -5106,15 +5106,15 @@ const mb = Ft({
5106
5106
  }, {
5107
5107
  default: c(() => [
5108
5108
  (E(!0), Y(At, null, Kt(n.imageUrls, (u, d) => (E(), M(v(eb), { key: d }, {
5109
- default: c(({ isSelected: f, toggle: g }) => [
5109
+ default: c(({ isSelected: g, toggle: f }) => [
5110
5110
  D("div", {
5111
5111
  class: oe(["thumb cursor-pointer", {
5112
- active: f,
5112
+ active: g,
5113
5113
  "mr-1": d < n.imageUrls.length - 1
5114
5114
  }]),
5115
5115
  "data-index": d,
5116
5116
  onClick: (b) => {
5117
- g(), s.$emit("change", d);
5117
+ f(), s.$emit("change", d);
5118
5118
  }
5119
5119
  }, [
5120
5120
  D("img", {
@@ -5149,10 +5149,10 @@ const mb = Ft({
5149
5149
  emits: ["change", "click"],
5150
5150
  setup(t, { emit: i }) {
5151
5151
  const n = t, s = i, r = q(!1), u = q(!1), d = q(n.slide || 0);
5152
- function f() {
5152
+ function g() {
5153
5153
  s("change", d.value), u.value = !0;
5154
5154
  }
5155
- function g() {
5155
+ function f() {
5156
5156
  s("click", d.value), n.clickable && (u.value = !1);
5157
5157
  }
5158
5158
  function b() {
@@ -5160,7 +5160,7 @@ const mb = Ft({
5160
5160
  }
5161
5161
  function y(R) {
5162
5162
  const I = n.imageUrls.length;
5163
- d.value = (I + d.value + R) % I, f();
5163
+ d.value = (I + d.value + R) % I, g();
5164
5164
  }
5165
5165
  const C = z(() => n.isLoading ? [
5166
5166
  {
@@ -5200,7 +5200,7 @@ const mb = Ft({
5200
5200
  modelValue: d.value,
5201
5201
  "onUpdate:modelValue": [
5202
5202
  I[1] || (I[1] = (w) => d.value = w),
5203
- f
5203
+ g
5204
5204
  ],
5205
5205
  class: oe(["carousel", { rounded: t.rounded }]),
5206
5206
  height: t.height || "100%",
@@ -5233,7 +5233,7 @@ const mb = Ft({
5233
5233
  height: t.height || "100%",
5234
5234
  src: w,
5235
5235
  width: t.width || "100%",
5236
- onClick: g
5236
+ onClick: f
5237
5237
  }, {
5238
5238
  error: c(() => [
5239
5239
  l(J, {
@@ -5960,7 +5960,7 @@ const Sb = { class: "position-relative" }, Qb = { class: "text-body-1" }, Rb = [
5960
5960
  class: "ma-0 text-center"
5961
5961
  }, Ob = { class: "mb-0" }, Lb = { class: "font-weight-bold" }, Tb = { class: "mb-0" }, Fb = { class: "font-weight-bold" }, zb = { class: "mb-0" }, xb = { class: "font-weight-bold" }, Mb = { class: "mb-0" }, Nb = { class: "font-weight-bold" }, Ub = { class: "font-weight-bold" }, Hb = { class: "font-weight-bold" }, Vb = { key: 0 }, Kb = { class: "text-primary" }, Yb = { class: "text-primary" }, qb = { class: "text-primary" }, Wb = { key: 0 }, Gb = { class: "text-primary" }, Zb = { key: 1 }, jb = { class: "mr-2" }, Jb = { class: "text-h5 font-weight-bold text-success" }, Xb = { class: "text-error" }, _b = { class: "text-success" }, $b = { key: 0 }, tC = { class: "ma-0" }, eC = { class: "text-caption" };
5962
5962
  function iC(t, i, n, s, r, u) {
5963
- const d = $t("BImageCarousel"), f = $t("BHotelRoomsDetails"), g = $t("BBreakfastOptionBadge"), b = $t("CancellationPoliciesList"), y = $t("RoomingListEditor"), C = $t("BFormattedAmount"), O = $t("BTag"), k = $t("BNewBookingDialog"), R = $t("BGoogleMapIframe"), I = $t("BookingManagerLayout"), w = $t("BErrorOverlay");
5963
+ const d = $t("BImageCarousel"), g = $t("BHotelRoomsDetails"), f = $t("BBreakfastOptionBadge"), b = $t("CancellationPoliciesList"), y = $t("RoomingListEditor"), C = $t("BFormattedAmount"), O = $t("BTag"), k = $t("BNewBookingDialog"), R = $t("BGoogleMapIframe"), I = $t("BookingManagerLayout"), w = $t("BErrorOverlay");
5964
5964
  return E(), Y("div", Sb, [
5965
5965
  l(I, null, Qo({
5966
5966
  "booking-datetime": c(() => [
@@ -6108,7 +6108,7 @@ function iC(t, i, n, s, r, u) {
6108
6108
  t.booking ? {
6109
6109
  name: "room-details",
6110
6110
  fn: c(() => [
6111
- l(f, { "hotel-rooms": t.rooms }, null, 8, ["hotel-rooms"])
6111
+ l(g, { "hotel-rooms": t.rooms }, null, 8, ["hotel-rooms"])
6112
6112
  ]),
6113
6113
  key: "4"
6114
6114
  } : void 0,
@@ -6116,7 +6116,7 @@ function iC(t, i, n, s, r, u) {
6116
6116
  name: "breakfast",
6117
6117
  fn: c(() => [
6118
6118
  K(F(t.t("BookingManager.breakfast")) + " ", 1),
6119
- l(g, {
6119
+ l(f, {
6120
6120
  "breakfast-count": t.breakfastCount,
6121
6121
  "breakfast-option": t.breakfastCount && t.breakfastCount > 0 ? "INCLUDED" : "NOT_INCLUDED",
6122
6122
  class: "mr-n1"
@@ -6466,9 +6466,9 @@ const _B = /* @__PURE__ */ Wt(Ad, [["render", iC]]), oC = ["innerHTML"], nC = ["
6466
6466
  timezone: s.timezone
6467
6467
  })
6468
6468
  )
6469
- ), f = z(
6469
+ ), g = z(
6470
6470
  () => _m(d.value)
6471
- ), g = z(() => f.value?.penaltyPercentage === 0 ? "fas fa-regular fa-circle-check" : f.value?.penaltyPercentage === 100 ? "" : "fas fa-circle-info");
6471
+ ), f = z(() => g.value?.penaltyPercentage === 0 ? "fas fa-regular fa-circle-check" : g.value?.penaltyPercentage === 100 ? "" : "fas fa-circle-info");
6472
6472
  function b(C) {
6473
6473
  return new Date(C).toLocaleTimeString(i.value, {
6474
6474
  day: "numeric",
@@ -6485,38 +6485,38 @@ const _B = /* @__PURE__ */ Wt(Ad, [["render", iC]]), oC = ["innerHTML"], nC = ["
6485
6485
  ref: r
6486
6486
  }, [
6487
6487
  l(wi, {
6488
- disabled: f.value?.penaltyPercentage === 100,
6488
+ disabled: g.value?.penaltyPercentage === 100,
6489
6489
  location: "top",
6490
6490
  attach: v(y) ?? void 0
6491
6491
  }, {
6492
6492
  activator: c(({ props: k }) => [
6493
6493
  D("div", lt({
6494
6494
  class: ["d-flex align-center text-caption", {
6495
- "cursor-help": f.value?.penaltyPercentage !== 100
6495
+ "cursor-help": g.value?.penaltyPercentage !== 100
6496
6496
  }],
6497
6497
  style: { gap: "4px" }
6498
6498
  }, k), [
6499
- g.value ? (E(), M(Et, {
6499
+ f.value ? (E(), M(Et, {
6500
6500
  key: 0,
6501
- color: f.value?.penaltyPercentage !== 100 ? "green" : "grey",
6501
+ color: g.value?.penaltyPercentage !== 100 ? "green" : "grey",
6502
6502
  style: { "place-self": "flex-start" }
6503
6503
  }, {
6504
6504
  default: c(() => [
6505
- K(F(g.value), 1)
6505
+ K(F(f.value), 1)
6506
6506
  ]),
6507
6507
  _: 1
6508
6508
  }, 8, ["color"])) : G("", !0),
6509
- f.value?.penaltyPercentage === 0 ? (E(), Y("span", {
6509
+ g.value?.penaltyPercentage === 0 ? (E(), Y("span", {
6510
6510
  key: 1,
6511
6511
  class: "text-green-darken-2 underline--dotted",
6512
6512
  innerHTML: v(n)("CancellationPoliciesBadge.freeCancellationBefore", {
6513
- date: b(f.value?.dateTo)
6513
+ date: b(g.value?.dateTo)
6514
6514
  })
6515
- }, null, 8, oC)) : f.value?.penaltyPercentage === 100 ? (E(), Y("span", {
6515
+ }, null, 8, oC)) : g.value?.penaltyPercentage === 100 ? (E(), Y("span", {
6516
6516
  key: 2,
6517
6517
  class: "text-grey-darken-2",
6518
6518
  innerHTML: v(n)("CancellationPoliciesBadge.nonRefundable")
6519
- }, null, 8, nC)) : f.value?.penaltyPercentage && f.value?.penaltyPercentage > 0 && f.value?.penaltyPercentage < 100 ? (E(), Y("span", {
6519
+ }, null, 8, nC)) : g.value?.penaltyPercentage && g.value?.penaltyPercentage > 0 && g.value?.penaltyPercentage < 100 ? (E(), Y("span", {
6520
6520
  key: 3,
6521
6521
  class: "text-green-darken-2 underline--dotted",
6522
6522
  innerHTML: v(n)("CancellationPoliciesBadge.partiallyRefundable")
@@ -6693,8 +6693,8 @@ function cd(t, i, n) {
6693
6693
  if (d)
6694
6694
  return d;
6695
6695
  n.set(t, u);
6696
- for (var f in t)
6697
- Object.prototype.hasOwnProperty.call(t, f) && (u[f] = cd(t[f], !0, n));
6696
+ for (var g in t)
6697
+ Object.prototype.hasOwnProperty.call(t, g) && (u[g] = cd(t[g], !0, n));
6698
6698
  return u;
6699
6699
  };
6700
6700
  switch (aC(t)) {
@@ -6844,8 +6844,8 @@ const ct = (t) => typeof t == "function" && !!(t.constructor && t.call && t.appl
6844
6844
  }, wC = (t) => BC(new TextEncoder().encode(t)), ys = (t, i, n, s, r) => {
6845
6845
  const u = { category: t, name: i, properties: n, options: s, callback: void 0 };
6846
6846
  ct(r) && (u.callback = r), ct(s) && (u.category = t, u.name = i, u.properties = n, u.options = void 0, u.callback = s), ct(n) && (u.category = t, u.name = i, u.properties = void 0, u.options = void 0, u.callback = n), ct(i) && (u.category = t, u.name = void 0, u.properties = void 0, u.options = void 0, u.callback = i), ct(t) && (u.category = void 0, u.name = void 0, u.properties = void 0, u.options = void 0, u.callback = t), Zt(t) ? (u.name = void 0, u.category = void 0, u.properties = t, ct(i) ? u.options = void 0 : u.options = i) : Zt(i) && (u.name = void 0, u.properties = i, ct(n) ? u.options = void 0 : u.options = n), Gt(t) && !Gt(i) && (u.category = void 0, u.name = t), Yt(u.category) || (u.category = void 0), Yt(u.name) || (u.name = void 0), u.properties = u.properties ? Rt(u.properties) : {}, Yt(u.options) ? u.options = Rt(u.options) : u.options = void 0;
6847
- const d = Gt(u.name) ? u.name : u.properties.name, f = Gt(u.category) ? u.category : u.properties.category;
6848
- return u.properties = ce(Zt(u.properties) ? u.properties : {}, { ...d && { name: d }, ...f && { category: f } }), u;
6847
+ const d = Gt(u.name) ? u.name : u.properties.name, g = Gt(u.category) ? u.category : u.properties.category;
6848
+ return u.properties = ce(Zt(u.properties) ? u.properties : {}, { ...d && { name: d }, ...g && { category: g } }), u;
6849
6849
  }, Lr = (t, i, n, s) => {
6850
6850
  const r = { name: t, properties: i, options: n, callback: void 0 };
6851
6851
  return ct(s) && (r.callback = s), ct(n) && (r.properties = i, r.options = void 0, r.callback = n), ct(i) && (r.properties = void 0, r.options = void 0, r.callback = i), r.properties = wo(r.properties) ? Rt(r.properties) : {}, Yt(r.options) ? r.options = Rt(r.options) : r.options = void 0, r;
@@ -7053,8 +7053,8 @@ const jA = (t, i) => {
7053
7053
  }
7054
7054
  }, Ay = 10 * 1e3, uy = "RS_JS_SDK", cy = (t, i, n = !0, s = null, r = null, u = {}) => {
7055
7055
  const d = document.createElement("script");
7056
- return d.type = "text/javascript", d.onload = s, d.onerror = r, d.src = t, d.id = i, d.async = n, Object.keys(u).forEach((f) => {
7057
- d.setAttribute(f, u[f]);
7056
+ return d.type = "text/javascript", d.onload = s, d.onerror = r, d.src = t, d.id = i, d.async = n, Object.keys(u).forEach((g) => {
7057
+ d.setAttribute(g, u[g]);
7058
7058
  }), d.setAttribute("data-loader", uy), d;
7059
7059
  }, dy = (t) => {
7060
7060
  const i = document.getElementsByTagName("head");
@@ -7074,16 +7074,16 @@ const jA = (t, i) => {
7074
7074
  }, hy = (t, i, n, s = !0, r) => new Promise((u, d) => {
7075
7075
  document.getElementById(i) && d(new Error(MC(i)));
7076
7076
  try {
7077
- let g;
7077
+ let f;
7078
7078
  dy(cy(t, i, s, () => {
7079
- globalThis.clearTimeout(g), u(i);
7079
+ globalThis.clearTimeout(f), u(i);
7080
7080
  }, (C) => {
7081
- globalThis.clearTimeout(g), d(new Error(HA(i, t, C)));
7082
- }, r)), g = globalThis.setTimeout(() => {
7081
+ globalThis.clearTimeout(f), d(new Error(HA(i, t, C)));
7082
+ }, r)), f = globalThis.setTimeout(() => {
7083
7083
  d(new Error(NC(i, t, n)));
7084
7084
  }, n);
7085
- } catch (g) {
7086
- d(Fr(g, HA(i, t, "unknown")));
7085
+ } catch (f) {
7086
+ d(Fr(f, HA(i, t, "unknown")));
7087
7087
  }
7088
7088
  });
7089
7089
  class kd {
@@ -7094,11 +7094,11 @@ class kd {
7094
7094
  * Load external resource of type javascript
7095
7095
  */
7096
7096
  loadJSFile(i) {
7097
- const { url: n, id: s, timeout: r, async: u, callback: d, extraAttributes: f } = i, g = !ct(d);
7098
- hy(n, s, r || this.timeout, u, f).then((b) => {
7099
- g || d(b);
7097
+ const { url: n, id: s, timeout: r, async: u, callback: d, extraAttributes: g } = i, f = !ct(d);
7098
+ hy(n, s, r || this.timeout, u, g).then((b) => {
7099
+ f || d(b);
7100
7100
  }).catch((b) => {
7101
- g || d(s, b);
7101
+ f || d(s, b);
7102
7102
  });
7103
7103
  }
7104
7104
  }
@@ -7462,7 +7462,7 @@ function Y0() {
7462
7462
  return this[I];
7463
7463
  };
7464
7464
  }
7465
- var u = ["isConstructor", "isEval", "isNative", "isToplevel"], d = ["columnNumber", "lineNumber"], f = ["fileName", "functionName", "source"], g = ["args"], b = ["evalOrigin"], y = u.concat(d, f, g, b);
7465
+ var u = ["isConstructor", "isEval", "isNative", "isToplevel"], d = ["columnNumber", "lineNumber"], g = ["fileName", "functionName", "source"], f = ["args"], b = ["evalOrigin"], y = u.concat(d, g, f, b);
7466
7466
  function C(I) {
7467
7467
  if (I)
7468
7468
  for (var w = 0; w < y.length; w++)
@@ -7506,12 +7506,12 @@ function Y0() {
7506
7506
  this[I] = Number(w);
7507
7507
  };
7508
7508
  })(d[k]);
7509
- for (var R = 0; R < f.length; R++)
7510
- C.prototype["get" + s(f[R])] = r(f[R]), C.prototype["set" + s(f[R])] = /* @__PURE__ */ (function(I) {
7509
+ for (var R = 0; R < g.length; R++)
7510
+ C.prototype["get" + s(g[R])] = r(g[R]), C.prototype["set" + s(g[R])] = /* @__PURE__ */ (function(I) {
7511
7511
  return function(w) {
7512
7512
  this[I] = String(w);
7513
7513
  };
7514
- })(f[R]);
7514
+ })(g[R]);
7515
7515
  return C;
7516
7516
  });
7517
7517
  })(as)), as.exports;
@@ -7530,24 +7530,24 @@ function W0() {
7530
7530
  * @param {Error} error object
7531
7531
  * @return {Array} of StackFrames
7532
7532
  */
7533
- parse: function(g) {
7534
- if (typeof g.stacktrace < "u" || typeof g["opera#sourceloc"] < "u")
7535
- return this.parseOpera(g);
7536
- if (g.stack && g.stack.match(u))
7537
- return this.parseV8OrIE(g);
7538
- if (g.stack)
7539
- return this.parseFFOrSafari(g);
7533
+ parse: function(f) {
7534
+ if (typeof f.stacktrace < "u" || typeof f["opera#sourceloc"] < "u")
7535
+ return this.parseOpera(f);
7536
+ if (f.stack && f.stack.match(u))
7537
+ return this.parseV8OrIE(f);
7538
+ if (f.stack)
7539
+ return this.parseFFOrSafari(f);
7540
7540
  throw new Error("Cannot parse given Error object");
7541
7541
  },
7542
7542
  // Separate line and column numbers from a string of the form: (URI:Line:Column)
7543
- extractLocation: function(g) {
7544
- if (g.indexOf(":") === -1)
7545
- return [g];
7546
- var b = /(.+?)(?::(\d+))?(?::(\d+))?$/, y = b.exec(g.replace(/[()]/g, ""));
7543
+ extractLocation: function(f) {
7544
+ if (f.indexOf(":") === -1)
7545
+ return [f];
7546
+ var b = /(.+?)(?::(\d+))?(?::(\d+))?$/, y = b.exec(f.replace(/[()]/g, ""));
7547
7547
  return [y[1], y[2] || void 0, y[3] || void 0];
7548
7548
  },
7549
- parseV8OrIE: function(g) {
7550
- var b = g.stack.split(`
7549
+ parseV8OrIE: function(f) {
7550
+ var b = f.stack.split(`
7551
7551
  `).filter(function(y) {
7552
7552
  return !!y.match(u);
7553
7553
  }, this);
@@ -7559,8 +7559,8 @@ function W0() {
7559
7559
  return new s({ functionName: R, fileName: I, lineNumber: k[1], columnNumber: k[2], source: y });
7560
7560
  }, this);
7561
7561
  },
7562
- parseFFOrSafari: function(g) {
7563
- var b = g.stack.split(`
7562
+ parseFFOrSafari: function(f) {
7563
+ var b = f.stack.split(`
7564
7564
  `).filter(function(y) {
7565
7565
  return !y.match(d);
7566
7566
  }, this);
@@ -7571,22 +7571,22 @@ function W0() {
7571
7571
  return new s({ functionName: k, fileName: R[0], lineNumber: R[1], columnNumber: R[2], source: y });
7572
7572
  }, this);
7573
7573
  },
7574
- parseOpera: function(g) {
7575
- return !g.stacktrace || g.message.indexOf(`
7576
- `) > -1 && g.message.split(`
7577
- `).length > g.stacktrace.split(`
7578
- `).length ? this.parseOpera9(g) : g.stack ? this.parseOpera11(g) : this.parseOpera10(g);
7574
+ parseOpera: function(f) {
7575
+ return !f.stacktrace || f.message.indexOf(`
7576
+ `) > -1 && f.message.split(`
7577
+ `).length > f.stacktrace.split(`
7578
+ `).length ? this.parseOpera9(f) : f.stack ? this.parseOpera11(f) : this.parseOpera10(f);
7579
7579
  },
7580
- parseOpera9: function(g) {
7581
- for (var b = /Line (\d+).*script (?:in )?(\S+)/i, y = g.message.split(`
7580
+ parseOpera9: function(f) {
7581
+ for (var b = /Line (\d+).*script (?:in )?(\S+)/i, y = f.message.split(`
7582
7582
  `), C = [], O = 2, k = y.length; O < k; O += 2) {
7583
7583
  var R = b.exec(y[O]);
7584
7584
  R && C.push(new s({ fileName: R[2], lineNumber: R[1], source: y[O] }));
7585
7585
  }
7586
7586
  return C;
7587
7587
  },
7588
- parseOpera10: function(g) {
7589
- for (var b = /Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i, y = g.stacktrace.split(`
7588
+ parseOpera10: function(f) {
7589
+ for (var b = /Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i, y = f.stacktrace.split(`
7590
7590
  `), C = [], O = 0, k = y.length; O < k; O += 2) {
7591
7591
  var R = b.exec(y[O]);
7592
7592
  R && C.push(new s({ functionName: R[3] || void 0, fileName: R[2], lineNumber: R[1], source: y[O] }));
@@ -7594,8 +7594,8 @@ function W0() {
7594
7594
  return C;
7595
7595
  },
7596
7596
  // Opera 10.65+ Error.stack very similar to FF/Safari
7597
- parseOpera11: function(g) {
7598
- var b = g.stack.split(`
7597
+ parseOpera11: function(f) {
7598
+ var b = f.stack.split(`
7599
7599
  `).filter(function(y) {
7600
7600
  return !!y.match(r) && !y.match(/^Error created at/);
7601
7601
  }, this);
@@ -7653,13 +7653,13 @@ const Hd = (t, i) => {
7653
7653
  r({ error: new Error(Ey), undefined: void 0, options: t });
7654
7654
  return;
7655
7655
  }
7656
- const d = new XMLHttpRequest(), f = (b) => {
7656
+ const d = new XMLHttpRequest(), g = (b) => {
7657
7657
  r({ error: new Error(Ny(rs, d.status, d.statusText, t.url, d.responseText)), xhr: d, options: t });
7658
- }, g = (b) => {
7658
+ }, f = (b) => {
7659
7659
  r({ error: new Error(Uy(rs, b, t.url)), xhr: d, options: t, ...b?.type === "timeout" ? { timedOut: !0 } : {} });
7660
7660
  };
7661
- d.ontimeout = g, d.onerror = g, d.onload = () => {
7662
- d.status >= 200 && d.status < 400 ? s({ response: d.responseText, xhr: d, options: t }) : f();
7661
+ d.ontimeout = f, d.onerror = f, d.onload = () => {
7662
+ d.status >= 200 && d.status < 400 ? s({ response: d.responseText, xhr: d, options: t }) : g();
7663
7663
  }, d.open(t.method, t.url, !0), t.withCredentials === !0 && (d.withCredentials = !0), d.timeout = i, Object.keys(t.headers).forEach((b) => {
7664
7664
  t.headers[b] && d.setRequestHeader(b, t.headers[b]);
7665
7665
  });
@@ -7692,11 +7692,11 @@ class oE {
7692
7692
  * Implement requests in a non-blocking way
7693
7693
  */
7694
7694
  getAsyncData(i) {
7695
- const { callback: n, url: s, options: r, timeout: u, isRawResponse: d } = i, f = !ct(n);
7696
- ru(au(s, r, this.basicAuthHeader), u, this.logger).then((g) => {
7697
- f || n(d ? g.response : su(g.response, this.onError), g);
7698
- }).catch((g) => {
7699
- f || n(void 0, g);
7695
+ const { callback: n, url: s, options: r, timeout: u, isRawResponse: d } = i, g = !ct(n);
7696
+ ru(au(s, r, this.basicAuthHeader), u, this.logger).then((f) => {
7697
+ g || n(d ? f.response : su(f.response, this.onError), f);
7698
+ }).catch((f) => {
7699
+ g || n(void 0, f);
7700
7700
  });
7701
7701
  }
7702
7702
  /**
@@ -7768,14 +7768,14 @@ const Vd = new oE(pi), nE = "1", sE = () => [
7768
7768
  const i = qe(t, !1, rE);
7769
7769
  return i !== null ? JSON.parse(i) : {};
7770
7770
  }, mE = () => globalThis.location.href.split("?")[0], pE = (t, i, n, s) => ({ id: `${t.value?.id ?? n.writeKey.value}..${i.sessionInfo.value.id ?? "NA"}..${s.pageLifecycle.pageViewId.value ?? "NA"}`, name: t.value?.name ?? "NA" }), vE = (t, i) => ({ locale: t.value ?? "NA", userAgent: i.value ?? "NA", time: /* @__PURE__ */ new Date() }), bE = (t, i, n, s) => {
7771
- const { context: r, lifecycle: u, session: d, source: f, reporting: g, autoTrack: b } = n, { app: y, locale: C, userAgent: O, timezone: k, screen: R, library: I } = r;
7772
- return { payloadVersion: "5", notifier: { name: lE, version: y.value.version, url: AE }, events: [{ exceptions: [Rt(t)], severity: i.severity, unhandled: i.unhandled, severityReason: i.severityReason, app: { version: y.value.version, releaseStage: fE(), type: y.value.installType }, device: vE(C, O), request: { url: mE(), clientIp: "[NOT COLLECTED]" }, breadcrumbs: Rt(g.breadcrumbs.value), context: t.message, groupingHash: s, metaData: {
7771
+ const { context: r, lifecycle: u, session: d, source: g, reporting: f, autoTrack: b } = n, { app: y, locale: C, userAgent: O, timezone: k, screen: R, library: I } = r;
7772
+ return { payloadVersion: "5", notifier: { name: lE, version: y.value.version, url: AE }, events: [{ exceptions: [Rt(t)], severity: i.severity, unhandled: i.unhandled, severityReason: i.severityReason, app: { version: y.value.version, releaseStage: fE(), type: y.value.installType }, device: vE(C, O), request: { url: mE(), clientIp: "[NOT COLLECTED]" }, breadcrumbs: Rt(f.breadcrumbs.value), context: t.message, groupingHash: s, metaData: {
7773
7773
  app: { snippetVersion: I.value.snippetVersion },
7774
7774
  device: { ...R.value, timezone: k.value },
7775
7775
  // Add rest of the state groups as metadata
7776
7776
  // so that they show up as separate tabs in the dashboard
7777
7777
  ...gE(n)
7778
- }, user: pE(f, d, u, b) }] };
7778
+ }, user: pE(g, d, u, b) }] };
7779
7779
  }, CE = (t, i, n) => {
7780
7780
  if (he(t.capabilities.isAdBlocked.value)) {
7781
7781
  t.capabilities.isAdBlockerDetectionInProgress.value === !1 && Kd(i);
@@ -7854,17 +7854,17 @@ class BE {
7854
7854
  */
7855
7855
  async onError(i) {
7856
7856
  try {
7857
- const { error: n, context: s, customMessage: r, groupingHash: u, category: d } = i, f = i.errorType ?? Ai.HANDLEDEXCEPTION, g = dE(n, f), b = Hd(g, this.logger);
7857
+ const { error: n, context: s, customMessage: r, groupingHash: u, category: d } = i, g = i.errorType ?? Ai.HANDLEDEXCEPTION, f = dE(n, g), b = Hd(f, this.logger);
7858
7858
  if (he(b))
7859
7859
  return;
7860
7860
  const y = r ? `${r} - ` : "", C = `${s}${bt}${y}`, O = X0(b, C), R = js(b).includes(os);
7861
- if (!R && !EE(O) && f !== Ai.HANDLEDEXCEPTION)
7861
+ if (!R && !EE(O) && g !== Ai.HANDLEDEXCEPTION)
7862
7862
  return;
7863
7863
  if (p.reporting.isErrorReportingEnabled.value && await yE(O, p, this.httpClient)) {
7864
- const w = { severity: "error", unhandled: f !== Ai.HANDLEDEXCEPTION, severityReason: { type: f } }, P = kE(u, O.message, p, this.logger), H = bE(O, w, p, P);
7864
+ const w = { severity: "error", unhandled: g !== Ai.HANDLEDEXCEPTION, severityReason: { type: g } }, P = kE(u, O.message, p, this.logger), H = bE(O, w, p, P);
7865
7865
  this.httpClient.getAsyncData({ url: p.metrics.metricsServiceUrl.value, options: { method: "POST", data: IE(H, p, d), sendRawData: !0 }, isRawResponse: !0 });
7866
7866
  }
7867
- (f === Ai.HANDLEDEXCEPTION || R) && this.logger.error(O.message);
7867
+ (g === Ai.HANDLEDEXCEPTION || R) && this.logger.error(O.message);
7868
7868
  } catch (n) {
7869
7869
  this.logger.error(Qy(tn), n);
7870
7870
  }
@@ -7957,15 +7957,15 @@ class wE {
7957
7957
  const u = r.startsWith("!"), d = this.config.throws ?? r.endsWith("!");
7958
7958
  if (r = r.replace(/(^!|!$)/g, ""), !r)
7959
7959
  throw new Error(ky);
7960
- const f = r.split(".");
7961
- f.pop();
7962
- const g = f.join(".");
7960
+ const g = r.split(".");
7961
+ g.pop();
7962
+ const f = g.join(".");
7963
7963
  return (n ? this.getPlugins(r) : [this.getPlugins(r)[0]]).map((y) => {
7964
7964
  const C = er(y, r);
7965
7965
  if (!ct(C) || u)
7966
7966
  return C;
7967
7967
  try {
7968
- return C.apply(er(y, g), s);
7968
+ return C.apply(er(y, f), s);
7969
7969
  } catch (O) {
7970
7970
  if (d)
7971
7971
  throw O;
@@ -8005,8 +8005,8 @@ async function TE(t) {
8005
8005
  u
8006
8006
  ).then((d) => {
8007
8007
  if (!i.inited) {
8008
- const f = LE();
8009
- d.init(f), i.lib = d, i.lib.init(f), i.inited = !0;
8008
+ const g = LE();
8009
+ d.init(g), i.lib = d, i.lib.init(g), i.inited = !0;
8010
8010
  }
8011
8011
  n(i.lib);
8012
8012
  }).catch(s);
@@ -8107,7 +8107,7 @@ class UE {
8107
8107
  const r = i.shouldAddMissingPlugins || n;
8108
8108
  let u;
8109
8109
  i.activePluginName ? u = [...i.basePlugins || [], i.activePluginName] : u = [...i.supportedPlugins];
8110
- const d = u.filter((f) => !s.includes(f));
8110
+ const d = u.filter((g) => !s.includes(g));
8111
8111
  d.length > 0 && (r && s.push(...d), this.logger.warn(h0(Gn, i.configurationStatusStr, d, r)));
8112
8112
  }
8113
8113
  /**
@@ -8317,7 +8317,7 @@ function hI() {
8317
8317
  function d(k) {
8318
8318
  return Object.prototype.toString.call(k) === "[object Array]";
8319
8319
  }
8320
- function f(k) {
8320
+ function g(k) {
8321
8321
  var R = "_Is_Incognit", I = "yes";
8322
8322
  try {
8323
8323
  k || (k = window.localStorage), k.setItem(R, I), k.removeItem(R);
@@ -8337,14 +8337,14 @@ function hI() {
8337
8337
  }
8338
8338
  return k;
8339
8339
  }
8340
- var g = f();
8340
+ var f = g();
8341
8341
  function b() {
8342
8342
  if (!(this instanceof b))
8343
8343
  return new b();
8344
8344
  }
8345
8345
  b.prototype = { set: function(R, I) {
8346
8346
  if (R && !n(R))
8347
- g.setItem(R, s(I));
8347
+ f.setItem(R, s(I));
8348
8348
  else if (n(R))
8349
8349
  for (var w in R) this.set(w, R[w]);
8350
8350
  return this;
@@ -8360,17 +8360,17 @@ function hI() {
8360
8360
  var w = arguments;
8361
8361
  if (w.length > 1) {
8362
8362
  for (var P = {}, H = 0, B = w.length; H < B; H++) {
8363
- var T = r(g.getItem(w[H]));
8363
+ var T = r(f.getItem(w[H]));
8364
8364
  this.has(w[H]) && (P[w[H]] = T);
8365
8365
  }
8366
8366
  return P;
8367
8367
  }
8368
- return r(g.getItem(R));
8368
+ return r(f.getItem(R));
8369
8369
  }, clear: function() {
8370
- return g.clear(), this;
8370
+ return f.clear(), this;
8371
8371
  }, remove: function(R) {
8372
8372
  var I = this.get(R);
8373
- return g.removeItem(R), I;
8373
+ return f.removeItem(R), I;
8374
8374
  }, has: function(R) {
8375
8375
  return {}.hasOwnProperty.call(this.get(), R);
8376
8376
  }, keys: function() {
@@ -8379,8 +8379,8 @@ function hI() {
8379
8379
  R.push(I);
8380
8380
  }), R;
8381
8381
  }, forEach: function(R) {
8382
- for (var I = 0, w = g.length; I < w; I++) {
8383
- var P = g.key(I);
8382
+ for (var I = 0, w = f.length; I < w; I++) {
8383
+ var P = f.key(I);
8384
8384
  R(P, this.get(P));
8385
8385
  }
8386
8386
  return this;
@@ -8389,7 +8389,7 @@ function hI() {
8389
8389
  I[P].indexOf(R) > -1 && (w[I[P]] = this.get(I[P]));
8390
8390
  return w;
8391
8391
  }, len: function() {
8392
- return g.length;
8392
+ return f.length;
8393
8393
  } };
8394
8394
  var y = null;
8395
8395
  function C(k, R) {
@@ -8474,7 +8474,7 @@ const Ki = /* @__PURE__ */ Nd(fI), gI = () => !je(globalThis.crypto) && ct(globa
8474
8474
  }, po = (t = Se, i, n) => {
8475
8475
  let s, r;
8476
8476
  const u = zy(ir, t);
8477
- let d = "unavailable", f = !0, g;
8477
+ let d = "unavailable", g = !0, f;
8478
8478
  try {
8479
8479
  switch (t) {
8480
8480
  case ei:
@@ -8493,11 +8493,11 @@ const Ki = /* @__PURE__ */ Nd(fI), gI = () => !je(globalThis.crypto) && ct(globa
8493
8493
  }
8494
8494
  if (s && (s.setItem(r, "true"), s.getItem(r)))
8495
8495
  return s.removeItem(r), !0;
8496
- f = !1;
8496
+ g = !1;
8497
8497
  } catch (b) {
8498
- f = !1, g = b, _d(b) && (d = "full");
8498
+ g = !1, f = b, _d(b) && (d = "full");
8499
8499
  }
8500
- return f || n?.warn(`${u}${d}.`, g), !1;
8500
+ return g || n?.warn(`${u}${d}.`, f), !1;
8501
8501
  };
8502
8502
  class CI {
8503
8503
  isSupportAvailable = !0;
@@ -8641,10 +8641,10 @@ class SI {
8641
8641
  const { name: n, id: s, validKeys: r, noKeyValidation: u, noCompoundKey: d } = this;
8642
8642
  if (u)
8643
8643
  return d ? i : [n, s, i].join(".");
8644
- let f;
8645
- return Object.values(r).forEach((g) => {
8646
- g === i && (f = d ? i : [n, s, i].join("."));
8647
- }), f;
8644
+ let g;
8645
+ return Object.values(r).forEach((f) => {
8646
+ f === i && (g = d ? i : [n, s, i].join("."));
8647
+ }), g;
8648
8648
  }
8649
8649
  /**
8650
8650
  * Switch to inMemoryEngine, bringing any existing data with.
@@ -8652,8 +8652,8 @@ class SI {
8652
8652
  swapQueueStoreToInMemoryEngine() {
8653
8653
  const { name: i, id: n, validKeys: s, noCompoundKey: r } = this, u = Ve(ei);
8654
8654
  Object.keys(s).forEach((d) => {
8655
- const f = this.get(s[d]), g = r ? d : [i, n, d].join(".");
8656
- u.setItem(g, f), this.remove(d);
8655
+ const g = this.get(s[d]), f = r ? d : [i, n, d].join(".");
8656
+ u.setItem(f, g), this.remove(d);
8657
8657
  }), this.engine = u;
8658
8658
  }
8659
8659
  /**
@@ -8772,8 +8772,8 @@ class RI {
8772
8772
  (Yt(s?.type) || Yt(s?.entries)) && (i = s?.type, n = s?.entries);
8773
8773
  let r = !0, u = {};
8774
8774
  Xd.forEach((d) => {
8775
- const f = d, g = d, b = n?.[f]?.type, C = QI(p, d) ?? b ?? i ?? sr, O = this.getResolvedStorageTypeForEntry(C, d);
8776
- O !== Zi && (r = !1), u = { ...u, [d]: { type: O, key: ho[g] } };
8775
+ const g = d, f = d, b = n?.[g]?.type, C = QI(p, d) ?? b ?? i ?? sr, O = this.getResolvedStorageTypeForEntry(C, d);
8776
+ O !== Zi && (r = !1), u = { ...u, [d]: { type: O, key: ho[f] } };
8777
8777
  }), pe(() => {
8778
8778
  p.storage.type.value = i, p.storage.entries.value = u, p.storage.trulyAnonymousTracking.value = r;
8779
8779
  });
@@ -8871,10 +8871,10 @@ const DI = (t) => Zt(t) && Zt(t.source) && !je(t.source.id) && Zt(t.source.confi
8871
8871
  const s = n ? ar[n] : void 0;
8872
8872
  return n && !s && (i.error(Py(Te, n, ar)), n = void 0), { provider: n, consentManagerPluginName: s };
8873
8873
  }, eh = (t, i) => {
8874
- let n, s = [], r = [], u = !1, d, f = t?.enabled === !0;
8875
- Oi(t) && f && ({ provider: d, consentManagerPluginName: n } = VI(t, i), fu(t.allowedConsentIds) && (s = t.allowedConsentIds, u = !0), fu(t.deniedConsentIds) && (r = t.deniedConsentIds, u = !0));
8876
- const g = { allowedConsentIds: s, deniedConsentIds: r };
8877
- return f = f && !!n, { provider: d, consentManagerPluginName: n, initialized: u, enabled: f, consentsData: g };
8874
+ let n, s = [], r = [], u = !1, d, g = t?.enabled === !0;
8875
+ Oi(t) && g && ({ provider: d, consentManagerPluginName: n } = VI(t, i), fu(t.allowedConsentIds) && (s = t.allowedConsentIds, u = !0), fu(t.deniedConsentIds) && (r = t.deniedConsentIds, u = !0));
8876
+ const f = { allowedConsentIds: s, deniedConsentIds: r };
8877
+ return g = g && !!n, { provider: d, consentManagerPluginName: n, initialized: u, enabled: g, consentsData: f };
8878
8878
  }, KI = () => {
8879
8879
  const t = document.querySelector("script[data-rsa-write-key]");
8880
8880
  if (t && t.dataset.rsaWriteKey === p.lifecycle.writeKey.value)
@@ -8889,18 +8889,18 @@ const DI = (t) => Zt(t) && Zt(t.source) && !je(t.source.id) && Zt(t.source.confi
8889
8889
  p.reporting.isErrorReportingEnabled.value = NI(t.source.config) && !FC(), p.reporting.isMetricsReportingEnabled.value = UI(t.source.config);
8890
8890
  }, qI = (t) => {
8891
8891
  const { useServerSideCookies: i, dataServiceEndpoint: n, storage: s, setCookieDomain: r, sameDomainCookiesOnly: u } = p.loadOptions.value;
8892
- let d = s?.cookie, f = !1, g;
8892
+ let d = s?.cookie, g = !1, f;
8893
8893
  if (i) {
8894
- f = i;
8894
+ g = i;
8895
8895
  const b = d.domain ?? r, y = Yt(b) && !FI(NA(b)) || u, C = TI(n ?? y0, y);
8896
8896
  if (So(C)) {
8897
- g = Po(C);
8897
+ f = Po(C);
8898
8898
  const O = Ar(window.location.href), k = Ar(C);
8899
- O !== k && (d = { ...d, samesite: "None", secure: !0 }), !u && y && k !== NA(b) && (f = !1, t.warn(jy(Te, b, k)));
8899
+ O !== k && (d = { ...d, samesite: "None", secure: !0 }), !u && y && k !== NA(b) && (g = !1, t.warn(jy(Te, b, k)));
8900
8900
  } else
8901
- f = !1;
8901
+ g = !1;
8902
8902
  }
8903
- return { sscEnabled: f, cookieOptions: d, finalDataServiceUrl: g };
8903
+ return { sscEnabled: g, cookieOptions: d, finalDataServiceUrl: f };
8904
8904
  }, WI = (t) => {
8905
8905
  const { storage: i } = p.loadOptions.value;
8906
8906
  let n = i?.type;
@@ -8910,15 +8910,15 @@ const DI = (t) => Zt(t) && Zt(t.source) && !je(t.source.id) && Zt(t.source.confi
8910
8910
  !he(s) && he(r) ? (t.warn(Gy(Te, s, ns, qi)), s = qi) : he(s) && (s = qi);
8911
8911
  const u = i?.migrate, d = u && s === qi;
8912
8912
  u === !0 && d !== u && t.warn(Zy(Te, s, qi));
8913
- const { sscEnabled: f, finalDataServiceUrl: g, cookieOptions: b } = qI(t);
8913
+ const { sscEnabled: g, finalDataServiceUrl: f, cookieOptions: b } = qI(t);
8914
8914
  pe(() => {
8915
- p.storage.type.value = n, p.storage.cookie.value = b, p.serverCookies.isEnabledServerSideCookies.value = f, p.serverCookies.dataServiceUrl.value = g, p.storage.encryptionPluginName.value = ns[s], p.storage.migrate.value = d;
8915
+ p.storage.type.value = n, p.storage.cookie.value = b, p.serverCookies.isEnabledServerSideCookies.value = g, p.serverCookies.dataServiceUrl.value = f, p.storage.encryptionPluginName.value = ns[s], p.storage.migrate.value = d;
8916
8916
  });
8917
8917
  }, GI = (t) => {
8918
8918
  const { provider: i, consentManagerPluginName: n, initialized: s, enabled: r, consentsData: u } = eh(p.loadOptions.value.consentManagement, t), d = p.loadOptions.value.preConsent;
8919
- let f = d?.storage?.strategy ?? Ha;
8920
- const g = ["none", "session", "anonymousId"];
8921
- Yt(f) && !g.includes(f) && (f = Ha, t.warn(u0(Te, d?.storage?.strategy, Ha)));
8919
+ let g = d?.storage?.strategy ?? Ha;
8920
+ const f = ["none", "session", "anonymousId"];
8921
+ Yt(g) && !f.includes(g) && (g = Ha, t.warn(u0(Te, d?.storage?.strategy, Ha)));
8922
8922
  let b = d?.events?.delivery ?? Va;
8923
8923
  const y = ["immediate", "buffer"];
8924
8924
  Yt(b) && !y.includes(b) && (b = Va, t.warn(c0(Te, d?.events?.delivery, Va))), pe(() => {
@@ -8927,7 +8927,7 @@ const DI = (t) => Zt(t) && Zt(t.source) && !je(t.source.id) && Zt(t.source.confi
8927
8927
  // if it is not already initialized and
8928
8928
  // if consent management is enabled
8929
8929
  enabled: p.loadOptions.value.preConsent?.enabled === !0 && s === !1 && r === !0,
8930
- storage: { strategy: f },
8930
+ storage: { strategy: g },
8931
8931
  events: { delivery: b }
8932
8932
  };
8933
8933
  });
@@ -8946,26 +8946,26 @@ const DI = (t) => Zt(t) && Zt(t.source) && !je(t.source.id) && Zt(t.source.confi
8946
8946
  }
8947
8947
  }, JI = (t, i, n, s, r) => {
8948
8948
  const u = new URLSearchParams({ p: yd, v: un, build: dn, writeKey: i, lockIntegrationsVersion: n.toString(), lockPluginsVersion: s.toString() });
8949
- let d = Md, f = u, g = "/sourceConfig/", b = "";
8949
+ let d = Md, g = u, f = "/sourceConfig/", b = "";
8950
8950
  if (So(t)) {
8951
8951
  const y = new URL(t);
8952
8952
  Po(y.pathname).endsWith("/sourceConfig") || (y.pathname = `${Po(y.pathname)}/sourceConfig/`), y.pathname = MI(y.pathname), u.forEach((C, O) => {
8953
8953
  y.searchParams.get(O) === null && y.searchParams.set(O, C);
8954
- }), d = y.origin, g = y.pathname, f = y.searchParams, b = y.hash;
8954
+ }), d = y.origin, f = y.pathname, g = y.searchParams, b = y.hash;
8955
8955
  } else
8956
8956
  r.warn(l0(Te, t));
8957
- return `${d}${g}?${f}${b}`;
8957
+ return `${d}${f}?${g}${b}`;
8958
8958
  }, XI = (t) => t.map((i) => ({ id: i.id, displayName: i.destinationDefinition.displayName, enabled: i.enabled, config: i.config, shouldApplyDeviceModeTransformation: i.shouldApplyDeviceModeTransformation ?? !1, propagateEventsUntransformedOnError: i.propagateEventsUntransformedOnError ?? !1, userFriendlyId: RE(i.destinationDefinition.displayName, i.id), isCustomIntegration: i.destinationDefinition.displayName === I0 })), ih = (t, i, n, s, r, u, d) => {
8959
- let f;
8959
+ let g;
8960
8960
  if (u) {
8961
8961
  if (!So(u))
8962
8962
  return d.error(wy(Te, t, u)), null;
8963
- f = Po(u);
8964
- } else if (f = n, p.context.app.value.installType === "cdn") {
8965
- const g = KI();
8966
- g && (f = g.split("/").slice(0, -1).concat(i).join("/"));
8963
+ g = Po(u);
8964
+ } else if (g = n, p.context.app.value.installType === "cdn") {
8965
+ const f = KI();
8966
+ f && (g = f.split("/").slice(0, -1).concat(i).join("/"));
8967
8967
  }
8968
- return r && (f = f.replace(new RegExp(`/${Mr}/${dn}/${i}$`), `/${s}/${dn}/${i}`)), f;
8968
+ return r && (g = g.replace(new RegExp(`/${Mr}/${dn}/${i}$`), `/${s}/${dn}/${i}`)), g;
8969
8969
  }, _I = (t, i, n, s) => ih("integrations", xr, zd, t, i, n, s), $I = (t, i, n, s) => ih("plugins", Fd, xd, t, i, n, s);
8970
8970
  class t2 {
8971
8971
  constructor(i, n, s) {
@@ -8981,12 +8981,12 @@ class t2 {
8981
8981
  * config related information in global state
8982
8982
  */
8983
8983
  init() {
8984
- const { logLevel: i, configUrl: n, lockIntegrationsVersion: s, lockPluginsVersion: r, destSDKBaseURL: u, pluginsSDKBaseURL: d, integrations: f } = p.loadOptions.value, g = _I(un, s, u, this.logger);
8985
- if (Fe(g))
8984
+ const { logLevel: i, configUrl: n, lockIntegrationsVersion: s, lockPluginsVersion: r, destSDKBaseURL: u, pluginsSDKBaseURL: d, integrations: g } = p.loadOptions.value, f = _I(un, s, u, this.logger);
8985
+ if (Fe(f))
8986
8986
  return;
8987
8987
  let b;
8988
8988
  b = $I(un, r, d, this.logger), b !== null && (this.attachEffects(), p.lifecycle.activeDataplaneUrl.value = Po(p.lifecycle.dataPlaneUrl.value), WI(this.logger), GI(this.logger), jI(this.logger), pe(() => {
8989
- p.lifecycle.integrationsCDNPath.value = g, p.lifecycle.pluginsCDNPath.value = b, i && (p.lifecycle.logLevel.value = i), p.lifecycle.sourceConfigUrl.value = JI(n, p.lifecycle.writeKey.value, s, r, this.logger), p.metrics.metricsServiceUrl.value = `${p.lifecycle.activeDataplaneUrl.value}/${E0}`, p.nativeDestinations.loadOnlyIntegrations.value = f;
8989
+ p.lifecycle.integrationsCDNPath.value = f, p.lifecycle.pluginsCDNPath.value = b, i && (p.lifecycle.logLevel.value = i), p.lifecycle.sourceConfigUrl.value = JI(n, p.lifecycle.writeKey.value, s, r, this.logger), p.metrics.metricsServiceUrl.value = `${p.lifecycle.activeDataplaneUrl.value}/${E0}`, p.nativeDestinations.loadOnlyIntegrations.value = g;
8990
8990
  }), this.getConfig());
8991
8991
  }
8992
8992
  /**
@@ -9078,15 +9078,15 @@ const e2 = () => {
9078
9078
  let r = n.pathname;
9079
9079
  const { href: u } = n;
9080
9080
  let d = u;
9081
- const { search: f } = n;
9081
+ const { search: g } = n;
9082
9082
  if (s)
9083
9083
  try {
9084
9084
  const C = new URL(s);
9085
- C.search === "" ? d = s + f : d = s, r = C.pathname;
9085
+ C.search === "" ? d = s + g : d = s, r = C.pathname;
9086
9086
  } catch {
9087
9087
  }
9088
- const g = xI(d), { title: b } = i(), y = oh(i);
9089
- return { path: r, referrer: y, referring_domain: th(y), search: f, title: b, url: g, tab_url: u };
9088
+ const f = xI(d), { title: b } = i(), y = oh(i);
9089
+ return { path: r, referrer: y, referring_domain: th(y), search: g, title: b, url: f, tab_url: u };
9090
9090
  }, s2 = "https://polyfill-fastly.io/v3/polyfill.min.js", a2 = `${s2}?version=3.111.0&features=${Object.keys(lr).join("%2C")}`, r2 = 10 * 1e3, gu = "rudderstackPolyfill";
9091
9091
  class l2 {
9092
9092
  constructor(i, n, s) {
@@ -9402,11 +9402,11 @@ class P2 {
9402
9402
  const i = p.storage.entries.value, n = [Be, Se, Oe];
9403
9403
  Object.keys(i).forEach((s) => {
9404
9404
  const r = s, u = i[r]?.type, d = this.storeManager?.getStore(fo[u]);
9405
- d && n.forEach((f) => {
9406
- const g = this.storeManager?.getStore(fo[f]);
9407
- if (g && f !== u) {
9408
- const b = g.get(ho[r]);
9409
- vC(b) && d.set(ho[r], b), g.remove(ho[r]);
9405
+ d && n.forEach((g) => {
9406
+ const f = this.storeManager?.getStore(fo[g]);
9407
+ if (f && g !== u) {
9408
+ const b = f.get(ho[r]);
9409
+ vC(b) && d.set(ho[r], b), f.remove(ho[r]);
9410
9410
  }
9411
9411
  });
9412
9412
  });
@@ -9416,13 +9416,13 @@ class P2 {
9416
9416
  return;
9417
9417
  let s = i ?? [];
9418
9418
  s.length === 0 && [Zd, jd, Jd].forEach((d) => {
9419
- const f = this.storeManager?.getStore(d);
9420
- f && s.push(f);
9419
+ const g = this.storeManager?.getStore(d);
9420
+ g && s.push(g);
9421
9421
  }), (n ?? Object.keys(ho)).forEach((u) => {
9422
9422
  const d = ho[u];
9423
- s.forEach((f) => {
9424
- const g = this.pluginsManager?.invokeSingle("storage.migrate", d, f.engine, this.errorHandler, this.logger);
9425
- je(g) || f.set(d, g);
9423
+ s.forEach((g) => {
9424
+ const f = this.pluginsManager?.invokeSingle("storage.migrate", d, g.engine, this.errorHandler, this.logger);
9425
+ je(f) || g.set(d, f);
9426
9426
  });
9427
9427
  });
9428
9428
  }
@@ -9478,11 +9478,11 @@ class P2 {
9478
9478
  try {
9479
9479
  const r = this.getEncryptedCookieData(i, s);
9480
9480
  r.length > 0 && this.makeRequestToSetCookie(r, (u, d) => {
9481
- d?.xhr?.status === 200 ? i.forEach((f) => {
9482
- const g = s?.get(f.name), b = qe(f.value, !1, []);
9483
- qe(g, !1, []) !== b && (this.logger.error(qy(f.name)), n && n(f.name, f.value));
9484
- }) : (this.logger.error(Yy(d?.xhr?.status)), i.forEach((f) => {
9485
- n && n(f.name, f.value);
9481
+ d?.xhr?.status === 200 ? i.forEach((g) => {
9482
+ const f = s?.get(g.name), b = qe(g.value, !1, []);
9483
+ qe(f, !1, []) !== b && (this.logger.error(qy(g.name)), n && n(g.name, g.value));
9484
+ }) : (this.logger.error(Yy(d?.xhr?.status)), i.forEach((g) => {
9485
+ n && n(g.name, g.value);
9486
9486
  }));
9487
9487
  });
9488
9488
  } catch (r) {
@@ -9501,8 +9501,8 @@ class P2 {
9501
9501
  if (en(r)) {
9502
9502
  const u = this.storeManager?.getStore(fo[r]), d = s[i]?.key;
9503
9503
  n && (Gt(n) || Oi(n)) ? p.serverCookies.isEnabledServerSideCookies.value && r === Be ? (this.serverSideCookieDebounceFuncs[i] && globalThis.clearTimeout(this.serverSideCookieDebounceFuncs[i]), this.serverSideCookieDebounceFuncs[i] = globalThis.setTimeout(() => {
9504
- this.setServerSideCookies([{ name: d, value: n }], (f, g) => {
9505
- u?.set(f, g);
9504
+ this.setServerSideCookies([{ name: d, value: n }], (g, f) => {
9505
+ u?.set(g, f);
9506
9506
  }, u);
9507
9507
  }, w0)) : u?.set(d, n) : u?.remove(d);
9508
9508
  }
@@ -10225,8 +10225,8 @@ class go {
10225
10225
  * @returns
10226
10226
  */
10227
10227
  trackPageLifecycleEvents(i) {
10228
- const { autoTrack: n, useBeacon: s } = i ?? {}, { enabled: r = !1, options: u = {}, pageLifecycle: d } = n ?? {}, { events: f = [za.UNLOADED], enabled: g = r, options: b = u } = d ?? {};
10229
- p.autoTrack.pageLifecycle.enabled.value = g, p.autoTrack.enabled.value = r || g, g && this.setupPageUnloadTracking(f, s, b);
10228
+ const { autoTrack: n, useBeacon: s } = i ?? {}, { enabled: r = !1, options: u = {}, pageLifecycle: d } = n ?? {}, { events: g = [za.UNLOADED], enabled: f = r, options: b = u } = d ?? {};
10229
+ p.autoTrack.pageLifecycle.enabled.value = f, p.autoTrack.enabled.value = r || f, f && this.setupPageUnloadTracking(g, s, b);
10230
10230
  }
10231
10231
  /**
10232
10232
  * Setup page unload tracking if enabled
@@ -10459,7 +10459,7 @@ const M2 = { class: "d-flex justify-end" }, lh = /* @__PURE__ */ ft({
10459
10459
  },
10460
10460
  emits: ["accommodationSuccess"],
10461
10461
  setup(t, { emit: i }) {
10462
- const { config: n } = yn(), { t: s } = Vt(), r = i, u = t, d = q(!1), f = q(!1), g = q(!1), b = q(!1), y = q(!1), C = q({
10462
+ const { config: n } = yn(), { t: s } = Vt(), r = i, u = t, d = q(!1), g = q(!1), f = q(!1), b = q(!1), y = q(!1), C = q({
10463
10463
  adultCount: u.adultCount,
10464
10464
  email: "",
10465
10465
  endDate: te(u.endDate).toDate(),
@@ -10503,14 +10503,14 @@ const M2 = { class: "d-flex justify-end" }, lh = /* @__PURE__ */ ft({
10503
10503
  }
10504
10504
  },
10505
10505
  () => {
10506
- f.value = !0, d.value = !1, r("accommodationSuccess");
10506
+ g.value = !0, d.value = !1, r("accommodationSuccess");
10507
10507
  }
10508
10508
  );
10509
10509
  }
10510
10510
  return (I, w) => (E(), Y("div", null, [
10511
10511
  l(Cc, {
10512
- modelValue: g.value,
10513
- "onUpdate:modelValue": w[13] || (w[13] = (P) => g.value = P),
10512
+ modelValue: f.value,
10513
+ "onUpdate:modelValue": w[13] || (w[13] = (P) => f.value = P),
10514
10514
  style: { gap: "8px", display: "flex", flexDirection: "column" }
10515
10515
  }, {
10516
10516
  default: c(() => [
@@ -10665,10 +10665,10 @@ const M2 = { class: "d-flex justify-end" }, lh = /* @__PURE__ */ ft({
10665
10665
  }, null, 8, ["modelValue", "label"]),
10666
10666
  D("div", M2, [
10667
10667
  l(pt, {
10668
- color: f.value ? "green" : "primary",
10668
+ color: g.value ? "green" : "primary",
10669
10669
  "data-cy": "submit-button",
10670
10670
  "data-attr": "submit-button",
10671
- disabled: !g.value || d.value || f.value,
10671
+ disabled: !f.value || d.value || g.value,
10672
10672
  loading: d.value,
10673
10673
  onClick: w[12] || (w[12] = (P) => R())
10674
10674
  }, {
@@ -10869,9 +10869,9 @@ const Ah = {
10869
10869
  },
10870
10870
  emits: ["payment:change", "payment:later", "payment:success", "payment:error", "payment:pay"],
10871
10871
  setup(t, { expose: i, emit: n }) {
10872
- const s = n, { t: r } = Vt(), u = t, d = q(!1), f = q(
10872
+ const s = n, { t: r } = Vt(), u = t, d = q(!1), g = q(
10873
10873
  ue.CreditCard
10874
- ), g = q(!1), b = q(!1), y = q(!1), C = q(null), O = ep("CREDIT_CARD"), k = z(
10874
+ ), f = q(!1), b = q(!1), y = q(!1), C = q(null), O = ep("CREDIT_CARD"), k = z(
10875
10875
  () => u.paymentMethods.find(
10876
10876
  (B) => B.name === ue.CreditCard && B.payload
10877
10877
  )
@@ -10891,7 +10891,7 @@ const Ah = {
10891
10891
  d.value = !0, s(kt.PaymentSuccess, B);
10892
10892
  }
10893
10893
  function H() {
10894
- switch (f.value) {
10894
+ switch (g.value) {
10895
10895
  case ue.CreditCard:
10896
10896
  O.value?.pay();
10897
10897
  break;
@@ -10917,9 +10917,9 @@ const Ah = {
10917
10917
  it(B.$slots, "terms", {}, () => [
10918
10918
  l(Tc, {
10919
10919
  ref: "testing",
10920
- modelValue: g.value,
10921
- "onUpdate:modelValue": T[2] || (T[2] = (S) => g.value = S),
10922
- error: b.value && !g.value,
10920
+ modelValue: f.value,
10921
+ "onUpdate:modelValue": T[2] || (T[2] = (S) => f.value = S),
10922
+ error: b.value && !f.value,
10923
10923
  color: "primary"
10924
10924
  }, {
10925
10925
  label: c(() => [
@@ -10948,7 +10948,7 @@ const Ah = {
10948
10948
  key: 0,
10949
10949
  class: "w-100 w-sm-auto",
10950
10950
  color: "primary",
10951
- disabled: t.isLoading || !g.value,
10951
+ disabled: t.isLoading || !f.value,
10952
10952
  loading: t.isLoading,
10953
10953
  variant: "outlined",
10954
10954
  onClick: T[3] || (T[3] = (S) => s("payment:later"))
@@ -10961,7 +10961,7 @@ const Ah = {
10961
10961
  l(pt, {
10962
10962
  class: "w-100 w-sm-auto",
10963
10963
  color: "primary",
10964
- disabled: t.isLoading || !g.value,
10964
+ disabled: t.isLoading || !f.value,
10965
10965
  loading: t.isLoading,
10966
10966
  variant: "outlined",
10967
10967
  onClick: T[4] || (T[4] = (S) => s("payment:later"))
@@ -10993,7 +10993,7 @@ const Ah = {
10993
10993
  class: "w-100 w-sm-auto",
10994
10994
  color: "primary",
10995
10995
  variant: "flat",
10996
- disabled: t.isLoading || !g.value || !y.value || t.isUpdatingPaymentMethods,
10996
+ disabled: t.isLoading || !f.value || !y.value || t.isUpdatingPaymentMethods,
10997
10997
  loading: t.isLoading,
10998
10998
  onClick: T[5] || (T[5] = (S) => s("payment:pay"))
10999
10999
  }, {
@@ -11136,7 +11136,7 @@ const q2 = { class: "w-100 d-flex justify-space-between items-center" }, W2 = ["
11136
11136
  }),
11137
11137
  l(Tc, {
11138
11138
  modelValue: s.value,
11139
- "onUpdate:modelValue": d[1] || (d[1] = (f) => s.value = f)
11139
+ "onUpdate:modelValue": d[1] || (d[1] = (g) => s.value = g)
11140
11140
  }, {
11141
11141
  label: c(() => [
11142
11142
  D("span", {
@@ -11163,7 +11163,7 @@ const q2 = { class: "w-100 d-flex justify-space-between items-center" }, W2 = ["
11163
11163
  disabled: t.isLoading || !s.value,
11164
11164
  loading: t.isLoading,
11165
11165
  variant: "outlined",
11166
- onClick: d[2] || (d[2] = (f) => r("payment:later"))
11166
+ onClick: d[2] || (d[2] = (g) => r("payment:later"))
11167
11167
  }, {
11168
11168
  default: c(() => [
11169
11169
  D("span", G2, F(v(n)("BookingPaymentForcedPayLater.completeBookingLaterForced")), 1)
@@ -11273,23 +11273,23 @@ const Z2 = { class: "text-green" }, j2 = { key: 1 }, J2 = { class: "d-flex align
11273
11273
  },
11274
11274
  emits: ["payment:success"],
11275
11275
  setup(t, { emit: i }) {
11276
- const n = t, s = i, { t: r } = Vt(), { bookingApiClient: u } = vn(), { eventBus: d } = Ti(), f = q(null), g = q(""), b = q(null), y = q(null), C = q(null), O = q(!1), k = q(!1), R = q(!1), I = q(!1), w = q(!1), P = q(null), H = z(
11277
- () => f.value?.payLater === Ta.Forced
11276
+ const n = t, s = i, { t: r } = Vt(), { bookingApiClient: u } = vn(), { eventBus: d } = Ti(), g = q(null), f = q(""), b = q(null), y = q(null), C = q(null), O = q(!1), k = q(!1), R = q(!1), I = q(!1), w = q(!1), P = q(null), H = z(
11277
+ () => g.value?.payLater === Ta.Forced
11278
11278
  ), B = z(
11279
- () => f.value?.payLater && [
11279
+ () => g.value?.payLater && [
11280
11280
  Ta.Enabled,
11281
11281
  Ta.Forced
11282
- ].includes(f.value?.payLater)
11282
+ ].includes(g.value?.payLater)
11283
11283
  ), T = z(
11284
- () => pp(f.value?.paymentMethods ?? [], "name")
11284
+ () => pp(g.value?.paymentMethods ?? [], "name")
11285
11285
  ), S = z(() => T.value[ue.CreditCard] && T.value[ue.CreditCard].payload ? T.value[ue.CreditCard].payload : null);
11286
11286
  async function W() {
11287
11287
  try {
11288
- if (T.value[ue.Coupon]?.payload?.amount === f.value?.taxIncludedPrice) {
11288
+ if (T.value[ue.Coupon]?.payload?.amount === g.value?.taxIncludedPrice) {
11289
11289
  k.value = !0, await u.value.bookings.couponCharge({
11290
11290
  couponId: T.value[ue.Coupon].payload.couponId,
11291
- id: f.value.id
11292
- }), R.value = !0, s(kt.PaymentSuccess, f.value), d.$emit(kt.PaymentSuccess, f.value);
11291
+ id: g.value.id
11292
+ }), R.value = !0, s(kt.PaymentSuccess, g.value), d.$emit(kt.PaymentSuccess, g.value);
11293
11293
  return;
11294
11294
  }
11295
11295
  if (!P.value)
@@ -11301,13 +11301,13 @@ const Z2 = { class: "text-green" }, j2 = { key: 1 }, J2 = { class: "d-flex align
11301
11301
  }
11302
11302
  async function at() {
11303
11303
  try {
11304
- if (k.value = !0, !f.value?.id) {
11304
+ if (k.value = !0, !g.value?.id) {
11305
11305
  k.value = !1;
11306
11306
  return;
11307
11307
  }
11308
11308
  await u.value.bookings.paylater({
11309
- id: f.value.id
11310
- }), R.value = !0, s(kt.PaymentSuccess, f.value), d.$emit(kt.PaymentSuccess, f.value);
11309
+ id: g.value.id
11310
+ }), R.value = !0, s(kt.PaymentSuccess, g.value), d.$emit(kt.PaymentSuccess, g.value);
11311
11311
  } catch {
11312
11312
  w.value = !0;
11313
11313
  } finally {
@@ -11320,13 +11320,13 @@ const Z2 = { class: "text-green" }, j2 = { key: 1 }, J2 = { class: "d-flex align
11320
11320
  async function V() {
11321
11321
  try {
11322
11322
  if (!n.token) {
11323
- f.value = null;
11323
+ g.value = null;
11324
11324
  return;
11325
11325
  }
11326
- O.value = !0, tt(!1), f.value = await u.value.bookings.retrievePublic({
11326
+ O.value = !0, tt(!1), g.value = await u.value.bookings.retrievePublic({
11327
11327
  token: n.token
11328
- }), (!f.value.paymentMethods || !f.value.paymentMethods.length || f.value.paymentMethods.length > 1) && (f.value = await u.value.bookings.updatePaymentMethods({
11329
- id: f.value.id,
11328
+ }), (!g.value.paymentMethods || !g.value.paymentMethods.length || g.value.paymentMethods.length > 1) && (g.value = await u.value.bookings.updatePaymentMethods({
11329
+ id: g.value.id,
11330
11330
  paymentMethodUpdatePayloadApi: {
11331
11331
  paymentMethods: [
11332
11332
  {
@@ -11336,7 +11336,7 @@ const Z2 = { class: "text-green" }, j2 = { key: 1 }, J2 = { class: "d-flex align
11336
11336
  }
11337
11337
  })), tt(!0), O.value = !1;
11338
11338
  } catch {
11339
- f.value = null;
11339
+ g.value = null;
11340
11340
  } finally {
11341
11341
  O.value = !1;
11342
11342
  }
@@ -11354,29 +11354,29 @@ const Z2 = { class: "text-green" }, j2 = { key: 1 }, J2 = { class: "d-flex align
11354
11354
  payload: {
11355
11355
  couponId: b.value
11356
11356
  }
11357
- }), tt(!1), f.value && (f.value = await u.value.bookings.updatePaymentMethods({
11358
- id: f.value.id,
11357
+ }), tt(!1), g.value && (g.value = await u.value.bookings.updatePaymentMethods({
11358
+ id: g.value.id,
11359
11359
  paymentMethodUpdatePayloadApi: {
11360
11360
  paymentMethods: _
11361
11361
  }
11362
11362
  })), tt(!0), !T.value[ue.Coupon] || !T.value[ue.Coupon].payload?.amount) {
11363
11363
  if (!b)
11364
11364
  return;
11365
- g.value = r(
11365
+ f.value = r(
11366
11366
  "BookingPaymentForm.paymentMethods.coupon.error"
11367
11367
  );
11368
11368
  } else
11369
- g.value = "", y.value = r(
11369
+ f.value = "", y.value = r(
11370
11370
  "BookingPaymentForm.paymentMethods.coupon.success",
11371
11371
  {
11372
11372
  price: Za({
11373
11373
  amount: T.value[ue.Coupon].payload.amount,
11374
- currency: f.value?.currency
11374
+ currency: g.value?.currency
11375
11375
  })
11376
11376
  }
11377
11377
  );
11378
11378
  } catch {
11379
- f.value = null;
11379
+ g.value = null;
11380
11380
  } finally {
11381
11381
  I.value = !1;
11382
11382
  }
@@ -11412,7 +11412,7 @@ const Z2 = { class: "text-green" }, j2 = { key: 1 }, J2 = { class: "d-flex align
11412
11412
  })
11413
11413
  ]),
11414
11414
  _: 1
11415
- })) : f.value && f.value.id ? (E(), Y("div", j2, [
11415
+ })) : g.value && g.value.id ? (E(), Y("div", j2, [
11416
11416
  l(Eo, {
11417
11417
  modelValue: w.value,
11418
11418
  "onUpdate:modelValue": ot[1] || (ot[1] = (ut) => w.value = ut),
@@ -11453,7 +11453,7 @@ const Z2 = { class: "text-green" }, j2 = { key: 1 }, J2 = { class: "d-flex align
11453
11453
  xl: "4"
11454
11454
  }, {
11455
11455
  default: c(() => [
11456
- l(Vc, bo(Co(f.value)), null, 16)
11456
+ l(Vc, bo(Co(g.value)), null, 16)
11457
11457
  ]),
11458
11458
  _: 1
11459
11459
  })) : G("", !0),
@@ -11477,9 +11477,9 @@ const Z2 = { class: "text-green" }, j2 = { key: 1 }, J2 = { class: "d-flex align
11477
11477
  D("h4", null, [
11478
11478
  K(F(v(r)("BookingPaymentForm.pay")) + ": ", 1),
11479
11479
  l(di, {
11480
- amount: f.value.taxIncludedPrice,
11480
+ amount: g.value.taxIncludedPrice,
11481
11481
  class: "font-weight-bold",
11482
- currency: f.value.currency
11482
+ currency: g.value.currency
11483
11483
  }, null, 8, ["amount", "currency"])
11484
11484
  ])
11485
11485
  ]),
@@ -11499,15 +11499,15 @@ const Z2 = { class: "text-green" }, j2 = { key: 1 }, J2 = { class: "d-flex align
11499
11499
  l(uh, {
11500
11500
  ref_key: "paymentForm",
11501
11501
  ref: P,
11502
- "total-to-pay": f.value.taxIncludedPrice,
11503
- currency: f.value.currency,
11502
+ "total-to-pay": g.value.taxIncludedPrice,
11503
+ currency: g.value.currency,
11504
11504
  "payment-methods": Object.values(T.value),
11505
11505
  "is-loading": k.value,
11506
11506
  "is-pay-later-allowed": B.value,
11507
11507
  "is-pay-later-forced": H.value,
11508
11508
  "is-updating-payment-methods": I.value,
11509
11509
  "onPayment:success": ot[2] || (ot[2] = () => {
11510
- k.value = !1, R.value = !0, v(d).$emit(v(kt).PaymentSuccess, f.value);
11510
+ k.value = !1, R.value = !0, v(d).$emit(v(kt).PaymentSuccess, g.value);
11511
11511
  }),
11512
11512
  "onPayment:error": ot[3] || (ot[3] = (ut) => k.value = !1),
11513
11513
  "onPayment:later": at,
@@ -11862,70 +11862,70 @@ function Vr(t) {
11862
11862
  });
11863
11863
  return gt(
11864
11864
  d,
11865
- (f) => i.createHotelOfferRequest(f),
11865
+ (g) => i.createHotelOfferRequest(g),
11866
11866
  {
11867
11867
  deep: !0,
11868
11868
  immediate: !0
11869
11869
  }
11870
11870
  ), dp(
11871
11871
  () => t.address,
11872
- (f) => {
11873
- d.value.address = f;
11872
+ (g) => {
11873
+ d.value.address = g;
11874
11874
  },
11875
11875
  {
11876
11876
  debounce: 500
11877
11877
  }
11878
11878
  ), gt(
11879
11879
  () => t.adultCount,
11880
- (f) => {
11881
- f > bA ? d.value.adultCount = bA : f > d.value.roomCount * Yn ? d.value = {
11880
+ (g) => {
11881
+ g > bA ? d.value.adultCount = bA : g > d.value.roomCount * Yn ? d.value = {
11882
11882
  ...d.value,
11883
- adultCount: f,
11884
- roomCount: Math.ceil(f / Yn)
11885
- } : d.value.adultCount = f;
11883
+ adultCount: g,
11884
+ roomCount: Math.ceil(g / Yn)
11885
+ } : d.value.adultCount = g;
11886
11886
  }
11887
11887
  ), gt(
11888
11888
  () => t.checkInDate,
11889
- (f) => {
11890
- d.value.checkInDate = f;
11889
+ (g) => {
11890
+ d.value.checkInDate = g;
11891
11891
  }
11892
11892
  ), gt(
11893
11893
  () => t.checkOutDate,
11894
- (f) => {
11895
- d.value.checkOutDate = f;
11894
+ (g) => {
11895
+ d.value.checkOutDate = g;
11896
11896
  }
11897
11897
  ), gt(
11898
11898
  () => t.children,
11899
- (f) => {
11900
- d.value.children = f;
11899
+ (g) => {
11900
+ d.value.children = g;
11901
11901
  }
11902
11902
  ), gt(
11903
11903
  () => t.latitude,
11904
- (f) => {
11905
- d.value.latitude = f;
11904
+ (g) => {
11905
+ d.value.latitude = g;
11906
11906
  }
11907
11907
  ), gt(
11908
11908
  () => t.longitude,
11909
- (f) => {
11910
- d.value.longitude = f;
11909
+ (g) => {
11910
+ d.value.longitude = g;
11911
11911
  }
11912
11912
  ), gt(
11913
11913
  () => t.roomCount,
11914
- (f) => {
11915
- f > CA ? d.value.roomCount = CA : f > d.value.adultCount ? d.value = {
11914
+ (g) => {
11915
+ g > CA ? d.value.roomCount = CA : g > d.value.adultCount ? d.value = {
11916
11916
  ...d.value,
11917
- adultCount: f,
11918
- roomCount: f
11919
- } : f < d.value.adultCount / Yn ? d.value = {
11917
+ adultCount: g,
11918
+ roomCount: g
11919
+ } : g < d.value.adultCount / Yn ? d.value = {
11920
11920
  ...d.value,
11921
- adultCount: f * Yn,
11922
- roomCount: f
11923
- } : d.value.roomCount = f;
11921
+ adultCount: g * Yn,
11922
+ roomCount: g
11923
+ } : d.value.roomCount = g;
11924
11924
  }
11925
11925
  ), gt(
11926
11926
  () => t.sourceMarket,
11927
- (f) => {
11928
- d.value.sourceMarket = f;
11927
+ (g) => {
11928
+ d.value.sourceMarket = g;
11929
11929
  }
11930
11930
  ), {
11931
11931
  createHotelOfferRequest: i.createHotelOfferRequest,
@@ -12697,7 +12697,7 @@ function Su(t) {
12697
12697
  }
12698
12698
  const Ik = { class: "position-relative" };
12699
12699
  function kk(t, i, n, s, r, u) {
12700
- const d = $t("HotelOfferItemLayout"), f = $t("ContactForm"), g = $t("BErrorOverlay");
12700
+ const d = $t("HotelOfferItemLayout"), g = $t("ContactForm"), f = $t("BErrorOverlay");
12701
12701
  return E(), Y("div", Ik, [
12702
12702
  (E(), Y(At, null, Kt(6, (b) => (E(), Y(At, { key: b }, [
12703
12703
  l(d, {
@@ -12710,7 +12710,7 @@ function kk(t, i, n, s, r, u) {
12710
12710
  }, null, 8, ["boilerplate", "class"]),
12711
12711
  t.$breakpointService.xs ? G("", !0) : (E(), M(Tt, { key: 0 }))
12712
12712
  ], 64))), 64)),
12713
- t.typeData ? (E(), M(g, {
12713
+ t.typeData ? (E(), M(f, {
12714
12714
  key: 0,
12715
12715
  "z-index": 0
12716
12716
  }, {
@@ -12720,7 +12720,7 @@ function kk(t, i, n, s, r, u) {
12720
12720
  description: c(() => [
12721
12721
  D("div", null, [
12722
12722
  D("p", null, F(t.wording.description), 1),
12723
- t.typeData !== "noResultsFiltered" && t.typeData !== "accommodationSuccess" && t.adultCount !== void 0 && t.checkOutDate !== void 0 && t.location !== void 0 && t.roomCount !== void 0 && t.checkInDate !== void 0 ? (E(), M(f, {
12723
+ t.typeData !== "noResultsFiltered" && t.typeData !== "accommodationSuccess" && t.adultCount !== void 0 && t.checkOutDate !== void 0 && t.location !== void 0 && t.roomCount !== void 0 && t.checkInDate !== void 0 ? (E(), M(g, {
12724
12724
  key: 0,
12725
12725
  "adult-count": t.adultCount,
12726
12726
  "end-date": t.checkOutDate,
@@ -12805,17 +12805,17 @@ const qa = /* @__PURE__ */ Wt(gh, [["render", kk]]), mh = /* @__PURE__ */ ft({
12805
12805
  () => te(s.checkOutDate).diff(te(s.checkInDate), "day")
12806
12806
  ), d = z(
12807
12807
  () => s.hotelOffer?.tags?.filter((H) => H.name.length > 30) || []
12808
- ), f = z(
12808
+ ), g = z(
12809
12809
  () => s.hotelOffer.distance ? Math.round(s.hotelOffer.distance / 1e3 * 100) / 100 : 0
12810
- ), g = z(() => s.hotelOffer.hotelRoomOffers[0]), b = z(
12810
+ ), f = z(() => s.hotelOffer.hotelRoomOffers[0]), b = z(
12811
12811
  () => Er({
12812
12812
  bookingDatetime: te().format(),
12813
- cancellationPolicies: g.value.cancellationPolicies,
12813
+ cancellationPolicies: f.value.cancellationPolicies,
12814
12814
  checkInDate: s.checkInDate,
12815
12815
  timezone: s.hotelOffer.timezone
12816
12816
  }) === 0
12817
12817
  ), y = z(
12818
- () => g.value?.hotelRooms.reduce(
12818
+ () => f.value?.hotelRooms.reduce(
12819
12819
  (H, B) => H + (B.count || 0),
12820
12820
  0
12821
12821
  ) || 0
@@ -12829,7 +12829,7 @@ const qa = /* @__PURE__ */ Wt(gh, [["render", kk]]), mh = /* @__PURE__ */ ft({
12829
12829
  );
12830
12830
  }
12831
12831
  const R = z(
12832
- () => g.value?.hotelRooms
12832
+ () => f.value?.hotelRooms
12833
12833
  ), I = q(null), { $breakpointService: w } = mi(I);
12834
12834
  function P(H) {
12835
12835
  H && n("visible", { id: s.hotelOffer.id });
@@ -12878,7 +12878,7 @@ const qa = /* @__PURE__ */ Wt(gh, [["render", kk]]), mh = /* @__PURE__ */ ft({
12878
12878
  }, null, 8, ["hotel"])
12879
12879
  ]),
12880
12880
  distance: c(() => [
12881
- isNaN(f.value) ? G("", !0) : (E(), Y("span", Bk, F(v(r)("HotelOfferItem.distance", { value: f.value })), 1)),
12881
+ isNaN(g.value) ? G("", !0) : (E(), Y("span", Bk, F(v(r)("HotelOfferItem.distance", { value: g.value })), 1)),
12882
12882
  O.value ? (E(), M(Cr, {
12883
12883
  key: 1,
12884
12884
  class: "my-n1",
@@ -12924,25 +12924,25 @@ const qa = /* @__PURE__ */ Wt(gh, [["render", kk]]), mh = /* @__PURE__ */ ft({
12924
12924
  ]))), 128))
12925
12925
  ]),
12926
12926
  "breakfast-option-badge": c(() => [
12927
- g.value.breakfastOption === "INCLUDED" ? (E(), M(fn, {
12927
+ f.value.breakfastOption === "INCLUDED" ? (E(), M(fn, {
12928
12928
  key: 0,
12929
- "breakfast-option": g.value.breakfastOption
12929
+ "breakfast-option": f.value.breakfastOption
12930
12930
  }, null, 8, ["breakfast-option"])) : G("", !0)
12931
12931
  ]),
12932
12932
  "package-details": c(() => [
12933
12933
  l(hn, { "hotel-rooms": R.value }, null, 8, ["hotel-rooms"])
12934
12934
  ]),
12935
12935
  "price-summary": c(() => [
12936
- g.value.price && u.value > 0 ? (E(), Y("div", wk, [
12936
+ f.value.price && u.value > 0 ? (E(), Y("div", wk, [
12937
12937
  l(fs, {
12938
12938
  currency: t.currency,
12939
12939
  "is-starting-price": "",
12940
12940
  "is-tax-included": "",
12941
12941
  "night-count": u.value,
12942
- price: g.value.price,
12942
+ price: f.value.price,
12943
12943
  "room-count": y.value,
12944
12944
  "round-mode": "round",
12945
- "tax-included-price": g.value.taxIncludedPrice
12945
+ "tax-included-price": f.value.taxIncludedPrice
12946
12946
  }, null, 8, ["currency", "night-count", "price", "room-count", "tax-included-price"])
12947
12947
  ])) : (E(), Y("div", Pk))
12948
12948
  ]),
@@ -12962,7 +12962,7 @@ const qa = /* @__PURE__ */ Wt(gh, [["render", kk]]), mh = /* @__PURE__ */ ft({
12962
12962
  name: "cancellation-policies-badge",
12963
12963
  fn: c(() => [
12964
12964
  l(Qr, {
12965
- "cancellation-policies": g.value.cancellationPolicies,
12965
+ "cancellation-policies": f.value.cancellationPolicies,
12966
12966
  "check-in-date": t.checkInDate,
12967
12967
  timezone: t.hotelOffer.timezone
12968
12968
  }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
@@ -13285,9 +13285,9 @@ const vh = /* @__PURE__ */ Wt(ph, [["__scopeId", "data-v-6fc431a0"]]), Qk = /* @
13285
13285
  setup(t, { emit: i }) {
13286
13286
  const n = t, { t: s } = Vt(), { eventBus: r } = Ti(), u = i, d = z(
13287
13287
  () => n.bookingPolicyState === Wi.BookingPoliciesFetched
13288
- ), f = z(
13289
- () => n.bookingPolicyState === Wi.Unavailable
13290
13288
  ), g = z(
13289
+ () => n.bookingPolicyState === Wi.Unavailable
13290
+ ), f = z(
13291
13291
  () => n.bookingPolicyState === Wi.FetchingBookingPolicies
13292
13292
  ), b = q(
13293
13293
  n.breakfastCount && n.breakfastCount > 0 || !1
@@ -13524,9 +13524,9 @@ const vh = /* @__PURE__ */ Wt(ph, [["__scopeId", "data-v-6fc431a0"]]), Qk = /* @
13524
13524
  key: 0,
13525
13525
  class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
13526
13526
  color: d.value ? "success" : "primary",
13527
- disabled: g.value || f.value || B.isLoading,
13527
+ disabled: f.value || g.value || B.isLoading,
13528
13528
  elevation: "0",
13529
- loading: g.value,
13529
+ loading: f.value,
13530
13530
  size: "small",
13531
13531
  onClick: w
13532
13532
  }, {
@@ -13562,7 +13562,7 @@ const vh = /* @__PURE__ */ Wt(ph, [["__scopeId", "data-v-6fc431a0"]]), Qk = /* @
13562
13562
  ]),
13563
13563
  _: 1
13564
13564
  })) : G("", !0),
13565
- f.value || B.gone ? (E(), M(v(ze), {
13565
+ g.value || B.gone ? (E(), M(v(ze), {
13566
13566
  key: 1,
13567
13567
  "margin-top": 16
13568
13568
  }, {
@@ -13753,16 +13753,16 @@ const Ch = /* @__PURE__ */ Wt(bh, [["__scopeId", "data-v-65c20c4f"]]), xk = /* @
13753
13753
  hotelId: {}
13754
13754
  },
13755
13755
  setup(t) {
13756
- const { config: i } = yn(), { bookingApiClient: n } = vn(), { createBookingPolicy: s, getBookingPolicyState: r } = Uc(), u = t, { hotelRoomOfferRequest: d, nightCount: f } = Ro(), {
13757
- hotelRoomOffers: g,
13756
+ const { config: i } = yn(), { bookingApiClient: n } = vn(), { createBookingPolicy: s, getBookingPolicyState: r } = Uc(), u = t, { hotelRoomOfferRequest: d, nightCount: g } = Ro(), {
13757
+ hotelRoomOffers: f,
13758
13758
  hotelTimezone: b
13759
13759
  } = Fs(), y = z(
13760
13760
  () => d(u.hotelId)
13761
13761
  ), C = z(
13762
- () => g(u.hotelId).offers?.filter(
13762
+ () => f(u.hotelId).offers?.filter(
13763
13763
  (V) => V.type === ms.HotelRoom
13764
13764
  )
13765
- ), O = z(() => b(u.hotelId)), k = z(() => y.value.adultCount), R = z(() => y.value.checkInDate), I = z(() => y.value.checkOutDate), w = z(() => f(u.hotelId)), P = q(!1), H = q([]), B = q(!1), T = q(void 0);
13765
+ ), O = z(() => b(u.hotelId)), k = z(() => y.value.adultCount), R = z(() => y.value.checkInDate), I = z(() => y.value.checkOutDate), w = z(() => g(u.hotelId)), P = q(!1), H = q([]), B = q(!1), T = q(void 0);
13766
13766
  async function S() {
13767
13767
  B.value = !0;
13768
13768
  const V = H.value.map((X) => ({
@@ -14070,11 +14070,11 @@ function Ih(t) {
14070
14070
  () => i.hotelRoomOfferRequest(t.hotelId)
14071
14071
  ), u = xs(
14072
14072
  async function() {
14073
- const g = s.value, b = r.value;
14074
- t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== b?.id ? (await i.retrieveHotelRoomOfferRequest({
14075
- hotelId: g.hotelId,
14073
+ const b = s.value, y = r.value;
14074
+ t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== y?.id ? (await i.retrieveHotelRoomOfferRequest({
14075
+ hotelId: b.hotelId,
14076
14076
  hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
14077
- }), (!b || b.hasError) && await i.createHotelRoomOfferRequest(g)) : (!b || !b.id || b.hasError || !Nk(g, b)) && await i.createHotelRoomOfferRequest(g);
14077
+ }), (!y || y.hasError) && await i.createHotelRoomOfferRequest(b)) : (!y || !y.id || y.hasError || !Nk(b, y)) && await i.createHotelRoomOfferRequest(b);
14078
14078
  },
14079
14079
  300
14080
14080
  );
@@ -14102,7 +14102,13 @@ function Ih(t) {
14102
14102
  sourceMarket: f.sourceMarket
14103
14103
  });
14104
14104
  }
14105
- ), gt(
14105
+ );
14106
+ const d = z(
14107
+ () => i.nightCount(
14108
+ s.value.hotelId
14109
+ )
14110
+ );
14111
+ gt(
14106
14112
  () => t.adultCount,
14107
14113
  (f) => {
14108
14114
  s.value = {
@@ -14136,8 +14142,8 @@ function Ih(t) {
14136
14142
  }
14137
14143
  ), gt(
14138
14144
  () => t.hotelId,
14139
- (f, g) => {
14140
- g && i.deleteHotelRoomOfferRequest(g), s.value = {
14145
+ (f, b) => {
14146
+ b && i.deleteHotelRoomOfferRequest(b), s.value = {
14141
14147
  ...s.value,
14142
14148
  hotelId: f
14143
14149
  }, u();
@@ -14159,7 +14165,7 @@ function Ih(t) {
14159
14165
  };
14160
14166
  }
14161
14167
  );
14162
- const d = () => {
14168
+ const g = () => {
14163
14169
  i.resetHotelRoomOfferRequest(t.hotelId), u();
14164
14170
  };
14165
14171
  return gt(
@@ -14171,12 +14177,13 @@ function Ih(t) {
14171
14177
  ), gt(
14172
14178
  () => gs(),
14173
14179
  () => {
14174
- d();
14180
+ g();
14175
14181
  },
14176
14182
  { immediate: !0 }
14177
14183
  ), {
14178
14184
  hotelRoomOfferRequest: r,
14179
- hotelRoomOfferRequestInternal: s
14185
+ hotelRoomOfferRequestInternal: s,
14186
+ nightCount: d
14180
14187
  };
14181
14188
  }
14182
14189
  const kh = ft({
@@ -14191,7 +14198,7 @@ const kh = ft({
14191
14198
  props: Eh,
14192
14199
  // eslint-disable-next-line max-lines-per-function
14193
14200
  setup(t) {
14194
- const { t: i } = Vt(), n = Fs(), s = Ro(), { createBookingPolicy: r, getBookingPolicyState: u } = Uc(), d = q(null), f = q(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), g = Ze({
14201
+ const { t: i } = Vt(), n = Fs(), s = Ro(), { createBookingPolicy: r, getBookingPolicyState: u } = Uc(), d = q(null), g = q(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), f = Ze({
14195
14202
  fallbackValue: Gr,
14196
14203
  prop: z(() => t.features)
14197
14204
  }), b = (tt) => tt.hotelRooms.reduce((V, X) => V + X.count, 0), y = z(() => s.hotelRoomOfferRequest(t.hotelId)), C = z(
@@ -14207,7 +14214,7 @@ const kh = ft({
14207
14214
  ), I = z(() => {
14208
14215
  const tt = C.value?.offers?.filter(
14209
14216
  (V) => V.type === ms.Package
14210
- ).filter((V) => g.value?.OnlyMatchingRoomCount ? b(V) === y.value?.roomCount : !0);
14217
+ ).filter((V) => f.value?.OnlyMatchingRoomCount ? b(V) === y.value?.roomCount : !0);
14211
14218
  return tt?.slice(0, t.limit || tt.length) || [];
14212
14219
  }), w = z(
14213
14220
  () => !!C.value?.isPolling && !!I.value?.length
@@ -14276,7 +14283,7 @@ const kh = ft({
14276
14283
  showSkeleton: P,
14277
14284
  t: i,
14278
14285
  tab: d,
14279
- tabItems: f,
14286
+ tabItems: g,
14280
14287
  ...at,
14281
14288
  hotelTimezone: k,
14282
14289
  onBookingPolicyFailed: T
@@ -14363,7 +14370,7 @@ function Ou(t) {
14363
14370
  }
14364
14371
  const Uk = { class: "bg-white" };
14365
14372
  function Hk(t, i, n, s, r, u) {
14366
- const d = $t("HotelRoomOfferListEmpty"), f = $t("HotelRoomOfferItem"), g = $t("HotelRoomOfferBasket");
14373
+ const d = $t("HotelRoomOfferListEmpty"), g = $t("HotelRoomOfferItem"), f = $t("HotelRoomOfferBasket");
14367
14374
  return E(), Y("div", Uk, [
14368
14375
  t.isBookingApiClientDefined ? (E(), Y(At, { key: 0 }, [
14369
14376
  t.hasError ? (E(), M(d, {
@@ -14414,10 +14421,14 @@ function Hk(t, i, n, s, r, u) {
14414
14421
  key: b.id
14415
14422
  }, [
14416
14423
  y > 0 ? (E(), M(Tt, { key: 0 })) : G("", !0),
14417
- l(f, lt({ ref_for: !0 }, b, {
14418
- "adult-count": t.adultCount,
14424
+ l(g, lt({ ref_for: !0 }, b, {
14425
+ "adult-count": t.hotelRoomOfferRequestInternal.adultCount,
14426
+ "check-in-date": t.hotelRoomOfferRequestInternal.checkInDate,
14427
+ "check-out-date": t.hotelRoomOfferRequestInternal.checkOutDate,
14428
+ children: t.hotelRoomOfferRequestInternal.children,
14429
+ "night-count": t.nightCount,
14430
+ "room-count": t.hotelRoomOfferRequestInternal.roomCount,
14419
14431
  currency: t.currency,
14420
- "check-in-date": t.checkInDate,
14421
14432
  "hotel-timezone": t.hotelTimezone,
14422
14433
  "booking-policy-state": t.getBookingPolicyState(b.id),
14423
14434
  id: b.id || "",
@@ -14432,14 +14443,14 @@ function Hk(t, i, n, s, r, u) {
14432
14443
  onBreakfastChange: t.onBreakfastChange,
14433
14444
  onBookingPolicyFailed: t.onBookingPolicyFailed,
14434
14445
  onCreateBookingPolicy: t.createBookingPolicy
14435
- }), null, 16, ["adult-count", "currency", "check-in-date", "hotel-timezone", "booking-policy-state", "id", "count", "breakfast-count", "breakfast-unit-price", "breakfast-price-per-guest-per-night", "package-type", "type", "tags", "taxes", "onBreakfastChange", "onBookingPolicyFailed", "onCreateBookingPolicy"])
14446
+ }), null, 16, ["adult-count", "check-in-date", "check-out-date", "children", "night-count", "room-count", "currency", "hotel-timezone", "booking-policy-state", "id", "count", "breakfast-count", "breakfast-unit-price", "breakfast-price-per-guest-per-night", "package-type", "type", "tags", "taxes", "onBreakfastChange", "onBookingPolicyFailed", "onCreateBookingPolicy"])
14436
14447
  ], 64))), 128))
14437
14448
  ]),
14438
14449
  _: 1
14439
14450
  }),
14440
14451
  l(tr, { class: "pt-3 pb-5" }, {
14441
14452
  default: c(() => [
14442
- l(g, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
14453
+ l(f, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
14443
14454
  ]),
14444
14455
  _: 1
14445
14456
  })
@@ -14450,10 +14461,14 @@ function Hk(t, i, n, s, r, u) {
14450
14461
  key: b.id
14451
14462
  }, [
14452
14463
  y > 0 ? (E(), M(Tt, { key: 0 })) : G("", !0),
14453
- l(f, lt({ ref_for: !0 }, b, {
14454
- "adult-count": t.adultCount,
14464
+ l(g, lt({ ref_for: !0 }, b, {
14465
+ "adult-count": t.hotelRoomOfferRequestInternal.adultCount,
14466
+ "check-in-date": t.hotelRoomOfferRequestInternal.checkInDate,
14467
+ "check-out-date": t.hotelRoomOfferRequestInternal.checkOutDate,
14468
+ children: t.hotelRoomOfferRequestInternal.children,
14469
+ "night-count": t.nightCount,
14470
+ "room-count": t.hotelRoomOfferRequestInternal.roomCount,
14455
14471
  "booking-policy-state": t.getBookingPolicyState(b.id),
14456
- "check-in-date": t.checkInDate,
14457
14472
  currency: t.currency,
14458
14473
  "hotel-timezone": t.hotelTimezone,
14459
14474
  id: b.id || "",
@@ -14468,14 +14483,14 @@ function Hk(t, i, n, s, r, u) {
14468
14483
  onBreakfastChange: t.onBreakfastChange,
14469
14484
  onBookingPolicyFailed: t.onBookingPolicyFailed,
14470
14485
  onCreateBookingPolicy: t.createBookingPolicy
14471
- }), null, 16, ["adult-count", "booking-policy-state", "check-in-date", "currency", "hotel-timezone", "id", "count", "breakfast-count", "breakfast-unit-price", "breakfast-price-per-guest-per-night", "package-type", "type", "tags", "taxes", "onBreakfastChange", "onBookingPolicyFailed", "onCreateBookingPolicy"])
14486
+ }), null, 16, ["adult-count", "check-in-date", "check-out-date", "children", "night-count", "room-count", "booking-policy-state", "currency", "hotel-timezone", "id", "count", "breakfast-count", "breakfast-unit-price", "breakfast-price-per-guest-per-night", "package-type", "type", "tags", "taxes", "onBreakfastChange", "onBookingPolicyFailed", "onCreateBookingPolicy"])
14472
14487
  ], 64))), 128))
14473
14488
  ], 64))
14474
14489
  ], 64)) : G("", !0)
14475
14490
  ]);
14476
14491
  }
14477
14492
  typeof Ou == "function" && Ou(kh);
14478
- const Bh = /* @__PURE__ */ Wt(kh, [["render", Hk], ["__scopeId", "data-v-5f8e0f4b"]]), Vk = {
14493
+ const Bh = /* @__PURE__ */ Wt(kh, [["render", Hk], ["__scopeId", "data-v-7892e764"]]), Vk = {
14479
14494
  key: 0,
14480
14495
  class: "mx-n2"
14481
14496
  }, Kk = {
@@ -14506,8 +14521,8 @@ const Bh = /* @__PURE__ */ Wt(kh, [["render", Hk], ["__scopeId", "data-v-5f8e0f4
14506
14521
  emits: ["hotel-offer-item-mouseleave", "hotel-offer-item-mouseover"],
14507
14522
  setup(t, { emit: i }) {
14508
14523
  const { locale: n, t: s } = Vt(), r = i, { config: u } = yn(), d = vo(), {
14509
- hasError: f,
14510
- isFetching: g
14524
+ hasError: g,
14525
+ isFetching: f
14511
14526
  } = Di(d), { resetFilters: b, retrieveHotelOffers: y } = rn(), {
14512
14527
  filters: C,
14513
14528
  hasError: O,
@@ -14519,12 +14534,12 @@ const Bh = /* @__PURE__ */ Wt(kh, [["render", Hk], ["__scopeId", "data-v-5f8e0f4
14519
14534
  fallbackValue: ws,
14520
14535
  prop: z(() => P.features ?? ws)
14521
14536
  }), S = q(null), { $breakpointService: W, $isCurrentBreakpointAboveOrEqual: at } = mi(S), tt = z(
14522
- () => f.value || O.value
14537
+ () => g.value || O.value
14523
14538
  ), V = () => {
14524
14539
  const { eventMetadata: Z } = window.RevolugoElements.config;
14525
14540
  return Z?.dateStart && Z?.dateEnd ? hp(Z.dateStart, Z.dateEnd) : [];
14526
14541
  }, X = z(() => !!T.value.FiltersBar), _ = z(
14527
- () => !B.value?.id || g.value || I.value && (!k.value || k.value?.length === 0)
14542
+ () => !B.value?.id || f.value || I.value && (!k.value || k.value?.length === 0)
14528
14543
  ), ot = z(
14529
14544
  () => !!B.value?.id && !I && Array.isArray(k.value) && k.value?.length === 0
14530
14545
  ), ut = () => {
@@ -14590,7 +14605,7 @@ const Bh = /* @__PURE__ */ Wt(kh, [["render", Hk], ["__scopeId", "data-v-5f8e0f4
14590
14605
  key: 0,
14591
14606
  modelValue: v(B),
14592
14607
  "onUpdate:modelValue": st[0] || (st[0] = (nt) => Oc(B) ? B.value = nt : null),
14593
- "is-loading": v(g),
14608
+ "is-loading": v(f),
14594
14609
  "is-loading-bar-enabled": !1,
14595
14610
  "marker-dates": V()
14596
14611
  }, null, 8, ["modelValue", "is-loading", "marker-dates"])) : G("", !0)
@@ -14796,9 +14811,9 @@ function qk() {
14796
14811
  return e.apply(o, A.length ? A.concat(a.call(arguments)) : arguments);
14797
14812
  };
14798
14813
  }
14799
- var f = 0;
14800
- function g(e) {
14801
- return "_leaflet_id" in e || (e._leaflet_id = ++f), e._leaflet_id;
14814
+ var g = 0;
14815
+ function f(e) {
14816
+ return "_leaflet_id" in e || (e._leaflet_id = ++g), e._leaflet_id;
14802
14817
  }
14803
14818
  function b(e, o, a) {
14804
14819
  var A, h, m, Q;
@@ -14884,9 +14899,9 @@ function qk() {
14884
14899
  create: u,
14885
14900
  bind: d,
14886
14901
  get lastId() {
14887
- return f;
14902
+ return g;
14888
14903
  },
14889
- stamp: g,
14904
+ stamp: f,
14890
14905
  throttle: b,
14891
14906
  wrapNum: y,
14892
14907
  falseFn: C,
@@ -15086,12 +15101,12 @@ function qk() {
15086
15101
  // @method addEventParent(obj: Evented): this
15087
15102
  // Adds an event parent - an `Evented` that will receive propagated events
15088
15103
  addEventParent: function(e) {
15089
- return this._eventParents = this._eventParents || {}, this._eventParents[g(e)] = e, this;
15104
+ return this._eventParents = this._eventParents || {}, this._eventParents[f(e)] = e, this;
15090
15105
  },
15091
15106
  // @method removeEventParent(obj: Evented): this
15092
15107
  // Removes an event parent, so it will stop receiving propagated events
15093
15108
  removeEventParent: function(e) {
15094
- return this._eventParents && delete this._eventParents[g(e)], this;
15109
+ return this._eventParents && delete this._eventParents[f(e)], this;
15095
15110
  },
15096
15111
  _propagateEvent: function(e) {
15097
15112
  for (var o in this._eventParents)
@@ -16022,7 +16037,7 @@ function qk() {
16022
16037
  wheel: !("onwheel" in window) && "mousewheel"
16023
16038
  };
16024
16039
  function va(e, o, a, A) {
16025
- var h = o + g(a) + (A ? "_" + g(A) : "");
16040
+ var h = o + f(a) + (A ? "_" + f(A) : "");
16026
16041
  if (e[Xe] && e[Xe][h])
16027
16042
  return this;
16028
16043
  var m = function(x) {
@@ -16033,7 +16048,7 @@ function qk() {
16033
16048
  }, e.addEventListener(pa[o], m, !1)) : e.addEventListener(o, Q, !1) : e.attachEvent("on" + o, m), e[Xe] = e[Xe] || {}, e[Xe][h] = m;
16034
16049
  }
16035
16050
  function ba(e, o, a, A, h) {
16036
- h = h || o + g(a) + (A ? "_" + g(A) : "");
16051
+ h = h || o + f(a) + (A ? "_" + f(A) : "");
16037
16052
  var m = e[Xe] && e[Xe][h];
16038
16053
  if (!m)
16039
16054
  return this;
@@ -16749,7 +16764,7 @@ function qk() {
16749
16764
  if (o._leaflet_id)
16750
16765
  throw new Error("Map container is already initialized.");
16751
16766
  } else throw new Error("Map container not found.");
16752
- vt(o, "scroll", this._onScroll, this), this._containerId = g(o);
16767
+ vt(o, "scroll", this._onScroll, this), this._containerId = f(o);
16753
16768
  },
16754
16769
  _initLayout: function() {
16755
16770
  var e = this._container;
@@ -16800,7 +16815,7 @@ function qk() {
16800
16815
  // DOM event handling
16801
16816
  // @section Interaction events
16802
16817
  _initEvents: function(e) {
16803
- this._targets = {}, this._targets[g(this._container)] = this;
16818
+ this._targets = {}, this._targets[f(this._container)] = this;
16804
16819
  var o = e ? qt : vt;
16805
16820
  o(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && o(window, "resize", this._onResize, this), ht.any3d && this.options.transform3DLimit && (e ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
16806
16821
  },
@@ -16821,7 +16836,7 @@ function qk() {
16821
16836
  },
16822
16837
  _findEventTargets: function(e, o) {
16823
16838
  for (var a = [], A, h = o === "mouseout" || o === "mouseover", m = e.target || e.srcElement, Q = !1; m; ) {
16824
- if (A = this._targets[g(m)], A && (o === "click" || o === "preclick") && this._draggableMoved(A)) {
16839
+ if (A = this._targets[f(m)], A && (o === "click" || o === "preclick") && this._draggableMoved(A)) {
16825
16840
  Q = !0;
16826
16841
  break;
16827
16842
  }
@@ -17144,7 +17159,7 @@ function qk() {
17144
17159
  // Remove the given layer from the control.
17145
17160
  removeLayer: function(e) {
17146
17161
  e.off("add remove", this._onLayerChange, this);
17147
- var o = this._getLayer(g(e));
17162
+ var o = this._getLayer(f(e));
17148
17163
  return o && this._layers.splice(this._layers.indexOf(o), 1), this._map ? this._update() : this;
17149
17164
  },
17150
17165
  // @method expand(): this
@@ -17180,7 +17195,7 @@ function qk() {
17180
17195
  },
17181
17196
  _getLayer: function(e) {
17182
17197
  for (var o = 0; o < this._layers.length; o++)
17183
- if (this._layers[o] && g(this._layers[o].layer) === e)
17198
+ if (this._layers[o] && f(this._layers[o].layer) === e)
17184
17199
  return this._layers[o];
17185
17200
  },
17186
17201
  _addLayer: function(e, o, a) {
@@ -17203,7 +17218,7 @@ function qk() {
17203
17218
  },
17204
17219
  _onLayerChange: function(e) {
17205
17220
  this._handlingClick || this._update();
17206
- var o = this._getLayer(g(e.target)), a = o.overlay ? e.type === "add" ? "overlayadd" : "overlayremove" : e.type === "add" ? "baselayerchange" : null;
17221
+ var o = this._getLayer(f(e.target)), a = o.overlay ? e.type === "add" ? "overlayadd" : "overlayremove" : e.type === "add" ? "baselayerchange" : null;
17207
17222
  a && this._map.fire(a, o);
17208
17223
  },
17209
17224
  // IE7 bugs out if you create a radio dynamically, so you have to do it this hacky way (see https://stackoverflow.com/a/119079)
@@ -17213,7 +17228,7 @@ function qk() {
17213
17228
  },
17214
17229
  _addItem: function(e) {
17215
17230
  var o = document.createElement("label"), a = this._map.hasLayer(e.layer), A;
17216
- e.overlay ? (A = document.createElement("input"), A.type = "checkbox", A.className = "leaflet-control-layers-selector", A.defaultChecked = a) : A = this._createRadioElement("leaflet-base-layers_" + g(this), a), this._layerControlInputs.push(A), A.layerId = g(e.layer), vt(A, "click", this._onInputClick, this);
17231
+ e.overlay ? (A = document.createElement("input"), A.type = "checkbox", A.className = "leaflet-control-layers-selector", A.defaultChecked = a) : A = this._createRadioElement("leaflet-base-layers_" + f(this), a), this._layerControlInputs.push(A), A.layerId = f(e.layer), vt(A, "click", this._onInputClick, this);
17217
17232
  var h = document.createElement("span");
17218
17233
  h.innerHTML = " " + e.name;
17219
17234
  var m = document.createElement("span");
@@ -17763,10 +17778,10 @@ function qk() {
17763
17778
  return this._map.getPane(e ? this.options[e] || e : this.options.pane);
17764
17779
  },
17765
17780
  addInteractiveTarget: function(e) {
17766
- return this._map._targets[g(e)] = this, this;
17781
+ return this._map._targets[f(e)] = this, this;
17767
17782
  },
17768
17783
  removeInteractiveTarget: function(e) {
17769
- return delete this._map._targets[g(e)], this;
17784
+ return delete this._map._targets[f(e)], this;
17770
17785
  },
17771
17786
  // @method getAttribution: String
17772
17787
  // Used by the `attribution control`, returns the [attribution option](#gridlayer-attribution).
@@ -17792,19 +17807,19 @@ function qk() {
17792
17807
  addLayer: function(e) {
17793
17808
  if (!e._layerAdd)
17794
17809
  throw new Error("The provided object is not a Layer.");
17795
- var o = g(e);
17810
+ var o = f(e);
17796
17811
  return this._layers[o] ? this : (this._layers[o] = e, e._mapToAdd = this, e.beforeAdd && e.beforeAdd(this), this.whenReady(e._layerAdd, e), this);
17797
17812
  },
17798
17813
  // @method removeLayer(layer: Layer): this
17799
17814
  // Removes the given layer from the map.
17800
17815
  removeLayer: function(e) {
17801
- var o = g(e);
17816
+ var o = f(e);
17802
17817
  return this._layers[o] ? (this._loaded && e.onRemove(this), delete this._layers[o], this._loaded && (this.fire("layerremove", { layer: e }), e.fire("remove")), e._map = e._mapToAdd = null, this) : this;
17803
17818
  },
17804
17819
  // @method hasLayer(layer: Layer): Boolean
17805
17820
  // Returns `true` if the given layer is currently added to the map
17806
17821
  hasLayer: function(e) {
17807
- return g(e) in this._layers;
17822
+ return f(e) in this._layers;
17808
17823
  },
17809
17824
  /* @method eachLayer(fn: Function, context?: Object): this
17810
17825
  * Iterates over the layers of the map, optionally specifying context of the iterator function.
@@ -17825,10 +17840,10 @@ function qk() {
17825
17840
  this.addLayer(e[o]);
17826
17841
  },
17827
17842
  _addZoomLimit: function(e) {
17828
- (!isNaN(e.options.maxZoom) || !isNaN(e.options.minZoom)) && (this._zoomBoundLayers[g(e)] = e, this._updateZoomLevels());
17843
+ (!isNaN(e.options.maxZoom) || !isNaN(e.options.minZoom)) && (this._zoomBoundLayers[f(e)] = e, this._updateZoomLevels());
17829
17844
  },
17830
17845
  _removeZoomLimit: function(e) {
17831
- var o = g(e);
17846
+ var o = f(e);
17832
17847
  this._zoomBoundLayers[o] && (delete this._zoomBoundLayers[o], this._updateZoomLevels());
17833
17848
  },
17834
17849
  _updateZoomLevels: function() {
@@ -17924,7 +17939,7 @@ function qk() {
17924
17939
  // @method getLayerId(layer: Layer): Number
17925
17940
  // Returns the internal ID for a layer
17926
17941
  getLayerId: function(e) {
17927
- return g(e);
17942
+ return f(e);
17928
17943
  }
17929
17944
  }), cg = function(e, o) {
17930
17945
  return new no(e, o);
@@ -19498,7 +19513,7 @@ function qk() {
19498
19513
  },
19499
19514
  _initLayout: function() {
19500
19515
  var e = "leaflet-tooltip", o = e + " " + (this.options.className || "") + " leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide");
19501
- this._contentNode = this._container = Ot("div", o), this._container.setAttribute("role", "tooltip"), this._container.setAttribute("id", "leaflet-tooltip-" + g(this));
19516
+ this._contentNode = this._container = Ot("div", o), this._container.setAttribute("role", "tooltip"), this._container.setAttribute("id", "leaflet-tooltip-" + f(this));
19502
19517
  },
19503
19518
  _updateLayout: function() {
19504
19519
  },
@@ -20254,7 +20269,7 @@ function qk() {
20254
20269
  padding: 0.1
20255
20270
  },
20256
20271
  initialize: function(e) {
20257
- I(this, e), g(this), this._layers = this._layers || {};
20272
+ I(this, e), f(this), this._layers = this._layers || {};
20258
20273
  },
20259
20274
  onAdd: function() {
20260
20275
  this._container || (this._initContainer(), It(this._container, "leaflet-zoom-animated")), this.getPane().appendChild(this._container), this._update(), this.on("update", this._updatePaths, this);
@@ -20343,7 +20358,7 @@ function qk() {
20343
20358
  ri.prototype._reset.call(this), this._postponeUpdatePaths && (this._postponeUpdatePaths = !1, this._updatePaths());
20344
20359
  },
20345
20360
  _initPath: function(e) {
20346
- this._updateDashArray(e), this._layers[g(e)] = e;
20361
+ this._updateDashArray(e), this._layers[f(e)] = e;
20347
20362
  var o = e._order = {
20348
20363
  layer: e,
20349
20364
  prev: this._drawLast,
@@ -20356,7 +20371,7 @@ function qk() {
20356
20371
  },
20357
20372
  _removePath: function(e) {
20358
20373
  var o = e._order, a = o.next, A = o.prev;
20359
- a ? a.prev = A : this._drawLast = A, A ? A.next = a : this._drawFirst = a, delete e._order, delete this._layers[g(e)], this._requestRedraw(e);
20374
+ a ? a.prev = A : this._drawLast = A, A ? A.next = a : this._drawFirst = a, delete e._order, delete this._layers[f(e)], this._requestRedraw(e);
20360
20375
  },
20361
20376
  _updatePath: function(e) {
20362
20377
  this._extendRedrawBounds(e), e._project(), e._update(), this._requestRedraw(e);
@@ -20504,7 +20519,7 @@ function qk() {
20504
20519
  },
20505
20520
  _initPath: function(e) {
20506
20521
  var o = e._container = Go("shape");
20507
- It(o, "leaflet-vml-shape " + (this.options.className || "")), o.coordsize = "1 1", e._path = Go("path"), o.appendChild(e._path), this._updateStyle(e), this._layers[g(e)] = e;
20522
+ It(o, "leaflet-vml-shape " + (this.options.className || "")), o.coordsize = "1 1", e._path = Go("path"), o.appendChild(e._path), this._updateStyle(e), this._layers[f(e)] = e;
20508
20523
  },
20509
20524
  _addPath: function(e) {
20510
20525
  var o = e._container;
@@ -20512,7 +20527,7 @@ function qk() {
20512
20527
  },
20513
20528
  _removePath: function(e) {
20514
20529
  var o = e._container;
20515
- Jt(o), e.removeInteractiveTarget(o), delete this._layers[g(e)];
20530
+ Jt(o), e.removeInteractiveTarget(o), delete this._layers[f(e)];
20516
20531
  },
20517
20532
  _updateStyle: function(e) {
20518
20533
  var o = e._stroke, a = e._fill, A = e.options, h = e._container;
@@ -20548,13 +20563,13 @@ function qk() {
20548
20563
  // methods below are called by vector layers implementations
20549
20564
  _initPath: function(e) {
20550
20565
  var o = e._path = Vn("path");
20551
- e.options.className && It(o, e.options.className), e.options.interactive && It(o, "leaflet-interactive"), this._updateStyle(e), this._layers[g(e)] = e;
20566
+ e.options.className && It(o, e.options.className), e.options.interactive && It(o, "leaflet-interactive"), this._updateStyle(e), this._layers[f(e)] = e;
20552
20567
  },
20553
20568
  _addPath: function(e) {
20554
20569
  this._rootGroup || this._initContainer(), this._rootGroup.appendChild(e._path), e.addInteractiveTarget(e._path);
20555
20570
  },
20556
20571
  _removePath: function(e) {
20557
- Jt(e._path), e.removeInteractiveTarget(e._path), delete this._layers[g(e)];
20572
+ Jt(e._path), e.removeInteractiveTarget(e._path), delete this._layers[f(e)];
20558
20573
  },
20559
20574
  _updatePath: function(e) {
20560
20575
  e._project(), e._update();
@@ -21066,7 +21081,7 @@ function qk() {
21066
21081
  this._zooming = !1, ot(this._animRequest), qt(document, "touchmove", this._onTouchMove, this), qt(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
21067
21082
  }
21068
21083
  });
21069
- Pt.addInitHook("addHandler", "touchZoom", AA), Pt.BoxZoom = oA, Pt.DoubleClickZoom = nA, Pt.Drag = sA, Pt.Keyboard = aA, Pt.ScrollWheelZoom = rA, Pt.TapHold = lA, Pt.TouchZoom = AA, n.Bounds = st, n.Browser = ht, n.CRS = xe, n.Canvas = $l, n.Circle = Sa, n.CircleMarker = Tn, n.Class = Ct, n.Control = Me, n.DivIcon = Jl, n.DivOverlay = $e, n.DomEvent = Zf, n.DomUtil = Wf, n.Draggable = Ei, n.Evented = Ce, n.FeatureGroup = ni, n.GeoJSON = ai, n.GridLayer = Wo, n.Handler = _e, n.Icon = so, n.ImageOverlay = Nn, n.LatLng = Qt, n.LatLngBounds = jt, n.Layer = Ne, n.LayerGroup = no, n.LineUtil = rg, n.Map = Pt, n.Marker = Ln, n.Mixin = eg, n.Path = Ii, n.Point = dt, n.PolyUtil = ig, n.Polygon = ao, n.Polyline = si, n.Popup = Un, n.PosAnimation = Ol, n.Projection = lg, n.Rectangle = iA, n.Renderer = ri, n.SVG = Zo, n.SVGOverlay = jl, n.TileLayer = lo, n.Tooltip = Hn, n.Transformation = ta, n.Util = ut, n.VideoOverlay = Zl, n.bind = d, n.bounds = nt, n.canvas = tA, n.circle = mg, n.circleMarker = gg, n.control = Ko, n.divIcon = Bg, n.extend = r, n.featureGroup = dg, n.geoJSON = Gl, n.geoJson = bg, n.gridLayer = wg, n.icon = hg, n.imageOverlay = Cg, n.latLng = wt, n.latLngBounds = Mt, n.layerGroup = cg, n.map = jf, n.marker = fg, n.point = Z, n.polygon = vg, n.polyline = pg, n.popup = Ig, n.rectangle = Qg, n.setOptions = I, n.stamp = g, n.svg = eA, n.svgOverlay = Eg, n.tileLayer = Xl, n.tooltip = kg, n.transformation = Fo, n.version = s, n.videoOverlay = yg;
21084
+ Pt.addInitHook("addHandler", "touchZoom", AA), Pt.BoxZoom = oA, Pt.DoubleClickZoom = nA, Pt.Drag = sA, Pt.Keyboard = aA, Pt.ScrollWheelZoom = rA, Pt.TapHold = lA, Pt.TouchZoom = AA, n.Bounds = st, n.Browser = ht, n.CRS = xe, n.Canvas = $l, n.Circle = Sa, n.CircleMarker = Tn, n.Class = Ct, n.Control = Me, n.DivIcon = Jl, n.DivOverlay = $e, n.DomEvent = Zf, n.DomUtil = Wf, n.Draggable = Ei, n.Evented = Ce, n.FeatureGroup = ni, n.GeoJSON = ai, n.GridLayer = Wo, n.Handler = _e, n.Icon = so, n.ImageOverlay = Nn, n.LatLng = Qt, n.LatLngBounds = jt, n.Layer = Ne, n.LayerGroup = no, n.LineUtil = rg, n.Map = Pt, n.Marker = Ln, n.Mixin = eg, n.Path = Ii, n.Point = dt, n.PolyUtil = ig, n.Polygon = ao, n.Polyline = si, n.Popup = Un, n.PosAnimation = Ol, n.Projection = lg, n.Rectangle = iA, n.Renderer = ri, n.SVG = Zo, n.SVGOverlay = jl, n.TileLayer = lo, n.Tooltip = Hn, n.Transformation = ta, n.Util = ut, n.VideoOverlay = Zl, n.bind = d, n.bounds = nt, n.canvas = tA, n.circle = mg, n.circleMarker = gg, n.control = Ko, n.divIcon = Bg, n.extend = r, n.featureGroup = dg, n.geoJSON = Gl, n.geoJson = bg, n.gridLayer = wg, n.icon = hg, n.imageOverlay = Cg, n.latLng = wt, n.latLngBounds = Mt, n.layerGroup = cg, n.map = jf, n.marker = fg, n.point = Z, n.polygon = vg, n.polyline = pg, n.popup = Ig, n.rectangle = Qg, n.setOptions = I, n.stamp = f, n.svg = eA, n.svgOverlay = Eg, n.tileLayer = Xl, n.tooltip = kg, n.transformation = Fo, n.version = s, n.videoOverlay = yg;
21070
21085
  var Dg = window.L;
21071
21086
  n.noConflict = function() {
21072
21087
  return window.L = Dg, this;
@@ -21176,23 +21191,23 @@ const Ke = /* @__PURE__ */ sp(Ps), Wk = /* @__PURE__ */ mp({
21176
21191
  default: !0
21177
21192
  }
21178
21193
  }, zh = (t, i, n) => {
21179
- const s = Pe(En), r = Pe(Sh), { options: u, methods: d } = kn(t), f = xi(
21194
+ const s = Pe(En), r = Pe(Sh), { options: u, methods: d } = kn(t), g = xi(
21180
21195
  t,
21181
21196
  Lo,
21182
21197
  u
21183
- ), g = () => s({ leafletObject: i.value }), b = () => r({ leafletObject: i.value }), y = {
21198
+ ), f = () => s({ leafletObject: i.value }), b = () => r({ leafletObject: i.value }), y = {
21184
21199
  ...d,
21185
21200
  setAttribution(C) {
21186
- b(), i.value.options.attribution = C, t.visible && g();
21201
+ b(), i.value.options.attribution = C, t.visible && f();
21187
21202
  },
21188
21203
  setName() {
21189
- b(), t.visible && g();
21204
+ b(), t.visible && f();
21190
21205
  },
21191
21206
  setLayerType() {
21192
- b(), t.visible && g();
21207
+ b(), t.visible && f();
21193
21208
  },
21194
21209
  setVisible(C) {
21195
- i.value && (C ? g() : b());
21210
+ i.value && (C ? f() : b());
21196
21211
  },
21197
21212
  bindPopup(C) {
21198
21213
  if (!i.value || !Bi(i.value.bindPopup)) {
@@ -21224,7 +21239,7 @@ const Ke = /* @__PURE__ */ sp(Ps), Wk = /* @__PURE__ */ mp({
21224
21239
  };
21225
21240
  return Ye(Oh, y.bindPopup), Ye(Lh, y.bindTooltip), Ye(Th, y.unbindPopup), Ye(Fh, y.unbindTooltip), Us(() => {
21226
21241
  y.unbindPopup(), y.unbindTooltip(), b();
21227
- }), { options: f, methods: y };
21242
+ }), { options: g, methods: y };
21228
21243
  }, Jk = (t, i) => {
21229
21244
  if (t && i.default)
21230
21245
  return Fi("div", { style: { display: "none" } }, i.default());
@@ -21333,14 +21348,14 @@ const To = {
21333
21348
  }
21334
21349
  },
21335
21350
  setup(t, i) {
21336
- const n = q(), s = q(), r = ve(bi), u = Pe(Zr), { options: d, methods: f } = Mh(t, n);
21351
+ const n = q(), s = q(), r = ve(bi), u = Pe(Zr), { options: d, methods: g } = Mh(t, n);
21337
21352
  return ne(async () => {
21338
- const { Control: g, DomEvent: b } = r ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js"), y = g.extend({
21353
+ const { Control: f, DomEvent: b } = r ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js"), y = f.extend({
21339
21354
  onAdd() {
21340
21355
  return s.value;
21341
21356
  }
21342
21357
  });
21343
- n.value = zi(new y(d)), vi(f, n.value, t), u({ leafletObject: n.value }), t.disableClickPropagation && s.value && b.disableClickPropagation(s.value), t.disableScrollPropagation && s.value && b.disableScrollPropagation(s.value), le(() => i.emit("ready", n.value));
21358
+ n.value = zi(new y(d)), vi(g, n.value, t), u({ leafletObject: n.value }), t.disableClickPropagation && s.value && b.disableClickPropagation(s.value), t.disableScrollPropagation && s.value && b.disableScrollPropagation(s.value), le(() => i.emit("ready", n.value));
21344
21359
  }), { root: s, leafletObject: n };
21345
21360
  },
21346
21361
  render() {
@@ -21386,8 +21401,8 @@ const Nh = {
21386
21401
  setup(t, i) {
21387
21402
  const n = q(), s = ve(bi), r = Pe(Zr), { options: u, methods: d } = t3(t, n);
21388
21403
  return ne(async () => {
21389
- const { control: f } = s ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
21390
- n.value = zi(f.zoom(u)), vi(d, n.value, t), r({ leafletObject: n.value }), le(() => i.emit("ready", n.value));
21404
+ const { control: g } = s ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
21405
+ n.value = zi(g.zoom(u)), vi(d, n.value, t), r({ leafletObject: n.value }), le(() => i.emit("ready", n.value));
21391
21406
  }), { leafletObject: n };
21392
21407
  },
21393
21408
  render() {
@@ -21438,8 +21453,8 @@ const jr = {
21438
21453
  ), d = {
21439
21454
  ...r,
21440
21455
  setTileComponent() {
21441
- var f;
21442
- (f = i.value) == null || f.redraw();
21456
+ var g;
21457
+ (g = i.value) == null || g.redraw();
21443
21458
  }
21444
21459
  };
21445
21460
  return Us(() => {
@@ -21469,7 +21484,7 @@ ft({
21469
21484
  }
21470
21485
  },
21471
21486
  setup(t, i) {
21472
- const n = q(), s = q(null), r = q(!1), u = ve(bi), d = Pe(En), { options: f, methods: g } = Hh(t, n, i);
21487
+ const n = q(), s = q(null), r = q(!1), u = ve(bi), d = Pe(En), { options: g, methods: f } = Hh(t, n, i);
21473
21488
  return ne(async () => {
21474
21489
  const { GridLayer: b, DomUtil: y, Util: C } = u ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js"), O = i3(
21475
21490
  b,
@@ -21477,11 +21492,11 @@ ft({
21477
21492
  C,
21478
21493
  t.childRender
21479
21494
  );
21480
- n.value = zi(new O(f));
21495
+ n.value = zi(new O(g));
21481
21496
  const { listeners: k } = to(i.attrs);
21482
- n.value.on(k), vi(g, n.value, t), d({
21497
+ n.value.on(k), vi(f, n.value, t), d({
21483
21498
  ...t,
21484
- ...g,
21499
+ ...f,
21485
21500
  leafletObject: n.value
21486
21501
  }), r.value = !0, le(() => i.emit("ready", n.value));
21487
21502
  }), { root: s, ready: r, leafletObject: n };
@@ -21535,7 +21550,7 @@ const zu = {
21535
21550
  },
21536
21551
  setup(t, i) {
21537
21552
  const n = q(), s = ve(bi), r = Pe(Qh), u = Pe(Rh), d = Pe(Dh);
21538
- let f, g, b, y, C;
21553
+ let g, f, b, y, C;
21539
21554
  const O = (w, P, H) => {
21540
21555
  const B = w && w.innerHTML;
21541
21556
  if (!P) {
@@ -21543,13 +21558,13 @@ const zu = {
21543
21558
  return;
21544
21559
  }
21545
21560
  const { listeners: T } = to(i.attrs);
21546
- C && g(C, T);
21561
+ C && f(C, T);
21547
21562
  const { options: S } = kn(t), W = xi(
21548
21563
  t,
21549
21564
  zu,
21550
21565
  S
21551
21566
  );
21552
- B && (W.html = B), C = W.html ? b(W) : y(W), f(C, T), d(C);
21567
+ B && (W.html = B), C = W.html ? b(W) : y(W), g(C, T), d(C);
21553
21568
  }, k = () => {
21554
21569
  le(() => O(n.value, !0, !1));
21555
21570
  }, R = () => {
@@ -21574,7 +21589,7 @@ const zu = {
21574
21589
  divIcon: P,
21575
21590
  icon: H
21576
21591
  } = s ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
21577
- f = w.on, g = w.off, b = P, y = H, vi(I, {}, t), new MutationObserver(R).observe(n.value, {
21592
+ g = w.on, f = w.off, b = P, y = H, vi(I, {}, t), new MutationObserver(R).observe(n.value, {
21578
21593
  attributes: !0,
21579
21594
  childList: !0,
21580
21595
  characterData: !0,
@@ -21593,12 +21608,12 @@ const zu = {
21593
21608
  function Vh(t, i, n) {
21594
21609
  var s, r, u;
21595
21610
  i === void 0 && (i = 50), n === void 0 && (n = {});
21596
- var d = (s = n.isImmediate) != null && s, f = (r = n.callback) != null && r, g = n.maxWait, b = Date.now(), y = [];
21611
+ var d = (s = n.isImmediate) != null && s, g = (r = n.callback) != null && r, f = n.maxWait, b = Date.now(), y = [];
21597
21612
  function C() {
21598
- if (g !== void 0) {
21613
+ if (f !== void 0) {
21599
21614
  var k = Date.now() - b;
21600
- if (k + i >= g)
21601
- return g - k;
21615
+ if (k + i >= f)
21616
+ return f - k;
21602
21617
  }
21603
21618
  return i;
21604
21619
  }
@@ -21609,13 +21624,13 @@ function Vh(t, i, n) {
21609
21624
  if (u !== void 0 && clearTimeout(u), u = setTimeout(function() {
21610
21625
  if (u = void 0, b = Date.now(), !d) {
21611
21626
  var B = t.apply(R, k);
21612
- f && f(B), y.forEach(function(T) {
21627
+ g && g(B), y.forEach(function(T) {
21613
21628
  return (0, T.resolve)(B);
21614
21629
  }), y = [];
21615
21630
  }
21616
21631
  }, C()), P) {
21617
21632
  var H = t.apply(R, k);
21618
- return f && f(H), I(H);
21633
+ return g && g(H), I(H);
21619
21634
  }
21620
21635
  y.push({ resolve: I, reject: w });
21621
21636
  });
@@ -21751,7 +21766,7 @@ const xu = {
21751
21766
  t,
21752
21767
  xu,
21753
21768
  r
21754
- ), { listeners: d, attrs: f } = to(i.attrs), g = Xn(En), b = Xn(Sh), y = Xn(Zr), C = Xn(
21769
+ ), { listeners: d, attrs: g } = to(i.attrs), f = Xn(En), b = Xn(Sh), y = Xn(Zr), C = Xn(
21755
21770
  jk
21756
21771
  );
21757
21772
  Ye(bi, t.useGlobalLeaflet);
@@ -21835,12 +21850,12 @@ const xu = {
21835
21850
  (_.lat !== X.lat || _.lng !== X.lng) && (s.lastSetCenter = X, s.leafletRef.panTo(X, O.value));
21836
21851
  }
21837
21852
  };
21838
- _n(g, tt.addLayer), _n(b, tt.removeLayer), _n(y, tt.registerControl), _n(C, tt.registerLayerControl), s.leafletRef = zi(P(n.value, u)), vi(tt, s.leafletRef, t), Fu(s.leafletRef, R), Fu(s.leafletRef, d), s.ready = !0, le(() => i.emit("ready", s.leafletRef));
21853
+ _n(f, tt.addLayer), _n(b, tt.removeLayer), _n(y, tt.registerControl), _n(C, tt.registerLayerControl), s.leafletRef = zi(P(n.value, u)), vi(tt, s.leafletRef, t), Fu(s.leafletRef, R), Fu(s.leafletRef, d), s.ready = !0, le(() => i.emit("ready", s.leafletRef));
21839
21854
  }), $i(() => {
21840
21855
  Ph(R), s.leafletRef && (s.leafletRef.off(), s.leafletRef.remove());
21841
21856
  });
21842
21857
  const I = z(() => s.leafletRef), w = z(() => s.ready);
21843
- return { root: n, ready: w, leafletObject: I, attrs: f };
21858
+ return { root: n, ready: w, leafletObject: I, attrs: g };
21844
21859
  },
21845
21860
  render({ attrs: t }) {
21846
21861
  return t.style || (t.style = {}), t.style.width || (t.style.width = "100%"), t.style.height || (t.style.height = "100%"), Fi(
@@ -21880,16 +21895,16 @@ const xu = {
21880
21895
  s
21881
21896
  ), d = {
21882
21897
  ...r,
21883
- setDraggable(f) {
21884
- i.value.dragging && (f ? i.value.dragging.enable() : i.value.dragging.disable());
21898
+ setDraggable(g) {
21899
+ i.value.dragging && (g ? i.value.dragging.enable() : i.value.dragging.disable());
21885
21900
  },
21886
- latLngSync(f) {
21887
- n.emit("update:latLng", f.latlng), n.emit("update:lat-lng", f.latlng);
21901
+ latLngSync(g) {
21902
+ n.emit("update:latLng", g.latlng), n.emit("update:lat-lng", g.latlng);
21888
21903
  },
21889
- setLatLng(f) {
21890
- if (f != null && i.value) {
21891
- const g = i.value.getLatLng();
21892
- (!g || !g.equals(f)) && i.value.setLatLng(f);
21904
+ setLatLng(g) {
21905
+ if (g != null && i.value) {
21906
+ const f = i.value.getLatLng();
21907
+ (!f || !f.equals(g)) && i.value.setLatLng(g);
21893
21908
  }
21894
21909
  }
21895
21910
  };
@@ -21923,19 +21938,19 @@ const Xo = ft({
21923
21938
  return ((y = n.value) == null ? void 0 : y.setIcon) && n.value.setIcon(b);
21924
21939
  }
21925
21940
  );
21926
- const { options: d, methods: f } = a3(t, n, i), g = {
21927
- moveHandler: Vh(f.latLngSync)
21941
+ const { options: d, methods: g } = a3(t, n, i), f = {
21942
+ moveHandler: Vh(g.latLngSync)
21928
21943
  };
21929
21944
  return ne(async () => {
21930
21945
  const { marker: b, divIcon: y } = r ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
21931
21946
  r3(d, i) && (d.icon = y({ className: "" })), n.value = zi(b(t.latLng, d));
21932
21947
  const { listeners: C } = to(i.attrs);
21933
- n.value.on(C), n.value.on("move", g.moveHandler), vi(f, n.value, t), u({
21948
+ n.value.on(C), n.value.on("move", f.moveHandler), vi(g, n.value, t), u({
21934
21949
  ...t,
21935
- ...f,
21950
+ ...g,
21936
21951
  leafletObject: n.value
21937
21952
  }), s.value = !0, le(() => i.emit("ready", n.value));
21938
- }), $i(() => Ph(g)), { ready: s, leafletObject: n };
21953
+ }), $i(() => Ph(f)), { ready: s, leafletObject: n };
21939
21954
  },
21940
21955
  render() {
21941
21956
  return Jk(this.ready, this.$slots);
@@ -21983,10 +21998,10 @@ const Xo = ft({
21983
21998
  name: "LPopup",
21984
21999
  props: u3,
21985
22000
  setup(t, i) {
21986
- const n = q(), s = q(null), r = ve(bi), u = Pe(Oh), d = Pe(Th), { options: f, methods: g } = c3(t, n);
22001
+ const n = q(), s = q(null), r = ve(bi), u = Pe(Oh), d = Pe(Th), { options: g, methods: f } = c3(t, n);
21987
22002
  return ne(async () => {
21988
22003
  const { popup: b } = r ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
21989
- n.value = zi(b(f)), t.latLng !== void 0 && n.value.setLatLng(t.latLng), vi(g, n.value, t);
22004
+ n.value = zi(b(g)), t.latLng !== void 0 && n.value.setLatLng(t.latLng), vi(f, n.value, t);
21990
22005
  const { listeners: y } = to(i.attrs);
21991
22006
  n.value.on(y), n.value.setContent(t.content || s.value || ""), u(n.value), le(() => i.emit("ready", n.value));
21992
22007
  }), $i(() => {
@@ -22036,10 +22051,10 @@ const Jr = {
22036
22051
  setup(t, i) {
22037
22052
  const n = q(), s = ve(bi), r = Pe(En), { options: u, methods: d } = h3(t, n, i);
22038
22053
  return ne(async () => {
22039
- const { tileLayer: f } = s ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
22040
- n.value = zi(f(t.url, u));
22041
- const { listeners: g } = to(i.attrs);
22042
- n.value.on(g), vi(d, n.value, t), r({
22054
+ const { tileLayer: g } = s ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
22055
+ n.value = zi(g(t.url, u));
22056
+ const { listeners: f } = to(i.attrs);
22057
+ n.value.on(f), vi(d, n.value, t), r({
22043
22058
  ...t,
22044
22059
  ...d,
22045
22060
  leafletObject: n.value
@@ -22060,10 +22075,10 @@ const Jr = {
22060
22075
  name: "LTooltip",
22061
22076
  props: g3,
22062
22077
  setup(t, i) {
22063
- const n = q(), s = q(null), r = ve(bi), u = Pe(Lh), { options: d, methods: f } = m3(t, n);
22078
+ const n = q(), s = q(null), r = ve(bi), u = Pe(Lh), { options: d, methods: g } = m3(t, n);
22064
22079
  return ne(async () => {
22065
- const { tooltip: g } = r ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
22066
- n.value = zi(g(d)), vi(f, n.value, t);
22080
+ const { tooltip: f } = r ? Ge.L : await import("./revolugo.leaflet-src.esm.BnEQV3J-.min.js");
22081
+ n.value = zi(f(d)), vi(g, n.value, t);
22067
22082
  const { listeners: b } = to(i.attrs);
22068
22083
  n.value.on(b), n.value.setContent(t.content || s.value || ""), u(n.value), le(() => i.emit("ready", n.value));
22069
22084
  }), { root: s, leafletObject: n };
@@ -22169,24 +22184,24 @@ const Xh = {
22169
22184
  iconUrl: Zh,
22170
22185
  shadowUrl: jh
22171
22186
  });
22172
- const { t: s } = Vt(), { eventBus: r } = Ti(), u = rp(), d = n, f = t, g = q(!1), b = q(!1), y = q(null), C = Ns(t, "modelValue"), O = q(void 0), k = q(!1), R = q(15), I = z(() => {
22187
+ const { t: s } = Vt(), { eventBus: r } = Ti(), u = rp(), d = n, g = t, f = q(!1), b = q(!1), y = q(null), C = Ns(t, "modelValue"), O = q(void 0), k = q(!1), R = q(15), I = z(() => {
22173
22188
  const Z = "lite.day", st = k.value ? "features=public_transit:all_systems&ppi=400" : "";
22174
22189
  return `https://maps.hereapi.com/v3/base/mc/{z}/{x}/{y}/png8?style=${Z}&${st}&apiKey={apiKey}`;
22175
- }), w = q(null), P = z(() => f.hotelOffers), H = kr(z(() => f.height)), B = Ze({
22190
+ }), w = q(null), P = z(() => g.hotelOffers), H = kr(z(() => g.height)), B = Ze({
22176
22191
  fallbackValue: [],
22177
- prop: z(() => f.markers)
22192
+ prop: z(() => g.markers)
22178
22193
  }), T = z(
22179
22194
  () => B.value?.map((Z) => ({
22180
22195
  ...Z,
22181
22196
  size: Z?.size || 50
22182
22197
  }))
22183
- ), S = Ze({ prop: z(() => f.venue) }), W = z(
22184
- () => g.value && b.value
22198
+ ), S = Ze({ prop: z(() => g.venue) }), W = z(
22199
+ () => f.value && b.value
22185
22200
  );
22186
22201
  function at() {
22187
- if (!f.hotelOffers || f.hotelOffers.length === 0 || W.value)
22202
+ if (!g.hotelOffers || g.hotelOffers.length === 0 || W.value)
22188
22203
  return;
22189
- const Z = f.hotelOffers.map(
22204
+ const Z = g.hotelOffers.map(
22190
22205
  (st) => [st.latitude, st.longitude]
22191
22206
  );
22192
22207
  if (y.value)
@@ -22225,7 +22240,7 @@ const Xh = {
22225
22240
  y.value = Z, w.value = new ResizeObserver(() => {
22226
22241
  y.value?.invalidateSize();
22227
22242
  }), w.value.observe(y.value.getContainer()), at(), d("ready"), y.value.getContainer().addEventListener("wheel", () => {
22228
- g.value = !0;
22243
+ f.value = !0;
22229
22244
  });
22230
22245
  }
22231
22246
  $i(() => {
@@ -22235,7 +22250,7 @@ const Xh = {
22235
22250
  k.value = !k.value;
22236
22251
  }
22237
22252
  function Ce() {
22238
- b.value = !1, g.value = !1;
22253
+ b.value = !1, f.value = !1;
22239
22254
  }
22240
22255
  gt(
22241
22256
  O,
@@ -22254,7 +22269,7 @@ const Xh = {
22254
22269
  y.value && y.value.zoomIn(0.01, { animate: !1 }).zoomOut(0.01, { animate: !1 });
22255
22270
  });
22256
22271
  });
22257
- const dt = z(() => f.hoveredHotelId);
22272
+ const dt = z(() => g.hoveredHotelId);
22258
22273
  function Ci() {
22259
22274
  S.value?.latitude && S.value?.longitude && V({
22260
22275
  latitude: S.value.latitude,
@@ -22310,9 +22325,9 @@ const Xh = {
22310
22325
  smoothWheelZoom: !0,
22311
22326
  smoothSensitivity: 6
22312
22327
  },
22313
- onMousedown: st[5] || (st[5] = (nt) => g.value = !0),
22314
- onTouchstart: st[6] || (st[6] = (nt) => g.value = !0),
22315
- onKeydown: st[7] || (st[7] = (nt) => g.value = !0),
22328
+ onMousedown: st[5] || (st[5] = (nt) => f.value = !0),
22329
+ onTouchstart: st[6] || (st[6] = (nt) => f.value = !0),
22330
+ onKeydown: st[7] || (st[7] = (nt) => f.value = !0),
22316
22331
  onMovestart: ut,
22317
22332
  onZoomstart: ut,
22318
22333
  onReady: Dt,
@@ -22811,8 +22826,8 @@ const w3 = /* @__PURE__ */ Wt(_h, [["__scopeId", "data-v-17d4fe42"]]), $h = {
22811
22826
  setup(t) {
22812
22827
  const { locale: i, t: n } = Vt(), s = t, r = q([s.latitude, s.longitude]), { eventBus: u } = Ti(), {
22813
22828
  hasError: d,
22814
- hotelOffers: f,
22815
- hotelOffersCurrency: g,
22829
+ hotelOffers: g,
22830
+ hotelOffersCurrency: f,
22816
22831
  isPolling: b
22817
22832
  } = Di(rn()), { hotels: y, retrieveHotelImages: C } = xc(), { retrieveHotelOffers: O } = rn(), { resetHotelRoomOfferRequest: k } = Ro(), { resetHotelRoomOffers: R } = Fs(), {
22818
22833
  createHotelOfferRequest: I,
@@ -22891,11 +22906,11 @@ const w3 = /* @__PURE__ */ Wt(_h, [["__scopeId", "data-v-17d4fe42"]]), $h = {
22891
22906
  "onUpdate:modelValue": Ct[0] || (Ct[0] = (Dt) => r.value = Dt),
22892
22907
  "check-in-date": ut.checkInDate,
22893
22908
  "check-out-date": ut.checkOutDate,
22894
- currency: v(g),
22909
+ currency: v(f),
22895
22910
  features: ut.features,
22896
22911
  height: ut.height,
22897
22912
  "hovered-hotel-id": ut.hoveredHotelId,
22898
- "hotel-offers": v(f),
22913
+ "hotel-offers": v(g),
22899
22914
  "hotel-offers-images": ot.value,
22900
22915
  "is-loading": v(b) || v(H),
22901
22916
  "is-location-input-visible": S.value,
@@ -23032,7 +23047,7 @@ const P3 = {
23032
23047
  __name: "HotelOffersView",
23033
23048
  props: of,
23034
23049
  setup(t) {
23035
- const i = t, { t: n } = Vt(), s = rn(), r = vo(), { hotelOffers: u, isPolling: d } = Di(s), { hasError: f, isFetching: g } = Di(
23050
+ const i = t, { t: n } = Vt(), s = rn(), r = vo(), { hotelOffers: u, isPolling: d } = Di(s), { hasError: g, isFetching: f } = Di(
23036
23051
  r
23037
23052
  ), b = q(null), {
23038
23053
  $breakpointService: y,
@@ -23048,8 +23063,8 @@ const P3 = {
23048
23063
  }), { hotelOfferRequestParams: P } = Vr(i), H = q(""), B = q(void 0), T = q(
23049
23064
  k("sm") && w.value || !1
23050
23065
  ), S = q(!1), W = q(void 0), at = q(null), tt = z(
23051
- () => g.value && S.value && C("sm") || d.value && (!!u.value?.length || T.value && k("sm"))
23052
- ), V = z(() => f.value), X = (Ct) => {
23066
+ () => f.value && S.value && C("sm") || d.value && (!!u.value?.length || T.value && k("sm"))
23067
+ ), V = z(() => g.value), X = (Ct) => {
23053
23068
  H.value = Ct.id;
23054
23069
  }, _ = () => {
23055
23070
  H.value = "";
@@ -23083,7 +23098,7 @@ const P3 = {
23083
23098
  key: 0,
23084
23099
  modelValue: v(P),
23085
23100
  "onUpdate:modelValue": Dt[0] || (Dt[0] = (yt) => Oc(P) ? P.value = yt : null),
23086
- "is-loading": v(g),
23101
+ "is-loading": v(f),
23087
23102
  "is-loading-bar-enabled": !1
23088
23103
  }, Qo({ _: 2 }, [
23089
23104
  v(C)("md") && v(I).PreferencesMenu ? {
@@ -23505,7 +23520,7 @@ const L3 = /* @__PURE__ */ Wt(nf, [["__scopeId", "data-v-c5daf72b"]]), _s = {
23505
23520
  },
23506
23521
  emits: ["submit"],
23507
23522
  setup(t, { emit: i }) {
23508
- const n = i, { locale: s, t: r } = Vt(), u = t, d = q(!1), f = q(!1), g = q(""), b = q(!1), y = T3.reduce((B, T) => (B[T] = {
23523
+ const n = i, { locale: s, t: r } = Vt(), u = t, d = q(!1), g = q(!1), f = q(""), b = q(!1), y = T3.reduce((B, T) => (B[T] = {
23509
23524
  readonly: !1,
23510
23525
  value: u.form[T] || void 0
23511
23526
  }, B), {}), C = q({
@@ -23561,14 +23576,14 @@ const L3 = /* @__PURE__ */ Wt(nf, [["__scopeId", "data-v-c5daf72b"]]), _s = {
23561
23576
  };
23562
23577
  }
23563
23578
  function w(B) {
23564
- g.value = B.phonePrefix, C.value.phoneNumber.value = B.phoneNumber, C.value.phoneCountry.value = B.phoneCountry;
23579
+ f.value = B.phonePrefix, C.value.phoneNumber.value = B.phoneNumber, C.value.phoneCountry.value = B.phoneCountry;
23565
23580
  }
23566
23581
  function P(B) {
23567
23582
  C.value[B]?.readonly && (C.value[B].readonly = !1);
23568
23583
  }
23569
23584
  async function H() {
23570
23585
  if (!(await O.value?.validate()).valid) {
23571
- f.value = !1;
23586
+ g.value = !1;
23572
23587
  return;
23573
23588
  }
23574
23589
  n("submit", {
@@ -23579,7 +23594,7 @@ const L3 = /* @__PURE__ */ Wt(nf, [["__scopeId", "data-v-c5daf72b"]]), _s = {
23579
23594
  nationality: C.value.nationality.value,
23580
23595
  phoneCountry: C.value.phoneCountry.value,
23581
23596
  phoneNumber: C.value.phoneNumber.value,
23582
- phonePrefix: g.value,
23597
+ phonePrefix: f.value,
23583
23598
  salutation: C.value.salutation.value,
23584
23599
  specialRequests: C.value.specialRequests.value
23585
23600
  });
@@ -23604,8 +23619,8 @@ const L3 = /* @__PURE__ */ Wt(nf, [["__scopeId", "data-v-c5daf72b"]]), _s = {
23604
23619
  ref_key: "formContainer",
23605
23620
  ref: O,
23606
23621
  id: "prebook-form",
23607
- modelValue: f.value,
23608
- "onUpdate:modelValue": T[30] || (T[30] = (S) => f.value = S),
23622
+ modelValue: g.value,
23623
+ "onUpdate:modelValue": T[30] || (T[30] = (S) => g.value = S),
23609
23624
  class: "w-100"
23610
23625
  }, {
23611
23626
  default: c(() => [
@@ -24661,7 +24676,7 @@ const N3 = /* @__PURE__ */ Wt(sf, [["__scopeId", "data-v-1b8de203"]]), tl = /* @
24661
24676
  __name: "PrebookForm",
24662
24677
  props: $r,
24663
24678
  setup(t) {
24664
- const i = t, { locale: n, t: s } = Vt(), { bookingApiClient: r, isBookingApiClientDefined: u } = vn(), { config: d } = yn(), { eventBus: f } = Ti(), g = q(i?.bookingId || ""), b = q(!1), y = q(!1), C = Ze({
24679
+ const i = t, { locale: n, t: s } = Vt(), { bookingApiClient: r, isBookingApiClientDefined: u } = vn(), { config: d } = yn(), { eventBus: g } = Ti(), f = q(i?.bookingId || ""), b = q(!1), y = q(!1), C = Ze({
24665
24680
  cb: (w) => zc(w, "hotelRoomOfferList"),
24666
24681
  fallbackValue: _s,
24667
24682
  prop: z(() => i.features)
@@ -24711,11 +24726,11 @@ const N3 = /* @__PURE__ */ Wt(sf, [["__scopeId", "data-v-1b8de203"]]), tl = /* @
24711
24726
  trackingId: d.value.trackingId
24712
24727
  }
24713
24728
  });
24714
- b.value = !1, f.$emit(kt.BookingCreated, H), g.value = H.id || "";
24729
+ b.value = !1, g.$emit(kt.BookingCreated, H), f.value = H.id || "";
24715
24730
  } catch (H) {
24716
24731
  console.error("Cannot create booking:", H), b.value = !1, y.value = !0;
24717
24732
  } finally {
24718
- f.$emit(kt.PrebookForm, {
24733
+ g.$emit(kt.PrebookForm, {
24719
24734
  emailAddress: P.email,
24720
24735
  firstName: P.firstName,
24721
24736
  lastName: P.lastName,
@@ -24757,7 +24772,7 @@ const N3 = /* @__PURE__ */ Wt(sf, [["__scopeId", "data-v-1b8de203"]]), tl = /* @
24757
24772
  }, {
24758
24773
  default: c(() => [
24759
24774
  l(N3, lt(i, {
24760
- "booking-id-local": g.value,
24775
+ "booking-id-local": f.value,
24761
24776
  "country-list": O.value,
24762
24777
  form: {
24763
24778
  emailAddress: i.emailAddress,
@@ -24909,16 +24924,16 @@ const af = {
24909
24924
  __name: "FullBookingFlow",
24910
24925
  props: U3,
24911
24926
  setup(t) {
24912
- const i = t, { t: n } = Vt(), s = q(void 0), r = q(void 0), u = q({}), d = q(void 0), f = q(He.Idle), g = q(1), b = q(), y = z(
24913
- () => f.value === He.PaymentSuccessful
24927
+ const i = t, { t: n } = Vt(), s = q(void 0), r = q(void 0), u = q({}), d = q(void 0), g = q(He.Idle), f = q(1), b = q(), y = z(
24928
+ () => g.value === He.PaymentSuccessful
24914
24929
  ), C = z(
24915
- () => f.value === He.Prebook && r.value !== void 0
24930
+ () => g.value === He.Prebook && r.value !== void 0
24916
24931
  ), O = z(() => {
24917
24932
  let tt = "";
24918
24933
  return C.value ? tt = "cancel" : tt = y.value ? "makeNewBook" : "back", n(`FullBookingFlow.${tt}`);
24919
24934
  }), k = z(
24920
24935
  () => [He.PaymentRequested, He.PaymentSuccessful].includes(
24921
- f.value
24936
+ g.value
24922
24937
  ) && s.value !== void 0
24923
24938
  ), R = z(() => {
24924
24939
  const tt = {
@@ -24929,16 +24944,16 @@ const af = {
24929
24944
  return r.value && (tt.adultCount = r.value.adultCount, tt.children = r.value.children ?? null, tt.checkInDate = r.value.checkInDate, tt.checkOutDate = r.value.checkOutDate), tt;
24930
24945
  }), { eventBus: I } = Ti();
24931
24946
  function w(tt) {
24932
- f.value = tt, I.$emit(kt.BookingFlowStepUpdated, tt);
24947
+ g.value = tt, I.$emit(kt.BookingFlowStepUpdated, tt);
24933
24948
  }
24934
24949
  function P(tt) {
24935
- s.value = tt, tt && ($a(), g.value = 1, w(He.PaymentRequested));
24950
+ s.value = tt, tt && ($a(), f.value = 1, w(He.PaymentRequested));
24936
24951
  }
24937
24952
  function H(tt) {
24938
- r.value = tt, r.value && (g.value = 1, w(He.Prebook));
24953
+ r.value = tt, r.value && (f.value = 1, w(He.Prebook));
24939
24954
  }
24940
24955
  function B() {
24941
- g.value = -1, w(He.PaymentSuccessful), u.value = {};
24956
+ f.value = -1, w(He.PaymentSuccessful), u.value = {};
24942
24957
  }
24943
24958
  I.$on(kt.BookingPolicyCreated, H), I.$on(kt.BookingCreated, P), I.$on(kt.PaymentSuccess, B), I.$on(kt.PrebookForm, (tt) => {
24944
24959
  u.value = tt;
@@ -24949,10 +24964,10 @@ const af = {
24949
24964
  }
24950
24965
  );
24951
24966
  function T() {
24952
- g.value = -1, w(He.Idle), r.value = void 0, s.value = void 0, u.value = {};
24967
+ f.value = -1, w(He.Idle), r.value = void 0, s.value = void 0, u.value = {};
24953
24968
  }
24954
24969
  function S() {
24955
- g.value = -1, w(He.Prebook);
24970
+ f.value = -1, w(He.Prebook);
24956
24971
  }
24957
24972
  function W() {
24958
24973
  C.value ? b.value = !0 : k.value && (y.value ? T() : S());
@@ -25759,38 +25774,38 @@ const el = {
25759
25774
  __name: "HotelDescriptionView",
25760
25775
  props: q3,
25761
25776
  setup(t) {
25762
- const { locale: i, t: n } = Vt(), { eventBus: s } = Ti(), { config: r } = yn(), { bookingApiClient: u } = vn(), d = t, f = q(null), g = q(null), b = q(!1), y = q(!1), C = q(null), O = Ze({
25777
+ const { locale: i, t: n } = Vt(), { eventBus: s } = Ti(), { config: r } = yn(), { bookingApiClient: u } = vn(), d = t, g = q(null), f = q(null), b = q(!1), y = q(!1), C = q(null), O = Ze({
25763
25778
  cb: (S) => zc(S, "hotelRoomOfferList"),
25764
25779
  fallbackValue: el,
25765
25780
  prop: z(() => d.features)
25766
25781
  }), k = z(() => {
25767
- if (g.value && g.value.amenities) {
25768
- const S = g.value.amenities;
25782
+ if (f.value && f.value.amenities) {
25783
+ const S = f.value.amenities;
25769
25784
  return Object.keys(S).filter((W) => S[W]).sort(
25770
25785
  (W, at) => n(`HotelDescriptionView.amenityList.${W}`).toString().length - n(`HotelDescriptionView.amenityList.${at}`).toString().length
25771
25786
  );
25772
25787
  }
25773
25788
  return null;
25774
- }), R = z(() => Ir(g.value?.hotelImages)), I = z(() => {
25775
- if (g.value?.address) {
25776
- const S = g.value.address.split(" ").join("+");
25789
+ }), R = z(() => Ir(f.value?.hotelImages)), I = z(() => {
25790
+ if (f.value?.address) {
25791
+ const S = f.value.address.split(" ").join("+");
25777
25792
  return {
25778
- iframe: `https://maps.google.com/maps?q=${S},+${g.value.city}&output=embed`,
25779
- link: `https://www.google.com/maps?q=${S},+${g.value.city}`
25793
+ iframe: `https://maps.google.com/maps?q=${S},+${f.value.city}&output=embed`,
25794
+ link: `https://www.google.com/maps?q=${S},+${f.value.city}`
25780
25795
  };
25781
25796
  }
25782
25797
  return null;
25783
- }), w = z(() => g.value?.venues);
25798
+ }), w = z(() => f.value?.venues);
25784
25799
  async function P() {
25785
25800
  try {
25786
- if (!g.value)
25801
+ if (!f.value)
25787
25802
  return;
25788
25803
  await navigator.clipboard.writeText(
25789
25804
  n("HotelDescriptionView.fullAddress", {
25790
- address: g.value.address,
25791
- city: g.value.city,
25792
- countryCode: g.value.countryCode,
25793
- postalCode: g.value.postalCode
25805
+ address: f.value.address,
25806
+ city: f.value.city,
25807
+ countryCode: f.value.countryCode,
25808
+ postalCode: f.value.postalCode
25794
25809
  })
25795
25810
  ), C.value = n(
25796
25811
  "HotelDescriptionView.fullAddressCopied"
@@ -25809,15 +25824,15 @@ const el = {
25809
25824
  }
25810
25825
  }
25811
25826
  const B = xs(async () => {
25812
- if (g.value = null, b.value = !0, !!d.hotelId)
25827
+ if (f.value = null, b.value = !0, !!d.hotelId)
25813
25828
  try {
25814
- f.value = null, g.value = await u.value?.hotels.retrieve({
25829
+ g.value = null, f.value = await u.value?.hotels.retrieve({
25815
25830
  event: r.value.eventMetadata?.name,
25816
25831
  id: d.hotelId,
25817
25832
  lang: i.value
25818
- }), s.$emit(kt.HotelRetrieved, g.value);
25833
+ }), s.$emit(kt.HotelRetrieved, f.value);
25819
25834
  } catch (S) {
25820
- f.value = S?.response?.statusText || " ";
25835
+ g.value = S?.response?.statusText || " ";
25821
25836
  } finally {
25822
25837
  b.value = !1;
25823
25838
  }
@@ -25834,11 +25849,11 @@ const el = {
25834
25849
  ), gt([u, i], async () => {
25835
25850
  await B();
25836
25851
  }), (S, W) => (E(), Y("div", null, [
25837
- S.isBookingApiClientDefined ? g.value ? (E(), M(cr, { key: "filled" }, Qo({
25852
+ S.isBookingApiClientDefined ? f.value ? (E(), M(cr, { key: "filled" }, Qo({
25838
25853
  name: c(() => [
25839
25854
  l(J, { dense: "" }, {
25840
25855
  default: c(() => [
25841
- g.value.name ? (E(), M(U, {
25856
+ f.value.name ? (E(), M(U, {
25842
25857
  key: 0,
25843
25858
  cols: "12",
25844
25859
  order: "2",
@@ -25846,7 +25861,7 @@ const el = {
25846
25861
  sm: "10"
25847
25862
  }, {
25848
25863
  default: c(() => [
25849
- D("span", W3, F(g.value.name), 1),
25864
+ D("span", W3, F(f.value.name), 1),
25850
25865
  l(wi, {
25851
25866
  attach: S.$el,
25852
25867
  location: "bottom"
@@ -25854,7 +25869,7 @@ const el = {
25854
25869
  activator: c(({ props: at }) => [
25855
25870
  D("span", bo(Co(at)), [
25856
25871
  l(v(Ks), {
25857
- count: g.value.rating
25872
+ count: f.value.rating
25858
25873
  }, null, 8, ["count"])
25859
25874
  ], 16)
25860
25875
  ]),
@@ -25890,12 +25905,12 @@ const el = {
25890
25905
  features: {
25891
25906
  ReviewRatingDetails: !0
25892
25907
  },
25893
- hotel: g.value,
25908
+ hotel: f.value,
25894
25909
  "tooltip-position": "left"
25895
25910
  }, null, 8, ["hotel"])
25896
25911
  ]),
25897
25912
  address: c(() => [
25898
- g.value.address && g.value.city ? (E(), Y("a", {
25913
+ f.value.address && f.value.city ? (E(), Y("a", {
25899
25914
  key: 0,
25900
25915
  class: "text-decoration-none text-caption",
25901
25916
  target: "_blank",
@@ -25913,16 +25928,16 @@ const el = {
25913
25928
  _: 1
25914
25929
  }),
25915
25930
  D("span", Z3, F(v(n)("HotelDescriptionView.fullAddress", {
25916
- address: g.value.address,
25917
- postalCode: g.value.postalCode,
25918
- city: g.value.city,
25919
- countryCode: g.value.countryCode
25931
+ address: f.value.address,
25932
+ postalCode: f.value.postalCode,
25933
+ city: f.value.city,
25934
+ countryCode: f.value.countryCode
25920
25935
  })), 1)
25921
25936
  ])
25922
25937
  ])) : (E(), Y("span", j3))
25923
25938
  ]),
25924
25939
  showOnMap: c(() => [
25925
- g.value.address && g.value.city ? (E(), Y(At, { key: 0 }, [
25940
+ f.value.address && f.value.city ? (E(), Y(At, { key: 0 }, [
25926
25941
  I.value?.link ? (E(), Y("a", {
25927
25942
  key: 0,
25928
25943
  class: "text-decoration-none text-caption",
@@ -25946,11 +25961,11 @@ const el = {
25946
25961
  ], 64)) : (E(), Y("span", $3))
25947
25962
  ]),
25948
25963
  "nearby-stations": c(() => [
25949
- g.value.latitude && g.value.longitude ? (E(), M(v(Rm), {
25964
+ f.value.latitude && f.value.longitude ? (E(), M(v(Rm), {
25950
25965
  key: 0,
25951
25966
  attach: S.$el,
25952
- latitude: g.value.latitude,
25953
- longitude: g.value.longitude
25967
+ latitude: f.value.latitude,
25968
+ longitude: f.value.longitude
25954
25969
  }, null, 8, ["attach", "latitude", "longitude"])) : (E(), Y("span", tB))
25955
25970
  ]),
25956
25971
  "travel-times": c(() => [
@@ -25962,7 +25977,7 @@ const el = {
25962
25977
  }, null, 8, ["venue-travel-times"])
25963
25978
  ]),
25964
25979
  carousel: c(() => [
25965
- g.value.hotelImages && g.value.hotelImages.length ? (E(), M(v(Sr), {
25980
+ f.value.hotelImages && f.value.hotelImages.length ? (E(), M(v(Sr), {
25966
25981
  key: 0,
25967
25982
  height: "410px",
25968
25983
  "image-urls": R.value?.highres,
@@ -25974,7 +25989,7 @@ const el = {
25974
25989
  }, null, 8, ["image-urls", "thumbnail-urls"])) : (E(), Y("div", eB))
25975
25990
  ]),
25976
25991
  description: c(() => [
25977
- g.value.description ? (E(), Y(At, { key: 0 }, [
25992
+ f.value.description ? (E(), Y(At, { key: 0 }, [
25978
25993
  l(St, {
25979
25994
  elevation: "0",
25980
25995
  border: ""
@@ -26010,10 +26025,10 @@ const el = {
26010
26025
  D("div", {
26011
26026
  ref: "hotelDescription",
26012
26027
  class: "hotel-description text-body-2 text-black mb-0 w-100",
26013
- innerHTML: g.value.description
26028
+ innerHTML: f.value.description
26014
26029
  }, null, 8, sB)
26015
26030
  ]),
26016
- g.value.policy ? (E(), M(Zc, {
26031
+ f.value.policy ? (E(), M(Zc, {
26017
26032
  key: 0,
26018
26033
  class: "mt-4",
26019
26034
  flat: ""
@@ -26042,7 +26057,7 @@ const el = {
26042
26057
  l(ps, null, {
26043
26058
  default: c(() => [
26044
26059
  D("div", {
26045
- innerHTML: g.value.policy
26060
+ innerHTML: f.value.policy
26046
26061
  }, null, 8, lB)
26047
26062
  ]),
26048
26063
  _: 1
@@ -26216,7 +26231,7 @@ const el = {
26216
26231
  default: c(() => [
26217
26232
  D("p", dB, [
26218
26233
  D("b", hB, F(v(n)("HotelDescriptionView.checkInTime")), 1),
26219
- D("span", fB, "  " + F(g.value.checkInTime || "4:00 PM"), 1)
26234
+ D("span", fB, "  " + F(f.value.checkInTime || "4:00 PM"), 1)
26220
26235
  ])
26221
26236
  ]),
26222
26237
  _: 1
@@ -26225,7 +26240,7 @@ const el = {
26225
26240
  default: c(() => [
26226
26241
  D("p", gB, [
26227
26242
  D("b", mB, F(v(n)("HotelDescriptionView.checkOutTime")), 1),
26228
- D("span", pB, "  " + F(g.value.checkOutTime || "10:00 AM"), 1)
26243
+ D("span", pB, "  " + F(f.value.checkOutTime || "10:00 AM"), 1)
26229
26244
  ])
26230
26245
  ]),
26231
26246
  _: 1
@@ -26235,7 +26250,7 @@ const el = {
26235
26250
  })
26236
26251
  ]),
26237
26252
  amenities: c(() => [
26238
- Object.keys(g.value.amenities || {}).length ? (E(), M(St, {
26253
+ Object.keys(f.value.amenities || {}).length ? (E(), M(St, {
26239
26254
  key: 0,
26240
26255
  class: "flex-grow-1",
26241
26256
  elevation: "0",
@@ -26285,7 +26300,7 @@ const el = {
26285
26300
  })) : (E(), Y("div", yB))
26286
26301
  ]),
26287
26302
  "map-widget": c(() => [
26288
- g.value.city && g.value.address ? (E(), M(St, {
26303
+ f.value.city && f.value.address ? (E(), M(St, {
26289
26304
  key: 0,
26290
26305
  class: "pa-0",
26291
26306
  elevation: "0",
@@ -26293,8 +26308,8 @@ const el = {
26293
26308
  }, {
26294
26309
  default: c(() => [
26295
26310
  l(v(jc), {
26296
- address: g.value.address,
26297
- city: g.value.city,
26311
+ address: f.value.address,
26312
+ city: f.value.city,
26298
26313
  height: "150px",
26299
26314
  width: "100%"
26300
26315
  }, null, 8, ["address", "city"])
@@ -26318,9 +26333,9 @@ const el = {
26318
26333
  key: "0"
26319
26334
  } : void 0
26320
26335
  ]), 1024)) : (E(), Y(At, { key: 1 }, [
26321
- f.value ? (E(), M(rf, {
26336
+ g.value ? (E(), M(rf, {
26322
26337
  key: 0,
26323
- "error-message": f.value
26338
+ "error-message": g.value
26324
26339
  }, null, 8, ["error-message"])) : (E(), M(cr, { key: "loading" }))
26325
26340
  ], 64)) : (E(), Y(At, { key: 0 }, [], 64))
26326
26341
  ]));
@@ -27299,7 +27314,7 @@ function BB(t, i, n, s, r, u) {
27299
27314
  return t.isBookingApiClientDefined ? (E(), M(d, {
27300
27315
  key: 0,
27301
27316
  modelValue: t.hotelRoomOfferRequestInternal,
27302
- "onUpdate:modelValue": i[0] || (i[0] = (f) => t.hotelRoomOfferRequestInternal = f),
27317
+ "onUpdate:modelValue": i[0] || (i[0] = (g) => t.hotelRoomOfferRequestInternal = g),
27303
27318
  "is-loading": t.isFetching || !1
27304
27319
  }, null, 8, ["modelValue", "is-loading"])) : G("", !0);
27305
27320
  }
@@ -27401,7 +27416,7 @@ const wB = /* @__PURE__ */ Wt(kB, [["render", BB]]), il = {
27401
27416
  },
27402
27417
  emits: ["visible"],
27403
27418
  setup(t, { emit: i }) {
27404
- const n = i, s = t, { t: r } = Vt(), u = q(!1), d = q(!1), f = q(!1), { hotelOfferRequest: g } = Di(vo()), b = z(
27419
+ const n = i, s = t, { t: r } = Vt(), u = q(!1), d = q(!1), g = q(!1), { hotelOfferRequest: f } = Di(vo()), b = z(
27405
27420
  () => te(s.checkOutDate).diff(te(s.checkInDate), "day")
27406
27421
  ), y = z(
27407
27422
  () => s.hotelOffer?.tags?.filter((X) => X.name.length > 30) || []
@@ -27437,13 +27452,13 @@ const wB = /* @__PURE__ */ Wt(kB, [["render", BB]]), il = {
27437
27452
  u.value = !1;
27438
27453
  }, 500)) : (u.value = !0, le(() => {
27439
27454
  d.value = !0;
27440
- })) : (s.features?.[re.HotelDescriptionViewDialog] || s.features?.[re.HotelRoomOffersViewDialog]) && (f.value = !0);
27455
+ })) : (s.features?.[re.HotelDescriptionViewDialog] || s.features?.[re.HotelRoomOffersViewDialog]) && (g.value = !0);
27441
27456
  }
27442
27457
  function T() {
27443
27458
  window.RevolugoElements.eventBus.$emit(
27444
27459
  kt.HotelOffersItemClick,
27445
27460
  s.hotelOffer
27446
- ), f.value = !0, s.features?.[re.HotelRoomOffersViewDialog] && (d.value = !1, u.value = !1);
27461
+ ), g.value = !0, s.features?.[re.HotelRoomOffersViewDialog] && (d.value = !1, u.value = !1);
27447
27462
  }
27448
27463
  function S(X) {
27449
27464
  X && n("visible", { id: s.hotelOffer.id });
@@ -27451,7 +27466,7 @@ const wB = /* @__PURE__ */ Wt(kB, [["render", BB]]), il = {
27451
27466
  ne(() => {
27452
27467
  s.features?.[re.HotelRoomOffersViewDialog] && window.RevolugoElements.eventBus.$on(kt.BookingPolicyCreated, () => {
27453
27468
  setTimeout(() => {
27454
- f.value = !1;
27469
+ g.value = !1;
27455
27470
  }, 350);
27456
27471
  });
27457
27472
  });
@@ -27469,8 +27484,8 @@ const wB = /* @__PURE__ */ Wt(kB, [["render", BB]]), il = {
27469
27484
  "hotel-description-view-dialog": c(() => [
27470
27485
  C.value ? (E(), M(vc, {
27471
27486
  key: 0,
27472
- modelValue: f.value,
27473
- "onUpdate:modelValue": _[1] || (_[1] = (ot) => f.value = ot),
27487
+ modelValue: g.value,
27488
+ "onUpdate:modelValue": _[1] || (_[1] = (ot) => g.value = ot),
27474
27489
  attach: v(V),
27475
27490
  class: "z-index-over-map",
27476
27491
  fullscreen: t.features?.[v(re).DialogFullscreen],
@@ -27490,15 +27505,15 @@ const wB = /* @__PURE__ */ Wt(kB, [["render", BB]]), il = {
27490
27505
  default: c(() => [
27491
27506
  l(Ut, null, {
27492
27507
  default: c(() => [
27493
- C.value === "hotel-room-offers-view" && v(g) ? (E(), M(df, lt({
27508
+ C.value === "hotel-room-offers-view" && v(f) ? (E(), M(df, lt({
27494
27509
  key: 0,
27495
27510
  class: "pt-2 pa-md-6",
27496
27511
  "hotel-id": k.value
27497
- }, v(g)), null, 16, ["hotel-id"])) : C.value === "hotel-description-view" ? (E(), M(Af, lt({
27512
+ }, v(f)), null, 16, ["hotel-id"])) : C.value === "hotel-description-view" ? (E(), M(Af, lt({
27498
27513
  key: 1,
27499
27514
  class: "pt-2 pa-md-6",
27500
27515
  "hotel-id": k.value
27501
- }, v(g)), null, 16, ["hotel-id"])) : G("", !0)
27516
+ }, v(f)), null, 16, ["hotel-id"])) : G("", !0)
27502
27517
  ]),
27503
27518
  _: 1
27504
27519
  })
@@ -27516,7 +27531,7 @@ const wB = /* @__PURE__ */ Wt(kB, [["render", BB]]), il = {
27516
27531
  dark: "",
27517
27532
  icon: "",
27518
27533
  variant: "flat",
27519
- onClick: _[0] || (_[0] = (ot) => f.value = !1)
27534
+ onClick: _[0] || (_[0] = (ot) => g.value = !1)
27520
27535
  }, {
27521
27536
  default: c(() => [
27522
27537
  l(Et, null, {
@@ -28355,7 +28370,7 @@ function ec(t) {
28355
28370
  }
28356
28371
  const FB = { class: "pl-3" }, zB = { class: "text-grey-darken-3 font-weight-bold" }, xB = { class: "text-grey-darken-3 font-weight-bold" }, MB = { class: "text-grey-darken-3 font-weight-bold" }, NB = { class: "text-h5 mx-sm-2 px-sm-2 mx-md-6 px-md-6 mx-lg-10 px-lg-10 mx-xl-16 px-xl-16" }, UB = { class: "pl-5 ma-0" }, HB = { class: "font-weight-bold" }, VB = { class: "font-weight-bold" };
28357
28372
  function KB(t, i, n, s, r, u) {
28358
- const d = $t("VueCountdown"), f = $t("PrebookForm"), g = $t("BookingPaymentForm"), b = $t("HotelRoomOffersView");
28373
+ const d = $t("VueCountdown"), g = $t("PrebookForm"), f = $t("BookingPaymentForm"), b = $t("HotelRoomOffersView");
28359
28374
  return E(), M(J, { dense: "" }, {
28360
28375
  default: c(() => [
28361
28376
  l(Eo, {
@@ -28594,7 +28609,7 @@ function KB(t, i, n, s, r, u) {
28594
28609
  default: c(() => [
28595
28610
  l(U, null, {
28596
28611
  default: c(() => [
28597
- l(f, lt(t.prebookFormProps, {
28612
+ l(g, lt(t.prebookFormProps, {
28598
28613
  "booking-policy-id": t.bookingPolicy?.id || "",
28599
28614
  features: t.parsedFeatures.PrebookForm,
28600
28615
  "hotel-room-offer": t.bookingPolicy?.hotelRoomOffer
@@ -28612,7 +28627,7 @@ function KB(t, i, n, s, r, u) {
28612
28627
  default: c(() => [
28613
28628
  l(U, null, {
28614
28629
  default: c(() => [
28615
- l(g, {
28630
+ l(f, {
28616
28631
  "payment-methods": t.booking?.paymentMethods,
28617
28632
  token: t.booking?.token || ""
28618
28633
  }, null, 8, ["payment-methods", "token"])
@@ -28661,7 +28676,7 @@ const $B = /* @__PURE__ */ Wt(gf, [["render", KB], ["__scopeId", "data-v-d07284a
28661
28676
  ...YB,
28662
28677
  tagClasses: { type: String }
28663
28678
  };
28664
- Ug("css/revolugo.cancellationpoliciesbadge.DsQESj6S.css");
28679
+ Ug("css/revolugo.cancellationpoliciesbadge.C-9rYAuk.css");
28665
28680
  export {
28666
28681
  _B as B,
28667
28682
  Qr as C,
@@ -28696,4 +28711,4 @@ export {
28696
28711
  tl as y,
28697
28712
  Ev as z
28698
28713
  };
28699
- //# sourceMappingURL=revolugo.cancellationpoliciesbadge.props.CRqcen_y.min.js.map
28714
+ //# sourceMappingURL=revolugo.cancellationpoliciesbadge.props.BYqQoH-U.min.js.map